diff --git a/.changeset/happy-trees-rest.md b/.changeset/happy-trees-rest.md new file mode 100644 index 00000000..cb549662 --- /dev/null +++ b/.changeset/happy-trees-rest.md @@ -0,0 +1,23 @@ +--- +"@savvy-web/silk-runtime-action": patch +--- + +## Dependencies + +| Dependency | Type | Action | From | To | +| -------------------------------- | ---------- | ------- | ------ | ------ | +| @savvy-web/github-action-effects | dependency | removed | ^3.1.0 | — | +| @effected/commands | dependency | added | — | ^0.2.0 | +| @effected/git | dependency | added | — | ^0.5.1 | +| @effected/github | dependency | added | — | ^0.2.1 | +| @effected/github-actions | dependency | added | — | ^0.3.0 | +| @effected/glob | dependency | added | — | ^0.2.1 | +| @effected/lockfiles | dependency | added | — | ^0.2.3 | +| @effected/markdown | dependency | added | — | ^0.4.1 | +| @effected/npm | dependency | added | — | ^0.7.0 | +| @effected/package-json | dependency | added | — | ^0.7.0 | +| @effected/runtimes | dependency | added | — | ^0.2.2 | +| @effected/sbom | dependency | added | — | ^0.2.1 | +| @effected/semver | dependency | added | — | ^0.3.0 | +| @effected/workspaces | dependency | added | — | ^0.9.2 | +| @effected/yaml | dependency | added | — | ^0.6.0 | diff --git a/.changeset/sturdy-engines-ignite.md b/.changeset/sturdy-engines-ignite.md new file mode 100644 index 00000000..bad570ac --- /dev/null +++ b/.changeset/sturdy-engines-ignite.md @@ -0,0 +1,31 @@ +--- +"@savvy-web/silk-runtime-action": minor +--- + +## Features + +Rebuilt the action's internals on the `@effected/*` Effect v4 suite (`github-actions` 0.3.0, `npm` 0.7.0, `package-json` 0.7.0, `semver` 0.3.0), replacing `@savvy-web/github-action-effects`. The public interface is unchanged — same inputs, outputs, and `devEngines` contract, and the same job summary and log output. Consuming repos require no changes. + +### Package managers provisioned without Corepack + +Package managers are now installed directly into the tool cache. Corepack has been removed from the install path and is no longer required in consuming repos. + +### Hardened dependency cache key + +The dependency cache key now includes a CPU-architecture segment, and a partial cache hit falls back through a hardened two-rung restore ladder. + +### Turbo remote-cache server hardening + +The embedded Turbo remote-cache server is more resilient: + +* A per-run random auth token fails closed instead of accepting unauthenticated requests +* `SIGTERM` triggers a graceful teardown so in-flight artifact writes are not lost +* `EADDRINUSE` on the chosen port is handled instead of crashing the job + +### Runtimes visible to lifecycle scripts + +Lifecycle scripts such as `postinstall` now see the installed runtimes and package manager on `PATH`. This fixes failures in consuming repos whose `postinstall` invokes `bun` or `deno`. + +## Bug Fixes + +* Windows package manager shims are now invoked safely, mitigating CVE-2024-27980 diff --git a/.claude/design/refs.json b/.claude/design/refs.json index c60db4d2..8e9d75f3 100644 --- a/.claude/design/refs.json +++ b/.claude/design/refs.json @@ -4,44 +4,44 @@ { "source": "CLAUDE.md", "target": ".claude/design/silk-runtime-action/architecture.md", - "hash": "2d62b33e995d416917e3076ddc6d545436b8f0a2c52eecd183c9457bf6fd30af", - "recordedAt": "2026-06-23" + "hash": "a833ab8bc0b7858a99e3771b982f26ff23a8ca268039b3ca9fe36292c501f3bd", + "recordedAt": "2026-08-02" }, { "source": "CLAUDE.md", "target": ".claude/design/silk-runtime-action/build-and-distribution.md", - "hash": "5dedaa1916900fbb7aa906ee2772b572466acc02503cb3714fbe75514c9a1e29", - "recordedAt": "2026-07-05" + "hash": "4ee2742fee0181cc446bf2d21d37552f0213e03a2d3b10cb0994f467e897073f", + "recordedAt": "2026-08-02" }, { "source": "CLAUDE.md", "target": ".claude/design/silk-runtime-action/caching-strategy.md", - "hash": "5460fae42e52fa9746f40eeb174f4d6f22733987522f01a5a4ac3c4eb5604d6b", - "recordedAt": "2026-06-23" + "hash": "11b4701f2bbb7e410453d92d8d6acdefd05a0ae3bfa1e358f506f281e8429906", + "recordedAt": "2026-08-02" }, { "source": "CLAUDE.md", "target": ".claude/design/silk-runtime-action/effect-service-model.md", - "hash": "7d731f31d70e5d7622202fd9eb2ddc6d2b87ca59b2eadddad30ef552795e603c", - "recordedAt": "2026-06-23" + "hash": "236cc0d4006fa42e4847cbb6b0dbefc2e9b396b7bd678dcd743ca5a414e146df", + "recordedAt": "2026-08-02" }, { "source": "CLAUDE.md", "target": ".claude/design/silk-runtime-action/runtime-installation.md", - "hash": "50baa7c7eb4e8dbdaec7cf6fadbb7214b26f95ef21c300d1f4684bc401fb7d82", - "recordedAt": "2026-06-23" + "hash": "2d40d5c6f3ff0d6392cc9d29e59d65d08ad45d06fba93451a3ff3b07a324c488", + "recordedAt": "2026-08-02" }, { "source": "CLAUDE.md", "target": ".claude/design/silk-runtime-action/testing-strategy.md", - "hash": "207a6d625507b467ced4f33114c0792de047f9db75e2eb379b4ffa3104d3f731", - "recordedAt": "2026-06-23" + "hash": "103d1ea850b6a77fa23bf1591f5d41cb19c7b1cbf191cf8c87bb969e1f8b5b2d", + "recordedAt": "2026-08-02" }, { "source": "CLAUDE.md", "target": ".claude/design/silk-runtime-action/turbo-remote-cache.md", - "hash": "1ed7c93f6da639c1d8b571b546a14ef6f76c78ec18329863b1c98a53f52abcf1", - "recordedAt": "2026-07-05" + "hash": "1076687751f61ecc71987c705fa9a2cad885e2631d67f348e9c790c2319e2ce4", + "recordedAt": "2026-08-02" } ] } diff --git a/.claude/design/silk-runtime-action/INDEX.md b/.claude/design/silk-runtime-action/INDEX.md index 5946a71a..6b3ae2c4 100644 --- a/.claude/design/silk-runtime-action/INDEX.md +++ b/.claude/design/silk-runtime-action/INDEX.md @@ -3,8 +3,8 @@ status: current module: silk-runtime-action category: meta created: 2026-03-21 -updated: 2026-07-17 -last-synced: 2026-07-17 +updated: 2026-08-02 +last-synced: 2026-08-02 completeness: 100 related: [] dependencies: [] @@ -14,36 +14,52 @@ dependencies: [] Navigation index for all design documentation in the silk-runtime-action project. +All seven documents were reconciled against the completed `@effected/*` Effect v4 rebuild on +2026-08-02. They describe the code as it stands on `dev`, not the legacy v1 implementation +(whose source is retained read-only at `docs/superpowers/reference/legacy-v1/`). + ## Architecture | Document | Status | Completeness | Description | | --- | --- | --- | --- | -| [architecture.md](./architecture.md) | current | 92% | Entry topology, module map, `MainLive`/`PostLive` composition | -| [effect-service-model.md](./effect-service-model.md) | current | 92% | `Context.Service` classes, `Schema.TaggedErrorClass`, `Step.*` namespace, Config API | -| [runtime-installation.md](./runtime-installation.md) | current | 92% | `RuntimeInstaller` `Context.Service` class, descriptors, PM setup, Biome | +| [architecture.md](./architecture.md) | current | 95% | Entry topology, module map, pipeline order, `MainLive`/`PostLive`, error model, the two PATH joins | +| [effect-service-model.md](./effect-service-model.md) | current | 95% | The step-contract rule, `Data.TaggedError` taxonomy, `ActionInput` decoding, defaulted-parameter seams, log groups | +| [runtime-installation.md](./runtime-installation.md) | current | 95% | Pure descriptors, tool-cache layout, `PackageManagerInstaller`, Biome, and the `PATH` problem | ## Performance | Document | Status | Completeness | Description | | --- | --- | --- | --- | -| [caching-strategy.md](./caching-strategy.md) | current | 92% | Cache keys, `Glob`-based lockfile detection/hashing, cross-phase state | +| [caching-strategy.md](./caching-strategy.md) | current | 95% | Typed `CacheKey`, restore ladder, lockfile discovery, archived paths, the cross-phase state protocol | ## Integration | Document | Status | Completeness | Description | | --- | --- | --- | --- | -| [build-and-distribution.md](./build-and-distribution.md) | current | 88% | `github-action-builder` config, cyclonedx `ignore` list, three-entry dist | -| [turbo-remote-cache.md](./turbo-remote-cache.md) | current | 90% | Embedded turbo remote cache: activation tree, detached server, codec, teardown | +| [turbo-remote-cache.md](./turbo-remote-cache.md) | current | 95% | Activation table, detached worker, `BlobEnvelope` metadata, secrets, teardown, token-lifetime limitation | +| [build-and-distribution.md](./build-and-distribution.md) | current | 92% | Three-entry bundle, committed `dist/`, dependency topology, the dogfood link hazard | ## Testing | Document | Status | Completeness | Description | | --- | --- | --- | --- | -| [testing-strategy.md](./testing-strategy.md) | current | 90% | Library Test layers, hand-rolled mocks for failure injection, fixture tests | +| [testing-strategy.md](./testing-strategy.md) | current | 95% | Kit test layers, the real-`ActionState` harness, `action.yml` parity guards, fixture and e2e matrices | + +## Where a topic lives + +| Looking for | Document | +| --- | --- | +| Pipeline step order, what is fatal | [architecture](./architecture.md) | +| Adding a step, or a new error type | [effect service model](./effect-service-model.md) | +| `addPath` semantics, Windows `.cmd`, lifecycle-script `PATH` | [runtime installation](./runtime-installation.md) | +| Cache key segments, restore rungs, `CacheState` encoding | [caching strategy](./caching-strategy.md) | +| Backend selection, `TURBOGHA_*`, `ACTIONS_RUNTIME_TOKEN` expiry | [turbo remote cache](./turbo-remote-cache.md) | +| Linking a first-party dependency, or why `dist/` is committed | [build and distribution](./build-and-distribution.md) | +| Which double to trust, `action.yml` guards, e2e matrices | [testing strategy](./testing-strategy.md) | ## Statistics - **Total documents:** 7 - **Current:** 7 -- **Average completeness:** 91% -- **Last updated:** 2026-07-17 +- **Average completeness:** 95% +- **Last synced:** 2026-08-02 (post-rebuild reconciliation) diff --git a/.claude/design/silk-runtime-action/architecture.md b/.claude/design/silk-runtime-action/architecture.md index caa5c2cd..9c955068 100644 --- a/.claude/design/silk-runtime-action/architecture.md +++ b/.claude/design/silk-runtime-action/architecture.md @@ -3,15 +3,16 @@ status: current module: silk-runtime-action category: architecture created: 2026-03-21 -updated: 2026-07-17 -last-synced: 2026-07-17 -completeness: 92 +updated: 2026-08-02 +last-synced: 2026-08-02 +completeness: 95 related: - ./effect-service-model.md - ./caching-strategy.md - ./runtime-installation.md - ./build-and-distribution.md - ./turbo-remote-cache.md + - ./testing-strategy.md dependencies: [] --- @@ -35,20 +36,21 @@ Top-level architecture of the Effect-based GitHub Action that sets up JavaScript The action is a compiled Node.js GitHub Action (`node24` runtime) that reads runtime and package manager configuration exclusively from the `devEngines` field in `package.json`. It supports Node.js, Bun and Deno with automatic dependency caching, optional Biome CLI installation, Turborepo detection and an embedded Turborepo remote cache (see [turbo remote cache](./turbo-remote-cache.md)). -Built on the Effect framework (v4, `effect@4.0.0-beta.98` via `catalog:effect`) using `@savvy-web/github-action-effects` (v4 line; range in `package.json`) for all GitHub Actions runtime interactions. The library implements the GitHub Actions runtime protocol natively (V2 Twirp caching, Azure Blob Storage, native process execution) so the action has zero `@actions/*` direct or transitive dependencies. In Effect v4 the former `@effect/platform` package is dissolved into core `effect` (`FileSystem`, `Path`, HTTP client all import from `effect`); only Node-specific platform layers ship separately in `@effect/platform-node`. +Built on Effect v4 (`effect@4.0.0-beta.101` via `catalog:effect`) over the `@effected/*` suite — `@effected/github-actions` for every GitHub Actions runtime interaction, plus `@effected/npm`, `@effected/semver` and `@effected/jsonc`. The kit implements the runner protocol natively, so the action has zero `@actions/*` direct or transitive dependencies. In Effect v4 the former `@effect/platform` is dissolved into core `effect` (`FileSystem`, `Path`, `HttpClient` all import from `effect`); only Node platform layers ship separately in `@effect/platform-node`. **Design principles:** - `package.json` `devEngines` is the only source of truth for runtime and PM versions. Absolute versions only. -- Side effects flow through Effect services for typed error handling, dependency injection and testability. -- Optional steps (cache restore, Biome install, post-action save) degrade to warnings rather than failing the workflow. -- `main.ts` is a 3-line entry. The program lives in `program.ts`; layer composition lives in `layers/app.ts`. Splitting these lets tests import `program` without triggering the `Action.run` side effect. +- Every side effect flows through a kit service, for typed errors, injection and testability. +- One module per pipeline step, each with a frozen four-part contract (result type, tagged error, explicit `R`, no inferred requirements). See [effect service model](./effect-service-model.md). +- Optional work — cache restore, Biome install, turbo cache, the job summary, the whole post phase — degrades to a warning rather than failing the workflow. +- `main.ts` is a one-call entry. The pipeline lives in `program.ts` and layer composition in `layers/app.ts`, so tests can import `program` without triggering `Action.run`. **When to load this doc:** - Understanding entry topology and layer composition. - Following data flow from `package.json` to cache key to outputs. -- Adding a new runtime or modifying the pipeline shape. +- Adding a runtime, a step, or an input/output pair. --- @@ -58,31 +60,32 @@ Built on the Effect framework (v4, `effect@4.0.0-beta.98` via `catalog:effect`) | Entry | Source | Output | Purpose | | --- | --- | --- | --- | -| `main` | `src/main.ts` | `dist/main.js` | Thin wrapper: `Action.run(program, { layer: MainLive })` | -| `post` | `src/post.ts` | `dist/post.js` | Cache save + turbo server teardown after job; never fails workflow | +| `main` | `src/main.ts` | `dist/main.js` | One call: `Action.run(program, { layer: MainLive })` | +| `post` | `src/post.ts` | `dist/post.js` | Reap the turbo server, then save the dependency cache; never fails the workflow | | `turbo-server` | `src/turbo-server.ts` | `dist/turbo-server.js` | Detached embedded turbo remote-cache server (a `workers` bundle) | -`main.ts` is 3 lines (excluding imports). `program.ts` owns the Effect pipeline. There is no `pre` hook. `turbo-server.js` is not a lifecycle hook — main spawns it as a detached process. See [turbo remote cache](./turbo-remote-cache.md). +`turbo-server.js` is **not** a lifecycle hook — `action.yml` names only `main` and `post`. Main spawns it as a detached child. See [turbo remote cache](./turbo-remote-cache.md). + +`post.ts` guards its own `Action.run` behind `process.env.GITHUB_ACTIONS`, so importing the module in a test does not start the post phase. It exports `post` (the value the entry runs) and `makePost(reap)`, which is the same effect over an injectable teardown seam. ### Source module map | Module | Path | Responsibility | | --- | --- | --- | | Entry | `src/main.ts` | `Action.run(program, { layer: MainLive })` | -| Program | `src/program.ts` | Sequential Effect pipeline + helpers (`installBiome`, `installDependencies`, `setupPackageManager`, `setOutputs`, `turboLocalCachePaths`) | -| Post | `src/post.ts` | Reap turbo server, then save cache when no exact hit; catches all errors and defects | -| Turbo server | `src/turbo-server.ts` | Detached embedded turbo remote-cache server entry | -| Turbo cache | `src/services/turbo-cache/{activation,codec,handler,lifecycle,apply}.ts` | Embedded remote cache; see [turbo remote cache](./turbo-remote-cache.md) | -| Summary | `src/services/summary.ts` | `buildRuntimeSummary` job-summary panel + step-line formatters | -| Layers | `src/layers/app.ts` | `MainLive` layer composition | -| State | `src/state.ts` | `CacheState`, `TurboServerState` (`Schema.Class`) and `STATE_KEYS` | -| Config | `src/services/config-loader.ts` | `loadPackageJson`, `parseDevEngines`, `detectBiome`, `detectTurbo` | -| Cache | `src/services/cache.ts` | Key generation, restore/save, lockfile detection via `Glob`, cache path resolution | -| Runtime installer | `src/services/runtime-installer.ts` | `RuntimeInstaller` (`Context.Service` class + `RuntimeInstallerShape`), `makeRuntimeInstaller`, per-runtime layers | -| Schemas | `src/schemas/domain.ts` | `AbsoluteVersion`, `DevEngines`, typed name literals | -| Errors | `src/errors/errors.ts` | `Schema.TaggedErrorClass` hierarchy + `ActionError` union | -| Descriptors | `src/descriptors/{node,bun,deno,biome}.ts` | Per-runtime download descriptors; Biome `binaryMap` | -| Build config | `action.config.ts` | `@savvy-web/github-action-builder` entry points (incl. `workers`), minify and ignore list | +| Program | `src/program.ts` | Step composition, the two PATH joins, the outputs fold | +| Post | `src/post.ts` | `makePost` / `post`: reap the server, then save the cache; double catch | +| Turbo server | `src/turbo-server.ts` | Detached server entry — HTTP plumbing only | +| Layers | `src/layers/app.ts` | `MainLive` and `PostLive` | +| State | `src/state.ts` | `STATE_KEYS`, `CacheState`, `TurboServerState`, `isExactHit` | +| Schemas | `src/schema/{domain,inputs,outputs}.ts` | `devEngines` domain, the 16 inputs, the 16 outputs | +| Steps | `src/steps/*.ts` | One contract module per pipeline step, plus `cache-config.ts` (pure) | +| Turbo cache | `src/turbo-cache/{activation,meta,handler,server-config}.ts` | Everything the embedded cache decides | +| Formatters | `src/summary/format.ts` | Pure, verbatim log lines and the job-summary panel | +| Descriptors | `src/descriptors/{descriptor,node,bun,deno,biome}.ts` | Pure per-tool download plans | +| Build config | `action.config.ts` | Three entries (incl. `workers`), minify, `ignore` list | + +There is no `services/` directory and no `errors/errors.ts`: services come from the kit, and each step owns its own error type. ### Architecture diagram @@ -92,125 +95,174 @@ action.yml (node24 runtime) +-- main: dist/main.js | | | v - | src/main.ts (3 lines) - | | - | v - | Action.run(program, { layer: MainLive }) + | src/main.ts -> Action.run(program, { layer: MainLive }) | | - | +-- src/program.ts (Effect.gen pipeline) + | +-- src/program.ts (Effect.gen, one ActionLogger.group per step) | | | - | | +-- services/config-loader.ts -> schemas/domain.ts - | | +-- services/cache.ts ----------> Glob (lockfiles + hashFiles) - | | +-- services/turbo-cache/apply.ts -> spawn dist/turbo-server.js (detached) - | | +-- services/runtime-installer.ts -> descriptors/{node,bun,deno}.ts - | | +-- program.installBiome --------> descriptors/biome.ts - | | +-- program.{setupPackageManager,installDependencies,setOutputs} - | | +-- services/summary.ts ---------> outputs.summary (job panel) + | | +-- schema/inputs.ts ---------> ActionInput / Config + | | +-- steps/load-config.ts -----> schema/domain.ts + | | +-- steps/detect-biome.ts ----> Jsonc + | | +-- steps/detect-turbo.ts + | | +-- steps/restore-cache.ts ---> steps/cache-config.ts, CacheKey, ActionCache + | | +-- steps/install-runtimes.ts -> descriptors/{node,bun,deno}.ts, ToolInstaller + | | +-- steps/setup-package-manager.ts -> PackageManagerPin, PackageManagerInstaller + | | +-- steps/install-dependencies.ts -> ChildProcessSpawner (PATH prepends) + | | +-- steps/install-biome.ts ---> descriptors/biome.ts, ToolInstaller.provisionFile + | | +-- steps/turbo-cache.ts -----> turbo-cache/*, DetachedProcess (spawn) + | | +-- schema/outputs.ts --------> ActionOutputs.set x16 + | | +-- steps/summary.ts ---------> summary/format.ts, ActionOutputs.summary | | - | +-- src/layers/app.ts (MainLive composition) + | +-- src/layers/app.ts (MainLive) | - +-- turbo-server: dist/turbo-server.js (detached process, spawned by main) + +-- turbo-server: dist/turbo-server.js (detached child, spawned by main) | | | v - | services/turbo-cache/handler.ts over BlobStore (github | s3) + | turbo-cache/server-config.ts -> BlobStore (github | s3) + | turbo-cache/handler.ts -> /v8/artifacts over BlobEnvelope | +-- post: dist/post.js | v src/post.ts - | - +-- services/turbo-cache (killProcess on saved pid) - +-- services/cache.ts (saveCache) - +-- catch + catchDefect (post never fails workflow) + +-- DetachedProcess.reap(pid from TurboServerState) [first, unconditional] + +-- ActionCache.save(paths, primaryKey) unless exact hit + +-- Effect.catch + Effect.catchDefect (post never fails the workflow) ``` ### Layer composition -`Action.run` provides core services automatically: `ActionOutputsLive`, `ActionLoggerLive`, `ConfigProvider` (backed by `INPUT_*` env vars). - -**MainLive** in `src/layers/app.ts`: +`Action.run` composes `ActionRuntime.layer`, which already provides `ActionEnvironment`, `ActionLogger`, `ActionOutputs`, `ActionState`, `HttpClient` and `NodeServices` (`ChildProcessSpawner`, `Crypto`, `FileSystem`, `Path`, `Stdio`, `Terminal`). Nothing in `layers/app.ts` rebuilds any of those; it adds only what the kit deliberately keeps out of the default runtime, because those modules pull in a blob-storage client. ```ts -Layer.mergeAll( - ActionCacheLive.pipe(Layer.provide(NodeHttpClient.layerUndici)), - ToolInstallerLive, - CommandRunnerLive, - ActionStateLive.pipe(Layer.provide(NodeFileSystem.layer)), - ActionEnvironmentLive, - GlobLive, - NodeFileSystem.layer, +// src/layers/app.ts +export const MainLive = Layer.mergeAll(ActionCache.layer, PackageManagerInstaller.layer).pipe( + Layer.provideMerge(ToolInstaller.layer), ); + +export const PostLive = ActionCache.layer; ``` -`ActionCacheLive` requires `NodeHttpClient` for the V2 Twirp protocol; in v4 the Node HTTP layer is `NodeHttpClient.layerUndici`. `ActionStateLive` requires `NodeFileSystem` for state file persistence. `GlobLive` is provided by the library and backs both `findLockFiles` (`Glob.glob`) and the lockfile hash (`Glob.hashFiles`). +`ToolInstaller` is `provideMerge`d rather than merged: one instance satisfies `PackageManagerInstaller`'s requirement *and* stays visible to `installRuntimes` and `installBiome`, which use it directly. `ActionRunOptions.layer` is `Layer`, which is what lets both layers *require* the runtime's services instead of constructing their own. -**PostLive** in `src/post.ts`: +### Pipeline steps (`src/program.ts`) -```ts -Layer.mergeAll( - ActionCacheLive.pipe(Layer.provide(NodeHttpClient.layerUndici)), - ActionStateLive.pipe(Layer.provide(NodeFileSystem.layer)), -); -``` +Sequential, inside one `Effect.gen`, each wrapped in `ActionLogger.group`: + +| # | Group title | Step | Fatal? | +| --- | --- | --- | --- | +| 0 | — | Read `ActionEnvironment.github` (fail fast), then `loadInputs` | Yes | +| 1 | `Load configuration` | `loadConfig` | Yes | +| 2 | `Detect Biome` | `detectBiome(inputs.biomeVersion)` | No (always resolves) | +| 3 | `Detect Turbo` | `detectTurbo` | No (always resolves) | +| 4 | `Detected configuration` | `formatDetectLine(…)` — the one-line headline | No | +| 5 | `Restore dependency cache` | `restoreCache({ inputs, config, biomeVersion, turbo })` | No (absorbs) | +| 6 | `Install runtimes` | `installRuntimes(config)` | Yes | +| 7 | `Install ` | `setupPackageManager(config.packageManager)` | Yes | +| 8 | `Install dependencies` | `installDependencies(activated, installDeps, prepends)` | Yes | +| 9 | `Install Biome` | `installBiome(biomeVersion)`, caught at the call site | No | +| 10 | `Start turbo remote cache` | `startTurboCache({ inputs, turbo })` | No (self-catching) | +| 11 | — | `emitOutputs(outputs)` | Yes | +| 12 | `Runtime Setup Complete` | `writeSummary(facts)` — panel first, closing group after | No (self-catching) | + +Two orderings are load-bearing and were ruled during the rebuild: + +- **Detection precedes the restore**, because the resolved Biome version and turbo's presence both feed the cache key and the archived path set. This is the legacy ordering (`legacy-v1/program.ts:382-411`). +- **The turbo cache starts last** — a deliberate deviation from v1, which started it before the restore. Nothing in the pipeline consumes the turbo environment, and a later start shortens the window in which a detached child holds the runner's short-lived `ACTIONS_RUNTIME_TOKEN`. Ruled neutral-to-better; do not "fix" it back. + +Before step 1 the program sets four variables **on this process only** — `NPM_CONFIG_UPDATE_NOTIFIER`, `NPM_CONFIG_FUND`, `HUSKY`, `COREPACK_ENABLE_DOWNLOAD_PROMPT` — to quiet tool chatter its own installs provoke. They are never `exportVariable`d, so none of it leaks into the consumer's later steps. + +### The two PATH joins + +`program.ts` holds two small pure functions that exist because they are the only place two step results are in scope at once. Both are consequences of the single most important runner fact in this codebase: **`ActionOutputs.addPath` appends to `GITHUB_PATH` and takes effect only in *later workflow steps*. It never mutates this process's `PATH`.** + +- `onInstallPath(pm, runtimes)` — when the package manager *is* one of the installed runtimes (bun, deno), the PM step reports no `binDir` because the runtime install owns that binary. This fills it in from the matching `InstalledRuntime.path`. A manager that already knows where it is keeps its answer. +- `installPathPrepends(pm, runtimes)` — the ordered, de-duplicated directory list the dependency install's child process searches: the manager's bin directory first, then every installed runtime. The runtimes are not optional garnish; a `postinstall` script running `deno install` inherits the install child's `PATH`, and omitting them produced `deno: not found` on every runner in a multi-runtime workspace. + +See [runtime installation](./runtime-installation.md) for the full PATH story, including the ruled npm-ambient shadowing case. + +### Error model + +There is **no central `ActionError` union and no `errors/` module**. Each step exports its own `Data.TaggedError` subclass with a `reason` literal union, a **stored** `message` field and an optional `cause`: + +| Error | Step | Reasons | +| --- | --- | --- | +| `ConfigError` | `schema/domain.ts`, raised by `load-config` | `missing-package-json`, `malformed-json`, `invalid-dev-engines` | +| `BiomeDetectError` | `detect-biome` | `read`, `parse` (declared, never raised) | +| `TurboDetectError` | `detect-turbo` | `read` (declared, never raised) | +| `CacheError` | `restore-cache` (also used by `post`) | `key`, `restore`, `state`, `save` | +| `RuntimeInstallError` | `install-runtimes` | `download`, `extract`, `cache`, `unsupported-platform`, `verify` | +| `PackageManagerError` | `setup-package-manager` | `install`, `activate`, `verify` | +| `InstallError` | `install-dependencies` | `spawn`, `exit-code` | +| `BiomeInstallError` | `install-biome` | `detect`, `download`, `cache` | +| `TurboCacheError` | `turbo-cache` | `spawn`, `readiness` | +| `SummaryError` | `summary` | `render`, `write` | + +Several of these are declared on a signature and never raised. That is deliberate: the error type is the shape a failure is *logged as*, and keeping it on the contract leaves room for a genuinely unexpected case without making today's tolerance a lie. + +`main` deliberately has **no** `catchDefect` — a defect is a bug in this action, and failing the job is the correct response. `post` and `startTurboCache` both keep one as defence in depth. --- ## Rationale -### Effect framework for action logic +### Effect v4 over the `@effected/*` suite -Typed error channels (`Schema.TaggedErrorClass`), service composition (`Layer.mergeAll`), and built-in config/logging map naturally to GitHub Actions concerns. `@savvy-web/github-action-effects` provides the service wrappers; the action consumes them. +Typed error channels, service composition and the kit's runner-protocol implementation map directly onto GitHub Actions concerns. The suite is first-party, so a missing API is fixed upstream and dogfooded rather than worked around here (see [build and distribution](./build-and-distribution.md)). ### Zero `@actions/*` dependencies -`github-action-effects` (v4 line) implements the runtime protocol natively (V2 Twirp cache, Azure Blob Storage, native process execution via core `effect` platform APIs — `@effect/platform` was folded into `effect` in v4). Eliminates version conflicts, shrinks the bundle and removes the need for pnpm overrides or patches. +`@effected/github-actions` implements the cache protocol, blob storage, tool installation and process handling natively over core `effect` platform APIs. That eliminates version conflicts, shrinks the bundle and removes any need for pnpm overrides or patches. ### devEngines-only configuration -A single declarative source of truth in `package.json` (per Corepack and pnpm). Removing the previous explicit version inputs eliminates drift between `package.json` and workflow files. +One declarative source of truth in `package.json` (per Corepack and pnpm). There are no runtime or package-manager version inputs, so `package.json` and workflow files cannot drift apart. A top-level corepack `packageManager` pin is ignored — `Schema.Struct` discards it along with every other unrelated manifest key. -### Inputs via Effect Config API +### Inputs decoded once, outputs folded once -`Config.string`, `Config.boolean` and library `ActionInput.*` combinators read inputs lazily at point of use against the `ConfigProvider` set up by `Action.run`. No upfront `ActionInputs` parsing step that could fail before the pipeline starts; each input's usage is self-documenting at its call site. +`loadInputs` (`schema/inputs.ts`) decodes all 16 inputs into a typed `Inputs` record at the top of the pipeline through `ActionInput.*` combinators, so `INPUT_` mangling and empty-string-is-absent semantics stay the kit's business. Outputs run the same way in reverse: the fold starts from `initialOutputs` (all-disabled defaults) and each step's result maps over it, so a feature that did not run reports its default rather than a value nobody computed. `INPUT_NAMES` and `OUTPUT_NAMES` are const tuples checked against `action.yml` by tests — both halves of the parity contract are guarded. -### Split entry/program/layer +### Split entry / program / layer -`main.ts` is 3 lines. The pipeline (`program`) and the layer composition (`MainLive`) live in their own modules. This lets `program.test.ts` import the program without triggering the module-level `Action.run` side effect in `main.ts`, matching the canonical silk-update-action pattern. +`main.ts` is one call. Keeping the pipeline and the layer composition in their own modules lets `__test__/unit/program.test.ts` import `program` without triggering a module-level `Action.run`. ### Descriptor pattern for runtimes -Per-runtime data (URLs, archive types, verify commands) lives in `src/descriptors/{node,bun,deno}.ts`. Shared install logic lives in `makeRuntimeInstaller`. New runtimes are pure data additions. See `runtime-installation.md`. +Per-tool data (URLs, archive kind, subpaths, binary name) lives in `src/descriptors/`. Descriptors are **pure and total**: the host is an argument, never a `process.platform` read, so every platform is exercisable in a unit test. Shared install logic lives in `install-runtimes.ts`. See [runtime installation](./runtime-installation.md). + +### Seams as defaulted parameters, not services + +Two operations cannot run for real in a unit test: `DetachedProcess.spawn`/`awaitReady` in `startTurboCache`, and `DetachedProcess.reap` in `post`. Both are **statics on a class**, not services, so there is no layer to swap. Rather than wrap them in a repository-local service — which would put it into every consumer's layer composition and into `PostLive` — each is injected as a defaulted field (`StartTurboCacheArgs.detached`, `makePost(reap)`). `R` is unchanged, production uses the kit's own statics, and no caller passes one. The same pattern covers `installRuntimes`' `host`, `installBiome`'s `host` and `installDependencies`' `platform`. + +The one recorded cost: `program.test.ts` cannot reach the embedded turbo path (that would be a real spawn), so its turbo case is pinned to `turbo-cache: off` and the outputs fold is pinned separately through the exported pure `turboCacheOutputs`. ### Non-fatal demotion -Cache restore (`Effect.catchTag("CacheError", ...)`), Biome install (`Effect.catch`) and the entire post action (`Effect.catch` + `Effect.catchDefect`) demote failures to warnings. In v4 `catchAll`/`catchAllDefect` are renamed to `catch`/`catchDefect`. Optional operations never fail the job. +Cache restore absorbs every failure internally; Biome install is caught at its call site in `program.ts`; `startTurboCache` and `writeSummary` catch their own; the whole post phase catches typed failures *and* defects. An optional operation never fails the job. -### Cross-phase state via ActionState +### Cross-phase state via `ActionState` -GitHub Actions runs main and post in separate processes. `ActionState.save(STATE_KEYS.cacheState, value, CacheState)` in main; `ActionState.getOptional(STATE_KEYS.cacheState, CacheState)` in post. `CacheState` is a `Schema.Class` so it round-trips cleanly through the runner state file. The same mechanism carries `TurboServerState` (the embedded server's pid) so post can reap the detached process. See `src/state.ts` and [turbo remote cache](./turbo-remote-cache.md). +Main and post are separate processes. `main` writes `CacheState` and `TurboServerState`; `post` reads them back. The encoded form of every field **must be plain JSON** — see [caching strategy](./caching-strategy.md#cross-phase-state-protocol), which owns that rule and the bug that produced it. --- ## System architecture -### Pipeline steps (`src/program.ts`) +### The step-contract rule + +Four things per `steps/` module, each a contract change if touched: -The main pipeline runs sequential steps inside a single `Effect.gen`. Most are wrapped in `Step.groupStep(title, effect)` (quiet-on-success, verbose-on-failure). See `src/program.ts` for the exact order; the shape is: +1. A declared **result type** (an exported interface, not an inferred object). +2. A **`Data.TaggedError`** with a `reason` literal union and a stored `message`. +3. An **explicitly annotated `R`** — never inferred. +4. Params passed as a **named object** once a step takes more than a couple of values, so Phase B additions stay additive. -- **Detect configuration** -- load `package.json`, decode `devEngines`, detect Biome and Turbo. -- **Compute cache config** -- determine active package managers, merge cache paths (incl. `**/.turbo/cache` when Turbo is detected), find lockfiles via `Glob.glob`. -- **Turbo remote cache** -- resolve and apply the embedded cache strategy; spawn the detached server when applicable; non-fatal. See [turbo remote cache](./turbo-remote-cache.md). -- **Restore cache** -- generate cache key, restore via V2 Twirp protocol; non-fatal. -- **Install runtimes** -- `Effect.forEach` over runtimes with `Effect.provide(installerLayerFor(rt.name))`. -- **Setup package manager** -- corepack (pnpm/yarn), `npm install -g` (npm), no-op (bun/deno). -- **Install dependencies** -- lockfile-aware install command; skipped for Deno; opt-out via `install-deps=false`. -- **Install Biome** -- direct binary download; non-fatal. -- **Set outputs and job summary** -- versions, cache status, lockfiles, cache paths, turbo backend/port; render the job-summary panel (non-fatal). -- **Summary** -- final status group. +`program.ts`'s `R` is the union of every step's, and `MainLive` supplies only what `ActionServices` lacks. A frozen contract is occasionally wider than today's implementation needs — `loadConfig` declares `Path` it does not use, `installBiome` declares `FileSystem` and `ActionLogger` the provisioner made unnecessary — and those stay, because narrowing `R` is a contract change. -### Error hierarchy +### Log structure -See `src/errors/errors.ts`. All errors are `Schema.TaggedErrorClass` subclasses with computed `.message` getters. The `ActionError` union covers the fatal errors propagating through the pipeline. `CacheError` is non-fatal during restore (caught and demoted) and fatal-but-swallowed in post (caught by the post-action `catch`). +`ActionLogger.group(title, effect)` wraps each step. Inside the two noisiest steps the transcript is additionally held by `logger.withBuffer(name, effect, { onSuccess: "discard" })`, so a green run is one line per runtime and one line per manager, while a failure spills the whole transcript. Warnings are never buffered, so an integrity notice reaches the log even on a green run. + +`Effect.logDebug` output appears only under `ACTIONS_STEP_DEBUG=true`; the cache key, the restore ladder, the resolved path set and the lockfile list are all logged at debug level. --- @@ -221,46 +273,48 @@ See `src/errors/errors.ts`. All errors are `Schema.TaggedErrorClass` subclasses ```text package.json | - v -loadPackageJson (FileSystem.readFileString -> JSON.parse -> Schema.decodeUnknownEffect) - | - v -DevEngines { packageManager, runtime: RuntimeEntry | RuntimeEntry[] } - | - v -parseDevEngines (normalize runtime to always-array) + v FileSystem.readFileString -> JSON.parse -> Schema.decodeUnknownEffect +{ devEngines: { packageManager, runtime: RuntimeSpec | NonEmptyArray } } | - v -detectBiome (input override -> biome.jsonc -> biome.json -> $schema regex) + v normalize: a single runtime becomes an array of one, nothing else changes +RuntimeConfig { packageManager: PackageManagerSpec, runtimes: NonEmptyArray } | - v -detectTurbo (FileSystem.access("turbo.json")) - | - v -{ runtimes, packageManager, biome: Option, turbo: boolean } + +--> detectBiome (input override -> biome.jsonc -> biome.json -> $schema regex) : Option + +--> detectTurbo (fs.access("turbo.json")) : { enabled } ``` +Duplicates survive normalization, declaration order is preserved, names are case-sensitive and no field is defaulted. `runtime: []` is a decode failure, which keeps `runtimes` non-empty by construction. + ### Cache key flow -See `caching-strategy.md` for the full formula. Summary: `{platform}-{versionHash}-{branchHash}-{lockfileHash}`, all 8-char hex truncations. Lockfile hash now comes from `Glob.hashFiles` (library-provided hash-of-hashes), not concat-and-SHA256. +`{platform}-{arch}-{versionHash}-{branchHash}-{lockfileHash}`, assembled by `keySegments` and handed to the kit's typed `CacheKey`. See [caching strategy](./caching-strategy.md) for the formula, the two-rung restore ladder and the `"empty"` sentinel. ### Cross-phase state ```text -Main Post - restoreCache() post (in post.ts) - | | - +-- ActionState.save( +-- ActionState.getOptional( - | STATE_KEYS.cacheState, | STATE_KEYS.cacheState, - | new CacheState({ | CacheState - | key, paths, | ) -> Option - | restored: hit === "exact", | - | }), +-- if None -> return - | CacheState, +-- if restored=true -> return - | ) +-- else: Step.groupStep("Cache save", saveCache()) +main post + restoreCache() makePost(reap) + | | + +-- ActionState.save( +-- getOptional(turboServer, TurboServerState) + | STATE_KEYS.cache, | Some -> reap(pid) [FIRST, unconditional] + | CacheState { paths, primaryKey, | None -> debug line + | restoredKey, lockfiles }) | + | +-- getOptional(cache, CacheState) + startTurboCache() | None -> return + | | exact hit -> skip save + +-- ActionState.save( | no paths -> skip save + STATE_KEYS.turboServer, | otherwise -> ActionCache.save(paths, primaryKey) + TurboServerState { pid, port, | + backend, logFile }) +-- catch + catchDefect ``` -`CacheState` (in `src/state.ts`) carries `{ key, paths, restored }`. `restored=true` means main got an exact hit and post should skip the save. +The reap runs first and unconditionally, ahead of every branch that can return early: a leaked cache server outlives the job, and whether this run's dependencies are worth archiving has nothing to do with it. Each half also catches its own failures, so a refused signal cannot cost the run its archive. + +`post` saves under the **primary** key, not whichever key matched: a partial restore left the archive short of what this run installed, so the key this run asked for is the one that has to end up populated. + +### Outputs and the summary + +`emitOutputs` publishes all 16 outputs in a fixed order, rendering booleans with `String(v)`. `writeSummary` then takes a `SummaryFacts` params object rather than the outputs alone, because three of the panel's facts are not outputs at all: the installed runtime list in declaration order, the cache key and resolved lockfile list, the typed turbo port, and `dependenciesInstalled` — the *truthful* `ran` flag, where v1 echoed the raw input and reported deno's skipped install as done. --- @@ -268,32 +322,39 @@ Main Post ### GitHub Actions runtime -- **Inputs** -- `Config.string`/`Config.boolean`/`ActionInput.multiline`/`ActionInput.boolean` against the `ConfigProvider` set up by `Action.run`. -- **Outputs** -- `ActionOutputs.set(name, value)`. -- **Environment** -- `ActionEnvironment.getOptional` for `GITHUB_REF`, `GITHUB_HEAD_REF`, `RUNNER_TOOL_CACHE`. -- **Cache** -- `ActionCache.restore`/`.save` (V2 Twirp + Azure Blob). -- **State** -- `ActionState.save`/`getOptional` (file-backed between phases). -- **Logging** -- `Step.groupStep` for collapsible sections; `Step.success` for canonical success lines; `Effect.log*` for the rest. +- **Inputs** — `ActionInput.string` / `.redacted` / `.boolean` / `.lines`, composed with `Config.all` and `Config.withDefault` in `schema/inputs.ts`. +- **Outputs** — `ActionOutputs.set`, plus `addPath`, `exportVariable`, `setSecret`, `summary`. +- **Environment** — `ActionEnvironment.github` (fail-fast, workspace) and `.getOptional` for `GITHUB_HEAD_REF`, `GITHUB_REF`, `RUNNER_TOOL_CACHE`. +- **Cache** — `ActionCache.restore`/`.save` over a typed `CacheKey`. +- **State** — `ActionState.save`/`.getOptional`, file-backed between phases. +- **Logging** — `ActionLogger.group` and `.withBuffer`; `Effect.log*` for lines. -### `@savvy-web/github-action-effects` services +### `@effected/*` services and values in use -| Service | Purpose | Used by | +| Import | Purpose | Used by | | --- | --- | --- | -| `ActionOutputs` | Set outputs, add to PATH, export vars | program.ts, runtime-installer.ts | -| `ActionCache` | V2 Twirp restore/save | services/cache.ts | -| `ActionState` | Cross-phase persistence | services/cache.ts, post.ts | -| `ActionEnvironment` | GitHub context vars | services/cache.ts | -| `ToolInstaller` | Download, extract, cache tools | services/runtime-installer.ts, program.installBiome | -| `CommandRunner` | Process execution | services/cache.ts, program.ts, services/runtime-installer.ts | -| `Glob` | Glob expansion + hash-of-hashes | services/cache.ts (`findLockFiles`, `hashFiles`) | -| `BlobStore` | Blob put/get/has (GitHub cache or S3/SigV4) | turbo-server.ts, services/turbo-cache/handler.ts | -| `GithubMarkdown` | Job-summary markdown helpers | services/summary.ts | +| `Action` | `Action.run` entry harness | `main.ts`, `post.ts` | +| `ActionInput` | Input reads (dual-accept naming) | `schema/inputs.ts` | +| `ActionOutputs` | Outputs, `addPath`, `exportVariable`, `setSecret`, `summary` | outputs, installs, turbo, summary | +| `ActionLogger` | Log groups and buffered transcripts | `program.ts` and three steps | +| `ActionEnvironment` | Runner context and raw variables | `program.ts`, `restore-cache.ts`, worker | +| `ActionCache` + `CacheKey` | Typed key, restore, save | `restore-cache.ts`, `post.ts` | +| `ActionState` + `ProcessId` | Cross-phase persistence | `restore-cache.ts`, `turbo-cache.ts`, `post.ts`, `state.ts` | +| `ToolInstaller` | `find`/`download`/`extract*`/`cacheDir`/`provisionFile` | `install-runtimes.ts`, `install-biome.ts` | +| `PackageManagerInstaller` | Manager provisioning and shims | `setup-package-manager.ts` | +| `DetachedProcess` | `spawn`, `awaitReady`, `reap` | `turbo-cache.ts`, `post.ts` | +| `BlobStore` / `GitHubCacheBlobStore` | Backend for the embedded cache | `turbo-cache/handler.ts`, `server-config.ts` | +| `Secret` | `forSigning`, `forChildEnv`, `forRunnerFile` | `turbo-cache.ts` | +| `GitHubMarkdown` | Job-summary markdown | `summary/format.ts` | +| `PackageManagerPin` (`@effected/npm`) | `@[+]` grammar | `setup-package-manager.ts` | +| `SemVer.ExactVersionString` (`@effected/semver`) | Backs `AbsoluteVersion` | `schema/domain.ts` | +| `Jsonc` (`@effected/jsonc`) | `biome.jsonc` parsing | `detect-biome.ts` | + +Several `@effected/*` packages are declared in `package.json` but not imported by `src/` today (`commands`, `git`, `github`, `glob`, `lockfiles`, `markdown`, `package-json`, `runtimes`, `sbom`, `workspaces`, `yaml`). Notably, lockfile discovery and hashing moved onto `CacheKey.matchingFiles` / `CacheKey.hashFiles`, so `@effected/glob` is no longer a code dependency of the cache path. ### Core `effect` platform services -In v4 the platform abstractions live in core `effect` (the standalone `@effect/platform` package is gone): - -- `FileSystem.FileSystem` -- file read/access in `config-loader.ts` and `program.installDependencies`, imported from `effect`. Node implementations (`NodeFileSystem.layer`, `NodeHttpClient.layerUndici`) still come from `@effect/platform-node`. +`FileSystem`, `Path`, `Stream`, `Result`, `Option` and `ChildProcessSpawner` (`effect/unstable/process`) all import from core `effect`. Node implementations (`NodeFileSystem.layer`, `NodeHttpClient.layerUndici`) come from `@effect/platform-node` and are composed by `ActionRuntime` — except in the detached worker, which builds its own. --- @@ -301,12 +362,12 @@ In v4 the platform abstractions live in core `effect` (the standalone `@effect/p **Internal:** -- [Effect service model](./effect-service-model.md) -- service tags, error types, Step.\* namespace, test layers. -- [Caching strategy](./caching-strategy.md) -- cache key formula, lockfile detection, Glob integration. -- [Turbo remote cache](./turbo-remote-cache.md) -- embedded server, activation tree, codec, cross-phase teardown. -- [Runtime installation](./runtime-installation.md) -- `RuntimeInstaller` tag class, descriptors, PM setup. -- [Build and distribution](./build-and-distribution.md) -- builder version, ignore list, dist management. -- [Testing strategy](./testing-strategy.md) -- library Test layers, hand-rolled mock cases, fixture tests. +- [Effect service model](./effect-service-model.md) — step contracts, error taxonomy, layer and seam patterns. +- [Caching strategy](./caching-strategy.md) — cache key formula, restore ladder, cross-phase state protocol. +- [Runtime installation](./runtime-installation.md) — descriptors, tool cache layout, PATH publication, PM and Biome. +- [Turbo remote cache](./turbo-remote-cache.md) — activation table, detached worker, envelope, teardown. +- [Build and distribution](./build-and-distribution.md) — three-entry bundle, dist management, dependency topology. +- [Testing strategy](./testing-strategy.md) — kit test layers, parity guards, fixture and e2e matrices. **Context files:** diff --git a/.claude/design/silk-runtime-action/build-and-distribution.md b/.claude/design/silk-runtime-action/build-and-distribution.md index e15b680a..333f4df1 100644 --- a/.claude/design/silk-runtime-action/build-and-distribution.md +++ b/.claude/design/silk-runtime-action/build-and-distribution.md @@ -3,9 +3,9 @@ status: current module: silk-runtime-action category: integration created: 2026-03-21 -updated: 2026-07-17 -last-synced: 2026-07-17 -completeness: 88 +updated: 2026-08-02 +last-synced: 2026-08-02 +completeness: 92 related: - ./architecture.md - ./testing-strategy.md @@ -15,36 +15,36 @@ dependencies: [] # Build and distribution -Build pipeline, bundle configuration, distribution strategy and the local testing copy. +Build pipeline, bundle configuration, the committed `dist/`, the dependency topology, and the dogfood loop's verification rule. ## Table of contents 1. [Overview](#overview) 2. [Current state](#current-state) -3. [Rationale](#rationale) -4. [Implementation details](#implementation-details) -5. [Related documentation](#related-documentation) +3. [Dependency topology](#dependency-topology) +4. [Rationale](#rationale) +5. [Implementation details](#implementation-details) +6. [Related documentation](#related-documentation) --- ## Overview -The action is built using `@savvy-web/github-action-builder` (v2 line, rsbuild-based; `package.json` is authoritative for the exact range) and produces compiled JavaScript bundles that are committed to git. GitHub Actions runs the action from the checked-out source -- there is no build step in the Actions runtime -- so the compiled output must be present in the repo. +The action is built with `@savvy-web/github-action-builder` (rsbuild-based, `^2.1.1`) and produces compiled JavaScript bundles that are **committed to git**. GitHub Actions loads the action from the checked-out ref with no build step in the runtime, so the compiled output must be present in the repository. **Key features:** -- Three entry points compiled to ES module bundles: `main.js`, `post.js` and the `turbo-server.js` worker bundle. +- Three ES-module bundles: `main.js`, `post.js` and the `turbo-server.js` worker. - Minification enabled. -- Automatic local testing copy at `.github/actions/local/`. -- ES module marker (`dist/package.json` with `"type": "module"`). -- `ignore` list in `action.config.ts` for optional cyclonedx plugins that ship with `@cyclonedx/cyclonedx-library` (transitive via `@savvy-web/github-action-effects`). +- An automatic local testing copy at `.github/actions/local/`. +- An ES-module marker (`dist/package.json` with `{ "type": "module" }`). +- Every dependency inlined — the deployed action never resolves `node_modules`. **When to load this doc:** -- Modifying build configuration. -- Debugging bundle issues in CI. -- Understanding why `dist/` is committed. -- Adding new entry points. +- Modifying build configuration or adding an entry point. +- Debugging a bundle issue in CI. +- Linking, unlinking or bumping a first-party dependency. --- @@ -52,9 +52,8 @@ The action is built using `@savvy-web/github-action-builder` (v2 line, rsbuild-b ### Build configuration -See `action.config.ts`: - ```ts +// action.config.ts export default defineConfig({ entries: { main: "src/main.ts", @@ -69,7 +68,7 @@ export default defineConfig({ }); ``` -The `workers` entry produces `dist/turbo-server.js`, the detached embedded turbo remote-cache server that main spawns at runtime. It is not a GitHub Actions lifecycle hook (only `main` and `post` are referenced in `action.yml`). See [turbo remote cache](./turbo-remote-cache.md). +The `workers` entry produces `dist/turbo-server.js`, the detached embedded turbo remote-cache server that main spawns at runtime. It is **not** a lifecycle hook — `action.yml` names only `main` and `post`. Main resolves it as a sibling of its own bundle through `import.meta.url`, which is why that resolution is meaningful only in the built artifact. See [turbo remote cache](./turbo-remote-cache.md). ### Build output @@ -91,9 +90,10 @@ dist/ # Production build (committed) | Command | Purpose | | --- | --- | -| `pnpm build` | Build via Turbo (runs `build:prod`) | +| `pnpm build` | Build through Turbo (runs `build:prod`) | | `pnpm build:prod` | Direct `github-action-builder build` | | `pnpm ci:build` | CI build with full output logs | +| `pnpm validate` | `github-action-builder validate` — checks the action definition | ### Action runtime configuration (`action.yml`) @@ -104,31 +104,92 @@ runs: post: dist/post.js ``` +`action.yml` is also **parity surface under test**: `INPUT_NAMES` and `OUTPUT_NAMES` in `src/schema/` are checked against the file itself, so the declared inputs and outputs cannot drift from the code. See [testing strategy](./testing-strategy.md#the-parity-guards). + --- -## Rationale +## Dependency topology -### Commit `dist/` to git +### Production (bundled into `dist/`) + +| Package | Role | +| --- | --- | +| `effect` (`catalog:effect` → `4.0.0-beta.101`) | The framework. In v4 the former `@effect/platform` is dissolved into core `effect` | +| `@effect/platform-node` | Node platform layers (`NodeFileSystem`, `NodeHttpClient.layerUndici`) | +| `@effected/github-actions` (`^0.3.0`) | Every GitHub Actions runtime interaction | +| `@effected/npm` (`^0.7.0`) | `PackageManagerPin` | +| `@effected/semver` (`^0.3.0`) | `SemVer.ExactVersionString`, which backs `AbsoluteVersion` | +| `@effected/jsonc` (`^0.5.1`) | `Jsonc.parse` for `biome.jsonc` | + +Other `@effected/*` entries are declared in `package.json` but **not imported by `src/` today**: `commands`, `git`, `github`, `glob`, `lockfiles`, `markdown`, `package-json`, `runtimes`, `sbom`, `workspaces`, `yaml`. Notably `@effected/glob` left the code path when lockfile discovery and hashing moved onto `CacheKey.matchingFiles` / `CacheKey.hashFiles`. Nothing is bundled that is not imported, so an unused declaration costs install time rather than bundle size. + +### Dev (not bundled) + +- `@savvy-web/github-action-builder` (`^2.1.1`) — the build tool. +- `@savvy-web/silk` (`^3.2.11`) — the Biome preset and the `savvy` CLI used by `ci:version`. +- `@vitest-agent/plugin` — test tooling and coverage levels. +- `@effect/vitest` — Effect-aware test harness (declared as a runtime dependency, used only by tests). + +No pnpm overrides, no patches, no links. Every range is a published caret. + +### The dogfood loop and its verification rule + +Every first-party dependency is authored in-house, so a bug or missing API is fixed **in its own repo** and dogfooded here before publishing: + +| Package | Repo | Local checkout | +| --- | --- | --- | +| `@effected/*` | `spencerbeggs/effected` | `../../spencerbeggs/effected/packages/` | +| `@savvy-web/github-action-builder` | `savvy-web/systems` | `../systems/packages/github-action-builder` | + +Iteration runs through the dogfood mailbox protocol (`.claude/dogfood/`, the `silk:dogfood` skill). A link is added **lazily**, only for the duration of a loop round, and removed before any push. + +> **Rule: a `file:`-linked package that is *same-version, different-content* against the registry makes `pnpm install` succeed while the code no longer typechecks once unlinked.** + +The rebuild ran on four such overrides. Unlinking them produced a green install and a **red typecheck**: the registry versions at those same version numbers had none of `ExactVersionString`, `PackageManagerInstaller`/`PackageManagerPin`, `ActionOutputs.layerDetached` or `CacheKey.withoutRestoreKeys`. Worse, a **warm pnpm store can mask it locally** — the store still holds the linked content, so a local reinstall reproduces the working tree that CI will not. + +The honest check is therefore narrow: + +1. Upstream publishes a **release wave at bumped versions**. +2. Bump the ranges here to those versions. +3. Unlink and remove any `overrides:` entry. +4. Verify with a **cold registry install in CI** — not a warm local one. -GitHub Actions loads the action directly from the repository at the specified ref. There is no build step in the Actions runtime, so the compiled JavaScript must be present in the repository. This applies to every JavaScript GitHub Action. +That is how the rebuild's loop closed on 2026-08-03, against `@effected/github-actions@0.3.0`, `@effected/npm@0.7.0`, `@effected/package-json@0.7.0` and `@effected/semver@0.3.0`. Ranges are now caret-floored at that wave. -### Builder version (v2 line) +Two related hazards from the same loop, worth carrying: -The builder tracks the published `@savvy-web/github-action-builder` line (currently the v2 major, alongside the Effect v4 migration); `package.json` is authoritative for the exact range. The builder exposes a `build.nativeDynamicImports` option for bundles that must preserve native dynamic imports — it is deliberately not set here because the production bundle contains no dynamic-import packages (the build emits zero rspack critical-dependency warnings). +- **Never push while linked.** Unlink, pin the published range, `pnpm install`, then push. +- **A branch's built artifacts can be older than the registry.** During round 8 an upstream branch's sibling `dist/prod` outputs were behind published versions and would have violated that branch's own dependency ranges. Verify versions with `npm view`, not with a pipeline's own report. -### `ignore` list for cyclonedx optional plugins +Because the action is a **bundled** artifact, a linked library's change is only real here after `pnpm build`: the integration runs the committed `dist`, not `node_modules`. -`@savvy-web/github-action-effects` pulls in `@cyclonedx/cyclonedx-library` transitively. That library ships optional plugins -- XML serializers and validators (`xmlbuilder2`, `libxmljs2`) and a draft-2019 JSON validator (`ajv-formats-draft2019`) -- that the action never invokes. They are not declared as dependencies at all and are never installed, so the bundler must not try to resolve them. +--- + +## Rationale + +### Commit `dist/` to git -`ignore` is the right knob here, not `externals`. `ignore` rewrites the import to a throwing stub; cyclonedx's `_optPlug` wrapper try/catches that throw and falls through to its non-XML/non-draft-2019 code path. `externals` would mean "available at runtime" -- which is the opposite of true. +GitHub Actions loads the action directly from the repository at the specified ref. There is no build step in the Actions runtime, so the compiled JavaScript must be present. This applies to every JavaScript GitHub Action. ### rsbuild via `github-action-builder` -rsbuild gives tree shaking, dead code elimination and ES module output compatible with Node 24. The builder wraps it with sensible defaults: entry point configuration via `defineConfig`, automatic local-copy generation and clean builds. +rsbuild gives tree shaking, dead code elimination and ES-module output compatible with Node 24. The builder wraps it with the defaults an action needs: entry configuration through `defineConfig`, the module marker, the local copy and clean builds. Its `build.nativeDynamicImports` option is deliberately unset — the production bundle contains no dynamic-import packages, and the build emits zero rspack critical-dependency warnings. ### Local testing copy -`.github/actions/local/` separates test artifacts from the production build. The `test-fixture` composite action references `.github/actions/local` rather than the repo root, letting fixture tests run against the built action without interfering with `dist/`. +`.github/actions/local/` separates test artifacts from the production build. The `test-fixture` composite action references `.github/actions/local` rather than the repository root, so fixture tests run against the built action without interfering with `dist/`. + +### The `ignore` list + +`ignore` rewrites an import to a throwing stub, which is correct for a package that is genuinely never installed; `externals` would mean "available at runtime", which is the opposite of true. + +The three entries (`xmlbuilder2`, `libxmljs2`, `ajv-formats-draft2019`) are optional plugins of `@cyclonedx/cyclonedx-library`, whose `_optPlug` wrapper try/catches the stub throw and falls through. They were needed when `@savvy-web/github-action-effects` pulled cyclonedx in transitively. + +**That dependency is gone.** `@cyclonedx/cyclonedx-library` is no longer anywhere in the tree — `@effected/sbom` does not depend on it, and none of the three names appears in any built bundle. The list is currently **vestigial**: harmless, and cheap insurance if a future `@effected/sbom` version reintroduces cyclonedx, but it no longer describes a real transitive dependency. The comment beside it in `action.config.ts` still cites `@savvy-web/github-action-effects` and is stale. + +### Three entries, one of them not a hook + +Bundling the worker with the same tool and into the same directory is what makes the sibling-path resolution in `startTurboCache` work, and what keeps the worker's dependency set consistent with main's. --- @@ -138,44 +199,31 @@ rsbuild gives tree shaking, dead code elimination and ES module output compatibl 1. `github-action-builder build` reads `action.config.ts`. 2. Cleans `dist/` and `.github/actions/local/dist/`. -3. Compiles TypeScript via rsbuild with the three entry points (`main`, `post`, `turbo-server`). -4. Applies the `ignore` list (stubs the three cyclonedx optional plugins). +3. Compiles the three entry points through rsbuild. +4. Applies the `ignore` list. 5. Writes minified bundles to `dist/`. 6. Creates `dist/package.json` with `{ "type": "module" }`. 7. Copies bundles to `.github/actions/local/dist/` (per `persistLocal`). -### Dependencies - -`package.json` is authoritative for exact ranges. Topology: - -Production (bundled into `dist/`): - -- `@savvy-web/github-action-effects` -- GitHub Actions runtime protocol (v4 line). -- `effect` -- Effect framework, resolved to `effect@4.0.0-beta.98` via `catalog:effect`. In v4 the former `@effect/platform` is dissolved into core `effect`; only `@effect/platform-node` (the Node platform layers, also `catalog:effect`) remains a separate package. `@effect/cluster`, `@effect/rpc` and `@effect/sql` were removed (unused). -- `@effect/platform-node` -- Node platform layers (`NodeFileSystem`, `NodeHttpClient`). -- `@effected/jsonc` -- Biome config parsing (`Jsonc.parse`; replaces the v3-era `jsonc-effect`). +**Always commit both directories.** A change that is not rebuilt is a change CI does not run. -Dev (not bundled): +### TypeScript configuration -- `@savvy-web/github-action-builder` -- build tool (v2 line). -- `@savvy-web/silk` -- release/CI tooling providing the `savvy` CLI used by `ci:version`. -- `@vitest-agent/plugin` -- test tooling. +`module: "ESNext"`, `moduleResolution: "bundler"`, `target: "ES2022"`, `strict: true`, `noEmit: true`, `exactOptionalPropertyTypes` (which is why the optional S3 fields in `server-config.ts` are spread rather than assigned). All imports carry `.js` extensions and Node builtins use the `node:` protocol, both enforced by Biome. Type checking runs on `@typescript/native-preview` (tsgo). -The cyclonedx optional plugins (`xmlbuilder2`, `libxmljs2`, `ajv-formats-draft2019`) are not declared as dependencies; the `ignore` list stubs their imports at build time. +### Release process -### TypeScript configuration +1. `pnpm changeset` records the change. +2. The changesets workflow opens a release PR; version application runs through the `savvy` CLI (`ci:version`), which affects release tooling only, never the action source or bundles. +3. Merging bumps `package.json` and `CHANGELOG.md` and creates a GitHub release with tags. +4. `release-sync.yml` moves the `v` alias tag and resets `dev` to `main`. +5. Consumers reference by tag (`savvy-web/silk-runtime-action@v1`). -- `module: "ESNext"`, `moduleResolution: "bundler"`, `target: "ES2022"`, `strict: true`, `noEmit: true`. -- All imports require `.js` extensions (enforced by Biome). -- `node:` protocol required for built-in modules (enforced by Biome). -- Type checking via `@typescript/native-preview` (tsgo). +Commits must be GPG-signed with the GitHub-verified key for `C. Spencer Beggs `, or the signature ruleset rejects them. -### Release process +### Machine-local dev script -1. `pnpm changeset` to record changes. -2. Changesets workflow opens a release PR. Version application runs through the `savvy` CLI (`ci:version` script) from `@savvy-web/silk` (v3 line) -- this affects only release tooling, never the action source or bundles. -3. Merging the PR bumps `package.json` and `CHANGELOG.md`, then creates a GitHub release with tags. -4. Users reference by tag (e.g., `savvy-web/silk-runtime-action@v1`). +`package.json`'s `claude` script points at a sibling checkout (`../../spencerbeggs/effected/plugin`). It is a local developer convenience only — nothing in build, test or CI depends on it, and it is expected to be absent on any other machine. --- @@ -183,12 +231,12 @@ The cyclonedx optional plugins (`xmlbuilder2`, `libxmljs2`, `ajv-formats-draft20 **Internal:** -- [Architecture](./architecture.md) -- entry topology. -- [Turbo remote cache](./turbo-remote-cache.md) -- what the `turbo-server` bundle does at runtime. -- [Testing strategy](./testing-strategy.md) -- how the local copy is exercised by fixture tests. +- [Architecture](./architecture.md) — entry topology and what each bundle contains. +- [Turbo remote cache](./turbo-remote-cache.md) — what the `turbo-server` bundle does and how main finds it. +- [Testing strategy](./testing-strategy.md) — how the local copy is exercised, and the `action.yml` parity guards. **Source files:** -- `action.config.ts` -- build configuration including the `ignore` list. -- `action.yml` -- action definition. -- `package.json` -- dependencies and scripts. +- `action.config.ts` — build configuration and the `ignore` list. +- `action.yml` — the action definition and the parity contract. +- `package.json` — dependencies, scripts and the `devEngines` pins this repository uses on itself. diff --git a/.claude/design/silk-runtime-action/caching-strategy.md b/.claude/design/silk-runtime-action/caching-strategy.md index 6ea5cbe4..0063f0a6 100644 --- a/.claude/design/silk-runtime-action/caching-strategy.md +++ b/.claude/design/silk-runtime-action/caching-strategy.md @@ -3,9 +3,9 @@ status: current module: silk-runtime-action category: performance created: 2026-03-21 -updated: 2026-07-17 -last-synced: 2026-07-17 -completeness: 92 +updated: 2026-08-02 +last-synced: 2026-08-02 +completeness: 95 related: - ./architecture.md - ./effect-service-model.md @@ -15,37 +15,39 @@ dependencies: [] # Caching strategy -Dependency and runtime caching: key generation, multi-package-manager support, lockfile detection via `Glob`, cache path resolution and cross-phase state. +Dependency and tool caching: the typed `CacheKey`, the restore ladder, lockfile discovery, the archived path set, and the cross-phase state protocol. ## Table of contents 1. [Overview](#overview) 2. [Current state](#current-state) -3. [Rationale](#rationale) -4. [Implementation details](#implementation-details) -5. [Related documentation](#related-documentation) +3. [Cross-phase state protocol](#cross-phase-state-protocol) +4. [Rationale](#rationale) +5. [Implementation details](#implementation-details) +6. [Related documentation](#related-documentation) --- ## Overview -The action provides automatic dependency caching across all supported package managers (npm, pnpm, yarn, bun, deno) and runtimes (Node.js, Bun, Deno). Cache keys are deterministic and derived from runtime versions, PM version, branch and lockfile contents. The V2 Twirp protocol is used via `ActionCache`; cross-phase state moves between main and post via `ActionState` + the `CacheState` schema in `src/state.ts`. +The action caches dependency stores, workspace `node_modules`, the tool-cache directories of everything it installed, and (when turbo is detected) turbo's local artifact cache — all under one key derived from the platform, the architecture, the tool versions, the branch and the lockfile contents. + +Every restore this action makes goes through a **typed `CacheKey`** from `@effected/github-actions`, which carries its own restore-key policy so the primary key and its fallbacks cannot drift apart. **Key features:** -- Lockfile detection via the library `Glob` service (`Glob.glob` with newline-separated patterns and `!`-prefix excludes). -- Lockfile hashing via `Glob.hashFiles` (library-provided hash-of-hashes, truncated to 8 hex chars). -- Dynamic cache path detection by querying installed package managers; platform fallbacks when detection fails. -- Tool cache inclusion for all installed runtimes (Node, Bun, Deno, Biome). -- Multi-PM deduplication for multi-runtime setups. -- Restore key fallback chain (branch-specific then version-only); disabled when `cache-bust` is set. -- User-extensible via `additional-lockfiles` and `additional-cache-paths` inputs (newline-separated only). +- Key: `{platform}-{arch}-{versionHash}-{branchHash}-{lockfileHash}`, arch included (legacy had none). +- Discovery and hashing through `CacheKey.matchingFiles` / `CacheKey.hashFiles`, bounded by `GITHUB_WORKSPACE`. +- A two-rung restore ladder (`withRestoreDepths([4, 3])`), and an explicitly **empty** ladder for a busted run. +- Every decision that is not a runner call is a pure function in `steps/cache-config.ts`. +- Cross-phase state whose encoded form is plain JSON, by rule. +- `**/.turbo/cache` joins the archive when turbo is detected — a complement to the embedded remote cache, not a replacement. **When to load this doc:** -- Debugging cache key generation or unexpected misses. -- Adding support for a new package manager. -- Modifying lockfile or cache path resolution. +- Debugging an unexpected cache miss or a key that looks wrong. +- Adding a package manager, a store path or a lockfile pattern. +- Changing anything that crosses the main → post boundary. --- @@ -54,152 +56,247 @@ The action provides automatic dependency caching across all supported package ma ### Cache key format ```text -{platform}-{versionHash}-{branchHash}-{lockfileHash} +{platform}-{arch}-{versionHash}-{branchHash}-{lockfileHash} ``` -Example: `linux-abc12345-def67890-ghi11223`. +Example: `linux-x64-abc12345-def67890-ghi11223`. -| Component | Source | Length | -| --- | --- | --- | -| `platform` | `node:os` `platform()` | Literal (`linux` / `darwin` / `win32`) | -| `versionHash` | SHA256 of sorted runtime versions + PM `name:version` + optional `cache-bust` | 8 hex | -| `branchHash` | SHA256 of branch name (`GITHUB_HEAD_REF` for PR, else `GITHUB_REF` minus `refs/heads/`) | 8 hex | -| `lockfileHash` | `Glob.hashFiles(lockfiles)` truncated | 8 hex | +| Segment | Source | +| --- | --- | +| `platform` | `process.platform` — `linux` / `darwin` / `win32` | +| `arch` | `process.arch` — `x64` / `arm64` / … | +| `versionHash` | SHA-256, first 8 hex, of the cache-bust (if any) then each tool as `name:version` **sorted by name**, then `packageManager.name:version` | +| `branchHash` | SHA-256, first 8 hex, of the branch — or of the literal `"null"` when there is none | +| `lockfileHash` | `CacheKey.hashFiles(lockfiles)`, first 8 hex — or the literal `"empty"` when nothing matched | + +"Tools" means every `devEngines` runtime plus Biome when a version was resolved. Biome rides along because it is versioned, tool-cached, and a version change has to invalidate the archive holding the old one. + +The **arch segment is new**. Without it an arm64 and an x64 macOS runner share a key and restore each other's tool-cache directories — binaries for the wrong architecture, from a cache that reports a hit. -The `versionHash` and `branchHash` are still computed locally via `node:crypto` (see `src/services/cache.ts`). The `lockfileHash` now comes from `Glob.hashFiles`, which hashes each file individually and combines them. This is **different** from the previous concat-and-SHA256 approach. See [hash algorithm change](#hash-algorithm-change) below. +The **cache bust goes into the version digest** rather than into a segment of its own, so a busted run keeps the same key layout while matching nothing an unbusted run wrote. -### Restore key fallback chain +A **branchless run** — a tag, a detached HEAD — hashes the literal `"null"` rather than `""`, so all of them share one key instead of each getting the digest of the empty string by accident. -| Priority | Pattern | Matches | +### Branch resolution + +`GITHUB_HEAD_REF` first, then `GITHUB_REF` with a `refs/heads/` prefix stripped, else `""`. Head-ref-first matters on pull requests, where `GITHUB_REF` names the synthetic merge ref (`refs/pull/12/merge`): keying on it would give every PR a private cache nothing else ever restores. + +### Restore ladder + +```ts +export const RESTORE_DEPTHS = [4, 3] as const; + +const key = busted ? segments.withoutRestoreKeys() : segments.withRestoreDepths(RESTORE_DEPTHS); +``` + +| Depth | Pattern | Matches | | --- | --- | --- | -| 1 (primary) | `{plat}-{versionHash}-{branchHash}-{lockfileHash}` | Exact | -| 2 (branch) | `{plat}-{versionHash}-{branchHash}-` | Same branch, any lockfile content | -| 3 (version) | `{plat}-{versionHash}-` | Any branch, same runtime versions | +| primary | `{plat}-{arch}-{ver}-{branch}-{lock}` | Exact | +| 4 | `{plat}-{arch}-{ver}-{branch}-` | Same branch, any lockfile content | +| 3 | `{plat}-{arch}-{ver}-` | Any branch, same tool versions | + +Two rungs, **not** the default every-prefix ladder `CacheKey` derives. The default's remaining rungs (`linux-x64-`, `linux-`) drop the *version* digest, and a cache built for a different Node would restore against them. Carrying the policy on the key means `ActionCache.restore` reads the rungs back off it, so the primary and its fallbacks cannot drift apart. Legacy stopped at the same two depths. + +A **cache bust removes the ladder entirely** via `withoutRestoreKeys()` — zero rungs, which is distinct from *absence* (absence selects the default ladder). The fixtures pair a create run with a restore run under one busted key to prove an **exact** hit, and any fallback rung would satisfy the restore without proving anything. + +### Lockfile patterns + +| Manager | Patterns | +| --- | --- | +| npm | `**/package-lock.json`, `**/npm-shrinkwrap.json` | +| pnpm | `**/pnpm-lock.yaml`, `**/pnpm-workspace.yaml`, `**/.pnpmfile.cjs` | +| yarn | `**/yarn.lock`, `**/.pnp.cjs`, `**/.yarn/install-state.gz` | +| bun | `**/bun.lock`, `**/bun.lockb` | +| deno | `**/deno.lock` | -When `cache-bust` is set, the restore keys list is empty (forces exact match for testing). +Two of pnpm's three are not lockfiles at all — `pnpm-workspace.yaml` and `.pnpmfile.cjs` change what an install resolves to just as a lockfile does, so they belong in the key. They land in the `lockfiles` output as a consequence. -### Lockfile patterns by package manager +yarn's `.yarn/install-state.gz` is both an input to the key **and** a file the cache archives, so a saved cache invalidates the key that saved it. Carried over deliberately: the fixtures pin yarn PnP files as lockfiles, and the self-invalidation costs a rebuild rather than correctness. -See `getLockfilePatterns` in `src/services/cache.ts` for the source of truth. Summary: per-PM globs (e.g., `**/pnpm-lock.yaml`, `**/yarn.lock`, `**/bun.lock`, `**/deno.lock`). User-provided `additional-lockfiles` are appended. +Exclusions apply to every pattern set: -### Cache paths by package manager +```ts +["!**/node_modules/**", "!**/.git/**", "!**/__fixtures__/**", "!**/__tests__/**", "!**/__test__/**"] +``` + +A lockfile only means something at the repository root or in a real workspace package. Inside `node_modules` it belongs to a dependency; inside a fixture tree it is a deliberate fake — this repository's own `__fixtures__/` carries five. + +The caller's `additional-lockfiles` are appended **after** the built-in sort, in the order written, so a workflow author reading them back out of the `lockfiles` output sees their own list where they put it. -Each active PM contributes: +### Which package managers are active -1. The global cache directory (detected via `pm ` query, fallback to platform default). -2. PM-specific additional paths (`**/node_modules` for npm/pnpm/bun; Yarn PnP paths; empty for Deno). -3. Tool cache paths for installed runtimes (`{RUNNER_TOOL_CACHE}/{runtime}/{version}`). +A **runtime**, not the manifest, is what makes a manager active: node brings the `devEngines` package manager, while bun and deno are their own. A workspace declaring `packageManager: pnpm` with only a bun runtime caches bun's store and not pnpm's — pnpm never runs. The list is de-duplicated, first-seen order. -Detection commands and fallbacks live in `src/services/cache.ts` (`detectCachePath` and `getDefaultCachePaths`). +### Archived paths -### Cross-phase state +Three groups, and the order is the contract: + +1. **Built-ins, sorted** (absolute paths alphabetically, then globs alphabetically): + - each active manager's default store directory, + - each active manager's workspace paths, + - `//` for every runtime and Biome. +2. **`additional-cache-paths`**, in the order written. +3. **`**/.turbo/cache`**, when turbo was detected. + +The final list is de-duplicated, because a caller naming `**/node_modules` would otherwise hand `tar` the same tree twice. Legacy concatenated the same three groups and lost both the sort and the de-duplication. + +| Manager | Default store (POSIX / win32) | Workspace paths | +| --- | --- | --- | +| npm | `~/.npm` / `%LOCALAPPDATA%\npm-cache` | `**/node_modules` | +| pnpm | `~/.local/share/pnpm/store` / `…\pnpm\store` | `**/node_modules` | +| yarn | `~/.yarn/cache` **and** `~/.cache/yarn` / `…\Yarn\Cache` and `…\Yarn\Berry\cache` | `**/node_modules`, `**/.yarn/cache`, `**/.yarn/unplugged`, `**/.yarn/install-state.gz` | +| bun | `~/.bun/install/cache` / `…\bun\install\cache` | `**/node_modules` | +| deno | `~/.cache/deno` / `%LOCALAPPDATA%\deno` | none — deno resolves from its own store and never populates `node_modules` | -`CacheState` (in `src/state.ts`) is a `Schema.Class`: +yarn contributes two stores because Berry and Classic disagree about where the cache lives and the manager's major version is not known here. The tool-cache base is `RUNNER_TOOL_CACHE` when set, else `/opt/hostedtoolcache` (`C:\hostedtoolcache` on win32). + +Paths are joined with `posix` or `win32` explicitly rather than the host's `node:path`, which is the same thing in production but is what lets a Linux test pin the Windows store layout. + +### Turbo's local artifact cache + +When `turbo.json` is detected, `**/.turbo/cache` — and only that — joins the archive. `**/.turbo/runs` (run summaries), `.turbo/cookies` and `.turbo/daemon` are deliberately excluded: a restored stale run summary would break "latest run = current run" detection by tooling that parses `turbo --summarize` output, and the other two are ephemeral. + +This file-cache layer and the embedded remote cache are **complementary, not alternatives**. The remote cache is the primary — turbo writes artifacts to it through the HTTP API — and the file layer is a fast local restore on top. Do not propose dropping either. + +### Non-fatal by construction + +Every degradation goes through one helper, so "the restore never fails the action" is a mechanism rather than a rule each call site remembers: ```ts -class CacheState extends Schema.Class("CacheState")({ - key: Schema.String, - paths: Schema.Array(Schema.String), - restored: Schema.Boolean, -}) {} +const absorb = (effect, reason, message, fallback) => + effect.pipe(Effect.catch((cause) => + Effect.logWarning(new CacheError({ reason, message: message(cause), cause }).message).pipe(Effect.as(fallback)))); ``` -`restored=true` means main got an exact hit and post should skip the save. Persisted under `STATE_KEYS.cacheState = "cache-state"`. `src/state.ts` also defines `TurboServerState` (under `STATE_KEYS.turboServerState`) carrying the embedded server's pid for post-phase teardown — see [turbo remote cache](./turbo-remote-cache.md). +Discovery failures fall back to `[]`, hashing failures to `Option.none()` (so the segment becomes `"empty"`), restore failures to `Option.none()` (a miss), and a state-save failure to a warning. The declared `CacheError` is the shape a failure is *logged as*; the step answers with a miss-shaped `CacheState` and lets the installs proceed. -This replaces the previous inline `CacheStateSchema` with a `hit: "exact" | "partial" | "none"` literal. The new shape collapses partial/none into a single `restored=false` because post only needs the binary save/skip decision. +**Recorded deviation:** state is persisted even after a failed restore, so the post phase still saves what this run installed. Legacy left the next run cold too. --- -## Rationale +## Cross-phase state protocol -### Library `Glob` instead of `fast-glob` +GitHub Actions runs `main` and `post` as separate processes. State crosses as **text**: `save` appends `key<` environment variable that `get` reads back. -Lockfile resolution previously used `fast-glob` as a direct dependency. It now uses the library `Glob` service (`GlobLive`) for both file discovery (`Glob.glob`) and lockfile hashing (`Glob.hashFiles`). Benefits: +> **Rule: every field's *encoded* form must be plain JSON.** `ActionState` uses a JSON text protocol — `JSON.stringify(encoded)` out, `JSON.parse` in. -- One less direct dependency. -- Lockfile hashing is now consistent with how GitHub's own `hashFiles()` works (the library matches the runner's behavior). -- The service is mockable via `GlobTest` from `@savvy-web/github-action-effects/testing`. +This is not theoretical. `CacheState.restoredKey` was originally `Schema.Option(Schema.String)`, whose **encoded** form is an `Option` *instance*. Stringifying it goes through `Option.toJSON` and produces `{"_id":"Option","_tag":"Some",…}`, which no longer decodes — `"Expected Option"`. Main reported a successful save and post could not read it. The fix is one line: `Schema.OptionFromNullOr(Schema.String)`, which encodes to `string | null`. -### Hash algorithm change +Two corollaries: -Old behavior: read each lockfile, concatenate the contents, SHA256-hash the result, truncate to 8 hex. +- **In-memory test doubles are strictly more permissive than the runner.** A `Map`-backed double hands the encoded object straight back and round-trips schemas that JSON cannot. Never trust one alone for a state schema — `__test__/unit/state.test.ts` uses the **real** `ActionState.layer` against a temp `GITHUB_STATE` file and republishes it the way the runner does. That is the harness pattern for any future state schema. +- **The same constraint applies to `BlobEnvelope` metadata.** The envelope writes metadata as JSON between its header and the body, so `turbo-cache/meta.ts` spells its tag `Schema.NullOr(Schema.String)` for exactly this reason. -New behavior: `Glob.hashFiles` hashes each file individually and combines the per-file hashes (matching `@actions/glob`'s `hashFiles`). +### The two state values -These produce **different** hex digests for the same set of files. The first deploy after this release will see cache misses on previously-existing keys; all subsequent runs are unaffected. This is documented and accepted. +```ts +export const STATE_KEYS = { cache: "silk-runtime-cache", turboServer: "silk-runtime-turbo-server" } as const; -### Why not `PackageManagerAdapter` +export class CacheState extends Schema.Class("CacheState")({ + paths: Schema.Array(Schema.String), + primaryKey: Schema.String, + restoredKey: Schema.OptionFromNullOr(Schema.String), + lockfiles: Schema.Array(Schema.String), +}) {} -The library's `PackageManagerAdapter` reads `packageManager` from `package.json`, not `devEngines`. Since this action reads from `devEngines.packageManager` exclusively, using the adapter would create a detection mismatch. `cache.ts` does its own cache-path resolution and lockfile patterning. +export class TurboServerState extends Schema.Class("TurboServerState")({ + pid: ProcessId, + port: Schema.Number, + backend: Schema.Literals(["github", "s3"]), + logFile: Schema.String, +}) {} +``` -### 8-character hash truncation +`restoredKey` distinguishes all three outcomes in one field: `None` is a miss, `Some(primaryKey)` is an exact hit, `Some(other)` is a partial restore from a fallback rung. The comparison lives once, beside the state: -Full SHA256 is 64 hex; 8 hex gives ~4.3B possibilities. The birthday paradox puts 50% collision probability around 65k entries -- negligible for a single repository's cache. +```ts +export const isExactHit = (state: CacheState): boolean => + Option.isSome(state.restoredKey) && state.restoredKey.value === state.primaryKey; +``` + +Both phases turn on it — `post` saves unless it is `true`, and `main` publishes `cache-hit` from it — and the panel's cache cell derives from it too, so there is exactly one definition of "exact". -### Branch in cache key +`lockfiles` rides along because it is the restore step's answer to the `lockfiles` output and this is the value the step already returns; `post` has no use for it. `pid` is `ProcessId` rather than a bare number because a truncated state file, an absent key or `Number("")` all decode to `0`, and `ProcessId` refuses that value rather than letting it reach `DetachedProcess.reap`. -Including the branch prevents pollution between branches. A feature branch with modified dependencies should not restore a stale cache from `main`. The restore-key fallback chain still allows version-only matching when no branch-specific cache exists. +`STATE_KEYS` values are internal, **not** parity surface, and free to change. -### Newline-only multi-value inputs +### Post-phase save -`additional-lockfiles` and `additional-cache-paths` now use `ActionInput.multiline` (newline-separated only). The previous `parseMultiValueInput` helper that accepted commas, bullets and JSON arrays has been deleted. Aligning with the library convention reduces edge cases in tests and matches the YAML-block style users actually write. +```text +getOptional(cache, CacheState) + None -> "nothing to save" + isExactHit -> skip (the archive is already what this run would write; entries are immutable) + paths.length === 0 -> skip + otherwise -> ActionCache.save(paths, primaryKey) [primary, not the matched key] +``` + +Saving on a **partial** restore as well as a miss, and always under the *primary* key, is the point: a partial restore left the archive short of what this run installed, so the key this run asked for is the one that has to end up populated. + +**Known cost, carried deliberately:** `post` runs even when `main` failed, so an install that died halfway can seal a half-populated `node_modules` under the primary key. Fixing it needs `main` to leave a completed marker, which is a hardening pass of its own. --- -## Implementation details +## Rationale -### Active package manager detection +### Typed `CacheKey` over string assembly -`program.getActivePackageManagers(runtimes, primaryPM)`: +Restore keys and the primary key are one value, so they cannot drift. The kit derives the ladder from the key's segments, `ActionCache.restore` reads the policy off the key, and the three policies the action needs (default depths, two rungs, no rungs) are all expressible. Before `withoutRestoreKeys` existed, "this key or nothing" forced the cache-bust branch off the typed key and back onto a bare string; that bypass is gone. -- If a runtime is `node`, the primary PM (from `devEngines.packageManager`) is active. -- If a runtime is `bun`, `bun` is added. -- If a runtime is `deno`, `deno` is added. +### `"empty"` rather than an empty segment -For multi-runtime setups (e.g., Node + Deno) the cache paths from both PMs are merged and deduplicated. +Legacy left the lockfile segment empty, producing a key ending in `-`. The kit's `Segment` is `/^[^,\n\r]+$/` and refuses an empty string outright, so the no-lockfile case needs a name. `"empty"` is the spelling upstream's own `hashMatching` example uses. Nothing depends on the old shape — a cache key is not parity surface, and the fixtures only need two runs of the same version to agree. -### Cache path merging (`getCombinedCacheConfig`) +### Store paths as a defaults table -For each active PM, call `getCacheConfig(pm)` (runs the detection command, falls back to platform defaults). Union the cache-path and lockfile-pattern sets. Add tool cache paths for all runtimes (including Biome). Sort absolute paths before glob patterns. The program then appends `additional-cache-paths` and, when Turbo is detected, `**/.turbo/cache` via `turboLocalCachePaths` (see below). +Legacy shelled the manager for its configured store (`npm config get cache`, `pnpm store path`, …) and fell back to a table on any failure — about fifty lines of subprocess for a value that, on a GitHub runner with a freshly installed manager, is always the default. Dropped with the detection: no fixture ever asserted a detected store path, and the step now needs no spawner at all. -### Turbo local cache layer +### One archive for everything -When `turbo.json` is detected, `turboLocalCachePaths` (in `src/program.ts`) adds `**/.turbo/cache` — Turbo's local task-output artifact cache — to the file-cached paths. This is a fast local-restore layer that complements the embedded remote cache (see [turbo remote cache](./turbo-remote-cache.md)). Only `.turbo/cache` is cached; `.turbo/runs` (run summaries), `.turbo/cookies` and `.turbo/daemon` are deliberately excluded. A restored stale `runs` summary would break "latest run = current run" detection by tools that parse `turbo --summarize` output; cookies and the daemon directory are ephemeral. +Runtime tool-cache directories are archived alongside dependency stores rather than in a second cache. A runtime bump therefore invalidates the dependency cache, which is a real cost — but the alternative is two caches that can disagree about what was installed. Legacy's design, kept. -### Lockfile detection (`findLockFiles`) +### 8-character digests -`findLockFiles` builds a single newline-separated patterns string with `!`-prefix excludes (via `buildLockfileGlobPatterns` in `src/services/cache.ts`) and passes it to `Glob.glob`. Errors are caught and demoted to an empty list (cache restore continues without any lockfile contribution). +Full SHA-256 is 64 hex; 8 hex gives ~4.3 × 10⁹ values. For a single repository's cache the collision probability is negligible, and short segments keep the key readable in a log. -Beyond `node_modules` and `.git`, the excludes cover test and fixture trees — `**/__fixtures__/**`, `**/__tests__/**`, `**/__test__/**` — so a fixture lockfile (e.g. `__fixtures__/turbo-monorepo/pnpm-lock.yaml`) never pollutes the cache key. See `buildLockfileGlobPatterns` for the exact exclude list. +### Branch in the key -### Lockfile hashing (`hashFiles`) +A feature branch with modified dependencies should not restore a stale archive from `main`. Depth 3 still reaches across branches when no branch-specific entry exists. -```ts -const patternsStr = files.join("\n"); -const result = yield* glob.hashFiles(patternsStr).pipe(Effect.catch(() => Effect.succeed(Option.none()))); -return Option.getOrElse(result, () => "").substring(0, 8); -``` +--- -`Glob.hashFiles` returns `Option`. `None` (or a thrown error) yields an empty hash. Successful hashes are truncated to 8 hex chars. +## Implementation details -### Cross-phase state flow +### Where each piece lives -Main: +| Concern | Location | Kind | +| --- | --- | --- | +| Active managers, patterns, store/workspace paths, key segments, ladder policy | `src/steps/cache-config.ts` | Pure, host-argument-driven | +| Workspace/tool-cache/branch resolution, discovery, hashing, restore, state save | `src/steps/restore-cache.ts` | Effectful | +| `CacheState`, `TurboServerState`, `isExactHit`, `STATE_KEYS` | `src/state.ts` | Schema | +| The save | `src/post.ts` | Effectful | -```ts -yield* state.save(STATE_KEYS.cacheState, new CacheState({ key, paths, restored: hit === "exact" }), CacheState); -``` +Splitting the pure half out is what lets a test pin the Windows store paths, the arch segment and the ladder policy without a runner, a filesystem or a mocked `process`. -Post (in `src/post.ts`): +### Discovery and hashing ```ts -const opt = yield* state.getOptional(STATE_KEYS.cacheState, CacheState); -if (Option.isNone(opt)) return; -if (opt.value.restored) return; // exact hit; nothing to save -yield* Step.groupStep("Cache save", saveCache()); +const lockfiles = yield* absorb(CacheKey.matchingFiles({ workspace, patterns }), "key", …, []); +const lockfileHash = yield* absorb(CacheKey.hashFiles(lockfiles), "key", …, Option.none()); ``` -`saveCache` re-reads the state with `state.get` (not `getOptional`) inside `services/cache.ts` and calls `ActionCache.save(paths, key)`. +The workspace comes from `ActionEnvironment.github`'s context, falling back to `process.cwd()` outside a runner; nothing outside it is walked or hashed. + +**Upstream note:** `CacheKey.matchingFiles` applies `!` exclusions as a **post-filter** over a full recursive `readDirectory`, so `!**/node_modules/**` no longer prunes traversal. The output is identical; the cost is a cold walk on large trees. + +Detection precedes the restore in `program.ts` because both the resolved Biome version and turbo's presence feed the key and the path set. See [architecture](./architecture.md#pipeline-steps-srcprogramts). + +### Debug logging + +At `ACTIONS_STEP_DEBUG=true` the step logs the primary key, the restore ladder (or `(none — exact match only)`), the resolved path set with its count, the lockfile list with its count, and the cache bust — the last **whether or not one is set**, because a run that restored nothing is exactly the run where "was a bust in play?" is the first question, and its absence has to be an answer rather than a missing line. + +### The cache verdict line + +`cacheLine` in `restore-cache.ts` is the one formatter for the tristate prose: `exact hit (N lockfiles)`, `partial hit (…)`, `miss (…)`, singular `1 lockfile` included, carried over verbatim from v1. The count belongs on the line because a miss with no lockfiles is a different problem from a miss with three: the first says the patterns matched nothing, the second says the dependencies changed. The job-summary panel renders the same three states from the same `CacheState` (`cacheCell` in `summary/format.ts`), so the log and the panel cannot disagree. --- @@ -207,12 +304,14 @@ yield* Step.groupStep("Cache save", saveCache()); **Internal:** -- [Architecture](./architecture.md) -- pipeline shape, cross-phase state diagram. -- [Turbo remote cache](./turbo-remote-cache.md) -- embedded remote cache that the `.turbo/cache` file layer complements. -- [Effect service model](./effect-service-model.md) -- `Context.Service` classes, `Schema.TaggedErrorClass`, layer composition. +- [Architecture](./architecture.md) — pipeline order, the cross-phase state diagram. +- [Turbo remote cache](./turbo-remote-cache.md) — the embedded remote cache the `.turbo/cache` layer complements, and the second consumer of the plain-JSON state rule. +- [Effect service model](./effect-service-model.md) — the `absorb` posture and the error taxonomy. +- [Testing strategy](./testing-strategy.md) — the real-`ActionState` round-trip harness and the create/restore fixture pairs. **Source files:** -- `src/services/cache.ts` -- all cache logic. -- `src/state.ts` -- `CacheState` and `STATE_KEYS`. -- `src/program.ts` -- `getActivePackageManagers`, multi-value input plumbing. +- `src/steps/cache-config.ts` — every pure cache decision. +- `src/steps/restore-cache.ts` — key computation, restore, state save. +- `src/state.ts` — `CacheState`, `TurboServerState`, `isExactHit`, `STATE_KEYS`. +- `src/post.ts` — the save. diff --git a/.claude/design/silk-runtime-action/effect-service-model.md b/.claude/design/silk-runtime-action/effect-service-model.md index f9c5fb01..77966875 100644 --- a/.claude/design/silk-runtime-action/effect-service-model.md +++ b/.claude/design/silk-runtime-action/effect-service-model.md @@ -3,9 +3,9 @@ status: current module: silk-runtime-action category: architecture created: 2026-03-21 -updated: 2026-07-17 -last-synced: 2026-07-17 -completeness: 92 +updated: 2026-08-02 +last-synced: 2026-08-02 +completeness: 95 related: - ./architecture.md - ./runtime-installation.md @@ -16,7 +16,7 @@ dependencies: [] # Effect service model -How the action uses Effect for typed errors, dependency injection, composable service layers and the `Step.*` namespace for log buffering. +How the action uses Effect v4 for typed errors, dependency injection and composable layers — the step-contract rule, the error taxonomy, the seam patterns, and the log-group API. ## Table of contents @@ -30,113 +30,185 @@ How the action uses Effect for typed errors, dependency injection, composable se ## Overview -Every side effect (file I/O, process execution, caching, output setting, logging, globbing) flows through Effect services. The action never imports `@actions/*` packages and only reaches for `node:os`, `node:path` and `node:crypto` directly. This design enables full service substitution in tests and typed error propagation through the pipeline. +Every side effect — file I/O, process execution, caching, outputs, logging, tool installation — flows through a service from `@effected/github-actions` or from core `effect`. The action imports `node:os`, `node:path`, `node:crypto`, `node:http` and `node:url` directly and nothing else. This is what makes service substitution in tests total and error propagation typed end to end. **Key features:** -- All GitHub Actions integration via `@savvy-web/github-action-effects` (v4 line; range in `package.json`) services. -- Inputs read lazily via Effect `Config` API and library `ActionInput.*` combinators. -- Errors modeled as `Schema.TaggedErrorClass` with computed `.message` getters and an `ActionError` union. -- `Step.*` namespace for log group buffering (quiet-on-success, verbose-on-failure). -- Layer composition split between entry (`main.ts`), program (`program.ts`) and layer file (`layers/app.ts`). -- Tests use library-provided test layers from `@savvy-web/github-action-effects/testing`. +- All GitHub Actions integration through `@effected/github-actions` (`^0.3.0`); zero `@actions/*`. +- Inputs decoded once through `ActionInput.*` combinators composed with `Config.all`. +- Errors are per-step `Data.TaggedError` classes with a `reason` literal union and a **stored** `message` field — no central union, no computed getters. +- Log structure through `ActionLogger.group` and `ActionLogger.withBuffer`. +- Untestable statics (`DetachedProcess.*`) injected as **defaulted parameters**, never as repository-local services. +- Layer composition is two lines: `MainLive` and `PostLive` in `src/layers/app.ts`. **When to load this doc:** -- Adding a new service dependency to the pipeline. -- Modifying layer composition in `src/layers/app.ts` or `src/post.ts`. -- Writing tests that need to swap services or inject inputs. +- Adding a step or a service dependency to the pipeline. +- Choosing between a service, a params field and a module-level constant for a new seam. +- Writing tests that swap services or inject failures. --- ## Current state +### The step-contract rule + +Each module under `src/steps/` declares four things, and each is a contract change if touched: + +1. **A declared result type** — an exported interface (`InstalledRuntime`, `ActivatedPackageManager`, `StartedTurboCache`, …), not an inferred object literal. +2. **A `Data.TaggedError`** with a `reason` literal union, a stored `message` and an optional `cause`. +3. **An explicitly annotated `R`** — never inferred. `program.ts`'s `R` is the union of every step's. +4. **A params object** once the step takes more than a value or two (`RestoreCacheArgs`, `StartTurboCacheArgs`, `SummaryFacts`), so later additions are additive rather than a fifth positional argument. + +A frozen contract is sometimes wider than the implementation needs. `loadConfig` declares `Path` and never resolves one; `installBiome` declares `FileSystem` and `ActionLogger` that `ToolInstaller.provisionFile` made unnecessary. Those stay — narrowing `R` is a contract change, and the cost of an unused requirement is a line in a test's layer. + ### Service dependencies by module -| Module | Services required | +| Module | `R` | | --- | --- | -| `services/config-loader.ts` | `FileSystem.FileSystem`, `Config` (`ConfigProvider`) | -| `services/cache.ts` | `ActionCache`, `ActionState`, `ActionEnvironment`, `CommandRunner`, `Glob` | -| `services/runtime-installer.ts` | `ToolInstaller`, `CommandRunner`, `ActionOutputs` | -| `program.ts` | All of the above + `FileSystem.FileSystem` for `installDependencies` | -| `program.installBiome` | `ToolInstaller`, `ActionOutputs`, `FileSystem.FileSystem` | -| `services/turbo-cache/apply.ts` | `ActionOutputs`, `ActionState` | -| `services/turbo-cache/handler.ts` | `BlobStore` | +| `schema/inputs.ts` | `ActionInput`'s provider (via `Config`) | +| `schema/outputs.ts` | `ActionOutputs` | +| `steps/load-config.ts` | `FileSystem`, `Path` | +| `steps/detect-biome.ts` | `FileSystem` | +| `steps/detect-turbo.ts` | `FileSystem` | +| `steps/cache-config.ts` | — (pure; no services, no IO) | +| `steps/restore-cache.ts` | `ActionCache`, `ActionState`, `ActionEnvironment`, `FileSystem`, `Path` | +| `steps/install-runtimes.ts` | `ToolInstaller`, `ActionOutputs`, `ActionLogger`, `Path`, `ChildProcessSpawner` | +| `steps/setup-package-manager.ts` | `PackageManagerInstaller`, `ActionOutputs`, `ActionLogger` | +| `steps/install-dependencies.ts` | `ChildProcessSpawner`, `FileSystem`, `ActionLogger` | +| `steps/install-biome.ts` | `ToolInstaller`, `ActionOutputs`, `FileSystem`, `ActionLogger` | +| `steps/turbo-cache.ts` | `ActionState`, `ActionOutputs` | +| `steps/summary.ts` | `ActionOutputs`, `ActionLogger` | +| `summary/format.ts` | — (pure) | +| `turbo-cache/activation.ts`, `meta.ts` | — (pure) | +| `turbo-cache/handler.ts` | `BlobStore` | | `post.ts` | `ActionCache`, `ActionState` | -`Action.run` provides `ActionOutputsLive`, `ActionLoggerLive` and the `ConfigProvider` automatically. Everything else is composed in `MainLive` (`src/layers/app.ts`) and `PostLive` (`src/post.ts`). +`ActionRuntime.layer` (composed by `Action.run`) provides `ActionEnvironment`, `ActionLogger`, `ActionOutputs`, `ActionState`, `HttpClient` and `NodeServices`. `MainLive` adds `ActionCache`, `PackageManagerInstaller` and `ToolInstaller`; `PostLive` adds `ActionCache` alone. -### Detached server runtime +### Detached worker runtime -`src/turbo-server.ts` runs as a standalone detached process, not under `Action.run`. It builds its own `BlobStore` layer (`GitHubBlobStoreLive` or `S3BlobStoreLive`, each provided `NodeHttpClient.layerUndici`) and drives the handler with a `ManagedRuntime` from a plain `node:http` server. Secrets reach it as plain env vars and are re-wrapped with `Redacted.make` before constructing the S3 layer. See [turbo remote cache](./turbo-remote-cache.md). +`src/turbo-server.ts` runs outside `Action.run`. It composes its own layer stack in `turbo-cache/server-config.ts` (`NodeFileSystem`, `NodeHttpClient.layerUndici`, `ActionEnvironment.layer`, `ActionOutputs.layerDetached`) and drives the handler through a `ManagedRuntime` from a plain `node:http` server. `ActionOutputs.layerDetached` is a **secret-leak fix**, not tidiness — see [turbo remote cache](./turbo-remote-cache.md#the-detached-worker-must-not-get-the-real-actionoutputs-layer). ### Input access pattern -Inputs are read via Effect `Config` and library `ActionInput.*` combinators at point of use: +All 16 inputs are decoded once, at the top of the pipeline: + +```ts +export const loadInputs: Config.Config = Config.all({ + biomeVersion: Config.option(ActionInput.string("biome-version")), + turboCache: ActionInput.string("turbo-cache").pipe(Config.withDefault("auto")), + turboToken: Config.option(ActionInput.redacted("turbo-token")), + installDeps: ActionInput.boolean("install-deps").pipe(Config.withDefault(true)), + additionalLockfiles: ActionInput.lines("additional-lockfiles").pipe(Config.withDefault([])), + // … +}).pipe( + Config.map((raw) => ({ + ...raw, + turboCache: raw.turboCache === "off" ? ("off" as const) : ("auto" as const), + cacheBust: Option.filter(raw.cacheBust, (v) => v !== "false" && v !== ""), + })), +); +``` + +Three conventions are load-bearing: + +- **`ActionInput` owns the naming.** The runner uppercases an input name and **preserves hyphens** (`INPUT_BIOME-VERSION`); only spaces become underscores. A hand-written `INPUT_BIOME_VERSION` reads as absent and the action silently falls back to a default. Because the kit's provider is dual-accept, code and tests key by input name and spell no variable at all. +- **Empty is absent.** `ActionInput` treats an unsupplied input and an empty string as the same case, which is why `Option.isSome` in the activation table is exactly v1's `!== ""` with no empty-string handling of its own. +- **Secrets are `Redacted`.** `turbo-token`, `turbo-s3-secret-access-key` and `turbo-s3-session-token` are read with `ActionInput.redacted` and only declassified through `Secret.*`. + +Two normalizations happen in the `Config.map` rather than at a use site: `turbo-cache` collapses to `"auto" | "off"`, and `cache-bust` filters out the `"false"` and empty sentinels so downstream code sees a plain `Option`. + +### Error taxonomy + +Errors are `Data.TaggedError` subclasses — **not** `Schema.TaggedErrorClass`, and not the legacy computed-getter form: ```ts -const installDeps = yield* ActionInput.boolean("install-deps").pipe(Config.withDefault(true)); -const biomeVersion = yield* Config.string("biome-version").pipe(Config.withDefault("")); -const additionalLockfiles = yield* ActionInput.multiline("additional-lockfiles").pipe(Config.withDefault([])); +export class CacheError extends Data.TaggedError("CacheError")<{ + readonly reason: "key" | "restore" | "state" | "save"; + readonly message: string; + readonly cause?: unknown; +}> {} ``` -`ActionInput.multiline` splits on `\n` and trims. It does **not** parse comma-separated, bullet-list or JSON-array inputs -- the previous `parseMultiValueInput` helper has been deleted. Use newline-separated values. +The standing rules: -`ActionInput.boolean` follows the YAML 1.2 Core Schema (`true`/`false`/`True`/`False`/`TRUE`/`FALSE`). +- `reason` is a **literal union** — a routing discriminant, never prose. +- `message` is a **stored field**, assembled at the raise site where the context lives. No getters: a getter cannot see the arguments the call site had. +- `cause` carries the underlying typed failure so a log line can name the kit's own reason literal (`unreachable` and `archiveFailed` call for different responses; the prose alone does not distinguish them). +- There is **no `ActionError` union** and no `errors/` module. Each step owns its taxonomy; `program.ts`'s error channel is the union of them by inference. -### Error types +Some reason literals exist without a producer today and that is documented at the definition site (`BiomeDetectError`, `TurboDetectError`, `BiomeInstallError`'s `extractFailed` classification arm). One literal was **removed** for that reason during the rebuild: `TurboCacheError`'s `backend`, because the activation table resolves every input combination to one of its four rows, so no such state can be raised. -All errors live in `src/errors/errors.ts` as `Schema.TaggedErrorClass` subclasses with `NonEmptyString` (`Schema.String.check(Schema.isMinLength(1))`) field constraints and computed `.message` getters. `ActionError` is the union covering the fatal-by-default cases. See the file for the exact field list -- documenting it here would just go stale. +Classification helpers are written to be **exhaustive by construction**. `setup-package-manager.ts` narrows the kit's reason union in a `switch` with a `const unhandled: never` default; `install-biome.ts` uses a `switch` with **no** default and an annotated return type. Either way a new upstream literal is a typecheck failure here rather than a silent fall-through. -| Tag | Fatal? | When thrown | -| --- | --- | --- | -| `ConfigError` | Yes | Invalid or missing `package.json` / `devEngines` | -| `RuntimeInstallError` | Yes | Runtime download or verify failure | -| `PackageManagerSetupError` | Yes | corepack / npm setup failure | -| `DependencyInstallError` | Yes | `npm ci` / `pnpm install` / etc. failure | -| `CacheError` | Conditional | Non-fatal on restore, swallowed in post | +### Failure posture per step -### Step.\* namespace +| Step | Posture | +| --- | --- | +| `loadConfig` | Fatal | +| `detectBiome`, `detectTurbo` | Every failure resolves to "absent"/`false` | +| `restoreCache` | Every failure absorbed through one `absorb` helper; answers with a miss-shaped `CacheState` | +| `installRuntimes` | Fatal, sequential, first failure stops the rest | +| `setupPackageManager` | Fatal | +| `installDependencies` | Fatal, no timeout, no retry | +| `installBiome` | Fails typed; `program.ts` catches at the call site and folds `Option.none()` | +| `startTurboCache` | Self-catching: `Effect.catch` + `Effect.catchDefect` → `DISABLED` | +| `writeSummary` | Self-catching: render and write both degrade to a warning | +| `post` | Two independent inner catches, plus an outer `catch` + `catchDefect` | -Each phase of `program.ts` is wrapped in `Step.groupStep(title, effect)`: +`main` has **no** `catchDefect`: a defect is a bug in this action and failing the job is the correct outcome. `post` keeps one because a post-action failure must never fail a workflow whose work already succeeded. -- Buffers log output emitted inside the group. -- On success: collapses the group and emits a single summary line (`Step.success(...)` if called inside). -- On failure: expands the group and prints the buffered lines so the failure context is visible. +### Log structure -`Step.success("X")` is the canonical success-line API; it replaces the previous `formatSuccess` + `Effect.log` pattern. Job-summary markdown is built with `GithubMarkdown.*` (heading/table/details/list) in `src/services/summary.ts` and written via `outputs.summary` (non-fatal). +`ActionLogger.group(title, effect)` opens a collapsible workflow group per step. Inside the two noisiest steps the transcript is additionally held: + +```ts +logger.withBuffer(spec.name, installOne(spec, host), { onSuccess: "discard" }) +``` + +Held-and-discarded on success means a green run is one line per runtime; a failure spills the URL, the cache path and everything else. **Warnings are never buffered**, so `PackageManagerInstaller`'s missing-integrity notice reaches the log even on a green run. + +`installDependencies` buffers the *echoed stderr* rather than the install itself — the install's stdout is inherited and streams live — and flushes on every exit path, so a failing install shows all of it and not just the ten-line tail the error message carries. --- ## Rationale -### Effect Config API instead of `ActionInputs` +### `Data.TaggedError` over `Schema.TaggedErrorClass` + +Errors here are never decoded from an external representation; they are constructed at a raise site and read by a log line or a `catchTag`. `Data.TaggedError` gives structural equality and the tag without a schema's construction-time validation cost, and a stored `message` lets each raise site assemble the one sentence a human needs. Schema-backed errors would also invite persisting an error across the phase boundary, which nothing here does. -The library exposes an `ActionInputs` service, but the action uses `Config` + `ActionInput.*` combinators instead. Inputs are read at point of use, defaults are co-located with the read, and tests inject values via `ConfigProvider.fromUnknown` (v4; supersedes v3's `ConfigProvider.fromMap`) without mocking a service. +### Inputs through `ActionInput` rather than a service -### `Context.Service` class for `RuntimeInstaller` +Reading inputs against the `ConfigProvider` keeps defaults co-located with the read and makes the whole input surface one value (`Inputs`) that steps receive as data. Tests provide `ActionInput.layer({ "biome-version": "2.3.14" })` keyed by input name — no service to mock, no variable spelling to get wrong. -`RuntimeInstaller` is a `Context.Service` class with an exported `RuntimeInstallerShape` companion interface (see `src/services/runtime-installer.ts`): +### Seams as defaulted parameters + +`DetachedProcess.spawn`, `awaitReady` and `reap` are statics on a class, which is the right shape for the kit — a detached child has no scope to hang a service off. It leaves this action with three operations a unit test must not perform for real: `spawn` starts a process that outlives the test run, `awaitReady` polls for six seconds, and `reap` sends a real `SIGTERM` to whatever process owns the pid a fixture made up. + +A repository-local service wrapper would have leaked into every consumer's layer composition and into `PostLive`, to make three functions overridable. Instead: ```ts -export interface RuntimeInstallerShape { - readonly install: ( - version: string, - ) => Effect.Effect; +export interface DetachedProcessOps { + readonly spawn: typeof DetachedProcess.spawn; + readonly awaitReady: typeof DetachedProcess.awaitReady; } - -export class RuntimeInstaller extends Context.Service()("RuntimeInstaller") {} +// StartTurboCacheArgs.detached?: DetachedProcessOps +export const makePost = (reap: Reap = DetachedProcess.reap) => /* … */; ``` -This is the Effect v4 service form. The v3 `Context.Tag`/`Context.GenericTag` + inline object shape has been replaced across the whole codebase: library services are likewise class-based `Context.Service` exporting `*Shape` interfaces (e.g. `ActionOutputsShape`). The service class gives a single import, automatic static tag identity through the type system and direct `yield* RuntimeInstaller` calls. The per-runtime swap pattern (`Effect.provide(installerLayerFor(rt.name))`) still works the same way. +`R` is unchanged, production runs the kit's statics, and no caller passes one. The same pattern covers the three `process` reads that would otherwise be untestable: `installRuntimes(config, host = currentHost())`, `installBiome(version, host = currentHost())` and `installDependencies(pm, enabled, prepends, platform = process.platform)`. + +### Pure modules for everything host-argument-driven -### `Schema.TaggedErrorClass` instead of `Data.TaggedError` +`steps/cache-config.ts`, `summary/format.ts`, `turbo-cache/activation.ts`, `turbo-cache/meta.ts` and every descriptor are pure and service-free. That is what lets a Linux test pin the Windows store paths, the arch segment, an S3 activation and a codepoint-verbatim log line without a runner, a filesystem or a monkey-patched `process`. -`Schema.TaggedErrorClass` (the v4 name for v3's `Schema.TaggedError`) validates the error payload at construction, exposes the fields as schema-decoded values and round-trips cleanly through `ActionState` (file-backed persistence between main and post). Computed `.message` getters give every error a single, formatted message line for logs without the caller having to assemble one. The `ActionError` union enables exhaustive `Effect.catchTag` handling at the top of the pipeline if needed. +`summary/format.ts` is pure for a second reason: the prose **is** the parity surface. A consumer's workflow log and job summary are what change when it drifts, so it lives in one module a test can pin verbatim rather than being inlined at the six call sites that emit it. -### Step.groupStep for log structure +### One formatter per fact -GitHub Actions log groups improve readability but cause noise when every log line is interleaved. `Step.groupStep` solves this by buffering: the group reads quiet on success and verbose on failure. This matches what humans actually want -- the inside of a successful step is uninteresting; the inside of a failing step is everything. +`cacheLine` (in `restore-cache.ts`) is the single definition of the cache tristate prose, and `isExactHit` (in `state.ts`) is the single definition of "exact" — the `cache-hit` output, the panel cell and the post phase's save decision all turn on it. `formatTurboLine` renders both the step's log line and the panel row, so the log and the summary cannot disagree. --- @@ -144,58 +216,45 @@ GitHub Actions log groups improve readability but cause noise when every log lin ### Layer composition -What `Action.run` provides automatically: - -- `ActionOutputsLive` -- outputs, `addPath`, `exportVariable`. -- `ActionLoggerLive` -- log groups underlying `Step.groupStep`. -- `ConfigProvider` -- backed by `INPUT_*` env vars. - -What `MainLive` adds in `src/layers/app.ts`: - ```ts -Layer.mergeAll( - ActionCacheLive.pipe(Layer.provide(NodeHttpClient.layerUndici)), - ToolInstallerLive, - CommandRunnerLive, - ActionStateLive.pipe(Layer.provide(NodeFileSystem.layer)), - ActionEnvironmentLive, - GlobLive, - NodeFileSystem.layer, +// src/layers/app.ts +export const MainLive = Layer.mergeAll(ActionCache.layer, PackageManagerInstaller.layer).pipe( + Layer.provideMerge(ToolInstaller.layer), ); + +export const PostLive = ActionCache.layer; ``` -`ActionCacheLive` needs `NodeHttpClient` for the V2 Twirp protocol; in v4 the Node HTTP layer is `NodeHttpClient.layerUndici` (from `@effect/platform-node`), replacing v3's `NodeHttpClient.layer`. `ActionStateLive` needs `NodeFileSystem` for state-file persistence (`NodeFileSystem.layer` is unchanged in v4). `NodeFileSystem.layer` is also exposed at the top level so program code (`loadPackageJson`, `detectBiome`, `installDependencies`) can use `FileSystem.FileSystem` — imported from core `effect` in v4, since `@effect/platform` was dissolved into the core package — directly. +`provideMerge` rather than `merge`: `PackageManagerInstaller` builds on the tool cache, so one `ToolInstaller` satisfies its requirement *and* stays available to `installRuntimes` and `installBiome`. Everything both layers still require — `ActionEnvironment`, `FileSystem`, `Path`, `ChildProcessSpawner`, `HttpClient` — comes from `ActionServices`, which is what `ActionRunOptions.layer`'s `Layer` shape allows. -What `PostLive` (in `src/post.ts`) adds: +### Effect v4 API notes -```ts -Layer.mergeAll( - ActionCacheLive.pipe(Layer.provide(NodeHttpClient.layerUndici)), - ActionStateLive.pipe(Layer.provide(NodeFileSystem.layer)), -); -``` +- `catchAll` → `Effect.catch`; `catchAllDefect` → `Effect.catchDefect`; `catchTag` is unchanged. +- `Schema.Literals([...])` for literal unions; `Schema.NonEmptyArray`, `Schema.optionalKey`, `Schema.OptionFromNullOr`. +- `Result` (not `Either`) is what descriptors and `readServerConfig` return. +- `ChildProcessSpawner` and `ChildProcess` live in `effect/unstable/process`. +- Platform abstractions (`FileSystem`, `Path`, `Stream`, `HttpClient`) import from core `effect`; only `NodeFileSystem` / `NodeHttpClient` come from `@effect/platform-node`. +- Services are class-based `Context.Service` with exported `*Shape` companion types — but **this action defines none of its own**. The one local service the legacy implementation had (`RuntimeInstaller`) was dissolved into a descriptor table plus a plain step function. -### Error handling patterns +### Error prose conventions -Fatal errors propagate through the Effect error channel to `Action.run`, which calls `setFailed`. See `program.ts` for the call sites; the propagation is implicit through `yield*`. +Two helpers in `install-runtimes.ts` are deliberately kept apart: -Non-fatal demotion uses `Effect.catchTag` or `Effect.catch`. In v4 `catchAll` is renamed to `catch` (and `catchAllDefect` to `catchDefect`); `catchTag` is unchanged: +- `extractErrorReason(error)` — a defensive accessor returning the sentence a human reads. It prefers `message` over `reason`, which is **swapped** relative to legacy: `@effected` errors carry a discriminant in `reason` (`downloadFailed`) and prose in `message`, so the legacy order rendered every install failure as one word. +- `classify(error)` — reads the `reason` **discriminant** to pick this step's literal. Unifying the two would tie a routing decision to a message string. -- Cache restore: `Effect.catchTag("CacheError", e => Effect.logWarning(...) + return "none")`. -- Biome install: `Effect.catch(e => Effect.logWarning(...))`. -- Post action: top-level `Effect.catch` (typed errors) + `Effect.catchDefect` (programming defects). Post never fails the workflow. +Wrapping messages name the failure exactly once. Legacy nested its own prose inside itself (`Failed to install dependencies with pnpm: Failed to install dependencies: …`); every wrap here adds exactly one prefix and carries the inner error verbatim. -### `extractErrorReason` helper +### Logging levels -`services/runtime-installer.ts` exports `extractErrorReason(error)` -- a defensive accessor that pulls a human-readable message from any error shape (`.reason`, `.message`, `._tag`, `String(error)`). Used in `Effect.mapError` paths where the error type is not statically known. +- `Effect.logInfo` — the lines a normal run shows: one per installed tool, the detect headline, the cache verdict, the final group. +- `Effect.logWarning` — every degradation. Never buffered. +- `Effect.logError` — a turbo server that never became ready (the run continues). +- `Effect.logDebug` — the cache key, the restore ladder, the path set, the lockfile list, resolved URLs, tool-cache roots, pids. Visible only with `ACTIONS_STEP_DEBUG=true`. -### Logging +### Cross-phase state schemas -- `Effect.log` -- info-level, visible in normal logs. -- `Effect.logWarning` / `Effect.logError` -- annotated in the GitHub Actions UI. -- `Effect.logDebug` -- visible only with `ACTIONS_STEP_DEBUG=true`. -- `Step.groupStep(title, effect)` -- buffered group; quiet on success, verbose on failure. -- `Step.success(line)` -- canonical success line emitted inside a group. +`ActionState` uses a **JSON text protocol**, so every field's *encoded* form must be plain JSON. This constrains schema choice and has already produced one production bug. The rule and its history live in [caching strategy](./caching-strategy.md#cross-phase-state-protocol); the same constraint applies to the turbo artifact metadata written through `BlobEnvelope` (see `turbo-cache/meta.ts`). --- @@ -203,10 +262,10 @@ Non-fatal demotion uses `Effect.catchTag` or `Effect.catch`. In v4 `catchAll` is **Internal:** -- [Architecture](./architecture.md) -- topology and layer composition overview. -- [Runtime installation](./runtime-installation.md) -- the one place a `Context.Service` class is defined locally. -- [Turbo remote cache](./turbo-remote-cache.md) -- `BlobStore` service, `ManagedRuntime` detached entry, `Redacted` secrets. -- [Testing strategy](./testing-strategy.md) -- library Test layers, `ConfigProvider.fromUnknown`, hand-rolled mock cases. +- [Architecture](./architecture.md) — pipeline order, module map, layer topology. +- [Runtime installation](./runtime-installation.md) — the descriptor table that replaced the local service. +- [Turbo remote cache](./turbo-remote-cache.md) — `BlobStore`, the detached runtime, `Secret.*` declassification. +- [Testing strategy](./testing-strategy.md) — kit test layers, failure injection, the real-`ActionState` harness. **Context files:** diff --git a/.claude/design/silk-runtime-action/runtime-installation.md b/.claude/design/silk-runtime-action/runtime-installation.md index ddd9d1e5..078d98a7 100644 --- a/.claude/design/silk-runtime-action/runtime-installation.md +++ b/.claude/design/silk-runtime-action/runtime-installation.md @@ -3,167 +3,241 @@ status: current module: silk-runtime-action category: architecture created: 2026-03-21 -updated: 2026-07-17 -last-synced: 2026-07-17 -completeness: 92 +updated: 2026-08-02 +last-synced: 2026-08-02 +completeness: 95 related: - ./architecture.md - ./effect-service-model.md + - ./caching-strategy.md dependencies: [] --- # Runtime installation -The `RuntimeInstaller` service, per-runtime descriptors, package manager setup and Biome binary installation. +Descriptors, the tool-cache layout, `PATH` publication, package-manager provisioning, dependency installation and the Biome binary. ## Table of contents 1. [Overview](#overview) 2. [Current state](#current-state) -3. [Rationale](#rationale) -4. [Implementation details](#implementation-details) -5. [Related documentation](#related-documentation) +3. [The PATH problem](#the-path-problem) +4. [Rationale](#rationale) +5. [Implementation details](#implementation-details) +6. [Related documentation](#related-documentation) --- ## Overview -Runtime installation is the core operation of the action: downloading, extracting, caching and verifying Node.js, Bun and Deno. The design splits *what to install* (descriptors) from *how to install* (the `RuntimeInstaller` service), keeping per-runtime data minimal and the shared install flow centralized. +Installing tools is the action's core work: Node.js, Bun and Deno from official sources, the pinned package manager, the dependency install, and optionally Biome. The design splits *what to install* (pure descriptors) from *how to install* (kit services driven by a step function). **Key features:** -- `RuntimeDescriptor` interface: pure data describing each runtime's download mechanics. -- `makeRuntimeInstaller(descriptor)` factory: turns a descriptor into a service shape. -- Pre-built layers per runtime (`NodeInstallerLive`, `BunInstallerLive`, `DenoInstallerLive`) selected by `installerLayerFor(name)`. -- `setupPackageManager` runs in `program.ts` after all runtimes are installed and on PATH. -- Biome is a single-binary download, not a runtime. `installBiome` in `program.ts` uses `ToolInstaller.cacheFile` rather than the archive flow. +- `RuntimeDescriptor` — a pure, total `plan(version, platform, arch) -> Result`. +- Find-first installs: `ToolInstaller.find` short-circuits a runner that already has the exact version. +- Layout-canonical caching: the archive's wrapper directory is stripped **before** the cache write. +- `PackageManagerInstaller` provisions npm/pnpm/yarn/bun — no corepack, no sudo, no shim cleanup. +- Biome is one `ToolInstaller.provisionFile` call over a bare-executable descriptor. +- The dependency install prepends every directory this run put a binary in to the child's `PATH`. **When to load this doc:** -- Adding a new runtime. -- Modifying download URL patterns or archive handling. -- Debugging runtime installation or package manager activation. +- Adding a runtime or changing a download URL or archive layout. +- Debugging "command not found" during an install or a lifecycle script. +- Touching package-manager provisioning or the Windows launch path. --- ## Current state -### `RuntimeDescriptor` interface +### `RuntimeDescriptor` and `RuntimePlan` -See `src/services/runtime-installer.ts` for the exact shape. Descriptors are pure data with three responsibilities: +```ts +// src/descriptors/descriptor.ts +export interface RuntimeDescriptor { + readonly plan: (version: string, platform: string, arch: string) => Result.Result; +} -- `getDownloadUrl(version, platform, arch)` -- assemble the release URL. -- `getToolInstallOptions(version, platform, arch)` -- archive type, bin sub-path, tar flags. -- `verifyCommand` -- the command run after install to prove the binary works. +export interface RuntimePlan { + readonly url: string; + readonly archive: "tar.gz" | "zip"; + readonly archiveSubPath?: string; // wrapper stripped BEFORE the cache write + readonly binSubPath?: string; // directory INSIDE the cached tool + readonly tarFlags?: ReadonlyArray; + readonly binary: string; // file name, including the Windows extension +} +``` -Descriptor implementations live in `src/descriptors/{node,bun,deno}.ts`. New runtimes are pure data additions. +Descriptors are **pure and total**: the host arrives as arguments, never as a `process.platform` read inside. A host a runtime publishes no build for is a `Result` failure carrying the message the installer reports, not a thrown exception. This replaced legacy's `getDownloadUrl` + `getToolInstallOptions` pair, where both halves derived from the same platform mapping and could disagree (bun's legacy descriptor resolved its arch string once in each). -### Biome descriptor +`archiveSubPath` and `binSubPath` are two different things and the distinction is the fix for a real legacy defect: -Biome is **not** a `RuntimeDescriptor`. `src/descriptors/biome.ts` exports a `binaryMap` (platform/arch -> binary file name). `installBiome` in `src/program.ts` consumes it directly and uses `ToolInstaller.download` + `ToolInstaller.cacheFile` to install a single executable. URL pattern: `https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40{version}/{binaryName}`. +| Field | When | Applied | +| --- | --- | --- | +| `archiveSubPath` | The archive nests everything in a wrapper directory | Stripped **pre-cache**, so the cached root is canonical | +| `binSubPath` | The binary lives in a subdirectory *of the tool itself* | Joined **after** the cache, on hit and miss alike | -### `RuntimeInstaller` service +### Per-runtime descriptors -```ts -export interface RuntimeInstallerShape { - readonly install: ( - version: string, - ) => Effect.Effect; -} +| Runtime | Source | Archive | Layout notes | +| --- | --- | --- | --- | +| node | `https://nodejs.org/dist/v{v}/node-v{v}-{plat}-{arch}.{ext}` | `tar.gz` (POSIX) / `zip` (win32) | POSIX: `--strip=1` removes the wrapper, `binSubPath: "bin"`. Windows: `archiveSubPath` names the wrapper, binary at its root. Arch map `x64/arm64/arm→armv7l`, anything unmapped passes through | +| bun | `https://github.com/oven-sh/bun/releases/download/bun-v{v}/{target}.zip` | `zip` | `archiveSubPath` = the target name. Windows is pinned to `x64` — bun publishes no aarch64 Windows build, so an arm64 runner gets x64 + emulation rather than a 404 | +| deno | `https://github.com/denoland/deno/releases/download/v{v}/deno-{target}.zip` | `zip` | Rust target triples in a closed table; a host outside it is a refusal. No wrapper, no `binSubPath` — the cached directory *is* the bin directory | +| biome | `https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40{v}/{asset}` | none (bare executable) | Not a `RuntimeDescriptor` — `BiomePlan` is `{ url, binary }`. Six published assets; the cached name is `biome`/`biome.exe`, deliberately not the asset's own `biome-linux-x64` | + +### Runtime install flow (`steps/install-runtimes.ts`) -export class RuntimeInstaller extends Context.Service()("RuntimeInstaller") {} +Sequential over `config.runtimes`, in `devEngines` declaration order, fatal on the first failure. Duplicates are **not** de-duplicated — a manifest naming the same runtime twice installs it twice, matching v1, and the tool-cache hit makes the second pass free. + +Per runtime, inside `logger.withBuffer(name, …, { onSuccess: "discard" })`: + +1. `descriptor.plan(version, host.platform, host.arch)` — a `Result` failure becomes `reason: "unsupported-platform"`. +2. `ToolInstaller.find(name, version)` — a hit skips the download entirely. **Legacy had no such check and re-downloaded every run.** +3. On a miss: `download(url)` → `extractZip` / `extractTar(archive, { flags })` → strip `archiveSubPath` → `cacheDir(source, name, version)`. +4. `toolPath = binSubPath ? path.join(root, binSubPath) : root`, joined through the `Path` service — not interpolated with a literal `/` as in legacy, which is wrong on the one platform that needs it. +5. `ActionOutputs.addPath(toolPath)`. +6. Verify: spawn `path.join(toolPath, plan.binary) --version` **by absolute path** and check the exit code. + +Every stage collapses into one `RuntimeInstallError` carrying the runtime and version in its message, with `classify` reading the kit's `reason` discriminant (`downloadFailed` → `download`, `extractFailed` → `extract`, `cacheFailed` → `cache`) and everything else falling to `verify`. + +### Package manager provisioning (`steps/setup-package-manager.ts`) + +```text +bun | deno -> complete no-op (" is its own package manager, no additional setup needed") +otherwise -> PackageManagerPin.parse(`${name}@${version}`) + PackageManagerInstaller.install(pin) + source === "tool-cache" ? ActionOutputs.addPath(installed.binDir) : (ambient, already on PATH) ``` -Note the Effect v4 `Context.Service` class form with an exported `RuntimeInstallerShape` companion interface (replaces v3's `Context.Tag`/`Context.GenericTag` + inline object shape). Callers `yield* RuntimeInstaller` and downstream typing resolves through the static service identity. +The whole corepack apparatus v1 carried is **gone**: no `corepack enable`, no `corepack prepare --activate`, no `sudo npm install -g`, no `~/.npm` chown, no tmpdir cwd to dodge `pnpm-workspace.yaml` hangs, no Node-25 corepack bootstrap, no stale-shim retry. `PackageManagerInstaller` owns all of it, including the npm ambient short-circuit. + +The pin string is assembled from `devEngines` and handed to `PackageManagerPin.parse`, which owns the `@[+]` grammar — a `devEngines` version may carry an integrity tail (`10.20.0+sha512.…`) and the first `+` always begins integrity, so the split is the pin's to make. `install` runs with default options; `requireIntegrity` stays **off** because in-the-wild pins routinely carry no hash, and the installer already warns when one does not. -`InstalledRuntime`: +The reported name and version are a pure **echo of the request**, never a probe's answer: the `package-manager` and `package-manager-version` outputs are what the caller asked for. `binDir` is the one field that is not an echo — it is where this run actually put the command, and it exists for the dependency install downstream. + +Recorded deviations from v1: the error message drops legacy's redundant `Package manager setup failed:` middle clause and its stderr tail, and the group title is `Install ` rather than legacy's "via corepack", which was a lie for bun and deno even before corepack left. + +### Dependency install (`steps/install-dependencies.ts`) + +| Manager | Lockfile probe | With lockfile | Without | +| --- | --- | --- | --- | +| npm | `package-lock.json` | `npm ci` | `npm install` | +| pnpm | `pnpm-lock.yaml` | `pnpm install --frozen-lockfile` | `pnpm install` | +| yarn | `yarn.lock` | `yarn install --immutable` | `yarn install --no-immutable` | +| bun | `bun.lock`, then `bun.lockb` | `bun install --frozen-lockfile` | `bun install` | +| deno | — | skipped entirely | skipped entirely | + +Probes are bare, working-directory-relative names, and any `access` failure reads as absent. yarn is the only manager that adds a flag in the *absent* case; `--no-immutable` explicitly permits a lockfile rewrite in CI, carried over from v1 deliberately. + +`install-deps: false` and deno both skip without probing or spawning. The returned `ran` is **truthful** — `true` only when a command actually ran and succeeded — where v1 echoed the raw input and reported deno's skipped install as done. There is no timeout and no retry, and the failure is fatal: `program.ts` deliberately does not catch it. + +`stdout` is inherited so the install's transcript streams live; `stderr` is piped, echoed line by line, and the last ten lines ride in the failure message. + +### Biome install (`steps/install-biome.ts`) + +One call: ```ts -interface InstalledRuntime { - readonly name: string; - readonly version: string; - readonly path: string; -} +installer.provisionFile({ tool: "biome", version: requested, url: plan.url, binary: plan.binary }) ``` -### Per-runtime layers +The provisioner owns the cache lookup, the download, the executable bit and the cache write — including the **cache-hit short-circuit v1 never had** (v1 re-downloaded Biome every run). What stays here is host-specific: the asset table, publishing `provisioned.binDir` to `PATH`, and the error taxonomy. There is no verify probe, matching v1: a runtime is verified because everything after it runs on it, while Biome is a lint tool a later step either invokes or does not. -```ts -export const NodeInstallerLive = Layer.succeed(RuntimeInstaller, makeRuntimeInstaller(nodeDescriptor)); -export const BunInstallerLive = Layer.succeed(RuntimeInstaller, makeRuntimeInstaller(bunDescriptor)); -export const DenoInstallerLive = Layer.succeed(RuntimeInstaller, makeRuntimeInstaller(denoDescriptor)); +`version` is the **resolved** version from `detectBiome`, not the raw input. `Option.none()` is a no-op that touches neither the tool cache nor `PATH`. -export const installerLayerFor = (name: string): Layer.Layer => { ... }; -``` +--- + +## The PATH problem -The pipeline iterates runtimes and provides the correct layer per iteration: +This is the single most important runner fact in the codebase, and three separate defects trace back to it. + +> **`ActionOutputs.addPath` appends to `GITHUB_PATH`. It takes effect in *later workflow steps* only, and never mutates the current process's `PATH`.** + +Three consequences, each handled explicitly: + +### 1. Same-step probes must use absolute paths + +The runtime verify probe runs `path.join(toolPath, plan.binary) --version`, not a bare `node --version`. Legacy invoked the bare name and therefore verified *whatever the runner image already had* — which is why its broken Windows node layout (a `PATH` entry pointing at the cache root, never reaching `node.exe`) passed its own verification for as long as it existed. + +The probe uses `spawner.exitCode`, which leaves stdout and stderr undrained. That is safe for `--version` — a line or two fits the pipe buffer and the process exits — but a chattier command would fill the buffer and block forever. Anything verbose belongs on a member that drains, such as `string` or `lines`. + +### 2. Spawned children need an explicit, correctly-cased prepend + +`installDependencies` builds the child environment itself: ```ts -Effect.forEach(config.runtimes, (rt) => - RuntimeInstaller.pipe( - Effect.flatMap((installer) => installer.install(rt.version)), - Effect.provide(installerLayerFor(rt.name)), - Effect.tap((result) => Step.success(`${rt.name} ${result.version}`)), - ), -) +const key = Object.keys(env).find((k) => k.toUpperCase() === "PATH") ?? "PATH"; +return { env: { [key]: [...pathPrepends, process.env[key] ?? ""].join(delimiter) }, extendEnv: true }; ``` ---- +Two details are load-bearing. **The spelling is reused, not assumed**: Windows spells it `Path`, and while Node's `normalizeSpawnArguments` does de-duplicate the merged environment case-insensitively on win32 (keeping the lexicographically-first key, so an added `PATH` would win over an inherited `Path`), that is an undocumented internal nothing obliges Node to keep. **`extendEnv: true` keeps this a prepend rather than a replacement** — without it the child would run with `PATH` and nothing else. -## Rationale +The list itself is `installPathPrepends` in `program.ts`: the manager's bin directory first, then every installed runtime, de-duplicated first-seen. The manager leads so its shims win a name collision with a same-named runtime — exactly the bun/deno-as-package-manager case, where `onInstallPath` has already filled `binDir` from the runtime install and the two entries are the same directory. -### Descriptors are pure data +The runtimes are in the list because **the install is not a leaf**. A package manager spawns lifecycle scripts, and a `postinstall` running `deno install` or `bun install` resolves that binary off the `PATH` it inherited. Prepending only the manager's directory left those scripts on the runner image's bare `PATH`, where a just-installed `devEngines` runtime is not — a real cross-OS failure (`deno: not found`) on a multi-runtime workspace, not a hypothetical. -Descriptors carry no `postInstall` hook or side-effectful methods. Package manager setup is a separate `setupPackageManager` step in `program.ts` because: +The manager is still spawned by **bare name** with its directory prepended, rather than by absolute path, for the same reason: children inherit `PATH`, not the absolute path their parent was invoked with. -1. PM setup depends on Node.js already being on PATH. -2. `corepack prepare` for pnpm must run from a temp directory to avoid workspace `pnpm-workspace.yaml configDependencies` interference. -3. Node >= 25 requires installing corepack globally via npm first (no longer bundled). -4. Bun and Deno are their own package managers. +**One ruled exception — ambient npm shadowing.** `PackageManagerInstaller` short-circuits an already-satisfied npm without caching anything, so it reports no `binDir` and contributes nothing to the list — while node's own bin directory does, carrying the npm bundled with the pinned node. The install child therefore runs *that* npm rather than the ambient one it was told was good enough, and `addPath` gives later steps the same answer. This is the intended reading ("the npm belonging to the node you pinned"), it matches v1's effective semantics, and no fixture asserts which npm executes — the fixture versions coincide, so the matrix structurally cannot catch it. Upstream now offers `allowAmbient: false`, which would make the executed npm provably the pinned one at the cost of always installing; the ruling is to keep the default (legacy parity) and revisit at a hardening pass. -### Biome is not a `RuntimeDescriptor` +### 3. Windows `.cmd` shims need `shell: true` -Biome distributes a single binary, not a compressed archive. `RuntimeInstaller` uses the archive flow (`extractTar`/`extractZip` + `cacheDir`); Biome uses `ToolInstaller.download` + `ToolInstaller.cacheFile`. The two are distinct enough that sharing the abstraction would mean adding flags to every descriptor. +On Windows every node-based manager on `PATH` is a `.cmd` batch shim, not a real executable. `CreateProcess` cannot execute one, and since **CVE-2024-27980** Node refuses to pass `.cmd`/`.bat` to it at all unless a shell is asked for. Spawning `pnpm` by bare name fails at launch (`NotFound: ChildProcess.spawn`) before the install has a chance to run. -### `Context.Service` class + per-iteration layer swap +All four managers shell on win32, bun included, and that is deliberate rather than collateral: `cmd.exe` resolves a bare `bun` through `PATHEXT`, where `.EXE` precedes `.CMD`, so it finds the same `bun.exe` in the same prepended directory a direct spawn found. The argv is static either way, so the shell buys one launch path to reason about at no cost. `cmd.exe` resolves the bare name off the **child's** `PATH`, so the prepends keep working exactly as they do without a shell. -The main pipeline installs multiple runtimes in sequence; each needs a different descriptor. The v4 `Context.Service` class form lets callers `yield* RuntimeInstaller` directly. The per-iteration `Effect.provide(installerLayerFor(rt.name))` swaps the implementation cleanly inside the `Effect.forEach`. The v3 `Context.Tag`/`GenericTag` form has been retired across the codebase. Note that `installerLayerFor`'s fallback for an unknown runtime is `Layer.effect(RuntimeInstaller, Effect.fail(new RuntimeInstallError(...)))` — v4 has no `Layer.fail`, so a failing layer is expressed as `Layer.effect(tag, Effect.fail(...))`. +POSIX gets no shell — the direct spawn already works, and a shell would only add a layer between the step and the manager's exit code. + +**Known semantic shift:** under a shell, a manager missing from the child's `PATH` comes back as `reason: "exit-code"` (`cmd.exe`'s own 9009, "is not recognized…") rather than the `spawn` a POSIX runner reports for the same fault. Documented rather than normalized. + +Argument quoting is *not* a hazard here even though Node concatenates command and args into a single `cmd.exe` command line under `shell`: every argument comes from the static `PLANS` table — no path, no version, nothing derived from an input. --- -## Implementation details +## Rationale + +### Descriptors are pure data + +No `postInstall` hook, no side-effectful methods, no `process` reads. Adding a runtime is a data addition plus a row in `DESCRIPTORS`. Purity is also what makes the platform matrix testable: legacy read `process.platform` inside the installer and `os.platform()` inside the Biome descriptor, and neither was reachable from a test, which is why no legacy test ever covered a second platform. -### `makeRuntimeInstaller` flow +### Layout-canonical tool caching -For the full implementation see `src/services/runtime-installer.ts`. High level: +`///` is a **shared** location — the runner image writes it, and so do `setup-node` and `setup-bun`. None of them nest the tool inside a `node-v24.11.0-win-x64/` wrapper. Caching the wrapper would put a directory there that only this action knows how to read, and that its *own* hit path could not read either: a hit returns the cached root with no extracted archive left to descend into. Stripping pre-cache keeps hit and miss resolving to the same path. -1. Yields `ToolInstaller`, `CommandRunner`, `ActionOutputs`. -2. Computes URL via `descriptor.getDownloadUrl(version, process.platform, process.arch)`. -3. Computes options via `descriptor.getToolInstallOptions(...)`. -4. Downloads with `toolInstaller.download(url)`. -5. Extracts: `extractZip` if `archiveType === "zip"`, else `extractTar(downloadedPath, undefined, options.tarFlags)`. -6. Caches with `toolInstaller.cacheDir(extractedDir, descriptor.name, version)`. -7. Adds `binSubPath`-adjusted path to PATH via `outputs.addPath`. -8. Verifies with `runner.exec(descriptor.verifyCommand[0], [...descriptor.verifyCommand.slice(1)])`. -9. All failures wrapped in `RuntimeInstallError` via `Effect.catch` (v4's rename of `catchAll`) + `extractErrorReason`. +### Biome is not a runtime descriptor -### Package manager setup (`program.setupPackageManager`) +Biome ships a bare executable: no archive, no extraction, no layout fixup. `BiomePlan` is the two fields that vary, which is exactly what `ToolInstaller.provisionFile` takes. Sharing `RuntimePlan` would mean adding flags to every descriptor for a case that has none of an archive's problems. -Runs after all runtimes are installed. +### No local `RuntimeInstaller` service -**npm:** Compare `npm --version` with the required version. If different: `sudo npm install -g npm@{version}` on Linux/macOS (followed by a `chown -R` of `~/.npm` to fix root-owned files from sudo); `npm install -g` on Windows. +The legacy implementation defined a `Context.Service` class per runtime with `makeRuntimeInstaller(descriptor)` and an `installerLayerFor(name)` swap inside the `forEach`. That whole apparatus existed to select a descriptor. A `Record` lookup does the same thing with no layer, no per-iteration `Effect.provide`, and no failing-layer edge case for an unknown name — which the schema already makes unrepresentable. The descriptors themselves are deliberately kept stable: they are the design input for a possible upstream `RuntimeInstaller`. -**pnpm / yarn:** Run all corepack commands from `tmpdir()` to avoid `pnpm-workspace.yaml configDependencies` hangs. If Node major >= 25, install corepack globally first (`sudo npm install -g --force corepack@latest` on Linux/macOS). Then `corepack enable` (with stale-shim retry on EEXIST) and `corepack prepare {pm}@{version} --activate`. +### Echoing the request, not probing + +`package-manager` / `package-manager-version` report what `devEngines` asked for. A probe would report what happens to be first on `PATH`, which on a runner with a preinstalled manager is a different answer to the same question — and the outputs are documented as the configuration, not the discovery. + +--- + +## Implementation details + +### Host injection + +```ts +export const currentHost = (): Host => ({ platform: process.platform, arch: process.arch }); +export const installRuntimes = (config: RuntimeConfig, host: Host = currentHost()) => /* … */; +``` -**bun / deno:** No setup; they are their own package manager. +`currentHost` is the **only** place this step touches `process`. `installBiome` takes the same defaulted `host`, and `installDependencies` takes a defaulted `platform` for the shell decision. No caller passes any of them; they exist so a Linux test can exercise the Windows layout and a platform a runtime publishes no build for. -### `installBiome` (in `program.ts`) +### Tool-cache paths and the dependency cache -See `src/program.ts`. Look up binary name from `binaryMap[platform][arch]`, download via `ToolInstaller.download`, cache as a single file via `ToolInstaller.cacheFile(downloadedPath, finalName, "biome", version)`, `chmod 0o755` on non-Windows, add cached dir to PATH, emit `Step.success(\`Biome ${version}\`)`. Entire effect is wrapped in`Effect.catch` at the call site so Biome failures never fail the workflow. +Every installed runtime's `//` directory is archived alongside the package managers' stores, and the tools' name/version pairs feed the key's version digest — including Biome. One archive for everything is legacy's design and is kept: a runtime bump invalidates the dependency cache, which is a cost, but the alternative is two caches that can disagree about what was installed. See [caching strategy](./caching-strategy.md). -### Dependency installation (`program.installDependencies`) +### Cross-OS validation -Lockfile-aware install command per package manager (see `src/program.ts` for the full mapping). Lockfile existence is checked via `FileSystem.access()`. Deno is skipped (it caches automatically). On failure, the raw error is wrapped in `DependencyInstallError` with stderr appended to the reason when available. +The Windows layout fix, the `shell: true` fix and the lifecycle-`PATH` fix are all provable only on real runners. The fixture matrix runs every fixture on ubuntu / macos / windows and is the pin for all three; the bun-as-package-manager Windows job specifically is what proves the `PATHEXT` reasoning. See [testing strategy](./testing-strategy.md). --- @@ -171,12 +245,13 @@ Lockfile-aware install command per package manager (see `src/program.ts` for the **Internal:** -- [Architecture](./architecture.md) -- overall system design and pipeline shape. -- [Effect service model](./effect-service-model.md) -- service tag patterns, error types, layer composition. +- [Architecture](./architecture.md) — pipeline order and the two PATH joins in `program.ts`. +- [Effect service model](./effect-service-model.md) — the step contract, error classification, host/platform seams. +- [Caching strategy](./caching-strategy.md) — tool-cache paths in the archive and the version digest. +- [Testing strategy](./testing-strategy.md) — the cross-OS fixture matrix that pins these behaviours. **Source files:** -- `src/services/runtime-installer.ts` -- service tag, factory, per-runtime layers. -- `src/descriptors/node.ts`, `src/descriptors/bun.ts`, `src/descriptors/deno.ts` -- runtime descriptors. -- `src/descriptors/biome.ts` -- Biome binary map. -- `src/program.ts` -- `setupPackageManager`, `installBiome`, `installDependencies`. +- `src/descriptors/` — `descriptor.ts` plus `node`, `bun`, `deno`, `biome`. +- `src/steps/install-runtimes.ts`, `setup-package-manager.ts`, `install-dependencies.ts`, `install-biome.ts`. +- `src/program.ts` — `onInstallPath`, `installPathPrepends`. diff --git a/.claude/design/silk-runtime-action/testing-strategy.md b/.claude/design/silk-runtime-action/testing-strategy.md index 307af6df..e5807fde 100644 --- a/.claude/design/silk-runtime-action/testing-strategy.md +++ b/.claude/design/silk-runtime-action/testing-strategy.md @@ -3,9 +3,9 @@ status: current module: silk-runtime-action category: testing created: 2026-03-21 -updated: 2026-07-17 -last-synced: 2026-07-17 -completeness: 90 +updated: 2026-08-02 +last-synced: 2026-08-02 +completeness: 95 related: - ./architecture.md - ./effect-service-model.md @@ -16,36 +16,38 @@ dependencies: [] # Testing strategy -Two tiers: library-provided Effect test layers for unit tests and fixture-based workflow tests for integration. +Two tiers: `@effect/vitest` unit tests over the kit's test layers, and fixture-based workflow tests running the built action on real runners. ## Table of contents 1. [Overview](#overview) 2. [Current state](#current-state) -3. [Rationale](#rationale) -4. [Implementation details](#implementation-details) -5. [Related documentation](#related-documentation) +3. [What a test double cannot tell you](#what-a-test-double-cannot-tell-you) +4. [The parity guards](#the-parity-guards) +5. [Rationale](#rationale) +6. [Implementation details](#implementation-details) +7. [Related documentation](#related-documentation) --- ## Overview -Unit tests run in Vitest with library-provided Effect Test layers from `@savvy-web/github-action-effects/testing`. Fixture tests run inside real GitHub Actions workflow jobs against the built action. +Unit tests run in Vitest through `@effect/vitest`, over service doubles provided by `@effected/github-actions` itself. Integration tests run inside real GitHub Actions workflow jobs against the **built** action. **Key features:** -- Tests are co-located with their source modules (no `__test__/` directory). -- Library Test layers expose a state object (`*Test.empty()`) and a layer factory (`*Test.layer(state)`). Tests assert against the state. -- Hand-rolled `Layer.succeed(Tag, Tag.of({...}))` mocks are reserved for failure-injection cases. -- Config inputs are injected via `ConfigProvider.fromUnknown` (v4; replaces v3's `ConfigProvider.fromMap`). -- Logger output is silenced with `Logger.layer([])` and captured with `Logger.layer([Logger.make(...)])`. -- Fixture tests run on Ubuntu, macOS and Windows. +- **448 unit tests** in `__test__/unit/`, mirroring `src/` — never co-located. +- Kit-provided `X.layerTest({ … })` doubles with partial overrides; unstubbed members die on use, deliberately. +- Cross-phase state schemas are tested against the **real** `ActionState` layer, not a double. +- `action.yml` ↔ code parity is a test, for both inputs and outputs. +- Formatter prose is pinned **codepoint-verbatim**. +- Two e2e matrices: 35 fixture jobs across ubuntu/macos/windows, and 5 turbo-cache jobs including real S3. **When to load this doc:** -- Writing new tests. -- Adding a fixture configuration. -- Debugging test failures specific to the layer composition. +- Writing a test, or deciding whether a double is trustworthy for what you are testing. +- Adding a fixture or an e2e assertion. +- Debugging a test that passes locally and fails on a runner. --- @@ -53,193 +55,220 @@ Unit tests run in Vitest with library-provided Effect Test layers from `@savvy-w ### Test organization -Tests live next to the source they cover: - ```text -src/ - state.test.ts - program.test.ts - post.test.ts - errors/errors.test.ts - schemas/domain.test.ts - services/cache.test.ts - services/config-loader.test.ts - services/runtime-installer.test.ts - descriptors/descriptors.test.ts +__test__/unit/ + layers.test.ts post.test.ts program.test.ts state.test.ts + schema/{domain,inputs,outputs}.test.ts + steps/{cache-config,detect-biome,detect-turbo,install-biome,install-dependencies, + install-runtimes,load-config,restore-cache,setup-package-manager,steps, + summary,turbo-cache}.test.ts + summary/format.test.ts + turbo-cache/{activation,handler,meta,server-config}.test.ts + descriptors.test.ts ``` -The previous `__test__/` directory has been removed. +Tests are **never co-located** with source. The tree mirrors `src/` so the mapping is mechanical. -### Library Test layers +`steps/steps.test.ts` is the cross-cutting one: it asserts the shape every step contract shares rather than any single step's behaviour. -`@savvy-web/github-action-effects/testing` exports paired `empty()` + `layer(state)` helpers for every service used by this action: +### Kit test layers -| Test export | Backs | -| --- | --- | -| `ActionOutputsTest` | `ActionOutputs` | -| `ActionStateTest` | `ActionState` | -| `ActionCacheTest` | `ActionCache` | -| `ActionEnvironmentTest` | `ActionEnvironment` | -| `ActionLoggerTest` | `ActionLogger` | -| `CommandRunnerTest` | `CommandRunner` | -| `ToolInstallerTest` | `ToolInstaller` | -| `GlobTest` | `Glob` | +`@effected/github-actions` exports a `layerTest` factory per service, taking **partial overrides**: -Each `empty()` returns a mutable state object that captures method calls. Each `layer(state)` returns the corresponding `Layer.Layer` to provide to the effect under test. +```ts +ActionCache.layerTest({ restore: () => Effect.succeed(Option.none()) }) +ActionState.layerTest({ save: () => Effect.void }) +ActionOutputs.layerTest({ addPath: () => Effect.void, summary: () => Effect.void }) +ActionEnvironment.layerTest({ GITHUB_REPOSITORY: "" }) +ActionEnvironment.layerFrom({ GITHUB_STATE: file }) +ActionInput.layer({ "biome-version": "2.3.14" }) +ActionLogger.layerTest() +ToolInstaller.layerTest({ /* … */ }) +PackageManagerInstaller.layerTest({ /* … */ }) +BlobStore.layerTest({ /* … */ }) +``` -### Coverage requirements +**An unstubbed member dies on use, and that is the design.** A test that stubs only what the code under test should touch turns any unexpected call into a loud failure. `program.test.ts` leans on this explicitly: its `ChildProcessSpawner` double implements `spawn` and `exitCode` and lets the derived members die, because no step should be collecting a command's output wholesale. -- Branches: 85%. -- Functions / lines / statements: 90%. +Inputs are keyed by **input name** (`"biome-version"`), never by a runner variable spelling. The provider is dual-accept, so no test needs to know that the runner writes `INPUT_BIOME-VERSION` with the hyphen intact. `ActionInput.variable(name)` exists for the rare test that must speak the variable form. -### Fixture organization +### Failure injection -`__fixtures__/` holds one directory per supported configuration (Node minimal, Node + pnpm, Node + yarn, Node + bun, Node + Deno, Bun only, Deno only). Each fixture contains a `package.json` with valid `devEngines.packageManager` and `devEngines.runtime`. +A hand-written override on the same `layerTest` call is how a specific failure is injected — a `restore` that fails with a typed `CacheError`, a `ToolInstaller.download` that 404s, a `provisionFile` that reports `cacheFailed`. There is no separate mock idiom: the partial-override shape already covers it, and the resulting layer is still type-checked against the real service shape. ---- +### Seams a unit test must not exercise for real -## Rationale +Three defaulted parameters exist so a test never performs an untestable operation: -### Library Test layers as default +| Seam | Why | +| --- | --- | +| `StartTurboCacheArgs.detached` | `spawn` starts a process that outlives the test run; `awaitReady` polls for six seconds | +| `makePost(reap)` | the default would send a real `SIGTERM` to whatever process owns the pid a fixture made up | +| `host` / `platform` on the install steps | a Linux test exercises the Windows layout and the `shell: true` branch | + +`StartTurboCacheArgs.serverEntry` is always supplied too, because `defaultServerEntry()` resolves a sibling of the *bundle* and is meaningless when running from source. + +The recorded cost: `program.test.ts` **cannot reach the embedded turbo path** (that would be a real spawn), so its turbo case is pinned to `turbo-cache: off`, and the outputs fold for a started server is pinned separately through the exported pure `turboCacheOutputs`. -Earlier iterations defined mock layers inline with `Layer.succeed(Tag, { ... } as unknown as ...)`. Those casts were brittle and required tests to enumerate every method on every service. The library Test layers: +### Coverage -- Capture all method calls into a state object so assertions read like real expectations (`expect(state.outputs).toContainEqual({ name: "node-version", value: "24.11.0" })`). -- Stay in sync with library service shapes automatically. -- Make test code dramatically shorter. +`vitest.config.ts` uses `@vitest-agent/plugin`'s **strict** level for both thresholds and per-file coverage targets, with: -The hand-rolled mock pattern is still acceptable but should be reserved for failure-injection cases (see below). +```ts +coverage: { enabled: true, provider: "v8", include: ["src/**/*.ts"], exclude: [] } +``` -### When hand-rolled mocks are acceptable +`include` is what makes a never-imported source file score **0%** instead of being silently omitted from the report. -A hand-rolled `Layer.succeed(Tag, { ... })` mock is the right tool when the test needs to **inject a specific failure** that the library Test layer cannot reproduce. Concrete examples: +`/* v8 ignore */` is reserved for code that only a real runner can execute: `main.ts`'s `Action.run` call, `post.ts`'s entry-point guard, and the whole body of `turbo-server.ts`. Each of those is covered by the e2e matrices instead. -- Simulating `ActionCache.save` failing mid-write. -- Simulating `CommandRunner.exec` throwing a non-Error value. -- Simulating `Glob.hashFiles` returning `None`. +**Tooling note:** the agent coverage tool needs the project named explicitly (`@savvy-web/silk-runtime-action`); the no-argument default reports nothing and looks like a dead gate. -For success-path testing, use the library Test layer. +### Fixtures and e2e -### Co-located tests +`__fixtures__/` holds one directory per supported configuration: `node-npm`, `node-pnpm`, `node-yarn`, `node-multi`, `bun-bun`, `biome-enabled`, `turbo-enabled`, `additional-inputs`, `turbo-monorepo`. Each carries a `package.json` with valid `devEngines`. -Co-locating tests with source removes the cognitive overhead of mapping `__test__/foo.test.ts` back to `src/foo.ts`. It also makes it harder for a refactor to leave the test file behind. +| Workflow | Jobs | Covers | +| --- | --- | --- | +| `test.yml` | 35 across ubuntu/macos/windows | create-cache (5 fixtures × 3 OS), restore-cache (4 × 3), feature detection (2 × 3), additional inputs | +| `test-turbo-cache.yml` | 5 | within-job double build, cross-job hit via `needs:`, MinIO-backed S3, a real-S3 gate and a real-S3 double build | -### Dual testing +Both matrices use `fail-fast: false` so a single run surfaces every failure. Both run `.github/actions/local` — the **built** action — not the source. -Unit tests catch logic errors fast during development. Fixture tests catch integration issues (actual runtime downloads, platform-specific behavior, cache protocol interactions) that unit tests cannot. Both tiers are required for confidence. +Cache fixtures run as a dependent pair: a create job installs everything and saves, then a restore job asserts `cache-hit`. Turbo fixtures use a double-build pattern: run `turbo run` twice and assert the second build is a remote cache hit. --- -## Implementation details +## What a test double cannot tell you -### Library Test layer pattern +Two lessons from production bugs that green unit suites did not catch. Both reduce to the same thing: **an in-memory double is strictly more permissive than the runner.** -```ts -import { ActionOutputsTest } from "@savvy-web/github-action-effects/testing"; - -const state = ActionOutputsTest.empty(); -await program.pipe( - Effect.provide(ActionOutputsTest.layer(state)), - Effect.runPromise, -); -expect(state.outputs.find((o) => o.name === "node-version")?.value).toBe("24.11.0"); -``` +### Cross-phase state must round-trip through text -The state object exposes mutated arrays/sets per service. Assertion ergonomics match Vitest's `toContainEqual`/`toEqual` style. +`ActionState` uses a JSON text protocol — `save` appends heredoc blocks to `GITHUB_STATE`, and the runner republishes each as a `STATE_` variable that `get` parses. A `Map`-backed double hands the encoded object straight back and therefore round-trips schemas that JSON cannot. -### Full pipeline test composition +`CacheState.restoredKey` as `Schema.Option` passed every double and failed on every real run (`"Expected Option"`), because `Schema.Option`'s *encoded* form is an `Option` instance. See [caching strategy](./caching-strategy.md#cross-phase-state-protocol). -`src/program.test.ts` composes all library Test layers plus an inline `FileSystem` mock (driven by an in-memory file map). Tests assert against the captured output state and exported variables. The pattern is: +`__test__/unit/state.test.ts` is therefore built on the **real** `ActionState.layer`: ```ts -const outputs = ActionOutputsTest.empty(); -const layer = Layer.mergeAll( - ActionOutputsTest.layer(outputs), - ActionLoggerTest.layer(ActionLoggerTest.empty()), - ActionCacheTest.layer(/* ... */), - ActionStateTest.layer(ActionStateTest.empty()), - ActionEnvironmentTest.layer(/* ... */), - CommandRunnerTest.layer(/* ... */), - ToolInstallerTest.layer(ToolInstallerTest.empty()), - GlobTest.layer(/* ... */), - makeFileSystemLayer(files), -); -await program.pipe(Effect.provide(layer), Effect.runPromise); +const realState = (env: Record): Layer.Layer => + ActionState.layer.pipe( + Layer.provide(ActionEnvironment.layerFrom(env)), + Layer.provide(ActionOutputs.layerTest()), + Layer.provide(NodeFileSystem.layer), + ); ``` -### Hand-rolled failure mocks +A full trip saves through a service pointed at a scoped temp state file, **republishes that file the way the runner does** (a five-line heredoc parser), and reads it back through a second, independently built service. That is the harness pattern for any future state schema. -Reserved for tests that need to inject a specific error. In v4 the service class exposes a `.of` constructor that type-checks the shape, so the old `as unknown as` cast is no longer needed: +### `ProcessId.make`, never `makeUnsafe` -```ts -const failingCacheLayer: Layer.Layer = Layer.succeed( - ActionCache, - ActionCache.of({ - save: () => Effect.fail(new CacheError({ operation: "save", reason: "test failure" })) as never, - restore: () => Effect.succeed(Option.none()), - }), -); -``` +`makeUnsafe` typechecks through a test double and then dies at runtime in exactly the place `catchDefect` goes blind. Every construction uses `ProcessId.make`. `TurboServerState.pid` is `ProcessId` rather than a number for the same class of reason: a truncated state file, an absent key or `Number("")` all decode to `0`, and the brand refuses that value before it reaches `DetachedProcess.reap`. -`Tag.of({...})` validates the shape at compile time. An `as never` on an individual method is only needed to satisfy the method's requirements channel. +### The e2e harness must fail on an empty answer -### Config input injection +The fixture harness's `check_value` and `check_contains` both used to *return early* on an empty actual, so a fixture that asserted `lockfiles` and got back an empty output recorded a pass. Both now fail when the actual is empty and the expected is not — an empty string cannot equal a non-empty expected, and an empty item list makes every expected item missing by definition. An empty **expected** is still a deliberate skip, because most `expected-*` inputs default to empty. -Inputs are read via `Config`/`ActionInput.*` against the `ConfigProvider`. In v4, tests build a provider with `ConfigProvider.fromUnknown` (v3's `ConfigProvider.fromMap` is gone) and provide it as a service with `Effect.provideService`: +The matrices were re-run at HEAD after that fix specifically to prove no latent failures had been hiding behind it. -```ts -const configProvider = ConfigProvider.fromUnknown({ - "install-deps": "false", - "biome-version": "2.3.14", -}); - -await program.pipe( - Effect.provideService(ConfigProvider.ConfigProvider, configProvider), - Effect.runPromise, -); -``` +--- -### Logging in tests +## The parity guards -Effect v4 removed `Logger.replace`/`Logger.none`. Tests silence log output with `Logger.layer([])`, and capture it with a custom logger plus a minimum log level: +`action.yml` is the contract with consumers, and both halves of it are guarded by tests rather than by convention. -```ts -Logger.layer([Logger.make(({ logLevel, message }) => captured.push({ level: logLevel, message: String(message) }))]); -// paired with: Layer.succeed(References.MinimumLogLevel, "All") -``` +### Inputs + +`__test__/unit/schema/inputs.test.ts` parses `action.yml` directly (a deliberate five-line parse rather than a YAML dependency — reading the file for real is what makes the guard bite) and compares three sets: the names declared in `action.yml`, the `INPUT_NAMES` tuple, and the names `loadInputs` actually asks the provider for. + +The third set comes from a `Proxy` over the environment that records every lookup. Since the provider became dual-accept, one input costs two probes, and a key already spelled as a runner variable is probed as `INPUT_INPUT_…` before being found as itself. **Repeated prefixes are stripped in the proxy** rather than added to the expected set — widening the expected set would have made the exhaustiveness assertion vacuous. -`LogLevel` is now a string union (`"Warn"`, `"Info"`, `"All"`, …). Asserting on a failure `Cause` uses `Cause.findErrorOption(cause)` (v4) rather than v3's `Cause.failureOption` / `_tag === "Fail"` pattern. +### Outputs -### Fixture test infrastructure +`__test__/unit/schema/outputs.test.ts` runs the same `action.yml` cross-check against `OUTPUT_NAMES`, and additionally pins the **mapping**: a fixture with 16 distinct values proves that swapping any two model fields fails, so `emitOutputs` cannot quietly publish `bun-version` under `deno-version`. -`.github/actions/test-fixture/` (composite action) does setup, execute and verify: +### Prose + +`__test__/unit/summary/format.test.ts` pins every formatter **codepoint-verbatim** against the legacy surface — including the middle dot `·` (U+00B7), the panel's emoji cells, and the two deliberately unharmonized separator conventions (a space in the detect line and the panel, an `@` in the log groups). The prose is what a consumer sees, so it is parity surface and is tested as such. + +--- + +## Rationale + +### Kit test layers over hand-rolled mocks + +The doubles ship with the services, so they cannot drift from a shape they are defined against. Partial overrides mean a test declares exactly the surface it depends on, and anything else failing loudly is a feature: a step that starts calling a service it should not is a design change, and the test should say so. + +### Tests in `__test__/`, not co-located + +The rebuild moved every test out of `src/`. Two reasons: coverage `include: ["src/**/*.ts"]` stays a clean statement about production code, and the bundler never has to reason about test files sitting beside entry points. The mirrored path makes the mapping mechanical in the other direction. + +### Purity as a testing strategy + +Roughly half the behaviour worth testing lives in pure modules — `steps/cache-config.ts`, `summary/format.ts`, `turbo-cache/activation.ts`, `turbo-cache/meta.ts` and every descriptor. Those need no layer at all, which is how a Linux test pins the Windows store paths, the bun-on-Windows x64 pin, the arch segment and an S3 activation. Legacy read `process.platform` inside its installer and `os.platform()` inside its Biome descriptor, and consequently no legacy test ever covered a second platform. + +### Two tiers, and what each is for + +Unit tests catch logic fast and are the only place a failure path is cheap to exercise. But three things are provable **only** on a real runner, and each of them was a live bug: + +- The Windows tool-cache layout and the `.cmd` shell launch. +- The lifecycle-script `PATH` (`deno: not found` from a `postinstall`). +- The cache round trip, including the restore ladder against the real service. + +The matrices are the pin for all three. + +--- + +## Implementation details + +### Full-pipeline composition + +`program.test.ts` composes every layer the program needs and swaps individual ones per case: + +```ts +Layer.mergeAll( + ActionInput.layer(inputs), + ActionLogger.layerTest(), + options.cache ?? ActionCache.layerTest({ restore: () => Effect.succeed(Option.none()) }), + ActionOutputs.layerTest({ addPath: () => Effect.void, summary: () => Effect.void, ...outputs }), + ActionState.layerTest({ save: () => Effect.void }), + options.environment ?? ActionEnvironment.layerTest(), + toolInstallerTest, + packageManagerInstallerTest, + spawnerLayer(spawns), + fileSystemLayer(files), + // … +) +``` -1. Clean workspace and copy fixture files to the repo root. -2. Run `.github/actions/local` (the built action). -3. Python script compares actual outputs vs. expected values. -4. Generate step summary with results. +Cases assert on captured outputs, recorded spawns (including the child's `PATH`), and exported variables. The fail-fast case asserts the **`ActionEnvironmentError` tag** specifically, not merely that the run failed with no outputs. -Fixture tests use a matrix with `fail-fast: false` to surface every failure in a single run. +### Runner facts that shape the workflows -### Cache testing pattern +**A `uses:` step runs at `GITHUB_WORKSPACE` regardless of `defaults.run.working-directory`.** A `run:` step honours the default; a `uses:` step does not. The turbo e2e workflow learned this the hard way — the action installed *this repository's* dependencies instead of the fixture's. The fix is `install-deps: "false"` on every fixture-scoped `uses:` step, with the fixture's own install done by a `run:` step that does honour the working directory. Every job in `test-turbo-cache.yml` carries that pattern with a comment. -Cache fixtures run as a pair of dependent jobs: +**`ACTIONS_STEP_DEBUG=true`** is what surfaces the cache key, the ladder, the resolved path set and the lockfile list — the four things worth reading when a fixture's cache assertion fails. -1. **Create cache** -- first run installs everything and saves the cache. -2. **Restore cache** -- second run should restore from cache and emit `cache-hit=true`. +### Fixture harness -### Turbo remote cache e2e +`.github/actions/test-fixture/` is a composite action that: -`__fixtures__/turbo-monorepo/` plus `.github/workflows/test-turbo-cache.yml` prove the embedded turbo remote cache (see [turbo remote cache](./turbo-remote-cache.md)) end to end via a double-build pattern: run `turbo run` twice and assert the second build is a remote cache hit. Three scenarios cover the lifecycle: within a single job, across jobs via `needs:` (the artifact survives because it lands in the backing `BlobStore`, not in process memory), and against the S3 backend backed by a MinIO service container. These run the built action (`dist/turbo-server.js`), exercising the spawn → probe → teardown path that unit tests deliberately exclude from coverage (`/* v8 ignore */` on `spawnTurboServer` and the server entry). +1. Cleans the workspace and copies the fixture to the repository root. +2. Runs `.github/actions/local` (the built action), sometimes twice for a cache pair. +3. Compares actual outputs against `expected-*` inputs in a Python step (`check_value` for exact fields, `check_contains` for the comma-joined `lockfiles` and `cache-paths`). +4. Writes a step summary. ### Common issues | Issue | Cause | Fix | | --- | --- | --- | -| "Effect service not found" | Missing layer in `Layer.mergeAll` | Add the corresponding `*Test.layer(state)` | -| Config values not picked up | No `ConfigProvider` provided | Add `Effect.provideService(ConfigProvider.ConfigProvider, ConfigProvider.fromUnknown(...))` | -| Test passes locally, fails in CI | Platform-specific behavior | Check `process.platform` branching | -| Hash-of-hashes mismatch with old fixtures | Hash algorithm changed (see caching-strategy.md) | Regenerate expected hashes | +| "Service not found" | A layer missing from the composition | Add the matching `X.layerTest({ … })` | +| A double dies mid-test | An unstubbed member was called | Stub it — or ask whether the code should be calling it | +| Input reads as absent | A hand-written `INPUT_*` spelling | Key by input name through `ActionInput.layer` | +| Green unit test, red runner | A state or envelope schema whose encoded form is not JSON | Round-trip it through the real `ActionState` harness | +| Passes locally, fails in CI | Platform branching | Pass an explicit `host` / `platform` and pin both | +| An e2e assertion passes suspiciously | Empty actual against a non-empty expected | Already fixed in the harness; if it recurs, fix the harness first | --- @@ -247,13 +276,14 @@ Cache fixtures run as a pair of dependent jobs: **Internal:** -- [Architecture](./architecture.md) -- pipeline shape under test. -- [Effect service model](./effect-service-model.md) -- service tag definitions and layer composition. -- [Build and distribution](./build-and-distribution.md) -- how the local copy used by fixture tests is produced. -- [Turbo remote cache](./turbo-remote-cache.md) -- subsystem exercised by the e2e double-build fixture. +- [Architecture](./architecture.md) — the pipeline under test and the seams that make it testable. +- [Effect service model](./effect-service-model.md) — the step contract, error taxonomy and defaulted-parameter seams. +- [Caching strategy](./caching-strategy.md) — the state protocol the real-`ActionState` harness exists for. +- [Turbo remote cache](./turbo-remote-cache.md) — the subsystem the five e2e jobs exercise. +- [Build and distribution](./build-and-distribution.md) — how the local copy the fixtures run is produced. **Context files:** -- [src/CLAUDE.md](../../../src/CLAUDE.md) -- per-module testing guidance. -- [**fixtures**/CLAUDE.md](../../../__fixtures__/CLAUDE.md) -- fixture inventory. -- [.github/workflows/CLAUDE.md](../../../.github/workflows/CLAUDE.md) -- workflow test wiring. +- [src/CLAUDE.md](../../../src/CLAUDE.md) — per-module conventions. +- [**fixtures**/CLAUDE.md](../../../__fixtures__/CLAUDE.md) — fixture inventory. +- [.github/workflows/CLAUDE.md](../../../.github/workflows/CLAUDE.md) — workflow test wiring. diff --git a/.claude/design/silk-runtime-action/turbo-remote-cache.md b/.claude/design/silk-runtime-action/turbo-remote-cache.md index 06dae641..7e3389eb 100644 --- a/.claude/design/silk-runtime-action/turbo-remote-cache.md +++ b/.claude/design/silk-runtime-action/turbo-remote-cache.md @@ -3,9 +3,9 @@ status: current module: silk-runtime-action category: integration created: 2026-06-23 -updated: 2026-07-17 -last-synced: 2026-07-17 -completeness: 90 +updated: 2026-08-02 +last-synced: 2026-08-02 +completeness: 95 related: - ./architecture.md - ./caching-strategy.md @@ -17,7 +17,7 @@ dependencies: [] # Turbo remote cache -Embedded Turborepo remote-cache server. When `turbo.json` is detected the action starts a detached local HTTP server that implements Turbo's `/v8/artifacts` remote-cache contract, backed by a generic `BlobStore` (GitHub Actions cache or S3/SigV4). This lets Turbo share task-output artifacts across jobs and runs without an external Vercel Remote Cache. +Embedded Turborepo remote-cache server. When `turbo.json` is detected the action starts a detached local HTTP server implementing Turbo's `/v8/artifacts` contract over a generic `BlobStore` (GitHub Actions cache or S3/SigV4), so Turbo shares task-output artifacts across jobs and runs without a Vercel account. ## Table of contents @@ -25,29 +25,31 @@ Embedded Turborepo remote-cache server. When `turbo.json` is detected the action 2. [Current state](#current-state) 3. [Rationale](#rationale) 4. [Implementation details](#implementation-details) -5. [Related documentation](#related-documentation) +5. [Known limitations](#known-limitations) +6. [Related documentation](#related-documentation) --- ## Overview -Turbo speaks an HTTP remote-cache protocol (`/v8/artifacts/...`). Rather than require a Vercel account, the action can stand up that protocol locally and persist artifacts to whatever blob storage the runner already has access to. Turbo is pointed at `http://127.0.0.1:` via the `TURBO_API`/`TURBO_TOKEN`/`TURBO_TEAM` environment variables, so the consumer's later `turbo run` steps transparently read and write the embedded cache. +Turbo speaks an HTTP remote-cache protocol. Rather than require a Vercel account, the action stands that protocol up locally and persists artifacts to storage the runner already has. Turbo is pointed at `http://127.0.0.1:` through `TURBO_API` / `TURBO_TOKEN` / `TURBO_TEAM`, so the consumer's later `turbo run` steps transparently read and write the embedded cache. -The whole subsystem is an **enhancement that never fails the job**: every failure path degrades to a warning and leaves Turbo running with no remote cache (local file cache still applies — see [caching strategy](./caching-strategy.md)). +The whole subsystem is an **enhancement that never fails the job**: every failure degrades to a warning and leaves Turbo running with no remote cache. The local `.turbo/cache` file layer still applies — see [caching strategy](./caching-strategy.md#turbos-local-artifact-cache). **Key features:** -- Activation decision tree (`resolveTurboCache`): off, passthrough (external Vercel creds), embedded-github or embedded-s3. -- Detached HTTP server (`src/turbo-server.ts`, a third bundle) spawned by main, reaped by post. -- Generic `BlobStore` backend abstraction (GitHub Actions cache or S3/SigV4). -- Artifact byte framing that round-trips Turbo's `x-artifact-duration` so remote hits report accurate `timeSaved`. -- Secrets read `Redacted` and registered with the runner log mask via `setSecret`. +- A pure activation table (`resolveTurboCache`): off, passthrough, embedded-s3, embedded-github. +- A detached worker (`src/turbo-server.ts`, the third bundle) spawned by main and reaped by post. +- Artifact framing owned by the kit's `BlobEnvelope`; this action owns only the metadata's *meaning*. +- A fresh random bearer credential per run. +- Graceful `SIGTERM` shutdown with a deadline, and an `EADDRINUSE` message instead of an unhandled exception. +- `ActionOutputs.layerDetached` in the worker — a secret-leak fix, not a tidiness one. **When to load this doc:** -- Modifying turbo cache activation, the server lifecycle or the artifact codec. -- Adding a backend or changing the blob key layout. -- Debugging why the embedded cache degraded or why post did not reap the server. +- Changing activation, backend selection, the handler routes or the key layout. +- Debugging why the embedded cache degraded, or why post did not reap the server. +- Touching anything the worker reads out of its environment. --- @@ -57,54 +59,142 @@ The whole subsystem is an **enhancement that never fails the job**: every failur | Module | Path | Responsibility | | --- | --- | --- | -| Activation | `src/services/turbo-cache/activation.ts` | `resolveTurboCache` — pure decision tree over inputs | -| Codec | `src/services/turbo-cache/codec.ts` | `encodeArtifact`/`decodeArtifact` — artifact byte framing | -| Handler | `src/services/turbo-cache/handler.ts` | `makeTurboHandler` — `/v8/artifacts` contract over `BlobStore` | -| Lifecycle | `src/services/turbo-cache/lifecycle.ts` | `buildSpawnSpec`, `spawnTurboServer`, `waitForServer`, `killProcess`, `serverLogPath` | -| Apply | `src/services/turbo-cache/apply.ts` | `applyTurboCache` — orchestrates spawn → save state → probe → export-or-degrade | -| Server entry | `src/turbo-server.ts` | Detached process entry; wires `BlobStore` backend to the handler over `http` | -| State | `src/state.ts` | `TurboServerState` (pid, port, backend) for cross-phase teardown | +| Activation | `src/turbo-cache/activation.ts` | `resolveTurboCache` — the pure four-rule table; `hasPartialPassthroughCredentials` | +| Metadata | `src/turbo-cache/meta.ts` | `TurboArtifactMeta` (envelope metadata schema) and `clampDurationMs` | +| Handler | `src/turbo-cache/handler.ts` | `makeTurboHandler` — routes, auth, keys, over `BlobStore` | +| Server config | `src/turbo-cache/server-config.ts` | `TURBO_SERVER_ENV`, `readServerConfig`, `serverBlobStoreLayer`, `isAuthShapedFailure` | +| Step | `src/steps/turbo-cache.ts` | `startTurboCache` — mask, resolve, export, spawn, persist, probe | +| Worker entry | `src/turbo-server.ts` | HTTP plumbing, shutdown, listen-error handling. Imported by nothing | +| State | `src/state.ts` | `TurboServerState` (pid, port, backend, logFile) | +| Teardown | `src/post.ts` | `DetachedProcess.reap`, first and unconditional | -### Activation decision tree +There is no `codec.ts`, no `lifecycle.ts` and no `apply.ts` — the kit's `BlobEnvelope` replaced the hand-rolled frame, and `DetachedProcess` replaced the spawn/probe/kill trio. -`resolveTurboCache` (in `activation.ts`) maps inputs to one of four resolutions, in priority order: +### Activation table -| Resolution | Condition | -| --- | --- | -| `off` | `turbo.json` absent, or `turbo-cache=off` | -| `passthrough` | both `turbo-token` and `turbo-team` are set (defer to external Vercel Remote Cache) | -| `embedded` / `s3` | an S3 bucket is configured (`turbo-s3-bucket`) | -| `embedded` / `github` | otherwise (default when Turbo is detected) | +Four sequential first-match rules, evaluated in `resolveTurboCache`: + +| # | Condition | Resolution | +| --- | --- | --- | +| 1 | `turbo.json` absent, **or** `turbo-cache: off` | `off` | +| 2 | `turbo-token` **and** `turbo-team` both set | `passthrough` (external Vercel) | +| 3 | `turbo-s3-bucket` set | `embedded` / `s3` | +| 4 | otherwise | `embedded` / `github` | + +Order **is** the behaviour: passthrough beats S3 when both are configured, and rule 3 probes the **bucket alone** — S3 credentials without a bucket resolve to the GitHub backend rather than to a misconfigured S3 one. + +Because `ActionInput` treats unsupplied and empty as the same case, `Option.isSome` here is exactly v1's `!== ""`, and the table needs no empty-string handling of its own. + +`"remote"` is deliberately **absent** from `TurboCacheResolution`. It is the *output* vocabulary for passthrough (`action.yml`'s `turbo-cache-backend` enum), and the rename happens where outputs are written — the table names what was decided, not what is reported. + +**Partial passthrough credentials** (exactly one of token/team) still fall through to the embedded server, matching v1, but now emit a warning. v1 said nothing at all, so the run silently started an embedded server instead of talking to Vercel — indistinguishable in the log from a workflow that configured no passthrough. The predicate is pure so the table stays pure; the step logs the warning, after the `off` return, where its text is true. + +### Resolution → effects + +| Resolution | Exported environment | `turbo-cache-backend` | `turbo-cache-port` | `post` reaps | +| --- | --- | --- | --- | --- | +| off | none | `none` | empty | no | +| passthrough | `TURBO_TOKEN`, `TURBO_TEAM` | `remote` | empty | no | +| embedded, ready | `TURBO_API`, `TURBO_TOKEN`, `TURBO_TEAM` | `github` / `s3` | bound port | yes | +| embedded, not ready | none | `none` | empty | **yes** | + +Passthrough exports no `TURBO_API` on purpose: turbo's own default is Vercel's endpoint, and naming it here would pin a URL this action does not own. + +The last row is the interesting one. `StartedTurboCache.state` is `Some` whenever a child was **spawned**, including when it never became ready — `backend` and `port` report what turbo can use, while `state` reports what `post` has to clean up, and the degraded case is exactly where the two answers differ. ### Server lifecycle ```text -main (program.ts "Turbo remote cache" step) - resolveTurboCache(inputs) -> resolution - applyTurboCache(resolution, deps): - off -> return { backend: "none" } - passthrough -> exportVariable TURBO_TOKEN/TURBO_TEAM -> { backend: "remote" } - embedded -> buildSpawnSpec -> spawnTurboServer (detached, unref'd) - -> ActionState.save(turboServerState { pid, port, backend }) [BEFORE probe] - -> waitForServer(port) (poll /v8/artifacts/status) - up: exportVariable TURBO_API/TURBO_TOKEN/TURBO_TEAM - down: logError + return { backend: "none" } (degrade) - -post (post.ts) — runs unconditionally, before any cache early-return - ActionState.getOptional(turboServerState) - Some -> killProcess(pid) (SIGTERM, swallow "already gone") +main — program.ts "Start turbo remote cache" group (LAST in the pipeline) + maskSuppliedSecrets(inputs) # unconditional, BEFORE the table + resolveTurboCache(...) + off -> DISABLED + passthrough -> exportVariable TURBO_TOKEN (via Secret.forRunnerFile) / TURBO_TEAM + embedded -> credential = randomUUID() + spawnEnvironment(...) # TURBOGHA_* only + DetachedProcess.spawn({ command: process.execPath, + args: [serverEntry], logFile, env }) + ActionState.save(turboServer, TurboServerState) # BEFORE the probe + DetachedProcess.awaitReady(readinessProbe(port)) + ready -> export TURBO_API / TURBO_TOKEN / TURBO_TEAM + exhausted -> logError, continue WITHOUT a remote cache + +post — post.ts, first and unconditional, before any branch that can return early + getOptional(turboServer, TurboServerState) + Some -> reap(pid) # false ("already gone") is the NORMAL ending + None -> debug line +``` + +The state save sits **between** the spawn and the readiness wait, so a child that hangs half-started is still reapable: the window in which a leaked process could survive the job is the width of one `ActionState.save` rather than the whole six-second readiness budget. A save failure degrades to a warning naming the un-reapable pid. + +### Handler contract + +Routes, in order: + +| Path | Methods | Answer | +| --- | --- | --- | +| `/v8/artifacts/status` | any | `200 {"status":"enabled"}` — **open, never authenticated** | +| `/v8/artifacts/events` | any | `200 []`, authenticated | +| `/v8/artifacts/:hash` | `PUT` | `202` | +| | `HEAD` | `200` / `404` | +| | `GET` | `200` + body / `404` | +| | other | `405` | +| anything else | any | `404` | + +`/status` stays open because it is the readiness probe the spawning step polls before it has anything to authenticate with. `/events` is turbo-client traffic and **is** authenticated, where v1 left it open. Authentication happens **after** the route match, so an unroutable path is a 404 rather than a 401 — v1's order, kept, because it tells a misconfigured client which of the two things is wrong. + +The bearer prefix is optional and case-insensitive (`/^Bearer\s+/i`), so a client sending the bare token is accepted. An **empty** `expectedToken` authorizes everything; that permissive branch is what a handler test needs, and `readServerConfig` is what makes it unreachable in production (see below). + +A `GET` answers 404 both for a miss **and** for a blob whose envelope will not decode into `TurboArtifactMeta` — a pre-envelope blob, a newer revision, a truncated frame. Corrupt is a miss: turbo rebuilds, where a decoded-anyway artifact would be served as if it were real. Every other failure collapses to a bare 500, because there is nothing turbo does with a message. + +Query strings are stripped before routing (`?teamId=…&slug=…` rides on every request) and no route reads a parameter. + +### Blob keys and metadata + +Keys are `${prefix}${hash}`, with a `/` inserted when a non-empty prefix does not already end in one. That separator is new: v1 concatenated, so prefix `p` wrote `phash…` and two namespaces whose prefixes were substrings of one another shared entries. + +There is **no `v2/` version segment any more**. The kit's `BlobEnvelope` carries the format revision in-band and reports a mismatch as a typed `BlobEnvelopeError`, which the handler turns into a miss; stale entries age out through the backend's own eviction. + +```ts +export class TurboArtifactMeta extends Schema.Class("TurboArtifactMeta")({ + tag: Schema.NullOr(Schema.String), + durationMs: Schema.Number, +}) {} ``` -The state save happens **before** the readiness probe so post can always reap the pid even if the server never became ready. This cross-phase spawn/reap is the load-bearing contract of this subsystem: main and post run in separate processes, so the pid must survive in `ActionState`. +`durationMs` **must** round-trip: turbo computes `timeSaved` from the `x-artifact-duration` it gets back on a remote hit. It is clamped at the handler boundary to a whole number in `0…4294967295` — v1's `uint32` frame range, kept even though JSON would carry anything, because the clamp is what stops a nonsensical header from becoming a `timeSaved` a user reads. `Math.trunc(x) || 0` is v1's `NaN` guard verbatim. + +An **empty** tag is stored as an empty string and dropped on the way out by the handler's truthiness check rather than echoed back empty — v1's behaviour. + +The encoded form has to be plain JSON for the same reason cross-phase state does: the envelope writes metadata as JSON between its header and the body, so `Schema.NullOr` rather than `Schema.Option`. See [caching strategy](./caching-strategy.md#cross-phase-state-protocol). + +### Worker configuration + +Config reaches the worker through the **environment and nothing else**: it is spawned detached with no channel back to the action, and a command line would put the token in the process table. `TURBO_SERVER_ENV` is a shared constant so the two halves of the handoff cannot drift, and keeps v1's `TURBOGHA_` prefix so an operator reading a process list sees what they always have. + +| Variable | Meaning | +| --- | --- | +| `TURBOGHA_PORT` | Listen port; a value outside `1…65535` falls back to the default | +| `TURBOGHA_PREFIX` | Key namespace | +| `TURBOGHA_TOKEN` | Bearer credential — **required**, no token means no server | +| `TURBOGHA_BACKEND` | `s3` selects S3; anything else is the GitHub Actions cache | +| `TURBOGHA_S3_*` | bucket, region, endpoint, access key id, secret access key, session token, prefix | + +Optional settings are **omitted** rather than written empty; the worker reads unset and empty as the same case, and an omitted variable is clearer in a process listing. The three optional S3 fields are spread in only when non-empty — an empty endpoint would point the signer at nothing rather than at AWS, and an empty prefix would namespace every key under a leading separator. + +`DetachedProcess.spawn` merges this environment **over** the parent's, which is what carries `ACTIONS_RUNTIME_TOKEN` through to the GitHub backend without this step ever reading it. -### Blob key layout +The port is **fixed** (`41230`) rather than negotiated. Turbo reaches the server through the exported `TURBO_API`, so negotiation would work — but it would also mean the action and the server disagreeing about the port whenever the handoff failed, and nothing on a runner competes for this one. The missing half was added instead: a listen that fails says so and exits (see below). -Artifacts are stored under `${prefix}${ARTIFACT_KEY_VERSION}/${hash}` (currently `${prefix}v2/${hash}`). `ARTIFACT_KEY_VERSION` (in `handler.ts`) is bumped whenever the codec frame layout changes, so blobs written under an older frame are never decoded under a new layout; orphaned old-format blobs are left for backend eviction. +### Secret handling -### Outputs and env +Three things happen, all before anything is spawned: -- Outputs: `turbo-cache-backend` (`github` | `s3` | `remote` | `none`), `turbo-cache-port` (port or empty). -- Exported env for Turbo: `TURBO_API`, `TURBO_TOKEN`, `TURBO_TEAM` (embedded uses a dummy credential `silk-runtime-action`; passthrough uses the real Vercel token/team). +1. **Masking is unconditional and runs before the activation table.** A secret a workflow supplied is worth redacting whether or not the resolution uses it: a run setting `turbo-s3-secret-access-key` alongside passthrough credentials resolves to Vercel and never touches S3, and would otherwise carry an unmasked key through a job that logs its environment. +2. **`turbo-s3-access-key-id` is masked too**, which v1 did not do. It is the least sensitive of the four and pairing it with the secret it authenticates alongside costs nothing. +3. **Declassification goes through `Secret.*`, never `Redacted.value`.** `Secret.forSigning` masks first and returns plaintext — for the two mask-only calls the plaintext is deliberately discarded. `Secret.forChildEnv(record)` masks the whole set before returning any of it, and is the one sanctioned way a `Redacted` becomes a child's environment variable. `Secret.forRunnerFile` covers the passthrough token on its way to `exportVariable`. + +The embedded credential is a **fresh `randomUUID` per run**, replacing v1's constant compiled into the source. It is simultaneously the server's `expectedToken` and the `TURBO_TOKEN`/`TURBO_TEAM` turbo authenticates with, so both sides come from one value and a leaked build no longer discloses every runner's cache credential. --- @@ -112,51 +202,108 @@ Artifacts are stored under `${prefix}${ARTIFACT_KEY_VERSION}/${hash}` (currently ### Embedded server over a Vercel account -Most consumers run Turbo in CI without a Vercel Remote Cache. The embedded server gives them cross-job and cross-run artifact sharing using storage the runner already has (the GitHub Actions cache, or a self-hosted S3 bucket) with zero external accounts. Passthrough mode still defers to Vercel when real credentials are supplied. +Most consumers run Turbo in CI without a Vercel Remote Cache. The embedded server gives them cross-job and cross-run artifact sharing using storage the runner already has, with zero external accounts. Passthrough still defers to Vercel when real credentials are supplied. ### Generic `BlobStore` backend -Turbo's protocol only needs put/get/has against opaque keys. Modeling that as a `BlobStore` service (from `@savvy-web/github-action-effects`) keeps the handler backend-agnostic: the same `makeTurboHandler` runs over `GitHubBlobStoreLive` or `S3BlobStoreLive`. Adding a backend is a layer swap in the server entry, not a handler change. +Turbo's protocol needs only put/get/has against opaque keys. Modelling that as a `BlobStore` service keeps the handler backend-agnostic: the same `makeTurboHandler` runs over `GitHubCacheBlobStore.layer` or `BlobStore.layerS3(config)`, and nothing above the layer knows which one it got. Adding a backend is a layer swap in `serverBlobStoreLayer`, not a handler change. + +### `BlobEnvelope` instead of a hand-rolled frame -### Detached process, not in-process server +v1 packed `[4B tagLen][4B durationMs][tag][body]` by hand and namespaced keys with `v2/` because the frame had no in-band version. The envelope owns framing and revisioning; this action owns only what the metadata *means*. That deleted a codec module, a version constant and a class of mis-slicing bug, and turned an unreadable blob into a typed error the handler can classify as a miss. -The action's main phase must return so the workflow can proceed to the consumer's `turbo run` steps. A server bound to the main process would either block the step or die when it exits. The server is spawned `detached` and `unref`'d, with stdout/stderr redirected to a deterministic log file (`serverLogPath`) rather than `"ignore"` so a startup failure is diagnosable while the Actions step still does not hang. +### Detached process, not an in-process server -### Readiness probe gates the export +The main phase has to return so the workflow can proceed to the consumer's `turbo run` steps. A server bound to the main process would either block the step or die when it exits. The child is detached with stdout and stderr redirected to a deterministic log file rather than discarded, so a startup failure is diagnosable while the step still does not hang. -`waitForServer` polls `/v8/artifacts/status` before main exports `TURBO_API`. Pointing Turbo at a dead server would make every cache call fail noisily; gating on readiness means the action either wires a working cache or degrades cleanly to none. +### The log path is derived from the port -### Duration round-trip in the codec +`serverLogPath(port)` = `/turbogha-.log`, derived rather than randomized, so three separate places name the same file without passing it between them: the spawn, the failed-readiness error, and `post`'s teardown debug line. A run whose server misbehaved is diagnosed by reading it. -Turbo sends `x-artifact-duration` (artifact generation time) on PUT and expects it back on GET to compute `timeSaved` on a remote hit. The codec frames it alongside the tag and body (`[tag-len][duration-ms][tag][body]`) so a remote hit reports the same `timeSaved` a local hit would. Without it, Turbo would report zero time saved on every remote restore. +### Readiness gates the export -### Non-fatal degradation +Pointing turbo at a dead server would make every cache call a connection error. The probe returns **`false` rather than failing** for a refused connection or a non-2xx answer — those are "not up yet" and "listening but not serving", both of which the retry loop should keep waiting on — which leaves the kit's `awaitReady` with only its own exhaustion to fail with, and that is what the caller degrades on. -Turbo cache is strictly additive. `applyTurboCache` and the surrounding `program.ts` step both `Effect.catch` (v4's rename of `catchAll`) to a `{ backend: "none" }` warning, and the handler itself catches all errors to a 500 rather than crashing the server. A misconfigured bucket or an unreachable cache never fails the consumer's build. +### Starting last -### Secrets handled as `Redacted` +`startTurboCache` is the final step. Nothing earlier consumes the turbo environment, and a later start shortens the window in which a detached child holds the runner's short-lived `ACTIONS_RUNTIME_TOKEN`. This is a deliberate deviation from v1 (which started it before the cache restore), ruled neutral-to-better. -S3 secret/session and the turbo token are read via `Config.redacted`, registered with the runner's log mask through `setSecret`, and only unwrapped (`Redacted.value`) at the transport boundary (the spawn env). This keeps secrets out of accidental log lines in the main process. +### Non-fatal, twice over + +`startTurboCache` catches its typed channel **and** defects, answering `DISABLED`; the handler catches everything to a 500 rather than crashing the server; the worker exits cleanly on a config or listen failure. A misconfigured bucket never fails a build that did not need a cache. --- ## Implementation details -### Handler contract +### The detached worker must not get the real `ActionOutputs` layer + +This is a **leak fix**, and the action shipped the bug for exactly one round. + +The S3 backend declassifies its signing key through `Secret.forSigning`, which masks first — and masking is `::add-mask::` written to stdout, a workflow command the runner parses out of a *step's* log. This process is not a step: it is detached, and its stdout is a file in the temp directory that no runner reads. The real layer therefore writes the S3 secret **in plaintext** into a file `post` prints the path of. Masking inverts into a leak. + +`ActionOutputs.layerDetached` is the fix, and improves on the interim hand-built double in two ways worth naming: its `R` is `never`, so a worker composing it *structurally cannot* write a runner file, and the members that configure the parent job's later steps fail typed with `reason: "detached"` rather than throwing an unstubbed-member defect. The regression test for the add-mask behaviour survived the swap unchanged. + +**Rule: a detached worker never gets the real `ActionOutputs` layer.** + +### Fail closed on a missing token + +`readServerConfig` **fails** rather than booting degraded when `TURBOGHA_TOKEN` is absent. v1 read an absent token as an empty one, which the handler treats as "authentication disabled" — so a spawn that lost its environment left an **open** cache server listening on the runner. The check lives in the worker rather than the handler on purpose: the handler's permissive branch is what a test needs, and the step always supplies a token, so a missing one means something is wrong and exiting says so. + +### Listen failures + +v1 left `server.on("error")` unhandled, so a port collision killed the process with an unhandled exception into a log nobody reads, and the action waited out its full readiness budget before degrading. The worker now prints one line — naming `EADDRINUSE` specifically ("another cache server is running on this runner") — and exits. + +The port **range check** in `readServerConfig` is load-bearing rather than tidy: `listen` throws **synchronously** on a bad port, so the `error` listener never fires for that case and the process would die with a stack trace instead of the one line it exists to print. + +### Shutdown + +v1 had no shutdown path at all, so `post`'s `SIGTERM` killed the process mid-request and lost whichever artifact turbo was writing. The worker now: + +```ts +process.on("SIGTERM", () => { + setTimeout(() => process.exit(0), SHUTDOWN_DEADLINE_MS).unref(); // 2s + server.close(() => void runtime.dispose().then(() => process.exit(0), () => process.exit(0))); +}); +``` + +`close` stops accepting and waits for what is in flight; disposing the runtime releases the backend's client. The **deadline** is what keeps "waits for what is in flight" from becoming "outlives the job": `close` never calls back while a request hangs, and `post` does not wait after signalling. `unref` keeps the timer from holding the process open on the normal path, where the callback wins the race. + +On the `post` side there is **no wait and no `SIGKILL` escalation**. The signal is the whole of it: the runner reclaims the machine moments later, and a post phase that blocked on a child's exit would trade a bounded leak for an unbounded hang. A reap returning `false` — the child is already gone — is the *normal* ending, not a failure. + +### Request buffering + +The worker buffers each whole request body with **no size cap**, kept from v1 deliberately: turbo sends a complete artifact per request, and a cap invented here would fail a large monorepo's build rather than slow it down. + +### Resolving the worker bundle + +`defaultServerEntry()` = `join(dirname(fileURLToPath(import.meta.url)), "turbo-server.js")`. The build emits `dist/main.js` and `dist/turbo-server.js` side by side and this module is bundled into the former, so the sibling resolution holds **only in the built artifact**. Run from source it points at a non-existent file beside `src/steps/`, which is why every test supplies `StartTurboCacheArgs.serverEntry` rather than exercising it. See [build and distribution](./build-and-distribution.md). + +--- + +## Known limitations + +### `ACTIONS_RUNTIME_TOKEN` lifetime (GitHub backend only) + +The GitHub Actions cache backend captures `ACTIONS_RUNTIME_TOKEN` **at server spawn time**. That token is a short-lived JWT issued by the Actions backend, and there is no refresh channel into a detached process. On a very long job, late cache writes from Turborepo can come back `401 Unauthorized` while everything before them succeeded. + +The limitation stands, but it is now **diagnosable**: `isAuthShapedFailure` classifies a `BlobStoreError` with status 401 or `reason: "refused"`, and the worker logs a distinct line — + +> the Actions cache refused a request — `ACTIONS_RUNTIME_TOKEN` has most likely expired, so cache writes from here on are lost -See `src/services/turbo-cache/handler.ts`. `makeTurboHandler({ prefix, expectedToken })` returns an `Effect` over `BlobStore` that handles `/v8/artifacts/status` (enabled), `/v8/artifacts/events` (empty), and `PUT`/`GET`/`HEAD /v8/artifacts/:hash`. Bearer-token auth is enforced when `expectedToken` is non-empty. +— so a run that quietly stopped caching says why. Without it the only trace is turbo reporting misses. -### Codec framing +The **S3 backend is unaffected**: it uses its own long-lived credentials rather than the runner's token. -See `src/services/turbo-cache/codec.ts`. Frame layout: 4-byte big-endian tag length, 4-byte big-endian duration (ms, clamped to uint32), tag UTF-8 bytes, then the artifact body. A null tag is length 0. +An unreadable envelope never reaches this classifier — that is a miss, not a backend problem, and reporting it would make the warning fire on a stale cache entry. -### Spawn spec and backend wiring +### Fixed port -`buildSpawnSpec` (in `lifecycle.ts`) carries all config to the child through `TURBOGHA_*` env vars (port, prefix, token, backend and the S3 fields). The detached entry `src/turbo-server.ts` reads those env vars, builds the matching `BlobStore` layer (`GitHubBlobStoreLive` or `S3BlobStoreLive`, each provided `NodeHttpClient.layerUndici` — the v4 Node HTTP layer, from `@effect/platform-node`), and drives the handler through a `ManagedRuntime` from a plain `node:http` server. +One embedded server per runner. A second concurrent job on the same runner gets the `EADDRINUSE` line and a cacheless run. -### Bundling +### `Turbo: enabled|disabled` is detection-sourced -`src/turbo-server.ts` is a third bundle entry declared as `entries.workers` in `action.config.ts`, producing `dist/turbo-server.js`. Main resolves the entry path relative to its own bundle (`import.meta.url`). See [build and distribution](./build-and-distribution.md). +The closing log group's turbo line reports **detection**, not the cache outcome; the panel row carries the cache truth. This asymmetry with the Biome line (which reports the install) is deliberate: biome's line names an install the run performed, turbo's names a detection. --- @@ -164,13 +311,15 @@ See `src/services/turbo-cache/codec.ts`. Frame layout: 4-byte big-endian tag len **Internal:** -- [Architecture](./architecture.md) — pipeline placement of the turbo step, entry topology, cross-phase teardown. -- [Caching strategy](./caching-strategy.md) — the complementary `.turbo/cache` local file-cache layer. -- [Effect service model](./effect-service-model.md) — `BlobStore` service, `ManagedRuntime` in the detached entry, `Redacted` secrets. +- [Architecture](./architecture.md) — pipeline placement, entry topology, cross-phase teardown. +- [Caching strategy](./caching-strategy.md) — the complementary `.turbo/cache` file layer and the plain-JSON encoding rule. +- [Effect service model](./effect-service-model.md) — `BlobStore`, the worker's own `ManagedRuntime`, the `DetachedProcess` seam. - [Build and distribution](./build-and-distribution.md) — the third bundle entry. +- [Testing strategy](./testing-strategy.md) — the five-job e2e workflow, including real S3. **Source files:** -- `src/services/turbo-cache/` — activation, codec, handler, lifecycle, apply. -- `src/turbo-server.ts` — detached server entry. -- `src/state.ts` — `TurboServerState`. +- `src/turbo-cache/` — activation, meta, handler, server-config. +- `src/steps/turbo-cache.ts` — the step. +- `src/turbo-server.ts` — the detached entry. +- `src/state.ts` — `TurboServerState`; `src/post.ts` — the reap. diff --git a/.github/actions/local/dist/main.js b/.github/actions/local/dist/main.js index 2b965784..348b2dae 100644 --- a/.github/actions/local/dist/main.js +++ b/.github/actions/local/dist/main.js @@ -1,11 +1,11 @@ /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */ -import{fileURLToPath as e}from"node:url";var t=e(import.meta.url);import{createRequire as r}from"node:module";let n=r(import.meta.url);var i={9557(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let o=s(r(8611)),a=s(r(5692));async function A(e){let t=0,r=[];for await(let n of e)t+=n.length,r.push(n);return Buffer.concat(r,t)}t.toBuffer=A,t.json=async function(e){let t=(await A(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}},t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?a:o).request(e,t),n=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=n.then.bind(n),r}},2120(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let a=s(r(9278)),A=s(r(8611)),l=r(5692);o(r(9557),t);let c=Symbol("AgentBaseInternalState");class d extends A.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new a.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],n=r.indexOf(t);-1!==n&&(r.splice(n,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?l.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let n={...t,secureEndpoint:this.isSecureEndpoint(t)},i=this.getName(n),s=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(o=>{if(this.decrementSockets(i,s),o instanceof A.Agent)try{return o.addRequest(e,n)}catch(e){return r(e)}this[c].currentSocket=o,super.createSocket(e,t,r)},e=>{this.decrementSockets(i,s),r(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[c]&&(this[c].protocol=e)}}t.Agent=d},4879(e,t,r){let n;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),n=!1,t.destroy=()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(5826)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5826(e,t,r){e.exports=function(e){function t(e){let r,i,s,o=null;function a(...e){if(!a.enabled)return;let n=Number(new Date);a.diff=n-(r||n),a.prev=r,a.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let s=t.formatters[n];if("function"==typeof s){let t=e[i];r=s.call(a,t),e.splice(i,1),i--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e,t){let r=0,n=0,i=-1,s=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,s=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++s}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(i(e,r))return!1;for(let r of t.names)if(i(e,r))return!0;return!1},t.humanize=r(9049),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5243(e,t,r){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(4879):e.exports=r(5051)},5051(e,t,r){let n=r(2018),i=r(9023);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:n,useColors:i}=this;if(i){let t=this.color,i="\x1b[3"+(t<8?t:"8;5;"+t),s=` ${i};1m${n} \u001B[0m`;r[0]=s+r[0].split("\n").join("\n"+s),r.push(i+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+n+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:n.isatty(process.stderr.fd)},t.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(9478);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e},{}),e.exports=r(5826)(t);let{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},1533(e){e.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return -1!==n&&(-1===i||n<i)}},7277(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpProxyAgent=void 0;let a=s(r(9278)),A=s(r(4756)),l=o(r(5243)),c=r(4434),d=r(2120),g=r(7016),u=(0,l.default)("http-proxy-agent");class h extends d.Agent{constructor(e,t){super(t),this.proxy="string"==typeof e?new g.URL(e):e,this.proxyHeaders=t?.headers??{},u("Creating new HttpProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...t?function(e,...t){let r,n={};for(r in e)t.includes(r)||(n[r]=e[r]);return n}(t,"headers"):null,host:r,port:n}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:r}=this,n=t.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",s=`${n}//${i}`,o=new g.URL(e.path,s);80!==t.port&&(o.port=String(t.port)),e.path=String(o);let a="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;a["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let t of(a["Proxy-Connection"]||(a["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(a))){let r=a[t];r&&e.setHeader(t,r)}}async connect(e,t){let r,n,i;return e._header=null,e.path.includes("://")||this.setRequestProps(e,t),u("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(u("Patching connection write() output buffer with updated header"),n=(r=e.outputData[0].data).indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+r.substring(n),u("Output buffer: %o",e.outputData[0].data)),"https:"===this.proxy.protocol?(u("Creating `tls.Socket`: %o",this.connectOpts),i=A.connect(this.connectOpts)):(u("Creating `net.Socket`: %o",this.connectOpts),i=a.connect(this.connectOpts)),await (0,c.once)(i,"connect"),i}}h.protocols=["http","https"],t.HttpProxyAgent=h},6565(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let a=s(r(9278)),A=s(r(4756)),l=o(r(2613)),c=o(r(5243)),d=r(2120),g=r(7016),u=r(679),h=(0,c.default)("https-proxy-agent"),m=e=>void 0===e.servername&&e.host&&!a.isIP(e.host)?{...e,servername:e.host}:e;class p extends d.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new g.URL(e):e,this.proxyHeaders=t?.headers??{},h("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?f(t,"headers"):null,host:r,port:n}}async connect(e,t){let r,{proxy:n}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===n.protocol?(h("Creating `tls.Socket`: %o",this.connectOpts),r=A.connect(m(this.connectOpts))):(h("Creating `net.Socket`: %o",this.connectOpts),r=a.connect(this.connectOpts));let i="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=a.isIPv6(t.host)?`[${t.host}]`:t.host,o=`CONNECT ${s}:${t.port} HTTP/1.1\r -`;if(n.username||n.password){let e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(i.Host=`${s}:${t.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(i)))o+=`${e}: ${i[e]}\r -`;let c=(0,u.parseProxyResponse)(r);r.write(`${o}\r -`);let{connect:d,buffered:g}=await c;if(e.emit("proxyConnect",d),this.emit("proxyConnect",d,e),200===d.statusCode)return(e.once("socket",C),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),A.connect({...f(m(t),"host","path","port"),socket:r})):r;r.destroy();let p=new a.Socket({writable:!1});return p.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,l.default)(e.listenerCount("data")>0),e.push(g),e.push(null)}),p}}function C(e){e.resume()}function f(e,...t){let r,n={};for(r in e)t.includes(r)||(n[r]=e[r]);return n}p.protocols=["http","https"],t.HttpsProxyAgent=p},679(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let i=(0,n(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let n=0,s=[];function o(){let A=e.read();A?function(A){s.push(A),n+=A.length;let l=Buffer.concat(s,n),c=l.indexOf("\r\n\r\n");if(-1===c){i("have not received end of HTTP headers yet..."),o();return}let d=l.slice(0,c).toString("ascii").split("\r\n"),g=d.shift();if(!g)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let u=g.split(" "),h=+u[1],m=u.slice(2).join(" "),p={};for(let t of d){if(!t)continue;let n=t.indexOf(":");if(-1===n)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let i=t.slice(0,n).toLowerCase(),s=t.slice(n+1).trimStart(),o=p[i];"string"==typeof o?p[i]=[o,s]:Array.isArray(o)?o.push(s):p[i]=s}i("got proxy server response: %o %o",g,p),a(),t({connect:{statusCode:h,statusText:m,headers:p},buffered:l})}(A):e.once("readable",o)}function a(){e.removeListener("end",A),e.removeListener("error",l),e.removeListener("readable",o)}function A(){a(),i("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function l(e){a(),i("onerror %o",e),r(e)}e.on("error",l),e.on("end",A),o()})}},9049(e){function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,i,s,o,a=typeof e;if("string"===a&&e.length>0){var A=e;if(!((A=String(A)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(i=Math.abs(n=e))>=864e5?t(n,i,864e5,"day"):i>=36e5?t(n,i,36e5,"hour"):i>=6e4?t(n,i,6e4,"minute"):i>=1e3?t(n,i,1e3,"second"):n+" ms":(o=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":o>=36e5?Math.round(s/36e5)+"h":o>=6e4?Math.round(s/6e4)+"m":o>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let n,i=r(857),s=r(2018),o=r(1533),{env:a}=process;function A(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===n)return 0;let r=n||0;if("dumb"===a.TERM)return r;if("win32"===process.platform){let e=i.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:r;if("TEAMCITY_VERSION"in a)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION);if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){let e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?n=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=1),"FORCE_COLOR"in a&&(n="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return A(l(e,e&&e.isTTY))},stdout:A(l(!0,s.isatty(1))),stderr:A(l(!0,s.isatty(2)))}},3006(e,r,n){n(5183);let i=n(6873);n(6334),n(4967),n(1326);let s=n(5891);n(6400),n(3614),n(9741),n(9003),n(8392),n(473);let o=n(8065),a=n(1210),{InvalidArgumentError:A}=o,l=n(8769);n(5010),n(375);let{MockCallHistory:c,MockCallHistoryLog:d}=n(2137);n(6923),n(8182),n(2817),n(8531),n(4166);let{getGlobalDispatcher:g,setGlobalDispatcher:u}=n(8023);function h(e){return(t,r,n)=>{if("function"==typeof r&&(n=r,r=null),!t||"string"!=typeof t&&"object"!=typeof t&&!(t instanceof URL))throw new A("invalid url");if(null!=r&&"object"!=typeof r)throw new A("invalid opts");if(r&&null!=r.path){if("string"!=typeof r.path)throw new A("invalid opts.path");let e=r.path;r.path.startsWith("/")||(e=`/${e}`),t=new URL(a.parseOrigin(t).origin+e)}else r||(r="object"==typeof t?t:{}),t=a.parseURL(t);let{agent:i,dispatcher:s=g(),...o}=r;if(i)throw new A("unsupported opts.agent. Did you mean opts.client?");return e.call(s,{...o,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}n(2645),n(7424),Object.assign(i.prototype,l),e.exports.g6=s,n(7884),n(3128),n(9620),n(5850),n(4053),n(6056),n(9287),n(7870),n(415),n(7068),a.parseHeaders,a.headerNameToString;let m=n(7564).fetch;e.exports.hd=function(r,n){return m(r,n).catch(r=>{throw t?!function e(t,r){if(!t||"object"!=typeof t)return;let n="string"==typeof t.stack?t.stack:"",i=r.replace(/\\/g,"/");if(n&&(n.includes(r)||n.includes(i)))return;let s={};if(Error.captureStackTrace(s,e),!s.stack)return;let o=s.stack.split("\n").slice(1).join("\n");t.stack=n?`${n} -${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.hd),r})},e.exports.Lr=n(3470).Headers,e.exports.YK=n(165).Response,e.exports.Kd=n(9553).Request,e.exports.fS=n(1304).FormData;let{setGlobalOrigin:p,getGlobalOrigin:C}=n(1045),{CacheStorage:f}=n(3691),{kConstruct:I}=n(3025);new f(I);let{deleteCookie:E,getCookies:y,getSetCookies:B,setCookie:Q,parseCookie:N}=n(5823),{parseMIMEType:b,serializeAMimeType:S}=n(3518),{CloseEvent:w,ErrorEvent:D,MessageEvent:x}=n(7342),{WebSocket:R,ping:k}=n(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=D,e.exports.aM=x,n(3867).WebSocketStream,n(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:v}=n(7288);e.exports.GD=v},4032(e,t,r){let{addAbortListener:n}=r(1210),{RequestAbortedError:i}=r(8065),s=Symbol("kListener"),o=Symbol("kSignal");function a(e){e.abort?e.abort(e[o]?.reason):e.reason=e[o]?.reason??new i,A(e)}function A(e){e[o]&&("removeEventListener"in e[o]?e[o].removeEventListener("abort",e[s]):e[o].removeListener("abort",e[s]),e[o]=null,e[s]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[o]=null,e[s]=null,t){if(t.aborted)return void a(e);e[o]=t,e[s]=()=>{a(e)},n(e[o],e[s])}},removeSignal:A}},5854(e,t,r){let n=r(4589),{AsyncResource:i}=r(6698),{InvalidArgumentError:s,SocketError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends i{constructor(e,t){if(!e||"object"!=typeof e)throw new s("invalid opts");if("function"!=typeof t)throw new s("invalid callback");let{signal:r,opaque:n,responseHeaders:i}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(n(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new o("bad connect",null)}onRequestUpgrade(e,t,r,n){let{callback:i,opaque:s,context:o}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?a.parseRawHeaders(c):r),this.runInAsyncScope(i,null,null,{statusCode:t,headers:A,socket:n,opaque:s,context:o})}onResponseError(e,t){let{callback:r,opaque:n}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,n)=>{e.call(this,t,(e,t)=>e?n(e):r(t))});try{let e=new c(t,r),n={...t,method:"CONNECT"};this.dispatch(n,e)}catch(n){if("function"!=typeof r)throw n;let e=t?.opaque;queueMicrotask(()=>r(n,{opaque:e}))}}},4372(e,t,r){let{Readable:n,Duplex:i,PassThrough:s}=r(7075),o=r(4589),{AsyncResource:a}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:g}=r(3025),{addSignal:u,removeSignal:h}=r(4032);function m(){}let p=Symbol("resume");class C extends n{constructor(){super({autoDestroy:!0}),this[p]=null,this[g]=!0}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}}class f extends n{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class I extends a{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:n,opaque:s,onInfo:o,responseHeaders:a}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===n)throw new A("invalid method");if(o&&"function"!=typeof o)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=a||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new C().on("error",m),this.ret=new i({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:n}=this;n.push(e,t)||n._readableState.destroyed?r():n[p]=r},destroy:(e,t)=>{let{body:r,req:n,res:i,ret:s,abort:o}=this;e||s._readableState.endEmitted||(e=new c),o&&e&&o(),d.destroy(r,e),d.destroy(n,e),d.destroy(i,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(o(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,n){let i,{opaque:s,handler:o,context:a}=this;if(t<200){if(this.onInfo){let n=e?.rawHeaders,i="raw"===this.responseHeaders?d.parseRawHeaders(n):r;this.onInfo({statusCode:t,headers:i})}return}this.res=new f(()=>e.resume());try{this.handler=null;let n=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(n):r;i=this.runInAsyncScope(o,null,{statusCode:t,headers:A,opaque:s,body:this.res,context:a})}catch(e){throw this.res.on("error",m),e}if(!i||"function"!=typeof i.on)throw new l("expected Readable");i.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=i}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new I(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new s().destroy(e)}}},2545(e,t,r){let n=r(4589),{AsyncResource:i}=r(6698),{Readable:s}=r(7769),{InvalidArgumentError:o,RequestAbortedError:a}=r(8065),A=r(1210);function l(){}class c extends i{constructor(e,t){if(!e||"object"!=typeof e)throw new o("invalid opts");let{signal:r,method:n,opaque:i,body:s,onInfo:c,responseHeaders:d,highWaterMark:g}=e;try{if("function"!=typeof t)throw new o("invalid callback");if(null!=g&&(!Number.isFinite(g)||g<0))throw new o("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new o("signal must be an EventEmitter or EventTarget");if("CONNECT"===n)throw new o("invalid method");if(c&&"function"!=typeof c)throw new o("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(s)&&A.destroy(s.on("error",l),e),e}this.method=n,this.responseHeaders=d||null,this.opaque=i||null,this.callback=t,this.res=null,this.abort=null,this.body=s,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=g,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new a:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new a,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(n(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,n){let{callback:i,opaque:o,context:a,responseHeaders:c,highWaterMark:d}=this,g=e?.rawHeaders,u="raw"===c?A.parseRawHeaders(g):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}let h=r?.["content-type"],m=r?.["content-length"],p=new s({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener&&(p.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=p,null!==i)try{this.runInAsyncScope(i,null,null,{statusCode:t,statusText:n,headers:u,trailers:this.trailers,opaque:o,body:p,context:a})}catch(e){this.res=null,A.destroy(p.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),i&&(this.body=null,A.isStream(i)&&(i.on("error",l),A.destroy(i,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,n)=>{e.call(this,t,(e,t)=>e?n(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(n){if("function"!=typeof r)throw n;let e=t?.opaque;queueMicrotask(()=>r(n,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let n=r(4589),{AsyncResource:i}=r(6698),{InvalidArgumentError:s,InvalidReturnValueError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends i{constructor(e,t,r){if(!e||"object"!=typeof e)throw new s("invalid opts");let{signal:n,method:i,opaque:o,body:l,onInfo:d,responseHeaders:g}=e;try{if("function"!=typeof r)throw new s("invalid callback");if("function"!=typeof t)throw new s("invalid factory");if(n&&"function"!=typeof n.on&&"function"!=typeof n.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new s("invalid method");if(d&&"function"!=typeof d)throw new s("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw a.isStream(l)&&a.destroy(l.on("error",c),e),e}this.responseHeaders=g||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,a.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,n)}onRequestStart(e,t){this.reason?e.abort(this.reason):(n(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,n){var i;let s,A,l,c,d,{factory:g,opaque:u,context:h,responseHeaders:m}=this,p=e?.rawHeaders,C="raw"===m?a.parseRawHeaders(p):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:C});return}if(this.factory=null,null===g)return;let f=this.runInAsyncScope(g,null,{statusCode:t,headers:C,opaque:u,context:h});if(!f||"function"!=typeof f.write||"function"!=typeof f.end||"function"!=typeof f.on)throw new o("expected Writable");i=(e,t)=>{let{callback:r,res:n,opaque:i,trailers:s,abort:o}=this;this.res=null,(e||!n?.readable)&&a.destroy(n,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:i,trailers:s}),e&&o(e)},s=!1,A=(e,t=!1)=>{s||(s=!0,f.removeListener("close",l),f.removeListener("error",c),f.removeListener("finish",d),i(e,t))},l=()=>{let e;A(f.errored??f.writableErrored??f._writableState?.errored??(f.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),f.on("close",l),f.on("error",c),f.on("finish",d),f.closed?process.nextTick(l):f.writableFinished&&process.nextTick(d),f.on("drain",()=>e.resume()),this.res=f,!0===(void 0!==f.writableNeedDrain?f.writableNeedDrain:f._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:n,opaque:i,body:s}=this;l(this),this.factory=null,r?(this.res=null,a.destroy(r,t)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:i})})),s&&(this.body=null,a.destroy(s,t))}}e.exports=function e(t,r,n){if(void 0===n)return new Promise((n,i)=>{e.call(this,t,r,(e,t)=>e?i(e):n(t))});try{let e=new d(t,r,n);this.dispatch(t,e)}catch(r){if("function"!=typeof n)throw r;let e=t?.opaque;queueMicrotask(()=>n(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:n,SocketError:i}=r(8065),{AsyncResource:s}=r(6698),o=r(4589),a=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new n("invalid opts");if("function"!=typeof t)throw new n("invalid callback");let{signal:r,opaque:i,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(o(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new i("bad upgrade",null)}onRequestUpgrade(e,t,r,n){if(t!==(!0===n[A]?200:101)){let t=!0===n[A]?null:a.getSocketInfo(n);e.abort(new i("bad upgrade",t));return}let{callback:s,opaque:o,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,g="raw"===this.responseHeaders?a.parseRawHeaders(d):r;this.runInAsyncScope(s,null,null,{headers:g,socket:n,opaque:o,context:l})}onResponseError(e,t){let{callback:r,opaque:n}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,n)=>{e.call(this,t,(e,t)=>e?n(e):r(t))});try{let e=new d(t,r),n={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(n,e)}catch(n){if("function"!=typeof r)throw n;let e=t?.opaque;queueMicrotask(()=>r(n,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let n=r(4589),{addAbortListener:i}=r(8474),{Readable:s}=r(7075),{RequestAbortedError:o,NotSupportedError:a,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),g=Symbol("kConsume"),u=Symbol("kReading"),h=Symbol("kBody"),m=Symbol("kAbort"),p=Symbol("kContentType"),C=Symbol("kContentLength"),f=Symbol("kUsed"),I=Symbol("kBytesRead"),E=Symbol("kPreservedBuffer"),y=()=>{};function B(e,t){return n(!e[g]),new Promise((r,n)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[g]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",n).on("close",()=>{n(TypeError("unusable"))}):n(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[g]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]},e.on("error",function(e){w(this[g],e)}).on("close",function(){null!==this[g].body&&w(this[g],new o)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[E];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[E]=null}else if(t.bufferIndex){let r=t.bufferIndex,n=t.buffer.length;for(let i=r;i<n;i++)S(e,t.buffer[i])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?b(this[g],this._readableState.encoding):e.stream.on("end",function(){b(this[g],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[g])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let n=1===e.length?e[0]:Buffer.concat(e,t),i=n.length,s=3*(i>2&&239===n[0]&&187===n[1]&&191===n[2]);return r&&"utf8"!==r&&"utf-8"!==r?n.subarray(s,i).toString(r):n.utf8Slice(s,i)}function N(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),n=0;for(let t=0;t<e.length;++t){let i=e[t];r.set(i,n),n+=i.length}return r}function b(e,t){let{type:r,body:n,resolve:i,stream:s,length:o}=e;try{"text"===r?i(Q(n,o,t)):"json"===r?i(JSON.parse(Q(n,o,t))):"arrayBuffer"===r?i(N(n,o).buffer):"blob"===r?i(new Blob(n,{type:s[p]})):"bytes"===r&&i(N(n,o)),w(e)}catch(e){s.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends s{constructor({resume:e,abort:t,contentType:r="",contentLength:n,highWaterMark:i=65536}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[m]=t,this[g]=null,this[I]=0,this[h]=null,this[f]=!1,this[p]=r,this[C]=Number.isFinite(n)?n:null,this[u]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new o),e&&this[m](),this[f]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[u]=!0,this[f]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[I]+=e.length,this[g])?(S(this[g],e),!this[u]||super.push(e)):super.push(e)}text(){return B(this,"text")}json(){return B(this,"json")}blob(){return B(this,"blob")}bytes(){return B(this,"bytes")}arrayBuffer(){return B(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[g]&&(this[h].getReader(),n(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,n)=>{if((this[C]&&this[C]>r||this[I]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},s=i(t,r);this.on("close",function(){s[Symbol.dispose](),t.aborted?n(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",y).on("data",()=>{this[I]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,n=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&n.push(t);n.length>0&&(this[E]=(this[E]||[]).concat(n))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:n}=r(7075),{EventEmitter:i}=r(8474),{assertCacheKey:s,assertCacheValue:o}=r(8621);class a extends i{#e=1024;#t=0x6400000;#r=5242880;#n=0;#i=0;#s=new Map;#o=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#n}isFull(){return this.#n>=this.#t||this.#i>=this.#e}get(e){s(e);let t=`${e.origin}:${e.path}`,r=Date.now(),n=this.#s.get(t),i=n?A(e,n,r):null;return null==i?void 0:{statusMessage:i.statusMessage,statusCode:i.statusCode,headers:i.headers,body:i.body,vary:i.vary?i.vary:void 0,etag:i.etag,cacheControlDirectives:i.cacheControlDirectives,cachedAt:i.cachedAt,staleAt:i.staleAt,deleteAt:i.deleteAt}}createWriteStream(e,t){s(e),o(t);let r=`${e.origin}:${e.path}`,i=this,a={...e,...t,body:[],size:0};return new n({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),a.size+=e.byteLength,a.size>i.#r?this.destroy():a.body.push(e),r(null)},final(t){let n=i.#s.get(r);n||(n=[],i.#s.set(r,n));let s=A(e,n,Date.now());if(s){let e=n.indexOf(s);n.splice(e,1,a),i.#n-=s.size}else n.push(a),i.#i+=1;if(i.#n+=a.size,i.#n>i.#t||i.#i>i.#e){for(let[e,t]of(i.#o||(i.emit("maxSizeExceeded",{size:i.#n,maxSize:i.#t,count:i.#i,maxCount:i.#e}),i.#o=!0),i.#s)){for(let e of t.splice(0,t.length/2))i.#n-=e.size,i.#i-=1;0===t.length&&i.#s.delete(e)}i.#n<i.#t&&i.#i<i.#e&&(i.#o=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#s.get(t)??[])this.#n-=e.size,this.#i-=1;this.#s.delete(t)}}function A(e,t,r){for(let n=0;n<t.length;n++){let i=t[n];if(i.deleteAt>r&&i.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,i))return i}}e.exports=a},7068(e,t,r){let n,{Writable:i}=r(7075),{assertCacheKey:s,assertCacheValue:o}=r(8621);e.exports=class{#r=2e9;#e=1/0;#a;#A;#l;#c;#d;#g;#u;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}n||(n=r(99).DatabaseSync),this.#a=new n(e?.location??":memory:"),this.#a.exec(` +import{fileURLToPath as e}from"node:url";var t,r,i=e(import.meta.url);import{createRequire as n}from"node:module";let s=n(import.meta.url);var a={9557(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let a=s(r(8611)),o=s(r(5692));async function A(e){let t=0,r=[];for await(let i of e)t+=i.length,r.push(i);return Buffer.concat(r,t)}t.toBuffer=A,t.json=async function(e){let t=(await A(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}},t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?o:a).request(e,t),i=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=i.then.bind(i),r}},2120(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let o=s(r(9278)),A=s(r(8611)),l=r(5692);a(r(9557),t);let c=Symbol("AgentBaseInternalState");class d extends A.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new o.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],i=r.indexOf(t);-1!==i&&(r.splice(i,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?l.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let i={...t,secureEndpoint:this.isSecureEndpoint(t)},n=this.getName(i),s=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(a=>{if(this.decrementSockets(n,s),a instanceof A.Agent)try{return a.addRequest(e,i)}catch(e){return r(e)}this[c].currentSocket=a,super.createSocket(e,t,r)},e=>{this.decrementSockets(n,s),r(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[c]&&(this[c].protocol=e)}}t.Agent=d},4879(e,t,r){let i;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let i=0,n=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))}),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),i=!1,t.destroy=()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(5826)(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5826(e,t,r){e.exports=function(e){function t(e){let r,n,s,a=null;function o(...e){if(!o.enabled)return;let i=Number(new Date);o.diff=i-(r||i),o.prev=r,o.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";n++;let s=t.formatters[i];if("function"==typeof s){let t=e[n];r=s.call(o,t),e.splice(n,1),n--}return r}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=i,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(n!==t.namespaces&&(n=t.namespaces,s=t.enabled(e)),s),set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function i(e,r){let i=t(this.namespace+(void 0===r?":":r)+e);return i.log=this.log,i}function n(e,t){let r=0,i=0,n=-1,s=0;for(;r<e.length;)if(i<t.length&&(t[i]===e[r]||"*"===t[i]))"*"===t[i]?(n=i,s=r):r++,i++;else{if(-1===n)return!1;i=n+1,r=++s}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=r(9049),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5243(e,t,r){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(4879):e.exports=r(5051)},5051(e,t,r){let i=r(2018),n=r(9023);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let i=0;i<r.length;i++)e.inspectOpts[r[i]]=t.inspectOpts[r[i]]},t.log=function(...e){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:i,useColors:n}=this;if(n){let t=this.color,n="\x1b[3"+(t<8?t:"8;5;"+t),s=` ${n};1m${i} \u001B[0m`;r[0]=s+r[0].split("\n").join("\n"+s),r.push(n+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+i+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)},t.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(9478);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[r]=i,e},{}),e.exports=r(5826)(t);let{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},1533(e){e.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return -1!==i&&(-1===n||i<n)}},7277(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpProxyAgent=void 0;let o=s(r(9278)),A=s(r(4756)),l=a(r(5243)),c=r(4434),d=r(2120),u=r(7016),g=(0,l.default)("http-proxy-agent");class h extends d.Agent{constructor(e,t){super(t),this.proxy="string"==typeof e?new u.URL(e):e,this.proxyHeaders=t?.headers??{},g("Creating new HttpProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...t?function(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}(t,"headers"):null,host:r,port:i}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:r}=this,i=t.secureEndpoint?"https:":"http:",n=e.getHeader("host")||"localhost",s=`${i}//${n}`,a=new u.URL(e.path,s);80!==t.port&&(a.port=String(t.port)),e.path=String(a);let o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let t of(o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(o))){let r=o[t];r&&e.setHeader(t,r)}}async connect(e,t){let r,i,n;return e._header=null,e.path.includes("://")||this.setRequestProps(e,t),g("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(g("Patching connection write() output buffer with updated header"),i=(r=e.outputData[0].data).indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+r.substring(i),g("Output buffer: %o",e.outputData[0].data)),"https:"===this.proxy.protocol?(g("Creating `tls.Socket`: %o",this.connectOpts),n=A.connect(this.connectOpts)):(g("Creating `net.Socket`: %o",this.connectOpts),n=o.connect(this.connectOpts)),await (0,c.once)(n,"connect"),n}}h.protocols=["http","https"],t.HttpProxyAgent=h},6565(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let o=s(r(9278)),A=s(r(4756)),l=a(r(2613)),c=a(r(5243)),d=r(2120),u=r(7016),g=r(679),h=(0,c.default)("https-proxy-agent"),p=e=>void 0===e.servername&&e.host&&!o.isIP(e.host)?{...e,servername:e.host}:e;class m extends d.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new u.URL(e):e,this.proxyHeaders=t?.headers??{},h("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?C(t,"headers"):null,host:r,port:i}}async connect(e,t){let r,{proxy:i}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===i.protocol?(h("Creating `tls.Socket`: %o",this.connectOpts),r=A.connect(p(this.connectOpts))):(h("Creating `net.Socket`: %o",this.connectOpts),r=o.connect(this.connectOpts));let n="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=o.isIPv6(t.host)?`[${t.host}]`:t.host,a=`CONNECT ${s}:${t.port} HTTP/1.1\r +`;if(i.username||i.password){let e=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(n.Host=`${s}:${t.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(n)))a+=`${e}: ${n[e]}\r +`;let c=(0,g.parseProxyResponse)(r);r.write(`${a}\r +`);let{connect:d,buffered:u}=await c;if(e.emit("proxyConnect",d),this.emit("proxyConnect",d,e),200===d.statusCode)return(e.once("socket",f),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),A.connect({...C(p(t),"host","path","port"),socket:r})):r;r.destroy();let m=new o.Socket({writable:!1});return m.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,l.default)(e.listenerCount("data")>0),e.push(u),e.push(null)}),m}}function f(e){e.resume()}function C(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}m.protocols=["http","https"],t.HttpsProxyAgent=m},679(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let n=(0,i(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let i=0,s=[];function a(){let A=e.read();A?function(A){s.push(A),i+=A.length;let l=Buffer.concat(s,i),c=l.indexOf("\r\n\r\n");if(-1===c){n("have not received end of HTTP headers yet..."),a();return}let d=l.slice(0,c).toString("ascii").split("\r\n"),u=d.shift();if(!u)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let g=u.split(" "),h=+g[1],p=g.slice(2).join(" "),m={};for(let t of d){if(!t)continue;let i=t.indexOf(":");if(-1===i)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let n=t.slice(0,i).toLowerCase(),s=t.slice(i+1).trimStart(),a=m[n];"string"==typeof a?m[n]=[a,s]:Array.isArray(a)?a.push(s):m[n]=s}n("got proxy server response: %o %o",u,m),o(),t({connect:{statusCode:h,statusText:p,headers:m},buffered:l})}(A):e.once("readable",a)}function o(){e.removeListener("end",A),e.removeListener("error",l),e.removeListener("readable",a)}function A(){o(),n("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function l(e){o(),n("onerror %o",e),r(e)}e.on("error",l),e.on("end",A),a()})}},9049(e){function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,n,s,a,o=typeof e;if("string"===o&&e.length>0){var A=e;if(!((A=String(A)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===o&&isFinite(e)){return r.long?(n=Math.abs(i=e))>=864e5?t(i,n,864e5,"day"):n>=36e5?t(i,n,36e5,"hour"):n>=6e4?t(i,n,6e4,"minute"):n>=1e3?t(i,n,1e3,"second"):i+" ms":(a=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":a>=36e5?Math.round(s/36e5)+"h":a>=6e4?Math.round(s/6e4)+"m":a>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let i,n=r(857),s=r(2018),a=r(1533),{env:o}=process;function A(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===i)return 0;if(a("color=16m")||a("color=full")||a("color=truecolor"))return 3;if(a("color=256"))return 2;if(e&&!t&&void 0===i)return 0;let r=i||0;if("dumb"===o.TERM)return r;if("win32"===process.platform){let e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in o)||"codeship"===o.CI_NAME?1:r;if("TEAMCITY_VERSION"in o)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION);if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){let e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:r}a("no-color")||a("no-colors")||a("color=false")||a("color=never")?i=0:(a("color")||a("colors")||a("color=true")||a("color=always"))&&(i=1),"FORCE_COLOR"in o&&(i="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return A(l(e,e&&e.isTTY))},stdout:A(l(!0,s.isatty(1))),stderr:A(l(!0,s.isatty(2)))}},3006(e,t,r){r(5183);let n=r(6873);r(6334),r(4967),r(1326);let s=r(5891);r(6400),r(3614),r(9741),r(9003),r(8392),r(473);let a=r(8065),o=r(1210),{InvalidArgumentError:A}=a,l=r(8769);r(5010),r(375);let{MockCallHistory:c,MockCallHistoryLog:d}=r(2137);r(6923),r(8182),r(2817),r(8531),r(4166);let{getGlobalDispatcher:u,setGlobalDispatcher:g}=r(8023);function h(e){return(t,r,i)=>{if("function"==typeof r&&(i=r,r=null),!t||"string"!=typeof t&&"object"!=typeof t&&!(t instanceof URL))throw new A("invalid url");if(null!=r&&"object"!=typeof r)throw new A("invalid opts");if(r&&null!=r.path){if("string"!=typeof r.path)throw new A("invalid opts.path");let e=r.path;r.path.startsWith("/")||(e=`/${e}`),t=new URL(o.parseOrigin(t).origin+e)}else r||(r="object"==typeof t?t:{}),t=o.parseURL(t);let{agent:n,dispatcher:s=u(),...a}=r;if(n)throw new A("unsupported opts.agent. Did you mean opts.client?");return e.call(s,{...a,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},i)}}r(2645),r(7424),Object.assign(n.prototype,l),e.exports.g6=s,r(7884),r(3128),r(9620),r(5850),r(4053),r(6056),r(9287),r(7870),r(415),r(7068),o.parseHeaders,o.headerNameToString;let p=r(7564).fetch;e.exports.hd=function(t,r){return p(t,r).catch(t=>{throw i?!function e(t,r){if(!t||"object"!=typeof t)return;let i="string"==typeof t.stack?t.stack:"",n=r.replace(/\\/g,"/");if(i&&(i.includes(r)||i.includes(n)))return;let s={};if(Error.captureStackTrace(s,e),!s.stack)return;let a=s.stack.split("\n").slice(1).join("\n");t.stack=i?`${i} +${a}`:s.stack}(t,i):t&&"object"==typeof t&&Error.captureStackTrace(t,e.exports.hd),t})},e.exports.Lr=r(3470).Headers,e.exports.YK=r(165).Response,e.exports.Kd=r(9553).Request,e.exports.fS=r(1304).FormData;let{setGlobalOrigin:m,getGlobalOrigin:f}=r(1045),{CacheStorage:C}=r(3691),{kConstruct:y}=r(3025);new C(y);let{deleteCookie:I,getCookies:E,getSetCookies:B,setCookie:Q,parseCookie:b}=r(5823),{parseMIMEType:N,serializeAMimeType:S}=r(3518),{CloseEvent:w,ErrorEvent:x,MessageEvent:D}=r(7342),{WebSocket:R,ping:v}=r(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=x,e.exports.aM=D,r(3867).WebSocketStream,r(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:k}=r(7288);e.exports.GD=k},4032(e,t,r){let{addAbortListener:i}=r(1210),{RequestAbortedError:n}=r(8065),s=Symbol("kListener"),a=Symbol("kSignal");function o(e){e.abort?e.abort(e[a]?.reason):e.reason=e[a]?.reason??new n,A(e)}function A(e){e[a]&&("removeEventListener"in e[a]?e[a].removeEventListener("abort",e[s]):e[a].removeListener("abort",e[s]),e[a]=null,e[s]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[a]=null,e[s]=null,t){if(t.aborted)return void o(e);e[a]=t,e[s]=()=>{o(e)},i(e[a],e[s])}},removeSignal:A}},5854(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{InvalidArgumentError:s,SocketError:a}=r(8065),o=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new s("invalid opts");if("function"!=typeof t)throw new s("invalid callback");let{signal:r,opaque:i,responseHeaders:n}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=n||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new a("bad connect",null)}onRequestUpgrade(e,t,r,i){let{callback:n,opaque:s,context:a}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?o.parseRawHeaders(c):r),this.runInAsyncScope(n,null,null,{statusCode:t,headers:A,socket:i,opaque:s,context:a})}onResponseError(e,t){let{callback:r,opaque:i}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r),i={...t,method:"CONNECT"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},4372(e,t,r){let{Readable:i,Duplex:n,PassThrough:s}=r(7075),a=r(4589),{AsyncResource:o}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:u}=r(3025),{addSignal:g,removeSignal:h}=r(4032);function p(){}let m=Symbol("resume");class f extends i{constructor(){super({autoDestroy:!0}),this[m]=null,this[u]=!0}_read(){let{[m]:e}=this;e&&(this[m]=null,e())}_destroy(e,t){this._read(),t(e)}}class C extends i{constructor(e){super({autoDestroy:!0}),this[m]=e}_read(){this[m]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class y extends o{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:i,opaque:s,onInfo:a,responseHeaders:o}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new A("invalid method");if(a&&"function"!=typeof a)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=o||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new f().on("error",p),this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:i}=this;i.push(e,t)||i._readableState.destroyed?r():i[m]=r},destroy:(e,t)=>{let{body:r,req:i,res:n,ret:s,abort:a}=this;e||s._readableState.endEmitted||(e=new c),a&&e&&a(),d.destroy(r,e),d.destroy(i,e),d.destroy(n,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,g(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(a(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let n,{opaque:s,handler:a,context:o}=this;if(t<200){if(this.onInfo){let i=e?.rawHeaders,n="raw"===this.responseHeaders?d.parseRawHeaders(i):r;this.onInfo({statusCode:t,headers:n})}return}this.res=new C(()=>e.resume());try{this.handler=null;let i=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(i):r;n=this.runInAsyncScope(a,null,{statusCode:t,headers:A,opaque:s,body:this.res,context:o})}catch(e){throw this.res.on("error",p),e}if(!n||"function"!=typeof n.on)throw new l("expected Readable");n.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=n}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new y(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new s().destroy(e)}}},2545(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{Readable:s}=r(7769),{InvalidArgumentError:a,RequestAbortedError:o}=r(8065),A=r(1210);function l(){}class c extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new a("invalid opts");let{signal:r,method:i,opaque:n,body:s,onInfo:c,responseHeaders:d,highWaterMark:u}=e;try{if("function"!=typeof t)throw new a("invalid callback");if(null!=u&&(!Number.isFinite(u)||u<0))throw new a("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new a("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new a("invalid method");if(c&&"function"!=typeof c)throw new a("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(s)&&A.destroy(s.on("error",l),e),e}this.method=i,this.responseHeaders=d||null,this.opaque=n||null,this.callback=t,this.res=null,this.abort=null,this.body=s,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=u,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new o:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new o,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let{callback:n,opaque:a,context:o,responseHeaders:c,highWaterMark:d}=this,u=e?.rawHeaders,g="raw"===c?A.parseRawHeaders(u):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:g});return}let h=r?.["content-type"],p=r?.["content-length"],m=new s({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&p?Number(p):null,highWaterMark:d});if(this.removeAbortListener&&(m.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=m,null!==n)try{this.runInAsyncScope(n,null,null,{statusCode:t,statusText:i,headers:g,trailers:this.trailers,opaque:a,body:m,context:o})}catch(e){this.res=null,A.destroy(m.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:i,body:n,opaque:s}=this;i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),n&&(this.body=null,A.isStream(n)&&(n.on("error",l),A.destroy(n,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{InvalidArgumentError:s,InvalidReturnValueError:a}=r(8065),o=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends n{constructor(e,t,r){if(!e||"object"!=typeof e)throw new s("invalid opts");let{signal:i,method:n,opaque:a,body:l,onInfo:d,responseHeaders:u}=e;try{if("function"!=typeof r)throw new s("invalid callback");if("function"!=typeof t)throw new s("invalid factory");if(i&&"function"!=typeof i.on&&"function"!=typeof i.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");if("CONNECT"===n)throw new s("invalid method");if(d&&"function"!=typeof d)throw new s("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw o.isStream(l)&&o.destroy(l.on("error",c),e),e}this.responseHeaders=u||null,this.opaque=a||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,o.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,i)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){var n;let s,A,l,c,d,{factory:u,opaque:g,context:h,responseHeaders:p}=this,m=e?.rawHeaders,f="raw"===p?o.parseRawHeaders(m):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:f});return}if(this.factory=null,null===u)return;let C=this.runInAsyncScope(u,null,{statusCode:t,headers:f,opaque:g,context:h});if(!C||"function"!=typeof C.write||"function"!=typeof C.end||"function"!=typeof C.on)throw new a("expected Writable");n=(e,t)=>{let{callback:r,res:i,opaque:n,trailers:s,abort:a}=this;this.res=null,(e||!i?.readable)&&o.destroy(i,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:n,trailers:s}),e&&a(e)},s=!1,A=(e,t=!1)=>{s||(s=!0,C.removeListener("close",l),C.removeListener("error",c),C.removeListener("finish",d),n(e,t))},l=()=>{let e;A(C.errored??C.writableErrored??C._writableState?.errored??(C.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),C.on("close",l),C.on("error",c),C.on("finish",d),C.closed?process.nextTick(l):C.writableFinished&&process.nextTick(d),C.on("drain",()=>e.resume()),this.res=C,!0===(void 0!==C.writableNeedDrain?C.writableNeedDrain:C._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:i,opaque:n,body:s}=this;l(this),this.factory=null,r?(this.res=null,o.destroy(r,t)):i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:n})})),s&&(this.body=null,o.destroy(s,t))}}e.exports=function e(t,r,i){if(void 0===i)return new Promise((i,n)=>{e.call(this,t,r,(e,t)=>e?n(e):i(t))});try{let e=new d(t,r,i);this.dispatch(t,e)}catch(r){if("function"!=typeof i)throw r;let e=t?.opaque;queueMicrotask(()=>i(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:i,SocketError:n}=r(8065),{AsyncResource:s}=r(6698),a=r(4589),o=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new i("invalid opts");if("function"!=typeof t)throw new i("invalid callback");let{signal:r,opaque:n,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new i("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=n||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(a(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new n("bad upgrade",null)}onRequestUpgrade(e,t,r,i){if(t!==(!0===i[A]?200:101)){let t=!0===i[A]?null:o.getSocketInfo(i);e.abort(new n("bad upgrade",t));return}let{callback:s,opaque:a,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,u="raw"===this.responseHeaders?o.parseRawHeaders(d):r;this.runInAsyncScope(s,null,null,{headers:u,socket:i,opaque:a,context:l})}onResponseError(e,t){let{callback:r,opaque:i}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new d(t,r),i={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let i=r(4589),{addAbortListener:n}=r(8474),{Readable:s}=r(7075),{RequestAbortedError:a,NotSupportedError:o,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),u=Symbol("kConsume"),g=Symbol("kReading"),h=Symbol("kBody"),p=Symbol("kAbort"),m=Symbol("kContentType"),f=Symbol("kContentLength"),C=Symbol("kUsed"),y=Symbol("kBytesRead"),I=Symbol("kPreservedBuffer"),E=()=>{};function B(e,t){return i(!e[u]),new Promise((r,i)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[u]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",i).on("close",()=>{i(TypeError("unusable"))}):i(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[u]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]},e.on("error",function(e){w(this[u],e)}).on("close",function(){null!==this[u].body&&w(this[u],new a)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[I];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[I]=null}else if(t.bufferIndex){let r=t.bufferIndex,i=t.buffer.length;for(let n=r;n<i;n++)S(e,t.buffer[n])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?N(this[u],this._readableState.encoding):e.stream.on("end",function(){N(this[u],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[u])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let i=1===e.length?e[0]:Buffer.concat(e,t),n=i.length,s=3*(n>2&&239===i[0]&&187===i[1]&&191===i[2]);return r&&"utf8"!==r&&"utf-8"!==r?i.subarray(s,n).toString(r):i.utf8Slice(s,n)}function b(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),i=0;for(let t=0;t<e.length;++t){let n=e[t];r.set(n,i),i+=n.length}return r}function N(e,t){let{type:r,body:i,resolve:n,stream:s,length:a}=e;try{"text"===r?n(Q(i,a,t)):"json"===r?n(JSON.parse(Q(i,a,t))):"arrayBuffer"===r?n(b(i,a).buffer):"blob"===r?n(new Blob(i,{type:s[m]})):"bytes"===r&&n(b(i,a)),w(e)}catch(e){s.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends s{constructor({resume:e,abort:t,contentType:r="",contentLength:i,highWaterMark:n=65536}){super({autoDestroy:!0,read:e,highWaterMark:n}),this._readableState.dataEmitted=!1,this[p]=t,this[u]=null,this[y]=0,this[h]=null,this[C]=!1,this[m]=r,this[f]=Number.isFinite(i)?i:null,this[g]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new a),e&&this[p](),this[C]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[g]=!0,this[C]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[g]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[y]+=e.length,this[u])?(S(this[u],e),!this[g]||super.push(e)):super.push(e)}text(){return B(this,"text")}json(){return B(this,"json")}blob(){return B(this,"blob")}bytes(){return B(this,"bytes")}arrayBuffer(){return B(this,"arrayBuffer")}async formData(){throw new o}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[u]&&(this[h].getReader(),i(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,i)=>{if((this[f]&&this[f]>r||this[y]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},s=n(t,r);this.on("close",function(){s[Symbol.dispose](),t.aborted?i(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",E).on("data",()=>{this[y]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,i=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&i.push(t);i.length>0&&(this[I]=(this[I]||[]).concat(i))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:i}=r(7075),{EventEmitter:n}=r(8474),{assertCacheKey:s,assertCacheValue:a}=r(8621);class o extends n{#e=1024;#t=0x6400000;#r=5242880;#i=0;#n=0;#s=new Map;#a=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#i}isFull(){return this.#i>=this.#t||this.#n>=this.#e}get(e){s(e);let t=`${e.origin}:${e.path}`,r=Date.now(),i=this.#s.get(t),n=i?A(e,i,r):null;return null==n?void 0:{statusMessage:n.statusMessage,statusCode:n.statusCode,headers:n.headers,body:n.body,vary:n.vary?n.vary:void 0,etag:n.etag,cacheControlDirectives:n.cacheControlDirectives,cachedAt:n.cachedAt,staleAt:n.staleAt,deleteAt:n.deleteAt}}createWriteStream(e,t){s(e),a(t);let r=`${e.origin}:${e.path}`,n=this,o={...e,...t,body:[],size:0};return new i({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),o.size+=e.byteLength,o.size>n.#r?this.destroy():o.body.push(e),r(null)},final(t){let i=n.#s.get(r);i||(i=[],n.#s.set(r,i));let s=A(e,i,Date.now());if(s){let e=i.indexOf(s);i.splice(e,1,o),n.#i-=s.size}else i.push(o),n.#n+=1;if(n.#i+=o.size,n.#i>n.#t||n.#n>n.#e){for(let[e,t]of(n.#a||(n.emit("maxSizeExceeded",{size:n.#i,maxSize:n.#t,count:n.#n,maxCount:n.#e}),n.#a=!0),n.#s)){for(let e of t.splice(0,t.length/2))n.#i-=e.size,n.#n-=1;0===t.length&&n.#s.delete(e)}n.#i<n.#t&&n.#n<n.#e&&(n.#a=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#s.get(t)??[])this.#i-=e.size,this.#n-=1;this.#s.delete(t)}}function A(e,t,r){for(let i=0;i<t.length;i++){let n=t[i];if(n.deleteAt>r&&n.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,n))return n}}e.exports=o},7068(e,t,r){let i,{Writable:n}=r(7075),{assertCacheKey:s,assertCacheValue:a}=r(8621);e.exports=class{#r=2e9;#e=1/0;#o;#A;#l;#c;#d;#u;#g;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}i||(i=r(99).DatabaseSync),this.#o=new i(e?.location??":memory:"),this.#o.exec(` PRAGMA journal_mode = WAL; PRAGMA synchronous = NORMAL; PRAGMA temp_store = memory; @@ -32,7 +32,7 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV3_getValuesQuery ON cacheInterceptorV3(url, method, deleteAt); CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV3_deleteByUrlQuery ON cacheInterceptorV3(deleteAt); - `),this.#A=this.#a.prepare(` + `),this.#A=this.#o.prepare(` SELECT id, body, @@ -51,7 +51,7 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h AND method = ? ORDER BY deleteAt ASC - `),this.#l=this.#a.prepare(` + `),this.#l=this.#o.prepare(` UPDATE cacheInterceptorV3 SET body = ?, deleteAt = ?, @@ -65,7 +65,7 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h staleAt = ? WHERE id = ? - `),this.#c=this.#a.prepare(` + `),this.#c=this.#o.prepare(` INSERT INTO cacheInterceptorV3 ( url, method, @@ -80,7 +80,7 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h cachedAt, staleAt ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `),this.#g=this.#a.prepare("DELETE FROM cacheInterceptorV3 WHERE url = ?"),this.#u=this.#a.prepare("SELECT COUNT(*) AS total FROM cacheInterceptorV3"),this.#d=this.#a.prepare("DELETE FROM cacheInterceptorV3 WHERE deleteAt <= ?"),this.#h=this.#e===1/0?null:this.#a.prepare(` + `),this.#u=this.#o.prepare("DELETE FROM cacheInterceptorV3 WHERE url = ?"),this.#g=this.#o.prepare("SELECT COUNT(*) AS total FROM cacheInterceptorV3"),this.#d=this.#o.prepare("DELETE FROM cacheInterceptorV3 WHERE deleteAt <= ?"),this.#h=this.#e===1/0?null:this.#o.prepare(` DELETE FROM cacheInterceptorV3 WHERE id IN ( SELECT @@ -89,87 +89,85 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h ORDER BY cachedAt ASC LIMIT ? ) - `)}close(){this.#a.close()}get(e){s(e);let t=this.#m(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){s(e);let r=this.#p(e),n=Array.isArray(t.body)?Buffer.concat(t.body):t.body,i=n?.byteLength;if(i&&i>this.#r)return;let o=this.#m(e,!0);o?this.#l.run(n,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,o.id):(this.#c.run(r,e.method,n,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#C())}createWriteStream(e,t){s(e),o(t);let r=0,n=[],a=this;return new i({decodeStrings:!0,write(e,t,i){(r+=e.byteLength)<=a.#r?n.push(e):this.destroy(),i()},final(r){a.set(e,{...t,body:n}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#g.run(this.#p(e))}#C(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#u.get();return e}#p(e){return`${e.origin}/${e.path}`}#m(e,t=!1){let r=this.#p(e),{headers:n,method:i}=e,s=this.#A.all(r,i);if(0===s.length)return;let o=Date.now();for(let e of s){if(o>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(n[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let n,i=r(7030),s=r(4589),o=r(1210),{InvalidArgumentError:a,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:g,timeout:u,session:h,...m}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new a("maxCachedSessions must be a positive integer or zero");let p={path:g,...m},C=new l(null==d?100:d);return u=null==u?1e4:u,e=null==e||e,function({hostname:a,host:l,protocol:d,port:g,servername:m,localAddress:f,httpSocket:I},E){let y;if("https:"===d){n||(n=r(1692));let i=(m=m||p.servername||o.getServerName(l)||null)||a;s(i);let A=h||C.get(i)||null;g=g||443,(y=n.connect({highWaterMark:16384,...p,servername:m,session:A,localAddress:f,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:I,port:g,host:a})).on("session",function(e){C.set(i,e)})}else s(!I,"httpSocket can only be sent on TLS update"),g=g||80,y=i.connect({highWaterMark:65536,...p,localAddress:f,port:g,host:a}),!0===c&&(y.alpnProtocol="h2");if(null==p.keepAlive||p.keepAlive){let e=void 0===p.keepAliveInitialDelay?6e4:p.keepAliveInitialDelay;y.setKeepAlive(!0,e)}let B=o.setupConnectTimeout(new WeakRef(y),{timeout:u,hostname:a,port:g});return y.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(B),E){let e=E;E=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(B),E){let t=E;E=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let n="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?n+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:n+=` (attempted address: ${r.hostname}:${r.port},`;let i=new A(n+=` timeout: ${r.timeout}ms)`);return i.cause=e,i}return e}(e,this,{timeout:u,hostname:a,port:g}))}}),y}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let n=t[e],i=n.toLowerCase();r[n]=r[i]=i}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let n=r(3053),i=r(7975),s=i.debuglog("undici"),o=i.debuglog("fetch"),a=i.debuglog("websocket"),A={beforeConnect:n.channel("undici:client:beforeConnect"),connected:n.channel("undici:client:connected"),connectError:n.channel("undici:client:connectError"),sendHeaders:n.channel("undici:client:sendHeaders"),create:n.channel("undici:request:create"),bodySent:n.channel("undici:request:bodySent"),bodyChunkSent:n.channel("undici:request:bodyChunkSent"),bodyChunkReceived:n.channel("undici:request:bodyChunkReceived"),headers:n.channel("undici:request:headers"),trailers:n.channel("undici:request:trailers"),error:n.channel("undici:request:error"),open:n.channel("undici:websocket:open"),close:n.channel("undici:websocket:close"),socketError:n.channel("undici:websocket:socket_error"),ping:n.channel("undici:websocket:ping"),pong:n.channel("undici:websocket:pong"),proxyConnected:n.channel("undici:proxy:connected")},l=!1;function c(e=s){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,n.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=t;e("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),n.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=t;e("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),n.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:o}=t;e("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,o.message)}),n.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:n,origin:i}}=t;e("sending request to %s %s%s",r,i,n)})}}let d=!1,g=!1;(s.enabled||o.enabled)&&(c(o.enabled?o:s),function(e=s){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,n.subscribe("undici:request:headers",t=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=t;e("received response to %s %s%s - HTTP %d",r,i,n,s)}),n.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:n,origin:i}}=t;e("trailers received from %s %s%s",r,i,n)}),n.subscribe("undici:request:error",t=>{let{request:{method:r,path:n,origin:i},error:s}=t;e("request to %s %s%s errored - %s",r,i,n,s.message)})}}(o.enabled?o:s)),a.enabled&&(c(s.enabled?s:a),function(e=a){if(!g){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){g=!0;return}g=!0,n.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:n}=t.address;e("connection opened %s%s",r,n?`:${n}`:"")}else e("connection opened")}),n.subscribe("undici:websocket:close",t=>{let{websocket:r,code:n,reason:i}=t;e("closed connection to %s - %s %s",r.url,n,i)}),n.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),n.subscribe("undici:websocket:ping",t=>{e("ping received")}),n.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(a)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let n=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class i extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}let s=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class o extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}let a=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[a]}get[a](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class g extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let u=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[u]}get[u](){return!0}}let m=Symbol.for("undici.error.UND_ERR_ABORT");class p extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[m]}get[m](){return!0}}let C=Symbol.for("undici.error.UND_ERR_ABORTED");class f extends p{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[C]}get[C](){return!0}}let I=Symbol.for("undici.error.UND_ERR_INFO");class E extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[I]}get[I](){return!0}}let y=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class B extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[y]}get[y](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class N extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let b=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[b]}get[b](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class D extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let x=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[x]}get[x](){return!0}}let k=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class v extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[k]}get[k](){return!0}}let M=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class U extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let F=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[F]}get[F](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class O extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let H=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class P extends r{constructor(e,t,{headers:r,data:n}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=n,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[H]}get[H](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:n}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=n,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let z=Symbol.for("undici.error.UND_ERR_PRX_TLS");class q extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[z]}get[z](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class _ extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let J=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[J]}get[J](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class K extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:p,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:o,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:B,ConnectTimeoutError:i,InvalidArgumentError:g,InvalidReturnValueError:h,RequestAbortedError:f,ClientDestroyedError:S,ClientClosedError:D,InformationalError:E,SocketError:R,NotSupportedError:v,ResponseContentLengthMismatchError:N,BalancedPoolMissingUpstreamError:U,ResponseExceededMaxSizeError:O,RequestRetryError:P,ResponseError:G,SecureProxyConnectionError:q,ProxyConnectionError:_,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:K}},1037(e,t,r){let{InvalidArgumentError:n,NotSupportedError:i}=r(8065),s=r(4589),{isValidHTTPToken:o,isValidHeaderValue:a,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:g,hasSafeIterator:u,isBlobLike:h,serializePathWithQuery:m,parseHeaders:p,assertRequestHandler:C,getServerName:f,normalizedMethodRecords:I,getProtocolFromUrlString:E}=r(1210),{channels:y}=r(6708),{headerNameLowerCasedRecord:B}=r(7525),Q=/[^\u0021-\u00ff]/,N=Symbol("handler"),b=Symbol("controller"),S=Symbol("resume");class w{#f=!1;#I=null;#E=!1;#y;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#y=e}pause(){this.#f=!0}resume(){this.#f&&(this.#f=!1,this[S]?.())}abort(e){this.#E||(this.#E=!0,this.#I=e,this.#y(e))}get aborted(){return this.#E}get reason(){return this.#I}get paused(){return this.#f}}function D(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new n(`invalid ${t} header`);if(void 0===r)return;let s=B[t];if(void 0===s&&void 0===B[s=t.toLowerCase()]&&!o(s))throw new n("invalid header key");if(Array.isArray(r)){let e=[];for(let i=0;i<r.length;i++)if("string"==typeof r[i]){if(!a(r[i]))throw new n(`invalid ${t} header`);e.push(r[i])}else if(null===r[i])e.push("");else if("object"==typeof r[i])throw new n(`invalid ${t} header`);else{let s=`${r[i]}`;if(!a(s))throw new n(`invalid ${t} header`);e.push(s)}r=e}else if("string"==typeof r){if(!a(r))throw new n(`invalid ${t} header`)}else if(null===r)r="";else if(!a(r=`${r}`))throw new n(`invalid ${t} header`);if("host"===s){if(null!==e.host)throw new n("duplicate host header");if("string"!=typeof r)throw new n("invalid host header");e.host=r}else if("content-length"===s){if(null!==e.contentLength)throw new n("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new n("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===s)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===s||"keep-alive"===s||"upgrade"===s)throw new n(`invalid ${s} header`);else if("connection"===s){let t="string"==typeof r?r:null;if(null===t)throw new n("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!o(t))throw new n("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===s)throw new i("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:i,headers:s,query:p,idempotent:B,blocking:b,upgrade:S,headersTimeout:w,bodyTimeout:x,reset:R,expectContinue:k,servername:v,throwOnError:M,maxRedirections:U,typeOfService:F},T){if("string"!=typeof t)throw new n("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new n("invalid request path")}else throw new n("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new n("method must be a string");if(void 0===I[r]&&!o(r))throw new n("invalid request method");if(S&&"string"!=typeof S)throw new n("upgrade must be a string");if(S&&!a(S))throw new n("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new n("invalid headersTimeout");if(null!=x&&(!Number.isFinite(x)||x<0))throw new n("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new n("invalid reset");if(null!=k&&"boolean"!=typeof k)throw new n("invalid expectContinue");if(null!=M)throw new n("invalid throwOnError");if(null!=U&&0!==U)throw new n("maxRedirections is not supported, use the redirect interceptor");if(null!=F&&(!Number.isInteger(F)||F<0||F>255))throw new n("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=x,this.method=r,this.typeOfService=F,this.abort=null,null==i)this.body=null;else if(A(i)){this.body=i;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if("string"==typeof i)this.body=i.length?Buffer.from(i):null;else if(d(i)||g(i)||h(i))this.body=i;else throw new n("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=p?m(t,p):t,this.origin=e,this.protocol=E(e),this.idempotent=null==B?"HEAD"===r||"GET"===r||"QUERY"===r:B,this.blocking=b??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=k&&k,Array.isArray(s)){if(s.length%2!=0)throw new n("headers array must be even");for(let e=0;e<s.length;e+=2)D(this,s[e],s[e+1])}else if(s&&"object"==typeof s)if(u(s))for(let e of s){if(!Array.isArray(e)||2!==e.length)throw new n("headers must be in key-value pair format");D(this,e[0],e[1])}else{let e=Object.keys(s);for(let t=0;t<e.length;++t)D(this,e[t],s[e[t]])}else if(null!=s)throw new n("headers must be an object or an array");C(T,r,S),this.servername=v||f(this.host)||null,this[N]=T,y.create.hasSubscribers&&y.create.publish({request:this})}onBodySent(e){if(y.bodyChunkSent.hasSubscribers&&y.bodyChunkSent.publish({request:this,chunk:e}),this[N].onBodySent)try{return this[N].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(y.bodySent.hasSubscribers&&y.bodySent.publish({request:this}),this[N].onRequestSent)try{return this[N].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(s(!this.aborted),s(!this.completed),this[b]=new w(e),this.error)?void this[b].abort(this.error):(this.abort=e,this[N].onRequestStart(this[b],t))}onResponseStarted(){return this[N].onResponseStarted?.()}onResponseStart(e,t,r,n){s(!this.aborted),s(!this.completed),y.headers.hasSubscribers&&y.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:n}});let i=this[b];i&&(i[S]=r,i.rawHeaders=t);let o=Array.isArray(t)?p(t):t;try{return this[N].onResponseStart?.(i,e,o,n),!i?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){s(!this.aborted),s(!this.completed),y.bodyChunkReceived.hasSubscribers&&y.bodyChunkReceived.publish({request:this,chunk:e});let t=this[b];try{return this[N].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){s(!this.aborted),s(!this.completed);let n=this[b];n&&(n.rawHeaders=t);let i=Array.isArray(t)?p(t):t;return this[N].onRequestUpgrade?.(n,e,i,r)}onResponseEnd(e){this.onFinally(),s(!this.aborted),s(!this.completed),this.completed=!0,y.trailers.hasSubscribers&&y.trailers.publish({request:this,trailers:e});let t=this[b];t&&(t.rawTrailers=e);let r=Array.isArray(e)?p(e):e;try{return this[N].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),y.error.hasSubscribers&&y.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[b];return this[N].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return D(this,e,t),this}}},9716(e,t,r){let{EventEmitter:n}=r(8474),{Buffer:i}=r(4573),{InvalidArgumentError:s,Socks5ProxyError:o}=r(8065),{debuglog:a}=r(7975),{parseAddress:A}=r(2598),l=a("undici:socks5"),c=i.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},g={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},u={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},m={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends n{constructor(e,t={}){if(super(),!e)throw new s("socket is required");this.socket=e,this.options=t,this.state=m.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=i.concat([this.buffer,e]);try{switch(this.state){case m.HANDSHAKING:this.handleHandshakeResponse();break;case m.AUTHENTICATING:this.handleAuthResponse();break;case m.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=m.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=m.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=m.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==m.INITIAL)throw new s("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=m.HANDSHAKING;let e=i.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new o(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new o("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=m.AUTHENTICATING,this.sendAuthRequest();else throw new o(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new s("Username and password required for authentication");l("sending username/password auth");let r=i.from(e),n=i.from(t);if(r.length>255||n.length>255)throw new s("Username or password too long");let o=i.alloc(3+r.length+n.length);o[0]=1,o[1]=r.length,r.copy(o,2),o[2+r.length]=n.length,n.copy(o,3+r.length),this.socket.write(o)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new o(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new o("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===m.CONNECTING||this.state===m.CONNECTED)throw new s("Connection already in progress");if(this.state!==m.AUTHENTICATED)throw new s("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=m.CONNECTING;let r=this.buildConnectRequest(g.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:n,buffer:s}=A(t),o=i.alloc(4+s.length+2);return o[0]=5,o[1]=e,o[2]=0,o[3]=n,s.copy(o,4),o.writeUInt16BE(r,4+s.length),o}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],n=this.buffer[3];if(5!==t)throw new o(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let i=4;if(n===u.IPV4)i+=6;else if(n===u.DOMAIN){if(this.buffer.length<5)return;i+=1+this.buffer[4]+2}else if(n===u.IPV6)i+=18;else throw new o(`Invalid address type in reply: ${n}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<i)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new o(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let s=4;if(n===u.IPV4)e=Array.from(this.buffer.subarray(s,s+4)).join("."),s+=4;else if(n===u.DOMAIN){let t=this.buffer[s];s+=1,e=this.buffer.subarray(s,s+t).toString(),s+=t}else if(n===u.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(s+2*e);t.push(r.toString(16))}e=t.join(":"),s+=16}let a=this.buffer.readUInt16BE(s);this.buffer=c,this.state=m.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",a),this.emit("connected",{address:e,port:a})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:g,ADDRESS_TYPES:u,REPLY_CODES:h,STATES:m}},2598(e,t,r){let{Buffer:n}=r(4573),i=r(7030),{InvalidArgumentError:s}=r(8065);function o(e){let t=n.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),n=e.slice(t+1);if(i.isIPv4(n)){let i=n.split(".").map(Number),s=(i[0]<<8|i[1]).toString(16),o=(i[2]<<8|i[3]).toString(16);r=`${e.slice(0,t)}:${s}:${o}`}}let s=r.indexOf("::");if(-1!==s){let e=r.slice(0,s),n=r.slice(s+2),i=""===e?[]:e.split(":"),o=""===n?[]:n.split(":"),a=0;for(let e of i)t.writeUInt16BE(parseInt(e,16),a),a+=2;for(let e of(a=16-2*o.length,o))t.writeUInt16BE(parseInt(e,16),a),a+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(i.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:n.from(t)}}if(i.isIPv6(e))return{type:4,buffer:o(e)};let t=n.from(e,"utf8");if(t.length>255)throw new s("Domain name too long (max 255 bytes)");return{type:3,buffer:n.concat([n.from([t.length]),t])}},parseIPv6:o,buildAddressBuffer:function(e,t,r){let i=n.allocUnsafe(2);return i.writeUInt16BE(r,0),n.concat([n.from([e]),t,i])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new s("Buffer too small to contain address type");let n=e[t],i=t+1;switch(n){case 1:if(e.length<i+6)throw new s("Buffer too small for IPv4 address");r=Array.from(e.subarray(i,i+4)).join("."),i+=4;break;case 3:{if(e.length<i+1)throw new s("Buffer too small for domain length");let t=e[i];if(i+=1,e.length<i+t+2)throw new s("Buffer too small for domain address");r=e.subarray(i,i+t).toString("utf8"),i+=t;break}case 4:{if(e.length<i+18)throw new s("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let n=e.readUInt16BE(i+2*r);t.push(n.toString(16))}r=t.join(":"),i+=16;break}default:throw new s(`Invalid address type: ${n}`)}if(e.length<i+2)throw new s("Buffer too small for port");return{address:r,port:e.readUInt16BE(i),bytesRead:(i+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:n,headerNameLowerCasedRecord:i}=r(7525);class s{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new s(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let n=0,i=this;for(;;){let o=e.charCodeAt(n);if(o>127)throw TypeError("key must be ascii string");if(i.code===o)if(r===++n){i.value=t;break}else if(null!==i.middle)i=i.middle;else{i.middle=new s(e,t,n);break}else if(i.code<o)if(null!==i.left)i=i.left;else{i.left=new s(e,t,n);break}else if(null!==i.right)i=i.right;else{i.right=new s(e,t,n);break}}}search(e){let t=e.length,r=0,n=this;for(;null!==n&&r<t;){let i=e[r];for(i<=90&&i>=65&&(i|=32);null!==n;){if(i===n.code){if(t===++r)return n;n=n.middle;break}n=n.code<i?n.left:n.right}}return null}}class o{node=null;insert(e,t){null===this.node?this.node=new s(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let a=new o;for(let e=0;e<n.length;++e){let t=i[n[e]];a.insert(t,t)}e.exports={TernarySearchTree:o,tree:a}},1210(e,t,r){let n=r(4589),{kDestroyed:i,kBodyUsed:s,kListeners:o,kBody:a}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:g,addAbortListener:u}=r(8474),h=r(2297),{InvalidArgumentError:m,ConnectTimeoutError:p}=r(8065),{headerNameLowerCasedRecord:C}=r(7525),{tree:f}=r(1342);class I{constructor(e){this[a]=e,this[s]=!1}async *[Symbol.asyncIterator](){n(!this[s],"disturbed"),this[s]=!0,yield*this[a]}}function E(){}function y(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function B(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function N(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function b(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!b((e=new URL(e)).origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new m("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===N(e.port))throw new m("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new m("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new m("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new m("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new m("Invalid URL origin: the origin must be a string or null/undefined.");if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,n=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),n&&"/"!==n[0]&&(n=`/${n}`),new URL(`${r}${n}`)}if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function D(e){if(null==e)return 0;if(y(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return B(e)?null!=e.size?e.size:null:M(e)?e.byteLength:null}function x(e){return e&&!!(e.destroyed||e[i]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!y(e)||x(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[i]=!0)}}let k=/timeout=(\d+)/;function v(e){return"string"==typeof e?C[e]??e.toLowerCase():f.lookup(e)??e.toString("latin1").toLowerCase()}function M(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function U(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let F=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,O=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,H="win32"===process.platform?(e,t)=>{if(!t.timeout)return E;let r=null,n=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>P(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(e,t)=>{if(!t.timeout)return E;let r=null,n=h.setFastTimeout(()=>{r=setImmediate(()=>{P(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(n),clearImmediate(r)}};function P(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new p(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,z={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},q={...z,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(z,null),Object.setPrototypeOf(q,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[s]))},isBlobLike:B,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new m("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;n("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return n(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:y,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:x,headerNameToString:v,bufferToLowerCasedHeaderName:function(e){return f.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[o]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[o]){for(let[t,r]of e[o])e.removeListener(t,r);e[o]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),n(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.push(r,`${e}`);else t.push(r,`${n}`);return t}let n=e.length,i=Array(n);for(let s=0;s<n;s+=2)t=e[s],r=e[s+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),i[s]=t,i[s+1]=r;return i},toRawHeaders:function(e){let t=[];for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${n}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let n=v(e[r]),i=t[n];if(void 0!==i)if(Object.hasOwn(t,n))"string"==typeof i&&(i=[i],t[n]=i),i.push(e[r+1].toString("latin1"));else{let i="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===n?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i}else{let i="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[n]=i}}return t},parseKeepAliveTimeout:function(e){let t=e.match(k);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:D,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:M,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new m("handler must be an object");if("function"!=typeof e.onRequestStart)throw new m("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new m("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new m("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new m("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new m("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new m("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new m("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new m("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:U,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?u(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==F[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===F[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=O.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:z,normalizedMethodRecords:q,isValidPort:N,isHttpOrHttpsPrefixed:b,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return y(e)?(0===D(e)&&e.on("data",function(){n(!1)}),"boolean"!=typeof e.readableDidRead&&(e[s]=!1,g.prototype.on.call(e,"data",function(){this[s]=!0})),e):e&&"function"==typeof e.pipeTo?new I(e):e&&U(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new I(e):e},setupConnectTimeout:H,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:n,MaxOriginsReachedError:i}=r(8065),{kBusy:s,kClients:o,kConnected:a,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:g}=r(3025),u=r(9779),h=r(6334),m=r(5183),p=r(1210),C=Symbol("onConnect"),f=Symbol("onDisconnect"),I=Symbol("onConnectionError"),E=Symbol("onDrain"),y=Symbol("factory"),B=Symbol("options"),Q=Symbol("origins");function N(e,t){return t&&1===t.connections?new m(e,t):new h(e,t)}e.exports=class extends u{constructor({factory:e=N,maxOrigins:t=1/0,connect:r,...i}={}){if("function"!=typeof e)throw new n("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new n("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new n("maxOrigins must be a number greater than 0");super(i),r&&"function"!=typeof r&&(r={...r}),this[B]={...p.deepClone(i),maxOrigins:t,connect:r},this[y]=e,this[o]=new Map,this[Q]=new Set,this[E]=(e,t)=>{this.emit("drain",e,[this,...t])},this[C]=(e,t)=>{this.emit("connect",e,[this,...t])},this[f]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[I]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[o].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new n("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[B].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[B].maxOrigins&&!this[Q].has(r))throw new i;let c=this[o].get(l);if(!c){c=this[y](e.origin,!1===A?{...this[B],allowH2:!1}:this[B]);let t=()=>{if(this[o].get(l)!==c||c[a]>0||c[s])return;this[o].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[o].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[E]).on("connect",this[C]).on("disconnect",(e,r,n)=>{t(),this[f](e,r,n)}).on("connectionError",(e,r,n)=>{t(),this[I](e,r,n)}),this[o].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[o].values())e.push(t.close());return this[o].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[o].values())t.push(r.destroy(e));return this[o].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[o].values())t.stats&&(e[t[g].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:n,InvalidArgumentError:i}=r(8065),{PoolBase:s,kClients:o,kNeedDrain:a,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:g}=r(3025),u=r(1210),h=Symbol("factory"),m=Symbol("options"),p=Symbol("kGreatestCommonDivisor"),C=Symbol("kCurrentWeight"),f=Symbol("kIndex"),I=Symbol("kWeight"),E=Symbol("kMaxWeightPerServer"),y=Symbol("kErrorPenalty");function B(e,t){return new d(e,t)}e.exports=class extends s{constructor(e=[],{factory:t=B,...r}={}){if("function"!=typeof t)throw new i("factory must be a function.");for(let n of(super(),this[m]={...u.deepClone(r)},this[f]=-1,this[C]=0,this[E]=this[m].maxWeightPerServer||100,this[y]=this[m].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let t=u.parseOrigin(e).origin;if(this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[m]);for(let e of(this[A](r),r.on("connect",()=>{r[I]=Math.min(this[E],r[I]+this[y])}),r.on("connectionError",()=>{r[I]=Math.max(1,r[I]-this[y]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[I]=Math.max(1,r[I]-this[y]),this._updateBalancedPoolStats())}),this[o]))e[I]=this[E];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[o][t][I],e);this[p]=e}removeUpstream(e){let t=u.parseOrigin(e).origin,r=this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=u.parseOrigin(e).origin;return this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[o].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[g].origin)}[c](){if(0===this[o].length)throw new n;let e=0,t=-1;for(;e++<this[o].length;){this[f]=(this[f]+1)%this[o].length;let e=this[o][this[f]];if((0===this[f]&&(this[C]=this[C]-this[p],this[C]<=0&&(this[C]=this[E])),!e[a]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[I]>this[o][t][I])&&(t=this[f]),e[I]>=this[C]))return e}if(-1!==t)return this[C]=this[o][t][I],this[f]=t,this[o][t]}}},8043(e,t,r){let n,i=r(4589),s=r(1210),{channels:o}=r(6708),a=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:g,HeadersOverflowError:u,SocketError:h,InformationalError:m,BodyTimeoutError:p,HTTPParserError:C,ResponseExceededMaxSizeError:f}=r(8065),{kUrl:I,kReset:E,kClient:y,kParser:B,kBlocking:Q,kRunning:N,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:x,kKeepAliveDefaultTimeout:R,kHostHeader:k,kPendingIdx:v,kRunningIdx:M,kError:U,kPipelining:F,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:O,kKeepAliveMaxTimeout:H,kKeepAliveTimeoutThreshold:P,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:z,kMaxRequests:q,kCounter:V,kMaxResponseSize:_,kOnError:J,kResume:W,kHTTPContext:j,kClosed:K}=r(3025),X=r(8994),Z=Buffer.alloc(0),$=Buffer[Symbol.species],ee=s.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),en=Symbol("kSocketUsed"),ei=Symbol("kTypeOfService"),es=null,eo=null,ea=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(X.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[O],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[_]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(a.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=a.setFastTimeout(eg,e,this.timeoutWeakRef):(this.timeout=setTimeout(eg,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(i(null!=this.ptr),i(null===eo),this.llhttp.llhttp_resume(this.ptr),i(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Z),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){i(null===eo),i(null!=this.ptr),i(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let n;try{ea=e,eo=this,n=r.llhttp_execute(this.ptr,el,e.length)}finally{eo=null,ea=null}if(n!==X.ERROR.OK){let i=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(n===X.ERROR.PAUSED_UPGRADE)this.onUpgrade(i);else if(n===X.ERROR.PAUSED)this.paused=!0,t.unshift(i);else throw this.createError(n,i)}}catch(e){s.destroy(t,e)}}finish(){let e;i(null===eo),i(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||Z,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{eo=this,e=t.llhttp_finish(this.ptr)}finally{eo=null}return e===X.ERROR.OK?null:e===X.ERROR.PAUSED||e===X.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,Z)}createError(e,t){let{llhttp:r,contentLength:n,bytesRead:i}=this;if(-1!==n&&i!==n)return new l;let s=r.llhttp_get_error_reason(this.ptr),o="";if(s){let e=new Uint8Array(r.memory.buffer,s).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,s,e).toString()+")"}return new C(o,X.ERROR[e],t)}destroy(){i(null===eo),i(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[N])return s.destroy(e,new h("bad response",s.getSocketInfo(e))),-1;let r=t[D][t[M]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let n=s.bufferToLowerCasedHeaderName(r);"keep-alive"===n?this.keepAlive+=e.toString():"connection"===n&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===s.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===s.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&s.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:r,socket:n,headers:o,statusCode:a}=this;i(t),i(r[T]===n),i(!n.destroyed),i(!this.paused),i((1&o.length)==0);let A=r[D][r[M]];i(A),i(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,n.unshift(e),n[B].destroy(),n[B]=null,n[y]=null,n[U]=null,ee(n),r[T]=null,r[j]=null,r[D][r[M]++]=null,r.emit("disconnect",r[I],[r],new m("upgrade"));try{A.onRequestUpgrade(a,o,n)}catch(e){s.destroy(n,e)}r[W]()}onHeadersComplete(e,t,r){let{client:n,socket:o,headers:a,statusText:A}=this;if(o.destroyed)return -1;if(0===n[N])return s.destroy(o,new h("bad response",s.getSocketInfo(o))),-1;let l=n[D][n[M]];if(!l)return -1;if(i(!this.upgrade),i(this.statusCode<200),100===e)return s.destroy(o,new h("bad response",s.getSocketInfo(o))),-1;if(t&&!l.upgrade)return s.destroy(o,new h("bad upgrade",s.getSocketInfo(o))),-1;if(i(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!o[E]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:n[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return i(1===n[N]),this.upgrade=!0,2;if(i((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[F]){let e=this.keepAlive?s.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-n[P],n[H]);t<=0?o[E]=!0:n[L]=t}else n[L]=n[R]}else o[E]=!0;let c=!1===l.onResponseStart(e,a,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(o[Q]&&(o[Q]=!1,n[W]()),c?X.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:n,maxResponseSize:o}=this;if(r.destroyed)return -1;let a=t[D][t[M]];return(i(a),i(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),i(n>=200),o>-1&&this.bytesRead+e.length>o)?(s.destroy(r,new f),-1):(this.bytesRead+=e.length,!1===a.onResponseData(e))?X.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:n,headers:o,contentLength:a,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(n)return 0;i(r>=100),i((1&this.headers.length)==0);let d=e[D][e[M]];return(i(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==a&&A!==a?(s.destroy(t,new l),-1):(d.onResponseEnd(o),e[D][e[M]++]=null,t[en]=0===e[b],t[w])?(i(0===e[N]),s.destroy(t,new m("reset")),X.ERROR.PAUSED):c?t[E]&&0===e[N]?(s.destroy(t,new m("reset")),X.ERROR.PAUSED):(null==e[F]||1===e[F]?setImmediate(e[W]):e[W](),0):(s.destroy(t,new m("reset")),X.ERROR.PAUSED)}}function eg(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:n,client:o,paused:a}=t;3===n?(!r[w]||r.writableNeedDrain||o[N]>1)&&(i(!a,"cannot be paused while waiting for headers"),s.destroy(r,new g)):5===n?a||s.destroy(r,new p):8===n&&(i(0===o[N]&&o[L]),s.destroy(r,new m("socket idle timeout")))}function eu(e){i("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[B];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[U]=e,this[y][J](e));return}this[U]=e,this[y][J](e)}function eh(){this[B]?.readMore()}function em(){let e=this[B];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&s.destroy(this,t);return}s.destroy(this,new h("other side closed",s.getSocketInfo(this)))}function ep(){let e=this[B];ef(this),e&&(this[U]||!e.statusCode||e.shouldKeepAlive||(this[U]=e.finish()||this[U]),this[B].destroy(),this[B]=null);let t=this[U]||new h("closed",s.getSocketInfo(this)),r=this[y];if(r[T]=null,r[j]=null,r.destroyed){i(0===r[b]);let e=r[D].splice(r[M]);for(let n=0;n<e.length;n++){let i=e[n];s.errorRequest(r,i,t)}}else if(r[N]>0&&"UND_ERR_INFO"!==t.code){let e=r[D][r[M]];r[D][r[M]++]=null,s.errorRequest(r,e,t)}r[v]=r[M],i(0===r[N]),r.emit("disconnect",r[I],[r],t),r[W]()}function eC(){this[K]=!0}function ef(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function eI(e,t,r,n,o,a,A,l){try{t?s.isBuffer(t)&&(i(a===t.byteLength,"buffer body must have content length"),o.cork(),o.write(`${A}content-length: ${a}\r + `)}close(){this.#o.close()}get(e){s(e);let t=this.#p(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){s(e);let r=this.#m(e),i=Array.isArray(t.body)?Buffer.concat(t.body):t.body,n=i?.byteLength;if(n&&n>this.#r)return;let a=this.#p(e,!0);a?this.#l.run(i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,a.id):(this.#c.run(r,e.method,i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#f())}createWriteStream(e,t){s(e),a(t);let r=0,i=[],o=this;return new n({decodeStrings:!0,write(e,t,n){(r+=e.byteLength)<=o.#r?i.push(e):this.destroy(),n()},final(r){o.set(e,{...t,body:i}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#u.run(this.#m(e))}#f(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#g.get();return e}#m(e){return`${e.origin}/${e.path}`}#p(e,t=!1){let r=this.#m(e),{headers:i,method:n}=e,s=this.#A.all(r,n);if(0===s.length)return;let a=Date.now();for(let e of s){if(a>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(i[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let i,n=r(7030),s=r(4589),a=r(1210),{InvalidArgumentError:o,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:u,timeout:g,session:h,...p}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new o("maxCachedSessions must be a positive integer or zero");let m={path:u,...p},f=new l(null==d?100:d);return g=null==g?1e4:g,e=null==e||e,function({hostname:o,host:l,protocol:d,port:u,servername:p,localAddress:C,httpSocket:y},I){let E;if("https:"===d){i||(i=r(1692));let n=(p=p||m.servername||a.getServerName(l)||null)||o;s(n);let A=h||f.get(n)||null;u=u||443,(E=i.connect({highWaterMark:16384,...m,servername:p,session:A,localAddress:C,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:y,port:u,host:o})).on("session",function(e){f.set(n,e)})}else s(!y,"httpSocket can only be sent on TLS update"),u=u||80,E=n.connect({highWaterMark:65536,...m,localAddress:C,port:u,host:o}),!0===c&&(E.alpnProtocol="h2");if(null==m.keepAlive||m.keepAlive){let e=void 0===m.keepAliveInitialDelay?6e4:m.keepAliveInitialDelay;E.setKeepAlive(!0,e)}let B=a.setupConnectTimeout(new WeakRef(E),{timeout:g,hostname:o,port:u});return E.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(B),I){let e=I;I=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(B),I){let t=I;I=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let i="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?i+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:i+=` (attempted address: ${r.hostname}:${r.port},`;let n=new A(i+=` timeout: ${r.timeout}ms)`);return n.cause=e,n}return e}(e,this,{timeout:g,hostname:o,port:u}))}}),E}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let i=t[e],n=i.toLowerCase();r[i]=r[n]=n}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let i=r(3053),n=r(7975),s=n.debuglog("undici"),a=n.debuglog("fetch"),o=n.debuglog("websocket"),A={beforeConnect:i.channel("undici:client:beforeConnect"),connected:i.channel("undici:client:connected"),connectError:i.channel("undici:client:connectError"),sendHeaders:i.channel("undici:client:sendHeaders"),create:i.channel("undici:request:create"),bodySent:i.channel("undici:request:bodySent"),bodyChunkSent:i.channel("undici:request:bodyChunkSent"),bodyChunkReceived:i.channel("undici:request:bodyChunkReceived"),headers:i.channel("undici:request:headers"),trailers:i.channel("undici:request:trailers"),error:i.channel("undici:request:error"),open:i.channel("undici:websocket:open"),close:i.channel("undici:websocket:close"),socketError:i.channel("undici:websocket:socket_error"),ping:i.channel("undici:websocket:ping"),pong:i.channel("undici:websocket:pong"),proxyConnected:i.channel("undici:proxy:connected")},l=!1;function c(e=s){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,i.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s}}=t;e("connecting to %s%s using %s%s",s,n?`:${n}`:"",i,r)}),i.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s}}=t;e("connected to %s%s using %s%s",s,n?`:${n}`:"",i,r)}),i.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s},error:a}=t;e("connection to %s%s using %s%s errored - %s",s,n?`:${n}`:"",i,r,a.message)}),i.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:i,origin:n}}=t;e("sending request to %s %s%s",r,n,i)})}}let d=!1,u=!1;(s.enabled||a.enabled)&&(c(a.enabled?a:s),function(e=s){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,i.subscribe("undici:request:headers",t=>{let{request:{method:r,path:i,origin:n},response:{statusCode:s}}=t;e("received response to %s %s%s - HTTP %d",r,n,i,s)}),i.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:i,origin:n}}=t;e("trailers received from %s %s%s",r,n,i)}),i.subscribe("undici:request:error",t=>{let{request:{method:r,path:i,origin:n},error:s}=t;e("request to %s %s%s errored - %s",r,n,i,s.message)})}}(a.enabled?a:s)),o.enabled&&(c(s.enabled?s:o),function(e=o){if(!u){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){u=!0;return}u=!0,i.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:i}=t.address;e("connection opened %s%s",r,i?`:${i}`:"")}else e("connection opened")}),i.subscribe("undici:websocket:close",t=>{let{websocket:r,code:i,reason:n}=t;e("closed connection to %s - %s %s",r.url,i,n)}),i.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),i.subscribe("undici:websocket:ping",t=>{e("ping received")}),i.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(o)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let i=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class n extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}let s=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class a extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}let o=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[o]}get[o](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class u extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let g=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[g]}get[g](){return!0}}let p=Symbol.for("undici.error.UND_ERR_ABORT");class m extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[p]}get[p](){return!0}}let f=Symbol.for("undici.error.UND_ERR_ABORTED");class C extends m{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[f]}get[f](){return!0}}let y=Symbol.for("undici.error.UND_ERR_INFO");class I extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[y]}get[y](){return!0}}let E=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class B extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[E]}get[E](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class b extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let N=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[N]}get[N](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class x extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let D=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[D]}get[D](){return!0}}let v=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class k extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[v]}get[v](){return!0}}let M=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class F extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let U=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[U]}get[U](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class O extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let P=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class H extends r{constructor(e,t,{headers:r,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[P]}get[P](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let q=Symbol.for("undici.error.UND_ERR_PRX_TLS");class z extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[q]}get[q](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class _ extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let J=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[J]}get[J](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class K extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:m,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:a,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:B,ConnectTimeoutError:n,InvalidArgumentError:u,InvalidReturnValueError:h,RequestAbortedError:C,ClientDestroyedError:S,ClientClosedError:x,InformationalError:I,SocketError:R,NotSupportedError:k,ResponseContentLengthMismatchError:b,BalancedPoolMissingUpstreamError:F,ResponseExceededMaxSizeError:O,RequestRetryError:H,ResponseError:G,SecureProxyConnectionError:z,ProxyConnectionError:_,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:K}},1037(e,t,r){let{InvalidArgumentError:i,NotSupportedError:n}=r(8065),s=r(4589),{isValidHTTPToken:a,isValidHeaderValue:o,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:u,hasSafeIterator:g,isBlobLike:h,serializePathWithQuery:p,parseHeaders:m,assertRequestHandler:f,getServerName:C,normalizedMethodRecords:y,getProtocolFromUrlString:I}=r(1210),{channels:E}=r(6708),{headerNameLowerCasedRecord:B}=r(7525),Q=/[^\u0021-\u00ff]/,b=Symbol("handler"),N=Symbol("controller"),S=Symbol("resume");class w{#C=!1;#y=null;#I=!1;#E;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#E=e}pause(){this.#C=!0}resume(){this.#C&&(this.#C=!1,this[S]?.())}abort(e){this.#I||(this.#I=!0,this.#y=e,this.#E(e))}get aborted(){return this.#I}get reason(){return this.#y}get paused(){return this.#C}}function x(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new i(`invalid ${t} header`);if(void 0===r)return;let s=B[t];if(void 0===s&&void 0===B[s=t.toLowerCase()]&&!a(s))throw new i("invalid header key");if(Array.isArray(r)){let e=[];for(let n=0;n<r.length;n++)if("string"==typeof r[n]){if(!o(r[n]))throw new i(`invalid ${t} header`);e.push(r[n])}else if(null===r[n])e.push("");else if("object"==typeof r[n])throw new i(`invalid ${t} header`);else{let s=`${r[n]}`;if(!o(s))throw new i(`invalid ${t} header`);e.push(s)}r=e}else if("string"==typeof r){if(!o(r))throw new i(`invalid ${t} header`)}else if(null===r)r="";else if(!o(r=`${r}`))throw new i(`invalid ${t} header`);if("host"===s){if(null!==e.host)throw new i("duplicate host header");if("string"!=typeof r)throw new i("invalid host header");e.host=r}else if("content-length"===s){if(null!==e.contentLength)throw new i("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new i("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===s)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===s||"keep-alive"===s||"upgrade"===s)throw new i(`invalid ${s} header`);else if("connection"===s){let t="string"==typeof r?r:null;if(null===t)throw new i("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!a(t))throw new i("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===s)throw new n("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:n,headers:s,query:m,idempotent:B,blocking:N,upgrade:S,headersTimeout:w,bodyTimeout:D,reset:R,expectContinue:v,servername:k,throwOnError:M,maxRedirections:F,typeOfService:U},T){if("string"!=typeof t)throw new i("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new i("invalid request path")}else throw new i("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new i("method must be a string");if(void 0===y[r]&&!a(r))throw new i("invalid request method");if(S&&"string"!=typeof S)throw new i("upgrade must be a string");if(S&&!o(S))throw new i("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new i("invalid headersTimeout");if(null!=D&&(!Number.isFinite(D)||D<0))throw new i("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new i("invalid reset");if(null!=v&&"boolean"!=typeof v)throw new i("invalid expectContinue");if(null!=M)throw new i("invalid throwOnError");if(null!=F&&0!==F)throw new i("maxRedirections is not supported, use the redirect interceptor");if(null!=U&&(!Number.isInteger(U)||U<0||U>255))throw new i("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=D,this.method=r,this.typeOfService=U,this.abort=null,null==n)this.body=null;else if(A(n)){this.body=n;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if("string"==typeof n)this.body=n.length?Buffer.from(n):null;else if(d(n)||u(n)||h(n))this.body=n;else throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=m?p(t,m):t,this.origin=e,this.protocol=I(e),this.idempotent=null==B?"HEAD"===r||"GET"===r||"QUERY"===r:B,this.blocking=N??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=v&&v,Array.isArray(s)){if(s.length%2!=0)throw new i("headers array must be even");for(let e=0;e<s.length;e+=2)x(this,s[e],s[e+1])}else if(s&&"object"==typeof s)if(g(s))for(let e of s){if(!Array.isArray(e)||2!==e.length)throw new i("headers must be in key-value pair format");x(this,e[0],e[1])}else{let e=Object.keys(s);for(let t=0;t<e.length;++t)x(this,e[t],s[e[t]])}else if(null!=s)throw new i("headers must be an object or an array");f(T,r,S),this.servername=k||C(this.host)||null,this[b]=T,E.create.hasSubscribers&&E.create.publish({request:this})}onBodySent(e){if(E.bodyChunkSent.hasSubscribers&&E.bodyChunkSent.publish({request:this,chunk:e}),this[b].onBodySent)try{return this[b].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(E.bodySent.hasSubscribers&&E.bodySent.publish({request:this}),this[b].onRequestSent)try{return this[b].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(s(!this.aborted),s(!this.completed),this[N]=new w(e),this.error)?void this[N].abort(this.error):(this.abort=e,this[b].onRequestStart(this[N],t))}onResponseStarted(){return this[b].onResponseStarted?.()}onResponseStart(e,t,r,i){s(!this.aborted),s(!this.completed),E.headers.hasSubscribers&&E.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}});let n=this[N];n&&(n[S]=r,n.rawHeaders=t);let a=Array.isArray(t)?m(t):t;try{return this[b].onResponseStart?.(n,e,a,i),!n?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){s(!this.aborted),s(!this.completed),E.bodyChunkReceived.hasSubscribers&&E.bodyChunkReceived.publish({request:this,chunk:e});let t=this[N];try{return this[b].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){s(!this.aborted),s(!this.completed);let i=this[N];i&&(i.rawHeaders=t);let n=Array.isArray(t)?m(t):t;return this[b].onRequestUpgrade?.(i,e,n,r)}onResponseEnd(e){this.onFinally(),s(!this.aborted),s(!this.completed),this.completed=!0,E.trailers.hasSubscribers&&E.trailers.publish({request:this,trailers:e});let t=this[N];t&&(t.rawTrailers=e);let r=Array.isArray(e)?m(e):e;try{return this[b].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),E.error.hasSubscribers&&E.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[N];return this[b].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return x(this,e,t),this}}},9716(e,t,r){let{EventEmitter:i}=r(8474),{Buffer:n}=r(4573),{InvalidArgumentError:s,Socks5ProxyError:a}=r(8065),{debuglog:o}=r(7975),{parseAddress:A}=r(2598),l=o("undici:socks5"),c=n.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},u={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},g={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},p={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends i{constructor(e,t={}){if(super(),!e)throw new s("socket is required");this.socket=e,this.options=t,this.state=p.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=n.concat([this.buffer,e]);try{switch(this.state){case p.HANDSHAKING:this.handleHandshakeResponse();break;case p.AUTHENTICATING:this.handleAuthResponse();break;case p.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=p.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=p.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=p.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==p.INITIAL)throw new s("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=p.HANDSHAKING;let e=n.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new a(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new a("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=p.AUTHENTICATING,this.sendAuthRequest();else throw new a(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new s("Username and password required for authentication");l("sending username/password auth");let r=n.from(e),i=n.from(t);if(r.length>255||i.length>255)throw new s("Username or password too long");let a=n.alloc(3+r.length+i.length);a[0]=1,a[1]=r.length,r.copy(a,2),a[2+r.length]=i.length,i.copy(a,3+r.length),this.socket.write(a)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new a(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new a("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===p.CONNECTING||this.state===p.CONNECTED)throw new s("Connection already in progress");if(this.state!==p.AUTHENTICATED)throw new s("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=p.CONNECTING;let r=this.buildConnectRequest(u.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:i,buffer:s}=A(t),a=n.alloc(4+s.length+2);return a[0]=5,a[1]=e,a[2]=0,a[3]=i,s.copy(a,4),a.writeUInt16BE(r,4+s.length),a}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],i=this.buffer[3];if(5!==t)throw new a(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let n=4;if(i===g.IPV4)n+=6;else if(i===g.DOMAIN){if(this.buffer.length<5)return;n+=1+this.buffer[4]+2}else if(i===g.IPV6)n+=18;else throw new a(`Invalid address type in reply: ${i}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<n)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new a(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let s=4;if(i===g.IPV4)e=Array.from(this.buffer.subarray(s,s+4)).join("."),s+=4;else if(i===g.DOMAIN){let t=this.buffer[s];s+=1,e=this.buffer.subarray(s,s+t).toString(),s+=t}else if(i===g.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(s+2*e);t.push(r.toString(16))}e=t.join(":"),s+=16}let o=this.buffer.readUInt16BE(s);this.buffer=c,this.state=p.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",o),this.emit("connected",{address:e,port:o})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:u,ADDRESS_TYPES:g,REPLY_CODES:h,STATES:p}},2598(e,t,r){let{Buffer:i}=r(4573),n=r(7030),{InvalidArgumentError:s}=r(8065);function a(e){let t=i.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),i=e.slice(t+1);if(n.isIPv4(i)){let n=i.split(".").map(Number),s=(n[0]<<8|n[1]).toString(16),a=(n[2]<<8|n[3]).toString(16);r=`${e.slice(0,t)}:${s}:${a}`}}let s=r.indexOf("::");if(-1!==s){let e=r.slice(0,s),i=r.slice(s+2),n=""===e?[]:e.split(":"),a=""===i?[]:i.split(":"),o=0;for(let e of n)t.writeUInt16BE(parseInt(e,16),o),o+=2;for(let e of(o=16-2*a.length,a))t.writeUInt16BE(parseInt(e,16),o),o+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(n.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:i.from(t)}}if(n.isIPv6(e))return{type:4,buffer:a(e)};let t=i.from(e,"utf8");if(t.length>255)throw new s("Domain name too long (max 255 bytes)");return{type:3,buffer:i.concat([i.from([t.length]),t])}},parseIPv6:a,buildAddressBuffer:function(e,t,r){let n=i.allocUnsafe(2);return n.writeUInt16BE(r,0),i.concat([i.from([e]),t,n])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new s("Buffer too small to contain address type");let i=e[t],n=t+1;switch(i){case 1:if(e.length<n+6)throw new s("Buffer too small for IPv4 address");r=Array.from(e.subarray(n,n+4)).join("."),n+=4;break;case 3:{if(e.length<n+1)throw new s("Buffer too small for domain length");let t=e[n];if(n+=1,e.length<n+t+2)throw new s("Buffer too small for domain address");r=e.subarray(n,n+t).toString("utf8"),n+=t;break}case 4:{if(e.length<n+18)throw new s("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let i=e.readUInt16BE(n+2*r);t.push(i.toString(16))}r=t.join(":"),n+=16;break}default:throw new s(`Invalid address type: ${i}`)}if(e.length<n+2)throw new s("Buffer too small for port");return{address:r,port:e.readUInt16BE(n),bytesRead:(n+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:i,headerNameLowerCasedRecord:n}=r(7525);class s{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new s(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let i=0,n=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw TypeError("key must be ascii string");if(n.code===a)if(r===++i){n.value=t;break}else if(null!==n.middle)n=n.middle;else{n.middle=new s(e,t,i);break}else if(n.code<a)if(null!==n.left)n=n.left;else{n.left=new s(e,t,i);break}else if(null!==n.right)n=n.right;else{n.right=new s(e,t,i);break}}}search(e){let t=e.length,r=0,i=this;for(;null!==i&&r<t;){let n=e[r];for(n<=90&&n>=65&&(n|=32);null!==i;){if(n===i.code){if(t===++r)return i;i=i.middle;break}i=i.code<n?i.left:i.right}}return null}}class a{node=null;insert(e,t){null===this.node?this.node=new s(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let o=new a;for(let e=0;e<i.length;++e){let t=n[i[e]];o.insert(t,t)}e.exports={TernarySearchTree:a,tree:o}},1210(e,t,r){let i=r(4589),{kDestroyed:n,kBodyUsed:s,kListeners:a,kBody:o}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:u,addAbortListener:g}=r(8474),h=r(2297),{InvalidArgumentError:p,ConnectTimeoutError:m}=r(8065),{headerNameLowerCasedRecord:f}=r(7525),{tree:C}=r(1342);class y{constructor(e){this[o]=e,this[s]=!1}async *[Symbol.asyncIterator](){i(!this[s],"disturbed"),this[s]=!0,yield*this[o]}}function I(){}function E(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function B(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function b(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function N(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!N((e=new URL(e)).origin||e.protocol))throw new p("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new p("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===b(e.port))throw new p("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new p("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new p("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new p("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new p("Invalid URL origin: the origin must be a string or null/undefined.");if(!N(e.origin||e.protocol))throw new p("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,i=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),i&&"/"!==i[0]&&(i=`/${i}`),new URL(`${r}${i}`)}if(!N(e.origin||e.protocol))throw new p("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function x(e){if(null==e)return 0;if(E(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return B(e)?null!=e.size?e.size:null:M(e)?e.byteLength:null}function D(e){return e&&!!(e.destroyed||e[n]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!E(e)||D(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[n]=!0)}}let v=/timeout=(\d+)/;function k(e){return"string"==typeof e?f[e]??e.toLowerCase():C.lookup(e)??e.toString("latin1").toLowerCase()}function M(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function F(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let U=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,O=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,P="win32"===process.platform?(e,t)=>{if(!t.timeout)return I;let r=null,i=null,n=h.setFastTimeout(()=>{r=setImmediate(()=>{i=setImmediate(()=>H(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(n),clearImmediate(r),clearImmediate(i)}}:(e,t)=>{if(!t.timeout)return I;let r=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{H(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r)}};function H(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new m(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,q={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},z={...q,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(q,null),Object.setPrototypeOf(z,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[s]))},isBlobLike:B,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new p("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;i("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return i(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:E,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:D,headerNameToString:k,bufferToLowerCasedHeaderName:function(e){return C.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[a]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[a]){for(let[t,r]of e[a])e.removeListener(t,r);e[a]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),i(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(r,`${e}`);else t.push(r,`${i}`);return t}let i=e.length,n=Array(i);for(let s=0;s<i;s+=2)t=e[s],r=e[s+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),n[s]=t,n[s+1]=r;return n},toRawHeaders:function(e){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${i}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let i=k(e[r]),n=t[i];if(void 0!==n)if(Object.hasOwn(t,i))"string"==typeof n&&(n=[n],t[i]=n),n.push(e[r+1].toString("latin1"));else{let n="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===i?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n}else{let n="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[i]=n}}return t},parseKeepAliveTimeout:function(e){let t=e.match(v);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:x,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:M,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new p("handler must be an object");if("function"!=typeof e.onRequestStart)throw new p("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new p("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new p("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new p("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new p("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new p("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new p("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new p("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:F,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?g(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==U[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===U[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=O.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:q,normalizedMethodRecords:z,isValidPort:b,isHttpOrHttpsPrefixed:N,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return E(e)?(0===x(e)&&e.on("data",function(){i(!1)}),"boolean"!=typeof e.readableDidRead&&(e[s]=!1,u.prototype.on.call(e,"data",function(){this[s]=!0})),e):e&&"function"==typeof e.pipeTo?new y(e):e&&F(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new y(e):e},setupConnectTimeout:P,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:i,MaxOriginsReachedError:n}=r(8065),{kBusy:s,kClients:a,kConnected:o,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:u}=r(3025),g=r(9779),h=r(6334),p=r(5183),m=r(1210),f=Symbol("onConnect"),C=Symbol("onDisconnect"),y=Symbol("onConnectionError"),I=Symbol("onDrain"),E=Symbol("factory"),B=Symbol("options"),Q=Symbol("origins");function b(e,t){return t&&1===t.connections?new p(e,t):new h(e,t)}e.exports=class extends g{constructor({factory:e=b,maxOrigins:t=1/0,connect:r,...n}={}){if("function"!=typeof e)throw new i("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new i("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new i("maxOrigins must be a number greater than 0");super(n),r&&"function"!=typeof r&&(r={...r}),this[B]={...m.deepClone(n),maxOrigins:t,connect:r},this[E]=e,this[a]=new Map,this[Q]=new Set,this[I]=(e,t)=>{this.emit("drain",e,[this,...t])},this[f]=(e,t)=>{this.emit("connect",e,[this,...t])},this[C]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[y]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[a].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new i("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[B].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[B].maxOrigins&&!this[Q].has(r))throw new n;let c=this[a].get(l);if(!c){c=this[E](e.origin,!1===A?{...this[B],allowH2:!1}:this[B]);let t=()=>{if(this[a].get(l)!==c||c[o]>0||c[s])return;this[a].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[a].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[I]).on("connect",this[f]).on("disconnect",(e,r,i)=>{t(),this[C](e,r,i)}).on("connectionError",(e,r,i)=>{t(),this[y](e,r,i)}),this[a].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[a].values())e.push(t.close());return this[a].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[a].values())t.push(r.destroy(e));return this[a].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[a].values())t.stats&&(e[t[u].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:n}=r(8065),{PoolBase:s,kClients:a,kNeedDrain:o,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:u}=r(3025),g=r(1210),h=Symbol("factory"),p=Symbol("options"),m=Symbol("kGreatestCommonDivisor"),f=Symbol("kCurrentWeight"),C=Symbol("kIndex"),y=Symbol("kWeight"),I=Symbol("kMaxWeightPerServer"),E=Symbol("kErrorPenalty");function B(e,t){return new d(e,t)}e.exports=class extends s{constructor(e=[],{factory:t=B,...r}={}){if("function"!=typeof t)throw new n("factory must be a function.");for(let i of(super(),this[p]={...g.deepClone(r)},this[C]=-1,this[f]=0,this[I]=this[p].maxWeightPerServer||100,this[E]=this[p].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let t=g.parseOrigin(e).origin;if(this[a].find(e=>e[u].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[p]);for(let e of(this[A](r),r.on("connect",()=>{r[y]=Math.min(this[I],r[y]+this[E])}),r.on("connectionError",()=>{r[y]=Math.max(1,r[y]-this[E]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[y]=Math.max(1,r[y]-this[E]),this._updateBalancedPoolStats())}),this[a]))e[y]=this[I];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[a].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[a][t][y],e);this[m]=e}removeUpstream(e){let t=g.parseOrigin(e).origin,r=this[a].find(e=>e[u].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=g.parseOrigin(e).origin;return this[a].find(e=>e[u].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[a].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[u].origin)}[c](){if(0===this[a].length)throw new i;let e=0,t=-1;for(;e++<this[a].length;){this[C]=(this[C]+1)%this[a].length;let e=this[a][this[C]];if((0===this[C]&&(this[f]=this[f]-this[m],this[f]<=0&&(this[f]=this[I])),!e[o]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[y]>this[a][t][y])&&(t=this[C]),e[y]>=this[f]))return e}if(-1!==t)return this[f]=this[a][t][y],this[C]=t,this[a][t]}}},8043(e,t,r){let i,n=r(4589),s=r(1210),{channels:a}=r(6708),o=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:u,HeadersOverflowError:g,SocketError:h,InformationalError:p,BodyTimeoutError:m,HTTPParserError:f,ResponseExceededMaxSizeError:C}=r(8065),{kUrl:y,kReset:I,kClient:E,kParser:B,kBlocking:Q,kRunning:b,kPending:N,kSize:S,kWriting:w,kQueue:x,kNoRef:D,kKeepAliveDefaultTimeout:R,kHostHeader:v,kPendingIdx:k,kRunningIdx:M,kError:F,kPipelining:U,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:O,kKeepAliveMaxTimeout:P,kKeepAliveTimeoutThreshold:H,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:q,kMaxRequests:z,kCounter:V,kMaxResponseSize:_,kOnError:J,kResume:W,kHTTPContext:j,kClosed:K}=r(3025),$=r(8994),X=Buffer.alloc(0),Z=Buffer[Symbol.species],ee=s.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),ei=Symbol("kSocketUsed"),en=Symbol("kTypeOfService"),es=null,ea=null,eo=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc($.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[O],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[_]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(o.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=o.setFastTimeout(eu,e,this.timeoutWeakRef):(this.timeout=setTimeout(eu,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(n(null!=this.ptr),n(null===ea),this.llhttp.llhttp_resume(this.ptr),n(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||X),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){n(null===ea),n(null!=this.ptr),n(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let i;try{eo=e,ea=this,i=r.llhttp_execute(this.ptr,el,e.length)}finally{ea=null,eo=null}if(i!==$.ERROR.OK){let n=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(i===$.ERROR.PAUSED_UPGRADE)this.onUpgrade(n);else if(i===$.ERROR.PAUSED)this.paused=!0,t.unshift(n);else throw this.createError(i,n)}}catch(e){s.destroy(t,e)}}finish(){let e;n(null===ea),n(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||X,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{ea=this,e=t.llhttp_finish(this.ptr)}finally{ea=null}return e===$.ERROR.OK?null:e===$.ERROR.PAUSED||e===$.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,X)}createError(e,t){let{llhttp:r,contentLength:i,bytesRead:n}=this;if(-1!==i&&n!==i)return new l;let s=r.llhttp_get_error_reason(this.ptr),a="";if(s){let e=new Uint8Array(r.memory.buffer,s).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,s,e).toString()+")"}return new f(a,$.ERROR[e],t)}destroy(){n(null===ea),n(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&o.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[b])return s.destroy(e,new h("bad response",s.getSocketInfo(e))),-1;let r=t[x][t[M]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let i=s.bufferToLowerCasedHeaderName(r);"keep-alive"===i?this.keepAlive+=e.toString():"connection"===i&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===s.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===s.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&s.destroy(this.socket,new g)}onUpgrade(e){let{upgrade:t,client:r,socket:i,headers:a,statusCode:o}=this;n(t),n(r[T]===i),n(!i.destroyed),n(!this.paused),n((1&a.length)==0);let A=r[x][r[M]];n(A),n(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(e),i[B].destroy(),i[B]=null,i[E]=null,i[F]=null,ee(i),r[T]=null,r[j]=null,r[x][r[M]++]=null,r.emit("disconnect",r[y],[r],new p("upgrade"));try{A.onRequestUpgrade(o,a,i)}catch(e){s.destroy(i,e)}r[W]()}onHeadersComplete(e,t,r){let{client:i,socket:a,headers:o,statusText:A}=this;if(a.destroyed)return -1;if(0===i[b])return s.destroy(a,new h("bad response",s.getSocketInfo(a))),-1;let l=i[x][i[M]];if(!l)return -1;if(n(!this.upgrade),n(this.statusCode<200),100===e)return s.destroy(a,new h("bad response",s.getSocketInfo(a))),-1;if(t&&!l.upgrade)return s.destroy(a,new h("bad upgrade",s.getSocketInfo(a))),-1;if(n(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!a[I]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:i[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return n(1===i[b]),this.upgrade=!0,2;if(n((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[U]){let e=this.keepAlive?s.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-i[H],i[P]);t<=0?a[I]=!0:i[L]=t}else i[L]=i[R]}else a[I]=!0;let c=!1===l.onResponseStart(e,o,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(a[Q]&&(a[Q]=!1,i[W]()),c?$.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:i,maxResponseSize:a}=this;if(r.destroyed)return -1;let o=t[x][t[M]];return(n(o),n(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),n(i>=200),a>-1&&this.bytesRead+e.length>a)?(s.destroy(r,new C),-1):(this.bytesRead+=e.length,!1===o.onResponseData(e))?$.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:i,headers:a,contentLength:o,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(i)return 0;n(r>=100),n((1&this.headers.length)==0);let d=e[x][e[M]];return(n(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==o&&A!==o?(s.destroy(t,new l),-1):(d.onResponseEnd(a),e[x][e[M]++]=null,t[ei]=0===e[N],t[w])?(n(0===e[b]),s.destroy(t,new p("reset")),$.ERROR.PAUSED):c?t[I]&&0===e[b]?(s.destroy(t,new p("reset")),$.ERROR.PAUSED):(null==e[U]||1===e[U]?setImmediate(e[W]):e[W](),0):(s.destroy(t,new p("reset")),$.ERROR.PAUSED)}}function eu(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:i,client:a,paused:o}=t;3===i?(!r[w]||r.writableNeedDrain||a[b]>1)&&(n(!o,"cannot be paused while waiting for headers"),s.destroy(r,new u)):5===i?o||s.destroy(r,new m):8===i&&(n(0===a[b]&&a[L]),s.destroy(r,new p("socket idle timeout")))}function eg(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[B];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[F]=e,this[E][J](e));return}this[F]=e,this[E][J](e)}function eh(){this[B]?.readMore()}function ep(){let e=this[B];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&s.destroy(this,t);return}s.destroy(this,new h("other side closed",s.getSocketInfo(this)))}function em(){let e=this[B];eC(this),e&&(this[F]||!e.statusCode||e.shouldKeepAlive||(this[F]=e.finish()||this[F]),this[B].destroy(),this[B]=null);let t=this[F]||new h("closed",s.getSocketInfo(this)),r=this[E];if(r[T]=null,r[j]=null,r.destroyed){n(0===r[N]);let e=r[x].splice(r[M]);for(let i=0;i<e.length;i++){let n=e[i];s.errorRequest(r,n,t)}}else if(r[b]>0&&"UND_ERR_INFO"!==t.code){let e=r[x][r[M]];r[x][r[M]++]=null,s.errorRequest(r,e,t)}r[k]=r[M],n(0===r[b]),r.emit("disconnect",r[y],[r],t),r[W]()}function ef(){this[K]=!0}function eC(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function ey(e,t,r,i,a,o,A,l){try{t?s.isBuffer(t)&&(n(o===t.byteLength,"buffer body must have content length"),a.cork(),a.write(`${A}content-length: ${o}\r \r -`,"latin1"),o.write(t),o.uncork(),n.onBodySent(t),l||!1===n.reset||(o[E]=!0)):0===a?o.write(`${A}content-length: 0\r +`,"latin1"),a.write(t),a.uncork(),i.onBodySent(t),l||!1===i.reset||(a[I]=!0)):0===o?a.write(`${A}content-length: 0\r \r -`,"latin1"):(i(null===a,"no body must not have content length"),o.write(`${A}\r -`,"latin1")),n.onRequestSent(),r[W]()}catch(t){e(t)}}async function eE(e,t,r,n,i,s,o,a){try{if(null!=s&&s!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());i.cork(),i.write(`${o}content-length: ${s}\r +`,"latin1"):(n(null===o,"no body must not have content length"),a.write(`${A}\r +`,"latin1")),i.onRequestSent(),r[W]()}catch(t){e(t)}}async function eI(e,t,r,i,n,s,a,o){try{if(null!=s&&s!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());n.cork(),n.write(`${a}content-length: ${s}\r \r -`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),n.onRequestSent(),a||!1===n.reset||(i[E]=!0),r[W]()}catch(t){e(t)}}async function ey(e,t,r,n,s,o,a,A){i(0!==o||0===r[N],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{i(null===l),s[U]?t(s[U]):l=e});s.on("close",c).on("drain",c);let g=new eB({abort:e,socket:s,request:n,contentLength:o,client:r,expectsPayload:A,header:a});try{for await(let e of t){if(s[U])throw s[U];g.write(e)||await d()}g.end()}catch(e){g.destroy(e)}finally{s.off("close",c).off("drain",c)}}class eB{constructor({abort:e,socket:t,request:r,contentLength:n,client:i,expectsPayload:s,header:o}){this.socket=t,this.request=r,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=s,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:n,client:i,bytesWritten:s,expectsPayload:o,header:a}=this;if(t[U])throw t[U];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==n&&s+l>n){if(i[z])throw new A;process.emitWarning(new A)}t.cork(),0===s&&(o||!1===r.reset||(t[E]=!0),null===n?t.write(`${a}transfer-encoding: chunked\r -`,"latin1"):t.write(`${a}content-length: ${n}\r +`,"latin1"),n.write(e),n.uncork(),i.onBodySent(e),i.onRequestSent(),o||!1===i.reset||(n[I]=!0),r[W]()}catch(t){e(t)}}async function eE(e,t,r,i,s,a,o,A){n(0!==a||0===r[b],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(null===l),s[F]?t(s[F]):l=e});s.on("close",c).on("drain",c);let u=new eB({abort:e,socket:s,request:i,contentLength:a,client:r,expectsPayload:A,header:o});try{for await(let e of t){if(s[F])throw s[F];u.write(e)||await d()}u.end()}catch(e){u.destroy(e)}finally{s.off("close",c).off("drain",c)}}class eB{constructor({abort:e,socket:t,request:r,contentLength:i,client:n,expectsPayload:s,header:a}){this.socket=t,this.request=r,this.contentLength=i,this.client=n,this.bytesWritten=0,this.expectsPayload=s,this.header=a,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:i,client:n,bytesWritten:s,expectsPayload:a,header:o}=this;if(t[F])throw t[F];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==i&&s+l>i){if(n[q])throw new A;process.emitWarning(new A)}t.cork(),0===s&&(a||!1===r.reset||(t[I]=!0),null===i?t.write(`${o}transfer-encoding: chunked\r +`,"latin1"):t.write(`${o}content-length: ${i}\r \r -`,"latin1")),null===n&&t.write(`\r +`,"latin1")),null===i&&t.write(`\r ${l.toString(16)}\r -`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[B].timeout&&3===t[B].timeoutType&&t[B].timeout.refresh&&t[B].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:n,expectsPayload:i,header:s,request:o}=this;if(o.onRequestSent(),e[w]=!1,e[U])throw e[U];if(!e.destroyed){if(0===n?i?e.write(`${s}content-length: 0\r +`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[B].timeout&&3===t[B].timeoutType&&t[B].timeout.refresh&&t[B].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:n,header:s,request:a}=this;if(a.onRequestSent(),e[w]=!1,e[F])throw e[F];if(!e.destroyed){if(0===i?n?e.write(`${s}content-length: 0\r \r `,"latin1"):e.write(`${s}\r -`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&n!==t)if(r[z])throw new A;else process.emitWarning(new A);e[B].timeout&&3===e[B].timeoutType&&e[B].timeout.refresh&&e[B].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:n}=this;t[w]=!1,e&&(i(r[N]<=1,"pipeline should only contain this request"),n(e))}}e.exports=function(e,t){if(e[T]=t,es||(es=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,n="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?n=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(n=!0),n)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{i(eo.ptr===e);let n=t-el+ea.byteOffset;return eo.onStatus(new $(ea.buffer,n,r))},wasm_on_message_begin:e=>(i(eo.ptr===e),eo.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{i(eo.ptr===e);let n=t-el+ea.byteOffset;return eo.onHeaderField(new $(ea.buffer,n,r))},wasm_on_header_value:(e,t,r)=>{i(eo.ptr===e);let n=t-el+ea.byteOffset;return eo.onHeaderValue(new $(ea.buffer,n,r))},wasm_on_headers_complete:(e,t,r,n)=>(i(eo.ptr===e),eo.onHeadersComplete(t,1===r,1===n)),wasm_on_body:(e,t,r)=>{i(eo.ptr===e);let n=t-el+ea.byteOffset;return eo.onBody(new $(ea.buffer,n,r))},wasm_on_message_complete:e=>(i(eo.ptr===e),eo.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[x]=!1,t[w]=!1,t[E]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[en]=!1,t[B]=new ed(e,t,es),s.addListener(t,"error",eu),s.addListener(t,"readable",eh),s.addListener(t,"end",em),s.addListener(t,"close",ep),t[K]=!1,t.on("close",eC),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var a,l,g,u,h,p,C,f;let I,y,B,b,S,D,{method:x,path:R,host:v,upgrade:M,blocking:U,reset:L}=t,{body:O,headers:H,contentLength:P}=t,Y="PUT"===x||"POST"===x||"PATCH"===x||"QUERY"===x||"PROPFIND"===x||"PROPPATCH"===x;if(s.isFormDataLike(O)){n||(n=r(4626).extractBody);let[e,i]=n(O);null==t.contentType&&H.push("content-type",i),O=e.stream,P=e.length}else if(s.isBlobLike(O)&&null==t.contentType){let r=O.type;if(r){let n=`${r}`;if(!s.isValidHeaderValue(n))return s.errorRequest(e,t,new d("invalid content-type header")),!1;H.push("content-type",n)}}O&&"function"==typeof O.read&&O.read(0);let G=s.bodyLength(O);if(null===(P=G??P)&&(P=t.contentLength),0!==P||Y||(P=null),"GET"!==x&&"HEAD"!==x&&"OPTIONS"!==x&&"TRACE"!==x&&"CONNECT"!==x&&P>0&&null!==t.contentLength&&t.contentLength!==P){if(e[z])return s.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let _=e[T];ef(_);let J=r=>{t.aborted||t.completed||(s.errorRequest(e,t,r||new c),s.destroy(O),s.destroy(_,new m("aborted")))};try{t.onRequestStart(J,null)}catch(r){s.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===x&&(_[E]=!0),(M||"CONNECT"===x)&&(_[E]=!0),null!=L&&(_[E]=L),e[q]&&++_[V]>=e[q]&&(_[E]=!0),U&&(_[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[ei]!==r)try{e.setTypeOfService(r),e[ei]=r}catch{}}(_,t);let W=`${x} ${R} HTTP/1.1\r -`;if("string"==typeof v?W+=`host: ${v}\r -`:W+=e[k],M?W+=`connection: upgrade\r +`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&i!==t)if(r[q])throw new A;else process.emitWarning(new A);e[B].timeout&&3===e[B].timeoutType&&e[B].timeout.refresh&&e[B].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(n(r[b]<=1,"pipeline should only contain this request"),i(e))}}e.exports=function(e,t){if(e[T]=t,es||(es=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,i="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?i=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(i=!0),i)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{n(ea.ptr===e);let i=t-el+eo.byteOffset;return ea.onStatus(new Z(eo.buffer,i,r))},wasm_on_message_begin:e=>(n(ea.ptr===e),ea.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{n(ea.ptr===e);let i=t-el+eo.byteOffset;return ea.onHeaderField(new Z(eo.buffer,i,r))},wasm_on_header_value:(e,t,r)=>{n(ea.ptr===e);let i=t-el+eo.byteOffset;return ea.onHeaderValue(new Z(eo.buffer,i,r))},wasm_on_headers_complete:(e,t,r,i)=>(n(ea.ptr===e),ea.onHeadersComplete(t,1===r,1===i)),wasm_on_body:(e,t,r)=>{n(ea.ptr===e);let i=t-el+eo.byteOffset;return ea.onBody(new Z(eo.buffer,i,r))},wasm_on_message_complete:e=>(n(ea.ptr===e),ea.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[D]=!1,t[w]=!1,t[I]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[ei]=!1,t[B]=new ed(e,t,es),s.addListener(t,"error",eg),s.addListener(t,"readable",eh),s.addListener(t,"end",ep),s.addListener(t,"close",em),t[K]=!1,t.on("close",ef),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var o,l,u,g,h,m,f,C;let y,E,B,N,S,x,{method:D,path:R,host:k,upgrade:M,blocking:F,reset:L}=t,{body:O,headers:P,contentLength:H}=t,Y="PUT"===D||"POST"===D||"PATCH"===D||"QUERY"===D||"PROPFIND"===D||"PROPPATCH"===D;if(s.isFormDataLike(O)){i||(i=r(4626).extractBody);let[e,n]=i(O);null==t.contentType&&P.push("content-type",n),O=e.stream,H=e.length}else if(s.isBlobLike(O)&&null==t.contentType){let r=O.type;if(r){let i=`${r}`;if(!s.isValidHeaderValue(i))return s.errorRequest(e,t,new d("invalid content-type header")),!1;P.push("content-type",i)}}O&&"function"==typeof O.read&&O.read(0);let G=s.bodyLength(O);if(null===(H=G??H)&&(H=t.contentLength),0!==H||Y||(H=null),"GET"!==D&&"HEAD"!==D&&"OPTIONS"!==D&&"TRACE"!==D&&"CONNECT"!==D&&H>0&&null!==t.contentLength&&t.contentLength!==H){if(e[q])return s.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let _=e[T];eC(_);let J=r=>{t.aborted||t.completed||(s.errorRequest(e,t,r||new c),s.destroy(O),s.destroy(_,new p("aborted")))};try{t.onRequestStart(J,null)}catch(r){s.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===D&&(_[I]=!0),(M||"CONNECT"===D)&&(_[I]=!0),null!=L&&(_[I]=L),e[z]&&++_[V]>=e[z]&&(_[I]=!0),F&&(_[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[en]!==r)try{e.setTypeOfService(r),e[en]=r}catch{}}(_,t);let W=`${D} ${R} HTTP/1.1\r +`;if("string"==typeof k?W+=`host: ${k}\r +`:W+=e[v],M?W+=`connection: upgrade\r upgrade: ${M}\r -`:e[F]&&!_[E]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(H))for(let e=0;e<H.length;e+=2){let t=H[e+0],r=H[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r +`:e[U]&&!_[I]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(P))for(let e=0;e<P.length;e+=2){let t=P[e+0],r=P[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r `;else W+=`${t}: ${r}\r -`}return o.sendHeaders.hasSubscribers&&o.sendHeaders.publish({request:t,headers:W,socket:_}),O&&0!==G?s.isBuffer(O)?eI(J,O,e,t,_,P,W,Y):s.isBlobLike(O)?"function"==typeof O.stream?ey(J,O.stream(),e,t,_,P,W,Y):eE(J,O,e,t,_,P,W,Y):s.isStream(O)?(a=J,l=O,g=e,u=t,h=_,p=P,C=W,f=Y,i(0!==p||0===g[N],"stream body cannot be pipelined"),I=!1,y=new eB({abort:a,socket:h,request:u,contentLength:p,client:g,expectsPayload:f,header:C}),B=function(e){if(!I)try{!y.write(e)&&this.pause&&this.pause()}catch(e){s.destroy(this,e)}},b=function(){!I&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",D)}),!I){let e=new c;queueMicrotask(()=>D(e))}},D=function(e){if(!I){if(I=!0,i(h.destroyed||h[w]&&g[N]<=1),h.off("drain",b).off("error",D),l.removeListener("data",B).removeListener("end",D).removeListener("close",S),!e)try{y.end()}catch(t){e=t}y.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?s.destroy(l,e):s.destroy(l)}},l.on("data",B).on("end",D).on("error",D).on("close",S),l.resume&&l.resume(),h.on("drain",b).on("error",D),l.errorEmitted??l.errored?setImmediate(D,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(D,null),(l.closeEmitted??l.closed)&&setImmediate(S)):s.isIterable(O)?ey(J,O,e,t,_,P,W,Y):i(!1):eI(J,null,e,t,_,P,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[x]&&t.unref&&(t.unref(),t[x]=!0):t[x]&&t.ref&&(t.ref(),t[x]=!1),0===e[N]&&e[b]>0&&t[en]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[B].readMore(),t.destroyed;return}if(1===t[et]){t[B].readMore(),t.destroyed;return}}if(0===e[N]&&(t[B].readMore(),t.destroyed))return;if(0===e[S])8!==t[B].timeoutType&&t[B].setTimeout(e[L],8);else if(e[N]>0&&t[B].statusCode<200&&3!==t[B].timeoutType){let r=e[D][e[M]],n=null!=r.headersTimeout?r.headersTimeout:e[Y];t[B].setTimeout(n,3)}}}(e)},destroy(e,r){t[K]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[E]||t[Q]||1===t[et]||r&&(e[N]>0&&!r.idempotent||e[N]>0&&(r.upgrade||"CONNECT"===r.method)||e[N]>0&&0!==s.bodyLength(r.body)&&(s.isStream(r.body)||s.isAsyncIterable(r.body)||s.isFormDataLike(r.body))))||!1}}},942(e,t,r){let n,i,s=r(4589),{pipeline:o}=r(7075),a=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:g,HeadersTimeoutError:u,BodyTimeoutError:h}=r(8065),{kUrl:m,kReset:p,kClient:C,kRunning:f,kPending:I,kQueue:E,kPendingIdx:y,kRunningIdx:B,kError:Q,kSocket:N,kStrictContentLength:b,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:D,kHTTP2Session:x,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:k,kHostAuthority:v,kResume:M,kSize:U,kHTTPContext:F,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:O,kBodyTimeout:H,kEnableConnectProtocol:P,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:z}=r(3025),{channels:q}=r(6708),V=Symbol("open streams"),_=Symbol("request stream id"),J=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),K=Symbol("received goaway");try{i=r(2467)}catch{i={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:X,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:$,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:en,HTTP2_HEADER_PROTOCOL:ei,NGHTTP2_NO_ERROR:es,NGHTTP2_REFUSED_STREAM:eo}}=i;function ea(e){e[_]=null,e[J]=null,e[W]=null}function eA(e,t,r){let n=e[W],i=e[J];ea(e),n?.(i),e[_]=t.id,e[J]=t,e[W]=r}function el(e){let t=e[W],r=e[J];ea(e),t?.(r)}function ec(e){let t=e[z];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[z];!0===t.refed&&(t.refed=!1,e.unref())}function eg(e){let t=e[z];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eu(e){let t=e[C];if(t[x]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[U])return void eg(e);let r=e[z];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[C],r=e[N];if(e[z].idleTimeout=null,t[x]!==e||0!==e[V]||0!==t[U]||e.closed||e.destroyed)return;let n=new d("socket idle timeout");r[Q]=n,a.destroy(r,n)}function em(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function ep(e){if(this[C][w]=e.maxConcurrentStreams??this[C][w],!0===this[Y]&&!0===this[P]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[N][Q]=e,this[C][S](e);return}this[P]=e.enableConnectProtocol??this[P],this[Y]=!0,this[C][M]()}function eC(e){let t=e[z];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[C],n=this[N];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);n[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function ef(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[N][Q]=e,this[K]||this[C][S](e)}function eI(e,t,r){if(0===r){if(this[K])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[N][Q]=r,this[C][S](r)}}function eE(e,t){if(this[K])return;this[K]=!0;let r=this[Q]||(e===es?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this[N]))),n=this[C],i=n[y],s=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[B];t<e[y];t++){let n=e[E][t];if(null!=n&&("number"!=typeof n[_]||n[_]>r))return t}return e[y]}(n,t),o=[],A=[];for(let e=s;e<i;e++){let t=n[E][e];null!=t&&(A.push(function(e){let t=e[J];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||a.isBuffer(t)||a.isBlobLike(t)}(t)?o.push(t):a.errorRequest(n,t,r))}for(let e=0;e<A.length;e++)!function(e,t=eo){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(s!==i){let e=n[E].slice(i);n[E].length=s,n[E].push(...o,...e)}n[x]===this&&(n[N]=null,n[F]=null,n[x]=null),eg(this),this.closed||this.destroyed||this.close(),n[y]=s,n.emit("disconnect",n[m],[n],r),n[M]()}function ey(){let{[C]:e,[z]:t,[N]:r}=this,n=r[Q]||this[Q]||new c("closed",a.getSocketInfo(r));if(e[x]===this&&(e[N]=null,e[F]=null,e[x]=null),eg(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){s(0===e[I]);let t=e[E].splice(e[B]);for(let r=0;r<t.length;r++){let i=t[r];null!=i&&a.errorRequest(e,i,n)}}}function eB(){let e=this[Q]||new c("closed",a.getSocketInfo(this)),t=this[x],r=t[C];r[N]!==this&&(t[K]||null!=r[x]&&r[x]!==t)||(r[N]=null,r[F]=null,r[x]===t&&(r[x]=null),t.destroy(e),r[y]=r[B],s(0===r[f]),r.emit("disconnect",r[m],[r],e),r[M]())}function eQ(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[x]?.[K]||this[x]?.[C]?.[S](e)}function eN(){a.destroy(this,new c("other side closed",a.getSocketInfo(this)))}function eb(){this[T]=!0}function eS(){}function ew(e){let t=e[x];e[x]=null,t[V]-=1,0===t[V]&&(ed(t),eu(t))}function eD(){this.off("error",eS);let e=this[j];this[j]=null,ev(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function ex(){let e=this[j];null!=e&&(eP(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eO(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",eM),e.off("end",eU),e.off("timeout",eF),e.off("error",eS)}function ek(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[J]===e&&ea(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ev(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(ek(e.stream),e.abort(t,!0))}function eM(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ev(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ev(e,new d("HTTP/2: stream errored before response headers"))}function eU(){ev(this[j],new d("HTTP/2: stream half-closed (remote)"))}function eF(){let e=this[j];ev(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:n}=r;r.responseReceived=!0;let i=e[en];delete e[en],n.onRequestUpgrade(i,e,this),n.aborted||n.completed||(eR(this),ea(n),eO(r))}function eL(e,t){let{request:r,headersTimeout:n,session:i}=t;e[G]=!0,e[x]=i,e[j]=t,t.stream=e,eA(r,e,ek),e.once("response",eT),e.on("error",eM),e.once("end",eU),e.on("timeout",eF),e.once("close",eD),eg(i),++i[V],e.setTimeout(n)}function eO(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let n=e[E],i=e[B];if(i<e[y]&&n[i]===t){n[i]=null,e[B]=i+1;return}let s=n.indexOf(t,i);-1!==s&&!(s>=e[y])&&(n.splice(s,1),e[y]--,r&&e[y]<e[B]&&(e[y]=e[B]))}(e.client,e.request,t),e.client[M]())}function eH(e,t,r,n,i,s){try{return r.request(i,s)}catch(s){if(s?.code==="ERR_HTTP2_INVALID_SESSION"||s?.code==="ERR_HTTP2_GOAWAY_SESSION"){let n=new c(s.message,a.getSocketInfo(r[N]));n.cause=s,r[Q]=n;let i=r[C],o=r[N];if(i[x]===r&&(i[N]=null,i[F]=null,i[x]=null),null!=o&&null==o[Q]&&(o[Q]=n),!r.closed&&!r.destroyed)try{r.destroy(n)}catch{}return a.destroy(o,n),e[E].splice(e[y]+1,0,t),null}let i=new d(s.message,{cause:s});return r[Q]=i,r[N][Q]=i,r.destroy(i),a.destroy(r[N],i),n(i),null}}function eP(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[J]===e&&ea(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",ez),e.off("error",eq),e.off("frameError",eV),e.off("aborted",e_),e.off("timeout",eJ),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let n=e[en];(delete e[en],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eP(this):(!1===r.onResponseStart(Number(n),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function ez(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",ez),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,ex.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function eq(e){let t=this[j];null!=t&&(this.off("error",eq),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function e_(){this.off("data",eY)}function eJ(){let e=this[j];if(null==e)return;this.off("timeout",eJ);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new u(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,n,i,A,l;let c,d=this[j];d.bodySent=!0;let{abort:g,body:u,client:h,contentLength:m,expectsPayload:C,request:I}=d;u&&0!==m?a.isBuffer(u)?eK(g,this,u,h,I,h[N],m,C):a.isBlobLike(u)?"function"==typeof u.stream?eZ(g,this,u.stream(),h,I,h[N],m,C):eX(g,this,u,h,I,h[N],m,C):a.isStream(u)?(e=g,t=h[N],r=C,n=this,i=u,A=h,l=I,s(0!==m||0===A[f],"stream body cannot be pipelined"),c=o(i,n,n=>{n?(a.destroy(c,n),e(n)):(a.removeAllListeners(c),l.onRequestSent(),r||(t[p]=!0),A[M]())}),a.addListener(c,"data",function(e){l.onBodySent(e)})):a.isIterable(u)?eZ(g,this,u,h,I,h[N],m,C):s(!1):eK(g,this,null,h,I,h[N],m,C)}function eK(e,t,r,n,i,o,A,l){try{null!=r&&a.isBuffer(r)&&(s(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),i.onBodySent(r)),l||(o[p]=!0),i.onRequestSent(),n[M]()}catch(t){e(t)}}async function eX(e,t,r,n,i,s,o,a){try{if(null!=o&&o!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),i.onBodySent(e),i.onRequestSent(),a||(s[p]=!0),n[M]()}catch(t){e(t)}}async function eZ(e,t,r,n,i,o,a,A){s(0!==a||0===n[f],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),o[Q]?t(o[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(o[Q])throw o[Q];let r=t.write(e);i.onBodySent(e),r||await d()}t.end(),i.onRequestSent(),A||(o[p]=!0),n[M]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[N]=t;let o=e[R],c=e[k],u=i.connect(e[m],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=o?{initialWindowSize:o}:null}});return e[N]=t,u[V]=0,u[C]=e,u[N]=t,u[z]={idleTimeout:null,refed:!0,ping:{interval:0===e[D]?null:setInterval(eC,e[D],u).unref()}},u[K]=!1,u[P]=!1,u[Y]=!1,c&&a.addListener(u,"connect",em.bind(u,c)),a.addListener(u,"error",ef),a.addListener(u,"frameError",eI),a.addListener(u,"goaway",eE),a.addListener(u,"close",ey),a.addListener(u,"remoteSettings",ep),ed(u),e[x]=u,t[x]=u,a.addListener(t,"error",eQ),a.addListener(t,"end",eN),a.addListener(t,"close",eB),t[T]=!1,t.on("close",eb),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let i=t.headersTimeout??e[O],o=t.bodyTimeout??e[H],c=e[x],{method:u,path:h,host:m,upgrade:p,expectContinue:C,signal:f,protocol:I,headers:E}=t;if(null!=p&&"websocket"!==p)return a.errorRequest(e,t,new g(`Custom upgrade "${p}" not supported over HTTP/2`)),!1;let y=function(e){let t={};for(let r=0;r<e.length;r+=2){let n=e[r+0],i=e[r+1],s=t[n];if("cookie"===n){null!=s?t[n]=Array.isArray(s)?(s.push(i),s):[s,i]:t[n]=i;continue}if("string"==typeof i){t[n]=s?`${s}, ${i}`:i;continue}for(let e=0;e<i.length;e++)t[n]=t[n]?`${t[n]}, ${i[e]}`:i[e]}return t}(E);y[X]=m||e[v],y[Z]=u;let B={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:i,bodyTimeout:o,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,n=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,a.errorRequest(e,t,r),null!=B.stream){el(t);let i=B.stream;i.close(),i.destroyed||a.destroy(i),e[S](r),eO(B,n)}a.destroy(B.body,r)}};B.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){a.errorRequest(e,t,r)}if(t.aborted)return!1;if(p||"CONNECT"===u)return(ec(c),"websocket"===p)?!1===c[P]?(a.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(y[Z]="CONNECT",y[ei]="websocket",y[$]=h,"ws:"===I||"wss:"===I?y[ee]="ws:"===I?"http":"https":y[ee]="http:"===I?"http":"https",null==(w=eH(e,t,c,Q,y,{endStream:!1,signal:f})))?(ed(c),!1):(eL(w,B),!0):null==(w=eH(e,t,c,Q,y,{endStream:!1,signal:f}))?(ed(c),!1):(eL(w,B),!0);y[$]=h,y[ee]="http:"===I?"http":"https";let D="PUT"===u||"POST"===u||"PATCH"===u||"QUERY"===u||"PROPFIND"===u||"PROPPATCH"===u,R=B.body;R&&"function"==typeof R.read&&R.read(0);let k=a.bodyLength(R);if(a.isFormDataLike(R)){let[e,t]=(n??=r(4626).extractBody)(R);y["content-type"]=t,R=e.stream,k=e.length}if(null==k&&(k=t.contentLength),0!==k||D||(k=null),"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"TRACE"!==u&&"CONNECT"!==u&&k>0&&null!=t.contentLength&&t.contentLength!==k){if(e[b])return a.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=k&&(s(R||0===k,"no body must not have content length"),y[et]=`${k}`),ec(c),q.sendHeaders.hasSubscribers){let e="";for(let t in y)e+=`${t}: ${y[t]}\r -`;q.sendHeaders.publish({request:t,headers:e,socket:c[N]})}let M=null===R||0===k;return B.body=R,B.contentLength=k,B.expectsPayload=D,C&&(y[er]="100-continue"),null!=(w=eH(e,t,c,Q,y,{endStream:M,signal:f}))&&(w[G]=!0,w[j]=B,B.stream=w,eg(c),++c[V],i&&w.setTimeout(i),w[x]=c,w.on("close",ex),eA(t,w,eP),C&&w.once("continue",ej),w.on("response",eG),w.on("end",ez),w.on("error",eq),w.on("frameError",eV),w.on("aborted",e_),(i||o)&&w.on("timeout",eJ),w.on("trailers",eW),C||ej.call(w),!0)})(e,t),resume(){var t;let r,n;r=(t=e)[N],n=t[x],r?.destroyed===!1&&(0===t[U]||0===t[w]?ed(n):ec(n),0===t[U]&&0===n[V]?eu(n):eg(n))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===u[Y]&&e[f]>0||e[f]>=e[w])return!0;if(null!=t){if(!(e[f]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y])return!0}return!1}}}},5183(e,t,r){let n=r(4589),i=r(7030),s=r(7067),o=r(1210),{ClientStats:a}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:g,ClientDestroyedError:u}=r(8065),h=r(5010),{kUrl:m,kServerName:p,kClient:C,kBusy:f,kConnect:I,kResuming:E,kRunning:y,kPending:B,kSize:Q,kQueue:N,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:x,kPendingIdx:R,kRunningIdx:k,kError:v,kPipelining:M,kKeepAliveTimeoutValue:U,kMaxHeadersSize:F,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:O,kBodyTimeout:H,kStrictContentLength:P,kConnector:Y,kMaxRequests:G,kCounter:z,kClose:q,kDestroy:V,kDispatch:_,kLocalAddress:J,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:X,kHostAuthority:Z,kHTTP2InitialWindowSize:$,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),en=r(8043),ei=r(942),es=Symbol("kClosedResolve"),eo=s&&s.maxHeaderSize&&Number.isInteger(s.maxHeaderSize)&&s.maxHeaderSize>0?()=>s.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},ea=()=>{};function eA(e){return e[K]?.version==="h2"?e[X]:e[M]??e[K]?.defaultPipelining??1}function el(e,t){if(0===e[y]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){n(e[R]===e[k]);let r=e[N].splice(e[k]);for(let n=0;n<r.length;n++){let i=r[n];null!=i&&o.errorRequest(e,i,t)}n(0===e[Q])}}function ec(e){n(!e[S]),n(!e[K]);let{host:t,hostname:r,protocol:s,port:a}=e[m];if("["===r[0]){let e=r.indexOf("]");n(-1!==e);let t=r.substring(1,e);n(i.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:s,port:a,servername:e[p],localAddress:e[J]},(i,l)=>{if(i){ed(e,i,{host:t,hostname:r,protocol:s,port:a}),e[et]();return}if(e.destroyed){o.destroy(l.on("error",ea),new u),e[et]();return}n(l);try{e[K]="h2"===l.alpnProtocol?ei(e,l):en(e,l)}catch(n){l.destroy().on("error",ea),ed(e,n,{host:t,hostname:r,protocol:s,port:a}),e[et]();return}e[S]=!1,l[z]=0,l[G]=e[G],l[C]=e,l[v]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],socket:l}),e.emit("connect",e[m],[e]),e[et]()})}catch(n){ed(e,n,{host:t,hostname:r,protocol:s,port:a}),e[et]()}}function ed(e,t,{host:r,hostname:n,protocol:i,port:s}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:n,protocol:i,port:s,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[N].splice(e[k],e[y]);e[R]=e[k];for(let n=0;n<r.length;n++)o.errorRequest(e,r[n],t);for(;e[B]>0&&e[N][e[R]].servername===e[p];){let r=e[N].splice(e[R],1)[0];o.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[m],[e],t)}}function eg(e){e[w]=0,e.emit("drain",e[m],[e])}function eu(e,t){2!==e[E]&&(e[E]=2,function(e,t){for(;;){if(e.destroyed)return void n(0===e[B]);if(e[es]&&!e[Q]){e[es](),e[es]=null;return}if(e[K]&&e[K].resume(),e[f])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eg(e))):eg(e);continue}if(0===e[B]||e[y]>=(eA(e)||1))return;let r=e[N][e[R]];if(null===r)return;if("https:"===e[m].protocol&&e[p]!==r.servername){if(e[y]>0)return;e[p]=r.servername,e[K]?.destroy(new g("servername changed"),()=>{e[K]=null,eu(e)})}if(e[S])return;if(!e[K])return void ec(e);if(e[K].destroyed||e[K].busy(r))return;!r.aborted&&e[K].write(r)?e[R]++:e[N].splice(e[R],1)}}(e,t),e[E]=0,e[k]>256&&(e[N].splice(0,e[k]),e[R]-=e[k],e[k]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:n,requestTimeout:s,connectTimeout:a,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:u,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:f,socketPath:I,pipelining:y,tls:B,strictContentLength:Q,maxCachedSessions:b,connect:S,maxRequestsPerClient:v,localAddress:z,maxResponseSize:q,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_,maxConcurrentStreams:en,allowH2:ei,useH2c:ea,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eg}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==n)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==s)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==u)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=eo();if(null!=I&&"string"!=typeof I)throw new d("invalid socketPath");if(null!=a&&(!Number.isFinite(a)||a<0))throw new d("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new d("invalid keepAliveTimeout");if(null!=C&&(!Number.isFinite(C)||C<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=f&&!Number.isFinite(f))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=v&&(!Number.isInteger(v)||v<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=z&&("string"!=typeof z||0===i.isIP(z)))throw new d("localAddress must be valid string IP address");if(null!=q&&(!Number.isInteger(q)||q<-1))throw new d("maxResponseSize must be a positive number");if(null!=_&&(!Number.isInteger(_)||_<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=ei&&"boolean"!=typeof ei)throw new d("allowH2 must be a valid boolean value");if(null!=en&&("number"!=typeof en||en<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=ea&&"boolean"!=typeof ea)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eg}),"function"!=typeof S)S=h({...B,maxCachedSessions:b,allowH2:ei,useH2c:ea,socketPath:I,timeout:a,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=I?{socketPath:I}:null,...null!=ei?{allowH2:ei}:null},r)}this[m]=o.parseOrigin(e),this[Z]=`${this[m].hostname}${this[m].port?`:${this[m].port}`:""}`,this[Y]=S,this[M]=null!=y?y:1,this[F]=t,this[D]=null==g?4e3:g,this[T]=null==C?6e5:C,this[L]=null==f?2e3:f,this[U]=this[D],this[p]=null,this[J]=null!=z?z:null,this[E]=0,this[w]=0,this[x]=`host: ${this[Z]}\r -`,this[H]=null!=A?A:3e5,this[O]=null!=r?r:3e5,this[P]=null==Q||Q,this[G]=v,this[es]=null,this[W]=q>-1?q:-1,this[K]=null,this[X]=null!=en?en:100,this[$]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[N]=[],this[k]=0,this[R]=0,this[et]=e=>eu(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[M]}set pipelining(e){this[M]=e,this[et](!0)}get stats(){return new a(this)}get[B](){return this[N].length-this[R]}get[y](){return this[R]-this[k]}get[Q](){return this[N].length-this[k]}get[b](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[f](){let e=this[K]?.version==="h2";return!!(this[K]?.busy(null)||this[Q]>=(eA(this)||1)||this[B]>0&&!e)}[I](e){ec(this),this.once("connect",e)}[_](e,t){let r=new l(this[m].origin,e,t);return this[N].push(r),this[E]||(null==o.bodyLength(r.body)&&o.isIterable(r.body)?(this[E]=1,queueMicrotask(()=>eu(this))):this[et](!0)),this[E]&&2!==this[w]&&this[f]&&(this[w]=2),this[w]<2}[q](){return new Promise(e=>{this[Q]?this[es]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[N].splice(this[R]);for(let t=0;t<r.length;t++){let n=r[t];null!=n&&o.errorRequest(this,n,e)}let n=()=>{this[es]&&(this[es](),this[es]=null),t(null)};this[K]?(this[K].destroy(e,n),this[K]=null):queueMicrotask(n),this[et]()})}}},9779(e,t,r){let n=r(6873),{ClientDestroyedError:i,ClientClosedError:s,InvalidArgumentError:o}=r(8065),{kDestroy:a,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),g=Symbol("onDestroyed"),u=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends n{[c]=!1;[g]=null;[l]=!1;[u]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,n)=>r?t(r):e(n))});if("function"!=typeof e)throw new o("invalid callback");if(this[c]){let t=new i;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[u]?this[u].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[u]??=[],this[u].push(e);let t=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,n)=>e?r(e):t(n))});if("function"!=typeof t)throw new o("invalid callback");if(this[c])return void(this[g]?this[g].push(t):queueMicrotask(()=>t(null,null)));e||(e=new i),this[c]=!0,this[g]??=[],this[g].push(t);let r=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[a](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new o("handler must be an object");try{if(!e||"object"!=typeof e)throw new o("opts must be an object.");if(e.dispatcher)throw new o("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[g])throw new i;if(this[l])throw new s;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let n=r(8474);e.exports=class extends n{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let n=r(6873),{InvalidArgumentError:i}=r(8065),{toRawHeaders:s}=r(1210);class o{#B;constructor(e){this.#B=e}onRequestStart(e,t){this.#B.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,n){let i=e?.rawHeaders??s(r??{});this.#B.onUpgrade?.(t,i,n)}onResponseStart(e,t,r,n){let i=e?.rawHeaders??s(r??{});this.#B.onHeaders?.(t,i,()=>e.resume(),n)===!1&&e.pause()}onResponseData(e,t){this.#B.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??s(t??{});this.#B.onComplete?.(r)}onResponseError(e,t){if(!this.#B.onError)throw t;this.#B.onError(t)}onBodySent(e){this.#B.onBodySent?.(e)}onRequestSent(){this.#B.onRequestSent?.()}onResponseStarted(){this.#B.onResponseStarted?.()}}e.exports=class e extends n{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new i("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new i("handler must be an object");return"function"==typeof e.onRequestStart?e:new o(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let n=r(9779),{kClose:i,kDestroy:s,kClosed:o,kDestroyed:a,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),g=r(3614),u=r(5891),h={"http:":80,"https:":443};e.exports=class extends n{#N=null;#b=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:n,...i}=e;this[l]=new u(i);let s=t??process.env.http_proxy??process.env.HTTP_PROXY;s?this[c]=new g({...i,uri:s}):this[c]=this[l];let o=r??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[d]=new g({...i,uri:o}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#D(r).dispatch(e,t)}[i](){return Promise.all([this[l].close(),!this[c][o]&&this[c].close(),!this[d][o]&&this[d].close()])}[s](e){return Promise.all([this[l].destroy(e),!this[c][a]&&this[c].destroy(e),!this[d][a]&&this[d].destroy(e)])}#D(e){let{protocol:t,host:r,port:n}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||h[t]||0,this.#x(r,n))?"https:"===t?this[d]:this[c]:this[l]}#x(e,t){if(this.#R&&this.#w(),0===this.#b.length)return!0;if("*"===this.#N)return!1;for(let r=0;r<this.#b.length;r++){let n=this.#b[r];if((!n.port||n.port===t)&&(e===n.hostname||e.slice(-(n.hostname.length+1))===`.${n.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#k,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let n=t[e];if(!n)continue;let i=n.match(/^(.+):(\d+)$/);r.push({hostname:(i?i[1]:n).replace(/^\*?\./,"").toLowerCase(),port:i?Number.parseInt(i[2],10):0})}this.#N=e,this.#b=r}get #R(){return void 0===this.#S.noProxy&&this.#N!==this.#k}get #k(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:n}=r(8065),i=r(5183);e.exports=class extends i{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new n("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:i,...s}=t??{},o=r??100,a=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new n("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=i&&Number.isInteger(i)&&i>0&&(a=i),a>o)throw new n("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...s,maxConcurrentStreams:o,pipelining:a,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:n}=r(256),i=r(9779),s=r(9006),{kConnected:o,kSize:a,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:g,kUrl:u,kClose:h,kDestroy:m,kDispatch:p}=r(3025),C=Symbol("clients"),f=Symbol("needDrain"),I=Symbol("queue"),E=Symbol("closed resolve"),y=Symbol("onDrain"),B=Symbol("onConnect"),Q=Symbol("onDisconnect"),N=Symbol("onConnectionError"),b=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),D=Symbol("remove client");class x extends i{[I]=new s;[c]=0;[C]=[];[f]=!1;[y](e,t,r){let n=this[I],i=!1;for(;!i;){let t=n.shift();if(!t)break;this[c]--,i=!e.dispatch(t.opts,t.handler)}if(e[f]=i,!i&&this[f]&&(this[f]=!1,this.emit("drain",t,[this,...r])),this[E]&&n.isEmpty()){let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[E])}}[B]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[N]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[f]}get[o](){let e=0;for(let{[o]:t}of this[C])e+=t;return e}get[g](){let e=0;for(let{[o]:t,[f]:r}of this[C])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[C])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[C])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[C])e+=t;return e}get stats(){return new n(this)}[h](){if(!this[I].isEmpty())return new Promise(e=>{this[E]=e});{let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[m](e){for(;;){let t=this[I].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[C].length);for(let r=0;r<this[C].length;r++)t[r]=this[C][r].destroy(e);return Promise.all(t)}[p](e,t){let r=this[b]();return r?r.dispatch(e,t)||(r[f]=!0,this[f]=!this[S]()):(this[f]=!0,this[I].push({opts:e,handler:t}),this[c]++),!this[f]}[S](){for(let e=0;e<this[C].length;e++){let t=this[C][e];if(!t[f]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[y].bind(this,e)).on("connect",this[B]).on("disconnect",this[Q]).on("connectionError",this[N]),this[C].push(e),this[f]&&queueMicrotask(()=>{this[f]&&this[y](e,e[u],[e,this])}),this}[D](e){let t=this[C].indexOf(e);-1!==t&&this[C].splice(t,1),e.close(()=>{}),this[f]=!this[C].some(e=>!e[f]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:x,kClients:C,kNeedDrain:f,kAddClient:w,kRemoveClient:D,kGetDispatcher:b,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:n,kClients:i,kNeedDrain:s,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory");function f(e,t){return new c(e,t)}e.exports=class extends n{constructor(e,{connections:t,factory:r=f,connect:n,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:I,useH2c:E,clientTtl:y,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=n&&"function"!=typeof n&&"object"!=typeof n)throw new d("connect must be a function or an object");"function"!=typeof n&&(n=h({...o,maxCachedSessions:a,allowH2:I,useH2c:E,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...n})),super(B),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(B),connect:n,allowH2:I,useH2c:E,clientTtl:y,socketPath:A},this[C]=r,this.on("connect",(e,t)=>{if(null!=y&&y>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[i].indexOf(e);-1!==t&&this[i].splice(t,1)}})}[a](){let e=this[m].clientTtl;for(let t=0;t<this[i].length;t++){let r=this[i][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return r}if(!this[p]||this[i].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[i].length;t++){let r=this[i][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return!0}if(!this[p]||this[i].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},3614(e,t,r){let{kProxy:n,kClose:i,kDestroy:s,kDispatch:o}=r(3025),a=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:g,ProxyConnectionError:u}=r(8065),h=r(5010),m=r(5183),{channels:p}=r(6708),C=r(9741),f=Symbol("proxy agent"),I=Symbol("proxy client"),E=Symbol("proxy headers"),y=Symbol("request tls settings"),B=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),N=Symbol("connect endpoint function (http/1.1 only)"),b=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let D=()=>{};function x(e,t){return 1===t.connections?new m(e,t):new A(e,t)}class R extends l{#v;#M;constructor(e,{headers:t={},connect:r,factory:n,proxyServername:i}){if(!e)throw new c("Proxy URL is mandatory");super(),this[E]=t,this.#M=i,n?this.#v=n(e,{connect:r}):this.#v=new m(e,{connect:r})}[o](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,n,i,s){if(407===n){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,n,i,s)};let{origin:n,path:i="/",headers:s={}}=e;if(e.path=n+i,!("host"in s)&&!("Host"in s)){let{host:e}=new URL(n);s.host=e}return e.headers={...this[E],...s},null!=this.#M&&(e.servername=this.#M),this.#v[o](e,t)}[i](){return this.#v.close()}[s](e){return this.#v.destroy(e)}}function k(e){return e.length===S.length&&e.toLowerCase()===S}function v(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:i}=e;super();let s=this.#U(e),{href:o,origin:A,port:l,protocol:m,username:S,password:k,hostname:v}=s;if(this[n]={uri:o,protocol:m},this[y]=e.requestTls,this[B]=e.proxyTls,this[E]=e.headers||{},this[b]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[E]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[E]["proxy-authorization"]=e.token:S&&k?this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(k)}`).toString("base64")}`:S&&(this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let M=h({timeout:i,...e.proxyTls}),U=h({timeout:i,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:i,...e.requestTls}),this[N]=h({timeout:i,...e.requestTls,allowH2:!1});let F=e.factory||x,T=(t,r)=>{let{protocol:i}=new URL(t);if("socks5:"===this[n].protocol||"socks:"===this[n].protocol)return new C(this[n].uri,{headers:this[E],connect:M,factory:F,username:e.username||S,password:e.password||k,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[b]&&"http:"===i){let e="https:"===this[n].protocol?(e,t)=>U(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new g(e)):t(e,r)}):U;return new R(this[n].uri,{headers:this[E],connect:e,factory:F,proxyServername:"https:"===this[n].protocol?this[B]?.servername||v:void 0})}return F(t,r)};"socks5:"===m||"socks:"===m?this[I]=null:this[I]=t(s,{connect:M}),this[f]=new a({...e,factory:T,connect:async(e,t)=>{if(!this[I])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let n,i={origin:A,port:l,path:r,signal:e.signal,headers:{...this[E],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[B]?.servername||v},{socket:s,statusCode:o}=await this[I].connect(i);if(200!==o){s.on("error",D).destroy(),t(new d(`Proxy response (${o}) !== 200 when HTTP Tunneling`));return}if(p.proxyConnected.hasSubscribers&&p.proxyConnected.publish({socket:s,connectParams:i}),"https:"!==e.protocol)return void t(null,s);n=this[y]?this[y].servername:e.servername,(!1===e.allowH2?this[N]:this[Q])({...e,servername:n,httpSocket:s},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new g(e):"UND_ERR_SOCKET"===e.code?new u(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)k(e[r])&&v(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)k(t)&&v()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[f].dispatch({...e,headers:r},t)}#U(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[i](){let e=[this[f].close()];return this[I]&&e.push(this[I].close()),Promise.all(e)}[s](){let e=[this[f].destroy()];return this[I]&&e.push(this[I].destroy()),Promise.all(e)}}},8392(e,t,r){let n=r(6873),i=r(4166);e.exports=class extends n{#F=null;#T=null;constructor(e,t={}){super(t),this.#F=e,this.#T=t}dispatch(e,t){let r=new i({...e,retryOptions:this.#T},{dispatch:this.#F.dispatch.bind(this.#F),handler:t});return this.#F.dispatch(e,r)}close(){return this.#F.close()}destroy(){return this.#F.destroy()}}},1326(e,t,r){let{PoolBase:n,kClients:i,kNeedDrain:s,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory"),f=Symbol("index");function I(e,t){return new c(e,t)}e.exports=class extends n{constructor(e,{connections:t,factory:r=I,connect:n,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:E,clientTtl:y,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=n&&"function"!=typeof n&&"object"!=typeof n)throw new d("connect must be a function or an object");"function"!=typeof n&&(n=h({...o,maxCachedSessions:a,allowH2:E,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...n})),super(),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(B),connect:n,allowH2:E,clientTtl:y,socketPath:A},this[C]=r,this[f]=-1,this.on("connect",(e,t)=>{if(null!=y&&y>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[i].indexOf(e);-1!==t&&this[i].splice(t,1)}})}[a](){let e=this[m].clientTtl;if(0===this[i].length){let e=this[C](this[u],this[m]);return this[o](e),e}let t=0;for(;t<this[i].length;){this[f]=(this[f]+1)%this[i].length;let r=this[i][this[f]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[f]--;continue}if(!r[s])return r;t++}if(!this[p]||this[i].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[i].length;t++){let r=this[i][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[f]&&this[f]--,t--;else if(!r[s])return!0}if(!this[p]||this[i].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},9741(e,t,r){let n,{URL:i}=r(3136),s=r(9779),{InvalidArgumentError:o}=r(8065),{Socks5Client:a,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),g=r(6334),u=r(5010),{debuglog:h}=r(7975),m=h("undici:socks5-proxy"),p=Symbol("proxy url"),C=Symbol("proxy headers"),f=Symbol("proxy auth"),I=Symbol("proxy protocol"),E=Symbol("pools"),y=Symbol("connector"),B=Symbol("request tls settings"),Q=!1;e.exports=class extends s{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new o("Proxy URL is mandatory");let r="string"==typeof e?new i(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new o("Proxy URL must use socks5:// or socks:// protocol");this[p]=r,this[C]=t.headers||{},this[I]=t.proxyTls?"https:":"http:",this[B]=t.requestTls,this[f]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[y]=t.connect||u({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[E]=new Map}async createSocks5Connection(e,t){let r=this[p].hostname,n=parseInt(this[p].port)||1080;m("creating SOCKS5 connection to",r,n);let i=Promise.withResolvers();this[y]({hostname:r,host:r,port:n,protocol:this[I]},(e,t)=>{e?i.reject(e):i.resolve(t)});let s=await i.promise,o=new a(s,this[f]);o.on("error",e=>{m("SOCKS5 error:",e),s.destroy()}),await o.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),o.removeListener("error",g),l.resolve()},g=e=>{clearTimeout(c),o.removeListener("authenticated",d),l.reject(e)};o.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(o.once("authenticated",d),o.once("error",g)),await l.promise,await o.connect(e,t);let u=Promise.withResolvers(),h=setTimeout(()=>{u.reject(Error("SOCKS5 connection timeout"))},5e3),C=r=>{m("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),o.removeListener("error",E),u.resolve()},E=e=>{clearTimeout(h),o.removeListener("connected",C),u.reject(e)};return o.once("connected",C),o.once("error",E),await u.promise,s}[l](e,t){let{origin:s}=e;m("dispatching request to",s,"via SOCKS5");try{let o=String(s),a=this[E].get(o);return(!a||a.destroyed||a.closed)&&(a=new g(s,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new i(s),o=e.hostname,a=parseInt(e.port)||("https:"===e.protocol?443:80);m("establishing SOCKS5 connection to",o,a);let A=await this.createSocks5Connection(o,a),l=A;if("https:"===e.protocol){n||(n=r(1692)),m("upgrading to TLS"),l=n.connect({...this[B],socket:A,servername:this[B]?.servername||o});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){m("SOCKS5 connection error:",e),t(e)}}}),this[E].set(o,a)),a[l](e,t)}catch(e){if(m("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[E].values())e.push(t.close());this[E].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[E].values())t.push(r.destroy(e));this[E].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let n,i=Symbol.for("undici.globalDispatcher.2"),s=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:o}=r(8065),a=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new o("Argument agent must implement Agent");try{Object.defineProperty(globalThis,i,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){n=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,s,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[i]??n}void 0===c()&&l(new a),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let n=r(1210),{parseCacheControlHeader:i,hasInvalidCacheControlDirective:s,parseVaryHeader:o,hasVaryStar:a,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let g=[200,203,204,206,300,301,308,404,405,410,414,501],u=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function m(e,t,r){C(e,{...t,path:r});for(let i=0;i<n.safeHTTPMethods.length;i++){let s=n.safeHTTPMethods[i];s!==t.method&&C(e,{...t,method:s,path:r})}}function p(e,t,r){if(void 0===r)return;let n=Array.isArray(r)?r:[r];for(let r=0;r<n.length;r++){let i=function(e,t){let r,n,i;if("string"==typeof t){try{r=new URL(e.origin),n=new URL(e.path,r),i=new URL(t,n)}catch{return}if(i.origin===r.origin)return i.pathname+i.search}}(t,n[r]);void 0!==i&&m(e,t,i)}}function C(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function f(e,t,r){304===e&&C(t,r)}e.exports=class{#L;#O;#H;#P;#B;#Y;constructor({store:e,type:t,cacheByDefault:r},n,i){this.#P=e,this.#O=t,this.#H=r,this.#L=n,this.#B=i}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#B.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,n){this.#B.onRequestUpgrade?.(e,t,r,n)}onResponseStart(e,t,r,d){var I,E,y,B,Q,N,b,S,w,D;let x,R=()=>this.#B.onResponseStart?.(e,t,r,d),k=this;if(!h(n.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return I=this.#P,E=this.#L,m(I,E,E.path),p(I,E,r.location),p(I,E,r["content-location"]),R()}let v=r["cache-control"],M=r["last-modified"]&&h(g,t);if(!v&&!r.expires&&!M&&!this.#H)return 304===t&&r.vary&&A(r.vary)&&C(this.#P,this.#L),R();let U=v?i(v):{};if(y=this.#O,B=t,Q=r,N=U,b=this.#L.headers,B<200||h(u,B)||!h(g,B)&&!Q.expires&&!N.public&&void 0===N["max-age"]&&!(N.private&&"private"===y)&&(void 0===N["s-maxage"]||"shared"!==y)||N["no-store"]||"shared"===y&&!0===N.private||Q.vary&&a(Q.vary)||null!=b&&Object.hasOwn(b,"authorization")&&(!N.public&&!N["s-maxage"]&&!N["must-revalidate"]||"string"!=typeof b.authorization||Array.isArray(N["no-cache"])&&h(N["no-cache"],"authorization")||Array.isArray(N.private)&&h(N.private,"authorization"))||0){return 304===t&&(v||(S=this.#O,w=r,!0===(D=U)["no-store"]||"shared"===S&&!0===D.private||w.vary&&A(w.vary)))&&C(this.#P,this.#L),R()}let F=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return f(t,this.#P,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return f(t,this.#P,this.#L),R();let O=Math.max(L?Math.max(0,F-L.getTime()):0,T??0),H="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],P=function(e,t,r,n,i,o,a){if("shared"===e){if(s(o,"s-maxage"))return 0;let e=o["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(s(o,"max-age"))return 0;let A=o["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(n,"expires")){if("string"!=typeof n.expires)return 0;let e=c(n.expires);if(!e||t>=e.getTime())return 0;if(i){if(i>=e)return 0;let t=e.getTime()-i.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof n["last-modified"]){let e=c(n["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return o.immutable?31536e6:!0===o["no-cache"]&&a?0:void 0}(this.#O,F,T,r,L,U,H)??this.#H,Y=0===P&&H;if(void 0===P||O>=P&&!Y)return(v||void 0!==P)&&f(t,this.#P,this.#L),R();let G=F-O,z=P+G;if(F>=z&&!Y)return f(t,this.#P,this.#L),R();if(this.#L.headers&&r.vary&&!(x=o(r.vary,this.#L.headers)))return R();let q=function(e,t,r,n){let i=-1/0,s=-1/0,o=-1/0;if(r["stale-while-revalidate"]&&(i=n+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(s=n+1e3*r["stale-if-error"]),r.immutable&&i===-1/0&&s===-1/0&&(o=t+31536e6),i===-1/0&&s===-1/0&&o===-1/0){let r=n-e;return r<=0?t+864e5:n+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(n,i,s,o)}(G,F,U,z),V=function(e,t){let r,n=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let i of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let n=r[t].split(",");for(let t=0;t<n.length;t++)e.push(n[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(n,e.connection),Array.isArray(t["no-cache"])&&n.push(...t["no-cache"]),Array.isArray(t.private)&&n.push(...t.private),n))Object.hasOwn(e,i)&&(r??={...e},delete r[i]);return r??e}(r,U),_={statusCode:t,statusMessage:d,headers:V,vary:x,cacheControlDirectives:U,cachedAt:G,staleAt:z,deleteAt:q};if(304===t){let t=t=>{if(!t)return R();if(_.statusCode=t.statusCode,_.statusMessage=t.statusMessage,_.etag=t.etag,_.vary=x??t.vary,_.headers={...t.headers,...V},R(),this.#Y=this.#P.createWriteStream(this.#L,_),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),n=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#B.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){k.#Y=void 0,k.#P.delete(k.#L)}).on("drain",()=>{n()}).on("close",function(){k.#Y===this&&(k.#Y=void 0)}),n()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#B.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#P.delete(this.#L)}),this.#Y.on("error",function(){k.#Y=void 0,k.#P.delete(k.#L)}).on("close",function(){k.#Y===this&&(k.#Y=void 0)}))},r=this.#P.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(_.etag=r.etag),this.#Y=this.#P.createWriteStream(this.#L,_),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){k.#Y=void 0,k.#P.delete(k.#L)}).on("close",function(){k.#Y===this&&(k.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#B.onResponseError?.(e,t)}}},7871(e,t,r){let n=r(4589);e.exports=class{#G=!1;#z;#B;#q;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#z=e,this.#B=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#q=t}onRequestUpgrade(e,t,r,n){this.#B.onRequestUpgrade?.(e,t,r,n)}onResponseStart(e,t,r,i){if(n(null!=this.#z),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#z(this.#G,this.#q,t,r),this.#z=null,this.#G)return!0;this.#B.onRequestStart?.(e,this.#q),this.#B.onResponseStart?.(e,t,r,i)}onResponseData(e,t){if(!this.#G)return this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#z){if(this.#V){this.#G=!0,this.#z(!0,this.#q),this.#z=null;return}this.#z(!1),this.#z=null}if("function"==typeof this.#B.onResponseError)this.#B.onResponseError(e,t);else throw t}}}},2645(e,t,r){let n=r(4589);e.exports=class{#B;#_=!1;#J=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#B=e}onRequestStart(...e){this.#B.onRequestStart?.(...e)}onRequestUpgrade(...e){return n(!this.#_),n(!this.#J),this.#B.onRequestUpgrade?.(...e)}onResponseStart(...e){return n(!this.#_),n(!this.#J),n(!this.#W),this.#W=!0,this.#B.onResponseStart?.(...e)}onResponseData(...e){return n(!this.#_),n(!this.#J),this.#B.onResponseData?.(...e)}onResponseEnd(...e){return n(!this.#_),n(!this.#J),this.#_=!0,this.#B.onResponseEnd?.(...e)}onResponseError(...e){return this.#J=!0,this.#B.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:n}=r(8065);e.exports=class{#j;#K=[];#X=5242880;#Z=0;#$={};#ee="";#E=!1;#et=!1;#er=!1;#en=!1;#ei=null;#es=null;constructor(e,t,r=5242880){this.#j=e,this.#es=t,this.#X=r}addWaitingHandler(e){if(this.#en||this.#er)return!1;let t=this.#eo(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#Z,this.#$,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#K.push(t),!0}onRequestStart(e,t){this.#ei=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,n){this.#j.onRequestUpgrade?.(e,t,r,n)}onResponseStart(e,t,r,n){for(let i of(this.#et=!0,this.#Z=t,this.#$=r,this.#ee=n,this.#j.onResponseStart?.(e,t,r,n),this.#K)){let{handler:e,controller:s}=i;if(i.done||s.aborted){i.done=!0;continue}try{e.onResponseStart?.(s,t,r,n)}catch{}s.aborted&&(i.done=!0)}this.#ea()}onResponseData(e,t){if(!this.#E&&!this.#en){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#K)){let{handler:e,controller:n}=r;if(r.done||n.aborted){r.done=!0;continue}if(n.paused){this.#eA(r,t);continue}try{e.onResponseData?.(n,t)}catch{}n.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#ea()}}onResponseEnd(e,t){if(!this.#E&&!this.#en){for(let r of(this.#en=!0,this.#j.onResponseEnd?.(e,t),this.#K)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#ea(),this.#es?.()}}onResponseError(e,t){if(!this.#en){for(let r of(this.#E=!0,this.#en=!0,this.#j.onResponseError?.(e,t),this.#K))this.#ec(r,t);this.#K=[],this.#es?.()}}#eo(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#en&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#ea()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#X){let t=new n(`Deduplicated waiting handler exceeded maxBufferSize (${this.#X} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let n=e.bufferedChunks.shift();e.bufferedBytes-=n.length;try{t.onResponseData?.(r,n)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#ea(){this.#K=this.#K.filter(e=>!1===e.done)}}},7424(e,t,r){let n=r(1210),i=r(4589),{InvalidArgumentError:s}=r(8065),o=[300,301,302,303,307,308],a=()=>{};function A(e,t,r,i,s){let o=n.headerNameToString(e);return!!("host"===o||i?.has(o)||r&&s?.has(o)||t&&o.startsWith("content-"))||!!r&&("authorization"===o||"cookie"===o||"proxy-authorization"===o)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new s(`${t} must be an array`);let r=new Set;for(let i of e){if("string"!=typeof i)throw new s(`${t} must contain header names`);r.add(n.headerNameToString(i))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new s("maxRedirections must be a positive number");let n=t.dispatch.bind(t);return(t,i)=>n(t,new e(n,r,t,i))}constructor(e,t,r,i){if(null!=t&&(!Number.isInteger(t)||t<0))throw new s("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new s("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:o,stripHeadersOnRedirect:a,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=n.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(a,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=i,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,n){this.handler.onRequestUpgrade?.(e,t,r,n)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",n.isStream(this.opts.body)&&n.destroy(this.opts.body.on("error",a)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",n.isStream(this.opts.body)&&n.destroy(this.opts.body.on("error",a)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||n.isDisturbed(this.opts.body)||-1===o.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:g,search:u}=n.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=u?`${g}${u}`:g,m=`${d}${h}`;for(let e of this.history)if(e.toString()===m)throw new s(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,s,o){let a=[];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)A(e[n],t,r,s,o)||a.push(e[n],e[n+1]);else if(e&&"object"==typeof e)for(let[i,l]of n.hasSafeIterator(e)?e:Object.entries(e))A(i,t,r,s,o)||a.push(i,l);else i(null==e,"headers must be an object or an array");return a}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let n=r(4589),{kRetryHandlerDefaultRetry:i}=r(3025),{RequestRetryError:s}=r(8065),{isDisturbed:o,parseRangeHeader:a,wrapRequestBody:A}=r(1210);function l(e,t,r,n){let i=e["content-length"];if(null==i||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let o=Number(i),a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a)throw new s("Content-Length mismatch",r,{headers:e,data:{count:n}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:n}){let{retryOptions:s,...o}=t,{retry:a,maxRetries:l,maxTimeout:d,minTimeout:g,timeoutFactor:u,methods:h,errorCodes:m,retryAfter:p,statusCodes:C,throwOnError:f}=s??{};this.error=null,this.dispatch=r,this.handler=n,this.opts={...o,body:A(t.body)},this.retryOpts={throwOnError:f??!0,retry:a??e[i],retryAfter:p??!0,maxTimeout:d??3e4,minTimeout:g??500,timeoutFactor:u??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:C??[500,502,503,504,429],errorCodes:m??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,n,i){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n)):this.error=i);if(o(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n);return}e.pause(),this.retryOpts.retry(i,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(s){if(s){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n),e.resume();return}this.error=i,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,n){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,n)}static[i](e,{state:t,opts:r},n){let{statusCode:i,code:s,headers:o}=e,{method:a,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:g,statusCodes:u,errorCodes:h,methods:m}=A,{counter:p}=t;if(s&&"UND_ERR_REQ_RETRY"!==s&&!h.includes(s)||Array.isArray(m)&&!m.includes(a)||null!=i&&Array.isArray(u)&&!u.includes(i)||p>l)return void n(e);let C=o?.["retry-after"];if(C){let e;C=Number.isNaN(C=Number(C))?isNaN(e=new Date(o["retry-after"]).getTime())?null:e-Date.now():1e3*C}setTimeout(()=>n(null),0===C?0:C>0?Math.min(C,d):Math.min(c*g**(p-1),d))}onResponseStart(e,t,r,i){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let n=new s("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,i,n);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new s("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=a(r["content-range"]);if(!e)throw new s("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new s("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:i,size:o,end:A=o?o-1:null}=e;n(this.start===i,"content-range mismatch"),n(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=a(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}l(r,e,t,this.retryCount);let{start:s,size:o,end:A=o?o-1:null}=e;n(null!=s&&Number.isFinite(s),"content-range mismatch"),n(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=s,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}n(Number.isFinite(this.start)),n(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)}else throw new s("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new s("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||o(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let n=r(4589),{Readable:i}=r(7075),s=r(1210),o=r(4502),a=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:g,parseCacheControlHeader:u,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:m}=r(8065),{parseHttpDate:p}=r(5859),C=()=>{};function f(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function I(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function E(e,t){try{e.delete(t)?.catch?.(C)}catch{}}function y(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&p(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function B(e,t,r,o,a,A){let l=s.isStream(r.body)?r.body:i.from(r.body??[]);n(!l.destroyed,"stream should not be destroyed"),n(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new m)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,a),l.destroyed)return;let d={...r.headers,age:String(o)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=s.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,n,i,a,l){var c,d,g,p,f;let Q;if(!l){if(a?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,n.onResponseError?.(t,r??new m)}};try{if(n.onRequestStart?.(t,null),e||(n.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;n.onResponseEnd?.(t,{})}catch(e){"function"==typeof n.onResponseError&&n.onResponseError(t,e)}return!0}return e(i,new o(t,r,n))}let N=Date.now();if(N>l.deleteAt)return e(i,new o(t,r,n));let b=Math.round((N-l.cachedAt)/1e3),S=a?.["max-age"]!==void 0&&b>=a["max-age"],w=S||(c=l,d=a,g=t.type,(Q=Date.now())>c.staleAt?!(!I(c,g)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),D=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,a,i);if(w||D){let c;if(s.isStream(i.body)&&0!==s.bodyLength(i.body))return e(i,new o(t,r,n));if(!D&&(p=l,f=t.type,!(!(c=p.cacheControlDirectives?.["stale-while-revalidate"])||I(p,f))&&Date.now()<=p.staleAt+1e3*c))return B(n,i,l,b,null,!0),queueMicrotask(()=>{let n=y(i,l);e({...i,headers:n},new o(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!I(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??a?.["stale-if-error"];e&&(d=N<l.staleAt+1e3*e)}let g=y(i,l);return e({...i,headers:g},new A((a,A,c,d)=>{if(a){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let n=u(r);return!0===n["no-store"]||"shared"===e&&!0===n.private}(t.type,d))return s.isStream(l.body)&&l.body.on("error",C).destroy(),E(t.store,r),e(i,new o(t,r,n));void 0!==d["cache-control"]&&E(t.store,r)}B(n,i,l,b,A,w)}else s.isStream(l.body)&&l.body.on("error",C).destroy()},new o(t,r,n),d))}s.isStream(i.body)&&i.body.on("error",C).destroy(),B(n,i,l,b,null,!1)}e.exports=(e={})=>{let{store:t=new a,methods:r=["GET"],cacheByDefault:n,type:i="shared",origins:o}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==o){if(!Array.isArray(o))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof o}`);for(let e=0;e<o.length;e++){let t=o[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==n&&"number"!=typeof n)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof n}`);if(void 0!==i&&"shared"!==i&&"private"!==i)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof i}`);let h={store:t,methods:r,cacheByDefault:n,type:i},m=[];for(let e=0;e<s.safeHTTPMethods.length;e++){let t=s.safeHTTPMethods[e];f(r,t)||m.push(t)}return e=>(r,n)=>{if(!r.origin||f(m,r.method))return e(r,n);if(void 0!==o){let t=r.origin.toString().toLowerCase(),i=!1;for(let e=0;e<o.length;e++){let r=o[e];if("string"==typeof r){if(r.toLowerCase()===t){i=!0;break}}else if(r.test(t)){i=!0;break}}if(!i)return e(r,n)}r={...r,headers:g(r)};let i=r.headers?.["cache-control"]?u(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let n=t.split(",");for(let e=0;e<n.length;e++)if("no-cache"===n[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(i?.["no-store"])return e(r,n);let s=d(r),a=t.get(s);return a&&"function"==typeof a.then?a.then(t=>Q(e,h,s,n,r,i,t)):Q(e,h,s,n,r,i,a)}}},9287(e,t,r){let{createInflate:n,createGunzip:i,createBrotliDecompress:s,createZstdDecompress:o}=r(8522),{pipeline:a}=r(7075),A=r(2645),l={gzip:i,"x-gzip":i,br:s,deflate:n,compress:n,"x-compress":n,zstd:o},c=[204,304],d=!1;class g extends A{#ed=[];#eg;#eu;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eu=t,this.#eh=r}#em(e,t){return!!(!e||t<200||this.#eu.includes(t))||!!this.#eh&&!!(t>=400)}#ep(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let n=t[e].trim();if(n){if(!l[n])return r.length=0,r;r.push(l[n]())}}return r}#eC(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#ef(e){let t=this.#ed[0];this.#eC(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eg)})}#eI(e){let t=this.#ed[this.#ed.length-1];this.#eC(t,e),a(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eg)})}#eE(){this.#ed.length=0}onResponseStart(e,t,r,n){let i=r["content-encoding"];if(this.#em(i,t))return super.onResponseStart(e,t,r,n);let s=this.#ep(i.toLowerCase());if(0===s.length)return this.#eE(),super.onResponseStart(e,t,r,n);this.#ed=s;let{"content-encoding":o,"content-length":a,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let n=t[e],i=(Buffer.isBuffer(n)?n.toString("latin1"):`${n}`).toLowerCase();"content-encoding"!==i&&"content-length"!==i&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#ef(e):this.#eI(e),super.onResponseStart(e,t,A,n)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eg=t,this.#ed[0].end(),this.#eE();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#eE()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,n)=>"HEAD"===r.method?t(r,n):t(r,new g(n,e))}},7870(e,t,r){let n=r(3053),i=r(1210),s=r(8241),{normalizeHeaders:o,makeCacheKey:a,makeDeduplicationKey:A}=r(8621),l=n.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:n=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!i.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(n))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof n}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),g=new Set(n.map(e=>e.toLowerCase())),u=new Map;return e=>(r,n)=>{if(!r.origin||!1===t.includes(r.method))return e(r,n);if(r={...r,headers:o(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,n)}let i=A(a(r),g),h=u.get(i);if(h)return!!h.addWaitingHandler(n)||e(r,n);let m=new s(n,()=>{u.delete(i),l.hasSubscribers&&l.publish({size:u.size,key:i,type:"removed"})},c);return u.set(i,m),l.hasSubscribers&&l.publish({size:u.size,key:i,type:"added"}),e(r,m)}}},4053(e,t,r){let{isIP:n}=r(7030),{lookup:i}=r(610),s=r(2645),{InvalidArgumentError:o,InformationalError:a}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#ey=0;#eB=new Map;constructor(e){this.#ey=e.maxItems}get size(){return this.#eB.size}get(e){return this.#eB.get(e)??null}set(e,t){this.#eB.set(e,t)}delete(e){this.#eB.delete(e)}full(){return this.size>=this.#ey}}class d{#eQ=0;#ey=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#ey=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eN,this.pick=e.pick??this.#eb,this.storage=e.storage??new c(e)}runLookup(e,t,r){let n=this.storage.get(e.hostname);if(null==n&&this.storage.full())return void r(null,e);let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#ey};if(null==n)this.lookup(e,i,(t,n)=>{let s;if(t||null==n||0===n.length)return void r(t??new a("No DNS entries found"));this.setRecords(e,n);let o=this.storage.get(e.hostname),A=this.pick(e,o,i.affinity);s="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${s}`))});else{let s,o=this.pick(e,n,i.affinity);if(null==o){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}s="number"==typeof o.port?`:${o.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===o.family?`[${o.address}]`:o.address}${s}`))}}#eN(e,t,r){i(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let n=new Map;for(let e of t)n.set(`${e.address}:${e.family}`,e);r(null,n.values())})}#eb(e,t,r){let n,i=null,{records:s,offset:o}=t;if(this.dualStack?(null==r&&(null==o||0x7fffffff===o?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),n=null!=s[r]&&s[r].ips.length>0?s[r]:s[4===r?6:4]):n=s[r],null==n||0===n.ips.length)return i;null==n.offset||0x7fffffff===n.offset?n.offset=0:n.offset++;let a=n.offset%n.ips.length;return null==(i=n.ips[a]??null)?i:Date.now()-i.timestamp>i.ttl?(n.ips.splice(a,1),this.pick(e,t,r)):i}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let n=r[t];if(!n)return null;null==n.offset||0x7fffffff===n.offset?n.offset=0:n.offset++;let i=n.offset%n.ips.length,s=n.ips[i]??null;return null==s||Date.now()-s.timestamp>s.ttl&&n.ips.splice(i,1),s}setRecords(e,t){let r=Date.now(),n={records:{4:null,6:null}},i=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),i=Math.min(i,e.ttl)):e.ttl=this.#eQ;let t=n.records[e.family]??{ips:[]};t.ips.push(e),n.records[e.family]=t}this.storage.set(e.hostname,n,{ttl:i})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new g(this,e,t)}}class g extends s{#eS=null;#S=null;#ew=null;#eD=null;#ei=null;#ex=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:n,newOrigin:i},s){super(r),this.#eD=t,this.#ex=i,this.#S={...s},this.#eS=e,this.#ew=n}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let n="["===this.#ex.hostname[0]?4:6,i=this.#eS.pickFamily(this.#eD,n);if(null==i)return void super.onResponseError(e,t);r="number"==typeof i.port?`:${i.port}`:""!==this.#eD.port?`:${this.#eD.port}`:"";let s={...this.#S,origin:`${this.#eD.protocol}//${6===i.family?`[${i.address}]`:i.address}${r}`,headers:l(this.#eD.host,this.#S.headers)};this.#ew(s,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#eD),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new o("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new o("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new o("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new o("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new o("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new o("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new o("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let i=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let s=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==n(s.hostname)?e(t,r):(i.runLookup(s,t,(n,o)=>{if(n)return r.onResponseError(null,n);e({...t,servername:s.hostname,origin:o.origin,headers:l(s.host,t.headers)},i.getHandler({origin:s,dispatch:e,handler:r,newOrigin:o},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:n,RequestAbortedError:i}=r(8065),s=r(2645);class o extends s{#t=1048576;#ek=!1;#n=0;#ei=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new n("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#y(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#y.bind(this),this.#ei=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,n){let s=r["content-length"];if(null!=s&&s>this.#t)throw new i(`Response size (${s}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,n)}onResponseError(e,t){this.#ek||(t=this.#ei?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#n=this.#n+t.length,this.#n>=this.#t&&(this.#ek=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#ek){if(!0===this.#ei.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,n){let{dumpMaxSize:i=e}=r,s=new o({maxSize:i,signal:r.signal},n);return t(r,s)}}},7884(e,t,r){let n=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:i}={}){return s=>function(o,a){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=i,...g}=o;if(null==A||0===A)return s(o,a);let u={...g,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new n(s,A,u,a);return s(u,h)}}},3128(e,t,r){let n=r(2645),{ResponseError:i}=r(8065);class s extends n{#Z;#ev;#eM;#$;#eU;constructor(e,{handler:t}){super(t)}#eF(e){return 0===(this.#ev??"").indexOf(e)}onRequestStart(e,t){return this.#Z=0,this.#ev=null,this.#eM=null,this.#$=null,this.#eU="",super.onRequestStart(e,t)}onResponseStart(e,t,r,n){if(this.#Z=t,this.#$=r,this.#ev=r["content-type"],this.#Z<400)return super.onResponseStart(e,t,r,n);(this.#eF("application/json")||this.#eF("text/plain"))&&(this.#eM=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#Z<400)return super.onResponseData(e,t);this.#eU+=this.#eM?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#Z>=400){let t;if(this.#eU+=this.#eM?.decode(void 0,{stream:!1})??"",this.#eF("application/json"))try{this.#eU=JSON.parse(this.#eU)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new i("Response Error",this.#Z,{body:this.#eU,headers:this.#$})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new s(t,{handler:r}))}},9620(e,t,r){let n=r(4166);e.exports=e=>t=>function(r,i){return t(r,new n({...r,retryOptions:{...e,...r.retryOptions}},{handler:i,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let n=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,n.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y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hAiAg0ACyAHQQA2AgAMAgsgBSAAQX5xNgIEIAEgBGogBDYCACABIARBAXI2AgQMAwtBACEACyAGRQ0AAkAgBSgCHCICQQJ0QfTXAGoiAygCACAFRgRAIAMgADYCACAADQFByNUAQcjVACgCAEF+IAJ3cTYCAAwCCyAGQRBBFCAGKAIQIAVGG2ogADYCACAARQ0BCyAAIAY2AhggBSgCECICBEAgACACNgIQIAIgADYCGAsgBUEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgBGogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJA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AAkACQCADAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJ/AkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAg7jAQABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEjJCUnKCmeA5sDmgORA4oDgwOAA/0C+wL4AvIC8QLvAu0C6ALnAuYC5QLkAtwC2wLaAtkC2ALXAtYC1QLPAs4CzALLAsoCyQLIAscCxgLEAsMCvgK8AroCuQK4ArcCtgK1ArQCswKyArECsAKuAq0CqQKoAqcCpgKlAqQCowKiAqECoAKfApg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Cn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgB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IRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgi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DI8CCyABQQFqIQEgA0Evai0AAEEBcQ0IIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKcCCyADQQA2AhwgAyABNgIUIANBjQs2AhAgA0ENNgIMQQAhAgymAgsgASAERwRAIANBDzYCCCADIAE2AgRBASECDI0CC0HcASECDKUCCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtB2wEhAgymAgsgAygCBCEAIANBADYCBCADIAAgARAtIgBFBEAgAUEBaiEBDAQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgIMQQAhAgyfAgsgA0EANgIcIAMgATYCFCADQYANNgIQIANBGzYCDEEAIQIMngILIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDJ0CCyABIARHBEAgA0EMNgIIIAMgATYCBEG/ASECDIQCC0HYASECDJwCCyABIARGBEBB1wEhAgycAgsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAEtAABBwQBrDhUAAQIDWgQFBlpaWgcICQoLDA0ODxBaCyABQQFqIQFB+wAhAgySAgsgAUEBaiEBQfwAIQIMkQILIAFBAWohAUGBASECDJACCyABQQFqIQFBhQEhAgyPAgsgAUEBaiEBQYYBIQIMjgILIAFBAWohAUGJASECDI0CCyABQQFqIQFBigEhAgyMA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EECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPsBCyADQQA2AgAgBkEBaiEBQQwMJwtBtQEhAiABIARGDfkBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQerUAGotAABHDSYgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPoBCyADQQA2AgAgBkEBaiEBQQMMJgtBtAEhAiABIARGDfgBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQejUAGotAABHDSUgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPkBCyADQQA2AgAgBkEBaiEBQSYMJQsgASAERgRAQbMBIQIM+AELAkACQCABLQAAQdQAaw4CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz2AQsgA0EANgIAIAZBAWohAUEcDCILQbABIQIgASAERg30ASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHe1ABqLQAARw0hIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz1AQsgA0EANgIAIAZBAWohAUEGDCELQa8BIQIgASAERg3zASADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHZ1ABqLQAARw0gIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz0AQsgA0EANgIAIAZBAWohAUEZDCALIAEgBEYEQEGuASECDPMBCwJAAkACQAJA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IAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADOUBCyABIARGBEBBoAEhAgzlAQtBASABLQAAQd8ARw0RGiABQQFqIQFBhwEhAgzLAQsgA0EANgIAIAZBAWohAUGIASECDMoBC0GfASECIAEgBEYN4gEgAygCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABBhNUAai0AAEcNDyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM4wELIANBADYCACAGQQFqIQFBKQwPC0GeASECIAEgBEYN4QEgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBuNQAai0AAEcNDiAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM4gELIANBADYCACAGQQFqIQFBLQwOCyABIARGBEBBnQEhAgzhAQsgAS0AAEHFAEcNDiABQQFqIQFBhAEhAgzHAQsgASAERgRAQZwBIQIM4AELAkACQCABLQAAQcwAaw4IAA8PDw8PDwEPCyABQQFqIQFBggEhAgzHAQsgAUEBaiEBQYMBIQIMxgELQZsBIQIgASAERg3eASADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEGz1ABqLQAARw0LIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzfAQsgA0EANgIAIAZBAWohAUEjDAsLQZoBIQIgASAERg3dASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGw1ABqLQAARw0KIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzeAQsgA0EANgIAIAZBAWohAUEADAoLIAEgBEYEQEGZASECDN0BCwJAAkAgAS0AAEHIAGsOCAAMDAwMDAwBDAsgAUEBaiEBQf0AIQIMxAELIAFBAWohAUGAASECDMMBCyABIARGBEBBmAEhAgzcAQsCQAJAIAEtAABBzgBrDgMACwELCyABQQFqIQFB/gAhAgzDAQsgAUEBaiEBQf8AIQIMwgELIAEgBEYEQEGXASECDNsBCyABLQAAQdkARw0IIAFBAWohAUEIDAcLQZYBIQIgASAERg3ZASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEGs1ABqLQAARw0GIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzaAQsgA0EANgIAIAZBAWohAUEFDAYLQZUBIQIgASAERg3YASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGm1ABqLQAARw0FIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzZAQsgA0EANgIAIAZBAWohAUEWDAULQZQBIQIgASAERg3XASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0EIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzYAQsgA0EANgIAIAZBAWohAUEQDAQLIAEgBEYEQEGTASECDNcBCwJAAkAgAS0AAEHDAGsODAAGBgYGBgYGBgYGAQYLIAFBAWohAUH5ACECDL4BCyABQQFqIQFB+gAhAgy9AQtBkgEhAiABIARGDdUBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQaDUAGotAABHDQIgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GbHzYCECADQQY2AgxBACECDMwBC0ECIQIMsgELA0AgAS0AAEEgRw0CIAQgAUEBaiIBRw0AC0GOASECDMoBCyABIARGBEBBjQEhAgzKAQsCQCABLQAAQQlrDgRKAABKAAtB9QAhAgywAQsgAy0AKUEFRgRAQfYAIQIMsAELQfQAIQIMrwELIAEgBEYEQEGMASECDMgBCyADQRA2AgggAyABNgIEDAoLIAEgBEYEQEGLASECDMcBCwJAIAEtAABBCWsOBEcAAEcAC0HzACECDK0BCyABIARHBEAgA0EQNgIIIAMgATYCBEHxACECDK0BC0GKASECDMUBCwJAIAEgBEc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AIANBADYCBCADIAAgARAsIgBFDRYgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgy5AQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDRYgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgy4AQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDRYgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgy3AQsgA0EANgIcIAMgATYCFCADQfkPNgIQIANBBzYCDEEAIQIMtgELQewAIQIMnAELIAEgBEYEQEGCASECDLUBCyABQQFqDAILIAEgBEYEQEGBASECDLQBCyABQQFqDAELIAEgBEYNASABQQFqCyEBQQQhAgyYAQtBgAEhAgywAQsDQCABLQAAQaDMAGotAAAiAEECRwRAIABBAUcEQEHpACECDJkBCwwxCyAEIAFBAWoiAUcNAAtB/wAhAgyvAQsgASAERgRAQf4AIQIMrwELAkAgAS0AAEEJaw43LwMGLwQGBgYGBgYGBgYGBgYGBgYGBgYFBgYCBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGAAYLIAFBAWoLIQFBBSECDJQBCyABQQFqDAYLIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIANBADYCHCADIAE2AhQgA0GNFDYCECADQQc2AgxBACECDKgBCwJAAkACQAJAA0AgAS0AAEGgygBqLQAAIgBBBUcEQAJAIABBAWsOBi4DBAUGAAYLQegAIQIMlAELIAQgAUEBaiIBRw0AC0H9ACECDKsBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQdsANgIcIAMgATYCFCADIAA2AgxBACECDKoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQd0ANgIcIAMgAT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XVAGotAABHDQggAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJwBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIABEAgA0H0ADYCHCADIAE2AhQgAyAANgIMQQAhAgycAQtB4gAhAgyCAQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJwBC0HhACECDIIBCyADQfMANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMmgELIAMtACkiAEEja0ELSQ0JAkAgAEEGSw0AQQEgAHRBygBxRQ0ADAoLQQAhAiADQQA2AhwgAyABNgIUIANB7Qk2AhAgA0EINgIMDJkBC0HyACECIAEgBEYNmAEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBs9UAai0AAEcNBSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMmQELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfEANgIcIAMgATYCFCADIAA2AgxBACECDJkBC0HfACECDH8LQQAhAAJAIAMoAjgiAkUNACACKAI0IgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUI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6IQIgBCABIgBGDVcgBCABayADKAIAIgFqIQYgACABa0EIaiEHAkADQCABQbTBAGotAAAgAC0AACIFQSByIAUgBUHBAGtB/wFxQRpJG0H/AXFHDQEgAUEIRgRAQQUhAQw+CyABQQFqIQEgBCAAQQFqIgBHDQALIAMgBjYCAAxYCyADQQA2AgAgACEBDAQLQTkhAiAEIAEiAEYNViAEIAFrIAMoAgAiAWohBiAAIAFrQQNqIQcCQANAIAFBsMEAai0AACAALQAAIgVBIHIgBSAFQcEAa0H/AXFBGkkbQf8BcUcNASABQQNGBEBBBiEBDD0LIAFBAWohASAEIABBAWoiAEcNAAsgAyAGNgIADFcLIANBADYCACAAIQEMAwsCQANAIAEtAAAiAEEgRwRAIABBCmsOBAcEBAcCCyAEIAFBAWoiAUcNAAtBOCECDFYLIABBLEcNASABQQFqIQBBASEBAkACQAJAAkACQCADLQAsQQVrDgQDAQIEAAsgACEBDAQLQQIhAQwBC0EEIQELIANBAToALCADIAMvATIgAXI7ATIgACEBDAELIAMgAy8BMkEIcjsBMiAAIQELQT4hAgw7CyADQQA6ACwLQTkhAgw5CyABIARGBEBBNiECDFILAkACQAJAAkACQCABLQAAQQprDgQAAgIBAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDQIgA0EzNgIcIAMgATYCFCADIAA2AgxBACECDFULIAMoAgQhACADQQA2AgQgAyAAIAEQMSIARQRAIAFBAWohAQwGCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMVAsgAy0ALkEBcQRAQd8BIQIMOwsgAygCBCEAIANBADYCBCADIAAgARAxIgANAQxJC0E0IQIMOQsgA0E1NgIcIAMgATYCFCADIAA2AgxBACECDFELQTUhAgw3CyADQS9qLQAAQQFxDQAgA0EANgIcIAMgATYCFCADQesWNgIQIANBGTYCDEEAIQIMTwtBMyECDDULIAEgBEYEQEEyIQIMTgsCQCABLQAAQQpGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GSFzYCECADQQM2AgxBACECDE4LQTI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wMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},704(e,t,r){let n;e=r.nmd(e);let{Buffer:i}=r(4573);Object.defineProperty(e,"exports",{get:()=>n||(n=i.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9mdW5jdGlvbl90YWJsZQEAC2xsaHR0cF9pbml0AAkYbGxodHRwX3Nob3VsZF9rZWVwX2FsaXZlADcMbGxodHRwX2FsbG9jAAsGbWFsbG9jADkLbGxodHRwX2ZyZWUADARmcmVlAAwPbGxodHRwX2dldF90eXBlAA0VbGxodHRwX2dldF9odHRwX21ham9yAA4VbGxodHRwX2dldF9odHRwX21pbm9yAA8RbGxodHRwX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wFCyACIAA2AgggACACNgIMDAQLIAUoAhghBiAFIAUoAgwiAEcEQEHU1QAoAgAaIAAgBSgCCCICNgIIIAIgADYCDAwDCyAFQRRqIgMoAgAiAkUEQCAFKAIQIgJFDQIgBUEQaiEDCwNAIAMhByACIgBBFGoiAygCACICDQAgAEEQaiEDIAAoAhAiAg0ACyAHQQA2AgAMAgsgBSAAQX5xNgIEIAEgBGogBDYCACABIARBAXI2AgQMAwtBACEACyAGRQ0AAkAgBSgCHCICQQJ0QfTXAGoiAygCACAFRgRAIAMgADYCACAADQFByNUAQcjVACgCAEF+IAJ3cTYCAAwCCyAGQRBBFCAGKAIQIAVGG2ogADYCACAARQ0BCyAAIAY2AhggBSgCECICBEAgACACNgIQIAIgADYCGAsgBUEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgBGogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADKAIcIgJBAmsO/AEB+QECAwQFBgcICQoLDA0ODxAREvgBE/cBFBX2ARYX9QEYGRobHB0eHyD9AfsBIfQBIiMkJSYnKCkqK/MBLC0uLzAxMvIB8QEzNPAB7wE1Njc4OTo7PD0+P0BBQkNERUZHSElKS0xNTk/6AVBRUlPuAe0BVOwBVesBVldYWVrqAVtcXV5fYGFiY2RlZmdoaWprbG1ub3BxcnN0dXZ3eHl6e3x9fn+AAYEBggGDAYQBhQGGAYcBiAGJAYoBiwGMAY0BjgGPAZABkQGSAZMBl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AAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCACDuMBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISMkJScoKZ4DmwOaA5EDigODA4AD/QL7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ADQQA2AhwgAyABNgIUIANBkhg2AhAgA0ECNgIMDPwCCyAAQRVGDShBACECIANBADYCHCADIAE2AhQgA0HWDDYCECADQSM2AgwM+wILIANBFDYCHCADIAE2AhQgAyAANgIMDPoCCyADKAIEIQBBACECIANBADYCBCADIAAgARA0IgBFBEAgAUEBaiEBDPUCCyADQRU2AhwgAyAANgIMIAMgAUEBajYCFAz5AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQzzAgsgA0EXNgIcIAMgADYCDCADIAFBAWo2AhQM+AILIABBFUYNI0EAIQIgA0EANgIcIAMgATYCFCADQdYMNgIQIANBIzYCDAz3AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQwdCyADQRk2AhwgAyAANgIMIAMgAUEBajYCFAz2AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQzvAgsgA0EaNgIcIAMgADYCDCADIAFBAWo2AhQM9QILIABBFUYNH0EAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAz0AgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDBsLIANBHDYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgzzAgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRshAgzGAgtBHCECDMUCC0EdIQIMxAILQR4hAgzDAgtBHyECDMICC0EgIQIMwQILQSIhAgzAAgtBIyECDL8CC0ElIQIMvgILQeUAIQIMvQILIANBPTYCHCADIAE2AhQgAyAANgIMQQAhAgzVAgsgA0EbNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIM1AILIANBIDYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNMCCyADQRM2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzSAgsgA0ELNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0QILIANBEDYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNACCyADQSA2AhwgAyABNgIUIANBpBw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BB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMgAhEAACEACyAARQ2gASAAQRVGBEAgA0HZADYCHCADIAE2AhQgA0G3GjYCECADQRU2AgxBACECDJ8CCyADQQA2AhwgAyABNgIUIANBgA02AhAgA0EbNgIMQQAhAgyeAgsgA0EANgIcIAMgATYCFCADQdwoNgIQIANBAjYCDEEAIQIMnQILIAEgBEcEQCADQQw2AgggAyABNgIEQb8BIQIMhAILQdgBIQIMnAILIAEgBEYEQEHXASECDJwCCwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAS0AAEHBAGsOFQABAgNaBA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AUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyHAgsgA0EANgIAIAZBAWohAUEUDDMLQcEBIQIgASAERg2FAiADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEH51ABqLQAARw0yIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyGAgsgA0EANgIAIAZBAWohAUErDDILQcABIQIgASAERg2EAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH21ABqLQAARw0xIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQAL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MBIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQdnUAGotAABHDSAgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPQBCyADQQA2AgAgBkEBaiEBQRkMIAsgASAERgRAQa4BIQIM8wELAkACQAJAAkAgAS0AAEEtaw4jACQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkASQkJCQkAiQkJAMkCyABQQFqIQFBjgEhAgzcAQsgAUEBaiEBQY8BIQIM2wELIAFBAWohAUGUASECDNoBCyABQQFqIQFBlQEhAgzZAQtBrQEhAiABIARGDfEBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQdfUAGotAABHDR4gAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPIBCyADQQA2AgAgBkEBaiEBQQsMHgsgASAERgRAQawBIQIM8QELAkACQCABLQAAQcEAaw4DACABIAsgAUEBaiEBQZABIQIM2AELIAFBAWohAUGTASECDNcBCyABIARGBEBBqwEhAgzwAQsCQAJAIAEtAABBwQBrDg8AHx8fHx8fHx8fHx8fHwEfCyABQQFqIQFBkQEhAgzXAQsgAUEBaiEBQZIBIQIM1gELIAEgBEYEQEGqASECDO8BCyABLQAAQcwARw0cIAFBAWohAUEKDBsLQakBIQIgASAERg3tASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQbPUAGotAABHDQsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN8BCyADQQA2AgAgBkEBaiEBQSMMCwtBmgEhAiABIARGDd0BIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDUAGotAABHDQogAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN4BCyADQQA2AgAgBkEBaiEBQQAMCgsgASAERgRAQZkBIQIM3QELAkACQCABLQAAQcgAaw4IAAwMDAwMDAEMCyABQQFqIQFB/QAhAgzEAQsgAUEBaiEBQYABIQIMwwELIAEgBEYEQEGYASECDNwBCwJAAkAgAS0AAEHOAGsOAwALAQsLIAFBAWohAUH+ACECDMMBCyABQQFqIQFB/wAhAgzCAQsgASAERgRAQZcBIQIM2wELIAEtAABB2QBHDQggAUEBaiEBQQgMBwtBlgEhAiABIARGDdkBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQazUAGotAABHDQYgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNoBCyADQQA2AgAgBkEBaiEBQQUMBgtBlQEhAiABIARGDdgBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQabUAGotAABHDQUgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNkBCyADQQA2AgAgBkEBaiEBQRYMBQtBlAEhAiABIARGDdcBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDQQgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNgBCyADQQA2AgAgBkEBaiEBQRAMBAsgASAERgRAQZMBIQIM1wELAkACQCABLQAAQcMAaw4MAAYGBgYGBgYGBgYBBgsgAUEBaiEBQfkAIQIMvgELIAFBAWohAUH6ACECDL0BC0GSASECIAEgBEYN1QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIA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nCyADQS02AhwgAyABNgIUIAMgADYCDEEAIQIMPwtBACEAAkAgAygCOCICRQ0AIAIoAkwiAkUNACADIAIRAAAhAAsgAEUNACAAQRVHDQEgA0HYADYCHCADIAE2AhQgA0GzGzYCECADQRU2AgxBACECDD4LQcwAIQIMJAsgA0EANgIcIAMgATYCFCADQbMONgIQIANBHTYCDEEAIQIMPAsgASAERgRAQc4AIQIMPAsgAS0AACIAQSBGDQIgAEE6Rg0BCyADQQA6ACxBCSECDCELIAMoAgQhACADQQA2AgQgAyAAIAEQMCIADQEMAgsgAy0ALkEBcQRAQd4BIQIMIAsgAygCBCEAIANBADYCBCADIAAgARAwIgBFDQIgA0EqNgIcIAMgADYCDCADIAFBAWo2AhRBACECDDgLIANBywA2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMNwsgAUEBaiEBQcAAIQIMHQsgAUEBaiEBDCwLIAEgBEYEQEErIQIMNQsCQCABLQAAQQpGBEAgAUEBaiEBDAELIAMtAC5BwABxRQ0GCyADLQAyQYABcQRAQQAhAAJAIAMoAjgiAkUNACACKAJcIgJFDQAgAyACEQAAIQALIABFDRIgAEEVRgRAIANBBTYCHCADIAE2AhQgA0GbGzYCECADQRU2AgxBACECDDYLIANBADYCHCADIAE2AhQgA0GQDjYCECADQRQ2AgxBACECDDULIANBMmohAiADEDVBACEAAkAgAygCOCIGRQ0AIAYoAigiBkUNACADIAYRAAAhAAsgAA4WAgEABAQEBAQEBAQEBAQEBAQEBAQEAwQLIANBAToAMAsgAiACLwEAQcAAcjsBAAtBKyECDBgLIANBKTYCHCADIAE2AhQgA0GsGTYCECADQRU2AgxBACECDDALIANBADYCHCADIAE2AhQgA0HlCzYCECADQRE2AgxBACECDC8LIANBADYCHCADIAE2AhQgA0GlCzYCECADQQI2AgxBACECDC4LQQEhByADLwEyIgVBCHFFBEAgAykDIEIAUiEHCwJAIAMtADAEQEEBIQAgAy0AKUEFRg0BIAVBwABxRSAHcUUNAQsCQCADLQAoIgJBAkYEQEEBIQ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ALkEgcQ0AQQAhAiADQQA2AhwgAyABNgIUIANBoSE2AhAgA0EFNgIMDAILQQEhAiABIARHDQALCyAJQRBqJAAgAkUEQCADKAIMIQAMAQsgAyACNgIcQQAhACADKAIEIgFFDQAgAyABIAQgAygCCBEBACIBRQ0AIAMgBDYCFCADIAE2AgwgASEACyAAC74CAQJ/IABBADoAACAAQeQAaiIBQQFrQQA6AAAgAEEAOgACIABBADoAASABQQNrQQA6AAAgAUECa0EAOgAAIABBADoAAyABQQRrQQA6AABBACAAa0EDcSIBIABqIgBBADYCAEHkACABa0F8cSICIABqIgFBBGtBADYCAAJAIAJBCUkNACAAQQA2AgggAEEANgIEIAFBCGtBADYCACABQQxrQQA2AgAgAkEZSQ0AIABBADYCGCAAQQA2AhQgAEEANgIQIABBADYCDCABQRBrQQA2AgAgAUEUa0EANgIAIAFBGGtBADYCACABQRxrQQA2AgAgAiAAQQRxQRhyIgJrIgFBIEkNACAAIAJqIQADQCAAQgA3AxggAEIANwMQIABCADcDCCAAQgA3AwAgAEEgaiEAIAFBIGsiAUEfSw0ACwsLVgEBfwJAIAAoAgwNAAJAAkACQAJAIAAtADEOAwEAAwILIAAoAjgiAUUNACABKAIwIgFFDQAgACABEQAAIgENAwtBAA8LAAsgAEHKGTYCEEEOIQELIAELGgAgACgCDEUEQCAAQd4fNgIQIABBFTYCDAsLFAAgACgCDEEVRgRAIABBADYCDAsLFAAgACgCDEEWRgRAIABBADYCDAsLBwAgACgCDAsHACAAKAIQCwkAIAAgATYCEAsHACAAKAIUCysAAkAgAEEnTw0AQv//////CSAArYhCAYNQDQAgAEECdEHQOGooAgAPCwALFwAgAEEvTwRAAAsgAEECdEHsOWooAgALvwkBAX9B9C0hAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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AgICAgIAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAEGpzgALBQECAAEDAEHAzgALXwQFAAAFBQUFBQUFBQUFBQYFBQUFBQUFBQUFBQUABQAHCAUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQAFAAUABQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUAAAAFAEGp0AALBQEBAAEBAEHA0AALAQEAQdrQAAtBAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQanSAAsFAQEAAQEAQcDSAAsBAQBBytIACwYCAAAAAAIAQeHSAAs6AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},5610(e,t){t.enumToMap=function(e,t=[],r=[]){let n=(t?.length??0)===0,i=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(n||t.includes(e))&&(i||!r.includes(e))))}},6923(e,t,r){let{kClients:n}=r(3025),i=r(5891),{kAgent:s,kMockAgentSet:o,kMockAgentGet:a,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:g,kFactory:u,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:m,kMockAgentAddCallHistoryLog:p,kMockAgentMockCallHistoryInstance:C,kMockAgentAcceptsNonStandardSearchParameters:f,kMockCallHistoryAddLog:I,kIgnoreTrailingSlash:E}=r(4779),y=r(375),B=r(8182),{matchValue:Q,normalizeSearchParams:N,buildAndValidateMockOptions:b,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:D}=r(8065),x=r(6873),R=r(1908),{MockCallHistory:k}=r(2137);e.exports=class extends x{constructor(e={}){super(e);let t=b(e);if(this[c]=!0,this[l]=!0,this[m]=t.enableCallHistory??!1,this[f]=t.acceptNonStandardSearchParameters??!1,this[E]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new i(e);this[s]=r,this[n]=r[n],this[g]=t,this[m]&&this[h]()}get(e){let t=S(e),r=this[E]?t.replace(/\/$/,""):t,n=this[a](r);return n||(n=this[u](r),this[o](r,n)),n}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[p](e);let r=this[f],n={...e};if(r&&n.path){let[e,t]=n.path.split("?"),i=N(t,r);n.path=`${e}?${i}`}return this[s].dispatch(n,t)}async close(){this.clearCallHistory(),await this[s].close(),this[n].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[m]=!0,this}disableCallHistory(){return this[m]=!1,this}getCallHistory(){return this[C]}clearCallHistory(){void 0!==this[C]&&this[C].clear()}get isMockActive(){return this[l]}[h](){void 0===this[C]&&(this[C]=new k)}[p](e){this[m]&&(this[h](),this[C][I](e))}[o](e,t){this[n].set(e,t)}[u](e){let t=Object.assign({agent:this},this[g]);return this[g]&&1===this[g].connections?new y(e,t):new B(e,t)}[a](e){let t=this[n].get(e);if(t)return t;if("string"!=typeof e){let t=this[u]("http://localhost:9999");return this[o](e,t),t}for(let[t,r]of Array.from(this[n]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[u](e);return this[o](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[n].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new D(1===t.length?`1 interceptor is pending: +`}return a.sendHeaders.hasSubscribers&&a.sendHeaders.publish({request:t,headers:W,socket:_}),O&&0!==G?s.isBuffer(O)?ey(J,O,e,t,_,H,W,Y):s.isBlobLike(O)?"function"==typeof O.stream?eE(J,O.stream(),e,t,_,H,W,Y):eI(J,O,e,t,_,H,W,Y):s.isStream(O)?(o=J,l=O,u=e,g=t,h=_,m=H,f=W,C=Y,n(0!==m||0===u[b],"stream body cannot be pipelined"),y=!1,E=new eB({abort:o,socket:h,request:g,contentLength:m,client:u,expectsPayload:C,header:f}),B=function(e){if(!y)try{!E.write(e)&&this.pause&&this.pause()}catch(e){s.destroy(this,e)}},N=function(){!y&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",x)}),!y){let e=new c;queueMicrotask(()=>x(e))}},x=function(e){if(!y){if(y=!0,n(h.destroyed||h[w]&&u[b]<=1),h.off("drain",N).off("error",x),l.removeListener("data",B).removeListener("end",x).removeListener("close",S),!e)try{E.end()}catch(t){e=t}E.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?s.destroy(l,e):s.destroy(l)}},l.on("data",B).on("end",x).on("error",x).on("close",S),l.resume&&l.resume(),h.on("drain",N).on("error",x),l.errorEmitted??l.errored?setImmediate(x,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(x,null),(l.closeEmitted??l.closed)&&setImmediate(S)):s.isIterable(O)?eE(J,O,e,t,_,H,W,Y):n(!1):ey(J,null,e,t,_,H,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[D]&&t.unref&&(t.unref(),t[D]=!0):t[D]&&t.ref&&(t.ref(),t[D]=!1),0===e[b]&&e[N]>0&&t[ei]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[B].readMore(),t.destroyed;return}if(1===t[et]){t[B].readMore(),t.destroyed;return}}if(0===e[b]&&(t[B].readMore(),t.destroyed))return;if(0===e[S])8!==t[B].timeoutType&&t[B].setTimeout(e[L],8);else if(e[b]>0&&t[B].statusCode<200&&3!==t[B].timeoutType){let r=e[x][e[M]],i=null!=r.headersTimeout?r.headersTimeout:e[Y];t[B].setTimeout(i,3)}}}(e)},destroy(e,r){t[K]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[I]||t[Q]||1===t[et]||r&&(e[b]>0&&!r.idempotent||e[b]>0&&(r.upgrade||"CONNECT"===r.method)||e[b]>0&&0!==s.bodyLength(r.body)&&(s.isStream(r.body)||s.isAsyncIterable(r.body)||s.isFormDataLike(r.body))))||!1}}},942(e,t,r){let i,n,s=r(4589),{pipeline:a}=r(7075),o=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:u,HeadersTimeoutError:g,BodyTimeoutError:h}=r(8065),{kUrl:p,kReset:m,kClient:f,kRunning:C,kPending:y,kQueue:I,kPendingIdx:E,kRunningIdx:B,kError:Q,kSocket:b,kStrictContentLength:N,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:x,kHTTP2Session:D,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:v,kHostAuthority:k,kResume:M,kSize:F,kHTTPContext:U,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:O,kBodyTimeout:P,kEnableConnectProtocol:H,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:q}=r(3025),{channels:z}=r(6708),V=Symbol("open streams"),_=Symbol("request stream id"),J=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),K=Symbol("received goaway");try{n=r(2467)}catch{n={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:$,HTTP2_HEADER_METHOD:X,HTTP2_HEADER_PATH:Z,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:ei,HTTP2_HEADER_PROTOCOL:en,NGHTTP2_NO_ERROR:es,NGHTTP2_REFUSED_STREAM:ea}}=n;function eo(e){e[_]=null,e[J]=null,e[W]=null}function eA(e,t,r){let i=e[W],n=e[J];eo(e),i?.(n),e[_]=t.id,e[J]=t,e[W]=r}function el(e){let t=e[W],r=e[J];eo(e),t?.(r)}function ec(e){let t=e[q];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[q];!0===t.refed&&(t.refed=!1,e.unref())}function eu(e){let t=e[q];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eg(e){let t=e[f];if(t[D]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[F])return void eu(e);let r=e[q];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[f],r=e[b];if(e[q].idleTimeout=null,t[D]!==e||0!==e[V]||0!==t[F]||e.closed||e.destroyed)return;let i=new d("socket idle timeout");r[Q]=i,o.destroy(r,i)}function ep(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function em(e){if(this[f][w]=e.maxConcurrentStreams??this[f][w],!0===this[Y]&&!0===this[H]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[b][Q]=e,this[f][S](e);return}this[H]=e.enableConnectProtocol??this[H],this[Y]=!0,this[f][M]()}function ef(e){let t=e[q];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[f],i=this[b];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);i[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function eC(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[b][Q]=e,this[K]||this[f][S](e)}function ey(e,t,r){if(0===r){if(this[K])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[b][Q]=r,this[f][S](r)}}function eI(e,t){if(this[K])return;this[K]=!0;let r=this[Q]||(e===es?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,o.getSocketInfo(this[b]))),i=this[f],n=i[E],s=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[B];t<e[E];t++){let i=e[I][t];if(null!=i&&("number"!=typeof i[_]||i[_]>r))return t}return e[E]}(i,t),a=[],A=[];for(let e=s;e<n;e++){let t=i[I][e];null!=t&&(A.push(function(e){let t=e[J];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||o.isBuffer(t)||o.isBlobLike(t)}(t)?a.push(t):o.errorRequest(i,t,r))}for(let e=0;e<A.length;e++)!function(e,t=ea){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(s!==n){let e=i[I].slice(n);i[I].length=s,i[I].push(...a,...e)}i[D]===this&&(i[b]=null,i[U]=null,i[D]=null),eu(this),this.closed||this.destroyed||this.close(),i[E]=s,i.emit("disconnect",i[p],[i],r),i[M]()}function eE(){let{[f]:e,[q]:t,[b]:r}=this,i=r[Q]||this[Q]||new c("closed",o.getSocketInfo(r));if(e[D]===this&&(e[b]=null,e[U]=null,e[D]=null),eu(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){s(0===e[y]);let t=e[I].splice(e[B]);for(let r=0;r<t.length;r++){let n=t[r];null!=n&&o.errorRequest(e,n,i)}}}function eB(){let e=this[Q]||new c("closed",o.getSocketInfo(this)),t=this[D],r=t[f];r[b]!==this&&(t[K]||null!=r[D]&&r[D]!==t)||(r[b]=null,r[U]=null,r[D]===t&&(r[D]=null),t.destroy(e),r[E]=r[B],s(0===r[C]),r.emit("disconnect",r[p],[r],e),r[M]())}function eQ(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[D]?.[K]||this[D]?.[f]?.[S](e)}function eb(){o.destroy(this,new c("other side closed",o.getSocketInfo(this)))}function eN(){this[T]=!0}function eS(){}function ew(e){let t=e[D];e[D]=null,t[V]-=1,0===t[V]&&(ed(t),eg(t))}function ex(){this.off("error",eS);let e=this[j];this[j]=null,ek(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function eD(){let e=this[j];null!=e&&(eH(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eO(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",eM),e.off("end",eF),e.off("timeout",eU),e.off("error",eS)}function ev(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[J]===e&&eo(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ek(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(ev(e.stream),e.abort(t,!0))}function eM(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ek(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ek(e,new d("HTTP/2: stream errored before response headers"))}function eF(){ek(this[j],new d("HTTP/2: stream half-closed (remote)"))}function eU(){let e=this[j];ek(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:i}=r;r.responseReceived=!0;let n=e[ei];delete e[ei],i.onRequestUpgrade(n,e,this),i.aborted||i.completed||(eR(this),eo(i),eO(r))}function eL(e,t){let{request:r,headersTimeout:i,session:n}=t;e[G]=!0,e[D]=n,e[j]=t,t.stream=e,eA(r,e,ev),e.once("response",eT),e.on("error",eM),e.once("end",eF),e.on("timeout",eU),e.once("close",ex),eu(n),++n[V],e.setTimeout(i)}function eO(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let i=e[I],n=e[B];if(n<e[E]&&i[n]===t){i[n]=null,e[B]=n+1;return}let s=i.indexOf(t,n);-1!==s&&!(s>=e[E])&&(i.splice(s,1),e[E]--,r&&e[E]<e[B]&&(e[E]=e[B]))}(e.client,e.request,t),e.client[M]())}function eP(e,t,r,i,n,s){try{return r.request(n,s)}catch(s){if(s?.code==="ERR_HTTP2_INVALID_SESSION"||s?.code==="ERR_HTTP2_GOAWAY_SESSION"){let i=new c(s.message,o.getSocketInfo(r[b]));i.cause=s,r[Q]=i;let n=r[f],a=r[b];if(n[D]===r&&(n[b]=null,n[U]=null,n[D]=null),null!=a&&null==a[Q]&&(a[Q]=i),!r.closed&&!r.destroyed)try{r.destroy(i)}catch{}return o.destroy(a,i),e[I].splice(e[E]+1,0,t),null}let n=new d(s.message,{cause:s});return r[Q]=n,r[b][Q]=n,r.destroy(n),o.destroy(r[b],n),i(n),null}}function eH(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[J]===e&&eo(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",eq),e.off("error",ez),e.off("frameError",eV),e.off("aborted",e_),e.off("timeout",eJ),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let i=e[ei];(delete e[ei],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eH(this):(!1===r.onResponseStart(Number(i),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function eq(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",eq),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,eD.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function ez(e){let t=this[j];null!=t&&(this.off("error",ez),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function e_(){this.off("data",eY)}function eJ(){let e=this[j];if(null==e)return;this.off("timeout",eJ);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new g(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,i,n,A,l;let c,d=this[j];d.bodySent=!0;let{abort:u,body:g,client:h,contentLength:p,expectsPayload:f,request:y}=d;g&&0!==p?o.isBuffer(g)?eK(u,this,g,h,y,h[b],p,f):o.isBlobLike(g)?"function"==typeof g.stream?eX(u,this,g.stream(),h,y,h[b],p,f):e$(u,this,g,h,y,h[b],p,f):o.isStream(g)?(e=u,t=h[b],r=f,i=this,n=g,A=h,l=y,s(0!==p||0===A[C],"stream body cannot be pipelined"),c=a(n,i,i=>{i?(o.destroy(c,i),e(i)):(o.removeAllListeners(c),l.onRequestSent(),r||(t[m]=!0),A[M]())}),o.addListener(c,"data",function(e){l.onBodySent(e)})):o.isIterable(g)?eX(u,this,g,h,y,h[b],p,f):s(!1):eK(u,this,null,h,y,h[b],p,f)}function eK(e,t,r,i,n,a,A,l){try{null!=r&&o.isBuffer(r)&&(s(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),n.onBodySent(r)),l||(a[m]=!0),n.onRequestSent(),i[M]()}catch(t){e(t)}}async function e$(e,t,r,i,n,s,a,o){try{if(null!=a&&a!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),n.onBodySent(e),n.onRequestSent(),o||(s[m]=!0),i[M]()}catch(t){e(t)}}async function eX(e,t,r,i,n,a,o,A){s(0!==o||0===i[C],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),a[Q]?t(a[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(a[Q])throw a[Q];let r=t.write(e);n.onBodySent(e),r||await d()}t.end(),n.onRequestSent(),A||(a[m]=!0),i[M]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[b]=t;let a=e[R],c=e[v],g=n.connect(e[p],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=a?{initialWindowSize:a}:null}});return e[b]=t,g[V]=0,g[f]=e,g[b]=t,g[q]={idleTimeout:null,refed:!0,ping:{interval:0===e[x]?null:setInterval(ef,e[x],g).unref()}},g[K]=!1,g[H]=!1,g[Y]=!1,c&&o.addListener(g,"connect",ep.bind(g,c)),o.addListener(g,"error",eC),o.addListener(g,"frameError",ey),o.addListener(g,"goaway",eI),o.addListener(g,"close",eE),o.addListener(g,"remoteSettings",em),ed(g),e[D]=g,t[D]=g,o.addListener(t,"error",eQ),o.addListener(t,"end",eb),o.addListener(t,"close",eB),t[T]=!1,t.on("close",eN),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let n=t.headersTimeout??e[O],a=t.bodyTimeout??e[P],c=e[D],{method:g,path:h,host:p,upgrade:m,expectContinue:f,signal:C,protocol:y,headers:I}=t;if(null!=m&&"websocket"!==m)return o.errorRequest(e,t,new u(`Custom upgrade "${m}" not supported over HTTP/2`)),!1;let E=function(e){let t={};for(let r=0;r<e.length;r+=2){let i=e[r+0],n=e[r+1],s=t[i];if("cookie"===i){null!=s?t[i]=Array.isArray(s)?(s.push(n),s):[s,n]:t[i]=n;continue}if("string"==typeof n){t[i]=s?`${s}, ${n}`:n;continue}for(let e=0;e<n.length;e++)t[i]=t[i]?`${t[i]}, ${n[e]}`:n[e]}return t}(I);E[$]=p||e[k],E[X]=g;let B={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:n,bodyTimeout:a,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,i=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,o.errorRequest(e,t,r),null!=B.stream){el(t);let n=B.stream;n.close(),n.destroyed||o.destroy(n),e[S](r),eO(B,i)}o.destroy(B.body,r)}};B.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){o.errorRequest(e,t,r)}if(t.aborted)return!1;if(m||"CONNECT"===g)return(ec(c),"websocket"===m)?!1===c[H]?(o.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(E[X]="CONNECT",E[en]="websocket",E[Z]=h,"ws:"===y||"wss:"===y?E[ee]="ws:"===y?"http":"https":E[ee]="http:"===y?"http":"https",null==(w=eP(e,t,c,Q,E,{endStream:!1,signal:C})))?(ed(c),!1):(eL(w,B),!0):null==(w=eP(e,t,c,Q,E,{endStream:!1,signal:C}))?(ed(c),!1):(eL(w,B),!0);E[Z]=h,E[ee]="http:"===y?"http":"https";let x="PUT"===g||"POST"===g||"PATCH"===g||"QUERY"===g||"PROPFIND"===g||"PROPPATCH"===g,R=B.body;R&&"function"==typeof R.read&&R.read(0);let v=o.bodyLength(R);if(o.isFormDataLike(R)){let[e,t]=(i??=r(4626).extractBody)(R);E["content-type"]=t,R=e.stream,v=e.length}if(null==v&&(v=t.contentLength),0!==v||x||(v=null),"GET"!==g&&"HEAD"!==g&&"OPTIONS"!==g&&"TRACE"!==g&&"CONNECT"!==g&&v>0&&null!=t.contentLength&&t.contentLength!==v){if(e[N])return o.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=v&&(s(R||0===v,"no body must not have content length"),E[et]=`${v}`),ec(c),z.sendHeaders.hasSubscribers){let e="";for(let t in E)e+=`${t}: ${E[t]}\r +`;z.sendHeaders.publish({request:t,headers:e,socket:c[b]})}let M=null===R||0===v;return B.body=R,B.contentLength=v,B.expectsPayload=x,f&&(E[er]="100-continue"),null!=(w=eP(e,t,c,Q,E,{endStream:M,signal:C}))&&(w[G]=!0,w[j]=B,B.stream=w,eu(c),++c[V],n&&w.setTimeout(n),w[D]=c,w.on("close",eD),eA(t,w,eH),f&&w.once("continue",ej),w.on("response",eG),w.on("end",eq),w.on("error",ez),w.on("frameError",eV),w.on("aborted",e_),(n||a)&&w.on("timeout",eJ),w.on("trailers",eW),f||ej.call(w),!0)})(e,t),resume(){var t;let r,i;r=(t=e)[b],i=t[D],r?.destroyed===!1&&(0===t[F]||0===t[w]?ed(i):ec(i),0===t[F]&&0===i[V]?eg(i):eu(i))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===g[Y]&&e[C]>0||e[C]>=e[w])return!0;if(null!=t){if(!(e[C]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===g[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===g[Y])return!0}return!1}}}},5183(e,t,r){let i=r(4589),n=r(7030),s=r(7067),a=r(1210),{ClientStats:o}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:u,ClientDestroyedError:g}=r(8065),h=r(5010),{kUrl:p,kServerName:m,kClient:f,kBusy:C,kConnect:y,kResuming:I,kRunning:E,kPending:B,kSize:Q,kQueue:b,kConnected:N,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:x,kHostHeader:D,kPendingIdx:R,kRunningIdx:v,kError:k,kPipelining:M,kKeepAliveTimeoutValue:F,kMaxHeadersSize:U,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:O,kBodyTimeout:P,kStrictContentLength:H,kConnector:Y,kMaxRequests:G,kCounter:q,kClose:z,kDestroy:V,kDispatch:_,kLocalAddress:J,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:$,kHostAuthority:X,kHTTP2InitialWindowSize:Z,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),ei=r(8043),en=r(942),es=Symbol("kClosedResolve"),ea=s&&s.maxHeaderSize&&Number.isInteger(s.maxHeaderSize)&&s.maxHeaderSize>0?()=>s.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},eo=()=>{};function eA(e){return e[K]?.version==="h2"?e[$]:e[M]??e[K]?.defaultPipelining??1}function el(e,t){if(0===e[E]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){i(e[R]===e[v]);let r=e[b].splice(e[v]);for(let i=0;i<r.length;i++){let n=r[i];null!=n&&a.errorRequest(e,n,t)}i(0===e[Q])}}function ec(e){i(!e[S]),i(!e[K]);let{host:t,hostname:r,protocol:s,port:o}=e[p];if("["===r[0]){let e=r.indexOf("]");i(-1!==e);let t=r.substring(1,e);i(n.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:s,port:o,version:e[K]?.version,servername:e[m],localAddress:e[J]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:s,port:o,servername:e[m],localAddress:e[J]},(n,l)=>{if(n){ed(e,n,{host:t,hostname:r,protocol:s,port:o}),e[et]();return}if(e.destroyed){a.destroy(l.on("error",eo),new g),e[et]();return}i(l);try{e[K]="h2"===l.alpnProtocol?en(e,l):ei(e,l)}catch(i){l.destroy().on("error",eo),ed(e,i,{host:t,hostname:r,protocol:s,port:o}),e[et]();return}e[S]=!1,l[q]=0,l[G]=e[G],l[f]=e,l[k]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:s,port:o,version:e[K]?.version,servername:e[m],localAddress:e[J]},connector:e[Y],socket:l}),e.emit("connect",e[p],[e]),e[et]()})}catch(i){ed(e,i,{host:t,hostname:r,protocol:s,port:o}),e[et]()}}function ed(e,t,{host:r,hostname:i,protocol:n,port:s}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:i,protocol:n,port:s,version:e[K]?.version,servername:e[m],localAddress:e[J]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[b].splice(e[v],e[E]);e[R]=e[v];for(let i=0;i<r.length;i++)a.errorRequest(e,r[i],t);for(;e[B]>0&&e[b][e[R]].servername===e[m];){let r=e[b].splice(e[R],1)[0];a.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[p],[e],t)}}function eu(e){e[w]=0,e.emit("drain",e[p],[e])}function eg(e,t){2!==e[I]&&(e[I]=2,function(e,t){for(;;){if(e.destroyed)return void i(0===e[B]);if(e[es]&&!e[Q]){e[es](),e[es]=null;return}if(e[K]&&e[K].resume(),e[C])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eu(e))):eu(e);continue}if(0===e[B]||e[E]>=(eA(e)||1))return;let r=e[b][e[R]];if(null===r)return;if("https:"===e[p].protocol&&e[m]!==r.servername){if(e[E]>0)return;e[m]=r.servername,e[K]?.destroy(new u("servername changed"),()=>{e[K]=null,eg(e)})}if(e[S])return;if(!e[K])return void ec(e);if(e[K].destroyed||e[K].busy(r))return;!r.aborted&&e[K].write(r)?e[R]++:e[b].splice(e[R],1)}}(e,t),e[I]=0,e[v]>256&&(e[b].splice(0,e[v]),e[R]-=e[v],e[v]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:i,requestTimeout:s,connectTimeout:o,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:u,maxKeepAliveTimeout:g,keepAliveMaxTimeout:f,keepAliveTimeoutThreshold:C,socketPath:y,pipelining:E,tls:B,strictContentLength:Q,maxCachedSessions:N,connect:S,maxRequestsPerClient:k,localAddress:q,maxResponseSize:z,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_,maxConcurrentStreams:ei,allowH2:en,useH2c:eo,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eu}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==s)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==g)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=ea();if(null!=y&&"string"!=typeof y)throw new d("invalid socketPath");if(null!=o&&(!Number.isFinite(o)||o<0))throw new d("invalid connectTimeout");if(null!=u&&(!Number.isFinite(u)||u<=0))throw new d("invalid keepAliveTimeout");if(null!=f&&(!Number.isFinite(f)||f<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=C&&!Number.isFinite(C))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=k&&(!Number.isInteger(k)||k<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=q&&("string"!=typeof q||0===n.isIP(q)))throw new d("localAddress must be valid string IP address");if(null!=z&&(!Number.isInteger(z)||z<-1))throw new d("maxResponseSize must be a positive number");if(null!=_&&(!Number.isInteger(_)||_<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=en&&"boolean"!=typeof en)throw new d("allowH2 must be a valid boolean value");if(null!=ei&&("number"!=typeof ei||ei<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=eo&&"boolean"!=typeof eo)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eu}),"function"!=typeof S)S=h({...B,maxCachedSessions:N,allowH2:en,useH2c:eo,socketPath:y,timeout:o,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=y?{socketPath:y}:null,...null!=en?{allowH2:en}:null},r)}this[p]=a.parseOrigin(e),this[X]=`${this[p].hostname}${this[p].port?`:${this[p].port}`:""}`,this[Y]=S,this[M]=null!=E?E:1,this[U]=t,this[x]=null==u?4e3:u,this[T]=null==f?6e5:f,this[L]=null==C?2e3:C,this[F]=this[x],this[m]=null,this[J]=null!=q?q:null,this[I]=0,this[w]=0,this[D]=`host: ${this[X]}\r +`,this[P]=null!=A?A:3e5,this[O]=null!=r?r:3e5,this[H]=null==Q||Q,this[G]=k,this[es]=null,this[W]=z>-1?z:-1,this[K]=null,this[$]=null!=ei?ei:100,this[Z]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[b]=[],this[v]=0,this[R]=0,this[et]=e=>eg(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[M]}set pipelining(e){this[M]=e,this[et](!0)}get stats(){return new o(this)}get[B](){return this[b].length-this[R]}get[E](){return this[R]-this[v]}get[Q](){return this[b].length-this[v]}get[N](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[C](){let e=this[K]?.version==="h2";return!!(this[K]?.busy(null)||this[Q]>=(eA(this)||1)||this[B]>0&&!e)}[y](e){ec(this),this.once("connect",e)}[_](e,t){let r=new l(this[p].origin,e,t);return this[b].push(r),this[I]||(null==a.bodyLength(r.body)&&a.isIterable(r.body)?(this[I]=1,queueMicrotask(()=>eg(this))):this[et](!0)),this[I]&&2!==this[w]&&this[C]&&(this[w]=2),this[w]<2}[z](){return new Promise(e=>{this[Q]?this[es]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[b].splice(this[R]);for(let t=0;t<r.length;t++){let i=r[t];null!=i&&a.errorRequest(this,i,e)}let i=()=>{this[es]&&(this[es](),this[es]=null),t(null)};this[K]?(this[K].destroy(e,i),this[K]=null):queueMicrotask(i),this[et]()})}}},9779(e,t,r){let i=r(6873),{ClientDestroyedError:n,ClientClosedError:s,InvalidArgumentError:a}=r(8065),{kDestroy:o,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),u=Symbol("onDestroyed"),g=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends i{[c]=!1;[u]=null;[l]=!1;[g]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,i)=>r?t(r):e(i))});if("function"!=typeof e)throw new a("invalid callback");if(this[c]){let t=new n;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[g]?this[g].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[g]??=[],this[g].push(e);let t=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,i)=>e?r(e):t(i))});if("function"!=typeof t)throw new a("invalid callback");if(this[c])return void(this[u]?this[u].push(t):queueMicrotask(()=>t(null,null)));e||(e=new n),this[c]=!0,this[u]??=[],this[u].push(t);let r=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[o](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new a("handler must be an object");try{if(!e||"object"!=typeof e)throw new a("opts must be an object.");if(e.dispatcher)throw new a("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[u])throw new n;if(this[l])throw new s;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let i=r(8474);e.exports=class extends i{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let i=r(6873),{InvalidArgumentError:n}=r(8065),{toRawHeaders:s}=r(1210);class a{#B;constructor(e){this.#B=e}onRequestStart(e,t){this.#B.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,i){let n=e?.rawHeaders??s(r??{});this.#B.onUpgrade?.(t,n,i)}onResponseStart(e,t,r,i){let n=e?.rawHeaders??s(r??{});this.#B.onHeaders?.(t,n,()=>e.resume(),i)===!1&&e.pause()}onResponseData(e,t){this.#B.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??s(t??{});this.#B.onComplete?.(r)}onResponseError(e,t){if(!this.#B.onError)throw t;this.#B.onError(t)}onBodySent(e){this.#B.onBodySent?.(e)}onRequestSent(){this.#B.onRequestSent?.()}onResponseStarted(){this.#B.onResponseStarted?.()}}e.exports=class e extends i{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new n("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new n("handler must be an object");return"function"==typeof e.onRequestStart?e:new a(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let i=r(9779),{kClose:n,kDestroy:s,kClosed:a,kDestroyed:o,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),u=r(3614),g=r(5891),h={"http:":80,"https:":443};e.exports=class extends i{#b=null;#N=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:i,...n}=e;this[l]=new g(n);let s=t??process.env.http_proxy??process.env.HTTP_PROXY;s?this[c]=new u({...n,uri:s}):this[c]=this[l];let a=r??process.env.https_proxy??process.env.HTTPS_PROXY;a?this[d]=new u({...n,uri:a}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#x(r).dispatch(e,t)}[n](){return Promise.all([this[l].close(),!this[c][a]&&this[c].close(),!this[d][a]&&this[d].close()])}[s](e){return Promise.all([this[l].destroy(e),!this[c][o]&&this[c].destroy(e),!this[d][o]&&this[d].destroy(e)])}#x(e){let{protocol:t,host:r,port:i}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||h[t]||0,this.#D(r,i))?"https:"===t?this[d]:this[c]:this[l]}#D(e,t){if(this.#R&&this.#w(),0===this.#N.length)return!0;if("*"===this.#b)return!1;for(let r=0;r<this.#N.length;r++){let i=this.#N[r];if((!i.port||i.port===t)&&(e===i.hostname||e.slice(-(i.hostname.length+1))===`.${i.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#v,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let n=i.match(/^(.+):(\d+)$/);r.push({hostname:(n?n[1]:i).replace(/^\*?\./,"").toLowerCase(),port:n?Number.parseInt(n[2],10):0})}this.#b=e,this.#N=r}get #R(){return void 0===this.#S.noProxy&&this.#b!==this.#v}get #v(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:i}=r(8065),n=r(5183);e.exports=class extends n{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new i("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:n,...s}=t??{},a=r??100,o=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new i("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=n&&Number.isInteger(n)&&n>0&&(o=n),o>a)throw new i("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...s,maxConcurrentStreams:a,pipelining:o,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:i}=r(256),n=r(9779),s=r(9006),{kConnected:a,kSize:o,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:u,kUrl:g,kClose:h,kDestroy:p,kDispatch:m}=r(3025),f=Symbol("clients"),C=Symbol("needDrain"),y=Symbol("queue"),I=Symbol("closed resolve"),E=Symbol("onDrain"),B=Symbol("onConnect"),Q=Symbol("onDisconnect"),b=Symbol("onConnectionError"),N=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),x=Symbol("remove client");class D extends n{[y]=new s;[c]=0;[f]=[];[C]=!1;[E](e,t,r){let i=this[y],n=!1;for(;!n;){let t=i.shift();if(!t)break;this[c]--,n=!e.dispatch(t.opts,t.handler)}if(e[C]=n,!n&&this[C]&&(this[C]=!1,this.emit("drain",t,[this,...r])),this[I]&&i.isEmpty()){let e=[];for(let t=0;t<this[f].length;t++){let r=this[f][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[I])}}[B]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[b]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[C]}get[a](){let e=0;for(let{[a]:t}of this[f])e+=t;return e}get[u](){let e=0;for(let{[a]:t,[C]:r}of this[f])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[f])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[f])e+=t;return e}get[o](){let e=this[c];for(let{[o]:t}of this[f])e+=t;return e}get stats(){return new i(this)}[h](){if(!this[y].isEmpty())return new Promise(e=>{this[I]=e});{let e=[];for(let t=0;t<this[f].length;t++){let r=this[f][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[p](e){for(;;){let t=this[y].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[f].length);for(let r=0;r<this[f].length;r++)t[r]=this[f][r].destroy(e);return Promise.all(t)}[m](e,t){let r=this[N]();return r?r.dispatch(e,t)||(r[C]=!0,this[C]=!this[S]()):(this[C]=!0,this[y].push({opts:e,handler:t}),this[c]++),!this[C]}[S](){for(let e=0;e<this[f].length;e++){let t=this[f][e];if(!t[C]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[E].bind(this,e)).on("connect",this[B]).on("disconnect",this[Q]).on("connectionError",this[b]),this[f].push(e),this[C]&&queueMicrotask(()=>{this[C]&&this[E](e,e[g],[e,this])}),this}[x](e){let t=this[f].indexOf(e);-1!==t&&this[f].splice(t,1),e.close(()=>{}),this[C]=!this[f].some(e=>!e[C]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:D,kClients:f,kNeedDrain:C,kAddClient:w,kRemoveClient:x,kGetDispatcher:N,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:i,kClients:n,kNeedDrain:s,kAddClient:a,kGetDispatcher:o,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),u=r(1210),{kUrl:g}=r(3025),h=r(5010),p=Symbol("options"),m=Symbol("connections"),f=Symbol("factory");function C(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=C,connect:i,connectTimeout:s,tls:a,maxCachedSessions:o,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:y,useH2c:I,clientTtl:E,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...a,maxCachedSessions:o,allowH2:y,useH2c:I,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(B),this[m]=t||null,this[g]=u.parseOrigin(e),this[p]={...u.deepClone(B),connect:i,allowH2:y,useH2c:I,clientTtl:E,socketPath:A},this[f]=r,this.on("connect",(e,t)=>{if(null!=E&&E>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[n].indexOf(e);-1!==t&&this[n].splice(t,1)}})}[o](){let e=this[p].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return r}if(!this[m]||this[n].length<this[m]){let e=this[f](this[g],this[p]);return this[a](e),e}}[A](){let e=this[p].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return!0}if(!this[m]||this[n].length<this[m]){let e=this[f](this[g],this[p]);return this[a](e),!0}return!1}}},3614(e,t,r){let{kProxy:i,kClose:n,kDestroy:s,kDispatch:a}=r(3025),o=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:u,ProxyConnectionError:g}=r(8065),h=r(5010),p=r(5183),{channels:m}=r(6708),f=r(9741),C=Symbol("proxy agent"),y=Symbol("proxy client"),I=Symbol("proxy headers"),E=Symbol("request tls settings"),B=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),b=Symbol("connect endpoint function (http/1.1 only)"),N=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let x=()=>{};function D(e,t){return 1===t.connections?new p(e,t):new A(e,t)}class R extends l{#k;#M;constructor(e,{headers:t={},connect:r,factory:i,proxyServername:n}){if(!e)throw new c("Proxy URL is mandatory");super(),this[I]=t,this.#M=n,i?this.#k=i(e,{connect:r}):this.#k=new p(e,{connect:r})}[a](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,i,n,s){if(407===i){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,i,n,s)};let{origin:i,path:n="/",headers:s={}}=e;if(e.path=i+n,!("host"in s)&&!("Host"in s)){let{host:e}=new URL(i);s.host=e}return e.headers={...this[I],...s},null!=this.#M&&(e.servername=this.#M),this.#k[a](e,t)}[n](){return this.#k.close()}[s](e){return this.#k.destroy(e)}}function v(e){return e.length===S.length&&e.toLowerCase()===S}function k(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:n}=e;super();let s=this.#F(e),{href:a,origin:A,port:l,protocol:p,username:S,password:v,hostname:k}=s;if(this[i]={uri:a,protocol:p},this[E]=e.requestTls,this[B]=e.proxyTls,this[I]=e.headers||{},this[N]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[I]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[I]["proxy-authorization"]=e.token:S&&v?this[I]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(v)}`).toString("base64")}`:S&&(this[I]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let M=h({timeout:n,...e.proxyTls}),F=h({timeout:n,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:n,...e.requestTls}),this[b]=h({timeout:n,...e.requestTls,allowH2:!1});let U=e.factory||D,T=(t,r)=>{let{protocol:n}=new URL(t);if("socks5:"===this[i].protocol||"socks:"===this[i].protocol)return new f(this[i].uri,{headers:this[I],connect:M,factory:U,username:e.username||S,password:e.password||v,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[N]&&"http:"===n){let e="https:"===this[i].protocol?(e,t)=>F(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new u(e)):t(e,r)}):F;return new R(this[i].uri,{headers:this[I],connect:e,factory:U,proxyServername:"https:"===this[i].protocol?this[B]?.servername||k:void 0})}return U(t,r)};"socks5:"===p||"socks:"===p?this[y]=null:this[y]=t(s,{connect:M}),this[C]=new o({...e,factory:T,connect:async(e,t)=>{if(!this[y])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let i,n={origin:A,port:l,path:r,signal:e.signal,headers:{...this[I],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[B]?.servername||k},{socket:s,statusCode:a}=await this[y].connect(n);if(200!==a){s.on("error",x).destroy(),t(new d(`Proxy response (${a}) !== 200 when HTTP Tunneling`));return}if(m.proxyConnected.hasSubscribers&&m.proxyConnected.publish({socket:s,connectParams:n}),"https:"!==e.protocol)return void t(null,s);i=this[E]?this[E].servername:e.servername,(!1===e.allowH2?this[b]:this[Q])({...e,servername:i,httpSocket:s},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new u(e):"UND_ERR_SOCKET"===e.code?new g(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)v(e[r])&&k(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)v(t)&&k()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[C].dispatch({...e,headers:r},t)}#F(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[n](){let e=[this[C].close()];return this[y]&&e.push(this[y].close()),Promise.all(e)}[s](){let e=[this[C].destroy()];return this[y]&&e.push(this[y].destroy()),Promise.all(e)}}},8392(e,t,r){let i=r(6873),n=r(4166);e.exports=class extends i{#U=null;#T=null;constructor(e,t={}){super(t),this.#U=e,this.#T=t}dispatch(e,t){let r=new n({...e,retryOptions:this.#T},{dispatch:this.#U.dispatch.bind(this.#U),handler:t});return this.#U.dispatch(e,r)}close(){return this.#U.close()}destroy(){return this.#U.destroy()}}},1326(e,t,r){let{PoolBase:i,kClients:n,kNeedDrain:s,kAddClient:a,kGetDispatcher:o,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),u=r(1210),{kUrl:g}=r(3025),h=r(5010),p=Symbol("options"),m=Symbol("connections"),f=Symbol("factory"),C=Symbol("index");function y(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=y,connect:i,connectTimeout:s,tls:a,maxCachedSessions:o,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:I,clientTtl:E,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...a,maxCachedSessions:o,allowH2:I,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[m]=t||null,this[g]=u.parseOrigin(e),this[p]={...u.deepClone(B),connect:i,allowH2:I,clientTtl:E,socketPath:A},this[f]=r,this[C]=-1,this.on("connect",(e,t)=>{if(null!=E&&E>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[n].indexOf(e);-1!==t&&this[n].splice(t,1)}})}[o](){let e=this[p].clientTtl;if(0===this[n].length){let e=this[f](this[g],this[p]);return this[a](e),e}let t=0;for(;t<this[n].length;){this[C]=(this[C]+1)%this[n].length;let r=this[n][this[C]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[C]--;continue}if(!r[s])return r;t++}if(!this[m]||this[n].length<this[m]){let e=this[f](this[g],this[p]);return this[a](e),e}}[A](){let e=this[p].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[C]&&this[C]--,t--;else if(!r[s])return!0}if(!this[m]||this[n].length<this[m]){let e=this[f](this[g],this[p]);return this[a](e),!0}return!1}}},9741(e,t,r){let i,{URL:n}=r(3136),s=r(9779),{InvalidArgumentError:a}=r(8065),{Socks5Client:o,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),u=r(6334),g=r(5010),{debuglog:h}=r(7975),p=h("undici:socks5-proxy"),m=Symbol("proxy url"),f=Symbol("proxy headers"),C=Symbol("proxy auth"),y=Symbol("proxy protocol"),I=Symbol("pools"),E=Symbol("connector"),B=Symbol("request tls settings"),Q=!1;e.exports=class extends s{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new a("Proxy URL is mandatory");let r="string"==typeof e?new n(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new a("Proxy URL must use socks5:// or socks:// protocol");this[m]=r,this[f]=t.headers||{},this[y]=t.proxyTls?"https:":"http:",this[B]=t.requestTls,this[C]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[E]=t.connect||g({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[I]=new Map}async createSocks5Connection(e,t){let r=this[m].hostname,i=parseInt(this[m].port)||1080;p("creating SOCKS5 connection to",r,i);let n=Promise.withResolvers();this[E]({hostname:r,host:r,port:i,protocol:this[y]},(e,t)=>{e?n.reject(e):n.resolve(t)});let s=await n.promise,a=new o(s,this[C]);a.on("error",e=>{p("SOCKS5 error:",e),s.destroy()}),await a.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),a.removeListener("error",u),l.resolve()},u=e=>{clearTimeout(c),a.removeListener("authenticated",d),l.reject(e)};a.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(a.once("authenticated",d),a.once("error",u)),await l.promise,await a.connect(e,t);let g=Promise.withResolvers(),h=setTimeout(()=>{g.reject(Error("SOCKS5 connection timeout"))},5e3),f=r=>{p("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),a.removeListener("error",I),g.resolve()},I=e=>{clearTimeout(h),a.removeListener("connected",f),g.reject(e)};return a.once("connected",f),a.once("error",I),await g.promise,s}[l](e,t){let{origin:s}=e;p("dispatching request to",s,"via SOCKS5");try{let a=String(s),o=this[I].get(a);return(!o||o.destroyed||o.closed)&&(o=new u(s,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new n(s),a=e.hostname,o=parseInt(e.port)||("https:"===e.protocol?443:80);p("establishing SOCKS5 connection to",a,o);let A=await this.createSocks5Connection(a,o),l=A;if("https:"===e.protocol){i||(i=r(1692)),p("upgrading to TLS"),l=i.connect({...this[B],socket:A,servername:this[B]?.servername||a});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){p("SOCKS5 connection error:",e),t(e)}}}),this[I].set(a,o)),o[l](e,t)}catch(e){if(p("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[I].values())e.push(t.close());this[I].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[I].values())t.push(r.destroy(e));this[I].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let i,n=Symbol.for("undici.globalDispatcher.2"),s=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:a}=r(8065),o=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new a("Argument agent must implement Agent");try{Object.defineProperty(globalThis,n,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){i=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,s,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[n]??i}void 0===c()&&l(new o),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let i=r(1210),{parseCacheControlHeader:n,hasInvalidCacheControlDirective:s,parseVaryHeader:a,hasVaryStar:o,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let u=[200,203,204,206,300,301,308,404,405,410,414,501],g=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function p(e,t,r){f(e,{...t,path:r});for(let n=0;n<i.safeHTTPMethods.length;n++){let s=i.safeHTTPMethods[n];s!==t.method&&f(e,{...t,method:s,path:r})}}function m(e,t,r){if(void 0===r)return;let i=Array.isArray(r)?r:[r];for(let r=0;r<i.length;r++){let n=function(e,t){let r,i,n;if("string"==typeof t){try{r=new URL(e.origin),i=new URL(e.path,r),n=new URL(t,i)}catch{return}if(n.origin===r.origin)return n.pathname+n.search}}(t,i[r]);void 0!==n&&p(e,t,n)}}function f(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function C(e,t,r){304===e&&f(t,r)}e.exports=class{#L;#O;#P;#H;#B;#Y;constructor({store:e,type:t,cacheByDefault:r},i,n){this.#H=e,this.#O=t,this.#P=r,this.#L=i,this.#B=n}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#B.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#B.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,d){var y,I,E,B,Q,b,N,S,w,x;let D,R=()=>this.#B.onResponseStart?.(e,t,r,d),v=this;if(!h(i.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return y=this.#H,I=this.#L,p(y,I,I.path),m(y,I,r.location),m(y,I,r["content-location"]),R()}let k=r["cache-control"],M=r["last-modified"]&&h(u,t);if(!k&&!r.expires&&!M&&!this.#P)return 304===t&&r.vary&&A(r.vary)&&f(this.#H,this.#L),R();let F=k?n(k):{};if(E=this.#O,B=t,Q=r,b=F,N=this.#L.headers,B<200||h(g,B)||!h(u,B)&&!Q.expires&&!b.public&&void 0===b["max-age"]&&!(b.private&&"private"===E)&&(void 0===b["s-maxage"]||"shared"!==E)||b["no-store"]||"shared"===E&&!0===b.private||Q.vary&&o(Q.vary)||null!=N&&Object.hasOwn(N,"authorization")&&(!b.public&&!b["s-maxage"]&&!b["must-revalidate"]||"string"!=typeof N.authorization||Array.isArray(b["no-cache"])&&h(b["no-cache"],"authorization")||Array.isArray(b.private)&&h(b.private,"authorization"))||0){return 304===t&&(k||(S=this.#O,w=r,!0===(x=F)["no-store"]||"shared"===S&&!0===x.private||w.vary&&A(w.vary)))&&f(this.#H,this.#L),R()}let U=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return C(t,this.#H,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return C(t,this.#H,this.#L),R();let O=Math.max(L?Math.max(0,U-L.getTime()):0,T??0),P="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],H=function(e,t,r,i,n,a,o){if("shared"===e){if(s(a,"s-maxage"))return 0;let e=a["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(s(a,"max-age"))return 0;let A=a["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(i,"expires")){if("string"!=typeof i.expires)return 0;let e=c(i.expires);if(!e||t>=e.getTime())return 0;if(n){if(n>=e)return 0;let t=e.getTime()-n.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof i["last-modified"]){let e=c(i["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return a.immutable?31536e6:!0===a["no-cache"]&&o?0:void 0}(this.#O,U,T,r,L,F,P)??this.#P,Y=0===H&&P;if(void 0===H||O>=H&&!Y)return(k||void 0!==H)&&C(t,this.#H,this.#L),R();let G=U-O,q=H+G;if(U>=q&&!Y)return C(t,this.#H,this.#L),R();if(this.#L.headers&&r.vary&&!(D=a(r.vary,this.#L.headers)))return R();let z=function(e,t,r,i){let n=-1/0,s=-1/0,a=-1/0;if(r["stale-while-revalidate"]&&(n=i+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(s=i+1e3*r["stale-if-error"]),r.immutable&&n===-1/0&&s===-1/0&&(a=t+31536e6),n===-1/0&&s===-1/0&&a===-1/0){let r=i-e;return r<=0?t+864e5:i+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(i,n,s,a)}(G,U,F,q),V=function(e,t){let r,i=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let n of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t].split(",");for(let t=0;t<i.length;t++)e.push(i[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(i,e.connection),Array.isArray(t["no-cache"])&&i.push(...t["no-cache"]),Array.isArray(t.private)&&i.push(...t.private),i))Object.hasOwn(e,n)&&(r??={...e},delete r[n]);return r??e}(r,F),_={statusCode:t,statusMessage:d,headers:V,vary:D,cacheControlDirectives:F,cachedAt:G,staleAt:q,deleteAt:z};if(304===t){let t=t=>{if(!t)return R();if(_.statusCode=t.statusCode,_.statusMessage=t.statusMessage,_.etag=t.etag,_.vary=D??t.vary,_.headers={...t.headers,...V},R(),this.#Y=this.#H.createWriteStream(this.#L,_),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),i=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#B.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){v.#Y=void 0,v.#H.delete(v.#L)}).on("drain",()=>{i()}).on("close",function(){v.#Y===this&&(v.#Y=void 0)}),i()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#B.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#H.delete(this.#L)}),this.#Y.on("error",function(){v.#Y=void 0,v.#H.delete(v.#L)}).on("close",function(){v.#Y===this&&(v.#Y=void 0)}))},r=this.#H.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(_.etag=r.etag),this.#Y=this.#H.createWriteStream(this.#L,_),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){v.#Y=void 0,v.#H.delete(v.#L)}).on("close",function(){v.#Y===this&&(v.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#B.onResponseError?.(e,t)}}},7871(e,t,r){let i=r(4589);e.exports=class{#G=!1;#q;#B;#z;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#q=e,this.#B=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#z=t}onRequestUpgrade(e,t,r,i){this.#B.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,n){if(i(null!=this.#q),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#q(this.#G,this.#z,t,r),this.#q=null,this.#G)return!0;this.#B.onRequestStart?.(e,this.#z),this.#B.onResponseStart?.(e,t,r,n)}onResponseData(e,t){if(!this.#G)return this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#q){if(this.#V){this.#G=!0,this.#q(!0,this.#z),this.#q=null;return}this.#q(!1),this.#q=null}if("function"==typeof this.#B.onResponseError)this.#B.onResponseError(e,t);else throw t}}}},2645(e,t,r){let i=r(4589);e.exports=class{#B;#_=!1;#J=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#B=e}onRequestStart(...e){this.#B.onRequestStart?.(...e)}onRequestUpgrade(...e){return i(!this.#_),i(!this.#J),this.#B.onRequestUpgrade?.(...e)}onResponseStart(...e){return i(!this.#_),i(!this.#J),i(!this.#W),this.#W=!0,this.#B.onResponseStart?.(...e)}onResponseData(...e){return i(!this.#_),i(!this.#J),this.#B.onResponseData?.(...e)}onResponseEnd(...e){return i(!this.#_),i(!this.#J),this.#_=!0,this.#B.onResponseEnd?.(...e)}onResponseError(...e){return this.#J=!0,this.#B.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:i}=r(8065);e.exports=class{#j;#K=[];#$=5242880;#X=0;#Z={};#ee="";#I=!1;#et=!1;#er=!1;#ei=!1;#en=null;#es=null;constructor(e,t,r=5242880){this.#j=e,this.#es=t,this.#$=r}addWaitingHandler(e){if(this.#ei||this.#er)return!1;let t=this.#ea(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#X,this.#Z,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#K.push(t),!0}onRequestStart(e,t){this.#en=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#j.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,i){for(let n of(this.#et=!0,this.#X=t,this.#Z=r,this.#ee=i,this.#j.onResponseStart?.(e,t,r,i),this.#K)){let{handler:e,controller:s}=n;if(n.done||s.aborted){n.done=!0;continue}try{e.onResponseStart?.(s,t,r,i)}catch{}s.aborted&&(n.done=!0)}this.#eo()}onResponseData(e,t){if(!this.#I&&!this.#ei){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#K)){let{handler:e,controller:i}=r;if(r.done||i.aborted){r.done=!0;continue}if(i.paused){this.#eA(r,t);continue}try{e.onResponseData?.(i,t)}catch{}i.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#eo()}}onResponseEnd(e,t){if(!this.#I&&!this.#ei){for(let r of(this.#ei=!0,this.#j.onResponseEnd?.(e,t),this.#K)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#eo(),this.#es?.()}}onResponseError(e,t){if(!this.#ei){for(let r of(this.#I=!0,this.#ei=!0,this.#j.onResponseError?.(e,t),this.#K))this.#ec(r,t);this.#K=[],this.#es?.()}}#ea(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#ei&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#eo()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#$){let t=new i(`Deduplicated waiting handler exceeded maxBufferSize (${this.#$} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let i=e.bufferedChunks.shift();e.bufferedBytes-=i.length;try{t.onResponseData?.(r,i)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#eo(){this.#K=this.#K.filter(e=>!1===e.done)}}},7424(e,t,r){let i=r(1210),n=r(4589),{InvalidArgumentError:s}=r(8065),a=[300,301,302,303,307,308],o=()=>{};function A(e,t,r,n,s){let a=i.headerNameToString(e);return!!("host"===a||n?.has(a)||r&&s?.has(a)||t&&a.startsWith("content-"))||!!r&&("authorization"===a||"cookie"===a||"proxy-authorization"===a)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new s(`${t} must be an array`);let r=new Set;for(let n of e){if("string"!=typeof n)throw new s(`${t} must contain header names`);r.add(i.headerNameToString(n))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new s("maxRedirections must be a positive number");let i=t.dispatch.bind(t);return(t,n)=>i(t,new e(i,r,t,n))}constructor(e,t,r,n){if(null!=t&&(!Number.isInteger(t)||t<0))throw new s("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new s("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:a,stripHeadersOnRedirect:o,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=i.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(o,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=n,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",o)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",o)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)||-1===a.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:u,search:g}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=g?`${u}${g}`:u,p=`${d}${h}`;for(let e of this.history)if(e.toString()===p)throw new s(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,s,a){let o=[];if(Array.isArray(e))for(let i=0;i<e.length;i+=2)A(e[i],t,r,s,a)||o.push(e[i],e[i+1]);else if(e&&"object"==typeof e)for(let[n,l]of i.hasSafeIterator(e)?e:Object.entries(e))A(n,t,r,s,a)||o.push(n,l);else n(null==e,"headers must be an object or an array");return o}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let i=r(4589),{kRetryHandlerDefaultRetry:n}=r(3025),{RequestRetryError:s}=r(8065),{isDisturbed:a,parseRangeHeader:o,wrapRequestBody:A}=r(1210);function l(e,t,r,i){let n=e["content-length"];if(null==n||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let a=Number(n),o=t.end-t.start+1;if(!Number.isFinite(a)||a!==o)throw new s("Content-Length mismatch",r,{headers:e,data:{count:i}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:i}){let{retryOptions:s,...a}=t,{retry:o,maxRetries:l,maxTimeout:d,minTimeout:u,timeoutFactor:g,methods:h,errorCodes:p,retryAfter:m,statusCodes:f,throwOnError:C}=s??{};this.error=null,this.dispatch=r,this.handler=i,this.opts={...a,body:A(t.body)},this.retryOpts={throwOnError:C??!0,retry:o??e[n],retryAfter:m??!0,maxTimeout:d??3e4,minTimeout:u??500,timeoutFactor:g??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:f??[500,502,503,504,429],errorCodes:p??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,i,n){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)):this.error=n);if(a(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}e.pause(),this.retryOpts.retry(n,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(s){if(s){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i),e.resume();return}this.error=n,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,i)}static[n](e,{state:t,opts:r},i){let{statusCode:n,code:s,headers:a}=e,{method:o,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:u,statusCodes:g,errorCodes:h,methods:p}=A,{counter:m}=t;if(s&&"UND_ERR_REQ_RETRY"!==s&&!h.includes(s)||Array.isArray(p)&&!p.includes(o)||null!=n&&Array.isArray(g)&&!g.includes(n)||m>l)return void i(e);let f=a?.["retry-after"];if(f){let e;f=Number.isNaN(f=Number(f))?isNaN(e=new Date(a["retry-after"]).getTime())?null:e-Date.now():1e3*f}setTimeout(()=>i(null),0===f?0:f>0?Math.min(f,d):Math.min(c*u**(m-1),d))}onResponseStart(e,t,r,n){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let i=new s("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,n,i);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new s("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=o(r["content-range"]);if(!e)throw new s("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new s("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:n,size:a,end:A=a?a-1:null}=e;i(this.start===n,"content-range mismatch"),i(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=o(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n);return}l(r,e,t,this.retryCount);let{start:s,size:a,end:A=a?a-1:null}=e;i(null!=s&&Number.isFinite(s),"content-range mismatch"),i(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=s,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}i(Number.isFinite(this.start)),i(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n)}else throw new s("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new s("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||a(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let i=r(4589),{Readable:n}=r(7075),s=r(1210),a=r(4502),o=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:u,parseCacheControlHeader:g,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:p}=r(8065),{parseHttpDate:m}=r(5859),f=()=>{};function C(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function y(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function I(e,t){try{e.delete(t)?.catch?.(f)}catch{}}function E(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&m(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function B(e,t,r,a,o,A){let l=s.isStream(r.body)?r.body:n.from(r.body??[]);i(!l.destroyed,"stream should not be destroyed"),i(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new p)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,o),l.destroyed)return;let d={...r.headers,age:String(a)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=s.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,i,n,o,l){var c,d,u,m,C;let Q;if(!l){if(o?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,i.onResponseError?.(t,r??new p)}};try{if(i.onRequestStart?.(t,null),e||(i.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;i.onResponseEnd?.(t,{})}catch(e){"function"==typeof i.onResponseError&&i.onResponseError(t,e)}return!0}return e(n,new a(t,r,i))}let b=Date.now();if(b>l.deleteAt)return e(n,new a(t,r,i));let N=Math.round((b-l.cachedAt)/1e3),S=o?.["max-age"]!==void 0&&N>=o["max-age"],w=S||(c=l,d=o,u=t.type,(Q=Date.now())>c.staleAt?!(!y(c,u)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),x=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,o,n);if(w||x){let c;if(s.isStream(n.body)&&0!==s.bodyLength(n.body))return e(n,new a(t,r,i));if(!x&&(m=l,C=t.type,!(!(c=m.cacheControlDirectives?.["stale-while-revalidate"])||y(m,C))&&Date.now()<=m.staleAt+1e3*c))return B(i,n,l,N,null,!0),queueMicrotask(()=>{let i=E(n,l);e({...n,headers:i},new a(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!y(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??o?.["stale-if-error"];e&&(d=b<l.staleAt+1e3*e)}let u=E(n,l);return e({...n,headers:u},new A((o,A,c,d)=>{if(o){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let i=g(r);return!0===i["no-store"]||"shared"===e&&!0===i.private}(t.type,d))return s.isStream(l.body)&&l.body.on("error",f).destroy(),I(t.store,r),e(n,new a(t,r,i));void 0!==d["cache-control"]&&I(t.store,r)}B(i,n,l,N,A,w)}else s.isStream(l.body)&&l.body.on("error",f).destroy()},new a(t,r,i),d))}s.isStream(n.body)&&n.body.on("error",f).destroy(),B(i,n,l,N,null,!1)}e.exports=(e={})=>{let{store:t=new o,methods:r=["GET"],cacheByDefault:i,type:n="shared",origins:a}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==a){if(!Array.isArray(a))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof a}`);for(let e=0;e<a.length;e++){let t=a[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==i&&"number"!=typeof i)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof i}`);if(void 0!==n&&"shared"!==n&&"private"!==n)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof n}`);let h={store:t,methods:r,cacheByDefault:i,type:n},p=[];for(let e=0;e<s.safeHTTPMethods.length;e++){let t=s.safeHTTPMethods[e];C(r,t)||p.push(t)}return e=>(r,i)=>{if(!r.origin||C(p,r.method))return e(r,i);if(void 0!==a){let t=r.origin.toString().toLowerCase(),n=!1;for(let e=0;e<a.length;e++){let r=a[e];if("string"==typeof r){if(r.toLowerCase()===t){n=!0;break}}else if(r.test(t)){n=!0;break}}if(!n)return e(r,i)}r={...r,headers:u(r)};let n=r.headers?.["cache-control"]?g(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let i=t.split(",");for(let e=0;e<i.length;e++)if("no-cache"===i[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(n?.["no-store"])return e(r,i);let s=d(r),o=t.get(s);return o&&"function"==typeof o.then?o.then(t=>Q(e,h,s,i,r,n,t)):Q(e,h,s,i,r,n,o)}}},9287(e,t,r){let{createInflate:i,createGunzip:n,createBrotliDecompress:s,createZstdDecompress:a}=r(8522),{pipeline:o}=r(7075),A=r(2645),l={gzip:n,"x-gzip":n,br:s,deflate:i,compress:i,"x-compress":i,zstd:a},c=[204,304],d=!1;class u extends A{#ed=[];#eu;#eg;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eg=t,this.#eh=r}#ep(e,t){return!!(!e||t<200||this.#eg.includes(t))||!!this.#eh&&!!(t>=400)}#em(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let i=t[e].trim();if(i){if(!l[i])return r.length=0,r;r.push(l[i]())}}return r}#ef(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#eC(e){let t=this.#ed[0];this.#ef(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eu)})}#ey(e){let t=this.#ed[this.#ed.length-1];this.#ef(t,e),o(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eu)})}#eI(){this.#ed.length=0}onResponseStart(e,t,r,i){let n=r["content-encoding"];if(this.#ep(n,t))return super.onResponseStart(e,t,r,i);let s=this.#em(n.toLowerCase());if(0===s.length)return this.#eI(),super.onResponseStart(e,t,r,i);this.#ed=s;let{"content-encoding":a,"content-length":o,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let i=t[e],n=(Buffer.isBuffer(i)?i.toString("latin1"):`${i}`).toLowerCase();"content-encoding"!==n&&"content-length"!==n&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#eC(e):this.#ey(e),super.onResponseStart(e,t,A,i)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eu=t,this.#ed[0].end(),this.#eI();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#eI()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,i)=>"HEAD"===r.method?t(r,i):t(r,new u(i,e))}},7870(e,t,r){let i=r(3053),n=r(1210),s=r(8241),{normalizeHeaders:a,makeCacheKey:o,makeDeduplicationKey:A}=r(8621),l=i.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:i=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!n.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(i))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof i}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),u=new Set(i.map(e=>e.toLowerCase())),g=new Map;return e=>(r,i)=>{if(!r.origin||!1===t.includes(r.method))return e(r,i);if(r={...r,headers:a(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,i)}let n=A(o(r),u),h=g.get(n);if(h)return!!h.addWaitingHandler(i)||e(r,i);let p=new s(i,()=>{g.delete(n),l.hasSubscribers&&l.publish({size:g.size,key:n,type:"removed"})},c);return g.set(n,p),l.hasSubscribers&&l.publish({size:g.size,key:n,type:"added"}),e(r,p)}}},4053(e,t,r){let{isIP:i}=r(7030),{lookup:n}=r(610),s=r(2645),{InvalidArgumentError:a,InformationalError:o}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#eE=0;#eB=new Map;constructor(e){this.#eE=e.maxItems}get size(){return this.#eB.size}get(e){return this.#eB.get(e)??null}set(e,t){this.#eB.set(e,t)}delete(e){this.#eB.delete(e)}full(){return this.size>=this.#eE}}class d{#eQ=0;#eE=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#eE=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eb,this.pick=e.pick??this.#eN,this.storage=e.storage??new c(e)}runLookup(e,t,r){let i=this.storage.get(e.hostname);if(null==i&&this.storage.full())return void r(null,e);let n={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#eE};if(null==i)this.lookup(e,n,(t,i)=>{let s;if(t||null==i||0===i.length)return void r(t??new o("No DNS entries found"));this.setRecords(e,i);let a=this.storage.get(e.hostname),A=this.pick(e,a,n.affinity);s="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${s}`))});else{let s,a=this.pick(e,i,n.affinity);if(null==a){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}s="number"==typeof a.port?`:${a.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===a.family?`[${a.address}]`:a.address}${s}`))}}#eb(e,t,r){n(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let i=new Map;for(let e of t)i.set(`${e.address}:${e.family}`,e);r(null,i.values())})}#eN(e,t,r){let i,n=null,{records:s,offset:a}=t;if(this.dualStack?(null==r&&(null==a||0x7fffffff===a?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),i=null!=s[r]&&s[r].ips.length>0?s[r]:s[4===r?6:4]):i=s[r],null==i||0===i.ips.length)return n;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let o=i.offset%i.ips.length;return null==(n=i.ips[o]??null)?n:Date.now()-n.timestamp>n.ttl?(i.ips.splice(o,1),this.pick(e,t,r)):n}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let i=r[t];if(!i)return null;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let n=i.offset%i.ips.length,s=i.ips[n]??null;return null==s||Date.now()-s.timestamp>s.ttl&&i.ips.splice(n,1),s}setRecords(e,t){let r=Date.now(),i={records:{4:null,6:null}},n=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),n=Math.min(n,e.ttl)):e.ttl=this.#eQ;let t=i.records[e.family]??{ips:[]};t.ips.push(e),i.records[e.family]=t}this.storage.set(e.hostname,i,{ttl:n})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new u(this,e,t)}}class u extends s{#eS=null;#S=null;#ew=null;#ex=null;#en=null;#eD=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:i,newOrigin:n},s){super(r),this.#ex=t,this.#eD=n,this.#S={...s},this.#eS=e,this.#ew=i}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let i="["===this.#eD.hostname[0]?4:6,n=this.#eS.pickFamily(this.#ex,i);if(null==n)return void super.onResponseError(e,t);r="number"==typeof n.port?`:${n.port}`:""!==this.#ex.port?`:${this.#ex.port}`:"";let s={...this.#S,origin:`${this.#ex.protocol}//${6===n.family?`[${n.address}]`:n.address}${r}`,headers:l(this.#ex.host,this.#S.headers)};this.#ew(s,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#ex),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new a("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new a("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new a("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new a("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new a("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new a("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new a("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let n=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let s=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==i(s.hostname)?e(t,r):(n.runLookup(s,t,(i,a)=>{if(i)return r.onResponseError(null,i);e({...t,servername:s.hostname,origin:a.origin,headers:l(s.host,t.headers)},n.getHandler({origin:s,dispatch:e,handler:r,newOrigin:a},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:i,RequestAbortedError:n}=r(8065),s=r(2645);class a extends s{#t=1048576;#ev=!1;#i=0;#en=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new i("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#E(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#E.bind(this),this.#en=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,i){let s=r["content-length"];if(null!=s&&s>this.#t)throw new n(`Response size (${s}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,i)}onResponseError(e,t){this.#ev||(t=this.#en?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#i=this.#i+t.length,this.#i>=this.#t&&(this.#ev=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#ev){if(!0===this.#en.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,i){let{dumpMaxSize:n=e}=r,s=new a({maxSize:n,signal:r.signal},i);return t(r,s)}}},7884(e,t,r){let i=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:n}={}){return s=>function(a,o){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=n,...u}=a;if(null==A||0===A)return s(a,o);let g={...u,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new i(s,A,g,o);return s(g,h)}}},3128(e,t,r){let i=r(2645),{ResponseError:n}=r(8065);class s extends i{#X;#ek;#eM;#Z;#eF;constructor(e,{handler:t}){super(t)}#eU(e){return 0===(this.#ek??"").indexOf(e)}onRequestStart(e,t){return this.#X=0,this.#ek=null,this.#eM=null,this.#Z=null,this.#eF="",super.onRequestStart(e,t)}onResponseStart(e,t,r,i){if(this.#X=t,this.#Z=r,this.#ek=r["content-type"],this.#X<400)return super.onResponseStart(e,t,r,i);(this.#eU("application/json")||this.#eU("text/plain"))&&(this.#eM=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#X<400)return super.onResponseData(e,t);this.#eF+=this.#eM?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#X>=400){let t;if(this.#eF+=this.#eM?.decode(void 0,{stream:!1})??"",this.#eU("application/json"))try{this.#eF=JSON.parse(this.#eF)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new n("Response Error",this.#X,{body:this.#eF,headers:this.#Z})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new s(t,{handler:r}))}},9620(e,t,r){let i=r(4166);e.exports=e=>t=>function(r,n){return t(r,new i({...r,retryOptions:{...e,...r.retryOptions}},{handler:n,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let i=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,i.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z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AXI2AgQMAwtBACEACyAGRQ0AAkAgBSgCHCICQQJ0QfTXAGoiAygCACAFRgRAIAMgADYCACAADQFByNUAQcjVACgCAEF+IAJ3cTYCAAwCCyAGQRBBFCAGKAIQIAVGG2ogADYCACAARQ0BCyAAIAY2AhggBSgCECICBEAgACACNgIQIAIgADYCGAsgBUEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgBGogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAA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kACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJ/AkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAg7jAQABAgMEBQYHCAkKCwwNDg8QERITFBUWFxgZGhscHR4fICEjJCUnKCmeA5sDmgORA4oDgwOAA/0C+wL4AvIC8QLvAu0C6ALnAuYC5QLkAtwC2wLaAtkC2ALXAtYC1QLPAs4CzALLAsoCyQLIAscCxgLEAsMCvgK8AroCuQK4ArcCtgK1ArQCswKyArECsAKuAq0CqQKoAqcCpgKlAqQCowKiAqECoAKfApgCkAKMAosCigKBAv4B/QH8AfsB+gH5AfgB9wH1AfMB8AHrAekB6AHnA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AUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2Ahw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NCzYCECADQQ02AgxBACECDKcCCyADQQA2AhwgAyABNgIUIANBjQs2AhAgA0ENNgIMQQAhAgymAgsgASAERwRAIANBDzYCCCADIAE2AgRBASECDI0CC0HcASECDKUCCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtB2wEhAgymAgsgAygCBCEAIANBADYCBCADIAAgARAtIgBFBEAgAUEBaiEBDAQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgIMQQAhAgyfAgsgA0EANgIcIAMgATYCFCADQYANNgIQIANBGzYCDEEAIQIMngILIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDJ0CCyABIARHBEAgA0EMNgIIIAMgATYCBEG/ASECDIQCC0HYASECDJwCCyABIARGBEBB1wEhAgycAgsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAEtAABBwQBrDhUAAQIDWgQFBlpaWgcICQoLDA0ODxBaCyABQQFqIQFB+wAhAgySAgsgAUEBaiEBQfwAIQIMkQILIAFBAWohAUGBASECDJACCyABQQFqIQFBhQEhAgyPAgsgAUEBaiEBQYYBIQIMjgILIAFBAWohAUGJASECDI0CCyABQQFqIQFBigEhAgyMAgsgAUEBaiEBQY0BIQIMiwILIAFBAWohAUGWASECDIoCCyABQQFqIQFBl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CyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADOUBCyABIARGBEBBoAEhAgzlAQtBASABLQAAQd8ARw0RGiABQQFqIQFBhwEhAgzLAQsgA0EANgIAIAZBAWohAUGIASECDMoBC0GfASECIAEgBEYN4gEgAygCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABBhNUAai0AAEcNDyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM4wELIANBADYCACAGQQFqIQFBKQwPC0GeASECIAEgBEYN4QEgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBuNQAai0AAEcNDiAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM4gELIANBADYCACAGQQFqIQFBLQwOCyABIARGBEBBnQEhAgzhAQsgAS0AAEHF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IAIAZBAWohAUEQDAQLIAEgBEYEQEGTASECDNcBCwJAAkAgAS0AAEHDAGsODAAGBgYGBgYGBgYGAQYLIAFBAWohAUH5ACECDL4BCyABQQFqIQFB+gAhAgy9AQtBkgEhAiABIARGDdUBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQaDUAGotAABHDQIgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GbHzYCECADQQY2AgxBACECDMwBC0ECIQIMsgELA0AgAS0AAEEgRw0CIAQgAUEBaiIBRw0AC0GOASECDMoBCyABIARGBEBBjQEhAgzKAQsCQCABLQAAQQlrDgRKAABKAAtB9QAhAgywAQsgAy0AKUEFRgRAQfYAIQIMsAELQfQAIQIMrwELIAEgBEYEQEGMASECDMgBCyADQRA2AgggAyABNgIEDAoLIAEgBEYEQEGLASECDMcBCwJAIAEtAABBCWsOBEcAAEcAC0HzACECDK0BCyABIARHBEAgA0EQNgIIIAMgATYCBEHxACECDK0BC0GKASECDMUBCwJAIAEgBEcEQANAIAEtAABBoNAAai0AACIAQQNHBEACQCAAQQFrDgJJAAQLQfAAIQI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QAhAgy5AQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDRYgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgy4AQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDRYgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgy3AQsgA0EANgIcIAMgATYCFCADQfkPNgIQIANBBzYCDEEAIQIMtgELQewAIQIMnAELIAEgBEYEQEGCASECDLUBCyABQQFqDAILIAEgBEYEQEGBASECDLQBCyABQQFqDAELIAEgBEYNASABQQFqCyEBQQQhAgyYAQtBgAEhAgywAQsDQCABLQAAQaDMAGotAAAiAEECRwRAIABBAUcEQEHpACECDJkBCwwxCyAEIAFBAWoiAUcNAAtB/wAhAgyvAQsgASAERgRAQf4AIQIMrwELAkAgAS0AAEEJaw43LwMGLwQGBgYGBgYGBgYGBgYGBgYGBgYFBgYCBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGAAYLIAFBAWoLIQFBBSECDJQBCyABQQFqDAYLIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIANBADYCHCADIAE2AhQgA0GNFDYCECADQQc2AgxBACECDKgBCwJAAkACQAJAA0AgAS0AAEGgygBqLQAAIgBBBUcEQAJAIABBAWsOBi4DBAUGAAYLQegAIQIMlAELIAQgAUEBaiIBRw0AC0H9ACECDKsBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQdsANgIcIAMgATYCFCADIAA2AgxBACECDKoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDKkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNBy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JwBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIABEAgA0H0ADYCHCADIAE2AhQgAyAANgIMQQAhAgycAQtB4gAhAgyCAQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJwBC0HhACECDIIBCyADQfMANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMmgELIAMtACkiAEEja0ELSQ0JAkAgAEEGSw0AQQEgAHRBygBxRQ0ADAoLQQAhAiADQQA2AhwgAyABNgIUIANB7Qk2AhAgA0EINgIMDJkBC0HyACECIAEgBEYNmAEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBs9UAai0AAEcNBSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMmQELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfEANgIcIAMgATYCFCADIAA2AgxBACECDJkBC0HfACECDH8LQQAhAAJAIAMoAjgiAkUNACACKAI0IgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2Ah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wMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},704(e,t,r){let i;e=r.nmd(e);let{Buffer:n}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=n.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9mdW5jdGlvbl90YWJsZQEAC2xsaHR0cF9pbml0AAkYbGxodHRwX3Nob3VsZF9rZWVwX2FsaXZlADcMbGxodHRwX2FsbG9jAAsGbWFsbG9jADkLbGxodHRwX2ZyZWUADARmcmVlAAwPbGxodHRwX2dldF90eXBlAA0VbGxodHRwX2dldF9odHRwX21ham9yAA4VbGxodHRwX2dldF9odHRwX21pbm9yAA8RbGxodHRwX2dldF9tZXRob2QAEBZsbGh0dHBfZ2V0X3N0YXR1c19jb2RlABESbGxod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AoAgAaIAAgBSgCCCICNgIIIAIgADYCDAwDCyAFQRRqIgMoAgAiAkUEQCAFKAIQIgJFDQIgBUEQaiEDCwNAIAMhByACIgBBFGoiAygCACICDQAgAEEQaiEDIAAoAhAiAg0ACyAHQQA2AgAMAgsgBSAAQX5xNgIEIAEgBGogBDYCACABIARBAXI2AgQMAwtBACEACyAGRQ0AAkAgBSgCHCICQQJ0QfTXAGoiAygCACAFRgRAIAMgADYCACAADQFByNUAQcjVACgCAEF+IAJ3cTYCAAwCCyAGQRBBFCAGKAIQIAVGG2ogADYCACAARQ0BCyAAIAY2AhggBSgCECICBEAgACACNgIQIAIgADYCGAsgBUEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgBGogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIA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kACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCACDuMBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISMkJScoKZ4DmwOaA5EDigODA4AD/QL7AvgC8gLxAu8C7QLoAucC5gLlAuQC3ALbAtoC2QLYAtcC1gLVAs8C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ECIANBADYCHCADIAE2AhQgA0HWDDYCECADQSM2AgwM+wILIANBFDYCHCADIAE2AhQgAyAANgIMDPoCCyADKAIEIQBBACECIANBADYCBCADIAAgARA0IgBFBEAgAUEBaiEBDPUCCyADQRU2AhwgAyAANgIMIAMgAUEBajYCFAz5AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQzzAgsgA0EXNgIcIAMgADYCDCADIAFBAWo2AhQM+AILIABBFUYNI0EAIQIgA0EANgIcIAMgATYCFCADQdYMNgIQIANBIzYCDAz3AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQwdCyADQRk2AhwgAyAANgIMIAMgAUEBajYCFAz2AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQzvAgsgA0EaNgIcIAMgADYCDCADIAFBAWo2AhQM9QILIABBFUYNH0EAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAz0AgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDBsLIANBHDYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgzzAgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRshAgzGAgtBHCECDMUCC0EdIQIMxAILQR4hAgzDAgtBHyECDMICC0EgIQIMwQILQSIhAgzAAgtBIyECDL8CC0ElIQIMvgILQeUAIQIMvQILIANBPTYCHCADIAE2AhQgAyAANgIMQQAhAgzVAgsgA0EbNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIM1AILIANBIDYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNMCCyADQRM2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzSAgsgA0ELNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0QILIANBEDYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNACCyADQSA2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzPAgsgA0ELNgIcIAMgATYCFCADQaQcNgIQ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B9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgA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2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMgAhEAACEACyAARQ2gASAAQRVGBEAgA0HZADYCHCADIAE2AhQgA0G3GjYCECADQRU2AgxBACECDJ8CCyADQQA2AhwgAyABNgIUIANBgA02AhAgA0EbNgIMQQAhAgyeAgsgA0EANgIcIAMgATYCFCADQdwoNgIQIANBAjYCDEEAIQIMnQILIAEgBEcEQCADQQw2AgggAyABNgIEQb8BIQIMhAILQdgBIQIMnAILIAEgBEYEQEHXASECDJwCCwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAS0AAEHBAGsOFQABAgNaBAUGWlpaBwgJCgsMDQ4PEFoLIAFBAWohAUH7ACECDJICCyABQQFqIQFB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kACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyHAgsgA0EANgIAIAZBAWohAUEUDDMLQcEBIQIgASAERg2FAiADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEH51ABqLQAARw0yIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyGAgsgA0EANgIAIAZBAWohAUErDDILQcABIQIgASAERg2EAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH21ABqLQAARw0xIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyFAgsgA0EANgIAIAZBAWohAUEsDDELQb8BIQIgASAERg2D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GotAABHDSAgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPQBCyADQQA2AgAgBkEBaiEBQRkMIAsgASAERgRAQa4BIQIM8wELAkACQAJAAkAgAS0AAEEtaw4jACQkJCQkJCQkJCQkJCQkJCQkJCQkJCQkASQkJCQkAiQkJAMkCyABQQFqIQFBjgEhAgzcAQsgAUEBaiEBQY8BIQIM2wELIAFBAWohAUGUASECDNoBCyABQQFqIQFBlQEhAgzZAQtBrQEhAiABIARGDfEBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQdfUAGotAABHDR4gAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPIBCyADQQA2AgAgBkEBaiEBQQsMHgsgASAERgRAQawBIQIM8QELAkACQCABLQAAQcEAaw4DACABIAsgAUEBaiEBQZABIQIM2AELIAFBAWohAUGTASECDNcBCyABIARGBEBBqwEhAgzwAQsCQAJAIAEtAABBwQBrDg8AHx8fHx8fHx8fHx8fHwEfCyABQQFqIQFBkQEhAgzXAQsgAUEBaiEBQZIBIQIM1gELIAEgBEYEQEGqASECDO8BCyABLQAAQcwARw0cIAFBAWohAUEKDBsLQakBIQIgASAERg3tASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQbPUAGotAABHDQsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN8BCyADQQA2AgAgBkEBaiEBQSMMCwtBmgEhAiABIARGDd0BIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDUAGotAABHDQogAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN4BCyADQQA2AgAgBkEBaiEBQQAMCgsgASAERgRAQZkBIQIM3QELAkACQCABLQAAQcgAaw4IAAwMDAwMDAEMCyABQQFqIQFB/QAhAgzEAQsgAUEBaiEBQYABIQIMwwELIAEgBEYEQEGYASECDNwBCwJAAkAgAS0AAEHOAGsOAwALAQsLIAFBAWohAUH+ACECDMMBCyABQQFqIQFB/wAhAgzCAQsgASAERgRAQZcBIQIM2wELIAEtAABB2QBHDQggAUEBaiEBQQgMBwtBlgEhAiABIARGDdkBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQazUAGotAABHDQYgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNoBCyADQQA2AgAgBkEBaiEBQQUMBgtBlQEhAiABIARGDdgBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQabUAGotAABHDQUgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNkBCyADQQA2AgAgBkEBaiEBQRYMBQtBlAEhAiABIARGDdcBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDQQgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNgBCyADQQA2AgAgBkEBaiEBQRAMBAsgASAERgRAQZMBIQIM1wELAkACQCABLQAAQcMAaw4MAAYGBgYGBgYGBgYBBgsgAUEBaiEBQfkAIQIMvgELIAFBAWohAUH6ACECDL0BC0GSASECIAEgBEYN1QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0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AILQQEhAiABIARHDQALCyAJQRBqJAAgAkUEQCADKAIMIQAMAQsgAyACNgIcQQAhACADKAIEIgFFDQAgAyABIAQgAygCCBEBACIBRQ0AIAMgBDYCFCADIAE2AgwgASEACyAAC74CAQJ/IABBADoAACAAQeQAaiIBQQFrQQA6AAAgAEEAOgACIABBADoAASABQQNrQQA6AAAgAUECa0EAOgAAIABBADoAAyABQQRrQQA6AABBACAAa0EDcSIBIABqIgBBADYCAEHkACABa0F8cSICIABqIgFBBGtBADYCAAJAIAJBCUkNACAAQQA2AgggAEEANgIEIAFBCGtBADYCACABQQxrQQA2AgAgAkEZSQ0AIABBADYCGCAAQQA2AhQgAEEANgIQIABBADYCDCABQRBrQQA2AgAgAUEUa0EANgIAIAFBGGtBADYCACABQRxrQQA2AgAgAiAAQQRxQRhyIgJrIgFBIEkNACAAIAJqIQADQCAAQgA3AxggAEIANwMQIABCADcDCCAAQgA3AwAgAEEgaiEAIAFBIGsiAUEfSw0ACwsLVgEBfwJAIAAoAgwNAAJAAkACQAJAIAAtADEOAwEAAwILIAAoAjgiAUUNACABKAIwIgFFDQAgACABEQAAIgENAwtBAA8LAAsgAEHKGTYCEEEOIQELIAELGgAgACgCDEUEQCAAQd4fNgIQIABBFTYCDAsLFAAgACgCDEEVRgRAIABBADYCDAsLFAAgACgCDEEWRgRAIABBADYCDAsLBwAgACgCDAsHACAAKAIQCwkAIAAgATYCEAsHACAAKAIUCysAAkAgAEEnTw0AQv//////CSAArYhCAYNQDQAgAEECdEHQOGooAgAPCwALFwAgAEEvTwRAAAsgAEECdEHsOWooAgALvwkBAX9B9C0hAQJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQA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ICAgICAgICAgICAgICAgICAgICAEGpzgALBQECAAEDAEHAzgALXwQFAAAFBQUFBQUFBQUFBQYFBQUFBQUFBQUFBQUABQAHCAUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQAFAAUABQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUAAAAFAEGp0AALBQEBAAEBAEHA0AALAQEAQdrQAAtBAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQanSAAsFAQEAAQEAQcDSAAsBAQBBytIACwYCAAAAAAIAQeHSAAs6AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},5610(e,t){t.enumToMap=function(e,t=[],r=[]){let i=(t?.length??0)===0,n=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(i||t.includes(e))&&(n||!r.includes(e))))}},6923(e,t,r){let{kClients:i}=r(3025),n=r(5891),{kAgent:s,kMockAgentSet:a,kMockAgentGet:o,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:u,kFactory:g,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:p,kMockAgentAddCallHistoryLog:m,kMockAgentMockCallHistoryInstance:f,kMockAgentAcceptsNonStandardSearchParameters:C,kMockCallHistoryAddLog:y,kIgnoreTrailingSlash:I}=r(4779),E=r(375),B=r(8182),{matchValue:Q,normalizeSearchParams:b,buildAndValidateMockOptions:N,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:x}=r(8065),D=r(6873),R=r(1908),{MockCallHistory:v}=r(2137);e.exports=class extends D{constructor(e={}){super(e);let t=N(e);if(this[c]=!0,this[l]=!0,this[p]=t.enableCallHistory??!1,this[C]=t.acceptNonStandardSearchParameters??!1,this[I]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new n(e);this[s]=r,this[i]=r[i],this[u]=t,this[p]&&this[h]()}get(e){let t=S(e),r=this[I]?t.replace(/\/$/,""):t,i=this[o](r);return i||(i=this[g](r),this[a](r,i)),i}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[m](e);let r=this[C],i={...e};if(r&&i.path){let[e,t]=i.path.split("?"),n=b(t,r);i.path=`${e}?${n}`}return this[s].dispatch(i,t)}async close(){this.clearCallHistory(),await this[s].close(),this[i].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[p]=!0,this}disableCallHistory(){return this[p]=!1,this}getCallHistory(){return this[f]}clearCallHistory(){void 0!==this[f]&&this[f].clear()}get isMockActive(){return this[l]}[h](){void 0===this[f]&&(this[f]=new v)}[m](e){this[p]&&(this[h](),this[f][y](e))}[a](e,t){this[i].set(e,t)}[g](e){let t=Object.assign({agent:this},this[u]);return this[u]&&1===this[u].connections?new E(e,t):new B(e,t)}[o](e){let t=this[i].get(e);if(t)return t;if("string"!=typeof e){let t=this[g]("http://localhost:9999");return this[a](e,t),t}for(let[t,r]of Array.from(this[i]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[g](e);return this[a](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[i].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new x(1===t.length?`1 interceptor is pending: ${e.format(t)}`.trim():`${t.length} interceptors are pending: -${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:n}=r(4779),{InvalidArgumentError:i}=r(8065);function s(e,t,r,n,s){switch(t.operator){case"OR":return n.push(...r(e,s)),n;case"AND":return r(e,n);default:throw new i("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function o(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new i(`${e} parameter should be one of string, regexp, undefined or null`)}}class a{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new i("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new i("nthCall must be called with a number");if(!Number.isInteger(e))throw new i("nthCall must be called with an integer");if(1!==Math.sign(e))throw new i("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new i("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},n="AND"===r.operator?this.logs:[];return"protocol"in e&&(n=s(e.protocol,r,this.filterCallsByProtocol,n,this.logs)),"host"in e&&(n=s(e.host,r,this.filterCallsByHost,n,this.logs)),"port"in e&&(n=s(e.port,r,this.filterCallsByPort,n,this.logs)),"origin"in e&&(n=s(e.origin,r,this.filterCallsByOrigin,n,this.logs)),"path"in e&&(n=s(e.path,r,this.filterCallsByPath,n,this.logs)),"hash"in e&&(n=s(e.hash,r,this.filterCallsByHash,n,this.logs)),"fullUrl"in e&&(n=s(e.fullUrl,r,this.filterCallsByFullUrl,n,this.logs)),"method"in e&&(n=s(e.method,r,this.filterCallsByMethod,n,this.logs)),[...new Set(n)]}throw new i("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=o.call(this,"protocol");filterCallsByHost=o.call(this,"host");filterCallsByPort=o.call(this,"port");filterCallsByOrigin=o.call(this,"origin");filterCallsByPath=o.call(this,"path");filterCallsByHash=o.call(this,"hash");filterCallsByFullUrl=o.call(this,"fullUrl");filterCallsByMethod=o.call(this,"method");clear(){this.logs=[]}[n](e){let t=new a(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=a},375(e,t,r){let{promisify:n}=r(7975),i=r(5183),{buildMockDispatch:s}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends i{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await n(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},8531(e,t,r){let{UndiciError:n}=r(8065),i=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class s extends n{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}e.exports={MockNotMatchedError:s}},1585(e,t,r){let{getResponseData:n,buildKey:i,addMockDispatch:s}=r(6927),{kDispatches:o,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:g}=r(4779),{InvalidArgumentError:u}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:m}}=r(7975);class p{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new u("opts must be an object");if(void 0===e.path)throw new u("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[a]=i(e),this[o]=t,this[g]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let i=n(t),s=this[c]?{"content-length":i.length}:{};return{statusCode:e,data:t,headers:{...this[A],...s,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new u("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new u("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new u("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new p(s(this[o],this[a],r=>{let n=e(r);return m(n)?n.then(t):t(n)},{ignoreTrailingSlash:this[g]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new p(s(this[o],this[a],r,{ignoreTrailingSlash:this[g]}))}replyWithError(e){if(void 0===e)throw new u("error must be defined");return new p(s(this[o],this[a],{error:e},{ignoreTrailingSlash:this[g]}))}defaultReplyHeaders(e){if(void 0===e)throw new u("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new u("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:n}=r(7975),i=r(6334),{buildMockDispatch:s}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends i{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await n(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:n}=r(8531),{kDispatches:i,kMockAgent:s,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:g}=r(7067),{types:{isPromise:u}}=r(7975),{InvalidArgumentError:h}=r(8065);function m(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function C(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):p(e)[t.toLocaleLowerCase()]}function f(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function I(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=f(t)),e.headers(t?p(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,n]of Object.entries(e.headers))if(!m(n,C(t,r)))return!1;return!0}function E(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function y(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function B(e,t){let r=t.query?c(t.path,t.query):t.path,i="string"==typeof r?E(r):r,s=N(i),o=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?m(N(E(e)),s):m(E(e),i));if(0===o.length)throw new n(`Mock dispatch not matched for path '${i}'`);if(0===(o=o.filter(({method:e})=>m(e,t.method))).length)throw new n(`Mock dispatch not matched for method '${t.method}' on path '${i}'`);if(0===(o=o.filter(({body:e})=>void 0===e||m(e,t.body))).length)throw new n(`Mock dispatch not matched for body '${t.body}' on path '${i}'`);if(0===(o=o.filter(e=>I(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new n(`Mock dispatch not matched for headers '${e}' on path '${i}'`)}return o[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:n,headers:i}){let s=m(e.path,t),o=m(e.method,r),a=void 0===e.body||m(e.body,n),A=I(e,i);return s&&o&&a&&A}(e,t));-1!==r&&e.splice(r,1)}function N(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function b(e){let{path:t,method:r,body:n,headers:i,query:s}=e;return{path:t,method:r,body:n,headers:i,query:s}}function S(e){let t=Object.keys(e),r=[];for(let n=0;n<t.length;++n){let i=t[n],s=e[i],o=Buffer.from(`${i}`);if(Array.isArray(s))for(let e=0;e<s.length;++e)r.push(o,Buffer.from(`${s[e]}`));else r.push(o,Buffer.from(`${s}`))}return r}function w(e){return g[e]||"unknown"}function D(e,t){let r=b(e),n=B(this[i],r),s=this[i];n.timesInvoked++;let{timesInvoked:o,times:a}=n;if(n.consumed=!n.persist&&o>=a,n.pending=o<a,n.data.callback){let i=n.data.callback(e);if(u(i))return i.then(i=>{n.data={...n.data,...i},x(s,n,r,e,t)},e=>{Q(s,r),t.onResponseError(null,e)}),!0;n.data={...n.data,...i}}return x(s,n,r,e,t)}function x(e,t,r,n,i){let{data:{statusCode:s,data:o,headers:a,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),i.onResponseError(null,l),!0;let g=!1,h=null,m={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{g||(g=!0,null!==h&&(clearTimeout(h),h=null),i.onResponseError?.(m,e))}};function p(e,t=o){if(g)return;let l=Array.isArray(n.headers)?f(n.headers):n.headers,c="function"==typeof t?t({...n,headers:l}):t;if(u(c))return c.then(t=>p(e,t));if(g)return;let h=y(c),C=S(a),I=S(A);m.rawHeaders=C,m.rawTrailers=I,i.onResponseStart?.(m,s,d(C),w(s)),i.onResponseData?.(m,Buffer.from(h)),i.onResponseEnd?.(m,d(I)),Q(e,r)}return i.onRequestStart?.(m,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,p(e)},c):p(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>m(e,r.host)))}e.exports={getResponseData:y,getMockDispatch:B,addMockDispatch:function(e,t,r,n){let i={timesInvoked:0,times:1,persist:!1,consumed:!1,...n},s="function"==typeof r?{callback:r}:{...r},o={...i,...t,pending:!0,data:{error:null,...s}};return e.push(o),e[l]=(e[l]||0)+1,o},deleteMockDispatch:Q,buildKey:b,generateKeyValues:S,matchValue:m,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:D,buildMockDispatch:function(){let e=this[s],t=this[a],r=this[o];return function(s,o){if(e.isMockActive)try{D.call(this,s,o)}catch(a){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===a.code){let c=e[A](),d=this[i][l]||this[i].length,g=this[i].filter(({consumed:e})=>!e).length,u=`, ${g} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new n(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${u}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in s?{...s,body:s.__mockAgentBodyForDispatch}:s,o);else throw new n(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${u}`)}else throw a}else r.call(this,s,o)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:C,buildHeadersFromArray:f,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,n]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(n)){r.append(e,n);continue}if(n.includes(",")){for(let t of n.split(","))r.append(e,t);continue}r.append(e,n)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:n}=r(7075),{Console:i}=r(7540),s=process.versions.icu?"✅":"Y ",o=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new n({transform(e,t,r){r(null,e)}}),this.logger=new i({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:n,times:i,timesInvoked:a,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:n?s:o,Invocations:a,Remaining:n?1/0:i-a}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let n=r(5891),i=r(6923),{SnapshotRecorder:s}=r(2152),{InvalidArgumentError:o,UndiciError:a}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),g=Symbol("kSnapshotPath"),u=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),m=!1;e.exports=class extends i{constructor(e={}){m||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),m=!0);let{mode:t="record",snapshotPath:r=null,...i}=e;if(super(i),l(t),("playback"===t||"update"===t)&&!r)throw new o(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[g]=r,this[c]=new s({snapshotPath:this[g],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[u]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new n(e)),("playback"===this[d]||"update"===this[d])&&this[g]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[u])return this.#eT(e,t);let n=this[c].findSnapshot(e);if(n)return this.#eL(n,t);{if("update"===r)return this.#eO(e,t);let n=new a(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,n);throw n}}if("record"===r)return this.#eO(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eO(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},n=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,n,i)=>t.onRequestUpgrade(e,r,n,i),onResponseStart:(e,n,i,s)=>(r.statusCode=n,r.headers=i,t.onResponseStart(e,n,i,s)),onResponseData:(e,n)=>(r.body.push(n),t.onResponseData(e,n)),onResponseEnd(i,s){r.trailers=s;let o=Buffer.concat(r.body);n[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:o,trailers:r.trailers}).then(()=>t.onResponseEnd(i,s)).catch(e=>t.onResponseError(i,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,n=r.headers?A.toRawHeaders(r.headers):[],i=r.trailers?A.toRawHeaders(r.trailers):[],s={rawHeaders:n,rawTrailers:i,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(s),t.onResponseStart(s,r.statusCode,r.headers,r.statusMessage);let o=Buffer.from(r.body,"base64");t.onResponseData(s,o),t.onResponseEnd(s,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[g]),this[u]=!0,"playback"===this[d]&&this.#eH()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[g])}#eH(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:n}=e,i=new URL(t.url),s=this.get(i.origin),o=r?r[0]:n;o&&s.intercept({path:i.pathname+i.search,method:t.method,headers:t.headers,body:t.body}).reply(o.statusCode,o.body,{headers:o.headers,trailers:o.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:n,readFile:i,mkdir:s}=r(1455),{dirname:o,resolve:a}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:g,isUrlExcludedFactory:u,normalizeHeaders:h,createHeaderFilters:m}=r(289);function p(e,t,r={}){var n,i,s;let o=new URL(e.path,e.origin),a=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=a),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(o,r.matchQuery,r.normalizeQuery),headers:C(a,t,r),body:(n=e.body,i=r.matchBody,s=r.normalizeBody,!1===i?"":s?String(s(n)??""):n?String(n):"")}}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:n=!1}=r,i={},{ignore:s,exclude:o,match:a}=t;for(let[t,r]of Object.entries(e)){let e=n?t:t.toLowerCase();!(o.has(e)||s.has(e))&&(0===a.size||a.has(e))&&(i[e]=r)}return i}function f(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:n=!1}=r,i={},{exclude:s}=t;for(let[t,r]of Object.entries(e)){let e=n?t:t.toLowerCase();s.has(e)||(i[e]=r)}return i}function I(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let n=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),n.sort()))t.push(String(e))}return t.push(e.body),g(t.join("|"))}class E{#eP;#eY;#eG=new Map;#ez;#eq=1/0;#eV=!1;#e_;constructor(e={}){this.#ez=e.snapshotPath,this.#eq=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#e_=m(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=u(e.excludeUrls),this.#eV&&this.#ez&&this.#eJ()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=p(e,this.#e_,this.matchOptions),n=I(r),i=h(t.headers),s={statusCode:t.statusCode,headers:f(i,this.#e_,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#eq&&!this.#eG.has(n)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let o=this.#eG.get(n);o&&o.responses?(o.responses.push(s),o.timestamp=new Date().toISOString()):this.#eG.set(n,{request:r,responses:[s],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#ez&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=I(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let n=r.callCount||0,i=Math.min(n,r.responses.length-1);return r.callCount=n+1,{...r,response:r.responses[i]}}async loadSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");try{let e=await i(a(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");let r=a(t);await s(o(r),{recursive:!0});let i=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await n(r,JSON.stringify(i,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=I(p(e,this.#e_,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=I(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#eJ(){return this.#eW()}#ej(){this.#eP&&(l(this.#eP),this.saveSnapshots().catch(()=>{}),this.#eP=null)}#eW(){this.#eP=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eP?.refresh():this.#eP=null},1e3)}destroy(){this.#ej(),this.#eP&&(l(this.#eP),this.#eP=null)}async close(){this.#ez&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:E,formatRequestKey:p,createRequestHash:I,filterHeadersForMatching:C,filterHeadersForStorage:f,createHeaderFilters:m}},289(e,t,r){let{InvalidArgumentError:n}=r(8065),{runtimeFeatures:i}=r(6979),s=i.has("crypto")?r(7598):null,o=s?.hash?e=>s.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function a(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:n=[],caseSensitive:i=!1}=e;return{ignore:new Set(t.map(e=>i?e:e.toLowerCase())),exclude:new Set(r.map(e=>i?e:e.toLowerCase())),match:new Set(n.map(e=>i?e:e.toLowerCase()))}},hashId:o,isUndiciHeaders:a,normalizeHeaders:function(e){let t={};if(!e)return t;if(a(e)){for(let r=0;r<e.length;r+=2){let n=e[r],i=e[r+1];if(n&&void 0!==i){let e=Buffer.isBuffer(n)?n.toString():n,r=Buffer.isBuffer(i)?i.toString():i;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,n]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(n)?n.join(", "):String(n));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let n of e)if("string"==typeof n){if(r||(r=t.toLowerCase()),r.includes(n.toLowerCase()))return!0}else if(n instanceof RegExp&&n.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new n(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:n,pathHasQueryOrFragment:i,hasSafeIterator:s,isValidHTTPToken:o}=r(1210),{serializePathWithQuery:a}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function g(e){return e.replace(/^[\t ]+/,"")}function u(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let n=t;n<e.length;n++)if(r)r=!1;else if("\\"===e[n])r=!0;else if('"'===e[n])return n;return -1}function m(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function p(e,t,r){let n=t.toLowerCase(),i=e[n],s=Array.isArray(r)?r:[r];void 0===i?e[n]=Array.isArray(r)?r.slice():r:Array.isArray(i)?i.push(...s):e[n]=[i,...s]}function C(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let n=t[e].split(",");for(let e=0;e<n.length;e++)r.push(n[e])}return r}function f(e){let t=C(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function I(e,t){if(f(e))return t;let r={};for(let n of C(e)){let e=c(n).toLowerCase();if(0===e.length)continue;if(!o(e))return;let i=t[e];r[e]=Array.isArray(i)?i.slice():i??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!i(t)&&(t=a(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},s(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,n]=r;if("string"!=typeof e||"string"!=typeof n)throw Error("opts.headers is not a valid header map");p(t,e,n)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let n=0;n<r;n+=2){let r=e.headers[n],i=e.headers[n+1];if("string"!=typeof r||"string"!=typeof i&&!Array.isArray(i))throw Error("opts.headers is not a valid header map");if("string"==typeof i)p(t,r,i);else{let e=[];for(let t=0;t<i.length;t++){let r=i[t];e.push("string"==typeof r?r:r.toString("latin1"))}p(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,n]=r;if("string"!=typeof e||"string"!=typeof n)throw Error("opts.headers is not a valid header map");p(t,e,n)}else for(let r of Object.keys(e.headers))p(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,n=new Set,i=function(e){let t=[],r=0,n=-1,i=!1,s=!1;for(let o=0;o<e.length;o++)i?s?s=!1:"\\"===e[o]?s=!0:'"'===e[o]&&(i=!1,n=-1):'"'===e[o]?(i=!0,n=o):","===e[o]&&(t.push({value:e.substring(r,o),fromMalformedQuote:!1}),r=o+1);if(!i)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let o=e.substring(r),a=n-r,A=0;for(let e=0;e<o.length;e++)","===o[e]&&(t.push({value:o.substring(A,e),fromMalformedQuote:A>a}),A=e+1);return t.push({value:o.substring(A),fromMalformedQuote:A>a}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<i.length;e++){let s,a,l=i[e],p=l.value.toLowerCase(),C=l.fromMalformedQuote,f=p.indexOf("="),I=!1,E=!1;if(-1!==f){let e=p.substring(0,f),t=p.substring(f+1);I=u(e)!==e,E=g(t)!==t,s=c(e),a=g(t)}else s=c(p);let y=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!o(e[t.length]))return t;let t="",r=!1;for(let n=0;n<e.length;n++)o(e[n])?t+=e[n]:r=!0;if(r&&d(A,t))return t}(s);if(void 0!==y){t[y]=!0;continue}switch(s){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(C||r.has(s))continue;if(void 0===a||I||E||(a.length>=2&&'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),!/^[0-9]+$/.test(a))){delete t[s],r.add(s),m(t,s);continue}let e=Math.min(parseInt(a,10),0x7fffffff);"min-fresh"===s?s in t&&!(t[s]<e)||(t[s]=e):s in t&&!(t[s]>e)||(t[s]=e);break}case"private":case"no-cache":if(C||void 0!==a&&0===a.length){t[s]=!0;break}if(a){if('"'===a[0]){a=u(a);let r="",n=e,A=!1,l=h(a,1);if(-1!==l)r=a.substring(1,l),A=!0;else{let t=[a.substring(1)];for(let r=e+1;r<i.length;r++){let e=c(i[r].value),s=h(e,0);if(n=r,-1!==s){t.push(e.substring(0,s)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[s]=!0;break}e=n;let d=r.split(","),g=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),o(d[e])||(g=!1);g?!0!==t[s]&&(s in t?t[s]=t[s].concat(d):t[s]=d):t[s]=!0}else{let e=c(a);o(e)?!0!==t[s]&&(s in t?t[s]=t[s].concat(e):t[s]=[e]):t[s]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(C||n.has(s))continue;if(void 0!==a){delete t[s],n.add(s);continue}t[s]=!0;break;case"no-store":t[s]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:I,hasVaryStar:f,isInvalidOrWildcardVaryHeader:function(e){return f(e)||void 0===I(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(n,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${n.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let n of Object.keys(e.headers).sort())t?.has(n.toLowerCase())||(r[n]=e.headers[n]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,n,i,s,o){let a=new Date(Date.UTC(e,t,r,n,i,s));return e>=0&&e<=99&&a.setUTCFullYear(e),a.getUTCFullYear()===e&&a.getUTCMonth()===t&&a.getUTCDate()===r&&a.getUTCHours()===n&&a.getUTCMinutes()===i&&a.getUTCSeconds()===s&&a.getUTCDay()===o?a:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let n=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;n=(t-48)*10+(r-48)}let i=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])i=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])i=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])i=2;else{if("y"!==e[10])return;i=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])i=0;else if("u"!==e[9])return;else if("n"===e[10])i=5;else{if("l"!==e[10])return;i=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])i=3;else{if("u"!==e[9]||"g"!==e[10])return;i=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])i=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])i=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])i=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;i=11}let s=e.charCodeAt(12);if(s<48||s>57)return;let o=e.charCodeAt(13);if(o<48||o>57)return;let a=e.charCodeAt(14);if(a<48||a>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((s-48)*1e3+(o-48)*100+(a-48)*10+(A-48),i,n,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let n=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])n=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])n=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])n=2;else{if("y"!==e[6])return;n=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])n=0;else if("u"!==e[5])return;else if("n"===e[6])n=5;else{if("l"!==e[6])return;n=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])n=3;else{if("u"!==e[5]||"g"!==e[6])return;n=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])n=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])n=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])n=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;n=11}let i=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let s=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;s=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;s=(t-48)*10+(r-48)}let o=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let a=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),n,i,s,o,a,r)}(e);default:return function(e){let r=-1,n=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(n=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(n=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])n=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(n=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(n=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])n=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;n=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let i=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let n=e.charCodeAt(r+3);if(n<48||n>57)return;i=(t-48)*10+(n-48)}let s=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])s=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])s=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])s=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])s=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])s=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])s=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])s=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])s=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])s=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])s=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])s=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;s=11}let o=e.charCodeAt(r+9);if(o<48||o>57)return;let a=e.charCodeAt(r+10);if(a<48||a>57)return;let A=(o-48)*10+(a-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let n=e.charCodeAt(r+13);if(n<48||n>57||50===t&&n>51)return;l=(t-48)*10+(n-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let n=e.charCodeAt(r+16);if(n<48||n>57)return;c=(t-48)*10+(n-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let n=e.charCodeAt(r+19);if(n<48||n>57)return;d=(t-48)*10+(n-48)}return t(A,s,i,l,c,d,n)}(e)}}}},6979(e,t,r){let n={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},i=["crypto","sqlite"];class s{#eK=new Map;clear(){this.#eK.clear()}has(e){return this.#eK.get(e)??this.#eX(e)}set(e,t){if(!1===i.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eK.set(e,t)}#eX(e){let t=function(e){if(i.includes(e)){var t=`node:${e}`;try{return n[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eK.set(e,t),t}}let o=new s;e.exports.runtimeFeatures=o},256(e,t,r){let{kConnected:n,kPending:i,kRunning:s,kSize:o,kFree:a,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[n],this.pending=e[i],this.running=e[s],this.size=e[o]}},PoolStats:class{constructor(e){this.connected=e[n],this.free=e[a],this.pending=e[i],this.queued=e[A],this.running=e[s],this.size=e[o]}}}},2297(e){let t,r=0,n=Symbol("kFastTimer"),i=[];function s(){r+=499;let e=0,t=i.length;for(;e<t;){let n=i[e];0===n._state?(n._idleStart=r-499,n._state=1):1===n._state&&r>=n._idleStart+n._idleTimeout&&(n._state=-1,n._idleStart=-1,n._onTimeout(n._timerArg)),-1===n._state?(n._state=-2,0!=--t&&(i[e]=i[t])):++e}i.length=t,0!==i.length&&o()}function o(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(s,499),t?.unref())}class a{[n]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&i.push(this),t&&1!==i.length||o(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new a(e,t,r),clearTimeout(e){e[n]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new a(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,s(),s()},reset(){r=0,i.length=0,clearTimeout(t),t=null},kFastTimer:n}},1044(e,t,r){let n=r(4589),{kConstruct:i}=r(3025),{urlEquals:s,getFieldValues:o}=r(8220),{kEnumerableProperty:a,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:g}=r(165),{Request:u,fromInnerRequest:h,getRequestState:m}=r(9553),{fetching:p}=r(7564),{urlIsHttpHttpsScheme:C,readAllBytes:f}=r(638);class I{#eZ;constructor(){arguments[0]!==i&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eZ=arguments[1]}async match(e,t={}){l.brandCheck(this,I);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let n=this.#e$(e,t,1);if(0!==n.length)return n[0]}async matchAll(e,t={}){return l.brandCheck(this,I),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#e$(e,t)}async add(e){l.brandCheck(this,I),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,I);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],n=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=m(r);if(!C(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let s of e){let e=m(new u(s));if(!C(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",n.push(e);let a=Promise.withResolvers();i.push(p({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of o(e.headersList.get("vary")))if("*"===t){for(let e of(a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),i))e.abort();return}}},processResponseEndOfBody(e){e.aborted?a.reject(new DOMException("aborted","AbortError")):a.resolve(e)}})),r.push(a.promise)}let s=Promise.all(r),a=await s,A=[],c=0;for(let e of a){let t={type:"put",request:n[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),g=null;try{this.#e0(A)}catch(e){g=e}return queueMicrotask(()=>{null===g?d.resolve(void 0):d.reject(g)}),d.promise}async put(e,t){l.brandCheck(this,I);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let n=null;if(!C((n=l.is.Request(e)?m(e):m(new u(e))).url)||"GET"!==n.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let i=g(t);if(206===i.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(i.headersList.contains("vary")){for(let e of o(i.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(i.body&&(A(i.body.stream)||i.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let s=c(i),a=Promise.withResolvers();null!=i.body?f(i.body.stream.getReader(),a.resolve,a.reject):a.resolve(void 0);let d=[],h={type:"put",request:n,response:s};d.push(h);let p=await a.promise;null!=s.body&&(s.body.source=p);let E=Promise.withResolvers(),y=null;try{this.#e0(d)}catch(e){y=e}return queueMicrotask(()=>{null===y?E.resolve():E.reject(y)}),E.promise}async delete(e,t={}){let r;l.brandCheck(this,I);let i="Cache.delete";l.argumentLengthCheck(arguments,1,i),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,i,"options");let s=null;if(l.is.Request(e)){if("GET"!==(s=m(e)).method&&!t.ignoreMethod)return!1}else n("string"==typeof e),s=m(new u(e));let o=[],a={type:"delete",request:s,options:t};o.push(a);let A=Promise.withResolvers(),c=null;try{r=this.#e0(o)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,I),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=m(new u(e)));let n=Promise.withResolvers(),i=[];if(void 0===e)for(let e of this.#eZ)i.push(e[0]);else for(let e of this.#e1(r,t))i.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of i){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}n.resolve(Object.freeze(e))}),n.promise}#e0(e){let t=this.#eZ,r=[...t],i=[],s=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,i).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);n(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let s=r.request;if(!C(s.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==s.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let i of e=this.#e1(r.request)){let e=t.indexOf(i);n(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),i.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){throw this.#eZ.length=0,this.#eZ=r,e}}#e1(e,t,r){let n=[];for(let i of r??this.#eZ){let[r,s]=i;this.#e2(e,r,s,t)&&n.push(i)}return n}#e2(e,t,r=null,n){let i=new URL(e.url),a=new URL(t.url);if(n?.ignoreSearch&&(a.search="",i.search=""),!s(i,a,!0))return!1;if(null==r||n?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let n of o(r.headersList.get("vary")))if("*"===n||t.headersList.get(n)!==e.headersList.get(n))return!1;return!0}#e$(e,t,r=1/0){let n=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(n=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(n=m(new u(e)));let i=[];if(void 0===e)for(let e of this.#eZ)i.push(e[1]);else for(let e of this.#e1(n,t))i.push(e[1]);let s=[];for(let e of i){let t=d(c(e),"immutable");if(s.push(t),s.length>=r)break}return Object.freeze(s)}}Object.defineProperties(I.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let E=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(E),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...E,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:I}},3691(e,t,r){let{Cache:n}=r(1044),{webidl:i}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:o}=r(3025);class a{#e3=new Map;constructor(){arguments[0]!==o&&i.illegalConstructor(),i.util.markAsUncloneable(this)}async match(e,t={}){if(i.brandCheck(this,a),i.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=i.converters.RequestInfo(e),null!=(t=i.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e3.has(t.cacheName)){let r=new n(o,this.#e3.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e3.values()){let i=new n(o,r),s=await i.match(e,t);if(void 0!==s)return s}}async has(e){i.brandCheck(this,a);let t="CacheStorage.has";return i.argumentLengthCheck(arguments,1,t),e=i.converters.DOMString(e,t,"cacheName"),this.#e3.has(e)}async open(e){i.brandCheck(this,a);let t="CacheStorage.open";if(i.argumentLengthCheck(arguments,1,t),e=i.converters.DOMString(e,t,"cacheName"),this.#e3.has(e))return new n(o,this.#e3.get(e));let r=[];return this.#e3.set(e,r),new n(o,r)}async delete(e){i.brandCheck(this,a);let t="CacheStorage.delete";return i.argumentLengthCheck(arguments,1,t),e=i.converters.DOMString(e,t,"cacheName"),this.#e3.delete(e)}async keys(){return i.brandCheck(this,a),[...this.#e3.keys()]}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:s,has:s,open:s,delete:s,keys:s}),e.exports={CacheStorage:a}},8220(e,t,r){let n=r(4589),{URLSerializer:i}=r(3518),{isValidHeaderName:s}=r(638);e.exports={urlEquals:function(e,t,r=!1){return i(e,r)===i(t,r)},getFieldValues:function(e){n(null!==e);let t=[];for(let r of e.split(","))s(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:n}=r(6248),{stringify:i}=r(751),{webidl:s}=r(849),{Headers:o}=r(3470),a=s.brandCheckMultiple([o,globalThis.Headers].filter(Boolean));function A(e,t){s.argumentLengthCheck(arguments,2,"setCookie"),a(e);let r=i(t=s.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}s.converters.DeleteCookieAttributes=s.dictionaryConverter([{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null}]),s.converters.Cookie=s.dictionaryConverter([{converter:s.converters.DOMString,key:"name"},{converter:s.converters.DOMString,key:"value"},{converter:s.nullableConverter(e=>"number"==typeof e?s.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:s.nullableConverter(s.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"secure",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:s.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:s.sequenceConverter(s.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){s.argumentLengthCheck(arguments,1,"getCookies"),a(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...n]=e.split("=");r[t.trim()]=n.join("=")}return r},deleteCookie:function(e,t,r){a(e);let n="deleteCookie";s.argumentLengthCheck(arguments,2,n),t=s.converters.DOMString(t,n,"name"),r=s.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){s.argumentLengthCheck(arguments,1,"getSetCookies"),a(e);let t=e.getSetCookie();return t?t.map(e=>n(e)):[]},setCookie:A,parseCookie:function(e){return n(e=s.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:n}=r(5358),{maxNameValuePairSize:i,maxAttributeValueSize:s}=r(6674),{isCTLExcludingHtab:o}=r(751),a=r(4589);function A(e,t={}){if(0===e.length)return t;a(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=n(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let i="",o="";if(r.includes("=")){let e={position:0};i=n("=",r,e),o=r.slice(e.position+1)}else i=r;if(i=i.trim(),(o=o.trim()).length>s)return A(e,t);let l=i.toLowerCase();if("expires"===l){let e=new Date(o);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=o.charCodeAt(0);if((r<48||r>57)&&"-"!==o[0]||!/^\d+$/.test(o))return A(e,t);t.maxAge=Number(o)}else if("domain"===l){let e=o;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===o.length||"/"!==o[0]?"/":o;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=o.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${i}=${o}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(o(e))return null;let t="",r="",s="",a="";if(e.includes(";")){let i={position:0};t=n(";",e,i),r=e.slice(i.position)}else t=e;if(t.includes("=")){let e={position:0};s=n("=",t,e),a=t.slice(e.position+1)}else a=t;return(s=s.trim(),a=a.trim(),s.length+a.length>i)?null:{name:s,value:a,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function n(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function i(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${s[e.getUTCDay()]}, ${a[e.getUTCDate()]} ${o[e.getUTCMonth()]} ${e.getUTCFullYear()} ${a[e.getUTCHours()]}:${a[e.getUTCMinutes()]}:${a[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:n,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let s=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&s.push("Secure"),e.httpOnly&&s.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");s.push(`Max-Age=${e.maxAge}`)}for(let o of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let n=e.charCodeAt(r);if(46===n){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!i(n)||!i(n)&&45!==n||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),s.push(`Domain=${e.domain}`)),e.path&&(n(e.path),s.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&s.push(`Expires=${A(e.expires)}`),e.sameSite&&s.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!o.includes("="))throw Error("Invalid unparsed");let[e,...n]=o.split("="),i=e.trim(),a=n.join("=");t(i),r(a),s.push(`${i}=${a}`)}return s.join("; ")}}},621(e,t,r){let{Transform:n}=r(7075),{isASCIINumber:i,isValidLastEventId:s}=r(2833),o=Buffer.from("data"),a=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let n=0;n<t;n++)if(e[n]!==r[n])return!1;return!0}e.exports={EventSourceStream:class extends n{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let n=e.length,i=e.length;if(-1!==r&&(n=r,32===e[i=r+1]&&++i),c(e,n,o)){let r=e.toString("utf8",i);void 0===t.data?t.data=r:t.data+=` -${r}`;return}if(c(e,n,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,i)&&(t.retry=e.toString("utf8",i));return}if(c(e,n,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,i)&&(t.id=e.toString("utf8",i));return}if(c(e,n,a)){let r=e.toString("utf8",i);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&i(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&s(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let n=this.chunks[r],i=r===this.lineChunkIndex?this.linePos:0,s=r===this.chunkIndex?this.pos:n.length,o=n.subarray(i,s);t+=o.length,e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let n=this.chunks[t],i=n.length-r;if(e<i)return n[r+e];e-=i,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:n}=r(7075),{fetching:i}=r(7564),{webidl:s}=r(849),{EventSourceStream:o}=r(621),{parseMIMEType:a}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:g}=r(2833),u=!1;class h extends EventTarget{#e4={open:null,error:null,message:null};#e5;#e8=!1;#e9=0;#e6=null;#ei=null;#Q;#eS;constructor(e,t={}){let r;super(),s.util.markAsUncloneable(this);let n="EventSource constructor";s.argumentLengthCheck(arguments,1,n),u||(u=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=s.converters.USVString(e),t=s.converters.EventSourceInitDict(t,n,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e5=r.href;let i="anonymous";!0===t.withCredentials&&(i="use-credentials",this.#e8=!0);let o=g(r,"",i);o.client=d.settingsObject,o.headersList.set("Accept","text/event-stream"),o.cache="no-store",o.initiator="other",this.#e6=o,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e5}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?a(t):"failure",i="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===i){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let s=new o({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});n(e.body.stream,s,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#ei=i(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){s.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#ei.abort(),this.#e6=null)}get onopen(){return this.#e4.open}set onopen(e){this.#e4.open&&this.removeEventListener("open",this.#e4.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e4.open=e):this.#e4.open=null}get onmessage(){return this.#e4.message}set onmessage(e){this.#e4.message&&this.removeEventListener("message",this.#e4.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e4.message=e):this.#e4.message=null}get onerror(){return this.#e4.error}set onerror(e){this.#e4.error&&this.removeEventListener("error",this.#e4.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e4.error=e):this.#e4.error=null}}let m={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,m),Object.defineProperties(h.prototype,m),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),s.converters.EventSourceInitDict=s.dictionaryConverter([{key:"withCredentials",converter:s.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:s.converters.any},{key:"node",converter:s.dictionaryConverter([{key:"reconnectionTime",converter:s.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:s.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:n}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,i){let s="no cors"===r?"no-cors":"cors";i&&"no-cors"===s&&(s="same-origin");let o="include";return"anonymous"===r&&(o="same-origin"),n({urlList:[e],destination:t,mode:s,credentials:o,useURLCredentials:!0})}}},4626(e,t,r){let n=r(1210),{ReadableStreamFrom:i,readableStreamClose:s,fullyReadBody:o,extractMimeType:a}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),g=r(4589),{isErrored:u,isDisturbed:h}=r(7075),{isUint8Array:m}=r(3429),{serializeAMimeType:p}=r(3518),{multipartFormDataParser:C}=r(7750),{parseJSONFromBytes:f}=r(5358),{utf8DecodeBytes:I}=r(2718),{ReadableStreamTee:E}=r(7830),y=new TextEncoder;function B(){}function Q(e,t=!1){let r=null,o=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){o=e},cancel(){},type:"bytes"}),g(d.is.ReadableStream(r));let a=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r -Content-Disposition: form-data`,n=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),i=e=>e.replace(/\r?\n|\r/g,"\r\n"),s=[],o=new Uint8Array([13,10]);l=0;let d=!1;for(let[t,a]of e)if("string"==typeof a){let e=y.encode(r+`; name="${n(i(t))}"`+`\r +${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:i}=r(4779),{InvalidArgumentError:n}=r(8065);function s(e,t,r,i,s){switch(t.operator){case"OR":return i.push(...r(e,s)),i;case"AND":return r(e,i);default:throw new n("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function a(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new n(`${e} parameter should be one of string, regexp, undefined or null`)}}class o{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new n("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new n("nthCall must be called with a number");if(!Number.isInteger(e))throw new n("nthCall must be called with an integer");if(1!==Math.sign(e))throw new n("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new n("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},i="AND"===r.operator?this.logs:[];return"protocol"in e&&(i=s(e.protocol,r,this.filterCallsByProtocol,i,this.logs)),"host"in e&&(i=s(e.host,r,this.filterCallsByHost,i,this.logs)),"port"in e&&(i=s(e.port,r,this.filterCallsByPort,i,this.logs)),"origin"in e&&(i=s(e.origin,r,this.filterCallsByOrigin,i,this.logs)),"path"in e&&(i=s(e.path,r,this.filterCallsByPath,i,this.logs)),"hash"in e&&(i=s(e.hash,r,this.filterCallsByHash,i,this.logs)),"fullUrl"in e&&(i=s(e.fullUrl,r,this.filterCallsByFullUrl,i,this.logs)),"method"in e&&(i=s(e.method,r,this.filterCallsByMethod,i,this.logs)),[...new Set(i)]}throw new n("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=a.call(this,"protocol");filterCallsByHost=a.call(this,"host");filterCallsByPort=a.call(this,"port");filterCallsByOrigin=a.call(this,"origin");filterCallsByPath=a.call(this,"path");filterCallsByHash=a.call(this,"hash");filterCallsByFullUrl=a.call(this,"fullUrl");filterCallsByMethod=a.call(this,"method");clear(){this.logs=[]}[i](e){let t=new o(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=o},375(e,t,r){let{promisify:i}=r(7975),n=r(5183),{buildMockDispatch:s}=r(6927),{kDispatches:a,kMockAgent:o,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:u,kIgnoreTrailingSlash:g}=r(4779),{MockInterceptor:h}=r(1585),p=r(3025),{InvalidArgumentError:m}=r(8065);class f extends n{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new m("Argument opts.agent must implement Agent");super(e,t),this[o]=t.agent,this[c]=e,this[g]=t.ignoreTrailingSlash??!1,this[a]=[],this[u]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[p.kConnected](){return this[u]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[g],...e},this[a])}cleanMocks(){this[a]=[]}async [A](){await i(this[l])(),this[u]=0,this[o][p.kClients].delete(this[c])}}e.exports=f},8531(e,t,r){let{UndiciError:i}=r(8065),n=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class s extends i{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}e.exports={MockNotMatchedError:s}},1585(e,t,r){let{getResponseData:i,buildKey:n,addMockDispatch:s}=r(6927),{kDispatches:a,kDispatchKey:o,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:u}=r(4779),{InvalidArgumentError:g}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:p}}=r(7975);class m{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new g("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new g("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new g("opts must be an object");if(void 0===e.path)throw new g("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[o]=n(e),this[a]=t,this[u]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let n=i(t),s=this[c]?{"content-length":n.length}:{};return{statusCode:e,data:t,headers:{...this[A],...s,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new g("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new g("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new g("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new m(s(this[a],this[o],r=>{let i=e(r);return p(i)?i.then(t):t(i)},{ignoreTrailingSlash:this[u]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new m(s(this[a],this[o],r,{ignoreTrailingSlash:this[u]}))}replyWithError(e){if(void 0===e)throw new g("error must be defined");return new m(s(this[a],this[o],{error:e},{ignoreTrailingSlash:this[u]}))}defaultReplyHeaders(e){if(void 0===e)throw new g("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new g("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:i}=r(7975),n=r(6334),{buildMockDispatch:s}=r(6927),{kDispatches:a,kMockAgent:o,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:u,kIgnoreTrailingSlash:g}=r(4779),{MockInterceptor:h}=r(1585),p=r(3025),{InvalidArgumentError:m}=r(8065);class f extends n{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new m("Argument opts.agent must implement Agent");super(e,t),this[o]=t.agent,this[c]=e,this[g]=t.ignoreTrailingSlash??!1,this[a]=[],this[u]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[p.kConnected](){return this[u]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[g],...e},this[a])}cleanMocks(){this[a]=[]}async [A](){await i(this[l])(),this[u]=0,this[o][p.kClients].delete(this[c])}}e.exports=f},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:i}=r(8531),{kDispatches:n,kMockAgent:s,kOriginalDispatch:a,kOrigin:o,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:u}=r(7067),{types:{isPromise:g}}=r(7975),{InvalidArgumentError:h}=r(8065);function p(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function m(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function f(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):m(e)[t.toLocaleLowerCase()]}function C(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function y(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=C(t)),e.headers(t?m(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,i]of Object.entries(e.headers))if(!p(i,f(t,r)))return!1;return!0}function I(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function E(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function B(e,t){let r=t.query?c(t.path,t.query):t.path,n="string"==typeof r?I(r):r,s=b(n),a=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?p(b(I(e)),s):p(I(e),n));if(0===a.length)throw new i(`Mock dispatch not matched for path '${n}'`);if(0===(a=a.filter(({method:e})=>p(e,t.method))).length)throw new i(`Mock dispatch not matched for method '${t.method}' on path '${n}'`);if(0===(a=a.filter(({body:e})=>void 0===e||p(e,t.body))).length)throw new i(`Mock dispatch not matched for body '${t.body}' on path '${n}'`);if(0===(a=a.filter(e=>y(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new i(`Mock dispatch not matched for headers '${e}' on path '${n}'`)}return a[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:i,headers:n}){let s=p(e.path,t),a=p(e.method,r),o=void 0===e.body||p(e.body,i),A=y(e,n);return s&&a&&o&&A}(e,t));-1!==r&&e.splice(r,1)}function b(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function N(e){let{path:t,method:r,body:i,headers:n,query:s}=e;return{path:t,method:r,body:i,headers:n,query:s}}function S(e){let t=Object.keys(e),r=[];for(let i=0;i<t.length;++i){let n=t[i],s=e[n],a=Buffer.from(`${n}`);if(Array.isArray(s))for(let e=0;e<s.length;++e)r.push(a,Buffer.from(`${s[e]}`));else r.push(a,Buffer.from(`${s}`))}return r}function w(e){return u[e]||"unknown"}function x(e,t){let r=N(e),i=B(this[n],r),s=this[n];i.timesInvoked++;let{timesInvoked:a,times:o}=i;if(i.consumed=!i.persist&&a>=o,i.pending=a<o,i.data.callback){let n=i.data.callback(e);if(g(n))return n.then(n=>{i.data={...i.data,...n},D(s,i,r,e,t)},e=>{Q(s,r),t.onResponseError(null,e)}),!0;i.data={...i.data,...n}}return D(s,i,r,e,t)}function D(e,t,r,i,n){let{data:{statusCode:s,data:a,headers:o,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),n.onResponseError(null,l),!0;let u=!1,h=null,p={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{u||(u=!0,null!==h&&(clearTimeout(h),h=null),n.onResponseError?.(p,e))}};function m(e,t=a){if(u)return;let l=Array.isArray(i.headers)?C(i.headers):i.headers,c="function"==typeof t?t({...i,headers:l}):t;if(g(c))return c.then(t=>m(e,t));if(u)return;let h=E(c),f=S(o),y=S(A);p.rawHeaders=f,p.rawTrailers=y,n.onResponseStart?.(p,s,d(f),w(s)),n.onResponseData?.(p,Buffer.from(h)),n.onResponseEnd?.(p,d(y)),Q(e,r)}return n.onRequestStart?.(p,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,m(e)},c):m(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>p(e,r.host)))}e.exports={getResponseData:E,getMockDispatch:B,addMockDispatch:function(e,t,r,i){let n={timesInvoked:0,times:1,persist:!1,consumed:!1,...i},s="function"==typeof r?{callback:r}:{...r},a={...n,...t,pending:!0,data:{error:null,...s}};return e.push(a),e[l]=(e[l]||0)+1,a},deleteMockDispatch:Q,buildKey:N,generateKeyValues:S,matchValue:p,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:x,buildMockDispatch:function(){let e=this[s],t=this[o],r=this[a];return function(s,a){if(e.isMockActive)try{x.call(this,s,a)}catch(o){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===o.code){let c=e[A](),d=this[n][l]||this[n].length,u=this[n].filter(({consumed:e})=>!e).length,g=`, ${u} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new i(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${g}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in s?{...s,body:s.__mockAgentBodyForDispatch}:s,a);else throw new i(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${g}`)}else throw o}else r.call(this,s,a)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:f,buildHeadersFromArray:C,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,i]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(i)){r.append(e,i);continue}if(i.includes(",")){for(let t of i.split(","))r.append(e,t);continue}r.append(e,i)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:i}=r(7075),{Console:n}=r(7540),s=process.versions.icu?"✅":"Y ",a=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,r){r(null,e)}}),this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:i,times:n,timesInvoked:o,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:i?s:a,Invocations:o,Remaining:i?1/0:n-o}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let i=r(5891),n=r(6923),{SnapshotRecorder:s}=r(2152),{InvalidArgumentError:a,UndiciError:o}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),u=Symbol("kSnapshotPath"),g=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),p=!1;e.exports=class extends n{constructor(e={}){p||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),p=!0);let{mode:t="record",snapshotPath:r=null,...n}=e;if(super(n),l(t),("playback"===t||"update"===t)&&!r)throw new a(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[u]=r,this[c]=new s({snapshotPath:this[u],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[g]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new i(e)),("playback"===this[d]||"update"===this[d])&&this[u]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[g])return this.#eT(e,t);let i=this[c].findSnapshot(e);if(i)return this.#eL(i,t);{if("update"===r)return this.#eO(e,t);let i=new o(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,i);throw i}}if("record"===r)return this.#eO(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eO(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},i=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,i,n)=>t.onRequestUpgrade(e,r,i,n),onResponseStart:(e,i,n,s)=>(r.statusCode=i,r.headers=n,t.onResponseStart(e,i,n,s)),onResponseData:(e,i)=>(r.body.push(i),t.onResponseData(e,i)),onResponseEnd(n,s){r.trailers=s;let a=Buffer.concat(r.body);i[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:a,trailers:r.trailers}).then(()=>t.onResponseEnd(n,s)).catch(e=>t.onResponseError(n,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,i=r.headers?A.toRawHeaders(r.headers):[],n=r.trailers?A.toRawHeaders(r.trailers):[],s={rawHeaders:i,rawTrailers:n,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(s),t.onResponseStart(s,r.statusCode,r.headers,r.statusMessage);let a=Buffer.from(r.body,"base64");t.onResponseData(s,a),t.onResponseEnd(s,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[u]),this[g]=!0,"playback"===this[d]&&this.#eP()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[u])}#eP(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:i}=e,n=new URL(t.url),s=this.get(n.origin),a=r?r[0]:i;a&&s.intercept({path:n.pathname+n.search,method:t.method,headers:t.headers,body:t.body}).reply(a.statusCode,a.body,{headers:a.headers,trailers:a.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:i,readFile:n,mkdir:s}=r(1455),{dirname:a,resolve:o}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:u,isUrlExcludedFactory:g,normalizeHeaders:h,createHeaderFilters:p}=r(289);function m(e,t,r={}){var i,n,s;let a=new URL(e.path,e.origin),o=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=o),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(a,r.matchQuery,r.normalizeQuery),headers:f(o,t,r),body:(i=e.body,n=r.matchBody,s=r.normalizeBody,!1===n?"":s?String(s(i)??""):i?String(i):"")}}function f(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,n={},{ignore:s,exclude:a,match:o}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();!(a.has(e)||s.has(e))&&(0===o.size||o.has(e))&&(n[e]=r)}return n}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,n={},{exclude:s}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();s.has(e)||(n[e]=r)}return n}function y(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let i=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),i.sort()))t.push(String(e))}return t.push(e.body),u(t.join("|"))}class I{#eH;#eY;#eG=new Map;#eq;#ez=1/0;#eV=!1;#e_;constructor(e={}){this.#eq=e.snapshotPath,this.#ez=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#e_=p(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=g(e.excludeUrls),this.#eV&&this.#eq&&this.#eJ()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=m(e,this.#e_,this.matchOptions),i=y(r),n=h(t.headers),s={statusCode:t.statusCode,headers:C(n,this.#e_,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#ez&&!this.#eG.has(i)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let a=this.#eG.get(i);a&&a.responses?(a.responses.push(s),a.timestamp=new Date().toISOString()):this.#eG.set(i,{request:r,responses:[s],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#eq&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=y(m(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let i=r.callCount||0,n=Math.min(i,r.responses.length-1);return r.callCount=i+1,{...r,response:r.responses[n]}}async loadSnapshots(e){let t=e||this.#eq;if(!t)throw new c("Snapshot path is required");try{let e=await n(o(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#eq;if(!t)throw new c("Snapshot path is required");let r=o(t);await s(a(r),{recursive:!0});let n=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await i(r,JSON.stringify(n,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=y(m(e,this.#e_,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=y(m(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#eJ(){return this.#eW()}#ej(){this.#eH&&(l(this.#eH),this.saveSnapshots().catch(()=>{}),this.#eH=null)}#eW(){this.#eH=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eH?.refresh():this.#eH=null},1e3)}destroy(){this.#ej(),this.#eH&&(l(this.#eH),this.#eH=null)}async close(){this.#eq&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:I,formatRequestKey:m,createRequestHash:y,filterHeadersForMatching:f,filterHeadersForStorage:C,createHeaderFilters:p}},289(e,t,r){let{InvalidArgumentError:i}=r(8065),{runtimeFeatures:n}=r(6979),s=n.has("crypto")?r(7598):null,a=s?.hash?e=>s.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function o(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:i=[],caseSensitive:n=!1}=e;return{ignore:new Set(t.map(e=>n?e:e.toLowerCase())),exclude:new Set(r.map(e=>n?e:e.toLowerCase())),match:new Set(i.map(e=>n?e:e.toLowerCase()))}},hashId:a,isUndiciHeaders:o,normalizeHeaders:function(e){let t={};if(!e)return t;if(o(e)){for(let r=0;r<e.length;r+=2){let i=e[r],n=e[r+1];if(i&&void 0!==n){let e=Buffer.isBuffer(i)?i.toString():i,r=Buffer.isBuffer(n)?n.toString():n;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,i]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(i)?i.join(", "):String(i));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let i of e)if("string"==typeof i){if(r||(r=t.toLowerCase()),r.includes(i.toLowerCase()))return!0}else if(i instanceof RegExp&&i.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new i(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:i,pathHasQueryOrFragment:n,hasSafeIterator:s,isValidHTTPToken:a}=r(1210),{serializePathWithQuery:o}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function u(e){return e.replace(/^[\t ]+/,"")}function g(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let i=t;i<e.length;i++)if(r)r=!1;else if("\\"===e[i])r=!0;else if('"'===e[i])return i;return -1}function p(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function m(e,t,r){let i=t.toLowerCase(),n=e[i],s=Array.isArray(r)?r:[r];void 0===n?e[i]=Array.isArray(r)?r.slice():r:Array.isArray(n)?n.push(...s):e[i]=[n,...s]}function f(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let i=t[e].split(",");for(let e=0;e<i.length;e++)r.push(i[e])}return r}function C(e){let t=f(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function y(e,t){if(C(e))return t;let r={};for(let i of f(e)){let e=c(i).toLowerCase();if(0===e.length)continue;if(!a(e))return;let n=t[e];r[e]=Array.isArray(n)?n.slice():n??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!n(t)&&(t=o(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},s(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");m(t,e,i)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let i=0;i<r;i+=2){let r=e.headers[i],n=e.headers[i+1];if("string"!=typeof r||"string"!=typeof n&&!Array.isArray(n))throw Error("opts.headers is not a valid header map");if("string"==typeof n)m(t,r,n);else{let e=[];for(let t=0;t<n.length;t++){let r=n[t];e.push("string"==typeof r?r:r.toString("latin1"))}m(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");m(t,e,i)}else for(let r of Object.keys(e.headers))m(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,i=new Set,n=function(e){let t=[],r=0,i=-1,n=!1,s=!1;for(let a=0;a<e.length;a++)n?s?s=!1:"\\"===e[a]?s=!0:'"'===e[a]&&(n=!1,i=-1):'"'===e[a]?(n=!0,i=a):","===e[a]&&(t.push({value:e.substring(r,a),fromMalformedQuote:!1}),r=a+1);if(!n)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let a=e.substring(r),o=i-r,A=0;for(let e=0;e<a.length;e++)","===a[e]&&(t.push({value:a.substring(A,e),fromMalformedQuote:A>o}),A=e+1);return t.push({value:a.substring(A),fromMalformedQuote:A>o}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<n.length;e++){let s,o,l=n[e],m=l.value.toLowerCase(),f=l.fromMalformedQuote,C=m.indexOf("="),y=!1,I=!1;if(-1!==C){let e=m.substring(0,C),t=m.substring(C+1);y=g(e)!==e,I=u(t)!==t,s=c(e),o=u(t)}else s=c(m);let E=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!a(e[t.length]))return t;let t="",r=!1;for(let i=0;i<e.length;i++)a(e[i])?t+=e[i]:r=!0;if(r&&d(A,t))return t}(s);if(void 0!==E){t[E]=!0;continue}switch(s){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(f||r.has(s))continue;if(void 0===o||y||I||(o.length>=2&&'"'===o[0]&&'"'===o[o.length-1]&&(o=o.substring(1,o.length-1)),!/^[0-9]+$/.test(o))){delete t[s],r.add(s),p(t,s);continue}let e=Math.min(parseInt(o,10),0x7fffffff);"min-fresh"===s?s in t&&!(t[s]<e)||(t[s]=e):s in t&&!(t[s]>e)||(t[s]=e);break}case"private":case"no-cache":if(f||void 0!==o&&0===o.length){t[s]=!0;break}if(o){if('"'===o[0]){o=g(o);let r="",i=e,A=!1,l=h(o,1);if(-1!==l)r=o.substring(1,l),A=!0;else{let t=[o.substring(1)];for(let r=e+1;r<n.length;r++){let e=c(n[r].value),s=h(e,0);if(i=r,-1!==s){t.push(e.substring(0,s)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[s]=!0;break}e=i;let d=r.split(","),u=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),a(d[e])||(u=!1);u?!0!==t[s]&&(s in t?t[s]=t[s].concat(d):t[s]=d):t[s]=!0}else{let e=c(o);a(e)?!0!==t[s]&&(s in t?t[s]=t[s].concat(e):t[s]=[e]):t[s]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(f||i.has(s))continue;if(void 0!==o){delete t[s],i.add(s);continue}t[s]=!0;break;case"no-store":t[s]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:y,hasVaryStar:C,isInvalidOrWildcardVaryHeader:function(e){return C(e)||void 0===y(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(i,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${i.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let i of Object.keys(e.headers).sort())t?.has(i.toLowerCase())||(r[i]=e.headers[i]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,i,n,s,a){let o=new Date(Date.UTC(e,t,r,i,n,s));return e>=0&&e<=99&&o.setUTCFullYear(e),o.getUTCFullYear()===e&&o.getUTCMonth()===t&&o.getUTCDate()===r&&o.getUTCHours()===i&&o.getUTCMinutes()===n&&o.getUTCSeconds()===s&&o.getUTCDay()===a?o:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let n=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])n=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])n=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])n=2;else{if("y"!==e[10])return;n=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])n=0;else if("u"!==e[9])return;else if("n"===e[10])n=5;else{if("l"!==e[10])return;n=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])n=3;else{if("u"!==e[9]||"g"!==e[10])return;n=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])n=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])n=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])n=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;n=11}let s=e.charCodeAt(12);if(s<48||s>57)return;let a=e.charCodeAt(13);if(a<48||a>57)return;let o=e.charCodeAt(14);if(o<48||o>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((s-48)*1e3+(a-48)*100+(o-48)*10+(A-48),n,i,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])i=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])i=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])i=2;else{if("y"!==e[6])return;i=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])i=0;else if("u"!==e[5])return;else if("n"===e[6])i=5;else{if("l"!==e[6])return;i=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])i=3;else{if("u"!==e[5]||"g"!==e[6])return;i=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])i=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])i=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])i=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;i=11}let n=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;n=(t-48)*10+(r-48)}let s=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;s=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;s=(t-48)*10+(r-48)}let a=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let o=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),i,n,s,a,o,r)}(e);default:return function(e){let r=-1,i=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(i=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])i=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(i=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])i=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;i=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let n=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let i=e.charCodeAt(r+3);if(i<48||i>57)return;n=(t-48)*10+(i-48)}let s=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])s=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])s=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])s=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])s=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])s=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])s=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])s=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])s=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])s=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])s=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])s=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;s=11}let a=e.charCodeAt(r+9);if(a<48||a>57)return;let o=e.charCodeAt(r+10);if(o<48||o>57)return;let A=(a-48)*10+(o-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let i=e.charCodeAt(r+13);if(i<48||i>57||50===t&&i>51)return;l=(t-48)*10+(i-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let i=e.charCodeAt(r+16);if(i<48||i>57)return;c=(t-48)*10+(i-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let i=e.charCodeAt(r+19);if(i<48||i>57)return;d=(t-48)*10+(i-48)}return t(A,s,n,l,c,d,i)}(e)}}}},6979(e,t,r){let i={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},n=["crypto","sqlite"];class s{#eK=new Map;clear(){this.#eK.clear()}has(e){return this.#eK.get(e)??this.#e$(e)}set(e,t){if(!1===n.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eK.set(e,t)}#e$(e){let t=function(e){if(n.includes(e)){var t=`node:${e}`;try{return i[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eK.set(e,t),t}}let a=new s;e.exports.runtimeFeatures=a},256(e,t,r){let{kConnected:i,kPending:n,kRunning:s,kSize:a,kFree:o,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[i],this.pending=e[n],this.running=e[s],this.size=e[a]}},PoolStats:class{constructor(e){this.connected=e[i],this.free=e[o],this.pending=e[n],this.queued=e[A],this.running=e[s],this.size=e[a]}}}},2297(e){let t,r=0,i=Symbol("kFastTimer"),n=[];function s(){r+=499;let e=0,t=n.length;for(;e<t;){let i=n[e];0===i._state?(i._idleStart=r-499,i._state=1):1===i._state&&r>=i._idleStart+i._idleTimeout&&(i._state=-1,i._idleStart=-1,i._onTimeout(i._timerArg)),-1===i._state?(i._state=-2,0!=--t&&(n[e]=n[t])):++e}n.length=t,0!==n.length&&a()}function a(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(s,499),t?.unref())}class o{[i]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&n.push(this),t&&1!==n.length||a(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new o(e,t,r),clearTimeout(e){e[i]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new o(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,s(),s()},reset(){r=0,n.length=0,clearTimeout(t),t=null},kFastTimer:i}},1044(e,t,r){let i=r(4589),{kConstruct:n}=r(3025),{urlEquals:s,getFieldValues:a}=r(8220),{kEnumerableProperty:o,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:u}=r(165),{Request:g,fromInnerRequest:h,getRequestState:p}=r(9553),{fetching:m}=r(7564),{urlIsHttpHttpsScheme:f,readAllBytes:C}=r(638);class y{#eX;constructor(){arguments[0]!==n&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eX=arguments[1]}async match(e,t={}){l.brandCheck(this,y);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let i=this.#eZ(e,t,1);if(0!==i.length)return i[0]}async matchAll(e,t={}){return l.brandCheck(this,y),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#eZ(e,t)}async add(e){l.brandCheck(this,y),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,y);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],i=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=p(r);if(!f(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let n=[];for(let s of e){let e=p(new g(s));if(!f(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",i.push(e);let o=Promise.withResolvers();n.push(m({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)o.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of a(e.headersList.get("vary")))if("*"===t){for(let e of(o.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),n))e.abort();return}}},processResponseEndOfBody(e){e.aborted?o.reject(new DOMException("aborted","AbortError")):o.resolve(e)}})),r.push(o.promise)}let s=Promise.all(r),o=await s,A=[],c=0;for(let e of o){let t={type:"put",request:i[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),u=null;try{this.#e0(A)}catch(e){u=e}return queueMicrotask(()=>{null===u?d.resolve(void 0):d.reject(u)}),d.promise}async put(e,t){l.brandCheck(this,y);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let i=null;if(!f((i=l.is.Request(e)?p(e):p(new g(e))).url)||"GET"!==i.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let n=u(t);if(206===n.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(n.headersList.contains("vary")){for(let e of a(n.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(n.body&&(A(n.body.stream)||n.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let s=c(n),o=Promise.withResolvers();null!=n.body?C(n.body.stream.getReader(),o.resolve,o.reject):o.resolve(void 0);let d=[],h={type:"put",request:i,response:s};d.push(h);let m=await o.promise;null!=s.body&&(s.body.source=m);let I=Promise.withResolvers(),E=null;try{this.#e0(d)}catch(e){E=e}return queueMicrotask(()=>{null===E?I.resolve():I.reject(E)}),I.promise}async delete(e,t={}){let r;l.brandCheck(this,y);let n="Cache.delete";l.argumentLengthCheck(arguments,1,n),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,n,"options");let s=null;if(l.is.Request(e)){if("GET"!==(s=p(e)).method&&!t.ignoreMethod)return!1}else i("string"==typeof e),s=p(new g(e));let a=[],o={type:"delete",request:s,options:t};a.push(o);let A=Promise.withResolvers(),c=null;try{r=this.#e0(a)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,y),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=p(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=p(new g(e)));let i=Promise.withResolvers(),n=[];if(void 0===e)for(let e of this.#eX)n.push(e[0]);else for(let e of this.#e1(r,t))n.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of n){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}i.resolve(Object.freeze(e))}),i.promise}#e0(e){let t=this.#eX,r=[...t],n=[],s=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,n).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);i(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let s=r.request;if(!f(s.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==s.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let n of e=this.#e1(r.request)){let e=t.indexOf(n);i(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),n.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){throw this.#eX.length=0,this.#eX=r,e}}#e1(e,t,r){let i=[];for(let n of r??this.#eX){let[r,s]=n;this.#e2(e,r,s,t)&&i.push(n)}return i}#e2(e,t,r=null,i){let n=new URL(e.url),o=new URL(t.url);if(i?.ignoreSearch&&(o.search="",n.search=""),!s(n,o,!0))return!1;if(null==r||i?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let i of a(r.headersList.get("vary")))if("*"===i||t.headersList.get(i)!==e.headersList.get(i))return!1;return!0}#eZ(e,t,r=1/0){let i=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(i=p(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(i=p(new g(e)));let n=[];if(void 0===e)for(let e of this.#eX)n.push(e[1]);else for(let e of this.#e1(i,t))n.push(e[1]);let s=[];for(let e of n){let t=d(c(e),"immutable");if(s.push(t),s.length>=r)break}return Object.freeze(s)}}Object.defineProperties(y.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:o,matchAll:o,add:o,addAll:o,put:o,delete:o,keys:o});let I=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(I),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...I,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:y}},3691(e,t,r){let{Cache:i}=r(1044),{webidl:n}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:a}=r(3025);class o{#e3=new Map;constructor(){arguments[0]!==a&&n.illegalConstructor(),n.util.markAsUncloneable(this)}async match(e,t={}){if(n.brandCheck(this,o),n.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=n.converters.RequestInfo(e),null!=(t=n.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e3.has(t.cacheName)){let r=new i(a,this.#e3.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e3.values()){let n=new i(a,r),s=await n.match(e,t);if(void 0!==s)return s}}async has(e){n.brandCheck(this,o);let t="CacheStorage.has";return n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e3.has(e)}async open(e){n.brandCheck(this,o);let t="CacheStorage.open";if(n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e3.has(e))return new i(a,this.#e3.get(e));let r=[];return this.#e3.set(e,r),new i(a,r)}async delete(e){n.brandCheck(this,o);let t="CacheStorage.delete";return n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e3.delete(e)}async keys(){return n.brandCheck(this,o),[...this.#e3.keys()]}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:s,has:s,open:s,delete:s,keys:s}),e.exports={CacheStorage:o}},8220(e,t,r){let i=r(4589),{URLSerializer:n}=r(3518),{isValidHeaderName:s}=r(638);e.exports={urlEquals:function(e,t,r=!1){return n(e,r)===n(t,r)},getFieldValues:function(e){i(null!==e);let t=[];for(let r of e.split(","))s(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:i}=r(6248),{stringify:n}=r(751),{webidl:s}=r(849),{Headers:a}=r(3470),o=s.brandCheckMultiple([a,globalThis.Headers].filter(Boolean));function A(e,t){s.argumentLengthCheck(arguments,2,"setCookie"),o(e);let r=n(t=s.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}s.converters.DeleteCookieAttributes=s.dictionaryConverter([{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null}]),s.converters.Cookie=s.dictionaryConverter([{converter:s.converters.DOMString,key:"name"},{converter:s.converters.DOMString,key:"value"},{converter:s.nullableConverter(e=>"number"==typeof e?s.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:s.nullableConverter(s.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"secure",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:s.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:s.sequenceConverter(s.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){s.argumentLengthCheck(arguments,1,"getCookies"),o(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r},deleteCookie:function(e,t,r){o(e);let i="deleteCookie";s.argumentLengthCheck(arguments,2,i),t=s.converters.DOMString(t,i,"name"),r=s.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){s.argumentLengthCheck(arguments,1,"getSetCookies"),o(e);let t=e.getSetCookie();return t?t.map(e=>i(e)):[]},setCookie:A,parseCookie:function(e){return i(e=s.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:i}=r(5358),{maxNameValuePairSize:n,maxAttributeValueSize:s}=r(6674),{isCTLExcludingHtab:a}=r(751),o=r(4589);function A(e,t={}){if(0===e.length)return t;o(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=i(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let n="",a="";if(r.includes("=")){let e={position:0};n=i("=",r,e),a=r.slice(e.position+1)}else n=r;if(n=n.trim(),(a=a.trim()).length>s)return A(e,t);let l=n.toLowerCase();if("expires"===l){let e=new Date(a);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=a.charCodeAt(0);if((r<48||r>57)&&"-"!==a[0]||!/^\d+$/.test(a))return A(e,t);t.maxAge=Number(a)}else if("domain"===l){let e=a;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===a.length||"/"!==a[0]?"/":a;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=a.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${n}=${a}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(a(e))return null;let t="",r="",s="",o="";if(e.includes(";")){let n={position:0};t=i(";",e,n),r=e.slice(n.position)}else t=e;if(t.includes("=")){let e={position:0};s=i("=",t,e),o=t.slice(e.position+1)}else o=t;return(s=s.trim(),o=o.trim(),s.length+o.length>n)?null:{name:s,value:o,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function i(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function n(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${s[e.getUTCDay()]}, ${o[e.getUTCDate()]} ${a[e.getUTCMonth()]} ${e.getUTCFullYear()} ${o[e.getUTCHours()]}:${o[e.getUTCMinutes()]}:${o[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:i,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let s=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&s.push("Secure"),e.httpOnly&&s.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");s.push(`Max-Age=${e.maxAge}`)}for(let a of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(46===i){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!n(i)||!n(i)&&45!==i||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),s.push(`Domain=${e.domain}`)),e.path&&(i(e.path),s.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&s.push(`Expires=${A(e.expires)}`),e.sameSite&&s.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!a.includes("="))throw Error("Invalid unparsed");let[e,...i]=a.split("="),n=e.trim(),o=i.join("=");t(n),r(o),s.push(`${n}=${o}`)}return s.join("; ")}}},621(e,t,r){let{Transform:i}=r(7075),{isASCIINumber:n,isValidLastEventId:s}=r(2833),a=Buffer.from("data"),o=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let i=0;i<t;i++)if(e[i]!==r[i])return!1;return!0}e.exports={EventSourceStream:class extends i{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let i=e.length,n=e.length;if(-1!==r&&(i=r,32===e[n=r+1]&&++n),c(e,i,a)){let r=e.toString("utf8",n);void 0===t.data?t.data=r:t.data+=` +${r}`;return}if(c(e,i,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,n)&&(t.retry=e.toString("utf8",n));return}if(c(e,i,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,n)&&(t.id=e.toString("utf8",n));return}if(c(e,i,o)){let r=e.toString("utf8",n);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&n(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&s(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let i=this.chunks[r],n=r===this.lineChunkIndex?this.linePos:0,s=r===this.chunkIndex?this.pos:i.length,a=i.subarray(n,s);t+=a.length,e.push(a)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let i=this.chunks[t],n=i.length-r;if(e<n)return i[r+e];e-=n,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:i}=r(7075),{fetching:n}=r(7564),{webidl:s}=r(849),{EventSourceStream:a}=r(621),{parseMIMEType:o}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:u}=r(2833),g=!1;class h extends EventTarget{#e5={open:null,error:null,message:null};#e4;#e8=!1;#e9=0;#e6=null;#en=null;#Q;#eS;constructor(e,t={}){let r;super(),s.util.markAsUncloneable(this);let i="EventSource constructor";s.argumentLengthCheck(arguments,1,i),g||(g=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=s.converters.USVString(e),t=s.converters.EventSourceInitDict(t,i,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e4=r.href;let n="anonymous";!0===t.withCredentials&&(n="use-credentials",this.#e8=!0);let a=u(r,"",n);a.client=d.settingsObject,a.headersList.set("Accept","text/event-stream"),a.cache="no-store",a.initiator="other",this.#e6=a,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e4}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?o(t):"failure",n="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===n){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let s=new a({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});i(e.body.stream,s,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#en=n(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){s.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#en.abort(),this.#e6=null)}get onopen(){return this.#e5.open}set onopen(e){this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onmessage(){return this.#e5.message}set onmessage(e){this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get onerror(){return this.#e5.error}set onerror(e){this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}}let p={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,p),Object.defineProperties(h.prototype,p),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),s.converters.EventSourceInitDict=s.dictionaryConverter([{key:"withCredentials",converter:s.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:s.converters.any},{key:"node",converter:s.dictionaryConverter([{key:"reconnectionTime",converter:s.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:s.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:i}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,n){let s="no cors"===r?"no-cors":"cors";n&&"no-cors"===s&&(s="same-origin");let a="include";return"anonymous"===r&&(a="same-origin"),i({urlList:[e],destination:t,mode:s,credentials:a,useURLCredentials:!0})}}},4626(e,t,r){let i=r(1210),{ReadableStreamFrom:n,readableStreamClose:s,fullyReadBody:a,extractMimeType:o}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),u=r(4589),{isErrored:g,isDisturbed:h}=r(7075),{isUint8Array:p}=r(3429),{serializeAMimeType:m}=r(3518),{multipartFormDataParser:f}=r(7750),{parseJSONFromBytes:C}=r(5358),{utf8DecodeBytes:y}=r(2718),{ReadableStreamTee:I}=r(7830),E=new TextEncoder;function B(){}function Q(e,t=!1){let r=null,a=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){a=e},cancel(){},type:"bytes"}),u(d.is.ReadableStream(r));let o=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r +Content-Disposition: form-data`,i=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),n=e=>e.replace(/\r?\n|\r/g,"\r\n"),s=[],a=new Uint8Array([13,10]);l=0;let d=!1;for(let[t,o]of e)if("string"==typeof o){let e=E.encode(r+`; name="${i(n(t))}"`+`\r \r -${i(a)}\r -`);s.push(e),l+=e.byteLength}else{let e=y.encode(`${r}; name="${n(i(t))}"`+(a.name?`; filename="${n(a.name)}"`:"")+"\r\n"+`Content-Type: ${a.type||"application/octet-stream"}\r +${n(o)}\r +`);s.push(e),l+=e.byteLength}else{let e=E.encode(`${r}; name="${i(n(t))}"`+(o.name?`; filename="${i(o.name)}"`:"")+"\r\n"+`Content-Type: ${o.type||"application/octet-stream"}\r \r -`);s.push(e,a,o),"number"==typeof a.size?l+=e.byteLength+a.size+o.byteLength:d=!0}let g=y.encode(`--${t}--\r -`);s.push(g),l+=g.byteLength,d&&(l=null),A=e,a=async function*(){for(let e of s)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(n.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:i(e)}return("string"==typeof A||m(A))&&(a=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=a&&(async()=>{let e=a(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(u(r))break;e.length&&o.enqueue(new Uint8Array(e))}else e?.length&&!u(r)&&o.enqueue("string"==typeof e?y.encode(e):new Uint8Array(e));queueMicrotask(()=>s(o))})(),[{stream:r,source:A,length:l},h]}function N(e,t,r,n){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(b(e=n(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let i=Promise.withResolvers(),s=i.reject,a=e=>{try{i.resolve(t(e))}catch(e){s(e)}};return null==e.body?a(Buffer.allocUnsafe(0)):o(e.body,a,s),i.promise}function b(e){let t=e.body;return null!=t&&(t.stream.locked||n.isDisturbed(t.stream))}function S(e){let t=a(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(g(!n.isDisturbed(e),"The body has already been consumed."),g(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=E?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return N(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=p(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return N(this,e=>new Uint8Array(e).buffer,e,t)},text(){return N(this,I,e,t)},json(){return N(this,f,e,t)},formData(){return N(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=C(e,r),n=new A;return l(n,t),n}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,n]of t)r.append(e,n);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return N(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(b(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,n=new TextDecoderStream("UTF-8");return r.pipeThrough(n)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||u(t)||t.cancel("Response object has been garbage collected").catch(B)}),bodyUnusable:b}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),n=[301,302,303,307,308],i=new Set(n),s=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],o=new Set(s),a=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...a],l=new Set(a),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),g=["CONNECT","TRACE","TRACK"],u=new Set(g),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],m=new Set(h);e.exports={subresource:h,forbiddenMethods:g,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:n,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:s,requestDuplex:["half"],subresourceSet:m,badPortsSet:o,redirectStatusSet:i,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:u,referrerPolicyTokens:l}},3518(e,t,r){let n=r(4589),{forgivingBase64:i,collectASequenceOfCodePoints:s,collectASequenceOfCodePointsFast:o,isomorphicDecode:a,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,g=/[\u000A\u000D\u0009\u0020]/u,u=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,n=e.hash.length,i=0===n?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}function m(e){return function(e){let t=e.length,r=new Uint8Array(t),n=0,i=0;for(;i<t;){let t=e[i];37!==t?r[n++]=t:37!==t||p(e[i+1])&&p(e[i+2])?(r[n++]=C(e[i+1])<<4|C(e[i+2]),i+=2):r[n++]=37,++i}return t===n?r:r.subarray(0,n)}(c.encode(e))}function p(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=57?e-48:(223&e)-55}function f(e){e=y(e,!0,!0);let t={position:0},r=o("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let n=o(";",e,t);if(0===(n=y(n,!1,!0)).length||!d.test(n))return"failure";let i=r.toLowerCase(),a=n.toLowerCase(),A={type:i,subtype:a,parameters:new Map,essence:`${i}/${a}`};for(;t.position<e.length;){t.position++,s(e=>g.test(e),e,t);let r=s(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let n=null;if('"'===e[t.position])n=I(e,t,!0),o(";",e,t);else if(0===(n=y(n=o(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===n.length||u.test(n))&&!A.parameters.has(r)&&A.parameters.set(r,n)}return A}function I(e,t,r=!1){let i=t.position,o="";for(n('"'===e[t.position]),t.position++;o+=s(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){o+="\\";break}o+=e[t.position],t.position++}else{n('"'===r);break}}return r?o:e.slice(i,t.position)}function E(e){return 13===e||10===e||9===e||32===e}function y(e,t=!0,r=!0){return l(e,t,r,E)}e.exports={dataURLProcessor:function(e){n("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},s=o(",",t,r),l=s.length;if(s=A(s,!0,!0),r.position>=t.length)return"failure";r.position++;let c=m(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(s)){if("failure"===(c=i(a(c))))return"failure";s=(s=(s=s.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let d=f(s);return"failure"===d&&(d=f("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:m,parseMIMEType:f,collectAnHTTPQuotedString:I,serializeAMimeType:function(e){n("failure"!==e);let{parameters:t,essence:r}=e,i=r;for(let[e,r]of t.entries())i+=";",i+=e,i+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),i+=r;return i},removeHTTPWhitespace:y,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:n}=r(1210),{HTTP_TOKEN_CODEPOINTS:i}=r(3518),{makeEntry:s}=r(1304),{webidl:o}=r(849),a=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function g(e,t,r){let n=r.position;for(;n<t.length&&e(t[n]);)++n;return t.subarray(r.position,r.position=n)}function u(e,t,r,n){let i=0,s=e.length-1;if(t)for(;i<e.length&&n(e[i]);)i++;if(r)for(;s>0&&n(e[s]);)s--;return 0===i&&s===e.length-1?e:e.subarray(i,s+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function m(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){a("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let p=Buffer.from(`--${r}`,"utf8"),C=[],f={position:0},I=e.indexOf(p);if(-1===I)throw h("no boundary found in multipart body");for(f.position=I;;){let t,r;if(e.subarray(f.position,f.position+p.length).equals(p))f.position+=p.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[r.position+n])return!1;return!0}(e,l,f))return C;if(13!==e[f.position]||10!==e[f.position+1])throw h("expected CRLF");f.position+=2;let{name:I,filename:E,contentType:y,encoding:B}=function(e,t){let r=null,s=null,o=null,a=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:s,contentType:o,encoding:a}}let l=g(e=>10!==e&&13!==e&&58!==e,e,t);if(l=u(l,!0,!0,e=>9===e||32===e),!i.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,g(e=>32===e||9===e,e,t),n(l)){case"content-disposition":{r=s=null;let n=!1;if("form-data"!==g(e=>m(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let i=function(e,t){let r;59===e[t.position]&&t.position++,g(e=>32===e||9===e,e,t);let n=g(e=>m(e)&&61!==e&&42!==e,e,t);if(0===n.length)return null;let i=n.toString("ascii").toLowerCase(),s=42===e[t.position];if(s&&t.position++,61!==e[t.position])return null;if(t.position++,g(e=>32===e||9===e,e,t),s){let n=g(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==n[0]&&85!==n[0]||116!==n[1]&&84!==n[1]||102!==n[2]&&70!==n[2]||45!==n[3]||56!==n[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(n.subarray(7)))}else if(34===e[t.position]){t.position++;let n=g(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(n).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let n=g(e=>m(e)&&59!==e,e,t);r=c.decode(n)}return{name:i,value:r,extended:s}}(e,t);if(!i)break;"name"===i.name?r=i.value:"filename"===i.name&&(i.extended?(s=i.value,n=!0):n||(s=i.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=g(e=>10!==e&&13!==e,e,t);o=A(r=u(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=g(e=>10!==e&&13!==e,e,t);a=A(r=u(r,!1,!0,e=>9===e||32===e));break}default:g(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,f);f.position+=2;{let r=e.indexOf(p.subarray(2),f.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(f.position,r-4),f.position+=t.length,"base64"===B&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[f.position]||10!==e[f.position+1])throw h("expected CRLF");f.position+=2,null!==E?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(y??="text/plain")&&(y=""),r=new File([t],E,{type:y})):r=d.decode(Buffer.from(t)),a(o.is.USVString(I)),a("string"==typeof r&&o.is.USVString(r)||o.is.File(r)),C.push(s(I,r,E))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:n}=r(638),{kEnumerableProperty:i}=r(1210),{webidl:s}=r(849),o=r(7975),{runtimeFeatures:a}=r(6979),A=a.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(s.util.markAsUncloneable(this),void 0!==e)throw s.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){s.brandCheck(this,l);let n="FormData.append";s.argumentLengthCheck(arguments,2,n),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,n,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let i=u(e,t,r);this.#eS.push(i)}delete(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.delete"),e=s.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.get"),e=s.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.getAll"),e=s.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.has"),e=s.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){s.brandCheck(this,l);let n="FormData.set";s.argumentLengthCheck(arguments,2,n),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,n,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let i=u(e,t,r),o=this.#eS.findIndex(t=>t.name===e);-1!==o?this.#eS=[...this.#eS.slice(0,o),i,...this.#eS.slice(o+1).filter(t=>t.name!==e)]:this.#eS.push(i)}[o.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let n=o.formatWithOptions(t,r);return`FormData ${n.slice(n.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:g}=l;function u(e,t,r){if("string"==typeof t);else if(s.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),n("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:i,delete:i,get:i,getAll:i,has:i,set:i,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),s.is.FormData=s.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:u,setFormDataState:d,getFormDataBoundary:g}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:n}=r(3025),{kEnumerableProperty:i}=r(1210),{iteratorMixin:s,isValidHeaderName:o,isValidHeaderValue:a}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function g(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function u(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let n=t[r];if(2!==n.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});h(e,n[0],n[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let n=0;n<r.length;++n)h(e,r[n],t[r[n]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=g(r),o(t)){if(!a(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===f(e))throw TypeError("immutable");return E(e).append(t,r,!1)}function m(e,t){return e[0]<t[0]?-1:1}class p{cookies=null;sortedMap;headersMap;constructor(e){e instanceof p?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let n=r?e:e.toLowerCase(),i=this.headersMap.get(n);if(i){let e="cookie"===n?"; ":", ";this.headersMap.set(n,{name:i.name,value:`${i.value}${e}${t}`})}else this.headersMap.set(n,{name:e,value:t});"set-cookie"===n&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let n=r?e:e.toLowerCase();"set-cookie"===n&&(this.cookies=[t]),this.headersMap.set(n,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:n}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,n]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),n=r.next().value;t[0]=[n[0],n[1].value],l(null!==n[1].value);for(let n=1,i=0,s=0,o=0,a=0,A,c;n<e;++n){for(c=r.next().value,l(null!==(A=t[n]=[c[0],c[1].value])[1]),o=0,s=n;o<s;)t[a=o+(s-o>>1)][0]<=A[0]?o=a+1:s=a;if(n!==a){for(i=n;i>o;)t[i]=t[--i];t[o]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:n}}of this.headersMap)t[e++]=[r,n],l(null!==n);return t.sort(m)}}}class C{#tr;#tn;constructor(e){if(A.util.markAsUncloneable(this),e===n)return;this.#tn=new p,this.#tr="none",void 0!==e&&u(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.delete"),!o(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#tn.contains(e,!1)&&this.#tn.delete(e,!1)}get(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#tn.get(e,!1)}has(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#tn.contains(e,!1)}set(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=g(t=A.converters.ByteString(t,r,"value")),o(e)){if(!a(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#tn.set(e,t,!1)}getSetCookie(){A.brandCheck(this,C);let e=this.#tn.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#tn.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#tn}static setHeadersList(e,t){e.#tn=t}}let{getHeadersGuard:f,setHeadersGuard:I,getHeadersList:E,setHeadersList:y}=C;Reflect.deleteProperty(C,"getHeadersGuard"),Reflect.deleteProperty(C,"setHeadersGuard"),Reflect.deleteProperty(C,"getHeadersList"),Reflect.deleteProperty(C,"setHeadersList"),s("Headers",C,function(e){let t=E(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],n=t.toSortedArray(),i=t.cookies;if(null===i||1===i.length)return t.sortedMap=n;for(let e=0;e<n.length;++e){let{0:t,1:s}=n[e];if("set-cookie"===t)for(let e=0;e<i.length;++e)r.push([t,i[e]]);else r.push([t,s])}return t.sortedMap=r},0,1),Object.defineProperties(C.prototype,{append:i,delete:i,get:i,has:i,set:i,getSetCookie:i,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let n=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&n===C.prototype.entries)try{return E(e).entriesList}catch{}return"function"==typeof n?A.converters["sequence<sequence<ByteString>>"](e,t,r,n.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:u,compareHeaderName:m,Headers:C,HeadersList:p,getHeadersGuard:f,setHeadersGuard:I,setHeadersList:y,getHeadersList:E}},7564(e,t,r){let n,{makeNetworkError:i,makeAppropriateNetworkError:s,filterResponse:o,makeResponse:a,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:g,getRequestDispatcher:u,getRequestState:h,removeRequestAbortListener:m}=r(9553),p=r(8522),{makePolicyContainer:C,clonePolicyContainer:f,requestBadPort:I,TAOCheck:E,appendRequestOriginHeader:y,responseLocationURL:B,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:N,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:D,crossOriginResourcePolicyCheck:x,determineRequestsReferrer:R,coarsenedSharedCurrentTime:k,sameOrigin:v,isCancelled:M,isAborted:U,isErrorLike:F,fullyReadBody:T,readableStreamClose:L,urlIsLocal:O,urlIsHttpHttpsScheme:H,urlHasHttpsScheme:P,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:z,createInflate:q,extractMimeType:V,hasAuthenticationEntry:_,includesCredentials:J,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:K,extractBody:X}=r(4626),{redirectStatusSet:Z,nullBodyStatus:$,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),en=r(8474),{Readable:ei,pipeline:es,finished:eo,isErrored:ea,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eg,minimizeSupportedMimeType:eu}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:em}=r(849),{STATUS_CODES:ep}=r(7067),{bytesMatch:eC}=r(2300),{isomorphicEncode:ef}=r(5358),eI=["GET","HEAD"],eE="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function ey(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let n=ec(r[t]),i=r[t+1];if(Array.isArray(i)&&!Buffer.isBuffer(i))for(let t of i)e.append(n,t.toString("latin1"),!0);else e.append(n,i.toString("latin1"),!0)}return}for(let[r,n]of Object.entries(t??{}))if(Array.isArray(n))for(let t of n)e.append(r,`${t}`,!0);else e.append(r,`${n}`,!0)}class eB extends en{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],n=e.timingInfo,i=e.cacheState;H(r)&&null!==n&&(e.timingAllowPassed||(n=S({startTime:n.startTime}),i=""),n.endTime=k(),e.timingInfo=n,eN(n,r.href,t,globalThis,i,"",e.status))}let eN=performance.markResourceTiming;function eb(e,t,r,n,i){if(e&&e.reject(n),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(n).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let s=l(r);s.body?.stream!=null&&eA(s.body.stream)&&i.error(n)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:o=!1,dispatcher:a=eh(),requestObject:A=null}){j(a);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:k(c)}),g={controller:new eB(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=f(e.client.policyContainer):e.policyContainer=C()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(g,!1),g.controller}async function ew(e,t){try{let r=e.request,n=null;if(r.localURLsOnly&&!O(Q(r))&&(n=i("local URLs only")),b(r),"blocked"===I(r)&&(n=i("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===n){let t=Q(r);v(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",n=await eD(e)):"same-origin"===r.mode?n=i('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?n=i('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",n=await eD(e)):H(Q(r))?(r.responseTainting="cors",n=await eR(e)):n=i("URL scheme must be a HTTP(S) scheme")}if(t)return n;0===n.status||n.internalResponse||(r.responseTainting,"basic"===r.responseTainting?n=o(n,"basic"):"cors"===r.responseTainting?n=o(n,"cors"):"opaque"===r.responseTainting?n=o(n,"opaque"):j(!1));let s=0===n.status?n:n.internalResponse;if(0===s.urlList.length&&s.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),"opaque"===n.type&&206===s.status&&s.rangeRequested&&!r.headers.contains("range",!0)&&(n=s=i()),0!==n.status&&("HEAD"===r.method||"CONNECT"===r.method||$.includes(s.status))&&(s.body=null,e.controller.dump=!0),r.integrity){let t=t=>ex(e,i(t));if("opaque"===r.responseTainting||null==n.body)return void t(n.error);T(n.body,i=>{eC(i,r.integrity)?(n.body=K(i)[0],ex(e,n)):t("integrity mismatch")},t)}else ex(e,n)}catch(t){e.controller.terminate(t)}}function eD(e){if(M(e)&&0===e.request.redirectCount)return Promise.resolve(s(e));let{request:t}=e,{protocol:o}=Q(t);switch(o){case"about:":return Promise.resolve(i("about scheme is not supported"));case"blob:":{n||(n=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(i("NetworkError when attempting to fetch resource."));let s=n(e.toString());if("GET"!==t.method||!em.is.Blob(s))return Promise.resolve(i("invalid method"));let o=a(),A=s.size,l=ef(`${A}`),c=s.type;if(t.headersList.contains("range",!0)){o.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(i("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:n}=e;if(null===r)n=(r=A-n)+n-1;else{if(r>=A)return Promise.resolve(i("Range start is greater than the blob's size."));(null===n||n>=A)&&(n=A-1)}let a=s.slice(r,n+1,c);o.body=X(a)[0];let l=ef(`${a.size}`),d=z(r,n,A);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",d,!0)}else{let e=X(s);o.statusText="OK",o.body=e[0],o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0)}return Promise.resolve(o)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(i("failed to fetch the data URL"));return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eg(e.mimeType)}]],body:K(e.body)[0]}))}case"file:":return Promise.resolve(i("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>i(e));default:return Promise.resolve(i("unknown scheme"))}}function ex(e,t){let r=e.timingInfo,n=()=>{let n=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!H(e.request.url))return;r.endTime=n;let i=t.cacheState,s=t.bodyInfo;t.timingAllowPassed||(r=S(r),i="");let o=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){o=t.status;let e=V(t.headersList);"failure"!==e&&(s.contentType=eu(e))}null!=e.request.initiatorType&&eN(r,e.request.url.href,e.request.initiatorType,globalThis,i,s,o)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let i="error"===t.type?t:t.internalResponse??t;null==i.body?n():eo(i.body.stream,()=>{n()})}async function eR(e){let t=e.request,r=null,n=null,s=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),n=r=await ek(e),"cors"===t.responseTainting&&"failure"===D(t,r))return i("cors failure");"failure"===E(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===x(t.origin,t.client,t.destination,n)?i("blocked"):(Z.has(n.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=i("unexpected redirect"):"manual"===t.redirect?r=n:"follow"===t.redirect?r=await function(e,t){let r,n=e.request,s=t.internalResponse?t.internalResponse:t;try{if(r=B(s,Q(n).hash),null==r)return t}catch(e){return Promise.resolve(i(e))}if(!H(r))return Promise.resolve(i("URL scheme must be a HTTP(S) scheme"));if(20===n.redirectCount)return Promise.resolve(i("redirect count exceeded"));if(n.redirectCount+=1,"cors"===n.mode&&(r.username||r.password)&&!v(n,r))return Promise.resolve(i('cross origin not allowed for request mode "cors"'));if("cors"===n.responseTainting&&(r.username||r.password))return Promise.resolve(i('URL cannot contain credentials for request mode "cors"'));if(303!==s.status&&null!=n.body&&null==n.body.source)return Promise.resolve(i());if([301,302].includes(s.status)&&"POST"===n.method||303===s.status&&!eI.includes(n.method))for(let e of(n.method="GET",n.body=null,et))n.headersList.delete(e);v(Q(n),r)||(n.headersList.delete("authorization",!0),n.headersList.delete("proxy-authorization",!0),n.headersList.delete("cookie",!0),n.headersList.delete("host",!0)),null!=n.body&&(j(null!=n.body.source),n.body=K(n.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=k(e.crossOriginIsolatedCapability),0===o.redirectStartTime&&(o.redirectStartTime=o.startTime),n.urlList.push(r),N(n,s),ew(e,!0)}(e,r):j(!1)),r.timingInfo=s,r)}async function ek(e,t=!1,r=!1){let n=e.request,o=null,a=null,A=null;"no-window"===n.window&&"error"===n.redirect?(o=e,a=n):(n.body?.source!=null?a=g(n):(a=g({...n,body:null})).body=n.body,(o={...e}).request=a);let l="include"===n.credentials||"same-origin"===n.credentials&&"basic"===n.responseTainting,c=a.body?a.body.length:null,d=null;if(null==a.body&&["POST","PUT"].includes(a.method)&&(d="0"),null!=c&&(d=ef(`${c}`)),null==d||a.headersList.contains("content-length",!0)||a.headersList.append("content-length",d,!0),null!=c&&a.keepalive,em.is.URL(a.referrer)&&a.headersList.append("referer",ef(a.referrer.href),!0),y(a),w(a),a.headersList.contains("user-agent",!0)||a.headersList.append("user-agent",eE,!0),"default"===a.cache&&(a.headersList.contains("if-modified-since",!0)||a.headersList.contains("if-none-match",!0)||a.headersList.contains("if-unmodified-since",!0)||a.headersList.contains("if-match",!0)||a.headersList.contains("if-range",!0))&&(a.cache="no-store"),"no-cache"!==a.cache||a.preventNoCacheCacheControlHeaderModification||a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","max-age=0",!0),("no-store"===a.cache||"reload"===a.cache)&&(a.headersList.contains("pragma",!0)||a.headersList.append("pragma","no-cache",!0),a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","no-cache",!0)),a.headersList.contains("range",!0)&&a.headersList.append("accept-encoding","identity",!0),a.headersList.contains("accept-encoding",!0)||(P(Q(a))?a.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):a.headersList.append("accept-encoding","gzip, deflate",!0)),a.headersList.delete("host",!0),l&&!a.headersList.contains("authorization",!0)){let e=null;if(_(a)&&(void 0===a.useURLCredentials||!J(Q(a))));else if(J(Q(a))&&t){let{username:t,password:r}=Q(a);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&a.headersList.append("Authorization",e,!1)}if(a.cache="no-store","no-store"!==a.cache&&a.cache,null==A){if("only-if-cached"===a.cache)return i("only if cached");let e=await ev(o,l,r);!ee.has(a.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...a.urlList],a.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==a.responseTainting&&l&&(void 0!==n.useURLCredentials||W(n.traversableForUserPrompts))){if(null!=n.body){if(null==n.body.source)return A;n.body=K(n.body.source)[0]}if(void 0===n.useURLCredentials||t)return M(e)?s(e):A;e.controller.connection.destroy(),A=await ek(e,!0)}if(407===A.status)return"no-window"===n.window?i():M(e)?s(e):i("proxy authentication required");if(421===A.status&&!r&&(null==n.body||null!=n.body.source)){if(M(e))return s(e);e.controller.connection.destroy(),A=await ek(e,t,!0)}return A}async function ev(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let n=e.request,o=null,A=e.timingInfo;n.cache="no-store",n.mode;let l=null;if(null==n.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=n.body){let t=async function*(t){M(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of n.body.stream)yield*t(e);!M(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){M(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:i,headersList:s,socket:d}=await function({body:t}){let r=Q(n),i=e.controller.dispatcher,s=r.pathname+r.search,o=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(a,l){return new Promise((d,g)=>i.dispatch({path:o?`${s}?`:s,origin:r.origin,method:n.method,body:i.isMockActive?n.body&&(n.body.source||n.body.stream):a,__mockAgentBodyForDispatch:a,headers:n.headersList.entries,maxRedirections:0,upgrade:"websocket"===n.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let n=e=>t.abort(e);r.destroyed?n(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",n),this.abort=r.abort=n),A.finalNetworkRequestStartTime=k(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=k(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,i){if(t<200)return;let s=e?.rawHeaders??[],o=new c;ey(o,r,s);let a=o.get("location",!0);this.body=new ei({read:()=>e.resume()});let A=a&&"follow"===n.redirect&&Z.has(t),l=[];if("HEAD"!==n.method&&"CONNECT"!==n.method&&!$.includes(t)&&!A){let e=o.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void g(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(p.createGunzip({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(q({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(p.createBrotliDecompress({flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(p.createZstdDecompress({flush:p.constants.ZSTD_e_continue,finishFlush:p.constants.ZSTD_e_end}));else{l.length=0;break}}}let u=t=>this.onResponseError(e,t);d({status:t,statusText:i,headersList:o,body:l.length?es(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",u):this.body.on("error",u)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,i){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===n.mode&&!1!==l&&i?.code==="UND_ERR_INFO"&&i?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(a,!1)):(this.body?.destroy(i),e.controller.terminate(i),g(i))},onRequestUpgrade(e,t,r,n){if(null!=n.session&&200!==t||null==n.session&&101!==t)return!1;let i=e?.rawHeaders??[],s=new c;return ey(s,r,i),d({status:t,statusText:ep[t],headersList:s,socket:n}),!0}}))}(t)}({body:l});if(d)o=a({status:r,statusText:i,headersList:s,socket:d});else{let n=t[Symbol.asyncIterator]();e.controller.next=()=>n.next(),o=a({status:r,statusText:i,headersList:s})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),s(e,t);return i(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{M(e)||e.controller.abort(t)},type:"bytes"});return o.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){U(e)?(o.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:F(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:n}=await e.controller.next();if(U(e))break;t=r?void 0:n}catch(n){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=n,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,o);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let n=new Uint8Array(t);if(n.byteLength&&e.controller.controller.enqueue(n),ea(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},o}e.exports={fetch:function(e,t){let r;em.argumentLengthCheck(arguments,1,"globalThis.fetch");let n=Promise.withResolvers();try{r=new d(e,t)}catch(e){return n.reject(e),n.promise}let i=h(r);if(r.signal.aborted)return eb(n,i,null,r.signal.reason,null),n.promise;let s=i.client.globalObject;s?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let o=null,a=!1,l=null,c=el(r.signal,()=>{a=!0,j(null!=l),l.abort(r.signal.reason);let e=o?.deref();eb(n,i,e,r.signal.reason,l.controller)}),g=()=>{c(),m(r)};return l=eS({request:i,processResponseEndOfBody:e=>{eQ(e,"fetch"),g()},processResponse:e=>{if(!a){if(e.aborted){eb(n,i,o,l.serializedAbortReason,l.controller),g();return}if("error"===e.type){n.reject(TypeError("fetch failed",{cause:e.error})),g();return}o=new WeakRef(A(e,"immutable")),n.resolve(o.deref()),n=null}},dispatcher:u(r),requestObject:r}),n.promise},Fetch:eB,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let n,{extractBody:i,mixinBody:s,cloneBody:o,bodyUnusable:a}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:g,setHeadersList:u,getHeadersList:h}=r(3470),m=r(1210),p=r(7975),{isValidHTTPToken:C,sameOrigin:f,environmentSettingsObject:I}=r(638),{forbiddenMethodsSet:E,corsSafeListedMethodsSet:y,referrerPolicy:B,requestRedirect:Q,requestMode:N,requestCredentials:b,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:D,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=m,{webidl:k}=r(849),{URLSerializer:v}=r(3518),{kConstruct:M}=r(3025),U=r(4589),{getMaxListeners:F,setMaxListeners:T,defaultMaxListeners:L}=r(8474),O=Symbol("abortController"),H=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),P=new WeakMap;try{n=F(new AbortController().signal)>0}catch{n=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){H.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=P.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}P.delete(r.signal)}}}}let G=!1;class z{#ti;#Q;#$;#eS;#ts=null;constructor(e,t){let r;if(k.util.markAsUncloneable(this),e===M)return;k.argumentLengthCheck(arguments,1,"Request constructor"),e=k.converters.RequestInfo(e),t=k.converters.RequestInit(t);let s=null,o=null,g=I.settingsObject.baseUrl,p=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,g)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=X({urlList:[r]}),o="cors"}else U(k.is.Request(e)),s=e.#eS,p=e.#ti,this.#Q=t.dispatcher||e.#Q;let B=I.settingsObject.origin,Q="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&f(s.window,B)&&(Q=s.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),s=X({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:I.settingsObject,window:Q,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let N=0!==Object.keys(t).length;if(N&&("navigate"===s.mode&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)s.referrer="no-referrer";else{let t;try{t=new URL(e,g)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||B&&!f(t,I.settingsObject.baseUrl)?s.referrer="client":s.referrer=t}}if(void 0!==t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:o))throw k.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(s.mode=r),void 0!==t.credentials&&(s.credentials=t.credentials),void 0!==t.cache&&(s.cache=t.cache),"only-if-cached"===s.cache&&"same-origin"!==s.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(s.redirect=t.redirect),null!=t.integrity&&(s.integrity=String(t.integrity)),void 0!==t.keepalive&&(s.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)s.method=r;else{if(!C(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(E.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=x[t]??e,s.method=e}G||"patch"!==s.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(p=t.signal),this.#eS=s;let b=new AbortController;if(this.#ti=b.signal,null!=p)if(p.aborted)b.abort(p.reason);else{this[O]=b;let e=Y(new WeakRef(b));n&&F(p)===L&&T(1500,p);let t=m.addAbortListener(p,e);H.register(b,{signal:p,abort:e},e),this.#ts=()=>{H.unregister(e),t(),this.#ts=null}}if(this.#$=new A(M),u(this.#$,s.headersList),d(this.#$,"request"),"no-cors"===r){if(!y.has(s.method))throw TypeError(`'${s.method} is unsupported in no-cors mode.`);d(this.#$,"request-no-cors")}if(N){let e=h(this.#$),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:n}of r.rawValues())e.append(t,n,!1);e.cookies=r.cookies}else l(this.#$,r)}let S=k.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===s.method||"HEAD"===s.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=i(t.body,s.keepalive);w=e,r&&!h(this.#$).contains("content-type",!0)&&this.#$.append("content-type",r,!0)}let D=w??S;if(null!=D&&null==D.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==s.mode&&"cors"!==s.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let v=D;if(null==w&&null!=S){if(a(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),v={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=v}get method(){return k.brandCheck(this,z),this.#eS.method}get url(){return k.brandCheck(this,z),v(this.#eS.url)}get headers(){return k.brandCheck(this,z),this.#$}get destination(){return k.brandCheck(this,z),this.#eS.destination}get referrer(){return(k.brandCheck(this,z),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return k.brandCheck(this,z),this.#eS.referrerPolicy}get mode(){return k.brandCheck(this,z),this.#eS.mode}get credentials(){return k.brandCheck(this,z),this.#eS.credentials}get cache(){return k.brandCheck(this,z),this.#eS.cache}get redirect(){return k.brandCheck(this,z),this.#eS.redirect}get integrity(){return k.brandCheck(this,z),this.#eS.integrity}get keepalive(){return k.brandCheck(this,z),this.#eS.keepalive}get isReloadNavigation(){return k.brandCheck(this,z),this.#eS.reloadNavigation}get isHistoryNavigation(){return k.brandCheck(this,z),this.#eS.historyNavigation}get signal(){return k.brandCheck(this,z),this.#ti}get body(){return k.brandCheck(this,z),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return k.brandCheck(this,z),!!this.#eS.body&&m.isDisturbed(this.#eS.body.stream)}get duplex(){return k.brandCheck(this,z),"half"}clone(){if(k.brandCheck(this,z),a(this.#eS))throw TypeError("unusable");let e=Z(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=P.get(this.signal);void 0===e&&(e=new Set,P.set(this.signal,e));let r=new WeakRef(t);e.add(r),m.addAbortListener(t.signal,Y(r))}return $(e,this.#Q,t.signal,g(this.#$))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${p.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#ti=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#$=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#ts?.()}}let{setRequestSignal:q,getRequestDispatcher:V,setRequestDispatcher:_,setRequestHeaders:J,getRequestState:W,setRequestState:j,removeRequestAbortListener:K}=z;function X(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function Z(e){let t=X({...e,body:null});return null!=e.body&&(t.body=o(e.body)),t}function $(e,t,r,n){let i=new z(M);j(i,e),_(i,t),q(i,r);let s=new A(M);return J(i,s),u(s,e.headersList),d(s,n),i}Reflect.deleteProperty(z,"setRequestSignal"),Reflect.deleteProperty(z,"getRequestDispatcher"),Reflect.deleteProperty(z,"setRequestDispatcher"),Reflect.deleteProperty(z,"setRequestHeaders"),Reflect.deleteProperty(z,"getRequestState"),Reflect.deleteProperty(z,"setRequestState"),Reflect.deleteProperty(z,"removeRequestAbortListener"),s(z,W),Object.defineProperties(z.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),k.is.Request=k.util.MakeTypeAssertion(z),k.converters.RequestInfo=function(e){return"string"==typeof e?k.converters.USVString(e):k.is.Request(e)?e:k.converters.USVString(e)},k.converters.RequestInit=k.dictionaryConverter([{key:"method",converter:k.converters.ByteString},{key:"headers",converter:k.converters.HeadersInit},{key:"body",converter:k.nullableConverter(k.converters.BodyInit)},{key:"referrer",converter:k.converters.USVString},{key:"referrerPolicy",converter:k.converters.DOMString,allowedValues:B},{key:"mode",converter:k.converters.DOMString,allowedValues:N},{key:"credentials",converter:k.converters.DOMString,allowedValues:b},{key:"cache",converter:k.converters.DOMString,allowedValues:S},{key:"redirect",converter:k.converters.DOMString,allowedValues:Q},{key:"integrity",converter:k.converters.DOMString},{key:"keepalive",converter:k.converters.boolean},{key:"signal",converter:k.nullableConverter(e=>k.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:k.converters.any},{key:"duplex",converter:k.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:k.converters.any},{key:"priority",converter:k.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:z,makeRequest:X,fromInnerRequest:$,cloneRequest:Z,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:K}},165(e,t,r){let{Headers:n,HeadersList:i,fill:s,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:g,bodyUnusable:u}=r(4626),h=r(1210),m=r(7975),{kEnumerableProperty:p}=h,{isValidReasonPhrase:C,isCancelled:f,isAborted:I,isErrorLike:E,environmentSettingsObject:y}=r(638),{redirectStatusSet:B,nullBodyStatus:Q}=r(6113),{webidl:N}=r(849),{URLSerializer:b}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:D,serializeJavascriptValueToJSONString:x}=r(5358),R=new TextEncoder("utf-8");class k{#$;#eS;static error(){return G(O(),"immutable")}static json(e,t){N.argumentLengthCheck(arguments,1,"Response.json"),t=N.converters.ResponseInit(t);let r=l(R.encode(x(e))),n=G(L({}),"response");return Y(n,t,{body:r[0],type:"application/json"}),n}static redirect(e,t=302){let r;N.argumentLengthCheck(arguments,1,"Response.redirect"),e=N.converters.USVString(e),t=N.converters["unsigned short"](t);try{r=new URL(e,y.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!B.has(t))throw RangeError(`Invalid status code ${t}`);let n=G(L({}),"immutable");n.#eS.status=t;let i=D(b(r));return n.#eS.headersList.append("location",i,!0),n}constructor(e=null,t){if(N.util.markAsUncloneable(this),e===S)return;null!==e&&(e=N.converters.BodyInit(e,"Response","body")),t=N.converters.ResponseInit(t),this.#eS=L({}),this.#$=new n(S),a(this.#$,"response"),A(this.#$,this.#eS.headersList);let r=null;if(null!=e){let[t,n]=l(e);r={body:t,type:n}}Y(this,t,r)}get type(){return N.brandCheck(this,k),this.#eS.type}get url(){N.brandCheck(this,k);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":b(t,!0)}get redirected(){return N.brandCheck(this,k),this.#eS.urlList.length>1}get status(){return N.brandCheck(this,k),this.#eS.status}get ok(){return N.brandCheck(this,k),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return N.brandCheck(this,k),this.#eS.statusText}get headers(){return N.brandCheck(this,k),this.#$}get body(){return N.brandCheck(this,k),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return N.brandCheck(this,k),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(N.brandCheck(this,k),u(this.#eS))throw N.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&g.register(this,new WeakRef(this.#eS.body.stream)),G(e,o(this.#$))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#$}static setResponseHeaders(e,t){e.#$=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:v,setResponseHeaders:M,getResponseState:U,setResponseState:F}=k;function T(e){if(e.internalResponse)return P(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new i(e?.headersList):new i,urlList:e?.urlList?[...e.urlList]:[]}}function O(e){return L({type:"error",status:0,error:E(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function H(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,n)=>(w(!(r in t)),e[r]=n,!0)})}function P(e,t){return"basic"===t?H(e,{type:"basic",headersList:e.headersList}):"cors"===t?H(e,{type:"cors",headersList:e.headersList}):"opaque"===t?H(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?H(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!C(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(U(e).status=t.status),"statusText"in t&&null!=t.statusText&&(U(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&s(v(e),t.headers),r){if(Q.includes(e.status))throw N.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});U(e).body=r.body,null==r.type||U(e).headersList.contains("content-type",!0)||U(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new k(S);F(r,e);let i=new n(S);return M(r,i),A(i,e.headersList),a(i,t),0!==e.urlList.length&&e.body?.stream&&g.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(k,"getResponseHeaders"),Reflect.deleteProperty(k,"setResponseHeaders"),Reflect.deleteProperty(k,"getResponseState"),Reflect.deleteProperty(k,"setResponseState"),d(k,U),Object.defineProperties(k.prototype,{type:p,url:p,status:p,ok:p,redirected:p,statusText:p,headers:p,clone:p,body:p,bodyUsed:p,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(k,{json:p,redirect:p,error:p}),N.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?N.converters.USVString(e,t,r):N.is.Blob(e)||N.is.BufferSource(e)||N.is.FormData(e)||N.is.URLSearchParams(e)?e:N.converters.DOMString(e,t,r)},N.converters.BodyInit=function(e,t,r){return N.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:N.converters.XMLHttpRequestBodyInit(e,t,r)},N.converters.ResponseInit=N.dictionaryConverter([{key:"status",converter:N.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:N.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:N.converters.HeadersInit}]),N.is.Response=N.util.MakeTypeAssertion(k),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:O,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(f(e)),I(e)?O(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):O(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:P,Response:k,cloneResponse:T,fromInnerResponse:G,getResponseState:U}},638(e,t,r){let{Transform:n}=r(7075),i=r(8522),{redirectStatusSet:s,referrerPolicyTokens:o,badPortsSet:a}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:g,isValidHTTPToken:u,normalizedMethodRecordsBase:h}=r(1210),m=r(4589),{isUint8Array:p}=r(3429),{webidl:C}=r(849),{isomorphicEncode:f,collectASequenceOfCodePoints:I,removeChars:E}=r(5358);function y(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function B(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function N(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function b(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(m(C.is.URL(e)),F(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),D=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function x(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),D(e)):w(e)}function R(e){var t;return!!C.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||x(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function k(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let v=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function M(e,t,r=0,n=1){class i{#to;#ta;#tA;constructor(e,t){this.#to=e,this.#ta=t,this.#tA=0}next(){let i;if("object"!=typeof this||this===null||!(#to in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let s=this.#tA,o=t(this.#to);if(s>=o.length)return{value:void 0,done:!0};let{[r]:a,[n]:A}=o[s];switch(this.#tA=s+1,this.#ta){case"key":i=a;break;case"value":i=A;break;case"key+value":i=[a,A]}return{value:i,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,v),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new i(e,t)}}async function U(e,t,r){try{let n=[],i=0;for(;;){let{done:s,value:o}=await e.read();if(s)return void t(Buffer.concat(n,i));if(!p(o))return void r(TypeError("Received non-Uint8Array chunk"));n.push(o),i+=o.length}}catch(e){r(e)}}function F(e){m("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){m("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class O extends n{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?i.createInflate(this.#tl):i.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function H(e,t){let r=t.get(e,!0);if(null===r)return null;let n={position:0},i=[],s="";for(;n.position<r.length;){if(s+=I(e=>'"'!==e&&","!==e,r,n),n.position<r.length)if(34===r.charCodeAt(n.position)){if(s+=l(r,n),n.position<r.length)continue}else m(44===r.charCodeAt(n.position)),n.position++;s=E(s,!0,!0,e=>9===e||32===e),i.push(s),s=""}return i}class P{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=b()}class Y{settingsObject=new P}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:B,ReadableStreamFrom:g,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;m(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else C.is.URL(e.referrer)&&(r=e.referrer);let n=S(r),i=S(r,!0);switch(n.toString().length>4096&&(n=i),t){case"no-referrer":return"no-referrer";case"origin":if(null!=i)return i;return S(r,!0);case"unsafe-url":return n;case"strict-origin":{let t=Q(e);if(R(n)&&!R(t))return"no-referrer";return i}case"strict-origin-when-cross-origin":{let t=Q(e);if(k(n,t))return n;if(R(n)&&!R(t))return"no-referrer";return i}case"same-origin":if(k(e,n))return n;return"no-referrer";case"origin-when-cross-origin":if(k(e,n))return n;return i;case"no-referrer-when-downgrade":{let t=Q(e);if(R(n)&&!R(t))return"no-referrer";return n}}},makePolicyContainer:b,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":k(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let n=t[e-1].trim();if(o.has(n)){r=n;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:u,requestBadPort:function(e){let t=Q(e);return L(t)&&a.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:y,responseLocationURL:function(e,t){var r;if(!s.has(e.status))return null;let n=e.headersList.get("location",!0);return null!==n&&N(n)&&(B(n)||(r=n,n=Buffer.from(r,"binary").toString("utf8")),n=new URL(n,y(e))),n&&!n.hash&&(n.hash=t),n},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:k,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,n=0,i=1){let s=M(e,r,n,i),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,n=globalThis){if(C.brandCheck(this,t),C.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of s(this,"key+value"))r.call(n,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})},createIterator:M,isValidHeaderName:u,isValidHeaderValue:N,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let n=e.stream.getReader();U(n,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:F,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:U,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&I(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&I(e=>" "===e||" "===e,e,r);let n=I(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),i=n.length?Number(n):null;if(t&&I(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&I(e=>" "===e||" "===e,e,r);let s=I(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),o=s.length?Number(s):null;return r.position<e.length||null===o&&null===i||null!==i&&null!==o&&i>o?"failure":{rangeStartValue:i,rangeEndValue:o}},buildContentRange:function(e,t,r){let n="bytes ";return n+=f(`${e}`),n+="-",n+=f(`${t}`),n+="/",n+=f(`${r}`)},createInflate:function(e){return new O(e)},extractMimeType:function(e){let t=null,r=null,n=null,i=H("content-type",e);if(null===i)return"failure";for(let e of i){let i=c(e);"failure"!==i&&"*/*"!==i.essence&&((n=i).essence!==r?(t=null,n.parameters.has("charset")&&(t=n.parameters.get("charset")),r=n.essence):n.parameters.has("charset")||null===t||n.parameters.set("charset",t))}return null==n?"failure":n},getDecodeSplit:H,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:x,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let n=r(4589),{utf8DecodeBytes:i}=r(2718),s=/[\u0009\u000A\u000C\u000D\u0020]/g;function o(e){return 9===e||10===e||12===e||13===e||32===e}let a=/[^\x00-\xFF]/;function A(e,t,r,n){let i=0,s=e.length-1;if(t)for(;i<e.length&&n(e.charCodeAt(i));)i++;if(r)for(;s>0&&n(e.charCodeAt(s));)s--;return 0===i&&s===e.length-1?e:e.slice(i,s+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let n="";for(;r.position<t.length&&e(t[r.position]);)n+=t[r.position],r.position++;return n},collectASequenceOfCodePointsFast:function(e,t,r){let n=t.indexOf(e,r.position),i=r.position;return -1===n?(r.position=t.length,t.slice(i)):(r.position=n,t.slice(i,r.position))},forgivingBase64:function(e){let t=(e=e.replace(s,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:o,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",n=0,i=65535;for(;n<t;)n+i>t&&(i=t-n),r+=String.fromCharCode.apply(null,e.subarray(n,n+=i));return r},isomorphicEncode:function(e){return n(!a.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(i(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,o)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return n("string"==typeof t),t}}},2300(e,t,r){let n,i=r(4589),{runtimeFeatures:s}=r(6979),o=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(s.has("crypto")){let e=(n=r(7598)).getHashes();for(let t of(0===e.length&&o.clear(),o.keys()))!1===e.includes(t)&&o.delete(t)}else o.clear();let a=Map.prototype.get.bind(o),A=Map.prototype.has.bind(o),l=!1===s.has("crypto")||0===o.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,n=t.val;if(u(g(r,e),n))return!0}return!1};function c(e){let t=[],r=null;for(let n of e){if(i(A(n.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(n),r=n;continue}let e=a(r.alg),s=a(n.alg);s<e||(s>e?(r=n,t[0]=n,t.length=1):t.push(n))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],n="",i=[e.slice(0,6),e.slice(7)],s=i[0];if(!A(s))continue;i[1]&&(n=i[1]);let o={alg:s,val:n};t.push(o)}return t}let g=(e,t)=>n.hash(e,t,"base64");function u(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let n=t.length;if(0!==n&&"="===t[n-1]&&(n-=1),0!==n&&"="===t[n-1]&&(n-=1),r!==n)return!1;for(let n=0;n<r;++n)if(e[n]!==t[n]&&("+"!==e[n]||"-"!==t[n])&&("/"!==e[n]||"_"!==t[n]))return!1;return!0}e.exports={applyAlgorithmToBytes:g,bytesMatch:l,caseSensitiveMatch:u,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let n=r(4589),{types:i,inspect:s}=r(7975),{markAsUncloneable:o}=r(5919),a=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!a(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>a(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=o,A.util.ConvertToInt=function(e,t,r,n){let i,s;64===t?(i=0x1fffffffffffff,s="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(s=0,i=Math.pow(2,t)-1):(s=-Math.pow(2,t-1),i=Math.pow(2,t-1)-1);let o=Number(e);if(0===o&&(o=0),A.util.HasFlag(n,A.attributes.EnforceRange)){if(Number.isNaN(o)||o===1/0||o===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((o=A.util.IntegerPart(o))<s||o>i)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${o}.`});return o}return!Number.isNaN(o)&&A.util.HasFlag(n,A.attributes.Clamp)?o=Math.floor(o=Math.min(Math.max(o,s),i))%2==0?Math.floor(o):Math.ceil(o):Number.isNaN(o)||0===o&&Object.is(0,o)||o===1/0||o===-1/0?0:(o=A.util.IntegerPart(o)%Math.pow(2,t),"signed"===r&&o>=Math.pow(2,t-1))?o-Math.pow(2,t):o},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return s(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(i.isArrayBuffer(e))return e.resizable;if(i.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,n,i)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${n} (${A.util.Stringify(t)}) is not iterable.`});let s="function"==typeof i?i():t?.[Symbol.iterator]?.(),o=[],a=0;if(void 0===s||"function"!=typeof s.next)throw A.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:t,value:i}=s.next();if(t)break;o.push(e(i,r,`${n}[${a++}]`))}return o}},A.recordConverter=function(e,t){return(r,n,s)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:n,message:`${s} ("${A.util.TypeValueToString(r)}") is not an Object.`});let o={};if(!i.isProxy(r)){for(let i of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let a=A.util.Stringify(i),l=e(i,n,`Key ${a} in ${s}`),c=t(r[i],n,`${s}[${a}]`);o[l]=c}return o}for(let i of Reflect.ownKeys(r)){let a=Reflect.getOwnPropertyDescriptor(r,i);if(a?.enumerable){let a=e(i,n,s),A=t(r[i],n,s);o[a]=A}}return o}},A.interfaceConverter=function(e,t){return(r,n,i)=>{if(!e(r))throw A.errors.exception({header:n,message:`Expected ${i} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,n)=>{let i={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let s of e){let{key:e,defaultValue:o,required:a,converter:l}=s;if(!0===a&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==o;if(d&&void 0===c&&(c=o()),a||d||void 0!==c){if(c=l(c,r,`${n}.${e}`),s.allowedValues&&!s.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});i[e]=c}}return i}},A.nullableConverter=function(e){return(t,r,n)=>null===t?t:e(t,r,n)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return i.isArrayBuffer(e)||ArrayBuffer.isView(e)&&i.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,s=0;if(i.isTypedArray(e)||i.isDataView(e)?(t=e.buffer,r=e.byteOffset):n(i.isAnyArrayBuffer(e)),s=e.byteLength,t.detached)return new Uint8Array(0);let o=new Uint8Array(s),a=new Uint8Array(t,r,s);return o.set(a),o},A.converters.DOMString=function(e,t,r,n){if(null===e&&A.util.HasFlag(n,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let n=String(e);for(let e=0;e<n.length;e++)if(n.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${n.charCodeAt(e)} which is greater than 255.`);return n},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,n){return A.util.ConvertToInt(e,16,"unsigned",n,t,r)},A.converters.ArrayBuffer=function(e,t,r,n){if(8!==A.util.Type(e)||!i.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,n){if(8!==A.util.Type(e)||!i.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,n,s){if(8!==A.util.Type(e)||!i.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${n} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(s,A.attributes.AllowShared)&&i.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${n} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(s,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${n} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,n){if(8!==A.util.Type(e)||!i.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(n,A.attributes.AllowShared)&&i.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,n){if(8!==A.util.Type(e)||!i.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(n,A.attributes.AllowShared)&&i.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,n){if(i.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,n);if(i.isArrayBufferView(e))return n&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,n);if(i.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,n){if(i.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,n);if(i.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,n);if(i.isArrayBufferView(e))return n|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,n);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:n,states:i,sentCloseFrameState:s,emptyBuffer:o,opcodes:a}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:g,validateCloseCodeAndReason:u}=r(3927),{makeRequest:h}=r(9553),{fetching:m}=r(7564),{Headers:p,getHeadersList:C}=r(3470),{getDecodeSplit:f}=r(638),{WebsocketFrameSend:I}=r(4018),E=r(4589),{runtimeFeatures:y}=r(6979),B=y.has("crypto")?r(7598):null,Q=!1;function N(e,t,r,n=!1){if(t??=null,r??="",n&&u(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(s.SENT)||e.closeState.has(s.RECEIVED))e.readyState=i.CLOSING;else{let n=new I;0!==r.length&&null===t&&(t=1e3),E(null===t||Number.isInteger(t)),null===t&&0===r.length?n.frameData=o:null!==t&&null===r?(n.frameData=Buffer.allocUnsafe(2),n.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(n.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),n.frameData.writeUInt16BE(t,0),n.frameData.write(r,2,"utf-8")):n.frameData=o,e.socket.write(n.createFrame(a.CLOSE)),e.closeState.add(s.SENT),e.readyState=i.CLOSING}else b(e),e.readyState=i.CLOSING}function b(e,t,r,n){d(e.readyState)&&N(e,t,r,!1),e.controller.abort(),g(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,i,s){e.protocol="ws:"===e.protocol?"http:":"https:";let o=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});s.headers&&(o.headersList=C(new p(s.headers)));let a=B.randomBytes(16).toString("base64");for(let e of(o.headersList.append("sec-websocket-key",a,!0),o.headersList.append("sec-websocket-version","13",!0),t))o.headersList.append("sec-websocket-protocol",e,!0);return o.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),m({request:o,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void b(i,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void b(i,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void b(i,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void b(i,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void b(i,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==B.hash("sha1",a+n,"base64"))return void b(i,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let s=e.headersList.get("Sec-WebSocket-Extensions");if(null!==s&&!(r=A(s)).has("permessage-deflate"))return void b(i,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||f("sec-websocket-protocol",o.headersList).includes(l)?(e.socket.on("data",i.onSocketData),e.socket.on("close",i.onSocketClose),e.socket.on("error",i.onSocketError),i.wasEverConnected=!0,i.onConnectionEstablished(e,r)):b(i,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:b,closeWebSocketConnection:N}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:n}=r(849),{kEnumerableProperty:i}=r(1210),{kConstruct:s}=r(3025);class o extends Event{#tc;constructor(e,t={}){if(e===s){super(arguments[1],arguments[2]),n.util.markAsUncloneable(this);return}let r="MessageEvent constructor";n.argumentLengthCheck(arguments,1,r),super(e=n.converters.DOMString(e,r,"type"),t=n.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,n.util.markAsUncloneable(this)}get data(){return n.brandCheck(this,o),this.#tc.data}get origin(){return n.brandCheck(this,o),this.#tc.origin}get lastEventId(){return n.brandCheck(this,o),this.#tc.lastEventId}get source(){return n.brandCheck(this,o),this.#tc.source}get ports(){return n.brandCheck(this,o),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,i=null,s="",a="",A=null,l=[]){return n.brandCheck(this,o),n.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new o(e,{bubbles:t,cancelable:r,data:i,origin:s,lastEventId:a,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new o(s,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:a}=o;delete o.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";n.argumentLengthCheck(arguments,1,r),super(e=n.converters.DOMString(e,r,"type"),t=n.converters.CloseEventInit(t)),this.#tc=t,n.util.markAsUncloneable(this)}get wasClean(){return n.brandCheck(this,A),this.#tc.wasClean}get code(){return n.brandCheck(this,A),this.#tc.code}get reason(){return n.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";n.argumentLengthCheck(arguments,1,r),super(e,t),n.util.markAsUncloneable(this),e=n.converters.DOMString(e,r,"type"),t=n.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return n.brandCheck(this,l),this.#tc.message}get filename(){return n.brandCheck(this,l),this.#tc.filename}get lineno(){return n.brandCheck(this,l),this.#tc.lineno}get colno(){return n.brandCheck(this,l),this.#tc.colno}get error(){return n.brandCheck(this,l),this.#tc.error}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:i,origin:i,lastEventId:i,source:i,ports:i,initMessageEvent:i}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:i,code:i,wasClean:i}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:i,filename:i,lineno:i,colno:i,error:i}),n.converters.MessagePort=n.interfaceConverter(n.is.MessagePort,"MessagePort"),n.converters["sequence<MessagePort>"]=n.sequenceConverter(n.converters.MessagePort);let c=[{key:"bubbles",converter:n.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:n.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:n.converters.boolean,defaultValue:()=>!1}];n.converters.MessageEventInit=n.dictionaryConverter([...c,{key:"data",converter:n.converters.any,defaultValue:()=>null},{key:"origin",converter:n.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:n.converters.DOMString,defaultValue:()=>""},{key:"source",converter:n.nullableConverter(n.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:n.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),n.converters.CloseEventInit=n.dictionaryConverter([...c,{key:"wasClean",converter:n.converters.boolean,defaultValue:()=>!1},{key:"code",converter:n.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:n.converters.USVString,defaultValue:()=>""}]),n.converters.ErrorEventInit=n.dictionaryConverter([...c,{key:"message",converter:n.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:n.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:n.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:n.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:n.converters.any}]),e.exports={MessageEvent:o,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:a}},4018(e,t,r){let{runtimeFeatures:n}=r(6979),{maxUnsigned16Bit:i,opcodes:s}=r(7946),o=null,a=8192,A=n.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===a&&(a=0,A(o??=Buffer.allocUnsafeSlow(8192),0,8192)),[o[a++],o[a++],o[a++],o[a++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),n=t?.byteLength??0,s=n,o=6;n>i?(o+=8,s=127):n>125&&(o+=2,s=126);let a=Buffer.allocUnsafe(n+o);a[0]=a[1]=0,a[0]|=128,a[0]=(240&a[0])+e,a[o-4]=r[0],a[o-3]=r[1],a[o-2]=r[2],a[o-1]=r[3],a[1]=s,126===s?a.writeUInt16BE(n,2):127===s&&(a[2]=a[3]=0,a.writeUIntBE(n,4,6)),a[1]|=128;for(let e=0;e<n;++e)a[o+e]=t[e]^r[3&e];return a}static createFastTextFrame(e){let t=l(),r=e.length;for(let n=0;n<r;++n)e[n]^=t[3&n];let n=r,o=6;r>i?(o+=8,n=127):r>125&&(o+=2,n=126);let a=Buffer.allocUnsafeSlow(o);return a[0]=128|s.TEXT,a[1]=128|n,a[o-4]=t[0],a[o-3]=t[1],a[o-2]=t[2],a[o-1]=t[3],126===n?a.writeUInt16BE(r,2):127===n&&(a[2]=a[3]=0,a.writeUIntBE(r,4,6)),[a,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:n,Z_DEFAULT_WINDOWBITS:i}=r(8522),{isValidClientWindowBits:s}=r(3927),{MessageSizeExceededError:o}=r(8065),a=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tg=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tg=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=i;if(this.#T.serverMaxWindowBits){if(!s(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=n({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tg>0&&this.#td[l]>this.#tg){r(new o),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(a),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:n}=r(7075),i=r(4589),{parserStates:s,opcodes:o,states:a,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:g,utf8Decode:u,isControlFrame:h,isTextBinaryFrame:m,isContinuationFrame:p}=r(3927),{failWebsocketConnection:C}=r(5563),{WebsocketFrameSend:f}=r(4018),{PerMessageDeflate:I}=r(959),{MessageSizeExceededError:E}=r(8065);class y extends n{#tu=[];#th=0;#tm=0;#tp=!1;#eS=s.INFO;#tC={};#tf=[];#tI;#B;#tE;#tg;constructor(e,t,r={}){super(),this.#B=e,this.#tI=null==t?new Map:t,this.#tE=r.maxFragments??0,this.#tg=r.maxPayloadSize??0,this.#tI.has("permessage-deflate")&&this.#tI.set("permessage-deflate",new I(t,r))}_write(e,t,r){this.#tu.push(e),this.#tm+=e.length,this.#tp=!0,this.run(r)}#ty(){return!(this.#tg>0)||!!h(this.#tC.opcode)||!(this.#tC.payloadLength+this.#th>this.#tg)||(C(this.#B,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tp;)if(this.#eS===s.INFO){if(this.#tm<2)return e();let t=this.consume(2),r=(128&t[0])!=0,n=15&t[0],i=(128&t[1])==128,a=!r&&n!==o.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],g=16&t[0];if(!d(n))return C(this.#B,1002,"Invalid opcode received"),e();if(i)return C(this.#B,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#tI.has("permessage-deflate"))return void C(this.#B,1002,"Expected RSV1 to be clear.");if(0!==c||0!==g)return void C(this.#B,1002,"RSV1, RSV2, RSV3 must be clear");if(a&&!m(n))return void C(this.#B,1002,"Invalid frame type was fragmented.");if(m(n)&&this.#tf.length>0)return void C(this.#B,1002,"Expected continuation frame");if(this.#tC.fragmented&&a)return void C(this.#B,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||a)&&h(n))return void C(this.#B,1002,"Control frame either too large or fragmented");if(p(n)&&0===this.#tf.length&&!this.#tC.compressed)return void C(this.#B,1002,"Unexpected continuation frame");if(A<=125){if(this.#tC.payloadLength=A,this.#eS=s.READ_DATA,!this.#ty())return}else 126===A?this.#eS=s.PAYLOADLENGTH_16:127===A&&(this.#eS=s.PAYLOADLENGTH_64);m(n)&&(this.#tC.binaryType=n,this.#tC.compressed=0!==l),this.#tC.opcode=n,this.#tC.masked=i,this.#tC.fin=r,this.#tC.fragmented=a}else if(this.#eS===s.PAYLOADLENGTH_16){if(this.#tm<2)return e();let t=this.consume(2);if(this.#tC.payloadLength=t.readUInt16BE(0),this.#eS=s.READ_DATA,!this.#ty())return}else if(this.#eS===s.PAYLOADLENGTH_64){if(this.#tm<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),n=t.readUInt32BE(4);if(0!==r||n>0x80000000-1)return void C(this.#B,1009,"Received payload length > 2^31 bytes.");if(this.#tC.payloadLength=n,this.#eS=s.READ_DATA,!this.#ty())return}else if(this.#eS===s.READ_DATA){if(this.#tm<this.#tC.payloadLength)return e();let t=this.consume(this.#tC.payloadLength);if(h(this.#tC.opcode))this.#tp=this.parseControlFrame(t),this.#eS=s.INFO;else if(this.#tC.compressed){this.#tI.get("permessage-deflate").decompress(t,this.#tC.fin,(t,r)=>{if(t){let e=t instanceof E?1009:1007;C(this.#B,e,t.message);return}if(this.writeFragments(r)){if(this.#tg>0&&this.#th>this.#tg)return void C(this.#B,1009,new E().message);if(!this.#tC.fin){this.#eS=s.INFO,this.#tp=!0,this.run(e);return}g(this.#B,this.#tC.binaryType,this.consumeFragments()),this.#tp=!0,this.#eS=s.INFO,this.run(e)}},this.#th),this.#tp=!1;break}else{if(!this.writeFragments(t))return;!this.#tC.fragmented&&this.#tC.fin&&g(this.#B,this.#tC.binaryType,this.consumeFragments()),this.#eS=s.INFO}}}consume(e){if(e>this.#tm)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tm-=e;let t=this.#tu[0];if(t.length>e)return this.#tu[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tu.shift();let r=0,n=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tu[0],i=t.length;if(i+r===e){n.set(this.#tu.shift(),r);break}if(i+r>e){n.set(t.subarray(0,e-r),r),this.#tu[0]=t.subarray(e-r);break}n.set(this.#tu.shift(),r),r+=i}return n}}writeFragments(e){return this.#tE>0&&this.#tf.length===this.#tE?(C(this.#B,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tf.push(e),!0)}consumeFragments(){let e=this.#tf;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let n=0;n<e.length;++n){let i=e[n];r.set(i,t),t+=i.length}return this.#tf=[],this.#th=0,r}parseCloseBody(e){let t;if(i(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=u(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tC;if(t===o.CLOSE){if(1===r)return C(this.#B,1002,"Received close frame with a 1-byte body."),!1;if(this.#tC.closeInfo=this.parseCloseBody(e),this.#tC.closeInfo.error){let{code:e,reason:t}=this.#tC.closeInfo;return C(this.#B,e,t),!1}if(!this.#B.closeState.has(l.SENT)&&!this.#B.closeState.has(l.RECEIVED)){let e=A;this.#tC.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tC.closeInfo.code,0);let t=new f(e);this.#B.socket.write(t.createFrame(o.CLOSE)),this.#B.closeState.add(l.SENT)}return this.#B.readyState=a.CLOSING,this.#B.closeState.add(l.RECEIVED),!1}if(t===o.PING){if(!this.#B.closeState.has(l.RECEIVED)){let t=new f(e);this.#B.socket.write(t.createFrame(o.PONG)),this.#B.onPing(e)}}else t===o.PONG&&this.#B.onPong(e);return!0}get closingInfo(){return this.#tC.closeInfo}}e.exports={ByteParser:y}},2726(e,t,r){let{WebsocketFrameSend:n}=r(4018),{opcodes:i,sendHints:s}=r(7946),o=r(9006);class a{#tB=new o;#tQ=!1;#tN;constructor(e){this.#tN=e}add(e,t,r){if(r!==s.blob){if(this.#tQ){let n={promise:null,callback:t,frame:A(e,r)};this.#tB.push(n)}else if(r===s.text){let{0:r,1:i}=n.createFastTextFrame(e);this.#tN.cork(),this.#tN.write(r),this.#tN.write(i,t),this.#tN.uncork()}else this.#tN.write(A(e,r),t);return}let i={promise:e.arrayBuffer().then(e=>{i.promise=null,i.frame=A(e,r)}),callback:t,frame:null};this.#tB.push(i),this.#tQ||this.#tb()}async #tb(){this.#tQ=!0;let e=this.#tB;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tN.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new n(function(e,t){switch(t){case s.text:case s.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case s.arrayBuffer:case s.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===s.text?i.TEXT:i.BINARY)}e.exports={SendQueue:a}},7245(e,t,r){let{webidl:n}=r(849),{validateCloseCodeAndReason:i}=r(3927),{kConstruct:s}=r(3025),{kEnumerableProperty:o}=r(1210);function a(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let n=Reflect.construct(e,t,e);return Object.setPrototypeOf(n,r.prototype),n}})}class A extends a(){#tS;#I;constructor(e="",t){if(super(e=n.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===s)return;null!==t&&(t=n.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,o=t.reason??"";i(r,o),0!==o.length&&null===r&&(r=1e3),this.#tS=r,this.#I=o}get closeCode(){return this.#tS}get reason(){return this.#I}static createUnvalidatedWebSocketError(e,t,r){let n=new A(e,s);return n.#tS=t,n.#I=r,n}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:o,reason:o,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),n.is.WebSocketError=n.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:n}=r(8474),{environmentSettingsObject:i,readableStreamClose:s}=r(638),{states:o,opcodes:a,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:g,utf8Decode:u}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:m,closeWebSocketConnection:p}=r(5563),{channels:C}=r(6708),{WebsocketFrameSend:f}=r(4018),{ByteParser:I}=r(5346),{WebSocketError:E,createUnvalidatedWebSocketError:y}=r(7245),{kEnumerableProperty:B}=r(1210),{utf8DecodeBytes:Q}=r(2718),N=!1;class b{#e5;#tw;#tD;#tx;#tR;#tk;#tv=!1;#B={onConnectionEstablished:(e,t)=>this.#tM(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>m(this.#B,null,e.message),onParserDrain:()=>this.#B.socket.resume(),onSocketData:e=>{this.#tF.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=o.CLOSING,C.socketError.hasSubscribers&&C.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:o.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tF;constructor(e,t){N||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),N=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,i.settingsObject.baseUrl),s=t.protocols;if(s.length!==new Set(s.map(e=>e.toLowerCase())).size||s.length>0&&!s.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e5=r.toString(),this.#tw=Promise.withResolvers(),this.#tD=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tD.reject(e.reason);return}n(e,()=>{g(this.#B.readyState)||(m(this.#B),this.#B.readyState=o.CLOSING,this.#tw.reject(e.reason),this.#tD.reject(e.reason),this.#tv=!0)})}let a=i.settingsObject;this.#B.controller=h(r,s,a,this.#B,t)}get url(){return this.#e5.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tD.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;p(this.#B,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,n=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),n=a.BINARY;else{let i;try{i=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(i),n=a.TEXT}if(!this.#B.closeState.has(A.SENT)&&!this.#B.closeState.has(A.RECEIVED)){let e=new f(r);this.#B.socket.write(e.createFrame(n),()=>{t.resolve(void 0)})}return t.promise}#tM(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,n=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,i=new I(this.#B,t,{maxFragments:r,maxPayloadSize:n});i.on("drain",()=>this.#B.onParserDrain()),i.on("error",e=>this.#B.onParserError(e)),this.#tF=i,this.#B.readyState=o.OPEN;let s=t??"",a=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tO(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>p(this.#B,null,null),abort:e=>this.#tH(e)});this.#tx=A,this.#tk=l,this.#tw.resolve({extensions:s,protocol:a,readable:A,writable:l})}#tU(e,t){let r;if(this.#B.readyState===o.OPEN){if(e===a.TEXT)try{r=u(t)}catch{m(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===a.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#B.closeState.has(A.SENT)&&this.#B.closeState.has(A.RECEIVED);if(this.#B.readyState=o.CLOSED,this.#tv)return;this.#B.wasEverConnected||this.#tw.reject(new E("Socket never opened"));let t=this.#tF?.closingInfo,r=t?.code??1005;this.#B.closeState.has(A.SENT)||this.#B.closeState.has(A.RECEIVED)||(r=1006);let n=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)s(this.#tR),this.#tk.locked||this.#tk.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tD.resolve({closeCode:r,reason:n});else{let e=y("unclean close",r,n);this.#tR?.error(e),this.#tk?.abort(e),this.#tD.reject(e)}}#tH(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),p(this.#B,t,r)}#tO(e){this.#tH(e)}}Object.defineProperties(b.prototype,{url:B,opened:B,closed:B,close:B,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:b}},3927(e,t,r){let{states:n,opcodes:i}=r(7946),{isUtf8:s}=r(4573),{removeHTTPWhitespace:o}=r(3518),{collectASequenceOfCodePointsFast:a}=r(5358);function A(e){return e===i.CLOSE||e===i.PING||e===i.PONG}function l(e){return e===i.CONTINUATION}function c(e){return e===i.TEXT||e===i.BINARY}e.exports={isConnecting:function(e){return e===n.CONNECTING},isEstablished:function(e){return e===n.OPEN},isClosing:function(e){return e===n.CLOSING},isClosed:function(e){return e===n.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),n={}){let i=r(e,n);t.dispatchEvent(i)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(s(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[n,i=""]=a(";",e,t).split("=",2);r.set(o(n,!0,!1),o(i,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:n}=r(3429),{webidl:i}=r(849),{URLSerializer:s}=r(3518),{environmentSettingsObject:o}=r(638),{staticPropertyDescriptors:a,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:g,isEstablished:u,isClosing:h,isClosed:m,isValidSubprotocol:p,fireEvent:C,utf8Decode:f,toArrayBuffer:I,getURLRecord:E}=r(3927),{establishWebSocketConnection:y,closeWebSocketConnection:B,failWebsocketConnection:Q}=r(5563),{ByteParser:N}=r(5346),{kEnumerableProperty:b}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:D,createFastMessageEvent:x}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:k}=r(4018),{channels:v}=r(6708);class M extends EventTarget{#e4={open:null,error:null,close:null,message:null};#tP=0;#tY="";#tI="";#tG;#B={onConnectionEstablished:(e,t)=>this.#tM(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>Q(this.#B,null,e.message),onParserDrain:()=>this.#tz(),onSocketData:e=>{this.#tF.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=A.CLOSING,v.socketError.hasSubscribers&&v.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{v.ping.hasSubscribers&&v.ping.publish({payload:e,websocket:this})},onPong:e=>{v.pong.hasSubscribers&&v.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e5;#tq;#tF;constructor(e,t=[]){super(),i.util.markAsUncloneable(this);let r="WebSocket constructor";i.argumentLengthCheck(arguments,1,r);let n=i.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=i.converters.USVString(e),t=n.protocols;let s=E(e,o.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>p(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e5=new URL(s.href);let a=o.settingsObject;this.#B.controller=y(s,t,a,this.#B,n),this.#B.readyState=M.CONNECTING,this.#tq="blob"}close(e,t){i.brandCheck(this,M),void 0!==e&&(e=i.converters["unsigned short"](e,"WebSocket.close","code",i.attributes.Clamp)),void 0!==t&&(t=i.converters.USVString(t)),e??=null,t??="",B(this.#B,e,t,!0)}send(e){i.brandCheck(this,M);let t="WebSocket.send";if(i.argumentLengthCheck(arguments,1,t),e=i.converters.WebSocketSendData(e,t,"data"),g(this.#B.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!u(this.#B.readyState)||h(this.#B.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tP+=t.byteLength,this.#tG.add(t,()=>{this.#tP-=t.byteLength},c.text)}else n(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.typedArray)):i.is.Blob(e)&&(this.#tP+=e.size,this.#tG.add(e,()=>{this.#tP-=e.size},c.blob))}get readyState(){return i.brandCheck(this,M),this.#B.readyState}get bufferedAmount(){return i.brandCheck(this,M),this.#tP}get url(){return i.brandCheck(this,M),s(this.#e5)}get extensions(){return i.brandCheck(this,M),this.#tI}get protocol(){return i.brandCheck(this,M),this.#tY}get onopen(){return i.brandCheck(this,M),this.#e4.open}set onopen(e){i.brandCheck(this,M),this.#e4.open&&this.removeEventListener("open",this.#e4.open);let t=i.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e4.open=e):this.#e4.open=null}get onerror(){return i.brandCheck(this,M),this.#e4.error}set onerror(e){i.brandCheck(this,M),this.#e4.error&&this.removeEventListener("error",this.#e4.error);let t=i.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e4.error=e):this.#e4.error=null}get onclose(){return i.brandCheck(this,M),this.#e4.close}set onclose(e){i.brandCheck(this,M),this.#e4.close&&this.removeEventListener("close",this.#e4.close);let t=i.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e4.close=e):this.#e4.close=null}get onmessage(){return i.brandCheck(this,M),this.#e4.message}set onmessage(e){i.brandCheck(this,M),this.#e4.message&&this.removeEventListener("message",this.#e4.message);let t=i.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e4.message=e):this.#e4.message=null}get binaryType(){return i.brandCheck(this,M),this.#tq}set binaryType(e){i.brandCheck(this,M),"blob"!==e&&"arraybuffer"!==e?this.#tq="blob":this.#tq=e}#tM(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,n=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,i=new N(this.#B,t,{maxFragments:r,maxPayloadSize:n});i.on("drain",()=>this.#B.onParserDrain()),i.on("error",e=>this.#B.onParserError(e)),this.#tF=i,this.#tG=new R(e.socket),this.#B.readyState=A.OPEN;let s=e.headersList.get("sec-websocket-extensions");null!==s&&(this.#tI=s);let o=e.headersList.get("sec-websocket-protocol");if(null!==o&&(this.#tY=o),C("open",this),v.open.hasSubscribers){var a;let t=e.headersList.entries;v.open.publish({address:(a=e.socket,"function"==typeof a?.address?a.address():"function"==typeof a?.session?.socket?.address?a.session.socket.address():null),protocol:this.#tY,extensions:this.#tI,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tU(e,t){let r;if(this.#B.readyState===A.OPEN){if(e===d.TEXT)try{r=f(t)}catch{Q(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tq?new Blob([t]):I(t));C("message",this,x,{origin:this.#e5.origin,data:r})}}#tz(){this.#B.socket.resume()}#tT(){let e=this.#B.closeState.has(l.SENT)&&this.#B.closeState.has(l.RECEIVED),t=1005,r="",n=this.#tF?.closingInfo;n&&!n.error&&(t=n.code??1005,r=n.reason),this.#B.readyState=A.CLOSED,this.#B.closeState.has(l.RECEIVED)||(t=1006,C("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),C("close",this,(e,t)=>new D(e,t),{wasClean:e,code:t,reason:r}),v.close.hasSubscribers&&v.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#B.readyState;if(u(r)&&!h(r)&&!m(r)){let r=new k(t);e.#B.socket.write(r.createFrame(d.PING))}}}let{ping:U}=M;Reflect.deleteProperty(M,"ping"),M.CONNECTING=M.prototype.CONNECTING=A.CONNECTING,M.OPEN=M.prototype.OPEN=A.OPEN,M.CLOSING=M.prototype.CLOSING=A.CLOSING,M.CLOSED=M.prototype.CLOSED=A.CLOSED,Object.defineProperties(M.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(M,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),i.converters["sequence<DOMString>"]=i.sequenceConverter(i.converters.DOMString),i.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return i.util.Type(e)===i.util.Types.OBJECT&&Symbol.iterator in e?i.converters["sequence<DOMString>"](e):i.converters.DOMString(e,t,r)},i.converters.WebSocketInit=i.dictionaryConverter([{key:"protocols",converter:i.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:i.converters.any,defaultValue:()=>S()},{key:"headers",converter:i.nullableConverter(i.converters.HeadersInit)}]),i.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return i.util.Type(e)!==i.util.Types.OBJECT||Symbol.iterator in e?{protocols:i.converters["DOMString or sequence<DOMString>"](e)}:i.converters.WebSocketInit(e)},i.converters.WebSocketSendData=function(e){return i.util.Type(e)===i.util.Types.OBJECT&&(i.is.Blob(e)||i.is.BufferSource(e))?e:i.converters.USVString(e)},e.exports={WebSocket:M,ping:U}},2613(e){e.exports=n("assert")},4434(e){e.exports=n("events")},8611(e){e.exports=n("http")},5692(e){e.exports=n("https")},9278(e){e.exports=n("net")},4589(e){e.exports=n("node:assert")},6698(e){e.exports=n("node:async_hooks")},4573(e){e.exports=n("node:buffer")},7540(e){e.exports=n("node:console")},7598(e){e.exports=n("node:crypto")},3053(e){e.exports=n("node:diagnostics_channel")},610(e){e.exports=n("node:dns")},8474(e){e.exports=n("node:events")},1455(e){e.exports=n("node:fs/promises")},7067(e){e.exports=n("node:http")},2467(e){e.exports=n("node:http2")},7030(e){e.exports=n("node:net")},6760(e){e.exports=n("node:path")},643(e){e.exports=n("node:perf_hooks")},1792(e){e.exports=n("node:querystring")},99(e){e.exports=n("node:sqlite")},7075(e){e.exports=n("node:stream")},7830(e){e.exports=n("node:stream/web")},7997(e){e.exports=n("node:timers")},1692(e){e.exports=n("node:tls")},3136(e){e.exports=n("node:url")},7975(e){e.exports=n("node:util")},3429(e){e.exports=n("node:util/types")},5919(e){e.exports=n("node:worker_threads")},8522(e){e.exports=n("node:zlib")},857(e){e.exports=n("os")},4756(e){e.exports=n("tls")},2018(e){e.exports=n("tty")},7016(e){e.exports=n("url")},9023(e){e.exports=n("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return i[e].call(r.exports,r,r.exports,o),r.exports}o.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{let e,t,r,i,s,a,A,l,c,d,g,u,h,m,p,C,f,I,E,y,B,Q,N,b,S,w,D,x,R,k,v,M,U,F,T,L,O,H,P,Y,G,z,q;var V,_,J,W,j,K,X,Z,$,ee,et,er,en,ei,es,eo,ea,eA,el,ec,ed,eg,eu,eh,em,ep,eC,ef,eI,eE,ey,eB,eQ,eN,eb,eS,ew,eD,ex,eR,ek={};o.r(ek),o.d(ek,{Do:()=>nW,all:()=>nk,andThen:()=>nB,as:()=>nf,asVoid:()=>nI,bind:()=>nJ,bindTo:()=>nV,composeK:()=>nw,contains:()=>nz,containsWith:()=>nG,exists:()=>nq,filter:()=>nL,filterMap:()=>nT,firstSomeOf:()=>na,flatMap:()=>ny,flatMapNullishOr:()=>nQ,flatten:()=>nN,fromIterable:()=>ne,fromNullOr:()=>nc,fromNullishOr:()=>nA,fromUndefinedOr:()=>nl,gen:()=>nj,getFailure:()=>nr,getOrElse:()=>nn,getOrNull:()=>ng,getOrThrow:()=>np,getOrThrowWith:()=>nm,getOrUndefined:()=>nu,getSuccess:()=>nt,isNone:()=>r8,isOption:()=>r5,isSome:()=>r9,let:()=>n_,lift2:()=>nP,liftNullishOr:()=>nd,liftPredicate:()=>nY,liftThrowable:()=>nh,makeCombinerFailFast:()=>nX,makeEquivalence:()=>nO,makeOrder:()=>nH,makeReducer:()=>nK,makeReducerFailFast:()=>nZ,map:()=>nC,match:()=>r6,none:()=>r3,orElse:()=>ni,orElseResult:()=>no,orElseSome:()=>ns,partitionMap:()=>nF,product:()=>nx,productMany:()=>nR,reduceCompact:()=>nM,some:()=>r4,tap:()=>nD,toArray:()=>nU,toRefinement:()=>r7,void:()=>nE,zipLeft:()=>nS,zipRight:()=>nb,zipWith:()=>nv});var ev={};function eM(e){return e.replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function eU(e,t,r){let n;process.stdout.write(`${(n=Object.entries(t),`::${e}${n.length>0?` ${n.map(([e,t])=>`${e}=${eM(t).replace(/:/g,"%3A").replace(/,/g,"%2C")}`).join(",")}`:""}::${eM(r)}`)} -`)}o.r(ev),o.d(ev,{AccessPolicy:()=>B$,AppendBlobAppendBlockExceptionHeaders:()=>bi,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>bo,AppendBlobAppendBlockFromUrlHeaders:()=>bs,AppendBlobAppendBlockHeaders:()=>bn,AppendBlobCreateExceptionHeaders:()=>br,AppendBlobCreateHeaders:()=>bt,AppendBlobSealExceptionHeaders:()=>bA,AppendBlobSealHeaders:()=>ba,ArrowConfiguration:()=>Ql,ArrowField:()=>Qc,BlobAbortCopyFromURLExceptionHeaders:()=>NT,BlobAbortCopyFromURLHeaders:()=>NF,BlobAcquireLeaseExceptionHeaders:()=>NE,BlobAcquireLeaseHeaders:()=>NI,BlobBreakLeaseExceptionHeaders:()=>ND,BlobBreakLeaseHeaders:()=>Nw,BlobChangeLeaseExceptionHeaders:()=>NS,BlobChangeLeaseHeaders:()=>Nb,BlobCopyFromURLExceptionHeaders:()=>NU,BlobCopyFromURLHeaders:()=>NM,BlobCreateSnapshotExceptionHeaders:()=>NR,BlobCreateSnapshotHeaders:()=>Nx,BlobDeleteExceptionHeaders:()=>Ni,BlobDeleteHeaders:()=>Nn,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>Nh,BlobDeleteImmutabilityPolicyHeaders:()=>Nu,BlobDownloadExceptionHeaders:()=>Ne,BlobDownloadHeaders:()=>Q7,BlobFlatListSegment:()=>B1,BlobGetAccountInfoExceptionHeaders:()=>NP,BlobGetAccountInfoHeaders:()=>NH,BlobGetPropertiesExceptionHeaders:()=>Nr,BlobGetPropertiesHeaders:()=>Nt,BlobGetTagsExceptionHeaders:()=>Nq,BlobGetTagsHeaders:()=>Nz,BlobHierarchyListSegment:()=>B8,BlobItemInternal:()=>B2,BlobName:()=>B3,BlobPrefix:()=>B9,BlobPropertiesInternal:()=>B4,BlobQueryExceptionHeaders:()=>NG,BlobQueryHeaders:()=>NY,BlobReleaseLeaseExceptionHeaders:()=>NB,BlobReleaseLeaseHeaders:()=>Ny,BlobRenewLeaseExceptionHeaders:()=>NN,BlobRenewLeaseHeaders:()=>NQ,BlobServiceProperties:()=>BU,BlobServiceStatistics:()=>BY,BlobSetExpiryExceptionHeaders:()=>NA,BlobSetExpiryHeaders:()=>Na,BlobSetHttpHeadersExceptionHeaders:()=>Nc,BlobSetHttpHeadersHeaders:()=>Nl,BlobSetImmutabilityPolicyExceptionHeaders:()=>Ng,BlobSetImmutabilityPolicyHeaders:()=>Nd,BlobSetLegalHoldExceptionHeaders:()=>Np,BlobSetLegalHoldHeaders:()=>Nm,BlobSetMetadataExceptionHeaders:()=>Nf,BlobSetMetadataHeaders:()=>NC,BlobSetTagsExceptionHeaders:()=>N_,BlobSetTagsHeaders:()=>NV,BlobSetTierExceptionHeaders:()=>NO,BlobSetTierHeaders:()=>NL,BlobStartCopyFromURLExceptionHeaders:()=>Nv,BlobStartCopyFromURLHeaders:()=>Nk,BlobTag:()=>BX,BlobTags:()=>BK,BlobUndeleteExceptionHeaders:()=>No,BlobUndeleteHeaders:()=>Ns,Block:()=>Qe,BlockBlobCommitBlockListExceptionHeaders:()=>bf,BlockBlobCommitBlockListHeaders:()=>bC,BlockBlobGetBlockListExceptionHeaders:()=>bE,BlockBlobGetBlockListHeaders:()=>bI,BlockBlobPutBlobFromUrlExceptionHeaders:()=>bg,BlockBlobPutBlobFromUrlHeaders:()=>bd,BlockBlobStageBlockExceptionHeaders:()=>bh,BlockBlobStageBlockFromURLExceptionHeaders:()=>bp,BlockBlobStageBlockFromURLHeaders:()=>bm,BlockBlobStageBlockHeaders:()=>bu,BlockBlobUploadExceptionHeaders:()=>bc,BlockBlobUploadHeaders:()=>bl,BlockList:()=>B7,BlockLookupList:()=>B6,ClearRange:()=>Qn,ContainerAcquireLeaseExceptionHeaders:()=>QW,ContainerAcquireLeaseHeaders:()=>QJ,ContainerBreakLeaseExceptionHeaders:()=>Q0,ContainerBreakLeaseHeaders:()=>Q$,ContainerChangeLeaseExceptionHeaders:()=>Q2,ContainerChangeLeaseHeaders:()=>Q1,ContainerCreateExceptionHeaders:()=>QD,ContainerCreateHeaders:()=>Qw,ContainerDeleteExceptionHeaders:()=>Qv,ContainerDeleteHeaders:()=>Qk,ContainerFilterBlobsExceptionHeaders:()=>Q_,ContainerFilterBlobsHeaders:()=>QV,ContainerGetAccessPolicyExceptionHeaders:()=>QT,ContainerGetAccessPolicyHeaders:()=>QF,ContainerGetAccountInfoExceptionHeaders:()=>Q6,ContainerGetAccountInfoHeaders:()=>Q9,ContainerGetPropertiesExceptionHeaders:()=>QR,ContainerGetPropertiesHeaders:()=>Qx,ContainerItem:()=>Bq,ContainerListBlobFlatSegmentExceptionHeaders:()=>Q4,ContainerListBlobFlatSegmentHeaders:()=>Q3,ContainerListBlobHierarchySegmentExceptionHeaders:()=>Q8,ContainerListBlobHierarchySegmentHeaders:()=>Q5,ContainerProperties:()=>BV,ContainerReleaseLeaseExceptionHeaders:()=>QK,ContainerReleaseLeaseHeaders:()=>Qj,ContainerRenameExceptionHeaders:()=>QG,ContainerRenameHeaders:()=>QY,ContainerRenewLeaseExceptionHeaders:()=>QZ,ContainerRenewLeaseHeaders:()=>QX,ContainerRestoreExceptionHeaders:()=>QP,ContainerRestoreHeaders:()=>QH,ContainerSetAccessPolicyExceptionHeaders:()=>QO,ContainerSetAccessPolicyHeaders:()=>QL,ContainerSetMetadataExceptionHeaders:()=>QU,ContainerSetMetadataHeaders:()=>QM,ContainerSubmitBatchExceptionHeaders:()=>Qq,ContainerSubmitBatchHeaders:()=>Qz,CorsRule:()=>BO,DelimitedTextConfiguration:()=>Qa,FilterBlobItem:()=>Bj,FilterBlobSegment:()=>BW,GeoReplication:()=>BG,JsonTextConfiguration:()=>QA,KeyInfo:()=>B_,ListBlobsFlatSegmentResponse:()=>B0,ListBlobsHierarchySegmentResponse:()=>B5,ListContainersSegmentResponse:()=>Bz,Logging:()=>BF,Metrics:()=>BL,PageBlobClearPagesExceptionHeaders:()=>NZ,PageBlobClearPagesHeaders:()=>NX,PageBlobCopyIncrementalExceptionHeaders:()=>be,PageBlobCopyIncrementalHeaders:()=>N7,PageBlobCreateExceptionHeaders:()=>NW,PageBlobCreateHeaders:()=>NJ,PageBlobGetPageRangesDiffExceptionHeaders:()=>N4,PageBlobGetPageRangesDiffHeaders:()=>N3,PageBlobGetPageRangesExceptionHeaders:()=>N2,PageBlobGetPageRangesHeaders:()=>N1,PageBlobResizeExceptionHeaders:()=>N8,PageBlobResizeHeaders:()=>N5,PageBlobUpdateSequenceNumberExceptionHeaders:()=>N6,PageBlobUpdateSequenceNumberHeaders:()=>N9,PageBlobUploadPagesExceptionHeaders:()=>NK,PageBlobUploadPagesFromURLExceptionHeaders:()=>N0,PageBlobUploadPagesFromURLHeaders:()=>N$,PageBlobUploadPagesHeaders:()=>Nj,PageList:()=>Qt,PageRange:()=>Qr,QueryFormat:()=>Qo,QueryRequest:()=>Qi,QuerySerialization:()=>Qs,RetentionPolicy:()=>BT,ServiceFilterBlobsExceptionHeaders:()=>QS,ServiceFilterBlobsHeaders:()=>Qb,ServiceGetAccountInfoExceptionHeaders:()=>QB,ServiceGetAccountInfoHeaders:()=>Qy,ServiceGetPropertiesExceptionHeaders:()=>Qh,ServiceGetPropertiesHeaders:()=>Qu,ServiceGetStatisticsExceptionHeaders:()=>Qp,ServiceGetStatisticsHeaders:()=>Qm,ServiceGetUserDelegationKeyExceptionHeaders:()=>QE,ServiceGetUserDelegationKeyHeaders:()=>QI,ServiceListContainersSegmentExceptionHeaders:()=>Qf,ServiceListContainersSegmentHeaders:()=>QC,ServiceSetPropertiesExceptionHeaders:()=>Qg,ServiceSetPropertiesHeaders:()=>Qd,ServiceSubmitBatchExceptionHeaders:()=>QN,ServiceSubmitBatchHeaders:()=>QQ,SignedIdentifier:()=>BZ,StaticWebsite:()=>BH,StorageError:()=>BP,UserDelegationKey:()=>BJ});let eF=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,n=t.length;e<n;e++)r=t[e](r);return r}}},eT={pipe(){return eF(this,arguments)}},eL=function(){function e(){}return e.prototype=eT,e}(),eO=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,n){return arguments.length>=3?t(e,r,n):function(n){return t(n,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},eH=e=>e,eP=e=>()=>e,eY=eP(!0),eG=eP(!1),ez=eP(null),eq=eP(void 0);function eV(e,...t){return eF(e,t)}function e_(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let n=e(r);return t.set(r,n),n}}let eJ=e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),n=r;for(;null!==n&&n!==Object.prototype;){let e=Reflect.ownKeys(n);for(let r=0;r<e.length;r++)t.add(e[r]);n=Object.getPrototypeOf(n)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t},eW=new WeakSet;function ej(e){return"string"==typeof e}function eK(e){return"number"==typeof e}function eX(e){return"boolean"==typeof e}function eZ(e){return"bigint"==typeof e}function e$(e){return"symbol"==typeof e}function e0(e){return"function"==typeof e}function e1(e){return void 0!==e}function e2(e){return null!=e}function e3(e){return!0}let e4=eO(2,(e,t)=>{var r;return("object"==typeof(r=e)&&null!==r||e0(r))&&t in e}),e5=eO(2,(e,t)=>e4(e,"_tag")&&e._tag===t);function e8(e){return e4(e,Symbol.iterator)||ej(e)}let e9="~effect/interfaces/Hash",e6=e=>{switch(typeof e){case"number":return tn(e);case"bigint":return ti(e.toString(10));case"boolean":case"symbol":return ti(String(e));case"string":return ti(e);case"undefined":return ti("undefined");case"function":case"object":if(null===e)return ti("null");{if(e instanceof Date)return ti(e.toISOString());if(e instanceof RegExp)return ti(e.toString());if(eW.has(e))return e7(e);if(tg.has(e))return tg.get(e);let t=function(e,t){if(tu.has(e))return ti("[Circular]");tu.add(e);let r=t();return tu.delete(e),r}(e,()=>{if(tr(e))return e[e9]();if("function"==typeof e)return e7(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return tA(e);if(e instanceof Map)return tl(e);if(e instanceof Set)return tc(e);return to(e)});return tg.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},e7=e=>(td.has(e)||td.set(e,tn(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),td.get(e)),te=eO(2,(e,t)=>53*e^t),tt=e=>0xbfffffff&e|e>>>1&0x40000000,tr=e=>e4(e,e9),tn=e=>{if(e!=e)return ti("NaN");if(e===1/0)return ti("Infinity");if(e===-1/0)return ti("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return tt(t)},ti=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return tt(t)},ts=(e,t)=>{let r=12289;for(let n of t)r^=te(e6(n),e6(e[n]));return tt(r)},to=e=>ts(e,eJ(e)),ta=(e,t)=>r=>{let n=e;for(let e of r)n^=t(e);return tt(n)},tA=ta(6151,e6),tl=ta(ti("Map"),([e,t])=>te(e6(e),e6(t))),tc=ta(ti("Set"),e6),td=new WeakMap,tg=new WeakMap,tu=new WeakSet,th="~effect/interfaces/Equal";function tm(){return 1==arguments.length?e=>tp(e,arguments[0]):tp(arguments[0],arguments[1])}function tp(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||eW.has(e)||eW.has(t))&&function(e,t,r){let n=tE.get(e);if(n){if(n.has(t))return n.get(t)}else n=new WeakMap,tE.set(e,n);let i=r(e,t);n.set(t,i);let s=tE.get(t);return s||(s=new WeakMap,tE.set(t,s)),s.set(e,i),i}(e,t,tI))}let tC=new WeakSet,tf=new WeakSet;function tI(e,t){if(e6(e)!==e6(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=tQ(e),n=tQ(t);if(r!==n)return!1;let i=r&&n;return("function"!=typeof e||!!i)&&function(e,t,r){let n=tC.has(e),i=tf.has(t);if(n&&i)return!0;if(n||i)return!1;tC.add(e),tf.add(t);let s=r();return tC.delete(e),tf.delete(t),s}(e,t,()=>{if(i)return e[th](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!tp(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&ty(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&tB(e,t);var r=e,n=t;let s=eJ(r),o=eJ(n);if(s.size!==o.size)return!1;for(let e of s)if(!o.has(e)||!tp(r[e],n[e]))return!1;return!0})}let tE=new WeakMap,ty=(V=tp,_=tp,function(e,t){for(let[r,n]of e){let e=!1;for(let[i,s]of t)if(V(r,i)&&_(n,s)){e=!0;break}if(!e)return!1}return!0}),tB=(J=tp,function(e,t){for(let r of e){let e=!1;for(let n of t)if(J(r,n)){e=!0;break}if(!e)return!1}return!0}),tQ=e=>e4(e,th),tN=Symbol.for("~effect/Redactable");function tb(e){return e4(e,tN)?tS(e):e}function tS(e){return e[tN](globalThis[tw]?.context??tD)}let tw="~effect/Fiber/currentFiber",tD={"~effect/Context":{},mapUnsafe:new Map,pipe(){return eF(this,arguments)}};function tx(e,t){let r=t?.space??0,n=new WeakSet,i=r?"number"==typeof r?" ".repeat(r):r:"",s=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function e(r,o=0){if(Array.isArray(r)){let t,s;if(n.has(r))return tR;if(n.add(r),!i||r.length<=1)return`[${r.map(t=>e(t,o)).join(",")}]`;let a=r.map(t=>e(t,o+1)).join(",\n"+(t=o+1,i.repeat(t)));return`[ -${s=o+1,i.repeat(s)}${a} -${i.repeat(o)}]`}if(r instanceof Date)return tv(r);if(!t?.ignoreToString&&e4(r,"toString")&&"function"==typeof r.toString&&r.toString!==Object.prototype.toString&&r.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(r);return r instanceof Error&&r.cause?`${t} (cause: ${e(r.cause,o)})`:t}if("string"==typeof r)return JSON.stringify(r);if("number"==typeof r||null==r||"boolean"==typeof r||"symbol"==typeof r)return String(r);if("bigint"==typeof r)return String(r)+"n";if("object"==typeof r||"function"==typeof r){if(n.has(r))return tR;if(n.add(r),tN in r)return tx(tS(r));if(Symbol.iterator in r)return`${r.constructor.name}(${e(Array.from(r),o)})`;let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(r);if(!i||t.length<=1){let n=`{${t.map(t=>`${tk(t)}:${e(r[t],o)}`).join(",")}}`;return s(r,n)}let a=`{ -${t.map(t=>{let n;return`${n=o+1,i.repeat(n)}${tk(t)}: ${e(r[t],o+1)}`}).join(",\n")} -${i.repeat(o)}}`;return s(r,a)}return String(r)}(e,0)}let tR="[Circular]";function tk(e){return"string"==typeof e?JSON.stringify(e):String(e)}function tv(e){try{return e.toISOString()}catch{return"Invalid Date"}}function tM(e,t){let r=[];return JSON.stringify(e,function(e,t){let n=tb(t);if("object"!=typeof n||null===n)return n;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(n))return r.push(n),n},t?.space)}let tU=Symbol.for("nodejs.util.inspect.custom"),tF=e=>{try{if(e4(e,"toJSON")&&e0(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(tF)}catch{return"[toJSON threw]"}return tb(e)},tT=(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?tM(e,{space:t}):String(e)}catch{return String(e)}},tL={toJSON(){return tF(this)},[tU](){return this.toJSON()},toString(){return tx(this.toJSON())}};class tO{[tU](){return this.toJSON()}toString(){return tx(this.toJSON())}}class tH{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new tH(this.self)}}let tP=(c={[l="~effect/Utils/internal"]:e=>e()},c[l](()=>Error().stack)?.includes(l)===!0?c[l]:({[l]:e=>e()})[l]),tY="~effect/Effect",tG="~effect/Exit",tz=`${tY}/identifier`,tq=`${tY}/args`,tV=`${tY}/evaluate`,t_=`${tY}/successCont`,tJ=`${tY}/failureCont`,tW=`${tY}/ensureCont`,tj=Symbol.for("effect/Effect/Yield"),tK={pipe(){return eF(this,arguments)},toJSON(){return{...this}},toString(){return tx(this.toJSON(),{ignoreToString:!0,space:2})},[tU](){return this.toJSON()}},tX={[tY]:{_A:eH,_E:eH,_R:eH},...tK,[Symbol.iterator](){return new tH(this)},toJSON(){return{_id:"Effect",op:this[tz],...tq in this?{args:this[tq]}:void 0}}},tZ=e=>e4(e,tY),t$="~effect/Cause",t0="~effect/Cause/Reason",t1=e=>e4(e,t$);class t2{[t$];reasons;constructor(e){this[t$]=t$,this.reasons=e}pipe(){return eF(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${tx(this.reasons)})`}[tU](){return this.toJSON()}[th](e){return t1(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>tm(t,e.reasons[r]))}[e9](){return tA(this.reasons)}}let t3=new WeakMap;class t4{[t0];annotations;_tag;constructor(e,t,r){if(this[t0]=t0,this._tag=e,t!==t5&&"object"==typeof r&&null!==r&&t.size>0){let e=t3.get(r);e&&(t=new Map([...e,...t])),t3.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,n)=>{t?.overwrite!==!0&&r.has(n)||r.set(n,e)});let n=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return n.annotations=r,n}pipe(){return eF(this,arguments)}toString(){return tx(this)}[tU](){return this.toString()}}let t5=new Map;class t8 extends t4{error;constructor(e,t=t5){super("Fail",t,e),this.error=e}toString(){return`Fail(${tx(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[th](e){return rr(e)&&tm(this.error,e.error)&&tm(this.annotations,e.annotations)}[e9](){return te(ti(this._tag))(te(e6(this.error))(e6(this.annotations)))}}let t9=e=>new t2(e),t6=new t2([]),t7=e=>new t2([new t8(e)]);class re extends t4{defect;constructor(e,t=t5){super("Die",t,e),this.defect=e}toString(){return`Die(${tx(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[th](e){return rn(e)&&tm(this.defect,e.defect)&&tm(this.annotations,e.annotations)}[e9](){return te(ti(this._tag))(te(e6(this.defect))(e6(this.annotations)))}}let rt=eO(e=>t1(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new t2(e.reasons.map(e=>e.annotate(t,r)))),rr=e=>"Fail"===e._tag,rn=e=>"Die"===e._tag,ri=e=>"Interrupt"===e._tag;function rs(e){return rh("Effect.evaluate: Not implemented")}let ro=e=>({...tX,[tz]:e.op,[tV]:e[tV]??rs,[t_]:e[t_],[tJ]:e[tJ],[tW]:e[tW]}),ra=e=>{let t=ro(e);return function(){let r=Object.create(t);return r[tq]=!1===e.single?arguments:arguments[0],r}},rA=e=>{let t={...ro(e),[tG]:tG,_tag:e.op,get[e.prop](){return this[tq]},toString(){return`${e.op}(${tx(this[tq])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[tq]}},[th](e){return e4(e,tG)&&e._tag===this._tag&&tm(this[tq],e[tq])},[e9](){return te(ti(e.op),e6(this[tq]))}};return function(e){let r=Object.create(t);return r[tq]=e,r}},rl=rA({op:"Success",prop:"value",[tV](e){let t=e.getCont(t_);return t?t[t_](this[tq],e,this):e.yieldWith(this)}}),rc={key:"effect/Cause/StackTrace"},rd="effect/Cause/InterruptorStackTrace",rg=rA({op:"Failure",prop:"cause",[tV](e){let t=this[tq],r=!1;e.currentStackFrame&&(t=rt(t,{mapUnsafe:new Map([[rc.key,e.currentStackFrame]])}),r=!0);let n=e.getCont(tJ);for(;e.interruptible&&e._interruptedCause&&n;)n=e.getCont(tJ);return n?n[tJ](t,e,r?void 0:this):e.yieldWith(r?rg(t):this)}}),ru=e=>rg(t7(e)),rh=e=>rg(new t2([new re(e)])),rm=ra({op:"WithFiber",[tV](e){return this[tq](e)}}),rp=function(){class e extends globalThis.Error{}let t=ro({op:"YieldableError",[tV](){return ru(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),rC=(d=Symbol.for("effect/Data/Error/plainArgs"),class extends rp{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,d,{value:e,enumerable:!1}))}toJSON(){return{...this[d],...this}}}),rf=e=>{class t extends rC{_tag=e}return t.prototype.name=e,t},rI="~effect/Cause/Done",rE={[rI]:rI,_tag:"Done",value:void 0},ry=e=>void 0===e?rE:{[rI]:rI,_tag:"Done",value:e},rB=ru(rE),rQ=e=>ro({op:e.label,[tV]:e.evaluate}),rN=Object.getOwnPropertyDescriptor,rb=Object.prototype.hasOwnProperty,rS=Object.isExtensible,rw=void 0===(g=rN(Error,"stackTraceLimit"))?rS(Error):rb.call(g,"writable")?!0===g.writable:void 0!==g.set,rD=e=>{rw&&(Error.stackTraceLimit=e)},rx=e=>(t,r)=>t===r||e(t,r),rR=(e,t)=>e===t,rk="~effect/data/Option",rv={[rk]:{_A:e=>e},...tK,[Symbol.iterator](){return new tH(this)}},rM=Object.defineProperty(Object.assign(Object.create(rv),{_tag:"Some",_op:"Some",[th](e){return rT(e)&&rO(e)&&tm(this.value,e.value)},[e9](){return te(e6(this._tag))(e6(this.value))},toString(){return`some(${tx(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:tF(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),rU=e6("None"),rF=Object.assign(Object.create(rv),{_tag:"None",_op:"None",valueOrUndefined:void 0,[th]:e=>rT(e)&&rL(e),[e9]:()=>rU,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),rT=e=>e4(e,rk),rL=e=>"None"===e._tag,rO=e=>"Some"===e._tag,rH=Object.create(rF),rP=e=>{let t=Object.create(rM);return t.value=e,t},rY="~effect/data/Result",rG={[rY]:{_A:e=>e,_E:e=>e},...tK,[Symbol.iterator](){return new tH(this)}},rz=Object.assign(Object.create(rG),{_tag:"Success",_op:"Success",[th](e){return rV(e)&&rJ(e)&&tm(this.success,e.success)},[e9](){return te(e6(this._tag))(e6(this.success))},toString(){return`success(${tx(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:tF(this.success)}}}),rq=Object.assign(Object.create(rG),{_tag:"Failure",_op:"Failure",[th](e){return rV(e)&&r_(e)&&tm(this.failure,e.failure)},[e9](){return te(e6(this._tag))(e6(this.failure))},toString(){return`failure(${tx(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:tF(this.failure)}}}),rV=e=>e4(e,rY),r_=e=>"Failure"===e._tag,rJ=e=>"Success"===e._tag,rW=e=>{let t=Object.create(rq);return t.failure=e,t},rj=e=>{let t=Object.create(rz);return t.success=e,t};function rK(e){return(t,r)=>t===r?0:e(t,r)}let rX=rK((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),rZ=rK((e,t)=>e<t?-1:1),r$=eO(2,(e,t)=>rK((r,n)=>e(t(r),t(n)))),r0=(e=>e.getTime(),e=>eO(2,(t,r)=>1===e(t,r))),r1=e=>eO(2,(t,r)=>-1!==e(t,r));function r2(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let n=t;for(let t of r)n=e(n,t);return n})}}let r3=()=>rH,r4=rP,r5=rT,r8=rL,r9=rO,r6=eO(2,(e,{onNone:t,onSome:r})=>r8(e)?t():r(e.value)),r7=e=>t=>r9(e(t)),ne=e=>{for(let t of e)return r4(t);return r3()},nt=e=>r_(e)?rH:rP(e.success),nr=e=>rJ(e)?rH:rP(e.failure),nn=eO(2,(e,t)=>r8(e)?t():e.value),ni=eO(2,(e,t)=>r8(e)?t():e),ns=eO(2,(e,t)=>r8(e)?r4(t()):e),no=eO(2,(e,t)=>r8(e)?nC(t(),rj):nC(e,rW)),na=e=>{let t=r3();for(t of e)if(r9(t))break;return t},nA=e=>null==e?r3():r4(e),nl=e=>void 0===e?r3():r4(e),nc=e=>null===e?r3():r4(e),nd=e=>(...t)=>nA(e(...t)),ng=nn(ez),nu=nn(eq),nh=e=>(...t)=>{try{return r4(e(...t))}catch{return r3()}},nm=eO(2,(e,t)=>{if(r9(e))return e.value;throw t()}),np=nm(()=>Error("getOrThrow called on a None")),nC=eO(2,(e,t)=>r8(e)?r3():r4(t(e.value))),nf=eO(2,(e,t)=>nC(e,()=>t)),nI=nf(void 0),nE=r4(void 0),ny=eO(2,(e,t)=>r8(e)?r3():t(e.value)),nB=eO(2,(e,t)=>ny(e,e=>{let r=e0(t)?t(e):t;return r5(r)?r:r4(r)})),nQ=eO(2,(e,t)=>r8(e)?r3():nA(t(e.value))),nN=ny(eH),nb=eO(2,(e,t)=>ny(e,()=>t)),nS=eO(2,(e,t)=>nD(e,()=>t)),nw=eO(2,(e,t)=>r=>ny(e(r),t)),nD=eO(2,(e,t)=>ny(e,e=>nC(t(e),()=>e))),nx=(e,t)=>r9(e)&&r9(t)?r4([e.value,t.value]):r3(),nR=(e,t)=>{if(r8(e))return r3();let r=[e.value];for(let e of t){if(r8(e))return r3();r.push(e.value)}return r4(r)},nk=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(r8(r))return r3();t.push(r.value)}return r4(t)}let t={};for(let r of Object.keys(e)){let n=e[r];if(r8(n))return r3();t[r]=n.value}return r4(t)},nv=eO(3,(e,t,r)=>nC(nx(e,t),([e,t])=>r(e,t))),nM=eO(3,(e,t,r)=>{let n=t;for(let t of e)r9(t)&&(n=r(n,t.value));return n}),nU=e=>r8(e)?[]:[e.value],nF=eO(2,(e,t)=>{if(r8(e))return[r3(),r3()];let r=t(e.value);return r_(r)?[r4(r.failure),r3()]:[r3(),r4(r.success)]}),nT=eO(2,(e,t)=>{if(r8(e))return r3();let r=t(e.value);return rJ(r)?r4(r.success):r3()}),nL=eO(2,(e,t)=>r8(e)?r3():t(e.value)?r4(e.value):r3()),nO=e=>rx((t,r)=>r8(t)?r8(r):!r8(r)&&e(t.value,r.value)),nH=e=>rK((t,r)=>r9(t)?r9(r)?e(t.value,r.value):1:-1),nP=e=>eO(2,(t,r)=>nv(t,r,e)),nY=eO(2,(e,t)=>t(e)?r4(e):r3()),nG=e=>eO(2,(t,r)=>!r8(t)&&e(t.value,r)),nz=nG(tm),nq=eO(2,(e,t)=>!r8(e)&&t(e.value)),nV=eO(2,(e,t)=>nC(e,e=>({[t]:e}))),n_=eO(3,(e,t,r)=>nC(e,e=>({...e,[t]:r(e)}))),nJ=eO(3,(e,t,r)=>ny(e,e=>nC(r(e),r=>({...e,[t]:r})))),nW=r4({}),nj=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(r8(e))return e;r=t.next(e.value)}return r4(r.value)};function nK(e){return r2((t,r)=>r8(t)?r:r8(r)?t:r4(e.combine(t.value,r.value)),r3())}function nX(e){return{combine:(t,r)=>r8(t)||r8(r)?r3():r4(e.combine(t.value,r.value))}}function nZ(e){let t=nX(e).combine,r=r4(e.initialValue);return r2(t,r,e=>{let n=r;for(let r of e)if(r8(n=t(n,r)))break;return n})}let n$="~effect/Context/Service",n0=function(){let e=Error.stackTraceLimit;rD(2);let t=Error();rD(e);let r=function(){};return(Object.setPrototypeOf(r,n1),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[n2]=n2,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},n1={[n$]:n$,...rQ({label:"Service",evaluate(e){return rl(ir(e.context,this))}}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return n6(this,e)},use(e){return rm(t=>e(ir(t.context,this)))},useSync(e){return rm(t=>rl(e(ir(t.context,this))))}},n2="~effect/Context/Reference",n3="~effect/Context",n4=e=>{let t=Object.create(n5);return t.mapUnsafe=e,t.mutable=!1,t},n5={...tK,[n3]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[th](e){if(!n8(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!tm(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[e9](){return tn(this.mapUnsafe.size)}},n8=e=>e4(e,n3),n9=n4(new Map),n6=(e,t)=>n4(new Map([[e.key,t]])),n7=eO(3,(e,t,r)=>il(e,e=>{e.set(t.key,r)})),ie=eO(2,(e,t)=>e.mapUnsafe.get(t.key)),it=eO(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(n2 in t)return is(t);throw io(t)}return e.mapUnsafe.get(t.key)}),ir=it,ii="~effect/Context/defaultValue",is=e=>ii in e?e[ii]:e[ii]=e.defaultValue(),io=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},ia=eO(2,(e,t)=>e.mapUnsafe.has(t.key)?r4(e.mapUnsafe.get(t.key)):e4(t,n2)?r4(is(t)):r3()),iA=eO(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:il(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),il=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),n4(r)};var ic=class extends n0()("github-action-effects/ActionLogger"){};let id=class extends eL{constructor(e){super(),e&&Object.assign(this,e)}},ig=rC,iu=rf;var ih=class extends iu("ActionEnvironmentError"){};let im=/^[+-]?\d+$/,ip="~effect/BigDecimal",iC={[ip]:ip,[e9](){let e=iw(this);return te(e6(e.value),tn(e.scale))},[th](e){return iI(e)&&iF(this,e)},toString(){return`BigDecimal(${iT(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[tU](){return this.toJSON()},pipe(){return eF(this,arguments)}},iI=e=>e4(e,ip),iE=(e,t)=>{let r=Object.create(iC);return r.value=e,r.scale=t,r},iy=(e,t)=>{if(e!==iB&&e%ib===iB)throw RangeError("Value must be normalized");let r=iE(e,t);return r.normalized=r,r},iB=BigInt(0),iQ=BigInt(1),iN=BigInt(-1),ib=BigInt(10),iS=iy(iB,0),iw=e=>{if(void 0===e.normalized)if(e.value===iB)e.normalized=iS;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let n=BigInt(t.substring(0,t.length-r)),i=e.scale-r;e.normalized=iy(n,i)}return e.normalized},iD=eO(2,(e,t)=>t>e.scale?iE(e.value*ib**BigInt(t-e.scale),t):t<e.scale?iE(e.value/ib**BigInt(e.scale-t),t):e),ix=eO(2,(e,t)=>t.value===iB?e:e.value===iB?t:e.scale>t.scale?iE(iD(t,e.scale).value+e.value,e.scale):e.scale<t.scale?iE(iD(e,t.scale).value+t.value,t.scale):iE(e.value+t.value,e.scale)),iR=rK((e,t)=>{let r=rX(iM(e),iM(t));return 0!==r?r:e.scale>t.scale?rZ(e.value,iD(t,e.scale).value):e.scale<t.scale?rZ(iD(e,t.scale).value,t.value):rZ(e.value,t.value)}),ik=(Y=iR,eO(2,(e,t)=>-1===Y(e,t))),iv=r0(iR),iM=e=>e.value===iB?0:e.value<iB?-1:1,iU=rx((e,t)=>e.scale>t.scale?iD(t,e.scale).value===e.value:e.scale<t.scale?iD(e,t.scale).value===t.value:e.value===t.value),iF=eO(2,(e,t)=>iU(e,t)),iT=e=>{let t,r,n=iw(e);if(Math.abs(n.scale)>=16)return iL(n);let i=n.value<iB,s=i?`${n.value}`.substring(1):`${n.value}`;if(n.scale>=s.length)t="0",r="0".repeat(n.scale-s.length)+s;else{let e=s.length-n.scale;if(e>s.length){let n=e-s.length;t=`${s}${"0".repeat(n)}`,r=""}else r=s.slice(e),t=s.slice(0,e)}let o=""===r?t:`${t}.${r}`;return i?`-${o}`:o},iL=e=>{if(iO(e))return"0e+0";let t=iw(e),r=`${(t.value<iB?iE(-t.value,t.scale):t).value}`,n=r.slice(0,1),i=r.slice(1),s=`${iH(t)?"-":""}${n}`;""!==i&&(s+=`.${i}`);let o=i.length-t.scale;return`${s}e${o>=0?"+":""}${o}`},iO=e=>e.value===iB,iH=e=>e.value<iB,iP=e=>iI(e[0]),iY=eO(iP,(e,t=0)=>e.scale<=t?e:iE(e.value/ib**BigInt(e.scale-t),t)),iG=eO(iP,(e,t=0)=>{let r=iY(e,t);return e.value>iB&&ik(r,e)?ix(r,iE(iQ,t)):r}),iz=eO(iP,(e,t=0)=>{let r=iY(e,t);return iH(e)&&iv(r,e)?ix(r,iE(iN,t)):r}),iq=eO(2,(e,t)=>Object.hasOwn(e,t)),iV=eO(2,(e,t)=>{let r={...e};for(let n of i_(e))r[n]=t(e[n],n);return r}),i_=e=>Object.keys(e),iJ=eO(2,(e,t)=>rJ(e)?rj(t(e.success)):rW(e.failure)),iW=eO(2,(e,{onFailure:t,onSuccess:r})=>r_(e)?t(e.failure):r(e.success)),ij=globalThis.Array,iK=e=>ij.isArray(e)?e:ij.from(e),iX=eO(2,(e,t)=>[...e,t]),iZ=eO(2,(e,t)=>iK(e).concat(iK(t)));ij.isArray;let i$=eO(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),i0=eO(3,(e,t,r)=>{let n=iK(e),i=iK(t);if(n.length>0)return i.length>0?i8(r)(iZ(n,i)):n;return i}),i1=eO(2,(e,t)=>i0(e,t,tm)),i2=()=>[],i3=e=>[e],i4=eO(2,(e,t)=>e.map(t)),i5=eO(2,(e,t)=>{let r=[],n=[],i=0;for(let s of e){let e=t(s,i++);rJ(e)?n.push(e.success):r.push(e.failure)}return[r,n]}),i8=eO(2,(e,t)=>{let r=iK(e);if(r.length>0){let e=[i$(r)];for(let n of r.slice(1))e.every(e=>!t(n,e))&&e.push(n);return e}return[]}),i9="~effect/time/Duration",i6=BigInt(0),i7=BigInt(1),se=BigInt(1e3),st=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),sr=(e,t)=>e.includes(".")?st(Number(e)*Number(t)):BigInt(e)*t,sn=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,si=e=>{switch(typeof e){case"number":return sp(e);case"bigint":return sm(e);case"string":{if("Infinity"===e)return su;if("-Infinity"===e)return sh;let t=sn.exec(e);if(!t)break;let[r,n,i]=t;if("nano"===i||"nanos"===i)return sm(sr(n,i7));if("micro"===i||"micros"===i)return sm(sr(n,se));let s=Number(n);switch(i){case"milli":case"millis":return sp(s);case"second":case"seconds":return sC(s);case"minute":case"minutes":return sf(s);case"hour":case"hours":return sI(s);case"day":case"days":return sE(s);case"week":case"weeks":return sy(s)}break}case"object":{if(null===e)break;if(i9 in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(eK))return ss(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return sg;if(e[0]===-1/0||e[1]===-1/0)return sh;if(e[0]===1/0||e[1]===1/0)return su;return sc(st(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return sc(t);return sc(st(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return ss(e)},ss=e=>{throw Error(`Invalid Input: ${e}`)},so={_tag:"Millis",millis:0},sa={_tag:"Infinity"},sA={_tag:"NegativeInfinity"},sl={[i9]:i9,[e9](){return to(this.value)},[th](e){return sd(e)&&sS(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[tU](){return this.toJSON()},pipe(){return eF(this,arguments)}},sc=e=>{let t=Object.create(sl);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=so:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:st(1e6*e)}:t.value=e>0?sa:sA:e===i6?t.value=so:t.value={_tag:"Nanos",nanos:e},t},sd=e=>e4(e,i9),sg=sc(0),su=sc(1/0),sh=sc(-1/0),sm=e=>sc(e),sp=e=>sc(e),sC=e=>sc(1e3*e),sf=e=>sc(6e4*e),sI=e=>sc(36e5*e),sE=e=>sc(864e5*e),sy=e=>sc(6048e5*e),sB=e=>sN(si(e),{onMillis:eH,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),sQ=e=>{let t=si(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return st(1e6*t.value.millis)}},sN=eO(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),sb=eO(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(sQ(e),t.value.nanos):r.onNanos(e.value.nanos,sQ(t))),sS=eO(2,(e,t)=>sb(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag})),sw=eO(2,(e,t)=>r=>{let n=e(r);if(r_(n))return rW(r);let i=t(n.success);return r_(i)?rW(r):i}),sD=n0("effect/Scheduler",{defaultValue:()=>new sk}),sx="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class sR{buckets=[];scheduleTask(e,t){let r,n=this.buckets,i=n.length,s=0;for(;s<i&&!(n[s][0]>t);s++)r=n[s];r&&r[0]===t?r[1].push(e):s===i?n.push([t,[e]]):n.splice(s,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class sk{executionMode;setImmediate;constructor(e="async",t=sx){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new sv(this.setImmediate)}}class sv{tasks=new sR;running=void 0;setImmediate;constructor(e=sx){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let sM=n0("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),sU=n0("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1}),sF="effect/Tracer/ParentSpan";class sT extends n0()(sF){}let sL=n0("effect/Tracer/DisablePropagation",{defaultValue:eG}),sO=n0("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),sH=n0("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),sP="effect/Tracer",sY=n0(sP,{defaultValue:()=>({span:e=>new sG(e)})});class sG{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=ek.getOrUndefined(e.parent)?.traceId??sz(32),this.spanId=sz(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let sz=(h=(u="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=u.charAt(Math.floor(Math.random()*h));return t}),sq=n0("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),sV=n0("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),s_=n0("effect/References/CurrentStackFrame",{defaultValue:eq}),sJ=n0("effect/References/TracerEnabled",{defaultValue:eY}),sW=n0("effect/References/TracerTimingEnabled",{defaultValue:eY}),sj=n0("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),sK=n0("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),sX=n0("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),sZ=n0("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),s$=n0("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),s0=n0("effect/References/CurrentLogSpans",{defaultValue:()=>[]}),s1=e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=Error.stackTraceLimit;rD(3);let r=Error();return rD(t),{...e,captureStackTrace:s3(()=>r.stack)}},s2=e=>t=>{let r;return()=>{if(void 0!==r)return r;let n=t();if(!n)return;let i=n.split("\n");if(void 0!==i[e])return r=i[e].trim()}},s3=s2(3);class s4 extends t4{fiberId;constructor(e,t=t5){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[th](e){return ri(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[e9](){return te(ti(`${this._tag}:${this.fiberId}`))(e7(this.annotations))}}let s5=e=>new t2([new s4(e)]),s8=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return rj(r.error)}return rW(e)},s9=e=>{let t=s8(e);return r_(t)?r3():r4(t.success)},s6=e=>{let t=e.reasons.find(rn);return t?rj(t.defect):rW(e)},s7=e=>{let t;for(let r=0;r<e.reasons.length;r++){let n=e.reasons[r];"Interrupt"===n._tag&&(t??=new Set,void 0!==n.fiberId&&t.add(n.fiberId))}return t?rj(t):rW(e)},oe=eO(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new t2(i1(e.reasons,t.reasons));return tm(e,r)?e:r}),ot=eO(2,(e,t)=>{let r=!1,n=e.reasons.map(e=>rr(e)?(r=!0,new t8(t(e.error))):e);return r?t9(n):e}),or=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},on=(e,t,r)=>{let n,i=typeof e;if(e&&"object"===i){if(n=new globalThis.Error(oi(e),{cause:e.cause?on(e.cause):void 0}),"string"==typeof e.name&&(n.name=e.name),"string"==typeof e.stack)n.stack=oo(e.stack,n,t);else{let e=`${n.name}: ${n.message}`;n.stack=t?oa(e,t):e}for(let t of(r?.includeCauseInStack&&(n.stack=oc(n)),Object.keys(e)))t in n||(n[t]=e[t])}else n=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===i?e:tM(e));return n},oi=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return tM(e)},os=/\((.*)\)/g,oo=(e,t,r)=>{let n=`${t.name}: ${t.message}`,i=(e.startsWith(n)?e.slice(n.length):e).split("\n"),s=[n];for(let e=1;e<i.length&&!/(?:Generator\.next|~effect\/Effect)/.test(i[e]);e++)s.push(i[e]);return r?oa(s.join("\n"),r):s.join("\n")},oa=(e,t)=>{let r=t?.get(rc.key);return r&&(e=`${e} -${oA(r)}`),e},oA=e=>{let t=[],r=e,n=0;for(;r&&n<10;){let e=r.stack();if(e){let n=e.matchAll(os),i=!1;for(let[,e]of n)i=!0,t.push(` at ${r.name} (${e})`);i||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,n++}return t.join("\n")},ol=e=>(e=>{let t=[],r=[];if(0===e.reasons.length)return t;let n=Error.stackTraceLimit;for(let n of(rD(1),e.reasons)){if("Interrupt"===n._tag){r.push(n);continue}t.push(on("Die"===n._tag?n.defect:n.error,n.annotations,void 0))}if(0===t.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=((e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",n=e.annotations.get(rd);r.push(` at fiber (${t})`),n&&r.push(oA(n))}return r.join("\n")})(e,r);let n=new globalThis.Error("All fibers interrupted without error",{cause:e});n.name="InterruptError",n.stack=`${n.name}: ${n.message}`,t.push(on(n,r[0].annotations,void 0))}return rD(n),t})(e).map(oc).join("\n"),oc=e=>e.cause?`${e.stack} { -${od(e.cause," ")} -}`:e.stack,od=(e,t)=>{let r=e.stack.split("\n"),n=`${t}[cause]: ${r[0]}`;for(let e=1,i=r.length;e<i;e++)n+=` -${t}${r[e]}`;return e.cause&&(n+=` { -${od(e.cause,`${t} `)} -${t}}`),n},og="~effect/Fiber/dev",ou={_A:eH,_E:eH},oh={id:0},om=()=>globalThis[tw];class op{constructor(e,t=!0){this[og]=ou,this.setContext(e),this.id=++oh.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[og];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){var t;return t=this.context,t.mapUnsafe.has(e.key)?t.mapUnsafe.get(e.key):is(e)}addObserver(e){return this._exit?(e(this._exit),eq):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=s5(e);this.currentStackFrame&&(r=rt(r,n6(rc,this.currentStackFrame))),t&&(r=rt(r,t)),this._interruptedCause=this._interruptedCause?oe(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(ob(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===tj)return;let r=of.interruptChildren&&of.interruptChildren(this);if(void 0!==r)return this.evaluate(oK(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=n9}runLoop(e){let t=globalThis[tw];globalThis[tw]=this;let r=this._running;this._running=!0;let n=!1,i=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,i=ob(this._interruptedCause)),this.currentOpCount++,!n&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){n=!0;let e=i;i=oK(ox,()=>e)}if((i=this.currentTracerContext?this.currentTracerContext(i,this):i[tV](this))===tj){let e=this._yielded;if(tG in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return tj}}}catch(e){if(!e4(i,tV))return rh(`Fiber.runLoop: Not a valid effect: ${String(i)}`);return this.runLoop(rh(e))}finally{this._running=r,globalThis[tw]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,oC;for(;;){let t=this._stack.pop();if(!t)return;let r=t[tW]&&t[tW](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,tj}children(){return this._children??=new Set}pipe(){return eF(this,arguments)}setContext(e){this.context=e;let t=this.getRef(sD);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(sF),this.currentLogLevel=this.getRef(sZ),this.minimumLogLevel=this.getRef(s$),this.currentStackFrame=e.mapUnsafe.get(s_.key),this.maxOpsBeforeYield=this.getRef(sM),this.currentPreventYield=this.getRef(sU),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(sP);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let oC={[t_]:(e,t)=>ob(t._interruptedCause),[tJ]:(e,t)=>ob(t._interruptedCause)},of={interruptChildren:void 0},oI=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(rd,e.currentStackFrame),n4(t)},oE=e=>oL(t=>{let r,n=e[Symbol.iterator](),i=[];return!function e(){let s=n.next();for(;!s.done;){if(s.value._exit){i.push(s.value._exit),s=n.next();continue}r=s.value.addObserver(t=>{i.push(t),e()});return}t(oN(i))}(),oS(()=>r?.())}),oy=e=>rm(t=>oB(e,t.id)),oB=eO(e=>e4(e[0],og),(e,t,r)=>rm(n=>{let i=oI(n);return i=i&&r?iA(i,r):i??r,e.interruptUnsafe(t,i),oW(e._exit?oN(e._exit):oL(t=>e._exit?t(oN(e._exit)):oS(e.addObserver(e=>t(oN(e))))))})),oQ=e=>rm(t=>{let r=oI(t),n=i2();for(let i of e)i.interruptUnsafe(t.id,r),n.push(i);return oW(oE(n))}),oN=rl,ob=rg,oS=ra({op:"Sync",[tV](e){let t=this[tq](),r=e.getCont(t_);return r?r[t_](t,e):e.yieldWith(rl(t))}}),ow=ra({op:"Suspend",[tV](e){return this[tq]()}}),oD=iW({onFailure:ru,onSuccess:oN}),ox=ra({op:"Yield",[tV](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(o8)},this[tq]??0),e.yieldWith(()=>{t=!0})}})(0),oR=oN(r3()),ok=e=>rh(e),ov=e=>ow(()=>ru(tP(e))),oM=oN(void 0),oU=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new Ax(e,"An error occurred in Effect.try"):e.catch;return ow(()=>{try{return oN(tP(t))}catch(e){return ru(tP(()=>r(e)))}})},oF=ra({op:"Async",single:!1,[tV](e){let t=tP(()=>this[tq][0].bind(e.currentScheduler)),r=!1,n=!1,i=this[tq][1]?new AbortController:void 0,s=t(t=>{r||(r=!0,n?e.evaluate(t):n=t)},i?.signal);return!1!==n?n:(n=!0,e._yielded=()=>{r=!0},void 0===i&&void 0===s||e._stack.push(oT(()=>(r=!0,i?.abort(),s??o8))),tj)}}),oT=ra({op:"AsyncFinalizer",[tW](e){e.interruptible&&(e.interruptible=!1,e._stack.push(aZ))},[tJ](e,t){return e.reasons.some(ri)?oK(this[tq](),()=>ob(e)):ob(e)}}),oL=e=>oF(e,e.length>=2),oO=oL(eq),oH=(e,...t)=>{let r=0===t.length?function(){return ow(()=>oq(e.apply(this,arguments)))}:function(){let r=ow(()=>oq(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return oP(e.length,r)},oP=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),oY=s2(2),oG=(e,t,r,n,i,s)=>{let o="function"==typeof t?t:n.pop().bind(t.self);return oP(o.length,function(...t){let a=ow(()=>{let e=o.apply(this,arguments);return tZ(e)?e:oq(e)});for(let e=0;e<n.length;e++)a=n[e](a,...t);if(!tZ(a))return a;let A=Error.stackTraceLimit;rD(2);let l=new globalThis.Error;return rD(A),ar(i?Au(e,s,e=>Ah(a,e)):a,s_,t=>({name:e,stack:oY(()=>l.stack),parent:{name:`${e} (definition)`,stack:oY(()=>r.stack),parent:t}}))})},oz=e=>{try{let t,r=e();for(;;){let n=r.next(t);if(n.done)return oN(n.value);let i=n.value;if(i&&"Success"===i._tag){t=i.value;continue}{if(i&&"Failure"===i._tag)return n.value;let t=!0;return ow(()=>t?(t=!1,oK(n.value,e=>oq(r,e))):ow(()=>oq(e())))}}}catch(e){return ok(e)}},oq=ra({op:"Iterator",single:!1,[t_](e,t){let r=this[tq][0];for(;;){let n=r.next(e);if(n.done)return oN(n.value);if(!oZ(n.value))return t._stack.push(this),n.value;if("Failure"===n.value._tag)return n.value;e=n.value.value}},[tV](e){return this[t_](this[tq][1],e)}}),oV=eO(2,(e,t)=>{let r=oN(t);return oK(e,e=>r)}),o_=eO(2,(e,t)=>oK(e,e=>tZ(t)?t:tP(()=>t(e)))),oJ=eO(2,(e,t)=>oK(e,e=>oV(tZ(t)?t:tP(()=>t(e)),e))),oW=e=>oK(e,e=>o8),oj=eO(e=>tZ(e[1]),(e,t,r)=>{let n;return n=[e,t],rm(e=>oL(t=>{let i=!1,s=new Set,o=e=>{i=!0,t(0===s.size?e:oK(aK(oQ(s)),()=>e))},a=0;for(let t of n){if(i)break;let n=a++,A=a6(e,t,!0,!0,!1);s.add(A),A.addObserver(t=>{s.delete(A);let a=!i;o(t),a&&r?.onWinner&&r.onWinner({fiber:A,index:n,parentFiber:e})})}return oQ(s)}))}),oK=eO(2,(e,t)=>{let r=Object.create(oX);return r[tq]=e,r[t_]=1!==t.length?e=>t(e):t,r}),oX=ro({op:"OnSuccess",[tV](e){return e._stack.push(this),this[tq]}}),oZ=e=>tG in e,o$=eO(2,(e,t)=>oZ(e)?"Success"===e._tag?t(e.value):e:oK(e,t)),o0=eO(2,(e,t)=>oK(e,e=>oN(tP(()=>t(e))))),o1=eO(2,(e,t)=>oZ(e)?o9(e,t):o0(e,t)),o2=eO(2,(e,t)=>oZ(e)?o6(e,t):af(e,t)),o3=eO(2,(e,t)=>oZ(e)?o7(e,t):aI(e,t)),o4=e=>"Success"===e._tag,o5=e=>"Failure"===e._tag?rj(e.cause):rW(e),o8=rl(void 0),o9=eO(2,(e,t)=>"Success"===e._tag?rl(t(e.value)):e),o6=eO(2,(e,t)=>{if("Success"===e._tag)return e;let r=s8(e.cause);return r_(r)?e:ru(t(r.success))}),o7=eO(2,(e,t)=>{if("Success"===e._tag)return rl(t.onSuccess(e.value));let r=s8(e.cause);return r_(r)?e:ru(t.onFailure(r.success))}),ae=eO(2,(e,t)=>o4(e)?t:e),at=eO(2,(e,t)=>rm(r=>{let n=r.context,i=t(n);return n===i?e:(r.setContext(i),aY(e,()=>{r.setContext(n)}))})),ar=eO(3,(e,t,r)=>at(e,e=>{let n=it(e,t),i=r(n);return n===i?e:n7(e,t,i)})),an=rm(e=>oN(e.context)),ai=e=>rm(t=>e(t.context)),as=eO(2,(e,t)=>oZ(e)?e:at(e,iA(t))),ao=function(){return 1==arguments.length?eO(2,(e,t)=>aa(e,arguments[0],t)):eO(3,(e,t,r)=>aa(e,t,r)).apply(this,arguments)},aa=(e,t,r)=>at(e,e=>e.mapUnsafe.get(t.key)===r?e:n7(e,t,r)),aA=((e,t,r)=>oK(r,r=>ao(e,t,r)),eO(e=>tZ(e[0]),(e,t)=>a3({while:eY,body:eP(t?.disableYield?e:oK(e,e=>ox)),step:eq}))),al=eO(2,(e,t)=>{let r=Object.create(ac);return r[tq]=e,r[tJ]=1!==t.length?e=>t(e):t,r}),ac=ro({op:"OnFailure",[tV](e){return e._stack.push(this),this[tq]}}),ad=((e,t,r)=>al(e,e=>t(e)?tP(()=>r(e)):ob(e)),eO(3,(e,t,r)=>al(e,e=>{let n=t(e);return r_(n)?ob(n.failure):tP(()=>r(n.success,e))}))),ag=eO(2,(e,t)=>ad(e,s8,e=>t(e))),au=eO(2,(e,t)=>ad(e,s6,t)),ah=eO(2,(e,t)=>al(e,e=>o_(tP(()=>t(e)),ob(e)))),am=eO(3,(e,t,r)=>al(e,e=>{let n=t(e);return r_(n)?ob(e):o_(tP(()=>r(n.success,e)),ob(e))})),ap=((e,t)=>am(e,s8,e=>t(e)),eO(e=>tZ(e[0]),(e,t,r,n)=>al(e,e=>{let i=s8(e);return r_(i)?ob(i.failure):t(i.success)?tP(()=>r(i.success)):n?tP(()=>n(i.success)):ob(e)}))),aC=((e=>tZ(e[0]),(e,t,r,n)=>al(e,e=>{let i=s8(e);if(r_(i))return ob(i.failure);let s=t(i.success);return r_(s)?n?tP(()=>n(s.failure)):ob(e):tP(()=>r(s.success))})),eO(e=>tZ(e[0]),(e,t,r,n)=>ap(e,Array.isArray(t)?e=>e4(e,"_tag")&&t.includes(e._tag):e5(t),r,n))),af=eO(2,(e,t)=>ag(e,e=>ov(()=>t(e)))),aI=eO(2,(e,t)=>aN(e,{onFailure:e=>ov(()=>t.onFailure(e)),onSuccess:e=>oS(()=>t.onSuccess(e))})),aE=eO(2,(e,t)=>ag(e,e=>oS(t))),ay=e=>aS(e,{onFailure:rW,onSuccess:rj}),aB=eO(2,(e,t)=>{let r=Object.create(aQ);return r[tq]=e,r[t_]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[tJ]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),aQ=ro({op:"OnSuccessAndFailure",[tV](e){return e._stack.push(this),this[tq]}}),aN=((e,t)=>aB(e,{onFailure:e=>oS(()=>t.onFailure(e)),onSuccess:e=>oS(()=>t.onSuccess(e))}),eO(2,(e,t)=>aB(e,{onFailure:e=>{let r=e.reasons.find(rr);return r?tP(()=>t.onFailure(r.error)):ob(e)},onSuccess:t.onSuccess}))),ab=eO(2,(e,t)=>aN(e,{onFailure:e=>oS(()=>t.onFailure(e)),onSuccess:e=>oS(()=>t.onSuccess(e))})),aS=eO(2,(e,t)=>{if(oZ(e)){if("Success"===e._tag)return rl(t.onSuccess(e.value));let r=s8(e.cause);return r_(r)?e:rl(t.onFailure(r.success))}return ab(e,t)}),aw=e=>oZ(e)?rl(e):aD(e),aD=ra({op:"Exit",[tV](e){return e._stack.push(this),this[tq]},[t_]:(e,t,r)=>oN(r??rl(e)),[tJ]:(e,t,r)=>oN(r??rg(e))}),ax=((e,t)=>oj(e,oK(AB(t.duration),t.orElse)),"~effect/Scope"),aR="~effect/Scope/Closeable",ak=n0("effect/Scope"),av=(e,t)=>ow(()=>aM(e,t)??oM),aM=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:n}=e.state;return(e.state=r,0===n.size)?void 0:1===n.size?n.values().next().value(t):aU(e,n,t)},aU=oH(function*(e,t,r){let n=[],i=[],s=Array.from(t.values()),o=om();for(let t=s.length-1;t>=0;t--){let a=s[t];"sequential"===e.strategy?n.push((yield*aw(a(r)))):i.push(a6(o,a(r),!0,!0,"inherit"))}return i.length>0&&(n=yield*oE(i)),yield*(e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?o8:rg(t9(t))})(n)}),aF=(e,t)=>ow(()=>"Closed"===e.state._tag?t(e.state.exit):(aT(e,{},t),oM)),aT=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},aL=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},aO=(e="sequential")=>({[aR]:aR,[ax]:ax,strategy:e,state:aH}),aH={_tag:"Empty"},aP=ao(ak),aY=ra({op:"OnExit",single:!1,[tV](e){return e._stack.push(this),this[tq][0]},[tW](e){e.interruptible&&!0!==this[tq][2]&&(e._stack.push(aZ),e.interruptible=!1)},[t_](e,t,r){r??=rl(e);let n=this[tq][1](r);return n?oK(n,e=>r):r},[tJ](e,t,r){r??=rg(e);let n=this[tq][1](r);return n?oK(n,e=>r):r}}),aG=eO(2,aY),az=eO(2,(e,t)=>aG(e,e=>t)),aq=((e,t,r)=>aG(e,e=>t(e)?r(e):oM),eO(3,(e,t,r)=>aG(e,e=>{let n=t(e);return r_(n)?oM:r(n.success,e)}))),aV=eO(2,(e,t)=>aq(e,o5,t)),a_=eO(3,(e,t,r)=>aG(e,e=>{if("Failure"!==e._tag)return oM;let n=t(e.cause);return r_(n)?oM:r(n.success,e.cause)})),aJ=eO(2,(e,t)=>a_(s7,t)(e)),aW=eO(2,(e,t)=>oS(()=>{let r,n=sB(si(t)),i=Number.isFinite(n),s=Al(!1),o=0,a=!1,A=oK(s.await,()=>r);return[rm(t=>{let l=t.getRef(Ap),c=i?l.currentTimeMillisUnsafe():0;return a||c<o?r??A:(a=!0,s.closeUnsafe(),r=void 0,aG(e,e=>oS(()=>{a=!1,o=l.currentTimeMillisUnsafe()+n,r=e,s.openUnsafe()})))}),oS(()=>{o=0,s.closeUnsafe(),r=void 0})]})),aj=eO(2,(e,t)=>o0(aW(e,t),e=>e[0])),aK=e=>rm(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(aZ)),e)),aX=ra({op:"SetInterruptible",[tW](e){if(e.interruptible=this[tq],e._interruptedCause&&e.interruptible)return()=>ob(e._interruptedCause)}}),aZ=aX(!0),a$=aX(!1),a0=e=>rm(t=>t.interruptible?e:(e=>{if(e.interruptible=!0,e._stack.push(a$),e._interruptedCause)return ob(e._interruptedCause)})(t)??e),a1=e=>rm(t=>t.interruptible?(t.interruptible=!1,t._stack.push(aZ),e(a0)):e(eH)),a2=(e,t)=>e8(e)?t?.mode==="result"?a4(e,ay,t):a4(e,eH,t):t?.discard?"result"===t.mode?a4(Object.values(e),ay,t):a4(Object.values(e),eH,t):ow(()=>{let r={};return oV(a4(Object.entries(e),([e,n])=>o0(t?.mode==="result"?ay(n):n,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),a3=((e=>e8(e[0])&&!tZ(e[0]),(e,t,r)=>o0(a4(e,(e,r)=>ay(t(e,r)),r),e=>i5(e,eH))),ra({op:"While",[t_](e,t){return(this[tq].step(e),this[tq].while())?(t._stack.push(this),this[tq].body()):o8},[tV](e){return this[tq].while()?(e._stack.push(this),this[tq].body()):o8}})),a4=eO(e=>"function"==typeof e[1],(e,t,r)=>rm(n=>{let i=r?.concurrency==="inherit"?n.getRef(sq):r?.concurrency??1,s="unbounded"===i?1/0:Math.max(1,i);if(1===s)return a5(e,t,r);let o=iK(e),a=o.length;if(0===a)return r?.discard?oM:oN([]);let A=r?.discard?void 0:Array(a),l=a9({f:t,out:A},o,{concurrency:s});return l?oV(l,A):oN(A)})),a5=(e,t,r)=>ow(()=>{let n=r?.discard?void 0:[],i=e[Symbol.iterator](),s=i.next(),o=0;return oV(a3({while:()=>!s.done,body:()=>t(s.value,o++),step:e=>{n&&n.push(e),s=i.next()}}),n)}),a8=e=>{let t=e.onItem,r=e.step;return(e,n,i)=>{let s,o,a,A,l,c=i?.start??0,d=i?.end??n.length,g=i?.concurrency??1,u=i?.orderedStep===!0&&g>1,h=!1,m=!1,p=c,C=u?Array(d):void 0,f=e=>{let t=rh(e);return A=t,h=!0,m=!0,o&&o.size>0?oK(aK(oQ(Array.from(o))),()=>t):t},I=(t,i,s)=>{if(!u)return r(e,t,i,s);if(A)return A;for(C[s]=i;p<d;){let t=C[p];if(void 0===t)return;C[p]=void 0;let i=p++,s=r(e,n[i],t,i);if(s)return s}},E=()=>{let r=!1;for(;!A&&c<d;c++){let i=n[c],d=l??t(e,i,c);if(oZ(d)){if(A=I(i,d,c))break}else{if(1===g)return oK(aw(d),e=>(A=I(i,e,c),c++,A??E()??oM));if(!s)return oL(e=>{let t;s=om(),o=new Set,l=d,a=e;try{t=E()}catch(t){return e(f(t))}return t?e(t):ow(()=>(A=o8,m=!0,o?oQ(o):oM))});l=void 0;let e=a6(s,d,!0,!0,"inherit");if(e._exit){if(A=I(i,e._exit,c))break;continue}o.add(e);let t=c;if(e.addObserver(n=>{o.delete(e);try{if(A){if(!m&&"Failure"===n._tag)for(let e of n.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=rg(t9([e]))}else{let e=I(i,n,t);e&&(A="Failure"===e._tag?rg(t9(e.cause.reasons.slice())):e,E())}if(r){let e=E();e&&a(e)}else h&&0===o.size&&a(A??oM)}catch(e){a(f(e))}}),o.size<g)continue;r=!0,c++;return}}if(h=!0,A){if(o&&o.size>0){let e=oI(s);o.forEach(t=>t.interruptUnsafe(s.id,e));return}if(a||"Failure"===A._tag)return A}else if(a)if(!o)return o8;else 0===o.size&&a(oM)};return E()}},a9=a8({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,n){if("Failure"===r._tag)return r;e.out&&(e.out[n]=r.value)}}),a6=((e,t,r)=>oK(e,e=>t(e)?oN(e):r(e)),(e,t,r=!1,n=!1,i=!1)=>{let s="inherit"===i?e.interruptible:!i,o=new op(e.context,s);return r?o.evaluate(t):e.currentDispatcher.scheduleTask(()=>o.evaluate(t),0),n||o._exit||(e.children().add(o),o.addObserver(()=>e._children.delete(o))),o}),a7=eO(e=>tZ(e[0]),(e,t,r)=>rm(n=>{let i=a6(n,e,r?.startImmediately,!0,r?.uninterruptible);if(!i._exit)if("Closed"!==t.state._tag){let e={};aT(t,e,()=>{let e;return e=e=>e===i.id?oM:oy(i),rm(t=>e(t.id))}),i.addObserver(()=>aL(t,e))}else i.interruptUnsafe(n.id,oI(n));return oN(i)})),Ae=e=>(t,r)=>{let n=new op(r?.scheduler?n7(e,sD,r.scheduler):e,r?.uninterruptible!==!0);if(n.evaluate(t),n._exit)return n;if(r?.signal)if(r.signal.aborted)n.interruptUnsafe();else{let e=()=>n.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),n.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(n),n},At=Ae(n9),Ar=(z=(G=Ae(n9),(e,t)=>{let r=G(e,t);return new Promise(e=>{r.addObserver(t=>e(t))})}),(e,t)=>z(e,t).then(e=>{if("Failure"===e._tag)throw or(e.cause);return e.value})),An=e=>{let t=Ae(e);return e=>{if(oZ(e))return e;let r=t(e,{scheduler:new sk("sync")});return r._dispatcher?.flush(),r._exit??rh(new Aw(r))}},Ai=An(n9),As=(m=An(n9),e=>{let t=m(e);if("Failure"===t._tag)throw or(t.cause);return t.value}),Ao=oN(!0),Aa=oN(!1);class AA{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),Ao}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](o8)};open=rm(e=>this._isOpen?Aa:(this._isOpen=!0,this.scheduleUnsafe(e)));release=rm(e=>this._isOpen?Aa:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=oL(e=>this._isOpen?e(oM):(this.waiters.push(e),oS(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=oS(()=>this.closeUnsafe());whenOpen=e=>oK(this.await,()=>e);isOpen(){return this._isOpen}}let Al=e=>new AA(e??!1),Ac=BigInt(0),Ad={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:Ac,endTime:Ac,exit:o8},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},Ag=e=>e?ir(e.annotations,sL)?"Span"===e._tag?Ag(nu(e.parent)):r3():r4(e):r3(),Au=(e,...t)=>{let r=1===t.length?void 0:t[0],n=t[t.length-1];return rm(t=>{let i=((e,t,r)=>{let n,i=!e.getRef(sJ)||r?.annotations&&ir(r.annotations,sL),s=r?.parent!==void 0?r4(r.parent):r?.root?r3():Ag(e.currentSpan);if(i){let e;e={name:t,parent:s,annotations:n7(r?.annotations??n9,sL,!0)},n=Object.assign(Object.create(Ad),e)}else{let i=e.getRef(sY),o=e.getRef(Ap),a=e.getRef(sW),A=e.getRef(sj),l=e.getRef(sK),c=r?.level??e.getRef(sO),d=r?.links!==void 0?[...l,...r.links]:l.slice();for(let[l,g]of(n=i.span({name:t,parent:s,annotations:r?.annotations??n9,links:d,startTime:a?o.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??r8(s),sampled:r?.sampled??((!r9(s)||!1!==s.value.sampled)&&!Av(e.getRef(sH),c))}),Object.entries(A)))n.attribute(l,g);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))n.attribute(e,t)}return n})(t,e,r),s=t.getRef(Ap);return aG(tP(()=>n(i)),e=>oS(()=>{"Ended"!==i.status._tag&&i.end(s.currentTimeNanosUnsafe(),e)}))})},Ah=ao(sT),Am=function(){let e=tZ(arguments[0]),t=e?arguments[1]:arguments[0],r=e?arguments[2]:arguments[1],n=eH;if("Span"===t._tag){var i,s;r=s1(r),i=t.name,s="function"==typeof(s=r?.captureStackTrace)?s:eq,n=ar(s_,e=>({name:i,stack:s,parent:e}))}return e?Ah(n(arguments[0]),t):e=>Ah(n(e),t)},Ap=n0("effect/Clock",{defaultValue:()=>new Af}),AC=0x80000000-1;class Af{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=oS(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return AE()}currentTimeNanos=oS(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(sB(e))}sleepMillis(e){return e<=0?ox:Number.isFinite(e)?oL(t=>{let r=e>AC?this.sleepMillis(e-AC):oM,n=setTimeout(()=>t(r),Math.min(e,AC));return oS(()=>clearTimeout(n))}):oO}}let AI=(C=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*C:()=>(p??=BigInt(Date.now())*C-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),AE=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return AI;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),Ay=e=>rm(t=>e(t.getRef(Ap))),AB=e=>Ay(t=>t.sleep(si(e))),AQ=(e=>e.currentTimeMillis,"~effect/Cause/TimeoutError"),AN="~effect/Cause/IllegalArgumentError";class Ab extends rf("IllegalArgumentError"){[AN]=AN;constructor(e){super({message:e})}}let AS="~effect/Cause/AsyncFiberError";class Aw extends rf("AsyncFiberError"){[AS]=AS;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let AD="~effect/Cause/UnknownError";class Ax extends rf("UnknownError"){[AD]=AD;constructor(e,t){super({message:t,cause:e})}}let AR=n0("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),Ak=r$(rX,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}}),Av=r0(Ak),AM=n0("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([AH,AP])}),AU=n0("effect/Logger/LogToStderr",{defaultValue:eG}),AF={"~effect/Logger":{_Message:eH,_Output:eH},pipe(){return eF(this,arguments)}},AT=e=>{let t=Object.create(AF);return t.log=e,t},AL=(e,t)=>{let r=e[0].replace(/[\s="]/g,"_");return`${r}=${t-e[1]}ms`},AO=e=>(...t)=>{let r;for(let e=0,n=t.length;e<n;e++){let n=t[e];t1(n)&&(r?t.splice(e,1):t=t.slice(0,e).concat(t.slice(e+1)),r=r?t9(r.reasons.concat(n.reasons)):n,e--)}return void 0===r&&(r=t6),rm(n=>{let i=e??n.currentLogLevel;if(Av(n.minimumLogLevel,i))return oM;let s=n.getRef(Ap),o=n.getRef(AM);if(o.size>0){let e=new Date(s.currentTimeMillisUnsafe());for(let s of o)s.log({cause:r,fiber:n,date:e,logLevel:i,message:t})}return oM})},AH=AT(({cause:e,date:t,fiber:r,logLevel:n,message:i})=>{let s=Array.isArray(i)?i.slice():[i];e.reasons.length>0&&s.push(ol(e));let o=t.getTime(),a=r.getRef(s0),A="";for(let e of a)A+=` ${AL(e,o)}`;let l=r.getRef(sX);Object.keys(l).length>0&&s.push(l);let c=r.getRef(AR);(r.getRef(AU)?c.error:c.log)(`[${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}] ${n.toUpperCase()} (#${r.id})${A}:`,...s)}),AP=AT(({cause:e,fiber:t,logLevel:r,message:n})=>{let i=t.getRef(Ap),s=t.getRef(sX),o=t.currentSpan;if(void 0===o||"ExternalSpan"===o._tag)return;let a={};for(let[e,t]of Object.entries(s))a[e]=t;a["effect.fiberId"]=t.id,a["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(a["effect.cause"]=ol(e)),o.event(tT(Array.isArray(n)&&1===n.length?n[0]:n),i.currentTimeNanosUnsafe(),a)}),AY=e=>void 0===e?rB:ru(ry(e)),AG="~effect/time/DateTime",Az="~effect/time/DateTime/TimeZone",Aq={[AG]:AG,pipe(){return eF(this,arguments)},[tU](){return this.toString()},toJSON(){return ln(this).toJSON()}},AV={...Aq,_tag:"Utc",[e9](){return tn(this.epochMilliseconds)},[th](e){return AX(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${ln(this).toJSON()})`}},A_={...Aq,_tag:"Zoned",[e9](){return te(tn(this.epochMilliseconds))(e6(this.zone))},[th](e){return AX(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&tm(this.zone,e.zone)},toString(){return`DateTime.Zoned(${lf(this)})`}},AJ={[Az]:Az,[tU](){return this.toString()}},AW={...AJ,_tag:"Named",[e9](){return ti(`Named:${this.id}`)},[th](e){return A$(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},Aj={...AJ,_tag:"Offset",[e9](){return ti(`Offset:${this.offset}`)},[th](e){return A$(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${lo(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},AK=(e,t,r)=>{let n=Object.create(A_);return n.epochMilliseconds=e,n.zone=t,Object.defineProperty(n,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(n,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(n,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),n},AX=e=>e4(e,AG),AZ=e=>AX(e[0]),A$=e=>e4(e,Az),A0=((e,t)=>e.epochMilliseconds===t.epochMilliseconds,e=>{let t=Object.create(AV);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t}),A1=e=>{let t=e.getTime();if(Number.isNaN(t))throw new Ab("Invalid date");return A0(t)},A2=e=>{if(AX(e))return e;if(e instanceof Date)return A1(e);if("object"==typeof e){if("epochMilliseconds"in e)return A0(e.epochMilliseconds);let t=new Date(0);return lA(t,e),A1(t)}return"string"!=typeof e||A3(e)?A1(new Date(e)):A1(new Date(e+"Z"))},A3=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),A4=nh((e,t)=>{let r,n=t?.timeZone;if(void 0===n&&AX(e)&&"Zoned"===e._tag)return e;let i=A2(e);if(i.epochMilliseconds<-86399999568e5||i.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${i.epochMilliseconds}`);if(void 0===n&&"object"==typeof e&&"timeZoneId"in e&&(n=e.timeZoneId),void 0===n)r=A7(-60*new Date(i.epochMilliseconds).getTimezoneOffset()*1e3);else if(A$(n))r=n;else if("number"==typeof n)r=A7(n);else{let e=lr(n);if(r8(e))throw new Ab(`Invalid time zone: ${n}`);r=e.value}return t?.adjustForTimeZone!==!0?AK(i.epochMilliseconds,r,i.partsUtc):ll(i.epochMilliseconds,r,t?.disambiguation??"compatible")}),A5=nh(A2),A8=/^(.{17,35})\[(.+)\]$/,A9=((e,t,r)=>r?.adjustForTimeZone===!0?ll(e.epochMilliseconds,t,r?.disambiguation??"compatible"):AK(e.epochMilliseconds,t,e.partsUtc),new Map),A6={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},A7=e=>{let t=Object.create(Aj);return t.offset=e,t},le=nh(e=>{if(A9.has(e))return A9.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...A6,timeZone:e});let r=t.resolvedOptions().timeZone;if(A9.has(r))return A9.get(r);let n=Object.create(AW);return n.id=r,n.format=t,A9.set(r,n),n}catch{throw new Ab(`Invalid time zone: ${e}`)}}),lt=/^(?:GMT|[+-])/,lr=e=>{if(lt.test(e)){let t=ld(e);return null===t?r3():r4(A7(t))}return le(e)},ln=e=>new Date(e.epochMilliseconds),li=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},ls=e=>li(e).getTime()-la(e),lo=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),n=Math.round(t%36e5/6e4);return 60===n&&(r+=1,n=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`},la=e=>e.epochMilliseconds,lA=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},ll=(e,t,r)=>{if("Offset"===t._tag)return AK(e-t.offset,t);let n=lg(e-864e5,e,t),i=lg(e+864e5,e,t);if(n===i)return AK(e-n,t);let s=n-i;if(n<i){if(lg(e-i,e,t)===i)return AK(e-i,t);let s=AK(e-n,t);if(e!==li(s).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return AK(e-i,t)}return s}if(lg(e-n,e,t)===n){if("earlier"===r||"compatible"===r||lg(e-n+s,e+s,t)===n)return AK(e-n,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return AK(e-i,t)},lc=/([+-])(\d{2}):(\d{2})$/,ld=e=>{let t=lc.exec(e);if(null===t)return null;let[,r,n,i]=t;return("+"===r?1:-1)*(60*Number(n)+Number(i))*6e4},lg=(e,t,r)=>{let n=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===n)return 0;let i=ld(n);return null===i?ls(AK(t,r)):i},lu=eO(AZ,(e,t,r)=>{if("Utc"===e._tag){let r=ln(e);return t(r),A0(r.getTime())}let n=new Date(li(e).getTime());return t(n),ll(n.getTime(),e.zone,r?.disambiguation??"compatible")}),lh=((e,t)=>lh(e,e=>{let r=new Date(e);return t(r),r.getTime()}),eO(2,(e,t)=>{let r=t(la(e));return"Utc"===e._tag?A0(r):AK(r,e.zone)})),lm=((e,t)=>t(li(e)),eO(2,(e,t)=>t(ln(e)))),lp=(e,t)=>{e.setTime(e.getTime()+t)},lC=((e,t)=>lu(e,e=>{if(t.milliseconds&&lp(e,t.milliseconds),t.seconds&&lp(e,1e3*t.seconds),t.minutes&&lp(e,60*t.minutes*1e3),t.hours&&lp(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),n=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,n+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=li(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${lo(ls(e))}`}),lf=e=>"Offset"===e.zone._tag?lC(e):`${lC(e)}[${e.zone.id}]`,lI={"~effect/Deferred":{_A:eH,_E:eH},pipe(){return eF(this,arguments)}},lE=eO(2,(e,t)=>oS(()=>ly(e,t))),ly=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0},lB=(e,t)=>{let r=aO(t);if("Closed"===e.state._tag)return r.state=e.state,r;let n={};return aT(e,n,e=>av(r,e)),aT(r,n,t=>oS(()=>aL(e,n))),r},lQ="~effect/Layer/MemoMap",lN={"~effect/Layer":{_ROut:eH,_E:eH,_RIn:eH},pipe(){return eF(this,arguments)}},lb=e=>{let t=Object.create(lN);return t.build=e,t},lS=e=>lb((t,r)=>{let n=lB(r);return aG(e(t,n),e=>"Failure"===e._tag?av(n,e):oM)});class lw{get[lQ](){return lQ}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,o_(aF(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var n;let i,s,o,a,A=this.get(e,t);return A?A:(n=this,i=aO(),(s=Object.create(lI)).resumes=void 0,s.effect=void 0,a={observers:1,effect:(o=s,oL(e=>o.effect?e(o.effect):(o.resumes??=[],o.resumes.push(e),oS(()=>{let t=o.resumes.indexOf(e);o.resumes.splice(t,1)})))),finalizer:t=>ow(()=>(a.observers--,0===a.observers)?(n.map.delete(e),av(i,t)):oM)},n.map.set(e,a),aF(t,a.finalizer).pipe(oK(()=>r(n,i)),aG(e=>(a.effect=e,lE(o,e)))))}}let lD=()=>new lw;class lx extends n0()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=ie(e,lx);return t?new lw(t):lD()}}let lR=eO(3,(e,t,r)=>ao(o0(e.build(t,r),n7(lx,t)),lx,t)),lk=eO(2,(e,t)=>rm(r=>lR(e,lx.forkOrCreate(r.context),t))),lv=function(){return 1==arguments.length?e=>lM(n6(arguments[0],e)):lM(n6(arguments[0],arguments[1]))},lM=e=>lb(eP(oN(e))),lU=function(){return 1==arguments.length?e=>lF(arguments[0],e):lF(arguments[0],arguments[1])},lF=(e,t)=>lT(o0(t,t=>n6(e,t))),lT=e=>{var t;let r;return t=(t,r)=>aP(e,r),r=lS((e,n)=>e.getOrElseMemoize(r,n,t))},lL=(e,t,r)=>{let n=lB(r,"parallel");return a4(e,e=>e.build(t,lB(n,"sequential")),{concurrency:e.length}).pipe(o0(e=>((...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return n4(t)})(...e)))},lO=(...e)=>lS((t,r)=>lL(e,t,r)),lH=(e,t,r)=>lS((n,i)=>oK(Array.isArray(t)?lL(t,n,i):t.build(n,i),t=>e.build(n,i).pipe(as(t),o0(e=>r(e,t))))),lP=eO(2,(e,t)=>lH(e,t,eH)),lY=eO(2,(e,t)=>lH(e,t,(e,t)=>iA(t,e))),lG=e=>"Failure"===e._tag,lz=eO(2,(e,t)=>ad(e,l_,e=>t(e))),lq=e=>"Fail"===e._tag&&e4(e.error,rI),lV=sw(s8,e=>e4(e,rI)?rj(e):rW(e)),l_=sw(s8,e=>e4(e,rI)?rj(e.value):rW(e)),lJ=eO(2,(e,t)=>aB(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=lV(e);return r_(r)?t.onFailure(r.failure):t.onDone(r.success.value)}})),lW="~effect/Schedule",lj=n0("effect/Schedule/CurrentMetadata",{defaultValue:eP({input:void 0,output:void 0,duration:sg,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),lK={[lW]:{_Out:eH,_In:eH,_Env:eH},pipe(){return eF(this,arguments)}},lX=e=>{let t=Object.create(lK);return t.step=e,t},lZ=()=>{let e,t,r=0;return(n,i)=>{void 0===t&&(t=n);let s=n-t,o=void 0===e?0:n-e;return e=n,{input:i,attempt:++r,start:t,now:n,elapsed:s,elapsedSincePrevious:o}}},l$=e=>lX(o0(e,e=>{let t=lZ();return(r,n)=>e(t(r,n))})),l0=e=>al(e.step,e=>oN(()=>ob(e))),l1=e=>Ay(t=>o0(l0(e),e=>{let r=lZ();return n=>ow(()=>{let i=t.currentTimeMillisUnsafe();return oK(e(i,n),([e,t])=>{let s=r(i,n);return s.output=e,s.duration=t,oV(AB(t),s)})})})),l2=(e,t=2)=>{let r=sB(si(e));return l$(oN(e=>{let n=sp(r*Math.pow(t,e.attempt-1));return oN([n,n])}))},l3=e=>lX(o0(l0(e),e=>(t,r)=>lJ(e(t,r),{onSuccess:e=>oN([r,e[1]]),onFailure:ob,onDone:()=>AY(r)}))),l4=e=>{let t=si(e);return l$(oN(e=>oN([e.attempt-1,t])))},l5=eO(2,(e,t)=>lX(o0(l0(e),e=>{let r=lZ();return(n,i)=>oK(e(n,i),e=>{let[s,o]=e,a=t({...r(n,i),output:s,duration:o});return oK(tZ(a)?a:oN(a),t=>t?oN(e):AY(s))})}))),l8=l4(sg),l9=eO(e=>tZ(e[0]),(e,t,r)=>{var n;let i;return n8(t)?as(e,t):(n=Array.isArray(t)?lO(...t):t,i=t=>oK(r?.local?lR(n,lD(),t):lk(n,t),t=>as(e,t)),ow(()=>{let e=aO();return aG(i(e),t=>ow(()=>aM(e,t)??oM))}))}),l6=((e,t,r)=>oK(l1(t),t=>{let n=lj.defaultValue();return ag(aA(oJ(oK(ow(()=>ao(e,lj,n)),t),e=>oS(()=>{n=e})),{disableYield:!0}),e=>e4(e,rI)?oN(e.value):r(e,0===n.attempt?r3():r4(n)))}),eO(3,(e,t,r)=>oK(l1(t),t=>{let n,i=lj.defaultValue(),s=ag(ow(()=>ao(e,lj,i)),e=>(n=e,oK(t(e),e=>(i=e,s))));return lz(s,e=>tP(()=>r(n,e)))}))),l7=eO(2,(e,t)=>l6(e,"function"==typeof t?t(eH):e4(t,lW)?t:ct(t),ru)),ce=l3(l8),ct=e=>{let t=e.schedule?l3(e.schedule):ce;return e.while&&(t=l5(t,({input:t})=>{let r=e.while(t);return tZ(r)?r:oN(r)})),e.until&&(t=l5(t,({input:t})=>{let r=e.until(t);return tZ(r)?o0(r,e=>!e):oN(!r)})),void 0!==e.times&&(t=l5(t,({attempt:t})=>oN(t<=e.times))),t},cr=l5(l8,({attempt:e})=>oN(e<=1)),cn=(W={_E:e=>e,_A:e=>e,_R:e=>e},eW.add(W),W);({...{[e9](){return ts(this,Object.keys(this))},[th](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==r[n]||!tm(this[t[n]],e[t[n]]))return!1;return!0}},"~effect/Request":cn});let ci=e=>oF(function(t,r){tP(()=>e(r)).then(e=>t(oN(e)),e=>t(ok(e)))},0!==e.length),cs=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new Ax(e,"An error occurred in Effect.tryPromise"):e.catch;return oF(function(e,n){let i=t=>{try{e(ru(tP(()=>r(t))))}catch(t){e(ok(t))}};try{tP(()=>t(n)).then(t=>e(oN(t)),i)}catch(e){i(e)}},0!==t.length)},co=(...e)=>ow(()=>oq(1===e.length?e[0]():e[1].call(e[0].self))),ca=e=>ow(()=>ob(tP(e))),cA=e=>ag(e,ok),cl=(e,t,r)=>ai(n=>a1(i=>oK(ak,s=>oJ(r?.interruptible?i(e):e,e=>aF(s,r=>as(t(e,r),n)))))),cc=(e,t,r)=>a1(n=>oK(e,e=>aY(n(t(e)),t=>r(e,t),!0))),cd=e=>aj(e,su),cg=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=s1(arguments[2]);if(e){let e=arguments[0];return Au(t,arguments[2],t=>Am(e,t,r))}let n="function"==typeof arguments[1]?arguments[1]:void 0,i=n?void 0:arguments[1];return(e,...s)=>Au(t,n?n(...s):i,t=>Am(e,t,r))},cu=function(){let e="string"==typeof arguments[0],t=e?arguments[0]:"Effect.fn",r=e?arguments[1]:void 0,n=Error.stackTraceLimit;rD(2);let i=new globalThis.Error;return(rD(n),e)?(n,...s)=>oG(t,n,i,s,e,r):oG(t,arguments[0],i,Array.prototype.slice.call(arguments,1),e,r)},ch=AO(),cm=AO("Warn"),cp=AO("Error"),cC=AO("Debug"),cf=(e,t,r)=>(...n)=>oL(i=>{try{e(...n,(e,r)=>{e?i(ru(t?t(e,n):e)):i(oN(r))})}catch(e){i(r?ru(r(e,n)):ok(e))}}),cI=(e,...t)=>oP(e.length,0===t.length?function(){return oz(()=>e.apply(this,arguments))}:function(){let r=oz(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),cE="~effect/encoding/EncodingError";class cy extends iu("EncodingError"){[cE]=cE}let cB=e=>"string"==typeof e?cw(cN.encode(e)):cw(e),cQ=e=>{let t=cS(e),r=t.length;if(r%4!=0)return rW(new cy({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let n=t.indexOf("=");if(-1!==n&&(n<r-2||n===r-2&&"="!==t[r-1]))return rW(new cy({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),n=new Uint8Array(r/4*3-e);for(let e=0,i=0;e<r;e+=4,i+=3){let r=cD(t.charCodeAt(e))<<18|cD(t.charCodeAt(e+1))<<12|cD(t.charCodeAt(e+2))<<6|cD(t.charCodeAt(e+3));n[i]=r>>16,n[i+1]=r>>8&255,n[i+2]=255&r}return rj(n)}catch(e){return rW(new cy({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},cN=new TextEncoder,cb=new TextDecoder,cS=e=>e.replace(/[\n\r]/g,""),cw=e=>{let t,r=e.length,n="";for(t=2;t<r;t+=3)n+=cx[e[t-2]>>2],n+=cx[(3&e[t-2])<<4|e[t-1]>>4],n+=cx[(15&e[t-1])<<2|e[t]>>6],n+=cx[63&e[t]];return t===r+1&&(n+=cx[e[t-2]>>2],n+=cx[(3&e[t-2])<<4],n+="=="),t===r&&(n+=cx[e[t-2]>>2],n+=cx[(3&e[t-2])<<4|e[t-1]>>4],n+=cx[(15&e[t-1])<<2],n+="="),n};function cD(e){if(e>=cR.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=cR[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let cx=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],cR=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],ck=e=>cw(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),cv=e=>{let t="";for(let r=0;r<e.length;++r)t+=cU[e[r]];return t},cM=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},cU=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function cF(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}let cT=e_(e=>{let t=(e.checks?e.checks[e.checks.length-1].annotations:e.annotations)?.identifier;return"string"==typeof t?t:e.getExpected(cT)}),cL=new WeakMap,cO=e=>{if(cL.has(e))return cL.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))},cH="~effect/data/Redacted",cP=(e,t)=>{let r=Object.create(cY);return t?.label&&(r.label=t.label),cL.set(r,e),r},cY={[cH]:{_A:e=>e},label:void 0,...tK,toJSON(){return this.toString()},toString(){return`<redacted${ej(this.label)?":"+this.label:""}>`},[e9](){return e6(cL.get(this))},[th](e){return e4(e,cH)&&tm(cL.get(this),cL.get(e))}},cG="~effect/SchemaIssue/Issue";class cz{[cG]=cG;toString(){return c5(this)}}class cq extends cz{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class cV extends cz{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class c_ extends cz{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class cJ extends cz{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class cW extends cz{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class cj extends cz{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class cK extends cz{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class cX extends cz{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class cZ extends cz{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class c$ extends cz{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class c0 extends cz{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function c1(e,t){if(e4(t,cG))return t;if("string"==typeof t)return new cX(r4(e),{message:t});let r="string"==typeof t.issue?new cX(r4(e),{message:t.issue}):t.issue;return new c_(t.path,r)}let c2=e=>{let t=c9(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return c4(cT(e.ast),c7(e.actual));case"InvalidValue":return`Invalid data ${c7(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${tx(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${tx(e.actual)}`}},c3=e=>c9(e.issue)??c9(e);function c4(e,t){return`Expected ${e}, got ${t}`}let c5=e=>(function e(t,r,n,i){switch(t._tag){case"Filter":{let s=i(t);if(void 0!==s)return[{path:r,message:s}];if("InvalidValue"===t.issue._tag)return[{path:r,message:c4(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),tx(t.actual))}];return e(t.issue,r,n,i)}case"Encoding":return e(t.issue,r,n,i);case"Pointer":return e(t.issue,[...r,...t.path],n,i);case"Composite":return t.issues.flatMap(t=>e(t,r,n,i));case"AnyOf":{let s=c9(t);if(0===t.issues.length){if(void 0!==s)return[{path:r,message:s}];return[{path:r,message:c4(cT(t.ast),tx(t.actual))}]}return t.issues.flatMap(t=>e(t,r,n,i))}default:return[{path:r,message:n(t)}]}})(e,[],c2,c3).map(c8).join("\n");function c8(e){let t=e.message;if(e.path&&e.path.length>0){let r=e.path.map(e=>`[${tk(e)}]`).join("");t+=` - at ${r}`}return t}function c9(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return c6(e.ast.annotations);case"InvalidValue":case"Forbidden":return c6(e.annotations);case"MissingKey":return c6(e.annotations,"messageMissingKey");case"UnexpectedKey":return c6(e.ast.annotations,"messageUnexpectedKey");case"Filter":return c6(e.filter.annotations);case"Encoding":return c9(e.issue)}}function c6(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function c7(e){return r8(e)?"no value provided":tx(e.value)}function de(e){let t;for(let r of e.reasons){if(!rr(r)||!e4(r.error,cG))return;t??=r.error}return t}function dt(e,t){let r=de(e);if(void 0===r)throw Error(t,{cause:e});return r}class dr extends eL{run;constructor(e){super(),this.run=e}map(e){return new dr((t,r)=>this.run(t,r).pipe(o1(nC(e))))}compose(e){return di(this)?e:di(e)?this:new dr((t,r)=>this.run(t,r).pipe(o$(t=>e.run(t,r))))}}let dn=new dr(oN);function di(e){return e.run===dn.run}function ds(e){var t;return t=nC(e),new dr(e=>oN(t(e)))}function da(e){var t;return t=(t,r)=>e(t,r).pipe(o1(r4)),new dr((e,r)=>r8(e)?oR:t(e.value,r))}function dA(){return ds(globalThis.String)}function dl(){return ds(globalThis.Number)}class dc{_tag="Middleware";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new dc(this.encode,this.decode)}}let dd="~effect/SchemaTransformation/Transformation";class dg{[dd]=dd;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new dg(this.encode,this.decode)}compose(e){return new dg(this.decode.compose(e.decode),e.encode.compose(this.encode))}}let du=e=>e4(e,dd)?e:new dg(e.decode,e.encode);function dh(e){return new dg(da(e.decode),da(e.encode))}let dm=new dg(dn,dn),dp=new dg(dl(),dA()),dC=new dg(ds(globalThis.BigInt),dA());ds(e=>new globalThis.Date(e));let df=e=>{let t;return"object"!=typeof e||null===e||Array.isArray(e)||"string"!=typeof e.message?e:(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:df(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t)};function dI(e){return t=>t._tag===e}da(e=>o2(oD(cQ(e)),t=>new cX(r4(e),{message:t.message}))),ds(cB),da(e=>iW(iJ(cQ(e),e=>cb.decode(e)),{onFailure:t=>ru(new cX(r4(e),{message:t.message})),onSuccess:oN})),ds(cB),da(e=>iW(iJ((e=>{let t=cS(e),r=t.length;if(r%4==1)return rW(new cy({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return rW(new cy({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let n=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return cQ(n=n.replace(/-/g,"+").replace(/_/g,"/"))})(e),e=>cb.decode(e)),{onFailure:t=>ru(new cX(r4(e),{message:t.message})),onSuccess:oN})),ds(e=>"string"==typeof e?ck(cN.encode(e)):ck(e)),da(e=>iW(iJ((e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return rW(new cy({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let n=0;n<e;n++){let e=cM(t[2*n]),i=cM(t[2*n+1]);r[n]=e<<4|i}return rj(r)}catch(t){return rW(new cy({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}})(e),e=>cb.decode(e)),{onFailure:t=>ru(new cX(r4(e),{message:t.message})),onSuccess:oN})),ds(e=>"string"==typeof e?cv(cN.encode(e)):cv(e)),da(e=>{try{return oN(globalThis.decodeURIComponent(e))}catch(t){return ru(new cX(r4(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}}),ds(encodeURIComponent);let dE=dI("Declaration"),dy=dI("Never"),dB=dI("Literal"),dQ=dI("UniqueSymbol"),dN=dI("Arrays"),db=dI("Objects"),dS=dI("Union");class dw{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let dD={};class dx{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,n){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=n}}let dR="~effect/Schema";class dk{[dR]=dR;annotations;checks;encoding;context;constructor(e,t,r,n){this.annotations=e,this.checks=t,this.encoding=r,this.context=n}toString(){return`<${this._tag}>`}}class dv extends dk{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,n,i,s,o){super(r,n,i,s),this.typeParameters=e,this.run=t,this.encodingChecks=o}getParser(){let e=this.run(this.typeParameters);return(t,r)=>r8(t)?oR:o1(e(t.value,this,r),r4)}_rebuild(e,t,r){let n=gC(this.typeParameters,e);return n===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new dv(n,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let dM=new class extends dk{_tag="Null";getParser(){return gb(this,null)}getExpected(){return"null"}},dU=new dw(dM,new dg(ds(()=>void 0),ds(()=>null))),dF=new class extends dk{_tag="Undefined";getParser(){return gb(this,void 0)}toCodecJson(){return gl(this,[dU])}getExpected(){return"undefined"}},dT=new class extends dk{_tag="Unknown";getParser(){return gS(this,e3)}getExpected(){return"unknown"}};class dL extends dk{_tag="Literal";literal;constructor(e,t,r,n,i){if(super(t,r,n,i),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${tx(e)}`);this.literal=e}getParser(){return gb(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?dO(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:dO(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function dO(e){let t=globalThis.String(e.literal);return gl(e,[new dw(new dL(t),new dg(ds(()=>e.literal),ds(()=>t)))])}let dH=new class extends dk{_tag="String";getParser(){return gS(this,ej)}matchPart(e,t){return gw(this,e,t)}getExpected(){return"string"}};function dP(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return dP(e.checks,t)}})}let dY=new class extends dk{_tag="Number";getParser(){return gS(this,eK)}matchKey(e,t){return this._match(gv,e,t)}matchPart(e,t){return this._match(gk,e,t)}_match(e,t,r){return e.test(t)?gw(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(dP(this.checks,"isFinite")||dP(this.checks,"isInt"))?this:gl(this,[gt])}toCodecStringTree(){return this.checks&&(dP(this.checks,"isFinite")||dP(this.checks,"isInt"))?gl(this,[gU]):gl(this,[gF])}getExpected(){return"number"}},dG=new class extends dk{_tag="Boolean";getParser(){return gS(this,eX)}getExpected(){return"boolean"}},dz=new class extends dk{_tag="Symbol";getParser(){return gS(this,e$)}matchKey(e,t){return gw(this,e,t)}toCodecStringTree(){return gl(this,[gH])}getExpected(){return"symbol"}},dq=new class extends dk{_tag="BigInt";getParser(){return gS(this,eZ)}matchPart(e,t){return gT.test(e)?gw(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return gl(this,[gL])}getExpected(){return"bigint"}};class dV extends dk{_tag="Arrays";isMutable;elements;rest;encodingChecks;constructor(e,t,r,n,i,s,o,a){super(n,i,s,o),this.isMutable=e,this.elements=t,this.rest=r,this.encodingChecks=a;let A=t.findIndex(gy);if(-1!==A&&(t.slice(A+1).some(e=>!gy(e))||r.length>1))throw Error("A required element cannot follow an optional element. ts(1257)");if(r.length>1&&r.slice(1).some(gy))throw Error("An optional element cannot follow a rest element. ts(1266)")}getParser(e){let t=this,r=t.elements.map(t=>({ast:t,parser:e(t)})),n=t.rest.map(t=>({ast:t,parser:e(t)})),i=r.length,[s,...o]=n,a=o.length;function A(e,t){return t<i?r[t]:t>=e?o[t-e]:s}return cI(function*(e,r){if("None"===e._tag)return e;let n=e.value;if(!Array.isArray(n))return yield*ru(new cK(t,e));let s=n.length,o={ast:t,getParser:A,oinput:e,len:s,tailThreshold:Math.max(i,s-a),output:new globalThis.Array(s),issues:void 0,options:r},l=dJ(r?.concurrency),c=d_(o,n,{concurrency:l?.concurrency,end:0===t.rest.length?i:Math.max(s,i+a)});if(c&&(yield*c),0===t.rest.length&&s>i)for(let a=i;a<=s-1;a++){let i=new c_([a],new cW(t,n[a]));if("all"!==r.errors)return yield*ru(new cj(t,e,[i]));o.issues?o.issues.push(i):o.issues=[i]}return o.issues?yield*ru(new cj(t,e,o.issues)):r4(o.output)})}_rebuild(e,t,r){let n=gC(this.elements,e),i=gC(this.rest,e);return n===this.elements&&i===this.rest&&t===this.checks&&r===this.encodingChecks?this:new dV(this.isMutable,n,i,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){return"array"}}let d_=a8({onItem(e,t,r){let n=r<e.len?r4(t):r3();return e.getParser(e.tailThreshold,r).parser(n,e.options)},step(e,t,r,n){if("Failure"===r._tag)return dW(e,e.ast,n,r);if("Some"===r.value._tag)e.output[n]=r.value.value;else{let t=e.getParser(e.tailThreshold,n);if(gy(t.ast))return;let r=new c_([n],new cJ(t.ast.context?.annotations));if("all"!==e.options.errors)return ru(new cj(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),dJ=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,dW=(e,t,r,n)=>{if(0===n.cause.reasons.length)return n;let i=de(n.cause);if(void 0===i)return rg(ot(n.cause,n=>new cj(t,e.oinput,[new c_([r],n)])));let s=new c_([r],i);if("all"!==e.options.errors)return ru(new cj(t,e.oinput,[s]));e.issues?e.issues.push(s):e.issues=[s]},dj="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class dK{name;type;constructor(e,t){this.name=e,this.type=t}}function dX(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(dX);default:return!1}}class dZ{parameter;type;merge;constructor(e,t,r){if(!(dX(e)&&dX(gQ(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,gy(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class d$ extends dk{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,n,i,s,o){super(r,n,i,s),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=o;let a=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(a.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(a)}. ts(2300)`)}getParser(e){let t=this,r=[],n=new Set,i=[];for(let s of t.propertySignatures)r.push(s.name),n.add(s.name),i.push({ps:s,parser:e(s.type),name:s.name,type:s.type});let s=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return gS(t,e2);let o=s>0?a8({onItem:cI(function*(r,[i,s]){let o=e(gD(s.parameter))(r4(i),r.options),a=oZ(o)?o:yield*aw(o);if("Failure"===a._tag){let e=dW(r,t,i,a);e&&(yield*e);return}let A=r4(r.input[i]),l=e(s.type)(A,r.options),c=oZ(l)?l:yield*aw(l);if("Failure"===c._tag){let e=dW(r,t,i,c);e&&(yield*e);return}if("Some"===a.value._tag&&"Some"===c.value._tag){let e=a.value.value;if(n.has(i)||n.has(e))return;let t=c.value.value;if(s.merge&&s.merge.decode&&Object.hasOwn(r.out,e)){let[n,i]=s.merge.decode.combine([e,r.out[e]],[e,t]);cF(r.out,n,i)}else cF(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return cI(function*(e,a){let A;if("None"===e._tag)return e;let l=e.value;if(!("object"==typeof l&&null!==l&&!Array.isArray(l)))return yield*ru(new cK(t,e));let c={},d={ast:t,oinput:e,input:l,out:c,issues:void 0,options:a},g="all"===a.errors,u="error"===a.onExcessProperty,h="preserve"===a.onExcessProperty;if(0===t.indexSignatures.length&&(u||h)){A=Reflect.ownKeys(l);for(let r=0;r<A.length;r++){let i=A[r];if(!n.has(i))if(u){let r=new c_([i],new cW(t,l[i]));if(!g)return yield*ru(new cj(t,e,[r]));d.issues?d.issues.push(r):d.issues=[r];continue}else cF(c,i,l[i])}}let m=dJ(a?.concurrency),p=d0(d,i,m);if(p&&(yield*p),o){let e=i2();for(let r=0;r<s;r++){let n=t.indexSignatures[r],i=function(e,t,r=dD){let n,i;return function t(s){switch(s._tag){case"String":case"TemplateLiteral":return(n??=Object.keys(e)).filter(e=>void 0!==s.matchPart(e,r));case"Number":return(n??=Object.keys(e)).filter(e=>void 0!==s.matchKey(e,r));case"Symbol":return(i??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==s.matchKey(e,r));case"Union":return[...new Set(s.types.flatMap(t))];default:return[]}}(gD(gQ(t)))}(l,n.parameter,a);for(let t=0;t<i.length;t++){let r=i[t];e.push([r,n])}}let r=o(d,e,m);r&&(yield*r)}if(d.issues)return yield*ru(new cj(t,e,d.issues));if("original"===a.propertyOrder){let e=(A??Reflect.ownKeys(l)).concat(r),t={};for(let r of e)Object.hasOwn(c,r)&&cF(t,r,c[r]);return r4(t)}return r4(c)})}_rebuild(e,t,r,n,i){let s=gC(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new dK(t.name,r)}),o=gC(this.indexSignatures,n=>{let i=t(n.parameter),s=e(n.type),o=r?n.merge?.flip():n.merge;return i===n.parameter&&s===n.type&&o===n.merge?n:new dZ(i,s,o)});return s===this.propertySignatures&&o===this.indexSignatures&&n===this.checks&&i===this.encodingChecks?this:new d$(s,o,this.annotations,n,void 0,this.context,i)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let d0=a8({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?r4(e.input[t.name]):r3();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return dW(e,e.ast,t.name,r);if("Some"===r.value._tag)cF(e.out,t.name,r.value.value);else if(!gy(t.type)){let r=new c_([t.name],new cJ(t.type.context?.annotations));return"all"!==e.options.errors?ru(new cj(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function d1(e,t){return e?t?[...e,...t]:e:t}function d2(e,t,r){return new d$(Reflect.ownKeys(e).map(t=>new dK(t,e[t].ast)),[],r,t)}function d3(e){return e.ast}function d4(e,t,r){return new d6(e.map(d3),t,void 0,r)}function d5(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!gy(t)){if(dB(t))return[{key:e.name,literal:t.literal}];if(dQ(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>dB(e)&&!gy(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return d5(e.thunk())}}let d8=new WeakMap;function d9(e){return t=>{let r=gQ(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class d6 extends dk{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,n,i,s,o){super(r,n,i,s),this.types=e,this.mode=t,this.encodingChecks=o}getParser(e){let t=this;return(r,n)=>{if("None"===r._tag)return oN(r);let i=r.value,s=function(e,t){let r=function(e){let t=d8.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let n=gQ(e[r]);if(dy(n))continue;let i=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(n),s=d5(n);for(let e of(t.byType??={},i))(t.byType[e]??=[]).push(r);if(s.length>0)for(let{key:e,literal:n}of(t.bySentinel??=new Map,s)){let i=t.bySentinel.get(e);i||t.bySentinel.set(e,i=new Map);let s=i.get(n);s||i.set(n,s=[]),s.push(r)}else for(let e of(t.otherwise??={},i))(t.otherwise[e]??=[]).push(r)}return d8.set(e,t),t}(t),n=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let i=r.otherwise?.[n]??[];if("object"===n||"array"===n){let n=new Set(i);for(let[t,i]of r.bySentinel)if(Object.hasOwn(e,t)){let r=i.get(e[t]);if(r)for(let e of r)n.add(e)}return Array.from(n).sort((e,t)=>e-t).map(e=>t[e]).filter(d9(e))}return i.map(e=>t[e])}return(r.byType?.[n]??[]).map(e=>t[e]).filter(d9(e))}(i,t.types),o={ast:t,recur:e,oinput:r,input:i,out:void 0,successes:[],issues:void 0,options:n},a=dJ(n?.concurrency),A=d7(o,s,a?{...a,orderedStep:!0}:void 0);return A?oK(A,e=>o.out?oN(o.out):ru(new c$(t,i,o.issues??[]))):o.out?oN(o.out):ru(new c$(t,i,o.issues??[]))}}_rebuild(e,t,r){let n=gC(this.types,e);return n===this.types&&t===this.checks&&r===this.encodingChecks?this:new d6(n,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let n=r.matchPart(e,t);if(void 0!==n)return n}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=gQ(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(dB);if(t.length>0)return`${gr(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>dB(e.type));if(t.length>0)return`{ ${t.map(t=>`${gr(t.type.context?.isMutable)}${tk(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let d7=a8({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=de(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),ru(new c0(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return o8}}}),ge=new d6([new dL("Infinity"),new dL("-Infinity"),new dL("NaN")],"anyOf"),gt=new dw(new d6([dY,ge],"anyOf"),new dg(dl(),ds(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function gr(e){return e?"":"readonly "}class gn extends dk{_tag="Suspend";thunk;constructor(e,t,r,n,i){let s,o;if(void 0!==r)throw Error("Cannot add checks to Suspend");super(t,void 0,n,i),this.thunk=(o=!1,()=>(o||(s=e(),o=!0),s))}getParser(e){return e(this.thunk())}recur(e){return new gn(()=>e(this.thunk()),this.annotations,void 0,void 0,this.context)}getExpected(e){return e(this.thunk())}}class gi extends eL{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new gi(this.run,{...this.annotations,...e},this.aborted)}abort(){return new gi(this.run,this.annotations,!0)}and(e,t){return new gs([this,e],t)}}class gs extends eL{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new gs(this.checks,{...this.annotations,...e})}and(e,t){return new gs([this,e],t)}}function go(e,t,r=!1){return new gi((t,r,n)=>(function(e,t,r){if(Array.isArray(r))return r.length>0?1===r.length?c1(e,r[0]):new cj(t,r4(e),i4(r,t=>c1(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new cX(r4(e)):c1(e,r)})(t,r,e(t,r,n)),t,r)}function ga(e,t){let r=e.source;return go(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function gA(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function gl(e,t){return e.encoding===t?e:gA(e,e=>{e.encoding.value=t})}function gc(e,t){return e.context===t?e:gA(e,e=>{e.context.value=t})}function gd(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return gg(e,iX(e.checks.slice(0,-1),r.annotate(t)))}return gA(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function gg(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:gA(e,e=>{e.checks.value=t})}function gu(e,t){return gg(e,d1(e.checks,t))}function gh(e,t){let r=e[e.length-1],n=t(r.to);return n!==r.to?iX(e.slice(0,e.length-1),new dw(n,r.transformation)):e}function gm(e){return e_(function t(r){return r.encoding?gl(r,gh(r.encoding,t)):e(r)})}function gp(e,t,r){let n=new dw(e,t);return gl(r,r.encoding?[...r.encoding,n]:[n])}function gC(e,t){let r=!1,n=Array(e.length);for(let i=0;i<e.length;i++){let s=e[i],o=t(s);o!==s&&(r=!0),n[i]=o}return r?n:e}function gf(e,t){let r=e.context?new dx(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new dx(!1,!1,void 0,t);return gc(e,r)}let gI=e=>e.encoding?gl(e,gh(e.encoding,gE)):e;function gE(e){let t=e.context?!1===e.context.isOptional?new dx(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new dx(!0,!1);return gI(gc(e,t))}function gy(e){return e.context?.isOptional??!1}let gB=e_(e=>{if(e.encoding)return gB(gl(e,void 0));let t=e.recur?.(gB)??e,r=t.encodingChecks;return r?gA(t,n=>{n.encodingChecks.value=void 0,t===e&&(n.checks.value=d1(t.checks,r))}):t}),gQ=e_(e=>gB(gN(e))),gN=e_(e=>e.encoding?function(e,t){let r=t.length,n=t[r-1],i=[new dw(gN(gl(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)i.unshift(new dw(gN(t[e-1].to),t[e].transformation.flip()));let s=gN(n.to);return s.encoding?gl(s,[...s.encoding,...i]):gl(s,i)}(e,e.encoding):e.flip?.(gN)??e.recur?.(gN)??e);function gb(e,t){let r=oN(r4(t));return n=>"None"===n._tag?oR:n.value===t?r:ru(new cK(e,n))}function gS(e,t){return r=>"None"===r._tag?oR:t(r.value)?oN(r):ru(new cK(e,r))}function gw(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let n=[];return gP(e.checks,t,n,e,r),0===n.length?t:void 0}let gD=gm(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(gD)}}),gx=gm(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(gx)}}),gR=gm(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(gR)}}),gk=new globalThis.RegExp(`^${dj}$`),gv=new globalThis.RegExp(`(?:${dj}|Infinity|-Infinity|NaN)`),gM=gu(dH,[ga(gk,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:gk},...void 0})]),gU=new dw(gM,dp),gF=new dw(new d6([gM,ge],"anyOf"),dp),gT=new globalThis.RegExp("^-?\\d+$"),gL=new dw(gu(dH,[ga(gT,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:gT},expected:"a string representing a bigint"})]),dC),gO=new globalThis.RegExp("^Symbol\\((.*)\\)$"),gH=new dw(gu(dH,[ga(gO,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:gO},...void 0})]),new dg(ds(e=>globalThis.Symbol.for(gO.exec(e)[1])),da(e=>void 0!==globalThis.Symbol.keyFor(e)?oN(globalThis.String(e)):ru(new cZ(r4(e),{message:"cannot serialize to string, Symbol is not registered"})))));function gP(e,t,r,n,i){for(let s=0;s<e.length;s++){let o=e[s];if("FilterGroup"===o._tag)gP(o.checks,t,r,n,i);else{let e=o.run(t,n,i);if(e&&(r.push(new cq(t,o,e)),o.aborted||i?.errors!=="all"))return}}}let gY="~effect/Schema/Class",gG="~structural",gz=new dv([],()=>(e,t)=>{let r,n;return(r=new Set,n=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(n.has(t))return!0;let i=Array.isArray(t);if(!i){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let s=i?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),s&&n.add(t),s}(e))?oN(e):ru(new cK(t,r4(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new dw(dT,dm),toArbitrary:()=>e=>e.jsonValue()}),gq=new dw(dM,new dg(dn,ds(()=>null))),gV=new dw(gz,dm),g_=new dw(new dv([],()=>(e,t)=>{let r;return(r=new Set,function e(t){return void 0===t||"string"==typeof t||!("object"!=typeof t||null===t||r.has(t))&&((r.add(t),Array.isArray(t))?t.every(e):Object.keys(t).every(r=>e(t[r])))}(e))?oN(e):ru(new cK(t,r4(e)))},{expected:"StringTree"}),dm),gJ="~effect/SchemaError/SchemaError";class gW extends iu("SchemaError"){[gJ]=gJ;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let gj=e_(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[gY];if(e0(t)){let r=t(e.typeParameters),n=gj(r.to);return gl(e,n===r.to?[r]:[new dw(n,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=gj(e);return gl(r,r.encoding?[...r.encoding,...t]:t)}return gj(e)});case"Suspend":return e.recur(gj);default:return e}});function gK(e){let t=g0(gj(gB(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function gX(e){let t=gK(e);return(e,r)=>{let n=Ai(t(e,r));return o4(n)?r4(n.value):(dt(n.cause,"Option adapter can only return none for schema issues"),r3())}}function gZ(e,t){let r=g0(e.ast);return void 0===t?r:(e,n)=>r(e,g$(t,n))}let g$=(e,t)=>void 0===t?e:{...e,...t};function g0(e){let t=g2(e);return(e,r)=>o$(t(r4(e),r??dD),e=>"None"===e._tag?ru(new cX(e)):oN(e.value))}function g1(e,t){return al(e,e=>ca(()=>ot(e,t)))}let g2=e_(e=>{let t,r=e.checks,n=e.encoding,i=n?.length??0,s=e.encodingChecks,o=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!n&&!r&&!s)return(r,n)=>(t??=e.getParser(g2),o&&(n={...n,...o}),t(r,n));let a=dN(e)||db(e)||dE(e)&&e.typeParameters.length>0,A=r&&a?r.filter(e=>e.annotations?.[gG]):void 0;return(a,l)=>{let c;if(o&&(l={...l,...o}),n){for(let e=i-1;e>=0;e--){let t=n[e],r=g2(t.to);if(c=c?o$(c,e=>r(e,l)):r(a,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;c=o$(c,t=>e.run(t,l))}else c=t.transformation.decode(c,l)}c=g1(c,t=>new cV(e,a,t))}t??=e.getParser(g2);let d=n=>{let i=t(n,l);return s&&!l?.disableChecks&&(i=o$(i,t=>{if(r9(n)&&r9(t)){let t=[];if(gP(s,n.value,t,e,l),t.length>0)return ru(new cj(e,n,t))}return oN(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&r9(n)&&(i=g1(i,t=>{let r=[];return gP(A,n.value,r,e,l),r.length>0?"Composite"===t._tag&&t.ast===e?new cj(e,t.actual,[...t.issues,...r]):new cj(e,n,[t,...r]):t})),i=o$(i,t=>{if(r9(t)){let n=t.value,i=[];if(gP(r,n,i,e,l),i.length>0)return ru(new cj(e,t,i))}return oN(t)})),i};return c?o$(c,d):d(a)}}),g3="~effect/Schema/Schema",g4={[g3]:g3,pipe(){return eF(this,arguments)},annotate(e){return this.rebuild(gd(this.ast,e))},annotateKey(e){return this.rebuild(gf(this.ast,e))},check(...e){return this.rebuild(gu(this.ast,e))}};function g5(e,t){let r,n=Object.create(g4);t&&Object.assign(n,t),n.ast=e,n.rebuild=e=>g5(e,t);let i=gK(n);return n.makeEffect=(e,t)=>g8(i(e,t)),r=gK(n),n.make=(e,t)=>{let n=Ai(r(e,t));if(o4(n))return n.value;let i=dt(n.cause,"Constructor adapter can only throw schema issues");throw Error(i.toString(),{cause:i})},n.makeOption=gX(n),n}function g8(e){return al(e,e=>ca(()=>ot(e,e=>new gW(e))))}let g9=g6(function(e){switch(e._tag){case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}});function g6(e){return t=>{let r=new Map;for(let e=0;e<t.length;e++)r.set(gQ(t[e]),e);let n=[...t].sort((t,n)=>{t=gQ(t),n=gQ(n);let i=e(t),s=e(n);return i!==s?i-s:r.get(t)-r.get(n)});return n.some((e,r)=>e!==t[r])?n:t}}function g7(){return(e,t,r)=>un(new dv(e.map(d3),e=>t(e.map(e=>un(e))),r))}function ue(e,t){return g7()([],()=>(t,r)=>e(t)?oN(t):ru(new cK(r,r4(t))),t)}function ut(e,t){let r=gZ(e,t);return(e,t)=>g8(r(e,t))}let ur=function(e,t){let r,n=(r=g0(gN(e.ast)),void 0===t?r:(e,n)=>r(e,g$(t,n)));return(e,t)=>g8(n(e,t))},un=g5,ui=e=>un(gE(e.ast),{schema:e}),us=e=>ui(uI(e));function uo(e){let t=un(new dL(e),{literal:e,transform:r=>t.pipe(uy(uo(r),{decode:ds(()=>r),encode:ds(()=>e)}))});return t}let ua=un(dT),uA=un(dM),ul=un(dF),uc=un(dH),ud=un(dY),ug=un(dG);function uu(e,t){return un(e,{fields:t,mapFields(e,t){let r=e(this.fields);return uu(d2(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function uh(e){return uu(d2(e,void 0),e)}let um=e=>un(new dV(!1,[],[e.ast]),{value:e});function up(e,t){return function e(t,r){return un(t,{members:r,mapMembers(t,r){let n=t(this.members);return e(d4(n,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),n)}})}(d4(e,t?.mode??"anyOf",void 0),e)}function uC(e){let t=e.map(uo);return un(d4(t,"anyOf",void 0),{literals:e,members:t,mapMembers(e){return up(e(this.members))},pick:e=>uC(e),transform:e=>up(t.map((t,r)=>t.transform(e[r])))})}let uf=e=>up([e,uA]),uI=e=>up([e,ul]);function uE(e){return un(new gn(()=>e().ast))}function uy(e,t){return r=>{var n,i;return un((n=r.ast,i=e.ast,gp(n,t?du(t):dm,i)),{from:r,to:e})}}function uB(e){var t;return uo(e).pipe((t=oN(e),e=>{var r,n;let i,s;return un((r=e.ast,i=[new dw(dT,new dg((n=al(t,e=>ca(()=>ot(e,e=>e.issue))),new dr(e=>{let t=nL(e,e1);return r9(t)?oN(t):o1(n,r4)})),dn))],s=r.context?new dx(r.context.isOptional,r.context.isMutable,i,r.context.annotations):new dx(!1,!1,i),gc(r,s)),{schema:e})}))}go(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0});go(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0}),go(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...void 0});let uQ=globalThis.Symbol.for("immer-draftable"),uN={};function ub(e,t,r,n,i){var s,o,a;let A,l=(s=r,o=t,a=n,e=>{if(void 0!==A)return A;let t=new dg(ds(t=>new e(t)),dn);return A=uy(un(new dv([s.ast],()=>(t,r)=>t instanceof e||e4(t,uS(o))?oN(t):ru(new cK(r,r4(t))),{identifier:o,[gY]:([e])=>new dw(e,t),toCodec:([e])=>new dw(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":d5(s.ast),...a})),t)(s)}),c=uS(t),d=class extends e{constructor(...[e,t]){let n=t?.["~payload"],i=n?.token===uN?n.value:r.make(e??{},t);super(i,{...t,disableChecks:!0,"~payload":{token:uN,value:i}})}static [g3]=g3;get[c](){return c}static [uQ]=!0;static identifier=t;static fields=r.fields;static get ast(){return l(this).ast}static pipe(){return eF(this,arguments)}static rebuild(e){return l(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return gX(l(this))(e??{},t)}static makeEffect(e,t){return l(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(gd(this.ast,e))}static annotateKey(e){return this.rebuild(gf(this.ast,e))}static check(...e){return this.rebuild(gu(this.ast,e))}static extend(e){return(t,n)=>{let s=uw(t)?t:uh(t),o={...r.fields,...s.fields},a=d2(o,r.ast.checks,{identifier:e});return ub(this,e,uu(gu(a,s.ast.checks),o),n,i)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==i&&Object.assign(d.prototype,i(t)),d}function uS(e){return`~effect/Schema/Class/${e}`}function uw(e){return e4(e,g3)&&e[g3]===g3}let uD=e=>(t,r)=>ub(id,e,uw(t)?t:uh(t),r,e=>({toString(){return`${e}(${tx({...this})})`}})),ux=e=>(t,r,n)=>{let i,s=uw(r)?r.mapFields(e=>({_tag:uB(t),...e}),{unsafePreserveChecks:!0}):uh({_tag:uB(t),...r});return(i=e??t,(e,t)=>ub(rC,i,uw(e)?e:uh(e),t,e=>({name:e})))(s,n)},uR=gm(e=>{let t=function(e,t){switch(e._tag){case"Declaration":{let r=e.annotations?.toCodecJson??e.annotations?.toCodec;if(e0(r)){let n=r(dE(e)?e.typeParameters.map(e=>g5(gQ(e))):[]),i=t(n.to);return gl(e,i===n.to?[n]:[new dw(i,n.transformation)])}return gl(e,[gq])}case"Unknown":case"ObjectKeyword":return gl(e,[gV]);case"Undefined":case"Void":case"Literal":case"Number":return e.toCodecJson();case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,gx);case"Union":{let r=g9(e.types);if(r!==e.types)return new d6(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,uR);return t!==e&&gy(e)?gI(t):t}),uk=g6(function(e){switch(e._tag){case"Null":case"Boolean":case"Number":case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}}),uv=new dw(new dL("null"),new dg(ds(()=>null),ds(()=>"null"))),uM=new dw(new d6([new dL("true"),new dL("false")],"anyOf"),new dg(ds(e=>"true"===e),dA())),uU=gm(e=>{if(dS(e)&&e.annotations?.["~effect/Schema/SERIALIZER_ENSURE_ARRAY"]===!0)return e;let t=function(e,t,r){switch(e._tag){case"Declaration":{let n=e.annotations?.toCodecJson??e.annotations?.toCodec;if(e0(n)){let r=n(dE(e)?e.typeParameters.map(e=>un(t(gQ(e)))):[]),i=t(r.to);return gl(e,i===r.to?[r]:[new dw(i,r.transformation)])}return r(e)}case"Null":return gl(e,[uv]);case"Boolean":return gl(e,[uM]);case"Unknown":case"ObjectKeyword":return gl(e,[g_]);case"Enum":case"Number":case"Literal":case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,gx);case"Union":{let r=uk(e.types);if(r!==e.types)return new d6(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,uU,e=>gl(e,[uF]));return t!==e&&gy(e)?gI(t):t}),uF=new dw(dF,new dg(dn,ds(()=>void 0))),uT=un(gz),uL=uh({name:uc,full_name:us(uf(uc)),owner:uh({login:uc}),html_url:us(uf(uc))}),uO=uh({number:ud,html_url:us(uf(uc)),body:us(uf(uc))}),uH=uh({repository:us(uL),issue:us(uO),pull_request:us(uO),sender:us(uh({type:uc})),action:us(uc),comment:us(uh({id:ud})),installation:us(uh({id:ud})),number:us(ud),ref:us(uc),before:us(uc),after:us(uc)}).annotate({identifier:"WebhookPayload"});var uP=class extends n0()("github-action-effects/ActionEnvironment"){};let uY="~effect/platform/PlatformError";class uG extends iu("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class uz extends ig{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class uq extends iu("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[uY]=uY;get message(){return this.reason.message}}let uV=e=>new uq(new uz(e)),u_=e=>new uq(new uG(e)),uJ=Symbol.for("effect/MutableList/Empty"),uW=()=>({array:[],mutable:!0,offset:0,next:void 0}),uj=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=uW(),e.tail=e.tail.next):e.head=e.tail=uW(),e.tail.array.push(t),e.length++},uK=e=>{e.head=e.tail=void 0,e.length=0},uX=e=>{if(!e.head)return uJ;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:uK(e)),t},uZ={_A:eH,_E:eH},u$={"~effect/Queue":uZ,"~effect/Queue/Enqueue":uZ,"~effect/Queue/Dequeue":uZ,...tK,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:u4(this)}}},u0=(e,t)=>ow(()=>{if("Open"!==e.state._tag)return u5;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return u5;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return uj(e.messages,t),u7(e),u8;return hr(e,t);case"sliding":return uX(e.messages),uj(e.messages,t),u8}return uj(e.messages,t),he(e),u8}),u1=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=ae(rg(t),u9);return 0===e.state.offers.size&&0===e.messages.length?hs(e,r):e.state={...e.state,_tag:"Closing",exit:r},!0},u2=e=>u3(e,1,1/0),u3=(e,t,r)=>ow(()=>ht(e,t,r)??o_(hi(e),u3(e,1,r))),u4=e=>"Done"===e.state._tag?0:e.messages.length,u5=rl(!1),u8=rl(!0),u9=ru(ry()),u6=rg(s5(void 0)),u7=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(o8),0===e.messages.length)break}},he=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>u7(e),0))},ht=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return rl([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,hn(e),e.capacity=0;let t=[uX(e.messages)];return hn(e),rl(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return uK(e),t}let r=Array(t),n=0,i=e.head;for(;i;){for(;i.offset<i.array.length;)if(r[n++]=i.array[i.offset],i.mutable&&(i.array[i.offset]=void 0),i.offset++,n===t)return e.head=i,e.length-=t,0===e.length&&uK(e),r;i=i.next}return uK(e),r})(e.messages,r);return hn(e),rl(t)}},hr=(e,t)=>oL(r=>{if("Open"!==e.state._tag)return r(u5);let n={_tag:"Single",message:t,resume:r};return e.state.offers.add(n),oS(()=>{"Open"===e.state._tag&&e.state.offers.delete(n)})}),hn=e=>{if("Done"===e.state._tag)return e.state.exit.cause.reasons.some(lq);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(hs(e,e.state.exit),e.state.exit.cause.reasons.some(lq));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)uj(e.messages,r.message),t--,r.resume(u8),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;uj(e.messages,r.remaining[r.offset]),t--}r.resume(rl([])),e.state.offers.delete(r)}return!1},hi=e=>oL(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),oS(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),hs=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let n of(e.state={_tag:"Done",exit:t},r.takers))n(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()},ho={"~effect/Channel":{_Env:eH,_InErr:eH,_InElem:eH,_OutErr:eH,_OutElem:eH},pipe(){return eF(this,arguments)}},ha=e=>{let t=Object.create(ho);return t.transform=(t,r)=>al(e(t,r),e=>oN(ob(e))),t},hA=e=>ha((t,r)=>e),hl=e=>ha((t,r)=>{let n;return oN(ow(()=>n||e.pipe(aP(r),oK(e=>(0,e.transform)(t,r)),oK(e=>n=e))))}),hc=eO(2,(e,t)=>{let r;return r=(r,n,i)=>aF(i,t).pipe(o_((0,e.transform)(r,n))),ha(oH(function*(e,t){let n=lB(t),i=e=>{let t;return av(n,r_(t=lV(e))?rg(t.failure):rl(t.success.value))},s=yield*aV(r(e,t,n),i);return aV(s,i)}))}),hd=eO(2,(e,t)=>hc(e,e=>t)),hg=eO(2,(e,t)=>{let r;return r=e=>aA(oK(e,t),{disableYield:!0}),ow(()=>{let t=aO();return lz(oK((0,e.transform)(AY(),t),r),oN).pipe(aG(e=>av(t,e)))})}),hu=oN([void 0]),hh={"~effect/Sink":{_A:eH,_In:eH,_L:eH,_E:eH,_R:eH},pipe(){return eF(this,arguments)}},hm=e=>{let t=Object.create(hh);return t.transform=e,t},hp=e=>ha((t,r)=>oN(oK(e.transform(t,r),AY))),hC=e=>{let t;return t=hl(o0(e,hp)),hm((e,r)=>(0,t.transform)(e,r).pipe(oK(aA({disableYield:!0})),lz(oN)))},hf={"~effect/Stream":{_R:eH,_E:eH,_A:eH},pipe(){return eF(this,arguments)}},hI=e=>{let t=Object.create(hf);return t.channel=e,t},hE=e=>e.channel,hy=e=>hI(hl(o0(e,hE))),hB=eO(2,(e,t)=>hI(hd(e.channel,t))),hQ=eO(2,(e,t)=>hg(e.channel,t)),hN=eO(e=>e4(e[0],"~effect/Stream"),(e,t,r)=>{let n,i,s=Al(!1);return new ReadableStream({start(r){(i=At(as(hQ(e,e=>s.whenOpen(oS(()=>{s.closeUnsafe();for(let t=0;t<e.length;t++)r.enqueue(e[t]);n(),n=void 0}))),t))).addObserver(e=>{"Failure"===e._tag?r.error(or(e.cause)):r.close()})},pull:()=>new Promise(e=>{n=e,s.openUnsafe()}),cancel(){if(i)return Ar(oW(oy(i)))}},r?.strategy)}),hb=eO(e=>e4(e[0],"~effect/Stream"),(e,t)=>o0(an,r=>hN(e,r,t))),hS="~effect/platform/FileSystem",hw=e=>"bigint"==typeof e?e:BigInt(e),hD=n0("effect/platform/FileSystem"),hx="~effect/platform/FileSystem/File",hR=Object.assign(e=>e,{option:e=>r4(e),result:e=>rj(e),is:e=>!0});class hk extends n0()("effect/platform/FileSystem/WatchBackend"){}let hv=e=>oS(()=>process.env[e]).pipe(oK(t=>void 0!==t&&""!==t?oN(t):ru(new ih({variable:e,reason:`Environment variable "${e}" is not set`})))),hM=a2(Object.fromEntries(Object.entries({sha:"GITHUB_SHA",ref:"GITHUB_REF",repository:"GITHUB_REPOSITORY",repositoryOwner:"GITHUB_REPOSITORY_OWNER",workspace:"GITHUB_WORKSPACE",eventName:"GITHUB_EVENT_NAME",eventPath:"GITHUB_EVENT_PATH",runId:"GITHUB_RUN_ID",runNumber:"GITHUB_RUN_NUMBER",actor:"GITHUB_ACTOR",serverUrl:"GITHUB_SERVER_URL",apiUrl:"GITHUB_API_URL",graphqlUrl:"GITHUB_GRAPHQL_URL",action:"GITHUB_ACTION",job:"GITHUB_JOB",workflow:"GITHUB_WORKFLOW"}).map(([e,t])=>[e,hv(t)]))),hU=a2({os:hv("RUNNER_OS"),arch:hv("RUNNER_ARCH"),name:hv("RUNNER_NAME"),temp:hv("RUNNER_TEMP"),toolCache:hv("RUNNER_TOOL_CACHE"),debug:oS(()=>"1"===process.env.RUNNER_DEBUG)}),hF={},hT=co(function*(){let e=yield*hD,t=process.env.GITHUB_EVENT_PATH;if(void 0===t||""===t)return hF;if(!(yield*e.exists(t).pipe(aE(()=>!1))))return yield*cC(`GITHUB_EVENT_PATH ${t} does not exist; using an empty payload`),hF;let r=yield*e.readFileString(t).pipe(af(e=>new ih({variable:"GITHUB_EVENT_PATH",reason:`Failed to read event payload file: ${e.message}`})));return yield*oU({try:()=>JSON.parse(r),catch:e=>new ih({variable:"GITHUB_EVENT_PATH",reason:`Failed to parse event payload JSON: ${e instanceof Error?e.message:String(e)}`})}).pipe(oK(e=>ut(uH,{onExcessProperty:"preserve"})(e).pipe(af(e=>new ih({variable:"GITHUB_EVENT_PATH",reason:`Event payload did not match the expected shape: ${e.message}`})))))}),hL=e=>{let t=process.env.GITHUB_REPOSITORY;if(void 0!==t&&""!==t){let[e,r]=t.split("/");if(void 0!==e&&void 0!==r)return oN({owner:e,repo:r})}return void 0!==e.repository?oN({owner:e.repository.owner.login,repo:e.repository.name}):ru(new ih({variable:"GITHUB_REPOSITORY",reason:"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo' or a repository in the event payload"}))},hO=hT.pipe(oK(hL)),hH=hT.pipe(oK(e=>hL(e).pipe(oK(t=>{let r=e.issue?.number??e.pull_request?.number??e.number;return void 0===r?ru(new ih({variable:"GITHUB_EVENT_PATH",reason:"context.issue requires an issue, pull_request, or top-level number in the event payload"})):oN({...t,number:r})})))),hP=lv(uP,{get:e=>hv(e),getOptional:e=>oS(()=>process.env[e]).pipe(o0(e=>void 0!==e&&""!==e?r4(e):r3())),github:hM,runner:hU,isDebug:oS(()=>"1"===process.env.RUNNER_DEBUG),payload:hT,repo:hO,issue:hH}),hY=r1(Ak),hG=(q=Ak,eO(2,(e,t)=>1!==q(e,t))),hz=(e,t)=>lU(AM,rm(oH(function*(r){let n=new Set(t?.mergeWithExisting===!0?r.getRef(AM):[]);for(let t of e)n.add(tZ(t)?yield*t:t);return n}))),hq=n0("github-action-effects/ActionLoggerLive/ActiveBuffer",{defaultValue:()=>null}),hV=e=>{if(0!==e.entries.length){for(let t of(process.stdout.write(`--- Buffered output for "${e.label}" --- -`),e.entries))process.stdout.write(`${t} -`);process.stdout.write(`--- End buffered output for "${e.label}" --- -`),e.entries.length=0}},h_=lv(ic,{group:(e,t)=>cc(oS(()=>eU("group",{},e)),()=>t.pipe(ah(()=>co(function*(){let e=yield*hq;null!==e&&hV(e)}))),()=>oS(()=>eU("endgroup",{},""))),withBuffer:(e,t)=>co(function*(){let r=yield*s$,n="1"===process.env.RUNNER_DEBUG;if(hG(r,"Debug")||n)return yield*t;let i={label:e,entries:[]},s=AT(({logLevel:e,message:t})=>{let r,n="string"==typeof(r=Array.isArray(t)&&1===t.length?t[0]:t)?r:JSON.stringify(r);hY(e,"Warn")?eU(hY(e,"Error")?"error":"warning",{},n):i.entries.push(n)});return yield*t.pipe(ao(s$,"All"),l9(hz([s])),ao(hq,i),aG(()=>oS(()=>hV(i))))}),notice:(e,t)=>oS(()=>{var r;let n;eU("notice",(n={},void 0!==(r=t??{}).title&&(n.title=r.title),void 0!==r.file&&(n.file=r.file),void 0!==r.startLine&&(n.line=String(r.startLine)),void 0!==r.endLine&&(n.endLine=String(r.endLine)),void 0!==r.startColumn&&(n.col=String(r.startColumn)),void 0!==r.endColumn&&(n.endColumn=String(r.endColumn)),n),e)})});var hJ=class extends iu("ActionOutputError"){},hW=class extends iu("RuntimeEnvironmentError"){};let hj=(e,t,r)=>oK(hD,n=>{let i=process.env[e];if(void 0===i)return ru(new hW({variable:e,message:`Environment variable ${e} is not set`}));let s=function(e,t){if(!t.includes("\n"))return`${e}=${t} -`;let r=`ghadelimiter_${crypto.randomUUID()}`;return`${e}<<${r} -${t} -${r} -`}(t,r);return n.writeFileString(i,s,{flag:"a"}).pipe(af(t=>new hW({variable:e,message:`Failed to write to file at ${i}: ${t.message}`})))});var hK=class extends n0()("github-action-effects/ActionOutputs"){},hX=o(6760);let hZ=lU(hK,co(function*(){let e=yield*hD,t=lv(hD,e),r=(e,r,n)=>hj(e,r,n).pipe(l9(t));return{set:(e,t)=>r("GITHUB_OUTPUT",e,t).pipe(af(t=>new hJ({outputName:e,reason:t.message})),aC("ActionOutputError",e=>ok(e))),setJson:(e,t,n)=>ur(n)(t).pipe(oK(t=>r("GITHUB_OUTPUT",e,JSON.stringify(t))),oW,af(t=>new hJ({outputName:e,reason:"RuntimeEnvironmentError"===t._tag?t.message:`Output "${e}" validation failed: ${t.message}`}))),summary:t=>{let r=process.env.GITHUB_STEP_SUMMARY;return void 0===r?ru(new hJ({outputName:"summary",reason:"Environment variable GITHUB_STEP_SUMMARY is not set"})):e.writeFileString(r,t,{flag:"a"}).pipe(oW,af(e=>new hJ({outputName:"summary",reason:`Failed to write step summary: ${e.message}`})))},exportVariable:(e,t)=>r("GITHUB_ENV",e,t).pipe(oJ(()=>oS(()=>process.env[e]=t)),cA),addPath:t=>{let r=process.env.GITHUB_PATH;return void 0===r?oS(()=>{process.env.PATH=`${t}${hX.delimiter}${process.env.PATH??""}`}):e.writeFileString(r,`${t} -`,{flag:"a"}).pipe(oJ(()=>oS(()=>{process.env.PATH=`${t}${hX.delimiter}${process.env.PATH??""}`})),oW,cA)},setFailed:e=>oS(()=>{eU("error",{},e),process.exitCode=1}),setSecret:e=>oS(()=>{eU("add-mask",{},e)})}}));var h$=class extends iu("ActionStateError"){},h0=class extends n0()("github-action-effects/ActionState"){};let h1=(e,t,r)=>oU({try:()=>JSON.parse(t),catch:r=>new h$({key:e,reason:`State "${e}" is not valid JSON: ${r instanceof Error?r.message:String(r)}`,rawValue:t})}).pipe(oK(n=>ut(r)(n).pipe(af(r=>new h$({key:e,reason:`State "${e}" decode failed: ${r.message}`,rawValue:t}))))),h2=lU(h0,co(function*(){let e=yield*hD,t=lv(hD,e);return{save:(e,r,n)=>ur(n)(r).pipe(o0(e=>JSON.stringify(e)),af(t=>new h$({key:e,reason:`State "${e}" encode failed: ${t instanceof Error?t.message:String(t)}`,rawValue:void 0}))).pipe(oK(r=>hj("GITHUB_STATE",e,r).pipe(l9(t))),cA),get:(e,t)=>oS(()=>process.env[`STATE_${e}`]??"").pipe(oK(r=>""===r?ru(new h$({key:e,reason:`State "${e}" is not set (phase ordering issue?)`,rawValue:void 0})):h1(e,r,t))),getOptional:(e,t)=>oS(()=>process.env[`STATE_${e}`]??"").pipe(oK(r=>""===r?oN(r3()):h1(e,r,t).pipe(o0(e=>r4(e)))))}}));function h3(e){return{_tag:"Value",value:e}}let h4=n0("effect/ConfigProvider",{defaultValue:()=>{let e,t,r;return e=(void 0)??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},t=false,r=function(e){let t={};for(let[r,n]of Object.entries(e)){if(void 0===n)continue;let e=r.split("_"),i=t;for(let t of e)i.children??={},i=i.children[t]??={}}return t}(e),h9(n=>oN(function(e,t,r,n){var i;let s=(i=t[r.map(String).join("_")],""!==i||n?i:void 0),o=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),a=o?.children?Object.keys(o.children):[];return 0===a.length?void 0===s?void 0:h3(s):a.every(e=>h6.test(e))?{_tag:"Array",length:Math.max(...a.map(e=>parseInt(e,10)))+1,value:s}:{_tag:"Record",keys:new Set(a),value:s}}(r,e,n,t)))}}),h5={...tK,toJSON:()=>({_id:"ConfigProvider"})},h8=e=>e;function h9(e){var t;let r,n;return r={_tag:"Source",get:e,transform:h8},t=e=>r.get(r.transform(e)),(n=Object.create(h5)).state=r,n.load=t,n}let h6=/^(0|[1-9][0-9]*)$/,h7=h9(e=>{let t=`INPUT_${e.join("_").replaceAll(" ","_").toUpperCase()}`,r=process.env[t];return void 0===r||""===r?oN(void 0):oN(h3(r))}),me=AT(e=>{let t=(Array.isArray(e.message)?e.message:[e.message]).map(e=>tT(e)).join(" "),r=e.logLevel,n=e.fiber.getRef(sX),i={};for(let e of["file","line","col"]){let t=n[e];void 0!==t&&(i[e]=String(t))}hY(r,"Error")?eU("error",i,t):hY(r,"Warn")?eU("warning",i,t):hY(r,"Info")?process.stdout.write(`${t} -`):eU("debug",i,t)});var mt=o(7598);let mr=n("node:fs"),mn=n("node:os"),mi=(e,t)=>(r,[n])=>{let i="Unknown";switch(r.code){case"ENOENT":i="NotFound";break;case"EACCES":i="PermissionDenied";break;case"EEXIST":i="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":i="BadResource";break;case"EBUSY":i="Busy"}return uV({_tag:i,module:e,method:t,pathOrDescriptor:n,syscall:r.syscall,cause:r})},ms=e=>t=>u_({module:"FileSystem",method:e,description:t.message??String(t)}),mo=(f=cf(mr.access,mi("FileSystem","access"),ms("access")),(e,t)=>{let r=mr.constants.F_OK;return t?.readable&&(r|=mr.constants.R_OK),t?.writable&&(r|=mr.constants.W_OK),f(e,r)}),ma=(I=cf(mr.cp,mi("FileSystem","copy"),ms("copy")),(e,t,r)=>I(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),mA=(E=cf(mr.copyFile,mi("FileSystem","copyFile"),ms("copyFile")),(e,t)=>E(e,t)),ml=(y=cf(mr.chmod,mi("FileSystem","chmod"),ms("chmod")),(e,t)=>y(e,t)),mc=(B=cf(mr.chown,mi("FileSystem","chown"),ms("chown")),(e,t,r)=>B(e,t,r)),md=(Q=cf(mr.glob,mi("FileSystem","glob"),ms("glob")),(e,t)=>Q(e,{cwd:t?.root,exclude:t?.exclude})),mg=(N=cf(mr.link,mi("FileSystem","link"),ms("link")),(e,t)=>N(e,t)),mu=(b=cf(mr.mkdir,mi("FileSystem","makeDirectory"),ms("makeDirectory")),(e,t)=>b(e,{recursive:t?.recursive??!1,mode:t?.mode})),mh=e=>{let t=cf(mr.mkdtemp,mi("FileSystem",e),ms(e));return e=>ow(()=>{let r=e?.prefix??"",n="string"==typeof e?.directory?hX.join(e.directory,"."):mn.tmpdir();return t(r?hX.join(n,r):n+"/")})},mm=mh("makeTempDirectory"),mp=e=>{let t=cf(mr.rm,mi("FileSystem",e),ms(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},mC=mp("remove"),mf=(S=mh("makeTempDirectoryScoped"),w=mp("makeTempDirectoryScoped"),e=>cl(S(e),e=>cA(w(e,{recursive:!0})))),mI=(j="open",D=cf(mr.open,mi("FileSystem",j),ms(j)),x=cf(mr.close,mi("FileSystem",j),ms(j)),(e,t)=>eV(cl(D(e,t?.flag??"r",t?.mode),e=>cA(x(e))),o0(e=>mE(hR(e),t?.flag?.startsWith("a")??!1)))),mE=(()=>{let e=e=>cf(mr.read,mi("FileSystem",e),ms(e)),t=e("read"),r=e("readAlloc"),n=cf(mr.fstat,mi("FileSystem","stat"),ms("stat")),i=cf(mr.ftruncate,mi("FileSystem","truncate"),ms("truncate")),s=cf(mr.fsync,mi("FileSystem","sync"),ms("sync")),o=e=>cf(mr.write,mi("FileSystem",e),ms(e)),a=o("write"),A=o("writeAll");class l{[hx];fd;append;position=BigInt(0);constructor(e,t){this[hx]=hx,this.fd=e,this.append=t}get stat(){return o0(n(this.fd),mx)}get sync(){return s(this.fd)}seek(e,t){let r=hw(e);return oS(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return ow(()=>{let r=this.position;return o0(t(this.fd,{buffer:e,position:r}),e=>{let t=hw(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return ow(()=>{let e=Buffer.allocUnsafeSlow(t),n=this.position;return o0(r(this.fd,{buffer:e,position:n}),r=>{if(0===r)return r3();if(this.position=n+BigInt(r),r===t)return r4(e);let i=Buffer.allocUnsafeSlow(r);return e.copy(i,0,0,r),r4(i)})})}truncate(e){return o0(i(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return ow(()=>{let t=this.position;return o0(a(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=hw(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return ow(()=>{let t=this.position;return oK(A(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?ru(uV({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):oM))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new l(e,t)})(),my=e=>{let t=mh(e);return oH(function*(e){let r=yield*t(e),n=mt.randomBytes(6).toString("hex"),i=hX.join(r,e?.suffix?`${n}${e.suffix}`:n);return yield*mU(i,new Uint8Array(0)),i})},mB=my("makeTempFile"),mQ=(R=my("makeTempFileScoped"),k=mp("makeTempFileScoped"),e=>cl(R(e),e=>cA(k(hX.dirname(e),{recursive:!0})))),mN=(e,t)=>cs({try:()=>mr.promises.readdir(e,t),catch:t=>mi("FileSystem","readDirectory")(t,[e])}),mb=e=>oL((t,r)=>{try{mr.readFile(e,{signal:r},(r,n)=>{r?t(ru(mi("FileSystem","readFile")(r,[e]))):t(oN(n))})}catch(e){t(ru(ms("readFile")(e)))}}),mS=(v=cf(mr.readlink,mi("FileSystem","readLink"),ms("readLink")),e=>v(e)),mw=(M=cf(mr.realpath,mi("FileSystem","realPath"),ms("realPath")),e=>M(e)),mD=(U=cf(mr.rename,mi("FileSystem","rename"),ms("rename")),(e,t)=>U(e,t)),mx=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:nA(e.mtime),atime:nA(e.atime),birthtime:nA(e.birthtime),dev:e.dev,rdev:nA(e.rdev),ino:nA(e.ino),mode:e.mode,nlink:nA(e.nlink),uid:nA(e.uid),gid:nA(e.gid),size:hw(e.size),blksize:void 0!==e.blksize?r4(hw(e.blksize)):r3(),blocks:nA(e.blocks)}),mR=(F=cf(mr.stat,mi("FileSystem","stat"),ms("stat")),e=>o0(F(e),mx)),mk=(T=cf(mr.symlink,mi("FileSystem","symlink"),ms("symlink")),(e,t)=>T(e,t)),mv=(L=cf(mr.truncate,mi("FileSystem","truncate"),ms("truncate")),(e,t)=>L(e,void 0!==t?Number(t):void 0)),mM=(O=cf(mr.utimes,mi("FileSystem","utime"),ms("utime")),(e,t,r)=>O(e,t,r)),mU=(e,t,r)=>oL((n,i)=>{try{mr.writeFile(e,t,{signal:i,flag:r?.flag,mode:r?.mode},t=>{t?n(ru(mi("FileSystem","writeFile")(t,[e]))):n(oM)})}catch(e){n(ru(ms("writeFile")(e)))}}),mF=o0(rm(e=>oN(ia(e.context,hk))),e=>{let t;return t={access:mo,chmod:ml,chown:mc,copy:ma,copyFile:mA,glob:md,link:mg,makeDirectory:mu,makeTempDirectory:mm,makeTempDirectoryScoped:mf,makeTempFile:mB,makeTempFileScoped:mQ,open:mI,readDirectory:mN,readFile:mb,readLink:mS,realPath:mw,remove:mC,rename:mD,stat:mR,symlink:mk,truncate:mv,utimes:mM,watch:t=>mR(t).pipe(o0(r=>e.pipe(ny(e=>e.register(t,r)),nn(()=>{let e,r;return hI((e=e=>cl(oS(()=>{let r=mr.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void At(aN(mR(r),{onSuccess:t=>u0(e,{_tag:"Create",path:r}),onFailure:t=>u0(e,{_tag:"Remove",path:r})}));case"change":var n;return void(n={_tag:"Update",path:r},"Open"!==e.state._tag||(e.messages.length>=e.capacity?"sliding"===e.strategy?(uX(e.messages),uj(e.messages,n)):e.capacity<=0&&e.state.takers.size>0&&(uj(e.messages,n),u7(e)):(uj(e.messages,n),he(e))))}});return r.on("error",r=>{u1(e,t7(uV({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{u1(e,t7(ry()))}),r}),e=>oS(()=>e.close())),r=void 0,ha((t,n)=>{let i;return o0((i={capacity:r?.bufferSize,strategy:r?.strategy},rm(e=>{let t=Object.create(u$);return t.dispatcher=e.currentDispatcher,t.capacity=i?.capacity??1/0,t.strategy=i?.strategy??"suspend",t.messages={head:void 0,tail:void 0,length:0},t.scheduleRunning=!1,t.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},oN(t)})).pipe(oJ(e=>aF(n,eP(oS(()=>{if("Done"===e.state._tag)return!0;uK(e.messages);let t=e.state.offers;if(hs(e,"Open"===e.state._tag?u6:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(u5):e.resume(rl(e.remaining.slice(e.offset)));t.clear()}return!0})))),oJ(t=>a7(aP(e(t),n),n))),u2)})))}))),hy),writeFile:mU},hD.of({...t,[hS]:hS,exists:e=>eV(t.access(e),oV(!0),aC("PlatformError",e=>"NotFound"===e.reason._tag?oN(!1):ru(e))),readFileString:(e,r)=>oK(t.readFile(e),e=>oU({try:()=>new TextDecoder(r).decode(e),catch:e=>u_({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:oH(function*(e,r){let n=yield*t.open(e,{flag:"r"});r?.offset&&(yield*n.seek(r.offset,"start"));let i=r?.bytesToRead!==void 0?hw(r.bytesToRead):void 0,s=BigInt(0),o=hw(r?.chunkSize??65536),a=n.readAlloc(o);return hI(hA(oN(oK(ow(()=>void 0!==i&&i<=s?AY():void 0!==i&&i-s<o?n.readAlloc(i-s):a),r6({onNone:()=>AY(),onSome:e=>(s+=BigInt(e.length),oN(i3(e)))})))))},hy),sink:(e,r)=>eV(t.open(e,{flag:"w",...r}),o0(e=>{let t,r;return t=t=>e.writeAll(t),r=a4(e=>t(e),{discard:!0}),hm(e=>e.pipe(oK(r),aA({disableYield:!0}),lz(()=>hu)))}),hC),writeFileString:(e,r,n)=>oK(oU({try:()=>new TextEncoder().encode(r),catch:e=>u_({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>t.writeFile(e,r,n))})}),mT=lU(hD)(mF),mL=Symbol.for("~effect/http/Headers"),mO=Object.defineProperties(Object.create(null),{[mL]:{value:mL},[tN]:{value(e){return mJ(this,ir(e,mW))}},toJSON:{value(){return tb(this)}},[th]:{value(e){return mP(this,e)}},[e9]:{value(){return to(this)}},toString:{value:tL.toString},[tU]:{value:tL[tU]}}),mH=e=>Object.assign(Object.create(mO),e),mP=(H=eO(2,(e,t)=>{for(let r of i_(e))if(!iq(t,r)||!rR(e[r],t[r]))return!1;return!0}),(e,t)=>H(e,t)&&H(t,e)),mY=Object.create(mO),mG=e=>{if(void 0===e)return mY;if(Symbol.iterator in e){let t=Object.create(mO);for(let[r,n]of e)t[r.toLowerCase()]=n;return t}let t=Object.create(mO);for(let[r,n]of Object.entries(e))Array.isArray(n)?t[r.toLowerCase()]=n.join(", "):void 0!==n&&(t[r.toLowerCase()]=n);return t},mz=eO(3,(e,t,r)=>{let n=mH(e);return n[t.toLowerCase()]=r,n}),mq=eO(2,(e,t)=>mH({...e,...mG(t)})),mV=eO(2,(e,t)=>{let r=mH(e);return Object.assign(r,t),r}),m_=eO(2,(e,t)=>{let r=mH(e);return delete r[t.toLowerCase()],r}),mJ=eO(2,(e,t)=>{let r={...e},n=t=>{if("string"==typeof t){let n=t.toLowerCase();n in e&&(r[n]=cP(e[n]))}else for(let n in e)t.test(n)&&(r[n]=cP(e[n]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else n(t);return r}),mW=n0("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]}),mj="~effect/http/HttpClientError";class mK extends iu("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[mj]=mj;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let mX=e=>e.endsWith("Error")?e.slice(0,-5):e,mZ=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class m$ extends iu("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return mZ(mX(this._tag),this.description,this.methodAndUrl)}}class m0 extends iu("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return mZ(mX(this._tag),this.description,this.methodAndUrl)}}class m1 extends iu("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return mZ(mX(this._tag),this.description,e)}}class m2 extends iu("EmptyBodyError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return mZ(mX(this._tag),this.description,e)}}let m3="~effect/http/HttpBody";class m4{[m3];constructor(){this[m3]=m3}[tU](){return this.toJSON()}toString(){return tx(this,{ignoreToString:!0})}}let m5=new class extends m4{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class m8 extends m4{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let m9=new TextEncoder,m6="~effect/http/UrlParams",m7={...tK,[m6]:m6,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[th](e){return pn(this,e)},[e9](){return tA(this.params.flat())}},pe=e=>{let t=Object.create(m7);return t.params=e,t},pt=e=>{if(e4(e,m6))return e;let t=pr(e),r=[];for(let e=0;e<t.length;e++)if(Array.isArray(t[e][0])){let[n,i]=t[e];r.push([`${n[0]}[${n.slice(1).join("][")}]`,i])}else r.push(t[e]);return pe(r)},pr=e=>{let t="function"==typeof e[Symbol.iterator]?iK(e):Object.entries(e),r=[];for(let[e,n]of t)if(Array.isArray(n))for(let t=0;t<n.length;t++)void 0!==n[t]&&r.push([e,String(n[t])]);else if("object"==typeof n)for(let[t,i]of pr(n))r.push([[e,..."string"==typeof t?[t]:t],i]);else void 0!==n&&r.push([e,String(n)]);return r},pn=rx((e,t)=>pi(e.params,t.params)),pi=(K=[rR,rR],X=rx((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!K[r](e[r],t[r]))return!1;return!0}),rx((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!X(e[r],t[r]))return!1;return!0})),ps=pe([]),po=eO(2,(e,t)=>{let r=pt(t),n=r.params,i=new Set;for(let e=0;e<n.length;e++)i.add(n[e][0]);for(let t=0;t<e.params.length;t++)i.has(e.params[t][0])||n.push(e.params[t]);return r}),pa="~effect/http/HttpClientRequest",pA={[pa]:pa,...tL,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:tb(this.headers),body:this.body.toJSON()}},pipe(){return eF(this,arguments)}};function pl(e,t,r,n,i,s){let o=Object.create(pA);return o.method=e,o.url=t,o.urlParams=r,o.hash=n,o.headers=i,o.body=s,o}let pc=pl("GET","",ps,r3(),mY,m5),pd=e=>(t,r)=>pu(pc,{method:e,url:t,...r??void 0}),pg=pd("POST"),pu=eO(2,(e,t)=>{let r=e;return t.method&&(r=ph(r,t.method)),t.url&&(r=pE(r,t.url)),t.headers&&(r=pp(r,t.headers)),t.urlParams&&(r=py(r,t.urlParams)),t.hash&&(r=pB(r,t.hash)),t.body&&(r=pQ(r,t.body)),t.accept&&(r=pf(r,t.accept)),t.acceptJson&&(r=pI(r)),r}),ph=eO(2,(e,t)=>pl(t,e.url,e.urlParams,e.hash,e.headers,e.body)),pm=eO(3,(e,t,r)=>pl(e.method,e.url,e.urlParams,e.hash,mz(e.headers,t,r),e.body)),pp=eO(2,(e,t)=>pl(e.method,e.url,e.urlParams,e.hash,mq(e.headers,t),e.body)),pC=eO(2,(e,t)=>pm(e,"Authorization",`Bearer ${"string"==typeof t?t:cO(t)}`)),pf=eO(2,(e,t)=>pm(e,"Accept",t)),pI=pf("application/json"),pE=eO(2,(e,t)=>{if("string"==typeof t)return pl(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),n=pt(r.searchParams),i=nA(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",pl(e.method,r.toString(),n,i,e.headers,e.body)}),py=eO(2,(e,t)=>pl(e.method,e.url,po(e.urlParams,t),e.hash,e.headers,e.body)),pB=eO(2,(e,t)=>pl(e.method,e.url,e.urlParams,r4(t),e.headers,e.body)),pQ=eO(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=m_(m_(r,"Content-Type"),"Content-length"):(t.contentType&&(r=mz(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=mz(r,"content-length",t.contentLength.toString()))),pl(e.method,e.url,e.urlParams,e.hash,r,t)}),pN=eO(2,(e,t)=>{var r,n;let i;return pQ(e,(r=JSON.stringify(t),n=(void 0)??"application/json",new m8(i=m9.encode(r),n??"text/plain"??"application/octet-stream",i.length)))}),pb="~effect/http/Cookies",pS="~effect/http/Cookies/Cookie",pw=(e=>e4(e,pS),"~effect/http/Cookies/CookieError"),pD={[pb]:pb,...tL,toJSON(){return{_id:"effect/Cookies",cookies:iV(this.cookies,e=>e.toJSON())}},pipe(){return eF(this,arguments)}},px=e=>{var t;let r,n={};for(let t of e)n[t.name]=t;return t=n,(r=Object.create(pD)).cookies=t,r},pR=e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let n=t[0].slice(0,r);if(!pv.test(n))return;let i=t[0].slice(r+1),s=pU(i);if(1===t.length)return Object.assign(Object.create(pM),{name:n,value:s,valueEncoded:i});let o={};for(let e=1;e<t.length;e++){let r=t[e],n=r.indexOf("="),i=-1===n?r:r.slice(0,n).trim(),s=-1===n?void 0:r.slice(n+1).trim();switch(i.toLowerCase()){case"domain":{if(void 0===s)break;let e=s.trim().replace(/^\./,"");e&&(o.domain=e);break}case"expires":{if(void 0===s)break;let e=new Date(s);isNaN(e.getTime())||(o.expires=e);break}case"max-age":{if(void 0===s)break;let e=parseInt(s,10);isNaN(e)||(o.maxAge=sC(e));break}case"path":if(void 0===s)break;"/"===s[0]&&(o.path=s);break;case"priority":if(void 0===s)break;switch(s.toLowerCase()){case"low":o.priority="low";break;case"medium":o.priority="medium";break;case"high":o.priority="high"}break;case"httponly":o.httpOnly=!0;break;case"secure":o.secure=!0;break;case"partitioned":o.partitioned=!0;break;case"samesite":if(void 0===s)break;switch(s.toLowerCase()){case"lax":o.sameSite="lax";break;case"strict":o.sameSite="strict";break;case"none":o.sameSite="none"}}}return Object.assign(Object.create(pM),{name:n,value:s,valueEncoded:i,options:Object.keys(o).length>0?o:void 0})}(r.trim());e&&t.push(e)}return px(t)},pk=px([]),pv=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,pM={[pS]:pS,...tL,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}},pU=e=>{try{return decodeURIComponent(e)}catch(t){return e}},pF="~effect/http/HttpIncomingMessage",pT=n0("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0}),pL=(e,t)=>{let r,n=e.headers["content-type"]??"";if(n.includes("application/json"))try{r=As(e.json)}catch(e){}else if(n.includes("text/")||n.includes("urlencoded"))try{r=As(e.text)}catch(e){}let i={...t,headers:tb(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(i.body=r),i},pO="~effect/http/HttpClientResponse";class pH extends tO{[pF];[pO];request;source;constructor(e,t){super(),this.request=e,this.source=t,this[pF]=pF,this[pO]=pO}toJSON(){return pL(this,{_id:"HttpClientResponse",request:this.request.toJSON(),status:this.status})}get status(){return this.source.status}get headers(){return mG(this.source.headers)}cachedCookies;get cookies(){return this.cachedCookies?this.cachedCookies:this.cachedCookies=pR(this.source.headers.getSetCookie())}get remoteAddress(){return r3()}get stream(){let e;return this.source.body?(e={evaluate:()=>this.source.body,onError:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})},hI(ha(oH(function*(t,r){let n=e.evaluate().getReader();return yield*aF(r,eP(e.releaseLockOnEnd?oS(()=>n.releaseLock()):ci(()=>n.cancel().catch(eq)))),oK(cs({try:()=>n.read(),catch:t=>e.onError(t)}),({done:e,value:t})=>e?AY():oN(i3(t)))})))):hI(hA(oN(ru(new mK({reason:new m2({request:this.request,response:this,description:"can not create stream from empty body"})})))))}get json(){return oK(this.text,e=>oU({try:()=>""===e?null:JSON.parse(e),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=cs({try:()=>this.source.text(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As),this.arrayBufferBody=o0(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return oK(this.text,e=>oU({try:()=>pt(new URLSearchParams(e)),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=cs({try:()=>this.source.formData(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=cs({try:()=>this.source.arrayBuffer(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As),this.textBody=o0(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}pipe(){return eF(this,arguments)}}class pP extends iu("UrlError"){}let pY="~effect/http/HttpClient",pG=n0("effect/HttpClient"),pz=eO(2,(e,t)=>pq(r=>t(e.postprocess(r)),e.preprocess)),pq=(e,t)=>{let r=Object.create(pV);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},pV={[pY]:pY,pipe(){return eF(this,arguments)},...tL,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(pd(e)(t,r))}]))},p_=e=>pq(t=>oK(t,t=>rm(r=>{let n,i,s,o=pZ.get(t),a=o??new AbortController,A=(n=t.url,i=t.urlParams,s=nu(t.hash),(e=>{if(e0(e))try{return rj(e())}catch(e){return rW(e)}try{return rj(e.try())}catch(t){return rW(e.catch(t))}})({try:()=>{let e=new URL(n,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<i.params.length;t++){let[r,n]=i.params[t];void 0!==n&&e.searchParams.append(r,n)}return void 0!==s&&(e.hash=s),e},catch:e=>new pP({cause:e})}));if(r_(A))return ru(new mK({reason:new m0({request:t,cause:A.failure})}));let l=A.success;if(r.getRef(sL)||r.getRef(pJ)(t)){let n=e(t,l,a.signal,r);return o?n:a1(e=>aB(e(n),{onSuccess:e=>(pX.register(e,a),oN(new p$(e,a))),onFailure:e=>(e.reasons.some(ri)&&a.abort(),ob(e))}))}return Au(r.getRef(pj)(t),{kind:"client"},n=>{let i;n.attribute("http.request.method",t.method),n.attribute("server.address",l.origin),""!==l.port&&n.attribute("server.port",+l.port),n.attribute("url.full",l.toString()),n.attribute("url.path",l.pathname),n.attribute("url.scheme",l.protocol.slice(0,-1));let s=l.search.slice(1);""!==s&&n.attribute("url.query",s);let A=r.getRef(mW),c=mJ(t.headers,A);for(let e in c)n.attribute(`http.request.header.${e}`,String(c[e]));return t=r.getRef(pW)?pp(t,(i=n,Object.setPrototypeOf({b3:`${i.traceId}-${i.spanId}-${i.sampled?"1":"0"}${r6(i.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${i.traceId}-${i.spanId}-${i.sampled?"01":"00"}`},mO))):t,a1(i=>i(e(t,l,a.signal,r)).pipe(Am(n,{captureStackTrace:!1}),aB({onSuccess:e=>{n.attribute("http.response.status_code",e.status);let t=mJ(e.headers,A);for(let e in t)n.attribute(`http.response.header.${e}`,String(t[e]));return o?oN(e):(pX.register(e,a),oN(new p$(e,a)))},onFailure:e=>(!o&&e.reasons.some(ri)&&a.abort(),ob(e))})))})})),oN),pJ=n0("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>eG}),pW=n0("effect/HttpClient/TracerPropagationEnabled",{defaultValue:eY}),pj=n0("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),pK=e=>lU(pG)(ai(t=>o0(e,e=>pz(e,at(e=>iA(t,e)))))),pX=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),pZ=new WeakMap;class p${original;controller;constructor(e,t){this.original=e,this.controller=t}[pO]=pO;[pF]=pF;applyInterrupt(e){return ow(()=>(pX.unregister(this.original),aJ(e,()=>oS(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){var e;let t;return e=()=>(pX.unregister(this.original),hB(this.original.stream,oS(()=>{this.controller.abort()}))),hI((t=()=>e().channel,ha((e,r)=>ow(()=>(0,t().transform)(e,r)))))}toJSON(){return this.original.toJSON()}[tU](){return this.original[tU]()}pipe(){return eF(this,arguments)}}let p0=n0("effect/http/FetchHttpClient/Fetch",{defaultValue:()=>globalThis.fetch});class p1 extends n0()("effect/http/FetchHttpClient/RequestInit"){}let p2=pK(oN(p_((e,t,r,n)=>{let i=n.getRef(p0),s=n.context.mapUnsafe.get(p1.key)??{},o=s.headers?mV(mG(s.headers),e.headers):e.headers;o["content-length"]&&(o=m_(o,"content-length"));let a=n=>o0(cs({try:()=>i(t,{...s,method:e.method,headers:o,body:n,duplex:"Stream"===e.body._tag?"half":void 0,signal:r}),catch:t=>new mK({reason:new m$({request:e,cause:t})})}),t=>new pH(e,t));switch(e.body._tag){case"Raw":case"Uint8Array":return a(e.body.body);case"FormData":return a(e.body.formData);case"Stream":return oK(hb(e.body.stream),a)}return a(void 0)}))),p3={Default:lO(tZ(h7)?lU(h4)(h7):lv(h4)(h7),hz([me]),hP,h_,hZ,h2,p2).pipe(lY(mT))};uC(["info","verbose","debug"]).annotate({identifier:"ActionLogLevel",title:"Action Log Level",description:"Logging verbosity for GitHub Action output"}),uC(["info","verbose","debug","auto"]).annotate({identifier:"LogLevelInput",title:"Log Level Input",description:"Logging verbosity: info, verbose, debug, or auto",message:'log-level must be one of: "info", "verbose", "debug", "auto"'});let p4={run:(e,t)=>{let r=t?.layer?lO(p3.Default,t.layer):p3.Default;return Ar(co(function*(){yield*(yield*ic).withBuffer("action",e)}).pipe(l9(r),al(e=>{let t=p4.formatCause(e),r="";try{let t=or(e);t instanceof Error&&t.stack&&(r=t.stack.split("\n").slice(1).join("\n"))}catch{}try{let t=ol(e);""!==t.trim()&&eU("debug",{},`Effect span trace: -${t}`)}catch{}let n=r?`Action failed: ${t} -${r}`:`Action failed: ${t}`;return oS(()=>{eU("error",{},n),process.exitCode=1})}))).catch(()=>{process.exitCode=1})},resolveLogLevel:e=>"auto"!==e?e:"1"===process.env.RUNNER_DEBUG?"debug":"info",formatCause:e=>{try{let t=or(e);if(null!=t&&"object"==typeof t&&"_tag"in t&&"string"==typeof t._tag){let e=t._tag,r=t.message||t.reason;return null!=r?`[${e}] ${String(r)}`:`[${e}]`}if(t instanceof Error)return`[Error] ${t.message}`;let r=JSON.stringify(t);if(r&&"{}"!==r)return`[UnknownError] ${r}`}catch{}try{let t=ol(e);if(""!==t.trim())return t}catch{}return"Unknown error (no diagnostic information available)"}};var p5=o(7067);let p8=n("node:https");var p9=o(7075);let p6=n("node:stream/promises"),p7="~effect/MutableRef",Ce={[p7]:p7,...tK,toJSON(){return{_id:"MutableRef",current:tF(this.current)}}},Ct=e=>ha((t,r)=>Cr({scope:r,readable:e.evaluate(),onError:e.onError??Ci,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),Cr=e=>{var t;let r,n=e.readable,i=e.closeOnDone??!0,s=e.exit??(t=void 0,(r=Object.create(Ce)).current=t,r),o=Al(!1);function a(){o.openUnsafe()}function A(t){s.current=ru(e.onError(t)),o.openUnsafe()}function l(){s.current=ru(ry()),o.openUnsafe()}n.on("readable",a),n.once("error",A),n.once("end",l);let c=ow(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return s.current?s.current:n.readableEnded?ru(ry()):(o.closeUnsafe(),oK(o.await,t));let i=i3(r);for(;null!==(r=e.readable.read(e.chunkSize));)i.push(r);return oN(i)});return oV(aF(e.scope,eP(oS(()=>{n.off("readable",a),n.off("error",A),n.off("end",l),i&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()}))),c)};class Cn extends p9.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=Al(!1),this.fiber=hQ(t,e=>this.readLatch.whenOpen(oS(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,as(e),At),this.fiber.addObserver(e=>{this.fiber=void 0,o4(e)?this.push(null):this.destroy(or(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);At(oy(this.fiber)).addObserver(r=>{t("Failure"===r._tag?or(r.cause):e)})}}let Ci=e=>new Ax(e);var Cs=o(3006);class Co extends n0()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let Ca=cl(oS(()=>new Cs.g6),e=>ci(()=>e.destroy())),CA=lU(Co)(Ca),Cl=n0("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),Cc=co(function*(){let e=yield*Co;return p_((t,r,n,i)=>(function(e){switch(e._tag){case"Empty":return oN(null);case"Uint8Array":case"Raw":return oN(e.body);case"FormData":return oN(e.formData);case"Stream":let t;return t=e.stream,o0(an,e=>new Cn(e,t))}})(t.body).pipe(oK(s=>cs({try:()=>e.request({...i.getRef(Cl),signal:n,method:t.method,headers:t.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:s,headersTimeout:36e5,bodyTimeout:0}),catch:e=>new mK({reason:new m$({request:t,cause:e})})})),o0(e=>new Cg(t,e))))});function Cd(e){}class Cg extends tO{[pF];[pO];request;source;constructor(e,t){super(),this[pF]=pF,this[pO]=pO,this.request=e,this.source=t,t.body.on("error",Cd)}get status(){return this.source.statusCode}get statusText(){}get headers(){return mG(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?pR(e):pk}get remoteAddress(){return r3()}get stream(){return hI(Ct({evaluate:()=>this.source.body,onError:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}get json(){return oK(this.text,e=>oU({try:()=>""===e?null:JSON.parse(e),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=cs({try:()=>this.source.body.text(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As),this.arrayBufferBody=o0(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return oK(this.text,e=>oU({try:()=>pt(new URLSearchParams(e)),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=cs({try:()=>this.source.body.formData(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=cs({try:()=>this.source.body.arrayBuffer(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As),this.textBody=o0(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return pL(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return eF(this,arguments)}}let Cu=lP(pK(Cc),CA);var Ch=class extends iu("ActionCacheError"){},Cm=class extends n0()("github-action-effects/ActionCache"){};let Cp=e=>/[*?[]/.test(e),CC=e=>{let t=process.env.HOME||(0,mn.homedir)();return e.startsWith("~/")?(0,hX.join)(t,e.slice(2)):"~"===e?t:e},Cf=Symbol.for("twirp/conflict"),CI=["HTTP 500","HTTP 502","HTTP 503","HTTP 504","ECONNRESET","ECONNREFUSED","ETIMEDOUT"],CE=n("node:child_process");class Cy extends Error{constructor(e){super(e),this.name="AbortError"}}var CB=o(7975);let CQ=n("node:process");"string"==typeof CQ.versions.deno&&CQ.versions.deno.length,"string"==typeof CQ.versions.bun&&CQ.versions.bun.length;let CN=CQ.env.DEBUG,Cb=[],CS=[],Cw=[];CN&&Cx(CN);let CD=Object.assign(e=>Cv(e),{enable:Cx,enabled:CR,disable:function(){let t=e||"";return Cx(""),t},log:function(e,...t){CQ.stderr.write(`${CB.format(e,...t)}${mn.EOL}`)}});function Cx(t){for(let r of(e=t,Cb=[],CS=[],t.split(",").map(e=>e.trim())))r.startsWith("-")?CS.push(r.substring(1)):Cb.push(r);for(let e of Cw)e.enabled=CR(e.namespace)}function CR(e){if(e.endsWith("*"))return!0;for(let t of CS)if(Ck(e,t))return!1;for(let t of Cb)if(Ck(e,t))return!0;return!1}function Ck(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],n="";for(let r of t)if("*"===r&&"*"===n)continue;else n=r,e.push(r);r=e.join("")}let n=0,i=0,s=r.length,o=e.length,a=-1,A=-1;for(;n<o&&i<s;)if("*"===r[i]){if(a=i,++i===s)return!0;for(;e[n]!==r[i];)if(++n===o)return!1;A=n,n++,i++;continue}else if(r[i]===e[n])i++,n++;else{if(!(a>=0)||(i=a+1,(n=A+1)===o))return!1;for(;e[n]!==r[i];)if(++n===o)return!1;A=n,n++,i++;continue}let l=n===e.length,c=i===r.length,d=i===r.length-1&&"*"===r[i];return l&&(c||d)}function Cv(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:CR(e),destroy:CM,log:CD.log,namespace:e,extend:CU});return Cw.push(t),t}function CM(){let e=Cw.indexOf(this);return e>=0&&(Cw.splice(e,1),!0)}function CU(e){let t=Cv(`${this.namespace}:${e}`);return t.log=this.log,t}let CF=["verbose","info","warning","error"],CT={verbose:400,info:300,warning:200,error:100};function CL(e,t){t.log=(...t)=>{e.log(...t)}}function CO(e){return CF.includes(e)}function CH(e){var t;let r,n=new Set,i=(t=e.logLevelEnvVarName,CQ.env[t]),s=CD(e.namespace);function o(e){if(e&&!CO(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${CF.join(",")}`);r=e;let t=[];for(let e of n)a(e)&&t.push(e.namespace);CD.enable(t.join(","))}function a(e){return!!(r&&CT[e.level]<=CT[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(CL(e,r),a(r)){let e=CD.disable();CD.enable(e+","+r.namespace)}return n.add(r),r}return s.log=(...e)=>{CD.log(...e)},i&&(CO(i)?o(i):console.error(`${e.logLevelEnvVarName} set to unknown log level '${i}'; logging is not enabled. Acceptable values: ${CF.join(", ")}.`)),{setLogLevel:o,getLogLevel:function(){return r},createClientLogger:function(e){let t=s.extend(e);return CL(s,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:s}}let CP=CH({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function CY(e){return CP.createClientLogger(e)}function CG(e){return e.toLowerCase()}CP.logger;class Cz{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(CG(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(CG(e))?.value}has(e){return this._headersMap.has(CG(e))}delete(e){this._headersMap.delete(CG(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function Cq(e){return new Cz(e)}function CV(){return globalThis.crypto.randomUUID()}class C_{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??Cq(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||CV(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let CJ=new Set(["Deserialize","Serialize","Retry","Sign"]);class CW{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!CJ.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!CJ.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new CW(this._policies)}static create(){return new CW}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let n=r("Serialize"),i=r("None"),s=r("Deserialize"),o=r("Retry"),a=r("Sign"),A=[n,i,s,o,a];function l(e){return"Retry"===e?o:"Serialize"===e?n:"Deserialize"===e?s:"Sign"===e?a:i}for(let e of this._policies){let r=e.policy,n=e.options,i=r.name;if(t.has(i))throw Error("Duplicate policy names not allowed in pipeline");let s={policy:r,dependsOn:new Set,dependants:new Set};n.afterPhase&&(s.afterPhase=l(n.afterPhase),s.afterPhase.hasAfterPolicies=!0),t.set(i,s),l(n.phase).policies.add(s)}for(let e of this._policies){let{policy:r,options:n}=e,i=r.name,s=t.get(i);if(!s)throw Error(`Missing node for policy ${i}`);if(n.afterPolicies)for(let e of n.afterPolicies){let r=t.get(e);r&&(s.dependsOn.add(r),r.dependants.add(s))}if(n.beforePolicies)for(let e of n.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(s),s.dependants.add(r))}}function c(r){for(let n of(r.hasRun=!0,r.policies))if((!n.afterPhase||n.afterPhase.hasRun&&!n.afterPhase.policies.size)&&0===n.dependsOn.size){for(let t of(e.push(n.policy),n.dependants))t.dependsOn.delete(n);t.delete(n.policy.name),r.policies.delete(n)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==i){i.hasRun||c(i);return}e.hasAfterPolicies&&c(i)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function Cj(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function CK(e){if(Cj(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let CX=CB.inspect.custom,CZ="REDACTED",C$=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],C0=["api-version"];class C1{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=C$.concat(e),t=C0.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&Cj(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&Cj(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||Cj(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,CZ);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=CZ;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=CZ;return t}}let C2=new C1;class C3 extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,CX,{value:()=>`RestError: ${this.message} - ${C2.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,C3.prototype)}}function C4(e){return e instanceof C3||CK(e)&&"RestError"===e.name}var C5=o(8522);let C8=CY("ts-http-runtime"),C9={};function C6(e){return e&&"function"==typeof e.pipe}function C7(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function fe(e){return e&&"number"==typeof e.byteLength}class ft extends p9.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class fr{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,n,i=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new Cy("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&i.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new C1;C8.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),i.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),o=s?.includes("gzip")||s?.includes("deflate"),a="function"==typeof e.body?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(C6(e))return null;if(fe(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(a);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(a&&e.onUploadProgress){let t=e.onUploadProgress,r=new ft(t);r.on("error",e=>{C8.error("Error in upload progress",e)}),C6(a)?a.pipe(r):r.end(a),a=r}let t=await this.makeRequest(e,i,a);void 0!==r&&clearTimeout(r);let s=function(e){let t=Cq();for(let r of Object.keys(e.headers)){let n=e.headers[r];Array.isArray(n)?n.length>0&&t.set(r,n[0]):n&&t.set(r,n)}return t}(t),l={status:t.statusCode??0,headers:s,request:e};if("HEAD"===e.method)return t.resume(),l;n=o?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=C5.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=C5.createInflate();return e.pipe(t),t}return e}(t,s):t;let c=e.onDownloadProgress;if(c){let e=new ft(c);e.on("error",e=>{C8.error("Error in download progress",e)}),n.pipe(e),n=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=n:l.bodyAsText=await (A=n,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new C3(`Error reading response as text: ${e.message}`,{code:C3.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();C6(a)&&(r=C7(a));let i=Promise.resolve();C6(n)&&(i=C7(n)),Promise.all([r,i]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{C8.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let n=new URL(e.url),i="https:"!==n.protocol;if(i&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let s={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((n,o)=>{let a=i?p5.request(s,n):p8.request(s,n);a.once("error",t=>{o(new C3(t.message,{code:t.code??C3.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new Cy("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e),o(e)}),r&&C6(r)?r.pipe(a):r?"string"==typeof r||Buffer.isBuffer(r)?a.end(r):fe(r)?a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(C8.error("Unrecognized body type",r),o(new C3("Unrecognized body type"))):a.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?p5.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new p5.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return p8.globalAgent;let t=e.tlsSettings??C9,n=this.cachedHttpsAgents.get(t);return n&&!r===n.options.keepAlive||(C8.info("No cached TLS Agent exist, creating a new Agent"),n=new p8.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,n)),n}}}let fn="Retry-After",fi=["retry-after-ms","x-ms-retry-after-ms",fn];function fs(e){if(e&&[429,503].includes(e.status))try{for(let t of fi){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}(e,t);if(0===r||r){let e=t===fn?1e3:1;return r*e}}let t=e.headers.get(fn);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let fo=CY("ts-http-runtime retryPolicy");function fa(e,t){return Buffer.from(e,t)}async function fA(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)n.push({headers:Cq({"Content-Disposition":`form-data; name="${t}"`}),body:fa(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",i=Cq();i.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),i.set("Content-Type",e.type||"application/octet-stream"),n.push({headers:i,body:e})}t.multipartBody={parts:n}}var fl=o(6565),fc=o(7277);let fd=[],fg=!1,fu=new Map;function fh(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function fm(){if(!process)return;let e=fh("HTTPS_PROXY"),t=fh("ALL_PROXY"),r=fh("HTTP_PROXY");return e||t||r}function fp(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function fC(e,t,r){if(e.agent)return;let n="https:"!==new URL(e.url).protocol;e.tlsSettings&&C8.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),n?(t.httpProxyAgent||(t.httpProxyAgent=new fc.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new fl.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let ff="redirectPolicy",fI=["GET","HEAD"];async function fE(e,t,r,n,i=0){let{request:s,status:o,headers:a}=t,A=a.get("location");if(A&&(300===o||301===o&&fI.includes(s.method)||302===o&&fI.includes(s.method)||303===o&&"POST"===s.method||307===o)&&i<r){let a=new URL(A,s.url);if(!n){let e=new URL(s.url);if(a.origin!==e.origin)return C8.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`),t}s.url=a.toString(),303===o&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let l=await e(s);return fE(e,l,r,n,i+1)}return t}let fy=n("stream");function fB(e){return e instanceof Blob}async function*fQ(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function fN(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=fQ.bind(e)),e.values||(e.values=fQ.bind(e)),fy.Readable.fromWeb(e)):e}function fb(e){return e instanceof Uint8Array?fy.Readable.from(Buffer.from(e)):fB(e)?fN(e.stream()):fN(e)}async function fS(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(fb);return fy.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function fw(e,t,r){let n=[fa(`--${r}`,"utf-8"),...t.flatMap(e=>[fa("\r\n","utf-8"),fa(function(e){let t="";for(let[r,n]of e)t+=`${r}: ${n}\r -`;return t}(e.headers),"utf-8"),fa("\r\n","utf-8"),e.body,fa(`\r ---${r}`,"utf-8")]),fa("--\r\n\r\n","utf-8")],i=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:fB(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(n);i&&e.headers.set("Content-Length",i),e.body=await fS(n)}let fD="multipartPolicy",fx=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),fR=CH({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function fk(e){return fR.createClientLogger(e)}fR.logger;let fv=fk("core-rest-pipeline"),fM="decompressResponsePolicy";async function fU(e){if(CQ&&CQ.versions){let t=`${mn.type()} ${mn.release()}; ${mn.arch()}`;CQ.versions.bun?e.set("Bun",`${CQ.versions.bun} (${t})`):CQ.versions.deno?e.set("Deno",`${CQ.versions.deno} (${t})`):CQ.versions.node&&e.set("Node",`${CQ.versions.node} (${t})`)}}async function fF(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await fU(t);let r=function(e){let t=[];for(let[r,n]of e){let e=n?`${r}/${n}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let fT="User-Agent",fL=Symbol("rawContent");function fO(e){return"function"==typeof e[fL]}class fH extends Error{constructor(e){super(e),this.name="AbortError"}}function fP(e,t){let r,{abortSignal:n,abortErrorMsg:i}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=t??{};return new Promise((t,s)=>{function o(){s(new fH(i??"The operation was aborted."))}function a(){n?.removeEventListener("abort",A)}function A(){r?.(),a(),o()}if(n?.aborted)return o();try{e(e=>{a(),t(e)},e=>{a(),s(e)})}catch(e){s(e)}n?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??"The delay was aborted."})}function fY(e){if(CK(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function fG(e){var t=e;if(!t&&!(t=fm()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let fz={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class fq{_contextMap;constructor(e){this._contextMap=e instanceof fq?new Map(e._contextMap):new Map}setValue(e,t){let r=new fq(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new fq(this);return t._contextMap.delete(e),t}}let fV=o(7301).w;function f_(){return fV.instrumenterImplementation||(fV.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new fq(e.parentContext);return e.span&&(t=t.setValue(fz.span,e.span)),e.namespace&&(t=t.setValue(fz.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),fV.instrumenterImplementation}function fJ(e){let{namespace:t,packageName:r,packageVersion:n}=e;function i(e,i,s){let o=f_().startSpan(e,{...s,packageName:r,packageVersion:n,tracingContext:i?.tracingOptions?.tracingContext}),a=o.tracingContext,A=o.span;return a.getValue(fz.namespace)||(a=a.setValue(fz.namespace,t)),A.setAttribute("az.namespace",a.getValue(fz.namespace)),{span:A,updatedOptions:Object.assign({},i,{tracingOptions:{...i?.tracingOptions,tracingContext:a}})}}async function s(e,t,r,n){let{span:s,updatedOptions:a}=i(e,t,n);try{let e=await o(a.tracingOptions.tracingContext,()=>r(a,s));return s.setStatus({status:"success"}),e}catch(e){throw s.setStatus({status:"error",error:e}),e}finally{s.end()}}function o(e,t,...r){return f_().withContext(e,t,...r)}return{startSpan:i,withSpan:s,withContext:o,parseTraceparentHeader:function(e){return f_().parseTraceparentHeader(e)},createRequestHeaders:function(e){return f_().createRequestHeaders(e)}}}function fW(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function n(){r&&(e.removeEventListener("abort",i),r=!1)}function i(){t.abort("reason"in e?e.reason:void 0),n()}return e.addEventListener("abort",i),{abortSignal:t.signal,cleanup:n}}function fj(){let e=new fr;return{async sendRequest(t){let{abortSignal:r,cleanup:n}=t.abortSignal?fW(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{n?.()}}}}fk("core-rest-pipeline retryPolicy");let fK={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function fX(e,t,r){async function n(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let i=await n();for(;null===i;)await fP(t),i=await n();return i}async function fZ(e,t){try{return[await t(e),void 0]}catch(e){if(C4(e)&&e.response)return[e.response,e];throw e}}async function f$(e){let{scopes:t,getAccessToken:r,request:n}=e,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(t,i);s&&e.request.headers.set("Authorization",`Bearer ${s.token}`)}function f0(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function f1(e,t){let{scopes:r}=e,n=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!n&&(e.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0)}function f2(e){let{credential:t,scopes:r,challengeCallbacks:n}=e,i=e.logger||fv,s={authorizeRequest:n?.authorizeRequest?.bind(n)??f$,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},o=t?function(e){let t,r=null,n=null,i={...fK,...void 0},s={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===n)return!0;if(s.isRefreshing)return!1;if(n.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now())return!0;return n.expiresOnTimestamp-i.refreshWindowInMs<Date.now()},get mustRefresh(){return null===n||n.expiresOnTimestamp-i.forcedRefreshWindowInMs<Date.now()}};function o(o,a){return s.isRefreshing||(r=fX(()=>e.getToken(o,a),i.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(e=>(r=null,n=e,t=a.tenantId,n)).catch(e=>{throw r=null,n=null,t=void 0,e})),r}return async(e,r)=>{let i=!!r.claims,a=t!==r.tenantId;return(i&&(n=null),a||i||s.mustRefresh)?o(e,r):(s.shouldRefresh&&o(e,r),n)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let n,a;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:i}),[n,a]=await fZ(e,t),f0(n)){let A=f3(n.headers.get("WWW-Authenticate"));if(A){let s;try{s=atob(A)}catch(e){return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),n}await f1({scopes:Array.isArray(r)?r:[r],response:n,request:e,getAccessToken:o,logger:i},s)&&([n,a]=await fZ(e,t))}else if(s.authorizeRequestOnChallenge&&(await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:n,getAccessToken:o,logger:i})&&([n,a]=await fZ(e,t)),f0(n))&&(A=f3(n.headers.get("WWW-Authenticate")??""))){let s;try{s=atob(A)}catch(e){return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),n}await f1({scopes:Array.isArray(r)?r:[r],response:n,request:e,getAccessToken:o,logger:i},s)&&([n,a]=await fZ(e,t))}}if(!a)return n;throw a}}}function f3(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,n=/(\w+)="([^"]*)"/g,i=[];for(;null!==(t=r.exec(e));){let e,r=t[1],s=t[2],o={};for(;null!==(e=n.exec(s));)o[e[1]]=e[2];i.push({scheme:r,params:o})}return i}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function f4(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let f5="DisableKeepAlivePolicy";function f8(e){return Buffer.from(e).toString("base64")}function f9(e){return fa(e,"base64")}let f6=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f7=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function Ie(e,t){var r,n;let i,s=e.parsedHeaders;if("HEAD"===e.request.method)return{...s,body:e.parsedBody};let o=t&&t.bodyMapper,a=!!o?.nullable,A=o?.type.name;if("Stream"===A)return{...s,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&o.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(s)for(let e of Object.keys(s))t[e]=s[e];return!a||e.parsedBody||s||0!==Object.getOwnPropertyNames(l).length?t:null}return i={...(n={body:e.parsedBody,headers:s,hasNullableType:a,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...n.body},n.hasNullableType&&0===Object.getOwnPropertyNames(i).length?n.shouldWrapBody?{body:null}:null:n.shouldWrapBody?{...n.headers,body:n.body}:i}class It{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let n=(e,n)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${n}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:i,InclusiveMaximum:s,InclusiveMinimum:o,MaxItems:a,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:g,UniqueItems:u}=e.constraints;if(void 0!==r&&t>=r&&n("ExclusiveMaximum",r),void 0!==i&&t<=i&&n("ExclusiveMinimum",i),void 0!==s&&t>s&&n("InclusiveMaximum",s),void 0!==o&&t<o&&n("InclusiveMinimum",o),void 0!==a&&t.length>a&&n("MaxItems",a),void 0!==A&&t.length>A&&n("MaxLength",A),void 0!==l&&t.length<l&&n("MinItems",l),void 0!==c&&t.length<c&&n("MinLength",c),void 0!==d&&t%d!=0&&n("MultipleOf",d),g){let e="string"==typeof g?new RegExp(g):g;("string"!=typeof t||null===t.match(e))&&n("Pattern",g)}u&&t.some((e,t,r)=>r.indexOf(e)!==t)&&n("UniqueItems",u)}}serialize(e,t,r,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"}},s={},o=e.type.name;r||(r=e.serializedName),null!==o.match(/^Sequence$/i)&&(s=[]),e.isConstant&&(t=e.defaultValue);let{required:a,nullable:A}=e;if(a&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(a&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!a&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==o.match(/^any$/i)?s=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?s=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&f7.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(o,r,t):null!==o.match(/^Enum$/i)?s=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?s=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var n;if(null!==e.match(/^TimeSpan$/i)&&(n=t,!f6.test(n)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(o,t,r):null!==o.match(/^ByteArray$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=f8(t)}return t}(r,t):null!==o.match(/^Base64Url$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(f8(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==o.match(/^Sequence$/i)?s=function(e,t,r,n,i,s){if(!Array.isArray(r))throw Error(`${n} must be of type Array.`);let o=t.type.element;if(!o||"object"!=typeof o)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${n}.`);"Composite"===o.type.name&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let a=[];for(let t=0;t<r.length;t++){let A=e.serialize(o,r[t],n,s);if(i&&o.xmlNamespace){let e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";"Composite"===o.type.name?a[t]={...A}:(a[t]={},a[t][s.xml.xmlCharKey]=A),a[t].$={[e]:o.xmlNamespace}}else a[t]=A}return a}(this,e,t,r,!!this.isXML,i):null!==o.match(/^Dictionary$/i)?s=function(e,t,r,n,i,s){if("object"!=typeof r)throw Error(`${n} must be of type object.`);let o=t.type.value;if(!o||"object"!=typeof o)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}.`);let a={};for(let t of Object.keys(r)){let A=e.serialize(o,r[t],n,s);a[t]=Io(o,A,i,s)}return i&&t.xmlNamespace?(a.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},a):a}(this,e,t,r,!!this.isXML,i):null!==o.match(/^Composite$/i)&&(s=function(e,t,r,n,i,s){if(IA(e,t)&&(t=Ia(e,t,r,"clientName")),null!=r){let o={},a=Is(e,t,n);for(let A of Object.keys(a)){let l,c=a[A];if(c.readOnly)continue;let d=o;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=In(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(i&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let o=""!==c.serializedName?n+"."+c.serializedName:n,a=r[A],g=IA(e,t);g&&g.clientName===A&&null==a&&(a=t.serializedName);let u=e.serialize(c,a,o,s);if(void 0!==u&&null!=l){let e=Io(c,u,i,s);i&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=u):i&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let n=t.type.additionalProperties;if(!n&&t.type.className){let n=Ii(e,t,r);return n?.type.additionalProperties}return n}(e,t,n);if(A){let t=Object.keys(a);for(let i of Object.keys(r))t.every(e=>e!==i)&&Object.defineProperty(o,i,{value:e.serialize(A,r[i],n+'["'+i+'"]',s),enumerable:!0,configurable:!0,writable:!0})}return o}return r}(this,e,t,r,!!this.isXML,i)),s}deserialize(e,t,r,n={xml:{}}){let i,s={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"},ignoreUnknownProperties:n.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let o=e.type.name;if(r||(r=e.serializedName),null!==o.match(/^Composite$/i))i=function(e,t,r,n,i){let s=i.xml.xmlCharKey??"_";IA(e,t)&&(t=Ia(e,t,r,"serializedName"));let o=Is(e,t,n),a={},A=[];for(let l of Object.keys(o)){let c=o[l],d=In(o[l].serializedName);A.push(d[0]);let{serializedName:g,xmlName:u,xmlElementName:h}=c,m=n;""!==g&&void 0!==g&&(m=n+"."+g);let p=c.headerCollectionPrefix;if(p){let t={};for(let n of Object.keys(r))n.startsWith(p)&&(t[n.substring(p.length)]=e.deserialize(c.type.value,r[n],m,i)),A.push(n);a[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)a[l]=e.deserialize(c,r.$[u],m,i);else if(c.xmlIsMsText)void 0!==r[s]?a[l]=r[s]:"string"==typeof r&&(a[l]=r);else{let t=h||u||g;if(c.xmlIsWrapped){let t=r[u],n=t?.[h]??[];Object.defineProperty(a,l,{value:e.deserialize(c,n,m,i),enumerable:!0,configurable:!0,writable:!0}),A.push(u)}else{let n=r[t];a[l]=e.deserialize(c,n,m,i),A.push(t)}}else{let n,s,A=r,g=0;for(let e of d){if(!A)break;g++,A=A[e]}null===A&&g<d.length&&(A=void 0),n=A;let u=t.type.polymorphicDiscriminator;if(u&&l===u.clientName&&null==n&&(n=t.serializedName),Array.isArray(r[l])&&""===o[l].serializedName){n=r[l];let t=e.deserialize(c,n,m,i);for(let[e,r]of Object.entries(a))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);a=t}else(void 0!==n||void 0!==c.defaultValue)&&(s=e.deserialize(c,n,m,i),a[l]=s)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(o))if(In(o[t].serializedName)[0]===e)return!1;return!0};for(let s of Object.keys(r))if(t(s)){let t=e.deserialize(l,r[s],n+'["'+s+'"]',i);Object.defineProperty(a,s,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!i.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==a[e]||A.includes(e)||["$",i.xml.xmlCharKey].includes(e)||Object.defineProperty(a,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return a}(this,e,t,r,s);else{if(this.isXML){let e=s.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==o.match(/^Number$/i)?isNaN(i=parseFloat(t))&&(i=t):null!==o.match(/^Boolean$/i)?i="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?i=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?i=new Date(t):null!==o.match(/^UnixTime$/i)?i=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/i)?i=f9(t):null!==o.match(/^Base64Url$/i)?i=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return f9(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==o.match(/^Sequence$/i)?i=function(e,t,r,n,i){let s=t.type.element;if(!s||"object"!=typeof s)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===s.type.name&&s.type.className&&(s=e.modelMappers[s.type.className]??s);let t=[];for(let o=0;o<r.length;o++)t[o]=e.deserialize(s,r[o],`${n}[${o}]`,i);return t}return r}(this,e,t,r,s):null!==o.match(/^Dictionary$/i)&&(i=function(e,t,r,n,i){let s=t.type.value;if(!s||"object"!=typeof s)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let t={};for(let o of Object.keys(r))t[o]=e.deserialize(s,r[o],n,i);return t}return r}(this,e,t,r,s))}return e.isConstant&&(i=e.defaultValue),i}}function Ir(e={},t=!1){return new It(e,t)}function In(e){let t=[],r="";if(e)for(let n of e.split("."))"\\"===n.charAt(n.length-1)?r+=n.substr(0,n.length-1)+".":(r+=n,t.push(r),r="");return t}function Ii(e,t,r){let n=t.type.className;if(!n)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[n]}function Is(e,t,r){let n=t.type.modelProperties;if(!n){let i=Ii(e,t,r);if(!i)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(n=i?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(i)}" of type "${t.type.className}" for object "${r}".`)}return n}function Io(e,t,r,n){if(!r||!e.xmlNamespace)return t;let i={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=i,e}let s={};return s[n.xml.xmlCharKey]=t,s.$=i,s}function Ia(e,t,r,n){let i=IA(e,t);if(i){let s=i[n];if(s){"serializedName"===n&&(s=s.replace(/\\/gi,""));let i=r[s],o=t.type.uberParent??t.type.className;if("string"==typeof i&&o){let r=function(e,t,r){let n=[r];for(;n.length;){let r=n.shift(),i=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,i))return e[i];for(let[t,i]of Object.entries(e))t.startsWith(r+".")&&i.type.uberParent===r&&i.type.className&&n.push(i.type.className)}}(e.modelMappers.discriminators,i,o);r&&(t=r)}}}return t}function IA(e,t){return t.type.polymorphicDiscriminator||Il(e,t.type.uberParent)||Il(e,t.type.className)}function Il(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let Ic="Sequence",Id="Stream",Ig=o(5997).w;function Iu(e,t,r){let n,i=t.parameterPath,s=t.mapper;if("string"==typeof i&&(i=[i]),Array.isArray(i)){if(i.length>0)if(s.isConstant)n=s.defaultValue;else{let t=Ih(e,i);!t.propertyFound&&r&&(t=Ih(r,i));let o=!1;t.propertyFound||(o=s.required||"options"===i[0]&&2===i.length),n=o?s.defaultValue:t.propertyValue}}else for(let[t,o]of(s.required&&(n={}),Object.entries(i))){let i=Iu(e,{parameterPath:o,mapper:s.type.modelProperties[t]},r);void 0!==i&&(n||(n={}),Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}))}return n}function Ih(e,t){let r={propertyFound:!1},n=0;for(;n<t.length;++n){let r=t[n];if(e&&r in e)e=e[r];else break}return n===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let Im=Symbol.for("@azure/core-client original request");function Ip(e){if(Im in e)return Ip(e[Im]);let t=Ig.operationRequestMap.get(e);return t||(t={},Ig.operationRequestMap.set(e,t)),t}let IC=["application/json","text/json"],If=["application/xml","application/atom+xml"];async function II(e,t,r,n,i){let s,o,a,A,l,c=await IE(e,t,r,n,i);if(s=Ip(c.request),!(void 0===(o=s?.shouldDeserialize)||("boolean"==typeof o?o:o(c))))return c;let d=Ip(c.request),g=d?.operationSpec;if(!g||!g.responses)return c;let u=(A=Ip(c.request),(l=A?.operationSpec)&&(a=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),a),{error:h,shouldReturnResponse:m}=function(e,t,r,n){let i,s=200<=e.status&&e.status<300;if(0===(i=Object.keys(t.responses)).length||1===i.length&&"default"===i[0]?s:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let o=r??t.responses.default,a=new C3(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw a;let A=o?.bodyMapper,l=o?.headersMapper;try{if(e.parsedBody){let r,i=e.parsedBody;if(A){let e=i;if(t.isXML&&A.type.name===Ic){e=[];let t=A.xmlElementName;"object"==typeof i&&t&&(e=i[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",n)}let s=i.error||r||i;a.code=s.code,s.message&&(a.message=s.message),A&&(a.response.parsedBody=r)}e.headers&&l&&(a.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){a.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:a,shouldReturnResponse:!1}}(c,g,u,n);if(h)throw h;if(m)return c;if(u){if(u.bodyMapper){let e=c.parsedBody;g.isXML&&u.bodyMapper.type.name===Ic&&(e="object"==typeof e?e[u.bodyMapper.xmlElementName]:[]);try{c.parsedBody=g.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",n)}catch(e){throw new C3(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===g.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);u.headersMapper&&(c.parsedHeaders=g.serializer.deserialize(u.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function IE(e,t,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(e=>e.toLowerCase()):[];try{if(0===a.length||a.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(s);else if(a.some(e=>-1!==t.indexOf(e))){if(!i)throw Error("Parsing XML not supported.");r.parsedBody=await i(s,n.xml)}}catch(n){let e=`Error "${n}" occurred while parsing the response body - ${r.bodyAsText}.`,t=n.code||C3.PARSE_ERROR;throw new C3(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function Iy(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function IB(e={}){var t,r,n,i,s;let o,a,A,l,c,d,g=(t=e??{},a=CW.create(),t.agent&&a.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&a.addPolicy((n=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=n),t(e))})),a.addPolicy((i=t.proxyOptions,s=void 0,fg||fd.push(...(A=fh("NO_PROXY"),(fg=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=i?fp(i):(l=fm())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let n=new URL(e).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let e of t)"."===e[0]?n.endsWith(e)?i=!0:n.length===e.length-1&&n===e.slice(1)&&(i=!0):n===e&&(i=!0);return r?.set(n,i),i}(e.url,s?.customNoProxyList??fd,s?.customNoProxyList?void 0:fu)?fC(e,d,c):e.proxySettings&&fC(e,d,fp(e.proxySettings)),t(e))})),a.addPolicy({name:fM,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),a.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:n}=fW(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{n?.()}}}),a.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,n]of e.entries()){let e=t[r];Array.isArray(e)?e.push(n):t[r]=void 0!==e?[e,n]:[n]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,e.toString());else t.append(r,n.toString());return t.toString()}(e.formData):await fA(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[fD]}),a.addPolicy(function(e={}){let t=fF(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(fT)||e.headers.set(fT,await t),r(e))}}(t.userAgentOptions)),a.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),a.addPolicy((o={name:fD,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,n=e.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,o]=i;if(o&&r&&o!==r)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);if(r??=o){var a=r;if(a.length>70)throw Error(`Multipart boundary "${a}" exceeds maximum length of 70 characters`);if(Array.from(a).some(e=>!fx.has(e)))throw Error(`Multipart boundary "${a}" contains invalid characters`)}else r=`----AzSDKFormBoundary${CV()}`;return e.headers.set("Content-Type",`${s}; boundary=${r}`),await fw(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:fD,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;fO(t.body)&&(t.body=fO(r=t.body)?r[fL]():r)}return o.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),a.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||fo;return{name:"retryPolicy",async sendRequest(n,i){let s,o,a=-1;e:for(;;){a+=1,s=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${a}: Received a response from request`,n.requestId)}catch(e){if(r.error(`Retry ${a}: Received an error from request`,n.requestId),!C4(e))throw e;o=e,s=e.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new Cy;if(a>=(t.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(s)return s;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${a}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);let i=t.retry({retryCount:a,response:s,responseError:o});if(i.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=i;if(A)throw e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((n,i)=>{let s,o,a=()=>i(new Cy(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(s&&clearTimeout(s),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();s=setTimeout(()=>{A(),n(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}(l,void 0,{abortSignal:n.abortSignal});continue e}if(c){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${c}`),n.url=c;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=fs(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){var o,a,A,l,c;let d,g,u=!!(l=s)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=u&&e.ignoreSystemErrors,m=!!((c=i)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),p=m&&e.ignoreHttpStatusCodes;return i&&(Number.isFinite(fs(i))||!m)||p||h?{skipStrategy:!0}:!s||u||m?(d=(o={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,n),{retryAfterInMs:(g=Math.min(o.maxRetryDelayInMs,d))/2+(a=0,A=g/2,a=Math.ceil(a),Math.floor(Math.random()*((A=Math.floor(A))-a+1))+a)}):{errorToThrow:s}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),a.addPolicy(function(e={}){let t=fF(e.userAgentPrefix),r=new C1({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),n=function(){try{return fJ({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){fv.warning(`Error when creating the TracingClient: ${fY(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,i){if(!n)return i(e);let s=await t,o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":s,requestId:e.requestId};s&&(o["http.user_agent"]=s);let{span:a,tracingContext:A}=function(e,t,r){try{let{span:n,updatedOptions:i}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording())return void n.end();let s=e.createRequestHeaders(i.tracingOptions.tracingContext);for(let[e,r]of Object.entries(s))t.headers.set(e,r);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(e){fv.warning(`Skipping creating a tracing span due to an error: ${fY(e)}`);return}}(n,e,o)??{};if(!a||!A)return i(e);try{let t=await n.withContext(A,i,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){fv.warning(`Skipping tracing span processing due to an error: ${fY(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:CK(t)?t:void 0}),C4(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){fv.warning(`Skipping tracing span processing due to an error: ${fY(e)}`)}}(a,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:ff,async sendRequest(e,n){let i=await n(e);return fE(n,i,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let t=e.logger??C8.info,r=new C1({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,n){if(!t.enabled)return n(e);t(`Request: ${r.sanitize(e)}`);let i=await n(e);return t(`Response status code: ${i.status}`),t(`Headers: ${r.sanitize({headers:i.headers})}`),i}}}({logger:fv.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),a);return e.credentialOptions&&g.addPolicy(f2({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),g.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let n=Ip(e),i=n?.operationSpec,s=n?.operationArguments;return i&&s&&(function(e,t,r){if(r.headerParameters)for(let n of r.headerParameters){let i=Iu(t,n);if(null!=i||n.mapper.required){i=r.serializer.serialize(n.mapper,i,Iy(n));let t=n.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(i))e.headers.set(t+r,i[r]);else e.headers.set(n.mapper.serializedName||Iy(n),i)}}let n=t.options?.requestOptions?.customHeaders;if(n)for(let t of Object.keys(n))e.headers.set(t,n[t])}(e,s,i),function(e,t,r,n=function(){throw Error("XML serialization unsupported!")}){let i=t.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??"_"}},o=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=Iu(t,r.requestBody);let i=r.requestBody.mapper,{required:a,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:g,nullable:u}=i,h=i.type.name;try{if(void 0!==e.body&&null!==e.body||u&&null===e.body||a){let t=Iy(r.requestBody);e.body=r.serializer.serialize(i,e.body,t,s);let a=h===Id;if(r.isXML){let t=g?`xmlns:${g}`:"xmlns",r=function(e,t,r,n,i){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[i.xml.xmlCharKey]=n,r.$={[t]:e},r}return n}(d,t,h,e.body,s);h===Ic?e.body=n(function(e,t,r,n){if(Array.isArray(e)||(e=[e]),!r||!n)return{[t]:e};let i={[t]:e};return i.$={[r]:n},i}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:o}):a||(e.body=n(r,{rootName:l||A,xmlCharKey:o}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;a||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let n of(e.formData={},r.formDataParameters)){let i=Iu(t,n);if(null!=i){let t=n.mapper.serializedName||Iy(n);e.formData[t]=r.serializer.serialize(n.mapper,i,Iy(n),s)}}}(e,s,i,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),g.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??IC,r=e.expectedContentTypes?.xml??If,n=e.parseXML,i=e.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,i)=>II(t,r,await i(e),s,n)}}(e.deserializationOptions),{phase:"Deserialize"}),g}let IQ={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function IN(e,t){let r=e;for(let[e,n]of t)r=r.split(e).join(n);return r}let Ib=fk("core-client");class IS{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var r;let n,i;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&Ib.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(t||(t=fj()),t),this.pipeline=e.pipeline||(n=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(r=e),i=r.credential&&n?{credentialScopes:n,credential:r.credential}:void 0,IB({...r,credentialOptions:i})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let n=new C_({url:function(e,t,r,n){let i=function(e,t,r){let n=new Map;if(e.urlParameters?.length)for(let i of e.urlParameters){let s=Iu(t,i,r),o=Iy(i);s=e.serializer.serialize(i.mapper,s,o),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||o}}`,s)}return n}(t,r,n),s=!1,o=IN(e,i);if(t.path){let e=IN(t.path,i);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(o=e,s=!0):o=function(e,t){if(!t)return e;let r=new URL(e),n=r.pathname;n.endsWith("/")||(n=`${n}/`),t.startsWith("/")&&(t=t.substring(1));let i=t.indexOf("?");if(-1!==i){let e=t.substring(0,i),s=t.substring(i+1);n+=e,s&&(r.search=r.search?`${r.search}&${s}`:s)}else n+=t;return Object.assign(r,{pathname:n}),r.toString()}(o,e)}let{queryParams:a,sequenceParams:A}=function(e,t,r){let n=new Map,i=new Set;if(e.queryParameters?.length)for(let s of e.queryParameters){"Sequence"===s.mapper.type.name&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let o=Iu(t,s,r);if(null!=o||s.mapper.required){o=e.serializer.serialize(s.mapper,o,Iy(s));let t=s.collectionFormat?IQ[s.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(e=>null==e?"":e)),"Multi"===s.collectionFormat&&0===o.length)continue;Array.isArray(o)&&("SSV"===s.collectionFormat||"TSV"===s.collectionFormat)&&(o=o.join(t)),s.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&("CSV"===s.collectionFormat||"Pipes"===s.collectionFormat)&&(o=o.join(t)),n.set(s.mapper.serializedName||Iy(s),o)}}return{queryParams:n,sequenceParams:i}}(t,r,n);return function(e,t,r,n=!1){if(0===t.size)return e;let i=new URL(e),s=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,n]=r.split("=",2),i=t.get(e);i?Array.isArray(i)?i.push(n):t.set(e,[i,n]):t.set(e,n)}return t}(i.search);for(let[e,i]of t){let t=s.get(e);if(Array.isArray(t))if(Array.isArray(i)){t.push(...i);let r=new Set(t);s.set(e,Array.from(r))}else t.push(i);else t?(Array.isArray(i)?i.unshift(t):r.has(e)&&s.set(e,[t,i]),n||s.set(e,i)):s.set(e,i)}let o=[];for(let[e,t]of s)if("string"==typeof t)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)o.push(`${e}=${r}`);else o.push(`${e}=${t}`);return i.search=o.length?`?${o.join("&")}`:"",i.toString()}(o,a,A,s)}(r,t,e,this)});n.method=t.httpMethod;let i=Ip(n);i.operationSpec=t,i.operationArguments=e;let s=t.contentType||this._requestContentType;s&&t.requestBody&&n.headers.set("Content-Type",s);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(n.timeout=e.timeout),e.onUploadProgress&&(n.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(n.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(i.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(n.allowInsecureConnection=!0)),o.abortSignal&&(n.abortSignal=o.abortSignal),o.tracingOptions&&(n.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(n.allowInsecureConnection=!0),void 0===n.streamResponseStatusCodes&&(n.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,n]of Object.entries(e.responses))n.bodyMapper&&n.bodyMapper.type.name===Id&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(n),r=Ie(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,n=Ie(r,t.responses[e.statusCode]||t.responses.default);e.details=n,o?.onResponse&&o.onResponse(r,n,e)}throw e}}}let Iw="authorization",ID=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},n=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(n){let t,i=(t=n.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),s=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),n=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===n&&(n="https://disk.azure.com//.default"),[n]}(e,i),o=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(i);if(!o)return!1;let a=await e.getAccessToken(s,{...r,tenantId:o});return!!a&&(e.request.headers.set(Iw,`${a.tokenType??"Bearer"} ${a.token}`),!0)}return!1},Ix=Symbol("Original PipelineRequest"),IR=Symbol.for("@azure/core-client original request"),Ik=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function Iv(e,t={}){let r=e[Ix],n=Cq(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=n,r;{let r=new C_({url:e.url,method:e.method,headers:n,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[IR]=t.originalRequest),r}}function IM(e,t){let r=t?.originalRequest??e,n={url:e.url,method:e.method,headers:IU(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(n,{get:(t,i,s)=>i===Ix?e:"clone"===i?()=>IM(Iv(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,i,s),set:(t,r,n,i)=>("keepAlive"===r&&(e.disableKeepAlive=!n),"string"==typeof r&&Ik.has(r)&&(e[r]=n),Reflect.set(t,r,n,i))}):n}function IU(e){return new IT(e.toJSON({preserveCase:!0}))}function IF(e){return e.toLowerCase()}class IT{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[IF(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[IF(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[IF(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[IF(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[IF(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new IT(e)}}let IL=Symbol("Original FullOperationResponse");function IO(e,t){let r=IM(e.request),n=IU(e.headers);return t?.createProxy?new Proxy(e,{get:(t,i,s)=>"headers"===i?n:"request"===i?r:i===IL?e:Reflect.get(t,i,s),set:(e,t,i,s)=>("headers"===t?n=i:"request"===t&&(r=i),Reflect.set(e,t,i,s))}):{...e,request:r,headers:n}}function IH(e){let t=e[IL],r=Cq(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:Iv(e.request)}}class IP extends IS{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===f5)||this.pipeline.addPolicy({name:f5,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:ff})}async sendOperationRequest(e,t){let r,n=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,i){r=e,n&&n(e,t,i)}};let i=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(i,"_response",{value:IO(r)}),i}}(Z=eh||(eh={}))[Z.ERROR=1]="ERROR",Z[Z.INFO=3]="INFO",Z[Z.OFF=0]="OFF",Z[Z.WARNING=2]="WARNING";let IY={log(e,t){},shouldLog:e=>!1};class IG{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,n="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(n.trim()&&(t.push(this._parseSegment(n.trim())),n=""),t.push({type:"deep-wildcard"}),r+=2):(n.trim()&&t.push(this._parseSegment(n.trim())),n="",r++):(n+=e[r],r++);return n.trim()&&t.push(this._parseSegment(n.trim())),t}_parseSegment(e){let t,r,n={type:"tag"},i=null,s=e,o=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(o&&(s=o[1]+o[3],o[2])){let e=o[2].slice(1,-1);e&&(i=e)}let a=s;if(s.includes("::")){let r=s.indexOf("::");if(t=s.substring(0,r).trim(),a=s.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(a.includes(":")){let e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),n=a.substring(e+1).trim();["first","last","odd","even"].includes(n)||/^nth\(\d+\)$/.test(n)?(r=t,A=n):r=a}else r=a;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(n.tag=r,t&&(n.namespace=t),i)if(i.includes("=")){let e=i.indexOf("=");n.attrName=i.substring(0,e).trim(),n.attrValue=i.substring(e+1).trim()}else n.attrName=i.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(n.position="nth",n.positionValue=parseInt(e[1],10)):n.position=A}return n}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class Iz{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class Iq{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Iz(this),this._keptAttrs=[]}push(e,t=null,r=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let i=this.path.length,s=this.siblingStacks[i];s||(s={counts:new Map,total:0},this.siblingStacks[i]=s);let o=r?`${r}:${e}`:e,a=s.counts.get(o)||0,A=s.total;s.counts.set(o,a+1),s.total++;let l={tag:e,position:A,counter:a};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==n?n.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let n=e[r];if("deep-wildcard"===n.type){if(--r<0)return!0;let n=e[r],i=!1;for(let e=t;e>=0;e--)if(this._matchSegment(n,this.path[e],e===this.path.length-1)){t=e-1,r--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(n,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let n=t.counter??0;if("first"===e.position&&0!==n)return!1;if("odd"===e.position&&n%2!=1)return!1;if("even"===e.position&&n%2!=0)return!1;else if("nth"===e.position&&n!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function IV(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function I_(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function IJ(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let IW=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",Ij=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",IK=(e,t,r="")=>{let n=e.replace(":",""),i=t.replace(":",""),s=`[${n}][${i}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${s}$`,r),qName:RegExp(`^${s}(?::${s})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},IX=IK(IW,IW+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),IZ=IK(Ij,Ij+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),I$=":A-Za-z_",I0=IK(I$,I$+"\\-\\.\\d"),I1=(e="1.0",t=!1)=>t?I0:"1.1"===e?IZ:IX,I2=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>I1(t,r).qName.test(e),I3=["name","ncName","qName","nmToken","nmTokens"],I4=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:n=2048}={})=>{if(!I3.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${I3.join(", ")}`);let i=I1(t,r)[e],s=new Map,o=e=>{let t=s.get(e);if(void 0!==t)return t;let r=i.test(e);return s.size<n&&s.set(e,r),r};return o.reset=()=>{s=new Map},o};function I5(e,t,r,n,i){return!r.sanitizeName||i(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:n.readOnly()})}function I8(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let n=t[r];if(Object.prototype.hasOwnProperty.call(e,n)&&":@"!==n)return n}}function I9(e,t,r,n,i){let s="";if(e&&!t.ignoreAttributes)for(let o in e){let a;if(!Object.prototype.hasOwnProperty.call(e,o))continue;let A=o.substr(t.attributeNamePrefix.length),l=r?A:I5(A,!0,t,n,i);!0===(a=r?e[o]:I6(a=t.attributeValueProcessor(o,e[o]),t))&&t.suppressBooleanAttributes?s+=` ${l}`:s+=` ${l}="${IJ(a)}"`}return s}function I6(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let n=t.entities[r];e=e.replace(n.regex,n.val)}return e}let I7={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function Ee(e){if(this.options=Object.assign({},I7,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new IG(t)):t instanceof IG&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Ei}this.processTextOrObjNode=Er,this.options.format?(this.indentate=En,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Et(e,t,r,n,i){return!r.sanitizeName||i(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:n.readOnly()})}function Er(e,t,r,n,i){let s=this.extractAttributes(e);if(n.push(t,s),this.checkStopNode(n)){let i=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);return n.pop(),this.buildObjectNode(i,t,s,r)}let o=this.j2x(e,r+1,n,i);return(n.pop(),"?"===t[0])?this.buildTextValNode("",t,o.attrStr,r,n):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,r,n):this.buildObjectNode(o.val,t,o.attrStr,r)}function En(e){return this.options.indentBy.repeat(e)}function Ei(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}Ee.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let n=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?n.push(new IG(r)):r instanceof IG&&n.push(r)}let i=I4("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===I8(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,n,i,s,o){let a="",A=!1;if(r.maxNestedTags&&i.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return I6(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],g=I8(d);if(void 0===g)continue;let u=g===r.textNodeName||g===r.cdataPropName||g===r.commentPropName||"?"===g[0]?g:I5(g,!1,r,i,o),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},n=!1;for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i.startsWith(t.attributeNamePrefix)?i.substr(t.attributeNamePrefix.length):i]=IJ(e[i]),n=!0);return n?r:null}(d[":@"],r);i.push(u,h);let m=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(i,s);if(u===r.textNodeName){let e=d[g];m||(e=I6(e=r.tagValueProcessor(u,e),r)),A&&(a+=n),a+=e,A=!1,i.pop();continue}if(u===r.cdataPropName){A&&(a+=n);let e=I_(d[g][0][r.textNodeName]);a+=`<![CDATA[${e}]]>`,A=!1,i.pop();continue}if(u===r.commentPropName){let e=IV(d[g][0][r.textNodeName]);a+=n+`<!--${e}-->`,A=!0,i.pop();continue}else if("?"===u[0]){let e=I9(d[":@"],r,m,i,o);a+=("?xml"===u?"":n)+`<${u}${e}?>`,A=!0,i.pop();continue}let p=n;""!==p&&(p+=r.indentBy);let C=I9(d[":@"],r,m,i,o),f=n+`<${u}${C}`;c=m?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let n="";for(let i=0;i<t.length;i++){let s=t[i],o=I8(s);if(o===r.textNodeName)n+=s[o];else if(o===r.cdataPropName)n+=s[o][0][r.textNodeName];else if(o===r.commentPropName)n+=s[o][0][r.textNodeName];else if(o&&"?"===o[0])continue;else if(o){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let i=e[n];!0===i&&t.suppressBooleanAttributes?r+=` ${n.substr(t.attributeNamePrefix.length)}`:r+=` ${n.substr(t.attributeNamePrefix.length)}="${IJ(i)}"`}return r}(s[":@"],r),i=e(s[o],r);i&&0!==i.length?n+=`<${o}${t}>${i}</${o}>`:n+=`<${o}${t}/>`}}return n}(d[g],r):e(d[g],r,p,i,s,o),-1!==r.unpairedTags.indexOf(u)?r.suppressUnpairedNode?a+=f+">":a+=f+"/>":(!c||0===c.length)&&r.suppressEmptyNode?a+=f+"/>":c&&c.endsWith(">")?a+=f+`>${c}${n}</${u}>`:(a+=f+">",c&&""!==n&&(c.includes("/>")||c.includes("</"))?a+=n+r.indentBy+c+n:a+=c,a+=`</${u}>`),A=!0,i.pop()}return a}(e,t,r,new Iq,n,i)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new Iq,r=I4("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},Ee.prototype.j2x=function(e,t,r,n){let i="",s="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:Et(A,!1,this.options,r,n);if(void 0===e[A])this.isAttribute(A)&&(s+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?s+="":"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)s+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,o)){let t=Et(c,!0,this.options,r,n);i+=this.buildAttrPairStr(t,""+e[A],a)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);s+=this.replaceEntitiesValue(t)}else{r.push(l);let n=this.checkStopNode(r);if(r.pop(),n){let r=""+e[A];""===r?s+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:s+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else s+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let i=e[A].length,o="",a="";for(let c=0;c<i;c++){let i=e[A][c];if(void 0===i);else if(null===i)"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof i)if(this.options.oneListGroup){r.push(l);let e=this.j2x(i,t+1,r,n);r.pop(),o+=e.val,this.options.attributesGroupName&&i.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else o+=this.processTextOrObjNode(i,l,t,r,n);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,i);o+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+i;""===e?o+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:o+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(i,l,"",t,r)}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,a,t)),s+=o}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),s=t.length;for(let o=0;o<s;o++){let s=Et(t[o],!0,this.options,r,n);i+=this.buildAttrPairStr(s,""+e[A][t[o]],a)}}else s+=this.processTextOrObjNode(e[A],l,t,r,n)}return{attrStr:i,val:s}},Ee.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+IJ(t)+'"'},Ee.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let n=e[this.options.attributesGroupName];for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=IJ(n[e]),r=!0)}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let i=this.isAttribute(n);i&&(t[i]=IJ(e[n]),r=!0)}return r?t:null},Ee.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let n=e[r];if(r===this.options.textNodeName)t+=n;else if(Array.isArray(n)){for(let e of n)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let n=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);""===n?t+=`<${r}${i}/>`:t+=`<${r}${i}>${n}</${r}>`}}else if("object"==typeof n&&null!==n){let e=this.buildRawContent(n),i=this.buildAttributesForStopNode(n);""===e?t+=`<${r}${i}/>`:t+=`<${r}${i}>${e}</${r}>`}else t+=`<${r}>${n}</${r}>`}return t},Ee.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let n=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,i=r[e];!0===i&&this.options.suppressBooleanAttributes?t+=" "+n:t+=" "+n+'="'+IJ(i)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let n=this.isAttribute(r);if(n){let i=e[r];!0===i&&this.options.suppressBooleanAttributes?t+=" "+n:t+=" "+n+'="'+IJ(i)+'"'}}return t},Ee.prototype.buildObjectNode=function(e,t,r,n){if(""===e)if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;let i="</"+t+this.tagEndChar,s="";return("?"===t[0]&&(s="?",i=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(n)+"<"+t+r+s+">"+e+i:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===s.length?this.indentate(n)+`<!--${IV(e)}-->`+this.newLine:this.indentate(n)+"<"+t+r+s+this.tagEndChar+e+this.indentate(n)+i}},Ee.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},Ee.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},Ee.prototype.buildTextValNode=function(e,t,r,n,i){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=I_(e);return this.indentate(n)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=IV(e);return this.indentate(n)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;let i=this.options.tagValueProcessor(t,e);return""===(i=this.replaceEntitiesValue(i))?this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+r+">"+i+"</"+t+this.tagEndChar}},Ee.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let Es=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Eo=RegExp("^"+("["+Es+"]["+Es)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function Ea(e,t){let r=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let s=n.length;for(let e=0;e<s;e++)i.push(n[e]);r.push(i),n=t.exec(e)}return r}let EA=function(e){return null!=Eo.exec(e)},El=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],Ec=["__proto__","constructor","prototype"],Ed={allowBooleanAttributes:!1,unpairedTags:[]};function Eg(e,t){t=Object.assign({},Ed,t);let r=[],n=!1,i=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let s=0;s<e.length;s++)if("<"===e[s]&&"?"===e[s+1]){if(s+=2,(s=Eh(e,s)).err)return s}else if("<"===e[s]){let o=s;if("!"===e[++s]){s=Em(e,s);continue}{let a=!1;"/"===e[s]&&(a=!0,s++);let A="";for(;s<e.length&&">"!==e[s]&&" "!==e[s]&&" "!==e[s]&&"\n"!==e[s]&&"\r"!==e[s];s++)A+=e[s];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),s--),!EA(A))return Ef("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",EI(e,s));let l=function(e,t){let r="",n="",i=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===n?n=e[t]:n!==e[t]||(n="");else if(">"===e[t]&&""===n){i=!0;break}r+=e[t]}return""===n&&{value:r,index:t,tagClosed:i}}(e,s);if(!1===l)return Ef("InvalidAttr","Attributes for '"+A+"' have open quote.",EI(e,s));let c=l.value;if(s=l.index,"/"===c[c.length-1]){let r=s-c.length,i=EC(c=c.substring(0,c.length-1),t);if(!0!==i)return Ef(i.err.code,i.err.msg,EI(e,r+i.err.line));n=!0}else if(a)if(!l.tagClosed)return Ef("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",EI(e,s));else{if(c.trim().length>0)return Ef("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",EI(e,o));if(0===r.length)return Ef("InvalidTag","Closing tag '"+A+"' has not been opened.",EI(e,o));let t=r.pop();if(A!==t.tagName){let r=EI(e,t.tagStartPos);return Ef("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",EI(e,o))}0==r.length&&(i=!0)}else{let a=EC(c,t);if(!0!==a)return Ef(a.err.code,a.err.msg,EI(e,s-c.length+a.err.line));if(!0===i)return Ef("InvalidXml","Multiple possible root nodes found.",EI(e,s));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:o}),n=!0}for(s++;s<e.length;s++)if("<"===e[s])if("!"===e[s+1]){s=Em(e,++s);continue}else if("?"===e[s+1]){if((s=Eh(e,++s)).err)return s}else break;else if("&"===e[s]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let n=/\d/;for("x"===e[r]&&(r++,n=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(n))break}return -1}let n=0;for(;t<e.length;t++,n++)if(!e[t].match(/\w/)||!(n<20)){if(";"===e[t])break;return -1}return t}(e,s);if(-1==t)return Ef("InvalidChar","char '&' is not expected.",EI(e,s));s=t}else if(!0===i&&!Eu(e[s]))return Ef("InvalidXml","Extra text at the end",EI(e,s));"<"===e[s]&&s--}}else{if(Eu(e[s]))continue;return Ef("InvalidChar","char '"+e[s]+"' is not expected.",EI(e,s))}return n?1==r.length?Ef("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",EI(e,r[0].tagStartPos)):!(r.length>0)||Ef("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):Ef("InvalidXml","Start tag expected.",1)}function Eu(e){return" "===e||" "===e||"\n"===e||"\r"===e}function Eh(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let n=e.substr(r,t-r);if(t>5&&"xml"===n)return Ef("InvalidXml","XML declaration allowed only at the start of the document.",EI(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function Em(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let Ep=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function EC(e,t){let r=Ea(e,Ep),n={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return Ef("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",EE(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return Ef("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",EE(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return Ef("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",EE(r[e]));let i=r[e][2];if(!EA(i))return Ef("InvalidAttr","Attribute '"+i+"' is an invalid name.",EE(r[e]));if(Object.prototype.hasOwnProperty.call(n,i))return Ef("InvalidAttr","Attribute '"+i+"' is repeated.",EE(r[e]));n[i]=1}return!0}function Ef(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function EI(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function EE(e){return e.startIndex+e[1].length}let Ey=e=>El.includes(e)?"__"+e:e,EB={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Ey},EQ=function(e){let t=Object.assign({},EB,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(El.some(e=>r===e.toLowerCase())||Ec.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=Ey),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};r="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class EN{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][r]={startIndex:t})}static getMetaDataSymbol(){return r}}class Eb{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),n=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let i=1,s=!1,o=!1;for(;t<e.length;t++)if("<"!==e[t]||o)if(">"===e[t]){if(o?"-"===e[t-1]&&"-"===e[t-2]&&(o=!1,i--):i--,0===i)break}else"["===e[t]?s=!0:e[t];else{if(s&&Ew(e,"!ENTITY",t)){let i,s;if(t+=7,[i,s,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===s.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&n>=this.options.maxEntityCount)throw Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[i]=s,n++}}else if(s&&Ew(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(s&&Ew(e,"!ATTLIST",t))t+=8;else if(s&&Ew(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(Ew(e,"!--",t))o=!0;else throw Error("Invalid DOCTYPE");i++}if(0!==i)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=ES(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let n=e.substring(r,t);if(ED(n,{xmlVersion:this.xmlVersion}),t=ES(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let i="";if([t,i]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&i.length>this.options.maxEntitySize)throw Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[n,i,--t]}readNotationExp(e,t){let r=t=ES(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);this.suppressValidationErr||ED(n,{xmlVersion:this.xmlVersion}),t=ES(e,t);let i=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==i&&"PUBLIC"!==i)throw Error(`Expected SYSTEM or PUBLIC, found "${i}"`);t+=i.length,t=ES(e,t);let s=null,o=null;if("PUBLIC"===i)[t,s]=this.readIdentifierVal(e,t,"publicIdentifier"),t=ES(e,t),('"'===e[t]||"'"===e[t])&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===i&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!o))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:n,publicIdentifier:s,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let n="",i=e[t];if('"'!==i&&"'"!==i)throw Error(`Expected quoted string, found "${i}"`);let s=++t;for(;t<e.length&&e[t]!==i;)t++;if(n=e.substring(s,t),e[t]!==i)throw Error(`Unterminated ${r} value`);return[++t,n]}readElementExp(e,t){let r=t=ES(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);if(!this.suppressValidationErr&&!I2(n,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${n}"`);t=ES(e,t);let i="";if("E"===e[t]&&Ew(e,"MPTY",t))t+=4;else if("A"===e[t]&&Ew(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(i=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:n,contentModel:i.trim(),index:t}}readAttlistExp(e,t){let r=t=ES(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);for(ED(n,{xmlVersion:this.xmlVersion}),r=t=ES(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!ED(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${i}"`);t=ES(e,t);let s="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(s="NOTATION",t+=8,t=ES(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let n=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let i=e.substring(n,t);if(!ED(i=i.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${i}"`);r.push(i),"|"===e[t]&&(t=ES(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,s+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(s+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(s.toUpperCase()))throw Error(`Invalid attribute type: "${s}"`)}t=ES(e,t);let o="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(o="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(o="#IMPLIED",t+=7):[t,o]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:n,attributeName:i,attributeType:s,defaultValue:o,index:t}}}let ES=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function Ew(e,t,r){for(let n=0;n<t.length;n++)if(t[n]!==e[r+n+1])return!1;return!0}function ED(e,t){if(I2(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let Ex=new Map,ER=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?ER[r-1632]=t:Ex.set(r,t)}let Ek=new Set([8722,65293,65123]),Ev=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let n=0;n<t;n++){let i=e.charCodeAt(n);if((!(i>=48)||!(i<=57))&&45!==i){if(i<1632){if(Ek.has(i)){r=n;break}continue}if(i>=55296&&i<=56319){if(n+1<t){let t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){let e=65536+(i-55296<<10)+(t-56320);if(Ex.has(e)){r=n;break}}}continue}if(255!==ER[i-1632]||Ek.has(i)){r=n;break}}}if(-1===r)return e;let n=[];r>0&&n.push(e.slice(0,r));for(let i=r;i<t;i++){let r=e.charCodeAt(i);if(r>=48&&r<=57||45===r){n.push(e[i]);continue}if(r<1632){n.push(Ek.has(r)?"-":e[i]);continue}if(r>=55296&&r<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),s=Ex.get(e);if(void 0!==s){n.push(String.fromCharCode(s+48)),i++;continue}}}n.push(e[i]);continue}if(Ek.has(r)){n.push("-");continue}let s=ER[r-1632];n.push(255!==s?String.fromCharCode(s+48):e[i])}return n.join("")},EM=/^[-+]?0x[a-fA-F0-9]+$/,EU=/^0b[01]+$/,EF=/^0o[0-7]+$/,ET=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,EL={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},EO=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function EH(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class EP{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],n=r?.tag;if(n&&"*"!==n){let r=`${t}:${n}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),n=`${t}:${r}`,i=this._byDepthAndTag.get(n);if(i){for(let t=0;t<i.length;t++)if(e.matches(i[t]))return i[t]}let s=this._wildcardByDepth.get(t);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++)if(e.matches(o[t]))return o[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let EY={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},EG={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Ez={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},Eq=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),EV=new Set("!?\\\\/[]$%{}^&*()<>|+");function E_(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(EV.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function EJ(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let n=r[e];if("string"==typeof n)t[e]=n;else if(n&&"object"==typeof n&&void 0!==n.val){let r=n.val;"string"==typeof r&&(t[e]=r)}}return t}let EW="external",Ej="base",EK=Object.freeze({allow:0,leave:1,remove:2,throw:3}),EX=new Set([9,10,13]);class EZ{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??EW)&&t!==EW?"all"===t?["all"]:t===Ej?[Ej]:Array.isArray(t)?t:[EW]:[EW]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=EJ(EG,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:EK.allow,nullLevel:EK.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:EK[e.onNCR]??EK.allow,nullLevel:Math.max(EK[e.nullNCR]??EK.remove,EK.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,n){if(!e)return!0;let i=e(t,r);if(i===Eq.BLOCK)return!1;if(i===Eq.THROW)throw Error(`[EntityDecoder] Registration of ${n} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))E_(t);if(!this._onExternalEntity){this._externalMap=EJ(e);return}let t=EJ(e),r=Object.create(null);for(let[e,n]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,n,"external")&&(r[e]=n);this._externalMap=r}addExternalEntity(e,t){E_(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=EJ(e);return}let t=EJ(e),r=Object.create(null);for(let[e,n]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,n,"input")&&(r[e]=n);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,n=0,i=0,s=this._maxTotalExpansions>0,o=this._maxExpandedLength>0,a=s||o;for(;i<r;){let A,l;if(38!==e.charCodeAt(i)){i++;continue}let c=i+1;for(;c<r&&59!==e.charCodeAt(c)&&c-i<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){i++;continue}let d=e.slice(i+1,c);if(0===d.length){i++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=EW);else if(this._leaveSet.has(d)){i++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){i++;continue}A=e,l=Ej}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){i++;continue}if(i>n&&t.push(e.slice(n,i)),t.push(A),i=n=c+1,a&&this._tierCounts(l)){if(s&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(o){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}n<r&&t.push(e.slice(n));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:EW}:e in this._externalMap?{value:this._externalMap[e],tier:EW}:e in this._baseMap?{value:this._baseMap[e],tier:Ej}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!EX.has(e)?EK.remove:-1}_applyNCRAction(e,t,r){switch(e){case EK.allow:return String.fromCodePoint(r);case EK.remove:return"";case EK.leave:return;case EK.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let n=this._classifyNCR(t);if(!this._numericAllowed&&n<EK.remove)return;let i=-1===n?this._ncrOnLevel:Math.max(this._ncrOnLevel,n);return this._applyNCRAction(i,e,t)}}let E$=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],E0=[...E$,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],E1=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],E2=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],E3=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],E4=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],E5=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],E8="[\"'\\s]*:",E9=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${E8}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${E8}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${E8}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${E8}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${E8}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${E8}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${E8}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${E8}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${E8}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${E8}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${E8}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${E8}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${E8}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],E6=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];E1.label="HTML",E2.label="XML",E3.label="SVG",E$.label="SQL",E0.label="SQL-STRICT",E4.label="SHELL",E5.label="REDOS",E9.label="NOSQL",E6.label="LOG",Object.freeze({HTML:E1,XML:E2,SVG:E3,SQL:E$,"SQL-STRICT":E0,SHELL:E4,REDOS:E5,NOSQL:E9,LOG:E6});class E7{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=yi,this.parseTextData=ye,this.resolveNameSpace=yt,this.buildAttributesMap=yn,this.isItStopNode=yA,this.replaceEntitiesValue=yo,this.readStopNodeData=yd,this.saveTextToParentTag=ya,this.addChild=ys,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n={...EG};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?n=this.options.htmlEntities:!0===this.options.htmlEntities&&(n={...Ez,...EY}),this.entityDecoder=new EZ({namedEntities:{...n,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:n}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(n)return n.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let n of t)if(n.pattern.test(e))return{context:r,id:n.id,description:n.description,pattern:n.pattern};return null}(e,t))return!0;return!1}(t,[E1,E2])?Eq.ALLOW:Eq.BLOCK})),this.matcher=new Iq,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new EP;let i=this.options.stopNodes;if(i&&i.length>0){for(let e=0;e<i.length;e++){let t=i[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new IG(t)):t instanceof IG&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function ye(e,t,r,n,i,s,o){let a=this.options;if(void 0!==e&&(a.trimValues&&!n&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,r));let n=a.jPath?r.toString():r,A=a.tagValueProcessor(t,e,n,i,s);return null==A?e:typeof A!=typeof e||A!==e?A:a.trimValues||e.trim()===e?yg(e,a.parseTagValue,a.numberParseOptions):e}}function yt(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let yr=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function yn(e,t,r,n=!1){let i=this.options;if(!0===n||!0!==i.ignoreAttributes&&"string"==typeof e){let n=Ea(e,yr),s=n.length,o={},a=Array(s),A=!1,l={};for(let e=0;e<s;e++){let t=this.resolveNameSpace(n[e][1]),s=n[e][4];if(t.length&&void 0!==s){let n=s;i.trimValues&&(n=n.trim()),n=this.replaceEntitiesValue(n,r,this.readonlyMatcher),a[e]=n,l[t]=n,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=i.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<s;e++){let t=this.resolveNameSpace(n[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=i.attributeNamePrefix+t;if(t.length)if(i.transformAttributeName&&(r=i.transformAttributeName(r)),r=yh(r,i),void 0!==n[e][4]){let n=a[e],s=i.attributeValueProcessor(t,n,c);null==s?o[r]=n:typeof s!=typeof n||s!==n?o[r]=s:o[r]=yg(n,i.parseAttributeValue,i.numberParseOptions),d=!0}else i.allowBooleanAttributes&&(o[r]=!0,d=!0)}if(!d)return;if(i.attributesGroupName&&!i.preserveOrder){let e={};return e[i.attributesGroupName]=o,e}return o}}let yi=function(e){e=e.replace(/\r\n?/g,"\n");let t=new EN("!xml"),r=t,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i=this.options,s=new Eb(i.processEntities),o=e.length;for(let a=0;a<o;a++)if("<"===e[a]){let A=e.charCodeAt(a+1);if(47===A){let t=yl(e,">",a,"Closing Tag is not closed."),s=e.substring(a+2,t).trim();if(i.removeNSPrefix){let e=s.indexOf(":");-1!==e&&(s=s.substr(e+1))}s=yu(i.transformTagName,s,"",i).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(s&&i.unpairedTagsSet.has(s))throw Error(`Unpaired tag can not be used as closing tag: </${s}>`);o&&i.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",a=t}else if(63===A){let t=yc(e,a,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),s.setXmlVersion(Number(e)||1)}if(i.ignoreDeclaration&&"?xml"===t.tagName||i.ignorePiTags);else{let e=new EN(t.tagName);e.add(i.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==i.ignoreAttributes&&(e[":@"]=o),this.addChild(r,e,this.readonlyMatcher,a)}a=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(a+2)&&45===e.charCodeAt(a+3)){let t=yl(e,"--\x3e",a+4,"Comment is not closed.");if(i.commentPropName){let s=e.substring(a+4,t-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(i.commentPropName,[{[i.textNodeName]:s}])}a=t}else if(33===A&&68===e.charCodeAt(a+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=s.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities),a=t.i}else if(33===A&&91===e.charCodeAt(a+2)){let t=yl(e,"]]>",a,"CDATA is not closed.")-2,s=e.substring(a+9,t);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let o=this.parseTextData(s,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==o&&(o=""),i.cdataPropName?r.add(i.cdataPropName,[{[i.textNodeName]:s}]):r.add(i.textNodeName,o),a=t+2}else{let s,A=yc(e,a,i.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,g=A.attrExpPresent,u=A.closeIndex;if({tagName:l,tagExp:d}=yu(i.transformTagName,l,d,i),i.strictReservedNames&&(l===i.commentPropName||l===i.cdataPropName||l===i.textNodeName||l===i.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let h=r;h&&i.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(m=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),g=l!==d);let p=null;s=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},s),l!==d&&g&&(p=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let n={};for(let e in r)e.startsWith(t.attributeNamePrefix)?n[e.substring(t.attributeNamePrefix.length)]=r[e]:n[e]=r[e]}(p,i),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let C=a;if(this.isCurrentNodeStopNode){let t="";if(m)a=A.closeIndex;else if(i.unpairedTagsSet.has(l))a=A.closeIndex;else{let r=this.readStopNodeData(e,c,u+1);if(!r)throw Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}let n=new EN(l);p&&(n[":@"]=p),n.add(i.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,n,this.readonlyMatcher,C)}else{if(m){({tagName:l,tagExp:d}=yu(i.transformTagName,l,d,i));let e=new EN(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(l)){let e=new EN(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let e=new EN(l);if(this.tagsNodeStack.length>i.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),r=e}n="",a=u}}}else n+=e[a];return t.child};function ys(e,t,r,n){this.options.captureMetaData||(n=void 0);let i=this.options.jPath?r.toString():r,s=this.options.updateTag(t.tagname,i,t[":@"]);!1===s||("string"==typeof s&&(t.tagname=s),e.addChild(t,n))}function yo(e,t,r){let n=this.options.processEntities;if(!n||!n.enabled)return e;if(n.allowedTags){let i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(t):n.allowedTags(t,i)))return e}if(n.tagFilter){let i=this.options.jPath?r.toString():r;if(!n.tagFilter(t,i))return e}return this.entityDecoder.decode(e)}function ya(e,t,r,n){return e&&(void 0===n&&(n=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,n))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function yA(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function yl(e,t,r,n){let i=e.indexOf(t,r);if(-1!==i)return i+t.length-1;throw Error(n)}function yc(e,t,r,n=">"){let i=function(e,t,r=">"){let n=0,i=e.length,s=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",A=t;for(let r=t;r<i;r++){let t=e.charCodeAt(r);if(n)t===n&&(n=0);else if(34===t||39===t)n=t;else if(t===s){if(-1===o)return{data:a+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===o)return{data:a+=e.substring(A,r),index:r}}else 9!==t||n||(a+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,n);if(!i)return;let s=i.data,o=i.index,a=s.search(/\s/),A=s,l=!0;-1!==a&&(A=s.substring(0,a),s=s.substring(a+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==i.data.substr(e+1))}return{tagName:A,tagExp:s,closeIndex:o,attrExpPresent:l,rawTagName:c}}function yd(e,t,r){let n=r,i=1,s=e.length;for(;r<s;r++)if("<"===e[r]){let s=e.charCodeAt(r+1);if(47===s){let s=function(e,t,r){let n=e.indexOf(">",t);if(-1===n)throw Error(r);return n}(e,r,`${t} is not closed`);if(e.substring(r+2,s).trim()===t&&0==--i)return{tagContent:e.substring(n,r),i:s};r=s}else if(63===s)r=yl(e,"?>",r+1,"StopNode is not closed.");else if(33===s&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=yl(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===s&&91===e.charCodeAt(r+2))r=yl(e,"]]>",r,"StopNode is not closed.")-2;else{let n=yc(e,r,!1);n&&((n&&n.tagName)===t&&"/"!==n.tagExp[n.tagExp.length-1]&&i++,r=n.closeIndex)}}}function yg(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},EL,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=Ev(r)))return 0;if(t.hex&&EM.test(r))return EH(r,16);{if(t.binary&&EU.test(r))return EH(r,2);if(t.octal&&EF.test(r))return EH(r,8);if(!isFinite(r)){var n,i=e,s=Number(r),o=t;switch(o.infinity.toLowerCase()){case"null":return null;case"infinity":return s;case"string":return s===1/0?"Infinity":"-Infinity";default:return i}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let n=t.match(EO);if(!n)return e;{let i=n[1]||"",s=-1===n[3].indexOf("e")?"E":"e",o=n[2],a=i?e[o.length+1]===s:e[o.length]===s;if(o.length>1&&a)return e;if(1===o.length&&(n[3].startsWith(`.${s}`)||n[3][0]===s))return Number(t);if(!(o.length>0))return Number(t);else if(r.leadingZeros&&!a)return Number(t=(n[1]||"")+n[3]);else return e}}(e,r,t);let a=ET.exec(r);if(!a)return e;{let i=a[1]||"",s=a[2],o=((n=a[3])&&-1!==n.indexOf(".")&&("."===(n=n.replace(/0+$/,""))?n="0":"."===n[0]?n="0"+n:"."===n[n.length-1]&&(n=n.substring(0,n.length-1))),n),A=i?"."===e[s.length+1]:"."===e[s.length];if(!t.leadingZeros&&(s.length>1||1===s.length&&!A))return e;{let n=Number(r),a=String(n);if(0===n)return n;if(-1!==a.search(/[eE]/))if(t.eNotation)return n;else return e;if(-1!==r.indexOf("."))if("0"===a)return n;else if(a===o)return n;else if(a===`${i}${o}`)return n;else return e;let A=s?o:r;return s?A===a||i+A===a?n:e:A===a||A===i+a?n:e}}}}(e,r)}return void 0!==e?e:""}function yu(e,t,r,n){if(e){let n=e(t);r===t&&(r=n),t=n}return{tagName:t=yh(t,n),tagExp:r}}function yh(e,t){if(Ec.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return El.includes(e)?t.onDangerousProperty(e):e}let ym=EN.getMetaDataSymbol();class yp{constructor(e){this.externalEntities={},this.options=EQ(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=Eg(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let n=new E7(this.options,this.externalEntities),i=n.parseXml(e);return this.options.preserveOrder||void 0===i?i:(r=this.options,function e(t,r,n,i){let s,o={};for(let a=0;a<t.length;a++){let A=t[a],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let n in e)n.startsWith(t)?r[n.substring(t.length)]=e[n]:r[n]=e[n];return r}(A[":@"]||{},r.attributeNamePrefix);n.push(l,e)}if(l===r.textNodeName)void 0===s?s=A[l]:s+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,n,i),s=function(e,t){let{textNodeName:r}=t,n=Object.keys(e).length;return 0===n||1===n&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,n){if(t){let i=Object.keys(t),s=i.length;for(let o=0;o<s;o++){let s=i[o],a=s.startsWith(n.attributeNamePrefix)?s.substring(n.attributeNamePrefix.length):s,A=n.jPath?r.toString()+"."+a:r;n.isArray(s,A,!0,!0)?e[s]=[t[s]]:e[s]=t[s]}}}(t,A[":@"],i,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[ym]&&"object"==typeof t&&null!==t&&(t[ym]=A[ym]),void 0!==o[l]&&Object.prototype.hasOwnProperty.call(o,l))Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(t);else{let e=r.jPath?i.toString():i;r.isArray(l,e,s)?o[l]=[t]:o[l]=t}void 0!==l&&l!==r.textNodeName&&n.pop()}}return"string"==typeof s?s.length>0&&(o[r.textNodeName]=s):void 0!==s&&(o[r.textNodeName]=s),o}(i,r,n.matcher,n.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return EN.getMetaDataSymbol()}}function yC(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function yf(e,t={}){let r=function(e={}){return{...yC(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),n=new Ee(r),i={[r.rootNodeName]:e},s=n.build(i);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${s}`.replace(/\n/g,"")}async function yI(e,t={}){if(!e)throw Error("Document is empty");let r=Eg(e);if(!0!==r)throw r;let n=new yp(function(e={}){return{...yC(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(n["?xml"]&&delete n["?xml"],!t.includeRoot){let e=Object.keys(n)[0];if(void 0!==e){let t=n[e];return"object"==typeof t?{...t}:t}}return n}let yE=fk("storage-blob");var yy=o(4434);class yB extends p9.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let n=0;for(let e of this.buffers)n+=e.byteLength;if(n<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let n=this.byteLength-this.pushedBytesLength,i=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,s=Math.min(i,n);if(s>e-r){let n=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,n)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=n,r=e;break}{let e=this.byteOffsetInCurrentBuffer+s;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),s===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=s,r+=s}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let yQ=o(4573).constants.MAX_LENGTH;class yN{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let n=Math.ceil(e/yQ);for(let t=0;t<n;t++){let r=t===n-1?e%yQ:yQ;0===r&&(r=yQ),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,n=0,i=0,s=0,o=0;for(;o<this._size;){let t=e[r],a=this.buffers[n],A=t.copy(a,i,s);o+=A,s+=A,i+=A,s===t.length&&(r++,s=0),i===a.length&&(n++,i=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(s))}getReadableStream(){return new yB(this.buffers,this.size)}}class yb{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new yy.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,n,i,s){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(i<=0)throw RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=n,this.concurrency=i,this.encoding=s}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new yN(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let yS=n("node:module");var yw=o(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(i=(0,yS.createRequire)(import.meta.url),s=(0,yw.fileURLToPath)(import.meta.url),a=(0,hX.dirname)(s));var yD=($="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==s&&($=$||s),function(e){var t,r,n,s,o,A,l,c,d,g,u=void 0!==(e=e||{})?e:{};u.ready=new Promise(function(e,t){n=e,s=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(u.ready,e)||Object.defineProperty(u.ready,e,{get:()=>z("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>z("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var h=Object.assign({},u),m=[],p="object"==typeof window,C="function"==typeof importScripts,f="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,I=!p&&!f&&!C;if(u.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var E="";if(f){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var y=i("fs"),B=i("path");E=C?B.dirname(E)+"/":a+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),m=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof W))throw e}),process.on("unhandledRejection",function(e){throw e}),u.inspect=function(){return"[Emscripten Module object]"}}else if(I){if("object"==typeof process&&"function"==typeof i||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?m=scriptArgs:"u">typeof arguments&&(m=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(p||C){if(C?E=self.location.href:"u">typeof document&&document.currentScript&&(E=document.currentScript.src),$&&(E=$),E=0!==E.indexOf("blob:")?E.substr(0,E.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var Q=u.print||console.log.bind(console),N=u.printErr||console.warn.bind(console);function b(e,t){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){z("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function S(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(u,h),h=null,Object.getOwnPropertyDescriptor(u,t="fetchSettings")&&z("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),u.arguments&&(m=u.arguments),b("arguments","arguments_"),u.thisProgram&&u.thisProgram,b("thisProgram","thisProgram"),u.quit&&u.quit,b("quit","quit_"),D(void 0===u.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.read,"Module.read option was removed (modify read_ in JS)"),D(void 0===u.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),D(void 0===u.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),D(void 0===u.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),D(void 0===u.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),b("read","read_"),b("readAsync","readAsync"),b("readBinary","readBinary"),b("setWindowTitle","setWindowTitle"),D(!I,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),u.wasmBinary&&u.wasmBinary,b("wasmBinary","wasmBinary"),u.noExitRuntime,b("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&z("no native wasm support detected");var w=!1;function D(e,t){e||z("Assertion failed"+(t?": "+t:""))}var x="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(e){A=e,u.HEAP8=new Int8Array(e),u.HEAP16=new Int16Array(e),u.HEAP32=new Int32Array(e),u.HEAPU8=l=new Uint8Array(e),u.HEAPU16=new Uint16Array(e),u.HEAPU32=c=new Uint32Array(e),u.HEAPF32=new Float32Array(e),u.HEAPF64=new Float64Array(e)}u.STACK_SIZE&&D(5242880===u.STACK_SIZE,"the stack size can no longer be determined at runtime");var k=u.INITIAL_MEMORY||0x1000000;function v(){if(!w){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&z("Stack overflow! Stack cookie has been overwritten at "+K(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+K(r)+" "+K(t)),0x63736d65!==c[0]&&z("Runtime error: The application has corrupted its heap memory area (address zero)!")}}b("INITIAL_MEMORY","INITIAL_MEMORY"),D(k>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+k+"! (STACK_SIZE=5242880)"),D("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),D(!u.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),D(0x1000000==k,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var M=new Int16Array(1),U=new Int8Array(M.buffer);if(M[0]=25459,115!==U[0]||99!==U[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var F=[],T=[],L=[],O=!1;D(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var H=0,P=null,Y=null,G={};function z(e){u.onAbort&&u.onAbort(e),N(e="Aborted("+e+")"),w=!0;var t=new WebAssembly.RuntimeError(e);throw s(t),t}var q={error:function(){z("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){q.error()},createDataFile:function(){q.error()},createPreloadedFile:function(){q.error()},createLazyFile:function(){q.error()},open:function(){q.error()},mkdev:function(){q.error()},registerDevice:function(){q.error()},analyzePath:function(){q.error()},loadFilesFromDB:function(){q.error()},ErrnoError:function(){q.error()}};function V(e){return e.startsWith("file://")}function _(e,t){return function(){var r=t;return t||(r=u.asm),D(O,"native function `"+e+"` called before runtime initialization"),r[e]||D(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}u.FS_createDataFile=q.createDataFile,u.FS_createPreloadedFile=q.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=u.locateFile?u.locateFile(r,E):E+r);var J="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMFBgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYACgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwkcECC38AQZyRwQILfwBBsJHBAgt/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XC8vQEMUO96dltNQ92sbcU7T8rbTv9hSj2oMmL7GmTLJpAl+mhJaEQgd9LnWPNhtaypNX/LoG06qk7Nxn5FaLuxdtpe7RZkNLeRKhw86uaL+oWthK+56gT8YlU9GlzvhedaQqWJD+MK4b29g7Wcfjt/e8obJs9ytHmcMqKTKnc1YqQlOgB5e7pkQ9V40YX5BSlXUuBC1vWKL7CqWfcz8As0iL3BZGD8hDJvStxU2vV1vrGtRMeJ+fq4VlX9cmz8e6NuQmXhP/D0pYmyJzDDckvonTW/o5B+xO56zQYWdXtF9ULanoUmd8rzpSWVTnT9hIF8Qg3dJ/ELh5u6tGjC9Iqco60s+5H4BZpEXW4qbXq611Da9rk+djXRtyJPDNtztMqPNdefiH87zGjCyq8ydspAtiVSPGF6RUZR3euJhH/EXWnKcxrXc0tbjjoxyyvx9BaavalYeP17EH1FEO2d+PoLRVKIfs70dQ2ioAQYCQwQILnAEgS1AAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function W(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function j(e){for(;e.length>0;)e.shift()(u)}function K(e){return"0x"+e.toString(16).padStart(8,"0")}function X(e){X.shown||(X.shown={}),X.shown[e]||(X.shown[e]=1,f&&(e="warning: "+e),N(e))}var Z=[null,[],[]],ee={abort:function(){z("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(D((e>>>=0)>t),e>0x80000000)return N("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var n=1;n<=4;n*=2){var i=t*(1+.2/n);i=Math.min(i,e+0x6000000);var s=Math.min(0x80000000,r(Math.max(e,i),65536));if(function(e){try{return o.grow(e-A.byteLength+65535>>>16),R(o.buffer),1}catch(t){N("emscripten_realloc_buffer: Attempted to grow heap from "+A.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(s))return!0}return N("Failed to grow the heap from "+t+" bytes to "+s+" bytes, not enough memory!"),!1},fd_close:function(e){z("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,n,i){return 70},fd_write:function(e,t,r,n){for(var i=0,s=0;s<r;s++){var o=c[t>>2],a=c[t+4>>2];t+=8;for(var A=0;A<a;A++)!function(e,t){var r=Z[e];D(r),0===t||10===t?((1===e?Q:N)(function(e,t){for(var r=t+void 0,n=t;e[n]&&!(n>=r);)++n;if(n-t>16&&e.buffer&&x)return x.decode(e.subarray(t,n));for(var i="";t<n;){var s=e[t++];if(!(128&s)){i+=String.fromCharCode(s);continue}var o=63&e[t++];if((224&s)==192){i+=String.fromCharCode((31&s)<<6|o);continue}var a=63&e[t++];if((240&s)==224?s=(15&s)<<12|o<<6|a:((248&s)!=240&&X("Invalid UTF-8 leading byte "+K(s)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),s=(7&s)<<18|o<<12|a<<6|63&e[t++]),s<65536)i+=String.fromCharCode(s);else{var A=s-65536;i+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return i}(r,0)),r.length=0):r.push(t)}(e,l[o+A]);i+=a}return c[n>>2]=i,0}};!function(){var e,t,r={env:ee,wasi_snapshot_preview1:ee};function n(e,t){u.asm=e.exports,D(o=u.asm.memory,"memory not found in wasm exports"),R(o.buffer),D(u.asm.__indirect_function_table,"table not found in wasm exports"),r=u.asm.__wasm_call_ctors,T.unshift(r);var r,n="wasm-instantiate";if(H--,u.monitorRunDependencies&&u.monitorRunDependencies(H),n?(D(G[n]),delete G[n]):N("warning: run dependency removed without ID"),0==H&&(null!==P&&(clearInterval(P),P=null),Y)){var i=Y;Y=null,i()}}e="wasm-instantiate",H++,u.monitorRunDependencies&&u.monitorRunDependencies(H),e?(D(!G[e]),G[e]=1,null===P&&"u">typeof setInterval&&(P=setInterval(function(){if(w){clearInterval(P),P=null;return}var e=!1;for(var t in G)e||(e=!0,N("still waiting on run dependencies:")),N("dependency: "+t);e&&N("(end of list)")},1e4))):N("warning: run dependency added without ID");var i=u;if(u.instantiateWasm)try{return u.instantiateWasm(r,n)}catch(e){N("Module.instantiateWasm callback failed with error: "+e),s(e)}(t=function(e){D(u===i,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),i=null,n(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(J,"base64");for(var e=window.atob(J),t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){N("failed to asynchronously prepare wasm: "+e),V(d)&&N("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),z(e)})).catch(s)}(),u.___wasm_call_ctors=_("__wasm_call_ctors");var et=u._emscripten_bind_VoidPtr___destroy___0=_("emscripten_bind_VoidPtr___destroy___0"),er=u._emscripten_bind_Crc64Hash_Crc64Hash_0=_("emscripten_bind_Crc64Hash_Crc64Hash_0"),en=u._emscripten_bind_Crc64Hash_OnAppend_2=_("emscripten_bind_Crc64Hash_OnAppend_2"),ei=u._emscripten_bind_Crc64Hash_OnFinal_3=_("emscripten_bind_Crc64Hash_OnFinal_3"),es=u._emscripten_bind_Crc64Hash___destroy___0=_("emscripten_bind_Crc64Hash___destroy___0");u.___errno_location=_("__errno_location"),u._fflush=_("fflush"),u._malloc=_("malloc"),u._free=_("free");var eo=u._emscripten_stack_init=function(){return(eo=u._emscripten_stack_init=u.asm.emscripten_stack_init).apply(null,arguments)},ea=(u._emscripten_stack_get_free=function(){return(u._emscripten_stack_get_free=u.asm.emscripten_stack_get_free).apply(null,arguments)},u._emscripten_stack_get_base=function(){return(u._emscripten_stack_get_base=u.asm.emscripten_stack_get_base).apply(null,arguments)},u._emscripten_stack_get_end=function(){return(ea=u._emscripten_stack_get_end=u.asm.emscripten_stack_get_end).apply(null,arguments)});function eA(e){var t,r;if(e=e||m,!(H>0)){if(eo(),D((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,u.preRun)for("function"==typeof u.preRun&&(u.preRun=[u.preRun]);u.preRun.length;){r=u.preRun.shift(),F.unshift(r)}j(F),H>0||(u.setStatus?(u.setStatus("Running..."),setTimeout(function(){setTimeout(function(){u.setStatus("")},1),i()},1)):i(),v())}function i(){if(!g&&(g=!0,u.calledRun=!0,!w)){if(D(!O),O=!0,v(),j(T),n(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),D(!u._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),v(),u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;){var e;e=u.postRun.shift(),L.unshift(e)}j(L)}}}if(u.stackSave=_("stackSave"),u.stackRestore=_("stackRestore"),u.stackAlloc=_("stackAlloc"),u._emscripten_stack_get_current=function(){return(u._emscripten_stack_get_current=u.asm.emscripten_stack_get_current).apply(null,arguments)},u.dynCall_jiji=_("dynCall_jiji"),u.___start_em_js=5261488,u.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),z(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),X(t)}})}),Y=function e(){g||eA(),g||(Y=e)},u.preInit)for("function"==typeof u.preInit&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();function el(){}function ec(e){return(e||el).__cache__}function ed(e,t){var r=ec(t),n=r[e];return n||((n=Object.create((t||el).prototype)).ptr=e,r[e]=n)}function eg(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=er(),ec(eu)[this.ptr]=this}return eA(),el.prototype=Object.create(el.prototype),el.prototype.constructor=el,el.prototype.__class__=el,el.__cache__={},u.WrapperObject=el,u.getCache=ec,u.wrapPointer=ed,u.castObject=function(e,t){return ed(e.ptr,t)},u.NULL=ed(0),u.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ec(e.__class__)[e.ptr]},u.compare=function(e,t){return e.ptr===t.ptr},u.getPointer=function(e){return e.ptr},u.getClass=function(e){return e.__class__},eg.prototype=Object.create(el.prototype),eg.prototype.constructor=eg,eg.prototype.__class__=eg,eg.__cache__={},u.VoidPtr=eg,eg.prototype.__destroy__=eg.prototype.__destroy__=function(){et(this.ptr)},eu.prototype=Object.create(el.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},u.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),en(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var n=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),ei(n,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){es(this.ptr)},e.ready});class yx{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new yx.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=yD().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=yx.nativeInstance._malloc(t);yx.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),yx.nativeInstance._free(r)}final(e,t){let r=yx.nativeInstance._malloc(t);yx.nativeInstance.HEAPU8.set(e,r);let n=yx.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,n),yx.nativeInstance._free(r);let i=new Uint8Array(8);return i.set(yx.nativeInstance.HEAPU8.subarray(n,n+8)),yx.nativeInstance._free(n),i}}(ee=em||(em={}))[ee.StreamHeader=0]="StreamHeader",ee[ee.StreamFooter=1]="StreamFooter",ee[ee.SegmentHeader=2]="SegmentHeader",ee[ee.SegmentFooter=3]="SegmentFooter",ee[ee.SegmentContent=4]="SegmentContent",ee[ee.Completed=5]="Completed";class yR{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=em.StreamHeader,this.segmentCrc64=new yx,this.messageCrc64=new yx}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===em.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===em.SegmentHeader&&this.handlingSegmentHeader(),this.state===em.SegmentContent&&this.handlingSegmentContent(e),this.state===em.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===em.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=em.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=em.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=em.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new yx,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=em.StreamFooter:this.state=em.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=em.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function yk(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof p9&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new yU(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new yU(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await yM(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new p9.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),n=await new yU(t,r,{});return{body:n,encodedContentLength:n.messageLength()}}if(e instanceof ArrayBuffer){let r=p9.Readable.from(Buffer.from(e)),n=await new yU(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}if(e instanceof Buffer){let r=p9.Readable.from(e),n=await new yU(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}if(ArrayBuffer.isView(e)){let r=p9.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),n=await new yU(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function yv(e,t,r){let{done:n,value:i}=await e.read();n?t.close():r.sourceDataHandler(Buffer.from(i))}async function yM(e,t){let r,n=(e instanceof Blob?e.stream():e).getReader(),i=new Response(new ReadableStream({start(e){r=new yR(t=>{e.enqueue(t)},t)},pull(e){yv(n,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await i.blob(),encodedContentLength:r.messageLength}}class yU extends p9.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new yR(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new fH("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(et=ep||(ep={}))[et.StreamHeader=0]="StreamHeader",et[et.StreamFooter=1]="StreamFooter",et[et.SegmentHeader=2]="SegmentHeader",et[et.SegmentFooter=3]="SegmentFooter",et[et.SegmentContent=4]="SegmentContent";class yF{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=ep.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new yx,this.messageCrc64=new yx}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===ep.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===ep.SegmentHeader&&this.parseSegmentHeader(e),this.state===ep.SegmentContent&&this.parseSegmentContent(e),this.state===ep.SegmentFooter&&this.parseSegmentFooter(e);this.state===ep.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=ep.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=ep.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=ep.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=ep.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new yx,this.state=ep.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class yT extends p9.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new yF(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new fH("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class yL{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class yO extends yL{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class yH{create(e,t){return new yO(e,t)}}class yP extends yL{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class yY extends yP{constructor(e,t){super(e,t)}}class yG{create(e,t){throw Error("Method should be implemented in children classes.")}}class yz extends yG{create(e,t){return new yY(e,t)}}let yq="timeout",yV="Authorization",y_="Content-Encoding",yJ="Content-Language",yW="Content-Length",yj="Content-Md5",yK="Content-Type",yX="date",yZ="if-match",y$="if-modified-since",y0="if-none-match",y1="if-unmodified-since",y2="x-ms-",y3="Range",y4="x-ms-date",y5="x-ms-copy-source-error-code";function y8(e,t,r){let n=new URL(e),i=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,o=""===n.search?"?":n.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==i&&a.push(e)}return s&&a.push(`${i}=${s}`),n.search=a.length?`?${a.join("&")}`:"",n.toString()}function y9(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function y6(e){try{return new URL(e).pathname}catch(e){return}}function y7(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let n={};for(let e of r){let t=e.split("="),r=t[0],i=t[1];n[r]=i}return n}async function Be(e,t,r){return new Promise((n,i)=>{let s,o=()=>{void 0!==s&&clearTimeout(s),i(r)};s=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",o),n()},e),void 0!==t&&t.addEventListener("abort",o)})}let Bt=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),Br=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Bn=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function Bi(e,t){return!function(e,t){let r=[Bt,Br,Bn],n=0,i=0,s=0;for(;n<r.length;){if(n===r.length-1&&i!==s)return i>s;let o=i<e.length?r[n][e[i].charCodeAt(0)]:1,a=s<t.length?r[n][t[s].charCodeAt(0)]:1;if(1===o&&1===a)i=0,s=0,++n;else if(o===a)++i,++s;else if(0===o)++i;else{if(0!==a)return o<a;++s}}return!1}(e,t)?1:-1}class Bs extends yP{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(y4,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(yW,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,yJ),this.getHeaderValueToSign(e,y_),this.getHeaderValueToSign(e,yW),this.getHeaderValueToSign(e,yj),this.getHeaderValueToSign(e,yK),this.getHeaderValueToSign(e,yX),this.getHeaderValueToSign(e,y$),this.getHeaderValueToSign(e,yZ),this.getHeaderValueToSign(e,y0),this.getHeaderValueToSign(e,y1),this.getHeaderValueToSign(e,y3)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(yV,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==yW||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(y2));t.sort((e,t)=>Bi(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}getCanonicalizedResourceString(e){let t=y6(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let n=y7(e.url),i={};if(n){let e=[];for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)){let r=t.toLowerCase();i[r]=n[t],e.push(r)}for(let t of(e.sort(),e))r+=` -${t}:${decodeURIComponent(i[t])}`}return r}}class Bo extends yG{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new Bs(e,t,this)}computeHMACSHA256(e){return(0,mt.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let Ba=fk("storage-common");(er=eC||(eC={}))[er.EXPONENTIAL=0]="EXPONENTIAL",er[er.FIXED=1]="FIXED";let BA={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eC.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Bl=new fH("The operation was aborted.");class Bc extends yL{retryOptions;constructor(e,t,r=BA){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:BA.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):BA.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:BA.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:BA.maxRetryDelayInMs):BA.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:BA.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:BA.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let n,i=e.clone(),s=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;s||(i.url=y9(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=y8(i.url,yq,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(Ba.info(`RetryPolicy: =====> Try=${r} ${s?"Primary":"Secondary"}`),n=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,r,n))return n;t=t||!s&&404===n.status}catch(e){if(Ba.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(s,r,n,e))throw e}return await this.delay(s,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,n){if(t>=this.retryOptions.maxTries)return Ba.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(n){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e)return Ba.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||n){let t=r?r.status:n?n.statusCode:0;if(!e&&404===t)return Ba.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return Ba.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(y5);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag'))&&(Ba.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case eC.EXPONENTIAL:n=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case eC.FIXED:n=this.retryOptions.retryDelayInMs}else n=1e3*Math.random();return Ba.info(`RetryPolicy: Delay for ${n}ms`),Be(n,r,Bl)}}class Bd{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new Bc(e,t,this.retryOptions)}}let Bg={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eC.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Bu=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Bh=new fH("The operation was aborted.");class Bm{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,mt.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let Bp="12.33.0",BC="2026-06-06",Bf="snapshot",BI="versionid",BE=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],By=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],BB=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function BQ(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class BN{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function Bb(e,t={}){e||(e=new yz);let r=new BN([],t);return r._credential=e,r}function BS(e){if(e._credential)return e._credential;let t=new yz;for(let r of e.factories)if(f4(r.credential))t=r.credential;else if(Bw(r))return r;return t}function Bw(e){return e instanceof Bo||"StorageSharedKeyCredential"===e.constructor.name}function BD(e){return e instanceof yz||"AnonymousCredential"===e.constructor.name}function Bx(e){return f4(e.credential)}function BR(e){return e instanceof yH||"StorageBrowserPolicyFactory"===e.constructor.name}function Bk(e){return e instanceof Bd||"StorageRetryPolicyFactory"===e.constructor.name}function Bv(e){return"TelemetryPolicyFactory"===e.constructor.name}function BM(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(ef||(ef={})).AES256="AES256",(eI||(eI={})).Backup="backup",(en=eE||(eE={})).NeverExpire="NeverExpire",en.RelativeToCreation="RelativeToCreation",en.RelativeToNow="RelativeToNow",en.Absolute="Absolute",(ei=ey||(ey={})).AccountAlreadyExists="AccountAlreadyExists",ei.AccountBeingCreated="AccountBeingCreated",ei.AccountIsDisabled="AccountIsDisabled",ei.AuthenticationFailed="AuthenticationFailed",ei.AuthorizationFailure="AuthorizationFailure",ei.ConditionHeadersNotSupported="ConditionHeadersNotSupported",ei.ConditionNotMet="ConditionNotMet",ei.EmptyMetadataKey="EmptyMetadataKey",ei.InsufficientAccountPermissions="InsufficientAccountPermissions",ei.InternalError="InternalError",ei.InvalidAuthenticationInfo="InvalidAuthenticationInfo",ei.InvalidHeaderValue="InvalidHeaderValue",ei.InvalidHttpVerb="InvalidHttpVerb",ei.InvalidInput="InvalidInput",ei.InvalidMd5="InvalidMd5",ei.InvalidMetadata="InvalidMetadata",ei.InvalidQueryParameterValue="InvalidQueryParameterValue",ei.InvalidRange="InvalidRange",ei.InvalidResourceName="InvalidResourceName",ei.InvalidUri="InvalidUri",ei.InvalidXmlDocument="InvalidXmlDocument",ei.InvalidXmlNodeValue="InvalidXmlNodeValue",ei.Md5Mismatch="Md5Mismatch",ei.MetadataTooLarge="MetadataTooLarge",ei.MissingContentLengthHeader="MissingContentLengthHeader",ei.MissingRequiredQueryParameter="MissingRequiredQueryParameter",ei.MissingRequiredHeader="MissingRequiredHeader",ei.MissingRequiredXmlNode="MissingRequiredXmlNode",ei.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",ei.OperationTimedOut="OperationTimedOut",ei.OutOfRangeInput="OutOfRangeInput",ei.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",ei.RequestBodyTooLarge="RequestBodyTooLarge",ei.ResourceTypeMismatch="ResourceTypeMismatch",ei.RequestUrlFailedToParse="RequestUrlFailedToParse",ei.ResourceAlreadyExists="ResourceAlreadyExists",ei.ResourceNotFound="ResourceNotFound",ei.ServerBusy="ServerBusy",ei.UnsupportedHeader="UnsupportedHeader",ei.UnsupportedXmlNode="UnsupportedXmlNode",ei.UnsupportedQueryParameter="UnsupportedQueryParameter",ei.UnsupportedHttpVerb="UnsupportedHttpVerb",ei.AppendPositionConditionNotMet="AppendPositionConditionNotMet",ei.BlobAlreadyExists="BlobAlreadyExists",ei.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",ei.BlobNotFound="BlobNotFound",ei.BlobOverwritten="BlobOverwritten",ei.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",ei.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",ei.BlockCountExceedsLimit="BlockCountExceedsLimit",ei.BlockListTooLong="BlockListTooLong",ei.CannotChangeToLowerTier="CannotChangeToLowerTier",ei.CannotVerifyCopySource="CannotVerifyCopySource",ei.ContainerAlreadyExists="ContainerAlreadyExists",ei.ContainerBeingDeleted="ContainerBeingDeleted",ei.ContainerDisabled="ContainerDisabled",ei.ContainerNotFound="ContainerNotFound",ei.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",ei.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",ei.CopyIdMismatch="CopyIdMismatch",ei.FeatureVersionMismatch="FeatureVersionMismatch",ei.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",ei.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",ei.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",ei.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",ei.InvalidBlobOrBlock="InvalidBlobOrBlock",ei.InvalidBlobTier="InvalidBlobTier",ei.InvalidBlobType="InvalidBlobType",ei.InvalidBlockId="InvalidBlockId",ei.InvalidBlockList="InvalidBlockList",ei.InvalidOperation="InvalidOperation",ei.InvalidPageRange="InvalidPageRange",ei.InvalidSourceBlobType="InvalidSourceBlobType",ei.InvalidSourceBlobUrl="InvalidSourceBlobUrl",ei.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",ei.LeaseAlreadyPresent="LeaseAlreadyPresent",ei.LeaseAlreadyBroken="LeaseAlreadyBroken",ei.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",ei.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",ei.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",ei.LeaseIdMissing="LeaseIdMissing",ei.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",ei.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",ei.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",ei.LeaseLost="LeaseLost",ei.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",ei.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",ei.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",ei.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",ei.NoAuthenticationInformation="NoAuthenticationInformation",ei.NoPendingCopyOperation="NoPendingCopyOperation",ei.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",ei.PendingCopyOperation="PendingCopyOperation",ei.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",ei.PreviousSnapshotNotFound="PreviousSnapshotNotFound",ei.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",ei.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",ei.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",ei.SnapshotCountExceeded="SnapshotCountExceeded",ei.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",ei.SnapshotsPresent="SnapshotsPresent",ei.SourceConditionNotMet="SourceConditionNotMet",ei.SystemInUse="SystemInUse",ei.TargetConditionNotMet="TargetConditionNotMet",ei.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",ei.BlobBeingRehydrated="BlobBeingRehydrated",ei.BlobArchived="BlobArchived",ei.BlobNotArchived="BlobNotArchived",ei.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",ei.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",ei.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",ei.AuthorizationServiceMismatch="AuthorizationServiceMismatch",ei.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",ei.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let BU={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},BF={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},BT={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},BL={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},BO={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},BH={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},BP={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},BY={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},BG={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},Bz={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Bq={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},BV={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},B_={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},BJ={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},BW={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Bj={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},BK={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},BX={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},BZ={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},B$={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},B0={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},B1={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},B2={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},B3={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},B4={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},B5={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},B8={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},B9={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},B6={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},B7={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},Qe={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},Qt={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Qr={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},Qn={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},Qi={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},Qs={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Qo={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},Qa={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},QA={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Ql={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},Qc={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},Qd={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qg={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qu={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qh={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qm={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qp={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QC={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qf={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QI={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QE={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qy={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QB={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QQ={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QN={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qb={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qw={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QD={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qx={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qk={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qv={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QM={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QU={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QF={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QT={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QL={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QO={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QH={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QP={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QY={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QG={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qz={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},Qq={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QV={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q_={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QJ={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QW={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qj={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QK={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QX={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QZ={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q$={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q0={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q1={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q2={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q3={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q4={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q5={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q8={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q9={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},Q6={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q7={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},Ne={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nt={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nr={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nn={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ni={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ns={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},No={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Na={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NA={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nl={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nc={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nd={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},Ng={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nu={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Nh={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nm={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},Np={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NC={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nf={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NI={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NE={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ny={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NB={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NQ={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NN={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nb={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NS={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nw={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ND={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nx={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nk={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nv={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NM={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NU={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NF={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NL={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NO={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NH={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},NP={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NY={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},NG={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nz={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nq={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NV={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N_={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NJ={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NW={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nj={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NK={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NX={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NZ={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N$={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N0={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},N1={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N2={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N3={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N4={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N5={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N8={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N9={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N6={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N7={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},be={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bt={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},br={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bn={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bi={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bs={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bo={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},ba={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},bA={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bl={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bc={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bd={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bg={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},bu={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bh={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bm={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bp={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},bC={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bf={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bI={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bE={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},by={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},bB={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},bQ={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},bN={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bb={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bS={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},bw={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},bD={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},bx={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},bR={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bk={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},bv={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},bM={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},bU={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},bF={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bT={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},bL={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bO={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},bH={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},bP={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bY={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},bG={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bz={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},bq={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},bV={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},b_={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},bJ={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},bW={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bj={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bK={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bX={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bZ={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b$={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},b0={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},b1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b2={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},b3={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b4={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b5={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},b8={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b9={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},b6={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},b7={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},Se={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},St={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Sr={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},Sn={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},Si={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Ss={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},So={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Sa={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},SA={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},Sl={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},Sc={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Sd={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Sg={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Su={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},Sh={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Sm={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},Sp={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SC={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Sf={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},SI={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},SE={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},Sy={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},SB={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},SQ={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},SN={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Sb={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},SS={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Sw={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},SD={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},Sx={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},SR={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Sk={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Sv={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},SM={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},SU={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SF={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},ST={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},SL={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},SO={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},SH={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},SP={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},SY={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},SG={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Sz={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Sq={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},SV={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},S_={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SJ={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},SW={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Sj={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},SK={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},SX={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},SZ={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},S$={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},S0={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},S1={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},S2={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},S3={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},S4={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},S5={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},S8={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},S9={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},S6={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},S7={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},we={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},wt={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class wr{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},wi)}getProperties(e){return this.client.sendOperationRequest({options:e},ws)}getStatistics(e){return this.client.sendOperationRequest({options:e},wo)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},wa)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},wA)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},wl)}submitBatch(e,t,r,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:n},wc)}filterBlobs(e){return this.client.sendOperationRequest({options:e},wd)}}let wn=Ir(ev,!0),wi={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Qd},default:{bodyMapper:BP,headersMapper:Qg}},requestBody:{parameterPath:"blobServiceProperties",mapper:BU},queryParameters:[bN,bb,bS],urlParameters:[bQ],headerParameters:[by,bB,bw,bD],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wn},ws={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:BU,headersMapper:Qu},default:{bodyMapper:BP,headersMapper:Qh}},queryParameters:[bN,bb,bS],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn},wo={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:BY,headersMapper:Qm},default:{bodyMapper:BP,headersMapper:Qp}},queryParameters:[bN,bS,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn},wa={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Bz,headersMapper:QC},default:{bodyMapper:BP,headersMapper:Qf}},queryParameters:[bS,bR,bk,bv,bM,bU],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn},wA={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:BJ,headersMapper:QI},default:{bodyMapper:BP,headersMapper:QE}},requestBody:{parameterPath:"keyInfo",mapper:B_},queryParameters:[bN,bS,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[by,bB,bw,bD],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wn},wl={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Qy},default:{bodyMapper:BP,headersMapper:QB}},queryParameters:[bb,bS,bF],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn},wc={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:QQ},default:{bodyMapper:BP,headersMapper:QN}},requestBody:bT,queryParameters:[bS,bL],urlParameters:[bQ],headerParameters:[bB,bw,bD,bO,bH],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wn},wd={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:BW,headersMapper:Qb},default:{bodyMapper:BP,headersMapper:QS}},queryParameters:[bS,bv,bM,bP,bY],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn};class wg{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},wh)}getProperties(e){return this.client.sendOperationRequest({options:e},wm)}delete(e){return this.client.sendOperationRequest({options:e},wp)}setMetadata(e){return this.client.sendOperationRequest({options:e},wC)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},wf)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},wI)}restore(e){return this.client.sendOperationRequest({options:e},wE)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},wy)}submitBatch(e,t,r,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:n},wB)}filterBlobs(e){return this.client.sendOperationRequest({options:e},wQ)}acquireLease(e){return this.client.sendOperationRequest({options:e},wN)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wb)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wS)}breakLease(e){return this.client.sendOperationRequest({options:e},ww)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},wD)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},wx)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},wR)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},wk)}}let wu=Ir(ev,!0),wh={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Qw},default:{bodyMapper:BP,headersMapper:QD}},queryParameters:[bS,bG],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bq,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:wu},wm={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Qx},default:{bodyMapper:BP,headersMapper:QR}},queryParameters:[bS,bG],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV],isXML:!0,serializer:wu},wp={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:Qk},default:{bodyMapper:BP,headersMapper:Qv}},queryParameters:[bS,bG],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ],isXML:!0,serializer:wu},wC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QM},default:{bodyMapper:BP,headersMapper:QU}},queryParameters:[bS,bG,bW],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_],isXML:!0,serializer:wu},wf={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:QF},default:{bodyMapper:BP,headersMapper:QT}},queryParameters:[bS,bG,bj],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV],isXML:!0,serializer:wu},wI={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QL},default:{bodyMapper:BP,headersMapper:QO}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[bS,bG,bj],urlParameters:[bQ],headerParameters:[by,bB,bw,bD,bq,bV,b_,bJ],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wu},wE={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:QH},default:{bodyMapper:BP,headersMapper:QP}},queryParameters:[bS,bG,bK],urlParameters:[bQ],headerParameters:[bw,bD,bx,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:wu},wy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QY},default:{bodyMapper:BP,headersMapper:QG}},queryParameters:[bS,bG,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:wu},wB={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Qz},default:{bodyMapper:BP,headersMapper:Qq}},requestBody:bT,queryParameters:[bS,bL,bG],urlParameters:[bQ],headerParameters:[bB,bw,bD,bO,bH],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wu},wQ={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:BW,headersMapper:QV},default:{bodyMapper:BP,headersMapper:Q_}},queryParameters:[bS,bv,bM,bP,bY,bG],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wu},wN={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:QJ},default:{bodyMapper:BP,headersMapper:QW}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,bZ,b$,b0],isXML:!0,serializer:wu},wb={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qj},default:{bodyMapper:BP,headersMapper:QK}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b1,b2],isXML:!0,serializer:wu},wS={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QX},default:{bodyMapper:BP,headersMapper:QZ}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b2,b3],isXML:!0,serializer:wu},ww={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:Q$},default:{bodyMapper:BP,headersMapper:Q0}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b4,b5],isXML:!0,serializer:wu},wD={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Q1},default:{bodyMapper:BP,headersMapper:Q2}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b2,b8,b9],isXML:!0,serializer:wu},wx={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:B0,headersMapper:Q3},default:{bodyMapper:BP,headersMapper:Q4}},queryParameters:[bS,bR,bk,bv,bM,bG,b6,b7],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wu},wR={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:B5,headersMapper:Q5},default:{bodyMapper:BP,headersMapper:Q8}},queryParameters:[bS,bR,bk,bv,bM,bG,b6,b7,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wu},wk={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Q9},default:{bodyMapper:BP,headersMapper:Q6}},queryParameters:[bb,bS,bF],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wu};class wv{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},wU)}getProperties(e){return this.client.sendOperationRequest({options:e},wF)}delete(e){return this.client.sendOperationRequest({options:e},wT)}undelete(e){return this.client.sendOperationRequest({options:e},wL)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},wO)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},wH)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wP)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wY)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},wG)}setMetadata(e){return this.client.sendOperationRequest({options:e},wz)}acquireLease(e){return this.client.sendOperationRequest({options:e},wq)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wV)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},w_)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},wJ)}breakLease(e){return this.client.sendOperationRequest({options:e},wW)}createSnapshot(e){return this.client.sendOperationRequest({options:e},wj)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wK)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wX)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},wZ)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},w$)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},w0)}query(e){return this.client.sendOperationRequest({options:e},w1)}getTags(e){return this.client.sendOperationRequest({options:e},w2)}setTags(e){return this.client.sendOperationRequest({options:e},w3)}}let wM=Ir(ev,!0),wU={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Q7},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Q7},default:{bodyMapper:BP,headersMapper:Ne}},queryParameters:[bS,Se,St],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sr,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Sn,Si,Ss,So,Sa,SA,Sl],isXML:!0,serializer:wM},wF={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:Nt},default:{bodyMapper:BP,headersMapper:Nr}},queryParameters:[bS,Se,St],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl],isXML:!0,serializer:wM},wT={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Nn},default:{bodyMapper:BP,headersMapper:Ni}},queryParameters:[bS,Se,St,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sa,SA,Sl,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:wM},wL={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ns},default:{bodyMapper:BP,headersMapper:No}},queryParameters:[bS,bK],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wM},wO={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Na},default:{bodyMapper:BP,headersMapper:NA}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:wM},wH={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nl},default:{bodyMapper:BP,headersMapper:Nc}},queryParameters:[bb,bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm],isXML:!0,serializer:wM},wP={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nd},default:{bodyMapper:BP,headersMapper:Ng}},queryParameters:[bS,Se,St,Sp],urlParameters:[bQ],headerParameters:[bw,bD,bx,bJ,SC,Sf],isXML:!0,serializer:wM},wY={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Nu},default:{bodyMapper:BP,headersMapper:Nh}},queryParameters:[bS,Se,St,Sp],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wM},wG={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nm},default:{bodyMapper:BP,headersMapper:Np}},queryParameters:[bS,Se,St,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:wM},wz={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NC},default:{bodyMapper:BP,headersMapper:Nf}},queryParameters:[bS,bW],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI],isXML:!0,serializer:wM},wq={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NI},default:{bodyMapper:BP,headersMapper:NE}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,bZ,b$,b0,Sa,SA,Sl],isXML:!0,serializer:wM},wV={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ny},default:{bodyMapper:BP,headersMapper:NB}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b1,b2,Sa,SA,Sl],isXML:!0,serializer:wM},w_={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NQ},default:{bodyMapper:BP,headersMapper:NN}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b2,b3,Sa,SA,Sl],isXML:!0,serializer:wM},wJ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nb},default:{bodyMapper:BP,headersMapper:NS}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b2,b8,b9,Sa,SA,Sl],isXML:!0,serializer:wM},wW={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Nw},default:{bodyMapper:BP,headersMapper:ND}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b4,b5,Sa,SA,Sl],isXML:!0,serializer:wM},wj={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nx},default:{bodyMapper:BP,headersMapper:NR}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI],isXML:!0,serializer:wM},wK={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Nk},default:{bodyMapper:BP,headersMapper:Nv}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_,bJ,Sa,SA,Sl,SC,Sf,SE,Sy,SB,SQ,SN,Sb,SS,Sw,SD,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Sx],isXML:!0,serializer:wM},wX={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:NM},default:{bodyMapper:BP,headersMapper:NU}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_,bJ,Sa,SA,Sl,SC,Sf,SI,SE,SB,SQ,SN,Sb,Sw,SD,Sx,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},SR,Sk,Sv,SM],isXML:!0,serializer:wM},wZ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:NF},default:{bodyMapper:BP,headersMapper:NT}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:wM},w$={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NL},202:{headersMapper:NL},default:{bodyMapper:BP,headersMapper:NO}},queryParameters:[bS,Se,St,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,Sl,Sy,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:wM},w0={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:NH},default:{bodyMapper:BP,headersMapper:NP}},queryParameters:[bb,bS,bF],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wM},w1={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:NY},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:NY},default:{bodyMapper:BP,headersMapper:NG}},requestBody:{parameterPath:["options","queryRequest"],mapper:Qi},queryParameters:[bS,Se,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[by,bB,bw,bD,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wM},w2={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:BK,headersMapper:Nz},default:{bodyMapper:BP,headersMapper:Nq}},queryParameters:[bS,Se,St,SU],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,Sl,SF,ST,SL,SO],isXML:!0,serializer:wM},w3={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:NV},default:{bodyMapper:BP,headersMapper:N_}},requestBody:{parameterPath:["options","tags"],mapper:BK},queryParameters:[bS,St,SU],urlParameters:[bQ],headerParameters:[by,bB,bw,bD,bV,Sl,SF,ST,SL,SO,SH,SP],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wM};class w4{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},w8)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},w9)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},w6)}uploadPagesFromURL(e,t,r,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:n,options:i},w7)}getPageRanges(e){return this.client.sendOperationRequest({options:e},De)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Dt)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Dr)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},Dn)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Di)}}let w5=Ir(ev,!0),w8={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NJ},default:{bodyMapper:BP,headersMapper:NW}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SC,Sf,SI,SE,SD,Sx,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},SY,SG],isXML:!0,serializer:w5},w9={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nj},default:{bodyMapper:BP,headersMapper:NK}},requestBody:Sq,queryParameters:[bS,S_],urlParameters:[bQ],headerParameters:[bw,bD,bO,bV,b_,bJ,Sr,Sn,Si,Ss,So,Sa,SA,Sl,SI,SH,SP,Sz,SV,SJ,SW,Sj,SK,SX],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:w5},w6={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NX},default:{bodyMapper:BP,headersMapper:NZ}},queryParameters:[bS,S_],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bV,b_,bJ,Sr,Si,Ss,So,Sa,SA,Sl,SI,SW,Sj,SK,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:w5},w7={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:N$},default:{bodyMapper:BP,headersMapper:N0}},queryParameters:[bS,S_],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI,SB,SQ,SN,Sb,SR,Sk,SM,SJ,SW,Sj,SK,SZ,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},S$,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},S0,S1,S2],isXML:!0,serializer:w5},De={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Qt,headersMapper:N1},default:{bodyMapper:BP,headersMapper:N2}},queryParameters:[bS,bv,bM,Se,S3],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sr,Sa,SA,Sl],isXML:!0,serializer:w5},Dt={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Qt,headersMapper:N3},default:{bodyMapper:BP,headersMapper:N4}},queryParameters:[bS,bv,bM,Se,S3,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sr,Sa,SA,Sl,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:w5},Dr={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:N5},default:{bodyMapper:BP,headersMapper:N8}},queryParameters:[bb,bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI,SY],isXML:!0,serializer:w5},Dn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:N9},default:{bodyMapper:BP,headersMapper:N6}},queryParameters:[bb,bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sa,SA,Sl,SG,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:w5},Di={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:N7},default:{bodyMapper:BP,headersMapper:be}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,Sa,SA,Sl,Sw],isXML:!0,serializer:w5};class Ds{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Da)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},DA)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},Dl)}seal(e){return this.client.sendOperationRequest({options:e},Dc)}}let Do=Ir(ev,!0),Da={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bt},default:{bodyMapper:BP,headersMapper:br}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SC,Sf,SI,SD,Sx,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:Do},DA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bn},default:{bodyMapper:BP,headersMapper:bi}},requestBody:Sq,queryParameters:[bS,S4],urlParameters:[bQ],headerParameters:[bw,bD,bO,bV,b_,bJ,Sn,Si,Ss,So,Sa,SA,Sl,SI,SH,SP,Sz,SV,SX,S5,S8],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Do},Dl={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bs},default:{bodyMapper:BP,headersMapper:bo}},queryParameters:[bS,S4],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI,SB,SQ,SN,Sb,SR,Sk,SM,SH,SZ,S$,S0,S1,S2,S5,S8,S9],isXML:!0,serializer:Do},Dc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ba},default:{bodyMapper:BP,headersMapper:bA}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sa,SA,S8],isXML:!0,serializer:Do};class Dd{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Du)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},Dh)}stageBlock(e,t,r,n){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:n},Dm)}stageBlockFromURL(e,t,r,n){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:n},Dp)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},DC)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},Df)}}let Dg=Ir(ev,!0),Du={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bl},default:{bodyMapper:BP,headersMapper:bc}},requestBody:Sq,queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bO,bz,bV,b_,bJ,Sn,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SC,Sf,SI,SE,SD,Sx,SH,SP,Sz,SV,SX,S6],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Dg},Dh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bd},default:{bodyMapper:BP,headersMapper:bg}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SI,SE,SB,SQ,SN,Sb,SS,Sw,SD,SR,Sk,Sv,SM,SH,S0,S1,S2,S6,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:Dg},Dm={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bu},default:{bodyMapper:BP,headersMapper:bh}},requestBody:Sq,queryParameters:[bS,S7,we],urlParameters:[bQ],headerParameters:[bw,bD,bO,bV,Sn,Si,Ss,So,SI,SH,SP,Sz,SV,SX],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Dg},Dp={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bm},default:{bodyMapper:BP,headersMapper:bp}},queryParameters:[bS,S7,we],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bV,Si,Ss,So,SI,SB,SQ,SN,Sb,SR,Sk,SM,SZ,S$,S0,S1,S2,S9],isXML:!0,serializer:Dg},DC={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bC},default:{bodyMapper:BP,headersMapper:bf}},requestBody:{parameterPath:"blocks",mapper:B6},queryParameters:[bS,wt],urlParameters:[bQ],headerParameters:[by,bB,bw,bD,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SC,Sf,SI,SE,SD,Sx,SH,SP],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Dg},Df={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:B7,headersMapper:bI},default:{bodyMapper:BP,headersMapper:bE}},queryParameters:[bS,Se,wt,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,Sl],isXML:!0,serializer:Dg};class DI extends IP{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",n=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:n},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new wr(this),this.container=new wg(this),this.blob=new wv(this),this.pageBlob=new w4(this),this.appendBlob=new Ds(this),this.blockBlob=new Dd(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class DE extends DI{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let Dy=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function DB(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function DQ(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=DB(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let n="",i="",s=Buffer.from("accountKey","base64"),o="";if(i=DB(e,"AccountName"),s=Buffer.from(DB(e,"AccountKey"),"base64"),!r){let t=(n=DB(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(o=DB(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${o}`}if(i){if(0===s.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:t}}{let t=DB(e,"SharedAccessSignature"),n=DB(e,"AccountName");if(n||(n=DR(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:n,accountSas:t}}}function DN(e,t){let r=new URL(e),n=r.pathname;return r.pathname=n=n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t,r.toString()}function Db(e,t,r){let n=new URL(e),i=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,o=""===n.search?"?":n.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==i&&a.push(e)}return s&&a.push(`${i}=${s}`),n.search=a.length?`?${a.join("&")}`:"",n.toString()}function DS(e,t){return new URL(e).searchParams.get(t)??void 0}function Dw(e,t){let r=new URL(e),n=r.search;return n?n+="&"+t:n=t,r.search=n,r.toString()}function DD(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function Dx(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function DR(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<Dy.length;++e){let r=Dy[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=Dk(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function Dk(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&BB.includes(e.port)}function Dv(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let n=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return t.join("&")}function DM(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function DU(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let n=r.split("_");n[0].startsWith("or-")&&(n[0]=n[0].substring(3));let i={ruleId:n[1],replicationStatus:e[r]},s=t.findIndex(e=>e.policyId===n[0]);s>-1?t[s].rules.push(i):t.push({policyId:n[0],rules:[i]})}return t}function DF(e){return e?e.scheme+" "+e.value:void 0}function*DT(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let n=0,i=0;for(;n<t.length&&i<r.length;)t[n].start<r[i].start?(yield{start:t[n].start,end:t[n].end,isClear:!1},++n):(yield{start:r[i].start,end:r[i].end,isClear:!0},++i);for(;n<t.length;++n)yield{start:t[n].start,end:t[n].end,isClear:!1};for(;i<r.length;++i)yield{start:r[i].start,end:r[i].end,isClear:!0}}function DL(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function DO(e,t,r,n,i){let s,o=n.contentChecksumAlgorithm??i;return void 0===o&&(o="Customized"),"Auto"===o&&(o="StorageCrc64"),"Customized"===o?(r.transactionalContentMD5=n.transactionalContentMD5,r.transactionalContentCrc64=n.transactionalContentCrc64):"StorageCrc64"===o&&(await yx.init(),s=await yk(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===o?s.body:e,contentLength:"StorageCrc64"===o?s.encodedContentLength:t,contentChecksumAlgorithm:o}}class DH{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,n;this.url=(n=(r=new URL(e)).pathname,r.pathname=n=encodeURIComponent(n=n||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=DR(e),this.pipeline=t,this.storageClientContext=new DE(this.url,function(e){let{httpClient:t,...r}=e.options,n=e._coreHttpClient;!n&&(e._coreHttpClient=n=t?{sendRequest:async e=>IH(await t.sendRequest(IM(e,{createProxy:!0})))}:(A||(A=fj()),A));let i=e._corePipeline;if(!i){let t=`azsdk-js-azure-storage-blob/${Bp}`,n=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(i=IB({...r,loggingOptions:{additionalAllowedHeaderNames:BE,additionalAllowedQueryParameters:By,logger:yE.info},userAgentOptions:{userAgentPrefix:n},serializationOptions:{stringifyXML:yf,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:yI,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),i.removePolicy({name:fM}),i.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(yW,Buffer.byteLength(e.body)),t(e))}),i.addPolicy(function(e={}){let t=e.retryPolicyType??Bg.retryPolicyType,r=e.maxTries??Bg.maxTries,n=e.retryDelayInMs??Bg.retryDelayInMs,i=e.maxRetryDelayInMs??Bg.maxRetryDelayInMs,s=e.secondaryHost??Bg.secondaryHost,o=e.tryTimeoutInMs??Bg.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,a){let A,l;o&&(e.url=y8(e.url,yq,String(Math.floor(o/1e3))));let c=e.url,d=s?y9(e.url,s):void 0,g=!1,u=1,h=!0;for(;h;){let s=g||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||u%2==1;e.url=s?c:d,A=void 0,l=void 0;try{Ba.info(`RetryPolicy: =====> Try=${u} ${s?"Primary":"Secondary"}`),A=await a(e),g=g||!s&&404===A.status}catch(e){if(C4(e))Ba.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw Ba.error(`RetryPolicy: Caught error, message: ${fY(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:n,error:i}){if(t>=r)return Ba.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(i){for(let e of Bu)if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return Ba.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))return Ba.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(n||i){let t=n?.status??i?.statusCode??0;if(!e&&404===t)return Ba.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return Ba.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(n&&n?.status>=400){let e=n.headers.get(y5);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:s,attempt:u,response:A,error:l}))&&await Be(function(e,r){let s=0;if(e)switch(t){case eC.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*n,i);break;case eC.FIXED:s=n}else s=1e3*Math.random();return Ba.info(`RetryPolicy: Delay for ${s}ms`),s}(s,u),e.abortSignal,Bh),u++}if(A)return A;throw l??new C3("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),i.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),i.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let s=function(e){let t=[BD,Bw,Bx,BR,Bk,Bv,BM];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let n={sendRequest:async e=>IO(await r(Iv(e)),{createProxy:!0})};for(let t of e)n=t.create(n,IY);let i=IM(t,{createProxy:!0});return IH(await n.sendRequest(i))}}),afterRetry:t}}}}(e);s&&i.addPolicy(s.wrappedPolicies,s.afterRetry?{afterPhase:"Retry"}:void 0);let o=BS(e);f4(o)?i.addPolicy(f2({credential:o,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:ID}}),{phase:"Sign"}):o instanceof Bo&&i.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==yW||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,n){let i,s;return r.headers.set(y4,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(yW,Buffer.byteLength(r.body)),i=[r.method.toUpperCase(),t(r,yJ),t(r,y_),t(r,yW),t(r,yj),t(r,yK),t(r,yX),t(r,y$),t(r,yZ),t(r,y0),t(r,y1),t(r,y3)].join("\n")+"\n"+function(e){let t=[];for(let[r,n]of e.headers)r.toLowerCase().startsWith(y2)&&t.push({name:r,value:n});t.sort((e,t)=>Bi(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}(r)+function(t){let r=y6(t.url)||"/",n="";n+=`/${e.accountName}${r}`;let i=y7(t.url),s={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();s[r]=i[t],e.push(r)}for(let t of(e.sort(),e))n+=` -${t}:${decodeURIComponent(s[t])}`}return n}(r),s=(0,mt.createHmac)("sha256",e.accountKey).update(i,"utf8").digest("base64"),r.headers.set(yV,`SharedKey ${e.accountName}:${s}`),n(r)}}}({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"}),e._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=BS(t),this.storageClientContext.requestContentType=void 0}}let DP=fJ({packageName:"@azure/storage-blob",packageVersion:Bp,namespace:"Microsoft.Storage"});class DY{static parse(e){let t=new DY;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new DY;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class DG{static parse(e){let t=new DG;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new DG;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function Dz(e){return e.end?`${e.start}-${e.end}`:e.start}(es=eB||(eB={})).Https="https",es.HttpsAndHttp="https,http";class Dq{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,n,i,s,o,a,A,l,c,d,g,u,h,m,p,C,f,I,E,y,B,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=n,this.resourceTypes=i,this.expiresOn=a,this.permissions=r,this.protocol=s,this.startsOn=o,this.ipRangeInner=A,this.delegatedUserObjectId=E,this.encryptionScope=I,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=g,this.contentEncoding=u,this.contentLanguage=h,this.contentType=m,this.requestHeaderKeys=y,this.requestQueryParameterKeys=B,this.directoryDepth=Q,p&&(this.signedOid=p.signedObjectId,this.signedTenantId=p.signedTenantId,this.signedStartsOn=p.signedStartsOn,this.signedExpiresOn=p.signedExpiresOn,this.signedService=p.signedService,this.signedVersion=p.signedVersion,this.signedDelegatedUserTid=p.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=C,this.correlationId=f))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?DD(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?DD(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?Dz(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?DD(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?DD(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function DV(e,t,r){return D_(e,t,r).sasQueryParameters}function D_(e,t,r){let n,i=e.version?e.version:BC,s=t instanceof Bo?t:void 0;if(void 0===s&&void 0!==r&&(n=new Bm(r,t)),void 0===s&&void 0===n)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(i>="2020-12-06")if(void 0!==s)return function(e,t){let r,n;if(!(e=Dj(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,n),stringToSign:o}}(e,s);else if(i>="2026-04-06")return function(e,t){let r,n;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,DJ(e.requestHeaders),DJ(e.requestQueryParameters),n),stringToSign:o}}(e,n);else if(i>="2025-07-05")return function(e,t){let r,n;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,n),stringToSign:o}}(e,n);else return function(e,t){let r,n;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,n),stringToSign:o}}(e,n);if(i>="2018-11-09")if(void 0!==s)if(i>="2020-02-10")return function(e,t){let r,n;if(!(e=Dj(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,n),stringToSign:o}}(e,s);else return function(e,t){let r;if(!(e=Dj(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",i=e.snapshotTime;e.blobName&&(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",i=e.versionId)),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,i,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new Dq(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:s}}(e,s);else if(i>="2020-02-10")return function(e,t){let r,n;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,n),stringToSign:o}}(e,n);else return function(e,t){let r;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",i=e.snapshotTime;e.blobName&&(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",i=e.versionId)),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new Dq(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:s}}(e,n);if(i>="2015-04-05")if(void 0!==s){let t;var o=e,a=s;if(!(o=Dj(o)).identifier&&!(o.permissions&&o.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";o.blobName&&(r="b"),o.permissions&&(t=o.blobName?DY.parse(o.permissions.toString()).toString():DG.parse(o.permissions.toString()).toString());let n=[t||"",o.startsOn?DD(o.startsOn,!1):"",o.expiresOn?DD(o.expiresOn,!1):"",DW(a.accountName,o.containerName,o.blobName),o.identifier,o.ipRange?Dz(o.ipRange):"",o.protocol?o.protocol:"",o.version,o.cacheControl?o.cacheControl:"",o.contentDisposition?o.contentDisposition:"",o.contentEncoding?o.contentEncoding:"",o.contentLanguage?o.contentLanguage:"",o.contentType?o.contentType:""].join("\n"),i=a.computeHMACSHA256(n);return{sasQueryParameters:new Dq(o.version,i,t,void 0,void 0,o.protocol,o.startsOn,o.expiresOn,o.ipRange,o.identifier,r,o.cacheControl,o.contentDisposition,o.contentEncoding,o.contentLanguage,o.contentType),stringToSign:n}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function DJ(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function DW(e,t,r){let n=[`/blob/${e}/${t}`];return r&&n.push(`/${r}`),n.join("")}function Dj(e){let t=e.version?e.version:BC;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function DK(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class DX{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=CV()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-acquireLease",t,async r=>DL(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-changeLease",t,async r=>{let n=DL(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-releaseLease",e,async t=>DL(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-breakLease",t,async r=>{let n={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return DL(await this._containerOrBlobOperation.breakLease(n))})}}class DZ extends p9.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,n,i={}){super({highWaterMark:i.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+n-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new fH("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class D${get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,n,i={}){this.originalResponse=e;let s=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new yT(this.originalResponse.readableStreamBody,i);this.blobDownloadStream=new DZ(s,t,r,n,i)}}let D0=new Uint8Array([79,98,106,1]);class D1{static async readFixedBytes(e,t,r={}){let n=await e.read(t,{abortSignal:r.abortSignal});if(n.length!==t)throw Error("Hit stream end.");return n}static async readByte(e,t={}){return(await D1.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,n,i,s=0,o=0;do n=128&(r=await D1.readByte(e,t)),s|=(127&r)<<o,o+=7;while(n&&o<28);if(n){i=0x10000000;do s+=(127&(r=await D1.readByte(e,t)))*i,i*=128;while(128&r);let n=(s%2?-(s+1):s)/2;if(n<Number.MIN_SAFE_INTEGER||n>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return n}return s>>1^-(1&s)}static async readLong(e,t={}){return D1.readZigZagLong(e,t)}static async readInt(e,t={}){return D1.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await D1.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await D1.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await D1.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await D1.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await D1.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await D1.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let n=await D1.readArray(e,(e,r={})=>D1.readMapPair(e,t,r),r),i={};for(let e of n)i[e.key]=e.value;return i}static async readArray(e,t,r={}){let n=[];for(let i=await D1.readLong(e,r);0!==i;i=await D1.readLong(e,r))for(i<0&&(await D1.readLong(e,r),i=-i);i--;){let i=await t(e,r);n.push(i)}return n}}(eo=eQ||(eQ={})).RECORD="record",eo.ENUM="enum",eo.ARRAY="array",eo.MAP="map",eo.UNION="union",eo.FIXED="fixed",(ea=eN||(eN={})).NULL="null",ea.BOOLEAN="boolean",ea.INT="int",ea.LONG="long",ea.FLOAT="float",ea.DOUBLE="double",ea.BYTES="bytes",ea.STRING="string";class D2{static fromSchema(e){return"string"==typeof e?D2.fromStringSchema(e):Array.isArray(e)?D2.fromArraySchema(e):D2.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case eN.NULL:case eN.BOOLEAN:case eN.INT:case eN.LONG:case eN.FLOAT:case eN.DOUBLE:case eN.BYTES:case eN.STRING:return new D3(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new D5(e.map(D2.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return D2.fromStringSchema(t)}catch{}switch(t){case eQ.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=D2.fromSchema(t.type);return new D9(r,e.name);case eQ.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new D4(e.symbols);case eQ.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new D8(D2.fromSchema(e.values));case eQ.ARRAY:case eQ.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class D3 extends D2{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case eN.NULL:return D1.readNull();case eN.BOOLEAN:return D1.readBoolean(e,t);case eN.INT:return D1.readInt(e,t);case eN.LONG:return D1.readLong(e,t);case eN.FLOAT:return D1.readFloat(e,t);case eN.DOUBLE:return D1.readDouble(e,t);case eN.BYTES:return D1.readBytes(e,t);case eN.STRING:return D1.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class D4 extends D2{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await D1.readInt(e,t);return this._symbols[r]}}class D5 extends D2{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await D1.readInt(e,t);return this._types[r].read(e,t)}}class D8 extends D2{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return D1.readMap(e,r,t)}}class D9 extends D2{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let n in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,n)&&(r[n]=await this._fields[n].read(e,t));return r}}function D6(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class D7{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,n){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=n||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!D6(await D1.readFixedBytes(this._headerStream,D0.length,{abortSignal:e.abortSignal}),D0))throw Error("Stream is not an Avro file.");this._metadata=await D1.readMap(this._headerStream,D1.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await D1.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=D2.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await D1.readLong(this._dataStream,{abortSignal:e.abortSignal}),await D1.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await D1.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!D6(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await D1.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await D1.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class xe{}let xt=n("buffer"),xr=new fH("Reading from the avro stream was aborted.");class xn extends xe{_position;_readable;toUint8Array(e){return"string"==typeof e?xt.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw xr;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,n)=>{let i=()=>{this._readable.removeListener("readable",s),this._readable.removeListener("error",o),this._readable.removeListener("end",o),this._readable.removeListener("close",o),t.abortSignal&&t.abortSignal.removeEventListener("abort",a)},s=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,i(),r(this.toUint8Array(t)))},o=()=>{i(),n()},a=()=>{i(),n(xr)};this._readable.on("readable",s),this._readable.once("error",o),this._readable.once("end",o),this._readable.once("close",o),t.abortSignal&&t.abortSignal.addEventListener("abort",a)})}}class xi extends p9.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new D7(new xn(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let n=t.description;if("string"!=typeof n)throw Error("Invalid description in avro error record.");let i=t.position;if("number"!=typeof i)throw Error("Invalid position in avro error record.");this.onError({position:i,name:r,isFatal:e,description:n})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class xs{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new xi(this.originalResponse.readableStreamBody,t)}}function xo(e){if(void 0!==e)return e}function xa(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function xA(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(eA=eb||(eb={})).Hot="Hot",eA.Cool="Cool",eA.Cold="Cold",eA.Archive="Archive",(el=eS||(eS={})).P4="P4",el.P6="P6",el.P10="P10",el.P15="P15",el.P20="P20",el.P30="P30",el.P40="P40",el.P50="P50",el.P60="P60",el.P70="P70",el.P80="P80",(ec=ew||(ew={})).StorageOAuthScopes="https://storage.azure.com/.default",ec.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",fk("core-lro");class xl extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,xl.prototype)}}class xc extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,xc.prototype)}}class xd{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new xc("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new xl("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class xg extends xd{intervalInMs;constructor(e){let t,{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:o,startCopyFromURLOptions:a}=e;o&&(t=JSON.parse(o).state),super(xp({...t,blobClient:r,copySource:n,startCopyFromURLOptions:a})),"function"==typeof s&&this.onProgress(s),this.intervalInMs=i}delay(){return fP(this.intervalInMs)}}let xu=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),xp(t)},xh=async function(e={}){let t=this.state,{blobClient:r,copySource:n,startCopyFromURLOptions:i}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:n,copyProgress:i}=r,s=t.copyProgress;i&&(t.copyProgress=i),"pending"===n&&i!==s&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===n?(t.result=r,t.isCompleted=!0):"failed"===n&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(n,i);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return xp(t)},xm=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function xp(e){return{state:{...e},cancel:xu,toString:xm,update:xh}}function xC(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(ed=eD||(eD={}))[ed.Good=0]="Good",ed[ed.Error=1]="Error";class xf{concurrency;actives=0;completed=0;offset=0;operations=[];state=eD.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new yy.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=eD.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==eD.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}async function xI(e,t,r,n,i){let s=0,o=n-r;return new Promise((n,a)=>{let A=setTimeout(()=>a(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let a;if(s>=o){clearTimeout(A),n();return}for(;null!==(a=e.read());){"string"==typeof a&&(a=Buffer.from(a,i));let e=s+a.length>o?o-s:a.length;if(t.fill(a.slice(0,e),r+s,r+s+e),(s+=e)>=o){clearTimeout(A),n();return}}}),e.on("end",()=>{clearTimeout(A),s<o&&a(Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${o}`)),n()}),e.on("error",e=>{clearTimeout(A),a(e)})})}async function xE(e,t){return new Promise((r,n)=>{let i=mr.createWriteStream(t);e.on("error",e=>{n(e)}),i.on("error",e=>{n(e)}),i.on("close",r),e.pipe(i)})}let xy=CB.promisify(mr.stat),xB=mr.createReadStream;class xQ extends DH{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,n){let i,s;if(n=n||{},BQ(t))s=e,i=t,n=r;else if(t instanceof Bo||t instanceof yz||f4(t))s=e,i=Bb(t,n=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=DQ(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new Bo(o.accountName,o.accountKey);s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r)),n.proxyOptions||(n.proxyOptions=fG(o.proxyUri)),i=Bb(e,n)}else if("SASConnString"===o.kind)s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,i=Bb(new yz,n);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(n=r),i=Bb(new yz,n);super(s,i),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=DS(this.url,Bf),this._versionId=DS(this.url,BI),this.blobClientConfig=n}withSnapshot(e){return new xQ(Db(this.url,Bf,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new xQ(Db(this.url,BI,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new xN(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new xb(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new xS(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},xa(r.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-download",r,async n=>{let i=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===i?i="Customized":"Auto"===i&&(i="StorageCrc64"),"StorageCrc64"===i&&await yx.init();let s=DL(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?xC({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions,structuredBodyType:"StorageCrc64"===i?"XSM/1.0; properties=crc64":void 0})),o={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:DU(s.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===s.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===i&&void 0===s.structuredContentLength)throw RangeError("Unexpected structured content length");if(!s.etag)throw RangeError("File download response doesn't contain valid etag header");let a="StorageCrc64"===i?s.structuredContentLength:s.contentLength;return new D$(o,async t=>{let n={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||s.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:xC({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===i?"XSM/1.0; properties=crc64":void 0},o=(await this.blobContext.download({abortSignal:r.abortSignal,...n})).readableStreamBody;return"StorageCrc64"!==i?o:new yT(o,{})},e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return DP.withSpan("BlobClient-exists",e,async t=>{try{return xa(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},xa(e.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-getProperties",e,async t=>{let r=DL(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:DU(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},DP.withSpan("BlobClient-delete",e,async t=>DL(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return DP.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=DL(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return DP.withSpan("BlobClient-undelete",e,async t=>DL(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-setHTTPHeaders",t,async r=>DL(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-setMetadata",t,async r=>DL(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return DP.withSpan("BlobClient-setTags",t,async r=>DL(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let n=e[r];t.blobTagSet.push({key:r,value:n})}return t}(e)})))}async getTags(e={}){return DP.withSpan("BlobClient-getTags",e,async t=>{let r=DL(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new DX(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},xa(e.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-createSnapshot",e,async t=>DL(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new xg({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return DP.withSpan("BlobClient-abortCopyFromURL",t,async r=>DL(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},DP.withSpan("BlobClient-syncCopyFromURL",t,async r=>DL(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:DF(t.sourceAuthorization),tier:xo(t.tier),blobTagsString:Dv(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return DP.withSpan("BlobClient-setAccessTier",t,async r=>DL(await this.blobContext.setTier(xo(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,n={}){let i,s=0,o=0,a=n;e instanceof Buffer?(i=e,s=t||0,o="number"==typeof r?r:0):(s="number"==typeof e?e:0,o="number"==typeof t?t:0,a=r||{});let A=a.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),s<0)throw RangeError("offset option must be >= 0");if(o&&o<=0)throw RangeError("count option must be greater than 0");return a.conditions||(a.conditions={}),DP.withSpan("BlobClient-downloadToBuffer",a,async e=>{if(!o){let t=await this.getProperties({...a,tracingOptions:e.tracingOptions});if((o=t.contentLength-s)<0)throw RangeError(`offset ${s} shouldn't be larger than blob size ${t.contentLength}`)}if(!i)try{i=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(i.length<o)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`);let t=0,r=new xf(a.concurrency);for(let n=s;n<s+o;n+=A)r.addOperation(async()=>{let r=s+o;n+A<r&&(r=n+A);let l=(await this.download(n,r-n,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await xI(l,i,n-s,r-s),t+=r-n,a.onProgress&&a.onProgress({loadedBytes:t})});return await r.do(),i})}async downloadToFile(e,t=0,r,n={}){return DP.withSpan("BlobClient-downloadToFile",n,async i=>{let s=await this.download(t,r,{...n,tracingOptions:i.tracingOptions});return s.readableStreamBody&&await xE(s.readableStreamBody,e),s.blobDownloadStream=void 0,s})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let n=r.pathname.match("/([^/]*)(/(.*))?");e=n[1],t=n[3]}else if(Dk(r)){let n=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2],t=n[4]}else{let n=r.pathname.match("/([^/]*)(/(.*))?");e=n[1],t=n[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return DP.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},DL(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:xo(t.tier),blobTagsString:Dv(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof Bo))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=DV({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(Dw(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof Bo))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return D_({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let n=DV({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(Dw(this.url,n))})}generateUserDelegationSasStringToSign(e,t){return D_({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return DP.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>DL(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return DP.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>DL(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return DP.withSpan("BlobClient-setLegalHold",t,async t=>DL(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return DP.withSpan("BlobClient-getAccountInfo",e,async t=>DL(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class xN extends xQ{appendBlobContext;constructor(e,t,r,n){let i,s;if(n=n||{},BQ(t))s=e,i=t,n=r;else if(t instanceof Bo||t instanceof yz||f4(t))s=e,i=Bb(t,n=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=DQ(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new Bo(o.accountName,o.accountKey);s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r)),n.proxyOptions||(n.proxyOptions=fG(o.proxyUri)),i=Bb(e,n)}else if("SASConnString"===o.kind)s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,i=Bb(new yz,n);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,n=r,i=Bb(new yz,n);super(s,i),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=n}withSnapshot(e){return new xN(Db(this.url,Bf,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},xa(e.customerProvidedKey,this.isHttps),DP.withSpan("AppendBlobClient-create",e,async t=>DL(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:Dv(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return DP.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=DL(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},DP.withSpan("AppendBlobClient-seal",e,async t=>DL(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},xa(r.customerProvidedKey,this.isHttps),DP.withSpan("AppendBlobClient-appendBlock",r,async n=>{let i={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions},s=await DO(e,t,i,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return DL(await this.appendBlobContext.appendBlock(s.contentLength,s.body,i))})}async appendBlockFromURL(e,t,r,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},xa(n.customerProvidedKey,this.isHttps),DP.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>DL(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:xC({offset:t,count:r}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:DF(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class xb extends xQ{_blobContext;blockBlobContext;constructor(e,t,r,n){let i,s;if(n=n||{},BQ(t))s=e,i=t,n=r;else if(t instanceof Bo||t instanceof yz||f4(t))s=e,i=Bb(t,n=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=DQ(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new Bo(o.accountName,o.accountKey);s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r)),n.proxyOptions||(n.proxyOptions=fG(o.proxyUri)),i=Bb(e,n)}else if("SASConnString"===o.kind)s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,i=Bb(new yz,n);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(n=r),i=Bb(new yz,n);super(s,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=n}withSnapshot(e){return new xb(Db(this.url,Bf,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-query",t,async r=>new xs(DL(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:DM(t.inputTextConfiguration),outputSerialization:DM(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},xa(r.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-upload",r,async n=>{let i={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:xo(r.tier),blobTagsString:Dv(r.tags),tracingOptions:n.tracingOptions},s=await DO(e,t,i,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return DL(await this.blockBlobContext.upload(s.contentLength,s.body,i))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>DL(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:DF(t.sourceAuthorization),tier:xo(t.tier),blobTagsString:Dv(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,n={}){return xa(n.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-stageBlock",n,async i=>{let s={abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions},o=await DO(t,r,s,n,this.blobClientConfig?.uploadContentChecksumAlgorithm);return DL(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,s))})}async stageBlockFromURL(e,t,r=0,n,i={}){return xa(i.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-stageBlockFromURL",i,async s=>DL(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:0!==r||n?xC({offset:r,count:n}):void 0,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:DF(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-commitBlockList",t,async r=>DL(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:xo(t.tier),blobTagsString:Dv(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return DP.withSpan("BlockBlobClient-getBlockList",t,async r=>{let n=DL(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return n.committedBlocks||(n.committedBlocks=[]),n.uncommittedBlocks||(n.uncommittedBlocks=[]),n})}async uploadData(e,t={}){return DP.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return DP.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let n=r.blockSize??0;if(n<0||n>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let i=r.maxSingleShotSize??0x10000000;if(i<0||i>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===n){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>i&&(n=Math.ceil(t/5e4))<4194304&&(n=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),DP.withSpan("BlockBlobClient-uploadSeekableInternal",r,async s=>{if(t<=i)return DL(await this.upload(e(0,t),t,s));let o=Math.floor((t-1)/n)+1;if(o>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let a=[],A=CV(),l=0,c=new xf(r.concurrency);for(let i=0;i<o;i++)c.addOperation(async()=>{let c=Dx(A,i),d=n*i,g=(i===o-1?t:d+n)-d;a.push(c),await this.stageBlock(c,e(d,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=g,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(a,s)})}async uploadFile(e,t={}){return DP.withSpan("BlockBlobClient-uploadFile",t,async r=>{let n=(await xy(e)).size;return this.uploadSeekableInternal((t,r)=>()=>xB(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),n,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,n={}){return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),DP.withSpan("BlockBlobClient-uploadStream",n,async i=>{let s=0,o=CV(),a=0,A=[],l=new yb(e,t,r,async(e,t)=>{let r=Dx(o,s);A.push(r),s++,await this.stageBlock(r,e,t,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions,contentChecksumAlgorithm:n.contentChecksumAlgorithm}),a+=t,n.onProgress&&n.onProgress({loadedBytes:a})},Math.ceil(r/4*3));return await l.do(),DL(await this.commitBlockList(A,{...n,tracingOptions:i.tracingOptions}))})}}class xS extends xQ{pageBlobContext;constructor(e,t,r,n){let i,s;if(n=n||{},BQ(t))s=e,i=t,n=r;else if(t instanceof Bo||t instanceof yz||f4(t))s=e,i=Bb(t,n=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=DQ(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new Bo(o.accountName,o.accountKey);s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r)),n.proxyOptions||(n.proxyOptions=fG(o.proxyUri)),i=Bb(e,n)}else if("SASConnString"===o.kind)s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,i=Bb(new yz,n);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,n=r,i=Bb(new yz,n);super(s,i),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=n}withSnapshot(e){return new xS(Db(this.url,Bf,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("PageBlobClient-create",t,async r=>DL(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:xo(t.tier),blobTagsString:Dv(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return DP.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let n=DL(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...n,_response:n._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,n={}){return n.conditions=n.conditions||{},xa(n.customerProvidedKey,this.isHttps),DP.withSpan("PageBlobClient-uploadPages",n,async i=>{let s={abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:xC({offset:t,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions},o=await DO(e,r,s,n,this.blobClientConfig?.uploadContentChecksumAlgorithm);return DL(await this.pageBlobContext.uploadPages(o.contentLength,o.body,s))})}async uploadPagesFromURL(e,t,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},xa(i.customerProvidedKey,this.isHttps),DP.withSpan("PageBlobClient-uploadPagesFromURL",i,async s=>DL(await this.pageBlobContext.uploadPagesFromURL(e,xC({offset:t,count:n}),0,xC({offset:r,count:n}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:DF(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},DP.withSpan("PageBlobClient-clearPages",r,async n=>DL(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:xC({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},DP.withSpan("PageBlobClient-getPageRanges",r,async n=>xA(DL(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:xC({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,n={}){return DP.withSpan("PageBlobClient-getPageRangesSegment",n,async i=>DL(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:xC({offset:e,count:t}),marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,n={}){let i;if(r||void 0===r)do r=(i=await this.listPageRangesSegment(e,t,r,n)).continuationToken,yield await i;while(r)}async *listPageRangeItems(e=0,t,r={}){let n;for await(let i of this.listPageRangeItemSegments(e,t,n,r))yield*DT(i)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let n=this.listPageRangeItems(e,t,r);return{next:()=>n.next(),[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeItemSegments(e,t,n.continuationToken,{maxPageSize:n.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,n={}){return n.conditions=n.conditions||{},DP.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>xA(DL(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:r,range:xC({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,n,i={}){return DP.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async s=>DL(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:r,range:xC({offset:e,count:t}),marker:n,maxPageSize:i?.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,n,i){let s;if(n||void 0===n)do n=(s=await this.listPageRangesDiffSegment(e,t,r,n,i)).continuationToken,yield await s;while(n)}async *listPageRangeDiffItems(e,t,r,n){let i;for await(let s of this.listPageRangeDiffItemSegments(e,t,r,i,n))yield*DT(s)}listPageRangesDiff(e,t,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeDiffItems(e,t,r,{...n});return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeDiffItemSegments(e,t,r,i.continuationToken,{maxPageSize:i.maxPageSize,...n})}}async getPageRangesDiffForManagedDisks(e,t,r,n={}){return n.conditions=n.conditions||{},DP.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>xA(DL(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:r,range:xC({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},DP.withSpan("PageBlobClient-resize",t,async r=>DL(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},DP.withSpan("PageBlobClient-updateSequenceNumber",r,async n=>DL(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async startCopyIncremental(e,t={}){return DP.withSpan("PageBlobClient-startCopyIncremental",t,async r=>DL(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(eg=ex||(ex={}))[eg.LOCKED=0]="LOCKED",eg[eg.UNLOCKED=1]="UNLOCKED",(eR||(eR={})).AES256="AES256";let xw=(P=e=>e.reason,{schedule:l2("3 seconds",1.5),times:4,while:e=>{let t;return t=P(e),CI.some(e=>t.includes(e))}}),xD=e=>{let t=[...e,"gzip","1.0"];return(0,mt.createHash)("sha256").update(t.join("|")).digest("hex")},xx=(e,t)=>oU({try:()=>{let e=process.env.ACTIONS_RESULTS_URL,t=process.env.ACTIONS_RUNTIME_TOKEN;if(!e||!t)throw Error(`Missing required env vars: ${[!e&&"ACTIONS_RESULTS_URL",!t&&"ACTIONS_RUNTIME_TOKEN"].filter(Boolean).join(", ")}`);return{baseUrl:e.endsWith("/")?e:`${e}/`,token:cP(t)}},catch:r=>new Ch({key:t,operation:e,reason:r instanceof Error?r.message:String(r)})}),xR=(e,t,r,n,i,s,o)=>{let a;return a=e=>new Ch({key:o,operation:s,reason:e}),co(function*(){let s,o=pg(`${t}twirp/github.actions.results.api.v1.CacheService/${n}`).pipe(pC(cO(r)),pN(i)),A=yield*e.execute(o).pipe(af(e=>a(`${n} failed: ${e.message}`)));return 409===A.status?Cf:A.status<200||A.status>=300?yield*ru(a(`${n} failed: HTTP ${A.status} from ${n}`)):yield*(s=ut(un(uR(ua.ast),{schema:ua})),e=>oK(e.json,e=>s(e,void 0)))(A).pipe(af(e=>a(`${n} failed: ${e.message??String(e)}`)))})},xk=e=>oS(()=>{try{(0,mr.unlinkSync)(e)}catch{}}),xv=lU(Cm,co(function*(){let e=yield*pG;return{save:(t,r)=>co(function*(){let{baseUrl:n,token:i}=yield*xx("save",r),s=xD(t);yield*cc(oU({try:()=>{let e=(e=>{let t=[];for(let r of e){let e=CC(r);Cp(e)?t.push(...(0,mr.globSync)(e)):t.push(e)}let r=[...t.filter(e=>(0,mr.existsSync)(e))].sort((e,t)=>e.length-t.length),n=[];for(let e of r)n.some(t=>e.startsWith(`${t}/`))||n.push(e);return n})(t);if(0===e.length)throw Error("No files matched the provided cache paths");let r=(0,hX.join)((0,mn.tmpdir)(),`cache-${(0,mt.randomUUID)()}.tar.gz`);return(0,CE.execFileSync)("tar",["czPf",r,...e],{stdio:"pipe"}),r},catch:e=>new Ch({key:r,operation:"save",reason:`Failed to create archive: ${e instanceof Error?e.message:String(e)}`})}),t=>co(function*(){let o=yield*oU({try:()=>(0,mr.statSync)(t).size,catch:e=>new Ch({key:r,operation:"save",reason:`Failed to stat archive: ${e instanceof Error?e.message:String(e)}`})}),a=yield*xR(e,n,i,"CreateCacheEntry",{key:r,version:s},"save",r).pipe(l7(xw));if(a===Cf)return;if(!a.ok||!a.signed_upload_url)return yield*ru(new Ch({key:r,operation:"save",reason:"CreateCacheEntry did not return a signed upload URL"}));yield*cs({try:async()=>{await new xb(a.signed_upload_url).uploadFile(t,{blockSize:0x4000000,concurrency:8,maxSingleShotSize:0x8000000})},catch:e=>new Ch({key:r,operation:"save",reason:`Archive upload failed: ${e instanceof Error?e.message:String(e)}`})});let A=yield*xR(e,n,i,"FinalizeCacheEntryUpload",{key:r,version:s,size_bytes:String(o)},"save",r).pipe(l7(xw));if(A===Cf||!A.ok)return yield*ru(new Ch({key:r,operation:"save",reason:"FinalizeCacheEntryUpload did not confirm success"}))}),e=>xk(e))}),restore:(t,r,n=[])=>co(function*(){let{baseUrl:i,token:s}=yield*xx("restore",r),o=xD(t),a=yield*xR(e,i,s,"GetCacheEntryDownloadURL",{key:r,restore_keys:[...n],version:o},"restore",r).pipe(l7(xw));if(a===Cf||!a.ok||!a.signed_download_url)return r3();let A=(0,hX.join)((0,mn.tmpdir)(),`cache-restore-${(0,mt.randomUUID)()}.tar.gz`);return yield*cc(cs({try:async()=>(await new xQ(a.signed_download_url).downloadToFile(A),A),catch:e=>new Ch({key:r,operation:"restore",reason:`Archive download failed: ${e instanceof Error?e.message:String(e)}`})}),e=>oU({try:()=>{try{(0,CE.execFileSync)("tar",["win32"===process.platform?"xzPkf":"xzPf",e],{stdio:"pipe"})}catch(t){let e=t.status;if(void 0!==e&&e>=2)throw t}},catch:e=>new Ch({key:r,operation:"restore",reason:`Failed to extract archive: ${e instanceof Error?e.message:String(e)}`})}),e=>xk(e)),r4(a.matched_key??r)})}}));var xM=class extends iu("ToolInstallerError"){},xU=class extends n0()("github-action-effects/ToolInstaller"){},xF=o(1455);let xT=process.env.RUNNER_TOOL_CACHE??(0,hX.join)((0,mn.tmpdir)(),"runner-tool-cache"),xL=(e,t)=>(0,hX.join)(xT,e,t,process.arch),xO=()=>cs({try:async()=>{let e=(0,hX.join)((0,mn.tmpdir)(),`tool-installer-${(0,mt.randomUUID)()}`);return await (0,xF.mkdir)(e,{recursive:!0}),e},catch:e=>new xM({tool:"unknown",version:"unknown",operation:"extract",reason:`Failed to create temp directory: ${e instanceof Error?e.message:String(e)}`})}),xH=(e,t,r,n)=>oL(i=>{let s=(0,CE.spawn)(e,[...t],{stdio:"pipe"}),o="";return s.stderr.on("data",e=>{o+=e.toString()}),s.on("error",t=>{i(ru(new xM({tool:n,version:"unknown",operation:r,reason:`${e} failed to spawn: ${t.message}`})))}),s.on("close",t=>{0===t?i(oM):i(ru(new xM({tool:n,version:"unknown",operation:r,reason:`${e} exited with code ${t??1}: ${o}`.trim()})))}),oS(()=>{s.kill()})}),xP=(e,t=0)=>oL(r=>{let n;if(t>10)return void r(ru(new xM({tool:"unknown",version:"unknown",operation:"download",reason:`Too many redirects (>10) for ${e}`})));let i=("https:"===new URL(e).protocol?p8.get:p5.get)(e,{headers:{"User-Agent":"github-action-effects"}},s=>{let o=s.statusCode??0;if(o>=300&&o<400&&s.headers.location){s.resume(),i.removeAllListeners("error");let n=new URL(s.headers.location,e).toString();r(ow(()=>xP(n,t+1)));return}if(o<200||o>=300){s.resume(),r(ru(new xM({tool:"unknown",version:"unknown",operation:"download",reason:`Failed to download ${e}: HTTP ${o}`,statusCode:o})));return}let a=n=(0,hX.join)((0,mn.tmpdir)(),`download-${(0,mt.randomUUID)()}`);(0,p6.pipeline)(s,(0,mr.createWriteStream)(a)).then(()=>r(oN(a))).catch(t=>{(0,xF.unlink)(a).catch(()=>{}),r(ru(new xM({tool:"unknown",version:"unknown",operation:"download",reason:`Failed to download ${e}: ${t instanceof Error?t.message:String(t)}`})))})});return i.setTimeout(18e4,()=>{i.destroy(Error("Socket timeout after 180000ms"))}),i.on("error",t=>{r(ru(new xM({tool:"unknown",version:"unknown",operation:"download",reason:`Failed to download ${e}: ${t.message}`})))}),oS(()=>{i.destroy(),void 0!==n&&(0,xF.unlink)(n).catch(()=>{})})}),xY=e=>void 0!==e.statusCode?e.statusCode>=500||408===e.statusCode||429===e.statusCode:e.reason.includes("Socket timeout")||e.reason.includes("ECONNRESET")||e.reason.includes("ECONNREFUSED")||e.reason.includes("ETIMEDOUT"),xG=lv(xU,{find:(e,t)=>cs({try:()=>(0,xF.stat)(xL(e,t)),catch:()=>null}).pipe(o0(r=>r?.isDirectory()?r4(xL(e,t)):r3()),ag(()=>oN(r3()))),download:e=>xP(e).pipe(l7({schedule:l2("1 second"),times:2,while:xY})),extractTar:(e,t,r)=>co(function*(){let n=t??(yield*xO());t&&(yield*cs({try:()=>(0,xF.mkdir)(t,{recursive:!0}),catch:e=>new xM({tool:"unknown",version:"unknown",operation:"extract",reason:`Failed to create destination directory: ${e instanceof Error?e.message:String(e)}`})}));let i=[...r&&r.length>0?[...r]:["xzf"],e,"-C",n];return yield*xH("tar",i,"extract","unknown"),n}),extractZip:(e,t)=>co(function*(){let r=t??(yield*xO());if(t&&(yield*cs({try:()=>(0,xF.mkdir)(t,{recursive:!0}),catch:e=>new xM({tool:"unknown",version:"unknown",operation:"extract",reason:`Failed to create destination directory: ${e instanceof Error?e.message:String(e)}`})})),"win32"===process.platform){let t=`Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory('${e.replace(/'/g,"''")}', '${r.replace(/'/g,"''")}')`;yield*xH("pwsh",["-NoProfile","-NonInteractive","-Command",t],"extract","unknown").pipe(ag(()=>xH("powershell",["-NoProfile","-NonInteractive","-Command",t],"extract","unknown")))}else yield*xH("unzip",["-oq",e,"-d",r],"extract","unknown");return r}),cacheDir:(e,t,r)=>cs({try:async()=>{let n=xL(t,r);return await (0,xF.mkdir)(n,{recursive:!0}),await (0,xF.cp)(e,n,{recursive:!0}),n},catch:e=>new xM({tool:t,version:r,operation:"cache",reason:`Failed to cache directory: ${e instanceof Error?e.message:String(e)}`})}),cacheFile:(e,t,r,n)=>cs({try:async()=>{let i=xL(r,n);return await (0,xF.mkdir)(i,{recursive:!0}),await (0,xF.cp)(e,(0,hX.join)(i,t)),i},catch:e=>new xM({tool:r,version:n,operation:"cache",reason:`Failed to cache file: ${e instanceof Error?e.message:String(e)}`})})}),xz=new Set(["_authtoken","_password","--auth","--password","--token","--otp"]),xq=e=>/:_authtoken$/i.test(e)||/:_password$/i.test(e),xV=e=>{let t=[];for(let r=0;r<e.length;r++){let n=e[r]??"",i=n.toLowerCase();if(t.push(n),xq(n)&&r+1<e.length){t.push("***"),r++;continue}xz.has(i)&&r+1<e.length&&(t.push("***"),r++)}return t};var x_=class extends iu("CommandRunnerError"){get message(){let e,t=xV(this.args),r=[`Command "${t.length>0?`${this.command} ${t.join(" ")}`:this.command}" failed`];void 0!==this.exitCode&&r.push(`(exit ${this.exitCode})`);let n=this.stderr?.trim()?this.stderr:this.stdout?.trim()?this.stdout:void 0;return void 0!==n&&""!==n.trim()&&r.push(`: -${(e=n.trim()).length<=2e3?e:`...[${e.length-2e3} chars truncated from head]... -${e.slice(-2e3)}`}`),r.join(" ")}};let xJ=n0("effect/Metric/CurrentMetricAttributes",{defaultValue:()=>({})}),xW=n0("~effect/observability/Metric/MetricRegistryKey",{defaultValue:()=>new Map}),xj="~effect/observability/Metric";class xK{[xj]=xj;#tV=new WeakMap;#t_;id;description;attributes;constructor(e,t,r){this.id=e,this.description=t,this.attributes=r}valueUnsafe(e){return this.hook(e).get(e)}modifyUnsafe(e,t){return this.hook(t).modify(e,t)}updateUnsafe(e,t){return this.hook(t).update(e,t)}hook(e){let t=ir(e,xJ);if(0===Object.keys(t).length)return e1(this.#t_)||(this.#t_=this.getOrCreate(e,this.attributes)),this.#t_.hooks;let r=x3(this.attributes,t),n=this.#tV.get(r);return e1(n)||(n=this.getOrCreate(e,r),this.#tV.set(r,n)),n.hooks}getOrCreate(e,t){var r,n,i;let s,o=(r=this,n=t,s=`${r.type}:${r.id}`,e1(r.description)&&(s+=`:${r.description}`),e1(n)&&(s+=`:${(Array.isArray(i=n)?i:Object.entries(i)).map(([e,t])=>`${e}=${t}`).join(",")}`),s),a=ir(e,xW);if(a.has(o))return a.get(o);let A=this.createHooks(),l={id:this.id,type:this.type,description:this.description,attributes:x4(t),hooks:A};return a.set(o,l),l}pipe(){return eF(this,arguments)}}let xX=BigInt(0);class xZ extends xK{type="Counter";#tJ;#tW;constructor(e,t){super(e,t?.description,x4(t?.attributes)),this.#tJ=t?.bigint??!1,this.#tW=t?.incremental??!1}createHooks(){var e,t;let r=this.#tJ?xX:0,n=this.#tW?this.#tJ?e=>e>=xX:e=>e>=0:e=>!0;return e=()=>({count:r,incremental:this.#tW}),{get:e,update:t=e=>{n(e)&&(r+=e)},modify:(void 0)??t}}}class x$ extends xK{type;metric;valueUnsafe;updateUnsafe;modifyUnsafe;constructor(e,t,r,n){super(e.id,e.description,e.attributes),this.metric=e,this.valueUnsafe=t,this.updateUnsafe=r,this.modifyUnsafe=n,this.type=e.type}createHooks(){return this.metric.createHooks()}}let x0=(e,t)=>new xZ(e,t),x1=eO(2,(e,t)=>ai(r=>oS(()=>e.updateUnsafe(t,r)))),x2=eO(2,(e,t)=>new x$(e,r=>e.valueUnsafe(x5(r,t)),(r,n)=>e.updateUnsafe(r,x5(n,t)),(r,n)=>e.modifyUnsafe(r,x5(n,t))));function x3(e,t){return{...x4(e),...x4(t)}}function x4(e){return e1(e)&&Array.isArray(e)?e.reduce((e,[t,r])=>(e[t]=r,e),{}):e}function x5(e,t){let r=x3(ir(e,xJ),t);return n7(e,xJ,r)}x0("github_action_effects_github_api_calls_total",{description:"Total GitHub API calls issued through GitHubClient"}),x0("github_action_effects_rate_limit_hits_total",{description:"Times the rate limiter slept or failed because quota was low"});let x8=x0("github_action_effects_command_executions_total",{description:"Total commands executed through CommandRunner"});var x9=class extends n0()("github-action-effects/CommandRunner"){};let x6=e=>/[&|<>^() "!%]/.test(e)?`"${e.replace(/(\\+)(?=")|"|(\\+)$/g,(e,t,r)=>void 0!==t?`${t}${t}`:void 0!==r?`${r}${r}`:'\\"')}"`:e,x7=(e,t,r)=>oL(n=>{let i="win32"===process.platform,s={stdio:"pipe",...i?{shell:!0}:{},...r?.cwd!==void 0?{cwd:r.cwd}:{},...r?.env!==void 0?{env:r.env}:{},...r?.timeout!==void 0?{timeout:r.timeout}:{}},o=(0,CE.spawn)(e,i?[...t].map(x6):[...t],s),a="",A="",l=r?.streaming===!0;return o.stdout.on("data",e=>{a+=e.toString(),l&&process.stdout.write(e)}),o.stderr.on("data",e=>{A+=e.toString(),l&&process.stderr.write(e)}),o.on("error",r=>{n(ru(new x_({command:e,args:xV(t),exitCode:void 0,stderr:void 0,reason:`Command execution failed: ${r.message}`})))}),o.on("close",e=>{n(oN({exitCode:e??1,stdout:a,stderr:A}))}),oS(()=>{o.kill()})}).pipe(az(x1(x8.pipe(x2({command:e})),1)),cg("CommandRunner.exec",{attributes:{command:e,argc:t.length}})),Re=(e,t,r)=>0===r.exitCode?oN(r):ru(new x_({command:e,args:xV(t),exitCode:r.exitCode,stderr:r.stderr,stdout:r.stdout,reason:`Command exited with code ${r.exitCode}`})),Rt=lv(x9,x9.of({exec:(e,t=[],r)=>x7(e,t,r).pipe(oK(r=>Re(e,t,r)),o0(e=>e.exitCode)),execCapture:(e,t=[],r)=>x7(e,t,r).pipe(oK(r=>Re(e,t,r))),execJson:(e,t,r,n)=>{let i=t??[];return x7(e,i,n).pipe(oK(t=>Re(e,i,t)),oK(t=>oU({try:()=>JSON.parse(t.stdout),catch:()=>new x_({command:e,args:xV(i),exitCode:t.exitCode,stderr:t.stderr,reason:`Failed to parse stdout as JSON: ${t.stdout.slice(0,200)}`})})),oK(t=>ut(r)(t).pipe(af(()=>new x_({command:e,args:xV(i),exitCode:0,stderr:void 0,reason:"Command output did not match expected schema"})))))},execLines:(e,t=[],r)=>x7(e,t,r).pipe(oK(r=>Re(e,t,r)),o0(e=>e.stdout.split("\n").map(e=>e.trim()).filter(e=>e.length>0)))}));var Rr=class extends iu("GlobError"){},Rn=class extends n0()("github-action-effects/Glob"){};let Ri=e=>{let{includes:t,excludes:r}=(e=>{let t=[],r=[];for(let n of e.split(/[\n,]/)){let e=n.trim();0===e.length||e.startsWith("#")||(e.startsWith("!")?r.push(CC(e.slice(1).trim())):t.push(CC(e)))}return{includes:t,excludes:r}})(e),n=new Set;for(let e of t)for(let t of(0,mr.globSync)(e,{exclude:r.length>0?[...r]:void 0}))n.add((0,hX.resolve)(t));if(r.length>0){let e=new Set;for(let t of r)for(let r of(0,mr.globSync)(t))e.add((0,hX.resolve)(r));for(let t of e)n.delete(t)}return[...n].sort((e,t)=>e<t?-1:+(e>t))},Rs=lv(Rn,{glob:(e,t)=>oU({try:()=>Ri(e),catch:t=>new Rr({operation:"glob",patterns:e,reason:t instanceof Error?t.message:String(t)})}),hashFiles:(e,t)=>cs({try:async()=>{let r=`${t?.workspace??process.env.GITHUB_WORKSPACE??process.cwd()}${hX.sep}`,n=Ri(e),i=(0,mt.createHash)("sha256"),s=!1;for(let e of n){if(!e.startsWith(r))continue;let t=(0,mt.createHash)("sha256");await (0,p6.pipeline)((0,mr.createReadStream)(e),t),i.write(t.digest()),s=!0}return s?r4(i.digest("hex")):r3()},catch:t=>new Rr({operation:"hashFiles",patterns:e,reason:t instanceof Error?t.message:String(t)})})}),Ro=lO(xv.pipe(lP(Cu)),xG,Rt,h2.pipe(lP(mT)),hP,Rs,mT);var Ra=Object.defineProperty;let RA=n0("github-action-effects/StepStack",{defaultValue:()=>[]}),Rl=e=>AT(({logLevel:t,message:r})=>{let n=(Array.isArray(r)?r:[r]).map(e=>tT(e)).join(" ");if(hY(t,"Warn"))return void(hY(t,"Error")?eU("error",{},n):hY(t,"Warn")?eU("warning",{},n):hY(t,"Info")?process.stdout.write(`${n} -`):eU("debug",{},n));let i=hY(t,"Info")?"info":"debug";e.entries.push({level:i,text:n,timestamp:Date.now()})}),Rc=(e,t)=>{let r,n=(r=e.depth," ".repeat(r)),i=e.icon??"✅";null!==t&&t.length>0?process.stdout.write(`${n}${i} ${e.name}: ${t} -`):process.stdout.write(`${n}${i} ${e.name} -`)},Rd=(e,t)=>{let r,n=(r=e.depth," ".repeat(r));for(let r of(process.stdout.write(`${n}❌ ${e.name}: ${t} -`),e.buffer.entries)){let e="debug"===r.level?"[DEBUG]":"[INFO]";process.stdout.write(`${n} │ ${e} ${r.text} -`)}e.buffer.entries.length>0&&process.stdout.write(`${n} └ Error: ${t} -`)};var Rg=(e=>{let t={};for(var r in e)Ra(t,r,{get:e[r],enumerable:!0});return Ra(t,Symbol.toStringTag,{value:"Module"}),t})({collapse:()=>RI,failure:()=>RC,groupStep:()=>RE,line:()=>Rf,success:()=>Rp,withStep:()=>Rm});let Ru=e=>{let t=s9(e);if(r9(t)){let e=t.value;return e instanceof Error?e.message:"string"==typeof e?e:"object"==typeof e&&null!==e&&"message"in e&&"string"==typeof e.message?e.message:String(e)}return ol(e)},Rh=(e,t,r)=>null!==e.successLine?e.successLine:r?.defaultSummary!==void 0?r.defaultSummary(t):null,Rm=(e,t,r)=>co(function*(){let n=yield*RA,i={entries:[]},s={name:e,depth:n.length,successLine:null,failureLine:null,buffer:i,...r?.icon!==void 0?{icon:r.icon}:{}},o=t.pipe(ao(AM,new Set([Rl(i)])),ao(RA,[...n,s])),a=yield*aw(o);return lG(a)?(Rd(s,Ru(a.cause)),yield*ob(a.cause)):(null!==s.failureLine?Rd(s,s.failureLine):Rc(s,Rh(s,a.value,r)),a.value)}),Rp=e=>co(function*(){let t=yield*RA;if(0===t.length)return void(yield*cC("Step.success called outside a withStep envelope; ignoring."));let r=t[t.length-1];void 0!==r&&(r.successLine=e)}),RC=e=>co(function*(){let t=yield*RA;if(0===t.length)return void(yield*cC("Step.failure called outside a withStep envelope; ignoring."));let r=t[t.length-1];void 0!==r&&(r.failureLine=e)}),Rf=(e,t)=>co(function*(){var r;r=(yield*RA).length,process.stdout.write(`${" ".repeat(r)}${e} ${t} -`)}),RI=(e,t)=>co(function*(){let r=yield*RA,n=r.length,i=yield*a2(e.map(e=>co(function*(){let t={entries:[]},i={name:e.name,depth:n,successLine:null,failureLine:null,buffer:t};return{frame:i,exit:yield*aw(e.effect.pipe(ao(AM,new Set([Rl(t)])),ao(RA,[...r,i])))}})),{concurrency:"unbounded"}),s=i.every(e=>o4(e.exit)&&null===e.frame.failureLine)?t(i.map(e=>({name:e.frame.name,result:e.exit.value}))):null;if(null!==s)return process.stdout.write(`${" ".repeat(n)}${s} -`),i.map(e=>e.exit.value);for(let e of i)if(lG(e.exit))Rd(e.frame,Ru(e.exit.cause));else if(null!==e.frame.failureLine)Rd(e.frame,e.frame.failureLine);else{let t=Rh(e.frame,e.exit.value);Rc(e.frame,t)}let o=i.find(e=>lG(e.exit));return void 0!==o?yield*ob(o.exit.cause):i.map(e=>e.exit.value)}),RE=(e,t,r)=>co(function*(){return yield*(yield*ic).group(e,Rm(e,t,r))}),Ry="~effect/Config";class RB{_tag="ConfigError";name="ConfigError";cause;constructor(e){this.cause=e}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}let RQ={...rQ({label:"Config",evaluate(e){return this.parse(e.getRef(h4))}}),[Ry]:Ry,toJSON:()=>({_id:"Config"})};function RN(e){let t=Object.create(RQ);return t.parse=(t,r=[])=>e(t,r),t}let Rb=eO(2,(e,t)=>RN((r,n)=>o0(e.parse(r,n),t))),RS=eO(2,(e,t)=>RN((r,n)=>oK(e.parse(r,n),t))),Rw=eO(2,(e,t)=>RN((r,n)=>ag(e.parse(r,n),e=>t(e).parse(r,n)))),RD=eO(2,(e,t)=>Rw(e,e=>{var r,n;if(e4(e.cause,gJ)&&function e(t){switch(t._tag){case"MissingKey":return!0;case"InvalidType":case"InvalidValue":return r8(t.actual)||r9(t.actual)&&void 0===t.actual.value;case"OneOf":return void 0===t.actual;case"Encoding":return!!(r8(t.actual)||r9(t.actual)&&void 0===t.actual.value)||e(t.issue);case"Pointer":return e(t.issue);case"Filter":case"UnexpectedKey":case"Forbidden":return!1;case"Composite":return t.issues.every(e);case"AnyOf":if(0===t.issues.length)return void 0===t.actual;return t.issues.every(e)}}(e.cause.issue)){return r=t,RN(()=>oN(r))}return n=e.cause,RN(()=>ru(new RB(n)))})),Rx=oH(function*(e,t){let r=yield*e.load(t);if(void 0!==r)switch(r._tag){case"Value":return r.value;case"Record":{if(void 0!==r.value)return r.value;let n={};for(let i of r.keys){let r=yield*Rx(e,[...t,i]);void 0!==r&&(n[i]=r)}return n}case"Array":{if(void 0!==r.value)return r.value;let n=[];for(let i=0;i<r.length;i++)n.push((yield*Rx(e,[...t,i])));return n}}}),RR=oH(function*(e,t,r){switch(e._tag){case"Objects":{let n=yield*t.load(r);if(void 0===n&&r.length>0)return;let i={};for(let n of e.propertySignatures){let e=n.name;if("string"==typeof e){let s=yield*RR(n.type,t,[...r,e]);void 0!==s&&(i[e]=s)}}if(e.indexSignatures.length>0&&n&&"Record"===n._tag)for(let s of e.indexSignatures){let e=function(e){let t=function(e){return(t,r)=>Ai(e(t,r))}(g0(gB(e)));return e=>{let r=t(e,dD);return!!o4(r)||(dt(r.cause,"Type guard adapter can only return false for schema issues"),!1)}}(s.parameter);for(let o of n.keys)if(!Object.hasOwn(i,o)&&e(o)){let e=yield*RR(s.type,t,[...r,o]);void 0!==e&&(i[o]=e)}}return i}case"Arrays":{let n=yield*t.load(r);if(void 0===n)return;if(n&&"Value"===n._tag||n&&"Array"===n._tag&&void 0!==n.value)return""===n.value?[]:n.value.split(",");let i=[],s=n&&"Array"===n._tag?n.length:e.elements.length;for(let n=0;n<s;n++){let s=e.elements[n]??e.rest[0];void 0!==s&&i.push((yield*RR(s,t,[...r,n])))}return i}case"Union":return yield*Rx(t,r);case"Suspend":return yield*RR(e.thunk(),t,r);default:{let e=yield*t.load(r);if(void 0===e)return;if("Value"===e._tag||"Record"===e._tag&&void 0!==e.value||"Array"===e._tag&&void 0!==e.value)return e.value;return}}});function Rk(e,t){let r=un(uU(e.ast),{schema:e}),n=gZ(r),i=gQ(r.ast),s="string"==typeof t?[t]:t??[];return RN((e,t)=>{let r=[...t,...s];return RR(i,e,r).pipe(o$(e=>n(e).pipe(o2(e=>new gW(r.length>0?new c_(r,e):e)))),o2(e=>new RB(e)))})}function Rv(e){return Rk(uc,e)}function RM(e){let t;return Rk((t=void 0,un(g7()([uc],([e])=>(r,n,i)=>e4(r,cH)?o$(void 0!==t?o2(t(r.label,i),e=>new c_(["label"],e)):oM,()=>o3(gZ(e)(cO(r),i),{onSuccess:()=>r,onFailure:()=>{let e=r4(r);return new cj(n,e,[new c_(["value"],new cX(e))])}})):ru(new cK(n,r4(r))),{typeConstructor:{_tag:"effect/Redacted",options:void 0},generation:{runtime:"Schema.Redacted(?)",Type:"Redacted.Redacted<?>",importDeclaration:'import * as Redacted from "effect/Redacted"'},expected:"Redacted",toCodecJson:([e])=>{var t,r;let n,i;return t=e,n=(r=o2(function e(t){switch(t._tag){case"MissingKey":return t;case"Forbidden":return new cZ(nC(t.actual,cP),t.annotations);case"Filter":return new cq(cP(t.actual),t.filter,e(t.issue));case"Pointer":return new c_(t.path,e(t.issue));case"Encoding":case"InvalidType":case"InvalidValue":case"Composite":return new cX(nC(t.actual,cP));case"AnyOf":case"OneOf":case"UnexpectedKey":return new cX(r4(cP(t.actual)))}}),e=>{var t;return un(gp(t=e.ast,new dc(r,eH),gB(t)),{schema:e})})(t),i={decode:ds(e=>cP(e,{label:void 0})),encode:ds(cO)},new dw(n.ast,du(i))},toArbitrary:([e])=>()=>({arbitrary:e.arbitrary.map(e=>cP(e,{label:void 0})),terminal:e.terminal?.map(e=>cP(e,{label:void 0}))}),toFormatter:()=>globalThis.String,toEquivalence:([e])=>rx((t,r)=>e(cO(t),cO(r)))}).ast,{value:uc})),e)}let RU=e=>Rv(e).pipe(Rb(e=>e.split("\n").filter(e=>""!==e).map(e=>e.trim()))),RF={linux:{x64:"biome-linux-x64",arm64:"biome-linux-arm64"},darwin:{x64:"biome-darwin-x64",arm64:"biome-darwin-arm64"},win32:{x64:"biome-win32-x64.exe",arm64:"biome-win32-arm64.exe"}},RT=uc.check((eu=Math.max(0,Math.floor(eu=1)),go(e=>e.length>=eu,{expected:`a value with a length of at least ${eu}`,meta:{_tag:"isMinLength",minLength:eu},[gG]:!0,arbitrary:{constraint:{minLength:eu}},...void 0})));class RL extends ux()("ConfigError",{reason:RT,file:us(uc),cause:us(ua)}){get message(){return this.file?`${this.reason} (at ${this.file})`:this.reason}}class RO extends ux()("RuntimeInstallError",{runtime:RT,version:RT,reason:RT,cause:us(ua)}){get message(){return`Failed to install ${this.runtime}@${this.version}: ${this.reason}`}}class RH extends ux()("PackageManagerSetupError",{packageManager:RT,version:RT,reason:RT,cause:us(ua)}){get message(){return`Failed to setup ${this.packageManager}@${this.version}: ${this.reason}`}}class RP extends ux()("DependencyInstallError",{packageManager:RT,reason:RT,cause:us(ua)}){get message(){return`Failed to install dependencies with ${this.packageManager}: ${this.reason}`}}class RY extends ux()("CacheError",{operation:uC(["save","restore","key-generation"]),reason:RT,cause:us(ua)}){get message(){return`Cache ${this.operation} failed: ${this.reason}`}}class RG extends uD("CacheState")({key:uc,paths:um(uc),restored:ug}){}class Rz extends uD("TurboServerState")({pid:ud,port:ud,backend:uc}){}let Rq="cache-state",RV=e=>(0,mt.createHash)("sha256").update(e).digest("hex").substring(0,8),R_=e=>[...e.filter(e=>!e.startsWith("*")).sort(),...e.filter(e=>e.startsWith("*")).sort()],RJ=e=>co(function*(){let t=yield*co(function*(){let t=yield*x9,r={silent:!0,cwd:(0,mn.tmpdir)()};return yield*co(function*(){switch(e){case"npm":return(yield*t.execCapture("npm",["config","get","cache"],r)).stdout.trim()||null;case"pnpm":return(yield*t.execCapture("pnpm",["store","path"],r)).stdout.trim()||null;case"yarn":{let e=yield*t.execCapture("yarn",["config","get","cacheFolder"],r).pipe(ag(()=>oN({exitCode:1,stdout:"",stderr:""})));if(e.stdout.trim()&&"undefined"!==e.stdout.trim())return e.stdout.trim();return(yield*t.execCapture("yarn",["cache","dir"],r)).stdout.trim()||null}case"bun":return(yield*t.execCapture("bun",["pm","cache"],r)).stdout.trim()||null;case"deno":{let e=yield*t.execCapture("deno",["info","--json"],r);if(e.stdout.trim()){let t=null;try{t=JSON.parse(e.stdout)}catch{}return t?.denoDir??null}return null}}}).pipe(ag(()=>oN(null)))});return{cachePaths:[...t?[t]:(e=>{let t=(0,mn.platform)(),r=(0,mn.homedir)();switch(e){case"npm":return["win32"===t?(0,hX.join)(r,"AppData","Local","npm-cache"):(0,hX.join)(r,".npm")];case"pnpm":return["win32"===t?(0,hX.join)(r,"AppData","Local","pnpm","store"):(0,hX.join)(r,".local","share","pnpm","store")];case"yarn":return["win32"===t?(0,hX.join)(r,"AppData","Local","Yarn","Cache"):(0,hX.join)(r,".yarn","cache"),"win32"===t?(0,hX.join)(r,"AppData","Local","Yarn","Berry","cache"):(0,hX.join)(r,".cache","yarn")];case"bun":return["win32"===t?(0,hX.join)(r,"AppData","Local","bun","install","cache"):(0,hX.join)(r,".bun","install","cache")];case"deno":return["win32"===t?(0,hX.join)(r,"AppData","Local","deno"):(0,hX.join)(r,".cache","deno")]}})(e),...(e=>{switch(e){case"npm":case"pnpm":case"bun":return["**/node_modules"];case"yarn":return["**/node_modules","**/.yarn/cache","**/.yarn/unplugged","**/.yarn/install-state.gz"];case"deno":return[]}})(e)],lockfilePatterns:(e=>{switch(e){case"npm":return["**/package-lock.json","**/npm-shrinkwrap.json"];case"pnpm":return["**/pnpm-lock.yaml","**/pnpm-workspace.yaml","**/.pnpmfile.cjs"];case"yarn":return["**/yarn.lock","**/.pnp.cjs","**/.yarn/install-state.gz"];case"bun":return["**/bun.lock","**/bun.lockb"];case"deno":return["**/deno.lock"]}})(e)}}),RW=["!**/node_modules/**","!**/.git/**","!**/__fixtures__/**","!**/__tests__/**","!**/__test__/**"],Rj=co(function*(){let e=yield*uP,t=yield*e.getOptional("GITHUB_HEAD_REF");if(r9(t)&&""!==t.value)return t.value;let r=yield*e.getOptional("GITHUB_REF");return r9(r)&&r.value.startsWith("refs/heads/")?r.value.replace("refs/heads/",""):""}),RK=(e,t,r)=>{let n=(0,mt.createHash)("sha256");for(let t of(r&&n.update(r),[...e].sort((e,t)=>e.name.localeCompare(t.name))))n.update(`${t.name}:${t.version}`);return n.update(`${t.name}:${t.version}`),n.digest("hex").substring(0,8)},RX=e=>32===e||9===e||11===e||12===e||160===e||65279===e,RZ=e=>10===e||13===e||8232===e||8233===e,R$=e=>e>=48&&e<=57,R0=(e,t=!1)=>{let r=e.length,n=0,i=0,s="Unknown",o="",a="None",A=t=>{let i=0;for(let s=0;s<t;s++){if(n>=r)return -1;let t=e.charCodeAt(n);if(t>=48&&t<=57)i=16*i+(t-48);else if(t>=65&&t<=70)i=16*i+(t-65+10);else{if(!(t>=97)||!(t<=102))return -1;i=16*i+(t-97+10)}n++}return i},l=()=>{let t=n;if(45===e.charCodeAt(n)&&n++,48===e.charCodeAt(n))n++;else{if(!R$(e.charCodeAt(n)))return a="UnexpectedEndOfNumber",e.substring(t,n);for(n++;n<r&&R$(e.charCodeAt(n));)n++}if(n<r&&46===e.charCodeAt(n)){if(n++,!R$(e.charCodeAt(n)))return a="UnexpectedEndOfNumber",e.substring(t,n);for(n++;n<r&&R$(e.charCodeAt(n));)n++}if(n<r&&(69===e.charCodeAt(n)||101===e.charCodeAt(n))){if(++n<r&&(43===e.charCodeAt(n)||45===e.charCodeAt(n))&&n++,!R$(e.charCodeAt(n)))return a="UnexpectedEndOfNumber",e.substring(t,n);for(n++;n<r&&R$(e.charCodeAt(n));)n++}return e.substring(t,n)},c=()=>{if(o="",a="None",n>=r)return i=r,s="EOF";let t=e.charCodeAt(n);if(RX(t)){i=n;do t=++n<r?e.charCodeAt(n):0;while(RX(t));return o=e.substring(i,n),s="Trivia"}if(RZ(t))return i=n,n++,13===t&&n<r&&10===e.charCodeAt(n)&&n++,o=e.substring(i,n),s="LineBreak";switch(i=n,t){case 123:return n++,o="{",s="OpenBrace";case 125:return n++,o="}",s="CloseBrace";case 91:return n++,o="[",s="OpenBracket";case 93:return n++,o="]",s="CloseBracket";case 58:return n++,o=":",s="Colon";case 44:return n++,o=",",s="Comma";case 34:return o=(()=>{let t="",i=++n;for(;n<r;){let s=e.charCodeAt(n);if(34===s)return t+=e.substring(i,n),n++,t;if(92===s){if(t+=e.substring(i,n),++n>=r)return a="UnexpectedEndOfString",t;let s=e.charCodeAt(n);switch(n++,s){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:{let e=A(4);e>=0?t+=String.fromCharCode(e):a="InvalidUnicode";break}default:a="InvalidEscapeCharacter"}i=n}else{if(RZ(s))return a="UnexpectedEndOfString",t+e.substring(i,n);s<=31&&(a="InvalidCharacter"),n++}}return a="UnexpectedEndOfString",t+e.substring(i,n)})(),s="String";case 47:{let t=n+1<r?e.charCodeAt(n+1):0;if(47===t){for(n+=2;n<r&&!RZ(e.charCodeAt(n));)n++;return o=e.substring(i,n),s="LineComment"}if(42===t){n+=2;let t=r-1,A=!1;for(;n<t;){let t=e.charCodeAt(n);if(RZ(t))13===t&&n+1<r&&10===e.charCodeAt(n+1)&&n++,n++;else if(42===t&&47===e.charCodeAt(n+1)){n+=2,A=!0;break}else n++}return A||(n=r,a="UnexpectedEndOfComment"),o=e.substring(i,n),s="BlockComment"}return n++,o=e.substring(i,n),a="InvalidCharacter",s="Unknown"}case 45:if(n+1<r&&R$(e.charCodeAt(n+1)))return o=l(),s="Number";return n++,o="-",a="InvalidSymbol",s="Unknown";default:if(R$(t))return o=l(),s="Number";if(t>=97&&t<=122){let t=n;for(n++;n<r;){let t=e.charCodeAt(n);if(t>=97&&t<=122)n++;else break}switch(o=e.substring(t,n)){case"true":return s="True";case"false":return s="False";case"null":return s="Null";default:return a="InvalidSymbol",s="Unknown"}}return n++,o=e.substring(i,n),a="InvalidCharacter",s="Unknown"}};return{scan:()=>{let e=c();for(;t&&("Trivia"===e||"LineBreak"===e||"LineComment"===e||"BlockComment"===e);)e=c();return e},getToken:()=>s,getTokenValue:()=>o,getTokenOffset:()=>i,getTokenLength:()=>n-i,getTokenError:()=>a}},R1=uC(["object","array","property","string","number","boolean","null"]);var R2=class extends uD("JsoncNode")({type:R1,offset:ud,length:ud,value:ui(ua),colonOffset:ui(ud),children:ui(um(uE(()=>R2)))}){find(e){let t=this;for(let r of e){if(t?.children===void 0)return r3();if("string"==typeof r){if("object"!==t.type)return r3();t=t.children.find(e=>"property"===e.type&&void 0!==e.children&&e.children[0]?.value===r)?.children?.[1]}else{if("array"!==t.type)return r3();t=t.children[r]}}return void 0!==t?r4(t):r3()}findAtOffset(e){return function e(t,r,n){if(r<t.offset||r>=t.offset+t.length)return r3();if(void 0===t.children||n>=256)return r4(t);for(let i of t.children)if(r>=i.offset&&r<i.offset+i.length)return e(i,r,n+1);return r4(t)}(this,e,0)}pathAt(e){return function e(t,r,n,i=0){if(r<t.offset||r>=t.offset+t.length)return r3();if(void 0===t.children||i>=256)return r4(n);if("object"===t.type){for(let s of t.children)if("property"===s.type&&void 0!==s.children&&r>=s.offset&&r<s.offset+s.length){let t=[...n,s.children[0]?.value],o=s.children[1];if(void 0!==o&&r>=o.offset&&r<o.offset+o.length)return e(o,r,t,i+1);return r4(t)}}else if("array"===t.type)for(let s=0;s<t.children.length;s++){let o=t.children[s];if(r>=o.offset&&r<o.offset+o.length)return e(o,r,[...n,s],i+1)}return r4(n)}(this,e,[])}toValue(){return function e(t,r){if(r>=256)return"object"===t.type?{}:"array"===t.type?[]:null;switch(t.type){case"object":{let n={};if(void 0!==t.children){for(let i of t.children)if("property"===i.type&&void 0!==i.children&&2===i.children.length){let t=i.children[0].value,s=e(i.children[1],r+1);"__proto__"===t?Object.defineProperty(n,t,{value:s,writable:!0,enumerable:!0,configurable:!0}):n[t]=s}}return n}case"array":return(t.children??[]).map(t=>e(t,r+1));case"property":return t.children?.[1]!==void 0?e(t.children[1],r+1):void 0;default:return t.value}}(this,0)}};let R3=e=>Object.assign(Object.create(R2.prototype),e),R4=e=>{switch(e){case"InvalidUnicode":return"InvalidUnicode";case"InvalidEscapeCharacter":return"InvalidEscapeCharacter";case"UnexpectedEndOfNumber":return"InvalidNumberFormat";case"UnexpectedEndOfComment":return"UnexpectedEndOfComment";case"UnexpectedEndOfString":return"UnexpectedEndOfString";case"InvalidCharacter":return"InvalidCharacter";case"InvalidSymbol":return"InvalidSymbol";default:return}};function R5(e,t,r){let n=R0(e,!1),i=[],s=t.disallowComments??!1,o=t.allowTrailingComma??!0,a=t.allowEmptyContent??!1,A="Unknown",l=0;function c(){for(;;){A=n.scan();let e=R4(n.getTokenError());switch(void 0!==e&&m(e),A){case"LineComment":case"BlockComment":s&&m("InvalidCommentToken");break;case"Trivia":case"LineBreak":break;default:return A}}}function d(){return n.getTokenOffset()+n.getTokenLength()}function g(){i.some(e=>"NestingDepthExceeded"===e.code)||i.push({code:"NestingDepthExceeded",offset:n.getTokenOffset(),length:n.getTokenLength()})}let u={getToken:function(){return A},advance:()=>{c()},tokenStart:()=>n.getTokenOffset(),tokenEnd:d};function h(){(e=>{let t=e.getToken();if("CloseBrace"===t||"CloseBracket"===t||"EOF"===t)return e.tokenStart();let r=0,n=e.tokenEnd();do{let t=e.getToken();"OpenBrace"===t||"OpenBracket"===t?r++:("CloseBrace"===t||"CloseBracket"===t)&&r--,e.tokenEnd(),e.advance()}while(r>0&&"EOF"!==e.getToken())})(u)}function m(e,t=[],r=[]){if(i.push({code:e,offset:n.getTokenOffset(),length:n.getTokenLength()}),t.length>0||r.length>0){let e=A;for(;"EOF"!==e;){if(t.includes(e)){c();break}if(r.includes(e))break;e=c()}}}function p(e,t){let r=n.getTokenOffset(),i=d();return c(),R3({type:e,offset:r,length:i-r,value:t})}if(c(),r){let e=function e(){switch(A){case"OpenBracket":return function(){let t=n.getTokenOffset();if(l>=256)return g(),h(),R3({type:"array",offset:t,length:n.getTokenOffset()-t,children:[]});l++;try{var r=t;let i,s=[];c();let a=!1;for(;"CloseBracket"!==A&&"EOF"!==A;){if("Comma"===A){if(a||m("ValueExpected"),c(),"CloseBracket"===A&&o)break}else a&&m("CommaExpected");let t=e();void 0!==t?s.push(t):m("ValueExpected",[],["CloseBracket","Comma"]),a=!0}return"CloseBracket"!==A?(m("CloseBracketExpected"),i=n.getTokenOffset()):(i=d(),c()),R3({type:"array",offset:r,length:i-r,children:s})}finally{l--}}();case"OpenBrace":let t=n.getTokenOffset();if(l>=256)return g(),h(),R3({type:"object",offset:t,length:n.getTokenOffset()-t,children:[]});l++;try{return function(t){let r,i=[];c();let s=!1;for(;"CloseBrace"!==A&&"EOF"!==A;){if("Comma"===A){if(s||m("PropertyNameExpected"),c(),"CloseBrace"===A&&o)break}else s&&m("CommaExpected");if("String"!==A){m("PropertyNameExpected",[],["CloseBrace","Comma"]);continue}let t=n.getTokenOffset(),r=n.getTokenOffset(),a=n.getTokenValue(),l=d();c();let g=R3({type:"string",offset:r,length:l-r,value:a});if("Colon"!==A){m("ColonExpected",[],["CloseBrace","Comma"]),i.push(R3({type:"property",offset:t,length:n.getTokenOffset()-t,children:[g]}));continue}let u=n.getTokenOffset();c();let h=e();void 0!==h?i.push(R3({type:"property",offset:t,length:h.offset+h.length-t,colonOffset:u,children:[g,h]})):(m("ValueExpected",[],["CloseBrace","Comma"]),i.push(R3({type:"property",offset:t,length:n.getTokenOffset()-t,colonOffset:u,children:[g]}))),s=!0}return"CloseBrace"!==A?(m("CloseBraceExpected"),r=n.getTokenOffset()):(r=d(),c()),R3({type:"object",offset:t,length:r-t,children:i})}(t)}finally{l--}case"String":return p("string",n.getTokenValue());case"Number":return p("number",Number.parseFloat(n.getTokenValue()));case"True":return p("boolean",!0);case"False":return p("boolean",!1);case"Null":return p("null",null);default:return}}();return"EOF"!==A&&m("EndOfFileExpected"),void 0!==e||a||m("ValueExpected"),{value:void 0,root:e,errors:i}}let C=function e(){switch(A){case"OpenBracket":if(l>=256)return g(),h(),[];l++;try{c();let t=[],r=!1;for(;"CloseBracket"!==A&&"EOF"!==A;){if("Comma"===A){if(r||m("ValueExpected"),c(),"CloseBracket"===A&&o)break}else r&&m("CommaExpected");let n=e();void 0===n?m("ValueExpected",[],["CloseBracket","Comma"]):t.push(n),r=!0}return"CloseBracket"!==A?m("CloseBracketExpected"):c(),t}finally{l--}case"OpenBrace":if(l>=256)return g(),h(),{};l++;try{c();let t={},r=!1;for(;"CloseBrace"!==A&&"EOF"!==A;){if("Comma"===A){if(r||m("PropertyNameExpected"),c(),"CloseBrace"===A&&o)break}else r&&m("CommaExpected");if("String"!==A){m("PropertyNameExpected",[],["CloseBrace","Comma"]);continue}let i=n.getTokenValue();if(c(),"Colon"!==A){m("ColonExpected",[],["CloseBrace","Comma"]);continue}c();let s=e();void 0===s?m("ValueExpected",[],["CloseBrace","Comma"]):"__proto__"===i?Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[i]=s,r=!0}return"CloseBrace"!==A?m("CloseBraceExpected"):c(),t}finally{l--}case"String":let t;return t=n.getTokenValue(),c(),t;case"Number":let r;return r=Number.parseFloat(n.getTokenValue()),c(),r;case"True":return c(),!0;case"False":return c(),!1;case"Null":return c(),null;default:return}}();return"EOF"!==A&&m("EndOfFileExpected"),void 0!==C||a||m("ValueExpected"),{value:C,root:void 0,errors:i}}let R8=(e,t)=>{let{value:r,errors:n}=R5(e,t,!1);return{value:r,errors:n}},R9=uC(["InvalidSymbol","InvalidNumberFormat","PropertyNameExpected","ValueExpected","ColonExpected","CommaExpected","CloseBraceExpected","CloseBracketExpected","EndOfFileExpected","InvalidCommentToken","UnexpectedEndOfComment","UnexpectedEndOfString","UnexpectedEndOfNumber","InvalidUnicode","InvalidEscapeCharacter","InvalidCharacter","NestingDepthExceeded"]);var R6=class extends uD("JsoncParseErrorDetail")({code:R9,offset:ud,length:ud,line:ud,character:ud}){},R7=class extends ux()("JsoncParseError",{errors:um(R6),input:uc}){get message(){let e=this.errors.length,t=this.errors.map(e=>`${e.code} at ${e.line}:${e.character}`).join("; ");return`JSONC parse failed with ${e} error${1===e?"":"s"}: ${t}`}};uD("JsoncParseOptions")({disallowComments:ui(ug),allowTrailingComma:ui(ug),allowEmptyContent:ui(ug)});let ke=uC(["CircularReference","BigIntValue","TopLevelUnrepresentable"]);uD("JsoncStringifyOptions")({tabSize:ui(ud),insertSpaces:ui(ug)});var kt=class extends ux()("JsoncStringifyError",{code:ke,detail:uc,value:ua}){get message(){return`JSONC stringify failed: ${this.code} — ${this.detail}`}};let kr=e=>void 0===e?{}:{disallowComments:e.disallowComments,allowTrailingComma:e.allowTrailingComma,allowEmptyContent:e.allowEmptyContent},kn=(e,t)=>t.map(t=>{let{line:r,character:n}=((e,t)=>{let r=0,n=0,i=Math.min(t,e.length);for(let t=0;t<i;t++){let i=e.charCodeAt(t);10===i?(r++,n=t+1):13===i?(t+1<e.length&&10===e.charCodeAt(t+1)&&t++,r++,n=t+1):(8232===i||8233===i)&&(r++,n=t+1)}return{line:r,character:t-n}})(e,t.offset);return R6.make({code:t.code,offset:t.offset,length:t.length,line:r,character:n})}),ki=(e,t,r=0)=>{if(e===t)return!0;if(r>=256||null===e||null===t||typeof e!=typeof t)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!ki(e[n],t[n],r+1))return!1;return!0}if(Array.isArray(t))return!1;if("object"==typeof e&&"object"==typeof t){let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let i of n)if(!Object.hasOwn(t,i)||!ki(e[i],t[i],r+1))return!1;return!0}return!1};var ks=class e{static parseResult(e,t){let{value:r,errors:n}=R8(e,kr(t));return n.length>0?rW(new R7({errors:kn(e,n),input:e})):rj(r)}static parse=cu("Jsonc.parse")((t,r)=>oD(e.parseResult(t,r)));static parseTreeResult(e,t){let{root:r,errors:n}=((e,t)=>{let{root:r,errors:n}=R5(e,t,!0);return{root:r,errors:n}})(e,kr(t));return n.length>0?rW(new R7({errors:kn(e,n),input:e})):rj(void 0!==r?r4(r):r3())}static parseTree=cu("Jsonc.parseTree")((t,r)=>oD(e.parseTreeResult(t,r)));static stringifyResult(e,t){let r,n=t?.insertSpaces===!1?" ":t?.tabSize??2;try{r=JSON.stringify(e,null,n)}catch(t){if(t instanceof TypeError){if(/circular|cyclic/i.test(t.message))return rW(new kt({code:"CircularReference",detail:t.message,value:e}));if(/bigint/i.test(t.message))return rW(new kt({code:"BigIntValue",detail:t.message,value:e}))}throw t}return void 0===r?rW(new kt({code:"TopLevelUnrepresentable",detail:"the top-level value (undefined, a function or a symbol) has no JSON representation",value:e})):rj(r)}static stringify=cu("Jsonc.stringify")((t,r)=>oD(e.stringifyResult(t,r)));static stripComments(e,t){let r,n=R0(e),i=[],s=0;do{r=n.scan();let o=n.getTokenOffset(),a=n.getTokenLength();if("LineComment"===r||"BlockComment"===r){if(s<o&&i.push(e.substring(s,o)),void 0!==t)for(let r=0;r<a;r++){let n=e.charCodeAt(o+r);i.push(10===n||13===n?e[o+r]:t)}s=o+a}}while("EOF"!==r);return s<e.length&&i.push(e.substring(s)),i.join("")}static equals(e,t){let r=R8(e,{}),n=R8(t,{});return!(r.errors.length>0)&&!(n.errors.length>0)&&ki(r.value,n.value)}static equalsValue(e,t){let r=R8(e,{});return!(r.errors.length>0)&&ki(r.value,t)}static fromString(t){let r=kr(t);return uc.pipe(uy(ua,dh({decode:e=>{let{value:t,errors:n}=R8(e,r);if(n.length>0){let t=new R7({errors:kn(e,n),input:e});return ru(new cX(r4(e),{message:t.message}))}return oN(t)},encode:t=>oD(e.stringifyResult(t)).pipe(af(e=>new cX(r4(t),{message:e.message})))})))}static JsoncFromString=e.fromString();static schema(t,r){return e.fromString(r).pipe(uy(t))}static bind(t){let r=e.schema(t);return{schema:r,decode:ut(r),encode:ur(r)}}};let ko=uc.check(go(e=>{let t="Must be an absolute version (e.g., '24.11.0'), not a semver range";return/[~^<>=*xX]/.test(e)?t:/^\d+\.\d+\.\d+(-[a-zA-Z0-9.-]+)?(\+[a-zA-Z0-9.-]+)?$/.test(e)?void 0:t})),ka=uC(["node","bun","deno"]),kA=uC(["npm","pnpm","yarn","bun","deno"]);uh({name:uc,version:ko,onFail:us(uc)});let kl=uh({name:ka,version:ko,onFail:us(uc)}),kc=uh({name:kA,version:ko,onFail:us(uc)}),kd=uh({packageManager:kc,runtime:up([kl,um(kl)])}),kg=co(function*(){let e=yield*hD,t=yield*e.readFileString("package.json","utf-8").pipe(af(e=>new RL({reason:"package.json not found. This action requires a package.json with devEngines.packageManager and devEngines.runtime fields.",file:"package.json",cause:e}))),r=yield*oU({try:()=>JSON.parse(t),catch:e=>new RL({reason:"Failed to parse package.json: Invalid JSON",file:"package.json",cause:e})});return(yield*ut(uh({devEngines:kd}))(r).pipe(af(e=>new RL({reason:"package.json has invalid or missing devEngines field",file:"package.json",cause:e})))).devEngines}),ku=co(function*(){let e=yield*Rv("biome-version").pipe(RD(""));if(""!==e)return r4(e);let t=yield*hD,r=yield*co(function*(){return(yield*t.access("biome.jsonc").pipe(o0(()=>!0),ag(()=>oN(!1))))?r4("biome.jsonc"):(yield*t.access("biome.json").pipe(o0(()=>!0),ag(()=>oN(!1))))?r4("biome.json"):r3()});if(r8(r))return r3();let n=yield*t.readFileString(r.value,"utf-8").pipe(ag(()=>oN("{}"))),i=(yield*ks.parse(n).pipe(ag(()=>oN({})))).$schema;if(!i)return r3();let s=i.match(/schemas\/([^/]+)\/schema\.json/);return s?.[1]?r4(s[1]):r3()}),kh=co(function*(){let e=yield*hD;return yield*e.access("turbo.json").pipe(o0(()=>!0),ag(()=>oN(!1)))}),km=(e,t)=>"win32"===e?"x64":"arm64"===t?"aarch64":t,kp={linux:{x64:"x86_64-unknown-linux-gnu",arm64:"aarch64-unknown-linux-gnu"},darwin:{x64:"x86_64-apple-darwin",arm64:"aarch64-apple-darwin"},win32:{x64:"x86_64-pc-windows-msvc"}},kC=e=>{if(e&&"object"==typeof e){if("string"==typeof e.reason&&e.reason)return e.reason;if("string"==typeof e.message&&e.message)return e.message;if("string"==typeof e._tag)return`${e._tag}${e.reason?`: ${e.reason}`:""}`}return e instanceof Error&&e.message?e.message:String(e)||"Unknown error"};class kf extends n0()("RuntimeInstaller"){}let kI=e=>({install:t=>co(function*(){let r,n=yield*xU,i=yield*x9,s=yield*hK,o=yield*oU({try:()=>e.getDownloadUrl(t,process.platform,process.arch),catch:e=>e}),a=yield*oU({try:()=>e.getToolInstallOptions(t,process.platform,process.arch),catch:e=>e}),A=yield*n.download(o);r="zip"===a.archiveType?yield*n.extractZip(A):yield*n.extractTar(A,void 0,a.tarFlags);let l=yield*n.cacheDir(r,e.name,t),c=a.binSubPath?`${l}/${a.binSubPath}`:l;return yield*s.addPath(c),yield*i.exec(e.verifyCommand[0],[...e.verifyCommand.slice(1)]),{name:e.name,version:t,path:c}}).pipe(ag(r=>ru(new RO({runtime:e.name,version:t,reason:kC(r),cause:r}))))}),kE=lv(kf,kI({name:"node",getDownloadUrl(e,t,r){let n="win32"===t,i=`node-v${e}-${n?"win":t}-${{x64:"x64",arm64:"arm64",arm:"armv7l"}[r]??r}.${n?"zip":"tar.gz"}`;return`https://nodejs.org/dist/v${e}/${i}`},getToolInstallOptions:(e,t,r)=>"win32"===t?{archiveType:"zip"}:{archiveType:"tar.gz",binSubPath:"bin",tarFlags:["xz","--strip=1","-f"]},verifyCommand:["node","--version"]})),ky=lv(kf,kI({name:"bun",getDownloadUrl(e,t,r){let n=km(t,r),i="win32"===t?"windows":t;return`https://github.com/oven-sh/bun/releases/download/bun-v${e}/bun-${i}-${n}.zip`},getToolInstallOptions(e,t,r){let n=km(t,r),i="win32"===t?"windows":t;return{archiveType:"zip",binSubPath:`bun-${i}-${n}`}},verifyCommand:["bun","--version"]})),kB=lv(kf,kI({name:"deno",getDownloadUrl(e,t,r){let n=kp[t]?.[r];if(!n)throw Error(`Unsupported platform for Deno: ${t}-${r}`);let i=`deno-${n}.zip`;return`https://github.com/denoland/deno/releases/download/v${e}/${i}`},getToolInstallOptions:(e,t,r)=>({archiveType:"zip"}),verifyCommand:["deno","--version"]})),kQ=(e,t)=>"none"===e?"disabled":"remote"===e?"passthrough (Vercel)":`${e} \xb7 server ready${null===t?"":` (:${t})`}`,kN=e=>(0,hX.join)((0,mn.tmpdir)(),`turbogha-${e}.log`),kb=e=>oS(()=>{let t=(0,mr.openSync)(kN(e.port),"a"),r=(0,CE.spawn)(e.command,[...e.args],{detached:!0,stdio:["ignore",t,t],env:{...process.env,...e.env}});return r.unref(),r.pid??-1}),kS=(e,t={})=>cs({try:()=>fetch(`http://127.0.0.1:${e}/v8/artifacts/status`).then(e=>{if(!e.ok)throw Error(`status ${e.status}`);return!0}),catch:()=>Error("not ready")}).pipe(l7({schedule:l4(`${t.delayMillis??150} millis`),times:(t.attempts??40)-1}),ag(()=>oN(!1))),kw="silk-runtime-action",kD=co(function*(){var e;let t,r,n,i,s,o,a,A,l=yield*hK;yield*oS(()=>{process.env.NPM_CONFIG_UPDATE_NOTIFIER="false",process.env.NPM_CONFIG_FUND="false",process.env.HUSKY="0",process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT="0"});let c=yield*Rg.groupStep("Detect configuration",co(function*(){var e,t;let r,n,i=(r=Array.isArray((e=yield*kg).runtime)?e.runtime:[e.runtime],{...e,runtime:r}),s=i.runtime,o=i.packageManager,a=yield*ku,A=yield*kh;return yield*ch(`Detected runtime(s): ${s.map(e=>`${e.name}@${e.version}`).join(", ")}`),yield*ch(`Detected package manager: ${o.name}@${o.version}`),r9(a)&&(yield*ch(`Detected Biome: ${a.value}`)),A&&(yield*ch("Detected Turbo configuration")),yield*Rg.success((n=[...(t={runtimes:s,packageManager:o,biome:r9(a)?a.value:null,turbo:A}).runtimes.map(e=>`${e.name} ${e.version}`),`${t.packageManager.name} ${t.packageManager.version}`],t.biome&&n.push(`biome ${t.biome}`),t.turbo&&n.push("turbo"),n.join(" \xb7 "))),{runtimes:s,packageManager:o,biome:a,turbo:A}})),d=c.packageManager.name,g=((e,t)=>{let r=new Set;for(let n of e)"node"===n.name?r.add(t):"bun"===n.name?r.add("bun"):"deno"===n.name&&r.add("deno");return Array.from(r)})(c.runtimes,d),u=c.runtimes.map(e=>({name:e.name,version:e.version}));r9(c.biome)&&u.push({name:"biome",version:c.biome.value});let h=yield*((e,t=[])=>co(function*(){let r=new Set,n=new Set;for(let t of e){let e=yield*RJ(t);for(let t of e.cachePaths)r.add(t);for(let t of e.lockfilePatterns)n.add(t)}for(let e of(e=>{let t=(0,mn.platform)(),r=process.env.RUNNER_TOOL_CACHE??("win32"===t?"C:\\hostedtoolcache":"/opt/hostedtoolcache"),n=[];for(let{name:t,version:i}of e)("node"===t||"bun"===t||"deno"===t||"biome"===t)&&n.push((0,hX.join)(r,t,i));return n})(t))r.add(e);return{cachePaths:R_(Array.from(r)),lockfilePatterns:R_(Array.from(n))}}))(g,u),m=yield*RU("additional-lockfiles").pipe(RD([])),p=yield*RU("additional-cache-paths").pipe(RD([])),C=[...h.lockfilePatterns,...m],f=yield*co(function*(){let e=yield*Rn,t=[...C,...RW].join("\n");return[...yield*e.glob(t).pipe(ag(()=>oN([])))].sort()}),I=yield*Rv("cache-bust").pipe(RD("")),E=I&&"false"!==I?I:void 0,y=[...h.cachePaths,...p,...c.turbo?["**/.turbo/cache"]:[]];yield*cC(`Active PMs: ${g.join(", ")}`),yield*cC(`Lockfiles found: ${f.length>0?f.join(", "):"(none)"}`),yield*cC(`Cache paths (${y.length}): ${y.join(", ")}`);let B=yield*Rg.groupStep("Turbo remote cache",co(function*(){var e;let t,r=(yield*Rv("turbo-cache").pipe(RD("auto")))==="off"?"off":"auto",n=yield*Rv("turbo-token").pipe(RD("")),i=yield*Rv("turbo-team").pipe(RD("")),s=yield*Rv("turbo-cache-prefix").pipe(RD("")),o=yield*RM("turbo-s3-secret-access-key").pipe(RD(cP(""))),a=yield*RM("turbo-s3-session-token").pipe(RD(cP("")));for(let e of[n,cO(o),cO(a)])""!==e&&(yield*l.setSecret(e));let A={bucket:yield*Rv("turbo-s3-bucket").pipe(RD("")),region:yield*Rv("turbo-s3-region").pipe(RD("")),endpoint:yield*Rv("turbo-s3-endpoint").pipe(RD("")),accessKeyId:yield*Rv("turbo-s3-access-key-id").pipe(RD("")),secretAccessKey:cO(o),sessionToken:cO(a),prefix:yield*Rv("turbo-s3-prefix").pipe(RD(""))},d=(e={turboDetected:c.turbo,cacheMode:r,turboToken:n,turboTeam:i,s3:A}).turboDetected&&"off"!==e.cacheMode?""!==e.turboToken&&""!==e.turboTeam?{mode:"passthrough",token:e.turboToken,team:e.turboTeam}:""!==e.s3.bucket?{mode:"embedded",backend:"s3",s3:e.s3}:{mode:"embedded",backend:"github"}:{mode:"off"},g=yield*(t={serverEntry:(0,hX.join)((0,hX.dirname)((0,yw.fileURLToPath)(import.meta.url)),"turbo-server.js"),prefix:s,spawn:kb,waitForReady:kS},co(function*(){var e,r;let n,i=yield*hK;if("off"===d.mode)return{backend:"none",port:null};if("passthrough"===d.mode)return yield*i.exportVariable("TURBO_TOKEN",d.token),yield*i.exportVariable("TURBO_TEAM",d.team),{backend:"remote",port:null};let s=(e=t.serverEntry,n={TURBOGHA_PORT:String((r={port:41230,prefix:t.prefix,token:kw}).port),TURBOGHA_PREFIX:r.prefix,TURBOGHA_TOKEN:r.token,TURBOGHA_BACKEND:d.backend},"s3"===d.backend&&(n.TURBOGHA_S3_BUCKET=d.s3.bucket,n.TURBOGHA_S3_REGION=d.s3.region,n.TURBOGHA_S3_ENDPOINT=d.s3.endpoint,n.TURBOGHA_S3_ACCESS_KEY_ID=d.s3.accessKeyId,n.TURBOGHA_S3_SECRET_ACCESS_KEY=d.s3.secretAccessKey,n.TURBOGHA_S3_SESSION_TOKEN=d.s3.sessionToken,n.TURBOGHA_S3_PREFIX=d.s3.prefix),{command:process.execPath,args:[e],env:n,port:r.port}),o=yield*t.spawn(s),a=yield*h0;return(yield*a.save("turbo-server-state",new Rz({pid:o,port:41230,backend:d.backend}),Rz),yield*t.waitForReady(41230))?(yield*i.exportVariable("TURBO_API","http://127.0.0.1:41230"),yield*i.exportVariable("TURBO_TOKEN",kw),yield*i.exportVariable("TURBO_TEAM",kw),{backend:d.backend,port:41230}):(yield*cp(`Turbo cache server (pid=${o}) did not become ready on 127.0.0.1:41230; continuing WITHOUT a remote cache. See ${kN(41230)} for server output.`),{backend:"none",port:null})}).pipe(ag(e=>cm(`Turbo cache setup error: ${e instanceof Error?e.message:String(e)}`).pipe(oV({backend:"none",port:null})))));return yield*Rg.success(kQ(g.backend,g.port)),g}).pipe(ag(e=>cm(`Turbo cache setup error: ${e instanceof Error?e.message:String(e)}`).pipe(oV({backend:"none",port:null}))),au(e=>cm(`Turbo cache setup defect: ${e instanceof Error?e.message:String(e)}`).pipe(oV({backend:"none",port:null}))))),Q=yield*Rg.groupStep("Restore cache",co(function*(){var e;let t,r,n=`ACTIONS_CACHE_URL: ${process.env.ACTIONS_CACHE_URL?"set":"NOT SET"}, ACTIONS_RESULTS_URL: ${process.env.ACTIONS_RESULTS_URL?"set":"NOT SET"}, ACTIONS_RUNTIME_TOKEN: ${process.env.ACTIONS_RUNTIME_TOKEN?"set":"NOT SET"}, ACTIONS_CACHE_SERVICE_V2: ${process.env.ACTIONS_CACHE_SERVICE_V2??"NOT SET"}`;yield*cC(`Cache env diagnostic: ${n}`);let i=yield*(t={cachePaths:y,runtimes:u,packageManager:{name:c.packageManager.name,version:c.packageManager.version},lockfiles:f,...E?{cacheBust:E}:{}},co(function*(){let e,r,n,i,s,o,a,A=yield*Cm,l=yield*h0,c=yield*(e=t.runtimes,r=t.packageManager,n=t.lockfiles,i=t.cacheBust,co(function*(){let t=(0,mn.platform)(),s=RK(e,r,i),o=RV((yield*Rj)||"null"),a=yield*co(function*(){if(0===n.length)return"";let e=yield*Rn,t=n.join("\n");return nn((yield*e.hashFiles(t).pipe(ag(()=>oN(r3())))),()=>"").substring(0,8)});return`${t}-${s}-${o}-${a}`})),d=yield*(s=t.runtimes,o=t.packageManager,a=t.cacheBust,co(function*(){if(a)return[];let e=(0,mn.platform)(),t=RK(s,o),r=RV((yield*Rj)||"null");return[`${e}-${t}-${r}-`,`${e}-${t}-`]}));yield*cC(`Cache primary key: ${c}`),yield*cC(`Cache restore keys: ${d.length>0?d.join(", "):"(none — exact match only)"}`),yield*cC(`Cache paths (${t.cachePaths.length}): ${t.cachePaths.join(", ")}`),t.cacheBust&&(yield*cC(`Cache bust value: ${t.cacheBust}`));let g=yield*A.restore(t.cachePaths,c,d).pipe(af(e=>new RY({operation:"restore",reason:`Failed to restore cache with key ${c}`,cause:e}))),u=r9(g)?g.value===c?"exact":"partial":"none";return yield*ch(`Cache ${"exact"===u?"restored (exact match)":"partial"===u?`restored (partial: ${nn(g,()=>"?")})`:"miss"}`),yield*l.save(Rq,new RG({key:c,paths:t.cachePaths,restored:"exact"===u}),RG),u})).pipe(aC("CacheError",e=>co(function*(){yield*cm(`Cache restore failed: ${e.reason}`);let t=(e=>{if(e&&"object"==typeof e&&"cause"in e){let t=e.cause;if(t)return`reason=${t.reason??"?"}, operation=${t.operation??"?"}, key=${t.key??"?"}`}})(e);return t&&(yield*cm(`Cache restore cause detail: ${t}`)),"none"})),ag(e=>co(function*(){return yield*cm(`Cache restore failed: ${e instanceof Error?e.message:String(e)}`),"none"})));return yield*Rg.success((e=f.length,r=`${e} lockfile${1===e?"":"s"}`,"exact"===i?`exact hit (${r})`:"partial"===i?`partial hit (${r})`:`miss (${r})`)),i})),N=yield*Rg.groupStep("Install runtimes",a4(c.runtimes,e=>kf.pipe(oK(t=>t.install(e.version)),l9((e=>{switch(e){case"node":return kE;case"bun":return ky;case"deno":return kB;default:return lU(kf,ru(new RO({runtime:e,version:"unknown",reason:`Unknown runtime: ${e}`})))}})(e.name)),oJ(t=>Rg.success(`${e.name} ${t.version}`)))));yield*Rg.groupStep(`Install ${d} via ${"npm"===d?"npm":"corepack"}`,(s=c.packageManager.version,co(function*(){if("bun"===d||"deno"===d)return void(yield*ch(`${d} is its own package manager, no additional setup needed`));let e=yield*x9;if("npm"===d){let t=(yield*e.execCapture("npm",["--version"])).stdout.trim();if(t!==s){yield*ch(`Upgrading npm from ${t} to ${s}...`);let r=(0,mn.platform)();if("linux"===r||"darwin"===r){yield*e.exec("sudo",["npm","install","-g",`npm@${s}`],{streaming:!0});let t=(0,hX.join)((0,mn.homedir)(),".npm");yield*e.exec("sudo",["chown","-R",`${process.getuid?.()??1e3}:${process.getgid?.()??1e3}`,t]).pipe(ag(()=>oM))}else yield*e.exec("npm",["install","-g",`npm@${s}`],{streaming:!0})}else yield*ch(`npm ${t} already matches required version`)}else{let t=(0,mn.tmpdir)(),r=(yield*e.execCapture("node",["--version"],{cwd:t})).stdout.trim().match(/^v(\d+)\.\d+\.\d+$/);if(r&&Number.parseInt(r[1],10)>=25){yield*ch("Node.js >= 25 detected, installing corepack globally...");let r=(0,mn.platform)();"linux"===r||"darwin"===r?yield*e.exec("sudo",["npm","install","-g","--force","corepack@latest"],{cwd:t,streaming:!0}):yield*e.exec("npm",["install","-g","--force","corepack@latest"],{cwd:t,streaming:!0})}yield*ch("Enabling corepack..."),yield*e.exec("corepack",["enable"],{cwd:t}).pipe(ag(()=>co(function*(){let r=yield*e.execCapture("which",["node"],{cwd:t}),n=(0,hX.join)(r.stdout.trim(),"..");yield*cC("Removing stale corepack shims and retrying...");let i=["",".js",".cmd",".ps1"],s=["pnpm","pnpx","yarn","yarnpkg","npm","npx"].flatMap(e=>i.map(t=>(0,hX.join)(n,`${e}${t}`)));yield*e.exec("rm",["-f",...s]).pipe(ag(()=>oM)),yield*e.exec("corepack",["enable"],{cwd:t,streaming:!0})}))),yield*ch(`Preparing ${d}@${s}...`),yield*e.exec("corepack",["prepare",`${d}@${s}`,"--activate"],{cwd:t,streaming:!0})}let t="pnpm"===d?{cwd:(0,mn.tmpdir)()}:{};yield*e.exec(d,["--version"],{...t,streaming:!0}),yield*Rg.success(`${d}@${s} activated`)}).pipe(af(e=>{let t=kC(e),r=e&&"object"==typeof e&&"stderr"in e?e.stderr:void 0,n=r?` -${r}`:"";return new RH({packageManager:d,version:s,reason:`Package manager setup failed: ${t}${n}`,cause:e})}))));let b=yield*Rv(t="install-deps").pipe(RS(e=>{let r=e.trim();return"true"===r||"True"===r||"TRUE"===r?oN(!0):"false"===r||"False"===r||"FALSE"===r?oN(!1):ru(new RB(new gW(new cX(r4(e),{message:`Input does not meet YAML 1.2 "Core Schema" specification: ${t} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``}))))})).pipe(RD(!0));if(b&&(yield*Rg.groupStep(`Install dependencies with ${d}`,co(function*(){let e,t=yield*x9,r=yield*hD,n=e=>r.access(e).pipe(o0(()=>!0),ag(()=>oN(!1)));if("deno"===d)return void(yield*ch("Deno caches dependencies automatically, skipping install step"));switch(d){case"npm":e=(yield*n("package-lock.json"))?["ci"]:["install"];break;case"pnpm":e=(yield*n("pnpm-lock.yaml"))?["install","--frozen-lockfile"]:["install"];break;case"yarn":e=(yield*n("yarn.lock"))?["install","--immutable"]:["install","--no-immutable"];break;case"bun":{let t=yield*n("bun.lock"),r=yield*n("bun.lockb");e=t||r?["install","--frozen-lockfile"]:["install"]}}yield*t.exec(d,e,{streaming:!0}).pipe(af(e=>{let t=e instanceof Error?e.message:String(e),r=e&&"object"==typeof e&&"stderr"in e?e.stderr:void 0,n=r?` -${r}`:"";return new RP({packageManager:d,reason:`Failed to install dependencies: ${t}${n}`,cause:e})})),yield*Rg.success("Dependencies installed successfully")}))),r9(c.biome)){let e=c.biome.value;yield*Rg.groupStep("Install Biome",co(function*(){let t=yield*xU,r=yield*hK,n=(0,mn.platform)(),i=(0,mn.arch)(),s=RF[n]?.[i];if(!s)return void(yield*ru(Error(`Unsupported platform for Biome: ${n}-${i}`)));let o=`https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${e}/${s}`,a="win32"===n?"biome.exe":"biome",A=yield*t.download(o),l=yield*t.cacheFile(A,a,"biome",e);if("win32"!==n){let e=yield*hD;yield*e.chmod((0,hX.join)(l,a),493)}yield*r.addPath(l),yield*Rg.success(`Biome ${e}`)}).pipe(ag(e=>ru(Error(`Biome install failed: ${e}`)))).pipe(ag(e=>cm(`Biome installation failed: ${e instanceof Error?e.message:String(e)}`))))}yield*co(function*(){let e=N.find(e=>"node"===e.name),t=N.find(e=>"bun"===e.name),r=N.find(e=>"deno"===e.name);yield*l.set("node-version",e?.version??""),yield*l.set("node-enabled",e?"true":"false"),yield*l.set("bun-version",t?.version??""),yield*l.set("bun-enabled",t?"true":"false"),yield*l.set("deno-version",r?.version??""),yield*l.set("deno-enabled",r?"true":"false"),yield*l.set("package-manager",c.packageManager.name),yield*l.set("package-manager-version",c.packageManager.version),yield*l.set("biome-version",r9(c.biome)?c.biome.value:""),yield*l.set("biome-enabled",r9(c.biome)?"true":"false"),yield*l.set("turbo-enabled",c.turbo?"true":"false"),yield*l.set("cache-hit","exact"===Q?"true":"partial"===Q?"partial":"false"),yield*l.set("lockfiles",f.join(",")),yield*l.set("cache-paths",y.join(","))}),yield*l.set("turbo-cache-backend",B.backend),yield*l.set("turbo-cache-port",null===B.port?"":String(B.port));let S=yield*h0,w=yield*S.getOptional(Rq,RG),D=r9(w)?w.value.key:"";yield*l.summary((o=[["Runtime(s)",(e={runtimes:c.runtimes.map(e=>({name:e.name,version:e.version})),packageManager:{name:c.packageManager.name,version:c.packageManager.version},biome:r9(c.biome)?c.biome.value:null,turbo:{backend:B.backend,port:B.port},cacheHit:Q,dependenciesInstalled:b,cacheKey:D,lockfiles:f}).runtimes.map(e=>`${e.name} ${e.version}`).join(", ")],["Package manager",`${e.packageManager.name} ${e.packageManager.version}`]],e.biome&&o.push(["Biome",e.biome]),o.push(["Turbo cache",kQ(e.turbo.backend,e.turbo.port)]),o.push(["Dependency cache","exact"===(a=e.cacheHit)?"✅ exact hit":"partial"===a?"♻️ partial hit":"⬜ miss"]),o.push(["Dependencies",e.dependenciesInstalled?"installed":"skipped"]),A=[e.cacheKey?`Cache key: \`${e.cacheKey}\``:"",e.lockfiles.length>0?`Lockfiles: ${e.lockfiles.map(e=>`\`${e}\``).join(", ")}`:"Lockfiles: none"].filter(e=>""!==e),[((e,t=2)=>`${"#".repeat(t)} ${e}`)("\uD83D\uDE80 Runtime Setup",2),(r=["Component","Detail"],n=o,[`| ${r.join(" | ")} |`,`| ${r.map(()=>"---").join(" | ")} |`,...n.map(e=>`| ${e.join(" | ")} |`)].join("\n")),(i=A.map(e=>`- ${e}`).join("\n"),`<details> -<summary>Cache details</summary> - +`);s.push(e,o,a),"number"==typeof o.size?l+=e.byteLength+o.size+a.byteLength:d=!0}let u=E.encode(`--${t}--\r +`);s.push(u),l+=u.byteLength,d&&(l=null),A=e,o=async function*(){for(let e of s)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(i.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:n(e)}return("string"==typeof A||p(A))&&(o=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=o&&(async()=>{let e=o(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(g(r))break;e.length&&a.enqueue(new Uint8Array(e))}else e?.length&&!g(r)&&a.enqueue("string"==typeof e?E.encode(e):new Uint8Array(e));queueMicrotask(()=>s(a))})(),[{stream:r,source:A,length:l},h]}function b(e,t,r,i){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(N(e=i(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let n=Promise.withResolvers(),s=n.reject,o=e=>{try{n.resolve(t(e))}catch(e){s(e)}};return null==e.body?o(Buffer.allocUnsafe(0)):a(e.body,o,s),n.promise}function N(e){let t=e.body;return null!=t&&(t.stream.locked||i.isDisturbed(t.stream))}function S(e){let t=o(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(u(!i.isDisturbed(e),"The body has already been consumed."),u(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=I?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return b(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=m(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return b(this,e=>new Uint8Array(e).buffer,e,t)},text(){return b(this,y,e,t)},json(){return b(this,C,e,t)},formData(){return b(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=f(e,r),i=new A;return l(i,t),i}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,i]of t)r.append(e,i);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return b(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(N(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,i=new TextDecoderStream("UTF-8");return r.pipeThrough(i)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||g(t)||t.cancel("Response object has been garbage collected").catch(B)}),bodyUnusable:N}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),i=[301,302,303,307,308],n=new Set(i),s=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],a=new Set(s),o=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...o],l=new Set(o),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),u=["CONNECT","TRACE","TRACK"],g=new Set(u),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],p=new Set(h);e.exports={subresource:h,forbiddenMethods:u,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:s,requestDuplex:["half"],subresourceSet:p,badPortsSet:a,redirectStatusSet:n,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:g,referrerPolicyTokens:l}},3518(e,t,r){let i=r(4589),{forgivingBase64:n,collectASequenceOfCodePoints:s,collectASequenceOfCodePointsFast:a,isomorphicDecode:o,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,u=/[\u000A\u000D\u0009\u0020]/u,g=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,i=e.hash.length,n=0===i?r:r.substring(0,r.length-i);return!i&&r.endsWith("#")?n.slice(0,-1):n}function p(e){return function(e){let t=e.length,r=new Uint8Array(t),i=0,n=0;for(;n<t;){let t=e[n];37!==t?r[i++]=t:37!==t||m(e[n+1])&&m(e[n+2])?(r[i++]=f(e[n+1])<<4|f(e[n+2]),n+=2):r[i++]=37,++n}return t===i?r:r.subarray(0,i)}(c.encode(e))}function m(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function f(e){return e>=48&&e<=57?e-48:(223&e)-55}function C(e){e=E(e,!0,!0);let t={position:0},r=a("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let i=a(";",e,t);if(0===(i=E(i,!1,!0)).length||!d.test(i))return"failure";let n=r.toLowerCase(),o=i.toLowerCase(),A={type:n,subtype:o,parameters:new Map,essence:`${n}/${o}`};for(;t.position<e.length;){t.position++,s(e=>u.test(e),e,t);let r=s(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let i=null;if('"'===e[t.position])i=y(e,t,!0),a(";",e,t);else if(0===(i=E(i=a(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===i.length||g.test(i))&&!A.parameters.has(r)&&A.parameters.set(r,i)}return A}function y(e,t,r=!1){let n=t.position,a="";for(i('"'===e[t.position]),t.position++;a+=s(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){a+="\\";break}a+=e[t.position],t.position++}else{i('"'===r);break}}return r?a:e.slice(n,t.position)}function I(e){return 13===e||10===e||9===e||32===e}function E(e,t=!0,r=!0){return l(e,t,r,I)}e.exports={dataURLProcessor:function(e){i("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},s=a(",",t,r),l=s.length;if(s=A(s,!0,!0),r.position>=t.length)return"failure";r.position++;let c=p(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(s)){if("failure"===(c=n(o(c))))return"failure";s=(s=(s=s.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let d=C(s);return"failure"===d&&(d=C("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:p,parseMIMEType:C,collectAnHTTPQuotedString:y,serializeAMimeType:function(e){i("failure"!==e);let{parameters:t,essence:r}=e,n=r;for(let[e,r]of t.entries())n+=";",n+=e,n+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),n+=r;return n},removeHTTPWhitespace:E,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:i}=r(1210),{HTTP_TOKEN_CODEPOINTS:n}=r(3518),{makeEntry:s}=r(1304),{webidl:a}=r(849),o=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function u(e,t,r){let i=r.position;for(;i<t.length&&e(t[i]);)++i;return t.subarray(r.position,r.position=i)}function g(e,t,r,i){let n=0,s=e.length-1;if(t)for(;n<e.length&&i(e[n]);)n++;if(r)for(;s>0&&i(e[s]);)s--;return 0===n&&s===e.length-1?e:e.subarray(n,s+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function p(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){o("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let m=Buffer.from(`--${r}`,"utf8"),f=[],C={position:0},y=e.indexOf(m);if(-1===y)throw h("no boundary found in multipart body");for(C.position=y;;){let t,r;if(e.subarray(C.position,C.position+m.length).equals(m))C.position+=m.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[r.position+i])return!1;return!0}(e,l,C))return f;if(13!==e[C.position]||10!==e[C.position+1])throw h("expected CRLF");C.position+=2;let{name:y,filename:I,contentType:E,encoding:B}=function(e,t){let r=null,s=null,a=null,o=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:s,contentType:a,encoding:o}}let l=u(e=>10!==e&&13!==e&&58!==e,e,t);if(l=g(l,!0,!0,e=>9===e||32===e),!n.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,u(e=>32===e||9===e,e,t),i(l)){case"content-disposition":{r=s=null;let i=!1;if("form-data"!==u(e=>p(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let n=function(e,t){let r;59===e[t.position]&&t.position++,u(e=>32===e||9===e,e,t);let i=u(e=>p(e)&&61!==e&&42!==e,e,t);if(0===i.length)return null;let n=i.toString("ascii").toLowerCase(),s=42===e[t.position];if(s&&t.position++,61!==e[t.position])return null;if(t.position++,u(e=>32===e||9===e,e,t),s){let i=u(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==i[0]&&85!==i[0]||116!==i[1]&&84!==i[1]||102!==i[2]&&70!==i[2]||45!==i[3]||56!==i[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(i.subarray(7)))}else if(34===e[t.position]){t.position++;let i=u(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(i).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let i=u(e=>p(e)&&59!==e,e,t);r=c.decode(i)}return{name:n,value:r,extended:s}}(e,t);if(!n)break;"name"===n.name?r=n.value:"filename"===n.name&&(n.extended?(s=n.value,i=!0):i||(s=n.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=u(e=>10!==e&&13!==e,e,t);a=A(r=g(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=u(e=>10!==e&&13!==e,e,t);o=A(r=g(r,!1,!0,e=>9===e||32===e));break}default:u(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,C);C.position+=2;{let r=e.indexOf(m.subarray(2),C.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(C.position,r-4),C.position+=t.length,"base64"===B&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[C.position]||10!==e[C.position+1])throw h("expected CRLF");C.position+=2,null!==I?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(E??="text/plain")&&(E=""),r=new File([t],I,{type:E})):r=d.decode(Buffer.from(t)),o(a.is.USVString(y)),o("string"==typeof r&&a.is.USVString(r)||a.is.File(r)),f.push(s(y,r,I))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:i}=r(638),{kEnumerableProperty:n}=r(1210),{webidl:s}=r(849),a=r(7975),{runtimeFeatures:o}=r(6979),A=o.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(s.util.markAsUncloneable(this),void 0!==e)throw s.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){s.brandCheck(this,l);let i="FormData.append";s.argumentLengthCheck(arguments,2,i),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,i,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let n=g(e,t,r);this.#eS.push(n)}delete(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.delete"),e=s.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.get"),e=s.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.getAll"),e=s.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.has"),e=s.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){s.brandCheck(this,l);let i="FormData.set";s.argumentLengthCheck(arguments,2,i),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,i,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let n=g(e,t,r),a=this.#eS.findIndex(t=>t.name===e);-1!==a?this.#eS=[...this.#eS.slice(0,a),n,...this.#eS.slice(a+1).filter(t=>t.name!==e)]:this.#eS.push(n)}[a.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let i=a.formatWithOptions(t,r);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:u}=l;function g(e,t,r){if("string"==typeof t);else if(s.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),i("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:n,delete:n,get:n,getAll:n,has:n,set:n,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),s.is.FormData=s.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:g,setFormDataState:d,getFormDataBoundary:u}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:i}=r(3025),{kEnumerableProperty:n}=r(1210),{iteratorMixin:s,isValidHeaderName:a,isValidHeaderValue:o}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function u(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function g(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let i=t[r];if(2!==i.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`});h(e,i[0],i[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let i=0;i<r.length;++i)h(e,r[i],t[r[i]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=u(r),a(t)){if(!o(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===C(e))throw TypeError("immutable");return I(e).append(t,r,!1)}function p(e,t){return e[0]<t[0]?-1:1}class m{cookies=null;sortedMap;headersMap;constructor(e){e instanceof m?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase(),n=this.headersMap.get(i);if(n){let e="cookie"===i?"; ":", ";this.headersMap.set(i,{name:n.name,value:`${n.value}${e}${t}`})}else this.headersMap.set(i,{name:e,value:t});"set-cookie"===i&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase();"set-cookie"===i&&(this.cookies=[t]),this.headersMap.set(i,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:i}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,i]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),i=r.next().value;t[0]=[i[0],i[1].value],l(null!==i[1].value);for(let i=1,n=0,s=0,a=0,o=0,A,c;i<e;++i){for(c=r.next().value,l(null!==(A=t[i]=[c[0],c[1].value])[1]),a=0,s=i;a<s;)t[o=a+(s-a>>1)][0]<=A[0]?a=o+1:s=o;if(i!==o){for(n=i;n>a;)t[n]=t[--n];t[a]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:i}}of this.headersMap)t[e++]=[r,i],l(null!==i);return t.sort(p)}}}class f{#tr;#ti;constructor(e){if(A.util.markAsUncloneable(this),e===i)return;this.#ti=new m,this.#tr="none",void 0!==e&&g(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,f),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,f),A.argumentLengthCheck(arguments,1,"Headers.delete"),!a(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.contains(e,!1)&&this.#ti.delete(e,!1)}get(e){A.brandCheck(this,f),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!a(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.get(e,!1)}has(e){A.brandCheck(this,f),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!a(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.contains(e,!1)}set(e,t){A.brandCheck(this,f),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=u(t=A.converters.ByteString(t,r,"value")),a(e)){if(!o(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.set(e,t,!1)}getSetCookie(){A.brandCheck(this,f);let e=this.#ti.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#ti.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#ti}static setHeadersList(e,t){e.#ti=t}}let{getHeadersGuard:C,setHeadersGuard:y,getHeadersList:I,setHeadersList:E}=f;Reflect.deleteProperty(f,"getHeadersGuard"),Reflect.deleteProperty(f,"setHeadersGuard"),Reflect.deleteProperty(f,"getHeadersList"),Reflect.deleteProperty(f,"setHeadersList"),s("Headers",f,function(e){let t=I(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],i=t.toSortedArray(),n=t.cookies;if(null===n||1===n.length)return t.sortedMap=i;for(let e=0;e<i.length;++e){let{0:t,1:s}=i[e];if("set-cookie"===t)for(let e=0;e<n.length;++e)r.push([t,n[e]]);else r.push([t,s])}return t.sortedMap=r},0,1),Object.defineProperties(f.prototype,{append:n,delete:n,get:n,has:n,set:n,getSetCookie:n,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let i=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&i===f.prototype.entries)try{return I(e).entriesList}catch{}return"function"==typeof i?A.converters["sequence<sequence<ByteString>>"](e,t,r,i.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:g,compareHeaderName:p,Headers:f,HeadersList:m,getHeadersGuard:C,setHeadersGuard:y,setHeadersList:E,getHeadersList:I}},7564(e,t,r){let i,{makeNetworkError:n,makeAppropriateNetworkError:s,filterResponse:a,makeResponse:o,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:u,getRequestDispatcher:g,getRequestState:h,removeRequestAbortListener:p}=r(9553),m=r(8522),{makePolicyContainer:f,clonePolicyContainer:C,requestBadPort:y,TAOCheck:I,appendRequestOriginHeader:E,responseLocationURL:B,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:b,tryUpgradeRequestToAPotentiallyTrustworthyURL:N,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:x,crossOriginResourcePolicyCheck:D,determineRequestsReferrer:R,coarsenedSharedCurrentTime:v,sameOrigin:k,isCancelled:M,isAborted:F,isErrorLike:U,fullyReadBody:T,readableStreamClose:L,urlIsLocal:O,urlIsHttpHttpsScheme:P,urlHasHttpsScheme:H,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:q,createInflate:z,extractMimeType:V,hasAuthenticationEntry:_,includesCredentials:J,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:K,extractBody:$}=r(4626),{redirectStatusSet:X,nullBodyStatus:Z,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),ei=r(8474),{Readable:en,pipeline:es,finished:ea,isErrored:eo,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eu,minimizeSupportedMimeType:eg}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:ep}=r(849),{STATUS_CODES:em}=r(7067),{bytesMatch:ef}=r(2300),{isomorphicEncode:eC}=r(5358),ey=["GET","HEAD"],eI="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function eE(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let i=ec(r[t]),n=r[t+1];if(Array.isArray(n)&&!Buffer.isBuffer(n))for(let t of n)e.append(i,t.toString("latin1"),!0);else e.append(i,n.toString("latin1"),!0)}return}for(let[r,i]of Object.entries(t??{}))if(Array.isArray(i))for(let t of i)e.append(r,`${t}`,!0);else e.append(r,`${i}`,!0)}class eB extends ei{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],i=e.timingInfo,n=e.cacheState;P(r)&&null!==i&&(e.timingAllowPassed||(i=S({startTime:i.startTime}),n=""),i.endTime=v(),e.timingInfo=i,eb(i,r.href,t,globalThis,n,"",e.status))}let eb=performance.markResourceTiming;function eN(e,t,r,i,n){if(e&&e.reject(i),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(i).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let s=l(r);s.body?.stream!=null&&eA(s.body.stream)&&n.error(i)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseEndOfBody:n,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:o=eh(),requestObject:A=null}){j(o);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:v(c)}),u={controller:new eB(o),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseConsumeBody:s,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=C(e.client.policyContainer):e.policyContainer=f()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(u,!1),u.controller}async function ew(e,t){try{let r=e.request,i=null;if(r.localURLsOnly&&!O(Q(r))&&(i=n("local URLs only")),N(r),"blocked"===y(r)&&(i=n("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===i){let t=Q(r);k(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",i=await ex(e)):"same-origin"===r.mode?i=n('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?i=n('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",i=await ex(e)):P(Q(r))?(r.responseTainting="cors",i=await eR(e)):i=n("URL scheme must be a HTTP(S) scheme")}if(t)return i;0===i.status||i.internalResponse||(r.responseTainting,"basic"===r.responseTainting?i=a(i,"basic"):"cors"===r.responseTainting?i=a(i,"cors"):"opaque"===r.responseTainting?i=a(i,"opaque"):j(!1));let s=0===i.status?i:i.internalResponse;if(0===s.urlList.length&&s.urlList.push(...r.urlList),r.timingAllowFailed||(i.timingAllowPassed=!0),"opaque"===i.type&&206===s.status&&s.rangeRequested&&!r.headers.contains("range",!0)&&(i=s=n()),0!==i.status&&("HEAD"===r.method||"CONNECT"===r.method||Z.includes(s.status))&&(s.body=null,e.controller.dump=!0),r.integrity){let t=t=>eD(e,n(t));if("opaque"===r.responseTainting||null==i.body)return void t(i.error);T(i.body,n=>{ef(n,r.integrity)?(i.body=K(n)[0],eD(e,i)):t("integrity mismatch")},t)}else eD(e,i)}catch(t){e.controller.terminate(t)}}function ex(e){if(M(e)&&0===e.request.redirectCount)return Promise.resolve(s(e));let{request:t}=e,{protocol:a}=Q(t);switch(a){case"about:":return Promise.resolve(n("about scheme is not supported"));case"blob:":{i||(i=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(n("NetworkError when attempting to fetch resource."));let s=i(e.toString());if("GET"!==t.method||!ep.is.Blob(s))return Promise.resolve(n("invalid method"));let a=o(),A=s.size,l=eC(`${A}`),c=s.type;if(t.headersList.contains("range",!0)){a.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(n("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:i}=e;if(null===r)i=(r=A-i)+i-1;else{if(r>=A)return Promise.resolve(n("Range start is greater than the blob's size."));(null===i||i>=A)&&(i=A-1)}let o=s.slice(r,i+1,c);a.body=$(o)[0];let l=eC(`${o.size}`),d=q(r,i,A);a.status=206,a.statusText="Partial Content",a.headersList.set("content-length",l,!0),a.headersList.set("content-type",c,!0),a.headersList.set("content-range",d,!0)}else{let e=$(s);a.statusText="OK",a.body=e[0],a.headersList.set("content-length",l,!0),a.headersList.set("content-type",c,!0)}return Promise.resolve(a)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(n("failed to fetch the data URL"));return Promise.resolve(o({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eu(e.mimeType)}]],body:K(e.body)[0]}))}case"file:":return Promise.resolve(n("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>n(e));default:return Promise.resolve(n("unknown scheme"))}}function eD(e,t){let r=e.timingInfo,i=()=>{let i=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!P(e.request.url))return;r.endTime=i;let n=t.cacheState,s=t.bodyInfo;t.timingAllowPassed||(r=S(r),n="");let a=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){a=t.status;let e=V(t.headersList);"failure"!==e&&(s.contentType=eg(e))}null!=e.request.initiatorType&&eb(r,e.request.url.href,e.request.initiatorType,globalThis,n,s,a)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let n="error"===t.type?t:t.internalResponse??t;null==n.body?i():ea(n.body.stream,()=>{i()})}async function eR(e){let t=e.request,r=null,i=null,s=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),i=r=await ev(e),"cors"===t.responseTainting&&"failure"===x(t,r))return n("cors failure");"failure"===I(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===D(t.origin,t.client,t.destination,i)?n("blocked"):(X.has(i.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=n("unexpected redirect"):"manual"===t.redirect?r=i:"follow"===t.redirect?r=await function(e,t){let r,i=e.request,s=t.internalResponse?t.internalResponse:t;try{if(r=B(s,Q(i).hash),null==r)return t}catch(e){return Promise.resolve(n(e))}if(!P(r))return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"));if(20===i.redirectCount)return Promise.resolve(n("redirect count exceeded"));if(i.redirectCount+=1,"cors"===i.mode&&(r.username||r.password)&&!k(i,r))return Promise.resolve(n('cross origin not allowed for request mode "cors"'));if("cors"===i.responseTainting&&(r.username||r.password))return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'));if(303!==s.status&&null!=i.body&&null==i.body.source)return Promise.resolve(n());if([301,302].includes(s.status)&&"POST"===i.method||303===s.status&&!ey.includes(i.method))for(let e of(i.method="GET",i.body=null,et))i.headersList.delete(e);k(Q(i),r)||(i.headersList.delete("authorization",!0),i.headersList.delete("proxy-authorization",!0),i.headersList.delete("cookie",!0),i.headersList.delete("host",!0)),null!=i.body&&(j(null!=i.body.source),i.body=K(i.body.source)[0]);let a=e.timingInfo;return a.redirectEndTime=a.postRedirectStartTime=v(e.crossOriginIsolatedCapability),0===a.redirectStartTime&&(a.redirectStartTime=a.startTime),i.urlList.push(r),b(i,s),ew(e,!0)}(e,r):j(!1)),r.timingInfo=s,r)}async function ev(e,t=!1,r=!1){let i=e.request,a=null,o=null,A=null;"no-window"===i.window&&"error"===i.redirect?(a=e,o=i):(i.body?.source!=null?o=u(i):(o=u({...i,body:null})).body=i.body,(a={...e}).request=o);let l="include"===i.credentials||"same-origin"===i.credentials&&"basic"===i.responseTainting,c=o.body?o.body.length:null,d=null;if(null==o.body&&["POST","PUT"].includes(o.method)&&(d="0"),null!=c&&(d=eC(`${c}`)),null==d||o.headersList.contains("content-length",!0)||o.headersList.append("content-length",d,!0),null!=c&&o.keepalive,ep.is.URL(o.referrer)&&o.headersList.append("referer",eC(o.referrer.href),!0),E(o),w(o),o.headersList.contains("user-agent",!0)||o.headersList.append("user-agent",eI,!0),"default"===o.cache&&(o.headersList.contains("if-modified-since",!0)||o.headersList.contains("if-none-match",!0)||o.headersList.contains("if-unmodified-since",!0)||o.headersList.contains("if-match",!0)||o.headersList.contains("if-range",!0))&&(o.cache="no-store"),"no-cache"!==o.cache||o.preventNoCacheCacheControlHeaderModification||o.headersList.contains("cache-control",!0)||o.headersList.append("cache-control","max-age=0",!0),("no-store"===o.cache||"reload"===o.cache)&&(o.headersList.contains("pragma",!0)||o.headersList.append("pragma","no-cache",!0),o.headersList.contains("cache-control",!0)||o.headersList.append("cache-control","no-cache",!0)),o.headersList.contains("range",!0)&&o.headersList.append("accept-encoding","identity",!0),o.headersList.contains("accept-encoding",!0)||(H(Q(o))?o.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):o.headersList.append("accept-encoding","gzip, deflate",!0)),o.headersList.delete("host",!0),l&&!o.headersList.contains("authorization",!0)){let e=null;if(_(o)&&(void 0===o.useURLCredentials||!J(Q(o))));else if(J(Q(o))&&t){let{username:t,password:r}=Q(o);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&o.headersList.append("Authorization",e,!1)}if(o.cache="no-store","no-store"!==o.cache&&o.cache,null==A){if("only-if-cached"===o.cache)return n("only if cached");let e=await ek(a,l,r);!ee.has(o.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...o.urlList],o.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==o.responseTainting&&l&&(void 0!==i.useURLCredentials||W(i.traversableForUserPrompts))){if(null!=i.body){if(null==i.body.source)return A;i.body=K(i.body.source)[0]}if(void 0===i.useURLCredentials||t)return M(e)?s(e):A;e.controller.connection.destroy(),A=await ev(e,!0)}if(407===A.status)return"no-window"===i.window?n():M(e)?s(e):n("proxy authentication required");if(421===A.status&&!r&&(null==i.body||null!=i.body.source)){if(M(e))return s(e);e.controller.connection.destroy(),A=await ev(e,t,!0)}return A}async function ek(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let i=e.request,a=null,A=e.timingInfo;i.cache="no-store",i.mode;let l=null;if(null==i.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=i.body){let t=async function*(t){M(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of i.body.stream)yield*t(e);!M(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){M(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:n,headersList:s,socket:d}=await function({body:t}){let r=Q(i),n=e.controller.dispatcher,s=r.pathname+r.search,a=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(o,l){return new Promise((d,u)=>n.dispatch({path:a?`${s}?`:s,origin:r.origin,method:i.method,body:n.isMockActive?i.body&&(i.body.source||i.body.stream):o,__mockAgentBodyForDispatch:o,headers:i.headersList.entries,maxRedirections:0,upgrade:"websocket"===i.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let i=e=>t.abort(e);r.destroyed?i(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",i),this.abort=r.abort=i),A.finalNetworkRequestStartTime=v(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=v(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,n){if(t<200)return;let s=e?.rawHeaders??[],a=new c;eE(a,r,s);let o=a.get("location",!0);this.body=new en({read:()=>e.resume()});let A=o&&"follow"===i.redirect&&X.has(t),l=[];if("HEAD"!==i.method&&"CONNECT"!==i.method&&!Z.includes(t)&&!A){let e=a.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void u(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(m.createGunzip({flush:m.constants.Z_SYNC_FLUSH,finishFlush:m.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(z({flush:m.constants.Z_SYNC_FLUSH,finishFlush:m.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(m.createBrotliDecompress({flush:m.constants.BROTLI_OPERATION_FLUSH,finishFlush:m.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(m.createZstdDecompress({flush:m.constants.ZSTD_e_continue,finishFlush:m.constants.ZSTD_e_end}));else{l.length=0;break}}}let g=t=>this.onResponseError(e,t);d({status:t,statusText:n,headersList:a,body:l.length?es(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",g):this.body.on("error",g)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,n){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===i.mode&&!1!==l&&n?.code==="UND_ERR_INFO"&&n?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(o,!1)):(this.body?.destroy(n),e.controller.terminate(n),u(n))},onRequestUpgrade(e,t,r,i){if(null!=i.session&&200!==t||null==i.session&&101!==t)return!1;let n=e?.rawHeaders??[],s=new c;return eE(s,r,n),d({status:t,statusText:em[t],headersList:s,socket:i}),!0}}))}(t)}({body:l});if(d)a=o({status:r,statusText:n,headersList:s,socket:d});else{let i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next(),a=o({status:r,statusText:n,headersList:s})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),s(e,t);return n(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{M(e)||e.controller.abort(t)},type:"bytes"});return a.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){F(e)?(a.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:U(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:i}=await e.controller.next();if(F(e))break;t=r?void 0:i}catch(i){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=i,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,a);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let i=new Uint8Array(t);if(i.byteLength&&e.controller.controller.enqueue(i),eo(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},a}e.exports={fetch:function(e,t){let r;ep.argumentLengthCheck(arguments,1,"globalThis.fetch");let i=Promise.withResolvers();try{r=new d(e,t)}catch(e){return i.reject(e),i.promise}let n=h(r);if(r.signal.aborted)return eN(i,n,null,r.signal.reason,null),i.promise;let s=n.client.globalObject;s?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let a=null,o=!1,l=null,c=el(r.signal,()=>{o=!0,j(null!=l),l.abort(r.signal.reason);let e=a?.deref();eN(i,n,e,r.signal.reason,l.controller)}),u=()=>{c(),p(r)};return l=eS({request:n,processResponseEndOfBody:e=>{eQ(e,"fetch"),u()},processResponse:e=>{if(!o){if(e.aborted){eN(i,n,a,l.serializedAbortReason,l.controller),u();return}if("error"===e.type){i.reject(TypeError("fetch failed",{cause:e.error})),u();return}a=new WeakRef(A(e,"immutable")),i.resolve(a.deref()),i=null}},dispatcher:g(r),requestObject:r}),i.promise},Fetch:eB,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let i,{extractBody:n,mixinBody:s,cloneBody:a,bodyUnusable:o}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:u,setHeadersList:g,getHeadersList:h}=r(3470),p=r(1210),m=r(7975),{isValidHTTPToken:f,sameOrigin:C,environmentSettingsObject:y}=r(638),{forbiddenMethodsSet:I,corsSafeListedMethodsSet:E,referrerPolicy:B,requestRedirect:Q,requestMode:b,requestCredentials:N,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:x,normalizedMethodRecordsBase:D,normalizedMethodRecords:R}=p,{webidl:v}=r(849),{URLSerializer:k}=r(3518),{kConstruct:M}=r(3025),F=r(4589),{getMaxListeners:U,setMaxListeners:T,defaultMaxListeners:L}=r(8474),O=Symbol("abortController"),P=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),H=new WeakMap;try{i=U(new AbortController().signal)>0}catch{i=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){P.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=H.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}H.delete(r.signal)}}}}let G=!1;class q{#tn;#Q;#Z;#eS;#ts=null;constructor(e,t){let r;if(v.util.markAsUncloneable(this),e===M)return;v.argumentLengthCheck(arguments,1,"Request constructor"),e=v.converters.RequestInfo(e),t=v.converters.RequestInit(t);let s=null,a=null,u=y.settingsObject.baseUrl,m=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,u)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=$({urlList:[r]}),a="cors"}else F(v.is.Request(e)),s=e.#eS,m=e.#tn,this.#Q=t.dispatcher||e.#Q;let B=y.settingsObject.origin,Q="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&C(s.window,B)&&(Q=s.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),s=$({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:y.settingsObject,window:Q,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let b=0!==Object.keys(t).length;if(b&&("navigate"===s.mode&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)s.referrer="no-referrer";else{let t;try{t=new URL(e,u)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||B&&!C(t,y.settingsObject.baseUrl)?s.referrer="client":s.referrer=t}}if(void 0!==t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:a))throw v.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(s.mode=r),void 0!==t.credentials&&(s.credentials=t.credentials),void 0!==t.cache&&(s.cache=t.cache),"only-if-cached"===s.cache&&"same-origin"!==s.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(s.redirect=t.redirect),null!=t.integrity&&(s.integrity=String(t.integrity)),void 0!==t.keepalive&&(s.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)s.method=r;else{if(!f(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(I.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=D[t]??e,s.method=e}G||"patch"!==s.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(m=t.signal),this.#eS=s;let N=new AbortController;if(this.#tn=N.signal,null!=m)if(m.aborted)N.abort(m.reason);else{this[O]=N;let e=Y(new WeakRef(N));i&&U(m)===L&&T(1500,m);let t=p.addAbortListener(m,e);P.register(N,{signal:m,abort:e},e),this.#ts=()=>{P.unregister(e),t(),this.#ts=null}}if(this.#Z=new A(M),g(this.#Z,s.headersList),d(this.#Z,"request"),"no-cors"===r){if(!E.has(s.method))throw TypeError(`'${s.method} is unsupported in no-cors mode.`);d(this.#Z,"request-no-cors")}if(b){let e=h(this.#Z),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:i}of r.rawValues())e.append(t,i,!1);e.cookies=r.cookies}else l(this.#Z,r)}let S=v.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===s.method||"HEAD"===s.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=n(t.body,s.keepalive);w=e,r&&!h(this.#Z).contains("content-type",!0)&&this.#Z.append("content-type",r,!0)}let x=w??S;if(null!=x&&null==x.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==s.mode&&"cors"!==s.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let k=x;if(null==w&&null!=S){if(o(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),k={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=k}get method(){return v.brandCheck(this,q),this.#eS.method}get url(){return v.brandCheck(this,q),k(this.#eS.url)}get headers(){return v.brandCheck(this,q),this.#Z}get destination(){return v.brandCheck(this,q),this.#eS.destination}get referrer(){return(v.brandCheck(this,q),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return v.brandCheck(this,q),this.#eS.referrerPolicy}get mode(){return v.brandCheck(this,q),this.#eS.mode}get credentials(){return v.brandCheck(this,q),this.#eS.credentials}get cache(){return v.brandCheck(this,q),this.#eS.cache}get redirect(){return v.brandCheck(this,q),this.#eS.redirect}get integrity(){return v.brandCheck(this,q),this.#eS.integrity}get keepalive(){return v.brandCheck(this,q),this.#eS.keepalive}get isReloadNavigation(){return v.brandCheck(this,q),this.#eS.reloadNavigation}get isHistoryNavigation(){return v.brandCheck(this,q),this.#eS.historyNavigation}get signal(){return v.brandCheck(this,q),this.#tn}get body(){return v.brandCheck(this,q),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return v.brandCheck(this,q),!!this.#eS.body&&p.isDisturbed(this.#eS.body.stream)}get duplex(){return v.brandCheck(this,q),"half"}clone(){if(v.brandCheck(this,q),o(this.#eS))throw TypeError("unusable");let e=X(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=H.get(this.signal);void 0===e&&(e=new Set,H.set(this.signal,e));let r=new WeakRef(t);e.add(r),p.addAbortListener(t.signal,Y(r))}return Z(e,this.#Q,t.signal,u(this.#Z))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${m.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#tn=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#Z=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#ts?.()}}let{setRequestSignal:z,getRequestDispatcher:V,setRequestDispatcher:_,setRequestHeaders:J,getRequestState:W,setRequestState:j,removeRequestAbortListener:K}=q;function $(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function X(e){let t=$({...e,body:null});return null!=e.body&&(t.body=a(e.body)),t}function Z(e,t,r,i){let n=new q(M);j(n,e),_(n,t),z(n,r);let s=new A(M);return J(n,s),g(s,e.headersList),d(s,i),n}Reflect.deleteProperty(q,"setRequestSignal"),Reflect.deleteProperty(q,"getRequestDispatcher"),Reflect.deleteProperty(q,"setRequestDispatcher"),Reflect.deleteProperty(q,"setRequestHeaders"),Reflect.deleteProperty(q,"getRequestState"),Reflect.deleteProperty(q,"setRequestState"),Reflect.deleteProperty(q,"removeRequestAbortListener"),s(q,W),Object.defineProperties(q.prototype,{method:x,url:x,headers:x,redirect:x,clone:x,signal:x,duplex:x,destination:x,body:x,bodyUsed:x,isHistoryNavigation:x,isReloadNavigation:x,keepalive:x,integrity:x,cache:x,credentials:x,attribute:x,referrerPolicy:x,referrer:x,mode:x,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),v.is.Request=v.util.MakeTypeAssertion(q),v.converters.RequestInfo=function(e){return"string"==typeof e?v.converters.USVString(e):v.is.Request(e)?e:v.converters.USVString(e)},v.converters.RequestInit=v.dictionaryConverter([{key:"method",converter:v.converters.ByteString},{key:"headers",converter:v.converters.HeadersInit},{key:"body",converter:v.nullableConverter(v.converters.BodyInit)},{key:"referrer",converter:v.converters.USVString},{key:"referrerPolicy",converter:v.converters.DOMString,allowedValues:B},{key:"mode",converter:v.converters.DOMString,allowedValues:b},{key:"credentials",converter:v.converters.DOMString,allowedValues:N},{key:"cache",converter:v.converters.DOMString,allowedValues:S},{key:"redirect",converter:v.converters.DOMString,allowedValues:Q},{key:"integrity",converter:v.converters.DOMString},{key:"keepalive",converter:v.converters.boolean},{key:"signal",converter:v.nullableConverter(e=>v.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:v.converters.any},{key:"duplex",converter:v.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:v.converters.any},{key:"priority",converter:v.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:q,makeRequest:$,fromInnerRequest:Z,cloneRequest:X,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:K}},165(e,t,r){let{Headers:i,HeadersList:n,fill:s,getHeadersGuard:a,setHeadersGuard:o,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:u,bodyUnusable:g}=r(4626),h=r(1210),p=r(7975),{kEnumerableProperty:m}=h,{isValidReasonPhrase:f,isCancelled:C,isAborted:y,isErrorLike:I,environmentSettingsObject:E}=r(638),{redirectStatusSet:B,nullBodyStatus:Q}=r(6113),{webidl:b}=r(849),{URLSerializer:N}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:x,serializeJavascriptValueToJSONString:D}=r(5358),R=new TextEncoder("utf-8");class v{#Z;#eS;static error(){return G(O(),"immutable")}static json(e,t){b.argumentLengthCheck(arguments,1,"Response.json"),t=b.converters.ResponseInit(t);let r=l(R.encode(D(e))),i=G(L({}),"response");return Y(i,t,{body:r[0],type:"application/json"}),i}static redirect(e,t=302){let r;b.argumentLengthCheck(arguments,1,"Response.redirect"),e=b.converters.USVString(e),t=b.converters["unsigned short"](t);try{r=new URL(e,E.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!B.has(t))throw RangeError(`Invalid status code ${t}`);let i=G(L({}),"immutable");i.#eS.status=t;let n=x(N(r));return i.#eS.headersList.append("location",n,!0),i}constructor(e=null,t){if(b.util.markAsUncloneable(this),e===S)return;null!==e&&(e=b.converters.BodyInit(e,"Response","body")),t=b.converters.ResponseInit(t),this.#eS=L({}),this.#Z=new i(S),o(this.#Z,"response"),A(this.#Z,this.#eS.headersList);let r=null;if(null!=e){let[t,i]=l(e);r={body:t,type:i}}Y(this,t,r)}get type(){return b.brandCheck(this,v),this.#eS.type}get url(){b.brandCheck(this,v);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":N(t,!0)}get redirected(){return b.brandCheck(this,v),this.#eS.urlList.length>1}get status(){return b.brandCheck(this,v),this.#eS.status}get ok(){return b.brandCheck(this,v),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return b.brandCheck(this,v),this.#eS.statusText}get headers(){return b.brandCheck(this,v),this.#Z}get body(){return b.brandCheck(this,v),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return b.brandCheck(this,v),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(b.brandCheck(this,v),g(this.#eS))throw b.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&u.register(this,new WeakRef(this.#eS.body.stream)),G(e,a(this.#Z))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${p.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#Z}static setResponseHeaders(e,t){e.#Z=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:k,setResponseHeaders:M,getResponseState:F,setResponseState:U}=v;function T(e){if(e.internalResponse)return H(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new n(e?.headersList):new n,urlList:e?.urlList?[...e.urlList]:[]}}function O(e){return L({type:"error",status:0,error:I(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function P(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,i)=>(w(!(r in t)),e[r]=i,!0)})}function H(e,t){return"basic"===t?P(e,{type:"basic",headersList:e.headersList}):"cors"===t?P(e,{type:"cors",headersList:e.headersList}):"opaque"===t?P(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?P(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!f(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(F(e).status=t.status),"statusText"in t&&null!=t.statusText&&(F(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&s(k(e),t.headers),r){if(Q.includes(e.status))throw b.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});F(e).body=r.body,null==r.type||F(e).headersList.contains("content-type",!0)||F(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new v(S);U(r,e);let n=new i(S);return M(r,n),A(n,e.headersList),o(n,t),0!==e.urlList.length&&e.body?.stream&&u.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(v,"getResponseHeaders"),Reflect.deleteProperty(v,"setResponseHeaders"),Reflect.deleteProperty(v,"getResponseState"),Reflect.deleteProperty(v,"setResponseState"),d(v,F),Object.defineProperties(v.prototype,{type:m,url:m,status:m,ok:m,redirected:m,statusText:m,headers:m,clone:m,body:m,bodyUsed:m,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(v,{json:m,redirect:m,error:m}),b.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?b.converters.USVString(e,t,r):b.is.Blob(e)||b.is.BufferSource(e)||b.is.FormData(e)||b.is.URLSearchParams(e)?e:b.converters.DOMString(e,t,r)},b.converters.BodyInit=function(e,t,r){return b.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:b.converters.XMLHttpRequestBodyInit(e,t,r)},b.converters.ResponseInit=b.dictionaryConverter([{key:"status",converter:b.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:b.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:b.converters.HeadersInit}]),b.is.Response=b.util.MakeTypeAssertion(v),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:O,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(C(e)),y(e)?O(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):O(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:H,Response:v,cloneResponse:T,fromInnerResponse:G,getResponseState:F}},638(e,t,r){let{Transform:i}=r(7075),n=r(8522),{redirectStatusSet:s,referrerPolicyTokens:a,badPortsSet:o}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:u,isValidHTTPToken:g,normalizedMethodRecordsBase:h}=r(1210),p=r(4589),{isUint8Array:m}=r(3429),{webidl:f}=r(849),{isomorphicEncode:C,collectASequenceOfCodePoints:y,removeChars:I}=r(5358);function E(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function B(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function b(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function N(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(p(f.is.URL(e)),U(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),x=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function D(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),x(e)):w(e)}function R(e){var t;return!!f.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||D(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function v(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let k=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function M(e,t,r=0,i=1){class n{#ta;#to;#tA;constructor(e,t){this.#ta=e,this.#to=t,this.#tA=0}next(){let n;if("object"!=typeof this||this===null||!(#ta in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let s=this.#tA,a=t(this.#ta);if(s>=a.length)return{value:void 0,done:!0};let{[r]:o,[i]:A}=a[s];switch(this.#tA=s+1,this.#to){case"key":n=o;break;case"value":n=A;break;case"key+value":n=[o,A]}return{value:n,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,k),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new n(e,t)}}async function F(e,t,r){try{let i=[],n=0;for(;;){let{done:s,value:a}=await e.read();if(s)return void t(Buffer.concat(i,n));if(!m(a))return void r(TypeError("Received non-Uint8Array chunk"));i.push(a),n+=a.length}}catch(e){r(e)}}function U(e){p("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){p("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class O extends i{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?n.createInflate(this.#tl):n.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function P(e,t){let r=t.get(e,!0);if(null===r)return null;let i={position:0},n=[],s="";for(;i.position<r.length;){if(s+=y(e=>'"'!==e&&","!==e,r,i),i.position<r.length)if(34===r.charCodeAt(i.position)){if(s+=l(r,i),i.position<r.length)continue}else p(44===r.charCodeAt(i.position)),i.position++;s=I(s,!0,!0,e=>9===e||32===e),n.push(s),s=""}return n}class H{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=N()}class Y{settingsObject=new H}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:B,ReadableStreamFrom:u,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;p(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else f.is.URL(e.referrer)&&(r=e.referrer);let i=S(r),n=S(r,!0);switch(i.toString().length>4096&&(i=n),t){case"no-referrer":return"no-referrer";case"origin":if(null!=n)return n;return S(r,!0);case"unsafe-url":return i;case"strict-origin":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return n}case"strict-origin-when-cross-origin":{let t=Q(e);if(v(i,t))return i;if(R(i)&&!R(t))return"no-referrer";return n}case"same-origin":if(v(e,i))return i;return"no-referrer";case"origin-when-cross-origin":if(v(e,i))return i;return n;case"no-referrer-when-downgrade":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return i}}},makePolicyContainer:N,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":v(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let i=t[e-1].trim();if(a.has(i)){r=i;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:g,requestBadPort:function(e){let t=Q(e);return L(t)&&o.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:E,responseLocationURL:function(e,t){var r;if(!s.has(e.status))return null;let i=e.headersList.get("location",!0);return null!==i&&b(i)&&(B(i)||(r=i,i=Buffer.from(r,"binary").toString("utf8")),i=new URL(i,E(e))),i&&!i.hash&&(i.hash=t),i},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:v,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,i=0,n=1){let s=M(e,r,i,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return f.brandCheck(this,t),s(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return f.brandCheck(this,t),s(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return f.brandCheck(this,t),s(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,i=globalThis){if(f.brandCheck(this,t),f.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of s(this,"key+value"))r.call(i,t,e,this)}}};return Object.defineProperties(t.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})},createIterator:M,isValidHeaderName:g,isValidHeaderValue:b,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let i=e.stream.getReader();F(i,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:U,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:F,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&y(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&y(e=>" "===e||" "===e,e,r);let i=y(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),n=i.length?Number(i):null;if(t&&y(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&y(e=>" "===e||" "===e,e,r);let s=y(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),a=s.length?Number(s):null;return r.position<e.length||null===a&&null===n||null!==n&&null!==a&&n>a?"failure":{rangeStartValue:n,rangeEndValue:a}},buildContentRange:function(e,t,r){let i="bytes ";return i+=C(`${e}`),i+="-",i+=C(`${t}`),i+="/",i+=C(`${r}`)},createInflate:function(e){return new O(e)},extractMimeType:function(e){let t=null,r=null,i=null,n=P("content-type",e);if(null===n)return"failure";for(let e of n){let n=c(e);"failure"!==n&&"*/*"!==n.essence&&((i=n).essence!==r?(t=null,i.parameters.has("charset")&&(t=i.parameters.get("charset")),r=i.essence):i.parameters.has("charset")||null===t||i.parameters.set("charset",t))}return null==i?"failure":i},getDecodeSplit:P,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:D,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let i=r(4589),{utf8DecodeBytes:n}=r(2718),s=/[\u0009\u000A\u000C\u000D\u0020]/g;function a(e){return 9===e||10===e||12===e||13===e||32===e}let o=/[^\x00-\xFF]/;function A(e,t,r,i){let n=0,s=e.length-1;if(t)for(;n<e.length&&i(e.charCodeAt(n));)n++;if(r)for(;s>0&&i(e.charCodeAt(s));)s--;return 0===n&&s===e.length-1?e:e.slice(n,s+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let i="";for(;r.position<t.length&&e(t[r.position]);)i+=t[r.position],r.position++;return i},collectASequenceOfCodePointsFast:function(e,t,r){let i=t.indexOf(e,r.position),n=r.position;return -1===i?(r.position=t.length,t.slice(n)):(r.position=i,t.slice(n,r.position))},forgivingBase64:function(e){let t=(e=e.replace(s,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:a,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",i=0,n=65535;for(;i<t;)i+n>t&&(n=t-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+=n));return r},isomorphicEncode:function(e){return i(!o.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(n(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,a)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return i("string"==typeof t),t}}},2300(e,t,r){let i,n=r(4589),{runtimeFeatures:s}=r(6979),a=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(s.has("crypto")){let e=(i=r(7598)).getHashes();for(let t of(0===e.length&&a.clear(),a.keys()))!1===e.includes(t)&&a.delete(t)}else a.clear();let o=Map.prototype.get.bind(a),A=Map.prototype.has.bind(a),l=!1===s.has("crypto")||0===a.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,i=t.val;if(g(u(r,e),i))return!0}return!1};function c(e){let t=[],r=null;for(let i of e){if(n(A(i.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(i),r=i;continue}let e=o(r.alg),s=o(i.alg);s<e||(s>e?(r=i,t[0]=i,t.length=1):t.push(i))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],i="",n=[e.slice(0,6),e.slice(7)],s=n[0];if(!A(s))continue;n[1]&&(i=n[1]);let a={alg:s,val:i};t.push(a)}return t}let u=(e,t)=>i.hash(e,t,"base64");function g(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let i=t.length;if(0!==i&&"="===t[i-1]&&(i-=1),0!==i&&"="===t[i-1]&&(i-=1),r!==i)return!1;for(let i=0;i<r;++i)if(e[i]!==t[i]&&("+"!==e[i]||"-"!==t[i])&&("/"!==e[i]||"_"!==t[i]))return!1;return!0}e.exports={applyAlgorithmToBytes:u,bytesMatch:l,caseSensitiveMatch:g,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let i=r(4589),{types:n,inspect:s}=r(7975),{markAsUncloneable:a}=r(5919),o=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!o(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>o(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=a,A.util.ConvertToInt=function(e,t,r,i){let n,s;64===t?(n=0x1fffffffffffff,s="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(s=0,n=Math.pow(2,t)-1):(s=-Math.pow(2,t-1),n=Math.pow(2,t-1)-1);let a=Number(e);if(0===a&&(a=0),A.util.HasFlag(i,A.attributes.EnforceRange)){if(Number.isNaN(a)||a===1/0||a===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((a=A.util.IntegerPart(a))<s||a>n)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${n}, got ${a}.`});return a}return!Number.isNaN(a)&&A.util.HasFlag(i,A.attributes.Clamp)?a=Math.floor(a=Math.min(Math.max(a,s),n))%2==0?Math.floor(a):Math.ceil(a):Number.isNaN(a)||0===a&&Object.is(0,a)||a===1/0||a===-1/0?0:(a=A.util.IntegerPart(a)%Math.pow(2,t),"signed"===r&&a>=Math.pow(2,t-1))?a-Math.pow(2,t):a},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return s(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(n.isArrayBuffer(e))return e.resizable;if(n.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,i,n)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${i} (${A.util.Stringify(t)}) is not iterable.`});let s="function"==typeof n?n():t?.[Symbol.iterator]?.(),a=[],o=0;if(void 0===s||"function"!=typeof s.next)throw A.errors.exception({header:r,message:`${i} is not iterable.`});for(;;){let{done:t,value:n}=s.next();if(t)break;a.push(e(n,r,`${i}[${o++}]`))}return a}},A.recordConverter=function(e,t){return(r,i,s)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:i,message:`${s} ("${A.util.TypeValueToString(r)}") is not an Object.`});let a={};if(!n.isProxy(r)){for(let n of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let o=A.util.Stringify(n),l=e(n,i,`Key ${o} in ${s}`),c=t(r[n],i,`${s}[${o}]`);a[l]=c}return a}for(let n of Reflect.ownKeys(r)){let o=Reflect.getOwnPropertyDescriptor(r,n);if(o?.enumerable){let o=e(n,i,s),A=t(r[n],i,s);a[o]=A}}return a}},A.interfaceConverter=function(e,t){return(r,i,n)=>{if(!e(r))throw A.errors.exception({header:i,message:`Expected ${n} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,i)=>{let n={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let s of e){let{key:e,defaultValue:a,required:o,converter:l}=s;if(!0===o&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==a;if(d&&void 0===c&&(c=a()),o||d||void 0!==c){if(c=l(c,r,`${i}.${e}`),s.allowedValues&&!s.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});n[e]=c}}return n}},A.nullableConverter=function(e){return(t,r,i)=>null===t?t:e(t,r,i)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return n.isArrayBuffer(e)||ArrayBuffer.isView(e)&&n.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,s=0;if(n.isTypedArray(e)||n.isDataView(e)?(t=e.buffer,r=e.byteOffset):i(n.isAnyArrayBuffer(e)),s=e.byteLength,t.detached)return new Uint8Array(0);let a=new Uint8Array(s),o=new Uint8Array(t,r,s);return a.set(o),a},A.converters.DOMString=function(e,t,r,i){if(null===e&&A.util.HasFlag(i,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let i=String(e);for(let e=0;e<i.length;e++)if(i.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${i.charCodeAt(e)} which is greater than 255.`);return i},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,i){return A.util.ConvertToInt(e,16,"unsigned",i,t,r)},A.converters.ArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,i,s){if(8!==A.util.Type(e)||!n.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${i} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(s,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(s,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,i){if(n.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(n.isArrayBufferView(e))return i&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);if(n.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,i){if(n.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(n.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,i);if(n.isArrayBufferView(e))return i|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:i,states:n,sentCloseFrameState:s,emptyBuffer:a,opcodes:o}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:u,validateCloseCodeAndReason:g}=r(3927),{makeRequest:h}=r(9553),{fetching:p}=r(7564),{Headers:m,getHeadersList:f}=r(3470),{getDecodeSplit:C}=r(638),{WebsocketFrameSend:y}=r(4018),I=r(4589),{runtimeFeatures:E}=r(6979),B=E.has("crypto")?r(7598):null,Q=!1;function b(e,t,r,i=!1){if(t??=null,r??="",i&&g(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(s.SENT)||e.closeState.has(s.RECEIVED))e.readyState=n.CLOSING;else{let i=new y;0!==r.length&&null===t&&(t=1e3),I(null===t||Number.isInteger(t)),null===t&&0===r.length?i.frameData=a:null!==t&&null===r?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(i.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=a,e.socket.write(i.createFrame(o.CLOSE)),e.closeState.add(s.SENT),e.readyState=n.CLOSING}else N(e),e.readyState=n.CLOSING}function N(e,t,r,i){d(e.readyState)&&b(e,t,r,!1),e.controller.abort(),u(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,n,s){e.protocol="ws:"===e.protocol?"http:":"https:";let a=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});s.headers&&(a.headersList=f(new m(s.headers)));let o=B.randomBytes(16).toString("base64");for(let e of(a.headersList.append("sec-websocket-key",o,!0),a.headersList.append("sec-websocket-version","13",!0),t))a.headersList.append("sec-websocket-protocol",e,!0);return a.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),p({request:a,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void N(n,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void N(n,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void N(n,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void N(n,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void N(n,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==B.hash("sha1",o+i,"base64"))return void N(n,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let s=e.headersList.get("Sec-WebSocket-Extensions");if(null!==s&&!(r=A(s)).has("permessage-deflate"))return void N(n,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||C("sec-websocket-protocol",a.headersList).includes(l)?(e.socket.on("data",n.onSocketData),e.socket.on("close",n.onSocketClose),e.socket.on("error",n.onSocketError),n.wasEverConnected=!0,n.onConnectionEstablished(e,r)):N(n,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:N,closeWebSocketConnection:b}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:i}=r(849),{kEnumerableProperty:n}=r(1210),{kConstruct:s}=r(3025);class a extends Event{#tc;constructor(e,t={}){if(e===s){super(arguments[1],arguments[2]),i.util.markAsUncloneable(this);return}let r="MessageEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,i.util.markAsUncloneable(this)}get data(){return i.brandCheck(this,a),this.#tc.data}get origin(){return i.brandCheck(this,a),this.#tc.origin}get lastEventId(){return i.brandCheck(this,a),this.#tc.lastEventId}get source(){return i.brandCheck(this,a),this.#tc.source}get ports(){return i.brandCheck(this,a),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,n=null,s="",o="",A=null,l=[]){return i.brandCheck(this,a),i.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new a(e,{bubbles:t,cancelable:r,data:n,origin:s,lastEventId:o,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new a(s,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:o}=a;delete a.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.CloseEventInit(t)),this.#tc=t,i.util.markAsUncloneable(this)}get wasClean(){return i.brandCheck(this,A),this.#tc.wasClean}get code(){return i.brandCheck(this,A),this.#tc.code}get reason(){return i.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e,t),i.util.markAsUncloneable(this),e=i.converters.DOMString(e,r,"type"),t=i.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return i.brandCheck(this,l),this.#tc.message}get filename(){return i.brandCheck(this,l),this.#tc.filename}get lineno(){return i.brandCheck(this,l),this.#tc.lineno}get colno(){return i.brandCheck(this,l),this.#tc.colno}get error(){return i.brandCheck(this,l),this.#tc.error}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:n,code:n,wasClean:n}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:n,filename:n,lineno:n,colno:n,error:n}),i.converters.MessagePort=i.interfaceConverter(i.is.MessagePort,"MessagePort"),i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);let c=[{key:"bubbles",converter:i.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:i.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:i.converters.boolean,defaultValue:()=>!1}];i.converters.MessageEventInit=i.dictionaryConverter([...c,{key:"data",converter:i.converters.any,defaultValue:()=>null},{key:"origin",converter:i.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:()=>""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:i.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),i.converters.CloseEventInit=i.dictionaryConverter([...c,{key:"wasClean",converter:i.converters.boolean,defaultValue:()=>!1},{key:"code",converter:i.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:i.converters.USVString,defaultValue:()=>""}]),i.converters.ErrorEventInit=i.dictionaryConverter([...c,{key:"message",converter:i.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:i.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:i.converters.any}]),e.exports={MessageEvent:a,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:o}},4018(e,t,r){let{runtimeFeatures:i}=r(6979),{maxUnsigned16Bit:n,opcodes:s}=r(7946),a=null,o=8192,A=i.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===o&&(o=0,A(a??=Buffer.allocUnsafeSlow(8192),0,8192)),[a[o++],a[o++],a[o++],a[o++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),i=t?.byteLength??0,s=i,a=6;i>n?(a+=8,s=127):i>125&&(a+=2,s=126);let o=Buffer.allocUnsafe(i+a);o[0]=o[1]=0,o[0]|=128,o[0]=(240&o[0])+e,o[a-4]=r[0],o[a-3]=r[1],o[a-2]=r[2],o[a-1]=r[3],o[1]=s,126===s?o.writeUInt16BE(i,2):127===s&&(o[2]=o[3]=0,o.writeUIntBE(i,4,6)),o[1]|=128;for(let e=0;e<i;++e)o[a+e]=t[e]^r[3&e];return o}static createFastTextFrame(e){let t=l(),r=e.length;for(let i=0;i<r;++i)e[i]^=t[3&i];let i=r,a=6;r>n?(a+=8,i=127):r>125&&(a+=2,i=126);let o=Buffer.allocUnsafeSlow(a);return o[0]=128|s.TEXT,o[1]=128|i,o[a-4]=t[0],o[a-3]=t[1],o[a-2]=t[2],o[a-1]=t[3],126===i?o.writeUInt16BE(r,2):127===i&&(o[2]=o[3]=0,o.writeUIntBE(r,4,6)),[o,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:n}=r(8522),{isValidClientWindowBits:s}=r(3927),{MessageSizeExceededError:a}=r(8065),o=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tu=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tu=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=n;if(this.#T.serverMaxWindowBits){if(!s(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=i({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tu>0&&this.#td[l]>this.#tu){r(new a),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(o),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:i}=r(7075),n=r(4589),{parserStates:s,opcodes:a,states:o,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:u,utf8Decode:g,isControlFrame:h,isTextBinaryFrame:p,isContinuationFrame:m}=r(3927),{failWebsocketConnection:f}=r(5563),{WebsocketFrameSend:C}=r(4018),{PerMessageDeflate:y}=r(959),{MessageSizeExceededError:I}=r(8065);class E extends i{#tg=[];#th=0;#tp=0;#tm=!1;#eS=s.INFO;#tf={};#tC=[];#ty;#B;#tI;#tu;constructor(e,t,r={}){super(),this.#B=e,this.#ty=null==t?new Map:t,this.#tI=r.maxFragments??0,this.#tu=r.maxPayloadSize??0,this.#ty.has("permessage-deflate")&&this.#ty.set("permessage-deflate",new y(t,r))}_write(e,t,r){this.#tg.push(e),this.#tp+=e.length,this.#tm=!0,this.run(r)}#tE(){return!(this.#tu>0)||!!h(this.#tf.opcode)||!(this.#tf.payloadLength+this.#th>this.#tu)||(f(this.#B,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tm;)if(this.#eS===s.INFO){if(this.#tp<2)return e();let t=this.consume(2),r=(128&t[0])!=0,i=15&t[0],n=(128&t[1])==128,o=!r&&i!==a.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],u=16&t[0];if(!d(i))return f(this.#B,1002,"Invalid opcode received"),e();if(n)return f(this.#B,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#ty.has("permessage-deflate"))return void f(this.#B,1002,"Expected RSV1 to be clear.");if(0!==c||0!==u)return void f(this.#B,1002,"RSV1, RSV2, RSV3 must be clear");if(o&&!p(i))return void f(this.#B,1002,"Invalid frame type was fragmented.");if(p(i)&&this.#tC.length>0)return void f(this.#B,1002,"Expected continuation frame");if(this.#tf.fragmented&&o)return void f(this.#B,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||o)&&h(i))return void f(this.#B,1002,"Control frame either too large or fragmented");if(m(i)&&0===this.#tC.length&&!this.#tf.compressed)return void f(this.#B,1002,"Unexpected continuation frame");if(A<=125){if(this.#tf.payloadLength=A,this.#eS=s.READ_DATA,!this.#tE())return}else 126===A?this.#eS=s.PAYLOADLENGTH_16:127===A&&(this.#eS=s.PAYLOADLENGTH_64);p(i)&&(this.#tf.binaryType=i,this.#tf.compressed=0!==l),this.#tf.opcode=i,this.#tf.masked=n,this.#tf.fin=r,this.#tf.fragmented=o}else if(this.#eS===s.PAYLOADLENGTH_16){if(this.#tp<2)return e();let t=this.consume(2);if(this.#tf.payloadLength=t.readUInt16BE(0),this.#eS=s.READ_DATA,!this.#tE())return}else if(this.#eS===s.PAYLOADLENGTH_64){if(this.#tp<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),i=t.readUInt32BE(4);if(0!==r||i>0x80000000-1)return void f(this.#B,1009,"Received payload length > 2^31 bytes.");if(this.#tf.payloadLength=i,this.#eS=s.READ_DATA,!this.#tE())return}else if(this.#eS===s.READ_DATA){if(this.#tp<this.#tf.payloadLength)return e();let t=this.consume(this.#tf.payloadLength);if(h(this.#tf.opcode))this.#tm=this.parseControlFrame(t),this.#eS=s.INFO;else if(this.#tf.compressed){this.#ty.get("permessage-deflate").decompress(t,this.#tf.fin,(t,r)=>{if(t){let e=t instanceof I?1009:1007;f(this.#B,e,t.message);return}if(this.writeFragments(r)){if(this.#tu>0&&this.#th>this.#tu)return void f(this.#B,1009,new I().message);if(!this.#tf.fin){this.#eS=s.INFO,this.#tm=!0,this.run(e);return}u(this.#B,this.#tf.binaryType,this.consumeFragments()),this.#tm=!0,this.#eS=s.INFO,this.run(e)}},this.#th),this.#tm=!1;break}else{if(!this.writeFragments(t))return;!this.#tf.fragmented&&this.#tf.fin&&u(this.#B,this.#tf.binaryType,this.consumeFragments()),this.#eS=s.INFO}}}consume(e){if(e>this.#tp)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tp-=e;let t=this.#tg[0];if(t.length>e)return this.#tg[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tg.shift();let r=0,i=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tg[0],n=t.length;if(n+r===e){i.set(this.#tg.shift(),r);break}if(n+r>e){i.set(t.subarray(0,e-r),r),this.#tg[0]=t.subarray(e-r);break}i.set(this.#tg.shift(),r),r+=n}return i}}writeFragments(e){return this.#tI>0&&this.#tC.length===this.#tI?(f(this.#B,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tC.push(e),!0)}consumeFragments(){let e=this.#tC;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let i=0;i<e.length;++i){let n=e[i];r.set(n,t),t+=n.length}return this.#tC=[],this.#th=0,r}parseCloseBody(e){let t;if(n(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=g(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tf;if(t===a.CLOSE){if(1===r)return f(this.#B,1002,"Received close frame with a 1-byte body."),!1;if(this.#tf.closeInfo=this.parseCloseBody(e),this.#tf.closeInfo.error){let{code:e,reason:t}=this.#tf.closeInfo;return f(this.#B,e,t),!1}if(!this.#B.closeState.has(l.SENT)&&!this.#B.closeState.has(l.RECEIVED)){let e=A;this.#tf.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tf.closeInfo.code,0);let t=new C(e);this.#B.socket.write(t.createFrame(a.CLOSE)),this.#B.closeState.add(l.SENT)}return this.#B.readyState=o.CLOSING,this.#B.closeState.add(l.RECEIVED),!1}if(t===a.PING){if(!this.#B.closeState.has(l.RECEIVED)){let t=new C(e);this.#B.socket.write(t.createFrame(a.PONG)),this.#B.onPing(e)}}else t===a.PONG&&this.#B.onPong(e);return!0}get closingInfo(){return this.#tf.closeInfo}}e.exports={ByteParser:E}},2726(e,t,r){let{WebsocketFrameSend:i}=r(4018),{opcodes:n,sendHints:s}=r(7946),a=r(9006);class o{#tB=new a;#tQ=!1;#tb;constructor(e){this.#tb=e}add(e,t,r){if(r!==s.blob){if(this.#tQ){let i={promise:null,callback:t,frame:A(e,r)};this.#tB.push(i)}else if(r===s.text){let{0:r,1:n}=i.createFastTextFrame(e);this.#tb.cork(),this.#tb.write(r),this.#tb.write(n,t),this.#tb.uncork()}else this.#tb.write(A(e,r),t);return}let n={promise:e.arrayBuffer().then(e=>{n.promise=null,n.frame=A(e,r)}),callback:t,frame:null};this.#tB.push(n),this.#tQ||this.#tN()}async #tN(){this.#tQ=!0;let e=this.#tB;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tb.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new i(function(e,t){switch(t){case s.text:case s.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case s.arrayBuffer:case s.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===s.text?n.TEXT:n.BINARY)}e.exports={SendQueue:o}},7245(e,t,r){let{webidl:i}=r(849),{validateCloseCodeAndReason:n}=r(3927),{kConstruct:s}=r(3025),{kEnumerableProperty:a}=r(1210);function o(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let i=Reflect.construct(e,t,e);return Object.setPrototypeOf(i,r.prototype),i}})}class A extends o(){#tS;#y;constructor(e="",t){if(super(e=i.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===s)return;null!==t&&(t=i.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,a=t.reason??"";n(r,a),0!==a.length&&null===r&&(r=1e3),this.#tS=r,this.#y=a}get closeCode(){return this.#tS}get reason(){return this.#y}static createUnvalidatedWebSocketError(e,t,r){let i=new A(e,s);return i.#tS=t,i.#y=r,i}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:a,reason:a,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),i.is.WebSocketError=i.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:i}=r(8474),{environmentSettingsObject:n,readableStreamClose:s}=r(638),{states:a,opcodes:o,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:u,utf8Decode:g}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:p,closeWebSocketConnection:m}=r(5563),{channels:f}=r(6708),{WebsocketFrameSend:C}=r(4018),{ByteParser:y}=r(5346),{WebSocketError:I,createUnvalidatedWebSocketError:E}=r(7245),{kEnumerableProperty:B}=r(1210),{utf8DecodeBytes:Q}=r(2718),b=!1;class N{#e4;#tw;#tx;#tD;#tR;#tv;#tk=!1;#B={onConnectionEstablished:(e,t)=>this.#tM(e,t),onMessage:(e,t)=>this.#tF(e,t),onParserError:e=>p(this.#B,null,e.message),onParserDrain:()=>this.#B.socket.resume(),onSocketData:e=>{this.#tU.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=a.CLOSING,f.socketError.hasSubscribers&&f.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:a.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tU;constructor(e,t){b||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),b=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,n.settingsObject.baseUrl),s=t.protocols;if(s.length!==new Set(s.map(e=>e.toLowerCase())).size||s.length>0&&!s.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e4=r.toString(),this.#tw=Promise.withResolvers(),this.#tx=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tx.reject(e.reason);return}i(e,()=>{u(this.#B.readyState)||(p(this.#B),this.#B.readyState=a.CLOSING,this.#tw.reject(e.reason),this.#tx.reject(e.reason),this.#tk=!0)})}let o=n.settingsObject;this.#B.controller=h(r,s,o,this.#B,t)}get url(){return this.#e4.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tx.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;m(this.#B,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,i=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),i=o.BINARY;else{let n;try{n=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(n),i=o.TEXT}if(!this.#B.closeState.has(A.SENT)&&!this.#B.closeState.has(A.RECEIVED)){let e=new C(r);this.#B.socket.write(e.createFrame(i),()=>{t.resolve(void 0)})}return t.promise}#tM(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,n=new y(this.#B,t,{maxFragments:r,maxPayloadSize:i});n.on("drain",()=>this.#B.onParserDrain()),n.on("error",e=>this.#B.onParserError(e)),this.#tU=n,this.#B.readyState=a.OPEN;let s=t??"",o=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tO(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>m(this.#B,null,null),abort:e=>this.#tP(e)});this.#tD=A,this.#tv=l,this.#tw.resolve({extensions:s,protocol:o,readable:A,writable:l})}#tF(e,t){let r;if(this.#B.readyState===a.OPEN){if(e===o.TEXT)try{r=g(t)}catch{p(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===o.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#B.closeState.has(A.SENT)&&this.#B.closeState.has(A.RECEIVED);if(this.#B.readyState=a.CLOSED,this.#tk)return;this.#B.wasEverConnected||this.#tw.reject(new I("Socket never opened"));let t=this.#tU?.closingInfo,r=t?.code??1005;this.#B.closeState.has(A.SENT)||this.#B.closeState.has(A.RECEIVED)||(r=1006);let i=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)s(this.#tR),this.#tv.locked||this.#tv.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tx.resolve({closeCode:r,reason:i});else{let e=E("unclean close",r,i);this.#tR?.error(e),this.#tv?.abort(e),this.#tx.reject(e)}}#tP(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),m(this.#B,t,r)}#tO(e){this.#tP(e)}}Object.defineProperties(N.prototype,{url:B,opened:B,closed:B,close:B,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:N}},3927(e,t,r){let{states:i,opcodes:n}=r(7946),{isUtf8:s}=r(4573),{removeHTTPWhitespace:a}=r(3518),{collectASequenceOfCodePointsFast:o}=r(5358);function A(e){return e===n.CLOSE||e===n.PING||e===n.PONG}function l(e){return e===n.CONTINUATION}function c(e){return e===n.TEXT||e===n.BINARY}e.exports={isConnecting:function(e){return e===i.CONNECTING},isEstablished:function(e){return e===i.OPEN},isClosing:function(e){return e===i.CLOSING},isClosed:function(e){return e===i.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),i={}){let n=r(e,i);t.dispatchEvent(n)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(s(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[i,n=""]=o(";",e,t).split("=",2);r.set(a(i,!0,!1),a(n,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:i}=r(3429),{webidl:n}=r(849),{URLSerializer:s}=r(3518),{environmentSettingsObject:a}=r(638),{staticPropertyDescriptors:o,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:u,isEstablished:g,isClosing:h,isClosed:p,isValidSubprotocol:m,fireEvent:f,utf8Decode:C,toArrayBuffer:y,getURLRecord:I}=r(3927),{establishWebSocketConnection:E,closeWebSocketConnection:B,failWebsocketConnection:Q}=r(5563),{ByteParser:b}=r(5346),{kEnumerableProperty:N}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:x,createFastMessageEvent:D}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:v}=r(4018),{channels:k}=r(6708);class M extends EventTarget{#e5={open:null,error:null,close:null,message:null};#tH=0;#tY="";#ty="";#tG;#B={onConnectionEstablished:(e,t)=>this.#tM(e,t),onMessage:(e,t)=>this.#tF(e,t),onParserError:e=>Q(this.#B,null,e.message),onParserDrain:()=>this.#tq(),onSocketData:e=>{this.#tU.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=A.CLOSING,k.socketError.hasSubscribers&&k.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{k.ping.hasSubscribers&&k.ping.publish({payload:e,websocket:this})},onPong:e=>{k.pong.hasSubscribers&&k.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e4;#tz;#tU;constructor(e,t=[]){super(),n.util.markAsUncloneable(this);let r="WebSocket constructor";n.argumentLengthCheck(arguments,1,r);let i=n.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=n.converters.USVString(e),t=i.protocols;let s=I(e,a.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>m(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e4=new URL(s.href);let o=a.settingsObject;this.#B.controller=E(s,t,o,this.#B,i),this.#B.readyState=M.CONNECTING,this.#tz="blob"}close(e,t){n.brandCheck(this,M),void 0!==e&&(e=n.converters["unsigned short"](e,"WebSocket.close","code",n.attributes.Clamp)),void 0!==t&&(t=n.converters.USVString(t)),e??=null,t??="",B(this.#B,e,t,!0)}send(e){n.brandCheck(this,M);let t="WebSocket.send";if(n.argumentLengthCheck(arguments,1,t),e=n.converters.WebSocketSendData(e,t,"data"),u(this.#B.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!g(this.#B.readyState)||h(this.#B.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tH+=t.byteLength,this.#tG.add(t,()=>{this.#tH-=t.byteLength},c.text)}else i(e)?(this.#tH+=e.byteLength,this.#tG.add(e,()=>{this.#tH-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tH+=e.byteLength,this.#tG.add(e,()=>{this.#tH-=e.byteLength},c.typedArray)):n.is.Blob(e)&&(this.#tH+=e.size,this.#tG.add(e,()=>{this.#tH-=e.size},c.blob))}get readyState(){return n.brandCheck(this,M),this.#B.readyState}get bufferedAmount(){return n.brandCheck(this,M),this.#tH}get url(){return n.brandCheck(this,M),s(this.#e4)}get extensions(){return n.brandCheck(this,M),this.#ty}get protocol(){return n.brandCheck(this,M),this.#tY}get onopen(){return n.brandCheck(this,M),this.#e5.open}set onopen(e){n.brandCheck(this,M),this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onerror(){return n.brandCheck(this,M),this.#e5.error}set onerror(e){n.brandCheck(this,M),this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}get onclose(){return n.brandCheck(this,M),this.#e5.close}set onclose(e){n.brandCheck(this,M),this.#e5.close&&this.removeEventListener("close",this.#e5.close);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e5.close=e):this.#e5.close=null}get onmessage(){return n.brandCheck(this,M),this.#e5.message}set onmessage(e){n.brandCheck(this,M),this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get binaryType(){return n.brandCheck(this,M),this.#tz}set binaryType(e){n.brandCheck(this,M),"blob"!==e&&"arraybuffer"!==e?this.#tz="blob":this.#tz=e}#tM(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,n=new b(this.#B,t,{maxFragments:r,maxPayloadSize:i});n.on("drain",()=>this.#B.onParserDrain()),n.on("error",e=>this.#B.onParserError(e)),this.#tU=n,this.#tG=new R(e.socket),this.#B.readyState=A.OPEN;let s=e.headersList.get("sec-websocket-extensions");null!==s&&(this.#ty=s);let a=e.headersList.get("sec-websocket-protocol");if(null!==a&&(this.#tY=a),f("open",this),k.open.hasSubscribers){var o;let t=e.headersList.entries;k.open.publish({address:(o=e.socket,"function"==typeof o?.address?o.address():"function"==typeof o?.session?.socket?.address?o.session.socket.address():null),protocol:this.#tY,extensions:this.#ty,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tF(e,t){let r;if(this.#B.readyState===A.OPEN){if(e===d.TEXT)try{r=C(t)}catch{Q(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tz?new Blob([t]):y(t));f("message",this,D,{origin:this.#e4.origin,data:r})}}#tq(){this.#B.socket.resume()}#tT(){let e=this.#B.closeState.has(l.SENT)&&this.#B.closeState.has(l.RECEIVED),t=1005,r="",i=this.#tU?.closingInfo;i&&!i.error&&(t=i.code??1005,r=i.reason),this.#B.readyState=A.CLOSED,this.#B.closeState.has(l.RECEIVED)||(t=1006,f("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),f("close",this,(e,t)=>new x(e,t),{wasClean:e,code:t,reason:r}),k.close.hasSubscribers&&k.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#B.readyState;if(g(r)&&!h(r)&&!p(r)){let r=new v(t);e.#B.socket.write(r.createFrame(d.PING))}}}let{ping:F}=M;Reflect.deleteProperty(M,"ping"),M.CONNECTING=M.prototype.CONNECTING=A.CONNECTING,M.OPEN=M.prototype.OPEN=A.OPEN,M.CLOSING=M.prototype.CLOSING=A.CLOSING,M.CLOSED=M.prototype.CLOSED=A.CLOSED,Object.defineProperties(M.prototype,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o,url:N,readyState:N,bufferedAmount:N,onopen:N,onerror:N,onclose:N,close:N,onmessage:N,binaryType:N,send:N,extensions:N,protocol:N,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(M,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o}),n.converters["sequence<DOMString>"]=n.sequenceConverter(n.converters.DOMString),n.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return n.util.Type(e)===n.util.Types.OBJECT&&Symbol.iterator in e?n.converters["sequence<DOMString>"](e):n.converters.DOMString(e,t,r)},n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:n.converters.any,defaultValue:()=>S()},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]),n.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return n.util.Type(e)!==n.util.Types.OBJECT||Symbol.iterator in e?{protocols:n.converters["DOMString or sequence<DOMString>"](e)}:n.converters.WebSocketInit(e)},n.converters.WebSocketSendData=function(e){return n.util.Type(e)===n.util.Types.OBJECT&&(n.is.Blob(e)||n.is.BufferSource(e))?e:n.converters.USVString(e)},e.exports={WebSocket:M,ping:F}},2613(e){e.exports=s("assert")},4434(e){e.exports=s("events")},8611(e){e.exports=s("http")},5692(e){e.exports=s("https")},9278(e){e.exports=s("net")},4589(e){e.exports=s("node:assert")},6698(e){e.exports=s("node:async_hooks")},4573(e){e.exports=s("node:buffer")},7540(e){e.exports=s("node:console")},7598(e){e.exports=s("node:crypto")},3053(e){e.exports=s("node:diagnostics_channel")},610(e){e.exports=s("node:dns")},8474(e){e.exports=s("node:events")},1455(e){e.exports=s("node:fs/promises")},7067(e){e.exports=s("node:http")},2467(e){e.exports=s("node:http2")},7030(e){e.exports=s("node:net")},6760(e){e.exports=s("node:path")},643(e){e.exports=s("node:perf_hooks")},1792(e){e.exports=s("node:querystring")},99(e){e.exports=s("node:sqlite")},7075(e){e.exports=s("node:stream")},7830(e){e.exports=s("node:stream/web")},7997(e){e.exports=s("node:timers")},1692(e){e.exports=s("node:tls")},3136(e){e.exports=s("node:url")},7975(e){e.exports=s("node:util")},3429(e){e.exports=s("node:util/types")},5919(e){e.exports=s("node:worker_threads")},8522(e){e.exports=s("node:zlib")},857(e){e.exports=s("os")},4756(e){e.exports=s("tls")},2018(e){e.exports=s("tty")},7016(e){e.exports=s("url")},9023(e){e.exports=s("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}}},o={};function A(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return a[e].call(r.exports,r,r.exports,A),r.exports}r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,A.t=function(e,i){if(1&i&&(e=this(e)),8&i||"object"==typeof e&&e&&(4&i&&e.__esModule||16&i&&"function"==typeof e.then))return e;var n=Object.create(null);A.r(n);var s={};t=t||[null,r({}),r([]),r(r)];for(var a=2&i&&e;("object"==typeof a||"function"==typeof a)&&!~t.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach(t=>{s[t]=()=>e[t]});return s.default=()=>e,A.d(n,s),n},A.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)A.o(t,i)&&!A.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},A.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),A.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},A.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{let e,t,r,i,n,a,o,l,c,d,u,g,h,p,m,f,C,y,I,E,B,Q,b,N,S,w,x,D,R,v,k,M,F,U,T,L,O,P,H,Y,G,q,z,V,_,J,W,j,K,$,X,Z;var ee,et,er,ei,en,es,ea,eo,eA,el,ec,ed,eu,eg,eh,ep,em,ef,eC,ey,eI,eE,eB,eQ,eb,eN,eS,ew,ex,eD,eR,ev,ek,eM,eF,eU,eT,eL,eO,eP,eH,eY,eG,eq,ez,eV={};A.r(eV),A.d(eV,{Do:()=>i8,all:()=>iq,andThen:()=>iF,as:()=>iR,asVoid:()=>iv,bind:()=>i4,bindTo:()=>i3,composeK:()=>iP,contains:()=>i1,containsWith:()=>i0,exists:()=>i2,filter:()=>ij,filterMap:()=>iW,firstSomeOf:()=>iy,flatMap:()=>iM,flatMapNullishOr:()=>iU,flatten:()=>iT,fromIterable:()=>id,fromNullOr:()=>iB,fromNullishOr:()=>iI,fromUndefinedOr:()=>iE,gen:()=>i9,getFailure:()=>ig,getOrElse:()=>ih,getOrNull:()=>ib,getOrThrow:()=>ix,getOrThrowWith:()=>iw,getOrUndefined:()=>iN,getSuccess:()=>iu,isNone:()=>io,isOption:()=>ia,isSome:()=>iA,let:()=>i5,lift2:()=>iX,liftNullishOr:()=>iQ,liftPredicate:()=>iZ,liftThrowable:()=>iS,makeCombinerFailFast:()=>i7,makeEquivalence:()=>iK,makeOrder:()=>i$,makeReducer:()=>i6,makeReducerFailFast:()=>ne,map:()=>iD,match:()=>il,none:()=>ii,orElse:()=>ip,orElseResult:()=>iC,orElseSome:()=>im,partitionMap:()=>iJ,product:()=>iY,productMany:()=>iG,reduceCompact:()=>iV,some:()=>is,tap:()=>iH,toArray:()=>i_,toRefinement:()=>ic,void:()=>ik,zipLeft:()=>iO,zipRight:()=>iL,zipWith:()=>iz});var e_={};A.r(e_),A.d(e_,{AccessPolicy:()=>Nd,AppendBlobAppendBlockExceptionHeaders:()=>wS,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>wx,AppendBlobAppendBlockFromUrlHeaders:()=>ww,AppendBlobAppendBlockHeaders:()=>wN,AppendBlobCreateExceptionHeaders:()=>wb,AppendBlobCreateHeaders:()=>wQ,AppendBlobSealExceptionHeaders:()=>wR,AppendBlobSealHeaders:()=>wD,ArrowConfiguration:()=>Nv,ArrowField:()=>Nk,BlobAbortCopyFromURLExceptionHeaders:()=>S5,BlobAbortCopyFromURLHeaders:()=>S3,BlobAcquireLeaseExceptionHeaders:()=>SG,BlobAcquireLeaseHeaders:()=>SY,BlobBreakLeaseExceptionHeaders:()=>SK,BlobBreakLeaseHeaders:()=>Sj,BlobChangeLeaseExceptionHeaders:()=>SW,BlobChangeLeaseHeaders:()=>SJ,BlobCopyFromURLExceptionHeaders:()=>S2,BlobCopyFromURLHeaders:()=>S1,BlobCreateSnapshotExceptionHeaders:()=>SX,BlobCreateSnapshotHeaders:()=>S$,BlobDeleteExceptionHeaders:()=>SS,BlobDeleteHeaders:()=>SN,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>ST,BlobDeleteImmutabilityPolicyHeaders:()=>SU,BlobDownloadExceptionHeaders:()=>SB,BlobDownloadHeaders:()=>SE,BlobFlatListSegment:()=>Ng,BlobGetAccountInfoExceptionHeaders:()=>S6,BlobGetAccountInfoHeaders:()=>S9,BlobGetPropertiesExceptionHeaders:()=>Sb,BlobGetPropertiesHeaders:()=>SQ,BlobGetTagsExceptionHeaders:()=>wr,BlobGetTagsHeaders:()=>wt,BlobHierarchyListSegment:()=>NC,BlobItemInternal:()=>Nh,BlobName:()=>Np,BlobPrefix:()=>Ny,BlobPropertiesInternal:()=>Nm,BlobQueryExceptionHeaders:()=>we,BlobQueryHeaders:()=>S7,BlobReleaseLeaseExceptionHeaders:()=>Sz,BlobReleaseLeaseHeaders:()=>Sq,BlobRenewLeaseExceptionHeaders:()=>S_,BlobRenewLeaseHeaders:()=>SV,BlobServiceProperties:()=>b2,BlobServiceStatistics:()=>b7,BlobSetExpiryExceptionHeaders:()=>SR,BlobSetExpiryHeaders:()=>SD,BlobSetHttpHeadersExceptionHeaders:()=>Sk,BlobSetHttpHeadersHeaders:()=>Sv,BlobSetImmutabilityPolicyExceptionHeaders:()=>SF,BlobSetImmutabilityPolicyHeaders:()=>SM,BlobSetLegalHoldExceptionHeaders:()=>SO,BlobSetLegalHoldHeaders:()=>SL,BlobSetMetadataExceptionHeaders:()=>SH,BlobSetMetadataHeaders:()=>SP,BlobSetTagsExceptionHeaders:()=>wn,BlobSetTagsHeaders:()=>wi,BlobSetTierExceptionHeaders:()=>S8,BlobSetTierHeaders:()=>S4,BlobStartCopyFromURLExceptionHeaders:()=>S0,BlobStartCopyFromURLHeaders:()=>SZ,BlobTag:()=>Nl,BlobTags:()=>NA,BlobUndeleteExceptionHeaders:()=>Sx,BlobUndeleteHeaders:()=>Sw,Block:()=>NB,BlockBlobCommitBlockListExceptionHeaders:()=>wH,BlockBlobCommitBlockListHeaders:()=>wP,BlockBlobGetBlockListExceptionHeaders:()=>wG,BlockBlobGetBlockListHeaders:()=>wY,BlockBlobPutBlobFromUrlExceptionHeaders:()=>wF,BlockBlobPutBlobFromUrlHeaders:()=>wM,BlockBlobStageBlockExceptionHeaders:()=>wT,BlockBlobStageBlockFromURLExceptionHeaders:()=>wO,BlockBlobStageBlockFromURLHeaders:()=>wL,BlockBlobStageBlockHeaders:()=>wU,BlockBlobUploadExceptionHeaders:()=>wk,BlockBlobUploadHeaders:()=>wv,BlockList:()=>NE,BlockLookupList:()=>NI,ClearRange:()=>NN,ContainerAcquireLeaseExceptionHeaders:()=>Sa,ContainerAcquireLeaseHeaders:()=>Ss,ContainerBreakLeaseExceptionHeaders:()=>Su,ContainerBreakLeaseHeaders:()=>Sd,ContainerChangeLeaseExceptionHeaders:()=>Sh,ContainerChangeLeaseHeaders:()=>Sg,ContainerCreateExceptionHeaders:()=>NK,ContainerCreateHeaders:()=>Nj,ContainerDeleteExceptionHeaders:()=>N0,ContainerDeleteHeaders:()=>NZ,ContainerFilterBlobsExceptionHeaders:()=>Sn,ContainerFilterBlobsHeaders:()=>Si,ContainerGetAccessPolicyExceptionHeaders:()=>N5,ContainerGetAccessPolicyHeaders:()=>N3,ContainerGetAccountInfoExceptionHeaders:()=>SI,ContainerGetAccountInfoHeaders:()=>Sy,ContainerGetPropertiesExceptionHeaders:()=>NX,ContainerGetPropertiesHeaders:()=>N$,ContainerItem:()=>Nr,ContainerListBlobFlatSegmentExceptionHeaders:()=>Sm,ContainerListBlobFlatSegmentHeaders:()=>Sp,ContainerListBlobHierarchySegmentExceptionHeaders:()=>SC,ContainerListBlobHierarchySegmentHeaders:()=>Sf,ContainerProperties:()=>Ni,ContainerReleaseLeaseExceptionHeaders:()=>SA,ContainerReleaseLeaseHeaders:()=>So,ContainerRenameExceptionHeaders:()=>Se,ContainerRenameHeaders:()=>N7,ContainerRenewLeaseExceptionHeaders:()=>Sc,ContainerRenewLeaseHeaders:()=>Sl,ContainerRestoreExceptionHeaders:()=>N6,ContainerRestoreHeaders:()=>N9,ContainerSetAccessPolicyExceptionHeaders:()=>N8,ContainerSetAccessPolicyHeaders:()=>N4,ContainerSetMetadataExceptionHeaders:()=>N2,ContainerSetMetadataHeaders:()=>N1,ContainerSubmitBatchExceptionHeaders:()=>Sr,ContainerSubmitBatchHeaders:()=>St,CorsRule:()=>b8,DelimitedTextConfiguration:()=>ND,FilterBlobItem:()=>No,FilterBlobSegment:()=>Na,GeoReplication:()=>Ne,JsonTextConfiguration:()=>NR,KeyInfo:()=>Nn,ListBlobsFlatSegmentResponse:()=>Nu,ListBlobsHierarchySegmentResponse:()=>Nf,ListContainersSegmentResponse:()=>Nt,Logging:()=>b3,Metrics:()=>b4,PageBlobClearPagesExceptionHeaders:()=>wc,PageBlobClearPagesHeaders:()=>wl,PageBlobCopyIncrementalExceptionHeaders:()=>wB,PageBlobCopyIncrementalHeaders:()=>wE,PageBlobCreateExceptionHeaders:()=>wa,PageBlobCreateHeaders:()=>ws,PageBlobGetPageRangesDiffExceptionHeaders:()=>wm,PageBlobGetPageRangesDiffHeaders:()=>wp,PageBlobGetPageRangesExceptionHeaders:()=>wh,PageBlobGetPageRangesHeaders:()=>wg,PageBlobResizeExceptionHeaders:()=>wC,PageBlobResizeHeaders:()=>wf,PageBlobUpdateSequenceNumberExceptionHeaders:()=>wI,PageBlobUpdateSequenceNumberHeaders:()=>wy,PageBlobUploadPagesExceptionHeaders:()=>wA,PageBlobUploadPagesFromURLExceptionHeaders:()=>wu,PageBlobUploadPagesFromURLHeaders:()=>wd,PageBlobUploadPagesHeaders:()=>wo,PageList:()=>NQ,PageRange:()=>Nb,QueryFormat:()=>Nx,QueryRequest:()=>NS,QuerySerialization:()=>Nw,RetentionPolicy:()=>b5,ServiceFilterBlobsExceptionHeaders:()=>NW,ServiceFilterBlobsHeaders:()=>NJ,ServiceGetAccountInfoExceptionHeaders:()=>Nz,ServiceGetAccountInfoHeaders:()=>Nq,ServiceGetPropertiesExceptionHeaders:()=>NT,ServiceGetPropertiesHeaders:()=>NU,ServiceGetStatisticsExceptionHeaders:()=>NO,ServiceGetStatisticsHeaders:()=>NL,ServiceGetUserDelegationKeyExceptionHeaders:()=>NG,ServiceGetUserDelegationKeyHeaders:()=>NY,ServiceListContainersSegmentExceptionHeaders:()=>NH,ServiceListContainersSegmentHeaders:()=>NP,ServiceSetPropertiesExceptionHeaders:()=>NF,ServiceSetPropertiesHeaders:()=>NM,ServiceSubmitBatchExceptionHeaders:()=>N_,ServiceSubmitBatchHeaders:()=>NV,SignedIdentifier:()=>Nc,StaticWebsite:()=>b9,StorageError:()=>b6,UserDelegationKey:()=>Ns});let eJ=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},eW={pipe(){return eJ(this,arguments)}},ej=function(){function e(){}return e.prototype=eW,e}(),eK=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},e$=e=>e,eX=e=>()=>e,eZ=eX(!0),e0=eX(!1),e1=eX(null),e2=eX(void 0);function e3(e,...t){return eJ(e,t)}function e5(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}let e4=e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t},e8=new WeakSet;function e9(e){return"string"==typeof e}function e6(e){return"number"==typeof e}function e7(e){return"boolean"==typeof e}function te(e){return"bigint"==typeof e}function tt(e){return"symbol"==typeof e}function tr(e){return"function"==typeof e}function ti(e){return void 0===e}function tn(e){return void 0!==e}function ts(e){return null!==e}function ta(e){return null!=e}function to(e){return!0}let tA=eK(2,(e,t)=>{var r;return("object"==typeof(r=e)&&null!==r||tr(r))&&t in e}),tl=eK(2,(e,t)=>tA(e,"_tag")&&e._tag===t);function tc(e){return tA(e,Symbol.iterator)||e9(e)}let td="~effect/interfaces/Hash",tu=e=>{switch(typeof e){case"number":return tf(e);case"bigint":return tC(e.toString(10));case"boolean":case"symbol":return tC(String(e));case"string":return tC(e);case"undefined":return tC("undefined");case"function":case"object":if(null===e)return tC("null");{if(e instanceof Date)return tC(e.toISOString());if(e instanceof RegExp)return tC(e.toString());if(e8.has(e))return tg(e);if(tS.has(e))return tS.get(e);let t=function(e,t){if(tw.has(e))return tC("[Circular]");tw.add(e);let r=t();return tw.delete(e),r}(e,()=>{if(tm(e))return e[td]();if("function"==typeof e)return tg(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return tB(e);if(e instanceof Map)return tQ(e);if(e instanceof Set)return tb(e);return tI(e)});return tS.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},tg=e=>(tN.has(e)||tN.set(e,tf(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),tN.get(e)),th=eK(2,(e,t)=>53*e^t),tp=e=>0xbfffffff&e|e>>>1&0x40000000,tm=e=>tA(e,td),tf=e=>{if(e!=e)return tC("NaN");if(e===1/0)return tC("Infinity");if(e===-1/0)return tC("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return tp(t)},tC=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return tp(t)},ty=(e,t)=>{let r=12289;for(let i of t)r^=th(tu(i),tu(e[i]));return tp(r)},tI=e=>ty(e,e4(e)),tE=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return tp(i)},tB=tE(6151,tu),tQ=tE(tC("Map"),([e,t])=>th(tu(e),tu(t))),tb=tE(tC("Set"),tu),tN=new WeakMap,tS=new WeakMap,tw=new WeakSet,tx="~effect/interfaces/Equal";function tD(){return 1==arguments.length?e=>tR(e,arguments[0]):tR(arguments[0],arguments[1])}function tR(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||e8.has(e)||e8.has(t))&&function(e,t,r){let i=tF.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,tF.set(e,i);let n=r(e,t);i.set(t,n);let s=tF.get(t);return s||(s=new WeakMap,tF.set(t,s)),s.set(e,n),n}(e,t,tM))}let tv=new WeakSet,tk=new WeakSet;function tM(e,t){if(tu(e)!==tu(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=tL(e),i=tL(t);if(r!==i)return!1;let n=r&&i;return("function"!=typeof e||!!n)&&function(e,t,r){let i=tv.has(e),n=tk.has(t);if(i&&n)return!0;if(i||n)return!1;tv.add(e),tk.add(t);let s=r();return tv.delete(e),tk.delete(t),s}(e,t,()=>{if(n)return e[tx](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!tR(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&tU(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&tT(e,t);var r=e,i=t;let s=e4(r),a=e4(i);if(s.size!==a.size)return!1;for(let e of s)if(!a.has(e)||!tR(r[e],i[e]))return!1;return!0})}let tF=new WeakMap,tU=(et=tR,er=tR,function(e,t){for(let[r,i]of e){let e=!1;for(let[n,s]of t)if(et(r,n)&&er(i,s)){e=!0;break}if(!e)return!1}return!0}),tT=(ei=tR,function(e,t){for(let r of e){let e=!1;for(let i of t)if(ei(r,i)){e=!0;break}if(!e)return!1}return!0}),tL=e=>tA(e,tx),tO=e=>(t,r)=>t===r||e(t,r),tP=(e,t)=>e===t,tH=Symbol.for("~effect/Redactable");function tY(e){return tA(e,tH)?tG(e):e}function tG(e){return e[tH](globalThis[tq]?.context??tz)}let tq="~effect/Fiber/currentFiber",tz={"~effect/Context":{},mapUnsafe:new Map,pipe(){return eJ(this,arguments)}};function tV(e,t){let r=t?.space??0,i=new WeakSet,n=r?"number"==typeof r?" ".repeat(r):r:"",s=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function e(r,a=0){if(Array.isArray(r)){let t,s;if(i.has(r))return t_;if(i.add(r),!n||r.length<=1)return`[${r.map(t=>e(t,a)).join(",")}]`;let o=r.map(t=>e(t,a+1)).join(",\n"+(t=a+1,n.repeat(t)));return`[ +${s=a+1,n.repeat(s)}${o} +${n.repeat(a)}]`}if(r instanceof Date)return tW(r);if(!t?.ignoreToString&&tA(r,"toString")&&"function"==typeof r.toString&&r.toString!==Object.prototype.toString&&r.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(r);return r instanceof Error&&r.cause?`${t} (cause: ${e(r.cause,a)})`:t}if("string"==typeof r)return JSON.stringify(r);if("number"==typeof r||null==r||"boolean"==typeof r||"symbol"==typeof r)return String(r);if("bigint"==typeof r)return String(r)+"n";if("object"==typeof r||"function"==typeof r){if(i.has(r))return t_;if(i.add(r),tH in r)return tV(tG(r));if(Symbol.iterator in r)return`${r.constructor.name}(${e(Array.from(r),a)})`;let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(r);if(!n||t.length<=1){let i=`{${t.map(t=>`${tJ(t)}:${e(r[t],a)}`).join(",")}}`;return s(r,i)}let o=`{ +${t.map(t=>{let i;return`${i=a+1,n.repeat(i)}${tJ(t)}: ${e(r[t],a+1)}`}).join(",\n")} +${n.repeat(a)}}`;return s(r,o)}return String(r)}(e,0)}let t_="[Circular]";function tJ(e){return"string"==typeof e?JSON.stringify(e):String(e)}function tW(e){try{return e.toISOString()}catch{return"Invalid Date"}}function tj(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=tY(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}let tK=Symbol.for("nodejs.util.inspect.custom"),t$=e=>{try{if(tA(e,"toJSON")&&tr(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(t$)}catch{return"[toJSON threw]"}return tY(e)},tX=(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?tj(e,{space:t}):String(e)}catch{return String(e)}},tZ={toJSON(){return t$(this)},[tK](){return this.toJSON()},toString(){return tV(this.toJSON())}};class t0{[tK](){return this.toJSON()}toString(){return tV(this.toJSON())}}class t1{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new t1(this.self)}}let t2=(c={[l="~effect/Utils/internal"]:e=>e()},c[l](()=>Error().stack)?.includes(l)===!0?c[l]:({[l]:e=>e()})[l]),t3="~effect/Effect",t5="~effect/Exit",t4=`${t3}/identifier`,t8=`${t3}/args`,t9=`${t3}/evaluate`,t6=`${t3}/successCont`,t7=`${t3}/failureCont`,re=`${t3}/ensureCont`,rt=Symbol.for("effect/Effect/Yield"),rr={pipe(){return eJ(this,arguments)},toJSON(){return{...this}},toString(){return tV(this.toJSON(),{ignoreToString:!0,space:2})},[tK](){return this.toJSON()}},ri={[t3]:{_A:e$,_E:e$,_R:e$},...rr,[Symbol.iterator](){return new t1(this)},toJSON(){return{_id:"Effect",op:this[t4],...t8 in this?{args:this[t8]}:void 0}}},rn=e=>tA(e,t3),rs="~effect/Cause",ra="~effect/Cause/Reason",ro=e=>tA(e,rs);class rA{[rs];reasons;constructor(e){this[rs]=rs,this.reasons=e}pipe(){return eJ(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${tV(this.reasons)})`}[tK](){return this.toJSON()}[tx](e){return ro(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>tD(t,e.reasons[r]))}[td](){return tB(this.reasons)}}let rl=new WeakMap;class rc{[ra];annotations;_tag;constructor(e,t,r){if(this[ra]=ra,this._tag=e,t!==rd&&"object"==typeof r&&null!==r&&t.size>0){let e=rl.get(r);e&&(t=new Map([...e,...t])),rl.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return eJ(this,arguments)}toString(){return tV(this)}[tK](){return this.toString()}}let rd=new Map;class ru extends rc{error;constructor(e,t=rd){super("Fail",t,e),this.error=e}toString(){return`Fail(${tV(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[tx](e){return rC(e)&&tD(this.error,e.error)&&tD(this.annotations,e.annotations)}[td](){return th(tC(this._tag))(th(tu(this.error))(tu(this.annotations)))}}let rg=e=>new rA(e),rh=new rA([]),rp=e=>new rA([new ru(e)]);class rm extends rc{defect;constructor(e,t=rd){super("Die",t,e),this.defect=e}toString(){return`Die(${tV(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[tx](e){return ry(e)&&tD(this.defect,e.defect)&&tD(this.annotations,e.annotations)}[td](){return th(tC(this._tag))(th(tu(this.defect))(tu(this.annotations)))}}let rf=eK(e=>ro(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new rA(e.reasons.map(e=>e.annotate(t,r)))),rC=e=>"Fail"===e._tag,ry=e=>"Die"===e._tag,rI=e=>"Interrupt"===e._tag;function rE(e){return rR("Effect.evaluate: Not implemented")}let rB=e=>({...ri,[t4]:e.op,[t9]:e[t9]??rE,[t6]:e[t6],[t7]:e[t7],[re]:e[re]}),rQ=e=>{let t=rB(e);return function(){let r=Object.create(t);return r[t8]=!1===e.single?arguments:arguments[0],r}},rb=e=>{let t={...rB(e),[t5]:t5,_tag:e.op,get[e.prop](){return this[t8]},toString(){return`${e.op}(${tV(this[t8])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[t8]}},[tx](e){return tA(e,t5)&&e._tag===this._tag&&tD(this[t8],e[t8])},[td](){return th(tC(e.op),tu(this[t8]))}};return function(e){let r=Object.create(t);return r[t8]=e,r}},rN=rb({op:"Success",prop:"value",[t9](e){let t=e.getCont(t6);return t?t[t6](this[t8],e,this):e.yieldWith(this)}}),rS={key:"effect/Cause/StackTrace"},rw="effect/Cause/InterruptorStackTrace",rx=rb({op:"Failure",prop:"cause",[t9](e){let t=this[t8],r=!1;e.currentStackFrame&&(t=rf(t,{mapUnsafe:new Map([[rS.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(t7);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(t7);return i?i[t7](t,e,r?void 0:this):e.yieldWith(r?rx(t):this)}}),rD=e=>rx(rp(e)),rR=e=>rx(new rA([new rm(e)])),rv=rQ({op:"WithFiber",[t9](e){return this[t8](e)}}),rk=function(){class e extends globalThis.Error{}let t=rB({op:"YieldableError",[t9](){return rD(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),rM=(d=Symbol.for("effect/Data/Error/plainArgs"),class extends rk{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,d,{value:e,enumerable:!1}))}toJSON(){return{...this[d],...this}}}),rF=e=>{class t extends rM{_tag=e}return t.prototype.name=e,t},rU="~effect/Cause/Done",rT={[rU]:rU,_tag:"Done",value:void 0},rL=e=>void 0===e?rT:{[rU]:rU,_tag:"Done",value:e},rO=rD(rT),rP="~effect/data/Option",rH={[rP]:{_A:e=>e},...rr,[Symbol.iterator](){return new t1(this)}},rY=Object.defineProperty(Object.assign(Object.create(rH),{_tag:"Some",_op:"Some",[tx](e){return rz(e)&&r_(e)&&tD(this.value,e.value)},[td](){return th(tu(this._tag))(tu(this.value))},toString(){return`some(${tV(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:t$(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),rG=tu("None"),rq=Object.assign(Object.create(rH),{_tag:"None",_op:"None",valueOrUndefined:void 0,[tx]:e=>rz(e)&&rV(e),[td]:()=>rG,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),rz=e=>tA(e,rP),rV=e=>"None"===e._tag,r_=e=>"Some"===e._tag,rJ=Object.create(rq),rW=e=>{let t=Object.create(rY);return t.value=e,t},rj="~effect/data/Result",rK={[rj]:{_A:e=>e,_E:e=>e},...rr,[Symbol.iterator](){return new t1(this)}},r$=Object.assign(Object.create(rK),{_tag:"Success",_op:"Success",[tx](e){return rZ(e)&&r1(e)&&tD(this.success,e.success)},[td](){return th(tu(this._tag))(tu(this.success))},toString(){return`success(${tV(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:t$(this.success)}}}),rX=Object.assign(Object.create(rK),{_tag:"Failure",_op:"Failure",[tx](e){return rZ(e)&&r0(e)&&tD(this.failure,e.failure)},[td](){return th(tu(this._tag))(tu(this.failure))},toString(){return`failure(${tV(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:t$(this.failure)}}}),rZ=e=>tA(e,rj),r0=e=>"Failure"===e._tag,r1=e=>"Success"===e._tag,r2=e=>{let t=Object.create(rX);return t.failure=e,t},r3=e=>{let t=Object.create(r$);return t.success=e,t};function r5(e){return(t,r)=>t===r?0:e(t,r)}let r4=r5((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),r8=r5((e,t)=>e<t?-1:1),r9=eK(2,(e,t)=>r5((r,i)=>e(t(r),t(i)))),r6=(e=>e.getTime(),e=>eK(2,(t,r)=>-1===e(t,r))),r7=e=>eK(2,(t,r)=>1===e(t,r)),ie=e=>eK(2,(t,r)=>1!==e(t,r)),it=e=>eK(2,(t,r)=>-1!==e(t,r));function ir(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let ii=()=>rJ,is=rW,ia=rz,io=rV,iA=r_,il=eK(2,(e,{onNone:t,onSome:r})=>io(e)?t():r(e.value)),ic=e=>t=>iA(e(t)),id=e=>{for(let t of e)return is(t);return ii()},iu=e=>r0(e)?rJ:rW(e.success),ig=e=>r1(e)?rJ:rW(e.failure),ih=eK(2,(e,t)=>io(e)?t():e.value),ip=eK(2,(e,t)=>io(e)?t():e),im=eK(2,(e,t)=>io(e)?is(t()):e),iC=eK(2,(e,t)=>io(e)?iD(t(),r3):iD(e,r2)),iy=e=>{let t=ii();for(t of e)if(iA(t))break;return t},iI=e=>null==e?ii():is(e),iE=e=>void 0===e?ii():is(e),iB=e=>null===e?ii():is(e),iQ=e=>(...t)=>iI(e(...t)),ib=ih(e1),iN=ih(e2),iS=e=>(...t)=>{try{return is(e(...t))}catch{return ii()}},iw=eK(2,(e,t)=>{if(iA(e))return e.value;throw t()}),ix=iw(()=>Error("getOrThrow called on a None")),iD=eK(2,(e,t)=>io(e)?ii():is(t(e.value))),iR=eK(2,(e,t)=>iD(e,()=>t)),iv=iR(void 0),ik=is(void 0),iM=eK(2,(e,t)=>io(e)?ii():t(e.value)),iF=eK(2,(e,t)=>iM(e,e=>{let r=tr(t)?t(e):t;return ia(r)?r:is(r)})),iU=eK(2,(e,t)=>io(e)?ii():iI(t(e.value))),iT=iM(e$),iL=eK(2,(e,t)=>iM(e,()=>t)),iO=eK(2,(e,t)=>iH(e,()=>t)),iP=eK(2,(e,t)=>r=>iM(e(r),t)),iH=eK(2,(e,t)=>iM(e,e=>iD(t(e),()=>e))),iY=(e,t)=>iA(e)&&iA(t)?is([e.value,t.value]):ii(),iG=(e,t)=>{if(io(e))return ii();let r=[e.value];for(let e of t){if(io(e))return ii();r.push(e.value)}return is(r)},iq=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(io(r))return ii();t.push(r.value)}return is(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(io(i))return ii();t[r]=i.value}return is(t)},iz=eK(3,(e,t,r)=>iD(iY(e,t),([e,t])=>r(e,t))),iV=eK(3,(e,t,r)=>{let i=t;for(let t of e)iA(t)&&(i=r(i,t.value));return i}),i_=e=>io(e)?[]:[e.value],iJ=eK(2,(e,t)=>{if(io(e))return[ii(),ii()];let r=t(e.value);return r0(r)?[is(r.failure),ii()]:[ii(),is(r.success)]}),iW=eK(2,(e,t)=>{if(io(e))return ii();let r=t(e.value);return r1(r)?is(r.success):ii()}),ij=eK(2,(e,t)=>io(e)?ii():t(e.value)?is(e.value):ii()),iK=e=>tO((t,r)=>io(t)?io(r):!io(r)&&e(t.value,r.value)),i$=e=>r5((t,r)=>iA(t)?iA(r)?e(t.value,r.value):1:-1),iX=e=>eK(2,(t,r)=>iz(t,r,e)),iZ=eK(2,(e,t)=>t(e)?is(e):ii()),i0=e=>eK(2,(t,r)=>!io(t)&&e(t.value,r)),i1=i0(tD),i2=eK(2,(e,t)=>!io(e)&&t(e.value)),i3=eK(2,(e,t)=>iD(e,e=>({[t]:e}))),i5=eK(3,(e,t,r)=>iD(e,e=>({...e,[t]:r(e)}))),i4=eK(3,(e,t,r)=>iM(e,e=>iD(r(e),r=>({...e,[t]:r})))),i8=is({}),i9=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(io(e))return e;r=t.next(e.value)}return is(r.value)};function i6(e){return ir((t,r)=>io(t)?r:io(r)?t:is(e.combine(t.value,r.value)),ii())}function i7(e){return{combine:(t,r)=>io(t)||io(r)?ii():is(e.combine(t.value,r.value))}}function ne(e){let t=i7(e).combine,r=is(e.initialValue);return ir(t,r,e=>{let i=r;for(let r of e)if(io(i=t(i,r)))break;return i})}let nt=/^[+-]?\d+$/,nr="~effect/BigDecimal",ni={[nr]:nr,[td](){let e=nu(this);return th(tu(e.value),tf(e.scale))},[tx](e){return nn(e)&&nI(this,e)},toString(){return`BigDecimal(${nE(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[tK](){return this.toJSON()},pipe(){return eJ(this,arguments)}},nn=e=>tA(e,nr),ns=(e,t)=>{let r=Object.create(ni);return r.value=e,r.scale=t,r},na=(e,t)=>{if(e!==no&&e%nc===no)throw RangeError("Value must be normalized");let r=ns(e,t);return r.normalized=r,r},no=BigInt(0),nA=BigInt(1),nl=BigInt(-1),nc=BigInt(10),nd=na(no,0),nu=e=>{if(void 0===e.normalized)if(e.value===no)e.normalized=nd;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),n=e.scale-r;e.normalized=na(i,n)}return e.normalized},ng=eK(2,(e,t)=>t>e.scale?ns(e.value*nc**BigInt(t-e.scale),t):t<e.scale?ns(e.value/nc**BigInt(e.scale-t),t):e),nh=eK(2,(e,t)=>t.value===no?e:e.value===no?t:e.scale>t.scale?ns(ng(t,e.scale).value+e.value,e.scale):e.scale<t.scale?ns(ng(e,t.scale).value+t.value,t.scale):ns(e.value+t.value,e.scale)),np=r5((e,t)=>{let r=r4(nC(e),nC(t));return 0!==r?r:e.scale>t.scale?r8(e.value,ng(t,e.scale).value):e.scale<t.scale?r8(ng(e,t.scale).value,t.value):r8(e.value,t.value)}),nm=r6(np),nf=r7(np),nC=e=>e.value===no?0:e.value<no?-1:1,ny=tO((e,t)=>e.scale>t.scale?ng(t,e.scale).value===e.value:e.scale<t.scale?ng(e,t.scale).value===t.value:e.value===t.value),nI=eK(2,(e,t)=>ny(e,t)),nE=e=>{let t,r,i=nu(e);if(Math.abs(i.scale)>=16)return nB(i);let n=i.value<no,s=n?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=s.length)t="0",r="0".repeat(i.scale-s.length)+s;else{let e=s.length-i.scale;if(e>s.length){let i=e-s.length;t=`${s}${"0".repeat(i)}`,r=""}else r=s.slice(e),t=s.slice(0,e)}let a=""===r?t:`${t}.${r}`;return n?`-${a}`:a},nB=e=>{if(nQ(e))return"0e+0";let t=nu(e),r=`${(t.value<no?ns(-t.value,t.scale):t).value}`,i=r.slice(0,1),n=r.slice(1),s=`${nb(t)?"-":""}${i}`;""!==n&&(s+=`.${n}`);let a=n.length-t.scale;return`${s}e${a>=0?"+":""}${a}`},nQ=e=>e.value===no,nb=e=>e.value<no,nN=e=>nn(e[0]),nS=eK(nN,(e,t=0)=>e.scale<=t?e:ns(e.value/nc**BigInt(e.scale-t),t)),nw=eK(nN,(e,t=0)=>{let r=nS(e,t);return e.value>no&&nm(r,e)?nh(r,ns(nA,t)):r}),nx=eK(nN,(e,t=0)=>{let r=nS(e,t);return nb(e)&&nf(r,e)?nh(r,ns(nl,t)):r}),nD=eK(2,(e,t)=>Object.hasOwn(e,t)),nR=eK(2,(e,t)=>{let r={...e};for(let i of nv(e))r[i]=t(e[i],i);return r}),nv=e=>Object.keys(e),nk=eK(2,(e,t)=>r1(e)?r3(t(e.success)):r2(e.failure)),nM=eK(2,(e,{onFailure:t,onSuccess:r})=>r0(e)?t(e.failure):r(e.success)),nF=eK(2,(e,t)=>{if(r1(e))return e.success;throw t(e.failure)})(e$),nU=globalThis.Array,nT=e=>nU.isArray(e)?e:nU.from(e),nL=eK(2,(e,t)=>[...e,t]),nO=eK(2,(e,t)=>nT(e).concat(nT(t)));nU.isArray;let nP=eK(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),nH=eK(3,(e,t,r)=>{let i=nT(e),n=nT(t);if(i.length>0)return n.length>0?n_(r)(nO(i,n)):i;return n}),nY=eK(2,(e,t)=>nH(e,t,tD)),nG=()=>[],nq=e=>[e],nz=eK(2,(e,t)=>e.map(t)),nV=eK(2,(e,t)=>{let r=[],i=[],n=0;for(let s of e){let e=t(s,n++);r1(e)?i.push(e.success):r.push(e.failure)}return[r,i]}),n_=eK(2,(e,t)=>{let r=nT(e);if(r.length>0){let e=[nP(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]}),nJ=e=>rB({op:e.label,[t9]:e.evaluate}),nW=Object.getOwnPropertyDescriptor,nj=Object.prototype.hasOwnProperty,nK=Object.isExtensible,n$=void 0===(u=nW(Error,"stackTraceLimit"))?nK(Error):nj.call(u,"writable")?!0===u.writable:void 0!==u.set,nX=e=>{n$&&(Error.stackTraceLimit=e)},nZ="~effect/Context/Service",n0=function(){let e=Error.stackTraceLimit;nX(2);let t=Error();nX(e);let r=function(){};return(Object.setPrototypeOf(r,n1),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[n2]=n2,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},n1={[nZ]:nZ,...nJ({label:"Service",evaluate(e){return rN(sr(e.context,this))}}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return n6(this,e)},use(e){return rv(t=>e(sr(t.context,this)))},useSync(e){return rv(t=>rN(e(sr(t.context,this))))}},n2="~effect/Context/Reference",n3="~effect/Context",n5=e=>{let t=Object.create(n4);return t.mapUnsafe=e,t.mutable=!1,t},n4={...rr,[n3]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[tx](e){if(!n8(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!tD(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[td](){return tf(this.mapUnsafe.size)}},n8=e=>tA(e,n3),n9=n5(new Map),n6=(e,t)=>n5(new Map([[e.key,t]])),n7=eK(3,(e,t,r)=>sA(e,e=>{e.set(t.key,r)})),se=eK(2,(e,t)=>e.mapUnsafe.get(t.key)),st=eK(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(n2 in t)return sn(t);throw ss(t)}return e.mapUnsafe.get(t.key)}),sr=st,si="~effect/Context/defaultValue",sn=e=>si in e?e[si]:e[si]=e.defaultValue(),ss=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},sa=eK(2,(e,t)=>e.mapUnsafe.has(t.key)?is(e.mapUnsafe.get(t.key)):tA(t,n2)?is(sn(t)):ii()),so=eK(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:sA(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),sA=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),n5(r)},sl="~effect/time/Duration",sc=BigInt(0),sd=BigInt(1),su=BigInt(1e3),sg=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),sh=(e,t)=>e.includes(".")?sg(Number(e)*Number(t)):BigInt(e)*t,sp=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,sm=e=>{switch(typeof e){case"number":return sx(e);case"bigint":return sw(e);case"string":{if("Infinity"===e)return sN;if("-Infinity"===e)return sS;let t=sp.exec(e);if(!t)break;let[r,i,n]=t;if("nano"===n||"nanos"===n)return sw(sh(i,sd));if("micro"===n||"micros"===n)return sw(sh(i,su));let s=Number(i);switch(n){case"milli":case"millis":return sx(s);case"second":case"seconds":return sD(s);case"minute":case"minutes":return sR(s);case"hour":case"hours":return sv(s);case"day":case"days":return sk(s);case"week":case"weeks":return sM(s)}break}case"object":{if(null===e)break;if(sl in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(e6))return sf(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return sb;if(e[0]===-1/0||e[1]===-1/0)return sS;if(e[0]===1/0||e[1]===1/0)return sN;return sB(sg(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return sB(t);return sB(sg(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return sf(e)},sf=e=>{throw Error(`Invalid Input: ${e}`)},sC={_tag:"Millis",millis:0},sy={_tag:"Infinity"},sI={_tag:"NegativeInfinity"},sE={[sl]:sl,[td](){return tI(this.value)},[tx](e){return sQ(e)&&sO(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[tK](){return this.toJSON()},pipe(){return eJ(this,arguments)}},sB=e=>{let t=Object.create(sE);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=sC:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:sg(1e6*e)}:t.value=e>0?sy:sI:e===sc?t.value=sC:t.value={_tag:"Nanos",nanos:e},t},sQ=e=>tA(e,sl),sb=sB(0),sN=sB(1/0),sS=sB(-1/0),sw=e=>sB(e),sx=e=>sB(e),sD=e=>sB(1e3*e),sR=e=>sB(6e4*e),sv=e=>sB(36e5*e),sk=e=>sB(864e5*e),sM=e=>sB(6048e5*e),sF=e=>sT(sm(e),{onMillis:e$,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),sU=e=>{let t=sm(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return sg(1e6*t.value.millis)}},sT=eK(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),sL=eK(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(sU(e),t.value.nanos):r.onNanos(e.value.nanos,sU(t))),sO=eK(2,(e,t)=>sL(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag})),sP=eK(2,(e,t)=>r=>{let i=e(r);if(r0(i))return r2(r);let n=t(i.success);return r0(n)?r2(r):n}),sH=n0("effect/Scheduler",{defaultValue:()=>new sq}),sY="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class sG{buckets=[];scheduleTask(e,t){let r,i=this.buckets,n=i.length,s=0;for(;s<n&&!(i[s][0]>t);s++)r=i[s];r&&r[0]===t?r[1].push(e):s===n?i.push([t,[e]]):i.splice(s,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class sq{executionMode;setImmediate;constructor(e="async",t=sY){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new sz(this.setImmediate)}}class sz{tasks=new sG;running=void 0;setImmediate;constructor(e=sY){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let sV=n0("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),s_=n0("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1}),sJ="effect/Tracer/ParentSpan";class sW extends n0()(sJ){}let sj=n0("effect/Tracer/DisablePropagation",{defaultValue:e0}),sK=n0("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),s$=n0("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),sX="effect/Tracer",sZ=n0(sX,{defaultValue:()=>({span:e=>new s0(e)})});class s0{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=eV.getOrUndefined(e.parent)?.traceId??s1(32),this.spanId=s1(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let s1=(h=(g="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=g.charAt(Math.floor(Math.random()*h));return t}),s2=n0("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),s3=n0("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),s5=n0("effect/References/CurrentStackFrame",{defaultValue:e2}),s4=n0("effect/References/TracerEnabled",{defaultValue:eZ}),s8=n0("effect/References/TracerTimingEnabled",{defaultValue:eZ}),s9=n0("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),s6=n0("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),s7=n0("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),ae=n0("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),at=n0("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),ar=n0("effect/References/CurrentLogSpans",{defaultValue:()=>[]}),ai=e=>t=>{let r;return()=>{if(void 0!==r)return r;let i=t();if(!i)return;let n=i.split("\n");if(void 0!==n[e])return r=n[e].trim()}},an=ai(3);class as extends rc{fiberId;constructor(e,t=rd){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[tx](e){return rI(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[td](){return th(tC(`${this._tag}:${this.fiberId}`))(tg(this.annotations))}}let aa=e=>new rA([new as(e)]),ao=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return r3(r.error)}return r2(e)},aA=e=>{let t=ao(e);return r0(t)?ii():is(t.success)},al=e=>{let t=e.reasons.find(ry);return t?r3(t.defect):r2(e)},ac=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?r3(t):r2(e)},ad=eK(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new rA(nY(e.reasons,t.reasons));return tD(e,r)?e:r}),au=eK(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>rC(e)?(r=!0,new ru(t(e.error))):e);return r?rg(i):e}),ag=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},ah=(e,t,r)=>{let i,n=typeof e;if(e&&"object"===n){if(i=new globalThis.Error(ap(e),{cause:e.cause?ah(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=af(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?aC(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=aE(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===n?e:tj(e));return i},ap=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return tj(e)},am=/\((.*)\)/g,af=(e,t,r)=>{let i=`${t.name}: ${t.message}`,n=(e.startsWith(i)?e.slice(i.length):e).split("\n"),s=[i];for(let e=1;e<n.length&&!/(?:Generator\.next|~effect\/Effect)/.test(n[e]);e++)s.push(n[e]);return r?aC(s.join("\n"),r):s.join("\n")},aC=(e,t)=>{let r=t?.get(rS.key);return r&&(e=`${e} +${ay(r)}`),e},ay=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(am),n=!1;for(let[,e]of i)n=!0,t.push(` at ${r.name} (${e})`);n||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},aI=e=>(e=>{let t=[],r=[];if(0===e.reasons.length)return t;let i=Error.stackTraceLimit;for(let i of(nX(1),e.reasons)){if("Interrupt"===i._tag){r.push(i);continue}t.push(ah("Die"===i._tag?i.defect:i.error,i.annotations,void 0))}if(0===t.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=((e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(rw);r.push(` at fiber (${t})`),i&&r.push(ay(i))}return r.join("\n")})(e,r);let i=new globalThis.Error("All fibers interrupted without error",{cause:e});i.name="InterruptError",i.stack=`${i.name}: ${i.message}`,t.push(ah(i,r[0].annotations,void 0))}return nX(i),t})(e).map(aE).join("\n"),aE=e=>e.cause?`${e.stack} { +${aB(e.cause," ")} +}`:e.stack,aB=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,n=r.length;e<n;e++)i+=` +${t}${r[e]}`;return e.cause&&(i+=` { +${aB(e.cause,`${t} `)} +${t}}`),i},aQ="~effect/Fiber/dev",ab={_A:e$,_E:e$},aN={id:0},aS=()=>globalThis[tq];class aw{constructor(e,t=!0){this[aQ]=ab,this.setContext(e),this.id=++aN.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[aQ];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){var t;return t=this.context,t.mapUnsafe.has(e.key)?t.mapUnsafe.get(e.key):sn(e)}addObserver(e){return this._exit?(e(this._exit),e2):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=aa(e);this.currentStackFrame&&(r=rf(r,n6(rS,this.currentStackFrame))),t&&(r=rf(r,t)),this._interruptedCause=this._interruptedCause?ad(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(aT(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===rt)return;let r=aD.interruptChildren&&aD.interruptChildren(this);if(void 0!==r)return this.evaluate(a9(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=n9}runLoop(e){let t=globalThis[tq];globalThis[tq]=this;let r=this._running;this._running=!0;let i=!1,n=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,n=aT(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=n;n=a9(aH,()=>e)}if((n=this.currentTracerContext?this.currentTracerContext(n,this):n[t9](this))===rt){let e=this._yielded;if(t5 in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return rt}}}catch(e){if(!tA(n,t9))return rR(`Fiber.runLoop: Not a valid effect: ${String(n)}`);return this.runLoop(rR(e))}finally{this._running=r,globalThis[tq]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,ax;for(;;){let t=this._stack.pop();if(!t)return;let r=t[re]&&t[re](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,rt}children(){return this._children??=new Set}pipe(){return eJ(this,arguments)}setContext(e){this.context=e;let t=this.getRef(sH);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(sJ),this.currentLogLevel=this.getRef(ae),this.minimumLogLevel=this.getRef(at),this.currentStackFrame=e.mapUnsafe.get(s5.key),this.maxOpsBeforeYield=this.getRef(sV),this.currentPreventYield=this.getRef(s_),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(sX);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let ax={[t6]:(e,t)=>aT(t._interruptedCause),[t7]:(e,t)=>aT(t._interruptedCause)},aD={interruptChildren:void 0},aR=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(rw,e.currentStackFrame),n5(t)},av=e=>aW(t=>{let r,i=e[Symbol.iterator](),n=[];return!function e(){let s=i.next();for(;!s.done;){if(s.value._exit){n.push(s.value._exit),s=i.next();continue}r=s.value.addObserver(t=>{n.push(t),e()});return}t(aU(n))}(),aL(()=>r?.())}),ak=e=>rv(t=>aM(e,t.id)),aM=eK(e=>tA(e[0],aQ),(e,t,r)=>rv(i=>{let n=aR(i);return n=n&&r?so(n,r):n??r,e.interruptUnsafe(t,n),a4(e._exit?aU(e._exit):aW(t=>e._exit?t(aU(e._exit)):aL(e.addObserver(e=>t(aU(e))))))})),aF=e=>rv(t=>{let r=aR(t),i=nG();for(let n of e)n.interruptUnsafe(t.id,r),i.push(n);return a4(av(i))}),aU=rN,aT=rx,aL=rQ({op:"Sync",[t9](e){let t=this[t8](),r=e.getCont(t6);return r?r[t6](t,e):e.yieldWith(rN(t))}}),aO=rQ({op:"Suspend",[t9](e){return this[t8]()}}),aP=nM({onFailure:rD,onSuccess:aU}),aH=rQ({op:"Yield",[t9](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(oa)},this[t8]??0),e.yieldWith(()=>{t=!0})}})(0),aY=aU(ii()),aG=e=>rR(e),aq=e=>aO(()=>rD(t2(e))),az=aU(void 0),aV=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new A_(e,"An error occurred in Effect.try"):e.catch;return aO(()=>{try{return aU(t2(t))}catch(e){return rD(t2(()=>r(e)))}})},a_=rQ({op:"Async",single:!1,[t9](e){let t=t2(()=>this[t8][0].bind(e.currentScheduler)),r=!1,i=!1,n=this[t8][1]?new AbortController:void 0,s=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},n?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===n&&void 0===s||e._stack.push(aJ(()=>(r=!0,n?.abort(),s??oa))),rt)}}),aJ=rQ({op:"AsyncFinalizer",[re](e){e.interruptible&&(e.interruptible=!1,e._stack.push(Ar))},[t7](e,t){return e.reasons.some(rI)?a9(this[t8](),()=>aT(e)):aT(e)}}),aW=e=>a_(e,e.length>=2),aj=aW(e2),aK=(e,...t)=>{let r=0===t.length?function(){return aO(()=>a1(e.apply(this,arguments)))}:function(){let r=aO(()=>a1(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return a$(e.length,r)},a$=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),aX=ai(2),aZ=(e,t,r,i,n,s)=>{let a="function"==typeof t?t:i.pop().bind(t.self);return a$(a.length,function(...t){let o=aO(()=>{let e=a.apply(this,arguments);return rn(e)?e:a1(e)});for(let e=0;e<i.length;e++)o=i[e](o,...t);if(!rn(o))return o;let A=Error.stackTraceLimit;nX(2);let l=new globalThis.Error;return nX(A),ou(n?AR(e,s,e=>Av(o,e)):o,s5,t=>({name:e,stack:aX(()=>l.stack),parent:{name:`${e} (definition)`,stack:aX(()=>r.stack),parent:t}}))})},a0=e=>{try{let t,r=e();for(;;){let i=r.next(t);if(i.done)return aU(i.value);let n=i.value;if(n&&"Success"===n._tag){t=n.value;continue}{if(n&&"Failure"===n._tag)return i.value;let t=!0;return aO(()=>t?(t=!1,a9(i.value,e=>a1(r,e))):aO(()=>a1(e())))}}}catch(e){return aG(e)}},a1=rQ({op:"Iterator",single:!1,[t6](e,t){let r=this[t8][0];for(;;){let i=r.next(e);if(i.done)return aU(i.value);if(!a7(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[t9](e){return this[t6](this[t8][1],e)}}),a2=eK(2,(e,t)=>{let r=aU(t);return a9(e,e=>r)}),a3=eK(2,(e,t)=>a9(e,e=>rn(t)?t:t2(()=>t(e)))),a5=eK(2,(e,t)=>a9(e,e=>a2(rn(t)?t:t2(()=>t(e)),e))),a4=e=>a9(e,e=>oa),a8=eK(e=>rn(e[1]),(e,t,r)=>{let i;return i=[e,t],rv(e=>aW(t=>{let n=!1,s=new Set,a=e=>{n=!0,t(0===s.size?e:a9(Ae(aF(s)),()=>e))},o=0;for(let t of i){if(n)break;let i=o++,A=Ag(e,t,!0,!0,!1);s.add(A),A.addObserver(t=>{s.delete(A);let o=!n;a(t),o&&r?.onWinner&&r.onWinner({fiber:A,index:i,parentFiber:e})})}return aF(s)}))}),a9=eK(2,(e,t)=>{let r=Object.create(a6);return r[t8]=e,r[t6]=1!==t.length?e=>t(e):t,r}),a6=rB({op:"OnSuccess",[t9](e){return e._stack.push(this),this[t8]}}),a7=e=>t5 in e,oe=eK(2,(e,t)=>a7(e)?"Success"===e._tag?t(e.value):e:a9(e,t)),ot=eK(2,(e,t)=>a9(e,e=>aU(t2(()=>t(e))))),or=eK(2,(e,t)=>a7(e)?oo(e,t):ot(e,t)),oi=eK(2,(e,t)=>a7(e)?oA(e,t):ox(e,t)),on=eK(2,(e,t)=>a7(e)?ol(e,t):oD(e,t)),os=e=>"Failure"===e._tag?r3(e.cause):r2(e),oa=rN(void 0),oo=eK(2,(e,t)=>"Success"===e._tag?rN(t(e.value)):e),oA=eK(2,(e,t)=>{if("Success"===e._tag)return e;let r=ao(e.cause);return r0(r)?e:rD(t(r.success))}),ol=eK(2,(e,t)=>{if("Success"===e._tag)return rN(t.onSuccess(e.value));let r=ao(e.cause);return r0(r)?e:rD(t.onFailure(r.success))}),oc=eK(2,(e,t)=>"Success"===e._tag?t:e),od=eK(2,(e,t)=>rv(r=>{let i=r.context,n=t(i);return i===n?e:(r.setContext(n),o0(e,()=>{r.setContext(i)}))})),ou=eK(3,(e,t,r)=>od(e,e=>{let i=st(e,t),n=r(i);return i===n?e:n7(e,t,n)})),og=rv(e=>aU(e.context)),oh=e=>rv(t=>e(t.context)),op=eK(2,(e,t)=>a7(e)?e:od(e,so(t))),om=function(){return 1==arguments.length?eK(2,(e,t)=>of(e,arguments[0],t)):eK(3,(e,t,r)=>of(e,t,r)).apply(this,arguments)},of=(e,t,r)=>od(e,e=>e.mapUnsafe.get(t.key)===r?e:n7(e,t,r)),oC=((e,t,r)=>a9(r,r=>om(e,t,r)),eK(e=>rn(e[0]),(e,t)=>AA({while:eZ,body:eX(t?.disableYield?e:a9(e,e=>aH)),step:e2}))),oy=eK(2,(e,t)=>{let r=Object.create(oI);return r[t8]=e,r[t7]=1!==t.length?e=>t(e):t,r}),oI=rB({op:"OnFailure",[t9](e){return e._stack.push(this),this[t8]}}),oE=((e,t,r)=>oy(e,e=>t(e)?t2(()=>r(e)):aT(e)),eK(3,(e,t,r)=>oy(e,e=>{let i=t(e);return r0(i)?aT(i.failure):t2(()=>r(i.success,e))}))),oB=eK(2,(e,t)=>oE(e,ao,e=>t(e))),oQ=eK(2,(e,t)=>oE(e,al,t)),ob=eK(2,(e,t)=>oy(e,e=>a3(t2(()=>t(e)),aT(e)))),oN=eK(3,(e,t,r)=>oy(e,e=>{let i=t(e);return r0(i)?aT(e):a3(t2(()=>r(i.success,e)),aT(e))})),oS=((e,t)=>oN(e,ao,e=>t(e)),eK(e=>rn(e[0]),(e,t,r,i)=>oy(e,e=>{let n=ao(e);return r0(n)?aT(n.failure):t(n.success)?t2(()=>r(n.success)):i?t2(()=>i(n.success)):aT(e)}))),ow=((e=>rn(e[0]),(e,t,r,i)=>oy(e,e=>{let n=ao(e);if(r0(n))return aT(n.failure);let s=t(n.success);return r0(s)?i?t2(()=>i(s.failure)):aT(e):t2(()=>r(s.success))})),eK(e=>rn(e[0]),(e,t,r,i)=>oS(e,Array.isArray(t)?e=>tA(e,"_tag")&&t.includes(e._tag):tl(t),r,i))),ox=eK(2,(e,t)=>oB(e,e=>aq(()=>t(e)))),oD=eK(2,(e,t)=>oF(e,{onFailure:e=>aq(()=>t.onFailure(e)),onSuccess:e=>aL(()=>t.onSuccess(e))})),oR=eK(e=>rn(e[0]),(e,t)=>{if(!t?.log)return oF(e,{onFailure:e=>az,onSuccess:e=>az});let r=A1(!0===t.log?void 0:t.log);return ok(e,{onFailure(e){let i,n=(i=e.reasons.find(rC))?r3(i):r2(e);return r0(n)?aT(n.failure):void 0===t.message?r(e):r(t.message,e)},onSuccess:e=>az})}),ov=e=>oT(e,{onFailure:r2,onSuccess:r3}),ok=eK(2,(e,t)=>{let r=Object.create(oM);return r[t8]=e,r[t6]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[t7]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),oM=rB({op:"OnSuccessAndFailure",[t9](e){return e._stack.push(this),this[t8]}}),oF=((e,t)=>ok(e,{onFailure:e=>aL(()=>t.onFailure(e)),onSuccess:e=>aL(()=>t.onSuccess(e))}),eK(2,(e,t)=>ok(e,{onFailure:e=>{let r=e.reasons.find(rC);return r?t2(()=>t.onFailure(r.error)):aT(e)},onSuccess:t.onSuccess}))),oU=eK(2,(e,t)=>oF(e,{onFailure:e=>aL(()=>t.onFailure(e)),onSuccess:e=>aL(()=>t.onSuccess(e))})),oT=eK(2,(e,t)=>{if(a7(e)){if("Success"===e._tag)return rN(t.onSuccess(e.value));let r=ao(e.cause);return r0(r)?e:rN(t.onFailure(r.success))}return oU(e,t)}),oL=e=>a7(e)?rN(e):oO(e),oO=rQ({op:"Exit",[t9](e){return e._stack.push(this),this[t8]},[t6]:(e,t,r)=>aU(r??rN(e)),[t7]:(e,t,r)=>aU(r??rx(e))}),oP=eK(2,(e,t)=>a8(e,a9(AO(t.duration),t.orElse))),oH=eK(2,(e,t)=>oP(e,{duration:t,orElse:()=>rD(new AH)})),oY="~effect/Scope",oG="~effect/Scope/Closeable",oq=n0("effect/Scope"),oz=(e,t)=>aO(()=>oV(e,t)??az),oV=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):o_(e,i,t)},o_=aK(function*(e,t,r){let i=[],n=[],s=Array.from(t.values()),a=aS();for(let t=s.length-1;t>=0;t--){let o=s[t];"sequential"===e.strategy?i.push((yield*oL(o(r)))):n.push(Ag(a,o(r),!0,!0,"inherit"))}return n.length>0&&(i=yield*av(n)),yield*(e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?oa:rx(rg(t))})(i)}),oJ=(e,t)=>aO(()=>"Closed"===e.state._tag?t(e.state.exit):(oW(e,{},t),az)),oW=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},oj=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},oK=(e="sequential")=>({[oG]:oG,[oY]:oY,strategy:e,state:o$}),o$={_tag:"Empty"},oX=om(oq),oZ=e=>aO(()=>{let t=oK();return o1(e(t),e=>aO(()=>oV(t,e)??az))}),o0=rQ({op:"OnExit",single:!1,[t9](e){return e._stack.push(this),this[t8][0]},[re](e){e.interruptible&&!0!==this[t8][2]&&(e._stack.push(Ar),e.interruptible=!1)},[t6](e,t,r){r??=rN(e);let i=this[t8][1](r);return i?a9(i,e=>r):r},[t7](e,t,r){r??=rx(e);let i=this[t8][1](r);return i?a9(i,e=>r):r}}),o1=eK(2,o0),o2=eK(2,(e,t)=>o1(e,e=>t)),o3=((e,t,r)=>o1(e,e=>t(e)?r(e):az),eK(3,(e,t,r)=>o1(e,e=>{let i=t(e);return r0(i)?az:r(i.success,e)}))),o5=eK(2,(e,t)=>o3(e,os,t)),o4=eK(3,(e,t,r)=>o1(e,e=>{if("Failure"!==e._tag)return az;let i=t(e.cause);return r0(i)?az:r(i.success,e.cause)})),o8=eK(2,(e,t)=>o4(ac,t)(e)),o9=eK(2,(e,t)=>aL(()=>{let r,i=sF(sm(t)),n=Number.isFinite(i),s=AS(!1),a=0,o=!1,A=a9(s.await,()=>r);return[rv(t=>{let l=t.getRef(Ak),c=n?l.currentTimeMillisUnsafe():0;return o||c<a?r??A:(o=!0,s.closeUnsafe(),r=void 0,o1(e,e=>aL(()=>{o=!1,a=l.currentTimeMillisUnsafe()+i,r=e,s.openUnsafe()})))}),aL(()=>{a=0,s.closeUnsafe(),r=void 0})]})),o6=eK(2,(e,t)=>ot(o9(e,t),e=>e[0])),o7=rv(e=>aT(aa(e.id))),Ae=e=>rv(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(Ar)),e)),At=rQ({op:"SetInterruptible",[re](e){if(e.interruptible=this[t8],e._interruptedCause&&e.interruptible)return()=>aT(e._interruptedCause)}}),Ar=At(!0),Ai=At(!1),An=e=>rv(t=>t.interruptible?e:(e=>{if(e.interruptible=!0,e._stack.push(Ai),e._interruptedCause)return aT(e._interruptedCause)})(t)??e),As=e=>rv(t=>t.interruptible?(t.interruptible=!1,t._stack.push(Ar),e(An)):e(e$)),Aa=(e,t)=>tc(e)?t?.mode==="result"?Al(e,ov,t):Al(e,e$,t):t?.discard?"result"===t.mode?Al(Object.values(e),ov,t):Al(Object.values(e),e$,t):aO(()=>{let r={};return a2(Al(Object.entries(e),([e,i])=>ot(t?.mode==="result"?ov(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),Ao=((e=>tc(e[0])&&!rn(e[0]),(e,t,r)=>ot(Al(e,(e,r)=>ov(t(e,r)),r),e=>nV(e,e$))),eK(3,(e,t,r)=>{let i=nT(e);return 0===i.length?aL(t):aO(()=>{let e=0,n=t();return ot(AA({while:()=>e<i.length,body:()=>r(n,i[e],e),step(t){n=t,e++}}),()=>n)})})),AA=rQ({op:"While",[t6](e,t){return(this[t8].step(e),this[t8].while())?(t._stack.push(this),this[t8].body()):oa},[t9](e){return this[t8].while()?(e._stack.push(this),this[t8].body()):oa}}),Al=eK(e=>"function"==typeof e[1],(e,t,r)=>rv(i=>{let n=r?.concurrency==="inherit"?i.getRef(s2):r?.concurrency??1,s="unbounded"===n?1/0:Math.max(1,n);if(1===s)return Ac(e,t,r);let a=nT(e),o=a.length;if(0===o)return r?.discard?az:aU([]);let A=r?.discard?void 0:Array(o),l=Au({f:t,out:A},a,{concurrency:s});return l?a2(l,A):aU(A)})),Ac=(e,t,r)=>aO(()=>{let i=r?.discard?void 0:[],n=e[Symbol.iterator](),s=n.next(),a=0;return a2(AA({while:()=>!s.done,body:()=>t(s.value,a++),step:e=>{i&&i.push(e),s=n.next()}}),i)}),Ad=e=>{let t=e.onItem,r=e.step;return(e,i,n)=>{let s,a,o,A,l,c=n?.start??0,d=n?.end??i.length,u=n?.concurrency??1,g=n?.orderedStep===!0&&u>1,h=!1,p=!1,m=c,f=g?Array(d):void 0,C=e=>{let t=rR(e);return A=t,h=!0,p=!0,a&&a.size>0?a9(Ae(aF(Array.from(a))),()=>t):t},y=(t,n,s)=>{if(!g)return r(e,t,n,s);if(A)return A;for(f[s]=n;m<d;){let t=f[m];if(void 0===t)return;f[m]=void 0;let n=m++,s=r(e,i[n],t,n);if(s)return s}},I=()=>{let r=!1;for(;!A&&c<d;c++){let n=i[c],d=l??t(e,n,c);if(a7(d)){if(A=y(n,d,c))break}else{if(1===u)return a9(oL(d),e=>(A=y(n,e,c),c++,A??I()??az));if(!s)return aW(e=>{let t;s=aS(),a=new Set,l=d,o=e;try{t=I()}catch(t){return e(C(t))}return t?e(t):aO(()=>(A=oa,p=!0,a?aF(a):az))});l=void 0;let e=Ag(s,d,!0,!0,"inherit");if(e._exit){if(A=y(n,e._exit,c))break;continue}a.add(e);let t=c;if(e.addObserver(i=>{a.delete(e);try{if(A){if(!p&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=rx(rg([e]))}else{let e=y(n,i,t);e&&(A="Failure"===e._tag?rx(rg(e.cause.reasons.slice())):e,I())}if(r){let e=I();e&&o(e)}else h&&0===a.size&&o(A??az)}catch(e){o(C(e))}}),a.size<u)continue;r=!0,c++;return}}if(h=!0,A){if(a&&a.size>0){let e=aR(s);a.forEach(t=>t.interruptUnsafe(s.id,e));return}if(o||"Failure"===A._tag)return A}else if(o)if(!a)return oa;else 0===a.size&&o(az)};return I()}},Au=Ad({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),Ag=((e,t,r)=>a9(e,e=>t(e)?aU(e):r(e)),(e,t,r=!1,i=!1,n=!1)=>{let s="inherit"===n?e.interruptible:!n,a=new aw(e.context,s);return r?a.evaluate(t):e.currentDispatcher.scheduleTask(()=>a.evaluate(t),0),i||a._exit||(e.children().add(a),a.addObserver(()=>e._children.delete(a))),a}),Ah=eK(e=>rn(e[0]),(e,t,r)=>rv(i=>{let n=Ag(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!n._exit)if("Closed"!==t.state._tag){let e={};oW(t,e,()=>{let e;return e=e=>e===n.id?az:ak(n),rv(t=>e(t.id))}),n.addObserver(()=>oj(t,e))}else n.interruptUnsafe(i.id,aR(i));return aU(n)})),Ap=eK(e=>rn(e[0]),(e,t)=>a9(oq,r=>Ah(e,r,t))),Am=e=>(t,r)=>{let i=new aw(r?.scheduler?n7(e,sH,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i},Af=eK(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return oW(t,r,()=>ak(e)),e.addObserver(()=>oj(t,r)),e}),AC=Am(n9),Ay=(Z=(X=Am(n9),(e,t)=>{let r=X(e,t);return new Promise(e=>{r.addObserver(t=>e(t))})}),(e,t)=>Z(e,t).then(e=>{if("Failure"===e._tag)throw ag(e.cause);return e.value})),AI=e=>{let t=Am(e);return e=>{if(a7(e))return e;let r=t(e,{scheduler:new sq("sync")});return r._dispatcher?.flush(),r._exit??rR(new Az(r))}},AE=AI(n9),AB=(p=AI(n9),e=>{let t=p(e);if("Failure"===t._tag)throw ag(t.cause);return t.value}),AQ=aU(!0),Ab=aU(!1);class AN{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),AQ}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](oa)};open=rv(e=>this._isOpen?Ab:(this._isOpen=!0,this.scheduleUnsafe(e)));release=rv(e=>this._isOpen?Ab:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=aW(e=>this._isOpen?e(az):(this.waiters.push(e),aL(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=aL(()=>this.closeUnsafe());whenOpen=e=>a9(this.await,()=>e);isOpen(){return this._isOpen}}let AS=e=>new AN(e??!1),Aw=BigInt(0),Ax={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:Aw,endTime:Aw,exit:oa},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},AD=e=>e?sr(e.annotations,sj)?"Span"===e._tag?AD(iN(e.parent)):ii():is(e):ii(),AR=(e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return rv(t=>{let n=((e,t,r)=>{let i,n=!e.getRef(s4)||r?.annotations&&sr(r.annotations,sj),s=r?.parent!==void 0?is(r.parent):r?.root?ii():AD(e.currentSpan);if(n){let e;e={name:t,parent:s,annotations:n7(r?.annotations??n9,sj,!0)},i=Object.assign(Object.create(Ax),e)}else{let n=e.getRef(sZ),a=e.getRef(Ak),o=e.getRef(s8),A=e.getRef(s9),l=e.getRef(s6),c=r?.level??e.getRef(sK),d=r?.links!==void 0?[...l,...r.links]:l.slice();for(let[l,u]of(i=n.span({name:t,parent:s,annotations:r?.annotations??n9,links:d,startTime:o?a.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??io(s),sampled:r?.sampled??((!iA(s)||!1!==s.value.sampled)&&!Aj(e.getRef(s$),c))}),Object.entries(A)))i.attribute(l,u);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i})(t,e,r),s=t.getRef(Ak);return o1(t2(()=>i(n)),e=>aL(()=>{"Ended"!==n.status._tag&&n.end(s.currentTimeNanosUnsafe(),e)}))})},Av=om(sW),Ak=n0("effect/Clock",{defaultValue:()=>new AF}),AM=0x80000000-1;class AF{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=aL(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return AT()}currentTimeNanos=aL(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(sF(e))}sleepMillis(e){return e<=0?aH:Number.isFinite(e)?aW(t=>{let r=e>AM?this.sleepMillis(e-AM):az,i=setTimeout(()=>t(r),Math.min(e,AM));return aL(()=>clearTimeout(i))}):aj}}let AU=(f=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*f:()=>(m??=BigInt(Date.now())*f-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),AT=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return AU;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),AL=e=>rv(t=>e(t.getRef(Ak))),AO=e=>AL(t=>t.sleep(sm(e))),AP=(e=>e.currentTimeMillis,"~effect/Cause/TimeoutError");class AH extends rF("TimeoutError"){[AP]=AP;constructor(e){super({message:e})}}let AY="~effect/Cause/IllegalArgumentError";class AG extends rF("IllegalArgumentError"){[AY]=AY;constructor(e){super({message:e})}}let Aq="~effect/Cause/AsyncFiberError";class Az extends rF("AsyncFiberError"){[Aq]=Aq;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let AV="~effect/Cause/UnknownError";class A_ extends rF("UnknownError"){[AV]=AV;constructor(e,t){super({message:t,cause:e})}}let AJ=n0("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),AW=r9(r4,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}}),Aj=r7(AW),AK=n0("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([A2,A3])}),A$=n0("effect/Logger/LogToStderr",{defaultValue:e0}),AX={"~effect/Logger":{_Message:e$,_Output:e$},pipe(){return eJ(this,arguments)}},AZ=e=>{let t=Object.create(AX);return t.log=e,t},A0=(e,t)=>{let r=e[0].replace(/[\s="]/g,"_");return`${r}=${t-e[1]}ms`},A1=e=>(...t)=>{let r;for(let e=0,i=t.length;e<i;e++){let i=t[e];ro(i)&&(r?t.splice(e,1):t=t.slice(0,e).concat(t.slice(e+1)),r=r?rg(r.reasons.concat(i.reasons)):i,e--)}return void 0===r&&(r=rh),rv(i=>{let n=e??i.currentLogLevel;if(Aj(i.minimumLogLevel,n))return az;let s=i.getRef(Ak),a=i.getRef(AK);if(a.size>0){let e=new Date(s.currentTimeMillisUnsafe());for(let s of a)s.log({cause:r,fiber:i,date:e,logLevel:n,message:t})}return az})},A2=AZ(({cause:e,date:t,fiber:r,logLevel:i,message:n})=>{let s=Array.isArray(n)?n.slice():[n];e.reasons.length>0&&s.push(aI(e));let a=t.getTime(),o=r.getRef(ar),A="";for(let e of o)A+=` ${A0(e,a)}`;let l=r.getRef(s7);Object.keys(l).length>0&&s.push(l);let c=r.getRef(AJ);(r.getRef(A$)?c.error:c.log)(`[${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}] ${i.toUpperCase()} (#${r.id})${A}:`,...s)}),A3=AZ(({cause:e,fiber:t,logLevel:r,message:i})=>{let n=t.getRef(Ak),s=t.getRef(s7),a=t.currentSpan;if(void 0===a||"ExternalSpan"===a._tag)return;let o={};for(let[e,t]of Object.entries(s))o[e]=t;o["effect.fiberId"]=t.id,o["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(o["effect.cause"]=aI(e)),a.event(tX(Array.isArray(i)&&1===i.length?i[0]:i),n.currentTimeNanosUnsafe(),o)}),A5=e=>void 0===e?rO:rD(rL(e)),A4=class extends ej{constructor(e){super(),e&&Object.assign(this,e)}},A8=rM,A9=rF,A6="~effect/time/DateTime",A7="~effect/time/DateTime/TimeZone",le={[A6]:A6,pipe(){return eJ(this,arguments)},[tK](){return this.toString()},toJSON(){return lQ(this).toJSON()}},lt={...le,_tag:"Utc",[td](){return tf(this.epochMilliseconds)},[tx](e){return lo(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${lQ(this).toJSON()})`}},lr={...le,_tag:"Zoned",[td](){return th(tf(this.epochMilliseconds))(tu(this.zone))},[tx](e){return lo(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&tD(this.zone,e.zone)},toString(){return`DateTime.Zoned(${lO(this)})`}},li={[A7]:A7,[tK](){return this.toString()}},ln={...li,_tag:"Named",[td](){return tC(`Named:${this.id}`)},[tx](e){return ll(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},ls={...li,_tag:"Offset",[td](){return tC(`Offset:${this.offset}`)},[tx](e){return ll(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${lS(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},la=(e,t,r)=>{let i=Object.create(lr);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},lo=e=>tA(e,A6),lA=e=>lo(e[0]),ll=e=>tA(e,A7),lc=((e,t)=>e.epochMilliseconds===t.epochMilliseconds,e=>{let t=Object.create(lt);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t}),ld=e=>{let t=e.getTime();if(Number.isNaN(t))throw new AG("Invalid date");return lc(t)},lu=e=>{if(lo(e))return e;if(e instanceof Date)return ld(e);if("object"==typeof e){if("epochMilliseconds"in e)return lc(e.epochMilliseconds);let t=new Date(0);return lx(t,e),ld(t)}return"string"!=typeof e||lg(e)?ld(new Date(e)):ld(new Date(e+"Z"))},lg=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),lh=iS((e,t)=>{let r,i=t?.timeZone;if(void 0===i&&lo(e)&&"Zoned"===e._tag)return e;let n=lu(e);if(n.epochMilliseconds<-86399999568e5||n.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${n.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=ly(-60*new Date(n.epochMilliseconds).getTimezoneOffset()*1e3);else if(ll(i))r=i;else if("number"==typeof i)r=ly(i);else{let e=lB(i);if(io(e))throw new AG(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?la(n.epochMilliseconds,r,n.partsUtc):lD(n.epochMilliseconds,r,t?.disambiguation??"compatible")}),lp=iS(lu),lm=/^(.{17,35})\[(.+)\]$/,lf=((e,t,r)=>r?.adjustForTimeZone===!0?lD(e.epochMilliseconds,t,r?.disambiguation??"compatible"):la(e.epochMilliseconds,t,e.partsUtc),new Map),lC={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},ly=e=>{let t=Object.create(ls);return t.offset=e,t},lI=iS(e=>{if(lf.has(e))return lf.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...lC,timeZone:e});let r=t.resolvedOptions().timeZone;if(lf.has(r))return lf.get(r);let i=Object.create(ln);return i.id=r,i.format=t,lf.set(r,i),i}catch{throw new AG(`Invalid time zone: ${e}`)}}),lE=/^(?:GMT|[+-])/,lB=e=>{if(lE.test(e)){let t=lv(e);return null===t?ii():is(ly(t))}return lI(e)},lQ=e=>new Date(e.epochMilliseconds),lb=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},lN=e=>lb(e).getTime()-lw(e),lS=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},lw=e=>e.epochMilliseconds,lx=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},lD=(e,t,r)=>{if("Offset"===t._tag)return la(e-t.offset,t);let i=lk(e-864e5,e,t),n=lk(e+864e5,e,t);if(i===n)return la(e-i,t);let s=i-n;if(i<n){if(lk(e-n,e,t)===n)return la(e-n,t);let s=la(e-i,t);if(e!==lb(s).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return la(e-n,t)}return s}if(lk(e-i,e,t)===i){if("earlier"===r||"compatible"===r||lk(e-i+s,e+s,t)===i)return la(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return la(e-n,t)},lR=/([+-])(\d{2}):(\d{2})$/,lv=e=>{let t=lR.exec(e);if(null===t)return null;let[,r,i,n]=t;return("+"===r?1:-1)*(60*Number(i)+Number(n))*6e4},lk=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let n=lv(i);return null===n?lN(la(t,r)):n},lM=eK(lA,(e,t,r)=>{if("Utc"===e._tag){let r=lQ(e);return t(r),lc(r.getTime())}let i=new Date(lb(e).getTime());return t(i),lD(i.getTime(),e.zone,r?.disambiguation??"compatible")}),lF=((e,t)=>lF(e,e=>{let r=new Date(e);return t(r),r.getTime()}),eK(2,(e,t)=>{let r=t(lw(e));return"Utc"===e._tag?lc(r):la(r,e.zone)})),lU=((e,t)=>t(lb(e)),eK(2,(e,t)=>t(lQ(e)))),lT=(e,t)=>{e.setTime(e.getTime()+t)},lL=((e,t)=>lM(e,e=>{if(t.milliseconds&&lT(e,t.milliseconds),t.seconds&&lT(e,1e3*t.seconds),t.minutes&&lT(e,60*t.minutes*1e3),t.hours&&lT(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=lb(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${lS(lN(e))}`}),lO=e=>"Offset"===e.zone._tag?lL(e):`${lL(e)}[${e.zone.id}]`,lP={"~effect/Deferred":{_A:e$,_E:e$},pipe(){return eJ(this,arguments)}},lH=()=>{let e=Object.create(lP);return e.resumes=void 0,e.effect=void 0,e},lY=e=>aW(t=>e.effect?t(e.effect):(e.resumes??=[],e.resumes.push(t),aL(()=>{let r=e.resumes.indexOf(t);e.resumes.splice(r,1)}))),lG=eK(2,(e,t)=>aL(()=>lV(e,t))),lq=e=>aL(()=>lz(e)),lz=e=>void 0!==e.effect,lV=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0},l_=(e,t)=>{let r=oK(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return oW(e,i,e=>oz(r,e)),oW(r,i,t=>aL(()=>oj(e,i))),r},lJ="~effect/Layer/MemoMap",lW={"~effect/Layer":{_ROut:e$,_E:e$,_RIn:e$},pipe(){return eJ(this,arguments)}},lj=e=>{let t=Object.create(lW);return t.build=e,t},lK=e=>lj((t,r)=>{let i=l_(r);return o1(e(t,i),e=>"Failure"===e._tag?oz(i,e):az)});class l${get[lJ](){return lJ}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,a3(oJ(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let n,s,a,o=this.get(e,t);return o?o:(i=this,n=oK(),a={observers:1,effect:lY(s=lH()),finalizer:t=>aO(()=>(a.observers--,0===a.observers)?(i.map.delete(e),oz(n,t)):az)},i.map.set(e,a),oJ(t,a.finalizer).pipe(a9(()=>r(i,n)),o1(e=>(a.effect=e,lG(s,e)))))}}let lX=()=>new l$;class lZ extends n0()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=se(e,lZ);return t?new l$(t):lX()}}let l0=eK(3,(e,t,r)=>om(ot(e.build(t,r),n7(lZ,t)),lZ,t)),l1=eK(2,(e,t)=>rv(r=>l0(e,lZ.forkOrCreate(r.context),t))),l2=function(){return 1==arguments.length?e=>l3(n6(arguments[0],e)):l3(n6(arguments[0],arguments[1]))},l3=e=>lj(eX(aU(e))),l5=function(){return 1==arguments.length?e=>l4(arguments[0],e):l4(arguments[0],arguments[1])},l4=(e,t)=>l8(ot(t,t=>n6(e,t))),l8=e=>{var t;let r;return t=(t,r)=>oX(e,r),r=lK((e,i)=>e.getOrElseMemoize(r,i,t))},l9=(e,t,r)=>{let i=l_(r,"parallel");return Al(e,e=>e.build(t,l_(i,"sequential")),{concurrency:e.length}).pipe(ot(e=>((...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return n5(t)})(...e)))},l6=(...e)=>lK((t,r)=>l9(e,t,r)),l7=(e,t,r)=>lK((i,n)=>a9(Array.isArray(t)?l9(t,i,n):t.build(i,n),t=>e.build(i,n).pipe(op(t),ot(e=>r(e,t))))),ce=eK(2,(e,t)=>l7(e,t,e$)),ct=eK(2,(e,t)=>l7(e,t,(e,t)=>so(t,e))),cr=eK(2,(e,t)=>oE(e,cs,e=>t(e))),ci=e=>"Fail"===e._tag&&tA(e.error,rU),cn=sP(ao,e=>tA(e,rU)?r3(e):r2(e)),cs=sP(ao,e=>tA(e,rU)?r3(e.value):r2(e)),ca=e=>{let t=cn(e);return r0(t)?rx(t.failure):rN(t.success.value)},co=eK(2,(e,t)=>ok(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=cn(e);return r0(r)?t.onFailure(r.failure):t.onDone(r.success.value)}})),cA="~effect/Schedule",cl=n0("effect/Schedule/CurrentMetadata",{defaultValue:eX({input:void 0,output:void 0,duration:sb,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),cc={[cA]:{_Out:e$,_In:e$,_Env:e$},pipe(){return eJ(this,arguments)}},cd=e=>{let t=Object.create(cc);return t.step=e,t},cu=()=>{let e,t,r=0;return(i,n)=>{void 0===t&&(t=i);let s=i-t,a=void 0===e?0:i-e;return e=i,{input:n,attempt:++r,start:t,now:i,elapsed:s,elapsedSincePrevious:a}}},cg=e=>cd(ot(e,e=>{let t=cu();return(r,i)=>e(t(r,i))})),ch=e=>oy(e.step,e=>aU(()=>aT(e))),cp=e=>AL(t=>ot(ch(e),e=>{let r=cu();return i=>aO(()=>{let n=t.currentTimeMillisUnsafe();return a9(e(n,i),([e,t])=>{let s=r(n,i);return s.output=e,s.duration=t,a2(AO(t),s)})})})),cm=(e,t=2)=>{let r=sF(sm(e));return cg(aU(e=>{let i=sx(r*Math.pow(t,e.attempt-1));return aU([i,i])}))},cf=e=>cd(ot(ch(e),e=>(t,r)=>co(e(t,r),{onSuccess:e=>aU([r,e[1]]),onFailure:aT,onDone:()=>A5(r)}))),cC=eK(2,(e,t)=>cd(ot(ch(e),e=>{let r=cu();return(i,n)=>a9(e(i,n),e=>{let[s,a]=e,o=t({...r(i,n),output:s,duration:a});return a9(rn(o)?o:aU(o),t=>t?aU(e):A5(s))})}))),cy=(C=sm(sb),cg(aU(e=>aU([e.attempt-1,C])))),cI=eK(e=>rn(e[0]),(e,t,r)=>{let i;return n8(t)?op(e,t):(i=Array.isArray(t)?l6(...t):t,oZ(t=>a9(r?.local?l0(i,lX(),t):l1(i,t),t=>op(e,t))))}),cE=((e,t,r)=>a9(cp(t),t=>{let i=cl.defaultValue();return oB(oC(a5(a9(aO(()=>om(e,cl,i)),t),e=>aL(()=>{i=e})),{disableYield:!0}),e=>tA(e,rU)?aU(e.value):r(e,0===i.attempt?ii():is(i)))}),eK(3,(e,t,r)=>a9(cp(t),t=>{let i,n=cl.defaultValue(),s=oB(aO(()=>om(e,cl,n)),e=>(i=e,a9(t(e),e=>(n=e,s))));return cr(s,e=>t2(()=>r(i,e)))}))),cB=eK(2,(e,t)=>cE(e,"function"==typeof t?t(e$):tA(t,cA)?t:cb(t),rD)),cQ=cf(cy),cb=e=>{let t=e.schedule?cf(e.schedule):cQ;return e.while&&(t=cC(t,({input:t})=>{let r=e.while(t);return rn(r)?r:aU(r)})),e.until&&(t=cC(t,({input:t})=>{let r=e.until(t);return rn(r)?ot(r,e=>!e):aU(!r)})),void 0!==e.times&&(t=cC(t,({attempt:t})=>aU(t<=e.times))),t},cN=cC(cy,({attempt:e})=>aU(e<=1)),cS=(en={_E:e=>e,_A:e=>e,_R:e=>e},e8.add(en),en);({...{[td](){return ty(this,Object.keys(this))},[tx](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!tD(this[t[i]],e[t[i]]))return!1;return!0}},"~effect/Request":cS});let cw=e=>a_(function(t,r){t2(()=>e(r)).then(e=>t(aU(e)),e=>t(aG(e)))},0!==e.length),cx=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new A_(e,"An error occurred in Effect.tryPromise"):e.catch;return a_(function(e,i){let n=t=>{try{e(rD(t2(()=>r(t))))}catch(t){e(aG(t))}};try{t2(()=>t(i)).then(t=>e(aU(t)),n)}catch(e){n(e)}},0!==t.length)},cD=(...e)=>aO(()=>a1(1===e.length?e[0]():e[1].call(e[0].self))),cR=e=>aO(()=>aT(t2(e))),cv=e=>oU(e,{onFailure:ii,onSuccess:is}),ck=e=>rv(t=>{let r=t.context,i=oK();return t.setContext(n7(t.context,oq,i)),o0(e,e=>(t.setContext(r),oV(i,e)))}),cM=(e,t,r)=>oh(i=>As(n=>a9(oq,s=>a5(r?.interruptible?n(e):e,e=>oJ(s,r=>op(t(e,r),i)))))),cF=(e,t,r)=>As(i=>a9(e,e=>o0(i(t(e)),t=>r(e,t),!0))),cU=e=>o6(e,sN),cT=(...e)=>rv(t=>{let r=t.currentSpanLocal;if(r)if(1===e.length)for(let[t,i]of Object.entries(e[0]))r.attribute(t,i);else r.attribute(e[0],e[1]);return az}),cL=function(){let e=rn(arguments[0]),t=e?arguments[1]:arguments[0],r=e?arguments[2]:arguments[1],i=e$;if("Span"===t._tag){var n,s;r=(e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=Error.stackTraceLimit;nX(3);let r=Error();return nX(t),{...e,captureStackTrace:an(()=>r.stack)}})(r),n=t.name,s="function"==typeof(s=r?.captureStackTrace)?s:e2,i=ou(s5,e=>({name:n,stack:s,parent:e}))}return e?Av(i(arguments[0]),t):e=>Av(i(e),t)},cO=function(){let e="string"==typeof arguments[0],t=e?arguments[0]:"Effect.fn",r=e?arguments[1]:void 0,i=Error.stackTraceLimit;nX(2);let n=new globalThis.Error;return(nX(i),e)?(i,...s)=>aZ(t,i,n,s,e,r):aZ(t,arguments[0],n,Array.prototype.slice.call(arguments,1),e,r)},cP=A1("Warn"),cH=A1("Error"),cY=A1("Info"),cG=A1("Debug"),cq=eK(e=>rn(e[0]),(e,...t)=>ou(e,s7,e=>{let r={...e};return 1===t.length?Object.assign(r,t[0]):r[t[0]]=t[1],r})),cz=(e,t,r)=>(...i)=>aW(n=>{try{e(...i,(e,r)=>{e?n(rD(t?t(e,i):e)):n(aU(r))})}catch(e){n(r?rD(r(e,i)):aG(e))}}),cV=(e,...t)=>a$(e.length,0===t.length?function(){return a0(()=>e.apply(this,arguments))}:function(){let r=a0(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),c_="~effect/encoding/EncodingError";class cJ extends A9("EncodingError"){[c_]=c_}let cW=e=>"string"==typeof e?cZ(cK.encode(e)):cZ(e),cj=e=>{let t=cX(e),r=t.length;if(r%4!=0)return r2(new cJ({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return r2(new cJ({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,n=0;e<r;e+=4,n+=3){let r=c0(t.charCodeAt(e))<<18|c0(t.charCodeAt(e+1))<<12|c0(t.charCodeAt(e+2))<<6|c0(t.charCodeAt(e+3));i[n]=r>>16,i[n+1]=r>>8&255,i[n+2]=255&r}return r3(i)}catch(e){return r2(new cJ({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},cK=new TextEncoder,c$=new TextDecoder,cX=e=>e.replace(/[\n\r]/g,""),cZ=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=c1[e[t-2]>>2],i+=c1[(3&e[t-2])<<4|e[t-1]>>4],i+=c1[(15&e[t-1])<<2|e[t]>>6],i+=c1[63&e[t]];return t===r+1&&(i+=c1[e[t-2]>>2],i+=c1[(3&e[t-2])<<4],i+="=="),t===r&&(i+=c1[e[t-2]>>2],i+=c1[(3&e[t-2])<<4|e[t-1]>>4],i+=c1[(15&e[t-1])<<2],i+="="),i};function c0(e){if(e>=c2.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=c2[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let c1=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],c2=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],c3=e=>cZ(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),c5=e=>{let t="";for(let r=0;r<e.length;++r)t+=c8[e[r]];return t},c4=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},c8=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function c9(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}function c6(e){return t=>(t.checks?t.checks[t.checks.length-1].annotations:t.annotations)?.[e]}let c7=c6("identifier"),de=c6("title"),dt=c6("brands"),dr=e5(e=>{let t=c7(e);return"string"==typeof t?t:e.getExpected(dr)}),di=new WeakMap,dn=e=>{if(di.has(e))return di.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))},ds="~effect/data/Redacted",da=(e,t)=>{let r=Object.create(dA);return t?.label&&(r.label=t.label),di.set(r,e),r},dA={[ds]:{_A:e=>e},label:void 0,...rr,toJSON(){return this.toString()},toString(){return`<redacted${e9(this.label)?":"+this.label:""}>`},[td](){return tu(di.get(this))},[tx](e){return tA(e,ds)&&tD(di.get(this),di.get(e))}},dl="~effect/SchemaIssue/Issue";class dc{[dl]=dl;toString(){return dS(this)}}class dd extends dc{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class du extends dc{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class dg extends dc{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class dh extends dc{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class dp extends dc{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class dm extends dc{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class df extends dc{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class dC extends dc{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class dy extends dc{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class dI extends dc{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class dE extends dc{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function dB(e,t){if(tA(t,dl))return t;if("string"==typeof t)return new dC(is(e),{message:t});let r="string"==typeof t.issue?new dC(is(e),{message:t.issue}):t.issue;return new dg(t.path,r)}let dQ=e=>{let t=dx(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return dN(dr(e.ast),dR(e.actual));case"InvalidValue":return`Invalid data ${dR(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${tV(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${tV(e.actual)}`}},db=e=>dx(e.issue)??dx(e);function dN(e,t){return`Expected ${e}, got ${t}`}let dS=e=>(function e(t,r,i,n){switch(t._tag){case"Filter":{let s=n(t);if(void 0!==s)return[{path:r,message:s}];if("InvalidValue"===t.issue._tag)return[{path:r,message:dN(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),tV(t.actual))}];return e(t.issue,r,i,n)}case"Encoding":return e(t.issue,r,i,n);case"Pointer":return e(t.issue,[...r,...t.path],i,n);case"Composite":return t.issues.flatMap(t=>e(t,r,i,n));case"AnyOf":{let s=dx(t);if(0===t.issues.length){if(void 0!==s)return[{path:r,message:s}];return[{path:r,message:dN(dr(t.ast),tV(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,n))}default:return[{path:r,message:i(t)}]}})(e,[],dQ,db).map(dw).join("\n");function dw(e){let t=e.message;if(e.path&&e.path.length>0){let r=e.path.map(e=>`[${tJ(e)}]`).join("");t+=` + at ${r}`}return t}function dx(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return dD(e.ast.annotations);case"InvalidValue":case"Forbidden":return dD(e.annotations);case"MissingKey":return dD(e.annotations,"messageMissingKey");case"UnexpectedKey":return dD(e.ast.annotations,"messageUnexpectedKey");case"Filter":return dD(e.filter.annotations);case"Encoding":return dx(e.issue)}}function dD(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function dR(e){return io(e)?"no value provided":tV(e.value)}function dv(e){let t;for(let r of e.reasons){if(!rC(r)||!tA(r.error,dl))return;t??=r.error}return t}function dk(e,t){let r=dv(e);if(void 0===r)throw Error(t,{cause:e});return r}class dM extends ej{run;constructor(e){super(),this.run=e}map(e){return new dM((t,r)=>this.run(t,r).pipe(or(iD(e))))}compose(e){return dU(this)?e:dU(e)?this:new dM((t,r)=>this.run(t,r).pipe(oe(t=>e.run(t,r))))}}let dF=new dM(aU);function dU(e){return e.run===dF.run}function dT(e){var t;return t=iD(e),new dM(e=>aU(t(e)))}function dL(e){var t;return t=(t,r)=>e(t,r).pipe(or(is)),new dM((e,r)=>io(e)?aY:t(e.value,r))}function dO(){return dT(globalThis.String)}function dP(){return dT(globalThis.Number)}class dH{_tag="Middleware";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new dH(this.encode,this.decode)}}let dY="~effect/SchemaTransformation/Transformation";class dG{[dY]=dY;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new dG(this.encode,this.decode)}compose(e){return new dG(this.decode.compose(e.decode),e.encode.compose(this.encode))}}let dq=e=>tA(e,dY)?e:new dG(e.decode,e.encode);function dz(e){return new dG(dL(e.decode),dL(e.encode))}function dV(e){return new dG(dT(e.decode),dT(e.encode))}let d_=new dG(dF,dF),dJ=new dG(dP(),dO()),dW=new dG(dT(globalThis.BigInt),dO());dT(e=>new globalThis.Date(e));let dj=e=>{let t;return"object"!=typeof e||null===e||Array.isArray(e)||"string"!=typeof e.message?e:(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:dj(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t)};function dK(e){return t=>t._tag===e}dL(e=>oi(aP(cj(e)),t=>new dC(is(e),{message:t.message}))),dT(cW),dL(e=>nM(nk(cj(e),e=>c$.decode(e)),{onFailure:t=>rD(new dC(is(e),{message:t.message})),onSuccess:aU})),dT(cW),dL(e=>nM(nk((e=>{let t=cX(e),r=t.length;if(r%4==1)return r2(new cJ({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return r2(new cJ({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return cj(i=i.replace(/-/g,"+").replace(/_/g,"/"))})(e),e=>c$.decode(e)),{onFailure:t=>rD(new dC(is(e),{message:t.message})),onSuccess:aU})),dT(e=>"string"==typeof e?c3(cK.encode(e)):c3(e)),dL(e=>nM(nk((e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return r2(new cJ({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=c4(t[2*i]),n=c4(t[2*i+1]);r[i]=e<<4|n}return r3(r)}catch(t){return r2(new cJ({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}})(e),e=>c$.decode(e)),{onFailure:t=>rD(new dC(is(e),{message:t.message})),onSuccess:aU})),dT(e=>"string"==typeof e?c5(cK.encode(e)):c5(e)),dL(e=>{try{return aU(globalThis.decodeURIComponent(e))}catch(t){return rD(new dC(is(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}}),dT(encodeURIComponent);let d$=dK("Declaration"),dX=dK("Never"),dZ=dK("Literal"),d0=dK("UniqueSymbol"),d1=dK("Arrays"),d2=dK("Objects"),d3=dK("Union");class d5{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let d4={};class d8{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let d9="~effect/Schema";class d6{[d9]=d9;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class d7 extends d6{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,n,s,a){super(r,i,n,s),this.typeParameters=e,this.run=t,this.encodingChecks=a}getParser(){let e=this.run(this.typeParameters);return(t,r)=>io(t)?aY:or(e(t.value,this,r),is)}_rebuild(e,t,r){let i=uj(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new d7(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let ue=new class extends d6{_tag="Null";getParser(){return u3(this,null)}getExpected(){return"null"}},ut=new d5(ue,new dG(dT(()=>void 0),dT(()=>null))),ur=new class extends d6{_tag="Undefined";getParser(){return u3(this,void 0)}toCodecJson(){return uY(this,[ut])}getExpected(){return"undefined"}},ui=new class extends d6{_tag="Unknown";getParser(){return u5(this,to)}getExpected(){return"unknown"}};class un extends d6{_tag="Literal";literal;constructor(e,t,r,i,n){if(super(t,r,i,n),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${tV(e)}`);this.literal=e}getParser(){return u3(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?us(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:us(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function us(e){let t=globalThis.String(e.literal);return uY(e,[new d5(new un(t),new dG(dT(()=>e.literal),dT(()=>t)))])}let ua=new class extends d6{_tag="String";getParser(){return u5(this,e9)}matchPart(e,t){return u4(this,e,t)}getExpected(){return"string"}};function uo(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return uo(e.checks,t)}})}let uA=new class extends d6{_tag="Number";getParser(){return u5(this,e6)}matchKey(e,t){return this._match(ge,e,t)}matchPart(e,t){return this._match(u7,e,t)}_match(e,t,r){return e.test(t)?u4(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(uo(this.checks,"isFinite")||uo(this.checks,"isInt"))?this:uY(this,[uM])}toCodecStringTree(){return this.checks&&(uo(this.checks,"isFinite")||uo(this.checks,"isInt"))?uY(this,[gr]):uY(this,[gi])}getExpected(){return"number"}},ul=new class extends d6{_tag="Boolean";getParser(){return u5(this,e7)}getExpected(){return"boolean"}},uc=new class extends d6{_tag="Symbol";getParser(){return u5(this,tt)}matchKey(e,t){return u4(this,e,t)}toCodecStringTree(){return uY(this,[go])}getExpected(){return"symbol"}},ud=new class extends d6{_tag="BigInt";getParser(){return u5(this,te)}matchPart(e,t){return gn.test(e)?u4(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return uY(this,[gs])}getExpected(){return"bigint"}};class uu extends d6{_tag="Arrays";isMutable;elements;rest;encodingChecks;constructor(e,t,r,i,n,s,a,o){super(i,n,s,a),this.isMutable=e,this.elements=t,this.rest=r,this.encodingChecks=o;let A=t.findIndex(uZ);if(-1!==A&&(t.slice(A+1).some(e=>!uZ(e))||r.length>1))throw Error("A required element cannot follow an optional element. ts(1257)");if(r.length>1&&r.slice(1).some(uZ))throw Error("An optional element cannot follow a rest element. ts(1266)")}getParser(e){let t=this,r=t.elements.map(t=>({ast:t,parser:e(t)})),i=t.rest.map(t=>({ast:t,parser:e(t)})),n=r.length,[s,...a]=i,o=a.length;function A(e,t){return t<n?r[t]:t>=e?a[t-e]:s}return cV(function*(e,r){if("None"===e._tag)return e;let i=e.value;if(!Array.isArray(i))return yield*rD(new df(t,e));let s=i.length,a={ast:t,getParser:A,oinput:e,len:s,tailThreshold:Math.max(n,s-o),output:new globalThis.Array(s),issues:void 0,options:r},l=uh(r?.concurrency),c=ug(a,i,{concurrency:l?.concurrency,end:0===t.rest.length?n:Math.max(s,n+o)});if(c&&(yield*c),0===t.rest.length&&s>n)for(let o=n;o<=s-1;o++){let n=new dg([o],new dp(t,i[o]));if("all"!==r.errors)return yield*rD(new dm(t,e,[n]));a.issues?a.issues.push(n):a.issues=[n]}return a.issues?yield*rD(new dm(t,e,a.issues)):is(a.output)})}_rebuild(e,t,r){let i=uj(this.elements,e),n=uj(this.rest,e);return i===this.elements&&n===this.rest&&t===this.checks&&r===this.encodingChecks?this:new uu(this.isMutable,i,n,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){return"array"}}let ug=Ad({onItem(e,t,r){let i=r<e.len?is(t):ii();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return up(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(uZ(t.ast))return;let r=new dg([i],new dh(t.ast.context?.annotations));if("all"!==e.options.errors)return rD(new dm(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),uh=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,up=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let n=dv(i.cause);if(void 0===n)return rx(au(i.cause,i=>new dm(t,e.oinput,[new dg([r],i)])));let s=new dg([r],n);if("all"!==e.options.errors)return rD(new dm(t,e.oinput,[s]));e.issues?e.issues.push(s):e.issues=[s]},um="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class uf{name;type;constructor(e,t){this.name=e,this.type=t}}class uC{decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new uC(this.encode,this.decode)}}function uy(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(uy);default:return!1}}class uI{parameter;type;merge;constructor(e,t,r){if(!(uy(e)&&uy(u1(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,uZ(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class uE extends d6{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,i,n,s,a){super(r,i,n,s),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=a;let o=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(o.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(o)}. ts(2300)`)}getParser(e){let t=this,r=[],i=new Set,n=[];for(let s of t.propertySignatures)r.push(s.name),i.add(s.name),n.push({ps:s,parser:e(s.type),name:s.name,type:s.type});let s=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return u5(t,ta);let a=s>0?Ad({onItem:cV(function*(r,[n,s]){let a=e(u8(s.parameter))(is(n),r.options),o=a7(a)?a:yield*oL(a);if("Failure"===o._tag){let e=up(r,t,n,o);e&&(yield*e);return}let A=is(r.input[n]),l=e(s.type)(A,r.options),c=a7(l)?l:yield*oL(l);if("Failure"===c._tag){let e=up(r,t,n,c);e&&(yield*e);return}if("Some"===o.value._tag&&"Some"===c.value._tag){let e=o.value.value;if(i.has(n)||i.has(e))return;let t=c.value.value;if(s.merge&&s.merge.decode&&Object.hasOwn(r.out,e)){let[i,n]=s.merge.decode.combine([e,r.out[e]],[e,t]);c9(r.out,i,n)}else c9(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return cV(function*(e,o){let A;if("None"===e._tag)return e;let l=e.value;if(!("object"==typeof l&&null!==l&&!Array.isArray(l)))return yield*rD(new df(t,e));let c={},d={ast:t,oinput:e,input:l,out:c,issues:void 0,options:o},u="all"===o.errors,g="error"===o.onExcessProperty,h="preserve"===o.onExcessProperty;if(0===t.indexSignatures.length&&(g||h)){A=Reflect.ownKeys(l);for(let r=0;r<A.length;r++){let n=A[r];if(!i.has(n))if(g){let r=new dg([n],new dp(t,l[n]));if(!u)return yield*rD(new dm(t,e,[r]));d.issues?d.issues.push(r):d.issues=[r];continue}else c9(c,n,l[n])}}let p=uh(o?.concurrency),m=uB(d,n,p);if(m&&(yield*m),a){let e=nG();for(let r=0;r<s;r++){let i=t.indexSignatures[r],n=function(e,t,r=d4){let i,n;return function t(s){switch(s._tag){case"String":case"TemplateLiteral":return(i??=Object.keys(e)).filter(e=>void 0!==s.matchPart(e,r));case"Number":return(i??=Object.keys(e)).filter(e=>void 0!==s.matchKey(e,r));case"Symbol":return(n??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==s.matchKey(e,r));case"Union":return[...new Set(s.types.flatMap(t))];default:return[]}}(u8(u1(t)))}(l,i.parameter,o);for(let t=0;t<n.length;t++){let r=n[t];e.push([r,i])}}let r=a(d,e,p);r&&(yield*r)}if(d.issues)return yield*rD(new dm(t,e,d.issues));if("original"===o.propertyOrder){let e=(A??Reflect.ownKeys(l)).concat(r),t={};for(let r of e)Object.hasOwn(c,r)&&c9(t,r,c[r]);return is(t)}return is(c)})}_rebuild(e,t,r,i,n){let s=uj(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new uf(t.name,r)}),a=uj(this.indexSignatures,i=>{let n=t(i.parameter),s=e(i.type),a=r?i.merge?.flip():i.merge;return n===i.parameter&&s===i.type&&a===i.merge?i:new uI(n,s,a)});return s===this.propertySignatures&&a===this.indexSignatures&&i===this.checks&&n===this.encodingChecks?this:new uE(s,a,this.annotations,i,void 0,this.context,n)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let uB=Ad({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?is(e.input[t.name]):ii();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return up(e,e.ast,t.name,r);if("Some"===r.value._tag)c9(e.out,t.name,r.value.value);else if(!uZ(t.type)){let r=new dg([t.name],new dh(t.type.context?.annotations));return"all"!==e.options.errors?rD(new dm(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function uQ(e,t){return e?t?[...e,...t]:e:t}function ub(e,t,r){return new uE(Reflect.ownKeys(e).map(t=>new uf(t,e[t].ast)),[],r,t)}function uN(e){return e.ast}function uS(e,t,r){return new uR(e.map(uN),t,void 0,r)}function uw(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!uZ(t)){if(dZ(t))return[{key:e.name,literal:t.literal}];if(d0(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>dZ(e)&&!uZ(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return uw(e.thunk())}}let ux=new WeakMap;function uD(e){return t=>{let r=u1(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class uR extends d6{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,n,s,a){super(r,i,n,s),this.types=e,this.mode=t,this.encodingChecks=a}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return aU(r);let n=r.value,s=function(e,t){let r=function(e){let t=ux.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=u1(e[r]);if(dX(i))continue;let n=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),s=uw(i);for(let e of(t.byType??={},n))(t.byType[e]??=[]).push(r);if(s.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,s)){let n=t.bySentinel.get(e);n||t.bySentinel.set(e,n=new Map);let s=n.get(i);s||n.set(i,s=[]),s.push(r)}else for(let e of(t.otherwise??={},n))(t.otherwise[e]??=[]).push(r)}return ux.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let n=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(n);for(let[t,n]of r.bySentinel)if(Object.hasOwn(e,t)){let r=n.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(uD(e))}return n.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(uD(e))}(n,t.types),a={ast:t,recur:e,oinput:r,input:n,out:void 0,successes:[],issues:void 0,options:i},o=uh(i?.concurrency),A=uv(a,s,o?{...o,orderedStep:!0}:void 0);return A?a9(A,e=>a.out?aU(a.out):rD(new dI(t,n,a.issues??[]))):a.out?aU(a.out):rD(new dI(t,n,a.issues??[]))}}_rebuild(e,t,r){let i=uj(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new uR(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=u1(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(dZ);if(t.length>0)return`${uF(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>dZ(e.type));if(t.length>0)return`{ ${t.map(t=>`${uF(t.type.context?.isMutable)}${tJ(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let uv=Ad({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=dv(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),rD(new dE(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return oa}}}),uk=new uR([new un("Infinity"),new un("-Infinity"),new un("NaN")],"anyOf"),uM=new d5(new uR([uA,uk],"anyOf"),new dG(dP(),dT(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function uF(e){return e?"":"readonly "}class uU extends d6{_tag="Suspend";thunk;constructor(e,t,r,i,n){let s,a;if(void 0!==r)throw Error("Cannot add checks to Suspend");super(t,void 0,i,n),this.thunk=(a=!1,()=>(a||(s=e(),a=!0),s))}getParser(e){return e(this.thunk())}recur(e){return new uU(()=>e(this.thunk()),this.annotations,void 0,void 0,this.context)}getExpected(e){return e(this.thunk())}}class uT extends ej{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new uT(this.run,{...this.annotations,...e},this.aborted)}abort(){return new uT(this.run,this.annotations,!0)}and(e,t){return new uL([this,e],t)}}class uL extends ej{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new uL(this.checks,{...this.annotations,...e})}and(e,t){return new uL([this,e],t)}}function uO(e,t,r=!1){return new uT((t,r,i)=>(function(e,t,r){if(Array.isArray(r))return r.length>0?1===r.length?dB(e,r[0]):new dm(t,is(e),nz(r,t=>dB(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new dC(is(e)):dB(e,r)})(t,r,e(t,r,i)),t,r)}function uP(e,t){let r=e.source;return uO(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function uH(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function uY(e,t){return e.encoding===t?e:uH(e,e=>{e.encoding.value=t})}function uG(e,t){return e.context===t?e:uH(e,e=>{e.context.value=t})}function uq(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return uz(e,nL(e.checks.slice(0,-1),r.annotate(t)))}return uH(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function uz(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:uH(e,e=>{e.checks.value=t})}function uV(e,t){return uz(e,uQ(e.checks,t))}function u_(e,t){let r=e[e.length-1],i=t(r.to);return i!==r.to?nL(e.slice(0,e.length-1),new d5(i,r.transformation)):e}function uJ(e){return e5(function t(r){return r.encoding?uY(r,u_(r.encoding,t)):e(r)})}function uW(e,t,r){let i=new d5(e,t);return uY(r,r.encoding?[...r.encoding,i]:[i])}function uj(e,t){let r=!1,i=Array(e.length);for(let n=0;n<e.length;n++){let s=e[n],a=t(s);a!==s&&(r=!0),i[n]=a}return r?i:e}function uK(e,t){let r=e.context?new d8(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new d8(!1,!1,void 0,t);return uG(e,r)}let u$=e=>e.encoding?uY(e,u_(e.encoding,uX)):e;function uX(e){let t=e.context?!1===e.context.isOptional?new d8(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new d8(!0,!1);return u$(uG(e,t))}function uZ(e){return e.context?.isOptional??!1}let u0=e5(e=>{if(e.encoding)return u0(uY(e,void 0));let t=e.recur?.(u0)??e,r=t.encodingChecks;return r?uH(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=uQ(t.checks,r))}):t}),u1=e5(e=>u0(u2(e))),u2=e5(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],n=[new d5(u2(uY(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)n.unshift(new d5(u2(t[e-1].to),t[e].transformation.flip()));let s=u2(i.to);return s.encoding?uY(s,[...s.encoding,...n]):uY(s,n)}(e,e.encoding):e.flip?.(u2)??e.recur?.(u2)??e);function u3(e,t){let r=aU(is(t));return i=>"None"===i._tag?aY:i.value===t?r:rD(new df(e,i))}function u5(e,t){return r=>"None"===r._tag?aY:t(r.value)?aU(r):rD(new df(e,r))}function u4(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return gA(e.checks,t,i,e,r),0===i.length?t:void 0}let u8=uJ(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(u8)}}),u9=uJ(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(u9)}}),u6=uJ(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(u6)}}),u7=new globalThis.RegExp(`^${um}$`),ge=new globalThis.RegExp(`(?:${um}|Infinity|-Infinity|NaN)`),gt=uV(ua,[uP(u7,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:u7},...void 0})]),gr=new d5(gt,dJ),gi=new d5(new uR([gt,uk],"anyOf"),dJ),gn=new globalThis.RegExp("^-?\\d+$"),gs=new d5(uV(ua,[uP(gn,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:gn},expected:"a string representing a bigint"})]),dW),ga=new globalThis.RegExp("^Symbol\\((.*)\\)$"),go=new d5(uV(ua,[uP(ga,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:ga},...void 0})]),new dG(dT(e=>globalThis.Symbol.for(ga.exec(e)[1])),dL(e=>void 0!==globalThis.Symbol.keyFor(e)?aU(globalThis.String(e)):rD(new dy(is(e),{message:"cannot serialize to string, Symbol is not registered"})))));function gA(e,t,r,i,n){for(let s=0;s<e.length;s++){let a=e[s];if("FilterGroup"===a._tag)gA(a.checks,t,r,i,n);else{let e=a.run(t,i,n);if(e&&(r.push(new dd(t,a,e)),a.aborted||n?.errors!=="all"))return}}}let gl="~effect/Schema/Class",gc=new d7([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let n=Array.isArray(t);if(!n){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let s=n?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),s&&i.add(t),s}(e))?aU(e):rD(new df(t,is(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new d5(ui,d_),toArbitrary:()=>e=>e.jsonValue()}),gd=new d5(new d7([],()=>(e,t)=>{let r;return(r=new Set,function e(t){return void 0===t||"string"==typeof t||!("object"!=typeof t||null===t||r.has(t))&&((r.add(t),Array.isArray(t))?t.every(e):Object.keys(t).every(r=>e(t[r])))}(e))?aU(e):rD(new df(t,is(e)))},{expected:"StringTree"}),d_),gu="~effect/SchemaError/SchemaError";class gg extends A9("SchemaError"){[gu]=gu;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let gh=e5(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[gl];if(tr(t)){let r=t(e.typeParameters),i=gh(r.to);return uY(e,i===r.to?[r]:[new d5(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=gh(e);return uY(r,r.encoding?[...r.encoding,...t]:t)}return gh(e)});case"Suspend":return e.recur(gh);default:return e}});function gp(e){let t=gI(gh(u0(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function gm(e){let t=gp(e);return(e,r)=>{let i=AE(t(e,r));return"Success"===i._tag?is(i.value):(dk(i.cause,"Option adapter can only return none for schema issues"),ii())}}function gf(e){let t=gE(gI(u0(e)));return e=>{let r=t(e,d4);return"Success"===r._tag||(dk(r.cause,"Type guard adapter can only return false for schema issues"),!1)}}function gC(e,t){let r=gI(e.ast);return void 0===t?r:(e,i)=>r(e,gy(t,i))}let gy=(e,t)=>void 0===t?e:{...e,...t};function gI(e){let t=gQ(e);return(e,r)=>oe(t(is(e),r??d4),e=>"None"===e._tag?rD(new dC(e)):aU(e.value))}function gE(e){return(t,r)=>AE(e(t,r))}function gB(e,t){return oy(e,e=>cR(()=>au(e,t)))}let gQ=e5(e=>{let t,r=e.checks,i=e.encoding,n=i?.length??0,s=e.encodingChecks,a=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!i&&!r&&!s)return(r,i)=>(t??=e.getParser(gQ),a&&(i={...i,...a}),t(r,i));let o=d1(e)||d2(e)||d$(e)&&e.typeParameters.length>0,A=r&&o?r.filter(e=>e.annotations?.["~structural"]):void 0;return(o,l)=>{let c;if(a&&(l={...l,...a}),i){for(let e=n-1;e>=0;e--){let t=i[e],r=gQ(t.to);if(c=c?oe(c,e=>r(e,l)):r(o,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;c=oe(c,t=>e.run(t,l))}else c=t.transformation.decode(c,l)}c=gB(c,t=>new du(e,o,t))}t??=e.getParser(gQ);let d=i=>{let n=t(i,l);return s&&!l?.disableChecks&&(n=oe(n,t=>{if(iA(i)&&iA(t)){let t=[];if(gA(s,i.value,t,e,l),t.length>0)return rD(new dm(e,i,t))}return aU(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&iA(i)&&(n=gB(n,t=>{let r=[];return gA(A,i.value,r,e,l),r.length>0?"Composite"===t._tag&&t.ast===e?new dm(e,t.actual,[...t.issues,...r]):new dm(e,i,[t,...r]):t})),n=oe(n,t=>{if(iA(t)){let i=t.value,n=[];if(gA(r,i,n,e,l),n.length>0)return rD(new dm(e,t,n))}return aU(t)})),n};return c?oe(c,d):d(o)}}),gb="~effect/Schema/Schema",gN={[gb]:gb,pipe(){return eJ(this,arguments)},annotate(e){return this.rebuild(uq(this.ast,e))},annotateKey(e){return this.rebuild(uK(this.ast,e))},check(...e){return this.rebuild(uV(this.ast,e))}};function gS(e){return oy(e,e=>cR(()=>au(e,e=>new gg(e))))}function gw(){return(e,t,r)=>gk(new d7(e.map(uN),e=>t(e.map(e=>gk(e))),r))}function gx(e,t){return gw()([],()=>(t,r)=>e(t)?aU(t):rD(new df(r,is(t))),t)}function gD(e,t){let r=gC(e,t);return(e,t)=>gS(r(e,t))}function gR(e,t){let r,i=(r=gI(u2(e.ast)),void 0===t?r:(e,i)=>r(e,gy(t,i)));return(e,t)=>gS(i(e,t))}let gv=function(e,t){let r=gR(e,t);return(e,t)=>(function(e){let t=AE(e);if("Success"===t._tag)return t.value;throw function(e,t){let r;for(let i of e.reasons){if(!rC(i)||!tA(i.error,gu))throw new globalThis.Error(t,{cause:e});r??=i.error}if(void 0===r)throw new globalThis.Error(t,{cause:e});return r}(t.cause,"Sync adapter can only throw schema errors")})(r(e,t))},gk=function e(t,r){let i,n=Object.create(gN);r&&Object.assign(n,r),n.ast=t,n.rebuild=t=>e(t,r);let s=gp(n);return n.makeEffect=(e,t)=>gS(s(e,t)),i=gp(n),n.make=(e,t)=>{let r=AE(i(e,t));if("Success"===r._tag)return r.value;let n=dk(r.cause,"Constructor adapter can only throw schema issues");throw Error(n.toString(),{cause:n})},n.makeOption=gm(n),n},gM=e=>gk(uX(e.ast),{schema:e});function gF(e){let t=gk(new un(e),{literal:e,transform:r=>t.pipe(gX(gF(r),{decode:dT(()=>r),encode:dT(()=>e)}))});return t}let gU=gk(ui),gT=gk(ue),gL=gk(ur),gO=gk(ua),gP=gk(uA),gH=gk(ul);function gY(e,t){return gk(e,{fields:t,mapFields(e,t){let r=e(this.fields);return gY(ub(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function gG(e){return gY(ub(e,void 0),e)}function gq(e,t,r){let i=r?.keyValueCombiner?.decode||r?.keyValueCombiner?.encode?new uC(r.keyValueCombiner.decode,r.keyValueCombiner.encode):void 0;return gk(function(e,t,r){let i,n,{literals:s,parameters:a}=(i=[],n=[],!function e(t){switch(t._tag){case"Literal":var r;(e9(r=t.literal)||e6(r)||tt(r))&&i.push(t.literal);return;case"UniqueSymbol":i.push(t.symbol);return;case"Never":return;case"Union":for(let r=0;r<t.types.length;r++)e(t.types[r]);return;default:n.push(t)}}(e),{literals:i,parameters:n});return new uE(s.map(e=>new uf(e,t)),a.map(e=>new uI(e,t,r)))}(e.ast,t.ast,i),{key:e,value:t})}let gz=e=>gk(new uu(!1,[],[e.ast]),{value:e}),gV=e=>gk(new uu(!1,[e.ast],[e.ast]),{value:e});function g_(e,t){return function e(t,r){return gk(t,{members:r,mapMembers(t,r){let i=t(this.members);return e(uS(i,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(uS(e,t?.mode??"anyOf",void 0),e)}function gJ(e){let t=e.map(gF);return gk(uS(t,"anyOf",void 0),{literals:e,members:t,mapMembers(e){return g_(e(this.members))},pick:e=>gJ(e),transform:e=>g_(t.map((t,r)=>t.transform(e[r])))})}let gW=e=>g_([e,gT]);function gj(e){return gk(new uU(()=>e().ast))}function gK(...e){return t=>t.check(...e)}function g$(e){return t=>{var r;let i;return gk((r=t.ast,i=dt(r),uq(r,{brands:i?[...i,e]:[e]})),{schema:t,identifier:e})}}function gX(e,t){return r=>{var i,n;return gk((i=r.ast,n=e.ast,uW(i,t?dq(t):d_,n)),{from:r,to:e})}}function gZ(e){return t=>{var r,i;let n,s;return gk((r=t.ast,n=[new d5(ui,new dG((i=oy(e,e=>cR(()=>au(e,e=>e.issue))),new dM(e=>{let t=ij(e,tn);return iA(t)?aU(t):or(i,is)})),dF))],s=r.context?new d8(r.context.isOptional,r.context.isMutable,n,r.context.annotations):new d8(!1,!1,n),uG(r,s)),{schema:t})}}function g0(e){return gF(e).pipe(gZ(aU(e)))}function g1(){return(e,t)=>new d5(e.ast,dq(t))}let g2=uO,g3=(y=r7((es={order:r4,annotate:e=>({meta:{_tag:"isGreaterThan",exclusiveMinimum:e}})}).order),I=es.formatter??tV,(e,t)=>g2(t=>y(t,e),{expected:`a value greater than ${I(e)}`,arbitrary:{constraint:{ordered:{order:es.order,minimum:e,exclusiveMinimum:!0}}},...es.annotate?.(e),...t})),g5=(E=it((ea={order:r4,annotate:e=>({meta:{_tag:"isBetween",...e}})}).order),B=r7(ea.order),Q=ie(ea.order),b=r6(ea.order),N=ea.formatter??tV,(e,t)=>{let r=e.exclusiveMinimum?B:E,i=e.exclusiveMaximum?b:Q;return g2(t=>r(t,e.minimum)&&i(t,e.maximum),{expected:`a value between ${N(e.minimum)}${e.exclusiveMinimum?" (excluded)":""} and ${N(e.maximum)}${e.exclusiveMaximum?" (excluded)":""}`,arbitrary:{constraint:{ordered:{order:ea.order,minimum:e.minimum,maximum:e.maximum,...e.exclusiveMinimum&&{exclusiveMinimum:!0},...e.exclusiveMaximum&&{exclusiveMaximum:!0}}}},...ea.annotate?.(e),...t})});function g4(e){return g2(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...e})}function g8(e){var t;let r;return gW(e).pipe(gX((t=gk(u0((r=e).ast),{schema:r}),gk(gw()([t],([e])=>(t,r,i)=>ia(t)?io(t)?aY:on(gC(e)(t.value,i),{onSuccess:is,onFailure:e=>new dm(r,is(t),[new dg(["value"],e)])}):rD(new df(r,is(t))),{typeConstructor:{_tag:"effect/Option"},generation:{runtime:"Schema.Option(?)",Type:"Option.Option<?>",importDeclaration:'import * as Option from "effect/Option"'},expected:"Option",toCodec:([e])=>g1()(g_([gG({_tag:gF("Some"),value:e}),gG({_tag:gF("None")})]),dV({decode:e=>"None"===e._tag?ii():is(e.value),encode:e=>iA(e)?{_tag:"Some",value:e.value}:{_tag:"None"}})),toArbitrary:([e])=>(t,r)=>{var i,n,s,a;let o=t.constant(ii()),A=t.oneof(o,e.arbitrary.map(is));return i=t,n=r,s=o,a=A,{arbitrary:void 0===s||void 0===n.recursion?a:i.oneof(n.recursion,s,a),terminal:s}},toEquivalence:([e])=>iK(e),toFormatter:([e])=>il({onNone:()=>"none()",onSome:t=>`some(${e(t)})`})}).ast,{value:t})),dV({decode:iB,encode:ib})))}let g9=[];function g6(e){var t;let r,i,n=e?.includeStack===!0|2*(e?.excludeCause===!0),s=g9[n];if(void 0!==s)return s;let a=hu.pipe(gX(gU,dV({decode:dj,encode:(t=(e=>{switch(e){case 0:return;case 1:return{includeStack:!0};case 2:return{excludeCause:!0};case 3:return{includeStack:!0,excludeCause:!0}}})(n),r=new WeakSet,i=e=>{if(e instanceof Error){var n;let s;if(r.has(e))return"[Circular]";r.add(e);let a=(n=i,s={name:e.name,message:"string"==typeof e.message?e.message:""},t?.includeStack&&"string"==typeof e.stack&&(s.stack=e.stack),t?.excludeCause||void 0===e.cause||(s.cause=n(e.cause)),s);return r.delete(e),a}try{let t=tj(e);return void 0===t?tV(e):JSON.parse(t)}catch{return tV(e)}})})));return g9[n]=a,a}g2(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0});g2(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0});let g7=gP.check(g4()),he=globalThis.Symbol.for("immer-draftable"),ht={};function hr(e,t,r,i,n){var s,a,o;let A,l=(s=r,a=t,o=i,e=>{if(void 0!==A)return A;let t=new dG(dT(t=>new e(t)),dF);return A=gX(gk(new d7([s.ast],()=>(t,r)=>t instanceof e||tA(t,hi(a))?aU(t):rD(new df(r,is(t))),{identifier:a,[gl]:([e])=>new d5(e,t),toCodec:([e])=>new d5(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":uw(s.ast),...o})),t)(s)}),c=hi(t),d=class extends e{constructor(...[e,t]){let i=t?.["~payload"],n=i?.token===ht?i.value:r.make(e??{},t);super(n,{...t,disableChecks:!0,"~payload":{token:ht,value:n}})}static [gb]=gb;get[c](){return c}static [he]=!0;static identifier=t;static fields=r.fields;static get ast(){return l(this).ast}static pipe(){return eJ(this,arguments)}static rebuild(e){return l(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return gm(l(this))(e??{},t)}static makeEffect(e,t){return l(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(uq(this.ast,e))}static annotateKey(e){return this.rebuild(uK(this.ast,e))}static check(...e){return this.rebuild(uV(this.ast,e))}static extend(e){return(t,i)=>{let s=hn(t)?t:gG(t),a={...r.fields,...s.fields},o=ub(a,r.ast.checks,{identifier:e});return hr(this,e,gY(uV(o,s.ast.checks),a),i,n)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==n&&Object.assign(d.prototype,n(t)),d}function hi(e){return`~effect/Schema/Class/${e}`}function hn(e){return tA(e,gb)&&e[gb]===gb}let hs=e=>(t,r)=>hr(A4,e,hn(t)?t:gG(t),r,e=>({toString(){return`${e}(${tV({...this})})`}})),ha=e=>(t,r,i)=>{let n,s=hn(r)?r.mapFields(e=>({_tag:g0(t),...e}),{unsafePreserveChecks:!0}):gG({_tag:g0(t),...r});return(n=e??t,(e,t)=>hr(rM,n,hn(e)?e:gG(e),t,e=>({name:e})))(s,i)},ho=(eo=function(e){switch(e._tag){case"Null":case"Boolean":case"Number":case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(u1(e[r]),r);let r=[...e].sort((e,r)=>{e=u1(e),r=u1(r);let i=eo(e),n=eo(r);return i!==n?i-n:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e}),hA=new d5(new un("null"),new dG(dT(()=>null),dT(()=>"null"))),hl=new d5(new uR([new un("true"),new un("false")],"anyOf"),new dG(dT(e=>"true"===e),dO())),hc=uJ(e=>{if(d3(e)&&e.annotations?.["~effect/Schema/SERIALIZER_ENSURE_ARRAY"]===!0)return e;let t=function(e,t,r){switch(e._tag){case"Declaration":{let i=e.annotations?.toCodecJson??e.annotations?.toCodec;if(tr(i)){let r=i(d$(e)?e.typeParameters.map(e=>gk(t(u1(e)))):[]),n=t(r.to);return uY(e,n===r.to?[r]:[new d5(n,r.transformation)])}return r(e)}case"Null":return uY(e,[hA]);case"Boolean":return uY(e,[hl]);case"Unknown":case"ObjectKeyword":return uY(e,[gd]);case"Enum":case"Number":case"Literal":case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,u9);case"Union":{let r=ho(e.types);if(r!==e.types)return new uR(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,hc,e=>uY(e,[hd]));return t!==e&&uZ(e)?u$(t):t}),hd=new d5(ur,new dG(dF,dT(()=>void 0))),hu=gk(gc);function hg(){return Object.assign(e=>e,{option:e=>is(e),result:e=>r3(e),is:e=>!0})}let hh="~effect/platform/PlatformError";class hp extends A9("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class hm extends A8{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class hf extends A9("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[hh]=hh;get message(){return this.reason.message}}let hC=e=>new hf(new hm(e)),hy=e=>new hf(new hp(e)),hI=Symbol.for("effect/MutableList/Empty"),hE=()=>({array:[],mutable:!0,offset:0,next:void 0}),hB=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=hE(),e.tail=e.tail.next):e.head=e.tail=hE(),e.tail.array.push(t),e.length++},hQ=e=>{e.head=e.tail=void 0,e.length=0},hb=e=>{if(!e.head)return hI;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:hQ(e)),t},hN={_A:e$,_E:e$},hS={"~effect/Queue":hN,"~effect/Queue/Enqueue":hN,"~effect/Queue/Dequeue":hN,...rr,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:hO(this)}}},hw=e=>rv(t=>{let r=Object.create(hS);return r.dispatcher=t.currentDispatcher,r.capacity=e?.capacity??1/0,r.strategy=e?.strategy??"suspend",r.messages={head:void 0,tail:void 0,length:0},r.scheduleRunning=!1,r.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},aU(r)}),hx=(e,t)=>aO(()=>{if("Open"!==e.state._tag)return hP;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return hP;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return hB(e.messages,t),hq(e),hH;return h_(e,t);case"sliding":return hb(e.messages),hB(e.messages,t),hH}return hB(e.messages,t),hz(e),hH}),hD=(e,t)=>"Open"===e.state._tag&&(e.messages.length>=e.capacity?"sliding"===e.strategy?(hb(e.messages),hB(e.messages,t),!0):e.capacity<=0&&e.state.takers.size>0&&(hB(e.messages,t),hq(e),!0):(hB(e.messages,t),hz(e),!0)),hR=eK(2,(e,t)=>aL(()=>hv(e,t))),hv=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=oc(rx(t),hY);return 0===e.state.offers.size&&0===e.messages.length?hj(e,r):e.state={...e.state,_tag:"Closing",exit:r},!0},hk=e=>hv(e,rp(rL())),hM=e=>aL(()=>{if("Done"===e.state._tag)return!0;hQ(e.messages);let t=e.state.offers;if(hj(e,"Open"===e.state._tag?hG:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(hP):e.resume(rN(e.remaining.slice(e.offset)));t.clear()}return!0}),hF=e=>hU(e,1,1/0),hU=(e,t,r)=>aO(()=>hV(e,t,r)??a3(hW(e),hU(e,1,r))),hT=e=>aO(()=>hL(e)??a3(hW(e),hT(e))),hL=e=>{if("Done"===e.state._tag)return e.state.exit;if(e.messages.length>0){let t=hb(e.messages);return hJ(e),rN(t)}if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,hJ(e),e.capacity=0;let t=hb(e.messages);return hJ(e),rN(t)}},hO=e=>"Done"===e.state._tag?0:e.messages.length,hP=rN(!1),hH=rN(!0),hY=rD(rL()),hG=rx(aa(void 0)),hq=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(oa),0===e.messages.length)break}},hz=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>hq(e),0))},hV=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return rN([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,hJ(e),e.capacity=0;let t=[hb(e.messages)];return hJ(e),rN(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return hQ(e),t}let r=Array(t),i=0,n=e.head;for(;n;){for(;n.offset<n.array.length;)if(r[i++]=n.array[n.offset],n.mutable&&(n.array[n.offset]=void 0),n.offset++,i===t)return e.head=n,e.length-=t,0===e.length&&hQ(e),r;n=n.next}return hQ(e),r})(e.messages,r);return hJ(e),rN(t)}},h_=(e,t)=>aW(r=>{if("Open"!==e.state._tag)return r(hP);let i={_tag:"Single",message:t,resume:r};return e.state.offers.add(i),aL(()=>{"Open"===e.state._tag&&e.state.offers.delete(i)})}),hJ=e=>{if("Done"===e.state._tag)return e.state.exit.cause.reasons.some(ci);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(hj(e,e.state.exit),e.state.exit.cause.reasons.some(ci));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)hB(e.messages,r.message),t--,r.resume(hH),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;hB(e.messages,r.remaining[r.offset]),t--}r.resume(rN([])),e.state.offers.delete(r)}return!1},hW=e=>aW(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),aL(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),hj=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let i of(e.state={_tag:"Done",exit:t},r.takers))i(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()},hK="~effect/Channel",h$={[hK]:{_Env:e$,_InErr:e$,_InElem:e$,_OutErr:e$,_OutElem:e$},pipe(){return eJ(this,arguments)}},hX=e=>{let t=Object.create(h$);return t.transform=(t,r)=>oy(e(t,r),e=>aU(aT(e))),t},hZ=(e,t)=>hX((r,i)=>a9(h2(e)(r,i),e=>t(e,i))),h0=e=>hX((t,r)=>e),h1=e=>hX(aK(function*(t,r){let i=l_(r),n=e=>oz(i,ca(e)),s=yield*o5(e(t,r,i),n);return o5(s,n)})),h2=e=>e.transform,h3=h0(aU(A5())),h5=eK(2,(e,t)=>hZ(e,e=>aL(()=>{let r=0;return ot(e,e=>t(e,r++))}))),h4=eK(2,(e,t)=>h8(e,e=>aU(t(e)))),h8=eK(2,(e,t)=>hZ(e,e=>aU(cr(e,e=>a9(t(e),A5))))),h9=eK(e=>tA(e[0],hK)&&tA(e[1],hK),(e,t,r)=>h1(aK(function*(i,n,s){let a=r?.haltStrategy??"both",o=yield*hw({capacity:0});yield*oJ(s,eX(hM(o)));let A=0,l=(e,t,r)=>h2(t)(i,r).pipe(a9(e=>e.pipe(a9(e=>hx(o,e)),oC)),o5(t=>a3(oz(r,ca(t)),function(e,t){if(A++,!t.reasons.some(ci))return hR(o,t);switch(a){case"both":return 2===A?hR(o,t):az;case"left":case"right":return e===a?hR(o,t):az;case"either":return hR(o,t)}}(e,t))),Ah(s));return yield*l("left",e,l_(s)),yield*l("right",t,l_(s)),hT(o)}))),h6=eK(2,(e,t)=>hX((r,i)=>a9(h2(e)(r,i),e=>h2(t)(e,i)))),h7=e=>hX((t,r)=>{let i;return aU(aO(()=>i||e.pipe(oX(r),a9(e=>h2(e)(t,r)),a9(e=>i=e))))}),pe=eK(2,(e,t)=>h1((r,i,n)=>oJ(n,t).pipe(a3(h2(e)(r,i))))),pt=eK(2,(e,t)=>pe(e,e=>t)),pr=(e,t,r)=>aO(()=>{let i=oK();return cr(a9(h2(e)(A5(),i),t),r||aU).pipe(o1(e=>oz(i,e)))}),pi=eK(2,(e,t)=>pr(e,e=>oC(a9(e,t),{disableYield:!0}))),pn=eK(3,(e,t,r)=>aO(()=>{let i=t();return pr(e,e=>AA({while:eZ,body:()=>e,step:e=>{i=r(i,e)}}),()=>aU(i))})),ps=(e,t)=>h2(e)(A5(),t),pa="~effect/Sink",po=aU([void 0]),pA={[pa]:{_A:e$,_In:e$,_L:e$,_E:e$,_R:e$},pipe(){return eJ(this,arguments)}},pl=e=>pc((t,r)=>h2(e)(t,r).pipe(a9(oC({disableYield:!0})),cr(aU))),pc=e=>{let t=Object.create(pA);return t.transform=e,t},pd=e=>hX((t,r)=>aU(a9(e.transform(t,r),A5))),pu=pc(e=>cr(oC(e,{disableYield:!0}),()=>po)),pg=e=>pl(h7(ot(e,pd))),ph={"~effect/Stream":{_R:e$,_E:e$,_A:e$},pipe(){return eJ(this,arguments)}},pp=e=>{let t=Object.create(ph);return t.channel=e,t},pm=e=>e.channel,pf=pp(h3),pC=e=>{let t;return pp((t=()=>e().channel,hX((e,r)=>aO(()=>h2(t())(e,r)))))},py=e=>pp(h0(aU(rD(e)))),pI=e=>pp(h7(ot(e,pm))),pE=eK(2,(e,t)=>pC(()=>{let r=0;return pp(h5(e.channel,nz(e=>t(e,r++))))})),pB=eK(e=>tA(e[0],"~effect/Stream")&&tA(e[1],"~effect/Stream"),(e,t,r)=>pp(h9(pm(e),pm(t),r))),pQ=eK(2,(e,t)=>{let r;return r=(e,r)=>aL(()=>{let i,n,s=aO(()=>{if(void 0!==n){let e=n;return n=void 0,aU(e)}return e}).pipe(oB(e=>(i=rD(e),A5()))),a=ot(aO(()=>t.transform(s,r)),([e,t])=>(n=t,nq(e)));return aO(()=>i||a)}),pp(hX((t,i)=>a9(ps(e.channel,i),e=>r(e,i))))}),pb=eK(e=>tA(e[0],"~effect/Stream"),(e,t)=>pC(()=>{let r=new TextDecoder(t?.encoding);return pE(e,e=>r.decode(e,{stream:!0}))})),pN=e=>e.channel.pipe(h6(hX((e,t)=>aL(()=>{let t="",r=!1,i=ii(),n=aO(()=>"Some"===i._tag?A5(i.value):co(e,{onSuccess:s,onFailure:aT,onDone:e=>{if(i=is(e),t.length>0||r){let e=t;return t="",r=!1,aU([e])}return A5(e)}}));function s(e){let i=function(e){let i=[];function n(e){0===t.length?i.push(e):(i.push(t+e),t="")}for(let i=0;i<e.length;i++){let s=e[i];if(0!==s.length){let e=0,i=s.indexOf("\r"),a=s.indexOf("\n");for(r&&(0===a?(n(""),e=1,a=s.indexOf("\n",e)):n(""),r=!1);-1!==i||-1!==a;)-1===i||-1!==a&&a<i?(n(s.substring(e,a)),e=a+1,a=s.indexOf("\n",e)):s.length===i+1?(r=!0,i=-1):(n(s.substring(e,i)),e=i+(a===i+1?2:1),i=s.indexOf("\r",e),a=s.indexOf("\n",e));t+=s.substring(e,s.length-!!r)}}return i.length>0?i:null}(e);return null!==i?aU(i):n}return n}))),pp),pS=eK(2,(e,t)=>pp(pt(e.channel,t))),pw=eK(2,(e,t)=>oZ(r=>ps(e.channel,r).pipe(a9(e=>t.transform(e,r)),ot(([e])=>e)))),px=eK(2,(e,t)=>pi(e.channel,e=>{let r=0;return AA({while:()=>r<e.length,body:()=>t(e[r++]),step:e2})})),pD=eK(2,(e,t)=>pi(e.channel,t)),pR=e=>pn(e.channel,()=>"",(e,t)=>e+t.join("")),pv=eK(e=>tA(e[0],"~effect/Stream"),(e,t,r)=>{let i,n,s=AS(!1);return new ReadableStream({start(r){(n=AC(op(pD(e,e=>s.whenOpen(aL(()=>{s.closeUnsafe();for(let t=0;t<e.length;t++)r.enqueue(e[t]);i(),i=void 0}))),t))).addObserver(e=>{"Failure"===e._tag?r.error(ag(e.cause)):r.close()})},pull:()=>new Promise(e=>{i=e,s.openUnsafe()}),cancel(){if(n)return Ay(a4(ak(n)))}},r?.strategy)}),pk=eK(e=>tA(e[0],"~effect/Stream"),(e,t)=>ot(og,r=>pv(e,r,t))),pM="~effect/platform/FileSystem",pF=e=>"bigint"==typeof e?e:BigInt(e),pU=n0("effect/platform/FileSystem"),pT=(e,t)=>hC({module:"FileSystem",method:e,_tag:"NotFound",description:"No such file or directory",pathOrDescriptor:t}),pL="~effect/platform/FileSystem/File",pO=hg();class pP extends n0()("effect/platform/FileSystem/WatchBackend"){}var pH=class extends ha()("ActionEnvironmentError",{reason:gJ(["missing","malformed"]),name:gO,detail:gM(gO)}){get message(){return"missing"===this.reason?`Required environment variable "${this.name}" is not set`:`Environment variable "${this.name}" is malformed${void 0===this.detail?"":`: ${this.detail}`}`}},pY=class extends hs("GitHubContext")({repository:gO,repositoryOwner:gO,ref:gO,refName:gO,sha:gO,workflow:gO,job:gO,runId:gP,runAttempt:gP,eventName:gO,actor:gO,serverUrl:gO,apiUrl:gO,graphqlUrl:gO,workspace:gO}){},pG=class extends hs("RunnerContext")({os:gO,arch:gO,name:gO,temp:gO,toolCache:gO}){};let pq=n0("@effected/github-actions/EnvOverrides",{defaultValue:()=>({})}),pz=(e,t)=>{let r=Number(t);return Number.isFinite(r)?aU(r):rD(new pH({reason:"malformed",name:e,detail:`expected a number, got "${t}"`}))},pV=e=>cD(function*(){let t=yield*pU,r=t=>ot(pq,r=>{let i=r[t]??e[t];return void 0===i||""===i?ii():is(i)}),i=e=>a9(r(e),t=>iA(t)?aU(t.value):rD(new pH({reason:"missing",name:e})));return{get:i,getOptional:r,isDebug:ot(r("RUNNER_DEBUG"),e=>iA(e)&&"1"===e.value),github:cD(function*(){let[e,t,r,n,s,a,o]=yield*Aa([i("GITHUB_REPOSITORY"),i("GITHUB_REPOSITORY_OWNER"),i("GITHUB_REF"),i("GITHUB_REF_NAME"),i("GITHUB_SHA"),i("GITHUB_WORKFLOW"),i("GITHUB_JOB")]),A=yield*a9(i("GITHUB_RUN_ID"),e=>pz("GITHUB_RUN_ID",e)),l=yield*a9(i("GITHUB_RUN_ATTEMPT"),e=>pz("GITHUB_RUN_ATTEMPT",e)),[c,d,u,g,h,p]=yield*Aa([i("GITHUB_EVENT_NAME"),i("GITHUB_ACTOR"),i("GITHUB_SERVER_URL"),i("GITHUB_API_URL"),i("GITHUB_GRAPHQL_URL"),i("GITHUB_WORKSPACE")]);return pY.make({repository:e,repositoryOwner:t,ref:r,refName:n,sha:s,workflow:a,job:o,runId:A,runAttempt:l,eventName:c,actor:d,serverUrl:u,apiUrl:g,graphqlUrl:h,workspace:p})}),runner:cD(function*(){let[e,t,r,n,s]=yield*Aa([i("RUNNER_OS"),i("RUNNER_ARCH"),i("RUNNER_NAME"),i("RUNNER_TEMP"),i("RUNNER_TOOL_CACHE")]);return pG.make({os:e,arch:t,name:r,temp:n,toolCache:s})}),payload:cD(function*(){let e=yield*i("GITHUB_EVENT_PATH"),r=yield*t.readFileString(e).pipe(ox(t=>new pH({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`could not read "${e}": ${String(t)}`})));return yield*aV({try:()=>JSON.parse(r),catch:e=>new pH({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`not valid JSON: ${String(e)}`})})}),withEnv:(e,t)=>a9(pq,r=>om(t,pq,{...r,...e}))}}),p_={GITHUB_REPOSITORY:"acme/example",GITHUB_REPOSITORY_OWNER:"acme",GITHUB_REF:"refs/heads/main",GITHUB_REF_NAME:"main",GITHUB_SHA:"0000000000000000000000000000000000000000",GITHUB_WORKFLOW:"test",GITHUB_JOB:"test",GITHUB_RUN_ID:"1",GITHUB_RUN_ATTEMPT:"1",GITHUB_EVENT_NAME:"push",GITHUB_ACTOR:"tester",GITHUB_SERVER_URL:"https://github.com",GITHUB_API_URL:"https://api.github.com",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",GITHUB_WORKSPACE:"/workspace",RUNNER_OS:"Linux",RUNNER_ARCH:"X64",RUNNER_NAME:"test-runner",RUNNER_TEMP:"/tmp",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache"};var pJ=class e extends n0()("@effected/github-actions/ActionEnvironment"){static layer=l5(this,a9(aL(()=>({...process.env})),pV));static layerFrom=t=>l5(e,pV(t));static makeTest=(e={})=>pV({...p_,...e});static layerTest=(t={})=>{var r;return l5(e,e.makeTest(t)).pipe(ce((r={},l2(pU)(pU.of({[pM]:pM,access:e=>rD(pT("access",e)),chmod:e=>rD(pT("chmod",e)),chown:e=>rD(pT("chown",e)),copy:e=>rD(pT("copy",e)),copyFile:e=>rD(pT("copyFile",e)),glob:e=>rD(pT("glob",e)),exists:()=>aU(!1),link:e=>rD(pT("link",e)),makeDirectory:()=>aG("not implemented"),makeTempDirectory:()=>aG("not implemented"),makeTempDirectoryScoped:()=>aG("not implemented"),makeTempFile:()=>aG("not implemented"),makeTempFileScoped:()=>aG("not implemented"),open:e=>rD(pT("open",e)),readDirectory:e=>rD(pT("readDirectory",e)),readFile:e=>rD(pT("readFile",e)),readFileString:e=>rD(pT("readFileString",e)),readLink:e=>rD(pT("readLink",e)),realPath:e=>rD(pT("realPath",e)),remove:()=>az,rename:e=>rD(pT("rename",e)),sink:e=>{let t;return t=rD(pT("sink",e)),pc(()=>t)},stat:e=>rD(pT("stat",e)),stream:e=>py(pT("stream",e)),symlink:e=>rD(pT("symlink",e)),truncate:e=>rD(pT("truncate",e)),utimes:e=>rD(pT("utimes",e)),watch:e=>py(pT("watch",e)),writeFile:e=>rD(pT("writeFile",e)),writeFileString:e=>rD(pT("writeFileString",e)),...r})))))}};function pW(e){return{_tag:"Value",value:e}}let pj=n0("effect/ConfigProvider",{defaultValue:()=>p2()}),pK={...rr,toJSON:()=>({_id:"ConfigProvider"})},p$=e=>e;function pX(e,t){let r=Object.create(pK);return r.state=e,r.load=t,r}function pZ(e){let t;return pX(t={_tag:"Source",get:e,transform:p$},e=>t.get(t.transform(e)))}let p0=eK(2,(e,t)=>{let r;return pX(r={_tag:"OrElse",first:e,second:t},e=>a9(r.first.load(e),t=>t?aU(t):r.second.load(e)))}),p1=e=>rn(e)?l5(pj)(e):l2(pj)(e);function p2(e){let t=e?.env??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},r=e?.preserveEmptyStrings===!0,i=function(e){let t={};for(let[r,i]of Object.entries(e)){if(void 0===i)continue;let e=r.split("_"),n=t;for(let t of e)n.children??={},n=n.children[t]??={}}return t}(t);return pZ(e=>aU(function(e,t,r,i){var n;let s=(n=t[r.map(String).join("_")],""!==n||i?n:void 0),a=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),o=a?.children?Object.keys(a.children):[];return 0===o.length?void 0===s?void 0:pW(s):o.every(e=>p3.test(e))?{_tag:"Array",length:Math.max(...o.map(e=>parseInt(e,10)))+1,value:s}:{_tag:"Record",keys:new Set(o),value:s}}(i,t,e,r)))}let p3=/^(0|[1-9][0-9]*)$/,p5=it(AW),p4=ie(AW),p8="~effect/Config";class p9{_tag="ConfigError";name="ConfigError";cause;constructor(e){this.cause=e}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}let p6={...nJ({label:"Config",evaluate(e){return this.parse(e.getRef(pj))}}),[p8]:p8,toJSON:()=>({_id:"Config"})};function p7(e){let t=Object.create(p6);return t.parse=(t,r=[])=>e(t,r),t}let me=eK(2,(e,t)=>p7((r,i)=>ot(e.parse(r,i),t))),mt=eK(2,(e,t)=>p7((r,i)=>a9(e.parse(r,i),t))),mr=eK(2,(e,t)=>p7((r,i)=>oB(e.parse(r,i),e=>t(e).parse(r,i)))),mi=eK(2,(e,t)=>mr(e,e=>{var r,i;if(tA(e.cause,gu)&&function e(t){switch(t._tag){case"MissingKey":return!0;case"InvalidType":case"InvalidValue":return io(t.actual)||iA(t.actual)&&void 0===t.actual.value;case"OneOf":return void 0===t.actual;case"Encoding":return!!(io(t.actual)||iA(t.actual)&&void 0===t.actual.value)||e(t.issue);case"Pointer":return e(t.issue);case"Filter":case"UnexpectedKey":case"Forbidden":return!1;case"Composite":return t.issues.every(e);case"AnyOf":if(0===t.issues.length)return void 0===t.actual;return t.issues.every(e)}}(e.cause.issue)){return r=t,p7(()=>aU(r))}return i=e.cause,p7(()=>rD(new p9(i)))})),mn=e=>e.pipe(me(is),mi(ii())),ms=aK(function*(e,t){let r=yield*e.load(t);if(void 0!==r)switch(r._tag){case"Value":return r.value;case"Record":{if(void 0!==r.value)return r.value;let i={};for(let n of r.keys){let r=yield*ms(e,[...t,n]);void 0!==r&&(i[n]=r)}return i}case"Array":{if(void 0!==r.value)return r.value;let i=[];for(let n=0;n<r.length;n++)i.push((yield*ms(e,[...t,n])));return i}}}),ma=aK(function*(e,t,r){switch(e._tag){case"Objects":{let i=yield*t.load(r);if(void 0===i&&r.length>0)return;let n={};for(let i of e.propertySignatures){let e=i.name;if("string"==typeof e){let s=yield*ma(i.type,t,[...r,e]);void 0!==s&&(n[e]=s)}}if(e.indexSignatures.length>0&&i&&"Record"===i._tag)for(let s of e.indexSignatures){let e=gf(s.parameter);for(let a of i.keys)if(!Object.hasOwn(n,a)&&e(a)){let e=yield*ma(s.type,t,[...r,a]);void 0!==e&&(n[a]=e)}}return n}case"Arrays":{let i=yield*t.load(r);if(void 0===i)return;if(i&&"Value"===i._tag||i&&"Array"===i._tag&&void 0!==i.value)return""===i.value?[]:i.value.split(",");let n=[],s=i&&"Array"===i._tag?i.length:e.elements.length;for(let i=0;i<s;i++){let s=e.elements[i]??e.rest[0];void 0!==s&&n.push((yield*ma(s,t,[...r,i])))}return n}case"Union":return yield*ms(t,r);case"Suspend":return yield*ma(e.thunk(),t,r);default:{let e=yield*t.load(r);if(void 0===e)return;if("Value"===e._tag||"Record"===e._tag&&void 0!==e.value||"Array"===e._tag&&void 0!==e.value)return e.value;return}}});function mo(e,t){let r=gk(hc(e.ast),{schema:e}),i=gC(r),n=u1(r.ast),s="string"==typeof t?[t]:t??[];return p7((e,t)=>{let r=[...t,...s];return ma(n,e,r).pipe(oe(e=>i(e).pipe(oi(e=>new gg(r.length>0?new dg(r,e):e)))),oi(e=>new p9(e)))})}function mA(e){let t;return mo((t=void 0,gk(gw()([gO],([e])=>(r,i,n)=>tA(r,ds)?oe(void 0!==t?oi(t(r.label,n),e=>new dg(["label"],e)):az,()=>on(gC(e)(dn(r),n),{onSuccess:()=>r,onFailure:()=>{let e=is(r);return new dm(i,e,[new dg(["value"],new dC(e))])}})):rD(new df(i,is(r))),{typeConstructor:{_tag:"effect/Redacted",options:void 0},generation:{runtime:"Schema.Redacted(?)",Type:"Redacted.Redacted<?>",importDeclaration:'import * as Redacted from "effect/Redacted"'},expected:"Redacted",toCodecJson:([e])=>{var t,r;return g1()((t=e,(r=oi(function e(t){switch(t._tag){case"MissingKey":return t;case"Forbidden":return new dy(iD(t.actual,da),t.annotations);case"Filter":return new dd(da(t.actual),t.filter,e(t.issue));case"Pointer":return new dg(t.path,e(t.issue));case"Encoding":case"InvalidType":case"InvalidValue":case"Composite":return new dC(iD(t.actual,da));case"AnyOf":case"OneOf":case"UnexpectedKey":return new dC(is(da(t.actual)))}}),e=>{var t;return gk(uW(t=e.ast,new dH(r,e$),u0(t)),{schema:e})})(t)),{decode:dT(e=>da(e,{label:void 0})),encode:dT(dn)})},toArbitrary:([e])=>()=>({arbitrary:e.arbitrary.map(e=>da(e,{label:void 0})),terminal:e.terminal?.map(e=>da(e,{label:void 0}))}),toFormatter:()=>globalThis.String,toEquivalence:([e])=>tO((t,r)=>e(dn(t),dn(r)))}).ast,{value:gO})),e)}let ml=e=>`INPUT_${e.replaceAll(" ","_").toUpperCase()}`,mc=(e,t)=>new p9(new gg(new dC(is(t),{message:e}))),md=new Set(["true","True","TRUE"]),mu=new Set(["false","False","FALSE"]),mg=e=>{let t=e.indexOf("#");return(-1===t?e:e.slice(0,t)).trim()};var mh=class e{static variable=e=>ml(e);static string(e){return mo(gO,ml(e))}static boolean(e){return mo(gO,ml(e)).pipe(mt(t=>{let r=t.trim();return md.has(r)?aU(!0):mu.has(r)?aU(!1):rD(mc(`Input "${e}" does not meet the YAML 1.2 core schema for booleans. Supported: true | True | TRUE | false | False | FALSE`,t))}))}static integer(e){return mo(g7,ml(e))}static redacted(e){return mA(ml(e))}static lines(e){return mo(gO,ml(e)).pipe(me(e=>e.split("\n").map(e=>e.trim()).filter(e=>""!==e)))}static list(e){return mo(gO,ml(e)).pipe(mt(t=>{let r=t.trim();if(""===r)return aU([]);if(r.startsWith("["))try{let i=JSON.parse(r);if(Array.isArray(i)&&i.every(e=>"string"==typeof e))return aU(i);return rD(mc(`Input "${e}" is a JSON array but not an array of strings`,t))}catch{return rD(mc(`Input "${e}" looks like JSON but could not be parsed`,t))}return aU(r.split(/[\n,]/).map(e=>e.trim()).filter(e=>!e.startsWith("#")).map(e=>e.startsWith("- ")||e.startsWith("* ")?e.slice(2).trim():e).filter(e=>""!==e))}))}static pairs(e){return mo(gO,ml(e)).pipe(mt(t=>{let r={};for(let i of t.split("\n")){let n=mg(i);if(""===n)continue;let s=n.indexOf("=");if(-1===s)return rD(mc(`Input "${e}" has a line that is not \`key=value\`: "${n}"`,t));r[n.slice(0,s).trim()]=n.slice(s+1).trim()}return aU(r)}))}static schema(e,t){return mo(gO,ml(e)).pipe(mt(r=>{let i;try{i=JSON.parse(r)}catch{return rD(mc(`Input "${e}" is not valid JSON`,r))}return gD(t)(i).pipe(ox(()=>mc(`Input "${e}" did not satisfy its schema`,i)))}))}static provider(e=process.env){let t=e=>void 0!==e&&""!==e,r=r=>{let i=e[r];if(t(i))return i;if(r.startsWith("INPUT_")){for(let[i,n]of Object.entries(e))if(!i.startsWith("INPUT_")&&ml(i)===r&&t(n))return n}};return pZ(e=>{let t=1===e.length&&"string"==typeof e[0]?e[0]:void 0,i=(void 0===t?void 0:r(ml(t)))??r(e.join("_").replaceAll(" ","_").toUpperCase());return aU(void 0===i?void 0:pW(i))})}static layer(t){return p1(e.provider(t))}static providerOver(e){return p0(pZ(t=>{let r=1===t.length?t[0]:void 0;return"string"==typeof r?e.load([ml(r)]):aU(void 0)}),e)}static layerDefault=p1(ot(og,t=>e.providerOver(se(t,pj)??p2())))};let mp=e=>e.replaceAll("%","%25").replaceAll("\r","%0D").replaceAll("\n","%0A");var mm=class e{static render(e,t,r){let i=Object.entries(t).filter(e=>void 0!==e[1]).map(([e,t])=>`${e}=${mp(String(t)).replaceAll(":","%3A").replaceAll(",","%2C")}`).join(",");return`${""===i?`::${e}::`:`::${e} ${i}::`}${mp(r)}`}static debug(t){return e.render("debug",{},t)}static notice(t,r={}){return e.render("notice",e.annotation(r),t)}static warning(t,r={}){return e.render("warning",e.annotation(r),t)}static error(t,r={}){return e.render("error",e.annotation(r),t)}static group(t){return e.render("group",{},t)}static endGroup(){return e.render("endgroup",{},"")}static addMask(t){return e.render("add-mask",{},t)}static annotation(e){return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}};let mf=e=>rv(t=>e(t.getRef(AJ))),mC=(...e)=>mf(t=>aL(()=>{t.log(...e)})),my=(e,t)=>l5(AK,rv(aK(function*(r){let i=new Set(t?.mergeWithExisting===!0?r.getRef(AK):[]);for(let t of e)i.add(rn(t)?yield*t:t);return i}))),mI=e=>(Array.isArray(e)?e:[e]).map(e=>tX(e,0)).join(" "),mE=(e,t)=>{let r=e[t];return"string"==typeof r?r:void 0},mB=(e,t)=>{let r=e[t];if("number"==typeof r)return Number.isFinite(r)?r:void 0;if("string"==typeof r&&""!==r){let e=Number(r);return Number.isFinite(e)?e:void 0}},mQ=(e,t,r)=>{let i=mI(t);if(p5(e,"Warn")){let t,n,s,a,o,A,l=(t=mE(r,"title"),n=mE(r,"file"),s=mB(r,"startLine"),a=mB(r,"endLine"),o=mB(r,"startColumn"),A=mB(r,"endColumn"),{...void 0===t?{}:{title:t},...void 0===n?{}:{file:n},...void 0===s?{}:{startLine:s},...void 0===a?{}:{endLine:a},...void 0===o?{}:{startColumn:o},...void 0===A?{}:{endColumn:A}});return p5(e,"Error")?mm.error(i,l):mm.warning(i,l)}return p5(e,"Info")?i:mm.debug(i)},mb=n0("@effected/github-actions/ActiveBuffer",{defaultValue:()=>null}),mN=e=>aO(()=>{if(0===e.entries.length)return az;let t=[`--- Buffered output for "${e.label}" ---`,...e.entries,`--- End buffered output for "${e.label}" ---`];return e.entries.length=0,Al(t,e=>mC(e),{discard:!0})}),mS=cD(function*(){let e=yield*pJ,t=a9(mb,e=>null===e?az:mN(e));return{group:(e,r)=>cF(mC(mm.group(e)),()=>ob(r,()=>t),()=>mC(mm.endGroup())),withBuffer:(t,r,i)=>cD(function*(){let n=yield*at;if((yield*e.isDebug)||p4(n,"Debug"))return yield*r;let s={label:t,entries:[]},a=AZ(e=>{if(p5(e.logLevel,"Warn")){let t=e.fiber.getRef(s7);e.fiber.getRef(AJ).log(mQ(e.logLevel,e.message,t));return}s.entries.push(mI(e.message))});return yield*r.pipe(om(at,"All"),om(AK,new Set([a])),om(mb,s),o1(e=>"Success"===e._tag&&i?.onSuccess==="discard"?aL(()=>{s.entries.length=0}):mN(s)))}),notice:(e,t={})=>mC(mm.notice(e,t)),annotated:(e,t)=>cq(t,{...void 0===e.title?{}:{title:e.title},...void 0===e.file?{}:{file:e.file},...void 0===e.startLine?{}:{startLine:e.startLine},...void 0===e.endLine?{}:{endLine:e.endLine},...void 0===e.startColumn?{}:{startColumn:e.startColumn},...void 0===e.endColumn?{}:{endColumn:e.endColumn}})}});var mw=class e extends n0()("@effected/github-actions/ActionLogger"){static layer=l5(this,mS);static logger=AZ(e=>{let t=e.fiber.getRef(s7);e.fiber.getRef(AJ).log(mQ(e.logLevel,e.message,t))});static layerLogger=my([e.logger]);static makeTest=(e={})=>({group:(e,t)=>t,withBuffer:(e,t)=>t,notice:()=>az,annotated:(e,t)=>t,...e});static layerTest=(t={})=>l2(e,e.makeTest(t));static layerSilent=l6(e.layerTest(),my([]))},mx=class extends ha()("ActionOutputError",{reason:gJ(["unavailable","writeFailed","invalidName","encodeFailed","detached"]),file:gM(gO),name:gM(gO),cause:gM(g6())}){get message(){switch(this.reason){case"unavailable":return`Runner file "${this.file}" is not available; is this running on a GitHub runner?`;case"writeFailed":return`Failed to write to runner file "${this.file}"`;case"invalidName":return`"${this.name}" is not a usable output name`;case"detached":return`Runner file "${this.file}" cannot be reached from a detached worker — it configures the parent job's later steps, and a worker has none and may outlive the job. Publish this from the parent process instead.`;default:return`Failed to encode the value for "${this.name}"`}}};let mD=cD(function*(){let e=yield*pJ,t=yield*pU,r=(r,i)=>cD(function*(){let n=yield*e.get(r).pipe(ox(()=>new mx({reason:"unavailable",file:r})));yield*t.writeFileString(n,i,{flag:"a"}).pipe(ox(e=>new mx({reason:"writeFailed",file:r,cause:e})))}),i=(e,t,i)=>{if(!(""!==t&&!/[\r\n]/.test(t)))return rD(new mx({reason:"invalidName",file:e,name:t}));let n=(e=>{let t="EFFECTED_EOF";for(;e.includes(t);)t=`${t}_`;return t})(i);return r(e,`${t}<<${n} +${i} +${n} +`)},n=(e,t)=>i("GITHUB_OUTPUT",e,t);return{set:n,setJson:(e,t,r)=>gR(r)(t).pipe(ox(t=>new mx({reason:"encodeFailed",name:e,cause:t})),a9(t=>n(e,JSON.stringify(t)))),summary:e=>r("GITHUB_STEP_SUMMARY",e),exportVariable:(e,t)=>i("GITHUB_ENV",e,t),addPath:e=>r("GITHUB_PATH",`${e} +`),setFailed:e=>mC(mm.error(e)),setSecret:e=>mC(mm.addMask(e))}}),mR=e=>{throw Error(`ActionOutputs.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var mv=class e extends n0()("@effected/github-actions/ActionOutputs"){static layer=l5(this,mD);static layerDetached=l2(this,{set:e=>rD(new mx({reason:"detached",file:"GITHUB_OUTPUT",name:e})),setJson:e=>rD(new mx({reason:"detached",file:"GITHUB_OUTPUT",name:e})),summary:()=>rD(new mx({reason:"detached",file:"GITHUB_STEP_SUMMARY"})),exportVariable:e=>rD(new mx({reason:"detached",file:"GITHUB_ENV",name:e})),addPath:()=>rD(new mx({reason:"detached",file:"GITHUB_PATH"})),setFailed:e=>((...e)=>mf(t=>aL(()=>{t.error(...e)})))(e),setSecret:()=>az});static makeTest=(e={})=>({set:()=>aL(()=>mR("set")),setJson:()=>aL(()=>mR("setJson")),summary:()=>aL(()=>mR("summary")),exportVariable:()=>aL(()=>mR("exportVariable")),addPath:()=>aL(()=>mR("addPath")),setFailed:()=>aL(()=>mR("setFailed")),setSecret:()=>aL(()=>mR("setSecret")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))},mk=class extends ha()("ActionStateError",{reason:gJ(["missing","malformed","notPlainJson","writeFailed"]),key:gO,cause:gM(g6())}){get message(){switch(this.reason){case"missing":return`No action state was saved under "${this.key}"`;case"malformed":return`Action state under "${this.key}" could not be decoded`;case"notPlainJson":return`The encoded form of action state under "${this.key}" is not plain JSON and would not survive the phase boundary — encode to a plain-JSON form (e.g. Schema.OptionFromNullOr rather than Schema.Option)`;default:return`Failed to persist action state under "${this.key}"`}}};let mM=cD(function*(){let e=yield*pJ,t=yield*pU,r=yield*mv,i=(r,i)=>cD(function*(){let n=yield*e.get("GITHUB_STATE").pipe(ox(e=>new mk({reason:"writeFailed",key:r,cause:e}))),s="EFFECTED_EOF";for(;i.includes(s);)s=`${s}_`;yield*t.writeFileString(n,`${r}<<${s} ${i} +${s} +`,{flag:"a"}).pipe(ox(e=>new mk({reason:"writeFailed",key:r,cause:e})))}),n=(t,r)=>cD(function*(){let i=yield*e.getOptional(`STATE_${t}`);if(io(i))return ii();let n=yield*aV({try:()=>JSON.parse(i.value),catch:e=>new mk({reason:"malformed",key:t,cause:e})});return is((yield*gD(r)(n).pipe(ox(e=>new mk({reason:"malformed",key:t,cause:e})))))});return{save:(e,t,r)=>cD(function*(){let n=yield*gR(r)(t).pipe(ox(t=>new mk({reason:"malformed",key:e,cause:t}))),{parsed:s,serialized:a}=yield*aV({try:()=>{let e=JSON.stringify(n);return{parsed:JSON.parse(e),serialized:e}},catch:t=>new mk({reason:"notPlainJson",key:e,cause:t})});yield*gD(r)(s).pipe(ox(t=>new mk({reason:"notPlainJson",key:e,cause:t}))),yield*i(e,a)}),getOptional:n,get:(e,t)=>a9(n(e,t),t=>iA(t)?aU(t.value):rD(new mk({reason:"missing",key:e}))),saveSecret:(e,t)=>a9(r.setSecret(t),()=>i(e,JSON.stringify(t)))}}),mF=e=>{throw Error(`ActionState.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var mU=class e extends n0()("@effected/github-actions/ActionState"){static layer=l5(this,mM);static makeTest=(e={})=>({save:()=>aL(()=>mF("save")),get:()=>aL(()=>mF("get")),getOptional:()=>aL(()=>mF("getOptional")),saveSecret:()=>aL(()=>mF("saveSecret")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))};let mT="~effect/platform/Path",mL=n0("effect/Path"),mO=hg(),mP=hg(),mH="~effect/ChildProcessSpawner/ChildProcessHandle",mY={[mH]:mH,...tZ,toJSON(){return{_id:"ChildProcessHandle",pid:this.pid}}},mG=e=>Object.assign(Object.create(mY),e);class mq extends n0()("effect/process/ChildProcessSpawner"){}let mz="~effect/unstable/process/ChildProcess",mV={...nJ({label:"Command",evaluate(e){return st(e.context,mq).spawn(this)}}),[mz]:mz},m_=(e,t,r)=>Object.assign(Object.create(mV),{_tag:"StandardCommand",command:e,args:t,options:r}),mJ=function(...e){if(mW(e[0])){let[t,...r]=e,i=m$(t,r);return m_(i[0]??"",i.slice(1),{})}if("object"==typeof e[0]&&!Array.isArray(e[0])&&!mW(e[0])){let t=e[0];return function(e,...r){let i=m$(e,r);return m_(i[0]??"",i.slice(1),t)}}if("string"==typeof e[0]&&!Array.isArray(e[1])){let[t,r={}]=e;return m_(t,[],r)}let[t,r=[],i={}]=e;return m_(t,r,i)},mW=e=>Array.isArray(e)&&"raw"in e&&Array.isArray(e.raw),mj=e=>{let t=/^fd(\d+)$/.exec(e);if(null===t)return;let r=parseInt(t[1],10);return r>=3?r:void 0},mK=e=>`fd${e}`,m$=(e,t)=>{let r=[];for(let[i,n]of e.entries())r=mX(e,t,r,n,i);return r},mX=(e,t,r,i,n)=>{let s=e.raw[n];if(void 0===s)throw Error(`Invalid backslash sequence: ${e.raw[n]}`);let{hasLeadingWhitespace:a,hasTrailingWhitespace:o,tokens:A}=m2(i,s),l=m3(r,A,a);if(n===t.length)return l;let c=t[n];return m3(l,Array.isArray(c)?c.map(e=>mZ(e)):[mZ(c)],o)},mZ=e=>"string"==typeof e?e:String(e),m0=new Set([" "," ","\r","\n"]),m1={x:3,u:5},m2=(e,t)=>{if(0===t.length)return{tokens:[],hasLeadingWhitespace:!1,hasTrailingWhitespace:!1};let r=m0.has(t[0]),i=[],n=0;for(let r=0,s=0;r<e.length;r+=1,s+=1){let a=t[s];if(m0.has(a))n!==r&&i.push(e.slice(n,r)),n=r+1;else if("\\"===a){let e=t[s+1];"\n"===e?(r-=1,s+=1):"u"===e&&"{"===t[s+2]?s=t.indexOf("}",s+3):s+=m1[e]??1}}let s=n===e.length;return s||i.push(e.slice(n)),{tokens:i,hasLeadingWhitespace:r,hasTrailingWhitespace:s}},m3=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t.at(0)}`,...t.slice(1)],m5=s("node:child_process");var m4=A(7075);let m8=(e,t)=>(r,[i])=>{let n="Unknown";switch(r.code){case"ENOENT":n="NotFound";break;case"EACCES":n="PermissionDenied";break;case"EEXIST":n="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":n="BadResource";break;case"EBUSY":n="Busy"}return hC({_tag:n,module:e,method:t,pathOrDescriptor:i,syscall:r.syscall,cause:r})},m9=e=>pl(h4(m6(e),e=>[e])),m6=e=>hX(t=>{let r=e.evaluate();return aU(m7({...e,writable:r,pull:t}))}),m7=e=>e.pull.pipe(a9(t=>{let r=0;return aW(function i(n){for(;r<t.length;)if(!e.writable.write(t[r++],e.encoding))return void e.writable.once("drain",()=>i(n));n(az)})}),oC({disableYield:!0}),a8(aW(t=>{let r=r=>t(rD(e.onError(r)));return e.writable.once("error",r),aL(()=>{e.writable.off("error",r)})})),!1!==e.endOnDone?cr(t=>"closed"in e.writable&&e.writable.closed?A5(t):aW(r=>{e.writable.once("finish",()=>r(A5(t))),e.writable.end()})):e$),fe="~effect/MutableRef",ft={[fe]:fe,...rr,toJSON(){return{_id:"MutableRef",current:t$(this.current)}}},fr=e=>pp(fi(e)),fi=e=>hX((t,r)=>fn({scope:r,readable:e.evaluate(),onError:e.onError??fa,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),fn=e=>{var t;let r,i=e.readable,n=e.closeOnDone??!0,s=e.exit??(t=void 0,(r=Object.create(ft)).current=t,r),a=AS(!1);function o(){a.openUnsafe()}function A(t){s.current=rD(e.onError(t)),a.openUnsafe()}function l(){s.current=rD(rL()),a.openUnsafe()}i.on("readable",o),i.once("error",A),i.once("end",l);let c=aO(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return s.current?s.current:i.readableEnded?rD(rL()):(a.closeUnsafe(),a9(a.await,t));let n=nq(r);for(;null!==(r=e.readable.read(e.chunkSize));)n.push(r);return aU(n)});return a2(oJ(e.scope,eX(aL(()=>{i.off("readable",o),i.off("error",A),i.off("end",l),n&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()}))),c)};class fs extends m4.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=AS(!1),this.fiber=pD(t,e=>this.readLatch.whenOpen(aL(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,op(e),AC),this.fiber.addObserver(e=>{this.fiber=void 0,"Success"===e._tag?this.push(null):this.destroy(ag(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);AC(ak(this.fiber)).addObserver(r=>{t("Failure"===r._tag?ag(r.cause):e)})}}let fa=e=>new A_(e),fo=e=>e instanceof globalThis.Error?e:new globalThis.Error(String(e)),fA=(e,t,r)=>{let{commands:i}=fd(r),n=i.reduce((e,t)=>{let r=`${t.command} ${t.args.join(" ")}`;return 0===e.length?r:`${e} | ${r}`},"");return m8("ChildProcess",e)(t,[n])},fl=cD(function*(){let e,t,r=yield*pU,i=yield*mL,n=aK(function*(e){if(!ti(e.cwd))return yield*r.access(e.cwd),i.resolve(e.cwd)}),s=e=>tA(e,pa)?"pipe":e,a=e=>{let t={stream:"pipe",encoding:"utf-8",endOnDone:!0};return ti(e.stdin)?t:"string"==typeof e.stdin?{...t,stream:e.stdin}:tA(e.stdin,"~effect/Stream")?{...t,stream:e.stdin}:{stream:e.stdin.stream,encoding:e.stdin.encoding??t.encoding,endOnDone:e.stdin.endOnDone??t.endOnDone}},o=(e,t)=>{let r=e[t];return ti(r)?{stream:"pipe"}:"string"==typeof r?{stream:r}:tA(r,pa)?{stream:r}:{stream:r.stream}},A=aK(function*(e,t,r){if(0===r.length)return{getInputFd:()=>pu,getOutputFd:()=>pf};let i=new Map,n=new Map;for(let{config:s,fd:a}of r){let r=t.stdio[a];switch(s.type){case"input":{let t=pu;r&&"write"in r&&(t=m9({evaluate:()=>r,onError:t=>fA(`fromWritable(fd${a})`,fo(t),e)})),s.stream&&(yield*Ap(pw(s.stream,t))),i.set(a,t);break}case"output":{let t=pf;if(r&&"read"in r){let i=new m4.PassThrough;r.on("error",e=>i.destroy(e)),r.pipe(i),t=fr({evaluate:()=>i,onError:t=>fA(`fromReadable(fd${a})`,fo(t),e)})}s.sink&&(t=pQ(t,s.sink)),n.set(a,t)}}}return{getInputFd:e=>i.get(e)??pu,getOutputFd:e=>n.get(e)??pf}}),l=(e,t,r)=>"win32"===globalThis.process.platform?aW(r=>{m5.exec(`taskkill /pid ${t.pid} /T /F`,t=>{t?r(rD(fA("kill",fo(t),e))):r(az)})}):aV({try:()=>{globalThis.process.kill(-t.pid,r)},catch:t=>fA("kill",fo(t),e)}),c=(e,t,r)=>aO(()=>t.kill(r)?az:rD(fA("kill",new globalThis.Error("Failed to kill child process"),e))),d=(e,t,r)=>i=>{let n=r?.killSignal??"SIGTERM";return ti(r?.forceKillAfter)?i(t,e,n):oP(i(t,e,n),{duration:r.forceKillAfter,orElse:()=>i(t,e,"SIGKILL")})},u=(e,t)=>{let r=t??"stdout";switch(r){case"stdout":return e.stdout;case"stderr":return e.stderr;case"all":return e.all;default:{let t=mj(r);if(tn(t))return e.getOutputFd(t);return e.stdout}}},g=aK(function*(e){switch(e._tag){case"StandardCommand":{var t,r,i,h;let u,g,p,m,f,C,y,I=a(e.options),E=o(e.options,"stdout"),B=o(e.options,"stderr"),Q=(e=>{if(ti(e.additionalFds))return[];let t=[];for(let[r,i]of Object.entries(e.additionalFds)){let e=mj(r);tn(e)&&t.push({fd:e,config:i})}return t.sort((e,t)=>e.fd-t.fd)})(e.options),b=!0,N=yield*n(e.options),S=(C=e.options).extendEnv?{...globalThis.process.env,...C.env}:C.env,w=((e,t,r,i)=>{let n,a=[tA(n=e.stream,"~effect/Stream")?"pipe":n,s(t.stream),s(r.stream)];if(0===i.length)return a;let o=i.reduce((e,{fd:t})=>Math.max(e,t),2);for(let e=3;e<=o;e++)a[e]="ignore";for(let{fd:e}of i)a[e]="pipe";return a})(I,E,B,Q),[x,D]=yield*cM((y={cwd:N,env:S,stdio:w,detached:e.options.detached??"win32"!==process.platform,shell:e.options.shell},aW(t=>{let r=lH(),i=m5.spawn(e.command,e.args,y);return i.on("error",r=>{t(rD(fA("spawn",r,e)))}),i.on("exit",(...e)=>{lV(r,rN(e))}),i.on("spawn",()=>{t(aU([i,r]))}),aL(()=>{i.kill("SIGTERM")})})),aK(function*([t,r]){let i=yield*lq(r),n=d(t,e,e.options);if(i){let[e]=yield*lY(r);return 0!==e&&ts(e)?yield*oR(n(l)):yield*az}return b?yield*n((e,t,i)=>l(e,t,i).pipe(oB(()=>c(e,t,i)),a3(lY(r)))).pipe(oR):yield*az})),R=mP(x.pid);x.on("exit",t=>{0!==t&&ts(t)&&((e,t)=>{if("win32"===globalThis.process.platform)return m5.exec(`taskkill /pid ${e.pid} /T /F`,()=>{});try{globalThis.process.kill(-e.pid,t)}catch{}})(x,e.options.killSignal??"SIGTERM")});let v=aL(()=>{b||(x.ref(),b=!0)}),k=aL(()=>(b&&(x.unref(),b=!1),v)),M=yield*aO(()=>{let t=pu;return ts(x.stdin)&&(t=m9({evaluate:()=>x.stdin,onError:t=>fA("fromWritable(stdin)",fo(t),e),endOnDone:I.endOnDone,encoding:I.encoding})),tA(I.stream,"~effect/Stream")?a2(Ap(pw(I.stream,t)),t):aU(t)}),{all:F,stderr:U,stdout:T}=(t=e,r=x,i=E,h=B,p=r.stdout?(u=new m4.PassThrough,r.stdout.on("error",e=>u.destroy(e)),r.stdout.pipe(u),fr({evaluate:()=>u,onError:e=>fA("fromReadable(stdout)",fo(e),t)})):pf,m=r.stderr?(g=new m4.PassThrough,r.stderr.on("error",e=>g.destroy(e)),r.stderr.pipe(g),fr({evaluate:()=>g,onError:e=>fA("fromReadable(stderr)",fo(e),t)})):pf,tA(i.stream,pa)&&(p=pQ(p,i.stream)),tA(h.stream,pa)&&(m=pQ(m,h.stream)),f=pB(p,m),{stdout:p,stderr:m,all:f}),{getInputFd:L,getOutputFd:O}=yield*A(e,x,Q),P=ot(lq(D),e=>!e);return mG({pid:R,exitCode:a9(lY(D),([t,r])=>ts(t)?aU(mO(t)):rD(fA("exitCode",new globalThis.Error(`Process interrupted due to receipt of signal: '${r}'`),e))),isRunning:P,kill:t=>d(x,e,t)((e,t,r)=>l(e,t,r).pipe(oB(()=>c(e,t,r)),a3(lY(D)))).pipe(a4),stdin:M,stdout:T,stderr:U,all:F,getInputFd:L,getOutputFd:O,unref:k})}case"PipedCommand":{let{commands:t,pipeOptions:r}=fd(e),[i,...n]=t,s=[(yield*g(i))];for(let e=0;e<n.length;e++){let t=n[e],i=r[e]??{},o=a(t.options),A=pI(aU(u(s[s.length-1],i.from))),l=i.to??"stdin";if("stdin"===l)s.push((yield*g(mJ(t.command,t.args,{...t.options,stdin:{...o,stream:A}}))));else{let e=mj(l);if(tn(e)){let r=mK(e),i=t.options.additionalFds??{};s.push((yield*g(mJ(t.command,t.args,{...t.options,additionalFds:{...i,[r]:{type:"input",stream:A}}}))))}else s.push((yield*g(mJ(t.command,t.args,{...t.options,stdin:{...o,stream:A}}))))}}let o=s[s.length-1],A=cD(function*(){let e=[];for(let t of s)e.push((yield*t.unref));return Al([...e].reverse(),e=>e,{discard:!0})});return mG({pid:o.pid,exitCode:o.exitCode,isRunning:o.isRunning,kill:o.kill,stdin:o.stdin,stdout:o.stdout,stderr:o.stderr,all:o.all,getInputFd:o.getInputFd,getOutputFd:o.getOutputFd,unref:A})}}});return e=(e,t)=>g(e).pipe(ot(e=>pb(t?.includeStderr===!0?e.all:e.stdout)),pI),t=(t,r)=>pN(e(t,r)),mq.of({spawn:g,exitCode:e=>ck(a9(g(e),e=>e.exitCode)),streamString:e,streamLines:t,lines:(e,r)=>pn(t(e,r).channel,()=>[],(e,t)=>{for(let r=0;r<t.length;r++)e.push(t[r]);return e}),string:(t,r)=>pR(e(t,r))})}),fc=l5(mq,fl),fd=e=>{let t=[],r=[],i=e=>{switch(e._tag){case"StandardCommand":t.push(e);break;case"PipedCommand":i(e.left),r.push(e.options),i(e.right)}};if(i(e),0===t.length)throw Error("flattenCommand produced empty commands array");let[n,...s]=t;return{commands:[n,...s],pipeOptions:r}},fu="~effect/platform/Crypto",fg=n0("effect/Crypto"),fh=e=>e.toString(16).padStart(2,"0"),fp=e=>[e.subarray(0,4),e.subarray(4,6),e.subarray(6,8),e.subarray(8,10),e.subarray(10,16)].map(e=>Array.from(e,fh).join("")).join("-"),fm=0x1000000000000-1;var ff=A(7598);let fC=(S=(eA={randomBytes:ff.randomBytes,digest:(e,t)=>aV({try:()=>Uint8Array.from(ff.createHash((e=>{switch(e){case"SHA-1":return"sha1";case"SHA-256":return"sha256";case"SHA-384":return"sha384";case"SHA-512":return"sha512"}})(e)).update(t).digest()),catch:e=>hC({module:"Crypto",method:"digest",_tag:"Unknown",description:"Could not compute digest",cause:e})})}).randomBytes,w=()=>{let e=S(7);return((31&e[0])*0x1000000000000+0x10000000000*e[1]+0x100000000*e[2]+0x1000000*e[3]+65536*e[4]+256*e[5]+e[6])/0x20000000000000},x=()=>Math.floor(w()*(Number.MAX_SAFE_INTEGER-Number.MIN_SAFE_INTEGER+1))+Number.MIN_SAFE_INTEGER,fg.of({[fu]:fu,randomBytes:e=>{let t,r;return ot((t="randomBytes",Number.isSafeInteger(r=e)&&r>=0?aU(r):rD(hy({module:"Crypto",method:t,description:"size must be a non-negative safe integer"}))),S)},nextDoubleUnsafe:w,nextIntUnsafe:x,digest:eA.digest,random:aL(()=>w()),randomBoolean:aL(()=>w()>.5),randomInt:aL(()=>x()),randomBetween:(e,t)=>aL(()=>w()*(t-e)+e),randomIntBetween(e,t,r){let i=+(r?.halfOpen!==!0);return aL(()=>{let r=Math.ceil(e),n=Math.floor(t);return Math.floor(w()*(n-r+i))+r})},randomShuffle:e=>aL(()=>{let t=Array.from(e);for(let e=t.length-1;e>=1;e-=1){let r=Math.min(e,Math.floor(w()*(e+1))),i=t[e];t[e]=t[r],t[r]=i}return t}),randomUUIDv4:aL(()=>{let e;return(e=S(16))[6]=15&e[6]|64,e[8]=63&e[8]|128,fp(e)}),randomUUIDv7:AL(e=>{var t,r;let i;return aU((t=e.currentTimeMillisUnsafe(),r=S(16),i=Math.min(Math.max(0,Math.trunc(t)),fm),r[0]=Math.floor(i/0x10000000000),r[1]=255&Math.floor(i/0x100000000),r[2]=255&Math.floor(i/0x1000000),r[3]=255&Math.floor(i/65536),r[4]=255&Math.floor(i/256),r[5]=255&i,r[6]=15&r[6]|112,r[8]=63&r[8]|128,fp(r)))})})),fy=l2(fg,fC),fI=s("node:fs"),fE=s("node:os");var fB=A(6760),fQ=A.t(fB,2);let fb=e=>t=>hy({module:"FileSystem",method:e,description:t.message??String(t)}),fN=(D=cz(fI.access,m8("FileSystem","access"),fb("access")),(e,t)=>{let r=fI.constants.F_OK;return t?.readable&&(r|=fI.constants.R_OK),t?.writable&&(r|=fI.constants.W_OK),D(e,r)}),fS=(R=cz(fI.cp,m8("FileSystem","copy"),fb("copy")),(e,t,r)=>R(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),fw=(v=cz(fI.copyFile,m8("FileSystem","copyFile"),fb("copyFile")),(e,t)=>v(e,t)),fx=(k=cz(fI.chmod,m8("FileSystem","chmod"),fb("chmod")),(e,t)=>k(e,t)),fD=(M=cz(fI.chown,m8("FileSystem","chown"),fb("chown")),(e,t,r)=>M(e,t,r)),fR=(F=cz(fI.glob,m8("FileSystem","glob"),fb("glob")),(e,t)=>F(e,{cwd:t?.root,exclude:t?.exclude})),fv=(U=cz(fI.link,m8("FileSystem","link"),fb("link")),(e,t)=>U(e,t)),fk=(T=cz(fI.mkdir,m8("FileSystem","makeDirectory"),fb("makeDirectory")),(e,t)=>T(e,{recursive:t?.recursive??!1,mode:t?.mode})),fM=e=>{let t=cz(fI.mkdtemp,m8("FileSystem",e),fb(e));return e=>aO(()=>{let r=e?.prefix??"",i="string"==typeof e?.directory?fB.join(e.directory,"."):fE.tmpdir();return t(r?fB.join(i,r):i+"/")})},fF=fM("makeTempDirectory"),fU=e=>{let t=cz(fI.rm,m8("FileSystem",e),fb(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},fT=fU("remove"),fL=(L=fM("makeTempDirectoryScoped"),O=fU("makeTempDirectoryScoped"),e=>cM(L(e),e=>oB(O(e,{recursive:!0}),aG))),fO=(el="open",P=cz(fI.open,m8("FileSystem",el),fb(el)),H=cz(fI.close,m8("FileSystem",el),fb(el)),(e,t)=>e3(cM(P(e,t?.flag??"r",t?.mode),e=>oB(H(e),aG)),ot(e=>fP(pO(e),t?.flag?.startsWith("a")??!1)))),fP=(()=>{let e=e=>cz(fI.read,m8("FileSystem",e),fb(e)),t=e("read"),r=e("readAlloc"),i=cz(fI.fstat,m8("FileSystem","stat"),fb("stat")),n=cz(fI.ftruncate,m8("FileSystem","truncate"),fb("truncate")),s=cz(fI.fsync,m8("FileSystem","sync"),fb("sync")),a=e=>cz(fI.write,m8("FileSystem",e),fb(e)),o=a("write"),A=a("writeAll");class l{[pL];fd;append;position=BigInt(0);constructor(e,t){this[pL]=pL,this.fd=e,this.append=t}get stat(){return ot(i(this.fd),fW)}get sync(){return s(this.fd)}seek(e,t){let r=pF(e);return aL(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return aO(()=>{let r=this.position;return ot(t(this.fd,{buffer:e,position:r}),e=>{let t=pF(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return aO(()=>{let e=Buffer.allocUnsafeSlow(t),i=this.position;return ot(r(this.fd,{buffer:e,position:i}),r=>{if(0===r)return ii();if(this.position=i+BigInt(r),r===t)return is(e);let n=Buffer.allocUnsafeSlow(r);return e.copy(n,0,0,r),is(n)})})}truncate(e){return ot(n(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return aO(()=>{let t=this.position;return ot(o(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=pF(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return aO(()=>{let t=this.position;return a9(A(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?rD(hC({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):az))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new l(e,t)})(),fH=e=>{let t=fM(e);return aK(function*(e){let r=yield*t(e),i=ff.randomBytes(6).toString("hex"),n=fB.join(r,e?.suffix?`${i}${e.suffix}`:i);return yield*fZ(n,new Uint8Array(0)),n})},fY=fH("makeTempFile"),fG=(Y=fH("makeTempFileScoped"),G=fU("makeTempFileScoped"),e=>cM(Y(e),e=>oB(G(fB.dirname(e),{recursive:!0}),aG))),fq=(e,t)=>cx({try:()=>fI.promises.readdir(e,t),catch:t=>m8("FileSystem","readDirectory")(t,[e])}),fz=e=>aW((t,r)=>{try{fI.readFile(e,{signal:r},(r,i)=>{r?t(rD(m8("FileSystem","readFile")(r,[e]))):t(aU(i))})}catch(e){t(rD(fb("readFile")(e)))}}),fV=(q=cz(fI.readlink,m8("FileSystem","readLink"),fb("readLink")),e=>q(e)),f_=(z=cz(fI.realpath,m8("FileSystem","realPath"),fb("realPath")),e=>z(e)),fJ=(V=cz(fI.rename,m8("FileSystem","rename"),fb("rename")),(e,t)=>V(e,t)),fW=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:iI(e.mtime),atime:iI(e.atime),birthtime:iI(e.birthtime),dev:e.dev,rdev:iI(e.rdev),ino:iI(e.ino),mode:e.mode,nlink:iI(e.nlink),uid:iI(e.uid),gid:iI(e.gid),size:pF(e.size),blksize:void 0!==e.blksize?is(pF(e.blksize)):ii(),blocks:iI(e.blocks)}),fj=(_=cz(fI.stat,m8("FileSystem","stat"),fb("stat")),e=>ot(_(e),fW)),fK=(J=cz(fI.symlink,m8("FileSystem","symlink"),fb("symlink")),(e,t)=>J(e,t)),f$=(W=cz(fI.truncate,m8("FileSystem","truncate"),fb("truncate")),(e,t)=>W(e,void 0!==t?Number(t):void 0)),fX=(j=cz(fI.utimes,m8("FileSystem","utime"),fb("utime")),(e,t,r)=>j(e,t,r)),fZ=(e,t,r)=>aW((i,n)=>{try{fI.writeFile(e,t,{signal:n,flag:r?.flag,mode:r?.mode},t=>{t?i(rD(m8("FileSystem","writeFile")(t,[e]))):i(az)})}catch(e){i(rD(fb("writeFile")(e)))}}),f0=ot(rv(e=>aU(sa(e.context,pP))),e=>{let t;return t={access:fN,chmod:fx,chown:fD,copy:fS,copyFile:fw,glob:fR,link:fv,makeDirectory:fk,makeTempDirectory:fF,makeTempDirectoryScoped:fL,makeTempFile:fY,makeTempFileScoped:fG,open:fO,readDirectory:fq,readFile:fz,readLink:fV,realPath:f_,remove:fT,rename:fJ,stat:fj,symlink:fK,truncate:f$,utimes:fX,watch:t=>fj(t).pipe(ot(r=>e.pipe(iM(e=>e.register(t,r)),ih(()=>{let e,r;return pp((e=e=>cM(aL(()=>{let r=fI.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void AC(oF(fj(r),{onSuccess:t=>hx(e,{_tag:"Create",path:r}),onFailure:t=>hx(e,{_tag:"Remove",path:r})}));case"change":return void hD(e,{_tag:"Update",path:r})}});return r.on("error",r=>{hv(e,rp(hC({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{hk(e)}),r}),e=>aL(()=>e.close())),r=void 0,hX((t,i)=>ot(hw({capacity:r?.bufferSize,strategy:r?.strategy}).pipe(a5(e=>oJ(i,eX(hM(e)))),a5(t=>Ah(oX(e(t),i),i))),hF))))}))),pI),writeFile:fZ},pU.of({...t,[pM]:pM,exists:e=>e3(t.access(e),a2(!0),ow("PlatformError",e=>"NotFound"===e.reason._tag?aU(!1):rD(e))),readFileString:(e,r)=>a9(t.readFile(e),e=>aV({try:()=>new TextDecoder(r).decode(e),catch:e=>hy({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:aK(function*(e,r){let i=yield*t.open(e,{flag:"r"});r?.offset&&(yield*i.seek(r.offset,"start"));let n=r?.bytesToRead!==void 0?pF(r.bytesToRead):void 0,s=BigInt(0),a=pF(r?.chunkSize??65536),o=i.readAlloc(a);return pp(h0(aU(a9(aO(()=>void 0!==n&&n<=s?A5():void 0!==n&&n-s<a?i.readAlloc(n-s):o),il({onNone:()=>A5(),onSome:e=>(s+=BigInt(e.length),aU(nq(e)))})))))},pI),sink:(e,r)=>e3(t.open(e,{flag:"w",...r}),ot(e=>{let t,r;return t=t=>e.writeAll(t),r=Al(e=>t(e),{discard:!0}),pc(e=>e.pipe(a9(r),oC({disableYield:!0}),cr(()=>po)))}),pg),writeFileString:(e,r,i)=>a9(aV({try:()=>new TextEncoder().encode(r),catch:e=>hy({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>t.writeFile(e,r,i))})}),f1=l5(pU)(f0);var f2=A(3136);let f3=e=>aV({try:()=>f2.fileURLToPath(e),catch:e=>new hp({module:"Path",method:"fromFileUrl",cause:e})}),f5=e=>aV({try:()=>f2.pathToFileURL(e),catch:e=>new hp({module:"Path",method:"toFileUrl",cause:e})});fB.posix,fB.win32;let f4=l2(mL)({[mT]:mT,...fQ,fromFileUrl:f3,toFileUrl:f5}),f8="~effect/Stdio",f9=l2(n0(f8),{[f8]:f8,...{args:aL(()=>process.argv.slice(2)),stdout:e=>m9({evaluate:()=>process.stdout,onError:e=>hC({module:"Stdio",method:"stdout",_tag:"Unknown",cause:e}),endOnDone:e?.endOnDone??!1}),stderr:e=>m9({evaluate:()=>process.stderr,onError:e=>hC({module:"Stdio",method:"stderr",_tag:"Unknown",cause:e}),endOnDone:e?.endOnDone??!1}),stdin:fr({evaluate:()=>process.stdin,onError:e=>hC({module:"Stdio",method:"stdin",_tag:"Unknown",cause:e}),closeOnDone:!1})}});class f6{waiters=new Set;taken=0;permits;constructor(e){this.permits=e}get free(){return this.permits-this.taken}take(e){let t=aO(()=>this.free<e?aW(r=>{if(this.free>=e)return r(t);let i=()=>{this.free<e||(this.waiters.delete(i),r(t))};return this.waiters.add(i),aL(()=>{this.waiters.delete(i)})}):(this.taken+=e,aU(e)));return t}updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.currentDispatcher.scheduleTask(()=>{let e=this.waiters.values(),t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()},0),this.free}updateTaken(e){return rv(t=>aU(this.updateTakenUnsafe(t,e)))}resize(e){return rv(t=>(this.permits=e,this.free<0||this.updateTakenUnsafe(t,e=>e),az))}release(e){return this.updateTaken(t=>t-e)}get releaseAll(){return this.updateTaken(e=>0)}withPermits(e){return t=>As(r=>a9(r(this.take(e)),e=>o0(r(t),()=>{this.updateTakenUnsafe(aS(),t=>t-e)},!0)))}withPermit=this.withPermits(1);withPermitsIfAvailable(e){return t=>As(r=>this.free<e?aY:(this.taken+=e,o0(r(ot(t,is)),()=>{this.updateTakenUnsafe(aS(),t=>t-e)},!0)))}}let f7={_tag:"Empty"},Ce={_tag:"Closed"},Ct={_A:e$,_E:e$};class Cr{"~effect/RcRef"=Ct;pipe(){return eJ(this,arguments)}state=f7;semaphore=new f6(1);acquire;context;scope;idleTimeToLive;constructor(e,t,r,i){this.acquire=e,this.context=t,this.scope=r,this.idleTimeToLive=i}}let Ci=aK(function*(e){let t,r=yield*As(t=>{switch(e.state._tag){case"Closed":return o7;case"Acquired":return e.state.refCount++,e.state.fiber?a2(ak(e.state.fiber),e.state):aU(e.state);case"Empty":{let r=oK();return e.semaphore.withPermits(1)(t(op(e.acquire,n7(e.context,oq,r))).pipe(ot(t=>{let i={_tag:"Acquired",value:t,scope:r,fiber:void 0,refCount:1,invalidated:!1};return e.state=i,i})))}}}),i=yield*oq,n=void 0!==e.idleTimeToLive&&"Infinity"!==(t=e.idleTimeToLive).value._tag&&"NegativeInfinity"!==t.value._tag;return yield*oJ(i,()=>(r.refCount--,r.refCount>0)?az:void 0===e.idleTimeToLive?(e.state=f7,oz(r.scope,oa)):r.invalidated?oz(r.scope,oa):n?(r.fiber=AO(e.idleTimeToLive).pipe(a9(()=>"Acquired"===e.state._tag&&0===e.state.refCount?(e.state=f7,oz(r.scope,oa)):az),o2(aL(()=>{r.fiber=void 0})),Am(e.context),Af(e.scope)),az):az),r.value}),Cn="~effect/platform/Terminal",Cs=n0("effect/platform/Terminal"),Ca=s("node:readline"),Co=aK(function*(e=CA){let t,r,i=process.stdin,n=process.stdout,s=yield*(t={acquire:cM(aL(()=>{let e=Ca.createInterface({input:i,escapeCodeTimeout:50});return Ca.emitKeypressEvents(i,e),i.isTTY&&i.setRawMode(!0),e}),e=>aL(()=>{i.isTTY&&i.setRawMode(!1),e.close()}))},rv(e=>{let r=e.context,i=sr(r,oq),n=new Cr(t.acquire,r,i,t.idleTimeToLive?sm(t.idleTimeToLive):void 0);return a2(oJ(i,()=>{let e="Acquired"===n.state._tag?oz(n.state.scope,oa):az;return n.state=Ce,e}),n)})),a=aL(()=>n.columns??0),o=aL(()=>n.rows??0),A=cD(function*(){let t;yield*Ci(s);let r=yield*hw(),n=(t,i)=>{let n={input:iE(t),key:{name:i.name??"",ctrl:!!i.ctrl,meta:!!i.meta,shift:!!i.shift}};hD(r,n),e(n)&&hk(r)};return yield*(t=()=>aL(()=>i.off("keypress",n)),a9(oq,e=>oh(r=>oJ(e,e=>op(t(),r))))),i.on("keypress",n),r});return r={columns:a,rows:o,readInput:A,readLine:ck(a9(Ci(s),e=>aW(t=>{let r=e=>t(aU(e));return e.once("line",r),aL(()=>e.off("line",r))}))),display:e=>Ae(aW(t=>{n.write(e,e=>null==e?t(az):t(rD(hy({module:"Terminal",method:"display",description:"Failed to write prompt to stdout",cause:e}))))}))},Cs.of({...r,[Cn]:Cn})});function CA(e){return e.key.ctrl&&("c"===e.key.name||"d"===e.key.name)}let Cl=ct(fc,l6(f1,fy,f4,f9,l5(Cs,Co(CA)))),Cc=Symbol.for("~effect/http/Headers"),Cd=Object.defineProperties(Object.create(null),{[Cc]:{value:Cc},[tH]:{value(e){return CI(this,sr(e,CE))}},toJSON:{value(){return tY(this)}},[tx]:{value(e){return Cg(this,e)}},[td]:{value(){return tI(this)}},toString:{value:tZ.toString},[tK]:{value:tZ[tK]}}),Cu=e=>Object.assign(Object.create(Cd),e),Cg=(K=eK(2,(e,t)=>{for(let r of nv(e))if(!nD(t,r)||!tP(e[r],t[r]))return!1;return!0}),(e,t)=>K(e,t)&&K(t,e)),Ch=Object.create(Cd),Cp=e=>{if(void 0===e)return Ch;if(Symbol.iterator in e){let t=Object.create(Cd);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(Cd);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},Cm=eK(3,(e,t,r)=>{let i=Cu(e);return i[t.toLowerCase()]=r,i}),Cf=eK(2,(e,t)=>Cu({...e,...Cp(t)})),CC=eK(2,(e,t)=>{let r=Cu(e);return Object.assign(r,t),r}),Cy=eK(2,(e,t)=>{let r=Cu(e);return delete r[t.toLowerCase()],r}),CI=eK(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=da(e[i]))}else for(let i in e)t.test(i)&&(r[i]=da(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),CE=n0("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]}),CB="~effect/http/HttpClientError";class CQ extends A9("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[CB]=CB;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let Cb=e=>e.endsWith("Error")?e.slice(0,-5):e,CN=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class CS extends A9("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return CN(Cb(this._tag),this.description,this.methodAndUrl)}}class Cw extends A9("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return CN(Cb(this._tag),this.description,this.methodAndUrl)}}class Cx extends A9("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return CN(Cb(this._tag),this.description,e)}}class CD extends A9("EmptyBodyError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return CN(Cb(this._tag),this.description,e)}}let CR="~effect/http/HttpBody";class Cv{[CR];constructor(){this[CR]=CR}[tK](){return this.toJSON()}toString(){return tV(this,{ignoreToString:!0})}}let Ck=new class extends Cv{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class CM extends Cv{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let CF=new TextEncoder,CU="~effect/http/UrlParams",CT={...rr,[CU]:CU,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[tx](e){return CH(this,e)},[td](){return tB(this.params.flat())}},CL=e=>{let t=Object.create(CT);return t.params=e,t},CO=e=>{if(tA(e,CU))return e;let t=CP(e),r=[];for(let e=0;e<t.length;e++)if(Array.isArray(t[e][0])){let[i,n]=t[e];r.push([`${i[0]}[${i.slice(1).join("][")}]`,n])}else r.push(t[e]);return CL(r)},CP=e=>{let t="function"==typeof e[Symbol.iterator]?nT(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,n]of CP(i))r.push([[e,..."string"==typeof t?[t]:t],n]);else void 0!==i&&r.push([e,String(i)]);return r},CH=tO((e,t)=>CY(e.params,t.params)),CY=(ec=[tP,tP],ed=tO((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!ec[r](e[r],t[r]))return!1;return!0}),tO((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!ed(e[r],t[r]))return!1;return!0})),CG=CL([]),Cq=eK(2,(e,t)=>{let r=CO(t),i=r.params,n=new Set;for(let e=0;e<i.length;e++)n.add(i[e][0]);for(let t=0;t<e.params.length;t++)n.has(e.params[t][0])||i.push(e.params[t]);return r}),Cz="~effect/http/HttpClientRequest",CV={[Cz]:Cz,...tZ,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:tY(this.headers),body:this.body.toJSON()}},pipe(){return eJ(this,arguments)}};function C_(e,t,r,i,n,s){let a=Object.create(CV);return a.method=e,a.url=t,a.urlParams=r,a.hash=i,a.headers=n,a.body=s,a}let CJ=C_("GET","",CG,ii(),Ch,Ck),CW=e=>(t,r)=>CK(CJ,{method:e,url:t,...r??void 0}),Cj=CW("POST"),CK=eK(2,(e,t)=>{let r=e;return t.method&&(r=C$(r,t.method)),t.url&&(r=C3(r,t.url)),t.headers&&(r=CZ(r,t.headers)),t.urlParams&&(r=C5(r,t.urlParams)),t.hash&&(r=C4(r,t.hash)),t.body&&(r=C8(r,t.body)),t.accept&&(r=C1(r,t.accept)),t.acceptJson&&(r=C2(r)),r}),C$=eK(2,(e,t)=>C_(t,e.url,e.urlParams,e.hash,e.headers,e.body)),CX=eK(3,(e,t,r)=>C_(e.method,e.url,e.urlParams,e.hash,Cm(e.headers,t,r),e.body)),CZ=eK(2,(e,t)=>C_(e.method,e.url,e.urlParams,e.hash,Cf(e.headers,t),e.body)),C0=eK(2,(e,t)=>CX(e,"Authorization",`Bearer ${"string"==typeof t?t:dn(t)}`)),C1=eK(2,(e,t)=>CX(e,"Accept",t)),C2=C1("application/json"),C3=eK(2,(e,t)=>{if("string"==typeof t)return C_(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=CO(r.searchParams),n=iI(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",C_(e.method,r.toString(),i,n,e.headers,e.body)}),C5=eK(2,(e,t)=>C_(e.method,e.url,Cq(e.urlParams,t),e.hash,e.headers,e.body)),C4=eK(2,(e,t)=>C_(e.method,e.url,e.urlParams,is(t),e.headers,e.body)),C8=eK(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=Cy(Cy(r,"Content-Type"),"Content-length"):(t.contentType&&(r=Cm(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=Cm(r,"content-length",t.contentLength.toString()))),C_(e.method,e.url,e.urlParams,e.hash,r,t)}),C9=eK(2,(e,t)=>{var r,i;let n;return C8(e,(r=JSON.stringify(t),i=(void 0)??"application/json",new CM(n=CF.encode(r),i??"text/plain"??"application/octet-stream",n.length)))}),C6="~effect/http/Cookies",C7="~effect/http/Cookies/Cookie",ye=(e=>tA(e,C7),"~effect/http/Cookies/CookieError"),yt={[C6]:C6,...tZ,toJSON(){return{_id:"effect/Cookies",cookies:nR(this.cookies,e=>e.toJSON())}},pipe(){return eJ(this,arguments)}},yr=e=>{var t;let r,i={};for(let t of e)i[t.name]=t;return t=i,(r=Object.create(yt)).cookies=t,r},yi=e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!ys.test(i))return;let n=t[0].slice(r+1),s=yo(n);if(1===t.length)return Object.assign(Object.create(ya),{name:i,value:s,valueEncoded:n});let a={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),n=-1===i?r:r.slice(0,i).trim(),s=-1===i?void 0:r.slice(i+1).trim();switch(n.toLowerCase()){case"domain":{if(void 0===s)break;let e=s.trim().replace(/^\./,"");e&&(a.domain=e);break}case"expires":{if(void 0===s)break;let e=new Date(s);isNaN(e.getTime())||(a.expires=e);break}case"max-age":{if(void 0===s)break;let e=parseInt(s,10);isNaN(e)||(a.maxAge=sD(e));break}case"path":if(void 0===s)break;"/"===s[0]&&(a.path=s);break;case"priority":if(void 0===s)break;switch(s.toLowerCase()){case"low":a.priority="low";break;case"medium":a.priority="medium";break;case"high":a.priority="high"}break;case"httponly":a.httpOnly=!0;break;case"secure":a.secure=!0;break;case"partitioned":a.partitioned=!0;break;case"samesite":if(void 0===s)break;switch(s.toLowerCase()){case"lax":a.sameSite="lax";break;case"strict":a.sameSite="strict";break;case"none":a.sameSite="none"}}}return Object.assign(Object.create(ya),{name:i,value:s,valueEncoded:n,options:Object.keys(a).length>0?a:void 0})}(r.trim());e&&t.push(e)}return yr(t)},yn=yr([]),ys=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ya={[C7]:C7,...tZ,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}},yo=e=>{try{return decodeURIComponent(e)}catch(t){return e}},yA="~effect/http/HttpIncomingMessage",yl=n0("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0}),yc=(e,t)=>{let r,i=e.headers["content-type"]??"";if(i.includes("application/json"))try{r=AB(e.json)}catch(e){}else if(i.includes("text/")||i.includes("urlencoded"))try{r=AB(e.text)}catch(e){}let n={...t,headers:tY(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(n.body=r),n},yd="~effect/http/HttpClientResponse";class yu extends t0{[yA];[yd];request;source;constructor(e,t){super(),this.request=e,this.source=t,this[yA]=yA,this[yd]=yd}toJSON(){return yc(this,{_id:"HttpClientResponse",request:this.request.toJSON(),status:this.status})}get status(){return this.source.status}get headers(){return Cp(this.source.headers)}cachedCookies;get cookies(){return this.cachedCookies?this.cachedCookies:this.cachedCookies=yi(this.source.headers.getSetCookie())}get remoteAddress(){return ii()}get stream(){let e;return this.source.body?(e={evaluate:()=>this.source.body,onError:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})},pp(hX(aK(function*(t,r){let i=e.evaluate().getReader();return yield*oJ(r,eX(e.releaseLockOnEnd?aL(()=>i.releaseLock()):cw(()=>i.cancel().catch(e2)))),a9(cx({try:()=>i.read(),catch:t=>e.onError(t)}),({done:e,value:t})=>e?A5():aU(nq(t)))})))):py(new CQ({reason:new CD({request:this.request,response:this,description:"can not create stream from empty body"})}))}get json(){return a9(this.text,e=>aV({try:()=>""===e?null:JSON.parse(e),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=cx({try:()=>this.source.text(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB),this.arrayBufferBody=ot(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return a9(this.text,e=>aV({try:()=>CO(new URLSearchParams(e)),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=cx({try:()=>this.source.formData(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=cx({try:()=>this.source.arrayBuffer(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB),this.textBody=ot(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}pipe(){return eJ(this,arguments)}}class yg extends A9("UrlError"){}let yh="~effect/http/HttpClient",yp=n0("effect/HttpClient"),ym=eK(2,(e,t)=>yf(r=>t(e.postprocess(r)),e.preprocess)),yf=(e,t)=>{let r=Object.create(yC);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},yC={[yh]:yh,pipe(){return eJ(this,arguments)},...tZ,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(CW(e)(t,r))}]))},yy=e=>yf(t=>a9(t,t=>rv(r=>{let i,n,s,a=yN.get(t),o=a??new AbortController,A=(i=t.url,n=t.urlParams,s=iN(t.hash),(e=>{if(tr(e))try{return r3(e())}catch(e){return r2(e)}try{return r3(e.try())}catch(t){return r2(e.catch(t))}})({try:()=>{let e=new URL(i,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<n.params.length;t++){let[r,i]=n.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==s&&(e.hash=s),e},catch:e=>new yg({cause:e})}));if(r0(A))return rD(new CQ({reason:new Cw({request:t,cause:A.failure})}));let l=A.success;if(r.getRef(sj)||r.getRef(yI)(t)){let i=e(t,l,o.signal,r);return a?i:As(e=>ok(e(i),{onSuccess:e=>(yb.register(e,o),aU(new yS(e,o))),onFailure:e=>(e.reasons.some(rI)&&o.abort(),aT(e))}))}return AR(r.getRef(yB)(t),{kind:"client"},i=>{let n;i.attribute("http.request.method",t.method),i.attribute("server.address",l.origin),""!==l.port&&i.attribute("server.port",+l.port),i.attribute("url.full",l.toString()),i.attribute("url.path",l.pathname),i.attribute("url.scheme",l.protocol.slice(0,-1));let s=l.search.slice(1);""!==s&&i.attribute("url.query",s);let A=r.getRef(CE),c=CI(t.headers,A);for(let e in c)i.attribute(`http.request.header.${e}`,String(c[e]));return t=r.getRef(yE)?CZ(t,(n=i,Object.setPrototypeOf({b3:`${n.traceId}-${n.spanId}-${n.sampled?"1":"0"}${il(n.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${n.traceId}-${n.spanId}-${n.sampled?"01":"00"}`},Cd))):t,As(n=>n(e(t,l,o.signal,r)).pipe(cL(i,{captureStackTrace:!1}),ok({onSuccess:e=>{i.attribute("http.response.status_code",e.status);let t=CI(e.headers,A);for(let e in t)i.attribute(`http.response.header.${e}`,String(t[e]));return a?aU(e):(yb.register(e,o),aU(new yS(e,o)))},onFailure:e=>(!a&&e.reasons.some(rI)&&o.abort(),aT(e))})))})})),aU),yI=n0("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>e0}),yE=n0("effect/HttpClient/TracerPropagationEnabled",{defaultValue:eZ}),yB=n0("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),yQ=e=>l5(yp)(oh(t=>ot(e,e=>ym(e,od(e=>so(t,e)))))),yb=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),yN=new WeakMap;class yS{original;controller;constructor(e,t){this.original=e,this.controller=t}[yd]=yd;[yA]=yA;applyInterrupt(e){return aO(()=>(yb.unregister(this.original),o8(e,()=>aL(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){return pC(()=>(yb.unregister(this.original),pS(this.original.stream,aL(()=>{this.controller.abort()}))))}toJSON(){return this.original.toJSON()}[tK](){return this.original[tK]()}pipe(){return eJ(this,arguments)}}let yw=n0("effect/http/FetchHttpClient/Fetch",{defaultValue:()=>globalThis.fetch});class yx extends n0()("effect/http/FetchHttpClient/RequestInit"){}let yD=yQ(aU(yy((e,t,r,i)=>{let n=i.getRef(yw),s=i.context.mapUnsafe.get(yx.key)??{},a=s.headers?CC(Cp(s.headers),e.headers):e.headers;a["content-length"]&&(a=Cy(a,"content-length"));let o=i=>ot(cx({try:()=>n(t,{...s,method:e.method,headers:a,body:i,duplex:"Stream"===e.body._tag?"half":void 0,signal:r}),catch:t=>new CQ({reason:new CS({request:e,cause:t})})}),t=>new yu(e,t));switch(e.body._tag){case"Raw":case"Uint8Array":return o(e.body.body);case"FormData":return o(e.body.formData);case"Stream":return a9(pk(e.body.stream),o)}return o(void 0)})));var yR=class{static layer=l6(mw.layer,mw.layerLogger,mU.layer,mh.layerDefault).pipe(ct(mv.layer),ct(pJ.layer),ct(l6(Cl,yD)))};let yv=e=>{let t=aA(e);if(iA(t))return yk(t.value);let r=al(e);if(r1(r))return`[defect] ${yk(r.success)}`;let i=aI(e);return""===i.trim()?"the action failed with no diagnostic information":i},yk=e=>{if("object"==typeof e&&null!==e&&"_tag"in e){let t="string"==typeof e.message&&""!==e.message?`: ${e.message}`:"";return`[${String(e._tag)}]${t}`}return e instanceof Error?`[${e.name}]: ${e.message}`:`[unknown]: ${String(e)}`};var yM=class{static describeCause=yv;static run=(e,t={})=>{let r=t.layer,i=void 0===r?yR.layer:l6(yR.layer,ce(r,yR.layer));return Ay(e.pipe(cI(i),oL,a9(e=>"Success"===e._tag?az:aL(()=>{let t=aI(e.cause);""!==t.trim()&&console.log(mm.render("debug",{},t)),console.log(mm.render("error",{},`Action failed: ${yv(e.cause)}`)),process.exitCode=1})))).catch(()=>{process.exitCode=1})}},yF=class extends ha()("BlobTransferError",{reason:gJ(["uploadFailed","downloadFailed"]),cause:gM(g6())}){get message(){return"uploadFailed"===this.reason?"Could not upload to the signed blob url":"Could not download from the signed blob url"}};let yU="ACTIONS_RESULTS_URL",yT="ACTIONS_RUNTIME_TOKEN",yL=Symbol.for("@effected/github-actions/twirp/conflict"),yO=e=>"transport"===e.kind||"malformed"!==e.kind&&void 0!==e.status&&(e.status>=500||408===e.status||429===e.status),yP=(e,t)=>{if("object"!=typeof e||null===e)return;let r=t.replaceAll(/[A-Z]/g,e=>`_${e.toLowerCase()}`);return e[t]??e[r]},yH=(e,t)=>{let r=yP(e,t);return"string"==typeof r&&""!==r?r:void 0},yY=e=>!0===yP(e,"ok");class yG extends Error{constructor(e){super(e),this.name="AbortError"}}var yq=A(7975);let yz=s("node:process");"string"==typeof yz.versions.deno&&yz.versions.deno.length,"string"==typeof yz.versions.bun&&yz.versions.bun.length;let yV=yz.env.DEBUG,y_=[],yJ=[],yW=[];yV&&yK(yV);let yj=Object.assign(e=>yZ(e),{enable:yK,enabled:y$,disable:function(){let t=e||"";return yK(""),t},log:function(e,...t){yz.stderr.write(`${yq.format(e,...t)}${fE.EOL}`)}});function yK(t){for(let r of(e=t,y_=[],yJ=[],t.split(",").map(e=>e.trim())))r.startsWith("-")?yJ.push(r.substring(1)):y_.push(r);for(let e of yW)e.enabled=y$(e.namespace)}function y$(e){if(e.endsWith("*"))return!0;for(let t of yJ)if(yX(e,t))return!1;for(let t of y_)if(yX(e,t))return!0;return!1}function yX(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,n=0,s=r.length,a=e.length,o=-1,A=-1;for(;i<a&&n<s;)if("*"===r[n]){if(o=n,++n===s)return!0;for(;e[i]!==r[n];)if(++i===a)return!1;A=i,i++,n++;continue}else if(r[n]===e[i])n++,i++;else{if(!(o>=0)||(n=o+1,(i=A+1)===a))return!1;for(;e[i]!==r[n];)if(++i===a)return!1;A=i,i++,n++;continue}let l=i===e.length,c=n===r.length,d=n===r.length-1&&"*"===r[n];return l&&(c||d)}function yZ(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:y$(e),destroy:y0,log:yj.log,namespace:e,extend:y1});return yW.push(t),t}function y0(){let e=yW.indexOf(this);return e>=0&&(yW.splice(e,1),!0)}function y1(e){let t=yZ(`${this.namespace}:${e}`);return t.log=this.log,t}let y2=["verbose","info","warning","error"],y3={verbose:400,info:300,warning:200,error:100};function y5(e,t){t.log=(...t)=>{e.log(...t)}}function y4(e){return y2.includes(e)}function y8(e){var t;let r,i=new Set,n=(t=e.logLevelEnvVarName,yz.env[t]),s=yj(e.namespace);function a(e){if(e&&!y4(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${y2.join(",")}`);r=e;let t=[];for(let e of i)o(e)&&t.push(e.namespace);yj.enable(t.join(","))}function o(e){return!!(r&&y3[e.level]<=y3[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(y5(e,r),o(r)){let e=yj.disable();yj.enable(e+","+r.namespace)}return i.add(r),r}return s.log=(...e)=>{yj.log(...e)},n&&(y4(n)?a(n):console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${y2.join(", ")}.`)),{setLogLevel:a,getLogLevel:function(){return r},createClientLogger:function(e){let t=s.extend(e);return y5(s,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:s}}let y9=y8({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function y6(e){return y9.createClientLogger(e)}function y7(e){return e.toLowerCase()}y9.logger;class Ie{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(y7(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(y7(e))?.value}has(e){return this._headersMap.has(y7(e))}delete(e){this._headersMap.delete(y7(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function It(e){return new Ie(e)}function Ir(){return globalThis.crypto.randomUUID()}class Ii{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??It(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||Ir(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let In=new Set(["Deserialize","Serialize","Retry","Sign"]);class Is{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!In.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!In.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new Is(this._policies)}static create(){return new Is}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),n=r("None"),s=r("Deserialize"),a=r("Retry"),o=r("Sign"),A=[i,n,s,a,o];function l(e){return"Retry"===e?a:"Serialize"===e?i:"Deserialize"===e?s:"Sign"===e?o:n}for(let e of this._policies){let r=e.policy,i=e.options,n=r.name;if(t.has(n))throw Error("Duplicate policy names not allowed in pipeline");let s={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(s.afterPhase=l(i.afterPhase),s.afterPhase.hasAfterPolicies=!0),t.set(n,s),l(i.phase).policies.add(s)}for(let e of this._policies){let{policy:r,options:i}=e,n=r.name,s=t.get(n);if(!s)throw Error(`Missing node for policy ${n}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(s.dependsOn.add(r),r.dependants.add(s))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(s),s.dependants.add(r))}}function c(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==n){n.hasRun||c(n);return}e.hasAfterPolicies&&c(n)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function Ia(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function Io(e){if(Ia(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let IA=yq.inspect.custom,Il="REDACTED",Ic=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],Id=["api-version"];class Iu{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=Ic.concat(e),t=Id.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&Ia(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&Ia(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||Ia(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,Il);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=Il;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=Il;return t}}let Ig=new Iu;class Ih extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,IA,{value:()=>`RestError: ${this.message} + ${Ig.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,Ih.prototype)}}function Ip(e){return e instanceof Ih||Io(e)&&"RestError"===e.name}var Im=A(7067);let If=s("node:https");var IC=A(8522);let Iy=y6("ts-http-runtime"),II={};function IE(e){return e&&"function"==typeof e.pipe}function IB(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function IQ(e){return e&&"number"==typeof e.byteLength}class Ib extends m4.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class IN{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,n=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new yG("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&n.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new Iu;Iy.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),n.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),o="function"==typeof e.body?e.body():e.body;if(o&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(IE(e))return null;if(IQ(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(o);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(o&&e.onUploadProgress){let t=e.onUploadProgress,r=new Ib(t);r.on("error",e=>{Iy.error("Error in upload progress",e)}),IE(o)?o.pipe(r):r.end(o),o=r}let t=await this.makeRequest(e,n,o);void 0!==r&&clearTimeout(r);let s=function(e){let t=It();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),l={status:t.statusCode??0,headers:s,request:e};if("HEAD"===e.method)return t.resume(),l;i=a?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=IC.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=IC.createInflate();return e.pipe(t),t}return e}(t,s):t;let c=e.onDownloadProgress;if(c){let e=new Ib(c);e.on("error",e=>{Iy.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=i:l.bodyAsText=await (A=i,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new Ih(`Error reading response as text: ${e.message}`,{code:Ih.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();IE(o)&&(r=IB(o));let n=Promise.resolve();IE(i)&&(n=IB(i)),Promise.all([r,n]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{Iy.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),n="https:"!==i.protocol;if(n&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let s={agent:e.agent??this.getOrCreateAgent(e,n),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,a)=>{let o=n?Im.request(s,i):If.request(s,i);o.once("error",t=>{a(new Ih(t.message,{code:t.code??Ih.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new yG("The operation was aborted. Rejecting from abort signal callback while making request.");o.destroy(e),a(e)}),r&&IE(r)?r.pipe(o):r?"string"==typeof r||Buffer.isBuffer(r)?o.end(r):IQ(r)?o.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(Iy.error("Unrecognized body type",r),a(new Ih("Unrecognized body type"))):o.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?Im.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Im.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return If.globalAgent;let t=e.tlsSettings??II,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(Iy.info("No cached TLS Agent exist, creating a new Agent"),i=new If.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let IS="Retry-After",Iw=["retry-after-ms","x-ms-retry-after-ms",IS];function Ix(e){if(e&&[429,503].includes(e.status))try{for(let t of Iw){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===IS?1e3:1;return r*e}}let t=e.headers.get(IS);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let ID=y6("ts-http-runtime retryPolicy");function IR(e,t){return Buffer.from(e,t)}async function Iv(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:It({"Content-Disposition":`form-data; name="${t}"`}),body:IR(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",n=It();n.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),n.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:n,body:e})}t.multipartBody={parts:i}}var Ik=A(6565),IM=A(7277);let IF=[],IU=!1,IT=new Map;function IL(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function IO(){if(!process)return;let e=IL("HTTPS_PROXY"),t=IL("ALL_PROXY"),r=IL("HTTP_PROXY");return e||t||r}function IP(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function IH(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&Iy.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new IM.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new Ik.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let IY="redirectPolicy",IG=["GET","HEAD"];async function Iq(e,t,r,i,n=0){let{request:s,status:a,headers:o}=t,A=o.get("location");if(A&&(300===a||301===a&&IG.includes(s.method)||302===a&&IG.includes(s.method)||303===a&&"POST"===s.method||307===a)&&n<r){let o=new URL(A,s.url);if(!i){let e=new URL(s.url);if(o.origin!==e.origin)return Iy.verbose(`Skipping cross-origin redirect from ${e.origin} to ${o.origin}.`),t}s.url=o.toString(),303===a&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let l=await e(s);return Iq(e,l,r,i,n+1)}return t}let Iz=s("stream");function IV(e){return e instanceof Blob}async function*I_(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function IJ(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=I_.bind(e)),e.values||(e.values=I_.bind(e)),Iz.Readable.fromWeb(e)):e}function IW(e){return e instanceof Uint8Array?Iz.Readable.from(Buffer.from(e)):IV(e)?IJ(e.stream()):IJ(e)}async function Ij(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(IW);return Iz.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function IK(e,t,r){let i=[IR(`--${r}`,"utf-8"),...t.flatMap(e=>[IR("\r\n","utf-8"),IR(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r +`;return t}(e.headers),"utf-8"),IR("\r\n","utf-8"),e.body,IR(`\r +--${r}`,"utf-8")]),IR("--\r\n\r\n","utf-8")],n=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:IV(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);n&&e.headers.set("Content-Length",n),e.body=await Ij(i)}let I$="multipartPolicy",IX=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),IZ=y8({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function I0(e){return IZ.createClientLogger(e)}IZ.logger;let I1=I0("core-rest-pipeline"),I2="decompressResponsePolicy";async function I3(e){if(yz&&yz.versions){let t=`${fE.type()} ${fE.release()}; ${fE.arch()}`;yz.versions.bun?e.set("Bun",`${yz.versions.bun} (${t})`):yz.versions.deno?e.set("Deno",`${yz.versions.deno} (${t})`):yz.versions.node&&e.set("Node",`${yz.versions.node} (${t})`)}}async function I5(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await I3(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let I4="User-Agent",I8=Symbol("rawContent");function I9(e){return"function"==typeof e[I8]}class I6 extends Error{constructor(e){super(e),this.name="AbortError"}}function I7(e,t){let r,{abortSignal:i,abortErrorMsg:n}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:n}=t??{};return new Promise((t,s)=>{function a(){s(new I6(n??"The operation was aborted."))}function o(){i?.removeEventListener("abort",A)}function A(){r?.(),o(),a()}if(i?.aborted)return a();try{e(e=>{o(),t(e)},e=>{o(),s(e)})}catch(e){s(e)}i?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:n??"The delay was aborted."})}function Ee(e){if(Io(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function Et(e){var t=e;if(!t&&!(t=IO()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let Er={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class Ei{_contextMap;constructor(e){this._contextMap=e instanceof Ei?new Map(e._contextMap):new Map}setValue(e,t){let r=new Ei(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new Ei(this);return t._contextMap.delete(e),t}}let En=A(7301).w;function Es(){return En.instrumenterImplementation||(En.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new Ei(e.parentContext);return e.span&&(t=t.setValue(Er.span,e.span)),e.namespace&&(t=t.setValue(Er.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),En.instrumenterImplementation}function Ea(e){let{namespace:t,packageName:r,packageVersion:i}=e;function n(e,n,s){let a=Es().startSpan(e,{...s,packageName:r,packageVersion:i,tracingContext:n?.tracingOptions?.tracingContext}),o=a.tracingContext,A=a.span;return o.getValue(Er.namespace)||(o=o.setValue(Er.namespace,t)),A.setAttribute("az.namespace",o.getValue(Er.namespace)),{span:A,updatedOptions:Object.assign({},n,{tracingOptions:{...n?.tracingOptions,tracingContext:o}})}}async function s(e,t,r,i){let{span:s,updatedOptions:o}=n(e,t,i);try{let e=await a(o.tracingOptions.tracingContext,()=>r(o,s));return s.setStatus({status:"success"}),e}catch(e){throw s.setStatus({status:"error",error:e}),e}finally{s.end()}}function a(e,t,...r){return Es().withContext(e,t,...r)}return{startSpan:n,withSpan:s,withContext:a,parseTraceparentHeader:function(e){return Es().parseTraceparentHeader(e)},createRequestHeaders:function(e){return Es().createRequestHeaders(e)}}}function Eo(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",n),r=!1)}function n(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",n),{abortSignal:t.signal,cleanup:i}}function EA(){let e=new IN;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?Eo(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}I0("core-rest-pipeline retryPolicy");let El={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function Ec(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let n=await i();for(;null===n;)await I7(t),n=await i();return n}async function Ed(e,t){try{return[await t(e),void 0]}catch(e){if(Ip(e)&&e.response)return[e.response,e];throw e}}async function Eu(e){let{scopes:t,getAccessToken:r,request:i}=e,n={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},s=await r(t,n);s&&e.request.headers.set("Authorization",`Bearer ${s.token}`)}function Eg(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function Eh(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function Ep(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,n=e.logger||I1,s={authorizeRequest:i?.authorizeRequest?.bind(i)??Eu,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},a=t?function(e){let t,r=null,i=null,n={...El,...void 0},s={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(s.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-n.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-n.forcedRefreshWindowInMs<Date.now()}};function a(a,o){return s.isRefreshing||(r=Ec(()=>e.getToken(a,o),n.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=o.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let n=!!r.claims,o=t!==r.tenantId;return(n&&(i=null),o||n||s.mustRefresh)?a(e,r):(s.shouldRefresh&&a(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,o;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:a,logger:n}),[i,o]=await Ed(e,t),Eg(i)){let A=Em(i.headers.get("WWW-Authenticate"));if(A){let s;try{s=atob(A)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await Eh({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:a,logger:n},s)&&([i,o]=await Ed(e,t))}else if(s.authorizeRequestOnChallenge&&(await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:a,logger:n})&&([i,o]=await Ed(e,t)),Eg(i))&&(A=Em(i.headers.get("WWW-Authenticate")??""))){let s;try{s=atob(A)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await Eh({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:a,logger:n},s)&&([i,o]=await Ed(e,t))}}if(!o)return i;throw o}}}function Em(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,n=[];for(;null!==(t=r.exec(e));){let e,r=t[1],s=t[2],a={};for(;null!==(e=i.exec(s));)a[e[1]]=e[2];n.push({scheme:r,params:a})}return n}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function Ef(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let EC="DisableKeepAlivePolicy";function Ey(e){return Buffer.from(e).toString("base64")}function EI(e){return IR(e,"base64")}let EE=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,EB=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function EQ(e,t){var r,i;let n,s=e.parsedHeaders;if("HEAD"===e.request.method)return{...s,body:e.parsedBody};let a=t&&t.bodyMapper,o=!!a?.nullable,A=a?.type.name;if("Stream"===A)return{...s,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&a.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(s)for(let e of Object.keys(s))t[e]=s[e];return!o||e.parsedBody||s||0!==Object.getOwnPropertyNames(l).length?t:null}return n={...(i={body:e.parsedBody,headers:s,hasNullableType:o,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(n).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:n}class Eb{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:n,InclusiveMaximum:s,InclusiveMinimum:a,MaxItems:o,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:u,UniqueItems:g}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==n&&t<=n&&i("ExclusiveMinimum",n),void 0!==s&&t>s&&i("InclusiveMaximum",s),void 0!==a&&t<a&&i("InclusiveMinimum",a),void 0!==o&&t.length>o&&i("MaxItems",o),void 0!==A&&t.length>A&&i("MaxLength",A),void 0!==l&&t.length<l&&i("MinItems",l),void 0!==c&&t.length<c&&i("MinLength",c),void 0!==d&&t%d!=0&&i("MultipleOf",d),u){let e="string"==typeof u?new RegExp(u):u;("string"!=typeof t||null===t.match(e))&&i("Pattern",u)}g&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",g)}}serialize(e,t,r,i={xml:{}}){let n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},s={},a=e.type.name;r||(r=e.serializedName),null!==a.match(/^Sequence$/i)&&(s=[]),e.isConstant&&(t=e.defaultValue);let{required:o,nullable:A}=e;if(o&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(o&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!o&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==a.match(/^any$/i)?s=t:null!==a.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?s=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&EB.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(a,r,t):null!==a.match(/^Enum$/i)?s=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==a.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?s=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!EE.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(a,t,r):null!==a.match(/^ByteArray$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=Ey(t)}return t}(r,t):null!==a.match(/^Base64Url$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(Ey(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==a.match(/^Sequence$/i)?s=function(e,t,r,i,n,s){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let a=t.type.element;if(!a||"object"!=typeof a)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===a.type.name&&a.type.className&&(a=e.modelMappers[a.type.className]??a);let o=[];for(let t=0;t<r.length;t++){let A=e.serialize(a,r[t],i,s);if(n&&a.xmlNamespace){let e=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";"Composite"===a.type.name?o[t]={...A}:(o[t]={},o[t][s.xml.xmlCharKey]=A),o[t].$={[e]:a.xmlNamespace}}else o[t]=A}return o}(this,e,t,r,!!this.isXML,n):null!==a.match(/^Dictionary$/i)?s=function(e,t,r,i,n,s){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let a=t.type.value;if(!a||"object"!=typeof a)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let o={};for(let t of Object.keys(r)){let A=e.serialize(a,r[t],i,s);o[t]=ED(a,A,n,s)}return n&&t.xmlNamespace?(o.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},o):o}(this,e,t,r,!!this.isXML,n):null!==a.match(/^Composite$/i)&&(s=function(e,t,r,i,n,s){if(Ev(e,t)&&(t=ER(e,t,r,"clientName")),null!=r){let a={},o=Ex(e,t,i);for(let A of Object.keys(o)){let l,c=o[A];if(c.readOnly)continue;let d=a;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=ES(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(n&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let a=""!==c.serializedName?i+"."+c.serializedName:i,o=r[A],u=Ev(e,t);u&&u.clientName===A&&null==o&&(o=t.serializedName);let g=e.serialize(c,o,a,s);if(void 0!==g&&null!=l){let e=ED(c,g,n,s);n&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=g):n&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=Ew(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(A){let t=Object.keys(o);for(let n of Object.keys(r))t.every(e=>e!==n)&&Object.defineProperty(a,n,{value:e.serialize(A,r[n],i+'["'+n+'"]',s),enumerable:!0,configurable:!0,writable:!0})}return a}return r}(this,e,t,r,!!this.isXML,n)),s}deserialize(e,t,r,i={xml:{}}){let n,s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let a=e.type.name;if(r||(r=e.serializedName),null!==a.match(/^Composite$/i))n=function(e,t,r,i,n){let s=n.xml.xmlCharKey??"_";Ev(e,t)&&(t=ER(e,t,r,"serializedName"));let a=Ex(e,t,i),o={},A=[];for(let l of Object.keys(a)){let c=a[l],d=ES(a[l].serializedName);A.push(d[0]);let{serializedName:u,xmlName:g,xmlElementName:h}=c,p=i;""!==u&&void 0!==u&&(p=i+"."+u);let m=c.headerCollectionPrefix;if(m){let t={};for(let i of Object.keys(r))i.startsWith(m)&&(t[i.substring(m.length)]=e.deserialize(c.type.value,r[i],p,n)),A.push(i);o[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)o[l]=e.deserialize(c,r.$[g],p,n);else if(c.xmlIsMsText)void 0!==r[s]?o[l]=r[s]:"string"==typeof r&&(o[l]=r);else{let t=h||g||u;if(c.xmlIsWrapped){let t=r[g],i=t?.[h]??[];Object.defineProperty(o,l,{value:e.deserialize(c,i,p,n),enumerable:!0,configurable:!0,writable:!0}),A.push(g)}else{let i=r[t];o[l]=e.deserialize(c,i,p,n),A.push(t)}}else{let i,s,A=r,u=0;for(let e of d){if(!A)break;u++,A=A[e]}null===A&&u<d.length&&(A=void 0),i=A;let g=t.type.polymorphicDiscriminator;if(g&&l===g.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[l])&&""===a[l].serializedName){i=r[l];let t=e.deserialize(c,i,p,n);for(let[e,r]of Object.entries(o))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);o=t}else(void 0!==i||void 0!==c.defaultValue)&&(s=e.deserialize(c,i,p,n),o[l]=s)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(a))if(ES(a[t].serializedName)[0]===e)return!1;return!0};for(let s of Object.keys(r))if(t(s)){let t=e.deserialize(l,r[s],i+'["'+s+'"]',n);Object.defineProperty(o,s,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!n.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==o[e]||A.includes(e)||["$",n.xml.xmlCharKey].includes(e)||Object.defineProperty(o,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return o}(this,e,t,r,s);else{if(this.isXML){let e=s.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==a.match(/^Number$/i)?isNaN(n=parseFloat(t))&&(n=t):null!==a.match(/^Boolean$/i)?n="true"===t||"false"!==t&&t:null!==a.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?n=t:null!==a.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?n=new Date(t):null!==a.match(/^UnixTime$/i)?n=function(e){if(e)return new Date(1e3*e)}(t):null!==a.match(/^ByteArray$/i)?n=EI(t):null!==a.match(/^Base64Url$/i)?n=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return EI(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==a.match(/^Sequence$/i)?n=function(e,t,r,i,n){let s=t.type.element;if(!s||"object"!=typeof s)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===s.type.name&&s.type.className&&(s=e.modelMappers[s.type.className]??s);let t=[];for(let a=0;a<r.length;a++)t[a]=e.deserialize(s,r[a],`${i}[${a}]`,n);return t}return r}(this,e,t,r,s):null!==a.match(/^Dictionary$/i)&&(n=function(e,t,r,i,n){let s=t.type.value;if(!s||"object"!=typeof s)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let a of Object.keys(r))t[a]=e.deserialize(s,r[a],i,n);return t}return r}(this,e,t,r,s))}return e.isConstant&&(n=e.defaultValue),n}}function EN(e={},t=!1){return new Eb(e,t)}function ES(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function Ew(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function Ex(e,t,r){let i=t.type.modelProperties;if(!i){let n=Ew(e,t,r);if(!n)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=n?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(n)}" of type "${t.type.className}" for object "${r}".`)}return i}function ED(e,t,r,i){if(!r||!e.xmlNamespace)return t;let n={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=n,e}let s={};return s[i.xml.xmlCharKey]=t,s.$=n,s}function ER(e,t,r,i){let n=Ev(e,t);if(n){let s=n[i];if(s){"serializedName"===i&&(s=s.replace(/\\/gi,""));let n=r[s],a=t.type.uberParent??t.type.className;if("string"==typeof n&&a){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),n=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,n))return e[n];for(let[t,n]of Object.entries(e))t.startsWith(r+".")&&n.type.uberParent===r&&n.type.className&&i.push(n.type.className)}}(e.modelMappers.discriminators,n,a);r&&(t=r)}}}return t}function Ev(e,t){return t.type.polymorphicDiscriminator||Ek(e,t.type.uberParent)||Ek(e,t.type.className)}function Ek(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let EM="Sequence",EF="Stream",EU=A(5997).w;function ET(e,t,r){let i,n=t.parameterPath,s=t.mapper;if("string"==typeof n&&(n=[n]),Array.isArray(n)){if(n.length>0)if(s.isConstant)i=s.defaultValue;else{let t=EL(e,n);!t.propertyFound&&r&&(t=EL(r,n));let a=!1;t.propertyFound||(a=s.required||"options"===n[0]&&2===n.length),i=a?s.defaultValue:t.propertyValue}}else for(let[t,a]of(s.required&&(i={}),Object.entries(n))){let n=ET(e,{parameterPath:a,mapper:s.type.modelProperties[t]},r);void 0!==n&&(i||(i={}),Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}))}return i}function EL(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let EO=Symbol.for("@azure/core-client original request");function EP(e){if(EO in e)return EP(e[EO]);let t=EU.operationRequestMap.get(e);return t||(t={},EU.operationRequestMap.set(e,t)),t}let EH=["application/json","text/json"],EY=["application/xml","application/atom+xml"];async function EG(e,t,r,i,n){let s,a,o,A,l,c=await Eq(e,t,r,i,n);if(s=EP(c.request),!(void 0===(a=s?.shouldDeserialize)||("boolean"==typeof a?a:a(c))))return c;let d=EP(c.request),u=d?.operationSpec;if(!u||!u.responses)return c;let g=(A=EP(c.request),(l=A?.operationSpec)&&(o=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),o),{error:h,shouldReturnResponse:p}=function(e,t,r,i){let n,s=200<=e.status&&e.status<300;if(0===(n=Object.keys(t.responses)).length||1===n.length&&"default"===n[0]?s:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let a=r??t.responses.default,o=new Ih(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!a&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw o;let A=a?.bodyMapper,l=a?.headersMapper;try{if(e.parsedBody){let r,n=e.parsedBody;if(A){let e=n;if(t.isXML&&A.type.name===EM){e=[];let t=A.xmlElementName;"object"==typeof n&&t&&(e=n[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",i)}let s=n.error||r||n;o.code=s.code,s.message&&(o.message=s.message),A&&(o.response.parsedBody=r)}e.headers&&l&&(o.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){o.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:o,shouldReturnResponse:!1}}(c,u,g,i);if(h)throw h;if(p)return c;if(g){if(g.bodyMapper){let e=c.parsedBody;u.isXML&&g.bodyMapper.type.name===EM&&(e="object"==typeof e?e[g.bodyMapper.xmlElementName]:[]);try{c.parsedBody=u.serializer.deserialize(g.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new Ih(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===u.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);g.headersMapper&&(c.parsedHeaders=u.serializer.deserialize(g.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function Eq(e,t,r,i,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,a=r.headers.get("Content-Type")||"",o=a?a.split(";").map(e=>e.toLowerCase()):[];try{if(0===o.length||o.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(s);else if(o.some(e=>-1!==t.indexOf(e))){if(!n)throw Error("Parsing XML not supported.");r.parsedBody=await n(s,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||Ih.PARSE_ERROR;throw new Ih(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function Ez(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function EV(e={}){var t,r,i,n,s;let a,o,A,l,c,d,u=(t=e??{},o=Is.create(),t.agent&&o.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&o.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),o.addPolicy((n=t.proxyOptions,s=void 0,IU||IF.push(...(A=IL("NO_PROXY"),(IU=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=n?IP(n):(l=IO())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let n=!1;for(let e of t)"."===e[0]?i.endsWith(e)?n=!0:i.length===e.length-1&&i===e.slice(1)&&(n=!0):i===e&&(n=!0);return r?.set(i,n),n}(e.url,s?.customNoProxyList??IF,s?.customNoProxyList?void 0:IT)?IH(e,d,c):e.proxySettings&&IH(e,d,IP(e.proxySettings)),t(e))})),o.addPolicy({name:I2,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),o.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=Eo(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),o.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await Iv(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[I$]}),o.addPolicy(function(e={}){let t=I5(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(I4)||e.headers.set(I4,await t),r(e))}}(t.userAgentOptions)),o.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),o.addPolicy((a={name:I$,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",n=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,s,a]=n;if(a&&r&&a!==r)throw Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);if(r??=a){var o=r;if(o.length>70)throw Error(`Multipart boundary "${o}" exceeds maximum length of 70 characters`);if(Array.from(o).some(e=>!IX.has(e)))throw Error(`Multipart boundary "${o}" contains invalid characters`)}else r=`----AzSDKFormBoundary${Ir()}`;return e.headers.set("Content-Type",`${s}; boundary=${r}`),await IK(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:I$,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;I9(t.body)&&(t.body=I9(r=t.body)?r[I8]():r)}return a.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),o.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||ID;return{name:"retryPolicy",async sendRequest(i,n){let s,a,o=-1;e:for(;;){o+=1,s=void 0,a=void 0;try{r.info(`Retry ${o}: Attempting to send request`,i.requestId),s=await n(i),r.info(`Retry ${o}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${o}: Received an error from request`,i.requestId),!Ip(e))throw e;a=e,s=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${o}: Request aborted.`),new yG;if(o>=(t.maxRetries??3)){if(r.info(`Retry ${o}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(s)return s;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${o}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${o}: Processing retry strategy ${t.name}.`);let n=t.retry({retryCount:o,response:s,responseError:a});if(n.skipStrategy){e.info(`Retry ${o}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=n;if(A)throw e.error(`Retry ${o}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${o}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((i,n)=>{let s,a,o=()=>n(new yG(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)};if(a=()=>(s&&clearTimeout(s),A(),o()),r?.abortSignal&&r.abortSignal.aborted)return o();s=setTimeout(()=>{A(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}(l,void 0,{abortSignal:i.abortSignal});continue e}if(c){e.info(`Retry ${o}: Retry strategy ${t.name} redirects to ${c}`),i.url=c;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=Ix(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:n,responseError:s}){var a,o,A,l,c;let d,u,g=!!(l=s)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=g&&e.ignoreSystemErrors,p=!!((c=n)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),m=p&&e.ignoreHttpStatusCodes;return n&&(Number.isFinite(Ix(n))||!p)||m||h?{skipStrategy:!0}:!s||g||p?(d=(a={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(u=Math.min(a.maxRetryDelayInMs,d))/2+(o=0,A=u/2,o=Math.ceil(o),Math.floor(Math.random()*((A=Math.floor(A))-o+1))+o)}):{errorToThrow:s}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),o.addPolicy(function(e={}){let t=I5(e.userAgentPrefix),r=new Iu({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return Ea({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){I1.warning(`Error when creating the TracingClient: ${Ee(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,n){if(!i)return n(e);let s=await t,a={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":s,requestId:e.requestId};s&&(a["http.user_agent"]=s);let{span:o,tracingContext:A}=function(e,t,r){try{let{span:i,updatedOptions:n}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let s=e.createRequestHeaders(n.tracingOptions.tracingContext);for(let[e,r]of Object.entries(s))t.headers.set(e,r);return{span:i,tracingContext:n.tracingOptions.tracingContext}}catch(e){I1.warning(`Skipping creating a tracing span due to an error: ${Ee(e)}`);return}}(i,e,a)??{};if(!o||!A)return n(e);try{let t=await i.withContext(A,n,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){I1.warning(`Skipping tracing span processing due to an error: ${Ee(e)}`)}}(o,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:Io(t)?t:void 0}),Ip(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){I1.warning(`Skipping tracing span processing due to an error: ${Ee(e)}`)}}(o,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),o.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:IY,async sendRequest(e,i){let n=await i(e);return Iq(i,n,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),o.addPolicy(function(e={}){return function(e={}){let t=e.logger??Iy.info,r=new Iu({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let n=await i(e);return t(`Response status code: ${n.status}`),t(`Headers: ${r.sanitize({headers:n.headers})}`),n}}}({logger:I1.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),o);return e.credentialOptions&&u.addPolicy(Ep({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),u.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=EP(e),n=i?.operationSpec,s=i?.operationArguments;return n&&s&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let n=ET(t,i);if(null!=n||i.mapper.required){n=r.serializer.serialize(i.mapper,n,Ez(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(n))e.headers.set(t+r,n[r]);else e.headers.set(i.mapper.serializedName||Ez(i),n)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,s,n),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let n=t.options?.serializerOptions,s={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=ET(t,r.requestBody);let n=r.requestBody.mapper,{required:o,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:u,nullable:g}=n,h=n.type.name;try{if(void 0!==e.body&&null!==e.body||g&&null===e.body||o){let t=Ez(r.requestBody);e.body=r.serializer.serialize(n,e.body,t,s);let o=h===EF;if(r.isXML){let t=u?`xmlns:${u}`:"xmlns",r=function(e,t,r,i,n){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[n.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(d,t,h,e.body,s);h===EM?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let n={[t]:e};return n.$={[r]:i},n}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:a}):o||(e.body=i(r,{rootName:l||A,xmlCharKey:a}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;o||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let n=ET(t,i);if(null!=n){let t=i.mapper.serializedName||Ez(i);e.formData[t]=r.serializer.serialize(i.mapper,n,Ez(i),s)}}}(e,s,n,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),u.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??EH,r=e.expectedContentTypes?.xml??EY,i=e.parseXML,n=e.serializerOptions,s={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,n)=>EG(t,r,await n(e),s,i)}}(e.deserializationOptions),{phase:"Deserialize"}),u}let E_={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function EJ(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let EW=I0("core-client");class Ej{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var r;let i,n;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&EW.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(t||(t=EA()),t),this.pipeline=e.pipeline||(i=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(r=e),n=r.credential&&i?{credentialScopes:i,credential:r.credential}:void 0,EV({...r,credentialOptions:n})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new Ii({url:function(e,t,r,i){let n=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let n of e.urlParameters){let s=ET(t,n,r),a=Ez(n);s=e.serializer.serialize(n.mapper,s,a),n.skipEncoding||(s=encodeURIComponent(s)),i.set(`{${n.mapper.serializedName||a}}`,s)}return i}(t,r,i),s=!1,a=EJ(e,n);if(t.path){let e=EJ(t.path,n);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(a=e,s=!0):a=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let n=t.indexOf("?");if(-1!==n){let e=t.substring(0,n),s=t.substring(n+1);i+=e,s&&(r.search=r.search?`${r.search}&${s}`:s)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(a,e)}let{queryParams:o,sequenceParams:A}=function(e,t,r){let i=new Map,n=new Set;if(e.queryParameters?.length)for(let s of e.queryParameters){"Sequence"===s.mapper.type.name&&s.mapper.serializedName&&n.add(s.mapper.serializedName);let a=ET(t,s,r);if(null!=a||s.mapper.required){a=e.serializer.serialize(s.mapper,a,Ez(s));let t=s.collectionFormat?E_[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(e=>null==e?"":e)),"Multi"===s.collectionFormat&&0===a.length)continue;Array.isArray(a)&&("SSV"===s.collectionFormat||"TSV"===s.collectionFormat)&&(a=a.join(t)),s.skipEncoding||(a=Array.isArray(a)?a.map(e=>encodeURIComponent(e)):encodeURIComponent(a)),Array.isArray(a)&&("CSV"===s.collectionFormat||"Pipes"===s.collectionFormat)&&(a=a.join(t)),i.set(s.mapper.serializedName||Ez(s),a)}}return{queryParams:i,sequenceParams:n}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let n=new URL(e),s=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),n=t.get(e);n?Array.isArray(n)?n.push(i):t.set(e,[n,i]):t.set(e,i)}return t}(n.search);for(let[e,n]of t){let t=s.get(e);if(Array.isArray(t))if(Array.isArray(n)){t.push(...n);let r=new Set(t);s.set(e,Array.from(r))}else t.push(n);else t?(Array.isArray(n)?n.unshift(t):r.has(e)&&s.set(e,[t,n]),i||s.set(e,n)):s.set(e,n)}let a=[];for(let[e,t]of s)if("string"==typeof t)a.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)a.push(`${e}=${r}`);else a.push(`${e}=${t}`);return n.search=a.length?`?${a.join("&")}`:"",n.toString()}(a,o,A,s)}(r,t,e,this)});i.method=t.httpMethod;let n=EP(i);n.operationSpec=t,n.operationArguments=e;let s=t.contentType||this._requestContentType;s&&t.requestBody&&i.headers.set("Content-Type",s);let a=e.options;if(a){let e=a.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(n.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),a.abortSignal&&(i.abortSignal=a.abortSignal),a.tracingOptions&&(i.tracingOptions=a.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===EF&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=EQ(e,t.responses[e.status]);return a?.onResponse&&a.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=EQ(r,t.responses[e.statusCode]||t.responses.default);e.details=i,a?.onResponse&&a.onResponse(r,i,e)}throw e}}}let EK="authorization",E$=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,n=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),s=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,n),a=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(n);if(!a)return!1;let o=await e.getAccessToken(s,{...r,tenantId:a});return!!o&&(e.request.headers.set(EK,`${o.tokenType??"Bearer"} ${o.token}`),!0)}return!1},EX=Symbol("Original PipelineRequest"),EZ=Symbol.for("@azure/core-client original request"),E0=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function E1(e,t={}){let r=e[EX],i=It(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new Ii({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[EZ]=t.originalRequest),r}}function E2(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:E3(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,n,s)=>n===EX?e:"clone"===n?()=>E2(E1(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,n,s),set:(t,r,i,n)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&E0.has(r)&&(e[r]=i),Reflect.set(t,r,i,n))}):i}function E3(e){return new E4(e.toJSON({preserveCase:!0}))}function E5(e){return e.toLowerCase()}class E4{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[E5(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[E5(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[E5(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[E5(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[E5(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new E4(e)}}let E8=Symbol("Original FullOperationResponse");function E9(e,t){let r=E2(e.request),i=E3(e.headers);return t?.createProxy?new Proxy(e,{get:(t,n,s)=>"headers"===n?i:"request"===n?r:n===E8?e:Reflect.get(t,n,s),set:(e,t,n,s)=>("headers"===t?i=n:"request"===t&&(r=n),Reflect.set(e,t,n,s))}):{...e,request:r,headers:i}}function E6(e){let t=e[E8],r=It(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:E1(e.request)}}class E7 extends Ej{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===EC)||this.pipeline.addPolicy({name:EC,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:IY})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,n){r=e,i&&i(e,t,n)}};let n=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(n,"_response",{value:E9(r)}),n}}(eu=ex||(ex={}))[eu.ERROR=1]="ERROR",eu[eu.INFO=3]="INFO",eu[eu.OFF=0]="OFF",eu[eu.WARNING=2]="WARNING";let Be={log(e,t){},shouldLog:e=>!1};class Bt{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},n=null,s=e,a=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(a&&(s=a[1]+a[3],a[2])){let e=a[2].slice(1,-1);e&&(n=e)}let o=s;if(s.includes("::")){let r=s.indexOf("::");if(t=s.substring(0,r).trim(),o=s.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(o.includes(":")){let e=o.lastIndexOf(":"),t=o.substring(0,e).trim(),i=o.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,A=i):r=o}else r=o;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),n)if(n.includes("=")){let e=n.indexOf("=");i.attrName=n.substring(0,e).trim(),i.attrValue=n.substring(e+1).trim()}else i.attrName=n.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=A}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class Br{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class Bi{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Br(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length,s=this.siblingStacks[n];s||(s={counts:new Map,total:0},this.siblingStacks[n]=s);let a=r?`${r}:${e}`:e,o=s.counts.get(a)||0,A=s.total;s.counts.set(a,o+1),s.total++;let l={tag:e,position:A,counter:o};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==i?i.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],n=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,n=!0;break}if(!n)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function Bn(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function Bs(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function Ba(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let Bo=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",BA=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",Bl=(e,t,r="")=>{let i=e.replace(":",""),n=t.replace(":",""),s=`[${i}][${n}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${s}$`,r),qName:RegExp(`^${s}(?::${s})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},Bc=Bl(Bo,Bo+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),Bd=Bl(BA,BA+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),Bu=":A-Za-z_",Bg=Bl(Bu,Bu+"\\-\\.\\d"),Bh=(e="1.0",t=!1)=>t?Bg:"1.1"===e?Bd:Bc,Bp=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>Bh(t,r).qName.test(e),Bm=["name","ncName","qName","nmToken","nmTokens"],Bf=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!Bm.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${Bm.join(", ")}`);let n=Bh(t,r)[e],s=new Map,a=e=>{let t=s.get(e);if(void 0!==t)return t;let r=n.test(e);return s.size<i&&s.set(e,r),r};return a.reset=()=>{s=new Map},a};function BC(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function By(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function BI(e,t,r,i,n){let s="";if(e&&!t.ignoreAttributes)for(let a in e){let o;if(!Object.prototype.hasOwnProperty.call(e,a))continue;let A=a.substr(t.attributeNamePrefix.length),l=r?A:BC(A,!0,t,i,n);!0===(o=r?e[a]:BE(o=t.attributeValueProcessor(a,e[a]),t))&&t.suppressBooleanAttributes?s+=` ${l}`:s+=` ${l}="${Ba(o)}"`}return s}function BE(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let BB={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function BQ(e){if(this.options=Object.assign({},BB,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new Bt(t)):t instanceof Bt&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Bw}this.processTextOrObjNode=BN,this.options.format?(this.indentate=BS,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Bb(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function BN(e,t,r,i,n){let s=this.extractAttributes(e);if(i.push(t,s),this.checkStopNode(i)){let n=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(n,t,s,r)}let a=this.j2x(e,r+1,i,n);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,a.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,a.attrStr,r,i):this.buildObjectNode(a.val,t,a.attrStr,r)}function BS(e){return this.options.indentBy.repeat(e)}function Bw(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}BQ.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new Bt(r)):r instanceof Bt&&i.push(r)}let n=Bf("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===By(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,n,s,a){let o="",A=!1;if(r.maxNestedTags&&n.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return BE(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],u=By(d);if(void 0===u)continue;let g=u===r.textNodeName||u===r.cdataPropName||u===r.commentPropName||"?"===u[0]?u:BC(u,!1,r,n,a),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n.startsWith(t.attributeNamePrefix)?n.substr(t.attributeNamePrefix.length):n]=Ba(e[n]),i=!0);return i?r:null}(d[":@"],r);n.push(g,h);let p=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(n,s);if(g===r.textNodeName){let e=d[u];p||(e=BE(e=r.tagValueProcessor(g,e),r)),A&&(o+=i),o+=e,A=!1,n.pop();continue}if(g===r.cdataPropName){A&&(o+=i);let e=Bs(d[u][0][r.textNodeName]);o+=`<![CDATA[${e}]]>`,A=!1,n.pop();continue}if(g===r.commentPropName){let e=Bn(d[u][0][r.textNodeName]);o+=i+`<!--${e}-->`,A=!0,n.pop();continue}else if("?"===g[0]){let e=BI(d[":@"],r,p,n,a);o+=("?xml"===g?"":i)+`<${g}${e}?>`,A=!0,n.pop();continue}let m=i;""!==m&&(m+=r.indentBy);let f=BI(d[":@"],r,p,n,a),C=i+`<${g}${f}`;c=p?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let n=0;n<t.length;n++){let s=t[n],a=By(s);if(a===r.textNodeName)i+=s[a];else if(a===r.cdataPropName)i+=s[a][0][r.textNodeName];else if(a===r.commentPropName)i+=s[a][0][r.textNodeName];else if(a&&"?"===a[0])continue;else if(a){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=e[i];!0===n&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${Ba(n)}"`}return r}(s[":@"],r),n=e(s[a],r);n&&0!==n.length?i+=`<${a}${t}>${n}</${a}>`:i+=`<${a}${t}/>`}}return i}(d[u],r):e(d[u],r,m,n,s,a),-1!==r.unpairedTags.indexOf(g)?r.suppressUnpairedNode?o+=C+">":o+=C+"/>":(!c||0===c.length)&&r.suppressEmptyNode?o+=C+"/>":c&&c.endsWith(">")?o+=C+`>${c}${i}</${g}>`:(o+=C+">",c&&""!==i&&(c.includes("/>")||c.includes("</"))?o+=i+r.indentBy+c+i:o+=c,o+=`</${g}>`),A=!0,n.pop()}return o}(e,t,r,new Bi,i,n)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new Bi,r=Bf("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},BQ.prototype.j2x=function(e,t,r,i){let n="",s="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,o=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:Bb(A,!1,this.options,r,i);if(void 0===e[A])this.isAttribute(A)&&(s+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?s+="":"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)s+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,a)){let t=Bb(c,!0,this.options,r,i);n+=this.buildAttrPairStr(t,""+e[A],o)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);s+=this.replaceEntitiesValue(t)}else{r.push(l);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[A];""===r?s+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:s+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else s+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let n=e[A].length,a="",o="";for(let c=0;c<n;c++){let n=e[A][c];if(void 0===n);else if(null===n)"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){r.push(l);let e=this.j2x(n,t+1,r,i);r.pop(),a+=e.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(o+=e.attrStr)}else a+=this.processTextOrObjNode(n,l,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,n);a+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+n;""===e?a+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:a+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else a+=this.buildTextValNode(n,l,"",t,r)}}this.options.oneListGroup&&(a=this.buildObjectNode(a,l,o,t)),s+=a}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),s=t.length;for(let a=0;a<s;a++){let s=Bb(t[a],!0,this.options,r,i);n+=this.buildAttrPairStr(s,""+e[A][t[a]],o)}}else s+=this.processTextOrObjNode(e[A],l,t,r,i)}return{attrStr:n,val:s}},BQ.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+Ba(t)+'"'},BQ.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=Ba(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=this.isAttribute(i);n&&(t[n]=Ba(e[i]),r=!0)}return r?t:null},BQ.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${n}/>`:t+=`<${r}${n}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),n=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${n}/>`:t+=`<${r}${n}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},BQ.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,n=r[e];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+Ba(n)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let n=e[r];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+Ba(n)+'"'}}return t},BQ.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n="</"+t+this.tagEndChar,s="";return("?"===t[0]&&(s="?",n=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+s+">"+e+n:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===s.length?this.indentate(i)+`<!--${Bn(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+s+this.tagEndChar+e+this.indentate(i)+n}},BQ.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},BQ.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},BQ.prototype.buildTextValNode=function(e,t,r,i,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=Bs(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=Bn(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n=this.options.tagValueProcessor(t,e);return""===(n=this.replaceEntitiesValue(n))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+n+"</"+t+this.tagEndChar}},BQ.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let Bx=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",BD=RegExp("^"+("["+Bx+"]["+Bx)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function BR(e,t){let r=[],i=t.exec(e);for(;i;){let n=[];n.startIndex=t.lastIndex-i[0].length;let s=i.length;for(let e=0;e<s;e++)n.push(i[e]);r.push(n),i=t.exec(e)}return r}let Bv=function(e){return null!=BD.exec(e)},Bk=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],BM=["__proto__","constructor","prototype"],BF={allowBooleanAttributes:!1,unpairedTags:[]};function BU(e,t){t=Object.assign({},BF,t);let r=[],i=!1,n=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let s=0;s<e.length;s++)if("<"===e[s]&&"?"===e[s+1]){if(s+=2,(s=BL(e,s)).err)return s}else if("<"===e[s]){let a=s;if("!"===e[++s]){s=BO(e,s);continue}{let o=!1;"/"===e[s]&&(o=!0,s++);let A="";for(;s<e.length&&">"!==e[s]&&" "!==e[s]&&" "!==e[s]&&"\n"!==e[s]&&"\r"!==e[s];s++)A+=e[s];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),s--),!Bv(A))return BY("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",BG(e,s));let l=function(e,t){let r="",i="",n=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){n=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:n}}(e,s);if(!1===l)return BY("InvalidAttr","Attributes for '"+A+"' have open quote.",BG(e,s));let c=l.value;if(s=l.index,"/"===c[c.length-1]){let r=s-c.length,n=BH(c=c.substring(0,c.length-1),t);if(!0!==n)return BY(n.err.code,n.err.msg,BG(e,r+n.err.line));i=!0}else if(o)if(!l.tagClosed)return BY("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",BG(e,s));else{if(c.trim().length>0)return BY("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",BG(e,a));if(0===r.length)return BY("InvalidTag","Closing tag '"+A+"' has not been opened.",BG(e,a));let t=r.pop();if(A!==t.tagName){let r=BG(e,t.tagStartPos);return BY("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",BG(e,a))}0==r.length&&(n=!0)}else{let o=BH(c,t);if(!0!==o)return BY(o.err.code,o.err.msg,BG(e,s-c.length+o.err.line));if(!0===n)return BY("InvalidXml","Multiple possible root nodes found.",BG(e,s));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:a}),i=!0}for(s++;s<e.length;s++)if("<"===e[s])if("!"===e[s+1]){s=BO(e,++s);continue}else if("?"===e[s+1]){if((s=BL(e,++s)).err)return s}else break;else if("&"===e[s]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,s);if(-1==t)return BY("InvalidChar","char '&' is not expected.",BG(e,s));s=t}else if(!0===n&&!BT(e[s]))return BY("InvalidXml","Extra text at the end",BG(e,s));"<"===e[s]&&s--}}else{if(BT(e[s]))continue;return BY("InvalidChar","char '"+e[s]+"' is not expected.",BG(e,s))}return i?1==r.length?BY("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",BG(e,r[0].tagStartPos)):!(r.length>0)||BY("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):BY("InvalidXml","Start tag expected.",1)}function BT(e){return" "===e||" "===e||"\n"===e||"\r"===e}function BL(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return BY("InvalidXml","XML declaration allowed only at the start of the document.",BG(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function BO(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let BP=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function BH(e,t){let r=BR(e,BP),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return BY("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",Bq(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return BY("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",Bq(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return BY("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",Bq(r[e]));let n=r[e][2];if(!Bv(n))return BY("InvalidAttr","Attribute '"+n+"' is an invalid name.",Bq(r[e]));if(Object.prototype.hasOwnProperty.call(i,n))return BY("InvalidAttr","Attribute '"+n+"' is repeated.",Bq(r[e]));i[n]=1}return!0}function BY(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function BG(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function Bq(e){return e.startIndex+e[1].length}let Bz=e=>Bk.includes(e)?"__"+e:e,BV={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Bz},B_=function(e){let t=Object.assign({},BV,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(Bk.some(e=>r===e.toLowerCase())||BM.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=Bz),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};r="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class BJ{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][r]={startIndex:t})}static getMetaDataSymbol(){return r}}class BW{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let n=1,s=!1,a=!1;for(;t<e.length;t++)if("<"!==e[t]||a)if(">"===e[t]){if(a?"-"===e[t-1]&&"-"===e[t-2]&&(a=!1,n--):n--,0===n)break}else"["===e[t]?s=!0:e[t];else{if(s&&BK(e,"!ENTITY",t)){let n,s;if(t+=7,[n,s,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===s.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[n]=s,i++}}else if(s&&BK(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(s&&BK(e,"!ATTLIST",t))t+=8;else if(s&&BK(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(BK(e,"!--",t))a=!0;else throw Error("Invalid DOCTYPE");n++}if(0!==n)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=Bj(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(B$(i,{xmlVersion:this.xmlVersion}),t=Bj(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let n="";if([t,n]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&n.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${n.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,n,--t]}readNotationExp(e,t){let r=t=Bj(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||B$(i,{xmlVersion:this.xmlVersion}),t=Bj(e,t);let n=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==n&&"PUBLIC"!==n)throw Error(`Expected SYSTEM or PUBLIC, found "${n}"`);t+=n.length,t=Bj(e,t);let s=null,a=null;if("PUBLIC"===n)[t,s]=this.readIdentifierVal(e,t,"publicIdentifier"),t=Bj(e,t),('"'===e[t]||"'"===e[t])&&([t,a]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===n&&([t,a]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!a))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:s,systemIdentifier:a,index:--t}}readIdentifierVal(e,t,r){let i="",n=e[t];if('"'!==n&&"'"!==n)throw Error(`Expected quoted string, found "${n}"`);let s=++t;for(;t<e.length&&e[t]!==n;)t++;if(i=e.substring(s,t),e[t]!==n)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=Bj(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!Bp(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=Bj(e,t);let n="";if("E"===e[t]&&BK(e,"MPTY",t))t+=4;else if("A"===e[t]&&BK(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(n=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:n.trim(),index:t}}readAttlistExp(e,t){let r=t=Bj(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(B$(i,{xmlVersion:this.xmlVersion}),r=t=Bj(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);if(!B$(n,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${n}"`);t=Bj(e,t);let s="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(s="NOTATION",t+=8,t=Bj(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let n=e.substring(i,t);if(!B$(n=n.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${n}"`);r.push(n),"|"===e[t]&&(t=Bj(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,s+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(s+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(s.toUpperCase()))throw Error(`Invalid attribute type: "${s}"`)}t=Bj(e,t);let a="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(a="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(a="#IMPLIED",t+=7):[t,a]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:n,attributeType:s,defaultValue:a,index:t}}}let Bj=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function BK(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function B$(e,t){if(Bp(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let BX=new Map,BZ=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?BZ[r-1632]=t:BX.set(r,t)}let B0=new Set([8722,65293,65123]),B1=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let n=e.charCodeAt(i);if((!(n>=48)||!(n<=57))&&45!==n){if(n<1632){if(B0.has(n)){r=i;break}continue}if(n>=55296&&n<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(n-55296<<10)+(t-56320);if(BX.has(e)){r=i;break}}}continue}if(255!==BZ[n-1632]||B0.has(n)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let n=r;n<t;n++){let r=e.charCodeAt(n);if(r>=48&&r<=57||45===r){i.push(e[n]);continue}if(r<1632){i.push(B0.has(r)?"-":e[n]);continue}if(r>=55296&&r<=56319){if(n+1<t){let t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),s=BX.get(e);if(void 0!==s){i.push(String.fromCharCode(s+48)),n++;continue}}}i.push(e[n]);continue}if(B0.has(r)){i.push("-");continue}let s=BZ[r-1632];i.push(255!==s?String.fromCharCode(s+48):e[n])}return i.join("")},B2=/^[-+]?0x[a-fA-F0-9]+$/,B3=/^0b[01]+$/,B5=/^0o[0-7]+$/,B4=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,B8={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},B9=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function B6(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class B7{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,n=this._byDepthAndTag.get(i);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let s=this._wildcardByDepth.get(t);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let a=this._deepByTerminalTag.get(r);if(a){for(let t=0;t<a.length;t++)if(e.matches(a[t]))return a[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let Qe={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},Qt={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Qr={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},Qi=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),Qn=new Set("!?\\\\/[]$%{}^&*()<>|+");function Qs(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(Qn.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function Qa(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let Qo="external",QA="base",Ql=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Qc=new Set([9,10,13]);class Qd{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??Qo)&&t!==Qo?"all"===t?["all"]:t===QA?[QA]:Array.isArray(t)?t:[Qo]:[Qo]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Qa(Qt,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:Ql.allow,nullLevel:Ql.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:Ql[e.onNCR]??Ql.allow,nullLevel:Math.max(Ql[e.nullNCR]??Ql.remove,Ql.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let n=e(t,r);if(n===Qi.BLOCK)return!1;if(n===Qi.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))Qs(t);if(!this._onExternalEntity){this._externalMap=Qa(e);return}let t=Qa(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){Qs(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=Qa(e);return}let t=Qa(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,n=0,s=this._maxTotalExpansions>0,a=this._maxExpandedLength>0,o=s||a;for(;n<r;){let A,l;if(38!==e.charCodeAt(n)){n++;continue}let c=n+1;for(;c<r&&59!==e.charCodeAt(c)&&c-n<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){n++;continue}let d=e.slice(n+1,c);if(0===d.length){n++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=Qo);else if(this._leaveSet.has(d)){n++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){n++;continue}A=e,l=QA}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){n++;continue}if(n>i&&t.push(e.slice(i,n)),t.push(A),n=i=c+1,o&&this._tierCounts(l)){if(s&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(a){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:Qo}:e in this._externalMap?{value:this._externalMap[e],tier:Qo}:e in this._baseMap?{value:this._baseMap[e],tier:QA}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!Qc.has(e)?Ql.remove:-1}_applyNCRAction(e,t,r){switch(e){case Ql.allow:return String.fromCodePoint(r);case Ql.remove:return"";case Ql.leave:return;case Ql.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<Ql.remove)return;let n=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(n,e,t)}}let Qu=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],Qg=[...Qu,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],Qh=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],Qp=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],Qm=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],Qf=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],QC=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],Qy="[\"'\\s]*:",QI=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${Qy}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${Qy}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${Qy}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${Qy}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${Qy}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${Qy}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${Qy}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${Qy}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${Qy}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${Qy}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${Qy}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${Qy}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${Qy}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],QE=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];Qh.label="HTML",Qp.label="XML",Qm.label="SVG",Qu.label="SQL",Qg.label="SQL-STRICT",Qf.label="SHELL",QC.label="REDOS",QI.label="NOSQL",QE.label="LOG",Object.freeze({HTML:Qh,XML:Qp,SVG:Qm,SQL:Qu,"SQL-STRICT":Qg,SHELL:Qf,REDOS:QC,NOSQL:QI,LOG:QE});class QB{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Qw,this.parseTextData=QQ,this.resolveNameSpace=Qb,this.buildAttributesMap=QS,this.isItStopNode=Qv,this.replaceEntitiesValue=QD,this.readStopNodeData=QF,this.saveTextToParentTag=QR,this.addChild=Qx,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...Qt};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...Qr,...Qe}),this.entityDecoder=new Qd({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[Qh,Qp])?Qi.ALLOW:Qi.BLOCK})),this.matcher=new Bi,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new B7;let n=this.options.stopNodes;if(n&&n.length>0){for(let e=0;e<n.length;e++){let t=n[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new Bt(t)):t instanceof Bt&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function QQ(e,t,r,i,n,s,a){let o=this.options;if(void 0!==e&&(o.trimValues&&!i&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e,t,r));let i=o.jPath?r.toString():r,A=o.tagValueProcessor(t,e,i,n,s);return null==A?e:typeof A!=typeof e||A!==e?A:o.trimValues||e.trim()===e?QU(e,o.parseTagValue,o.numberParseOptions):e}}function Qb(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let QN=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function QS(e,t,r,i=!1){let n=this.options;if(!0===i||!0!==n.ignoreAttributes&&"string"==typeof e){let i=BR(e,QN),s=i.length,a={},o=Array(s),A=!1,l={};for(let e=0;e<s;e++){let t=this.resolveNameSpace(i[e][1]),s=i[e][4];if(t.length&&void 0!==s){let i=s;n.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),o[e]=i,l[t]=i,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=n.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<s;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=n.attributeNamePrefix+t;if(t.length)if(n.transformAttributeName&&(r=n.transformAttributeName(r)),r=QL(r,n),void 0!==i[e][4]){let i=o[e],s=n.attributeValueProcessor(t,i,c);null==s?a[r]=i:typeof s!=typeof i||s!==i?a[r]=s:a[r]=QU(i,n.parseAttributeValue,n.numberParseOptions),d=!0}else n.allowBooleanAttributes&&(a[r]=!0,d=!0)}if(!d)return;if(n.attributesGroupName&&!n.preserveOrder){let e={};return e[n.attributesGroupName]=a,e}return a}}let Qw=function(e){e=e.replace(/\r\n?/g,"\n");let t=new BJ("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n=this.options,s=new BW(n.processEntities),a=e.length;for(let o=0;o<a;o++)if("<"===e[o]){let A=e.charCodeAt(o+1);if(47===A){let t=Qk(e,">",o,"Closing Tag is not closed."),s=e.substring(o+2,t).trim();if(n.removeNSPrefix){let e=s.indexOf(":");-1!==e&&(s=s.substr(e+1))}s=QT(n.transformTagName,s,"",n).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let a=this.matcher.getCurrentTag();if(s&&n.unpairedTagsSet.has(s))throw Error(`Unpaired tag can not be used as closing tag: </${s}>`);a&&n.unpairedTagsSet.has(a)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",o=t}else if(63===A){let t=QM(e,o,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let a=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(a){let e=a[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),s.setXmlVersion(Number(e)||1)}if(n.ignoreDeclaration&&"?xml"===t.tagName||n.ignorePiTags);else{let e=new BJ(t.tagName);e.add(n.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==n.ignoreAttributes&&(e[":@"]=a),this.addChild(r,e,this.readonlyMatcher,o)}o=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(o+2)&&45===e.charCodeAt(o+3)){let t=Qk(e,"--\x3e",o+4,"Comment is not closed.");if(n.commentPropName){let s=e.substring(o+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:s}])}o=t}else if(33===A&&68===e.charCodeAt(o+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=s.readDocType(e,o);this.entityDecoder.addInputEntities(t.entities),o=t.i}else if(33===A&&91===e.charCodeAt(o+2)){let t=Qk(e,"]]>",o,"CDATA is not closed.")-2,s=e.substring(o+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let a=this.parseTextData(s,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==a&&(a=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:s}]):r.add(n.textNodeName,a),o=t+2}else{let s,A=QM(e,o,n.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,o-50),Math.min(a,o+50));throw Error(`readTagExp returned undefined at position ${o}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,u=A.attrExpPresent,g=A.closeIndex;if({tagName:l,tagExp:d}=QT(n.transformTagName,l,d,n),n.strictReservedNames&&(l===n.commentPropName||l===n.cdataPropName||l===n.textNodeName||l===n.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&n.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let p=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(p=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),u=l!==d);let m=null;s=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},s),l!==d&&u&&(m=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(m,n),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let f=o;if(this.isCurrentNodeStopNode){let t="";if(p)o=A.closeIndex;else if(n.unpairedTagsSet.has(l))o=A.closeIndex;else{let r=this.readStopNodeData(e,c,g+1);if(!r)throw Error(`Unexpected end of ${c}`);o=r.i,t=r.tagContent}let i=new BJ(l);m&&(i[":@"]=m),i.add(n.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,f)}else{if(p){({tagName:l,tagExp:d}=QT(n.transformTagName,l,d,n));let e=new BJ(l);m&&(e[":@"]=m),this.addChild(r,e,this.readonlyMatcher,f),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(l)){let e=new BJ(l);m&&(e[":@"]=m),this.addChild(r,e,this.readonlyMatcher,f),this.matcher.pop(),this.isCurrentNodeStopNode=!1,o=A.closeIndex;continue}else{let e=new BJ(l);if(this.tagsNodeStack.length>n.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),m&&(e[":@"]=m),this.addChild(r,e,this.readonlyMatcher,f),r=e}i="",o=g}}}else i+=e[o];return t.child};function Qx(e,t,r,i){this.options.captureMetaData||(i=void 0);let n=this.options.jPath?r.toString():r,s=this.options.updateTag(t.tagname,n,t[":@"]);!1===s||("string"==typeof s&&(t.tagname=s),e.addChild(t,i))}function QD(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,n)))return e}if(i.tagFilter){let n=this.options.jPath?r.toString():r;if(!i.tagFilter(t,n))return e}return this.entityDecoder.decode(e)}function QR(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function Qv(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Qk(e,t,r,i){let n=e.indexOf(t,r);if(-1!==n)return n+t.length-1;throw Error(i)}function QM(e,t,r,i=">"){let n=function(e,t,r=">"){let i=0,n=e.length,s=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,o="",A=t;for(let r=t;r<n;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===s){if(-1===a)return{data:o+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===a)return{data:o+=e.substring(A,r),index:r}}else 9!==t||i||(o+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,i);if(!n)return;let s=n.data,a=n.index,o=s.search(/\s/),A=s,l=!0;-1!==o&&(A=s.substring(0,o),s=s.substring(o+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==n.data.substr(e+1))}return{tagName:A,tagExp:s,closeIndex:a,attrExpPresent:l,rawTagName:c}}function QF(e,t,r){let i=r,n=1,s=e.length;for(;r<s;r++)if("<"===e[r]){let s=e.charCodeAt(r+1);if(47===s){let s=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,s).trim()===t&&0==--n)return{tagContent:e.substring(i,r),i:s};r=s}else if(63===s)r=Qk(e,"?>",r+1,"StopNode is not closed.");else if(33===s&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=Qk(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===s&&91===e.charCodeAt(r+2))r=Qk(e,"]]>",r,"StopNode is not closed.")-2;else{let i=QM(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&n++,r=i.closeIndex)}}}function QU(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},B8,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=B1(r)))return 0;if(t.hex&&B2.test(r))return B6(r,16);{if(t.binary&&B3.test(r))return B6(r,2);if(t.octal&&B5.test(r))return B6(r,8);if(!isFinite(r)){var i,n=e,s=Number(r),a=t;switch(a.infinity.toLowerCase()){case"null":return null;case"infinity":return s;case"string":return s===1/0?"Infinity":"-Infinity";default:return n}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(B9);if(!i)return e;{let n=i[1]||"",s=-1===i[3].indexOf("e")?"E":"e",a=i[2],o=n?e[a.length+1]===s:e[a.length]===s;if(a.length>1&&o)return e;if(1===a.length&&(i[3].startsWith(`.${s}`)||i[3][0]===s))return Number(t);if(!(a.length>0))return Number(t);else if(r.leadingZeros&&!o)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let o=B4.exec(r);if(!o)return e;{let n=o[1]||"",s=o[2],a=((i=o[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),A=n?"."===e[s.length+1]:"."===e[s.length];if(!t.leadingZeros&&(s.length>1||1===s.length&&!A))return e;{let i=Number(r),o=String(i);if(0===i)return i;if(-1!==o.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===o)return i;else if(o===a)return i;else if(o===`${n}${a}`)return i;else return e;let A=s?a:r;return s?A===o||n+A===o?i:e:A===o||A===n+o?i:e}}}}(e,r)}return void 0!==e?e:""}function QT(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=QL(t,i),tagExp:r}}function QL(e,t){if(BM.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return Bk.includes(e)?t.onDangerousProperty(e):e}let QO=BJ.getMetaDataSymbol();class QP{constructor(e){this.externalEntities={},this.options=B_(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=BU(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new QB(this.options,this.externalEntities),n=i.parseXml(e);return this.options.preserveOrder||void 0===n?n:(r=this.options,function e(t,r,i,n){let s,a={};for(let o=0;o<t.length;o++){let A=t[o],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(A[":@"]||{},r.attributeNamePrefix);i.push(l,e)}if(l===r.textNodeName)void 0===s?s=A[l]:s+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,i,n),s=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,i){if(t){let n=Object.keys(t),s=n.length;for(let a=0;a<s;a++){let s=n[a],o=s.startsWith(i.attributeNamePrefix)?s.substring(i.attributeNamePrefix.length):s,A=i.jPath?r.toString()+"."+o:r;i.isArray(s,A,!0,!0)?e[s]=[t[s]]:e[s]=t[s]}}}(t,A[":@"],n,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[QO]&&"object"==typeof t&&null!==t&&(t[QO]=A[QO]),void 0!==a[l]&&Object.prototype.hasOwnProperty.call(a,l))Array.isArray(a[l])||(a[l]=[a[l]]),a[l].push(t);else{let e=r.jPath?n.toString():n;r.isArray(l,e,s)?a[l]=[t]:a[l]=t}void 0!==l&&l!==r.textNodeName&&i.pop()}}return"string"==typeof s?s.length>0&&(a[r.textNodeName]=s):void 0!==s&&(a[r.textNodeName]=s),a}(n,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return BJ.getMetaDataSymbol()}}function QH(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function QY(e,t={}){let r=function(e={}){return{...QH(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new BQ(r),n={[r.rootNodeName]:e},s=i.build(n);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${s}`.replace(/\n/g,"")}async function QG(e,t={}){if(!e)throw Error("Document is empty");let r=BU(e);if(!0!==r)throw r;let i=new QP(function(e={}){return{...QH(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let Qq=I0("storage-blob");var Qz=A(4434);class QV extends m4.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,n=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,s=Math.min(n,i);if(s>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+s;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),s===n?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=s,r+=s}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let Q_=A(4573).constants.MAX_LENGTH;class QJ{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/Q_);for(let t=0;t<i;t++){let r=t===i-1?e%Q_:Q_;0===r&&(r=Q_),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,n=0,s=0,a=0;for(;a<this._size;){let t=e[r],o=this.buffers[i],A=t.copy(o,n,s);a+=A,s+=A,n+=A,s===t.length&&(r++,s=0),n===o.length&&(i++,n=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(s))}getReadableStream(){return new QV(this.buffers,this.size)}}class QW{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new Qz.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,n,s){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(n<=0)throw RangeError(`concurrency must be larger than 0, current is ${n}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=n,this.encoding=s}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new QJ(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let Qj=s("node:module");"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(i=(0,Qj.createRequire)(import.meta.url),n=(0,f2.fileURLToPath)(import.meta.url),a=(0,fB.dirname)(n));var QK=(eg="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==n&&(eg=eg||n),function(e){var t,r,n,s,o,A,l,c,d,u,g=void 0!==(e=e||{})?e:{};g.ready=new Promise(function(e,t){n=e,s=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(g.ready,e)||Object.defineProperty(g.ready,e,{get:()=>q("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>q("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var h=Object.assign({},g),p=[],m="object"==typeof window,f="function"==typeof importScripts,C="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,y=!m&&!C&&!f;if(g.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var I="";if(C){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var E=i("fs"),B=i("path");I=f?B.dirname(I)+"/":a+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),p=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof W))throw e}),process.on("unhandledRejection",function(e){throw e}),g.inspect=function(){return"[Emscripten Module object]"}}else if(y){if("object"==typeof process&&"function"==typeof i||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?p=scriptArgs:"u">typeof arguments&&(p=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(m||f){if(f?I=self.location.href:"u">typeof document&&document.currentScript&&(I=document.currentScript.src),eg&&(I=eg),I=0!==I.indexOf("blob:")?I.substr(0,I.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var Q=g.print||console.log.bind(console),b=g.printErr||console.warn.bind(console);function N(e,t){Object.getOwnPropertyDescriptor(g,e)||Object.defineProperty(g,e,{configurable:!0,get:function(){q("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function S(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(g,h),h=null,Object.getOwnPropertyDescriptor(g,t="fetchSettings")&&q("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),g.arguments&&(p=g.arguments),N("arguments","arguments_"),g.thisProgram&&g.thisProgram,N("thisProgram","thisProgram"),g.quit&&g.quit,N("quit","quit_"),x(void 0===g.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),x(void 0===g.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),x(void 0===g.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),x(void 0===g.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),x(void 0===g.read,"Module.read option was removed (modify read_ in JS)"),x(void 0===g.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),x(void 0===g.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),x(void 0===g.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),x(void 0===g.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),N("read","read_"),N("readAsync","readAsync"),N("readBinary","readBinary"),N("setWindowTitle","setWindowTitle"),x(!y,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),g.wasmBinary&&g.wasmBinary,N("wasmBinary","wasmBinary"),g.noExitRuntime,N("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&q("no native wasm support detected");var w=!1;function x(e,t){e||q("Assertion failed"+(t?": "+t:""))}var D="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(e){A=e,g.HEAP8=new Int8Array(e),g.HEAP16=new Int16Array(e),g.HEAP32=new Int32Array(e),g.HEAPU8=l=new Uint8Array(e),g.HEAPU16=new Uint16Array(e),g.HEAPU32=c=new Uint32Array(e),g.HEAPF32=new Float32Array(e),g.HEAPF64=new Float64Array(e)}g.STACK_SIZE&&x(5242880===g.STACK_SIZE,"the stack size can no longer be determined at runtime");var v=g.INITIAL_MEMORY||0x1000000;function k(){if(!w){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&q("Stack overflow! Stack cookie has been overwritten at "+K(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+K(r)+" "+K(t)),0x63736d65!==c[0]&&q("Runtime error: The application has corrupted its heap memory area (address zero)!")}}N("INITIAL_MEMORY","INITIAL_MEMORY"),x(v>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+v+"! (STACK_SIZE=5242880)"),x("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),x(!g.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),x(0x1000000==v,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var M=new Int16Array(1),F=new Int8Array(M.buffer);if(M[0]=25459,115!==F[0]||99!==F[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var U=[],T=[],L=[],O=!1;x(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var P=0,H=null,Y=null,G={};function q(e){g.onAbort&&g.onAbort(e),b(e="Aborted("+e+")"),w=!0;var t=new WebAssembly.RuntimeError(e);throw s(t),t}var z={error:function(){q("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){z.error()},createDataFile:function(){z.error()},createPreloadedFile:function(){z.error()},createLazyFile:function(){z.error()},open:function(){z.error()},mkdev:function(){z.error()},registerDevice:function(){z.error()},analyzePath:function(){z.error()},loadFilesFromDB:function(){z.error()},ErrnoError:function(){z.error()}};function V(e){return e.startsWith("file://")}function _(e,t){return function(){var r=t;return t||(r=g.asm),x(O,"native function `"+e+"` called before runtime initialization"),r[e]||x(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}g.FS_createDataFile=z.createDataFile,g.FS_createPreloadedFile=z.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=g.locateFile?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AIAMoAhAiAkUNAiADQRBqIQQLA0AgBCEFIAIiBkEUaiIEKAIAIgINACAGQRBqIQQgBigCECICDQALIAVBADYCAAwCCyADIAJBfnE2AgQgASAAQQFyNgIEIAEgAGogADYCAAwDC0EAIQYLIAdFDQACQAJAIAMgAygCHCIEQQJ0QciUwQJqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBFGooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEAIAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQAgBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBAmohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZBBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNgIMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBfyAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAAKAI8EBUQAgsVAAJAIAANAEEADwsQDyAANgIAQX8L4wIBB38jAEEgayIDJAAgA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AAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function W(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function j(e){for(;e.length>0;)e.shift()(g)}function K(e){return"0x"+e.toString(16).padStart(8,"0")}function $(e){$.shown||($.shown={}),$.shown[e]||($.shown[e]=1,C&&(e="warning: "+e),b(e))}var X=[null,[],[]],Z={abort:function(){q("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(x((e>>>=0)>t),e>0x80000000)return b("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var n=t*(1+.2/i);n=Math.min(n,e+0x6000000);var s=Math.min(0x80000000,r(Math.max(e,n),65536));if(function(e){try{return o.grow(e-A.byteLength+65535>>>16),R(o.buffer),1}catch(t){b("emscripten_realloc_buffer: Attempted to grow heap from "+A.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(s))return!0}return b("Failed to grow the heap from "+t+" bytes to "+s+" bytes, not enough memory!"),!1},fd_close:function(e){q("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,n){return 70},fd_write:function(e,t,r,i){for(var n=0,s=0;s<r;s++){var a=c[t>>2],o=c[t+4>>2];t+=8;for(var A=0;A<o;A++)!function(e,t){var r=X[e];x(r),0===t||10===t?((1===e?Q:b)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&D)return D.decode(e.subarray(t,i));for(var n="";t<i;){var s=e[t++];if(!(128&s)){n+=String.fromCharCode(s);continue}var a=63&e[t++];if((224&s)==192){n+=String.fromCharCode((31&s)<<6|a);continue}var o=63&e[t++];if((240&s)==224?s=(15&s)<<12|a<<6|o:((248&s)!=240&&$("Invalid UTF-8 leading byte "+K(s)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),s=(7&s)<<18|a<<12|o<<6|63&e[t++]),s<65536)n+=String.fromCharCode(s);else{var A=s-65536;n+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return n}(r,0)),r.length=0):r.push(t)}(e,l[a+A]);n+=o}return c[i>>2]=n,0}};!function(){var e,t,r={env:Z,wasi_snapshot_preview1:Z};function i(e,t){g.asm=e.exports,x(o=g.asm.memory,"memory not found in wasm exports"),R(o.buffer),x(g.asm.__indirect_function_table,"table not found in wasm exports"),r=g.asm.__wasm_call_ctors,T.unshift(r);var r,i="wasm-instantiate";if(P--,g.monitorRunDependencies&&g.monitorRunDependencies(P),i?(x(G[i]),delete G[i]):b("warning: run dependency removed without ID"),0==P&&(null!==H&&(clearInterval(H),H=null),Y)){var n=Y;Y=null,n()}}e="wasm-instantiate",P++,g.monitorRunDependencies&&g.monitorRunDependencies(P),e?(x(!G[e]),G[e]=1,null===H&&"u">typeof setInterval&&(H=setInterval(function(){if(w){clearInterval(H),H=null;return}var e=!1;for(var t in G)e||(e=!0,b("still waiting on run dependencies:")),b("dependency: "+t);e&&b("(end of list)")},1e4))):b("warning: run dependency added without ID");var n=g;if(g.instantiateWasm)try{return g.instantiateWasm(r,i)}catch(e){b("Module.instantiateWasm callback failed with error: "+e),s(e)}(t=function(e){x(g===n,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),n=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(J,"base64");for(var e=window.atob(J),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){b("failed to asynchronously prepare wasm: "+e),V(d)&&b("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),q(e)})).catch(s)}(),g.___wasm_call_ctors=_("__wasm_call_ctors");var ee=g._emscripten_bind_VoidPtr___destroy___0=_("emscripten_bind_VoidPtr___destroy___0"),et=g._emscripten_bind_Crc64Hash_Crc64Hash_0=_("emscripten_bind_Crc64Hash_Crc64Hash_0"),er=g._emscripten_bind_Crc64Hash_OnAppend_2=_("emscripten_bind_Crc64Hash_OnAppend_2"),ei=g._emscripten_bind_Crc64Hash_OnFinal_3=_("emscripten_bind_Crc64Hash_OnFinal_3"),en=g._emscripten_bind_Crc64Hash___destroy___0=_("emscripten_bind_Crc64Hash___destroy___0");g.___errno_location=_("__errno_location"),g._fflush=_("fflush"),g._malloc=_("malloc"),g._free=_("free");var es=g._emscripten_stack_init=function(){return(es=g._emscripten_stack_init=g.asm.emscripten_stack_init).apply(null,arguments)},ea=(g._emscripten_stack_get_free=function(){return(g._emscripten_stack_get_free=g.asm.emscripten_stack_get_free).apply(null,arguments)},g._emscripten_stack_get_base=function(){return(g._emscripten_stack_get_base=g.asm.emscripten_stack_get_base).apply(null,arguments)},g._emscripten_stack_get_end=function(){return(ea=g._emscripten_stack_get_end=g.asm.emscripten_stack_get_end).apply(null,arguments)});function eo(e){var t,r;if(e=e||p,!(P>0)){if(es(),x((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,g.preRun)for("function"==typeof g.preRun&&(g.preRun=[g.preRun]);g.preRun.length;){r=g.preRun.shift(),U.unshift(r)}j(U),P>0||(g.setStatus?(g.setStatus("Running..."),setTimeout(function(){setTimeout(function(){g.setStatus("")},1),i()},1)):i(),k())}function i(){if(!u&&(u=!0,g.calledRun=!0,!w)){if(x(!O),O=!0,k(),j(T),n(g),g.onRuntimeInitialized&&g.onRuntimeInitialized(),x(!g._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),k(),g.postRun)for("function"==typeof g.postRun&&(g.postRun=[g.postRun]);g.postRun.length;){var e;e=g.postRun.shift(),L.unshift(e)}j(L)}}}if(g.stackSave=_("stackSave"),g.stackRestore=_("stackRestore"),g.stackAlloc=_("stackAlloc"),g._emscripten_stack_get_current=function(){return(g._emscripten_stack_get_current=g.asm.emscripten_stack_get_current).apply(null,arguments)},g.dynCall_jiji=_("dynCall_jiji"),g.___start_em_js=5261488,g.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(g,e)||Object.defineProperty(g,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),q(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),$(t)}})}),Y=function e(){u||eo(),u||(Y=e)},g.preInit)for("function"==typeof g.preInit&&(g.preInit=[g.preInit]);g.preInit.length>0;)g.preInit.pop()();function eA(){}function el(e){return(e||eA).__cache__}function ec(e,t){var r=el(t),i=r[e];return i||((i=Object.create((t||eA).prototype)).ptr=e,r[e]=i)}function ed(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=et(),el(eu)[this.ptr]=this}return eo(),eA.prototype=Object.create(eA.prototype),eA.prototype.constructor=eA,eA.prototype.__class__=eA,eA.__cache__={},g.WrapperObject=eA,g.getCache=el,g.wrapPointer=ec,g.castObject=function(e,t){return ec(e.ptr,t)},g.NULL=ec(0),g.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete el(e.__class__)[e.ptr]},g.compare=function(e,t){return e.ptr===t.ptr},g.getPointer=function(e){return e.ptr},g.getClass=function(e){return e.__class__},ed.prototype=Object.create(eA.prototype),ed.prototype.constructor=ed,ed.prototype.__class__=ed,ed.__cache__={},g.VoidPtr=ed,ed.prototype.__destroy__=ed.prototype.__destroy__=function(){ee(this.ptr)},eu.prototype=Object.create(eA.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},g.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),er(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),ei(i,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){en(this.ptr)},e.ready});class Q${nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new Q$.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=QK().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=Q$.nativeInstance._malloc(t);Q$.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),Q$.nativeInstance._free(r)}final(e,t){let r=Q$.nativeInstance._malloc(t);Q$.nativeInstance.HEAPU8.set(e,r);let i=Q$.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),Q$.nativeInstance._free(r);let n=new Uint8Array(8);return n.set(Q$.nativeInstance.HEAPU8.subarray(i,i+8)),Q$.nativeInstance._free(i),n}}(eh=eD||(eD={}))[eh.StreamHeader=0]="StreamHeader",eh[eh.StreamFooter=1]="StreamFooter",eh[eh.SegmentHeader=2]="SegmentHeader",eh[eh.SegmentFooter=3]="SegmentFooter",eh[eh.SegmentContent=4]="SegmentContent",eh[eh.Completed=5]="Completed";class QX{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=eD.StreamHeader,this.segmentCrc64=new Q$,this.messageCrc64=new Q$}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===eD.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===eD.SegmentHeader&&this.handlingSegmentHeader(),this.state===eD.SegmentContent&&this.handlingSegmentContent(e),this.state===eD.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===eD.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=eD.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=eD.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=eD.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new Q$,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=eD.StreamFooter:this.state=eD.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=eD.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function QZ(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof m4&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new Q2(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new Q2(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await Q1(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new m4.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new Q2(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=m4.Readable.from(Buffer.from(e)),i=await new Q2(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=m4.Readable.from(e),i=await new Q2(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=m4.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new Q2(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function Q0(e,t,r){let{done:i,value:n}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(n))}async function Q1(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),n=new Response(new ReadableStream({start(e){r=new QX(t=>{e.enqueue(t)},t)},pull(e){Q0(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await n.blob(),encodedContentLength:r.messageLength}}class Q2 extends m4.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new QX(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new I6("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(ep=eR||(eR={}))[ep.StreamHeader=0]="StreamHeader",ep[ep.StreamFooter=1]="StreamFooter",ep[ep.SegmentHeader=2]="SegmentHeader",ep[ep.SegmentFooter=3]="SegmentFooter",ep[ep.SegmentContent=4]="SegmentContent";class Q3{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=eR.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new Q$,this.messageCrc64=new Q$}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===eR.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===eR.SegmentHeader&&this.parseSegmentHeader(e),this.state===eR.SegmentContent&&this.parseSegmentContent(e),this.state===eR.SegmentFooter&&this.parseSegmentFooter(e);this.state===eR.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=eR.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=eR.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=eR.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=eR.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new Q$,this.state=eR.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class Q5 extends m4.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new Q3(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new I6("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class Q4{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class Q8 extends Q4{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class Q9{create(e,t){return new Q8(e,t)}}class Q6 extends Q4{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class Q7 extends Q6{constructor(e,t){super(e,t)}}class be{create(e,t){throw Error("Method should be implemented in children classes.")}}class bt extends be{create(e,t){return new Q7(e,t)}}let br="timeout",bi="Authorization",bn="Content-Encoding",bs="Content-Language",ba="Content-Length",bo="Content-Md5",bA="Content-Type",bl="date",bc="if-match",bd="if-modified-since",bu="if-none-match",bg="if-unmodified-since",bh="x-ms-",bp="Range",bm="x-ms-date",bf="x-ms-copy-source-error-code";function bC(e,t,r){let i=new URL(e),n=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,a=""===i.search?"?":i.search,o=[];for(let e of a.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&o.push(e)}return s&&o.push(`${n}=${s}`),i.search=o.length?`?${o.join("&")}`:"",i.toString()}function by(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function bI(e){try{return new URL(e).pathname}catch(e){return}}function bE(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],n=t[1];i[r]=n}return i}async function bB(e,t,r){return new Promise((i,n)=>{let s,a=()=>{void 0!==s&&clearTimeout(s),n(r)};s=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",a),i()},e),void 0!==t&&t.addEventListener("abort",a)})}let bQ=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),bb=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),bN=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function bS(e,t){return!function(e,t){let r=[bQ,bb,bN],i=0,n=0,s=0;for(;i<r.length;){if(i===r.length-1&&n!==s)return n>s;let a=n<e.length?r[i][e[n].charCodeAt(0)]:1,o=s<t.length?r[i][t[s].charCodeAt(0)]:1;if(1===a&&1===o)n=0,s=0,++i;else if(a===o)++n,++s;else if(0===a)++n;else{if(0!==o)return a<o;++s}}return!1}(e,t)?1:-1}class bw extends Q6{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(bm,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(ba,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,bs),this.getHeaderValueToSign(e,bn),this.getHeaderValueToSign(e,ba),this.getHeaderValueToSign(e,bo),this.getHeaderValueToSign(e,bA),this.getHeaderValueToSign(e,bl),this.getHeaderValueToSign(e,bd),this.getHeaderValueToSign(e,bc),this.getHeaderValueToSign(e,bu),this.getHeaderValueToSign(e,bg),this.getHeaderValueToSign(e,bp)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(bi,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==ba||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(bh));t.sort((e,t)=>bS(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}getCanonicalizedResourceString(e){let t=bI(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=bE(e.url),n={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();n[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` +${t}:${decodeURIComponent(n[t])}`}return r}}class bx extends be{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new bw(e,t,this)}computeHMACSHA256(e){return(0,ff.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let bD=I0("storage-common");(em=ev||(ev={}))[em.EXPONENTIAL=0]="EXPONENTIAL",em[em.FIXED=1]="FIXED";let bR={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:ev.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},bv=new I6("The operation was aborted.");class bk extends Q4{retryOptions;constructor(e,t,r=bR){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:bR.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):bR.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:bR.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:bR.maxRetryDelayInMs):bR.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:bR.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:bR.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,n=e.clone(),s=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;s||(n.url=by(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=bC(n.url,br,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(bD.info(`RetryPolicy: =====> Try=${r} ${s?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(n),!this.shouldRetry(s,r,i))return i;t=t||!s&&404===i.status}catch(e){if(bD.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(s,r,i,e))throw e}return await this.delay(s,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return bD.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return bD.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return bD.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return bD.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(bf);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(bD.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case ev.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case ev.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return bD.info(`RetryPolicy: Delay for ${i}ms`),bB(i,r,bv)}}class bM{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new bk(e,t,this.retryOptions)}}let bF={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:ev.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},bU=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],bT=new I6("The operation was aborted.");class bL{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,ff.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let bO="12.33.0",bP="2026-06-06",bH="snapshot",bY="versionid",bG=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],bq=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],bz=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function bV(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class b_{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function bJ(e,t={}){e||(e=new bt);let r=new b_([],t);return r._credential=e,r}function bW(e){if(e._credential)return e._credential;let t=new bt;for(let r of e.factories)if(Ef(r.credential))t=r.credential;else if(bj(r))return r;return t}function bj(e){return e instanceof bx||"StorageSharedKeyCredential"===e.constructor.name}function bK(e){return e instanceof bt||"AnonymousCredential"===e.constructor.name}function b$(e){return Ef(e.credential)}function bX(e){return e instanceof Q9||"StorageBrowserPolicyFactory"===e.constructor.name}function bZ(e){return e instanceof bM||"StorageRetryPolicyFactory"===e.constructor.name}function b0(e){return"TelemetryPolicyFactory"===e.constructor.name}function b1(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(ek||(ek={})).AES256="AES256",(eM||(eM={})).Backup="backup",(ef=eF||(eF={})).NeverExpire="NeverExpire",ef.RelativeToCreation="RelativeToCreation",ef.RelativeToNow="RelativeToNow",ef.Absolute="Absolute",(eC=eU||(eU={})).AccountAlreadyExists="AccountAlreadyExists",eC.AccountBeingCreated="AccountBeingCreated",eC.AccountIsDisabled="AccountIsDisabled",eC.AuthenticationFailed="AuthenticationFailed",eC.AuthorizationFailure="AuthorizationFailure",eC.ConditionHeadersNotSupported="ConditionHeadersNotSupported",eC.ConditionNotMet="ConditionNotMet",eC.EmptyMetadataKey="EmptyMetadataKey",eC.InsufficientAccountPermissions="InsufficientAccountPermissions",eC.InternalError="InternalError",eC.InvalidAuthenticationInfo="InvalidAuthenticationInfo",eC.InvalidHeaderValue="InvalidHeaderValue",eC.InvalidHttpVerb="InvalidHttpVerb",eC.InvalidInput="InvalidInput",eC.InvalidMd5="InvalidMd5",eC.InvalidMetadata="InvalidMetadata",eC.InvalidQueryParameterValue="InvalidQueryParameterValue",eC.InvalidRange="InvalidRange",eC.InvalidResourceName="InvalidResourceName",eC.InvalidUri="InvalidUri",eC.InvalidXmlDocument="InvalidXmlDocument",eC.InvalidXmlNodeValue="InvalidXmlNodeValue",eC.Md5Mismatch="Md5Mismatch",eC.MetadataTooLarge="MetadataTooLarge",eC.MissingContentLengthHeader="MissingContentLengthHeader",eC.MissingRequiredQueryParameter="MissingRequiredQueryParameter",eC.MissingRequiredHeader="MissingRequiredHeader",eC.MissingRequiredXmlNode="MissingRequiredXmlNode",eC.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",eC.OperationTimedOut="OperationTimedOut",eC.OutOfRangeInput="OutOfRangeInput",eC.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",eC.RequestBodyTooLarge="RequestBodyTooLarge",eC.ResourceTypeMismatch="ResourceTypeMismatch",eC.RequestUrlFailedToParse="RequestUrlFailedToParse",eC.ResourceAlreadyExists="ResourceAlreadyExists",eC.ResourceNotFound="ResourceNotFound",eC.ServerBusy="ServerBusy",eC.UnsupportedHeader="UnsupportedHeader",eC.UnsupportedXmlNode="UnsupportedXmlNode",eC.UnsupportedQueryParameter="UnsupportedQueryParameter",eC.UnsupportedHttpVerb="UnsupportedHttpVerb",eC.AppendPositionConditionNotMet="AppendPositionConditionNotMet",eC.BlobAlreadyExists="BlobAlreadyExists",eC.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",eC.BlobNotFound="BlobNotFound",eC.BlobOverwritten="BlobOverwritten",eC.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",eC.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",eC.BlockCountExceedsLimit="BlockCountExceedsLimit",eC.BlockListTooLong="BlockListTooLong",eC.CannotChangeToLowerTier="CannotChangeToLowerTier",eC.CannotVerifyCopySource="CannotVerifyCopySource",eC.ContainerAlreadyExists="ContainerAlreadyExists",eC.ContainerBeingDeleted="ContainerBeingDeleted",eC.ContainerDisabled="ContainerDisabled",eC.ContainerNotFound="ContainerNotFound",eC.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",eC.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",eC.CopyIdMismatch="CopyIdMismatch",eC.FeatureVersionMismatch="FeatureVersionMismatch",eC.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",eC.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",eC.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",eC.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",eC.InvalidBlobOrBlock="InvalidBlobOrBlock",eC.InvalidBlobTier="InvalidBlobTier",eC.InvalidBlobType="InvalidBlobType",eC.InvalidBlockId="InvalidBlockId",eC.InvalidBlockList="InvalidBlockList",eC.InvalidOperation="InvalidOperation",eC.InvalidPageRange="InvalidPageRange",eC.InvalidSourceBlobType="InvalidSourceBlobType",eC.InvalidSourceBlobUrl="InvalidSourceBlobUrl",eC.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",eC.LeaseAlreadyPresent="LeaseAlreadyPresent",eC.LeaseAlreadyBroken="LeaseAlreadyBroken",eC.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",eC.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",eC.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",eC.LeaseIdMissing="LeaseIdMissing",eC.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",eC.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",eC.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",eC.LeaseLost="LeaseLost",eC.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",eC.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",eC.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",eC.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",eC.NoAuthenticationInformation="NoAuthenticationInformation",eC.NoPendingCopyOperation="NoPendingCopyOperation",eC.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",eC.PendingCopyOperation="PendingCopyOperation",eC.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",eC.PreviousSnapshotNotFound="PreviousSnapshotNotFound",eC.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",eC.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",eC.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",eC.SnapshotCountExceeded="SnapshotCountExceeded",eC.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",eC.SnapshotsPresent="SnapshotsPresent",eC.SourceConditionNotMet="SourceConditionNotMet",eC.SystemInUse="SystemInUse",eC.TargetConditionNotMet="TargetConditionNotMet",eC.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",eC.BlobBeingRehydrated="BlobBeingRehydrated",eC.BlobArchived="BlobArchived",eC.BlobNotArchived="BlobNotArchived",eC.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",eC.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",eC.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",eC.AuthorizationServiceMismatch="AuthorizationServiceMismatch",eC.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",eC.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let b2={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},b3={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},b5={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},b4={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},b8={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},b9={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},b6={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},b7={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Ne={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},Nt={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Nr={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},Ni={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},Nn={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},Ns={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},Na={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},No={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},NA={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},Nl={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},Nc={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},Nd={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},Nu={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Ng={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Nh={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},Np={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},Nm={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},Nf={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},NC={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Ny={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},NI={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},NE={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},NB={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},NQ={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Nb={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},NN={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},NS={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},Nw={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Nx={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},ND={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},NR={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Nv={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},Nk={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},NM={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NF={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NU={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NL={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NO={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NP={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NH={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NY={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NG={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nq={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nz={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NV={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N_={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NJ={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NW={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nj={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NK={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N$={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NX={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NZ={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N0={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N1={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N2={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N3={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N5={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N4={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N8={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N9={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N6={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N7={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Se={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},St={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},Sr={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Si={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sn={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ss={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sa={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},So={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SA={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sl={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sc={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sd={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Su={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sg={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sh={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sp={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sm={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sf={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SC={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sy={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},SI={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SE={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},SB={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SQ={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sb={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SN={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SS={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sw={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sx={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SD={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sv={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sk={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SM={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},SF={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SU={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ST={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SL={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},SO={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SP={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SH={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SY={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SG={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sq={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sz={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SV={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},S_={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SJ={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SW={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sj={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SK={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S$={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SX={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SZ={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S0={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},S1={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S2={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},S3={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S5={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S4={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S8={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S9={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},S6={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S7={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},we={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wt={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wr={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wi={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wn={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ws={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wa={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wo={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wA={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wl={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wc={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wd={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wu={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},wg={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wh={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wp={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wm={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wf={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wC={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wy={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wI={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wE={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wB={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wQ={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wb={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wN={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wS={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ww={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wx={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},wD={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},wR={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wv={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wk={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wM={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wF={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},wU={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wT={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wL={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wO={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},wP={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wH={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wY={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wG={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wq={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},wz={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},wV={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},w_={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},wJ={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wW={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},wj={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},wK={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},w$={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},wX={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wZ={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},w0={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},w1={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},w2={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},w3={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},w5={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},w4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},w8={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},w9={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},w6={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},w7={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},xe={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},xt={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},xr={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},xi={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},xn={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},xs={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},xa={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xo={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xA={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xl={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xc={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xd={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},xu={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},xg={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xh={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},xp={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xm={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xf={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},xC={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},xI={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},xE={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},xB={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},xQ={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},xb={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},xN={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},xS={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},xw={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},xx={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},xD={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},xR={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},xv={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},xk={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},xM={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},xF={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},xU={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},xT={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},xL={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},xO={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xP={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},xH={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},xY={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},xG={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},xq={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},xz={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},xV={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},x_={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},xJ={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},xW={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},xj={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},xK={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},x$={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},xX={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},xZ={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},x0={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},x1={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},x2={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},x3={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},x5={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},x4={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},x8={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},x9={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},x6={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},x7={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},De={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Dt={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Dr={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Di={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Dn={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ds={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Da={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Do={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},DA={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},Dl={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},Dc={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Dd={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},Du={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},Dg={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},Dh={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},Dp={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Dm={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Df={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},DC={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Dy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},DI={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},DE={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},DB={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},DQ={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class Db{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},DS)}getProperties(e){return this.client.sendOperationRequest({options:e},Dw)}getStatistics(e){return this.client.sendOperationRequest({options:e},Dx)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},DD)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},DR)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Dv)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},Dk)}filterBlobs(e){return this.client.sendOperationRequest({options:e},DM)}}let DN=EN(e_,!0),DS={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:NM},default:{bodyMapper:b6,headersMapper:NF}},requestBody:{parameterPath:"blobServiceProperties",mapper:b2},queryParameters:[w_,wJ,wW],urlParameters:[wV],headerParameters:[wq,wz,wj,wK],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DN},Dw={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:b2,headersMapper:NU},default:{bodyMapper:b6,headersMapper:NT}},queryParameters:[w_,wJ,wW],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN},Dx={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:b7,headersMapper:NL},default:{bodyMapper:b6,headersMapper:NO}},queryParameters:[w_,wW,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN},DD={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Nt,headersMapper:NP},default:{bodyMapper:b6,headersMapper:NH}},queryParameters:[wW,wX,wZ,w0,w1,w2],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN},DR={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Ns,headersMapper:NY},default:{bodyMapper:b6,headersMapper:NG}},requestBody:{parameterPath:"keyInfo",mapper:Nn},queryParameters:[w_,wW,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wq,wz,wj,wK],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DN},Dv={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Nq},default:{bodyMapper:b6,headersMapper:Nz}},queryParameters:[wJ,wW,w3],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN},Dk={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:NV},default:{bodyMapper:b6,headersMapper:N_}},requestBody:w5,queryParameters:[wW,w4],urlParameters:[wV],headerParameters:[wz,wj,wK,w8,w9],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DN},DM={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Na,headersMapper:NJ},default:{bodyMapper:b6,headersMapper:NW}},queryParameters:[wW,w0,w1,w6,w7],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN};class DF{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},DT)}getProperties(e){return this.client.sendOperationRequest({options:e},DL)}delete(e){return this.client.sendOperationRequest({options:e},DO)}setMetadata(e){return this.client.sendOperationRequest({options:e},DP)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},DH)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},DY)}restore(e){return this.client.sendOperationRequest({options:e},DG)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},Dq)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},Dz)}filterBlobs(e){return this.client.sendOperationRequest({options:e},DV)}acquireLease(e){return this.client.sendOperationRequest({options:e},D_)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},DJ)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},DW)}breakLease(e){return this.client.sendOperationRequest({options:e},Dj)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},DK)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},D$)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},DX)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},DZ)}}let DU=EN(e_,!0),DT={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Nj},default:{bodyMapper:b6,headersMapper:NK}},queryParameters:[wW,xe],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xr,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:DU},DL={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:N$},default:{bodyMapper:b6,headersMapper:NX}},queryParameters:[wW,xe],urlParameters:[wV],headerParameters:[wj,wK,w$,xi],isXML:!0,serializer:DU},DO={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:NZ},default:{bodyMapper:b6,headersMapper:N0}},queryParameters:[wW,xe],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs],isXML:!0,serializer:DU},DP={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:N1},default:{bodyMapper:b6,headersMapper:N2}},queryParameters:[wW,xe,xa],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn],isXML:!0,serializer:DU},DH={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:N3},default:{bodyMapper:b6,headersMapper:N5}},queryParameters:[wW,xe,xo],urlParameters:[wV],headerParameters:[wj,wK,w$,xi],isXML:!0,serializer:DU},DY={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:N4},default:{bodyMapper:b6,headersMapper:N8}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[wW,xe,xo],urlParameters:[wV],headerParameters:[wq,wz,wj,wK,xr,xi,xn,xs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DU},DG={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:N9},default:{bodyMapper:b6,headersMapper:N6}},queryParameters:[wW,xe,xA],urlParameters:[wV],headerParameters:[wj,wK,w$,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:DU},Dq={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:N7},default:{bodyMapper:b6,headersMapper:Se}},queryParameters:[wW,xe,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:DU},Dz={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:St},default:{bodyMapper:b6,headersMapper:Sr}},requestBody:w5,queryParameters:[wW,w4,xe],urlParameters:[wV],headerParameters:[wz,wj,wK,w8,w9],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DU},DV={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Na,headersMapper:Si},default:{bodyMapper:b6,headersMapper:Sn}},queryParameters:[wW,w0,w1,w6,w7,xe],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DU},D_={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Ss},default:{bodyMapper:b6,headersMapper:Sa}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xc,xd,xu],isXML:!0,serializer:DU},DJ={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:So},default:{bodyMapper:b6,headersMapper:SA}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xg,xh],isXML:!0,serializer:DU},DW={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Sl},default:{bodyMapper:b6,headersMapper:Sc}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xh,xp],isXML:!0,serializer:DU},Dj={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:Sd},default:{bodyMapper:b6,headersMapper:Su}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xm,xf],isXML:!0,serializer:DU},DK={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Sg},default:{bodyMapper:b6,headersMapper:Sh}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xh,xC,xy],isXML:!0,serializer:DU},D$={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Nu,headersMapper:Sp},default:{bodyMapper:b6,headersMapper:Sm}},queryParameters:[wW,wX,wZ,w0,w1,xe,xI,xE],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DU},DX={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Nf,headersMapper:Sf},default:{bodyMapper:b6,headersMapper:SC}},queryParameters:[wW,wX,wZ,w0,w1,xe,xI,xE,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DU},DZ={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Sy},default:{bodyMapper:b6,headersMapper:SI}},queryParameters:[wJ,wW,w3],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DU};class D0{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},D2)}getProperties(e){return this.client.sendOperationRequest({options:e},D3)}delete(e){return this.client.sendOperationRequest({options:e},D5)}undelete(e){return this.client.sendOperationRequest({options:e},D4)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},D8)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},D9)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},D6)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},D7)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Re)}setMetadata(e){return this.client.sendOperationRequest({options:e},Rt)}acquireLease(e){return this.client.sendOperationRequest({options:e},Rr)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Ri)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Rn)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},Rs)}breakLease(e){return this.client.sendOperationRequest({options:e},Ra)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Ro)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},RA)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Rl)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},Rc)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},Rd)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Ru)}query(e){return this.client.sendOperationRequest({options:e},Rg)}getTags(e){return this.client.sendOperationRequest({options:e},Rh)}setTags(e){return this.client.sendOperationRequest({options:e},Rp)}}let D1=EN(e_,!0),D2={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:SE},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:SE},default:{bodyMapper:b6,headersMapper:SB}},queryParameters:[wW,xB,xQ],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xb,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},xN,xS,xw,xx,xD,xR,xv],isXML:!0,serializer:D1},D3={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:SQ},default:{bodyMapper:b6,headersMapper:Sb}},queryParameters:[wW,xB,xQ],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xS,xw,xx,xD,xR,xv],isXML:!0,serializer:D1},D5={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:SN},default:{bodyMapper:b6,headersMapper:SS}},queryParameters:[wW,xB,xQ,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xD,xR,xv,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:D1},D4={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Sw},default:{bodyMapper:b6,headersMapper:Sx}},queryParameters:[wW,xA],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:D1},D8={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SD},default:{bodyMapper:b6,headersMapper:SR}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:D1},D9={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Sv},default:{bodyMapper:b6,headersMapper:Sk}},queryParameters:[wJ,wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xD,xR,xv,xk,xM,xF,xU,xT,xL],isXML:!0,serializer:D1},D6={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SM},default:{bodyMapper:b6,headersMapper:SF}},queryParameters:[wW,xB,xQ,xO],urlParameters:[wV],headerParameters:[wj,wK,w$,xs,xP,xH],isXML:!0,serializer:D1},D7={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:SU},default:{bodyMapper:b6,headersMapper:ST}},queryParameters:[wW,xB,xQ,xO],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:D1},Re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SL},default:{bodyMapper:b6,headersMapper:SO}},queryParameters:[wW,xB,xQ,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:D1},Rt={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SP},default:{bodyMapper:b6,headersMapper:SH}},queryParameters:[wW,xa],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY],isXML:!0,serializer:D1},Rr={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:SY},default:{bodyMapper:b6,headersMapper:SG}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xc,xd,xu,xD,xR,xv],isXML:!0,serializer:D1},Ri={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Sq},default:{bodyMapper:b6,headersMapper:Sz}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xg,xh,xD,xR,xv],isXML:!0,serializer:D1},Rn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SV},default:{bodyMapper:b6,headersMapper:S_}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xh,xp,xD,xR,xv],isXML:!0,serializer:D1},Rs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SJ},default:{bodyMapper:b6,headersMapper:SW}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xh,xC,xy,xD,xR,xv],isXML:!0,serializer:D1},Ra={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Sj},default:{bodyMapper:b6,headersMapper:SK}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xm,xf,xD,xR,xv],isXML:!0,serializer:D1},Ro={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:S$},default:{bodyMapper:b6,headersMapper:SX}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY],isXML:!0,serializer:D1},RA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:SZ},default:{bodyMapper:b6,headersMapper:S0}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn,xs,xD,xR,xv,xP,xH,xG,xq,xz,xV,x_,xJ,xW,xj,xK,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},x$],isXML:!0,serializer:D1},Rl={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:S1},default:{bodyMapper:b6,headersMapper:S2}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn,xs,xD,xR,xv,xP,xH,xY,xG,xz,xV,x_,xJ,xj,xK,x$,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},xX,xZ,x0,x1],isXML:!0,serializer:D1},Rc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:S3},default:{bodyMapper:b6,headersMapper:S5}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:D1},Rd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:S4},202:{headersMapper:S4},default:{bodyMapper:b6,headersMapper:S8}},queryParameters:[wW,xB,xQ,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xv,xq,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:D1},Ru={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:S9},default:{bodyMapper:b6,headersMapper:S6}},queryParameters:[wJ,wW,w3],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:D1},Rg={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:S7},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:S7},default:{bodyMapper:b6,headersMapper:we}},requestBody:{parameterPath:["options","queryRequest"],mapper:NS},queryParameters:[wW,xB,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wq,wz,wj,wK,xi,xn,xs,xS,xw,xx,xD,xR,xv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:D1},Rh={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:NA,headersMapper:wt},default:{bodyMapper:b6,headersMapper:wr}},queryParameters:[wW,xB,xQ,x2],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xv,x3,x5,x4,x8],isXML:!0,serializer:D1},Rp={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:wi},default:{bodyMapper:b6,headersMapper:wn}},requestBody:{parameterPath:["options","tags"],mapper:NA},queryParameters:[wW,xQ,x2],urlParameters:[wV],headerParameters:[wq,wz,wj,wK,xi,xv,x3,x5,x4,x8,x9,x6],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:D1};class Rm{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},RC)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Ry)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},RI)}uploadPagesFromURL(e,t,r,i,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:n},RE)}getPageRanges(e){return this.client.sendOperationRequest({options:e},RB)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},RQ)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Rb)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},RN)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},RS)}}let Rf=EN(e_,!0),RC={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ws},default:{bodyMapper:b6,headersMapper:wa}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xP,xH,xY,xG,xK,x$,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},x7,De],isXML:!0,serializer:Rf},Ry={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wo},default:{bodyMapper:b6,headersMapper:wA}},requestBody:Dr,queryParameters:[wW,Dn],urlParameters:[wV],headerParameters:[wj,wK,w8,xi,xn,xs,xb,xN,xS,xw,xx,xD,xR,xv,xY,x9,x6,Dt,Di,Ds,Da,Do,DA,Dl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Rf},RI={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wl},default:{bodyMapper:b6,headersMapper:wc}},queryParameters:[wW,Dn],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xi,xn,xs,xb,xS,xw,xx,xD,xR,xv,xY,Da,Do,DA,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:Rf},RE={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wd},default:{bodyMapper:b6,headersMapper:wu}},queryParameters:[wW,Dn],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY,xz,xV,x_,xJ,xX,xZ,x1,Ds,Da,Do,DA,Dc,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Dd,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},Du,Dg,Dh],isXML:!0,serializer:Rf},RB={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:NQ,headersMapper:wg},default:{bodyMapper:b6,headersMapper:wh}},queryParameters:[wW,w0,w1,xB,Dp],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xb,xD,xR,xv],isXML:!0,serializer:Rf},RQ={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:NQ,headersMapper:wp},default:{bodyMapper:b6,headersMapper:wm}},queryParameters:[wW,w0,w1,xB,Dp,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xb,xD,xR,xv,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:Rf},Rb={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wf},default:{bodyMapper:b6,headersMapper:wC}},queryParameters:[wJ,wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY,x7],isXML:!0,serializer:Rf},RN={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wy},default:{bodyMapper:b6,headersMapper:wI}},queryParameters:[wJ,wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xD,xR,xv,De,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:Rf},RS={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:wE},default:{bodyMapper:b6,headersMapper:wB}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xD,xR,xv,xj],isXML:!0,serializer:Rf};class Rw{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},RD)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},RR)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},Rv)}seal(e){return this.client.sendOperationRequest({options:e},Rk)}}let Rx=EN(e_,!0),RD={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wQ},default:{bodyMapper:b6,headersMapper:wb}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xP,xH,xY,xK,x$,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:Rx},RR={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wN},default:{bodyMapper:b6,headersMapper:wS}},requestBody:Dr,queryParameters:[wW,Dm],urlParameters:[wV],headerParameters:[wj,wK,w8,xi,xn,xs,xN,xS,xw,xx,xD,xR,xv,xY,x9,x6,Dt,Di,Dl,Df,DC],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Rx},Rv={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ww},default:{bodyMapper:b6,headersMapper:wx}},queryParameters:[wW,Dm],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY,xz,xV,x_,xJ,xX,xZ,x1,x9,Dc,Dd,Du,Dg,Dh,Df,DC,Dy],isXML:!0,serializer:Rx},Rk={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wD},default:{bodyMapper:b6,headersMapper:wR}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xD,xR,DC],isXML:!0,serializer:Rx};class RM{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},RU)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},RT)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},RL)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},RO)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},RP)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},RH)}}let RF=EN(e_,!0),RU={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wv},default:{bodyMapper:b6,headersMapper:wk}},requestBody:Dr,queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w8,xt,xi,xn,xs,xN,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xP,xH,xY,xG,xK,x$,x9,x6,Dt,Di,Dl,DI],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:RF},RT={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wM},default:{bodyMapper:b6,headersMapper:wF}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xY,xG,xz,xV,x_,xJ,xW,xj,xK,xX,xZ,x0,x1,x9,Du,Dg,Dh,DI,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:RF},RL={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wU},default:{bodyMapper:b6,headersMapper:wT}},requestBody:Dr,queryParameters:[wW,DE,DB],urlParameters:[wV],headerParameters:[wj,wK,w8,xi,xN,xS,xw,xx,xY,x9,x6,Dt,Di,Dl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:RF},RO={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wL},default:{bodyMapper:b6,headersMapper:wO}},queryParameters:[wW,DE,DB],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xi,xS,xw,xx,xY,xz,xV,x_,xJ,xX,xZ,x1,Dc,Dd,Du,Dg,Dh,Dy],isXML:!0,serializer:RF},RP={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wP},default:{bodyMapper:b6,headersMapper:wH}},requestBody:{parameterPath:"blocks",mapper:NI},queryParameters:[wW,DQ],urlParameters:[wV],headerParameters:[wq,wz,wj,wK,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xP,xH,xY,xG,xK,x$,x9,x6],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:RF},RH={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:NE,headersMapper:wY},default:{bodyMapper:b6,headersMapper:wG}},queryParameters:[wW,xB,DQ,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xv],isXML:!0,serializer:RF};class RY extends E7{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new Db(this),this.container=new DF(this),this.blob=new D0(this),this.pageBlob=new Rm(this),this.appendBlob=new Rw(this),this.blockBlob=new RM(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class RG extends RY{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let Rq=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function Rz(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function RV(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=Rz(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",n="",s=Buffer.from("accountKey","base64"),a="";if(n=Rz(e,"AccountName"),s=Buffer.from(Rz(e,"AccountKey"),"base64"),!r){let t=(i=Rz(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(a=Rz(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${n}.blob.${a}`}if(n){if(0===s.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:s,proxyUri:t}}{let t=Rz(e,"SharedAccessSignature"),i=Rz(e,"AccountName");if(i||(i=RX(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function R_(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function RJ(e,t,r){let i=new URL(e),n=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,a=""===i.search?"?":i.search,o=[];for(let e of a.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&o.push(e)}return s&&o.push(`${n}=${s}`),i.search=o.length?`?${o.join("&")}`:"",i.toString()}function RW(e,t){return new URL(e).searchParams.get(t)??void 0}function Rj(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function RK(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function R$(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function RX(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<Rq.length;++e){let r=Rq[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=RZ(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function RZ(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&bz.includes(e.port)}function R0(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function R1(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function R2(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let n={ruleId:i[1],replicationStatus:e[r]},s=t.findIndex(e=>e.policyId===i[0]);s>-1?t[s].rules.push(n):t.push({policyId:i[0],rules:[n]})}return t}function R3(e){return e?e.scheme+" "+e.value:void 0}function*R5(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,n=0;for(;i<t.length&&n<r.length;)t[i].start<r[n].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[n].start,end:r[n].end,isClear:!0},++n);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;n<r.length;++n)yield{start:r[n].start,end:r[n].end,isClear:!0}}function R4(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function R8(e,t,r,i,n){let s,a=i.contentChecksumAlgorithm??n;return void 0===a&&(a="Customized"),"Auto"===a&&(a="StorageCrc64"),"Customized"===a?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===a&&(await Q$.init(),s=await QZ(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===a?s.body:e,contentLength:"StorageCrc64"===a?s.encodedContentLength:t,contentChecksumAlgorithm:a}}class R9{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=RX(e),this.pipeline=t,this.storageClientContext=new RG(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>E6(await t.sendRequest(E2(e,{createProxy:!0})))}:(o||(o=EA()),o));let n=e._corePipeline;if(!n){let t=`azsdk-js-azure-storage-blob/${bO}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(n=EV({...r,loggingOptions:{additionalAllowedHeaderNames:bG,additionalAllowedQueryParameters:bq,logger:Qq.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:QY,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:QG,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),n.removePolicy({name:I2}),n.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(ba,Buffer.byteLength(e.body)),t(e))}),n.addPolicy(function(e={}){let t=e.retryPolicyType??bF.retryPolicyType,r=e.maxTries??bF.maxTries,i=e.retryDelayInMs??bF.retryDelayInMs,n=e.maxRetryDelayInMs??bF.maxRetryDelayInMs,s=e.secondaryHost??bF.secondaryHost,a=e.tryTimeoutInMs??bF.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,o){let A,l;a&&(e.url=bC(e.url,br,String(Math.floor(a/1e3))));let c=e.url,d=s?by(e.url,s):void 0,u=!1,g=1,h=!0;for(;h;){let s=u||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||g%2==1;e.url=s?c:d,A=void 0,l=void 0;try{bD.info(`RetryPolicy: =====> Try=${g} ${s?"Primary":"Secondary"}`),A=await o(e),u=u||!s&&404===A.status}catch(e){if(Ip(e))bD.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw bD.error(`RetryPolicy: Caught error, message: ${Ee(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:n}){if(t>=r)return bD.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(n){for(let e of bU)if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e)return bD.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag'))return bD.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||n){let t=i?.status??n?.statusCode??0;if(!e&&404===t)return bD.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return bD.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(bf);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:s,attempt:g,response:A,error:l}))&&await bB(function(e,r){let s=0;if(e)switch(t){case ev.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*i,n);break;case ev.FIXED:s=i}else s=1e3*Math.random();return bD.info(`RetryPolicy: Delay for ${s}ms`),s}(s,g),e.abortSignal,bT),g++}if(A)return A;throw l??new Ih("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),n.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),n.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let s=function(e){let t=[bK,bj,b$,bX,bZ,b0,b1];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>E9(await r(E1(e)),{createProxy:!0})};for(let t of e)i=t.create(i,Be);let n=E2(t,{createProxy:!0});return E6(await i.sendRequest(n))}}),afterRetry:t}}}}(e);s&&n.addPolicy(s.wrappedPolicies,s.afterRetry?{afterPhase:"Retry"}:void 0);let a=bW(e);Ef(a)?n.addPolicy(Ep({credential:a,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:E$}}),{phase:"Sign"}):a instanceof bx&&n.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==ba||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let n,s;return r.headers.set(bm,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(ba,Buffer.byteLength(r.body)),n=[r.method.toUpperCase(),t(r,bs),t(r,bn),t(r,ba),t(r,bo),t(r,bA),t(r,bl),t(r,bd),t(r,bc),t(r,bu),t(r,bg),t(r,bp)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(bh)&&t.push({name:r,value:i});t.sort((e,t)=>bS(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}(r)+function(t){let r=bI(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let n=bE(t.url),s={};if(n){let e=[];for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)){let r=t.toLowerCase();s[r]=n[t],e.push(r)}for(let t of(e.sort(),e))i+=` +${t}:${decodeURIComponent(s[t])}`}return i}(r),s=(0,ff.createHmac)("sha256",e.accountKey).update(n,"utf8").digest("base64"),r.headers.set(bi,`SharedKey ${e.accountName}:${s}`),i(r)}}}({accountName:a.accountName,accountKey:a.accountKey}),{phase:"Sign"}),e._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:n}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=bW(t),this.storageClientContext.requestContentType=void 0}}let R6=Ea({packageName:"@azure/storage-blob",packageVersion:bO,namespace:"Microsoft.Storage"});class R7{static parse(e){let t=new R7;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new R7;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class ve{static parse(e){let t=new ve;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new ve;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function vt(e){return e.end?`${e.start}-${e.end}`:e.start}(ey=eT||(eT={})).Https="https",ey.HttpsAndHttp="https,http";class vr{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,n,s,a,o,A,l,c,d,u,g,h,p,m,f,C,y,I,E,B,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=n,this.expiresOn=o,this.permissions=r,this.protocol=s,this.startsOn=a,this.ipRangeInner=A,this.delegatedUserObjectId=I,this.encryptionScope=y,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=u,this.contentEncoding=g,this.contentLanguage=h,this.contentType=p,this.requestHeaderKeys=E,this.requestQueryParameterKeys=B,this.directoryDepth=Q,m&&(this.signedOid=m.signedObjectId,this.signedTenantId=m.signedTenantId,this.signedStartsOn=m.signedStartsOn,this.signedExpiresOn=m.signedExpiresOn,this.signedService=m.signedService,this.signedVersion=m.signedVersion,this.signedDelegatedUserTid=m.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=f,this.correlationId=C))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?RK(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?RK(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?vt(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?RK(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?RK(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function vi(e,t,r){return vn(e,t,r).sasQueryParameters}function vn(e,t,r){let i,n=e.version?e.version:bP,s=t instanceof bx?t:void 0;if(void 0===s&&void 0!==r&&(i=new bL(r,t)),void 0===s&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")if(void 0!==s)return function(e,t){let r,i;if(!(e=vo(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:a}}(e,s);else if(n>="2026-04-06")return function(e,t){let r,i;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,vs(e.requestHeaders),vs(e.requestQueryParameters),i),stringToSign:a}}(e,i);else if(n>="2025-07-05")return function(e,t){let r,i;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:a}}(e,i);else return function(e,t){let r,i;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:a}}(e,i);if(n>="2018-11-09")if(void 0!==s)if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=vo(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:a}}(e,s);else return function(e,t){let r;if(!(e=vo(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(s);return{sasQueryParameters:new vr(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:s}}(e,s);else if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:a}}(e,i);else return function(e,t){let r;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(s);return{sasQueryParameters:new vr(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:s}}(e,i);if(n>="2015-04-05")if(void 0!==s){let t;var a=e,o=s;if(!(a=vo(a)).identifier&&!(a.permissions&&a.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";a.blobName&&(r="b"),a.permissions&&(t=a.blobName?R7.parse(a.permissions.toString()).toString():ve.parse(a.permissions.toString()).toString());let i=[t||"",a.startsOn?RK(a.startsOn,!1):"",a.expiresOn?RK(a.expiresOn,!1):"",va(o.accountName,a.containerName,a.blobName),a.identifier,a.ipRange?vt(a.ipRange):"",a.protocol?a.protocol:"",a.version,a.cacheControl?a.cacheControl:"",a.contentDisposition?a.contentDisposition:"",a.contentEncoding?a.contentEncoding:"",a.contentLanguage?a.contentLanguage:"",a.contentType?a.contentType:""].join("\n"),n=o.computeHMACSHA256(i);return{sasQueryParameters:new vr(a.version,n,t,void 0,void 0,a.protocol,a.startsOn,a.expiresOn,a.ipRange,a.identifier,r,a.cacheControl,a.contentDisposition,a.contentEncoding,a.contentLanguage,a.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function vs(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function va(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function vo(e){let t=e.version?e.version:bP;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function vA(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class vl{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=Ir()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-acquireLease",t,async r=>R4(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=R4(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-releaseLease",e,async t=>R4(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return R4(await this._containerOrBlobOperation.breakLease(i))})}}class vc extends m4.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,n={}){super({highWaterMark:n.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=n.maxRetryRequests&&n.maxRetryRequests>=0?n.maxRetryRequests:0,this.onProgress=n.onProgress,this.options=n,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new I6("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class vd{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,n={}){this.originalResponse=e;let s=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new Q5(this.originalResponse.readableStreamBody,n);this.blobDownloadStream=new vc(s,t,r,i,n)}}let vu=new Uint8Array([79,98,106,1]);class vg{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await vg.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,n,s=0,a=0;do i=128&(r=await vg.readByte(e,t)),s|=(127&r)<<a,a+=7;while(i&&a<28);if(i){n=0x10000000;do s+=(127&(r=await vg.readByte(e,t)))*n,n*=128;while(128&r);let i=(s%2?-(s+1):s)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return s>>1^-(1&s)}static async readLong(e,t={}){return vg.readZigZagLong(e,t)}static async readInt(e,t={}){return vg.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await vg.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await vg.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await vg.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await vg.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await vg.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await vg.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await vg.readArray(e,(e,r={})=>vg.readMapPair(e,t,r),r),n={};for(let e of i)n[e.key]=e.value;return n}static async readArray(e,t,r={}){let i=[];for(let n=await vg.readLong(e,r);0!==n;n=await vg.readLong(e,r))for(n<0&&(await vg.readLong(e,r),n=-n);n--;){let n=await t(e,r);i.push(n)}return i}}(eI=eL||(eL={})).RECORD="record",eI.ENUM="enum",eI.ARRAY="array",eI.MAP="map",eI.UNION="union",eI.FIXED="fixed",(eE=eO||(eO={})).NULL="null",eE.BOOLEAN="boolean",eE.INT="int",eE.LONG="long",eE.FLOAT="float",eE.DOUBLE="double",eE.BYTES="bytes",eE.STRING="string";class vh{static fromSchema(e){return"string"==typeof e?vh.fromStringSchema(e):Array.isArray(e)?vh.fromArraySchema(e):vh.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case eO.NULL:case eO.BOOLEAN:case eO.INT:case eO.LONG:case eO.FLOAT:case eO.DOUBLE:case eO.BYTES:case eO.STRING:return new vp(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new vf(e.map(vh.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return vh.fromStringSchema(t)}catch{}switch(t){case eL.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=vh.fromSchema(t.type);return new vy(r,e.name);case eL.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new vm(e.symbols);case eL.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new vC(vh.fromSchema(e.values));case eL.ARRAY:case eL.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class vp extends vh{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case eO.NULL:return vg.readNull();case eO.BOOLEAN:return vg.readBoolean(e,t);case eO.INT:return vg.readInt(e,t);case eO.LONG:return vg.readLong(e,t);case eO.FLOAT:return vg.readFloat(e,t);case eO.DOUBLE:return vg.readDouble(e,t);case eO.BYTES:return vg.readBytes(e,t);case eO.STRING:return vg.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class vm extends vh{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await vg.readInt(e,t);return this._symbols[r]}}class vf extends vh{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await vg.readInt(e,t);return this._types[r].read(e,t)}}class vC extends vh{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return vg.readMap(e,r,t)}}class vy extends vh{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function vI(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class vE{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!vI(await vg.readFixedBytes(this._headerStream,vu.length,{abortSignal:e.abortSignal}),vu))throw Error("Stream is not an Avro file.");this._metadata=await vg.readMap(this._headerStream,vg.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await vg.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=vh.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await vg.readLong(this._dataStream,{abortSignal:e.abortSignal}),await vg.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await vg.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!vI(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await vg.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await vg.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class vB{}let vQ=s("buffer"),vb=new I6("Reading from the avro stream was aborted.");class vN extends vB{_position;_readable;toUint8Array(e){return"string"==typeof e?vQ.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw vb;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let n=()=>{this._readable.removeListener("readable",s),this._readable.removeListener("error",a),this._readable.removeListener("end",a),this._readable.removeListener("close",a),t.abortSignal&&t.abortSignal.removeEventListener("abort",o)},s=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,n(),r(this.toUint8Array(t)))},a=()=>{n(),i()},o=()=>{n(),i(vb)};this._readable.on("readable",s),this._readable.once("error",a),this._readable.once("end",a),this._readable.once("close",a),t.abortSignal&&t.abortSignal.addEventListener("abort",o)})}}class vS extends m4.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new vE(new vN(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let n=t.position;if("number"!=typeof n)throw Error("Invalid position in avro error record.");this.onError({position:n,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class vw{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new vS(this.originalResponse.readableStreamBody,t)}}function vx(e){if(void 0!==e)return e}function vD(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function vR(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(eB=eP||(eP={})).Hot="Hot",eB.Cool="Cool",eB.Cold="Cold",eB.Archive="Archive",(eQ=eH||(eH={})).P4="P4",eQ.P6="P6",eQ.P10="P10",eQ.P15="P15",eQ.P20="P20",eQ.P30="P30",eQ.P40="P40",eQ.P50="P50",eQ.P60="P60",eQ.P70="P70",eQ.P80="P80",(eb=eY||(eY={})).StorageOAuthScopes="https://storage.azure.com/.default",eb.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",I0("core-lro");class vv extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,vv.prototype)}}class vk extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,vk.prototype)}}class vM{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new vk("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new vv("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class vF extends vM{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:n=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:o}=e;a&&(t=JSON.parse(a).state),super(vO({...t,blobClient:r,copySource:i,startCopyFromURLOptions:o})),"function"==typeof s&&this.onProgress(s),this.intervalInMs=n}delay(){return I7(this.intervalInMs)}}let vU=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),vO(t)},vT=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:n}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:n}=r,s=t.copyProgress;n&&(t.copyProgress=n),"pending"===i&&n!==s&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,n);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return vO(t)},vL=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function vO(e){return{state:{...e},cancel:vU,toString:vL,update:vT}}function vP(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(eN=eG||(eG={}))[eN.Good=0]="Good",eN[eN.Error=1]="Error";class vH{concurrency;actives=0;completed=0;offset=0;operations=[];state=eG.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Qz.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=eG.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==eG.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}async function vY(e,t,r,i,n){let s=0,a=i-r;return new Promise((i,o)=>{let A=setTimeout(()=>o(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let o;if(s>=a){clearTimeout(A),i();return}for(;null!==(o=e.read());){"string"==typeof o&&(o=Buffer.from(o,n));let e=s+o.length>a?a-s:o.length;if(t.fill(o.slice(0,e),r+s,r+s+e),(s+=e)>=a){clearTimeout(A),i();return}}}),e.on("end",()=>{clearTimeout(A),s<a&&o(Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${a}`)),i()}),e.on("error",e=>{clearTimeout(A),o(e)})})}async function vG(e,t){return new Promise((r,i)=>{let n=fI.createWriteStream(t);e.on("error",e=>{i(e)}),n.on("error",e=>{i(e)}),n.on("close",r),e.pipe(n)})}let vq=yq.promisify(fI.stat),vz=fI.createReadStream;class vV extends R9{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let n,s;if(i=i||{},bV(t))s=e,n=t,i=r;else if(t instanceof bx||t instanceof bt||Ef(t))s=e,n=bJ(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let a=RV(e);if("AccountConnString"===a.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new bx(a.accountName,a.accountKey);s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Et(a.proxyUri)),n=bJ(e,i)}else if("SASConnString"===a.kind)s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+a.accountSas,n=bJ(new bt,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(i=r),n=bJ(new bt,i);super(s,n),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=RW(this.url,bH),this._versionId=RW(this.url,bY),this.blobClientConfig=i}withSnapshot(e){return new vV(RJ(this.url,bH,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new vV(RJ(this.url,bY,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new v_(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new vJ(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new vW(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},vD(r.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-download",r,async i=>{let n=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===n?n="Customized":"Auto"===n&&(n="StorageCrc64"),"StorageCrc64"===n&&await Q$.init();let s=R4(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?vP({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:R2(s.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===s.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===n&&void 0===s.structuredContentLength)throw RangeError("Unexpected structured content length");if(!s.etag)throw RangeError("File download response doesn't contain valid etag header");let o="StorageCrc64"===n?s.structuredContentLength:s.contentLength;return new vd(a,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||s.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:vP({count:e+o-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0},a=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==n?a:new Q5(a,{})},e,o,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return R6.withSpan("BlobClient-exists",e,async t=>{try{return vD(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},vD(e.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-getProperties",e,async t=>{let r=R4(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:R2(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},R6.withSpan("BlobClient-delete",e,async t=>R4(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return R6.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=R4(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return R6.withSpan("BlobClient-undelete",e,async t=>R4(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-setHTTPHeaders",t,async r=>R4(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-setMetadata",t,async r=>R4(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return R6.withSpan("BlobClient-setTags",t,async r=>R4(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return R6.withSpan("BlobClient-getTags",e,async t=>{let r=R4(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new vl(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},vD(e.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-createSnapshot",e,async t=>R4(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new vF({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return R6.withSpan("BlobClient-abortCopyFromURL",t,async r=>R4(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},R6.withSpan("BlobClient-syncCopyFromURL",t,async r=>R4(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:R3(t.sourceAuthorization),tier:vx(t.tier),blobTagsString:R0(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return R6.withSpan("BlobClient-setAccessTier",t,async r=>R4(await this.blobContext.setTier(vx(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let n,s=0,a=0,o=i;e instanceof Buffer?(n=e,s=t||0,a="number"==typeof r?r:0):(s="number"==typeof e?e:0,a="number"==typeof t?t:0,o=r||{});let A=o.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),s<0)throw RangeError("offset option must be >= 0");if(a&&a<=0)throw RangeError("count option must be greater than 0");return o.conditions||(o.conditions={}),R6.withSpan("BlobClient-downloadToBuffer",o,async e=>{if(!a){let t=await this.getProperties({...o,tracingOptions:e.tracingOptions});if((a=t.contentLength-s)<0)throw RangeError(`offset ${s} shouldn't be larger than blob size ${t.contentLength}`)}if(!n)try{n=Buffer.alloc(a)}catch(e){throw Error(`Unable to allocate the buffer of size: ${a}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(n.length<a)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${a}`);let t=0,r=new vH(o.concurrency);for(let i=s;i<s+a;i+=A)r.addOperation(async()=>{let r=s+a;i+A<r&&(r=i+A);let l=(await this.download(i,r-i,{abortSignal:o.abortSignal,conditions:o.conditions,maxRetryRequests:o.maxRetryRequestsPerBlock,customerProvidedKey:o.customerProvidedKey,contentChecksumAlgorithm:o.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await vY(l,n,i-s,r-s),t+=r-i,o.onProgress&&o.onProgress({loadedBytes:t})});return await r.do(),n})}async downloadToFile(e,t=0,r,i={}){return R6.withSpan("BlobClient-downloadToFile",i,async n=>{let s=await this.download(t,r,{...i,tracingOptions:n.tracingOptions});return s.readableStreamBody&&await vG(s.readableStreamBody,e),s.blobDownloadStream=void 0,s})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(RZ(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return R6.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},R4(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:vx(t.tier),blobTagsString:R0(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof bx))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=vi({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(Rj(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof bx))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return vn({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=vi({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(Rj(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return vn({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return R6.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>R4(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return R6.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>R4(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return R6.withSpan("BlobClient-setLegalHold",t,async t=>R4(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return R6.withSpan("BlobClient-getAccountInfo",e,async t=>R4(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class v_ extends vV{appendBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},bV(t))s=e,n=t,i=r;else if(t instanceof bx||t instanceof bt||Ef(t))s=e,n=bJ(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let a=RV(e);if("AccountConnString"===a.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new bx(a.accountName,a.accountKey);s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Et(a.proxyUri)),n=bJ(e,i)}else if("SASConnString"===a.kind)s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+a.accountSas,n=bJ(new bt,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,i=r,n=bJ(new bt,i);super(s,n),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new v_(RJ(this.url,bH,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},vD(e.customerProvidedKey,this.isHttps),R6.withSpan("AppendBlobClient-create",e,async t=>R4(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:R0(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return R6.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=R4(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},R6.withSpan("AppendBlobClient-seal",e,async t=>R4(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},vD(r.customerProvidedKey,this.isHttps),R6.withSpan("AppendBlobClient-appendBlock",r,async i=>{let n={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},s=await R8(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return R4(await this.appendBlobContext.appendBlock(s.contentLength,s.body,n))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},vD(i.customerProvidedKey,this.isHttps),R6.withSpan("AppendBlobClient-appendBlockFromURL",i,async n=>R4(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:vP({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:R3(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class vJ extends vV{_blobContext;blockBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},bV(t))s=e,n=t,i=r;else if(t instanceof bx||t instanceof bt||Ef(t))s=e,n=bJ(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let a=RV(e);if("AccountConnString"===a.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new bx(a.accountName,a.accountKey);s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Et(a.proxyUri)),n=bJ(e,i)}else if("SASConnString"===a.kind)s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+a.accountSas,n=bJ(new bt,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(i=r),n=bJ(new bt,i);super(s,n),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new vJ(RJ(this.url,bH,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-query",t,async r=>new vw(R4(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:R1(t.inputTextConfiguration),outputSerialization:R1(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},vD(r.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-upload",r,async i=>{let n={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:vx(r.tier),blobTagsString:R0(r.tags),tracingOptions:i.tracingOptions},s=await R8(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return R4(await this.blockBlobContext.upload(s.contentLength,s.body,n))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>R4(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:R3(t.sourceAuthorization),tier:vx(t.tier),blobTagsString:R0(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return vD(i.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-stageBlock",i,async n=>{let s={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},a=await R8(t,r,s,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return R4(await this.blockBlobContext.stageBlock(e,a.contentLength,a.body,s))})}async stageBlockFromURL(e,t,r=0,i,n={}){return vD(n.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-stageBlockFromURL",n,async s=>R4(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:0!==r||i?vP({offset:r,count:i}):void 0,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:R3(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-commitBlockList",t,async r=>R4(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:vx(t.tier),blobTagsString:R0(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return R6.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=R4(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return R6.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return R6.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let n=r.maxSingleShotSize??0x10000000;if(n<0||n>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>n&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),R6.withSpan("BlockBlobClient-uploadSeekableInternal",r,async s=>{if(t<=n)return R4(await this.upload(e(0,t),t,s));let a=Math.floor((t-1)/i)+1;if(a>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let o=[],A=Ir(),l=0,c=new vH(r.concurrency);for(let n=0;n<a;n++)c.addOperation(async()=>{let c=R$(A,n),d=i*n,u=(n===a-1?t:d+i)-d;o.push(c),await this.stageBlock(c,e(d,u),u,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=u,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(o,s)})}async uploadFile(e,t={}){return R6.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await vq(e)).size;return this.uploadSeekableInternal((t,r)=>()=>vz(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),R6.withSpan("BlockBlobClient-uploadStream",i,async n=>{let s=0,a=Ir(),o=0,A=[],l=new QW(e,t,r,async(e,t)=>{let r=R$(a,s);A.push(r),s++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),o+=t,i.onProgress&&i.onProgress({loadedBytes:o})},Math.ceil(r/4*3));return await l.do(),R4(await this.commitBlockList(A,{...i,tracingOptions:n.tracingOptions}))})}}class vW extends vV{pageBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},bV(t))s=e,n=t,i=r;else if(t instanceof bx||t instanceof bt||Ef(t))s=e,n=bJ(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let a=RV(e);if("AccountConnString"===a.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new bx(a.accountName,a.accountKey);s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Et(a.proxyUri)),n=bJ(e,i)}else if("SASConnString"===a.kind)s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+a.accountSas,n=bJ(new bt,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,i=r,n=bJ(new bt,i);super(s,n),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new vW(RJ(this.url,bH,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("PageBlobClient-create",t,async r=>R4(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:vx(t.tier),blobTagsString:R0(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return R6.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=R4(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},vD(i.customerProvidedKey,this.isHttps),R6.withSpan("PageBlobClient-uploadPages",i,async n=>{let s={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:vP({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},a=await R8(e,r,s,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return R4(await this.pageBlobContext.uploadPages(a.contentLength,a.body,s))})}async uploadPagesFromURL(e,t,r,i,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},vD(n.customerProvidedKey,this.isHttps),R6.withSpan("PageBlobClient-uploadPagesFromURL",n,async s=>R4(await this.pageBlobContext.uploadPagesFromURL(e,vP({offset:t,count:i}),0,vP({offset:r,count:i}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:R3(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},R6.withSpan("PageBlobClient-clearPages",r,async i=>R4(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:vP({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},R6.withSpan("PageBlobClient-getPageRanges",r,async i=>vR(R4(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:vP({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return R6.withSpan("PageBlobClient-getPageRangesSegment",i,async n=>R4(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:vP({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let n;if(r||void 0===r)do r=(n=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await n;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let n of this.listPageRangeItemSegments(e,t,i,r))yield*R5(n)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},R6.withSpan("PageBlobClient-getPageRangesDiff",i,async n=>vR(R4(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:vP({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,n={}){return R6.withSpan("PageBlobClient-getPageRangesDiffSegment",n,async s=>R4(await this.pageBlobContext.getPageRangesDiff({abortSignal:n?.abortSignal,leaseAccessConditions:n?.conditions,modifiedAccessConditions:{...n?.conditions,ifTags:n?.conditions?.tagConditions},prevsnapshot:r,range:vP({offset:e,count:t}),marker:i,maxPageSize:n?.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,n){let s;if(i||void 0===i)do i=(s=await this.listPageRangesDiffSegment(e,t,r,i,n)).continuationToken,yield await s;while(i)}async *listPageRangeDiffItems(e,t,r,i){let n;for await(let s of this.listPageRangeDiffItemSegments(e,t,r,n,i))yield*R5(s)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let n=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>n.next(),[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,{maxPageSize:n.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},R6.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async n=>vR(R4(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:vP({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},R6.withSpan("PageBlobClient-resize",t,async r=>R4(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},R6.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>R4(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return R6.withSpan("PageBlobClient-startCopyIncremental",t,async r=>R4(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(eS=eq||(eq={}))[eS.LOCKED=0]="LOCKED",eS[eS.UNLOCKED=1]="UNLOCKED",(ez||(ez={})).AES256="AES256";var vj=class extends Error{reason;limit;actual;_tag="GuardExceeded";constructor(e,t,r){super(`${e}: limit ${t}, actual ${r}`),this.reason=e,this.limit=t,this.actual=r}};let vK=e=>e instanceof vj,v$=(e,t)=>{if(!Number.isSafeInteger(t)||t<1)throw TypeError(`@effected/glob internal cap ${e} must be a positive integer, received ${t}`);return t},vX=(e,{windowsPathsNoEscape:t=!1,magicalBraces:r=!0}={})=>r?t?e.replace(/\[([^/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):t?e.replace(/\[([^/\\{}])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1"),vZ=Symbol("globstar **"),v0=e=>{if("string"!=typeof e)throw TypeError("invalid pattern");if(e.length>65536)throw new vj("PatternTooLong",65536,e.length)},v1={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},v2=e=>e.replace(/[[\]\\-]/g,"\\$&"),v3=(e,t)=>{if("["!==e.charAt(t))throw Error("not in a brace expression");let r=[],i=[],n=t+1,s=!1,a=!1,o=!1,A=!1,l=t,c="";t:for(;n<e.length;){let d=e.charAt(n);if(("!"===d||"^"===d)&&n===t+1){A=!0,n++;continue}if("]"===d&&s&&!o){l=n+1;break}if(s=!0,"\\"===d&&!o){o=!0,n++;continue}if("["===d&&!o){for(let[s,[o,A,l]]of Object.entries(v1))if(e.startsWith(s,n)){if(c)return["$.",!1,e.length-t,!0];n+=s.length,l?i.push(o):r.push(o),a=a||A;continue t}}if(o=!1,c){d>c?r.push(`${v2(c)}-${v2(d)}`):d===c&&r.push(v2(d)),c="",n++;continue}if(e.startsWith("-]",n+1)){r.push(v2(`${d}-`)),n+=2;continue}if(e.startsWith("-",n+1)){c=d,n+=2;continue}r.push(v2(d)),n++}if(l<n)return["",!1,0,!1];if(!r.length&&!i.length)return["$.",!1,e.length-t,!0];let d=r[0];if(0===i.length&&1===r.length&&void 0!==d&&/^\\?.$/.test(d)&&!A)return[(2===d.length?d.slice(-1):d).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),!1,l-t,!1];let u=`[${A?"^":""}${r.join("")}]`,g=`[${A?"":"^"}${i.join("")}]`;return[r.length&&i.length?`(${u}|${g})`:r.length?u:g,a,l-t,!0]},v5=new Set(["!","?","+","*","@"]),v4=e=>v5.has(e),v8=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),v9=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),v6=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),v7=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),ke="(?!\\.)",kt=new Set(["[","."]),kr=new Set(["..","."]),ki=new Set("().*{}+?[]^$\\!"),kn=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ks="[^/]",ka=`${ks}*?`,ko=`${ks}+?`,kA=e=>{if(e>256)throw new vj("NestingDepthExceeded",256,e)},kl=0;var kc=class e{type;#tV;#t_;#tJ=!1;#tW=[];#tj;#tK;#t$;#tX=!1;#T;#tZ;#t0=!1;id=++kl;get depth(){return(this.#tj?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#tV.id,parent:this.#tj?.id,depth:this.depth,partsLength:this.#tW.length,parts:this.#tW}}constructor(e,t,r={}){this.type=e,e&&(this.#t_=!0),this.#tj=t,this.#tV=this.#tj?this.#tj.#tV:this,this.#T=this.#tV===this?r:this.#tV.#T,this.#t$=this.#tV===this?[]:this.#tV.#t$,"!"!==e||this.#tV.#tX||this.#t$.push(this),this.#tK=this.#tj?this.#tj.#tW.length:0}get hasMagic(){if(void 0!==this.#t_)return this.#t_;for(let e of this.#tW)if("string"!=typeof e&&(e.type||e.hasMagic)){this.#t_=!0;break}return this.#t_}toString(){return void 0!==this.#tZ||(this.type?this.#tZ=`${this.type}(${this.#tW.map(e=>String(e)).join("|")})`:this.#tZ=this.#tW.map(e=>String(e)).join("")),this.#tZ}#t1(){if(this!==this.#tV)throw Error("should only call on root");if(this.#tX)return this;this.toString(),this.#tX=!0;let e=this.#t$.pop();for(;void 0!==e;){if("!"!==e.type){e=this.#t$.pop();continue}let t=e,r=t.#tj;for(;r;){for(let i=t.#tK+1;!r.type&&i<r.#tW.length;i++)for(let t of e.#tW){if("string"==typeof t)throw Error("string part in extglob AST??");let e=r.#tW[i];void 0!==e&&t.copyIn(e)}r=(t=r).#tj}e=this.#t$.pop()}return this}push(...t){for(let r of t)if(""!==r){if("string"!=typeof r&&!(r instanceof e&&r.#tj===this))throw Error(`invalid part: ${r}`);this.#tW.push(r)}}toJSON(){let e=null===this.type?this.#tW.slice().map(e=>"string"==typeof e?e:e.toJSON()):[this.type,...this.#tW.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#tV||this.#tV.#tX&&this.#tj?.type==="!")&&e.push({}),e}isStart(){if(this.#tV===this)return!0;if(!this.#tj?.isStart())return!1;if(0===this.#tK)return!0;let t=this.#tj;for(let r=0;r<this.#tK;r++){let i=t.#tW[r];if(!(i instanceof e&&"!"===i.type))return!1}return!0}isEnd(){if(this.#tV===this||this.#tj?.type==="!")return!0;if(!this.#tj?.isEnd())return!1;if(!this.type)return this.#tj?.isEnd();let e=this.#tj?this.#tj.#tW.length:0;return this.#tK===e-1}copyIn(e,t=0){kA(t),"string"==typeof e?this.push(e):this.push(e.clone(this,t+1))}clone(t,r=0){kA(r);let i=new e(this.type,t);for(let e of this.#tW)i.copyIn(e,r+1);return i}static #t2(t,r,i,n,s,a){kA(a);let o=n.maxExtglobRecursion??2,A=!1,l=!1,c=-1,d=!1;if(null===r.type){let u=i,g="";for(;u<t.length;){let i=t.charAt(u++);if(A||"\\"===i){A=!A,g+=i;continue}if(l){u===c+1?("^"===i||"!"===i)&&(d=!0):"]"!==i||u===c+2&&d||(l=!1),g+=i;continue}if("["===i){l=!0,c=u,d=!1,g+=i;continue}if(!n.noext&&v4(i)&&"("===t.charAt(u)&&s<=o){r.push(g),g="";let o=new e(i,r);u=e.#t2(t,o,u,n,s+1,a+1),r.push(o);continue}g+=i}return r.push(g),u}let u=i+1,g=new e(null,r),h=[],p="";for(;u<t.length;){let i=t.charAt(u++);if(A||"\\"===i){A=!A,p+=i;continue}if(l){u===c+1?("^"===i||"!"===i)&&(d=!0):"]"!==i||u===c+2&&d||(l=!1),p+=i;continue}if("["===i){l=!0,c=u,d=!1,p+=i;continue}if(!n.noext&&v4(i)&&"("===t.charAt(u)&&(s<=o||r.#t3(i))){let o=+!r.#t3(i);g.push(p),p="";let A=new e(i,g);g.push(A),u=e.#t2(t,A,u,n,s+o,a+1);continue}if("|"===i){g.push(p),p="",h.push(g),g=new e(null,r);continue}if(")"===i)return""===p&&0===r.#tW.length&&(r.#t0=!0),g.push(p),p="",r.push(...h,g),u;p+=i}return r.type=null,r.#t_=void 0,r.#tW=[t.substring(i-1)],u}#t5(e){return this.#t4(e,v9)}#t4(e,t=v8){if(!e||"object"!=typeof e||null!==e.type||1!==e.#tW.length||null===this.type)return!1;let r=e.#tW[0];return!!r&&"object"==typeof r&&null!==r.type&&this.#t3(r.type,t)}#t3(e,t=v6){return!!t.get(this.type)?.includes(e)}#t8(t,r){let i=t.#tW[0],n=new e(null,i,this.options);n.#tW.push(""),i.push(n),this.#t9(t,r)}#t9(e,t){let r=e.#tW[0];for(let e of(this.#tW.splice(t,1,...r.#tW),r.#tW))"object"==typeof e&&(e.#tj=this);this.#tZ=void 0}#t6(e){return!!v7.get(this.type)?.has(e)}#t7(e){if(!e||"object"!=typeof e||null!==e.type||1!==e.#tW.length||null===this.type||1!==this.#tW.length)return!1;let t=e.#tW[0];return!!t&&"object"==typeof t&&null!==t.type&&this.#t6(t.type)}#re(e){let t=v7.get(this.type),r=e.#tW[0],i=t?.get(r.type);if(i){for(let e of(this.#tW=r.#tW,this.#tW))"object"==typeof e&&(e.#tj=this);this.type=i,this.#tZ=void 0,this.#t0=!1}}static fromGlob(t,r={}){void 0!==r.maxExtglobRecursion&&v$("maxExtglobRecursion",r.maxExtglobRecursion);let i=new e(null,void 0,r);return e.#t2(t,i,0,r,0,0),i}toMMPattern(){if(this!==this.#tV)return this.#tV.toMMPattern();let e=this.toString(),[t,r,i,n]=this.toRegExpSource();return i||this.#t_||this.#T.nocase&&!this.#T.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()?Object.assign(RegExp(`^${t}$`,(this.#T.nocase?"i":"")+(n?"u":"")),{_src:t,_glob:e}):r}get options(){return this.#T}toRegExpSource(t,r=0){kA(r);let i=t??!!this.#T.dot;if(this.#tV===this&&(this.#rt(),this.#t1()),!v4(this.type)){let n=this.isStart()&&this.isEnd()&&!this.#tW.some(e=>"string"!=typeof e),s=this.#tW.map(i=>{let[s,a,o,A]="string"==typeof i?e.#rr(i,this.#t_,n):i.toRegExpSource(t,r+1);return this.#t_=this.#t_||o,this.#tJ=this.#tJ||A,s}).join(""),a="";if(this.isStart()&&"string"==typeof this.#tW[0]&&!(1===this.#tW.length&&kr.has(this.#tW[0]))){let e=i&&kt.has(s.charAt(0))||s.startsWith("\\.")&&kt.has(s.charAt(2))||s.startsWith("\\.\\.")&&kt.has(s.charAt(4)),r=!i&&!t&&kt.has(s.charAt(0));a=e?"(?!(?:^|/)\\.\\.?(?:$|/))":r?ke:""}let o="";this.isEnd()&&this.#tV.#tX&&this.#tj?.type==="!"&&(o="(?:$|\\/)");let A=a+s+o;return this.#t_=!!this.#t_,[A,vX(s),this.#t_,this.#tJ]}let n="*"===this.type||"+"===this.type,s="!"===this.type?"(?:(?!(?:":"(?:",a=this.#ri(i,r);if(this.isStart()&&this.isEnd()&&!a&&"!"!==this.type){let e=this.toString();return this.#tW=[e],this.type=null,this.#t_=void 0,[e,vX(this.toString()),!1,!1]}let o=!n||t||i?"":this.#ri(!0,r);o===a&&(o=""),o&&(a=`(?:${a})(?:${o})*?`);let A="";return A="!"===this.type&&this.#t0?(this.isStart()&&!i?ke:"")+ko:s+a+("!"===this.type?`))${this.isStart()&&!i&&!t?ke:""}${ka})`:"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&o?")":"*"===this.type&&o?")?":`)${this.type}`),this.#t_=!!this.#t_,[A,vX(a),this.#t_,this.#tJ]}#rt(e=0){if(kA(e),v4(this.type)){let t=0,r=!1;do{r=!0;for(let t=0;t<this.#tW.length;t++){let i=this.#tW[t];"object"==typeof i&&(i.#rt(e+1),this.#t4(i)?(r=!1,this.#t9(i,t)):this.#t5(i)?(r=!1,this.#t8(i,t)):this.#t7(i)&&(r=!1,this.#re(i)))}}while(!r&&++t<10)}else for(let t of this.#tW)"object"==typeof t&&t.#rt(e+1);this.#tZ=void 0}#ri(e,t){return this.#tW.map(r=>{if("string"==typeof r)throw Error("string type in extglob ast??");let[i,n,s,a]=r.toRegExpSource(e,t+1);return this.#tJ=this.#tJ||a,i}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join("|")}static #rr(e,t,r=!1){let i=t,n=!1,s="",a=!1,o=!1;for(let t=0;t<e.length;t++){let A=e.charAt(t);if(n){n=!1,s+=(ki.has(A)?"\\":"")+A;continue}if("*"===A){if(o)continue;o=!0,s+=r&&/^[*]+$/.test(e)?ko:ka,i=!0;continue}if(o=!1,"\\"===A){t===e.length-1?s+="\\\\":n=!0;continue}if("["===A){let[r,n,o,A]=v3(e,t);if(o){s+=r,a=a||n,t+=o-1,i=i||A;continue}}if("?"===A){s+=ks,i=!0;continue}s+=kn(A)}return[s,vX(e),!!i,a]}};let kd=(e,t)=>{let r=t.match(e);return r?r[0]:null},ku=(e,t,r)=>{let i=e instanceof RegExp?kd(e,r):e,n=t instanceof RegExp?kd(t,r):t;if(null===i||null===n)return!1;let s=kg(i,n,r);return void 0!==s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+i.length,s[1]),post:r.slice(s[1]+n.length)}},kg=(e,t,r)=>{let i,n,s,a,o=r.indexOf(e),A=r.indexOf(t,o+1),l=o;if(o>=0&&A>0){if(e===t)return[o,A];let c=[];for(n=r.length;l>=0&&!a;){if(l===o)c.push(l),o=r.indexOf(e,l+1);else if(1===c.length){let e=c.pop();void 0!==e&&(a=[e,A])}else void 0!==(i=c.pop())&&i<n&&(n=i,s=A),A=r.indexOf(t,l+1);l=o<A&&o>=0?o:A}c.length&&void 0!==s&&(a=[n,s])}return a},kh=`\0SLASH${Math.random()}\0`,kp=`\0OPEN${Math.random()}\0`,km=`\0CLOSE${Math.random()}\0`,kf=`\0COMMA${Math.random()}\0`,kC=`\0PERIOD${Math.random()}\0`,ky=RegExp(kh,"g"),kI=RegExp(kp,"g"),kE=RegExp(km,"g"),kB=RegExp(kf,"g"),kQ=RegExp(kC,"g"),kb=/\\\\/g,kN=/\\{/g,kS=/\\}/g,kw=/\\,/g,kx=/\\\./g,kD=e=>Number.isNaN(Number(e))?e.charCodeAt(0):Number.parseInt(e,10),kR=e=>e.replace(ky,"\\").replace(kI,"{").replace(kE,"}").replace(kB,",").replace(kQ,"."),kv=(e,t)=>{if(t>256)throw new vj("NestingDepthExceeded",256,t);if(!e)return[""];let r=[],i=ku("{","}",e);if(!i)return e.split(",");let{pre:n,body:s,post:a}=i,o=n.split(",");o[o.length-1]+=`{${s}}`;let A=kv(a,t+1);return a.length&&(o[o.length-1]+=A.shift()??"",o.push(...A)),r.push(...o),r},kk=e=>`{${e}}`,kM=e=>/^-?0\d/.test(e),kF=(e,t)=>e<=t,kU=(e,t)=>e>=t,kT=/^\*+([^+@!?*[(]*)$/,kL=/^\*+\.\*+$/,kO=e=>!e.startsWith(".")&&e.includes("."),kP=e=>"."!==e&&".."!==e&&e.includes("."),kH=/^\.\*+$/,kY=e=>"."!==e&&".."!==e&&e.startsWith("."),kG=/^\*+$/,kq=e=>0!==e.length&&!e.startsWith("."),kz=e=>0!==e.length&&"."!==e&&".."!==e,kV=/^\?+([^+@!?*[(]*)?$/,k_=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(".")},kJ=([e])=>{let t=e.length;return e=>e.length===t&&"."!==e&&".."!==e},kW=(e,t={})=>(v0(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e))?[e]:((e,t={})=>{if(!e)return[];let r=v$("braceExpandMax",t.max??1e5),i=e;return"{}"===i.slice(0,2)&&(i=`\\{\\}${i.slice(2)}`),(function e(t,r,i,n){if(n>256)throw new vj("NestingDepthExceeded",256,n);let s=[],a=t,o=i;for(;;){let t,i,A=ku("{","}",a);if(!A)return[a];let l=A.pre;if(/\$$/.test(A.pre)){let t=A.post.length?e(A.post,r,!1,n+1):[""];if(t.length>r)throw new vj("ExpansionBudgetExceeded",r,t.length);for(let e of t)s.push(`${l}{${A.body}}${e}`);return s}let c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),d=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),u=c||d,g=A.body.indexOf(",")>=0;if(!u&&!g){if(A.post.match(/,(?!,).*\}/)){a=`${A.pre}{${A.body}${km}${A.post}`,o=!0;continue}return[a]}let h=A.post.length?e(A.post,r,!1,n+1):[""];if(u)t=A.body.split(/\.\./);else{let i=(t=kv(A.body,n+1))[0];if(1===t.length&&void 0!==i&&1===(t=e(i,r,!1,n+1).map(kk)).length)return h.map(e=>`${A.pre}${t[0]}${e}`)}let p=t[0],m=t[1];if(u&&void 0!==p&&void 0!==m){let e=kD(p),n=kD(m),s=Math.max(p.length,m.length),a=t[2],o=3===t.length&&void 0!==a?Math.max(Math.abs(kD(a)),1):1,A=kF;n<e&&(o*=-1,A=kU);let l=t.some(kM),c=Math.floor(Math.abs(n-e)/Math.abs(o))+1;if(c>r)throw new vj("ExpansionBudgetExceeded",r,c);i=[];for(let t=e;A(t,n);t+=o){let e;if(d)"\\"===(e=String.fromCharCode(t))&&(e="");else if(e=String(t),l){let r=s-e.length;if(r>0){let i="0".repeat(r);e=t<0?`-${i}${e.slice(1)}`:`${i}${e}`}}i.push(e)}}else for(let s of(i=[],t))i.push(...e(s,r,!1,n+1));for(let e=0;e<i.length;e++)for(let t=0;t<h.length;t++){let n=l+i[e]+h[t];if(!o||u||n){if(s.length>=r)throw new vj("ExpansionBudgetExceeded",r,s.length+(i.length-e)*h.length-t);s.push(n)}}return s}})(i.replace(kb,kh).replace(kN,kp).replace(kS,km).replace(kw,kf).replace(kx,kC),r,!0,0).map(kR)})(e,void 0===t.braceExpandMax?{}:{max:t.braceExpandMax}),kj=/[?*]|[+@!]\(.*?\)|\[|\]/;var kK=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){v0(e),this.options=t,this.maxGlobstarRecursion=v$("maxGlobstarRecursion",t.maxGlobstarRecursion??200),this.pattern=e,this.platform=t.platform??"posix",this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==t.windowsNoMagicRoot?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if("string"!=typeof t)return!0;return!1}debug(){}make(){let e=this.pattern;if(!this.options.nocomment&&"#"===e.charAt(0)){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],this.debug(this.pattern,this.globSet);let t=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(t),this.debug(this.pattern,this.globParts);let r=this.globParts.map(e=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=""===e[0]&&""===e[1]&&("?"===e[2]||void 0!==e[2]&&!kj.test(e[2]))&&void 0!==e[3]&&!kj.test(e[3]),r=void 0!==e[0]&&/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(r)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>-1===e.indexOf(!1)),this.isWindows)for(let e=0;e<this.set.length;e++){let t=this.set[e];void 0!==t&&""===t[0]&&""===t[1]&&this.globParts[e]?.[2]==="?"&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3])&&(t[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){let t=e;if(this.options.noglobstar)for(let e of t)for(let t=0;t<e.length;t++)"**"===e[t]&&(e[t]="*");let{optimizationLevel:r=1}=this.options;return r>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=r>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(e){return e.map(e=>{let t=e.indexOf("**");for(;-1!==t;){let r=t;for(;"**"===e[r+1];)r++;r!==t&&e.splice(t,r-t),t=e.indexOf("**",t+1)}return e})}levelOneOptimize(e){return e.map(e=>{let t=e.reduce((e,t)=>{let r=e[e.length-1];return"**"===t&&"**"===r||(".."===t&&r&&".."!==r&&"."!==r&&"**"!==r?e.pop():e.push(t)),e},[]);return 0===t.length?[""]:t})}levelTwoFileOptimize(e){let t=Array.isArray(e)?e:this.slashSplit(e),r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let e=1;e<t.length-1;e++){let i=t[e];(1!==e||""!==i||""!==t[0])&&("."===i||""===i)&&(r=!0,t.splice(e,1),e--)}"."===t[0]&&2===t.length&&("."===t[1]||""===t[1])&&(r=!0,t.pop())}let e=t.indexOf("..",1);for(;-1!==e;){let i=t[e-1];i&&"."!==i&&".."!==i&&"**"!==i&&!(this.isWindows&&/^[a-z]:$/i.test(i))&&(r=!0,t.splice(e-1,2),e-=2),e=t.indexOf("..",e+1)}}while(r);return 0===t.length?[""]:t}firstPhasePreProcess(e){let t=!1;do for(let r of(t=!1,e)){let i=r.indexOf("**");for(;-1!==i;){let n=i;for(;"**"===r[n+1];)n++;n>i&&r.splice(i+1,n-i);let s=r[i+1],a=r[i+2],o=r[i+3];if(".."!==s||!a||"."===a||".."===a||!o||"."===o||".."===o){i=r.indexOf("**",i+1);continue}t=!0,r.splice(i,1);let A=r.slice(0);A[i]="**",e.push(A),i--,i=r.indexOf("**",i+1)}if(!this.preserveMultipleSlashes){for(let e=1;e<r.length-1;e++){let i=r[e];(1!==e||""!==i||""!==r[0])&&("."===i||""===i)&&(t=!0,r.splice(e,1),e--)}"."===r[0]&&2===r.length&&("."===r[1]||""===r[1])&&(t=!0,r.pop())}let n=r.indexOf("..",1);for(;-1!==n;){let e=r[n-1];if(e&&"."!==e&&".."!==e&&"**"!==e){t=!0;let e=1===n&&"**"===r[n+1]?["."]:[];r.splice(n-1,2,...e),0===r.length&&r.push(""),n-=2}n=r.indexOf("..",n+1)}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let r=t+1;r<e.length;r++){let i=e[t],n=e[r];if(void 0===i||void 0===n)continue;let s=this.partsMatch(i,n,!this.preserveMultipleSlashes);if(s){e[t]=[],e[r]=s;break}}return e.filter(e=>e.length)}partsMatch(e,t,r=!1){let i=0,n=0,s=[],a="";for(;i<e.length&&n<t.length;){let o=e[i],A=t[n];if(o===A)s.push("b"===a?A:o),i++,n++;else if(r&&"**"===o&&A===e[i+1])s.push(o),i++;else if(r&&"**"===A&&o===t[n+1])s.push(A),n++;else if("*"===o&&A&&(this.options.dot||!A.startsWith("."))&&"**"!==A){if("b"===a)return!1;a="a",s.push(o),i++,n++}else{if("*"!==A||!o||!this.options.dot&&o.startsWith(".")||"**"===o||"a"===a)return!1;a="b",s.push(A),i++,n++}}return e.length===t.length&&s}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,r=0;for(let i=0;i<e.length&&"!"===e.charAt(i);i++)t=!t,r++;r&&(this.pattern=e.slice(r)),this.negate=t}matchOne(e,t,r=!1){let i=e,n=0,s=0;if(this.isWindows){let e=i[0],r="string"==typeof e&&/^[a-z]:$/i.test(e),a=!r&&""===i[0]&&""===i[1]&&"?"===i[2]&&"string"==typeof i[3]&&/^[a-z]:$/i.test(i[3]),o=t[0],A="string"==typeof o&&/^[a-z]:$/i.test(o),l=!A&&""===t[0]&&""===t[1]&&"?"===t[2]&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3]),c=a?3:r?0:void 0,d=l?3:A?0:void 0;if("number"==typeof c&&"number"==typeof d){let[e,r]=[i[c],t[d]];e.toLowerCase()===r.toLowerCase()&&(t[d]=e,s=d,n=c)}}let{optimizationLevel:a=1}=this.options;return(a>=2&&(i=this.levelTwoFileOptimize(i)),t.includes(vZ))?this.#rn(i,t,r,n,s):this.#rs(i,t,r,n,s)}#rn(e,t,r,i,n){let s=i,a=n,o=t.indexOf(vZ,a),A=t.lastIndexOf(vZ),[l,c,d]=r?[t.slice(a,o),t.slice(o+1),[]]:[t.slice(a,o),t.slice(o+1,A),t.slice(A+1)];if(l.length){let t=e.slice(s,s+l.length);if(!this.#rs(t,l,r,0,0))return!1;s+=l.length,a+=l.length}let u=0;if(d.length){if(d.length+s>e.length)return!1;let t=e.length-d.length;if(this.#rs(e,d,r,t,0))u=d.length;else{if(""!==e[e.length-1]||s+d.length===e.length||(t--,!this.#rs(e,d,r,t,0)))return!1;u=d.length+1}}if(!c.length){let t=!!u;for(let r=s;r<e.length-u;r++){let i=String(e[r]);if(t=!0,"."===i||".."===i||!this.options.dot&&i.startsWith("."))return!1}return r||t}let g=[[[],0]],h=g[0],p=0,m=[0];for(let e of c)e===vZ?(m.push(p),h=[[],0],g.push(h)):(h[0].push(e),p++);let f=g.length-1,C=e.length-u;for(let e of g)e[1]=C-(m[f--]+e[0].length);return!!this.#ra(e,g,s,0,r,0,!!u)}#ra(e,t,r,i,n,s,a){let o=r,A=a,l=t[i];if(!l){for(let t=o;t<e.length;t++){A=!0;let r=e[t];if("."===r||".."===r||!this.options.dot&&r.startsWith("."))return!1}return A}let[c,d]=l;for(;o<=d;){if(this.#rs(e.slice(0,o+c.length),c,n,o,0)&&s<this.maxGlobstarRecursion){let r=this.#ra(e,t,o+c.length,i+1,n,s+1,A);if(!1!==r)return r}let r=e[o];if("."===r||".."===r||void 0!==r&&!this.options.dot&&r.startsWith("."))return!1;o++}return n||null}#rs(e,t,r,i,n){let s,a,o,A;for(s=i,a=n,A=e.length,o=t.length;s<A&&a<o;s++,a++){let r;this.debug("matchOne loop");let i=t[a],n=e[s];if(this.debug(t,i,n),!1===i||i===vZ||("string"==typeof i?(r=n===i,this.debug("string match",i,n,r)):(r=i.test(n),this.debug("pattern match",i,n,r)),!r))return!1}if(s===A&&a===o)return!0;if(s===A)return r;if(a===o)return s===A-1&&""===e[s];throw Error("wtf?")}braceExpand(){return kW(this.pattern,this.options)}parse(e){v0(e);let t=this.options;if("**"===e)return vZ;if(""===e)return"";let r=null,i=e.match(kG),n=i?null:e.match(kT),s=i||n?null:e.match(kV),a=i||n||s?null:e.match(kL),o=i||n||s||a?null:e.match(kH);i?r=t.dot?kz:kq:n?r=(t.nocase?t.dot?e=>{let t=e.toLowerCase();return e=>e.toLowerCase().endsWith(t)}:e=>{let t=e.toLowerCase();return e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)}:t.dot?e=>t=>t.endsWith(e):e=>t=>!t.startsWith(".")&&t.endsWith(e))(n[1]):s?r=(t.nocase?t.dot?([e,t=""])=>{let r=kJ([e]);if(!t)return r;let i=t.toLowerCase();return e=>r(e)&&e.toLowerCase().endsWith(i)}:([e,t=""])=>{let r=k_([e]);if(!t)return r;let i=t.toLowerCase();return e=>r(e)&&e.toLowerCase().endsWith(i)}:t.dot?([e,t=""])=>{let r=kJ([e]);return t?e=>r(e)&&e.endsWith(t):r}:([e,t=""])=>{let r=k_([e]);return t?e=>r(e)&&e.endsWith(t):r})(s):a?r=t.dot?kP:kO:o&&(r=kY);let A=kc.fromGlob(e,this.options).toMMPattern();return r&&"object"==typeof A&&Reflect.defineProperty(A,"test",{value:r}),A}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,r=t.noglobstar?"[^/]*?":t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(t.nocase?["i"]:[]),n=e.map(e=>{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(""))i.add(t);return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===vZ?vZ:e._src});t.forEach((e,i)=>{let n=t[i+1],s=t[i-1];e===vZ&&s!==vZ&&(void 0===s?void 0!==n&&n!==vZ?t[i+1]=`(?:\\/|${r}\\/)?${n}`:t[i]=r:void 0===n?t[i-1]=`${s}(?:\\/|\\/${r})?`:n!==vZ&&(t[i-1]=`${s}(?:\\/|\\/${r}\\/)${n}`,t[i+1]=vZ))});let n=t.filter(e=>e!==vZ);if(this.partial&&n.length>=1){let e=[];for(let t=1;t<=n.length;t++)e.push(n.slice(0,t).join("/"));return`(?:${e.join("|")})`}return n.join("/")}).join("|"),[s,a]=e.length>1?["(?:",")"]:["",""];n=`^${s}${n}${a}$`,this.partial&&(n=`^(?:\\/|${s}${n.slice(1,-1)}${a})$`),this.negate&&(n=`^(?!${n}).+$`);try{this.regexp=new RegExp(n,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;let r=this.options,i=e;this.isWindows&&(i=i.split("\\").join("/"));let n=this.slashSplit(i);this.debug(this.pattern,"split",n);let s=this.set;this.debug(this.pattern,"set",s);let a=n[n.length-1]??"";if(!a)for(let e=n.length-2;!a&&e>=0;e--)a=n[e]??"";for(let e of s){let i=n;if(r.matchBase&&1===e.length&&(i=[a]),this.matchOne(i,e,t)){if(r.flipNegate)return!0;return!this.negate}}return!r.flipNegate&&this.negate}},k$=class extends ha()("GlobPatternError",{pattern:gO,reason:gJ(["PatternTooLong","ExpansionBudgetExceeded","NestingDepthExceeded"]),limit:gP,actual:gP}){get message(){let e=this.pattern.length>64?`${this.pattern.slice(0,64)}…`:this.pattern;return`glob pattern ${JSON.stringify(e)} rejected: ${this.reason} (limit ${this.limit}, actual ${this.actual})`}};hs("GlobPatternOptions")({nobrace:gM(gH),nocomment:gM(gH),nonegate:gM(gH),noglobstar:gM(gH),noext:gM(gH),dot:gM(gH),nocase:gM(gH),nocaseMagicOnly:gM(gH),magicalBraces:gM(gH),matchBase:gM(gH),flipNegate:gM(gH),partial:gM(gH),preserveMultipleSlashes:gM(gH),windowsPathsNoEscape:gM(gH),windowsNoMagicRoot:gM(gH),optimizationLevel:gM(gP.check(g4(),g5({minimum:0,maximum:2}))),platform:gM(gJ(["posix","aix","android","darwin","freebsd","haiku","linux","openbsd","sunos","win32","cygwin","netbsd"])),braceExpandMax:gM(gP.check(g4(),g5({minimum:1,maximum:1e5}))),maxGlobstarRecursion:gM(gP.check(g4(),g3(0))),maxExtglobRecursion:gM(gP.check(g4(),g3(0)))});let kX=e=>({...e?.nobrace!==void 0&&{nobrace:e.nobrace},...e?.nocomment!==void 0&&{nocomment:e.nocomment},...e?.nonegate!==void 0&&{nonegate:e.nonegate},...e?.noglobstar!==void 0&&{noglobstar:e.noglobstar},...e?.noext!==void 0&&{noext:e.noext},...e?.dot!==void 0&&{dot:e.dot},...e?.nocase!==void 0&&{nocase:e.nocase},...e?.nocaseMagicOnly!==void 0&&{nocaseMagicOnly:e.nocaseMagicOnly},...e?.magicalBraces!==void 0&&{magicalBraces:e.magicalBraces},...e?.matchBase!==void 0&&{matchBase:e.matchBase},...e?.flipNegate!==void 0&&{flipNegate:e.flipNegate},...e?.partial!==void 0&&{partial:e.partial},...e?.preserveMultipleSlashes!==void 0&&{preserveMultipleSlashes:e.preserveMultipleSlashes},...e?.windowsPathsNoEscape!==void 0&&{windowsPathsNoEscape:e.windowsPathsNoEscape},...e?.windowsNoMagicRoot!==void 0&&{windowsNoMagicRoot:e.windowsNoMagicRoot},...e?.optimizationLevel!==void 0&&{optimizationLevel:e.optimizationLevel},...e?.platform!==void 0&&{platform:e.platform},...e?.braceExpandMax!==void 0&&{braceExpandMax:e.braceExpandMax},...e?.maxGlobstarRecursion!==void 0&&{maxGlobstarRecursion:e.maxGlobstarRecursion},...e?.maxExtglobRecursion!==void 0&&{maxExtglobRecursion:e.maxExtglobRecursion}}),kZ=e=>{try{return new kK(e,{}),!0}catch(e){if(vK(e))return e.message;throw e}};var k0=class e extends hs("GlobPattern")(gG({source:gO}).check(g2(e=>kZ(e.source),{title:"compilable glob pattern"}))){#ro;#rA={};#rl(){return void 0===this.#ro&&(this.#ro=new kK(this.source,this.#rA)),this.#ro}static compileResult(t,r){let i=kX(r);try{new kK(t,{});let r=new kK(t,i),n=new e({source:t});return n.#ro=r,n.#rA=i,r3(n)}catch(e){if(vK(e))return r2(new k$({pattern:t,reason:e.reason,limit:e.limit,actual:e.actual}));throw e}}static compile=cO("GlobPattern.compile")(function*(t,r){return yield*aP(e.compileResult(t,r))});matches(e){return this.#rl().match(e)}get hasMagic(){return this.#rl().hasMagic()}get negated(){return this.#rl().negate}get enumerationPrefix(){let e,t=this.#rl().set;if(0===t.length)return"";for(let r of t){let t=[];for(let e of r){if("string"!=typeof e)break;t.push(e)}if(void 0===e)e=t;else{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];)r++;e=e.slice(0,r)}}return void 0===e||0===e.length?"":`${e.join("/")}/`}get crossesSegments(){return this.#rl().set.some(e=>{if(e.includes(vZ))return!0;let t=e.findIndex(e=>"string"!=typeof e);return -1!==t&&t<e.length-1})}static escape(e,t){return((e,{windowsPathsNoEscape:t=!1,magicalBraces:r=!1}={})=>r?t?e.replace(/[?*()[\]{}]/g,"[$&]"):e.replace(/[?*()[\]\\{}]/g,"\\$&"):t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&"))(e,kX(t))}static unescape(e,t){return vX(e,kX(t))}static FromString=gO.pipe(gX(e,dV({decode:e=>({source:e}),encode:e=>e.source})))};let k1=e=>e.startsWith("!")?e.slice(1):void 0,k2=e=>{for(let t of e){let e=k1(t)??t;try{new kK(e,{})}catch(e){if(vK(e))return`pattern ${JSON.stringify(t.slice(0,64))}: ${e.message}`;throw e}}return!0};var k3=class e extends hs("GlobSet")(gG({patterns:gz(gO)}).check(g2(e=>k2(e.patterns),{title:"compilable glob pattern set"}))){#rc;#rd;#ru(){if(void 0!==this.#rc)return this.#rc;let e=[],t=new Set,r=[],i=[];for(let n of this.patterns){let s=k1(n);if(void 0!==s){i.push(k0.make({source:s}));continue}for(let i of kW(n,{})){let n=new kK(i,{});if(n.hasMagic()){r.push(k0.make({source:i}));continue}if(n.comment)continue;let s=1===n.set.length?n.set[0]:void 0;if(n.negate||void 0===s||!s.every(e=>"string"==typeof e)){r.push(k0.make({source:i}));continue}let a=s.join("/");t.has(a)||(t.add(a),e.push(a))}}return this.#rc={literals:e,wildcards:r,excludes:i},this.#rd=t,this.#rc}#rg(){return void 0===this.#rd&&this.#ru(),this.#rd}static compileResult(t){for(let e of t){let t=k1(e)??e;try{new kK(t,{})}catch(t){if(vK(t))return r2(new k$({pattern:e,reason:t.reason,limit:t.limit,actual:t.actual}));throw t}}return r3(new e({patterns:t}))}static compile=cO("GlobSet.compile")(function*(t){return yield*aP(e.compileResult(t))});matches(e){let{wildcards:t,excludes:r}=this.#ru();return!!(this.#rg().has(e)||t.some(t=>t.matches(e)))&&!r.some(t=>t.matches(e))}isExcluded(e){return this.#ru().excludes.some(t=>t.matches(e))}get literals(){return this.#ru().literals}get wildcards(){return this.#ru().wildcards}get excludes(){return this.#ru().excludes}},k5=class extends ha()("ActionCacheError",{reason:gJ(["misconfigured","unreachable","refused","archiveFailed","transferFailed"]),key:gM(gO),status:gM(gP),detail:gM(gO),stderr:gM(gO),cause:gM(g6())}){get message(){let e=void 0===this.key?"":` for "${this.key}"`,t=void 0===this.detail?"":`: ${this.detail}`;switch(this.reason){case"misconfigured":return`The Actions cache is not reachable from here${t}`;case"unreachable":return`The Actions cache could not be reached${e}${t}`;case"refused":return`The Actions cache refused the request${e}${void 0===this.status?"":` with status ${this.status}`}${t}`;case"archiveFailed":return`The cache archive could not be built or extracted${e}${void 0===this.stderr?"":`: ${this.stderr}`}`;default:return`The cache archive did not transfer${e}`}}};let k4=e=>(0,ff.createHash)("sha256").update([...e,"gzip","1.0"].join("|")).digest("hex"),k8={uploadFile:(e,t)=>cx({try:()=>new vJ(e).uploadFile(t,{blockSize:0x4000000,concurrency:8,maxSingleShotSize:0x8000000}),catch:e=>new yF({reason:"uploadFailed",cause:e})}).pipe(a4),downloadToFile:(e,t)=>cx({try:()=>new vV(e).downloadToFile(t),catch:e=>new yF({reason:"downloadFailed",cause:e})}).pipe(a4)},k9=(e,t)=>"string"==typeof e?{primary:e,fallbacks:t??[]}:{primary:e.key,fallbacks:t??e.restoreKeys},k6=e=>cD(function*(){let t=yield*yp,r=yield*pU,i=yield*mL,n=yield*mq,s=yield*pJ,a=yield*ot(s.getOptional("RUNNER_OS"),e=>il(e,{onNone:()=>!1,onSome:e=>"windows"===e.toLowerCase()})),o=cD(function*(){let e=yield*s.getOptional(yU),t=yield*s.getOptional(yT);return io(e)?yield*rD(yU):io(t)?yield*rD(yT):{baseUrl:e.value.endsWith("/")?e.value:`${e.value}/`,token:da(t.value),backendIds:(e=>{let t;try{t=(e=>{let t=e.split(".");if(3!==t.length)throw Error(`expected a three-segment JWT, got ${t.length}`);return JSON.parse(Buffer.from(t[1]??"","base64url").toString("utf8"))})(e)}catch(e){return r2(`the runtime token is not a readable JWT: ${e instanceof Error?e.message:e}`)}let r=t.scp;if("string"!=typeof r)return r2("the runtime token carries no `scp` claim");for(let e of r.split(" ")){let t=e.split(":");if("Actions.Results"!==t[0])continue;let r=t[1],i=t[2];if(3!==t.length||void 0===r||""===r||void 0===i||""===i)return r2(`the runtime token's Actions.Results scope is malformed: "${e}"`);return r3({workflowRunBackendId:r,workflowJobRunBackendId:i})}return r2("the runtime token carries no `Actions.Results` scope")})(t.value)}}).pipe(ox(e=>new k5({reason:"misconfigured",detail:`${e} is not set — the Actions cache is only reachable from a \`uses:\` step, never from \`run:\``}))),A=(e,r,i)=>cD(function*(){let{baseUrl:n,token:s}=yield*o;return yield*(e=>{let{baseUrl:t,body:r,http:i,method:n,service:s,token:a}=e;return cD(function*(){let e=Cj(`${t}twirp/${s}/${n}`).pipe(C0(a),C9(r)),o=yield*i.execute(e).pipe(ox(e=>({method:n,kind:"transport",cause:e})));return 409===o.status?yL:o.status<200||o.status>=300?yield*rD({method:n,kind:"status",status:o.status}):yield*o.json.pipe(ox(e=>({method:n,kind:"malformed",cause:e})))}).pipe(cB({schedule:cm("3 seconds",1.5),times:4,while:yO}))})({http:t,baseUrl:n,service:"github.actions.results.api.v1.CacheService",token:s,method:e,body:r}).pipe(ox(e=>new k5("status"===e.kind?{reason:"refused",key:i,detail:e.method,...void 0===e.status?{}:{status:e.status}}:{reason:"unreachable",key:i,detail:`${e.method} did not answer with a Twirp body`,...void 0===e.cause?{}:{cause:e.cause}})))}),l=(e,t,r)=>ck(cD(function*(){let i=mJ("tar",[...e]),s=e=>new k5({reason:"archiveFailed",key:t,cause:e}),a=yield*n.spawn(i).pipe(ox(s)),o=yield*pR(pb(a.all)).pipe(ox(s)),A=yield*a.exitCode.pipe(ox(s));if(0!==A&&!(r&&1===A))return yield*rD(new k5({reason:"archiveFailed",key:t,stderr:o.trim()}))})),c=(e,t)=>cF(r.makeTempDirectory({prefix:"effected-cache-"}).pipe(ox(t=>new k5({reason:"archiveFailed",key:e,cause:t}))),e=>t(i.join(e,"cache.tar.gz"),e),e=>oR(r.remove(e,{recursive:!0,force:!0}))),d=e=>ox(t=>new k5({reason:"transferFailed",key:e,cause:t})),u=e=>e.replaceAll("\\","/");return{save:cO("ActionCache.save")(function*(t,n){let{primary:a}=k9(n,void 0);yield*cT({key:a});let o=k4(t);if(0===t.length)return yield*rD(new k5({reason:"archiveFailed",key:a,detail:"no paths were given to cache"}));let g=yield*cD(function*(){let e=(e,t)=>new k5({reason:"archiveFailed",key:a,detail:e,...void 0===t?{}:{cause:t}}),n=t.map(e=>e.trim()).filter(e=>""!==e&&!e.startsWith("#")),o=ih((yield*s.getOptional("GITHUB_WORKSPACE")),()=>"."),A=u(i.resolve(o)),l=[];for(let t of n){let r=t.startsWith("!"),n=r?t.slice(1):t;if("~"===n||n.startsWith("~/")){let r=yield*s.getOptional("HOME");if(io(r)&&(r=yield*s.getOptional("USERPROFILE")),io(r))return yield*rD(e(`cannot expand "~" in "${t}" — neither HOME nor USERPROFILE is set`));n=`${k0.escape(u(i.resolve(r.value)))}${n.slice(1)}`}i.isAbsolute(n)||(n=`${k0.escape(A)}/${n}`),l.push(r?`!${n}`:n)}let c=yield*k3.compile(l).pipe(ox(t=>e(`"${t.pattern}" is not a usable glob pattern`,t))),d=[],g=[],h=(e,t)=>{""!==e&&(d.includes(e)||d.push(e),t&&!g.includes(e)&&g.push(e))};for(let e of c.literals)h(e,!1);for(let e of c.wildcards){if(e.negated)continue;let t=e.enumerationPrefix;h(""===t?A:"/"===t?"/":t.slice(0,-1),!0)}let p=(e,t)=>"/"===t?"/"!==e:e.startsWith(`${t}/`),m=d.filter(e=>!d.some(t=>t!==e&&p(e,t))),f=e=>g.some(t=>t===e||p(t,e)),C=[],y=new Set,I=e=>{!y.has(e)&&c.matches(e)&&(y.add(e),C.push(e))};for(let t of m){let i=yield*r.stat(t).pipe(cv);if(!io(i)&&(I(t),"Directory"===i.value.type&&f(t)))for(let i of yield*r.readDirectory(t,{recursive:!0}).pipe(ox(r=>e(`could not enumerate "${t}"`,r))))I(`${t}/${u(i)}`)}return 0===C.length?yield*rD(e(`no file or directory matched the cache paths: ${n.join(", ")}`)):C});yield*c(a,(t,n)=>cD(function*(){let s=i.join(n,"manifest.txt");yield*r.writeFileString(s,`${g.join("\n")} +`).pipe(ox(e=>new k5({reason:"archiveFailed",key:a,cause:e}))),yield*l(["czPf",t,"-T",s],a,!1);let c=yield*r.stat(t).pipe(ox(e=>new k5({reason:"archiveFailed",key:a,cause:e}))),u=yield*A("CreateCacheEntry",{key:a,version:o},a);if(u===yL)return;let h=yH(u,"signedUploadUrl");if(!yY(u)||void 0===h)return yield*rD(new k5({reason:"refused",key:a,detail:"CreateCacheEntry returned no upload url"}));yield*e.uploadFile(h,t).pipe(d(a));let p=yield*A("FinalizeCacheEntryUpload",{key:a,version:o,size_bytes:String(c.size)},a);if(p===yL||!yY(p))return yield*rD(new k5({reason:"refused",key:a,detail:"FinalizeCacheEntryUpload did not confirm the upload"}))}))}),restore:cO("ActionCache.restore")(function*(t,r,i){let{primary:n,fallbacks:s}=k9(r,i);yield*cT({key:n});let o=k4(t),u=yield*A("GetCacheEntryDownloadURL",{key:n,restore_keys:[...s],version:o},n);if(u===yL||!yY(u))return ii();let g=yH(u,"signedDownloadUrl");return void 0===g?ii():(yield*c(n,t=>cD(function*(){yield*e.downloadToFile(g,t).pipe(d(n)),yield*l([a?"xzPkf":"xzPf",t],n,a)})),is(yH(u,"matchedKey")??n))})}}),k7=e=>{throw Error(`ActionCache.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var Me=class e extends n0()("@effected/github-actions/ActionCache"){static layer=l5(this,k6(k8));static layerWith=t=>l5(e,k6(t));static makeTest=(e={})=>({save:()=>aL(()=>k7("save")),restore:()=>aL(()=>k7("restore")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))},Mt=class extends ha()("ToolInstallerError",{reason:gJ(["downloadFailed","extractFailed","cacheFailed"]),status:gM(gP),subject:gM(gO),stderr:gM(gO),cause:gM(g6())}){get message(){switch(this.reason){case"downloadFailed":return`Could not download ${this.subject}${void 0===this.status?"":` (HTTP ${this.status})`}`;case"extractFailed":return`Could not extract ${this.subject}${void 0===this.stderr?"":`: ${this.stderr}`}`;default:return`Could not cache ${this.subject} into the tool cache`}}get retryable(){return"downloadFailed"===this.reason&&(void 0===this.status||this.status>=500||408===this.status||429===this.status)}};let Mr=cD(function*(){let e=yield*pJ,t=yield*pU,r=yield*mL,i=yield*yp,n=yield*mq,s=yield*ot(e.getOptional("RUNNER_TOOL_CACHE"),e=>ih(e,()=>r.join("/tmp","runner-tool-cache"))),a=yield*ot(e.getOptional("RUNNER_OS"),e=>il(e,{onNone:()=>!1,onSome:e=>"windows"===e.toLowerCase()})),o=(e,t)=>Mn.cachePath({root:s,tool:e,version:t,arch:process.arch}),A=e=>{let r=e?.destination;return void 0===r?t.makeTempDirectory({prefix:"effected-extract-"}).pipe(ox(e=>new Mt({reason:"extractFailed",cause:e}))):t.makeDirectory(r,{recursive:!0}).pipe(a2(r),ox(e=>new Mt({reason:"extractFailed",subject:r,cause:e})))},l=(e,t)=>ck(cD(function*(){let r=e=>new Mt({reason:"extractFailed",subject:t,cause:e}),i=yield*n.spawn(e).pipe(ox(r)),s=yield*pR(pb(i.all)).pipe(ox(r));if((yield*i.exitCode.pipe(ox(r)))!==0)return yield*rD(new Mt({reason:"extractFailed",subject:t,stderr:s.trim()}))})),c=(e,i,n)=>cD(function*(){let s=o(i,n);return yield*t.makeDirectory(r.dirname(s),{recursive:!0}),yield*t.remove(s,{recursive:!0,force:!0}),yield*t.rename(e,s),s}).pipe(ox(e=>new Mt({reason:"cacheFailed",subject:i,cause:e}))),d=(e,r)=>cD(function*(){return yield*t.makeDirectory(s,{recursive:!0}),yield*t.makeTempDirectory({directory:s,prefix:".staging-"})}).pipe(ox(t=>new Mt({reason:"cacheFailed",subject:e,cause:t})),a9(e=>r(e).pipe(ob(()=>oR(t.remove(e,{recursive:!0,force:!0})))))),u=cO("ToolInstaller.download")(function*(e,n){return yield*cD(function*(){let n=yield*i.get(e).pipe(ox(t=>new Mt({reason:"downloadFailed",subject:e,cause:t})));if(n.status<200||n.status>=300)return yield*rD(new Mt({reason:"downloadFailed",subject:e,status:n.status}));let s=yield*t.makeTempDirectory({prefix:"effected-download-"}).pipe(ox(t=>new Mt({reason:"downloadFailed",subject:e,cause:t}))),a=r.join(s,"download");return yield*pw(n.stream,t.sink(a)).pipe(ox(t=>new Mt({reason:"downloadFailed",subject:e,cause:t}))),a}).pipe(oH(n?.timeout??"5 minutes"),ow("TimeoutError",t=>rD(new Mt({reason:"downloadFailed",subject:e,cause:t}))),cB({schedule:cm("1 second"),times:2,while:e=>e.retryable}))}),g=(e,r)=>ot(ov(t.stat(o(e,r))),t=>"Success"===t._tag&&"Directory"===t.success.type?is(o(e,r)):ii()),h=cO("ToolInstaller.cacheFile")(function*(e,i,n,s){return yield*cT({tool:n,version:s}),yield*d(n,a=>t.copyFile(e,r.join(a,i)).pipe(ox(e=>new Mt({reason:"cacheFailed",subject:n,cause:e})),a9(()=>c(a,n,s))))});return{find:g,download:u,extractTar:cO("ToolInstaller.extractTar")(function*(e,t){let r=yield*A(t),i=t?.flags===void 0||0===t.flags.length?["xzf"]:[...t.flags];return yield*l(mJ("tar",[...i,e,"-C",r]),e),r}),extractZip:cO("ToolInstaller.extractZip")(function*(e,t){let r=yield*A(t),i=a?mJ("pwsh",["-NoProfile","-NonInteractive","-Command",`$ErrorActionPreference = 'Stop'; try { Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory('${e.replaceAll("'","''")}', '${r.replaceAll("'","''")}', $true) } catch { [Console]::Error.WriteLine($_.Exception.ToString()); exit 1 }`]):mJ("unzip",["-oq",e,"-d",r]);return yield*l(i,e),r}),cacheDir:cO("ToolInstaller.cacheDir")(function*(e,r,i){return yield*cT({tool:r,version:i}),yield*d(r,n=>t.copy(e,n,{overwrite:!0}).pipe(ox(e=>new Mt({reason:"cacheFailed",subject:r,cause:e})),a9(()=>c(n,r,i))))}),cacheFile:h,provisionFile:cO("ToolInstaller.provisionFile")(function*(e){yield*cT({tool:e.tool,version:e.version});let i=yield*g(e.tool,e.version);if(iA(i)){let n=yield*ov(t.stat(r.join(i.value,e.binary)));if("Success"===n._tag&&"File"===n.success.type)return{directory:i.value,binDir:i.value}}let n=yield*u(e.url);a||(yield*t.chmod(n,493).pipe(ox(e=>new Mt({reason:"cacheFailed",subject:n,cause:e}))));let s=yield*h(n,e.binary,e.tool,e.version);return{directory:s,binDir:s}})}}),Mi=e=>{throw Error(`ToolInstaller.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var Mn=class e extends n0()("@effected/github-actions/ToolInstaller"){static layer=l5(this,Mr);static cachePath=e=>`${e.root}/${e.tool}/${e.version}/${e.arch}`;static makeTest=(e={})=>({find:()=>aL(()=>Mi("find")),download:()=>aL(()=>Mi("download")),extractTar:()=>aL(()=>Mi("extractTar")),extractZip:()=>aL(()=>Mi("extractZip")),cacheDir:()=>aL(()=>Mi("cacheDir")),cacheFile:()=>aL(()=>Mi("cacheFile")),provisionFile:()=>aL(()=>Mi("provisionFile")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))};let Ms=/^(sha1|sha256|sha384|sha512)-[A-Za-z0-9+/]+={0,2}$/,Ma=/^(sha1|sha224|sha256|sha384|sha512)\.[0-9a-f]+$/,Mo=/^[0-9]+(c[0-9]+)?\/[0-9a-f]+$/,MA=e=>Ms.test(e),Ml=e=>Ma.test(e),Mc=e=>Mo.test(e),Md=e=>MA(e)||Ml(e)||Mc(e);var Mu=class extends ha()("InvalidIntegrityHashError",{input:gO}){get message(){return`Invalid integrity hash "${this.input}": expected an SRI (<algo>-<base64>), corepack (<algo>.<hex>) or yarn (<cachekey>/<hex>) form`}};let Mg=gO.pipe(gK(g2(e=>Md(e)?void 0:"Expected an SRI, corepack or yarn integrity hash")),g$("IntegrityHash"));Object.assign(Mg,{isSri:MA,isCorepack:Ml,isYarnChecksum:Mc,isValid:Md,algorithmOf:e=>MA(e)?is(e.slice(0,e.indexOf("-"))):Ml(e)?is(e.slice(0,e.indexOf("."))):ii(),decode:e=>gD(Mg)(e).pipe(ox(()=>new Mu({input:e})))});let Mh=Mg.pipe(gK(g2(e=>Ml(e)?void 0:"Expected a corepack (<algo>.<hex>) integrity hash")));var Mp=class{position;constructor(e){this.position=e}};let Mm=(e,t)=>{throw new Mp(t??e.pos)},Mf=e=>e.pos<e.len?e.input[e.pos]:void 0,MC=e=>{if(e.pos<e.len){let t=e.input[e.pos];return e.pos++,t}},My=e=>e>="0"&&e<="9",MI=e=>My(e)||e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e,ME=e=>e.pos>=e.len,MB=e=>{let t=Mf(e);return void 0!==t&&My(t)},MQ=e=>{let t=Mf(e);return void 0!==t&&MI(t)},Mb=e=>{let t=e.pos,r=Mf(e);if(void 0===r||!My(r))return Mm(e);let i="";for(;MB(e);)i+=MC(e);if(i.length>1&&"0"===i[0])return e.pos=t,Mm(e,t);let n=Number(i);return Number.isSafeInteger(n)?n:(e.pos=t,Mm(e,t))},MN=e=>{let t=e.pos,r="",i=!1,n=Mf(e);if(void 0===n||!MI(n))return Mm(e);for(;MQ(e);){let t=MC(e)??"";My(t)||(i=!0),r+=t}if(0===r.length)return Mm(e);if(i)return r;if(r.length>1&&"0"===r[0])return e.pos=t,Mm(e,t);let s=Number(r);return Number.isSafeInteger(s)?s:(e.pos=t,Mm(e,t))},MS=e=>{let t="",r=Mf(e);if(void 0===r||!MI(r))return Mm(e);for(;MQ(e);)t+=MC(e)??"";return 0===t.length?Mm(e):t},Mw=e=>{let t=e.trim();if(0===t.length)return{ok:!1,input:e,position:0};let r={input:t,pos:0,len:t.length};try{return{ok:!0,value:(e=>{let t=Mf(e);if("v"===t||"V"===t||"="===t)return Mm(e,0);let r=Mb(e);if("."!==Mf(e))return Mm(e);MC(e);let i=Mb(e);if("."!==Mf(e))return Mm(e);MC(e);let n=Mb(e),s=[];ME(e)||"-"!==Mf(e)||(MC(e),s=(e=>{let t=[];for(t.push(MN(e));!ME(e)&&"."===Mf(e);)MC(e),t.push(MN(e));return t})(e));let a=[];return(ME(e)||"+"!==Mf(e)||(MC(e),a=(e=>{let t=[];for(t.push(MS(e));!ME(e)&&"."===Mf(e);)MC(e),t.push(MS(e));return t})(e)),ME(e))?{major:r,minor:i,patch:n,prerelease:s,build:a}:Mm(e)})(r)}}catch(e){if(e instanceof Mp)return{ok:!1,input:t,position:e.position};throw e}},Mx=e=>{let t=`${e.major}.${e.minor}.${e.patch}`;return e.prerelease.length>0&&(t+=`-${e.prerelease.join(".")}`),e.build.length>0&&(t+=`+${e.build.join(".")}`),t},MD=(e,t)=>"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?e<t?-1:+(e>t):"number"==typeof e?-1:1;var MR=class extends ha()("InvalidVersionError",{input:gO,position:gM(gP)}){get message(){let e=`Invalid version string: "${this.input}"`;return void 0!==this.position?`${e} at position ${this.position}`:e}};let Mv=gP.check(g4(),g5({minimum:0,maximum:Number.MAX_SAFE_INTEGER})),Mk=g_([gO.check(uP(/^[0-9]*[A-Za-z-][0-9A-Za-z-]*$/)),Mv]),MM=gO.check(uP(/^[0-9A-Za-z-]+$/));var MF=class e extends hs("SemVer")({major:Mv,minor:Mv,patch:Mv,prerelease:gz(Mk),build:gz(MM)}){static FromString=gO.pipe(gX(e,dz({decode:e=>{let t=Mw(e);return t.ok?aU(t.value):rD(new dC(is(e),{message:`Invalid version string: "${t.input}" at position ${t.position}`}))},encode:e=>aU(Mx(e))})));static ExactVersionString=gO.pipe(gK(g2(t=>e.isValid(t)?void 0:"Expected an exact SemVer 2.0.0 version string (ranges, partial versions, dist-tags and surrounding whitespace are not valid)")));static PinnableVersionString=gO.pipe(gK(g2(t=>e.isPinnable(t)?void 0:"Expected an exact SemVer version with no build metadata (ranges, partial versions, dist-tags and surrounding whitespace are not pinnable)")));static parseResult(t){let r=Mw(t);return r.ok?r3(e.make(r.value)):r2(new MR({input:r.input,position:r.position}))}static parse=cO("SemVer.parse")(t=>aP(e.parseResult(t)));static isValid(t){return t===t.trim()&&r1(e.parseResult(t))}static isPinnable(t){if(t!==t.trim())return!1;let r=e.parseResult(t);return r1(r)&&0===r.success.build.length}static of(t,r,i,n=[],s=[]){return e.make({major:t,minor:r,patch:i,prerelease:n,build:s})}static Order=r5((e,t)=>e.compare(t));static OrderWithBuild=r5((e,t)=>{let r=e.compare(t);return 0!==r?r:((e,t)=>{let r=e.length>0,i=t.length>0;if(!r&&i)return -1;if(r&&!i)return 1;let n=Math.min(e.length,t.length);for(let r=0;r<n;r++){if(e[r]<t[r])return -1;if(e[r]>t[r])return 1}return e.length!==t.length?e.length<t.length?-1:1:0})(e.build,t.build)});static compare=eK(2,(e,t)=>e.compare(t));static gt=eK(2,(e,t)=>e.gt(t));static gte=eK(2,(e,t)=>e.gte(t));static lt=eK(2,(e,t)=>e.lt(t));static lte=eK(2,(e,t)=>e.lte(t));static equal=eK(2,(e,t)=>e.equal(t));static neq=eK(2,(e,t)=>e.neq(t));static truncate=eK(2,(t,r)=>"prerelease"===r?e.make({major:t.major,minor:t.minor,patch:t.patch,prerelease:[],build:[]}):e.make({major:t.major,minor:t.minor,patch:t.patch,prerelease:t.prerelease,build:[]}));static sort(t){return[...t].sort(e.Order)}static rsort(e){return[...e].sort((e,t)=>t.compare(e))}static max(e){let t;for(let r of e)(void 0===t||r.gt(t))&&(t=r);return void 0===t?ii():is(t)}static min(e){let t;for(let r of e)(void 0===t||r.lt(t))&&(t=r);return void 0===t?ii():is(t)}static groupBy(t,r){let i={};for(let n of e.sort(t)){let e;switch(r){case"major":e=`${n.major}`;break;case"minor":e=`${n.major}.${n.minor}`;break;case"patch":e=`${n.major}.${n.minor}.${n.patch}`}let t=i[e]??[];t.push(n),i[e]=t}return i}static latestByMajor(t){let r=new Map;for(let i of e.sort(t))r.set(i.major,i);return Array.from(r.values())}static latestByMinor(t){let r=new Map;for(let i of e.sort(t))r.set(`${i.major}.${i.minor}`,i);return Array.from(r.values())}compare(e){if(this.major!==e.major)return this.major>e.major?1:-1;if(this.minor!==e.minor)return this.minor>e.minor?1:-1;if(this.patch!==e.patch)return this.patch>e.patch?1:-1;let t=this.prerelease,r=e.prerelease;if(0===t.length&&0===r.length)return 0;if(0===t.length)return 1;if(0===r.length)return -1;let i=Math.min(t.length,r.length);for(let e=0;e<i;e++){let i=MD(t[e],r[e]);if(0!==i)return i<0?-1:1}return t.length!==r.length?t.length>r.length?1:-1:0}gt(e){return 1===this.compare(e)}gte(e){return this.compare(e)>=0}lt(e){return -1===this.compare(e)}lte(e){return 0>=this.compare(e)}equal(e){return 0===this.compare(e)}neq(e){return 0!==this.compare(e)}get isPrerelease(){return this.prerelease.length>0}get isStable(){return 0===this.prerelease.length}get bump(){return new MU(this)}[tx](t){return t instanceof e&&this.major===t.major&&this.minor===t.minor&&this.patch===t.patch&&this.prerelease.length===t.prerelease.length&&this.prerelease.every((e,r)=>e===t.prerelease[r])}[td](){return tC(Mx({major:this.major,minor:this.minor,patch:this.patch,prerelease:this.prerelease,build:[]}))}toString(){return Mx(this)}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},MU=class{v;constructor(e){this.v=e}major(){return MF.make({major:this.v.major+1,minor:0,patch:0,prerelease:[],build:[]})}minor(){return MF.make({major:this.v.major,minor:this.v.minor+1,patch:0,prerelease:[],build:[]})}patch(){return MF.make({major:this.v.major,minor:this.v.minor,patch:this.v.patch+1,prerelease:[],build:[]})}prerelease(e){let{major:t,minor:r,patch:i}=this.v,n=this.v.prerelease;if(0===n.length)return MF.make({major:t,minor:r,patch:i+1,prerelease:void 0!==e?[e,0]:[0],build:[]});if(void 0!==e&&("string"==typeof n[0]?n[0]:null)!==e)return MF.make({major:t,minor:r,patch:i,prerelease:[e,0],build:[]});let s=n[n.length-1];if("number"==typeof s){let e=[...n];return e[e.length-1]=s+1,MF.make({major:t,minor:r,patch:i,prerelease:e,build:[]})}return MF.make({major:t,minor:r,patch:i,prerelease:[...n,0],build:[]})}release(){return MF.make({major:this.v.major,minor:this.v.minor,patch:this.v.patch,prerelease:[],build:[]})}},MT=class extends ha()("InvalidPackageManagerPinError",{input:gO,reason:gJ(["format","name","version","integrity"])}){get message(){return"format"===this.reason?`Invalid package-manager pin "${this.input}": expected <name>@<version>[+<integrity>]`:"name"===this.reason?`Invalid package-manager pin "${this.input}": name must be one of npm, pnpm, yarn, bun`:"version"===this.reason?`Invalid package-manager pin "${this.input}": version must be an exact SemVer version (ranges, partial versions and dist-tags are not pinnable)`:`Invalid package-manager pin "${this.input}": integrity must be a corepack <algo>.<hex> hash`}};let ML=gJ(["npm","pnpm","yarn","bun"]),MO=MF.pipe(gK(g2(e=>0===e.build.length?void 0:"Expected a version without build metadata")));var MP=class e extends hs("PackageManagerPin")({name:ML,version:MO,integrity:gM(Mh)}){static FromString=gO.pipe(gX((ee=e,gx(e=>e instanceof ee,void 0)),dz({decode:t=>{let r=e.parseResult(t);return r1(r)?aU(r.success):rD(new dC(is(t),{message:r.failure.message}))},encode:e=>aU(e.toString())})));static parseResult(t){let r,i=t.indexOf("@");if(-1===i)return r2(new MT({input:t,reason:"format"}));let n=t.slice(0,i);if("npm"!==n&&"pnpm"!==n&&"yarn"!==n&&"bun"!==n)return r2(new MT({input:t,reason:"name"}));let s=t.slice(i+1),a=s.indexOf("+"),o=-1===a?s:s.slice(0,a),A=MF.parseResult(o);if(r0(A)||!MF.isPinnable(o))return r2(new MT({input:t,reason:"version"}));if(-1===a)return r3(e.make({name:n,version:A.success}));let l=(r=gE(gC(Mh,void 0)),(e,t)=>{var i;return"Success"===(i=r(e,t))._tag?rN(i.value):rx(au(i.cause,e=>new gg(e)))})(s.slice(a+1));return"Failure"===l._tag?r2(new MT({input:t,reason:"integrity"})):r3(e.make({name:n,version:A.success,integrity:l.value}))}static parse=cO("PackageManagerPin.parse")(t=>aP(e.parseResult(t)));toString(){let e=`${this.name}@${this.version.toString()}`;return void 0===this.integrity?e:`${e}+${this.integrity}`}},MH=class extends ha()("PackageManagerInstallerError",{reason:gJ(["downloadFailed","extractFailed","integrityMismatch","integrityMissing","unsupportedPlatform","layoutUnexpected","cacheFailed"]),name:ML,version:gO,subject:gM(gO),expected:gM(gO),actual:gM(gO),cause:gM(g6())}){get message(){let e=`${this.name}@${this.version}`;switch(this.reason){case"downloadFailed":return`Could not download ${e}${void 0===this.subject?"":` from ${this.subject}`}`;case"extractFailed":return`Could not extract ${e}${void 0===this.subject?"":` (${this.subject})`}`;case"integrityMismatch":return`Integrity mismatch for ${e}: expected ${this.expected}, got ${this.actual}`;case"integrityMissing":return`The pin for ${e} carries no integrity hash and requireIntegrity is set`;case"unsupportedPlatform":return`No ${e} build is published for ${this.subject}`;case"layoutUnexpected":return`The ${e} artifact does not have the expected layout${void 0===this.subject?"":`: ${this.subject}`}`;default:return`Could not cache ${e} into the tool cache${void 0===this.subject?"":`: ${this.subject}`}`}}},MY=class extends hs("AmbientPackageManager")({source:g0("ambient"),name:ML,version:gO,bins:gq(gO,gO)}){},MG=class extends hs("CachedPackageManager")({source:g0("tool-cache"),name:ML,version:gO,directory:gO,binDir:gO,bins:gq(gO,gO)}){};g_([MY,MG]);let Mq=".bin",Mz=e=>`#!/bin/sh +exec node "${e}" "$@" +`,MV=e=>`@echo off\r +node "${e}" %*\r +`,M_=e=>"x64"===e.toLowerCase()?"x64":"arm64"===e.toLowerCase()?"arm64":e,MJ=cD(function*(){let e=yield*pJ,t=yield*pU,r=yield*mL,i=yield*mq,n=yield*Mn,s=yield*ot(e.getOptional("RUNNER_OS"),e=>ih(e,()=>"")),a=yield*ot(e.getOptional("RUNNER_ARCH"),e=>il(e,{onNone:()=>process.arch,onSome:M_})),o="windows"===s.toLowerCase(),A=o?"bun.exe":"bun",l=e=>o?`${e}.cmd`:e,c=o?MV:Mz,d=yield*ot(e.getOptional("RUNNER_TOOL_CACHE"),e=>ih(e,()=>r.join("/tmp","runner-tool-cache"))),u=e=>t=>new MH({name:e.name,version:e.version.toString(),...t}),g=e=>t=>u(e)({reason:t.reason,...void 0===t.subject?{}:{subject:t.subject},cause:t}),h=(e,r)=>cD(function*(){if(void 0===e.integrity)return void(yield*cP(`The pin ${e.toString()} carries no integrity hash; the downloaded artifact was not verified.`));let i=e.integrity.indexOf("."),n=e.integrity.slice(0,i),s=e.integrity.slice(i+1),a=yield*aO(()=>{let i=(0,ff.createHash)(n);return t.stream(r).pipe(px(e=>aL(()=>{i.update(e)})),ot(()=>i.digest("hex")),ox(t=>u(e)({reason:"integrityMismatch",subject:r,cause:t})))});if(a!==s)return yield*rD(u(e)({reason:"integrityMismatch",subject:r,expected:e.integrity,actual:`${n}.${a}`}))}),p=ot(ov(i.string(mJ("npm",["--version"]))),e=>"Success"===e._tag?is(e.success.trim()):ii()),m=(e,r,i)=>cD(function*(){let n=yield*ov(t.stat(r));if("Success"!==n._tag||"File"!==n.success.type)return yield*rD(u(e)({reason:"layoutUnexpected",subject:i}))}),f=(e,i)=>cD(function*(){let n=r.join(i,"package.json"),s=yield*t.readFileString(n).pipe(ox(t=>u(e)({reason:"layoutUnexpected",subject:"no package.json",cause:t}))),a=iN(((e,t)=>{if("string"==typeof e)return is({[t]:e.replace(/^\.\//,"")});if("object"!=typeof e||null===e)return ii();let r={};for(let[t,i]of Object.entries(e)){if("string"!=typeof i)return ii();r[t]=i.replace(/^\.\//,"")}return 0===Object.keys(r).length?ii():is(r)})((yield*aV({try:()=>JSON.parse(s),catch:t=>u(e)({reason:"layoutUnexpected",subject:"unparseable package.json",cause:t})})).bin,e.name));if(void 0===a)return yield*rD(u(e)({reason:"layoutUnexpected",subject:"package.json names no bin"}));for(let[t,n]of Object.entries(a)){let s=r.join(i,n),a=r.relative(i,s);if(".."===a||a.startsWith(`..${r.sep}`)||r.isAbsolute(a))return yield*rD(u(e)({reason:"layoutUnexpected",subject:`bin ${t} (${n}) escapes the package directory`}));yield*m(e,s,`bin ${t} (${n}) is missing`)}return a}),C=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,i])=>[e,r.join(t,i)])),y=(e,i,n,s,a)=>cD(function*(){let A=r.join(i,Mq),d=t=>r=>u(e)({reason:"cacheFailed",subject:t,cause:r});for(let[e,i]of(yield*t.makeDirectory(A,{recursive:!0}).pipe(ox(d(A))),Object.entries(s))){let s=r.join(A,l(e));if(a.skipExisting){let e=yield*ov(t.stat(s));if("Success"===e._tag&&"File"===e.success.type)continue}yield*t.writeFileString(s,c(r.join(n,i))).pipe(ox(d(s))),o||(yield*t.chmod(s,493).pipe(ox(d(s))))}});return{install:cO("PackageManagerInstaller.install")(function*(e,i){let l,c=e.version.toString();if(yield*cT({name:e.name,version:c}),i?.requireIntegrity===!0&&void 0===e.integrity)return yield*rD(u(e)({reason:"integrityMissing"}));let I=yield*n.find(e.name,c);if(iA(I)){let t;return yield*(t=I.value,cD(function*(){if("bun"===e.name){let i=r.join(t,A);return yield*m(e,i,`cached bun binary (${A}) is missing`),MG.make({name:e.name,version:e.version.toString(),directory:t,binDir:t,bins:{bun:i}})}let i=yield*f(e,t);return yield*y(e,t,t,i,{skipExisting:!0}),MG.make({name:e.name,version:e.version.toString(),directory:t,binDir:r.join(t,Mq),bins:C(i,t)})}))}if("npm"===e.name&&i?.allowAmbient!==!1){let t=yield*p;if(iA(t)&&t.value===c)return MY.make({name:e.name,version:c,bins:{npm:"npm",npx:"npx"}})}if("bun"===e.name)return yield*cD(function*(){let i,l,c=e.version.toString(),d=iN((i="linux"===s.toLowerCase()?"linux":"macos"===s.toLowerCase()?"darwin":"windows"===s.toLowerCase()?"windows":void 0,l="x64"===a?"x64":"arm64"===a?"aarch64":void 0,void 0===i||void 0===l?ii():is(`bun-${i}-${l}`)));if(void 0===d)return yield*rD(u(e)({reason:"unsupportedPlatform",subject:`${s||"unknown"}/${a}`}));let p=`https://github.com/oven-sh/bun/releases/download/bun-v${c}/${d}.zip`,f=yield*n.download(p).pipe(ox(g(e)));yield*h(e,f);let C=yield*n.extractZip(f).pipe(ox(g(e))),y=r.join(C,d,A);yield*m(e,y,`${d}/${A} is missing from the zip`),o||(yield*t.chmod(y,493).pipe(ox(t=>u(e)({reason:"cacheFailed",subject:y,cause:t}))));let I=yield*n.cacheFile(y,A,e.name,c).pipe(ox(g(e)));return MG.make({name:e.name,version:c,directory:I,binDir:I,bins:{bun:r.join(I,A)}})});let E=(i?.registry??"https://registry.npmjs.org").replace(/\/+$/,"");return yield*(l=e.name,cD(function*(){let i,s=e.version.toString(),a=(i=e.version.major,"yarn"===l&&i>=2?`${E}/@yarnpkg/cli-dist/-/cli-dist-${s}.tgz`:`${E}/${l}/-/${l}-${s}.tgz`),o=yield*n.download(a).pipe(ox(g(e))),A="yarn"===l&&e.version.major>=2;A||(yield*h(e,o));let c=yield*n.extractTar(o).pipe(ox(g(e))),p=r.join(c,"package"),I=yield*ov(t.stat(p));if("Success"!==I._tag||"Directory"!==I.success.type)return yield*rD(u(e)({reason:"layoutUnexpected",subject:"tarball has no package/ root"}));let B=yield*f(e,p);if(A){let t=r.join(p,"bin/yarn.js");yield*m(e,t,"bin/yarn.js is missing from the cli-dist tarball"),yield*h(e,t)}let Q=Mn.cachePath({root:d,tool:l,version:s,arch:process.arch});yield*y(e,p,Q,B,{skipExisting:!1});let b=yield*n.cacheDir(p,l,s).pipe(ox(g(e)));return b!==Q?yield*rD(u(e)({reason:"cacheFailed",subject:`cache destination diverged: shims name ${Q}, entry landed at ${b}`})):MG.make({name:l,version:s,directory:b,binDir:r.join(b,Mq),bins:C(B,b)})}))})}});var MW=class e extends n0()("@effected/github-actions/PackageManagerInstaller"){static layer=l5(this,MJ);static makeTest=(e={})=>({install:()=>aL(()=>(e=>{throw Error(`PackageManagerInstaller.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)})("install")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))};let Mj=l6(Me.layer,MW.layer).pipe(ct(Mn.layer));Me.layer;let MK=(Array.isArray($=Array.isArray(ew={biomeVersion:mn(mh.string("biome-version")),turboCache:mh.string("turbo-cache").pipe(mi("auto")),turboCachePrefix:mh.string("turbo-cache-prefix").pipe(mi("")),turboToken:mn(mh.redacted("turbo-token")),turboTeam:mn(mh.string("turbo-team")),turboS3Bucket:mn(mh.string("turbo-s3-bucket")),turboS3Region:mn(mh.string("turbo-s3-region")),turboS3Endpoint:mn(mh.string("turbo-s3-endpoint")),turboS3AccessKeyId:mn(mh.string("turbo-s3-access-key-id")),turboS3SecretAccessKey:mn(mh.redacted("turbo-s3-secret-access-key")),turboS3SessionToken:mn(mh.redacted("turbo-s3-session-token")),turboS3Prefix:mn(mh.string("turbo-s3-prefix")),installDeps:mh.boolean("install-deps").pipe(mi(!0)),cacheBust:mn(mh.string("cache-bust")),additionalLockfiles:mh.lines("additional-lockfiles").pipe(mi([])),additionalCachePaths:mh.lines("additional-cache-paths").pipe(mi([]))})?ew:Symbol.iterator in ew?[...ew]:ew)?p7((e,t)=>Aa($.map(r=>r.parse(e,t)))):p7((e,t)=>Aa(nR($,r=>r.parse(e,t))))).pipe(me(e=>({...e,turboCache:"off"===e.turboCache?"off":"auto",cacheBust:ij(e.cacheBust,e=>"false"!==e&&""!==e)}))),M$={nodeVersion:"",nodeEnabled:!1,bunVersion:"",bunEnabled:!1,denoVersion:"",denoEnabled:!1,packageManager:"",packageManagerVersion:"",biomeVersion:"",biomeEnabled:!1,turboEnabled:!1,turboCacheBackend:"none",turboCachePort:"",cacheHit:"false",lockfiles:"",cachePaths:""};var MX=class extends ha()("DetachedProcessError",{reason:gJ(["logUnavailable","spawnFailed","invalidPid","signalFailed","notReady"]),pid:gM(gP),path:gM(gO),cause:gM(g6())}){get message(){switch(this.reason){case"logUnavailable":return`Could not open the detached log file "${this.path}"`;case"spawnFailed":return"The detached child did not start";case"invalidPid":return`Refusing to signal pid ${this.pid}: a non-positive pid targets a process group, not a process`;case"signalFailed":return`Could not signal pid ${this.pid}`;default:return"The detached child never became ready"}}};let MZ=gP.pipe(gK(g2(e=>Number.isInteger(e)&&e>0?void 0:"Expected a positive integer process id")),g$("ProcessId"));var M0=class{static spawn=cO("DetachedProcess.spawn")(function*(e){let t=yield*aV({try:()=>(0,fI.openSync)(e.logFile,"a"),catch:t=>new MX({reason:"logUnavailable",path:e.logFile,cause:t})}),r=yield*aV({try:()=>{try{let r=(0,m5.spawn)(e.command,[...e.args??[]],{...void 0===e.cwd?{}:{cwd:e.cwd},env:{...process.env,...e.env},detached:!0,stdio:["ignore",t,t]});if(r.on("error",()=>{}),r.unref(),void 0===r.pid)throw Error(`"${e.command}" produced no process id`);return r.pid}finally{(0,fI.closeSync)(t)}},catch:e=>new MX({reason:"spawnFailed",cause:e})});return yield*cT({pid:r}),mP(r)});static awaitReady=cO("DetachedProcess.awaitReady")(function*(e,t){let r=t?.interval??"150 millis",i=t?.attempts??40,n=t=>a9(e,e=>e?az:t<=0?rD(new MX({reason:"notReady"})):a9(AO(r),()=>n(t-1)));return yield*n(i)});static reap=cO("DetachedProcess.reap")(function*(e,t="SIGTERM"){return(yield*cT({pid:e}),!Number.isInteger(e)||e<=0)?yield*rD(new MX({reason:"invalidPid",pid:e})):yield*aO(()=>{try{return process.kill(e,t),aU(!0)}catch(t){return"object"==typeof t&&null!==t&&"ESRCH"===t.code?aU(!1):rD(new MX({reason:"signalFailed",pid:e,cause:t}))}})})};class M1 extends hs("CacheState")({paths:gz(gO),primaryKey:gO,restoredKey:g8(gO),lockfiles:gz(gO)}){}let M2=e=>iA(e.restoredKey)&&e.restoredKey.value===e.primaryKey;class M3 extends hs("TurboServerState")({pid:MZ,port:gP,backend:gJ(["github","s3"]),logFile:gO}){}let M5=e=>32===e||9===e||11===e||12===e||160===e||65279===e,M4=e=>10===e||13===e||8232===e||8233===e,M8=e=>e>=48&&e<=57,M9=(e,t=!1)=>{let r=e.length,i=0,n=0,s="Unknown",a="",o="None",A=t=>{let n=0;for(let s=0;s<t;s++){if(i>=r)return -1;let t=e.charCodeAt(i);if(t>=48&&t<=57)n=16*n+(t-48);else if(t>=65&&t<=70)n=16*n+(t-65+10);else{if(!(t>=97)||!(t<=102))return -1;n=16*n+(t-97+10)}i++}return n},l=()=>{let t=i;if(45===e.charCodeAt(i)&&i++,48===e.charCodeAt(i))i++;else{if(!M8(e.charCodeAt(i)))return o="UnexpectedEndOfNumber",e.substring(t,i);for(i++;i<r&&M8(e.charCodeAt(i));)i++}if(i<r&&46===e.charCodeAt(i)){if(i++,!M8(e.charCodeAt(i)))return o="UnexpectedEndOfNumber",e.substring(t,i);for(i++;i<r&&M8(e.charCodeAt(i));)i++}if(i<r&&(69===e.charCodeAt(i)||101===e.charCodeAt(i))){if(++i<r&&(43===e.charCodeAt(i)||45===e.charCodeAt(i))&&i++,!M8(e.charCodeAt(i)))return o="UnexpectedEndOfNumber",e.substring(t,i);for(i++;i<r&&M8(e.charCodeAt(i));)i++}return e.substring(t,i)},c=()=>{if(a="",o="None",i>=r)return n=r,s="EOF";let t=e.charCodeAt(i);if(M5(t)){n=i;do t=++i<r?e.charCodeAt(i):0;while(M5(t));return a=e.substring(n,i),s="Trivia"}if(M4(t))return n=i,i++,13===t&&i<r&&10===e.charCodeAt(i)&&i++,a=e.substring(n,i),s="LineBreak";switch(n=i,t){case 123:return i++,a="{",s="OpenBrace";case 125:return i++,a="}",s="CloseBrace";case 91:return i++,a="[",s="OpenBracket";case 93:return i++,a="]",s="CloseBracket";case 58:return i++,a=":",s="Colon";case 44:return i++,a=",",s="Comma";case 34:return a=(()=>{let t="",n=++i;for(;i<r;){let s=e.charCodeAt(i);if(34===s)return t+=e.substring(n,i),i++,t;if(92===s){if(t+=e.substring(n,i),++i>=r)return o="UnexpectedEndOfString",t;let s=e.charCodeAt(i);switch(i++,s){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:{let e=A(4);e>=0?t+=String.fromCharCode(e):o="InvalidUnicode";break}default:o="InvalidEscapeCharacter"}n=i}else{if(M4(s))return o="UnexpectedEndOfString",t+e.substring(n,i);s<=31&&(o="InvalidCharacter"),i++}}return o="UnexpectedEndOfString",t+e.substring(n,i)})(),s="String";case 47:{let t=i+1<r?e.charCodeAt(i+1):0;if(47===t){for(i+=2;i<r&&!M4(e.charCodeAt(i));)i++;return a=e.substring(n,i),s="LineComment"}if(42===t){i+=2;let t=r-1,A=!1;for(;i<t;){let t=e.charCodeAt(i);if(M4(t))13===t&&i+1<r&&10===e.charCodeAt(i+1)&&i++,i++;else if(42===t&&47===e.charCodeAt(i+1)){i+=2,A=!0;break}else i++}return A||(i=r,o="UnexpectedEndOfComment"),a=e.substring(n,i),s="BlockComment"}return i++,a=e.substring(n,i),o="InvalidCharacter",s="Unknown"}case 45:if(i+1<r&&M8(e.charCodeAt(i+1)))return a=l(),s="Number";return i++,a="-",o="InvalidSymbol",s="Unknown";default:if(M8(t))return a=l(),s="Number";if(t>=97&&t<=122){let t=i;for(i++;i<r;){let t=e.charCodeAt(i);if(t>=97&&t<=122)i++;else break}switch(a=e.substring(t,i)){case"true":return s="True";case"false":return s="False";case"null":return s="Null";default:return o="InvalidSymbol",s="Unknown"}}return i++,a=e.substring(n,i),o="InvalidCharacter",s="Unknown"}};return{scan:()=>{let e=c();for(;t&&("Trivia"===e||"LineBreak"===e||"LineComment"===e||"BlockComment"===e);)e=c();return e},getToken:()=>s,getTokenValue:()=>a,getTokenOffset:()=>n,getTokenLength:()=>i-n,getTokenError:()=>o}},M6=gJ(["object","array","property","string","number","boolean","null"]);var M7=class extends hs("JsoncNode")({type:M6,offset:gP,length:gP,value:gM(gU),colonOffset:gM(gP),children:gM(gz(gj(()=>M7)))}){find(e){let t=this;for(let r of e){if(t?.children===void 0)return ii();if("string"==typeof r){if("object"!==t.type)return ii();t=t.children.find(e=>"property"===e.type&&void 0!==e.children&&e.children[0]?.value===r)?.children?.[1]}else{if("array"!==t.type)return ii();t=t.children[r]}}return void 0!==t?is(t):ii()}findAtOffset(e){return function e(t,r,i){if(r<t.offset||r>=t.offset+t.length)return ii();if(void 0===t.children||i>=256)return is(t);for(let n of t.children)if(r>=n.offset&&r<n.offset+n.length)return e(n,r,i+1);return is(t)}(this,e,0)}pathAt(e){return function e(t,r,i,n=0){if(r<t.offset||r>=t.offset+t.length)return ii();if(void 0===t.children||n>=256)return is(i);if("object"===t.type){for(let s of t.children)if("property"===s.type&&void 0!==s.children&&r>=s.offset&&r<s.offset+s.length){let t=[...i,s.children[0]?.value],a=s.children[1];if(void 0!==a&&r>=a.offset&&r<a.offset+a.length)return e(a,r,t,n+1);return is(t)}}else if("array"===t.type)for(let s=0;s<t.children.length;s++){let a=t.children[s];if(r>=a.offset&&r<a.offset+a.length)return e(a,r,[...i,s],n+1)}return is(i)}(this,e,[])}toValue(){return function e(t,r){if(r>=256)return"object"===t.type?{}:"array"===t.type?[]:null;switch(t.type){case"object":{let i={};if(void 0!==t.children){for(let n of t.children)if("property"===n.type&&void 0!==n.children&&2===n.children.length){let t=n.children[0].value,s=e(n.children[1],r+1);"__proto__"===t?Object.defineProperty(i,t,{value:s,writable:!0,enumerable:!0,configurable:!0}):i[t]=s}}return i}case"array":return(t.children??[]).map(t=>e(t,r+1));case"property":return t.children?.[1]!==void 0?e(t.children[1],r+1):void 0;default:return t.value}}(this,0)}};let Fe=e=>Object.assign(Object.create(M7.prototype),e),Ft=e=>{switch(e){case"InvalidUnicode":return"InvalidUnicode";case"InvalidEscapeCharacter":return"InvalidEscapeCharacter";case"UnexpectedEndOfNumber":return"InvalidNumberFormat";case"UnexpectedEndOfComment":return"UnexpectedEndOfComment";case"UnexpectedEndOfString":return"UnexpectedEndOfString";case"InvalidCharacter":return"InvalidCharacter";case"InvalidSymbol":return"InvalidSymbol";default:return}};function Fr(e,t,r){let i=M9(e,!1),n=[],s=t.disallowComments??!1,a=t.allowTrailingComma??!0,o=t.allowEmptyContent??!1,A="Unknown",l=0;function c(){for(;;){A=i.scan();let e=Ft(i.getTokenError());switch(void 0!==e&&p(e),A){case"LineComment":case"BlockComment":s&&p("InvalidCommentToken");break;case"Trivia":case"LineBreak":break;default:return A}}}function d(){return i.getTokenOffset()+i.getTokenLength()}function u(){n.some(e=>"NestingDepthExceeded"===e.code)||n.push({code:"NestingDepthExceeded",offset:i.getTokenOffset(),length:i.getTokenLength()})}let g={getToken:function(){return A},advance:()=>{c()},tokenStart:()=>i.getTokenOffset(),tokenEnd:d};function h(){(e=>{let t=e.getToken();if("CloseBrace"===t||"CloseBracket"===t||"EOF"===t)return e.tokenStart();let r=0,i=e.tokenEnd();do{let t=e.getToken();"OpenBrace"===t||"OpenBracket"===t?r++:("CloseBrace"===t||"CloseBracket"===t)&&r--,e.tokenEnd(),e.advance()}while(r>0&&"EOF"!==e.getToken())})(g)}function p(e,t=[],r=[]){if(n.push({code:e,offset:i.getTokenOffset(),length:i.getTokenLength()}),t.length>0||r.length>0){let e=A;for(;"EOF"!==e;){if(t.includes(e)){c();break}if(r.includes(e))break;e=c()}}}function m(e,t){let r=i.getTokenOffset(),n=d();return c(),Fe({type:e,offset:r,length:n-r,value:t})}if(c(),r){let e=function e(){switch(A){case"OpenBracket":return function(){let t=i.getTokenOffset();if(l>=256)return u(),h(),Fe({type:"array",offset:t,length:i.getTokenOffset()-t,children:[]});l++;try{var r=t;let n,s=[];c();let o=!1;for(;"CloseBracket"!==A&&"EOF"!==A;){if("Comma"===A){if(o||p("ValueExpected"),c(),"CloseBracket"===A&&a)break}else o&&p("CommaExpected");let t=e();void 0!==t?s.push(t):p("ValueExpected",[],["CloseBracket","Comma"]),o=!0}return"CloseBracket"!==A?(p("CloseBracketExpected"),n=i.getTokenOffset()):(n=d(),c()),Fe({type:"array",offset:r,length:n-r,children:s})}finally{l--}}();case"OpenBrace":let t=i.getTokenOffset();if(l>=256)return u(),h(),Fe({type:"object",offset:t,length:i.getTokenOffset()-t,children:[]});l++;try{return function(t){let r,n=[];c();let s=!1;for(;"CloseBrace"!==A&&"EOF"!==A;){if("Comma"===A){if(s||p("PropertyNameExpected"),c(),"CloseBrace"===A&&a)break}else s&&p("CommaExpected");if("String"!==A){p("PropertyNameExpected",[],["CloseBrace","Comma"]);continue}let t=i.getTokenOffset(),r=i.getTokenOffset(),o=i.getTokenValue(),l=d();c();let u=Fe({type:"string",offset:r,length:l-r,value:o});if("Colon"!==A){p("ColonExpected",[],["CloseBrace","Comma"]),n.push(Fe({type:"property",offset:t,length:i.getTokenOffset()-t,children:[u]}));continue}let g=i.getTokenOffset();c();let h=e();void 0!==h?n.push(Fe({type:"property",offset:t,length:h.offset+h.length-t,colonOffset:g,children:[u,h]})):(p("ValueExpected",[],["CloseBrace","Comma"]),n.push(Fe({type:"property",offset:t,length:i.getTokenOffset()-t,colonOffset:g,children:[u]}))),s=!0}return"CloseBrace"!==A?(p("CloseBraceExpected"),r=i.getTokenOffset()):(r=d(),c()),Fe({type:"object",offset:t,length:r-t,children:n})}(t)}finally{l--}case"String":return m("string",i.getTokenValue());case"Number":return m("number",Number.parseFloat(i.getTokenValue()));case"True":return m("boolean",!0);case"False":return m("boolean",!1);case"Null":return m("null",null);default:return}}();return"EOF"!==A&&p("EndOfFileExpected"),void 0!==e||o||p("ValueExpected"),{value:void 0,root:e,errors:n}}let f=function e(){switch(A){case"OpenBracket":if(l>=256)return u(),h(),[];l++;try{c();let t=[],r=!1;for(;"CloseBracket"!==A&&"EOF"!==A;){if("Comma"===A){if(r||p("ValueExpected"),c(),"CloseBracket"===A&&a)break}else r&&p("CommaExpected");let i=e();void 0===i?p("ValueExpected",[],["CloseBracket","Comma"]):t.push(i),r=!0}return"CloseBracket"!==A?p("CloseBracketExpected"):c(),t}finally{l--}case"OpenBrace":if(l>=256)return u(),h(),{};l++;try{c();let t={},r=!1;for(;"CloseBrace"!==A&&"EOF"!==A;){if("Comma"===A){if(r||p("PropertyNameExpected"),c(),"CloseBrace"===A&&a)break}else r&&p("CommaExpected");if("String"!==A){p("PropertyNameExpected",[],["CloseBrace","Comma"]);continue}let n=i.getTokenValue();if(c(),"Colon"!==A){p("ColonExpected",[],["CloseBrace","Comma"]);continue}c();let s=e();void 0===s?p("ValueExpected",[],["CloseBrace","Comma"]):"__proto__"===n?Object.defineProperty(t,n,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[n]=s,r=!0}return"CloseBrace"!==A?p("CloseBraceExpected"):c(),t}finally{l--}case"String":let t;return t=i.getTokenValue(),c(),t;case"Number":let r;return r=Number.parseFloat(i.getTokenValue()),c(),r;case"True":return c(),!0;case"False":return c(),!1;case"Null":return c(),null;default:return}}();return"EOF"!==A&&p("EndOfFileExpected"),void 0!==f||o||p("ValueExpected"),{value:f,root:void 0,errors:n}}let Fi=(e,t)=>{let{value:r,errors:i}=Fr(e,t,!1);return{value:r,errors:i}},Fn=gJ(["InvalidSymbol","InvalidNumberFormat","PropertyNameExpected","ValueExpected","ColonExpected","CommaExpected","CloseBraceExpected","CloseBracketExpected","EndOfFileExpected","InvalidCommentToken","UnexpectedEndOfComment","UnexpectedEndOfString","UnexpectedEndOfNumber","InvalidUnicode","InvalidEscapeCharacter","InvalidCharacter","NestingDepthExceeded"]);var Fs=class extends hs("JsoncParseErrorDetail")({code:Fn,offset:gP,length:gP,line:gP,character:gP}){},Fa=class extends ha()("JsoncParseError",{errors:gz(Fs),input:gO}){get message(){let e=this.errors.length,t=this.errors.map(e=>`${e.code} at ${e.line}:${e.character}`).join("; ");return`JSONC parse failed with ${e} error${1===e?"":"s"}: ${t}`}};hs("JsoncParseOptions")({disallowComments:gM(gH),allowTrailingComma:gM(gH),allowEmptyContent:gM(gH)});let Fo=gJ(["CircularReference","BigIntValue","TopLevelUnrepresentable"]);hs("JsoncStringifyOptions")({tabSize:gM(gP),insertSpaces:gM(gH)});var FA=class extends ha()("JsoncStringifyError",{code:Fo,detail:gO,value:gU}){get message(){return`JSONC stringify failed: ${this.code} — ${this.detail}`}};let Fl=e=>void 0===e?{}:{disallowComments:e.disallowComments,allowTrailingComma:e.allowTrailingComma,allowEmptyContent:e.allowEmptyContent},Fc=(e,t)=>t.map(t=>{let{line:r,character:i}=((e,t)=>{let r=0,i=0,n=Math.min(t,e.length);for(let t=0;t<n;t++){let n=e.charCodeAt(t);10===n?(r++,i=t+1):13===n?(t+1<e.length&&10===e.charCodeAt(t+1)&&t++,r++,i=t+1):(8232===n||8233===n)&&(r++,i=t+1)}return{line:r,character:t-i}})(e,t.offset);return Fs.make({code:t.code,offset:t.offset,length:t.length,line:r,character:i})}),Fd=(e,t,r=0)=>{if(e===t)return!0;if(r>=256||null===e||null===t||typeof e!=typeof t)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!Fd(e[i],t[i],r+1))return!1;return!0}if(Array.isArray(t))return!1;if("object"==typeof e&&"object"==typeof t){let i=Object.keys(e),n=Object.keys(t);if(i.length!==n.length)return!1;for(let n of i)if(!Object.hasOwn(t,n)||!Fd(e[n],t[n],r+1))return!1;return!0}return!1};var Fu=class e{static parseResult(e,t){let{value:r,errors:i}=Fi(e,Fl(t));return i.length>0?r2(new Fa({errors:Fc(e,i),input:e})):r3(r)}static parse=cO("Jsonc.parse")((t,r)=>aP(e.parseResult(t,r)));static parseTreeResult(e,t){let{root:r,errors:i}=((e,t)=>{let{root:r,errors:i}=Fr(e,t,!0);return{root:r,errors:i}})(e,Fl(t));return i.length>0?r2(new Fa({errors:Fc(e,i),input:e})):r3(void 0!==r?is(r):ii())}static parseTree=cO("Jsonc.parseTree")((t,r)=>aP(e.parseTreeResult(t,r)));static stringifyResult(e,t){let r,i=t?.insertSpaces===!1?" ":t?.tabSize??2;try{r=JSON.stringify(e,null,i)}catch(t){if(t instanceof TypeError){if(/circular|cyclic/i.test(t.message))return r2(new FA({code:"CircularReference",detail:t.message,value:e}));if(/bigint/i.test(t.message))return r2(new FA({code:"BigIntValue",detail:t.message,value:e}))}throw t}return void 0===r?r2(new FA({code:"TopLevelUnrepresentable",detail:"the top-level value (undefined, a function or a symbol) has no JSON representation",value:e})):r3(r)}static stringify=cO("Jsonc.stringify")((t,r)=>aP(e.stringifyResult(t,r)));static stripComments(e,t){let r,i=M9(e),n=[],s=0;do{r=i.scan();let a=i.getTokenOffset(),o=i.getTokenLength();if("LineComment"===r||"BlockComment"===r){if(s<a&&n.push(e.substring(s,a)),void 0!==t)for(let r=0;r<o;r++){let i=e.charCodeAt(a+r);n.push(10===i||13===i?e[a+r]:t)}s=a+o}}while("EOF"!==r);return s<e.length&&n.push(e.substring(s)),n.join("")}static equals(e,t){let r=Fi(e,{}),i=Fi(t,{});return!(r.errors.length>0)&&!(i.errors.length>0)&&Fd(r.value,i.value)}static equalsValue(e,t){let r=Fi(e,{});return!(r.errors.length>0)&&Fd(r.value,t)}static fromString(t){let r=Fl(t);return gO.pipe(gX(gU,dz({decode:e=>{let{value:t,errors:i}=Fi(e,r);if(i.length>0){let t=new Fa({errors:Fc(e,i),input:e});return rD(new dC(is(e),{message:t.message}))}return aU(t)},encode:t=>aP(e.stringifyResult(t)).pipe(ox(e=>new dC(is(t),{message:e.message})))})))}static JsoncFromString=e.fromString();static schema(t,r){return e.fromString(r).pipe(gX(t))}static bind(t){let r=e.schema(t);return{schema:r,decode:gD(r),encode:gR(r)}}};A9("BiomeDetectError");let Fg=["biome.jsonc","biome.json"],Fh=/schemas\/([^/]+)\/schema\.json/,Fp=e=>{let t=e.trim();return""===t?ii():is(t)},Fm=e=>/^[0-9A-Za-z][0-9A-Za-z._-]*$/.test(e);A9("TurboDetectError");let Ff=cD(function*(){let e=yield*pU,t=yield*e.access("turbo.json").pipe(a2(!0),oB(()=>aU(!1)));return t&&(yield*cY("Detected Turbo configuration")),{enabled:t}}),FC={linux:{x64:"biome-linux-x64",arm64:"biome-linux-arm64"},darwin:{x64:"biome-darwin-x64",arm64:"biome-darwin-arm64"},win32:{x64:"biome-win32-x64.exe",arm64:"biome-win32-arm64.exe"}},Fy={linux:{x64:"x86_64-unknown-linux-gnu",arm64:"aarch64-unknown-linux-gnu"},darwin:{x64:"x86_64-apple-darwin",arm64:"aarch64-apple-darwin"},win32:{x64:"x86_64-pc-windows-msvc"}},FI={x64:"x64",arm64:"arm64",arm:"armv7l"};class FE extends A9("RuntimeInstallError"){}let FB=()=>({platform:process.platform,arch:process.arch}),FQ={node:{plan:(e,t,r)=>{let i="win32"===t,n=`node-v${e}-${i?"win":t}-${FI[r]??r}`;return r3(i?{url:`https://nodejs.org/dist/v${e}/${n}.zip`,archive:"zip",archiveSubPath:n,binary:"node.exe"}:{url:`https://nodejs.org/dist/v${e}/${n}.tar.gz`,archive:"tar.gz",binSubPath:"bin",tarFlags:["xz","--strip=1","-f"],binary:"node"})}},bun:{plan:(e,t,r)=>{let i="win32"===t,n=`bun-${i?"windows":t}-${i?"x64":"arm64"===r?"aarch64":r}`;return r3({url:`https://github.com/oven-sh/bun/releases/download/bun-v${e}/${n}.zip`,archive:"zip",archiveSubPath:n,binary:i?"bun.exe":"bun"})}},deno:{plan:(e,t,r)=>{let i=Fy[t]?.[r];return void 0===i?r2(`Unsupported platform for Deno: ${t}-${r}`):r3({url:`https://github.com/denoland/deno/releases/download/v${e}/deno-${i}.zip`,archive:"zip",binary:"win32"===t?"deno.exe":"deno"})}}};class Fb extends A9("PlanError"){}class FN extends A9("VerifyError"){}class FS extends A9("BiomeInstallError"){}class Fw extends A9("InstallError"){}let Fx={npm:{lockfiles:["package-lock.json"],locked:["ci"],unlocked:["install"]},pnpm:{lockfiles:["pnpm-lock.yaml"],locked:["install","--frozen-lockfile"],unlocked:["install"]},yarn:{lockfiles:["yarn.lock"],locked:["install","--immutable"],unlocked:["install","--no-immutable"]},bun:{lockfiles:["bun.lock","bun.lockb"],locked:["install","--frozen-lockfile"],unlocked:["install"]}},FD=gJ(["node","bun","deno"]),FR=gJ(["npm","pnpm","yarn","bun","deno"]),Fv=MF.ExactVersionString,Fk=gJ(["warn","error","ignore"]);class FM extends hs("RuntimeSpec")({name:FD,version:Fv,onFail:gM(Fk)}){}class FF extends hs("PackageManagerSpec")({name:FR,version:Fv,onFail:gM(Fk)}){}class FU extends hs("RuntimeConfig")({packageManager:FF,runtimes:gV(FM)}){}class FT extends A9("ConfigError"){}let FL=gD(gG({devEngines:gG({packageManager:FF,runtime:g_([FM,gV(FM)])})})),FO=gf(FM.ast),FP=cD(function*(){let e=yield*pU,t=yield*e.readFileString("package.json","utf-8").pipe(ox(e=>new FT({reason:"missing-package-json",message:"package.json not found. This action requires a package.json with devEngines.packageManager and devEngines.runtime fields.",cause:e}))),r=yield*aV({try:()=>JSON.parse(t),catch:e=>new FT({reason:"malformed-json",message:"Failed to parse package.json: Invalid JSON",cause:e})}),{devEngines:i}=yield*FL(r).pipe(ox(e=>new FT({reason:"invalid-dev-engines",message:"package.json has invalid or missing devEngines field",cause:e}))),n=FU.make({packageManager:i.packageManager,runtimes:FO(i.runtime)?[i.runtime]:i.runtime});return yield*cY(`Detected runtime(s): ${n.runtimes.map(e=>`${e.name}@${e.version}`).join(", ")}`),yield*cY(`Detected package manager: ${n.packageManager.name}@${n.packageManager.version}`),n});var FH=class extends ha()("CacheKeyError",{reason:gJ(["readFailed","badPattern"]),path:gM(gO),pattern:gM(gO),cause:gM(g6())}){get message(){return"readFailed"===this.reason?`Could not read "${this.path}" while deriving a cache key`:`"${this.pattern}" is not a usable glob pattern`}};let FY=gV(gO.check(uP(/^[^,\n\r]+$/))).check(g2(e=>e.join("-").length<=512,{title:"a cache key of at most 512 characters"})),FG=gz(gP.check(g4(),g5({minimum:1,maximum:Number.MAX_SAFE_INTEGER})));var Fq=class e extends hs("CacheKey")(gG({segments:FY,restoreDepths:gM(FG)}).check(g2(e=>void 0===e.restoreDepths||e.restoreDepths.every(t=>t<=e.segments.length-1)?void 0:"every restore depth must be between 1 and segments.length - 1 — a rung keeping every segment would just repeat the primary key"))){get key(){return this.segments.join("-")}get restoreKeys(){let e=e=>`${this.segments.slice(0,e).join("-")}-`;if(void 0!==this.restoreDepths)return this.restoreDepths.map(e);let t=[];for(let r=this.segments.length-1;r>=1;r-=1)t.push(e(r));return t}withRestoreDepths(t){return e.make({segments:this.segments,restoreDepths:t})}withoutRestoreKeys(){return e.make({segments:this.segments,restoreDepths:[]})}static of(...t){return e.make({segments:t})}static forBranch(t){let r=[];return void 0!==t.os&&r.push(t.os),r.push(t.scope,t.branch),void 0!==t.hash&&r.push(t.hash),e.make({segments:r})}static hashFiles=cO("CacheKey.hashFiles")(function*(e){let t=yield*pU,r=[...new Set(e)].sort();if(0===r.length)return ii();let i=(0,ff.createHash)("sha256");for(let e of r){let r=yield*t.readFile(e).pipe(ox(t=>new FH({reason:"readFailed",path:e,cause:t})));i.update((0,ff.createHash)("sha256").update(r).digest())}return is(i.digest("hex"))});static matchingFiles=cO("CacheKey.matchingFiles")(function*(e){let t=yield*pU,r=yield*mL,i=yield*k3.compile(e.patterns).pipe(ox(e=>new FH({reason:"badPattern",pattern:e.pattern,cause:e}))),n=yield*t.readDirectory(e.workspace,{recursive:!0}).pipe(ox(t=>new FH({reason:"readFailed",path:e.workspace,cause:t}))),s=[];for(let a of n){if(!i.matches(a.replaceAll("\\","/")))continue;let n=r.join(e.workspace,a);"File"===(yield*t.stat(n).pipe(ox(e=>new FH({reason:"readFailed",path:n,cause:e})))).type&&s.push(n)}return s.sort()});static hashMatching=cO("CacheKey.hashMatching")(function*(t){return yield*e.hashFiles((yield*e.matchingFiles(t)))})};let Fz={npm:["**/package-lock.json","**/npm-shrinkwrap.json"],pnpm:["**/pnpm-lock.yaml","**/pnpm-workspace.yaml","**/.pnpmfile.cjs"],yarn:["**/yarn.lock","**/.pnp.cjs","**/.yarn/install-state.gz"],bun:["**/bun.lock","**/bun.lockb"],deno:["**/deno.lock"]},FV=["!**/node_modules/**","!**/.git/**","!**/__fixtures__/**","!**/__tests__/**","!**/__test__/**"],F_=["**/.turbo/cache"],FJ=e=>{let t=[...e];return[...t.filter(e=>!e.startsWith("*")).sort(),...t.filter(e=>e.startsWith("*")).sort()]},FW=e=>"win32"===e?fB.win32:fB.posix,Fj=(e,t,r)=>{let i=FW(t),n="win32"===t;switch(e){case"npm":return[n?i.join(r,"AppData","Local","npm-cache"):i.join(r,".npm")];case"pnpm":return[n?i.join(r,"AppData","Local","pnpm","store"):i.join(r,".local","share","pnpm","store")];case"yarn":return[n?i.join(r,"AppData","Local","Yarn","Cache"):i.join(r,".yarn","cache"),n?i.join(r,"AppData","Local","Yarn","Berry","cache"):i.join(r,".cache","yarn")];case"bun":return[n?i.join(r,"AppData","Local","bun","install","cache"):i.join(r,".bun","install","cache")];case"deno":return[n?i.join(r,"AppData","Local","deno"):i.join(r,".cache","deno")]}},FK=e=>{switch(e){case"npm":case"pnpm":case"bun":return["**/node_modules"];case"yarn":return["**/node_modules","**/.yarn/cache","**/.yarn/unplugged","**/.yarn/install-state.gz"];case"deno":return[]}},F$=new Set(["node","bun","deno","biome"]),FX=[4,3];class FZ extends A9("CacheError"){}let F0="refs/heads/",F1=(e,t,r,i)=>e.pipe(oB(e=>cP(new FZ({reason:t,message:r(e),cause:e}).message).pipe(a2(i))));class F2 extends A9("PackageManagerError"){}var F3=class extends hs("Point")({line:gP,column:gP,offset:gP}){},F5=class e extends hs("Position")({start:F3,end:F3}){static synthetic=e.make({start:F3.make({line:1,column:1,offset:0}),end:F3.make({line:1,column:1,offset:0})})};let F4=F5.pipe(gZ(aU(F5.synthetic))),F8=gJ(["shortcut","collapsed","full"]),F9=gJ(["atx","setext"]),F6=gJ(["backslash","spaces"]),F7=gJ(["`","~"]),Ue=gJ(["-","*","+"]),Ut=gJ([".",")"]),Ur=gJ(["-","_","*"]),Ui=gJ(["*","_"]),Un=gJ([1,2,3,4,5,6]),Us=gJ(["left","right","center"]);var Ua=class extends hs("Text")({type:g0("text"),value:gO,position:F4}){},Uo=class extends hs("InlineCode")({type:g0("inlineCode"),value:gO,position:F4}){},UA=class extends hs("Html")({type:g0("html"),value:gO,position:F4}){},Ul=class extends hs("Break")({type:g0("break"),position:F4,breakStyle:gM(F6)}){},Uc=class extends hs("Image")({type:g0("image"),url:gO,title:gM(gO),alt:gM(gO),position:F4}){},Ud=class extends hs("ImageReference")({type:g0("imageReference"),identifier:gO,label:gM(gO),referenceType:F8,alt:gM(gO),position:F4}){},Uu=class extends hs("Emphasis")({type:g0("emphasis"),children:gz(gj(()=>UC)),position:F4,markerChar:gM(Ui)}){},Ug=class extends hs("Strong")({type:g0("strong"),children:gz(gj(()=>UC)),position:F4,markerChar:gM(Ui)}){},Uh=class extends hs("Delete")({type:g0("delete"),children:gz(gj(()=>UC)),position:F4}){},Up=class extends hs("Link")({type:g0("link"),url:gO,title:gM(gO),children:gz(gj(()=>UC)),position:F4}){},Um=class extends hs("LinkReference")({type:g0("linkReference"),identifier:gO,label:gM(gO),referenceType:F8,children:gz(gj(()=>UC)),position:F4}){},Uf=class extends hs("FootnoteReference")({type:g0("footnoteReference"),identifier:gO,label:gM(gO),position:F4}){};let UC=gj(()=>g_([Ul,Uh,Uu,Uf,UA,Uc,Ud,Uo,Up,Um,Ug,Ua]));var Uy=class extends hs("ThematicBreak")({type:g0("thematicBreak"),position:F4,markerChar:gM(Ur)}){},UI=class extends hs("Code")({type:g0("code"),value:gO,lang:gM(gO),meta:gM(gO),position:F4,fenceChar:gM(F7),fenceLength:gM(gP)}){},UE=class extends hs("Definition")({type:g0("definition"),identifier:gO,label:gM(gO),url:gO,title:gM(gO),position:F4}){},UB=class extends hs("FootnoteDefinition")({type:g0("footnoteDefinition"),identifier:gO,label:gM(gO),children:gz(gj(()=>UM)),position:F4}){},UQ=class extends hs("Paragraph")({type:g0("paragraph"),children:gz(gj(()=>UC)),position:F4}){},Ub=class extends hs("Heading")({type:g0("heading"),depth:Un,children:gz(gj(()=>UC)),position:F4,headingStyle:gM(F9)}){},UN=class extends hs("ListItem")({type:g0("listItem"),spread:gM(gH),children:gz(gj(()=>UM)),position:F4,checked:gM(gH)}){},US=class extends hs("List")({type:g0("list"),ordered:gM(gH),start:gM(gP),spread:gM(gH),children:gz(gj(()=>UF)),position:F4,bulletChar:gM(Ue),delimiter:gM(Ut)}){},Uw=class extends hs("Blockquote")({type:g0("blockquote"),children:gz(gj(()=>UM)),position:F4}){},Ux=class extends hs("TableCell")({type:g0("tableCell"),children:gz(gj(()=>UC)),position:F4}){};let UD=gj(()=>g_([Ux]));var UR=class extends hs("TableRow")({type:g0("tableRow"),children:gz(gj(()=>UD)),position:F4}){};let Uv=gj(()=>g_([UR]));var Uk=class extends hs("Table")({type:g0("table"),align:gM(gz(gW(Us))),children:gz(gj(()=>Uv)),position:F4}){};let UM=gj(()=>g_([Uw,UI,UE,UB,Ub,UA,US,UQ,Uk,Uy])),UF=gj(()=>g_([UN])),UU=gJ(["yaml","toml","json"]);var UT=class extends hs("Frontmatter")({type:g0("frontmatter"),format:UU,value:gO,position:F4}){};let UL=gj(()=>UT);var UO=class extends hs("Root")({type:g0("root"),children:gz(gj(()=>g_([UT,UM]))),position:F4}){};gj(()=>g_([UO,UL,UM,UF,UC,UD,Uv]));var UP=class extends Error{diagnostic;_tag="RawMarkdownError";constructor(e){super(e.message),this.diagnostic=e}},UH=class extends Error{reason;limit;actual;offset;_tag="GuardExceeded";constructor(e,t,r,i){super(`${e}: limit ${t}, actual ${r}`),this.reason=e,this.limit=t,this.actual=r,this.offset=i}};let UY=e=>e.filter(e=>"root"!==e.type&&"listItem"!==e.type&&"tableRow"!==e.type&&"tableCell"!==e.type),UG=(e,t,r,i=0)=>({type:e,depth:i,parent:void 0,children:[],open:!0,stringContent:"",segments:[],startOffset:t,endOffset:t,startLine:r,endLine:r,data:{}}),Uq=e=>e.includes("\0")?e.replaceAll("\0","�"):e,Uz=e=>32===e||9===e,UV=(e,t)=>t>=0&&t<e.length?e.charCodeAt(t):-1,U_=e=>4-e%4,UJ="[A-Za-z][A-Za-z0-9-]*",UW=`<${UJ}(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*/?>`,Uj=`</${UJ}\\s*[>]`,UK=`(?:${UW}|${Uj}|<!-->|<!--->|<!--[\\s\\S]*?-->|[<][?][\\s\\S]*?[?][>]|<![A-Za-z]+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`,U$=RegExp(`^${UK}`),UX=[/./,/^<(?:script|pre|textarea|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Za-z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|search|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,RegExp(`^(?:${UW}|${Uj})\\s*$`,"i")],UZ=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],U0={type:"html",acceptsLines:!0,canContain:()=>!1,continue:(e,t)=>{let r=t.data.htmlBlockType;return e.blank&&(6===r||7===r)?1:0},finalize:(e,t)=>{t.stringContent=t.stringContent.replace(/\n$/,"")},materialize:(e,t,r)=>UA.make({value:e.stringContent,position:r.position(e.startOffset,e.endOffset)})},U1={name:"htmlBlock",trigger:(e,t)=>{if(e.indented||60!==UV(e.currentLine,e.nextNonspace))return 0;let r=e.currentLine.slice(e.nextNonspace);for(let i=1;i<=7;i+=1){let n=UX[i]?.test(r)??!1,s=i<7||"paragraph"!==t.type&&!(!e.allClosed&&!e.blank&&"paragraph"===e.tip.type);if(n&&s)return e.closeUnmatchedBlocks(),e.addChild("html",e.offset).data.htmlBlockType=i,2}return 0}},U2=/^#{1,6}(?:[ \t]+|$)/,U3=/^[ \t]*#+[ \t]*$/,U5=/[ \t]+#+[ \t]*$/,U4={type:"heading",acceptsLines:!1,canContain:()=>!1,continue:()=>1,materialize:(e,t,r)=>{let i=r.inlineSlice(e),n=e.data.headingStyle??"atx",s=Ub.make({depth:e.data.level??1,children:i.children,position:r.position(e.startOffset,e.endOffset),headingStyle:n});return r.registerInline(s,i),s}},U8={name:"atxHeading",trigger:e=>{let t;if(e.indented)return 0;let r=U2.exec(e.currentLine.slice(e.nextNonspace));if(null===r)return 0;e.advanceNextNonspace(),e.advanceOffset(r[0].length,!1),e.closeUnmatchedBlocks();let i=e.addChild("heading",e.nextNonspace);i.data.level=(t=r[0].trim().length)<1?1:t>6?6:t,i.data.headingStyle="atx";let n=e.currentLine.slice(e.offset).replace(U3,"").replace(U5,"");return i.stringContent=n,i.segments.push({textOffset:0,sourceOffset:e.lineStart+e.offset,length:n.length}),e.advanceOffset(e.currentLine.length-e.offset,!1),2}},U9={type:"blockquote",acceptsLines:!1,canContain:e=>"listItem"!==e,continue:e=>{let t=e.currentLine;return e.indented||62!==UV(t,e.nextNonspace)?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),Uz(UV(t,e.offset))&&e.advanceOffset(1,!0),0)},materialize:(e,t,r)=>Uw.make({children:UY(t),position:r.position(e.startOffset,e.endOffset)})},U6={name:"blockquote",trigger:e=>e.indented||62!==UV(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),Uz(UV(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild("blockquote",e.nextNonspace),1)},U7=new Map(JSON.parse('[["AElig","\xc6"],["AMP","&"],["Aacute","\xc1"],["Abreve","Ă"],["Acirc","\xc2"],["Acy","А"],["Afr","\uD835\uDD04"],["Agrave","\xc0"],["Alpha","Α"],["Amacr","Ā"],["And","⩓"],["Aogon","Ą"],["Aopf","\uD835\uDD38"],["ApplyFunction","⁡"],["Aring","\xc5"],["Ascr","\uD835\uDC9C"],["Assign","≔"],["Atilde","\xc3"],["Auml","\xc4"],["Backslash","∖"],["Barv","⫧"],["Barwed","⌆"],["Bcy","Б"],["Because","∵"],["Bernoullis","ℬ"],["Beta","Β"],["Bfr","\uD835\uDD05"],["Bopf","\uD835\uDD39"],["Breve","˘"],["Bscr","ℬ"],["Bumpeq","≎"],["CHcy","Ч"],["COPY","\xa9"],["Cacute","Ć"],["Cap","⋒"],["CapitalDifferentialD","ⅅ"],["Cayleys","ℭ"],["Ccaron","Č"],["Ccedil","\xc7"],["Ccirc","Ĉ"],["Cconint","∰"],["Cdot","Ċ"],["Cedilla","\xb8"],["CenterDot","\xb7"],["Cfr","ℭ"],["Chi","Χ"],["CircleDot","⊙"],["CircleMinus","⊖"],["CirclePlus","⊕"],["CircleTimes","⊗"],["ClockwiseContourIntegral","∲"],["CloseCurlyDoubleQuote","”"],["CloseCurlyQuote","’"],["Colon","∷"],["Colone","⩴"],["Congruent","≡"],["Conint","∯"],["ContourIntegral","∮"],["Copf","ℂ"],["Coproduct","∐"],["CounterClockwiseContourIntegral","∳"],["Cross","⨯"],["Cscr","\uD835\uDC9E"],["Cup","⋓"],["CupCap","≍"],["DD","ⅅ"],["DDotrahd","⤑"],["DJcy","Ђ"],["DScy","Ѕ"],["DZcy","Џ"],["Dagger","‡"],["Darr","↡"],["Dashv","⫤"],["Dcaron","Ď"],["Dcy","Д"],["Del","∇"],["Delta","Δ"],["Dfr","\uD835\uDD07"],["DiacriticalAcute","\xb4"],["DiacriticalDot","˙"],["DiacriticalDoubleAcute","˝"],["DiacriticalGrave","`"],["DiacriticalTilde","˜"],["Diamond","⋄"],["DifferentialD","ⅆ"],["Dopf","\uD835\uDD3B"],["Dot","\xa8"],["DotDot","⃜"],["DotEqual","≐"],["DoubleContourIntegral","∯"],["DoubleDot","\xa8"],["DoubleDownArrow","⇓"],["DoubleLeftArrow","⇐"],["DoubleLeftRightArrow","⇔"],["DoubleLeftTee","⫤"],["DoubleLongLeftArrow","⟸"],["DoubleLongLeftRightArrow","⟺"],["DoubleLongRightArrow","⟹"],["DoubleRightArrow","⇒"],["DoubleRightTee","⊨"],["DoubleUpArrow","⇑"],["DoubleUpDownArrow","⇕"],["DoubleVerticalBar","∥"],["DownArrow","↓"],["DownArrowBar","⤓"],["DownArrowUpArrow","⇵"],["DownBreve","̑"],["DownLeftRightVector","⥐"],["DownLeftTeeVector","⥞"],["DownLeftVector","↽"],["DownLeftVectorBar","⥖"],["DownRightTeeVector","⥟"],["DownRightVector","⇁"],["DownRightVectorBar","⥗"],["DownTee","⊤"],["DownTeeArrow","↧"],["Downarrow","⇓"],["Dscr","\uD835\uDC9F"],["Dstrok","Đ"],["ENG","Ŋ"],["ETH","\xd0"],["Eacute","\xc9"],["Ecaron","Ě"],["Ecirc","\xca"],["Ecy","Э"],["Edot","Ė"],["Efr","\uD835\uDD08"],["Egrave","\xc8"],["Element","∈"],["Emacr","Ē"],["EmptySmallSquare","◻"],["EmptyVerySmallSquare","▫"],["Eogon","Ę"],["Eopf","\uD835\uDD3C"],["Epsilon","Ε"],["Equal","⩵"],["EqualTilde","≂"],["Equilibrium","⇌"],["Escr","ℰ"],["Esim","⩳"],["Eta","Η"],["Euml","\xcb"],["Exists","∃"],["ExponentialE","ⅇ"],["Fcy","Ф"],["Ffr","\uD835\uDD09"],["FilledSmallSquare","◼"],["FilledVerySmallSquare","▪"],["Fopf","\uD835\uDD3D"],["ForAll","∀"],["Fouriertrf","ℱ"],["Fscr","ℱ"],["GJcy","Ѓ"],["GT",">"],["Gamma","Γ"],["Gammad","Ϝ"],["Gbreve","Ğ"],["Gcedil","Ģ"],["Gcirc","Ĝ"],["Gcy","Г"],["Gdot","Ġ"],["Gfr","\uD835\uDD0A"],["Gg","⋙"],["Gopf","\uD835\uDD3E"],["GreaterEqual","≥"],["GreaterEqualLess","⋛"],["GreaterFullEqual","≧"],["GreaterGreater","⪢"],["GreaterLess","≷"],["GreaterSlantEqual","⩾"],["GreaterTilde","≳"],["Gscr","\uD835\uDCA2"],["Gt","≫"],["HARDcy","Ъ"],["Hacek","ˇ"],["Hat","^"],["Hcirc","Ĥ"],["Hfr","ℌ"],["HilbertSpace","ℋ"],["Hopf","ℍ"],["HorizontalLine","─"],["Hscr","ℋ"],["Hstrok","Ħ"],["HumpDownHump","≎"],["HumpEqual","≏"],["IEcy","Е"],["IJlig","IJ"],["IOcy","Ё"],["Iacute","\xcd"],["Icirc","\xce"],["Icy","И"],["Idot","İ"],["Ifr","ℑ"],["Igrave","\xcc"],["Im","ℑ"],["Imacr","Ī"],["ImaginaryI","ⅈ"],["Implies","⇒"],["Int","∬"],["Integral","∫"],["Intersection","⋂"],["InvisibleComma","⁣"],["InvisibleTimes","⁢"],["Iogon","Į"],["Iopf","\uD835\uDD40"],["Iota","Ι"],["Iscr","ℐ"],["Itilde","Ĩ"],["Iukcy","І"],["Iuml","\xcf"],["Jcirc","Ĵ"],["Jcy","Й"],["Jfr","\uD835\uDD0D"],["Jopf","\uD835\uDD41"],["Jscr","\uD835\uDCA5"],["Jsercy","Ј"],["Jukcy","Є"],["KHcy","Х"],["KJcy","Ќ"],["Kappa","Κ"],["Kcedil","Ķ"],["Kcy","К"],["Kfr","\uD835\uDD0E"],["Kopf","\uD835\uDD42"],["Kscr","\uD835\uDCA6"],["LJcy","Љ"],["LT","<"],["Lacute","Ĺ"],["Lambda","Λ"],["Lang","⟪"],["Laplacetrf","ℒ"],["Larr","↞"],["Lcaron","Ľ"],["Lcedil","Ļ"],["Lcy","Л"],["LeftAngleBracket","⟨"],["LeftArrow","←"],["LeftArrowBar","⇤"],["LeftArrowRightArrow","⇆"],["LeftCeiling","⌈"],["LeftDoubleBracket","⟦"],["LeftDownTeeVector","⥡"],["LeftDownVector","⇃"],["LeftDownVectorBar","⥙"],["LeftFloor","⌊"],["LeftRightArrow","↔"],["LeftRightVector","⥎"],["LeftTee","⊣"],["LeftTeeArrow","↤"],["LeftTeeVector","⥚"],["LeftTriangle","⊲"],["LeftTriangleBar","⧏"],["LeftTriangleEqual","⊴"],["LeftUpDownVector","⥑"],["LeftUpTeeVector","⥠"],["LeftUpVector","↿"],["LeftUpVectorBar","⥘"],["LeftVector","↼"],["LeftVectorBar","⥒"],["Leftarrow","⇐"],["Leftrightarrow","⇔"],["LessEqualGreater","⋚"],["LessFullEqual","≦"],["LessGreater","≶"],["LessLess","⪡"],["LessSlantEqual","⩽"],["LessTilde","≲"],["Lfr","\uD835\uDD0F"],["Ll","⋘"],["Lleftarrow","⇚"],["Lmidot","Ŀ"],["LongLeftArrow","⟵"],["LongLeftRightArrow","⟷"],["LongRightArrow","⟶"],["Longleftarrow","⟸"],["Longleftrightarrow","⟺"],["Longrightarrow","⟹"],["Lopf","\uD835\uDD43"],["LowerLeftArrow","↙"],["LowerRightArrow","↘"],["Lscr","ℒ"],["Lsh","↰"],["Lstrok","Ł"],["Lt","≪"],["Map","⤅"],["Mcy","М"],["MediumSpace"," "],["Mellintrf","ℳ"],["Mfr","\uD835\uDD10"],["MinusPlus","∓"],["Mopf","\uD835\uDD44"],["Mscr","ℳ"],["Mu","Μ"],["NJcy","Њ"],["Nacute","Ń"],["Ncaron","Ň"],["Ncedil","Ņ"],["Ncy","Н"],["NegativeMediumSpace","​"],["NegativeThickSpace","​"],["NegativeThinSpace","​"],["NegativeVeryThinSpace","​"],["NestedGreaterGreater","≫"],["NestedLessLess","≪"],["NewLine","\\n"],["Nfr","\uD835\uDD11"],["NoBreak","⁠"],["NonBreakingSpace","\xa0"],["Nopf","ℕ"],["Not","⫬"],["NotCongruent","≢"],["NotCupCap","≭"],["NotDoubleVerticalBar","∦"],["NotElement","∉"],["NotEqual","≠"],["NotEqualTilde","≂̸"],["NotExists","∄"],["NotGreater","≯"],["NotGreaterEqual","≱"],["NotGreaterFullEqual","≧̸"],["NotGreaterGreater","≫̸"],["NotGreaterLess","≹"],["NotGreaterSlantEqual","⩾̸"],["NotGreaterTilde","≵"],["NotHumpDownHump","≎̸"],["NotHumpEqual","≏̸"],["NotLeftTriangle","⋪"],["NotLeftTriangleBar","⧏̸"],["NotLeftTriangleEqual","⋬"],["NotLess","≮"],["NotLessEqual","≰"],["NotLessGreater","≸"],["NotLessLess","≪̸"],["NotLessSlantEqual","⩽̸"],["NotLessTilde","≴"],["NotNestedGreaterGreater","⪢̸"],["NotNestedLessLess","⪡̸"],["NotPrecedes","⊀"],["NotPrecedesEqual","⪯̸"],["NotPrecedesSlantEqual","⋠"],["NotReverseElement","∌"],["NotRightTriangle","⋫"],["NotRightTriangleBar","⧐̸"],["NotRightTriangleEqual","⋭"],["NotSquareSubset","⊏̸"],["NotSquareSubsetEqual","⋢"],["NotSquareSuperset","⊐̸"],["NotSquareSupersetEqual","⋣"],["NotSubset","⊂⃒"],["NotSubsetEqual","⊈"],["NotSucceeds","⊁"],["NotSucceedsEqual","⪰̸"],["NotSucceedsSlantEqual","⋡"],["NotSucceedsTilde","≿̸"],["NotSuperset","⊃⃒"],["NotSupersetEqual","⊉"],["NotTilde","≁"],["NotTildeEqual","≄"],["NotTildeFullEqual","≇"],["NotTildeTilde","≉"],["NotVerticalBar","∤"],["Nscr","\uD835\uDCA9"],["Ntilde","\xd1"],["Nu","Ν"],["OElig","Œ"],["Oacute","\xd3"],["Ocirc","\xd4"],["Ocy","О"],["Odblac","Ő"],["Ofr","\uD835\uDD12"],["Ograve","\xd2"],["Omacr","Ō"],["Omega","Ω"],["Omicron","Ο"],["Oopf","\uD835\uDD46"],["OpenCurlyDoubleQuote","“"],["OpenCurlyQuote","‘"],["Or","⩔"],["Oscr","\uD835\uDCAA"],["Oslash","\xd8"],["Otilde","\xd5"],["Otimes","⨷"],["Ouml","\xd6"],["OverBar","‾"],["OverBrace","⏞"],["OverBracket","⎴"],["OverParenthesis","⏜"],["PartialD","∂"],["Pcy","П"],["Pfr","\uD835\uDD13"],["Phi","Φ"],["Pi","Π"],["PlusMinus","\xb1"],["Poincareplane","ℌ"],["Popf","ℙ"],["Pr","⪻"],["Precedes","≺"],["PrecedesEqual","⪯"],["PrecedesSlantEqual","≼"],["PrecedesTilde","≾"],["Prime","″"],["Product","∏"],["Proportion","∷"],["Proportional","∝"],["Pscr","\uD835\uDCAB"],["Psi","Ψ"],["QUOT","\\""],["Qfr","\uD835\uDD14"],["Qopf","ℚ"],["Qscr","\uD835\uDCAC"],["RBarr","⤐"],["REG","\xae"],["Racute","Ŕ"],["Rang","⟫"],["Rarr","↠"],["Rarrtl","⤖"],["Rcaron","Ř"],["Rcedil","Ŗ"],["Rcy","Р"],["Re","ℜ"],["ReverseElement","∋"],["ReverseEquilibrium","⇋"],["ReverseUpEquilibrium","⥯"],["Rfr","ℜ"],["Rho","Ρ"],["RightAngleBracket","⟩"],["RightArrow","→"],["RightArrowBar","⇥"],["RightArrowLeftArrow","⇄"],["RightCeiling","⌉"],["RightDoubleBracket","⟧"],["RightDownTeeVector","⥝"],["RightDownVector","⇂"],["RightDownVectorBar","⥕"],["RightFloor","⌋"],["RightTee","⊢"],["RightTeeArrow","↦"],["RightTeeVector","⥛"],["RightTriangle","⊳"],["RightTriangleBar","⧐"],["RightTriangleEqual","⊵"],["RightUpDownVector","⥏"],["RightUpTeeVector","⥜"],["RightUpVector","↾"],["RightUpVectorBar","⥔"],["RightVector","⇀"],["RightVectorBar","⥓"],["Rightarrow","⇒"],["Ropf","ℝ"],["RoundImplies","⥰"],["Rrightarrow","⇛"],["Rscr","ℛ"],["Rsh","↱"],["RuleDelayed","⧴"],["SHCHcy","Щ"],["SHcy","Ш"],["SOFTcy","Ь"],["Sacute","Ś"],["Sc","⪼"],["Scaron","Š"],["Scedil","Ş"],["Scirc","Ŝ"],["Scy","С"],["Sfr","\uD835\uDD16"],["ShortDownArrow","↓"],["ShortLeftArrow","←"],["ShortRightArrow","→"],["ShortUpArrow","↑"],["Sigma","Σ"],["SmallCircle","∘"],["Sopf","\uD835\uDD4A"],["Sqrt","√"],["Square","□"],["SquareIntersection","⊓"],["SquareSubset","⊏"],["SquareSubsetEqual","⊑"],["SquareSuperset","⊐"],["SquareSupersetEqual","⊒"],["SquareUnion","⊔"],["Sscr","\uD835\uDCAE"],["Star","⋆"],["Sub","⋐"],["Subset","⋐"],["SubsetEqual","⊆"],["Succeeds","≻"],["SucceedsEqual","⪰"],["SucceedsSlantEqual","≽"],["SucceedsTilde","≿"],["SuchThat","∋"],["Sum","∑"],["Sup","⋑"],["Superset","⊃"],["SupersetEqual","⊇"],["Supset","⋑"],["THORN","\xde"],["TRADE","™"],["TSHcy","Ћ"],["TScy","Ц"],["Tab","\\t"],["Tau","Τ"],["Tcaron","Ť"],["Tcedil","Ţ"],["Tcy","Т"],["Tfr","\uD835\uDD17"],["Therefore","∴"],["Theta","Θ"],["ThickSpace","  "],["ThinSpace"," "],["Tilde","∼"],["TildeEqual","≃"],["TildeFullEqual","≅"],["TildeTilde","≈"],["Topf","\uD835\uDD4B"],["TripleDot","⃛"],["Tscr","\uD835\uDCAF"],["Tstrok","Ŧ"],["Uacute","\xda"],["Uarr","↟"],["Uarrocir","⥉"],["Ubrcy","Ў"],["Ubreve","Ŭ"],["Ucirc","\xdb"],["Ucy","У"],["Udblac","Ű"],["Ufr","\uD835\uDD18"],["Ugrave","\xd9"],["Umacr","Ū"],["UnderBar","_"],["UnderBrace","⏟"],["UnderBracket","⎵"],["UnderParenthesis","⏝"],["Union","⋃"],["UnionPlus","⊎"],["Uogon","Ų"],["Uopf","\uD835\uDD4C"],["UpArrow","↑"],["UpArrowBar","⤒"],["UpArrowDownArrow","⇅"],["UpDownArrow","↕"],["UpEquilibrium","⥮"],["UpTee","⊥"],["UpTeeArrow","↥"],["Uparrow","⇑"],["Updownarrow","⇕"],["UpperLeftArrow","↖"],["UpperRightArrow","↗"],["Upsi","ϒ"],["Upsilon","Υ"],["Uring","Ů"],["Uscr","\uD835\uDCB0"],["Utilde","Ũ"],["Uuml","\xdc"],["VDash","⊫"],["Vbar","⫫"],["Vcy","В"],["Vdash","⊩"],["Vdashl","⫦"],["Vee","⋁"],["Verbar","‖"],["Vert","‖"],["VerticalBar","∣"],["VerticalLine","|"],["VerticalSeparator","❘"],["VerticalTilde","≀"],["VeryThinSpace"," "],["Vfr","\uD835\uDD19"],["Vopf","\uD835\uDD4D"],["Vscr","\uD835\uDCB1"],["Vvdash","⊪"],["Wcirc","Ŵ"],["Wedge","⋀"],["Wfr","\uD835\uDD1A"],["Wopf","\uD835\uDD4E"],["Wscr","\uD835\uDCB2"],["Xfr","\uD835\uDD1B"],["Xi","Ξ"],["Xopf","\uD835\uDD4F"],["Xscr","\uD835\uDCB3"],["YAcy","Я"],["YIcy","Ї"],["YUcy","Ю"],["Yacute","\xdd"],["Ycirc","Ŷ"],["Ycy","Ы"],["Yfr","\uD835\uDD1C"],["Yopf","\uD835\uDD50"],["Yscr","\uD835\uDCB4"],["Yuml","Ÿ"],["ZHcy","Ж"],["Zacute","Ź"],["Zcaron","Ž"],["Zcy","З"],["Zdot","Ż"],["ZeroWidthSpace","​"],["Zeta","Ζ"],["Zfr","ℨ"],["Zopf","ℤ"],["Zscr","\uD835\uDCB5"],["aacute","\xe1"],["abreve","ă"],["ac","∾"],["acE","∾̳"],["acd","∿"],["acirc","\xe2"],["acute","\xb4"],["acy","а"],["aelig","\xe6"],["af","⁡"],["afr","\uD835\uDD1E"],["agrave","\xe0"],["alefsym","ℵ"],["aleph","ℵ"],["alpha","α"],["amacr","ā"],["amalg","⨿"],["amp","&"],["and","∧"],["andand","⩕"],["andd","⩜"],["andslope","⩘"],["andv","⩚"],["ang","∠"],["ange","⦤"],["angle","∠"],["angmsd","∡"],["angmsdaa","⦨"],["angmsdab","⦩"],["angmsdac","⦪"],["angmsdad","⦫"],["angmsdae","⦬"],["angmsdaf","⦭"],["angmsdag","⦮"],["angmsdah","⦯"],["angrt","∟"],["angrtvb","⊾"],["angrtvbd","⦝"],["angsph","∢"],["angst","\xc5"],["angzarr","⍼"],["aogon","ą"],["aopf","\uD835\uDD52"],["ap","≈"],["apE","⩰"],["apacir","⩯"],["ape","≊"],["apid","≋"],["apos","\'"],["approx","≈"],["approxeq","≊"],["aring","\xe5"],["ascr","\uD835\uDCB6"],["ast","*"],["asymp","≈"],["asympeq","≍"],["atilde","\xe3"],["auml","\xe4"],["awconint","∳"],["awint","⨑"],["bNot","⫭"],["backcong","≌"],["backepsilon","϶"],["backprime","‵"],["backsim","∽"],["backsimeq","⋍"],["barvee","⊽"],["barwed","⌅"],["barwedge","⌅"],["bbrk","⎵"],["bbrktbrk","⎶"],["bcong","≌"],["bcy","б"],["bdquo","„"],["becaus","∵"],["because","∵"],["bemptyv","⦰"],["bepsi","϶"],["bernou","ℬ"],["beta","β"],["beth","ℶ"],["between","≬"],["bfr","\uD835\uDD1F"],["bigcap","⋂"],["bigcirc","◯"],["bigcup","⋃"],["bigodot","⨀"],["bigoplus","⨁"],["bigotimes","⨂"],["bigsqcup","⨆"],["bigstar","★"],["bigtriangledown","▽"],["bigtriangleup","△"],["biguplus","⨄"],["bigvee","⋁"],["bigwedge","⋀"],["bkarow","⤍"],["blacklozenge","⧫"],["blacksquare","▪"],["blacktriangle","▴"],["blacktriangledown","▾"],["blacktriangleleft","◂"],["blacktriangleright","▸"],["blank","␣"],["blk12","▒"],["blk14","░"],["blk34","▓"],["block","█"],["bne","=⃥"],["bnequiv","≡⃥"],["bnot","⌐"],["bopf","\uD835\uDD53"],["bot","⊥"],["bottom","⊥"],["bowtie","⋈"],["boxDL","╗"],["boxDR","╔"],["boxDl","╖"],["boxDr","╓"],["boxH","═"],["boxHD","╦"],["boxHU","╩"],["boxHd","╤"],["boxHu","╧"],["boxUL","╝"],["boxUR","╚"],["boxUl","╜"],["boxUr","╙"],["boxV","║"],["boxVH","╬"],["boxVL","╣"],["boxVR","╠"],["boxVh","╫"],["boxVl","╢"],["boxVr","╟"],["boxbox","⧉"],["boxdL","╕"],["boxdR","╒"],["boxdl","┐"],["boxdr","┌"],["boxh","─"],["boxhD","╥"],["boxhU","╨"],["boxhd","┬"],["boxhu","┴"],["boxminus","⊟"],["boxplus","⊞"],["boxtimes","⊠"],["boxuL","╛"],["boxuR","╘"],["boxul","┘"],["boxur","└"],["boxv","│"],["boxvH","╪"],["boxvL","╡"],["boxvR","╞"],["boxvh","┼"],["boxvl","┤"],["boxvr","├"],["bprime","‵"],["breve","˘"],["brvbar","\xa6"],["bscr","\uD835\uDCB7"],["bsemi","⁏"],["bsim","∽"],["bsime","⋍"],["bsol","\\\\"],["bsolb","⧅"],["bsolhsub","⟈"],["bull","•"],["bullet","•"],["bump","≎"],["bumpE","⪮"],["bumpe","≏"],["bumpeq","≏"],["cacute","ć"],["cap","∩"],["capand","⩄"],["capbrcup","⩉"],["capcap","⩋"],["capcup","⩇"],["capdot","⩀"],["caps","∩︀"],["caret","⁁"],["caron","ˇ"],["ccaps","⩍"],["ccaron","č"],["ccedil","\xe7"],["ccirc","ĉ"],["ccups","⩌"],["ccupssm","⩐"],["cdot","ċ"],["cedil","\xb8"],["cemptyv","⦲"],["cent","\xa2"],["centerdot","\xb7"],["cfr","\uD835\uDD20"],["chcy","ч"],["check","✓"],["checkmark","✓"],["chi","χ"],["cir","○"],["cirE","⧃"],["circ","ˆ"],["circeq","≗"],["circlearrowleft","↺"],["circlearrowright","↻"],["circledR","\xae"],["circledS","Ⓢ"],["circledast","⊛"],["circledcirc","⊚"],["circleddash","⊝"],["cire","≗"],["cirfnint","⨐"],["cirmid","⫯"],["cirscir","⧂"],["clubs","♣"],["clubsuit","♣"],["colon",":"],["colone","≔"],["coloneq","≔"],["comma",","],["commat","@"],["comp","∁"],["compfn","∘"],["complement","∁"],["complexes","ℂ"],["cong","≅"],["congdot","⩭"],["conint","∮"],["copf","\uD835\uDD54"],["coprod","∐"],["copy","\xa9"],["copysr","℗"],["crarr","↵"],["cross","✗"],["cscr","\uD835\uDCB8"],["csub","⫏"],["csube","⫑"],["csup","⫐"],["csupe","⫒"],["ctdot","⋯"],["cudarrl","⤸"],["cudarrr","⤵"],["cuepr","⋞"],["cuesc","⋟"],["cularr","↶"],["cularrp","⤽"],["cup","∪"],["cupbrcap","⩈"],["cupcap","⩆"],["cupcup","⩊"],["cupdot","⊍"],["cupor","⩅"],["cups","∪︀"],["curarr","↷"],["curarrm","⤼"],["curlyeqprec","⋞"],["curlyeqsucc","⋟"],["curlyvee","⋎"],["curlywedge","⋏"],["curren","\xa4"],["curvearrowleft","↶"],["curvearrowright","↷"],["cuvee","⋎"],["cuwed","⋏"],["cwconint","∲"],["cwint","∱"],["cylcty","⌭"],["dArr","⇓"],["dHar","⥥"],["dagger","†"],["daleth","ℸ"],["darr","↓"],["dash","‐"],["dashv","⊣"],["dbkarow","⤏"],["dblac","˝"],["dcaron","ď"],["dcy","д"],["dd","ⅆ"],["ddagger","‡"],["ddarr","⇊"],["ddotseq","⩷"],["deg","\xb0"],["delta","δ"],["demptyv","⦱"],["dfisht","⥿"],["dfr","\uD835\uDD21"],["dharl","⇃"],["dharr","⇂"],["diam","⋄"],["diamond","⋄"],["diamondsuit","♦"],["diams","♦"],["die","\xa8"],["digamma","ϝ"],["disin","⋲"],["div","\xf7"],["divide","\xf7"],["divideontimes","⋇"],["divonx","⋇"],["djcy","ђ"],["dlcorn","⌞"],["dlcrop","⌍"],["dollar","$"],["dopf","\uD835\uDD55"],["dot","˙"],["doteq","≐"],["doteqdot","≑"],["dotminus","∸"],["dotplus","∔"],["dotsquare","⊡"],["doublebarwedge","⌆"],["downarrow","↓"],["downdownarrows","⇊"],["downharpoonleft","⇃"],["downharpoonright","⇂"],["drbkarow","⤐"],["drcorn","⌟"],["drcrop","⌌"],["dscr","\uD835\uDCB9"],["dscy","ѕ"],["dsol","⧶"],["dstrok","đ"],["dtdot","⋱"],["dtri","▿"],["dtrif","▾"],["duarr","⇵"],["duhar","⥯"],["dwangle","⦦"],["dzcy","џ"],["dzigrarr","⟿"],["eDDot","⩷"],["eDot","≑"],["eacute","\xe9"],["easter","⩮"],["ecaron","ě"],["ecir","≖"],["ecirc","\xea"],["ecolon","≕"],["ecy","э"],["edot","ė"],["ee","ⅇ"],["efDot","≒"],["efr","\uD835\uDD22"],["eg","⪚"],["egrave","\xe8"],["egs","⪖"],["egsdot","⪘"],["el","⪙"],["elinters","⏧"],["ell","ℓ"],["els","⪕"],["elsdot","⪗"],["emacr","ē"],["empty","∅"],["emptyset","∅"],["emptyv","∅"],["emsp"," "],["emsp13"," "],["emsp14"," "],["eng","ŋ"],["ensp"," "],["eogon","ę"],["eopf","\uD835\uDD56"],["epar","⋕"],["eparsl","⧣"],["eplus","⩱"],["epsi","ε"],["epsilon","ε"],["epsiv","ϵ"],["eqcirc","≖"],["eqcolon","≕"],["eqsim","≂"],["eqslantgtr","⪖"],["eqslantless","⪕"],["equals","="],["equest","≟"],["equiv","≡"],["equivDD","⩸"],["eqvparsl","⧥"],["erDot","≓"],["erarr","⥱"],["escr","ℯ"],["esdot","≐"],["esim","≂"],["eta","η"],["eth","\xf0"],["euml","\xeb"],["euro","€"],["excl","!"],["exist","∃"],["expectation","ℰ"],["exponentiale","ⅇ"],["fallingdotseq","≒"],["fcy","ф"],["female","♀"],["ffilig","ffi"],["fflig","ff"],["ffllig","ffl"],["ffr","\uD835\uDD23"],["filig","fi"],["fjlig","fj"],["flat","♭"],["fllig","fl"],["fltns","▱"],["fnof","ƒ"],["fopf","\uD835\uDD57"],["forall","∀"],["fork","⋔"],["forkv","⫙"],["fpartint","⨍"],["frac12","\xbd"],["frac13","⅓"],["frac14","\xbc"],["frac15","⅕"],["frac16","⅙"],["frac18","⅛"],["frac23","⅔"],["frac25","⅖"],["frac34","\xbe"],["frac35","⅗"],["frac38","⅜"],["frac45","⅘"],["frac56","⅚"],["frac58","⅝"],["frac78","⅞"],["frasl","⁄"],["frown","⌢"],["fscr","\uD835\uDCBB"],["gE","≧"],["gEl","⪌"],["gacute","ǵ"],["gamma","γ"],["gammad","ϝ"],["gap","⪆"],["gbreve","ğ"],["gcirc","ĝ"],["gcy","г"],["gdot","ġ"],["ge","≥"],["gel","⋛"],["geq","≥"],["geqq","≧"],["geqslant","⩾"],["ges","⩾"],["gescc","⪩"],["gesdot","⪀"],["gesdoto","⪂"],["gesdotol","⪄"],["gesl","⋛︀"],["gesles","⪔"],["gfr","\uD835\uDD24"],["gg","≫"],["ggg","⋙"],["gimel","ℷ"],["gjcy","ѓ"],["gl","≷"],["glE","⪒"],["gla","⪥"],["glj","⪤"],["gnE","≩"],["gnap","⪊"],["gnapprox","⪊"],["gne","⪈"],["gneq","⪈"],["gneqq","≩"],["gnsim","⋧"],["gopf","\uD835\uDD58"],["grave","`"],["gscr","ℊ"],["gsim","≳"],["gsime","⪎"],["gsiml","⪐"],["gt",">"],["gtcc","⪧"],["gtcir","⩺"],["gtdot","⋗"],["gtlPar","⦕"],["gtquest","⩼"],["gtrapprox","⪆"],["gtrarr","⥸"],["gtrdot","⋗"],["gtreqless","⋛"],["gtreqqless","⪌"],["gtrless","≷"],["gtrsim","≳"],["gvertneqq","≩︀"],["gvnE","≩︀"],["hArr","⇔"],["hairsp"," "],["half","\xbd"],["hamilt","ℋ"],["hardcy","ъ"],["harr","↔"],["harrcir","⥈"],["harrw","↭"],["hbar","ℏ"],["hcirc","ĥ"],["hearts","♥"],["heartsuit","♥"],["hellip","…"],["hercon","⊹"],["hfr","\uD835\uDD25"],["hksearow","⤥"],["hkswarow","⤦"],["hoarr","⇿"],["homtht","∻"],["hookleftarrow","↩"],["hookrightarrow","↪"],["hopf","\uD835\uDD59"],["horbar","―"],["hscr","\uD835\uDCBD"],["hslash","ℏ"],["hstrok","ħ"],["hybull","⁃"],["hyphen","‐"],["iacute","\xed"],["ic","⁣"],["icirc","\xee"],["icy","и"],["iecy","е"],["iexcl","\xa1"],["iff","⇔"],["ifr","\uD835\uDD26"],["igrave","\xec"],["ii","ⅈ"],["iiiint","⨌"],["iiint","∭"],["iinfin","⧜"],["iiota","℩"],["ijlig","ij"],["imacr","ī"],["image","ℑ"],["imagline","ℐ"],["imagpart","ℑ"],["imath","ı"],["imof","⊷"],["imped","Ƶ"],["in","∈"],["incare","℅"],["infin","∞"],["infintie","⧝"],["inodot","ı"],["int","∫"],["intcal","⊺"],["integers","ℤ"],["intercal","⊺"],["intlarhk","⨗"],["intprod","⨼"],["iocy","ё"],["iogon","į"],["iopf","\uD835\uDD5A"],["iota","ι"],["iprod","⨼"],["iquest","\xbf"],["iscr","\uD835\uDCBE"],["isin","∈"],["isinE","⋹"],["isindot","⋵"],["isins","⋴"],["isinsv","⋳"],["isinv","∈"],["it","⁢"],["itilde","ĩ"],["iukcy","і"],["iuml","\xef"],["jcirc","ĵ"],["jcy","й"],["jfr","\uD835\uDD27"],["jmath","ȷ"],["jopf","\uD835\uDD5B"],["jscr","\uD835\uDCBF"],["jsercy","ј"],["jukcy","є"],["kappa","κ"],["kappav","ϰ"],["kcedil","ķ"],["kcy","к"],["kfr","\uD835\uDD28"],["kgreen","ĸ"],["khcy","х"],["kjcy","ќ"],["kopf","\uD835\uDD5C"],["kscr","\uD835\uDCC0"],["lAarr","⇚"],["lArr","⇐"],["lAtail","⤛"],["lBarr","⤎"],["lE","≦"],["lEg","⪋"],["lHar","⥢"],["lacute","ĺ"],["laemptyv","⦴"],["lagran","ℒ"],["lambda","λ"],["lang","⟨"],["langd","⦑"],["langle","⟨"],["lap","⪅"],["laquo","\xab"],["larr","←"],["larrb","⇤"],["larrbfs","⤟"],["larrfs","⤝"],["larrhk","↩"],["larrlp","↫"],["larrpl","⤹"],["larrsim","⥳"],["larrtl","↢"],["lat","⪫"],["latail","⤙"],["late","⪭"],["lates","⪭︀"],["lbarr","⤌"],["lbbrk","❲"],["lbrace","{"],["lbrack","["],["lbrke","⦋"],["lbrksld","⦏"],["lbrkslu","⦍"],["lcaron","ľ"],["lcedil","ļ"],["lceil","⌈"],["lcub","{"],["lcy","л"],["ldca","⤶"],["ldquo","“"],["ldquor","„"],["ldrdhar","⥧"],["ldrushar","⥋"],["ldsh","↲"],["le","≤"],["leftarrow","←"],["leftarrowtail","↢"],["leftharpoondown","↽"],["leftharpoonup","↼"],["leftleftarrows","⇇"],["leftrightarrow","↔"],["leftrightarrows","⇆"],["leftrightharpoons","⇋"],["leftrightsquigarrow","↭"],["leftthreetimes","⋋"],["leg","⋚"],["leq","≤"],["leqq","≦"],["leqslant","⩽"],["les","⩽"],["lescc","⪨"],["lesdot","⩿"],["lesdoto","⪁"],["lesdotor","⪃"],["lesg","⋚︀"],["lesges","⪓"],["lessapprox","⪅"],["lessdot","⋖"],["lesseqgtr","⋚"],["lesseqqgtr","⪋"],["lessgtr","≶"],["lesssim","≲"],["lfisht","⥼"],["lfloor","⌊"],["lfr","\uD835\uDD29"],["lg","≶"],["lgE","⪑"],["lhard","↽"],["lharu","↼"],["lharul","⥪"],["lhblk","▄"],["ljcy","љ"],["ll","≪"],["llarr","⇇"],["llcorner","⌞"],["llhard","⥫"],["lltri","◺"],["lmidot","ŀ"],["lmoust","⎰"],["lmoustache","⎰"],["lnE","≨"],["lnap","⪉"],["lnapprox","⪉"],["lne","⪇"],["lneq","⪇"],["lneqq","≨"],["lnsim","⋦"],["loang","⟬"],["loarr","⇽"],["lobrk","⟦"],["longleftarrow","⟵"],["longleftrightarrow","⟷"],["longmapsto","⟼"],["longrightarrow","⟶"],["looparrowleft","↫"],["looparrowright","↬"],["lopar","⦅"],["lopf","\uD835\uDD5D"],["loplus","⨭"],["lotimes","⨴"],["lowast","∗"],["lowbar","_"],["loz","◊"],["lozenge","◊"],["lozf","⧫"],["lpar","("],["lparlt","⦓"],["lrarr","⇆"],["lrcorner","⌟"],["lrhar","⇋"],["lrhard","⥭"],["lrm","‎"],["lrtri","⊿"],["lsaquo","‹"],["lscr","\uD835\uDCC1"],["lsh","↰"],["lsim","≲"],["lsime","⪍"],["lsimg","⪏"],["lsqb","["],["lsquo","‘"],["lsquor","‚"],["lstrok","ł"],["lt","<"],["ltcc","⪦"],["ltcir","⩹"],["ltdot","⋖"],["lthree","⋋"],["ltimes","⋉"],["ltlarr","⥶"],["ltquest","⩻"],["ltrPar","⦖"],["ltri","◃"],["ltrie","⊴"],["ltrif","◂"],["lurdshar","⥊"],["luruhar","⥦"],["lvertneqq","≨︀"],["lvnE","≨︀"],["mDDot","∺"],["macr","\xaf"],["male","♂"],["malt","✠"],["maltese","✠"],["map","↦"],["mapsto","↦"],["mapstodown","↧"],["mapstoleft","↤"],["mapstoup","↥"],["marker","▮"],["mcomma","⨩"],["mcy","м"],["mdash","—"],["measuredangle","∡"],["mfr","\uD835\uDD2A"],["mho","℧"],["micro","\xb5"],["mid","∣"],["midast","*"],["midcir","⫰"],["middot","\xb7"],["minus","−"],["minusb","⊟"],["minusd","∸"],["minusdu","⨪"],["mlcp","⫛"],["mldr","…"],["mnplus","∓"],["models","⊧"],["mopf","\uD835\uDD5E"],["mp","∓"],["mscr","\uD835\uDCC2"],["mstpos","∾"],["mu","μ"],["multimap","⊸"],["mumap","⊸"],["nGg","⋙̸"],["nGt","≫⃒"],["nGtv","≫̸"],["nLeftarrow","⇍"],["nLeftrightarrow","⇎"],["nLl","⋘̸"],["nLt","≪⃒"],["nLtv","≪̸"],["nRightarrow","⇏"],["nVDash","⊯"],["nVdash","⊮"],["nabla","∇"],["nacute","ń"],["nang","∠⃒"],["nap","≉"],["napE","⩰̸"],["napid","≋̸"],["napos","ʼn"],["napprox","≉"],["natur","♮"],["natural","♮"],["naturals","ℕ"],["nbsp","\xa0"],["nbump","≎̸"],["nbumpe","≏̸"],["ncap","⩃"],["ncaron","ň"],["ncedil","ņ"],["ncong","≇"],["ncongdot","⩭̸"],["ncup","⩂"],["ncy","н"],["ndash","–"],["ne","≠"],["neArr","⇗"],["nearhk","⤤"],["nearr","↗"],["nearrow","↗"],["nedot","≐̸"],["nequiv","≢"],["nesear","⤨"],["nesim","≂̸"],["nexist","∄"],["nexists","∄"],["nfr","\uD835\uDD2B"],["ngE","≧̸"],["nge","≱"],["ngeq","≱"],["ngeqq","≧̸"],["ngeqslant","⩾̸"],["nges","⩾̸"],["ngsim","≵"],["ngt","≯"],["ngtr","≯"],["nhArr","⇎"],["nharr","↮"],["nhpar","⫲"],["ni","∋"],["nis","⋼"],["nisd","⋺"],["niv","∋"],["njcy","њ"],["nlArr","⇍"],["nlE","≦̸"],["nlarr","↚"],["nldr","‥"],["nle","≰"],["nleftarrow","↚"],["nleftrightarrow","↮"],["nleq","≰"],["nleqq","≦̸"],["nleqslant","⩽̸"],["nles","⩽̸"],["nless","≮"],["nlsim","≴"],["nlt","≮"],["nltri","⋪"],["nltrie","⋬"],["nmid","∤"],["nopf","\uD835\uDD5F"],["not","\xac"],["notin","∉"],["notinE","⋹̸"],["notindot","⋵̸"],["notinva","∉"],["notinvb","⋷"],["notinvc","⋶"],["notni","∌"],["notniva","∌"],["notnivb","⋾"],["notnivc","⋽"],["npar","∦"],["nparallel","∦"],["nparsl","⫽⃥"],["npart","∂̸"],["npolint","⨔"],["npr","⊀"],["nprcue","⋠"],["npre","⪯̸"],["nprec","⊀"],["npreceq","⪯̸"],["nrArr","⇏"],["nrarr","↛"],["nrarrc","⤳̸"],["nrarrw","↝̸"],["nrightarrow","↛"],["nrtri","⋫"],["nrtrie","⋭"],["nsc","⊁"],["nsccue","⋡"],["nsce","⪰̸"],["nscr","\uD835\uDCC3"],["nshortmid","∤"],["nshortparallel","∦"],["nsim","≁"],["nsime","≄"],["nsimeq","≄"],["nsmid","∤"],["nspar","∦"],["nsqsube","⋢"],["nsqsupe","⋣"],["nsub","⊄"],["nsubE","⫅̸"],["nsube","⊈"],["nsubset","⊂⃒"],["nsubseteq","⊈"],["nsubseteqq","⫅̸"],["nsucc","⊁"],["nsucceq","⪰̸"],["nsup","⊅"],["nsupE","⫆̸"],["nsupe","⊉"],["nsupset","⊃⃒"],["nsupseteq","⊉"],["nsupseteqq","⫆̸"],["ntgl","≹"],["ntilde","\xf1"],["ntlg","≸"],["ntriangleleft","⋪"],["ntrianglelefteq","⋬"],["ntriangleright","⋫"],["ntrianglerighteq","⋭"],["nu","ν"],["num","#"],["numero","№"],["numsp"," "],["nvDash","⊭"],["nvHarr","⤄"],["nvap","≍⃒"],["nvdash","⊬"],["nvge","≥⃒"],["nvgt",">⃒"],["nvinfin","⧞"],["nvlArr","⤂"],["nvle","≤⃒"],["nvlt","<⃒"],["nvltrie","⊴⃒"],["nvrArr","⤃"],["nvrtrie","⊵⃒"],["nvsim","∼⃒"],["nwArr","⇖"],["nwarhk","⤣"],["nwarr","↖"],["nwarrow","↖"],["nwnear","⤧"],["oS","Ⓢ"],["oacute","\xf3"],["oast","⊛"],["ocir","⊚"],["ocirc","\xf4"],["ocy","о"],["odash","⊝"],["odblac","ő"],["odiv","⨸"],["odot","⊙"],["odsold","⦼"],["oelig","œ"],["ofcir","⦿"],["ofr","\uD835\uDD2C"],["ogon","˛"],["ograve","\xf2"],["ogt","⧁"],["ohbar","⦵"],["ohm","Ω"],["oint","∮"],["olarr","↺"],["olcir","⦾"],["olcross","⦻"],["oline","‾"],["olt","⧀"],["omacr","ō"],["omega","ω"],["omicron","ο"],["omid","⦶"],["ominus","⊖"],["oopf","\uD835\uDD60"],["opar","⦷"],["operp","⦹"],["oplus","⊕"],["or","∨"],["orarr","↻"],["ord","⩝"],["order","ℴ"],["orderof","ℴ"],["ordf","\xaa"],["ordm","\xba"],["origof","⊶"],["oror","⩖"],["orslope","⩗"],["orv","⩛"],["oscr","ℴ"],["oslash","\xf8"],["osol","⊘"],["otilde","\xf5"],["otimes","⊗"],["otimesas","⨶"],["ouml","\xf6"],["ovbar","⌽"],["par","∥"],["para","\xb6"],["parallel","∥"],["parsim","⫳"],["parsl","⫽"],["part","∂"],["pcy","п"],["percnt","%"],["period","."],["permil","‰"],["perp","⊥"],["pertenk","‱"],["pfr","\uD835\uDD2D"],["phi","φ"],["phiv","ϕ"],["phmmat","ℳ"],["phone","☎"],["pi","π"],["pitchfork","⋔"],["piv","ϖ"],["planck","ℏ"],["planckh","ℎ"],["plankv","ℏ"],["plus","+"],["plusacir","⨣"],["plusb","⊞"],["pluscir","⨢"],["plusdo","∔"],["plusdu","⨥"],["pluse","⩲"],["plusmn","\xb1"],["plussim","⨦"],["plustwo","⨧"],["pm","\xb1"],["pointint","⨕"],["popf","\uD835\uDD61"],["pound","\xa3"],["pr","≺"],["prE","⪳"],["prap","⪷"],["prcue","≼"],["pre","⪯"],["prec","≺"],["precapprox","⪷"],["preccurlyeq","≼"],["preceq","⪯"],["precnapprox","⪹"],["precneqq","⪵"],["precnsim","⋨"],["precsim","≾"],["prime","′"],["primes","ℙ"],["prnE","⪵"],["prnap","⪹"],["prnsim","⋨"],["prod","∏"],["profalar","⌮"],["profline","⌒"],["profsurf","⌓"],["prop","∝"],["propto","∝"],["prsim","≾"],["prurel","⊰"],["pscr","\uD835\uDCC5"],["psi","ψ"],["puncsp"," "],["qfr","\uD835\uDD2E"],["qint","⨌"],["qopf","\uD835\uDD62"],["qprime","⁗"],["qscr","\uD835\uDCC6"],["quaternions","ℍ"],["quatint","⨖"],["quest","?"],["questeq","≟"],["quot","\\""],["rAarr","⇛"],["rArr","⇒"],["rAtail","⤜"],["rBarr","⤏"],["rHar","⥤"],["race","∽̱"],["racute","ŕ"],["radic","√"],["raemptyv","⦳"],["rang","⟩"],["rangd","⦒"],["range","⦥"],["rangle","⟩"],["raquo","\xbb"],["rarr","→"],["rarrap","⥵"],["rarrb","⇥"],["rarrbfs","⤠"],["rarrc","⤳"],["rarrfs","⤞"],["rarrhk","↪"],["rarrlp","↬"],["rarrpl","⥅"],["rarrsim","⥴"],["rarrtl","↣"],["rarrw","↝"],["ratail","⤚"],["ratio","∶"],["rationals","ℚ"],["rbarr","⤍"],["rbbrk","❳"],["rbrace","}"],["rbrack","]"],["rbrke","⦌"],["rbrksld","⦎"],["rbrkslu","⦐"],["rcaron","ř"],["rcedil","ŗ"],["rceil","⌉"],["rcub","}"],["rcy","р"],["rdca","⤷"],["rdldhar","⥩"],["rdquo","”"],["rdquor","”"],["rdsh","↳"],["real","ℜ"],["realine","ℛ"],["realpart","ℜ"],["reals","ℝ"],["rect","▭"],["reg","\xae"],["rfisht","⥽"],["rfloor","⌋"],["rfr","\uD835\uDD2F"],["rhard","⇁"],["rharu","⇀"],["rharul","⥬"],["rho","ρ"],["rhov","ϱ"],["rightarrow","→"],["rightarrowtail","↣"],["rightharpoondown","⇁"],["rightharpoonup","⇀"],["rightleftarrows","⇄"],["rightleftharpoons","⇌"],["rightrightarrows","⇉"],["rightsquigarrow","↝"],["rightthreetimes","⋌"],["ring","˚"],["risingdotseq","≓"],["rlarr","⇄"],["rlhar","⇌"],["rlm","‏"],["rmoust","⎱"],["rmoustache","⎱"],["rnmid","⫮"],["roang","⟭"],["roarr","⇾"],["robrk","⟧"],["ropar","⦆"],["ropf","\uD835\uDD63"],["roplus","⨮"],["rotimes","⨵"],["rpar",")"],["rpargt","⦔"],["rppolint","⨒"],["rrarr","⇉"],["rsaquo","›"],["rscr","\uD835\uDCC7"],["rsh","↱"],["rsqb","]"],["rsquo","’"],["rsquor","’"],["rthree","⋌"],["rtimes","⋊"],["rtri","▹"],["rtrie","⊵"],["rtrif","▸"],["rtriltri","⧎"],["ruluhar","⥨"],["rx","℞"],["sacute","ś"],["sbquo","‚"],["sc","≻"],["scE","⪴"],["scap","⪸"],["scaron","š"],["sccue","≽"],["sce","⪰"],["scedil","ş"],["scirc","ŝ"],["scnE","⪶"],["scnap","⪺"],["scnsim","⋩"],["scpolint","⨓"],["scsim","≿"],["scy","с"],["sdot","⋅"],["sdotb","⊡"],["sdote","⩦"],["seArr","⇘"],["searhk","⤥"],["searr","↘"],["searrow","↘"],["sect","\xa7"],["semi",";"],["seswar","⤩"],["setminus","∖"],["setmn","∖"],["sext","✶"],["sfr","\uD835\uDD30"],["sfrown","⌢"],["sharp","♯"],["shchcy","щ"],["shcy","ш"],["shortmid","∣"],["shortparallel","∥"],["shy","\xad"],["sigma","σ"],["sigmaf","ς"],["sigmav","ς"],["sim","∼"],["simdot","⩪"],["sime","≃"],["simeq","≃"],["simg","⪞"],["simgE","⪠"],["siml","⪝"],["simlE","⪟"],["simne","≆"],["simplus","⨤"],["simrarr","⥲"],["slarr","←"],["smallsetminus","∖"],["smashp","⨳"],["smeparsl","⧤"],["smid","∣"],["smile","⌣"],["smt","⪪"],["smte","⪬"],["smtes","⪬︀"],["softcy","ь"],["sol","/"],["solb","⧄"],["solbar","⌿"],["sopf","\uD835\uDD64"],["spades","♠"],["spadesuit","♠"],["spar","∥"],["sqcap","⊓"],["sqcaps","⊓︀"],["sqcup","⊔"],["sqcups","⊔︀"],["sqsub","⊏"],["sqsube","⊑"],["sqsubset","⊏"],["sqsubseteq","⊑"],["sqsup","⊐"],["sqsupe","⊒"],["sqsupset","⊐"],["sqsupseteq","⊒"],["squ","□"],["square","□"],["squarf","▪"],["squf","▪"],["srarr","→"],["sscr","\uD835\uDCC8"],["ssetmn","∖"],["ssmile","⌣"],["sstarf","⋆"],["star","☆"],["starf","★"],["straightepsilon","ϵ"],["straightphi","ϕ"],["strns","\xaf"],["sub","⊂"],["subE","⫅"],["subdot","⪽"],["sube","⊆"],["subedot","⫃"],["submult","⫁"],["subnE","⫋"],["subne","⊊"],["subplus","⪿"],["subrarr","⥹"],["subset","⊂"],["subseteq","⊆"],["subseteqq","⫅"],["subsetneq","⊊"],["subsetneqq","⫋"],["subsim","⫇"],["subsub","⫕"],["subsup","⫓"],["succ","≻"],["succapprox","⪸"],["succcurlyeq","≽"],["succeq","⪰"],["succnapprox","⪺"],["succneqq","⪶"],["succnsim","⋩"],["succsim","≿"],["sum","∑"],["sung","♪"],["sup","⊃"],["sup1","\xb9"],["sup2","\xb2"],["sup3","\xb3"],["supE","⫆"],["supdot","⪾"],["supdsub","⫘"],["supe","⊇"],["supedot","⫄"],["suphsol","⟉"],["suphsub","⫗"],["suplarr","⥻"],["supmult","⫂"],["supnE","⫌"],["supne","⊋"],["supplus","⫀"],["supset","⊃"],["supseteq","⊇"],["supseteqq","⫆"],["supsetneq","⊋"],["supsetneqq","⫌"],["supsim","⫈"],["supsub","⫔"],["supsup","⫖"],["swArr","⇙"],["swarhk","⤦"],["swarr","↙"],["swarrow","↙"],["swnwar","⤪"],["szlig","\xdf"],["target","⌖"],["tau","τ"],["tbrk","⎴"],["tcaron","ť"],["tcedil","ţ"],["tcy","т"],["tdot","⃛"],["telrec","⌕"],["tfr","\uD835\uDD31"],["there4","∴"],["therefore","∴"],["theta","θ"],["thetasym","ϑ"],["thetav","ϑ"],["thickapprox","≈"],["thicksim","∼"],["thinsp"," "],["thkap","≈"],["thksim","∼"],["thorn","\xfe"],["tilde","˜"],["times","\xd7"],["timesb","⊠"],["timesbar","⨱"],["timesd","⨰"],["tint","∭"],["toea","⤨"],["top","⊤"],["topbot","⌶"],["topcir","⫱"],["topf","\uD835\uDD65"],["topfork","⫚"],["tosa","⤩"],["tprime","‴"],["trade","™"],["triangle","▵"],["triangledown","▿"],["triangleleft","◃"],["trianglelefteq","⊴"],["triangleq","≜"],["triangleright","▹"],["trianglerighteq","⊵"],["tridot","◬"],["trie","≜"],["triminus","⨺"],["triplus","⨹"],["trisb","⧍"],["tritime","⨻"],["trpezium","⏢"],["tscr","\uD835\uDCC9"],["tscy","ц"],["tshcy","ћ"],["tstrok","ŧ"],["twixt","≬"],["twoheadleftarrow","↞"],["twoheadrightarrow","↠"],["uArr","⇑"],["uHar","⥣"],["uacute","\xfa"],["uarr","↑"],["ubrcy","ў"],["ubreve","ŭ"],["ucirc","\xfb"],["ucy","у"],["udarr","⇅"],["udblac","ű"],["udhar","⥮"],["ufisht","⥾"],["ufr","\uD835\uDD32"],["ugrave","\xf9"],["uharl","↿"],["uharr","↾"],["uhblk","▀"],["ulcorn","⌜"],["ulcorner","⌜"],["ulcrop","⌏"],["ultri","◸"],["umacr","ū"],["uml","\xa8"],["uogon","ų"],["uopf","\uD835\uDD66"],["uparrow","↑"],["updownarrow","↕"],["upharpoonleft","↿"],["upharpoonright","↾"],["uplus","⊎"],["upsi","υ"],["upsih","ϒ"],["upsilon","υ"],["upuparrows","⇈"],["urcorn","⌝"],["urcorner","⌝"],["urcrop","⌎"],["uring","ů"],["urtri","◹"],["uscr","\uD835\uDCCA"],["utdot","⋰"],["utilde","ũ"],["utri","▵"],["utrif","▴"],["uuarr","⇈"],["uuml","\xfc"],["uwangle","⦧"],["vArr","⇕"],["vBar","⫨"],["vBarv","⫩"],["vDash","⊨"],["vangrt","⦜"],["varepsilon","ϵ"],["varkappa","ϰ"],["varnothing","∅"],["varphi","ϕ"],["varpi","ϖ"],["varpropto","∝"],["varr","↕"],["varrho","ϱ"],["varsigma","ς"],["varsubsetneq","⊊︀"],["varsubsetneqq","⫋︀"],["varsupsetneq","⊋︀"],["varsupsetneqq","⫌︀"],["vartheta","ϑ"],["vartriangleleft","⊲"],["vartriangleright","⊳"],["vcy","в"],["vdash","⊢"],["vee","∨"],["veebar","⊻"],["veeeq","≚"],["vellip","⋮"],["verbar","|"],["vert","|"],["vfr","\uD835\uDD33"],["vltri","⊲"],["vnsub","⊂⃒"],["vnsup","⊃⃒"],["vopf","\uD835\uDD67"],["vprop","∝"],["vrtri","⊳"],["vscr","\uD835\uDCCB"],["vsubnE","⫋︀"],["vsubne","⊊︀"],["vsupnE","⫌︀"],["vsupne","⊋︀"],["vzigzag","⦚"],["wcirc","ŵ"],["wedbar","⩟"],["wedge","∧"],["wedgeq","≙"],["weierp","℘"],["wfr","\uD835\uDD34"],["wopf","\uD835\uDD68"],["wp","℘"],["wr","≀"],["wreath","≀"],["wscr","\uD835\uDCCC"],["xcap","⋂"],["xcirc","◯"],["xcup","⋃"],["xdtri","▽"],["xfr","\uD835\uDD35"],["xhArr","⟺"],["xharr","⟷"],["xi","ξ"],["xlArr","⟸"],["xlarr","⟵"],["xmap","⟼"],["xnis","⋻"],["xodot","⨀"],["xopf","\uD835\uDD69"],["xoplus","⨁"],["xotime","⨂"],["xrArr","⟹"],["xrarr","⟶"],["xscr","\uD835\uDCCD"],["xsqcup","⨆"],["xuplus","⨄"],["xutri","△"],["xvee","⋁"],["xwedge","⋀"],["yacute","\xfd"],["yacy","я"],["ycirc","ŷ"],["ycy","ы"],["yen","\xa5"],["yfr","\uD835\uDD36"],["yicy","ї"],["yopf","\uD835\uDD6A"],["yscr","\uD835\uDCCE"],["yucy","ю"],["yuml","\xff"],["zacute","ź"],["zcaron","ž"],["zcy","з"],["zdot","ż"],["zeetrf","ℨ"],["zeta","ζ"],["zfr","\uD835\uDD37"],["zhcy","ж"],["zigrarr","⇝"],["zopf","\uD835\uDD6B"],["zscr","\uD835\uDCCF"],["zwj","‍"],["zwnj","‌"]]')),Te=e=>{if(!e.startsWith("&")||!e.endsWith(";"))return;let t=e.slice(1,-1);if(!t.startsWith("#"))return U7.get(t);let r="x"===t.charAt(1)||"X"===t.charAt(1),i=r?t.slice(2):t.slice(1);if(0===i.length||!(r?/^[0-9a-f]+$/i:/^[0-9]+$/).test(i))return;let n=Number.parseInt(i,r?16:10);return 0===n||n>1114111||n>=55296&&n<=57343?"�":String.fromCodePoint(n)},Tt="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",Tr="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",Ti=/[\\&]/,Tn=RegExp(`\\\\${Tt}|${Tr}`,"gi"),Ts=e=>92===e.charCodeAt(0)?e.charAt(1):Te(e)??e,Ta=e=>Ti.test(e)?e.replace(Tn,Ts):e,To=/^[ \t]*$/,TA=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,Tl={type:"code",acceptsLines:!0,canContain:()=>!1,continue:(e,t)=>{if(!0===t.data.isFenced){let r=e.currentLine,i=e.indent<=3&&r.charAt(e.nextNonspace)===t.data.fenceChar?TA.exec(r.slice(e.nextNonspace)):null;if(null!==i&&i[0].length>=(t.data.fenceLength??3))return e.setLastLineLength(e.offset+e.indent+i[0].length),e.finalizeBlock(t,e.lineNumber),2;let n=t.data.fenceOffset??0;for(;n>0&&Uz(UV(r,e.offset));)e.advanceOffset(1,!0),n-=1;return 0}if(e.indent>=4)e.advanceOffset(4,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:(e,t)=>{if(!0===t.data.isFenced)(e=>{let t=e.stringContent,r=t.indexOf("\n"),i=(-1===r?t:t.slice(0,r)).trim();if(e.stringContent=-1===r?"":t.slice(r+1),0===i.length)return;let n=i.search(/[ \t]/);if(-1===n){e.data.lang=Ta(i);return}e.data.lang=Ta(i.slice(0,n));let s=i.slice(n).trim();s.length>0&&(e.data.meta=Ta(s))})(t);else{let e=t.stringContent.split("\n");for(;e.length>0&&To.test(e[e.length-1]??"");)e.pop();t.stringContent=0===e.length?"":`${e.join("\n")} +`;let r=t.segments[e.length-1];void 0!==r&&(t.endOffset=r.sourceOffset+r.length,t.endLine=t.startLine+e.length-1)}},materialize:(e,t,r)=>{let{isFenced:i,fenceChar:n,fenceLength:s,lang:a,meta:o}=e.data;return UI.make({value:e.stringContent,position:r.position(e.startOffset,e.endOffset),...void 0===a?{}:{lang:a},...void 0===o?{}:{meta:o},...!0===i&&void 0!==n?{fenceChar:n}:{},...!0===i&&void 0!==s?{fenceLength:s}:{}})}},Tc={type:"document",acceptsLines:!1,canContain:e=>"listItem"!==e,continue:()=>0,materialize:(e,t,r)=>UO.make({children:t,position:r.position(e.startOffset,e.endOffset)})},Td=/^`{3,}(?!.*`)|^~{3,}/,Tu={name:"fencedCode",trigger:e=>{let t;if(e.indented)return 0;let r=Td.exec(e.currentLine.slice(e.nextNonspace));if(null===r)return 0;let i="`"===(t=r[0].charAt(0))||"~"===t?t:void 0;if(void 0===i)return 0;e.closeUnmatchedBlocks();let n=e.addChild("code",e.nextNonspace);return n.data.isFenced=!0,n.data.fenceLength=r[0].length,n.data.fenceChar=i,n.data.fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(r[0].length,!1),2}},Tg=new WeakMap,Th=new WeakMap,Tp=(e,t,r)=>RegExp(r&&e.source.startsWith("^")?e.source.slice(1):e.source,`${e.flags.replace(/[gy]/g,"")}${t}`),Tm=e=>{let t=Tg.get(e);if(void 0!==t)return t;let r=Tp(e,"y",!0);return Tg.set(e,r),r},Tf="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",TC=`\\\\${Tf}`,Ty=RegExp(`^(?:"(${TC}|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(${TC}|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\((${TC}|\\\\[^\\\\]|[^\\\\()\\x00])*\\))`),TI=/^(?:<(?:[^<>\n\\\0]|\\.)*>)/,TE=RegExp(`^${Tf}`),TB=/^ *(?:\n *)?/,TQ=/^ *(?:\n|$)/,Tb=/^\[(?:[^\\[\]]|\\.){0,1000}\]/s,TN=e=>32===e||9===e||10===e||11===e||12===e||13===e;var TS=class{subject;pos=0;constructor(e){this.subject=e}peek(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1}match(e){let t=Tm(e);t.lastIndex=this.pos;let r=t.exec(this.subject);if(null!==r)return this.pos=t.lastIndex,r[0]}spnl(){this.match(TB)}parseLinkLabel(){let e=this.match(Tb);return void 0===e||e.length>1001?0:e.length}parseLinkDestination(){let e=this.match(TI);if(void 0!==e)return Ta(e.slice(1,-1));if(60===this.peek())return;let t=this.pos,r=0,i=this.peek();for(;-1!==i;){if(92===i&&TE.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(40===i){if(this.pos+=1,(r+=1)>32)return}else if(41===i){if(r<1)break;this.pos+=1,r-=1}else if(TN(i))break;else this.pos+=1;i=this.peek()}if((this.pos!==t||41===i)&&0===r)return Ta(this.subject.slice(t,this.pos))}parseLinkTitle(){let e=this.match(Ty);return void 0===e?void 0:Ta(e.slice(1,-1))}};let Tw=e=>e.trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase(),Tx=e=>Tw(e.slice(1,e.length-1)),TD=e=>{let t=new TS(e),r=t.parseLinkLabel();if(0===r)return;let i=e.slice(0,r);if(58!==t.peek())return;t.pos+=1,t.spnl();let n=t.parseLinkDestination();if(void 0===n)return;let s=t.pos;t.spnl();let a=t.pos===s?void 0:t.parseLinkTitle();void 0===a&&(t.pos=s);let o=!0;if(void 0===t.match(TQ)&&(void 0===a?o=!1:(a=void 0,t.pos=s,o=void 0!==t.match(TQ))),!o)return;let A=Tx(i);if(""!==A)return{key:A,identifier:A.toLowerCase(),label:i.slice(1,-1),url:n,...void 0===a?{}:{title:a},length:t.pos}},TR=/\[\^([^\]\0\t\n\r ]+)\]:[ \t]*/,Tv={name:"indentedCode",trigger:e=>{if(!e.indented||"paragraph"===e.tip.type||e.blank)return 0;let t=e.offset;return e.advanceOffset(4,!0),e.closeUnmatchedBlocks(),e.addChild("code",t),2}},Tk=(e,t,r)=>{let i=r;for(let r of e){if(t<r.textOffset)break;if(t<r.textOffset+r.length)return r.sourceOffset+(t-r.textOffset);i=r.sourceOffset+r.length}return i},TM=(e,t,r)=>{let i=[];for(let n of e){let e=Math.max(n.textOffset,t),s=Math.min(n.textOffset+n.length,r);s>e&&i.push({textOffset:e-t,sourceOffset:n.sourceOffset+(e-n.textOffset),length:s-e})}return i},TF=e=>{let t=e.parent;if(void 0!==t)for(;91===e.stringContent.charCodeAt(0);){let r=TD(e.stringContent);if(void 0===r)return;let i=e.stringContent.slice(0,r.length),n=Tk(e.segments,0,e.startOffset),s=(i.match(/\n/g)??[]).length,a=i.replace(/[ \t\r\n]+$/,"").length,o=Tk(e.segments,a,n),A=(i.slice(0,a).match(/\n/g)??[]).length,l=UG("definition",n,e.startLine,e.depth);l.parent=t,l.open=!1,l.endOffset=o,l.endLine=e.startLine+A,l.data.definition={key:r.key,identifier:r.identifier,label:r.label,url:r.url,...void 0===r.title?{}:{title:r.title}};let c=t.children.indexOf(e);t.children.splice(-1===c?t.children.length:c,0,l);let d=TM(e.segments,r.length,e.stringContent.length);e.stringContent=e.stringContent.slice(r.length),e.segments.splice(0,e.segments.length,...d),e.startLine+=s,e.startOffset=d[0]?.sourceOffset??o}},TU={type:"definition",acceptsLines:!1,canContain:()=>!1,continue:()=>1,materialize:(e,t,r)=>{let i=e.data.definition;if(void 0!==i)return UE.make({identifier:i.identifier,label:i.label,url:i.url,position:r.position(e.startOffset,e.endOffset),...void 0===i.title?{}:{title:i.title}})}},TT=/^[*+-]/,TL=/^(\d{1,9})([.)])/,TO=/[^ \t\f\v\r\n]/,TP=(e,t)=>void 0!==t&&e.endLine!==t.startLine-1,TH=e=>e.children.some((t,r)=>TP(t,e.children[r+1])),TY={type:"list",acceptsLines:!1,canContain:e=>"listItem"===e,continue:()=>0,finalize:(e,t)=>{let r=!0;for(let[e,i]of t.children.entries()){let n=TH(i);i.data.spread=n,(TP(i,t.children[e+1])||n)&&(r=!1)}let i=t.data.listData;void 0!==i&&(i.tight=r),t.data.spread=!r;let n=t.children[t.children.length-1];void 0!==n&&(t.endOffset=n.endOffset,t.endLine=n.endLine)},materialize:(e,t,r)=>{let i=e.data.listData,n=i?.type==="ordered";return US.make({ordered:n,spread:e.data.spread??!1,children:t.filter(e=>"listItem"===e.type),position:r.position(e.startOffset,e.endOffset),...n&&i?.start!==void 0?{start:i.start}:{},...i?.bulletChar===void 0?{}:{bulletChar:i.bulletChar},...i?.delimiter===void 0?{}:{delimiter:i.delimiter}})}},TG={type:"listItem",acceptsLines:!1,canContain:e=>"listItem"!==e,continue:(e,t)=>{let r=t.data.listData;if(void 0===r)return 1;if(e.blank){if(0===t.children.length)return 1;e.advanceNextNonspace()}else{if(!(e.indent>=r.markerOffset+r.padding))return 1;e.advanceOffset(r.markerOffset+r.padding,!0)}return 0},finalize:(e,t)=>{let r=t.children[t.children.length-1];if(void 0!==r){t.endOffset=r.endOffset,t.endLine=r.endLine;return}t.endLine=t.startLine,t.endOffset=t.startOffset+(t.data.listData?.padding??0)},materialize:(e,t,r)=>UN.make({spread:e.data.spread??!1,children:UY(t),position:r.position(e.startOffset,e.endOffset),...void 0===e.data.checked?{}:{checked:e.data.checked}})},Tq={name:"listItem",trigger:(e,t)=>{if(e.indented&&"list"!==t.type)return 0;let r=((e,t)=>{let r,i;if(e.indent>=4)return;let n=e.currentLine.slice(e.nextNonspace),s=e.indent,a=TT.exec(n),o=null===a?TL.exec(n):null;if(null!==a){let e,t="-"===(e=a[0].charAt(0))||"*"===e||"+"===e?e:void 0;r={type:"bullet",tight:!0,padding:0,markerOffset:s,...void 0===t?{}:{bulletChar:t}},i=a[0].length}else{if(null===o||"paragraph"===t.type&&1!==Number.parseInt(o[1]??"",10))return;let e,n="."===(e=o[2]??"")||")"===e?e:void 0;r={type:"ordered",tight:!0,padding:0,markerOffset:s,start:Number.parseInt(o[1]??"1",10),...void 0===n?{}:{delimiter:n}},i=o[0].length}let A=UV(e.currentLine,e.nextNonspace+i);if(!(-1===A||Uz(A))||"paragraph"===t.type&&!TO.test(e.currentLine.slice(e.nextNonspace+i)))return;e.advanceNextNonspace(),e.advanceOffset(i,!0);let l=e.column,c=e.offset;do e.advanceOffset(1,!0);while(e.column-l<5&&Uz(UV(e.currentLine,e.offset)));let d=-1===UV(e.currentLine,e.offset),u=e.column-l;return u>=5||u<1||d?(r.padding=i+1,e.setScanPosition(c,l),Uz(UV(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):r.padding=i+u,r})(e,t);if(void 0===r)return 0;e.closeUnmatchedBlocks();let i=e.tip,n=i.data.listData;return("list"!==i.type||void 0===n||n.type!==r.type||n.delimiter!==r.delimiter||n.bulletChar!==r.bulletChar)&&(e.addChild("list",e.nextNonspace).data.listData=r),e.addChild("listItem",e.nextNonspace).data.listData=r,1}},Tz={type:"paragraph",acceptsLines:!0,canContain:()=>!1,continue:e=>+!!e.blank,finalize:(e,t)=>{TF(t)},materialize:(e,t,r)=>{let i=r.inlineSlice(e);if(0===i.text.length)return;let n=UQ.make({children:i.children,position:r.position(e.startOffset,e.endOffset)});return r.registerInline(n,i),n}},TV=/^(?:=+|-+)[ \t]*$/,T_={name:"setextHeading",trigger:(e,t)=>{if(e.indented||"paragraph"!==t.type)return 0;let r=TV.exec(e.currentLine.slice(e.nextNonspace));if(null===r||(e.closeUnmatchedBlocks(),TF(t),0===t.stringContent.length))return 0;let i=e.replaceBlock(t,"heading");return i.data.level="="===r[0].charAt(0)?1:2,i.data.headingStyle="setext",e.advanceOffset(e.currentLine.length-e.offset,!1),2}},TJ=RegExp(`^${Tt}`),TW=e=>" "===e||" "===e||"\v"===e||"\f"===e,Tj=(e,t)=>{if("|"!==e.charAt(t))return 0;let r=t+1;for(;TW(e.charAt(r));)r+=1;return r-t},TK=(e,t)=>{let r=t;for(;r<e.length;){let t=e.charAt(r);if("\\"===t&&TJ.test(e.charAt(r+1))){r+=2;continue}if("|"===t||"\r"===t||"\n"===t)break;r+=1}return r-t},T$=(e,t)=>{let r=t;for(;TW(e.charAt(r));)r+=1;return("\r"===e.charAt(r)&&(r+=1),"\n"!==e.charAt(r))?0:r+1-t},TX=e=>{let{text:t}=e,r=t.length,i=[],n=0,s=!0,a=Tj(t,0);for(;a<r&&s;){let e=TK(t,a),o=Tj(t,a+e);if(e>0||o>0){let r=a;for(;r>n&&"|"!==t.charAt(r-1);)r-=1;i.push({start:r,contentStart:a,end:a+e})}if(a+=e+o,o>0){s=!0;continue}let A=T$(t,a);a+=A,A>0&&a!==r?(n=a,i=[],a+=Tj(t,a),s=!0):s=!1}if(a===r&&0!==i.length)return{cells:i,paragraphOffset:n}},TZ=(e,t,r)=>{let{text:i}=e,n=[];for(let e=t;e<r;e+=1)"\\"===i.charAt(e)&&e+1<r&&"|"===i.charAt(e+1)&&(n.push(e),e+=1);if(0===n.length)return{text:i.slice(t,r),segments:T0(TM(e.segments,t,r),0)};let s="",a=[],o=t;for(let t of[...n,r])t>o&&(a.push(...T0(TM(e.segments,o,t),s.length)),s+=i.slice(o,t)),o=t+1;return{text:s,segments:a}},T0=(e,t)=>0===t?e:e.map(e=>({textOffset:e.textOffset+t,sourceOffset:e.sourceOffset,length:e.length})),T1=(e,t,r)=>{for(let r of e.segments){if(t<r.textOffset)return r.sourceOffset;if(t<=r.textOffset+r.length)return r.sourceOffset+(t-r.textOffset)}let i=e.segments[e.segments.length-1];return void 0===i?r:i.sourceOffset+i.length},T2=e=>{let t=e.currentLine.slice(e.nextNonspace);return{text:`${t} +`,segments:[{textOffset:0,sourceOffset:e.lineStart+e.nextNonspace,length:t.length}]}},T3=(e,t,r)=>{e.finalizeBlock(t,e.lineNumber),t.endLine=e.lineNumber,t.endOffset=r},T5=(e,t,r,i,n,s)=>{let a=e.addChild("tableRow",n-e.lineStart);a.startOffset=n;let o=Math.min(i.cells.length,t.columns);for(let t=0;t<o;t+=1){let s=i.cells[t];if(void 0===s)continue;let a=T1(r,s.start,n),o=e.addChild("tableCell",a-e.lineStart);o.startOffset=a;let A=TZ(r,s.contentStart,s.end);o.stringContent=A.text,o.segments.push(...A.segments),T3(e,o,T1(r,s.end,a))}for(let r=o;r<t.columns;r+=1){let t=e.addChild("tableCell",s-e.lineStart);t.startOffset=s,T3(e,t,s)}t.rows+=1,t.nonemptyCells+=o,T3(e,a,s)},T4=/^[ \t\v\f]*(?:[-+*]|\d+[^\n])[ \t\v\f]+\[[ xX]\][ \t\v\f]/,T8=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,T9={type:"thematicBreak",acceptsLines:!1,canContain:()=>!1,continue:()=>1,materialize:(e,t,r)=>{let i=e.data.markerChar;return Uy.make({position:r.position(e.startOffset,e.endOffset),...void 0===i?{}:{markerChar:i}})}},T6={name:"thematicBreak",trigger:e=>{let t;if(e.indented||!T8.test(e.currentLine.slice(e.nextNonspace)))return 0;e.closeUnmatchedBlocks();let r=e.addChild("thematicBreak",e.nextNonspace),i="-"===(t=e.currentLine.charAt(e.nextNonspace))||"_"===t||"*"===t?t:void 0;return void 0!==i&&(r.data.markerChar=i),e.advanceOffset(e.currentLine.length-e.offset,!1),2}},T7=e=>new Map(e.map(e=>[e.type,e])),Le=new Map([["commonmark",{constructs:T7([Tc,U9,TY,TG,Tz,U4,T9,Tl,U0,TU]),starts:[U6,U8,Tu,U1,T_,T6,Tq,Tv]}],["gfm",{constructs:T7([Tc,U9,TY,TG,Tz,U4,T9,Tl,U0,TU,{type:"footnoteDefinition",acceptsLines:!1,canContain:e=>"listItem"!==e,continue:e=>e.indent>=4?(e.advanceOffset(4,!0),0):+(0!==e.currentLine.length),materialize:(e,t,r)=>{let i=e.data.footnote;if(void 0!==i)return UB.make({identifier:i.identifier,label:i.label,children:UY(t),position:r.position(e.startOffset,e.endOffset)})}},{type:"table",acceptsLines:!1,canContain:e=>"tableRow"===e,continue:e=>e.indented?1:+(void 0===TX(T2(e))),materialize:(e,t,r)=>{let i=t.filter(e=>"tableRow"===e.type);if(0!==i.length)return Uk.make({align:e.data.tableData?.align??[],children:i,position:r.position(e.startOffset,e.endOffset)})}},{type:"tableRow",acceptsLines:!1,canContain:e=>"tableCell"===e,continue:()=>1,materialize:(e,t,r)=>UR.make({children:t.filter(e=>"tableCell"===e.type),position:r.position(e.startOffset,e.endOffset)})},{type:"tableCell",acceptsLines:!1,canContain:()=>!1,continue:()=>1,materialize:(e,t,r)=>{let i=r.inlineSlice(e),n=Ux.make({children:i.children,position:r.position(i.startOffset,i.endOffset)});return r.registerInline(n,i),n}}]),starts:[U6,U8,Tu,U1,T_,T6,{name:"footnoteDefinition",trigger:e=>{if(e.indented)return 0;let t=Tm(TR);t.lastIndex=e.nextNonspace;let r=t.exec(e.currentLine),i=r?.[1];if(null===r||void 0===i)return 0;let n=Tw(i);if(""===n)return 0;e.closeUnmatchedBlocks();let s=e.nextNonspace;return e.advanceNextNonspace(),e.advanceOffset(r[0].length,!1),e.addChild("footnoteDefinition",s).data.footnote={key:n,identifier:n.toLowerCase(),label:i},1}},Tq,Tv,{name:"taskListItem",trigger:(e,t)=>{let r;return"listItem"===t.type&&T4.test(e.currentLine)?(t.data.checked=(r=e.currentLine).includes("[x]")||r.includes("[X]"),e.advanceOffset(3,!1),e.findNextNonspace(),e.advanceNextNonspace(),2):0}},{name:"tableHeader",trigger:(e,t)=>{if(e.indented||"paragraph"!==t.type||!0===t.data.tableVisited||!((e,t)=>{let r=t;for("|"===e.charAt(r)&&(r+=1);;){for(;TW(e.charAt(r));)r+=1;":"===e.charAt(r)&&(r+=1);let t=0;for(;"-"===e.charAt(r);)r+=1,t+=1;if(0===t)return!1;for(":"===e.charAt(r)&&(r+=1);TW(e.charAt(r));)r+=1;if("|"!==e.charAt(r))return r>=e.length;let i=r+=1;for(;TW(e.charAt(i));)i+=1;if(i>=e.length)return!0}})(e.currentLine,e.nextNonspace))return 0;let r=T2(e),i=TX(r);if(void 0===i)return 0;let n={text:t.stringContent,segments:t.segments},s=TX(n);if(void 0===s||s.cells.length!==i.cells.length)return t.data.tableVisited=!0,0;e.closeUnmatchedBlocks();let a=T1(n,s.paragraphOffset,t.startOffset);if(s.paragraphOffset>0){let r=TZ(n,0,s.paragraphOffset),i=e.insertBefore(t,"paragraph");i.stringContent=r.text,i.segments.push(...r.segments),i.endOffset=a,i.endLine=Math.max(e.lineNumber-2,i.startLine)}let o=e.replaceBlock(t,"table");o.stringContent="",o.segments.length=0,o.startOffset=a,o.startLine=Math.max(e.lineNumber-1,1);let A={columns:s.cells.length,align:i.cells.map(e=>{let t=r.text.slice(e.contentStart,e.end).trim(),i=t.startsWith(":"),n=t.endsWith(":");return i&&n?"center":i?"left":n?"right":null}),rows:0,nonemptyCells:0};o.data.tableData=A;let l=T1(n,n.text.length-1,a);return T5(e,A,n,s,a,l),e.advanceOffset(e.currentLine.length-e.offset,!1),2}},{name:"tableRow",trigger:(e,t)=>{if(e.indented||e.blank||"table"!==t.type)return 0;let r=t.data.tableData;if(void 0===r||r.columns*r.rows-r.nonemptyCells>524288)return 0;let i=T2(e),n=TX(i);if(void 0===n)return 0;e.closeUnmatchedBlocks();let s=e.lineStart+e.nextNonspace;return T5(e,r,i,n,s,e.lineStart+e.currentLine.length),e.advanceOffset(e.currentLine.length-e.offset,!1),2}}],mayStartBlock:(e,t)=>"table"===t.type||e.startsWith("[")||e.startsWith("|")||e.startsWith(":")}]]),Lt=new Map([["---",{format:"yaml",close:"---"}],["+++",{format:"toml",close:"+++"}],["---json",{format:"json",close:"---"}]]);var Lr=class e{text;lineStarts;constructor(e,t){this.text=e,this.lineStarts=t}static make(t){let r=[0];for(let e=0;e<t.length;e++)10===t.charCodeAt(e)&&r.push(e+1);return new e(t,r)}static fromLineStarts(t,r){if(0===r.length||0!==r[0])throw TypeError("line index: a line table must be non-empty and start at offset 0");return new e(t,r)}positionAt(e){let t=Math.min(Math.max(e,0),this.text.length),r=0,i=this.lineStarts.length-1;for(;r<i;){let e=r+i+1>>1;(this.lineStarts[e]??0)<=t?r=e:i=e-1}let n=this.lineStarts[r]??0;return{line:r+1,column:t-n+1}}};let Li=(e,t,r,i="")=>({type:e,value:i,start:t,end:r,data:{},prev:void 0,next:void 0,parent:void 0,firstChild:void 0,lastChild:void 0}),Ln=(e,t)=>{La(t),t.parent=e,t.prev=e.lastChild,t.next=void 0,void 0===e.lastChild?e.firstChild=t:e.lastChild.next=t,e.lastChild=t},Ls=(e,t)=>{La(t),t.parent=e.parent,t.prev=e,t.next=e.next,void 0===e.next?void 0!==e.parent&&(e.parent.lastChild=t):e.next.prev=t,e.next=t},La=e=>{void 0!==e.prev?e.prev.next=e.next:void 0!==e.parent&&(e.parent.firstChild=e.next),void 0!==e.next?e.next.prev=e.prev:void 0!==e.parent&&(e.parent.lastChild=e.prev),e.prev=void 0,e.next=void 0,e.parent=void 0},Lo=e=>{let t=[];for(let r=e.firstChild;void 0!==r;r=r.next)t.push(r);return t},LA=/^[!"#$%&'()*+,\-./:;<=>?@[\]\\^_`{|}~\p{P}\p{S}]/u,Ll=/^\s/,Lc=(e,t)=>{let r=e.pos,i=0;for(;e.peek()===t;)i+=1,e.pos+=1;if(0===i){e.pos=r;return}let n=0===r?"\n":e.subject.charAt(r-1),s=e.peek(),a=-1===s?"\n":String.fromCodePoint(s),o=Ll.test(a),A=LA.test(a),l=Ll.test(n),c=LA.test(n),d=!o&&(!A||l||c),u=!l&&(!c||o||A);return e.pos=r,{numdelims:i,canOpen:95===t?d&&(!u||c):d,canClose:95===t?u&&(!d||A):u}},Ld=(e,t,r)=>{let i=r.next,n=t.node,s=r.node;if(n.value.length===s.value.length){let e=n.value.length;n.value="",n.end-=e,s.value="",s.start+=e;let t=Li("delete",n.end,s.start),r=n.next;for(;void 0!==r&&r!==s;){let e=r.next;Ln(t,r),r=e}Ls(n,t),La(n),La(s)}let a=r;for(;void 0!==a&&a!==t;){let t=a.previous;e.removeDelimiter(a),a=t}return e.removeDelimiter(t),i},Lu=/^<([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,Lg=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\0- ]*>/i,Lh=/^[ \t\n\v\f\r]$/,Lp=/^[0-9A-Za-z]$/,Lm=/^[A-Za-z]$/,Lf=/^[\t\n\f\r \u00a0\u1680\u2000-\u200a\u202f\u205f\u3000]$/,LC=/^[!-/:-@[-`{-~]$/,Ly=/^\p{P}$/u,LI=["http://","https://","ftp://"],LE=(e,t)=>{let r=e.codePointAt(t);if(void 0===r)return!1;let i=String.fromCodePoint(r);return!Lf.test(i)&&!(r<128?LC.test(i):Ly.test(i))},LB=(e,t,r)=>{let i=r,n=0,s=0;for(let r=0;r<i;r+=1){let a=e.charAt(t+r);if("<"===a){i=r;break}"("===a?n+=1:")"===a&&(s+=1)}for(;i>0;){let r=e.charAt(t+i-1);if(")"===r){if(s<=n)return i;s-=1,i-=1;continue}if("?!.,:*_~'\"".includes(r)){i-=1;continue}if(";"===r){if(i<2){i-=1;continue}let r=i-2;for(;r>0&&Lm.test(e.charAt(t+r));)r-=1;r<i-2&&"&"===e.charAt(t+r)?i=r:i-=1;continue}break}return i},LQ=(e,t,r,i)=>{let n=1,s=0,a=0,o=0;for(;n<r-1;n+=1){"\\"===e.charAt(t+n)&&n<r-2&&(n+=1);let i=e.charAt(t+n);if("_"===i)o+=1;else if("."===i)a=o,o=0,s+=1;else if(!LE(e,t+n)&&"-"!==i)break}return(a>0||o>0)&&s<=10?0:i||s>0?n:0},Lb=(e,t,r,i)=>{let n=r;for(;n<i;){let r=e.charAt(t+n);if(Lh.test(r)||"<"===r)break;n+=1}return n},LN=(e,t,r,i)=>{let n=e.subject.slice(t,r),s=Li("link",t,r);s.data.url=i,Ln(s,Li("text",t,r,n)),e.append(s),e.pos=r},LS=(e,t,r,i,n)=>{let s=e.length;return!(s>n-i)&&t.slice(r-i-s,r-i)===e&&(s===n-i||!Lp.test(t.charAt(r-i-s-1)))},Lw=e=>{let t=e.map(e=>e.node.value).join(""),r=(e=>{let t=[],r=0,i=0,n=e.length;for(;i<n;){let s=e.indexOf("@",r+i);if(-1===s)break;let a=s-(r+i),o=!0,A=!1,l=0,c=1,d=0,u=!0,g=!1;for(;u;){for(l=0,u=!1;l<a;l+=1){let t=e.charAt(r+i+a-l-1);if(!(Lp.test(t)||".+-_".includes(t))){if(":"===t){if(LS("mailto:",e,r+i+a,l,a)){o=!1;continue}if(LS("xmpp:",e,r+i+a,l,a)){o=!1,A=!0;continue}}break}}if(0===l){i+=a+1,g=!0;break}let t=n-i-a;for(c=1;c<t;c+=1){let n=e.charAt(r+i+a+c);if(!Lp.test(n)){if("@"===n){i+=a+1,a=c-1,u=!0;break}if("."===n&&c<t-1&&Lp.test(e.charAt(r+i+a+c+1))){d+=1;continue}if(("/"!==n||!A)&&"-"!==n&&"_"!==n)break}}}if(g)continue;let h=e.charAt(r+i+a+c-1);if(c<2||0===d||!Lm.test(h)&&"."!==h){i+=a+c;continue}if(0===(c=LB(e,r+i+a,c))){i+=a+1;continue}let p=r+i+a-l,m=r+i+a+c,f=e.slice(p,m);t.push({from:p,to:m,url:o?`mailto:${f}`:f}),r+=i+a+c,n-=i+a+c,i=0}return t})(t);if(0===r.length)return;let i=t=>{for(let r of e){let e=t-r.valueStart;if(e<=r.node.value.length)return r.node.start+Math.min(e,r.node.end-r.node.start)}let r=e[e.length-1];return void 0===r?0:r.node.end},n=[],s=0,a=(e,r)=>{r<=e||n.push(Li("text",i(e),i(r),t.slice(e,r)))};for(let e of r){a(s,e.from);let r=i(e.from),o=i(e.to),A=Li("link",r,o);A.data.url=e.url,Ln(A,Li("text",r,o,t.slice(e.from,e.to))),n.push(A),s=e.to}a(s,t.length);let o=e[e.length-1];if(void 0===o)return;let A=o.node;for(let e of n)Ls(A,e),A=e;for(let t of e)La(t.node)},Lx=/^`+/,LD=/\n/gm,LR=/[^ ]/,Lv=RegExp(`^${Tr}`,"i"),Lk=RegExp(`^${Tt}`),LM=/^[ \t\n\v\f\r]/,LF=(e,t)=>{let r=new TS(e.subject);r.pos=e.pos;let i=t(r);return e.pos=r.pos,i},LU=e=>({name:"imageOpen",triggers:[33],parse:t=>{let r=t.pos;if(t.pos+=1,91===t.peek()&&(e||94!==t.subject.charCodeAt(t.pos+1))){t.pos+=1;let e=t.appendText("![",r,t.pos);return t.addBracket(e,r+1,!0),!0}return t.appendText("!",r,t.pos),!0}}),LT=LU(!0),LL=e=>({name:"linkClose",triggers:[93],parse:t=>{let r,i,n,s,a=t.pos;t.pos+=1;let o=t.pos,A=t.brackets;if(void 0===A)return t.appendText("]",a,t.pos),!0;if(!A.active)return t.appendText("]",a,t.pos),t.removeBracket(),!0;let l=A.image,c=t.pos,d=!1;if(40===t.peek()){t.pos+=1;let e=LF(t,e=>{e.spnl();let t=e.parseLinkDestination();if(void 0===t)return;e.spnl();let r=LM.test(e.subject.charAt(e.pos-1))?e.parseLinkTitle():void 0;if(e.spnl(),41===e.peek())return e.pos+=1,{destination:t,parsedTitle:r}});void 0===e?t.pos=c:(r=e.destination,i=e.parsedTitle,d=!0)}let u="shortcut";if(!d){let e=t.pos,r=LF(t,e=>e.parseLinkLabel());if(r>2?(s=t.subject.slice(e,e+r),u="full"):!0!==A.bracketAfter&&(s=t.subject.slice(A.index,o),u=2===r?"collapsed":"shortcut"),0===r&&(t.pos=c),void 0!==s){let e=Tx(s);t.refmap.has(e)&&(n=e.toLowerCase(),d=!0)}}if(!d)return e?.(t,A,a,o)===!0||(t.removeBracket(),t.pos=o,t.appendText("]",a,t.pos),!0);let g=Li(void 0===n?l?"image":"link":l?"imageReference":"linkReference",A.node.start,t.pos),h=A.node.next;for(;void 0!==h;){let e=h.next;Ln(g,h),h=e}if(Ls(A.node,g),void 0===n?(void 0!==r&&(g.data.url=r),void 0!==i&&(g.data.title=i)):(g.data.identifier=n,g.data.label=void 0===s?n:s.slice(1,-1),g.data.referenceType=u),t.processEmphasis(A.previousDelimiter),t.removeBracket(),La(A.node),l)for(let e of(g.value=(e=>{let t="",r=[...e].reverse();for(;r.length>0;){let e=r.pop();if(void 0===e)break;if("text"===e.type||"inlineCode"===e.type)t+=e.value;else if("image"===e.type||"imageReference"===e.type)t+=e.value;else{let t=Lo(e);for(let e=t.length-1;e>=0;e-=1){let i=t[e];void 0!==i&&r.push(i)}}}return t})(Lo(g)),Lo(g)))La(e);else t.deactivateLinkOpeners();return!0}}),LO=LL(),LP=LL((e,t,r,i)=>{let n,s;if(n=e.subject,s=t.index,94!==n.charCodeAt(s+1)||!(r>s+2))return!1;e.pos=i;let a=e.subject.slice(t.index+2,r),o=Tw(a),A=""!==o&&e.footnoteLabels.has(o);e.processEmphasis(t.previousDelimiter);let l=t.node.start,c=A?Li("footnoteReference",l,e.pos):Li("text",l,e.pos,`[^${a}]`);A&&(c.data.identifier=o.toLowerCase(),c.data.label=a),Ls(t.node,c);let d=c.next;for(;void 0!==d;){let e=d.next;La(d),d=e}return e.removeBracket(),La(t.node),!0}),LH=LU(!1),LY=/^ */,LG=[["\x3c!--","--\x3e"],["<?","?>"],["<![CDATA[","]]>"]],Lq=(e,t)=>({name:e,triggers:[],parse:e=>{let r=e.pos,i=e.match(t);return void 0!==i&&(e.appendText(i,r,e.pos),!0)}}),Lz=Lq("text",/^[^\n`[\]\\!<&*_'"]+/),LV=Lq("text",/^[^\n`[\]\\!<&*_'"~w:]+/),L_=e=>{let t=new Map;for(let r of e)for(let e of r.triggers){let i=t.get(e);void 0===i?t.set(e,[r]):i.push(r)}return t},LJ=[{name:"lineBreak",triggers:[10],parse:e=>{let t=e.pos;e.pos+=1;let r=e.trimTrailingSpaces();if(r>=2){let i=Li("break",t-r,e.pos);i.data.breakStyle="spaces",e.append(i)}else e.appendText("\n",t,e.pos);return e.match(LY),!0}},{name:"escape",triggers:[92],parse:e=>{let t=e.pos;if(e.pos+=1,10===e.peek()){e.pos+=1;let r=Li("break",t,e.pos);return r.data.breakStyle="backslash",e.append(r),!0}let r=e.subject.charAt(e.pos);return Lk.test(r)?(e.pos+=1,e.appendText(r,t,e.pos)):e.appendText("\\",t,e.pos),!0}},{name:"codeSpan",triggers:[96],parse:e=>{let t=e.pos,r=e.match(Lx);if(void 0===r)return!1;let i=e.pos,n=e.closingBacktickRun(i,r.length);if(void 0!==n){let s=e.subject.slice(i,n).replace(LD," "),a=s.length>0&&LR.test(s)&&s.startsWith(" ")&&s.endsWith(" ")?s.slice(1,-1):s;return e.pos=n+r.length,e.append(Li("inlineCode",t,e.pos,a)),!0}return e.pos=i,e.appendText(r,t,e.pos),!0}},{name:"emphasis",triggers:[42,95],parse:e=>((e,t)=>{let r=Lc(e,t);if(void 0===r)return!1;let i=e.pos;e.pos+=r.numdelims;let n=e.appendText(e.subject.slice(i,e.pos),i,e.pos);if(n.data.markerChar=95===t?"_":"*",r.canOpen||r.canClose){let i={cc:t,numdelims:r.numdelims,origdelims:r.numdelims,node:n,previous:e.delimiters,next:void 0,canOpen:r.canOpen,canClose:r.canClose};void 0!==i.previous&&(i.previous.next=i),e.delimiters=i}return!0})(e,e.peek())},{name:"linkOpen",triggers:[91],parse:e=>{let t=e.pos;e.pos+=1;let r=e.appendText("[",t,e.pos);return e.addBracket(r,t,!1),!0}},LT,LO,{name:"autolink",triggers:[60],parse:e=>{let t=e.pos,r=e.match(Lu);if(void 0!==r){let i=r.slice(1,-1),n=Li("link",t,e.pos);return n.data.url=`mailto:${i}`,Ln(n,Li("text",t+1,e.pos-1,i)),e.append(n),!0}let i=e.match(Lg);if(void 0!==i){let r=i.slice(1,-1),n=Li("link",t,e.pos);return n.data.url=r,Ln(n,Li("text",t+1,e.pos-1,r)),e.append(n),!0}return!1}},{name:"rawHtml",triggers:[60],parse:e=>{let t=e.pos;for(let[r,i]of LG)if(e.subject.startsWith(r,t)&&!e.hasAhead(i))return!1;let r=e.match(U$);return void 0!==r&&(e.append(Li("html",t,e.pos,r)),!0)}},{name:"entity",triggers:[38],parse:e=>{let t=e.pos,r=e.match(Lv);return void 0!==r&&(e.appendText(Te(r)??r,t,e.pos),!0)}}],LW=new Map([["commonmark",{byTrigger:L_(LJ),text:Lz,postprocess:[]}],["gfm",{byTrigger:L_([...LJ.filter(e=>e!==LO&&e!==LT),LP,LH,{name:"strikethrough",triggers:[126],parse:e=>(e=>{let t=Lc(e,126);if(void 0===t)return!1;let r=e.pos;e.pos+=t.numdelims;let i=e.appendText(e.subject.slice(r,e.pos),r,e.pos);if((t.canOpen||t.canClose)&&(1===t.numdelims||2===t.numdelims)){let r={cc:126,numdelims:t.numdelims,origdelims:t.numdelims,node:i,previous:e.delimiters,next:void 0,canOpen:t.canOpen,canClose:t.canClose};void 0!==r.previous&&(r.previous.next=r),e.delimiters=r}return!0})(e)},{name:"wwwAutolink",triggers:[119],parse:e=>{if(void 0!==e.brackets)return!1;let t=e.pos;if(t>0){let r=e.subject.charAt(t-1);if(!"*_~(".includes(r)&&!Lh.test(r))return!1}let r=e.subject.length-t;if(r<4||"www."!==e.subject.slice(t,t+4))return!1;let i=LQ(e.subject,t,r,!1);if(0===i)return!1;let n=LB(e.subject,t,Lb(e.subject,t,i,r));return 0!==n&&(LN(e,t,t+n,`http://${e.subject.slice(t,t+n)}`),!0)}},{name:"urlAutolink",triggers:[58],parse:e=>{let t,r;if(void 0!==e.brackets)return!1;let i=e.pos,{subject:n}=e,s=n.length-i;if(s<4||"/"!==n.charAt(i+1)||"/"!==n.charAt(i+2))return!1;let a=0;for(;a<i&&Lm.test(n.charAt(i-a-1));)a+=1;if(t=i-a,r=s+a,!LI.some(e=>r>e.length&&n.slice(t,t+e.length).toLowerCase()===e&&LE(n,t+e.length)))return!1;let o=LQ(n,i+3,s-3,!0);if(0===o)return!1;let A=LB(n,i,Lb(n,i,3+o,s));if(0===A||!e.unputText(a))return!1;let l=i-a,c=i+A;return LN(e,l,c,n.slice(l,c)),!0}}]),text:LV,postprocess:[e=>{let t=[e];for(;t.length>0;){let e=t.pop();if(void 0===e)break;let r=[],i=0,n=()=>{r.length>0&&Lw(r),r=[],i=0};for(let s of Lo(e)){if("text"===s.type){r.push({node:s,valueStart:i}),i+=s.value.length;continue}n(),"link"!==s.type&&"linkReference"!==s.type&&t.push(s)}n()}}]}]]),Lj=/ +$/;var LK=class{subject;pos=0;refmap;footnoteLabels;delimiters;brackets;activeLinkOpeners=0;absentAfter=new Map;backtickRuns;source;dialect;positionOf;root;constructor(e,t,r,i,n){this.source=e,this.subject=e.text,this.dialect=t,this.positionOf=r,this.refmap=i,this.footnoteLabels=n,this.root=Li("text",0,e.text.length)}peek(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1}match(e){let t=Tm(e);t.lastIndex=this.pos;let r=t.exec(this.subject);if(null!==r)return this.pos=t.lastIndex,r[0]}matchAhead(e){let t=(e=>{let t=Th.get(e);if(void 0!==t)return t;let r=Tp(e,"g",!1);return Th.set(e,r),r})(e);t.lastIndex=this.pos;let r=t.exec(this.subject);if(null!==r)return this.pos=r.index+r[0].length,r[0]}hasAhead(e){let t=this.absentAfter.get(e);return(void 0===t||!(this.pos>=t))&&(-1!==this.subject.indexOf(e,this.pos)||(this.absentAfter.set(e,Math.min(t??this.pos,this.pos)),!1))}closingBacktickRun(e,t){void 0===this.backtickRuns&&(this.backtickRuns=(e=>{let t=new Map,r=0;for(;r<e.length;){if(96!==e.charCodeAt(r)){r+=1;continue}let i=r;for(;r<e.length&&96===e.charCodeAt(r);)r+=1;let n=r-i,s=t.get(n);void 0===s?t.set(n,[i]):s.push(i)}return t})(this.subject));let r=this.backtickRuns.get(t);if(void 0===r)return;let i=0,n=r.length;for(;i<n;){let t=i+n>>1;(r[t]??0)<e?i=t+1:n=t}return r[i]}append(e){Ln(this.root,e)}appendText(e,t,r){let i=Li("text",t,r,e);return Ln(this.root,i),i}lastChild(){return this.root.lastChild}unputText(e){if(0===e)return!0;let t=0;for(let r=this.root.lastChild;void 0!==r&&t<e&&"text"===r.type;r=r.prev)t+=r.value.length;if(t<e)return!1;let r=e;for(;r>0;){let e=this.root.lastChild;if(void 0===e)return!1;if(e.value.length>r){e.value=e.value.slice(0,e.value.length-r),e.end-=r;break}r-=e.value.length,La(e)}return!0}trimTrailingSpaces(){let e=this.root.lastChild;if(void 0===e||"text"!==e.type)return 0;let t=e.value.replace(Lj,""),r=e.value.length-t.length;return 0===r?0:(0===t.length?La(e):(e.value=t,e.end=Math.max(e.end-r,e.start)),r)}removeDelimiter(e){void 0!==e.previous&&(e.previous.next=e.next),void 0===e.next?this.delimiters=e.previous:e.next.previous=e.previous}removeDelimitersBetween(e,t){e.next!==t&&(e.next=t,t.previous=e)}addBracket(e,t,r){void 0!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:r,active:!0},r||(this.activeLinkOpeners+=1)}removeBracket(){let e=this.brackets;void 0!==e&&!e.image&&e.active&&(this.activeLinkOpeners-=1),this.brackets=e?.previous}deactivateLinkOpeners(){if(0!==this.activeLinkOpeners)for(let e=this.brackets;void 0!==e;e=e.previous)!e.image&&e.active&&(e.active=!1,this.activeLinkOpeners-=1)}processEmphasis(e){let t=Array(20).fill(e),r=this.delimiters;for(;void 0!==r&&r.previous!==e;)r=r.previous;for(;void 0!==r;){if(!r.canClose){r=r.next;continue}let i=r.cc,n=(95===i?2:126===i?14:8)+3*!!r.canOpen+r.origdelims%3,s=r.previous,a=!1;for(;void 0!==s&&s!==e&&s!==t[n];){let e=(r.canOpen||s.canClose)&&r.origdelims%3!=0&&(s.origdelims+r.origdelims)%3==0;if(s.cc===r.cc&&s.canOpen&&!e){a=!0;break}s=s.previous}let o=r;if(42===i||95===i)if(a&&void 0!==s){let e=r.numdelims>=2&&s.numdelims>=2?2:1,t=s.node,n=r.node;s.numdelims-=e,r.numdelims-=e,t.value=t.value.slice(0,t.value.length-e),t.end-=e,n.value=n.value.slice(0,n.value.length-e),n.start+=e;let a=Li(1===e?"emphasis":"strong",t.end,n.start);a.data.markerChar=95===i?"_":"*";let o=t.next;for(;void 0!==o&&o!==n;){let e=o.next;Ln(a,o),o=e}if(Ls(t,a),this.removeDelimitersBetween(s,r),0===s.numdelims&&(La(t),this.removeDelimiter(s)),0===r.numdelims){La(n);let e=r.next;this.removeDelimiter(r),r=e}}else r=r.next;else r=126===i&&a&&void 0!==s?Ld(this,s,r):r.next;!a&&(t[n]=o.previous,o.canOpen||this.removeDelimiter(o))}for(;void 0!==this.delimiters&&this.delimiters!==e;)this.removeDelimiter(this.delimiters)}offsetAt(e){return Tk(this.source.segments,e,this.source.startOffset)}position(e,t){let r=this.offsetAt(e),i=t>e?this.offsetAt(t-1)+1:this.offsetAt(t);return this.positionOf(r,Math.max(i,r))}materialize(e,t){let r;if(t>256)throw new UH("NestingDepthExceeded",256,t,this.offsetAt(e.start));let i=[],n=()=>{void 0!==r&&(r.value.length>0&&i.push(Ua.make({value:r.value,position:this.position(r.start,r.end)})),r=void 0)};for(let s of Lo(e)){if("text"===s.type){void 0===r?r=Li("text",s.start,s.end,s.value):(r.value+=s.value,r.end=s.end);continue}n();let e=this.materializeNode(s,t);void 0!==e&&i.push(e)}return n(),i}materializeNode(e,t){let r=this.position(e.start,e.end),{url:i,title:n,identifier:s,label:a,referenceType:o,markerChar:A,breakStyle:l}=e.data;switch(e.type){case"inlineCode":return Uo.make({value:e.value,position:r});case"html":return UA.make({value:e.value,position:r});case"break":return Ul.make({position:r,...void 0===l?{}:{breakStyle:l}});case"emphasis":return Uu.make({children:this.materialize(e,t+1),position:r,...void 0===A?{}:{markerChar:A}});case"delete":return Uh.make({children:this.materialize(e,t+1),position:r});case"strong":return Ug.make({children:this.materialize(e,t+1),position:r,...void 0===A?{}:{markerChar:A}});case"link":return Up.make({url:i??"",children:this.materialize(e,t+1),position:r,...void 0===n?{}:{title:n}});case"image":return Uc.make({url:i??"",position:r,...void 0===n?{}:{title:n},...""===e.value?{}:{alt:e.value}});case"linkReference":return Um.make({identifier:s??"",referenceType:o??"shortcut",children:this.materialize(e,t+1),position:r,...void 0===a?{}:{label:a}});case"footnoteReference":return Uf.make({identifier:s??"",position:r,...void 0===a?{}:{label:a}});case"imageReference":return Ud.make({identifier:s??"",referenceType:o??"shortcut",position:r,...void 0===a?{}:{label:a},...""===e.value?{}:{alt:e.value}});default:return}}parseOne(){let e=this.peek();if(-1===e)return!1;for(let t of this.dialect.byTrigger.get(e)??[])if(t.parse(this))return!0;if(this.dialect.text.parse(this))return!0;let t=this.pos;return this.pos+=1,this.appendText(String.fromCodePoint(e),t,this.pos),!0}parse(){for(;this.parseOne(););for(let e of(this.processEmphasis(void 0),this.dialect.postprocess))e(this.root);return this.materialize(this.root,0)}};let L$=/\s/,LX=/[ \t\n\r]/,LZ=/^[#`~*+_=<>0-9-]/;var L0=class{lines;lineIndex;dialect;dialectName;sourceLength;doc;tipNode;oldtip;lastMatchedContainer;currentLine="";lineStart=0;lineNumber=0;offset=0;column=0;nextNonspace=0;nextNonspaceColumn=0;indent=0;indented=!1;blank=!1;allClosed=!0;partiallyConsumedTab=!1;lastLineLength=0;frontmatterCapture;constructor(e,t,r,i=!1){this.lines=(e=>{let t=[],r=0,i=0;for(;i<e.length;){let n=e.charCodeAt(i);10===n?(t.push({text:Uq(e.slice(r,i)),start:r}),i+=1,r=i):13===n?(t.push({text:Uq(e.slice(r,i)),start:r}),i+=10===e.charCodeAt(i+1)?2:1,r=i):i+=1}return(r<e.length||!e.endsWith("\n"))&&t.push({text:Uq(e.slice(r)),start:r}),t})(e),this.frontmatterCapture=i?((e,t)=>{let r=e[0];if(void 0===r||0!==r.start)return null;let i=Lt.get(r.text);if(void 0===i)return null;for(let r=1;r<e.length;r+=1){let n=e[r];if(void 0===n||n.text!==i.close)continue;let s=[];for(let i=1;i<r;i+=1){let n=e[i],a=e[i+1];if(void 0===n||void 0===a)break;s.push(n.text),i+1<r&&s.push(t.slice(n.start+n.text.length,a.start))}return{format:i.format,value:s.join(""),lineCount:r+1,endOffset:n.start+n.text.length}}return null})(this.lines,e):null;let n=this.lines.map(e=>e.start);e.endsWith("\n")&&n.push(e.length),this.lineIndex=Lr.fromLineStarts(e,n),this.sourceLength=e.length,this.dialect=t,this.dialectName=r,this.doc=UG("document",0,1),this.tipNode=this.doc,this.oldtip=this.doc,this.lastMatchedContainer=this.doc}get tip(){let e=this.tipNode;if(void 0===e)throw TypeError("block parser: the tip was read after the document was finalized");return e}constructOf(e){let t=this.dialect.constructs.get(e);if(void 0===t)throw TypeError(`block parser: no construct registered for block type ${e}`);return t}advanceOffset(e,t=!1){let r=this.currentLine,i=e,n=r.charAt(this.offset);for(;i>0&&""!==n;){if(" "===n){let e=U_(this.column);if(t){this.partiallyConsumedTab=e>i;let t=e>i?i:e;this.column+=t,this.offset+=+!this.partiallyConsumedTab,i-=t}else this.partiallyConsumedTab=!1,this.column+=e,this.offset+=1,i-=1}else this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,i-=1;n=r.charAt(this.offset)}}advanceNextNonspace(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1}findNextNonspace(){let e=this.currentLine,t=this.offset,r=this.column,i=e.charAt(t);for(;""!==i;){if(" "===i)t+=1,r+=1;else if(" "===i)t+=1,r+=U_(r);else break;i=e.charAt(t)}this.blank="\n"===i||"\r"===i||""===i,this.nextNonspace=t,this.nextNonspaceColumn=r,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=4}addLine(){let e=this.tip;this.partiallyConsumedTab&&(this.offset+=1,e.stringContent+=" ".repeat(U_(this.column)));let t=this.currentLine.slice(this.offset);e.segments.push({textOffset:e.stringContent.length,sourceOffset:this.lineStart+this.offset,length:t.length}),e.stringContent+=`${t} +`}addChild(e,t){for(;!this.constructOf(this.tip.type).canContain(e);)this.finalizeBlock(this.tip,this.lineNumber-1);let r=this.tip,i=r.depth+1;if(i>256)throw new UH("NestingDepthExceeded",256,i,this.lineStart+t);let n=UG(e,this.lineStart+t,this.lineNumber,i);return n.parent=r,r.children.push(n),this.tipNode=n,n}setScanPosition(e,t){this.offset=e,this.column=t}setLastLineLength(e){this.lastLineLength=e}replaceBlock(e,t){let r=e.parent,i=UG(t,e.startOffset,e.startLine,e.depth);if(i.parent=r,i.stringContent=e.stringContent,i.segments.push(...e.segments),i.endOffset=e.endOffset,i.endLine=e.endLine,void 0!==r){let t=r.children.indexOf(e);-1===t?r.children.push(i):r.children[t]=i}return e.open=!1,this.tipNode=i,i}insertBefore(e,t){let r=e.parent,i=UG(t,e.startOffset,e.startLine,e.depth);if(i.parent=r,i.open=!1,void 0!==r){let t=r.children.indexOf(e);-1===t?r.children.push(i):r.children.splice(t,0,i)}return i}closeUnmatchedBlocks(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){let e=this.oldtip.parent;this.finalizeBlock(this.oldtip,this.lineNumber-1),this.oldtip=e??this.doc}this.allClosed=!0}}finalizeBlock(e,t){let r=e.parent;e.open=!1,e.endLine=t,e.endOffset=this.endOfLine(t,this.lastLineLength),this.constructOf(e.type).finalize?.(this,e),this.tipNode=r}endOfLine(e,t){let r=Math.min(Math.max(e-1,0),this.lines.length-1),i=this.lines[r];return void 0===i?0:i.start+Math.min(Math.max(t,0),i.text.length)}incorporateLine(e){let t=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,this.currentLine=e.text,this.lineStart=e.start;let r=t.children[t.children.length-1];for(;r?.open;){t=r,this.findNextNonspace();let e=this.constructOf(t.type).continue(this,t);if(2===e)return;if(1===e){t=t.parent??this.doc;break}r=t.children[t.children.length-1]}this.allClosed=t===this.oldtip,this.lastMatchedContainer=t;let i="paragraph"!==t.type&&this.constructOf(t.type).acceptsLines,n=this.dialect.starts;for(;!i;){if(this.findNextNonspace(),!this.indented){let e=this.currentLine.slice(this.nextNonspace);if(!LZ.test(e)&&!this.dialect.mayStartBlock?.(e,t)){this.advanceNextNonspace();break}}let e=0;for(;e<n.length;){let r=n[e],s=void 0===r?0:r.trigger(this,t);if(1===s){t=this.tip;break}if(2===s){t=this.tip,i=!0;break}e+=1}if(e===n.length){this.advanceNextNonspace();break}}if(this.allClosed||this.blank||"paragraph"!==this.tip.type)if(this.closeUnmatchedBlocks(),this.constructOf(t.type).acceptsLines){var s,a;let e;this.addLine(),"html"===t.type&&(s=t,a=this.currentLine.slice(this.offset),void 0!==(e=s.data.htmlBlockType)&&!(e<1)&&!(e>5)&&UZ[e]?.test(a))&&(this.lastLineLength=this.currentLine.length,this.finalizeBlock(t,this.lineNumber))}else this.offset<this.currentLine.length&&!this.blank&&(t=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine());else this.addLine();this.lastLineLength=this.currentLine.length}withFrontmatter(e){let t=this.frontmatterCapture;if(null===t)return e;let r=UT.make({type:"frontmatter",format:t.format,value:t.value,position:this.position(0,t.endOffset)}),i=e.position.end.offset>=t.endOffset?e.position:this.position(0,t.endOffset);return UO.make({type:"root",children:[r,...e.children],position:i})}position(e,t){let r=Math.min(Math.max(e,0),this.sourceLength),i=Math.min(Math.max(t,r),this.sourceLength),n=this.lineIndex.positionAt(r),s=this.lineIndex.positionAt(i);return F5.make({start:F3.make({line:n.line,column:n.column,offset:r}),end:F3.make({line:s.line,column:s.column,offset:i})})}materializeBlock(e,t,r){let i=[];for(let n of e.children){let e=this.materializeBlock(n,t,r);void 0!==e&&"root"!==e.type&&i.push(e)}let n=r.get(e);return void 0!==n?n:this.constructOf(e.type).materialize(e,i,t)}collectReferences(e,t,r,i,n){if("definition"===e.type){let n=this.constructOf(e.type).materialize(e,[],t),s=e.data.definition?.key;n?.type==="definition"&&void 0!==s&&(r.set(e,n),i.has(s)||i.set(s,n));return}let s=e.data.footnote?.key;for(let a of(void 0!==s&&n.add(s),e.children))this.collectReferences(a,t,r,i,n)}parse(){let e=this.frontmatterCapture?.lineCount??0;this.lineNumber=e;for(let t=e;t<this.lines.length;t+=1){let e=this.lines[t];void 0!==e&&this.incorporateLine(e)}for(;void 0!==this.tipNode;)this.finalizeBlock(this.tipNode,this.lines.length);this.doc.endOffset=this.sourceLength;let t=new Map,r=new Set,i=new Map,n=[],s={position:(e,t)=>this.position(e,t),inlineSlice:e=>((e,t,r,i="commonmark",n=new Set)=>{let{text:s,segments:a}=((e,t,r)=>{let i=0,n=e.length;for(;i<n&&r.test(e.charAt(i));)i+=1;for(;n>i&&r.test(e.charAt(n-1));)n-=1;if(0===i&&n===e.length)return{text:e,segments:t};let s=[];for(let e of t){let t=Math.max(e.textOffset,i),r=Math.min(e.textOffset+e.length,n);r>t&&s.push({textOffset:t-i,sourceOffset:e.sourceOffset+(t-e.textOffset),length:r-t})}return{text:e.slice(i,n),segments:s}})(e.stringContent,e.segments,"tableCell"===e.type?LX:L$),o=a[0],A=a[a.length-1],l=void 0===o?e.startOffset:o.sourceOffset;return{text:s,startOffset:l,endOffset:void 0===A?l:A.sourceOffset+A.length,segments:a,children:0===s.length?[]:((e,t,r,i="commonmark",n=new Set)=>new LK(e,(e=>{let t=LW.get(e);if(void 0===t)throw TypeError(`unknown markdown dialect: ${String(e)}`);return t})(i),r,t,n).parse())({text:s,startOffset:l,segments:a},r,t,i,n)}})(e,(e,t)=>this.position(e,t),t,this.dialectName,r),registerInline:(e,t)=>{n.push({parent:e,text:t.text,startOffset:t.startOffset,segments:t.segments})}};this.collectReferences(this.doc,s,i,t,r);let a=this.materializeBlock(this.doc,s,i);if(void 0===a||"root"!==a.type)throw TypeError("block parser: the document construct did not materialize a root");return{root:this.withFrontmatter(a),rawInlines:n,carriers:[],refmap:t,footnoteLabels:r}}};let L1={singleLine:!1,inTable:!1,inHeading:!1},L2={singleLine:!0,inTable:!1,inHeading:!0},L3={singleLine:!0,inTable:!0,inHeading:!1},L5=new Set(["\\","`","*","_","[","]","<",">","&","~","|"]),L4=new Set(["#",">","+","-","=","~","`"]),L8=new Set(["http","https","ftp","mailto","xmpp"]),L9=/^\d{1,9}[.)]/,L6=(e,t)=>{if(e.depth+=1,e.depth>256)throw new UH("NestingDepthExceeded",256,e.depth,t.position.start.offset)},L7=e=>{e.depth-=1},Oe=(e,t)=>{if("www"!==e.slice(Math.max(0,t-3),t).toLowerCase())return!1;if(t-3<=0)return!0;let r=e[t-4];return void 0===r||!/[\p{L}\p{N}]/u.test(r)},Ot=(e,t)=>{let r=t;for(;r>0&&/[a-zA-Z]/.test(e[r-1]);)r-=1;return L8.has(e.slice(r,t).toLowerCase())},Or=(e,t,r)=>{let i="",n=r;for(let r=0;r<e.length;r+=1){let s=e[r];if("\n"===s){let s="\n"===e[r-1]||"\n"===e[r+1],a=0===r||r===e.length-1;t.singleLine?(i+=" ",n=!1):s||a?(i+="&#10;",n=!1):(i+="\n",n=!0);continue}if(n){if(" "===s){i+="&#9;",n=!1;continue}if(" "===s){i+="&#32;",n=!1;continue}let t=e.indexOf("\n",r),a=e.slice(r,-1===t?void 0:t),o=L9.exec(a);if(null!==o){let e=o[0].slice(0,-1),t=o[0].slice(-1);i+=`${e}\\${t}`,r+=o[0].length-1,n=!1;continue}if(L4.has(s)){i+=`\\${s}`,n=!1;continue}}if(n=!1,L5.has(s)){i+=`\\${s}`;continue}if(t.inHeading&&"#"===s){i+="\\#";continue}if("."===s&&Oe(e,r)){i+="\\.";continue}if(":"===s&&Ot(e,r)){i+="\\:";continue}i+=s}return{text:i,atLineStart:n}},Oi=(e,t)=>{let r=e??"*";return r===t?"*"===r?"_":"*":r},On=e=>e.replace(/(?<!\\)([[\]])/g,"\\$1"),Os=e=>32>=e.codePointAt(0)||"<"===e||">"===e||"["===e||"]"===e||"\\"===e,Oa=e=>""===e||Array.from(e).some(Os)||!Oo(e)?`<${e.replace(/[<>\\]/g,e=>`\\${e}`)}>`:e,Oo=e=>{let t=0;for(let r of e)if("("===r&&(t+=1),")"===r&&(t-=1)<0)return!1;return 0===t},OA=e=>void 0===e?"":` "${e.replace(/[\\"]/g,e=>`\\${e}`)}"`,Ol=e=>{let t=0;for(let r of e.match(/`+/g)??[])t=Math.max(t,r.length);let r="`".repeat(Math.max(1,t+1));return`${r}${(""===e||""!==e.trim())&&(e.startsWith("`")||e.endsWith("`")||e.startsWith(" ")||e.endsWith(" "))?` ${e} `:e}${r}`},Oc=e=>"*"===e?"_":"*",Od=(e,t,r)=>"emphasis"===r.parent?"strong"===e?r.marker:Oc(r.marker):"emphasis"===e?Oc(r.marker):t??r.marker,Ou=(e,t,r,i,n)=>{let s="",a=i,o=0;for(let i of e){L6(r,i);let A=""===s?void 0:s[s.length-1],l=""===s||o===e.length-1,c="*"===A||"_"===A?A:void 0,d=()=>{s.endsWith("!")&&!s.endsWith("\\!")&&(s=`${s.slice(0,-1)}\\!`)};switch(i.type){case"text":{let e=Or(i.value,t,a);s+=e.text,a=e.atLineStart;break}case"inlineCode":s+=Ol(i.value),a=!1;break;case"html":s+=i.value,a=!1;break;case"break":t.singleLine?(s+=" ",a=!1):(s+="spaces"===i.breakStyle?" \n":"\\\n",a=!0);break;case"emphasis":case"strong":{let e,o=i.type;"_"===(e=l&&void 0!==n?Od(o,i.markerChar,n):Oi(i.markerChar,c))&&void 0!==A&&/[\p{L}\p{N}]/u.test(A)&&(e="*");let d="strong"===o?e.repeat(2):e,u=Ou(i.children,t,r,!1,{parent:o,marker:e});s+=`${d}${u}${d}`,a=!1;break}case"delete":s+=`~~${Ou(i.children,t,r,!1)}~~`,a=!1;break;case"link":d(),s+=`[${Ou(i.children,t,r,!1)}](${Oa(i.url)}${OA(i.title)})`,a=!1;break;case"image":{let e=(i.alt??"").replace(/[\\[\]]/g,e=>`\\${e}`);s+=`![${e}](${Oa(i.url)}${OA(i.title)})`,a=!1;break}case"linkReference":{d();let e=On(i.label??i.identifier);if("full"===i.referenceType){let n=Ou(i.children,t,r,!1);s+=`[${n}][${e}]`}else"collapsed"===i.referenceType?s+=`[${e}][]`:s+=`[${e}]`;a=!1;break}case"imageReference":{let e=On(i.label??i.identifier);if("full"===i.referenceType){let t=(i.alt??"").replace(/[\\[\]]/g,e=>`\\${e}`);s+=`![${t}][${e}]`}else"collapsed"===i.referenceType?s+=`![${e}][]`:s+=`![${e}]`;a=!1;break}case"footnoteReference":s+=`[^${On(i.label??i.identifier)}]`,a=!1}o+=1,L7(r)}return s},Og=(e,t,r)=>e.split("\n").map(e=>""===e?r:`${t}${e}`).join("\n"),Oh=(e,t)=>{let r=e.value.endsWith("\n")?e.value.slice(0,-1):e.value,i=""===r?[]:r.split("\n");if(!t&&void 0===e.fenceChar&&void 0===e.lang&&void 0===e.meta&&i.length>0&&""!==i[0]&&""!==i[i.length-1])return i.map(e=>""===e?"":` ${e}`).join("\n");let n=e.fenceChar??"`",s=0;for(let e of r.match("`"===n?/`+/g:/~+/g)??[])s=Math.max(s,e.length);let a=Math.max(3,e.fenceLength??0,s+1),o=n.repeat(a);return`${o}${e.lang??""}${void 0!==e.meta?` ${e.meta}`:""} +${""===r?"":`${r} +`}${o}`},Op=(e,t)=>{let r=Ou(e.children,L2,t,!1);if("setext"===e.headingStyle&&e.depth<=2&&""!==r){let t;return`${r} +${t=r.split("\n").at(-1)??"",(1===e.depth?"=":"-").repeat(Math.max(1,t.length))}`}let i="#".repeat(e.depth);return""===r?i:`${i} ${r}`},Om=e=>`[${On(e.label??e.identifier)}]: ${Oa(e.url)}${OA(e.title)}`,Of=(e,t)=>{let r=OQ(e.children,t).split("\n"),i=`[^${On(e.label??e.identifier)}]:`;return e.children[0]?.type==="code"?[i,...r.map(e=>""===e?"":` ${e}`)].join("\n"):r.map((e,t)=>0===t?`${i} ${e}`:""===e?"":` ${e}`).join("\n")},OC=(e,t)=>{let r=Math.max(1,...e.children.map(e=>e.children.length)),i=e.children.map(e=>{L6(t,e);let i=e.children.map(e=>{L6(t,e);let r=Ou(e.children,L3,t,!1).replace(/(?<!\\)\|/g,"\\|");return L7(t),r});for(L7(t);i.length<r;)i.push("");return`| ${i.join(" | ")} |`}),n=`| ${Array.from({length:r},(t,r)=>(e=>{switch(e){case"left":return":--";case"right":return"--:";case"center":return":-:";default:return"---"}})(e.align?.[r])).join(" | ")} |`,[s,...a]=i;return[s??`| ${Array.from({length:r},()=>"").join(" | ")} |`,n,...a].join("\n")},Oy=(e,t)=>{if(!0===e.ordered){let r=e.delimiter??".";return t?"."===r?")":".":r}let r=e.bulletChar??"-";return t?"-"===r?"*":"-":r},OI=(e,t,r)=>{let i=!e.spread;return e.children.map((n,s)=>((e,t,r,i)=>{let n,s;L6(r,e);let a=OQ(e.children,r,i);L7(r);let o=`${void 0===e.checked?"":e.checked?"[x] ":"[ ] "}${a}`;return""===o?t.trimEnd():(n=o.split("\n"),s=" ".repeat(t.length),n.map((e,r)=>0===r?`${t}${e}`:""===e?"":`${s}${e}`).join("\n"))})(n,!0===e.ordered?`${(e.start??1)+s}${Oy(e,r)} `:`${Oy(e,r)} `,t,i)).join(i?"\n":"\n\n")},OE=e=>{switch(e.type){case"list":return!0!==e.ordered||(e.start??1)===1;case"blockquote":case"thematicBreak":return!0;case"heading":return"setext"!==e.headingStyle;case"code":return void 0!==e.fenceChar||void 0!==e.lang;default:return!1}},OB=(e,t)=>{switch(e.type){case"heading":case"thematicBreak":return!0;case"code":if(void 0!==e.fenceChar||void 0!==e.lang)return!0;return"code"!==t.type||void 0!==t.fenceChar||void 0!==t.lang;case"paragraph":return OE(t);case"blockquote":return"blockquote"!==t.type&&"paragraph"!==t.type&&OE(t);default:return!1}},OQ=(e,t,r=!1)=>{let i,n,s=[],a=[];for(let r of e){switch(L6(t,r),r.type){case"paragraph":s.push(Ou(r.children,L1,t,!0)),n=void 0;break;case"heading":s.push(Op(r,t)),n=void 0;break;case"thematicBreak":s.push((r.markerChar??"*").repeat(3)),n=void 0;break;case"code":s.push(Oh(r,i?.type==="list")),n=void 0;break;case"html":s.push(r.value),n=void 0;break;case"blockquote":{let e=OQ(r.children,t);s.push(Og(e,"> ",">")),n=void 0;break}case"list":{let e=void 0!==n&&n===Oy(r,!1);s.push(OI(r,t,e)),n=Oy(r,e);break}case"definition":s.push(Om(r)),n=void 0;break;case"footnoteDefinition":s.push(Of(r,t)),n=void 0;break;case"table":s.push(OC(r,t)),n=void 0;break;case"frontmatter":{let e="toml"===r.format?"+++":"json"===r.format?"---json":"---",t="toml"===r.format?"+++":"---";s.push(""===r.value?`${e} +${t}`:`${e} +${r.value} +${t}`),n=void 0}}i=r,a.push(r),L7(t)}if(!r)return s.join("\n\n");let o="";for(let e=0;e<s.length;e+=1)e>0&&(o+=OB(a[e-1],a[e])?"\n":"\n\n"),o+=s[e];return o},Ob=gJ(["NestingDepthExceeded"]);var ON=class e extends hs("MarkdownDiagnostic")({code:Ob,message:gO,offset:gP,length:gP,line:gP,character:gP}){static fromRaw(t,r){let{line:i,character:n}=function(e,t){let r=0,i=0,n=Math.min(t,e.length);for(let t=0;t<n;t++){let n=e.charCodeAt(t);10===n?(r++,i=t+1):13===n&&(t+1<e.length&&10===e.charCodeAt(t+1)&&t++,r++,i=t+1)}return{line:r,character:t-i}}(t,r.offset);return e.make({code:r.code,message:r.message,offset:r.offset,length:r.length,line:i,character:n})}};let OS=gJ(["commonmark","gfm"]);hs("MarkdownParseOptions")({dialect:gM(OS),frontmatter:gM(gH)});var Ow=class extends ha()("MarkdownParseError",{diagnostic:ON}){get message(){let{code:e,line:t,character:r,message:i}=this.diagnostic;return`Markdown parse failed: ${e} at ${t}:${r} ${i}`}},Ox=class extends ha()("MarkdownStringifyError",{diagnostic:ON}){get message(){let{code:e,message:t}=this.diagnostic;return`Markdown stringify failed: ${e} ${t}`}},OD=class e{static parseResult(e,t){return nk(((e,t)=>{try{return r3(((e,t="commonmark",r=!1)=>new L0(e,(e=>{let t=Le.get(e);if(void 0===t)throw TypeError(`unknown markdown dialect: ${String(e)}`);return t})(t),t,r).parse())(e,t?.dialect??"gfm",t?.frontmatter??!1))}catch(t){if(t instanceof UH)return r2(new Ow({diagnostic:ON.fromRaw(e,{code:t.reason,message:t.message,offset:t.offset,length:0})}));if(t instanceof UP)return r2(new Ow({diagnostic:ON.fromRaw(e,t.diagnostic)}));throw t}})(e,t),e=>e.root)}static parse=cO("Markdown.parse")((t,r)=>aP(e.parseResult(t,r)));static stringifyResult(e){try{let t;return r3((t=OQ(e.children,{depth:0}),""===t?"":`${t} +`))}catch(e){if(e instanceof UH)return r2(new Ox({diagnostic:ON.make({code:e.reason,message:e.message,offset:e.offset,length:0,line:0,character:0})}));throw e}}static stringify=cO("Markdown.stringify")(t=>aP(e.stringifyResult(t)));static fromString(t){return gO.pipe(gX(UO,dz({decode:r=>ox(e.parse(r,t),e=>new dC(is(r),{message:e.message})),encode:t=>ox(e.stringify(t),e=>new dC(is(t),{message:e.message}))})))}static MarkdownFromString=e.fromString()};let OR=e=>UA.make({value:e}),Ov=e=>{let t;return t=UO.make({children:[e]}),nF(OD.stringifyResult(t)).trimEnd()};var Ok=class e{static table(e,t){let r=t=>UR.make({children:Array.from({length:e.length},(e,r)=>Ux.make({children:[OR((t[r]??"").replace(/\r?\n/g,"<br>"))]}))});return Ov(Uk.make({children:[r(e),...t.map(r)]}))}static tableFor(t,...r){let i=r[0]?.columns??{},n=Object.keys(t.fields).map(e=>{let r=t.fields[e],n=i[e],s=n?.format,a=void 0===s?gv(r):void 0;return{key:e,header:n?.header??de(r.ast)??e,cell:e=>void 0===e?"":void 0!==s?s(e):a?.(e)??""}}),s=n.map(e=>e.header);return{render:t=>e.table(s,t.map(e=>n.map(t=>t.cell(e[t.key]))))}}static heading(e,t=2){return`${"#".repeat(t)} ${e}`}static link(e,t){return Ov(UQ.make({children:[Up.make({url:t,children:[OR(e)]})]}))}static code(e){return Ov(UQ.make({children:[Uo.make({value:e})]}))}static codeBlock(e,t){return Ov(UI.make({value:e,fenceChar:"`",...void 0===t||""===t?{}:{lang:t}}))}static list(e,t){let r=t?.ordered??!1;return Ov(US.make({ordered:r,...r?{start:1}:{},children:e.map(e=>UN.make({children:[OR(e)]}))}))}static details(e,t){return`<details> +<summary>${e}</summary> + +${t} -</details>`)].join("\n\n"))).pipe(ag(e=>cm(`Failed to write job summary: ${e instanceof Error?e.message:String(e)}`))),yield*Rg.groupStep("Runtime Setup Complete",co(function*(){for(let e of(yield*ch(`Runtime(s): ${c.runtimes.map(e=>`${e.name}@${e.version}`).join(", ")}`),N))yield*ch(`${e.name}: ${e.version}`);yield*ch(`${d}: ${c.packageManager.version}`),yield*ch(`Turbo: ${c.turbo?"enabled":"disabled"}`),yield*ch(`Biome: ${r9(c.biome)?`v${c.biome.value}`:"not installed"}`),yield*ch(`Dependencies: ${b?"installed":"skipped"}`)}))});p4.run(kD,{layer:Ro})})(); \ No newline at end of file +</details>`}static raw(e){return e}};let OM=" \xb7 ",OF=(e,t)=>"none"===e?"disabled":"remote"===e?"passthrough (Vercel)":`${e}${OM}server ready${il(t,{onNone:()=>"",onSome:e=>` (:${e})`})}`;class OU extends A9("SummaryError"){}var OT=class e{static forChildEnv=e=>cD(function*(){let t=yield*mv,r={};for(let[i,n]of Object.entries(e)){let e=dn(n);yield*t.setSecret(e),r[i]=e}return r});static forRunnerFile=e=>cD(function*(){let t=yield*mv,r=dn(e);return yield*t.setSecret(r),r});static forSigning=t=>e.forRunnerFile(t);static adopt=e=>mA(e)};s("node:stream/promises");var OL=A(3006);class OO extends n0()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let OP=cM(aL(()=>new OL.g6),e=>cw(()=>e.destroy())),OH=l5(OO)(OP),OY=n0("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),OG=cD(function*(){let e=yield*OO;return yy((t,r,i,n)=>(function(e){switch(e._tag){case"Empty":return aU(null);case"Uint8Array":case"Raw":return aU(e.body);case"FormData":return aU(e.formData);case"Stream":let t;return t=e.stream,ot(og,e=>new fs(e,t))}})(t.body).pipe(a9(s=>cx({try:()=>e.request({...n.getRef(OY),signal:i,method:t.method,headers:t.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:s,headersTimeout:36e5,bodyTimeout:0}),catch:e=>new CQ({reason:new CS({request:t,cause:e})})})),ot(e=>new Oz(t,e))))});function Oq(e){}class Oz extends t0{[yA];[yd];request;source;constructor(e,t){super(),this[yA]=yA,this[yd]=yd,this.request=e,this.source=t,t.body.on("error",Oq)}get status(){return this.source.statusCode}get statusText(){}get headers(){return Cp(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?yi(e):yn}get remoteAddress(){return ii()}get stream(){return fr({evaluate:()=>this.source.body,onError:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})})}get json(){return a9(this.text,e=>aV({try:()=>""===e?null:JSON.parse(e),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=cx({try:()=>this.source.body.text(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB),this.arrayBufferBody=ot(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return a9(this.text,e=>aV({try:()=>CO(new URLSearchParams(e)),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=cx({try:()=>this.source.body.formData(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=cx({try:()=>this.source.body.arrayBuffer(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB),this.textBody=ot(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return yc(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return eJ(this,arguments)}}l6(ce(yQ(OG),OH),pJ.layer.pipe(ce(f1)),mv.layerDetached);class OV extends A9("TurboCacheError"){}let O_={backend:"none",port:ii(),state:ii()},OJ=(e,t)=>il(t,{onNone:()=>({}),onSome:t=>({[e]:t})}),OW=(e,t)=>{let r=e.find(e=>e.name===t);return void 0===r?{version:"",enabled:!1}:{version:r.version,enabled:!0}},Oj=cD(function*(){var e;let t,r,i,n,s,a,o=yield*mw;yield*(yield*pJ).github;let A=yield*MK;yield*aL(()=>{process.env.NPM_CONFIG_UPDATE_NOTIFIER="false",process.env.NPM_CONFIG_FUND="false",process.env.HUSKY="0",process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT="0"});let l=yield*o.group("Load configuration",FP),c=yield*o.group("Detect Biome",(t=A.biomeVersion,cD(function*(){let e=iM(t,Fp);if(iA(e))return Fm(e.value)?(yield*cY(`Detected Biome: ${e.value}`),e):(yield*cP(`Ignoring biome-version "${e.value}": not a plain version or tag`),ii());let r=yield*pU,i=yield*cD(function*(){for(let e of Fg)if(yield*r.access(e).pipe(a2(!0),oB(()=>aU(!1))))return is(e);return ii()});if(io(i))return ii();let n=yield*r.readFileString(i.value).pipe(oB(()=>aU("{}"))),s=(e=>{if(null===e||"object"!=typeof e)return ii();let t=e.$schema;return"string"!=typeof t?ii():ij(iE(Fh.exec(t)?.[1]),Fm)})((yield*Fu.parse(n).pipe(oB(()=>aU({})))));return iA(s)&&(yield*cY(`Detected Biome: ${s.value}`)),s}))),d=yield*o.group("Detect Turbo",Ff);yield*o.group("Detected configuration",cY((r=[...(e={runtimes:l.runtimes,packageManager:l.packageManager,biome:c,turbo:d.enabled}).runtimes.map(e=>`${e.name} ${e.version}`),`${e.packageManager.name} ${e.packageManager.version}`],iA(e.biome)&&r.push(`biome ${e.biome.value}`),e.turbo&&r.push("turbo"),r.join(OM))));let u=yield*o.group("Restore dependency cache",(i={inputs:A,config:l,biomeVersion:c,turbo:d},cD(function*(){var e,t;let r,n,s=yield*Me,a=yield*mU,o=yield*pJ,A=yield*o.github.pipe(ot(e=>e.workspace),oB(()=>aL(()=>process.cwd()))),l=ih((yield*o.getOptional("RUNNER_TOOL_CACHE")),()=>"win32"===process.platform?"C:\\hostedtoolcache":"/opt/hostedtoolcache"),c=yield*cD(function*(){let e=yield*o.getOptional("GITHUB_HEAD_REF");return iA(e)?e.value:il((yield*o.getOptional("GITHUB_REF")),{onNone:()=>"",onSome:e=>e.startsWith(F0)?e.slice(F0.length):""})}),d=(e=>{let t=new Set;for(let r of e.runtimes)t.add("node"===r.name?e.packageManager.name:r.name);return[...t]})(i.config),u=[...i.config.runtimes.map(e=>({name:e.name,version:e.version})),...il(i.biomeVersion,{onNone:()=>[],onSome:e=>[{name:"biome",version:e}]})],g=(r=i.inputs.additionalLockfiles,[...FJ(new Set(d.flatMap(e=>Fz[e]))),...r,...FV]),h=yield*F1(Fq.matchingFiles({workspace:A,patterns:g}),"key",e=>`Lockfile discovery failed (${e.reason}): ${e.message}`,[]),p=yield*F1(Fq.hashFiles(h),"key",e=>`Lockfile hashing failed (${e.reason}): ${e.message}`,ii()),m=(e=>{let t=FW(e.platform),r=new Set;for(let t of e.packageManagers){for(let i of Fj(t,e.platform,e.home))r.add(i);for(let e of FK(t))r.add(e)}for(let i of e.tools)F$.has(i.name)&&r.add(t.join(e.toolCacheBase,i.name,i.version));return[...new Set([...FJ(r),...e.additional,...e.turbo?F_:[]])]})({packageManagers:d,tools:u,toolCacheBase:l,additional:i.inputs.additionalCachePaths,turbo:i.turbo.enabled,platform:process.platform,home:(0,fE.homedir)()}),f=Fq.of(...(e=>{let t=(0,ff.createHash)("sha256");for(let r of(iA(e.cacheBust)&&t.update(e.cacheBust.value),[...e.tools].sort((e,t)=>e.name.localeCompare(t.name))))t.update(`${r.name}:${r.version}`);t.update(`${e.packageManager.name}:${e.packageManager.version}`);let r=(0,ff.createHash)("sha256").update(""===e.branch?"null":e.branch);return[e.platform,e.arch,t.digest("hex").slice(0,8),r.digest("hex").slice(0,8),il(e.lockfileHash,{onNone:()=>"empty",onSome:e=>e.slice(0,8)})]})({platform:process.platform,arch:process.arch,tools:u,packageManager:i.config.packageManager,branch:c,lockfileHash:p,cacheBust:i.inputs.cacheBust})),C=iA(i.inputs.cacheBust)?f.withoutRestoreKeys():f.withRestoreDepths(FX),y=C.restoreKeys;yield*cG(`Cache primary key: ${C.key}`),yield*cG(`Cache restore keys: ${y.length>0?y.join(", "):"(none — exact match only)"}`),yield*cG(`Cache paths (${m.length}): ${m.join(", ")}`),yield*cG(`Lockfiles (${h.length}): ${h.join(", ")||"(none)"}`),yield*cG(`Cache bust: ${ih(i.inputs.cacheBust,()=>"(none)")}`);let I=yield*F1(s.restore(m,C),"restore",e=>`Failed to restore cache with key ${C.key} (${e.reason}): ${e.message}`,ii());yield*cY((e=C.key,t=h.length,n=`${t} lockfile${1===t?"":"s"}`,io(I)?`miss (${n})`:I.value===e?`exact hit (${n})`:`partial hit (${n})`)),yield*cG(`Cache matched key: ${ih(I,()=>"(none)")}`);let E=M1.make({paths:m,primaryKey:C.key,restoredKey:I,lockfiles:h});return yield*F1(a.save("silk-runtime-cache",E,M1),"state",e=>`Cache state could not be saved (${e.reason}); the post phase will not save this run's cache`,void 0),E}))),g=yield*o.group("Install runtimes",((e,t=FB())=>cD(function*(){let r=yield*mw;return yield*Al(e.runtimes,e=>r.withBuffer(e.name,cD(function*(){let r=yield*Mn,i=yield*mv,n=yield*mL,s=yield*mq,a=FQ[e.name].plan(e.version,t.platform,t.arch);if(r0(a))return yield*new Fb({message:a.failure});let o=a.success;yield*cG(`${e.name} ${e.version}: ${o.url}`);let A=yield*r.find(e.name,e.version),l=iA(A)?A.value:yield*cD(function*(){let t=yield*r.download(o.url),i="zip"===o.archive?yield*r.extractZip(t):yield*r.extractTar(t,{flags:o.tarFlags}),s=void 0===o.archiveSubPath?i:n.join(i,o.archiveSubPath);return yield*r.cacheDir(s,e.name,e.version)});yield*cG(`${e.name} ${e.version}: cached at ${l}`);let c=void 0===o.binSubPath?l:n.join(l,o.binSubPath);yield*i.addPath(c);let d=n.join(c,o.binary),u=yield*s.exitCode(mJ(d,["--version"]));return 0!==u?yield*new FN({message:`${d} --version exited ${u}`}):{name:e.name,version:e.version,path:c}}).pipe(oB(t=>rD(new FE({reason:(e=>{if(null===e||"object"!=typeof e)return"verify";if("PlanError"===e._tag)return"unsupported-platform";if("ToolInstallerError"===e._tag){if("downloadFailed"===e.reason)return"download";if("extractFailed"===e.reason)return"extract";if("cacheFailed"===e.reason)return"cache"}return"verify"})(t),message:`Failed to install ${e.name}@${e.version}: ${(e=>{if(null!==e&&"object"==typeof e){if("string"==typeof e.message&&""!==e.message)return e.message;if("string"==typeof e.reason&&""!==e.reason)return e.reason;if("string"==typeof e._tag)return e._tag}let t=String(e);return""===t?"Unknown error":t})(t)}`,cause:t})))),{onSuccess:"discard"}).pipe(a5(e=>cY(`${e.name} ${e.version}`))))}))(l)),h=yield*o.group(`Install ${l.packageManager.name}`,(n=l.packageManager,cD(function*(){let e={name:n.name,version:n.version};if("bun"===n.name||"deno"===n.name)return yield*cY(`${n.name} is its own package manager, no additional setup needed`),{...e,binDir:ii()};let t=yield*mw,r=yield*t.withBuffer(n.name,cD(function*(){let e=yield*MW,t=yield*mv,r=yield*MP.parse(`${n.name}@${n.version}`),i=yield*e.install(r);return yield*cG(`${n.name} ${n.version}: ${i.source}`),"tool-cache"===i.source&&(yield*t.addPath(i.binDir)),i}).pipe(oB(e=>rD(new F2({reason:(e=>{if("ActionOutputError"===e._tag)return"activate";if("InvalidPackageManagerPinError"===e._tag)return"install";let t=e.reason;switch(t){case"layoutUnexpected":return"verify";case"downloadFailed":case"extractFailed":case"cacheFailed":case"integrityMismatch":case"integrityMissing":case"unsupportedPlatform":return"install";default:throw Error(`PackageManagerInstallerError carries an unhandled reason: ${String(t)}`)}})(e),message:`Failed to setup ${n.name}@${n.version}: ${e.message}`,cause:e})))),{onSuccess:"discard"});return yield*cY(`${n.name}@${n.version} activated`),{...e,binDir:"tool-cache"===r.source?is(r.binDir):ii()}}))),p=((e,t)=>{if(iA(e.binDir))return e;let r=t.find(t=>t.name===e.name);return void 0===r?e:{...e,binDir:is(r.path)}})(h,g),m=yield*o.group("Install dependencies",((e,t,r,i=process.platform)=>cD(function*(){let n;if(!t)return{ran:!1};if("deno"===e.name)return yield*cY("Deno caches dependencies automatically, skipping install step"),{ran:!1};let s=yield*pU,a=yield*mw,o=Fx[e.name],A=(yield*Ao(o.lockfiles,()=>!1,(e,t)=>e?aU(!0):s.exists(t).pipe(oB(()=>aU(!1)))))?o.locked:o.unlocked,{exitCode:l,tail:c}=yield*a.withBuffer(e.name,(n=e.name,cD(function*(){let e=yield*mq,t=mJ(n,[...A],{stdout:"inherit",stderr:"pipe",...(e=>{if(0===e.length)return{};let t=Object.keys(process.env).find(e=>"PATH"===e.toUpperCase())??"PATH";return{env:{[t]:[...e,process.env[t]??""].join(fB.delimiter)},extendEnv:!0}})(r),..."win32"===i?{shell:!0}:{}}),s=yield*e.spawn(t),a=[];return yield*px(pN(pb(s.stderr)),e=>aO(()=>(a.push(e),a.length>10&&a.shift(),cY(e)))),{exitCode:Number((yield*s.exitCode)),tail:a}}).pipe(ck))).pipe(oB(t=>rD(new Fw({reason:"spawn",message:`Failed to install dependencies with ${e.name}: ${t.message}`,cause:t}))));if(0!==l){var d;let t,r;return yield*new Fw({reason:"exit-code",message:`Failed to install dependencies with ${e.name}: ${(d=e.name,r=0===(t=c.filter(e=>""!==e.trim())).length?"":` +${t.join("\n")}`,`${d} ${A.join(" ")} exited with code ${l}${r}`)}`,cause:{exitCode:l,stderr:c.join("\n")}})}return yield*cY("Dependencies installed successfully"),{ran:!0}}))(p,A.installDeps,[...new Set([...il(p.binDir,{onNone:()=>[],onSome:e=>[e]}),...g.map(e=>e.path)])])),f=yield*o.group("Install Biome",((e,t=FB())=>cD(function*(){var r,i,n;let s;if(io(e))return ii();let a=e.value,o=(r=a,i=t.platform,n=t.arch,void 0===(s=FC[i]?.[n])?r2(`Unsupported platform for Biome: ${i}-${n}`):r3({url:`https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${r}/${s}`,binary:"win32"===i?"biome.exe":"biome"}));if(r0(o))return yield*new FS({reason:"detect",message:o.failure});let A=o.success,l=yield*Mn,c=yield*mv;yield*cG(`biome ${a}: ${A.url}`);let d=yield*l.provisionFile({tool:"biome",version:a,url:A.url,binary:A.binary}).pipe(oB(e=>rD(new FS({reason:(e=>{switch(e.reason){case"downloadFailed":return"download";case"extractFailed":case"cacheFailed":return"cache"}})(e),message:e.message,cause:e}))));return yield*c.addPath(d.binDir).pipe(oB(e=>rD(new FS({reason:"cache",message:`Biome ${a} could not be published to PATH: ${e.message}`,cause:e})))),yield*cY(`Biome ${a}`),is({version:a,path:d.binDir})}))(c).pipe(oB(e=>cP(`Biome installation failed: ${e.message}`).pipe(a2(ii()))))),C=yield*o.group("Start turbo remote cache",(s={inputs:A,turbo:d},cD(function*(){let e,t,r=yield*mv;yield*(e=s.inputs,cD(function*(){let t=yield*mv;for(let t of[e.turboToken,e.turboS3SecretAccessKey,e.turboS3SessionToken])iA(t)&&(yield*OT.forSigning(t.value));iA(e.turboS3AccessKeyId)&&(yield*t.setSecret(e.turboS3AccessKeyId.value))}));let i=(e=>{let{turboDetected:t,inputs:r}=e;return t&&"off"!==r.turboCache?iA(r.turboToken)&&iA(r.turboTeam)?{mode:"passthrough",token:r.turboToken.value,team:r.turboTeam.value}:iA(r.turboS3Bucket)?{mode:"embedded",backend:"s3",s3:{bucket:r.turboS3Bucket.value,region:r.turboS3Region,endpoint:r.turboS3Endpoint,accessKeyId:r.turboS3AccessKeyId,secretAccessKey:r.turboS3SecretAccessKey,sessionToken:r.turboS3SessionToken,prefix:r.turboS3Prefix}}:{mode:"embedded",backend:"github"}:{mode:"off"}})({turboDetected:s.turbo.enabled,inputs:s.inputs});return"off"===i.mode?(yield*cG("Turbo remote cache is off"),O_):(iA((t=s.inputs).turboToken)!==iA(t.turboTeam)&&(yield*cP("Both turbo-token and turbo-team are required for an external remote cache; only one was supplied, so the embedded cache server is being used instead.")),"passthrough"===i.mode)?(yield*r.exportVariable("TURBO_TOKEN",(yield*OT.forRunnerFile(i.token))),yield*r.exportVariable("TURBO_TEAM",i.team),yield*cG(`Turbo remote cache: passthrough to team ${i.team}`),yield*cY(OF("remote",ii())),{backend:"remote",port:ii(),state:ii()}):yield*cD(function*(){let e,t=yield*mv,r=s.detached??M0,n=s.port??41230,a=(0,fB.join)((0,fE.tmpdir)(),`turbogha-${n}.log`),o=(0,ff.randomUUID)(),A=yield*(e={port:n,prefix:s.inputs.turboCachePrefix,token:o},cD(function*(){let t={TURBOGHA_PORT:String(e.port),TURBOGHA_PREFIX:e.prefix,TURBOGHA_TOKEN:e.token,TURBOGHA_BACKEND:i.backend};if("s3"!==i.backend)return t;let{s3:r}=i,n={...iA(r.secretAccessKey)?{TURBOGHA_S3_SECRET_ACCESS_KEY:r.secretAccessKey.value}:{},...iA(r.sessionToken)?{TURBOGHA_S3_SESSION_TOKEN:r.sessionToken.value}:{}};return{...t,TURBOGHA_S3_BUCKET:r.bucket,...OJ("TURBOGHA_S3_REGION",r.region),...OJ("TURBOGHA_S3_ENDPOINT",r.endpoint),...OJ("TURBOGHA_S3_ACCESS_KEY_ID",r.accessKeyId),...OJ("TURBOGHA_S3_PREFIX",r.prefix),...yield*OT.forChildEnv(n)}})),l=yield*r.spawn({command:process.execPath,args:[s.serverEntry??(0,fB.join)((0,fB.dirname)((0,f2.fileURLToPath)(import.meta.url)),"turbo-server.js")],logFile:a,env:A}).pipe(oB(e=>rD(new OV({reason:"spawn",message:`Turbo cache server could not be started (${e.reason}): ${e.message}`,cause:e})))),c=M3.make({pid:l,port:n,backend:i.backend,logFile:a});return yield*(yield*mU).save("silk-runtime-turbo-server",c,M3).pipe(oB(e=>cP(new OV({reason:"spawn",message:`Turbo cache server state could not be saved (${e.reason}); pid ${l} will not be reaped by the post phase`,cause:e}).message))),yield*cG(`Turbo cache server started: pid=${l}, backend=${i.backend}, log=${a}`),(yield*r.awaitReady(cx(()=>fetch(`http://127.0.0.1:${n}/v8/artifacts/status`).then(e=>e.ok)).pipe(oB(()=>aU(!1)))).pipe(a2(!0),oB(e=>cH(new OV({reason:"readiness",message:`Turbo cache server (pid=${l}) did not become ready on 127.0.0.1:${n}; continuing WITHOUT a remote cache. See ${a} for server output.`,cause:e}).message).pipe(a2(!1)))))?(yield*t.exportVariable("TURBO_API",`http://127.0.0.1:${n}`),yield*t.exportVariable("TURBO_TOKEN",o),yield*t.exportVariable("TURBO_TEAM",o),yield*cY(OF(i.backend,is(n))),{backend:i.backend,port:is(n),state:is(c)}):{backend:"none",port:ii(),state:is(c)}})}).pipe(oB(e=>cP(`Turbo cache setup error: ${e.message}`).pipe(a2(O_))),oQ(e=>cP(`Turbo cache setup defect: ${e instanceof Error?e.message:String(e)}`).pipe(a2(O_)))))),y=OW(g,"node"),I=OW(g,"bun"),E=OW(g,"deno"),B={...M$,nodeVersion:y.version,nodeEnabled:y.enabled,bunVersion:I.version,bunEnabled:I.enabled,denoVersion:E.version,denoEnabled:E.enabled,packageManager:h.name,packageManagerVersion:h.version,biomeVersion:il(f,{onNone:()=>"",onSome:e=>e.version}),biomeEnabled:iA(f),turboEnabled:d.enabled,...{turboCacheBackend:C.backend,turboCachePort:il(C.port,{onNone:()=>"",onSome:e=>String(e)})},cacheHit:io(u.restoredKey)?"false":M2(u)?"true":"partial",lockfiles:u.lockfiles.join(","),cachePaths:u.paths.join(",")};yield*cD(function*(){let e=yield*mv;yield*e.set("node-version",B.nodeVersion),yield*e.set("node-enabled",String(B.nodeEnabled)),yield*e.set("bun-version",B.bunVersion),yield*e.set("bun-enabled",String(B.bunEnabled)),yield*e.set("deno-version",B.denoVersion),yield*e.set("deno-enabled",String(B.denoEnabled)),yield*e.set("package-manager",B.packageManager),yield*e.set("package-manager-version",B.packageManagerVersion),yield*e.set("biome-version",B.biomeVersion),yield*e.set("biome-enabled",String(B.biomeEnabled)),yield*e.set("turbo-enabled",String(B.turboEnabled)),yield*e.set("turbo-cache-backend",B.turboCacheBackend),yield*e.set("turbo-cache-port",B.turboCachePort),yield*e.set("cache-hit",B.cacheHit),yield*e.set("lockfiles",B.lockfiles),yield*e.set("cache-paths",B.cachePaths)}),yield*(a={outputs:B,runtimes:g,biome:f,biomeDetected:c,cache:u,turboCache:C,dependenciesInstalled:m.ran},cD(function*(){let e=yield*mv,t=yield*mw;yield*aV({try:()=>{var e,t;let r,i;return r=[["Runtime(s)",(e={runtimes:a.runtimes,packageManager:{name:a.outputs.packageManager,version:a.outputs.packageManagerVersion},biome:iD(a.biome,e=>e.version),turbo:{backend:a.turboCache.backend,port:a.turboCache.port},cache:a.cache,dependenciesInstalled:a.dependenciesInstalled}).runtimes.map(e=>`${e.name} ${e.version}`).join(", ")],["Package manager",`${e.packageManager.name} ${e.packageManager.version}`]],iA(e.biome)&&r.push(["Biome",e.biome.value]),r.push(["Turbo cache",OF(e.turbo.backend,e.turbo.port)]),r.push(["Dependency cache",io((t=e.cache).restoredKey)?"⬜ miss":M2(t)?"✅ exact hit":"♻️ partial hit"]),r.push(["Dependencies",e.dependenciesInstalled?"installed":"skipped"]),i=[...""===e.cache.primaryKey?[]:[`Cache key: ${Ok.code(e.cache.primaryKey)}`],0===e.cache.lockfiles.length?"Lockfiles: none":`Lockfiles: ${e.cache.lockfiles.map(e=>Ok.code(e)).join(", ")}`],[Ok.heading("\uD83D\uDE80 Runtime Setup",2),Ok.table(["Component","Detail"],r),Ok.details("Cache details",Ok.list(i))].join("\n\n")},catch:e=>new OU({reason:"render",message:`Failed to render job summary: ${e instanceof Error?e.message:String(e)}`,cause:e})}).pipe(a9(t=>e.summary(t).pipe(ox(e=>new OU({reason:"write",message:`Failed to write job summary: ${e.message}`,cause:e})))),oB(e=>cP(e.message))),yield*t.group("Runtime Setup Complete",cD(function*(){for(let e of a.runtimes)yield*cY(`${e.name}: ${e.version}`);yield*cY(`${a.outputs.packageManager}: ${a.outputs.packageManagerVersion}`),yield*cY(`Turbo: ${a.outputs.turboEnabled?"enabled":"disabled"}`),yield*cY(`Biome: ${iA(a.biome)?`v${a.biome.value.version}`:iA(a.biomeDetected)?"detected, install failed":"not detected"}`),yield*cY(`Dependencies: ${a.dependenciesInstalled?"installed":"skipped"}`)}))}))});yM.run(Oj,{layer:Mj})})(); \ No newline at end of file diff --git a/.github/actions/local/dist/post.js b/.github/actions/local/dist/post.js index e842adbb..7ceba11e 100644 --- a/.github/actions/local/dist/post.js +++ b/.github/actions/local/dist/post.js @@ -1,165 +1,34 @@ -/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ - -/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */ -import{fileURLToPath as e}from"node:url";var t,r,i,n,s,o,a,A=e(import.meta.url);import{createRequire as l}from"node:module";let c=l(import.meta.url);var d={9557(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let o=s(r(8611)),a=s(r(5692));async function A(e){let t=0,r=[];for await(let i of e)t+=i.length,r.push(i);return Buffer.concat(r,t)}t.toBuffer=A,t.json=async function(e){let t=(await A(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}},t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?a:o).request(e,t),i=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=i.then.bind(i),r}},2120(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let a=s(r(9278)),A=s(r(8611)),l=r(5692);o(r(9557),t);let c=Symbol("AgentBaseInternalState");class d extends A.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new a.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],i=r.indexOf(t);-1!==i&&(r.splice(i,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?l.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let i={...t,secureEndpoint:this.isSecureEndpoint(t)},n=this.getName(i),s=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(o=>{if(this.decrementSockets(n,s),o instanceof A.Agent)try{return o.addRequest(e,i)}catch(e){return r(e)}this[c].currentSocket=o,super.createSocket(e,t,r)},e=>{this.decrementSockets(n,s),r(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[c]&&(this[c].protocol=e)}}t.Agent=d},4879(e,t,r){let i;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let i=0,n=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))}),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),i=!1,t.destroy=()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(5826)(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5826(e,t,r){e.exports=function(e){function t(e){let r,n,s,o=null;function a(...e){if(!a.enabled)return;let i=Number(new Date);a.diff=i-(r||i),a.prev=r,a.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";n++;let s=t.formatters[i];if("function"==typeof s){let t=e[n];r=s.call(a,t),e.splice(n,1),n--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=i,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(n!==t.namespaces&&(n=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function i(e,r){let i=t(this.namespace+(void 0===r?":":r)+e);return i.log=this.log,i}function n(e,t){let r=0,i=0,n=-1,s=0;for(;r<e.length;)if(i<t.length&&(t[i]===e[r]||"*"===t[i]))"*"===t[i]?(n=i,s=r):r++,i++;else{if(-1===n)return!1;i=n+1,r=++s}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=r(9049),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5243(e,t,r){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(4879):e.exports=r(5051)},5051(e,t,r){let i=r(2018),n=r(9023);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let i=0;i<r.length;i++)e.inspectOpts[r[i]]=t.inspectOpts[r[i]]},t.log=function(...e){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:i,useColors:n}=this;if(n){let t=this.color,n="\x1b[3"+(t<8?t:"8;5;"+t),s=` ${n};1m${i} \u001B[0m`;r[0]=s+r[0].split("\n").join("\n"+s),r.push(n+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+i+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)},t.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(9478);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[r]=i,e},{}),e.exports=r(5826)(t);let{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},1533(e){e.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return -1!==i&&(-1===n||i<n)}},7277(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpProxyAgent=void 0;let a=s(r(9278)),A=s(r(4756)),l=o(r(5243)),c=r(4434),d=r(2120),g=r(7016),u=(0,l.default)("http-proxy-agent");class h extends d.Agent{constructor(e,t){super(t),this.proxy="string"==typeof e?new g.URL(e):e,this.proxyHeaders=t?.headers??{},u("Creating new HttpProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...t?function(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}(t,"headers"):null,host:r,port:i}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:r}=this,i=t.secureEndpoint?"https:":"http:",n=e.getHeader("host")||"localhost",s=`${i}//${n}`,o=new g.URL(e.path,s);80!==t.port&&(o.port=String(t.port)),e.path=String(o);let a="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;a["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let t of(a["Proxy-Connection"]||(a["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(a))){let r=a[t];r&&e.setHeader(t,r)}}async connect(e,t){let r,i,n;return e._header=null,e.path.includes("://")||this.setRequestProps(e,t),u("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(u("Patching connection write() output buffer with updated header"),i=(r=e.outputData[0].data).indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+r.substring(i),u("Output buffer: %o",e.outputData[0].data)),"https:"===this.proxy.protocol?(u("Creating `tls.Socket`: %o",this.connectOpts),n=A.connect(this.connectOpts)):(u("Creating `net.Socket`: %o",this.connectOpts),n=a.connect(this.connectOpts)),await (0,c.once)(n,"connect"),n}}h.protocols=["http","https"],t.HttpProxyAgent=h},6565(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let a=s(r(9278)),A=s(r(4756)),l=o(r(2613)),c=o(r(5243)),d=r(2120),g=r(7016),u=r(679),h=(0,c.default)("https-proxy-agent"),m=e=>void 0===e.servername&&e.host&&!a.isIP(e.host)?{...e,servername:e.host}:e;class p extends d.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new g.URL(e):e,this.proxyHeaders=t?.headers??{},h("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?f(t,"headers"):null,host:r,port:i}}async connect(e,t){let r,{proxy:i}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===i.protocol?(h("Creating `tls.Socket`: %o",this.connectOpts),r=A.connect(m(this.connectOpts))):(h("Creating `net.Socket`: %o",this.connectOpts),r=a.connect(this.connectOpts));let n="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=a.isIPv6(t.host)?`[${t.host}]`:t.host,o=`CONNECT ${s}:${t.port} HTTP/1.1\r -`;if(i.username||i.password){let e=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(n.Host=`${s}:${t.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(n)))o+=`${e}: ${n[e]}\r -`;let c=(0,u.parseProxyResponse)(r);r.write(`${o}\r -`);let{connect:d,buffered:g}=await c;if(e.emit("proxyConnect",d),this.emit("proxyConnect",d,e),200===d.statusCode)return(e.once("socket",C),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),A.connect({...f(m(t),"host","path","port"),socket:r})):r;r.destroy();let p=new a.Socket({writable:!1});return p.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,l.default)(e.listenerCount("data")>0),e.push(g),e.push(null)}),p}}function C(e){e.resume()}function f(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}p.protocols=["http","https"],t.HttpsProxyAgent=p},679(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let n=(0,i(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let i=0,s=[];function o(){let A=e.read();A?function(A){s.push(A),i+=A.length;let l=Buffer.concat(s,i),c=l.indexOf("\r\n\r\n");if(-1===c){n("have not received end of HTTP headers yet..."),o();return}let d=l.slice(0,c).toString("ascii").split("\r\n"),g=d.shift();if(!g)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let u=g.split(" "),h=+u[1],m=u.slice(2).join(" "),p={};for(let t of d){if(!t)continue;let i=t.indexOf(":");if(-1===i)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let n=t.slice(0,i).toLowerCase(),s=t.slice(i+1).trimStart(),o=p[n];"string"==typeof o?p[n]=[o,s]:Array.isArray(o)?o.push(s):p[n]=s}n("got proxy server response: %o %o",g,p),a(),t({connect:{statusCode:h,statusText:m,headers:p},buffered:l})}(A):e.once("readable",o)}function a(){e.removeListener("end",A),e.removeListener("error",l),e.removeListener("readable",o)}function A(){a(),n("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function l(e){a(),n("onerror %o",e),r(e)}e.on("error",l),e.on("end",A),o()})}},9049(e){function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,n,s,o,a=typeof e;if("string"===a&&e.length>0){var A=e;if(!((A=String(A)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(n=Math.abs(i=e))>=864e5?t(i,n,864e5,"day"):n>=36e5?t(i,n,36e5,"hour"):n>=6e4?t(i,n,6e4,"minute"):n>=1e3?t(i,n,1e3,"second"):i+" ms":(o=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":o>=36e5?Math.round(s/36e5)+"h":o>=6e4?Math.round(s/6e4)+"m":o>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let i,n=r(857),s=r(2018),o=r(1533),{env:a}=process;function A(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===i)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===i)return 0;let r=i||0;if("dumb"===a.TERM)return r;if("win32"===process.platform){let e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:r;if("TEAMCITY_VERSION"in a)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION);if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){let e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?i=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(i=1),"FORCE_COLOR"in a&&(i="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return A(l(e,e&&e.isTTY))},stdout:A(l(!0,s.isatty(1))),stderr:A(l(!0,s.isatty(2)))}},3006(e,t,r){r(5183);let i=r(6873);r(6334),r(4967),r(1326);let n=r(5891);r(6400),r(3614),r(9741),r(9003),r(8392),r(473);let s=r(8065),o=r(1210),{InvalidArgumentError:a}=s,l=r(8769);r(5010),r(375);let{MockCallHistory:c,MockCallHistoryLog:d}=r(2137);r(6923),r(8182),r(2817),r(8531),r(4166);let{getGlobalDispatcher:g,setGlobalDispatcher:u}=r(8023);function h(e){return(t,r,i)=>{if("function"==typeof r&&(i=r,r=null),!t||"string"!=typeof t&&"object"!=typeof t&&!(t instanceof URL))throw new a("invalid url");if(null!=r&&"object"!=typeof r)throw new a("invalid opts");if(r&&null!=r.path){if("string"!=typeof r.path)throw new a("invalid opts.path");let e=r.path;r.path.startsWith("/")||(e=`/${e}`),t=new URL(o.parseOrigin(t).origin+e)}else r||(r="object"==typeof t?t:{}),t=o.parseURL(t);let{agent:n,dispatcher:s=g(),...A}=r;if(n)throw new a("unsupported opts.agent. Did you mean opts.client?");return e.call(s,{...A,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},i)}}r(2645),r(7424),Object.assign(i.prototype,l),e.exports.g6=n,r(7884),r(3128),r(9620),r(5850),r(4053),r(6056),r(9287),r(7870),r(415),r(7068),o.parseHeaders,o.headerNameToString;let m=r(7564).fetch;e.exports.hd=function(t,r){return m(t,r).catch(t=>{throw A?!function e(t,r){if(!t||"object"!=typeof t)return;let i="string"==typeof t.stack?t.stack:"",n=r.replace(/\\/g,"/");if(i&&(i.includes(r)||i.includes(n)))return;let s={};if(Error.captureStackTrace(s,e),!s.stack)return;let o=s.stack.split("\n").slice(1).join("\n");t.stack=i?`${i} -${o}`:s.stack}(t,A):t&&"object"==typeof t&&Error.captureStackTrace(t,e.exports.hd),t})},e.exports.Lr=r(3470).Headers,e.exports.YK=r(165).Response,e.exports.Kd=r(9553).Request,e.exports.fS=r(1304).FormData;let{setGlobalOrigin:p,getGlobalOrigin:C}=r(1045),{CacheStorage:f}=r(3691),{kConstruct:I}=r(3025);new f(I);let{deleteCookie:E,getCookies:y,getSetCookies:B,setCookie:Q,parseCookie:N}=r(5823),{parseMIMEType:b,serializeAMimeType:S}=r(3518),{CloseEvent:w,ErrorEvent:D,MessageEvent:x}=r(7342),{WebSocket:R,ping:M}=r(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=D,e.exports.aM=x,r(3867).WebSocketStream,r(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:k}=r(7288);e.exports.GD=k},4032(e,t,r){let{addAbortListener:i}=r(1210),{RequestAbortedError:n}=r(8065),s=Symbol("kListener"),o=Symbol("kSignal");function a(e){e.abort?e.abort(e[o]?.reason):e.reason=e[o]?.reason??new n,A(e)}function A(e){e[o]&&("removeEventListener"in e[o]?e[o].removeEventListener("abort",e[s]):e[o].removeListener("abort",e[s]),e[o]=null,e[s]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[o]=null,e[s]=null,t){if(t.aborted)return void a(e);e[o]=t,e[s]=()=>{a(e)},i(e[o],e[s])}},removeSignal:A}},5854(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{InvalidArgumentError:s,SocketError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new s("invalid opts");if("function"!=typeof t)throw new s("invalid callback");let{signal:r,opaque:i,responseHeaders:n}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=n||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new o("bad connect",null)}onRequestUpgrade(e,t,r,i){let{callback:n,opaque:s,context:o}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?a.parseRawHeaders(c):r),this.runInAsyncScope(n,null,null,{statusCode:t,headers:A,socket:i,opaque:s,context:o})}onResponseError(e,t){let{callback:r,opaque:i}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r),i={...t,method:"CONNECT"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},4372(e,t,r){let{Readable:i,Duplex:n,PassThrough:s}=r(7075),o=r(4589),{AsyncResource:a}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:g}=r(3025),{addSignal:u,removeSignal:h}=r(4032);function m(){}let p=Symbol("resume");class C extends i{constructor(){super({autoDestroy:!0}),this[p]=null,this[g]=!0}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}}class f extends i{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class I extends a{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:i,opaque:s,onInfo:o,responseHeaders:a}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new A("invalid method");if(o&&"function"!=typeof o)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=a||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new C().on("error",m),this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:i}=this;i.push(e,t)||i._readableState.destroyed?r():i[p]=r},destroy:(e,t)=>{let{body:r,req:i,res:n,ret:s,abort:o}=this;e||s._readableState.endEmitted||(e=new c),o&&e&&o(),d.destroy(r,e),d.destroy(i,e),d.destroy(n,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(o(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let n,{opaque:s,handler:o,context:a}=this;if(t<200){if(this.onInfo){let i=e?.rawHeaders,n="raw"===this.responseHeaders?d.parseRawHeaders(i):r;this.onInfo({statusCode:t,headers:n})}return}this.res=new f(()=>e.resume());try{this.handler=null;let i=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(i):r;n=this.runInAsyncScope(o,null,{statusCode:t,headers:A,opaque:s,body:this.res,context:a})}catch(e){throw this.res.on("error",m),e}if(!n||"function"!=typeof n.on)throw new l("expected Readable");n.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=n}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new I(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new s().destroy(e)}}},2545(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{Readable:s}=r(7769),{InvalidArgumentError:o,RequestAbortedError:a}=r(8065),A=r(1210);function l(){}class c extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new o("invalid opts");let{signal:r,method:i,opaque:n,body:s,onInfo:c,responseHeaders:d,highWaterMark:g}=e;try{if("function"!=typeof t)throw new o("invalid callback");if(null!=g&&(!Number.isFinite(g)||g<0))throw new o("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new o("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new o("invalid method");if(c&&"function"!=typeof c)throw new o("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(s)&&A.destroy(s.on("error",l),e),e}this.method=i,this.responseHeaders=d||null,this.opaque=n||null,this.callback=t,this.res=null,this.abort=null,this.body=s,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=g,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new a:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new a,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let{callback:n,opaque:o,context:a,responseHeaders:c,highWaterMark:d}=this,g=e?.rawHeaders,u="raw"===c?A.parseRawHeaders(g):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}let h=r?.["content-type"],m=r?.["content-length"],p=new s({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener&&(p.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=p,null!==n)try{this.runInAsyncScope(n,null,null,{statusCode:t,statusText:i,headers:u,trailers:this.trailers,opaque:o,body:p,context:a})}catch(e){this.res=null,A.destroy(p.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:i,body:n,opaque:s}=this;i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),n&&(this.body=null,A.isStream(n)&&(n.on("error",l),A.destroy(n,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{InvalidArgumentError:s,InvalidReturnValueError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends n{constructor(e,t,r){if(!e||"object"!=typeof e)throw new s("invalid opts");let{signal:i,method:n,opaque:o,body:l,onInfo:d,responseHeaders:g}=e;try{if("function"!=typeof r)throw new s("invalid callback");if("function"!=typeof t)throw new s("invalid factory");if(i&&"function"!=typeof i.on&&"function"!=typeof i.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");if("CONNECT"===n)throw new s("invalid method");if(d&&"function"!=typeof d)throw new s("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw a.isStream(l)&&a.destroy(l.on("error",c),e),e}this.responseHeaders=g||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,a.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,i)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){var n;let s,A,l,c,d,{factory:g,opaque:u,context:h,responseHeaders:m}=this,p=e?.rawHeaders,C="raw"===m?a.parseRawHeaders(p):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:C});return}if(this.factory=null,null===g)return;let f=this.runInAsyncScope(g,null,{statusCode:t,headers:C,opaque:u,context:h});if(!f||"function"!=typeof f.write||"function"!=typeof f.end||"function"!=typeof f.on)throw new o("expected Writable");n=(e,t)=>{let{callback:r,res:i,opaque:n,trailers:s,abort:o}=this;this.res=null,(e||!i?.readable)&&a.destroy(i,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:n,trailers:s}),e&&o(e)},s=!1,A=(e,t=!1)=>{s||(s=!0,f.removeListener("close",l),f.removeListener("error",c),f.removeListener("finish",d),n(e,t))},l=()=>{let e;A(f.errored??f.writableErrored??f._writableState?.errored??(f.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),f.on("close",l),f.on("error",c),f.on("finish",d),f.closed?process.nextTick(l):f.writableFinished&&process.nextTick(d),f.on("drain",()=>e.resume()),this.res=f,!0===(void 0!==f.writableNeedDrain?f.writableNeedDrain:f._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:i,opaque:n,body:s}=this;l(this),this.factory=null,r?(this.res=null,a.destroy(r,t)):i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:n})})),s&&(this.body=null,a.destroy(s,t))}}e.exports=function e(t,r,i){if(void 0===i)return new Promise((i,n)=>{e.call(this,t,r,(e,t)=>e?n(e):i(t))});try{let e=new d(t,r,i);this.dispatch(t,e)}catch(r){if("function"!=typeof i)throw r;let e=t?.opaque;queueMicrotask(()=>i(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:i,SocketError:n}=r(8065),{AsyncResource:s}=r(6698),o=r(4589),a=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new i("invalid opts");if("function"!=typeof t)throw new i("invalid callback");let{signal:r,opaque:n,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new i("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=n||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(o(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new n("bad upgrade",null)}onRequestUpgrade(e,t,r,i){if(t!==(!0===i[A]?200:101)){let t=!0===i[A]?null:a.getSocketInfo(i);e.abort(new n("bad upgrade",t));return}let{callback:s,opaque:o,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,g="raw"===this.responseHeaders?a.parseRawHeaders(d):r;this.runInAsyncScope(s,null,null,{headers:g,socket:i,opaque:o,context:l})}onResponseError(e,t){let{callback:r,opaque:i}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new d(t,r),i={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let i=r(4589),{addAbortListener:n}=r(8474),{Readable:s}=r(7075),{RequestAbortedError:o,NotSupportedError:a,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),g=Symbol("kConsume"),u=Symbol("kReading"),h=Symbol("kBody"),m=Symbol("kAbort"),p=Symbol("kContentType"),C=Symbol("kContentLength"),f=Symbol("kUsed"),I=Symbol("kBytesRead"),E=Symbol("kPreservedBuffer"),y=()=>{};function B(e,t){return i(!e[g]),new Promise((r,i)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[g]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",i).on("close",()=>{i(TypeError("unusable"))}):i(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[g]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]},e.on("error",function(e){w(this[g],e)}).on("close",function(){null!==this[g].body&&w(this[g],new o)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[E];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[E]=null}else if(t.bufferIndex){let r=t.bufferIndex,i=t.buffer.length;for(let n=r;n<i;n++)S(e,t.buffer[n])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?b(this[g],this._readableState.encoding):e.stream.on("end",function(){b(this[g],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[g])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let i=1===e.length?e[0]:Buffer.concat(e,t),n=i.length,s=3*(n>2&&239===i[0]&&187===i[1]&&191===i[2]);return r&&"utf8"!==r&&"utf-8"!==r?i.subarray(s,n).toString(r):i.utf8Slice(s,n)}function N(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),i=0;for(let t=0;t<e.length;++t){let n=e[t];r.set(n,i),i+=n.length}return r}function b(e,t){let{type:r,body:i,resolve:n,stream:s,length:o}=e;try{"text"===r?n(Q(i,o,t)):"json"===r?n(JSON.parse(Q(i,o,t))):"arrayBuffer"===r?n(N(i,o).buffer):"blob"===r?n(new Blob(i,{type:s[p]})):"bytes"===r&&n(N(i,o)),w(e)}catch(e){s.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends s{constructor({resume:e,abort:t,contentType:r="",contentLength:i,highWaterMark:n=65536}){super({autoDestroy:!0,read:e,highWaterMark:n}),this._readableState.dataEmitted=!1,this[m]=t,this[g]=null,this[I]=0,this[h]=null,this[f]=!1,this[p]=r,this[C]=Number.isFinite(i)?i:null,this[u]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new o),e&&this[m](),this[f]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[u]=!0,this[f]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[I]+=e.length,this[g])?(S(this[g],e),!this[u]||super.push(e)):super.push(e)}text(){return B(this,"text")}json(){return B(this,"json")}blob(){return B(this,"blob")}bytes(){return B(this,"bytes")}arrayBuffer(){return B(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[g]&&(this[h].getReader(),i(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,i)=>{if((this[C]&&this[C]>r||this[I]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},s=n(t,r);this.on("close",function(){s[Symbol.dispose](),t.aborted?i(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",y).on("data",()=>{this[I]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,i=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&i.push(t);i.length>0&&(this[E]=(this[E]||[]).concat(i))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:i}=r(7075),{EventEmitter:n}=r(8474),{assertCacheKey:s,assertCacheValue:o}=r(8621);class a extends n{#e=1024;#t=0x6400000;#r=5242880;#i=0;#n=0;#s=new Map;#o=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#i}isFull(){return this.#i>=this.#t||this.#n>=this.#e}get(e){s(e);let t=`${e.origin}:${e.path}`,r=Date.now(),i=this.#s.get(t),n=i?A(e,i,r):null;return null==n?void 0:{statusMessage:n.statusMessage,statusCode:n.statusCode,headers:n.headers,body:n.body,vary:n.vary?n.vary:void 0,etag:n.etag,cacheControlDirectives:n.cacheControlDirectives,cachedAt:n.cachedAt,staleAt:n.staleAt,deleteAt:n.deleteAt}}createWriteStream(e,t){s(e),o(t);let r=`${e.origin}:${e.path}`,n=this,a={...e,...t,body:[],size:0};return new i({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),a.size+=e.byteLength,a.size>n.#r?this.destroy():a.body.push(e),r(null)},final(t){let i=n.#s.get(r);i||(i=[],n.#s.set(r,i));let s=A(e,i,Date.now());if(s){let e=i.indexOf(s);i.splice(e,1,a),n.#i-=s.size}else i.push(a),n.#n+=1;if(n.#i+=a.size,n.#i>n.#t||n.#n>n.#e){for(let[e,t]of(n.#o||(n.emit("maxSizeExceeded",{size:n.#i,maxSize:n.#t,count:n.#n,maxCount:n.#e}),n.#o=!0),n.#s)){for(let e of t.splice(0,t.length/2))n.#i-=e.size,n.#n-=1;0===t.length&&n.#s.delete(e)}n.#i<n.#t&&n.#n<n.#e&&(n.#o=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#s.get(t)??[])this.#i-=e.size,this.#n-=1;this.#s.delete(t)}}function A(e,t,r){for(let i=0;i<t.length;i++){let n=t[i];if(n.deleteAt>r&&n.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,n))return n}}e.exports=a},7068(e,t,r){let i,{Writable:n}=r(7075),{assertCacheKey:s,assertCacheValue:o}=r(8621);e.exports=class{#r=2e9;#e=1/0;#a;#A;#l;#c;#d;#g;#u;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}i||(i=r(99).DatabaseSync),this.#a=new i(e?.location??":memory:"),this.#a.exec(` - PRAGMA journal_mode = WAL; - PRAGMA synchronous = NORMAL; - PRAGMA temp_store = memory; - PRAGMA optimize; - - CREATE TABLE IF NOT EXISTS cacheInterceptorV3 ( - -- Data specific to us - id INTEGER PRIMARY KEY AUTOINCREMENT, - url TEXT NOT NULL, - method TEXT NOT NULL, - - -- Data returned to the interceptor - body BUF NULL, - deleteAt INTEGER NOT NULL, - statusCode INTEGER NOT NULL, - statusMessage TEXT NOT NULL, - headers TEXT NULL, - cacheControlDirectives TEXT NULL, - etag TEXT NULL, - vary TEXT NULL, - cachedAt INTEGER NOT NULL, - staleAt INTEGER NOT NULL - ); - - CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV3_getValuesQuery ON cacheInterceptorV3(url, method, deleteAt); - CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV3_deleteByUrlQuery ON cacheInterceptorV3(deleteAt); - `),this.#A=this.#a.prepare(` - SELECT - id, - body, - deleteAt, - statusCode, - statusMessage, - headers, - etag, - cacheControlDirectives, - vary, - cachedAt, - staleAt - FROM cacheInterceptorV3 - WHERE - url = ? - AND method = ? - ORDER BY - deleteAt ASC - `),this.#l=this.#a.prepare(` - UPDATE cacheInterceptorV3 SET - body = ?, - deleteAt = ?, - statusCode = ?, - statusMessage = ?, - headers = ?, - etag = ?, - cacheControlDirectives = ?, - vary = ?, - cachedAt = ?, - staleAt = ? - WHERE - id = ? - `),this.#c=this.#a.prepare(` - INSERT INTO cacheInterceptorV3 ( - url, - method, - body, - deleteAt, - statusCode, - statusMessage, - headers, - etag, - cacheControlDirectives, - vary, - cachedAt, - staleAt - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `),this.#g=this.#a.prepare("DELETE FROM cacheInterceptorV3 WHERE url = ?"),this.#u=this.#a.prepare("SELECT COUNT(*) AS total FROM cacheInterceptorV3"),this.#d=this.#a.prepare("DELETE FROM cacheInterceptorV3 WHERE deleteAt <= ?"),this.#h=this.#e===1/0?null:this.#a.prepare(` - DELETE FROM cacheInterceptorV3 - WHERE id IN ( - SELECT - id - FROM cacheInterceptorV3 - ORDER BY cachedAt ASC - LIMIT ? - ) - `)}close(){this.#a.close()}get(e){s(e);let t=this.#m(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){s(e);let r=this.#p(e),i=Array.isArray(t.body)?Buffer.concat(t.body):t.body,n=i?.byteLength;if(n&&n>this.#r)return;let o=this.#m(e,!0);o?this.#l.run(i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,o.id):(this.#c.run(r,e.method,i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#C())}createWriteStream(e,t){s(e),o(t);let r=0,i=[],a=this;return new n({decodeStrings:!0,write(e,t,n){(r+=e.byteLength)<=a.#r?i.push(e):this.destroy(),n()},final(r){a.set(e,{...t,body:i}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#g.run(this.#p(e))}#C(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#u.get();return e}#p(e){return`${e.origin}/${e.path}`}#m(e,t=!1){let r=this.#p(e),{headers:i,method:n}=e,s=this.#A.all(r,n);if(0===s.length)return;let o=Date.now();for(let e of s){if(o>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(i[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let i,n=r(7030),s=r(4589),o=r(1210),{InvalidArgumentError:a,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:g,timeout:u,session:h,...m}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new a("maxCachedSessions must be a positive integer or zero");let p={path:g,...m},C=new l(null==d?100:d);return u=null==u?1e4:u,e=null==e||e,function({hostname:a,host:l,protocol:d,port:g,servername:m,localAddress:f,httpSocket:I},E){let y;if("https:"===d){i||(i=r(1692));let n=(m=m||p.servername||o.getServerName(l)||null)||a;s(n);let A=h||C.get(n)||null;g=g||443,(y=i.connect({highWaterMark:16384,...p,servername:m,session:A,localAddress:f,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:I,port:g,host:a})).on("session",function(e){C.set(n,e)})}else s(!I,"httpSocket can only be sent on TLS update"),g=g||80,y=n.connect({highWaterMark:65536,...p,localAddress:f,port:g,host:a}),!0===c&&(y.alpnProtocol="h2");if(null==p.keepAlive||p.keepAlive){let e=void 0===p.keepAliveInitialDelay?6e4:p.keepAliveInitialDelay;y.setKeepAlive(!0,e)}let B=o.setupConnectTimeout(new WeakRef(y),{timeout:u,hostname:a,port:g});return y.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(B),E){let e=E;E=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(B),E){let t=E;E=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let i="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?i+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:i+=` (attempted address: ${r.hostname}:${r.port},`;let n=new A(i+=` timeout: ${r.timeout}ms)`);return n.cause=e,n}return e}(e,this,{timeout:u,hostname:a,port:g}))}}),y}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let i=t[e],n=i.toLowerCase();r[i]=r[n]=n}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let i=r(3053),n=r(7975),s=n.debuglog("undici"),o=n.debuglog("fetch"),a=n.debuglog("websocket"),A={beforeConnect:i.channel("undici:client:beforeConnect"),connected:i.channel("undici:client:connected"),connectError:i.channel("undici:client:connectError"),sendHeaders:i.channel("undici:client:sendHeaders"),create:i.channel("undici:request:create"),bodySent:i.channel("undici:request:bodySent"),bodyChunkSent:i.channel("undici:request:bodyChunkSent"),bodyChunkReceived:i.channel("undici:request:bodyChunkReceived"),headers:i.channel("undici:request:headers"),trailers:i.channel("undici:request:trailers"),error:i.channel("undici:request:error"),open:i.channel("undici:websocket:open"),close:i.channel("undici:websocket:close"),socketError:i.channel("undici:websocket:socket_error"),ping:i.channel("undici:websocket:ping"),pong:i.channel("undici:websocket:pong"),proxyConnected:i.channel("undici:proxy:connected")},l=!1;function c(e=s){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,i.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s}}=t;e("connecting to %s%s using %s%s",s,n?`:${n}`:"",i,r)}),i.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s}}=t;e("connected to %s%s using %s%s",s,n?`:${n}`:"",i,r)}),i.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s},error:o}=t;e("connection to %s%s using %s%s errored - %s",s,n?`:${n}`:"",i,r,o.message)}),i.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:i,origin:n}}=t;e("sending request to %s %s%s",r,n,i)})}}let d=!1,g=!1;(s.enabled||o.enabled)&&(c(o.enabled?o:s),function(e=s){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,i.subscribe("undici:request:headers",t=>{let{request:{method:r,path:i,origin:n},response:{statusCode:s}}=t;e("received response to %s %s%s - HTTP %d",r,n,i,s)}),i.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:i,origin:n}}=t;e("trailers received from %s %s%s",r,n,i)}),i.subscribe("undici:request:error",t=>{let{request:{method:r,path:i,origin:n},error:s}=t;e("request to %s %s%s errored - %s",r,n,i,s.message)})}}(o.enabled?o:s)),a.enabled&&(c(s.enabled?s:a),function(e=a){if(!g){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){g=!0;return}g=!0,i.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:i}=t.address;e("connection opened %s%s",r,i?`:${i}`:"")}else e("connection opened")}),i.subscribe("undici:websocket:close",t=>{let{websocket:r,code:i,reason:n}=t;e("closed connection to %s - %s %s",r.url,i,n)}),i.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),i.subscribe("undici:websocket:ping",t=>{e("ping received")}),i.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(a)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let i=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class n extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}let s=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class o extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}let a=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[a]}get[a](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class g extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let u=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[u]}get[u](){return!0}}let m=Symbol.for("undici.error.UND_ERR_ABORT");class p extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[m]}get[m](){return!0}}let C=Symbol.for("undici.error.UND_ERR_ABORTED");class f extends p{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[C]}get[C](){return!0}}let I=Symbol.for("undici.error.UND_ERR_INFO");class E extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[I]}get[I](){return!0}}let y=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class B extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[y]}get[y](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class N extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let b=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[b]}get[b](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class D extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let x=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[x]}get[x](){return!0}}let M=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class k extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let v=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class U extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[v]}get[v](){return!0}}let F=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[F]}get[F](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class O extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let P=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class H extends r{constructor(e,t,{headers:r,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[P]}get[P](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let z=Symbol.for("undici.error.UND_ERR_PRX_TLS");class q extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[z]}get[z](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class _ extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let J=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[J]}get[J](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class X extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:p,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:o,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:B,ConnectTimeoutError:n,InvalidArgumentError:g,InvalidReturnValueError:h,RequestAbortedError:f,ClientDestroyedError:S,ClientClosedError:D,InformationalError:E,SocketError:R,NotSupportedError:k,ResponseContentLengthMismatchError:N,BalancedPoolMissingUpstreamError:U,ResponseExceededMaxSizeError:O,RequestRetryError:H,ResponseError:G,SecureProxyConnectionError:q,ProxyConnectionError:_,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:X}},1037(e,t,r){let{InvalidArgumentError:i,NotSupportedError:n}=r(8065),s=r(4589),{isValidHTTPToken:o,isValidHeaderValue:a,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:g,hasSafeIterator:u,isBlobLike:h,serializePathWithQuery:m,parseHeaders:p,assertRequestHandler:C,getServerName:f,normalizedMethodRecords:I,getProtocolFromUrlString:E}=r(1210),{channels:y}=r(6708),{headerNameLowerCasedRecord:B}=r(7525),Q=/[^\u0021-\u00ff]/,N=Symbol("handler"),b=Symbol("controller"),S=Symbol("resume");class w{#f=!1;#I=null;#E=!1;#y;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#y=e}pause(){this.#f=!0}resume(){this.#f&&(this.#f=!1,this[S]?.())}abort(e){this.#E||(this.#E=!0,this.#I=e,this.#y(e))}get aborted(){return this.#E}get reason(){return this.#I}get paused(){return this.#f}}function D(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new i(`invalid ${t} header`);if(void 0===r)return;let s=B[t];if(void 0===s&&void 0===B[s=t.toLowerCase()]&&!o(s))throw new i("invalid header key");if(Array.isArray(r)){let e=[];for(let n=0;n<r.length;n++)if("string"==typeof r[n]){if(!a(r[n]))throw new i(`invalid ${t} header`);e.push(r[n])}else if(null===r[n])e.push("");else if("object"==typeof r[n])throw new i(`invalid ${t} header`);else{let s=`${r[n]}`;if(!a(s))throw new i(`invalid ${t} header`);e.push(s)}r=e}else if("string"==typeof r){if(!a(r))throw new i(`invalid ${t} header`)}else if(null===r)r="";else if(!a(r=`${r}`))throw new i(`invalid ${t} header`);if("host"===s){if(null!==e.host)throw new i("duplicate host header");if("string"!=typeof r)throw new i("invalid host header");e.host=r}else if("content-length"===s){if(null!==e.contentLength)throw new i("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new i("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===s)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===s||"keep-alive"===s||"upgrade"===s)throw new i(`invalid ${s} header`);else if("connection"===s){let t="string"==typeof r?r:null;if(null===t)throw new i("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!o(t))throw new i("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===s)throw new n("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:n,headers:s,query:p,idempotent:B,blocking:b,upgrade:S,headersTimeout:w,bodyTimeout:x,reset:R,expectContinue:M,servername:k,throwOnError:v,maxRedirections:U,typeOfService:F},T){if("string"!=typeof t)throw new i("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new i("invalid request path")}else throw new i("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new i("method must be a string");if(void 0===I[r]&&!o(r))throw new i("invalid request method");if(S&&"string"!=typeof S)throw new i("upgrade must be a string");if(S&&!a(S))throw new i("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new i("invalid headersTimeout");if(null!=x&&(!Number.isFinite(x)||x<0))throw new i("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new i("invalid reset");if(null!=M&&"boolean"!=typeof M)throw new i("invalid expectContinue");if(null!=v)throw new i("invalid throwOnError");if(null!=U&&0!==U)throw new i("maxRedirections is not supported, use the redirect interceptor");if(null!=F&&(!Number.isInteger(F)||F<0||F>255))throw new i("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=x,this.method=r,this.typeOfService=F,this.abort=null,null==n)this.body=null;else if(A(n)){this.body=n;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if("string"==typeof n)this.body=n.length?Buffer.from(n):null;else if(d(n)||g(n)||h(n))this.body=n;else throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=p?m(t,p):t,this.origin=e,this.protocol=E(e),this.idempotent=null==B?"HEAD"===r||"GET"===r||"QUERY"===r:B,this.blocking=b??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=M&&M,Array.isArray(s)){if(s.length%2!=0)throw new i("headers array must be even");for(let e=0;e<s.length;e+=2)D(this,s[e],s[e+1])}else if(s&&"object"==typeof s)if(u(s))for(let e of s){if(!Array.isArray(e)||2!==e.length)throw new i("headers must be in key-value pair format");D(this,e[0],e[1])}else{let e=Object.keys(s);for(let t=0;t<e.length;++t)D(this,e[t],s[e[t]])}else if(null!=s)throw new i("headers must be an object or an array");C(T,r,S),this.servername=k||f(this.host)||null,this[N]=T,y.create.hasSubscribers&&y.create.publish({request:this})}onBodySent(e){if(y.bodyChunkSent.hasSubscribers&&y.bodyChunkSent.publish({request:this,chunk:e}),this[N].onBodySent)try{return this[N].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(y.bodySent.hasSubscribers&&y.bodySent.publish({request:this}),this[N].onRequestSent)try{return this[N].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(s(!this.aborted),s(!this.completed),this[b]=new w(e),this.error)?void this[b].abort(this.error):(this.abort=e,this[N].onRequestStart(this[b],t))}onResponseStarted(){return this[N].onResponseStarted?.()}onResponseStart(e,t,r,i){s(!this.aborted),s(!this.completed),y.headers.hasSubscribers&&y.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}});let n=this[b];n&&(n[S]=r,n.rawHeaders=t);let o=Array.isArray(t)?p(t):t;try{return this[N].onResponseStart?.(n,e,o,i),!n?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){s(!this.aborted),s(!this.completed),y.bodyChunkReceived.hasSubscribers&&y.bodyChunkReceived.publish({request:this,chunk:e});let t=this[b];try{return this[N].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){s(!this.aborted),s(!this.completed);let i=this[b];i&&(i.rawHeaders=t);let n=Array.isArray(t)?p(t):t;return this[N].onRequestUpgrade?.(i,e,n,r)}onResponseEnd(e){this.onFinally(),s(!this.aborted),s(!this.completed),this.completed=!0,y.trailers.hasSubscribers&&y.trailers.publish({request:this,trailers:e});let t=this[b];t&&(t.rawTrailers=e);let r=Array.isArray(e)?p(e):e;try{return this[N].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),y.error.hasSubscribers&&y.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[b];return this[N].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return D(this,e,t),this}}},9716(e,t,r){let{EventEmitter:i}=r(8474),{Buffer:n}=r(4573),{InvalidArgumentError:s,Socks5ProxyError:o}=r(8065),{debuglog:a}=r(7975),{parseAddress:A}=r(2598),l=a("undici:socks5"),c=n.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},g={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},u={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},m={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends i{constructor(e,t={}){if(super(),!e)throw new s("socket is required");this.socket=e,this.options=t,this.state=m.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=n.concat([this.buffer,e]);try{switch(this.state){case m.HANDSHAKING:this.handleHandshakeResponse();break;case m.AUTHENTICATING:this.handleAuthResponse();break;case m.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=m.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=m.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=m.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==m.INITIAL)throw new s("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=m.HANDSHAKING;let e=n.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new o(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new o("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=m.AUTHENTICATING,this.sendAuthRequest();else throw new o(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new s("Username and password required for authentication");l("sending username/password auth");let r=n.from(e),i=n.from(t);if(r.length>255||i.length>255)throw new s("Username or password too long");let o=n.alloc(3+r.length+i.length);o[0]=1,o[1]=r.length,r.copy(o,2),o[2+r.length]=i.length,i.copy(o,3+r.length),this.socket.write(o)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new o(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new o("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===m.CONNECTING||this.state===m.CONNECTED)throw new s("Connection already in progress");if(this.state!==m.AUTHENTICATED)throw new s("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=m.CONNECTING;let r=this.buildConnectRequest(g.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:i,buffer:s}=A(t),o=n.alloc(4+s.length+2);return o[0]=5,o[1]=e,o[2]=0,o[3]=i,s.copy(o,4),o.writeUInt16BE(r,4+s.length),o}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],i=this.buffer[3];if(5!==t)throw new o(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let n=4;if(i===u.IPV4)n+=6;else if(i===u.DOMAIN){if(this.buffer.length<5)return;n+=1+this.buffer[4]+2}else if(i===u.IPV6)n+=18;else throw new o(`Invalid address type in reply: ${i}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<n)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new o(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let s=4;if(i===u.IPV4)e=Array.from(this.buffer.subarray(s,s+4)).join("."),s+=4;else if(i===u.DOMAIN){let t=this.buffer[s];s+=1,e=this.buffer.subarray(s,s+t).toString(),s+=t}else if(i===u.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(s+2*e);t.push(r.toString(16))}e=t.join(":"),s+=16}let a=this.buffer.readUInt16BE(s);this.buffer=c,this.state=m.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",a),this.emit("connected",{address:e,port:a})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:g,ADDRESS_TYPES:u,REPLY_CODES:h,STATES:m}},2598(e,t,r){let{Buffer:i}=r(4573),n=r(7030),{InvalidArgumentError:s}=r(8065);function o(e){let t=i.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),i=e.slice(t+1);if(n.isIPv4(i)){let n=i.split(".").map(Number),s=(n[0]<<8|n[1]).toString(16),o=(n[2]<<8|n[3]).toString(16);r=`${e.slice(0,t)}:${s}:${o}`}}let s=r.indexOf("::");if(-1!==s){let e=r.slice(0,s),i=r.slice(s+2),n=""===e?[]:e.split(":"),o=""===i?[]:i.split(":"),a=0;for(let e of n)t.writeUInt16BE(parseInt(e,16),a),a+=2;for(let e of(a=16-2*o.length,o))t.writeUInt16BE(parseInt(e,16),a),a+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(n.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:i.from(t)}}if(n.isIPv6(e))return{type:4,buffer:o(e)};let t=i.from(e,"utf8");if(t.length>255)throw new s("Domain name too long (max 255 bytes)");return{type:3,buffer:i.concat([i.from([t.length]),t])}},parseIPv6:o,buildAddressBuffer:function(e,t,r){let n=i.allocUnsafe(2);return n.writeUInt16BE(r,0),i.concat([i.from([e]),t,n])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new s("Buffer too small to contain address type");let i=e[t],n=t+1;switch(i){case 1:if(e.length<n+6)throw new s("Buffer too small for IPv4 address");r=Array.from(e.subarray(n,n+4)).join("."),n+=4;break;case 3:{if(e.length<n+1)throw new s("Buffer too small for domain length");let t=e[n];if(n+=1,e.length<n+t+2)throw new s("Buffer too small for domain address");r=e.subarray(n,n+t).toString("utf8"),n+=t;break}case 4:{if(e.length<n+18)throw new s("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let i=e.readUInt16BE(n+2*r);t.push(i.toString(16))}r=t.join(":"),n+=16;break}default:throw new s(`Invalid address type: ${i}`)}if(e.length<n+2)throw new s("Buffer too small for port");return{address:r,port:e.readUInt16BE(n),bytesRead:(n+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:i,headerNameLowerCasedRecord:n}=r(7525);class s{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new s(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let i=0,n=this;for(;;){let o=e.charCodeAt(i);if(o>127)throw TypeError("key must be ascii string");if(n.code===o)if(r===++i){n.value=t;break}else if(null!==n.middle)n=n.middle;else{n.middle=new s(e,t,i);break}else if(n.code<o)if(null!==n.left)n=n.left;else{n.left=new s(e,t,i);break}else if(null!==n.right)n=n.right;else{n.right=new s(e,t,i);break}}}search(e){let t=e.length,r=0,i=this;for(;null!==i&&r<t;){let n=e[r];for(n<=90&&n>=65&&(n|=32);null!==i;){if(n===i.code){if(t===++r)return i;i=i.middle;break}i=i.code<n?i.left:i.right}}return null}}class o{node=null;insert(e,t){null===this.node?this.node=new s(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let a=new o;for(let e=0;e<i.length;++e){let t=n[i[e]];a.insert(t,t)}e.exports={TernarySearchTree:o,tree:a}},1210(e,t,r){let i=r(4589),{kDestroyed:n,kBodyUsed:s,kListeners:o,kBody:a}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:g,addAbortListener:u}=r(8474),h=r(2297),{InvalidArgumentError:m,ConnectTimeoutError:p}=r(8065),{headerNameLowerCasedRecord:C}=r(7525),{tree:f}=r(1342);class I{constructor(e){this[a]=e,this[s]=!1}async *[Symbol.asyncIterator](){i(!this[s],"disturbed"),this[s]=!0,yield*this[a]}}function E(){}function y(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function B(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function N(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function b(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!b((e=new URL(e)).origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new m("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===N(e.port))throw new m("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new m("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new m("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new m("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new m("Invalid URL origin: the origin must be a string or null/undefined.");if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,i=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),i&&"/"!==i[0]&&(i=`/${i}`),new URL(`${r}${i}`)}if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function D(e){if(null==e)return 0;if(y(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return B(e)?null!=e.size?e.size:null:v(e)?e.byteLength:null}function x(e){return e&&!!(e.destroyed||e[n]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!y(e)||x(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[n]=!0)}}let M=/timeout=(\d+)/;function k(e){return"string"==typeof e?C[e]??e.toLowerCase():f.lookup(e)??e.toString("latin1").toLowerCase()}function v(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function U(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let F=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,O=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,P="win32"===process.platform?(e,t)=>{if(!t.timeout)return E;let r=null,i=null,n=h.setFastTimeout(()=>{r=setImmediate(()=>{i=setImmediate(()=>H(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(n),clearImmediate(r),clearImmediate(i)}}:(e,t)=>{if(!t.timeout)return E;let r=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{H(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r)}};function H(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new p(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,z={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},q={...z,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(z,null),Object.setPrototypeOf(q,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[s]))},isBlobLike:B,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new m("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;i("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return i(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:y,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:x,headerNameToString:k,bufferToLowerCasedHeaderName:function(e){return f.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[o]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[o]){for(let[t,r]of e[o])e.removeListener(t,r);e[o]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),i(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(r,`${e}`);else t.push(r,`${i}`);return t}let i=e.length,n=Array(i);for(let s=0;s<i;s+=2)t=e[s],r=e[s+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),n[s]=t,n[s+1]=r;return n},toRawHeaders:function(e){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${i}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let i=k(e[r]),n=t[i];if(void 0!==n)if(Object.hasOwn(t,i))"string"==typeof n&&(n=[n],t[i]=n),n.push(e[r+1].toString("latin1"));else{let n="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===i?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n}else{let n="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[i]=n}}return t},parseKeepAliveTimeout:function(e){let t=e.match(M);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:D,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:v,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new m("handler must be an object");if("function"!=typeof e.onRequestStart)throw new m("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new m("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new m("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new m("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new m("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new m("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new m("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new m("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:U,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?u(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==F[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===F[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=O.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:z,normalizedMethodRecords:q,isValidPort:N,isHttpOrHttpsPrefixed:b,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return y(e)?(0===D(e)&&e.on("data",function(){i(!1)}),"boolean"!=typeof e.readableDidRead&&(e[s]=!1,g.prototype.on.call(e,"data",function(){this[s]=!0})),e):e&&"function"==typeof e.pipeTo?new I(e):e&&U(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new I(e):e},setupConnectTimeout:P,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:i,MaxOriginsReachedError:n}=r(8065),{kBusy:s,kClients:o,kConnected:a,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:g}=r(3025),u=r(9779),h=r(6334),m=r(5183),p=r(1210),C=Symbol("onConnect"),f=Symbol("onDisconnect"),I=Symbol("onConnectionError"),E=Symbol("onDrain"),y=Symbol("factory"),B=Symbol("options"),Q=Symbol("origins");function N(e,t){return t&&1===t.connections?new m(e,t):new h(e,t)}e.exports=class extends u{constructor({factory:e=N,maxOrigins:t=1/0,connect:r,...n}={}){if("function"!=typeof e)throw new i("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new i("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new i("maxOrigins must be a number greater than 0");super(n),r&&"function"!=typeof r&&(r={...r}),this[B]={...p.deepClone(n),maxOrigins:t,connect:r},this[y]=e,this[o]=new Map,this[Q]=new Set,this[E]=(e,t)=>{this.emit("drain",e,[this,...t])},this[C]=(e,t)=>{this.emit("connect",e,[this,...t])},this[f]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[I]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[o].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new i("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[B].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[B].maxOrigins&&!this[Q].has(r))throw new n;let c=this[o].get(l);if(!c){c=this[y](e.origin,!1===A?{...this[B],allowH2:!1}:this[B]);let t=()=>{if(this[o].get(l)!==c||c[a]>0||c[s])return;this[o].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[o].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[E]).on("connect",this[C]).on("disconnect",(e,r,i)=>{t(),this[f](e,r,i)}).on("connectionError",(e,r,i)=>{t(),this[I](e,r,i)}),this[o].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[o].values())e.push(t.close());return this[o].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[o].values())t.push(r.destroy(e));return this[o].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[o].values())t.stats&&(e[t[g].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:n}=r(8065),{PoolBase:s,kClients:o,kNeedDrain:a,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:g}=r(3025),u=r(1210),h=Symbol("factory"),m=Symbol("options"),p=Symbol("kGreatestCommonDivisor"),C=Symbol("kCurrentWeight"),f=Symbol("kIndex"),I=Symbol("kWeight"),E=Symbol("kMaxWeightPerServer"),y=Symbol("kErrorPenalty");function B(e,t){return new d(e,t)}e.exports=class extends s{constructor(e=[],{factory:t=B,...r}={}){if("function"!=typeof t)throw new n("factory must be a function.");for(let i of(super(),this[m]={...u.deepClone(r)},this[f]=-1,this[C]=0,this[E]=this[m].maxWeightPerServer||100,this[y]=this[m].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let t=u.parseOrigin(e).origin;if(this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[m]);for(let e of(this[A](r),r.on("connect",()=>{r[I]=Math.min(this[E],r[I]+this[y])}),r.on("connectionError",()=>{r[I]=Math.max(1,r[I]-this[y]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[I]=Math.max(1,r[I]-this[y]),this._updateBalancedPoolStats())}),this[o]))e[I]=this[E];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[o][t][I],e);this[p]=e}removeUpstream(e){let t=u.parseOrigin(e).origin,r=this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=u.parseOrigin(e).origin;return this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[o].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[g].origin)}[c](){if(0===this[o].length)throw new i;let e=0,t=-1;for(;e++<this[o].length;){this[f]=(this[f]+1)%this[o].length;let e=this[o][this[f]];if((0===this[f]&&(this[C]=this[C]-this[p],this[C]<=0&&(this[C]=this[E])),!e[a]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[I]>this[o][t][I])&&(t=this[f]),e[I]>=this[C]))return e}if(-1!==t)return this[C]=this[o][t][I],this[f]=t,this[o][t]}}},8043(e,t,r){let i,n=r(4589),s=r(1210),{channels:o}=r(6708),a=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:g,HeadersOverflowError:u,SocketError:h,InformationalError:m,BodyTimeoutError:p,HTTPParserError:C,ResponseExceededMaxSizeError:f}=r(8065),{kUrl:I,kReset:E,kClient:y,kParser:B,kBlocking:Q,kRunning:N,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:x,kKeepAliveDefaultTimeout:R,kHostHeader:M,kPendingIdx:k,kRunningIdx:v,kError:U,kPipelining:F,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:O,kKeepAliveMaxTimeout:P,kKeepAliveTimeoutThreshold:H,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:z,kMaxRequests:q,kCounter:V,kMaxResponseSize:_,kOnError:J,kResume:W,kHTTPContext:j,kClosed:X}=r(3025),K=r(8994),Z=Buffer.alloc(0),$=Buffer[Symbol.species],ee=s.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),ei=Symbol("kSocketUsed"),en=Symbol("kTypeOfService"),es=null,eo=null,ea=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(K.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[O],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[_]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(a.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=a.setFastTimeout(eg,e,this.timeoutWeakRef):(this.timeout=setTimeout(eg,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(n(null!=this.ptr),n(null===eo),this.llhttp.llhttp_resume(this.ptr),n(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Z),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){n(null===eo),n(null!=this.ptr),n(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let i;try{ea=e,eo=this,i=r.llhttp_execute(this.ptr,el,e.length)}finally{eo=null,ea=null}if(i!==K.ERROR.OK){let n=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(i===K.ERROR.PAUSED_UPGRADE)this.onUpgrade(n);else if(i===K.ERROR.PAUSED)this.paused=!0,t.unshift(n);else throw this.createError(i,n)}}catch(e){s.destroy(t,e)}}finish(){let e;n(null===eo),n(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||Z,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{eo=this,e=t.llhttp_finish(this.ptr)}finally{eo=null}return e===K.ERROR.OK?null:e===K.ERROR.PAUSED||e===K.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,Z)}createError(e,t){let{llhttp:r,contentLength:i,bytesRead:n}=this;if(-1!==i&&n!==i)return new l;let s=r.llhttp_get_error_reason(this.ptr),o="";if(s){let e=new Uint8Array(r.memory.buffer,s).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,s,e).toString()+")"}return new C(o,K.ERROR[e],t)}destroy(){n(null===eo),n(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[N])return s.destroy(e,new h("bad response",s.getSocketInfo(e))),-1;let r=t[D][t[v]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let i=s.bufferToLowerCasedHeaderName(r);"keep-alive"===i?this.keepAlive+=e.toString():"connection"===i&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===s.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===s.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&s.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:r,socket:i,headers:o,statusCode:a}=this;n(t),n(r[T]===i),n(!i.destroyed),n(!this.paused),n((1&o.length)==0);let A=r[D][r[v]];n(A),n(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(e),i[B].destroy(),i[B]=null,i[y]=null,i[U]=null,ee(i),r[T]=null,r[j]=null,r[D][r[v]++]=null,r.emit("disconnect",r[I],[r],new m("upgrade"));try{A.onRequestUpgrade(a,o,i)}catch(e){s.destroy(i,e)}r[W]()}onHeadersComplete(e,t,r){let{client:i,socket:o,headers:a,statusText:A}=this;if(o.destroyed)return -1;if(0===i[N])return s.destroy(o,new h("bad response",s.getSocketInfo(o))),-1;let l=i[D][i[v]];if(!l)return -1;if(n(!this.upgrade),n(this.statusCode<200),100===e)return s.destroy(o,new h("bad response",s.getSocketInfo(o))),-1;if(t&&!l.upgrade)return s.destroy(o,new h("bad upgrade",s.getSocketInfo(o))),-1;if(n(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!o[E]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:i[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return n(1===i[N]),this.upgrade=!0,2;if(n((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[F]){let e=this.keepAlive?s.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-i[H],i[P]);t<=0?o[E]=!0:i[L]=t}else i[L]=i[R]}else o[E]=!0;let c=!1===l.onResponseStart(e,a,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(o[Q]&&(o[Q]=!1,i[W]()),c?K.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:i,maxResponseSize:o}=this;if(r.destroyed)return -1;let a=t[D][t[v]];return(n(a),n(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),n(i>=200),o>-1&&this.bytesRead+e.length>o)?(s.destroy(r,new f),-1):(this.bytesRead+=e.length,!1===a.onResponseData(e))?K.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:i,headers:o,contentLength:a,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(i)return 0;n(r>=100),n((1&this.headers.length)==0);let d=e[D][e[v]];return(n(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==a&&A!==a?(s.destroy(t,new l),-1):(d.onResponseEnd(o),e[D][e[v]++]=null,t[ei]=0===e[b],t[w])?(n(0===e[N]),s.destroy(t,new m("reset")),K.ERROR.PAUSED):c?t[E]&&0===e[N]?(s.destroy(t,new m("reset")),K.ERROR.PAUSED):(null==e[F]||1===e[F]?setImmediate(e[W]):e[W](),0):(s.destroy(t,new m("reset")),K.ERROR.PAUSED)}}function eg(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:i,client:o,paused:a}=t;3===i?(!r[w]||r.writableNeedDrain||o[N]>1)&&(n(!a,"cannot be paused while waiting for headers"),s.destroy(r,new g)):5===i?a||s.destroy(r,new p):8===i&&(n(0===o[N]&&o[L]),s.destroy(r,new m("socket idle timeout")))}function eu(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[B];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[U]=e,this[y][J](e));return}this[U]=e,this[y][J](e)}function eh(){this[B]?.readMore()}function em(){let e=this[B];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&s.destroy(this,t);return}s.destroy(this,new h("other side closed",s.getSocketInfo(this)))}function ep(){let e=this[B];ef(this),e&&(this[U]||!e.statusCode||e.shouldKeepAlive||(this[U]=e.finish()||this[U]),this[B].destroy(),this[B]=null);let t=this[U]||new h("closed",s.getSocketInfo(this)),r=this[y];if(r[T]=null,r[j]=null,r.destroyed){n(0===r[b]);let e=r[D].splice(r[v]);for(let i=0;i<e.length;i++){let n=e[i];s.errorRequest(r,n,t)}}else if(r[N]>0&&"UND_ERR_INFO"!==t.code){let e=r[D][r[v]];r[D][r[v]++]=null,s.errorRequest(r,e,t)}r[k]=r[v],n(0===r[N]),r.emit("disconnect",r[I],[r],t),r[W]()}function eC(){this[X]=!0}function ef(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function eI(e,t,r,i,o,a,A,l){try{t?s.isBuffer(t)&&(n(a===t.byteLength,"buffer body must have content length"),o.cork(),o.write(`${A}content-length: ${a}\r -\r -`,"latin1"),o.write(t),o.uncork(),i.onBodySent(t),l||!1===i.reset||(o[E]=!0)):0===a?o.write(`${A}content-length: 0\r -\r -`,"latin1"):(n(null===a,"no body must not have content length"),o.write(`${A}\r -`,"latin1")),i.onRequestSent(),r[W]()}catch(t){e(t)}}async function eE(e,t,r,i,n,s,o,a){try{if(null!=s&&s!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());n.cork(),n.write(`${o}content-length: ${s}\r -\r -`,"latin1"),n.write(e),n.uncork(),i.onBodySent(e),i.onRequestSent(),a||!1===i.reset||(n[E]=!0),r[W]()}catch(t){e(t)}}async function ey(e,t,r,i,s,o,a,A){n(0!==o||0===r[N],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(null===l),s[U]?t(s[U]):l=e});s.on("close",c).on("drain",c);let g=new eB({abort:e,socket:s,request:i,contentLength:o,client:r,expectsPayload:A,header:a});try{for await(let e of t){if(s[U])throw s[U];g.write(e)||await d()}g.end()}catch(e){g.destroy(e)}finally{s.off("close",c).off("drain",c)}}class eB{constructor({abort:e,socket:t,request:r,contentLength:i,client:n,expectsPayload:s,header:o}){this.socket=t,this.request=r,this.contentLength=i,this.client=n,this.bytesWritten=0,this.expectsPayload=s,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:i,client:n,bytesWritten:s,expectsPayload:o,header:a}=this;if(t[U])throw t[U];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==i&&s+l>i){if(n[z])throw new A;process.emitWarning(new A)}t.cork(),0===s&&(o||!1===r.reset||(t[E]=!0),null===i?t.write(`${a}transfer-encoding: chunked\r -`,"latin1"):t.write(`${a}content-length: ${i}\r -\r -`,"latin1")),null===i&&t.write(`\r -${l.toString(16)}\r -`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[B].timeout&&3===t[B].timeoutType&&t[B].timeout.refresh&&t[B].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:n,header:s,request:o}=this;if(o.onRequestSent(),e[w]=!1,e[U])throw e[U];if(!e.destroyed){if(0===i?n?e.write(`${s}content-length: 0\r -\r -`,"latin1"):e.write(`${s}\r -`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&i!==t)if(r[z])throw new A;else process.emitWarning(new A);e[B].timeout&&3===e[B].timeoutType&&e[B].timeout.refresh&&e[B].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(n(r[N]<=1,"pipeline should only contain this request"),i(e))}}e.exports=function(e,t){if(e[T]=t,es||(es=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,i="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?i=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(i=!0),i)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{n(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onStatus(new $(ea.buffer,i,r))},wasm_on_message_begin:e=>(n(eo.ptr===e),eo.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{n(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderField(new $(ea.buffer,i,r))},wasm_on_header_value:(e,t,r)=>{n(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderValue(new $(ea.buffer,i,r))},wasm_on_headers_complete:(e,t,r,i)=>(n(eo.ptr===e),eo.onHeadersComplete(t,1===r,1===i)),wasm_on_body:(e,t,r)=>{n(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onBody(new $(ea.buffer,i,r))},wasm_on_message_complete:e=>(n(eo.ptr===e),eo.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[x]=!1,t[w]=!1,t[E]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[ei]=!1,t[B]=new ed(e,t,es),s.addListener(t,"error",eu),s.addListener(t,"readable",eh),s.addListener(t,"end",em),s.addListener(t,"close",ep),t[X]=!1,t.on("close",eC),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var a,l,g,u,h,p,C,f;let I,y,B,b,S,D,{method:x,path:R,host:k,upgrade:v,blocking:U,reset:L}=t,{body:O,headers:P,contentLength:H}=t,Y="PUT"===x||"POST"===x||"PATCH"===x||"QUERY"===x||"PROPFIND"===x||"PROPPATCH"===x;if(s.isFormDataLike(O)){i||(i=r(4626).extractBody);let[e,n]=i(O);null==t.contentType&&P.push("content-type",n),O=e.stream,H=e.length}else if(s.isBlobLike(O)&&null==t.contentType){let r=O.type;if(r){let i=`${r}`;if(!s.isValidHeaderValue(i))return s.errorRequest(e,t,new d("invalid content-type header")),!1;P.push("content-type",i)}}O&&"function"==typeof O.read&&O.read(0);let G=s.bodyLength(O);if(null===(H=G??H)&&(H=t.contentLength),0!==H||Y||(H=null),"GET"!==x&&"HEAD"!==x&&"OPTIONS"!==x&&"TRACE"!==x&&"CONNECT"!==x&&H>0&&null!==t.contentLength&&t.contentLength!==H){if(e[z])return s.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let _=e[T];ef(_);let J=r=>{t.aborted||t.completed||(s.errorRequest(e,t,r||new c),s.destroy(O),s.destroy(_,new m("aborted")))};try{t.onRequestStart(J,null)}catch(r){s.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===x&&(_[E]=!0),(v||"CONNECT"===x)&&(_[E]=!0),null!=L&&(_[E]=L),e[q]&&++_[V]>=e[q]&&(_[E]=!0),U&&(_[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[en]!==r)try{e.setTypeOfService(r),e[en]=r}catch{}}(_,t);let W=`${x} ${R} HTTP/1.1\r -`;if("string"==typeof k?W+=`host: ${k}\r -`:W+=e[M],v?W+=`connection: upgrade\r -upgrade: ${v}\r -`:e[F]&&!_[E]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(P))for(let e=0;e<P.length;e+=2){let t=P[e+0],r=P[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r -`;else W+=`${t}: ${r}\r -`}return o.sendHeaders.hasSubscribers&&o.sendHeaders.publish({request:t,headers:W,socket:_}),O&&0!==G?s.isBuffer(O)?eI(J,O,e,t,_,H,W,Y):s.isBlobLike(O)?"function"==typeof O.stream?ey(J,O.stream(),e,t,_,H,W,Y):eE(J,O,e,t,_,H,W,Y):s.isStream(O)?(a=J,l=O,g=e,u=t,h=_,p=H,C=W,f=Y,n(0!==p||0===g[N],"stream body cannot be pipelined"),I=!1,y=new eB({abort:a,socket:h,request:u,contentLength:p,client:g,expectsPayload:f,header:C}),B=function(e){if(!I)try{!y.write(e)&&this.pause&&this.pause()}catch(e){s.destroy(this,e)}},b=function(){!I&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",D)}),!I){let e=new c;queueMicrotask(()=>D(e))}},D=function(e){if(!I){if(I=!0,n(h.destroyed||h[w]&&g[N]<=1),h.off("drain",b).off("error",D),l.removeListener("data",B).removeListener("end",D).removeListener("close",S),!e)try{y.end()}catch(t){e=t}y.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?s.destroy(l,e):s.destroy(l)}},l.on("data",B).on("end",D).on("error",D).on("close",S),l.resume&&l.resume(),h.on("drain",b).on("error",D),l.errorEmitted??l.errored?setImmediate(D,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(D,null),(l.closeEmitted??l.closed)&&setImmediate(S)):s.isIterable(O)?ey(J,O,e,t,_,H,W,Y):n(!1):eI(J,null,e,t,_,H,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[x]&&t.unref&&(t.unref(),t[x]=!0):t[x]&&t.ref&&(t.ref(),t[x]=!1),0===e[N]&&e[b]>0&&t[ei]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[B].readMore(),t.destroyed;return}if(1===t[et]){t[B].readMore(),t.destroyed;return}}if(0===e[N]&&(t[B].readMore(),t.destroyed))return;if(0===e[S])8!==t[B].timeoutType&&t[B].setTimeout(e[L],8);else if(e[N]>0&&t[B].statusCode<200&&3!==t[B].timeoutType){let r=e[D][e[v]],i=null!=r.headersTimeout?r.headersTimeout:e[Y];t[B].setTimeout(i,3)}}}(e)},destroy(e,r){t[X]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[E]||t[Q]||1===t[et]||r&&(e[N]>0&&!r.idempotent||e[N]>0&&(r.upgrade||"CONNECT"===r.method)||e[N]>0&&0!==s.bodyLength(r.body)&&(s.isStream(r.body)||s.isAsyncIterable(r.body)||s.isFormDataLike(r.body))))||!1}}},942(e,t,r){let i,n,s=r(4589),{pipeline:o}=r(7075),a=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:g,HeadersTimeoutError:u,BodyTimeoutError:h}=r(8065),{kUrl:m,kReset:p,kClient:C,kRunning:f,kPending:I,kQueue:E,kPendingIdx:y,kRunningIdx:B,kError:Q,kSocket:N,kStrictContentLength:b,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:D,kHTTP2Session:x,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:M,kHostAuthority:k,kResume:v,kSize:U,kHTTPContext:F,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:O,kBodyTimeout:P,kEnableConnectProtocol:H,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:z}=r(3025),{channels:q}=r(6708),V=Symbol("open streams"),_=Symbol("request stream id"),J=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),X=Symbol("received goaway");try{n=r(2467)}catch{n={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:K,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:$,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:ei,HTTP2_HEADER_PROTOCOL:en,NGHTTP2_NO_ERROR:es,NGHTTP2_REFUSED_STREAM:eo}}=n;function ea(e){e[_]=null,e[J]=null,e[W]=null}function eA(e,t,r){let i=e[W],n=e[J];ea(e),i?.(n),e[_]=t.id,e[J]=t,e[W]=r}function el(e){let t=e[W],r=e[J];ea(e),t?.(r)}function ec(e){let t=e[z];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[z];!0===t.refed&&(t.refed=!1,e.unref())}function eg(e){let t=e[z];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eu(e){let t=e[C];if(t[x]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[U])return void eg(e);let r=e[z];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[C],r=e[N];if(e[z].idleTimeout=null,t[x]!==e||0!==e[V]||0!==t[U]||e.closed||e.destroyed)return;let i=new d("socket idle timeout");r[Q]=i,a.destroy(r,i)}function em(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function ep(e){if(this[C][w]=e.maxConcurrentStreams??this[C][w],!0===this[Y]&&!0===this[H]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[N][Q]=e,this[C][S](e);return}this[H]=e.enableConnectProtocol??this[H],this[Y]=!0,this[C][v]()}function eC(e){let t=e[z];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[C],i=this[N];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);i[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function ef(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[N][Q]=e,this[X]||this[C][S](e)}function eI(e,t,r){if(0===r){if(this[X])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[N][Q]=r,this[C][S](r)}}function eE(e,t){if(this[X])return;this[X]=!0;let r=this[Q]||(e===es?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this[N]))),i=this[C],n=i[y],s=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[B];t<e[y];t++){let i=e[E][t];if(null!=i&&("number"!=typeof i[_]||i[_]>r))return t}return e[y]}(i,t),o=[],A=[];for(let e=s;e<n;e++){let t=i[E][e];null!=t&&(A.push(function(e){let t=e[J];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||a.isBuffer(t)||a.isBlobLike(t)}(t)?o.push(t):a.errorRequest(i,t,r))}for(let e=0;e<A.length;e++)!function(e,t=eo){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(s!==n){let e=i[E].slice(n);i[E].length=s,i[E].push(...o,...e)}i[x]===this&&(i[N]=null,i[F]=null,i[x]=null),eg(this),this.closed||this.destroyed||this.close(),i[y]=s,i.emit("disconnect",i[m],[i],r),i[v]()}function ey(){let{[C]:e,[z]:t,[N]:r}=this,i=r[Q]||this[Q]||new c("closed",a.getSocketInfo(r));if(e[x]===this&&(e[N]=null,e[F]=null,e[x]=null),eg(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){s(0===e[I]);let t=e[E].splice(e[B]);for(let r=0;r<t.length;r++){let n=t[r];null!=n&&a.errorRequest(e,n,i)}}}function eB(){let e=this[Q]||new c("closed",a.getSocketInfo(this)),t=this[x],r=t[C];r[N]!==this&&(t[X]||null!=r[x]&&r[x]!==t)||(r[N]=null,r[F]=null,r[x]===t&&(r[x]=null),t.destroy(e),r[y]=r[B],s(0===r[f]),r.emit("disconnect",r[m],[r],e),r[v]())}function eQ(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[x]?.[X]||this[x]?.[C]?.[S](e)}function eN(){a.destroy(this,new c("other side closed",a.getSocketInfo(this)))}function eb(){this[T]=!0}function eS(){}function ew(e){let t=e[x];e[x]=null,t[V]-=1,0===t[V]&&(ed(t),eu(t))}function eD(){this.off("error",eS);let e=this[j];this[j]=null,ek(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function ex(){let e=this[j];null!=e&&(eH(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eO(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",ev),e.off("end",eU),e.off("timeout",eF),e.off("error",eS)}function eM(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[J]===e&&ea(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ek(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(eM(e.stream),e.abort(t,!0))}function ev(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ek(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ek(e,new d("HTTP/2: stream errored before response headers"))}function eU(){ek(this[j],new d("HTTP/2: stream half-closed (remote)"))}function eF(){let e=this[j];ek(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:i}=r;r.responseReceived=!0;let n=e[ei];delete e[ei],i.onRequestUpgrade(n,e,this),i.aborted||i.completed||(eR(this),ea(i),eO(r))}function eL(e,t){let{request:r,headersTimeout:i,session:n}=t;e[G]=!0,e[x]=n,e[j]=t,t.stream=e,eA(r,e,eM),e.once("response",eT),e.on("error",ev),e.once("end",eU),e.on("timeout",eF),e.once("close",eD),eg(n),++n[V],e.setTimeout(i)}function eO(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let i=e[E],n=e[B];if(n<e[y]&&i[n]===t){i[n]=null,e[B]=n+1;return}let s=i.indexOf(t,n);-1!==s&&!(s>=e[y])&&(i.splice(s,1),e[y]--,r&&e[y]<e[B]&&(e[y]=e[B]))}(e.client,e.request,t),e.client[v]())}function eP(e,t,r,i,n,s){try{return r.request(n,s)}catch(s){if(s?.code==="ERR_HTTP2_INVALID_SESSION"||s?.code==="ERR_HTTP2_GOAWAY_SESSION"){let i=new c(s.message,a.getSocketInfo(r[N]));i.cause=s,r[Q]=i;let n=r[C],o=r[N];if(n[x]===r&&(n[N]=null,n[F]=null,n[x]=null),null!=o&&null==o[Q]&&(o[Q]=i),!r.closed&&!r.destroyed)try{r.destroy(i)}catch{}return a.destroy(o,i),e[E].splice(e[y]+1,0,t),null}let n=new d(s.message,{cause:s});return r[Q]=n,r[N][Q]=n,r.destroy(n),a.destroy(r[N],n),i(n),null}}function eH(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[J]===e&&ea(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",ez),e.off("error",eq),e.off("frameError",eV),e.off("aborted",e_),e.off("timeout",eJ),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let i=e[ei];(delete e[ei],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eH(this):(!1===r.onResponseStart(Number(i),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function ez(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",ez),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,ex.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function eq(e){let t=this[j];null!=t&&(this.off("error",eq),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function e_(){this.off("data",eY)}function eJ(){let e=this[j];if(null==e)return;this.off("timeout",eJ);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new u(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,i,n,A,l;let c,d=this[j];d.bodySent=!0;let{abort:g,body:u,client:h,contentLength:m,expectsPayload:C,request:I}=d;u&&0!==m?a.isBuffer(u)?eX(g,this,u,h,I,h[N],m,C):a.isBlobLike(u)?"function"==typeof u.stream?eZ(g,this,u.stream(),h,I,h[N],m,C):eK(g,this,u,h,I,h[N],m,C):a.isStream(u)?(e=g,t=h[N],r=C,i=this,n=u,A=h,l=I,s(0!==m||0===A[f],"stream body cannot be pipelined"),c=o(n,i,i=>{i?(a.destroy(c,i),e(i)):(a.removeAllListeners(c),l.onRequestSent(),r||(t[p]=!0),A[v]())}),a.addListener(c,"data",function(e){l.onBodySent(e)})):a.isIterable(u)?eZ(g,this,u,h,I,h[N],m,C):s(!1):eX(g,this,null,h,I,h[N],m,C)}function eX(e,t,r,i,n,o,A,l){try{null!=r&&a.isBuffer(r)&&(s(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),n.onBodySent(r)),l||(o[p]=!0),n.onRequestSent(),i[v]()}catch(t){e(t)}}async function eK(e,t,r,i,n,s,o,a){try{if(null!=o&&o!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),n.onBodySent(e),n.onRequestSent(),a||(s[p]=!0),i[v]()}catch(t){e(t)}}async function eZ(e,t,r,i,n,o,a,A){s(0!==a||0===i[f],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),o[Q]?t(o[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(o[Q])throw o[Q];let r=t.write(e);n.onBodySent(e),r||await d()}t.end(),n.onRequestSent(),A||(o[p]=!0),i[v]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[N]=t;let o=e[R],c=e[M],u=n.connect(e[m],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=o?{initialWindowSize:o}:null}});return e[N]=t,u[V]=0,u[C]=e,u[N]=t,u[z]={idleTimeout:null,refed:!0,ping:{interval:0===e[D]?null:setInterval(eC,e[D],u).unref()}},u[X]=!1,u[H]=!1,u[Y]=!1,c&&a.addListener(u,"connect",em.bind(u,c)),a.addListener(u,"error",ef),a.addListener(u,"frameError",eI),a.addListener(u,"goaway",eE),a.addListener(u,"close",ey),a.addListener(u,"remoteSettings",ep),ed(u),e[x]=u,t[x]=u,a.addListener(t,"error",eQ),a.addListener(t,"end",eN),a.addListener(t,"close",eB),t[T]=!1,t.on("close",eb),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let n=t.headersTimeout??e[O],o=t.bodyTimeout??e[P],c=e[x],{method:u,path:h,host:m,upgrade:p,expectContinue:C,signal:f,protocol:I,headers:E}=t;if(null!=p&&"websocket"!==p)return a.errorRequest(e,t,new g(`Custom upgrade "${p}" not supported over HTTP/2`)),!1;let y=function(e){let t={};for(let r=0;r<e.length;r+=2){let i=e[r+0],n=e[r+1],s=t[i];if("cookie"===i){null!=s?t[i]=Array.isArray(s)?(s.push(n),s):[s,n]:t[i]=n;continue}if("string"==typeof n){t[i]=s?`${s}, ${n}`:n;continue}for(let e=0;e<n.length;e++)t[i]=t[i]?`${t[i]}, ${n[e]}`:n[e]}return t}(E);y[K]=m||e[k],y[Z]=u;let B={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:n,bodyTimeout:o,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,i=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,a.errorRequest(e,t,r),null!=B.stream){el(t);let n=B.stream;n.close(),n.destroyed||a.destroy(n),e[S](r),eO(B,i)}a.destroy(B.body,r)}};B.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){a.errorRequest(e,t,r)}if(t.aborted)return!1;if(p||"CONNECT"===u)return(ec(c),"websocket"===p)?!1===c[H]?(a.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(y[Z]="CONNECT",y[en]="websocket",y[$]=h,"ws:"===I||"wss:"===I?y[ee]="ws:"===I?"http":"https":y[ee]="http:"===I?"http":"https",null==(w=eP(e,t,c,Q,y,{endStream:!1,signal:f})))?(ed(c),!1):(eL(w,B),!0):null==(w=eP(e,t,c,Q,y,{endStream:!1,signal:f}))?(ed(c),!1):(eL(w,B),!0);y[$]=h,y[ee]="http:"===I?"http":"https";let D="PUT"===u||"POST"===u||"PATCH"===u||"QUERY"===u||"PROPFIND"===u||"PROPPATCH"===u,R=B.body;R&&"function"==typeof R.read&&R.read(0);let M=a.bodyLength(R);if(a.isFormDataLike(R)){let[e,t]=(i??=r(4626).extractBody)(R);y["content-type"]=t,R=e.stream,M=e.length}if(null==M&&(M=t.contentLength),0!==M||D||(M=null),"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"TRACE"!==u&&"CONNECT"!==u&&M>0&&null!=t.contentLength&&t.contentLength!==M){if(e[b])return a.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=M&&(s(R||0===M,"no body must not have content length"),y[et]=`${M}`),ec(c),q.sendHeaders.hasSubscribers){let e="";for(let t in y)e+=`${t}: ${y[t]}\r -`;q.sendHeaders.publish({request:t,headers:e,socket:c[N]})}let v=null===R||0===M;return B.body=R,B.contentLength=M,B.expectsPayload=D,C&&(y[er]="100-continue"),null!=(w=eP(e,t,c,Q,y,{endStream:v,signal:f}))&&(w[G]=!0,w[j]=B,B.stream=w,eg(c),++c[V],n&&w.setTimeout(n),w[x]=c,w.on("close",ex),eA(t,w,eH),C&&w.once("continue",ej),w.on("response",eG),w.on("end",ez),w.on("error",eq),w.on("frameError",eV),w.on("aborted",e_),(n||o)&&w.on("timeout",eJ),w.on("trailers",eW),C||ej.call(w),!0)})(e,t),resume(){var t;let r,i;r=(t=e)[N],i=t[x],r?.destroyed===!1&&(0===t[U]||0===t[w]?ed(i):ec(i),0===t[U]&&0===i[V]?eu(i):eg(i))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===u[Y]&&e[f]>0||e[f]>=e[w])return!0;if(null!=t){if(!(e[f]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y])return!0}return!1}}}},5183(e,t,r){let i=r(4589),n=r(7030),s=r(7067),o=r(1210),{ClientStats:a}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:g,ClientDestroyedError:u}=r(8065),h=r(5010),{kUrl:m,kServerName:p,kClient:C,kBusy:f,kConnect:I,kResuming:E,kRunning:y,kPending:B,kSize:Q,kQueue:N,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:x,kPendingIdx:R,kRunningIdx:M,kError:k,kPipelining:v,kKeepAliveTimeoutValue:U,kMaxHeadersSize:F,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:O,kBodyTimeout:P,kStrictContentLength:H,kConnector:Y,kMaxRequests:G,kCounter:z,kClose:q,kDestroy:V,kDispatch:_,kLocalAddress:J,kMaxResponseSize:W,kOnError:j,kHTTPContext:X,kMaxConcurrentStreams:K,kHostAuthority:Z,kHTTP2InitialWindowSize:$,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),ei=r(8043),en=r(942),es=Symbol("kClosedResolve"),eo=s&&s.maxHeaderSize&&Number.isInteger(s.maxHeaderSize)&&s.maxHeaderSize>0?()=>s.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},ea=()=>{};function eA(e){return e[X]?.version==="h2"?e[K]:e[v]??e[X]?.defaultPipelining??1}function el(e,t){if(0===e[y]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){i(e[R]===e[M]);let r=e[N].splice(e[M]);for(let i=0;i<r.length;i++){let n=r[i];null!=n&&o.errorRequest(e,n,t)}i(0===e[Q])}}function ec(e){i(!e[S]),i(!e[X]);let{host:t,hostname:r,protocol:s,port:a}=e[m];if("["===r[0]){let e=r.indexOf("]");i(-1!==e);let t=r.substring(1,e);i(n.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[X]?.version,servername:e[p],localAddress:e[J]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:s,port:a,servername:e[p],localAddress:e[J]},(n,l)=>{if(n){ed(e,n,{host:t,hostname:r,protocol:s,port:a}),e[et]();return}if(e.destroyed){o.destroy(l.on("error",ea),new u),e[et]();return}i(l);try{e[X]="h2"===l.alpnProtocol?en(e,l):ei(e,l)}catch(i){l.destroy().on("error",ea),ed(e,i,{host:t,hostname:r,protocol:s,port:a}),e[et]();return}e[S]=!1,l[z]=0,l[G]=e[G],l[C]=e,l[k]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[X]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],socket:l}),e.emit("connect",e[m],[e]),e[et]()})}catch(i){ed(e,i,{host:t,hostname:r,protocol:s,port:a}),e[et]()}}function ed(e,t,{host:r,hostname:i,protocol:n,port:s}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:i,protocol:n,port:s,version:e[X]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[N].splice(e[M],e[y]);e[R]=e[M];for(let i=0;i<r.length;i++)o.errorRequest(e,r[i],t);for(;e[B]>0&&e[N][e[R]].servername===e[p];){let r=e[N].splice(e[R],1)[0];o.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[m],[e],t)}}function eg(e){e[w]=0,e.emit("drain",e[m],[e])}function eu(e,t){2!==e[E]&&(e[E]=2,function(e,t){for(;;){if(e.destroyed)return void i(0===e[B]);if(e[es]&&!e[Q]){e[es](),e[es]=null;return}if(e[X]&&e[X].resume(),e[f])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eg(e))):eg(e);continue}if(0===e[B]||e[y]>=(eA(e)||1))return;let r=e[N][e[R]];if(null===r)return;if("https:"===e[m].protocol&&e[p]!==r.servername){if(e[y]>0)return;e[p]=r.servername,e[X]?.destroy(new g("servername changed"),()=>{e[X]=null,eu(e)})}if(e[S])return;if(!e[X])return void ec(e);if(e[X].destroyed||e[X].busy(r))return;!r.aborted&&e[X].write(r)?e[R]++:e[N].splice(e[R],1)}}(e,t),e[E]=0,e[M]>256&&(e[N].splice(0,e[M]),e[R]-=e[M],e[M]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:i,requestTimeout:s,connectTimeout:a,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:u,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:f,socketPath:I,pipelining:y,tls:B,strictContentLength:Q,maxCachedSessions:b,connect:S,maxRequestsPerClient:k,localAddress:z,maxResponseSize:q,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_,maxConcurrentStreams:ei,allowH2:en,useH2c:ea,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eg}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==s)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==u)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=eo();if(null!=I&&"string"!=typeof I)throw new d("invalid socketPath");if(null!=a&&(!Number.isFinite(a)||a<0))throw new d("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new d("invalid keepAliveTimeout");if(null!=C&&(!Number.isFinite(C)||C<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=f&&!Number.isFinite(f))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=k&&(!Number.isInteger(k)||k<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=z&&("string"!=typeof z||0===n.isIP(z)))throw new d("localAddress must be valid string IP address");if(null!=q&&(!Number.isInteger(q)||q<-1))throw new d("maxResponseSize must be a positive number");if(null!=_&&(!Number.isInteger(_)||_<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=en&&"boolean"!=typeof en)throw new d("allowH2 must be a valid boolean value");if(null!=ei&&("number"!=typeof ei||ei<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=ea&&"boolean"!=typeof ea)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eg}),"function"!=typeof S)S=h({...B,maxCachedSessions:b,allowH2:en,useH2c:ea,socketPath:I,timeout:a,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=I?{socketPath:I}:null,...null!=en?{allowH2:en}:null},r)}this[m]=o.parseOrigin(e),this[Z]=`${this[m].hostname}${this[m].port?`:${this[m].port}`:""}`,this[Y]=S,this[v]=null!=y?y:1,this[F]=t,this[D]=null==g?4e3:g,this[T]=null==C?6e5:C,this[L]=null==f?2e3:f,this[U]=this[D],this[p]=null,this[J]=null!=z?z:null,this[E]=0,this[w]=0,this[x]=`host: ${this[Z]}\r -`,this[P]=null!=A?A:3e5,this[O]=null!=r?r:3e5,this[H]=null==Q||Q,this[G]=k,this[es]=null,this[W]=q>-1?q:-1,this[X]=null,this[K]=null!=ei?ei:100,this[$]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[N]=[],this[M]=0,this[R]=0,this[et]=e=>eu(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[v]}set pipelining(e){this[v]=e,this[et](!0)}get stats(){return new a(this)}get[B](){return this[N].length-this[R]}get[y](){return this[R]-this[M]}get[Q](){return this[N].length-this[M]}get[b](){return!!this[X]&&!this[S]&&!this[X].destroyed}get[f](){let e=this[X]?.version==="h2";return!!(this[X]?.busy(null)||this[Q]>=(eA(this)||1)||this[B]>0&&!e)}[I](e){ec(this),this.once("connect",e)}[_](e,t){let r=new l(this[m].origin,e,t);return this[N].push(r),this[E]||(null==o.bodyLength(r.body)&&o.isIterable(r.body)?(this[E]=1,queueMicrotask(()=>eu(this))):this[et](!0)),this[E]&&2!==this[w]&&this[f]&&(this[w]=2),this[w]<2}[q](){return new Promise(e=>{this[Q]?this[es]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[N].splice(this[R]);for(let t=0;t<r.length;t++){let i=r[t];null!=i&&o.errorRequest(this,i,e)}let i=()=>{this[es]&&(this[es](),this[es]=null),t(null)};this[X]?(this[X].destroy(e,i),this[X]=null):queueMicrotask(i),this[et]()})}}},9779(e,t,r){let i=r(6873),{ClientDestroyedError:n,ClientClosedError:s,InvalidArgumentError:o}=r(8065),{kDestroy:a,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),g=Symbol("onDestroyed"),u=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends i{[c]=!1;[g]=null;[l]=!1;[u]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,i)=>r?t(r):e(i))});if("function"!=typeof e)throw new o("invalid callback");if(this[c]){let t=new n;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[u]?this[u].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[u]??=[],this[u].push(e);let t=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,i)=>e?r(e):t(i))});if("function"!=typeof t)throw new o("invalid callback");if(this[c])return void(this[g]?this[g].push(t):queueMicrotask(()=>t(null,null)));e||(e=new n),this[c]=!0,this[g]??=[],this[g].push(t);let r=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[a](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new o("handler must be an object");try{if(!e||"object"!=typeof e)throw new o("opts must be an object.");if(e.dispatcher)throw new o("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[g])throw new n;if(this[l])throw new s;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let i=r(8474);e.exports=class extends i{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let i=r(6873),{InvalidArgumentError:n}=r(8065),{toRawHeaders:s}=r(1210);class o{#B;constructor(e){this.#B=e}onRequestStart(e,t){this.#B.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,i){let n=e?.rawHeaders??s(r??{});this.#B.onUpgrade?.(t,n,i)}onResponseStart(e,t,r,i){let n=e?.rawHeaders??s(r??{});this.#B.onHeaders?.(t,n,()=>e.resume(),i)===!1&&e.pause()}onResponseData(e,t){this.#B.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??s(t??{});this.#B.onComplete?.(r)}onResponseError(e,t){if(!this.#B.onError)throw t;this.#B.onError(t)}onBodySent(e){this.#B.onBodySent?.(e)}onRequestSent(){this.#B.onRequestSent?.()}onResponseStarted(){this.#B.onResponseStarted?.()}}e.exports=class e extends i{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new n("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new n("handler must be an object");return"function"==typeof e.onRequestStart?e:new o(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let i=r(9779),{kClose:n,kDestroy:s,kClosed:o,kDestroyed:a,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),g=r(3614),u=r(5891),h={"http:":80,"https:":443};e.exports=class extends i{#N=null;#b=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:i,...n}=e;this[l]=new u(n);let s=t??process.env.http_proxy??process.env.HTTP_PROXY;s?this[c]=new g({...n,uri:s}):this[c]=this[l];let o=r??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[d]=new g({...n,uri:o}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#D(r).dispatch(e,t)}[n](){return Promise.all([this[l].close(),!this[c][o]&&this[c].close(),!this[d][o]&&this[d].close()])}[s](e){return Promise.all([this[l].destroy(e),!this[c][a]&&this[c].destroy(e),!this[d][a]&&this[d].destroy(e)])}#D(e){let{protocol:t,host:r,port:i}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||h[t]||0,this.#x(r,i))?"https:"===t?this[d]:this[c]:this[l]}#x(e,t){if(this.#R&&this.#w(),0===this.#b.length)return!0;if("*"===this.#N)return!1;for(let r=0;r<this.#b.length;r++){let i=this.#b[r];if((!i.port||i.port===t)&&(e===i.hostname||e.slice(-(i.hostname.length+1))===`.${i.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#M,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let n=i.match(/^(.+):(\d+)$/);r.push({hostname:(n?n[1]:i).replace(/^\*?\./,"").toLowerCase(),port:n?Number.parseInt(n[2],10):0})}this.#N=e,this.#b=r}get #R(){return void 0===this.#S.noProxy&&this.#N!==this.#M}get #M(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:i}=r(8065),n=r(5183);e.exports=class extends n{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new i("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:n,...s}=t??{},o=r??100,a=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new i("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=n&&Number.isInteger(n)&&n>0&&(a=n),a>o)throw new i("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...s,maxConcurrentStreams:o,pipelining:a,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:i}=r(256),n=r(9779),s=r(9006),{kConnected:o,kSize:a,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:g,kUrl:u,kClose:h,kDestroy:m,kDispatch:p}=r(3025),C=Symbol("clients"),f=Symbol("needDrain"),I=Symbol("queue"),E=Symbol("closed resolve"),y=Symbol("onDrain"),B=Symbol("onConnect"),Q=Symbol("onDisconnect"),N=Symbol("onConnectionError"),b=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),D=Symbol("remove client");class x extends n{[I]=new s;[c]=0;[C]=[];[f]=!1;[y](e,t,r){let i=this[I],n=!1;for(;!n;){let t=i.shift();if(!t)break;this[c]--,n=!e.dispatch(t.opts,t.handler)}if(e[f]=n,!n&&this[f]&&(this[f]=!1,this.emit("drain",t,[this,...r])),this[E]&&i.isEmpty()){let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[E])}}[B]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[N]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[f]}get[o](){let e=0;for(let{[o]:t}of this[C])e+=t;return e}get[g](){let e=0;for(let{[o]:t,[f]:r}of this[C])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[C])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[C])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[C])e+=t;return e}get stats(){return new i(this)}[h](){if(!this[I].isEmpty())return new Promise(e=>{this[E]=e});{let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[m](e){for(;;){let t=this[I].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[C].length);for(let r=0;r<this[C].length;r++)t[r]=this[C][r].destroy(e);return Promise.all(t)}[p](e,t){let r=this[b]();return r?r.dispatch(e,t)||(r[f]=!0,this[f]=!this[S]()):(this[f]=!0,this[I].push({opts:e,handler:t}),this[c]++),!this[f]}[S](){for(let e=0;e<this[C].length;e++){let t=this[C][e];if(!t[f]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[y].bind(this,e)).on("connect",this[B]).on("disconnect",this[Q]).on("connectionError",this[N]),this[C].push(e),this[f]&&queueMicrotask(()=>{this[f]&&this[y](e,e[u],[e,this])}),this}[D](e){let t=this[C].indexOf(e);-1!==t&&this[C].splice(t,1),e.close(()=>{}),this[f]=!this[C].some(e=>!e[f]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:x,kClients:C,kNeedDrain:f,kAddClient:w,kRemoveClient:D,kGetDispatcher:b,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:i,kClients:n,kNeedDrain:s,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory");function f(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=f,connect:i,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:I,useH2c:E,clientTtl:y,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:I,useH2c:E,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(B),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(B),connect:i,allowH2:I,useH2c:E,clientTtl:y,socketPath:A},this[C]=r,this.on("connect",(e,t)=>{if(null!=y&&y>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[n].indexOf(e);-1!==t&&this[n].splice(t,1)}})}[a](){let e=this[m].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return r}if(!this[p]||this[n].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return!0}if(!this[p]||this[n].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},3614(e,t,r){let{kProxy:i,kClose:n,kDestroy:s,kDispatch:o}=r(3025),a=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:g,ProxyConnectionError:u}=r(8065),h=r(5010),m=r(5183),{channels:p}=r(6708),C=r(9741),f=Symbol("proxy agent"),I=Symbol("proxy client"),E=Symbol("proxy headers"),y=Symbol("request tls settings"),B=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),N=Symbol("connect endpoint function (http/1.1 only)"),b=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let D=()=>{};function x(e,t){return 1===t.connections?new m(e,t):new A(e,t)}class R extends l{#k;#v;constructor(e,{headers:t={},connect:r,factory:i,proxyServername:n}){if(!e)throw new c("Proxy URL is mandatory");super(),this[E]=t,this.#v=n,i?this.#k=i(e,{connect:r}):this.#k=new m(e,{connect:r})}[o](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,i,n,s){if(407===i){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,i,n,s)};let{origin:i,path:n="/",headers:s={}}=e;if(e.path=i+n,!("host"in s)&&!("Host"in s)){let{host:e}=new URL(i);s.host=e}return e.headers={...this[E],...s},null!=this.#v&&(e.servername=this.#v),this.#k[o](e,t)}[n](){return this.#k.close()}[s](e){return this.#k.destroy(e)}}function M(e){return e.length===S.length&&e.toLowerCase()===S}function k(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:n}=e;super();let s=this.#U(e),{href:o,origin:A,port:l,protocol:m,username:S,password:M,hostname:k}=s;if(this[i]={uri:o,protocol:m},this[y]=e.requestTls,this[B]=e.proxyTls,this[E]=e.headers||{},this[b]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[E]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[E]["proxy-authorization"]=e.token:S&&M?this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(M)}`).toString("base64")}`:S&&(this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let v=h({timeout:n,...e.proxyTls}),U=h({timeout:n,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:n,...e.requestTls}),this[N]=h({timeout:n,...e.requestTls,allowH2:!1});let F=e.factory||x,T=(t,r)=>{let{protocol:n}=new URL(t);if("socks5:"===this[i].protocol||"socks:"===this[i].protocol)return new C(this[i].uri,{headers:this[E],connect:v,factory:F,username:e.username||S,password:e.password||M,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[b]&&"http:"===n){let e="https:"===this[i].protocol?(e,t)=>U(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new g(e)):t(e,r)}):U;return new R(this[i].uri,{headers:this[E],connect:e,factory:F,proxyServername:"https:"===this[i].protocol?this[B]?.servername||k:void 0})}return F(t,r)};"socks5:"===m||"socks:"===m?this[I]=null:this[I]=t(s,{connect:v}),this[f]=new a({...e,factory:T,connect:async(e,t)=>{if(!this[I])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let i,n={origin:A,port:l,path:r,signal:e.signal,headers:{...this[E],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[B]?.servername||k},{socket:s,statusCode:o}=await this[I].connect(n);if(200!==o){s.on("error",D).destroy(),t(new d(`Proxy response (${o}) !== 200 when HTTP Tunneling`));return}if(p.proxyConnected.hasSubscribers&&p.proxyConnected.publish({socket:s,connectParams:n}),"https:"!==e.protocol)return void t(null,s);i=this[y]?this[y].servername:e.servername,(!1===e.allowH2?this[N]:this[Q])({...e,servername:i,httpSocket:s},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new g(e):"UND_ERR_SOCKET"===e.code?new u(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)M(e[r])&&k(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)M(t)&&k()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[f].dispatch({...e,headers:r},t)}#U(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[n](){let e=[this[f].close()];return this[I]&&e.push(this[I].close()),Promise.all(e)}[s](){let e=[this[f].destroy()];return this[I]&&e.push(this[I].destroy()),Promise.all(e)}}},8392(e,t,r){let i=r(6873),n=r(4166);e.exports=class extends i{#F=null;#T=null;constructor(e,t={}){super(t),this.#F=e,this.#T=t}dispatch(e,t){let r=new n({...e,retryOptions:this.#T},{dispatch:this.#F.dispatch.bind(this.#F),handler:t});return this.#F.dispatch(e,r)}close(){return this.#F.close()}destroy(){return this.#F.destroy()}}},1326(e,t,r){let{PoolBase:i,kClients:n,kNeedDrain:s,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory"),f=Symbol("index");function I(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=I,connect:i,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:E,clientTtl:y,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:E,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(B),connect:i,allowH2:E,clientTtl:y,socketPath:A},this[C]=r,this[f]=-1,this.on("connect",(e,t)=>{if(null!=y&&y>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[n].indexOf(e);-1!==t&&this[n].splice(t,1)}})}[a](){let e=this[m].clientTtl;if(0===this[n].length){let e=this[C](this[u],this[m]);return this[o](e),e}let t=0;for(;t<this[n].length;){this[f]=(this[f]+1)%this[n].length;let r=this[n][this[f]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[f]--;continue}if(!r[s])return r;t++}if(!this[p]||this[n].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[f]&&this[f]--,t--;else if(!r[s])return!0}if(!this[p]||this[n].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},9741(e,t,r){let i,{URL:n}=r(3136),s=r(9779),{InvalidArgumentError:o}=r(8065),{Socks5Client:a,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),g=r(6334),u=r(5010),{debuglog:h}=r(7975),m=h("undici:socks5-proxy"),p=Symbol("proxy url"),C=Symbol("proxy headers"),f=Symbol("proxy auth"),I=Symbol("proxy protocol"),E=Symbol("pools"),y=Symbol("connector"),B=Symbol("request tls settings"),Q=!1;e.exports=class extends s{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new o("Proxy URL is mandatory");let r="string"==typeof e?new n(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new o("Proxy URL must use socks5:// or socks:// protocol");this[p]=r,this[C]=t.headers||{},this[I]=t.proxyTls?"https:":"http:",this[B]=t.requestTls,this[f]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[y]=t.connect||u({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[E]=new Map}async createSocks5Connection(e,t){let r=this[p].hostname,i=parseInt(this[p].port)||1080;m("creating SOCKS5 connection to",r,i);let n=Promise.withResolvers();this[y]({hostname:r,host:r,port:i,protocol:this[I]},(e,t)=>{e?n.reject(e):n.resolve(t)});let s=await n.promise,o=new a(s,this[f]);o.on("error",e=>{m("SOCKS5 error:",e),s.destroy()}),await o.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),o.removeListener("error",g),l.resolve()},g=e=>{clearTimeout(c),o.removeListener("authenticated",d),l.reject(e)};o.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(o.once("authenticated",d),o.once("error",g)),await l.promise,await o.connect(e,t);let u=Promise.withResolvers(),h=setTimeout(()=>{u.reject(Error("SOCKS5 connection timeout"))},5e3),C=r=>{m("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),o.removeListener("error",E),u.resolve()},E=e=>{clearTimeout(h),o.removeListener("connected",C),u.reject(e)};return o.once("connected",C),o.once("error",E),await u.promise,s}[l](e,t){let{origin:s}=e;m("dispatching request to",s,"via SOCKS5");try{let o=String(s),a=this[E].get(o);return(!a||a.destroyed||a.closed)&&(a=new g(s,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new n(s),o=e.hostname,a=parseInt(e.port)||("https:"===e.protocol?443:80);m("establishing SOCKS5 connection to",o,a);let A=await this.createSocks5Connection(o,a),l=A;if("https:"===e.protocol){i||(i=r(1692)),m("upgrading to TLS"),l=i.connect({...this[B],socket:A,servername:this[B]?.servername||o});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){m("SOCKS5 connection error:",e),t(e)}}}),this[E].set(o,a)),a[l](e,t)}catch(e){if(m("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[E].values())e.push(t.close());this[E].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[E].values())t.push(r.destroy(e));this[E].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let i,n=Symbol.for("undici.globalDispatcher.2"),s=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:o}=r(8065),a=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new o("Argument agent must implement Agent");try{Object.defineProperty(globalThis,n,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){i=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,s,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[n]??i}void 0===c()&&l(new a),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let i=r(1210),{parseCacheControlHeader:n,hasInvalidCacheControlDirective:s,parseVaryHeader:o,hasVaryStar:a,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let g=[200,203,204,206,300,301,308,404,405,410,414,501],u=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function m(e,t,r){C(e,{...t,path:r});for(let n=0;n<i.safeHTTPMethods.length;n++){let s=i.safeHTTPMethods[n];s!==t.method&&C(e,{...t,method:s,path:r})}}function p(e,t,r){if(void 0===r)return;let i=Array.isArray(r)?r:[r];for(let r=0;r<i.length;r++){let n=function(e,t){let r,i,n;if("string"==typeof t){try{r=new URL(e.origin),i=new URL(e.path,r),n=new URL(t,i)}catch{return}if(n.origin===r.origin)return n.pathname+n.search}}(t,i[r]);void 0!==n&&m(e,t,n)}}function C(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function f(e,t,r){304===e&&C(t,r)}e.exports=class{#L;#O;#P;#H;#B;#Y;constructor({store:e,type:t,cacheByDefault:r},i,n){this.#H=e,this.#O=t,this.#P=r,this.#L=i,this.#B=n}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#B.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#B.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,d){var I,E,y,B,Q,N,b,S,w,D;let x,R=()=>this.#B.onResponseStart?.(e,t,r,d),M=this;if(!h(i.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return I=this.#H,E=this.#L,m(I,E,E.path),p(I,E,r.location),p(I,E,r["content-location"]),R()}let k=r["cache-control"],v=r["last-modified"]&&h(g,t);if(!k&&!r.expires&&!v&&!this.#P)return 304===t&&r.vary&&A(r.vary)&&C(this.#H,this.#L),R();let U=k?n(k):{};if(y=this.#O,B=t,Q=r,N=U,b=this.#L.headers,B<200||h(u,B)||!h(g,B)&&!Q.expires&&!N.public&&void 0===N["max-age"]&&!(N.private&&"private"===y)&&(void 0===N["s-maxage"]||"shared"!==y)||N["no-store"]||"shared"===y&&!0===N.private||Q.vary&&a(Q.vary)||null!=b&&Object.hasOwn(b,"authorization")&&(!N.public&&!N["s-maxage"]&&!N["must-revalidate"]||"string"!=typeof b.authorization||Array.isArray(N["no-cache"])&&h(N["no-cache"],"authorization")||Array.isArray(N.private)&&h(N.private,"authorization"))||0){return 304===t&&(k||(S=this.#O,w=r,!0===(D=U)["no-store"]||"shared"===S&&!0===D.private||w.vary&&A(w.vary)))&&C(this.#H,this.#L),R()}let F=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return f(t,this.#H,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return f(t,this.#H,this.#L),R();let O=Math.max(L?Math.max(0,F-L.getTime()):0,T??0),P="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],H=function(e,t,r,i,n,o,a){if("shared"===e){if(s(o,"s-maxage"))return 0;let e=o["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(s(o,"max-age"))return 0;let A=o["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(i,"expires")){if("string"!=typeof i.expires)return 0;let e=c(i.expires);if(!e||t>=e.getTime())return 0;if(n){if(n>=e)return 0;let t=e.getTime()-n.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof i["last-modified"]){let e=c(i["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return o.immutable?31536e6:!0===o["no-cache"]&&a?0:void 0}(this.#O,F,T,r,L,U,P)??this.#P,Y=0===H&&P;if(void 0===H||O>=H&&!Y)return(k||void 0!==H)&&f(t,this.#H,this.#L),R();let G=F-O,z=H+G;if(F>=z&&!Y)return f(t,this.#H,this.#L),R();if(this.#L.headers&&r.vary&&!(x=o(r.vary,this.#L.headers)))return R();let q=function(e,t,r,i){let n=-1/0,s=-1/0,o=-1/0;if(r["stale-while-revalidate"]&&(n=i+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(s=i+1e3*r["stale-if-error"]),r.immutable&&n===-1/0&&s===-1/0&&(o=t+31536e6),n===-1/0&&s===-1/0&&o===-1/0){let r=i-e;return r<=0?t+864e5:i+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(i,n,s,o)}(G,F,U,z),V=function(e,t){let r,i=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let n of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t].split(",");for(let t=0;t<i.length;t++)e.push(i[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(i,e.connection),Array.isArray(t["no-cache"])&&i.push(...t["no-cache"]),Array.isArray(t.private)&&i.push(...t.private),i))Object.hasOwn(e,n)&&(r??={...e},delete r[n]);return r??e}(r,U),_={statusCode:t,statusMessage:d,headers:V,vary:x,cacheControlDirectives:U,cachedAt:G,staleAt:z,deleteAt:q};if(304===t){let t=t=>{if(!t)return R();if(_.statusCode=t.statusCode,_.statusMessage=t.statusMessage,_.etag=t.etag,_.vary=x??t.vary,_.headers={...t.headers,...V},R(),this.#Y=this.#H.createWriteStream(this.#L,_),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),i=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#B.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){M.#Y=void 0,M.#H.delete(M.#L)}).on("drain",()=>{i()}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}),i()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#B.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#H.delete(this.#L)}),this.#Y.on("error",function(){M.#Y=void 0,M.#H.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}))},r=this.#H.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(_.etag=r.etag),this.#Y=this.#H.createWriteStream(this.#L,_),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){M.#Y=void 0,M.#H.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#B.onResponseError?.(e,t)}}},7871(e,t,r){let i=r(4589);e.exports=class{#G=!1;#z;#B;#q;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#z=e,this.#B=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#q=t}onRequestUpgrade(e,t,r,i){this.#B.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,n){if(i(null!=this.#z),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#z(this.#G,this.#q,t,r),this.#z=null,this.#G)return!0;this.#B.onRequestStart?.(e,this.#q),this.#B.onResponseStart?.(e,t,r,n)}onResponseData(e,t){if(!this.#G)return this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#z){if(this.#V){this.#G=!0,this.#z(!0,this.#q),this.#z=null;return}this.#z(!1),this.#z=null}if("function"==typeof this.#B.onResponseError)this.#B.onResponseError(e,t);else throw t}}}},2645(e,t,r){let i=r(4589);e.exports=class{#B;#_=!1;#J=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#B=e}onRequestStart(...e){this.#B.onRequestStart?.(...e)}onRequestUpgrade(...e){return i(!this.#_),i(!this.#J),this.#B.onRequestUpgrade?.(...e)}onResponseStart(...e){return i(!this.#_),i(!this.#J),i(!this.#W),this.#W=!0,this.#B.onResponseStart?.(...e)}onResponseData(...e){return i(!this.#_),i(!this.#J),this.#B.onResponseData?.(...e)}onResponseEnd(...e){return i(!this.#_),i(!this.#J),this.#_=!0,this.#B.onResponseEnd?.(...e)}onResponseError(...e){return this.#J=!0,this.#B.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:i}=r(8065);e.exports=class{#j;#X=[];#K=5242880;#Z=0;#$={};#ee="";#E=!1;#et=!1;#er=!1;#ei=!1;#en=null;#es=null;constructor(e,t,r=5242880){this.#j=e,this.#es=t,this.#K=r}addWaitingHandler(e){if(this.#ei||this.#er)return!1;let t=this.#eo(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#Z,this.#$,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#X.push(t),!0}onRequestStart(e,t){this.#en=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#j.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,i){for(let n of(this.#et=!0,this.#Z=t,this.#$=r,this.#ee=i,this.#j.onResponseStart?.(e,t,r,i),this.#X)){let{handler:e,controller:s}=n;if(n.done||s.aborted){n.done=!0;continue}try{e.onResponseStart?.(s,t,r,i)}catch{}s.aborted&&(n.done=!0)}this.#ea()}onResponseData(e,t){if(!this.#E&&!this.#ei){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#X)){let{handler:e,controller:i}=r;if(r.done||i.aborted){r.done=!0;continue}if(i.paused){this.#eA(r,t);continue}try{e.onResponseData?.(i,t)}catch{}i.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#ea()}}onResponseEnd(e,t){if(!this.#E&&!this.#ei){for(let r of(this.#ei=!0,this.#j.onResponseEnd?.(e,t),this.#X)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#ea(),this.#es?.()}}onResponseError(e,t){if(!this.#ei){for(let r of(this.#E=!0,this.#ei=!0,this.#j.onResponseError?.(e,t),this.#X))this.#ec(r,t);this.#X=[],this.#es?.()}}#eo(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#ei&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#ea()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#K){let t=new i(`Deduplicated waiting handler exceeded maxBufferSize (${this.#K} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let i=e.bufferedChunks.shift();e.bufferedBytes-=i.length;try{t.onResponseData?.(r,i)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#ea(){this.#X=this.#X.filter(e=>!1===e.done)}}},7424(e,t,r){let i=r(1210),n=r(4589),{InvalidArgumentError:s}=r(8065),o=[300,301,302,303,307,308],a=()=>{};function A(e,t,r,n,s){let o=i.headerNameToString(e);return!!("host"===o||n?.has(o)||r&&s?.has(o)||t&&o.startsWith("content-"))||!!r&&("authorization"===o||"cookie"===o||"proxy-authorization"===o)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new s(`${t} must be an array`);let r=new Set;for(let n of e){if("string"!=typeof n)throw new s(`${t} must contain header names`);r.add(i.headerNameToString(n))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new s("maxRedirections must be a positive number");let i=t.dispatch.bind(t);return(t,n)=>i(t,new e(i,r,t,n))}constructor(e,t,r,n){if(null!=t&&(!Number.isInteger(t)||t<0))throw new s("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new s("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:o,stripHeadersOnRedirect:a,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=i.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(a,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=n,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)||-1===o.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:g,search:u}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=u?`${g}${u}`:g,m=`${d}${h}`;for(let e of this.history)if(e.toString()===m)throw new s(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,s,o){let a=[];if(Array.isArray(e))for(let i=0;i<e.length;i+=2)A(e[i],t,r,s,o)||a.push(e[i],e[i+1]);else if(e&&"object"==typeof e)for(let[n,l]of i.hasSafeIterator(e)?e:Object.entries(e))A(n,t,r,s,o)||a.push(n,l);else n(null==e,"headers must be an object or an array");return a}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let i=r(4589),{kRetryHandlerDefaultRetry:n}=r(3025),{RequestRetryError:s}=r(8065),{isDisturbed:o,parseRangeHeader:a,wrapRequestBody:A}=r(1210);function l(e,t,r,i){let n=e["content-length"];if(null==n||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let o=Number(n),a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a)throw new s("Content-Length mismatch",r,{headers:e,data:{count:i}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:i}){let{retryOptions:s,...o}=t,{retry:a,maxRetries:l,maxTimeout:d,minTimeout:g,timeoutFactor:u,methods:h,errorCodes:m,retryAfter:p,statusCodes:C,throwOnError:f}=s??{};this.error=null,this.dispatch=r,this.handler=i,this.opts={...o,body:A(t.body)},this.retryOpts={throwOnError:f??!0,retry:a??e[n],retryAfter:p??!0,maxTimeout:d??3e4,minTimeout:g??500,timeoutFactor:u??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:C??[500,502,503,504,429],errorCodes:m??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,i,n){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)):this.error=n);if(o(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}e.pause(),this.retryOpts.retry(n,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(s){if(s){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i),e.resume();return}this.error=n,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,i)}static[n](e,{state:t,opts:r},i){let{statusCode:n,code:s,headers:o}=e,{method:a,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:g,statusCodes:u,errorCodes:h,methods:m}=A,{counter:p}=t;if(s&&"UND_ERR_REQ_RETRY"!==s&&!h.includes(s)||Array.isArray(m)&&!m.includes(a)||null!=n&&Array.isArray(u)&&!u.includes(n)||p>l)return void i(e);let C=o?.["retry-after"];if(C){let e;C=Number.isNaN(C=Number(C))?isNaN(e=new Date(o["retry-after"]).getTime())?null:e-Date.now():1e3*C}setTimeout(()=>i(null),0===C?0:C>0?Math.min(C,d):Math.min(c*g**(p-1),d))}onResponseStart(e,t,r,n){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let i=new s("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,n,i);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new s("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=a(r["content-range"]);if(!e)throw new s("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new s("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:n,size:o,end:A=o?o-1:null}=e;i(this.start===n,"content-range mismatch"),i(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=a(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n);return}l(r,e,t,this.retryCount);let{start:s,size:o,end:A=o?o-1:null}=e;i(null!=s&&Number.isFinite(s),"content-range mismatch"),i(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=s,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}i(Number.isFinite(this.start)),i(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n)}else throw new s("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new s("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||o(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let i=r(4589),{Readable:n}=r(7075),s=r(1210),o=r(4502),a=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:g,parseCacheControlHeader:u,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:m}=r(8065),{parseHttpDate:p}=r(5859),C=()=>{};function f(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function I(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function E(e,t){try{e.delete(t)?.catch?.(C)}catch{}}function y(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&p(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function B(e,t,r,o,a,A){let l=s.isStream(r.body)?r.body:n.from(r.body??[]);i(!l.destroyed,"stream should not be destroyed"),i(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new m)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,a),l.destroyed)return;let d={...r.headers,age:String(o)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=s.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,i,n,a,l){var c,d,g,p,f;let Q;if(!l){if(a?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,i.onResponseError?.(t,r??new m)}};try{if(i.onRequestStart?.(t,null),e||(i.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;i.onResponseEnd?.(t,{})}catch(e){"function"==typeof i.onResponseError&&i.onResponseError(t,e)}return!0}return e(n,new o(t,r,i))}let N=Date.now();if(N>l.deleteAt)return e(n,new o(t,r,i));let b=Math.round((N-l.cachedAt)/1e3),S=a?.["max-age"]!==void 0&&b>=a["max-age"],w=S||(c=l,d=a,g=t.type,(Q=Date.now())>c.staleAt?!(!I(c,g)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),D=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,a,n);if(w||D){let c;if(s.isStream(n.body)&&0!==s.bodyLength(n.body))return e(n,new o(t,r,i));if(!D&&(p=l,f=t.type,!(!(c=p.cacheControlDirectives?.["stale-while-revalidate"])||I(p,f))&&Date.now()<=p.staleAt+1e3*c))return B(i,n,l,b,null,!0),queueMicrotask(()=>{let i=y(n,l);e({...n,headers:i},new o(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!I(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??a?.["stale-if-error"];e&&(d=N<l.staleAt+1e3*e)}let g=y(n,l);return e({...n,headers:g},new A((a,A,c,d)=>{if(a){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let i=u(r);return!0===i["no-store"]||"shared"===e&&!0===i.private}(t.type,d))return s.isStream(l.body)&&l.body.on("error",C).destroy(),E(t.store,r),e(n,new o(t,r,i));void 0!==d["cache-control"]&&E(t.store,r)}B(i,n,l,b,A,w)}else s.isStream(l.body)&&l.body.on("error",C).destroy()},new o(t,r,i),d))}s.isStream(n.body)&&n.body.on("error",C).destroy(),B(i,n,l,b,null,!1)}e.exports=(e={})=>{let{store:t=new a,methods:r=["GET"],cacheByDefault:i,type:n="shared",origins:o}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==o){if(!Array.isArray(o))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof o}`);for(let e=0;e<o.length;e++){let t=o[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==i&&"number"!=typeof i)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof i}`);if(void 0!==n&&"shared"!==n&&"private"!==n)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof n}`);let h={store:t,methods:r,cacheByDefault:i,type:n},m=[];for(let e=0;e<s.safeHTTPMethods.length;e++){let t=s.safeHTTPMethods[e];f(r,t)||m.push(t)}return e=>(r,i)=>{if(!r.origin||f(m,r.method))return e(r,i);if(void 0!==o){let t=r.origin.toString().toLowerCase(),n=!1;for(let e=0;e<o.length;e++){let r=o[e];if("string"==typeof r){if(r.toLowerCase()===t){n=!0;break}}else if(r.test(t)){n=!0;break}}if(!n)return e(r,i)}r={...r,headers:g(r)};let n=r.headers?.["cache-control"]?u(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let i=t.split(",");for(let e=0;e<i.length;e++)if("no-cache"===i[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(n?.["no-store"])return e(r,i);let s=d(r),a=t.get(s);return a&&"function"==typeof a.then?a.then(t=>Q(e,h,s,i,r,n,t)):Q(e,h,s,i,r,n,a)}}},9287(e,t,r){let{createInflate:i,createGunzip:n,createBrotliDecompress:s,createZstdDecompress:o}=r(8522),{pipeline:a}=r(7075),A=r(2645),l={gzip:n,"x-gzip":n,br:s,deflate:i,compress:i,"x-compress":i,zstd:o},c=[204,304],d=!1;class g extends A{#ed=[];#eg;#eu;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eu=t,this.#eh=r}#em(e,t){return!!(!e||t<200||this.#eu.includes(t))||!!this.#eh&&!!(t>=400)}#ep(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let i=t[e].trim();if(i){if(!l[i])return r.length=0,r;r.push(l[i]())}}return r}#eC(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#ef(e){let t=this.#ed[0];this.#eC(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eg)})}#eI(e){let t=this.#ed[this.#ed.length-1];this.#eC(t,e),a(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eg)})}#eE(){this.#ed.length=0}onResponseStart(e,t,r,i){let n=r["content-encoding"];if(this.#em(n,t))return super.onResponseStart(e,t,r,i);let s=this.#ep(n.toLowerCase());if(0===s.length)return this.#eE(),super.onResponseStart(e,t,r,i);this.#ed=s;let{"content-encoding":o,"content-length":a,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let i=t[e],n=(Buffer.isBuffer(i)?i.toString("latin1"):`${i}`).toLowerCase();"content-encoding"!==n&&"content-length"!==n&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#ef(e):this.#eI(e),super.onResponseStart(e,t,A,i)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eg=t,this.#ed[0].end(),this.#eE();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#eE()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,i)=>"HEAD"===r.method?t(r,i):t(r,new g(i,e))}},7870(e,t,r){let i=r(3053),n=r(1210),s=r(8241),{normalizeHeaders:o,makeCacheKey:a,makeDeduplicationKey:A}=r(8621),l=i.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:i=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!n.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(i))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof i}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),g=new Set(i.map(e=>e.toLowerCase())),u=new Map;return e=>(r,i)=>{if(!r.origin||!1===t.includes(r.method))return e(r,i);if(r={...r,headers:o(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,i)}let n=A(a(r),g),h=u.get(n);if(h)return!!h.addWaitingHandler(i)||e(r,i);let m=new s(i,()=>{u.delete(n),l.hasSubscribers&&l.publish({size:u.size,key:n,type:"removed"})},c);return u.set(n,m),l.hasSubscribers&&l.publish({size:u.size,key:n,type:"added"}),e(r,m)}}},4053(e,t,r){let{isIP:i}=r(7030),{lookup:n}=r(610),s=r(2645),{InvalidArgumentError:o,InformationalError:a}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#ey=0;#eB=new Map;constructor(e){this.#ey=e.maxItems}get size(){return this.#eB.size}get(e){return this.#eB.get(e)??null}set(e,t){this.#eB.set(e,t)}delete(e){this.#eB.delete(e)}full(){return this.size>=this.#ey}}class d{#eQ=0;#ey=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#ey=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eN,this.pick=e.pick??this.#eb,this.storage=e.storage??new c(e)}runLookup(e,t,r){let i=this.storage.get(e.hostname);if(null==i&&this.storage.full())return void r(null,e);let n={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#ey};if(null==i)this.lookup(e,n,(t,i)=>{let s;if(t||null==i||0===i.length)return void r(t??new a("No DNS entries found"));this.setRecords(e,i);let o=this.storage.get(e.hostname),A=this.pick(e,o,n.affinity);s="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${s}`))});else{let s,o=this.pick(e,i,n.affinity);if(null==o){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}s="number"==typeof o.port?`:${o.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===o.family?`[${o.address}]`:o.address}${s}`))}}#eN(e,t,r){n(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let i=new Map;for(let e of t)i.set(`${e.address}:${e.family}`,e);r(null,i.values())})}#eb(e,t,r){let i,n=null,{records:s,offset:o}=t;if(this.dualStack?(null==r&&(null==o||0x7fffffff===o?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),i=null!=s[r]&&s[r].ips.length>0?s[r]:s[4===r?6:4]):i=s[r],null==i||0===i.ips.length)return n;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let a=i.offset%i.ips.length;return null==(n=i.ips[a]??null)?n:Date.now()-n.timestamp>n.ttl?(i.ips.splice(a,1),this.pick(e,t,r)):n}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let i=r[t];if(!i)return null;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let n=i.offset%i.ips.length,s=i.ips[n]??null;return null==s||Date.now()-s.timestamp>s.ttl&&i.ips.splice(n,1),s}setRecords(e,t){let r=Date.now(),i={records:{4:null,6:null}},n=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),n=Math.min(n,e.ttl)):e.ttl=this.#eQ;let t=i.records[e.family]??{ips:[]};t.ips.push(e),i.records[e.family]=t}this.storage.set(e.hostname,i,{ttl:n})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new g(this,e,t)}}class g extends s{#eS=null;#S=null;#ew=null;#eD=null;#en=null;#ex=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:i,newOrigin:n},s){super(r),this.#eD=t,this.#ex=n,this.#S={...s},this.#eS=e,this.#ew=i}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let i="["===this.#ex.hostname[0]?4:6,n=this.#eS.pickFamily(this.#eD,i);if(null==n)return void super.onResponseError(e,t);r="number"==typeof n.port?`:${n.port}`:""!==this.#eD.port?`:${this.#eD.port}`:"";let s={...this.#S,origin:`${this.#eD.protocol}//${6===n.family?`[${n.address}]`:n.address}${r}`,headers:l(this.#eD.host,this.#S.headers)};this.#ew(s,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#eD),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new o("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new o("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new o("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new o("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new o("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new o("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new o("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let n=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let s=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==i(s.hostname)?e(t,r):(n.runLookup(s,t,(i,o)=>{if(i)return r.onResponseError(null,i);e({...t,servername:s.hostname,origin:o.origin,headers:l(s.host,t.headers)},n.getHandler({origin:s,dispatch:e,handler:r,newOrigin:o},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:i,RequestAbortedError:n}=r(8065),s=r(2645);class o extends s{#t=1048576;#eM=!1;#i=0;#en=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new i("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#y(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#y.bind(this),this.#en=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,i){let s=r["content-length"];if(null!=s&&s>this.#t)throw new n(`Response size (${s}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,i)}onResponseError(e,t){this.#eM||(t=this.#en?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#i=this.#i+t.length,this.#i>=this.#t&&(this.#eM=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#eM){if(!0===this.#en.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,i){let{dumpMaxSize:n=e}=r,s=new o({maxSize:n,signal:r.signal},i);return t(r,s)}}},7884(e,t,r){let i=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:n}={}){return s=>function(o,a){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=n,...g}=o;if(null==A||0===A)return s(o,a);let u={...g,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new i(s,A,u,a);return s(u,h)}}},3128(e,t,r){let i=r(2645),{ResponseError:n}=r(8065);class s extends i{#Z;#ek;#ev;#$;#eU;constructor(e,{handler:t}){super(t)}#eF(e){return 0===(this.#ek??"").indexOf(e)}onRequestStart(e,t){return this.#Z=0,this.#ek=null,this.#ev=null,this.#$=null,this.#eU="",super.onRequestStart(e,t)}onResponseStart(e,t,r,i){if(this.#Z=t,this.#$=r,this.#ek=r["content-type"],this.#Z<400)return super.onResponseStart(e,t,r,i);(this.#eF("application/json")||this.#eF("text/plain"))&&(this.#ev=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#Z<400)return super.onResponseData(e,t);this.#eU+=this.#ev?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#Z>=400){let t;if(this.#eU+=this.#ev?.decode(void 0,{stream:!1})??"",this.#eF("application/json"))try{this.#eU=JSON.parse(this.#eU)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new n("Response Error",this.#Z,{body:this.#eU,headers:this.#$})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new s(t,{handler:r}))}},9620(e,t,r){let i=r(4166);e.exports=e=>t=>function(r,n){return t(r,new i({...r,retryOptions:{...e,...r.retryOptions}},{handler:n,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let i=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,i.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z6,t.t9,t.Y2,t.oC,t.mL,t.XB,t.EW,t.jJ,t.jA,t.XV,t.KO,t.aC},9896(e,t,r){let i;e=r.nmd(e);let{Buffer:n}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=n.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9md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0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAygCHCICQQJrDvwBAfkBAgMEBQYHCAkKCwwNDg8QERL4ARP3ARQV9gEWF/UBGBkaGxwdHh8g/QH7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AQwXC0HIAQwWC0HJAQwVC0HKAQwUC0HLAQwTC0HMAQwSC0HNAQwRC0HOAQwQC0HPAQwPC0HQAQwOC0HRAQwNC0HSAQwMC0HTAQwLC0HUAQwKC0HVAQwJC0HWAQwIC0HjAQwHC0HXAQwGC0HYAQwFC0HZAQwEC0HaAQwDC0HbAQwCC0HdAQwBC0HcAQshAgNAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJ/AkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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gIcIAMgATYCFCADQZAONgIQIANBFDYCDAyTAwtBACECIANBADYCHCADIAE2AhQgA0G+IDYCECADQQI2AgwMkgMLIAMoAgQhAEEAIQIgA0EANgIEIAMgACABIAynaiIBEDIiAEUNKyADQQc2AhwgAyABNgIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwoCyADQQ42AhwgAyAANgIMIAMgAUEBajYCFAyIAwsgAEEVRg03QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIcDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDCcLIANBDzYCHCADIAA2AgwgAyABQQFqNgIUDIYDC0EAIQIgA0EANgIcIAMgATYCFCADQeIXNgIQIANBGTYCDAyFAwsgAEEVRg0zQQAhAiADQQA2AhwgAyABNgIUIANB1gw2AhAgA0EjNgIMDIQDCyADKAIEIQBBACECIANBADYCBCADIAAgARA0IgBFDSUgA0ERNgIcIAMgATYCFCADIAA2AgwMgwMLIABBFUYNMEEAIQIgA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AgA0EMNgIMDO8CCyABIARHBEADQCABLQAAQSBHDYQCIAQgAUEBaiIBRw0AC0EsIQIM7wILQSwhAgzuAgsgASAERgRAQTQhAgzuAgsCQAJAA0ACQCABLQAAQQprDgQCAAADAAsgBCABQQFqIgFHDQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyrAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqgILQcYBIQIMkAILIAEgBEYEQEHfASECDKkCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqgILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKkCC0HFASECDI8CCyABIARGBEBB3gEhAgyoAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKkCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyoAgtBxAEhAgyOAgsgASAERgRAQd0BIQIMpwILAkACQAJAAkAgAS0AAEEKaw4XAgMDAAMDAwMDAwMDAwMDAwMDAwMDAwEDCyABQQFqDAULIAFBAWohAUHDASECDI8CCyABQQFqIQEgA0Evai0AAEEBcQ0IIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKcCCyADQQA2AhwgAyABNgIUIANBjQs2AhAgA0ENNgIMQQAhAgymAgsgASAERwRAIANBDzYCCCADIAE2AgRBASECDI0CC0HcASECDKUCCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtB2wEhAgymAgsgAygCBCEAIANBADYCBCADIAAgARAtIgBFBEAgAUEBaiEBDAQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgI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M5gELIAFBAWohAUEiDCsLIAEgBEYEQEG5ASECDP4BCyABLQAAQdAARw0rIAFBAWohAUGgASECDOQBCyABIARGBEBBuAEhAgz9AQsCQAJAIAEtAABBxgBrDgsALCwsLCwsLCwsASwLIAFBAWohAUGeASECDOQBCyABQQFqIQFBnwEhAgzjAQtBtwEhAiABIARGDfsBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQezUAGotAABHDSggAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPwBCyADQQA2AgAgBkEBaiEBQQ0MKAtBtgEhAiABIARGDfoBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDScgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPsBCyADQQA2AgAgBkEBaiEBQQwMJwtBtQEhAiABIARGDfkBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQerUAGotAABHDSYgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPoBCyADQQA2AgAgBkEBaiEBQQMMJgtBtAEhAiABIARGDfgBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQejUAGotAABHDSUgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPkBCyADQQA2AgAgBkEBaiEBQSYMJQsgASAERgRAQbMBIQIM+AELAkACQCABLQAAQdQAaw4CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0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BHgwaC0GoASECIAEgBEYN7AEgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBytQAai0AAEcNGSAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7QELIANBADYCACAGQQFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABB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AAQdkARw0IIAFBAWohAUEIDAcLQZYBIQIgASAERg3ZASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEGs1ABqLQAARw0GIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzaAQsgA0EANgIAIAZBAWohAUEFDAYLQZUBIQIgASAERg3YASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGm1ABqLQAARw0FIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzZAQsgA0EANgIAIAZBAWohAUEWDAULQZQBIQIgASAERg3XASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0EIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzYAQsgA0EANgIAIAZBAWohAUEQDAQLIAEgBEYEQEGTASECDNcBCwJAAkAgAS0AAEHDAGsODAAGBgYGBgYGBgYGAQYLIAFBAWohAUH5ACECDL4BCyABQQFqIQFB+gAhAgy9AQtBkgEhAiABIARGDdUBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQaDUAGotAABHDQIgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDM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QQA2AgQgAyAAIAEQLCIARQ0IIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIANBADYCHCADIAE2AhQgA0GNFDYCECADQQc2AgxBACECDKgBCwJAAkACQAJAA0AgAS0AAEGgygBqLQAAIgBBBUcEQAJAIABBAWsOBi4DBAUGAAYLQegAIQIMlAELIAQgAUEBaiIBRw0AC0H9ACECDKsBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQdsANgIcIAMgATYCFCADIAA2AgxBACECDKoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDKkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQfoANgIcIAMgATYCFCADIAA2AgxBACECDKgBCyADQQA2AhwgAyABNgIUIANB5Ag2AhAgA0EHNgIMQQAhAgynAQsgASAERg0BIAFBAWoLIQFBBiECDIwBC0H8ACECDKQBCwJAAkACQAJAA0AgAS0AAEGgyABqLQAAIgBBBUcEQCAAQQFrDgQpAgMEBQsgBCABQQFqIgFHDQALQfsAIQIMpwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMpgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMpQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMpAELIANBADYCHCADIAE2AhQgA0G8CjYCECADQQc2AgxBACECDKMBC0HPACECDIkBC0HRACECDIgBC0HnACECDIcBCyABIARGBEBB+gAhAgygAQsCQCABLQAAQQlrDgQgAAAgAAsgAUEBaiEBQeYAIQIMhgELIAEgBEYEQEH5ACECDJ8BCwJAIAEtAABBCWsOBB8AAB8AC0EAIQAC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ARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIUIANB5xE2AhAgA0EKNgIMQQAhAgx9CyABQQFqIQEgA0Evai0AAEEBcUUNcyADLQAyQYABcUUEQCADQTJqIQIgAxA1QQAhAAJAIAMoAjgiBkUNACAGKAIoIgZFDQAgAyAGEQAAIQALAkACQCAADhZNTEsBAQEBAQEBAQEBAQEBAQEBAQEAAQsgA0EpNgIcIAMgATYCFCADQawZNgIQIANBFTYCDEEAIQIMfgsgA0EANgIcIAMgATYCFCADQeULNgIQIANBETYCDEEAIQIMfQtBACEAAkAgAygCOCICRQ0AIAIoAlwiAkUNACADIAIRAAAhAAsgAEUNWSAAQRVHDQEgA0EFNgIcIAMgATYCFCADQZsbNgIQIANBFTYCDEEAIQIMfAtBywAhAgxiC0EAIQIgA0EANgIcIA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ILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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G1AQwqC0G2AQwpC0G3AQwoC0G4AQwnC0G5AQwmC0G6AQwlC0G7AQwkC0G8AQwjC0G9AQwiC0G+AQwhC0G/AQwgC0HAAQwfC0HBAQweC0HCAQwdC0EBDBwLQcMBDBsLQcQBDBoLQcUBDBkLQcYBDBgLQccBDBcLQcgBDBYLQckBDBULQcoBDBQLQcsBDBMLQcwBDBILQc0BDBELQc4BDBALQc8BDA8LQdABDA4LQdEBDA0LQdIBDAwLQdMBDAsLQdQBDAoLQdUBDAkLQdYBDAgLQeMBDAcLQdcBDAYLQdgBDAULQdkBDAQLQdoBDAMLQdsBDAILQd0BDAELQdwBCyECA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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hAgzzAgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQ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gLQcABIQIMrgILQdoBIQIMrQILIAEgBEcEQCADQQw2AgggAyABNgIEQdkBIQIMrQILQfkBIQIMxQILIAEgBEYEQEH4ASECDMUCCyABLQAAQcgARw0EIAFBAWohAUHYASECDKsCCyABIARGBEBB9wEhAgzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtA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IBIQIM+AELIAFBAWohAUGzASECDPcBC0HLASECIAEgBEYNjwIgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBkdUAai0AAEcNPCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIB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cwARw0cIAFBAWohAUEKDBsLQakBIQIgASAERg3tASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQbPUAGotAABHDQsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN8BCyADQQA2AgAgBkEBaiEBQSMMCwtBmgEhAiABIARGDd0BIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDUAGotAABHDQogAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN4BCyADQQA2AgAgBkEBaiEBQQAMCgsgASAERgRAQZkBIQIM3QELAkACQCABLQAAQcgAaw4IAAwMDAwMDAEMCyABQQ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AMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2AhQgA0GAGzYCECADQRU2AgxBACECDJEBCyADLQApIgBBI0kNACAAQS5GDQAgA0EANgIcIAMgATYCFCADQckJNgIQIANBCDYCDEEAIQIMkAELQdoAIQIMdgsgASAERgRAQesAIQIMjwELAkAgAS0AAEEvRgRAIAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBsjg2AhAgA0EINgIMQQAhAgyPAQtB2QAhAgx1CyABIARHBEAgA0EONgIIIAMgATYCBEHYACECDHULQeoAIQIMjQELIAEgBEYEQEHpACECDI0BCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHXACECDHQLIAMoAgQhACADQQA2AgQgAyA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AhAgxnCyABIARHBEAgASECA0AgBCACIgFrQRBOBEAgAUEQaiEC/Qz/////////////////////IAH9AAAAIg1BB/1sIA39DODg4ODg4ODg4ODg4ODg4OD9bv0MX19fX19fX19fX19fX19fX/0mIA39DAkJCQkJCQkJCQkJCQkJCQn9I/1Q/VL9ZEF/c2giAEEQRg0BIAAgAWohAQwYCyABIARGBEBBxAAhAgxpCyABLQAAQcDBAGotAABBAUcNFyAEIAFBAWoiAkcNAAtBxAAhAgxnC0HEACECDGYLIAEgBEcEQANAAkAgAS0AACIAQSByIAAgAEHBAGtB/wFxQRpJG0H/AXEiAEEJRg0AIABBIEYNAAJAAkACQAJAIABB4wBrDhMAAwMDAwMDAwEDAwMDAwMDAwMCAwsgAUEBaiEBQTYhAgxSCyABQQFqIQFBNyECDFELIAFBAWohAUE4IQIMUAsMFQsgBCABQQFqIgFHDQALQTwhAgxmC0E8IQIMZQsgASAERgRAQcgAIQIMZQsgA0ESNgIIIAMgATYCBAJAAkACQAJAAkAgAy0ALEEBaw4EFAABAgkLIAMtADJBIHENA0HgASECDE8LAkAgAy8BMiIAQQhxRQ0AIAMtAChBAUcNACADLQAuQQhxRQ0CCyADIABB9/sDcUGABHI7ATIMCwsgAyADLwEyQRByOwEyDAQLIANBADYCBCADIAEgARAxIgAEQCADQcEANgIcIAMgADYCDCADIAFBAWo2AhRBACECDGYLIAFBAWohAQxYCyADQQA2AhwgAyABNgIUIANB9BM2AhAgA0EENgIMQQAhAgxkC0HHACECIAEgBEYNYyADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIABBwMUAai0AACABLQAAQSByRw0BIABBBkYNSiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAxkCyADQQA2AgAMBQsCQCABIARHBEADQCABLQAAQcDDAGotAAAiAEEBRwRAIABBAkcNAyABQQFqIQEMBQsgBCABQQFqIgFHDQALQcUAIQIMZAtBxQAhAgxjCwsgA0EAOgAsDAELQQshAgxHC0E/IQIMRgsCQAJAA0AgA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ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},5610(e,t){t.enumToMap=function(e,t=[],r=[]){let i=(t?.length??0)===0,n=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(i||t.includes(e))&&(n||!r.includes(e))))}},6923(e,t,r){let{kClients:i}=r(3025),n=r(5891),{kAgent:s,kMockAgentSet:o,kMockAgentGet:a,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:g,kFactory:u,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:m,kMockAgentAddCallHistoryLog:p,kMockAgentMockCallHistoryInstance:C,kMockAgentAcceptsNonStandardSearchParameters:f,kMockCallHistoryAddLog:I,kIgnoreTrailingSlash:E}=r(4779),y=r(375),B=r(8182),{matchValue:Q,normalizeSearchParams:N,buildAndValidateMockOptions:b,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:D}=r(8065),x=r(6873),R=r(1908),{MockCallHistory:M}=r(2137);e.exports=class extends x{constructor(e={}){super(e);let t=b(e);if(this[c]=!0,this[l]=!0,this[m]=t.enableCallHistory??!1,this[f]=t.acceptNonStandardSearchParameters??!1,this[E]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new n(e);this[s]=r,this[i]=r[i],this[g]=t,this[m]&&this[h]()}get(e){let t=S(e),r=this[E]?t.replace(/\/$/,""):t,i=this[a](r);return i||(i=this[u](r),this[o](r,i)),i}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[p](e);let r=this[f],i={...e};if(r&&i.path){let[e,t]=i.path.split("?"),n=N(t,r);i.path=`${e}?${n}`}return this[s].dispatch(i,t)}async close(){this.clearCallHistory(),await this[s].close(),this[i].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[m]=!0,this}disableCallHistory(){return this[m]=!1,this}getCallHistory(){return this[C]}clearCallHistory(){void 0!==this[C]&&this[C].clear()}get isMockActive(){return this[l]}[h](){void 0===this[C]&&(this[C]=new M)}[p](e){this[m]&&(this[h](),this[C][I](e))}[o](e,t){this[i].set(e,t)}[u](e){let t=Object.assign({agent:this},this[g]);return this[g]&&1===this[g].connections?new y(e,t):new B(e,t)}[a](e){let t=this[i].get(e);if(t)return t;if("string"!=typeof e){let t=this[u]("http://localhost:9999");return this[o](e,t),t}for(let[t,r]of Array.from(this[i]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[u](e);return this[o](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[i].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new D(1===t.length?`1 interceptor is pending: - -${e.format(t)}`.trim():`${t.length} interceptors are pending: - -${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:i}=r(4779),{InvalidArgumentError:n}=r(8065);function s(e,t,r,i,s){switch(t.operator){case"OR":return i.push(...r(e,s)),i;case"AND":return r(e,i);default:throw new n("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function o(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new n(`${e} parameter should be one of string, regexp, undefined or null`)}}class a{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new n("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new n("nthCall must be called with a number");if(!Number.isInteger(e))throw new n("nthCall must be called with an integer");if(1!==Math.sign(e))throw new n("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new n("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},i="AND"===r.operator?this.logs:[];return"protocol"in e&&(i=s(e.protocol,r,this.filterCallsByProtocol,i,this.logs)),"host"in e&&(i=s(e.host,r,this.filterCallsByHost,i,this.logs)),"port"in e&&(i=s(e.port,r,this.filterCallsByPort,i,this.logs)),"origin"in e&&(i=s(e.origin,r,this.filterCallsByOrigin,i,this.logs)),"path"in e&&(i=s(e.path,r,this.filterCallsByPath,i,this.logs)),"hash"in e&&(i=s(e.hash,r,this.filterCallsByHash,i,this.logs)),"fullUrl"in e&&(i=s(e.fullUrl,r,this.filterCallsByFullUrl,i,this.logs)),"method"in e&&(i=s(e.method,r,this.filterCallsByMethod,i,this.logs)),[...new Set(i)]}throw new n("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=o.call(this,"protocol");filterCallsByHost=o.call(this,"host");filterCallsByPort=o.call(this,"port");filterCallsByOrigin=o.call(this,"origin");filterCallsByPath=o.call(this,"path");filterCallsByHash=o.call(this,"hash");filterCallsByFullUrl=o.call(this,"fullUrl");filterCallsByMethod=o.call(this,"method");clear(){this.logs=[]}[i](e){let t=new a(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=a},375(e,t,r){let{promisify:i}=r(7975),n=r(5183),{buildMockDispatch:s}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends n{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},8531(e,t,r){let{UndiciError:i}=r(8065),n=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class s extends i{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}e.exports={MockNotMatchedError:s}},1585(e,t,r){let{getResponseData:i,buildKey:n,addMockDispatch:s}=r(6927),{kDispatches:o,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:g}=r(4779),{InvalidArgumentError:u}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:m}}=r(7975);class p{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new u("opts must be an object");if(void 0===e.path)throw new u("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[a]=n(e),this[o]=t,this[g]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let n=i(t),s=this[c]?{"content-length":n.length}:{};return{statusCode:e,data:t,headers:{...this[A],...s,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new u("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new u("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new u("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new p(s(this[o],this[a],r=>{let i=e(r);return m(i)?i.then(t):t(i)},{ignoreTrailingSlash:this[g]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new p(s(this[o],this[a],r,{ignoreTrailingSlash:this[g]}))}replyWithError(e){if(void 0===e)throw new u("error must be defined");return new p(s(this[o],this[a],{error:e},{ignoreTrailingSlash:this[g]}))}defaultReplyHeaders(e){if(void 0===e)throw new u("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new u("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:i}=r(7975),n=r(6334),{buildMockDispatch:s}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends n{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:i}=r(8531),{kDispatches:n,kMockAgent:s,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:g}=r(7067),{types:{isPromise:u}}=r(7975),{InvalidArgumentError:h}=r(8065);function m(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function C(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):p(e)[t.toLocaleLowerCase()]}function f(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function I(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=f(t)),e.headers(t?p(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,i]of Object.entries(e.headers))if(!m(i,C(t,r)))return!1;return!0}function E(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function y(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function B(e,t){let r=t.query?c(t.path,t.query):t.path,n="string"==typeof r?E(r):r,s=N(n),o=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?m(N(E(e)),s):m(E(e),n));if(0===o.length)throw new i(`Mock dispatch not matched for path '${n}'`);if(0===(o=o.filter(({method:e})=>m(e,t.method))).length)throw new i(`Mock dispatch not matched for method '${t.method}' on path '${n}'`);if(0===(o=o.filter(({body:e})=>void 0===e||m(e,t.body))).length)throw new i(`Mock dispatch not matched for body '${t.body}' on path '${n}'`);if(0===(o=o.filter(e=>I(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new i(`Mock dispatch not matched for headers '${e}' on path '${n}'`)}return o[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:i,headers:n}){let s=m(e.path,t),o=m(e.method,r),a=void 0===e.body||m(e.body,i),A=I(e,n);return s&&o&&a&&A}(e,t));-1!==r&&e.splice(r,1)}function N(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function b(e){let{path:t,method:r,body:i,headers:n,query:s}=e;return{path:t,method:r,body:i,headers:n,query:s}}function S(e){let t=Object.keys(e),r=[];for(let i=0;i<t.length;++i){let n=t[i],s=e[n],o=Buffer.from(`${n}`);if(Array.isArray(s))for(let e=0;e<s.length;++e)r.push(o,Buffer.from(`${s[e]}`));else r.push(o,Buffer.from(`${s}`))}return r}function w(e){return g[e]||"unknown"}function D(e,t){let r=b(e),i=B(this[n],r),s=this[n];i.timesInvoked++;let{timesInvoked:o,times:a}=i;if(i.consumed=!i.persist&&o>=a,i.pending=o<a,i.data.callback){let n=i.data.callback(e);if(u(n))return n.then(n=>{i.data={...i.data,...n},x(s,i,r,e,t)},e=>{Q(s,r),t.onResponseError(null,e)}),!0;i.data={...i.data,...n}}return x(s,i,r,e,t)}function x(e,t,r,i,n){let{data:{statusCode:s,data:o,headers:a,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),n.onResponseError(null,l),!0;let g=!1,h=null,m={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{g||(g=!0,null!==h&&(clearTimeout(h),h=null),n.onResponseError?.(m,e))}};function p(e,t=o){if(g)return;let l=Array.isArray(i.headers)?f(i.headers):i.headers,c="function"==typeof t?t({...i,headers:l}):t;if(u(c))return c.then(t=>p(e,t));if(g)return;let h=y(c),C=S(a),I=S(A);m.rawHeaders=C,m.rawTrailers=I,n.onResponseStart?.(m,s,d(C),w(s)),n.onResponseData?.(m,Buffer.from(h)),n.onResponseEnd?.(m,d(I)),Q(e,r)}return n.onRequestStart?.(m,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,p(e)},c):p(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>m(e,r.host)))}e.exports={getResponseData:y,getMockDispatch:B,addMockDispatch:function(e,t,r,i){let n={timesInvoked:0,times:1,persist:!1,consumed:!1,...i},s="function"==typeof r?{callback:r}:{...r},o={...n,...t,pending:!0,data:{error:null,...s}};return e.push(o),e[l]=(e[l]||0)+1,o},deleteMockDispatch:Q,buildKey:b,generateKeyValues:S,matchValue:m,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:D,buildMockDispatch:function(){let e=this[s],t=this[a],r=this[o];return function(s,o){if(e.isMockActive)try{D.call(this,s,o)}catch(a){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===a.code){let c=e[A](),d=this[n][l]||this[n].length,g=this[n].filter(({consumed:e})=>!e).length,u=`, ${g} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${u}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in s?{...s,body:s.__mockAgentBodyForDispatch}:s,o);else throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${u}`)}else throw a}else r.call(this,s,o)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:C,buildHeadersFromArray:f,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,i]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(i)){r.append(e,i);continue}if(i.includes(",")){for(let t of i.split(","))r.append(e,t);continue}r.append(e,i)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:i}=r(7075),{Console:n}=r(7540),s=process.versions.icu?"✅":"Y ",o=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,r){r(null,e)}}),this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:i,times:n,timesInvoked:a,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:i?s:o,Invocations:a,Remaining:i?1/0:n-a}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let i=r(5891),n=r(6923),{SnapshotRecorder:s}=r(2152),{InvalidArgumentError:o,UndiciError:a}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),g=Symbol("kSnapshotPath"),u=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),m=!1;e.exports=class extends n{constructor(e={}){m||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),m=!0);let{mode:t="record",snapshotPath:r=null,...n}=e;if(super(n),l(t),("playback"===t||"update"===t)&&!r)throw new o(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[g]=r,this[c]=new s({snapshotPath:this[g],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[u]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new i(e)),("playback"===this[d]||"update"===this[d])&&this[g]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[u])return this.#eT(e,t);let i=this[c].findSnapshot(e);if(i)return this.#eL(i,t);{if("update"===r)return this.#eO(e,t);let i=new a(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,i);throw i}}if("record"===r)return this.#eO(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eO(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},i=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,i,n)=>t.onRequestUpgrade(e,r,i,n),onResponseStart:(e,i,n,s)=>(r.statusCode=i,r.headers=n,t.onResponseStart(e,i,n,s)),onResponseData:(e,i)=>(r.body.push(i),t.onResponseData(e,i)),onResponseEnd(n,s){r.trailers=s;let o=Buffer.concat(r.body);i[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:o,trailers:r.trailers}).then(()=>t.onResponseEnd(n,s)).catch(e=>t.onResponseError(n,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,i=r.headers?A.toRawHeaders(r.headers):[],n=r.trailers?A.toRawHeaders(r.trailers):[],s={rawHeaders:i,rawTrailers:n,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(s),t.onResponseStart(s,r.statusCode,r.headers,r.statusMessage);let o=Buffer.from(r.body,"base64");t.onResponseData(s,o),t.onResponseEnd(s,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[g]),this[u]=!0,"playback"===this[d]&&this.#eP()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[g])}#eP(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:i}=e,n=new URL(t.url),s=this.get(n.origin),o=r?r[0]:i;o&&s.intercept({path:n.pathname+n.search,method:t.method,headers:t.headers,body:t.body}).reply(o.statusCode,o.body,{headers:o.headers,trailers:o.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:i,readFile:n,mkdir:s}=r(1455),{dirname:o,resolve:a}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:g,isUrlExcludedFactory:u,normalizeHeaders:h,createHeaderFilters:m}=r(289);function p(e,t,r={}){var i,n,s;let o=new URL(e.path,e.origin),a=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=a),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(o,r.matchQuery,r.normalizeQuery),headers:C(a,t,r),body:(i=e.body,n=r.matchBody,s=r.normalizeBody,!1===n?"":s?String(s(i)??""):i?String(i):"")}}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,n={},{ignore:s,exclude:o,match:a}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();!(o.has(e)||s.has(e))&&(0===a.size||a.has(e))&&(n[e]=r)}return n}function f(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,n={},{exclude:s}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();s.has(e)||(n[e]=r)}return n}function I(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let i=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),i.sort()))t.push(String(e))}return t.push(e.body),g(t.join("|"))}class E{#eH;#eY;#eG=new Map;#ez;#eq=1/0;#eV=!1;#e_;constructor(e={}){this.#ez=e.snapshotPath,this.#eq=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#e_=m(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=u(e.excludeUrls),this.#eV&&this.#ez&&this.#eJ()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=p(e,this.#e_,this.matchOptions),i=I(r),n=h(t.headers),s={statusCode:t.statusCode,headers:f(n,this.#e_,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#eq&&!this.#eG.has(i)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let o=this.#eG.get(i);o&&o.responses?(o.responses.push(s),o.timestamp=new Date().toISOString()):this.#eG.set(i,{request:r,responses:[s],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#ez&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=I(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let i=r.callCount||0,n=Math.min(i,r.responses.length-1);return r.callCount=i+1,{...r,response:r.responses[n]}}async loadSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");try{let e=await n(a(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");let r=a(t);await s(o(r),{recursive:!0});let n=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await i(r,JSON.stringify(n,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=I(p(e,this.#e_,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=I(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#eJ(){return this.#eW()}#ej(){this.#eH&&(l(this.#eH),this.saveSnapshots().catch(()=>{}),this.#eH=null)}#eW(){this.#eH=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eH?.refresh():this.#eH=null},1e3)}destroy(){this.#ej(),this.#eH&&(l(this.#eH),this.#eH=null)}async close(){this.#ez&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:E,formatRequestKey:p,createRequestHash:I,filterHeadersForMatching:C,filterHeadersForStorage:f,createHeaderFilters:m}},289(e,t,r){let{InvalidArgumentError:i}=r(8065),{runtimeFeatures:n}=r(6979),s=n.has("crypto")?r(7598):null,o=s?.hash?e=>s.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function a(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:i=[],caseSensitive:n=!1}=e;return{ignore:new Set(t.map(e=>n?e:e.toLowerCase())),exclude:new Set(r.map(e=>n?e:e.toLowerCase())),match:new Set(i.map(e=>n?e:e.toLowerCase()))}},hashId:o,isUndiciHeaders:a,normalizeHeaders:function(e){let t={};if(!e)return t;if(a(e)){for(let r=0;r<e.length;r+=2){let i=e[r],n=e[r+1];if(i&&void 0!==n){let e=Buffer.isBuffer(i)?i.toString():i,r=Buffer.isBuffer(n)?n.toString():n;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,i]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(i)?i.join(", "):String(i));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let i of e)if("string"==typeof i){if(r||(r=t.toLowerCase()),r.includes(i.toLowerCase()))return!0}else if(i instanceof RegExp&&i.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new i(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:i,pathHasQueryOrFragment:n,hasSafeIterator:s,isValidHTTPToken:o}=r(1210),{serializePathWithQuery:a}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function g(e){return e.replace(/^[\t ]+/,"")}function u(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let i=t;i<e.length;i++)if(r)r=!1;else if("\\"===e[i])r=!0;else if('"'===e[i])return i;return -1}function m(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function p(e,t,r){let i=t.toLowerCase(),n=e[i],s=Array.isArray(r)?r:[r];void 0===n?e[i]=Array.isArray(r)?r.slice():r:Array.isArray(n)?n.push(...s):e[i]=[n,...s]}function C(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let i=t[e].split(",");for(let e=0;e<i.length;e++)r.push(i[e])}return r}function f(e){let t=C(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function I(e,t){if(f(e))return t;let r={};for(let i of C(e)){let e=c(i).toLowerCase();if(0===e.length)continue;if(!o(e))return;let n=t[e];r[e]=Array.isArray(n)?n.slice():n??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!n(t)&&(t=a(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},s(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let i=0;i<r;i+=2){let r=e.headers[i],n=e.headers[i+1];if("string"!=typeof r||"string"!=typeof n&&!Array.isArray(n))throw Error("opts.headers is not a valid header map");if("string"==typeof n)p(t,r,n);else{let e=[];for(let t=0;t<n.length;t++){let r=n[t];e.push("string"==typeof r?r:r.toString("latin1"))}p(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else for(let r of Object.keys(e.headers))p(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,i=new Set,n=function(e){let t=[],r=0,i=-1,n=!1,s=!1;for(let o=0;o<e.length;o++)n?s?s=!1:"\\"===e[o]?s=!0:'"'===e[o]&&(n=!1,i=-1):'"'===e[o]?(n=!0,i=o):","===e[o]&&(t.push({value:e.substring(r,o),fromMalformedQuote:!1}),r=o+1);if(!n)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let o=e.substring(r),a=i-r,A=0;for(let e=0;e<o.length;e++)","===o[e]&&(t.push({value:o.substring(A,e),fromMalformedQuote:A>a}),A=e+1);return t.push({value:o.substring(A),fromMalformedQuote:A>a}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<n.length;e++){let s,a,l=n[e],p=l.value.toLowerCase(),C=l.fromMalformedQuote,f=p.indexOf("="),I=!1,E=!1;if(-1!==f){let e=p.substring(0,f),t=p.substring(f+1);I=u(e)!==e,E=g(t)!==t,s=c(e),a=g(t)}else s=c(p);let y=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!o(e[t.length]))return t;let t="",r=!1;for(let i=0;i<e.length;i++)o(e[i])?t+=e[i]:r=!0;if(r&&d(A,t))return t}(s);if(void 0!==y){t[y]=!0;continue}switch(s){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(C||r.has(s))continue;if(void 0===a||I||E||(a.length>=2&&'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),!/^[0-9]+$/.test(a))){delete t[s],r.add(s),m(t,s);continue}let e=Math.min(parseInt(a,10),0x7fffffff);"min-fresh"===s?s in t&&!(t[s]<e)||(t[s]=e):s in t&&!(t[s]>e)||(t[s]=e);break}case"private":case"no-cache":if(C||void 0!==a&&0===a.length){t[s]=!0;break}if(a){if('"'===a[0]){a=u(a);let r="",i=e,A=!1,l=h(a,1);if(-1!==l)r=a.substring(1,l),A=!0;else{let t=[a.substring(1)];for(let r=e+1;r<n.length;r++){let e=c(n[r].value),s=h(e,0);if(i=r,-1!==s){t.push(e.substring(0,s)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[s]=!0;break}e=i;let d=r.split(","),g=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),o(d[e])||(g=!1);g?!0!==t[s]&&(s in t?t[s]=t[s].concat(d):t[s]=d):t[s]=!0}else{let e=c(a);o(e)?!0!==t[s]&&(s in t?t[s]=t[s].concat(e):t[s]=[e]):t[s]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(C||i.has(s))continue;if(void 0!==a){delete t[s],i.add(s);continue}t[s]=!0;break;case"no-store":t[s]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:I,hasVaryStar:f,isInvalidOrWildcardVaryHeader:function(e){return f(e)||void 0===I(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(i,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${i.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let i of Object.keys(e.headers).sort())t?.has(i.toLowerCase())||(r[i]=e.headers[i]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,i,n,s,o){let a=new Date(Date.UTC(e,t,r,i,n,s));return e>=0&&e<=99&&a.setUTCFullYear(e),a.getUTCFullYear()===e&&a.getUTCMonth()===t&&a.getUTCDate()===r&&a.getUTCHours()===i&&a.getUTCMinutes()===n&&a.getUTCSeconds()===s&&a.getUTCDay()===o?a:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let n=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])n=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])n=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])n=2;else{if("y"!==e[10])return;n=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])n=0;else if("u"!==e[9])return;else if("n"===e[10])n=5;else{if("l"!==e[10])return;n=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])n=3;else{if("u"!==e[9]||"g"!==e[10])return;n=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])n=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])n=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])n=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;n=11}let s=e.charCodeAt(12);if(s<48||s>57)return;let o=e.charCodeAt(13);if(o<48||o>57)return;let a=e.charCodeAt(14);if(a<48||a>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((s-48)*1e3+(o-48)*100+(a-48)*10+(A-48),n,i,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])i=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])i=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])i=2;else{if("y"!==e[6])return;i=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])i=0;else if("u"!==e[5])return;else if("n"===e[6])i=5;else{if("l"!==e[6])return;i=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])i=3;else{if("u"!==e[5]||"g"!==e[6])return;i=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])i=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])i=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])i=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;i=11}let n=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;n=(t-48)*10+(r-48)}let s=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;s=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;s=(t-48)*10+(r-48)}let o=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let a=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),i,n,s,o,a,r)}(e);default:return function(e){let r=-1,i=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(i=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])i=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(i=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])i=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;i=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let n=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let i=e.charCodeAt(r+3);if(i<48||i>57)return;n=(t-48)*10+(i-48)}let s=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])s=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])s=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])s=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])s=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])s=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])s=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])s=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])s=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])s=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])s=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])s=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;s=11}let o=e.charCodeAt(r+9);if(o<48||o>57)return;let a=e.charCodeAt(r+10);if(a<48||a>57)return;let A=(o-48)*10+(a-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let i=e.charCodeAt(r+13);if(i<48||i>57||50===t&&i>51)return;l=(t-48)*10+(i-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let i=e.charCodeAt(r+16);if(i<48||i>57)return;c=(t-48)*10+(i-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let i=e.charCodeAt(r+19);if(i<48||i>57)return;d=(t-48)*10+(i-48)}return t(A,s,n,l,c,d,i)}(e)}}}},6979(e,t,r){let i={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},n=["crypto","sqlite"];class s{#eX=new Map;clear(){this.#eX.clear()}has(e){return this.#eX.get(e)??this.#eK(e)}set(e,t){if(!1===n.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eX.set(e,t)}#eK(e){let t=function(e){if(n.includes(e)){var t=`node:${e}`;try{return i[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eX.set(e,t),t}}let o=new s;e.exports.runtimeFeatures=o},256(e,t,r){let{kConnected:i,kPending:n,kRunning:s,kSize:o,kFree:a,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[i],this.pending=e[n],this.running=e[s],this.size=e[o]}},PoolStats:class{constructor(e){this.connected=e[i],this.free=e[a],this.pending=e[n],this.queued=e[A],this.running=e[s],this.size=e[o]}}}},2297(e){let t,r=0,i=Symbol("kFastTimer"),n=[];function s(){r+=499;let e=0,t=n.length;for(;e<t;){let i=n[e];0===i._state?(i._idleStart=r-499,i._state=1):1===i._state&&r>=i._idleStart+i._idleTimeout&&(i._state=-1,i._idleStart=-1,i._onTimeout(i._timerArg)),-1===i._state?(i._state=-2,0!=--t&&(n[e]=n[t])):++e}n.length=t,0!==n.length&&o()}function o(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(s,499),t?.unref())}class a{[i]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&n.push(this),t&&1!==n.length||o(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new a(e,t,r),clearTimeout(e){e[i]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new a(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,s(),s()},reset(){r=0,n.length=0,clearTimeout(t),t=null},kFastTimer:i}},1044(e,t,r){let i=r(4589),{kConstruct:n}=r(3025),{urlEquals:s,getFieldValues:o}=r(8220),{kEnumerableProperty:a,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:g}=r(165),{Request:u,fromInnerRequest:h,getRequestState:m}=r(9553),{fetching:p}=r(7564),{urlIsHttpHttpsScheme:C,readAllBytes:f}=r(638);class I{#eZ;constructor(){arguments[0]!==n&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eZ=arguments[1]}async match(e,t={}){l.brandCheck(this,I);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let i=this.#e$(e,t,1);if(0!==i.length)return i[0]}async matchAll(e,t={}){return l.brandCheck(this,I),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#e$(e,t)}async add(e){l.brandCheck(this,I),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,I);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],i=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=m(r);if(!C(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let n=[];for(let s of e){let e=m(new u(s));if(!C(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",i.push(e);let a=Promise.withResolvers();n.push(p({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of o(e.headersList.get("vary")))if("*"===t){for(let e of(a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),n))e.abort();return}}},processResponseEndOfBody(e){e.aborted?a.reject(new DOMException("aborted","AbortError")):a.resolve(e)}})),r.push(a.promise)}let s=Promise.all(r),a=await s,A=[],c=0;for(let e of a){let t={type:"put",request:i[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),g=null;try{this.#e0(A)}catch(e){g=e}return queueMicrotask(()=>{null===g?d.resolve(void 0):d.reject(g)}),d.promise}async put(e,t){l.brandCheck(this,I);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let i=null;if(!C((i=l.is.Request(e)?m(e):m(new u(e))).url)||"GET"!==i.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let n=g(t);if(206===n.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(n.headersList.contains("vary")){for(let e of o(n.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(n.body&&(A(n.body.stream)||n.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let s=c(n),a=Promise.withResolvers();null!=n.body?f(n.body.stream.getReader(),a.resolve,a.reject):a.resolve(void 0);let d=[],h={type:"put",request:i,response:s};d.push(h);let p=await a.promise;null!=s.body&&(s.body.source=p);let E=Promise.withResolvers(),y=null;try{this.#e0(d)}catch(e){y=e}return queueMicrotask(()=>{null===y?E.resolve():E.reject(y)}),E.promise}async delete(e,t={}){let r;l.brandCheck(this,I);let n="Cache.delete";l.argumentLengthCheck(arguments,1,n),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,n,"options");let s=null;if(l.is.Request(e)){if("GET"!==(s=m(e)).method&&!t.ignoreMethod)return!1}else i("string"==typeof e),s=m(new u(e));let o=[],a={type:"delete",request:s,options:t};o.push(a);let A=Promise.withResolvers(),c=null;try{r=this.#e0(o)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,I),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=m(new u(e)));let i=Promise.withResolvers(),n=[];if(void 0===e)for(let e of this.#eZ)n.push(e[0]);else for(let e of this.#e1(r,t))n.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of n){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}i.resolve(Object.freeze(e))}),i.promise}#e0(e){let t=this.#eZ,r=[...t],n=[],s=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,n).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);i(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let s=r.request;if(!C(s.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==s.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let n of e=this.#e1(r.request)){let e=t.indexOf(n);i(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),n.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){throw this.#eZ.length=0,this.#eZ=r,e}}#e1(e,t,r){let i=[];for(let n of r??this.#eZ){let[r,s]=n;this.#e2(e,r,s,t)&&i.push(n)}return i}#e2(e,t,r=null,i){let n=new URL(e.url),a=new URL(t.url);if(i?.ignoreSearch&&(a.search="",n.search=""),!s(n,a,!0))return!1;if(null==r||i?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let i of o(r.headersList.get("vary")))if("*"===i||t.headersList.get(i)!==e.headersList.get(i))return!1;return!0}#e$(e,t,r=1/0){let i=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(i=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(i=m(new u(e)));let n=[];if(void 0===e)for(let e of this.#eZ)n.push(e[1]);else for(let e of this.#e1(i,t))n.push(e[1]);let s=[];for(let e of n){let t=d(c(e),"immutable");if(s.push(t),s.length>=r)break}return Object.freeze(s)}}Object.defineProperties(I.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let E=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(E),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...E,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:I}},3691(e,t,r){let{Cache:i}=r(1044),{webidl:n}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:o}=r(3025);class a{#e5=new Map;constructor(){arguments[0]!==o&&n.illegalConstructor(),n.util.markAsUncloneable(this)}async match(e,t={}){if(n.brandCheck(this,a),n.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=n.converters.RequestInfo(e),null!=(t=n.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e5.has(t.cacheName)){let r=new i(o,this.#e5.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e5.values()){let n=new i(o,r),s=await n.match(e,t);if(void 0!==s)return s}}async has(e){n.brandCheck(this,a);let t="CacheStorage.has";return n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e5.has(e)}async open(e){n.brandCheck(this,a);let t="CacheStorage.open";if(n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e5.has(e))return new i(o,this.#e5.get(e));let r=[];return this.#e5.set(e,r),new i(o,r)}async delete(e){n.brandCheck(this,a);let t="CacheStorage.delete";return n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e5.delete(e)}async keys(){return n.brandCheck(this,a),[...this.#e5.keys()]}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:s,has:s,open:s,delete:s,keys:s}),e.exports={CacheStorage:a}},8220(e,t,r){let i=r(4589),{URLSerializer:n}=r(3518),{isValidHeaderName:s}=r(638);e.exports={urlEquals:function(e,t,r=!1){return n(e,r)===n(t,r)},getFieldValues:function(e){i(null!==e);let t=[];for(let r of e.split(","))s(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:i}=r(6248),{stringify:n}=r(751),{webidl:s}=r(849),{Headers:o}=r(3470),a=s.brandCheckMultiple([o,globalThis.Headers].filter(Boolean));function A(e,t){s.argumentLengthCheck(arguments,2,"setCookie"),a(e);let r=n(t=s.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}s.converters.DeleteCookieAttributes=s.dictionaryConverter([{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null}]),s.converters.Cookie=s.dictionaryConverter([{converter:s.converters.DOMString,key:"name"},{converter:s.converters.DOMString,key:"value"},{converter:s.nullableConverter(e=>"number"==typeof e?s.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:s.nullableConverter(s.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"secure",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:s.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:s.sequenceConverter(s.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){s.argumentLengthCheck(arguments,1,"getCookies"),a(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r},deleteCookie:function(e,t,r){a(e);let i="deleteCookie";s.argumentLengthCheck(arguments,2,i),t=s.converters.DOMString(t,i,"name"),r=s.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){s.argumentLengthCheck(arguments,1,"getSetCookies"),a(e);let t=e.getSetCookie();return t?t.map(e=>i(e)):[]},setCookie:A,parseCookie:function(e){return i(e=s.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:i}=r(5358),{maxNameValuePairSize:n,maxAttributeValueSize:s}=r(6674),{isCTLExcludingHtab:o}=r(751),a=r(4589);function A(e,t={}){if(0===e.length)return t;a(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=i(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let n="",o="";if(r.includes("=")){let e={position:0};n=i("=",r,e),o=r.slice(e.position+1)}else n=r;if(n=n.trim(),(o=o.trim()).length>s)return A(e,t);let l=n.toLowerCase();if("expires"===l){let e=new Date(o);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=o.charCodeAt(0);if((r<48||r>57)&&"-"!==o[0]||!/^\d+$/.test(o))return A(e,t);t.maxAge=Number(o)}else if("domain"===l){let e=o;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===o.length||"/"!==o[0]?"/":o;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=o.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${n}=${o}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(o(e))return null;let t="",r="",s="",a="";if(e.includes(";")){let n={position:0};t=i(";",e,n),r=e.slice(n.position)}else t=e;if(t.includes("=")){let e={position:0};s=i("=",t,e),a=t.slice(e.position+1)}else a=t;return(s=s.trim(),a=a.trim(),s.length+a.length>n)?null:{name:s,value:a,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function i(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function n(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${s[e.getUTCDay()]}, ${a[e.getUTCDate()]} ${o[e.getUTCMonth()]} ${e.getUTCFullYear()} ${a[e.getUTCHours()]}:${a[e.getUTCMinutes()]}:${a[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:i,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let s=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&s.push("Secure"),e.httpOnly&&s.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");s.push(`Max-Age=${e.maxAge}`)}for(let o of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(46===i){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!n(i)||!n(i)&&45!==i||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),s.push(`Domain=${e.domain}`)),e.path&&(i(e.path),s.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&s.push(`Expires=${A(e.expires)}`),e.sameSite&&s.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!o.includes("="))throw Error("Invalid unparsed");let[e,...i]=o.split("="),n=e.trim(),a=i.join("=");t(n),r(a),s.push(`${n}=${a}`)}return s.join("; ")}}},621(e,t,r){let{Transform:i}=r(7075),{isASCIINumber:n,isValidLastEventId:s}=r(2833),o=Buffer.from("data"),a=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let i=0;i<t;i++)if(e[i]!==r[i])return!1;return!0}e.exports={EventSourceStream:class extends i{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let i=e.length,n=e.length;if(-1!==r&&(i=r,32===e[n=r+1]&&++n),c(e,i,o)){let r=e.toString("utf8",n);void 0===t.data?t.data=r:t.data+=` -${r}`;return}if(c(e,i,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,n)&&(t.retry=e.toString("utf8",n));return}if(c(e,i,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,n)&&(t.id=e.toString("utf8",n));return}if(c(e,i,a)){let r=e.toString("utf8",n);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&n(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&s(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let i=this.chunks[r],n=r===this.lineChunkIndex?this.linePos:0,s=r===this.chunkIndex?this.pos:i.length,o=i.subarray(n,s);t+=o.length,e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let i=this.chunks[t],n=i.length-r;if(e<n)return i[r+e];e-=n,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:i}=r(7075),{fetching:n}=r(7564),{webidl:s}=r(849),{EventSourceStream:o}=r(621),{parseMIMEType:a}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:g}=r(2833),u=!1;class h extends EventTarget{#e3={open:null,error:null,message:null};#e4;#e8=!1;#e9=0;#e6=null;#en=null;#Q;#eS;constructor(e,t={}){let r;super(),s.util.markAsUncloneable(this);let i="EventSource constructor";s.argumentLengthCheck(arguments,1,i),u||(u=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=s.converters.USVString(e),t=s.converters.EventSourceInitDict(t,i,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e4=r.href;let n="anonymous";!0===t.withCredentials&&(n="use-credentials",this.#e8=!0);let o=g(r,"",n);o.client=d.settingsObject,o.headersList.set("Accept","text/event-stream"),o.cache="no-store",o.initiator="other",this.#e6=o,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e4}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?a(t):"failure",n="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===n){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let s=new o({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});i(e.body.stream,s,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#en=n(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){s.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#en.abort(),this.#e6=null)}get onopen(){return this.#e3.open}set onopen(e){this.#e3.open&&this.removeEventListener("open",this.#e3.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e3.open=e):this.#e3.open=null}get onmessage(){return this.#e3.message}set onmessage(e){this.#e3.message&&this.removeEventListener("message",this.#e3.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e3.message=e):this.#e3.message=null}get onerror(){return this.#e3.error}set onerror(e){this.#e3.error&&this.removeEventListener("error",this.#e3.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e3.error=e):this.#e3.error=null}}let m={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,m),Object.defineProperties(h.prototype,m),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),s.converters.EventSourceInitDict=s.dictionaryConverter([{key:"withCredentials",converter:s.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:s.converters.any},{key:"node",converter:s.dictionaryConverter([{key:"reconnectionTime",converter:s.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:s.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:i}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,n){let s="no cors"===r?"no-cors":"cors";n&&"no-cors"===s&&(s="same-origin");let o="include";return"anonymous"===r&&(o="same-origin"),i({urlList:[e],destination:t,mode:s,credentials:o,useURLCredentials:!0})}}},4626(e,t,r){let i=r(1210),{ReadableStreamFrom:n,readableStreamClose:s,fullyReadBody:o,extractMimeType:a}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),g=r(4589),{isErrored:u,isDisturbed:h}=r(7075),{isUint8Array:m}=r(3429),{serializeAMimeType:p}=r(3518),{multipartFormDataParser:C}=r(7750),{parseJSONFromBytes:f}=r(5358),{utf8DecodeBytes:I}=r(2718),{ReadableStreamTee:E}=r(7830),y=new TextEncoder;function B(){}function Q(e,t=!1){let r=null,o=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){o=e},cancel(){},type:"bytes"}),g(d.is.ReadableStream(r));let a=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r -Content-Disposition: form-data`,i=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),n=e=>e.replace(/\r?\n|\r/g,"\r\n"),s=[],o=new Uint8Array([13,10]);l=0;let d=!1;for(let[t,a]of e)if("string"==typeof a){let e=y.encode(r+`; name="${i(n(t))}"`+`\r -\r -${n(a)}\r -`);s.push(e),l+=e.byteLength}else{let e=y.encode(`${r}; name="${i(n(t))}"`+(a.name?`; filename="${i(a.name)}"`:"")+"\r\n"+`Content-Type: ${a.type||"application/octet-stream"}\r -\r -`);s.push(e,a,o),"number"==typeof a.size?l+=e.byteLength+a.size+o.byteLength:d=!0}let g=y.encode(`--${t}--\r -`);s.push(g),l+=g.byteLength,d&&(l=null),A=e,a=async function*(){for(let e of s)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(i.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:n(e)}return("string"==typeof A||m(A))&&(a=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=a&&(async()=>{let e=a(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(u(r))break;e.length&&o.enqueue(new Uint8Array(e))}else e?.length&&!u(r)&&o.enqueue("string"==typeof e?y.encode(e):new Uint8Array(e));queueMicrotask(()=>s(o))})(),[{stream:r,source:A,length:l},h]}function N(e,t,r,i){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(b(e=i(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let n=Promise.withResolvers(),s=n.reject,a=e=>{try{n.resolve(t(e))}catch(e){s(e)}};return null==e.body?a(Buffer.allocUnsafe(0)):o(e.body,a,s),n.promise}function b(e){let t=e.body;return null!=t&&(t.stream.locked||i.isDisturbed(t.stream))}function S(e){let t=a(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(g(!i.isDisturbed(e),"The body has already been consumed."),g(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=E?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return N(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=p(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return N(this,e=>new Uint8Array(e).buffer,e,t)},text(){return N(this,I,e,t)},json(){return N(this,f,e,t)},formData(){return N(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=C(e,r),i=new A;return l(i,t),i}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,i]of t)r.append(e,i);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return N(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(b(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,i=new TextDecoderStream("UTF-8");return r.pipeThrough(i)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||u(t)||t.cancel("Response object has been garbage collected").catch(B)}),bodyUnusable:b}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),i=[301,302,303,307,308],n=new Set(i),s=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],o=new Set(s),a=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...a],l=new Set(a),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),g=["CONNECT","TRACE","TRACK"],u=new Set(g),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],m=new Set(h);e.exports={subresource:h,forbiddenMethods:g,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:s,requestDuplex:["half"],subresourceSet:m,badPortsSet:o,redirectStatusSet:n,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:u,referrerPolicyTokens:l}},3518(e,t,r){let i=r(4589),{forgivingBase64:n,collectASequenceOfCodePoints:s,collectASequenceOfCodePointsFast:o,isomorphicDecode:a,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,g=/[\u000A\u000D\u0009\u0020]/u,u=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,i=e.hash.length,n=0===i?r:r.substring(0,r.length-i);return!i&&r.endsWith("#")?n.slice(0,-1):n}function m(e){return function(e){let t=e.length,r=new Uint8Array(t),i=0,n=0;for(;n<t;){let t=e[n];37!==t?r[i++]=t:37!==t||p(e[n+1])&&p(e[n+2])?(r[i++]=C(e[n+1])<<4|C(e[n+2]),n+=2):r[i++]=37,++n}return t===i?r:r.subarray(0,i)}(c.encode(e))}function p(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=57?e-48:(223&e)-55}function f(e){e=y(e,!0,!0);let t={position:0},r=o("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let i=o(";",e,t);if(0===(i=y(i,!1,!0)).length||!d.test(i))return"failure";let n=r.toLowerCase(),a=i.toLowerCase(),A={type:n,subtype:a,parameters:new Map,essence:`${n}/${a}`};for(;t.position<e.length;){t.position++,s(e=>g.test(e),e,t);let r=s(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let i=null;if('"'===e[t.position])i=I(e,t,!0),o(";",e,t);else if(0===(i=y(i=o(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===i.length||u.test(i))&&!A.parameters.has(r)&&A.parameters.set(r,i)}return A}function I(e,t,r=!1){let n=t.position,o="";for(i('"'===e[t.position]),t.position++;o+=s(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){o+="\\";break}o+=e[t.position],t.position++}else{i('"'===r);break}}return r?o:e.slice(n,t.position)}function E(e){return 13===e||10===e||9===e||32===e}function y(e,t=!0,r=!0){return l(e,t,r,E)}e.exports={dataURLProcessor:function(e){i("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},s=o(",",t,r),l=s.length;if(s=A(s,!0,!0),r.position>=t.length)return"failure";r.position++;let c=m(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(s)){if("failure"===(c=n(a(c))))return"failure";s=(s=(s=s.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let d=f(s);return"failure"===d&&(d=f("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:m,parseMIMEType:f,collectAnHTTPQuotedString:I,serializeAMimeType:function(e){i("failure"!==e);let{parameters:t,essence:r}=e,n=r;for(let[e,r]of t.entries())n+=";",n+=e,n+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),n+=r;return n},removeHTTPWhitespace:y,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:i}=r(1210),{HTTP_TOKEN_CODEPOINTS:n}=r(3518),{makeEntry:s}=r(1304),{webidl:o}=r(849),a=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function g(e,t,r){let i=r.position;for(;i<t.length&&e(t[i]);)++i;return t.subarray(r.position,r.position=i)}function u(e,t,r,i){let n=0,s=e.length-1;if(t)for(;n<e.length&&i(e[n]);)n++;if(r)for(;s>0&&i(e[s]);)s--;return 0===n&&s===e.length-1?e:e.subarray(n,s+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function m(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){a("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let p=Buffer.from(`--${r}`,"utf8"),C=[],f={position:0},I=e.indexOf(p);if(-1===I)throw h("no boundary found in multipart body");for(f.position=I;;){let t,r;if(e.subarray(f.position,f.position+p.length).equals(p))f.position+=p.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[r.position+i])return!1;return!0}(e,l,f))return C;if(13!==e[f.position]||10!==e[f.position+1])throw h("expected CRLF");f.position+=2;let{name:I,filename:E,contentType:y,encoding:B}=function(e,t){let r=null,s=null,o=null,a=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:s,contentType:o,encoding:a}}let l=g(e=>10!==e&&13!==e&&58!==e,e,t);if(l=u(l,!0,!0,e=>9===e||32===e),!n.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,g(e=>32===e||9===e,e,t),i(l)){case"content-disposition":{r=s=null;let i=!1;if("form-data"!==g(e=>m(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let n=function(e,t){let r;59===e[t.position]&&t.position++,g(e=>32===e||9===e,e,t);let i=g(e=>m(e)&&61!==e&&42!==e,e,t);if(0===i.length)return null;let n=i.toString("ascii").toLowerCase(),s=42===e[t.position];if(s&&t.position++,61!==e[t.position])return null;if(t.position++,g(e=>32===e||9===e,e,t),s){let i=g(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==i[0]&&85!==i[0]||116!==i[1]&&84!==i[1]||102!==i[2]&&70!==i[2]||45!==i[3]||56!==i[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(i.subarray(7)))}else if(34===e[t.position]){t.position++;let i=g(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(i).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let i=g(e=>m(e)&&59!==e,e,t);r=c.decode(i)}return{name:n,value:r,extended:s}}(e,t);if(!n)break;"name"===n.name?r=n.value:"filename"===n.name&&(n.extended?(s=n.value,i=!0):i||(s=n.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=g(e=>10!==e&&13!==e,e,t);o=A(r=u(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=g(e=>10!==e&&13!==e,e,t);a=A(r=u(r,!1,!0,e=>9===e||32===e));break}default:g(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,f);f.position+=2;{let r=e.indexOf(p.subarray(2),f.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(f.position,r-4),f.position+=t.length,"base64"===B&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[f.position]||10!==e[f.position+1])throw h("expected CRLF");f.position+=2,null!==E?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(y??="text/plain")&&(y=""),r=new File([t],E,{type:y})):r=d.decode(Buffer.from(t)),a(o.is.USVString(I)),a("string"==typeof r&&o.is.USVString(r)||o.is.File(r)),C.push(s(I,r,E))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:i}=r(638),{kEnumerableProperty:n}=r(1210),{webidl:s}=r(849),o=r(7975),{runtimeFeatures:a}=r(6979),A=a.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(s.util.markAsUncloneable(this),void 0!==e)throw s.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){s.brandCheck(this,l);let i="FormData.append";s.argumentLengthCheck(arguments,2,i),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,i,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let n=u(e,t,r);this.#eS.push(n)}delete(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.delete"),e=s.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.get"),e=s.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.getAll"),e=s.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.has"),e=s.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){s.brandCheck(this,l);let i="FormData.set";s.argumentLengthCheck(arguments,2,i),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,i,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let n=u(e,t,r),o=this.#eS.findIndex(t=>t.name===e);-1!==o?this.#eS=[...this.#eS.slice(0,o),n,...this.#eS.slice(o+1).filter(t=>t.name!==e)]:this.#eS.push(n)}[o.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let i=o.formatWithOptions(t,r);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:g}=l;function u(e,t,r){if("string"==typeof t);else if(s.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),i("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:n,delete:n,get:n,getAll:n,has:n,set:n,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),s.is.FormData=s.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:u,setFormDataState:d,getFormDataBoundary:g}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:i}=r(3025),{kEnumerableProperty:n}=r(1210),{iteratorMixin:s,isValidHeaderName:o,isValidHeaderValue:a}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function g(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function u(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let i=t[r];if(2!==i.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`});h(e,i[0],i[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let i=0;i<r.length;++i)h(e,r[i],t[r[i]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=g(r),o(t)){if(!a(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===f(e))throw TypeError("immutable");return E(e).append(t,r,!1)}function m(e,t){return e[0]<t[0]?-1:1}class p{cookies=null;sortedMap;headersMap;constructor(e){e instanceof p?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase(),n=this.headersMap.get(i);if(n){let e="cookie"===i?"; ":", ";this.headersMap.set(i,{name:n.name,value:`${n.value}${e}${t}`})}else this.headersMap.set(i,{name:e,value:t});"set-cookie"===i&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase();"set-cookie"===i&&(this.cookies=[t]),this.headersMap.set(i,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:i}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,i]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),i=r.next().value;t[0]=[i[0],i[1].value],l(null!==i[1].value);for(let i=1,n=0,s=0,o=0,a=0,A,c;i<e;++i){for(c=r.next().value,l(null!==(A=t[i]=[c[0],c[1].value])[1]),o=0,s=i;o<s;)t[a=o+(s-o>>1)][0]<=A[0]?o=a+1:s=a;if(i!==a){for(n=i;n>o;)t[n]=t[--n];t[o]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:i}}of this.headersMap)t[e++]=[r,i],l(null!==i);return t.sort(m)}}}class C{#tr;#ti;constructor(e){if(A.util.markAsUncloneable(this),e===i)return;this.#ti=new p,this.#tr="none",void 0!==e&&u(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.delete"),!o(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.contains(e,!1)&&this.#ti.delete(e,!1)}get(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.get(e,!1)}has(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.contains(e,!1)}set(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=g(t=A.converters.ByteString(t,r,"value")),o(e)){if(!a(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.set(e,t,!1)}getSetCookie(){A.brandCheck(this,C);let e=this.#ti.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#ti.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#ti}static setHeadersList(e,t){e.#ti=t}}let{getHeadersGuard:f,setHeadersGuard:I,getHeadersList:E,setHeadersList:y}=C;Reflect.deleteProperty(C,"getHeadersGuard"),Reflect.deleteProperty(C,"setHeadersGuard"),Reflect.deleteProperty(C,"getHeadersList"),Reflect.deleteProperty(C,"setHeadersList"),s("Headers",C,function(e){let t=E(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],i=t.toSortedArray(),n=t.cookies;if(null===n||1===n.length)return t.sortedMap=i;for(let e=0;e<i.length;++e){let{0:t,1:s}=i[e];if("set-cookie"===t)for(let e=0;e<n.length;++e)r.push([t,n[e]]);else r.push([t,s])}return t.sortedMap=r},0,1),Object.defineProperties(C.prototype,{append:n,delete:n,get:n,has:n,set:n,getSetCookie:n,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let i=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&i===C.prototype.entries)try{return E(e).entriesList}catch{}return"function"==typeof i?A.converters["sequence<sequence<ByteString>>"](e,t,r,i.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:u,compareHeaderName:m,Headers:C,HeadersList:p,getHeadersGuard:f,setHeadersGuard:I,setHeadersList:y,getHeadersList:E}},7564(e,t,r){let i,{makeNetworkError:n,makeAppropriateNetworkError:s,filterResponse:o,makeResponse:a,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:g,getRequestDispatcher:u,getRequestState:h,removeRequestAbortListener:m}=r(9553),p=r(8522),{makePolicyContainer:C,clonePolicyContainer:f,requestBadPort:I,TAOCheck:E,appendRequestOriginHeader:y,responseLocationURL:B,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:N,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:D,crossOriginResourcePolicyCheck:x,determineRequestsReferrer:R,coarsenedSharedCurrentTime:M,sameOrigin:k,isCancelled:v,isAborted:U,isErrorLike:F,fullyReadBody:T,readableStreamClose:L,urlIsLocal:O,urlIsHttpHttpsScheme:P,urlHasHttpsScheme:H,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:z,createInflate:q,extractMimeType:V,hasAuthenticationEntry:_,includesCredentials:J,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:X,extractBody:K}=r(4626),{redirectStatusSet:Z,nullBodyStatus:$,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),ei=r(8474),{Readable:en,pipeline:es,finished:eo,isErrored:ea,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eg,minimizeSupportedMimeType:eu}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:em}=r(849),{STATUS_CODES:ep}=r(7067),{bytesMatch:eC}=r(2300),{isomorphicEncode:ef}=r(5358),eI=["GET","HEAD"],eE="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function ey(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let i=ec(r[t]),n=r[t+1];if(Array.isArray(n)&&!Buffer.isBuffer(n))for(let t of n)e.append(i,t.toString("latin1"),!0);else e.append(i,n.toString("latin1"),!0)}return}for(let[r,i]of Object.entries(t??{}))if(Array.isArray(i))for(let t of i)e.append(r,`${t}`,!0);else e.append(r,`${i}`,!0)}class eB extends ei{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],i=e.timingInfo,n=e.cacheState;P(r)&&null!==i&&(e.timingAllowPassed||(i=S({startTime:i.startTime}),n=""),i.endTime=M(),e.timingInfo=i,eN(i,r.href,t,globalThis,n,"",e.status))}let eN=performance.markResourceTiming;function eb(e,t,r,i,n){if(e&&e.reject(i),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(i).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let s=l(r);s.body?.stream!=null&&eA(s.body.stream)&&n.error(i)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseEndOfBody:n,processResponseConsumeBody:s,useParallelQueue:o=!1,dispatcher:a=eh(),requestObject:A=null}){j(a);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:M(c)}),g={controller:new eB(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseConsumeBody:s,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=f(e.client.policyContainer):e.policyContainer=C()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(g,!1),g.controller}async function ew(e,t){try{let r=e.request,i=null;if(r.localURLsOnly&&!O(Q(r))&&(i=n("local URLs only")),b(r),"blocked"===I(r)&&(i=n("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===i){let t=Q(r);k(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",i=await eD(e)):"same-origin"===r.mode?i=n('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?i=n('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",i=await eD(e)):P(Q(r))?(r.responseTainting="cors",i=await eR(e)):i=n("URL scheme must be a HTTP(S) scheme")}if(t)return i;0===i.status||i.internalResponse||(r.responseTainting,"basic"===r.responseTainting?i=o(i,"basic"):"cors"===r.responseTainting?i=o(i,"cors"):"opaque"===r.responseTainting?i=o(i,"opaque"):j(!1));let s=0===i.status?i:i.internalResponse;if(0===s.urlList.length&&s.urlList.push(...r.urlList),r.timingAllowFailed||(i.timingAllowPassed=!0),"opaque"===i.type&&206===s.status&&s.rangeRequested&&!r.headers.contains("range",!0)&&(i=s=n()),0!==i.status&&("HEAD"===r.method||"CONNECT"===r.method||$.includes(s.status))&&(s.body=null,e.controller.dump=!0),r.integrity){let t=t=>ex(e,n(t));if("opaque"===r.responseTainting||null==i.body)return void t(i.error);T(i.body,n=>{eC(n,r.integrity)?(i.body=X(n)[0],ex(e,i)):t("integrity mismatch")},t)}else ex(e,i)}catch(t){e.controller.terminate(t)}}function eD(e){if(v(e)&&0===e.request.redirectCount)return Promise.resolve(s(e));let{request:t}=e,{protocol:o}=Q(t);switch(o){case"about:":return Promise.resolve(n("about scheme is not supported"));case"blob:":{i||(i=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(n("NetworkError when attempting to fetch resource."));let s=i(e.toString());if("GET"!==t.method||!em.is.Blob(s))return Promise.resolve(n("invalid method"));let o=a(),A=s.size,l=ef(`${A}`),c=s.type;if(t.headersList.contains("range",!0)){o.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(n("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:i}=e;if(null===r)i=(r=A-i)+i-1;else{if(r>=A)return Promise.resolve(n("Range start is greater than the blob's size."));(null===i||i>=A)&&(i=A-1)}let a=s.slice(r,i+1,c);o.body=K(a)[0];let l=ef(`${a.size}`),d=z(r,i,A);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",d,!0)}else{let e=K(s);o.statusText="OK",o.body=e[0],o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0)}return Promise.resolve(o)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(n("failed to fetch the data URL"));return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eg(e.mimeType)}]],body:X(e.body)[0]}))}case"file:":return Promise.resolve(n("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>n(e));default:return Promise.resolve(n("unknown scheme"))}}function ex(e,t){let r=e.timingInfo,i=()=>{let i=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!P(e.request.url))return;r.endTime=i;let n=t.cacheState,s=t.bodyInfo;t.timingAllowPassed||(r=S(r),n="");let o=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){o=t.status;let e=V(t.headersList);"failure"!==e&&(s.contentType=eu(e))}null!=e.request.initiatorType&&eN(r,e.request.url.href,e.request.initiatorType,globalThis,n,s,o)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let n="error"===t.type?t:t.internalResponse??t;null==n.body?i():eo(n.body.stream,()=>{i()})}async function eR(e){let t=e.request,r=null,i=null,s=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),i=r=await eM(e),"cors"===t.responseTainting&&"failure"===D(t,r))return n("cors failure");"failure"===E(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===x(t.origin,t.client,t.destination,i)?n("blocked"):(Z.has(i.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=n("unexpected redirect"):"manual"===t.redirect?r=i:"follow"===t.redirect?r=await function(e,t){let r,i=e.request,s=t.internalResponse?t.internalResponse:t;try{if(r=B(s,Q(i).hash),null==r)return t}catch(e){return Promise.resolve(n(e))}if(!P(r))return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"));if(20===i.redirectCount)return Promise.resolve(n("redirect count exceeded"));if(i.redirectCount+=1,"cors"===i.mode&&(r.username||r.password)&&!k(i,r))return Promise.resolve(n('cross origin not allowed for request mode "cors"'));if("cors"===i.responseTainting&&(r.username||r.password))return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'));if(303!==s.status&&null!=i.body&&null==i.body.source)return Promise.resolve(n());if([301,302].includes(s.status)&&"POST"===i.method||303===s.status&&!eI.includes(i.method))for(let e of(i.method="GET",i.body=null,et))i.headersList.delete(e);k(Q(i),r)||(i.headersList.delete("authorization",!0),i.headersList.delete("proxy-authorization",!0),i.headersList.delete("cookie",!0),i.headersList.delete("host",!0)),null!=i.body&&(j(null!=i.body.source),i.body=X(i.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=M(e.crossOriginIsolatedCapability),0===o.redirectStartTime&&(o.redirectStartTime=o.startTime),i.urlList.push(r),N(i,s),ew(e,!0)}(e,r):j(!1)),r.timingInfo=s,r)}async function eM(e,t=!1,r=!1){let i=e.request,o=null,a=null,A=null;"no-window"===i.window&&"error"===i.redirect?(o=e,a=i):(i.body?.source!=null?a=g(i):(a=g({...i,body:null})).body=i.body,(o={...e}).request=a);let l="include"===i.credentials||"same-origin"===i.credentials&&"basic"===i.responseTainting,c=a.body?a.body.length:null,d=null;if(null==a.body&&["POST","PUT"].includes(a.method)&&(d="0"),null!=c&&(d=ef(`${c}`)),null==d||a.headersList.contains("content-length",!0)||a.headersList.append("content-length",d,!0),null!=c&&a.keepalive,em.is.URL(a.referrer)&&a.headersList.append("referer",ef(a.referrer.href),!0),y(a),w(a),a.headersList.contains("user-agent",!0)||a.headersList.append("user-agent",eE,!0),"default"===a.cache&&(a.headersList.contains("if-modified-since",!0)||a.headersList.contains("if-none-match",!0)||a.headersList.contains("if-unmodified-since",!0)||a.headersList.contains("if-match",!0)||a.headersList.contains("if-range",!0))&&(a.cache="no-store"),"no-cache"!==a.cache||a.preventNoCacheCacheControlHeaderModification||a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","max-age=0",!0),("no-store"===a.cache||"reload"===a.cache)&&(a.headersList.contains("pragma",!0)||a.headersList.append("pragma","no-cache",!0),a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","no-cache",!0)),a.headersList.contains("range",!0)&&a.headersList.append("accept-encoding","identity",!0),a.headersList.contains("accept-encoding",!0)||(H(Q(a))?a.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):a.headersList.append("accept-encoding","gzip, deflate",!0)),a.headersList.delete("host",!0),l&&!a.headersList.contains("authorization",!0)){let e=null;if(_(a)&&(void 0===a.useURLCredentials||!J(Q(a))));else if(J(Q(a))&&t){let{username:t,password:r}=Q(a);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&a.headersList.append("Authorization",e,!1)}if(a.cache="no-store","no-store"!==a.cache&&a.cache,null==A){if("only-if-cached"===a.cache)return n("only if cached");let e=await ek(o,l,r);!ee.has(a.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...a.urlList],a.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==a.responseTainting&&l&&(void 0!==i.useURLCredentials||W(i.traversableForUserPrompts))){if(null!=i.body){if(null==i.body.source)return A;i.body=X(i.body.source)[0]}if(void 0===i.useURLCredentials||t)return v(e)?s(e):A;e.controller.connection.destroy(),A=await eM(e,!0)}if(407===A.status)return"no-window"===i.window?n():v(e)?s(e):n("proxy authentication required");if(421===A.status&&!r&&(null==i.body||null!=i.body.source)){if(v(e))return s(e);e.controller.connection.destroy(),A=await eM(e,t,!0)}return A}async function ek(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let i=e.request,o=null,A=e.timingInfo;i.cache="no-store",i.mode;let l=null;if(null==i.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=i.body){let t=async function*(t){v(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of i.body.stream)yield*t(e);!v(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){v(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:n,headersList:s,socket:d}=await function({body:t}){let r=Q(i),n=e.controller.dispatcher,s=r.pathname+r.search,o=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(a,l){return new Promise((d,g)=>n.dispatch({path:o?`${s}?`:s,origin:r.origin,method:i.method,body:n.isMockActive?i.body&&(i.body.source||i.body.stream):a,__mockAgentBodyForDispatch:a,headers:i.headersList.entries,maxRedirections:0,upgrade:"websocket"===i.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let i=e=>t.abort(e);r.destroyed?i(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",i),this.abort=r.abort=i),A.finalNetworkRequestStartTime=M(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=M(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,n){if(t<200)return;let s=e?.rawHeaders??[],o=new c;ey(o,r,s);let a=o.get("location",!0);this.body=new en({read:()=>e.resume()});let A=a&&"follow"===i.redirect&&Z.has(t),l=[];if("HEAD"!==i.method&&"CONNECT"!==i.method&&!$.includes(t)&&!A){let e=o.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void g(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(p.createGunzip({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(q({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(p.createBrotliDecompress({flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(p.createZstdDecompress({flush:p.constants.ZSTD_e_continue,finishFlush:p.constants.ZSTD_e_end}));else{l.length=0;break}}}let u=t=>this.onResponseError(e,t);d({status:t,statusText:n,headersList:o,body:l.length?es(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",u):this.body.on("error",u)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,n){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===i.mode&&!1!==l&&n?.code==="UND_ERR_INFO"&&n?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(a,!1)):(this.body?.destroy(n),e.controller.terminate(n),g(n))},onRequestUpgrade(e,t,r,i){if(null!=i.session&&200!==t||null==i.session&&101!==t)return!1;let n=e?.rawHeaders??[],s=new c;return ey(s,r,n),d({status:t,statusText:ep[t],headersList:s,socket:i}),!0}}))}(t)}({body:l});if(d)o=a({status:r,statusText:n,headersList:s,socket:d});else{let i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next(),o=a({status:r,statusText:n,headersList:s})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),s(e,t);return n(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{v(e)||e.controller.abort(t)},type:"bytes"});return o.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){U(e)?(o.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:F(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:i}=await e.controller.next();if(U(e))break;t=r?void 0:i}catch(i){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=i,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,o);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let i=new Uint8Array(t);if(i.byteLength&&e.controller.controller.enqueue(i),ea(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},o}e.exports={fetch:function(e,t){let r;em.argumentLengthCheck(arguments,1,"globalThis.fetch");let i=Promise.withResolvers();try{r=new d(e,t)}catch(e){return i.reject(e),i.promise}let n=h(r);if(r.signal.aborted)return eb(i,n,null,r.signal.reason,null),i.promise;let s=n.client.globalObject;s?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let o=null,a=!1,l=null,c=el(r.signal,()=>{a=!0,j(null!=l),l.abort(r.signal.reason);let e=o?.deref();eb(i,n,e,r.signal.reason,l.controller)}),g=()=>{c(),m(r)};return l=eS({request:n,processResponseEndOfBody:e=>{eQ(e,"fetch"),g()},processResponse:e=>{if(!a){if(e.aborted){eb(i,n,o,l.serializedAbortReason,l.controller),g();return}if("error"===e.type){i.reject(TypeError("fetch failed",{cause:e.error})),g();return}o=new WeakRef(A(e,"immutable")),i.resolve(o.deref()),i=null}},dispatcher:u(r),requestObject:r}),i.promise},Fetch:eB,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let i,{extractBody:n,mixinBody:s,cloneBody:o,bodyUnusable:a}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:g,setHeadersList:u,getHeadersList:h}=r(3470),m=r(1210),p=r(7975),{isValidHTTPToken:C,sameOrigin:f,environmentSettingsObject:I}=r(638),{forbiddenMethodsSet:E,corsSafeListedMethodsSet:y,referrerPolicy:B,requestRedirect:Q,requestMode:N,requestCredentials:b,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:D,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=m,{webidl:M}=r(849),{URLSerializer:k}=r(3518),{kConstruct:v}=r(3025),U=r(4589),{getMaxListeners:F,setMaxListeners:T,defaultMaxListeners:L}=r(8474),O=Symbol("abortController"),P=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),H=new WeakMap;try{i=F(new AbortController().signal)>0}catch{i=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){P.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=H.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}H.delete(r.signal)}}}}let G=!1;class z{#tn;#Q;#$;#eS;#ts=null;constructor(e,t){let r;if(M.util.markAsUncloneable(this),e===v)return;M.argumentLengthCheck(arguments,1,"Request constructor"),e=M.converters.RequestInfo(e),t=M.converters.RequestInit(t);let s=null,o=null,g=I.settingsObject.baseUrl,p=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,g)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=K({urlList:[r]}),o="cors"}else U(M.is.Request(e)),s=e.#eS,p=e.#tn,this.#Q=t.dispatcher||e.#Q;let B=I.settingsObject.origin,Q="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&f(s.window,B)&&(Q=s.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),s=K({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:I.settingsObject,window:Q,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let N=0!==Object.keys(t).length;if(N&&("navigate"===s.mode&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)s.referrer="no-referrer";else{let t;try{t=new URL(e,g)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||B&&!f(t,I.settingsObject.baseUrl)?s.referrer="client":s.referrer=t}}if(void 0!==t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:o))throw M.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(s.mode=r),void 0!==t.credentials&&(s.credentials=t.credentials),void 0!==t.cache&&(s.cache=t.cache),"only-if-cached"===s.cache&&"same-origin"!==s.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(s.redirect=t.redirect),null!=t.integrity&&(s.integrity=String(t.integrity)),void 0!==t.keepalive&&(s.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)s.method=r;else{if(!C(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(E.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=x[t]??e,s.method=e}G||"patch"!==s.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(p=t.signal),this.#eS=s;let b=new AbortController;if(this.#tn=b.signal,null!=p)if(p.aborted)b.abort(p.reason);else{this[O]=b;let e=Y(new WeakRef(b));i&&F(p)===L&&T(1500,p);let t=m.addAbortListener(p,e);P.register(b,{signal:p,abort:e},e),this.#ts=()=>{P.unregister(e),t(),this.#ts=null}}if(this.#$=new A(v),u(this.#$,s.headersList),d(this.#$,"request"),"no-cors"===r){if(!y.has(s.method))throw TypeError(`'${s.method} is unsupported in no-cors mode.`);d(this.#$,"request-no-cors")}if(N){let e=h(this.#$),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:i}of r.rawValues())e.append(t,i,!1);e.cookies=r.cookies}else l(this.#$,r)}let S=M.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===s.method||"HEAD"===s.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=n(t.body,s.keepalive);w=e,r&&!h(this.#$).contains("content-type",!0)&&this.#$.append("content-type",r,!0)}let D=w??S;if(null!=D&&null==D.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==s.mode&&"cors"!==s.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let k=D;if(null==w&&null!=S){if(a(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),k={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=k}get method(){return M.brandCheck(this,z),this.#eS.method}get url(){return M.brandCheck(this,z),k(this.#eS.url)}get headers(){return M.brandCheck(this,z),this.#$}get destination(){return M.brandCheck(this,z),this.#eS.destination}get referrer(){return(M.brandCheck(this,z),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return M.brandCheck(this,z),this.#eS.referrerPolicy}get mode(){return M.brandCheck(this,z),this.#eS.mode}get credentials(){return M.brandCheck(this,z),this.#eS.credentials}get cache(){return M.brandCheck(this,z),this.#eS.cache}get redirect(){return M.brandCheck(this,z),this.#eS.redirect}get integrity(){return M.brandCheck(this,z),this.#eS.integrity}get keepalive(){return M.brandCheck(this,z),this.#eS.keepalive}get isReloadNavigation(){return M.brandCheck(this,z),this.#eS.reloadNavigation}get isHistoryNavigation(){return M.brandCheck(this,z),this.#eS.historyNavigation}get signal(){return M.brandCheck(this,z),this.#tn}get body(){return M.brandCheck(this,z),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return M.brandCheck(this,z),!!this.#eS.body&&m.isDisturbed(this.#eS.body.stream)}get duplex(){return M.brandCheck(this,z),"half"}clone(){if(M.brandCheck(this,z),a(this.#eS))throw TypeError("unusable");let e=Z(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=H.get(this.signal);void 0===e&&(e=new Set,H.set(this.signal,e));let r=new WeakRef(t);e.add(r),m.addAbortListener(t.signal,Y(r))}return $(e,this.#Q,t.signal,g(this.#$))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${p.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#tn=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#$=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#ts?.()}}let{setRequestSignal:q,getRequestDispatcher:V,setRequestDispatcher:_,setRequestHeaders:J,getRequestState:W,setRequestState:j,removeRequestAbortListener:X}=z;function K(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function Z(e){let t=K({...e,body:null});return null!=e.body&&(t.body=o(e.body)),t}function $(e,t,r,i){let n=new z(v);j(n,e),_(n,t),q(n,r);let s=new A(v);return J(n,s),u(s,e.headersList),d(s,i),n}Reflect.deleteProperty(z,"setRequestSignal"),Reflect.deleteProperty(z,"getRequestDispatcher"),Reflect.deleteProperty(z,"setRequestDispatcher"),Reflect.deleteProperty(z,"setRequestHeaders"),Reflect.deleteProperty(z,"getRequestState"),Reflect.deleteProperty(z,"setRequestState"),Reflect.deleteProperty(z,"removeRequestAbortListener"),s(z,W),Object.defineProperties(z.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),M.is.Request=M.util.MakeTypeAssertion(z),M.converters.RequestInfo=function(e){return"string"==typeof e?M.converters.USVString(e):M.is.Request(e)?e:M.converters.USVString(e)},M.converters.RequestInit=M.dictionaryConverter([{key:"method",converter:M.converters.ByteString},{key:"headers",converter:M.converters.HeadersInit},{key:"body",converter:M.nullableConverter(M.converters.BodyInit)},{key:"referrer",converter:M.converters.USVString},{key:"referrerPolicy",converter:M.converters.DOMString,allowedValues:B},{key:"mode",converter:M.converters.DOMString,allowedValues:N},{key:"credentials",converter:M.converters.DOMString,allowedValues:b},{key:"cache",converter:M.converters.DOMString,allowedValues:S},{key:"redirect",converter:M.converters.DOMString,allowedValues:Q},{key:"integrity",converter:M.converters.DOMString},{key:"keepalive",converter:M.converters.boolean},{key:"signal",converter:M.nullableConverter(e=>M.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:M.converters.any},{key:"duplex",converter:M.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:M.converters.any},{key:"priority",converter:M.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:z,makeRequest:K,fromInnerRequest:$,cloneRequest:Z,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:X}},165(e,t,r){let{Headers:i,HeadersList:n,fill:s,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:g,bodyUnusable:u}=r(4626),h=r(1210),m=r(7975),{kEnumerableProperty:p}=h,{isValidReasonPhrase:C,isCancelled:f,isAborted:I,isErrorLike:E,environmentSettingsObject:y}=r(638),{redirectStatusSet:B,nullBodyStatus:Q}=r(6113),{webidl:N}=r(849),{URLSerializer:b}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:D,serializeJavascriptValueToJSONString:x}=r(5358),R=new TextEncoder("utf-8");class M{#$;#eS;static error(){return G(O(),"immutable")}static json(e,t){N.argumentLengthCheck(arguments,1,"Response.json"),t=N.converters.ResponseInit(t);let r=l(R.encode(x(e))),i=G(L({}),"response");return Y(i,t,{body:r[0],type:"application/json"}),i}static redirect(e,t=302){let r;N.argumentLengthCheck(arguments,1,"Response.redirect"),e=N.converters.USVString(e),t=N.converters["unsigned short"](t);try{r=new URL(e,y.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!B.has(t))throw RangeError(`Invalid status code ${t}`);let i=G(L({}),"immutable");i.#eS.status=t;let n=D(b(r));return i.#eS.headersList.append("location",n,!0),i}constructor(e=null,t){if(N.util.markAsUncloneable(this),e===S)return;null!==e&&(e=N.converters.BodyInit(e,"Response","body")),t=N.converters.ResponseInit(t),this.#eS=L({}),this.#$=new i(S),a(this.#$,"response"),A(this.#$,this.#eS.headersList);let r=null;if(null!=e){let[t,i]=l(e);r={body:t,type:i}}Y(this,t,r)}get type(){return N.brandCheck(this,M),this.#eS.type}get url(){N.brandCheck(this,M);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":b(t,!0)}get redirected(){return N.brandCheck(this,M),this.#eS.urlList.length>1}get status(){return N.brandCheck(this,M),this.#eS.status}get ok(){return N.brandCheck(this,M),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return N.brandCheck(this,M),this.#eS.statusText}get headers(){return N.brandCheck(this,M),this.#$}get body(){return N.brandCheck(this,M),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return N.brandCheck(this,M),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(N.brandCheck(this,M),u(this.#eS))throw N.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&g.register(this,new WeakRef(this.#eS.body.stream)),G(e,o(this.#$))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#$}static setResponseHeaders(e,t){e.#$=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:k,setResponseHeaders:v,getResponseState:U,setResponseState:F}=M;function T(e){if(e.internalResponse)return H(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new n(e?.headersList):new n,urlList:e?.urlList?[...e.urlList]:[]}}function O(e){return L({type:"error",status:0,error:E(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function P(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,i)=>(w(!(r in t)),e[r]=i,!0)})}function H(e,t){return"basic"===t?P(e,{type:"basic",headersList:e.headersList}):"cors"===t?P(e,{type:"cors",headersList:e.headersList}):"opaque"===t?P(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?P(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!C(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(U(e).status=t.status),"statusText"in t&&null!=t.statusText&&(U(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&s(k(e),t.headers),r){if(Q.includes(e.status))throw N.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});U(e).body=r.body,null==r.type||U(e).headersList.contains("content-type",!0)||U(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new M(S);F(r,e);let n=new i(S);return v(r,n),A(n,e.headersList),a(n,t),0!==e.urlList.length&&e.body?.stream&&g.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(M,"getResponseHeaders"),Reflect.deleteProperty(M,"setResponseHeaders"),Reflect.deleteProperty(M,"getResponseState"),Reflect.deleteProperty(M,"setResponseState"),d(M,U),Object.defineProperties(M.prototype,{type:p,url:p,status:p,ok:p,redirected:p,statusText:p,headers:p,clone:p,body:p,bodyUsed:p,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(M,{json:p,redirect:p,error:p}),N.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?N.converters.USVString(e,t,r):N.is.Blob(e)||N.is.BufferSource(e)||N.is.FormData(e)||N.is.URLSearchParams(e)?e:N.converters.DOMString(e,t,r)},N.converters.BodyInit=function(e,t,r){return N.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:N.converters.XMLHttpRequestBodyInit(e,t,r)},N.converters.ResponseInit=N.dictionaryConverter([{key:"status",converter:N.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:N.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:N.converters.HeadersInit}]),N.is.Response=N.util.MakeTypeAssertion(M),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:O,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(f(e)),I(e)?O(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):O(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:H,Response:M,cloneResponse:T,fromInnerResponse:G,getResponseState:U}},638(e,t,r){let{Transform:i}=r(7075),n=r(8522),{redirectStatusSet:s,referrerPolicyTokens:o,badPortsSet:a}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:g,isValidHTTPToken:u,normalizedMethodRecordsBase:h}=r(1210),m=r(4589),{isUint8Array:p}=r(3429),{webidl:C}=r(849),{isomorphicEncode:f,collectASequenceOfCodePoints:I,removeChars:E}=r(5358);function y(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function B(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function N(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function b(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(m(C.is.URL(e)),F(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),D=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function x(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),D(e)):w(e)}function R(e){var t;return!!C.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||x(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function M(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let k=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function v(e,t,r=0,i=1){class n{#to;#ta;#tA;constructor(e,t){this.#to=e,this.#ta=t,this.#tA=0}next(){let n;if("object"!=typeof this||this===null||!(#to in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let s=this.#tA,o=t(this.#to);if(s>=o.length)return{value:void 0,done:!0};let{[r]:a,[i]:A}=o[s];switch(this.#tA=s+1,this.#ta){case"key":n=a;break;case"value":n=A;break;case"key+value":n=[a,A]}return{value:n,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,k),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new n(e,t)}}async function U(e,t,r){try{let i=[],n=0;for(;;){let{done:s,value:o}=await e.read();if(s)return void t(Buffer.concat(i,n));if(!p(o))return void r(TypeError("Received non-Uint8Array chunk"));i.push(o),n+=o.length}}catch(e){r(e)}}function F(e){m("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){m("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class O extends i{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?n.createInflate(this.#tl):n.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function P(e,t){let r=t.get(e,!0);if(null===r)return null;let i={position:0},n=[],s="";for(;i.position<r.length;){if(s+=I(e=>'"'!==e&&","!==e,r,i),i.position<r.length)if(34===r.charCodeAt(i.position)){if(s+=l(r,i),i.position<r.length)continue}else m(44===r.charCodeAt(i.position)),i.position++;s=E(s,!0,!0,e=>9===e||32===e),n.push(s),s=""}return n}class H{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=b()}class Y{settingsObject=new H}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:B,ReadableStreamFrom:g,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;m(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else C.is.URL(e.referrer)&&(r=e.referrer);let i=S(r),n=S(r,!0);switch(i.toString().length>4096&&(i=n),t){case"no-referrer":return"no-referrer";case"origin":if(null!=n)return n;return S(r,!0);case"unsafe-url":return i;case"strict-origin":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return n}case"strict-origin-when-cross-origin":{let t=Q(e);if(M(i,t))return i;if(R(i)&&!R(t))return"no-referrer";return n}case"same-origin":if(M(e,i))return i;return"no-referrer";case"origin-when-cross-origin":if(M(e,i))return i;return n;case"no-referrer-when-downgrade":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return i}}},makePolicyContainer:b,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":M(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let i=t[e-1].trim();if(o.has(i)){r=i;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:u,requestBadPort:function(e){let t=Q(e);return L(t)&&a.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:y,responseLocationURL:function(e,t){var r;if(!s.has(e.status))return null;let i=e.headersList.get("location",!0);return null!==i&&N(i)&&(B(i)||(r=i,i=Buffer.from(r,"binary").toString("utf8")),i=new URL(i,y(e))),i&&!i.hash&&(i.hash=t),i},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:M,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,i=0,n=1){let s=v(e,r,i,n),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,i=globalThis){if(C.brandCheck(this,t),C.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of s(this,"key+value"))r.call(i,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})},createIterator:v,isValidHeaderName:u,isValidHeaderValue:N,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let i=e.stream.getReader();U(i,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:F,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:U,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&I(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&I(e=>" "===e||" "===e,e,r);let i=I(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),n=i.length?Number(i):null;if(t&&I(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&I(e=>" "===e||" "===e,e,r);let s=I(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),o=s.length?Number(s):null;return r.position<e.length||null===o&&null===n||null!==n&&null!==o&&n>o?"failure":{rangeStartValue:n,rangeEndValue:o}},buildContentRange:function(e,t,r){let i="bytes ";return i+=f(`${e}`),i+="-",i+=f(`${t}`),i+="/",i+=f(`${r}`)},createInflate:function(e){return new O(e)},extractMimeType:function(e){let t=null,r=null,i=null,n=P("content-type",e);if(null===n)return"failure";for(let e of n){let n=c(e);"failure"!==n&&"*/*"!==n.essence&&((i=n).essence!==r?(t=null,i.parameters.has("charset")&&(t=i.parameters.get("charset")),r=i.essence):i.parameters.has("charset")||null===t||i.parameters.set("charset",t))}return null==i?"failure":i},getDecodeSplit:P,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:x,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let i=r(4589),{utf8DecodeBytes:n}=r(2718),s=/[\u0009\u000A\u000C\u000D\u0020]/g;function o(e){return 9===e||10===e||12===e||13===e||32===e}let a=/[^\x00-\xFF]/;function A(e,t,r,i){let n=0,s=e.length-1;if(t)for(;n<e.length&&i(e.charCodeAt(n));)n++;if(r)for(;s>0&&i(e.charCodeAt(s));)s--;return 0===n&&s===e.length-1?e:e.slice(n,s+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let i="";for(;r.position<t.length&&e(t[r.position]);)i+=t[r.position],r.position++;return i},collectASequenceOfCodePointsFast:function(e,t,r){let i=t.indexOf(e,r.position),n=r.position;return -1===i?(r.position=t.length,t.slice(n)):(r.position=i,t.slice(n,r.position))},forgivingBase64:function(e){let t=(e=e.replace(s,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:o,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",i=0,n=65535;for(;i<t;)i+n>t&&(n=t-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+=n));return r},isomorphicEncode:function(e){return i(!a.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(n(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,o)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return i("string"==typeof t),t}}},2300(e,t,r){let i,n=r(4589),{runtimeFeatures:s}=r(6979),o=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(s.has("crypto")){let e=(i=r(7598)).getHashes();for(let t of(0===e.length&&o.clear(),o.keys()))!1===e.includes(t)&&o.delete(t)}else o.clear();let a=Map.prototype.get.bind(o),A=Map.prototype.has.bind(o),l=!1===s.has("crypto")||0===o.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,i=t.val;if(u(g(r,e),i))return!0}return!1};function c(e){let t=[],r=null;for(let i of e){if(n(A(i.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(i),r=i;continue}let e=a(r.alg),s=a(i.alg);s<e||(s>e?(r=i,t[0]=i,t.length=1):t.push(i))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],i="",n=[e.slice(0,6),e.slice(7)],s=n[0];if(!A(s))continue;n[1]&&(i=n[1]);let o={alg:s,val:i};t.push(o)}return t}let g=(e,t)=>i.hash(e,t,"base64");function u(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let i=t.length;if(0!==i&&"="===t[i-1]&&(i-=1),0!==i&&"="===t[i-1]&&(i-=1),r!==i)return!1;for(let i=0;i<r;++i)if(e[i]!==t[i]&&("+"!==e[i]||"-"!==t[i])&&("/"!==e[i]||"_"!==t[i]))return!1;return!0}e.exports={applyAlgorithmToBytes:g,bytesMatch:l,caseSensitiveMatch:u,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let i=r(4589),{types:n,inspect:s}=r(7975),{markAsUncloneable:o}=r(5919),a=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!a(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>a(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=o,A.util.ConvertToInt=function(e,t,r,i){let n,s;64===t?(n=0x1fffffffffffff,s="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(s=0,n=Math.pow(2,t)-1):(s=-Math.pow(2,t-1),n=Math.pow(2,t-1)-1);let o=Number(e);if(0===o&&(o=0),A.util.HasFlag(i,A.attributes.EnforceRange)){if(Number.isNaN(o)||o===1/0||o===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((o=A.util.IntegerPart(o))<s||o>n)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${n}, got ${o}.`});return o}return!Number.isNaN(o)&&A.util.HasFlag(i,A.attributes.Clamp)?o=Math.floor(o=Math.min(Math.max(o,s),n))%2==0?Math.floor(o):Math.ceil(o):Number.isNaN(o)||0===o&&Object.is(0,o)||o===1/0||o===-1/0?0:(o=A.util.IntegerPart(o)%Math.pow(2,t),"signed"===r&&o>=Math.pow(2,t-1))?o-Math.pow(2,t):o},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return s(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(n.isArrayBuffer(e))return e.resizable;if(n.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,i,n)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${i} (${A.util.Stringify(t)}) is not iterable.`});let s="function"==typeof n?n():t?.[Symbol.iterator]?.(),o=[],a=0;if(void 0===s||"function"!=typeof s.next)throw A.errors.exception({header:r,message:`${i} is not iterable.`});for(;;){let{done:t,value:n}=s.next();if(t)break;o.push(e(n,r,`${i}[${a++}]`))}return o}},A.recordConverter=function(e,t){return(r,i,s)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:i,message:`${s} ("${A.util.TypeValueToString(r)}") is not an Object.`});let o={};if(!n.isProxy(r)){for(let n of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let a=A.util.Stringify(n),l=e(n,i,`Key ${a} in ${s}`),c=t(r[n],i,`${s}[${a}]`);o[l]=c}return o}for(let n of Reflect.ownKeys(r)){let a=Reflect.getOwnPropertyDescriptor(r,n);if(a?.enumerable){let a=e(n,i,s),A=t(r[n],i,s);o[a]=A}}return o}},A.interfaceConverter=function(e,t){return(r,i,n)=>{if(!e(r))throw A.errors.exception({header:i,message:`Expected ${n} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,i)=>{let n={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let s of e){let{key:e,defaultValue:o,required:a,converter:l}=s;if(!0===a&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==o;if(d&&void 0===c&&(c=o()),a||d||void 0!==c){if(c=l(c,r,`${i}.${e}`),s.allowedValues&&!s.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});n[e]=c}}return n}},A.nullableConverter=function(e){return(t,r,i)=>null===t?t:e(t,r,i)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return n.isArrayBuffer(e)||ArrayBuffer.isView(e)&&n.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,s=0;if(n.isTypedArray(e)||n.isDataView(e)?(t=e.buffer,r=e.byteOffset):i(n.isAnyArrayBuffer(e)),s=e.byteLength,t.detached)return new Uint8Array(0);let o=new Uint8Array(s),a=new Uint8Array(t,r,s);return o.set(a),o},A.converters.DOMString=function(e,t,r,i){if(null===e&&A.util.HasFlag(i,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let i=String(e);for(let e=0;e<i.length;e++)if(i.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${i.charCodeAt(e)} which is greater than 255.`);return i},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,i){return A.util.ConvertToInt(e,16,"unsigned",i,t,r)},A.converters.ArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,i,s){if(8!==A.util.Type(e)||!n.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${i} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(s,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(s,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,i){if(n.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(n.isArrayBufferView(e))return i&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);if(n.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,i){if(n.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(n.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,i);if(n.isArrayBufferView(e))return i|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:i,states:n,sentCloseFrameState:s,emptyBuffer:o,opcodes:a}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:g,validateCloseCodeAndReason:u}=r(3927),{makeRequest:h}=r(9553),{fetching:m}=r(7564),{Headers:p,getHeadersList:C}=r(3470),{getDecodeSplit:f}=r(638),{WebsocketFrameSend:I}=r(4018),E=r(4589),{runtimeFeatures:y}=r(6979),B=y.has("crypto")?r(7598):null,Q=!1;function N(e,t,r,i=!1){if(t??=null,r??="",i&&u(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(s.SENT)||e.closeState.has(s.RECEIVED))e.readyState=n.CLOSING;else{let i=new I;0!==r.length&&null===t&&(t=1e3),E(null===t||Number.isInteger(t)),null===t&&0===r.length?i.frameData=o:null!==t&&null===r?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(i.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=o,e.socket.write(i.createFrame(a.CLOSE)),e.closeState.add(s.SENT),e.readyState=n.CLOSING}else b(e),e.readyState=n.CLOSING}function b(e,t,r,i){d(e.readyState)&&N(e,t,r,!1),e.controller.abort(),g(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,n,s){e.protocol="ws:"===e.protocol?"http:":"https:";let o=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});s.headers&&(o.headersList=C(new p(s.headers)));let a=B.randomBytes(16).toString("base64");for(let e of(o.headersList.append("sec-websocket-key",a,!0),o.headersList.append("sec-websocket-version","13",!0),t))o.headersList.append("sec-websocket-protocol",e,!0);return o.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),m({request:o,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void b(n,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void b(n,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void b(n,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void b(n,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void b(n,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==B.hash("sha1",a+i,"base64"))return void b(n,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let s=e.headersList.get("Sec-WebSocket-Extensions");if(null!==s&&!(r=A(s)).has("permessage-deflate"))return void b(n,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||f("sec-websocket-protocol",o.headersList).includes(l)?(e.socket.on("data",n.onSocketData),e.socket.on("close",n.onSocketClose),e.socket.on("error",n.onSocketError),n.wasEverConnected=!0,n.onConnectionEstablished(e,r)):b(n,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:b,closeWebSocketConnection:N}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:i}=r(849),{kEnumerableProperty:n}=r(1210),{kConstruct:s}=r(3025);class o extends Event{#tc;constructor(e,t={}){if(e===s){super(arguments[1],arguments[2]),i.util.markAsUncloneable(this);return}let r="MessageEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,i.util.markAsUncloneable(this)}get data(){return i.brandCheck(this,o),this.#tc.data}get origin(){return i.brandCheck(this,o),this.#tc.origin}get lastEventId(){return i.brandCheck(this,o),this.#tc.lastEventId}get source(){return i.brandCheck(this,o),this.#tc.source}get ports(){return i.brandCheck(this,o),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,n=null,s="",a="",A=null,l=[]){return i.brandCheck(this,o),i.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new o(e,{bubbles:t,cancelable:r,data:n,origin:s,lastEventId:a,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new o(s,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:a}=o;delete o.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.CloseEventInit(t)),this.#tc=t,i.util.markAsUncloneable(this)}get wasClean(){return i.brandCheck(this,A),this.#tc.wasClean}get code(){return i.brandCheck(this,A),this.#tc.code}get reason(){return i.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e,t),i.util.markAsUncloneable(this),e=i.converters.DOMString(e,r,"type"),t=i.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return i.brandCheck(this,l),this.#tc.message}get filename(){return i.brandCheck(this,l),this.#tc.filename}get lineno(){return i.brandCheck(this,l),this.#tc.lineno}get colno(){return i.brandCheck(this,l),this.#tc.colno}get error(){return i.brandCheck(this,l),this.#tc.error}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:n,code:n,wasClean:n}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:n,filename:n,lineno:n,colno:n,error:n}),i.converters.MessagePort=i.interfaceConverter(i.is.MessagePort,"MessagePort"),i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);let c=[{key:"bubbles",converter:i.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:i.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:i.converters.boolean,defaultValue:()=>!1}];i.converters.MessageEventInit=i.dictionaryConverter([...c,{key:"data",converter:i.converters.any,defaultValue:()=>null},{key:"origin",converter:i.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:()=>""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:i.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),i.converters.CloseEventInit=i.dictionaryConverter([...c,{key:"wasClean",converter:i.converters.boolean,defaultValue:()=>!1},{key:"code",converter:i.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:i.converters.USVString,defaultValue:()=>""}]),i.converters.ErrorEventInit=i.dictionaryConverter([...c,{key:"message",converter:i.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:i.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:i.converters.any}]),e.exports={MessageEvent:o,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:a}},4018(e,t,r){let{runtimeFeatures:i}=r(6979),{maxUnsigned16Bit:n,opcodes:s}=r(7946),o=null,a=8192,A=i.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===a&&(a=0,A(o??=Buffer.allocUnsafeSlow(8192),0,8192)),[o[a++],o[a++],o[a++],o[a++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),i=t?.byteLength??0,s=i,o=6;i>n?(o+=8,s=127):i>125&&(o+=2,s=126);let a=Buffer.allocUnsafe(i+o);a[0]=a[1]=0,a[0]|=128,a[0]=(240&a[0])+e,a[o-4]=r[0],a[o-3]=r[1],a[o-2]=r[2],a[o-1]=r[3],a[1]=s,126===s?a.writeUInt16BE(i,2):127===s&&(a[2]=a[3]=0,a.writeUIntBE(i,4,6)),a[1]|=128;for(let e=0;e<i;++e)a[o+e]=t[e]^r[3&e];return a}static createFastTextFrame(e){let t=l(),r=e.length;for(let i=0;i<r;++i)e[i]^=t[3&i];let i=r,o=6;r>n?(o+=8,i=127):r>125&&(o+=2,i=126);let a=Buffer.allocUnsafeSlow(o);return a[0]=128|s.TEXT,a[1]=128|i,a[o-4]=t[0],a[o-3]=t[1],a[o-2]=t[2],a[o-1]=t[3],126===i?a.writeUInt16BE(r,2):127===i&&(a[2]=a[3]=0,a.writeUIntBE(r,4,6)),[a,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:n}=r(8522),{isValidClientWindowBits:s}=r(3927),{MessageSizeExceededError:o}=r(8065),a=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tg=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tg=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=n;if(this.#T.serverMaxWindowBits){if(!s(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=i({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tg>0&&this.#td[l]>this.#tg){r(new o),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(a),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:i}=r(7075),n=r(4589),{parserStates:s,opcodes:o,states:a,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:g,utf8Decode:u,isControlFrame:h,isTextBinaryFrame:m,isContinuationFrame:p}=r(3927),{failWebsocketConnection:C}=r(5563),{WebsocketFrameSend:f}=r(4018),{PerMessageDeflate:I}=r(959),{MessageSizeExceededError:E}=r(8065);class y extends i{#tu=[];#th=0;#tm=0;#tp=!1;#eS=s.INFO;#tC={};#tf=[];#tI;#B;#tE;#tg;constructor(e,t,r={}){super(),this.#B=e,this.#tI=null==t?new Map:t,this.#tE=r.maxFragments??0,this.#tg=r.maxPayloadSize??0,this.#tI.has("permessage-deflate")&&this.#tI.set("permessage-deflate",new I(t,r))}_write(e,t,r){this.#tu.push(e),this.#tm+=e.length,this.#tp=!0,this.run(r)}#ty(){return!(this.#tg>0)||!!h(this.#tC.opcode)||!(this.#tC.payloadLength+this.#th>this.#tg)||(C(this.#B,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tp;)if(this.#eS===s.INFO){if(this.#tm<2)return e();let t=this.consume(2),r=(128&t[0])!=0,i=15&t[0],n=(128&t[1])==128,a=!r&&i!==o.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],g=16&t[0];if(!d(i))return C(this.#B,1002,"Invalid opcode received"),e();if(n)return C(this.#B,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#tI.has("permessage-deflate"))return void C(this.#B,1002,"Expected RSV1 to be clear.");if(0!==c||0!==g)return void C(this.#B,1002,"RSV1, RSV2, RSV3 must be clear");if(a&&!m(i))return void C(this.#B,1002,"Invalid frame type was fragmented.");if(m(i)&&this.#tf.length>0)return void C(this.#B,1002,"Expected continuation frame");if(this.#tC.fragmented&&a)return void C(this.#B,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||a)&&h(i))return void C(this.#B,1002,"Control frame either too large or fragmented");if(p(i)&&0===this.#tf.length&&!this.#tC.compressed)return void C(this.#B,1002,"Unexpected continuation frame");if(A<=125){if(this.#tC.payloadLength=A,this.#eS=s.READ_DATA,!this.#ty())return}else 126===A?this.#eS=s.PAYLOADLENGTH_16:127===A&&(this.#eS=s.PAYLOADLENGTH_64);m(i)&&(this.#tC.binaryType=i,this.#tC.compressed=0!==l),this.#tC.opcode=i,this.#tC.masked=n,this.#tC.fin=r,this.#tC.fragmented=a}else if(this.#eS===s.PAYLOADLENGTH_16){if(this.#tm<2)return e();let t=this.consume(2);if(this.#tC.payloadLength=t.readUInt16BE(0),this.#eS=s.READ_DATA,!this.#ty())return}else if(this.#eS===s.PAYLOADLENGTH_64){if(this.#tm<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),i=t.readUInt32BE(4);if(0!==r||i>0x80000000-1)return void C(this.#B,1009,"Received payload length > 2^31 bytes.");if(this.#tC.payloadLength=i,this.#eS=s.READ_DATA,!this.#ty())return}else if(this.#eS===s.READ_DATA){if(this.#tm<this.#tC.payloadLength)return e();let t=this.consume(this.#tC.payloadLength);if(h(this.#tC.opcode))this.#tp=this.parseControlFrame(t),this.#eS=s.INFO;else if(this.#tC.compressed){this.#tI.get("permessage-deflate").decompress(t,this.#tC.fin,(t,r)=>{if(t){let e=t instanceof E?1009:1007;C(this.#B,e,t.message);return}if(this.writeFragments(r)){if(this.#tg>0&&this.#th>this.#tg)return void C(this.#B,1009,new E().message);if(!this.#tC.fin){this.#eS=s.INFO,this.#tp=!0,this.run(e);return}g(this.#B,this.#tC.binaryType,this.consumeFragments()),this.#tp=!0,this.#eS=s.INFO,this.run(e)}},this.#th),this.#tp=!1;break}else{if(!this.writeFragments(t))return;!this.#tC.fragmented&&this.#tC.fin&&g(this.#B,this.#tC.binaryType,this.consumeFragments()),this.#eS=s.INFO}}}consume(e){if(e>this.#tm)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tm-=e;let t=this.#tu[0];if(t.length>e)return this.#tu[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tu.shift();let r=0,i=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tu[0],n=t.length;if(n+r===e){i.set(this.#tu.shift(),r);break}if(n+r>e){i.set(t.subarray(0,e-r),r),this.#tu[0]=t.subarray(e-r);break}i.set(this.#tu.shift(),r),r+=n}return i}}writeFragments(e){return this.#tE>0&&this.#tf.length===this.#tE?(C(this.#B,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tf.push(e),!0)}consumeFragments(){let e=this.#tf;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let i=0;i<e.length;++i){let n=e[i];r.set(n,t),t+=n.length}return this.#tf=[],this.#th=0,r}parseCloseBody(e){let t;if(n(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=u(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tC;if(t===o.CLOSE){if(1===r)return C(this.#B,1002,"Received close frame with a 1-byte body."),!1;if(this.#tC.closeInfo=this.parseCloseBody(e),this.#tC.closeInfo.error){let{code:e,reason:t}=this.#tC.closeInfo;return C(this.#B,e,t),!1}if(!this.#B.closeState.has(l.SENT)&&!this.#B.closeState.has(l.RECEIVED)){let e=A;this.#tC.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tC.closeInfo.code,0);let t=new f(e);this.#B.socket.write(t.createFrame(o.CLOSE)),this.#B.closeState.add(l.SENT)}return this.#B.readyState=a.CLOSING,this.#B.closeState.add(l.RECEIVED),!1}if(t===o.PING){if(!this.#B.closeState.has(l.RECEIVED)){let t=new f(e);this.#B.socket.write(t.createFrame(o.PONG)),this.#B.onPing(e)}}else t===o.PONG&&this.#B.onPong(e);return!0}get closingInfo(){return this.#tC.closeInfo}}e.exports={ByteParser:y}},2726(e,t,r){let{WebsocketFrameSend:i}=r(4018),{opcodes:n,sendHints:s}=r(7946),o=r(9006);class a{#tB=new o;#tQ=!1;#tN;constructor(e){this.#tN=e}add(e,t,r){if(r!==s.blob){if(this.#tQ){let i={promise:null,callback:t,frame:A(e,r)};this.#tB.push(i)}else if(r===s.text){let{0:r,1:n}=i.createFastTextFrame(e);this.#tN.cork(),this.#tN.write(r),this.#tN.write(n,t),this.#tN.uncork()}else this.#tN.write(A(e,r),t);return}let n={promise:e.arrayBuffer().then(e=>{n.promise=null,n.frame=A(e,r)}),callback:t,frame:null};this.#tB.push(n),this.#tQ||this.#tb()}async #tb(){this.#tQ=!0;let e=this.#tB;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tN.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new i(function(e,t){switch(t){case s.text:case s.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case s.arrayBuffer:case s.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===s.text?n.TEXT:n.BINARY)}e.exports={SendQueue:a}},7245(e,t,r){let{webidl:i}=r(849),{validateCloseCodeAndReason:n}=r(3927),{kConstruct:s}=r(3025),{kEnumerableProperty:o}=r(1210);function a(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let i=Reflect.construct(e,t,e);return Object.setPrototypeOf(i,r.prototype),i}})}class A extends a(){#tS;#I;constructor(e="",t){if(super(e=i.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===s)return;null!==t&&(t=i.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,o=t.reason??"";n(r,o),0!==o.length&&null===r&&(r=1e3),this.#tS=r,this.#I=o}get closeCode(){return this.#tS}get reason(){return this.#I}static createUnvalidatedWebSocketError(e,t,r){let i=new A(e,s);return i.#tS=t,i.#I=r,i}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:o,reason:o,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),i.is.WebSocketError=i.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:i}=r(8474),{environmentSettingsObject:n,readableStreamClose:s}=r(638),{states:o,opcodes:a,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:g,utf8Decode:u}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:m,closeWebSocketConnection:p}=r(5563),{channels:C}=r(6708),{WebsocketFrameSend:f}=r(4018),{ByteParser:I}=r(5346),{WebSocketError:E,createUnvalidatedWebSocketError:y}=r(7245),{kEnumerableProperty:B}=r(1210),{utf8DecodeBytes:Q}=r(2718),N=!1;class b{#e4;#tw;#tD;#tx;#tR;#tM;#tk=!1;#B={onConnectionEstablished:(e,t)=>this.#tv(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>m(this.#B,null,e.message),onParserDrain:()=>this.#B.socket.resume(),onSocketData:e=>{this.#tF.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=o.CLOSING,C.socketError.hasSubscribers&&C.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:o.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tF;constructor(e,t){N||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),N=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,n.settingsObject.baseUrl),s=t.protocols;if(s.length!==new Set(s.map(e=>e.toLowerCase())).size||s.length>0&&!s.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e4=r.toString(),this.#tw=Promise.withResolvers(),this.#tD=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tD.reject(e.reason);return}i(e,()=>{g(this.#B.readyState)||(m(this.#B),this.#B.readyState=o.CLOSING,this.#tw.reject(e.reason),this.#tD.reject(e.reason),this.#tk=!0)})}let a=n.settingsObject;this.#B.controller=h(r,s,a,this.#B,t)}get url(){return this.#e4.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tD.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;p(this.#B,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,i=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),i=a.BINARY;else{let n;try{n=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(n),i=a.TEXT}if(!this.#B.closeState.has(A.SENT)&&!this.#B.closeState.has(A.RECEIVED)){let e=new f(r);this.#B.socket.write(e.createFrame(i),()=>{t.resolve(void 0)})}return t.promise}#tv(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,n=new I(this.#B,t,{maxFragments:r,maxPayloadSize:i});n.on("drain",()=>this.#B.onParserDrain()),n.on("error",e=>this.#B.onParserError(e)),this.#tF=n,this.#B.readyState=o.OPEN;let s=t??"",a=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tO(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>p(this.#B,null,null),abort:e=>this.#tP(e)});this.#tx=A,this.#tM=l,this.#tw.resolve({extensions:s,protocol:a,readable:A,writable:l})}#tU(e,t){let r;if(this.#B.readyState===o.OPEN){if(e===a.TEXT)try{r=u(t)}catch{m(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===a.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#B.closeState.has(A.SENT)&&this.#B.closeState.has(A.RECEIVED);if(this.#B.readyState=o.CLOSED,this.#tk)return;this.#B.wasEverConnected||this.#tw.reject(new E("Socket never opened"));let t=this.#tF?.closingInfo,r=t?.code??1005;this.#B.closeState.has(A.SENT)||this.#B.closeState.has(A.RECEIVED)||(r=1006);let i=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)s(this.#tR),this.#tM.locked||this.#tM.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tD.resolve({closeCode:r,reason:i});else{let e=y("unclean close",r,i);this.#tR?.error(e),this.#tM?.abort(e),this.#tD.reject(e)}}#tP(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),p(this.#B,t,r)}#tO(e){this.#tP(e)}}Object.defineProperties(b.prototype,{url:B,opened:B,closed:B,close:B,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:b}},3927(e,t,r){let{states:i,opcodes:n}=r(7946),{isUtf8:s}=r(4573),{removeHTTPWhitespace:o}=r(3518),{collectASequenceOfCodePointsFast:a}=r(5358);function A(e){return e===n.CLOSE||e===n.PING||e===n.PONG}function l(e){return e===n.CONTINUATION}function c(e){return e===n.TEXT||e===n.BINARY}e.exports={isConnecting:function(e){return e===i.CONNECTING},isEstablished:function(e){return e===i.OPEN},isClosing:function(e){return e===i.CLOSING},isClosed:function(e){return e===i.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),i={}){let n=r(e,i);t.dispatchEvent(n)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(s(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[i,n=""]=a(";",e,t).split("=",2);r.set(o(i,!0,!1),o(n,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:i}=r(3429),{webidl:n}=r(849),{URLSerializer:s}=r(3518),{environmentSettingsObject:o}=r(638),{staticPropertyDescriptors:a,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:g,isEstablished:u,isClosing:h,isClosed:m,isValidSubprotocol:p,fireEvent:C,utf8Decode:f,toArrayBuffer:I,getURLRecord:E}=r(3927),{establishWebSocketConnection:y,closeWebSocketConnection:B,failWebsocketConnection:Q}=r(5563),{ByteParser:N}=r(5346),{kEnumerableProperty:b}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:D,createFastMessageEvent:x}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:M}=r(4018),{channels:k}=r(6708);class v extends EventTarget{#e3={open:null,error:null,close:null,message:null};#tH=0;#tY="";#tI="";#tG;#B={onConnectionEstablished:(e,t)=>this.#tv(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>Q(this.#B,null,e.message),onParserDrain:()=>this.#tz(),onSocketData:e=>{this.#tF.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=A.CLOSING,k.socketError.hasSubscribers&&k.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{k.ping.hasSubscribers&&k.ping.publish({payload:e,websocket:this})},onPong:e=>{k.pong.hasSubscribers&&k.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e4;#tq;#tF;constructor(e,t=[]){super(),n.util.markAsUncloneable(this);let r="WebSocket constructor";n.argumentLengthCheck(arguments,1,r);let i=n.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=n.converters.USVString(e),t=i.protocols;let s=E(e,o.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>p(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e4=new URL(s.href);let a=o.settingsObject;this.#B.controller=y(s,t,a,this.#B,i),this.#B.readyState=v.CONNECTING,this.#tq="blob"}close(e,t){n.brandCheck(this,v),void 0!==e&&(e=n.converters["unsigned short"](e,"WebSocket.close","code",n.attributes.Clamp)),void 0!==t&&(t=n.converters.USVString(t)),e??=null,t??="",B(this.#B,e,t,!0)}send(e){n.brandCheck(this,v);let t="WebSocket.send";if(n.argumentLengthCheck(arguments,1,t),e=n.converters.WebSocketSendData(e,t,"data"),g(this.#B.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!u(this.#B.readyState)||h(this.#B.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tH+=t.byteLength,this.#tG.add(t,()=>{this.#tH-=t.byteLength},c.text)}else i(e)?(this.#tH+=e.byteLength,this.#tG.add(e,()=>{this.#tH-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tH+=e.byteLength,this.#tG.add(e,()=>{this.#tH-=e.byteLength},c.typedArray)):n.is.Blob(e)&&(this.#tH+=e.size,this.#tG.add(e,()=>{this.#tH-=e.size},c.blob))}get readyState(){return n.brandCheck(this,v),this.#B.readyState}get bufferedAmount(){return n.brandCheck(this,v),this.#tH}get url(){return n.brandCheck(this,v),s(this.#e4)}get extensions(){return n.brandCheck(this,v),this.#tI}get protocol(){return n.brandCheck(this,v),this.#tY}get onopen(){return n.brandCheck(this,v),this.#e3.open}set onopen(e){n.brandCheck(this,v),this.#e3.open&&this.removeEventListener("open",this.#e3.open);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e3.open=e):this.#e3.open=null}get onerror(){return n.brandCheck(this,v),this.#e3.error}set onerror(e){n.brandCheck(this,v),this.#e3.error&&this.removeEventListener("error",this.#e3.error);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e3.error=e):this.#e3.error=null}get onclose(){return n.brandCheck(this,v),this.#e3.close}set onclose(e){n.brandCheck(this,v),this.#e3.close&&this.removeEventListener("close",this.#e3.close);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e3.close=e):this.#e3.close=null}get onmessage(){return n.brandCheck(this,v),this.#e3.message}set onmessage(e){n.brandCheck(this,v),this.#e3.message&&this.removeEventListener("message",this.#e3.message);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e3.message=e):this.#e3.message=null}get binaryType(){return n.brandCheck(this,v),this.#tq}set binaryType(e){n.brandCheck(this,v),"blob"!==e&&"arraybuffer"!==e?this.#tq="blob":this.#tq=e}#tv(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,n=new N(this.#B,t,{maxFragments:r,maxPayloadSize:i});n.on("drain",()=>this.#B.onParserDrain()),n.on("error",e=>this.#B.onParserError(e)),this.#tF=n,this.#tG=new R(e.socket),this.#B.readyState=A.OPEN;let s=e.headersList.get("sec-websocket-extensions");null!==s&&(this.#tI=s);let o=e.headersList.get("sec-websocket-protocol");if(null!==o&&(this.#tY=o),C("open",this),k.open.hasSubscribers){var a;let t=e.headersList.entries;k.open.publish({address:(a=e.socket,"function"==typeof a?.address?a.address():"function"==typeof a?.session?.socket?.address?a.session.socket.address():null),protocol:this.#tY,extensions:this.#tI,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tU(e,t){let r;if(this.#B.readyState===A.OPEN){if(e===d.TEXT)try{r=f(t)}catch{Q(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tq?new Blob([t]):I(t));C("message",this,x,{origin:this.#e4.origin,data:r})}}#tz(){this.#B.socket.resume()}#tT(){let e=this.#B.closeState.has(l.SENT)&&this.#B.closeState.has(l.RECEIVED),t=1005,r="",i=this.#tF?.closingInfo;i&&!i.error&&(t=i.code??1005,r=i.reason),this.#B.readyState=A.CLOSED,this.#B.closeState.has(l.RECEIVED)||(t=1006,C("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),C("close",this,(e,t)=>new D(e,t),{wasClean:e,code:t,reason:r}),k.close.hasSubscribers&&k.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#B.readyState;if(u(r)&&!h(r)&&!m(r)){let r=new M(t);e.#B.socket.write(r.createFrame(d.PING))}}}let{ping:U}=v;Reflect.deleteProperty(v,"ping"),v.CONNECTING=v.prototype.CONNECTING=A.CONNECTING,v.OPEN=v.prototype.OPEN=A.OPEN,v.CLOSING=v.prototype.CLOSING=A.CLOSING,v.CLOSED=v.prototype.CLOSED=A.CLOSED,Object.defineProperties(v.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(v,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),n.converters["sequence<DOMString>"]=n.sequenceConverter(n.converters.DOMString),n.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return n.util.Type(e)===n.util.Types.OBJECT&&Symbol.iterator in e?n.converters["sequence<DOMString>"](e):n.converters.DOMString(e,t,r)},n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:n.converters.any,defaultValue:()=>S()},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]),n.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return n.util.Type(e)!==n.util.Types.OBJECT||Symbol.iterator in e?{protocols:n.converters["DOMString or sequence<DOMString>"](e)}:n.converters.WebSocketInit(e)},n.converters.WebSocketSendData=function(e){return n.util.Type(e)===n.util.Types.OBJECT&&(n.is.Blob(e)||n.is.BufferSource(e))?e:n.converters.USVString(e)},e.exports={WebSocket:v,ping:U}},6850(e,t,r){r.a(e,async function(e,i){try{var n=r(3157),s=r(6117),o=r(2484),a=r(6317),A=r(9172),l=r(2386),c=r(5336),d=r(702),g=r(6437),u=r(8444),h=r(8860),m=r(4679),p=r(6291);let e=(e=m.ix)=>d.JkU(function*(){yield*d.MDB("Running post-action script");let t=yield*o.q,r=yield*t.getOptional(p.LU.turboServerState,p.JU);if(g.isSome(r)){let{pid:t,port:i}=r.value;yield*d.MDB(`Stopping turbo cache server pid=${t} (log: ${(0,m.Lm)(i)})`),yield*d.OH5(()=>e(t))}let i=yield*t.getOptional(p.LU.cacheState,p.iF);g.isNone(i)?yield*d.MDB("No cache state from main; nothing to save"):i.value.restored?yield*d.fH4("Cache was an exact hit — skipping save"):yield*a.xP.groupStep("Cache save",(0,h.Io)())}).pipe(d.MfU(e=>d.FFw(`Post-action error: ${e instanceof Error?e.message:String(e)}`)),d.Fig(e=>d.FFw(`Post-action defect: ${e instanceof Error?e.message:String(e)}`))),C=e(),f=u.Um(A.b.pipe(u.Gt(n.MC)),l.A.pipe(u.Gt(s.q)));process.env.GITHUB_ACTIONS&&await c.r.run(C,{layer:f}),r.d(t,{},{$7:f,bE:C,hA:e}),i()}catch(e){i(e)}},1)},8860(e,t,r){r.d(t,{Io:()=>g}),r(7598),r(8161),r(6760);var i=r(6492),n=r(3343),s=r(2484),o=r(702),a=r(6437),A=r(5609);let l=A.QfV.check(A.tJb(1));A.X0d()("ConfigError",{reason:l,file:A.lqM(A.QfV),cause:A.lqM(A.$r1)}),A.X0d()("RuntimeInstallError",{runtime:l,version:l,reason:l,cause:A.lqM(A.$r1)}),A.X0d()("PackageManagerSetupError",{packageManager:l,version:l,reason:l,cause:A.lqM(A.$r1)}),A.X0d()("DependencyInstallError",{packageManager:l,reason:l,cause:A.lqM(A.$r1)});class c extends A.X0d()("CacheError",{operation:A.xCb(["save","restore","key-generation"]),reason:l,cause:A.lqM(A.$r1)}){get message(){return`Cache ${this.operation} failed: ${this.reason}`}}var d=r(6291);o.JkU(function*(){let e=yield*i.g,t=yield*e.getOptional("GITHUB_HEAD_REF");if(a.isSome(t)&&""!==t.value)return t.value;let r=yield*e.getOptional("GITHUB_REF");return a.isSome(r)&&r.value.startsWith("refs/heads/")?r.value.replace("refs/heads/",""):""});let g=()=>o.JkU(function*(){let e=yield*n.l,t=yield*s.q,r=yield*t.get(d.LU.cacheState,d.iF).pipe(o.xm_(e=>new c({operation:"save",reason:"Failed to read cache state",cause:e})));if(yield*o.Rm2(`Cache state from main: restored=${r.restored}, key=${r.key}, paths=${r.paths.length}`),r.restored)return void(yield*o.Rm2("Cache exact hit — skipping save"));let i=r.key,a=r.paths;0===a.length?yield*o.Rm2("No cache paths — skipping save"):(yield*o.Rm2(`Saving cache: key=${i}, paths (${a.length}): ${a.join(", ")}`),yield*e.save(a,i).pipe(o.xm_(e=>new c({operation:"save",reason:`Failed to save cache with key ${i}`,cause:e}))),yield*o.Rm2(`Cache saved successfully: key=${i}`))})},4679(e,t,r){r(1421),r(3024);var i=r(8161),n=r(6760);r.d(t,{},{Lm:e=>(0,n.join)((0,i.tmpdir)(),`turbogha-${e}.log`),ix:(e,t=process.kill)=>{if(!(e<=0))try{t(e,"SIGTERM")}catch{}}})},6291(e,t,r){var i=r(5609);class n extends i.Xsx("CacheState")({key:i.QfV,paths:i.O31(i.QfV),restored:i.v8c}){}class s extends i.Xsx("TurboServerState")({pid:i.wNn,port:i.wNn,backend:i.QfV}){}r.d(t,{JU:()=>s,iF:()=>n},{LU:{cacheState:"cache-state",turboServerState:"turbo-server-state"}})},2613(e){e.exports=c("assert")},4434(e){e.exports=c("events")},8611(e){e.exports=c("http")},5692(e){e.exports=c("https")},9278(e){e.exports=c("net")},4589(e){e.exports=c("node:assert")},6698(e){e.exports=c("node:async_hooks")},4573(e){e.exports=c("node:buffer")},1421(e){e.exports=c("node:child_process")},7540(e){e.exports=c("node:console")},7598(e){e.exports=c("node:crypto")},3053(e){e.exports=c("node:diagnostics_channel")},610(e){e.exports=c("node:dns")},8474(e){e.exports=c("node:events")},3024(e){e.exports=c("node:fs")},1455(e){e.exports=c("node:fs/promises")},7067(e){e.exports=c("node:http")},2467(e){e.exports=c("node:http2")},4708(e){e.exports=c("node:https")},7030(e){e.exports=c("node:net")},8161(e){e.exports=c("node:os")},6760(e){e.exports=c("node:path")},643(e){e.exports=c("node:perf_hooks")},1792(e){e.exports=c("node:querystring")},99(e){e.exports=c("node:sqlite")},7075(e){e.exports=c("node:stream")},7830(e){e.exports=c("node:stream/web")},7997(e){e.exports=c("node:timers")},1692(e){e.exports=c("node:tls")},3136(e){e.exports=c("node:url")},7975(e){e.exports=c("node:util")},3429(e){e.exports=c("node:util/types")},5919(e){e.exports=c("node:worker_threads")},8522(e){e.exports=c("node:zlib")},857(e){e.exports=c("os")},4756(e){e.exports=c("tls")},2018(e){e.exports=c("tty")},7016(e){e.exports=c("url")},9023(e){e.exports=c("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}},6117(e,t,r){let i,n,s,o,a,A,l,c,d,g,u,h,m,p,C,f,I,E,y,B,Q;r.d(t,{q:()=>ep});var N,b=r(8149),S=r(702),w=r(262),D=r(9920),x=r(8444),R=r(6437),M=r(9077),k=r(9444),v=r(1260),U=r(7598),F=r(3024),T=r(8161),L=r(6760);let O=(e,t)=>(r,[i])=>{let n="Unknown";switch(r.code){case"ENOENT":n="NotFound";break;case"EACCES":n="PermissionDenied";break;case"EEXIST":n="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":n="BadResource";break;case"EBUSY":n="Busy"}return M.Oj({_tag:n,module:e,method:t,pathOrDescriptor:i,syscall:r.syscall,cause:r})},P=e=>t=>M.T8({module:"FileSystem",method:e,description:t.message??String(t)}),H=(i=(0,S._r7)(F.access,O("FileSystem","access"),P("access")),(e,t)=>{let r=F.constants.F_OK;return t?.readable&&(r|=F.constants.R_OK),t?.writable&&(r|=F.constants.W_OK),i(e,r)}),Y=(n=(0,S._r7)(F.cp,O("FileSystem","copy"),P("copy")),(e,t,r)=>n(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),G=(s=(0,S._r7)(F.copyFile,O("FileSystem","copyFile"),P("copyFile")),(e,t)=>s(e,t)),z=(o=(0,S._r7)(F.chmod,O("FileSystem","chmod"),P("chmod")),(e,t)=>o(e,t)),q=(a=(0,S._r7)(F.chown,O("FileSystem","chown"),P("chown")),(e,t,r)=>a(e,t,r)),V=(A=(0,S._r7)(F.glob,O("FileSystem","glob"),P("glob")),(e,t)=>A(e,{cwd:t?.root,exclude:t?.exclude})),_=(l=(0,S._r7)(F.link,O("FileSystem","link"),P("link")),(e,t)=>l(e,t)),J=(c=(0,S._r7)(F.mkdir,O("FileSystem","makeDirectory"),P("makeDirectory")),(e,t)=>c(e,{recursive:t?.recursive??!1,mode:t?.mode})),W=e=>{let t=(0,S._r7)(F.mkdtemp,O("FileSystem",e),P(e));return e=>S.DYE(()=>{let r=e?.prefix??"",i="string"==typeof e?.directory?L.join(e.directory,"."):T.tmpdir();return t(r?L.join(i,r):i+"/")})},j=W("makeTempDirectory"),X=e=>{let t=(0,S._r7)(F.rm,O("FileSystem",e),P(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},K=X("remove"),Z=(d=W("makeTempDirectoryScoped"),g=X("makeTempDirectoryScoped"),e=>S.Q56(d(e),e=>S.QgK(g(e,{recursive:!0})))),$=(N="open",u=(0,S._r7)(F.open,O("FileSystem",N),P(N)),h=(0,S._r7)(F.close,O("FileSystem",N),P(N)),(e,t)=>(0,D.Fs)(S.Q56(u(e,t?.flag??"r",t?.mode),e=>S.QgK(h(e))),S.TjK(e=>ee(w.Um(e),t?.flag?.startsWith("a")??!1)))),ee=(()=>{let e=e=>(0,S._r7)(F.read,O("FileSystem",e),P(e)),t=e("read"),r=e("readAlloc"),i=(0,S._r7)(F.fstat,O("FileSystem","stat"),P("stat")),n=(0,S._r7)(F.ftruncate,O("FileSystem","truncate"),P("truncate")),s=(0,S._r7)(F.fsync,O("FileSystem","sync"),P("sync")),o=e=>(0,S._r7)(F.write,O("FileSystem",e),P(e)),a=o("write"),A=o("writeAll");class l{[w.eL];fd;append;position=BigInt(0);constructor(e,t){this[w.eL]=w.eL,this.fd=e,this.append=t}get stat(){return S.TjK(i(this.fd),el)}get sync(){return s(this.fd)}seek(e,t){let r=w.or(e);return S.OH5(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return S.DYE(()=>{let r=this.position;return S.TjK(t(this.fd,{buffer:e,position:r}),e=>{let t=w.or(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return S.DYE(()=>{let e=Buffer.allocUnsafeSlow(t),i=this.position;return S.TjK(r(this.fd,{buffer:e,position:i}),r=>{if(0===r)return R.none();if(this.position=i+BigInt(r),r===t)return R.some(e);let n=Buffer.allocUnsafeSlow(r);return e.copy(n,0,0,r),R.some(n)})})}truncate(e){return S.TjK(n(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return S.DYE(()=>{let t=this.position;return S.TjK(a(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=w.or(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return S.DYE(()=>{let t=this.position;return S.qIB(A(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?S.fJG(M.Oj({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):S.rIH))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new l(e,t)})(),et=e=>{let t=W(e);return S.D9k(function*(e){let r=yield*t(e),i=U.randomBytes(6).toString("hex"),n=L.join(r,e?.suffix?`${i}${e.suffix}`:i);return yield*eh(n,new Uint8Array(0)),n})},er=et("makeTempFile"),ei=(m=et("makeTempFileScoped"),p=X("makeTempFileScoped"),e=>S.Q56(m(e),e=>S.QgK(p(L.dirname(e),{recursive:!0})))),en=(e,t)=>S.$mh({try:()=>F.promises.readdir(e,t),catch:t=>O("FileSystem","readDirectory")(t,[e])}),es=e=>S.E2r((t,r)=>{try{F.readFile(e,{signal:r},(r,i)=>{r?t(S.fJG(O("FileSystem","readFile")(r,[e]))):t(S.PyW(i))})}catch(e){t(S.fJG(P("readFile")(e)))}}),eo=(C=(0,S._r7)(F.readlink,O("FileSystem","readLink"),P("readLink")),e=>C(e)),ea=(f=(0,S._r7)(F.realpath,O("FileSystem","realPath"),P("realPath")),e=>f(e)),eA=(I=(0,S._r7)(F.rename,O("FileSystem","rename"),P("rename")),(e,t)=>I(e,t)),el=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:R.fromNullishOr(e.mtime),atime:R.fromNullishOr(e.atime),birthtime:R.fromNullishOr(e.birthtime),dev:e.dev,rdev:R.fromNullishOr(e.rdev),ino:R.fromNullishOr(e.ino),mode:e.mode,nlink:R.fromNullishOr(e.nlink),uid:R.fromNullishOr(e.uid),gid:R.fromNullishOr(e.gid),size:w.or(e.size),blksize:void 0!==e.blksize?R.some(w.or(e.blksize)):R.none(),blocks:R.fromNullishOr(e.blocks)}),ec=(E=(0,S._r7)(F.stat,O("FileSystem","stat"),P("stat")),e=>S.TjK(E(e),el)),ed=(y=(0,S._r7)(F.symlink,O("FileSystem","symlink"),P("symlink")),(e,t)=>y(e,t)),eg=(B=(0,S._r7)(F.truncate,O("FileSystem","truncate"),P("truncate")),(e,t)=>B(e,void 0!==t?Number(t):void 0)),eu=(Q=(0,S._r7)(F.utimes,O("FileSystem","utime"),P("utime")),(e,t,r)=>Q(e,t,r)),eh=(e,t,r)=>S.E2r((i,n)=>{try{F.writeFile(e,t,{signal:n,flag:r?.flag,mode:r?.mode},t=>{t?i(S.fJG(O("FileSystem","writeFile")(t,[e]))):i(S.rIH)})}catch(e){i(S.fJG(P("writeFile")(e)))}}),em=S.TjK(S.Nav(w.kP),e=>w.L8({access:H,chmod:z,chown:q,copy:Y,copyFile:G,glob:V,link:_,makeDirectory:J,makeTempDirectory:j,makeTempDirectoryScoped:Z,makeTempFile:er,makeTempFileScoped:ei,open:$,readDirectory:en,readFile:es,readLink:eo,realPath:ea,remove:K,rename:eA,stat:ec,symlink:ed,truncate:eg,utimes:eu,watch:t=>ec(t).pipe(S.TjK(r=>e.pipe(R.flatMap(e=>e.register(t,r)),R.getOrElse(()=>v.E2r(e=>S.Q56(S.OH5(()=>{let r=F.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void S.MY7(S.tvg(ec(r),{onSuccess:t=>k.x(e,{_tag:"Create",path:r}),onFailure:t=>k.x(e,{_tag:"Remove",path:r})}));case"change":return void k.bQ(e,{_tag:"Update",path:r})}});return r.on("error",r=>{k._1(e,b.fJ(M.Oj({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{k.kx(e)}),r}),e=>S.OH5(()=>e.close())))))),v.oAg),writeFile:eh})),ep=x.QZ(w.Q2)(em)},3157(e,t,r){r.d(t,{MC:()=>z});var i=r(5419),n=r(702),s=r(8294),o=r(8444),a=r(6437),A=r(2544),l=r(7507),d=r(9002),g=r(3818),u=r(855),h=r(6338),m=r(2103),p=r(2479);r(7067),r(4708);var C=r(7075);c("node:stream/promises");var f=r(3207),I=r(8149),E=r(893),y=r(5536),B=r(8516),Q=r(7512),N=r(8579);let b="~effect/MutableRef",S={[b]:b,...N.fU,toJSON(){return{_id:"MutableRef",current:(0,s.aB)(this.current)}}};var w=r(1746),D=r(1260);let x=e=>D.EfB(R(e)),R=e=>E.Z1((t,r)=>M({scope:r,readable:e.evaluate(),onError:e.onError??v,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),M=e=>{var t;let r,i=e.readable,s=e.closeOnDone??!0,o=e.exit??(t=void 0,(r=Object.create(S)).current=t,r),a=Q.LZ(!1);function A(){a.openUnsafe()}function l(t){o.current=y.fJ(e.onError(t)),a.openUnsafe()}function c(){o.current=y.fJ(I.RS()),a.openUnsafe()}i.on("readable",A),i.once("error",l),i.once("end",c);let d=n.DYE(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return o.current?o.current:i.readableEnded?n.fJG(I.RS()):(a.closeUnsafe(),n.qIB(a.await,t));let s=f.of(r);for(;null!==(r=e.readable.read(e.chunkSize));)s.push(r);return n.PyW(s)});return n.as(w.U9(e.scope,n.OH5(()=>{i.off("readable",A),i.off("error",l),i.off("end",c),s&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()})),d)};class k extends C.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=Q.LZ(!1),this.fiber=D.hM$(t,e=>this.readLatch.whenOpen(n.OH5(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,n.PpN(e),n.MY7),this.fiber.addObserver(e=>{this.fiber=void 0,y.oJ(e)?this.push(null):this.destroy(I.iw(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);n.MY7(B.G(this.fiber)).addObserver(r=>{t("Failure"===r._tag?I.iw(r.cause):e)})}}let v=e=>new I.Bk(e);s.Xs,m.ii;var U=r(3006);class F extends i.kl()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let T=n.Q56(n.OH5(()=>new U.g6),e=>n.ivC(()=>e.destroy())),L=o.QZ(F)(T),O=i.Or("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),P=n.JkU(function*(){let e=yield*F;return g.L8((t,r,i,s)=>(function(e){switch(e._tag){case"Empty":return n.PyW(null);case"Uint8Array":case"Raw":return n.PyW(e.body);case"FormData":return n.PyW(e.formData);case"Stream":let t;return t=e.stream,n.TjK(n._OA(),e=>new k(e,t))}})(t.body).pipe(n.qIB(o=>n.$mh({try:()=>e.request({...s.getRef(O),signal:i,method:t.method,headers:t.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:o,headersTimeout:36e5,bodyTimeout:0}),catch:e=>new u.Kg({reason:new u.wX({request:t,cause:e})})})),n.TjK(e=>new Y(t,e))))});function H(e){}class Y extends s.Xs{[m.ii];[h.ii];request;source;constructor(e,t){super(),this[m.ii]=m.ii,this[h.ii]=h.ii,this.request=e,this.source=t,t.body.on("error",H)}get status(){return this.source.statusCode}get statusText(){}get headers(){return d.lX(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?l.p0(e):l.Ie}get remoteAddress(){return a.none()}get stream(){return x({evaluate:()=>this.source.body,onError:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})})}get json(){return n.qIB(this.text,e=>n.SvU({try:()=>""===e?null:JSON.parse(e),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=n.$mh({try:()=>this.source.body.text(),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}).pipe(n.PO3,n.HZF),this.arrayBufferBody=n.TjK(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return n.qIB(this.text,e=>n.SvU({try:()=>p.lX(new URLSearchParams(e)),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=n.$mh({try:()=>this.source.body.formData(),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}).pipe(n.PO3,n.HZF)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=n.$mh({try:()=>this.source.body.arrayBuffer(),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}).pipe(n.PO3,n.HZF),this.textBody=n.TjK(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return m.Nn(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return(0,A.tT)(this,arguments)}}let G=g.$T(P),z=o.Gt(G,L);h.ii},5336(e,t,r){r.d(t,{r:()=>eo});var i=r(9339),n=r(7969),s=r(1160),o=class extends s.rN("ActionEnvironmentError"){},a=r(5609);let A=a._kM({name:a.QfV,full_name:a.lqM(a.T9y(a.QfV)),owner:a._kM({login:a.QfV}),html_url:a.lqM(a.T9y(a.QfV))}),l=a._kM({number:a.wNn,html_url:a.lqM(a.T9y(a.QfV)),body:a.lqM(a.T9y(a.QfV))}),c=a._kM({repository:a.lqM(A),issue:a.lqM(l),pull_request:a.lqM(l),sender:a.lqM(a._kM({type:a.QfV})),action:a.lqM(a.QfV),comment:a.lqM(a._kM({id:a.wNn})),installation:a.lqM(a._kM({id:a.wNn})),number:a.lqM(a.wNn),ref:a.lqM(a.QfV),before:a.lqM(a.QfV),after:a.lqM(a.QfV)}).annotate({identifier:"WebhookPayload"});var d=r(6492),g=r(702),u=r(6437),h=r(262),m=r(8444);let p=e=>g.OH5(()=>process.env[e]).pipe(g.qIB(t=>void 0!==t&&""!==t?g.PyW(t):g.fJG(new o({variable:e,reason:`Environment variable "${e}" is not set`})))),C=g.Q7R(Object.fromEntries(Object.entries({sha:"GITHUB_SHA",ref:"GITHUB_REF",repository:"GITHUB_REPOSITORY",repositoryOwner:"GITHUB_REPOSITORY_OWNER",workspace:"GITHUB_WORKSPACE",eventName:"GITHUB_EVENT_NAME",eventPath:"GITHUB_EVENT_PATH",runId:"GITHUB_RUN_ID",runNumber:"GITHUB_RUN_NUMBER",actor:"GITHUB_ACTOR",serverUrl:"GITHUB_SERVER_URL",apiUrl:"GITHUB_API_URL",graphqlUrl:"GITHUB_GRAPHQL_URL",action:"GITHUB_ACTION",job:"GITHUB_JOB",workflow:"GITHUB_WORKFLOW"}).map(([e,t])=>[e,p(t)]))),f=g.Q7R({os:p("RUNNER_OS"),arch:p("RUNNER_ARCH"),name:p("RUNNER_NAME"),temp:p("RUNNER_TEMP"),toolCache:p("RUNNER_TOOL_CACHE"),debug:g.OH5(()=>"1"===process.env.RUNNER_DEBUG)}),I={},E=g.JkU(function*(){let e=yield*h.Q2,t=process.env.GITHUB_EVENT_PATH;if(void 0===t||""===t)return I;if(!(yield*e.exists(t).pipe(g.DM4(()=>!1))))return yield*g.MDB(`GITHUB_EVENT_PATH ${t} does not exist; using an empty payload`),I;let r=yield*e.readFileString(t).pipe(g.xm_(e=>new o({variable:"GITHUB_EVENT_PATH",reason:`Failed to read event payload file: ${e.message}`})));return yield*g.SvU({try:()=>JSON.parse(r),catch:e=>new o({variable:"GITHUB_EVENT_PATH",reason:`Failed to parse event payload JSON: ${e instanceof Error?e.message:String(e)}`})}).pipe(g.qIB(e=>a._Re(c,{onExcessProperty:"preserve"})(e).pipe(g.xm_(e=>new o({variable:"GITHUB_EVENT_PATH",reason:`Event payload did not match the expected shape: ${e.message}`})))))}),y=e=>{let t=process.env.GITHUB_REPOSITORY;if(void 0!==t&&""!==t){let[e,r]=t.split("/");if(void 0!==e&&void 0!==r)return g.PyW({owner:e,repo:r})}return void 0!==e.repository?g.PyW({owner:e.repository.owner.login,repo:e.repository.name}):g.fJG(new o({variable:"GITHUB_REPOSITORY",reason:"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo' or a repository in the event payload"}))},B=E.pipe(g.qIB(y)),Q=E.pipe(g.qIB(e=>y(e).pipe(g.qIB(t=>{let r=e.issue?.number??e.pull_request?.number??e.number;return void 0===r?g.fJG(new o({variable:"GITHUB_EVENT_PATH",reason:"context.issue requires an issue, pull_request, or top-level number in the event payload"})):g.PyW({...t,number:r})})))),N=m.Py(d.g,{get:e=>p(e),getOptional:e=>g.OH5(()=>process.env[e]).pipe(g.TjK(e=>void 0!==e&&""!==e?u.some(e):u.none())),github:C,runner:f,isDebug:g.OH5(()=>"1"===process.env.RUNNER_DEBUG),payload:E,repo:B,issue:Q});var b=r(5419),S=r(8210),w=r(5440),D=r(608);let x=b.Or("github-action-effects/ActionLoggerLive/ActiveBuffer",{defaultValue:()=>null}),R=e=>{if(0!==e.entries.length){for(let t of(process.stdout.write(`--- Buffered output for "${e.label}" --- -`),e.entries))process.stdout.write(`${t} -`);process.stdout.write(`--- End buffered output for "${e.label}" --- -`),e.entries.length=0}},M=m.Py(n.T,{group:(e,t)=>g.jGc(g.OH5(()=>(0,i.sn)("group",{},e)),()=>t.pipe(g.dGm(()=>g.JkU(function*(){let e=yield*x;null!==e&&R(e)}))),()=>g.OH5(()=>(0,i.sn)("endgroup",{},""))),withBuffer:(e,t)=>g.JkU(function*(){let r=yield*S.zQ,n="1"===process.env.RUNNER_DEBUG;if(w.bi(r,"Debug")||n)return yield*t;let s={label:e,entries:[]},o=D.L8(({logLevel:e,message:t})=>{let r,n="string"==typeof(r=Array.isArray(t)&&1===t.length?t[0]:t)?r:JSON.stringify(r);if(w.OW(e,"Warn")){let t=w.OW(e,"Error")?"error":"warning";(0,i.sn)(t,{},n)}else s.entries.push(n)});return yield*t.pipe(g.PfK(S.zQ,"All"),g.Gte(D.qd([o])),g.PfK(x,s),g.cfM(()=>g.OH5(()=>R(s))))}),notice:(e,t)=>g.OH5(()=>(0,i.lm)(t??{},e))});var k=class extends s.rN("ActionOutputError"){},v=r(9581),U=class extends b.kl()("github-action-effects/ActionOutputs"){},F=r(6760);let T=m.QZ(U,g.JkU(function*(){let e=yield*h.Q2,t=m.Py(h.Q2,e),r=(e,r,i)=>(0,v.B)(e,r,i).pipe(g.Gte(t));return{set:(e,t)=>r("GITHUB_OUTPUT",e,t).pipe(g.xm_(t=>new k({outputName:e,reason:t.message})),g.KuX("ActionOutputError",e=>g.F_Q(e))),setJson:(e,t,i)=>a.QsC(i)(t).pipe(g.qIB(t=>r("GITHUB_OUTPUT",e,JSON.stringify(t))),g.NLW,g.xm_(t=>new k({outputName:e,reason:"RuntimeEnvironmentError"===t._tag?t.message:`Output "${e}" validation failed: ${t.message}`}))),summary:t=>{let r=process.env.GITHUB_STEP_SUMMARY;return void 0===r?g.fJG(new k({outputName:"summary",reason:"Environment variable GITHUB_STEP_SUMMARY is not set"})):e.writeFileString(r,t,{flag:"a"}).pipe(g.NLW,g.xm_(e=>new k({outputName:"summary",reason:`Failed to write step summary: ${e.message}`})))},exportVariable:(e,t)=>r("GITHUB_ENV",e,t).pipe(g.Mim(()=>g.OH5(()=>process.env[e]=t)),g.QgK),addPath:t=>{let r=process.env.GITHUB_PATH;return void 0===r?g.OH5(()=>{process.env.PATH=`${t}${F.delimiter}${process.env.PATH??""}`}):e.writeFileString(r,`${t} -`,{flag:"a"}).pipe(g.Mim(()=>g.OH5(()=>{process.env.PATH=`${t}${F.delimiter}${process.env.PATH??""}`})),g.NLW,g.QgK)},setFailed:e=>g.OH5(()=>{(0,i.sn)("error",{},e),process.exitCode=1}),setSecret:e=>g.OH5(()=>{(0,i.sn)("add-mask",{},e)})}}));var L=r(2386),O=r(8579);function P(e){return{_tag:"Value",value:e}}let H=b.Or("effect/ConfigProvider",{defaultValue:()=>{let e,t,r;return e=(void 0)??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},t=false,r=function(e){let t={};for(let[r,i]of Object.entries(e)){if(void 0===i)continue;let e=r.split("_"),n=t;for(let t of e)n.children??={},n=n.children[t]??={}}return t}(e),z(i=>g.PyW(function(e,t,r,i){var n;let s=(n=t[r.map(String).join("_")],""!==n||i?n:void 0),o=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),a=o?.children?Object.keys(o.children):[];return 0===a.length?void 0===s?void 0:P(s):a.every(e=>q.test(e))?{_tag:"Array",length:Math.max(...a.map(e=>parseInt(e,10)))+1,value:s}:{_tag:"Record",keys:new Set(a),value:s}}(r,e,i,t)))}}),Y={...O.fU,toJSON:()=>({_id:"ConfigProvider"})},G=e=>e;function z(e){var t;let r,i;return r={_tag:"Source",get:e,transform:G},t=e=>r.get(r.transform(e)),(i=Object.create(Y)).state=r,i.load=t,i}let q=/^(0|[1-9][0-9]*)$/,V=z(e=>{let t=`INPUT_${e.join("_").replaceAll(" ","_").toUpperCase()}`,r=process.env[t];return void 0===r||""===r?g.PyW(void 0):g.PyW(P(r))});var _=r(8294);let J=D.L8(e=>{let t=(Array.isArray(e.message)?e.message:[e.message]).map(e=>_.ZK(e)).join(" "),r=e.logLevel,n=e.fiber.getRef(S.iL),s={};for(let e of["file","line","col"]){let t=n[e];void 0!==t&&(s[e]=String(t))}w.OW(r,"Error")?(0,i.sn)("error",s,t):w.OW(r,"Warn")?(0,i.sn)("warning",s,t):w.OW(r,"Info")?process.stdout.write(`${t} -`):(0,i.sn)("debug",s,t)});var W=r(6117),j=r(1260),X=r(9002),K=r(3818),Z=r(855),$=r(6338);let ee=b.Or("effect/http/FetchHttpClient/Fetch",{defaultValue:()=>globalThis.fetch});class et extends b.kl()("effect/http/FetchHttpClient/RequestInit"){}let er=K.L8((e,t,r,i)=>{let n=i.getRef(ee),s=i.context.mapUnsafe.get(et.key)??{},o=s.headers?X.h1(X.lX(s.headers),e.headers):e.headers;o["content-length"]&&(o=X.TF(o,"content-length"));let a=i=>g.TjK(g.$mh({try:()=>n(t,{...s,method:e.method,headers:o,body:i,duplex:"Stream"===e.body._tag?"half":void 0,signal:r}),catch:t=>new Z.Kg({reason:new Z.wX({request:e,cause:t})})}),t=>$.tO(e,t));switch(e.body._tag){case"Raw":case"Uint8Array":return a(e.body.body);case"FormData":return a(e.body.formData);case"Stream":return g.qIB(j.tiA(e.body.stream),a)}return a(void 0)}),ei=K.$T(g.PyW(er)),en={Default:m.Um(g.yw5(V)?m.QZ(H)(V):m.Py(H)(V),D.qd([J]),N,M,T,L.A,ei).pipe(m.S5(W.q))};a.xCb(["info","verbose","debug"]).annotate({identifier:"ActionLogLevel",title:"Action Log Level",description:"Logging verbosity for GitHub Action output"}),a.xCb(["info","verbose","debug","auto"]).annotate({identifier:"LogLevelInput",title:"Log Level Input",description:"Logging verbosity: info, verbose, debug, or auto",message:'log-level must be one of: "info", "verbose", "debug", "auto"'});var es=r(8149);let eo={run:(e,t)=>{let r=t?.layer?m.Um(en.Default,t.layer):en.Default,s=g.JkU(function*(){yield*(yield*n.T).withBuffer("action",e)}).pipe(g.Gte(r),g.Tyx(e=>{let t=eo.formatCause(e),r="";try{let t=es.iw(e);t instanceof Error&&t.stack&&(r=t.stack.split("\n").slice(1).join("\n"))}catch{}try{let t=es.j9(e);""!==t.trim()&&(0,i.sn)("debug",{},`Effect span trace: -${t}`)}catch{}let n=r?`Action failed: ${t} -${r}`:`Action failed: ${t}`;return g.OH5(()=>{(0,i.sn)("error",{},n),process.exitCode=1})}));return g.pR5(s).catch(()=>{process.exitCode=1})},resolveLogLevel:e=>"auto"!==e?e:"1"===process.env.RUNNER_DEBUG?"debug":"info",formatCause:e=>{try{let t=es.iw(e);if(null!=t&&"object"==typeof t&&"_tag"in t&&"string"==typeof t._tag){let e=t._tag,r=t.message||t.reason;return null!=r?`[${e}] ${String(r)}`:`[${e}]`}if(t instanceof Error)return`[Error] ${t.message}`;let r=JSON.stringify(t);if(r&&"{}"!==r)return`[UnknownError] ${r}`}catch{}try{let t=es.j9(e);if(""!==t.trim())return t}catch{}return"Unknown error (no diagnostic information available)"}}},9172(e,t,r){let i,n,s,o,a,A,l,d;r.d(t,{b:()=>gx});var g,u,h,m,p,C,f,I,E,y,B,Q,N,b,S,w,D,x,R,M,k,v,U,F,T,L,O,P,H,Y,G,z,q={};r.r(q),r.d(q,{AccessPolicy:()=>sj,AppendBlobAppendBlockExceptionHeaders:()=>Ae,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>Ar,AppendBlobAppendBlockFromUrlHeaders:()=>At,AppendBlobAppendBlockHeaders:()=>a7,AppendBlobCreateExceptionHeaders:()=>a6,AppendBlobCreateHeaders:()=>a9,AppendBlobSealExceptionHeaders:()=>An,AppendBlobSealHeaders:()=>Ai,ArrowConfiguration:()=>os,ArrowField:()=>oo,BlobAbortCopyFromURLExceptionHeaders:()=>ak,BlobAbortCopyFromURLHeaders:()=>aM,BlobAcquireLeaseExceptionHeaders:()=>ap,BlobAcquireLeaseHeaders:()=>am,BlobBreakLeaseExceptionHeaders:()=>aN,BlobBreakLeaseHeaders:()=>aQ,BlobChangeLeaseExceptionHeaders:()=>aB,BlobChangeLeaseHeaders:()=>ay,BlobCopyFromURLExceptionHeaders:()=>aR,BlobCopyFromURLHeaders:()=>ax,BlobCreateSnapshotExceptionHeaders:()=>aS,BlobCreateSnapshotHeaders:()=>ab,BlobDeleteExceptionHeaders:()=>ae,BlobDeleteHeaders:()=>o7,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>ac,BlobDeleteImmutabilityPolicyHeaders:()=>al,BlobDownloadExceptionHeaders:()=>o8,BlobDownloadHeaders:()=>o4,BlobFlatListSegment:()=>sK,BlobGetAccountInfoExceptionHeaders:()=>aT,BlobGetAccountInfoHeaders:()=>aF,BlobGetPropertiesExceptionHeaders:()=>o6,BlobGetPropertiesHeaders:()=>o9,BlobGetTagsExceptionHeaders:()=>aH,BlobGetTagsHeaders:()=>aP,BlobHierarchyListSegment:()=>s2,BlobItemInternal:()=>sZ,BlobName:()=>s$,BlobPrefix:()=>s5,BlobPropertiesInternal:()=>s0,BlobQueryExceptionHeaders:()=>aO,BlobQueryHeaders:()=>aL,BlobReleaseLeaseExceptionHeaders:()=>af,BlobReleaseLeaseHeaders:()=>aC,BlobRenewLeaseExceptionHeaders:()=>aE,BlobRenewLeaseHeaders:()=>aI,BlobServiceProperties:()=>sR,BlobServiceStatistics:()=>sL,BlobSetExpiryExceptionHeaders:()=>an,BlobSetExpiryHeaders:()=>ai,BlobSetHttpHeadersExceptionHeaders:()=>ao,BlobSetHttpHeadersHeaders:()=>as,BlobSetImmutabilityPolicyExceptionHeaders:()=>aA,BlobSetImmutabilityPolicyHeaders:()=>aa,BlobSetLegalHoldExceptionHeaders:()=>ag,BlobSetLegalHoldHeaders:()=>ad,BlobSetMetadataExceptionHeaders:()=>ah,BlobSetMetadataHeaders:()=>au,BlobSetTagsExceptionHeaders:()=>aG,BlobSetTagsHeaders:()=>aY,BlobSetTierExceptionHeaders:()=>aU,BlobSetTierHeaders:()=>av,BlobStartCopyFromURLExceptionHeaders:()=>aD,BlobStartCopyFromURLHeaders:()=>aw,BlobTag:()=>sJ,BlobTags:()=>s_,BlobUndeleteExceptionHeaders:()=>ar,BlobUndeleteHeaders:()=>at,Block:()=>s8,BlockBlobCommitBlockListExceptionHeaders:()=>Ah,BlockBlobCommitBlockListHeaders:()=>Au,BlockBlobGetBlockListExceptionHeaders:()=>Ap,BlockBlobGetBlockListHeaders:()=>Am,BlockBlobPutBlobFromUrlExceptionHeaders:()=>AA,BlockBlobPutBlobFromUrlHeaders:()=>Aa,BlockBlobStageBlockExceptionHeaders:()=>Ac,BlockBlobStageBlockFromURLExceptionHeaders:()=>Ag,BlockBlobStageBlockFromURLHeaders:()=>Ad,BlockBlobStageBlockHeaders:()=>Al,BlockBlobUploadExceptionHeaders:()=>Ao,BlockBlobUploadHeaders:()=>As,BlockList:()=>s4,BlockLookupList:()=>s3,ClearRange:()=>s7,ContainerAcquireLeaseExceptionHeaders:()=>oq,ContainerAcquireLeaseHeaders:()=>oz,ContainerBreakLeaseExceptionHeaders:()=>oX,ContainerBreakLeaseHeaders:()=>oj,ContainerChangeLeaseExceptionHeaders:()=>oZ,ContainerChangeLeaseHeaders:()=>oK,ContainerCreateExceptionHeaders:()=>oN,ContainerCreateHeaders:()=>oQ,ContainerDeleteExceptionHeaders:()=>oD,ContainerDeleteHeaders:()=>ow,ContainerFilterBlobsExceptionHeaders:()=>oG,ContainerFilterBlobsHeaders:()=>oY,ContainerGetAccessPolicyExceptionHeaders:()=>ok,ContainerGetAccessPolicyHeaders:()=>oM,ContainerGetAccountInfoExceptionHeaders:()=>o3,ContainerGetAccountInfoHeaders:()=>o5,ContainerGetPropertiesExceptionHeaders:()=>oS,ContainerGetPropertiesHeaders:()=>ob,ContainerItem:()=>sH,ContainerListBlobFlatSegmentExceptionHeaders:()=>o0,ContainerListBlobFlatSegmentHeaders:()=>o$,ContainerListBlobHierarchySegmentExceptionHeaders:()=>o2,ContainerListBlobHierarchySegmentHeaders:()=>o1,ContainerProperties:()=>sY,ContainerReleaseLeaseExceptionHeaders:()=>o_,ContainerReleaseLeaseHeaders:()=>oV,ContainerRenameExceptionHeaders:()=>oO,ContainerRenameHeaders:()=>oL,ContainerRenewLeaseExceptionHeaders:()=>oW,ContainerRenewLeaseHeaders:()=>oJ,ContainerRestoreExceptionHeaders:()=>oT,ContainerRestoreHeaders:()=>oF,ContainerSetAccessPolicyExceptionHeaders:()=>oU,ContainerSetAccessPolicyHeaders:()=>ov,ContainerSetMetadataExceptionHeaders:()=>oR,ContainerSetMetadataHeaders:()=>ox,ContainerSubmitBatchExceptionHeaders:()=>oH,ContainerSubmitBatchHeaders:()=>oP,CorsRule:()=>sU,DelimitedTextConfiguration:()=>oi,FilterBlobItem:()=>sV,FilterBlobSegment:()=>sq,GeoReplication:()=>sO,JsonTextConfiguration:()=>on,KeyInfo:()=>sG,ListBlobsFlatSegmentResponse:()=>sX,ListBlobsHierarchySegmentResponse:()=>s1,ListContainersSegmentResponse:()=>sP,Logging:()=>sM,Metrics:()=>sv,PageBlobClearPagesExceptionHeaders:()=>aW,PageBlobClearPagesHeaders:()=>aJ,PageBlobCopyIncrementalExceptionHeaders:()=>a8,PageBlobCopyIncrementalHeaders:()=>a4,PageBlobCreateExceptionHeaders:()=>aq,PageBlobCreateHeaders:()=>az,PageBlobGetPageRangesDiffExceptionHeaders:()=>a0,PageBlobGetPageRangesDiffHeaders:()=>a$,PageBlobGetPageRangesExceptionHeaders:()=>aZ,PageBlobGetPageRangesHeaders:()=>aK,PageBlobResizeExceptionHeaders:()=>a2,PageBlobResizeHeaders:()=>a1,PageBlobUpdateSequenceNumberExceptionHeaders:()=>a3,PageBlobUpdateSequenceNumberHeaders:()=>a5,PageBlobUploadPagesExceptionHeaders:()=>a_,PageBlobUploadPagesFromURLExceptionHeaders:()=>aX,PageBlobUploadPagesFromURLHeaders:()=>aj,PageBlobUploadPagesHeaders:()=>aV,PageList:()=>s9,PageRange:()=>s6,QueryFormat:()=>or,QueryRequest:()=>oe,QuerySerialization:()=>ot,RetentionPolicy:()=>sk,ServiceFilterBlobsExceptionHeaders:()=>oB,ServiceFilterBlobsHeaders:()=>oy,ServiceGetAccountInfoExceptionHeaders:()=>of,ServiceGetAccountInfoHeaders:()=>oC,ServiceGetPropertiesExceptionHeaders:()=>oc,ServiceGetPropertiesHeaders:()=>ol,ServiceGetStatisticsExceptionHeaders:()=>og,ServiceGetStatisticsHeaders:()=>od,ServiceGetUserDelegationKeyExceptionHeaders:()=>op,ServiceGetUserDelegationKeyHeaders:()=>om,ServiceListContainersSegmentExceptionHeaders:()=>oh,ServiceListContainersSegmentHeaders:()=>ou,ServiceSetPropertiesExceptionHeaders:()=>oA,ServiceSetPropertiesHeaders:()=>oa,ServiceSubmitBatchExceptionHeaders:()=>oE,ServiceSubmitBatchHeaders:()=>oI,SignedIdentifier:()=>sW,StaticWebsite:()=>sF,StorageError:()=>sT,UserDelegationKey:()=>sz});var V=r(1160),_=class extends V.rN("ActionCacheError"){},J=r(3343),W=r(6760),j=r(3024),X=r(8161);let K=e=>/[*?[]/.test(e),Z=e=>{let t=process.env.HOME||(0,X.homedir)();return e.startsWith("~/")?(0,W.join)(t,e.slice(2)):"~"===e?t:e};var $=r(702),ee=r(1036),et=r(5609),er=r(9981),ei=r(9858),en=r(2103);let es=Symbol.for("twirp/conflict"),eo=["HTTP 500","HTTP 502","HTTP 503","HTTP 504","ECONNRESET","ECONNREFUSED","ETIMEDOUT"];var ea=r(8444),eA=r(6437),el=r(3818),ec=r(1421),ed=r(7598);class eg extends Error{constructor(e){super(e),this.name="AbortError"}}var eu=r(7975);let eh=c("node:process");"string"==typeof eh.versions.deno&&eh.versions.deno.length,"string"==typeof eh.versions.bun&&eh.versions.bun.length;let em=eh.env.DEBUG,ep=[],eC=[],ef=[];em&&eE(em);let eI=Object.assign(e=>eQ(e),{enable:eE,enabled:ey,disable:function(){let e=i||"";return eE(""),e},log:function(e,...t){eh.stderr.write(`${eu.format(e,...t)}${X.EOL}`)}});function eE(e){for(let t of(i=e,ep=[],eC=[],e.split(",").map(e=>e.trim())))t.startsWith("-")?eC.push(t.substring(1)):ep.push(t);for(let e of ef)e.enabled=ey(e.namespace)}function ey(e){if(e.endsWith("*"))return!0;for(let t of eC)if(eB(e,t))return!1;for(let t of ep)if(eB(e,t))return!0;return!1}function eB(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,n=0,s=r.length,o=e.length,a=-1,A=-1;for(;i<o&&n<s;)if("*"===r[n]){if(a=n,++n===s)return!0;for(;e[i]!==r[n];)if(++i===o)return!1;A=i,i++,n++;continue}else if(r[n]===e[i])n++,i++;else{if(!(a>=0)||(n=a+1,(i=A+1)===o))return!1;for(;e[i]!==r[n];)if(++i===o)return!1;A=i,i++,n++;continue}let l=i===e.length,c=n===r.length,d=n===r.length-1&&"*"===r[n];return l&&(c||d)}function eQ(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:ey(e),destroy:eN,log:eI.log,namespace:e,extend:eb});return ef.push(t),t}function eN(){let e=ef.indexOf(this);return e>=0&&(ef.splice(e,1),!0)}function eb(e){let t=eQ(`${this.namespace}:${e}`);return t.log=this.log,t}let eS=["verbose","info","warning","error"],ew={verbose:400,info:300,warning:200,error:100};function eD(e,t){t.log=(...t)=>{e.log(...t)}}function ex(e){return eS.includes(e)}function eR(e){var t;let r,i=new Set,n=(t=e.logLevelEnvVarName,eh.env[t]),s=eI(e.namespace);function o(e){if(e&&!ex(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${eS.join(",")}`);r=e;let t=[];for(let e of i)a(e)&&t.push(e.namespace);eI.enable(t.join(","))}function a(e){return!!(r&&ew[e.level]<=ew[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(eD(e,r),a(r)){let e=eI.disable();eI.enable(e+","+r.namespace)}return i.add(r),r}return s.log=(...e)=>{eI.log(...e)},n&&(ex(n)?o(n):console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${eS.join(", ")}.`)),{setLogLevel:o,getLogLevel:function(){return r},createClientLogger:function(e){let t=s.extend(e);return eD(s,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:s}}let eM=eR({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function ek(e){return eM.createClientLogger(e)}function ev(e){return e.toLowerCase()}eM.logger;class eU{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(ev(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(ev(e))?.value}has(e){return this._headersMap.has(ev(e))}delete(e){this._headersMap.delete(ev(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function eF(e){return new eU(e)}function eT(){return globalThis.crypto.randomUUID()}class eL{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??eF(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||eT(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let eO=new Set(["Deserialize","Serialize","Retry","Sign"]);class eP{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!eO.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!eO.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new eP(this._policies)}static create(){return new eP}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),n=r("None"),s=r("Deserialize"),o=r("Retry"),a=r("Sign"),A=[i,n,s,o,a];function l(e){return"Retry"===e?o:"Serialize"===e?i:"Deserialize"===e?s:"Sign"===e?a:n}for(let e of this._policies){let r=e.policy,i=e.options,n=r.name;if(t.has(n))throw Error("Duplicate policy names not allowed in pipeline");let s={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(s.afterPhase=l(i.afterPhase),s.afterPhase.hasAfterPolicies=!0),t.set(n,s),l(i.phase).policies.add(s)}for(let e of this._policies){let{policy:r,options:i}=e,n=r.name,s=t.get(n);if(!s)throw Error(`Missing node for policy ${n}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(s.dependsOn.add(r),r.dependants.add(s))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(s),s.dependants.add(r))}}function c(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==n){n.hasRun||c(n);return}e.hasAfterPolicies&&c(n)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function eH(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function eY(e){if(eH(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let eG=eu.inspect.custom,ez="REDACTED",eq=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],eV=["api-version"];class e_{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=eq.concat(e),t=eV.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&eH(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&eH(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||eH(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,ez);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=ez;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=ez;return t}}let eJ=new e_;class eW extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,eG,{value:()=>`RestError: ${this.message} - ${eJ.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,eW.prototype)}}function ej(e){return e instanceof eW||eY(e)&&"RestError"===e.name}var eX=r(7067),eK=r(4708),eZ=r(8522),e$=r(7075);let e0=ek("ts-http-runtime"),e1={};function e2(e){return e&&"function"==typeof e.pipe}function e5(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function e3(e){return e&&"number"==typeof e.byteLength}class e4 extends e$.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class e8{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,n=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new eg("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&n.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new e_;e0.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),n.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),o=s?.includes("gzip")||s?.includes("deflate"),a="function"==typeof e.body?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(e2(e))return null;if(e3(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(a);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(a&&e.onUploadProgress){let t=e.onUploadProgress,r=new e4(t);r.on("error",e=>{e0.error("Error in upload progress",e)}),e2(a)?a.pipe(r):r.end(a),a=r}let t=await this.makeRequest(e,n,a);void 0!==r&&clearTimeout(r);let s=function(e){let t=eF();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),l={status:t.statusCode??0,headers:s,request:e};if("HEAD"===e.method)return t.resume(),l;i=o?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=eZ.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=eZ.createInflate();return e.pipe(t),t}return e}(t,s):t;let c=e.onDownloadProgress;if(c){let e=new e4(c);e.on("error",e=>{e0.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=i:l.bodyAsText=await (A=i,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new eW(`Error reading response as text: ${e.message}`,{code:eW.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();e2(a)&&(r=e5(a));let n=Promise.resolve();e2(i)&&(n=e5(i)),Promise.all([r,n]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{e0.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),n="https:"!==i.protocol;if(n&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let s={agent:e.agent??this.getOrCreateAgent(e,n),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,o)=>{let a=n?eX.request(s,i):eK.request(s,i);a.once("error",t=>{o(new eW(t.message,{code:t.code??eW.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new eg("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e),o(e)}),r&&e2(r)?r.pipe(a):r?"string"==typeof r||Buffer.isBuffer(r)?a.end(r):e3(r)?a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(e0.error("Unrecognized body type",r),o(new eW("Unrecognized body type"))):a.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?eX.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new eX.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return eK.globalAgent;let t=e.tlsSettings??e1,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(e0.info("No cached TLS Agent exist, creating a new Agent"),i=new eK.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let e9="Retry-After",e6=["retry-after-ms","x-ms-retry-after-ms",e9];function e7(e){if(e&&[429,503].includes(e.status))try{for(let t of e6){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===e9?1e3:1;return r*e}}let t=e.headers.get(e9);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let te=ek("ts-http-runtime retryPolicy");function tt(e,t){return Buffer.from(e,t)}async function tr(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:eF({"Content-Disposition":`form-data; name="${t}"`}),body:tt(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",n=eF();n.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),n.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:n,body:e})}t.multipartBody={parts:i}}var ti=r(6565),tn=r(7277);let ts=[],to=!1,ta=new Map;function tA(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function tl(){if(!process)return;let e=tA("HTTPS_PROXY"),t=tA("ALL_PROXY"),r=tA("HTTP_PROXY");return e||t||r}function tc(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function td(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&e0.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new tn.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new ti.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let tg="redirectPolicy",tu=["GET","HEAD"];async function th(e,t,r,i,n=0){let{request:s,status:o,headers:a}=t,A=a.get("location");if(A&&(300===o||301===o&&tu.includes(s.method)||302===o&&tu.includes(s.method)||303===o&&"POST"===s.method||307===o)&&n<r){let a=new URL(A,s.url);if(!i){let e=new URL(s.url);if(a.origin!==e.origin)return e0.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`),t}s.url=a.toString(),303===o&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let l=await e(s);return th(e,l,r,i,n+1)}return t}let tm=c("stream");function tp(e){return e instanceof Blob}async function*tC(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function tf(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=tC.bind(e)),e.values||(e.values=tC.bind(e)),tm.Readable.fromWeb(e)):e}function tI(e){return e instanceof Uint8Array?tm.Readable.from(Buffer.from(e)):tp(e)?tf(e.stream()):tf(e)}async function tE(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(tI);return tm.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function ty(e,t,r){let i=[tt(`--${r}`,"utf-8"),...t.flatMap(e=>[tt("\r\n","utf-8"),tt(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r -`;return t}(e.headers),"utf-8"),tt("\r\n","utf-8"),e.body,tt(`\r ---${r}`,"utf-8")]),tt("--\r\n\r\n","utf-8")],n=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:tp(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);n&&e.headers.set("Content-Length",n),e.body=await tE(i)}let tB="multipartPolicy",tQ=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),tN=eR({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function tb(e){return tN.createClientLogger(e)}tN.logger;let tS=tb("core-rest-pipeline"),tw="decompressResponsePolicy";async function tD(e){if(eh&&eh.versions){let t=`${X.type()} ${X.release()}; ${X.arch()}`;eh.versions.bun?e.set("Bun",`${eh.versions.bun} (${t})`):eh.versions.deno?e.set("Deno",`${eh.versions.deno} (${t})`):eh.versions.node&&e.set("Node",`${eh.versions.node} (${t})`)}}async function tx(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await tD(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let tR="User-Agent",tM=Symbol("rawContent");function tk(e){return"function"==typeof e[tM]}class tv extends Error{constructor(e){super(e),this.name="AbortError"}}function tU(e,t){let r,{abortSignal:i,abortErrorMsg:n}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:n}=t??{};return new Promise((t,s)=>{function o(){s(new tv(n??"The operation was aborted."))}function a(){i?.removeEventListener("abort",A)}function A(){r?.(),a(),o()}if(i?.aborted)return o();try{e(e=>{a(),t(e)},e=>{a(),s(e)})}catch(e){s(e)}i?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:n??"The delay was aborted."})}function tF(e){if(eY(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function tT(e){var t=e;if(!t&&!(t=tl()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let tL={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class tO{_contextMap;constructor(e){this._contextMap=e instanceof tO?new Map(e._contextMap):new Map}setValue(e,t){let r=new tO(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new tO(this);return t._contextMap.delete(e),t}}let tP=r(7301).w;function tH(){return tP.instrumenterImplementation||(tP.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new tO(e.parentContext);return e.span&&(t=t.setValue(tL.span,e.span)),e.namespace&&(t=t.setValue(tL.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),tP.instrumenterImplementation}function tY(e){let{namespace:t,packageName:r,packageVersion:i}=e;function n(e,n,s){let o=tH().startSpan(e,{...s,packageName:r,packageVersion:i,tracingContext:n?.tracingOptions?.tracingContext}),a=o.tracingContext,A=o.span;return a.getValue(tL.namespace)||(a=a.setValue(tL.namespace,t)),A.setAttribute("az.namespace",a.getValue(tL.namespace)),{span:A,updatedOptions:Object.assign({},n,{tracingOptions:{...n?.tracingOptions,tracingContext:a}})}}async function s(e,t,r,i){let{span:s,updatedOptions:a}=n(e,t,i);try{let e=await o(a.tracingOptions.tracingContext,()=>r(a,s));return s.setStatus({status:"success"}),e}catch(e){throw s.setStatus({status:"error",error:e}),e}finally{s.end()}}function o(e,t,...r){return tH().withContext(e,t,...r)}return{startSpan:n,withSpan:s,withContext:o,parseTraceparentHeader:function(e){return tH().parseTraceparentHeader(e)},createRequestHeaders:function(e){return tH().createRequestHeaders(e)}}}function tG(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",n),r=!1)}function n(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",n),{abortSignal:t.signal,cleanup:i}}function tz(){let e=new e8;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?tG(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}tb("core-rest-pipeline retryPolicy");let tq={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function tV(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let n=await i();for(;null===n;)await tU(t),n=await i();return n}async function t_(e,t){try{return[await t(e),void 0]}catch(e){if(ej(e)&&e.response)return[e.response,e];throw e}}async function tJ(e){let{scopes:t,getAccessToken:r,request:i}=e,n={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},s=await r(t,n);s&&e.request.headers.set("Authorization",`Bearer ${s.token}`)}function tW(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function tj(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function tX(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,n=e.logger||tS,s={authorizeRequest:i?.authorizeRequest?.bind(i)??tJ,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},o=t?function(e){let t,r=null,i=null,n={...tq,...void 0},s={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(s.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-n.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-n.forcedRefreshWindowInMs<Date.now()}};function o(o,a){return s.isRefreshing||(r=tV(()=>e.getToken(o,a),n.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=a.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let n=!!r.claims,a=t!==r.tenantId;return(n&&(i=null),a||n||s.mustRefresh)?o(e,r):(s.shouldRefresh&&o(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,a;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:n}),[i,a]=await t_(e,t),tW(i)){let A=tK(i.headers.get("WWW-Authenticate"));if(A){let s;try{s=atob(A)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await tj({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:n},s)&&([i,a]=await t_(e,t))}else if(s.authorizeRequestOnChallenge&&(await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:o,logger:n})&&([i,a]=await t_(e,t)),tW(i))&&(A=tK(i.headers.get("WWW-Authenticate")??""))){let s;try{s=atob(A)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await tj({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:n},s)&&([i,a]=await t_(e,t))}}if(!a)return i;throw a}}}function tK(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,n=[];for(;null!==(t=r.exec(e));){let e,r=t[1],s=t[2],o={};for(;null!==(e=i.exec(s));)o[e[1]]=e[2];n.push({scheme:r,params:o})}return n}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function tZ(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let t$="DisableKeepAlivePolicy";function t0(e){return Buffer.from(e).toString("base64")}function t1(e){return tt(e,"base64")}let t2=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,t5=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function t3(e,t){var r,i;let n,s=e.parsedHeaders;if("HEAD"===e.request.method)return{...s,body:e.parsedBody};let o=t&&t.bodyMapper,a=!!o?.nullable,A=o?.type.name;if("Stream"===A)return{...s,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&o.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(s)for(let e of Object.keys(s))t[e]=s[e];return!a||e.parsedBody||s||0!==Object.getOwnPropertyNames(l).length?t:null}return n={...(i={body:e.parsedBody,headers:s,hasNullableType:a,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(n).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:n}class t4{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:n,InclusiveMaximum:s,InclusiveMinimum:o,MaxItems:a,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:g,UniqueItems:u}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==n&&t<=n&&i("ExclusiveMinimum",n),void 0!==s&&t>s&&i("InclusiveMaximum",s),void 0!==o&&t<o&&i("InclusiveMinimum",o),void 0!==a&&t.length>a&&i("MaxItems",a),void 0!==A&&t.length>A&&i("MaxLength",A),void 0!==l&&t.length<l&&i("MinItems",l),void 0!==c&&t.length<c&&i("MinLength",c),void 0!==d&&t%d!=0&&i("MultipleOf",d),g){let e="string"==typeof g?new RegExp(g):g;("string"!=typeof t||null===t.match(e))&&i("Pattern",g)}u&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",u)}}serialize(e,t,r,i={xml:{}}){let n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},s={},o=e.type.name;r||(r=e.serializedName),null!==o.match(/^Sequence$/i)&&(s=[]),e.isConstant&&(t=e.defaultValue);let{required:a,nullable:A}=e;if(a&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(a&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!a&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==o.match(/^any$/i)?s=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?s=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&t5.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(o,r,t):null!==o.match(/^Enum$/i)?s=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?s=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!t2.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(o,t,r):null!==o.match(/^ByteArray$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=t0(t)}return t}(r,t):null!==o.match(/^Base64Url$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(t0(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==o.match(/^Sequence$/i)?s=function(e,t,r,i,n,s){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let o=t.type.element;if(!o||"object"!=typeof o)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===o.type.name&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let a=[];for(let t=0;t<r.length;t++){let A=e.serialize(o,r[t],i,s);if(n&&o.xmlNamespace){let e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";"Composite"===o.type.name?a[t]={...A}:(a[t]={},a[t][s.xml.xmlCharKey]=A),a[t].$={[e]:o.xmlNamespace}}else a[t]=A}return a}(this,e,t,r,!!this.isXML,n):null!==o.match(/^Dictionary$/i)?s=function(e,t,r,i,n,s){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let o=t.type.value;if(!o||"object"!=typeof o)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let a={};for(let t of Object.keys(r)){let A=e.serialize(o,r[t],i,s);a[t]=re(o,A,n,s)}return n&&t.xmlNamespace?(a.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},a):a}(this,e,t,r,!!this.isXML,n):null!==o.match(/^Composite$/i)&&(s=function(e,t,r,i,n,s){if(rr(e,t)&&(t=rt(e,t,r,"clientName")),null!=r){let o={},a=t7(e,t,i);for(let A of Object.keys(a)){let l,c=a[A];if(c.readOnly)continue;let d=o;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=t9(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(n&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let o=""!==c.serializedName?i+"."+c.serializedName:i,a=r[A],g=rr(e,t);g&&g.clientName===A&&null==a&&(a=t.serializedName);let u=e.serialize(c,a,o,s);if(void 0!==u&&null!=l){let e=re(c,u,n,s);n&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=u):n&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=t6(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(A){let t=Object.keys(a);for(let n of Object.keys(r))t.every(e=>e!==n)&&Object.defineProperty(o,n,{value:e.serialize(A,r[n],i+'["'+n+'"]',s),enumerable:!0,configurable:!0,writable:!0})}return o}return r}(this,e,t,r,!!this.isXML,n)),s}deserialize(e,t,r,i={xml:{}}){let n,s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let o=e.type.name;if(r||(r=e.serializedName),null!==o.match(/^Composite$/i))n=function(e,t,r,i,n){let s=n.xml.xmlCharKey??"_";rr(e,t)&&(t=rt(e,t,r,"serializedName"));let o=t7(e,t,i),a={},A=[];for(let l of Object.keys(o)){let c=o[l],d=t9(o[l].serializedName);A.push(d[0]);let{serializedName:g,xmlName:u,xmlElementName:h}=c,m=i;""!==g&&void 0!==g&&(m=i+"."+g);let p=c.headerCollectionPrefix;if(p){let t={};for(let i of Object.keys(r))i.startsWith(p)&&(t[i.substring(p.length)]=e.deserialize(c.type.value,r[i],m,n)),A.push(i);a[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)a[l]=e.deserialize(c,r.$[u],m,n);else if(c.xmlIsMsText)void 0!==r[s]?a[l]=r[s]:"string"==typeof r&&(a[l]=r);else{let t=h||u||g;if(c.xmlIsWrapped){let t=r[u],i=t?.[h]??[];Object.defineProperty(a,l,{value:e.deserialize(c,i,m,n),enumerable:!0,configurable:!0,writable:!0}),A.push(u)}else{let i=r[t];a[l]=e.deserialize(c,i,m,n),A.push(t)}}else{let i,s,A=r,g=0;for(let e of d){if(!A)break;g++,A=A[e]}null===A&&g<d.length&&(A=void 0),i=A;let u=t.type.polymorphicDiscriminator;if(u&&l===u.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[l])&&""===o[l].serializedName){i=r[l];let t=e.deserialize(c,i,m,n);for(let[e,r]of Object.entries(a))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);a=t}else(void 0!==i||void 0!==c.defaultValue)&&(s=e.deserialize(c,i,m,n),a[l]=s)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(o))if(t9(o[t].serializedName)[0]===e)return!1;return!0};for(let s of Object.keys(r))if(t(s)){let t=e.deserialize(l,r[s],i+'["'+s+'"]',n);Object.defineProperty(a,s,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!n.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==a[e]||A.includes(e)||["$",n.xml.xmlCharKey].includes(e)||Object.defineProperty(a,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return a}(this,e,t,r,s);else{if(this.isXML){let e=s.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==o.match(/^Number$/i)?isNaN(n=parseFloat(t))&&(n=t):null!==o.match(/^Boolean$/i)?n="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?n=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?n=new Date(t):null!==o.match(/^UnixTime$/i)?n=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/i)?n=t1(t):null!==o.match(/^Base64Url$/i)?n=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return t1(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==o.match(/^Sequence$/i)?n=function(e,t,r,i,n){let s=t.type.element;if(!s||"object"!=typeof s)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===s.type.name&&s.type.className&&(s=e.modelMappers[s.type.className]??s);let t=[];for(let o=0;o<r.length;o++)t[o]=e.deserialize(s,r[o],`${i}[${o}]`,n);return t}return r}(this,e,t,r,s):null!==o.match(/^Dictionary$/i)&&(n=function(e,t,r,i,n){let s=t.type.value;if(!s||"object"!=typeof s)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let o of Object.keys(r))t[o]=e.deserialize(s,r[o],i,n);return t}return r}(this,e,t,r,s))}return e.isConstant&&(n=e.defaultValue),n}}function t8(e={},t=!1){return new t4(e,t)}function t9(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function t6(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function t7(e,t,r){let i=t.type.modelProperties;if(!i){let n=t6(e,t,r);if(!n)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=n?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(n)}" of type "${t.type.className}" for object "${r}".`)}return i}function re(e,t,r,i){if(!r||!e.xmlNamespace)return t;let n={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=n,e}let s={};return s[i.xml.xmlCharKey]=t,s.$=n,s}function rt(e,t,r,i){let n=rr(e,t);if(n){let s=n[i];if(s){"serializedName"===i&&(s=s.replace(/\\/gi,""));let n=r[s],o=t.type.uberParent??t.type.className;if("string"==typeof n&&o){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),n=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,n))return e[n];for(let[t,n]of Object.entries(e))t.startsWith(r+".")&&n.type.uberParent===r&&n.type.className&&i.push(n.type.className)}}(e.modelMappers.discriminators,n,o);r&&(t=r)}}}return t}function rr(e,t){return t.type.polymorphicDiscriminator||ri(e,t.type.uberParent)||ri(e,t.type.className)}function ri(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let rn="Sequence",rs="Stream",ro=r(5997).w;function ra(e,t,r){let i,n=t.parameterPath,s=t.mapper;if("string"==typeof n&&(n=[n]),Array.isArray(n)){if(n.length>0)if(s.isConstant)i=s.defaultValue;else{let t=rA(e,n);!t.propertyFound&&r&&(t=rA(r,n));let o=!1;t.propertyFound||(o=s.required||"options"===n[0]&&2===n.length),i=o?s.defaultValue:t.propertyValue}}else for(let[t,o]of(s.required&&(i={}),Object.entries(n))){let n=ra(e,{parameterPath:o,mapper:s.type.modelProperties[t]},r);void 0!==n&&(i||(i={}),Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}))}return i}function rA(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let rl=Symbol.for("@azure/core-client original request");function rc(e){if(rl in e)return rc(e[rl]);let t=ro.operationRequestMap.get(e);return t||(t={},ro.operationRequestMap.set(e,t)),t}let rd=["application/json","text/json"],rg=["application/xml","application/atom+xml"];async function ru(e,t,r,i,n){let s,o,a,A,l,c=await rh(e,t,r,i,n);if(s=rc(c.request),!(void 0===(o=s?.shouldDeserialize)||("boolean"==typeof o?o:o(c))))return c;let d=rc(c.request),g=d?.operationSpec;if(!g||!g.responses)return c;let u=(A=rc(c.request),(l=A?.operationSpec)&&(a=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),a),{error:h,shouldReturnResponse:m}=function(e,t,r,i){let n,s=200<=e.status&&e.status<300;if(0===(n=Object.keys(t.responses)).length||1===n.length&&"default"===n[0]?s:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let o=r??t.responses.default,a=new eW(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw a;let A=o?.bodyMapper,l=o?.headersMapper;try{if(e.parsedBody){let r,n=e.parsedBody;if(A){let e=n;if(t.isXML&&A.type.name===rn){e=[];let t=A.xmlElementName;"object"==typeof n&&t&&(e=n[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",i)}let s=n.error||r||n;a.code=s.code,s.message&&(a.message=s.message),A&&(a.response.parsedBody=r)}e.headers&&l&&(a.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){a.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:a,shouldReturnResponse:!1}}(c,g,u,i);if(h)throw h;if(m)return c;if(u){if(u.bodyMapper){let e=c.parsedBody;g.isXML&&u.bodyMapper.type.name===rn&&(e="object"==typeof e?e[u.bodyMapper.xmlElementName]:[]);try{c.parsedBody=g.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new eW(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===g.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);u.headersMapper&&(c.parsedHeaders=g.serializer.deserialize(u.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function rh(e,t,r,i,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(e=>e.toLowerCase()):[];try{if(0===a.length||a.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(s);else if(a.some(e=>-1!==t.indexOf(e))){if(!n)throw Error("Parsing XML not supported.");r.parsedBody=await n(s,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||eW.PARSE_ERROR;throw new eW(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function rm(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function rp(e={}){var t,r,i,n,s;let o,a,A,l,c,d,g=(t=e??{},a=eP.create(),t.agent&&a.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&a.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),a.addPolicy((n=t.proxyOptions,s=void 0,to||ts.push(...(A=tA("NO_PROXY"),(to=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=n?tc(n):(l=tl())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let n=!1;for(let e of t)"."===e[0]?i.endsWith(e)?n=!0:i.length===e.length-1&&i===e.slice(1)&&(n=!0):i===e&&(n=!0);return r?.set(i,n),n}(e.url,s?.customNoProxyList??ts,s?.customNoProxyList?void 0:ta)?td(e,d,c):e.proxySettings&&td(e,d,tc(e.proxySettings)),t(e))})),a.addPolicy({name:tw,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),a.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=tG(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),a.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await tr(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[tB]}),a.addPolicy(function(e={}){let t=tx(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(tR)||e.headers.set(tR,await t),r(e))}}(t.userAgentOptions)),a.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),a.addPolicy((o={name:tB,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",n=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,s,o]=n;if(o&&r&&o!==r)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);if(r??=o){var a=r;if(a.length>70)throw Error(`Multipart boundary "${a}" exceeds maximum length of 70 characters`);if(Array.from(a).some(e=>!tQ.has(e)))throw Error(`Multipart boundary "${a}" contains invalid characters`)}else r=`----AzSDKFormBoundary${eT()}`;return e.headers.set("Content-Type",`${s}; boundary=${r}`),await ty(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:tB,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;tk(t.body)&&(t.body=tk(r=t.body)?r[tM]():r)}return o.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),a.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||te;return{name:"retryPolicy",async sendRequest(i,n){let s,o,a=-1;e:for(;;){a+=1,s=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,i.requestId),s=await n(i),r.info(`Retry ${a}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${a}: Received an error from request`,i.requestId),!ej(e))throw e;o=e,s=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new eg;if(a>=(t.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(s)return s;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${a}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);let n=t.retry({retryCount:a,response:s,responseError:o});if(n.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=n;if(A)throw e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((i,n)=>{let s,o,a=()=>n(new eg(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(s&&clearTimeout(s),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();s=setTimeout(()=>{A(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}(l,void 0,{abortSignal:i.abortSignal});continue e}if(c){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${c}`),i.url=c;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=e7(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:n,responseError:s}){var o,a,A,l,c;let d,g,u=!!(l=s)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=u&&e.ignoreSystemErrors,m=!!((c=n)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),p=m&&e.ignoreHttpStatusCodes;return n&&(Number.isFinite(e7(n))||!m)||p||h?{skipStrategy:!0}:!s||u||m?(d=(o={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(g=Math.min(o.maxRetryDelayInMs,d))/2+(a=0,A=g/2,a=Math.ceil(a),Math.floor(Math.random()*((A=Math.floor(A))-a+1))+a)}):{errorToThrow:s}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),a.addPolicy(function(e={}){let t=tx(e.userAgentPrefix),r=new e_({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return tY({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){tS.warning(`Error when creating the TracingClient: ${tF(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,n){if(!i)return n(e);let s=await t,o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":s,requestId:e.requestId};s&&(o["http.user_agent"]=s);let{span:a,tracingContext:A}=function(e,t,r){try{let{span:i,updatedOptions:n}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let s=e.createRequestHeaders(n.tracingOptions.tracingContext);for(let[e,r]of Object.entries(s))t.headers.set(e,r);return{span:i,tracingContext:n.tracingOptions.tracingContext}}catch(e){tS.warning(`Skipping creating a tracing span due to an error: ${tF(e)}`);return}}(i,e,o)??{};if(!a||!A)return n(e);try{let t=await i.withContext(A,n,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){tS.warning(`Skipping tracing span processing due to an error: ${tF(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:eY(t)?t:void 0}),ej(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){tS.warning(`Skipping tracing span processing due to an error: ${tF(e)}`)}}(a,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:tg,async sendRequest(e,i){let n=await i(e);return th(i,n,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let t=e.logger??e0.info,r=new e_({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let n=await i(e);return t(`Response status code: ${n.status}`),t(`Headers: ${r.sanitize({headers:n.headers})}`),n}}}({logger:tS.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),a);return e.credentialOptions&&g.addPolicy(tX({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),g.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=rc(e),n=i?.operationSpec,s=i?.operationArguments;return n&&s&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let n=ra(t,i);if(null!=n||i.mapper.required){n=r.serializer.serialize(i.mapper,n,rm(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(n))e.headers.set(t+r,n[r]);else e.headers.set(i.mapper.serializedName||rm(i),n)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,s,n),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let n=t.options?.serializerOptions,s={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},o=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=ra(t,r.requestBody);let n=r.requestBody.mapper,{required:a,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:g,nullable:u}=n,h=n.type.name;try{if(void 0!==e.body&&null!==e.body||u&&null===e.body||a){let t=rm(r.requestBody);e.body=r.serializer.serialize(n,e.body,t,s);let a=h===rs;if(r.isXML){let t=g?`xmlns:${g}`:"xmlns",r=function(e,t,r,i,n){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[n.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(d,t,h,e.body,s);h===rn?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let n={[t]:e};return n.$={[r]:i},n}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:o}):a||(e.body=i(r,{rootName:l||A,xmlCharKey:o}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;a||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let n=ra(t,i);if(null!=n){let t=i.mapper.serializedName||rm(i);e.formData[t]=r.serializer.serialize(i.mapper,n,rm(i),s)}}}(e,s,n,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),g.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??rd,r=e.expectedContentTypes?.xml??rg,i=e.parseXML,n=e.serializerOptions,s={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,n)=>ru(t,r,await n(e),s,i)}}(e.deserializationOptions),{phase:"Deserialize"}),g}let rC={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function rf(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let rI=tb("core-client");class rE{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var t;let r,i;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&rI.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(n||(n=tz()),n),this.pipeline=e.pipeline||(r=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(t=e),i=t.credential&&r?{credentialScopes:r,credential:t.credential}:void 0,rp({...t,credentialOptions:i})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new eL({url:function(e,t,r,i){let n=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let n of e.urlParameters){let s=ra(t,n,r),o=rm(n);s=e.serializer.serialize(n.mapper,s,o),n.skipEncoding||(s=encodeURIComponent(s)),i.set(`{${n.mapper.serializedName||o}}`,s)}return i}(t,r,i),s=!1,o=rf(e,n);if(t.path){let e=rf(t.path,n);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(o=e,s=!0):o=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let n=t.indexOf("?");if(-1!==n){let e=t.substring(0,n),s=t.substring(n+1);i+=e,s&&(r.search=r.search?`${r.search}&${s}`:s)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(o,e)}let{queryParams:a,sequenceParams:A}=function(e,t,r){let i=new Map,n=new Set;if(e.queryParameters?.length)for(let s of e.queryParameters){"Sequence"===s.mapper.type.name&&s.mapper.serializedName&&n.add(s.mapper.serializedName);let o=ra(t,s,r);if(null!=o||s.mapper.required){o=e.serializer.serialize(s.mapper,o,rm(s));let t=s.collectionFormat?rC[s.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(e=>null==e?"":e)),"Multi"===s.collectionFormat&&0===o.length)continue;Array.isArray(o)&&("SSV"===s.collectionFormat||"TSV"===s.collectionFormat)&&(o=o.join(t)),s.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&("CSV"===s.collectionFormat||"Pipes"===s.collectionFormat)&&(o=o.join(t)),i.set(s.mapper.serializedName||rm(s),o)}}return{queryParams:i,sequenceParams:n}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let n=new URL(e),s=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),n=t.get(e);n?Array.isArray(n)?n.push(i):t.set(e,[n,i]):t.set(e,i)}return t}(n.search);for(let[e,n]of t){let t=s.get(e);if(Array.isArray(t))if(Array.isArray(n)){t.push(...n);let r=new Set(t);s.set(e,Array.from(r))}else t.push(n);else t?(Array.isArray(n)?n.unshift(t):r.has(e)&&s.set(e,[t,n]),i||s.set(e,n)):s.set(e,n)}let o=[];for(let[e,t]of s)if("string"==typeof t)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)o.push(`${e}=${r}`);else o.push(`${e}=${t}`);return n.search=o.length?`?${o.join("&")}`:"",n.toString()}(o,a,A,s)}(r,t,e,this)});i.method=t.httpMethod;let n=rc(i);n.operationSpec=t,n.operationArguments=e;let s=t.contentType||this._requestContentType;s&&t.requestBody&&i.headers.set("Content-Type",s);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(n.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),o.abortSignal&&(i.abortSignal=o.abortSignal),o.tracingOptions&&(i.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===rs&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=t3(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=t3(r,t.responses[e.statusCode]||t.responses.default);e.details=i,o?.onResponse&&o.onResponse(r,i,e)}throw e}}}let ry="authorization",rB=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,n=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),s=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,n),o=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(n);if(!o)return!1;let a=await e.getAccessToken(s,{...r,tenantId:o});return!!a&&(e.request.headers.set(ry,`${a.tokenType??"Bearer"} ${a.token}`),!0)}return!1},rQ=Symbol("Original PipelineRequest"),rN=Symbol.for("@azure/core-client original request"),rb=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function rS(e,t={}){let r=e[rQ],i=eF(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new eL({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[rN]=t.originalRequest),r}}function rw(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:rD(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,n,s)=>n===rQ?e:"clone"===n?()=>rw(rS(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,n,s),set:(t,r,i,n)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&rb.has(r)&&(e[r]=i),Reflect.set(t,r,i,n))}):i}function rD(e){return new rR(e.toJSON({preserveCase:!0}))}function rx(e){return e.toLowerCase()}class rR{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[rx(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[rx(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[rx(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[rx(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[rx(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new rR(e)}}let rM=Symbol("Original FullOperationResponse");function rk(e,t){let r=rw(e.request),i=rD(e.headers);return t?.createProxy?new Proxy(e,{get:(t,n,s)=>"headers"===n?i:"request"===n?r:n===rM?e:Reflect.get(t,n,s),set:(e,t,n,s)=>("headers"===t?i=n:"request"===t&&(r=n),Reflect.set(e,t,n,s))}):{...e,request:r,headers:i}}function rv(e){let t=e[rM],r=eF(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:rS(e.request)}}class rU extends rE{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===t$)||this.pipeline.addPolicy({name:t$,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:tg})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,n){r=e,i&&i(e,t,n)}};let n=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(n,"_response",{value:rk(r)}),n}}(g=w||(w={}))[g.ERROR=1]="ERROR",g[g.INFO=3]="INFO",g[g.OFF=0]="OFF",g[g.WARNING=2]="WARNING";let rF={log(e,t){},shouldLog:e=>!1};class rT{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},n=null,s=e,o=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(o&&(s=o[1]+o[3],o[2])){let e=o[2].slice(1,-1);e&&(n=e)}let a=s;if(s.includes("::")){let r=s.indexOf("::");if(t=s.substring(0,r).trim(),a=s.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(a.includes(":")){let e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),i=a.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,A=i):r=a}else r=a;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),n)if(n.includes("=")){let e=n.indexOf("=");i.attrName=n.substring(0,e).trim(),i.attrValue=n.substring(e+1).trim()}else i.attrName=n.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=A}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class rL{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class rO{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new rL(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length,s=this.siblingStacks[n];s||(s={counts:new Map,total:0},this.siblingStacks[n]=s);let o=r?`${r}:${e}`:e,a=s.counts.get(o)||0,A=s.total;s.counts.set(o,a+1),s.total++;let l={tag:e,position:A,counter:a};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==i?i.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],n=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,n=!0;break}if(!n)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function rP(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function rH(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function rY(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let rG=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",rz=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",rq=(e,t,r="")=>{let i=e.replace(":",""),n=t.replace(":",""),s=`[${i}][${n}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${s}$`,r),qName:RegExp(`^${s}(?::${s})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},rV=rq(rG,rG+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),r_=rq(rz,rz+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),rJ=":A-Za-z_",rW=rq(rJ,rJ+"\\-\\.\\d"),rj=(e="1.0",t=!1)=>t?rW:"1.1"===e?r_:rV,rX=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>rj(t,r).qName.test(e),rK=["name","ncName","qName","nmToken","nmTokens"],rZ=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!rK.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${rK.join(", ")}`);let n=rj(t,r)[e],s=new Map,o=e=>{let t=s.get(e);if(void 0!==t)return t;let r=n.test(e);return s.size<i&&s.set(e,r),r};return o.reset=()=>{s=new Map},o};function r$(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function r0(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function r1(e,t,r,i,n){let s="";if(e&&!t.ignoreAttributes)for(let o in e){let a;if(!Object.prototype.hasOwnProperty.call(e,o))continue;let A=o.substr(t.attributeNamePrefix.length),l=r?A:r$(A,!0,t,i,n);!0===(a=r?e[o]:r2(a=t.attributeValueProcessor(o,e[o]),t))&&t.suppressBooleanAttributes?s+=` ${l}`:s+=` ${l}="${rY(a)}"`}return s}function r2(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let r5={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function r3(e){if(this.options=Object.assign({},r5,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new rT(t)):t instanceof rT&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=r6}this.processTextOrObjNode=r8,this.options.format?(this.indentate=r9,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function r4(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function r8(e,t,r,i,n){let s=this.extractAttributes(e);if(i.push(t,s),this.checkStopNode(i)){let n=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(n,t,s,r)}let o=this.j2x(e,r+1,i,n);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,o.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,r,i):this.buildObjectNode(o.val,t,o.attrStr,r)}function r9(e){return this.options.indentBy.repeat(e)}function r6(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}r3.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new rT(r)):r instanceof rT&&i.push(r)}let n=rZ("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===r0(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,n,s,o){let a="",A=!1;if(r.maxNestedTags&&n.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return r2(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],g=r0(d);if(void 0===g)continue;let u=g===r.textNodeName||g===r.cdataPropName||g===r.commentPropName||"?"===g[0]?g:r$(g,!1,r,n,o),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n.startsWith(t.attributeNamePrefix)?n.substr(t.attributeNamePrefix.length):n]=rY(e[n]),i=!0);return i?r:null}(d[":@"],r);n.push(u,h);let m=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(n,s);if(u===r.textNodeName){let e=d[g];m||(e=r2(e=r.tagValueProcessor(u,e),r)),A&&(a+=i),a+=e,A=!1,n.pop();continue}if(u===r.cdataPropName){A&&(a+=i);let e=rH(d[g][0][r.textNodeName]);a+=`<![CDATA[${e}]]>`,A=!1,n.pop();continue}if(u===r.commentPropName){let e=rP(d[g][0][r.textNodeName]);a+=i+`<!--${e}-->`,A=!0,n.pop();continue}else if("?"===u[0]){let e=r1(d[":@"],r,m,n,o);a+=("?xml"===u?"":i)+`<${u}${e}?>`,A=!0,n.pop();continue}let p=i;""!==p&&(p+=r.indentBy);let C=r1(d[":@"],r,m,n,o),f=i+`<${u}${C}`;c=m?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let n=0;n<t.length;n++){let s=t[n],o=r0(s);if(o===r.textNodeName)i+=s[o];else if(o===r.cdataPropName)i+=s[o][0][r.textNodeName];else if(o===r.commentPropName)i+=s[o][0][r.textNodeName];else if(o&&"?"===o[0])continue;else if(o){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=e[i];!0===n&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${rY(n)}"`}return r}(s[":@"],r),n=e(s[o],r);n&&0!==n.length?i+=`<${o}${t}>${n}</${o}>`:i+=`<${o}${t}/>`}}return i}(d[g],r):e(d[g],r,p,n,s,o),-1!==r.unpairedTags.indexOf(u)?r.suppressUnpairedNode?a+=f+">":a+=f+"/>":(!c||0===c.length)&&r.suppressEmptyNode?a+=f+"/>":c&&c.endsWith(">")?a+=f+`>${c}${i}</${u}>`:(a+=f+">",c&&""!==i&&(c.includes("/>")||c.includes("</"))?a+=i+r.indentBy+c+i:a+=c,a+=`</${u}>`),A=!0,n.pop()}return a}(e,t,r,new rO,i,n)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new rO,r=rZ("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},r3.prototype.j2x=function(e,t,r,i){let n="",s="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:r4(A,!1,this.options,r,i);if(void 0===e[A])this.isAttribute(A)&&(s+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?s+="":"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)s+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,o)){let t=r4(c,!0,this.options,r,i);n+=this.buildAttrPairStr(t,""+e[A],a)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);s+=this.replaceEntitiesValue(t)}else{r.push(l);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[A];""===r?s+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:s+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else s+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let n=e[A].length,o="",a="";for(let c=0;c<n;c++){let n=e[A][c];if(void 0===n);else if(null===n)"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){r.push(l);let e=this.j2x(n,t+1,r,i);r.pop(),o+=e.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else o+=this.processTextOrObjNode(n,l,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,n);o+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+n;""===e?o+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:o+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(n,l,"",t,r)}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,a,t)),s+=o}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),s=t.length;for(let o=0;o<s;o++){let s=r4(t[o],!0,this.options,r,i);n+=this.buildAttrPairStr(s,""+e[A][t[o]],a)}}else s+=this.processTextOrObjNode(e[A],l,t,r,i)}return{attrStr:n,val:s}},r3.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+rY(t)+'"'},r3.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=rY(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=this.isAttribute(i);n&&(t[n]=rY(e[i]),r=!0)}return r?t:null},r3.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${n}/>`:t+=`<${r}${n}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),n=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${n}/>`:t+=`<${r}${n}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},r3.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,n=r[e];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+rY(n)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let n=e[r];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+rY(n)+'"'}}return t},r3.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n="</"+t+this.tagEndChar,s="";return("?"===t[0]&&(s="?",n=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+s+">"+e+n:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===s.length?this.indentate(i)+`<!--${rP(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+s+this.tagEndChar+e+this.indentate(i)+n}},r3.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},r3.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},r3.prototype.buildTextValNode=function(e,t,r,i,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=rH(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=rP(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n=this.options.tagValueProcessor(t,e);return""===(n=this.replaceEntitiesValue(n))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+n+"</"+t+this.tagEndChar}},r3.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let r7=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ie=RegExp("^"+("["+r7+"]["+r7)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function it(e,t){let r=[],i=t.exec(e);for(;i;){let n=[];n.startIndex=t.lastIndex-i[0].length;let s=i.length;for(let e=0;e<s;e++)n.push(i[e]);r.push(n),i=t.exec(e)}return r}let ir=function(e){return null!=ie.exec(e)},ii=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],is=["__proto__","constructor","prototype"],io={allowBooleanAttributes:!1,unpairedTags:[]};function ia(e,t){t=Object.assign({},io,t);let r=[],i=!1,n=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let s=0;s<e.length;s++)if("<"===e[s]&&"?"===e[s+1]){if(s+=2,(s=il(e,s)).err)return s}else if("<"===e[s]){let o=s;if("!"===e[++s]){s=ic(e,s);continue}{let a=!1;"/"===e[s]&&(a=!0,s++);let A="";for(;s<e.length&&">"!==e[s]&&" "!==e[s]&&" "!==e[s]&&"\n"!==e[s]&&"\r"!==e[s];s++)A+=e[s];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),s--),!ir(A))return iu("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",ih(e,s));let l=function(e,t){let r="",i="",n=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){n=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:n}}(e,s);if(!1===l)return iu("InvalidAttr","Attributes for '"+A+"' have open quote.",ih(e,s));let c=l.value;if(s=l.index,"/"===c[c.length-1]){let r=s-c.length,n=ig(c=c.substring(0,c.length-1),t);if(!0!==n)return iu(n.err.code,n.err.msg,ih(e,r+n.err.line));i=!0}else if(a)if(!l.tagClosed)return iu("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",ih(e,s));else{if(c.trim().length>0)return iu("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",ih(e,o));if(0===r.length)return iu("InvalidTag","Closing tag '"+A+"' has not been opened.",ih(e,o));let t=r.pop();if(A!==t.tagName){let r=ih(e,t.tagStartPos);return iu("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",ih(e,o))}0==r.length&&(n=!0)}else{let a=ig(c,t);if(!0!==a)return iu(a.err.code,a.err.msg,ih(e,s-c.length+a.err.line));if(!0===n)return iu("InvalidXml","Multiple possible root nodes found.",ih(e,s));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:o}),i=!0}for(s++;s<e.length;s++)if("<"===e[s])if("!"===e[s+1]){s=ic(e,++s);continue}else if("?"===e[s+1]){if((s=il(e,++s)).err)return s}else break;else if("&"===e[s]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,s);if(-1==t)return iu("InvalidChar","char '&' is not expected.",ih(e,s));s=t}else if(!0===n&&!iA(e[s]))return iu("InvalidXml","Extra text at the end",ih(e,s));"<"===e[s]&&s--}}else{if(iA(e[s]))continue;return iu("InvalidChar","char '"+e[s]+"' is not expected.",ih(e,s))}return i?1==r.length?iu("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",ih(e,r[0].tagStartPos)):!(r.length>0)||iu("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):iu("InvalidXml","Start tag expected.",1)}function iA(e){return" "===e||" "===e||"\n"===e||"\r"===e}function il(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return iu("InvalidXml","XML declaration allowed only at the start of the document.",ih(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function ic(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let id=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function ig(e,t){let r=it(e,id),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return iu("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",im(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return iu("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",im(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return iu("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",im(r[e]));let n=r[e][2];if(!ir(n))return iu("InvalidAttr","Attribute '"+n+"' is an invalid name.",im(r[e]));if(Object.prototype.hasOwnProperty.call(i,n))return iu("InvalidAttr","Attribute '"+n+"' is repeated.",im(r[e]));i[n]=1}return!0}function iu(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function ih(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function im(e){return e.startIndex+e[1].length}let ip=e=>ii.includes(e)?"__"+e:e,iC={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:ip},iI=function(e){let t=Object.assign({},iC,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(ii.some(e=>r===e.toLowerCase())||is.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=ip),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};s="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class iE{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][s]={startIndex:t})}static getMetaDataSymbol(){return s}}class iy{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let n=1,s=!1,o=!1;for(;t<e.length;t++)if("<"!==e[t]||o)if(">"===e[t]){if(o?"-"===e[t-1]&&"-"===e[t-2]&&(o=!1,n--):n--,0===n)break}else"["===e[t]?s=!0:e[t];else{if(s&&iQ(e,"!ENTITY",t)){let n,s;if(t+=7,[n,s,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===s.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[n]=s,i++}}else if(s&&iQ(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(s&&iQ(e,"!ATTLIST",t))t+=8;else if(s&&iQ(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(iQ(e,"!--",t))o=!0;else throw Error("Invalid DOCTYPE");n++}if(0!==n)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=iB(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(iN(i,{xmlVersion:this.xmlVersion}),t=iB(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let n="";if([t,n]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&n.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${n.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,n,--t]}readNotationExp(e,t){let r=t=iB(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||iN(i,{xmlVersion:this.xmlVersion}),t=iB(e,t);let n=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==n&&"PUBLIC"!==n)throw Error(`Expected SYSTEM or PUBLIC, found "${n}"`);t+=n.length,t=iB(e,t);let s=null,o=null;if("PUBLIC"===n)[t,s]=this.readIdentifierVal(e,t,"publicIdentifier"),t=iB(e,t),('"'===e[t]||"'"===e[t])&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===n&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!o))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:s,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let i="",n=e[t];if('"'!==n&&"'"!==n)throw Error(`Expected quoted string, found "${n}"`);let s=++t;for(;t<e.length&&e[t]!==n;)t++;if(i=e.substring(s,t),e[t]!==n)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=iB(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!rX(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=iB(e,t);let n="";if("E"===e[t]&&iQ(e,"MPTY",t))t+=4;else if("A"===e[t]&&iQ(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(n=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:n.trim(),index:t}}readAttlistExp(e,t){let r=t=iB(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(iN(i,{xmlVersion:this.xmlVersion}),r=t=iB(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);if(!iN(n,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${n}"`);t=iB(e,t);let s="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(s="NOTATION",t+=8,t=iB(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let n=e.substring(i,t);if(!iN(n=n.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${n}"`);r.push(n),"|"===e[t]&&(t=iB(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,s+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(s+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(s.toUpperCase()))throw Error(`Invalid attribute type: "${s}"`)}t=iB(e,t);let o="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(o="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(o="#IMPLIED",t+=7):[t,o]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:n,attributeType:s,defaultValue:o,index:t}}}let iB=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function iQ(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function iN(e,t){if(rX(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let ib=new Map,iS=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?iS[r-1632]=t:ib.set(r,t)}let iw=new Set([8722,65293,65123]),iD=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let n=e.charCodeAt(i);if((!(n>=48)||!(n<=57))&&45!==n){if(n<1632){if(iw.has(n)){r=i;break}continue}if(n>=55296&&n<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(n-55296<<10)+(t-56320);if(ib.has(e)){r=i;break}}}continue}if(255!==iS[n-1632]||iw.has(n)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let n=r;n<t;n++){let r=e.charCodeAt(n);if(r>=48&&r<=57||45===r){i.push(e[n]);continue}if(r<1632){i.push(iw.has(r)?"-":e[n]);continue}if(r>=55296&&r<=56319){if(n+1<t){let t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),s=ib.get(e);if(void 0!==s){i.push(String.fromCharCode(s+48)),n++;continue}}}i.push(e[n]);continue}if(iw.has(r)){i.push("-");continue}let s=iS[r-1632];i.push(255!==s?String.fromCharCode(s+48):e[n])}return i.join("")},ix=/^[-+]?0x[a-fA-F0-9]+$/,iR=/^0b[01]+$/,iM=/^0o[0-7]+$/,ik=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,iv={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},iU=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function iF(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class iT{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,n=this._byDepthAndTag.get(i);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let s=this._wildcardByDepth.get(t);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++)if(e.matches(o[t]))return o[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let iL={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},iO={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},iP={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},iH=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),iY=new Set("!?\\\\/[]$%{}^&*()<>|+");function iG(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(iY.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function iz(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let iq="external",iV="base",i_=Object.freeze({allow:0,leave:1,remove:2,throw:3}),iJ=new Set([9,10,13]);class iW{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??iq)&&t!==iq?"all"===t?["all"]:t===iV?[iV]:Array.isArray(t)?t:[iq]:[iq]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=iz(iO,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:i_.allow,nullLevel:i_.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:i_[e.onNCR]??i_.allow,nullLevel:Math.max(i_[e.nullNCR]??i_.remove,i_.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let n=e(t,r);if(n===iH.BLOCK)return!1;if(n===iH.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))iG(t);if(!this._onExternalEntity){this._externalMap=iz(e);return}let t=iz(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){iG(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=iz(e);return}let t=iz(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,n=0,s=this._maxTotalExpansions>0,o=this._maxExpandedLength>0,a=s||o;for(;n<r;){let A,l;if(38!==e.charCodeAt(n)){n++;continue}let c=n+1;for(;c<r&&59!==e.charCodeAt(c)&&c-n<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){n++;continue}let d=e.slice(n+1,c);if(0===d.length){n++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=iq);else if(this._leaveSet.has(d)){n++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){n++;continue}A=e,l=iV}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){n++;continue}if(n>i&&t.push(e.slice(i,n)),t.push(A),n=i=c+1,a&&this._tierCounts(l)){if(s&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(o){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:iq}:e in this._externalMap?{value:this._externalMap[e],tier:iq}:e in this._baseMap?{value:this._baseMap[e],tier:iV}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!iJ.has(e)?i_.remove:-1}_applyNCRAction(e,t,r){switch(e){case i_.allow:return String.fromCodePoint(r);case i_.remove:return"";case i_.leave:return;case i_.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<i_.remove)return;let n=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(n,e,t)}}let ij=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],iX=[...ij,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],iK=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],iZ=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],i$=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],i0=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],i1=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],i2="[\"'\\s]*:",i5=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${i2}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${i2}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${i2}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${i2}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${i2}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${i2}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${i2}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${i2}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${i2}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${i2}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${i2}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${i2}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${i2}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],i3=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];iK.label="HTML",iZ.label="XML",i$.label="SVG",ij.label="SQL",iX.label="SQL-STRICT",i0.label="SHELL",i1.label="REDOS",i5.label="NOSQL",i3.label="LOG",Object.freeze({HTML:iK,XML:iZ,SVG:i$,SQL:ij,"SQL-STRICT":iX,SHELL:i0,REDOS:i1,NOSQL:i5,LOG:i3});class i4{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=ne,this.parseTextData=i8,this.resolveNameSpace=i9,this.buildAttributesMap=i7,this.isItStopNode=nn,this.replaceEntitiesValue=nr,this.readStopNodeData=na,this.saveTextToParentTag=ni,this.addChild=nt,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...iO};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...iP,...iL}),this.entityDecoder=new iW({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[iK,iZ])?iH.ALLOW:iH.BLOCK})),this.matcher=new rO,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new iT;let n=this.options.stopNodes;if(n&&n.length>0){for(let e=0;e<n.length;e++){let t=n[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new rT(t)):t instanceof rT&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function i8(e,t,r,i,n,s,o){let a=this.options;if(void 0!==e&&(a.trimValues&&!i&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,r));let i=a.jPath?r.toString():r,A=a.tagValueProcessor(t,e,i,n,s);return null==A?e:typeof A!=typeof e||A!==e?A:a.trimValues||e.trim()===e?nA(e,a.parseTagValue,a.numberParseOptions):e}}function i9(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let i6=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function i7(e,t,r,i=!1){let n=this.options;if(!0===i||!0!==n.ignoreAttributes&&"string"==typeof e){let i=it(e,i6),s=i.length,o={},a=Array(s),A=!1,l={};for(let e=0;e<s;e++){let t=this.resolveNameSpace(i[e][1]),s=i[e][4];if(t.length&&void 0!==s){let i=s;n.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),a[e]=i,l[t]=i,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=n.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<s;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=n.attributeNamePrefix+t;if(t.length)if(n.transformAttributeName&&(r=n.transformAttributeName(r)),r=nc(r,n),void 0!==i[e][4]){let i=a[e],s=n.attributeValueProcessor(t,i,c);null==s?o[r]=i:typeof s!=typeof i||s!==i?o[r]=s:o[r]=nA(i,n.parseAttributeValue,n.numberParseOptions),d=!0}else n.allowBooleanAttributes&&(o[r]=!0,d=!0)}if(!d)return;if(n.attributesGroupName&&!n.preserveOrder){let e={};return e[n.attributesGroupName]=o,e}return o}}let ne=function(e){e=e.replace(/\r\n?/g,"\n");let t=new iE("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n=this.options,s=new iy(n.processEntities),o=e.length;for(let a=0;a<o;a++)if("<"===e[a]){let A=e.charCodeAt(a+1);if(47===A){let t=ns(e,">",a,"Closing Tag is not closed."),s=e.substring(a+2,t).trim();if(n.removeNSPrefix){let e=s.indexOf(":");-1!==e&&(s=s.substr(e+1))}s=nl(n.transformTagName,s,"",n).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(s&&n.unpairedTagsSet.has(s))throw Error(`Unpaired tag can not be used as closing tag: </${s}>`);o&&n.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",a=t}else if(63===A){let t=no(e,a,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),s.setXmlVersion(Number(e)||1)}if(n.ignoreDeclaration&&"?xml"===t.tagName||n.ignorePiTags);else{let e=new iE(t.tagName);e.add(n.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==n.ignoreAttributes&&(e[":@"]=o),this.addChild(r,e,this.readonlyMatcher,a)}a=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(a+2)&&45===e.charCodeAt(a+3)){let t=ns(e,"--\x3e",a+4,"Comment is not closed.");if(n.commentPropName){let s=e.substring(a+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:s}])}a=t}else if(33===A&&68===e.charCodeAt(a+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=s.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities),a=t.i}else if(33===A&&91===e.charCodeAt(a+2)){let t=ns(e,"]]>",a,"CDATA is not closed.")-2,s=e.substring(a+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.parseTextData(s,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==o&&(o=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:s}]):r.add(n.textNodeName,o),a=t+2}else{let s,A=no(e,a,n.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,g=A.attrExpPresent,u=A.closeIndex;if({tagName:l,tagExp:d}=nl(n.transformTagName,l,d,n),n.strictReservedNames&&(l===n.commentPropName||l===n.cdataPropName||l===n.textNodeName||l===n.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&n.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(m=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),g=l!==d);let p=null;s=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},s),l!==d&&g&&(p=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(p,n),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let C=a;if(this.isCurrentNodeStopNode){let t="";if(m)a=A.closeIndex;else if(n.unpairedTagsSet.has(l))a=A.closeIndex;else{let r=this.readStopNodeData(e,c,u+1);if(!r)throw Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}let i=new iE(l);p&&(i[":@"]=p),i.add(n.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,C)}else{if(m){({tagName:l,tagExp:d}=nl(n.transformTagName,l,d,n));let e=new iE(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(l)){let e=new iE(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let e=new iE(l);if(this.tagsNodeStack.length>n.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),r=e}i="",a=u}}}else i+=e[a];return t.child};function nt(e,t,r,i){this.options.captureMetaData||(i=void 0);let n=this.options.jPath?r.toString():r,s=this.options.updateTag(t.tagname,n,t[":@"]);!1===s||("string"==typeof s&&(t.tagname=s),e.addChild(t,i))}function nr(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,n)))return e}if(i.tagFilter){let n=this.options.jPath?r.toString():r;if(!i.tagFilter(t,n))return e}return this.entityDecoder.decode(e)}function ni(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function nn(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function ns(e,t,r,i){let n=e.indexOf(t,r);if(-1!==n)return n+t.length-1;throw Error(i)}function no(e,t,r,i=">"){let n=function(e,t,r=">"){let i=0,n=e.length,s=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",A=t;for(let r=t;r<n;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===s){if(-1===o)return{data:a+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===o)return{data:a+=e.substring(A,r),index:r}}else 9!==t||i||(a+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,i);if(!n)return;let s=n.data,o=n.index,a=s.search(/\s/),A=s,l=!0;-1!==a&&(A=s.substring(0,a),s=s.substring(a+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==n.data.substr(e+1))}return{tagName:A,tagExp:s,closeIndex:o,attrExpPresent:l,rawTagName:c}}function na(e,t,r){let i=r,n=1,s=e.length;for(;r<s;r++)if("<"===e[r]){let s=e.charCodeAt(r+1);if(47===s){let s=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,s).trim()===t&&0==--n)return{tagContent:e.substring(i,r),i:s};r=s}else if(63===s)r=ns(e,"?>",r+1,"StopNode is not closed.");else if(33===s&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=ns(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===s&&91===e.charCodeAt(r+2))r=ns(e,"]]>",r,"StopNode is not closed.")-2;else{let i=no(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&n++,r=i.closeIndex)}}}function nA(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},iv,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=iD(r)))return 0;if(t.hex&&ix.test(r))return iF(r,16);{if(t.binary&&iR.test(r))return iF(r,2);if(t.octal&&iM.test(r))return iF(r,8);if(!isFinite(r)){var i,n=e,s=Number(r),o=t;switch(o.infinity.toLowerCase()){case"null":return null;case"infinity":return s;case"string":return s===1/0?"Infinity":"-Infinity";default:return n}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(iU);if(!i)return e;{let n=i[1]||"",s=-1===i[3].indexOf("e")?"E":"e",o=i[2],a=n?e[o.length+1]===s:e[o.length]===s;if(o.length>1&&a)return e;if(1===o.length&&(i[3].startsWith(`.${s}`)||i[3][0]===s))return Number(t);if(!(o.length>0))return Number(t);else if(r.leadingZeros&&!a)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let a=ik.exec(r);if(!a)return e;{let n=a[1]||"",s=a[2],o=((i=a[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),A=n?"."===e[s.length+1]:"."===e[s.length];if(!t.leadingZeros&&(s.length>1||1===s.length&&!A))return e;{let i=Number(r),a=String(i);if(0===i)return i;if(-1!==a.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===a)return i;else if(a===o)return i;else if(a===`${n}${o}`)return i;else return e;let A=s?o:r;return s?A===a||n+A===a?i:e:A===a||A===n+a?i:e}}}}(e,r)}return void 0!==e?e:""}function nl(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=nc(t,i),tagExp:r}}function nc(e,t){if(is.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return ii.includes(e)?t.onDangerousProperty(e):e}let nd=iE.getMetaDataSymbol();class ng{constructor(e){this.externalEntities={},this.options=iI(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=ia(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new i4(this.options,this.externalEntities),n=i.parseXml(e);return this.options.preserveOrder||void 0===n?n:(r=this.options,function e(t,r,i,n){let s,o={};for(let a=0;a<t.length;a++){let A=t[a],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(A[":@"]||{},r.attributeNamePrefix);i.push(l,e)}if(l===r.textNodeName)void 0===s?s=A[l]:s+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,i,n),s=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,i){if(t){let n=Object.keys(t),s=n.length;for(let o=0;o<s;o++){let s=n[o],a=s.startsWith(i.attributeNamePrefix)?s.substring(i.attributeNamePrefix.length):s,A=i.jPath?r.toString()+"."+a:r;i.isArray(s,A,!0,!0)?e[s]=[t[s]]:e[s]=t[s]}}}(t,A[":@"],n,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[nd]&&"object"==typeof t&&null!==t&&(t[nd]=A[nd]),void 0!==o[l]&&Object.prototype.hasOwnProperty.call(o,l))Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(t);else{let e=r.jPath?n.toString():n;r.isArray(l,e,s)?o[l]=[t]:o[l]=t}void 0!==l&&l!==r.textNodeName&&i.pop()}}return"string"==typeof s?s.length>0&&(o[r.textNodeName]=s):void 0!==s&&(o[r.textNodeName]=s),o}(n,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return iE.getMetaDataSymbol()}}function nu(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function nh(e,t={}){let r=function(e={}){return{...nu(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new r3(r),n={[r.rootNodeName]:e},s=i.build(n);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${s}`.replace(/\n/g,"")}async function nm(e,t={}){if(!e)throw Error("Document is empty");let r=ia(e);if(!0!==r)throw r;let i=new ng(function(e={}){return{...nu(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let np=tb("storage-blob");var nC=r(4434);class nf extends e$.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,n=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,s=Math.min(n,i);if(s>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+s;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),s===n?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=s,r+=s}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let nI=r(4573).constants.MAX_LENGTH;class nE{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/nI);for(let t=0;t<i;t++){let r=t===i-1?e%nI:nI;0===r&&(r=nI),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,n=0,s=0,o=0;for(;o<this._size;){let t=e[r],a=this.buffers[i],A=t.copy(a,n,s);o+=A,s+=A,n+=A,s===t.length&&(r++,s=0),n===a.length&&(i++,n=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(s))}getReadableStream(){return new nf(this.buffers,this.size)}}class ny{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new nC.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,n,s){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(n<=0)throw RangeError(`concurrency must be larger than 0, current is ${n}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=n,this.encoding=s}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new nE(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let nB=c("node:module");var nQ=r(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(o=(0,nB.createRequire)(import.meta.url),a=(0,nQ.fileURLToPath)(import.meta.url),A=(0,W.dirname)(a));var nN=(u="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==a&&(u=u||a),function(e){var t,r,i,n,s,a,l,c,d,g,h=void 0!==(e=e||{})?e:{};h.ready=new Promise(function(e,t){i=e,n=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(h.ready,e)||Object.defineProperty(h.ready,e,{get:()=>q("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>q("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var m=Object.assign({},h),p=[],C="object"==typeof window,f="function"==typeof importScripts,I="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,E=!C&&!I&&!f;if(h.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var y="";if(I){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var B=o("fs"),Q=o("path");y=f?Q.dirname(y)+"/":A+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),p=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof j))throw e}),process.on("unhandledRejection",function(e){throw e}),h.inspect=function(){return"[Emscripten Module object]"}}else if(E){if("object"==typeof process&&"function"==typeof o||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?p=scriptArgs:"u">typeof arguments&&(p=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(C||f){if(f?y=self.location.href:"u">typeof document&&document.currentScript&&(y=document.currentScript.src),u&&(y=u),y=0!==y.indexOf("blob:")?y.substr(0,y.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var N=h.print||console.log.bind(console),b=h.printErr||console.warn.bind(console);function S(e,t){Object.getOwnPropertyDescriptor(h,e)||Object.defineProperty(h,e,{configurable:!0,get:function(){q("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function w(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(h,m),m=null,Object.getOwnPropertyDescriptor(h,t="fetchSettings")&&q("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),h.arguments&&(p=h.arguments),S("arguments","arguments_"),h.thisProgram&&h.thisProgram,S("thisProgram","thisProgram"),h.quit&&h.quit,S("quit","quit_"),x(void 0===h.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),x(void 0===h.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),x(void 0===h.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),x(void 0===h.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),x(void 0===h.read,"Module.read option was removed (modify read_ in JS)"),x(void 0===h.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),x(void 0===h.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),x(void 0===h.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),x(void 0===h.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),S("read","read_"),S("readAsync","readAsync"),S("readBinary","readBinary"),S("setWindowTitle","setWindowTitle"),x(!E,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),h.wasmBinary&&h.wasmBinary,S("wasmBinary","wasmBinary"),h.noExitRuntime,S("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&q("no native wasm support detected");var D=!1;function x(e,t){e||q("Assertion failed"+(t?": "+t:""))}var R="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function M(e){a=e,h.HEAP8=new Int8Array(e),h.HEAP16=new Int16Array(e),h.HEAP32=new Int32Array(e),h.HEAPU8=l=new Uint8Array(e),h.HEAPU16=new Uint16Array(e),h.HEAPU32=c=new Uint32Array(e),h.HEAPF32=new Float32Array(e),h.HEAPF64=new Float64Array(e)}h.STACK_SIZE&&x(5242880===h.STACK_SIZE,"the stack size can no longer be determined at runtime");var k=h.INITIAL_MEMORY||0x1000000;function v(){if(!D){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&q("Stack overflow! Stack cookie has been overwritten at "+K(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+K(r)+" "+K(t)),0x63736d65!==c[0]&&q("Runtime error: The application has corrupted its heap memory area (address zero)!")}}S("INITIAL_MEMORY","INITIAL_MEMORY"),x(k>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+k+"! (STACK_SIZE=5242880)"),x("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),x(!h.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),x(0x1000000==k,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var U=new Int16Array(1),F=new Int8Array(U.buffer);if(U[0]=25459,115!==F[0]||99!==F[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var T=[],L=[],O=[],P=!1;x(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var H=0,Y=null,G=null,z={};function q(e){h.onAbort&&h.onAbort(e),b(e="Aborted("+e+")"),D=!0;var t=new WebAssembly.RuntimeError(e);throw n(t),t}var V={error:function(){q("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){V.error()},createDataFile:function(){V.error()},createPreloadedFile:function(){V.error()},createLazyFile:function(){V.error()},open:function(){V.error()},mkdev:function(){V.error()},registerDevice:function(){V.error()},analyzePath:function(){V.error()},loadFilesFromDB:function(){V.error()},ErrnoError:function(){V.error()}};function _(e){return e.startsWith("file://")}function J(e,t){return function(){var r=t;return t||(r=h.asm),x(P,"native function `"+e+"` called before runtime initialization"),r[e]||x(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}h.FS_createDataFile=V.createDataFile,h.FS_createPreloadedFile=V.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=h.locateFile?h.locateFile(r,y):y+r);var W="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMFBgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYACgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwkcECC38AQZyRwQ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5nRrhKqZnwPj9XC8vQEMUO96dltNQ92sbcU7T8rbTv9hSj2oMmL7GmTLJpAl+mhJaEQgd9LnWPNhtaypNX/LoG06qk7Nxn5FaLuxdtpe7RZkNLeRKhw86uaL+oWthK+56gT8YlU9GlzvhedaQqWJD+MK4b29g7Wcfjt/e8obJs9ytHmcMqKTKnc1YqQlOgB5e7pkQ9V40YX5BSlXUuBC1vWKL7CqWfcz8As0iL3BZGD8hDJvStxU2vV1vrGtRMeJ+fq4VlX9cmz8e6NuQmXhP/D0pYmyJzDDckvonTW/o5B+xO56zQYWdXtF9ULanoUmd8rzpSWVTnT9hIF8Qg3dJ/ELh5u6tGjC9Iqco60s+5H4BZpEXW4qbXq611Da9rk+djXRtyJPDNtztMqPNdefiH87zGjCyq8ydspAtiVSPGF6RUZR3euJhH/EXWnKcxrXc0tbjjoxyyvx9BaavalYeP17EH1FEO2d+PoLRVKIfs70dQ2ioAQYCQwQILnAEgS1AAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function j(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function X(e){for(;e.length>0;)e.shift()(h)}function K(e){return"0x"+e.toString(16).padStart(8,"0")}function Z(e){Z.shown||(Z.shown={}),Z.shown[e]||(Z.shown[e]=1,I&&(e="warning: "+e),b(e))}var $=[null,[],[]],ee={abort:function(){q("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(x((e>>>=0)>t),e>0x80000000)return b("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var n=t*(1+.2/i);n=Math.min(n,e+0x6000000);var o=Math.min(0x80000000,r(Math.max(e,n),65536));if(function(e){try{return s.grow(e-a.byteLength+65535>>>16),M(s.buffer),1}catch(t){b("emscripten_realloc_buffer: Attempted to grow heap from "+a.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(o))return!0}return b("Failed to grow the heap from "+t+" bytes to "+o+" bytes, not enough memory!"),!1},fd_close:function(e){q("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,n){return 70},fd_write:function(e,t,r,i){for(var n=0,s=0;s<r;s++){var o=c[t>>2],a=c[t+4>>2];t+=8;for(var A=0;A<a;A++)!function(e,t){var r=$[e];x(r),0===t||10===t?((1===e?N:b)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&R)return R.decode(e.subarray(t,i));for(var n="";t<i;){var s=e[t++];if(!(128&s)){n+=String.fromCharCode(s);continue}var o=63&e[t++];if((224&s)==192){n+=String.fromCharCode((31&s)<<6|o);continue}var a=63&e[t++];if((240&s)==224?s=(15&s)<<12|o<<6|a:((248&s)!=240&&Z("Invalid UTF-8 leading byte "+K(s)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),s=(7&s)<<18|o<<12|a<<6|63&e[t++]),s<65536)n+=String.fromCharCode(s);else{var A=s-65536;n+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return n}(r,0)),r.length=0):r.push(t)}(e,l[o+A]);n+=a}return c[i>>2]=n,0}};!function(){var e,t,r={env:ee,wasi_snapshot_preview1:ee};function i(e,t){h.asm=e.exports,x(s=h.asm.memory,"memory not found in wasm exports"),M(s.buffer),x(h.asm.__indirect_function_table,"table not found in wasm exports"),r=h.asm.__wasm_call_ctors,L.unshift(r);var r,i="wasm-instantiate";if(H--,h.monitorRunDependencies&&h.monitorRunDependencies(H),i?(x(z[i]),delete z[i]):b("warning: run dependency removed without ID"),0==H&&(null!==Y&&(clearInterval(Y),Y=null),G)){var n=G;G=null,n()}}e="wasm-instantiate",H++,h.monitorRunDependencies&&h.monitorRunDependencies(H),e?(x(!z[e]),z[e]=1,null===Y&&"u">typeof setInterval&&(Y=setInterval(function(){if(D){clearInterval(Y),Y=null;return}var e=!1;for(var t in z)e||(e=!0,b("still waiting on run dependencies:")),b("dependency: "+t);e&&b("(end of list)")},1e4))):b("warning: run dependency added without ID");var o=h;if(h.instantiateWasm)try{return h.instantiateWasm(r,i)}catch(e){b("Module.instantiateWasm callback failed with error: "+e),n(e)}(t=function(e){x(h===o,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),o=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(W,"base64");for(var e=window.atob(W),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){b("failed to asynchronously prepare wasm: "+e),_(d)&&b("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),q(e)})).catch(n)}(),h.___wasm_call_ctors=J("__wasm_call_ctors");var et=h._emscripten_bind_VoidPtr___destroy___0=J("emscripten_bind_VoidPtr___destroy___0"),er=h._emscripten_bind_Crc64Hash_Crc64Hash_0=J("emscripten_bind_Crc64Hash_Crc64Hash_0"),ei=h._emscripten_bind_Crc64Hash_OnAppend_2=J("emscripten_bind_Crc64Hash_OnAppend_2"),en=h._emscripten_bind_Crc64Hash_OnFinal_3=J("emscripten_bind_Crc64Hash_OnFinal_3"),es=h._emscripten_bind_Crc64Hash___destroy___0=J("emscripten_bind_Crc64Hash___destroy___0");h.___errno_location=J("__errno_location"),h._fflush=J("fflush"),h._malloc=J("malloc"),h._free=J("free");var eo=h._emscripten_stack_init=function(){return(eo=h._emscripten_stack_init=h.asm.emscripten_stack_init).apply(null,arguments)},ea=(h._emscripten_stack_get_free=function(){return(h._emscripten_stack_get_free=h.asm.emscripten_stack_get_free).apply(null,arguments)},h._emscripten_stack_get_base=function(){return(h._emscripten_stack_get_base=h.asm.emscripten_stack_get_base).apply(null,arguments)},h._emscripten_stack_get_end=function(){return(ea=h._emscripten_stack_get_end=h.asm.emscripten_stack_get_end).apply(null,arguments)});function eA(e){var t,r;if(e=e||p,!(H>0)){if(eo(),x((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,h.preRun)for("function"==typeof h.preRun&&(h.preRun=[h.preRun]);h.preRun.length;){r=h.preRun.shift(),T.unshift(r)}X(T),H>0||(h.setStatus?(h.setStatus("Running..."),setTimeout(function(){setTimeout(function(){h.setStatus("")},1),n()},1)):n(),v())}function n(){if(!g&&(g=!0,h.calledRun=!0,!D)){if(x(!P),P=!0,v(),X(L),i(h),h.onRuntimeInitialized&&h.onRuntimeInitialized(),x(!h._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),v(),h.postRun)for("function"==typeof h.postRun&&(h.postRun=[h.postRun]);h.postRun.length;){var e;e=h.postRun.shift(),O.unshift(e)}X(O)}}}if(h.stackSave=J("stackSave"),h.stackRestore=J("stackRestore"),h.stackAlloc=J("stackAlloc"),h._emscripten_stack_get_current=function(){return(h._emscripten_stack_get_current=h.asm.emscripten_stack_get_current).apply(null,arguments)},h.dynCall_jiji=J("dynCall_jiji"),h.___start_em_js=5261488,h.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(h,e)||Object.defineProperty(h,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";w(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),q(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",w(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),Z(t)}})}),G=function e(){g||eA(),g||(G=e)},h.preInit)for("function"==typeof h.preInit&&(h.preInit=[h.preInit]);h.preInit.length>0;)h.preInit.pop()();function el(){}function ec(e){return(e||el).__cache__}function ed(e,t){var r=ec(t),i=r[e];return i||((i=Object.create((t||el).prototype)).ptr=e,r[e]=i)}function eg(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=er(),ec(eu)[this.ptr]=this}return eA(),el.prototype=Object.create(el.prototype),el.prototype.constructor=el,el.prototype.__class__=el,el.__cache__={},h.WrapperObject=el,h.getCache=ec,h.wrapPointer=ed,h.castObject=function(e,t){return ed(e.ptr,t)},h.NULL=ed(0),h.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ec(e.__class__)[e.ptr]},h.compare=function(e,t){return e.ptr===t.ptr},h.getPointer=function(e){return e.ptr},h.getClass=function(e){return e.__class__},eg.prototype=Object.create(el.prototype),eg.prototype.constructor=eg,eg.prototype.__class__=eg,eg.__cache__={},h.VoidPtr=eg,eg.prototype.__destroy__=eg.prototype.__destroy__=function(){et(this.ptr)},eu.prototype=Object.create(el.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},h.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),ei(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),en(i,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){es(this.ptr)},e.ready});class nb{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new nb.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=nN().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=nb.nativeInstance._malloc(t);nb.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),nb.nativeInstance._free(r)}final(e,t){let r=nb.nativeInstance._malloc(t);nb.nativeInstance.HEAPU8.set(e,r);let i=nb.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),nb.nativeInstance._free(r);let n=new Uint8Array(8);return n.set(nb.nativeInstance.HEAPU8.subarray(i,i+8)),nb.nativeInstance._free(i),n}}(h=D||(D={}))[h.StreamHeader=0]="StreamHeader",h[h.StreamFooter=1]="StreamFooter",h[h.SegmentHeader=2]="SegmentHeader",h[h.SegmentFooter=3]="SegmentFooter",h[h.SegmentContent=4]="SegmentContent",h[h.Completed=5]="Completed";class nS{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=D.StreamHeader,this.segmentCrc64=new nb,this.messageCrc64=new nb}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===D.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===D.SegmentHeader&&this.handlingSegmentHeader(),this.state===D.SegmentContent&&this.handlingSegmentContent(e),this.state===D.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===D.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=D.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=D.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=D.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new nb,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=D.StreamFooter:this.state=D.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=D.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function nw(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof e$&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new nR(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new nR(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await nx(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new e$.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new nR(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=e$.Readable.from(Buffer.from(e)),i=await new nR(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=e$.Readable.from(e),i=await new nR(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=e$.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new nR(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function nD(e,t,r){let{done:i,value:n}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(n))}async function nx(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),n=new Response(new ReadableStream({start(e){r=new nS(t=>{e.enqueue(t)},t)},pull(e){nD(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await n.blob(),encodedContentLength:r.messageLength}}class nR extends e$.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new nS(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new tv("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(m=x||(x={}))[m.StreamHeader=0]="StreamHeader",m[m.StreamFooter=1]="StreamFooter",m[m.SegmentHeader=2]="SegmentHeader",m[m.SegmentFooter=3]="SegmentFooter",m[m.SegmentContent=4]="SegmentContent";class nM{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=x.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new nb,this.messageCrc64=new nb}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===x.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===x.SegmentHeader&&this.parseSegmentHeader(e),this.state===x.SegmentContent&&this.parseSegmentContent(e),this.state===x.SegmentFooter&&this.parseSegmentFooter(e);this.state===x.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=x.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=x.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=x.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=x.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new nb,this.state=x.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class nk extends e$.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new nM(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new tv("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class nv{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class nU extends nv{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class nF{create(e,t){return new nU(e,t)}}class nT extends nv{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class nL extends nT{constructor(e,t){super(e,t)}}class nO{create(e,t){throw Error("Method should be implemented in children classes.")}}class nP extends nO{create(e,t){return new nL(e,t)}}let nH="timeout",nY="Authorization",nG="Content-Encoding",nz="Content-Language",nq="Content-Length",nV="Content-Md5",n_="Content-Type",nJ="date",nW="if-match",nj="if-modified-since",nX="if-none-match",nK="if-unmodified-since",nZ="x-ms-",n$="Range",n0="x-ms-date",n1="x-ms-copy-source-error-code";function n2(e,t,r){let i=new URL(e),n=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&a.push(e)}return s&&a.push(`${n}=${s}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function n5(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function n3(e){try{return new URL(e).pathname}catch(e){return}}function n4(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],n=t[1];i[r]=n}return i}async function n8(e,t,r){return new Promise((i,n)=>{let s,o=()=>{void 0!==s&&clearTimeout(s),n(r)};s=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",o),i()},e),void 0!==t&&t.addEventListener("abort",o)})}let n9=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),n6=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),n7=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function se(e,t){return!function(e,t){let r=[n9,n6,n7],i=0,n=0,s=0;for(;i<r.length;){if(i===r.length-1&&n!==s)return n>s;let o=n<e.length?r[i][e[n].charCodeAt(0)]:1,a=s<t.length?r[i][t[s].charCodeAt(0)]:1;if(1===o&&1===a)n=0,s=0,++i;else if(o===a)++n,++s;else if(0===o)++n;else{if(0!==a)return o<a;++s}}return!1}(e,t)?1:-1}class st extends nT{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(n0,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(nq,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,nz),this.getHeaderValueToSign(e,nG),this.getHeaderValueToSign(e,nq),this.getHeaderValueToSign(e,nV),this.getHeaderValueToSign(e,n_),this.getHeaderValueToSign(e,nJ),this.getHeaderValueToSign(e,nj),this.getHeaderValueToSign(e,nW),this.getHeaderValueToSign(e,nX),this.getHeaderValueToSign(e,nK),this.getHeaderValueToSign(e,n$)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(nY,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==nq||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(nZ));t.sort((e,t)=>se(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}getCanonicalizedResourceString(e){let t=n3(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=n4(e.url),n={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();n[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` -${t}:${decodeURIComponent(n[t])}`}return r}}class sr extends nO{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new st(e,t,this)}computeHMACSHA256(e){return(0,ed.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let si=tb("storage-common");(p=R||(R={}))[p.EXPONENTIAL=0]="EXPONENTIAL",p[p.FIXED=1]="FIXED";let sn={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:R.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},ss=new tv("The operation was aborted.");class so extends nv{retryOptions;constructor(e,t,r=sn){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:sn.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):sn.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:sn.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:sn.maxRetryDelayInMs):sn.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:sn.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:sn.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,n=e.clone(),s=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;s||(n.url=n5(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=n2(n.url,nH,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(si.info(`RetryPolicy: =====> Try=${r} ${s?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(n),!this.shouldRetry(s,r,i))return i;t=t||!s&&404===i.status}catch(e){if(si.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(s,r,i,e))throw e}return await this.delay(s,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return si.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return si.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return si.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return si.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(n1);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(si.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case R.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case R.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return si.info(`RetryPolicy: Delay for ${i}ms`),n8(i,r,ss)}}class sa{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new so(e,t,this.retryOptions)}}let sA={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:R.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},sl=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],sc=new tv("The operation was aborted.");class sd{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,ed.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let sg="12.33.0",su="2026-06-06",sh="snapshot",sm="versionid",sp=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],sC=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],sf=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function sI(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class sE{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function sy(e,t={}){e||(e=new nP);let r=new sE([],t);return r._credential=e,r}function sB(e){if(e._credential)return e._credential;let t=new nP;for(let r of e.factories)if(tZ(r.credential))t=r.credential;else if(sQ(r))return r;return t}function sQ(e){return e instanceof sr||"StorageSharedKeyCredential"===e.constructor.name}function sN(e){return e instanceof nP||"AnonymousCredential"===e.constructor.name}function sb(e){return tZ(e.credential)}function sS(e){return e instanceof nF||"StorageBrowserPolicyFactory"===e.constructor.name}function sw(e){return e instanceof sa||"StorageRetryPolicyFactory"===e.constructor.name}function sD(e){return"TelemetryPolicyFactory"===e.constructor.name}function sx(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(M||(M={})).AES256="AES256",(k||(k={})).Backup="backup",(C=v||(v={})).NeverExpire="NeverExpire",C.RelativeToCreation="RelativeToCreation",C.RelativeToNow="RelativeToNow",C.Absolute="Absolute",(f=U||(U={})).AccountAlreadyExists="AccountAlreadyExists",f.AccountBeingCreated="AccountBeingCreated",f.AccountIsDisabled="AccountIsDisabled",f.AuthenticationFailed="AuthenticationFailed",f.AuthorizationFailure="AuthorizationFailure",f.ConditionHeadersNotSupported="ConditionHeadersNotSupported",f.ConditionNotMet="ConditionNotMet",f.EmptyMetadataKey="EmptyMetadataKey",f.InsufficientAccountPermissions="InsufficientAccountPermissions",f.InternalError="InternalError",f.InvalidAuthenticationInfo="InvalidAuthenticationInfo",f.InvalidHeaderValue="InvalidHeaderValue",f.InvalidHttpVerb="InvalidHttpVerb",f.InvalidInput="InvalidInput",f.InvalidMd5="InvalidMd5",f.InvalidMetadata="InvalidMetadata",f.InvalidQueryParameterValue="InvalidQueryParameterValue",f.InvalidRange="InvalidRange",f.InvalidResourceName="InvalidResourceName",f.InvalidUri="InvalidUri",f.InvalidXmlDocument="InvalidXmlDocument",f.InvalidXmlNodeValue="InvalidXmlNodeValue",f.Md5Mismatch="Md5Mismatch",f.MetadataTooLarge="MetadataTooLarge",f.MissingContentLengthHeader="MissingContentLengthHeader",f.MissingRequiredQueryParameter="MissingRequiredQueryParameter",f.MissingRequiredHeader="MissingRequiredHeader",f.MissingRequiredXmlNode="MissingRequiredXmlNode",f.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",f.OperationTimedOut="OperationTimedOut",f.OutOfRangeInput="OutOfRangeInput",f.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",f.RequestBodyTooLarge="RequestBodyTooLarge",f.ResourceTypeMismatch="ResourceTypeMismatch",f.RequestUrlFailedToParse="RequestUrlFailedToParse",f.ResourceAlreadyExists="ResourceAlreadyExists",f.ResourceNotFound="ResourceNotFound",f.ServerBusy="ServerBusy",f.UnsupportedHeader="UnsupportedHeader",f.UnsupportedXmlNode="UnsupportedXmlNode",f.UnsupportedQueryParameter="UnsupportedQueryParameter",f.UnsupportedHttpVerb="UnsupportedHttpVerb",f.AppendPositionConditionNotMet="AppendPositionConditionNotMet",f.BlobAlreadyExists="BlobAlreadyExists",f.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",f.BlobNotFound="BlobNotFound",f.BlobOverwritten="BlobOverwritten",f.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",f.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",f.BlockCountExceedsLimit="BlockCountExceedsLimit",f.BlockListTooLong="BlockListTooLong",f.CannotChangeToLowerTier="CannotChangeToLowerTier",f.CannotVerifyCopySource="CannotVerifyCopySource",f.ContainerAlreadyExists="ContainerAlreadyExists",f.ContainerBeingDeleted="ContainerBeingDeleted",f.ContainerDisabled="ContainerDisabled",f.ContainerNotFound="ContainerNotFound",f.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",f.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",f.CopyIdMismatch="CopyIdMismatch",f.FeatureVersionMismatch="FeatureVersionMismatch",f.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",f.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",f.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",f.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",f.InvalidBlobOrBlock="InvalidBlobOrBlock",f.InvalidBlobTier="InvalidBlobTier",f.InvalidBlobType="InvalidBlobType",f.InvalidBlockId="InvalidBlockId",f.InvalidBlockList="InvalidBlockList",f.InvalidOperation="InvalidOperation",f.InvalidPageRange="InvalidPageRange",f.InvalidSourceBlobType="InvalidSourceBlobType",f.InvalidSourceBlobUrl="InvalidSourceBlobUrl",f.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",f.LeaseAlreadyPresent="LeaseAlreadyPresent",f.LeaseAlreadyBroken="LeaseAlreadyBroken",f.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",f.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",f.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",f.LeaseIdMissing="LeaseIdMissing",f.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",f.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",f.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",f.LeaseLost="LeaseLost",f.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",f.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",f.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",f.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",f.NoAuthenticationInformation="NoAuthenticationInformation",f.NoPendingCopyOperation="NoPendingCopyOperation",f.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",f.PendingCopyOperation="PendingCopyOperation",f.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",f.PreviousSnapshotNotFound="PreviousSnapshotNotFound",f.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",f.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",f.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",f.SnapshotCountExceeded="SnapshotCountExceeded",f.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",f.SnapshotsPresent="SnapshotsPresent",f.SourceConditionNotMet="SourceConditionNotMet",f.SystemInUse="SystemInUse",f.TargetConditionNotMet="TargetConditionNotMet",f.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",f.BlobBeingRehydrated="BlobBeingRehydrated",f.BlobArchived="BlobArchived",f.BlobNotArchived="BlobNotArchived",f.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",f.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",f.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",f.AuthorizationServiceMismatch="AuthorizationServiceMismatch",f.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",f.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let sR={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},sM={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},sk={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},sv={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},sU={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},sF={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},sT={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},sL={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},sO={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},sP={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},sH={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},sY={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},sG={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},sz={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},sq={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},sV={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},s_={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},sJ={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},sW={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},sj={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},sX={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},sK={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},sZ={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},s$={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},s0={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},s1={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},s2={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},s5={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},s3={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},s4={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},s8={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},s9={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},s6={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},s7={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},oe={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},ot={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},or={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},oi={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},on={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},os={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},oo={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},oa={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oA={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ol={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oc={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},od={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},og={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ou={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oh={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},om={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},op={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oC={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},of={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oI={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oE={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oy={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oB={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oQ={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oN={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ob={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oS={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ow={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oD={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ox={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oM={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ok={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ov={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oU={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oF={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oL={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oO={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oP={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},oH={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oY={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oG={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oz={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oq={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oV={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},o_={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oJ={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oW={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oj={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oX={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oK={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oZ={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o$={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o0={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o1={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o2={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o5={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},o3={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o4={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},o8={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o9={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o6={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o7={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ae={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},at={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ar={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ai={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},an={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},as={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ao={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aa={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},aA={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},al={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ac={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ad={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},ag={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},au={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ah={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},am={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ap={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aC={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},af={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aI={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},aE={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ay={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},aB={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aQ={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},aN={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ab={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aS={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aw={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aD={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},ax={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},aM={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ak={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},av={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aU={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aF={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},aT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aL={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},aO={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aP={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aH={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aY={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aG={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},az={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aq={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aV={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a_={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aJ={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aW={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aj={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aX={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},aK={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aZ={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a$={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a0={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a1={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a2={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a5={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a3={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a4={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a8={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a9={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a6={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a7={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ae={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},At={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ar={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Ai={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},An={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},As={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ao={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Aa={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AA={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Al={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ac={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ad={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ag={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Au={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ah={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Am={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ap={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AC={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Af={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},AI={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},AE={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Ay={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AB={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},AQ={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},AN={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},Ab={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},AS={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Aw={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},AD={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Ax={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},AR={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},AM={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Ak={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Av={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AU={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},AF={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},AT={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AL={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},AO={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},AP={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},AH={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},AY={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},AG={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},Az={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},Aq={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AV={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},A_={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AJ={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AW={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Aj={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},AX={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},AK={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},AZ={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},A$={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},A0={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},A1={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},A2={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},A5={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},A3={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},A4={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},A8={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},A9={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},A6={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},A7={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},le={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},lt={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},lr={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},li={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},ln={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},ls={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},lo={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},la={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},lA={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},ll={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},lc={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},ld={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},lg={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lu={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},lh={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},lm={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},lp={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},lC={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},lf={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},lI={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},lE={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},ly={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},lB={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},lQ={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},lN={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},lb={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},lS={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},lw={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},lD={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},lx={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},lR={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lM={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},lk={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},lv={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},lU={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},lF={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},lT={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},lL={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},lO={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},lP={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},lH={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},lY={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},lG={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lz={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},lq={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},lV={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},l_={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},lJ={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},lW={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},lj={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},lX={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},lK={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},lZ={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},l$={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l0={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l1={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},l2={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},l5={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},l3={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},l4={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l8={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},l9={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class l6{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},ce)}getProperties(e){return this.client.sendOperationRequest({options:e},ct)}getStatistics(e){return this.client.sendOperationRequest({options:e},cr)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},ci)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},cn)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},cs)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},co)}filterBlobs(e){return this.client.sendOperationRequest({options:e},ca)}}let l7=t8(q,!0),ce={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:oa},default:{bodyMapper:sT,headersMapper:oA}},requestBody:{parameterPath:"blobServiceProperties",mapper:sR},queryParameters:[AE,Ay,AB],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:l7},ct={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sR,headersMapper:ol},default:{bodyMapper:sT,headersMapper:oc}},queryParameters:[AE,Ay,AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7},cr={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sL,headersMapper:od},default:{bodyMapper:sT,headersMapper:og}},queryParameters:[AE,AB,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7},ci={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sP,headersMapper:ou},default:{bodyMapper:sT,headersMapper:oh}},queryParameters:[AB,AS,Aw,AD,Ax,AR],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7},cn={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:sz,headersMapper:om},default:{bodyMapper:sT,headersMapper:op}},requestBody:{parameterPath:"keyInfo",mapper:sG},queryParameters:[AE,AB,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:l7},cs={path:"/",httpMethod:"GET",responses:{200:{headersMapper:oC},default:{bodyMapper:sT,headersMapper:of}},queryParameters:[Ay,AB,AM],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7},co={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oI},default:{bodyMapper:sT,headersMapper:oE}},requestBody:Ak,queryParameters:[AB,Av],urlParameters:[AI],headerParameters:[Af,AQ,AN,AU,AF],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:l7},ca={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sq,headersMapper:oy},default:{bodyMapper:sT,headersMapper:oB}},queryParameters:[AB,AD,Ax,AT,AL],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7};class cA{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},cc)}getProperties(e){return this.client.sendOperationRequest({options:e},cd)}delete(e){return this.client.sendOperationRequest({options:e},cg)}setMetadata(e){return this.client.sendOperationRequest({options:e},cu)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},ch)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},cm)}restore(e){return this.client.sendOperationRequest({options:e},cp)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},cC)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},cf)}filterBlobs(e){return this.client.sendOperationRequest({options:e},cI)}acquireLease(e){return this.client.sendOperationRequest({options:e},cE)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},cy)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},cB)}breakLease(e){return this.client.sendOperationRequest({options:e},cQ)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},cN)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},cb)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},cS)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},cw)}}let cl=t8(q,!0),cc={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:oQ},default:{bodyMapper:sT,headersMapper:oN}},queryParameters:[AB,AO],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AH,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:cl},cd={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:ob},default:{bodyMapper:sT,headersMapper:oS}},queryParameters:[AB,AO],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY],isXML:!0,serializer:cl},cg={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:ow},default:{bodyMapper:sT,headersMapper:oD}},queryParameters:[AB,AO],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az],isXML:!0,serializer:cl},cu={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ox},default:{bodyMapper:sT,headersMapper:oR}},queryParameters:[AB,AO,Aq],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG],isXML:!0,serializer:cl},ch={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:oM},default:{bodyMapper:sT,headersMapper:ok}},queryParameters:[AB,AO,AV],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY],isXML:!0,serializer:cl},cm={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ov},default:{bodyMapper:sT,headersMapper:oU}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[AB,AO,AV],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN,AH,AY,AG,Az],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cl},cp={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:oF},default:{bodyMapper:sT,headersMapper:oT}},queryParameters:[AB,AO,A_],urlParameters:[AI],headerParameters:[AQ,AN,Ab,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:cl},cC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oL},default:{bodyMapper:sT,headersMapper:oO}},queryParameters:[AB,AO,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:cl},cf={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oP},default:{bodyMapper:sT,headersMapper:oH}},requestBody:Ak,queryParameters:[AB,Av,AO],urlParameters:[AI],headerParameters:[Af,AQ,AN,AU,AF],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cl},cI={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:sq,headersMapper:oY},default:{bodyMapper:sT,headersMapper:oG}},queryParameters:[AB,AD,Ax,AT,AL,AO],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cl},cE={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:oz},default:{bodyMapper:sT,headersMapper:oq}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AW,Aj,AX],isXML:!0,serializer:cl},cy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oV},default:{bodyMapper:sT,headersMapper:o_}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AK,AZ],isXML:!0,serializer:cl},cB={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oJ},default:{bodyMapper:sT,headersMapper:oW}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AZ,A$],isXML:!0,serializer:cl},cQ={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:oj},default:{bodyMapper:sT,headersMapper:oX}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,A0,A1],isXML:!0,serializer:cl},cN={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oK},default:{bodyMapper:sT,headersMapper:oZ}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AZ,A2,A5],isXML:!0,serializer:cl},cb={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:sX,headersMapper:o$},default:{bodyMapper:sT,headersMapper:o0}},queryParameters:[AB,AS,Aw,AD,Ax,AO,A3,A4],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cl},cS={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:s1,headersMapper:o1},default:{bodyMapper:sT,headersMapper:o2}},queryParameters:[AB,AS,Aw,AD,Ax,AO,A3,A4,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cl},cw={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:o5},default:{bodyMapper:sT,headersMapper:o3}},queryParameters:[Ay,AB,AM],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cl};class cD{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},cR)}getProperties(e){return this.client.sendOperationRequest({options:e},cM)}delete(e){return this.client.sendOperationRequest({options:e},ck)}undelete(e){return this.client.sendOperationRequest({options:e},cv)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},cU)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},cF)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},cT)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},cL)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},cO)}setMetadata(e){return this.client.sendOperationRequest({options:e},cP)}acquireLease(e){return this.client.sendOperationRequest({options:e},cH)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},cY)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},cG)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},cz)}breakLease(e){return this.client.sendOperationRequest({options:e},cq)}createSnapshot(e){return this.client.sendOperationRequest({options:e},cV)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},c_)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},cJ)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},cW)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},cj)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},cX)}query(e){return this.client.sendOperationRequest({options:e},cK)}getTags(e){return this.client.sendOperationRequest({options:e},cZ)}setTags(e){return this.client.sendOperationRequest({options:e},c$)}}let cx=t8(q,!0),cR={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:o4},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:o4},default:{bodyMapper:sT,headersMapper:o8}},queryParameters:[AB,A8,A9],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,A6,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},A7,le,lt,lr,li,ln,ls],isXML:!0,serializer:cx},cM={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:o9},default:{bodyMapper:sT,headersMapper:o6}},queryParameters:[AB,A8,A9],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,le,lt,lr,li,ln,ls],isXML:!0,serializer:cx},ck={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:o7},default:{bodyMapper:sT,headersMapper:ae}},queryParameters:[AB,A8,A9,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,li,ln,ls,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:cx},cv={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:at},default:{bodyMapper:sT,headersMapper:ar}},queryParameters:[AB,A_],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cx},cU={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ai},default:{bodyMapper:sT,headersMapper:an}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:cx},cF={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:as},default:{bodyMapper:sT,headersMapper:ao}},queryParameters:[Ay,AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,li,ln,ls,lo,la,lA,ll,lc,ld],isXML:!0,serializer:cx},cT={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aa},default:{bodyMapper:sT,headersMapper:aA}},queryParameters:[AB,A8,A9,lg],urlParameters:[AI],headerParameters:[AQ,AN,Ab,Az,lu,lh],isXML:!0,serializer:cx},cL={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:al},default:{bodyMapper:sT,headersMapper:ac}},queryParameters:[AB,A8,A9,lg],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cx},cO={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ad},default:{bodyMapper:sT,headersMapper:ag}},queryParameters:[AB,A8,A9,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:cx},cP={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:au},default:{bodyMapper:sT,headersMapper:ah}},queryParameters:[AB,Aq],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lm],isXML:!0,serializer:cx},cH={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:am},default:{bodyMapper:sT,headersMapper:ap}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AW,Aj,AX,li,ln,ls],isXML:!0,serializer:cx},cY={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aC},default:{bodyMapper:sT,headersMapper:af}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AK,AZ,li,ln,ls],isXML:!0,serializer:cx},cG={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aI},default:{bodyMapper:sT,headersMapper:aE}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AZ,A$,li,ln,ls],isXML:!0,serializer:cx},cz={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ay},default:{bodyMapper:sT,headersMapper:aB}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AZ,A2,A5,li,ln,ls],isXML:!0,serializer:cx},cq={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:aQ},default:{bodyMapper:sT,headersMapper:aN}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,A0,A1,li,ln,ls],isXML:!0,serializer:cx},cV={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ab},default:{bodyMapper:sT,headersMapper:aS}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lm],isXML:!0,serializer:cx},c_={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:aw},default:{bodyMapper:sT,headersMapper:aD}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG,Az,li,ln,ls,lu,lh,lp,lC,lf,lI,lE,ly,lB,lQ,lN,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},lb],isXML:!0,serializer:cx},cJ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ax},default:{bodyMapper:sT,headersMapper:aR}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG,Az,li,ln,ls,lu,lh,lm,lp,lf,lI,lE,ly,lQ,lN,lb,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},lS,lw,lD,lx],isXML:!0,serializer:cx},cW={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:aM},default:{bodyMapper:sT,headersMapper:ak}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:cx},cj={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:av},202:{headersMapper:av},default:{bodyMapper:sT,headersMapper:aU}},queryParameters:[AB,A8,A9,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,ls,lC,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:cx},cX={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:aF},default:{bodyMapper:sT,headersMapper:aT}},queryParameters:[Ay,AB,AM],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cx},cK={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:aL},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:aL},default:{bodyMapper:sT,headersMapper:aO}},requestBody:{parameterPath:["options","queryRequest"],mapper:oe},queryParameters:[AB,A8,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN,AY,AG,Az,le,lt,lr,li,ln,ls],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cx},cZ={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:s_,headersMapper:aP},default:{bodyMapper:sT,headersMapper:aH}},queryParameters:[AB,A8,A9,lR],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,ls,lM,lk,lv,lU],isXML:!0,serializer:cx},c$={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:aY},default:{bodyMapper:sT,headersMapper:aG}},requestBody:{parameterPath:["options","tags"],mapper:s_},queryParameters:[AB,A9,lR],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN,AY,ls,lM,lk,lv,lU,lF,lT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cx};class c0{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},c2)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},c5)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},c3)}uploadPagesFromURL(e,t,r,i,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:n},c4)}getPageRanges(e){return this.client.sendOperationRequest({options:e},c8)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},c9)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},c6)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},c7)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},de)}}let c1=t8(q,!0),c2={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:az},default:{bodyMapper:sT,headersMapper:aq}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lu,lh,lm,lp,lN,lb,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},lL,lO],isXML:!0,serializer:c1},c5={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aV},default:{bodyMapper:sT,headersMapper:a_}},requestBody:lH,queryParameters:[AB,lG],urlParameters:[AI],headerParameters:[AQ,AN,AU,AY,AG,Az,A6,A7,le,lt,lr,li,ln,ls,lm,lF,lT,lP,lY,lz,lq,lV,l_,lJ],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:c1},c3={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aJ},default:{bodyMapper:sT,headersMapper:aW}},queryParameters:[AB,lG],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AY,AG,Az,A6,le,lt,lr,li,ln,ls,lm,lq,lV,l_,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:c1},c4={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aj},default:{bodyMapper:sT,headersMapper:aX}},queryParameters:[AB,lG],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AY,AG,Az,le,lt,lr,li,ln,ls,lm,lf,lI,lE,ly,lS,lw,lx,lz,lq,lV,l_,lW,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},lj,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},lX,lK,lZ],isXML:!0,serializer:c1},c8={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:s9,headersMapper:aK},default:{bodyMapper:sT,headersMapper:aZ}},queryParameters:[AB,AD,Ax,A8,l$],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,A6,li,ln,ls],isXML:!0,serializer:c1},c9={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:s9,headersMapper:a$},default:{bodyMapper:sT,headersMapper:a0}},queryParameters:[AB,AD,Ax,A8,l$,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,A6,li,ln,ls,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:c1},c6={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:a1},default:{bodyMapper:sT,headersMapper:a2}},queryParameters:[Ay,AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,le,lt,lr,li,ln,ls,lm,lL],isXML:!0,serializer:c1},c7={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:a5},default:{bodyMapper:sT,headersMapper:a3}},queryParameters:[Ay,AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,li,ln,ls,lO,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:c1},de={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:a4},default:{bodyMapper:sT,headersMapper:a8}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,li,ln,ls,lQ],isXML:!0,serializer:c1};class dt{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},di)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},dn)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},ds)}seal(e){return this.client.sendOperationRequest({options:e},da)}}let dr=t8(q,!0),di={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:a9},default:{bodyMapper:sT,headersMapper:a6}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lu,lh,lm,lN,lb,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:dr},dn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:a7},default:{bodyMapper:sT,headersMapper:Ae}},requestBody:lH,queryParameters:[AB,l0],urlParameters:[AI],headerParameters:[AQ,AN,AU,AY,AG,Az,A7,le,lt,lr,li,ln,ls,lm,lF,lT,lP,lY,lJ,l1,l2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:dr},ds={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:At},default:{bodyMapper:sT,headersMapper:Ar}},queryParameters:[AB,l0],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AY,AG,Az,le,lt,lr,li,ln,ls,lm,lf,lI,lE,ly,lS,lw,lx,lF,lW,lj,lX,lK,lZ,l1,l2,l5],isXML:!0,serializer:dr},da={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ai},default:{bodyMapper:sT,headersMapper:An}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,li,ln,l2],isXML:!0,serializer:dr};class dA{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},dc)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},dd)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},dg)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},du)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},dh)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},dm)}}let dl=t8(q,!0),dc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:As},default:{bodyMapper:sT,headersMapper:Ao}},requestBody:lH,queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,AU,AP,AY,AG,Az,A7,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lu,lh,lm,lp,lN,lb,lF,lT,lP,lY,lJ,l3],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:dl},dd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Aa},default:{bodyMapper:sT,headersMapper:AA}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lm,lp,lf,lI,lE,ly,lB,lQ,lN,lS,lw,lD,lx,lF,lX,lK,lZ,l3,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:dl},dg={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Al},default:{bodyMapper:sT,headersMapper:Ac}},requestBody:lH,queryParameters:[AB,l4,l8],urlParameters:[AI],headerParameters:[AQ,AN,AU,AY,A7,le,lt,lr,lm,lF,lT,lP,lY,lJ],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:dl},du={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ad},default:{bodyMapper:sT,headersMapper:Ag}},queryParameters:[AB,l4,l8],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AY,le,lt,lr,lm,lf,lI,lE,ly,lS,lw,lx,lW,lj,lX,lK,lZ,l5],isXML:!0,serializer:dl},dh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Au},default:{bodyMapper:sT,headersMapper:Ah}},requestBody:{parameterPath:"blocks",mapper:s3},queryParameters:[AB,l9],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lu,lh,lm,lp,lN,lb,lF,lT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dl},dm={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:s4,headersMapper:Am},default:{bodyMapper:sT,headersMapper:Ap}},queryParameters:[AB,A8,l9,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,ls],isXML:!0,serializer:dl};class dp extends rU{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new l6(this),this.container=new cA(this),this.blob=new cD(this),this.pageBlob=new c0(this),this.appendBlob=new dt(this),this.blockBlob=new dA(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class dC extends dp{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let df=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function dI(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function dE(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=dI(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",n="",s=Buffer.from("accountKey","base64"),o="";if(n=dI(e,"AccountName"),s=Buffer.from(dI(e,"AccountKey"),"base64"),!r){let t=(i=dI(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(o=dI(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${n}.blob.${o}`}if(n){if(0===s.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:s,proxyUri:t}}{let t=dI(e,"SharedAccessSignature"),i=dI(e,"AccountName");if(i||(i=dw(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function dy(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function dB(e,t,r){let i=new URL(e),n=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&a.push(e)}return s&&a.push(`${n}=${s}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function dQ(e,t){return new URL(e).searchParams.get(t)??void 0}function dN(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function db(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function dS(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function dw(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<df.length;++e){let r=df[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=dD(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function dD(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&sf.includes(e.port)}function dx(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function dR(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function dM(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let n={ruleId:i[1],replicationStatus:e[r]},s=t.findIndex(e=>e.policyId===i[0]);s>-1?t[s].rules.push(n):t.push({policyId:i[0],rules:[n]})}return t}function dk(e){return e?e.scheme+" "+e.value:void 0}function*dv(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,n=0;for(;i<t.length&&n<r.length;)t[i].start<r[n].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[n].start,end:r[n].end,isClear:!0},++n);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;n<r.length;++n)yield{start:r[n].start,end:r[n].end,isClear:!0}}function dU(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function dF(e,t,r,i,n){let s,o=i.contentChecksumAlgorithm??n;return void 0===o&&(o="Customized"),"Auto"===o&&(o="StorageCrc64"),"Customized"===o?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===o&&(await nb.init(),s=await nw(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===o?s.body:e,contentLength:"StorageCrc64"===o?s.encodedContentLength:t,contentChecksumAlgorithm:o}}class dT{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=dw(e),this.pipeline=t,this.storageClientContext=new dC(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>rv(await t.sendRequest(rw(e,{createProxy:!0})))}:(l||(l=tz()),l));let n=e._corePipeline;if(!n){let t=`azsdk-js-azure-storage-blob/${sg}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(n=rp({...r,loggingOptions:{additionalAllowedHeaderNames:sp,additionalAllowedQueryParameters:sC,logger:np.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:nh,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:nm,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),n.removePolicy({name:tw}),n.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(nq,Buffer.byteLength(e.body)),t(e))}),n.addPolicy(function(e={}){let t=e.retryPolicyType??sA.retryPolicyType,r=e.maxTries??sA.maxTries,i=e.retryDelayInMs??sA.retryDelayInMs,n=e.maxRetryDelayInMs??sA.maxRetryDelayInMs,s=e.secondaryHost??sA.secondaryHost,o=e.tryTimeoutInMs??sA.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,a){let A,l;o&&(e.url=n2(e.url,nH,String(Math.floor(o/1e3))));let c=e.url,d=s?n5(e.url,s):void 0,g=!1,u=1,h=!0;for(;h;){let s=g||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||u%2==1;e.url=s?c:d,A=void 0,l=void 0;try{si.info(`RetryPolicy: =====> Try=${u} ${s?"Primary":"Secondary"}`),A=await a(e),g=g||!s&&404===A.status}catch(e){if(ej(e))si.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw si.error(`RetryPolicy: Caught error, message: ${tF(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:n}){if(t>=r)return si.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(n){for(let e of sl)if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e)return si.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag'))return si.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||n){let t=i?.status??n?.statusCode??0;if(!e&&404===t)return si.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return si.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(n1);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:s,attempt:u,response:A,error:l}))&&await n8(function(e,r){let s=0;if(e)switch(t){case R.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*i,n);break;case R.FIXED:s=i}else s=1e3*Math.random();return si.info(`RetryPolicy: Delay for ${s}ms`),s}(s,u),e.abortSignal,sc),u++}if(A)return A;throw l??new eW("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),n.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),n.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let s=function(e){let t=[sN,sQ,sb,sS,sw,sD,sx];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>rk(await r(rS(e)),{createProxy:!0})};for(let t of e)i=t.create(i,rF);let n=rw(t,{createProxy:!0});return rv(await i.sendRequest(n))}}),afterRetry:t}}}}(e);s&&n.addPolicy(s.wrappedPolicies,s.afterRetry?{afterPhase:"Retry"}:void 0);let o=sB(e);tZ(o)?n.addPolicy(tX({credential:o,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:rB}}),{phase:"Sign"}):o instanceof sr&&n.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==nq||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let n,s;return r.headers.set(n0,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(nq,Buffer.byteLength(r.body)),n=[r.method.toUpperCase(),t(r,nz),t(r,nG),t(r,nq),t(r,nV),t(r,n_),t(r,nJ),t(r,nj),t(r,nW),t(r,nX),t(r,nK),t(r,n$)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(nZ)&&t.push({name:r,value:i});t.sort((e,t)=>se(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}(r)+function(t){let r=n3(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let n=n4(t.url),s={};if(n){let e=[];for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)){let r=t.toLowerCase();s[r]=n[t],e.push(r)}for(let t of(e.sort(),e))i+=` -${t}:${decodeURIComponent(s[t])}`}return i}(r),s=(0,ed.createHmac)("sha256",e.accountKey).update(n,"utf8").digest("base64"),r.headers.set(nY,`SharedKey ${e.accountName}:${s}`),i(r)}}}({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"}),e._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:n}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=sB(t),this.storageClientContext.requestContentType=void 0}}let dL=tY({packageName:"@azure/storage-blob",packageVersion:sg,namespace:"Microsoft.Storage"});class dO{static parse(e){let t=new dO;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new dO;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class dP{static parse(e){let t=new dP;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new dP;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function dH(e){return e.end?`${e.start}-${e.end}`:e.start}(I=F||(F={})).Https="https",I.HttpsAndHttp="https,http";class dY{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,n,s,o,a,A,l,c,d,g,u,h,m,p,C,f,I,E,y,B,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=n,this.expiresOn=a,this.permissions=r,this.protocol=s,this.startsOn=o,this.ipRangeInner=A,this.delegatedUserObjectId=E,this.encryptionScope=I,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=g,this.contentEncoding=u,this.contentLanguage=h,this.contentType=m,this.requestHeaderKeys=y,this.requestQueryParameterKeys=B,this.directoryDepth=Q,p&&(this.signedOid=p.signedObjectId,this.signedTenantId=p.signedTenantId,this.signedStartsOn=p.signedStartsOn,this.signedExpiresOn=p.signedExpiresOn,this.signedService=p.signedService,this.signedVersion=p.signedVersion,this.signedDelegatedUserTid=p.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=C,this.correlationId=f))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?db(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?db(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?dH(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?db(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?db(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function dG(e,t,r){return dz(e,t,r).sasQueryParameters}function dz(e,t,r){let i,n=e.version?e.version:su,s=t instanceof sr?t:void 0;if(void 0===s&&void 0!==r&&(i=new sd(r,t)),void 0===s&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")if(void 0!==s)return function(e,t){let r,i;if(!(e=d_(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,s);else if(n>="2026-04-06")return function(e,t){let r,i;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,dq(e.requestHeaders),dq(e.requestQueryParameters),i),stringToSign:o}}(e,i);else if(n>="2025-07-05")return function(e,t){let r,i;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r,i;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,i);if(n>="2018-11-09")if(void 0!==s)if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=d_(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,s);else return function(e,t){let r;if(!(e=d_(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new dY(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:s}}(e,s);else if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new dY(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:s}}(e,i);if(n>="2015-04-05")if(void 0!==s){let t;var o=e,a=s;if(!(o=d_(o)).identifier&&!(o.permissions&&o.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";o.blobName&&(r="b"),o.permissions&&(t=o.blobName?dO.parse(o.permissions.toString()).toString():dP.parse(o.permissions.toString()).toString());let i=[t||"",o.startsOn?db(o.startsOn,!1):"",o.expiresOn?db(o.expiresOn,!1):"",dV(a.accountName,o.containerName,o.blobName),o.identifier,o.ipRange?dH(o.ipRange):"",o.protocol?o.protocol:"",o.version,o.cacheControl?o.cacheControl:"",o.contentDisposition?o.contentDisposition:"",o.contentEncoding?o.contentEncoding:"",o.contentLanguage?o.contentLanguage:"",o.contentType?o.contentType:""].join("\n"),n=a.computeHMACSHA256(i);return{sasQueryParameters:new dY(o.version,n,t,void 0,void 0,o.protocol,o.startsOn,o.expiresOn,o.ipRange,o.identifier,r,o.cacheControl,o.contentDisposition,o.contentEncoding,o.contentLanguage,o.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function dq(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function dV(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function d_(e){let t=e.version?e.version:su;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function dJ(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class dW{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=eT()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-acquireLease",t,async r=>dU(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=dU(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-releaseLease",e,async t=>dU(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return dU(await this._containerOrBlobOperation.breakLease(i))})}}class dj extends e$.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,n={}){super({highWaterMark:n.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=n.maxRetryRequests&&n.maxRetryRequests>=0?n.maxRetryRequests:0,this.onProgress=n.onProgress,this.options=n,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new tv("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class dX{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,n={}){this.originalResponse=e;let s=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new nk(this.originalResponse.readableStreamBody,n);this.blobDownloadStream=new dj(s,t,r,i,n)}}let dK=new Uint8Array([79,98,106,1]);class dZ{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await dZ.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,n,s=0,o=0;do i=128&(r=await dZ.readByte(e,t)),s|=(127&r)<<o,o+=7;while(i&&o<28);if(i){n=0x10000000;do s+=(127&(r=await dZ.readByte(e,t)))*n,n*=128;while(128&r);let i=(s%2?-(s+1):s)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return s>>1^-(1&s)}static async readLong(e,t={}){return dZ.readZigZagLong(e,t)}static async readInt(e,t={}){return dZ.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await dZ.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await dZ.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await dZ.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await dZ.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await dZ.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await dZ.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await dZ.readArray(e,(e,r={})=>dZ.readMapPair(e,t,r),r),n={};for(let e of i)n[e.key]=e.value;return n}static async readArray(e,t,r={}){let i=[];for(let n=await dZ.readLong(e,r);0!==n;n=await dZ.readLong(e,r))for(n<0&&(await dZ.readLong(e,r),n=-n);n--;){let n=await t(e,r);i.push(n)}return i}}(E=T||(T={})).RECORD="record",E.ENUM="enum",E.ARRAY="array",E.MAP="map",E.UNION="union",E.FIXED="fixed",(y=L||(L={})).NULL="null",y.BOOLEAN="boolean",y.INT="int",y.LONG="long",y.FLOAT="float",y.DOUBLE="double",y.BYTES="bytes",y.STRING="string";class d${static fromSchema(e){return"string"==typeof e?d$.fromStringSchema(e):Array.isArray(e)?d$.fromArraySchema(e):d$.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case L.NULL:case L.BOOLEAN:case L.INT:case L.LONG:case L.FLOAT:case L.DOUBLE:case L.BYTES:case L.STRING:return new d0(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new d2(e.map(d$.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return d$.fromStringSchema(t)}catch{}switch(t){case T.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=d$.fromSchema(t.type);return new d3(r,e.name);case T.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new d1(e.symbols);case T.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new d5(d$.fromSchema(e.values));case T.ARRAY:case T.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class d0 extends d${_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case L.NULL:return dZ.readNull();case L.BOOLEAN:return dZ.readBoolean(e,t);case L.INT:return dZ.readInt(e,t);case L.LONG:return dZ.readLong(e,t);case L.FLOAT:return dZ.readFloat(e,t);case L.DOUBLE:return dZ.readDouble(e,t);case L.BYTES:return dZ.readBytes(e,t);case L.STRING:return dZ.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class d1 extends d${_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await dZ.readInt(e,t);return this._symbols[r]}}class d2 extends d${_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await dZ.readInt(e,t);return this._types[r].read(e,t)}}class d5 extends d${_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return dZ.readMap(e,r,t)}}class d3 extends d${_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function d4(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class d8{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!d4(await dZ.readFixedBytes(this._headerStream,dK.length,{abortSignal:e.abortSignal}),dK))throw Error("Stream is not an Avro file.");this._metadata=await dZ.readMap(this._headerStream,dZ.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await dZ.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=d$.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await dZ.readLong(this._dataStream,{abortSignal:e.abortSignal}),await dZ.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await dZ.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!d4(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await dZ.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await dZ.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class d9{}let d6=c("buffer"),d7=new tv("Reading from the avro stream was aborted.");class ge extends d9{_position;_readable;toUint8Array(e){return"string"==typeof e?d6.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw d7;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let n=()=>{this._readable.removeListener("readable",s),this._readable.removeListener("error",o),this._readable.removeListener("end",o),this._readable.removeListener("close",o),t.abortSignal&&t.abortSignal.removeEventListener("abort",a)},s=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,n(),r(this.toUint8Array(t)))},o=()=>{n(),i()},a=()=>{n(),i(d7)};this._readable.on("readable",s),this._readable.once("error",o),this._readable.once("end",o),this._readable.once("close",o),t.abortSignal&&t.abortSignal.addEventListener("abort",a)})}}class gt extends e$.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new d8(new ge(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let n=t.position;if("number"!=typeof n)throw Error("Invalid position in avro error record.");this.onError({position:n,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class gr{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new gt(this.originalResponse.readableStreamBody,t)}}function gi(e){if(void 0!==e)return e}function gn(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function gs(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(B=O||(O={})).Hot="Hot",B.Cool="Cool",B.Cold="Cold",B.Archive="Archive",(Q=P||(P={})).P4="P4",Q.P6="P6",Q.P10="P10",Q.P15="P15",Q.P20="P20",Q.P30="P30",Q.P40="P40",Q.P50="P50",Q.P60="P60",Q.P70="P70",Q.P80="P80",(N=H||(H={})).StorageOAuthScopes="https://storage.azure.com/.default",N.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",tb("core-lro");class go extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,go.prototype)}}class ga extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,ga.prototype)}}class gA{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new ga("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new go("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class gl extends gA{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:n=15e3,onProgress:s,resumeFrom:o,startCopyFromURLOptions:a}=e;o&&(t=JSON.parse(o).state),super(gu({...t,blobClient:r,copySource:i,startCopyFromURLOptions:a})),"function"==typeof s&&this.onProgress(s),this.intervalInMs=n}delay(){return tU(this.intervalInMs)}}let gc=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),gu(t)},gd=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:n}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:n}=r,s=t.copyProgress;n&&(t.copyProgress=n),"pending"===i&&n!==s&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,n);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return gu(t)},gg=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function gu(e){return{state:{...e},cancel:gc,toString:gg,update:gd}}function gh(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(b=Y||(Y={}))[b.Good=0]="Good",b[b.Error=1]="Error";class gm{concurrency;actives=0;completed=0;offset=0;operations=[];state=Y.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new nC.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=Y.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==Y.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}async function gp(e,t,r,i,n){let s=0,o=i-r;return new Promise((i,a)=>{let A=setTimeout(()=>a(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let a;if(s>=o){clearTimeout(A),i();return}for(;null!==(a=e.read());){"string"==typeof a&&(a=Buffer.from(a,n));let e=s+a.length>o?o-s:a.length;if(t.fill(a.slice(0,e),r+s,r+s+e),(s+=e)>=o){clearTimeout(A),i();return}}}),e.on("end",()=>{clearTimeout(A),s<o&&a(Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${o}`)),i()}),e.on("error",e=>{clearTimeout(A),a(e)})})}async function gC(e,t){return new Promise((r,i)=>{let n=j.createWriteStream(t);e.on("error",e=>{i(e)}),n.on("error",e=>{i(e)}),n.on("close",r),e.pipe(n)})}let gf=eu.promisify(j.stat),gI=j.createReadStream;class gE extends dT{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let n,s;if(i=i||{},sI(t))s=e,n=t,i=r;else if(t instanceof sr||t instanceof nP||tZ(t))s=e,n=sy(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=dE(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new sr(o.accountName,o.accountKey);s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=tT(o.proxyUri)),n=sy(e,i)}else if("SASConnString"===o.kind)s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,n=sy(new nP,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(i=r),n=sy(new nP,i);super(s,n),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=dQ(this.url,sh),this._versionId=dQ(this.url,sm),this.blobClientConfig=i}withSnapshot(e){return new gE(dB(this.url,sh,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new gE(dB(this.url,sm,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new gy(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new gB(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new gQ(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},gn(r.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-download",r,async i=>{let n=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===n?n="Customized":"Auto"===n&&(n="StorageCrc64"),"StorageCrc64"===n&&await nb.init();let s=dU(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?gh({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0})),o={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:dM(s.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===s.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===n&&void 0===s.structuredContentLength)throw RangeError("Unexpected structured content length");if(!s.etag)throw RangeError("File download response doesn't contain valid etag header");let a="StorageCrc64"===n?s.structuredContentLength:s.contentLength;return new dX(o,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||s.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:gh({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0},o=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==n?o:new nk(o,{})},e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return dL.withSpan("BlobClient-exists",e,async t=>{try{return gn(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},gn(e.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-getProperties",e,async t=>{let r=dU(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:dM(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},dL.withSpan("BlobClient-delete",e,async t=>dU(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return dL.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=dU(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return dL.withSpan("BlobClient-undelete",e,async t=>dU(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-setHTTPHeaders",t,async r=>dU(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-setMetadata",t,async r=>dU(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return dL.withSpan("BlobClient-setTags",t,async r=>dU(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return dL.withSpan("BlobClient-getTags",e,async t=>{let r=dU(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new dW(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},gn(e.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-createSnapshot",e,async t=>dU(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new gl({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return dL.withSpan("BlobClient-abortCopyFromURL",t,async r=>dU(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},dL.withSpan("BlobClient-syncCopyFromURL",t,async r=>dU(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:dk(t.sourceAuthorization),tier:gi(t.tier),blobTagsString:dx(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return dL.withSpan("BlobClient-setAccessTier",t,async r=>dU(await this.blobContext.setTier(gi(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let n,s=0,o=0,a=i;e instanceof Buffer?(n=e,s=t||0,o="number"==typeof r?r:0):(s="number"==typeof e?e:0,o="number"==typeof t?t:0,a=r||{});let A=a.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),s<0)throw RangeError("offset option must be >= 0");if(o&&o<=0)throw RangeError("count option must be greater than 0");return a.conditions||(a.conditions={}),dL.withSpan("BlobClient-downloadToBuffer",a,async e=>{if(!o){let t=await this.getProperties({...a,tracingOptions:e.tracingOptions});if((o=t.contentLength-s)<0)throw RangeError(`offset ${s} shouldn't be larger than blob size ${t.contentLength}`)}if(!n)try{n=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(n.length<o)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`);let t=0,r=new gm(a.concurrency);for(let i=s;i<s+o;i+=A)r.addOperation(async()=>{let r=s+o;i+A<r&&(r=i+A);let l=(await this.download(i,r-i,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await gp(l,n,i-s,r-s),t+=r-i,a.onProgress&&a.onProgress({loadedBytes:t})});return await r.do(),n})}async downloadToFile(e,t=0,r,i={}){return dL.withSpan("BlobClient-downloadToFile",i,async n=>{let s=await this.download(t,r,{...i,tracingOptions:n.tracingOptions});return s.readableStreamBody&&await gC(s.readableStreamBody,e),s.blobDownloadStream=void 0,s})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(dD(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return dL.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},dU(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:gi(t.tier),blobTagsString:dx(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof sr))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=dG({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(dN(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof sr))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return dz({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=dG({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(dN(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return dz({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return dL.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>dU(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return dL.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>dU(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return dL.withSpan("BlobClient-setLegalHold",t,async t=>dU(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return dL.withSpan("BlobClient-getAccountInfo",e,async t=>dU(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class gy extends gE{appendBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},sI(t))s=e,n=t,i=r;else if(t instanceof sr||t instanceof nP||tZ(t))s=e,n=sy(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=dE(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new sr(o.accountName,o.accountKey);s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=tT(o.proxyUri)),n=sy(e,i)}else if("SASConnString"===o.kind)s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,n=sy(new nP,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,i=r,n=sy(new nP,i);super(s,n),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new gy(dB(this.url,sh,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},gn(e.customerProvidedKey,this.isHttps),dL.withSpan("AppendBlobClient-create",e,async t=>dU(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:dx(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return dL.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=dU(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},dL.withSpan("AppendBlobClient-seal",e,async t=>dU(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},gn(r.customerProvidedKey,this.isHttps),dL.withSpan("AppendBlobClient-appendBlock",r,async i=>{let n={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},s=await dF(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return dU(await this.appendBlobContext.appendBlock(s.contentLength,s.body,n))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},gn(i.customerProvidedKey,this.isHttps),dL.withSpan("AppendBlobClient-appendBlockFromURL",i,async n=>dU(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:gh({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:dk(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class gB extends gE{_blobContext;blockBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},sI(t))s=e,n=t,i=r;else if(t instanceof sr||t instanceof nP||tZ(t))s=e,n=sy(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=dE(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new sr(o.accountName,o.accountKey);s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=tT(o.proxyUri)),n=sy(e,i)}else if("SASConnString"===o.kind)s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,n=sy(new nP,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(i=r),n=sy(new nP,i);super(s,n),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new gB(dB(this.url,sh,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-query",t,async r=>new gr(dU(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:dR(t.inputTextConfiguration),outputSerialization:dR(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},gn(r.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-upload",r,async i=>{let n={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:gi(r.tier),blobTagsString:dx(r.tags),tracingOptions:i.tracingOptions},s=await dF(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return dU(await this.blockBlobContext.upload(s.contentLength,s.body,n))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>dU(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:dk(t.sourceAuthorization),tier:gi(t.tier),blobTagsString:dx(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return gn(i.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-stageBlock",i,async n=>{let s={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},o=await dF(t,r,s,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return dU(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,s))})}async stageBlockFromURL(e,t,r=0,i,n={}){return gn(n.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-stageBlockFromURL",n,async s=>dU(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:0!==r||i?gh({offset:r,count:i}):void 0,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:dk(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-commitBlockList",t,async r=>dU(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:gi(t.tier),blobTagsString:dx(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return dL.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=dU(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return dL.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return dL.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let n=r.maxSingleShotSize??0x10000000;if(n<0||n>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>n&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),dL.withSpan("BlockBlobClient-uploadSeekableInternal",r,async s=>{if(t<=n)return dU(await this.upload(e(0,t),t,s));let o=Math.floor((t-1)/i)+1;if(o>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let a=[],A=eT(),l=0,c=new gm(r.concurrency);for(let n=0;n<o;n++)c.addOperation(async()=>{let c=dS(A,n),d=i*n,g=(n===o-1?t:d+i)-d;a.push(c),await this.stageBlock(c,e(d,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=g,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(a,s)})}async uploadFile(e,t={}){return dL.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await gf(e)).size;return this.uploadSeekableInternal((t,r)=>()=>gI(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),dL.withSpan("BlockBlobClient-uploadStream",i,async n=>{let s=0,o=eT(),a=0,A=[],l=new ny(e,t,r,async(e,t)=>{let r=dS(o,s);A.push(r),s++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),a+=t,i.onProgress&&i.onProgress({loadedBytes:a})},Math.ceil(r/4*3));return await l.do(),dU(await this.commitBlockList(A,{...i,tracingOptions:n.tracingOptions}))})}}class gQ extends gE{pageBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},sI(t))s=e,n=t,i=r;else if(t instanceof sr||t instanceof nP||tZ(t))s=e,n=sy(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=dE(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new sr(o.accountName,o.accountKey);s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=tT(o.proxyUri)),n=sy(e,i)}else if("SASConnString"===o.kind)s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,n=sy(new nP,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,i=r,n=sy(new nP,i);super(s,n),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new gQ(dB(this.url,sh,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("PageBlobClient-create",t,async r=>dU(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:gi(t.tier),blobTagsString:dx(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return dL.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=dU(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},gn(i.customerProvidedKey,this.isHttps),dL.withSpan("PageBlobClient-uploadPages",i,async n=>{let s={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:gh({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},o=await dF(e,r,s,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return dU(await this.pageBlobContext.uploadPages(o.contentLength,o.body,s))})}async uploadPagesFromURL(e,t,r,i,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},gn(n.customerProvidedKey,this.isHttps),dL.withSpan("PageBlobClient-uploadPagesFromURL",n,async s=>dU(await this.pageBlobContext.uploadPagesFromURL(e,gh({offset:t,count:i}),0,gh({offset:r,count:i}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:dk(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},dL.withSpan("PageBlobClient-clearPages",r,async i=>dU(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:gh({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},dL.withSpan("PageBlobClient-getPageRanges",r,async i=>gs(dU(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:gh({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return dL.withSpan("PageBlobClient-getPageRangesSegment",i,async n=>dU(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:gh({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let n;if(r||void 0===r)do r=(n=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await n;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let n of this.listPageRangeItemSegments(e,t,i,r))yield*dv(n)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},dL.withSpan("PageBlobClient-getPageRangesDiff",i,async n=>gs(dU(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:gh({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,n={}){return dL.withSpan("PageBlobClient-getPageRangesDiffSegment",n,async s=>dU(await this.pageBlobContext.getPageRangesDiff({abortSignal:n?.abortSignal,leaseAccessConditions:n?.conditions,modifiedAccessConditions:{...n?.conditions,ifTags:n?.conditions?.tagConditions},prevsnapshot:r,range:gh({offset:e,count:t}),marker:i,maxPageSize:n?.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,n){let s;if(i||void 0===i)do i=(s=await this.listPageRangesDiffSegment(e,t,r,i,n)).continuationToken,yield await s;while(i)}async *listPageRangeDiffItems(e,t,r,i){let n;for await(let s of this.listPageRangeDiffItemSegments(e,t,r,n,i))yield*dv(s)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let n=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>n.next(),[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,{maxPageSize:n.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},dL.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async n=>gs(dU(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:gh({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},dL.withSpan("PageBlobClient-resize",t,async r=>dU(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},dL.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>dU(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return dL.withSpan("PageBlobClient-startCopyIncremental",t,async r=>dU(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(S=G||(G={}))[S.LOCKED=0]="LOCKED",S[S.UNLOCKED=1]="UNLOCKED",(z||(z={})).AES256="AES256";let gN=(d=e=>e.reason,{schedule:er.EV("3 seconds",1.5),times:4,while:e=>{let t;return t=d(e),eo.some(e=>t.includes(e))}}),gb=e=>{let t=[...e,"gzip","1.0"];return(0,ed.createHash)("sha256").update(t.join("|")).digest("hex")},gS=(e,t)=>$.SvU({try:()=>{let e=process.env.ACTIONS_RESULTS_URL,t=process.env.ACTIONS_RUNTIME_TOKEN;if(!e||!t)throw Error(`Missing required env vars: ${[!e&&"ACTIONS_RESULTS_URL",!t&&"ACTIONS_RUNTIME_TOKEN"].filter(Boolean).join(", ")}`);return{baseUrl:e.endsWith("/")?e:`${e}/`,token:ee.L8(t)}},catch:r=>new _({key:t,operation:e,reason:r instanceof Error?r.message:String(r)})}),gw=(e,t,r,i,n,s,o)=>{let a;return a=e=>new _({key:o,operation:s,reason:e}),$.JkU(function*(){let s=ei.bE(`${t}twirp/github.actions.results.api.v1.CacheService/${i}`).pipe(ei.hC(ee.Uq(r)),ei.hk(n)),o=yield*e.execute(s).pipe($.xm_(e=>a(`${i} failed: ${e.message}`)));return 409===o.status?es:o.status<200||o.status>=300?yield*$.fJG(a(`${i} failed: HTTP ${o.status} from ${i}`)):yield*en._u(et.$r1)(o).pipe($.xm_(e=>a(`${i} failed: ${e.message??String(e)}`)))})},gD=e=>$.OH5(()=>{try{(0,j.unlinkSync)(e)}catch{}}),gx=ea.QZ(J.l,$.JkU(function*(){let e=yield*el.Qq;return{save:(t,r)=>$.JkU(function*(){let{baseUrl:i,token:n}=yield*gS("save",r),s=gb(t);yield*$.jGc($.SvU({try:()=>{let e=(e=>{let t=[];for(let r of e){let e=Z(r);K(e)?t.push(...(0,j.globSync)(e)):t.push(e)}let r=[...t.filter(e=>(0,j.existsSync)(e))].sort((e,t)=>e.length-t.length),i=[];for(let e of r)i.some(t=>e.startsWith(`${t}/`))||i.push(e);return i})(t);if(0===e.length)throw Error("No files matched the provided cache paths");let r=(0,W.join)((0,X.tmpdir)(),`cache-${(0,ed.randomUUID)()}.tar.gz`);return(0,ec.execFileSync)("tar",["czPf",r,...e],{stdio:"pipe"}),r},catch:e=>new _({key:r,operation:"save",reason:`Failed to create archive: ${e instanceof Error?e.message:String(e)}`})}),t=>$.JkU(function*(){let o=yield*$.SvU({try:()=>(0,j.statSync)(t).size,catch:e=>new _({key:r,operation:"save",reason:`Failed to stat archive: ${e instanceof Error?e.message:String(e)}`})}),a=yield*gw(e,i,n,"CreateCacheEntry",{key:r,version:s},"save",r).pipe($.L5P(gN));if(a===es)return;if(!a.ok||!a.signed_upload_url)return yield*$.fJG(new _({key:r,operation:"save",reason:"CreateCacheEntry did not return a signed upload URL"}));yield*$.$mh({try:async()=>{await new gB(a.signed_upload_url).uploadFile(t,{blockSize:0x4000000,concurrency:8,maxSingleShotSize:0x8000000})},catch:e=>new _({key:r,operation:"save",reason:`Archive upload failed: ${e instanceof Error?e.message:String(e)}`})});let A=yield*gw(e,i,n,"FinalizeCacheEntryUpload",{key:r,version:s,size_bytes:String(o)},"save",r).pipe($.L5P(gN));if(A===es||!A.ok)return yield*$.fJG(new _({key:r,operation:"save",reason:"FinalizeCacheEntryUpload did not confirm success"}))}),e=>gD(e))}),restore:(t,r,i=[])=>$.JkU(function*(){let{baseUrl:n,token:s}=yield*gS("restore",r),o=gb(t),a=yield*gw(e,n,s,"GetCacheEntryDownloadURL",{key:r,restore_keys:[...i],version:o},"restore",r).pipe($.L5P(gN));if(a===es||!a.ok||!a.signed_download_url)return eA.none();let A=(0,W.join)((0,X.tmpdir)(),`cache-restore-${(0,ed.randomUUID)()}.tar.gz`);return yield*$.jGc($.$mh({try:async()=>(await new gE(a.signed_download_url).downloadToFile(A),A),catch:e=>new _({key:r,operation:"restore",reason:`Archive download failed: ${e instanceof Error?e.message:String(e)}`})}),e=>$.SvU({try:()=>{try{(0,ec.execFileSync)("tar",["win32"===process.platform?"xzPkf":"xzPf",e],{stdio:"pipe"})}catch(t){let e=t.status;if(void 0!==e&&e>=2)throw t}},catch:e=>new _({key:r,operation:"restore",reason:`Failed to extract archive: ${e instanceof Error?e.message:String(e)}`})}),e=>gD(e)),eA.some(a.matched_key??r)})}}))},2386(e,t,r){r.d(t,{A:()=>u});var i=r(9581),n=r(1160),s=class extends n.rN("ActionStateError"){},o=r(2484),a=r(5609),A=r(702);let l=(e,t,r)=>A.SvU({try:()=>JSON.parse(t),catch:r=>new s({key:e,reason:`State "${e}" is not valid JSON: ${r instanceof Error?r.message:String(r)}`,rawValue:t})}).pipe(A.qIB(i=>a._Re(r)(i).pipe(A.xm_(r=>new s({key:e,reason:`State "${e}" decode failed: ${r.message}`,rawValue:t})))));var c=r(8444),d=r(262),g=r(6437);let u=c.QZ(o.q,A.JkU(function*(){let e=yield*d.Q2,t=c.Py(d.Q2,e);return{save:(e,r,n)=>a.QsC(n)(r).pipe(A.TjK(e=>JSON.stringify(e)),A.xm_(t=>new s({key:e,reason:`State "${e}" encode failed: ${t instanceof Error?t.message:String(t)}`,rawValue:void 0}))).pipe(A.qIB(r=>(0,i.B)("GITHUB_STATE",e,r).pipe(A.Gte(t))),A.QgK),get:(e,t)=>A.OH5(()=>process.env[`STATE_${e}`]??"").pipe(A.qIB(r=>""===r?A.fJG(new s({key:e,reason:`State "${e}" is not set (phase ordering issue?)`,rawValue:void 0})):l(e,r,t))),getOptional:(e,t)=>A.OH5(()=>process.env[`STATE_${e}`]??"").pipe(A.qIB(r=>""===r?A.PyW(g.none()):l(e,r,t).pipe(A.TjK(e=>g.some(e)))))}}))},9581(e,t,r){r.d(t,{B:()=>a});var i=r(1160),n=class extends i.rN("RuntimeEnvironmentError"){},s=r(702),o=r(262);let a=(e,t,r)=>s.qIB(o.Q2,i=>{let o=process.env[e];if(void 0===o)return s.fJG(new n({variable:e,message:`Environment variable ${e} is not set`}));let a=function(e,t){if(!t.includes("\n"))return`${e}=${t} -`;let r=`ghadelimiter_${crypto.randomUUID()}`;return`${e}<<${r} -${t} -${r} -`}(t,r);return i.writeFileString(o,a,{flag:"a"}).pipe(s.xm_(t=>new n({variable:e,message:`Failed to write to file at ${o}: ${t.message}`})))})},6317(e,t,r){r.d(t,{xP:()=>f});var i=Object.defineProperty,n=r(7969),s=r(9339),o=r(5419),a=r(8294),A=r(5440),l=r(608);let c=o.Or("github-action-effects/StepStack",{defaultValue:()=>[]}),d=e=>l.L8(({logLevel:t,message:r})=>{let i=(Array.isArray(r)?r:[r]).map(e=>a.ZK(e)).join(" ");if(A.OW(t,"Warn"))return void(A.OW(t,"Error")?(0,s.sn)("error",{},i):A.OW(t,"Warn")?(0,s.sn)("warning",{},i):A.OW(t,"Info")?process.stdout.write(`${i} -`):(0,s.sn)("debug",{},i));let n=A.OW(t,"Info")?"info":"debug";e.entries.push({level:n,text:i,timestamp:Date.now()})}),g=(e,t)=>{let r,i=(r=e.depth," ".repeat(r)),n=e.icon??"✅";null!==t&&t.length>0?process.stdout.write(`${i}${n} ${e.name}: ${t} -`):process.stdout.write(`${i}${n} ${e.name} -`)},u=(e,t)=>{let r,i=(r=e.depth," ".repeat(r));for(let r of(process.stdout.write(`${i}❌ ${e.name}: ${t} -`),e.buffer.entries)){let e="debug"===r.level?"[DEBUG]":"[INFO]";process.stdout.write(`${i} │ ${e} ${r.text} -`)}e.buffer.entries.length>0&&process.stdout.write(`${i} └ Error: ${t} -`)};var h=r(8149),m=r(6437),p=r(702),C=r(5536),f=(e=>{let t={};for(var r in e)i(t,r,{get:e[r],enumerable:!0});return i(t,Symbol.toStringTag,{value:"Module"}),t})({collapse:()=>b,failure:()=>Q,groupStep:()=>S,line:()=>N,success:()=>B,withStep:()=>y});let I=e=>{let t=h.L$(e);if(m.isSome(t)){let e=t.value;return e instanceof Error?e.message:"string"==typeof e?e:"object"==typeof e&&null!==e&&"message"in e&&"string"==typeof e.message?e.message:String(e)}return h.j9(e)},E=(e,t,r)=>null!==e.successLine?e.successLine:r?.defaultSummary!==void 0?r.defaultSummary(t):null,y=(e,t,r)=>p.JkU(function*(){let i=yield*c,n={entries:[]},s={name:e,depth:i.length,successLine:null,failureLine:null,buffer:n,...r?.icon!==void 0?{icon:r.icon}:{}},o=t.pipe(p.PfK(l.d$,new Set([d(n)])),p.PfK(c,[...i,s])),a=yield*p.NS5(o);return C.N6(a)?(u(s,I(a.cause)),yield*p.ATB(a.cause)):(null!==s.failureLine?u(s,s.failureLine):g(s,E(s,a.value,r)),a.value)}),B=e=>p.JkU(function*(){let t=yield*c;if(0===t.length)return void(yield*p.MDB("Step.success called outside a withStep envelope; ignoring."));let r=t[t.length-1];void 0!==r&&(r.successLine=e)}),Q=e=>p.JkU(function*(){let t=yield*c;if(0===t.length)return void(yield*p.MDB("Step.failure called outside a withStep envelope; ignoring."));let r=t[t.length-1];void 0!==r&&(r.failureLine=e)}),N=(e,t)=>p.JkU(function*(){var r;r=(yield*c).length,process.stdout.write(`${" ".repeat(r)}${e} ${t} -`)}),b=(e,t)=>p.JkU(function*(){let r=yield*c,i=r.length,n=yield*p.Q7R(e.map(e=>p.JkU(function*(){let t={entries:[]},n={name:e.name,depth:i,successLine:null,failureLine:null,buffer:t};return{frame:n,exit:yield*p.NS5(e.effect.pipe(p.PfK(l.d$,new Set([d(t)])),p.PfK(c,[...r,n])))}})),{concurrency:"unbounded"}),s=n.every(e=>C.oJ(e.exit)&&null===e.frame.failureLine)?t(n.map(e=>({name:e.frame.name,result:e.exit.value}))):null;if(null!==s)return process.stdout.write(`${" ".repeat(i)}${s} -`),n.map(e=>e.exit.value);for(let e of n)if(C.N6(e.exit))u(e.frame,I(e.exit.cause));else if(null!==e.frame.failureLine)u(e.frame,e.frame.failureLine);else{let t=E(e.frame,e.exit.value);g(e.frame,t)}let o=n.find(e=>C.N6(e.exit));return void 0!==o?yield*p.ATB(o.exit.cause):n.map(e=>e.exit.value)}),S=(e,t,r)=>p.JkU(function*(){return yield*(yield*n.T).group(e,y(e,t,r))})},9339(e,t,r){function i(e){return e.replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function n(e,t,r){let n;process.stdout.write(`${(n=Object.entries(t),`::${e}${n.length>0?` ${n.map(([e,t])=>`${e}=${i(t).replace(/:/g,"%3A").replace(/,/g,"%2C")}`).join(",")}`:""}::${i(r)}`)} -`)}function s(e,t){let r;n("notice",(r={},void 0!==e.title&&(r.title=e.title),void 0!==e.file&&(r.file=e.file),void 0!==e.startLine&&(r.line=String(e.startLine)),void 0!==e.endLine&&(r.endLine=String(e.endLine)),void 0!==e.startColumn&&(r.col=String(e.startColumn)),void 0!==e.endColumn&&(r.endColumn=String(e.endColumn)),r),t)}r.d(t,{lm:()=>s,sn:()=>n})},3343(e,t,r){var i=r(5419),n=class extends i.kl()("github-action-effects/ActionCache"){};r.d(t,{l:()=>n})},6492(e,t,r){var i=r(5419),n=class extends i.kl()("github-action-effects/ActionEnvironment"){};r.d(t,{g:()=>n})},7969(e,t,r){var i=r(5419),n=class extends i.kl()("github-action-effects/ActionLogger"){};r.d(t,{T:()=>n})},2484(e,t,r){var i=r(5419),n=class extends i.kl()("github-action-effects/ActionState"){};r.d(t,{q:()=>n})},3207(e,t,r){r.d(t,{BC:()=>m,Ie:()=>N,D8:()=>h,Ts:()=>u,CZ:()=>C,ET:()=>f,HV:()=>E,T9:()=>D,Tj:()=>S,of:()=>b,jB:()=>w,KC:()=>Q});var i=r(2730),n=r(3558),s=r(9920);let o=e=>e.length>0;var a=r(1034),A=r(6437),l=r(606),c=r(7045),d=r(2917);let g=globalThis.Array,u=e=>g.isArray(e)?e:g.from(e),h=e=>g.isArray(e)?e:[e];c.Wo,A.toArray;let m=(0,s.XY)(2,(e,t)=>[...e,t]),p=(0,s.XY)(2,(e,t)=>u(e).concat(u(t)));g.isArray;let C=o,f=o,I=(0,s.XY)(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),E=e=>f(e)?A.some(y(e)):A.none(),y=e=>e[e.length-1];a.i8;let B=(0,s.XY)(3,(e,t,r)=>{let i=u(e),n=u(t);return f(i)?f(n)?x(r)(p(i,n)):i:n}),Q=(0,s.XY)(2,(e,t)=>B(e,t,i.jI())),N=()=>[],b=e=>[e],S=(0,s.XY)(2,(e,t)=>e.map(t)),w=(0,s.XY)(2,(e,t)=>{let r=[],i=[],n=0;for(let s of e){let e=t(s,n++);d.oJ(e)?i.push(e.success):r.push(e.failure)}return[r,i]});l.O3;let D=n.O3,x=(0,s.XY)(2,(e,t)=>{let r=u(e);if(f(r)){let e=[I(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]})},5909(e,t,r){var i=r(2730),n=r(3558),s=r(9920),o=r(3536),a=r(8294),A=r(6437),l=r(606),c=r(2544),d=r(8527);let g=/^[+-]?\d+$/,u="~effect/BigDecimal",h={[u]:u,[o.HR](){let e=Q(this);return o.kg(o.tW(e.value),o.ai(e.scale))},[i.HR](e){return m(e)&&M(this,e)},toString(){return`BigDecimal(${k(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[a.FX](){return this.toJSON()},pipe(){return(0,c.tT)(this,arguments)}},m=e=>(0,d.i5)(e,u),p=(e,t)=>{let r=Object.create(h);return r.value=e,r.scale=t,r},C=(e,t)=>{if(e!==f&&e%y===f)throw RangeError("Value must be normalized");let r=p(e,t);return r.normalized=r,r},f=BigInt(0),I=BigInt(1),E=BigInt(-1),y=BigInt(10),B=C(f,0),Q=e=>{if(void 0===e.normalized)if(e.value===f)e.normalized=B;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),n=e.scale-r;e.normalized=C(i,n)}return e.normalized},N=(0,s.XY)(2,(e,t)=>t>e.scale?p(e.value*y**BigInt(t-e.scale),t):t<e.scale?p(e.value/y**BigInt(e.scale-t),t):e),b=(0,s.XY)(2,(e,t)=>t.value===f?e:e.value===f?t:e.scale>t.scale?p(N(t,e.scale).value+e.value,e.scale):e.scale<t.scale?p(N(e,t.scale).value+t.value,t.scale):p(e.value+t.value,e.scale)),S=l.L8((e,t)=>{let r=l.wN(x(e),x(t));return 0!==r?r:e.scale>t.scale?l.Qw(e.value,N(t,e.scale).value):e.scale<t.scale?l.Qw(N(e,t.scale).value,t.value):l.Qw(e.value,t.value)}),w=l.hl(S),D=l.yJ(S),x=e=>e.value===f?0:e.value<f?-1:1,R=n.L8((e,t)=>e.scale>t.scale?N(t,e.scale).value===e.value:e.scale<t.scale?N(e,t.scale).value===t.value:e.value===t.value),M=(0,s.XY)(2,(e,t)=>R(e,t)),k=e=>{let t,r,i=Q(e);if(Math.abs(i.scale)>=16)return v(i);let n=i.value<f,s=n?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=s.length)t="0",r="0".repeat(i.scale-s.length)+s;else{let e=s.length-i.scale;if(e>s.length){let i=e-s.length;t=`${s}${"0".repeat(i)}`,r=""}else r=s.slice(e),t=s.slice(0,e)}let o=""===r?t:`${t}.${r}`;return n?`-${o}`:o},v=e=>{if(U(e))return"0e+0";let t=Q(e),r=`${(t.value<f?p(-t.value,t.scale):t).value}`,i=r.slice(0,1),n=r.slice(1),s=`${F(t)?"-":""}${i}`;""!==n&&(s+=`.${n}`);let o=n.length-t.scale;return`${s}e${o>=0?"+":""}${o}`},U=e=>e.value===f,F=e=>e.value<f,T=e=>m(e[0]),L=(0,s.XY)(T,(e,t=0)=>e.scale<=t?e:p(e.value/y**BigInt(e.scale-t),t)),O=(0,s.XY)(T,(e,t=0)=>{let r=L(e,t);return e.value>f&&w(r,e)?b(r,p(I,t)):r}),P=(0,s.XY)(T,(e,t=0)=>{let r=L(e,t);return F(e)&&D(r,e)?b(r,p(E,t)):r});r.d(t,{},{GP:k,L8:p,RI:P,hs:N,mk:O,pH:S,rs:R,s5:m,sH:e=>{let t,r,i,n;if(""===e)return A.some(B);let s=e.search(/[eE]/);if(-1!==s){let i=e.slice(s+1);if(t=e.slice(0,s),r=Number(i),""===t||!Number.isSafeInteger(r)||!g.test(i))return A.none()}else t=e,r=0;let o=t.search(/\./);if(-1!==o){let e=t.slice(0,o),r=t.slice(o+1);i=`${e}${r}`,n=r.length}else i=t,n=0;if(!g.test(i))return A.none();let a=n-r;return Number.isSafeInteger(a)?A.some(p(BigInt(i),a)):A.none()}})},8149(e,t,r){var i=r(8579),n=r(8826);i.PX,i.B4,i.Aj,i.Wg;let s=i.lC;i.Xb,i.ik,i.b5,i.DH;let o=i.OE;i.Iu,n.nIy,n.ORc,n.nn5;let a=n.O$X;n.h2c;let A=n.ReC;n.myX,n.QE5;let l=n.khU,c=n.L$u;n.gpn,n.k7S,n.BbX;let d=n.prj;n.tU5,n.h74,n.Bou,n.RJ6;let g=n.GyP;i.PW,i.qB,i.Xm;let u=i.$L;i.q_;let h=i.RS,m=i.Vw;n.DQo,n.c8t,n.MUS,n.t8c,n._y;let p=n.qwd;n.ASO,n.F7W,n.Aub,n.cOF,n.Rft,n.RD4,n.Kkt,n.PnV;let C=n.Bk6;i.Eh,n.tQ6,n.On5,r.d(t,{},{$L:u,Bk:C,L$:c,RS:h,Tj:a,Vw:m,fJ:o,iw:A,j9:g,kh:l,lC:s,pr:d,qw:p})},893(e,t,r){var i=r(8149),n=r(702),s=r(9920),o=r(2544),a=r(6627),A=r(9444),l=r(1746);let c={"~effect/Channel":{_Env:s.D_,_InErr:s.D_,_InElem:s.D_,_OutErr:s.D_,_OutElem:s.D_},pipe(){return(0,o.tT)(this,arguments)}},d=e=>{let t=Object.create(c);return t.transform=(t,r)=>n.Tyx(e(t,r),e=>n.PyW(n.ATB(e))),t},g=e=>d((t,r)=>e),u=e=>e.transform,h=g(n.PyW(i.Vw())),m=g(n.PyW(n.ZmZ)),p=(0,s.XY)(2,(e,t)=>{let r;return r=(r,i,s)=>l.a6(s,t).pipe(n.hgn(u(e)(r,i))),d(n.D9k(function*(e,t){let i=l.Fp(t),s=e=>l.VN(i,a.aU(e)),o=yield*n.S5A(r(e,t,i),s);return n.S5A(o,s)}))}),C=(0,s.XY)(2,(e,t)=>p(e,e=>t)),f=(0,s.XY)(2,(e,t)=>{let r;return r=e=>n.i4r(n.qIB(e,t),{disableYield:!0}),n.DYE(()=>{let t=l.LZ(),s=u(e)(i.Vw(),t);return a.m8(n.qIB(s,r),n.PyW).pipe(n.cfM(e=>l.VN(t,e)))})});r.d(t,{},{DY:e=>d((t,r)=>n.DYE(()=>u(e())(t,r))),Ie:h,OB:g,VD:(e,t)=>d((r,i)=>n.TjK(A.L8({capacity:t?.bufferSize,strategy:t?.strategy}).pipe(n.Mim(e=>l.U9(i,A.n_(e))),n.Mim(t=>n.ar0(l.Gt(e(t),i),i))),A.h0)),Z1:d,Zm:m,fJ:e=>g(n.PyW(n.fJG(e))),o1:f,oA:e=>d((t,r)=>{let i;return n.PyW(n.DYE(()=>i||e.pipe(l.Gt(r),n.qIB(e=>u(e)(t,r)),n.qIB(e=>i=e))))}),wp:u,ye:C})},5419(e,t,r){let i;r.d(t,{Or:()=>U,kl:()=>g,WQ:()=>B,Ie:()=>I,Jt:()=>b,om:()=>R,Y6:()=>Q,kA:()=>S,fp:()=>N,aE:()=>f,L8:()=>y,LZ:()=>p,h1:()=>M,Um:()=>k});var n=r(8579),s=r(2730),o=r(9920),a=r(3536),A=r(58),l=r(6437),c=r(8527);let d="~effect/Context/Service",g=function(){let e=(0,A.jt)();(0,A.ft)(2);let t=Error();(0,A.ft)(e);let r=function(){};return(Object.setPrototypeOf(r,u),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[h]=h,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},u={[d]:d,...(i={label:"Service",evaluate(e){return(0,n.xt)(b(e.context,this))}},(0,n.yj)({op:i.label,[n._3]:i.evaluate})),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return y(this,e)},use(e){return(0,n.R6)(t=>e(b(t.context,this)))},useSync(e){return(0,n.R6)(t=>(0,n.xt)(e(b(t.context,this))))}},h="~effect/Context/Reference",m="~effect/Context",p=e=>{let t=Object.create(C);return t.mapUnsafe=e,t.mutable=!1,t},C={...n.fU,[m]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[s.HR](e){if(!f(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!s.aI(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[a.HR](){return a.ai(this.mapUnsafe.size)}},f=e=>(0,c.i5)(e,m),I=()=>E,E=p(new Map),y=(e,t)=>p(new Map([[e.key,t]])),B=(0,o.XY)(3,(e,t,r)=>v(e,e=>{e.set(t.key,r)})),Q=(0,o.XY)(2,(e,t)=>e.mapUnsafe.get(t.key)),N=(0,o.XY)(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(h in t)return D(t);throw x(t)}return e.mapUnsafe.get(t.key)}),b=N,S=(e,t)=>e.mapUnsafe.has(t.key)?e.mapUnsafe.get(t.key):D(t),w="~effect/Context/defaultValue",D=e=>w in e?e[w]:e[w]=e.defaultValue(),x=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},R=(0,o.XY)(2,(e,t)=>e.mapUnsafe.has(t.key)?l.some(e.mapUnsafe.get(t.key)):(0,c.i5)(t,h)?l.some(D(t)):l.none()),M=(0,o.XY)(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:v(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),k=(...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return p(t)},v=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),p(r)},U=g},1160(e,t,r){var i=r(8579),n=r(2544);let s=class extends n.Xs{constructor(e){super(),e&&Object.assign(this,e)}},o=i.$D,a=i.rN;r.d(t,{},{$D:o,Xs:s,rN:a})},1897(e,t,r){r.d(t,{rs:()=>eg,pH:()=>eu,dv:()=>eS,Rd:()=>ew,tn:()=>eh,Ar:()=>eo,kQ:()=>ea,rg:()=>el,lU:()=>eA,rr:()=>ec,Ry:()=>ed,L8:()=>ep,MO:()=>eC,TT:()=>em,yF:()=>eN,Xy:()=>eb,yT:()=>ef,ez:()=>eB,y3:()=>ey,k9:()=>eI,ko:()=>eE,xV:()=>eQ}),r(5419);var i=r(9920),n=r(8149),s=r(8826);s.a1U,s.RKA,s.Rud,s.s0X,r(6292);var o=r(2730),a=r(3558),A=r(3536),l=r(8294),c=r(6437),d=r(606),g=r(2544),u=r(8527);let h="~effect/time/DateTime",m="~effect/time/DateTime/TimeZone",p={[h]:h,pipe(){return(0,g.tT)(this,arguments)},[l.FX](){return this.toString()},toJSON(){return q(this).toJSON()}},C={...p,_tag:"Utc",[A.HR](){return A.ai(this.epochMilliseconds)},[o.HR](e){return Q(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${q(this).toJSON()})`}},f={...p,_tag:"Zoned",[A.HR](){return A.kg(A.ai(this.epochMilliseconds))(A.tW(this.zone))},[o.HR](e){return Q(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&o.aI(this.zone,e.zone)},toString(){return`DateTime.Zoned(${es(this)})`}},I={[m]:m,[l.FX](){return this.toString()}},E={...I,_tag:"Named",[A.HR](){return A.Yj(`Named:${this.id}`)},[o.HR](e){return b(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},y={...I,_tag:"Offset",[A.HR](){return A.Yj(`Offset:${this.offset}`)},[o.HR](e){return b(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${J(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},B=(e,t,r)=>{let i=Object.create(f);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},Q=e=>u.i5(e,h),N=e=>Q(e[0]),b=e=>u.i5(e,m),S=e=>"Zoned"===e._tag,w=a.L8((e,t)=>e.epochMilliseconds===t.epochMilliseconds),D=d.L8((e,t)=>e.epochMilliseconds<t.epochMilliseconds?-1:+(e.epochMilliseconds>t.epochMilliseconds)),x=e=>{let t=Object.create(C);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t},R=e=>{let t=e.getTime();if(Number.isNaN(t))throw new n.qw("Invalid date");return x(t)},M=e=>{if(Q(e))return e;if(e instanceof Date)return R(e);if("object"==typeof e){if("epochMilliseconds"in e)return x(e.epochMilliseconds);let t=new Date(0);return j(t,e),R(t)}return"string"!=typeof e||k(e)?R(new Date(e)):R(new Date(e+"Z"))},k=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),v=(e,t)=>{let r,i=t?.timeZone;if(void 0===i&&Q(e)&&S(e))return e;let s=M(e);if(s.epochMilliseconds<-86399999568e5||s.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${s.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=H(-60*new Date(s.epochMilliseconds).getTimezoneOffset()*1e3);else if(b(i))r=i;else if("number"==typeof i)r=H(i);else{let e=z(i);if(c.isNone(e))throw new n.qw(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?B(s.epochMilliseconds,r,s.partsUtc):X(s.epochMilliseconds,r,t?.disambiguation??"compatible")},U=c.liftThrowable(v),F=c.liftThrowable(M),T=/^(.{17,35})\[(.+)\]$/,L=((e,t,r)=>r?.adjustForTimeZone===!0?X(e.epochMilliseconds,t,r?.disambiguation??"compatible"):B(e.epochMilliseconds,t,e.partsUtc),new Map),O={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},P=e=>{if(L.has(e))return L.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...O,timeZone:e});let r=t.resolvedOptions().timeZone;if(L.has(r))return L.get(r);let i=Object.create(E);return i.id=r,i.format=t,L.set(r,i),i}catch{throw new n.qw(`Invalid time zone: ${e}`)}},H=e=>{let t=Object.create(y);return t.offset=e,t},Y=c.liftThrowable(P),G=/^(?:GMT|[+-])/,z=e=>{if(G.test(e)){let t=Z(e);return null===t?c.none():c.some(H(t))}return Y(e)},q=e=>new Date(e.epochMilliseconds),V=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},_=e=>V(e).getTime()-W(e),J=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},W=e=>e.epochMilliseconds,j=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},X=(e,t,r)=>{if("Offset"===t._tag)return B(e-t.offset,t);let i=$(e-864e5,e,t),n=$(e+864e5,e,t);if(i===n)return B(e-i,t);let s=i-n;if(i<n){if($(e-n,e,t)===n)return B(e-n,t);let s=B(e-i,t);if(e!==V(s).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return B(e-n,t)}return s}if($(e-i,e,t)===i){if("earlier"===r||"compatible"===r||$(e-i+s,e+s,t)===i)return B(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return B(e-n,t)},K=/([+-])(\d{2}):(\d{2})$/,Z=e=>{let t=K.exec(e);if(null===t)return null;let[,r,i,n]=t;return("+"===r?1:-1)*(60*Number(i)+Number(n))*6e4},$=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let n=Z(i);return null===n?_(B(t,r)):n},ee=(0,i.XY)(N,(e,t,r)=>{if("Utc"===e._tag){let r=q(e);return t(r),x(r.getTime())}let i=new Date(V(e).getTime());return t(i),X(i.getTime(),e.zone,r?.disambiguation??"compatible")}),et=((e,t)=>et(e,e=>{let r=new Date(e);return t(r),r.getTime()}),(0,i.XY)(2,(e,t)=>{let r=t(W(e));return"Utc"===e._tag?x(r):B(r,e.zone)})),er=((e,t)=>t(V(e)),(0,i.XY)(2,(e,t)=>t(q(e)))),ei=(e,t)=>{e.setTime(e.getTime()+t)},en=((e,t)=>ee(e,e=>{if(t.milliseconds&&ei(e,t.milliseconds),t.seconds&&ei(e,1e3*t.seconds),t.minutes&&ei(e,60*t.minutes*1e3),t.hours&&ei(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=V(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${J(_(e))}`}),es=e=>"Offset"===e.zone._tag?en(e):`${en(e)}[${e.zone.id}]`;r(8444);let eo=Q,ea=b,eA=e=>b(e)&&"Offset"===e._tag,el=e=>b(e)&&"Named"===e._tag,ec=e=>"Utc"===e._tag,ed=S,eg=w,eu=D,eh=R,em=v,ep=F,eC=e=>{let t=T.exec(e);if(null===t){let t=Z(e);return null!==t?U(e,{timeZone:t}):c.none()}let[,r,i]=t;return U(r,{timeZone:i})},ef=e=>x(e.epochMilliseconds),eI=P,eE=H,ey=Y,eB=z,eQ=e=>"Offset"===e._tag?J(e.offset):e.id,eN=q,eb=W,eS=e=>q(e).toISOString(),ew=es},6292(e,t,r){var i=r(2730),n=r(9920),s=r(3536),o=r(8294),a=r(6437),A=r(2544),l=r(8527);let c="~effect/time/Duration",d=BigInt(0),g=BigInt(1),u=BigInt(1e3),h=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),m=(e,t)=>e.includes(".")?h(Number(e)*Number(t)):BigInt(e)*t,p=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,C=e=>{switch(typeof e){case"number":return R(e);case"bigint":return x(e);case"string":{if("Infinity"===e)return w;if("-Infinity"===e)return D;let t=p.exec(e);if(!t)break;let[r,i,n]=t;if("nano"===n||"nanos"===n)return x(m(i,g));if("micro"===n||"micros"===n)return x(m(i,u));let s=Number(i);switch(n){case"milli":case"millis":return R(s);case"second":case"seconds":return M(s);case"minute":case"minutes":return k(s);case"hour":case"hours":return v(s);case"day":case"days":return U(s);case"week":case"weeks":return F(s)}break}case"object":{if(null===e)break;if(c in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(l.Et))return f(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return S;if(e[0]===-1/0||e[1]===-1/0)return D;if(e[0]===1/0||e[1]===1/0)return w;return N(h(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return N(t);return N(h(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return f(e)},f=e=>{throw Error(`Invalid Input: ${e}`)},I=a.liftThrowable(C),E={_tag:"Millis",millis:0},y={_tag:"Infinity"},B={_tag:"NegativeInfinity"},Q={[c]:c,[s.HR](){return s.QK(this.value)},[i.HR](e){return b(e)&&Y(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[o.FX](){return this.toJSON()},pipe(){return(0,A.tT)(this,arguments)}},N=e=>{let t=Object.create(Q);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=E:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:h(1e6*e)}:t.value=e>0?y:B:e===d?t.value=E:t.value={_tag:"Nanos",nanos:e},t},b=e=>(0,l.i5)(e,c),S=N(0),w=N(1/0),D=N(-1/0),x=e=>N(e),R=e=>N(e),M=e=>N(1e3*e),k=e=>N(6e4*e),v=e=>N(36e5*e),U=e=>N(864e5*e),F=e=>N(6048e5*e),T=e=>{let t=C(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return h(1e6*t.value.millis)}},L=a.liftThrowable(T),O=(0,n.XY)(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),P=(0,n.XY)(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(T(e),t.value.nanos):r.onNanos(e.value.nanos,T(t))),H=(e,t)=>P(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag}),Y=(0,n.XY)(2,(e,t)=>H(e,t));r.d(t,{},{MI:e=>"Infinity"!==e.value._tag&&"NegativeInfinity"!==e.value._tag,Tn:w,YA:M,bN:C,cF:x,fP:e=>O(C(e),{onMillis:e=>e/1e3,onNanos:e=>Number(e)/1e9,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),kE:e=>O(C(e),{onMillis:n.D_,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),lX:I,n$:b,ne:R,qv:D,rs:H,tb:L,v_:S})},702(e,t,r){r.d(t,{Q56:()=>ed,jGc:()=>eg,Q7R:()=>E,hgn:()=>Y,as:()=>V,NLW:()=>_,PO3:()=>em,E2r:()=>R,MfU:()=>J,Tyx:()=>j,Fig:()=>X,KuX:()=>W,_OA:()=>en,sxi:()=>es,F_Q:()=>T,_r7:()=>eM,NS5:()=>z,fJG:()=>v,ATB:()=>U,pVV:()=>F,qIB:()=>H,Ab9:()=>eF,D9k:()=>eS,vCS:()=>eT,jJl:()=>y,i4r:()=>ef,ar0:()=>ey,yUA:()=>P,JkU:()=>k,yw5:()=>I,Rm2:()=>ew,MDB:()=>eR,fH4:()=>ex,FFw:()=>eD,TjK:()=>q,q7Y:()=>eU,jkJ:()=>ek,xm_:()=>K,Z9x:()=>ev,khu:()=>er,tvg:()=>ei,ZmZ:()=>M,S5A:()=>eu,cfM:()=>eh,nAr:()=>ep,QgK:()=>Z,DM4:()=>et,ivC:()=>B,Gte:()=>eo,PpN:()=>ea,PfK:()=>ec,L5P:()=>ee,MY7:()=>eB,pR5:()=>eQ,HZF:()=>eN,lKS:()=>eb,Nav:()=>eA,PyW:()=>N,lwU:()=>b,nGE:()=>S,DYE:()=>w,OH5:()=>D,Mim:()=>G,dGm:()=>$,SvU:()=>L,$mh:()=>Q,FcF:()=>eC,r_d:()=>el,gvr:()=>eI,rIH:()=>x,R6R:()=>O,hq:()=>eE});var i=r(8579),n=r(8826),s=r(5419),o=r(9920);r(2917);var a=r(9981),A=r(8444);let l=(0,o.XY)(e=>(0,i.yw)(e[0]),(e,t,r)=>{let i;return s.aE(t)?n.PpN(e,t):(i=Array.isArray(t)?A.Um(...t):t,n.Pxi(t=>n.qIB(r?.local?A.H7(i,A.j6(),t):A.LT(i,t),t=>n.PpN(e,t))))});var c=r(6437),d=r(6627),g=r(1371);(e,t,r)=>n.qIB(a.xn(t),t=>{let s=a.d3.defaultValue();return n.h_t(n.i4r(n.Mim(n.qIB(n.DYE(()=>n.PfK(e,a.d3,s)),t),e=>n.OH5(()=>{s=e})),{disableYield:!0}),e=>i.$L(e)?n.PyW(e.value):r(e,0===s.attempt?c.none():c.some(s)))});let u=(0,o.XY)(3,(e,t,r)=>n.qIB(a.xn(t),t=>{let i,s=a.d3.defaultValue(),o=n.h_t(n.DYE(()=>n.PfK(e,a.d3,s)),e=>(i=e,n.qIB(t(e),e=>(s=e,o))));return d.m8(o,e=>(0,g.s)(()=>r(i,e)))})),h=(0,o.XY)(2,(e,t)=>u(e,"function"==typeof t?t(o.D_):a.GM(t)?t:p(t),n.fJG)),m=a.le(a.i4),p=e=>{let t=e.schedule?a.le(e.schedule):m;return e.while&&(t=a.E6(t,({input:t})=>{let r=e.while(t);return i.yw(r)?r:n.PyW(r)})),e.until&&(t=a.E6(t,({input:t})=>{let r=e.until(t);return i.yw(r)?n.TjK(r,e=>!e):n.PyW(!r)})),void 0!==e.times&&(t=a.E6(t,({attempt:t})=>n.PyW(t<=e.times))),t},C=a.t5(1),f=r(2730).Xq({_E:e=>e,_A:e=>e,_R:e=>e});({...i.In,"~effect/Request":f}),r(3327);i.$n;let I=i.yw,E=n.Q7R;n.jBG,n.TSs,n.tfT,n.i8i,n.kAe;let y=n.jJl;n.iMI;let B=n.ivC,Q=n.$mh,N=n.PyW,b=n.lwU,S=n.nGE,w=n.DYE,D=n.OH5,x=n.rIH;n.Vxk;let R=n.E2r,M=n.ZmZ;n.Do,n.JrD,n.uVU,n.oIE;let k=n.JkU,v=n.fJG;n.gOk;let U=n.ATB,F=n.pVV,T=n.F_Q,L=n.SvU;n.m9E,n.KN3;let O=i.R6,P=n.yUA;n.sVm,n.pkL,n.bJ;let H=n.qIB;n.Bqz;let Y=n.hgn,G=n.Mim;n.Ket,n.uKv;let z=n.NS5,q=n.TjK,V=n.as;n.Xx$;let _=n.NLW;n.UUz,n.yU6,n.OYO;let J=n.h_t,W=n.KuX;n.loE,n.AXC,n.zt4,n.scW;let j=n.Tyx,X=n.Fig;n.XWm,n.osR,n.U9Y,n.sJf,n.rNk;let K=n.xm_;n.UcN;let Z=n.QgK;n.sFT,n.k$L;let $=n.dGm;n.cA6,n.bKC,n.nAi,n.u4Y;let ee=h;n._Sg,n.XeO,n.GrF,n.$$g;let et=n.DM4;n.Dd,n.wRz,n.D52,n.mgX,n.cbG,n.yy4,n.ayu,n.Vdx,n.FfP,n.O4F,n.KT6,n.pbD,n.x1Q,n.E8K,n.Pm0,n.VtY,n.W$I,n.ahH,n.z7s,n.YWq,n.G$Q,n.D$$,n.NZb,n.wR5;let er=n.khu,ei=n.tvg;n.N6O,n.oJd;let en=n._OA,es=n.sxi,eo=l,ea=n.PpN;n.oao,n.euC;let eA=n.Nav,el=n.r_d;n.bUZ;let ec=n.PfK;n.c7E,n.KyM,n.z8E,n.P1j,n.Pxi;let ed=n.Q56;n.N24;let eg=n.jGc;n.U9h,n.yeE;let eu=n.S5A;n.BeE,n.iKM,n.r7h;let eh=n.cfM;n.fGe,n.uRq;let em=n.PO3;n.Rgn,n.CJw,n.GaK,n.Inz;let ep=n.nAr;n.rfi;let eC=n.FcF;n.eMl,n.dsN;let ef=n.i4r;n.aAq,n.Xrv,n.kJM,n._o1,n.nDN,n.MaT,n.Muk,n.ww9,n._32,n.Wj8,n.Fu6,n.WbR,n.A_r,n.Z98,n.Rd$;let eI=n.gvr;n.fRP,n.zr8;let eE=n.hq;n.zhn;let ey=n.ar0;n.x6Z,n.yxg,n.PCg,n.pEE,n.ABT;let eB=n.MY7;n.eJC,n.lSz,n.bPG;let eQ=n.pR5;n.v2Q,n.NpQ,n.jqV;let eN=n.HZF;n.lE;let eb=n.lKS;n.rfH;let eS=n.D9k;n.fn,n.RKA,n.lIX;let ew=n.lIX(),eD=n.lIX("Warn"),ex=n.lIX("Info"),eR=n.lIX("Debug");n.gsV;let eM=(e,t,r)=>(...i)=>R(n=>{try{e(...i,(e,r)=>{e?n(v(t?t(e,i):e)):n(N(r))})}catch(e){n(r?v(r(e,i)):T(e))}}),ek=n.jkJ,ev=n.Z9x,eU=n.q7Y,eF=n.Ab9;n.UVN;let eT=n.vCS},1757(e,t,r){var i=r(1160),n=r(2917);let s="~effect/encoding/EncodingError";class o extends i.rN("EncodingError"){[s]=s}let a=e=>{let t=g(e),r=t.length;if(r%4!=0)return n.fJ(new o({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return n.fJ(new o({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,n=0;e<r;e+=4,n+=3){let r=h(t.charCodeAt(e))<<18|h(t.charCodeAt(e+1))<<12|h(t.charCodeAt(e+2))<<6|h(t.charCodeAt(e+3));i[n]=r>>16,i[n+1]=r>>8&255,i[n+2]=255&r}return n.Py(i)}catch(e){return n.fJ(new o({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},A=e=>{let t=g(e),r=t.length;if(r%4==1)return n.fJ(new o({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return n.fJ(new o({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return a(i=i.replace(/-/g,"+").replace(/_/g,"/"))},l=e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return n.fJ(new o({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=I(t[2*i]),n=I(t[2*i+1]);r[i]=e<<4|n}return n.Py(r)}catch(t){return n.fJ(new o({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}},c=new TextEncoder,d=new TextDecoder,g=e=>e.replace(/[\n\r]/g,""),u=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=m[e[t-2]>>2],i+=m[(3&e[t-2])<<4|e[t-1]>>4],i+=m[(15&e[t-1])<<2|e[t]>>6],i+=m[63&e[t]];return t===r+1&&(i+=m[e[t-2]>>2],i+=m[(3&e[t-2])<<4],i+="=="),t===r&&(i+=m[e[t-2]>>2],i+=m[(3&e[t-2])<<4|e[t-1]>>4],i+=m[(15&e[t-1])<<2],i+="="),i};function h(e){if(e>=p.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=p[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let m=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],p=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],C=e=>u(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),f=e=>{let t="";for(let r=0;r<e.length;++r)t+=E[e[r]];return t},I=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},E=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];r.d(t,{},{$T:e=>n.Tj(a(e),e=>d.decode(e)),$X:A,DX:e=>"string"==typeof e?C(c.encode(e)):C(e),EF:l,UD:e=>n.Tj(A(e),e=>d.decode(e)),WG:e=>"string"==typeof e?u(c.encode(e)):u(e),mU:e=>"string"==typeof e?f(c.encode(e)):f(e),xQ:e=>n.Tj(l(e),e=>d.decode(e)),y4:a})},2730(e,t,r){var i,n,s,o=r(3536),a=r(5678),A=r(8527);let l="~effect/interfaces/Equal";function c(){return 1==arguments.length?e=>d(e,arguments[0]):d(arguments[0],arguments[1])}function d(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||a.J.has(e)||a.J.has(t))&&function(e,t,r){let i=m.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,m.set(e,i);let n=r(e,t);i.set(t,n);let s=m.get(t);return s||(s=new WeakMap,m.set(t,s)),s.set(e,n),n}(e,t,h))}let g=new WeakSet,u=new WeakSet;function h(e,t){if(o.tW(e)!==o.tW(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=f(e),i=f(t);if(r!==i)return!1;let n=r&&i;return("function"!=typeof e||!!n)&&function(e,t,r){let i=g.has(e),n=u.has(t);if(i&&n)return!0;if(i||n)return!1;g.add(e),u.add(t);let s=r();return g.delete(e),u.delete(t),s}(e,t,()=>{if(n)return e[l](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!d(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&p(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&C(e,t);var r=e,i=t;let s=(0,a.X)(r),o=(0,a.X)(i);if(s.size!==o.size)return!1;for(let e of s)if(!o.has(e)||!d(r[e],i[e]))return!1;return!0})}let m=new WeakMap,p=(i=d,n=d,function(e,t){for(let[r,s]of e){let e=!1;for(let[o,a]of t)if(i(r,o)&&n(s,a)){e=!0;break}if(!e)return!1}return!0}),C=(s=d,function(e,t){for(let r of e){let e=!1;for(let i of t)if(s(r,i)){e=!0;break}if(!e)return!1}return!0}),f=e=>(0,A.i5)(e,l);r.d(t,{aI:()=>c},{HR:l,Xq:e=>(a.J.add(e),e),jI:()=>c})},3558(e,t,r){let i=e=>(t,r)=>t===r||e(t,r),n=(e,t)=>e===t;function s(e){return i((t,r)=>{if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(!e[i](t[i],r[i]))return!1;return!0})}function o(e){return i((t,r)=>{if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(!e(t[i],r[i]))return!1;return!0})}function a(e){let t=Reflect.ownKeys(e);return i((r,i)=>{for(let n of t)if(!e[n](r[n],i[n]))return!1;return!0})}r.d(t,{O3:()=>o,_k:()=>a,rd:()=>s},{L8:i,YZ:()=>n})},5536(e,t,r){var i=r(8579),n=r(8826);i.IH,i.b9;let s=i.xt,o=i.cb,a=i.Rk;i.V2,n._sz;let A=n.x5l,l=n.CoE,c=n.VE1;n._mh,n.YDM,n.lNM,n.K$2,n.GUt,n.HIt,n.yJo,n._OD,n.jCT,n.Wtn,n.v9O,n.zPu,n.EkE,n.Hox,n.ely,n.kMI,n.Sv3,n.lgw,r.d(t,{},{AT:o,N6:c,Py:s,fJ:a,oJ:l,rI:A})},8516(e,t,r){var i=r(8826);i.zFM,i.C6p,i.D7p,i.INJ;let n=i.mKq;i.eGS,i.DKo,i.$MQ,i.Iku,i.vTQ,r.d(t,{},{G:n})},262(e,t,r){r.d(t,{Um:()=>b,Q2:()=>B,eL:()=>N,or:()=>y,kP:()=>S,L8:()=>Q});var i=r(3207),n=r(6437),s=r(2917),o=r(8149),a=r(5419),A=r(702),l=r(9920),c=r(9077),d=r(893),g=r(2544),u=r(6627);let h=A.PyW([void 0]),m={"~effect/Sink":{_A:l.D_,_In:l.D_,_L:l.D_,_E:l.D_,_R:l.D_},pipe(){return(0,g.tT)(this,arguments)}},p=e=>{let t=Object.create(m);return t.transform=e,t},C=e=>d.Z1((t,r)=>A.PyW(A.qIB(e.transform(t,r),o.Vw)));A.ZmZ,n.none,n.isNone,n.none;let f=e=>{let t;return t=d.oA(A.TjK(e,C)),p((e,r)=>d.wp(t)(e,r).pipe(A.qIB(A.i4r({disableYield:!0})),u.m8(A.PyW)))};var I=r(1260);let E="~effect/platform/FileSystem",y=e=>"bigint"==typeof e?e:BigInt(e),B=a.kl("effect/platform/FileSystem"),Q=e=>B.of({...e,[E]:E,exists:t=>(0,l.Fs)(e.access(t),A.as(!0),A.KuX("PlatformError",e=>"NotFound"===e.reason._tag?A.PyW(!1):A.fJG(e))),readFileString:(t,r)=>A.qIB(e.readFile(t),e=>A.SvU({try:()=>new TextDecoder(r).decode(e),catch:e=>(0,c.T8)({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:A.D9k(function*(t,r){let s=yield*e.open(t,{flag:"r"});r?.offset&&(yield*s.seek(r.offset,"start"));let a=r?.bytesToRead!==void 0?y(r.bytesToRead):void 0,l=BigInt(0),c=y(r?.chunkSize??65536),d=s.readAlloc(c);return I.OBL(A.PyW(A.qIB(A.DYE(()=>void 0!==a&&a<=l?o.Vw():void 0!==a&&a-l<c?s.readAlloc(a-l):d),n.match({onNone:()=>o.Vw(),onSome:e=>(l+=BigInt(e.length),A.PyW(i.of(e)))}))))},I.oAg),sink:(t,r)=>(0,l.Fs)(e.open(t,{flag:"w",...r}),A.TjK(e=>{let t,r;return t=t=>e.writeAll(t),r=A.jJl(e=>t(e),{discard:!0}),p(e=>e.pipe(A.qIB(r),A.i4r({disableYield:!0}),u.m8(()=>h)))}),f),writeFileString:(t,r,i)=>A.qIB(A.SvU({try:()=>new TextEncoder().encode(r),catch:e=>(0,c.T8)({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>e.writeFile(t,r,i))}),N="~effect/platform/FileSystem/File",b=Object.assign(e=>e,{option:e=>n.some(e),result:e=>s.Py(e),is:e=>!0});class S extends a.kl()("effect/platform/FileSystem/WatchBackend"){}},7174(e,t,r){var i=r(9920),n=r(6437),s=r(8527),o=r(2917);s.Kg,s.Et,s.Lm,s.sI,s.Bm,s.$P;let a=(0,i.XY)(2,(e,t)=>r=>{let i=e(r);if(o.N6(i))return o.fJ(r);let n=t(i.success);return o.N6(n)?o.fJ(r):n});r.d(t,{},{Bh:a,zL:e=>t=>{let r=e(t);return o.N6(r)?n.none():n.some(r.success)}})},7292(e,t,r){var i=r(8527),n=r(8629);let s="[Circular]";function o(e){return"string"==typeof e?JSON.stringify(e):String(e)}function a(e){return e.map(e=>`[${o(e)}]`).join("")}function A(e){try{return e.toISOString()}catch{return"Invalid Date"}}function l(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=(0,n.E$)(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}r.d(t,{GP:()=>function e(t,r){let a=r?.space??0,l=new WeakSet,c=a?"number"==typeof a?" ".repeat(a):a:"",d=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function t(a,g=0){if(Array.isArray(a)){let e,r;if(l.has(a))return s;if(l.add(a),!c||a.length<=1)return`[${a.map(e=>t(e,g)).join(",")}]`;let i=a.map(e=>t(e,g+1)).join(",\n"+(e=g+1,c.repeat(e)));return`[ -${r=g+1,c.repeat(r)}${i} -${c.repeat(g)}]`}if(a instanceof Date)return A(a);if(!r?.ignoreToString&&i.i5(a,"toString")&&"function"==typeof a.toString&&a.toString!==Object.prototype.toString&&a.toString!==Array.prototype.toString){let e=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(a);return a instanceof Error&&a.cause?`${e} (cause: ${t(a.cause,g)})`:e}if("string"==typeof a)return JSON.stringify(a);if("number"==typeof a||null==a||"boolean"==typeof a||"symbol"==typeof a)return String(a);if("bigint"==typeof a)return String(a)+"n";if("object"==typeof a||"function"==typeof a){if(l.has(a))return s;if(l.add(a),n.uC in a)return e((0,n.f6)(a));if(Symbol.iterator in a)return`${a.constructor.name}(${t(Array.from(a),g)})`;let r=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(a);if(!c||r.length<=1){let e=`{${r.map(e=>`${o(e)}:${t(a[e],g)}`).join(",")}}`;return d(a,e)}let i=`{ -${r.map(e=>{let r;return`${r=g+1,c.repeat(r)}${o(e)}: ${t(a[e],g+1)}`}).join(",\n")} -${c.repeat(g)}}`;return d(a,i)}return String(a)}(t,0)},IB:()=>l,Yq:()=>A,_r:()=>o,jV:()=>a})},9920(e,t,r){var i=r(2544);let n=e=>()=>e,s=n(!0),o=n(!1),a=n(null),A=n(void 0);function l(e,...t){return(0,i.tT)(e,t)}function c(e,t,r,i,n,s,o,a,A){switch(arguments.length){case 1:return e;case 2:return function(){return t(e.apply(this,arguments))};case 3:return function(){return r(t(e.apply(this,arguments)))};case 4:return function(){return i(r(t(e.apply(this,arguments))))};case 5:return function(){return n(i(r(t(e.apply(this,arguments)))))};case 6:return function(){return s(n(i(r(t(e.apply(this,arguments))))))};case 7:return function(){return o(s(n(i(r(t(e.apply(this,arguments)))))))};case 8:return function(){return a(o(s(n(i(r(t(e.apply(this,arguments))))))))};case 9:return function(){return A(a(o(s(n(i(r(t(e.apply(this,arguments)))))))))}}}function d(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}r.d(t,{Bj:()=>d,Fs:()=>l,L3:()=>c},{D_:e=>e,MN:A,XR:a,XY:function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},Yi:A,dY:n,f4:o,ue:s})},3536(e,t,r){var i=r(9920),n=r(5678),s=r(8527);let o="~effect/interfaces/Hash",a=e=>{switch(typeof e){case"number":return g(e);case"bigint":return u(e.toString(10));case"boolean":case"symbol":return u(String(e));case"string":return u(e);case"undefined":return u("undefined");case"function":case"object":if(null===e)return u("null");{if(e instanceof Date)return u(e.toISOString());if(e instanceof RegExp)return u(e.toString());if(n.J.has(e))return A(e);if(y.has(e))return y.get(e);let t=function(e,t){if(B.has(e))return u("[Circular]");B.add(e);let r=t();return B.delete(e),r}(e,()=>{if(d(e))return e[o]();if("function"==typeof e)return A(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return C(e);if(e instanceof Map)return f(e);if(e instanceof Set)return I(e);return m(e)});return y.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},A=e=>(E.has(e)||E.set(e,g(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),E.get(e)),l=(0,i.XY)(2,(e,t)=>53*e^t),c=e=>0xbfffffff&e|e>>>1&0x40000000,d=e=>(0,s.i5)(e,o),g=e=>{if(e!=e)return u("NaN");if(e===1/0)return u("Infinity");if(e===-1/0)return u("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return c(t)},u=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return c(t)},h=(e,t)=>{let r=12289;for(let i of t)r^=l(a(i),a(e[i]));return c(r)},m=e=>h(e,(0,n.X)(e)),p=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return c(i)},C=p(6151,a),f=p(u("Map"),([e,t])=>l(a(e),a(t))),I=p(u("Set"),a),E=new WeakMap,y=new WeakMap,B=new WeakSet;r.d(t,{},{HR:o,QK:m,YO:C,Yj:u,ai:g,kg:l,tW:a,uN:h,yT:A})},8294(e,t,r){var i=r(7292),n=r(8527),s=r(8629);let o=Symbol.for("nodejs.util.inspect.custom"),a=e=>{try{if(n.i5(e,"toJSON")&&n.Tn(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(a)}catch{return"[toJSON threw]"}return(0,s.E$)(e)};class A{[o](){return this.toJSON()}toString(){return(0,i.GP)(this.toJSON())}}r.d(t,{Xs:()=>A},{FX:o,ZK:(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?(0,i.IB)(e,{space:t}):String(e)}catch{return String(e)}},aB:a,os:{toJSON(){return a(this)},[o](){return this.toJSON()},toString(){return(0,i.GP)(this.toJSON())}}})},1034(e,t,r){var i=r(9920),n=r(6437),s=r(8527);let o=(0,i.XY)(2,(e,t)=>{let r=0;for(let i of e){let e=t(i,r);if((0,s.Lm)(e)){if(e)return n.some(i)}else if(n.isSome(e))return e;r++}return n.none()}),a=(0,i.XY)(2,(e,t)=>({[Symbol.iterator](){let r=e[Symbol.iterator](),i=0;return{next(){let e=r.next();for(;!e.done;){if(t(e.value,i++))return{done:!1,value:e.value};e=r.next()}return{done:!0,value:void 0}}}}}));r.d(t,{},{i8:o,pb:a})},7512(e,t,r){var i=r(8826);let n=i.zzk;i.Fbb,r.d(t,{},{LZ:n})},8444(e,t,r){r.d(t,{H7:()=>I,LT:()=>E,QZ:()=>Q,j6:()=>C,Um:()=>w,Gt:()=>x,S5:()=>R,Py:()=>y});var i=r(5419),n=r(9920),s=r(8826),o=r(2544);let a={"~effect/Deferred":{_A:n.D_,_E:n.D_},pipe(){return(0,o.tT)(this,arguments)}},A=(0,n.XY)(2,(e,t)=>s.OH5(()=>l(e,t))),l=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0};var c=r(8579),d=r(1746);let g="~effect/Layer/MemoMap",u={"~effect/Layer":{_ROut:n.D_,_E:n.D_,_RIn:n.D_},pipe(){return(0,o.tT)(this,arguments)}},h=e=>{let t=Object.create(u);return t.build=e,t},m=e=>h((t,r)=>{let i=d.Fp(r);return s.cfM(e(t,i),e=>"Failure"===e._tag?d.VN(i,e):s.rIH)});class p{get[g](){return g}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,s.hgn(s.Uio(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let n,o,l,c,g=this.get(e,t);return g?g:(i=this,n=d.LZ(),(o=Object.create(a)).resumes=void 0,o.effect=void 0,c={observers:1,effect:(l=o,s.E2r(e=>l.effect?e(l.effect):(l.resumes??=[],l.resumes.push(e),s.OH5(()=>{let t=l.resumes.indexOf(e);l.resumes.splice(t,1)})))),finalizer:t=>s.DYE(()=>(c.observers--,0===c.observers)?(i.map.delete(e),d.VN(n,t)):s.rIH)},i.map.set(e,c),s.Uio(t,c.finalizer).pipe(s.qIB(()=>r(i,n)),s.cfM(e=>(c.effect=e,A(l,e)))))}}let C=()=>new p;class f extends i.kl()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=i.Y6(e,f);return t?new p(t):C()}}let I=(0,n.XY)(3,(e,t,r)=>s.PfK(s.TjK(e.build(t,r),i.WQ(f,t)),f,t)),E=(0,n.XY)(2,(e,t)=>c.R6(r=>I(e,f.forkOrCreate(r.context),t))),y=function(){return 1==arguments.length?e=>B(i.L8(arguments[0],e)):B(i.L8(arguments[0],arguments[1]))},B=e=>h((0,n.dY)(s.PyW(e))),Q=function(){return 1==arguments.length?e=>N(arguments[0],e):N(arguments[0],arguments[1])},N=(e,t)=>b(s.TjK(t,t=>i.L8(e,t))),b=e=>{var t;let r;return t=(t,r)=>d.Gt(e,r),r=m((e,i)=>e.getOrElseMemoize(r,i,t))},S=(e,t,r)=>{let n=d.Fp(r,"parallel");return s.jJl(e,e=>e.build(t,d.Fp(n,"sequential")),{concurrency:e.length}).pipe(s.TjK(e=>i.Um(...e)))},w=(...e)=>m((t,r)=>S(e,t,r)),D=(e,t,r)=>m((i,n)=>s.qIB(Array.isArray(t)?S(t,i,n):t.build(i,n),t=>e.build(i,n).pipe(s.PpN(t),s.TjK(e=>r(e,t))))),x=(0,n.XY)(2,(e,t)=>D(e,t,n.D_)),R=(0,n.XY)(2,(e,t)=>D(e,t,(e,t)=>i.h1(t,e)))},5440(e,t,r){var i=r(8826),n=r(606);let s=i.LkF;i.OPA;let o=n.OW(s),a=n.bi(s);r.d(t,{},{OW:o,bi:a})},608(e,t,r){var i=r(3207),n=r(7292),s=(r(9920),r(8579)),o=r(8826),a=r(8444),A=r(8210);let l=o.d$_;o.olX;let c=o.RBg;o.Umn,n.IB,o.qho,o.ekV,r.d(t,{},{L8:c,d$:l,qd:(e,t)=>a.QZ(l,(0,s.R6)(o.D9k(function*(r){let i=new Set(t?.mergeWithExisting===!0?r.getRef(o.d$_):[]);for(let t of e)i.add((0,s.yw)(t)?yield*t:t);return i})))})},6437(e,t,r){r.r(t),r.d(t,{Do:()=>eu,all:()=>X,andThen:()=>Y,as:()=>L,asVoid:()=>O,bind:()=>eg,bindTo:()=>ec,composeK:()=>_,contains:()=>eA,containsWith:()=>ea,exists:()=>el,filter:()=>er,filterMap:()=>et,firstSomeOf:()=>S,flatMap:()=>H,flatMapNullishOr:()=>G,flatten:()=>z,fromIterable:()=>I,fromNullOr:()=>x,fromNullishOr:()=>w,fromUndefinedOr:()=>D,gen:()=>eh,getFailure:()=>y,getOrElse:()=>B,getOrNull:()=>M,getOrThrow:()=>F,getOrThrowWith:()=>U,getOrUndefined:()=>k,getSuccess:()=>E,isNone:()=>m,isOption:()=>h,isSome:()=>p,let:()=>ed,lift2:()=>es,liftNullishOr:()=>R,liftPredicate:()=>eo,liftThrowable:()=>v,makeCombinerFailFast:()=>ep,makeEquivalence:()=>ei,makeOrder:()=>en,makeReducer:()=>em,makeReducerFailFast:()=>eC,map:()=>T,match:()=>C,none:()=>g,orElse:()=>Q,orElseResult:()=>b,orElseSome:()=>N,partitionMap:()=>ee,product:()=>W,productMany:()=>j,reduceCompact:()=>Z,some:()=>u,tap:()=>J,toArray:()=>$,toRefinement:()=>f,void:()=>P,zipLeft:()=>V,zipRight:()=>q,zipWith:()=>K});var i=r(2730),n=r(3558),s=r(9920),o=r(9739),a=r(7317),A=r(9145),l=r(606),c=r(8527);function d(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let g=()=>a.dv,u=a.zN,h=a.oL,m=a.$I,p=a.Ru,C=(0,s.XY)(2,(e,{onNone:t,onSome:r})=>m(e)?t():r(e.value)),f=e=>t=>p(e(t)),I=e=>{for(let t of e)return u(t);return g()},E=A.Oz,y=A.L8,B=(0,s.XY)(2,(e,t)=>m(e)?t():e.value),Q=(0,s.XY)(2,(e,t)=>m(e)?t():e),N=(0,s.XY)(2,(e,t)=>m(e)?u(t()):e),b=(0,s.XY)(2,(e,t)=>m(e)?T(t(),A.Py):T(e,A.fJ)),S=e=>{let t=g();for(t of e)if(p(t))break;return t},w=e=>null==e?g():u(e),D=e=>void 0===e?g():u(e),x=e=>null===e?g():u(e),R=e=>(...t)=>w(e(...t)),M=B(s.XR),k=B(s.MN),v=e=>(...t)=>{try{return u(e(...t))}catch{return g()}},U=(0,s.XY)(2,(e,t)=>{if(p(e))return e.value;throw t()}),F=U(()=>Error("getOrThrow called on a None")),T=(0,s.XY)(2,(e,t)=>m(e)?g():u(t(e.value))),L=(0,s.XY)(2,(e,t)=>T(e,()=>t)),O=L(void 0),P=u(void 0),H=(0,s.XY)(2,(e,t)=>m(e)?g():t(e.value)),Y=(0,s.XY)(2,(e,t)=>H(e,e=>{let r=(0,c.Tn)(t)?t(e):t;return h(r)?r:u(r)})),G=(0,s.XY)(2,(e,t)=>m(e)?g():w(t(e.value))),z=H(s.D_),q=(0,s.XY)(2,(e,t)=>H(e,()=>t)),V=(0,s.XY)(2,(e,t)=>J(e,()=>t)),_=(0,s.XY)(2,(e,t)=>r=>H(e(r),t)),J=(0,s.XY)(2,(e,t)=>H(e,e=>T(t(e),()=>e))),W=(e,t)=>p(e)&&p(t)?u([e.value,t.value]):g(),j=(e,t)=>{if(m(e))return g();let r=[e.value];for(let e of t){if(m(e))return g();r.push(e.value)}return u(r)},X=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(m(r))return g();t.push(r.value)}return u(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(m(i))return g();t[r]=i.value}return u(t)},K=(0,s.XY)(3,(e,t,r)=>T(W(e,t),([e,t])=>r(e,t))),Z=(0,s.XY)(3,(e,t,r)=>{let i=t;for(let t of e)p(t)&&(i=r(i,t.value));return i}),$=e=>m(e)?[]:[e.value],ee=(0,s.XY)(2,(e,t)=>{if(m(e))return[g(),g()];let r=t(e.value);return A.N6(r)?[u(r.failure),g()]:[g(),u(r.success)]}),et=(0,s.XY)(2,(e,t)=>{if(m(e))return g();let r=t(e.value);return A.oJ(r)?u(r.success):g()}),er=(0,s.XY)(2,(e,t)=>m(e)?g():t(e.value)?u(e.value):g()),ei=e=>n.L8((t,r)=>m(t)?m(r):!m(r)&&e(t.value,r.value)),en=e=>l.L8((t,r)=>p(t)?p(r)?e(t.value,r.value):1:-1),es=e=>(0,s.XY)(2,(t,r)=>K(t,r,e)),eo=(0,s.XY)(2,(e,t)=>t(e)?u(e):g()),ea=e=>(0,s.XY)(2,(t,r)=>!m(t)&&e(t.value,r)),eA=ea(i.jI()),el=(0,s.XY)(2,(e,t)=>!m(e)&&t(e.value)),ec=o.Jr(T),ed=o.zM(T),eg=o.oI(T,H),eu=u({}),eh=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(m(e))return e;r=t.next(e.value)}return u(r.value)};function em(e){return d((t,r)=>m(t)?r:m(r)?t:u(e.combine(t.value,r.value)),g())}function ep(e){return{combine:(t,r)=>m(t)||m(r)?g():u(e.combine(t.value,r.value))}}function eC(e){let t=ep(e).combine,r=u(e.initialValue);return d(t,r,e=>{let i=r;for(let r of e)if(m(i=t(i,r)))break;return i})}},606(e,t,r){var i=r(9920);function n(e){return(t,r)=>t===r?0:e(t,r)}let s=n((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),o=n((e,t)=>e<t?-1:1),a=(0,i.XY)(2,(e,t)=>n((r,i)=>e(t(r),t(i)))),A=a(s,e=>e.getTime());function l(e){return n((t,r)=>{let i=e.length;for(let n=0;n<i;n++){let i=e[n](t[n],r[n]);if(0!==i)return i}return 0})}function c(e){return n((t,r)=>{let i=t.length,n=r.length,o=Math.min(i,n);for(let i=0;i<o;i++){let n=e(t[i],r[i]);if(0!==n)return n}return s(i,n)})}function d(e){let t=Object.keys(e);return n((r,i)=>{for(let n of t){let t=e[n](r[n],i[n]);if(0!==t)return t}return 0})}let g=e=>(0,i.XY)(2,(t,r)=>-1===e(t,r)),u=e=>(0,i.XY)(2,(t,r)=>1===e(t,r)),h=e=>(0,i.XY)(2,(t,r)=>t===r||1>e(t,r)?t:r),m=e=>(0,i.XY)(2,(t,r)=>t===r||e(t,r)>-1?t:r);r.d(t,{L8:()=>n,O3:()=>c,_k:()=>d,rd:()=>l},{Bt:e=>(0,i.XY)(2,(t,r)=>!g(e)(t,r.minimum)&&!u(e)(t,r.maximum)),OW:e=>(0,i.XY)(2,(t,r)=>-1!==e(t,r)),Qw:o,T9:m,bi:e=>(0,i.XY)(2,(t,r)=>1!==e(t,r)),hl:g,jk:h,n9:A,qE:e=>(0,i.XY)(2,(t,r)=>h(e)(r.maximum,m(e)(r.minimum,t))),wN:s,yJ:u,zQ:a})},2544(e,t,r){let i=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},n={pipe(){return i(this,arguments)}},s=function(){function e(){}return e.prototype=n,e}();r.d(t,{},{Xs:s,tT:i})},9077(e,t,r){var i=r(1160);let n="~effect/platform/PlatformError";class s extends i.rN("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class o extends i.$D{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class a extends i.rN("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[n]=n;get message(){return this.reason.message}}r.d(t,{},{Oj:e=>new a(new o(e)),T8:e=>new a(new s(e))})},8527(e,t,r){var i=r(9920);function n(e){return"string"==typeof e}function s(e){return"number"==typeof e}function o(e){return"boolean"==typeof e}function a(e){return"bigint"==typeof e}function A(e){return"symbol"==typeof e}function l(e){return n(e)||s(e)||A(e)}function c(e){return"function"==typeof e}function d(e){return void 0!==e}function g(e){return null!=e}function u(e){return!1}function h(e){return!0}function m(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function p(e){return"object"==typeof e&&null!==e||c(e)}let C=(0,i.XY)(2,(e,t)=>p(e)&&t in e),f=(0,i.XY)(2,(e,t)=>C(e,"_tag")&&e._tag===t);function I(e){return e instanceof Error}function E(e){return e instanceof Date}function y(e){return C(e,Symbol.iterator)||n(e)}r.d(t,{$P:()=>E,Bm:()=>A,EA:()=>d,Et:()=>s,Fw:()=>p,Gv:()=>m,Kg:()=>n,Lm:()=>o,Pd:()=>u,Tn:()=>c,Vq:()=>g,bJ:()=>I,hL:()=>l,sI:()=>a,t8:()=>h,xZ:()=>y},{$J:f,i5:C})},6627(e,t,r){var i=r(8149),n=r(5536),s=r(7174),o=r(9920),a=r(8826),A=r(2917);let l=(0,o.XY)(2,(e,t)=>a.rNk(e,g,e=>t(e))),c=e=>"Fail"===e._tag&&i.$L(e.error),d=s.Bh(i.kh,e=>i.$L(e)?A.Py(e):A.fJ(e));i.kh;let g=s.Bh(i.kh,e=>i.$L(e)?A.Py(e.value):A.fJ(e)),u=(0,o.XY)(2,(e,t)=>a.khu(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=d(e);return A.N6(r)?t.onFailure(r.failure):t.onDone(r.success.value)}}));r.d(t,{},{Og:e=>e.reasons.some(c),aU:e=>{let t=d(e);return A.N6(t)?n.AT(t.failure):n.Py(t.success.value)},m8:l,tv:u})},9444(e,t,r){r.d(t,{kx:()=>f,_1:()=>C,L8:()=>h,x:()=>m,bQ:()=>p,n_:()=>I,h0:()=>E});var i=r(9920),n=r(8579),s=r(8826);let o=Symbol.for("effect/MutableList/Empty"),a=()=>({array:[],mutable:!0,offset:0,next:void 0}),A=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=a(),e.tail=e.tail.next):e.head=e.tail=a(),e.tail.array.push(t),e.length++},l=e=>{e.head=e.tail=void 0,e.length=0},c=e=>{if(!e.head)return o;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:l(e)),t};var d=r(6627);let g={_A:i.D_,_E:i.D_},u={"~effect/Queue":g,"~effect/Queue/Enqueue":g,"~effect/Queue/Dequeue":g,...n.fU,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:B(this)}}},h=e=>n.R6(t=>{let r=Object.create(u);return r.dispatcher=t.currentDispatcher,r.capacity=e?.capacity??1/0,r.strategy=e?.strategy??"suspend",r.messages={head:void 0,tail:void 0,length:0},r.scheduleRunning=!1,r.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},s.PyW(r)}),m=(e,t)=>s.DYE(()=>{if("Open"!==e.state._tag)return Q;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return Q;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return A(e.messages,t),w(e),N;return R(e,t);case"sliding":return c(e.messages),A(e.messages,t),N}return A(e.messages,t),D(e),N}),p=(e,t)=>"Open"===e.state._tag&&(e.messages.length>=e.capacity?"sliding"===e.strategy?(c(e.messages),A(e.messages,t),!0):e.capacity<=0&&e.state.takers.size>0&&(A(e.messages,t),w(e),!0):(A(e.messages,t),D(e),!0)),C=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=n.cb(t),i=s.il9(r,b);return 0===e.state.offers.size&&0===e.messages.length?v(e,i):e.state={...e.state,_tag:"Closing",exit:i},!0},f=e=>C(e,n.OE(n.RS())),I=e=>s.OH5(()=>{if("Done"===e.state._tag)return!0;l(e.messages);let t=e.state.offers;if(v(e,"Open"===e.state._tag?S:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(Q):e.resume(n.xt(e.remaining.slice(e.offset)));t.clear()}return!0}),E=e=>y(e,1,1/0),y=(e,t,r)=>s.DYE(()=>x(e,t,r)??s.hgn(k(e),y(e,1,r))),B=e=>"Done"===e.state._tag?0:e.messages.length,Q=n.xt(!1),N=n.xt(!0),b=n.Rk(n.RS()),S=s._sz(),w=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(s.x5l),0===e.messages.length)break}},D=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>w(e),0))},x=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return n.xt([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,M(e),e.capacity=0;let t=[c(e.messages)];return M(e),n.xt(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return l(e),t}let r=Array(t),i=0,n=e.head;for(;n;){for(;n.offset<n.array.length;)if(r[i++]=n.array[n.offset],n.mutable&&(n.array[n.offset]=void 0),n.offset++,i===t)return e.head=n,e.length-=t,0===e.length&&l(e),r;n=n.next}return l(e),r})(e.messages,r);return M(e),n.xt(t)}},R=(e,t)=>s.E2r(r=>{if("Open"!==e.state._tag)return r(Q);let i={_tag:"Single",message:t,resume:r};return e.state.offers.add(i),s.OH5(()=>{"Open"===e.state._tag&&e.state.offers.delete(i)})}),M=e=>{if("Done"===e.state._tag)return d.Og(e.state.exit.cause);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(v(e,e.state.exit),d.Og(e.state.exit.cause));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)A(e.messages,r.message),t--,r.resume(N),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;A(e.messages,r.remaining[r.offset]),t--}r.resume(n.xt([])),e.state.offers.delete(r)}return!1},k=e=>s.E2r(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),s.OH5(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),v=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let i of(e.state={_tag:"Done",exit:t},r.takers))i(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()}},7045(e,t,r){var i=r(9920);let n=(0,i.XY)(2,(e,t)=>{let r=[];for(let i of a(e))r.push(t(i,e[i]));return r})((e,t)=>[e,t]),s=(0,i.XY)(2,(e,t)=>Object.hasOwn(e,t)),o=(0,i.XY)(2,(e,t)=>{let r={...e};for(let i of a(e))r[i]=t(e[i],i);return r}),a=e=>Object.keys(e);r.d(t,{},{T9:e=>{let t=(0,i.XY)(2,(t,r)=>{for(let i of a(t))if(!s(r,i)||!e(t[i],r[i]))return!1;return!0});return(e,r)=>t(e,r)&&t(r,e)},Tj:o,Wo:n})},8629(e,t,r){var i=r(2544),n=r(8527);let s=Symbol.for("~effect/Redactable");function o(e){return(0,n.i5)(e,s)?a(e):e}function a(e){return e[s](globalThis[A]?.context??l)}let A="~effect/Fiber/currentFiber",l={"~effect/Context":{},mapUnsafe:new Map,pipe(){return(0,i.tT)(this,arguments)}};r.d(t,{E$:()=>o,f6:()=>a},{fL:A,uC:s})},1036(e,t,r){var i=r(2730),n=r(3536),s=r(8579),o=r(9496),a=r(8527);let A="~effect/data/Redacted",l={[A]:{_A:e=>e},label:void 0,...s.fU,toJSON(){return this.toString()},toString(){return`<redacted${(0,a.Kg)(this.label)?":"+this.label:""}>`},[n.HR](){return n.tW(o.m7.get(this))},[i.HR](e){return(0,a.i5)(e,A)&&i.aI(o.m7.get(this),o.m7.get(e))}},c=o.Uq;r.d(t,{},{L8:(e,t)=>{let r=Object.create(l);return t?.label&&(r.label=t.label),o.m7.set(r,e),r},Uq:c})},8210(e,t,r){var i=r(8826),n=r(3894);n.F8;let s=n.iL;n.Gl;let o=n.d8;n.vA;let a=n.zQ;n.rf,n.ce,n.ls,n.nU,n.aG,i.d$_,i.olX,r.d(t,{},{d8:o,iL:s,zQ:a})},2917(e,t,r){var i=r(9920),n=r(7317),s=r(9145),o=r(8527);let a=s.Py,A=s.fJ;s.sV,s.aI;let l=s.N6,c=s.oJ;s.Oz,s.L8;let d=(0,i.XY)(2,(e,t)=>c(e)?a(t(e.success)):A(e.failure)),g=(0,i.XY)(2,(e,{onFailure:t,onSuccess:r})=>l(e)?t(e.failure):r(e.success)),u=(0,i.XY)(2,(e,t)=>{if(c(e))return e.success;throw t(e.failure)})(i.D_);n.dv,r.d(t,{},{Gp:u,N6:l,Py:a,Sv:e=>{if((0,o.Tn)(e))try{return a(e())}catch(e){return A(e)}try{return a(e.try())}catch(t){return A(e.catch(t))}},Tj:d,YW:g,fJ:A,oJ:c})},9981(e,t,r){let i;var n,s=r(8149),o=r(5419),a=r(6292),A=r(9920),l=r(8579),c=r(8826),d=r(2544),g=r(8527),u=r(6627);let h="~effect/Schedule",m=o.Or("effect/Schedule/CurrentMetadata",{defaultValue:(0,A.dY)({input:void 0,output:void 0,duration:a.v_,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),p={[h]:{_Out:A.D_,_In:A.D_,_Env:A.D_},pipe(){return(0,d.tT)(this,arguments)}},C=e=>{let t=Object.create(p);return t.step=e,t},f=()=>{let e,t,r=0;return(i,n)=>{void 0===t&&(t=i);let s=i-t,o=void 0===e?0:i-e;return e=i,{input:n,attempt:++r,start:t,now:i,elapsed:s,elapsedSincePrevious:o}}},I=e=>C(c.TjK(e,e=>{let t=f();return(r,i)=>e(t(r,i))})),E=e=>c.Tyx(e.step,e=>c.PyW(()=>c.ATB(e))),y=(0,A.XY)(2,(e,t)=>C(c.TjK(E(e),e=>{let r=f();return(i,n)=>c.qIB(e(i,n),e=>{let[o,a]=e,A=t({...r(i,n),output:o,duration:a});return c.qIB((0,l.yw)(A)?A:c.PyW(A),t=>t?c.PyW(e):s.Vw(o))})}))),B=(n=a.v_,i=a.bN(n),I(c.PyW(e=>c.PyW([e.attempt-1,i]))));r.d(t,{},{E6:y,EV:(e,t=2)=>{let r=a.kE(a.bN(e));return I(c.PyW(e=>{let i=a.ne(r*Math.pow(t,e.attempt-1));return c.PyW([i,i])}))},GM:e=>(0,g.i5)(e,h),d3:m,i4:B,le:e=>C(c.TjK(E(e),e=>(t,r)=>u.tv(e(t,r),{onSuccess:e=>c.PyW([r,e[1]]),onFailure:c.ATB,onDone:()=>s.Vw(r)}))),t5:e=>y(B,({attempt:t})=>c.PyW(t<=e)),xn:e=>c.RKA(t=>c.TjK(E(e),e=>{let r=f();return i=>c.DYE(()=>{let n=t.currentTimeMillisUnsafe();return c.qIB(e(n,i),([e,t])=>{let s=r(n,i);return s.output=e,s.duration=t,c.as(c.yy4(t),s)})})}))})},3327(e,t,r){var i=r(5419);let n=i.Or("effect/Scheduler",{defaultValue:()=>new a}),s="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class o{buckets=[];scheduleTask(e,t){let r,i=this.buckets,n=i.length,s=0;for(;s<n&&!(i[s][0]>t);s++)r=i[s];r&&r[0]===t?r[1].push(e):s===n?i.push([t,[e]]):i.splice(s,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class a{executionMode;setImmediate;constructor(e="async",t=s){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new A(this.setImmediate)}}class A{tasks=new o;running=void 0;setImmediate;constructor(e=s){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let l=i.Or("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),c=i.Or("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1});r.d(t,{FG:()=>a},{Zm:l,_F:n,hf:c})},5609(e,t,r){r.d(t,{O31:()=>tM,v8c:()=>tS,Xsx:()=>tW,kld:()=>tY,PSP:()=>tj,xCb:()=>function e(t){let r=t.map(tE);return tf(eu(r,"anyOf",void 0),{literals:t,members:r,mapMembers(e){return tv(e(this.members))},pick:t=>e(t),transform:e=>tv(r.map((t,r)=>t.transform(e[r])))})},eXb:()=>tk,T9y:()=>tU,wNn:()=>tb,mSG:()=>tx,QfV:()=>tN,_kM:()=>tD,X0d:()=>tX,rdN:()=>tR,gPz:()=>tv,$r1:()=>ty,xeR:()=>th,GLx:()=>tp,GLL:()=>tT,_Re:()=>tm,QsC:()=>tC,tJb:()=>tP,nfo:()=>tO,lqM:()=>tI,TcI:()=>tL,wFO:()=>tK});var i,n,s=r(5909),o=r(8149),a=r(1160),A=r(1897),l=r(6292),c=r(702),d=(r(1757),r(7292)),g=r(8579),u=r(2544),h=r(3207),m=r(5536),p=r(9920),C=r(8826);function f(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}var I=r(5994),E=r(2340);function y(e){let t;for(let r of e.reasons){if(!o.lC(r)||!E.gh(r.error))return;t??=r.error}return t}function B(e,t){let r=y(e);if(void 0===r)throw Error(t,{cause:e});return r}var Q=r(6437),N=r(8527),b=r(6528),S=r(5030);function w(e){return t=>t._tag===e}let D=w("Declaration"),x=w("Never"),R=w("Literal"),M=w("UniqueSymbol"),k=w("Arrays"),v=w("Objects");class U{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let F={};class T{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let L="~effect/Schema";class O{[L]=L;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class P extends O{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,n,s,o){super(r,i,n,s),this.typeParameters=e,this.run=t,this.encodingChecks=o}getParser(){let e=this.run(this.typeParameters);return(t,r)=>Q.isNone(t)?c.lwU:c.jkJ(e(t.value,this,r),Q.some)}_rebuild(e,t,r){let i=eU(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new P(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let H=new class extends O{_tag="Null";getParser(){return eG(this,null)}getExpected(){return"null"}},Y=new U(H,new S.IT(b.pd(()=>void 0),b.pd(()=>null))),G=new class extends O{_tag="Undefined";getParser(){return eG(this,void 0)}toCodecJson(){return ew(this,[Y])}getExpected(){return"undefined"}},z=new class extends O{_tag="Unknown";getParser(){return ez(this,N.t8)}getExpected(){return"unknown"}};class q extends O{_tag="Literal";literal;constructor(e,t,r,i,n){if(super(t,r,i,n),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${(0,d.GP)(e)}`);this.literal=e}getParser(){return eG(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?V(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:V(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function V(e){let t=globalThis.String(e.literal);return ew(e,[new U(new q(t),new S.IT(b.pd(()=>e.literal),b.pd(()=>t)))])}let _=new class extends O{_tag="String";getParser(){return ez(this,N.Kg)}matchPart(e,t){return eq(this,e,t)}getExpected(){return"string"}};function J(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return J(e.checks,t)}})}let W=new class extends O{_tag="Number";getParser(){return ez(this,N.Et)}matchKey(e,t){return this._match(ej,e,t)}matchPart(e,t){return this._match(eW,e,t)}_match(e,t,r){return e.test(t)?eq(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(J(this.checks,"isFinite")||J(this.checks,"isInt"))?this:ew(this,[eE])}toCodecStringTree(){return this.checks&&(J(this.checks,"isFinite")||J(this.checks,"isInt"))?ew(this,[eK]):ew(this,[eZ])}getExpected(){return"number"}},j=new class extends O{_tag="Boolean";getParser(){return ez(this,N.Lm)}getExpected(){return"boolean"}},X=new class extends O{_tag="Symbol";getParser(){return ez(this,N.Bm)}matchKey(e,t){return eq(this,e,t)}toCodecStringTree(){return ew(this,[e2])}getExpected(){return"symbol"}},K=new class extends O{_tag="BigInt";getParser(){return ez(this,N.sI)}matchPart(e,t){return e$.test(e)?eq(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return ew(this,[e0])}getExpected(){return"bigint"}};class Z extends O{_tag="Arrays";isMutable;elements;rest;encodingChecks;constructor(e,t,r,i,n,s,o,a){super(i,n,s,o),this.isMutable=e,this.elements=t,this.rest=r,this.encodingChecks=a;let A=t.findIndex(eO);if(-1!==A&&(t.slice(A+1).some(e=>!eO(e))||r.length>1))throw Error("A required element cannot follow an optional element. ts(1257)");if(r.length>1&&r.slice(1).some(eO))throw Error("An optional element cannot follow a rest element. ts(1266)")}getParser(e){let t=this,r=t.elements.map(t=>({ast:t,parser:e(t)})),i=t.rest.map(t=>({ast:t,parser:e(t)})),n=r.length,[s,...o]=i,a=o.length;function A(e,t){return t<n?r[t]:t>=e?o[t-e]:s}return c.vCS(function*(e,r){if("None"===e._tag)return e;let i=e.value;if(!Array.isArray(i))return yield*c.fJG(new E.eE(t,e));let s=i.length,o={ast:t,getParser:A,oinput:e,len:s,tailThreshold:Math.max(n,s-a),output:new globalThis.Array(s),issues:void 0,options:r},l=ee(r?.concurrency),d=$(o,i,{concurrency:l?.concurrency,end:0===t.rest.length?n:Math.max(s,n+a)});if(d&&(yield*d),0===t.rest.length&&s>n)for(let a=n;a<=s-1;a++){let n=new E.gm([a],new E.vF(t,i[a]));if("all"!==r.errors)return yield*c.fJG(new E.eC(t,e,[n]));o.issues?o.issues.push(n):o.issues=[n]}return o.issues?yield*c.fJG(new E.eC(t,e,o.issues)):Q.some(o.output)})}_rebuild(e,t,r){let i=eU(this.elements,e),n=eU(this.rest,e);return i===this.elements&&n===this.rest&&t===this.checks&&r===this.encodingChecks?this:new Z(this.isMutable,i,n,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){return"array"}}let $=(0,C.h$X)()({onItem(e,t,r){let i=r<e.len?Q.some(t):Q.none();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return et(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(eO(t.ast))return;let r=new E.gm([i],new E.Mw(t.ast.context?.annotations));if("all"!==e.options.errors)return m.fJ(new E.eC(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),ee=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,et=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let n=y(i.cause);if(void 0===n)return m.AT(o.Tj(i.cause,i=>new E.eC(t,e.oinput,[new E.gm([r],i)])));let s=new E.gm([r],n);if("all"!==e.options.errors)return m.fJ(new E.eC(t,e.oinput,[s]));e.issues?e.issues.push(s):e.issues=[s]},er="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class ei{name;type;constructor(e,t){this.name=e,this.type=t}}class en{decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new en(this.encode,this.decode)}}function es(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(es);default:return!1}}class eo{parameter;type;merge;constructor(e,t,r){if(!(es(e)&&es(eH(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,eO(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class ea extends O{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,i,n,s,o){super(r,i,n,s),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=o;let a=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(a.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(a)}. ts(2300)`)}getParser(e){let t=this,r=[],i=new Set,n=[];for(let s of t.propertySignatures)r.push(s.name),i.add(s.name),n.push({ps:s,parser:e(s.type),name:s.name,type:s.type});let s=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return ez(t,N.Vq);let o=s>0?(0,C.h$X)()({onItem:c.vCS(function*(r,[n,s]){let o=e(eV(s.parameter))(Q.some(n),r.options),a=(0,C.OY)(o)?o:yield*c.NS5(o);if("Failure"===a._tag){let e=et(r,t,n,a);e&&(yield*e);return}let A=Q.some(r.input[n]),l=e(s.type)(A,r.options),d=(0,C.OY)(l)?l:yield*c.NS5(l);if("Failure"===d._tag){let e=et(r,t,n,d);e&&(yield*e);return}if("Some"===a.value._tag&&"Some"===d.value._tag){let e=a.value.value;if(i.has(n)||i.has(e))return;let t=d.value.value;if(s.merge&&s.merge.decode&&Object.hasOwn(r.out,e)){let[i,n]=s.merge.decode.combine([e,r.out[e]],[e,t]);f(r.out,i,n)}else f(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return c.vCS(function*(e,a){let A;if("None"===e._tag)return e;let l=e.value;if(!("object"==typeof l&&null!==l&&!Array.isArray(l)))return yield*c.fJG(new E.eE(t,e));let d={},g={ast:t,oinput:e,input:l,out:d,issues:void 0,options:a},u="all"===a.errors,m="error"===a.onExcessProperty,p="preserve"===a.onExcessProperty;if(0===t.indexSignatures.length&&(m||p)){A=Reflect.ownKeys(l);for(let r=0;r<A.length;r++){let n=A[r];if(!i.has(n))if(m){let r=new E.gm([n],new E.vF(t,l[n]));if(!u)return yield*c.fJG(new E.eC(t,e,[r]));g.issues?g.issues.push(r):g.issues=[r];continue}else f(d,n,l[n])}}let C=ee(a?.concurrency),I=eA(g,n,C);if(I&&(yield*I),o){let e=h.Ie();for(let r=0;r<s;r++){let i=t.indexSignatures[r],n=function(e,t,r=F){let i,n;return function t(s){switch(s._tag){case"String":case"TemplateLiteral":return(i??=Object.keys(e)).filter(e=>void 0!==s.matchPart(e,r));case"Number":return(i??=Object.keys(e)).filter(e=>void 0!==s.matchKey(e,r));case"Symbol":return(n??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==s.matchKey(e,r));case"Union":return[...new Set(s.types.flatMap(t))];default:return[]}}(eV(eH(t)))}(l,i.parameter,a);for(let t=0;t<n.length;t++){let r=n[t];e.push([r,i])}}let r=o(g,e,C);r&&(yield*r)}if(g.issues)return yield*c.fJG(new E.eC(t,e,g.issues));if("original"===a.propertyOrder){let e=(A??Reflect.ownKeys(l)).concat(r),t={};for(let r of e)Object.hasOwn(d,r)&&f(t,r,d[r]);return Q.some(t)}return Q.some(d)})}_rebuild(e,t,r,i,n){let s=eU(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new ei(t.name,r)}),o=eU(this.indexSignatures,i=>{let n=t(i.parameter),s=e(i.type),o=r?i.merge?.flip():i.merge;return n===i.parameter&&s===i.type&&o===i.merge?i:new eo(n,s,o)});return s===this.propertySignatures&&o===this.indexSignatures&&i===this.checks&&n===this.encodingChecks?this:new ea(s,o,this.annotations,i,void 0,this.context,n)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let eA=(0,C.h$X)()({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?Q.some(e.input[t.name]):Q.none();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return et(e,e.ast,t.name,r);if("Some"===r.value._tag)f(e.out,t.name,r.value.value);else if(!eO(t.type)){let r=new E.gm([t.name],new E.Mw(t.type.context?.annotations));return"all"!==e.options.errors?m.fJ(new E.eC(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function el(e,t){return e?t?[...e,...t]:e:t}function ec(e,t,r){return new ea(Reflect.ownKeys(e).map(t=>new ei(t,e[t].ast)),[],r,t)}function ed(e){return e.ast}function eg(e,t){return new Z(!1,e.map(e=>e.ast),[],void 0,t)}function eu(e,t,r){return new eC(e.map(ed),t,void 0,r)}function eh(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!eO(t)){if(R(t))return[{key:e.name,literal:t.literal}];if(M(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>R(e)&&!eO(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return eh(e.thunk())}}let em=new WeakMap;function ep(e){return t=>{let r=eH(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class eC extends O{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,n,s,o){super(r,i,n,s),this.types=e,this.mode=t,this.encodingChecks=o}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return c.PyW(r);let n=r.value,s=function(e,t){let r=function(e){let t=em.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=eH(e[r]);if(x(i))continue;let n=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),s=eh(i);for(let e of(t.byType??={},n))(t.byType[e]??=[]).push(r);if(s.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,s)){let n=t.bySentinel.get(e);n||t.bySentinel.set(e,n=new Map);let s=n.get(i);s||n.set(i,s=[]),s.push(r)}else for(let e of(t.otherwise??={},n))(t.otherwise[e]??=[]).push(r)}return em.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let n=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(n);for(let[t,n]of r.bySentinel)if(Object.hasOwn(e,t)){let r=n.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(ep(e))}return n.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(ep(e))}(n,t.types),o={ast:t,recur:e,oinput:r,input:n,out:void 0,successes:[],issues:void 0,options:i},a=ee(i?.concurrency),A=ef(o,s,a?{...a,orderedStep:!0}:void 0);return A?c.qIB(A,e=>o.out?c.PyW(o.out):c.fJG(new E.W(t,n,o.issues??[]))):o.out?c.PyW(o.out):c.fJG(new E.W(t,n,o.issues??[]))}}_rebuild(e,t,r){let i=eU(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new eC(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=eH(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(R);if(t.length>0)return`${ey(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>R(e.type));if(t.length>0)return`{ ${t.map(t=>`${ey(t.type.context?.isMutable)}${(0,d._r)(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let ef=(0,C.h$X)()({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=y(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),m.fJ(new E.E8(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return m.rI}}}),eI=new eC([new q("Infinity"),new q("-Infinity"),new q("NaN")],"anyOf"),eE=new U(new eC([W,eI],"anyOf"),new S.IT(b.wN(),b.pd(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function ey(e){return e?"":"readonly "}class eB extends u.Xs{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new eB(this.run,{...this.annotations,...e},this.aborted)}abort(){return new eB(this.run,this.annotations,!0)}and(e,t){return new eQ([this,e],t)}}class eQ extends u.Xs{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new eQ(this.checks,{...this.annotations,...e})}and(e,t){return new eQ([this,e],t)}}function eN(e,t,r=!1){return new eB((t,r,i)=>E.L8(t,r,e(t,r,i)),t,r)}function eb(e,t){let r=e.source;return eN(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function eS(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function ew(e,t){return e.encoding===t?e:eS(e,e=>{e.encoding.value=t})}function eD(e,t){return e.context===t?e:eS(e,e=>{e.context.value=t})}function ex(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return eR(e,h.BC(e.checks.slice(0,-1),r.annotate(t)))}return eS(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function eR(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:eS(e,e=>{e.checks.value=t})}function eM(e,t){return eR(e,el(e.checks,t))}function ek(e,t){let r=e[e.length-1],i=t(r.to);return i!==r.to?h.BC(e.slice(0,e.length-1),new U(i,r.transformation)):e}function ev(e){return(0,p.Bj)(function t(r){return r.encoding?ew(r,ek(r.encoding,t)):e(r)})}function eU(e,t){let r=!1,i=Array(e.length);for(let n=0;n<e.length;n++){let s=e[n],o=t(s);o!==s&&(r=!0),i[n]=o}return r?i:e}function eF(e,t){let r=e.context?new T(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new T(!1,!1,void 0,t);return eD(e,r)}let eT=e=>e.encoding?ew(e,ek(e.encoding,eL)):e;function eL(e){let t=e.context?!1===e.context.isOptional?new T(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new T(!0,!1);return eT(eD(e,t))}function eO(e){return e.context?.isOptional??!1}let eP=(0,p.Bj)(e=>{if(e.encoding)return eP(ew(e,void 0));let t=e.recur?.(eP)??e,r=t.encodingChecks;return r?eS(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=el(t.checks,r))}):t}),eH=(0,p.Bj)(e=>eP(eY(e))),eY=(0,p.Bj)(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],n=[new U(eY(ew(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)n.unshift(new U(eY(t[e-1].to),t[e].transformation.flip()));let s=eY(i.to);return s.encoding?ew(s,[...s.encoding,...n]):ew(s,n)}(e,e.encoding):e.flip?.(eY)??e.recur?.(eY)??e);function eG(e,t){let r=c.nGE(t);return i=>"None"===i._tag?c.lwU:i.value===t?r:c.fJG(new E.eE(e,i))}function ez(e,t){return r=>"None"===r._tag?c.lwU:t(r.value)?c.PyW(r):c.fJG(new E.eE(e,r))}function eq(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return e5(e.checks,t,i,e,r),0===i.length?t:void 0}let eV=ev(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(eV)}}),e_=ev(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(e_)}}),eJ=ev(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(eJ)}}),eW=new globalThis.RegExp(`^${er}$`),ej=new globalThis.RegExp(`(?:${er}|Infinity|-Infinity|NaN)`),eX=eM(_,[eb(eW,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:eW},...void 0})]),eK=new U(eX,S.ZK),eZ=new U(new eC([eX,eI],"anyOf"),S.ZK),e$=new globalThis.RegExp("^-?\\d+$"),e0=new U(eM(_,[eb(e$,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:e$},expected:"a string representing a bigint"})]),S.R7),e1=new globalThis.RegExp("^Symbol\\((.*)\\)$"),e2=new U(eM(_,[eb(e1,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:e1},...void 0})]),new S.IT(b.pd(e=>globalThis.Symbol.for(e1.exec(e)[1])),b.K$(e=>void 0!==globalThis.Symbol.keyFor(e)?c.PyW(globalThis.String(e)):c.fJG(new E.cw(Q.some(e),{message:"cannot serialize to string, Symbol is not registered"})))));function e5(e,t,r,i,n){for(let s=0;s<e.length;s++){let o=e[s];if("FilterGroup"===o._tag)e5(o.checks,t,r,i,n);else{let e=o.run(t,i,n);if(e&&(r.push(new E.dJ(t,o,e)),o.aborted||n?.errors!=="all"))return}}}let e3="~effect/Schema/Class",e4="~structural";I.hd,I.ip,I.KE,I.DQ,I.Pk;let e8=new P([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let n=Array.isArray(t);if(!n){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let s=n?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),s&&i.add(t),s}(e))?c.PyW(e):c.fJG(new E.eE(t,Q.some(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new U(z,S.le()),toArbitrary:()=>e=>e.jsonValue()}),e9=new U(H,new S.IT(b.le(),b.pd(()=>null))),e6=new U(e8,S.le()),e7="~effect/SchemaError/SchemaError";class te extends a.rN("SchemaError"){[e7]=e7;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let tt=(0,p.Bj)(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[e3];if(N.Tn(t)){let r=t(e.typeParameters),i=tt(r.to);return ew(e,i===r.to?[r]:[new U(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=tt(e);return ew(r,r.encoding?[...r.encoding,...t]:t)}return tt(e)});case"Suspend":return e.recur(tt);default:return e}});function tr(e){let t=ts(tt(eP(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function ti(e){let t=tr(e);return(e,r)=>{let i=c.lKS(t(e,r));return m.oJ(i)?Q.some(i.value):(B(i.cause,"Option adapter can only return none for schema issues"),Q.none())}}let tn=(e,t)=>void 0===t?e:{...e,...t};function ts(e){let t=ta(e);return(e,r)=>c.Ab9(t(Q.some(e),r??F),e=>"None"===e._tag?c.fJG(new E.h6(e)):c.PyW(e.value))}function to(e,t){return c.Tyx(e,e=>c.pVV(()=>o.Tj(e,t)))}let ta=(0,p.Bj)(e=>{let t,r=e.checks,i=e.encoding,n=i?.length??0,s=e.encodingChecks,o=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!i&&!r&&!s)return(r,i)=>(t??=e.getParser(ta),o&&(i={...i,...o}),t(r,i));let a=k(e)||v(e)||D(e)&&e.typeParameters.length>0,A=r&&a?r.filter(e=>e.annotations?.[e4]):void 0;return(a,l)=>{let d;if(o&&(l={...l,...o}),i){for(let e=n-1;e>=0;e--){let t=i[e],r=ta(t.to);if(d=d?c.Ab9(d,e=>r(e,l)):r(a,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;d=c.Ab9(d,t=>e.run(t,l))}else d=t.transformation.decode(d,l)}d=to(d,t=>new E.Wi(e,a,t))}t??=e.getParser(ta);let g=i=>{let n=t(i,l);return s&&!l?.disableChecks&&(n=c.Ab9(n,t=>{if(Q.isSome(i)&&Q.isSome(t)){let t=[];if(e5(s,i.value,t,e,l),h.CZ(t))return c.fJG(new E.eC(e,i,t))}return c.PyW(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&Q.isSome(i)&&(n=to(n,t=>{let r=[];return e5(A,i.value,r,e,l),h.CZ(r)?"Composite"===t._tag&&t.ast===e?new E.eC(e,t.actual,[...t.issues,...r]):new E.eC(e,i,[t,...r]):t})),n=c.Ab9(n,t=>{if(Q.isSome(t)){let i=t.value,n=[];if(e5(r,i,n,e,l),h.CZ(n))return c.fJG(new E.eC(e,t,n))}return c.PyW(t)})),n};return d?c.Ab9(d,g):g(a)}}),tA="~effect/Schema/Schema",tl={[tA]:tA,pipe(){return u.tT(this,arguments)},annotate(e){return this.rebuild(ex(this.ast,e))},annotateKey(e){return this.rebuild(eF(this.ast,e))},check(...e){return this.rebuild(eM(this.ast,e))}};function tc(e,t){let r,i=Object.create(tl);t&&Object.assign(i,t),i.ast=e,i.rebuild=e=>tc(e,t);let n=tr(i);return i.makeEffect=(e,t)=>td(n(e,t)),r=tr(i),i.make=(e,t)=>{let i=c.lKS(r(e,t));if(m.oJ(i))return i.value;let n=B(i.cause,"Constructor adapter can only throw schema issues");throw Error(n.toString(),{cause:n})},i.makeOption=ti(i),i}function td(e){return c.Tyx(e,e=>c.pVV(()=>o.Tj(e,e=>new te(e))))}let tg=(i=function(e){switch(e._tag){case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(eH(e[r]),r);let r=[...e].sort((e,r)=>{e=eH(e),r=eH(r);let n=i(e),s=i(r);return n!==s?n-s:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e});var tu=r(606);function th(e,t){let r,i;return r=[],i=()=>(t,r)=>e(t)?c.PyW(t):c.fJG(new E.eE(r,Q.some(t))),tf(new P(r.map(ed),e=>i(e.map(e=>tf(e))),t))}function tm(e,t){let r,i=(r=ts(e.ast),void 0===t?r:(e,i)=>r(e,tn(t,i)));return(e,t)=>td(i(e,t))}r(2917),r(3558)._k,tu._k;let tp=tm,tC=function(e,t){let r,i=(r=ts(eY(e.ast)),void 0===t?r:(e,i)=>r(e,tn(t,i)));return(e,t)=>td(i(e,t))},tf=tc,tI=e=>{let t;return tf(eL((t=tF(e)).ast),{schema:t})};function tE(e){let t=tf(new q(e),{literal:e,transform:r=>t.pipe(tT(tE(r),{decode:b.pd(()=>r),encode:b.pd(()=>e)}))});return t}let ty=tf(z),tB=tf(H),tQ=tf(G),tN=tf(_),tb=tf(W),tS=tf(j);function tw(e,t){return tf(e,{fields:t,mapFields(e,t){let r=e(this.fields);return tw(ec(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function tD(e){return tw(ec(e,void 0),e)}function tx(e,t,r){let i=r?.keyValueCombiner?.decode||r?.keyValueCombiner?.encode?new en(r.keyValueCombiner.decode,r.keyValueCombiner.encode):void 0;return tf(function(e,t,r){let i,n,{literals:s,parameters:o}=(i=[],n=[],!function e(t){switch(t._tag){case"Literal":N.hL(t.literal)&&i.push(t.literal);return;case"UniqueSymbol":i.push(t.symbol);return;case"Never":return;case"Union":for(let r=0;r<t.types.length;r++)e(t.types[r]);return;default:n.push(t)}}(e),{literals:i,parameters:n});return new ea(s.map(e=>new ei(e,t)),o.map(e=>new eo(e,t,r)))}(e.ast,t.ast,i),{key:e,value:t})}function tR(e){return function e(t,r){return tf(t,{elements:r,mapElements(t,r){let i=t(this.elements);return e(eg(i,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(eg(e),e)}let tM=e=>tf(new Z(!1,[],[e.ast]),{value:e}),tk=e=>tf(new Z(!1,[e.ast],[e.ast]),{value:e});function tv(e,t){return function e(t,r){return tf(t,{members:r,mapMembers(t,r){let i=t(this.members);return e(eu(i,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(eu(e,t?.mode??"anyOf",void 0),e)}let tU=e=>tv([e,tB]),tF=e=>tv([e,tQ]);function tT(e,t){return r=>{var i,n,s;let o;return tf((i=r.ast,n=e.ast,s=t?S.L8(t):S.le(),o=new U(i,s),ew(n,n.encoding?[...n.encoding,o]:[o])),{from:r,to:e})}}function tL(e){var t;return tE(e).pipe((t=c.PyW(e),e=>{var r,i,n;let s,a;return tf((r=e.ast,n=t,i=c.Tyx(n,e=>c.pVV(()=>o.Tj(e,e=>e.issue))),s=[new U(z,new S.IT(b.IQ(i),b.le()))],a=r.context?new T(r.context.isOptional,r.context.isMutable,s,r.context.annotations):new T(!1,!1,s),eD(r,a)),{schema:e})}))}function tO(){return(e,t)=>new U(e.ast,S.L8(t))}function tP(e,t){return e=Math.max(0,Math.floor(e)),eN(t=>t.length>=e,{expected:`a value with a length of at least ${e}`,meta:{_tag:"isMinLength",minLength:e},[e4]:!0,arbitrary:{constraint:{minLength:e}},...t})}tu.wN,tu.wN,tu.wN,tu.wN,tu.wN,tu.n9,tu.n9,tu.n9,tu.n9,tu.n9,tu.Qw,tu.Qw,tu.Qw,tu.Qw,tu.Qw,s.pH,s.pH,s.pH,s.pH,s.pH;let tH=[];function tY(e){let t=e?.includeStack===!0|2*(e?.excludeCause===!0),r=tH[t];if(void 0!==r)return r;let i=t$.pipe(tT(ty,S.sm((e=>{switch(e){case 0:return;case 1:return{includeStack:!0};case 2:return{excludeCause:!0};case 3:return{includeStack:!0,excludeCause:!0}}})(t))));return tH[t]=i,i}S.nY;let tG=tN.annotate({expected:"a string in ISO 8601 format that will be decoded as a Date"});n=globalThis.Date,th(e=>e instanceof n,{typeConstructor:{_tag:"Date"},generation:{runtime:"Schema.Date",Type:"globalThis.Date"},expected:"Date",toCodecJson:()=>tO()(tG,S.YZ),toArbitrary:()=>(e,t)=>e.date(function(e,t){let r={...void 0};if(delete r.valid,e?.valid&&(r.noInvalidDate=!0),t?.minimum!==void 0){let e=(0,t.minimum),i=t.exclusiveMinimum?new globalThis.Date(e.getTime()+1):e;(void 0===r.min||i.getTime()>r.min.getTime())&&(r.min=i)}if(t?.maximum!==void 0){let e=(0,t.maximum),i=t.exclusiveMaximum?new globalThis.Date(e.getTime()-1):e;(void 0===r.max||i.getTime()<r.max.getTime())&&(r.max=i)}return r}(t?.constraint,t?.constraint?.ordered?.order===tu.n9?t.constraint.ordered:void 0))}),S.YZ,S.HO,eN(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0}),l.n$,S.EJ,S.m8,S.PE;s.s5,S.dG,eN(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0}),eN(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...void 0}),S.ZK,S.ZK,S.R7,S.Ct,S.LL,S.Y5,S.Pp,S.U0,A.yF,S.Nh,A.Xy,A.lU,A.rg,S.yd,A.kQ,S.XU,S.d9;let tz=globalThis.Symbol.for("immer-draftable"),tq={};function tV(e,t,r,i,n){var s,o,a;let A,l=(s=r,o=t,a=i,e=>{if(void 0!==A)return A;let t=new S.IT(b.pd(t=>new e(t)),b.le());return A=tT(tf(new P([s.ast],()=>(t,r)=>t instanceof e||N.i5(t,t_(o))?c.PyW(t):c.fJG(new E.eE(r,Q.some(t))),{identifier:o,[e3]:([e])=>new U(e,t),toCodec:([e])=>new U(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":eh(s.ast),...a})),t)(s)}),d=t_(t),g=class extends e{constructor(...[e,t]){let i=t?.["~payload"],n=i?.token===tq?i.value:r.make(e??{},t);super(n,{...t,disableChecks:!0,"~payload":{token:tq,value:n}})}static [tA]=tA;get[d](){return d}static [tz]=!0;static identifier=t;static fields=r.fields;static get ast(){return l(this).ast}static pipe(){return u.tT(this,arguments)}static rebuild(e){return l(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return ti(l(this))(e??{},t)}static makeEffect(e,t){return l(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(ex(this.ast,e))}static annotateKey(e){return this.rebuild(eF(this.ast,e))}static check(...e){return this.rebuild(eM(this.ast,e))}static extend(e){return(t,i)=>{let s=tJ(t)?t:tD(t),o={...r.fields,...s.fields},a=ec(o,r.ast.checks,{identifier:e});return tV(this,e,tw(eM(a,s.ast.checks),o),i,n)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==n&&Object.assign(g.prototype,n(t)),g}function t_(e){return`~effect/Schema/Class/${e}`}function tJ(e){return N.i5(e,tA)&&e[tA]===tA}let tW=e=>(t,r)=>{let i=tJ(t)?t:tD(t);return tV(a.Xs,e,i,r,e=>({toString(){return`${e}(${(0,d.GP)({...this})})`}}))},tj=e=>(t,r)=>{let i=tJ(t)?t:tD(t);return tV(g.$D,e,i,r,e=>({name:e}))},tX=e=>(t,r,i)=>{let n=tJ(r)?r.mapFields(e=>({_tag:tL(t),...e}),{unsafePreserveChecks:!0}):tD({_tag:tL(t),...r});return tj(e??t)(n,i)};function tK(e){return tf(tZ(e.ast),{schema:e})}let tZ=ev(e=>{let t=function(e,t){switch(e._tag){case"Declaration":{let r=e.annotations?.toCodecJson??e.annotations?.toCodec;if(N.Tn(r)){let i=r(D(e)?e.typeParameters.map(e=>tc(eH(e))):[]),n=t(i.to);return ew(e,n===i.to?[i]:[new U(n,i.transformation)])}return ew(e,[e9])}case"Unknown":case"ObjectKeyword":return ew(e,[e6]);case"Undefined":case"Void":case"Literal":case"Number":return e.toCodecJson();case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,e_);case"Union":{let r=tg(e.types);if(r!==e.types)return new eC(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,tZ);return t!==e&&eO(e)?eT(t):t}),t$=tf(e8)},6528(e,t,r){var i=r(1897),n=r(702),s=r(1757),o=r(6437),a=r(2544),A=r(8527),l=r(2917),c=r(2340);class d extends a.Xs{run;constructor(e){super(),this.run=e}map(e){return new d((t,r)=>this.run(t,r).pipe(n.jkJ(o.map(e))))}compose(e){return u(this)?e:u(e)?this:new d((t,r)=>this.run(t,r).pipe(n.Ab9(t=>e.run(t,r))))}}let g=new d(n.PyW);function u(e){return e.run===g.run}function h(){return g}function m(e){var t;return t=o.map(e),new d(e=>n.PyW(t(e)))}function p(e){var t;return t=(t,r)=>e(t,r).pipe(n.jkJ(o.some)),new d((e,r)=>o.isNone(e)?n.lwU:t(e.value,r))}function C(e){return new d(t=>{let r=o.filter(t,A.EA);return o.isSome(r)?n.PyW(r):n.jkJ(e,o.some)})}function f(){return m(globalThis.String)}function I(){return m(globalThis.Number)}function E(){return m(globalThis.BigInt)}function y(){return m(e=>new globalThis.Date(e))}function B(){return m(s.WG)}function Q(){return m(s.DX)}function N(){return m(s.mU)}function b(){return p(e=>n.Z9x(n.yUA(s.y4(e)),t=>new c.h6(o.some(e),{message:t.message})))}function S(){return p(e=>l.YW(s.$T(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function w(){return p(e=>l.YW(s.$X(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function D(){return p(e=>l.YW(s.UD(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function x(){return p(e=>l.YW(s.EF(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function R(){return p(e=>l.YW(s.xQ(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function M(){return m(encodeURIComponent)}function k(){return p(e=>{try{return n.PyW(globalThis.decodeURIComponent(e))}catch(t){return n.fJG(new c.h6(o.some(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}})}function v(){return p(e=>o.match(i.L8(e),{onNone:()=>n.fJG(new c.h6(o.some(e),{message:"Invalid DateTime input"})),onSome:e=>n.PyW(i.yT(e))}))}A.Kg,r.d(t,{$T:()=>S,$X:()=>w,A0:()=>v,DX:()=>Q,EF:()=>x,IQ:()=>C,K$:()=>p,Qf:()=>f,Qw:()=>E,UD:()=>D,WG:()=>B,_p:()=>M,le:()=>h,mF:()=>k,mU:()=>N,n9:()=>y,pd:()=>m,wN:()=>I,xQ:()=>R,y4:()=>b})},2340(e,t,r){var i=r(3207),n=r(7292),s=r(5994),o=r(6437),a=r(8527);let A="~effect/SchemaIssue/Issue";function l(e){return(0,a.i5)(e,A)}class c{[A]=A;toString(){return w(this)}}class d extends c{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class g extends c{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class u extends c{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class h extends c{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class m extends c{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class p extends c{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class C extends c{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class f extends c{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class I extends c{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class E extends c{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class y extends c{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function B(e,t){if(l(t))return t;if("string"==typeof t)return new f(o.some(e),{message:t});let r="string"==typeof t.issue?new f(o.some(e),{message:t.issue}):t.issue;return new u(t.path,r)}function Q(e,t,r){if(Array.isArray(r))return i.ET(r)?1===r.length?B(e,r[0]):new p(t,o.some(e),i.Tj(r,t=>B(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new f(o.some(e)):B(e,r)}let N=e=>{let t=x(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return S(s.bo(e.ast),M(e.actual));case"InvalidValue":return`Invalid data ${M(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${(0,n.GP)(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${(0,n.GP)(e.actual)}`}},b=e=>x(e.issue)??x(e);function S(e,t){return`Expected ${e}, got ${t}`}let w=e=>(function e(t,r,i,o){switch(t._tag){case"Filter":{let s=o(t);if(void 0!==s)return[{path:r,message:s}];if("InvalidValue"===t.issue._tag)return[{path:r,message:S(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),(0,n.GP)(t.actual))}];return e(t.issue,r,i,o)}case"Encoding":return e(t.issue,r,i,o);case"Pointer":return e(t.issue,[...r,...t.path],i,o);case"Composite":return t.issues.flatMap(t=>e(t,r,i,o));case"AnyOf":{let a=x(t);if(0===t.issues.length){if(void 0!==a)return[{path:r,message:a}];return[{path:r,message:S(s.bo(t.ast),(0,n.GP)(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,o))}default:return[{path:r,message:i(t)}]}})(e,[],N,b).map(D).join("\n");function D(e){let t=e.message;if(e.path&&e.path.length>0){let r=(0,n.jV)(e.path);t+=` - at ${r}`}return t}function x(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return R(e.ast.annotations);case"InvalidValue":case"Forbidden":return R(e.annotations);case"MissingKey":return R(e.annotations,"messageMissingKey");case"UnexpectedKey":return R(e.ast.annotations,"messageUnexpectedKey");case"Filter":return R(e.filter.annotations);case"Encoding":return x(e.issue)}}function R(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function M(e){return o.isNone(e)?"no value provided":(0,n.GP)(e.value)}r.d(t,{E8:()=>y,L8:()=>Q,Mw:()=>h,W:()=>E,Wi:()=>g,cw:()=>I,dJ:()=>d,eC:()=>p,eE:()=>C,gh:()=>l,gm:()=>u,h6:()=>f,vF:()=>m})},5030(e,t,r){var i=r(5909),n=r(1897),s=r(6292),o=r(702),a=r(7292),A=r(6437),l=r(8527),c=r(6528),d=r(2340);let g="~effect/SchemaTransformation/Transformation";class u{[g]=g;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new u(this.encode,this.decode)}compose(e){return new u(this.decode.compose(e.decode),e.encode.compose(this.encode))}}function h(e){return new u(c.K$(e.decode),c.K$(e.encode))}function m(e){return new u(c.pd(e.decode),c.pd(e.encode))}let p=new u(c.le(),c.le());function C(){return p}let f=new u(c.wN(),c.Qf()),I=new u(c.Qw(),c.Qf()),E=new u(c.n9(),c.pd(a.Yq)),y=new u(c.n9(),c.pd(e=>e.getTime())),B=h({decode:e=>A.match(s.lX(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid Duration string: ${e}`})),onSome:o.PyW}),encode:e=>o.PyW(globalThis.String(e))}),Q=h({decode:e=>o.PyW(s.cF(e)),encode:e=>A.match(s.tb(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Unable to encode ${e} into a bigint`})),onSome:e=>o.PyW(e)})}),N=m({decode:e=>s.ne(e),encode:e=>s.kE(e)}),b=e=>{let t;return l.Gv(e)&&"string"==typeof e.message?(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:b(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t):e},S=h({decode:e=>URL.canParse(e)?o.PyW(new URL(e)):o.fJG(new d.h6(A.some(e),{message:`Invalid URL string: ${e}`})),encode:e=>o.PyW(e.href)}),w=h({decode:e=>{let t=i.sH(e);return A.isNone(t)?o.fJG(new d.h6(A.some(e),{message:`Invalid BigDecimal string: ${e}`})):o.PyW(t.value)},encode:e=>o.PyW(i.GP(e))}),D=new u(c.y4(),c.WG()),x=new u(c.$T(),c.WG()),R=new u(c.UD(),c.DX()),M=new u(c.xQ(),c.mU()),k=new u(c.mF(),c._p()),v=m({decode:e=>n.ko(e),encode:e=>e.offset}),U=h({decode:e=>A.match(n.y3(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid IANA time zone: ${e}`})),onSome:o.PyW}),encode:e=>o.PyW(e.id)}),F=h({decode:e=>A.match(n.ez(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid time zone: ${e}`})),onSome:o.PyW}),encode:e=>o.PyW(n.xV(e))}),T=h({decode:e=>A.match(n.L8(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid UTC DateTime string: ${e}`})),onSome:e=>o.PyW(n.yT(e))}),encode:e=>o.PyW(n.dv(e))}),L=h({decode:e=>A.match(n.MO(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid Zoned DateTime string: ${e}`})),onSome:o.PyW}),encode:e=>o.PyW(n.Rd(e))});r.d(t,{IT:()=>u,K$:()=>h,le:()=>C,pd:()=>m},{Ct:x,EJ:B,HO:y,I9:v,L8:e=>l.i5(e,g)?e:new u(e.decode,e.encode),LL:R,Nh:T,PE:N,Pp:k,R7:I,U0:D,XU:F,Y5:M,YZ:E,ZK:f,d9:L,dG:w,m8:Q,nY:S,sm:e=>{let t,r;return m({decode:b,encode:(t=new WeakSet,r=i=>{if(l.bJ(i)){var n;let s;if(t.has(i))return"[Circular]";t.add(i);let o=(n=r,s={name:i.name,message:"string"==typeof i.message?i.message:""},e?.includeStack&&"string"==typeof i.stack&&(s.stack=i.stack),e?.excludeCause||void 0===i.cause||(s.cause=n(i.cause)),s);return t.delete(i),o}try{let e=(0,a.IB)(i);return void 0===e?(0,a.GP)(i):JSON.parse(e)}catch{return(0,a.GP)(i)}})})},yd:U})},1746(e,t,r){var i=r(8826);i.kWD,i.obm,i.DLK,i.RWE;let n=i.d97,s=i.AAo,o=i.Uio,a=i.iLB;i.Z$R;let A=i.pSt,l=i.vDJ;i.fou,i.mdu,r.d(t,{},{Fp:A,Gt:s,LZ:n,U9:a,VN:l,a6:o})},1260(e,t,r){r.d(t,{E2r:()=>f,yeE:()=>Q,fJG:()=>E,EfB:()=>m,OBL:()=>p,fph:()=>y,hM$:()=>N,DYE:()=>I,tiA:()=>S,oAg:()=>B});var i=r(3207),n=r(8149),s=r(893),o=r(702),a=r(8516),A=r(9920),l=r(2544);let c={"~effect/Stream":{_R:A.D_,_E:A.D_,_A:A.D_},pipe(){return(0,l.tT)(this,arguments)}};var d=r(7512),g=r(8527),u=r(1746);let h=e=>(0,g.i5)(e,"~effect/Stream"),m=e=>{let t=Object.create(c);return t.channel=e,t},p=e=>m(s.OB(e)),C=e=>e.channel,f=(e,t)=>m(s.VD(e,t));s.Ie;let I=e=>m(s.DY(()=>e().channel)),E=e=>m(s.fJ(e)),y=e=>m(s.Z1(o.D9k(function*(t,r){let s=e.evaluate().getReader();return yield*u.U9(r,e.releaseLockOnEnd?o.OH5(()=>s.releaseLock()):o.ivC(()=>s.cancel().catch(A.Yi))),o.qIB(o.$mh({try:()=>s.read(),catch:t=>e.onError(t)}),({done:e,value:t})=>e?n.Vw():o.PyW(i.of(t)))})));s.Zm;let B=e=>m(s.oA(o.TjK(e,C))),Q=(0,A.XY)(2,(e,t)=>m(s.ye(e.channel,t))),N=(0,A.XY)(2,(e,t)=>s.o1(e.channel,t)),b=(0,A.XY)(e=>h(e[0]),(e,t,r)=>{let i,s,A=d.LZ(!1);return new ReadableStream({start(r){(s=o.MY7(o.PpN(N(e,e=>A.whenOpen(o.OH5(()=>{A.closeUnsafe();for(let t=0;t<e.length;t++)r.enqueue(e[t]);i(),i=void 0}))),t))).addObserver(e=>{"Failure"===e._tag?r.error(n.iw(e.cause)):r.close()})},pull:()=>new Promise(e=>{i=e,A.openUnsafe()}),cancel(){if(s)return o.pR5(o.NLW(a.G(s)))}},r?.strategy)}),S=(0,A.XY)(e=>h(e[0]),(e,t)=>o.TjK(o._OA(),r=>b(e,r,t)))},4465(e,t,r){let i,n;var s=r(5419),o=r(9920),a=r(6437);let A="effect/Tracer/ParentSpan";class l extends s.kl()(A){}let c=s.Or("effect/Tracer/DisablePropagation",{defaultValue:o.f4}),d=s.Or("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),g=s.Or("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),u="effect/Tracer",h=s.Or(u,{defaultValue:()=>({span:e=>new m(e)})});class m{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=a.getOrUndefined(e.parent)?.traceId??p(32),this.spanId=p(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let p=(n=(i="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=i.charAt(Math.floor(Math.random()*n));return t});r.d(t,{Tv:()=>l},{DW:c,EW:g,RL:u,WG:A,pX:d,sh:h})},1371(e,t,r){let i,n;class s{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new s(this.self)}}let o=(n={[i="~effect/Utils/internal"]:e=>e()},n[i](()=>Error().stack)?.includes(i)===!0?n[i]:({[i]:e=>e()})[i]);r.d(t,{B:()=>s},{s:o})},8579(e,t,r){let i;var n=r(2730),s=r(7292),o=r(9920),a=r(3536),A=r(8294),l=r(2544),c=r(8527),d=r(1371);let g="~effect/Effect",u="~effect/Exit",h={_A:o.D_,_E:o.D_,_R:o.D_},m=`${g}/identifier`,p=`${g}/args`,C=`${g}/evaluate`,f=`${g}/successCont`,I=`${g}/failureCont`,E=`${g}/ensureCont`,y=Symbol.for("effect/Effect/Yield"),B={pipe(){return(0,l.tT)(this,arguments)},toJSON(){return{...this}},toString(){return(0,s.GP)(this.toJSON(),{ignoreToString:!0,space:2})},[A.FX](){return this.toJSON()}},Q={[a.HR](){return a.uN(this,Object.keys(this))},[n.HR](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!n.aI(this[t[i]],e[t[i]]))return!1;return!0}},N={[g]:h,...B,[Symbol.iterator](){return new d.B(this)},toJSON(){return{_id:"Effect",op:this[m],...p in this?{args:this[p]}:void 0}}},b=e=>(0,c.i5)(e,u),S="~effect/Cause",w="~effect/Cause/Reason",D=e=>(0,c.i5)(e,S);class x{[S];reasons;constructor(e){this[S]=S,this.reasons=e}pipe(){return(0,l.tT)(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${(0,s.GP)(this.reasons)})`}[A.FX](){return this.toJSON()}[n.HR](e){return D(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>n.aI(t,e.reasons[r]))}[a.HR](){return a.YO(this.reasons)}}let R=new WeakMap;class M{[w];annotations;_tag;constructor(e,t,r){if(this[w]=w,this._tag=e,t!==k&&"object"==typeof r&&null!==r&&t.size>0){let e=R.get(r);e&&(t=new Map([...e,...t])),R.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return(0,l.tT)(this,arguments)}toString(){return(0,s.GP)(this)}[A.FX](){return this.toString()}}let k=new Map;class v extends M{error;constructor(e,t=k){super("Fail",t,e),this.error=e}toString(){return`Fail(${(0,s.GP)(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[n.HR](e){return P(e)&&n.aI(this.error,e.error)&&n.aI(this.annotations,e.annotations)}[a.HR](){return a.kg(a.Yj(this._tag))(a.kg(a.tW(this.error))(a.tW(this.annotations)))}}let U=new x([]),F=e=>new x([new v(e)]);class T extends M{defect;constructor(e,t=k){super("Die",t,e),this.defect=e}toString(){return`Die(${(0,s.GP)(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[n.HR](e){return H(e)&&n.aI(this.defect,e.defect)&&n.aI(this.annotations,e.annotations)}[a.HR](){return a.kg(a.Yj(this._tag))(a.kg(a.tW(this.defect))(a.tW(this.annotations)))}}let L=e=>new x([new T(e)]),O=(0,o.XY)(e=>D(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new x(e.reasons.map(e=>e.annotate(t,r)))),P=e=>"Fail"===e._tag,H=e=>"Die"===e._tag;function Y(e){return j("Effect.evaluate: Not implemented")}let G=e=>({...N,[m]:e.op,[C]:e[C]??Y,[f]:e[f],[I]:e[I],[E]:e[E]}),z=e=>{let t=G(e);return function(){let r=Object.create(t);return r[p]=!1===e.single?arguments:arguments[0],r}},q=e=>{let t={...G(e),[u]:u,_tag:e.op,get[e.prop](){return this[p]},toString(){return`${e.op}(${(0,s.GP)(this[p])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[p]}},[n.HR](e){return b(e)&&e._tag===this._tag&&n.aI(this[p],e[p])},[a.HR](){return a.kg(a.Yj(e.op),a.tW(this[p]))}};return function(e){let r=Object.create(t);return r[p]=e,r}},V=q({op:"Success",prop:"value",[C](e){let t=e.getCont(f);return t?t[f](this[p],e,this):e.yieldWith(this)}}),_={key:"effect/Cause/StackTrace"},J=q({op:"Failure",prop:"cause",[C](e){let t=this[p],r=!1;e.currentStackFrame&&(t=O(t,{mapUnsafe:new Map([[_.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(I);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(I);return i?i[I](t,e,r?void 0:this):e.yieldWith(r?J(t):this)}}),W=e=>J(F(e)),j=e=>J(L(e)),X=z({op:"WithFiber",[C](e){return this[p](e)}}),K=function(){class e extends globalThis.Error{}let t=G({op:"YieldableError",[C](){return W(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),Z=(i=Symbol.for("effect/Data/Error/plainArgs"),class extends K{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,i,{value:e,enumerable:!1}))}toJSON(){return{...this[i],...this}}}),$=e=>{class t extends Z{_tag=e}return t.prototype.name=e,t},ee="~effect/Cause/NoSuchElementError";class et extends $("NoSuchElementError"){[ee]=ee;constructor(e){super({message:e})}}let er="~effect/Cause/Done",ei={[er]:er,_tag:"Done",value:void 0},en=e=>void 0===e?ei:{[er]:er,_tag:"Done",value:e},es=W(ei);r.d(t,{ET:()=>M,Xm:()=>et,dM:()=>v,s0:()=>x},{$D:Z,$L:e=>(0,c.i5)(e,er),$n:g,Aj:D,B4:w,DH:U,Eh:O,GN:y,IH:u,In:Q,Iu:L,OE:F,PW:e=>(0,c.i5)(e,ee),PX:S,QJ:{key:"effect/Cause/InterruptorStackTrace"},R6:X,RS:en,Rk:W,Sc:I,Uf:z,V2:j,Vw:e=>void 0===e?es:W(en(e)),Wg:e=>(0,c.i5)(e,w),Xb:H,_3:C,a2:p,b5:e=>new x(e),b9:b,cb:J,dO:k,ee:f,fU:B,ik:e=>"Interrupt"===e._tag,lC:P,qB:ee,q_:er,rN:$,u4:E,xt:V,yj:G,yw:e=>(0,c.i5)(e,g),z8:_})},9739(e,t,r){var i=r(9920);r.d(t,{},{Jr:e=>(0,i.XY)(2,(t,r)=>e(t,e=>({[r]:e}))),oI:(e,t)=>(0,i.XY)(3,(r,i,n)=>t(r,t=>e(n(t),e=>({...t,[i]:e})))),zM:e=>(0,i.XY)(3,(t,r,i)=>e(t,e=>({...e,[r]:i(e)})))})},8826(e,t,r){let i,n,s;r.d(t,{RD4:()=>n3,cOF:()=>n2,a1U:()=>nO,d$_:()=>st,Do:()=>iK,Aub:()=>n1,F7W:()=>n$,qwd:()=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v:()=>t7,Ket:()=>rR,bPG:()=>nt,lSz:()=>ne,MY7:()=>i7,eJC:()=>i9,pR5:()=>ns,NpQ:()=>ni,jqV:()=>nr,v2Q:()=>nn,HZF:()=>nl,lKS:()=>na,rfH:()=>no,lE:()=>nA,_Sg:()=>ts,z8E:()=>r6,iLB:()=>r2,Uio:()=>r1,vDJ:()=>rX,fou:()=>rK,Z$R:()=>r$,pSt:()=>r0,RWE:()=>r9,d97:()=>r4,DLK:()=>rj,mdu:()=>it,P1j:()=>ie,Pxi:()=>ir,euC:()=>tV,Nav:()=>t_,oao:()=>tZ,yy4:()=>nq,Fu6:()=>nS,WbR:()=>nw,BEy:()=>sA,PyW:()=>ew,lwU:()=>eO,nGE:()=>eL,DYE:()=>eM,OH5:()=>eR,Mim:()=>ti,dGm:()=>rA,bKC:()=>rc,cA6:()=>rl,nAi:()=>ru,sFT:()=>rd,k$L:()=>rg,ayu:()=>r_,wRz:()=>rq,D52:()=>rV,mgX:()=>rz,kJM:()=>nm,ekV:()=>sI,pkL:()=>eP,SvU:()=>eq,$mh:()=>e_,Vxk:()=>sE,rfi:()=>iB,FcF:()=>iD,scW:()=>rE,r_d:()=>tJ,bUZ:()=>tW,gvr:()=>nR,tfT:()=>iU,rIH:()=>ez,z7s:()=>t9,iMI:()=>iP,KyM:()=>t5,$$g:()=>sy,hq:()=>nk,fRP:()=>nv,zr8:()=>nb,_o1:()=>np,nDN:()=>nC,MaT:()=>nf,m9E:()=>eT,KN3:()=>eF,yU6:()=>t3,OYO:()=>t4});var o=r(3207),a=r(5419),A=r(6292),l=r(2730),c=r(7174),d=r(7292),g=r(9920),u=r(3536),h=r(8294),m=r(1034),p=r(6437),C=r(606),f=r(2544),I=r(8527),E=r(8629),y=r(2917),B=r(3327),Q=r(4465),N=r(1371),b=r(8579),S=r(9739),w=r(3894),D=r(58);let x=e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=(0,D.jt)();(0,D.ft)(3);let r=Error();return(0,D.ft)(t),{...e,captureStackTrace:M(()=>r.stack)}},R=e=>t=>{let r;return()=>{if(void 0!==r)return r;let i=t();if(!i)return;let n=i.split("\n");if(void 0!==n[e])return r=n[e].trim()}},M=R(3);class k extends b.ET{fiberId;constructor(e,t=b.dO){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[l.HR](e){return(0,b.ik)(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[u.HR](){return u.kg(u.Yj(`${this._tag}:${this.fiberId}`))(u.yT(this.annotations))}}let v=e=>new k(e),U=e=>new b.s0([new k(e)]),F=e=>e.reasons.some(b.lC),T=e=>{let t=e.reasons.find(b.lC);return t?y.Py(t):y.fJ(e)},L=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return y.Py(r.error)}return y.fJ(e)},O=c.zL(L),P=e=>e.reasons.some(b.Xb),H=e=>{let t=e.reasons.find(b.Xb);return t?y.Py(t):y.fJ(e)},Y=e=>{let t=e.reasons.find(b.Xb);return t?y.Py(t.defect):y.fJ(e)},G=e=>e.reasons.some(b.ik),z=e=>{let t=e.reasons.find(b.ik);return t?y.Py(t):y.fJ(e)},q=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?y.Py(t):y.fJ(e)},V=e=>{let t=q(e);return y.N6(t)?_:t.success},_=new Set,J=e=>e.reasons.length>0&&e.reasons.every(b.ik),W=e=>a.LZ(e.annotations),j=e=>{let t=new Map;for(let r of e.reasons)if(r.annotations.size>0)for(let[e,i]of r.annotations)t.set(e,i);return a.LZ(t)},X=(0,g.XY)(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new b.s0(o.KC(e.reasons,t.reasons));return l.aI(e,r)?e:r}),K=(0,g.XY)(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>(0,b.lC)(e)?(r=!0,new b.dM(t(e.error))):e);return r?(0,b.b5)(i):e}),Z=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},$=(e,t)=>{let r=[],i=[];if(0===e.reasons.length)return r;let n=(0,D.jt)();for(let n of((0,D.ft)(1),e.reasons)){if("Interrupt"===n._tag){i.push(n);continue}r.push(ee("Die"===n._tag?n.defect:n.error,n.annotations,t))}if(0===r.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=es(e,i);let n=new globalThis.Error("All fibers interrupted without error",{cause:e});n.name="InterruptError",n.stack=`${n.name}: ${n.message}`,r.push(ee(n,i[0].annotations,t))}return(0,D.ft)(n),r},ee=(e,t,r)=>{let i,n=typeof e;if(e&&"object"===n){if(i=new globalThis.Error(et(e),{cause:e.cause?ee(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=ei(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?en(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=eA(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===n?e:(0,d.IB)(e));return i},et=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return(0,d.IB)(e)},er=/\((.*)\)/g,ei=(e,t,r)=>{let i=`${t.name}: ${t.message}`,n=(e.startsWith(i)?e.slice(i.length):e).split("\n"),s=[i];for(let e=1;e<n.length&&!/(?:Generator\.next|~effect\/Effect)/.test(n[e]);e++)s.push(n[e]);return r?en(s.join("\n"),r):s.join("\n")},en=(e,t)=>{let r=t?.get(b.z8.key);return r&&(e=`${e} -${eo(r)}`),e},es=(e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(b.QJ.key);r.push(` at fiber (${t})`),i&&r.push(eo(i))}return r.join("\n")},eo=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(er),n=!1;for(let[,e]of i)n=!0,t.push(` at ${r.name} (${e})`);n||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},ea=e=>$(e).map(eA).join("\n"),eA=e=>e.cause?`${e.stack} { -${el(e.cause," ")} -}`:e.stack,el=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,n=r.length;e<n;e++)i+=` +import{createRequire as e}from"node:module";let t=e(import.meta.url);var r,i,n,a,s,o,l,c,d,m={9557(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let s=a(r(8611)),o=a(r(5692));async function l(e){let t=0,r=[];for await(let i of e)t+=i.length,r.push(i);return Buffer.concat(r,t)}t.toBuffer=l,t.json=async function(e){let t=(await l(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}},t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?o:s).request(e,t),i=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=i.then.bind(i),r}},2120(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let o=a(r(9278)),l=a(r(8611)),c=r(5692);s(r(9557),t);let d=Symbol("AgentBaseInternalState");class m extends l.Agent{constructor(e){super(e),this[d]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new o.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],i=r.indexOf(t);-1!==i&&(r.splice(i,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?c.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let i={...t,secureEndpoint:this.isSecureEndpoint(t)},n=this.getName(i),a=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(s=>{if(this.decrementSockets(n,a),s instanceof l.Agent)try{return s.addRequest(e,i)}catch(e){return r(e)}this[d].currentSocket=s,super.createSocket(e,t,r)},e=>{this.decrementSockets(n,a),r(e)})}createConnection(){let e=this[d].currentSocket;if(this[d].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[d].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[d]&&(this[d].defaultPort=e)}get protocol(){return this[d].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[d]&&(this[d].protocol=e)}}t.Agent=m},4879(e,t,r){let i;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let i=0,n=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))}),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),i=!1,t.destroy=()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(5826)(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5826(e,t,r){e.exports=function(e){function t(e){let r,n,a,s=null;function o(...e){if(!o.enabled)return;let i=Number(new Date);o.diff=i-(r||i),o.prev=r,o.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";n++;let a=t.formatters[i];if("function"==typeof a){let t=e[n];r=a.call(o,t),e.splice(n,1),n--}return r}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=i,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(n!==t.namespaces&&(n=t.namespaces,a=t.enabled(e)),a),set:e=>{s=e}}),"function"==typeof t.init&&t.init(o),o}function i(e,r){let i=t(this.namespace+(void 0===r?":":r)+e);return i.log=this.log,i}function n(e,t){let r=0,i=0,n=-1,a=0;for(;r<e.length;)if(i<t.length&&(t[i]===e[r]||"*"===t[i]))"*"===t[i]?(n=i,a=r):r++,i++;else{if(-1===n)return!1;i=n+1,r=++a}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=r(9049),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5243(e,t,r){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(4879):e.exports=r(5051)},5051(e,t,r){let i=r(2018),n=r(9023);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let i=0;i<r.length;i++)e.inspectOpts[r[i]]=t.inspectOpts[r[i]]},t.log=function(...e){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:i,useColors:n}=this;if(n){let t=this.color,n="\x1b[3"+(t<8?t:"8;5;"+t),a=` ${n};1m${i} \u001B[0m`;r[0]=a+r[0].split("\n").join("\n"+a),r.push(n+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+i+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)},t.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(9478);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[r]=i,e},{}),e.exports=r(5826)(t);let{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},1533(e){e.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return -1!==i&&(-1===n||i<n)}},7277(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpProxyAgent=void 0;let o=a(r(9278)),l=a(r(4756)),c=s(r(5243)),d=r(4434),m=r(2120),u=r(7016),p=(0,c.default)("http-proxy-agent");class h extends m.Agent{constructor(e,t){super(t),this.proxy="string"==typeof e?new u.URL(e):e,this.proxyHeaders=t?.headers??{},p("Creating new HttpProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...t?function(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}(t,"headers"):null,host:r,port:i}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:r}=this,i=t.secureEndpoint?"https:":"http:",n=e.getHeader("host")||"localhost",a=`${i}//${n}`,s=new u.URL(e.path,a);80!==t.port&&(s.port=String(t.port)),e.path=String(s);let o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let t of(o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(o))){let r=o[t];r&&e.setHeader(t,r)}}async connect(e,t){let r,i,n;return e._header=null,e.path.includes("://")||this.setRequestProps(e,t),p("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(p("Patching connection write() output buffer with updated header"),i=(r=e.outputData[0].data).indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+r.substring(i),p("Output buffer: %o",e.outputData[0].data)),"https:"===this.proxy.protocol?(p("Creating `tls.Socket`: %o",this.connectOpts),n=l.connect(this.connectOpts)):(p("Creating `net.Socket`: %o",this.connectOpts),n=o.connect(this.connectOpts)),await (0,d.once)(n,"connect"),n}}h.protocols=["http","https"],t.HttpProxyAgent=h},6565(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let o=a(r(9278)),l=a(r(4756)),c=s(r(2613)),d=s(r(5243)),m=r(2120),u=r(7016),p=r(679),h=(0,d.default)("https-proxy-agent"),g=e=>void 0===e.servername&&e.host&&!o.isIP(e.host)?{...e,servername:e.host}:e;class f extends m.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new u.URL(e):e,this.proxyHeaders=t?.headers??{},h("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?A(t,"headers"):null,host:r,port:i}}async connect(e,t){let r,{proxy:i}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===i.protocol?(h("Creating `tls.Socket`: %o",this.connectOpts),r=l.connect(g(this.connectOpts))):(h("Creating `net.Socket`: %o",this.connectOpts),r=o.connect(this.connectOpts));let n="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},a=o.isIPv6(t.host)?`[${t.host}]`:t.host,s=`CONNECT ${a}:${t.port} HTTP/1.1\r +`;if(i.username||i.password){let e=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(n.Host=`${a}:${t.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(n)))s+=`${e}: ${n[e]}\r +`;let d=(0,p.parseProxyResponse)(r);r.write(`${s}\r +`);let{connect:m,buffered:u}=await d;if(e.emit("proxyConnect",m),this.emit("proxyConnect",m,e),200===m.statusCode)return(e.once("socket",y),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),l.connect({...A(g(t),"host","path","port"),socket:r})):r;r.destroy();let f=new o.Socket({writable:!1});return f.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,c.default)(e.listenerCount("data")>0),e.push(u),e.push(null)}),f}}function y(e){e.resume()}function A(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}f.protocols=["http","https"],t.HttpsProxyAgent=f},679(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let n=(0,i(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let i=0,a=[];function s(){let l=e.read();l?function(l){a.push(l),i+=l.length;let c=Buffer.concat(a,i),d=c.indexOf("\r\n\r\n");if(-1===d){n("have not received end of HTTP headers yet..."),s();return}let m=c.slice(0,d).toString("ascii").split("\r\n"),u=m.shift();if(!u)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let p=u.split(" "),h=+p[1],g=p.slice(2).join(" "),f={};for(let t of m){if(!t)continue;let i=t.indexOf(":");if(-1===i)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let n=t.slice(0,i).toLowerCase(),a=t.slice(i+1).trimStart(),s=f[n];"string"==typeof s?f[n]=[s,a]:Array.isArray(s)?s.push(a):f[n]=a}n("got proxy server response: %o %o",u,f),o(),t({connect:{statusCode:h,statusText:g,headers:f},buffered:c})}(l):e.once("readable",s)}function o(){e.removeListener("end",l),e.removeListener("error",c),e.removeListener("readable",s)}function l(){o(),n("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function c(e){o(),n("onerror %o",e),r(e)}e.on("error",c),e.on("end",l),s()})}},9049(e){function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,n,a,s,o=typeof e;if("string"===o&&e.length>0){var l=e;if(!((l=String(l)).length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(c){var d=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*d;case"weeks":case"week":case"w":return 6048e5*d;case"days":case"day":case"d":return 864e5*d;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*d;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*d;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*d;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:break}}}return}if("number"===o&&isFinite(e)){return r.long?(n=Math.abs(i=e))>=864e5?t(i,n,864e5,"day"):n>=36e5?t(i,n,36e5,"hour"):n>=6e4?t(i,n,6e4,"minute"):n>=1e3?t(i,n,1e3,"second"):i+" ms":(s=Math.abs(a=e))>=864e5?Math.round(a/864e5)+"d":s>=36e5?Math.round(a/36e5)+"h":s>=6e4?Math.round(a/6e4)+"m":s>=1e3?Math.round(a/1e3)+"s":a+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let i,n=r(857),a=r(2018),s=r(1533),{env:o}=process;function l(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function c(e,t){if(0===i)return 0;if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2;if(e&&!t&&void 0===i)return 0;let r=i||0;if("dumb"===o.TERM)return r;if("win32"===process.platform){let e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in o)||"codeship"===o.CI_NAME?1:r;if("TEAMCITY_VERSION"in o)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION);if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){let e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:r}s("no-color")||s("no-colors")||s("color=false")||s("color=never")?i=0:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(i=1),"FORCE_COLOR"in o&&(i="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return l(c(e,e&&e.isTTY))},stdout:l(c(!0,a.isatty(1))),stderr:l(c(!0,a.isatty(2)))}},1885(e,t,r){r.d(t,{$:()=>eb});var i=r(9581),n=r(7139),a=r(7464),s=r(702),o=r(9427),l=r(1211),c=r(6437),d=r(1260),m=r(9981),u=r(9605),p=r(8275),h=r(3818),g=r(9616),f=r(1306),y=class extends a.X0d()("ToolInstallerError",{reason:a.xCb(["downloadFailed","extractFailed","cacheFailed"]),status:a.Qrq(a.wNn),subject:a.Qrq(a.QfV),stderr:a.Qrq(a.QfV),cause:a.Qrq(a.kld())}){get message(){switch(this.reason){case"downloadFailed":return`Could not download ${this.subject}${void 0===this.status?"":` (HTTP ${this.status})`}`;case"extractFailed":return`Could not extract ${this.subject}${void 0===this.stderr?"":`: ${this.stderr}`}`;default:return`Could not cache ${this.subject} into the tool cache`}}get retryable(){return"downloadFailed"===this.reason&&(void 0===this.status||this.status>=500||408===this.status||429===this.status)}};let A=s.JkU(function*(){let e=yield*n.gd,t=yield*o.Q2,r=yield*l.wA,i=yield*h.Qq,a=yield*g.CV,u=yield*s.TjK(e.getOptional("RUNNER_TOOL_CACHE"),e=>c.getOrElse(e,()=>r.join("/tmp","runner-tool-cache"))),p=yield*s.TjK(e.getOptional("RUNNER_OS"),e=>c.match(e,{onNone:()=>!1,onSome:e=>"windows"===e.toLowerCase()})),A=(e,t)=>x.cachePath({root:u,tool:e,version:t,arch:process.arch}),b=e=>{let r=e?.destination;return void 0===r?t.makeTempDirectory({prefix:"effected-extract-"}).pipe(s.xm_(e=>new y({reason:"extractFailed",cause:e}))):t.makeDirectory(r,{recursive:!0}).pipe(s.as(r),s.xm_(e=>new y({reason:"extractFailed",subject:r,cause:e})))},N=(e,t)=>s.P1j(s.JkU(function*(){let r=e=>new y({reason:"extractFailed",subject:t,cause:e}),i=yield*a.spawn(e).pipe(s.xm_(r)),n=yield*d.kBx(d.g7H(i.all)).pipe(s.xm_(r));if((yield*i.exitCode.pipe(s.xm_(r)))!==0)return yield*s.fJG(new y({reason:"extractFailed",subject:t,stderr:n.trim()}))})),C=(e,i,n)=>s.JkU(function*(){let a=A(i,n);return yield*t.makeDirectory(r.dirname(a),{recursive:!0}),yield*t.remove(a,{recursive:!0,force:!0}),yield*t.rename(e,a),a}).pipe(s.xm_(e=>new y({reason:"cacheFailed",subject:i,cause:e}))),S=(e,r)=>s.JkU(function*(){return yield*t.makeDirectory(u,{recursive:!0}),yield*t.makeTempDirectory({directory:u,prefix:".staging-"})}).pipe(s.xm_(t=>new y({reason:"cacheFailed",subject:e,cause:t})),s.qIB(e=>r(e).pipe(s.dGm(()=>s.XeO(t.remove(e,{recursive:!0,force:!0})))))),I=s.fn("ToolInstaller.download")(function*(e,n){return yield*s.JkU(function*(){let n=yield*i.get(e).pipe(s.xm_(t=>new y({reason:"downloadFailed",subject:e,cause:t})));if(n.status<200||n.status>=300)return yield*s.fJG(new y({reason:"downloadFailed",subject:e,status:n.status}));let a=yield*t.makeTempDirectory({prefix:"effected-download-"}).pipe(s.xm_(t=>new y({reason:"downloadFailed",subject:e,cause:t}))),o=r.join(a,"download");return yield*d.eFU(n.stream,t.sink(o)).pipe(s.xm_(t=>new y({reason:"downloadFailed",subject:e,cause:t}))),o}).pipe(s.wRz(n?.timeout??"5 minutes"),s.KuX("TimeoutError",t=>s.fJG(new y({reason:"downloadFailed",subject:e,cause:t}))),s.L5P({schedule:m.EV("1 second"),times:2,while:e=>e.retryable}))}),w=(e,r)=>s.TjK(s.Ket(t.stat(A(e,r))),t=>"Success"===t._tag&&"Directory"===t.success.type?c.some(A(e,r)):c.none()),E=s.fn("ToolInstaller.cacheFile")(function*(e,i,n,a){return yield*s.ww9({tool:n,version:a}),yield*S(n,o=>t.copyFile(e,r.join(o,i)).pipe(s.xm_(e=>new y({reason:"cacheFailed",subject:n,cause:e})),s.qIB(()=>C(o,n,a))))});return{find:w,download:I,extractTar:s.fn("ToolInstaller.extractTar")(function*(e,t){let r=yield*b(t),i=t?.flags===void 0||0===t.flags.length?["xzf"]:[...t.flags];return yield*N(f.L8("tar",[...i,e,"-C",r]),e),r}),extractZip:s.fn("ToolInstaller.extractZip")(function*(e,t){let r=yield*b(t),i=p?f.L8("pwsh",["-NoProfile","-NonInteractive","-Command",`$ErrorActionPreference = 'Stop'; try { Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory('${e.replaceAll("'","''")}', '${r.replaceAll("'","''")}', $true) } catch { [Console]::Error.WriteLine($_.Exception.ToString()); exit 1 }`]):f.L8("unzip",["-oq",e,"-d",r]);return yield*N(i,e),r}),cacheDir:s.fn("ToolInstaller.cacheDir")(function*(e,r,i){return yield*s.ww9({tool:r,version:i}),yield*S(r,n=>t.copy(e,n,{overwrite:!0}).pipe(s.xm_(e=>new y({reason:"cacheFailed",subject:r,cause:e})),s.qIB(()=>C(n,r,i))))}),cacheFile:E,provisionFile:s.fn("ToolInstaller.provisionFile")(function*(e){yield*s.ww9({tool:e.tool,version:e.version});let i=yield*w(e.tool,e.version);if(c.isSome(i)){let n=yield*s.Ket(t.stat(r.join(i.value,e.binary)));if("Success"===n._tag&&"File"===n.success.type)return{directory:i.value,binDir:i.value}}let n=yield*I(e.url);p||(yield*t.chmod(n,493).pipe(s.xm_(e=>new y({reason:"cacheFailed",subject:n,cause:e}))));let a=yield*E(n,e.binary,e.tool,e.version);return{directory:a,binDir:a}})}}),b=e=>{throw Error(`ToolInstaller.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var x=class e extends u.kl()("@effected/github-actions/ToolInstaller"){static layer=p.QZ(this,A);static cachePath=e=>`${e.root}/${e.tool}/${e.version}/${e.arch}`;static makeTest=(e={})=>({find:()=>s.OH5(()=>b("find")),download:()=>s.OH5(()=>b("download")),extractTar:()=>s.OH5(()=>b("extractTar")),extractZip:()=>s.OH5(()=>b("extractZip")),cacheDir:()=>s.OH5(()=>b("cacheDir")),cacheFile:()=>s.OH5(()=>b("cacheFile")),provisionFile:()=>s.OH5(()=>b("provisionFile")),...e});static layerTest=(t={})=>p.Py(e,e.makeTest(t))},N=r(7598);let C=/^(sha1|sha256|sha384|sha512)-[A-Za-z0-9+/]+={0,2}$/,S=/^(sha1|sha224|sha256|sha384|sha512)\.[0-9a-f]+$/,I=/^[0-9]+(c[0-9]+)?\/[0-9a-f]+$/,w=e=>C.test(e),E=e=>S.test(e),v=e=>I.test(e),B=e=>w(e)||E(e)||v(e);var P=class extends a.X0d()("InvalidIntegrityHashError",{input:a.QfV}){get message(){return`Invalid integrity hash "${this.input}": expected an SRI (<algo>-<base64>), corepack (<algo>.<hex>) or yarn (<cachekey>/<hex>) form`}};let R=a.QfV.pipe(a.z6Y(a.HNH(e=>B(e)?void 0:"Expected an SRI, corepack or yarn integrity hash")),a.wkx("IntegrityHash"));Object.assign(R,{isSri:w,isCorepack:E,isYarnChecksum:v,isValid:B,algorithmOf:e=>w(e)?c.some(e.slice(0,e.indexOf("-"))):E(e)?c.some(e.slice(0,e.indexOf("."))):c.none(),decode:e=>a._Re(R)(e).pipe(s.xm_(()=>new P({input:e})))});let O=R.pipe(a.z6Y(a.HNH(e=>E(e)?void 0:"Expected a corepack (<algo>.<hex>) integrity hash")));var k=r(5030),T=r(2917),M=r(2340),D=r(5536),z=class{position;constructor(e){this.position=e}};let Q=(e,t)=>{throw new z(t??e.pos)},_=e=>e.pos<e.len?e.input[e.pos]:void 0,U=e=>{if(e.pos<e.len){let t=e.input[e.pos];return e.pos++,t}},H=e=>e>="0"&&e<="9",L=e=>H(e)||e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e,F=e=>e.pos>=e.len,q=e=>{let t=_(e);return void 0!==t&&H(t)},j=e=>{let t=_(e);return void 0!==t&&L(t)},G=e=>{let t=e.pos,r=_(e);if(void 0===r||!H(r))return Q(e);let i="";for(;q(e);)i+=U(e);if(i.length>1&&"0"===i[0])return e.pos=t,Q(e,t);let n=Number(i);return Number.isSafeInteger(n)?n:(e.pos=t,Q(e,t))},Y=e=>{let t=e.pos,r="",i=!1,n=_(e);if(void 0===n||!L(n))return Q(e);for(;j(e);){let t=U(e)??"";H(t)||(i=!0),r+=t}if(0===r.length)return Q(e);if(i)return r;if(r.length>1&&"0"===r[0])return e.pos=t,Q(e,t);let a=Number(r);return Number.isSafeInteger(a)?a:(e.pos=t,Q(e,t))},$=e=>{let t="",r=_(e);if(void 0===r||!L(r))return Q(e);for(;j(e);)t+=U(e)??"";return 0===t.length?Q(e):t},J=e=>{let t=e.trim();if(0===t.length)return{ok:!1,input:e,position:0};let r={input:t,pos:0,len:t.length};try{return{ok:!0,value:(e=>{let t=_(e);if("v"===t||"V"===t||"="===t)return Q(e,0);let r=G(e);if("."!==_(e))return Q(e);U(e);let i=G(e);if("."!==_(e))return Q(e);U(e);let n=G(e),a=[];F(e)||"-"!==_(e)||(U(e),a=(e=>{let t=[];for(t.push(Y(e));!F(e)&&"."===_(e);)U(e),t.push(Y(e));return t})(e));let s=[];return(F(e)||"+"!==_(e)||(U(e),s=(e=>{let t=[];for(t.push($(e));!F(e)&&"."===_(e);)U(e),t.push($(e));return t})(e)),F(e))?{major:r,minor:i,patch:n,prerelease:a,build:s}:Q(e)})(r)}}catch(e){if(e instanceof z)return{ok:!1,input:t,position:e.position};throw e}},K=e=>{let t=`${e.major}.${e.minor}.${e.patch}`;return e.prerelease.length>0&&(t+=`-${e.prerelease.join(".")}`),e.build.length>0&&(t+=`+${e.build.join(".")}`),t},X=(e,t)=>"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?e<t?-1:+(e>t):"number"==typeof e?-1:1;var V=r(606),W=r(9920),Z=r(2730),ee=r(3536),et=class extends a.X0d()("InvalidVersionError",{input:a.QfV,position:a.Qrq(a.wNn)}){get message(){let e=`Invalid version string: "${this.input}"`;return void 0!==this.position?`${e} at position ${this.position}`:e}};let er=a.wNn.check(a.E6F(),a.Bt9({minimum:0,maximum:Number.MAX_SAFE_INTEGER})),ei=a.gPz([a.QfV.check(a.Pto(/^[0-9]*[A-Za-z-][0-9A-Za-z-]*$/)),er]),en=a.QfV.check(a.Pto(/^[0-9A-Za-z-]+$/));var ea=class e extends a.Xsx("SemVer")({major:er,minor:er,patch:er,prerelease:a.O31(ei),build:a.O31(en)}){static FromString=a.QfV.pipe(a.GLL(e,k.K$({decode:e=>{let t=J(e);return t.ok?s.PyW(t.value):s.fJG(new M.h6(c.some(e),{message:`Invalid version string: "${t.input}" at position ${t.position}`}))},encode:e=>s.PyW(K(e))})));static ExactVersionString=a.QfV.pipe(a.z6Y(a.HNH(t=>e.isValid(t)?void 0:"Expected an exact SemVer 2.0.0 version string (ranges, partial versions, dist-tags and surrounding whitespace are not valid)")));static PinnableVersionString=a.QfV.pipe(a.z6Y(a.HNH(t=>e.isPinnable(t)?void 0:"Expected an exact SemVer version with no build metadata (ranges, partial versions, dist-tags and surrounding whitespace are not pinnable)")));static parseResult(t){let r=J(t);return r.ok?T.Py(e.make(r.value)):T.fJ(new et({input:r.input,position:r.position}))}static parse=s.fn("SemVer.parse")(t=>s.yUA(e.parseResult(t)));static isValid(t){return t===t.trim()&&T.oJ(e.parseResult(t))}static isPinnable(t){if(t!==t.trim())return!1;let r=e.parseResult(t);return T.oJ(r)&&0===r.success.build.length}static of(t,r,i,n=[],a=[]){return e.make({major:t,minor:r,patch:i,prerelease:n,build:a})}static Order=V.L8((e,t)=>e.compare(t));static OrderWithBuild=V.L8((e,t)=>{let r=e.compare(t);return 0!==r?r:((e,t)=>{let r=e.length>0,i=t.length>0;if(!r&&i)return -1;if(r&&!i)return 1;let n=Math.min(e.length,t.length);for(let r=0;r<n;r++){if(e[r]<t[r])return -1;if(e[r]>t[r])return 1}return e.length!==t.length?e.length<t.length?-1:1:0})(e.build,t.build)});static compare=W.XY(2,(e,t)=>e.compare(t));static gt=W.XY(2,(e,t)=>e.gt(t));static gte=W.XY(2,(e,t)=>e.gte(t));static lt=W.XY(2,(e,t)=>e.lt(t));static lte=W.XY(2,(e,t)=>e.lte(t));static equal=W.XY(2,(e,t)=>e.equal(t));static neq=W.XY(2,(e,t)=>e.neq(t));static truncate=W.XY(2,(t,r)=>"prerelease"===r?e.make({major:t.major,minor:t.minor,patch:t.patch,prerelease:[],build:[]}):e.make({major:t.major,minor:t.minor,patch:t.patch,prerelease:t.prerelease,build:[]}));static sort(t){return[...t].sort(e.Order)}static rsort(e){return[...e].sort((e,t)=>t.compare(e))}static max(e){let t;for(let r of e)(void 0===t||r.gt(t))&&(t=r);return void 0===t?c.none():c.some(t)}static min(e){let t;for(let r of e)(void 0===t||r.lt(t))&&(t=r);return void 0===t?c.none():c.some(t)}static groupBy(t,r){let i={};for(let n of e.sort(t)){let e;switch(r){case"major":e=`${n.major}`;break;case"minor":e=`${n.major}.${n.minor}`;break;case"patch":e=`${n.major}.${n.minor}.${n.patch}`}let t=i[e]??[];t.push(n),i[e]=t}return i}static latestByMajor(t){let r=new Map;for(let i of e.sort(t))r.set(i.major,i);return Array.from(r.values())}static latestByMinor(t){let r=new Map;for(let i of e.sort(t))r.set(`${i.major}.${i.minor}`,i);return Array.from(r.values())}compare(e){if(this.major!==e.major)return this.major>e.major?1:-1;if(this.minor!==e.minor)return this.minor>e.minor?1:-1;if(this.patch!==e.patch)return this.patch>e.patch?1:-1;let t=this.prerelease,r=e.prerelease;if(0===t.length&&0===r.length)return 0;if(0===t.length)return 1;if(0===r.length)return -1;let i=Math.min(t.length,r.length);for(let e=0;e<i;e++){let i=X(t[e],r[e]);if(0!==i)return i<0?-1:1}return t.length!==r.length?t.length>r.length?1:-1:0}gt(e){return 1===this.compare(e)}gte(e){return this.compare(e)>=0}lt(e){return -1===this.compare(e)}lte(e){return 0>=this.compare(e)}equal(e){return 0===this.compare(e)}neq(e){return 0!==this.compare(e)}get isPrerelease(){return this.prerelease.length>0}get isStable(){return 0===this.prerelease.length}get bump(){return new es(this)}[Z.HR](t){return t instanceof e&&this.major===t.major&&this.minor===t.minor&&this.patch===t.patch&&this.prerelease.length===t.prerelease.length&&this.prerelease.every((e,r)=>e===t.prerelease[r])}[ee.HR](){return ee.Yj(K({major:this.major,minor:this.minor,patch:this.patch,prerelease:this.prerelease,build:[]}))}toString(){return K(this)}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},es=class{v;constructor(e){this.v=e}major(){return ea.make({major:this.v.major+1,minor:0,patch:0,prerelease:[],build:[]})}minor(){return ea.make({major:this.v.major,minor:this.v.minor+1,patch:0,prerelease:[],build:[]})}patch(){return ea.make({major:this.v.major,minor:this.v.minor,patch:this.v.patch+1,prerelease:[],build:[]})}prerelease(e){let{major:t,minor:r,patch:i}=this.v,n=this.v.prerelease;if(0===n.length)return ea.make({major:t,minor:r,patch:i+1,prerelease:void 0!==e?[e,0]:[0],build:[]});if(void 0!==e&&("string"==typeof n[0]?n[0]:null)!==e)return ea.make({major:t,minor:r,patch:i,prerelease:[e,0],build:[]});let a=n[n.length-1];if("number"==typeof a){let e=[...n];return e[e.length-1]=a+1,ea.make({major:t,minor:r,patch:i,prerelease:e,build:[]})}return ea.make({major:t,minor:r,patch:i,prerelease:[...n,0],build:[]})}release(){return ea.make({major:this.v.major,minor:this.v.minor,patch:this.v.patch,prerelease:[],build:[]})}},eo=class extends a.X0d()("InvalidPackageManagerPinError",{input:a.QfV,reason:a.xCb(["format","name","version","integrity"])}){get message(){return"format"===this.reason?`Invalid package-manager pin "${this.input}": expected <name>@<version>[+<integrity>]`:"name"===this.reason?`Invalid package-manager pin "${this.input}": name must be one of npm, pnpm, yarn, bun`:"version"===this.reason?`Invalid package-manager pin "${this.input}": version must be an exact SemVer version (ranges, partial versions and dist-tags are not pinnable)`:`Invalid package-manager pin "${this.input}": integrity must be a corepack <algo>.<hex> hash`}};let el=a.xCb(["npm","pnpm","yarn","bun"]),ec=ea.pipe(a.z6Y(a.HNH(e=>0===e.build.length?void 0:"Expected a version without build metadata")));(class e extends a.Xsx("PackageManagerPin")({name:el,version:ec,integrity:a.Qrq(O)}){static FromString=a.QfV.pipe(a.GLL(a.hR_(e),k.K$({decode:t=>{let r=e.parseResult(t);return T.oJ(r)?s.PyW(r.success):s.fJG(new M.h6(c.some(t),{message:r.failure.message}))},encode:e=>s.PyW(e.toString())})));static parseResult(t){let r=t.indexOf("@");if(-1===r)return T.fJ(new eo({input:t,reason:"format"}));let i=t.slice(0,r);if("npm"!==i&&"pnpm"!==i&&"yarn"!==i&&"bun"!==i)return T.fJ(new eo({input:t,reason:"name"}));let n=t.slice(r+1),s=n.indexOf("+"),o=-1===s?n:n.slice(0,s),l=ea.parseResult(o);if(T.N6(l)||!ea.isPinnable(o))return T.fJ(new eo({input:t,reason:"version"}));if(-1===s)return T.Py(e.make({name:i,version:l.success}));let c=a.fqZ(O)(n.slice(s+1));return D.N6(c)?T.fJ(new eo({input:t,reason:"integrity"})):T.Py(e.make({name:i,version:l.success,integrity:c.value}))}static parse=s.fn("PackageManagerPin.parse")(t=>s.yUA(e.parseResult(t)));toString(){let e=`${this.name}@${this.version.toString()}`;return void 0===this.integrity?e:`${e}+${this.integrity}`}});var ed=class extends a.X0d()("PackageManagerInstallerError",{reason:a.xCb(["downloadFailed","extractFailed","integrityMismatch","integrityMissing","unsupportedPlatform","layoutUnexpected","cacheFailed"]),name:el,version:a.QfV,subject:a.Qrq(a.QfV),expected:a.Qrq(a.QfV),actual:a.Qrq(a.QfV),cause:a.Qrq(a.kld())}){get message(){let e=`${this.name}@${this.version}`;switch(this.reason){case"downloadFailed":return`Could not download ${e}${void 0===this.subject?"":` from ${this.subject}`}`;case"extractFailed":return`Could not extract ${e}${void 0===this.subject?"":` (${this.subject})`}`;case"integrityMismatch":return`Integrity mismatch for ${e}: expected ${this.expected}, got ${this.actual}`;case"integrityMissing":return`The pin for ${e} carries no integrity hash and requireIntegrity is set`;case"unsupportedPlatform":return`No ${e} build is published for ${this.subject}`;case"layoutUnexpected":return`The ${e} artifact does not have the expected layout${void 0===this.subject?"":`: ${this.subject}`}`;default:return`Could not cache ${e} into the tool cache${void 0===this.subject?"":`: ${this.subject}`}`}}},em=class extends a.Xsx("AmbientPackageManager")({source:a.TcI("ambient"),name:el,version:a.QfV,bins:a.mSG(a.QfV,a.QfV)}){},eu=class extends a.Xsx("CachedPackageManager")({source:a.TcI("tool-cache"),name:el,version:a.QfV,directory:a.QfV,binDir:a.QfV,bins:a.mSG(a.QfV,a.QfV)}){};a.gPz([em,eu]);let ep=".bin",eh=e=>`#!/bin/sh +exec node "${e}" "$@" +`,eg=e=>`@echo off\r +node "${e}" %*\r +`,ef=e=>"x64"===e.toLowerCase()?"x64":"arm64"===e.toLowerCase()?"arm64":e,ey=s.JkU(function*(){let e=yield*n.gd,t=yield*o.Q2,r=yield*l.wA,i=yield*g.CV,a=yield*x,m=yield*s.TjK(e.getOptional("RUNNER_OS"),e=>c.getOrElse(e,()=>"")),u=yield*s.TjK(e.getOptional("RUNNER_ARCH"),e=>c.match(e,{onNone:()=>process.arch,onSome:ef})),p="windows"===m.toLowerCase(),h=p?"bun.exe":"bun",y=e=>p?`${e}.cmd`:e,A=p?eg:eh,b=yield*s.TjK(e.getOptional("RUNNER_TOOL_CACHE"),e=>c.getOrElse(e,()=>r.join("/tmp","runner-tool-cache"))),C=e=>t=>new ed({name:e.name,version:e.version.toString(),...t}),S=e=>t=>C(e)({reason:t.reason,...void 0===t.subject?{}:{subject:t.subject},cause:t}),I=(e,r)=>s.JkU(function*(){if(void 0===e.integrity)return void(yield*s.FFw(`The pin ${e.toString()} carries no integrity hash; the downloaded artifact was not verified.`));let i=e.integrity.indexOf("."),n=e.integrity.slice(0,i),a=e.integrity.slice(i+1),o=yield*s.DYE(()=>{let i=(0,N.createHash)(n);return t.stream(r).pipe(d.o1d(e=>s.OH5(()=>{i.update(e)})),s.TjK(()=>i.digest("hex")),s.xm_(t=>C(e)({reason:"integrityMismatch",subject:r,cause:t})))});if(o!==a)return yield*s.fJG(C(e)({reason:"integrityMismatch",subject:r,expected:e.integrity,actual:`${n}.${o}`}))}),w=s.TjK(s.Ket(i.string(f.L8("npm",["--version"]))),e=>"Success"===e._tag?c.some(e.success.trim()):c.none()),E=(e,r,i)=>s.JkU(function*(){let n=yield*s.Ket(t.stat(r));if("Success"!==n._tag||"File"!==n.success.type)return yield*s.fJG(C(e)({reason:"layoutUnexpected",subject:i}))}),v=(e,i)=>s.JkU(function*(){let n=r.join(i,"package.json"),a=yield*t.readFileString(n).pipe(s.xm_(t=>C(e)({reason:"layoutUnexpected",subject:"no package.json",cause:t}))),o=yield*s.SvU({try:()=>JSON.parse(a),catch:t=>C(e)({reason:"layoutUnexpected",subject:"unparseable package.json",cause:t})}),l=c.getOrUndefined(((e,t)=>{if("string"==typeof e)return c.some({[t]:e.replace(/^\.\//,"")});if("object"!=typeof e||null===e)return c.none();let r={};for(let[t,i]of Object.entries(e)){if("string"!=typeof i)return c.none();r[t]=i.replace(/^\.\//,"")}return 0===Object.keys(r).length?c.none():c.some(r)})(o.bin,e.name));if(void 0===l)return yield*s.fJG(C(e)({reason:"layoutUnexpected",subject:"package.json names no bin"}));for(let[t,n]of Object.entries(l)){let a=r.join(i,n),o=r.relative(i,a);if(".."===o||o.startsWith(`..${r.sep}`)||r.isAbsolute(o))return yield*s.fJG(C(e)({reason:"layoutUnexpected",subject:`bin ${t} (${n}) escapes the package directory`}));yield*E(e,a,`bin ${t} (${n}) is missing`)}return l}),B=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,i])=>[e,r.join(t,i)])),P=(e,i,n,a,o)=>s.JkU(function*(){let l=r.join(i,ep),c=t=>r=>C(e)({reason:"cacheFailed",subject:t,cause:r});for(let[e,i]of(yield*t.makeDirectory(l,{recursive:!0}).pipe(s.xm_(c(l))),Object.entries(a))){let a=r.join(l,y(e));if(o.skipExisting){let e=yield*s.Ket(t.stat(a));if("Success"===e._tag&&"File"===e.success.type)continue}yield*t.writeFileString(a,A(r.join(n,i))).pipe(s.xm_(c(a))),p||(yield*t.chmod(a,493).pipe(s.xm_(c(a))))}});return{install:s.fn("PackageManagerInstaller.install")(function*(e,i){let n,o=e.version.toString();if(yield*s.ww9({name:e.name,version:o}),i?.requireIntegrity===!0&&void 0===e.integrity)return yield*s.fJG(C(e)({reason:"integrityMissing"}));let l=yield*a.find(e.name,o);if(c.isSome(l)){let t;return yield*(t=l.value,s.JkU(function*(){if("bun"===e.name){let i=r.join(t,h);return yield*E(e,i,`cached bun binary (${h}) is missing`),eu.make({name:e.name,version:e.version.toString(),directory:t,binDir:t,bins:{bun:i}})}let i=yield*v(e,t);return yield*P(e,t,t,i,{skipExisting:!0}),eu.make({name:e.name,version:e.version.toString(),directory:t,binDir:r.join(t,ep),bins:B(i,t)})}))}if("npm"===e.name&&i?.allowAmbient!==!1){let t=yield*w;if(c.isSome(t)&&t.value===o)return em.make({name:e.name,version:o,bins:{npm:"npm",npx:"npx"}})}if("bun"===e.name)return yield*s.JkU(function*(){let i,n,o=e.version.toString(),l=c.getOrUndefined((i="linux"===m.toLowerCase()?"linux":"macos"===m.toLowerCase()?"darwin":"windows"===m.toLowerCase()?"windows":void 0,n="x64"===u?"x64":"arm64"===u?"aarch64":void 0,void 0===i||void 0===n?c.none():c.some(`bun-${i}-${n}`)));if(void 0===l)return yield*s.fJG(C(e)({reason:"unsupportedPlatform",subject:`${m||"unknown"}/${u}`}));let d=`https://github.com/oven-sh/bun/releases/download/bun-v${o}/${l}.zip`,g=yield*a.download(d).pipe(s.xm_(S(e)));yield*I(e,g);let f=yield*a.extractZip(g).pipe(s.xm_(S(e))),y=r.join(f,l,h);yield*E(e,y,`${l}/${h} is missing from the zip`),p||(yield*t.chmod(y,493).pipe(s.xm_(t=>C(e)({reason:"cacheFailed",subject:y,cause:t}))));let A=yield*a.cacheFile(y,h,e.name,o).pipe(s.xm_(S(e)));return eu.make({name:e.name,version:o,directory:A,binDir:A,bins:{bun:r.join(A,h)}})});let d=(i?.registry??"https://registry.npmjs.org").replace(/\/+$/,"");return yield*(n=e.name,s.JkU(function*(){let i,o=e.version.toString(),l=(i=e.version.major,"yarn"===n&&i>=2?`${d}/@yarnpkg/cli-dist/-/cli-dist-${o}.tgz`:`${d}/${n}/-/${n}-${o}.tgz`),c=yield*a.download(l).pipe(s.xm_(S(e))),m="yarn"===n&&e.version.major>=2;m||(yield*I(e,c));let u=yield*a.extractTar(c).pipe(s.xm_(S(e))),p=r.join(u,"package"),h=yield*s.Ket(t.stat(p));if("Success"!==h._tag||"Directory"!==h.success.type)return yield*s.fJG(C(e)({reason:"layoutUnexpected",subject:"tarball has no package/ root"}));let g=yield*v(e,p);if(m){let t=r.join(p,"bin/yarn.js");yield*E(e,t,"bin/yarn.js is missing from the cli-dist tarball"),yield*I(e,t)}let f=x.cachePath({root:b,tool:n,version:o,arch:process.arch});yield*P(e,p,f,g,{skipExisting:!1});let y=yield*a.cacheDir(p,n,o).pipe(s.xm_(S(e)));return y!==f?yield*s.fJG(C(e)({reason:"cacheFailed",subject:`cache destination diverged: shims name ${f}, entry landed at ${y}`})):eu.make({name:n,version:o,directory:y,binDir:r.join(y,ep),bins:B(g,y)})}))})}});var eA=class e extends u.kl()("@effected/github-actions/PackageManagerInstaller"){static layer=p.QZ(this,ey);static makeTest=(e={})=>({install:()=>s.OH5(()=>(e=>{throw Error(`PackageManagerInstaller.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)})("install")),...e});static layerTest=(t={})=>p.Py(e,e.makeTest(t))};p.Um(i.l.layer,eA.layer).pipe(p.S5(x.layer));let eb=i.l.layer},6850(e,t,r){r.a(e,async function(e,i){try{var n=r(9581),a=r(7411),s=r(5227),o=r(457),l=r(702),c=r(6437),d=r(1885),m=r(6291),u=r(8072);let e=e=>l.JkU(function*(){if((0,m.Dn)(e))return void(yield*l.fH4("Cache was an exact hit — skipping save"));if(0===e.paths.length)return void(yield*l.fH4("No cache paths — skipping save"));let t=yield*n.l;yield*l.fH4(`Saving cache: key=${e.primaryKey}, paths (${e.paths.length})`),yield*t.save(e.paths,e.primaryKey).pipe(l.Mim(()=>l.fH4(`Cache saved: ${e.primaryKey}`)),l.MfU(t=>l.FFw(new u.x({reason:"save",message:`Failed to save cache with key ${e.primaryKey} (${t.reason}): ${t.message}`,cause:t}).message)))}),p=(t=a.EN.reap)=>l.JkU(function*(){let r=yield*s.q;yield*l.MDB("Running post-action script");let i=yield*r.getOptional(m.LU.turboServer,m.JU).pipe(l.MfU(e=>l.FFw(`Turbo cache server state could not be read (${e.reason}); nothing to reap`).pipe(l.as(c.none()))));yield*c.match(i,{onNone:()=>l.MDB("No embedded turbo cache server was started; nothing to reap"),onSome:e=>l.JkU(function*(){yield*l.MDB(`Stopping turbo cache server pid=${e.pid} (log: ${e.logFile})`);let r=yield*t(e.pid);yield*l.MDB(r?`Turbo cache server pid=${e.pid} signalled`:`Turbo cache server pid=${e.pid} had already exited`)}).pipe(l.MfU(t=>l.FFw(`Turbo cache server teardown failed for pid ${e.pid}: ${t instanceof Error?t.message:String(t)}`)),l.Fig(t=>l.FFw(`Turbo cache server teardown failed for pid ${e.pid}: ${t instanceof Error?t.message:String(t)}`)))});let n=yield*r.getOptional(m.LU.cache,m.iF);yield*c.match(n,{onNone:()=>l.MDB("No dependency cache state was saved by main; nothing to save"),onSome:e})}).pipe(l.MfU(e=>l.FFw(`Post-action warning: ${e instanceof Error?e.message:String(e)}`)),l.Fig(e=>l.FFw(`Post-action warning: ${e instanceof Error?e.message:String(e)}`))),h=p();process.env.GITHUB_ACTIONS&&await o.rc.run(h,{layer:d.$}),r.d(t,{$7:()=>d.$},{bE:h,hA:p}),i()}catch(e){i(e)}},1)},6291(e,t,r){var i=r(7411),n=r(7464),a=r(6437);class s extends n.Xsx("CacheState")({paths:n.O31(n.QfV),primaryKey:n.QfV,restoredKey:n.eQ3(n.QfV),lockfiles:n.O31(n.QfV)}){}class o extends n.Xsx("TurboServerState")({pid:i.xv,port:n.wNn,backend:n.xCb(["github","s3"]),logFile:n.QfV}){}r.d(t,{JU:()=>o,iF:()=>s},{Dn:e=>a.isSome(e.restoredKey)&&e.restoredKey.value===e.primaryKey,LU:{cache:"silk-runtime-cache",turboServer:"silk-runtime-turbo-server"}})},8072(e,t,r){r.d(t,{x:()=>n}),r(8161);var i=r(1160);r(6291),r(7598),r(6760);class n extends i.rN("CacheError"){}},2613(e){e.exports=t("assert")},4434(e){e.exports=t("events")},8611(e){e.exports=t("http")},5692(e){e.exports=t("https")},9278(e){e.exports=t("net")},1421(e){e.exports=t("node:child_process")},7598(e){e.exports=t("node:crypto")},3024(e){e.exports=t("node:fs")},8161(e){e.exports=t("node:os")},6760(e){e.exports=t("node:path")},7075(e){e.exports=t("node:stream")},3136(e){e.exports=t("node:url")},857(e){e.exports=t("os")},4756(e){e.exports=t("tls")},2018(e){e.exports=t("tty")},7016(e){e.exports=t("url")},9023(e){e.exports=t("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}},457(e,r,i){let n,a,s,o,l,c,d,m,u,p,h,g,f,y,A,b,x,N,C,S,I,w,E,v;i.d(r,{rc:()=>rS});var B,P,R=i(7139),O=i(9605),k=i(702),T=i(9920),M=i(8579),D=i(8275);function z(e){return{_tag:"Value",value:e}}let Q=O.Or("effect/ConfigProvider",{defaultValue:()=>j()}),_={...M.fU,toJSON:()=>({_id:"ConfigProvider"})},U=e=>e;function H(e,t){let r=Object.create(_);return r.state=e,r.load=t,r}function L(e){let t;return H(t={_tag:"Source",get:e,transform:U},e=>t.get(t.transform(e)))}let F=(0,T.XY)(2,(e,t)=>{let r;return H(r={_tag:"OrElse",first:e,second:t},e=>k.qIB(r.first.load(e),t=>t?k.PyW(t):r.second.load(e)))}),q=e=>k.yw5(e)?D.QZ(Q)(e):D.Py(Q)(e);function j(e){let t=e?.env??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},r=e?.preserveEmptyStrings===!0,i=function(e){let t={};for(let[r,i]of Object.entries(e)){if(void 0===i)continue;let e=r.split("_"),n=t;for(let t of e)n.children??={},n=n.children[t]??={}}return t}(t);return L(e=>k.PyW(function(e,t,r,i){var n;let a=(n=t[r.map(String).join("_")],""!==n||i?n:void 0),s=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),o=s?.children?Object.keys(s.children):[];return 0===o.length?void 0===a?void 0:z(a):o.every(e=>G.test(e))?{_tag:"Array",length:Math.max(...o.map(e=>parseInt(e,10)))+1,value:a}:{_tag:"Record",keys:new Set(o),value:a}}(i,t,e,r)))}let G=/^(0|[1-9][0-9]*)$/;var Y=i(6621),$=i(8826),J=i(606);let K=$.LkF;$.OPA;let X=J.OW(K),V=J.bi(K);var W=i(7464),Z=i(2933),ee=i(7439),et=i(2340),er=i(8376);i(5030);let ei="~effect/Config";class en{_tag="ConfigError";name="ConfigError";cause;constructor(e){this.cause=e}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}let ea={...Y.b({label:"Config",evaluate(e){return this.parse(e.getRef(Q))}}),[ei]:ei,toJSON:()=>({_id:"Config"})};function es(e){let t=Object.create(ea);return t.parse=(t,r=[])=>e(t,r),t}let eo=(0,T.XY)(2,(e,t)=>es((r,i)=>k.TjK(e.parse(r,i),t))),el=(0,T.XY)(2,(e,t)=>es((r,i)=>k.qIB(e.parse(r,i),t))),ec=k.D9k(function*(e,t){let r=yield*e.load(t);if(void 0!==r)switch(r._tag){case"Value":return r.value;case"Record":{if(void 0!==r.value)return r.value;let i={};for(let n of r.keys){let r=yield*ec(e,[...t,n]);void 0!==r&&(i[n]=r)}return i}case"Array":{if(void 0!==r.value)return r.value;let i=[];for(let n=0;n<r.length;n++)i.push((yield*ec(e,[...t,n])));return i}}}),ed=k.D9k(function*(e,t,r){switch(e._tag){case"Objects":{let i=yield*t.load(r);if(void 0===i&&r.length>0)return;let n={};for(let i of e.propertySignatures){let e=i.name;if("string"==typeof e){let a=yield*ed(i.type,t,[...r,e]);void 0!==a&&(n[e]=a)}}if(e.indexSignatures.length>0&&i&&"Record"===i._tag)for(let a of e.indexSignatures){let e=er.GX(a.parameter);for(let s of i.keys)if(!Object.hasOwn(n,s)&&e(s)){let e=yield*ed(a.type,t,[...r,s]);void 0!==e&&(n[s]=e)}}return n}case"Arrays":{let i=yield*t.load(r);if(void 0===i)return;if(i&&"Value"===i._tag||i&&"Array"===i._tag&&void 0!==i.value)return""===i.value?[]:i.value.split(",");let n=[],a=i&&"Array"===i._tag?i.length:e.elements.length;for(let i=0;i<a;i++){let a=e.elements[i]??e.rest[0];void 0!==a&&n.push((yield*ed(a,t,[...r,i])))}return n}case"Union":return yield*ec(t,r);case"Suspend":return yield*ed(e.thunk(),t,r);default:{let e=yield*t.load(r);if(void 0===e)return;if("Value"===e._tag||"Record"===e._tag&&void 0!==e.value||"Array"===e._tag&&void 0!==e.value)return e.value;return}}});function em(e,t){let r=W.lHk(e),i=er._R(r),n=ee.O3(r.ast),a="string"==typeof t?[t]:t??[];return es((e,t)=>{let r=[...t,...a];return ed(n,e,r).pipe(k.Ab9(e=>i(e).pipe(k.Z9x(e=>new Z.A(r.length>0?new et.gm(r,e):e)))),k.Z9x(e=>new en(e)))})}function eu(e){return em(W.QfV,e)}W.v8c;var ep=i(6437);let eh=e=>`INPUT_${e.replaceAll(" ","_").toUpperCase()}`,eg=(e,t)=>new en(new Z.A(new et.h6(ep.some(t),{message:e}))),ef=new Set(["true","True","TRUE"]),ey=new Set(["false","False","FALSE"]),eA=e=>{let t=e.indexOf("#");return(-1===t?e:e.slice(0,t)).trim()};var eb=class e{static variable=e=>eh(e);static string(e){return eu(eh(e))}static boolean(e){return eu(eh(e)).pipe(el(t=>{let r=t.trim();return ef.has(r)?k.PyW(!0):ey.has(r)?k.PyW(!1):k.fJG(eg(`Input "${e}" does not meet the YAML 1.2 core schema for booleans. Supported: true | True | TRUE | false | False | FALSE`,t))}))}static integer(e){var t;return t=eh(e),em(W.Aiz,t)}static redacted(e){var t;return t=eh(e),em(W.tmY(W.QfV),t)}static lines(e){return eu(eh(e)).pipe(eo(e=>e.split("\n").map(e=>e.trim()).filter(e=>""!==e)))}static list(e){return eu(eh(e)).pipe(el(t=>{let r=t.trim();if(""===r)return k.PyW([]);if(r.startsWith("["))try{let i=JSON.parse(r);if(Array.isArray(i)&&i.every(e=>"string"==typeof e))return k.PyW(i);return k.fJG(eg(`Input "${e}" is a JSON array but not an array of strings`,t))}catch{return k.fJG(eg(`Input "${e}" looks like JSON but could not be parsed`,t))}let i=r.split(/[\n,]/).map(e=>e.trim()).filter(e=>!e.startsWith("#")).map(e=>e.startsWith("- ")||e.startsWith("* ")?e.slice(2).trim():e).filter(e=>""!==e);return k.PyW(i)}))}static pairs(e){return eu(eh(e)).pipe(el(t=>{let r={};for(let i of t.split("\n")){let n=eA(i);if(""===n)continue;let a=n.indexOf("=");if(-1===a)return k.fJG(eg(`Input "${e}" has a line that is not \`key=value\`: "${n}"`,t));r[n.slice(0,a).trim()]=n.slice(a+1).trim()}return k.PyW(r)}))}static schema(e,t){return eu(eh(e)).pipe(el(r=>{let i;try{i=JSON.parse(r)}catch{return k.fJG(eg(`Input "${e}" is not valid JSON`,r))}return W._Re(t)(i).pipe(k.xm_(()=>eg(`Input "${e}" did not satisfy its schema`,i)))}))}static provider(e=process.env){let t=e=>void 0!==e&&""!==e,r=r=>{let i=e[r];if(t(i))return i;if(r.startsWith("INPUT_")){for(let[i,n]of Object.entries(e))if(!i.startsWith("INPUT_")&&eh(i)===r&&t(n))return n}};return L(e=>{let t=1===e.length&&"string"==typeof e[0]?e[0]:void 0,i=(void 0===t?void 0:r(eh(t)))??r(e.join("_").replaceAll(" ","_").toUpperCase());return k.PyW(void 0===i?void 0:z(i))})}static layer(t){return q(e.provider(t))}static providerOver(e){return F(L(t=>{let r=1===t.length?t[0]:void 0;return"string"==typeof r?e.load([eh(r)]):k.PyW(void 0)}),e)}static layerDefault=q(k.TjK(k._OA(),t=>e.providerOver(O.Y6(t,Q)??j())))},ex=i(4742),eN=i(8294),eC=i(3407),eS=i(8210),eI=i(3207),ew=i(7292);let eE=$.d$_;$.olX;let ev=$.RBg;$.Umn,ew.IB,$.qho,$.ekV;let eB=(e,t)=>D.QZ(eE,(0,M.R6)($.D9k(function*(r){let i=new Set(t?.mergeWithExisting===!0?r.getRef($.d$_):[]);for(let t of e)i.add((0,M.yw)(t)?yield*t:t);return i})));var eP=i(5536);let eR=e=>(Array.isArray(e)?e:[e]).map(e=>eN.ZK(e,0)).join(" "),eO=(e,t)=>{let r=e[t];return"string"==typeof r?r:void 0},ek=(e,t)=>{let r=e[t];if("number"==typeof r)return Number.isFinite(r)?r:void 0;if("string"==typeof r&&""!==r){let e=Number(r);return Number.isFinite(e)?e:void 0}},eT=(e,t,r)=>{let i=eR(t);if(X(e,"Warn")){let t,n,a,s,o,l,c=(t=eO(r,"title"),n=eO(r,"file"),a=ek(r,"startLine"),s=ek(r,"endLine"),o=ek(r,"startColumn"),l=ek(r,"endColumn"),{...void 0===t?{}:{title:t},...void 0===n?{}:{file:n},...void 0===a?{}:{startLine:a},...void 0===s?{}:{endLine:s},...void 0===o?{}:{startColumn:o},...void 0===l?{}:{endColumn:l}});return X(e,"Error")?ex.T.error(i,c):ex.T.warning(i,c)}return X(e,"Info")?i:ex.T.debug(i)},eM=O.Or("@effected/github-actions/ActiveBuffer",{defaultValue:()=>null}),eD=e=>k.DYE(()=>{if(0===e.entries.length)return k.rIH;let t=[`--- Buffered output for "${e.label}" ---`,...e.entries,`--- End buffered output for "${e.label}" ---`];return e.entries.length=0,k.jJl(t,e=>eC.Rm(e),{discard:!0})}),ez=k.JkU(function*(){let e=yield*R.gd,t=k.qIB(eM,e=>null===e?k.rIH:eD(e));return{group:(e,r)=>k.jGc(eC.Rm(ex.T.group(e)),()=>k.dGm(r,()=>t),()=>eC.Rm(ex.T.endGroup())),withBuffer:(t,r,i)=>k.JkU(function*(){let n=yield*eS.zQ;if((yield*e.isDebug)||V(n,"Debug"))return yield*r;let a={label:t,entries:[]},s=ev(e=>{if(X(e.logLevel,"Warn")){let t=e.fiber.getRef(eS.iL);e.fiber.getRef(eC.C7).log(eT(e.logLevel,e.message,t));return}a.entries.push(eR(e.message))});return yield*r.pipe(k.PfK(eS.zQ,"All"),k.PfK(eE,new Set([s])),k.PfK(eM,a),k.cfM(e=>eP.oJ(e)&&i?.onSuccess==="discard"?k.OH5(()=>{a.entries.length=0}):eD(a)))}),notice:(e,t={})=>eC.Rm(ex.T.notice(e,t)),annotated:(e,t)=>k.swY(t,{...void 0===e.title?{}:{title:e.title},...void 0===e.file?{}:{file:e.file},...void 0===e.startLine?{}:{startLine:e.startLine},...void 0===e.endLine?{}:{endLine:e.endLine},...void 0===e.startColumn?{}:{startColumn:e.startColumn},...void 0===e.endColumn?{}:{endColumn:e.endColumn}})}});var eQ=class e extends O.kl()("@effected/github-actions/ActionLogger"){static layer=D.QZ(this,ez);static logger=ev(e=>{let t=e.fiber.getRef(eS.iL);e.fiber.getRef(eC.C7).log(eT(e.logLevel,e.message,t))});static layerLogger=eB([e.logger]);static makeTest=(e={})=>({group:(e,t)=>t,withBuffer:(e,t)=>t,notice:()=>k.rIH,annotated:(e,t)=>t,...e});static layerTest=(t={})=>D.Py(e,e.makeTest(t));static layerSilent=D.Um(e.layerTest(),eB([]))},e_=i(7476),eU=i(5227),eH=i(1499),eL=i(9427),eF=i(1211),eq=i(8527),ej=i(1091),eG=i(1260),eY=i(1306),e$=i(9616),eJ=i(1421),eK=i(7075),eX=i(9077);let eV=(e,t)=>(r,[i])=>{let n="Unknown";switch(r.code){case"ENOENT":n="NotFound";break;case"EACCES":n="PermissionDenied";break;case"EEXIST":n="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":n="BadResource";break;case"EBUSY":n="Busy"}return eX.Oj({_tag:n,module:e,method:t,pathOrDescriptor:i,syscall:r.syscall,cause:r})};var eW=i(8149),eZ=i(893),e0=i(6627);let e1=e=>ej.Ef(eZ.Hb(e2(e),e=>[e])),e2=e=>eZ.Z1(t=>{let r=e.evaluate();return k.PyW(e3({...e,writable:r,pull:t}))}),e3=e=>e.pull.pipe(k.qIB(t=>{let r=0;return k.E2r(function i(n){for(;r<t.length;)if(!e.writable.write(t[r++],e.encoding))return void e.writable.once("drain",()=>i(n));n(k.rIH)})}),k.i4r({disableYield:!0}),k.KT6(k.E2r(t=>{let r=r=>t(k.fJG(e.onError(r)));return e.writable.once("error",r),k.OH5(()=>{e.writable.off("error",r)})})),!1!==e.endOnDone?e0.m8(t=>"closed"in e.writable&&e.writable.closed?eW.Vw(t):k.E2r(r=>{e.writable.once("finish",()=>r(eW.Vw(t))),e.writable.end()})):T.D_);var e6=i(8516),e5=i(7512);let e4="~effect/MutableRef",e8={[e4]:e4,...M.fU,toJSON(){return{_id:"MutableRef",current:(0,eN.aB)(this.current)}}};var e9=i(1746);let e7=e=>eG.EfB(te(e)),te=e=>eZ.Z1((t,r)=>tt({scope:r,readable:e.evaluate(),onError:e.onError??tr,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),tt=e=>{var t;let r,i=e.readable,n=e.closeOnDone??!0,a=e.exit??(t=void 0,(r=Object.create(e8)).current=t,r),s=e5.LZ(!1);function o(){s.openUnsafe()}function l(t){a.current=eP.fJ(e.onError(t)),s.openUnsafe()}function c(){a.current=eP.fJ(eW.RS()),s.openUnsafe()}i.on("readable",o),i.once("error",l),i.once("end",c);let d=k.DYE(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return a.current?a.current:i.readableEnded?k.fJG(eW.RS()):(s.closeUnsafe(),k.qIB(s.await,t));let n=eI.of(r);for(;null!==(r=e.readable.read(e.chunkSize));)n.push(r);return k.PyW(n)});return k.as(e9.U9(e.scope,k.OH5(()=>{i.off("readable",o),i.off("error",l),i.off("end",c),n&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()})),d)};eK.Readable;let tr=e=>new eW.Bk(e),ti=e=>e instanceof globalThis.Error?e:new globalThis.Error(String(e)),tn=(e,t,r)=>{let{commands:i}=to(r),n=i.reduce((e,t)=>{let r=`${t.command} ${t.args.join(" ")}`;return 0===e.length?r:`${e} | ${r}`},"");return eV("ChildProcess",e)(t,[n])},ta=k.JkU(function*(){let e=yield*eL.Q2,t=yield*eF.wA,r=k.D9k(function*(r){if(!eq.b0(r.cwd))return yield*e.access(r.cwd),t.resolve(r.cwd)}),i=e=>ej.qz(e)?"pipe":e,n=e=>{let t={stream:"pipe",encoding:"utf-8",endOnDone:!0};return eq.b0(e.stdin)?t:"string"==typeof e.stdin||eG.rLs(e.stdin)?{...t,stream:e.stdin}:{stream:e.stdin.stream,encoding:e.stdin.encoding??t.encoding,endOnDone:e.stdin.endOnDone??t.endOnDone}},a=(e,t)=>{let r=e[t];return eq.b0(r)?{stream:"pipe"}:"string"==typeof r||ej.qz(r)?{stream:r}:{stream:r.stream}},s=k.D9k(function*(e,t,r){if(0===r.length)return{getInputFd:()=>ej.Ze,getOutputFd:()=>eG.Iex};let i=new Map,n=new Map;for(let{config:a,fd:s}of r){let r=t.stdio[s];switch(a.type){case"input":{let t=ej.Ze;r&&"write"in r&&(t=e1({evaluate:()=>r,onError:t=>tn(`fromWritable(fd${s})`,ti(t),e)})),a.stream&&(yield*k.x6Z(eG.eFU(a.stream,t))),i.set(s,t);break}case"output":{let t=eG.Iex;if(r&&"read"in r){let i=new eK.PassThrough;r.on("error",e=>i.destroy(e)),r.pipe(i),t=e7({evaluate:()=>i,onError:t=>tn(`fromReadable(fd${s})`,ti(t),e)})}a.sink&&(t=eG.QCN(t,a.sink)),n.set(s,t)}}}return{getInputFd:e=>i.get(e)??ej.Ze,getOutputFd:e=>n.get(e)??eG.Iex}}),o=(e,t,r)=>"win32"===globalThis.process.platform?k.E2r(r=>{eJ.exec(`taskkill /pid ${t.pid} /T /F`,t=>{t?r(k.fJG(tn("kill",ti(t),e))):r(k.rIH)})}):k.SvU({try:()=>{globalThis.process.kill(-t.pid,r)},catch:t=>tn("kill",ti(t),e)}),l=(e,t,r)=>k.DYE(()=>{if(!t.kill(r)){let t=new globalThis.Error("Failed to kill child process");return k.fJG(tn("kill",t,e))}return k.rIH}),c=(e,t,r)=>i=>{let n=r?.killSignal??"SIGTERM";return eq.b0(r?.forceKillAfter)?i(t,e,n):k.mgX(i(t,e,n),{duration:r.forceKillAfter,orElse:()=>i(t,e,"SIGKILL")})},d=(e,t)=>{let r=t??"stdout";switch(r){case"stdout":return e.stdout;case"stderr":return e.stderr;case"all":return e.all;default:{let t=eY.FC(r);if(eq.EA(t))return e.getOutputFd(t);return e.stdout}}},m=k.D9k(function*(e){switch(e._tag){case"StandardCommand":{let t,d,m,u,p,h,g,f=n(e.options),y=a(e.options,"stdout"),A=a(e.options,"stderr"),b=(e=>{if(eq.b0(e.additionalFds))return[];let t=[];for(let[r,i]of Object.entries(e.additionalFds)){let e=eY.FC(r);eq.EA(e)&&t.push({fd:e,config:i})}return t.sort((e,t)=>e.fd-t.fd)})(e.options),x=!0,N=yield*r(e.options),C=(t=e.options).extendEnv?{...globalThis.process.env,...t.env}:t.env,S=((e,t,r,n)=>{let a,s=[(a=e.stream,eG.rLs(a)?"pipe":a),i(t.stream),i(r.stream)];if(0===n.length)return s;let o=n.reduce((e,{fd:t})=>Math.max(e,t),2);for(let e=3;e<=o;e++)s[e]="ignore";for(let{fd:e}of n)s[e]="pipe";return s})(f,y,A,b),[I,w]=yield*k.Q56((d={cwd:N,env:C,stdio:S,detached:e.options.detached??"win32"!==process.platform,shell:e.options.shell},k.E2r(t=>{let r=eH.LZ(),i=eJ.spawn(e.command,e.args,d);return i.on("error",r=>{t(k.fJG(tn("spawn",r,e)))}),i.on("exit",(...e)=>{eH.$w(r,eP.Py(e))}),i.on("spawn",()=>{t(k.PyW([i,r]))}),k.OH5(()=>{i.kill("SIGTERM")})})),k.D9k(function*([t,r]){let i=yield*eH.$L(r),n=c(t,e,e.options);if(i){let[e]=yield*eH.Tx(r);return 0!==e&&eq.Pe(e)?yield*k.XeO(n(o)):yield*k.rIH}return x?yield*n((e,t,i)=>o(e,t,i).pipe(k.MfU(()=>l(e,t,i)),k.hgn(eH.Tx(r)))).pipe(k.XeO):yield*k.rIH})),E=(0,e$.xv)(I.pid);I.on("exit",t=>{0!==t&&eq.Pe(t)&&((e,t)=>{if("win32"===globalThis.process.platform)return eJ.exec(`taskkill /pid ${e.pid} /T /F`,()=>{});try{globalThis.process.kill(-e.pid,t)}catch{}})(I,e.options.killSignal??"SIGTERM")});let v=k.OH5(()=>{x||(I.ref(),x=!0)}),B=k.OH5(()=>(x&&(I.unref(),x=!1),v)),P=yield*k.DYE(()=>{let t=ej.Ze;return(eq.Pe(I.stdin)&&(t=e1({evaluate:()=>I.stdin,onError:t=>tn("fromWritable(stdin)",ti(t),e),endOnDone:f.endOnDone,encoding:f.encoding})),eG.rLs(f.stream))?k.as(k.x6Z(eG.eFU(f.stream,t)),t):k.PyW(t)}),{all:R,stderr:O,stdout:T}=(u=I.stdout?(m=new eK.PassThrough,I.stdout.on("error",e=>m.destroy(e)),I.stdout.pipe(m),e7({evaluate:()=>m,onError:t=>tn("fromReadable(stdout)",ti(t),e)})):eG.Iex,h=I.stderr?(p=new eK.PassThrough,I.stderr.on("error",e=>p.destroy(e)),I.stderr.pipe(p),e7({evaluate:()=>p,onError:t=>tn("fromReadable(stderr)",ti(t),e)})):eG.Iex,ej.qz(y.stream)&&(u=eG.QCN(u,y.stream)),ej.qz(A.stream)&&(h=eG.QCN(h,A.stream)),g=eG.h1I(u,h),{stdout:u,stderr:h,all:g}),{getInputFd:M,getOutputFd:D}=yield*s(e,I,b),z=k.TjK(eH.$L(w),e=>!e),Q=k.qIB(eH.Tx(w),([t,r])=>{if(eq.Pe(t))return k.PyW((0,e$.yU)(t));let i=new globalThis.Error(`Process interrupted due to receipt of signal: '${r}'`);return k.fJG(tn("exitCode",i,e))});return(0,e$.hA)({pid:E,exitCode:Q,isRunning:z,kill:t=>c(I,e,t)((e,t,r)=>o(e,t,r).pipe(k.MfU(()=>l(e,t,r)),k.hgn(eH.Tx(w)))).pipe(k.NLW),stdin:P,stdout:T,stderr:O,all:R,getInputFd:M,getOutputFd:D,unref:B})}case"PipedCommand":{let{commands:t,pipeOptions:r}=to(e),[i,...a]=t,s=[(yield*m(i))];for(let e=0;e<a.length;e++){let t=a[e],i=r[e]??{},o=n(t.options),l=eG.oAg(k.PyW(d(s[s.length-1],i.from))),c=i.to??"stdin";if("stdin"===c)s.push((yield*m(eY.L8(t.command,t.args,{...t.options,stdin:{...o,stream:l}}))));else{let e=eY.FC(c);if(eq.EA(e)){let r=eY.YF(e),i=t.options.additionalFds??{};s.push((yield*m(eY.L8(t.command,t.args,{...t.options,additionalFds:{...i,[r]:{type:"input",stream:l}}}))))}else s.push((yield*m(eY.L8(t.command,t.args,{...t.options,stdin:{...o,stream:l}}))))}}let o=s[s.length-1],l=k.JkU(function*(){let e=[];for(let t of s)e.push((yield*t.unref));return k.jJl([...e].reverse(),e=>e,{discard:!0})});return(0,e$.hA)({pid:o.pid,exitCode:o.exitCode,isRunning:o.isRunning,kill:o.kill,stdin:o.stdin,stdout:o.stdout,stderr:o.stderr,all:o.all,getInputFd:o.getInputFd,getOutputFd:o.getOutputFd,unref:l})}}});return(0,e$.L8)(m)}),ts=D.QZ(e$.CV,ta),to=e=>{let t=[],r=[],i=e=>{switch(e._tag){case"StandardCommand":t.push(e);break;case"PipedCommand":i(e.left),r.push(e.options),i(e.right)}};if(i(e),0===t.length)throw Error("flattenCommand produced empty commands array");let[n,...a]=t;return{commands:[n,...a],pipeOptions:r}},tl="~effect/platform/Crypto",tc=O.kl("effect/Crypto"),td=e=>e.toString(16).padStart(2,"0"),tm=e=>[e.subarray(0,4),e.subarray(4,6),e.subarray(6,8),e.subarray(8,10),e.subarray(10,16)].map(e=>Array.from(e,td).join("")).join("-"),tu=0x1000000000000-1;var tp=i(7598);let th=(n=(B={randomBytes:tp.randomBytes,digest:(e,t)=>k.SvU({try:()=>Uint8Array.from(tp.createHash((e=>{switch(e){case"SHA-1":return"sha1";case"SHA-256":return"sha256";case"SHA-384":return"sha384";case"SHA-512":return"sha512"}})(e)).update(t).digest()),catch:e=>eX.Oj({module:"Crypto",method:"digest",_tag:"Unknown",description:"Could not compute digest",cause:e})})}).randomBytes,a=()=>{let e=n(7);return((31&e[0])*0x1000000000000+0x10000000000*e[1]+0x100000000*e[2]+0x1000000*e[3]+65536*e[4]+256*e[5]+e[6])/0x20000000000000},s=()=>Math.floor(a()*(Number.MAX_SAFE_INTEGER-Number.MIN_SAFE_INTEGER+1))+Number.MIN_SAFE_INTEGER,tc.of({[tl]:tl,randomBytes:e=>{let t,r;return k.TjK((t="randomBytes",Number.isSafeInteger(r=e)&&r>=0?k.PyW(r):k.fJG(eX.T8({module:"Crypto",method:t,description:"size must be a non-negative safe integer"}))),n)},nextDoubleUnsafe:a,nextIntUnsafe:s,digest:B.digest,random:k.OH5(()=>a()),randomBoolean:k.OH5(()=>a()>.5),randomInt:k.OH5(()=>s()),randomBetween:(e,t)=>k.OH5(()=>a()*(t-e)+e),randomIntBetween(e,t,r){let i=+(r?.halfOpen!==!0);return k.OH5(()=>{let r=Math.ceil(e),n=Math.floor(t);return Math.floor(a()*(n-r+i))+r})},randomShuffle:e=>k.OH5(()=>{let t=Array.from(e);for(let e=t.length-1;e>=1;e-=1){let r=Math.min(e,Math.floor(a()*(e+1))),i=t[e];t[e]=t[r],t[r]=i}return t}),randomUUIDv4:k.OH5(()=>{let e;return(e=n(16))[6]=15&e[6]|64,e[8]=63&e[8]|128,tm(e)}),randomUUIDv7:k.RKA(e=>{var t,r;let i;return k.PyW((t=e.currentTimeMillisUnsafe(),r=n(16),i=Math.min(Math.max(0,Math.trunc(t)),tu),r[0]=Math.floor(i/0x10000000000),r[1]=255&Math.floor(i/0x100000000),r[2]=255&Math.floor(i/0x1000000),r[3]=255&Math.floor(i/65536),r[4]=255&Math.floor(i/256),r[5]=255&i,r[6]=15&r[6]|112,r[8]=63&r[8]|128,tm(r)))})})),tg=D.Py(tc,th);var tf=i(9444),ty=i(3024),tA=i(8161),tb=i(6760),tx=i.t(tb,2);let tN=e=>t=>eX.T8({module:"FileSystem",method:e,description:t.message??String(t)}),tC=(o=(0,k._r7)(ty.access,eV("FileSystem","access"),tN("access")),(e,t)=>{let r=ty.constants.F_OK;return t?.readable&&(r|=ty.constants.R_OK),t?.writable&&(r|=ty.constants.W_OK),o(e,r)}),tS=(l=(0,k._r7)(ty.cp,eV("FileSystem","copy"),tN("copy")),(e,t,r)=>l(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),tI=(c=(0,k._r7)(ty.copyFile,eV("FileSystem","copyFile"),tN("copyFile")),(e,t)=>c(e,t)),tw=(d=(0,k._r7)(ty.chmod,eV("FileSystem","chmod"),tN("chmod")),(e,t)=>d(e,t)),tE=(m=(0,k._r7)(ty.chown,eV("FileSystem","chown"),tN("chown")),(e,t,r)=>m(e,t,r)),tv=(u=(0,k._r7)(ty.glob,eV("FileSystem","glob"),tN("glob")),(e,t)=>u(e,{cwd:t?.root,exclude:t?.exclude})),tB=(p=(0,k._r7)(ty.link,eV("FileSystem","link"),tN("link")),(e,t)=>p(e,t)),tP=(h=(0,k._r7)(ty.mkdir,eV("FileSystem","makeDirectory"),tN("makeDirectory")),(e,t)=>h(e,{recursive:t?.recursive??!1,mode:t?.mode})),tR=e=>{let t=(0,k._r7)(ty.mkdtemp,eV("FileSystem",e),tN(e));return e=>k.DYE(()=>{let r=e?.prefix??"",i="string"==typeof e?.directory?tb.join(e.directory,"."):tA.tmpdir();return t(r?tb.join(i,r):i+"/")})},tO=tR("makeTempDirectory"),tk=e=>{let t=(0,k._r7)(ty.rm,eV("FileSystem",e),tN(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},tT=tk("remove"),tM=(g=tR("makeTempDirectoryScoped"),f=tk("makeTempDirectoryScoped"),e=>k.Q56(g(e),e=>k.QgK(f(e,{recursive:!0})))),tD=(P="open",y=(0,k._r7)(ty.open,eV("FileSystem",P),tN(P)),A=(0,k._r7)(ty.close,eV("FileSystem",P),tN(P)),(e,t)=>(0,T.Fs)(k.Q56(y(e,t?.flag??"r",t?.mode),e=>k.QgK(A(e))),k.TjK(e=>tz(eL.Um(e),t?.flag?.startsWith("a")??!1)))),tz=(()=>{let e=e=>(0,k._r7)(ty.read,eV("FileSystem",e),tN(e)),t=e("read"),r=e("readAlloc"),i=(0,k._r7)(ty.fstat,eV("FileSystem","stat"),tN("stat")),n=(0,k._r7)(ty.ftruncate,eV("FileSystem","truncate"),tN("truncate")),a=(0,k._r7)(ty.fsync,eV("FileSystem","sync"),tN("sync")),s=e=>(0,k._r7)(ty.write,eV("FileSystem",e),tN(e)),o=s("write"),l=s("writeAll");class c{[eL.eL];fd;append;position=BigInt(0);constructor(e,t){this[eL.eL]=eL.eL,this.fd=e,this.append=t}get stat(){return k.TjK(i(this.fd),tG)}get sync(){return a(this.fd)}seek(e,t){let r=eL.or(e);return k.OH5(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return k.DYE(()=>{let r=this.position;return k.TjK(t(this.fd,{buffer:e,position:r}),e=>{let t=eL.or(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return k.DYE(()=>{let e=Buffer.allocUnsafeSlow(t),i=this.position;return k.TjK(r(this.fd,{buffer:e,position:i}),r=>{if(0===r)return ep.none();if(this.position=i+BigInt(r),r===t)return ep.some(e);let n=Buffer.allocUnsafeSlow(r);return e.copy(n,0,0,r),ep.some(n)})})}truncate(e){return k.TjK(n(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return k.DYE(()=>{let t=this.position;return k.TjK(o(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=eL.or(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return k.DYE(()=>{let t=this.position;return k.qIB(l(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?k.fJG(eX.Oj({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):k.rIH))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new c(e,t)})(),tQ=e=>{let t=tR(e);return k.D9k(function*(e){let r=yield*t(e),i=tp.randomBytes(6).toString("hex"),n=tb.join(r,e?.suffix?`${i}${e.suffix}`:i);return yield*tX(n,new Uint8Array(0)),n})},t_=tQ("makeTempFile"),tU=(b=tQ("makeTempFileScoped"),x=tk("makeTempFileScoped"),e=>k.Q56(b(e),e=>k.QgK(x(tb.dirname(e),{recursive:!0})))),tH=(e,t)=>k.$mh({try:()=>ty.promises.readdir(e,t),catch:t=>eV("FileSystem","readDirectory")(t,[e])}),tL=e=>k.E2r((t,r)=>{try{ty.readFile(e,{signal:r},(r,i)=>{r?t(k.fJG(eV("FileSystem","readFile")(r,[e]))):t(k.PyW(i))})}catch(e){t(k.fJG(tN("readFile")(e)))}}),tF=(N=(0,k._r7)(ty.readlink,eV("FileSystem","readLink"),tN("readLink")),e=>N(e)),tq=(C=(0,k._r7)(ty.realpath,eV("FileSystem","realPath"),tN("realPath")),e=>C(e)),tj=(S=(0,k._r7)(ty.rename,eV("FileSystem","rename"),tN("rename")),(e,t)=>S(e,t)),tG=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:ep.fromNullishOr(e.mtime),atime:ep.fromNullishOr(e.atime),birthtime:ep.fromNullishOr(e.birthtime),dev:e.dev,rdev:ep.fromNullishOr(e.rdev),ino:ep.fromNullishOr(e.ino),mode:e.mode,nlink:ep.fromNullishOr(e.nlink),uid:ep.fromNullishOr(e.uid),gid:ep.fromNullishOr(e.gid),size:eL.or(e.size),blksize:void 0!==e.blksize?ep.some(eL.or(e.blksize)):ep.none(),blocks:ep.fromNullishOr(e.blocks)}),tY=(I=(0,k._r7)(ty.stat,eV("FileSystem","stat"),tN("stat")),e=>k.TjK(I(e),tG)),t$=(w=(0,k._r7)(ty.symlink,eV("FileSystem","symlink"),tN("symlink")),(e,t)=>w(e,t)),tJ=(E=(0,k._r7)(ty.truncate,eV("FileSystem","truncate"),tN("truncate")),(e,t)=>E(e,void 0!==t?Number(t):void 0)),tK=(v=(0,k._r7)(ty.utimes,eV("FileSystem","utime"),tN("utime")),(e,t,r)=>v(e,t,r)),tX=(e,t,r)=>k.E2r((i,n)=>{try{ty.writeFile(e,t,{signal:n,flag:r?.flag,mode:r?.mode},t=>{t?i(k.fJG(eV("FileSystem","writeFile")(t,[e]))):i(k.rIH)})}catch(e){i(k.fJG(tN("writeFile")(e)))}}),tV=k.TjK(k.Nav(eL.kP),e=>eL.L8({access:tC,chmod:tw,chown:tE,copy:tS,copyFile:tI,glob:tv,link:tB,makeDirectory:tP,makeTempDirectory:tO,makeTempDirectoryScoped:tM,makeTempFile:t_,makeTempFileScoped:tU,open:tD,readDirectory:tH,readFile:tL,readLink:tF,realPath:tq,remove:tT,rename:tj,stat:tY,symlink:t$,truncate:tJ,utimes:tK,watch:t=>tY(t).pipe(k.TjK(r=>e.pipe(ep.flatMap(e=>e.register(t,r)),ep.getOrElse(()=>eG.E2r(e=>k.Q56(k.OH5(()=>{let r=ty.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void k.MY7(k.tvg(tY(r),{onSuccess:t=>tf.x(e,{_tag:"Create",path:r}),onFailure:t=>tf.x(e,{_tag:"Remove",path:r})}));case"change":return void tf.bQ(e,{_tag:"Update",path:r})}});return r.on("error",r=>{tf._1(e,eW.fJ(eX.Oj({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{tf.kx(e)}),r}),e=>k.OH5(()=>e.close())))))),eG.oAg),writeFile:tX})),tW=D.QZ(eL.Q2)(tV);var tZ=i(3136);let t0=e=>k.SvU({try:()=>tZ.fileURLToPath(e),catch:e=>new eX.dB({module:"Path",method:"fromFileUrl",cause:e})}),t1=e=>k.SvU({try:()=>tZ.pathToFileURL(e),catch:e=>new eX.dB({module:"Path",method:"toFileUrl",cause:e})});eF.ii,eF.ii,tb.posix,eF.ii,eF.ii,tb.win32;let t2=D.Py(eF.wA)({[eF.ii]:eF.ii,...tx,fromFileUrl:t0,toFileUrl:t1}),t3="~effect/Stdio",t6=O.kl(t3),t5=D.Py(t6,{[t3]:t3,...{args:k.OH5(()=>process.argv.slice(2)),stdout:e=>e1({evaluate:()=>process.stdout,onError:e=>(0,eX.Oj)({module:"Stdio",method:"stdout",_tag:"Unknown",cause:e}),endOnDone:e?.endOnDone??!1}),stderr:e=>e1({evaluate:()=>process.stderr,onError:e=>(0,eX.Oj)({module:"Stdio",method:"stderr",_tag:"Unknown",cause:e}),endOnDone:e?.endOnDone??!1}),stdin:e7({evaluate:()=>process.stdin,onError:e=>(0,eX.Oj)({module:"Stdio",method:"stdin",_tag:"Unknown",cause:e}),closeOnDone:!1})}});var t4=i(6292),t8=i(2544);class t9{waiters=new Set;taken=0;permits;constructor(e){this.permits=e}get free(){return this.permits-this.taken}take(e){let t=$.DYE(()=>this.free<e?$.E2r(r=>{if(this.free>=e)return r(t);let i=()=>{this.free<e||(this.waiters.delete(i),r(t))};return this.waiters.add(i),$.OH5(()=>{this.waiters.delete(i)})}):(this.taken+=e,$.PyW(e)));return t}updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.currentDispatcher.scheduleTask(()=>{let e=this.waiters.values(),t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()},0),this.free}updateTaken(e){return M.R6(t=>$.PyW(this.updateTakenUnsafe(t,e)))}resize(e){return M.R6(t=>(this.permits=e,this.free<0||this.updateTakenUnsafe(t,e=>e),$.rIH))}release(e){return this.updateTaken(t=>t-e)}get releaseAll(){return this.updateTaken(e=>0)}withPermits(e){return t=>$.FcF(r=>$.qIB(r(this.take(e)),e=>$.r7h(r(t),()=>{this.updateTakenUnsafe($.Iku(),t=>t-e)},!0)))}withPermit=this.withPermits(1);withPermitsIfAvailable(e){return t=>$.FcF(r=>this.free<e?$.lwU:(this.taken+=e,$.r7h(r($.Xx$(t)),()=>{this.updateTakenUnsafe($.Iku(),t=>t-e)},!0)))}}let t7={_tag:"Empty"},re={_tag:"Closed"},rt={_A:T.D_,_E:T.D_};class rr{"~effect/RcRef"=rt;pipe(){return(0,t8.tT)(this,arguments)}state=t7;semaphore=new t9(1);acquire;context;scope;idleTimeToLive;constructor(e,t,r,i){this.acquire=e,this.context=t,this.scope=r,this.idleTimeToLive=i}}let ri=k.D9k(function*(e){let t=yield*k.FcF(t=>{switch(e.state._tag){case"Closed":return k.GaK;case"Acquired":return e.state.refCount++,e.state.fiber?k.as(e6.G(e.state.fiber),e.state):k.PyW(e.state);case"Empty":{let r=e9.LZ();return e.semaphore.withPermits(1)(t(k.PpN(e.acquire,O.WQ(e.context,e9.HG,r))).pipe(k.TjK(t=>{let i={_tag:"Acquired",value:t,scope:r,fiber:void 0,refCount:1,invalidated:!1};return e.state=i,i})))}}}),r=yield*k.z8E,i=void 0!==e.idleTimeToLive&&t4.MI(e.idleTimeToLive);return yield*e9.a6(r,()=>(t.refCount--,t.refCount>0)?k.rIH:void 0===e.idleTimeToLive?(e.state=t7,e9.VN(t.scope,eP.rI)):t.invalidated?e9.VN(t.scope,eP.rI):i?(t.fiber=k.yy4(e.idleTimeToLive).pipe(k.qIB(()=>"Acquired"===e.state._tag&&0===e.state.refCount?(e.state=t7,e9.VN(t.scope,eP.rI)):k.rIH),k.yeE(k.OH5(()=>{t.fiber=void 0})),k.eJC(e.context),e6.VO(e.scope)),k.rIH):k.rIH),t.value}),rn="~effect/platform/Terminal",ra=O.kl("effect/platform/Terminal"),rs=t("node:readline"),ro=k.D9k(function*(e=rc){let t,r,i=process.stdin,n=process.stdout,a=yield*(t={acquire:k.Q56(k.OH5(()=>{let e=rs.createInterface({input:i,escapeCodeTimeout:50});return rs.emitKeypressEvents(i,e),i.isTTY&&i.setRawMode(!0),e}),e=>k.OH5(()=>{i.isTTY&&i.setRawMode(!1),e.close()}))},k.R6R(e=>{let r=e.context,i=O.Jt(r,e9.HG),n=new rr(t.acquire,r,i,t.idleTimeToLive?t4.bN(t.idleTimeToLive):void 0);return k.as(e9.a6(i,()=>{let e="Acquired"===n.state._tag?e9.VN(n.state.scope,eP.rI):k.rIH;return n.state=re,e}),n)})),s=k.OH5(()=>n.columns??0),o=k.OH5(()=>n.rows??0),l=k.JkU(function*(){yield*ri(a);let t=yield*tf.L8(),r=(r,i)=>{let n={input:ep.fromUndefinedOr(r),key:{name:i.name??"",ctrl:!!i.ctrl,meta:!!i.meta,shift:!!i.shift}};tf.bQ(t,n),e(n)&&tf.kx(t)};return yield*k.U9h(()=>k.OH5(()=>i.off("keypress",r))),i.on("keypress",r),t});return r={columns:s,rows:o,readInput:l,readLine:k.P1j(k.qIB(ri(a),e=>k.E2r(t=>{let r=e=>t(k.PyW(e));return e.once("line",r),k.OH5(()=>e.off("line",r))}))),display:e=>k.rfi(k.E2r(t=>{n.write(e,e=>eq.uy(e)?t(k.rIH):t(k.fJG((0,eX.T8)({module:"Terminal",method:"display",description:"Failed to write prompt to stdout",cause:e}))))}))},ra.of({...r,[rn]:rn})}),rl=D.QZ(ra,ro(rc));function rc(e){return e.key.ctrl&&("c"===e.key.name||"d"===e.key.name)}let rd=D.S5(ts,D.Um(tW,tg,t2,t5,rl));var rm=i(2917),ru=i(9002),rp=i(3818),rh=i(855),rg=i(4290);let rf=O.Or("effect/http/FetchHttpClient/Fetch",{defaultValue:()=>globalThis.fetch});class ry extends O.kl()("effect/http/FetchHttpClient/RequestInit"){}let rA=rp.L8((e,t,r,i)=>{let n=i.getRef(rf),a=i.context.mapUnsafe.get(ry.key)??{},s=a.headers?ru.h1(ru.lX(a.headers),e.headers):e.headers;s["content-length"]&&(s=ru.TF(s,"content-length"));let o=i=>k.TjK(k.$mh({try:()=>n(t,{...a,method:e.method,headers:s,body:i,duplex:"Stream"===e.body._tag?"half":void 0,signal:r}),catch:t=>new rh.Kg({reason:new rh.wX({request:e,cause:t})})}),t=>rg.tO(e,t));switch(e.body._tag){case"Raw":case"Uint8Array":return o(e.body.body);case"FormData":return o(e.body.formData);case"Stream":return k.qIB(eG.tiA(e.body.stream),o)}return o(void 0)}),rb=rp.$T(k.PyW(rA));var rx=class{static layer=D.Um(eQ.layer,eQ.layerLogger,eU.q.layer,eb.layerDefault).pipe(D.S5(e_.X.layer),D.S5(R.gd.layer),D.S5(D.Um(rd,rb)))};let rN=e=>{let t=eW.L$(e);if(ep.isSome(t))return rC(t.value);let r=eW.Bb(e);if(rm.oJ(r))return`[defect] ${rC(r.success)}`;let i=eW.j9(e);return""===i.trim()?"the action failed with no diagnostic information":i},rC=e=>{if("object"==typeof e&&null!==e&&"_tag"in e){let t="string"==typeof e.message&&""!==e.message?`: ${e.message}`:"";return`[${String(e._tag)}]${t}`}return e instanceof Error?`[${e.name}]: ${e.message}`:`[unknown]: ${String(e)}`};var rS=class{static describeCause=rN;static run=(e,t={})=>{let r=t.layer,i=void 0===r?rx.layer:D.Um(rx.layer,D.Gt(r,rx.layer)),n=e.pipe(k.Gte(i),k.NS5,k.qIB(e=>eP.oJ(e)?k.rIH:k.OH5(()=>{let t=eW.j9(e.cause);""!==t.trim()&&console.log(ex.T.render("debug",{},t)),console.log(ex.T.render("error",{},`Action failed: ${rN(e.cause)}`)),process.exitCode=1})));return k.pR5(n).catch(()=>{process.exitCode=1})}}},9581(e,r,i){let n,a,s,o,l,c,d;i.d(r,{l:()=>pY});var m,u,p,h,g,f,y,A,b,x,N,C,S,I,w,E,v,B,P,R,O,k,T,M,D,z,Q,_,U,H,L,F,q={};i.r(q),i.d(q,{AccessPolicy:()=>aW,AppendBlobAppendBlockExceptionHeaders:()=>li,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>la,AppendBlobAppendBlockFromUrlHeaders:()=>ln,AppendBlobAppendBlockHeaders:()=>lr,AppendBlobCreateExceptionHeaders:()=>lt,AppendBlobCreateHeaders:()=>le,AppendBlobSealExceptionHeaders:()=>lo,AppendBlobSealHeaders:()=>ls,ArrowConfiguration:()=>sl,ArrowField:()=>sc,BlobAbortCopyFromURLExceptionHeaders:()=>oD,BlobAbortCopyFromURLHeaders:()=>oM,BlobAcquireLeaseExceptionHeaders:()=>ob,BlobAcquireLeaseHeaders:()=>oA,BlobBreakLeaseExceptionHeaders:()=>ov,BlobBreakLeaseHeaders:()=>oE,BlobChangeLeaseExceptionHeaders:()=>ow,BlobChangeLeaseHeaders:()=>oI,BlobCopyFromURLExceptionHeaders:()=>oT,BlobCopyFromURLHeaders:()=>ok,BlobCreateSnapshotExceptionHeaders:()=>oP,BlobCreateSnapshotHeaders:()=>oB,BlobDeleteExceptionHeaders:()=>oi,BlobDeleteHeaders:()=>or,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>op,BlobDeleteImmutabilityPolicyHeaders:()=>ou,BlobDownloadExceptionHeaders:()=>s7,BlobDownloadHeaders:()=>s9,BlobFlatListSegment:()=>a0,BlobGetAccountInfoExceptionHeaders:()=>oU,BlobGetAccountInfoHeaders:()=>o_,BlobGetPropertiesExceptionHeaders:()=>ot,BlobGetPropertiesHeaders:()=>oe,BlobGetTagsExceptionHeaders:()=>oq,BlobGetTagsHeaders:()=>oF,BlobHierarchyListSegment:()=>a5,BlobItemInternal:()=>a1,BlobName:()=>a2,BlobPrefix:()=>a4,BlobPropertiesInternal:()=>a3,BlobQueryExceptionHeaders:()=>oL,BlobQueryHeaders:()=>oH,BlobReleaseLeaseExceptionHeaders:()=>oN,BlobReleaseLeaseHeaders:()=>ox,BlobRenewLeaseExceptionHeaders:()=>oS,BlobRenewLeaseHeaders:()=>oC,BlobServiceProperties:()=>aT,BlobServiceStatistics:()=>aH,BlobSetExpiryExceptionHeaders:()=>oo,BlobSetExpiryHeaders:()=>os,BlobSetHttpHeadersExceptionHeaders:()=>oc,BlobSetHttpHeadersHeaders:()=>ol,BlobSetImmutabilityPolicyExceptionHeaders:()=>om,BlobSetImmutabilityPolicyHeaders:()=>od,BlobSetLegalHoldExceptionHeaders:()=>og,BlobSetLegalHoldHeaders:()=>oh,BlobSetMetadataExceptionHeaders:()=>oy,BlobSetMetadataHeaders:()=>of,BlobSetTagsExceptionHeaders:()=>oG,BlobSetTagsHeaders:()=>oj,BlobSetTierExceptionHeaders:()=>oQ,BlobSetTierHeaders:()=>oz,BlobStartCopyFromURLExceptionHeaders:()=>oO,BlobStartCopyFromURLHeaders:()=>oR,BlobTag:()=>aX,BlobTags:()=>aK,BlobUndeleteExceptionHeaders:()=>oa,BlobUndeleteHeaders:()=>on,Block:()=>a7,BlockBlobCommitBlockListExceptionHeaders:()=>ly,BlockBlobCommitBlockListHeaders:()=>lf,BlockBlobGetBlockListExceptionHeaders:()=>lb,BlockBlobGetBlockListHeaders:()=>lA,BlockBlobPutBlobFromUrlExceptionHeaders:()=>lm,BlockBlobPutBlobFromUrlHeaders:()=>ld,BlockBlobStageBlockExceptionHeaders:()=>lp,BlockBlobStageBlockFromURLExceptionHeaders:()=>lg,BlockBlobStageBlockFromURLHeaders:()=>lh,BlockBlobStageBlockHeaders:()=>lu,BlockBlobUploadExceptionHeaders:()=>lc,BlockBlobUploadHeaders:()=>ll,BlockList:()=>a9,BlockLookupList:()=>a8,ClearRange:()=>sr,ContainerAcquireLeaseExceptionHeaders:()=>s$,ContainerAcquireLeaseHeaders:()=>sY,ContainerBreakLeaseExceptionHeaders:()=>sZ,ContainerBreakLeaseHeaders:()=>sW,ContainerChangeLeaseExceptionHeaders:()=>s1,ContainerChangeLeaseHeaders:()=>s0,ContainerCreateExceptionHeaders:()=>sv,ContainerCreateHeaders:()=>sE,ContainerDeleteExceptionHeaders:()=>sO,ContainerDeleteHeaders:()=>sR,ContainerFilterBlobsExceptionHeaders:()=>sG,ContainerFilterBlobsHeaders:()=>sj,ContainerGetAccessPolicyExceptionHeaders:()=>sD,ContainerGetAccessPolicyHeaders:()=>sM,ContainerGetAccountInfoExceptionHeaders:()=>s8,ContainerGetAccountInfoHeaders:()=>s4,ContainerGetPropertiesExceptionHeaders:()=>sP,ContainerGetPropertiesHeaders:()=>sB,ContainerItem:()=>aq,ContainerListBlobFlatSegmentExceptionHeaders:()=>s3,ContainerListBlobFlatSegmentHeaders:()=>s2,ContainerListBlobHierarchySegmentExceptionHeaders:()=>s5,ContainerListBlobHierarchySegmentHeaders:()=>s6,ContainerProperties:()=>aj,ContainerReleaseLeaseExceptionHeaders:()=>sK,ContainerReleaseLeaseHeaders:()=>sJ,ContainerRenameExceptionHeaders:()=>sL,ContainerRenameHeaders:()=>sH,ContainerRenewLeaseExceptionHeaders:()=>sV,ContainerRenewLeaseHeaders:()=>sX,ContainerRestoreExceptionHeaders:()=>sU,ContainerRestoreHeaders:()=>s_,ContainerSetAccessPolicyExceptionHeaders:()=>sQ,ContainerSetAccessPolicyHeaders:()=>sz,ContainerSetMetadataExceptionHeaders:()=>sT,ContainerSetMetadataHeaders:()=>sk,ContainerSubmitBatchExceptionHeaders:()=>sq,ContainerSubmitBatchHeaders:()=>sF,CorsRule:()=>aQ,DelimitedTextConfiguration:()=>ss,FilterBlobItem:()=>aJ,FilterBlobSegment:()=>a$,GeoReplication:()=>aL,JsonTextConfiguration:()=>so,KeyInfo:()=>aG,ListBlobsFlatSegmentResponse:()=>aZ,ListBlobsHierarchySegmentResponse:()=>a6,ListContainersSegmentResponse:()=>aF,Logging:()=>aM,Metrics:()=>az,PageBlobClearPagesExceptionHeaders:()=>oV,PageBlobClearPagesHeaders:()=>oX,PageBlobCopyIncrementalExceptionHeaders:()=>o7,PageBlobCopyIncrementalHeaders:()=>o9,PageBlobCreateExceptionHeaders:()=>o$,PageBlobCreateHeaders:()=>oY,PageBlobGetPageRangesDiffExceptionHeaders:()=>o3,PageBlobGetPageRangesDiffHeaders:()=>o2,PageBlobGetPageRangesExceptionHeaders:()=>o1,PageBlobGetPageRangesHeaders:()=>o0,PageBlobResizeExceptionHeaders:()=>o5,PageBlobResizeHeaders:()=>o6,PageBlobUpdateSequenceNumberExceptionHeaders:()=>o8,PageBlobUpdateSequenceNumberHeaders:()=>o4,PageBlobUploadPagesExceptionHeaders:()=>oK,PageBlobUploadPagesFromURLExceptionHeaders:()=>oZ,PageBlobUploadPagesFromURLHeaders:()=>oW,PageBlobUploadPagesHeaders:()=>oJ,PageList:()=>se,PageRange:()=>st,QueryFormat:()=>sa,QueryRequest:()=>si,QuerySerialization:()=>sn,RetentionPolicy:()=>aD,ServiceFilterBlobsExceptionHeaders:()=>sw,ServiceFilterBlobsHeaders:()=>sI,ServiceGetAccountInfoExceptionHeaders:()=>sN,ServiceGetAccountInfoHeaders:()=>sx,ServiceGetPropertiesExceptionHeaders:()=>sp,ServiceGetPropertiesHeaders:()=>su,ServiceGetStatisticsExceptionHeaders:()=>sg,ServiceGetStatisticsHeaders:()=>sh,ServiceGetUserDelegationKeyExceptionHeaders:()=>sb,ServiceGetUserDelegationKeyHeaders:()=>sA,ServiceListContainersSegmentExceptionHeaders:()=>sy,ServiceListContainersSegmentHeaders:()=>sf,ServiceSetPropertiesExceptionHeaders:()=>sm,ServiceSetPropertiesHeaders:()=>sd,ServiceSubmitBatchExceptionHeaders:()=>sS,ServiceSubmitBatchHeaders:()=>sC,SignedIdentifier:()=>aV,StaticWebsite:()=>a_,StorageError:()=>aU,UserDelegationKey:()=>aY});var j=i(7139),G=i(7464),Y=class extends G.X0d()("BlobTransferError",{reason:G.xCb(["uploadFailed","downloadFailed"]),cause:G.Qrq(G.kld())}){get message(){return"uploadFailed"===this.reason?"Could not upload to the signed blob url":"Could not download from the signed blob url"}},$=i(2917),J=i(702),K=i(6437),X=i(1036);let V="ACTIONS_RESULTS_URL",W="ACTIONS_RUNTIME_TOKEN";var Z=i(9981),ee=i(9858);let et=Symbol.for("@effected/github-actions/twirp/conflict"),er=e=>"transport"===e.kind||"malformed"!==e.kind&&void 0!==e.status&&(e.status>=500||408===e.status||429===e.status),ei=(e,t)=>{if("object"!=typeof e||null===e)return;let r=t.replaceAll(/[A-Z]/g,e=>`_${e.toLowerCase()}`);return e[t]??e[r]},en=(e,t)=>{let r=ei(e,t);return"string"==typeof r&&""!==r?r:void 0},ea=e=>!0===ei(e,"ok");var es=i(9427),eo=i(1211),el=i(1260),ec=i(9605),ed=i(8275),em=i(3818),eu=i(7598);class ep extends Error{constructor(e){super(e),this.name="AbortError"}}var eh=i(8161);let eg=t("node:util"),ef=t("node:process");"string"==typeof ef.versions.deno&&ef.versions.deno.length,"string"==typeof ef.versions.bun&&ef.versions.bun.length;let ey=ef.env.DEBUG,eA=[],eb=[],ex=[];ey&&eC(ey);let eN=Object.assign(e=>ew(e),{enable:eC,enabled:eS,disable:function(){let e=n||"";return eC(""),e},log:function(e,...t){ef.stderr.write(`${eg.format(e,...t)}${eh.EOL}`)}});function eC(e){for(let t of(n=e,eA=[],eb=[],e.split(",").map(e=>e.trim())))t.startsWith("-")?eb.push(t.substring(1)):eA.push(t);for(let e of ex)e.enabled=eS(e.namespace)}function eS(e){if(e.endsWith("*"))return!0;for(let t of eb)if(eI(e,t))return!1;for(let t of eA)if(eI(e,t))return!0;return!1}function eI(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,n=0,a=r.length,s=e.length,o=-1,l=-1;for(;i<s&&n<a;)if("*"===r[n]){if(o=n,++n===a)return!0;for(;e[i]!==r[n];)if(++i===s)return!1;l=i,i++,n++;continue}else if(r[n]===e[i])n++,i++;else{if(!(o>=0)||(n=o+1,(i=l+1)===s))return!1;for(;e[i]!==r[n];)if(++i===s)return!1;l=i,i++,n++;continue}let c=i===e.length,d=n===r.length,m=n===r.length-1&&"*"===r[n];return c&&(d||m)}function ew(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:eS(e),destroy:eE,log:eN.log,namespace:e,extend:ev});return ex.push(t),t}function eE(){let e=ex.indexOf(this);return e>=0&&(ex.splice(e,1),!0)}function ev(e){let t=ew(`${this.namespace}:${e}`);return t.log=this.log,t}let eB=["verbose","info","warning","error"],eP={verbose:400,info:300,warning:200,error:100};function eR(e,t){t.log=(...t)=>{e.log(...t)}}function eO(e){return eB.includes(e)}function ek(e){var t;let r,i=new Set,n=(t=e.logLevelEnvVarName,ef.env[t]),a=eN(e.namespace);function s(e){if(e&&!eO(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${eB.join(",")}`);r=e;let t=[];for(let e of i)o(e)&&t.push(e.namespace);eN.enable(t.join(","))}function o(e){return!!(r&&eP[e.level]<=eP[r])}function l(e,t){let r=Object.assign(e.extend(t),{level:t});if(eR(e,r),o(r)){let e=eN.disable();eN.enable(e+","+r.namespace)}return i.add(r),r}return a.log=(...e)=>{eN.log(...e)},n&&(eO(n)?s(n):console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${eB.join(", ")}.`)),{setLogLevel:s,getLogLevel:function(){return r},createClientLogger:function(e){let t=a.extend(e);return eR(a,t),{error:l(t,"error"),warning:l(t,"warning"),info:l(t,"info"),verbose:l(t,"verbose")}},logger:a}}let eT=ek({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function eM(e){return eT.createClientLogger(e)}function eD(e){return e.toLowerCase()}eT.logger;class ez{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(eD(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(eD(e))?.value}has(e){return this._headersMap.has(eD(e))}delete(e){this._headersMap.delete(eD(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function eQ(e){return new ez(e)}function e_(){return globalThis.crypto.randomUUID()}class eU{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??eQ(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||e_(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let eH=new Set(["Deserialize","Serialize","Retry","Sign"]);class eL{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!eH.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!eH.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new eL(this._policies)}static create(){return new eL}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),n=r("None"),a=r("Deserialize"),s=r("Retry"),o=r("Sign"),l=[i,n,a,s,o];function c(e){return"Retry"===e?s:"Serialize"===e?i:"Deserialize"===e?a:"Sign"===e?o:n}for(let e of this._policies){let r=e.policy,i=e.options,n=r.name;if(t.has(n))throw Error("Duplicate policy names not allowed in pipeline");let a={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(a.afterPhase=c(i.afterPhase),a.afterPhase.hasAfterPolicies=!0),t.set(n,a),c(i.phase).policies.add(a)}for(let e of this._policies){let{policy:r,options:i}=e,n=r.name,a=t.get(n);if(!a)throw Error(`Missing node for policy ${n}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(a.dependsOn.add(r),r.dependants.add(a))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(a),a.dependants.add(r))}}function d(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let m=0;for(;t.size>0;){m++;let t=e.length;if(!function(){for(let e of l){if(d(e),e.policies.size>0&&e!==n){n.hasRun||d(n);return}e.hasAfterPolicies&&d(n)}}(),e.length<=t&&m>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function eF(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function eq(e){if(eF(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let ej=eg.inspect.custom,eG="REDACTED",eY=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],e$=["api-version"];class eJ{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=eY.concat(e),t=e$.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&eF(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&eF(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||eF(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,eG);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=eG;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=eG;return t}}let eK=new eJ;class eX extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,ej,{value:()=>`RestError: ${this.message} + ${eK.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,eX.prototype)}}function eV(e){return e instanceof eX||eq(e)&&"RestError"===e.name}let eW=t("node:http"),eZ=t("node:https"),e0=t("node:zlib");var e1=i(7075);let e2=eM("ts-http-runtime"),e3={};function e6(e){return e&&"function"==typeof e.pipe}function e5(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function e4(e){return e&&"number"==typeof e.byteLength}class e8 extends e1.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class e9{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,n=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new ep("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&n.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new eJ;e2.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),n.abort()},e.timeout));let a=e.headers.get("Accept-Encoding"),s=a?.includes("gzip")||a?.includes("deflate"),o="function"==typeof e.body?e.body():e.body;if(o&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(e6(e))return null;if(e4(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(o);null!==t&&e.headers.set("Content-Length",t)}try{var l;if(o&&e.onUploadProgress){let t=e.onUploadProgress,r=new e8(t);r.on("error",e=>{e2.error("Error in upload progress",e)}),e6(o)?o.pipe(r):r.end(o),o=r}let t=await this.makeRequest(e,n,o);void 0!==r&&clearTimeout(r);let a=function(e){let t=eQ();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),c={status:t.statusCode??0,headers:a,request:e};if("HEAD"===e.method)return t.resume(),c;i=s?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=e0.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=e0.createInflate();return e.pipe(t),t}return e}(t,a):t;let d=e.onDownloadProgress;if(d){let e=new e8(d);e.on("error",e=>{e2.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(c.status)?c.readableStreamBody=i:c.bodyAsText=await (l=i,new Promise((e,t)=>{let r=[];l.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),l.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),l.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new eX(`Error reading response as text: ${e.message}`,{code:eX.PARSE_ERROR}))})})),c}finally{if(e.abortSignal&&t){let r=Promise.resolve();e6(o)&&(r=e5(o));let n=Promise.resolve();e6(i)&&(n=e5(i)),Promise.all([r,n]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{e2.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),n="https:"!==i.protocol;if(n&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a={agent:e.agent??this.getOrCreateAgent(e,n),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,s)=>{let o=n?eW.request(a,i):eZ.request(a,i);o.once("error",t=>{s(new eX(t.message,{code:t.code??eX.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new ep("The operation was aborted. Rejecting from abort signal callback while making request.");o.destroy(e),s(e)}),r&&e6(r)?r.pipe(o):r?"string"==typeof r||Buffer.isBuffer(r)?o.end(r):e4(r)?o.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(e2.error("Unrecognized body type",r),s(new eX("Unrecognized body type"))):o.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?eW.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new eW.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return eZ.globalAgent;let t=e.tlsSettings??e3,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(e2.info("No cached TLS Agent exist, creating a new Agent"),i=new eZ.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let e7="Retry-After",te=["retry-after-ms","x-ms-retry-after-ms",e7];function tt(e){if(e&&[429,503].includes(e.status))try{for(let t of te){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===e7?1e3:1;return r*e}}let t=e.headers.get(e7);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let tr=eM("ts-http-runtime retryPolicy");function ti(e,t){return Buffer.from(e,t)}async function tn(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:eQ({"Content-Disposition":`form-data; name="${t}"`}),body:ti(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",n=eQ();n.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),n.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:n,body:e})}t.multipartBody={parts:i}}var ta=i(6565),ts=i(7277);let to=[],tl=!1,tc=new Map;function td(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function tm(){if(!process)return;let e=td("HTTPS_PROXY"),t=td("ALL_PROXY"),r=td("HTTP_PROXY");return e||t||r}function tu(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function tp(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&e2.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new ts.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new ta.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let th="redirectPolicy",tg=["GET","HEAD"];async function tf(e,t,r,i,n=0){let{request:a,status:s,headers:o}=t,l=o.get("location");if(l&&(300===s||301===s&&tg.includes(a.method)||302===s&&tg.includes(a.method)||303===s&&"POST"===a.method||307===s)&&n<r){let o=new URL(l,a.url);if(!i){let e=new URL(a.url);if(o.origin!==e.origin)return e2.verbose(`Skipping cross-origin redirect from ${e.origin} to ${o.origin}.`),t}a.url=o.toString(),303===s&&(a.method="GET",a.headers.delete("Content-Length"),delete a.body),a.headers.delete("Authorization");let c=await e(a);return tf(e,c,r,i,n+1)}return t}let ty=t("stream");function tA(e){return e instanceof Blob}async function*tb(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function tx(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=tb.bind(e)),e.values||(e.values=tb.bind(e)),ty.Readable.fromWeb(e)):e}function tN(e){return e instanceof Uint8Array?ty.Readable.from(Buffer.from(e)):tA(e)?tx(e.stream()):tx(e)}async function tC(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(tN);return ty.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function tS(e,t,r){let i=[ti(`--${r}`,"utf-8"),...t.flatMap(e=>[ti("\r\n","utf-8"),ti(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r +`;return t}(e.headers),"utf-8"),ti("\r\n","utf-8"),e.body,ti(`\r +--${r}`,"utf-8")]),ti("--\r\n\r\n","utf-8")],n=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:tA(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);n&&e.headers.set("Content-Length",n),e.body=await tC(i)}let tI="multipartPolicy",tw=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),tE=ek({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function tv(e){return tE.createClientLogger(e)}tE.logger;let tB=tv("core-rest-pipeline"),tP="decompressResponsePolicy";async function tR(e){if(ef&&ef.versions){let t=`${eh.type()} ${eh.release()}; ${eh.arch()}`;ef.versions.bun?e.set("Bun",`${ef.versions.bun} (${t})`):ef.versions.deno?e.set("Deno",`${ef.versions.deno} (${t})`):ef.versions.node&&e.set("Node",`${ef.versions.node} (${t})`)}}async function tO(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await tR(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let tk="User-Agent",tT=Symbol("rawContent");function tM(e){return"function"==typeof e[tT]}class tD extends Error{constructor(e){super(e),this.name="AbortError"}}function tz(e,t){let r,{abortSignal:i,abortErrorMsg:n}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:n}=t??{};return new Promise((t,a)=>{function s(){a(new tD(n??"The operation was aborted."))}function o(){i?.removeEventListener("abort",l)}function l(){r?.(),o(),s()}if(i?.aborted)return s();try{e(e=>{o(),t(e)},e=>{o(),a(e)})}catch(e){a(e)}i?.addEventListener("abort",l)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:n??"The delay was aborted."})}function tQ(e){if(eq(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function t_(e){var t=e;if(!t&&!(t=tm()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let tU={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class tH{_contextMap;constructor(e){this._contextMap=e instanceof tH?new Map(e._contextMap):new Map}setValue(e,t){let r=new tH(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new tH(this);return t._contextMap.delete(e),t}}let tL=i(7301).w;function tF(){return tL.instrumenterImplementation||(tL.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new tH(e.parentContext);return e.span&&(t=t.setValue(tU.span,e.span)),e.namespace&&(t=t.setValue(tU.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),tL.instrumenterImplementation}function tq(e){let{namespace:t,packageName:r,packageVersion:i}=e;function n(e,n,a){let s=tF().startSpan(e,{...a,packageName:r,packageVersion:i,tracingContext:n?.tracingOptions?.tracingContext}),o=s.tracingContext,l=s.span;return o.getValue(tU.namespace)||(o=o.setValue(tU.namespace,t)),l.setAttribute("az.namespace",o.getValue(tU.namespace)),{span:l,updatedOptions:Object.assign({},n,{tracingOptions:{...n?.tracingOptions,tracingContext:o}})}}async function a(e,t,r,i){let{span:a,updatedOptions:o}=n(e,t,i);try{let e=await s(o.tracingOptions.tracingContext,()=>r(o,a));return a.setStatus({status:"success"}),e}catch(e){throw a.setStatus({status:"error",error:e}),e}finally{a.end()}}function s(e,t,...r){return tF().withContext(e,t,...r)}return{startSpan:n,withSpan:a,withContext:s,parseTraceparentHeader:function(e){return tF().parseTraceparentHeader(e)},createRequestHeaders:function(e){return tF().createRequestHeaders(e)}}}function tj(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",n),r=!1)}function n(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",n),{abortSignal:t.signal,cleanup:i}}function tG(){let e=new e9;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?tj(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}tv("core-rest-pipeline retryPolicy");let tY={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function t$(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let n=await i();for(;null===n;)await tz(t),n=await i();return n}async function tJ(e,t){try{return[await t(e),void 0]}catch(e){if(eV(e)&&e.response)return[e.response,e];throw e}}async function tK(e){let{scopes:t,getAccessToken:r,request:i}=e,n={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},a=await r(t,n);a&&e.request.headers.set("Authorization",`Bearer ${a.token}`)}function tX(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function tV(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function tW(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,n=e.logger||tB,a={authorizeRequest:i?.authorizeRequest?.bind(i)??tK,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},s=t?function(e){let t,r=null,i=null,n={...tY,...void 0},a={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(a.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-n.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-n.forcedRefreshWindowInMs<Date.now()}};function s(s,o){return a.isRefreshing||(r=t$(()=>e.getToken(s,o),n.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=o.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let n=!!r.claims,o=t!==r.tenantId;return(n&&(i=null),o||n||a.mustRefresh)?s(e,r):(a.shouldRefresh&&s(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,o;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await a.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:s,logger:n}),[i,o]=await tJ(e,t),tX(i)){let l=tZ(i.headers.get("WWW-Authenticate"));if(l){let a;try{a=atob(l)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`),i}await tV({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:s,logger:n},a)&&([i,o]=await tJ(e,t))}else if(a.authorizeRequestOnChallenge&&(await a.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:s,logger:n})&&([i,o]=await tJ(e,t)),tX(i))&&(l=tZ(i.headers.get("WWW-Authenticate")??""))){let a;try{a=atob(l)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`),i}await tV({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:s,logger:n},a)&&([i,o]=await tJ(e,t))}}if(!o)return i;throw o}}}function tZ(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,n=[];for(;null!==(t=r.exec(e));){let e,r=t[1],a=t[2],s={};for(;null!==(e=i.exec(a));)s[e[1]]=e[2];n.push({scheme:r,params:s})}return n}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function t0(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let t1="DisableKeepAlivePolicy";function t2(e){return Buffer.from(e).toString("base64")}function t3(e){return ti(e,"base64")}let t6=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,t5=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function t4(e,t){var r,i;let n,a=e.parsedHeaders;if("HEAD"===e.request.method)return{...a,body:e.parsedBody};let s=t&&t.bodyMapper,o=!!s?.nullable,l=s?.type.name;if("Stream"===l)return{...a,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let c="Composite"===l&&s.type.modelProperties||{},d=Object.keys(c).some(e=>""===c[e].serializedName);if("Sequence"===l||d){let t=e.parsedBody??[];for(let r of Object.keys(c))c[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(a)for(let e of Object.keys(a))t[e]=a[e];return!o||e.parsedBody||a||0!==Object.getOwnPropertyNames(c).length?t:null}return n={...(i={body:e.parsedBody,headers:a,hasNullableType:o,shouldWrapBody:(r=e.parsedBody,"Composite"!==l&&"Dictionary"!==l&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||l?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(n).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:n}class t8{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:n,InclusiveMaximum:a,InclusiveMinimum:s,MaxItems:o,MaxLength:l,MinItems:c,MinLength:d,MultipleOf:m,Pattern:u,UniqueItems:p}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==n&&t<=n&&i("ExclusiveMinimum",n),void 0!==a&&t>a&&i("InclusiveMaximum",a),void 0!==s&&t<s&&i("InclusiveMinimum",s),void 0!==o&&t.length>o&&i("MaxItems",o),void 0!==l&&t.length>l&&i("MaxLength",l),void 0!==c&&t.length<c&&i("MinItems",c),void 0!==d&&t.length<d&&i("MinLength",d),void 0!==m&&t%m!=0&&i("MultipleOf",m),u){let e="string"==typeof u?new RegExp(u):u;("string"!=typeof t||null===t.match(e))&&i("Pattern",u)}p&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",p)}}serialize(e,t,r,i={xml:{}}){let n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},a={},s=e.type.name;r||(r=e.serializedName),null!==s.match(/^Sequence$/i)&&(a=[]),e.isConstant&&(t=e.defaultValue);let{required:o,nullable:l}=e;if(o&&l&&void 0===t)throw Error(`${r} cannot be undefined.`);if(o&&!l&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!o&&!1===l&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==s.match(/^any$/i)?a=t:null!==s.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?a=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&t5.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(s,r,t):null!==s.match(/^Enum$/i)?a=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==s.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?a=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!t6.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(s,t,r):null!==s.match(/^ByteArray$/i)?a=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=t2(t)}return t}(r,t):null!==s.match(/^Base64Url$/i)?a=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(t2(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==s.match(/^Sequence$/i)?a=function(e,t,r,i,n,a){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let s=t.type.element;if(!s||"object"!=typeof s)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===s.type.name&&s.type.className&&(s=e.modelMappers[s.type.className]??s);let o=[];for(let t=0;t<r.length;t++){let l=e.serialize(s,r[t],i,a);if(n&&s.xmlNamespace){let e=s.xmlNamespacePrefix?`xmlns:${s.xmlNamespacePrefix}`:"xmlns";"Composite"===s.type.name?o[t]={...l}:(o[t]={},o[t][a.xml.xmlCharKey]=l),o[t].$={[e]:s.xmlNamespace}}else o[t]=l}return o}(this,e,t,r,!!this.isXML,n):null!==s.match(/^Dictionary$/i)?a=function(e,t,r,i,n,a){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let s=t.type.value;if(!s||"object"!=typeof s)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let o={};for(let t of Object.keys(r)){let l=e.serialize(s,r[t],i,a);o[t]=rr(s,l,n,a)}return n&&t.xmlNamespace?(o.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},o):o}(this,e,t,r,!!this.isXML,n):null!==s.match(/^Composite$/i)&&(a=function(e,t,r,i,n,a){if(rn(e,t)&&(t=ri(e,t,r,"clientName")),null!=r){let s={},o=rt(e,t,i);for(let l of Object.keys(o)){let c,d=o[l];if(d.readOnly)continue;let m=s;if(e.isXML)c=d.xmlIsWrapped?d.xmlName:d.xmlElementName||d.xmlName;else{let e=t7(d.serializedName);for(let t of(c=e.pop(),e))null==m[t]&&(void 0!==r[l]&&null!==r[l]||void 0!==d.defaultValue)&&(m[t]={}),m=m[t]}if(null!=m){if(n&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";m.$={...m.$,[e]:t.xmlNamespace}}let s=""!==d.serializedName?i+"."+d.serializedName:i,o=r[l],u=rn(e,t);u&&u.clientName===l&&null==o&&(o=t.serializedName);let p=e.serialize(d,o,s,a);if(void 0!==p&&null!=c){let e=rr(d,p,n,a);n&&d.xmlIsAttribute?(m.$=m.$||{},m.$[c]=p):n&&d.xmlIsWrapped?m[c]={[d.xmlElementName]:e}:m[c]=e}}}let l=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=re(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(l){let t=Object.keys(o);for(let n of Object.keys(r))t.every(e=>e!==n)&&Object.defineProperty(s,n,{value:e.serialize(l,r[n],i+'["'+n+'"]',a),enumerable:!0,configurable:!0,writable:!0})}return s}return r}(this,e,t,r,!!this.isXML,n)),a}deserialize(e,t,r,i={xml:{}}){let n,a={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let s=e.type.name;if(r||(r=e.serializedName),null!==s.match(/^Composite$/i))n=function(e,t,r,i,n){let a=n.xml.xmlCharKey??"_";rn(e,t)&&(t=ri(e,t,r,"serializedName"));let s=rt(e,t,i),o={},l=[];for(let c of Object.keys(s)){let d=s[c],m=t7(s[c].serializedName);l.push(m[0]);let{serializedName:u,xmlName:p,xmlElementName:h}=d,g=i;""!==u&&void 0!==u&&(g=i+"."+u);let f=d.headerCollectionPrefix;if(f){let t={};for(let i of Object.keys(r))i.startsWith(f)&&(t[i.substring(f.length)]=e.deserialize(d.type.value,r[i],g,n)),l.push(i);o[c]=t}else if(e.isXML)if(d.xmlIsAttribute&&r.$)o[c]=e.deserialize(d,r.$[p],g,n);else if(d.xmlIsMsText)void 0!==r[a]?o[c]=r[a]:"string"==typeof r&&(o[c]=r);else{let t=h||p||u;if(d.xmlIsWrapped){let t=r[p],i=t?.[h]??[];Object.defineProperty(o,c,{value:e.deserialize(d,i,g,n),enumerable:!0,configurable:!0,writable:!0}),l.push(p)}else{let i=r[t];o[c]=e.deserialize(d,i,g,n),l.push(t)}}else{let i,a,l=r,u=0;for(let e of m){if(!l)break;u++,l=l[e]}null===l&&u<m.length&&(l=void 0),i=l;let p=t.type.polymorphicDiscriminator;if(p&&c===p.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[c])&&""===s[c].serializedName){i=r[c];let t=e.deserialize(d,i,g,n);for(let[e,r]of Object.entries(o))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);o=t}else(void 0!==i||void 0!==d.defaultValue)&&(a=e.deserialize(d,i,g,n),o[c]=a)}}let c=t.type.additionalProperties;if(c){let t=e=>{for(let t of Object.keys(s))if(t7(s[t].serializedName)[0]===e)return!1;return!0};for(let a of Object.keys(r))if(t(a)){let t=e.deserialize(c,r[a],i+'["'+a+'"]',n);Object.defineProperty(o,a,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!n.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==o[e]||l.includes(e)||["$",n.xml.xmlCharKey].includes(e)||Object.defineProperty(o,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return o}(this,e,t,r,a);else{if(this.isXML){let e=a.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==s.match(/^Number$/i)?isNaN(n=parseFloat(t))&&(n=t):null!==s.match(/^Boolean$/i)?n="true"===t||"false"!==t&&t:null!==s.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?n=t:null!==s.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?n=new Date(t):null!==s.match(/^UnixTime$/i)?n=function(e){if(e)return new Date(1e3*e)}(t):null!==s.match(/^ByteArray$/i)?n=t3(t):null!==s.match(/^Base64Url$/i)?n=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return t3(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==s.match(/^Sequence$/i)?n=function(e,t,r,i,n){let a=t.type.element;if(!a||"object"!=typeof a)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===a.type.name&&a.type.className&&(a=e.modelMappers[a.type.className]??a);let t=[];for(let s=0;s<r.length;s++)t[s]=e.deserialize(a,r[s],`${i}[${s}]`,n);return t}return r}(this,e,t,r,a):null!==s.match(/^Dictionary$/i)&&(n=function(e,t,r,i,n){let a=t.type.value;if(!a||"object"!=typeof a)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let s of Object.keys(r))t[s]=e.deserialize(a,r[s],i,n);return t}return r}(this,e,t,r,a))}return e.isConstant&&(n=e.defaultValue),n}}function t9(e={},t=!1){return new t8(e,t)}function t7(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function re(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function rt(e,t,r){let i=t.type.modelProperties;if(!i){let n=re(e,t,r);if(!n)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=n?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(n)}" of type "${t.type.className}" for object "${r}".`)}return i}function rr(e,t,r,i){if(!r||!e.xmlNamespace)return t;let n={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=n,e}let a={};return a[i.xml.xmlCharKey]=t,a.$=n,a}function ri(e,t,r,i){let n=rn(e,t);if(n){let a=n[i];if(a){"serializedName"===i&&(a=a.replace(/\\/gi,""));let n=r[a],s=t.type.uberParent??t.type.className;if("string"==typeof n&&s){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),n=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,n))return e[n];for(let[t,n]of Object.entries(e))t.startsWith(r+".")&&n.type.uberParent===r&&n.type.className&&i.push(n.type.className)}}(e.modelMappers.discriminators,n,s);r&&(t=r)}}}return t}function rn(e,t){return t.type.polymorphicDiscriminator||ra(e,t.type.uberParent)||ra(e,t.type.className)}function ra(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let rs="Sequence",ro="Stream",rl=i(5997).w;function rc(e,t,r){let i,n=t.parameterPath,a=t.mapper;if("string"==typeof n&&(n=[n]),Array.isArray(n)){if(n.length>0)if(a.isConstant)i=a.defaultValue;else{let t=rd(e,n);!t.propertyFound&&r&&(t=rd(r,n));let s=!1;t.propertyFound||(s=a.required||"options"===n[0]&&2===n.length),i=s?a.defaultValue:t.propertyValue}}else for(let[t,s]of(a.required&&(i={}),Object.entries(n))){let n=rc(e,{parameterPath:s,mapper:a.type.modelProperties[t]},r);void 0!==n&&(i||(i={}),Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}))}return i}function rd(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let rm=Symbol.for("@azure/core-client original request");function ru(e){if(rm in e)return ru(e[rm]);let t=rl.operationRequestMap.get(e);return t||(t={},rl.operationRequestMap.set(e,t)),t}let rp=["application/json","text/json"],rh=["application/xml","application/atom+xml"];async function rg(e,t,r,i,n){let a,s,o,l,c,d=await rf(e,t,r,i,n);if(a=ru(d.request),!(void 0===(s=a?.shouldDeserialize)||("boolean"==typeof s?s:s(d))))return d;let m=ru(d.request),u=m?.operationSpec;if(!u||!u.responses)return d;let p=(l=ru(d.request),(c=l?.operationSpec)&&(o=l?.operationResponseGetter?l?.operationResponseGetter(c,d):c.responses[d.status]),o),{error:h,shouldReturnResponse:g}=function(e,t,r,i){let n,a=200<=e.status&&e.status<300;if(0===(n=Object.keys(t.responses)).length||1===n.length&&"default"===n[0]?a:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let s=r??t.responses.default,o=new eX(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!s&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw o;let l=s?.bodyMapper,c=s?.headersMapper;try{if(e.parsedBody){let r,n=e.parsedBody;if(l){let e=n;if(t.isXML&&l.type.name===rs){e=[];let t=l.xmlElementName;"object"==typeof n&&t&&(e=n[t])}r=t.serializer.deserialize(l,e,"error.response.parsedBody",i)}let a=n.error||r||n;o.code=a.code,a.message&&(o.message=a.message),l&&(o.response.parsedBody=r)}e.headers&&c&&(o.response.parsedHeaders=t.serializer.deserialize(c,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){o.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:o,shouldReturnResponse:!1}}(d,u,p,i);if(h)throw h;if(g)return d;if(p){if(p.bodyMapper){let e=d.parsedBody;u.isXML&&p.bodyMapper.type.name===rs&&(e="object"==typeof e?e[p.bodyMapper.xmlElementName]:[]);try{d.parsedBody=u.serializer.deserialize(p.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new eX(`Error ${e} occurred in deserializing the responseBody - ${d.bodyAsText}`,{statusCode:d.status,request:d.request,response:d})}}else"HEAD"===u.httpMethod&&(d.parsedBody=r.status>=200&&r.status<300);p.headersMapper&&(d.parsedHeaders=u.serializer.deserialize(p.headersMapper,d.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return d}async function rf(e,t,r,i,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let a=r.bodyAsText,s=r.headers.get("Content-Type")||"",o=s?s.split(";").map(e=>e.toLowerCase()):[];try{if(0===o.length||o.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(a);else if(o.some(e=>-1!==t.indexOf(e))){if(!n)throw Error("Parsing XML not supported.");r.parsedBody=await n(a,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||eX.PARSE_ERROR;throw new eX(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function ry(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function rA(e={}){var t,r,i,n,a;let s,o,l,c,d,m,u=(t=e??{},o=eL.create(),t.agent&&o.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&o.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),o.addPolicy((n=t.proxyOptions,a=void 0,tl||to.push(...(l=td("NO_PROXY"),(tl=!0,l)?l.split(",").map(e=>e.trim()).filter(e=>e.length):[])),d=n?tu(n):(c=tm())?new URL(c):void 0,m={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&d&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let n=!1;for(let e of t)"."===e[0]?i.endsWith(e)?n=!0:i.length===e.length-1&&i===e.slice(1)&&(n=!0):i===e&&(n=!0);return r?.set(i,n),n}(e.url,a?.customNoProxyList??to,a?.customNoProxyList?void 0:tc)?tp(e,m,d):e.proxySettings&&tp(e,m,tu(e.proxySettings)),t(e))})),o.addPolicy({name:tP,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),o.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=tj(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),o.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await tn(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[tI]}),o.addPolicy(function(e={}){let t=tO(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(tk)||e.headers.set(tk,await t),r(e))}}(t.userAgentOptions)),o.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),o.addPolicy((s={name:tI,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",n=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,a,s]=n;if(s&&r&&s!==r)throw Error(`Multipart boundary was specified as ${s} in the header, but got ${r} in the request body`);if(r??=s){var o=r;if(o.length>70)throw Error(`Multipart boundary "${o}" exceeds maximum length of 70 characters`);if(Array.from(o).some(e=>!tw.has(e)))throw Error(`Multipart boundary "${o}" contains invalid characters`)}else r=`----AzSDKFormBoundary${e_()}`;return e.headers.set("Content-Type",`${a}; boundary=${r}`),await tS(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:tI,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;tM(t.body)&&(t.body=tM(r=t.body)?r[tT]():r)}return s.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),o.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||tr;return{name:"retryPolicy",async sendRequest(i,n){let a,s,o=-1;e:for(;;){o+=1,a=void 0,s=void 0;try{r.info(`Retry ${o}: Attempting to send request`,i.requestId),a=await n(i),r.info(`Retry ${o}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${o}: Received an error from request`,i.requestId),!eV(e))throw e;s=e,a=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${o}: Request aborted.`),new ep;if(o>=(t.maxRetries??3)){if(r.info(`Retry ${o}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),s)throw s;if(a)return a;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${o}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${o}: Processing retry strategy ${t.name}.`);let n=t.retry({retryCount:o,response:a,responseError:s});if(n.skipStrategy){e.info(`Retry ${o}: Skipped.`);continue}let{errorToThrow:l,retryAfterInMs:c,redirectTo:d}=n;if(l)throw e.error(`Retry ${o}: Retry strategy ${t.name} throws error:`,l),l;if(c||0===c){e.info(`Retry ${o}: Retry strategy ${t.name} retries after ${c}`),await function(e,t,r){return new Promise((i,n)=>{let a,s,o=()=>n(new ep(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),l=()=>{r?.abortSignal&&s&&r.abortSignal.removeEventListener("abort",s)};if(s=()=>(a&&clearTimeout(a),l(),o()),r?.abortSignal&&r.abortSignal.aborted)return o();a=setTimeout(()=>{l(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",s)})}(c,void 0,{abortSignal:i.abortSignal});continue e}if(d){e.info(`Retry ${o}: Retry strategy ${t.name} redirects to ${d}`),i.url=d;continue e}}if(s)throw r.info("None of the retry strategies could work with the received error. Throwing it."),s;if(a)return r.info("None of the retry strategies could work with the received response. Returning it."),a}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=tt(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:n,responseError:a}){var s,o,l,c,d;let m,u,p=!!(c=a)&&("ETIMEDOUT"===c.code||"ESOCKETTIMEDOUT"===c.code||"ECONNREFUSED"===c.code||"ECONNRESET"===c.code||"ENOENT"===c.code||"ENOTFOUND"===c.code),h=p&&e.ignoreSystemErrors,g=!!((d=n)&&void 0!==d.status&&(d.status>=500||408===d.status)&&501!==d.status&&505!==d.status),f=g&&e.ignoreHttpStatusCodes;return n&&(Number.isFinite(tt(n))||!g)||f||h?{skipStrategy:!0}:!a||p||g?(m=(s={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(u=Math.min(s.maxRetryDelayInMs,m))/2+(o=0,l=u/2,o=Math.ceil(o),Math.floor(Math.random()*((l=Math.floor(l))-o+1))+o)}):{errorToThrow:a}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),o.addPolicy(function(e={}){let t=tO(e.userAgentPrefix),r=new eJ({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return tq({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){tB.warning(`Error when creating the TracingClient: ${tQ(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,n){if(!i)return n(e);let a=await t,s={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":a,requestId:e.requestId};a&&(s["http.user_agent"]=a);let{span:o,tracingContext:l}=function(e,t,r){try{let{span:i,updatedOptions:n}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let a=e.createRequestHeaders(n.tracingOptions.tracingContext);for(let[e,r]of Object.entries(a))t.headers.set(e,r);return{span:i,tracingContext:n.tracingOptions.tracingContext}}catch(e){tB.warning(`Skipping creating a tracing span due to an error: ${tQ(e)}`);return}}(i,e,s)??{};if(!o||!l)return n(e);try{let t=await i.withContext(l,n,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){tB.warning(`Skipping tracing span processing due to an error: ${tQ(e)}`)}}(o,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:eq(t)?t:void 0}),eV(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){tB.warning(`Skipping tracing span processing due to an error: ${tQ(e)}`)}}(o,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),o.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:th,async sendRequest(e,i){let n=await i(e);return tf(i,n,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),o.addPolicy(function(e={}){return function(e={}){let t=e.logger??e2.info,r=new eJ({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let n=await i(e);return t(`Response status code: ${n.status}`),t(`Headers: ${r.sanitize({headers:n.headers})}`),n}}}({logger:tB.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),o);return e.credentialOptions&&u.addPolicy(tW({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),u.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=ru(e),n=i?.operationSpec,a=i?.operationArguments;return n&&a&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let n=rc(t,i);if(null!=n||i.mapper.required){n=r.serializer.serialize(i.mapper,n,ry(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(n))e.headers.set(t+r,n[r]);else e.headers.set(i.mapper.serializedName||ry(i),n)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,a,n),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let n=t.options?.serializerOptions,a={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},s=a.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=rc(t,r.requestBody);let n=r.requestBody.mapper,{required:o,serializedName:l,xmlName:c,xmlElementName:d,xmlNamespace:m,xmlNamespacePrefix:u,nullable:p}=n,h=n.type.name;try{if(void 0!==e.body&&null!==e.body||p&&null===e.body||o){let t=ry(r.requestBody);e.body=r.serializer.serialize(n,e.body,t,a);let o=h===ro;if(r.isXML){let t=u?`xmlns:${u}`:"xmlns",r=function(e,t,r,i,n){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[n.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(m,t,h,e.body,a);h===rs?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let n={[t]:e};return n.$={[r]:i},n}(r,d||c||l,t,m),{rootName:c||l,xmlCharKey:s}):o||(e.body=i(r,{rootName:c||l,xmlCharKey:s}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;o||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(l,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let n=rc(t,i);if(null!=n){let t=i.mapper.serializedName||ry(i);e.formData[t]=r.serializer.serialize(i.mapper,n,ry(i),a)}}}(e,a,n,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),u.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??rp,r=e.expectedContentTypes?.xml??rh,i=e.parseXML,n=e.serializerOptions,a={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,n)=>rg(t,r,await n(e),a,i)}}(e.deserializationOptions),{phase:"Deserialize"}),u}let rb={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function rx(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let rN=tv("core-client");class rC{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var t;let r,i;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&rN.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(a||(a=tG()),a),this.pipeline=e.pipeline||(r=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(t=e),i=t.credential&&r?{credentialScopes:r,credential:t.credential}:void 0,rA({...t,credentialOptions:i})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new eU({url:function(e,t,r,i){let n=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let n of e.urlParameters){let a=rc(t,n,r),s=ry(n);a=e.serializer.serialize(n.mapper,a,s),n.skipEncoding||(a=encodeURIComponent(a)),i.set(`{${n.mapper.serializedName||s}}`,a)}return i}(t,r,i),a=!1,s=rx(e,n);if(t.path){let e=rx(t.path,n);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(s=e,a=!0):s=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let n=t.indexOf("?");if(-1!==n){let e=t.substring(0,n),a=t.substring(n+1);i+=e,a&&(r.search=r.search?`${r.search}&${a}`:a)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(s,e)}let{queryParams:o,sequenceParams:l}=function(e,t,r){let i=new Map,n=new Set;if(e.queryParameters?.length)for(let a of e.queryParameters){"Sequence"===a.mapper.type.name&&a.mapper.serializedName&&n.add(a.mapper.serializedName);let s=rc(t,a,r);if(null!=s||a.mapper.required){s=e.serializer.serialize(a.mapper,s,ry(a));let t=a.collectionFormat?rb[a.collectionFormat]:"";if(Array.isArray(s)&&(s=s.map(e=>null==e?"":e)),"Multi"===a.collectionFormat&&0===s.length)continue;Array.isArray(s)&&("SSV"===a.collectionFormat||"TSV"===a.collectionFormat)&&(s=s.join(t)),a.skipEncoding||(s=Array.isArray(s)?s.map(e=>encodeURIComponent(e)):encodeURIComponent(s)),Array.isArray(s)&&("CSV"===a.collectionFormat||"Pipes"===a.collectionFormat)&&(s=s.join(t)),i.set(a.mapper.serializedName||ry(a),s)}}return{queryParams:i,sequenceParams:n}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let n=new URL(e),a=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),n=t.get(e);n?Array.isArray(n)?n.push(i):t.set(e,[n,i]):t.set(e,i)}return t}(n.search);for(let[e,n]of t){let t=a.get(e);if(Array.isArray(t))if(Array.isArray(n)){t.push(...n);let r=new Set(t);a.set(e,Array.from(r))}else t.push(n);else t?(Array.isArray(n)?n.unshift(t):r.has(e)&&a.set(e,[t,n]),i||a.set(e,n)):a.set(e,n)}let s=[];for(let[e,t]of a)if("string"==typeof t)s.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)s.push(`${e}=${r}`);else s.push(`${e}=${t}`);return n.search=s.length?`?${s.join("&")}`:"",n.toString()}(s,o,l,a)}(r,t,e,this)});i.method=t.httpMethod;let n=ru(i);n.operationSpec=t,n.operationArguments=e;let a=t.contentType||this._requestContentType;a&&t.requestBody&&i.headers.set("Content-Type",a);let s=e.options;if(s){let e=s.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(n.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),s.abortSignal&&(i.abortSignal=s.abortSignal),s.tracingOptions&&(i.tracingOptions=s.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===ro&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=t4(e,t.responses[e.status]);return s?.onResponse&&s.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=t4(r,t.responses[e.statusCode]||t.responses.default);e.details=i,s?.onResponse&&s.onResponse(r,i,e)}throw e}}}let rS="authorization",rI=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,n=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),a=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,n),s=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(n);if(!s)return!1;let o=await e.getAccessToken(a,{...r,tenantId:s});return!!o&&(e.request.headers.set(rS,`${o.tokenType??"Bearer"} ${o.token}`),!0)}return!1},rw=Symbol("Original PipelineRequest"),rE=Symbol.for("@azure/core-client original request"),rv=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function rB(e,t={}){let r=e[rw],i=eQ(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new eU({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[rE]=t.originalRequest),r}}function rP(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:rR(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,n,a)=>n===rw?e:"clone"===n?()=>rP(rB(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,n,a),set:(t,r,i,n)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&rv.has(r)&&(e[r]=i),Reflect.set(t,r,i,n))}):i}function rR(e){return new rk(e.toJSON({preserveCase:!0}))}function rO(e){return e.toLowerCase()}class rk{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[rO(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[rO(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[rO(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[rO(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[rO(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new rk(e)}}let rT=Symbol("Original FullOperationResponse");function rM(e,t){let r=rP(e.request),i=rR(e.headers);return t?.createProxy?new Proxy(e,{get:(t,n,a)=>"headers"===n?i:"request"===n?r:n===rT?e:Reflect.get(t,n,a),set:(e,t,n,a)=>("headers"===t?i=n:"request"===t&&(r=n),Reflect.set(e,t,n,a))}):{...e,request:r,headers:i}}function rD(e){let t=e[rT],r=eQ(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:rB(e.request)}}class rz extends rC{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===t1)||this.pipeline.addPolicy({name:t1,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:th})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,n){r=e,i&&i(e,t,n)}};let n=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(n,"_response",{value:rM(r)}),n}}(m=E||(E={}))[m.ERROR=1]="ERROR",m[m.INFO=3]="INFO",m[m.OFF=0]="OFF",m[m.WARNING=2]="WARNING";let rQ={log(e,t){},shouldLog:e=>!1};class r_{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},n=null,a=e,s=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(s&&(a=s[1]+s[3],s[2])){let e=s[2].slice(1,-1);e&&(n=e)}let o=a;if(a.includes("::")){let r=a.indexOf("::");if(t=a.substring(0,r).trim(),o=a.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let l=null;if(o.includes(":")){let e=o.lastIndexOf(":"),t=o.substring(0,e).trim(),i=o.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,l=i):r=o}else r=o;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),n)if(n.includes("=")){let e=n.indexOf("=");i.attrName=n.substring(0,e).trim(),i.attrValue=n.substring(e+1).trim()}else i.attrName=n.trim();if(l){let e=l.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=l}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class rU{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class rH{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new rU(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length,a=this.siblingStacks[n];a||(a={counts:new Map,total:0},this.siblingStacks[n]=a);let s=r?`${r}:${e}`:e,o=a.counts.get(s)||0,l=a.total;a.counts.set(s,o+1),a.total++;let c={tag:e,position:l,counter:o};null!=r&&(c.namespace=r),null!=t&&(c.values=t),this.path.push(c);let d=this.path.length,m=null!==i?i.keep:null;if(null!=m&&m.length>0&&t)for(let e=0;e<m.length;e++){let r=m[e];void 0!==t[r]&&this._keptAttrs.push({depth:d,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],n=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,n=!0;break}if(!n)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function rL(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function rF(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function rq(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let rj=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",rG=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",rY=(e,t,r="")=>{let i=e.replace(":",""),n=t.replace(":",""),a=`[${i}][${n}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${a}$`,r),qName:RegExp(`^${a}(?::${a})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},r$=rY(rj,rj+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),rJ=rY(rG,rG+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),rK=":A-Za-z_",rX=rY(rK,rK+"\\-\\.\\d"),rV=(e="1.0",t=!1)=>t?rX:"1.1"===e?rJ:r$,rW=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>rV(t,r).qName.test(e),rZ=["name","ncName","qName","nmToken","nmTokens"],r0=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!rZ.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${rZ.join(", ")}`);let n=rV(t,r)[e],a=new Map,s=e=>{let t=a.get(e);if(void 0!==t)return t;let r=n.test(e);return a.size<i&&a.set(e,r),r};return s.reset=()=>{a=new Map},s};function r1(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function r2(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function r3(e,t,r,i,n){let a="";if(e&&!t.ignoreAttributes)for(let s in e){let o;if(!Object.prototype.hasOwnProperty.call(e,s))continue;let l=s.substr(t.attributeNamePrefix.length),c=r?l:r1(l,!0,t,i,n);!0===(o=r?e[s]:r6(o=t.attributeValueProcessor(s,e[s]),t))&&t.suppressBooleanAttributes?a+=` ${c}`:a+=` ${c}="${rq(o)}"`}return a}function r6(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let r5={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function r4(e){if(this.options=Object.assign({},r5,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new r_(t)):t instanceof r_&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=ie}this.processTextOrObjNode=r9,this.options.format?(this.indentate=r7,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function r8(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function r9(e,t,r,i,n){let a=this.extractAttributes(e);if(i.push(t,a),this.checkStopNode(i)){let n=this.buildRawContent(e),a=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(n,t,a,r)}let s=this.j2x(e,r+1,i,n);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,s.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,s.attrStr,r,i):this.buildObjectNode(s.val,t,s.attrStr,r)}function r7(e){return this.options.indentBy.repeat(e)}function ie(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}r4.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new r_(r)):r instanceof r_&&i.push(r)}let n=r0("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===r2(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,n,a,s){let o="",l=!1;if(r.maxNestedTags&&n.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return r6(e,r)}return""}for(let c=0;c<t.length;c++){let d,m=t[c],u=r2(m);if(void 0===u)continue;let p=u===r.textNodeName||u===r.cdataPropName||u===r.commentPropName||"?"===u[0]?u:r1(u,!1,r,n,s),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n.startsWith(t.attributeNamePrefix)?n.substr(t.attributeNamePrefix.length):n]=rq(e[n]),i=!0);return i?r:null}(m[":@"],r);n.push(p,h);let g=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(n,a);if(p===r.textNodeName){let e=m[u];g||(e=r6(e=r.tagValueProcessor(p,e),r)),l&&(o+=i),o+=e,l=!1,n.pop();continue}if(p===r.cdataPropName){l&&(o+=i);let e=rF(m[u][0][r.textNodeName]);o+=`<![CDATA[${e}]]>`,l=!1,n.pop();continue}if(p===r.commentPropName){let e=rL(m[u][0][r.textNodeName]);o+=i+`<!--${e}-->`,l=!0,n.pop();continue}else if("?"===p[0]){let e=r3(m[":@"],r,g,n,s);o+=("?xml"===p?"":i)+`<${p}${e}?>`,l=!0,n.pop();continue}let f=i;""!==f&&(f+=r.indentBy);let y=r3(m[":@"],r,g,n,s),A=i+`<${p}${y}`;d=g?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let n=0;n<t.length;n++){let a=t[n],s=r2(a);if(s===r.textNodeName)i+=a[s];else if(s===r.cdataPropName)i+=a[s][0][r.textNodeName];else if(s===r.commentPropName)i+=a[s][0][r.textNodeName];else if(s&&"?"===s[0])continue;else if(s){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=e[i];!0===n&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${rq(n)}"`}return r}(a[":@"],r),n=e(a[s],r);n&&0!==n.length?i+=`<${s}${t}>${n}</${s}>`:i+=`<${s}${t}/>`}}return i}(m[u],r):e(m[u],r,f,n,a,s),-1!==r.unpairedTags.indexOf(p)?r.suppressUnpairedNode?o+=A+">":o+=A+"/>":(!d||0===d.length)&&r.suppressEmptyNode?o+=A+"/>":d&&d.endsWith(">")?o+=A+`>${d}${i}</${p}>`:(o+=A+">",d&&""!==i&&(d.includes("/>")||d.includes("</"))?o+=i+r.indentBy+d+i:o+=d,o+=`</${p}>`),l=!0,n.pop()}return o}(e,t,r,new rH,i,n)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new rH,r=r0("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},r4.prototype.j2x=function(e,t,r,i){let n="",a="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let s=this.options.jPath?r.toString():r,o=this.checkStopNode(r);for(let l in e){if(!Object.prototype.hasOwnProperty.call(e,l))continue;let c=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||"?"===l[0]?l:r8(l,!1,this.options,r,i);if(void 0===e[l])this.isAttribute(l)&&(a+="");else if(null===e[l])this.isAttribute(l)||c===this.options.cdataPropName||c===this.options.commentPropName?a+="":"?"===c[0]?a+=this.indentate(t)+"<"+c+"?"+this.tagEndChar:a+=this.indentate(t)+"<"+c+"/"+this.tagEndChar;else if(e[l]instanceof Date)a+=this.buildTextValNode(e[l],c,"",t,r);else if("object"!=typeof e[l]){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,s)){let t=r8(d,!0,this.options,r,i);n+=this.buildAttrPairStr(t,""+e[l],o)}else if(!d)if(l===this.options.textNodeName){let t=this.options.tagValueProcessor(l,""+e[l]);a+=this.replaceEntitiesValue(t)}else{r.push(c);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[l];""===r?a+=this.indentate(t)+"<"+c+this.closeTag(c)+this.tagEndChar:a+=this.indentate(t)+"<"+c+">"+r+"</"+c+this.tagEndChar}else a+=this.buildTextValNode(e[l],c,"",t,r)}}else if(Array.isArray(e[l])){let n=e[l].length,s="",o="";for(let d=0;d<n;d++){let n=e[l][d];if(void 0===n);else if(null===n)"?"===c[0]?a+=this.indentate(t)+"<"+c+"?"+this.tagEndChar:a+=this.indentate(t)+"<"+c+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){r.push(c);let e=this.j2x(n,t+1,r,i);r.pop(),s+=e.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(o+=e.attrStr)}else s+=this.processTextOrObjNode(n,c,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(c,n);s+=e=this.replaceEntitiesValue(e)}else{r.push(c);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+n;""===e?s+=this.indentate(t)+"<"+c+this.closeTag(c)+this.tagEndChar:s+=this.indentate(t)+"<"+c+">"+e+"</"+c+this.tagEndChar}else s+=this.buildTextValNode(n,c,"",t,r)}}this.options.oneListGroup&&(s=this.buildObjectNode(s,c,o,t)),a+=s}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let t=Object.keys(e[l]),a=t.length;for(let s=0;s<a;s++){let a=r8(t[s],!0,this.options,r,i);n+=this.buildAttrPairStr(a,""+e[l][t[s]],o)}}else a+=this.processTextOrObjNode(e[l],c,t,r,i)}return{attrStr:n,val:a}},r4.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+rq(t)+'"'},r4.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=rq(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=this.isAttribute(i);n&&(t[n]=rq(e[i]),r=!0)}return r?t:null},r4.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${n}/>`:t+=`<${r}${n}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),n=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${n}/>`:t+=`<${r}${n}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},r4.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,n=r[e];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+rq(n)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let n=e[r];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+rq(n)+'"'}}return t},r4.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n="</"+t+this.tagEndChar,a="";return("?"===t[0]&&(a="?",n=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+a+">"+e+n:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===a.length?this.indentate(i)+`<!--${rL(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+a+this.tagEndChar+e+this.indentate(i)+n}},r4.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},r4.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},r4.prototype.buildTextValNode=function(e,t,r,i,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=rF(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=rL(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n=this.options.tagValueProcessor(t,e);return""===(n=this.replaceEntitiesValue(n))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+n+"</"+t+this.tagEndChar}},r4.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let it=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ir=RegExp("^"+("["+it+"]["+it)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function ii(e,t){let r=[],i=t.exec(e);for(;i;){let n=[];n.startIndex=t.lastIndex-i[0].length;let a=i.length;for(let e=0;e<a;e++)n.push(i[e]);r.push(n),i=t.exec(e)}return r}let ia=function(e){return null!=ir.exec(e)},is=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],io=["__proto__","constructor","prototype"],il={allowBooleanAttributes:!1,unpairedTags:[]};function ic(e,t){t=Object.assign({},il,t);let r=[],i=!1,n=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let a=0;a<e.length;a++)if("<"===e[a]&&"?"===e[a+1]){if(a+=2,(a=im(e,a)).err)return a}else if("<"===e[a]){let s=a;if("!"===e[++a]){a=iu(e,a);continue}{let o=!1;"/"===e[a]&&(o=!0,a++);let l="";for(;a<e.length&&">"!==e[a]&&" "!==e[a]&&" "!==e[a]&&"\n"!==e[a]&&"\r"!==e[a];a++)l+=e[a];if("/"===(l=l.trim())[l.length-1]&&(l=l.substring(0,l.length-1),a--),!ia(l))return ig("InvalidTag",0===l.trim().length?"Invalid space after '<'.":"Tag '"+l+"' is an invalid name.",iy(e,a));let c=function(e,t){let r="",i="",n=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){n=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:n}}(e,a);if(!1===c)return ig("InvalidAttr","Attributes for '"+l+"' have open quote.",iy(e,a));let d=c.value;if(a=c.index,"/"===d[d.length-1]){let r=a-d.length,n=ih(d=d.substring(0,d.length-1),t);if(!0!==n)return ig(n.err.code,n.err.msg,iy(e,r+n.err.line));i=!0}else if(o)if(!c.tagClosed)return ig("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",iy(e,a));else{if(d.trim().length>0)return ig("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",iy(e,s));if(0===r.length)return ig("InvalidTag","Closing tag '"+l+"' has not been opened.",iy(e,s));let t=r.pop();if(l!==t.tagName){let r=iy(e,t.tagStartPos);return ig("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+l+"'.",iy(e,s))}0==r.length&&(n=!0)}else{let o=ih(d,t);if(!0!==o)return ig(o.err.code,o.err.msg,iy(e,a-d.length+o.err.line));if(!0===n)return ig("InvalidXml","Multiple possible root nodes found.",iy(e,a));-1!==t.unpairedTags.indexOf(l)||r.push({tagName:l,tagStartPos:s}),i=!0}for(a++;a<e.length;a++)if("<"===e[a])if("!"===e[a+1]){a=iu(e,++a);continue}else if("?"===e[a+1]){if((a=im(e,++a)).err)return a}else break;else if("&"===e[a]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,a);if(-1==t)return ig("InvalidChar","char '&' is not expected.",iy(e,a));a=t}else if(!0===n&&!id(e[a]))return ig("InvalidXml","Extra text at the end",iy(e,a));"<"===e[a]&&a--}}else{if(id(e[a]))continue;return ig("InvalidChar","char '"+e[a]+"' is not expected.",iy(e,a))}return i?1==r.length?ig("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",iy(e,r[0].tagStartPos)):!(r.length>0)||ig("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):ig("InvalidXml","Start tag expected.",1)}function id(e){return" "===e||" "===e||"\n"===e||"\r"===e}function im(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return ig("InvalidXml","XML declaration allowed only at the start of the document.",iy(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function iu(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let ip=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function ih(e,t){let r=ii(e,ip),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return ig("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",iA(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return ig("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",iA(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return ig("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",iA(r[e]));let n=r[e][2];if(!ia(n))return ig("InvalidAttr","Attribute '"+n+"' is an invalid name.",iA(r[e]));if(Object.prototype.hasOwnProperty.call(i,n))return ig("InvalidAttr","Attribute '"+n+"' is repeated.",iA(r[e]));i[n]=1}return!0}function ig(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function iy(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function iA(e){return e.startIndex+e[1].length}let ib=e=>is.includes(e)?"__"+e:e,ix={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:ib},iN=function(e){let t=Object.assign({},ix,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(is.some(e=>r===e.toLowerCase())||io.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=ib),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};s="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class iC{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][s]={startIndex:t})}static getMetaDataSymbol(){return s}}class iS{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let n=1,a=!1,s=!1;for(;t<e.length;t++)if("<"!==e[t]||s)if(">"===e[t]){if(s?"-"===e[t-1]&&"-"===e[t-2]&&(s=!1,n--):n--,0===n)break}else"["===e[t]?a=!0:e[t];else{if(a&&iw(e,"!ENTITY",t)){let n,a;if(t+=7,[n,a,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===a.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[n]=a,i++}}else if(a&&iw(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(a&&iw(e,"!ATTLIST",t))t+=8;else if(a&&iw(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(iw(e,"!--",t))s=!0;else throw Error("Invalid DOCTYPE");n++}if(0!==n)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=iI(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(iE(i,{xmlVersion:this.xmlVersion}),t=iI(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let n="";if([t,n]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&n.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${n.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,n,--t]}readNotationExp(e,t){let r=t=iI(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||iE(i,{xmlVersion:this.xmlVersion}),t=iI(e,t);let n=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==n&&"PUBLIC"!==n)throw Error(`Expected SYSTEM or PUBLIC, found "${n}"`);t+=n.length,t=iI(e,t);let a=null,s=null;if("PUBLIC"===n)[t,a]=this.readIdentifierVal(e,t,"publicIdentifier"),t=iI(e,t),('"'===e[t]||"'"===e[t])&&([t,s]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===n&&([t,s]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!s))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:a,systemIdentifier:s,index:--t}}readIdentifierVal(e,t,r){let i="",n=e[t];if('"'!==n&&"'"!==n)throw Error(`Expected quoted string, found "${n}"`);let a=++t;for(;t<e.length&&e[t]!==n;)t++;if(i=e.substring(a,t),e[t]!==n)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=iI(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!rW(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=iI(e,t);let n="";if("E"===e[t]&&iw(e,"MPTY",t))t+=4;else if("A"===e[t]&&iw(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(n=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:n.trim(),index:t}}readAttlistExp(e,t){let r=t=iI(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(iE(i,{xmlVersion:this.xmlVersion}),r=t=iI(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);if(!iE(n,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${n}"`);t=iI(e,t);let a="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(a="NOTATION",t+=8,t=iI(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let n=e.substring(i,t);if(!iE(n=n.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${n}"`);r.push(n),"|"===e[t]&&(t=iI(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,a+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(a+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(a.toUpperCase()))throw Error(`Invalid attribute type: "${a}"`)}t=iI(e,t);let s="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(s="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(s="#IMPLIED",t+=7):[t,s]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:n,attributeType:a,defaultValue:s,index:t}}}let iI=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function iw(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function iE(e,t){if(rW(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let iv=new Map,iB=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?iB[r-1632]=t:iv.set(r,t)}let iP=new Set([8722,65293,65123]),iR=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let n=e.charCodeAt(i);if((!(n>=48)||!(n<=57))&&45!==n){if(n<1632){if(iP.has(n)){r=i;break}continue}if(n>=55296&&n<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(n-55296<<10)+(t-56320);if(iv.has(e)){r=i;break}}}continue}if(255!==iB[n-1632]||iP.has(n)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let n=r;n<t;n++){let r=e.charCodeAt(n);if(r>=48&&r<=57||45===r){i.push(e[n]);continue}if(r<1632){i.push(iP.has(r)?"-":e[n]);continue}if(r>=55296&&r<=56319){if(n+1<t){let t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),a=iv.get(e);if(void 0!==a){i.push(String.fromCharCode(a+48)),n++;continue}}}i.push(e[n]);continue}if(iP.has(r)){i.push("-");continue}let a=iB[r-1632];i.push(255!==a?String.fromCharCode(a+48):e[n])}return i.join("")},iO=/^[-+]?0x[a-fA-F0-9]+$/,ik=/^0b[01]+$/,iT=/^0o[0-7]+$/,iM=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,iD={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},iz=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function iQ(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class i_{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,n=this._byDepthAndTag.get(i);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let a=this._wildcardByDepth.get(t);if(a){for(let t=0;t<a.length;t++)if(e.matches(a[t]))return a[t]}let s=this._deepByTerminalTag.get(r);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let iU={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},iH={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},iL={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},iF=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),iq=new Set("!?\\\\/[]$%{}^&*()<>|+");function ij(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(iq.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function iG(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let iY="external",i$="base",iJ=Object.freeze({allow:0,leave:1,remove:2,throw:3}),iK=new Set([9,10,13]);class iX{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??iY)&&t!==iY?"all"===t?["all"]:t===i$?[i$]:Array.isArray(t)?t:[iY]:[iY]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=iG(iH,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:iJ.allow,nullLevel:iJ.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:iJ[e.onNCR]??iJ.allow,nullLevel:Math.max(iJ[e.nullNCR]??iJ.remove,iJ.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let n=e(t,r);if(n===iF.BLOCK)return!1;if(n===iF.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))ij(t);if(!this._onExternalEntity){this._externalMap=iG(e);return}let t=iG(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){ij(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=iG(e);return}let t=iG(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,n=0,a=this._maxTotalExpansions>0,s=this._maxExpandedLength>0,o=a||s;for(;n<r;){let l,c;if(38!==e.charCodeAt(n)){n++;continue}let d=n+1;for(;d<r&&59!==e.charCodeAt(d)&&d-n<=32;)d++;if(d>=r||59!==e.charCodeAt(d)){n++;continue}let m=e.slice(n+1,d);if(0===m.length){n++;continue}if(this._removeSet.has(m))l="",void 0===c&&(c=iY);else if(this._leaveSet.has(m)){n++;continue}else if(35===m.charCodeAt(0)){let e=this._resolveNCR(m);if(void 0===e){n++;continue}l=e,c=i$}else{let e=this._resolveName(m);l=e?.value,c=e?.tier}if(void 0===l){n++;continue}if(n>i&&t.push(e.slice(i,n)),t.push(l),n=i=d+1,o&&this._tierCounts(c)){if(a&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(s){let e=l.length-(m.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let l=0===t.length?e:t.join("");return this._postCheck(l,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:iY}:e in this._externalMap?{value:this._externalMap[e],tier:iY}:e in this._baseMap?{value:this._baseMap[e],tier:i$}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!iK.has(e)?iJ.remove:-1}_applyNCRAction(e,t,r){switch(e){case iJ.allow:return String.fromCodePoint(r);case iJ.remove:return"";case iJ.leave:return;case iJ.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<iJ.remove)return;let n=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(n,e,t)}}let iV=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],iW=[...iV,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],iZ=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],i0=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],i1=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],i2=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],i3=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],i6="[\"'\\s]*:",i5=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${i6}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${i6}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${i6}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${i6}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${i6}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${i6}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${i6}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${i6}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${i6}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${i6}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${i6}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${i6}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${i6}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],i4=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];iZ.label="HTML",i0.label="XML",i1.label="SVG",iV.label="SQL",iW.label="SQL-STRICT",i2.label="SHELL",i3.label="REDOS",i5.label="NOSQL",i4.label="LOG",Object.freeze({HTML:iZ,XML:i0,SVG:i1,SQL:iV,"SQL-STRICT":iW,SHELL:i2,REDOS:i3,NOSQL:i5,LOG:i4});class i8{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=nr,this.parseTextData=i9,this.resolveNameSpace=i7,this.buildAttributesMap=nt,this.isItStopNode=ns,this.replaceEntitiesValue=nn,this.readStopNodeData=nc,this.saveTextToParentTag=na,this.addChild=ni,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...iH};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...iL,...iU}),this.entityDecoder=new iX({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[iZ,i0])?iF.ALLOW:iF.BLOCK})),this.matcher=new rH,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new i_;let n=this.options.stopNodes;if(n&&n.length>0){for(let e=0;e<n.length;e++){let t=n[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new r_(t)):t instanceof r_&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function i9(e,t,r,i,n,a,s){let o=this.options;if(void 0!==e&&(o.trimValues&&!i&&(e=e.trim()),e.length>0)){s||(e=this.replaceEntitiesValue(e,t,r));let i=o.jPath?r.toString():r,l=o.tagValueProcessor(t,e,i,n,a);return null==l?e:typeof l!=typeof e||l!==e?l:o.trimValues||e.trim()===e?nd(e,o.parseTagValue,o.numberParseOptions):e}}function i7(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let ne=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function nt(e,t,r,i=!1){let n=this.options;if(!0===i||!0!==n.ignoreAttributes&&"string"==typeof e){let i=ii(e,ne),a=i.length,s={},o=Array(a),l=!1,c={};for(let e=0;e<a;e++){let t=this.resolveNameSpace(i[e][1]),a=i[e][4];if(t.length&&void 0!==a){let i=a;n.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),o[e]=i,c[t]=i,l=!0}}l&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(c);let d=n.jPath?t.toString():this.readonlyMatcher,m=!1;for(let e=0;e<a;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,d))continue;let r=n.attributeNamePrefix+t;if(t.length)if(n.transformAttributeName&&(r=n.transformAttributeName(r)),r=nu(r,n),void 0!==i[e][4]){let i=o[e],a=n.attributeValueProcessor(t,i,d);null==a?s[r]=i:typeof a!=typeof i||a!==i?s[r]=a:s[r]=nd(i,n.parseAttributeValue,n.numberParseOptions),m=!0}else n.allowBooleanAttributes&&(s[r]=!0,m=!0)}if(!m)return;if(n.attributesGroupName&&!n.preserveOrder){let e={};return e[n.attributesGroupName]=s,e}return s}}let nr=function(e){e=e.replace(/\r\n?/g,"\n");let t=new iC("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n=this.options,a=new iS(n.processEntities),s=e.length;for(let o=0;o<s;o++)if("<"===e[o]){let l=e.charCodeAt(o+1);if(47===l){let t=no(e,">",o,"Closing Tag is not closed."),a=e.substring(o+2,t).trim();if(n.removeNSPrefix){let e=a.indexOf(":");-1!==e&&(a=a.substr(e+1))}a=nm(n.transformTagName,a,"",n).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let s=this.matcher.getCurrentTag();if(a&&n.unpairedTagsSet.has(a))throw Error(`Unpaired tag can not be used as closing tag: </${a}>`);s&&n.unpairedTagsSet.has(s)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",o=t}else if(63===l){let t=nl(e,o,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let s=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(s){let e=s[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),a.setXmlVersion(Number(e)||1)}if(n.ignoreDeclaration&&"?xml"===t.tagName||n.ignorePiTags);else{let e=new iC(t.tagName);e.add(n.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==n.ignoreAttributes&&(e[":@"]=s),this.addChild(r,e,this.readonlyMatcher,o)}o=t.closeIndex+1}else if(33===l&&45===e.charCodeAt(o+2)&&45===e.charCodeAt(o+3)){let t=no(e,"--\x3e",o+4,"Comment is not closed.");if(n.commentPropName){let a=e.substring(o+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:a}])}o=t}else if(33===l&&68===e.charCodeAt(o+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=a.readDocType(e,o);this.entityDecoder.addInputEntities(t.entities),o=t.i}else if(33===l&&91===e.charCodeAt(o+2)){let t=no(e,"]]>",o,"CDATA is not closed.")-2,a=e.substring(o+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let s=this.parseTextData(a,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==s&&(s=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:a}]):r.add(n.textNodeName,s),o=t+2}else{let a,l=nl(e,o,n.removeNSPrefix);if(!l){let t=e.substring(Math.max(0,o-50),Math.min(s,o+50));throw Error(`readTagExp returned undefined at position ${o}. Context: "${t}"`)}let c=l.tagName,d=l.rawTagName,m=l.tagExp,u=l.attrExpPresent,p=l.closeIndex;if({tagName:c,tagExp:m}=nm(n.transformTagName,c,m,n),n.strictReservedNames&&(c===n.commentPropName||c===n.cdataPropName||c===n.textNodeName||c===n.attributesGroupName))throw Error(`Invalid tag name: ${c}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&n.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let g=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(g=!0,m="/"===c[c.length-1]?c=c.substr(0,c.length-1):m.substr(0,m.length-1),u=c!==m);let f=null;a=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(d),c!==t.tagname&&this.matcher.push(c,{},a),c!==m&&u&&(f=this.buildAttributesMap(m,this.matcher,c))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(f,n),c!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let y=o;if(this.isCurrentNodeStopNode){let t="";if(g)o=l.closeIndex;else if(n.unpairedTagsSet.has(c))o=l.closeIndex;else{let r=this.readStopNodeData(e,d,p+1);if(!r)throw Error(`Unexpected end of ${d}`);o=r.i,t=r.tagContent}let i=new iC(c);f&&(i[":@"]=f),i.add(n.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,y)}else{if(g){({tagName:c,tagExp:m}=nm(n.transformTagName,c,m,n));let e=new iC(c);f&&(e[":@"]=f),this.addChild(r,e,this.readonlyMatcher,y),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(c)){let e=new iC(c);f&&(e[":@"]=f),this.addChild(r,e,this.readonlyMatcher,y),this.matcher.pop(),this.isCurrentNodeStopNode=!1,o=l.closeIndex;continue}else{let e=new iC(c);if(this.tagsNodeStack.length>n.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),f&&(e[":@"]=f),this.addChild(r,e,this.readonlyMatcher,y),r=e}i="",o=p}}}else i+=e[o];return t.child};function ni(e,t,r,i){this.options.captureMetaData||(i=void 0);let n=this.options.jPath?r.toString():r,a=this.options.updateTag(t.tagname,n,t[":@"]);!1===a||("string"==typeof a&&(t.tagname=a),e.addChild(t,i))}function nn(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,n)))return e}if(i.tagFilter){let n=this.options.jPath?r.toString():r;if(!i.tagFilter(t,n))return e}return this.entityDecoder.decode(e)}function na(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function ns(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function no(e,t,r,i){let n=e.indexOf(t,r);if(-1!==n)return n+t.length-1;throw Error(i)}function nl(e,t,r,i=">"){let n=function(e,t,r=">"){let i=0,n=e.length,a=r.charCodeAt(0),s=r.length>1?r.charCodeAt(1):-1,o="",l=t;for(let r=t;r<n;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===a){if(-1===s)return{data:o+=e.substring(l,r),index:r};else if(e.charCodeAt(r+1)===s)return{data:o+=e.substring(l,r),index:r}}else 9!==t||i||(o+=e.substring(l,r)+" ",l=r+1)}}(e,t+1,i);if(!n)return;let a=n.data,s=n.index,o=a.search(/\s/),l=a,c=!0;-1!==o&&(l=a.substring(0,o),a=a.substring(o+1).trimStart());let d=l;if(r){let e=l.indexOf(":");-1!==e&&(c=(l=l.substr(e+1))!==n.data.substr(e+1))}return{tagName:l,tagExp:a,closeIndex:s,attrExpPresent:c,rawTagName:d}}function nc(e,t,r){let i=r,n=1,a=e.length;for(;r<a;r++)if("<"===e[r]){let a=e.charCodeAt(r+1);if(47===a){let a=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,a).trim()===t&&0==--n)return{tagContent:e.substring(i,r),i:a};r=a}else if(63===a)r=no(e,"?>",r+1,"StopNode is not closed.");else if(33===a&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=no(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===a&&91===e.charCodeAt(r+2))r=no(e,"]]>",r,"StopNode is not closed.")-2;else{let i=nl(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&n++,r=i.closeIndex)}}}function nd(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},iD,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=iR(r)))return 0;if(t.hex&&iO.test(r))return iQ(r,16);{if(t.binary&&ik.test(r))return iQ(r,2);if(t.octal&&iT.test(r))return iQ(r,8);if(!isFinite(r)){var i,n=e,a=Number(r),s=t;switch(s.infinity.toLowerCase()){case"null":return null;case"infinity":return a;case"string":return a===1/0?"Infinity":"-Infinity";default:return n}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(iz);if(!i)return e;{let n=i[1]||"",a=-1===i[3].indexOf("e")?"E":"e",s=i[2],o=n?e[s.length+1]===a:e[s.length]===a;if(s.length>1&&o)return e;if(1===s.length&&(i[3].startsWith(`.${a}`)||i[3][0]===a))return Number(t);if(!(s.length>0))return Number(t);else if(r.leadingZeros&&!o)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let o=iM.exec(r);if(!o)return e;{let n=o[1]||"",a=o[2],s=((i=o[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),l=n?"."===e[a.length+1]:"."===e[a.length];if(!t.leadingZeros&&(a.length>1||1===a.length&&!l))return e;{let i=Number(r),o=String(i);if(0===i)return i;if(-1!==o.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===o)return i;else if(o===s)return i;else if(o===`${n}${s}`)return i;else return e;let l=a?s:r;return a?l===o||n+l===o?i:e:l===o||l===n+o?i:e}}}}(e,r)}return void 0!==e?e:""}function nm(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=nu(t,i),tagExp:r}}function nu(e,t){if(io.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return is.includes(e)?t.onDangerousProperty(e):e}let np=iC.getMetaDataSymbol();class nh{constructor(e){this.externalEntities={},this.options=iN(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=ic(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new i8(this.options,this.externalEntities),n=i.parseXml(e);return this.options.preserveOrder||void 0===n?n:(r=this.options,function e(t,r,i,n){let a,s={};for(let o=0;o<t.length;o++){let l=t[o],c=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(l);if(void 0!==c&&c!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(l[":@"]||{},r.attributeNamePrefix);i.push(c,e)}if(c===r.textNodeName)void 0===a?a=l[c]:a+=""+l[c];else if(void 0===c)continue;else if(l[c]){let t=e(l[c],r,i,n),a=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),l[":@"]?function(e,t,r,i){if(t){let n=Object.keys(t),a=n.length;for(let s=0;s<a;s++){let a=n[s],o=a.startsWith(i.attributeNamePrefix)?a.substring(i.attributeNamePrefix.length):a,l=i.jPath?r.toString()+"."+o:r;i.isArray(a,l,!0,!0)?e[a]=[t[a]]:e[a]=t[a]}}}(t,l[":@"],n,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==l[np]&&"object"==typeof t&&null!==t&&(t[np]=l[np]),void 0!==s[c]&&Object.prototype.hasOwnProperty.call(s,c))Array.isArray(s[c])||(s[c]=[s[c]]),s[c].push(t);else{let e=r.jPath?n.toString():n;r.isArray(c,e,a)?s[c]=[t]:s[c]=t}void 0!==c&&c!==r.textNodeName&&i.pop()}}return"string"==typeof a?a.length>0&&(s[r.textNodeName]=a):void 0!==a&&(s[r.textNodeName]=a),s}(n,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return iC.getMetaDataSymbol()}}function ng(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function nf(e,t={}){let r=function(e={}){return{...ng(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new r4(r),n={[r.rootNodeName]:e},a=i.build(n);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${a}`.replace(/\n/g,"")}async function ny(e,t={}){if(!e)throw Error("Document is empty");let r=ic(e);if(!0!==r)throw r;let i=new nh(function(e={}){return{...ng(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let nA=tv("storage-blob");var nb=i(4434);class nx extends e1.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,n=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,a=Math.min(n,i);if(a>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+a;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),a===n?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=a,r+=a}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let nN=t("node:buffer").constants.MAX_LENGTH;class nC{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/nN);for(let t=0;t<i;t++){let r=t===i-1?e%nN:nN;0===r&&(r=nN),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,n=0,a=0,s=0;for(;s<this._size;){let t=e[r],o=this.buffers[i],l=t.copy(o,n,a);s+=l,a+=l,n+=l,a===t.length&&(r++,a=0),n===o.length&&(i++,n=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(a))}getReadableStream(){return new nx(this.buffers,this.size)}}class nS{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new nb.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,n,a){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(n<=0)throw RangeError(`concurrency must be larger than 0, current is ${n}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=n,this.encoding=a}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new nC(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let nI=t("node:module");var nw=i(6760),nE=i(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(o=(0,nI.createRequire)(import.meta.url),l=(0,nE.fileURLToPath)(import.meta.url),c=(0,nw.dirname)(l));var nv=(u="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==l&&(u=u||l),function(e){var t,r,i,n,a,s,l,d,m,p,h=void 0!==(e=e||{})?e:{};h.ready=new Promise(function(e,t){i=e,n=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(h.ready,e)||Object.defineProperty(h.ready,e,{get:()=>j("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>j("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var g=Object.assign({},h),f=[],y="object"==typeof window,A="function"==typeof importScripts,b="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,x=!y&&!b&&!A;if(h.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var N="";if(b){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var C=o("fs"),S=o("path");N=A?S.dirname(N)+"/":c+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),f=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof K))throw e}),process.on("unhandledRejection",function(e){throw e}),h.inspect=function(){return"[Emscripten Module object]"}}else if(x){if("object"==typeof process&&"function"==typeof o||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?f=scriptArgs:"u">typeof arguments&&(f=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(y||A){if(A?N=self.location.href:"u">typeof document&&document.currentScript&&(N=document.currentScript.src),u&&(N=u),N=0!==N.indexOf("blob:")?N.substr(0,N.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var I=h.print||console.log.bind(console),w=h.printErr||console.warn.bind(console);function E(e,t){Object.getOwnPropertyDescriptor(h,e)||Object.defineProperty(h,e,{configurable:!0,get:function(){j("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function v(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(h,g),g=null,Object.getOwnPropertyDescriptor(h,t="fetchSettings")&&j("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),h.arguments&&(f=h.arguments),E("arguments","arguments_"),h.thisProgram&&h.thisProgram,E("thisProgram","thisProgram"),h.quit&&h.quit,E("quit","quit_"),P(void 0===h.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),P(void 0===h.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),P(void 0===h.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),P(void 0===h.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),P(void 0===h.read,"Module.read option was removed (modify read_ in JS)"),P(void 0===h.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),P(void 0===h.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),P(void 0===h.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),P(void 0===h.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),E("read","read_"),E("readAsync","readAsync"),E("readBinary","readBinary"),E("setWindowTitle","setWindowTitle"),P(!x,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),h.wasmBinary&&h.wasmBinary,E("wasmBinary","wasmBinary"),h.noExitRuntime,E("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&j("no native wasm support detected");var B=!1;function P(e,t){e||j("Assertion failed"+(t?": "+t:""))}var R="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function O(e){s=e,h.HEAP8=new Int8Array(e),h.HEAP16=new Int16Array(e),h.HEAP32=new Int32Array(e),h.HEAPU8=l=new Uint8Array(e),h.HEAPU16=new Uint16Array(e),h.HEAPU32=d=new Uint32Array(e),h.HEAPF32=new Float32Array(e),h.HEAPF64=new Float64Array(e)}h.STACK_SIZE&&P(5242880===h.STACK_SIZE,"the stack size can no longer be determined at runtime");var k=h.INITIAL_MEMORY||0x1000000;function T(){if(!B){var e=eo();0==e&&(e+=4);var t=d[e>>2],r=d[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&j("Stack overflow! Stack cookie has been overwritten at "+V(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+V(r)+" "+V(t)),0x63736d65!==d[0]&&j("Runtime error: The application has corrupted its heap memory area (address zero)!")}}E("INITIAL_MEMORY","INITIAL_MEMORY"),P(k>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+k+"! (STACK_SIZE=5242880)"),P("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),P(!h.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),P(0x1000000==k,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var M=new Int16Array(1),D=new Int8Array(M.buffer);if(M[0]=25459,115!==D[0]||99!==D[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var z=[],Q=[],_=[],U=!1;P(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),P(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),P(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),P(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var H=0,L=null,F=null,q={};function j(e){h.onAbort&&h.onAbort(e),w(e="Aborted("+e+")"),B=!0;var t=new WebAssembly.RuntimeError(e);throw n(t),t}var G={error:function(){j("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){G.error()},createDataFile:function(){G.error()},createPreloadedFile:function(){G.error()},createLazyFile:function(){G.error()},open:function(){G.error()},mkdev:function(){G.error()},registerDevice:function(){G.error()},analyzePath:function(){G.error()},loadFilesFromDB:function(){G.error()},ErrnoError:function(){G.error()}};function Y(e){return e.startsWith("file://")}function $(e,t){return function(){var r=t;return t||(r=h.asm),P(U,"native function `"+e+"` called before runtime initialization"),r[e]||P(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}h.FS_createDataFile=G.createDataFile,h.FS_createPreloadedFile=G.createPreloadedFile,(m="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=m,m=h.locateFile?h.locateFile(r,N):N+r);var J="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMFBgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYACgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwkcECC38AQZyRwQILfwBBsJHBAgt/AEGwkcECC38AQZKSwQILB/qEgIAAGwZtZW1vcnkCABFfX3dhc21fY2FsbF9jdG9ycwAFJWVtc2NyaXB0ZW5fYmluZF9Wb2lkUHRyX19fZGVzdHJveV9fXzAACCVlbXNjcmlwdGVuX2JpbmRfQ3JjNjRIYXNoX0NyYzY0SGFzaF8wAAkkZW1zY3JpcHRlbl9iaW5kX0NyYzY0SGFzaF9PbkFwcGVuZF8yAAsjZW1zY3JpcHRlbl9iaW5kX0NyYzY0SGFzaF9PbkZpbmFsXzMADCdlbXNjcmlwdGVuX2JpbmRfQ3JjNjRIYXNoX19fZGVzdHJveV9fXzAADRtfX2VtX2xpYl9kZXBzX3dlYmlkbF9iaW5kZXIDBCFfX2VtX2pzX19hcnJheV9ib3VuZHNfY2hlY2tfZXJyb3IDBRlfX2luZGlyZWN0X2Z1bmN0aW9uX3RhYmxlAQAQX19lcnJub19sb2NhdGlvbgAPBmZmbHVzaAAtBm1hbGxvYwARBG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aIAIgBjYCDCAGIAI2AggMAwsCQCADQRRqIgQoAgAiAg0AIAMoAhAiAkUNAiADQRBqIQQLA0AgBCEFIAIiBkEUaiIEKAIAIgINACAGQRBqIQQgBigCECICDQALIAVBADYCAAwCCyADIAJBfnE2AgQgASAAQQFyNgIEIAEgAGogADYCAAwDC0EAIQYLIAdFDQACQAJAIAMgAygCHCIEQQJ0QciUwQJqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBFGooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEAIAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQAgBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBAmohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZBBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNgIMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBfyAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAAKAI8EBUQAgsVAA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AAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function K(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function X(e){for(;e.length>0;)e.shift()(h)}function V(e){return"0x"+e.toString(16).padStart(8,"0")}function W(e){W.shown||(W.shown={}),W.shown[e]||(W.shown[e]=1,b&&(e="warning: "+e),w(e))}var Z=[null,[],[]],ee={abort:function(){j("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(P((e>>>=0)>t),e>0x80000000)return w("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var n=t*(1+.2/i);n=Math.min(n,e+0x6000000);var o=Math.min(0x80000000,r(Math.max(e,n),65536));if(function(e){try{return a.grow(e-s.byteLength+65535>>>16),O(a.buffer),1}catch(t){w("emscripten_realloc_buffer: Attempted to grow heap from "+s.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(o))return!0}return w("Failed to grow the heap from "+t+" bytes to "+o+" bytes, not enough memory!"),!1},fd_close:function(e){j("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,n){return 70},fd_write:function(e,t,r,i){for(var n=0,a=0;a<r;a++){var s=d[t>>2],o=d[t+4>>2];t+=8;for(var c=0;c<o;c++)!function(e,t){var r=Z[e];P(r),0===t||10===t?((1===e?I:w)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&R)return R.decode(e.subarray(t,i));for(var n="";t<i;){var a=e[t++];if(!(128&a)){n+=String.fromCharCode(a);continue}var s=63&e[t++];if((224&a)==192){n+=String.fromCharCode((31&a)<<6|s);continue}var o=63&e[t++];if((240&a)==224?a=(15&a)<<12|s<<6|o:((248&a)!=240&&W("Invalid UTF-8 leading byte "+V(a)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|o<<6|63&e[t++]),a<65536)n+=String.fromCharCode(a);else{var l=a-65536;n+=String.fromCharCode(55296|l>>10,56320|1023&l)}}return n}(r,0)),r.length=0):r.push(t)}(e,l[s+c]);n+=o}return d[i>>2]=n,0}};!function(){var e,t,r={env:ee,wasi_snapshot_preview1:ee};function i(e,t){h.asm=e.exports,P(a=h.asm.memory,"memory not found in wasm exports"),O(a.buffer),P(h.asm.__indirect_function_table,"table not found in wasm exports"),r=h.asm.__wasm_call_ctors,Q.unshift(r);var r,i="wasm-instantiate";if(H--,h.monitorRunDependencies&&h.monitorRunDependencies(H),i?(P(q[i]),delete q[i]):w("warning: run dependency removed without ID"),0==H&&(null!==L&&(clearInterval(L),L=null),F)){var n=F;F=null,n()}}e="wasm-instantiate",H++,h.monitorRunDependencies&&h.monitorRunDependencies(H),e?(P(!q[e]),q[e]=1,null===L&&"u">typeof setInterval&&(L=setInterval(function(){if(B){clearInterval(L),L=null;return}var e=!1;for(var t in q)e||(e=!0,w("still waiting on run dependencies:")),w("dependency: "+t);e&&w("(end of list)")},1e4))):w("warning: run dependency added without ID");var s=h;if(h.instantiateWasm)try{return h.instantiateWasm(r,i)}catch(e){w("Module.instantiateWasm callback failed with error: "+e),n(e)}(t=function(e){P(h===s,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),s=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(J,"base64");for(var e=window.atob(J),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){w("failed to asynchronously prepare wasm: "+e),Y(m)&&w("warning: Loading from a file URI ("+m+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),j(e)})).catch(n)}(),h.___wasm_call_ctors=$("__wasm_call_ctors");var et=h._emscripten_bind_VoidPtr___destroy___0=$("emscripten_bind_VoidPtr___destroy___0"),er=h._emscripten_bind_Crc64Hash_Crc64Hash_0=$("emscripten_bind_Crc64Hash_Crc64Hash_0"),ei=h._emscripten_bind_Crc64Hash_OnAppend_2=$("emscripten_bind_Crc64Hash_OnAppend_2"),en=h._emscripten_bind_Crc64Hash_OnFinal_3=$("emscripten_bind_Crc64Hash_OnFinal_3"),ea=h._emscripten_bind_Crc64Hash___destroy___0=$("emscripten_bind_Crc64Hash___destroy___0");h.___errno_location=$("__errno_location"),h._fflush=$("fflush"),h._malloc=$("malloc"),h._free=$("free");var es=h._emscripten_stack_init=function(){return(es=h._emscripten_stack_init=h.asm.emscripten_stack_init).apply(null,arguments)},eo=(h._emscripten_stack_get_free=function(){return(h._emscripten_stack_get_free=h.asm.emscripten_stack_get_free).apply(null,arguments)},h._emscripten_stack_get_base=function(){return(h._emscripten_stack_get_base=h.asm.emscripten_stack_get_base).apply(null,arguments)},h._emscripten_stack_get_end=function(){return(eo=h._emscripten_stack_get_end=h.asm.emscripten_stack_get_end).apply(null,arguments)});function el(e){var t,r;if(e=e||f,!(H>0)){if(es(),P((3&(t=eo()))==0),0==t&&(t+=4),d[t>>2]=0x2135467,d[t+4>>2]=0x89bacdfe,d[0]=0x63736d65,h.preRun)for("function"==typeof h.preRun&&(h.preRun=[h.preRun]);h.preRun.length;){r=h.preRun.shift(),z.unshift(r)}X(z),H>0||(h.setStatus?(h.setStatus("Running..."),setTimeout(function(){setTimeout(function(){h.setStatus("")},1),n()},1)):n(),T())}function n(){if(!p&&(p=!0,h.calledRun=!0,!B)){if(P(!U),U=!0,T(),X(Q),i(h),h.onRuntimeInitialized&&h.onRuntimeInitialized(),P(!h._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),T(),h.postRun)for("function"==typeof h.postRun&&(h.postRun=[h.postRun]);h.postRun.length;){var e;e=h.postRun.shift(),_.unshift(e)}X(_)}}}if(h.stackSave=$("stackSave"),h.stackRestore=$("stackRestore"),h.stackAlloc=$("stackAlloc"),h._emscripten_stack_get_current=function(){return(h._emscripten_stack_get_current=h.asm.emscripten_stack_get_current).apply(null,arguments)},h.dynCall_jiji=$("dynCall_jiji"),h.___start_em_js=5261488,h.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(h,e)||Object.defineProperty(h,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";v(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),j(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",v(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),W(t)}})}),F=function e(){p||el(),p||(F=e)},h.preInit)for("function"==typeof h.preInit&&(h.preInit=[h.preInit]);h.preInit.length>0;)h.preInit.pop()();function ec(){}function ed(e){return(e||ec).__cache__}function em(e,t){var r=ed(t),i=r[e];return i||((i=Object.create((t||ec).prototype)).ptr=e,r[e]=i)}function eu(){throw"cannot construct a VoidPtr, no constructor in IDL"}function ep(){this.ptr=er(),ed(ep)[this.ptr]=this}return el(),ec.prototype=Object.create(ec.prototype),ec.prototype.constructor=ec,ec.prototype.__class__=ec,ec.__cache__={},h.WrapperObject=ec,h.getCache=ed,h.wrapPointer=em,h.castObject=function(e,t){return em(e.ptr,t)},h.NULL=em(0),h.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ed(e.__class__)[e.ptr]},h.compare=function(e,t){return e.ptr===t.ptr},h.getPointer=function(e){return e.ptr},h.getClass=function(e){return e.__class__},eu.prototype=Object.create(ec.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},h.VoidPtr=eu,eu.prototype.__destroy__=eu.prototype.__destroy__=function(){et(this.ptr)},ep.prototype=Object.create(ec.prototype),ep.prototype.constructor=ep,ep.prototype.__class__=ep,ep.__cache__={},h.Crc64Hash=ep,ep.prototype.OnAppend=ep.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),ei(r,e,t)},ep.prototype.OnFinal=ep.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),en(i,e,t,r)},ep.prototype.__destroy__=ep.prototype.__destroy__=function(){ea(this.ptr)},e.ready});class nB{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new nB.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=nv().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=nB.nativeInstance._malloc(t);nB.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),nB.nativeInstance._free(r)}final(e,t){let r=nB.nativeInstance._malloc(t);nB.nativeInstance.HEAPU8.set(e,r);let i=nB.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),nB.nativeInstance._free(r);let n=new Uint8Array(8);return n.set(nB.nativeInstance.HEAPU8.subarray(i,i+8)),nB.nativeInstance._free(i),n}}(p=v||(v={}))[p.StreamHeader=0]="StreamHeader",p[p.StreamFooter=1]="StreamFooter",p[p.SegmentHeader=2]="SegmentHeader",p[p.SegmentFooter=3]="SegmentFooter",p[p.SegmentContent=4]="SegmentContent",p[p.Completed=5]="Completed";class nP{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=v.StreamHeader,this.segmentCrc64=new nB,this.messageCrc64=new nB}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===v.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===v.SegmentHeader&&this.handlingSegmentHeader(),this.state===v.SegmentContent&&this.handlingSegmentContent(e),this.state===v.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===v.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=v.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=v.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=v.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new nB,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=v.StreamFooter:this.state=v.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=v.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function nR(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof e1&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new nT(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new nT(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await nk(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new e1.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new nT(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=e1.Readable.from(Buffer.from(e)),i=await new nT(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=e1.Readable.from(e),i=await new nT(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=e1.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new nT(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function nO(e,t,r){let{done:i,value:n}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(n))}async function nk(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),n=new Response(new ReadableStream({start(e){r=new nP(t=>{e.enqueue(t)},t)},pull(e){nO(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await n.blob(),encodedContentLength:r.messageLength}}class nT extends e1.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new nP(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new tD("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(h=B||(B={}))[h.StreamHeader=0]="StreamHeader",h[h.StreamFooter=1]="StreamFooter",h[h.SegmentHeader=2]="SegmentHeader",h[h.SegmentFooter=3]="SegmentFooter",h[h.SegmentContent=4]="SegmentContent";class nM{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=B.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new nB,this.messageCrc64=new nB}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===B.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===B.SegmentHeader&&this.parseSegmentHeader(e),this.state===B.SegmentContent&&this.parseSegmentContent(e),this.state===B.SegmentFooter&&this.parseSegmentFooter(e);this.state===B.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=B.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=B.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=B.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=B.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new nB,this.state=B.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class nD extends e1.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new nM(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new tD("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class nz{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class nQ extends nz{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class n_{create(e,t){return new nQ(e,t)}}class nU extends nz{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class nH extends nU{constructor(e,t){super(e,t)}}class nL{create(e,t){throw Error("Method should be implemented in children classes.")}}class nF extends nL{create(e,t){return new nH(e,t)}}let nq="timeout",nj="Authorization",nG="Content-Encoding",nY="Content-Language",n$="Content-Length",nJ="Content-Md5",nK="Content-Type",nX="date",nV="if-match",nW="if-modified-since",nZ="if-none-match",n0="if-unmodified-since",n1="x-ms-",n2="Range",n3="x-ms-date",n6="x-ms-copy-source-error-code";function n5(e,t,r){let i=new URL(e),n=encodeURIComponent(t),a=r?encodeURIComponent(r):void 0,s=""===i.search?"?":i.search,o=[];for(let e of s.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&o.push(e)}return a&&o.push(`${n}=${a}`),i.search=o.length?`?${o.join("&")}`:"",i.toString()}function n4(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function n8(e){try{return new URL(e).pathname}catch(e){return}}function n9(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],n=t[1];i[r]=n}return i}async function n7(e,t,r){return new Promise((i,n)=>{let a,s=()=>{void 0!==a&&clearTimeout(a),n(r)};a=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",s),i()},e),void 0!==t&&t.addEventListener("abort",s)})}let ae=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),at=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),ar=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function ai(e,t){return!function(e,t){let r=[ae,at,ar],i=0,n=0,a=0;for(;i<r.length;){if(i===r.length-1&&n!==a)return n>a;let s=n<e.length?r[i][e[n].charCodeAt(0)]:1,o=a<t.length?r[i][t[a].charCodeAt(0)]:1;if(1===s&&1===o)n=0,a=0,++i;else if(s===o)++n,++a;else if(0===s)++n;else{if(0!==o)return s<o;++a}}return!1}(e,t)?1:-1}class an extends nU{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(n3,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(n$,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,nY),this.getHeaderValueToSign(e,nG),this.getHeaderValueToSign(e,n$),this.getHeaderValueToSign(e,nJ),this.getHeaderValueToSign(e,nK),this.getHeaderValueToSign(e,nX),this.getHeaderValueToSign(e,nW),this.getHeaderValueToSign(e,nV),this.getHeaderValueToSign(e,nZ),this.getHeaderValueToSign(e,n0),this.getHeaderValueToSign(e,n2)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(nj,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==n$||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(n1));t.sort((e,t)=>ai(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}getCanonicalizedResourceString(e){let t=n8(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=n9(e.url),n={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();n[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` +${t}:${decodeURIComponent(n[t])}`}return r}}class aa extends nL{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new an(e,t,this)}computeHMACSHA256(e){return(0,eu.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let as=tv("storage-common");(g=P||(P={}))[g.EXPONENTIAL=0]="EXPONENTIAL",g[g.FIXED=1]="FIXED";let ao={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:P.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},al=new tD("The operation was aborted.");class ac extends nz{retryOptions;constructor(e,t,r=ao){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:ao.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):ao.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:ao.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:ao.maxRetryDelayInMs):ao.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:ao.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:ao.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,n=e.clone(),a=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;a||(n.url=n4(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=n5(n.url,nq,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(as.info(`RetryPolicy: =====> Try=${r} ${a?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(n),!this.shouldRetry(a,r,i))return i;t=t||!a&&404===i.status}catch(e){if(as.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(a,r,i,e))throw e}return await this.delay(a,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return as.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return as.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return as.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return as.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(n6);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(as.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case P.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case P.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return as.info(`RetryPolicy: Delay for ${i}ms`),n7(i,r,al)}}class ad{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new ac(e,t,this.retryOptions)}}let am={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:P.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},au=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],ap=new tD("The operation was aborted.");class ah{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,eu.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let ag="12.33.0",af="2026-06-06",ay="snapshot",aA="versionid",ab=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],ax=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],aN=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function aC(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class aS{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function aI(e,t={}){e||(e=new nF);let r=new aS([],t);return r._credential=e,r}function aw(e){if(e._credential)return e._credential;let t=new nF;for(let r of e.factories)if(t0(r.credential))t=r.credential;else if(aE(r))return r;return t}function aE(e){return e instanceof aa||"StorageSharedKeyCredential"===e.constructor.name}function av(e){return e instanceof nF||"AnonymousCredential"===e.constructor.name}function aB(e){return t0(e.credential)}function aP(e){return e instanceof n_||"StorageBrowserPolicyFactory"===e.constructor.name}function aR(e){return e instanceof ad||"StorageRetryPolicyFactory"===e.constructor.name}function aO(e){return"TelemetryPolicyFactory"===e.constructor.name}function ak(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(R||(R={})).AES256="AES256",(O||(O={})).Backup="backup",(f=k||(k={})).NeverExpire="NeverExpire",f.RelativeToCreation="RelativeToCreation",f.RelativeToNow="RelativeToNow",f.Absolute="Absolute",(y=T||(T={})).AccountAlreadyExists="AccountAlreadyExists",y.AccountBeingCreated="AccountBeingCreated",y.AccountIsDisabled="AccountIsDisabled",y.AuthenticationFailed="AuthenticationFailed",y.AuthorizationFailure="AuthorizationFailure",y.ConditionHeadersNotSupported="ConditionHeadersNotSupported",y.ConditionNotMet="ConditionNotMet",y.EmptyMetadataKey="EmptyMetadataKey",y.InsufficientAccountPermissions="InsufficientAccountPermissions",y.InternalError="InternalError",y.InvalidAuthenticationInfo="InvalidAuthenticationInfo",y.InvalidHeaderValue="InvalidHeaderValue",y.InvalidHttpVerb="InvalidHttpVerb",y.InvalidInput="InvalidInput",y.InvalidMd5="InvalidMd5",y.InvalidMetadata="InvalidMetadata",y.InvalidQueryParameterValue="InvalidQueryParameterValue",y.InvalidRange="InvalidRange",y.InvalidResourceName="InvalidResourceName",y.InvalidUri="InvalidUri",y.InvalidXmlDocument="InvalidXmlDocument",y.InvalidXmlNodeValue="InvalidXmlNodeValue",y.Md5Mismatch="Md5Mismatch",y.MetadataTooLarge="MetadataTooLarge",y.MissingContentLengthHeader="MissingContentLengthHeader",y.MissingRequiredQueryParameter="MissingRequiredQueryParameter",y.MissingRequiredHeader="MissingRequiredHeader",y.MissingRequiredXmlNode="MissingRequiredXmlNode",y.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",y.OperationTimedOut="OperationTimedOut",y.OutOfRangeInput="OutOfRangeInput",y.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",y.RequestBodyTooLarge="RequestBodyTooLarge",y.ResourceTypeMismatch="ResourceTypeMismatch",y.RequestUrlFailedToParse="RequestUrlFailedToParse",y.ResourceAlreadyExists="ResourceAlreadyExists",y.ResourceNotFound="ResourceNotFound",y.ServerBusy="ServerBusy",y.UnsupportedHeader="UnsupportedHeader",y.UnsupportedXmlNode="UnsupportedXmlNode",y.UnsupportedQueryParameter="UnsupportedQueryParameter",y.UnsupportedHttpVerb="UnsupportedHttpVerb",y.AppendPositionConditionNotMet="AppendPositionConditionNotMet",y.BlobAlreadyExists="BlobAlreadyExists",y.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",y.BlobNotFound="BlobNotFound",y.BlobOverwritten="BlobOverwritten",y.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",y.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",y.BlockCountExceedsLimit="BlockCountExceedsLimit",y.BlockListTooLong="BlockListTooLong",y.CannotChangeToLowerTier="CannotChangeToLowerTier",y.CannotVerifyCopySource="CannotVerifyCopySource",y.ContainerAlreadyExists="ContainerAlreadyExists",y.ContainerBeingDeleted="ContainerBeingDeleted",y.ContainerDisabled="ContainerDisabled",y.ContainerNotFound="ContainerNotFound",y.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",y.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",y.CopyIdMismatch="CopyIdMismatch",y.FeatureVersionMismatch="FeatureVersionMismatch",y.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",y.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",y.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",y.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",y.InvalidBlobOrBlock="InvalidBlobOrBlock",y.InvalidBlobTier="InvalidBlobTier",y.InvalidBlobType="InvalidBlobType",y.InvalidBlockId="InvalidBlockId",y.InvalidBlockList="InvalidBlockList",y.InvalidOperation="InvalidOperation",y.InvalidPageRange="InvalidPageRange",y.InvalidSourceBlobType="InvalidSourceBlobType",y.InvalidSourceBlobUrl="InvalidSourceBlobUrl",y.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",y.LeaseAlreadyPresent="LeaseAlreadyPresent",y.LeaseAlreadyBroken="LeaseAlreadyBroken",y.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",y.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",y.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",y.LeaseIdMissing="LeaseIdMissing",y.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",y.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",y.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",y.LeaseLost="LeaseLost",y.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",y.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",y.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",y.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",y.NoAuthenticationInformation="NoAuthenticationInformation",y.NoPendingCopyOperation="NoPendingCopyOperation",y.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",y.PendingCopyOperation="PendingCopyOperation",y.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",y.PreviousSnapshotNotFound="PreviousSnapshotNotFound",y.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",y.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",y.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",y.SnapshotCountExceeded="SnapshotCountExceeded",y.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",y.SnapshotsPresent="SnapshotsPresent",y.SourceConditionNotMet="SourceConditionNotMet",y.SystemInUse="SystemInUse",y.TargetConditionNotMet="TargetConditionNotMet",y.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",y.BlobBeingRehydrated="BlobBeingRehydrated",y.BlobArchived="BlobArchived",y.BlobNotArchived="BlobNotArchived",y.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",y.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",y.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",y.AuthorizationServiceMismatch="AuthorizationServiceMismatch",y.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",y.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let aT={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},aM={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},aD={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},az={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},aQ={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},a_={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},aU={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},aH={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},aL={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},aF={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},aq={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},aj={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},aG={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},aY={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},a$={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},aJ={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},aK={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},aX={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},aV={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},aW={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},aZ={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},a0={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},a1={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},a2={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},a3={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},a6={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},a5={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},a4={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},a8={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},a9={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},a7={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},se={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},st={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},sr={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},si={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},sn={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},sa={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},ss={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},so={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},sl={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},sc={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},sd={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sm={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},su={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sp={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sh={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sg={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sf={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sy={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sA={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sb={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sx={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sN={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sC={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sS={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sI={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sw={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sE={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sv={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sB={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sP={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sR={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sO={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sk={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sT={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sM={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sD={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sz={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sQ={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s_={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sU={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sH={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sL={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sF={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},sq={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sj={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sG={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sY={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},s$={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sJ={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sK={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sX={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sV={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sW={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sZ={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s0={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},s1={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s2={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s3={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s6={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s5={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s4={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},s8={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s9={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},s7={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oe={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ot={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},or={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oi={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},on={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oa={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},os={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oo={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ol={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oc={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},od={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},om={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ou={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},op={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oh={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},og={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},of={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oy={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oA={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ob={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ox={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oN={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oC={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oS={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oI={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ow={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oE={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ov={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oB={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oP={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oO={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},ok={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},oM={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oD={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oz={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oQ={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o_={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},oU={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oH={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},oL={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oF={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oq={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oj={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oG={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oY={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o$={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oJ={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oK={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oX={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oV={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oW={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oZ={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},o0={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o1={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o2={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o3={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o6={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o5={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o4={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o8={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o9={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o7={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},le={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lt={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lr={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},li={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ln={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},la={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},ls={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},lo={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ll={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lc={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ld={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lm={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},lu={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lp={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lh={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lg={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},lf={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ly={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lA={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lb={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lx={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},lN={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},lC={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},lS={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},lI={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lw={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},lE={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},lv={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},lB={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},lP={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lR={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},lO={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},lk={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},lT={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},lM={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},lD={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},lz={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lQ={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},l_={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},lU={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lH={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},lL={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},lF={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},lq={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},lj={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},lG={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},lY={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},l$={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lJ={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lK={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lX={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lV={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},lW={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},lZ={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},l0={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},l1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},l2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},l3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},l6={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},l5={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},l4={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},l8={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},l9={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},l7={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},ce={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},ct={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},cr={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},ci={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},cn={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},ca={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},cs={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},co={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},cl={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},cc={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},cd={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},cm={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},cu={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},cp={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},ch={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},cg={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cf={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},cy={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},cA={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},cb={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},cx={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},cN={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},cC={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},cS={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},cI={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},cw={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},cE={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},cv={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},cB={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},cP={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},cR={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},cO={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},ck={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},cT={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cM={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},cD={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},cz={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},cQ={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},c_={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},cU={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},cH={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},cL={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},cF={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},cq={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},cj={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},cG={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cY={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},c$={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},cJ={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},cK={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},cX={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},cV={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},cW={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},cZ={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},c0={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},c1={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},c2={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},c3={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},c6={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},c5={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},c4={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},c8={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},c9={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},c7={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},de={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class dt{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},di)}getProperties(e){return this.client.sendOperationRequest({options:e},dn)}getStatistics(e){return this.client.sendOperationRequest({options:e},da)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},ds)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},dl)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},dc)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},dd)}filterBlobs(e){return this.client.sendOperationRequest({options:e},dm)}}let dr=t9(q,!0),di={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:sd},default:{bodyMapper:aU,headersMapper:sm}},requestBody:{parameterPath:"blobServiceProperties",mapper:aT},queryParameters:[lS,lI,lw],urlParameters:[lC],headerParameters:[lx,lN,lE,lv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dr},dn={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aT,headersMapper:su},default:{bodyMapper:aU,headersMapper:sp}},queryParameters:[lS,lI,lw],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr},da={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aH,headersMapper:sh},default:{bodyMapper:aU,headersMapper:sg}},queryParameters:[lS,lw,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr},ds={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aF,headersMapper:sf},default:{bodyMapper:aU,headersMapper:sy}},queryParameters:[lw,lP,lR,lO,lk,lT],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr},dl={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:aY,headersMapper:sA},default:{bodyMapper:aU,headersMapper:sb}},requestBody:{parameterPath:"keyInfo",mapper:aG},queryParameters:[lS,lw,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lx,lN,lE,lv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dr},dc={path:"/",httpMethod:"GET",responses:{200:{headersMapper:sx},default:{bodyMapper:aU,headersMapper:sN}},queryParameters:[lI,lw,lM],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr},dd={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:sC},default:{bodyMapper:aU,headersMapper:sS}},requestBody:lD,queryParameters:[lw,lz],urlParameters:[lC],headerParameters:[lN,lE,lv,lQ,l_],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dr},dm={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:a$,headersMapper:sI},default:{bodyMapper:aU,headersMapper:sw}},queryParameters:[lw,lO,lk,lU,lH],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr};class du{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},dh)}getProperties(e){return this.client.sendOperationRequest({options:e},dg)}delete(e){return this.client.sendOperationRequest({options:e},df)}setMetadata(e){return this.client.sendOperationRequest({options:e},dy)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},dA)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},db)}restore(e){return this.client.sendOperationRequest({options:e},dx)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},dN)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},dC)}filterBlobs(e){return this.client.sendOperationRequest({options:e},dS)}acquireLease(e){return this.client.sendOperationRequest({options:e},dI)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dw)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dE)}breakLease(e){return this.client.sendOperationRequest({options:e},dv)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},dB)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},dP)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},dR)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},dO)}}let dp=t9(q,!0),dh={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:sE},default:{bodyMapper:aU,headersMapper:sv}},queryParameters:[lw,lL],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lq,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:dp},dg={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:sB},default:{bodyMapper:aU,headersMapper:sP}},queryParameters:[lw,lL],urlParameters:[lC],headerParameters:[lE,lv,lB,lj],isXML:!0,serializer:dp},df={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:sR},default:{bodyMapper:aU,headersMapper:sO}},queryParameters:[lw,lL],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY],isXML:!0,serializer:dp},dy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sk},default:{bodyMapper:aU,headersMapper:sT}},queryParameters:[lw,lL,l$],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG],isXML:!0,serializer:dp},dA={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:sM},default:{bodyMapper:aU,headersMapper:sD}},queryParameters:[lw,lL,lJ],urlParameters:[lC],headerParameters:[lE,lv,lB,lj],isXML:!0,serializer:dp},db={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sz},default:{bodyMapper:aU,headersMapper:sQ}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[lw,lL,lJ],urlParameters:[lC],headerParameters:[lx,lN,lE,lv,lq,lj,lG,lY],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dp},dx={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:s_},default:{bodyMapper:aU,headersMapper:sU}},queryParameters:[lw,lL,lK],urlParameters:[lC],headerParameters:[lE,lv,lB,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:dp},dN={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sH},default:{bodyMapper:aU,headersMapper:sL}},queryParameters:[lw,lL,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:dp},dC={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:sF},default:{bodyMapper:aU,headersMapper:sq}},requestBody:lD,queryParameters:[lw,lz,lL],urlParameters:[lC],headerParameters:[lN,lE,lv,lQ,l_],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dp},dS={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:a$,headersMapper:sj},default:{bodyMapper:aU,headersMapper:sG}},queryParameters:[lw,lO,lk,lU,lH,lL],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dp},dI={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:sY},default:{bodyMapper:aU,headersMapper:s$}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,lV,lW,lZ],isXML:!0,serializer:dp},dw={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sJ},default:{bodyMapper:aU,headersMapper:sK}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l0,l1],isXML:!0,serializer:dp},dE={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sX},default:{bodyMapper:aU,headersMapper:sV}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l1,l2],isXML:!0,serializer:dp},dv={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:sW},default:{bodyMapper:aU,headersMapper:sZ}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l3,l6],isXML:!0,serializer:dp},dB={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:s0},default:{bodyMapper:aU,headersMapper:s1}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l1,l5,l4],isXML:!0,serializer:dp},dP={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:aZ,headersMapper:s2},default:{bodyMapper:aU,headersMapper:s3}},queryParameters:[lw,lP,lR,lO,lk,lL,l8,l9],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dp},dR={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:a6,headersMapper:s6},default:{bodyMapper:aU,headersMapper:s5}},queryParameters:[lw,lP,lR,lO,lk,lL,l8,l9,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dp},dO={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:s4},default:{bodyMapper:aU,headersMapper:s8}},queryParameters:[lI,lw,lM],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dp};class dk{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},dM)}getProperties(e){return this.client.sendOperationRequest({options:e},dD)}delete(e){return this.client.sendOperationRequest({options:e},dz)}undelete(e){return this.client.sendOperationRequest({options:e},dQ)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},d_)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},dU)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},dH)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},dL)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},dF)}setMetadata(e){return this.client.sendOperationRequest({options:e},dq)}acquireLease(e){return this.client.sendOperationRequest({options:e},dj)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dG)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dY)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},d$)}breakLease(e){return this.client.sendOperationRequest({options:e},dJ)}createSnapshot(e){return this.client.sendOperationRequest({options:e},dK)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},dX)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},dV)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},dW)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},dZ)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},d0)}query(e){return this.client.sendOperationRequest({options:e},d1)}getTags(e){return this.client.sendOperationRequest({options:e},d2)}setTags(e){return this.client.sendOperationRequest({options:e},d3)}}let dT=t9(q,!0),dM={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:s9},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:s9},default:{bodyMapper:aU,headersMapper:s7}},queryParameters:[lw,l7,ce],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ct,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},cr,ci,cn,ca,cs,co,cl],isXML:!0,serializer:dT},dD={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:oe},default:{bodyMapper:aU,headersMapper:ot}},queryParameters:[lw,l7,ce],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ci,cn,ca,cs,co,cl],isXML:!0,serializer:dT},dz={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:or},default:{bodyMapper:aU,headersMapper:oi}},queryParameters:[lw,l7,ce,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,cs,co,cl,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:dT},dQ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:on},default:{bodyMapper:aU,headersMapper:oa}},queryParameters:[lw,lK],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dT},d_={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:os},default:{bodyMapper:aU,headersMapper:oo}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:dT},dU={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ol},default:{bodyMapper:aU,headersMapper:oc}},queryParameters:[lI,lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,cs,co,cl,cc,cd,cm,cu,cp,ch],isXML:!0,serializer:dT},dH={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:od},default:{bodyMapper:aU,headersMapper:om}},queryParameters:[lw,l7,ce,cg],urlParameters:[lC],headerParameters:[lE,lv,lB,lY,cf,cy],isXML:!0,serializer:dT},dL={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:ou},default:{bodyMapper:aU,headersMapper:op}},queryParameters:[lw,l7,ce,cg],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dT},dF={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oh},default:{bodyMapper:aU,headersMapper:og}},queryParameters:[lw,l7,ce,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:dT},dq={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:of},default:{bodyMapper:aU,headersMapper:oy}},queryParameters:[lw,l$],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cA],isXML:!0,serializer:dT},dj={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oA},default:{bodyMapper:aU,headersMapper:ob}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,lV,lW,lZ,cs,co,cl],isXML:!0,serializer:dT},dG={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ox},default:{bodyMapper:aU,headersMapper:oN}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l0,l1,cs,co,cl],isXML:!0,serializer:dT},dY={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oC},default:{bodyMapper:aU,headersMapper:oS}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l1,l2,cs,co,cl],isXML:!0,serializer:dT},d$={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oI},default:{bodyMapper:aU,headersMapper:ow}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l1,l5,l4,cs,co,cl],isXML:!0,serializer:dT},dJ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:oE},default:{bodyMapper:aU,headersMapper:ov}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l3,l6,cs,co,cl],isXML:!0,serializer:dT},dK={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oB},default:{bodyMapper:aU,headersMapper:oP}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cA],isXML:!0,serializer:dT},dX={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:oR},default:{bodyMapper:aU,headersMapper:oO}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG,lY,cs,co,cl,cf,cy,cb,cx,cN,cC,cS,cI,cw,cE,cv,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},cB],isXML:!0,serializer:dT},dV={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ok},default:{bodyMapper:aU,headersMapper:oT}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG,lY,cs,co,cl,cf,cy,cA,cb,cN,cC,cS,cI,cE,cv,cB,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},cP,cR,cO,ck],isXML:!0,serializer:dT},dW={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:oM},default:{bodyMapper:aU,headersMapper:oD}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:dT},dZ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oz},202:{headersMapper:oz},default:{bodyMapper:aU,headersMapper:oQ}},queryParameters:[lw,l7,ce,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,cl,cx,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:dT},d0={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:o_},default:{bodyMapper:aU,headersMapper:oU}},queryParameters:[lI,lw,lM],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dT},d1={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oH},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oH},default:{bodyMapper:aU,headersMapper:oL}},requestBody:{parameterPath:["options","queryRequest"],mapper:si},queryParameters:[lw,l7,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lx,lN,lE,lv,lj,lG,lY,ci,cn,ca,cs,co,cl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dT},d2={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:aK,headersMapper:oF},default:{bodyMapper:aU,headersMapper:oq}},queryParameters:[lw,l7,ce,cT],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,cl,cM,cD,cz,cQ],isXML:!0,serializer:dT},d3={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:oj},default:{bodyMapper:aU,headersMapper:oG}},requestBody:{parameterPath:["options","tags"],mapper:aK},queryParameters:[lw,ce,cT],urlParameters:[lC],headerParameters:[lx,lN,lE,lv,lj,cl,cM,cD,cz,cQ,c_,cU],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dT};class d6{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},d4)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},d8)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},d9)}uploadPagesFromURL(e,t,r,i,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:n},d7)}getPageRanges(e){return this.client.sendOperationRequest({options:e},me)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},mt)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},mr)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},mi)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},mn)}}let d5=t9(q,!0),d4={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oY},default:{bodyMapper:aU,headersMapper:o$}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cf,cy,cA,cb,cv,cB,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},cH,cL],isXML:!0,serializer:d5},d8={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oJ},default:{bodyMapper:aU,headersMapper:oK}},requestBody:cq,queryParameters:[lw,cG],urlParameters:[lC],headerParameters:[lE,lv,lQ,lj,lG,lY,ct,cr,ci,cn,ca,cs,co,cl,cA,c_,cU,cF,cj,cY,c$,cJ,cK,cX],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:d5},d9={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oX},default:{bodyMapper:aU,headersMapper:oV}},queryParameters:[lw,cG],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lj,lG,lY,ct,ci,cn,ca,cs,co,cl,cA,c$,cJ,cK,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:d5},d7={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oW},default:{bodyMapper:aU,headersMapper:oZ}},queryParameters:[lw,cG],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lj,lG,lY,ci,cn,ca,cs,co,cl,cA,cN,cC,cS,cI,cP,cR,ck,cY,c$,cJ,cK,cV,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},cW,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},cZ,c0,c1],isXML:!0,serializer:d5},me={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:se,headersMapper:o0},default:{bodyMapper:aU,headersMapper:o1}},queryParameters:[lw,lO,lk,l7,c2],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ct,cs,co,cl],isXML:!0,serializer:d5},mt={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:se,headersMapper:o2},default:{bodyMapper:aU,headersMapper:o3}},queryParameters:[lw,lO,lk,l7,c2,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ct,cs,co,cl,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:d5},mr={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:o6},default:{bodyMapper:aU,headersMapper:o5}},queryParameters:[lI,lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ci,cn,ca,cs,co,cl,cA,cH],isXML:!0,serializer:d5},mi={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:o4},default:{bodyMapper:aU,headersMapper:o8}},queryParameters:[lI,lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,cs,co,cl,cL,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:d5},mn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:o9},default:{bodyMapper:aU,headersMapper:o7}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,cs,co,cl,cE],isXML:!0,serializer:d5};class ma{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},mo)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},ml)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},mc)}seal(e){return this.client.sendOperationRequest({options:e},md)}}let ms=t9(q,!0),mo={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:le},default:{bodyMapper:aU,headersMapper:lt}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cf,cy,cA,cv,cB,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:ms},ml={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lr},default:{bodyMapper:aU,headersMapper:li}},requestBody:cq,queryParameters:[lw,c3],urlParameters:[lC],headerParameters:[lE,lv,lQ,lj,lG,lY,cr,ci,cn,ca,cs,co,cl,cA,c_,cU,cF,cj,cX,c6,c5],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ms},mc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ln},default:{bodyMapper:aU,headersMapper:la}},queryParameters:[lw,c3],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lj,lG,lY,ci,cn,ca,cs,co,cl,cA,cN,cC,cS,cI,cP,cR,ck,c_,cV,cW,cZ,c0,c1,c6,c5,c4],isXML:!0,serializer:ms},md={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ls},default:{bodyMapper:aU,headersMapper:lo}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,cs,co,c5],isXML:!0,serializer:ms};class mm{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},mp)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},mh)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},mg)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},mf)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},my)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},mA)}}let mu=t9(q,!0),mp={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ll},default:{bodyMapper:aU,headersMapper:lc}},requestBody:cq,queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lQ,lF,lj,lG,lY,cr,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cf,cy,cA,cb,cv,cB,c_,cU,cF,cj,cX,c8],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:mu},mh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ld},default:{bodyMapper:aU,headersMapper:lm}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cA,cb,cN,cC,cS,cI,cw,cE,cv,cP,cR,cO,ck,c_,cZ,c0,c1,c8,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:mu},mg={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lu},default:{bodyMapper:aU,headersMapper:lp}},requestBody:cq,queryParameters:[lw,c9,c7],urlParameters:[lC],headerParameters:[lE,lv,lQ,lj,cr,ci,cn,ca,cA,c_,cU,cF,cj,cX],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:mu},mf={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lh},default:{bodyMapper:aU,headersMapper:lg}},queryParameters:[lw,c9,c7],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lj,ci,cn,ca,cA,cN,cC,cS,cI,cP,cR,ck,cV,cW,cZ,c0,c1,c4],isXML:!0,serializer:mu},my={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lf},default:{bodyMapper:aU,headersMapper:ly}},requestBody:{parameterPath:"blocks",mapper:a8},queryParameters:[lw,de],urlParameters:[lC],headerParameters:[lx,lN,lE,lv,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cf,cy,cA,cb,cv,cB,c_,cU],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:mu},mA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:a9,headersMapper:lA},default:{bodyMapper:aU,headersMapper:lb}},queryParameters:[lw,l7,de,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,cl],isXML:!0,serializer:mu};class mb extends rz{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new dt(this),this.container=new du(this),this.blob=new dk(this),this.pageBlob=new d6(this),this.appendBlob=new ma(this),this.blockBlob=new mm(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class mx extends mb{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let mN=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function mC(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function mS(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=mC(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",n="",a=Buffer.from("accountKey","base64"),s="";if(n=mC(e,"AccountName"),a=Buffer.from(mC(e,"AccountKey"),"base64"),!r){let t=(i=mC(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(s=mC(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${n}.blob.${s}`}if(n){if(0===a.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:a,proxyUri:t}}{let t=mC(e,"SharedAccessSignature"),i=mC(e,"AccountName");if(i||(i=mR(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function mI(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function mw(e,t,r){let i=new URL(e),n=encodeURIComponent(t),a=r?encodeURIComponent(r):void 0,s=""===i.search?"?":i.search,o=[];for(let e of s.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&o.push(e)}return a&&o.push(`${n}=${a}`),i.search=o.length?`?${o.join("&")}`:"",i.toString()}function mE(e,t){return new URL(e).searchParams.get(t)??void 0}function mv(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function mB(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function mP(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function mR(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<mN.length;++e){let r=mN[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=mO(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function mO(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&aN.includes(e.port)}function mk(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function mT(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function mM(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let n={ruleId:i[1],replicationStatus:e[r]},a=t.findIndex(e=>e.policyId===i[0]);a>-1?t[a].rules.push(n):t.push({policyId:i[0],rules:[n]})}return t}function mD(e){return e?e.scheme+" "+e.value:void 0}function*mz(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,n=0;for(;i<t.length&&n<r.length;)t[i].start<r[n].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[n].start,end:r[n].end,isClear:!0},++n);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;n<r.length;++n)yield{start:r[n].start,end:r[n].end,isClear:!0}}function mQ(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function m_(e,t,r,i,n){let a,s=i.contentChecksumAlgorithm??n;return void 0===s&&(s="Customized"),"Auto"===s&&(s="StorageCrc64"),"Customized"===s?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===s&&(await nB.init(),a=await nR(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===s?a.body:e,contentLength:"StorageCrc64"===s?a.encodedContentLength:t,contentChecksumAlgorithm:s}}class mU{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=mR(e),this.pipeline=t,this.storageClientContext=new mx(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>rD(await t.sendRequest(rP(e,{createProxy:!0})))}:(d||(d=tG()),d));let n=e._corePipeline;if(!n){let t=`azsdk-js-azure-storage-blob/${ag}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(n=rA({...r,loggingOptions:{additionalAllowedHeaderNames:ab,additionalAllowedQueryParameters:ax,logger:nA.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:nf,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:ny,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),n.removePolicy({name:tP}),n.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(n$,Buffer.byteLength(e.body)),t(e))}),n.addPolicy(function(e={}){let t=e.retryPolicyType??am.retryPolicyType,r=e.maxTries??am.maxTries,i=e.retryDelayInMs??am.retryDelayInMs,n=e.maxRetryDelayInMs??am.maxRetryDelayInMs,a=e.secondaryHost??am.secondaryHost,s=e.tryTimeoutInMs??am.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,o){let l,c;s&&(e.url=n5(e.url,nq,String(Math.floor(s/1e3))));let d=e.url,m=a?n4(e.url,a):void 0,u=!1,p=1,h=!0;for(;h;){let a=u||!m||!["GET","HEAD","OPTIONS"].includes(e.method)||p%2==1;e.url=a?d:m,l=void 0,c=void 0;try{as.info(`RetryPolicy: =====> Try=${p} ${a?"Primary":"Secondary"}`),l=await o(e),u=u||!a&&404===l.status}catch(e){if(eV(e))as.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),c=e;else throw as.error(`RetryPolicy: Caught error, message: ${tQ(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:n}){if(t>=r)return as.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(n){for(let e of au)if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e)return as.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag'))return as.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||n){let t=i?.status??n?.statusCode??0;if(!e&&404===t)return as.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return as.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(n6);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:a,attempt:p,response:l,error:c}))&&await n7(function(e,r){let a=0;if(e)switch(t){case P.EXPONENTIAL:a=Math.min((Math.pow(2,r-1)-1)*i,n);break;case P.FIXED:a=i}else a=1e3*Math.random();return as.info(`RetryPolicy: Delay for ${a}ms`),a}(a,p),e.abortSignal,ap),p++}if(l)return l;throw c??new eX("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),n.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),n.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let a=function(e){let t=[av,aE,aB,aP,aR,aO,ak];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>rM(await r(rB(e)),{createProxy:!0})};for(let t of e)i=t.create(i,rQ);let n=rP(t,{createProxy:!0});return rD(await i.sendRequest(n))}}),afterRetry:t}}}}(e);a&&n.addPolicy(a.wrappedPolicies,a.afterRetry?{afterPhase:"Retry"}:void 0);let s=aw(e);t0(s)?n.addPolicy(tW({credential:s,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:rI}}),{phase:"Sign"}):s instanceof aa&&n.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==n$||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let n,a;return r.headers.set(n3,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(n$,Buffer.byteLength(r.body)),n=[r.method.toUpperCase(),t(r,nY),t(r,nG),t(r,n$),t(r,nJ),t(r,nK),t(r,nX),t(r,nW),t(r,nV),t(r,nZ),t(r,n0),t(r,n2)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(n1)&&t.push({name:r,value:i});t.sort((e,t)=>ai(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}(r)+function(t){let r=n8(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let n=n9(t.url),a={};if(n){let e=[];for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)){let r=t.toLowerCase();a[r]=n[t],e.push(r)}for(let t of(e.sort(),e))i+=` +${t}:${decodeURIComponent(a[t])}`}return i}(r),a=(0,eu.createHmac)("sha256",e.accountKey).update(n,"utf8").digest("base64"),r.headers.set(nj,`SharedKey ${e.accountName}:${a}`),i(r)}}}({accountName:s.accountName,accountKey:s.accountKey}),{phase:"Sign"}),e._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:n}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=aw(t),this.storageClientContext.requestContentType=void 0}}let mH=tq({packageName:"@azure/storage-blob",packageVersion:ag,namespace:"Microsoft.Storage"});class mL{static parse(e){let t=new mL;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new mL;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class mF{static parse(e){let t=new mF;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new mF;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function mq(e){return e.end?`${e.start}-${e.end}`:e.start}(A=M||(M={})).Https="https",A.HttpsAndHttp="https,http";class mj{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,n,a,s,o,l,c,d,m,u,p,h,g,f,y,A,b,x,N,C,S){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=n,this.expiresOn=o,this.permissions=r,this.protocol=a,this.startsOn=s,this.ipRangeInner=l,this.delegatedUserObjectId=x,this.encryptionScope=b,this.identifier=c,this.resource=d,this.cacheControl=m,this.contentDisposition=u,this.contentEncoding=p,this.contentLanguage=h,this.contentType=g,this.requestHeaderKeys=N,this.requestQueryParameterKeys=C,this.directoryDepth=S,f&&(this.signedOid=f.signedObjectId,this.signedTenantId=f.signedTenantId,this.signedStartsOn=f.signedStartsOn,this.signedExpiresOn=f.signedExpiresOn,this.signedService=f.signedService,this.signedVersion=f.signedVersion,this.signedDelegatedUserTid=f.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=y,this.correlationId=A))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?mB(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?mB(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?mq(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?mB(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?mB(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function mG(e,t,r){return mY(e,t,r).sasQueryParameters}function mY(e,t,r){let i,n=e.version?e.version:af,a=t instanceof aa?t:void 0;if(void 0===a&&void 0!==r&&(i=new ah(r,t)),void 0===a&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")if(void 0!==a)return function(e,t){let r,i;if(!(e=mK(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:s}}(e,a);else if(n>="2026-04-06")return function(e,t){let r,i;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,m$(e.requestHeaders),m$(e.requestQueryParameters),i),stringToSign:s}}(e,i);else if(n>="2025-07-05")return function(e,t){let r,i;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:s}}(e,i);else return function(e,t){let r,i;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:s}}(e,i);if(n>="2018-11-09")if(void 0!==a)if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=mK(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:s}}(e,a);else return function(e,t){let r;if(!(e=mK(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),s=t.computeHMACSHA256(a);return{sasQueryParameters:new mj(e.version,s,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:a}}(e,a);else if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:s}}(e,i);else return function(e,t){let r;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),s=t.computeHMACSHA256(a);return{sasQueryParameters:new mj(e.version,s,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:a}}(e,i);if(n>="2015-04-05")if(void 0!==a){let t;var s=e,o=a;if(!(s=mK(s)).identifier&&!(s.permissions&&s.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";s.blobName&&(r="b"),s.permissions&&(t=s.blobName?mL.parse(s.permissions.toString()).toString():mF.parse(s.permissions.toString()).toString());let i=[t||"",s.startsOn?mB(s.startsOn,!1):"",s.expiresOn?mB(s.expiresOn,!1):"",mJ(o.accountName,s.containerName,s.blobName),s.identifier,s.ipRange?mq(s.ipRange):"",s.protocol?s.protocol:"",s.version,s.cacheControl?s.cacheControl:"",s.contentDisposition?s.contentDisposition:"",s.contentEncoding?s.contentEncoding:"",s.contentLanguage?s.contentLanguage:"",s.contentType?s.contentType:""].join("\n"),n=o.computeHMACSHA256(i);return{sasQueryParameters:new mj(s.version,n,t,void 0,void 0,s.protocol,s.startsOn,s.expiresOn,s.ipRange,s.identifier,r,s.cacheControl,s.contentDisposition,s.contentEncoding,s.contentLanguage,s.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function m$(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function mJ(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function mK(e){let t=e.version?e.version:af;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function mX(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class mV{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=e_()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-acquireLease",t,async r=>mQ(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=mQ(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-releaseLease",e,async t=>mQ(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return mQ(await this._containerOrBlobOperation.breakLease(i))})}}class mW extends e1.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,n={}){super({highWaterMark:n.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=n.maxRetryRequests&&n.maxRetryRequests>=0?n.maxRetryRequests:0,this.onProgress=n.onProgress,this.options=n,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new tD("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class mZ{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,n={}){this.originalResponse=e;let a=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new nD(this.originalResponse.readableStreamBody,n);this.blobDownloadStream=new mW(a,t,r,i,n)}}let m0=new Uint8Array([79,98,106,1]);class m1{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await m1.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,n,a=0,s=0;do i=128&(r=await m1.readByte(e,t)),a|=(127&r)<<s,s+=7;while(i&&s<28);if(i){n=0x10000000;do a+=(127&(r=await m1.readByte(e,t)))*n,n*=128;while(128&r);let i=(a%2?-(a+1):a)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return a>>1^-(1&a)}static async readLong(e,t={}){return m1.readZigZagLong(e,t)}static async readInt(e,t={}){return m1.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await m1.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await m1.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await m1.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await m1.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await m1.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await m1.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await m1.readArray(e,(e,r={})=>m1.readMapPair(e,t,r),r),n={};for(let e of i)n[e.key]=e.value;return n}static async readArray(e,t,r={}){let i=[];for(let n=await m1.readLong(e,r);0!==n;n=await m1.readLong(e,r))for(n<0&&(await m1.readLong(e,r),n=-n);n--;){let n=await t(e,r);i.push(n)}return i}}(b=D||(D={})).RECORD="record",b.ENUM="enum",b.ARRAY="array",b.MAP="map",b.UNION="union",b.FIXED="fixed",(x=z||(z={})).NULL="null",x.BOOLEAN="boolean",x.INT="int",x.LONG="long",x.FLOAT="float",x.DOUBLE="double",x.BYTES="bytes",x.STRING="string";class m2{static fromSchema(e){return"string"==typeof e?m2.fromStringSchema(e):Array.isArray(e)?m2.fromArraySchema(e):m2.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case z.NULL:case z.BOOLEAN:case z.INT:case z.LONG:case z.FLOAT:case z.DOUBLE:case z.BYTES:case z.STRING:return new m3(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new m5(e.map(m2.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return m2.fromStringSchema(t)}catch{}switch(t){case D.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=m2.fromSchema(t.type);return new m8(r,e.name);case D.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new m6(e.symbols);case D.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new m4(m2.fromSchema(e.values));case D.ARRAY:case D.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class m3 extends m2{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case z.NULL:return m1.readNull();case z.BOOLEAN:return m1.readBoolean(e,t);case z.INT:return m1.readInt(e,t);case z.LONG:return m1.readLong(e,t);case z.FLOAT:return m1.readFloat(e,t);case z.DOUBLE:return m1.readDouble(e,t);case z.BYTES:return m1.readBytes(e,t);case z.STRING:return m1.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class m6 extends m2{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await m1.readInt(e,t);return this._symbols[r]}}class m5 extends m2{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await m1.readInt(e,t);return this._types[r].read(e,t)}}class m4 extends m2{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return m1.readMap(e,r,t)}}class m8 extends m2{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function m9(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class m7{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!m9(await m1.readFixedBytes(this._headerStream,m0.length,{abortSignal:e.abortSignal}),m0))throw Error("Stream is not an Avro file.");this._metadata=await m1.readMap(this._headerStream,m1.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await m1.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=m2.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await m1.readLong(this._dataStream,{abortSignal:e.abortSignal}),await m1.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await m1.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!m9(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await m1.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await m1.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class ue{}let ut=t("buffer"),ur=new tD("Reading from the avro stream was aborted.");class ui extends ue{_position;_readable;toUint8Array(e){return"string"==typeof e?ut.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw ur;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let n=()=>{this._readable.removeListener("readable",a),this._readable.removeListener("error",s),this._readable.removeListener("end",s),this._readable.removeListener("close",s),t.abortSignal&&t.abortSignal.removeEventListener("abort",o)},a=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,n(),r(this.toUint8Array(t)))},s=()=>{n(),i()},o=()=>{n(),i(ur)};this._readable.on("readable",a),this._readable.once("error",s),this._readable.once("end",s),this._readable.once("close",s),t.abortSignal&&t.abortSignal.addEventListener("abort",o)})}}class un extends e1.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new m7(new ui(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let n=t.position;if("number"!=typeof n)throw Error("Invalid position in avro error record.");this.onError({position:n,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class ua{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new un(this.originalResponse.readableStreamBody,t)}}function us(e){if(void 0!==e)return e}function uo(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function ul(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(N=Q||(Q={})).Hot="Hot",N.Cool="Cool",N.Cold="Cold",N.Archive="Archive",(C=_||(_={})).P4="P4",C.P6="P6",C.P10="P10",C.P15="P15",C.P20="P20",C.P30="P30",C.P40="P40",C.P50="P50",C.P60="P60",C.P70="P70",C.P80="P80",(S=U||(U={})).StorageOAuthScopes="https://storage.azure.com/.default",S.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",tv("core-lro");class uc extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,uc.prototype)}}class ud extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,ud.prototype)}}class um{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new ud("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new uc("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class uu extends um{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:n=15e3,onProgress:a,resumeFrom:s,startCopyFromURLOptions:o}=e;s&&(t=JSON.parse(s).state),super(uf({...t,blobClient:r,copySource:i,startCopyFromURLOptions:o})),"function"==typeof a&&this.onProgress(a),this.intervalInMs=n}delay(){return tz(this.intervalInMs)}}let up=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),uf(t)},uh=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:n}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:n}=r,a=t.copyProgress;n&&(t.copyProgress=n),"pending"===i&&n!==a&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,n);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return uf(t)},ug=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function uf(e){return{state:{...e},cancel:up,toString:ug,update:uh}}function uy(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(I=H||(H={}))[I.Good=0]="Good",I[I.Error=1]="Error";class uA{concurrency;actives=0;completed=0;offset=0;operations=[];state=H.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new nb.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=H.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==H.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}var ub=i(3024);async function ux(e,t,r,i,n){let a=0,s=i-r;return new Promise((i,o)=>{let l=setTimeout(()=>o(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let o;if(a>=s){clearTimeout(l),i();return}for(;null!==(o=e.read());){"string"==typeof o&&(o=Buffer.from(o,n));let e=a+o.length>s?s-a:o.length;if(t.fill(o.slice(0,e),r+a,r+a+e),(a+=e)>=s){clearTimeout(l),i();return}}}),e.on("end",()=>{clearTimeout(l),a<s&&o(Error(`Stream drains before getting enough data needed. Data read: ${a}, data need: ${s}`)),i()}),e.on("error",e=>{clearTimeout(l),o(e)})})}async function uN(e,t){return new Promise((r,i)=>{let n=ub.createWriteStream(t);e.on("error",e=>{i(e)}),n.on("error",e=>{i(e)}),n.on("close",r),e.pipe(n)})}let uC=eg.promisify(ub.stat),uS=ub.createReadStream;class uI extends mU{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let n,a;if(i=i||{},aC(t))a=e,n=t,i=r;else if(t instanceof aa||t instanceof nF||t0(t))a=e,n=aI(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let s=mS(e);if("AccountConnString"===s.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new aa(s.accountName,s.accountKey);a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=t_(s.proxyUri)),n=aI(e,i)}else if("SASConnString"===s.kind)a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+s.accountSas,n=aI(new nF,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else a=e,r&&"string"!=typeof r&&(i=r),n=aI(new nF,i);super(a,n),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=mE(this.url,ay),this._versionId=mE(this.url,aA),this.blobClientConfig=i}withSnapshot(e){return new uI(mw(this.url,ay,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new uI(mw(this.url,aA,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new uw(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new uE(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new uv(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},uo(r.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-download",r,async i=>{let n=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===n?n="Customized":"Auto"===n&&(n="StorageCrc64"),"StorageCrc64"===n&&await nB.init();let a=mQ(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?uy({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0})),s={...a,_response:a._response,objectReplicationDestinationPolicyId:a.objectReplicationPolicyId,objectReplicationSourceProperties:mM(a.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===a.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===n&&void 0===a.structuredContentLength)throw RangeError("Unexpected structured content length");if(!a.etag)throw RangeError("File download response doesn't contain valid etag header");let o="StorageCrc64"===n?a.structuredContentLength:a.contentLength;return new mZ(s,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||a.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:uy({count:e+o-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0},s=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==n?s:new nD(s,{})},e,o,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return mH.withSpan("BlobClient-exists",e,async t=>{try{return uo(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},uo(e.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-getProperties",e,async t=>{let r=mQ(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:mM(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},mH.withSpan("BlobClient-delete",e,async t=>mQ(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return mH.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=mQ(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return mH.withSpan("BlobClient-undelete",e,async t=>mQ(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-setHTTPHeaders",t,async r=>mQ(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-setMetadata",t,async r=>mQ(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return mH.withSpan("BlobClient-setTags",t,async r=>mQ(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return mH.withSpan("BlobClient-getTags",e,async t=>{let r=mQ(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new mV(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},uo(e.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-createSnapshot",e,async t=>mQ(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new uu({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return mH.withSpan("BlobClient-abortCopyFromURL",t,async r=>mQ(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},mH.withSpan("BlobClient-syncCopyFromURL",t,async r=>mQ(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:mD(t.sourceAuthorization),tier:us(t.tier),blobTagsString:mk(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return mH.withSpan("BlobClient-setAccessTier",t,async r=>mQ(await this.blobContext.setTier(us(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let n,a=0,s=0,o=i;e instanceof Buffer?(n=e,a=t||0,s="number"==typeof r?r:0):(a="number"==typeof e?e:0,s="number"==typeof t?t:0,o=r||{});let l=o.blockSize??0;if(l<0)throw RangeError("blockSize option must be >= 0");if(0===l&&(l=4194304),a<0)throw RangeError("offset option must be >= 0");if(s&&s<=0)throw RangeError("count option must be greater than 0");return o.conditions||(o.conditions={}),mH.withSpan("BlobClient-downloadToBuffer",o,async e=>{if(!s){let t=await this.getProperties({...o,tracingOptions:e.tracingOptions});if((s=t.contentLength-a)<0)throw RangeError(`offset ${a} shouldn't be larger than blob size ${t.contentLength}`)}if(!n)try{n=Buffer.alloc(s)}catch(e){throw Error(`Unable to allocate the buffer of size: ${s}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(n.length<s)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${s}`);let t=0,r=new uA(o.concurrency);for(let i=a;i<a+s;i+=l)r.addOperation(async()=>{let r=a+s;i+l<r&&(r=i+l);let c=(await this.download(i,r-i,{abortSignal:o.abortSignal,conditions:o.conditions,maxRetryRequests:o.maxRetryRequestsPerBlock,customerProvidedKey:o.customerProvidedKey,contentChecksumAlgorithm:o.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await ux(c,n,i-a,r-a),t+=r-i,o.onProgress&&o.onProgress({loadedBytes:t})});return await r.do(),n})}async downloadToFile(e,t=0,r,i={}){return mH.withSpan("BlobClient-downloadToFile",i,async n=>{let a=await this.download(t,r,{...i,tracingOptions:n.tracingOptions});return a.readableStreamBody&&await uN(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(mO(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return mH.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},mQ(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:us(t.tier),blobTagsString:mk(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof aa))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=mG({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(mv(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof aa))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return mY({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=mG({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(mv(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return mY({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return mH.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>mQ(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return mH.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>mQ(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return mH.withSpan("BlobClient-setLegalHold",t,async t=>mQ(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return mH.withSpan("BlobClient-getAccountInfo",e,async t=>mQ(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class uw extends uI{appendBlobContext;constructor(e,t,r,i){let n,a;if(i=i||{},aC(t))a=e,n=t,i=r;else if(t instanceof aa||t instanceof nF||t0(t))a=e,n=aI(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let s=mS(e);if("AccountConnString"===s.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new aa(s.accountName,s.accountKey);a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=t_(s.proxyUri)),n=aI(e,i)}else if("SASConnString"===s.kind)a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+s.accountSas,n=aI(new nF,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else a=e,i=r,n=aI(new nF,i);super(a,n),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new uw(mw(this.url,ay,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},uo(e.customerProvidedKey,this.isHttps),mH.withSpan("AppendBlobClient-create",e,async t=>mQ(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:mk(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return mH.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=mQ(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},mH.withSpan("AppendBlobClient-seal",e,async t=>mQ(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},uo(r.customerProvidedKey,this.isHttps),mH.withSpan("AppendBlobClient-appendBlock",r,async i=>{let n={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},a=await m_(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return mQ(await this.appendBlobContext.appendBlock(a.contentLength,a.body,n))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},uo(i.customerProvidedKey,this.isHttps),mH.withSpan("AppendBlobClient-appendBlockFromURL",i,async n=>mQ(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:uy({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:mD(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class uE extends uI{_blobContext;blockBlobContext;constructor(e,t,r,i){let n,a;if(i=i||{},aC(t))a=e,n=t,i=r;else if(t instanceof aa||t instanceof nF||t0(t))a=e,n=aI(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let s=mS(e);if("AccountConnString"===s.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new aa(s.accountName,s.accountKey);a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=t_(s.proxyUri)),n=aI(e,i)}else if("SASConnString"===s.kind)a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+s.accountSas,n=aI(new nF,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else a=e,r&&"string"!=typeof r&&(i=r),n=aI(new nF,i);super(a,n),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new uE(mw(this.url,ay,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-query",t,async r=>new ua(mQ(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:mT(t.inputTextConfiguration),outputSerialization:mT(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},uo(r.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-upload",r,async i=>{let n={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:us(r.tier),blobTagsString:mk(r.tags),tracingOptions:i.tracingOptions},a=await m_(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return mQ(await this.blockBlobContext.upload(a.contentLength,a.body,n))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>mQ(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:mD(t.sourceAuthorization),tier:us(t.tier),blobTagsString:mk(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return uo(i.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-stageBlock",i,async n=>{let a={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},s=await m_(t,r,a,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return mQ(await this.blockBlobContext.stageBlock(e,s.contentLength,s.body,a))})}async stageBlockFromURL(e,t,r=0,i,n={}){return uo(n.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-stageBlockFromURL",n,async a=>mQ(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:0!==r||i?uy({offset:r,count:i}):void 0,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:mD(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:a.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-commitBlockList",t,async r=>mQ(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:us(t.tier),blobTagsString:mk(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return mH.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=mQ(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return mH.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return mH.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let n=r.maxSingleShotSize??0x10000000;if(n<0||n>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>n&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),mH.withSpan("BlockBlobClient-uploadSeekableInternal",r,async a=>{if(t<=n)return mQ(await this.upload(e(0,t),t,a));let s=Math.floor((t-1)/i)+1;if(s>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let o=[],l=e_(),c=0,d=new uA(r.concurrency);for(let n=0;n<s;n++)d.addOperation(async()=>{let d=mP(l,n),m=i*n,u=(n===s-1?t:m+i)-m;o.push(d),await this.stageBlock(d,e(m,u),u,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:a.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),c+=u,r.onProgress&&r.onProgress({loadedBytes:c})});return await d.do(),this.commitBlockList(o,a)})}async uploadFile(e,t={}){return mH.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await uC(e)).size;return this.uploadSeekableInternal((t,r)=>()=>uS(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),mH.withSpan("BlockBlobClient-uploadStream",i,async n=>{let a=0,s=e_(),o=0,l=[],c=new nS(e,t,r,async(e,t)=>{let r=mP(s,a);l.push(r),a++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),o+=t,i.onProgress&&i.onProgress({loadedBytes:o})},Math.ceil(r/4*3));return await c.do(),mQ(await this.commitBlockList(l,{...i,tracingOptions:n.tracingOptions}))})}}class uv extends uI{pageBlobContext;constructor(e,t,r,i){let n,a;if(i=i||{},aC(t))a=e,n=t,i=r;else if(t instanceof aa||t instanceof nF||t0(t))a=e,n=aI(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let s=mS(e);if("AccountConnString"===s.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new aa(s.accountName,s.accountKey);a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=t_(s.proxyUri)),n=aI(e,i)}else if("SASConnString"===s.kind)a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+s.accountSas,n=aI(new nF,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else a=e,i=r,n=aI(new nF,i);super(a,n),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new uv(mw(this.url,ay,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("PageBlobClient-create",t,async r=>mQ(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:us(t.tier),blobTagsString:mk(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return mH.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=mQ(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},uo(i.customerProvidedKey,this.isHttps),mH.withSpan("PageBlobClient-uploadPages",i,async n=>{let a={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:uy({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},s=await m_(e,r,a,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return mQ(await this.pageBlobContext.uploadPages(s.contentLength,s.body,a))})}async uploadPagesFromURL(e,t,r,i,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},uo(n.customerProvidedKey,this.isHttps),mH.withSpan("PageBlobClient-uploadPagesFromURL",n,async a=>mQ(await this.pageBlobContext.uploadPagesFromURL(e,uy({offset:t,count:i}),0,uy({offset:r,count:i}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:mD(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:a.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},mH.withSpan("PageBlobClient-clearPages",r,async i=>mQ(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:uy({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},mH.withSpan("PageBlobClient-getPageRanges",r,async i=>ul(mQ(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:uy({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return mH.withSpan("PageBlobClient-getPageRangesSegment",i,async n=>mQ(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:uy({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let n;if(r||void 0===r)do r=(n=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await n;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let n of this.listPageRangeItemSegments(e,t,i,r))yield*mz(n)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},mH.withSpan("PageBlobClient-getPageRangesDiff",i,async n=>ul(mQ(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:uy({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,n={}){return mH.withSpan("PageBlobClient-getPageRangesDiffSegment",n,async a=>mQ(await this.pageBlobContext.getPageRangesDiff({abortSignal:n?.abortSignal,leaseAccessConditions:n?.conditions,modifiedAccessConditions:{...n?.conditions,ifTags:n?.conditions?.tagConditions},prevsnapshot:r,range:uy({offset:e,count:t}),marker:i,maxPageSize:n?.maxPageSize,tracingOptions:a.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,n){let a;if(i||void 0===i)do i=(a=await this.listPageRangesDiffSegment(e,t,r,i,n)).continuationToken,yield await a;while(i)}async *listPageRangeDiffItems(e,t,r,i){let n;for await(let a of this.listPageRangeDiffItemSegments(e,t,r,n,i))yield*mz(a)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let n=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>n.next(),[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,{maxPageSize:n.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},mH.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async n=>ul(mQ(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:uy({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},mH.withSpan("PageBlobClient-resize",t,async r=>mQ(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},mH.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>mQ(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return mH.withSpan("PageBlobClient-startCopyIncremental",t,async r=>mQ(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(w=L||(L={}))[w.LOCKED=0]="LOCKED",w[w.UNLOCKED=1]="UNLOCKED",(F||(F={})).AES256="AES256";var uB=class extends Error{reason;limit;actual;_tag="GuardExceeded";constructor(e,t,r){super(`${e}: limit ${t}, actual ${r}`),this.reason=e,this.limit=t,this.actual=r}};let uP=e=>e instanceof uB,uR=(e,t)=>{if(!Number.isSafeInteger(t)||t<1)throw TypeError(`@effected/glob internal cap ${e} must be a positive integer, received ${t}`);return t},uO=(e,{windowsPathsNoEscape:t=!1,magicalBraces:r=!0}={})=>r?t?e.replace(/\[([^/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):t?e.replace(/\[([^/\\{}])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1"),uk=Symbol("globstar **"),uT=e=>{if("string"!=typeof e)throw TypeError("invalid pattern");if(e.length>65536)throw new uB("PatternTooLong",65536,e.length)},uM={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},uD=e=>e.replace(/[[\]\\-]/g,"\\$&"),uz=(e,t)=>{if("["!==e.charAt(t))throw Error("not in a brace expression");let r=[],i=[],n=t+1,a=!1,s=!1,o=!1,l=!1,c=t,d="";t:for(;n<e.length;){let m=e.charAt(n);if(("!"===m||"^"===m)&&n===t+1){l=!0,n++;continue}if("]"===m&&a&&!o){c=n+1;break}if(a=!0,"\\"===m&&!o){o=!0,n++;continue}if("["===m&&!o){for(let[a,[o,l,c]]of Object.entries(uM))if(e.startsWith(a,n)){if(d)return["$.",!1,e.length-t,!0];n+=a.length,c?i.push(o):r.push(o),s=s||l;continue t}}if(o=!1,d){m>d?r.push(`${uD(d)}-${uD(m)}`):m===d&&r.push(uD(m)),d="",n++;continue}if(e.startsWith("-]",n+1)){r.push(uD(`${m}-`)),n+=2;continue}if(e.startsWith("-",n+1)){d=m,n+=2;continue}r.push(uD(m)),n++}if(c<n)return["",!1,0,!1];if(!r.length&&!i.length)return["$.",!1,e.length-t,!0];let m=r[0];if(0===i.length&&1===r.length&&void 0!==m&&/^\\?.$/.test(m)&&!l)return[(2===m.length?m.slice(-1):m).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),!1,c-t,!1];let u=`[${l?"^":""}${r.join("")}]`,p=`[${l?"":"^"}${i.join("")}]`;return[r.length&&i.length?`(${u}|${p})`:r.length?u:p,s,c-t,!0]},uQ=new Set(["!","?","+","*","@"]),u_=e=>uQ.has(e),uU=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),uH=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),uL=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),uF=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),uq="(?!\\.)",uj=new Set(["[","."]),uG=new Set(["..","."]),uY=new Set("().*{}+?[]^$\\!"),u$=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),uJ="[^/]",uK=`${uJ}*?`,uX=`${uJ}+?`,uV=e=>{if(e>256)throw new uB("NestingDepthExceeded",256,e)},uW=0;var uZ=class e{type;#e;#t;#r=!1;#i=[];#n;#a;#s;#o=!1;#l;#c;#d=!1;id=++uW;get depth(){return(this.#n?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#e.id,parent:this.#n?.id,depth:this.depth,partsLength:this.#i.length,parts:this.#i}}constructor(e,t,r={}){this.type=e,e&&(this.#t=!0),this.#n=t,this.#e=this.#n?this.#n.#e:this,this.#l=this.#e===this?r:this.#e.#l,this.#s=this.#e===this?[]:this.#e.#s,"!"!==e||this.#e.#o||this.#s.push(this),this.#a=this.#n?this.#n.#i.length:0}get hasMagic(){if(void 0!==this.#t)return this.#t;for(let e of this.#i)if("string"!=typeof e&&(e.type||e.hasMagic)){this.#t=!0;break}return this.#t}toString(){return void 0!==this.#c||(this.type?this.#c=`${this.type}(${this.#i.map(e=>String(e)).join("|")})`:this.#c=this.#i.map(e=>String(e)).join("")),this.#c}#m(){if(this!==this.#e)throw Error("should only call on root");if(this.#o)return this;this.toString(),this.#o=!0;let e=this.#s.pop();for(;void 0!==e;){if("!"!==e.type){e=this.#s.pop();continue}let t=e,r=t.#n;for(;r;){for(let i=t.#a+1;!r.type&&i<r.#i.length;i++)for(let t of e.#i){if("string"==typeof t)throw Error("string part in extglob AST??");let e=r.#i[i];void 0!==e&&t.copyIn(e)}r=(t=r).#n}e=this.#s.pop()}return this}push(...t){for(let r of t)if(""!==r){if("string"!=typeof r&&!(r instanceof e&&r.#n===this))throw Error(`invalid part: ${r}`);this.#i.push(r)}}toJSON(){let e=null===this.type?this.#i.slice().map(e=>"string"==typeof e?e:e.toJSON()):[this.type,...this.#i.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#o&&this.#n?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#n?.isStart())return!1;if(0===this.#a)return!0;let t=this.#n;for(let r=0;r<this.#a;r++){let i=t.#i[r];if(!(i instanceof e&&"!"===i.type))return!1}return!0}isEnd(){if(this.#e===this||this.#n?.type==="!")return!0;if(!this.#n?.isEnd())return!1;if(!this.type)return this.#n?.isEnd();let e=this.#n?this.#n.#i.length:0;return this.#a===e-1}copyIn(e,t=0){uV(t),"string"==typeof e?this.push(e):this.push(e.clone(this,t+1))}clone(t,r=0){uV(r);let i=new e(this.type,t);for(let e of this.#i)i.copyIn(e,r+1);return i}static #u(t,r,i,n,a,s){uV(s);let o=n.maxExtglobRecursion??2,l=!1,c=!1,d=-1,m=!1;if(null===r.type){let u=i,p="";for(;u<t.length;){let i=t.charAt(u++);if(l||"\\"===i){l=!l,p+=i;continue}if(c){u===d+1?("^"===i||"!"===i)&&(m=!0):"]"!==i||u===d+2&&m||(c=!1),p+=i;continue}if("["===i){c=!0,d=u,m=!1,p+=i;continue}if(!n.noext&&u_(i)&&"("===t.charAt(u)&&a<=o){r.push(p),p="";let o=new e(i,r);u=e.#u(t,o,u,n,a+1,s+1),r.push(o);continue}p+=i}return r.push(p),u}let u=i+1,p=new e(null,r),h=[],g="";for(;u<t.length;){let i=t.charAt(u++);if(l||"\\"===i){l=!l,g+=i;continue}if(c){u===d+1?("^"===i||"!"===i)&&(m=!0):"]"!==i||u===d+2&&m||(c=!1),g+=i;continue}if("["===i){c=!0,d=u,m=!1,g+=i;continue}if(!n.noext&&u_(i)&&"("===t.charAt(u)&&(a<=o||r.#p(i))){let o=+!r.#p(i);p.push(g),g="";let l=new e(i,p);p.push(l),u=e.#u(t,l,u,n,a+o,s+1);continue}if("|"===i){p.push(g),g="",h.push(p),p=new e(null,r);continue}if(")"===i)return""===g&&0===r.#i.length&&(r.#d=!0),p.push(g),g="",r.push(...h,p),u;g+=i}return r.type=null,r.#t=void 0,r.#i=[t.substring(i-1)],u}#h(e){return this.#g(e,uH)}#g(e,t=uU){if(!e||"object"!=typeof e||null!==e.type||1!==e.#i.length||null===this.type)return!1;let r=e.#i[0];return!!r&&"object"==typeof r&&null!==r.type&&this.#p(r.type,t)}#p(e,t=uL){return!!t.get(this.type)?.includes(e)}#f(t,r){let i=t.#i[0],n=new e(null,i,this.options);n.#i.push(""),i.push(n),this.#y(t,r)}#y(e,t){let r=e.#i[0];for(let e of(this.#i.splice(t,1,...r.#i),r.#i))"object"==typeof e&&(e.#n=this);this.#c=void 0}#A(e){return!!uF.get(this.type)?.has(e)}#b(e){if(!e||"object"!=typeof e||null!==e.type||1!==e.#i.length||null===this.type||1!==this.#i.length)return!1;let t=e.#i[0];return!!t&&"object"==typeof t&&null!==t.type&&this.#A(t.type)}#x(e){let t=uF.get(this.type),r=e.#i[0],i=t?.get(r.type);if(i){for(let e of(this.#i=r.#i,this.#i))"object"==typeof e&&(e.#n=this);this.type=i,this.#c=void 0,this.#d=!1}}static fromGlob(t,r={}){void 0!==r.maxExtglobRecursion&&uR("maxExtglobRecursion",r.maxExtglobRecursion);let i=new e(null,void 0,r);return e.#u(t,i,0,r,0,0),i}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[t,r,i,n]=this.toRegExpSource();return i||this.#t||this.#l.nocase&&!this.#l.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()?Object.assign(RegExp(`^${t}$`,(this.#l.nocase?"i":"")+(n?"u":"")),{_src:t,_glob:e}):r}get options(){return this.#l}toRegExpSource(t,r=0){uV(r);let i=t??!!this.#l.dot;if(this.#e===this&&(this.#N(),this.#m()),!u_(this.type)){let n=this.isStart()&&this.isEnd()&&!this.#i.some(e=>"string"!=typeof e),a=this.#i.map(i=>{let[a,s,o,l]="string"==typeof i?e.#C(i,this.#t,n):i.toRegExpSource(t,r+1);return this.#t=this.#t||o,this.#r=this.#r||l,a}).join(""),s="";if(this.isStart()&&"string"==typeof this.#i[0]&&!(1===this.#i.length&&uG.has(this.#i[0]))){let e=i&&uj.has(a.charAt(0))||a.startsWith("\\.")&&uj.has(a.charAt(2))||a.startsWith("\\.\\.")&&uj.has(a.charAt(4)),r=!i&&!t&&uj.has(a.charAt(0));s=e?"(?!(?:^|/)\\.\\.?(?:$|/))":r?uq:""}let o="";this.isEnd()&&this.#e.#o&&this.#n?.type==="!"&&(o="(?:$|\\/)");let l=s+a+o;return this.#t=!!this.#t,[l,uO(a),this.#t,this.#r]}let n="*"===this.type||"+"===this.type,a="!"===this.type?"(?:(?!(?:":"(?:",s=this.#S(i,r);if(this.isStart()&&this.isEnd()&&!s&&"!"!==this.type){let e=this.toString();return this.#i=[e],this.type=null,this.#t=void 0,[e,uO(this.toString()),!1,!1]}let o=!n||t||i?"":this.#S(!0,r);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let l="";return l="!"===this.type&&this.#d?(this.isStart()&&!i?uq:"")+uX:a+s+("!"===this.type?`))${this.isStart()&&!i&&!t?uq:""}${uK})`:"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&o?")":"*"===this.type&&o?")?":`)${this.type}`),this.#t=!!this.#t,[l,uO(s),this.#t,this.#r]}#N(e=0){if(uV(e),u_(this.type)){let t=0,r=!1;do{r=!0;for(let t=0;t<this.#i.length;t++){let i=this.#i[t];"object"==typeof i&&(i.#N(e+1),this.#g(i)?(r=!1,this.#y(i,t)):this.#h(i)?(r=!1,this.#f(i,t)):this.#b(i)&&(r=!1,this.#x(i)))}}while(!r&&++t<10)}else for(let t of this.#i)"object"==typeof t&&t.#N(e+1);this.#c=void 0}#S(e,t){return this.#i.map(r=>{if("string"==typeof r)throw Error("string type in extglob ast??");let[i,n,a,s]=r.toRegExpSource(e,t+1);return this.#r=this.#r||s,i}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join("|")}static #C(e,t,r=!1){let i=t,n=!1,a="",s=!1,o=!1;for(let t=0;t<e.length;t++){let l=e.charAt(t);if(n){n=!1,a+=(uY.has(l)?"\\":"")+l;continue}if("*"===l){if(o)continue;o=!0,a+=r&&/^[*]+$/.test(e)?uX:uK,i=!0;continue}if(o=!1,"\\"===l){t===e.length-1?a+="\\\\":n=!0;continue}if("["===l){let[r,n,o,l]=uz(e,t);if(o){a+=r,s=s||n,t+=o-1,i=i||l;continue}}if("?"===l){a+=uJ,i=!0;continue}a+=u$(l)}return[a,uO(e),!!i,s]}};let u0=(e,t)=>{let r=t.match(e);return r?r[0]:null},u1=(e,t,r)=>{let i=e instanceof RegExp?u0(e,r):e,n=t instanceof RegExp?u0(t,r):t;if(null===i||null===n)return!1;let a=u2(i,n,r);return void 0!==a&&{start:a[0],end:a[1],pre:r.slice(0,a[0]),body:r.slice(a[0]+i.length,a[1]),post:r.slice(a[1]+n.length)}},u2=(e,t,r)=>{let i,n,a,s,o=r.indexOf(e),l=r.indexOf(t,o+1),c=o;if(o>=0&&l>0){if(e===t)return[o,l];let d=[];for(n=r.length;c>=0&&!s;){if(c===o)d.push(c),o=r.indexOf(e,c+1);else if(1===d.length){let e=d.pop();void 0!==e&&(s=[e,l])}else void 0!==(i=d.pop())&&i<n&&(n=i,a=l),l=r.indexOf(t,c+1);c=o<l&&o>=0?o:l}d.length&&void 0!==a&&(s=[n,a])}return s},u3=`\0SLASH${Math.random()}\0`,u6=`\0OPEN${Math.random()}\0`,u5=`\0CLOSE${Math.random()}\0`,u4=`\0COMMA${Math.random()}\0`,u8=`\0PERIOD${Math.random()}\0`,u9=RegExp(u3,"g"),u7=RegExp(u6,"g"),pe=RegExp(u5,"g"),pt=RegExp(u4,"g"),pr=RegExp(u8,"g"),pi=/\\\\/g,pn=/\\{/g,pa=/\\}/g,ps=/\\,/g,po=/\\\./g,pl=e=>Number.isNaN(Number(e))?e.charCodeAt(0):Number.parseInt(e,10),pc=e=>e.replace(u9,"\\").replace(u7,"{").replace(pe,"}").replace(pt,",").replace(pr,"."),pd=(e,t)=>{if(t>256)throw new uB("NestingDepthExceeded",256,t);if(!e)return[""];let r=[],i=u1("{","}",e);if(!i)return e.split(",");let{pre:n,body:a,post:s}=i,o=n.split(",");o[o.length-1]+=`{${a}}`;let l=pd(s,t+1);return s.length&&(o[o.length-1]+=l.shift()??"",o.push(...l)),r.push(...o),r},pm=e=>`{${e}}`,pu=e=>/^-?0\d/.test(e),pp=(e,t)=>e<=t,ph=(e,t)=>e>=t,pg=/^\*+([^+@!?*[(]*)$/,pf=/^\*+\.\*+$/,py=e=>!e.startsWith(".")&&e.includes("."),pA=e=>"."!==e&&".."!==e&&e.includes("."),pb=/^\.\*+$/,px=e=>"."!==e&&".."!==e&&e.startsWith("."),pN=/^\*+$/,pC=e=>0!==e.length&&!e.startsWith("."),pS=e=>0!==e.length&&"."!==e&&".."!==e,pI=/^\?+([^+@!?*[(]*)?$/,pw=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(".")},pE=([e])=>{let t=e.length;return e=>e.length===t&&"."!==e&&".."!==e},pv=(e,t={})=>(uT(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e))?[e]:((e,t={})=>{if(!e)return[];let r=uR("braceExpandMax",t.max??1e5),i=e;return"{}"===i.slice(0,2)&&(i=`\\{\\}${i.slice(2)}`),(function e(t,r,i,n){if(n>256)throw new uB("NestingDepthExceeded",256,n);let a=[],s=t,o=i;for(;;){let t,i,l=u1("{","}",s);if(!l)return[s];let c=l.pre;if(/\$$/.test(l.pre)){let t=l.post.length?e(l.post,r,!1,n+1):[""];if(t.length>r)throw new uB("ExpansionBudgetExceeded",r,t.length);for(let e of t)a.push(`${c}{${l.body}}${e}`);return a}let d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(l.body),m=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(l.body),u=d||m,p=l.body.indexOf(",")>=0;if(!u&&!p){if(l.post.match(/,(?!,).*\}/)){s=`${l.pre}{${l.body}${u5}${l.post}`,o=!0;continue}return[s]}let h=l.post.length?e(l.post,r,!1,n+1):[""];if(u)t=l.body.split(/\.\./);else{let i=(t=pd(l.body,n+1))[0];if(1===t.length&&void 0!==i&&1===(t=e(i,r,!1,n+1).map(pm)).length)return h.map(e=>`${l.pre}${t[0]}${e}`)}let g=t[0],f=t[1];if(u&&void 0!==g&&void 0!==f){let e=pl(g),n=pl(f),a=Math.max(g.length,f.length),s=t[2],o=3===t.length&&void 0!==s?Math.max(Math.abs(pl(s)),1):1,l=pp;n<e&&(o*=-1,l=ph);let c=t.some(pu),d=Math.floor(Math.abs(n-e)/Math.abs(o))+1;if(d>r)throw new uB("ExpansionBudgetExceeded",r,d);i=[];for(let t=e;l(t,n);t+=o){let e;if(m)"\\"===(e=String.fromCharCode(t))&&(e="");else if(e=String(t),c){let r=a-e.length;if(r>0){let i="0".repeat(r);e=t<0?`-${i}${e.slice(1)}`:`${i}${e}`}}i.push(e)}}else for(let a of(i=[],t))i.push(...e(a,r,!1,n+1));for(let e=0;e<i.length;e++)for(let t=0;t<h.length;t++){let n=c+i[e]+h[t];if(!o||u||n){if(a.length>=r)throw new uB("ExpansionBudgetExceeded",r,a.length+(i.length-e)*h.length-t);a.push(n)}}return a}})(i.replace(pi,u3).replace(pn,u6).replace(pa,u5).replace(ps,u4).replace(po,u8),r,!0,0).map(pc)})(e,void 0===t.braceExpandMax?{}:{max:t.braceExpandMax}),pB=/[?*]|[+@!]\(.*?\)|\[|\]/;var pP=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){uT(e),this.options=t,this.maxGlobstarRecursion=uR("maxGlobstarRecursion",t.maxGlobstarRecursion??200),this.pattern=e,this.platform=t.platform??"posix",this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==t.windowsNoMagicRoot?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if("string"!=typeof t)return!0;return!1}debug(){}make(){let e=this.pattern;if(!this.options.nocomment&&"#"===e.charAt(0)){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],this.debug(this.pattern,this.globSet);let t=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(t),this.debug(this.pattern,this.globParts);let r=this.globParts.map(e=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=""===e[0]&&""===e[1]&&("?"===e[2]||void 0!==e[2]&&!pB.test(e[2]))&&void 0!==e[3]&&!pB.test(e[3]),r=void 0!==e[0]&&/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(r)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>-1===e.indexOf(!1)),this.isWindows)for(let e=0;e<this.set.length;e++){let t=this.set[e];void 0!==t&&""===t[0]&&""===t[1]&&this.globParts[e]?.[2]==="?"&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3])&&(t[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){let t=e;if(this.options.noglobstar)for(let e of t)for(let t=0;t<e.length;t++)"**"===e[t]&&(e[t]="*");let{optimizationLevel:r=1}=this.options;return r>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=r>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(e){return e.map(e=>{let t=e.indexOf("**");for(;-1!==t;){let r=t;for(;"**"===e[r+1];)r++;r!==t&&e.splice(t,r-t),t=e.indexOf("**",t+1)}return e})}levelOneOptimize(e){return e.map(e=>{let t=e.reduce((e,t)=>{let r=e[e.length-1];return"**"===t&&"**"===r||(".."===t&&r&&".."!==r&&"."!==r&&"**"!==r?e.pop():e.push(t)),e},[]);return 0===t.length?[""]:t})}levelTwoFileOptimize(e){let t=Array.isArray(e)?e:this.slashSplit(e),r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let e=1;e<t.length-1;e++){let i=t[e];(1!==e||""!==i||""!==t[0])&&("."===i||""===i)&&(r=!0,t.splice(e,1),e--)}"."===t[0]&&2===t.length&&("."===t[1]||""===t[1])&&(r=!0,t.pop())}let e=t.indexOf("..",1);for(;-1!==e;){let i=t[e-1];i&&"."!==i&&".."!==i&&"**"!==i&&!(this.isWindows&&/^[a-z]:$/i.test(i))&&(r=!0,t.splice(e-1,2),e-=2),e=t.indexOf("..",e+1)}}while(r);return 0===t.length?[""]:t}firstPhasePreProcess(e){let t=!1;do for(let r of(t=!1,e)){let i=r.indexOf("**");for(;-1!==i;){let n=i;for(;"**"===r[n+1];)n++;n>i&&r.splice(i+1,n-i);let a=r[i+1],s=r[i+2],o=r[i+3];if(".."!==a||!s||"."===s||".."===s||!o||"."===o||".."===o){i=r.indexOf("**",i+1);continue}t=!0,r.splice(i,1);let l=r.slice(0);l[i]="**",e.push(l),i--,i=r.indexOf("**",i+1)}if(!this.preserveMultipleSlashes){for(let e=1;e<r.length-1;e++){let i=r[e];(1!==e||""!==i||""!==r[0])&&("."===i||""===i)&&(t=!0,r.splice(e,1),e--)}"."===r[0]&&2===r.length&&("."===r[1]||""===r[1])&&(t=!0,r.pop())}let n=r.indexOf("..",1);for(;-1!==n;){let e=r[n-1];if(e&&"."!==e&&".."!==e&&"**"!==e){t=!0;let e=1===n&&"**"===r[n+1]?["."]:[];r.splice(n-1,2,...e),0===r.length&&r.push(""),n-=2}n=r.indexOf("..",n+1)}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let r=t+1;r<e.length;r++){let i=e[t],n=e[r];if(void 0===i||void 0===n)continue;let a=this.partsMatch(i,n,!this.preserveMultipleSlashes);if(a){e[t]=[],e[r]=a;break}}return e.filter(e=>e.length)}partsMatch(e,t,r=!1){let i=0,n=0,a=[],s="";for(;i<e.length&&n<t.length;){let o=e[i],l=t[n];if(o===l)a.push("b"===s?l:o),i++,n++;else if(r&&"**"===o&&l===e[i+1])a.push(o),i++;else if(r&&"**"===l&&o===t[n+1])a.push(l),n++;else if("*"===o&&l&&(this.options.dot||!l.startsWith("."))&&"**"!==l){if("b"===s)return!1;s="a",a.push(o),i++,n++}else{if("*"!==l||!o||!this.options.dot&&o.startsWith(".")||"**"===o||"a"===s)return!1;s="b",a.push(l),i++,n++}}return e.length===t.length&&a}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,r=0;for(let i=0;i<e.length&&"!"===e.charAt(i);i++)t=!t,r++;r&&(this.pattern=e.slice(r)),this.negate=t}matchOne(e,t,r=!1){let i=e,n=0,a=0;if(this.isWindows){let e=i[0],r="string"==typeof e&&/^[a-z]:$/i.test(e),s=!r&&""===i[0]&&""===i[1]&&"?"===i[2]&&"string"==typeof i[3]&&/^[a-z]:$/i.test(i[3]),o=t[0],l="string"==typeof o&&/^[a-z]:$/i.test(o),c=!l&&""===t[0]&&""===t[1]&&"?"===t[2]&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3]),d=s?3:r?0:void 0,m=c?3:l?0:void 0;if("number"==typeof d&&"number"==typeof m){let[e,r]=[i[d],t[m]];e.toLowerCase()===r.toLowerCase()&&(t[m]=e,a=m,n=d)}}let{optimizationLevel:s=1}=this.options;return(s>=2&&(i=this.levelTwoFileOptimize(i)),t.includes(uk))?this.#I(i,t,r,n,a):this.#w(i,t,r,n,a)}#I(e,t,r,i,n){let a=i,s=n,o=t.indexOf(uk,s),l=t.lastIndexOf(uk),[c,d,m]=r?[t.slice(s,o),t.slice(o+1),[]]:[t.slice(s,o),t.slice(o+1,l),t.slice(l+1)];if(c.length){let t=e.slice(a,a+c.length);if(!this.#w(t,c,r,0,0))return!1;a+=c.length,s+=c.length}let u=0;if(m.length){if(m.length+a>e.length)return!1;let t=e.length-m.length;if(this.#w(e,m,r,t,0))u=m.length;else{if(""!==e[e.length-1]||a+m.length===e.length||(t--,!this.#w(e,m,r,t,0)))return!1;u=m.length+1}}if(!d.length){let t=!!u;for(let r=a;r<e.length-u;r++){let i=String(e[r]);if(t=!0,"."===i||".."===i||!this.options.dot&&i.startsWith("."))return!1}return r||t}let p=[[[],0]],h=p[0],g=0,f=[0];for(let e of d)e===uk?(f.push(g),h=[[],0],p.push(h)):(h[0].push(e),g++);let y=p.length-1,A=e.length-u;for(let e of p)e[1]=A-(f[y--]+e[0].length);return!!this.#E(e,p,a,0,r,0,!!u)}#E(e,t,r,i,n,a,s){let o=r,l=s,c=t[i];if(!c){for(let t=o;t<e.length;t++){l=!0;let r=e[t];if("."===r||".."===r||!this.options.dot&&r.startsWith("."))return!1}return l}let[d,m]=c;for(;o<=m;){if(this.#w(e.slice(0,o+d.length),d,n,o,0)&&a<this.maxGlobstarRecursion){let r=this.#E(e,t,o+d.length,i+1,n,a+1,l);if(!1!==r)return r}let r=e[o];if("."===r||".."===r||void 0!==r&&!this.options.dot&&r.startsWith("."))return!1;o++}return n||null}#w(e,t,r,i,n){let a,s,o,l;for(a=i,s=n,l=e.length,o=t.length;a<l&&s<o;a++,s++){let r;this.debug("matchOne loop");let i=t[s],n=e[a];if(this.debug(t,i,n),!1===i||i===uk||("string"==typeof i?(r=n===i,this.debug("string match",i,n,r)):(r=i.test(n),this.debug("pattern match",i,n,r)),!r))return!1}if(a===l&&s===o)return!0;if(a===l)return r;if(s===o)return a===l-1&&""===e[a];throw Error("wtf?")}braceExpand(){return pv(this.pattern,this.options)}parse(e){uT(e);let t=this.options;if("**"===e)return uk;if(""===e)return"";let r=null,i=e.match(pN),n=i?null:e.match(pg),a=i||n?null:e.match(pI),s=i||n||a?null:e.match(pf),o=i||n||a||s?null:e.match(pb);i?r=t.dot?pS:pC:n?r=(t.nocase?t.dot?e=>{let t=e.toLowerCase();return e=>e.toLowerCase().endsWith(t)}:e=>{let t=e.toLowerCase();return e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)}:t.dot?e=>t=>t.endsWith(e):e=>t=>!t.startsWith(".")&&t.endsWith(e))(n[1]):a?r=(t.nocase?t.dot?([e,t=""])=>{let r=pE([e]);if(!t)return r;let i=t.toLowerCase();return e=>r(e)&&e.toLowerCase().endsWith(i)}:([e,t=""])=>{let r=pw([e]);if(!t)return r;let i=t.toLowerCase();return e=>r(e)&&e.toLowerCase().endsWith(i)}:t.dot?([e,t=""])=>{let r=pE([e]);return t?e=>r(e)&&e.endsWith(t):r}:([e,t=""])=>{let r=pw([e]);return t?e=>r(e)&&e.endsWith(t):r})(a):s?r=t.dot?pA:py:o&&(r=px);let l=uZ.fromGlob(e,this.options).toMMPattern();return r&&"object"==typeof l&&Reflect.defineProperty(l,"test",{value:r}),l}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,r=t.noglobstar?"[^/]*?":t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(t.nocase?["i"]:[]),n=e.map(e=>{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(""))i.add(t);return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===uk?uk:e._src});t.forEach((e,i)=>{let n=t[i+1],a=t[i-1];e===uk&&a!==uk&&(void 0===a?void 0!==n&&n!==uk?t[i+1]=`(?:\\/|${r}\\/)?${n}`:t[i]=r:void 0===n?t[i-1]=`${a}(?:\\/|\\/${r})?`:n!==uk&&(t[i-1]=`${a}(?:\\/|\\/${r}\\/)${n}`,t[i+1]=uk))});let n=t.filter(e=>e!==uk);if(this.partial&&n.length>=1){let e=[];for(let t=1;t<=n.length;t++)e.push(n.slice(0,t).join("/"));return`(?:${e.join("|")})`}return n.join("/")}).join("|"),[a,s]=e.length>1?["(?:",")"]:["",""];n=`^${a}${n}${s}$`,this.partial&&(n=`^(?:\\/|${a}${n.slice(1,-1)}${s})$`),this.negate&&(n=`^(?!${n}).+$`);try{this.regexp=new RegExp(n,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;let r=this.options,i=e;this.isWindows&&(i=i.split("\\").join("/"));let n=this.slashSplit(i);this.debug(this.pattern,"split",n);let a=this.set;this.debug(this.pattern,"set",a);let s=n[n.length-1]??"";if(!s)for(let e=n.length-2;!s&&e>=0;e--)s=n[e]??"";for(let e of a){let i=n;if(r.matchBase&&1===e.length&&(i=[s]),this.matchOne(i,e,t)){if(r.flipNegate)return!0;return!this.negate}}return!r.flipNegate&&this.negate}},pR=i(5030),pO=class extends G.X0d()("GlobPatternError",{pattern:G.QfV,reason:G.xCb(["PatternTooLong","ExpansionBudgetExceeded","NestingDepthExceeded"]),limit:G.wNn,actual:G.wNn}){get message(){let e=this.pattern.length>64?`${this.pattern.slice(0,64)}…`:this.pattern;return`glob pattern ${JSON.stringify(e)} rejected: ${this.reason} (limit ${this.limit}, actual ${this.actual})`}};G.Xsx("GlobPatternOptions")({nobrace:G.Qrq(G.v8c),nocomment:G.Qrq(G.v8c),nonegate:G.Qrq(G.v8c),noglobstar:G.Qrq(G.v8c),noext:G.Qrq(G.v8c),dot:G.Qrq(G.v8c),nocase:G.Qrq(G.v8c),nocaseMagicOnly:G.Qrq(G.v8c),magicalBraces:G.Qrq(G.v8c),matchBase:G.Qrq(G.v8c),flipNegate:G.Qrq(G.v8c),partial:G.Qrq(G.v8c),preserveMultipleSlashes:G.Qrq(G.v8c),windowsPathsNoEscape:G.Qrq(G.v8c),windowsNoMagicRoot:G.Qrq(G.v8c),optimizationLevel:G.Qrq(G.wNn.check(G.E6F(),G.Bt9({minimum:0,maximum:2}))),platform:G.Qrq(G.xCb(["posix","aix","android","darwin","freebsd","haiku","linux","openbsd","sunos","win32","cygwin","netbsd"])),braceExpandMax:G.Qrq(G.wNn.check(G.E6F(),G.Bt9({minimum:1,maximum:1e5}))),maxGlobstarRecursion:G.Qrq(G.wNn.check(G.E6F(),G.yJO(0))),maxExtglobRecursion:G.Qrq(G.wNn.check(G.E6F(),G.yJO(0)))});let pk=e=>({...e?.nobrace!==void 0&&{nobrace:e.nobrace},...e?.nocomment!==void 0&&{nocomment:e.nocomment},...e?.nonegate!==void 0&&{nonegate:e.nonegate},...e?.noglobstar!==void 0&&{noglobstar:e.noglobstar},...e?.noext!==void 0&&{noext:e.noext},...e?.dot!==void 0&&{dot:e.dot},...e?.nocase!==void 0&&{nocase:e.nocase},...e?.nocaseMagicOnly!==void 0&&{nocaseMagicOnly:e.nocaseMagicOnly},...e?.magicalBraces!==void 0&&{magicalBraces:e.magicalBraces},...e?.matchBase!==void 0&&{matchBase:e.matchBase},...e?.flipNegate!==void 0&&{flipNegate:e.flipNegate},...e?.partial!==void 0&&{partial:e.partial},...e?.preserveMultipleSlashes!==void 0&&{preserveMultipleSlashes:e.preserveMultipleSlashes},...e?.windowsPathsNoEscape!==void 0&&{windowsPathsNoEscape:e.windowsPathsNoEscape},...e?.windowsNoMagicRoot!==void 0&&{windowsNoMagicRoot:e.windowsNoMagicRoot},...e?.optimizationLevel!==void 0&&{optimizationLevel:e.optimizationLevel},...e?.platform!==void 0&&{platform:e.platform},...e?.braceExpandMax!==void 0&&{braceExpandMax:e.braceExpandMax},...e?.maxGlobstarRecursion!==void 0&&{maxGlobstarRecursion:e.maxGlobstarRecursion},...e?.maxExtglobRecursion!==void 0&&{maxExtglobRecursion:e.maxExtglobRecursion}}),pT=e=>{try{return new pP(e,{}),!0}catch(e){if(uP(e))return e.message;throw e}};var pM=class e extends G.Xsx("GlobPattern")(G._kM({source:G.QfV}).check(G.HNH(e=>pT(e.source),{title:"compilable glob pattern"}))){#v;#B={};#P(){return void 0===this.#v&&(this.#v=new pP(this.source,this.#B)),this.#v}static compileResult(t,r){let i=pk(r);try{new pP(t,{});let r=new pP(t,i),n=new e({source:t});return n.#v=r,n.#B=i,$.Py(n)}catch(e){if(uP(e))return $.fJ(new pO({pattern:t,reason:e.reason,limit:e.limit,actual:e.actual}));throw e}}static compile=J.fn("GlobPattern.compile")(function*(t,r){return yield*J.yUA(e.compileResult(t,r))});matches(e){return this.#P().match(e)}get hasMagic(){return this.#P().hasMagic()}get negated(){return this.#P().negate}get enumerationPrefix(){let e,t=this.#P().set;if(0===t.length)return"";for(let r of t){let t=[];for(let e of r){if("string"!=typeof e)break;t.push(e)}if(void 0===e)e=t;else{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];)r++;e=e.slice(0,r)}}return void 0===e||0===e.length?"":`${e.join("/")}/`}get crossesSegments(){return this.#P().set.some(e=>{if(e.includes(uk))return!0;let t=e.findIndex(e=>"string"!=typeof e);return -1!==t&&t<e.length-1})}static escape(e,t){return((e,{windowsPathsNoEscape:t=!1,magicalBraces:r=!1}={})=>r?t?e.replace(/[?*()[\]{}]/g,"[$&]"):e.replace(/[?*()[\]\\{}]/g,"\\$&"):t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&"))(e,pk(t))}static unescape(e,t){return uO(e,pk(t))}static FromString=G.QfV.pipe(G.GLL(e,pR.pd({decode:e=>({source:e}),encode:e=>e.source})))};let pD=e=>e.startsWith("!")?e.slice(1):void 0,pz=e=>{for(let t of e){let e=pD(t)??t;try{new pP(e,{})}catch(e){if(uP(e))return`pattern ${JSON.stringify(t.slice(0,64))}: ${e.message}`;throw e}}return!0};var pQ=class e extends G.Xsx("GlobSet")(G._kM({patterns:G.O31(G.QfV)}).check(G.HNH(e=>pz(e.patterns),{title:"compilable glob pattern set"}))){#R;#O;#k(){if(void 0!==this.#R)return this.#R;let e=[],t=new Set,r=[],i=[];for(let n of this.patterns){let a=pD(n);if(void 0!==a){i.push(pM.make({source:a}));continue}for(let i of pv(n,{})){let n=new pP(i,{});if(n.hasMagic()){r.push(pM.make({source:i}));continue}if(n.comment)continue;let a=1===n.set.length?n.set[0]:void 0;if(n.negate||void 0===a||!a.every(e=>"string"==typeof e)){r.push(pM.make({source:i}));continue}let s=a.join("/");t.has(s)||(t.add(s),e.push(s))}}return this.#R={literals:e,wildcards:r,excludes:i},this.#O=t,this.#R}#T(){return void 0===this.#O&&this.#k(),this.#O}static compileResult(t){for(let e of t){let t=pD(e)??e;try{new pP(t,{})}catch(t){if(uP(t))return $.fJ(new pO({pattern:e,reason:t.reason,limit:t.limit,actual:t.actual}));throw t}}return $.Py(new e({patterns:t}))}static compile=J.fn("GlobSet.compile")(function*(t){return yield*J.yUA(e.compileResult(t))});matches(e){let{wildcards:t,excludes:r}=this.#k();return!!(this.#T().has(e)||t.some(t=>t.matches(e)))&&!r.some(t=>t.matches(e))}isExcluded(e){return this.#k().excludes.some(t=>t.matches(e))}get literals(){return this.#k().literals}get wildcards(){return this.#k().wildcards}get excludes(){return this.#k().excludes}},p_=i(9616),pU=i(1306),pH=class extends G.X0d()("ActionCacheError",{reason:G.xCb(["misconfigured","unreachable","refused","archiveFailed","transferFailed"]),key:G.Qrq(G.QfV),status:G.Qrq(G.wNn),detail:G.Qrq(G.QfV),stderr:G.Qrq(G.QfV),cause:G.Qrq(G.kld())}){get message(){let e=void 0===this.key?"":` for "${this.key}"`,t=void 0===this.detail?"":`: ${this.detail}`;switch(this.reason){case"misconfigured":return`The Actions cache is not reachable from here${t}`;case"unreachable":return`The Actions cache could not be reached${e}${t}`;case"refused":return`The Actions cache refused the request${e}${void 0===this.status?"":` with status ${this.status}`}${t}`;case"archiveFailed":return`The cache archive could not be built or extracted${e}${void 0===this.stderr?"":`: ${this.stderr}`}`;default:return`The cache archive did not transfer${e}`}}};let pL=e=>(0,eu.createHash)("sha256").update([...e,"gzip","1.0"].join("|")).digest("hex"),pF={uploadFile:(e,t)=>J.$mh({try:()=>new uE(e).uploadFile(t,{blockSize:0x4000000,concurrency:8,maxSingleShotSize:0x8000000}),catch:e=>new Y({reason:"uploadFailed",cause:e})}).pipe(J.NLW),downloadToFile:(e,t)=>J.$mh({try:()=>new uI(e).downloadToFile(t),catch:e=>new Y({reason:"downloadFailed",cause:e})}).pipe(J.NLW)},pq=(e,t)=>"string"==typeof e?{primary:e,fallbacks:t??[]}:{primary:e.key,fallbacks:t??e.restoreKeys},pj=e=>J.JkU(function*(){let t=yield*em.Qq,r=yield*es.Q2,i=yield*eo.wA,n=yield*p_.CV,a=yield*j.gd,s=yield*J.TjK(a.getOptional("RUNNER_OS"),e=>K.match(e,{onNone:()=>!1,onSome:e=>"windows"===e.toLowerCase()})),o=J.JkU(function*(){let e=yield*a.getOptional(V),t=yield*a.getOptional(W);return K.isNone(e)?yield*J.fJG(V):K.isNone(t)?yield*J.fJG(W):{baseUrl:e.value.endsWith("/")?e.value:`${e.value}/`,token:X.L8(t.value),backendIds:(e=>{let t;try{t=(e=>{let t=e.split(".");if(3!==t.length)throw Error(`expected a three-segment JWT, got ${t.length}`);return JSON.parse(Buffer.from(t[1]??"","base64url").toString("utf8"))})(e)}catch(e){return $.fJ(`the runtime token is not a readable JWT: ${e instanceof Error?e.message:e}`)}let r=t.scp;if("string"!=typeof r)return $.fJ("the runtime token carries no `scp` claim");for(let e of r.split(" ")){let t=e.split(":");if("Actions.Results"!==t[0])continue;let r=t[1],i=t[2];if(3!==t.length||void 0===r||""===r||void 0===i||""===i)return $.fJ(`the runtime token's Actions.Results scope is malformed: "${e}"`);return $.Py({workflowRunBackendId:r,workflowJobRunBackendId:i})}return $.fJ("the runtime token carries no `Actions.Results` scope")})(t.value)}}).pipe(J.xm_(e=>new pH({reason:"misconfigured",detail:`${e} is not set — the Actions cache is only reachable from a \`uses:\` step, never from \`run:\``}))),l=(e,r,i)=>J.JkU(function*(){let{baseUrl:n,token:a}=yield*o;return yield*(e=>{let{baseUrl:t,body:r,http:i,method:n,service:a,token:s}=e;return J.JkU(function*(){let e=ee.bE(`${t}twirp/${a}/${n}`).pipe(ee.hC(s),ee.hk(r)),o=yield*i.execute(e).pipe(J.xm_(e=>({method:n,kind:"transport",cause:e})));return 409===o.status?et:o.status<200||o.status>=300?yield*J.fJG({method:n,kind:"status",status:o.status}):yield*o.json.pipe(J.xm_(e=>({method:n,kind:"malformed",cause:e})))}).pipe(J.L5P({schedule:Z.EV("3 seconds",1.5),times:4,while:er}))})({http:t,baseUrl:n,service:"github.actions.results.api.v1.CacheService",token:a,method:e,body:r}).pipe(J.xm_(e=>new pH("status"===e.kind?{reason:"refused",key:i,detail:e.method,...void 0===e.status?{}:{status:e.status}}:{reason:"unreachable",key:i,detail:`${e.method} did not answer with a Twirp body`,...void 0===e.cause?{}:{cause:e.cause}})))}),c=(e,t,r)=>J.P1j(J.JkU(function*(){let i=pU.L8("tar",[...e]),a=e=>new pH({reason:"archiveFailed",key:t,cause:e}),s=yield*n.spawn(i).pipe(J.xm_(a)),o=yield*el.kBx(el.g7H(s.all)).pipe(J.xm_(a)),l=yield*s.exitCode.pipe(J.xm_(a));if(0!==l&&!(r&&1===l))return yield*J.fJG(new pH({reason:"archiveFailed",key:t,stderr:o.trim()}))})),d=(e,t)=>J.jGc(r.makeTempDirectory({prefix:"effected-cache-"}).pipe(J.xm_(t=>new pH({reason:"archiveFailed",key:e,cause:t}))),e=>t(i.join(e,"cache.tar.gz"),e),e=>J.XeO(r.remove(e,{recursive:!0,force:!0}))),m=e=>J.xm_(t=>new pH({reason:"transferFailed",key:e,cause:t})),u=e=>e.replaceAll("\\","/");return{save:J.fn("ActionCache.save")(function*(t,n){let{primary:s}=pq(n,void 0);yield*J.ww9({key:s});let o=pL(t);if(0===t.length)return yield*J.fJG(new pH({reason:"archiveFailed",key:s,detail:"no paths were given to cache"}));let p=yield*J.JkU(function*(){let e=(e,t)=>new pH({reason:"archiveFailed",key:s,detail:e,...void 0===t?{}:{cause:t}}),n=t.map(e=>e.trim()).filter(e=>""!==e&&!e.startsWith("#")),o=K.getOrElse((yield*a.getOptional("GITHUB_WORKSPACE")),()=>"."),l=u(i.resolve(o)),c=[];for(let t of n){let r=t.startsWith("!"),n=r?t.slice(1):t;if("~"===n||n.startsWith("~/")){let r=yield*a.getOptional("HOME");if(K.isNone(r)&&(r=yield*a.getOptional("USERPROFILE")),K.isNone(r))return yield*J.fJG(e(`cannot expand "~" in "${t}" — neither HOME nor USERPROFILE is set`));n=`${pM.escape(u(i.resolve(r.value)))}${n.slice(1)}`}i.isAbsolute(n)||(n=`${pM.escape(l)}/${n}`),c.push(r?`!${n}`:n)}let d=yield*pQ.compile(c).pipe(J.xm_(t=>e(`"${t.pattern}" is not a usable glob pattern`,t))),m=[],p=[],h=(e,t)=>{""!==e&&(m.includes(e)||m.push(e),t&&!p.includes(e)&&p.push(e))};for(let e of d.literals)h(e,!1);for(let e of d.wildcards){if(e.negated)continue;let t=e.enumerationPrefix;h(""===t?l:"/"===t?"/":t.slice(0,-1),!0)}let g=(e,t)=>"/"===t?"/"!==e:e.startsWith(`${t}/`),f=m.filter(e=>!m.some(t=>t!==e&&g(e,t))),y=e=>p.some(t=>t===e||g(t,e)),A=[],b=new Set,x=e=>{!b.has(e)&&d.matches(e)&&(b.add(e),A.push(e))};for(let t of f){let i=yield*r.stat(t).pipe(J.uKv);if(!K.isNone(i)&&(x(t),"Directory"===i.value.type&&y(t)))for(let i of yield*r.readDirectory(t,{recursive:!0}).pipe(J.xm_(r=>e(`could not enumerate "${t}"`,r))))x(`${t}/${u(i)}`)}return 0===A.length?yield*J.fJG(e(`no file or directory matched the cache paths: ${n.join(", ")}`)):A});yield*d(s,(t,n)=>J.JkU(function*(){let a=i.join(n,"manifest.txt");yield*r.writeFileString(a,`${p.join("\n")} +`).pipe(J.xm_(e=>new pH({reason:"archiveFailed",key:s,cause:e}))),yield*c(["czPf",t,"-T",a],s,!1);let d=yield*r.stat(t).pipe(J.xm_(e=>new pH({reason:"archiveFailed",key:s,cause:e}))),u=yield*l("CreateCacheEntry",{key:s,version:o},s);if(u===et)return;let h=en(u,"signedUploadUrl");if(!ea(u)||void 0===h)return yield*J.fJG(new pH({reason:"refused",key:s,detail:"CreateCacheEntry returned no upload url"}));yield*e.uploadFile(h,t).pipe(m(s));let g=yield*l("FinalizeCacheEntryUpload",{key:s,version:o,size_bytes:String(d.size)},s);if(g===et||!ea(g))return yield*J.fJG(new pH({reason:"refused",key:s,detail:"FinalizeCacheEntryUpload did not confirm the upload"}))}))}),restore:J.fn("ActionCache.restore")(function*(t,r,i){let{primary:n,fallbacks:a}=pq(r,i);yield*J.ww9({key:n});let o=pL(t),u=yield*l("GetCacheEntryDownloadURL",{key:n,restore_keys:[...a],version:o},n);if(u===et||!ea(u))return K.none();let p=en(u,"signedDownloadUrl");return void 0===p?K.none():(yield*d(n,t=>J.JkU(function*(){yield*e.downloadToFile(p,t).pipe(m(n)),yield*c([s?"xzPkf":"xzPf",t],n,s)})),K.some(en(u,"matchedKey")??n))})}}),pG=e=>{throw Error(`ActionCache.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var pY=class e extends ec.kl()("@effected/github-actions/ActionCache"){static layer=ed.QZ(this,pj(pF));static layerWith=t=>ed.QZ(e,pj(t));static makeTest=(e={})=>({save:()=>J.OH5(()=>pG("save")),restore:()=>J.OH5(()=>pG("restore")),...e});static layerTest=(t={})=>ed.Py(e,e.makeTest(t))}},7139(e,t,r){var i=r(7464),n=r(9605),a=r(702),s=r(9427),o=r(6437),l=r(8275),c=class extends i.X0d()("ActionEnvironmentError",{reason:i.xCb(["missing","malformed"]),name:i.QfV,detail:i.Qrq(i.QfV)}){get message(){return"missing"===this.reason?`Required environment variable "${this.name}" is not set`:`Environment variable "${this.name}" is malformed${void 0===this.detail?"":`: ${this.detail}`}`}},d=class extends i.Xsx("GitHubContext")({repository:i.QfV,repositoryOwner:i.QfV,ref:i.QfV,refName:i.QfV,sha:i.QfV,workflow:i.QfV,job:i.QfV,runId:i.wNn,runAttempt:i.wNn,eventName:i.QfV,actor:i.QfV,serverUrl:i.QfV,apiUrl:i.QfV,graphqlUrl:i.QfV,workspace:i.QfV}){},m=class extends i.Xsx("RunnerContext")({os:i.QfV,arch:i.QfV,name:i.QfV,temp:i.QfV,toolCache:i.QfV}){};let u=n.Or("@effected/github-actions/EnvOverrides",{defaultValue:()=>({})}),p=(e,t)=>{let r=Number(t);return Number.isFinite(r)?a.PyW(r):a.fJG(new c({reason:"malformed",name:e,detail:`expected a number, got "${t}"`}))},h=e=>a.JkU(function*(){let t=yield*s.Q2,r=t=>a.TjK(u,r=>{let i=r[t]??e[t];return void 0===i||""===i?o.none():o.some(i)}),i=e=>a.qIB(r(e),t=>o.isSome(t)?a.PyW(t.value):a.fJG(new c({reason:"missing",name:e})));return{get:i,getOptional:r,isDebug:a.TjK(r("RUNNER_DEBUG"),e=>o.isSome(e)&&"1"===e.value),github:a.JkU(function*(){let[e,t,r,n,s,o,l]=yield*a.Q7R([i("GITHUB_REPOSITORY"),i("GITHUB_REPOSITORY_OWNER"),i("GITHUB_REF"),i("GITHUB_REF_NAME"),i("GITHUB_SHA"),i("GITHUB_WORKFLOW"),i("GITHUB_JOB")]),c=yield*a.qIB(i("GITHUB_RUN_ID"),e=>p("GITHUB_RUN_ID",e)),m=yield*a.qIB(i("GITHUB_RUN_ATTEMPT"),e=>p("GITHUB_RUN_ATTEMPT",e)),[u,h,g,f,y,A]=yield*a.Q7R([i("GITHUB_EVENT_NAME"),i("GITHUB_ACTOR"),i("GITHUB_SERVER_URL"),i("GITHUB_API_URL"),i("GITHUB_GRAPHQL_URL"),i("GITHUB_WORKSPACE")]);return d.make({repository:e,repositoryOwner:t,ref:r,refName:n,sha:s,workflow:o,job:l,runId:c,runAttempt:m,eventName:u,actor:h,serverUrl:g,apiUrl:f,graphqlUrl:y,workspace:A})}),runner:a.JkU(function*(){let[e,t,r,n,s]=yield*a.Q7R([i("RUNNER_OS"),i("RUNNER_ARCH"),i("RUNNER_NAME"),i("RUNNER_TEMP"),i("RUNNER_TOOL_CACHE")]);return m.make({os:e,arch:t,name:r,temp:n,toolCache:s})}),payload:a.JkU(function*(){let e=yield*i("GITHUB_EVENT_PATH"),r=yield*t.readFileString(e).pipe(a.xm_(t=>new c({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`could not read "${e}": ${String(t)}`})));return yield*a.SvU({try:()=>JSON.parse(r),catch:e=>new c({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`not valid JSON: ${String(e)}`})})}),withEnv:(e,t)=>a.qIB(u,r=>a.PfK(t,u,{...r,...e}))}}),g={GITHUB_REPOSITORY:"acme/example",GITHUB_REPOSITORY_OWNER:"acme",GITHUB_REF:"refs/heads/main",GITHUB_REF_NAME:"main",GITHUB_SHA:"0000000000000000000000000000000000000000",GITHUB_WORKFLOW:"test",GITHUB_JOB:"test",GITHUB_RUN_ID:"1",GITHUB_RUN_ATTEMPT:"1",GITHUB_EVENT_NAME:"push",GITHUB_ACTOR:"tester",GITHUB_SERVER_URL:"https://github.com",GITHUB_API_URL:"https://api.github.com",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",GITHUB_WORKSPACE:"/workspace",RUNNER_OS:"Linux",RUNNER_ARCH:"X64",RUNNER_NAME:"test-runner",RUNNER_TEMP:"/tmp",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache"};var f=class e extends n.kl()("@effected/github-actions/ActionEnvironment"){static layer=l.QZ(this,a.qIB(a.OH5(()=>({...process.env})),h));static layerFrom=t=>l.QZ(e,h(t));static makeTest=(e={})=>h({...g,...e});static layerTest=(t={})=>l.QZ(e,e.makeTest(t)).pipe(l.Gt(s.Wn({})))};r.d(t,{gd:()=>f})},7476(e,t,r){var i=r(7139),n=r(4742),a=r(7464),s=r(702),o=r(9427),l=r(3407),c=r(9605),d=r(8275),m=class extends a.X0d()("ActionOutputError",{reason:a.xCb(["unavailable","writeFailed","invalidName","encodeFailed","detached"]),file:a.Qrq(a.QfV),name:a.Qrq(a.QfV),cause:a.Qrq(a.kld())}){get message(){switch(this.reason){case"unavailable":return`Runner file "${this.file}" is not available; is this running on a GitHub runner?`;case"writeFailed":return`Failed to write to runner file "${this.file}"`;case"invalidName":return`"${this.name}" is not a usable output name`;case"detached":return`Runner file "${this.file}" cannot be reached from a detached worker — it configures the parent job's later steps, and a worker has none and may outlive the job. Publish this from the parent process instead.`;default:return`Failed to encode the value for "${this.name}"`}}};let u=s.JkU(function*(){let e=yield*i.gd,t=yield*o.Q2,r=(r,i)=>s.JkU(function*(){let n=yield*e.get(r).pipe(s.xm_(()=>new m({reason:"unavailable",file:r})));yield*t.writeFileString(n,i,{flag:"a"}).pipe(s.xm_(e=>new m({reason:"writeFailed",file:r,cause:e})))}),c=(e,t,i)=>{if(!(""!==t&&!/[\r\n]/.test(t)))return s.fJG(new m({reason:"invalidName",file:e,name:t}));let n=(e=>{let t="EFFECTED_EOF";for(;e.includes(t);)t=`${t}_`;return t})(i);return r(e,`${t}<<${n} +${i} +${n} +`)},d=(e,t)=>c("GITHUB_OUTPUT",e,t);return{set:d,setJson:(e,t,r)=>a.e$n(r)(t).pipe(s.xm_(t=>new m({reason:"encodeFailed",name:e,cause:t})),s.qIB(t=>d(e,JSON.stringify(t)))),summary:e=>r("GITHUB_STEP_SUMMARY",e),exportVariable:(e,t)=>c("GITHUB_ENV",e,t),addPath:e=>r("GITHUB_PATH",`${e} +`),setFailed:e=>l.Rm(n.T.error(e)),setSecret:e=>l.Rm(n.T.addMask(e))}}),p=e=>{throw Error(`ActionOutputs.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var h=class e extends c.kl()("@effected/github-actions/ActionOutputs"){static layer=d.QZ(this,u);static layerDetached=d.Py(this,{set:e=>s.fJG(new m({reason:"detached",file:"GITHUB_OUTPUT",name:e})),setJson:e=>s.fJG(new m({reason:"detached",file:"GITHUB_OUTPUT",name:e})),summary:()=>s.fJG(new m({reason:"detached",file:"GITHUB_STEP_SUMMARY"})),exportVariable:e=>s.fJG(new m({reason:"detached",file:"GITHUB_ENV",name:e})),addPath:()=>s.fJG(new m({reason:"detached",file:"GITHUB_PATH"})),setFailed:e=>l.z3(e),setSecret:()=>s.rIH});static makeTest=(e={})=>({set:()=>s.OH5(()=>p("set")),setJson:()=>s.OH5(()=>p("setJson")),summary:()=>s.OH5(()=>p("summary")),exportVariable:()=>s.OH5(()=>p("exportVariable")),addPath:()=>s.OH5(()=>p("addPath")),setFailed:()=>s.OH5(()=>p("setFailed")),setSecret:()=>s.OH5(()=>p("setSecret")),...e});static layerTest=(t={})=>d.Py(e,e.makeTest(t))};r.d(t,{X:()=>h})},5227(e,t,r){var i=r(7139),n=r(7476),a=r(7464),s=r(702),o=r(9427),l=r(6437),c=r(9605),d=r(8275),m=class extends a.X0d()("ActionStateError",{reason:a.xCb(["missing","malformed","notPlainJson","writeFailed"]),key:a.QfV,cause:a.Qrq(a.kld())}){get message(){switch(this.reason){case"missing":return`No action state was saved under "${this.key}"`;case"malformed":return`Action state under "${this.key}" could not be decoded`;case"notPlainJson":return`The encoded form of action state under "${this.key}" is not plain JSON and would not survive the phase boundary — encode to a plain-JSON form (e.g. Schema.OptionFromNullOr rather than Schema.Option)`;default:return`Failed to persist action state under "${this.key}"`}}};let u=s.JkU(function*(){let e=yield*i.gd,t=yield*o.Q2,r=yield*n.X,c=(r,i)=>s.JkU(function*(){let n=yield*e.get("GITHUB_STATE").pipe(s.xm_(e=>new m({reason:"writeFailed",key:r,cause:e}))),a="EFFECTED_EOF";for(;i.includes(a);)a=`${a}_`;yield*t.writeFileString(n,`${r}<<${a} +${i} +${a} +`,{flag:"a"}).pipe(s.xm_(e=>new m({reason:"writeFailed",key:r,cause:e})))}),d=(t,r)=>s.JkU(function*(){let i=yield*e.getOptional(`STATE_${t}`);if(l.isNone(i))return l.none();let n=yield*s.SvU({try:()=>JSON.parse(i.value),catch:e=>new m({reason:"malformed",key:t,cause:e})}),o=yield*a._Re(r)(n).pipe(s.xm_(e=>new m({reason:"malformed",key:t,cause:e})));return l.some(o)});return{save:(e,t,r)=>s.JkU(function*(){let i=yield*a.e$n(r)(t).pipe(s.xm_(t=>new m({reason:"malformed",key:e,cause:t}))),{parsed:n,serialized:o}=yield*s.SvU({try:()=>{let e=JSON.stringify(i);return{parsed:JSON.parse(e),serialized:e}},catch:t=>new m({reason:"notPlainJson",key:e,cause:t})});yield*a._Re(r)(n).pipe(s.xm_(t=>new m({reason:"notPlainJson",key:e,cause:t}))),yield*c(e,o)}),getOptional:d,get:(e,t)=>s.qIB(d(e,t),t=>l.isSome(t)?s.PyW(t.value):s.fJG(new m({reason:"missing",key:e}))),saveSecret:(e,t)=>s.qIB(r.setSecret(t),()=>c(e,JSON.stringify(t)))}}),p=e=>{throw Error(`ActionState.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var h=class e extends c.kl()("@effected/github-actions/ActionState"){static layer=d.QZ(this,u);static makeTest=(e={})=>({save:()=>s.OH5(()=>p("save")),get:()=>s.OH5(()=>p("get")),getOptional:()=>s.OH5(()=>p("getOptional")),saveSecret:()=>s.OH5(()=>p("saveSecret")),...e});static layerTest=(t={})=>d.Py(e,e.makeTest(t))};r.d(t,{q:()=>h})},7411(e,t,r){var i=r(7464),n=r(702),a=r(9616),s=r(1421),o=r(3024),l=class extends i.X0d()("DetachedProcessError",{reason:i.xCb(["logUnavailable","spawnFailed","invalidPid","signalFailed","notReady"]),pid:i.Qrq(i.wNn),path:i.Qrq(i.QfV),cause:i.Qrq(i.kld())}){get message(){switch(this.reason){case"logUnavailable":return`Could not open the detached log file "${this.path}"`;case"spawnFailed":return"The detached child did not start";case"invalidPid":return`Refusing to signal pid ${this.pid}: a non-positive pid targets a process group, not a process`;case"signalFailed":return`Could not signal pid ${this.pid}`;default:return"The detached child never became ready"}}};let c=i.wNn.pipe(i.z6Y(i.HNH(e=>Number.isInteger(e)&&e>0?void 0:"Expected a positive integer process id")),i.wkx("ProcessId"));var d=class{static spawn=n.fn("DetachedProcess.spawn")(function*(e){let t=yield*n.SvU({try:()=>(0,o.openSync)(e.logFile,"a"),catch:t=>new l({reason:"logUnavailable",path:e.logFile,cause:t})}),r=yield*n.SvU({try:()=>{try{let r=(0,s.spawn)(e.command,[...e.args??[]],{...void 0===e.cwd?{}:{cwd:e.cwd},env:{...process.env,...e.env},detached:!0,stdio:["ignore",t,t]});if(r.on("error",()=>{}),r.unref(),void 0===r.pid)throw Error(`"${e.command}" produced no process id`);return r.pid}finally{(0,o.closeSync)(t)}},catch:e=>new l({reason:"spawnFailed",cause:e})});return yield*n.ww9({pid:r}),a.xv(r)});static awaitReady=n.fn("DetachedProcess.awaitReady")(function*(e,t){let r=t?.interval??"150 millis",i=t?.attempts??40,a=t=>n.qIB(e,e=>e?n.rIH:t<=0?n.fJG(new l({reason:"notReady"})):n.qIB(n.yy4(r),()=>a(t-1)));return yield*a(i)});static reap=n.fn("DetachedProcess.reap")(function*(e,t="SIGTERM"){return(yield*n.ww9({pid:e}),!Number.isInteger(e)||e<=0)?yield*n.fJG(new l({reason:"invalidPid",pid:e})):yield*n.DYE(()=>{try{return process.kill(e,t),n.PyW(!0)}catch(t){return"object"==typeof t&&null!==t&&"ESRCH"===t.code?n.PyW(!1):n.fJG(new l({reason:"signalFailed",pid:e,cause:t}))}})})};r.d(t,{EN:()=>d},{xv:c})},4742(e,t,r){let i=e=>e.replaceAll("%","%25").replaceAll("\r","%0D").replaceAll("\n","%0A");var n=class e{static render(e,t,r){let n=Object.entries(t).filter(e=>void 0!==e[1]).map(([e,t])=>`${e}=${i(String(t)).replaceAll(":","%3A").replaceAll(",","%2C")}`).join(",");return`${""===n?`::${e}::`:`::${e} ${n}::`}${i(r)}`}static debug(t){return e.render("debug",{},t)}static notice(t,r={}){return e.render("notice",e.annotation(r),t)}static warning(t,r={}){return e.render("warning",e.annotation(r),t)}static error(t,r={}){return e.render("error",e.annotation(r),t)}static group(t){return e.render("group",{},t)}static endGroup(){return e.render("endgroup",{},"")}static addMask(t){return e.render("add-mask",{},t)}static annotation(e){return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}};r.d(t,{T:()=>n})},3207(e,t,r){r.d(t,{BC:()=>g,Ie:()=>I,D8:()=>h,Ts:()=>p,CZ:()=>y,ET:()=>A,HV:()=>x,T9:()=>B,Tj:()=>E,of:()=>w,jB:()=>v,KC:()=>S});var i=r(2730),n=r(3558),a=r(9920);let s=e=>e.length>0;var o=r(1034),l=r(6437),c=r(606),d=r(7045),m=r(2917);let u=globalThis.Array,p=e=>u.isArray(e)?e:u.from(e),h=e=>u.isArray(e)?e:[e];d.Wo,l.toArray;let g=(0,a.XY)(2,(e,t)=>[...e,t]),f=(0,a.XY)(2,(e,t)=>p(e).concat(p(t)));u.isArray;let y=s,A=s,b=(0,a.XY)(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),x=e=>A(e)?l.some(N(e)):l.none(),N=e=>e[e.length-1];o.i8;let C=(0,a.XY)(3,(e,t,r)=>{let i=p(e),n=p(t);return A(i)?A(n)?P(r)(f(i,n)):i:n}),S=(0,a.XY)(2,(e,t)=>C(e,t,i.jI())),I=()=>[],w=e=>[e],E=(0,a.XY)(2,(e,t)=>e.map(t)),v=(0,a.XY)(2,(e,t)=>{let r=[],i=[],n=0;for(let a of e){let e=t(a,n++);m.oJ(e)?i.push(e.success):r.push(e.failure)}return[r,i]});c.O3;let B=n.O3,P=(0,a.XY)(2,(e,t)=>{let r=p(e);if(A(r)){let e=[b(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]})},5909(e,t,r){var i=r(2730),n=r(3558),a=r(9920),s=r(3536),o=r(8294),l=r(6437),c=r(606),d=r(2544),m=r(8527);let u=/^[+-]?\d+$/,p="~effect/BigDecimal",h={[p]:p,[s.HR](){let e=S(this);return s.kg(s.tW(e.value),s.ai(e.scale))},[i.HR](e){return g(e)&&O(this,e)},toString(){return`BigDecimal(${k(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[o.FX](){return this.toJSON()},pipe(){return(0,d.tT)(this,arguments)}},g=e=>(0,m.i5)(e,p),f=(e,t)=>{let r=Object.create(h);return r.value=e,r.scale=t,r},y=(e,t)=>{if(e!==A&&e%N===A)throw RangeError("Value must be normalized");let r=f(e,t);return r.normalized=r,r},A=BigInt(0),b=BigInt(1),x=BigInt(-1),N=BigInt(10),C=y(A,0),S=e=>{if(void 0===e.normalized)if(e.value===A)e.normalized=C;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),n=e.scale-r;e.normalized=y(i,n)}return e.normalized},I=(0,a.XY)(2,(e,t)=>t>e.scale?f(e.value*N**BigInt(t-e.scale),t):t<e.scale?f(e.value/N**BigInt(e.scale-t),t):e),w=(0,a.XY)(2,(e,t)=>t.value===A?e:e.value===A?t:e.scale>t.scale?f(I(t,e.scale).value+e.value,e.scale):e.scale<t.scale?f(I(e,t.scale).value+t.value,t.scale):f(e.value+t.value,e.scale)),E=c.L8((e,t)=>{let r=c.wN(P(e),P(t));return 0!==r?r:e.scale>t.scale?c.Qw(e.value,I(t,e.scale).value):e.scale<t.scale?c.Qw(I(e,t.scale).value,t.value):c.Qw(e.value,t.value)}),v=c.hl(E),B=c.yJ(E),P=e=>e.value===A?0:e.value<A?-1:1,R=n.L8((e,t)=>e.scale>t.scale?I(t,e.scale).value===e.value:e.scale<t.scale?I(e,t.scale).value===t.value:e.value===t.value),O=(0,a.XY)(2,(e,t)=>R(e,t)),k=e=>{let t,r,i=S(e);if(Math.abs(i.scale)>=16)return T(i);let n=i.value<A,a=n?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=a.length)t="0",r="0".repeat(i.scale-a.length)+a;else{let e=a.length-i.scale;if(e>a.length){let i=e-a.length;t=`${a}${"0".repeat(i)}`,r=""}else r=a.slice(e),t=a.slice(0,e)}let s=""===r?t:`${t}.${r}`;return n?`-${s}`:s},T=e=>{if(M(e))return"0e+0";let t=S(e),r=`${(t.value<A?f(-t.value,t.scale):t).value}`,i=r.slice(0,1),n=r.slice(1),a=`${D(t)?"-":""}${i}`;""!==n&&(a+=`.${n}`);let s=n.length-t.scale;return`${a}e${s>=0?"+":""}${s}`},M=e=>e.value===A,D=e=>e.value<A,z=e=>g(e[0]),Q=(0,a.XY)(z,(e,t=0)=>e.scale<=t?e:f(e.value/N**BigInt(e.scale-t),t)),_=(0,a.XY)(z,(e,t=0)=>{let r=Q(e,t);return e.value>A&&v(r,e)?w(r,f(b,t)):r}),U=(0,a.XY)(z,(e,t=0)=>{let r=Q(e,t);return D(e)&&B(r,e)?w(r,f(x,t)):r});r.d(t,{},{GP:k,L8:f,RI:U,hs:I,mk:_,pH:E,rs:R,s5:g,sH:e=>{let t,r,i,n;if(""===e)return l.some(C);let a=e.search(/[eE]/);if(-1!==a){let i=e.slice(a+1);if(t=e.slice(0,a),r=Number(i),""===t||!Number.isSafeInteger(r)||!u.test(i))return l.none()}else t=e,r=0;let s=t.search(/\./);if(-1!==s){let e=t.slice(0,s),r=t.slice(s+1);i=`${e}${r}`,n=r.length}else i=t,n=0;if(!u.test(i))return l.none();let o=n-r;return Number.isSafeInteger(o)?l.some(f(BigInt(i),o)):l.none()}})},347(e,t,r){var i=r(6437),n=r(2917);function a(){return Object.assign(e=>e,{option:e=>i.some(e),result:e=>n.Py(e),is:e=>!0})}r.d(t,{HC:()=>a})},8149(e,t,r){var i=r(8579),n=r(8826);i.PX,i.B4,i.Aj,i.Wg;let a=i.lC;i.Xb,i.ik,i.b5,i.DH;let s=i.OE;i.Iu,n.nIy,n.ORc,n.nn5;let o=n.O$X;n.h2c;let l=n.ReC;n.myX,n.QE5;let c=n.khU,d=n.L$u;n.gpn,n.k7S;let m=n.BbX,u=n.prj;n.tU5,n.h74,n.Bou,n.RJ6;let p=n.GyP;i.PW,i.qB,i.Xm;let h=i.$L;i.q_;let g=i.RS,f=i.Vw;n.DQo,n.c8t,n.MUS,n.t8c,n._y;let y=n.qwd;n.ASO,n.F7W,n.Aub,n.cOF,n.Rft,n.RD4,n.Kkt,n.PnV;let A=n.Bk6;i.Eh,n.tQ6,n.On5,r.d(t,{},{$L:h,Bb:m,Bk:A,L$:d,RS:g,Tj:o,Vw:f,fJ:s,iw:l,j9:p,kh:c,lC:a,pr:u,qw:y})},893(e,t,r){var i=r(3207),n=r(8149),a=r(702),s=r(9920),o=r(6437),l=r(2544),c=r(8527),d=r(6627),m=r(9444),u=r(1746);let p="~effect/Channel",h=e=>(0,c.i5)(e,p),g={[p]:{_Env:s.D_,_InErr:s.D_,_InElem:s.D_,_OutErr:s.D_,_OutElem:s.D_},pipe(){return(0,l.tT)(this,arguments)}},f=e=>{let t=Object.create(g);return t.transform=(t,r)=>a.Tyx(e(t,r),e=>a.PyW(a.ATB(e))),t},y=(e,t)=>f((r,i)=>a.qIB(x(e)(r,i),e=>t(e,i))),A=e=>f((t,r)=>e),b=e=>f(a.D9k(function*(t,r){let i=u.Fp(r),n=e=>u.VN(i,d.aU(e)),s=yield*a.S5A(e(t,r,i),n);return a.S5A(s,n)})),x=e=>e.transform,N=A(a.PyW(n.Vw())),C=A(a.PyW(a.ZmZ)),S=(0,s.XY)(2,(e,t)=>y(e,e=>a.OH5(()=>{let r=0;return a.TjK(e,e=>t(e,r++))}))),I=(0,s.XY)(2,(e,t)=>w(e,e=>a.PyW(t(e)))),w=(0,s.XY)(2,(e,t)=>y(e,e=>a.PyW(d.m8(e,e=>a.qIB(t(e),n.Vw))))),E=(0,s.XY)(e=>h(e[0])&&h(e[1]),(e,t,r)=>b(a.D9k(function*(i,n,s){let o=r?.haltStrategy??"both",l=yield*m.Mm(0);yield*u.U9(s,m.n_(l));let c=0,p=(e,t,r)=>x(t)(i,r).pipe(a.qIB(e=>e.pipe(a.qIB(e=>m.x(l,e)),a.i4r)),a.S5A(t=>a.hgn(u.VN(r,d.aU(t)),function(e,t){if(c++,!d.Og(t))return m.AT(l,t);switch(o){case"both":return 2===c?m.AT(l,t):a.rIH;case"left":case"right":return e===o?m.AT(l,t):a.rIH;case"either":return m.AT(l,t)}}(e,t))),a.ar0(s));return yield*p("left",e,u.Fp(s)),yield*p("right",t,u.Fp(s)),m.s(l)}))),v=(0,s.XY)(2,(e,t)=>f((r,i)=>a.qIB(x(e)(r,i),e=>x(t)(e,i)))),B=(0,s.XY)(2,(e,t)=>b((r,i,n)=>u.a6(n,t).pipe(a.hgn(x(e)(r,i))))),P=(0,s.XY)(2,(e,t)=>B(e,e=>t)),R=(e,t,r)=>a.DYE(()=>{let i=u.LZ(),s=x(e)(n.Vw(),i);return d.m8(a.qIB(s,t),r||a.PyW).pipe(a.cfM(e=>u.VN(i,e)))}),O=(0,s.XY)(2,(e,t)=>R(e,e=>a.i4r(a.qIB(e,t),{disableYield:!0}))),k=(0,s.XY)(3,(e,t,r)=>a.DYE(()=>{let i=t();return R(e,e=>a.iMI({while:s.ue,body:()=>e,step:e=>{i=r(i,e)}}),()=>a.PyW(i))}));r.d(t,{},{DY:e=>f((t,r)=>a.DYE(()=>x(e())(t,r))),Dn:v,Hb:I,Ie:N,OB:A,Tj:S,VD:(e,t)=>f((r,i)=>a.TjK(m.L8({capacity:t?.bufferSize,strategy:t?.strategy}).pipe(a.Mim(e=>u.U9(i,m.n_(e))),a.Mim(t=>a.ar0(u.Gt(e(t),i),i))),m.h0)),Z1:f,Zm:C,fJ:e=>A(a.PyW(a.fJG(e))),h1:E,lB:(e,t)=>x(e)(n.Vw(),t),o1:O,oA:e=>f((t,r)=>{let i;return a.PyW(a.DYE(()=>i||e.pipe(u.Gt(r),a.qIB(e=>x(e)(t,r)),a.qIB(e=>i=e))))}),uz:()=>f((e,t)=>a.OH5(()=>{let t="",r=!1,s=o.none(),l=a.DYE(()=>"Some"===s._tag?n.Vw(s.value):d.tv(e,{onSuccess:c,onFailure:a.ATB,onDone:e=>{if(s=o.some(e),t.length>0||r){let e=t;return t="",r=!1,a.PyW([e])}return n.Vw(e)}}));function c(e){let n=function(e){let n=[];function a(e){0===t.length?n.push(e):(n.push(t+e),t="")}for(let i=0;i<e.length;i++){let n=e[i];if(0!==n.length){let e=0,i=n.indexOf("\r"),s=n.indexOf("\n");for(r&&(0===s?(a(""),e=1,s=n.indexOf("\n",e)):a(""),r=!1);-1!==i||-1!==s;)-1===i||-1!==s&&s<i?(a(n.substring(e,s)),e=s+1,s=n.indexOf("\n",e)):n.length===i+1?(r=!0,i=-1):(a(n.substring(e,i)),e=i+(s===i+1?2:1),i=n.indexOf("\r",e),s=n.indexOf("\n",e));t+=n.substring(e,n.length-!!r)}}return i.ET(n)?n:null}(e);return null!==n?a.PyW(n):l}return l})),vb:k,wp:x,ye:P})},3407(e,t,r){var i=r(8579),n=r(8826);let a=n.z4N,s=e=>i.R6(t=>e(t.getRef(a)));r.d(t,{},{C7:a,Rm:(...e)=>s(t=>n.OH5(()=>{t.log(...e)})),z3:(...e)=>s(t=>n.OH5(()=>{t.error(...e)}))})},9605(e,t,r){var i=r(6621),n=r(2730),a=r(9920),s=r(3536),o=r(8579),l=r(58),c=r(6437),d=r(8527);let m="~effect/Context/Service",u=function(){let e=(0,l.jt)();(0,l.ft)(2);let t=Error();(0,l.ft)(e);let r=function(){};return(Object.setPrototypeOf(r,p),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[h]=h,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},p={[m]:m,...i.b({label:"Service",evaluate(e){return(0,o.xt)(I(e.context,this))}}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return x(this,e)},use(e){return(0,o.R6)(t=>e(I(t.context,this)))},useSync(e){return(0,o.R6)(t=>(0,o.xt)(e(I(t.context,this))))}},h="~effect/Context/Reference",g="~effect/Context",f=e=>{let t=Object.create(y);return t.mapUnsafe=e,t.mutable=!1,t},y={...o.fU,[g]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[n.HR](e){if(!A(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!n.aI(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[s.HR](){return s.ai(this.mapUnsafe.size)}},A=e=>(0,d.i5)(e,g),b=f(new Map),x=(e,t)=>f(new Map([[e.key,t]])),N=(0,a.XY)(3,(e,t,r)=>R(e,e=>{e.set(t.key,r)})),C=(0,a.XY)(2,(e,t)=>e.mapUnsafe.get(t.key)),S=(0,a.XY)(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(h in t)return E(t);throw v(t)}return e.mapUnsafe.get(t.key)}),I=S,w="~effect/Context/defaultValue",E=e=>w in e?e[w]:e[w]=e.defaultValue(),v=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},B=(0,a.XY)(2,(e,t)=>e.mapUnsafe.has(t.key)?c.some(e.mapUnsafe.get(t.key)):(0,d.i5)(t,h)?c.some(E(t)):c.none()),P=(0,a.XY)(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:R(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),R=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),f(r)};r.d(t,{},{Ie:()=>b,Jt:I,L8:x,LZ:f,Or:u,Um:(...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return f(t)},WQ:N,Y6:C,aE:A,fp:S,h1:P,kA:(e,t)=>e.mapUnsafe.has(t.key)?e.mapUnsafe.get(t.key):E(t),kl:u,om:B})},1160(e,t,r){var i=r(8579),n=r(2544);let a=class extends n.Xs{constructor(e){super(),e&&Object.assign(this,e)}},s=i.$D,o=i.rN;r.d(t,{},{$D:s,Xs:a,rN:o})},1897(e,t,r){r.d(t,{rs:()=>eu,pH:()=>ep,dv:()=>eE,Rd:()=>ev,tn:()=>eh,Ar:()=>es,kQ:()=>eo,rg:()=>ec,lU:()=>el,rr:()=>ed,Ry:()=>em,L8:()=>ef,MO:()=>ey,TT:()=>eg,yF:()=>eI,Xy:()=>ew,yT:()=>eA,ez:()=>eC,y3:()=>eN,k9:()=>eb,ko:()=>ex,xV:()=>eS}),r(9605);var i=r(9920),n=r(8149),a=r(8826);a.a1U,a.RKA,a.Rud,a.s0X,r(6292);var s=r(2730),o=r(3558),l=r(3536),c=r(8294),d=r(6437),m=r(606),u=r(2544),p=r(8527);let h="~effect/time/DateTime",g="~effect/time/DateTime/TimeZone",f={[h]:h,pipe(){return(0,u.tT)(this,arguments)},[c.FX](){return this.toString()},toJSON(){return j(this).toJSON()}},y={...f,_tag:"Utc",[l.HR](){return l.ai(this.epochMilliseconds)},[s.HR](e){return S(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${j(this).toJSON()})`}},A={...f,_tag:"Zoned",[l.HR](){return l.kg(l.ai(this.epochMilliseconds))(l.tW(this.zone))},[s.HR](e){return S(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&s.aI(this.zone,e.zone)},toString(){return`DateTime.Zoned(${ea(this)})`}},b={[g]:g,[c.FX](){return this.toString()}},x={...b,_tag:"Named",[l.HR](){return l.Yj(`Named:${this.id}`)},[s.HR](e){return w(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},N={...b,_tag:"Offset",[l.HR](){return l.Yj(`Offset:${this.offset}`)},[s.HR](e){return w(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${$(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},C=(e,t,r)=>{let i=Object.create(A);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},S=e=>p.i5(e,h),I=e=>S(e[0]),w=e=>p.i5(e,g),E=e=>"Zoned"===e._tag,v=o.L8((e,t)=>e.epochMilliseconds===t.epochMilliseconds),B=m.L8((e,t)=>e.epochMilliseconds<t.epochMilliseconds?-1:+(e.epochMilliseconds>t.epochMilliseconds)),P=e=>{let t=Object.create(y);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t},R=e=>{let t=e.getTime();if(Number.isNaN(t))throw new n.qw("Invalid date");return P(t)},O=e=>{if(S(e))return e;if(e instanceof Date)return R(e);if("object"==typeof e){if("epochMilliseconds"in e)return P(e.epochMilliseconds);let t=new Date(0);return K(t,e),R(t)}return"string"!=typeof e||k(e)?R(new Date(e)):R(new Date(e+"Z"))},k=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),T=(e,t)=>{let r,i=t?.timeZone;if(void 0===i&&S(e)&&E(e))return e;let a=O(e);if(a.epochMilliseconds<-86399999568e5||a.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${a.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=H(-60*new Date(a.epochMilliseconds).getTimezoneOffset()*1e3);else if(w(i))r=i;else if("number"==typeof i)r=H(i);else{let e=q(i);if(d.isNone(e))throw new n.qw(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?C(a.epochMilliseconds,r,a.partsUtc):X(a.epochMilliseconds,r,t?.disambiguation??"compatible")},M=d.liftThrowable(T),D=d.liftThrowable(O),z=/^(.{17,35})\[(.+)\]$/,Q=((e,t,r)=>r?.adjustForTimeZone===!0?X(e.epochMilliseconds,t,r?.disambiguation??"compatible"):C(e.epochMilliseconds,t,e.partsUtc),new Map),_={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},U=e=>{if(Q.has(e))return Q.get(e);try{var t=new Intl.DateTimeFormat("en-US",{..._,timeZone:e});let r=t.resolvedOptions().timeZone;if(Q.has(r))return Q.get(r);let i=Object.create(x);return i.id=r,i.format=t,Q.set(r,i),i}catch{throw new n.qw(`Invalid time zone: ${e}`)}},H=e=>{let t=Object.create(N);return t.offset=e,t},L=d.liftThrowable(U),F=/^(?:GMT|[+-])/,q=e=>{if(F.test(e)){let t=W(e);return null===t?d.none():d.some(H(t))}return L(e)},j=e=>new Date(e.epochMilliseconds),G=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},Y=e=>G(e).getTime()-J(e),$=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},J=e=>e.epochMilliseconds,K=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},X=(e,t,r)=>{if("Offset"===t._tag)return C(e-t.offset,t);let i=Z(e-864e5,e,t),n=Z(e+864e5,e,t);if(i===n)return C(e-i,t);let a=i-n;if(i<n){if(Z(e-n,e,t)===n)return C(e-n,t);let a=C(e-i,t);if(e!==G(a).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return C(e-n,t)}return a}if(Z(e-i,e,t)===i){if("earlier"===r||"compatible"===r||Z(e-i+a,e+a,t)===i)return C(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return C(e-n,t)},V=/([+-])(\d{2}):(\d{2})$/,W=e=>{let t=V.exec(e);if(null===t)return null;let[,r,i,n]=t;return("+"===r?1:-1)*(60*Number(i)+Number(n))*6e4},Z=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let n=W(i);return null===n?Y(C(t,r)):n},ee=(0,i.XY)(I,(e,t,r)=>{if("Utc"===e._tag){let r=j(e);return t(r),P(r.getTime())}let i=new Date(G(e).getTime());return t(i),X(i.getTime(),e.zone,r?.disambiguation??"compatible")}),et=((e,t)=>et(e,e=>{let r=new Date(e);return t(r),r.getTime()}),(0,i.XY)(2,(e,t)=>{let r=t(J(e));return"Utc"===e._tag?P(r):C(r,e.zone)})),er=((e,t)=>t(G(e)),(0,i.XY)(2,(e,t)=>t(j(e)))),ei=(e,t)=>{e.setTime(e.getTime()+t)},en=((e,t)=>ee(e,e=>{if(t.milliseconds&&ei(e,t.milliseconds),t.seconds&&ei(e,1e3*t.seconds),t.minutes&&ei(e,60*t.minutes*1e3),t.hours&&ei(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=G(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${$(Y(e))}`}),ea=e=>"Offset"===e.zone._tag?en(e):`${en(e)}[${e.zone.id}]`;r(8275);let es=S,eo=w,el=e=>w(e)&&"Offset"===e._tag,ec=e=>w(e)&&"Named"===e._tag,ed=e=>"Utc"===e._tag,em=E,eu=v,ep=B,eh=R,eg=T,ef=D,ey=e=>{let t=z.exec(e);if(null===t){let t=W(e);return null!==t?M(e,{timeZone:t}):d.none()}let[,r,i]=t;return M(r,{timeZone:i})},eA=e=>P(e.epochMilliseconds),eb=U,ex=H,eN=L,eC=q,eS=e=>"Offset"===e._tag?$(e.offset):e.id,eI=j,ew=J,eE=e=>j(e).toISOString(),ev=ea},1499(e,t,r){var i=r(9920),n=r(8826),a=r(2544);let s={"~effect/Deferred":{_A:i.D_,_E:i.D_},pipe(){return(0,a.tT)(this,arguments)}},o=(0,i.XY)(2,(e,t)=>n.OH5(()=>l(e,t))),l=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0};r.d(t,{},{$L:e=>n.OH5(()=>void 0!==e.effect),$w:l,LZ:()=>{let e=Object.create(s);return e.resumes=void 0,e.effect=void 0,e},Tx:e=>n.E2r(t=>e.effect?t(e.effect):(e.resumes??=[],e.resumes.push(t),n.OH5(()=>{let r=e.resumes.indexOf(t);e.resumes.splice(r,1)}))),Vw:o})},6292(e,t,r){var i=r(2730),n=r(9920),a=r(3536),s=r(8294),o=r(6437),l=r(2544),c=r(8527);let d="~effect/time/Duration",m=BigInt(0),u=BigInt(1),p=BigInt(1e3),h=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),g=(e,t)=>e.includes(".")?h(Number(e)*Number(t)):BigInt(e)*t,f=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,y=e=>{switch(typeof e){case"number":return R(e);case"bigint":return P(e);case"string":{if("Infinity"===e)return v;if("-Infinity"===e)return B;let t=f.exec(e);if(!t)break;let[r,i,n]=t;if("nano"===n||"nanos"===n)return P(g(i,u));if("micro"===n||"micros"===n)return P(g(i,p));let a=Number(i);switch(n){case"milli":case"millis":return R(a);case"second":case"seconds":return O(a);case"minute":case"minutes":return k(a);case"hour":case"hours":return T(a);case"day":case"days":return M(a);case"week":case"weeks":return D(a)}break}case"object":{if(null===e)break;if(d in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(c.Et))return A(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return E;if(e[0]===-1/0||e[1]===-1/0)return B;if(e[0]===1/0||e[1]===1/0)return v;return I(h(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return I(t);return I(h(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return A(e)},A=e=>{throw Error(`Invalid Input: ${e}`)},b=o.liftThrowable(y),x={_tag:"Millis",millis:0},N={_tag:"Infinity"},C={_tag:"NegativeInfinity"},S={[d]:d,[a.HR](){return a.QK(this.value)},[i.HR](e){return w(e)&&L(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[s.FX](){return this.toJSON()},pipe(){return(0,l.tT)(this,arguments)}},I=e=>{let t=Object.create(S);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=x:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:h(1e6*e)}:t.value=e>0?N:C:e===m?t.value=x:t.value={_tag:"Nanos",nanos:e},t},w=e=>(0,c.i5)(e,d),E=I(0),v=I(1/0),B=I(-1/0),P=e=>I(e),R=e=>I(e),O=e=>I(1e3*e),k=e=>I(6e4*e),T=e=>I(36e5*e),M=e=>I(864e5*e),D=e=>I(6048e5*e),z=e=>{let t=y(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return h(1e6*t.value.millis)}},Q=o.liftThrowable(z),_=(0,n.XY)(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),U=(0,n.XY)(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(z(e),t.value.nanos):r.onNanos(e.value.nanos,z(t))),H=(e,t)=>U(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag}),L=(0,n.XY)(2,(e,t)=>H(e,t));r.d(t,{},{MI:e=>"Infinity"!==e.value._tag&&"NegativeInfinity"!==e.value._tag,Tn:v,YA:O,bN:y,cF:P,fP:e=>_(y(e),{onMillis:e=>e/1e3,onNanos:e=>Number(e)/1e9,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),kE:e=>_(y(e),{onMillis:n.D_,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),lX:b,n$:w,ne:R,qv:B,rs:H,tb:Q,v_:E})},702(e,t,r){r.d(t,{Q56:()=>eC,jGc:()=>eS,U9h:()=>eI,Q7R:()=>N,hgn:()=>q,ww9:()=>eM,swY:()=>eX,as:()=>K,NLW:()=>X,PO3:()=>eB,E2r:()=>k,MfU:()=>V,Tyx:()=>Z,Fig:()=>ee,KuX:()=>W,RKA:()=>eY,_OA:()=>eu,sxi:()=>ep,F_Q:()=>_,_r7:()=>eV,yeE:()=>ew,NS5:()=>$,fJG:()=>D,ATB:()=>z,pVV:()=>Q,qIB:()=>F,Ab9:()=>e1,fn:()=>eG,D9k:()=>ej,vCS:()=>e2,jJl:()=>C,i4r:()=>eT,ar0:()=>eQ,x6Z:()=>e_,yUA:()=>L,JkU:()=>M,XeO:()=>ea,GaK:()=>eP,yw5:()=>x,MDB:()=>eK,fH4:()=>eJ,FFw:()=>e$,TjK:()=>J,q7Y:()=>e0,jkJ:()=>eW,xm_:()=>et,Z9x:()=>eZ,khu:()=>ed,tvg:()=>em,ZmZ:()=>T,S5A:()=>eE,cfM:()=>ev,nAr:()=>eR,uKv:()=>Y,QgK:()=>er,ivC:()=>I,Gte:()=>eh,PpN:()=>eg,PfK:()=>eA,KT6:()=>ec,Ket:()=>G,L5P:()=>en,MY7:()=>eU,eJC:()=>eH,pR5:()=>eL,HZF:()=>eF,lKS:()=>eq,z8E:()=>eb,P1j:()=>ex,Pxi:()=>eN,Nav:()=>ef,yy4:()=>el,PyW:()=>E,lwU:()=>v,nGE:()=>B,DYE:()=>P,OH5:()=>R,Mim:()=>j,dGm:()=>ei,wRz:()=>es,mgX:()=>eo,SvU:()=>U,$mh:()=>w,rfi:()=>eO,FcF:()=>ek,r_d:()=>ey,gvr:()=>eD,rIH:()=>O,iMI:()=>S,R6R:()=>H,hq:()=>ez});var i=r(9920),n=r(8579),a=r(8826),s=r(9605);r(2917);var o=r(9981),l=r(8275);let c=(0,i.XY)(e=>(0,n.yw)(e[0]),(e,t,r)=>{let i;return s.aE(t)?a.PpN(e,t):(i=Array.isArray(t)?l.Um(...t):t,a.Pxi(t=>a.qIB(r?.local?l.H7(i,l.j6(),t):l.LT(i,t),t=>a.PpN(e,t))))});var d=r(6437),m=r(6627),u=r(1371);(e,t,r)=>a.qIB(o.xn(t),t=>{let i=o.d3.defaultValue();return a.h_t(a.i4r(a.Mim(a.qIB(a.DYE(()=>a.PfK(e,o.d3,i)),t),e=>a.OH5(()=>{i=e})),{disableYield:!0}),e=>n.$L(e)?a.PyW(e.value):r(e,0===i.attempt?d.none():d.some(i)))});let p=(0,i.XY)(3,(e,t,r)=>a.qIB(o.xn(t),t=>{let i,n=o.d3.defaultValue(),s=a.h_t(a.DYE(()=>a.PfK(e,o.d3,n)),e=>(i=e,a.qIB(t(e),e=>(n=e,s))));return m.m8(s,e=>(0,u.s)(()=>r(i,e)))})),h=(0,i.XY)(2,(e,t)=>p(e,"function"==typeof t?t(i.D_):o.GM(t)?t:f(t),a.fJG)),g=o.le(o.i4),f=e=>{let t=e.schedule?o.le(e.schedule):g;return e.while&&(t=o.E6(t,({input:t})=>{let r=e.while(t);return n.yw(r)?r:a.PyW(r)})),e.until&&(t=o.E6(t,({input:t})=>{let r=e.until(t);return n.yw(r)?a.TjK(r,e=>!e):a.PyW(!r)})),void 0!==e.times&&(t=o.E6(t,({attempt:t})=>a.PyW(t<=e.times))),t},y=o.t5(1),A=r(2730).Xq({_E:e=>e,_A:e=>e,_R:e=>e});({...n.In,"~effect/Request":A}),r(3327);var b=r(8210);n.$n;let x=n.yw,N=a.Q7R;a.jBG,a.TSs,a.tfT,a.i8i,a.kAe;let C=a.jJl,S=a.iMI,I=a.ivC,w=a.$mh,E=a.PyW,v=a.lwU,B=a.nGE,P=a.DYE,R=a.OH5,O=a.rIH;a.Vxk;let k=a.E2r,T=a.ZmZ;a.Do,a.JrD,a.uVU,a.oIE;let M=a.JkU,D=a.fJG;a.gOk;let z=a.ATB,Q=a.pVV,_=a.F_Q,U=a.SvU;a.m9E,a.KN3;let H=n.R6,L=a.yUA;a.sVm,a.pkL,a.bJ;let F=a.qIB;a.Bqz;let q=a.hgn,j=a.Mim,G=a.Ket,Y=a.uKv,$=a.NS5,J=a.TjK,K=a.as;a.Xx$;let X=a.NLW;a.UUz,a.yU6,a.OYO;let V=a.h_t,W=a.KuX;a.loE,a.AXC,a.zt4,a.scW;let Z=a.Tyx,ee=a.Fig;a.XWm,a.osR,a.U9Y,a.sJf,a.rNk;let et=a.xm_;a.UcN;let er=a.QgK;a.sFT,a.k$L;let ei=a.dGm;a.cA6,a.bKC,a.nAi,a.u4Y;let en=h;a._Sg;let ea=a.XeO;a.GrF,a.$$g,a.DM4,a.Dd;let es=a.wRz;a.D52;let eo=a.mgX;a.cbG;let el=a.yy4;a.ayu,a.Vdx,a.FfP,a.O4F;let ec=a.KT6;a.pbD,a.x1Q,a.E8K,a.Pm0,a.VtY,a.W$I,a.ahH,a.z7s,a.YWq,a.G$Q,a.D$$,a.NZb,a.wR5;let ed=a.khu,em=a.tvg;a.N6O,a.oJd;let eu=a._OA,ep=a.sxi,eh=c,eg=a.PpN;a.oao,a.euC;let ef=a.Nav,ey=a.r_d;a.bUZ;let eA=a.PfK;a.c7E,a.KyM;let eb=a.z8E,ex=a.P1j,eN=a.Pxi,eC=a.Q56;a.N24;let eS=a.jGc,eI=a.U9h,ew=a.yeE,eE=a.S5A;a.BeE,a.iKM,a.r7h;let ev=a.cfM;a.fGe,a.uRq;let eB=a.PO3;a.Rgn,a.CJw;let eP=a.GaK;a.Inz;let eR=a.nAr,eO=a.rfi,ek=a.FcF;a.eMl,a.dsN;let eT=a.i4r;a.aAq,a.Xrv,a.kJM,a._o1,a.nDN,a.MaT,a.Muk;let eM=a.ww9;a._32,a.Wj8,a.Fu6,a.WbR,a.A_r,a.Z98,a.Rd$;let eD=a.gvr;a.fRP,a.zr8;let ez=a.hq;a.zhn;let eQ=a.ar0,e_=a.x6Z;a.yxg,a.PCg,a.pEE,a.ABT;let eU=a.MY7,eH=a.eJC;a.lSz,a.bPG;let eL=a.pR5;a.v2Q,a.NpQ,a.jqV;let eF=a.HZF;a.lE;let eq=a.lKS;a.rfH;let ej=a.D9k,eG=a.fn,eY=a.RKA;a.lIX;let e$=a.lIX("Warn"),eJ=a.lIX("Info"),eK=a.lIX("Debug"),eX=(0,i.XY)(e=>x(e[0]),(e,...t)=>a.bUZ(e,b.iL,e=>{let r={...e};return 1===t.length?Object.assign(r,t[0]):r[t[0]]=t[1],r}));a.gsV;let eV=(e,t,r)=>(...i)=>k(n=>{try{e(...i,(e,r)=>{e?n(D(t?t(e,i):e)):n(E(r))})}catch(e){n(r?D(r(e,i)):_(e))}}),eW=a.jkJ,eZ=a.Z9x,e0=a.q7Y,e1=a.Ab9;a.UVN;let e2=a.vCS},6621(e,t,r){var i=r(8579);r.d(t,{},{b:e=>(0,i.yj)({op:e.label,[i._3]:e.evaluate})})},1757(e,t,r){var i=r(1160),n=r(2917);let a="~effect/encoding/EncodingError";class s extends i.rN("EncodingError"){[a]=a}let o=e=>{let t=u(e),r=t.length;if(r%4!=0)return n.fJ(new s({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return n.fJ(new s({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,n=0;e<r;e+=4,n+=3){let r=h(t.charCodeAt(e))<<18|h(t.charCodeAt(e+1))<<12|h(t.charCodeAt(e+2))<<6|h(t.charCodeAt(e+3));i[n]=r>>16,i[n+1]=r>>8&255,i[n+2]=255&r}return n.Py(i)}catch(e){return n.fJ(new s({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},l=e=>{let t=u(e),r=t.length;if(r%4==1)return n.fJ(new s({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return n.fJ(new s({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return o(i=i.replace(/-/g,"+").replace(/_/g,"/"))},c=e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return n.fJ(new s({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=b(t[2*i]),n=b(t[2*i+1]);r[i]=e<<4|n}return n.Py(r)}catch(t){return n.fJ(new s({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}},d=new TextEncoder,m=new TextDecoder,u=e=>e.replace(/[\n\r]/g,""),p=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=g[e[t-2]>>2],i+=g[(3&e[t-2])<<4|e[t-1]>>4],i+=g[(15&e[t-1])<<2|e[t]>>6],i+=g[63&e[t]];return t===r+1&&(i+=g[e[t-2]>>2],i+=g[(3&e[t-2])<<4],i+="=="),t===r&&(i+=g[e[t-2]>>2],i+=g[(3&e[t-2])<<4|e[t-1]>>4],i+=g[(15&e[t-1])<<2],i+="="),i};function h(e){if(e>=f.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=f[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let g=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],f=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],y=e=>p(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),A=e=>{let t="";for(let r=0;r<e.length;++r)t+=x[e[r]];return t},b=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},x=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];r.d(t,{},{$T:e=>n.Tj(o(e),e=>m.decode(e)),$X:l,DX:e=>"string"==typeof e?y(d.encode(e)):y(e),EF:c,UD:e=>n.Tj(l(e),e=>m.decode(e)),WG:e=>"string"==typeof e?p(d.encode(e)):p(e),mU:e=>"string"==typeof e?A(d.encode(e)):A(e),xQ:e=>n.Tj(c(e),e=>m.decode(e)),y4:o})},2730(e,t,r){var i,n,a,s=r(3536),o=r(5678),l=r(8527);let c="~effect/interfaces/Equal";function d(){return 1==arguments.length?e=>m(e,arguments[0]):m(arguments[0],arguments[1])}function m(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||o.J.has(e)||o.J.has(t))&&function(e,t,r){let i=g.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,g.set(e,i);let n=r(e,t);i.set(t,n);let a=g.get(t);return a||(a=new WeakMap,g.set(t,a)),a.set(e,n),n}(e,t,h))}let u=new WeakSet,p=new WeakSet;function h(e,t){if(s.tW(e)!==s.tW(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=A(e),i=A(t);if(r!==i)return!1;let n=r&&i;return("function"!=typeof e||!!n)&&function(e,t,r){let i=u.has(e),n=p.has(t);if(i&&n)return!0;if(i||n)return!1;u.add(e),p.add(t);let a=r();return u.delete(e),p.delete(t),a}(e,t,()=>{if(n)return e[c](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!m(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&f(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&y(e,t);var r=e,i=t;let a=(0,o.X)(r),s=(0,o.X)(i);if(a.size!==s.size)return!1;for(let e of a)if(!s.has(e)||!m(r[e],i[e]))return!1;return!0})}let g=new WeakMap,f=(i=m,n=m,function(e,t){for(let[r,a]of e){let e=!1;for(let[s,o]of t)if(i(r,s)&&n(a,o)){e=!0;break}if(!e)return!1}return!0}),y=(a=m,function(e,t){for(let r of e){let e=!1;for(let i of t)if(a(r,i)){e=!0;break}if(!e)return!1}return!0}),A=e=>(0,l.i5)(e,c);r.d(t,{aI:()=>d},{HR:c,Xq:e=>(o.J.add(e),e),jI:()=>d})},3558(e,t,r){let i=e=>(t,r)=>t===r||e(t,r),n=(e,t)=>e===t;function a(e){return i((t,r)=>{if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(!e[i](t[i],r[i]))return!1;return!0})}function s(e){return i((t,r)=>{if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(!e(t[i],r[i]))return!1;return!0})}function o(e){let t=Reflect.ownKeys(e);return i((r,i)=>{for(let n of t)if(!e[n](r[n],i[n]))return!1;return!0})}r.d(t,{O3:()=>s,_k:()=>o,rd:()=>a},{L8:i,YZ:()=>n})},5536(e,t,r){var i=r(8579),n=r(8826);i.IH,i.b9;let a=i.xt,s=i.cb,o=i.Rk;i.V2,n._sz;let l=n.x5l,c=n.CoE,d=n.VE1;n._mh,n.YDM,n.lNM,n.K$2,n.GUt,n.HIt,n.yJo,n._OD,n.jCT,n.Wtn,n.v9O,n.zPu,n.EkE,n.Hox,n.ely,n.kMI,n.Sv3,n.lgw,r.d(t,{},{AT:s,N6:d,Py:a,fJ:o,oJ:c,rI:l})},8516(e,t,r){var i=r(8826);i.zFM,i.C6p,i.D7p,i.INJ;let n=i.mKq;i.eGS,i.DKo,i.$MQ,i.Iku;let a=i.vTQ;r.d(t,{},{G:n,VO:a})},9427(e,t,r){var i=r(3207),n=r(347),a=r(8149),s=r(9605),o=r(702),l=r(9920),c=r(8275),d=r(6437),m=r(9077),u=r(1091),p=r(1260);let h="~effect/platform/FileSystem",g=e=>"bigint"==typeof e?e:BigInt(e),f=s.kl("effect/platform/FileSystem"),y=(e,t)=>(0,m.Oj)({module:"FileSystem",method:e,_tag:"NotFound",description:"No such file or directory",pathOrDescriptor:t}),A=n.HC();class b extends s.kl()("effect/platform/FileSystem/WatchBackend"){}r.d(t,{kP:()=>b},{L8:e=>f.of({...e,[h]:h,exists:t=>(0,l.Fs)(e.access(t),o.as(!0),o.KuX("PlatformError",e=>"NotFound"===e.reason._tag?o.PyW(!1):o.fJG(e))),readFileString:(t,r)=>o.qIB(e.readFile(t),e=>o.SvU({try:()=>new TextDecoder(r).decode(e),catch:e=>(0,m.T8)({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:o.D9k(function*(t,r){let n=yield*e.open(t,{flag:"r"});r?.offset&&(yield*n.seek(r.offset,"start"));let s=r?.bytesToRead!==void 0?g(r.bytesToRead):void 0,l=BigInt(0),c=g(r?.chunkSize??65536),m=n.readAlloc(c);return p.OBL(o.PyW(o.qIB(o.DYE(()=>void 0!==s&&s<=l?a.Vw():void 0!==s&&s-l<c?n.readAlloc(s-l):m),d.match({onNone:()=>a.Vw(),onSome:e=>(l+=BigInt(e.length),o.PyW(i.of(e)))}))))},p.oAg),sink:(t,r)=>(0,l.Fs)(e.open(t,{flag:"w",...r}),o.TjK(e=>u.jJ(t=>e.writeAll(t))),u.oA),writeFileString:(t,r,i)=>o.qIB(o.SvU({try:()=>new TextEncoder().encode(r),catch:e=>(0,m.T8)({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>e.writeFile(t,r,i))}),Q2:f,Um:A,Wn:e=>c.Py(f)(f.of({[h]:h,access:e=>o.fJG(y("access",e)),chmod:e=>o.fJG(y("chmod",e)),chown:e=>o.fJG(y("chown",e)),copy:e=>o.fJG(y("copy",e)),copyFile:e=>o.fJG(y("copyFile",e)),glob:e=>o.fJG(y("glob",e)),exists:()=>o.PyW(!1),link:e=>o.fJG(y("link",e)),makeDirectory:()=>o.F_Q("not implemented"),makeTempDirectory:()=>o.F_Q("not implemented"),makeTempDirectoryScoped:()=>o.F_Q("not implemented"),makeTempFile:()=>o.F_Q("not implemented"),makeTempFileScoped:()=>o.F_Q("not implemented"),open:e=>o.fJG(y("open",e)),readDirectory:e=>o.fJG(y("readDirectory",e)),readFile:e=>o.fJG(y("readFile",e)),readFileString:e=>o.fJG(y("readFileString",e)),readLink:e=>o.fJG(y("readLink",e)),realPath:e=>o.fJG(y("realPath",e)),remove:()=>o.rIH,rename:e=>o.fJG(y("rename",e)),sink:e=>u.fJ(y("sink",e)),stat:e=>o.fJG(y("stat",e)),stream:e=>p.fJG(y("stream",e)),symlink:e=>o.fJG(y("symlink",e)),truncate:e=>o.fJG(y("truncate",e)),utimes:e=>o.fJG(y("utimes",e)),watch:e=>p.fJG(y("watch",e)),writeFile:e=>o.fJG(y("writeFile",e)),writeFileString:e=>o.fJG(y("writeFileString",e)),...e})),eL:"~effect/platform/FileSystem/File",or:g})},7174(e,t,r){var i=r(9920),n=r(6437),a=r(8527),s=r(2917);a.Kg,a.Et,a.Lm,a.sI,a.Bm,a.$P;let o=(0,i.XY)(2,(e,t)=>r=>{let i=e(r);if(s.N6(i))return s.fJ(r);let n=t(i.success);return s.N6(n)?s.fJ(r):n});r.d(t,{},{Bh:o,zL:e=>t=>{let r=e(t);return s.N6(r)?n.none():n.some(r.success)}})},7292(e,t,r){var i=r(8527),n=r(8629);let a="[Circular]";function s(e){return"string"==typeof e?JSON.stringify(e):String(e)}function o(e){return e.map(e=>`[${s(e)}]`).join("")}function l(e){try{return e.toISOString()}catch{return"Invalid Date"}}function c(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=(0,n.E$)(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}r.d(t,{GP:()=>function e(t,r){let o=r?.space??0,c=new WeakSet,d=o?"number"==typeof o?" ".repeat(o):o:"",m=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function t(o,u=0){if(Array.isArray(o)){let e,r;if(c.has(o))return a;if(c.add(o),!d||o.length<=1)return`[${o.map(e=>t(e,u)).join(",")}]`;let i=o.map(e=>t(e,u+1)).join(",\n"+(e=u+1,d.repeat(e)));return`[ +${r=u+1,d.repeat(r)}${i} +${d.repeat(u)}]`}if(o instanceof Date)return l(o);if(!r?.ignoreToString&&i.i5(o,"toString")&&"function"==typeof o.toString&&o.toString!==Object.prototype.toString&&o.toString!==Array.prototype.toString){let e=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(o);return o instanceof Error&&o.cause?`${e} (cause: ${t(o.cause,u)})`:e}if("string"==typeof o)return JSON.stringify(o);if("number"==typeof o||null==o||"boolean"==typeof o||"symbol"==typeof o)return String(o);if("bigint"==typeof o)return String(o)+"n";if("object"==typeof o||"function"==typeof o){if(c.has(o))return a;if(c.add(o),n.uC in o)return e((0,n.f6)(o));if(Symbol.iterator in o)return`${o.constructor.name}(${t(Array.from(o),u)})`;let r=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(o);if(!d||r.length<=1){let e=`{${r.map(e=>`${s(e)}:${t(o[e],u)}`).join(",")}}`;return m(o,e)}let i=`{ +${r.map(e=>{let r;return`${r=u+1,d.repeat(r)}${s(e)}: ${t(o[e],u+1)}`}).join(",\n")} +${d.repeat(u)}}`;return m(o,i)}return String(o)}(t,0)},IB:()=>c,Yq:()=>l,_r:()=>s,jV:()=>o})},9920(e,t,r){var i=r(2544);let n=e=>()=>e,a=n(!0),s=n(!1),o=n(null),l=n(void 0);function c(e,...t){return(0,i.tT)(e,t)}function d(e,t,r,i,n,a,s,o,l){switch(arguments.length){case 1:return e;case 2:return function(){return t(e.apply(this,arguments))};case 3:return function(){return r(t(e.apply(this,arguments)))};case 4:return function(){return i(r(t(e.apply(this,arguments))))};case 5:return function(){return n(i(r(t(e.apply(this,arguments)))))};case 6:return function(){return a(n(i(r(t(e.apply(this,arguments))))))};case 7:return function(){return s(a(n(i(r(t(e.apply(this,arguments)))))))};case 8:return function(){return o(s(a(n(i(r(t(e.apply(this,arguments))))))))};case 9:return function(){return l(o(s(a(n(i(r(t(e.apply(this,arguments)))))))))}}}function m(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}r.d(t,{Bj:()=>m,Fs:()=>c,L3:()=>d},{D_:e=>e,MN:l,XR:o,XY:function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},Yi:l,dY:n,f4:s,ue:a})},3536(e,t,r){var i=r(9920),n=r(5678),a=r(8527);let s="~effect/interfaces/Hash",o=e=>{switch(typeof e){case"number":return u(e);case"bigint":return p(e.toString(10));case"boolean":case"symbol":return p(String(e));case"string":return p(e);case"undefined":return p("undefined");case"function":case"object":if(null===e)return p("null");{if(e instanceof Date)return p(e.toISOString());if(e instanceof RegExp)return p(e.toString());if(n.J.has(e))return l(e);if(N.has(e))return N.get(e);let t=function(e,t){if(C.has(e))return p("[Circular]");C.add(e);let r=t();return C.delete(e),r}(e,()=>{if(m(e))return e[s]();if("function"==typeof e)return l(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return y(e);if(e instanceof Map)return A(e);if(e instanceof Set)return b(e);return g(e)});return N.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},l=e=>(x.has(e)||x.set(e,u(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),x.get(e)),c=(0,i.XY)(2,(e,t)=>53*e^t),d=e=>0xbfffffff&e|e>>>1&0x40000000,m=e=>(0,a.i5)(e,s),u=e=>{if(e!=e)return p("NaN");if(e===1/0)return p("Infinity");if(e===-1/0)return p("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return d(t)},p=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return d(t)},h=(e,t)=>{let r=12289;for(let i of t)r^=c(o(i),o(e[i]));return d(r)},g=e=>h(e,(0,n.X)(e)),f=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return d(i)},y=f(6151,o),A=f(p("Map"),([e,t])=>c(o(e),o(t))),b=f(p("Set"),o),x=new WeakMap,N=new WeakMap,C=new WeakSet;r.d(t,{},{HR:s,QK:g,YO:y,Yj:p,ai:u,kg:c,tW:o,uN:h,yT:l})},8294(e,t,r){var i=r(7292),n=r(8527),a=r(8629);let s=Symbol.for("nodejs.util.inspect.custom"),o=e=>{try{if(n.i5(e,"toJSON")&&n.Tn(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(o)}catch{return"[toJSON threw]"}return(0,a.E$)(e)};class l{[s](){return this.toJSON()}toString(){return(0,i.GP)(this.toJSON())}}r.d(t,{Xs:()=>l},{FX:s,ZK:(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?(0,i.IB)(e,{space:t}):String(e)}catch{return String(e)}},aB:o,os:{toJSON(){return o(this)},[s](){return this.toJSON()},toString(){return(0,i.GP)(this.toJSON())}}})},1034(e,t,r){var i=r(9920),n=r(6437),a=r(8527);let s=(0,i.XY)(2,(e,t)=>{let r=0;for(let i of e){let e=t(i,r);if((0,a.Lm)(e)){if(e)return n.some(i)}else if(n.isSome(e))return e;r++}return n.none()}),o=(0,i.XY)(2,(e,t)=>({[Symbol.iterator](){let r=e[Symbol.iterator](),i=0;return{next(){let e=r.next();for(;!e.done;){if(t(e.value,i++))return{done:!1,value:e.value};e=r.next()}return{done:!0,value:void 0}}}}}));r.d(t,{},{i8:s,pb:o})},7512(e,t,r){var i=r(8826);let n=i.zzk;i.Fbb,r.d(t,{},{LZ:n})},8275(e,t,r){var i=r(9605),n=r(1499),a=r(9920),s=r(8579),o=r(8826),l=r(2544),c=r(1746);let d="~effect/Layer/MemoMap",m={"~effect/Layer":{_ROut:a.D_,_E:a.D_,_RIn:a.D_},pipe(){return(0,l.tT)(this,arguments)}},u=e=>{let t=Object.create(m);return t.build=e,t},p=e=>u((t,r)=>{let i=c.Fp(r);return o.cfM(e(t,i),e=>"Failure"===e._tag?c.VN(i,e):o.rIH)});class h{get[d](){return d}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,o.hgn(o.Uio(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let a,s,l,d=this.get(e,t);return d?d:(i=this,a=c.LZ(),s=n.LZ(),l={observers:1,effect:n.Tx(s),finalizer:t=>o.DYE(()=>(l.observers--,0===l.observers)?(i.map.delete(e),c.VN(a,t)):o.rIH)},i.map.set(e,l),o.Uio(t,l.finalizer).pipe(o.qIB(()=>r(i,a)),o.cfM(e=>(l.effect=e,n.Vw(s,e)))))}}let g=()=>new h;class f extends i.kl()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=i.Y6(e,f);return t?new h(t):g()}}let y=(0,a.XY)(3,(e,t,r)=>o.PfK(o.TjK(e.build(t,r),i.WQ(f,t)),f,t)),A=(0,a.XY)(2,(e,t)=>s.R6(r=>y(e,f.forkOrCreate(r.context),t))),b=e=>u((0,a.dY)(o.PyW(e))),x=(e,t)=>N(o.TjK(t,t=>i.L8(e,t))),N=e=>{var t;let r;return t=(t,r)=>c.Gt(e,r),r=p((e,i)=>e.getOrElseMemoize(r,i,t))},C=(e,t,r)=>{let n=c.Fp(r,"parallel");return o.jJl(e,e=>e.build(t,c.Fp(n,"sequential")),{concurrency:e.length}).pipe(o.TjK(e=>i.Um(...e)))},S=(e,t,r)=>p((i,n)=>o.qIB(Array.isArray(t)?C(t,i,n):t.build(i,n),t=>e.build(i,n).pipe(o.PpN(t),o.TjK(e=>r(e,t))))),I=(0,a.XY)(2,(e,t)=>S(e,t,a.D_)),w=(0,a.XY)(2,(e,t)=>S(e,t,(e,t)=>i.h1(t,e)));r.d(t,{},{Gt:I,H7:y,LT:A,Py:function(){return 1==arguments.length?e=>b(i.L8(arguments[0],e)):b(i.L8(arguments[0],arguments[1]))},QZ:function(){return 1==arguments.length?e=>x(arguments[0],e):x(arguments[0],arguments[1])},S5:w,Um:(...e)=>p((t,r)=>C(e,t,r)),j6:g})},6437(e,t,r){r.r(t),r.d(t,{Do:()=>ep,all:()=>X,andThen:()=>L,as:()=>Q,asVoid:()=>_,bind:()=>eu,bindTo:()=>ed,composeK:()=>Y,contains:()=>el,containsWith:()=>eo,exists:()=>ec,filter:()=>er,filterMap:()=>et,firstSomeOf:()=>E,flatMap:()=>H,flatMapNullishOr:()=>F,flatten:()=>q,fromIterable:()=>b,fromNullOr:()=>P,fromNullishOr:()=>v,fromUndefinedOr:()=>B,gen:()=>eh,getFailure:()=>N,getOrElse:()=>C,getOrNull:()=>O,getOrThrow:()=>D,getOrThrowWith:()=>M,getOrUndefined:()=>k,getSuccess:()=>x,isNone:()=>g,isOption:()=>h,isSome:()=>f,let:()=>em,lift2:()=>ea,liftNullishOr:()=>R,liftPredicate:()=>es,liftThrowable:()=>T,makeCombinerFailFast:()=>ef,makeEquivalence:()=>ei,makeOrder:()=>en,makeReducer:()=>eg,makeReducerFailFast:()=>ey,map:()=>z,match:()=>y,none:()=>u,orElse:()=>S,orElseResult:()=>w,orElseSome:()=>I,partitionMap:()=>ee,product:()=>J,productMany:()=>K,reduceCompact:()=>W,some:()=>p,tap:()=>$,toArray:()=>Z,toRefinement:()=>A,void:()=>U,zipLeft:()=>G,zipRight:()=>j,zipWith:()=>V});var i=r(2730),n=r(3558),a=r(9920),s=r(9739),o=r(7317),l=r(9145),c=r(606),d=r(8527);function m(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let u=()=>o.dv,p=o.zN,h=o.oL,g=o.$I,f=o.Ru,y=(0,a.XY)(2,(e,{onNone:t,onSome:r})=>g(e)?t():r(e.value)),A=e=>t=>f(e(t)),b=e=>{for(let t of e)return p(t);return u()},x=l.Oz,N=l.L8,C=(0,a.XY)(2,(e,t)=>g(e)?t():e.value),S=(0,a.XY)(2,(e,t)=>g(e)?t():e),I=(0,a.XY)(2,(e,t)=>g(e)?p(t()):e),w=(0,a.XY)(2,(e,t)=>g(e)?z(t(),l.Py):z(e,l.fJ)),E=e=>{let t=u();for(t of e)if(f(t))break;return t},v=e=>null==e?u():p(e),B=e=>void 0===e?u():p(e),P=e=>null===e?u():p(e),R=e=>(...t)=>v(e(...t)),O=C(a.XR),k=C(a.MN),T=e=>(...t)=>{try{return p(e(...t))}catch{return u()}},M=(0,a.XY)(2,(e,t)=>{if(f(e))return e.value;throw t()}),D=M(()=>Error("getOrThrow called on a None")),z=(0,a.XY)(2,(e,t)=>g(e)?u():p(t(e.value))),Q=(0,a.XY)(2,(e,t)=>z(e,()=>t)),_=Q(void 0),U=p(void 0),H=(0,a.XY)(2,(e,t)=>g(e)?u():t(e.value)),L=(0,a.XY)(2,(e,t)=>H(e,e=>{let r=(0,d.Tn)(t)?t(e):t;return h(r)?r:p(r)})),F=(0,a.XY)(2,(e,t)=>g(e)?u():v(t(e.value))),q=H(a.D_),j=(0,a.XY)(2,(e,t)=>H(e,()=>t)),G=(0,a.XY)(2,(e,t)=>$(e,()=>t)),Y=(0,a.XY)(2,(e,t)=>r=>H(e(r),t)),$=(0,a.XY)(2,(e,t)=>H(e,e=>z(t(e),()=>e))),J=(e,t)=>f(e)&&f(t)?p([e.value,t.value]):u(),K=(e,t)=>{if(g(e))return u();let r=[e.value];for(let e of t){if(g(e))return u();r.push(e.value)}return p(r)},X=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(g(r))return u();t.push(r.value)}return p(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(g(i))return u();t[r]=i.value}return p(t)},V=(0,a.XY)(3,(e,t,r)=>z(J(e,t),([e,t])=>r(e,t))),W=(0,a.XY)(3,(e,t,r)=>{let i=t;for(let t of e)f(t)&&(i=r(i,t.value));return i}),Z=e=>g(e)?[]:[e.value],ee=(0,a.XY)(2,(e,t)=>{if(g(e))return[u(),u()];let r=t(e.value);return l.N6(r)?[p(r.failure),u()]:[u(),p(r.success)]}),et=(0,a.XY)(2,(e,t)=>{if(g(e))return u();let r=t(e.value);return l.oJ(r)?p(r.success):u()}),er=(0,a.XY)(2,(e,t)=>g(e)?u():t(e.value)?p(e.value):u()),ei=e=>n.L8((t,r)=>g(t)?g(r):!g(r)&&e(t.value,r.value)),en=e=>c.L8((t,r)=>f(t)?f(r)?e(t.value,r.value):1:-1),ea=e=>(0,a.XY)(2,(t,r)=>V(t,r,e)),es=(0,a.XY)(2,(e,t)=>t(e)?p(e):u()),eo=e=>(0,a.XY)(2,(t,r)=>!g(t)&&e(t.value,r)),el=eo(i.jI()),ec=(0,a.XY)(2,(e,t)=>!g(e)&&t(e.value)),ed=s.Jr(z),em=s.zM(z),eu=s.oI(z,H),ep=p({}),eh=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(g(e))return e;r=t.next(e.value)}return p(r.value)};function eg(e){return m((t,r)=>g(t)?r:g(r)?t:p(e.combine(t.value,r.value)),u())}function ef(e){return{combine:(t,r)=>g(t)||g(r)?u():p(e.combine(t.value,r.value))}}function ey(e){let t=ef(e).combine,r=p(e.initialValue);return m(t,r,e=>{let i=r;for(let r of e)if(g(i=t(i,r)))break;return i})}},606(e,t,r){var i=r(9920);function n(e){return(t,r)=>t===r?0:e(t,r)}let a=n((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),s=n((e,t)=>e<t?-1:1),o=(0,i.XY)(2,(e,t)=>n((r,i)=>e(t(r),t(i)))),l=o(a,e=>e.getTime());function c(e){return n((t,r)=>{let i=e.length;for(let n=0;n<i;n++){let i=e[n](t[n],r[n]);if(0!==i)return i}return 0})}function d(e){return n((t,r)=>{let i=t.length,n=r.length,s=Math.min(i,n);for(let i=0;i<s;i++){let n=e(t[i],r[i]);if(0!==n)return n}return a(i,n)})}function m(e){let t=Object.keys(e);return n((r,i)=>{for(let n of t){let t=e[n](r[n],i[n]);if(0!==t)return t}return 0})}let u=e=>(0,i.XY)(2,(t,r)=>-1===e(t,r)),p=e=>(0,i.XY)(2,(t,r)=>1===e(t,r)),h=e=>(0,i.XY)(2,(t,r)=>t===r||1>e(t,r)?t:r),g=e=>(0,i.XY)(2,(t,r)=>t===r||e(t,r)>-1?t:r);r.d(t,{L8:()=>n,O3:()=>d,_k:()=>m,rd:()=>c},{Bt:e=>(0,i.XY)(2,(t,r)=>!u(e)(t,r.minimum)&&!p(e)(t,r.maximum)),OW:e=>(0,i.XY)(2,(t,r)=>-1!==e(t,r)),Qw:s,T9:g,bi:e=>(0,i.XY)(2,(t,r)=>1!==e(t,r)),hl:u,jk:h,n9:l,qE:e=>(0,i.XY)(2,(t,r)=>h(e)(r.maximum,g(e)(r.minimum,t))),wN:a,yJ:p,zQ:o})},1211(e,t,r){let i=r(9605).kl("effect/Path");r.d(t,{},{ii:"~effect/platform/Path",wA:i})},2544(e,t,r){let i=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},n={pipe(){return i(this,arguments)}},a=function(){function e(){}return e.prototype=n,e}();r.d(t,{},{Xs:a,tT:i})},9077(e,t,r){var i=r(1160);let n="~effect/platform/PlatformError";class a extends i.rN("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class s extends i.$D{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class o extends i.rN("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[n]=n;get message(){return this.reason.message}}r.d(t,{dB:()=>a},{Oj:e=>new o(new s(e)),T8:e=>new o(new a(e))})},8527(e,t,r){var i=r(9920);function n(e){return"string"==typeof e}function a(e){return"number"==typeof e}function s(e){return"boolean"==typeof e}function o(e){return"bigint"==typeof e}function l(e){return"symbol"==typeof e}function c(e){return n(e)||a(e)||l(e)}function d(e){return"function"==typeof e}function m(e){return void 0===e}function u(e){return void 0!==e}function p(e){return null!==e}function h(e){return null==e}function g(e){return null!=e}function f(e){return!1}function y(e){return!0}function A(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function b(e){return"object"==typeof e&&null!==e||d(e)}let x=(0,i.XY)(2,(e,t)=>b(e)&&t in e),N=(0,i.XY)(2,(e,t)=>x(e,"_tag")&&e._tag===t);function C(e){return e instanceof Error}function S(e){return e instanceof Date}function I(e){return x(e,Symbol.iterator)||n(e)}r.d(t,{$P:()=>S,Bm:()=>l,EA:()=>u,Et:()=>a,Fw:()=>b,Gv:()=>A,Kg:()=>n,Lm:()=>s,Pd:()=>f,Pe:()=>p,Tn:()=>d,Vq:()=>g,b0:()=>m,bJ:()=>C,hL:()=>c,sI:()=>o,t8:()=>y,uy:()=>h,xZ:()=>I},{$J:N,i5:x})},6627(e,t,r){var i=r(8149),n=r(5536),a=r(7174),s=r(9920),o=r(8826),l=r(2917);let c=(0,s.XY)(2,(e,t)=>o.rNk(e,u,e=>t(e))),d=e=>"Fail"===e._tag&&i.$L(e.error),m=a.Bh(i.kh,e=>i.$L(e)?l.Py(e):l.fJ(e));i.kh;let u=a.Bh(i.kh,e=>i.$L(e)?l.Py(e.value):l.fJ(e)),p=(0,s.XY)(2,(e,t)=>o.khu(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=m(e);return l.N6(r)?t.onFailure(r.failure):t.onDone(r.success.value)}}));r.d(t,{},{Og:e=>e.reasons.some(d),aU:e=>{let t=m(e);return l.N6(t)?n.AT(t.failure):n.Py(t.success.value)},m8:c,tv:p})},9444(e,t,r){r.d(t,{Mm:()=>g,kx:()=>x,AT:()=>A,_1:()=>b,L8:()=>h,x:()=>f,bQ:()=>y,n_:()=>N,s:()=>I,h0:()=>C});var i=r(9920),n=r(8579),a=r(8826);let s=Symbol.for("effect/MutableList/Empty"),o=()=>({array:[],mutable:!0,offset:0,next:void 0}),l=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=o(),e.tail=e.tail.next):e.head=e.tail=o(),e.tail.array.push(t),e.length++},c=e=>{e.head=e.tail=void 0,e.length=0},d=e=>{if(!e.head)return s;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:c(e)),t};var m=r(6627);let u={_A:i.D_,_E:i.D_},p={"~effect/Queue":u,"~effect/Queue/Enqueue":u,"~effect/Queue/Dequeue":u,...n.fU,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:E(this)}}},h=e=>n.R6(t=>{let r=Object.create(p);return r.dispatcher=t.currentDispatcher,r.capacity=e?.capacity??1/0,r.strategy=e?.strategy??"suspend",r.messages={head:void 0,tail:void 0,length:0},r.scheduleRunning=!1,r.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},a.PyW(r)}),g=e=>h({capacity:e}),f=(e,t)=>a.DYE(()=>{if("Open"!==e.state._tag)return v;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return v;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return l(e.messages,t),O(e),B;return M(e,t);case"sliding":return d(e.messages),l(e.messages,t),B}return l(e.messages,t),k(e),B}),y=(e,t)=>"Open"===e.state._tag&&(e.messages.length>=e.capacity?"sliding"===e.strategy?(d(e.messages),l(e.messages,t),!0):e.capacity<=0&&e.state.takers.size>0&&(l(e.messages,t),O(e),!0):(l(e.messages,t),k(e),!0)),A=(0,i.XY)(2,(e,t)=>a.OH5(()=>b(e,t))),b=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=n.cb(t),i=a.il9(r,P);return 0===e.state.offers.size&&0===e.messages.length?Q(e,i):e.state={...e.state,_tag:"Closing",exit:i},!0},x=e=>b(e,n.OE(n.RS())),N=e=>a.OH5(()=>{if("Done"===e.state._tag)return!0;c(e.messages);let t=e.state.offers;if(Q(e,"Open"===e.state._tag?R:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(v):e.resume(n.xt(e.remaining.slice(e.offset)));t.clear()}return!0}),C=e=>S(e,1,1/0),S=(e,t,r)=>a.DYE(()=>T(e,t,r)??a.hgn(z(e),S(e,1,r))),I=e=>a.DYE(()=>w(e)??a.hgn(z(e),I(e))),w=e=>{if("Done"===e.state._tag)return e.state.exit;if(e.messages.length>0){let t=d(e.messages);return D(e),n.xt(t)}if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,D(e),e.capacity=0;let t=d(e.messages);return D(e),n.xt(t)}},E=e=>"Done"===e.state._tag?0:e.messages.length,v=n.xt(!1),B=n.xt(!0),P=n.Rk(n.RS()),R=a._sz(),O=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(a.x5l),0===e.messages.length)break}},k=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>O(e),0))},T=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return n.xt([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,D(e),e.capacity=0;let t=[d(e.messages)];return D(e),n.xt(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return c(e),t}let r=Array(t),i=0,n=e.head;for(;n;){for(;n.offset<n.array.length;)if(r[i++]=n.array[n.offset],n.mutable&&(n.array[n.offset]=void 0),n.offset++,i===t)return e.head=n,e.length-=t,0===e.length&&c(e),r;n=n.next}return c(e),r})(e.messages,r);return D(e),n.xt(t)}},M=(e,t)=>a.E2r(r=>{if("Open"!==e.state._tag)return r(v);let i={_tag:"Single",message:t,resume:r};return e.state.offers.add(i),a.OH5(()=>{"Open"===e.state._tag&&e.state.offers.delete(i)})}),D=e=>{if("Done"===e.state._tag)return m.Og(e.state.exit.cause);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(Q(e,e.state.exit),m.Og(e.state.exit.cause));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)l(e.messages,r.message),t--,r.resume(B),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;l(e.messages,r.remaining[r.offset]),t--}r.resume(n.xt([])),e.state.offers.delete(r)}return!1},z=e=>a.E2r(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),a.OH5(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),Q=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let i of(e.state={_tag:"Done",exit:t},r.takers))i(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()}},7045(e,t,r){var i=r(9920);let n=(0,i.XY)(2,(e,t)=>{let r=[];for(let i of o(e))r.push(t(i,e[i]));return r})((e,t)=>[e,t]),a=(0,i.XY)(2,(e,t)=>Object.hasOwn(e,t)),s=(0,i.XY)(2,(e,t)=>{let r={...e};for(let i of o(e))r[i]=t(e[i],i);return r}),o=e=>Object.keys(e);r.d(t,{},{T9:e=>{let t=(0,i.XY)(2,(t,r)=>{for(let i of o(t))if(!a(r,i)||!e(t[i],r[i]))return!1;return!0});return(e,r)=>t(e,r)&&t(r,e)},Tj:s,Wo:n})},8629(e,t,r){var i=r(2544),n=r(8527);let a=Symbol.for("~effect/Redactable");function s(e){return(0,n.i5)(e,a)?o(e):e}function o(e){return e[a](globalThis[l]?.context??c)}let l="~effect/Fiber/currentFiber",c={"~effect/Context":{},mapUnsafe:new Map,pipe(){return(0,i.tT)(this,arguments)}};r.d(t,{E$:()=>s,f6:()=>o},{fL:l,uC:a})},1036(e,t,r){var i=r(2730),n=r(3558),a=r(3536),s=r(8579),o=r(9496),l=r(8527);let c="~effect/data/Redacted",d=e=>(0,l.i5)(e,c),m={[c]:{_A:e=>e},label:void 0,...s.fU,toJSON(){return this.toString()},toString(){return`<redacted${(0,l.Kg)(this.label)?":"+this.label:""}>`},[a.HR](){return a.tW(o.m7.get(this))},[i.HR](e){return d(e)&&i.aI(o.m7.get(this),o.m7.get(e))}},u=o.Uq;r.d(t,{},{L8:(e,t)=>{let r=Object.create(m);return t?.label&&(r.label=t.label),o.m7.set(r,e),r},T9:e=>n.L8((t,r)=>e(u(t),u(r))),Uq:u,vX:d})},8210(e,t,r){var i=r(8826),n=r(3894);n.F8;let a=n.iL;n.Gl;let s=n.d8;n.vA;let o=n.zQ;n.rf,n.ce,n.ls,n.nU,n.aG,i.d$_,i.olX,r.d(t,{},{d8:s,iL:a,zQ:o})},2917(e,t,r){var i=r(9920),n=r(7317),a=r(9145),s=r(8527);let o=a.Py,l=a.fJ;a.sV,a.aI;let c=a.N6,d=a.oJ;a.Oz,a.L8;let m=(0,i.XY)(2,(e,t)=>d(e)?o(t(e.success)):l(e.failure)),u=(0,i.XY)(2,(e,{onFailure:t,onSuccess:r})=>c(e)?t(e.failure):r(e.success)),p=(0,i.XY)(2,(e,t)=>{if(d(e))return e.success;throw t(e.failure)})(i.D_);n.dv,r.d(t,{},{Gp:p,N6:c,Py:o,Sv:e=>{if((0,s.Tn)(e))try{return o(e())}catch(e){return l(e)}try{return o(e.try())}catch(t){return l(e.catch(t))}},Tj:m,YW:u,fJ:l,oJ:d})},9981(e,t,r){let i;var n,a=r(8149),s=r(9605),o=r(6292),l=r(9920),c=r(8579),d=r(8826),m=r(2544),u=r(8527),p=r(6627);let h="~effect/Schedule",g=s.Or("effect/Schedule/CurrentMetadata",{defaultValue:(0,l.dY)({input:void 0,output:void 0,duration:o.v_,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),f={[h]:{_Out:l.D_,_In:l.D_,_Env:l.D_},pipe(){return(0,m.tT)(this,arguments)}},y=e=>{let t=Object.create(f);return t.step=e,t},A=()=>{let e,t,r=0;return(i,n)=>{void 0===t&&(t=i);let a=i-t,s=void 0===e?0:i-e;return e=i,{input:n,attempt:++r,start:t,now:i,elapsed:a,elapsedSincePrevious:s}}},b=e=>y(d.TjK(e,e=>{let t=A();return(r,i)=>e(t(r,i))})),x=e=>d.Tyx(e.step,e=>d.PyW(()=>d.ATB(e))),N=(0,l.XY)(2,(e,t)=>y(d.TjK(x(e),e=>{let r=A();return(i,n)=>d.qIB(e(i,n),e=>{let[s,o]=e,l=t({...r(i,n),output:s,duration:o});return d.qIB((0,c.yw)(l)?l:d.PyW(l),t=>t?d.PyW(e):a.Vw(s))})}))),C=(n=o.v_,i=o.bN(n),b(d.PyW(e=>d.PyW([e.attempt-1,i]))));r.d(t,{},{E6:N,EV:(e,t=2)=>{let r=o.kE(o.bN(e));return b(d.PyW(e=>{let i=o.ne(r*Math.pow(t,e.attempt-1));return d.PyW([i,i])}))},GM:e=>(0,u.i5)(e,h),d3:g,i4:C,le:e=>y(d.TjK(x(e),e=>(t,r)=>p.tv(e(t,r),{onSuccess:e=>d.PyW([r,e[1]]),onFailure:d.ATB,onDone:()=>a.Vw(r)}))),t5:e=>N(C,({attempt:t})=>d.PyW(t<=e)),xn:e=>d.RKA(t=>d.TjK(x(e),e=>{let r=A();return i=>d.DYE(()=>{let n=t.currentTimeMillisUnsafe();return d.qIB(e(n,i),([e,t])=>{let a=r(n,i);return a.output=e,a.duration=t,d.as(d.yy4(t),a)})})}))})},3327(e,t,r){var i=r(9605);let n=i.Or("effect/Scheduler",{defaultValue:()=>new o}),a="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class s{buckets=[];scheduleTask(e,t){let r,i=this.buckets,n=i.length,a=0;for(;a<n&&!(i[a][0]>t);a++)r=i[a];r&&r[0]===t?r[1].push(e):a===n?i.push([t,[e]]):i.splice(a,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class o{executionMode;setImmediate;constructor(e="async",t=a){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new l(this.setImmediate)}}class l{tasks=new s;running=void 0;setImmediate;constructor(e=a){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let c=i.Or("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),d=i.Or("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1});r.d(t,{FG:()=>o},{Zm:c,_F:n,hf:d})},7464(e,t,r){let i,n,a,s,o,l,c;r.d(t,{O31:()=>er,v8c:()=>V,Xsx:()=>eB,kld:()=>ex,PSP:()=>eP,Aiz:()=>eC,xCb:()=>function e(t){let r=t.map(G);return F(I.KC(r,"anyOf",void 0),{literals:t,members:r,mapMembers(e){return en(e(this.members))},pick:t=>e(t),transform:e=>en(r.map((t,r)=>t.transform(e[r])))})},eXb:()=>ei,wNn:()=>X,eQ3:()=>ey,mSG:()=>ee,tmY:()=>eA,QfV:()=>K,_kM:()=>Z,X0d:()=>eR,rdN:()=>et,gPz:()=>en,wkx:()=>eo,z6Y:()=>es,xeR:()=>_,GLL:()=>el,_Re:()=>U,fqZ:()=>H,e$n:()=>L,hR_:()=>ed,Bt9:()=>eg,yJO:()=>eh,E6F:()=>ef,Pto:()=>ep,nfo:()=>em,HNH:()=>eu,lqM:()=>j,Qrq:()=>q,TcI:()=>ec,lHk:()=>eO});var d,m,u,p=r(5909),h=r(8149),g=r(1160),f=r(1897),y=r(6292),A=r(702),b=(r(1757),r(5536)),x=r(7292),N=r(9920),C=r(8579),S=r(2544),I=r(7439),w=r(2933),E=r(8376);let v="~effect/Schema/Schema",B={[v]:v,pipe(){return S.tT(this,arguments)},annotate(e){return this.rebuild(I.fz(this.ast,e))},annotateKey(e){return this.rebuild(I.us(this.ast,e))},check(...e){return this.rebuild(I.EJ(this.ast,e))}};function P(e){return A.Tyx(e,e=>A.pVV(()=>h.Tj(e,e=>new w.A(e))))}var R=r(6437),O=r(606),k=r(8527),T=r(1036),M=(r(2917),r(6528)),D=r(2340),z=r(5030);function Q(){return(e,t,r)=>F(new I.D6(e.map(I.hu),e=>t(e.map(e=>F(e))),r))}function _(e,t){return Q()([],()=>(t,r)=>e(t)?A.PyW(t):A.fJG(new D.eE(r,R.some(t))),t)}function U(e,t){let r=E._R(e,t);return(e,t)=>P(r(e,t))}function H(e,t){let r=E.fq(e,t);return(e,t)=>{var i;return i=r(e,t),b.oJ(i)?b.Py(i.value):b.AT(h.Tj(i.cause,e=>new w.A(e)))}}function L(e,t){let r=E.e$(e,t);return(e,t)=>P(r(e,t))}r(3558)._k,O._k,E.is,E.kv,E.y9,E.mR,E.IQ,E.GP;let F=function e(t,r){let i=Object.create(B);r&&Object.assign(i,r),i.ast=t,i.rebuild=t=>e(t,r);let n=E.o(i);return i.makeEffect=(e,t)=>P(n(e,t)),i.make=E.L8(i),i.makeOption=E.YY(i),i},q=e=>F(I.Qr(e.ast),{schema:e}),j=e=>q(ea(e));function G(e){let t=F(new I.uS(e),{literal:e,transform:r=>t.pipe(el(G(r),{decode:M.pd(()=>r),encode:M.pd(()=>e)}))});return t}I.Zm,I.bz;let Y=F(I.L5),$=F(I.ch),J=F(I.Vx),K=F(I.Yj),X=F(I.ai),V=F(I.zM);function W(e,t){return F(e,{fields:t,mapFields(e,t){let r=e(this.fields);return W(I.w3(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function Z(e){return W(I.w3(e,void 0),e)}function ee(e,t,r){let i=r?.keyValueCombiner?.decode||r?.keyValueCombiner?.encode?new I.E$(r.keyValueCombiner.decode,r.keyValueCombiner.encode):void 0;return F(I.g1(e.ast,t.ast,i),{key:e,value:t})}function et(e){return function e(t,r){return F(t,{elements:r,mapElements(t,r){let i=t(this.elements);return e(I.PV(i,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(I.PV(e),e)}I.HR,I.we,I.rI,I.ZG;let er=e=>F(new I.DO(!1,[],[e.ast]),{value:e}),ei=e=>F(new I.DO(!1,[e.ast],[e.ast]),{value:e});function en(e,t){return function e(t,r){return F(t,{members:r,mapMembers(t,r){let i=t(this.members);return e(I.KC(i,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(I.KC(e,t?.mode??"anyOf",void 0),e)}let ea=e=>en([e,J]);function es(...e){return t=>t.check(...e)}function eo(e){return t=>F(I.wk(t.ast,e),{schema:t,identifier:e})}function el(e,t){return r=>F(I.GL(r.ast,e.ast,t?z.L8(t):z.le()),{from:r,to:e})}function ec(e){var t;return G(e).pipe((t=A.PyW(e),e=>{var r;return F(I.Ez(e.ast,(r=t,A.Tyx(r,e=>A.pVV(()=>h.Tj(e,e=>e.issue))))),{schema:e})}))}function ed(e,t){return _(t=>t instanceof e,t)}function em(){return(e,t)=>new I.N_(e.ast,z.L8(t))}let eu=I.HN,ep=I.Pt;I.bk,I.ZB,I.IZ;let eh=(d={order:O.wN,annotate:e=>({meta:{_tag:"isGreaterThan",exclusiveMinimum:e}})},i=O.yJ(d.order),n=d.formatter??x.GP,(e,t)=>eu(t=>i(t,e),{expected:`a value greater than ${n(e)}`,arbitrary:{constraint:{ordered:{order:d.order,minimum:e,exclusiveMinimum:!0}}},...d.annotate?.(e),...t}));O.wN,O.wN,O.wN;let eg=(m={order:O.wN,annotate:e=>({meta:{_tag:"isBetween",...e}})},a=O.OW(m.order),s=O.yJ(m.order),o=O.bi(m.order),l=O.hl(m.order),c=m.formatter??x.GP,(e,t)=>{let r=e.exclusiveMinimum?s:a,i=e.exclusiveMaximum?l:o;return eu(t=>r(t,e.minimum)&&i(t,e.maximum),{expected:`a value between ${c(e.minimum)}${e.exclusiveMinimum?" (excluded)":""} and ${c(e.maximum)}${e.exclusiveMaximum?" (excluded)":""}`,arbitrary:{constraint:{ordered:{order:m.order,minimum:e.minimum,maximum:e.maximum,...e.exclusiveMinimum&&{exclusiveMinimum:!0},...e.exclusiveMaximum&&{exclusiveMaximum:!0}}}},...m.annotate?.(e),...t})});function ef(e){return eu(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...e})}function ey(e){var t;let r;return en([e,$]).pipe(el((r=e,t=F(I.Ax(r.ast),{schema:r}),F(Q()([t],([e])=>(t,r,i)=>R.isOption(t)?R.isNone(t)?A.lwU:A.q7Y(E._R(e)(t.value,i),{onSuccess:R.some,onFailure:e=>new D.eC(r,R.some(t),[new D.gm(["value"],e)])}):A.fJG(new D.eE(r,R.some(t))),{typeConstructor:{_tag:"effect/Option"},generation:{runtime:"Schema.Option(?)",Type:"Option.Option<?>",importDeclaration:'import * as Option from "effect/Option"'},expected:"Option",toCodec:([e])=>em()(en([Z({_tag:G("Some"),value:e}),Z({_tag:G("None")})]),z.pd({decode:e=>"None"===e._tag?R.none():R.some(e.value),encode:e=>R.isSome(e)?{_tag:"Some",value:e.value}:{_tag:"None"}})),toArbitrary:([e])=>(t,r)=>{var i,n,a,s;let o=t.constant(R.none()),l=t.oneof(o,e.arbitrary.map(R.some));return i=t,n=r,a=o,s=l,{arbitrary:void 0===a||void 0===n.recursion?s:i.oneof(n.recursion,a,s),terminal:a}},toEquivalence:([e])=>R.makeEquivalence(e),toFormatter:([e])=>R.match({onNone:()=>"none()",onSome:t=>`some(${e(t)})`})}).ast,{value:t})),z.gh()))}function eA(e,t){let r="string"==typeof t?.label?E._R(G(t.label)):void 0;return F(Q()([e],([e])=>(t,i,n)=>{if(T.vX(t)){let a=void 0!==r?A.Z9x(r(t.label,n),e=>new D.gm(["label"],e)):A.rIH;return A.Ab9(a,()=>A.q7Y(E._R(e)(T.Uq(t),n),{onSuccess:()=>t,onFailure:()=>{let e=R.some(t);return new D.eC(i,e,[new D.gm(["value"],new D.h6(e))])}}))}return A.fJG(new D.eE(i,R.some(t)))},{typeConstructor:{_tag:"effect/Redacted",options:t},generation:{runtime:void 0!==t?`Schema.Redacted(?, ${(0,x.GP)(t)})`:"Schema.Redacted(?)",Type:"Redacted.Redacted<?>",importDeclaration:'import * as Redacted from "effect/Redacted"'},expected:"Redacted",toCodecJson:([e])=>{var r,i;return em()((r=e,(i=A.Z9x(D.E$),e=>F(I.gd(e.ast,new z.$p(i,N.D_)),{schema:e}))(r)),{decode:M.pd(e=>T.L8(e,{label:t?.label})),encode:t?.disallowJsonEncode?M.o0(e=>"Cannot serialize Redacted"+(R.isSome(e)&&"string"==typeof e.value.label?` with label: "${e.value.label}"`:"")):M.pd(T.Uq)})},toArbitrary:([e])=>()=>({arbitrary:e.arbitrary.map(e=>T.L8(e,{label:t?.label})),terminal:e.terminal?.map(e=>T.L8(e,{label:t?.label}))}),toFormatter:()=>globalThis.String,toEquivalence:([e])=>T.T9(e)}).ast,{value:e})}O.n9,O.n9,O.n9,O.n9,O.n9,O.Qw,O.Qw,O.Qw,O.Qw,O.Qw,p.pH,p.pH,p.pH,p.pH,p.pH;let eb=[];function ex(e){let t=e?.includeStack===!0|2*(e?.excludeCause===!0),r=eb[t];if(void 0!==r)return r;let i=eQ.pipe(el(Y,z.sm((e=>{switch(e){case 0:return;case 1:return{includeStack:!0};case 2:return{excludeCause:!0};case 3:return{includeStack:!0,excludeCause:!0}}})(t))));return eb[t]=i,i}z.nY;let eN=K.annotate({expected:"a string in ISO 8601 format that will be decoded as a Date"});globalThis.Date,z.YZ,z.HO,eu(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0}),y.n$,z.EJ,z.m8,z.PE;p.s5,z.dG,eu(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0});let eC=X.check(ef());z.ZK,z.ZK,z.R7,z.Ct,z.LL,z.Y5,z.Pp,z.U0,f.yF,z.Nh,f.Xy,f.lU,f.rg,z.yd,f.kQ,z.XU,z.d9;let eS=globalThis.Symbol.for("immer-draftable"),eI={};function ew(e,t,r,i,n){var a,s,o;let l,c=(a=r,s=t,o=i,e=>{if(void 0!==l)return l;let t=new z.IT(M.pd(t=>new e(t)),M.le());return l=el(F(new I.D6([a.ast],()=>(t,r)=>t instanceof e||k.i5(t,eE(s))?A.PyW(t):A.fJG(new D.eE(r,R.some(t))),{identifier:s,[I.YA]:([e])=>new I.N_(e,t),toCodec:([e])=>new I.N_(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":I.SL(a.ast),...o})),t)(a)}),d=eE(t),m=class extends e{constructor(...[e,t]){let i=t?.["~payload"],n=i?.token===eI?i.value:r.make(e??{},t);super(n,{...t,disableChecks:!0,"~payload":{token:eI,value:n}})}static [v]=v;get[d](){return d}static [eS]=!0;static identifier=t;static fields=r.fields;static get ast(){return c(this).ast}static pipe(){return S.tT(this,arguments)}static rebuild(e){return c(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return E.YY(c(this))(e??{},t)}static makeEffect(e,t){return c(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(I.fz(this.ast,e))}static annotateKey(e){return this.rebuild(I.us(this.ast,e))}static check(...e){return this.rebuild(I.EJ(this.ast,e))}static extend(e){return(t,i)=>{let a=ev(t)?t:Z(t),s={...r.fields,...a.fields},o=I.w3(s,r.ast.checks,{identifier:e});return ew(this,e,W(I.EJ(o,a.ast.checks),s),i,n)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==n&&Object.assign(m.prototype,n(t)),m}function eE(e){return`~effect/Schema/Class/${e}`}function ev(e){return k.i5(e,v)&&e[v]===v}let eB=e=>(t,r)=>{let i=ev(t)?t:Z(t);return ew(g.Xs,e,i,r,e=>({toString(){return`${e}(${(0,x.GP)({...this})})`}}))},eP=e=>(t,r)=>{let i=ev(t)?t:Z(t);return ew(C.$D,e,i,r,e=>({name:e}))},eR=e=>(t,r,i)=>{let n=ev(r)?r.mapFields(e=>({_tag:ec(t),...e}),{unsafePreserveChecks:!0}):Z({_tag:ec(t),...r});return eP(e??t)(n,i)};function eO(e){return F(eD(e.ast),{schema:e})}let ek=(u=function(e){switch(e._tag){case"Null":case"Boolean":case"Number":case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(I.O3(e[r]),r);let r=[...e].sort((e,r)=>{e=I.O3(e),r=I.O3(r);let i=u(e),n=u(r);return i!==n?i-n:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e}),eT=new I.N_(new I.uS("null"),new z.IT(M.pd(()=>null),M.pd(()=>"null"))),eM=new I.N_(new I.gP([new I.uS("true"),new I.uS("false")],"anyOf"),new z.IT(M.pd(e=>"true"===e),M.Qf())),eD=I.oZ(e=>{if(I.mi(e)&&e.annotations?.["~effect/Schema/SERIALIZER_ENSURE_ARRAY"]===!0)return e;let t=function(e,t,r){switch(e._tag){case"Declaration":{let i=e.annotations?.toCodecJson??e.annotations?.toCodec;if(k.Tn(i)){let r=i(I.HC(e)?e.typeParameters.map(e=>F(t(I.O3(e)))):[]),n=t(r.to);return I.ES(e,n===r.to?[r]:[new I.N_(n,r.transformation)])}return r(e)}case"Null":return I.ES(e,[eT]);case"Boolean":return I.ES(e,[eM]);case"Unknown":case"ObjectKeyword":return I.ES(e,[I.tC]);case"Enum":case"Number":case"Literal":case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,I.xw);case"Union":{let r=ek(e.types);if(r!==e.types)return new I.gP(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,eD,e=>I.ES(e,[ez]));return t!==e&&I.dK(e)?I.nj(t):t}),ez=new I.N_(I.Vx,new z.IT(M.le(),M.pd(()=>void 0))),eQ=F(I.LM);I.BF},7439(e,t,r){r.d(t,{DO:()=>K,YA:()=>tt,D6:()=>k,LM:()=>ti,E$:()=>et,N_:()=>v,uS:()=>L,BF:()=>tn,C3:()=>tr,gP:()=>eh,fz:()=>eE,us:()=>eD,bz:()=>_,EJ:()=>eB,oZ:()=>eR,we:()=>J,Nt:()=>e5,zM:()=>Y,wk:()=>eT,Lp:()=>te,SL:()=>em,GL:()=>eU,vr:()=>B,UU:()=>ej,hu:()=>el,tF:()=>I,HC:()=>x,RP:()=>w,dK:()=>eL,Pt:()=>eC,ZB:()=>e6,bk:()=>eZ,IZ:()=>e7,mi:()=>E,HN:()=>eN,gd:()=>eO,Zm:()=>Q,ch:()=>T,ai:()=>G,ZG:()=>H,Qr:()=>eQ,nj:()=>ez,xw:()=>eK,g1:()=>eH,ES:()=>eI,Yj:()=>q,w3:()=>eo,HR:()=>$,O3:()=>eq,Ax:()=>eF,PV:()=>ec,Vx:()=>D,KC:()=>ed,L5:()=>U,tC:()=>ta,rI:()=>z,Ez:()=>e_});var i=r(3207),n=r(8149),a=r(702),s=r(5536),o=r(7292),l=r(9920),c=r(8826);function d(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}var m=r(5994),u=r(6311),p=r(6437),h=r(2544),g=r(8527),f=r(6528),y=r(2340),A=r(5030);function b(e){return t=>t._tag===e}let x=b("Declaration"),N=b("Never"),C=b("Literal"),S=b("UniqueSymbol"),I=b("Arrays"),w=b("Objects"),E=b("Union");class v{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let B={};class P{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let R="~effect/Schema";class O{[R]=R;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class k extends O{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,n,a,s){super(r,i,n,a),this.typeParameters=e,this.run=t,this.encodingChecks=s}getParser(){let e=this.run(this.typeParameters);return(t,r)=>p.isNone(t)?a.lwU:a.jkJ(e(t.value,this,r),p.some)}_rebuild(e,t,r){let i=eM(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new k(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let T=new class extends O{_tag="Null";getParser(){return eG(this,null)}getExpected(){return"null"}},M=new v(T,new A.IT(f.pd(()=>void 0),f.pd(()=>null))),D=new class extends O{_tag="Undefined";getParser(){return eG(this,void 0)}toCodecJson(){return eI(this,[M])}getExpected(){return"undefined"}},z=new class extends O{_tag="Void";getParser(){var e;let t;return e=void 0,t=a.nGE(e),e=>"None"===e._tag?a.lwU:t}toCodecJson(){return eI(this,[M])}getExpected(){return"void"}},Q=new class extends O{_tag="Never";getParser(){return eY(this,g.Pd)}getExpected(){return"never"}},_=new class extends O{_tag="Any";getParser(){return eY(this,g.t8)}getExpected(){return"any"}},U=new class extends O{_tag="Unknown";getParser(){return eY(this,g.t8)}getExpected(){return"unknown"}},H=new class extends O{_tag="ObjectKeyword";getParser(){return eY(this,g.Fw)}getExpected(){return"object | array | function"}};class L extends O{_tag="Literal";literal;constructor(e,t,r,i,n){if(super(t,r,i,n),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${(0,o.GP)(e)}`);this.literal=e}getParser(){return eG(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?F(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:F(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function F(e){let t=globalThis.String(e.literal);return eI(e,[new v(new L(t),new A.IT(f.pd(()=>e.literal),f.pd(()=>t)))])}let q=new class extends O{_tag="String";getParser(){return eY(this,g.Kg)}matchPart(e,t){return e$(this,e,t)}getExpected(){return"string"}};function j(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return j(e.checks,t)}})}let G=new class extends O{_tag="Number";getParser(){return eY(this,g.Et)}matchKey(e,t){return this._match(eW,e,t)}matchPart(e,t){return this._match(eV,e,t)}_match(e,t,r){return e.test(t)?e$(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(j(this.checks,"isFinite")||j(this.checks,"isInt"))?this:eI(this,[ey])}toCodecStringTree(){return this.checks&&(j(this.checks,"isFinite")||j(this.checks,"isInt"))?eI(this,[e1]):eI(this,[e2])}getExpected(){return"number"}},Y=new class extends O{_tag="Boolean";getParser(){return eY(this,g.Lm)}getExpected(){return"boolean"}},$=new class extends O{_tag="Symbol";getParser(){return eY(this,g.Bm)}matchKey(e,t){return e$(this,e,t)}toCodecStringTree(){return eI(this,[e9])}getExpected(){return"symbol"}},J=new class extends O{_tag="BigInt";getParser(){return eY(this,g.sI)}matchPart(e,t){return e3.test(e)?e$(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return eI(this,[e4])}getExpected(){return"bigint"}};class K extends O{_tag="Arrays";isMutable;elements;rest;encodingChecks;constructor(e,t,r,i,n,a,s,o){super(i,n,a,s),this.isMutable=e,this.elements=t,this.rest=r,this.encodingChecks=o;let l=t.findIndex(eL);if(-1!==l&&(t.slice(l+1).some(e=>!eL(e))||r.length>1))throw Error("A required element cannot follow an optional element. ts(1257)");if(r.length>1&&r.slice(1).some(eL))throw Error("An optional element cannot follow a rest element. ts(1266)")}getParser(e){let t=this,r=t.elements.map(t=>({ast:t,parser:e(t)})),i=t.rest.map(t=>({ast:t,parser:e(t)})),n=r.length,[s,...o]=i,l=o.length;function c(e,t){return t<n?r[t]:t>=e?o[t-e]:s}return a.vCS(function*(e,r){if("None"===e._tag)return e;let i=e.value;if(!Array.isArray(i))return yield*a.fJG(new y.eE(t,e));let s=i.length,o={ast:t,getParser:c,oinput:e,len:s,tailThreshold:Math.max(n,s-l),output:new globalThis.Array(s),issues:void 0,options:r},d=V(r?.concurrency),m=X(o,i,{concurrency:d?.concurrency,end:0===t.rest.length?n:Math.max(s,n+l)});if(m&&(yield*m),0===t.rest.length&&s>n)for(let l=n;l<=s-1;l++){let n=new y.gm([l],new y.vF(t,i[l]));if("all"!==r.errors)return yield*a.fJG(new y.eC(t,e,[n]));o.issues?o.issues.push(n):o.issues=[n]}return o.issues?yield*a.fJG(new y.eC(t,e,o.issues)):p.some(o.output)})}_rebuild(e,t,r){let i=eM(this.elements,e),n=eM(this.rest,e);return i===this.elements&&n===this.rest&&t===this.checks&&r===this.encodingChecks?this:new K(this.isMutable,i,n,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){return"array"}}let X=(0,c.h$X)()({onItem(e,t,r){let i=r<e.len?p.some(t):p.none();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return W(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(eL(t.ast))return;let r=new y.gm([i],new y.Mw(t.ast.context?.annotations));if("all"!==e.options.errors)return s.fJ(new y.eC(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),V=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,W=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let a=u.R(i.cause);if(void 0===a)return s.AT(n.Tj(i.cause,i=>new y.eC(t,e.oinput,[new y.gm([r],i)])));let o=new y.gm([r],a);if("all"!==e.options.errors)return s.fJ(new y.eC(t,e.oinput,[o]));e.issues?e.issues.push(o):e.issues=[o]},Z="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class ee{name;type;constructor(e,t){this.name=e,this.type=t}}class et{decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new et(this.encode,this.decode)}}function er(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(er);default:return!1}}class ei{parameter;type;merge;constructor(e,t,r){if(!(er(e)&&er(eq(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,eL(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class en extends O{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,i,n,a,s){super(r,i,n,a),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=s;let o=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(o.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(o)}. ts(2300)`)}getParser(e){let t=this,r=[],n=new Set,s=[];for(let i of t.propertySignatures)r.push(i.name),n.add(i.name),s.push({ps:i,parser:e(i.type),name:i.name,type:i.type});let o=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return eY(t,g.Vq);let l=o>0?(0,c.h$X)()({onItem:a.vCS(function*(r,[i,s]){let o=e(eJ(s.parameter))(p.some(i),r.options),l=(0,c.OY)(o)?o:yield*a.NS5(o);if("Failure"===l._tag){let e=W(r,t,i,l);e&&(yield*e);return}let m=p.some(r.input[i]),u=e(s.type)(m,r.options),h=(0,c.OY)(u)?u:yield*a.NS5(u);if("Failure"===h._tag){let e=W(r,t,i,h);e&&(yield*e);return}if("Some"===l.value._tag&&"Some"===h.value._tag){let e=l.value.value;if(n.has(i)||n.has(e))return;let t=h.value.value;if(s.merge&&s.merge.decode&&Object.hasOwn(r.out,e)){let[i,n]=s.merge.decode.combine([e,r.out[e]],[e,t]);d(r.out,i,n)}else d(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return a.vCS(function*(e,c){let m;if("None"===e._tag)return e;let u=e.value;if(!("object"==typeof u&&null!==u&&!Array.isArray(u)))return yield*a.fJG(new y.eE(t,e));let h={},g={ast:t,oinput:e,input:u,out:h,issues:void 0,options:c},f="all"===c.errors,A="error"===c.onExcessProperty,b="preserve"===c.onExcessProperty;if(0===t.indexSignatures.length&&(A||b)){m=Reflect.ownKeys(u);for(let r=0;r<m.length;r++){let i=m[r];if(!n.has(i))if(A){let r=new y.gm([i],new y.vF(t,u[i]));if(!f)return yield*a.fJG(new y.eC(t,e,[r]));g.issues?g.issues.push(r):g.issues=[r];continue}else d(h,i,u[i])}}let x=V(c?.concurrency),N=ea(g,s,x);if(N&&(yield*N),l){let e=i.Ie();for(let r=0;r<o;r++){let i=t.indexSignatures[r],n=function(e,t,r=B){let i,n;return function t(a){switch(a._tag){case"String":case"TemplateLiteral":return(i??=Object.keys(e)).filter(e=>void 0!==a.matchPart(e,r));case"Number":return(i??=Object.keys(e)).filter(e=>void 0!==a.matchKey(e,r));case"Symbol":return(n??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==a.matchKey(e,r));case"Union":return[...new Set(a.types.flatMap(t))];default:return[]}}(eJ(eq(t)))}(u,i.parameter,c);for(let t=0;t<n.length;t++){let r=n[t];e.push([r,i])}}let r=l(g,e,x);r&&(yield*r)}if(g.issues)return yield*a.fJG(new y.eC(t,e,g.issues));if("original"===c.propertyOrder){let e=(m??Reflect.ownKeys(u)).concat(r),t={};for(let r of e)Object.hasOwn(h,r)&&d(t,r,h[r]);return p.some(t)}return p.some(h)})}_rebuild(e,t,r,i,n){let a=eM(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new ee(t.name,r)}),s=eM(this.indexSignatures,i=>{let n=t(i.parameter),a=e(i.type),s=r?i.merge?.flip():i.merge;return n===i.parameter&&a===i.type&&s===i.merge?i:new ei(n,a,s)});return a===this.propertySignatures&&s===this.indexSignatures&&i===this.checks&&n===this.encodingChecks?this:new en(a,s,this.annotations,i,void 0,this.context,n)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let ea=(0,c.h$X)()({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?p.some(e.input[t.name]):p.none();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return W(e,e.ast,t.name,r);if("Some"===r.value._tag)d(e.out,t.name,r.value.value);else if(!eL(t.type)){let r=new y.gm([t.name],new y.Mw(t.type.context?.annotations));return"all"!==e.options.errors?s.fJ(new y.eC(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function es(e,t){return e?t?[...e,...t]:e:t}function eo(e,t,r){return new en(Reflect.ownKeys(e).map(t=>new ee(t,e[t].ast)),[],r,t)}function el(e){return e.ast}function ec(e,t){return new K(!1,e.map(e=>e.ast),[],void 0,t)}function ed(e,t,r){return new eh(e.map(el),t,void 0,r)}function em(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!eL(t)){if(C(t))return[{key:e.name,literal:t.literal}];if(S(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>C(e)&&!eL(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return em(e.thunk())}}let eu=new WeakMap;function ep(e){return t=>{let r=eq(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class eh extends O{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,n,a,s){super(r,i,n,a),this.types=e,this.mode=t,this.encodingChecks=s}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return a.PyW(r);let n=r.value,s=function(e,t){let r=function(e){let t=eu.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=eq(e[r]);if(N(i))continue;let n=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),a=em(i);for(let e of(t.byType??={},n))(t.byType[e]??=[]).push(r);if(a.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,a)){let n=t.bySentinel.get(e);n||t.bySentinel.set(e,n=new Map);let a=n.get(i);a||n.set(i,a=[]),a.push(r)}else for(let e of(t.otherwise??={},n))(t.otherwise[e]??=[]).push(r)}return eu.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let n=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(n);for(let[t,n]of r.bySentinel)if(Object.hasOwn(e,t)){let r=n.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(ep(e))}return n.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(ep(e))}(n,t.types),o={ast:t,recur:e,oinput:r,input:n,out:void 0,successes:[],issues:void 0,options:i},l=V(i?.concurrency),c=eg(o,s,l?{...l,orderedStep:!0}:void 0);return c?a.qIB(c,e=>o.out?a.PyW(o.out):a.fJG(new y.W(t,n,o.issues??[]))):o.out?a.PyW(o.out):a.fJG(new y.W(t,n,o.issues??[]))}}_rebuild(e,t,r){let i=eM(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new eh(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=eq(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(C);if(t.length>0)return`${eA(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>C(e.type));if(t.length>0)return`{ ${t.map(t=>`${eA(t.type.context?.isMutable)}${(0,o._r)(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let eg=(0,c.h$X)()({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=u.R(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),s.fJ(new y.E8(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return s.rI}}}),ef=new eh([new L("Infinity"),new L("-Infinity"),new L("NaN")],"anyOf"),ey=new v(new eh([G,ef],"anyOf"),new A.IT(f.wN(),f.pd(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function eA(e){return e?"":"readonly "}class eb extends h.Xs{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new eb(this.run,{...this.annotations,...e},this.aborted)}abort(){return new eb(this.run,this.annotations,!0)}and(e,t){return new ex([this,e],t)}}class ex extends h.Xs{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new ex(this.checks,{...this.annotations,...e})}and(e,t){return new ex([this,e],t)}}function eN(e,t,r=!1){return new eb((t,r,i)=>y.L8(t,r,e(t,r,i)),t,r)}function eC(e,t){let r=e.source;return eN(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function eS(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function eI(e,t){return e.encoding===t?e:eS(e,e=>{e.encoding.value=t})}function ew(e,t){return e.context===t?e:eS(e,e=>{e.context.value=t})}function eE(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return ev(e,i.BC(e.checks.slice(0,-1),r.annotate(t)))}return eS(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function ev(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:eS(e,e=>{e.checks.value=t})}function eB(e,t){return ev(e,es(e.checks,t))}function eP(e,t){let r=e[e.length-1],n=t(r.to);return n!==r.to?i.BC(e.slice(0,e.length-1),new v(n,r.transformation)):e}function eR(e){return(0,l.Bj)(function t(r){return r.encoding?eI(r,eP(r.encoding,t)):e(r)})}function eO(e,t){return ek(e,t,eF(e))}function ek(e,t,r){let i=new v(e,t);return eI(r,r.encoding?[...r.encoding,i]:[i])}function eT(e,t){let r=m.NK(e);return eE(e,{brands:r?[...r,t]:[t]})}function eM(e,t){let r=!1,i=Array(e.length);for(let n=0;n<e.length;n++){let a=e[n],s=t(a);s!==a&&(r=!0),i[n]=s}return r?i:e}function eD(e,t){let r=e.context?new P(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new P(!1,!1,void 0,t);return ew(e,r)}let ez=e=>e.encoding?eI(e,eP(e.encoding,eQ)):e;function eQ(e){let t=e.context?!1===e.context.isOptional?new P(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new P(!0,!1);return ez(ew(e,t))}function e_(e,t){let r=[new v(U,new A.IT(f.IQ(t),f.le()))],i=e.context?new P(e.context.isOptional,e.context.isMutable,r,e.context.annotations):new P(!1,!1,r);return ew(e,i)}function eU(e,t,r){return ek(e,r,t)}function eH(e,t,r){let i,n,{literals:a,parameters:s}=(i=[],n=[],!function e(t){switch(t._tag){case"Literal":g.hL(t.literal)&&i.push(t.literal);return;case"UniqueSymbol":i.push(t.symbol);return;case"Never":return;case"Union":for(let r=0;r<t.types.length;r++)e(t.types[r]);return;default:n.push(t)}}(e),{literals:i,parameters:n});return new en(a.map(e=>new ee(e,t)),s.map(e=>new ei(e,t,r)))}function eL(e){return e.context?.isOptional??!1}let eF=(0,l.Bj)(e=>{if(e.encoding)return eF(eI(e,void 0));let t=e.recur?.(eF)??e,r=t.encodingChecks;return r?eS(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=es(t.checks,r))}):t}),eq=(0,l.Bj)(e=>eF(ej(e))),ej=(0,l.Bj)(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],n=[new v(ej(eI(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)n.unshift(new v(ej(t[e-1].to),t[e].transformation.flip()));let a=ej(i.to);return a.encoding?eI(a,[...a.encoding,...n]):eI(a,n)}(e,e.encoding):e.flip?.(ej)??e.recur?.(ej)??e);function eG(e,t){let r=a.nGE(t);return i=>"None"===i._tag?a.lwU:i.value===t?r:a.fJG(new y.eE(e,i))}function eY(e,t){return r=>"None"===r._tag?a.lwU:t(r.value)?a.PyW(r):a.fJG(new y.eE(e,r))}function e$(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return te(e.checks,t,i,e,r),0===i.length?t:void 0}let eJ=eR(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(eJ)}}),eK=eR(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(eK)}}),eX=eR(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(eX)}}),eV=new globalThis.RegExp(`^${Z}$`),eW=new globalThis.RegExp(`(?:${Z}|Infinity|-Infinity|NaN)`);function eZ(e){return eC(eV,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:eV},...e})}let e0=eB(q,[eZ()]),e1=new v(e0,A.ZK),e2=new v(new eh([e0,ef],"anyOf"),A.ZK),e3=new globalThis.RegExp("^-?\\d+$");function e6(e){return eC(e3,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:e3},...e})}let e5=eB(q,[e6({expected:"a string representing a bigint"})]),e4=new v(e5,A.R7),e8=new globalThis.RegExp("^Symbol\\((.*)\\)$"),e9=new v(eB(q,[e7()]),new A.IT(f.pd(e=>globalThis.Symbol.for(e8.exec(e)[1])),f.K$(e=>void 0!==globalThis.Symbol.keyFor(e)?a.PyW(globalThis.String(e)):a.fJG(new y.cw(p.some(e),{message:"cannot serialize to string, Symbol is not registered"})))));function e7(e){return eC(e8,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:e8},...e})}function te(e,t,r,i,n){for(let a=0;a<e.length;a++){let s=e[a];if("FilterGroup"===s._tag)te(s.checks,t,r,i,n);else{let e=s.run(t,i,n);if(e&&(r.push(new y.dJ(t,s,e)),s.aborted||n?.errors!=="all"))return}}}let tt="~effect/Schema/Class",tr="~structural";m.hd,m.ip,m.KE,m.DQ,m.Pk;let ti=new k([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let n=Array.isArray(t);if(!n){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let a=n?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),a&&i.add(t),a}(e))?a.PyW(e):a.fJG(new y.eE(t,p.some(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new v(U,A.le()),toArbitrary:()=>e=>e.jsonValue()}),tn=eE(ti,{typeConstructor:{_tag:"effect/MutableJson"},generation:{runtime:"Schema.MutableJson",Type:"Schema.MutableJson"}}),ta=new v(new k([],()=>(e,t)=>{let r;return(r=new Set,function e(t){return void 0===t||"string"==typeof t||!("object"!=typeof t||null===t||r.has(t))&&((r.add(t),Array.isArray(t))?t.every(e):Object.keys(t).every(r=>e(t[r])))}(e))?a.PyW(e):a.fJG(new y.eE(t,p.some(e)))},{expected:"StringTree"}),A.le())},2933(e,t,r){var i=r(1160);let n="~effect/SchemaError/SchemaError";class a extends i.rN("SchemaError"){[n]=n;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}r.d(t,{A:()=>a})},6528(e,t,r){var i=r(1897),n=r(702),a=r(1757),s=r(6437),o=r(2544),l=r(8527),c=r(2917),d=r(2340);class m extends o.Xs{run;constructor(e){super(),this.run=e}map(e){return new m((t,r)=>this.run(t,r).pipe(n.jkJ(s.map(e))))}compose(e){return h(this)?e:h(e)?this:new m((t,r)=>this.run(t,r).pipe(n.Ab9(t=>e.run(t,r))))}}function u(e){var t;return t=t=>new d.cw(t,{message:e(t)}),new m(e=>n.fJG(t(e)))}let p=new m(n.PyW);function h(e){return e.run===p.run}function g(){return p}function f(e){var t;return t=s.map(e),new m(e=>n.PyW(t(e)))}function y(e){var t;return t=(t,r)=>e(t,r).pipe(n.jkJ(s.some)),new m((e,r)=>s.isNone(e)?n.lwU:t(e.value,r))}function A(e){return new m(t=>{let r=s.filter(t,l.EA);return s.isSome(r)?n.PyW(r):n.jkJ(e,s.some)})}function b(){return f(globalThis.String)}function x(){return f(globalThis.Number)}function N(){return f(globalThis.BigInt)}function C(){return f(e=>new globalThis.Date(e))}function S(){return f(a.WG)}function I(){return f(a.DX)}function w(){return f(a.mU)}function E(){return y(e=>n.Z9x(n.yUA(a.y4(e)),t=>new d.h6(s.some(e),{message:t.message})))}function v(){return y(e=>c.YW(a.$T(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function B(){return y(e=>c.YW(a.$X(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function P(){return y(e=>c.YW(a.UD(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function R(){return y(e=>c.YW(a.EF(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function O(){return y(e=>c.YW(a.xQ(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function k(){return f(encodeURIComponent)}function T(){return y(e=>{try{return n.PyW(globalThis.decodeURIComponent(e))}catch(t){return n.fJG(new d.h6(s.some(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}})}function M(){return y(e=>s.match(i.L8(e),{onNone:()=>n.fJG(new d.h6(s.some(e),{message:"Invalid DateTime input"})),onSome:e=>n.PyW(i.yT(e))}))}l.Kg,r.d(t,{$T:()=>v,$X:()=>B,A0:()=>M,DX:()=>I,EF:()=>R,IQ:()=>A,K$:()=>y,Qf:()=>b,Qw:()=>N,UD:()=>P,WG:()=>S,_p:()=>k,le:()=>g,mF:()=>T,mU:()=>w,n9:()=>C,o0:()=>u,pd:()=>f,wN:()=>x,xQ:()=>O,y4:()=>E})},2340(e,t,r){var i=r(3207),n=r(7292),a=r(5994),s=r(6437),o=r(8527),l=r(1036);let c="~effect/SchemaIssue/Issue";function d(e){return(0,o.i5)(e,c)}class m{[c]=c;toString(){return B(this)}}class u extends m{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class p extends m{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class h extends m{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class g extends m{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class f extends m{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class y extends m{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class A extends m{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class b extends m{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class x extends m{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class N extends m{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class C extends m{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function S(e,t){if(d(t))return t;if("string"==typeof t)return new b(s.some(e),{message:t});let r="string"==typeof t.issue?new b(s.some(e),{message:t.issue}):t.issue;return new h(t.path,r)}function I(e,t,r){if(Array.isArray(r))return i.ET(r)?1===r.length?S(e,r[0]):new y(t,s.some(e),i.Tj(r,t=>S(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new b(s.some(e)):S(e,r)}let w=e=>{let t=R(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return v(a.bo(e.ast),k(e.actual));case"InvalidValue":return`Invalid data ${k(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${(0,n.GP)(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${(0,n.GP)(e.actual)}`}},E=e=>R(e.issue)??R(e);function v(e,t){return`Expected ${e}, got ${t}`}let B=e=>(function e(t,r,i,s){switch(t._tag){case"Filter":{let a=s(t);if(void 0!==a)return[{path:r,message:a}];if("InvalidValue"===t.issue._tag)return[{path:r,message:v(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),(0,n.GP)(t.actual))}];return e(t.issue,r,i,s)}case"Encoding":return e(t.issue,r,i,s);case"Pointer":return e(t.issue,[...r,...t.path],i,s);case"Composite":return t.issues.flatMap(t=>e(t,r,i,s));case"AnyOf":{let o=R(t);if(0===t.issues.length){if(void 0!==o)return[{path:r,message:o}];return[{path:r,message:v(a.bo(t.ast),(0,n.GP)(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,s))}default:return[{path:r,message:i(t)}]}})(e,[],w,E).map(P).join("\n");function P(e){let t=e.message;if(e.path&&e.path.length>0){let r=(0,n.jV)(e.path);t+=` + at ${r}`}return t}function R(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return O(e.ast.annotations);case"InvalidValue":case"Forbidden":return O(e.annotations);case"MissingKey":return O(e.annotations,"messageMissingKey");case"UnexpectedKey":return O(e.ast.annotations,"messageUnexpectedKey");case"Filter":return O(e.filter.annotations);case"Encoding":return R(e.issue)}}function O(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function k(e){return s.isNone(e)?"no value provided":(0,n.GP)(e.value)}r.d(t,{E$:()=>function e(t){switch(t._tag){case"MissingKey":return t;case"Forbidden":return new x(s.map(t.actual,l.L8),t.annotations);case"Filter":return new u(l.L8(t.actual),t.filter,e(t.issue));case"Pointer":return new h(t.path,e(t.issue));case"Encoding":case"InvalidType":case"InvalidValue":case"Composite":return new b(s.map(t.actual,l.L8));case"AnyOf":case"OneOf":case"UnexpectedKey":return new b(s.some(l.L8(t.actual)))}},E8:()=>C,L8:()=>I,Mw:()=>g,W:()=>N,Wi:()=>p,cw:()=>x,dJ:()=>u,eC:()=>y,eE:()=>A,gh:()=>d,gm:()=>h,h6:()=>b,vF:()=>f})},8376(e,t,r){var i=r(3207),n=r(8149),a=r(702),s=r(5536),o=r(9920),l=r(6311),c=r(6437),d=r(8527),m=r(7439),u=r(2340);let p=(0,o.Bj)(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[m.YA];if(d.Tn(t)){let r=t(e.typeParameters),i=p(r.to);return m.ES(e,i===r.to?[r]:[new m.N_(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=p(e);return m.ES(r,r.encoding?[...r.encoding,...t]:t)}return p(e)});case"Suspend":return e.recur(p);default:return e}});function h(e){let t=E(p(m.Ax(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function g(e){let t=h(e);return(e,r)=>{let i=a.lKS(t(e,r));return s.oJ(i)?c.some(i.value):(l.q(i.cause,"Option adapter can only return none for schema issues"),c.none())}}function f(e){let t=h(e);return(e,r)=>{let i=a.lKS(t(e,r));if(s.oJ(i))return i.value;let n=l.q(i.cause,"Constructor adapter can only throw schema issues");throw Error(n.toString(),{cause:n})}}function y(e){return A(e.ast)}function A(e){let t=v(E(m.Ax(e)));return e=>{let r=t(e,m.vr);return!!s.oJ(r)||(l.q(r.cause,"Type guard adapter can only return false for schema issues"),!1)}}function b(e,t){let r=v(E(m.Ax(e.ast)))(t,m.vr);if(s.N6(r)){let e=l.q(r.cause,"Assertion adapter can only throw schema issues");throw Error(e.toString(),{cause:e})}}function x(e,t){let r=E(e.ast);return void 0===t?r:(e,i)=>r(e,w(t,i))}function N(e,t){return v(x(e,t))}function C(e,t){return B(x(e,t))}function S(e,t){let r=E(m.UU(e.ast));return void 0===t?r:(e,i)=>r(e,w(t,i))}function I(e,t){return B(S(e,t))}let w=(e,t)=>void 0===t?e:{...e,...t};function E(e){let t=R(e);return(e,r)=>a.Ab9(t(c.some(e),r??m.vr),e=>"None"===e._tag?a.fJG(new u.h6(e)):a.PyW(e.value))}function v(e){return(t,r)=>a.lKS(e(t,r))}function B(e){let t=v(e);return(e,r)=>{let i=t(e,r);return s.oJ(i)?c.some(i.value):(l.q(i.cause,"Option adapter can only return none for schema issues"),c.none())}}function P(e,t){return a.Tyx(e,e=>a.pVV(()=>n.Tj(e,t)))}let R=(0,o.Bj)(e=>{let t,r=e.checks,n=e.encoding,s=n?.length??0,o=e.encodingChecks,l=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!n&&!r&&!o)return(r,i)=>(t??=e.getParser(R),l&&(i={...i,...l}),t(r,i));let d=m.tF(e)||m.RP(e)||m.HC(e)&&e.typeParameters.length>0,p=r&&d?r.filter(e=>e.annotations?.[m.C3]):void 0;return(d,h)=>{let g;if(l&&(h={...h,...l}),n){for(let e=s-1;e>=0;e--){let t=n[e],r=R(t.to);if(g=g?a.Ab9(g,e=>r(e,h)):r(d,h),"Transformation"===t.transformation._tag){let e=t.transformation.decode;g=a.Ab9(g,t=>e.run(t,h))}else g=t.transformation.decode(g,h)}g=P(g,t=>new u.Wi(e,d,t))}t??=e.getParser(R);let f=n=>{let s=t(n,h);return o&&!h?.disableChecks&&(s=a.Ab9(s,t=>{if(c.isSome(n)&&c.isSome(t)){let t=[];if(m.Lp(o,n.value,t,e,h),i.CZ(t))return a.fJG(new u.eC(e,n,t))}return a.PyW(t)})),r&&!h?.disableChecks&&(h?.errors==="all"&&p&&p.length>0&&c.isSome(n)&&(s=P(s,t=>{let r=[];return m.Lp(p,n.value,r,e,h),i.CZ(r)?"Composite"===t._tag&&t.ast===e?new u.eC(e,t.actual,[...t.issues,...r]):new u.eC(e,n,[t,...r]):t})),s=a.Ab9(s,t=>{if(c.isSome(t)){let n=t.value,s=[];if(m.Lp(r,n,s,e,h),i.CZ(s))return a.fJG(new u.eC(e,t,s))}return a.PyW(t)})),s};return g?a.Ab9(g,f):f(d)}});r.d(t,{GX:()=>A,IQ:()=>I,L8:()=>f,YY:()=>g,_R:()=>x,e$:()=>S,fq:()=>N,is:()=>y,kv:()=>b,o:()=>h,y9:()=>C},{GP:I,mR:C})},5030(e,t,r){var i=r(5909),n=r(1897),a=r(6292),s=r(702),o=r(7292),l=r(6437),c=r(8527),d=r(6528),m=r(2340);class u{_tag="Middleware";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new u(this.encode,this.decode)}}let p="~effect/SchemaTransformation/Transformation";class h{[p]=p;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new h(this.encode,this.decode)}compose(e){return new h(this.decode.compose(e.decode),e.encode.compose(this.encode))}}function g(e){return new h(d.K$(e.decode),d.K$(e.encode))}function f(e){return new h(d.pd(e.decode),d.pd(e.encode))}let y=new h(d.le(),d.le());function A(){return y}let b=new h(d.wN(),d.Qf()),x=new h(d.Qw(),d.Qf()),N=new h(d.n9(),d.pd(o.Yq)),C=new h(d.n9(),d.pd(e=>e.getTime())),S=g({decode:e=>l.match(a.lX(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid Duration string: ${e}`})),onSome:s.PyW}),encode:e=>s.PyW(globalThis.String(e))}),I=g({decode:e=>s.PyW(a.cF(e)),encode:e=>l.match(a.tb(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Unable to encode ${e} into a bigint`})),onSome:e=>s.PyW(e)})}),w=f({decode:e=>a.ne(e),encode:e=>a.kE(e)}),E=e=>{let t;return c.Gv(e)&&"string"==typeof e.message?(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:E(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t):e};function v(){return f({decode:l.fromNullOr,encode:l.getOrNull})}let B=g({decode:e=>URL.canParse(e)?s.PyW(new URL(e)):s.fJG(new m.h6(l.some(e),{message:`Invalid URL string: ${e}`})),encode:e=>s.PyW(e.href)}),P=g({decode:e=>{let t=i.sH(e);return l.isNone(t)?s.fJG(new m.h6(l.some(e),{message:`Invalid BigDecimal string: ${e}`})):s.PyW(t.value)},encode:e=>s.PyW(i.GP(e))}),R=new h(d.y4(),d.WG()),O=new h(d.$T(),d.WG()),k=new h(d.UD(),d.DX()),T=new h(d.xQ(),d.mU()),M=new h(d.mF(),d._p()),D=f({decode:e=>n.ko(e),encode:e=>e.offset}),z=g({decode:e=>l.match(n.y3(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid IANA time zone: ${e}`})),onSome:s.PyW}),encode:e=>s.PyW(e.id)}),Q=g({decode:e=>l.match(n.ez(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid time zone: ${e}`})),onSome:s.PyW}),encode:e=>s.PyW(n.xV(e))}),_=g({decode:e=>l.match(n.L8(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid UTC DateTime string: ${e}`})),onSome:e=>s.PyW(n.yT(e))}),encode:e=>s.PyW(n.dv(e))}),U=g({decode:e=>l.match(n.MO(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid Zoned DateTime string: ${e}`})),onSome:s.PyW}),encode:e=>s.PyW(n.Rd(e))});r.d(t,{$p:()=>u,IT:()=>h,K$:()=>g,gh:()=>v,le:()=>A,pd:()=>f},{Ct:O,EJ:S,HO:C,I9:D,L8:e=>c.i5(e,p)?e:new h(e.decode,e.encode),LL:k,Nh:_,PE:w,Pp:M,R7:x,U0:R,XU:Q,Y5:T,YZ:N,ZK:b,d9:U,dG:P,m8:I,nY:B,sm:e=>{let t,r;return f({decode:E,encode:(t=new WeakSet,r=i=>{if(c.bJ(i)){var n;let a;if(t.has(i))return"[Circular]";t.add(i);let s=(n=r,a={name:i.name,message:"string"==typeof i.message?i.message:""},e?.includeStack&&"string"==typeof i.stack&&(a.stack=i.stack),e?.excludeCause||void 0===i.cause||(a.cause=n(i.cause)),a);return t.delete(i),s}try{let e=(0,o.IB)(i);return void 0===e?(0,o.GP)(i):JSON.parse(e)}catch{return(0,o.GP)(i)}})})},yd:z})},1746(e,t,r){var i=r(8826);i.kWD,i.obm;let n=i.DLK;i.RWE;let a=i.d97,s=i.AAo,o=i.Uio,l=i.iLB;i.Z$R;let c=i.pSt,d=i.vDJ;i.fou,i.mdu,r.d(t,{},{Fp:c,Gt:s,HG:n,LZ:a,U9:l,VN:d,a6:o})},1091(e,t,r){r(3207);var i=r(8149),n=r(893),a=r(702),s=r(9920),o=r(6437),l=r(2544),c=r(8527),d=r(6627);let m="~effect/Sink",u=a.PyW([void 0]),p={[m]:{_A:s.D_,_In:s.D_,_L:s.D_,_E:s.D_,_R:s.D_},pipe(){return(0,l.tT)(this,arguments)}},h=e=>g((t,r)=>n.wp(e)(t,r).pipe(a.qIB(a.i4r({disableYield:!0})),d.m8(a.PyW))),g=e=>{let t=Object.create(p);return t.transform=e,t},f=e=>n.Z1((t,r)=>a.PyW(a.qIB(e.transform(t,r),i.Vw)));a.ZmZ;let y=g(e=>d.m8(a.i4r(e,{disableYield:!0}),()=>u));o.none,o.isNone,o.none;r.d(t,{},{Ef:h,Ze:y,fJ:e=>{let t;return t=a.fJG(e),g(()=>t)},jJ:e=>{let t;return t=a.jJl(t=>e(t),{discard:!0}),g(e=>e.pipe(a.qIB(t),a.i4r({disableYield:!0}),d.m8(()=>u)))},oA:e=>h(n.oA(a.TjK(e,f))),qz:e=>(0,c.i5)(e,m)})},1260(e,t,r){r.d(t,{E2r:()=>b,g7H:()=>B,Iex:()=>x,yeE:()=>R,fJG:()=>C,EfB:()=>f,OBL:()=>y,fph:()=>S,rLs:()=>g,h1I:()=>E,kBx:()=>D,eFU:()=>O,sZ3:()=>k,o1d:()=>T,hM$:()=>M,uzs:()=>P,DYE:()=>N,tiA:()=>Q,QCN:()=>v,oAg:()=>I});var i=r(3207),n=r(8149),a=r(893),s=r(702),o=r(5536),l=r(8516),c=r(9920),d=r(2544);let m={"~effect/Stream":{_R:c.D_,_E:c.D_,_A:c.D_},pipe(){return(0,d.tT)(this,arguments)}};var u=r(7512),p=r(8527),h=r(1746);let g=e=>(0,p.i5)(e,"~effect/Stream"),f=e=>{let t=Object.create(m);return t.channel=e,t},y=e=>f(a.OB(e)),A=e=>e.channel,b=(e,t)=>f(a.VD(e,t)),x=f(a.Ie),N=e=>f(a.DY(()=>e().channel)),C=e=>f(a.fJ(e)),S=e=>f(a.Z1(s.D9k(function*(t,r){let a=e.evaluate().getReader();return yield*h.U9(r,e.releaseLockOnEnd?s.OH5(()=>a.releaseLock()):s.ivC(()=>a.cancel().catch(c.Yi))),s.qIB(s.$mh({try:()=>a.read(),catch:t=>e.onError(t)}),({done:e,value:t})=>e?n.Vw():s.PyW(i.of(t)))})));a.Zm;let I=e=>f(a.oA(s.TjK(e,A))),w=(0,c.XY)(2,(e,t)=>N(()=>{let r=0;return f(a.Tj(e.channel,i.Tj(e=>t(e,r++))))})),E=(0,c.XY)(e=>g(e[0])&&g(e[1]),(e,t,r)=>f(a.h1(A(e),A(t),r))),v=(0,c.XY)(2,(e,t)=>{let r;return r=(e,r)=>s.OH5(()=>{let a,l,c=s.DYE(()=>{if(void 0!==l){let e=l;return l=void 0,s.PyW(e)}return e}).pipe(s.MfU(e=>(a=o.fJ(e),n.Vw()))),d=s.TjK(s.DYE(()=>t.transform(c,r)),([e,t])=>(l=t,i.of(e)));return s.DYE(()=>a||d)}),f(a.Z1((t,i)=>s.qIB(a.lB(e.channel,i),e=>r(e,i))))}),B=(0,c.XY)(e=>g(e[0]),(e,t)=>N(()=>{let r=new TextDecoder(t?.encoding);return w(e,e=>r.decode(e,{stream:!0}))})),P=e=>e.channel.pipe(a.Dn(a.uz()),f),R=(0,c.XY)(2,(e,t)=>f(a.ye(e.channel,t))),O=(0,c.XY)(2,(e,t)=>s.Pxi(r=>a.lB(e.channel,r).pipe(s.qIB(e=>t.transform(e,r)),s.TjK(([e])=>e)))),k=e=>a.vb(e.channel,()=>[],(e,t)=>{for(let r=0;r<t.length;r++)e.push(t[r]);return e}),T=(0,c.XY)(2,(e,t)=>a.o1(e.channel,e=>{let r=0;return s.iMI({while:()=>r<e.length,body:()=>t(e[r++]),step:c.Yi})})),M=(0,c.XY)(2,(e,t)=>a.o1(e.channel,t)),D=e=>a.vb(e.channel,()=>"",(e,t)=>e+t.join("")),z=(0,c.XY)(e=>g(e[0]),(e,t,r)=>{let i,a,o=u.LZ(!1);return new ReadableStream({start(r){(a=s.MY7(s.PpN(M(e,e=>o.whenOpen(s.OH5(()=>{o.closeUnsafe();for(let t=0;t<e.length;t++)r.enqueue(e[t]);i(),i=void 0}))),t))).addObserver(e=>{"Failure"===e._tag?r.error(n.iw(e.cause)):r.close()})},pull:()=>new Promise(e=>{i=e,o.openUnsafe()}),cancel(){if(a)return s.pR5(s.NLW(l.G(a)))}},r?.strategy)}),Q=(0,c.XY)(e=>g(e[0]),(e,t)=>s.TjK(s._OA(),r=>z(e,r,t)))},4465(e,t,r){let i,n;var a=r(9605),s=r(9920),o=r(6437);let l="effect/Tracer/ParentSpan";class c extends a.kl()(l){}let d=a.Or("effect/Tracer/DisablePropagation",{defaultValue:s.f4}),m=a.Or("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),u=a.Or("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),p="effect/Tracer",h=a.Or(p,{defaultValue:()=>({span:e=>new g(e)})});class g{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=o.getOrUndefined(e.parent)?.traceId??f(32),this.spanId=f(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let f=(n=(i="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=i.charAt(Math.floor(Math.random()*n));return t});r.d(t,{Tv:()=>c},{DW:d,EW:u,RL:p,WG:l,pX:m,sh:h})},1371(e,t,r){let i,n;class a{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new a(this.self)}}let s=(n={[i="~effect/Utils/internal"]:e=>e()},n[i](()=>Error().stack)?.includes(i)===!0?n[i]:({[i]:e=>e()})[i]);r.d(t,{B:()=>a},{s:s})},8579(e,t,r){let i;var n=r(2730),a=r(7292),s=r(9920),o=r(3536),l=r(8294),c=r(2544),d=r(8527),m=r(1371);let u="~effect/Effect",p="~effect/Exit",h={_A:s.D_,_E:s.D_,_R:s.D_},g=`${u}/identifier`,f=`${u}/args`,y=`${u}/evaluate`,A=`${u}/successCont`,b=`${u}/failureCont`,x=`${u}/ensureCont`,N=Symbol.for("effect/Effect/Yield"),C={pipe(){return(0,c.tT)(this,arguments)},toJSON(){return{...this}},toString(){return(0,a.GP)(this.toJSON(),{ignoreToString:!0,space:2})},[l.FX](){return this.toJSON()}},S={[o.HR](){return o.uN(this,Object.keys(this))},[n.HR](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!n.aI(this[t[i]],e[t[i]]))return!1;return!0}},I={[u]:h,...C,[Symbol.iterator](){return new m.B(this)},toJSON(){return{_id:"Effect",op:this[g],...f in this?{args:this[f]}:void 0}}},w=e=>(0,d.i5)(e,p),E="~effect/Cause",v="~effect/Cause/Reason",B=e=>(0,d.i5)(e,E);class P{[E];reasons;constructor(e){this[E]=E,this.reasons=e}pipe(){return(0,c.tT)(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${(0,a.GP)(this.reasons)})`}[l.FX](){return this.toJSON()}[n.HR](e){return B(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>n.aI(t,e.reasons[r]))}[o.HR](){return o.YO(this.reasons)}}let R=new WeakMap;class O{[v];annotations;_tag;constructor(e,t,r){if(this[v]=v,this._tag=e,t!==k&&"object"==typeof r&&null!==r&&t.size>0){let e=R.get(r);e&&(t=new Map([...e,...t])),R.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return(0,c.tT)(this,arguments)}toString(){return(0,a.GP)(this)}[l.FX](){return this.toString()}}let k=new Map;class T extends O{error;constructor(e,t=k){super("Fail",t,e),this.error=e}toString(){return`Fail(${(0,a.GP)(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[n.HR](e){return U(e)&&n.aI(this.error,e.error)&&n.aI(this.annotations,e.annotations)}[o.HR](){return o.kg(o.Yj(this._tag))(o.kg(o.tW(this.error))(o.tW(this.annotations)))}}let M=new P([]),D=e=>new P([new T(e)]);class z extends O{defect;constructor(e,t=k){super("Die",t,e),this.defect=e}toString(){return`Die(${(0,a.GP)(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[n.HR](e){return H(e)&&n.aI(this.defect,e.defect)&&n.aI(this.annotations,e.annotations)}[o.HR](){return o.kg(o.Yj(this._tag))(o.kg(o.tW(this.defect))(o.tW(this.annotations)))}}let Q=e=>new P([new z(e)]),_=(0,s.XY)(e=>B(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new P(e.reasons.map(e=>e.annotate(t,r)))),U=e=>"Fail"===e._tag,H=e=>"Die"===e._tag;function L(e){return K("Effect.evaluate: Not implemented")}let F=e=>({...I,[g]:e.op,[y]:e[y]??L,[A]:e[A],[b]:e[b],[x]:e[x]}),q=e=>{let t=F(e);return function(){let r=Object.create(t);return r[f]=!1===e.single?arguments:arguments[0],r}},j=e=>{let t={...F(e),[p]:p,_tag:e.op,get[e.prop](){return this[f]},toString(){return`${e.op}(${(0,a.GP)(this[f])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[f]}},[n.HR](e){return w(e)&&e._tag===this._tag&&n.aI(this[f],e[f])},[o.HR](){return o.kg(o.Yj(e.op),o.tW(this[f]))}};return function(e){let r=Object.create(t);return r[f]=e,r}},G=j({op:"Success",prop:"value",[y](e){let t=e.getCont(A);return t?t[A](this[f],e,this):e.yieldWith(this)}}),Y={key:"effect/Cause/StackTrace"},$=j({op:"Failure",prop:"cause",[y](e){let t=this[f],r=!1;e.currentStackFrame&&(t=_(t,{mapUnsafe:new Map([[Y.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(b);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(b);return i?i[b](t,e,r?void 0:this):e.yieldWith(r?$(t):this)}}),J=e=>$(D(e)),K=e=>$(Q(e)),X=q({op:"WithFiber",[y](e){return this[f](e)}}),V=function(){class e extends globalThis.Error{}let t=F({op:"YieldableError",[y](){return J(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),W=(i=Symbol.for("effect/Data/Error/plainArgs"),class extends V{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,i,{value:e,enumerable:!1}))}toJSON(){return{...this[i],...this}}}),Z=e=>{class t extends W{_tag=e}return t.prototype.name=e,t},ee="~effect/Cause/NoSuchElementError";class et extends Z("NoSuchElementError"){[ee]=ee;constructor(e){super({message:e})}}let er="~effect/Cause/Done",ei={[er]:er,_tag:"Done",value:void 0},en=e=>void 0===e?ei:{[er]:er,_tag:"Done",value:e},ea=J(ei);r.d(t,{ET:()=>O,Xm:()=>et,dM:()=>T,s0:()=>P},{$D:W,$L:e=>(0,d.i5)(e,er),$n:u,Aj:B,B4:v,DH:M,Eh:_,GN:N,IH:p,In:S,Iu:Q,OE:D,PW:e=>(0,d.i5)(e,ee),PX:E,QJ:{key:"effect/Cause/InterruptorStackTrace"},R6:X,RS:en,Rk:J,Sc:b,Uf:q,V2:K,Vw:e=>void 0===e?ea:J(en(e)),Wg:e=>(0,d.i5)(e,v),Xb:H,_3:y,a2:f,b5:e=>new P(e),b9:w,cb:$,dO:k,ee:A,fU:C,ik:e=>"Interrupt"===e._tag,lC:U,qB:ee,q_:er,rN:Z,u4:x,xt:G,yj:F,yw:e=>(0,d.i5)(e,u),z8:Y})},9739(e,t,r){var i=r(9920);r.d(t,{},{Jr:e=>(0,i.XY)(2,(t,r)=>e(t,e=>({[r]:e}))),oI:(e,t)=>(0,i.XY)(3,(r,i,n)=>t(r,t=>e(n(t),e=>({...t,[i]:e})))),zM:e=>(0,i.XY)(3,(t,r,i)=>e(t,e=>({...e,[r]:i(e)})))})},8826(e,t,r){let i,n,a;r.d(t,{RD4:()=>n6,cOF:()=>n2,a1U:()=>n_,z4N:()=>n9,d$_:()=>at,Do:()=>iV,Aub:()=>n1,F7W:()=>nZ,qwd:()=>nW,t8c:()=>nX,LkF:()=>n7,olX:()=>ar,obm:()=>rJ,kWD:()=>r$,MUS:()=>nK,DQo:()=>n$,Bk6:()=>n8,Kkt:()=>n5,dsN:()=>iR,N24:()=>iy,Q56:()=>ii,jGc:()=>ig,U9h:()=>ia,Q7R:()=>iO,hgn:()=>tr,ww9:()=>nD,gsV:()=>ai,Muk:()=>nM,as:()=>e7,Xx$:()=>te,NLW:()=>tn,PCg:()=>i6,oIE:()=>iZ,JrD:()=>iW,PO3:()=>ix,CJw:()=>iA,Rgn:()=>ib,E2r:()=>eW,Tyx:()=>rt,rNk:()=>rn,sJf:()=>ri,Fig:()=>ro,UVN:()=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()=>al,PyW:()=>ev,lwU:()=>e_,nGE:()=>eQ,DYE:()=>eO,OH5:()=>eR,Mim:()=>ti,dGm:()=>rl,bKC:()=>rd,cA6:()=>rc,nAi:()=>rp,sFT:()=>rm,k$L:()=>ru,ayu:()=>rY,wRz:()=>rj,D52:()=>rG,mgX:()=>rq,kJM:()=>ng,ekV:()=>ab,pkL:()=>eU,SvU:()=>ej,$mh:()=>eY,Vxk:()=>ax,rfi:()=>iC,FcF:()=>iB,scW:()=>rx,r_d:()=>t$,bUZ:()=>tJ,gvr:()=>nR,tfT:()=>iM,rIH:()=>eq,z7s:()=>t8,iMI:()=>iU,KyM:()=>t3,$$g:()=>aN,hq:()=>nk,fRP:()=>nT,zr8:()=>nw,_o1:()=>nf,nDN:()=>ny,MaT:()=>nA,m9E:()=>ez,KN3:()=>eD,yU6:()=>t6,OYO:()=>t5});var s=r(3207),o=r(9605),l=r(6292),c=r(2730),d=r(7174),m=r(7292),u=r(9920),p=r(3536),h=r(8294),g=r(1034),f=r(6437),y=r(606),A=r(2544),b=r(8527),x=r(8629),N=r(2917),C=r(3327),S=r(4465),I=r(1371),w=r(8579),E=r(9739),v=r(3894),B=r(58);let P=e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=(0,B.jt)();(0,B.ft)(3);let r=Error();return(0,B.ft)(t),{...e,captureStackTrace:O(()=>r.stack)}},R=e=>t=>{let r;return()=>{if(void 0!==r)return r;let i=t();if(!i)return;let n=i.split("\n");if(void 0!==n[e])return r=n[e].trim()}},O=R(3);class k extends w.ET{fiberId;constructor(e,t=w.dO){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[c.HR](e){return(0,w.ik)(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[p.HR](){return p.kg(p.Yj(`${this._tag}:${this.fiberId}`))(p.yT(this.annotations))}}let T=e=>new k(e),M=e=>new w.s0([new k(e)]),D=e=>e.reasons.some(w.lC),z=e=>{let t=e.reasons.find(w.lC);return t?N.Py(t):N.fJ(e)},Q=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return N.Py(r.error)}return N.fJ(e)},_=d.zL(Q),U=e=>e.reasons.some(w.Xb),H=e=>{let t=e.reasons.find(w.Xb);return t?N.Py(t):N.fJ(e)},L=e=>{let t=e.reasons.find(w.Xb);return t?N.Py(t.defect):N.fJ(e)},F=e=>e.reasons.some(w.ik),q=e=>{let t=e.reasons.find(w.ik);return t?N.Py(t):N.fJ(e)},j=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?N.Py(t):N.fJ(e)},G=e=>{let t=j(e);return N.N6(t)?Y:t.success},Y=new Set,$=e=>e.reasons.length>0&&e.reasons.every(w.ik),J=e=>o.LZ(e.annotations),K=e=>{let t=new Map;for(let r of e.reasons)if(r.annotations.size>0)for(let[e,i]of r.annotations)t.set(e,i);return o.LZ(t)},X=(0,u.XY)(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new w.s0(s.KC(e.reasons,t.reasons));return c.aI(e,r)?e:r}),V=(0,u.XY)(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>(0,w.lC)(e)?(r=!0,new w.dM(t(e.error))):e);return r?(0,w.b5)(i):e}),W=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},Z=(e,t)=>{let r=[],i=[];if(0===e.reasons.length)return r;let n=(0,B.jt)();for(let n of((0,B.ft)(1),e.reasons)){if("Interrupt"===n._tag){i.push(n);continue}r.push(ee("Die"===n._tag?n.defect:n.error,n.annotations,t))}if(0===r.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=ea(e,i);let n=new globalThis.Error("All fibers interrupted without error",{cause:e});n.name="InterruptError",n.stack=`${n.name}: ${n.message}`,r.push(ee(n,i[0].annotations,t))}return(0,B.ft)(n),r},ee=(e,t,r)=>{let i,n=typeof e;if(e&&"object"===n){if(i=new globalThis.Error(et(e),{cause:e.cause?ee(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=ei(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?en(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=el(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===n?e:(0,m.IB)(e));return i},et=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return(0,m.IB)(e)},er=/\((.*)\)/g,ei=(e,t,r)=>{let i=`${t.name}: ${t.message}`,n=(e.startsWith(i)?e.slice(i.length):e).split("\n"),a=[i];for(let e=1;e<n.length&&!/(?:Generator\.next|~effect\/Effect)/.test(n[e]);e++)a.push(n[e]);return r?en(a.join("\n"),r):a.join("\n")},en=(e,t)=>{let r=t?.get(w.z8.key);return r&&(e=`${e} +${es(r)}`),e},ea=(e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(w.QJ.key);r.push(` at fiber (${t})`),i&&r.push(es(i))}return r.join("\n")},es=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(er),n=!1;for(let[,e]of i)n=!0,t.push(` at ${r.name} (${e})`);n||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},eo=e=>Z(e).map(el).join("\n"),el=e=>e.cause?`${e.stack} { +${ec(e.cause," ")} +}`:e.stack,ec=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,n=r.length;e<n;e++)i+=` ${t}${r[e]}`;return e.cause&&(i+=` { -${el(e.cause,`${t} `)} -${t}}`),i},ec="~effect/Fiber/dev",ed={_A:g.D_,_E:g.D_},eg={id:0},eu=()=>globalThis[E.fL];class eh{constructor(e,t=!0){this[ec]=ed,this.setContext(e),this.id=++eg.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[ec];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){return a.kA(this.context,e)}addObserver(e){return this._exit?(e(this._exit),g.Yi):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=U(e);this.currentStackFrame&&(r=(0,b.Eh)(r,a.L8(b.z8,this.currentStackFrame))),t&&(r=(0,b.Eh)(r,t)),this._interruptedCause=this._interruptedCause?X(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(eD(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===b.GN)return;let r=ep.interruptChildren&&ep.interruptChildren(this);if(void 0!==r)return this.evaluate(tc(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=a.Ie()}runLoop(e){let t=globalThis[E.fL];globalThis[E.fL]=this;let r=this._running;this._running=!0;let i=!1,n=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,n=eD(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=n;n=tc(eT,()=>e)}if((n=this.currentTracerContext?this.currentTracerContext(n,this):n[b._3](this))===b.GN){let e=this._yielded;if(b.IH in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return b.GN}}}catch(e){if(!(0,I.i5)(n,b._3))return(0,b.V2)(`Fiber.runLoop: Not a valid effect: ${String(n)}`);return this.runLoop((0,b.V2)(e))}finally{this._running=r,globalThis[E.fL]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,em;for(;;){let t=this._stack.pop();if(!t)return;let r=t[b.u4]&&t[b.u4](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,b.GN}children(){return this._children??=new Set}pipe(){return(0,f.tT)(this,arguments)}setContext(e){this.context=e;let t=this.getRef(B._F);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(Q.WG),this.currentLogLevel=this.getRef(w.Gl),this.minimumLogLevel=this.getRef(w.zQ),this.currentStackFrame=e.mapUnsafe.get(w.vA.key),this.maxOpsBeforeYield=this.getRef(B.Zm),this.currentPreventYield=this.getRef(B.hf),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(Q.RL);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let em={[b.ee]:(e,t)=>eD(t._interruptedCause),[b.Sc]:(e,t)=>eD(t._interruptedCause)},ep={interruptChildren:void 0},eC=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(b.QJ.key,e.currentStackFrame),a.LZ(t)},ef=e=>{if(void 0!==e._children&&0!==e._children.size)return eb(e._children)},eI=e=>e._exit?ew(e._exit):eZ(t=>e._exit?t(ew(e._exit)):eR(e.addObserver(e=>t(ew(e))))),eE=e=>eZ(t=>{let r,i=e[Symbol.iterator](),n=[];return!function e(){let s=i.next();for(;!s.done;){if(s.value._exit){n.push(s.value._exit),s=i.next();continue}r=s.value.addObserver(t=>{n.push(t),e()});return}t(ew(n))}(),eR(()=>r?.())}),ey=e=>e._exit?e._exit:eZ(t=>e._exit?t(e._exit):eR(e.addObserver(t))),eB=e=>eZ(t=>{let r=Array.from(e);if(0===r.length)return t(ew(o.Ie()));let i=Array(r.length),n=o.Ie(),s=0,a=!1;for(let e=0;e<r.length&&!a;e++)n.push(r[e].addObserver(o=>{if(s++,"Failure"===o._tag)return a=!0,n.forEach(e=>e()),t(o);i[e]=o.value,s===r.length&&t(ew(i))}));return eR(()=>{a=!0,n.forEach(e=>e())})}),eQ=e=>(0,b.R6)(t=>eN(e,t.id)),eN=(0,g.XY)(e=>(0,I.i5)(e[0],ec),(e,t,r)=>(0,b.R6)(i=>{let n=eC(i);return n=n&&r?a.h1(n,r):n??r,e.interruptUnsafe(t,n),tn(eI(e))})),eb=e=>(0,b.R6)(t=>{let r=eC(t),i=o.Ie();for(let n of e)n.interruptUnsafe(t.id,r),i.push(n);return tn(eE(i))}),eS=(0,g.XY)(2,(e,t)=>(0,b.R6)(r=>{let i=eC(r),n=o.Ie();for(let r of e)r.interruptUnsafe(t,i),n.push(r);return tn(eE(n))})),ew=b.xt,eD=b.cb,ex=b.Rk,eR=(0,b.Uf)({op:"Sync",[b._3](e){let t=this[b.a2](),r=e.getCont(b.ee);return r?r[b.ee](t,e):e.yieldWith((0,b.xt)(t))}}),eM=(0,b.Uf)({op:"Suspend",[b._3](e){return this[b.a2]()}}),ek=(0,g.XY)(e=>e.length>=2||p.isOption(e[0]),(e,t)=>p.isNone(e)?ex(t?t():new b.Xm("Effect.fromOption: Option.none")):ew(e.value)),ev=y.YW({onFailure:ex,onSuccess:ew}),eU=e=>null==e?ex(new b.Xm):ew(e),eF=(0,b.Uf)({op:"Yield",[b._3](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(tv)},this[b.a2]??0),e.yieldWith(()=>{t=!0})}}),eT=eF(0),eL=e=>ew(p.some(e)),eO=ew(p.none()),eP=e=>p.isNone(e)?eO:tp(e.value,p.some),eH=e=>eM(()=>eD((0,N.s)(e))),eY=e=>(0,b.V2)(e),eG=e=>eM(()=>ex((0,N.s)(e))),ez=ew(void 0),eq=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new n9(e,"An error occurred in Effect.try"):e.catch;return eM(()=>{try{return ew((0,N.s)(t))}catch(e){return ex((0,N.s)(()=>r(e)))}})},eV=e=>eX(function(t,r){(0,N.s)(()=>e(r)).then(e=>t(ew(e)),e=>t(eY(e)))},0!==e.length),e_=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new n9(e,"An error occurred in Effect.tryPromise"):e.catch;return eX(function(e,i){let n=t=>{try{e(ex((0,N.s)(()=>r(t))))}catch(t){e(eY(t))}};try{(0,N.s)(()=>t(i)).then(t=>e(ew(t)),n)}catch(e){n(e)}},0!==t.length)},eJ=e=>(0,b.R6)(t=>e(t.id)),eW=(0,b.R6)(ew),ej=eJ(ew),eX=(0,b.Uf)({op:"Async",single:!1,[b._3](e){let t=(0,N.s)(()=>this[b.a2][0].bind(e.currentScheduler)),r=!1,i=!1,n=this[b.a2][1]?new AbortController:void 0,s=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},n?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===n&&void 0===s||e._stack.push(eK(()=>(r=!0,n?.abort(),s??tv))),b.GN)}}),eK=(0,b.Uf)({op:"AsyncFinalizer",[b.u4](e){e.interruptible&&(e.interruptible=!1,e._stack.push(iN))},[b.Sc](e,t){return G(e)?tc(this[b.a2](),()=>eD(e)):eD(e)}}),eZ=e=>eX(e,e.length>=2),e$=eZ(g.Yi),e0=(...e)=>eM(()=>e6(1===e.length?e[0]():e[1].call(e[0].self))),e1=(e,...t)=>{let r=0===t.length?function(){return eM(()=>e6(e.apply(this,arguments)))}:function(){let r=eM(()=>e6(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return e2(e.length,r)},e2=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),e5=R(2),e3=function(){let e="string"==typeof arguments[0],t=e?arguments[0]:"Effect.fn",r=e?arguments[1]:void 0,i=(0,D.jt)();(0,D.ft)(2);let n=new globalThis.Error;return((0,D.ft)(i),e)?(i,...s)=>e4(t,i,n,s,e,r):e4(t,arguments[0],n,Array.prototype.slice.call(arguments,1),e,r)},e4=(e,t,r,i,n,s)=>{let o="function"==typeof t?t:i.pop().bind(t.self);return e2(o.length,function(...t){let a=eM(()=>{let e=o.apply(this,arguments);return(0,b.yw)(e)?e:e6(e)});for(let e=0;e<i.length;e++)a=i[e](a,...t);if(!(0,b.yw)(a))return a;let A=(0,D.jt)();(0,D.ft)(2);let l=new globalThis.Error;return(0,D.ft)(A),tW(n?nR(e,s,e=>nM(a,e)):a,w.vA,t=>({name:e,stack:e5(()=>l.stack),parent:{name:`${e} (definition)`,stack:e5(()=>r.stack),parent:t}}))})},e8=(e,...t)=>e2(e.length,0===t.length?function(){return e9(()=>e.apply(this,arguments))}:function(){let r=e9(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),e9=e=>{try{let t,r=e();for(;;){let i=r.next(t);if(i.done)return ew(i.value);let n=i.value;if(n&&"Success"===n._tag){t=n.value;continue}{if(n&&"Failure"===n._tag)return i.value;let t=!0;return eM(()=>t?(t=!1,tc(i.value,e=>e6(r,e))):eM(()=>e6(e())))}}}catch(e){return eY(e)}},e6=(0,b.Uf)({op:"Iterator",single:!1,[b.ee](e,t){let r=this[b.a2][0];for(;;){let i=r.next(e);if(i.done)return ew(i.value);if(!tu(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[b._3](e){return this[b.ee](this[b.a2][1],e)}}),e7=(0,g.XY)(2,(e,t)=>{let r=ew(t);return tc(e,e=>r)}),te=e=>tp(e,p.some),tt=e=>rU(e,{onFailure:ew,onSuccess:ex}),tr=(0,g.XY)(2,(e,t)=>tc(e,e=>(0,b.yw)(t)?t:(0,N.s)(()=>t(e)))),ti=(0,g.XY)(2,(e,t)=>tc(e,e=>e7((0,b.yw)(t)?t:(0,N.s)(()=>t(e)),e))),tn=e=>tc(e,e=>tv),ts=e=>rt(e,ex),to=(e,t)=>(0,b.R6)(r=>eZ(i=>{let n=o.Ts(e),s=n.length,a=0,A=!1,l=new Set,c=[],d=(e,n,o)=>{if(a++,"Failure"===e._tag){c.push(...e.cause.reasons),a>=s&&i(eD((0,b.b5)(c)));return}let d=!A;A=!0,i(0===l.size?e:tc(iB(eb(l)),()=>e)),d&&t?.onWinner&&t.onWinner({fiber:n,index:o,parentFiber:r})};for(let e=0;e<s;e++){let t=i2(r,n[e],!0,!0,!1);if(l.add(t),t.addObserver(r=>{l.delete(t),d(r,t,e)}),A)break}return eb(l)})),ta=(e,t)=>(0,b.R6)(r=>eZ(i=>{let n=!1,s=new Set,o=e=>{n=!0,i(0===s.size?e:tc(iB(eb(s)),()=>e))},a=0;for(let i of e){if(n)break;let e=a++,A=i2(r,i,!0,!0,!1);s.add(A),A.addObserver(i=>{s.delete(A);let a=!n;o(i),a&&t?.onWinner&&t.onWinner({fiber:A,index:e,parentFiber:r})})}return eb(s)})),tA=(0,g.XY)(e=>(0,b.yw)(e[1]),(e,t,r)=>to([e,t],r)),tl=(0,g.XY)(e=>(0,b.yw)(e[1]),(e,t,r)=>ta([e,t],r)),tc=(0,g.XY)(2,(e,t)=>{let r=Object.create(td);return r[b.a2]=e,r[b.ee]=1!==t.length?e=>t(e):t,r}),td=(0,b.yj)({op:"OnSuccess",[b._3](e){return e._stack.push(this),this[b.a2]}}),tg=(0,g.XY)(2,(e,t)=>tu(e)?"Success"===e._tag?t.onSuccess(e.value):t.onFailure(e.cause):rM(e,t)),tu=e=>b.IH in e,th=(0,g.XY)(2,(e,t)=>tu(e)?"Success"===e._tag?t(e.value):e:tc(e,t)),tm=e=>tc(e,g.D_),tp=(0,g.XY)(2,(e,t)=>tc(e,e=>ew((0,N.s)(()=>t(e))))),tC=(0,g.XY)(2,(e,t)=>tu(e)?tU(e,t):tp(e,t)),tf=(0,g.XY)(2,(e,t)=>tu(e)?tF(e,t):ry(e,t)),tI=(0,g.XY)(2,(e,t)=>tu(e)?tT(e,t):rB(e,t)),tE=(0,g.XY)(2,(e,t)=>{if(tu(e)){if("Success"===e._tag)return e;let r=L(e.cause);return y.N6(r)?e:t(r.success)}return rs(e,t)}),ty=e=>(0,b.cb)(U(e)),tB=e=>"Success"===e._tag,tQ=e=>"Success"===e._tag?y.Py(e):y.fJ(e),tN=e=>"Success"===e._tag?y.Py(e.value):y.fJ(e),tb=e=>"Failure"===e._tag,tS=e=>"Failure"===e._tag?y.Py(e):y.fJ(e),tw=e=>"Failure"===e._tag?y.Py(e.cause):y.fJ(e),tD=c.Bh(tw,L),tx=c.Bh(tw,Y),tR=e=>"Failure"===e._tag&&G(e.cause),tM=e=>"Failure"===e._tag&&P(e.cause),tk=e=>"Failure"===e._tag&&F(e.cause),tv=(0,b.xt)(void 0),tU=(0,g.XY)(2,(e,t)=>"Success"===e._tag?(0,b.xt)(t(e.value)):e),tF=(0,g.XY)(2,(e,t)=>{if("Success"===e._tag)return e;let r=L(e.cause);return y.N6(r)?e:(0,b.Rk)(t(r.success))}),tT=(0,g.XY)(2,(e,t)=>{if("Success"===e._tag)return(0,b.xt)(t.onSuccess(e.value));let r=L(e.cause);return y.N6(r)?e:(0,b.Rk)(t.onFailure(r.success))}),tL=(0,g.XY)(2,(e,t)=>tB(e)?(0,b.xt)(t):e),tO=(0,g.XY)(2,(e,t)=>tB(e)?t:e),tP=(0,g.XY)(2,(e,t)=>tB(e)?t.onSuccess(e.value):t.onFailure(e.cause)),tH=tL(void 0),tY=e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?tv:(0,b.cb)((0,b.b5)(t))},tG=e=>tB(e)?p.some(e.value):p.none(),tz=e=>tb(e)?p.some(e.cause):p.none(),tq=e=>{let t=tD(e);return y.N6(t)?p.none():p.some(t.success)},tV=e=>e,t_=e=>(0,b.R6)(t=>ew(a.om(t.context,e))),tJ=(0,g.XY)(2,(e,t)=>(0,b.R6)(r=>{let i=r.context,n=t(i);return i===n?e:(r.setContext(n),io(e,()=>{r.setContext(i)}))})),tW=(0,g.XY)(3,(e,t,r)=>tJ(e,e=>{let i=a.fp(e,t),n=r(i);return i===n?e:a.WQ(e,t,n)})),tj=()=>tX,tX=(0,b.R6)(e=>ew(e.context)),tK=e=>(0,b.R6)(t=>e(t.context)),tZ=(0,g.XY)(2,(e,t)=>tJ(e,(0,g.dY)(t))),t$=(0,g.XY)(2,(e,t)=>tu(e)?e:tJ(e,a.h1(t))),t0=function(){return 1==arguments.length?(0,g.XY)(2,(e,t)=>t1(e,arguments[0],t)):(0,g.XY)(3,(e,t,r)=>t1(e,t,r)).apply(this,arguments)},t1=(e,t,r)=>tJ(e,e=>e.mapUnsafe.get(t.key)===r?e:a.WQ(e,t,r)),t2=(0,g.XY)(3,(e,t,r)=>tc(r,r=>t0(e,t,r))),t5=t0(w.F8),t3=(0,g.XY)(e=>(0,b.yw)(e[1]),(e,t,r)=>t4(e,t,(e,t)=>[e,t],r)),t4=(0,g.XY)(e=>(0,b.yw)(e[1]),(e,t,r,i)=>i?.concurrent?tp(iM([e,t],{concurrency:2}),([e,t])=>(0,N.s)(()=>r(e,t))):tc(e,e=>tp(t,t=>(0,N.s)(()=>r(e,t))))),t8=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>iV(e,t,r?e=>ex(r(e)):()=>ex(new b.Xm))),t9=(0,g.XY)(2,(e,t)=>tc(t,t=>t?te(e):eO)),t6=(0,g.XY)(2,(e,t)=>Array.from({length:t},()=>e)),t7=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>iM(t6(e,t),r)),re=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>iP({while:g.ue,body:(0,g.dY)(t?.disableYield?e:tc(e,e=>eT)),step:g.Yi})),rt=(0,g.XY)(2,(e,t)=>{let r=Object.create(rr);return r[b.a2]=e,r[b.Sc]=1!==t.length?e=>t(e):t,r}),rr=(0,b.yj)({op:"OnFailure",[b._3](e){return e._stack.push(this),this[b.a2]}}),ri=(0,g.XY)(3,(e,t,r)=>rt(e,e=>t(e)?(0,N.s)(()=>r(e)):eD(e))),rn=(0,g.XY)(3,(e,t,r)=>rt(e,e=>{let i=t(e);return y.N6(i)?eD(i.failure):(0,N.s)(()=>r(i.success,e))})),rs=(0,g.XY)(2,(e,t)=>rn(e,L,e=>t(e))),ro=e=>rU(e,{onFailure:e=>(0,b.PW)(e)?eO:ex(e),onSuccess:eL}),ra=(0,g.XY)(2,(e,t)=>rn(e,Y,t)),rA=(0,g.XY)(2,(e,t)=>rt(e,e=>tr((0,N.s)(()=>t(e)),eD(e)))),rl=(0,g.XY)(3,(e,t,r)=>ri(e,t,e=>tr((0,N.s)(()=>r(e)),eD(e)))),rc=(0,g.XY)(3,(e,t,r)=>rt(e,e=>{let i=t(e);return y.N6(i)?eD(e):tr((0,N.s)(()=>r(i.success,e)),eD(e))})),rd=(0,g.XY)(2,(e,t)=>rc(e,L,e=>t(e))),rg=(0,g.XY)(3,(e,t,r)=>{let i=Array.isArray(t)?e=>(0,I.i5)(e,"_tag")&&t.includes(e._tag):(0,I.$J)(t);return rd(e,e=>i(e)?r(e):ez)}),ru=(0,g.XY)(2,(e,t)=>rc(e,Y,e=>t(e))),rh=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i)=>rt(e,e=>{let n=L(e);return y.N6(n)?eD(n.failure):t(n.success)?(0,N.s)(()=>r(n.success)):i?(0,N.s)(()=>i(n.success)):eD(e)})),rm=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i)=>rt(e,e=>{let n=L(e);if(y.N6(n))return eD(n.failure);let s=t(n.success);return y.N6(s)?i?(0,N.s)(()=>i(s.failure)):eD(e):(0,N.s)(()=>r(s.success))})),rp=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i)=>rh(e,Array.isArray(t)?e=>(0,I.i5)(e,"_tag")&&t.includes(e._tag):(0,I.$J)(t),r,i)),rC=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>{let i;return rm(e,e=>(i??=Object.keys(t),(0,I.i5)(e,"_tag")&&(0,I.Kg)(e._tag)&&i.includes(e._tag)?y.Py(e):y.fJ(e)),e=>(0,N.s)(()=>t[e._tag](e)),r)}),rf=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i,n)=>rh(e,e=>(0,I.$J)(e,t)&&(0,I.i5)(e,"reason"),e=>{let t=e.reason;return(0,I.$J)(t,r)?i(t,e):n?(0,N.s)(()=>n(t,e)):ex(e)})),rI=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i)=>{let n;return rh(e,e=>(0,I.$J)(e,t)&&(0,I.i5)(e,"reason")&&(0,I.i5)(e.reason,"_tag")&&(0,I.Kg)(e.reason._tag),e=>{let t=e.reason;return(n??=Object.keys(r)).includes(t._tag)?(0,N.s)(()=>r[t._tag](t,e)):i?(0,N.s)(()=>i(t,e)):ex(e)})}),rE=(0,g.XY)(2,(e,t)=>rm(e,e=>(0,I.$J)(e,t)&&(0,I.i5)(e,"reason")?y.Py(e.reason):y.fJ(e),ex)),ry=(0,g.XY)(2,(e,t)=>rs(e,e=>eG(()=>t(e)))),rB=(0,g.XY)(2,(e,t)=>rU(e,{onFailure:e=>eG(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rQ=e=>rs(e,eY),rN=(0,g.XY)(2,(e,t)=>rs(e,e=>eR(t))),rb=e=>eM(()=>{let t=e[Symbol.iterator](),r=t.next();return r.done?eY(Error("Received an empty collection of effects")):function e(r){let i=t.next();return i.done?r.value:rs(r.value,t=>e(i))}(r)}),rS=e=>rs(e,t=>tc(eT,()=>rS(e))),rw=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>{if(!t?.log)return rU(e,{onFailure:e=>ez,onSuccess:e=>ez});let r=sl(!0===t.log?void 0:t.log);return rM(e,{onFailure(e){let i=T(e);return y.N6(i)?eD(i.failure):void 0===t.message?r(e):r(t.message,e)},onSuccess:e=>ez})}),rD=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>{if(!t?.log)return rM(e,{onFailure:e=>ez,onSuccess:e=>ez});let r=sl(!0===t.log?void 0:t.log);return rM(e,{onFailure:e=>void 0===t.message?r(e):r(t.message,e),onSuccess:e=>ez})}),rx=e=>rF(e,{onFailure:p.none,onSuccess:p.some}),rR=e=>rT(e,{onFailure:y.fJ,onSuccess:y.Py}),rM=(0,g.XY)(2,(e,t)=>{let r=Object.create(rk);return r[b.a2]=e,r[b.ee]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[b.Sc]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),rk=(0,b.yj)({op:"OnSuccessAndFailure",[b._3](e){return e._stack.push(this),this[b.a2]}}),rv=(0,g.XY)(2,(e,t)=>rM(e,{onFailure:e=>eR(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rU=(0,g.XY)(2,(e,t)=>rM(e,{onFailure:e=>{let r=e.reasons.find(b.lC);return r?(0,N.s)(()=>t.onFailure(r.error)):eD(e)},onSuccess:t.onSuccess})),rF=(0,g.XY)(2,(e,t)=>rU(e,{onFailure:e=>eR(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rT=(0,g.XY)(2,(e,t)=>{if(tu(e)){if("Success"===e._tag)return(0,b.xt)(t.onSuccess(e.value));let r=L(e.cause);return y.N6(r)?e:(0,b.xt)(t.onFailure(r.success))}return rF(e,t)}),rL=(0,g.XY)(2,(e,t)=>tu(e)?"Success"===e._tag?(0,b.xt)(t.onSuccess(e.value)):(0,b.xt)(t.onFailure(e.cause)):rv(e,t)),rO=e=>tu(e)?(0,b.xt)(e):rP(e),rP=(0,b.Uf)({op:"Exit",[b._3](e){return e._stack.push(this),this[b.a2]},[b.ee]:(e,t,r)=>ew(r??(0,b.xt)(e)),[b.Sc]:(e,t,r)=>ew(r??(0,b.cb)(e))}),rH=rT({onFailure:()=>!0,onSuccess:()=>!1}),rY=rT({onFailure:()=>!1,onSuccess:()=>!0}),rG=(0,g.XY)(2,(e,t)=>tr(nq(t),e)),rz=(0,g.XY)(2,(e,t)=>tl(e,tc(nq(t.duration),t.orElse))),rq=(0,g.XY)(2,(e,t)=>rz(e,{duration:t,orElse:()=>ex(new nj)})),rV=(0,g.XY)(2,(e,t)=>tl(te(e),e7(nq(t),p.none()))),r_=e=>nz(t=>{let r=t.currentTimeNanosUnsafe();return tp(e,e=>[A.cF(t.currentTimeNanosUnsafe()-r),e])}),rJ="~effect/Scope",rW="~effect/Scope/Closeable",rj=a.kl("effect/Scope"),rX=(e,t)=>eM(()=>rK(e,t)??ez),rK=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):rZ(e,i,t)},rZ=e1(function*(e,t,r){let i=[],n=[],s=Array.from(t.values()),o=eu();for(let t=s.length-1;t>=0;t--){let a=s[t];"sequential"===e.strategy?i.push((yield*rO(a(r)))):n.push(i2(o,a(r),!0,!0,"inherit"))}return n.length>0&&(i=yield*eE(n)),yield*tY(i)}),r$=(e,t)=>eR(()=>r0(e,t)),r0=(e,t)=>{let r=r4(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return r5(e,i,e=>rX(r,e)),r5(r,i,t=>eR(()=>r3(e,i))),r},r1=(e,t)=>eM(()=>"Closed"===e.state._tag?t(e.state.exit):(r5(e,{},t),ez)),r2=(e,t)=>r1(e,(0,g.dY)(t)),r5=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},r3=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},r4=(e="sequential")=>({[rW]:rW,[rJ]:rJ,strategy:e,state:r8}),r8={_tag:"Empty"},r9=e=>eR(()=>r4(e)),r6=rj,r7=t0(rj),ie=e=>(0,b.R6)(t=>{let r=t.context,i=r4();return t.setContext(a.WQ(t.context,rj,i)),io(e,e=>(t.setContext(r),rK(i,e)))}),it=(0,g.XY)(2,(e,t)=>ia(r7(e,t),e=>eM(()=>rK(t,e)??ez))),ir=e=>eM(()=>{let t=r4();return ia(e(t),e=>eM(()=>rK(t,e)??ez))}),ii=(e,t,r)=>tK(i=>iD(n=>tc(r6,s=>ti(r?.interruptible?n(e):e,e=>r1(s,r=>t$(t(e,r),i)))))),is=e=>tc(r6,t=>tK(r=>r1(t,t=>t$(e(t),r)))),io=(0,b.Uf)({op:"OnExit",single:!1,[b._3](e){return e._stack.push(this),this[b.a2][0]},[b.u4](e){e.interruptible&&!0!==this[b.a2][2]&&(e._stack.push(iN),e.interruptible=!1)},[b.ee](e,t,r){r??=(0,b.xt)(e);let i=this[b.a2][1](r);return i?tc(i,e=>r):r},[b.Sc](e,t,r){r??=(0,b.cb)(e);let i=this[b.a2][1](r);return i?tc(i,e=>r):r}}),ia=(0,g.XY)(2,io),iA=(0,g.XY)(2,(e,t)=>ia(e,e=>t)),il=(0,g.XY)(3,(e,t,r)=>ia(e,e=>t(e)?r(e):ez)),ic=(0,g.XY)(3,(e,t,r)=>ia(e,e=>{let i=t(e);return y.N6(i)?ez:r(i.success,e)})),id=(0,g.XY)(2,(e,t)=>ic(e,tw,t)),ig=(0,g.XY)(3,(e,t,r)=>il(e,e=>"Failure"===e._tag&&t(e.cause),e=>r(e.cause))),iu=(0,g.XY)(3,(e,t,r)=>ia(e,e=>{if("Failure"!==e._tag)return ez;let i=t(e.cause);return y.N6(i)?ez:r(i.success,e.cause)})),ih=(0,g.XY)(2,(e,t)=>iu(q,t)(e)),im=(e,t,r)=>iD(i=>tc(e,e=>io(i(t(e)),t=>r(e,t),!0))),ip=e=>ii(e,e=>(0,I.i5)(e,Symbol.asyncDispose)?eV(()=>e[Symbol.asyncDispose]()):eR(()=>e[Symbol.dispose]())),iC=(0,g.XY)(2,(e,t)=>eR(()=>{let r,i=A.kE(A.bN(t)),n=Number.isFinite(i),s=nu(!1),o=0,a=!1,l=tc(s.await,()=>r);return[(0,b.R6)(t=>{let A=t.getRef(nO),c=n?A.currentTimeMillisUnsafe():0;return a||c<o?r??l:(a=!0,s.closeUnsafe(),r=void 0,ia(e,e=>eR(()=>{a=!1,o=A.currentTimeMillisUnsafe()+i,r=e,s.openUnsafe()})))}),eR(()=>{o=0,s.closeUnsafe(),r=void 0})]})),iI=(0,g.XY)(2,(e,t)=>tp(iC(e,t),e=>e[0])),iE=e=>iI(e,A.Tn),iy=(0,b.R6)(e=>eD(U(e.id))),iB=e=>(0,b.R6)(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(iN)),e)),iQ=(0,b.Uf)({op:"SetInterruptible",[b.u4](e){if(e.interruptible=this[b.a2],e._interruptedCause&&e.interruptible)return()=>eD(e._interruptedCause)}}),iN=iQ(!0),ib=iQ(!1),iS=e=>{if(e.interruptible=!0,e._stack.push(ib),e._interruptedCause)return eD(e._interruptedCause)},iw=e=>(0,b.R6)(t=>t.interruptible?e:iS(t)??e),iD=e=>(0,b.R6)(t=>t.interruptible?(t.interruptible=!1,t._stack.push(iN),e(iw)):e(g.D_)),ix=e=>(0,b.R6)(t=>{if(t.interruptible)return e(g.D_);let r=iS(t),i=e(iB);return r??i}),iR=tp(ii(eR(()=>new AbortController),e=>eR(()=>e.abort())),e=>e.signal),iM=(e,t)=>(0,I.xZ)(e)?t?.mode==="result"?iH(e,rR,t):iH(e,g.D_,t):t?.discard?"result"===t.mode?iH(Object.values(e),rR,t):iH(Object.values(e),g.D_,t):eM(()=>{let r={};return e7(iH(Object.entries(e),([e,i])=>tp(t?.mode==="result"?rR(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),ik=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t,r)=>tp(iH(e,(e,r)=>rR(t(e,r)),r),e=>o.jB(e,g.D_))),iv=(0,g.XY)(3,(e,t,r)=>{let i=o.Ts(e);return 0===i.length?eR(t):eM(()=>{let e=0,n=t();return tp(iP({while:()=>e<i.length,body:()=>r(n,i[e],e),step(t){n=t,e++}}),()=>n)})}),iU=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t,r)=>tc(ik(e,t,{concurrency:r?.concurrency}),([e,t])=>o.CZ(e)?ex(e):r?.discard?ez:ew(t))),iF=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t)=>eM(()=>{let r=e[Symbol.iterator](),i=r.next();return i.done?ew(p.none()):iT(r,0,t,i.value)})),iT=(e,t,r,i)=>tc(r(i,t),n=>{if(n)return ew(p.some(i));let s=e.next();return s.done?ew(p.none()):iT(e,t+1,r,s.value)}),iL=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t)=>eM(()=>{let r=e[Symbol.iterator](),i=r.next();return i.done?ew(p.none()):iO(r,0,t,i.value)})),iO=(e,t,r,i)=>tc(r(i,t),i=>{if(y.oJ(i))return ew(p.some(i.success));let n=e.next();return n.done?ew(p.none()):iO(e,t+1,r,n.value)}),iP=(0,b.Uf)({op:"While",[b.ee](e,t){return(this[b.a2].step(e),this[b.a2].while())?(t._stack.push(this),this[b.a2].body()):tv},[b._3](e){return this[b.a2].while()?(e._stack.push(this),this[b.a2].body()):tv}}),iH=(0,g.XY)(e=>"function"==typeof e[1],(e,t,r)=>(0,b.R6)(i=>{let n=r?.concurrency==="inherit"?i.getRef(w.F8):r?.concurrency??1,s="unbounded"===n?1/0:Math.max(1,n);if(1===s)return iY(e,t,r);let a=o.Ts(e),A=a.length;if(0===A)return r?.discard?ez:ew([]);let l=r?.discard?void 0:Array(A),c=iq({f:t,out:l},a,{concurrency:s});return c?e7(c,l):ew(l)})),iY=(e,t,r)=>eM(()=>{let i=r?.discard?void 0:[],n=e[Symbol.iterator](),s=n.next(),o=0;return e7(iP({while:()=>!s.done,body:()=>t(s.value,o++),step:e=>{i&&i.push(e),s=n.next()}}),i)}),iG=e=>{let t=e.onItem,r=e.step;return(e,i,n)=>{let s,o,a,A,l,c=n?.start??0,d=n?.end??i.length,g=n?.concurrency??1,u=n?.orderedStep===!0&&g>1,h=!1,m=!1,p=c,C=u?Array(d):void 0,f=e=>{let t=(0,b.V2)(e);return A=t,h=!0,m=!0,o&&o.size>0?tc(iB(eb(Array.from(o))),()=>t):t},I=(t,n,s)=>{if(!u)return r(e,t,n,s);if(A)return A;for(C[s]=n;p<d;){let t=C[p];if(void 0===t)return;C[p]=void 0;let n=p++,s=r(e,i[n],t,n);if(s)return s}},E=()=>{let r=!1;for(;!A&&c<d;c++){let n=i[c],d=l??t(e,n,c);if(tu(d)){if(A=I(n,d,c))break}else{if(1===g)return tc(rO(d),e=>(A=I(n,e,c),c++,A??E()??ez));if(!s)return eZ(e=>{let t;s=eu(),o=new Set,l=d,a=e;try{t=E()}catch(t){return e(f(t))}return t?e(t):eM(()=>(A=tv,m=!0,o?eb(o):ez))});l=void 0;let e=i2(s,d,!0,!0,"inherit");if(e._exit){if(A=I(n,e._exit,c))break;continue}o.add(e);let t=c;if(e.addObserver(i=>{o.delete(e);try{if(A){if(!m&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=(0,b.cb)((0,b.b5)([e]))}else{let e=I(n,i,t);e&&(A="Failure"===e._tag?(0,b.cb)((0,b.b5)(e.cause.reasons.slice())):e,E())}if(r){let e=E();e&&a(e)}else h&&0===o.size&&a(A??ez)}catch(e){a(f(e))}}),o.size<g)continue;r=!0,c++;return}}if(h=!0,A){if(o&&o.size>0){let e=eC(s);o.forEach(t=>t.interruptUnsafe(s.id,e));return}if(a||"Failure"===A._tag)return A}else if(a)if(!o)return tv;else 0===o.size&&a(ez)};return E()}},iz=()=>iG,iq=iG({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),iV=(0,g.XY)(3,(e,t,r)=>tc(e,e=>t(e)?ew(e):r(e))),i_=(0,g.XY)(3,(e,t,r)=>tc(e,e=>{let i=t(e);return y.N6(i)?r(i.failure):ew(i.success)})),iJ=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>i_(e,t,r?e=>ex(r(e)):()=>ex(new b.Xm))),iW=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t,r)=>eM(()=>{let i=[];return e7(iH(e,(e,r)=>{let n=t(e,r);return"boolean"==typeof n?(n&&i.push(e),ez):tp(n,t=>{t&&i.push(e)})},{discard:!0,concurrency:r?.concurrency}),i)})),ij=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t)=>eM(()=>{let r=[];for(let i of e){let e=t(i);y.oJ(e)&&r.push(e.success)}return ew(r)})),iX=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t,r)=>eM(()=>{let i=[];return e7(iH(e,e=>tp(t(e),e=>{y.oJ(e)&&i.push(e.success)}),{discard:!0,concurrency:r?.concurrency}),i)})),iK=ew({}),iZ=S.Jr(tp),i$=S.oI(tp,tc),i0=S.zM(tp),i1=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>(0,b.R6)(r=>(ep.interruptChildren??=ef,ew(i2(r,e,t?.startImmediately,!1,t?.uninterruptible??!1))))),i2=(e,t,r=!1,i=!1,n=!1)=>{let s="inherit"===n?e.interruptible:!n,o=new eh(e.context,s);return r?o.evaluate(t):e.currentDispatcher.scheduleTask(()=>o.evaluate(t),0),i||o._exit||(e.children().add(o),o.addObserver(()=>e._children.delete(o))),o},i5=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>(0,b.R6)(r=>ew(i2(r,e,t?.startImmediately,!0,t?.uninterruptible)))),i3=e=>(0,b.R6)(t=>{let r=t._children&&new Set(t._children);return ia(e,e=>{let i=t._children;return void 0===i||0===i.size?ez:(r&&(i=m.pb(i,e=>!r.has(e))),tn(eE(i)))})}),i4=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>(0,b.R6)(i=>{let n=i2(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!n._exit)if("Closed"!==t.state._tag){let e={};r5(t,e,()=>eJ(e=>e===n.id?ez:eQ(n))),n.addObserver(()=>r3(t,e))}else n.interruptUnsafe(i.id,eC(i));return ew(n)})),i8=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>tc(r6,r=>i4(e,r,t))),i9=e=>(t,r)=>{let i=new eh(r?.scheduler?a.WQ(e,B._F,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i},i6=(0,g.XY)(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return r5(t,r,()=>eQ(e)),e.addObserver(()=>r3(t,r)),e}),i7=i9(a.Ie()),ne=e=>{let t=i9(e);return(e,r)=>{let i=t(e,r);return r?.onExit&&i.addObserver(r.onExit),e=>i.interruptUnsafe(e)}},nt=ne(a.Ie()),nr=e=>{let t=i9(e);return(e,r)=>{let i=t(e,r);return new Promise(e=>{i.addObserver(t=>e(t))})}},ni=nr(a.Ie()),nn=e=>{let t=nr(e);return(e,r)=>t(e,r).then(e=>{if("Failure"===e._tag)throw Z(e.cause);return e.value})},ns=nn(a.Ie()),no=e=>{let t=i9(e);return e=>{if(tu(e))return e;let r=t(e,{scheduler:new B.FG("sync")});return r._dispatcher?.flush(),r._exit??(0,b.V2)(new n3(r))}},na=no(a.Ie()),nA=e=>{let t=no(e);return e=>{let r=t(e);if("Failure"===r._tag)throw Z(r.cause);return r.value}},nl=nA(a.Ie()),nc=ew(!0),nd=ew(!1);class ng{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),nc}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](tv)};open=(0,b.R6)(e=>this._isOpen?nd:(this._isOpen=!0,this.scheduleUnsafe(e)));release=(0,b.R6)(e=>this._isOpen?nd:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=eZ(e=>this._isOpen?e(ez):(this.waiters.push(e),eR(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=eR(()=>this.closeUnsafe());whenOpen=e=>tc(this.await,()=>e);isOpen(){return this._isOpen}}let nu=e=>new ng(e??!1),nh=e=>eR(()=>nu(e)),nm=(0,b.R6)(e=>ew(e.getRef(Q.sh))),np=(0,g.XY)(2,(e,t)=>t0(e,Q.sh,t)),nC=t0(w.rf),nf=t0(w.nU),nI=BigInt(0),nE={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:nI,endTime:nI,exit:tv},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},ny=e=>e?a.Jt(e.annotations,Q.DW)?"Span"===e._tag?ny(p.getOrUndefined(e.parent)):p.none():p.some(e):p.none(),nB=(e,t,r)=>{let i,n=!e.getRef(w.rf)||r?.annotations&&a.Jt(r.annotations,Q.DW),s=r?.parent!==void 0?p.some(r.parent):r?.root?p.none():ny(e.currentSpan);if(n){let e;e={name:t,parent:s,annotations:a.WQ(r?.annotations??a.Ie(),Q.DW,!0)},i=Object.assign(Object.create(nE),e)}else{let n=e.getRef(Q.sh),o=e.getRef(nO),A=e.getRef(w.nU),l=e.getRef(w.ce),c=e.getRef(w.ls),d=r?.level??e.getRef(Q.pX),g=r?.links!==void 0?[...c,...r.links]:c.slice();for(let[c,u]of(i=n.span({name:t,parent:s,annotations:r?.annotations??a.Ie(),links:g,startTime:A?o.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??p.isNone(s),sampled:r?.sampled??((!p.isSome(s)||!1!==s.value.sampled)&&!se(e.getRef(Q.EW),d))}),Object.entries(l)))i.attribute(c,u);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i},nQ=(e,t)=>(0,b.R6)(r=>ew(nB(r,e,t))),nN=(e,t)=>iB((0,b.R6)(r=>{let i=a.fp(r.context,rj),n=nB(r,e,t??{}),s=r.getRef(nO),o=r.getRef(w.nU);return e7(r1(i,e=>nx(n,e,s,o)),n)})),nb=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=x(e?arguments[2]:arguments[1]);if(e){let e=arguments[0];return tc(nN(t,r),t=>nk(e,t,r))}return e=>tc(nN(t,r),t=>nk(e,t,r))},nS=w.ce,nw=w.ls,nD=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r={})=>{let i=(Array.isArray(t)?t:[t]).map(e=>({span:e,attributes:r}));return tW(e,w.ls,e=>[...e,...i])}),nx=(e,t,r,i)=>eR(()=>{"Ended"!==e.status._tag&&e.end(i?r.currentTimeNanosUnsafe():nI,t)}),nR=(e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return(0,b.R6)(t=>{let n=nB(t,e,r),s=t.getRef(nO);return ia((0,N.s)(()=>i(n)),e=>eR(()=>{"Ended"!==n.status._tag&&n.end(s.currentTimeNanosUnsafe(),e)}))})},nM=t0(Q.Tv),nk=function(){let e=(0,b.yw)(arguments[0]),t=e?arguments[1]:arguments[0],r=e?arguments[2]:arguments[1],i=g.D_;if("Span"===t._tag){var n,s;r=x(r),n=t.name,s="function"==typeof(s=r?.captureStackTrace)?s:g.MN,i=tW(w.vA,e=>({name:n,stack:s,parent:e}))}return e?nM(i(arguments[0]),t):e=>nM(i(e),t)},nv=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=x(arguments[2]);if(e){let e=arguments[0];return nR(t,arguments[2],t=>nk(e,t,r))}let i="function"==typeof arguments[1]?arguments[1]:void 0,n=i?void 0:arguments[1];return(e,...s)=>nR(t,i?i(...s):n,t=>nk(e,t,r))},nU=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,...t)=>tW(e,w.ce,e=>{let r={...e};return 1===t.length?Object.assign(r,t[0]):r[t[0]]=t[1],r})),nF=(...e)=>(0,b.R6)(t=>{let r=t.currentSpanLocal;if(r)if(1===e.length)for(let[t,i]of Object.entries(e[0]))r.attribute(t,i);else r.attribute(e[0],e[1]);return ez}),nT=(0,b.R6)(e=>{let t=e.currentSpanLocal;return t?ew(t):ex(new b.Xm)}),nL=(i=Q.Tv,(0,b.R6)(e=>e.context.mapUnsafe.has(i.key)?ew(a.fp(e.context,i)):ex(new b.Xm))),nO=a.Or("effect/Clock",{defaultValue:()=>new nH}),nP=0x80000000-1;class nH{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=eR(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return nG()}currentTimeNanos=eR(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(A.kE(e))}sleepMillis(e){return e<=0?eT:Number.isFinite(e)?eZ(t=>{let r=e>nP?this.sleepMillis(e-nP):ez,i=setTimeout(()=>t(r),Math.min(e,nP));return eR(()=>clearTimeout(i))}):e$}}let nY=(s=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*s:()=>(n??=BigInt(Date.now())*s-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),nG=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return nY;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),nz=e=>(0,b.R6)(t=>e(t.getRef(nO))),nq=e=>nz(t=>t.sleep(A.bN(e))),nV=nz(e=>e.currentTimeMillis),n_=nz(e=>e.currentTimeNanos),nJ="~effect/Cause/TimeoutError",nW=e=>(0,I.i5)(e,nJ);class nj extends(0,b.rN)("TimeoutError"){[nJ]=nJ;constructor(e){super({message:e})}}let nX="~effect/Cause/IllegalArgumentError",nK=e=>(0,I.i5)(e,nX);class nZ extends(0,b.rN)("IllegalArgumentError"){[nX]=nX;constructor(e){super({message:e})}}let n$="~effect/Cause/ExceededCapacityError",n0=e=>(0,I.i5)(e,n$);class n1 extends(0,b.rN)("ExceededCapacityError"){[n$]=n$;constructor(e){super({message:e})}}let n2="~effect/Cause/AsyncFiberError",n5=e=>(0,I.i5)(e,n2);class n3 extends(0,b.rN)("AsyncFiberError"){[n2]=n2;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let n4="~effect/Cause/UnknownError",n8=e=>(0,I.i5)(e,n4);class n9 extends(0,b.rN)("UnknownError"){[n4]=n4;constructor(e,t){super({message:t,cause:e})}}let n6=a.Or("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),n7=C.zQ(C.wN,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}}),se=C.yJ(n7),st=a.Or("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([sf,sI])}),sr=a.Or("effect/Logger/LogToStderr",{defaultValue:g.f4}),si=function(){let e="string"==typeof arguments[0]?[[arguments[0],arguments[1]]]:Object.entries(arguments[0]);return iB((0,b.R6)(t=>{let r=t.getRef(w.iL),i={...r};for(let t=0;t<e.length;t++){let[r,n]=e[t];i[r]=n}return t.setContext(a.WQ(t.context,w.iL,i)),r1(a.fp(t.context,rj),i=>{let n=t.getRef(w.iL),s={...n};for(let t=0;t<e.length;t++){let[i,o]=e[t];n[i]===o&&(i in r?s[i]=r[i]:delete s[i])}return t.setContext(a.WQ(t.context,w.iL,s)),ez})}))},sn={"~effect/Logger":{_Message:g.D_,_Output:g.D_},pipe(){return(0,f.tT)(this,arguments)}},ss=e=>{let t=Object.create(sn);return t.log=e,t},so=e=>e.replace(/[\s="]/g,"_"),sa=(e,t)=>{let r=so(e[0]);return`${r}=${t-e[1]}ms`},sA=e=>{switch(typeof e){case"bigint":case"function":case"symbol":return String(e);default:return(0,h.aB)(e)}},sl=e=>(...t)=>{let r;for(let e=0,i=t.length;e<i;e++){let i=t[e];(0,b.Aj)(i)&&(r?t.splice(e,1):t=t.slice(0,e).concat(t.slice(e+1)),r=r?(0,b.b5)(r.reasons.concat(i.reasons)):i,e--)}return void 0===r&&(r=b.DH),(0,b.R6)(i=>{let n=e??i.currentLogLevel;if(se(i.minimumLogLevel,n))return ez;let s=i.getRef(nO),o=i.getRef(st);if(o.size>0){let e=new Date(s.currentTimeMillisUnsafe());for(let s of o)s.log({cause:r,fiber:i,date:e,logLevel:n,message:t})}return ez})},sc=(e,...t)=>{let r="";for(let e=0;e<t.length;e++)r+=`\x1b[${t[e]}m`;return r+e+"\x1b[0m"},sd=(e,...t)=>e,sg={None:[],All:[],Trace:["90"],Debug:["34"],Info:["32"],Warn:["33"],Error:["31"],Fatal:["101","30"]},su={None:"",All:"",Trace:"color:gray",Debug:"color:blue",Info:"color:green",Warn:"color:orange",Error:"color:red",Fatal:"background-color:red;color:white"},sh=e=>`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}.${e.getMilliseconds().toString().padStart(3,"0")}`,sm=e=>{let t="object"==typeof process&&null!==process&&"object"==typeof process.stdout&&null!==process.stdout,r=t&&!0===process.stdout.isTTY,i=t||"Deno"in globalThis,n=e?.mode??"auto",s="browser"===("auto"===n?i?"tty":"browser":n),o="boolean"==typeof e?.colors?e.colors:r||s,a=e?.formatDate??sh;return s?sC({colors:o,formatDate:a}):sp({colors:o,formatDate:a})},sp=e=>{let t="object"==typeof process&&"isBun"in process&&!0===process.isBun,r=e.colors?sc:sd;return ss(({cause:i,date:n,fiber:s,logLevel:o,message:a})=>{let A=s.getRef(n6),l=s.getRef(sr)?A.error:A.log,c=Array.isArray(a)?a.slice():[a],d=r(`[${e.formatDate(n)}]`,"37")+` ${r(o.toUpperCase(),...sg[o])}`+` (#${s.id})`,g=n.getTime();for(let e of s.getRef(w.d8))d+=" "+sa(e,g);d+=":";let u=0;if(c.length>0){let e=sA(c[0]);"string"==typeof e&&(d+=" "+r(e,"1","36"),u++)}if(l(d),t||A.group(),i.reasons.length>0&&l(ea(i)),u<c.length)for(;u<c.length;u++)l((0,E.E$)(c[u]));for(let[e,t]of Object.entries(s.getRef(w.iL)))l(r(`${e}:`,"1","37"),(0,E.E$)(t));t||A.groupEnd()})},sC=e=>{let t=e.colors?"%c":"";return ss(({cause:r,date:i,fiber:n,logLevel:s,message:o})=>{let a=n.getRef(n6),A=Array.isArray(o)?o.slice():[o],l=`${t}[${e.formatDate(i)}]`,c=[];e.colors&&c.push("color:gray"),l+=` ${t}${s.toUpperCase()}${t} (#${n.id})`,e.colors&&c.push(su[s],"");let d=i.getTime();for(let e of n.getRef(w.d8))l+=" "+sa(e,d);l+=":";let g=0;if(A.length>0){let r=sA(A[0]);"string"==typeof r&&(l+=` ${t}${r}`,e.colors&&c.push("color:deepskyblue"),g++)}if(a.groupCollapsed(l,...c),r.reasons.length>0&&a.error(ea(r)),g<A.length)for(;g<A.length;g++)a.log((0,E.E$)(A[g]));for(let[t,r]of Object.entries(n.getRef(w.iL))){let i=(0,E.E$)(r);e.colors?a.log(`%c${t}:`,"color:gray",i):a.log(`${t}:`,i)}a.groupEnd()})},sf=ss(({cause:e,date:t,fiber:r,logLevel:i,message:n})=>{let s=Array.isArray(n)?n.slice():[n];e.reasons.length>0&&s.push(ea(e));let o=t.getTime(),a=r.getRef(w.d8),A="";for(let e of a)A+=` ${sa(e,o)}`;let l=r.getRef(w.iL);Object.keys(l).length>0&&s.push(l);let c=r.getRef(n6);(r.getRef(sr)?c.error:c.log)(`[${sh(t)}] ${i.toUpperCase()} (#${r.id})${A}:`,...s)}),sI=ss(({cause:e,fiber:t,logLevel:r,message:i})=>{let n=t.getRef(nO),s=t.getRef(w.iL),o=t.currentSpan;if(void 0===o||"ExternalSpan"===o._tag)return;let a={};for(let[e,t]of Object.entries(s))a[e]=t;a["effect.fiberId"]=t.id,a["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(a["effect.cause"]=ea(e)),o.event((0,h.ZK)(Array.isArray(i)&&1===i.length?i[0]:i),n.currentTimeNanosUnsafe(),a)}),sE=ew(void 0),sy=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>id(e,e=>(0,b.R6)(r=>(sB(r,e,t?.defectsOnly),ez)))),sB=(e,t,r)=>{let i=e.getRef(w.oQ);if(0===i.size||r&&!P(t))return;let n={cause:t,fiber:e,timestamp:e.getRef(nO).currentTimeNanosUnsafe()};i.forEach(e=>e.report(n))}},5678(e,t,r){let i=new WeakSet;r.d(t,{},{J:i,X:e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t}})},7317(e,t,r){var i=r(2730),n=r(7292),s=r(3536),o=r(8294),a=r(8527),A=r(1371),l=r(8579);let c="~effect/data/Option",d={[c]:{_A:e=>e},...l.fU,[Symbol.iterator](){return new A.B(this)}},g=Object.defineProperty(Object.assign(Object.create(d),{_tag:"Some",_op:"Some",[i.HR](e){return m(e)&&C(e)&&i.aI(this.value,e.value)},[s.HR](){return s.kg(s.tW(this._tag))(s.tW(this.value))},toString(){return`some(${(0,n.GP)(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:(0,o.aB)(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),u=s.tW("None"),h=Object.assign(Object.create(d),{_tag:"None",_op:"None",valueOrUndefined:void 0,[i.HR]:e=>m(e)&&p(e),[s.HR]:()=>u,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),m=e=>(0,a.i5)(e,c),p=e=>"None"===e._tag,C=e=>"Some"===e._tag,f=Object.create(h);r.d(t,{},{$I:p,Ru:C,dv:f,oL:m,zN:e=>{let t=Object.create(g);return t.value=e,t}})},9496(e,t,r){let i=new WeakMap,n=e=>{if(i.has(e))return i.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))};r.d(t,{},{Uq:n,m7:i,tC:e=>"string"==typeof e?e:n(e)})},3894(e,t,r){var i=r(5419),n=r(9920);let s=i.Or("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),o=i.Or("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),a=i.Or("effect/References/CurrentStackFrame",{defaultValue:n.MN}),A=i.Or("effect/References/TracerEnabled",{defaultValue:n.ue}),l=i.Or("effect/References/TracerTimingEnabled",{defaultValue:n.ue}),c=i.Or("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),d=i.Or("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),g=i.Or("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),u=i.Or("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),h=i.Or("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),m=i.Or("effect/References/UnhandledLogLevel",{defaultValue:()=>"Error"}),p=i.Or("effect/References/CurrentLogSpans",{defaultValue:()=>[]});r.d(t,{},{F8:s,Gl:u,aG:m,ce:c,d8:p,iL:g,ls:d,nU:l,oQ:o,rf:A,vA:a,zQ:h})},9145(e,t,r){var i=r(2730),n=r(7292),s=r(9920),o=r(3536),a=r(8294),A=r(8527),l=r(1371),c=r(8579),d=r(7317);let g="~effect/data/Result",u={[g]:{_A:e=>e,_E:e=>e},...c.fU,[Symbol.iterator](){return new l.B(this)}},h=Object.assign(Object.create(u),{_tag:"Success",_op:"Success",[i.HR](e){return p(e)&&f(e)&&i.aI(this.success,e.success)},[o.HR](){return o.kg(o.tW(this._tag))(o.tW(this.success))},toString(){return`success(${(0,n.GP)(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:(0,a.aB)(this.success)}}}),m=Object.assign(Object.create(u),{_tag:"Failure",_op:"Failure",[i.HR](e){return p(e)&&C(e)&&i.aI(this.failure,e.failure)},[o.HR](){return o.kg(o.tW(this._tag))(o.tW(this.failure))},toString(){return`failure(${(0,n.GP)(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:(0,a.aB)(this.failure)}}}),p=e=>(0,A.i5)(e,g),C=e=>"Failure"===e._tag,f=e=>"Success"===e._tag,I=e=>{let t=Object.create(m);return t.failure=e,t},E=e=>{let t=Object.create(h);return t.success=e,t},y=(0,s.XY)(2,(e,t)=>d.$I(e)?I(t()):E(e.value));r.d(t,{},{L8:e=>f(e)?d.dv:d.zN(e.failure),N6:C,Oz:e=>C(e)?d.dv:d.zN(e.success),Py:E,aI:p,fJ:I,oJ:f,sV:y})},5994(e,t,r){var i=r(9920);function n(e){return e.checks?e.checks[e.checks.length-1].annotations:e.annotations}function s(e){return t=>n(t)?.[e]}let o=s("identifier"),a=s("title"),A=s("description"),l=(0,i.Bj)(e=>{let t=o(e);return"string"==typeof t?t:e.getExpected(l)});r.d(t,{hd:()=>n,ip:()=>s},{DQ:a,KE:o,Pk:A,bo:l})},58(e,t,r){let i,n=Object.getOwnPropertyDescriptor,s=Object.prototype.hasOwnProperty,o=Object.isExtensible,a=void 0===(i=n(Error,"stackTraceLimit"))?o(Error):s.call(i,"writable")?!0===i.writable:void 0!==i.set;r.d(t,{},{ft:e=>{a&&(Error.stackTraceLimit=e)},jt:()=>Error.stackTraceLimit})},7507(e,t,r){var i=r(1160),n=r(6292),s=r(8294),o=r(2544),a=r(8527),A=r(7045),l=(r(2917),r(5609));r(5030);let c="~effect/http/Cookies",d="~effect/http/Cookies/Cookie",g=(e=>a.i5(e,d),"~effect/http/Cookies/CookieError");class u extends i.$D{}let h={[c]:c,...s.os,toJSON(){return{_id:"effect/Cookies",cookies:A.Tj(this.cookies,e=>e.toJSON())}},pipe(){return(0,o.tT)(this,arguments)}},m=e=>{var t;let r,i={};for(let t of e)i[t.name]=t;return t=i,(r=Object.create(h)).cookies=t,r},p=m([]),C=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,f={[d]:d,...s.os,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}};l.QfV,l.QfV;let I=e=>{try{return decodeURIComponent(e)}catch(t){return e}};r.d(t,{},{Ie:p,p0:e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!C.test(i))return;let s=t[0].slice(r+1),o=I(s);if(1===t.length)return Object.assign(Object.create(f),{name:i,value:o,valueEncoded:s});let a={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),s=-1===i?r:r.slice(0,i).trim(),o=-1===i?void 0:r.slice(i+1).trim();switch(s.toLowerCase()){case"domain":{if(void 0===o)break;let e=o.trim().replace(/^\./,"");e&&(a.domain=e);break}case"expires":{if(void 0===o)break;let e=new Date(o);isNaN(e.getTime())||(a.expires=e);break}case"max-age":{if(void 0===o)break;let e=parseInt(o,10);isNaN(e)||(a.maxAge=n.YA(e));break}case"path":if(void 0===o)break;"/"===o[0]&&(a.path=o);break;case"priority":if(void 0===o)break;switch(o.toLowerCase()){case"low":a.priority="low";break;case"medium":a.priority="medium";break;case"high":a.priority="high"}break;case"httponly":a.httpOnly=!0;break;case"secure":a.secure=!0;break;case"partitioned":a.partitioned=!0;break;case"samesite":if(void 0===o)break;switch(o.toLowerCase()){case"lax":a.sameSite="lax";break;case"strict":a.sameSite="strict";break;case"none":a.sameSite="none"}}}return Object.assign(Object.create(f),{name:i,value:o,valueEncoded:s,options:Object.keys(a).length>0?a:void 0})}(r.trim());e&&t.push(e)}return m(t)}})},9002(e,t,r){var i=r(5419),n=r(2730),s=r(3558),o=r(9920),a=r(3536),A=r(8294),l=(r(8527),r(7045)),c=r(8629),d=r(1036);r(5609),r(5030);let g=Symbol.for("~effect/http/Headers"),u=Object.defineProperties(Object.create(null),{[g]:{value:g},[c.uC]:{value(e){return B(this,i.Jt(e,Q))}},toJSON:{value(){return c.E$(this)}},[n.HR]:{value(e){return m(this,e)}},[a.HR]:{value(){return a.QK(this)}},toString:{value:A.os.toString},[A.FX]:{value:A.os[A.FX]}}),h=e=>Object.assign(Object.create(u),e),m=l.T9(s.YZ()),p=Object.create(u),C=e=>{if(void 0===e)return p;if(Symbol.iterator in e){let t=Object.create(u);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(u);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},f=(0,o.XY)(3,(e,t,r)=>{let i=h(e);return i[t.toLowerCase()]=r,i}),I=(0,o.XY)(2,(e,t)=>h({...e,...C(t)})),E=(0,o.XY)(2,(e,t)=>{let r=h(e);return Object.assign(r,t),r}),y=(0,o.XY)(2,(e,t)=>{let r=h(e);return delete r[t.toLowerCase()],r}),B=(0,o.XY)(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=d.L8(e[i]))}else for(let i in e)t.test(i)&&(r[i]=d.L8(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),Q=i.Or("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]});r.d(t,{},{Au:I,E$:B,Ie:p,Kh:e=>Object.setPrototypeOf(e,u),TF:y,h1:E,hZ:f,lX:C,yr:Q})},3818(e,t,r){r.d(t,{Qq:()=>B,$T:()=>R,L8:()=>S});var i=r(8149),n=r(5419),s=r(702),o=r(9920),a=r(8294),A=r(8444),l=r(6437),c=r(2544),d=r(2917),g=r(1260),u=r(4465),h=r(9002),m=r(855),p=r(9858),C=r(6338),f=r(2103),I=r(1160);class E extends I.rN("UrlError"){}let y="~effect/http/HttpClient",B=n.kl("effect/HttpClient"),Q=(0,o.XY)(2,(e,t)=>N(r=>t(e.postprocess(r)),e.preprocess));C.p$;let N=(e,t)=>{let r=Object.create(b);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},b={[y]:y,pipe(){return(0,c.tT)(this,arguments)},...a.os,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(p.L8(e)(t,r))}]))},S=e=>N(t=>s.qIB(t,t=>s.R6R(r=>{let n,o,a,A=k.get(t),c=A??new AbortController,g=(n=t.url,o=t.urlParams,a=l.getOrUndefined(t.hash),d.Sv({try:()=>{let e=new URL(n,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<o.params.length;t++){let[r,i]=o.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==a&&(e.hash=a),e},catch:e=>new E({cause:e})}));if(d.N6(g))return s.fJG(new m.Kg({reason:new m.bL({request:t,cause:g.failure})}));let C=g.success;if(r.getRef(u.DW)||r.getRef(w)(t)){let n=e(t,C,c.signal,r);return A?n:s.FcF(e=>s.khu(e(n),{onSuccess:e=>(M.register(e,c),s.PyW(new v(e,c))),onFailure:e=>(i.pr(e)&&c.abort(),s.ATB(e))}))}return s.gvr(r.getRef(x)(t),{kind:"client"},n=>{n.attribute("http.request.method",t.method),n.attribute("server.address",C.origin),""!==C.port&&n.attribute("server.port",+C.port),n.attribute("url.full",C.toString()),n.attribute("url.path",C.pathname),n.attribute("url.scheme",C.protocol.slice(0,-1));let o=C.search.slice(1);""!==o&&n.attribute("url.query",o);let a=r.getRef(h.yr),d=h.E$(t.headers,a);for(let e in d)n.attribute(`http.request.header.${e}`,String(d[e]));return t=r.getRef(D)?p.lL(t,h.Kh({b3:`${n.traceId}-${n.spanId}-${n.sampled?"1":"0"}${l.match(n.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${n.traceId}-${n.spanId}-${n.sampled?"01":"00"}`})):t,s.FcF(o=>o(e(t,C,c.signal,r)).pipe(s.hq(n,{captureStackTrace:!1}),s.khu({onSuccess:e=>{n.attribute("http.response.status_code",e.status);let t=h.E$(e.headers,a);for(let e in t)n.attribute(`http.response.header.${e}`,String(t[e]));return A?s.PyW(e):(M.register(e,c),s.PyW(new v(e,c)))},onFailure:e=>(!A&&i.pr(e)&&c.abort(),s.ATB(e))})))})})),s.PyW),w=n.Or("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>o.f4}),D=n.Or("effect/HttpClient/TracerPropagationEnabled",{defaultValue:o.ue}),x=n.Or("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),R=e=>A.QZ(B)(s.sxi(t=>s.TjK(e,e=>Q(e,s.r_d(e=>n.h1(t,e)))))),M=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),k=new WeakMap;class v{original;controller;constructor(e,t){this.original=e,this.controller=t}[C.ii]=C.ii;[f.ii]=f.ii;applyInterrupt(e){return s.DYE(()=>(M.unregister(this.original),s.nAr(e,()=>s.OH5(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){return g.DYE(()=>(M.unregister(this.original),g.yeE(this.original.stream,s.OH5(()=>{this.controller.abort()}))))}toJSON(){return this.original.toJSON()}[a.FX](){return this.original[a.FX]()}pipe(){return(0,c.tT)(this,arguments)}}},855(e,t,r){var i=r(1160);r(5609);let n="~effect/http/HttpClientError";class s extends i.rN("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[n]=n;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let o=e=>e.endsWith("Error")?e.slice(0,-5):e,a=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class A extends i.rN("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return a(o(this._tag),this.description,this.methodAndUrl)}}class l extends i.rN("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return a(o(this._tag),this.description,this.methodAndUrl)}}class c extends i.rN("StatusCodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return a(o(this._tag),this.description,e)}}class d extends i.rN("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return a(o(this._tag),this.description,e)}}class g extends i.rN("EmptyBodyError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return a(o(this._tag),this.description,e)}}r.d(t,{CY:()=>c,Kg:()=>s,Xc:()=>d,bL:()=>l,oL:()=>g,wX:()=>A})},9858(e,t,r){r.d(t,{hC:()=>w,hk:()=>U,L8:()=>y,bE:()=>B,lL:()=>S});var i=r(9920),n=r(8294),s=r(9496),o=r(6437),a=r(2544),A=r(8629),l=r(9002),c=r(7292);let d="~effect/http/HttpBody";class g{[d];constructor(){this[d]=d}[n.FX](){return this.toJSON()}toString(){return(0,c.GP)(this,{ignoreToString:!0})}}let u=new class extends g{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class h extends g{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let m=new TextEncoder;var p=r(2479);let C="~effect/http/HttpClientRequest",f={[C]:C,...n.os,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:(0,A.E$)(this.headers),body:this.body.toJSON()}},pipe(){return(0,a.tT)(this,arguments)}};function I(e,t,r,i,n,s){let o=Object.create(f);return o.method=e,o.url=t,o.urlParams=r,o.hash=i,o.headers=n,o.body=s,o}let E=I("GET","",p.Ie,o.none(),l.Ie,u),y=e=>(t,r)=>Q(E,{method:e,url:t,...r??void 0}),B=y("POST"),Q=(0,i.XY)(2,(e,t)=>{let r=e;return t.method&&(r=N(r,t.method)),t.url&&(r=R(r,t.url)),t.headers&&(r=S(r,t.headers)),t.urlParams&&(r=M(r,t.urlParams)),t.hash&&(r=k(r,t.hash)),t.body&&(r=v(r,t.body)),t.accept&&(r=D(r,t.accept)),t.acceptJson&&(r=x(r)),r}),N=(0,i.XY)(2,(e,t)=>I(t,e.url,e.urlParams,e.hash,e.headers,e.body)),b=(0,i.XY)(3,(e,t,r)=>I(e.method,e.url,e.urlParams,e.hash,l.hZ(e.headers,t,r),e.body)),S=(0,i.XY)(2,(e,t)=>I(e.method,e.url,e.urlParams,e.hash,l.Au(e.headers,t),e.body)),w=(0,i.XY)(2,(e,t)=>b(e,"Authorization",`Bearer ${(0,s.tC)(t)}`)),D=(0,i.XY)(2,(e,t)=>b(e,"Accept",t)),x=D("application/json"),R=(0,i.XY)(2,(e,t)=>{if("string"==typeof t)return I(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=p.lX(r.searchParams),n=o.fromNullishOr(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",I(e.method,r.toString(),i,n,e.headers,e.body)}),M=(0,i.XY)(2,(e,t)=>I(e.method,e.url,p.Au(e.urlParams,t),e.hash,e.headers,e.body)),k=(0,i.XY)(2,(e,t)=>I(e.method,e.url,e.urlParams,o.some(t),e.headers,e.body)),v=(0,i.XY)(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=l.TF(l.TF(r,"Content-Type"),"Content-length"):(t.contentType&&(r=l.hZ(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=l.hZ(r,"content-length",t.contentLength.toString()))),I(e.method,e.url,e.urlParams,e.hash,r,t)}),U=(0,i.XY)(2,(e,t)=>{var r,i;let n;return v(e,(r=JSON.stringify(t),i=(void 0)??"application/json",new h(n=m.encode(r),i??"text/plain"??"application/octet-stream",n.length)))})},6338(e,t,r){var i=r(702),n=r(8294),s=r(6437),o=r(2544),a=r(1260),A=r(7507),l=r(9002),c=r(855),d=r(2103),g=r(2479);let u="~effect/http/HttpClientResponse";class h extends n.Xs{[d.ii];[u];request;source;constructor(e,t){super(),this.request=e,this.source=t,this[d.ii]=d.ii,this[u]=u}toJSON(){return d.Nn(this,{_id:"HttpClientResponse",request:this.request.toJSON(),status:this.status})}get status(){return this.source.status}get headers(){return l.lX(this.source.headers)}cachedCookies;get cookies(){return this.cachedCookies?this.cachedCookies:this.cachedCookies=A.p0(this.source.headers.getSetCookie())}get remoteAddress(){return s.none()}get stream(){return this.source.body?a.fph({evaluate:()=>this.source.body,onError:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}):a.fJG(new c.Kg({reason:new c.oL({request:this.request,response:this,description:"can not create stream from empty body"})}))}get json(){return i.qIB(this.text,e=>i.SvU({try:()=>""===e?null:JSON.parse(e),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=i.$mh({try:()=>this.source.text(),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF),this.arrayBufferBody=i.TjK(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return i.qIB(this.text,e=>i.SvU({try:()=>g.lX(new URLSearchParams(e)),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=i.$mh({try:()=>this.source.formData(),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=i.$mh({try:()=>this.source.arrayBuffer(),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF),this.textBody=i.TjK(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}pipe(){return(0,o.tT)(this,arguments)}}r.d(t,{},{ii:u,p$:e=>e.status>=200&&e.status<300?i.PyW(e):i.fJG(new c.Kg({reason:new c.CY({response:e,request:e.request,description:"non 2xx status code"})})),tO:(e,t)=>new h(e,t)})},2103(e,t,r){var i=r(5419),n=r(702),s=r(8629),o=r(5609);let a=i.Or("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0});r.d(t,{},{Nn:(e,t)=>{let r,i=e.headers["content-type"]??"";if(i.includes("application/json"))try{r=n.HZF(e.json)}catch(e){}else if(i.includes("text/")||i.includes("urlencoded"))try{r=n.HZF(e.text)}catch(e){}let o={...t,headers:(0,s.E$)(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(o.body=r),o},_u:(e,t)=>{let r=o.GLx(o.wFO(e));return e=>n.qIB(e.json,e=>r(e,t))},ii:"~effect/http/HttpIncomingMessage",sz:a})},2479(e,t,r){r.d(t,{Ie:()=>E,lX:()=>p,Au:()=>y});var i=r(3207),n=r(2730),s=r(3558),o=r(9920),a=r(3536),A=r(8579),l=r(8527),c=r(5609),d=(r(5030),r(606));let g=s.rd;d.rd;let u="~effect/http/UrlParams",h={...A.fU,[u]:u,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[n.HR](e){return f(this,e)},[a.HR](){return a.YO(this.params.flat())}},m=e=>{let t=Object.create(h);return t.params=e,t},p=e=>{let t;if(t=e,(0,l.i5)(t,u))return e;let r=C(e),i=[];for(let e=0;e<r.length;e++)if(Array.isArray(r[e][0])){let[t,n]=r[e];i.push([`${t[0]}[${t.slice(1).join("][")}]`,n])}else i.push(r[e]);return m(i)},C=e=>{let t="function"==typeof e[Symbol.iterator]?i.Ts(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,n]of C(i))r.push([[e,..."string"==typeof t?[t]:t],n]);else void 0!==i&&r.push([e,String(i)]);return r},f=s.L8((e,t)=>I(e.params,t.params)),I=i.T9(g([s.YZ(),s.YZ()])),E=m([]),y=(0,o.XY)(2,(e,t)=>{let r=p(t),i=r.params,n=new Set;for(let e=0;e<i.length;e++)n.add(i[e][0]);for(let t=0;t<e.params.length;t++)n.has(e.params[t][0])||i.push(e.params[t]);return r});c.QfV,c.QfV,c.QfV}},g={};function u(e){var t=g[e];if(void 0!==t)return t.exports;var r=g[e]={exports:{}};return d[e].call(r.exports,r,r.exports,u),r.exports}u.c=g,r=(t="function"==typeof Symbol)?Symbol("rspack queues"):"__rspack_queues",i=u.aE=t?Symbol("rspack exports"):"__webpack_exports__",n=t?Symbol("rspack error"):"__rspack_error",s=t?Symbol("rspack done"):"__rspack_done",o=u.zS=t?Symbol("rspack defer"):"__rspack_defer",u.zT=e=>{if(e.some(e=>{var t=g[e];return!t||!1===t[s]}))return{then:(t,r)=>Promise.all(e.map(u)).then(t,r)}},a=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},u.a=(e,t,A)=>{A&&((l=[]).d=-1);var l,c,d,g,h=new Set,m=e.exports,p=new Promise((e,t)=>{g=t,d=e});p[i]=m,p[r]=e=>{l&&e(l),h.forEach(e),p.catch(()=>{})},e.exports=p,t(e=>{c=e.map(e=>{if(null!==e&&"object"==typeof e){if(!e[r]&&e[o]){var t=u.zT(e[o]);if(!t)return e;var s=e;e={then(e,r){t.then(()=>e(s),r)}}}if(e[r])return e;if(e.then){var A=[];A.d=0,e.then(e=>{l[i]=e,a(A)},e=>{l[n]=e,a(A)});var l={};return l[o]=!1,l[r]=e=>e(A),l}}var c={};return c[r]=()=>{},c[i]=e,c});var t,s=()=>c.map(e=>{if(e[o])return e;if(e[n])throw e[n];return e[i]}),A=new Promise(e=>{(t=()=>e(s)).r=0;var i=e=>e!==l&&!h.has(e)&&(h.add(e),e&&!e.d&&(t.r++,e.push(t)));c.map(e=>e[o]||e[r](i))});return t.r?A:s()},e=>(e?g(p[n]=e):d(m),a(l),p[s]=!0)),l&&l.d<0&&(l.d=0)},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)u.o(t,i)&&!u.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var h=u(6850),m=(h=await h).$7,p=h.hA,C=h.bE;export{m as PostLive,p as makePost,C as post}; \ No newline at end of file +${ec(e.cause,`${t} `)} +${t}}`),i},ed="~effect/Fiber/dev",em={_A:u.D_,_E:u.D_},eu={id:0},ep=()=>globalThis[x.fL];class eh{constructor(e,t=!0){this[ed]=em,this.setContext(e),this.id=++eu.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[ed];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){return o.kA(this.context,e)}addObserver(e){return this._exit?(e(this._exit),u.Yi):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=M(e);this.currentStackFrame&&(r=(0,w.Eh)(r,o.L8(w.z8,this.currentStackFrame))),t&&(r=(0,w.Eh)(r,t)),this._interruptedCause=this._interruptedCause?X(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(eB(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===w.GN)return;let r=ef.interruptChildren&&ef.interruptChildren(this);if(void 0!==r)return this.evaluate(td(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=o.Ie()}runLoop(e){let t=globalThis[x.fL];globalThis[x.fL]=this;let r=this._running;this._running=!0;let i=!1,n=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,n=eB(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=n;n=td(ez,()=>e)}if((n=this.currentTracerContext?this.currentTracerContext(n,this):n[w._3](this))===w.GN){let e=this._yielded;if(w.IH in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return w.GN}}}catch(e){if(!(0,b.i5)(n,w._3))return(0,w.V2)(`Fiber.runLoop: Not a valid effect: ${String(n)}`);return this.runLoop((0,w.V2)(e))}finally{this._running=r,globalThis[x.fL]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,eg;for(;;){let t=this._stack.pop();if(!t)return;let r=t[w.u4]&&t[w.u4](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,w.GN}children(){return this._children??=new Set}pipe(){return(0,A.tT)(this,arguments)}setContext(e){this.context=e;let t=this.getRef(C._F);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(S.WG),this.currentLogLevel=this.getRef(v.Gl),this.minimumLogLevel=this.getRef(v.zQ),this.currentStackFrame=e.mapUnsafe.get(v.vA.key),this.maxOpsBeforeYield=this.getRef(C.Zm),this.currentPreventYield=this.getRef(C.hf),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(S.RL);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let eg={[w.ee]:(e,t)=>eB(t._interruptedCause),[w.Sc]:(e,t)=>eB(t._interruptedCause)},ef={interruptChildren:void 0},ey=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(w.QJ.key,e.currentStackFrame),o.LZ(t)},eA=e=>{if(void 0!==e._children&&0!==e._children.size)return ew(e._children)},eb=e=>e._exit?ev(e._exit):eW(t=>e._exit?t(ev(e._exit)):eR(e.addObserver(e=>t(ev(e))))),ex=e=>eW(t=>{let r,i=e[Symbol.iterator](),n=[];return!function e(){let a=i.next();for(;!a.done;){if(a.value._exit){n.push(a.value._exit),a=i.next();continue}r=a.value.addObserver(t=>{n.push(t),e()});return}t(ev(n))}(),eR(()=>r?.())}),eN=e=>e._exit?e._exit:eW(t=>e._exit?t(e._exit):eR(e.addObserver(t))),eC=e=>eW(t=>{let r=Array.from(e);if(0===r.length)return t(ev(s.Ie()));let i=Array(r.length),n=s.Ie(),a=0,o=!1;for(let e=0;e<r.length&&!o;e++)n.push(r[e].addObserver(s=>{if(a++,"Failure"===s._tag)return o=!0,n.forEach(e=>e()),t(s);i[e]=s.value,a===r.length&&t(ev(i))}));return eR(()=>{o=!0,n.forEach(e=>e())})}),eS=e=>(0,w.R6)(t=>eI(e,t.id)),eI=(0,u.XY)(e=>(0,b.i5)(e[0],ed),(e,t,r)=>(0,w.R6)(i=>{let n=ey(i);return n=n&&r?o.h1(n,r):n??r,e.interruptUnsafe(t,n),tn(eb(e))})),ew=e=>(0,w.R6)(t=>{let r=ey(t),i=s.Ie();for(let n of e)n.interruptUnsafe(t.id,r),i.push(n);return tn(ex(i))}),eE=(0,u.XY)(2,(e,t)=>(0,w.R6)(r=>{let i=ey(r),n=s.Ie();for(let r of e)r.interruptUnsafe(t,i),n.push(r);return tn(ex(n))})),ev=w.xt,eB=w.cb,eP=w.Rk,eR=(0,w.Uf)({op:"Sync",[w._3](e){let t=this[w.a2](),r=e.getCont(w.ee);return r?r[w.ee](t,e):e.yieldWith((0,w.xt)(t))}}),eO=(0,w.Uf)({op:"Suspend",[w._3](e){return this[w.a2]()}}),ek=(0,u.XY)(e=>e.length>=2||f.isOption(e[0]),(e,t)=>f.isNone(e)?eP(t?t():new w.Xm("Effect.fromOption: Option.none")):ev(e.value)),eT=N.YW({onFailure:eP,onSuccess:ev}),eM=e=>null==e?eP(new w.Xm):ev(e),eD=(0,w.Uf)({op:"Yield",[w._3](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(tT)},this[w.a2]??0),e.yieldWith(()=>{t=!0})}}),ez=eD(0),eQ=e=>ev(f.some(e)),e_=ev(f.none()),eU=e=>f.isNone(e)?e_:tf(e.value,f.some),eH=e=>eO(()=>eB((0,I.s)(e))),eL=e=>(0,w.V2)(e),eF=e=>eO(()=>eP((0,I.s)(e))),eq=ev(void 0),ej=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new n8(e,"An error occurred in Effect.try"):e.catch;return eO(()=>{try{return ev((0,I.s)(t))}catch(e){return eP((0,I.s)(()=>r(e)))}})},eG=e=>eX(function(t,r){(0,I.s)(()=>e(r)).then(e=>t(ev(e)),e=>t(eL(e)))},0!==e.length),eY=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new n8(e,"An error occurred in Effect.tryPromise"):e.catch;return eX(function(e,i){let n=t=>{try{e(eP((0,I.s)(()=>r(t))))}catch(t){e(eL(t))}};try{(0,I.s)(()=>t(i)).then(t=>e(ev(t)),n)}catch(e){n(e)}},0!==t.length)},e$=e=>(0,w.R6)(t=>e(t.id)),eJ=(0,w.R6)(ev),eK=e$(ev),eX=(0,w.Uf)({op:"Async",single:!1,[w._3](e){let t=(0,I.s)(()=>this[w.a2][0].bind(e.currentScheduler)),r=!1,i=!1,n=this[w.a2][1]?new AbortController:void 0,a=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},n?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===n&&void 0===a||e._stack.push(eV(()=>(r=!0,n?.abort(),a??tT))),w.GN)}}),eV=(0,w.Uf)({op:"AsyncFinalizer",[w.u4](e){e.interruptible&&(e.interruptible=!1,e._stack.push(iI))},[w.Sc](e,t){return F(e)?td(this[w.a2](),()=>eB(e)):eB(e)}}),eW=e=>eX(e,e.length>=2),eZ=eW(u.Yi),e0=(...e)=>eO(()=>e9(1===e.length?e[0]():e[1].call(e[0].self))),e1=(e,...t)=>{let r=0===t.length?function(){return eO(()=>e9(e.apply(this,arguments)))}:function(){let r=eO(()=>e9(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return e2(e.length,r)},e2=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),e3=R(2),e6=function(){let e="string"==typeof arguments[0],t=e?arguments[0]:"Effect.fn",r=e?arguments[1]:void 0,i=(0,B.jt)();(0,B.ft)(2);let n=new globalThis.Error;return((0,B.ft)(i),e)?(i,...a)=>e5(t,i,n,a,e,r):e5(t,arguments[0],n,Array.prototype.slice.call(arguments,1),e,r)},e5=(e,t,r,i,n,a)=>{let s="function"==typeof t?t:i.pop().bind(t.self);return e2(s.length,function(...t){let o=eO(()=>{let e=s.apply(this,arguments);return(0,w.yw)(e)?e:e9(e)});for(let e=0;e<i.length;e++)o=i[e](o,...t);if(!(0,w.yw)(o))return o;let l=(0,B.jt)();(0,B.ft)(2);let c=new globalThis.Error;return(0,B.ft)(l),tJ(n?nR(e,a,e=>nO(o,e)):o,v.vA,t=>({name:e,stack:e3(()=>c.stack),parent:{name:`${e} (definition)`,stack:e3(()=>r.stack),parent:t}}))})},e4=(e,...t)=>e2(e.length,0===t.length?function(){return e8(()=>e.apply(this,arguments))}:function(){let r=e8(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),e8=e=>{try{let t,r=e();for(;;){let i=r.next(t);if(i.done)return ev(i.value);let n=i.value;if(n&&"Success"===n._tag){t=n.value;continue}{if(n&&"Failure"===n._tag)return i.value;let t=!0;return eO(()=>t?(t=!1,td(i.value,e=>e9(r,e))):eO(()=>e9(e())))}}}catch(e){return eL(e)}},e9=(0,w.Uf)({op:"Iterator",single:!1,[w.ee](e,t){let r=this[w.a2][0];for(;;){let i=r.next(e);if(i.done)return ev(i.value);if(!tp(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[w._3](e){return this[w.ee](this[w.a2][1],e)}}),e7=(0,u.XY)(2,(e,t)=>{let r=ev(t);return td(e,e=>r)}),te=e=>tf(e,f.some),tt=e=>rM(e,{onFailure:ev,onSuccess:eP}),tr=(0,u.XY)(2,(e,t)=>td(e,e=>(0,w.yw)(t)?t:(0,I.s)(()=>t(e)))),ti=(0,u.XY)(2,(e,t)=>td(e,e=>e7((0,w.yw)(t)?t:(0,I.s)(()=>t(e)),e))),tn=e=>td(e,e=>tT),ta=e=>rt(e,eP),ts=(e,t)=>(0,w.R6)(r=>eW(i=>{let n=s.Ts(e),a=n.length,o=0,l=!1,c=new Set,d=[],m=(e,n,s)=>{if(o++,"Failure"===e._tag){d.push(...e.cause.reasons),o>=a&&i(eB((0,w.b5)(d)));return}let m=!l;l=!0,i(0===c.size?e:td(iC(ew(c)),()=>e)),m&&t?.onWinner&&t.onWinner({fiber:n,index:s,parentFiber:r})};for(let e=0;e<a;e++){let t=i2(r,n[e],!0,!0,!1);if(c.add(t),t.addObserver(r=>{c.delete(t),m(r,t,e)}),l)break}return ew(c)})),to=(e,t)=>(0,w.R6)(r=>eW(i=>{let n=!1,a=new Set,s=e=>{n=!0,i(0===a.size?e:td(iC(ew(a)),()=>e))},o=0;for(let i of e){if(n)break;let e=o++,l=i2(r,i,!0,!0,!1);a.add(l),l.addObserver(i=>{a.delete(l);let o=!n;s(i),o&&t?.onWinner&&t.onWinner({fiber:l,index:e,parentFiber:r})})}return ew(a)})),tl=(0,u.XY)(e=>(0,w.yw)(e[1]),(e,t,r)=>ts([e,t],r)),tc=(0,u.XY)(e=>(0,w.yw)(e[1]),(e,t,r)=>to([e,t],r)),td=(0,u.XY)(2,(e,t)=>{let r=Object.create(tm);return r[w.a2]=e,r[w.ee]=1!==t.length?e=>t(e):t,r}),tm=(0,w.yj)({op:"OnSuccess",[w._3](e){return e._stack.push(this),this[w.a2]}}),tu=(0,u.XY)(2,(e,t)=>tp(e)?"Success"===e._tag?t.onSuccess(e.value):t.onFailure(e.cause):rO(e,t)),tp=e=>w.IH in e,th=(0,u.XY)(2,(e,t)=>tp(e)?"Success"===e._tag?t(e.value):e:td(e,t)),tg=e=>td(e,u.D_),tf=(0,u.XY)(2,(e,t)=>td(e,e=>ev((0,I.s)(()=>t(e))))),ty=(0,u.XY)(2,(e,t)=>tp(e)?tM(e,t):tf(e,t)),tA=(0,u.XY)(2,(e,t)=>tp(e)?tD(e,t):rN(e,t)),tb=(0,u.XY)(2,(e,t)=>tp(e)?tz(e,t):rC(e,t)),tx=(0,u.XY)(2,(e,t)=>{if(tp(e)){if("Success"===e._tag)return e;let r=Q(e.cause);return N.N6(r)?e:t(r.success)}return ra(e,t)}),tN=e=>(0,w.cb)(M(e)),tC=e=>"Success"===e._tag,tS=e=>"Success"===e._tag?N.Py(e):N.fJ(e),tI=e=>"Success"===e._tag?N.Py(e.value):N.fJ(e),tw=e=>"Failure"===e._tag,tE=e=>"Failure"===e._tag?N.Py(e):N.fJ(e),tv=e=>"Failure"===e._tag?N.Py(e.cause):N.fJ(e),tB=d.Bh(tv,Q),tP=d.Bh(tv,L),tR=e=>"Failure"===e._tag&&F(e.cause),tO=e=>"Failure"===e._tag&&U(e.cause),tk=e=>"Failure"===e._tag&&D(e.cause),tT=(0,w.xt)(void 0),tM=(0,u.XY)(2,(e,t)=>"Success"===e._tag?(0,w.xt)(t(e.value)):e),tD=(0,u.XY)(2,(e,t)=>{if("Success"===e._tag)return e;let r=Q(e.cause);return N.N6(r)?e:(0,w.Rk)(t(r.success))}),tz=(0,u.XY)(2,(e,t)=>{if("Success"===e._tag)return(0,w.xt)(t.onSuccess(e.value));let r=Q(e.cause);return N.N6(r)?e:(0,w.Rk)(t.onFailure(r.success))}),tQ=(0,u.XY)(2,(e,t)=>tC(e)?(0,w.xt)(t):e),t_=(0,u.XY)(2,(e,t)=>tC(e)?t:e),tU=(0,u.XY)(2,(e,t)=>tC(e)?t.onSuccess(e.value):t.onFailure(e.cause)),tH=tQ(void 0),tL=e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?tT:(0,w.cb)((0,w.b5)(t))},tF=e=>tC(e)?f.some(e.value):f.none(),tq=e=>tw(e)?f.some(e.cause):f.none(),tj=e=>{let t=tB(e);return N.N6(t)?f.none():f.some(t.success)},tG=e=>e,tY=e=>(0,w.R6)(t=>ev(o.om(t.context,e))),t$=(0,u.XY)(2,(e,t)=>(0,w.R6)(r=>{let i=r.context,n=t(i);return i===n?e:(r.setContext(n),is(e,()=>{r.setContext(i)}))})),tJ=(0,u.XY)(3,(e,t,r)=>t$(e,e=>{let i=o.fp(e,t),n=r(i);return i===n?e:o.WQ(e,t,n)})),tK=()=>tX,tX=(0,w.R6)(e=>ev(e.context)),tV=e=>(0,w.R6)(t=>e(t.context)),tW=(0,u.XY)(2,(e,t)=>t$(e,(0,u.dY)(t))),tZ=(0,u.XY)(2,(e,t)=>tp(e)?e:t$(e,o.h1(t))),t0=function(){return 1==arguments.length?(0,u.XY)(2,(e,t)=>t1(e,arguments[0],t)):(0,u.XY)(3,(e,t,r)=>t1(e,t,r)).apply(this,arguments)},t1=(e,t,r)=>t$(e,e=>e.mapUnsafe.get(t.key)===r?e:o.WQ(e,t,r)),t2=(0,u.XY)(3,(e,t,r)=>td(r,r=>t0(e,t,r))),t3=t0(v.F8),t6=(0,u.XY)(e=>(0,w.yw)(e[1]),(e,t,r)=>t5(e,t,(e,t)=>[e,t],r)),t5=(0,u.XY)(e=>(0,w.yw)(e[1]),(e,t,r,i)=>i?.concurrent?tf(iO([e,t],{concurrency:2}),([e,t])=>(0,I.s)(()=>r(e,t))):td(e,e=>tf(t,t=>(0,I.s)(()=>r(e,t))))),t4=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>iG(e,t,r?e=>eP(r(e)):()=>eP(new w.Xm))),t8=(0,u.XY)(2,(e,t)=>td(t,t=>t?te(e):e_)),t9=(0,u.XY)(2,(e,t)=>Array.from({length:t},()=>e)),t7=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>iO(t9(e,t),r)),re=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>iU({while:u.ue,body:(0,u.dY)(t?.disableYield?e:td(e,e=>ez)),step:u.Yi})),rt=(0,u.XY)(2,(e,t)=>{let r=Object.create(rr);return r[w.a2]=e,r[w.Sc]=1!==t.length?e=>t(e):t,r}),rr=(0,w.yj)({op:"OnFailure",[w._3](e){return e._stack.push(this),this[w.a2]}}),ri=(0,u.XY)(3,(e,t,r)=>rt(e,e=>t(e)?(0,I.s)(()=>r(e)):eB(e))),rn=(0,u.XY)(3,(e,t,r)=>rt(e,e=>{let i=t(e);return N.N6(i)?eB(i.failure):(0,I.s)(()=>r(i.success,e))})),ra=(0,u.XY)(2,(e,t)=>rn(e,Q,e=>t(e))),rs=e=>rM(e,{onFailure:e=>(0,w.PW)(e)?e_:eP(e),onSuccess:eQ}),ro=(0,u.XY)(2,(e,t)=>rn(e,L,t)),rl=(0,u.XY)(2,(e,t)=>rt(e,e=>tr((0,I.s)(()=>t(e)),eB(e)))),rc=(0,u.XY)(3,(e,t,r)=>ri(e,t,e=>tr((0,I.s)(()=>r(e)),eB(e)))),rd=(0,u.XY)(3,(e,t,r)=>rt(e,e=>{let i=t(e);return N.N6(i)?eB(e):tr((0,I.s)(()=>r(i.success,e)),eB(e))})),rm=(0,u.XY)(2,(e,t)=>rd(e,Q,e=>t(e))),ru=(0,u.XY)(3,(e,t,r)=>{let i=Array.isArray(t)?e=>(0,b.i5)(e,"_tag")&&t.includes(e._tag):(0,b.$J)(t);return rm(e,e=>i(e)?r(e):eq)}),rp=(0,u.XY)(2,(e,t)=>rd(e,L,e=>t(e))),rh=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i)=>rt(e,e=>{let n=Q(e);return N.N6(n)?eB(n.failure):t(n.success)?(0,I.s)(()=>r(n.success)):i?(0,I.s)(()=>i(n.success)):eB(e)})),rg=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i)=>rt(e,e=>{let n=Q(e);if(N.N6(n))return eB(n.failure);let a=t(n.success);return N.N6(a)?i?(0,I.s)(()=>i(a.failure)):eB(e):(0,I.s)(()=>r(a.success))})),rf=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i)=>rh(e,Array.isArray(t)?e=>(0,b.i5)(e,"_tag")&&t.includes(e._tag):(0,b.$J)(t),r,i)),ry=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>{let i;return rg(e,e=>(i??=Object.keys(t),(0,b.i5)(e,"_tag")&&(0,b.Kg)(e._tag)&&i.includes(e._tag)?N.Py(e):N.fJ(e)),e=>(0,I.s)(()=>t[e._tag](e)),r)}),rA=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i,n)=>rh(e,e=>(0,b.$J)(e,t)&&(0,b.i5)(e,"reason"),e=>{let t=e.reason;return(0,b.$J)(t,r)?i(t,e):n?(0,I.s)(()=>n(t,e)):eP(e)})),rb=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i)=>{let n;return rh(e,e=>(0,b.$J)(e,t)&&(0,b.i5)(e,"reason")&&(0,b.i5)(e.reason,"_tag")&&(0,b.Kg)(e.reason._tag),e=>{let t=e.reason;return(n??=Object.keys(r)).includes(t._tag)?(0,I.s)(()=>r[t._tag](t,e)):i?(0,I.s)(()=>i(t,e)):eP(e)})}),rx=(0,u.XY)(2,(e,t)=>rg(e,e=>(0,b.$J)(e,t)&&(0,b.i5)(e,"reason")?N.Py(e.reason):N.fJ(e),eP)),rN=(0,u.XY)(2,(e,t)=>ra(e,e=>eF(()=>t(e)))),rC=(0,u.XY)(2,(e,t)=>rM(e,{onFailure:e=>eF(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rS=e=>ra(e,eL),rI=(0,u.XY)(2,(e,t)=>ra(e,e=>eR(t))),rw=e=>eO(()=>{let t=e[Symbol.iterator](),r=t.next();return r.done?eL(Error("Received an empty collection of effects")):function e(r){let i=t.next();return i.done?r.value:ra(r.value,t=>e(i))}(r)}),rE=e=>ra(e,t=>td(ez,()=>rE(e))),rv=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>{if(!t?.log)return rM(e,{onFailure:e=>eq,onSuccess:e=>eq});let r=ac(!0===t.log?void 0:t.log);return rO(e,{onFailure(e){let i=z(e);return N.N6(i)?eB(i.failure):void 0===t.message?r(e):r(t.message,e)},onSuccess:e=>eq})}),rB=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>{if(!t?.log)return rO(e,{onFailure:e=>eq,onSuccess:e=>eq});let r=ac(!0===t.log?void 0:t.log);return rO(e,{onFailure:e=>void 0===t.message?r(e):r(t.message,e),onSuccess:e=>eq})}),rP=e=>rD(e,{onFailure:f.none,onSuccess:f.some}),rR=e=>rz(e,{onFailure:N.fJ,onSuccess:N.Py}),rO=(0,u.XY)(2,(e,t)=>{let r=Object.create(rk);return r[w.a2]=e,r[w.ee]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[w.Sc]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),rk=(0,w.yj)({op:"OnSuccessAndFailure",[w._3](e){return e._stack.push(this),this[w.a2]}}),rT=(0,u.XY)(2,(e,t)=>rO(e,{onFailure:e=>eR(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rM=(0,u.XY)(2,(e,t)=>rO(e,{onFailure:e=>{let r=e.reasons.find(w.lC);return r?(0,I.s)(()=>t.onFailure(r.error)):eB(e)},onSuccess:t.onSuccess})),rD=(0,u.XY)(2,(e,t)=>rM(e,{onFailure:e=>eR(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rz=(0,u.XY)(2,(e,t)=>{if(tp(e)){if("Success"===e._tag)return(0,w.xt)(t.onSuccess(e.value));let r=Q(e.cause);return N.N6(r)?e:(0,w.xt)(t.onFailure(r.success))}return rD(e,t)}),rQ=(0,u.XY)(2,(e,t)=>tp(e)?"Success"===e._tag?(0,w.xt)(t.onSuccess(e.value)):(0,w.xt)(t.onFailure(e.cause)):rT(e,t)),r_=e=>tp(e)?(0,w.xt)(e):rU(e),rU=(0,w.Uf)({op:"Exit",[w._3](e){return e._stack.push(this),this[w.a2]},[w.ee]:(e,t,r)=>ev(r??(0,w.xt)(e)),[w.Sc]:(e,t,r)=>ev(r??(0,w.cb)(e))}),rH=rz({onFailure:()=>!0,onSuccess:()=>!1}),rL=rz({onFailure:()=>!1,onSuccess:()=>!0}),rF=(0,u.XY)(2,(e,t)=>tr(nj(t),e)),rq=(0,u.XY)(2,(e,t)=>tc(e,td(nj(t.duration),t.orElse))),rj=(0,u.XY)(2,(e,t)=>rq(e,{duration:t,orElse:()=>eP(new nK)})),rG=(0,u.XY)(2,(e,t)=>tc(te(e),e7(nj(t),f.none()))),rY=e=>nq(t=>{let r=t.currentTimeNanosUnsafe();return tf(e,e=>[l.cF(t.currentTimeNanosUnsafe()-r),e])}),r$="~effect/Scope",rJ="~effect/Scope/Closeable",rK=o.kl("effect/Scope"),rX=(e,t)=>eO(()=>rV(e,t)??eq),rV=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):rW(e,i,t)},rW=e1(function*(e,t,r){let i=[],n=[],a=Array.from(t.values()),s=ep();for(let t=a.length-1;t>=0;t--){let o=a[t];"sequential"===e.strategy?i.push((yield*r_(o(r)))):n.push(i2(s,o(r),!0,!0,"inherit"))}return n.length>0&&(i=yield*ex(n)),yield*tL(i)}),rZ=(e,t)=>eR(()=>r0(e,t)),r0=(e,t)=>{let r=r5(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return r3(e,i,e=>rX(r,e)),r3(r,i,t=>eR(()=>r6(e,i))),r},r1=(e,t)=>eO(()=>"Closed"===e.state._tag?t(e.state.exit):(r3(e,{},t),eq)),r2=(e,t)=>r1(e,(0,u.dY)(t)),r3=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},r6=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},r5=(e="sequential")=>({[rJ]:rJ,[r$]:r$,strategy:e,state:r4}),r4={_tag:"Empty"},r8=e=>eR(()=>r5(e)),r9=rK,r7=t0(rK),ie=e=>(0,w.R6)(t=>{let r=t.context,i=r5();return t.setContext(o.WQ(t.context,rK,i)),is(e,e=>(t.setContext(r),rV(i,e)))}),it=(0,u.XY)(2,(e,t)=>io(r7(e,t),e=>eO(()=>rV(t,e)??eq))),ir=e=>eO(()=>{let t=r5();return io(e(t),e=>eO(()=>rV(t,e)??eq))}),ii=(e,t,r)=>tV(i=>iB(n=>td(r9,a=>ti(r?.interruptible?n(e):e,e=>r1(a,r=>tZ(t(e,r),i)))))),ia=e=>td(r9,t=>tV(r=>r1(t,t=>tZ(e(t),r)))),is=(0,w.Uf)({op:"OnExit",single:!1,[w._3](e){return e._stack.push(this),this[w.a2][0]},[w.u4](e){e.interruptible&&!0!==this[w.a2][2]&&(e._stack.push(iI),e.interruptible=!1)},[w.ee](e,t,r){r??=(0,w.xt)(e);let i=this[w.a2][1](r);return i?td(i,e=>r):r},[w.Sc](e,t,r){r??=(0,w.cb)(e);let i=this[w.a2][1](r);return i?td(i,e=>r):r}}),io=(0,u.XY)(2,is),il=(0,u.XY)(2,(e,t)=>io(e,e=>t)),ic=(0,u.XY)(3,(e,t,r)=>io(e,e=>t(e)?r(e):eq)),id=(0,u.XY)(3,(e,t,r)=>io(e,e=>{let i=t(e);return N.N6(i)?eq:r(i.success,e)})),im=(0,u.XY)(2,(e,t)=>id(e,tv,t)),iu=(0,u.XY)(3,(e,t,r)=>ic(e,e=>"Failure"===e._tag&&t(e.cause),e=>r(e.cause))),ip=(0,u.XY)(3,(e,t,r)=>io(e,e=>{if("Failure"!==e._tag)return eq;let i=t(e.cause);return N.N6(i)?eq:r(i.success,e.cause)})),ih=(0,u.XY)(2,(e,t)=>ip(j,t)(e)),ig=(e,t,r)=>iB(i=>td(e,e=>is(i(t(e)),t=>r(e,t),!0))),iy=e=>ii(e,e=>(0,b.i5)(e,Symbol.asyncDispose)?eG(()=>e[Symbol.asyncDispose]()):eR(()=>e[Symbol.dispose]())),iA=(0,u.XY)(2,(e,t)=>eR(()=>{let r,i=l.kE(l.bN(t)),n=Number.isFinite(i),a=np(!1),s=0,o=!1,c=td(a.await,()=>r);return[(0,w.R6)(t=>{let l=t.getRef(n_),d=n?l.currentTimeMillisUnsafe():0;return o||d<s?r??c:(o=!0,a.closeUnsafe(),r=void 0,io(e,e=>eR(()=>{o=!1,s=l.currentTimeMillisUnsafe()+i,r=e,a.openUnsafe()})))}),eR(()=>{s=0,a.closeUnsafe(),r=void 0})]})),ib=(0,u.XY)(2,(e,t)=>tf(iA(e,t),e=>e[0])),ix=e=>ib(e,l.Tn),iN=(0,w.R6)(e=>eB(M(e.id))),iC=e=>(0,w.R6)(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(iI)),e)),iS=(0,w.Uf)({op:"SetInterruptible",[w.u4](e){if(e.interruptible=this[w.a2],e._interruptedCause&&e.interruptible)return()=>eB(e._interruptedCause)}}),iI=iS(!0),iw=iS(!1),iE=e=>{if(e.interruptible=!0,e._stack.push(iw),e._interruptedCause)return eB(e._interruptedCause)},iv=e=>(0,w.R6)(t=>t.interruptible?e:iE(t)??e),iB=e=>(0,w.R6)(t=>t.interruptible?(t.interruptible=!1,t._stack.push(iI),e(iv)):e(u.D_)),iP=e=>(0,w.R6)(t=>{if(t.interruptible)return e(u.D_);let r=iE(t),i=e(iC);return r??i}),iR=tf(ii(eR(()=>new AbortController),e=>eR(()=>e.abort())),e=>e.signal),iO=(e,t)=>(0,b.xZ)(e)?t?.mode==="result"?iH(e,rR,t):iH(e,u.D_,t):t?.discard?"result"===t.mode?iH(Object.values(e),rR,t):iH(Object.values(e),u.D_,t):eO(()=>{let r={};return e7(iH(Object.entries(e),([e,i])=>tf(t?.mode==="result"?rR(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),ik=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t,r)=>tf(iH(e,(e,r)=>rR(t(e,r)),r),e=>s.jB(e,u.D_))),iT=(0,u.XY)(3,(e,t,r)=>{let i=s.Ts(e);return 0===i.length?eR(t):eO(()=>{let e=0,n=t();return tf(iU({while:()=>e<i.length,body:()=>r(n,i[e],e),step(t){n=t,e++}}),()=>n)})}),iM=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t,r)=>td(ik(e,t,{concurrency:r?.concurrency}),([e,t])=>s.CZ(e)?eP(e):r?.discard?eq:ev(t))),iD=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t)=>eO(()=>{let r=e[Symbol.iterator](),i=r.next();return i.done?ev(f.none()):iz(r,0,t,i.value)})),iz=(e,t,r,i)=>td(r(i,t),n=>{if(n)return ev(f.some(i));let a=e.next();return a.done?ev(f.none()):iz(e,t+1,r,a.value)}),iQ=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t)=>eO(()=>{let r=e[Symbol.iterator](),i=r.next();return i.done?ev(f.none()):i_(r,0,t,i.value)})),i_=(e,t,r,i)=>td(r(i,t),i=>{if(N.oJ(i))return ev(f.some(i.success));let n=e.next();return n.done?ev(f.none()):i_(e,t+1,r,n.value)}),iU=(0,w.Uf)({op:"While",[w.ee](e,t){return(this[w.a2].step(e),this[w.a2].while())?(t._stack.push(this),this[w.a2].body()):tT},[w._3](e){return this[w.a2].while()?(e._stack.push(this),this[w.a2].body()):tT}}),iH=(0,u.XY)(e=>"function"==typeof e[1],(e,t,r)=>(0,w.R6)(i=>{let n=r?.concurrency==="inherit"?i.getRef(v.F8):r?.concurrency??1,a="unbounded"===n?1/0:Math.max(1,n);if(1===a)return iL(e,t,r);let o=s.Ts(e),l=o.length;if(0===l)return r?.discard?eq:ev([]);let c=r?.discard?void 0:Array(l),d=ij({f:t,out:c},o,{concurrency:a});return d?e7(d,c):ev(c)})),iL=(e,t,r)=>eO(()=>{let i=r?.discard?void 0:[],n=e[Symbol.iterator](),a=n.next(),s=0;return e7(iU({while:()=>!a.done,body:()=>t(a.value,s++),step:e=>{i&&i.push(e),a=n.next()}}),i)}),iF=e=>{let t=e.onItem,r=e.step;return(e,i,n)=>{let a,s,o,l,c,d=n?.start??0,m=n?.end??i.length,u=n?.concurrency??1,p=n?.orderedStep===!0&&u>1,h=!1,g=!1,f=d,y=p?Array(m):void 0,A=e=>{let t=(0,w.V2)(e);return l=t,h=!0,g=!0,s&&s.size>0?td(iC(ew(Array.from(s))),()=>t):t},b=(t,n,a)=>{if(!p)return r(e,t,n,a);if(l)return l;for(y[a]=n;f<m;){let t=y[f];if(void 0===t)return;y[f]=void 0;let n=f++,a=r(e,i[n],t,n);if(a)return a}},x=()=>{let r=!1;for(;!l&&d<m;d++){let n=i[d],m=c??t(e,n,d);if(tp(m)){if(l=b(n,m,d))break}else{if(1===u)return td(r_(m),e=>(l=b(n,e,d),d++,l??x()??eq));if(!a)return eW(e=>{let t;a=ep(),s=new Set,c=m,o=e;try{t=x()}catch(t){return e(A(t))}return t?e(t):eO(()=>(l=tT,g=!0,s?ew(s):eq))});c=void 0;let e=i2(a,m,!0,!0,"inherit");if(e._exit){if(l=b(n,e._exit,d))break;continue}s.add(e);let t=d;if(e.addObserver(i=>{s.delete(e);try{if(l){if(!g&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===l._tag?l.cause.reasons.push(e):l=(0,w.cb)((0,w.b5)([e]))}else{let e=b(n,i,t);e&&(l="Failure"===e._tag?(0,w.cb)((0,w.b5)(e.cause.reasons.slice())):e,x())}if(r){let e=x();e&&o(e)}else h&&0===s.size&&o(l??eq)}catch(e){o(A(e))}}),s.size<u)continue;r=!0,d++;return}}if(h=!0,l){if(s&&s.size>0){let e=ey(a);s.forEach(t=>t.interruptUnsafe(a.id,e));return}if(o||"Failure"===l._tag)return l}else if(o)if(!s)return tT;else 0===s.size&&o(eq)};return x()}},iq=()=>iF,ij=iF({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),iG=(0,u.XY)(3,(e,t,r)=>td(e,e=>t(e)?ev(e):r(e))),iY=(0,u.XY)(3,(e,t,r)=>td(e,e=>{let i=t(e);return N.N6(i)?r(i.failure):ev(i.success)})),i$=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>iY(e,t,r?e=>eP(r(e)):()=>eP(new w.Xm))),iJ=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t,r)=>eO(()=>{let i=[];return e7(iH(e,(e,r)=>{let n=t(e,r);return"boolean"==typeof n?(n&&i.push(e),eq):tf(n,t=>{t&&i.push(e)})},{discard:!0,concurrency:r?.concurrency}),i)})),iK=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t)=>eO(()=>{let r=[];for(let i of e){let e=t(i);N.oJ(e)&&r.push(e.success)}return ev(r)})),iX=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t,r)=>eO(()=>{let i=[];return e7(iH(e,e=>tf(t(e),e=>{N.oJ(e)&&i.push(e.success)}),{discard:!0,concurrency:r?.concurrency}),i)})),iV=ev({}),iW=E.Jr(tf),iZ=E.oI(tf,td),i0=E.zM(tf),i1=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>(0,w.R6)(r=>(ef.interruptChildren??=eA,ev(i2(r,e,t?.startImmediately,!1,t?.uninterruptible??!1))))),i2=(e,t,r=!1,i=!1,n=!1)=>{let a="inherit"===n?e.interruptible:!n,s=new eh(e.context,a);return r?s.evaluate(t):e.currentDispatcher.scheduleTask(()=>s.evaluate(t),0),i||s._exit||(e.children().add(s),s.addObserver(()=>e._children.delete(s))),s},i3=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>(0,w.R6)(r=>ev(i2(r,e,t?.startImmediately,!0,t?.uninterruptible)))),i6=e=>(0,w.R6)(t=>{let r=t._children&&new Set(t._children);return io(e,e=>{let i=t._children;return void 0===i||0===i.size?eq:(r&&(i=g.pb(i,e=>!r.has(e))),tn(ex(i)))})}),i5=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>(0,w.R6)(i=>{let n=i2(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!n._exit)if("Closed"!==t.state._tag){let e={};r3(t,e,()=>e$(e=>e===n.id?eq:eS(n))),n.addObserver(()=>r6(t,e))}else n.interruptUnsafe(i.id,ey(i));return ev(n)})),i4=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>td(r9,r=>i5(e,r,t))),i8=e=>(t,r)=>{let i=new eh(r?.scheduler?o.WQ(e,C._F,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i},i9=(0,u.XY)(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return r3(t,r,()=>eS(e)),e.addObserver(()=>r6(t,r)),e}),i7=i8(o.Ie()),ne=e=>{let t=i8(e);return(e,r)=>{let i=t(e,r);return r?.onExit&&i.addObserver(r.onExit),e=>i.interruptUnsafe(e)}},nt=ne(o.Ie()),nr=e=>{let t=i8(e);return(e,r)=>{let i=t(e,r);return new Promise(e=>{i.addObserver(t=>e(t))})}},ni=nr(o.Ie()),nn=e=>{let t=nr(e);return(e,r)=>t(e,r).then(e=>{if("Failure"===e._tag)throw W(e.cause);return e.value})},na=nn(o.Ie()),ns=e=>{let t=i8(e);return e=>{if(tp(e))return e;let r=t(e,{scheduler:new C.FG("sync")});return r._dispatcher?.flush(),r._exit??(0,w.V2)(new n6(r))}},no=ns(o.Ie()),nl=e=>{let t=ns(e);return e=>{let r=t(e);if("Failure"===r._tag)throw W(r.cause);return r.value}},nc=nl(o.Ie()),nd=ev(!0),nm=ev(!1);class nu{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),nd}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](tT)};open=(0,w.R6)(e=>this._isOpen?nm:(this._isOpen=!0,this.scheduleUnsafe(e)));release=(0,w.R6)(e=>this._isOpen?nm:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=eW(e=>this._isOpen?e(eq):(this.waiters.push(e),eR(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=eR(()=>this.closeUnsafe());whenOpen=e=>td(this.await,()=>e);isOpen(){return this._isOpen}}let np=e=>new nu(e??!1),nh=e=>eR(()=>np(e)),ng=(0,w.R6)(e=>ev(e.getRef(S.sh))),nf=(0,u.XY)(2,(e,t)=>t0(e,S.sh,t)),ny=t0(v.rf),nA=t0(v.nU),nb=BigInt(0),nx={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:nb,endTime:nb,exit:tT},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},nN=e=>e?o.Jt(e.annotations,S.DW)?"Span"===e._tag?nN(f.getOrUndefined(e.parent)):f.none():f.some(e):f.none(),nC=(e,t,r)=>{let i,n=!e.getRef(v.rf)||r?.annotations&&o.Jt(r.annotations,S.DW),a=r?.parent!==void 0?f.some(r.parent):r?.root?f.none():nN(e.currentSpan);if(n){let e;e={name:t,parent:a,annotations:o.WQ(r?.annotations??o.Ie(),S.DW,!0)},i=Object.assign(Object.create(nx),e)}else{let n=e.getRef(S.sh),s=e.getRef(n_),l=e.getRef(v.nU),c=e.getRef(v.ce),d=e.getRef(v.ls),m=r?.level??e.getRef(S.pX),u=r?.links!==void 0?[...d,...r.links]:d.slice();for(let[d,p]of(i=n.span({name:t,parent:a,annotations:r?.annotations??o.Ie(),links:u,startTime:l?s.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??f.isNone(a),sampled:r?.sampled??((!f.isSome(a)||!1!==a.value.sampled)&&!ae(e.getRef(S.EW),m))}),Object.entries(c)))i.attribute(d,p);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i},nS=(e,t)=>(0,w.R6)(r=>ev(nC(r,e,t))),nI=(e,t)=>iC((0,w.R6)(r=>{let i=o.fp(r.context,rK),n=nC(r,e,t??{}),a=r.getRef(n_),s=r.getRef(v.nU);return e7(r1(i,e=>nP(n,e,a,s)),n)})),nw=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=P(e?arguments[2]:arguments[1]);if(e){let e=arguments[0];return td(nI(t,r),t=>nk(e,t,r))}return e=>td(nI(t,r),t=>nk(e,t,r))},nE=v.ce,nv=v.ls,nB=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r={})=>{let i=(Array.isArray(t)?t:[t]).map(e=>({span:e,attributes:r}));return tJ(e,v.ls,e=>[...e,...i])}),nP=(e,t,r,i)=>eR(()=>{"Ended"!==e.status._tag&&e.end(i?r.currentTimeNanosUnsafe():nb,t)}),nR=(e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return(0,w.R6)(t=>{let n=nC(t,e,r),a=t.getRef(n_);return io((0,I.s)(()=>i(n)),e=>eR(()=>{"Ended"!==n.status._tag&&n.end(a.currentTimeNanosUnsafe(),e)}))})},nO=t0(S.Tv),nk=function(){let e=(0,w.yw)(arguments[0]),t=e?arguments[1]:arguments[0],r=e?arguments[2]:arguments[1],i=u.D_;if("Span"===t._tag){var n,a;r=P(r),n=t.name,a="function"==typeof(a=r?.captureStackTrace)?a:u.MN,i=tJ(v.vA,e=>({name:n,stack:a,parent:e}))}return e?nO(i(arguments[0]),t):e=>nO(i(e),t)},nT=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=P(arguments[2]);if(e){let e=arguments[0];return nR(t,arguments[2],t=>nk(e,t,r))}let i="function"==typeof arguments[1]?arguments[1]:void 0,n=i?void 0:arguments[1];return(e,...a)=>nR(t,i?i(...a):n,t=>nk(e,t,r))},nM=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,...t)=>tJ(e,v.ce,e=>{let r={...e};return 1===t.length?Object.assign(r,t[0]):r[t[0]]=t[1],r})),nD=(...e)=>(0,w.R6)(t=>{let r=t.currentSpanLocal;if(r)if(1===e.length)for(let[t,i]of Object.entries(e[0]))r.attribute(t,i);else r.attribute(e[0],e[1]);return eq}),nz=(0,w.R6)(e=>{let t=e.currentSpanLocal;return t?ev(t):eP(new w.Xm)}),nQ=(i=S.Tv,(0,w.R6)(e=>e.context.mapUnsafe.has(i.key)?ev(o.fp(e.context,i)):eP(new w.Xm))),n_=o.Or("effect/Clock",{defaultValue:()=>new nH}),nU=0x80000000-1;class nH{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=eR(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return nF()}currentTimeNanos=eR(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(l.kE(e))}sleepMillis(e){return e<=0?ez:Number.isFinite(e)?eW(t=>{let r=e>nU?this.sleepMillis(e-nU):eq,i=setTimeout(()=>t(r),Math.min(e,nU));return eR(()=>clearTimeout(i))}):eZ}}let nL=(a=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*a:()=>(n??=BigInt(Date.now())*a-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),nF=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return nL;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),nq=e=>(0,w.R6)(t=>e(t.getRef(n_))),nj=e=>nq(t=>t.sleep(l.bN(e))),nG=nq(e=>e.currentTimeMillis),nY=nq(e=>e.currentTimeNanos),n$="~effect/Cause/TimeoutError",nJ=e=>(0,b.i5)(e,n$);class nK extends(0,w.rN)("TimeoutError"){[n$]=n$;constructor(e){super({message:e})}}let nX="~effect/Cause/IllegalArgumentError",nV=e=>(0,b.i5)(e,nX);class nW extends(0,w.rN)("IllegalArgumentError"){[nX]=nX;constructor(e){super({message:e})}}let nZ="~effect/Cause/ExceededCapacityError",n0=e=>(0,b.i5)(e,nZ);class n1 extends(0,w.rN)("ExceededCapacityError"){[nZ]=nZ;constructor(e){super({message:e})}}let n2="~effect/Cause/AsyncFiberError",n3=e=>(0,b.i5)(e,n2);class n6 extends(0,w.rN)("AsyncFiberError"){[n2]=n2;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let n5="~effect/Cause/UnknownError",n4=e=>(0,b.i5)(e,n5);class n8 extends(0,w.rN)("UnknownError"){[n5]=n5;constructor(e,t){super({message:t,cause:e})}}let n9=o.Or("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),n7=y.zQ(y.wN,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}}),ae=y.yJ(n7),at=o.Or("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([aA,ab])}),ar=o.Or("effect/Logger/LogToStderr",{defaultValue:u.f4}),ai=function(){let e="string"==typeof arguments[0]?[[arguments[0],arguments[1]]]:Object.entries(arguments[0]);return iC((0,w.R6)(t=>{let r=t.getRef(v.iL),i={...r};for(let t=0;t<e.length;t++){let[r,n]=e[t];i[r]=n}return t.setContext(o.WQ(t.context,v.iL,i)),r1(o.fp(t.context,rK),i=>{let n=t.getRef(v.iL),a={...n};for(let t=0;t<e.length;t++){let[i,s]=e[t];n[i]===s&&(i in r?a[i]=r[i]:delete a[i])}return t.setContext(o.WQ(t.context,v.iL,a)),eq})}))},an={"~effect/Logger":{_Message:u.D_,_Output:u.D_},pipe(){return(0,A.tT)(this,arguments)}},aa=e=>{let t=Object.create(an);return t.log=e,t},as=e=>e.replace(/[\s="]/g,"_"),ao=(e,t)=>{let r=as(e[0]);return`${r}=${t-e[1]}ms`},al=e=>{switch(typeof e){case"bigint":case"function":case"symbol":return String(e);default:return(0,h.aB)(e)}},ac=e=>(...t)=>{let r;for(let e=0,i=t.length;e<i;e++){let i=t[e];(0,w.Aj)(i)&&(r?t.splice(e,1):t=t.slice(0,e).concat(t.slice(e+1)),r=r?(0,w.b5)(r.reasons.concat(i.reasons)):i,e--)}return void 0===r&&(r=w.DH),(0,w.R6)(i=>{let n=e??i.currentLogLevel;if(ae(i.minimumLogLevel,n))return eq;let a=i.getRef(n_),s=i.getRef(at);if(s.size>0){let e=new Date(a.currentTimeMillisUnsafe());for(let a of s)a.log({cause:r,fiber:i,date:e,logLevel:n,message:t})}return eq})},ad=(e,...t)=>{let r="";for(let e=0;e<t.length;e++)r+=`\x1b[${t[e]}m`;return r+e+"\x1b[0m"},am=(e,...t)=>e,au={None:[],All:[],Trace:["90"],Debug:["34"],Info:["32"],Warn:["33"],Error:["31"],Fatal:["101","30"]},ap={None:"",All:"",Trace:"color:gray",Debug:"color:blue",Info:"color:green",Warn:"color:orange",Error:"color:red",Fatal:"background-color:red;color:white"},ah=e=>`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}.${e.getMilliseconds().toString().padStart(3,"0")}`,ag=e=>{let t="object"==typeof process&&null!==process&&"object"==typeof process.stdout&&null!==process.stdout,r=t&&!0===process.stdout.isTTY,i=t||"Deno"in globalThis,n=e?.mode??"auto",a="browser"===("auto"===n?i?"tty":"browser":n),s="boolean"==typeof e?.colors?e.colors:r||a,o=e?.formatDate??ah;return a?ay({colors:s,formatDate:o}):af({colors:s,formatDate:o})},af=e=>{let t="object"==typeof process&&"isBun"in process&&!0===process.isBun,r=e.colors?ad:am;return aa(({cause:i,date:n,fiber:a,logLevel:s,message:o})=>{let l=a.getRef(n9),c=a.getRef(ar)?l.error:l.log,d=Array.isArray(o)?o.slice():[o],m=r(`[${e.formatDate(n)}]`,"37")+` ${r(s.toUpperCase(),...au[s])}`+` (#${a.id})`,u=n.getTime();for(let e of a.getRef(v.d8))m+=" "+ao(e,u);m+=":";let p=0;if(d.length>0){let e=al(d[0]);"string"==typeof e&&(m+=" "+r(e,"1","36"),p++)}if(c(m),t||l.group(),i.reasons.length>0&&c(eo(i)),p<d.length)for(;p<d.length;p++)c((0,x.E$)(d[p]));for(let[e,t]of Object.entries(a.getRef(v.iL)))c(r(`${e}:`,"1","37"),(0,x.E$)(t));t||l.groupEnd()})},ay=e=>{let t=e.colors?"%c":"";return aa(({cause:r,date:i,fiber:n,logLevel:a,message:s})=>{let o=n.getRef(n9),l=Array.isArray(s)?s.slice():[s],c=`${t}[${e.formatDate(i)}]`,d=[];e.colors&&d.push("color:gray"),c+=` ${t}${a.toUpperCase()}${t} (#${n.id})`,e.colors&&d.push(ap[a],"");let m=i.getTime();for(let e of n.getRef(v.d8))c+=" "+ao(e,m);c+=":";let u=0;if(l.length>0){let r=al(l[0]);"string"==typeof r&&(c+=` ${t}${r}`,e.colors&&d.push("color:deepskyblue"),u++)}if(o.groupCollapsed(c,...d),r.reasons.length>0&&o.error(eo(r)),u<l.length)for(;u<l.length;u++)o.log((0,x.E$)(l[u]));for(let[t,r]of Object.entries(n.getRef(v.iL))){let i=(0,x.E$)(r);e.colors?o.log(`%c${t}:`,"color:gray",i):o.log(`${t}:`,i)}o.groupEnd()})},aA=aa(({cause:e,date:t,fiber:r,logLevel:i,message:n})=>{let a=Array.isArray(n)?n.slice():[n];e.reasons.length>0&&a.push(eo(e));let s=t.getTime(),o=r.getRef(v.d8),l="";for(let e of o)l+=` ${ao(e,s)}`;let c=r.getRef(v.iL);Object.keys(c).length>0&&a.push(c);let d=r.getRef(n9);(r.getRef(ar)?d.error:d.log)(`[${ah(t)}] ${i.toUpperCase()} (#${r.id})${l}:`,...a)}),ab=aa(({cause:e,fiber:t,logLevel:r,message:i})=>{let n=t.getRef(n_),a=t.getRef(v.iL),s=t.currentSpan;if(void 0===s||"ExternalSpan"===s._tag)return;let o={};for(let[e,t]of Object.entries(a))o[e]=t;o["effect.fiberId"]=t.id,o["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(o["effect.cause"]=eo(e)),s.event((0,h.ZK)(Array.isArray(i)&&1===i.length?i[0]:i),n.currentTimeNanosUnsafe(),o)}),ax=ev(void 0),aN=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>im(e,e=>(0,w.R6)(r=>(aC(r,e,t?.defectsOnly),eq)))),aC=(e,t,r)=>{let i=e.getRef(v.oQ);if(0===i.size||r&&!U(t))return;let n={cause:t,fiber:e,timestamp:e.getRef(n_).currentTimeNanosUnsafe()};i.forEach(e=>e.report(n))}},5678(e,t,r){let i=new WeakSet;r.d(t,{},{J:i,X:e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t}})},7317(e,t,r){var i=r(2730),n=r(7292),a=r(3536),s=r(8294),o=r(8527),l=r(1371),c=r(8579);let d="~effect/data/Option",m={[d]:{_A:e=>e},...c.fU,[Symbol.iterator](){return new l.B(this)}},u=Object.defineProperty(Object.assign(Object.create(m),{_tag:"Some",_op:"Some",[i.HR](e){return g(e)&&y(e)&&i.aI(this.value,e.value)},[a.HR](){return a.kg(a.tW(this._tag))(a.tW(this.value))},toString(){return`some(${(0,n.GP)(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:(0,s.aB)(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),p=a.tW("None"),h=Object.assign(Object.create(m),{_tag:"None",_op:"None",valueOrUndefined:void 0,[i.HR]:e=>g(e)&&f(e),[a.HR]:()=>p,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),g=e=>(0,o.i5)(e,d),f=e=>"None"===e._tag,y=e=>"Some"===e._tag,A=Object.create(h);r.d(t,{},{$I:f,Ru:y,dv:A,oL:g,zN:e=>{let t=Object.create(u);return t.value=e,t}})},9496(e,t,r){let i=new WeakMap,n=e=>{if(i.has(e))return i.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))};r.d(t,{},{Uq:n,m7:i,tC:e=>"string"==typeof e?e:n(e)})},3894(e,t,r){var i=r(9605),n=r(9920);let a=i.Or("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),s=i.Or("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),o=i.Or("effect/References/CurrentStackFrame",{defaultValue:n.MN}),l=i.Or("effect/References/TracerEnabled",{defaultValue:n.ue}),c=i.Or("effect/References/TracerTimingEnabled",{defaultValue:n.ue}),d=i.Or("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),m=i.Or("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),u=i.Or("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),p=i.Or("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),h=i.Or("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),g=i.Or("effect/References/UnhandledLogLevel",{defaultValue:()=>"Error"}),f=i.Or("effect/References/CurrentLogSpans",{defaultValue:()=>[]});r.d(t,{},{F8:a,Gl:p,aG:g,ce:d,d8:f,iL:u,ls:m,nU:c,oQ:s,rf:l,vA:o,zQ:h})},9145(e,t,r){var i=r(2730),n=r(7292),a=r(9920),s=r(3536),o=r(8294),l=r(8527),c=r(1371),d=r(8579),m=r(7317);let u="~effect/data/Result",p={[u]:{_A:e=>e,_E:e=>e},...d.fU,[Symbol.iterator](){return new c.B(this)}},h=Object.assign(Object.create(p),{_tag:"Success",_op:"Success",[i.HR](e){return f(e)&&A(e)&&i.aI(this.success,e.success)},[s.HR](){return s.kg(s.tW(this._tag))(s.tW(this.success))},toString(){return`success(${(0,n.GP)(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:(0,o.aB)(this.success)}}}),g=Object.assign(Object.create(p),{_tag:"Failure",_op:"Failure",[i.HR](e){return f(e)&&y(e)&&i.aI(this.failure,e.failure)},[s.HR](){return s.kg(s.tW(this._tag))(s.tW(this.failure))},toString(){return`failure(${(0,n.GP)(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:(0,o.aB)(this.failure)}}}),f=e=>(0,l.i5)(e,u),y=e=>"Failure"===e._tag,A=e=>"Success"===e._tag,b=e=>{let t=Object.create(g);return t.failure=e,t},x=e=>{let t=Object.create(h);return t.success=e,t},N=(0,a.XY)(2,(e,t)=>m.$I(e)?b(t()):x(e.value));r.d(t,{},{L8:e=>A(e)?m.dv:m.zN(e.failure),N6:y,Oz:e=>y(e)?m.dv:m.zN(e.success),Py:x,aI:f,fJ:b,oJ:A,sV:N})},5994(e,t,r){var i=r(9920);function n(e){return e.checks?e.checks[e.checks.length-1].annotations:e.annotations}function a(e){return t=>n(t)?.[e]}let s=a("identifier"),o=a("title"),l=a("description"),c=a("brands"),d=(0,i.Bj)(e=>{let t=s(e);return"string"==typeof t?t:e.getExpected(d)});r.d(t,{hd:()=>n,ip:()=>a},{DQ:o,KE:s,NK:c,Pk:l,bo:d})},6311(e,t,r){var i=r(8149),n=r(2340);function a(e){let t;for(let r of e.reasons){if(!i.lC(r)||!n.gh(r.error))return;t??=r.error}return t}function s(e,t){let r=a(e);if(void 0===r)throw Error(t,{cause:e});return r}r.d(t,{R:()=>a,q:()=>s})},58(e,t,r){let i,n=Object.getOwnPropertyDescriptor,a=Object.prototype.hasOwnProperty,s=Object.isExtensible,o=void 0===(i=n(Error,"stackTraceLimit"))?s(Error):a.call(i,"writable")?!0===i.writable:void 0!==i.set;r.d(t,{},{ft:e=>{o&&(Error.stackTraceLimit=e)},jt:()=>Error.stackTraceLimit})},9002(e,t,r){var i=r(9605),n=r(2730),a=r(3558),s=r(9920),o=r(3536),l=r(8294),c=(r(8527),r(7045)),d=r(8629),m=r(1036);r(7464),r(5030);let u=Symbol.for("~effect/http/Headers"),p=Object.defineProperties(Object.create(null),{[u]:{value:u},[d.uC]:{value(e){return C(this,i.Jt(e,S))}},toJSON:{value(){return d.E$(this)}},[n.HR]:{value(e){return g(this,e)}},[o.HR]:{value(){return o.QK(this)}},toString:{value:l.os.toString},[l.FX]:{value:l.os[l.FX]}}),h=e=>Object.assign(Object.create(p),e),g=c.T9(a.YZ()),f=Object.create(p),y=e=>{if(void 0===e)return f;if(Symbol.iterator in e){let t=Object.create(p);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(p);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},A=(0,s.XY)(3,(e,t,r)=>{let i=h(e);return i[t.toLowerCase()]=r,i}),b=(0,s.XY)(2,(e,t)=>h({...e,...y(t)})),x=(0,s.XY)(2,(e,t)=>{let r=h(e);return Object.assign(r,t),r}),N=(0,s.XY)(2,(e,t)=>{let r=h(e);return delete r[t.toLowerCase()],r}),C=(0,s.XY)(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=m.L8(e[i]))}else for(let i in e)t.test(i)&&(r[i]=m.L8(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),S=i.Or("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]});r.d(t,{},{Au:b,E$:C,Ie:f,Kh:e=>Object.setPrototypeOf(e,p),TF:N,h1:x,hZ:A,lX:y,yr:S})},3818(e,t,r){r.d(t,{Qq:()=>C,$T:()=>R,L8:()=>E});var i=r(8149),n=r(9605),a=r(702),s=r(9920),o=r(8294),l=r(8275),c=r(6437),d=r(2544),m=r(2917),u=r(1260),p=r(4465),h=r(9002),g=r(855),f=r(9858),y=r(4290),A=r(2103),b=r(1160);class x extends b.rN("UrlError"){}let N="~effect/http/HttpClient",C=n.kl("effect/HttpClient"),S=(0,s.XY)(2,(e,t)=>I(r=>t(e.postprocess(r)),e.preprocess));y.p$;let I=(e,t)=>{let r=Object.create(w);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},w={[N]:N,pipe(){return(0,d.tT)(this,arguments)},...o.os,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(f.L8(e)(t,r))}]))},E=e=>I(t=>a.qIB(t,t=>a.R6R(r=>{let n,s,o,l=k.get(t),d=l??new AbortController,u=(n=t.url,s=t.urlParams,o=c.getOrUndefined(t.hash),m.Sv({try:()=>{let e=new URL(n,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<s.params.length;t++){let[r,i]=s.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==o&&(e.hash=o),e},catch:e=>new x({cause:e})}));if(m.N6(u))return a.fJG(new g.Kg({reason:new g.bL({request:t,cause:u.failure})}));let y=u.success;if(r.getRef(p.DW)||r.getRef(v)(t)){let n=e(t,y,d.signal,r);return l?n:a.FcF(e=>a.khu(e(n),{onSuccess:e=>(O.register(e,d),a.PyW(new T(e,d))),onFailure:e=>(i.pr(e)&&d.abort(),a.ATB(e))}))}return a.gvr(r.getRef(P)(t),{kind:"client"},n=>{n.attribute("http.request.method",t.method),n.attribute("server.address",y.origin),""!==y.port&&n.attribute("server.port",+y.port),n.attribute("url.full",y.toString()),n.attribute("url.path",y.pathname),n.attribute("url.scheme",y.protocol.slice(0,-1));let s=y.search.slice(1);""!==s&&n.attribute("url.query",s);let o=r.getRef(h.yr),m=h.E$(t.headers,o);for(let e in m)n.attribute(`http.request.header.${e}`,String(m[e]));return t=r.getRef(B)?f.lL(t,h.Kh({b3:`${n.traceId}-${n.spanId}-${n.sampled?"1":"0"}${c.match(n.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${n.traceId}-${n.spanId}-${n.sampled?"01":"00"}`})):t,a.FcF(s=>s(e(t,y,d.signal,r)).pipe(a.hq(n,{captureStackTrace:!1}),a.khu({onSuccess:e=>{n.attribute("http.response.status_code",e.status);let t=h.E$(e.headers,o);for(let e in t)n.attribute(`http.response.header.${e}`,String(t[e]));return l?a.PyW(e):(O.register(e,d),a.PyW(new T(e,d)))},onFailure:e=>(!l&&i.pr(e)&&d.abort(),a.ATB(e))})))})})),a.PyW),v=n.Or("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>s.f4}),B=n.Or("effect/HttpClient/TracerPropagationEnabled",{defaultValue:s.ue}),P=n.Or("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),R=e=>l.QZ(C)(a.sxi(t=>a.TjK(e,e=>S(e,a.r_d(e=>n.h1(t,e)))))),O=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),k=new WeakMap;class T{original;controller;constructor(e,t){this.original=e,this.controller=t}[y.ii]=y.ii;[A.ii]=A.ii;applyInterrupt(e){return a.DYE(()=>(O.unregister(this.original),a.nAr(e,()=>a.OH5(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){return u.DYE(()=>(O.unregister(this.original),u.yeE(this.original.stream,a.OH5(()=>{this.controller.abort()}))))}toJSON(){return this.original.toJSON()}[o.FX](){return this.original[o.FX]()}pipe(){return(0,d.tT)(this,arguments)}}},855(e,t,r){var i=r(1160);r(7464);let n="~effect/http/HttpClientError";class a extends i.rN("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[n]=n;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let s=e=>e.endsWith("Error")?e.slice(0,-5):e,o=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class l extends i.rN("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return o(s(this._tag),this.description,this.methodAndUrl)}}class c extends i.rN("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return o(s(this._tag),this.description,this.methodAndUrl)}}class d extends i.rN("StatusCodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return o(s(this._tag),this.description,e)}}class m extends i.rN("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return o(s(this._tag),this.description,e)}}class u extends i.rN("EmptyBodyError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return o(s(this._tag),this.description,e)}}r.d(t,{CY:()=>d,Kg:()=>a,Xc:()=>m,bL:()=>c,oL:()=>u,wX:()=>l})},9858(e,t,r){r.d(t,{hC:()=>v,hk:()=>M,L8:()=>N,bE:()=>C,lL:()=>E});var i=r(9920),n=r(8294),a=r(9496),s=r(6437),o=r(2544),l=r(8629),c=r(9002),d=r(7292);let m="~effect/http/HttpBody";class u{[m];constructor(){this[m]=m}[n.FX](){return this.toJSON()}toString(){return(0,d.GP)(this,{ignoreToString:!0})}}let p=new class extends u{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class h extends u{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let g=new TextEncoder;var f=r(2479);let y="~effect/http/HttpClientRequest",A={[y]:y,...n.os,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:(0,l.E$)(this.headers),body:this.body.toJSON()}},pipe(){return(0,o.tT)(this,arguments)}};function b(e,t,r,i,n,a){let s=Object.create(A);return s.method=e,s.url=t,s.urlParams=r,s.hash=i,s.headers=n,s.body=a,s}let x=b("GET","",f.Ie,s.none(),c.Ie,p),N=e=>(t,r)=>S(x,{method:e,url:t,...r??void 0}),C=N("POST"),S=(0,i.XY)(2,(e,t)=>{let r=e;return t.method&&(r=I(r,t.method)),t.url&&(r=R(r,t.url)),t.headers&&(r=E(r,t.headers)),t.urlParams&&(r=O(r,t.urlParams)),t.hash&&(r=k(r,t.hash)),t.body&&(r=T(r,t.body)),t.accept&&(r=B(r,t.accept)),t.acceptJson&&(r=P(r)),r}),I=(0,i.XY)(2,(e,t)=>b(t,e.url,e.urlParams,e.hash,e.headers,e.body)),w=(0,i.XY)(3,(e,t,r)=>b(e.method,e.url,e.urlParams,e.hash,c.hZ(e.headers,t,r),e.body)),E=(0,i.XY)(2,(e,t)=>b(e.method,e.url,e.urlParams,e.hash,c.Au(e.headers,t),e.body)),v=(0,i.XY)(2,(e,t)=>w(e,"Authorization",`Bearer ${(0,a.tC)(t)}`)),B=(0,i.XY)(2,(e,t)=>w(e,"Accept",t)),P=B("application/json"),R=(0,i.XY)(2,(e,t)=>{if("string"==typeof t)return b(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=f.lX(r.searchParams),n=s.fromNullishOr(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",b(e.method,r.toString(),i,n,e.headers,e.body)}),O=(0,i.XY)(2,(e,t)=>b(e.method,e.url,f.Au(e.urlParams,t),e.hash,e.headers,e.body)),k=(0,i.XY)(2,(e,t)=>b(e.method,e.url,e.urlParams,s.some(t),e.headers,e.body)),T=(0,i.XY)(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=c.TF(c.TF(r,"Content-Type"),"Content-length"):(t.contentType&&(r=c.hZ(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=c.hZ(r,"content-length",t.contentLength.toString()))),b(e.method,e.url,e.urlParams,e.hash,r,t)}),M=(0,i.XY)(2,(e,t)=>{var r,i;let n;return T(e,(r=JSON.stringify(t),i=(void 0)??"application/json",new h(n=g.encode(r),i??"text/plain"??"application/octet-stream",n.length)))})},4290(e,t,r){r.d(t,{ii:()=>w,p$:()=>v,tO:()=>E});var i=r(702),n=r(8294),a=r(6437),s=r(2544),o=r(1260),l=r(1160),c=r(6292),d=r(8527),m=r(7045),u=(r(2917),r(7464));r(5030);let p="~effect/http/Cookies",h="~effect/http/Cookies/Cookie",g=(e=>d.i5(e,h),"~effect/http/Cookies/CookieError");class f extends l.$D{}let y={[p]:p,...n.os,toJSON(){return{_id:"effect/Cookies",cookies:m.Tj(this.cookies,e=>e.toJSON())}},pipe(){return(0,s.tT)(this,arguments)}},A=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,b={[h]:h,...n.os,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}};u.QfV,u.QfV;let x=e=>{try{return decodeURIComponent(e)}catch(t){return e}};var N=r(9002),C=r(855),S=r(2103),I=r(2479);let w="~effect/http/HttpClientResponse",E=(e,t)=>new B(e,t),v=e=>e.status>=200&&e.status<300?i.PyW(e):i.fJG(new C.Kg({reason:new C.CY({response:e,request:e.request,description:"non 2xx status code"})}));class B extends n.Xs{[S.ii];[w];request;source;constructor(e,t){super(),this.request=e,this.source=t,this[S.ii]=S.ii,this[w]=w}toJSON(){return S.Nn(this,{_id:"HttpClientResponse",request:this.request.toJSON(),status:this.status})}get status(){return this.source.status}get headers(){return N.lX(this.source.headers)}cachedCookies;get cookies(){return this.cachedCookies?this.cachedCookies:this.cachedCookies=(e=>{var t;let r,i=[];for(let t of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!A.test(i))return;let n=t[0].slice(r+1),a=x(n);if(1===t.length)return Object.assign(Object.create(b),{name:i,value:a,valueEncoded:n});let s={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),n=-1===i?r:r.slice(0,i).trim(),a=-1===i?void 0:r.slice(i+1).trim();switch(n.toLowerCase()){case"domain":{if(void 0===a)break;let e=a.trim().replace(/^\./,"");e&&(s.domain=e);break}case"expires":{if(void 0===a)break;let e=new Date(a);isNaN(e.getTime())||(s.expires=e);break}case"max-age":{if(void 0===a)break;let e=parseInt(a,10);isNaN(e)||(s.maxAge=c.YA(e));break}case"path":if(void 0===a)break;"/"===a[0]&&(s.path=a);break;case"priority":if(void 0===a)break;switch(a.toLowerCase()){case"low":s.priority="low";break;case"medium":s.priority="medium";break;case"high":s.priority="high"}break;case"httponly":s.httpOnly=!0;break;case"secure":s.secure=!0;break;case"partitioned":s.partitioned=!0;break;case"samesite":if(void 0===a)break;switch(a.toLowerCase()){case"lax":s.sameSite="lax";break;case"strict":s.sameSite="strict";break;case"none":s.sameSite="none"}}}return Object.assign(Object.create(b),{name:i,value:a,valueEncoded:n,options:Object.keys(s).length>0?s:void 0})}(t.trim());e&&i.push(e)}let n={};for(let e of i)n[e.name]=e;return t=n,(r=Object.create(y)).cookies=t,r})(this.source.headers.getSetCookie())}get remoteAddress(){return a.none()}get stream(){return this.source.body?o.fph({evaluate:()=>this.source.body,onError:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}):o.fJG(new C.Kg({reason:new C.oL({request:this.request,response:this,description:"can not create stream from empty body"})}))}get json(){return i.qIB(this.text,e=>i.SvU({try:()=>""===e?null:JSON.parse(e),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=i.$mh({try:()=>this.source.text(),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF),this.arrayBufferBody=i.TjK(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return i.qIB(this.text,e=>i.SvU({try:()=>I.lX(new URLSearchParams(e)),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=i.$mh({try:()=>this.source.formData(),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=i.$mh({try:()=>this.source.arrayBuffer(),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF),this.textBody=i.TjK(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}pipe(){return(0,s.tT)(this,arguments)}}},2103(e,t,r){var i=r(702),n=r(8629);r.d(t,{},{Nn:(e,t)=>{let r,a=e.headers["content-type"]??"";if(a.includes("application/json"))try{r=i.HZF(e.json)}catch(e){}else if(a.includes("text/")||a.includes("urlencoded"))try{r=i.HZF(e.text)}catch(e){}let s={...t,headers:(0,n.E$)(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(s.body=r),s},ii:"~effect/http/HttpIncomingMessage"})},2479(e,t,r){r.d(t,{Ie:()=>x,lX:()=>f,Au:()=>N});var i=r(3207),n=r(2730),a=r(3558),s=r(9920),o=r(3536),l=r(8579),c=r(8527),d=r(7464),m=(r(5030),r(606));let u=a.rd;m.rd;let p="~effect/http/UrlParams",h={...l.fU,[p]:p,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[n.HR](e){return A(this,e)},[o.HR](){return o.YO(this.params.flat())}},g=e=>{let t=Object.create(h);return t.params=e,t},f=e=>{let t;if(t=e,(0,c.i5)(t,p))return e;let r=y(e),i=[];for(let e=0;e<r.length;e++)if(Array.isArray(r[e][0])){let[t,n]=r[e];i.push([`${t[0]}[${t.slice(1).join("][")}]`,n])}else i.push(r[e]);return g(i)},y=e=>{let t="function"==typeof e[Symbol.iterator]?i.Ts(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,n]of y(i))r.push([[e,..."string"==typeof t?[t]:t],n]);else void 0!==i&&r.push([e,String(i)]);return r},A=a.L8((e,t)=>b(e.params,t.params)),b=i.T9(u([a.YZ(),a.YZ()])),x=g([]),N=(0,s.XY)(2,(e,t)=>{let r=f(t),i=r.params,n=new Set;for(let e=0;e<i.length;e++)n.add(i[e][0]);for(let t=0;t<e.params.length;t++)n.has(e.params[t][0])||i.push(e.params[t]);return r});d.QfV,d.QfV,d.QfV},1306(e,t,r){var i=r(9605),n=r(6621),a=r(9616);let s="~effect/unstable/process/ChildProcess",o={...n.b({label:"Command",evaluate(e){return i.fp(e.context,a.CV).spawn(this)}}),[s]:s},l=(e,t,r)=>Object.assign(Object.create(o),{_tag:"StandardCommand",command:e,args:t,options:r}),c=e=>Array.isArray(e)&&"raw"in e&&Array.isArray(e.raw),d=(e,t)=>{let r=[];for(let[i,n]of e.entries())r=m(e,t,r,n,i);return r},m=(e,t,r,i,n)=>{let a=e.raw[n];if(void 0===a)throw Error(`Invalid backslash sequence: ${e.raw[n]}`);let{hasLeadingWhitespace:s,hasTrailingWhitespace:o,tokens:l}=g(i,a),c=f(r,l,s);if(n===t.length)return c;let d=t[n];return f(c,Array.isArray(d)?d.map(e=>u(e)):[u(d)],o)},u=e=>"string"==typeof e?e:String(e),p=new Set([" "," ","\r","\n"]),h={x:3,u:5},g=(e,t)=>{if(0===t.length)return{tokens:[],hasLeadingWhitespace:!1,hasTrailingWhitespace:!1};let r=p.has(t[0]),i=[],n=0;for(let r=0,a=0;r<e.length;r+=1,a+=1){let s=t[a];if(p.has(s))n!==r&&i.push(e.slice(n,r)),n=r+1;else if("\\"===s){let e=t[a+1];"\n"===e?(r-=1,a+=1):"u"===e&&"{"===t[a+2]?a=t.indexOf("}",a+3):a+=h[e]??1}}let a=n===e.length;return a||i.push(e.slice(n)),{tokens:i,hasLeadingWhitespace:r,hasTrailingWhitespace:a}},f=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t.at(0)}`,...t.slice(1)];r.d(t,{},{FC:e=>{let t=/^fd(\d+)$/.exec(e);if(null===t)return;let r=parseInt(t[1],10);return r>=3?r:void 0},L8:function(...e){if(c(e[0])){let[t,...r]=e,i=d(t,r);return l(i[0]??"",i.slice(1),{})}if("object"==typeof e[0]&&!Array.isArray(e[0])&&!c(e[0])){let t=e[0];return function(e,...r){let i=d(e,r);return l(i[0]??"",i.slice(1),t)}}if("string"==typeof e[0]&&!Array.isArray(e[1])){let[t,r={}]=e;return l(t,[],r)}let[t,r=[],i={}]=e;return l(t,r,i)},YF:e=>`fd${e}`})},9616(e,t,r){var i=r(347),n=r(9605),a=r(702),s=r(8294),o=r(1260);let l=i.HC(),c=i.HC(),d="~effect/ChildProcessSpawner/ChildProcessHandle",m={[d]:d,...s.os,toJSON(){return{_id:"ChildProcessHandle",pid:this.pid}}};class u extends n.kl()("effect/process/ChildProcessSpawner"){}r.d(t,{CV:()=>u},{L8:e=>{let t=(t,r)=>e(t).pipe(a.TjK(e=>o.g7H(r?.includeStderr===!0?e.all:e.stdout)),o.oAg),r=(e,r)=>o.uzs(t(e,r));return u.of({spawn:e,exitCode:t=>a.P1j(a.qIB(e(t),e=>e.exitCode)),streamString:t,streamLines:r,lines:(e,t)=>o.sZ3(r(e,t)),string:(e,r)=>o.kBx(t(e,r))})},hA:e=>Object.assign(Object.create(m),e),xv:c,yU:l})}},u={};function p(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return m[e].call(r.exports,r,r.exports,p),r.exports}p.c=u,i=(r="function"==typeof Symbol)?Symbol("rspack queues"):"__rspack_queues",n=p.aE=r?Symbol("rspack exports"):"__webpack_exports__",a=r?Symbol("rspack error"):"__rspack_error",s=r?Symbol("rspack done"):"__rspack_done",o=p.zS=r?Symbol("rspack defer"):"__rspack_defer",p.zT=e=>{if(e.some(e=>{var t=u[e];return!t||!1===t[s]}))return{then:(t,r)=>Promise.all(e.map(p)).then(t,r)}},l=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},p.a=(e,t,r)=>{r&&((c=[]).d=-1);var c,d,m,u,h=new Set,g=e.exports,f=new Promise((e,t)=>{u=t,m=e});f[n]=g,f[i]=e=>{c&&e(c),h.forEach(e),f.catch(()=>{})},e.exports=f,t(e=>{d=e.map(e=>{if(null!==e&&"object"==typeof e){if(!e[i]&&e[o]){var t=p.zT(e[o]);if(!t)return e;var r=e;e={then(e,i){t.then(()=>e(r),i)}}}if(e[i])return e;if(e.then){var s=[];s.d=0,e.then(e=>{c[n]=e,l(s)},e=>{c[a]=e,l(s)});var c={};return c[o]=!1,c[i]=e=>e(s),c}}var d={};return d[i]=()=>{},d[n]=e,d});var t,r=()=>d.map(e=>{if(e[o])return e;if(e[a])throw e[a];return e[n]}),s=new Promise(e=>{(t=()=>e(r)).r=0;var n=e=>e!==c&&!h.has(e)&&(h.add(e),e&&!e.d&&(t.r++,e.push(t)));d.map(e=>e[o]||e[i](n))});return t.r?s:r()},e=>(e?u(f[a]=e):m(g),l(c),f[s]=!0)),c&&c.d<0&&(c.d=0)},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);p.r(r);var i={};c=c||[null,d({}),d([]),d(d)];for(var n=2&t&&e;("object"==typeof n||"function"==typeof n)&&!~c.indexOf(n);n=d(n))Object.getOwnPropertyNames(n).forEach(t=>{i[t]=()=>e[t]});return i.default=()=>e,p.d(r,i),r},p.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)p.o(t,i)&&!p.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h=p(6850),g=(h=await h).$7,f=h.hA,y=h.bE;export{g as PostLive,f as makePost,y as post}; \ No newline at end of file diff --git a/.github/actions/local/dist/turbo-server.js b/.github/actions/local/dist/turbo-server.js index 0f4d1d98..4ef49713 100644 --- a/.github/actions/local/dist/turbo-server.js +++ b/.github/actions/local/dist/turbo-server.js @@ -5,7 +5,7 @@ import{fileURLToPath as e}from"node:url";var t=e(import.meta.url);import{createR `;if(i.username||i.password){let e=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(s.Host=`${n}:${t.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(s)))o+=`${e}: ${s[e]}\r `;let c=(0,u.parseProxyResponse)(r);r.write(`${o}\r `);let{connect:d,buffered:g}=await c;if(e.emit("proxyConnect",d),this.emit("proxyConnect",d,e),200===d.statusCode)return(e.once("socket",C),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),A.connect({...I(m(t),"host","path","port"),socket:r})):r;r.destroy();let p=new a.Socket({writable:!1});return p.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,l.default)(e.listenerCount("data")>0),e.push(g),e.push(null)}),p}}function C(e){e.resume()}function I(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}p.protocols=["http","https"],t.HttpsProxyAgent=p},679(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let s=(0,i(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let i=0,n=[];function o(){let A=e.read();A?function(A){n.push(A),i+=A.length;let l=Buffer.concat(n,i),c=l.indexOf("\r\n\r\n");if(-1===c){s("have not received end of HTTP headers yet..."),o();return}let d=l.slice(0,c).toString("ascii").split("\r\n"),g=d.shift();if(!g)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let u=g.split(" "),h=+u[1],m=u.slice(2).join(" "),p={};for(let t of d){if(!t)continue;let i=t.indexOf(":");if(-1===i)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let s=t.slice(0,i).toLowerCase(),n=t.slice(i+1).trimStart(),o=p[s];"string"==typeof o?p[s]=[o,n]:Array.isArray(o)?o.push(n):p[s]=n}s("got proxy server response: %o %o",g,p),a(),t({connect:{statusCode:h,statusText:m,headers:p},buffered:l})}(A):e.once("readable",o)}function a(){e.removeListener("end",A),e.removeListener("error",l),e.removeListener("readable",o)}function A(){a(),s("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function l(e){a(),s("onerror %o",e),r(e)}e.on("error",l),e.on("end",A),o()})}},9049(e){function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,s,n,o,a=typeof e;if("string"===a&&e.length>0){var A=e;if(!((A=String(A)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(s=Math.abs(i=e))>=864e5?t(i,s,864e5,"day"):s>=36e5?t(i,s,36e5,"hour"):s>=6e4?t(i,s,6e4,"minute"):s>=1e3?t(i,s,1e3,"second"):i+" ms":(o=Math.abs(n=e))>=864e5?Math.round(n/864e5)+"d":o>=36e5?Math.round(n/36e5)+"h":o>=6e4?Math.round(n/6e4)+"m":o>=1e3?Math.round(n/1e3)+"s":n+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let i,s=r(857),n=r(2018),o=r(1533),{env:a}=process;function A(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===i)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===i)return 0;let r=i||0;if("dumb"===a.TERM)return r;if("win32"===process.platform){let e=s.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:r;if("TEAMCITY_VERSION"in a)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION);if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){let e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?i=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(i=1),"FORCE_COLOR"in a&&(i="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return A(l(e,e&&e.isTTY))},stdout:A(l(!0,n.isatty(1))),stderr:A(l(!0,n.isatty(2)))}},3006(e,r,i){i(5183);let s=i(6873);i(6334),i(4967),i(1326);let n=i(5891);i(6400),i(3614),i(9741),i(9003),i(8392),i(473);let o=i(8065),a=i(1210),{InvalidArgumentError:A}=o,l=i(8769);i(5010),i(375);let{MockCallHistory:c,MockCallHistoryLog:d}=i(2137);i(6923),i(8182),i(2817),i(8531),i(4166);let{getGlobalDispatcher:g,setGlobalDispatcher:u}=i(8023);function h(e){return(t,r,i)=>{if("function"==typeof r&&(i=r,r=null),!t||"string"!=typeof t&&"object"!=typeof t&&!(t instanceof URL))throw new A("invalid url");if(null!=r&&"object"!=typeof r)throw new A("invalid opts");if(r&&null!=r.path){if("string"!=typeof r.path)throw new A("invalid opts.path");let e=r.path;r.path.startsWith("/")||(e=`/${e}`),t=new URL(a.parseOrigin(t).origin+e)}else r||(r="object"==typeof t?t:{}),t=a.parseURL(t);let{agent:s,dispatcher:n=g(),...o}=r;if(s)throw new A("unsupported opts.agent. Did you mean opts.client?");return e.call(n,{...o,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},i)}}i(2645),i(7424),Object.assign(s.prototype,l),e.exports.g6=n,i(7884),i(3128),i(9620),i(5850),i(4053),i(6056),i(9287),i(7870),i(415),i(7068),a.parseHeaders,a.headerNameToString;let m=i(7564).fetch;e.exports.hd=function(r,i){return m(r,i).catch(r=>{throw t?!function e(t,r){if(!t||"object"!=typeof t)return;let i="string"==typeof t.stack?t.stack:"",s=r.replace(/\\/g,"/");if(i&&(i.includes(r)||i.includes(s)))return;let n={};if(Error.captureStackTrace(n,e),!n.stack)return;let o=n.stack.split("\n").slice(1).join("\n");t.stack=i?`${i} -${o}`:n.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.hd),r})},e.exports.Lr=i(3470).Headers,e.exports.YK=i(165).Response,e.exports.Kd=i(9553).Request,e.exports.fS=i(1304).FormData;let{setGlobalOrigin:p,getGlobalOrigin:C}=i(1045),{CacheStorage:I}=i(3691),{kConstruct:E}=i(3025);new I(E);let{deleteCookie:f,getCookies:B,getSetCookies:y,setCookie:Q,parseCookie:N}=i(5823),{parseMIMEType:b,serializeAMimeType:S}=i(3518),{CloseEvent:w,ErrorEvent:D,MessageEvent:x}=i(7342),{WebSocket:R,ping:M}=i(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=D,e.exports.aM=x,i(3867).WebSocketStream,i(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:k}=i(7288);e.exports.GD=k},4032(e,t,r){let{addAbortListener:i}=r(1210),{RequestAbortedError:s}=r(8065),n=Symbol("kListener"),o=Symbol("kSignal");function a(e){e.abort?e.abort(e[o]?.reason):e.reason=e[o]?.reason??new s,A(e)}function A(e){e[o]&&("removeEventListener"in e[o]?e[o].removeEventListener("abort",e[n]):e[o].removeListener("abort",e[n]),e[o]=null,e[n]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[o]=null,e[n]=null,t){if(t.aborted)return void a(e);e[o]=t,e[n]=()=>{a(e)},i(e[o],e[n])}},removeSignal:A}},5854(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{InvalidArgumentError:n,SocketError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new n("invalid opts");if("function"!=typeof t)throw new n("invalid callback");let{signal:r,opaque:i,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new o("bad connect",null)}onRequestUpgrade(e,t,r,i){let{callback:s,opaque:n,context:o}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?a.parseRawHeaders(c):r),this.runInAsyncScope(s,null,null,{statusCode:t,headers:A,socket:i,opaque:n,context:o})}onResponseError(e,t){let{callback:r,opaque:i}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r),i={...t,method:"CONNECT"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},4372(e,t,r){let{Readable:i,Duplex:s,PassThrough:n}=r(7075),o=r(4589),{AsyncResource:a}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:g}=r(3025),{addSignal:u,removeSignal:h}=r(4032);function m(){}let p=Symbol("resume");class C extends i{constructor(){super({autoDestroy:!0}),this[p]=null,this[g]=!0}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}}class I extends i{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class E extends a{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:i,opaque:n,onInfo:o,responseHeaders:a}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new A("invalid method");if(o&&"function"!=typeof o)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=n||null,this.responseHeaders=a||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new C().on("error",m),this.ret=new s({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:i}=this;i.push(e,t)||i._readableState.destroyed?r():i[p]=r},destroy:(e,t)=>{let{body:r,req:i,res:s,ret:n,abort:o}=this;e||n._readableState.endEmitted||(e=new c),o&&e&&o(),d.destroy(r,e),d.destroy(i,e),d.destroy(s,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(o(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let s,{opaque:n,handler:o,context:a}=this;if(t<200){if(this.onInfo){let i=e?.rawHeaders,s="raw"===this.responseHeaders?d.parseRawHeaders(i):r;this.onInfo({statusCode:t,headers:s})}return}this.res=new I(()=>e.resume());try{this.handler=null;let i=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(i):r;s=this.runInAsyncScope(o,null,{statusCode:t,headers:A,opaque:n,body:this.res,context:a})}catch(e){throw this.res.on("error",m),e}if(!s||"function"!=typeof s.on)throw new l("expected Readable");s.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=s}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new E(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new n().destroy(e)}}},2545(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{Readable:n}=r(7769),{InvalidArgumentError:o,RequestAbortedError:a}=r(8065),A=r(1210);function l(){}class c extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new o("invalid opts");let{signal:r,method:i,opaque:s,body:n,onInfo:c,responseHeaders:d,highWaterMark:g}=e;try{if("function"!=typeof t)throw new o("invalid callback");if(null!=g&&(!Number.isFinite(g)||g<0))throw new o("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new o("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new o("invalid method");if(c&&"function"!=typeof c)throw new o("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(n)&&A.destroy(n.on("error",l),e),e}this.method=i,this.responseHeaders=d||null,this.opaque=s||null,this.callback=t,this.res=null,this.abort=null,this.body=n,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=g,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new a:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new a,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let{callback:s,opaque:o,context:a,responseHeaders:c,highWaterMark:d}=this,g=e?.rawHeaders,u="raw"===c?A.parseRawHeaders(g):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}let h=r?.["content-type"],m=r?.["content-length"],p=new n({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener&&(p.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=p,null!==s)try{this.runInAsyncScope(s,null,null,{statusCode:t,statusText:i,headers:u,trailers:this.trailers,opaque:o,body:p,context:a})}catch(e){this.res=null,A.destroy(p.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:i,body:s,opaque:n}=this;i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:n})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),s&&(this.body=null,A.isStream(s)&&(s.on("error",l),A.destroy(s,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{InvalidArgumentError:n,InvalidReturnValueError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends s{constructor(e,t,r){if(!e||"object"!=typeof e)throw new n("invalid opts");let{signal:i,method:s,opaque:o,body:l,onInfo:d,responseHeaders:g}=e;try{if("function"!=typeof r)throw new n("invalid callback");if("function"!=typeof t)throw new n("invalid factory");if(i&&"function"!=typeof i.on&&"function"!=typeof i.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");if("CONNECT"===s)throw new n("invalid method");if(d&&"function"!=typeof d)throw new n("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw a.isStream(l)&&a.destroy(l.on("error",c),e),e}this.responseHeaders=g||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,a.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,i)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){var s;let n,A,l,c,d,{factory:g,opaque:u,context:h,responseHeaders:m}=this,p=e?.rawHeaders,C="raw"===m?a.parseRawHeaders(p):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:C});return}if(this.factory=null,null===g)return;let I=this.runInAsyncScope(g,null,{statusCode:t,headers:C,opaque:u,context:h});if(!I||"function"!=typeof I.write||"function"!=typeof I.end||"function"!=typeof I.on)throw new o("expected Writable");s=(e,t)=>{let{callback:r,res:i,opaque:s,trailers:n,abort:o}=this;this.res=null,(e||!i?.readable)&&a.destroy(i,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:s,trailers:n}),e&&o(e)},n=!1,A=(e,t=!1)=>{n||(n=!0,I.removeListener("close",l),I.removeListener("error",c),I.removeListener("finish",d),s(e,t))},l=()=>{let e;A(I.errored??I.writableErrored??I._writableState?.errored??(I.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),I.on("close",l),I.on("error",c),I.on("finish",d),I.closed?process.nextTick(l):I.writableFinished&&process.nextTick(d),I.on("drain",()=>e.resume()),this.res=I,!0===(void 0!==I.writableNeedDrain?I.writableNeedDrain:I._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:i,opaque:s,body:n}=this;l(this),this.factory=null,r?(this.res=null,a.destroy(r,t)):i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:s})})),n&&(this.body=null,a.destroy(n,t))}}e.exports=function e(t,r,i){if(void 0===i)return new Promise((i,s)=>{e.call(this,t,r,(e,t)=>e?s(e):i(t))});try{let e=new d(t,r,i);this.dispatch(t,e)}catch(r){if("function"!=typeof i)throw r;let e=t?.opaque;queueMicrotask(()=>i(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:i,SocketError:s}=r(8065),{AsyncResource:n}=r(6698),o=r(4589),a=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new i("invalid opts");if("function"!=typeof t)throw new i("invalid callback");let{signal:r,opaque:s,responseHeaders:n}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new i("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=n||null,this.opaque=s||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(o(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new s("bad upgrade",null)}onRequestUpgrade(e,t,r,i){if(t!==(!0===i[A]?200:101)){let t=!0===i[A]?null:a.getSocketInfo(i);e.abort(new s("bad upgrade",t));return}let{callback:n,opaque:o,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,g="raw"===this.responseHeaders?a.parseRawHeaders(d):r;this.runInAsyncScope(n,null,null,{headers:g,socket:i,opaque:o,context:l})}onResponseError(e,t){let{callback:r,opaque:i}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new d(t,r),i={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let i=r(4589),{addAbortListener:s}=r(8474),{Readable:n}=r(7075),{RequestAbortedError:o,NotSupportedError:a,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),g=Symbol("kConsume"),u=Symbol("kReading"),h=Symbol("kBody"),m=Symbol("kAbort"),p=Symbol("kContentType"),C=Symbol("kContentLength"),I=Symbol("kUsed"),E=Symbol("kBytesRead"),f=Symbol("kPreservedBuffer"),B=()=>{};function y(e,t){return i(!e[g]),new Promise((r,i)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[g]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",i).on("close",()=>{i(TypeError("unusable"))}):i(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[g]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]},e.on("error",function(e){w(this[g],e)}).on("close",function(){null!==this[g].body&&w(this[g],new o)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[f];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[f]=null}else if(t.bufferIndex){let r=t.bufferIndex,i=t.buffer.length;for(let s=r;s<i;s++)S(e,t.buffer[s])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?b(this[g],this._readableState.encoding):e.stream.on("end",function(){b(this[g],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[g])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let i=1===e.length?e[0]:Buffer.concat(e,t),s=i.length,n=3*(s>2&&239===i[0]&&187===i[1]&&191===i[2]);return r&&"utf8"!==r&&"utf-8"!==r?i.subarray(n,s).toString(r):i.utf8Slice(n,s)}function N(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),i=0;for(let t=0;t<e.length;++t){let s=e[t];r.set(s,i),i+=s.length}return r}function b(e,t){let{type:r,body:i,resolve:s,stream:n,length:o}=e;try{"text"===r?s(Q(i,o,t)):"json"===r?s(JSON.parse(Q(i,o,t))):"arrayBuffer"===r?s(N(i,o).buffer):"blob"===r?s(new Blob(i,{type:n[p]})):"bytes"===r&&s(N(i,o)),w(e)}catch(e){n.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends n{constructor({resume:e,abort:t,contentType:r="",contentLength:i,highWaterMark:s=65536}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[m]=t,this[g]=null,this[E]=0,this[h]=null,this[I]=!1,this[p]=r,this[C]=Number.isFinite(i)?i:null,this[u]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new o),e&&this[m](),this[I]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[u]=!0,this[I]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[E]+=e.length,this[g])?(S(this[g],e),!this[u]||super.push(e)):super.push(e)}text(){return y(this,"text")}json(){return y(this,"json")}blob(){return y(this,"blob")}bytes(){return y(this,"bytes")}arrayBuffer(){return y(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[g]&&(this[h].getReader(),i(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,i)=>{if((this[C]&&this[C]>r||this[E]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},n=s(t,r);this.on("close",function(){n[Symbol.dispose](),t.aborted?i(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",B).on("data",()=>{this[E]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,i=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&i.push(t);i.length>0&&(this[f]=(this[f]||[]).concat(i))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:i}=r(7075),{EventEmitter:s}=r(8474),{assertCacheKey:n,assertCacheValue:o}=r(8621);class a extends s{#e=1024;#t=0x6400000;#r=5242880;#i=0;#s=0;#n=new Map;#o=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#i}isFull(){return this.#i>=this.#t||this.#s>=this.#e}get(e){n(e);let t=`${e.origin}:${e.path}`,r=Date.now(),i=this.#n.get(t),s=i?A(e,i,r):null;return null==s?void 0:{statusMessage:s.statusMessage,statusCode:s.statusCode,headers:s.headers,body:s.body,vary:s.vary?s.vary:void 0,etag:s.etag,cacheControlDirectives:s.cacheControlDirectives,cachedAt:s.cachedAt,staleAt:s.staleAt,deleteAt:s.deleteAt}}createWriteStream(e,t){n(e),o(t);let r=`${e.origin}:${e.path}`,s=this,a={...e,...t,body:[],size:0};return new i({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),a.size+=e.byteLength,a.size>s.#r?this.destroy():a.body.push(e),r(null)},final(t){let i=s.#n.get(r);i||(i=[],s.#n.set(r,i));let n=A(e,i,Date.now());if(n){let e=i.indexOf(n);i.splice(e,1,a),s.#i-=n.size}else i.push(a),s.#s+=1;if(s.#i+=a.size,s.#i>s.#t||s.#s>s.#e){for(let[e,t]of(s.#o||(s.emit("maxSizeExceeded",{size:s.#i,maxSize:s.#t,count:s.#s,maxCount:s.#e}),s.#o=!0),s.#n)){for(let e of t.splice(0,t.length/2))s.#i-=e.size,s.#s-=1;0===t.length&&s.#n.delete(e)}s.#i<s.#t&&s.#s<s.#e&&(s.#o=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#n.get(t)??[])this.#i-=e.size,this.#s-=1;this.#n.delete(t)}}function A(e,t,r){for(let i=0;i<t.length;i++){let s=t[i];if(s.deleteAt>r&&s.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,s))return s}}e.exports=a},7068(e,t,r){let i,{Writable:s}=r(7075),{assertCacheKey:n,assertCacheValue:o}=r(8621);e.exports=class{#r=2e9;#e=1/0;#a;#A;#l;#c;#d;#g;#u;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}i||(i=r(99).DatabaseSync),this.#a=new i(e?.location??":memory:"),this.#a.exec(` +${o}`:n.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.hd),r})},e.exports.Lr=i(3470).Headers,e.exports.YK=i(165).Response,e.exports.Kd=i(9553).Request,e.exports.fS=i(1304).FormData;let{setGlobalOrigin:p,getGlobalOrigin:C}=i(1045),{CacheStorage:I}=i(3691),{kConstruct:f}=i(3025);new I(f);let{deleteCookie:E,getCookies:B,getSetCookies:y,setCookie:Q,parseCookie:N}=i(5823),{parseMIMEType:b,serializeAMimeType:S}=i(3518),{CloseEvent:w,ErrorEvent:D,MessageEvent:x}=i(7342),{WebSocket:R,ping:M}=i(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=D,e.exports.aM=x,i(3867).WebSocketStream,i(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:k}=i(7288);e.exports.GD=k},4032(e,t,r){let{addAbortListener:i}=r(1210),{RequestAbortedError:s}=r(8065),n=Symbol("kListener"),o=Symbol("kSignal");function a(e){e.abort?e.abort(e[o]?.reason):e.reason=e[o]?.reason??new s,A(e)}function A(e){e[o]&&("removeEventListener"in e[o]?e[o].removeEventListener("abort",e[n]):e[o].removeListener("abort",e[n]),e[o]=null,e[n]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[o]=null,e[n]=null,t){if(t.aborted)return void a(e);e[o]=t,e[n]=()=>{a(e)},i(e[o],e[n])}},removeSignal:A}},5854(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{InvalidArgumentError:n,SocketError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new n("invalid opts");if("function"!=typeof t)throw new n("invalid callback");let{signal:r,opaque:i,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new o("bad connect",null)}onRequestUpgrade(e,t,r,i){let{callback:s,opaque:n,context:o}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?a.parseRawHeaders(c):r),this.runInAsyncScope(s,null,null,{statusCode:t,headers:A,socket:i,opaque:n,context:o})}onResponseError(e,t){let{callback:r,opaque:i}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r),i={...t,method:"CONNECT"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},4372(e,t,r){let{Readable:i,Duplex:s,PassThrough:n}=r(7075),o=r(4589),{AsyncResource:a}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:g}=r(3025),{addSignal:u,removeSignal:h}=r(4032);function m(){}let p=Symbol("resume");class C extends i{constructor(){super({autoDestroy:!0}),this[p]=null,this[g]=!0}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}}class I extends i{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class f extends a{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:i,opaque:n,onInfo:o,responseHeaders:a}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new A("invalid method");if(o&&"function"!=typeof o)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=n||null,this.responseHeaders=a||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new C().on("error",m),this.ret=new s({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:i}=this;i.push(e,t)||i._readableState.destroyed?r():i[p]=r},destroy:(e,t)=>{let{body:r,req:i,res:s,ret:n,abort:o}=this;e||n._readableState.endEmitted||(e=new c),o&&e&&o(),d.destroy(r,e),d.destroy(i,e),d.destroy(s,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(o(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let s,{opaque:n,handler:o,context:a}=this;if(t<200){if(this.onInfo){let i=e?.rawHeaders,s="raw"===this.responseHeaders?d.parseRawHeaders(i):r;this.onInfo({statusCode:t,headers:s})}return}this.res=new I(()=>e.resume());try{this.handler=null;let i=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(i):r;s=this.runInAsyncScope(o,null,{statusCode:t,headers:A,opaque:n,body:this.res,context:a})}catch(e){throw this.res.on("error",m),e}if(!s||"function"!=typeof s.on)throw new l("expected Readable");s.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=s}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new f(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new n().destroy(e)}}},2545(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{Readable:n}=r(7769),{InvalidArgumentError:o,RequestAbortedError:a}=r(8065),A=r(1210);function l(){}class c extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new o("invalid opts");let{signal:r,method:i,opaque:s,body:n,onInfo:c,responseHeaders:d,highWaterMark:g}=e;try{if("function"!=typeof t)throw new o("invalid callback");if(null!=g&&(!Number.isFinite(g)||g<0))throw new o("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new o("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new o("invalid method");if(c&&"function"!=typeof c)throw new o("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(n)&&A.destroy(n.on("error",l),e),e}this.method=i,this.responseHeaders=d||null,this.opaque=s||null,this.callback=t,this.res=null,this.abort=null,this.body=n,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=g,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new a:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new a,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let{callback:s,opaque:o,context:a,responseHeaders:c,highWaterMark:d}=this,g=e?.rawHeaders,u="raw"===c?A.parseRawHeaders(g):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}let h=r?.["content-type"],m=r?.["content-length"],p=new n({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener&&(p.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=p,null!==s)try{this.runInAsyncScope(s,null,null,{statusCode:t,statusText:i,headers:u,trailers:this.trailers,opaque:o,body:p,context:a})}catch(e){this.res=null,A.destroy(p.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:i,body:s,opaque:n}=this;i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:n})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),s&&(this.body=null,A.isStream(s)&&(s.on("error",l),A.destroy(s,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{InvalidArgumentError:n,InvalidReturnValueError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends s{constructor(e,t,r){if(!e||"object"!=typeof e)throw new n("invalid opts");let{signal:i,method:s,opaque:o,body:l,onInfo:d,responseHeaders:g}=e;try{if("function"!=typeof r)throw new n("invalid callback");if("function"!=typeof t)throw new n("invalid factory");if(i&&"function"!=typeof i.on&&"function"!=typeof i.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");if("CONNECT"===s)throw new n("invalid method");if(d&&"function"!=typeof d)throw new n("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw a.isStream(l)&&a.destroy(l.on("error",c),e),e}this.responseHeaders=g||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,a.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,i)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){var s;let n,A,l,c,d,{factory:g,opaque:u,context:h,responseHeaders:m}=this,p=e?.rawHeaders,C="raw"===m?a.parseRawHeaders(p):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:C});return}if(this.factory=null,null===g)return;let I=this.runInAsyncScope(g,null,{statusCode:t,headers:C,opaque:u,context:h});if(!I||"function"!=typeof I.write||"function"!=typeof I.end||"function"!=typeof I.on)throw new o("expected Writable");s=(e,t)=>{let{callback:r,res:i,opaque:s,trailers:n,abort:o}=this;this.res=null,(e||!i?.readable)&&a.destroy(i,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:s,trailers:n}),e&&o(e)},n=!1,A=(e,t=!1)=>{n||(n=!0,I.removeListener("close",l),I.removeListener("error",c),I.removeListener("finish",d),s(e,t))},l=()=>{let e;A(I.errored??I.writableErrored??I._writableState?.errored??(I.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),I.on("close",l),I.on("error",c),I.on("finish",d),I.closed?process.nextTick(l):I.writableFinished&&process.nextTick(d),I.on("drain",()=>e.resume()),this.res=I,!0===(void 0!==I.writableNeedDrain?I.writableNeedDrain:I._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:i,opaque:s,body:n}=this;l(this),this.factory=null,r?(this.res=null,a.destroy(r,t)):i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:s})})),n&&(this.body=null,a.destroy(n,t))}}e.exports=function e(t,r,i){if(void 0===i)return new Promise((i,s)=>{e.call(this,t,r,(e,t)=>e?s(e):i(t))});try{let e=new d(t,r,i);this.dispatch(t,e)}catch(r){if("function"!=typeof i)throw r;let e=t?.opaque;queueMicrotask(()=>i(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:i,SocketError:s}=r(8065),{AsyncResource:n}=r(6698),o=r(4589),a=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new i("invalid opts");if("function"!=typeof t)throw new i("invalid callback");let{signal:r,opaque:s,responseHeaders:n}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new i("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=n||null,this.opaque=s||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(o(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new s("bad upgrade",null)}onRequestUpgrade(e,t,r,i){if(t!==(!0===i[A]?200:101)){let t=!0===i[A]?null:a.getSocketInfo(i);e.abort(new s("bad upgrade",t));return}let{callback:n,opaque:o,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,g="raw"===this.responseHeaders?a.parseRawHeaders(d):r;this.runInAsyncScope(n,null,null,{headers:g,socket:i,opaque:o,context:l})}onResponseError(e,t){let{callback:r,opaque:i}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new d(t,r),i={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let i=r(4589),{addAbortListener:s}=r(8474),{Readable:n}=r(7075),{RequestAbortedError:o,NotSupportedError:a,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),g=Symbol("kConsume"),u=Symbol("kReading"),h=Symbol("kBody"),m=Symbol("kAbort"),p=Symbol("kContentType"),C=Symbol("kContentLength"),I=Symbol("kUsed"),f=Symbol("kBytesRead"),E=Symbol("kPreservedBuffer"),B=()=>{};function y(e,t){return i(!e[g]),new Promise((r,i)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[g]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",i).on("close",()=>{i(TypeError("unusable"))}):i(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[g]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]},e.on("error",function(e){w(this[g],e)}).on("close",function(){null!==this[g].body&&w(this[g],new o)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[E];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[E]=null}else if(t.bufferIndex){let r=t.bufferIndex,i=t.buffer.length;for(let s=r;s<i;s++)S(e,t.buffer[s])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?b(this[g],this._readableState.encoding):e.stream.on("end",function(){b(this[g],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[g])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let i=1===e.length?e[0]:Buffer.concat(e,t),s=i.length,n=3*(s>2&&239===i[0]&&187===i[1]&&191===i[2]);return r&&"utf8"!==r&&"utf-8"!==r?i.subarray(n,s).toString(r):i.utf8Slice(n,s)}function N(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),i=0;for(let t=0;t<e.length;++t){let s=e[t];r.set(s,i),i+=s.length}return r}function b(e,t){let{type:r,body:i,resolve:s,stream:n,length:o}=e;try{"text"===r?s(Q(i,o,t)):"json"===r?s(JSON.parse(Q(i,o,t))):"arrayBuffer"===r?s(N(i,o).buffer):"blob"===r?s(new Blob(i,{type:n[p]})):"bytes"===r&&s(N(i,o)),w(e)}catch(e){n.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends n{constructor({resume:e,abort:t,contentType:r="",contentLength:i,highWaterMark:s=65536}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[m]=t,this[g]=null,this[f]=0,this[h]=null,this[I]=!1,this[p]=r,this[C]=Number.isFinite(i)?i:null,this[u]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new o),e&&this[m](),this[I]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[u]=!0,this[I]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[f]+=e.length,this[g])?(S(this[g],e),!this[u]||super.push(e)):super.push(e)}text(){return y(this,"text")}json(){return y(this,"json")}blob(){return y(this,"blob")}bytes(){return y(this,"bytes")}arrayBuffer(){return y(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[g]&&(this[h].getReader(),i(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,i)=>{if((this[C]&&this[C]>r||this[f]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},n=s(t,r);this.on("close",function(){n[Symbol.dispose](),t.aborted?i(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",B).on("data",()=>{this[f]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,i=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&i.push(t);i.length>0&&(this[E]=(this[E]||[]).concat(i))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:i}=r(7075),{EventEmitter:s}=r(8474),{assertCacheKey:n,assertCacheValue:o}=r(8621);class a extends s{#e=1024;#t=0x6400000;#r=5242880;#i=0;#s=0;#n=new Map;#o=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#i}isFull(){return this.#i>=this.#t||this.#s>=this.#e}get(e){n(e);let t=`${e.origin}:${e.path}`,r=Date.now(),i=this.#n.get(t),s=i?A(e,i,r):null;return null==s?void 0:{statusMessage:s.statusMessage,statusCode:s.statusCode,headers:s.headers,body:s.body,vary:s.vary?s.vary:void 0,etag:s.etag,cacheControlDirectives:s.cacheControlDirectives,cachedAt:s.cachedAt,staleAt:s.staleAt,deleteAt:s.deleteAt}}createWriteStream(e,t){n(e),o(t);let r=`${e.origin}:${e.path}`,s=this,a={...e,...t,body:[],size:0};return new i({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),a.size+=e.byteLength,a.size>s.#r?this.destroy():a.body.push(e),r(null)},final(t){let i=s.#n.get(r);i||(i=[],s.#n.set(r,i));let n=A(e,i,Date.now());if(n){let e=i.indexOf(n);i.splice(e,1,a),s.#i-=n.size}else i.push(a),s.#s+=1;if(s.#i+=a.size,s.#i>s.#t||s.#s>s.#e){for(let[e,t]of(s.#o||(s.emit("maxSizeExceeded",{size:s.#i,maxSize:s.#t,count:s.#s,maxCount:s.#e}),s.#o=!0),s.#n)){for(let e of t.splice(0,t.length/2))s.#i-=e.size,s.#s-=1;0===t.length&&s.#n.delete(e)}s.#i<s.#t&&s.#s<s.#e&&(s.#o=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#n.get(t)??[])this.#i-=e.size,this.#s-=1;this.#n.delete(t)}}function A(e,t,r){for(let i=0;i<t.length;i++){let s=t[i];if(s.deleteAt>r&&s.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,s))return s}}e.exports=a},7068(e,t,r){let i,{Writable:s}=r(7075),{assertCacheKey:n,assertCacheValue:o}=r(8621);e.exports=class{#r=2e9;#e=1/0;#a;#A;#l;#c;#d;#g;#u;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}i||(i=r(99).DatabaseSync),this.#a=new i(e?.location??":memory:"),this.#a.exec(` PRAGMA journal_mode = WAL; PRAGMA synchronous = NORMAL; PRAGMA temp_store = memory; @@ -89,58 +89,62 @@ ${o}`:n.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h ORDER BY cachedAt ASC LIMIT ? ) - `)}close(){this.#a.close()}get(e){n(e);let t=this.#m(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){n(e);let r=this.#p(e),i=Array.isArray(t.body)?Buffer.concat(t.body):t.body,s=i?.byteLength;if(s&&s>this.#r)return;let o=this.#m(e,!0);o?this.#l.run(i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,o.id):(this.#c.run(r,e.method,i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#C())}createWriteStream(e,t){n(e),o(t);let r=0,i=[],a=this;return new s({decodeStrings:!0,write(e,t,s){(r+=e.byteLength)<=a.#r?i.push(e):this.destroy(),s()},final(r){a.set(e,{...t,body:i}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#g.run(this.#p(e))}#C(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#u.get();return e}#p(e){return`${e.origin}/${e.path}`}#m(e,t=!1){let r=this.#p(e),{headers:i,method:s}=e,n=this.#A.all(r,s);if(0===n.length)return;let o=Date.now();for(let e of n){if(o>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(i[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let i,s=r(7030),n=r(4589),o=r(1210),{InvalidArgumentError:a,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:g,timeout:u,session:h,...m}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new a("maxCachedSessions must be a positive integer or zero");let p={path:g,...m},C=new l(null==d?100:d);return u=null==u?1e4:u,e=null==e||e,function({hostname:a,host:l,protocol:d,port:g,servername:m,localAddress:I,httpSocket:E},f){let B;if("https:"===d){i||(i=r(1692));let s=(m=m||p.servername||o.getServerName(l)||null)||a;n(s);let A=h||C.get(s)||null;g=g||443,(B=i.connect({highWaterMark:16384,...p,servername:m,session:A,localAddress:I,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:E,port:g,host:a})).on("session",function(e){C.set(s,e)})}else n(!E,"httpSocket can only be sent on TLS update"),g=g||80,B=s.connect({highWaterMark:65536,...p,localAddress:I,port:g,host:a}),!0===c&&(B.alpnProtocol="h2");if(null==p.keepAlive||p.keepAlive){let e=void 0===p.keepAliveInitialDelay?6e4:p.keepAliveInitialDelay;B.setKeepAlive(!0,e)}let y=o.setupConnectTimeout(new WeakRef(B),{timeout:u,hostname:a,port:g});return B.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(y),f){let e=f;f=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(y),f){let t=f;f=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let i="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?i+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:i+=` (attempted address: ${r.hostname}:${r.port},`;let s=new A(i+=` timeout: ${r.timeout}ms)`);return s.cause=e,s}return e}(e,this,{timeout:u,hostname:a,port:g}))}}),B}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let i=t[e],s=i.toLowerCase();r[i]=r[s]=s}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let i=r(3053),s=r(7975),n=s.debuglog("undici"),o=s.debuglog("fetch"),a=s.debuglog("websocket"),A={beforeConnect:i.channel("undici:client:beforeConnect"),connected:i.channel("undici:client:connected"),connectError:i.channel("undici:client:connectError"),sendHeaders:i.channel("undici:client:sendHeaders"),create:i.channel("undici:request:create"),bodySent:i.channel("undici:request:bodySent"),bodyChunkSent:i.channel("undici:request:bodyChunkSent"),bodyChunkReceived:i.channel("undici:request:bodyChunkReceived"),headers:i.channel("undici:request:headers"),trailers:i.channel("undici:request:trailers"),error:i.channel("undici:request:error"),open:i.channel("undici:websocket:open"),close:i.channel("undici:websocket:close"),socketError:i.channel("undici:websocket:socket_error"),ping:i.channel("undici:websocket:ping"),pong:i.channel("undici:websocket:pong"),proxyConnected:i.channel("undici:proxy:connected")},l=!1;function c(e=n){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,i.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n}}=t;e("connecting to %s%s using %s%s",n,s?`:${s}`:"",i,r)}),i.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n}}=t;e("connected to %s%s using %s%s",n,s?`:${s}`:"",i,r)}),i.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n},error:o}=t;e("connection to %s%s using %s%s errored - %s",n,s?`:${s}`:"",i,r,o.message)}),i.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:i,origin:s}}=t;e("sending request to %s %s%s",r,s,i)})}}let d=!1,g=!1;(n.enabled||o.enabled)&&(c(o.enabled?o:n),function(e=n){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,i.subscribe("undici:request:headers",t=>{let{request:{method:r,path:i,origin:s},response:{statusCode:n}}=t;e("received response to %s %s%s - HTTP %d",r,s,i,n)}),i.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:i,origin:s}}=t;e("trailers received from %s %s%s",r,s,i)}),i.subscribe("undici:request:error",t=>{let{request:{method:r,path:i,origin:s},error:n}=t;e("request to %s %s%s errored - %s",r,s,i,n.message)})}}(o.enabled?o:n)),a.enabled&&(c(n.enabled?n:a),function(e=a){if(!g){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){g=!0;return}g=!0,i.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:i}=t.address;e("connection opened %s%s",r,i?`:${i}`:"")}else e("connection opened")}),i.subscribe("undici:websocket:close",t=>{let{websocket:r,code:i,reason:s}=t;e("closed connection to %s - %s %s",r.url,i,s)}),i.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),i.subscribe("undici:websocket:ping",t=>{e("ping received")}),i.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(a)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let i=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class s extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}let n=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class o extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}let a=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[a]}get[a](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class g extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let u=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[u]}get[u](){return!0}}let m=Symbol.for("undici.error.UND_ERR_ABORT");class p extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[m]}get[m](){return!0}}let C=Symbol.for("undici.error.UND_ERR_ABORTED");class I extends p{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[C]}get[C](){return!0}}let E=Symbol.for("undici.error.UND_ERR_INFO");class f extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[E]}get[E](){return!0}}let B=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class y extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[B]}get[B](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class N extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let b=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[b]}get[b](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class D extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let x=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[x]}get[x](){return!0}}let M=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class k extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let U=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class F extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[U]}get[U](){return!0}}let v=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[v]}get[v](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class H extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let O=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class P extends r{constructor(e,t,{headers:r,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[O]}get[O](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let z=Symbol.for("undici.error.UND_ERR_PRX_TLS");class q extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[z]}get[z](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class J extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let _=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[_]}get[_](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class K extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:p,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:o,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:y,ConnectTimeoutError:s,InvalidArgumentError:g,InvalidReturnValueError:h,RequestAbortedError:I,ClientDestroyedError:S,ClientClosedError:D,InformationalError:f,SocketError:R,NotSupportedError:k,ResponseContentLengthMismatchError:N,BalancedPoolMissingUpstreamError:F,ResponseExceededMaxSizeError:H,RequestRetryError:P,ResponseError:G,SecureProxyConnectionError:q,ProxyConnectionError:J,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:K}},1037(e,t,r){let{InvalidArgumentError:i,NotSupportedError:s}=r(8065),n=r(4589),{isValidHTTPToken:o,isValidHeaderValue:a,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:g,hasSafeIterator:u,isBlobLike:h,serializePathWithQuery:m,parseHeaders:p,assertRequestHandler:C,getServerName:I,normalizedMethodRecords:E,getProtocolFromUrlString:f}=r(1210),{channels:B}=r(6708),{headerNameLowerCasedRecord:y}=r(7525),Q=/[^\u0021-\u00ff]/,N=Symbol("handler"),b=Symbol("controller"),S=Symbol("resume");class w{#I=!1;#E=null;#f=!1;#B;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#B=e}pause(){this.#I=!0}resume(){this.#I&&(this.#I=!1,this[S]?.())}abort(e){this.#f||(this.#f=!0,this.#E=e,this.#B(e))}get aborted(){return this.#f}get reason(){return this.#E}get paused(){return this.#I}}function D(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new i(`invalid ${t} header`);if(void 0===r)return;let n=y[t];if(void 0===n&&void 0===y[n=t.toLowerCase()]&&!o(n))throw new i("invalid header key");if(Array.isArray(r)){let e=[];for(let s=0;s<r.length;s++)if("string"==typeof r[s]){if(!a(r[s]))throw new i(`invalid ${t} header`);e.push(r[s])}else if(null===r[s])e.push("");else if("object"==typeof r[s])throw new i(`invalid ${t} header`);else{let n=`${r[s]}`;if(!a(n))throw new i(`invalid ${t} header`);e.push(n)}r=e}else if("string"==typeof r){if(!a(r))throw new i(`invalid ${t} header`)}else if(null===r)r="";else if(!a(r=`${r}`))throw new i(`invalid ${t} header`);if("host"===n){if(null!==e.host)throw new i("duplicate host header");if("string"!=typeof r)throw new i("invalid host header");e.host=r}else if("content-length"===n){if(null!==e.contentLength)throw new i("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new i("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===n)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===n||"keep-alive"===n||"upgrade"===n)throw new i(`invalid ${n} header`);else if("connection"===n){let t="string"==typeof r?r:null;if(null===t)throw new i("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!o(t))throw new i("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===n)throw new s("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:s,headers:n,query:p,idempotent:y,blocking:b,upgrade:S,headersTimeout:w,bodyTimeout:x,reset:R,expectContinue:M,servername:k,throwOnError:U,maxRedirections:F,typeOfService:v},T){if("string"!=typeof t)throw new i("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new i("invalid request path")}else throw new i("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new i("method must be a string");if(void 0===E[r]&&!o(r))throw new i("invalid request method");if(S&&"string"!=typeof S)throw new i("upgrade must be a string");if(S&&!a(S))throw new i("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new i("invalid headersTimeout");if(null!=x&&(!Number.isFinite(x)||x<0))throw new i("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new i("invalid reset");if(null!=M&&"boolean"!=typeof M)throw new i("invalid expectContinue");if(null!=U)throw new i("invalid throwOnError");if(null!=F&&0!==F)throw new i("maxRedirections is not supported, use the redirect interceptor");if(null!=v&&(!Number.isInteger(v)||v<0||v>255))throw new i("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=x,this.method=r,this.typeOfService=v,this.abort=null,null==s)this.body=null;else if(A(s)){this.body=s;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if("string"==typeof s)this.body=s.length?Buffer.from(s):null;else if(d(s)||g(s)||h(s))this.body=s;else throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=p?m(t,p):t,this.origin=e,this.protocol=f(e),this.idempotent=null==y?"HEAD"===r||"GET"===r||"QUERY"===r:y,this.blocking=b??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=M&&M,Array.isArray(n)){if(n.length%2!=0)throw new i("headers array must be even");for(let e=0;e<n.length;e+=2)D(this,n[e],n[e+1])}else if(n&&"object"==typeof n)if(u(n))for(let e of n){if(!Array.isArray(e)||2!==e.length)throw new i("headers must be in key-value pair format");D(this,e[0],e[1])}else{let e=Object.keys(n);for(let t=0;t<e.length;++t)D(this,e[t],n[e[t]])}else if(null!=n)throw new i("headers must be an object or an array");C(T,r,S),this.servername=k||I(this.host)||null,this[N]=T,B.create.hasSubscribers&&B.create.publish({request:this})}onBodySent(e){if(B.bodyChunkSent.hasSubscribers&&B.bodyChunkSent.publish({request:this,chunk:e}),this[N].onBodySent)try{return this[N].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(B.bodySent.hasSubscribers&&B.bodySent.publish({request:this}),this[N].onRequestSent)try{return this[N].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(n(!this.aborted),n(!this.completed),this[b]=new w(e),this.error)?void this[b].abort(this.error):(this.abort=e,this[N].onRequestStart(this[b],t))}onResponseStarted(){return this[N].onResponseStarted?.()}onResponseStart(e,t,r,i){n(!this.aborted),n(!this.completed),B.headers.hasSubscribers&&B.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}});let s=this[b];s&&(s[S]=r,s.rawHeaders=t);let o=Array.isArray(t)?p(t):t;try{return this[N].onResponseStart?.(s,e,o,i),!s?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){n(!this.aborted),n(!this.completed),B.bodyChunkReceived.hasSubscribers&&B.bodyChunkReceived.publish({request:this,chunk:e});let t=this[b];try{return this[N].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){n(!this.aborted),n(!this.completed);let i=this[b];i&&(i.rawHeaders=t);let s=Array.isArray(t)?p(t):t;return this[N].onRequestUpgrade?.(i,e,s,r)}onResponseEnd(e){this.onFinally(),n(!this.aborted),n(!this.completed),this.completed=!0,B.trailers.hasSubscribers&&B.trailers.publish({request:this,trailers:e});let t=this[b];t&&(t.rawTrailers=e);let r=Array.isArray(e)?p(e):e;try{return this[N].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),B.error.hasSubscribers&&B.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[b];return this[N].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return D(this,e,t),this}}},9716(e,t,r){let{EventEmitter:i}=r(8474),{Buffer:s}=r(4573),{InvalidArgumentError:n,Socks5ProxyError:o}=r(8065),{debuglog:a}=r(7975),{parseAddress:A}=r(2598),l=a("undici:socks5"),c=s.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},g={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},u={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},m={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends i{constructor(e,t={}){if(super(),!e)throw new n("socket is required");this.socket=e,this.options=t,this.state=m.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=s.concat([this.buffer,e]);try{switch(this.state){case m.HANDSHAKING:this.handleHandshakeResponse();break;case m.AUTHENTICATING:this.handleAuthResponse();break;case m.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=m.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=m.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=m.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==m.INITIAL)throw new n("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=m.HANDSHAKING;let e=s.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new o(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new o("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=m.AUTHENTICATING,this.sendAuthRequest();else throw new o(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new n("Username and password required for authentication");l("sending username/password auth");let r=s.from(e),i=s.from(t);if(r.length>255||i.length>255)throw new n("Username or password too long");let o=s.alloc(3+r.length+i.length);o[0]=1,o[1]=r.length,r.copy(o,2),o[2+r.length]=i.length,i.copy(o,3+r.length),this.socket.write(o)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new o(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new o("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===m.CONNECTING||this.state===m.CONNECTED)throw new n("Connection already in progress");if(this.state!==m.AUTHENTICATED)throw new n("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=m.CONNECTING;let r=this.buildConnectRequest(g.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:i,buffer:n}=A(t),o=s.alloc(4+n.length+2);return o[0]=5,o[1]=e,o[2]=0,o[3]=i,n.copy(o,4),o.writeUInt16BE(r,4+n.length),o}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],i=this.buffer[3];if(5!==t)throw new o(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let s=4;if(i===u.IPV4)s+=6;else if(i===u.DOMAIN){if(this.buffer.length<5)return;s+=1+this.buffer[4]+2}else if(i===u.IPV6)s+=18;else throw new o(`Invalid address type in reply: ${i}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<s)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new o(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let n=4;if(i===u.IPV4)e=Array.from(this.buffer.subarray(n,n+4)).join("."),n+=4;else if(i===u.DOMAIN){let t=this.buffer[n];n+=1,e=this.buffer.subarray(n,n+t).toString(),n+=t}else if(i===u.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(n+2*e);t.push(r.toString(16))}e=t.join(":"),n+=16}let a=this.buffer.readUInt16BE(n);this.buffer=c,this.state=m.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",a),this.emit("connected",{address:e,port:a})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:g,ADDRESS_TYPES:u,REPLY_CODES:h,STATES:m}},2598(e,t,r){let{Buffer:i}=r(4573),s=r(7030),{InvalidArgumentError:n}=r(8065);function o(e){let t=i.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),i=e.slice(t+1);if(s.isIPv4(i)){let s=i.split(".").map(Number),n=(s[0]<<8|s[1]).toString(16),o=(s[2]<<8|s[3]).toString(16);r=`${e.slice(0,t)}:${n}:${o}`}}let n=r.indexOf("::");if(-1!==n){let e=r.slice(0,n),i=r.slice(n+2),s=""===e?[]:e.split(":"),o=""===i?[]:i.split(":"),a=0;for(let e of s)t.writeUInt16BE(parseInt(e,16),a),a+=2;for(let e of(a=16-2*o.length,o))t.writeUInt16BE(parseInt(e,16),a),a+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(s.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:i.from(t)}}if(s.isIPv6(e))return{type:4,buffer:o(e)};let t=i.from(e,"utf8");if(t.length>255)throw new n("Domain name too long (max 255 bytes)");return{type:3,buffer:i.concat([i.from([t.length]),t])}},parseIPv6:o,buildAddressBuffer:function(e,t,r){let s=i.allocUnsafe(2);return s.writeUInt16BE(r,0),i.concat([i.from([e]),t,s])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new n("Buffer too small to contain address type");let i=e[t],s=t+1;switch(i){case 1:if(e.length<s+6)throw new n("Buffer too small for IPv4 address");r=Array.from(e.subarray(s,s+4)).join("."),s+=4;break;case 3:{if(e.length<s+1)throw new n("Buffer too small for domain length");let t=e[s];if(s+=1,e.length<s+t+2)throw new n("Buffer too small for domain address");r=e.subarray(s,s+t).toString("utf8"),s+=t;break}case 4:{if(e.length<s+18)throw new n("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let i=e.readUInt16BE(s+2*r);t.push(i.toString(16))}r=t.join(":"),s+=16;break}default:throw new n(`Invalid address type: ${i}`)}if(e.length<s+2)throw new n("Buffer too small for port");return{address:r,port:e.readUInt16BE(s),bytesRead:(s+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:i,headerNameLowerCasedRecord:s}=r(7525);class n{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new n(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let i=0,s=this;for(;;){let o=e.charCodeAt(i);if(o>127)throw TypeError("key must be ascii string");if(s.code===o)if(r===++i){s.value=t;break}else if(null!==s.middle)s=s.middle;else{s.middle=new n(e,t,i);break}else if(s.code<o)if(null!==s.left)s=s.left;else{s.left=new n(e,t,i);break}else if(null!==s.right)s=s.right;else{s.right=new n(e,t,i);break}}}search(e){let t=e.length,r=0,i=this;for(;null!==i&&r<t;){let s=e[r];for(s<=90&&s>=65&&(s|=32);null!==i;){if(s===i.code){if(t===++r)return i;i=i.middle;break}i=i.code<s?i.left:i.right}}return null}}class o{node=null;insert(e,t){null===this.node?this.node=new n(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let a=new o;for(let e=0;e<i.length;++e){let t=s[i[e]];a.insert(t,t)}e.exports={TernarySearchTree:o,tree:a}},1210(e,t,r){let i=r(4589),{kDestroyed:s,kBodyUsed:n,kListeners:o,kBody:a}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:g,addAbortListener:u}=r(8474),h=r(2297),{InvalidArgumentError:m,ConnectTimeoutError:p}=r(8065),{headerNameLowerCasedRecord:C}=r(7525),{tree:I}=r(1342);class E{constructor(e){this[a]=e,this[n]=!1}async *[Symbol.asyncIterator](){i(!this[n],"disturbed"),this[n]=!0,yield*this[a]}}function f(){}function B(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function y(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function N(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function b(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!b((e=new URL(e)).origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new m("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===N(e.port))throw new m("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new m("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new m("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new m("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new m("Invalid URL origin: the origin must be a string or null/undefined.");if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,i=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),i&&"/"!==i[0]&&(i=`/${i}`),new URL(`${r}${i}`)}if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function D(e){if(null==e)return 0;if(B(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return y(e)?null!=e.size?e.size:null:U(e)?e.byteLength:null}function x(e){return e&&!!(e.destroyed||e[s]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!B(e)||x(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[s]=!0)}}let M=/timeout=(\d+)/;function k(e){return"string"==typeof e?C[e]??e.toLowerCase():I.lookup(e)??e.toString("latin1").toLowerCase()}function U(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function F(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let v=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,H=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,O="win32"===process.platform?(e,t)=>{if(!t.timeout)return f;let r=null,i=null,s=h.setFastTimeout(()=>{r=setImmediate(()=>{i=setImmediate(()=>P(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(s),clearImmediate(r),clearImmediate(i)}}:(e,t)=>{if(!t.timeout)return f;let r=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{P(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r)}};function P(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new p(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,z={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},q={...z,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(z,null),Object.setPrototypeOf(q,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[n]))},isBlobLike:y,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new m("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;i("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return i(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:B,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:x,headerNameToString:k,bufferToLowerCasedHeaderName:function(e){return I.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[o]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[o]){for(let[t,r]of e[o])e.removeListener(t,r);e[o]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),i(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(r,`${e}`);else t.push(r,`${i}`);return t}let i=e.length,s=Array(i);for(let n=0;n<i;n+=2)t=e[n],r=e[n+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),s[n]=t,s[n+1]=r;return s},toRawHeaders:function(e){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${i}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let i=k(e[r]),s=t[i];if(void 0!==s)if(Object.hasOwn(t,i))"string"==typeof s&&(s=[s],t[i]=s),s.push(e[r+1].toString("latin1"));else{let s="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===i?Object.defineProperty(t,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[i]=s}else{let s="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[i]=s}}return t},parseKeepAliveTimeout:function(e){let t=e.match(M);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:D,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:U,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new m("handler must be an object");if("function"!=typeof e.onRequestStart)throw new m("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new m("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new m("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new m("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new m("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new m("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new m("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new m("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:F,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?u(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==v[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===v[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=H.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:z,normalizedMethodRecords:q,isValidPort:N,isHttpOrHttpsPrefixed:b,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return B(e)?(0===D(e)&&e.on("data",function(){i(!1)}),"boolean"!=typeof e.readableDidRead&&(e[n]=!1,g.prototype.on.call(e,"data",function(){this[n]=!0})),e):e&&"function"==typeof e.pipeTo?new E(e):e&&F(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new E(e):e},setupConnectTimeout:O,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:i,MaxOriginsReachedError:s}=r(8065),{kBusy:n,kClients:o,kConnected:a,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:g}=r(3025),u=r(9779),h=r(6334),m=r(5183),p=r(1210),C=Symbol("onConnect"),I=Symbol("onDisconnect"),E=Symbol("onConnectionError"),f=Symbol("onDrain"),B=Symbol("factory"),y=Symbol("options"),Q=Symbol("origins");function N(e,t){return t&&1===t.connections?new m(e,t):new h(e,t)}e.exports=class extends u{constructor({factory:e=N,maxOrigins:t=1/0,connect:r,...s}={}){if("function"!=typeof e)throw new i("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new i("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new i("maxOrigins must be a number greater than 0");super(s),r&&"function"!=typeof r&&(r={...r}),this[y]={...p.deepClone(s),maxOrigins:t,connect:r},this[B]=e,this[o]=new Map,this[Q]=new Set,this[f]=(e,t)=>{this.emit("drain",e,[this,...t])},this[C]=(e,t)=>{this.emit("connect",e,[this,...t])},this[I]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[E]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[o].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new i("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[y].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[y].maxOrigins&&!this[Q].has(r))throw new s;let c=this[o].get(l);if(!c){c=this[B](e.origin,!1===A?{...this[y],allowH2:!1}:this[y]);let t=()=>{if(this[o].get(l)!==c||c[a]>0||c[n])return;this[o].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[o].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[f]).on("connect",this[C]).on("disconnect",(e,r,i)=>{t(),this[I](e,r,i)}).on("connectionError",(e,r,i)=>{t(),this[E](e,r,i)}),this[o].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[o].values())e.push(t.close());return this[o].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[o].values())t.push(r.destroy(e));return this[o].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[o].values())t.stats&&(e[t[g].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:s}=r(8065),{PoolBase:n,kClients:o,kNeedDrain:a,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:g}=r(3025),u=r(1210),h=Symbol("factory"),m=Symbol("options"),p=Symbol("kGreatestCommonDivisor"),C=Symbol("kCurrentWeight"),I=Symbol("kIndex"),E=Symbol("kWeight"),f=Symbol("kMaxWeightPerServer"),B=Symbol("kErrorPenalty");function y(e,t){return new d(e,t)}e.exports=class extends n{constructor(e=[],{factory:t=y,...r}={}){if("function"!=typeof t)throw new s("factory must be a function.");for(let i of(super(),this[m]={...u.deepClone(r)},this[I]=-1,this[C]=0,this[f]=this[m].maxWeightPerServer||100,this[B]=this[m].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let t=u.parseOrigin(e).origin;if(this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[m]);for(let e of(this[A](r),r.on("connect",()=>{r[E]=Math.min(this[f],r[E]+this[B])}),r.on("connectionError",()=>{r[E]=Math.max(1,r[E]-this[B]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[E]=Math.max(1,r[E]-this[B]),this._updateBalancedPoolStats())}),this[o]))e[E]=this[f];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[o][t][E],e);this[p]=e}removeUpstream(e){let t=u.parseOrigin(e).origin,r=this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=u.parseOrigin(e).origin;return this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[o].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[g].origin)}[c](){if(0===this[o].length)throw new i;let e=0,t=-1;for(;e++<this[o].length;){this[I]=(this[I]+1)%this[o].length;let e=this[o][this[I]];if((0===this[I]&&(this[C]=this[C]-this[p],this[C]<=0&&(this[C]=this[f])),!e[a]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[E]>this[o][t][E])&&(t=this[I]),e[E]>=this[C]))return e}if(-1!==t)return this[C]=this[o][t][E],this[I]=t,this[o][t]}}},8043(e,t,r){let i,s=r(4589),n=r(1210),{channels:o}=r(6708),a=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:g,HeadersOverflowError:u,SocketError:h,InformationalError:m,BodyTimeoutError:p,HTTPParserError:C,ResponseExceededMaxSizeError:I}=r(8065),{kUrl:E,kReset:f,kClient:B,kParser:y,kBlocking:Q,kRunning:N,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:x,kKeepAliveDefaultTimeout:R,kHostHeader:M,kPendingIdx:k,kRunningIdx:U,kError:F,kPipelining:v,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:H,kKeepAliveMaxTimeout:O,kKeepAliveTimeoutThreshold:P,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:z,kMaxRequests:q,kCounter:V,kMaxResponseSize:J,kOnError:_,kResume:W,kHTTPContext:j,kClosed:K}=r(3025),X=r(8994),Z=Buffer.alloc(0),$=Buffer[Symbol.species],ee=n.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),ei=Symbol("kSocketUsed"),es=Symbol("kTypeOfService"),en=null,eo=null,ea=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(X.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[H],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[J]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(a.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=a.setFastTimeout(eg,e,this.timeoutWeakRef):(this.timeout=setTimeout(eg,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(s(null!=this.ptr),s(null===eo),this.llhttp.llhttp_resume(this.ptr),s(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Z),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){s(null===eo),s(null!=this.ptr),s(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let i;try{ea=e,eo=this,i=r.llhttp_execute(this.ptr,el,e.length)}finally{eo=null,ea=null}if(i!==X.ERROR.OK){let s=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(i===X.ERROR.PAUSED_UPGRADE)this.onUpgrade(s);else if(i===X.ERROR.PAUSED)this.paused=!0,t.unshift(s);else throw this.createError(i,s)}}catch(e){n.destroy(t,e)}}finish(){let e;s(null===eo),s(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||Z,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{eo=this,e=t.llhttp_finish(this.ptr)}finally{eo=null}return e===X.ERROR.OK?null:e===X.ERROR.PAUSED||e===X.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,Z)}createError(e,t){let{llhttp:r,contentLength:i,bytesRead:s}=this;if(-1!==i&&s!==i)return new l;let n=r.llhttp_get_error_reason(this.ptr),o="";if(n){let e=new Uint8Array(r.memory.buffer,n).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,n,e).toString()+")"}return new C(o,X.ERROR[e],t)}destroy(){s(null===eo),s(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[N])return n.destroy(e,new h("bad response",n.getSocketInfo(e))),-1;let r=t[D][t[U]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let i=n.bufferToLowerCasedHeaderName(r);"keep-alive"===i?this.keepAlive+=e.toString():"connection"===i&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===n.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===n.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&n.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:r,socket:i,headers:o,statusCode:a}=this;s(t),s(r[T]===i),s(!i.destroyed),s(!this.paused),s((1&o.length)==0);let A=r[D][r[U]];s(A),s(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(e),i[y].destroy(),i[y]=null,i[B]=null,i[F]=null,ee(i),r[T]=null,r[j]=null,r[D][r[U]++]=null,r.emit("disconnect",r[E],[r],new m("upgrade"));try{A.onRequestUpgrade(a,o,i)}catch(e){n.destroy(i,e)}r[W]()}onHeadersComplete(e,t,r){let{client:i,socket:o,headers:a,statusText:A}=this;if(o.destroyed)return -1;if(0===i[N])return n.destroy(o,new h("bad response",n.getSocketInfo(o))),-1;let l=i[D][i[U]];if(!l)return -1;if(s(!this.upgrade),s(this.statusCode<200),100===e)return n.destroy(o,new h("bad response",n.getSocketInfo(o))),-1;if(t&&!l.upgrade)return n.destroy(o,new h("bad upgrade",n.getSocketInfo(o))),-1;if(s(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!o[f]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:i[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return s(1===i[N]),this.upgrade=!0,2;if(s((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[v]){let e=this.keepAlive?n.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-i[P],i[O]);t<=0?o[f]=!0:i[L]=t}else i[L]=i[R]}else o[f]=!0;let c=!1===l.onResponseStart(e,a,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(o[Q]&&(o[Q]=!1,i[W]()),c?X.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:i,maxResponseSize:o}=this;if(r.destroyed)return -1;let a=t[D][t[U]];return(s(a),s(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),s(i>=200),o>-1&&this.bytesRead+e.length>o)?(n.destroy(r,new I),-1):(this.bytesRead+=e.length,!1===a.onResponseData(e))?X.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:i,headers:o,contentLength:a,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(i)return 0;s(r>=100),s((1&this.headers.length)==0);let d=e[D][e[U]];return(s(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==a&&A!==a?(n.destroy(t,new l),-1):(d.onResponseEnd(o),e[D][e[U]++]=null,t[ei]=0===e[b],t[w])?(s(0===e[N]),n.destroy(t,new m("reset")),X.ERROR.PAUSED):c?t[f]&&0===e[N]?(n.destroy(t,new m("reset")),X.ERROR.PAUSED):(null==e[v]||1===e[v]?setImmediate(e[W]):e[W](),0):(n.destroy(t,new m("reset")),X.ERROR.PAUSED)}}function eg(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:i,client:o,paused:a}=t;3===i?(!r[w]||r.writableNeedDrain||o[N]>1)&&(s(!a,"cannot be paused while waiting for headers"),n.destroy(r,new g)):5===i?a||n.destroy(r,new p):8===i&&(s(0===o[N]&&o[L]),n.destroy(r,new m("socket idle timeout")))}function eu(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[y];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[F]=e,this[B][_](e));return}this[F]=e,this[B][_](e)}function eh(){this[y]?.readMore()}function em(){let e=this[y];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&n.destroy(this,t);return}n.destroy(this,new h("other side closed",n.getSocketInfo(this)))}function ep(){let e=this[y];eI(this),e&&(this[F]||!e.statusCode||e.shouldKeepAlive||(this[F]=e.finish()||this[F]),this[y].destroy(),this[y]=null);let t=this[F]||new h("closed",n.getSocketInfo(this)),r=this[B];if(r[T]=null,r[j]=null,r.destroyed){s(0===r[b]);let e=r[D].splice(r[U]);for(let i=0;i<e.length;i++){let s=e[i];n.errorRequest(r,s,t)}}else if(r[N]>0&&"UND_ERR_INFO"!==t.code){let e=r[D][r[U]];r[D][r[U]++]=null,n.errorRequest(r,e,t)}r[k]=r[U],s(0===r[N]),r.emit("disconnect",r[E],[r],t),r[W]()}function eC(){this[K]=!0}function eI(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function eE(e,t,r,i,o,a,A,l){try{t?n.isBuffer(t)&&(s(a===t.byteLength,"buffer body must have content length"),o.cork(),o.write(`${A}content-length: ${a}\r + `)}close(){this.#a.close()}get(e){n(e);let t=this.#m(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){n(e);let r=this.#p(e),i=Array.isArray(t.body)?Buffer.concat(t.body):t.body,s=i?.byteLength;if(s&&s>this.#r)return;let o=this.#m(e,!0);o?this.#l.run(i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,o.id):(this.#c.run(r,e.method,i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#C())}createWriteStream(e,t){n(e),o(t);let r=0,i=[],a=this;return new s({decodeStrings:!0,write(e,t,s){(r+=e.byteLength)<=a.#r?i.push(e):this.destroy(),s()},final(r){a.set(e,{...t,body:i}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#g.run(this.#p(e))}#C(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#u.get();return e}#p(e){return`${e.origin}/${e.path}`}#m(e,t=!1){let r=this.#p(e),{headers:i,method:s}=e,n=this.#A.all(r,s);if(0===n.length)return;let o=Date.now();for(let e of n){if(o>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(i[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let i,s=r(7030),n=r(4589),o=r(1210),{InvalidArgumentError:a,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:g,timeout:u,session:h,...m}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new a("maxCachedSessions must be a positive integer or zero");let p={path:g,...m},C=new l(null==d?100:d);return u=null==u?1e4:u,e=null==e||e,function({hostname:a,host:l,protocol:d,port:g,servername:m,localAddress:I,httpSocket:f},E){let B;if("https:"===d){i||(i=r(1692));let s=(m=m||p.servername||o.getServerName(l)||null)||a;n(s);let A=h||C.get(s)||null;g=g||443,(B=i.connect({highWaterMark:16384,...p,servername:m,session:A,localAddress:I,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:f,port:g,host:a})).on("session",function(e){C.set(s,e)})}else n(!f,"httpSocket can only be sent on TLS update"),g=g||80,B=s.connect({highWaterMark:65536,...p,localAddress:I,port:g,host:a}),!0===c&&(B.alpnProtocol="h2");if(null==p.keepAlive||p.keepAlive){let e=void 0===p.keepAliveInitialDelay?6e4:p.keepAliveInitialDelay;B.setKeepAlive(!0,e)}let y=o.setupConnectTimeout(new WeakRef(B),{timeout:u,hostname:a,port:g});return B.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(y),E){let e=E;E=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(y),E){let t=E;E=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let i="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?i+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:i+=` (attempted address: ${r.hostname}:${r.port},`;let s=new A(i+=` timeout: ${r.timeout}ms)`);return s.cause=e,s}return e}(e,this,{timeout:u,hostname:a,port:g}))}}),B}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let i=t[e],s=i.toLowerCase();r[i]=r[s]=s}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let i=r(3053),s=r(7975),n=s.debuglog("undici"),o=s.debuglog("fetch"),a=s.debuglog("websocket"),A={beforeConnect:i.channel("undici:client:beforeConnect"),connected:i.channel("undici:client:connected"),connectError:i.channel("undici:client:connectError"),sendHeaders:i.channel("undici:client:sendHeaders"),create:i.channel("undici:request:create"),bodySent:i.channel("undici:request:bodySent"),bodyChunkSent:i.channel("undici:request:bodyChunkSent"),bodyChunkReceived:i.channel("undici:request:bodyChunkReceived"),headers:i.channel("undici:request:headers"),trailers:i.channel("undici:request:trailers"),error:i.channel("undici:request:error"),open:i.channel("undici:websocket:open"),close:i.channel("undici:websocket:close"),socketError:i.channel("undici:websocket:socket_error"),ping:i.channel("undici:websocket:ping"),pong:i.channel("undici:websocket:pong"),proxyConnected:i.channel("undici:proxy:connected")},l=!1;function c(e=n){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,i.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n}}=t;e("connecting to %s%s using %s%s",n,s?`:${s}`:"",i,r)}),i.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n}}=t;e("connected to %s%s using %s%s",n,s?`:${s}`:"",i,r)}),i.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n},error:o}=t;e("connection to %s%s using %s%s errored - %s",n,s?`:${s}`:"",i,r,o.message)}),i.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:i,origin:s}}=t;e("sending request to %s %s%s",r,s,i)})}}let d=!1,g=!1;(n.enabled||o.enabled)&&(c(o.enabled?o:n),function(e=n){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,i.subscribe("undici:request:headers",t=>{let{request:{method:r,path:i,origin:s},response:{statusCode:n}}=t;e("received response to %s %s%s - HTTP %d",r,s,i,n)}),i.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:i,origin:s}}=t;e("trailers received from %s %s%s",r,s,i)}),i.subscribe("undici:request:error",t=>{let{request:{method:r,path:i,origin:s},error:n}=t;e("request to %s %s%s errored - %s",r,s,i,n.message)})}}(o.enabled?o:n)),a.enabled&&(c(n.enabled?n:a),function(e=a){if(!g){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){g=!0;return}g=!0,i.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:i}=t.address;e("connection opened %s%s",r,i?`:${i}`:"")}else e("connection opened")}),i.subscribe("undici:websocket:close",t=>{let{websocket:r,code:i,reason:s}=t;e("closed connection to %s - %s %s",r.url,i,s)}),i.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),i.subscribe("undici:websocket:ping",t=>{e("ping received")}),i.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(a)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let i=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class s extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}let n=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class o extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}let a=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[a]}get[a](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class g extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let u=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[u]}get[u](){return!0}}let m=Symbol.for("undici.error.UND_ERR_ABORT");class p extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[m]}get[m](){return!0}}let C=Symbol.for("undici.error.UND_ERR_ABORTED");class I extends p{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[C]}get[C](){return!0}}let f=Symbol.for("undici.error.UND_ERR_INFO");class E extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[f]}get[f](){return!0}}let B=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class y extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[B]}get[B](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class N extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let b=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[b]}get[b](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class D extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let x=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[x]}get[x](){return!0}}let M=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class k extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let F=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class U extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[F]}get[F](){return!0}}let v=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[v]}get[v](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class O extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let H=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class P extends r{constructor(e,t,{headers:r,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[H]}get[H](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let z=Symbol.for("undici.error.UND_ERR_PRX_TLS");class q extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[z]}get[z](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class _ extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let J=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[J]}get[J](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class K extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:p,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:o,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:y,ConnectTimeoutError:s,InvalidArgumentError:g,InvalidReturnValueError:h,RequestAbortedError:I,ClientDestroyedError:S,ClientClosedError:D,InformationalError:E,SocketError:R,NotSupportedError:k,ResponseContentLengthMismatchError:N,BalancedPoolMissingUpstreamError:U,ResponseExceededMaxSizeError:O,RequestRetryError:P,ResponseError:G,SecureProxyConnectionError:q,ProxyConnectionError:_,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:K}},1037(e,t,r){let{InvalidArgumentError:i,NotSupportedError:s}=r(8065),n=r(4589),{isValidHTTPToken:o,isValidHeaderValue:a,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:g,hasSafeIterator:u,isBlobLike:h,serializePathWithQuery:m,parseHeaders:p,assertRequestHandler:C,getServerName:I,normalizedMethodRecords:f,getProtocolFromUrlString:E}=r(1210),{channels:B}=r(6708),{headerNameLowerCasedRecord:y}=r(7525),Q=/[^\u0021-\u00ff]/,N=Symbol("handler"),b=Symbol("controller"),S=Symbol("resume");class w{#I=!1;#f=null;#E=!1;#B;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#B=e}pause(){this.#I=!0}resume(){this.#I&&(this.#I=!1,this[S]?.())}abort(e){this.#E||(this.#E=!0,this.#f=e,this.#B(e))}get aborted(){return this.#E}get reason(){return this.#f}get paused(){return this.#I}}function D(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new i(`invalid ${t} header`);if(void 0===r)return;let n=y[t];if(void 0===n&&void 0===y[n=t.toLowerCase()]&&!o(n))throw new i("invalid header key");if(Array.isArray(r)){let e=[];for(let s=0;s<r.length;s++)if("string"==typeof r[s]){if(!a(r[s]))throw new i(`invalid ${t} header`);e.push(r[s])}else if(null===r[s])e.push("");else if("object"==typeof r[s])throw new i(`invalid ${t} header`);else{let n=`${r[s]}`;if(!a(n))throw new i(`invalid ${t} header`);e.push(n)}r=e}else if("string"==typeof r){if(!a(r))throw new i(`invalid ${t} header`)}else if(null===r)r="";else if(!a(r=`${r}`))throw new i(`invalid ${t} header`);if("host"===n){if(null!==e.host)throw new i("duplicate host header");if("string"!=typeof r)throw new i("invalid host header");e.host=r}else if("content-length"===n){if(null!==e.contentLength)throw new i("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new i("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===n)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===n||"keep-alive"===n||"upgrade"===n)throw new i(`invalid ${n} header`);else if("connection"===n){let t="string"==typeof r?r:null;if(null===t)throw new i("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!o(t))throw new i("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===n)throw new s("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:s,headers:n,query:p,idempotent:y,blocking:b,upgrade:S,headersTimeout:w,bodyTimeout:x,reset:R,expectContinue:M,servername:k,throwOnError:F,maxRedirections:U,typeOfService:v},T){if("string"!=typeof t)throw new i("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new i("invalid request path")}else throw new i("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new i("method must be a string");if(void 0===f[r]&&!o(r))throw new i("invalid request method");if(S&&"string"!=typeof S)throw new i("upgrade must be a string");if(S&&!a(S))throw new i("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new i("invalid headersTimeout");if(null!=x&&(!Number.isFinite(x)||x<0))throw new i("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new i("invalid reset");if(null!=M&&"boolean"!=typeof M)throw new i("invalid expectContinue");if(null!=F)throw new i("invalid throwOnError");if(null!=U&&0!==U)throw new i("maxRedirections is not supported, use the redirect interceptor");if(null!=v&&(!Number.isInteger(v)||v<0||v>255))throw new i("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=x,this.method=r,this.typeOfService=v,this.abort=null,null==s)this.body=null;else if(A(s)){this.body=s;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if("string"==typeof s)this.body=s.length?Buffer.from(s):null;else if(d(s)||g(s)||h(s))this.body=s;else throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=p?m(t,p):t,this.origin=e,this.protocol=E(e),this.idempotent=null==y?"HEAD"===r||"GET"===r||"QUERY"===r:y,this.blocking=b??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=M&&M,Array.isArray(n)){if(n.length%2!=0)throw new i("headers array must be even");for(let e=0;e<n.length;e+=2)D(this,n[e],n[e+1])}else if(n&&"object"==typeof n)if(u(n))for(let e of n){if(!Array.isArray(e)||2!==e.length)throw new i("headers must be in key-value pair format");D(this,e[0],e[1])}else{let e=Object.keys(n);for(let t=0;t<e.length;++t)D(this,e[t],n[e[t]])}else if(null!=n)throw new i("headers must be an object or an array");C(T,r,S),this.servername=k||I(this.host)||null,this[N]=T,B.create.hasSubscribers&&B.create.publish({request:this})}onBodySent(e){if(B.bodyChunkSent.hasSubscribers&&B.bodyChunkSent.publish({request:this,chunk:e}),this[N].onBodySent)try{return this[N].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(B.bodySent.hasSubscribers&&B.bodySent.publish({request:this}),this[N].onRequestSent)try{return this[N].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(n(!this.aborted),n(!this.completed),this[b]=new w(e),this.error)?void this[b].abort(this.error):(this.abort=e,this[N].onRequestStart(this[b],t))}onResponseStarted(){return this[N].onResponseStarted?.()}onResponseStart(e,t,r,i){n(!this.aborted),n(!this.completed),B.headers.hasSubscribers&&B.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}});let s=this[b];s&&(s[S]=r,s.rawHeaders=t);let o=Array.isArray(t)?p(t):t;try{return this[N].onResponseStart?.(s,e,o,i),!s?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){n(!this.aborted),n(!this.completed),B.bodyChunkReceived.hasSubscribers&&B.bodyChunkReceived.publish({request:this,chunk:e});let t=this[b];try{return this[N].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){n(!this.aborted),n(!this.completed);let i=this[b];i&&(i.rawHeaders=t);let s=Array.isArray(t)?p(t):t;return this[N].onRequestUpgrade?.(i,e,s,r)}onResponseEnd(e){this.onFinally(),n(!this.aborted),n(!this.completed),this.completed=!0,B.trailers.hasSubscribers&&B.trailers.publish({request:this,trailers:e});let t=this[b];t&&(t.rawTrailers=e);let r=Array.isArray(e)?p(e):e;try{return this[N].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),B.error.hasSubscribers&&B.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[b];return this[N].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return D(this,e,t),this}}},9716(e,t,r){let{EventEmitter:i}=r(8474),{Buffer:s}=r(4573),{InvalidArgumentError:n,Socks5ProxyError:o}=r(8065),{debuglog:a}=r(7975),{parseAddress:A}=r(2598),l=a("undici:socks5"),c=s.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},g={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},u={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},m={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends i{constructor(e,t={}){if(super(),!e)throw new n("socket is required");this.socket=e,this.options=t,this.state=m.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=s.concat([this.buffer,e]);try{switch(this.state){case m.HANDSHAKING:this.handleHandshakeResponse();break;case m.AUTHENTICATING:this.handleAuthResponse();break;case m.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=m.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=m.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=m.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==m.INITIAL)throw new n("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=m.HANDSHAKING;let e=s.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new o(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new o("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=m.AUTHENTICATING,this.sendAuthRequest();else throw new o(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new n("Username and password required for authentication");l("sending username/password auth");let r=s.from(e),i=s.from(t);if(r.length>255||i.length>255)throw new n("Username or password too long");let o=s.alloc(3+r.length+i.length);o[0]=1,o[1]=r.length,r.copy(o,2),o[2+r.length]=i.length,i.copy(o,3+r.length),this.socket.write(o)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new o(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new o("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===m.CONNECTING||this.state===m.CONNECTED)throw new n("Connection already in progress");if(this.state!==m.AUTHENTICATED)throw new n("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=m.CONNECTING;let r=this.buildConnectRequest(g.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:i,buffer:n}=A(t),o=s.alloc(4+n.length+2);return o[0]=5,o[1]=e,o[2]=0,o[3]=i,n.copy(o,4),o.writeUInt16BE(r,4+n.length),o}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],i=this.buffer[3];if(5!==t)throw new o(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let s=4;if(i===u.IPV4)s+=6;else if(i===u.DOMAIN){if(this.buffer.length<5)return;s+=1+this.buffer[4]+2}else if(i===u.IPV6)s+=18;else throw new o(`Invalid address type in reply: ${i}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<s)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new o(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let n=4;if(i===u.IPV4)e=Array.from(this.buffer.subarray(n,n+4)).join("."),n+=4;else if(i===u.DOMAIN){let t=this.buffer[n];n+=1,e=this.buffer.subarray(n,n+t).toString(),n+=t}else if(i===u.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(n+2*e);t.push(r.toString(16))}e=t.join(":"),n+=16}let a=this.buffer.readUInt16BE(n);this.buffer=c,this.state=m.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",a),this.emit("connected",{address:e,port:a})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:g,ADDRESS_TYPES:u,REPLY_CODES:h,STATES:m}},2598(e,t,r){let{Buffer:i}=r(4573),s=r(7030),{InvalidArgumentError:n}=r(8065);function o(e){let t=i.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),i=e.slice(t+1);if(s.isIPv4(i)){let s=i.split(".").map(Number),n=(s[0]<<8|s[1]).toString(16),o=(s[2]<<8|s[3]).toString(16);r=`${e.slice(0,t)}:${n}:${o}`}}let n=r.indexOf("::");if(-1!==n){let e=r.slice(0,n),i=r.slice(n+2),s=""===e?[]:e.split(":"),o=""===i?[]:i.split(":"),a=0;for(let e of s)t.writeUInt16BE(parseInt(e,16),a),a+=2;for(let e of(a=16-2*o.length,o))t.writeUInt16BE(parseInt(e,16),a),a+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(s.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:i.from(t)}}if(s.isIPv6(e))return{type:4,buffer:o(e)};let t=i.from(e,"utf8");if(t.length>255)throw new n("Domain name too long (max 255 bytes)");return{type:3,buffer:i.concat([i.from([t.length]),t])}},parseIPv6:o,buildAddressBuffer:function(e,t,r){let s=i.allocUnsafe(2);return s.writeUInt16BE(r,0),i.concat([i.from([e]),t,s])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new n("Buffer too small to contain address type");let i=e[t],s=t+1;switch(i){case 1:if(e.length<s+6)throw new n("Buffer too small for IPv4 address");r=Array.from(e.subarray(s,s+4)).join("."),s+=4;break;case 3:{if(e.length<s+1)throw new n("Buffer too small for domain length");let t=e[s];if(s+=1,e.length<s+t+2)throw new n("Buffer too small for domain address");r=e.subarray(s,s+t).toString("utf8"),s+=t;break}case 4:{if(e.length<s+18)throw new n("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let i=e.readUInt16BE(s+2*r);t.push(i.toString(16))}r=t.join(":"),s+=16;break}default:throw new n(`Invalid address type: ${i}`)}if(e.length<s+2)throw new n("Buffer too small for port");return{address:r,port:e.readUInt16BE(s),bytesRead:(s+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:i,headerNameLowerCasedRecord:s}=r(7525);class n{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new n(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let i=0,s=this;for(;;){let o=e.charCodeAt(i);if(o>127)throw TypeError("key must be ascii string");if(s.code===o)if(r===++i){s.value=t;break}else if(null!==s.middle)s=s.middle;else{s.middle=new n(e,t,i);break}else if(s.code<o)if(null!==s.left)s=s.left;else{s.left=new n(e,t,i);break}else if(null!==s.right)s=s.right;else{s.right=new n(e,t,i);break}}}search(e){let t=e.length,r=0,i=this;for(;null!==i&&r<t;){let s=e[r];for(s<=90&&s>=65&&(s|=32);null!==i;){if(s===i.code){if(t===++r)return i;i=i.middle;break}i=i.code<s?i.left:i.right}}return null}}class o{node=null;insert(e,t){null===this.node?this.node=new n(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let a=new o;for(let e=0;e<i.length;++e){let t=s[i[e]];a.insert(t,t)}e.exports={TernarySearchTree:o,tree:a}},1210(e,t,r){let i=r(4589),{kDestroyed:s,kBodyUsed:n,kListeners:o,kBody:a}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:g,addAbortListener:u}=r(8474),h=r(2297),{InvalidArgumentError:m,ConnectTimeoutError:p}=r(8065),{headerNameLowerCasedRecord:C}=r(7525),{tree:I}=r(1342);class f{constructor(e){this[a]=e,this[n]=!1}async *[Symbol.asyncIterator](){i(!this[n],"disturbed"),this[n]=!0,yield*this[a]}}function E(){}function B(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function y(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function N(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function b(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!b((e=new URL(e)).origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new m("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===N(e.port))throw new m("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new m("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new m("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new m("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new m("Invalid URL origin: the origin must be a string or null/undefined.");if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,i=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),i&&"/"!==i[0]&&(i=`/${i}`),new URL(`${r}${i}`)}if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function D(e){if(null==e)return 0;if(B(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return y(e)?null!=e.size?e.size:null:F(e)?e.byteLength:null}function x(e){return e&&!!(e.destroyed||e[s]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!B(e)||x(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[s]=!0)}}let M=/timeout=(\d+)/;function k(e){return"string"==typeof e?C[e]??e.toLowerCase():I.lookup(e)??e.toString("latin1").toLowerCase()}function F(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function U(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let v=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,O=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,H="win32"===process.platform?(e,t)=>{if(!t.timeout)return E;let r=null,i=null,s=h.setFastTimeout(()=>{r=setImmediate(()=>{i=setImmediate(()=>P(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(s),clearImmediate(r),clearImmediate(i)}}:(e,t)=>{if(!t.timeout)return E;let r=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{P(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r)}};function P(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new p(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,z={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},q={...z,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(z,null),Object.setPrototypeOf(q,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[n]))},isBlobLike:y,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new m("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;i("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return i(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:B,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:x,headerNameToString:k,bufferToLowerCasedHeaderName:function(e){return I.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[o]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[o]){for(let[t,r]of e[o])e.removeListener(t,r);e[o]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),i(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(r,`${e}`);else t.push(r,`${i}`);return t}let i=e.length,s=Array(i);for(let n=0;n<i;n+=2)t=e[n],r=e[n+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),s[n]=t,s[n+1]=r;return s},toRawHeaders:function(e){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${i}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let i=k(e[r]),s=t[i];if(void 0!==s)if(Object.hasOwn(t,i))"string"==typeof s&&(s=[s],t[i]=s),s.push(e[r+1].toString("latin1"));else{let s="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===i?Object.defineProperty(t,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[i]=s}else{let s="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[i]=s}}return t},parseKeepAliveTimeout:function(e){let t=e.match(M);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:D,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:F,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new m("handler must be an object");if("function"!=typeof e.onRequestStart)throw new m("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new m("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new m("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new m("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new m("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new m("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new m("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new m("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:U,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?u(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==v[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===v[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=O.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:z,normalizedMethodRecords:q,isValidPort:N,isHttpOrHttpsPrefixed:b,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return B(e)?(0===D(e)&&e.on("data",function(){i(!1)}),"boolean"!=typeof e.readableDidRead&&(e[n]=!1,g.prototype.on.call(e,"data",function(){this[n]=!0})),e):e&&"function"==typeof e.pipeTo?new f(e):e&&U(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new f(e):e},setupConnectTimeout:H,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:i,MaxOriginsReachedError:s}=r(8065),{kBusy:n,kClients:o,kConnected:a,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:g}=r(3025),u=r(9779),h=r(6334),m=r(5183),p=r(1210),C=Symbol("onConnect"),I=Symbol("onDisconnect"),f=Symbol("onConnectionError"),E=Symbol("onDrain"),B=Symbol("factory"),y=Symbol("options"),Q=Symbol("origins");function N(e,t){return t&&1===t.connections?new m(e,t):new h(e,t)}e.exports=class extends u{constructor({factory:e=N,maxOrigins:t=1/0,connect:r,...s}={}){if("function"!=typeof e)throw new i("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new i("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new i("maxOrigins must be a number greater than 0");super(s),r&&"function"!=typeof r&&(r={...r}),this[y]={...p.deepClone(s),maxOrigins:t,connect:r},this[B]=e,this[o]=new Map,this[Q]=new Set,this[E]=(e,t)=>{this.emit("drain",e,[this,...t])},this[C]=(e,t)=>{this.emit("connect",e,[this,...t])},this[I]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[f]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[o].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new i("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[y].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[y].maxOrigins&&!this[Q].has(r))throw new s;let c=this[o].get(l);if(!c){c=this[B](e.origin,!1===A?{...this[y],allowH2:!1}:this[y]);let t=()=>{if(this[o].get(l)!==c||c[a]>0||c[n])return;this[o].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[o].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[E]).on("connect",this[C]).on("disconnect",(e,r,i)=>{t(),this[I](e,r,i)}).on("connectionError",(e,r,i)=>{t(),this[f](e,r,i)}),this[o].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[o].values())e.push(t.close());return this[o].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[o].values())t.push(r.destroy(e));return this[o].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[o].values())t.stats&&(e[t[g].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:s}=r(8065),{PoolBase:n,kClients:o,kNeedDrain:a,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:g}=r(3025),u=r(1210),h=Symbol("factory"),m=Symbol("options"),p=Symbol("kGreatestCommonDivisor"),C=Symbol("kCurrentWeight"),I=Symbol("kIndex"),f=Symbol("kWeight"),E=Symbol("kMaxWeightPerServer"),B=Symbol("kErrorPenalty");function y(e,t){return new d(e,t)}e.exports=class extends n{constructor(e=[],{factory:t=y,...r}={}){if("function"!=typeof t)throw new s("factory must be a function.");for(let i of(super(),this[m]={...u.deepClone(r)},this[I]=-1,this[C]=0,this[E]=this[m].maxWeightPerServer||100,this[B]=this[m].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let t=u.parseOrigin(e).origin;if(this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[m]);for(let e of(this[A](r),r.on("connect",()=>{r[f]=Math.min(this[E],r[f]+this[B])}),r.on("connectionError",()=>{r[f]=Math.max(1,r[f]-this[B]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[f]=Math.max(1,r[f]-this[B]),this._updateBalancedPoolStats())}),this[o]))e[f]=this[E];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[o][t][f],e);this[p]=e}removeUpstream(e){let t=u.parseOrigin(e).origin,r=this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=u.parseOrigin(e).origin;return this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[o].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[g].origin)}[c](){if(0===this[o].length)throw new i;let e=0,t=-1;for(;e++<this[o].length;){this[I]=(this[I]+1)%this[o].length;let e=this[o][this[I]];if((0===this[I]&&(this[C]=this[C]-this[p],this[C]<=0&&(this[C]=this[E])),!e[a]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[f]>this[o][t][f])&&(t=this[I]),e[f]>=this[C]))return e}if(-1!==t)return this[C]=this[o][t][f],this[I]=t,this[o][t]}}},8043(e,t,r){let i,s=r(4589),n=r(1210),{channels:o}=r(6708),a=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:g,HeadersOverflowError:u,SocketError:h,InformationalError:m,BodyTimeoutError:p,HTTPParserError:C,ResponseExceededMaxSizeError:I}=r(8065),{kUrl:f,kReset:E,kClient:B,kParser:y,kBlocking:Q,kRunning:N,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:x,kKeepAliveDefaultTimeout:R,kHostHeader:M,kPendingIdx:k,kRunningIdx:F,kError:U,kPipelining:v,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:O,kKeepAliveMaxTimeout:H,kKeepAliveTimeoutThreshold:P,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:z,kMaxRequests:q,kCounter:V,kMaxResponseSize:_,kOnError:J,kResume:W,kHTTPContext:j,kClosed:K}=r(3025),X=r(8994),Z=Buffer.alloc(0),$=Buffer[Symbol.species],ee=n.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),ei=Symbol("kSocketUsed"),es=Symbol("kTypeOfService"),en=null,eo=null,ea=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(X.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[O],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[_]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(a.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=a.setFastTimeout(eg,e,this.timeoutWeakRef):(this.timeout=setTimeout(eg,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(s(null!=this.ptr),s(null===eo),this.llhttp.llhttp_resume(this.ptr),s(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Z),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){s(null===eo),s(null!=this.ptr),s(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let i;try{ea=e,eo=this,i=r.llhttp_execute(this.ptr,el,e.length)}finally{eo=null,ea=null}if(i!==X.ERROR.OK){let s=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(i===X.ERROR.PAUSED_UPGRADE)this.onUpgrade(s);else if(i===X.ERROR.PAUSED)this.paused=!0,t.unshift(s);else throw this.createError(i,s)}}catch(e){n.destroy(t,e)}}finish(){let e;s(null===eo),s(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||Z,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{eo=this,e=t.llhttp_finish(this.ptr)}finally{eo=null}return e===X.ERROR.OK?null:e===X.ERROR.PAUSED||e===X.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,Z)}createError(e,t){let{llhttp:r,contentLength:i,bytesRead:s}=this;if(-1!==i&&s!==i)return new l;let n=r.llhttp_get_error_reason(this.ptr),o="";if(n){let e=new Uint8Array(r.memory.buffer,n).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,n,e).toString()+")"}return new C(o,X.ERROR[e],t)}destroy(){s(null===eo),s(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[N])return n.destroy(e,new h("bad response",n.getSocketInfo(e))),-1;let r=t[D][t[F]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let i=n.bufferToLowerCasedHeaderName(r);"keep-alive"===i?this.keepAlive+=e.toString():"connection"===i&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===n.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===n.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&n.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:r,socket:i,headers:o,statusCode:a}=this;s(t),s(r[T]===i),s(!i.destroyed),s(!this.paused),s((1&o.length)==0);let A=r[D][r[F]];s(A),s(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(e),i[y].destroy(),i[y]=null,i[B]=null,i[U]=null,ee(i),r[T]=null,r[j]=null,r[D][r[F]++]=null,r.emit("disconnect",r[f],[r],new m("upgrade"));try{A.onRequestUpgrade(a,o,i)}catch(e){n.destroy(i,e)}r[W]()}onHeadersComplete(e,t,r){let{client:i,socket:o,headers:a,statusText:A}=this;if(o.destroyed)return -1;if(0===i[N])return n.destroy(o,new h("bad response",n.getSocketInfo(o))),-1;let l=i[D][i[F]];if(!l)return -1;if(s(!this.upgrade),s(this.statusCode<200),100===e)return n.destroy(o,new h("bad response",n.getSocketInfo(o))),-1;if(t&&!l.upgrade)return n.destroy(o,new h("bad upgrade",n.getSocketInfo(o))),-1;if(s(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!o[E]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:i[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return s(1===i[N]),this.upgrade=!0,2;if(s((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[v]){let e=this.keepAlive?n.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-i[P],i[H]);t<=0?o[E]=!0:i[L]=t}else i[L]=i[R]}else o[E]=!0;let c=!1===l.onResponseStart(e,a,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(o[Q]&&(o[Q]=!1,i[W]()),c?X.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:i,maxResponseSize:o}=this;if(r.destroyed)return -1;let a=t[D][t[F]];return(s(a),s(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),s(i>=200),o>-1&&this.bytesRead+e.length>o)?(n.destroy(r,new I),-1):(this.bytesRead+=e.length,!1===a.onResponseData(e))?X.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:i,headers:o,contentLength:a,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(i)return 0;s(r>=100),s((1&this.headers.length)==0);let d=e[D][e[F]];return(s(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==a&&A!==a?(n.destroy(t,new l),-1):(d.onResponseEnd(o),e[D][e[F]++]=null,t[ei]=0===e[b],t[w])?(s(0===e[N]),n.destroy(t,new m("reset")),X.ERROR.PAUSED):c?t[E]&&0===e[N]?(n.destroy(t,new m("reset")),X.ERROR.PAUSED):(null==e[v]||1===e[v]?setImmediate(e[W]):e[W](),0):(n.destroy(t,new m("reset")),X.ERROR.PAUSED)}}function eg(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:i,client:o,paused:a}=t;3===i?(!r[w]||r.writableNeedDrain||o[N]>1)&&(s(!a,"cannot be paused while waiting for headers"),n.destroy(r,new g)):5===i?a||n.destroy(r,new p):8===i&&(s(0===o[N]&&o[L]),n.destroy(r,new m("socket idle timeout")))}function eu(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[y];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[U]=e,this[B][J](e));return}this[U]=e,this[B][J](e)}function eh(){this[y]?.readMore()}function em(){let e=this[y];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&n.destroy(this,t);return}n.destroy(this,new h("other side closed",n.getSocketInfo(this)))}function ep(){let e=this[y];eI(this),e&&(this[U]||!e.statusCode||e.shouldKeepAlive||(this[U]=e.finish()||this[U]),this[y].destroy(),this[y]=null);let t=this[U]||new h("closed",n.getSocketInfo(this)),r=this[B];if(r[T]=null,r[j]=null,r.destroyed){s(0===r[b]);let e=r[D].splice(r[F]);for(let i=0;i<e.length;i++){let s=e[i];n.errorRequest(r,s,t)}}else if(r[N]>0&&"UND_ERR_INFO"!==t.code){let e=r[D][r[F]];r[D][r[F]++]=null,n.errorRequest(r,e,t)}r[k]=r[F],s(0===r[N]),r.emit("disconnect",r[f],[r],t),r[W]()}function eC(){this[K]=!0}function eI(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function ef(e,t,r,i,o,a,A,l){try{t?n.isBuffer(t)&&(s(a===t.byteLength,"buffer body must have content length"),o.cork(),o.write(`${A}content-length: ${a}\r \r -`,"latin1"),o.write(t),o.uncork(),i.onBodySent(t),l||!1===i.reset||(o[f]=!0)):0===a?o.write(`${A}content-length: 0\r +`,"latin1"),o.write(t),o.uncork(),i.onBodySent(t),l||!1===i.reset||(o[E]=!0)):0===a?o.write(`${A}content-length: 0\r \r `,"latin1"):(s(null===a,"no body must not have content length"),o.write(`${A}\r -`,"latin1")),i.onRequestSent(),r[W]()}catch(t){e(t)}}async function ef(e,t,r,i,s,n,o,a){try{if(null!=n&&n!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());s.cork(),s.write(`${o}content-length: ${n}\r +`,"latin1")),i.onRequestSent(),r[W]()}catch(t){e(t)}}async function eE(e,t,r,i,s,n,o,a){try{if(null!=n&&n!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());s.cork(),s.write(`${o}content-length: ${n}\r \r -`,"latin1"),s.write(e),s.uncork(),i.onBodySent(e),i.onRequestSent(),a||!1===i.reset||(s[f]=!0),r[W]()}catch(t){e(t)}}async function eB(e,t,r,i,n,o,a,A){s(0!==o||0===r[N],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),n[F]?t(n[F]):l=e});n.on("close",c).on("drain",c);let g=new ey({abort:e,socket:n,request:i,contentLength:o,client:r,expectsPayload:A,header:a});try{for await(let e of t){if(n[F])throw n[F];g.write(e)||await d()}g.end()}catch(e){g.destroy(e)}finally{n.off("close",c).off("drain",c)}}class ey{constructor({abort:e,socket:t,request:r,contentLength:i,client:s,expectsPayload:n,header:o}){this.socket=t,this.request=r,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=n,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:i,client:s,bytesWritten:n,expectsPayload:o,header:a}=this;if(t[F])throw t[F];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==i&&n+l>i){if(s[z])throw new A;process.emitWarning(new A)}t.cork(),0===n&&(o||!1===r.reset||(t[f]=!0),null===i?t.write(`${a}transfer-encoding: chunked\r +`,"latin1"),s.write(e),s.uncork(),i.onBodySent(e),i.onRequestSent(),a||!1===i.reset||(s[E]=!0),r[W]()}catch(t){e(t)}}async function eB(e,t,r,i,n,o,a,A){s(0!==o||0===r[N],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),n[U]?t(n[U]):l=e});n.on("close",c).on("drain",c);let g=new ey({abort:e,socket:n,request:i,contentLength:o,client:r,expectsPayload:A,header:a});try{for await(let e of t){if(n[U])throw n[U];g.write(e)||await d()}g.end()}catch(e){g.destroy(e)}finally{n.off("close",c).off("drain",c)}}class ey{constructor({abort:e,socket:t,request:r,contentLength:i,client:s,expectsPayload:n,header:o}){this.socket=t,this.request=r,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=n,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:i,client:s,bytesWritten:n,expectsPayload:o,header:a}=this;if(t[U])throw t[U];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==i&&n+l>i){if(s[z])throw new A;process.emitWarning(new A)}t.cork(),0===n&&(o||!1===r.reset||(t[E]=!0),null===i?t.write(`${a}transfer-encoding: chunked\r `,"latin1"):t.write(`${a}content-length: ${i}\r \r `,"latin1")),null===i&&t.write(`\r ${l.toString(16)}\r -`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[y].timeout&&3===t[y].timeoutType&&t[y].timeout.refresh&&t[y].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:s,header:n,request:o}=this;if(o.onRequestSent(),e[w]=!1,e[F])throw e[F];if(!e.destroyed){if(0===i?s?e.write(`${n}content-length: 0\r +`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[y].timeout&&3===t[y].timeoutType&&t[y].timeout.refresh&&t[y].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:s,header:n,request:o}=this;if(o.onRequestSent(),e[w]=!1,e[U])throw e[U];if(!e.destroyed){if(0===i?s?e.write(`${n}content-length: 0\r \r `,"latin1"):e.write(`${n}\r -`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&i!==t)if(r[z])throw new A;else process.emitWarning(new A);e[y].timeout&&3===e[y].timeoutType&&e[y].timeout.refresh&&e[y].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(s(r[N]<=1,"pipeline should only contain this request"),i(e))}}e.exports=function(e,t){if(e[T]=t,en||(en=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,i="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?i=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(i=!0),i)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onStatus(new $(ea.buffer,i,r))},wasm_on_message_begin:e=>(s(eo.ptr===e),eo.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderField(new $(ea.buffer,i,r))},wasm_on_header_value:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderValue(new $(ea.buffer,i,r))},wasm_on_headers_complete:(e,t,r,i)=>(s(eo.ptr===e),eo.onHeadersComplete(t,1===r,1===i)),wasm_on_body:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onBody(new $(ea.buffer,i,r))},wasm_on_message_complete:e=>(s(eo.ptr===e),eo.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[x]=!1,t[w]=!1,t[f]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[ei]=!1,t[y]=new ed(e,t,en),n.addListener(t,"error",eu),n.addListener(t,"readable",eh),n.addListener(t,"end",em),n.addListener(t,"close",ep),t[K]=!1,t.on("close",eC),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var a,l,g,u,h,p,C,I;let E,B,y,b,S,D,{method:x,path:R,host:k,upgrade:U,blocking:F,reset:L}=t,{body:H,headers:O,contentLength:P}=t,Y="PUT"===x||"POST"===x||"PATCH"===x||"QUERY"===x||"PROPFIND"===x||"PROPPATCH"===x;if(n.isFormDataLike(H)){i||(i=r(4626).extractBody);let[e,s]=i(H);null==t.contentType&&O.push("content-type",s),H=e.stream,P=e.length}else if(n.isBlobLike(H)&&null==t.contentType){let r=H.type;if(r){let i=`${r}`;if(!n.isValidHeaderValue(i))return n.errorRequest(e,t,new d("invalid content-type header")),!1;O.push("content-type",i)}}H&&"function"==typeof H.read&&H.read(0);let G=n.bodyLength(H);if(null===(P=G??P)&&(P=t.contentLength),0!==P||Y||(P=null),"GET"!==x&&"HEAD"!==x&&"OPTIONS"!==x&&"TRACE"!==x&&"CONNECT"!==x&&P>0&&null!==t.contentLength&&t.contentLength!==P){if(e[z])return n.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let J=e[T];eI(J);let _=r=>{t.aborted||t.completed||(n.errorRequest(e,t,r||new c),n.destroy(H),n.destroy(J,new m("aborted")))};try{t.onRequestStart(_,null)}catch(r){n.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===x&&(J[f]=!0),(U||"CONNECT"===x)&&(J[f]=!0),null!=L&&(J[f]=L),e[q]&&++J[V]>=e[q]&&(J[f]=!0),F&&(J[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[es]!==r)try{e.setTypeOfService(r),e[es]=r}catch{}}(J,t);let W=`${x} ${R} HTTP/1.1\r +`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&i!==t)if(r[z])throw new A;else process.emitWarning(new A);e[y].timeout&&3===e[y].timeoutType&&e[y].timeout.refresh&&e[y].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(s(r[N]<=1,"pipeline should only contain this request"),i(e))}}e.exports=function(e,t){if(e[T]=t,en||(en=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,i="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?i=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(i=!0),i)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onStatus(new $(ea.buffer,i,r))},wasm_on_message_begin:e=>(s(eo.ptr===e),eo.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderField(new $(ea.buffer,i,r))},wasm_on_header_value:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderValue(new $(ea.buffer,i,r))},wasm_on_headers_complete:(e,t,r,i)=>(s(eo.ptr===e),eo.onHeadersComplete(t,1===r,1===i)),wasm_on_body:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onBody(new $(ea.buffer,i,r))},wasm_on_message_complete:e=>(s(eo.ptr===e),eo.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[x]=!1,t[w]=!1,t[E]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[ei]=!1,t[y]=new ed(e,t,en),n.addListener(t,"error",eu),n.addListener(t,"readable",eh),n.addListener(t,"end",em),n.addListener(t,"close",ep),t[K]=!1,t.on("close",eC),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var a,l,g,u,h,p,C,I;let f,B,y,b,S,D,{method:x,path:R,host:k,upgrade:F,blocking:U,reset:L}=t,{body:O,headers:H,contentLength:P}=t,Y="PUT"===x||"POST"===x||"PATCH"===x||"QUERY"===x||"PROPFIND"===x||"PROPPATCH"===x;if(n.isFormDataLike(O)){i||(i=r(4626).extractBody);let[e,s]=i(O);null==t.contentType&&H.push("content-type",s),O=e.stream,P=e.length}else if(n.isBlobLike(O)&&null==t.contentType){let r=O.type;if(r){let i=`${r}`;if(!n.isValidHeaderValue(i))return n.errorRequest(e,t,new d("invalid content-type header")),!1;H.push("content-type",i)}}O&&"function"==typeof O.read&&O.read(0);let G=n.bodyLength(O);if(null===(P=G??P)&&(P=t.contentLength),0!==P||Y||(P=null),"GET"!==x&&"HEAD"!==x&&"OPTIONS"!==x&&"TRACE"!==x&&"CONNECT"!==x&&P>0&&null!==t.contentLength&&t.contentLength!==P){if(e[z])return n.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let _=e[T];eI(_);let J=r=>{t.aborted||t.completed||(n.errorRequest(e,t,r||new c),n.destroy(O),n.destroy(_,new m("aborted")))};try{t.onRequestStart(J,null)}catch(r){n.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===x&&(_[E]=!0),(F||"CONNECT"===x)&&(_[E]=!0),null!=L&&(_[E]=L),e[q]&&++_[V]>=e[q]&&(_[E]=!0),U&&(_[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[es]!==r)try{e.setTypeOfService(r),e[es]=r}catch{}}(_,t);let W=`${x} ${R} HTTP/1.1\r `;if("string"==typeof k?W+=`host: ${k}\r -`:W+=e[M],U?W+=`connection: upgrade\r -upgrade: ${U}\r -`:e[v]&&!J[f]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(O))for(let e=0;e<O.length;e+=2){let t=O[e+0],r=O[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r +`:W+=e[M],F?W+=`connection: upgrade\r +upgrade: ${F}\r +`:e[v]&&!_[E]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(H))for(let e=0;e<H.length;e+=2){let t=H[e+0],r=H[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r `;else W+=`${t}: ${r}\r -`}return o.sendHeaders.hasSubscribers&&o.sendHeaders.publish({request:t,headers:W,socket:J}),H&&0!==G?n.isBuffer(H)?eE(_,H,e,t,J,P,W,Y):n.isBlobLike(H)?"function"==typeof H.stream?eB(_,H.stream(),e,t,J,P,W,Y):ef(_,H,e,t,J,P,W,Y):n.isStream(H)?(a=_,l=H,g=e,u=t,h=J,p=P,C=W,I=Y,s(0!==p||0===g[N],"stream body cannot be pipelined"),E=!1,B=new ey({abort:a,socket:h,request:u,contentLength:p,client:g,expectsPayload:I,header:C}),y=function(e){if(!E)try{!B.write(e)&&this.pause&&this.pause()}catch(e){n.destroy(this,e)}},b=function(){!E&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",D)}),!E){let e=new c;queueMicrotask(()=>D(e))}},D=function(e){if(!E){if(E=!0,s(h.destroyed||h[w]&&g[N]<=1),h.off("drain",b).off("error",D),l.removeListener("data",y).removeListener("end",D).removeListener("close",S),!e)try{B.end()}catch(t){e=t}B.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?n.destroy(l,e):n.destroy(l)}},l.on("data",y).on("end",D).on("error",D).on("close",S),l.resume&&l.resume(),h.on("drain",b).on("error",D),l.errorEmitted??l.errored?setImmediate(D,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(D,null),(l.closeEmitted??l.closed)&&setImmediate(S)):n.isIterable(H)?eB(_,H,e,t,J,P,W,Y):s(!1):eE(_,null,e,t,J,P,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[x]&&t.unref&&(t.unref(),t[x]=!0):t[x]&&t.ref&&(t.ref(),t[x]=!1),0===e[N]&&e[b]>0&&t[ei]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[y].readMore(),t.destroyed;return}if(1===t[et]){t[y].readMore(),t.destroyed;return}}if(0===e[N]&&(t[y].readMore(),t.destroyed))return;if(0===e[S])8!==t[y].timeoutType&&t[y].setTimeout(e[L],8);else if(e[N]>0&&t[y].statusCode<200&&3!==t[y].timeoutType){let r=e[D][e[U]],i=null!=r.headersTimeout?r.headersTimeout:e[Y];t[y].setTimeout(i,3)}}}(e)},destroy(e,r){t[K]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[f]||t[Q]||1===t[et]||r&&(e[N]>0&&!r.idempotent||e[N]>0&&(r.upgrade||"CONNECT"===r.method)||e[N]>0&&0!==n.bodyLength(r.body)&&(n.isStream(r.body)||n.isAsyncIterable(r.body)||n.isFormDataLike(r.body))))||!1}}},942(e,t,r){let i,s,n=r(4589),{pipeline:o}=r(7075),a=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:g,HeadersTimeoutError:u,BodyTimeoutError:h}=r(8065),{kUrl:m,kReset:p,kClient:C,kRunning:I,kPending:E,kQueue:f,kPendingIdx:B,kRunningIdx:y,kError:Q,kSocket:N,kStrictContentLength:b,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:D,kHTTP2Session:x,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:M,kHostAuthority:k,kResume:U,kSize:F,kHTTPContext:v,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:H,kBodyTimeout:O,kEnableConnectProtocol:P,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:z}=r(3025),{channels:q}=r(6708),V=Symbol("open streams"),J=Symbol("request stream id"),_=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),K=Symbol("received goaway");try{s=r(2467)}catch{s={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:X,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:$,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:ei,HTTP2_HEADER_PROTOCOL:es,NGHTTP2_NO_ERROR:en,NGHTTP2_REFUSED_STREAM:eo}}=s;function ea(e){e[J]=null,e[_]=null,e[W]=null}function eA(e,t,r){let i=e[W],s=e[_];ea(e),i?.(s),e[J]=t.id,e[_]=t,e[W]=r}function el(e){let t=e[W],r=e[_];ea(e),t?.(r)}function ec(e){let t=e[z];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[z];!0===t.refed&&(t.refed=!1,e.unref())}function eg(e){let t=e[z];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eu(e){let t=e[C];if(t[x]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[F])return void eg(e);let r=e[z];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[C],r=e[N];if(e[z].idleTimeout=null,t[x]!==e||0!==e[V]||0!==t[F]||e.closed||e.destroyed)return;let i=new d("socket idle timeout");r[Q]=i,a.destroy(r,i)}function em(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function ep(e){if(this[C][w]=e.maxConcurrentStreams??this[C][w],!0===this[Y]&&!0===this[P]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[N][Q]=e,this[C][S](e);return}this[P]=e.enableConnectProtocol??this[P],this[Y]=!0,this[C][U]()}function eC(e){let t=e[z];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[C],i=this[N];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);i[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function eI(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[N][Q]=e,this[K]||this[C][S](e)}function eE(e,t,r){if(0===r){if(this[K])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[N][Q]=r,this[C][S](r)}}function ef(e,t){if(this[K])return;this[K]=!0;let r=this[Q]||(e===en?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this[N]))),i=this[C],s=i[B],n=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[y];t<e[B];t++){let i=e[f][t];if(null!=i&&("number"!=typeof i[J]||i[J]>r))return t}return e[B]}(i,t),o=[],A=[];for(let e=n;e<s;e++){let t=i[f][e];null!=t&&(A.push(function(e){let t=e[_];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||a.isBuffer(t)||a.isBlobLike(t)}(t)?o.push(t):a.errorRequest(i,t,r))}for(let e=0;e<A.length;e++)!function(e,t=eo){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(n!==s){let e=i[f].slice(s);i[f].length=n,i[f].push(...o,...e)}i[x]===this&&(i[N]=null,i[v]=null,i[x]=null),eg(this),this.closed||this.destroyed||this.close(),i[B]=n,i.emit("disconnect",i[m],[i],r),i[U]()}function eB(){let{[C]:e,[z]:t,[N]:r}=this,i=r[Q]||this[Q]||new c("closed",a.getSocketInfo(r));if(e[x]===this&&(e[N]=null,e[v]=null,e[x]=null),eg(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){n(0===e[E]);let t=e[f].splice(e[y]);for(let r=0;r<t.length;r++){let s=t[r];null!=s&&a.errorRequest(e,s,i)}}}function ey(){let e=this[Q]||new c("closed",a.getSocketInfo(this)),t=this[x],r=t[C];r[N]!==this&&(t[K]||null!=r[x]&&r[x]!==t)||(r[N]=null,r[v]=null,r[x]===t&&(r[x]=null),t.destroy(e),r[B]=r[y],n(0===r[I]),r.emit("disconnect",r[m],[r],e),r[U]())}function eQ(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[x]?.[K]||this[x]?.[C]?.[S](e)}function eN(){a.destroy(this,new c("other side closed",a.getSocketInfo(this)))}function eb(){this[T]=!0}function eS(){}function ew(e){let t=e[x];e[x]=null,t[V]-=1,0===t[V]&&(ed(t),eu(t))}function eD(){this.off("error",eS);let e=this[j];this[j]=null,ek(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function ex(){let e=this[j];null!=e&&(eP(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eH(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",eU),e.off("end",eF),e.off("timeout",ev),e.off("error",eS)}function eM(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[_]===e&&ea(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ek(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(eM(e.stream),e.abort(t,!0))}function eU(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ek(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ek(e,new d("HTTP/2: stream errored before response headers"))}function eF(){ek(this[j],new d("HTTP/2: stream half-closed (remote)"))}function ev(){let e=this[j];ek(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:i}=r;r.responseReceived=!0;let s=e[ei];delete e[ei],i.onRequestUpgrade(s,e,this),i.aborted||i.completed||(eR(this),ea(i),eH(r))}function eL(e,t){let{request:r,headersTimeout:i,session:s}=t;e[G]=!0,e[x]=s,e[j]=t,t.stream=e,eA(r,e,eM),e.once("response",eT),e.on("error",eU),e.once("end",eF),e.on("timeout",ev),e.once("close",eD),eg(s),++s[V],e.setTimeout(i)}function eH(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let i=e[f],s=e[y];if(s<e[B]&&i[s]===t){i[s]=null,e[y]=s+1;return}let n=i.indexOf(t,s);-1!==n&&!(n>=e[B])&&(i.splice(n,1),e[B]--,r&&e[B]<e[y]&&(e[B]=e[y]))}(e.client,e.request,t),e.client[U]())}function eO(e,t,r,i,s,n){try{return r.request(s,n)}catch(n){if(n?.code==="ERR_HTTP2_INVALID_SESSION"||n?.code==="ERR_HTTP2_GOAWAY_SESSION"){let i=new c(n.message,a.getSocketInfo(r[N]));i.cause=n,r[Q]=i;let s=r[C],o=r[N];if(s[x]===r&&(s[N]=null,s[v]=null,s[x]=null),null!=o&&null==o[Q]&&(o[Q]=i),!r.closed&&!r.destroyed)try{r.destroy(i)}catch{}return a.destroy(o,i),e[f].splice(e[B]+1,0,t),null}let s=new d(n.message,{cause:n});return r[Q]=s,r[N][Q]=s,r.destroy(s),a.destroy(r[N],s),i(s),null}}function eP(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[_]===e&&ea(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",ez),e.off("error",eq),e.off("frameError",eV),e.off("aborted",eJ),e.off("timeout",e_),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let i=e[ei];(delete e[ei],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eP(this):(!1===r.onResponseStart(Number(i),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function ez(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",ez),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,ex.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function eq(e){let t=this[j];null!=t&&(this.off("error",eq),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function eJ(){this.off("data",eY)}function e_(){let e=this[j];if(null==e)return;this.off("timeout",e_);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new u(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,i,s,A,l;let c,d=this[j];d.bodySent=!0;let{abort:g,body:u,client:h,contentLength:m,expectsPayload:C,request:E}=d;u&&0!==m?a.isBuffer(u)?eK(g,this,u,h,E,h[N],m,C):a.isBlobLike(u)?"function"==typeof u.stream?eZ(g,this,u.stream(),h,E,h[N],m,C):eX(g,this,u,h,E,h[N],m,C):a.isStream(u)?(e=g,t=h[N],r=C,i=this,s=u,A=h,l=E,n(0!==m||0===A[I],"stream body cannot be pipelined"),c=o(s,i,i=>{i?(a.destroy(c,i),e(i)):(a.removeAllListeners(c),l.onRequestSent(),r||(t[p]=!0),A[U]())}),a.addListener(c,"data",function(e){l.onBodySent(e)})):a.isIterable(u)?eZ(g,this,u,h,E,h[N],m,C):n(!1):eK(g,this,null,h,E,h[N],m,C)}function eK(e,t,r,i,s,o,A,l){try{null!=r&&a.isBuffer(r)&&(n(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),s.onBodySent(r)),l||(o[p]=!0),s.onRequestSent(),i[U]()}catch(t){e(t)}}async function eX(e,t,r,i,s,n,o,a){try{if(null!=o&&o!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),s.onBodySent(e),s.onRequestSent(),a||(n[p]=!0),i[U]()}catch(t){e(t)}}async function eZ(e,t,r,i,s,o,a,A){n(0!==a||0===i[I],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(null===l),o[Q]?t(o[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(o[Q])throw o[Q];let r=t.write(e);s.onBodySent(e),r||await d()}t.end(),s.onRequestSent(),A||(o[p]=!0),i[U]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[N]=t;let o=e[R],c=e[M],u=s.connect(e[m],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=o?{initialWindowSize:o}:null}});return e[N]=t,u[V]=0,u[C]=e,u[N]=t,u[z]={idleTimeout:null,refed:!0,ping:{interval:0===e[D]?null:setInterval(eC,e[D],u).unref()}},u[K]=!1,u[P]=!1,u[Y]=!1,c&&a.addListener(u,"connect",em.bind(u,c)),a.addListener(u,"error",eI),a.addListener(u,"frameError",eE),a.addListener(u,"goaway",ef),a.addListener(u,"close",eB),a.addListener(u,"remoteSettings",ep),ed(u),e[x]=u,t[x]=u,a.addListener(t,"error",eQ),a.addListener(t,"end",eN),a.addListener(t,"close",ey),t[T]=!1,t.on("close",eb),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let s=t.headersTimeout??e[H],o=t.bodyTimeout??e[O],c=e[x],{method:u,path:h,host:m,upgrade:p,expectContinue:C,signal:I,protocol:E,headers:f}=t;if(null!=p&&"websocket"!==p)return a.errorRequest(e,t,new g(`Custom upgrade "${p}" not supported over HTTP/2`)),!1;let B=function(e){let t={};for(let r=0;r<e.length;r+=2){let i=e[r+0],s=e[r+1],n=t[i];if("cookie"===i){null!=n?t[i]=Array.isArray(n)?(n.push(s),n):[n,s]:t[i]=s;continue}if("string"==typeof s){t[i]=n?`${n}, ${s}`:s;continue}for(let e=0;e<s.length;e++)t[i]=t[i]?`${t[i]}, ${s[e]}`:s[e]}return t}(f);B[X]=m||e[k],B[Z]=u;let y={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:s,bodyTimeout:o,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,i=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,a.errorRequest(e,t,r),null!=y.stream){el(t);let s=y.stream;s.close(),s.destroyed||a.destroy(s),e[S](r),eH(y,i)}a.destroy(y.body,r)}};y.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){a.errorRequest(e,t,r)}if(t.aborted)return!1;if(p||"CONNECT"===u)return(ec(c),"websocket"===p)?!1===c[P]?(a.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(B[Z]="CONNECT",B[es]="websocket",B[$]=h,"ws:"===E||"wss:"===E?B[ee]="ws:"===E?"http":"https":B[ee]="http:"===E?"http":"https",null==(w=eO(e,t,c,Q,B,{endStream:!1,signal:I})))?(ed(c),!1):(eL(w,y),!0):null==(w=eO(e,t,c,Q,B,{endStream:!1,signal:I}))?(ed(c),!1):(eL(w,y),!0);B[$]=h,B[ee]="http:"===E?"http":"https";let D="PUT"===u||"POST"===u||"PATCH"===u||"QUERY"===u||"PROPFIND"===u||"PROPPATCH"===u,R=y.body;R&&"function"==typeof R.read&&R.read(0);let M=a.bodyLength(R);if(a.isFormDataLike(R)){let[e,t]=(i??=r(4626).extractBody)(R);B["content-type"]=t,R=e.stream,M=e.length}if(null==M&&(M=t.contentLength),0!==M||D||(M=null),"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"TRACE"!==u&&"CONNECT"!==u&&M>0&&null!=t.contentLength&&t.contentLength!==M){if(e[b])return a.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=M&&(n(R||0===M,"no body must not have content length"),B[et]=`${M}`),ec(c),q.sendHeaders.hasSubscribers){let e="";for(let t in B)e+=`${t}: ${B[t]}\r -`;q.sendHeaders.publish({request:t,headers:e,socket:c[N]})}let U=null===R||0===M;return y.body=R,y.contentLength=M,y.expectsPayload=D,C&&(B[er]="100-continue"),null!=(w=eO(e,t,c,Q,B,{endStream:U,signal:I}))&&(w[G]=!0,w[j]=y,y.stream=w,eg(c),++c[V],s&&w.setTimeout(s),w[x]=c,w.on("close",ex),eA(t,w,eP),C&&w.once("continue",ej),w.on("response",eG),w.on("end",ez),w.on("error",eq),w.on("frameError",eV),w.on("aborted",eJ),(s||o)&&w.on("timeout",e_),w.on("trailers",eW),C||ej.call(w),!0)})(e,t),resume(){var t;let r,i;r=(t=e)[N],i=t[x],r?.destroyed===!1&&(0===t[F]||0===t[w]?ed(i):ec(i),0===t[F]&&0===i[V]?eu(i):eg(i))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===u[Y]&&e[I]>0||e[I]>=e[w])return!0;if(null!=t){if(!(e[I]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y])return!0}return!1}}}},5183(e,t,r){let i=r(4589),s=r(7030),n=r(7067),o=r(1210),{ClientStats:a}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:g,ClientDestroyedError:u}=r(8065),h=r(5010),{kUrl:m,kServerName:p,kClient:C,kBusy:I,kConnect:E,kResuming:f,kRunning:B,kPending:y,kSize:Q,kQueue:N,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:x,kPendingIdx:R,kRunningIdx:M,kError:k,kPipelining:U,kKeepAliveTimeoutValue:F,kMaxHeadersSize:v,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:H,kBodyTimeout:O,kStrictContentLength:P,kConnector:Y,kMaxRequests:G,kCounter:z,kClose:q,kDestroy:V,kDispatch:J,kLocalAddress:_,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:X,kHostAuthority:Z,kHTTP2InitialWindowSize:$,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),ei=r(8043),es=r(942),en=Symbol("kClosedResolve"),eo=n&&n.maxHeaderSize&&Number.isInteger(n.maxHeaderSize)&&n.maxHeaderSize>0?()=>n.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},ea=()=>{};function eA(e){return e[K]?.version==="h2"?e[X]:e[U]??e[K]?.defaultPipelining??1}function el(e,t){if(0===e[B]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){i(e[R]===e[M]);let r=e[N].splice(e[M]);for(let i=0;i<r.length;i++){let s=r[i];null!=s&&o.errorRequest(e,s,t)}i(0===e[Q])}}function ec(e){i(!e[S]),i(!e[K]);let{host:t,hostname:r,protocol:n,port:a}=e[m];if("["===r[0]){let e=r.indexOf("]");i(-1!==e);let t=r.substring(1,e);i(s.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,version:e[K]?.version,servername:e[p],localAddress:e[_]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:n,port:a,servername:e[p],localAddress:e[_]},(s,l)=>{if(s){ed(e,s,{host:t,hostname:r,protocol:n,port:a}),e[et]();return}if(e.destroyed){o.destroy(l.on("error",ea),new u),e[et]();return}i(l);try{e[K]="h2"===l.alpnProtocol?es(e,l):ei(e,l)}catch(i){l.destroy().on("error",ea),ed(e,i,{host:t,hostname:r,protocol:n,port:a}),e[et]();return}e[S]=!1,l[z]=0,l[G]=e[G],l[C]=e,l[k]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,version:e[K]?.version,servername:e[p],localAddress:e[_]},connector:e[Y],socket:l}),e.emit("connect",e[m],[e]),e[et]()})}catch(i){ed(e,i,{host:t,hostname:r,protocol:n,port:a}),e[et]()}}function ed(e,t,{host:r,hostname:i,protocol:s,port:n}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:i,protocol:s,port:n,version:e[K]?.version,servername:e[p],localAddress:e[_]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[N].splice(e[M],e[B]);e[R]=e[M];for(let i=0;i<r.length;i++)o.errorRequest(e,r[i],t);for(;e[y]>0&&e[N][e[R]].servername===e[p];){let r=e[N].splice(e[R],1)[0];o.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[m],[e],t)}}function eg(e){e[w]=0,e.emit("drain",e[m],[e])}function eu(e,t){2!==e[f]&&(e[f]=2,function(e,t){for(;;){if(e.destroyed)return void i(0===e[y]);if(e[en]&&!e[Q]){e[en](),e[en]=null;return}if(e[K]&&e[K].resume(),e[I])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eg(e))):eg(e);continue}if(0===e[y]||e[B]>=(eA(e)||1))return;let r=e[N][e[R]];if(null===r)return;if("https:"===e[m].protocol&&e[p]!==r.servername){if(e[B]>0)return;e[p]=r.servername,e[K]?.destroy(new g("servername changed"),()=>{e[K]=null,eu(e)})}if(e[S])return;if(!e[K])return void ec(e);if(e[K].destroyed||e[K].busy(r))return;!r.aborted&&e[K].write(r)?e[R]++:e[N].splice(e[R],1)}}(e,t),e[f]=0,e[M]>256&&(e[N].splice(0,e[M]),e[R]-=e[M],e[M]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:i,requestTimeout:n,connectTimeout:a,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:u,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:I,socketPath:E,pipelining:B,tls:y,strictContentLength:Q,maxCachedSessions:b,connect:S,maxRequestsPerClient:k,localAddress:z,maxResponseSize:q,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:J,maxConcurrentStreams:ei,allowH2:es,useH2c:ea,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eg}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==n)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==u)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=eo();if(null!=E&&"string"!=typeof E)throw new d("invalid socketPath");if(null!=a&&(!Number.isFinite(a)||a<0))throw new d("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new d("invalid keepAliveTimeout");if(null!=C&&(!Number.isFinite(C)||C<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=I&&!Number.isFinite(I))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=k&&(!Number.isInteger(k)||k<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=z&&("string"!=typeof z||0===s.isIP(z)))throw new d("localAddress must be valid string IP address");if(null!=q&&(!Number.isInteger(q)||q<-1))throw new d("maxResponseSize must be a positive number");if(null!=J&&(!Number.isInteger(J)||J<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=es&&"boolean"!=typeof es)throw new d("allowH2 must be a valid boolean value");if(null!=ei&&("number"!=typeof ei||ei<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=ea&&"boolean"!=typeof ea)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eg}),"function"!=typeof S)S=h({...y,maxCachedSessions:b,allowH2:es,useH2c:ea,socketPath:E,timeout:a,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:J}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=E?{socketPath:E}:null,...null!=es?{allowH2:es}:null},r)}this[m]=o.parseOrigin(e),this[Z]=`${this[m].hostname}${this[m].port?`:${this[m].port}`:""}`,this[Y]=S,this[U]=null!=B?B:1,this[v]=t,this[D]=null==g?4e3:g,this[T]=null==C?6e5:C,this[L]=null==I?2e3:I,this[F]=this[D],this[p]=null,this[_]=null!=z?z:null,this[f]=0,this[w]=0,this[x]=`host: ${this[Z]}\r -`,this[O]=null!=A?A:3e5,this[H]=null!=r?r:3e5,this[P]=null==Q||Q,this[G]=k,this[en]=null,this[W]=q>-1?q:-1,this[K]=null,this[X]=null!=ei?ei:100,this[$]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[N]=[],this[M]=0,this[R]=0,this[et]=e=>eu(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[U]}set pipelining(e){this[U]=e,this[et](!0)}get stats(){return new a(this)}get[y](){return this[N].length-this[R]}get[B](){return this[R]-this[M]}get[Q](){return this[N].length-this[M]}get[b](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[I](){let e=this[K]?.version==="h2";return!!(this[K]?.busy(null)||this[Q]>=(eA(this)||1)||this[y]>0&&!e)}[E](e){ec(this),this.once("connect",e)}[J](e,t){let r=new l(this[m].origin,e,t);return this[N].push(r),this[f]||(null==o.bodyLength(r.body)&&o.isIterable(r.body)?(this[f]=1,queueMicrotask(()=>eu(this))):this[et](!0)),this[f]&&2!==this[w]&&this[I]&&(this[w]=2),this[w]<2}[q](){return new Promise(e=>{this[Q]?this[en]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[N].splice(this[R]);for(let t=0;t<r.length;t++){let i=r[t];null!=i&&o.errorRequest(this,i,e)}let i=()=>{this[en]&&(this[en](),this[en]=null),t(null)};this[K]?(this[K].destroy(e,i),this[K]=null):queueMicrotask(i),this[et]()})}}},9779(e,t,r){let i=r(6873),{ClientDestroyedError:s,ClientClosedError:n,InvalidArgumentError:o}=r(8065),{kDestroy:a,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),g=Symbol("onDestroyed"),u=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends i{[c]=!1;[g]=null;[l]=!1;[u]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,i)=>r?t(r):e(i))});if("function"!=typeof e)throw new o("invalid callback");if(this[c]){let t=new s;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[u]?this[u].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[u]??=[],this[u].push(e);let t=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,i)=>e?r(e):t(i))});if("function"!=typeof t)throw new o("invalid callback");if(this[c])return void(this[g]?this[g].push(t):queueMicrotask(()=>t(null,null)));e||(e=new s),this[c]=!0,this[g]??=[],this[g].push(t);let r=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[a](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new o("handler must be an object");try{if(!e||"object"!=typeof e)throw new o("opts must be an object.");if(e.dispatcher)throw new o("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[g])throw new s;if(this[l])throw new n;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let i=r(8474);e.exports=class extends i{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let i=r(6873),{InvalidArgumentError:s}=r(8065),{toRawHeaders:n}=r(1210);class o{#y;constructor(e){this.#y=e}onRequestStart(e,t){this.#y.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,i){let s=e?.rawHeaders??n(r??{});this.#y.onUpgrade?.(t,s,i)}onResponseStart(e,t,r,i){let s=e?.rawHeaders??n(r??{});this.#y.onHeaders?.(t,s,()=>e.resume(),i)===!1&&e.pause()}onResponseData(e,t){this.#y.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??n(t??{});this.#y.onComplete?.(r)}onResponseError(e,t){if(!this.#y.onError)throw t;this.#y.onError(t)}onBodySent(e){this.#y.onBodySent?.(e)}onRequestSent(){this.#y.onRequestSent?.()}onResponseStarted(){this.#y.onResponseStarted?.()}}e.exports=class e extends i{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new s("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new s("handler must be an object");return"function"==typeof e.onRequestStart?e:new o(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let i=r(9779),{kClose:s,kDestroy:n,kClosed:o,kDestroyed:a,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),g=r(3614),u=r(5891),h={"http:":80,"https:":443};e.exports=class extends i{#N=null;#b=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:i,...s}=e;this[l]=new u(s);let n=t??process.env.http_proxy??process.env.HTTP_PROXY;n?this[c]=new g({...s,uri:n}):this[c]=this[l];let o=r??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[d]=new g({...s,uri:o}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#D(r).dispatch(e,t)}[s](){return Promise.all([this[l].close(),!this[c][o]&&this[c].close(),!this[d][o]&&this[d].close()])}[n](e){return Promise.all([this[l].destroy(e),!this[c][a]&&this[c].destroy(e),!this[d][a]&&this[d].destroy(e)])}#D(e){let{protocol:t,host:r,port:i}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||h[t]||0,this.#x(r,i))?"https:"===t?this[d]:this[c]:this[l]}#x(e,t){if(this.#R&&this.#w(),0===this.#b.length)return!0;if("*"===this.#N)return!1;for(let r=0;r<this.#b.length;r++){let i=this.#b[r];if((!i.port||i.port===t)&&(e===i.hostname||e.slice(-(i.hostname.length+1))===`.${i.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#M,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let s=i.match(/^(.+):(\d+)$/);r.push({hostname:(s?s[1]:i).replace(/^\*?\./,"").toLowerCase(),port:s?Number.parseInt(s[2],10):0})}this.#N=e,this.#b=r}get #R(){return void 0===this.#S.noProxy&&this.#N!==this.#M}get #M(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:i}=r(8065),s=r(5183);e.exports=class extends s{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new i("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:s,...n}=t??{},o=r??100,a=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new i("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=s&&Number.isInteger(s)&&s>0&&(a=s),a>o)throw new i("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...n,maxConcurrentStreams:o,pipelining:a,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:i}=r(256),s=r(9779),n=r(9006),{kConnected:o,kSize:a,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:g,kUrl:u,kClose:h,kDestroy:m,kDispatch:p}=r(3025),C=Symbol("clients"),I=Symbol("needDrain"),E=Symbol("queue"),f=Symbol("closed resolve"),B=Symbol("onDrain"),y=Symbol("onConnect"),Q=Symbol("onDisconnect"),N=Symbol("onConnectionError"),b=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),D=Symbol("remove client");class x extends s{[E]=new n;[c]=0;[C]=[];[I]=!1;[B](e,t,r){let i=this[E],s=!1;for(;!s;){let t=i.shift();if(!t)break;this[c]--,s=!e.dispatch(t.opts,t.handler)}if(e[I]=s,!s&&this[I]&&(this[I]=!1,this.emit("drain",t,[this,...r])),this[f]&&i.isEmpty()){let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[f])}}[y]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[N]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[I]}get[o](){let e=0;for(let{[o]:t}of this[C])e+=t;return e}get[g](){let e=0;for(let{[o]:t,[I]:r}of this[C])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[C])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[C])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[C])e+=t;return e}get stats(){return new i(this)}[h](){if(!this[E].isEmpty())return new Promise(e=>{this[f]=e});{let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[m](e){for(;;){let t=this[E].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[C].length);for(let r=0;r<this[C].length;r++)t[r]=this[C][r].destroy(e);return Promise.all(t)}[p](e,t){let r=this[b]();return r?r.dispatch(e,t)||(r[I]=!0,this[I]=!this[S]()):(this[I]=!0,this[E].push({opts:e,handler:t}),this[c]++),!this[I]}[S](){for(let e=0;e<this[C].length;e++){let t=this[C][e];if(!t[I]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[B].bind(this,e)).on("connect",this[y]).on("disconnect",this[Q]).on("connectionError",this[N]),this[C].push(e),this[I]&&queueMicrotask(()=>{this[I]&&this[B](e,e[u],[e,this])}),this}[D](e){let t=this[C].indexOf(e);-1!==t&&this[C].splice(t,1),e.close(()=>{}),this[I]=!this[C].some(e=>!e[I]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:x,kClients:C,kNeedDrain:I,kAddClient:w,kRemoveClient:D,kGetDispatcher:b,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:i,kClients:s,kNeedDrain:n,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory");function I(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=I,connect:i,connectTimeout:n,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:E,useH2c:f,clientTtl:B,...y}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:E,useH2c:f,socketPath:A,timeout:n,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(y),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(y),connect:i,allowH2:E,useH2c:f,clientTtl:B,socketPath:A},this[C]=r,this.on("connect",(e,t)=>{if(null!=B&&B>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[s].indexOf(e);-1!==t&&this[s].splice(t,1)}})}[a](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[n])return r}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[n])return!0}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},3614(e,t,r){let{kProxy:i,kClose:s,kDestroy:n,kDispatch:o}=r(3025),a=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:g,ProxyConnectionError:u}=r(8065),h=r(5010),m=r(5183),{channels:p}=r(6708),C=r(9741),I=Symbol("proxy agent"),E=Symbol("proxy client"),f=Symbol("proxy headers"),B=Symbol("request tls settings"),y=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),N=Symbol("connect endpoint function (http/1.1 only)"),b=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let D=()=>{};function x(e,t){return 1===t.connections?new m(e,t):new A(e,t)}class R extends l{#k;#U;constructor(e,{headers:t={},connect:r,factory:i,proxyServername:s}){if(!e)throw new c("Proxy URL is mandatory");super(),this[f]=t,this.#U=s,i?this.#k=i(e,{connect:r}):this.#k=new m(e,{connect:r})}[o](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,i,s,n){if(407===i){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,i,s,n)};let{origin:i,path:s="/",headers:n={}}=e;if(e.path=i+s,!("host"in n)&&!("Host"in n)){let{host:e}=new URL(i);n.host=e}return e.headers={...this[f],...n},null!=this.#U&&(e.servername=this.#U),this.#k[o](e,t)}[s](){return this.#k.close()}[n](e){return this.#k.destroy(e)}}function M(e){return e.length===S.length&&e.toLowerCase()===S}function k(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:s}=e;super();let n=this.#F(e),{href:o,origin:A,port:l,protocol:m,username:S,password:M,hostname:k}=n;if(this[i]={uri:o,protocol:m},this[B]=e.requestTls,this[y]=e.proxyTls,this[f]=e.headers||{},this[b]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[f]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[f]["proxy-authorization"]=e.token:S&&M?this[f]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(M)}`).toString("base64")}`:S&&(this[f]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let U=h({timeout:s,...e.proxyTls}),F=h({timeout:s,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:s,...e.requestTls}),this[N]=h({timeout:s,...e.requestTls,allowH2:!1});let v=e.factory||x,T=(t,r)=>{let{protocol:s}=new URL(t);if("socks5:"===this[i].protocol||"socks:"===this[i].protocol)return new C(this[i].uri,{headers:this[f],connect:U,factory:v,username:e.username||S,password:e.password||M,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[b]&&"http:"===s){let e="https:"===this[i].protocol?(e,t)=>F(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new g(e)):t(e,r)}):F;return new R(this[i].uri,{headers:this[f],connect:e,factory:v,proxyServername:"https:"===this[i].protocol?this[y]?.servername||k:void 0})}return v(t,r)};"socks5:"===m||"socks:"===m?this[E]=null:this[E]=t(n,{connect:U}),this[I]=new a({...e,factory:T,connect:async(e,t)=>{if(!this[E])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let i,s={origin:A,port:l,path:r,signal:e.signal,headers:{...this[f],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[y]?.servername||k},{socket:n,statusCode:o}=await this[E].connect(s);if(200!==o){n.on("error",D).destroy(),t(new d(`Proxy response (${o}) !== 200 when HTTP Tunneling`));return}if(p.proxyConnected.hasSubscribers&&p.proxyConnected.publish({socket:n,connectParams:s}),"https:"!==e.protocol)return void t(null,n);i=this[B]?this[B].servername:e.servername,(!1===e.allowH2?this[N]:this[Q])({...e,servername:i,httpSocket:n},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new g(e):"UND_ERR_SOCKET"===e.code?new u(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)M(e[r])&&k(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)M(t)&&k()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[I].dispatch({...e,headers:r},t)}#F(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[s](){let e=[this[I].close()];return this[E]&&e.push(this[E].close()),Promise.all(e)}[n](){let e=[this[I].destroy()];return this[E]&&e.push(this[E].destroy()),Promise.all(e)}}},8392(e,t,r){let i=r(6873),s=r(4166);e.exports=class extends i{#v=null;#T=null;constructor(e,t={}){super(t),this.#v=e,this.#T=t}dispatch(e,t){let r=new s({...e,retryOptions:this.#T},{dispatch:this.#v.dispatch.bind(this.#v),handler:t});return this.#v.dispatch(e,r)}close(){return this.#v.close()}destroy(){return this.#v.destroy()}}},1326(e,t,r){let{PoolBase:i,kClients:s,kNeedDrain:n,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory"),I=Symbol("index");function E(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=E,connect:i,connectTimeout:n,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:f,clientTtl:B,...y}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:f,socketPath:A,timeout:n,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(y),connect:i,allowH2:f,clientTtl:B,socketPath:A},this[C]=r,this[I]=-1,this.on("connect",(e,t)=>{if(null!=B&&B>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[s].indexOf(e);-1!==t&&this[s].splice(t,1)}})}[a](){let e=this[m].clientTtl;if(0===this[s].length){let e=this[C](this[u],this[m]);return this[o](e),e}let t=0;for(;t<this[s].length;){this[I]=(this[I]+1)%this[s].length;let r=this[s][this[I]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[I]--;continue}if(!r[n])return r;t++}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[I]&&this[I]--,t--;else if(!r[n])return!0}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},9741(e,t,r){let i,{URL:s}=r(3136),n=r(9779),{InvalidArgumentError:o}=r(8065),{Socks5Client:a,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),g=r(6334),u=r(5010),{debuglog:h}=r(7975),m=h("undici:socks5-proxy"),p=Symbol("proxy url"),C=Symbol("proxy headers"),I=Symbol("proxy auth"),E=Symbol("proxy protocol"),f=Symbol("pools"),B=Symbol("connector"),y=Symbol("request tls settings"),Q=!1;e.exports=class extends n{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new o("Proxy URL is mandatory");let r="string"==typeof e?new s(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new o("Proxy URL must use socks5:// or socks:// protocol");this[p]=r,this[C]=t.headers||{},this[E]=t.proxyTls?"https:":"http:",this[y]=t.requestTls,this[I]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[B]=t.connect||u({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[f]=new Map}async createSocks5Connection(e,t){let r=this[p].hostname,i=parseInt(this[p].port)||1080;m("creating SOCKS5 connection to",r,i);let s=Promise.withResolvers();this[B]({hostname:r,host:r,port:i,protocol:this[E]},(e,t)=>{e?s.reject(e):s.resolve(t)});let n=await s.promise,o=new a(n,this[I]);o.on("error",e=>{m("SOCKS5 error:",e),n.destroy()}),await o.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),o.removeListener("error",g),l.resolve()},g=e=>{clearTimeout(c),o.removeListener("authenticated",d),l.reject(e)};o.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(o.once("authenticated",d),o.once("error",g)),await l.promise,await o.connect(e,t);let u=Promise.withResolvers(),h=setTimeout(()=>{u.reject(Error("SOCKS5 connection timeout"))},5e3),C=r=>{m("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),o.removeListener("error",f),u.resolve()},f=e=>{clearTimeout(h),o.removeListener("connected",C),u.reject(e)};return o.once("connected",C),o.once("error",f),await u.promise,n}[l](e,t){let{origin:n}=e;m("dispatching request to",n,"via SOCKS5");try{let o=String(n),a=this[f].get(o);return(!a||a.destroyed||a.closed)&&(a=new g(n,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new s(n),o=e.hostname,a=parseInt(e.port)||("https:"===e.protocol?443:80);m("establishing SOCKS5 connection to",o,a);let A=await this.createSocks5Connection(o,a),l=A;if("https:"===e.protocol){i||(i=r(1692)),m("upgrading to TLS"),l=i.connect({...this[y],socket:A,servername:this[y]?.servername||o});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){m("SOCKS5 connection error:",e),t(e)}}}),this[f].set(o,a)),a[l](e,t)}catch(e){if(m("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[f].values())e.push(t.close());this[f].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[f].values())t.push(r.destroy(e));this[f].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let i,s=Symbol.for("undici.globalDispatcher.2"),n=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:o}=r(8065),a=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new o("Argument agent must implement Agent");try{Object.defineProperty(globalThis,s,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){i=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,n,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[s]??i}void 0===c()&&l(new a),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let i=r(1210),{parseCacheControlHeader:s,hasInvalidCacheControlDirective:n,parseVaryHeader:o,hasVaryStar:a,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let g=[200,203,204,206,300,301,308,404,405,410,414,501],u=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function m(e,t,r){C(e,{...t,path:r});for(let s=0;s<i.safeHTTPMethods.length;s++){let n=i.safeHTTPMethods[s];n!==t.method&&C(e,{...t,method:n,path:r})}}function p(e,t,r){if(void 0===r)return;let i=Array.isArray(r)?r:[r];for(let r=0;r<i.length;r++){let s=function(e,t){let r,i,s;if("string"==typeof t){try{r=new URL(e.origin),i=new URL(e.path,r),s=new URL(t,i)}catch{return}if(s.origin===r.origin)return s.pathname+s.search}}(t,i[r]);void 0!==s&&m(e,t,s)}}function C(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function I(e,t,r){304===e&&C(t,r)}e.exports=class{#L;#H;#O;#P;#y;#Y;constructor({store:e,type:t,cacheByDefault:r},i,s){this.#P=e,this.#H=t,this.#O=r,this.#L=i,this.#y=s}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#y.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#y.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,d){var E,f,B,y,Q,N,b,S,w,D;let x,R=()=>this.#y.onResponseStart?.(e,t,r,d),M=this;if(!h(i.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return E=this.#P,f=this.#L,m(E,f,f.path),p(E,f,r.location),p(E,f,r["content-location"]),R()}let k=r["cache-control"],U=r["last-modified"]&&h(g,t);if(!k&&!r.expires&&!U&&!this.#O)return 304===t&&r.vary&&A(r.vary)&&C(this.#P,this.#L),R();let F=k?s(k):{};if(B=this.#H,y=t,Q=r,N=F,b=this.#L.headers,y<200||h(u,y)||!h(g,y)&&!Q.expires&&!N.public&&void 0===N["max-age"]&&!(N.private&&"private"===B)&&(void 0===N["s-maxage"]||"shared"!==B)||N["no-store"]||"shared"===B&&!0===N.private||Q.vary&&a(Q.vary)||null!=b&&Object.hasOwn(b,"authorization")&&(!N.public&&!N["s-maxage"]&&!N["must-revalidate"]||"string"!=typeof b.authorization||Array.isArray(N["no-cache"])&&h(N["no-cache"],"authorization")||Array.isArray(N.private)&&h(N.private,"authorization"))||0){return 304===t&&(k||(S=this.#H,w=r,!0===(D=F)["no-store"]||"shared"===S&&!0===D.private||w.vary&&A(w.vary)))&&C(this.#P,this.#L),R()}let v=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return I(t,this.#P,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return I(t,this.#P,this.#L),R();let H=Math.max(L?Math.max(0,v-L.getTime()):0,T??0),O="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],P=function(e,t,r,i,s,o,a){if("shared"===e){if(n(o,"s-maxage"))return 0;let e=o["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(n(o,"max-age"))return 0;let A=o["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(i,"expires")){if("string"!=typeof i.expires)return 0;let e=c(i.expires);if(!e||t>=e.getTime())return 0;if(s){if(s>=e)return 0;let t=e.getTime()-s.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof i["last-modified"]){let e=c(i["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return o.immutable?31536e6:!0===o["no-cache"]&&a?0:void 0}(this.#H,v,T,r,L,F,O)??this.#O,Y=0===P&&O;if(void 0===P||H>=P&&!Y)return(k||void 0!==P)&&I(t,this.#P,this.#L),R();let G=v-H,z=P+G;if(v>=z&&!Y)return I(t,this.#P,this.#L),R();if(this.#L.headers&&r.vary&&!(x=o(r.vary,this.#L.headers)))return R();let q=function(e,t,r,i){let s=-1/0,n=-1/0,o=-1/0;if(r["stale-while-revalidate"]&&(s=i+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(n=i+1e3*r["stale-if-error"]),r.immutable&&s===-1/0&&n===-1/0&&(o=t+31536e6),s===-1/0&&n===-1/0&&o===-1/0){let r=i-e;return r<=0?t+864e5:i+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(i,s,n,o)}(G,v,F,z),V=function(e,t){let r,i=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let s of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t].split(",");for(let t=0;t<i.length;t++)e.push(i[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(i,e.connection),Array.isArray(t["no-cache"])&&i.push(...t["no-cache"]),Array.isArray(t.private)&&i.push(...t.private),i))Object.hasOwn(e,s)&&(r??={...e},delete r[s]);return r??e}(r,F),J={statusCode:t,statusMessage:d,headers:V,vary:x,cacheControlDirectives:F,cachedAt:G,staleAt:z,deleteAt:q};if(304===t){let t=t=>{if(!t)return R();if(J.statusCode=t.statusCode,J.statusMessage=t.statusMessage,J.etag=t.etag,J.vary=x??t.vary,J.headers={...t.headers,...V},R(),this.#Y=this.#P.createWriteStream(this.#L,J),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),i=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#y.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("drain",()=>{i()}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}),i()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#y.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#P.delete(this.#L)}),this.#Y.on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}))},r=this.#P.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(J.etag=r.etag),this.#Y=this.#P.createWriteStream(this.#L,J),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#y.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#y.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#y.onResponseError?.(e,t)}}},7871(e,t,r){let i=r(4589);e.exports=class{#G=!1;#z;#y;#q;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#z=e,this.#y=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#q=t}onRequestUpgrade(e,t,r,i){this.#y.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,s){if(i(null!=this.#z),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#z(this.#G,this.#q,t,r),this.#z=null,this.#G)return!0;this.#y.onRequestStart?.(e,this.#q),this.#y.onResponseStart?.(e,t,r,s)}onResponseData(e,t){if(!this.#G)return this.#y.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#y.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#z){if(this.#V){this.#G=!0,this.#z(!0,this.#q),this.#z=null;return}this.#z(!1),this.#z=null}if("function"==typeof this.#y.onResponseError)this.#y.onResponseError(e,t);else throw t}}}},2645(e,t,r){let i=r(4589);e.exports=class{#y;#J=!1;#_=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#y=e}onRequestStart(...e){this.#y.onRequestStart?.(...e)}onRequestUpgrade(...e){return i(!this.#J),i(!this.#_),this.#y.onRequestUpgrade?.(...e)}onResponseStart(...e){return i(!this.#J),i(!this.#_),i(!this.#W),this.#W=!0,this.#y.onResponseStart?.(...e)}onResponseData(...e){return i(!this.#J),i(!this.#_),this.#y.onResponseData?.(...e)}onResponseEnd(...e){return i(!this.#J),i(!this.#_),this.#J=!0,this.#y.onResponseEnd?.(...e)}onResponseError(...e){return this.#_=!0,this.#y.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:i}=r(8065);e.exports=class{#j;#K=[];#X=5242880;#Z=0;#$={};#ee="";#f=!1;#et=!1;#er=!1;#ei=!1;#es=null;#en=null;constructor(e,t,r=5242880){this.#j=e,this.#en=t,this.#X=r}addWaitingHandler(e){if(this.#ei||this.#er)return!1;let t=this.#eo(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#Z,this.#$,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#K.push(t),!0}onRequestStart(e,t){this.#es=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#j.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,i){for(let s of(this.#et=!0,this.#Z=t,this.#$=r,this.#ee=i,this.#j.onResponseStart?.(e,t,r,i),this.#K)){let{handler:e,controller:n}=s;if(s.done||n.aborted){s.done=!0;continue}try{e.onResponseStart?.(n,t,r,i)}catch{}n.aborted&&(s.done=!0)}this.#ea()}onResponseData(e,t){if(!this.#f&&!this.#ei){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#K)){let{handler:e,controller:i}=r;if(r.done||i.aborted){r.done=!0;continue}if(i.paused){this.#eA(r,t);continue}try{e.onResponseData?.(i,t)}catch{}i.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#ea()}}onResponseEnd(e,t){if(!this.#f&&!this.#ei){for(let r of(this.#ei=!0,this.#j.onResponseEnd?.(e,t),this.#K)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#ea(),this.#en?.()}}onResponseError(e,t){if(!this.#ei){for(let r of(this.#f=!0,this.#ei=!0,this.#j.onResponseError?.(e,t),this.#K))this.#ec(r,t);this.#K=[],this.#en?.()}}#eo(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#ei&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#ea()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#X){let t=new i(`Deduplicated waiting handler exceeded maxBufferSize (${this.#X} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let i=e.bufferedChunks.shift();e.bufferedBytes-=i.length;try{t.onResponseData?.(r,i)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#ea(){this.#K=this.#K.filter(e=>!1===e.done)}}},7424(e,t,r){let i=r(1210),s=r(4589),{InvalidArgumentError:n}=r(8065),o=[300,301,302,303,307,308],a=()=>{};function A(e,t,r,s,n){let o=i.headerNameToString(e);return!!("host"===o||s?.has(o)||r&&n?.has(o)||t&&o.startsWith("content-"))||!!r&&("authorization"===o||"cookie"===o||"proxy-authorization"===o)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new n(`${t} must be an array`);let r=new Set;for(let s of e){if("string"!=typeof s)throw new n(`${t} must contain header names`);r.add(i.headerNameToString(s))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new n("maxRedirections must be a positive number");let i=t.dispatch.bind(t);return(t,s)=>i(t,new e(i,r,t,s))}constructor(e,t,r,s){if(null!=t&&(!Number.isInteger(t)||t<0))throw new n("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new n("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:o,stripHeadersOnRedirect:a,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=i.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(a,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=s,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)||-1===o.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:g,search:u}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=u?`${g}${u}`:g,m=`${d}${h}`;for(let e of this.history)if(e.toString()===m)throw new n(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,n,o){let a=[];if(Array.isArray(e))for(let i=0;i<e.length;i+=2)A(e[i],t,r,n,o)||a.push(e[i],e[i+1]);else if(e&&"object"==typeof e)for(let[s,l]of i.hasSafeIterator(e)?e:Object.entries(e))A(s,t,r,n,o)||a.push(s,l);else s(null==e,"headers must be an object or an array");return a}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let i=r(4589),{kRetryHandlerDefaultRetry:s}=r(3025),{RequestRetryError:n}=r(8065),{isDisturbed:o,parseRangeHeader:a,wrapRequestBody:A}=r(1210);function l(e,t,r,i){let s=e["content-length"];if(null==s||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let o=Number(s),a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a)throw new n("Content-Length mismatch",r,{headers:e,data:{count:i}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:i}){let{retryOptions:n,...o}=t,{retry:a,maxRetries:l,maxTimeout:d,minTimeout:g,timeoutFactor:u,methods:h,errorCodes:m,retryAfter:p,statusCodes:C,throwOnError:I}=n??{};this.error=null,this.dispatch=r,this.handler=i,this.opts={...o,body:A(t.body)},this.retryOpts={throwOnError:I??!0,retry:a??e[s],retryAfter:p??!0,maxTimeout:d??3e4,minTimeout:g??500,timeoutFactor:u??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:C??[500,502,503,504,429],errorCodes:m??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,i,s){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)):this.error=s);if(o(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}e.pause(),this.retryOpts.retry(s,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(n){if(n){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i),e.resume();return}this.error=s,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,i)}static[s](e,{state:t,opts:r},i){let{statusCode:s,code:n,headers:o}=e,{method:a,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:g,statusCodes:u,errorCodes:h,methods:m}=A,{counter:p}=t;if(n&&"UND_ERR_REQ_RETRY"!==n&&!h.includes(n)||Array.isArray(m)&&!m.includes(a)||null!=s&&Array.isArray(u)&&!u.includes(s)||p>l)return void i(e);let C=o?.["retry-after"];if(C){let e;C=Number.isNaN(C=Number(C))?isNaN(e=new Date(o["retry-after"]).getTime())?null:e-Date.now():1e3*C}setTimeout(()=>i(null),0===C?0:C>0?Math.min(C,d):Math.min(c*g**(p-1),d))}onResponseStart(e,t,r,s){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let i=new n("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,s,i);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new n("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=a(r["content-range"]);if(!e)throw new n("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new n("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:s,size:o,end:A=o?o-1:null}=e;i(this.start===s,"content-range mismatch"),i(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=a(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,s);return}l(r,e,t,this.retryCount);let{start:n,size:o,end:A=o?o-1:null}=e;i(null!=n&&Number.isFinite(n),"content-range mismatch"),i(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=n,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}i(Number.isFinite(this.start)),i(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,s)}else throw new n("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new n("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||o(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let i=r(4589),{Readable:s}=r(7075),n=r(1210),o=r(4502),a=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:g,parseCacheControlHeader:u,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:m}=r(8065),{parseHttpDate:p}=r(5859),C=()=>{};function I(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function E(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function f(e,t){try{e.delete(t)?.catch?.(C)}catch{}}function B(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&p(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function y(e,t,r,o,a,A){let l=n.isStream(r.body)?r.body:s.from(r.body??[]);i(!l.destroyed,"stream should not be destroyed"),i(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new m)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,a),l.destroyed)return;let d={...r.headers,age:String(o)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=n.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,i,s,a,l){var c,d,g,p,I;let Q;if(!l){if(a?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,i.onResponseError?.(t,r??new m)}};try{if(i.onRequestStart?.(t,null),e||(i.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;i.onResponseEnd?.(t,{})}catch(e){"function"==typeof i.onResponseError&&i.onResponseError(t,e)}return!0}return e(s,new o(t,r,i))}let N=Date.now();if(N>l.deleteAt)return e(s,new o(t,r,i));let b=Math.round((N-l.cachedAt)/1e3),S=a?.["max-age"]!==void 0&&b>=a["max-age"],w=S||(c=l,d=a,g=t.type,(Q=Date.now())>c.staleAt?!(!E(c,g)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),D=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,a,s);if(w||D){let c;if(n.isStream(s.body)&&0!==n.bodyLength(s.body))return e(s,new o(t,r,i));if(!D&&(p=l,I=t.type,!(!(c=p.cacheControlDirectives?.["stale-while-revalidate"])||E(p,I))&&Date.now()<=p.staleAt+1e3*c))return y(i,s,l,b,null,!0),queueMicrotask(()=>{let i=B(s,l);e({...s,headers:i},new o(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!E(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??a?.["stale-if-error"];e&&(d=N<l.staleAt+1e3*e)}let g=B(s,l);return e({...s,headers:g},new A((a,A,c,d)=>{if(a){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let i=u(r);return!0===i["no-store"]||"shared"===e&&!0===i.private}(t.type,d))return n.isStream(l.body)&&l.body.on("error",C).destroy(),f(t.store,r),e(s,new o(t,r,i));void 0!==d["cache-control"]&&f(t.store,r)}y(i,s,l,b,A,w)}else n.isStream(l.body)&&l.body.on("error",C).destroy()},new o(t,r,i),d))}n.isStream(s.body)&&s.body.on("error",C).destroy(),y(i,s,l,b,null,!1)}e.exports=(e={})=>{let{store:t=new a,methods:r=["GET"],cacheByDefault:i,type:s="shared",origins:o}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==o){if(!Array.isArray(o))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof o}`);for(let e=0;e<o.length;e++){let t=o[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==i&&"number"!=typeof i)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof i}`);if(void 0!==s&&"shared"!==s&&"private"!==s)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof s}`);let h={store:t,methods:r,cacheByDefault:i,type:s},m=[];for(let e=0;e<n.safeHTTPMethods.length;e++){let t=n.safeHTTPMethods[e];I(r,t)||m.push(t)}return e=>(r,i)=>{if(!r.origin||I(m,r.method))return e(r,i);if(void 0!==o){let t=r.origin.toString().toLowerCase(),s=!1;for(let e=0;e<o.length;e++){let r=o[e];if("string"==typeof r){if(r.toLowerCase()===t){s=!0;break}}else if(r.test(t)){s=!0;break}}if(!s)return e(r,i)}r={...r,headers:g(r)};let s=r.headers?.["cache-control"]?u(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let i=t.split(",");for(let e=0;e<i.length;e++)if("no-cache"===i[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(s?.["no-store"])return e(r,i);let n=d(r),a=t.get(n);return a&&"function"==typeof a.then?a.then(t=>Q(e,h,n,i,r,s,t)):Q(e,h,n,i,r,s,a)}}},9287(e,t,r){let{createInflate:i,createGunzip:s,createBrotliDecompress:n,createZstdDecompress:o}=r(8522),{pipeline:a}=r(7075),A=r(2645),l={gzip:s,"x-gzip":s,br:n,deflate:i,compress:i,"x-compress":i,zstd:o},c=[204,304],d=!1;class g extends A{#ed=[];#eg;#eu;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eu=t,this.#eh=r}#em(e,t){return!!(!e||t<200||this.#eu.includes(t))||!!this.#eh&&!!(t>=400)}#ep(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let i=t[e].trim();if(i){if(!l[i])return r.length=0,r;r.push(l[i]())}}return r}#eC(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#eI(e){let t=this.#ed[0];this.#eC(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eg)})}#eE(e){let t=this.#ed[this.#ed.length-1];this.#eC(t,e),a(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eg)})}#ef(){this.#ed.length=0}onResponseStart(e,t,r,i){let s=r["content-encoding"];if(this.#em(s,t))return super.onResponseStart(e,t,r,i);let n=this.#ep(s.toLowerCase());if(0===n.length)return this.#ef(),super.onResponseStart(e,t,r,i);this.#ed=n;let{"content-encoding":o,"content-length":a,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let i=t[e],s=(Buffer.isBuffer(i)?i.toString("latin1"):`${i}`).toLowerCase();"content-encoding"!==s&&"content-length"!==s&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#eI(e):this.#eE(e),super.onResponseStart(e,t,A,i)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eg=t,this.#ed[0].end(),this.#ef();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#ef()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,i)=>"HEAD"===r.method?t(r,i):t(r,new g(i,e))}},7870(e,t,r){let i=r(3053),s=r(1210),n=r(8241),{normalizeHeaders:o,makeCacheKey:a,makeDeduplicationKey:A}=r(8621),l=i.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:i=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!s.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(i))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof i}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),g=new Set(i.map(e=>e.toLowerCase())),u=new Map;return e=>(r,i)=>{if(!r.origin||!1===t.includes(r.method))return e(r,i);if(r={...r,headers:o(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,i)}let s=A(a(r),g),h=u.get(s);if(h)return!!h.addWaitingHandler(i)||e(r,i);let m=new n(i,()=>{u.delete(s),l.hasSubscribers&&l.publish({size:u.size,key:s,type:"removed"})},c);return u.set(s,m),l.hasSubscribers&&l.publish({size:u.size,key:s,type:"added"}),e(r,m)}}},4053(e,t,r){let{isIP:i}=r(7030),{lookup:s}=r(610),n=r(2645),{InvalidArgumentError:o,InformationalError:a}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#eB=0;#ey=new Map;constructor(e){this.#eB=e.maxItems}get size(){return this.#ey.size}get(e){return this.#ey.get(e)??null}set(e,t){this.#ey.set(e,t)}delete(e){this.#ey.delete(e)}full(){return this.size>=this.#eB}}class d{#eQ=0;#eB=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#eB=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eN,this.pick=e.pick??this.#eb,this.storage=e.storage??new c(e)}runLookup(e,t,r){let i=this.storage.get(e.hostname);if(null==i&&this.storage.full())return void r(null,e);let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#eB};if(null==i)this.lookup(e,s,(t,i)=>{let n;if(t||null==i||0===i.length)return void r(t??new a("No DNS entries found"));this.setRecords(e,i);let o=this.storage.get(e.hostname),A=this.pick(e,o,s.affinity);n="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${n}`))});else{let n,o=this.pick(e,i,s.affinity);if(null==o){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}n="number"==typeof o.port?`:${o.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===o.family?`[${o.address}]`:o.address}${n}`))}}#eN(e,t,r){s(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let i=new Map;for(let e of t)i.set(`${e.address}:${e.family}`,e);r(null,i.values())})}#eb(e,t,r){let i,s=null,{records:n,offset:o}=t;if(this.dualStack?(null==r&&(null==o||0x7fffffff===o?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),i=null!=n[r]&&n[r].ips.length>0?n[r]:n[4===r?6:4]):i=n[r],null==i||0===i.ips.length)return s;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let a=i.offset%i.ips.length;return null==(s=i.ips[a]??null)?s:Date.now()-s.timestamp>s.ttl?(i.ips.splice(a,1),this.pick(e,t,r)):s}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let i=r[t];if(!i)return null;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let s=i.offset%i.ips.length,n=i.ips[s]??null;return null==n||Date.now()-n.timestamp>n.ttl&&i.ips.splice(s,1),n}setRecords(e,t){let r=Date.now(),i={records:{4:null,6:null}},s=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),s=Math.min(s,e.ttl)):e.ttl=this.#eQ;let t=i.records[e.family]??{ips:[]};t.ips.push(e),i.records[e.family]=t}this.storage.set(e.hostname,i,{ttl:s})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new g(this,e,t)}}class g extends n{#eS=null;#S=null;#ew=null;#eD=null;#es=null;#ex=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:i,newOrigin:s},n){super(r),this.#eD=t,this.#ex=s,this.#S={...n},this.#eS=e,this.#ew=i}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let i="["===this.#ex.hostname[0]?4:6,s=this.#eS.pickFamily(this.#eD,i);if(null==s)return void super.onResponseError(e,t);r="number"==typeof s.port?`:${s.port}`:""!==this.#eD.port?`:${this.#eD.port}`:"";let n={...this.#S,origin:`${this.#eD.protocol}//${6===s.family?`[${s.address}]`:s.address}${r}`,headers:l(this.#eD.host,this.#S.headers)};this.#ew(n,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#eD),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new o("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new o("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new o("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new o("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new o("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new o("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new o("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let s=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let n=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==i(n.hostname)?e(t,r):(s.runLookup(n,t,(i,o)=>{if(i)return r.onResponseError(null,i);e({...t,servername:n.hostname,origin:o.origin,headers:l(n.host,t.headers)},s.getHandler({origin:n,dispatch:e,handler:r,newOrigin:o},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:i,RequestAbortedError:s}=r(8065),n=r(2645);class o extends n{#t=1048576;#eM=!1;#i=0;#es=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new i("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#B(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#B.bind(this),this.#es=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,i){let n=r["content-length"];if(null!=n&&n>this.#t)throw new s(`Response size (${n}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,i)}onResponseError(e,t){this.#eM||(t=this.#es?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#i=this.#i+t.length,this.#i>=this.#t&&(this.#eM=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#eM){if(!0===this.#es.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,i){let{dumpMaxSize:s=e}=r,n=new o({maxSize:s,signal:r.signal},i);return t(r,n)}}},7884(e,t,r){let i=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:s}={}){return n=>function(o,a){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=s,...g}=o;if(null==A||0===A)return n(o,a);let u={...g,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new i(n,A,u,a);return n(u,h)}}},3128(e,t,r){let i=r(2645),{ResponseError:s}=r(8065);class n extends i{#Z;#ek;#eU;#$;#eF;constructor(e,{handler:t}){super(t)}#ev(e){return 0===(this.#ek??"").indexOf(e)}onRequestStart(e,t){return this.#Z=0,this.#ek=null,this.#eU=null,this.#$=null,this.#eF="",super.onRequestStart(e,t)}onResponseStart(e,t,r,i){if(this.#Z=t,this.#$=r,this.#ek=r["content-type"],this.#Z<400)return super.onResponseStart(e,t,r,i);(this.#ev("application/json")||this.#ev("text/plain"))&&(this.#eU=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#Z<400)return super.onResponseData(e,t);this.#eF+=this.#eU?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#Z>=400){let t;if(this.#eF+=this.#eU?.decode(void 0,{stream:!1})??"",this.#ev("application/json"))try{this.#eF=JSON.parse(this.#eF)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new s("Response Error",this.#Z,{body:this.#eF,headers:this.#$})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new n(t,{handler:r}))}},9620(e,t,r){let i=r(4166);e.exports=e=>t=>function(r,s){return t(r,new i({...r,retryOptions:{...e,...r.retryOptions}},{handler:s,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let i=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,i.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z6,t.t9,t.Y2,t.oC,t.mL,t.XB,t.EW,t.jJ,t.jA,t.XV,t.KO,t.aC},9896(e,t,r){let i;e=r.nmd(e);let{Buffer:s}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=s.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVh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ogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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Pz8/Pz8APwtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQMlgMLIANBL2ohAgNAIAEgBEYEQEEhIQIMlwMLAkACQAJAIAEtAAAiAEEJaw4YAgApKQEpKSkpKSkpKSkpKSkpKSkpKSkCJwsgAUEBaiEBIANBL2otAABBAXFFDQoMGAsgAUEBaiEBDBcLIAFBAWohASACLQAAQQJxDQALQQAhAiADQQA2AhwgAyABNgIUIANBnxU2AhAgA0EMNgIMDJUDCyADLQAuQYABcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAlwiAkUNACADIAIRAAAhAAsgAEUN5gIgAEEVRgRAIANBJDYCHCADIAE2AhQgA0GbGzYCECADQRU2AgxBACECDJQDC0EAIQIgA0EANgIcIAMgATYCFCADQZAONgIQIANBFDYCDAyTAwtBACECIANBADYCHCADIAE2AhQgA0G+IDYCECADQQI2AgwMkgMLIAMoAgQhAEEAIQIgA0EANgIEIAMgACABIAynaiIBEDIiAEUNKyADQQc2AhwgAyABNgIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA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YCDCADIAFBAWo2AhQM9gILIAMoAgQhAEEAIQIgA0EANgIEIAMgACABEDQiAEUEQCABQQFqIQEM7wILIANBGjYCHCADIAA2AgwgAyABQQFqNgIUDPUCCyAAQRVGDR9BACECIANBADYCHCADIAE2AhQgA0HQDzYCECADQSI2AgwM9AILIAMoAgQhACADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwbCyADQRw2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8wILIAMoAgQhACADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQzrAgsgA0EdNgIcIAMgADYCDCADIAFBAWo2AhRBACECDPICCyAAQTtHDQEgAUEBaiEBC0EmIQIM1wILQQAhAiADQQA2AhwgAyABNgIUIANBnxU2AhAgA0EMNgIMDO8CCyABIARHBEADQCABLQAAQSBHDYQCIAQgAUEBaiIBRw0AC0EsIQIM7wILQSwhAgzuAgsgASAERgRAQTQhAgzuAgsCQAJAA0ACQCABLQAAQQprDgQCAAADAAsgBCABQQFqIgFHDQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASA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AQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgIMQQAhAgyfAgsgA0EANgIcIAMgATYCFCADQYANNgIQIANBGzYCDEEAIQIMngILIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDJ0CCyABIARHBEAgA0EMNgIIIAMgATYCBEG/ASECDIQCC0HYASECDJwCCyABIARGBEBB1wEhAgycAgsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAEtAABBwQBrDhUAAQIDWgQFBlpaWgcICQoLDA0ODxBaCyABQQFqIQFB+wAhAgySAgsgAUEBaiEBQfwAIQIMkQILIAFBAWohAUGBASECDJACCyABQQFqIQFBhQEhAgyPAgsgAUEBaiEBQYYBIQIMjgILIAFBAWohAUGJASECDI0CCyABQQFqIQFBigEhAgyMAgsgAUEBaiEBQY0BIQIMiwILIAFBAWohAUGWASECDIoCCyABQQFqIQFBlwEhAgyJAgsgAUEBaiEBQZgBIQIMiAILIAFBAWohAUGlASECDIcCCyABQQFqIQFBpgEhAgyGAgsgAUEBaiEBQawBIQIMhQILIAFBAWohAUG0ASECDIQCCyABQQFqIQFBtwEhAgyDAgsgAUEBaiEBQb4BIQIMggILIAEgBEYEQEHWASECDJsCCyABLQAAQc4ARw1IIAFBAWohAUG9ASECDIECCyABIARGBEBB1Q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A0EANgIAIAZBAWohAUELDB4LIAEgBEYEQEGsASECDPEBCwJAAkAgAS0AAEHBAGsOAwAgASALIAFBAWohAUGQASECDNgBCyABQQFqIQFBkwEhAgzXAQsgASAERgRAQasBIQIM8AELAkACQCABLQAAQcEAaw4PAB8fHx8fHx8fHx8fHx8BHwsgAUEBaiEBQZEBIQIM1wELIAFBAWohAUGSASECDNYBCyABIARGBEBBqgEhAgzvAQsgAS0AAEHMAEcNHCABQQFqIQFBCgwbC0GpASECIAEgBEYN7QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABB0dQAai0AAEcNGiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7gELIANBADYCACAGQQFqIQFBHgwaC0GoASECIAEgBEYN7AEgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBytQAai0AAEcNGSAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7QELIANBADYCACAGQQFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADOUBCyABIARGBEBBoAEhAgzlAQtBASABLQAAQd8ARw0RGiABQQFqIQFBhwEhAgzLAQsgA0EANgIAIAZBAWohAUGIASECDMoBC0GfASECIAEgBEYN4gEgAygCACIAIAQgAWtqIQUgASAAa0EIaiEGAkADQCABLQAAIABBhNUAai0AAEcNDyAAQQhGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM4wELIANBADYCACAGQQFqIQFBKQwPC0GeASECIAEgBEYN4QEgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBuNQAai0AAEcNDiAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM4gELIANBADYCACAGQQFqIQFBLQwOCyABIARGBEBBnQEhAgzhAQsgAS0AAEHFAEcNDiABQQFqIQFBhAEhAgzHAQsgASAERgRAQZwBIQIM4AELAkACQCABLQAAQcwAaw4IAA8PDw8PDwEPCyABQQFqIQFBggEhAgzHAQsgAUEBaiEBQYMBIQIMxgELQZsBIQIgASAERg3eASADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEGz1ABqLQAARw0LIABBBEYNASAAQQFqIQAgBCABQQ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WoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GbHzYCECADQQY2AgxBACECDMwBC0ECIQIMsgELA0AgAS0AAEEgRw0CIAQgAUEBaiIBRw0AC0GOASECDMoBCyABIARGBEBBjQEhAgzKAQsCQCABLQAAQQlrDgRKAABKAAtB9QAhAgywAQsgAy0AKUEFRgRAQfYAIQIMsAELQfQAIQIMrwELIAEgBEYEQEGMASECDMgBCyADQRA2AgggAyABNgIEDAoLIAEgBEYEQEGLASECDMcBCwJAIAEtAABBCWsOBEcAAEcAC0HzACECDK0BCyABIARHBEAgA0EQNgIIIAMgATYCBEHxACECDK0BC0GKASECDMUBCwJAIAEgBEcEQANAIAEtAABBoNAAai0AACIAQQNHBEACQCAAQQFrDgJJAAQLQfAAIQIMrwELIAQgAUEBaiIBRw0AC0GIASECDMYBC0GIASECDMUBCyADQQA2AhwgAyABNgIUIANB2yA2AhAgA0EHNgIMQQAhAgzEAQsgASAERgRAQYkBIQIMxAELAkACQAJAIAEtAABBoNIAai0AAEEBaw4DRgIAAQtB8gAhAgysAQsgA0EANgIcIAMgATYCFCADQbQSNgIQIANBBzYCDEEAIQIMxAELQeoAIQIMqgELI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ADQQA2AgQgAyAAIAEQLCIARQ0DIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMpgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMpQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMpAELIANBADYCHCADIAE2AhQgA0G8CjYCECADQQc2AgxBACECDKMBC0HPACECDIkBC0HRACECDIgBC0HnACECDIcBCyABIARGBEBB+gAhAgygAQsCQCABLQAAQQlrDgQgAAAgAAsgAUEBaiEBQeYAIQIMhgELIAEgBEYEQEH5ACECDJ8BCwJAIAEtAABBCWsOBB8AAB8AC0EAIQACQCADKAI4IgJFDQAgAigCOCICRQ0AIAMgAhEAACEACyAARQRAQeIBIQIMhgELIABBFUcEQCADQQA2AhwgAyABNgIUIANByQ02AhAgA0EaNgIMQQAhAgyfAQsgA0H4ADYCHCADIAE2AhQgA0HqGjYCECADQRU2AgxBACECDJ4BCyABIARHBEAgA0ENNgIIIAMgATYCBEHkACECDIUBC0H3ACECDJ0BCyABIARGBEBB9gAhAgydAQsCQAJAAkAgAS0AAEHIAGsOCwABCwsLCwsLCwsCCwsgAUEBaiEBQd0AIQIMhQELIAFBAWohAUHgACECDIQBCyABQQFqIQFB4wAhAgyDAQtB9QAhAiABIARGDZsBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbXVAGotAABHDQggAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJwBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIABEAgA0H0ADYCHCADIAE2AhQgAyAANgIMQQAhAgycAQtB4gAhAgyCAQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJwBC0HhACECDIIBCyADQfMANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMmgELIAMtACkiAEEja0ELSQ0JAkAgAEEGSw0AQQEgAHRBygBxRQ0ADAoLQQAhAiADQQA2AhwgAyABNgIUIANB7Qk2AhAgA0EINgIMDJkBC0HyACECIAEgBEYNmAEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBs9UAai0AAEcNBSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMmQELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfEANgIcIAMgATYCFCADIAA2AgxBACECDJkBC0HfACECDH8LQQAhAAJAIAMoAjgiAkUNACACKAI0IgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIU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a0H/AXFBGkkbQf8BcUcNASABQQNGBEBBBiEBDD0LIAFBAWohASAEIABBAWoiAEcNAAsgAyAGNgIADFcLIANBADYCACAAIQEMAwsCQANAIAEtAAAiAEEgRwRAIABBCmsOBAcEBAcCCyAEIAFBAWoiAUcNAAtBOCECDFYLIABBLEcNASABQQFqIQBBASEBAkACQAJAAkACQCADLQAsQQVrDgQDAQIEAAsgACEBDAQLQQIhAQwBC0EEIQELIANBAToALCADIAMvATIgAXI7ATIgACEBDAELIAMgAy8BMkEIcjsBMiAAIQELQT4hAgw7CyADQQA6ACwLQTkhAgw5CyABIARGBEBBNiECDFILAkACQAJAAkACQCABLQAAQQprDgQAAgIBAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDQIgA0EzNgIcIAMgATYCFCADIAA2AgxBACECDFULIAMoAgQhACADQQA2AgQgAyAAIAEQMSIARQRAIAFBAWohAQwGCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMVAsgAy0ALkEBcQRAQd8BIQIMOwsgAygCBCEAIANBADYCBCADIAAgARAxIgANAQxJC0E0IQIMOQsgA0E1NgIcIAMgATYCFCADIAA2AgxBACECDFELQTUhAgw3CyADQS9qLQAAQQFxDQAgA0EANgIcIAMgATYCFCADQesWNgIQIANBGTYCDEEAIQIMTwtBMyECDDULIAEgBEYEQEEyIQIMTgsCQCABLQAAQQpGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GSFzYCECADQQM2AgxBACECDE4LQTIhAgw0CyABIARGBEBBMSECDE0LAkAgAS0AACIAQQlGDQAgAEEgRg0AQQEhAgJAIAMtACxBBWsOBAYEBQANCyADIAMvATJBCHI7ATIMDAsgAy0ALkEBcUUNASADLQAsQQhHDQAgA0EAOgAsC0E9IQIMMgsgA0EANgIcIAMgATYCFCADQcIWNgIQIANBCjYCDEEAIQIMSgtBAiECDAELQQQhAgsgA0EBOgAsIAMgAy8BMiACcjsBMgwGCyABIARGBEBBMCECDEcLIAEtAABBCkYEQCABQQFqIQEMAQsgAy0ALkEBcQ0AIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDEYLQTAhAgwsCyABQQFqIQFBMSECDCsLIAEgBEYEQEEvIQIMRAsgAS0AACIAQQlHIABBIEdxRQRAIAFBAWohASADLQAuQQFxDQEgA0EANgIcIAMgATYCFCADQZcQNgIQIANBCjYCDEEAIQIMRAtBASECAkACQAJAAkACQAJAIAMtACxBAmsOBwUEBAMBAgAECyADIAMvATJBCHI7ATIMAwtBAiECDAELQQQhAgsgA0EBOgAsIAMgAy8BMiACcjsBMgtBLyECDCsLIANBADYCHCADIAE2AhQgA0GEEzYCECADQQs2AgxBACECDEMLQeEBIQIMKQsgASAERgRAQS4hAgxCCyADQQA2AgQgA0ESNgIIIAMgASABEDEiAA0BC0EuIQIMJwsgA0EtNgIcIAMgATYCFCADIAA2AgxBACECDD8LQQAhAAJAIAMoAjgiAkUNACACKAJMIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2AA2AhwgAyABNgIUIANBsxs2AhAgA0EVNgIMQQAhAgw+C0HMACECDCQLIANBADYCHCADIAE2AhQgA0GzDjYCECADQR02AgxBACECDDwLIAEgBEYEQEHOACECDDwLIAEtAAAiAEEgRg0CIABBOkYNAQsgA0EAOgAsQQkhAgwhCyADKAIEIQAgA0EANgIEIAMgACABEDAiAA0BDAILIAMtAC5BAXEEQEHeASECDCALIAMoAgQhACADQQA2AgQgAyAAIAEQMCIARQ0CIANBKjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgw4CyADQcsANgIcIAMgADYCDCADIAFBAWo2AhRBACECDDcLIAFBAWohAUHAACECDB0LIAFBAWohAQwsCyABIARGBEBBKyECDDULAkAgAS0AAEEKRgRAIAFBAWohAQwBCyADLQAuQcAAcUUNBgsgAy0AMkGAAXEEQEEAIQACQCADKAI4IgJFDQAgAigCXCICRQ0AIAMgAhEAACEACyAARQ0SIABBFUYEQCADQQU2AhwgAyABNgIUIANBmxs2AhAgA0EVN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UU1BBRFRQLw==","base64"))})},704(e,t,r){let i;e=r.nmd(e);let{Buffer:s}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=s.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9mdW5jdGlvbl90YWJsZQEAC2xsaHR0cF9pbml0AAkYbGxodHRwX3Nob3VsZF9rZWVwX2FsaXZlADcMbGxodHRwX2FsbG9jAAsGbWFsbG9jADkLbGxodHRwX2ZyZWUADARmcmVlAAwPbGxodHRwX2dldF90eXBlAA0VbGxodHRwX2dldF9odHRwX21ham9yAA4VbGxodHRwX2dldF9odHRwX21pbm9yAA8RbGxodHRwX2dldF9tZXRob2QAEBZsbGh0dHBfZ2V0X3N0YXR1c19jb2RlABESbGxodHRwX2dldF91cGdyYWRlABIMbGxodHRwX3Jlc2V0ABMObGxodHRwX2V4ZWN1dGUAFBRsbGh0dHBfc2V0dGluZ3NfaW5pdAAVDWxsaHR0cF9maW5pc2gAFgxsbGh0dHBfcGF1c2UAFw1sbGh0dHBfcmVzdW1lABgbbGxodHRwX3Jlc3VtZV9hZnRlcl91cGdyYWRlABkQbGxodHRwX2dldF9lcnJub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XAGoiAygCACAFRgRAIAMgADYCACAADQFByNUAQcjVACgCAEF+IAJ3cTYCAAwCCyAGQRBBFCAGKAIQIAVGG2ogADYCACAARQ0BCyAAIAY2AhggBSgCECICBEAgACACNgIQIAIgADYCGAsgBUEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgBGogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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AAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCACDuMBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISMkJScoKZ4DmwOaA5EDigODA4AD/QL7AvgC8gLxAu8C7QLoAucC5gLlAuQC3ALbAtoC2QLYAtcC1gLVAs8CzgLMAssCygLJAsgCxwLGAsQCwwK+ArwCugK5ArgCtwK2ArUCtAKzArICsQKwAq4CrQKpAqgCpwKmAqUCpAKjAqICoQKgAp8CmAKQAowCiwKKAoEC/gH9AfwB+wH6AfkB+AH3AfUB8wHwAesB6QHoAecB5gHlAeQB4wHiAeEB4AHfAd4B3QHcAdoB2QHYAdcB1gHVAdQB0wHSAdEB0AHPAc4BzQ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XNgIcIAMgADYCDCADIAFBAWo2AhQM+AILIABBFUYNI0EAIQIgA0EANgIcIAMgATYCFCADQdYMNgIQIANBIzYCDAz3AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQwdCyADQRk2AhwgAyAANgIMIAMgAUEBajYCFAz2AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQzvAgsgA0EaNgIcIAMgADYCDCADIAFBAWo2AhQM9QILIABBFUYNH0EAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAz0AgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDBsLIANBHDYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgzzAgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRshAgzGAgtBHCECDMUCC0EdIQIMxAILQR4hAgzDAgtBHyECDMICC0EgIQIMwQILQSIhAgzAAgtBIyECDL8CC0ElIQIMvgILQeUAIQIMvQILIANBPTYCHCADIAE2AhQgAyAANgIMQQAhAgzVAgsgA0EbNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIM1AILIANBIDYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNMCCyADQRM2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzSAgsgA0ELNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0QILIANBEDYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNACCyADQSA2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzPAgsgA0ELNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzgILIANBDDYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM0CC0EAIQIgA0EANgIcIAMgATYCFCADQd0ONgIQIANBEjYCDAzMAgsCQANAAkAgAS0AAEEKaw4EAAICAAILIAQgAUEBaiIBRw0AC0H9ASECDMwCCwJAAkAgAy0ANkEBRw0AQQAhAAJAIAMoAjgiAkUNACACKAJgIgJ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0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMgAhEAACEACyAARQ2gASAAQRVGBEAgA0HZADYCHCADIAE2AhQgA0G3GjYCECADQRU2AgxBACECDJ8CCyADQQA2AhwgAyABNgIUIANBgA02AhAgA0EbNgIMQQAhAgyeAgsgA0EANgIcIAMgATYCFCADQdwoNgIQIANBAjYCDEEAIQIMnQILIAEgBEcEQCADQQw2AgggAyABNgIEQb8BIQIMhAILQdgBIQIMnAILIAEgBEYEQEHXASECDJwCCwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAS0AAEHBAGsOFQABAgNaBAUGWlpaBwgJCgsMDQ4PEFoLIAFBAWohAUH7ACECDJICCyABQQFqIQFB/AAhAgyRAgsgAUEBaiEBQYEBIQIMkAILIAFBAWohAUGFASECDI8CCyABQQFqIQFBhgEhAgyOAgsgAUEBaiEBQYkBIQIMjQILIAFBAWohAUGKASECDIwCCyABQQFqIQFBjQEhAgyLAgsgAUEBaiEBQZYBIQIMigILIAFBAWohAUGXASECDIkCCyABQQFqIQFBmAEhAgyIAgsgAUEBaiEBQaUBIQIMhwILIA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QIM+gELQc4BIQIgASAERg2SAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGe1QBqLQAARw0/IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyTAgsgA0EANgIAIAZBAWohAUEHDD8LQc0BIQIgASAERg2RAiADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGY1QBqLQAARw0+IABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAySAgsgA0EANgIAIAZBAWohAUEoDD4LIAEgBEYEQEHMASECDJECCwJAAkACQCABLQAAQcUAaw4RAEFBQUFBQUFBQQFBQUFBQQJBCyABQQFqIQFBsQEhAgz5AQsgAUEBaiEBQbIBIQIM+AELIAFBAWohAUGzASECDPcBC0HLASECIAEgBEYNjwIgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBkdUAai0AAEcNPCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyHAgsgA0EANgIAIAZBAWohAUEUDDMLQcEBIQIgASAERg2FAiADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEH51ABqLQAARw0yIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyGAgsgA0EANgIAIAZBAWohAUErDDILQcABIQIgASAERg2EAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH21ABqLQAARw0xIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyFAgsgA0EANgIAIAZBAWohAUEsDDELQb8BIQIgASAERg2DAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0wIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyEAgsgA0EANgIAIAZBAWohAUERDDALQb4BIQIgASAERg2CAiADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEHy1ABqLQAARw0vIABBA0YNASAAQ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FBAWohAUGUASECDNoBCyABQQFqIQFBlQEhAgzZAQtBrQEhAiABIARGDfEBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQdfUAGotAABHDR4gAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPIBCyADQQA2AgAgBkEBaiEBQQsMHgsgASAERgRAQawBIQIM8QELAkACQCABLQAAQcEAaw4DACABIAsgAUEBaiEBQZABIQIM2AELIAFBAWohAUGTASECDNcBCyABIARGBEBBqwEhAgzwAQsCQAJAIAEtAABBwQBrDg8AHx8fHx8fHx8fHx8fHwEfCyABQQFqIQFBkQEhAgzXAQsgAUEBaiEBQZIBIQIM1gELIAEgBEYEQEGqASECDO8BCyABLQAAQcwARw0cIAFBAWohAUEKDBsLQakBIQIgASAERg3tASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8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BgYGBgYBBgsgAUEBaiEBQfkAIQIMvgELIAFBAWohAUH6ACECDL0BC0GSASECIAEgBEYN1QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQ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AMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQanSAAsFAQEAAQEAQcDSAAsBAQBBytIACwYCAAAAAAIAQeHSAAs6AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},5610(e,t){t.enumToMap=function(e,t=[],r=[]){let i=(t?.length??0)===0,s=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(i||t.includes(e))&&(s||!r.includes(e))))}},6923(e,t,r){let{kClients:i}=r(3025),s=r(5891),{kAgent:n,kMockAgentSet:o,kMockAgentGet:a,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:g,kFactory:u,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:m,kMockAgentAddCallHistoryLog:p,kMockAgentMockCallHistoryInstance:C,kMockAgentAcceptsNonStandardSearchParameters:I,kMockCallHistoryAddLog:E,kIgnoreTrailingSlash:f}=r(4779),B=r(375),y=r(8182),{matchValue:Q,normalizeSearchParams:N,buildAndValidateMockOptions:b,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:D}=r(8065),x=r(6873),R=r(1908),{MockCallHistory:M}=r(2137);e.exports=class extends x{constructor(e={}){super(e);let t=b(e);if(this[c]=!0,this[l]=!0,this[m]=t.enableCallHistory??!1,this[I]=t.acceptNonStandardSearchParameters??!1,this[f]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new s(e);this[n]=r,this[i]=r[i],this[g]=t,this[m]&&this[h]()}get(e){let t=S(e),r=this[f]?t.replace(/\/$/,""):t,i=this[a](r);return i||(i=this[u](r),this[o](r,i)),i}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[p](e);let r=this[I],i={...e};if(r&&i.path){let[e,t]=i.path.split("?"),s=N(t,r);i.path=`${e}?${s}`}return this[n].dispatch(i,t)}async close(){this.clearCallHistory(),await this[n].close(),this[i].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[m]=!0,this}disableCallHistory(){return this[m]=!1,this}getCallHistory(){return this[C]}clearCallHistory(){void 0!==this[C]&&this[C].clear()}get isMockActive(){return this[l]}[h](){void 0===this[C]&&(this[C]=new M)}[p](e){this[m]&&(this[h](),this[C][E](e))}[o](e,t){this[i].set(e,t)}[u](e){let t=Object.assign({agent:this},this[g]);return this[g]&&1===this[g].connections?new B(e,t):new y(e,t)}[a](e){let t=this[i].get(e);if(t)return t;if("string"!=typeof e){let t=this[u]("http://localhost:9999");return this[o](e,t),t}for(let[t,r]of Array.from(this[i]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[u](e);return this[o](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[i].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new D(1===t.length?`1 interceptor is pending: +`}return o.sendHeaders.hasSubscribers&&o.sendHeaders.publish({request:t,headers:W,socket:_}),O&&0!==G?n.isBuffer(O)?ef(J,O,e,t,_,P,W,Y):n.isBlobLike(O)?"function"==typeof O.stream?eB(J,O.stream(),e,t,_,P,W,Y):eE(J,O,e,t,_,P,W,Y):n.isStream(O)?(a=J,l=O,g=e,u=t,h=_,p=P,C=W,I=Y,s(0!==p||0===g[N],"stream body cannot be pipelined"),f=!1,B=new ey({abort:a,socket:h,request:u,contentLength:p,client:g,expectsPayload:I,header:C}),y=function(e){if(!f)try{!B.write(e)&&this.pause&&this.pause()}catch(e){n.destroy(this,e)}},b=function(){!f&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",D)}),!f){let e=new c;queueMicrotask(()=>D(e))}},D=function(e){if(!f){if(f=!0,s(h.destroyed||h[w]&&g[N]<=1),h.off("drain",b).off("error",D),l.removeListener("data",y).removeListener("end",D).removeListener("close",S),!e)try{B.end()}catch(t){e=t}B.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?n.destroy(l,e):n.destroy(l)}},l.on("data",y).on("end",D).on("error",D).on("close",S),l.resume&&l.resume(),h.on("drain",b).on("error",D),l.errorEmitted??l.errored?setImmediate(D,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(D,null),(l.closeEmitted??l.closed)&&setImmediate(S)):n.isIterable(O)?eB(J,O,e,t,_,P,W,Y):s(!1):ef(J,null,e,t,_,P,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[x]&&t.unref&&(t.unref(),t[x]=!0):t[x]&&t.ref&&(t.ref(),t[x]=!1),0===e[N]&&e[b]>0&&t[ei]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[y].readMore(),t.destroyed;return}if(1===t[et]){t[y].readMore(),t.destroyed;return}}if(0===e[N]&&(t[y].readMore(),t.destroyed))return;if(0===e[S])8!==t[y].timeoutType&&t[y].setTimeout(e[L],8);else if(e[N]>0&&t[y].statusCode<200&&3!==t[y].timeoutType){let r=e[D][e[F]],i=null!=r.headersTimeout?r.headersTimeout:e[Y];t[y].setTimeout(i,3)}}}(e)},destroy(e,r){t[K]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[E]||t[Q]||1===t[et]||r&&(e[N]>0&&!r.idempotent||e[N]>0&&(r.upgrade||"CONNECT"===r.method)||e[N]>0&&0!==n.bodyLength(r.body)&&(n.isStream(r.body)||n.isAsyncIterable(r.body)||n.isFormDataLike(r.body))))||!1}}},942(e,t,r){let i,s,n=r(4589),{pipeline:o}=r(7075),a=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:g,HeadersTimeoutError:u,BodyTimeoutError:h}=r(8065),{kUrl:m,kReset:p,kClient:C,kRunning:I,kPending:f,kQueue:E,kPendingIdx:B,kRunningIdx:y,kError:Q,kSocket:N,kStrictContentLength:b,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:D,kHTTP2Session:x,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:M,kHostAuthority:k,kResume:F,kSize:U,kHTTPContext:v,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:O,kBodyTimeout:H,kEnableConnectProtocol:P,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:z}=r(3025),{channels:q}=r(6708),V=Symbol("open streams"),_=Symbol("request stream id"),J=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),K=Symbol("received goaway");try{s=r(2467)}catch{s={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:X,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:$,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:ei,HTTP2_HEADER_PROTOCOL:es,NGHTTP2_NO_ERROR:en,NGHTTP2_REFUSED_STREAM:eo}}=s;function ea(e){e[_]=null,e[J]=null,e[W]=null}function eA(e,t,r){let i=e[W],s=e[J];ea(e),i?.(s),e[_]=t.id,e[J]=t,e[W]=r}function el(e){let t=e[W],r=e[J];ea(e),t?.(r)}function ec(e){let t=e[z];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[z];!0===t.refed&&(t.refed=!1,e.unref())}function eg(e){let t=e[z];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eu(e){let t=e[C];if(t[x]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[U])return void eg(e);let r=e[z];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[C],r=e[N];if(e[z].idleTimeout=null,t[x]!==e||0!==e[V]||0!==t[U]||e.closed||e.destroyed)return;let i=new d("socket idle timeout");r[Q]=i,a.destroy(r,i)}function em(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function ep(e){if(this[C][w]=e.maxConcurrentStreams??this[C][w],!0===this[Y]&&!0===this[P]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[N][Q]=e,this[C][S](e);return}this[P]=e.enableConnectProtocol??this[P],this[Y]=!0,this[C][F]()}function eC(e){let t=e[z];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[C],i=this[N];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);i[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function eI(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[N][Q]=e,this[K]||this[C][S](e)}function ef(e,t,r){if(0===r){if(this[K])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[N][Q]=r,this[C][S](r)}}function eE(e,t){if(this[K])return;this[K]=!0;let r=this[Q]||(e===en?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this[N]))),i=this[C],s=i[B],n=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[y];t<e[B];t++){let i=e[E][t];if(null!=i&&("number"!=typeof i[_]||i[_]>r))return t}return e[B]}(i,t),o=[],A=[];for(let e=n;e<s;e++){let t=i[E][e];null!=t&&(A.push(function(e){let t=e[J];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||a.isBuffer(t)||a.isBlobLike(t)}(t)?o.push(t):a.errorRequest(i,t,r))}for(let e=0;e<A.length;e++)!function(e,t=eo){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(n!==s){let e=i[E].slice(s);i[E].length=n,i[E].push(...o,...e)}i[x]===this&&(i[N]=null,i[v]=null,i[x]=null),eg(this),this.closed||this.destroyed||this.close(),i[B]=n,i.emit("disconnect",i[m],[i],r),i[F]()}function eB(){let{[C]:e,[z]:t,[N]:r}=this,i=r[Q]||this[Q]||new c("closed",a.getSocketInfo(r));if(e[x]===this&&(e[N]=null,e[v]=null,e[x]=null),eg(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){n(0===e[f]);let t=e[E].splice(e[y]);for(let r=0;r<t.length;r++){let s=t[r];null!=s&&a.errorRequest(e,s,i)}}}function ey(){let e=this[Q]||new c("closed",a.getSocketInfo(this)),t=this[x],r=t[C];r[N]!==this&&(t[K]||null!=r[x]&&r[x]!==t)||(r[N]=null,r[v]=null,r[x]===t&&(r[x]=null),t.destroy(e),r[B]=r[y],n(0===r[I]),r.emit("disconnect",r[m],[r],e),r[F]())}function eQ(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[x]?.[K]||this[x]?.[C]?.[S](e)}function eN(){a.destroy(this,new c("other side closed",a.getSocketInfo(this)))}function eb(){this[T]=!0}function eS(){}function ew(e){let t=e[x];e[x]=null,t[V]-=1,0===t[V]&&(ed(t),eu(t))}function eD(){this.off("error",eS);let e=this[j];this[j]=null,ek(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function ex(){let e=this[j];null!=e&&(eP(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eO(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",eF),e.off("end",eU),e.off("timeout",ev),e.off("error",eS)}function eM(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[J]===e&&ea(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ek(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(eM(e.stream),e.abort(t,!0))}function eF(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ek(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ek(e,new d("HTTP/2: stream errored before response headers"))}function eU(){ek(this[j],new d("HTTP/2: stream half-closed (remote)"))}function ev(){let e=this[j];ek(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:i}=r;r.responseReceived=!0;let s=e[ei];delete e[ei],i.onRequestUpgrade(s,e,this),i.aborted||i.completed||(eR(this),ea(i),eO(r))}function eL(e,t){let{request:r,headersTimeout:i,session:s}=t;e[G]=!0,e[x]=s,e[j]=t,t.stream=e,eA(r,e,eM),e.once("response",eT),e.on("error",eF),e.once("end",eU),e.on("timeout",ev),e.once("close",eD),eg(s),++s[V],e.setTimeout(i)}function eO(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let i=e[E],s=e[y];if(s<e[B]&&i[s]===t){i[s]=null,e[y]=s+1;return}let n=i.indexOf(t,s);-1!==n&&!(n>=e[B])&&(i.splice(n,1),e[B]--,r&&e[B]<e[y]&&(e[B]=e[y]))}(e.client,e.request,t),e.client[F]())}function eH(e,t,r,i,s,n){try{return r.request(s,n)}catch(n){if(n?.code==="ERR_HTTP2_INVALID_SESSION"||n?.code==="ERR_HTTP2_GOAWAY_SESSION"){let i=new c(n.message,a.getSocketInfo(r[N]));i.cause=n,r[Q]=i;let s=r[C],o=r[N];if(s[x]===r&&(s[N]=null,s[v]=null,s[x]=null),null!=o&&null==o[Q]&&(o[Q]=i),!r.closed&&!r.destroyed)try{r.destroy(i)}catch{}return a.destroy(o,i),e[E].splice(e[B]+1,0,t),null}let s=new d(n.message,{cause:n});return r[Q]=s,r[N][Q]=s,r.destroy(s),a.destroy(r[N],s),i(s),null}}function eP(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[J]===e&&ea(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",ez),e.off("error",eq),e.off("frameError",eV),e.off("aborted",e_),e.off("timeout",eJ),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let i=e[ei];(delete e[ei],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eP(this):(!1===r.onResponseStart(Number(i),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function ez(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",ez),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,ex.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function eq(e){let t=this[j];null!=t&&(this.off("error",eq),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function e_(){this.off("data",eY)}function eJ(){let e=this[j];if(null==e)return;this.off("timeout",eJ);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new u(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,i,s,A,l;let c,d=this[j];d.bodySent=!0;let{abort:g,body:u,client:h,contentLength:m,expectsPayload:C,request:f}=d;u&&0!==m?a.isBuffer(u)?eK(g,this,u,h,f,h[N],m,C):a.isBlobLike(u)?"function"==typeof u.stream?eZ(g,this,u.stream(),h,f,h[N],m,C):eX(g,this,u,h,f,h[N],m,C):a.isStream(u)?(e=g,t=h[N],r=C,i=this,s=u,A=h,l=f,n(0!==m||0===A[I],"stream body cannot be pipelined"),c=o(s,i,i=>{i?(a.destroy(c,i),e(i)):(a.removeAllListeners(c),l.onRequestSent(),r||(t[p]=!0),A[F]())}),a.addListener(c,"data",function(e){l.onBodySent(e)})):a.isIterable(u)?eZ(g,this,u,h,f,h[N],m,C):n(!1):eK(g,this,null,h,f,h[N],m,C)}function eK(e,t,r,i,s,o,A,l){try{null!=r&&a.isBuffer(r)&&(n(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),s.onBodySent(r)),l||(o[p]=!0),s.onRequestSent(),i[F]()}catch(t){e(t)}}async function eX(e,t,r,i,s,n,o,a){try{if(null!=o&&o!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),s.onBodySent(e),s.onRequestSent(),a||(n[p]=!0),i[F]()}catch(t){e(t)}}async function eZ(e,t,r,i,s,o,a,A){n(0!==a||0===i[I],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(null===l),o[Q]?t(o[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(o[Q])throw o[Q];let r=t.write(e);s.onBodySent(e),r||await d()}t.end(),s.onRequestSent(),A||(o[p]=!0),i[F]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[N]=t;let o=e[R],c=e[M],u=s.connect(e[m],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=o?{initialWindowSize:o}:null}});return e[N]=t,u[V]=0,u[C]=e,u[N]=t,u[z]={idleTimeout:null,refed:!0,ping:{interval:0===e[D]?null:setInterval(eC,e[D],u).unref()}},u[K]=!1,u[P]=!1,u[Y]=!1,c&&a.addListener(u,"connect",em.bind(u,c)),a.addListener(u,"error",eI),a.addListener(u,"frameError",ef),a.addListener(u,"goaway",eE),a.addListener(u,"close",eB),a.addListener(u,"remoteSettings",ep),ed(u),e[x]=u,t[x]=u,a.addListener(t,"error",eQ),a.addListener(t,"end",eN),a.addListener(t,"close",ey),t[T]=!1,t.on("close",eb),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let s=t.headersTimeout??e[O],o=t.bodyTimeout??e[H],c=e[x],{method:u,path:h,host:m,upgrade:p,expectContinue:C,signal:I,protocol:f,headers:E}=t;if(null!=p&&"websocket"!==p)return a.errorRequest(e,t,new g(`Custom upgrade "${p}" not supported over HTTP/2`)),!1;let B=function(e){let t={};for(let r=0;r<e.length;r+=2){let i=e[r+0],s=e[r+1],n=t[i];if("cookie"===i){null!=n?t[i]=Array.isArray(n)?(n.push(s),n):[n,s]:t[i]=s;continue}if("string"==typeof s){t[i]=n?`${n}, ${s}`:s;continue}for(let e=0;e<s.length;e++)t[i]=t[i]?`${t[i]}, ${s[e]}`:s[e]}return t}(E);B[X]=m||e[k],B[Z]=u;let y={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:s,bodyTimeout:o,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,i=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,a.errorRequest(e,t,r),null!=y.stream){el(t);let s=y.stream;s.close(),s.destroyed||a.destroy(s),e[S](r),eO(y,i)}a.destroy(y.body,r)}};y.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){a.errorRequest(e,t,r)}if(t.aborted)return!1;if(p||"CONNECT"===u)return(ec(c),"websocket"===p)?!1===c[P]?(a.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(B[Z]="CONNECT",B[es]="websocket",B[$]=h,"ws:"===f||"wss:"===f?B[ee]="ws:"===f?"http":"https":B[ee]="http:"===f?"http":"https",null==(w=eH(e,t,c,Q,B,{endStream:!1,signal:I})))?(ed(c),!1):(eL(w,y),!0):null==(w=eH(e,t,c,Q,B,{endStream:!1,signal:I}))?(ed(c),!1):(eL(w,y),!0);B[$]=h,B[ee]="http:"===f?"http":"https";let D="PUT"===u||"POST"===u||"PATCH"===u||"QUERY"===u||"PROPFIND"===u||"PROPPATCH"===u,R=y.body;R&&"function"==typeof R.read&&R.read(0);let M=a.bodyLength(R);if(a.isFormDataLike(R)){let[e,t]=(i??=r(4626).extractBody)(R);B["content-type"]=t,R=e.stream,M=e.length}if(null==M&&(M=t.contentLength),0!==M||D||(M=null),"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"TRACE"!==u&&"CONNECT"!==u&&M>0&&null!=t.contentLength&&t.contentLength!==M){if(e[b])return a.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=M&&(n(R||0===M,"no body must not have content length"),B[et]=`${M}`),ec(c),q.sendHeaders.hasSubscribers){let e="";for(let t in B)e+=`${t}: ${B[t]}\r +`;q.sendHeaders.publish({request:t,headers:e,socket:c[N]})}let F=null===R||0===M;return y.body=R,y.contentLength=M,y.expectsPayload=D,C&&(B[er]="100-continue"),null!=(w=eH(e,t,c,Q,B,{endStream:F,signal:I}))&&(w[G]=!0,w[j]=y,y.stream=w,eg(c),++c[V],s&&w.setTimeout(s),w[x]=c,w.on("close",ex),eA(t,w,eP),C&&w.once("continue",ej),w.on("response",eG),w.on("end",ez),w.on("error",eq),w.on("frameError",eV),w.on("aborted",e_),(s||o)&&w.on("timeout",eJ),w.on("trailers",eW),C||ej.call(w),!0)})(e,t),resume(){var t;let r,i;r=(t=e)[N],i=t[x],r?.destroyed===!1&&(0===t[U]||0===t[w]?ed(i):ec(i),0===t[U]&&0===i[V]?eu(i):eg(i))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===u[Y]&&e[I]>0||e[I]>=e[w])return!0;if(null!=t){if(!(e[I]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y])return!0}return!1}}}},5183(e,t,r){let i=r(4589),s=r(7030),n=r(7067),o=r(1210),{ClientStats:a}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:g,ClientDestroyedError:u}=r(8065),h=r(5010),{kUrl:m,kServerName:p,kClient:C,kBusy:I,kConnect:f,kResuming:E,kRunning:B,kPending:y,kSize:Q,kQueue:N,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:x,kPendingIdx:R,kRunningIdx:M,kError:k,kPipelining:F,kKeepAliveTimeoutValue:U,kMaxHeadersSize:v,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:O,kBodyTimeout:H,kStrictContentLength:P,kConnector:Y,kMaxRequests:G,kCounter:z,kClose:q,kDestroy:V,kDispatch:_,kLocalAddress:J,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:X,kHostAuthority:Z,kHTTP2InitialWindowSize:$,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),ei=r(8043),es=r(942),en=Symbol("kClosedResolve"),eo=n&&n.maxHeaderSize&&Number.isInteger(n.maxHeaderSize)&&n.maxHeaderSize>0?()=>n.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},ea=()=>{};function eA(e){return e[K]?.version==="h2"?e[X]:e[F]??e[K]?.defaultPipelining??1}function el(e,t){if(0===e[B]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){i(e[R]===e[M]);let r=e[N].splice(e[M]);for(let i=0;i<r.length;i++){let s=r[i];null!=s&&o.errorRequest(e,s,t)}i(0===e[Q])}}function ec(e){i(!e[S]),i(!e[K]);let{host:t,hostname:r,protocol:n,port:a}=e[m];if("["===r[0]){let e=r.indexOf("]");i(-1!==e);let t=r.substring(1,e);i(s.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:n,port:a,servername:e[p],localAddress:e[J]},(s,l)=>{if(s){ed(e,s,{host:t,hostname:r,protocol:n,port:a}),e[et]();return}if(e.destroyed){o.destroy(l.on("error",ea),new u),e[et]();return}i(l);try{e[K]="h2"===l.alpnProtocol?es(e,l):ei(e,l)}catch(i){l.destroy().on("error",ea),ed(e,i,{host:t,hostname:r,protocol:n,port:a}),e[et]();return}e[S]=!1,l[z]=0,l[G]=e[G],l[C]=e,l[k]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],socket:l}),e.emit("connect",e[m],[e]),e[et]()})}catch(i){ed(e,i,{host:t,hostname:r,protocol:n,port:a}),e[et]()}}function ed(e,t,{host:r,hostname:i,protocol:s,port:n}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:i,protocol:s,port:n,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[N].splice(e[M],e[B]);e[R]=e[M];for(let i=0;i<r.length;i++)o.errorRequest(e,r[i],t);for(;e[y]>0&&e[N][e[R]].servername===e[p];){let r=e[N].splice(e[R],1)[0];o.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[m],[e],t)}}function eg(e){e[w]=0,e.emit("drain",e[m],[e])}function eu(e,t){2!==e[E]&&(e[E]=2,function(e,t){for(;;){if(e.destroyed)return void i(0===e[y]);if(e[en]&&!e[Q]){e[en](),e[en]=null;return}if(e[K]&&e[K].resume(),e[I])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eg(e))):eg(e);continue}if(0===e[y]||e[B]>=(eA(e)||1))return;let r=e[N][e[R]];if(null===r)return;if("https:"===e[m].protocol&&e[p]!==r.servername){if(e[B]>0)return;e[p]=r.servername,e[K]?.destroy(new g("servername changed"),()=>{e[K]=null,eu(e)})}if(e[S])return;if(!e[K])return void ec(e);if(e[K].destroyed||e[K].busy(r))return;!r.aborted&&e[K].write(r)?e[R]++:e[N].splice(e[R],1)}}(e,t),e[E]=0,e[M]>256&&(e[N].splice(0,e[M]),e[R]-=e[M],e[M]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:i,requestTimeout:n,connectTimeout:a,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:u,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:I,socketPath:f,pipelining:B,tls:y,strictContentLength:Q,maxCachedSessions:b,connect:S,maxRequestsPerClient:k,localAddress:z,maxResponseSize:q,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_,maxConcurrentStreams:ei,allowH2:es,useH2c:ea,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eg}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==n)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==u)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=eo();if(null!=f&&"string"!=typeof f)throw new d("invalid socketPath");if(null!=a&&(!Number.isFinite(a)||a<0))throw new d("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new d("invalid keepAliveTimeout");if(null!=C&&(!Number.isFinite(C)||C<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=I&&!Number.isFinite(I))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=k&&(!Number.isInteger(k)||k<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=z&&("string"!=typeof z||0===s.isIP(z)))throw new d("localAddress must be valid string IP address");if(null!=q&&(!Number.isInteger(q)||q<-1))throw new d("maxResponseSize must be a positive number");if(null!=_&&(!Number.isInteger(_)||_<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=es&&"boolean"!=typeof es)throw new d("allowH2 must be a valid boolean value");if(null!=ei&&("number"!=typeof ei||ei<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=ea&&"boolean"!=typeof ea)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eg}),"function"!=typeof S)S=h({...y,maxCachedSessions:b,allowH2:es,useH2c:ea,socketPath:f,timeout:a,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=f?{socketPath:f}:null,...null!=es?{allowH2:es}:null},r)}this[m]=o.parseOrigin(e),this[Z]=`${this[m].hostname}${this[m].port?`:${this[m].port}`:""}`,this[Y]=S,this[F]=null!=B?B:1,this[v]=t,this[D]=null==g?4e3:g,this[T]=null==C?6e5:C,this[L]=null==I?2e3:I,this[U]=this[D],this[p]=null,this[J]=null!=z?z:null,this[E]=0,this[w]=0,this[x]=`host: ${this[Z]}\r +`,this[H]=null!=A?A:3e5,this[O]=null!=r?r:3e5,this[P]=null==Q||Q,this[G]=k,this[en]=null,this[W]=q>-1?q:-1,this[K]=null,this[X]=null!=ei?ei:100,this[$]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[N]=[],this[M]=0,this[R]=0,this[et]=e=>eu(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[F]}set pipelining(e){this[F]=e,this[et](!0)}get stats(){return new a(this)}get[y](){return this[N].length-this[R]}get[B](){return this[R]-this[M]}get[Q](){return this[N].length-this[M]}get[b](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[I](){let e=this[K]?.version==="h2";return!!(this[K]?.busy(null)||this[Q]>=(eA(this)||1)||this[y]>0&&!e)}[f](e){ec(this),this.once("connect",e)}[_](e,t){let r=new l(this[m].origin,e,t);return this[N].push(r),this[E]||(null==o.bodyLength(r.body)&&o.isIterable(r.body)?(this[E]=1,queueMicrotask(()=>eu(this))):this[et](!0)),this[E]&&2!==this[w]&&this[I]&&(this[w]=2),this[w]<2}[q](){return new Promise(e=>{this[Q]?this[en]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[N].splice(this[R]);for(let t=0;t<r.length;t++){let i=r[t];null!=i&&o.errorRequest(this,i,e)}let i=()=>{this[en]&&(this[en](),this[en]=null),t(null)};this[K]?(this[K].destroy(e,i),this[K]=null):queueMicrotask(i),this[et]()})}}},9779(e,t,r){let i=r(6873),{ClientDestroyedError:s,ClientClosedError:n,InvalidArgumentError:o}=r(8065),{kDestroy:a,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),g=Symbol("onDestroyed"),u=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends i{[c]=!1;[g]=null;[l]=!1;[u]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,i)=>r?t(r):e(i))});if("function"!=typeof e)throw new o("invalid callback");if(this[c]){let t=new s;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[u]?this[u].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[u]??=[],this[u].push(e);let t=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,i)=>e?r(e):t(i))});if("function"!=typeof t)throw new o("invalid callback");if(this[c])return void(this[g]?this[g].push(t):queueMicrotask(()=>t(null,null)));e||(e=new s),this[c]=!0,this[g]??=[],this[g].push(t);let r=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[a](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new o("handler must be an object");try{if(!e||"object"!=typeof e)throw new o("opts must be an object.");if(e.dispatcher)throw new o("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[g])throw new s;if(this[l])throw new n;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let i=r(8474);e.exports=class extends i{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let i=r(6873),{InvalidArgumentError:s}=r(8065),{toRawHeaders:n}=r(1210);class o{#y;constructor(e){this.#y=e}onRequestStart(e,t){this.#y.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,i){let s=e?.rawHeaders??n(r??{});this.#y.onUpgrade?.(t,s,i)}onResponseStart(e,t,r,i){let s=e?.rawHeaders??n(r??{});this.#y.onHeaders?.(t,s,()=>e.resume(),i)===!1&&e.pause()}onResponseData(e,t){this.#y.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??n(t??{});this.#y.onComplete?.(r)}onResponseError(e,t){if(!this.#y.onError)throw t;this.#y.onError(t)}onBodySent(e){this.#y.onBodySent?.(e)}onRequestSent(){this.#y.onRequestSent?.()}onResponseStarted(){this.#y.onResponseStarted?.()}}e.exports=class e extends i{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new s("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new s("handler must be an object");return"function"==typeof e.onRequestStart?e:new o(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let i=r(9779),{kClose:s,kDestroy:n,kClosed:o,kDestroyed:a,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),g=r(3614),u=r(5891),h={"http:":80,"https:":443};e.exports=class extends i{#N=null;#b=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:i,...s}=e;this[l]=new u(s);let n=t??process.env.http_proxy??process.env.HTTP_PROXY;n?this[c]=new g({...s,uri:n}):this[c]=this[l];let o=r??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[d]=new g({...s,uri:o}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#D(r).dispatch(e,t)}[s](){return Promise.all([this[l].close(),!this[c][o]&&this[c].close(),!this[d][o]&&this[d].close()])}[n](e){return Promise.all([this[l].destroy(e),!this[c][a]&&this[c].destroy(e),!this[d][a]&&this[d].destroy(e)])}#D(e){let{protocol:t,host:r,port:i}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||h[t]||0,this.#x(r,i))?"https:"===t?this[d]:this[c]:this[l]}#x(e,t){if(this.#R&&this.#w(),0===this.#b.length)return!0;if("*"===this.#N)return!1;for(let r=0;r<this.#b.length;r++){let i=this.#b[r];if((!i.port||i.port===t)&&(e===i.hostname||e.slice(-(i.hostname.length+1))===`.${i.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#M,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let s=i.match(/^(.+):(\d+)$/);r.push({hostname:(s?s[1]:i).replace(/^\*?\./,"").toLowerCase(),port:s?Number.parseInt(s[2],10):0})}this.#N=e,this.#b=r}get #R(){return void 0===this.#S.noProxy&&this.#N!==this.#M}get #M(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:i}=r(8065),s=r(5183);e.exports=class extends s{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new i("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:s,...n}=t??{},o=r??100,a=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new i("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=s&&Number.isInteger(s)&&s>0&&(a=s),a>o)throw new i("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...n,maxConcurrentStreams:o,pipelining:a,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:i}=r(256),s=r(9779),n=r(9006),{kConnected:o,kSize:a,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:g,kUrl:u,kClose:h,kDestroy:m,kDispatch:p}=r(3025),C=Symbol("clients"),I=Symbol("needDrain"),f=Symbol("queue"),E=Symbol("closed resolve"),B=Symbol("onDrain"),y=Symbol("onConnect"),Q=Symbol("onDisconnect"),N=Symbol("onConnectionError"),b=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),D=Symbol("remove client");class x extends s{[f]=new n;[c]=0;[C]=[];[I]=!1;[B](e,t,r){let i=this[f],s=!1;for(;!s;){let t=i.shift();if(!t)break;this[c]--,s=!e.dispatch(t.opts,t.handler)}if(e[I]=s,!s&&this[I]&&(this[I]=!1,this.emit("drain",t,[this,...r])),this[E]&&i.isEmpty()){let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[E])}}[y]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[N]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[I]}get[o](){let e=0;for(let{[o]:t}of this[C])e+=t;return e}get[g](){let e=0;for(let{[o]:t,[I]:r}of this[C])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[C])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[C])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[C])e+=t;return e}get stats(){return new i(this)}[h](){if(!this[f].isEmpty())return new Promise(e=>{this[E]=e});{let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[m](e){for(;;){let t=this[f].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[C].length);for(let r=0;r<this[C].length;r++)t[r]=this[C][r].destroy(e);return Promise.all(t)}[p](e,t){let r=this[b]();return r?r.dispatch(e,t)||(r[I]=!0,this[I]=!this[S]()):(this[I]=!0,this[f].push({opts:e,handler:t}),this[c]++),!this[I]}[S](){for(let e=0;e<this[C].length;e++){let t=this[C][e];if(!t[I]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[B].bind(this,e)).on("connect",this[y]).on("disconnect",this[Q]).on("connectionError",this[N]),this[C].push(e),this[I]&&queueMicrotask(()=>{this[I]&&this[B](e,e[u],[e,this])}),this}[D](e){let t=this[C].indexOf(e);-1!==t&&this[C].splice(t,1),e.close(()=>{}),this[I]=!this[C].some(e=>!e[I]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:x,kClients:C,kNeedDrain:I,kAddClient:w,kRemoveClient:D,kGetDispatcher:b,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:i,kClients:s,kNeedDrain:n,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory");function I(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=I,connect:i,connectTimeout:n,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:f,useH2c:E,clientTtl:B,...y}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:f,useH2c:E,socketPath:A,timeout:n,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(y),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(y),connect:i,allowH2:f,useH2c:E,clientTtl:B,socketPath:A},this[C]=r,this.on("connect",(e,t)=>{if(null!=B&&B>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[s].indexOf(e);-1!==t&&this[s].splice(t,1)}})}[a](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[n])return r}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[n])return!0}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},3614(e,t,r){let{kProxy:i,kClose:s,kDestroy:n,kDispatch:o}=r(3025),a=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:g,ProxyConnectionError:u}=r(8065),h=r(5010),m=r(5183),{channels:p}=r(6708),C=r(9741),I=Symbol("proxy agent"),f=Symbol("proxy client"),E=Symbol("proxy headers"),B=Symbol("request tls settings"),y=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),N=Symbol("connect endpoint function (http/1.1 only)"),b=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let D=()=>{};function x(e,t){return 1===t.connections?new m(e,t):new A(e,t)}class R extends l{#k;#F;constructor(e,{headers:t={},connect:r,factory:i,proxyServername:s}){if(!e)throw new c("Proxy URL is mandatory");super(),this[E]=t,this.#F=s,i?this.#k=i(e,{connect:r}):this.#k=new m(e,{connect:r})}[o](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,i,s,n){if(407===i){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,i,s,n)};let{origin:i,path:s="/",headers:n={}}=e;if(e.path=i+s,!("host"in n)&&!("Host"in n)){let{host:e}=new URL(i);n.host=e}return e.headers={...this[E],...n},null!=this.#F&&(e.servername=this.#F),this.#k[o](e,t)}[s](){return this.#k.close()}[n](e){return this.#k.destroy(e)}}function M(e){return e.length===S.length&&e.toLowerCase()===S}function k(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:s}=e;super();let n=this.#U(e),{href:o,origin:A,port:l,protocol:m,username:S,password:M,hostname:k}=n;if(this[i]={uri:o,protocol:m},this[B]=e.requestTls,this[y]=e.proxyTls,this[E]=e.headers||{},this[b]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[E]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[E]["proxy-authorization"]=e.token:S&&M?this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(M)}`).toString("base64")}`:S&&(this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let F=h({timeout:s,...e.proxyTls}),U=h({timeout:s,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:s,...e.requestTls}),this[N]=h({timeout:s,...e.requestTls,allowH2:!1});let v=e.factory||x,T=(t,r)=>{let{protocol:s}=new URL(t);if("socks5:"===this[i].protocol||"socks:"===this[i].protocol)return new C(this[i].uri,{headers:this[E],connect:F,factory:v,username:e.username||S,password:e.password||M,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[b]&&"http:"===s){let e="https:"===this[i].protocol?(e,t)=>U(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new g(e)):t(e,r)}):U;return new R(this[i].uri,{headers:this[E],connect:e,factory:v,proxyServername:"https:"===this[i].protocol?this[y]?.servername||k:void 0})}return v(t,r)};"socks5:"===m||"socks:"===m?this[f]=null:this[f]=t(n,{connect:F}),this[I]=new a({...e,factory:T,connect:async(e,t)=>{if(!this[f])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let i,s={origin:A,port:l,path:r,signal:e.signal,headers:{...this[E],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[y]?.servername||k},{socket:n,statusCode:o}=await this[f].connect(s);if(200!==o){n.on("error",D).destroy(),t(new d(`Proxy response (${o}) !== 200 when HTTP Tunneling`));return}if(p.proxyConnected.hasSubscribers&&p.proxyConnected.publish({socket:n,connectParams:s}),"https:"!==e.protocol)return void t(null,n);i=this[B]?this[B].servername:e.servername,(!1===e.allowH2?this[N]:this[Q])({...e,servername:i,httpSocket:n},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new g(e):"UND_ERR_SOCKET"===e.code?new u(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)M(e[r])&&k(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)M(t)&&k()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[I].dispatch({...e,headers:r},t)}#U(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[s](){let e=[this[I].close()];return this[f]&&e.push(this[f].close()),Promise.all(e)}[n](){let e=[this[I].destroy()];return this[f]&&e.push(this[f].destroy()),Promise.all(e)}}},8392(e,t,r){let i=r(6873),s=r(4166);e.exports=class extends i{#v=null;#T=null;constructor(e,t={}){super(t),this.#v=e,this.#T=t}dispatch(e,t){let r=new s({...e,retryOptions:this.#T},{dispatch:this.#v.dispatch.bind(this.#v),handler:t});return this.#v.dispatch(e,r)}close(){return this.#v.close()}destroy(){return this.#v.destroy()}}},1326(e,t,r){let{PoolBase:i,kClients:s,kNeedDrain:n,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory"),I=Symbol("index");function f(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=f,connect:i,connectTimeout:n,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:E,clientTtl:B,...y}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:E,socketPath:A,timeout:n,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(y),connect:i,allowH2:E,clientTtl:B,socketPath:A},this[C]=r,this[I]=-1,this.on("connect",(e,t)=>{if(null!=B&&B>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[s].indexOf(e);-1!==t&&this[s].splice(t,1)}})}[a](){let e=this[m].clientTtl;if(0===this[s].length){let e=this[C](this[u],this[m]);return this[o](e),e}let t=0;for(;t<this[s].length;){this[I]=(this[I]+1)%this[s].length;let r=this[s][this[I]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[I]--;continue}if(!r[n])return r;t++}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[I]&&this[I]--,t--;else if(!r[n])return!0}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},9741(e,t,r){let i,{URL:s}=r(3136),n=r(9779),{InvalidArgumentError:o}=r(8065),{Socks5Client:a,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),g=r(6334),u=r(5010),{debuglog:h}=r(7975),m=h("undici:socks5-proxy"),p=Symbol("proxy url"),C=Symbol("proxy headers"),I=Symbol("proxy auth"),f=Symbol("proxy protocol"),E=Symbol("pools"),B=Symbol("connector"),y=Symbol("request tls settings"),Q=!1;e.exports=class extends n{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new o("Proxy URL is mandatory");let r="string"==typeof e?new s(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new o("Proxy URL must use socks5:// or socks:// protocol");this[p]=r,this[C]=t.headers||{},this[f]=t.proxyTls?"https:":"http:",this[y]=t.requestTls,this[I]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[B]=t.connect||u({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[E]=new Map}async createSocks5Connection(e,t){let r=this[p].hostname,i=parseInt(this[p].port)||1080;m("creating SOCKS5 connection to",r,i);let s=Promise.withResolvers();this[B]({hostname:r,host:r,port:i,protocol:this[f]},(e,t)=>{e?s.reject(e):s.resolve(t)});let n=await s.promise,o=new a(n,this[I]);o.on("error",e=>{m("SOCKS5 error:",e),n.destroy()}),await o.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),o.removeListener("error",g),l.resolve()},g=e=>{clearTimeout(c),o.removeListener("authenticated",d),l.reject(e)};o.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(o.once("authenticated",d),o.once("error",g)),await l.promise,await o.connect(e,t);let u=Promise.withResolvers(),h=setTimeout(()=>{u.reject(Error("SOCKS5 connection timeout"))},5e3),C=r=>{m("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),o.removeListener("error",E),u.resolve()},E=e=>{clearTimeout(h),o.removeListener("connected",C),u.reject(e)};return o.once("connected",C),o.once("error",E),await u.promise,n}[l](e,t){let{origin:n}=e;m("dispatching request to",n,"via SOCKS5");try{let o=String(n),a=this[E].get(o);return(!a||a.destroyed||a.closed)&&(a=new g(n,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new s(n),o=e.hostname,a=parseInt(e.port)||("https:"===e.protocol?443:80);m("establishing SOCKS5 connection to",o,a);let A=await this.createSocks5Connection(o,a),l=A;if("https:"===e.protocol){i||(i=r(1692)),m("upgrading to TLS"),l=i.connect({...this[y],socket:A,servername:this[y]?.servername||o});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){m("SOCKS5 connection error:",e),t(e)}}}),this[E].set(o,a)),a[l](e,t)}catch(e){if(m("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[E].values())e.push(t.close());this[E].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[E].values())t.push(r.destroy(e));this[E].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let i,s=Symbol.for("undici.globalDispatcher.2"),n=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:o}=r(8065),a=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new o("Argument agent must implement Agent");try{Object.defineProperty(globalThis,s,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){i=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,n,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[s]??i}void 0===c()&&l(new a),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let i=r(1210),{parseCacheControlHeader:s,hasInvalidCacheControlDirective:n,parseVaryHeader:o,hasVaryStar:a,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let g=[200,203,204,206,300,301,308,404,405,410,414,501],u=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function m(e,t,r){C(e,{...t,path:r});for(let s=0;s<i.safeHTTPMethods.length;s++){let n=i.safeHTTPMethods[s];n!==t.method&&C(e,{...t,method:n,path:r})}}function p(e,t,r){if(void 0===r)return;let i=Array.isArray(r)?r:[r];for(let r=0;r<i.length;r++){let s=function(e,t){let r,i,s;if("string"==typeof t){try{r=new URL(e.origin),i=new URL(e.path,r),s=new URL(t,i)}catch{return}if(s.origin===r.origin)return s.pathname+s.search}}(t,i[r]);void 0!==s&&m(e,t,s)}}function C(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function I(e,t,r){304===e&&C(t,r)}e.exports=class{#L;#O;#H;#P;#y;#Y;constructor({store:e,type:t,cacheByDefault:r},i,s){this.#P=e,this.#O=t,this.#H=r,this.#L=i,this.#y=s}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#y.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#y.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,d){var f,E,B,y,Q,N,b,S,w,D;let x,R=()=>this.#y.onResponseStart?.(e,t,r,d),M=this;if(!h(i.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return f=this.#P,E=this.#L,m(f,E,E.path),p(f,E,r.location),p(f,E,r["content-location"]),R()}let k=r["cache-control"],F=r["last-modified"]&&h(g,t);if(!k&&!r.expires&&!F&&!this.#H)return 304===t&&r.vary&&A(r.vary)&&C(this.#P,this.#L),R();let U=k?s(k):{};if(B=this.#O,y=t,Q=r,N=U,b=this.#L.headers,y<200||h(u,y)||!h(g,y)&&!Q.expires&&!N.public&&void 0===N["max-age"]&&!(N.private&&"private"===B)&&(void 0===N["s-maxage"]||"shared"!==B)||N["no-store"]||"shared"===B&&!0===N.private||Q.vary&&a(Q.vary)||null!=b&&Object.hasOwn(b,"authorization")&&(!N.public&&!N["s-maxage"]&&!N["must-revalidate"]||"string"!=typeof b.authorization||Array.isArray(N["no-cache"])&&h(N["no-cache"],"authorization")||Array.isArray(N.private)&&h(N.private,"authorization"))||0){return 304===t&&(k||(S=this.#O,w=r,!0===(D=U)["no-store"]||"shared"===S&&!0===D.private||w.vary&&A(w.vary)))&&C(this.#P,this.#L),R()}let v=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return I(t,this.#P,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return I(t,this.#P,this.#L),R();let O=Math.max(L?Math.max(0,v-L.getTime()):0,T??0),H="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],P=function(e,t,r,i,s,o,a){if("shared"===e){if(n(o,"s-maxage"))return 0;let e=o["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(n(o,"max-age"))return 0;let A=o["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(i,"expires")){if("string"!=typeof i.expires)return 0;let e=c(i.expires);if(!e||t>=e.getTime())return 0;if(s){if(s>=e)return 0;let t=e.getTime()-s.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof i["last-modified"]){let e=c(i["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return o.immutable?31536e6:!0===o["no-cache"]&&a?0:void 0}(this.#O,v,T,r,L,U,H)??this.#H,Y=0===P&&H;if(void 0===P||O>=P&&!Y)return(k||void 0!==P)&&I(t,this.#P,this.#L),R();let G=v-O,z=P+G;if(v>=z&&!Y)return I(t,this.#P,this.#L),R();if(this.#L.headers&&r.vary&&!(x=o(r.vary,this.#L.headers)))return R();let q=function(e,t,r,i){let s=-1/0,n=-1/0,o=-1/0;if(r["stale-while-revalidate"]&&(s=i+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(n=i+1e3*r["stale-if-error"]),r.immutable&&s===-1/0&&n===-1/0&&(o=t+31536e6),s===-1/0&&n===-1/0&&o===-1/0){let r=i-e;return r<=0?t+864e5:i+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(i,s,n,o)}(G,v,U,z),V=function(e,t){let r,i=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let s of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t].split(",");for(let t=0;t<i.length;t++)e.push(i[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(i,e.connection),Array.isArray(t["no-cache"])&&i.push(...t["no-cache"]),Array.isArray(t.private)&&i.push(...t.private),i))Object.hasOwn(e,s)&&(r??={...e},delete r[s]);return r??e}(r,U),_={statusCode:t,statusMessage:d,headers:V,vary:x,cacheControlDirectives:U,cachedAt:G,staleAt:z,deleteAt:q};if(304===t){let t=t=>{if(!t)return R();if(_.statusCode=t.statusCode,_.statusMessage=t.statusMessage,_.etag=t.etag,_.vary=x??t.vary,_.headers={...t.headers,...V},R(),this.#Y=this.#P.createWriteStream(this.#L,_),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),i=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#y.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("drain",()=>{i()}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}),i()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#y.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#P.delete(this.#L)}),this.#Y.on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}))},r=this.#P.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(_.etag=r.etag),this.#Y=this.#P.createWriteStream(this.#L,_),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#y.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#y.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#y.onResponseError?.(e,t)}}},7871(e,t,r){let i=r(4589);e.exports=class{#G=!1;#z;#y;#q;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#z=e,this.#y=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#q=t}onRequestUpgrade(e,t,r,i){this.#y.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,s){if(i(null!=this.#z),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#z(this.#G,this.#q,t,r),this.#z=null,this.#G)return!0;this.#y.onRequestStart?.(e,this.#q),this.#y.onResponseStart?.(e,t,r,s)}onResponseData(e,t){if(!this.#G)return this.#y.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#y.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#z){if(this.#V){this.#G=!0,this.#z(!0,this.#q),this.#z=null;return}this.#z(!1),this.#z=null}if("function"==typeof this.#y.onResponseError)this.#y.onResponseError(e,t);else throw t}}}},2645(e,t,r){let i=r(4589);e.exports=class{#y;#_=!1;#J=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#y=e}onRequestStart(...e){this.#y.onRequestStart?.(...e)}onRequestUpgrade(...e){return i(!this.#_),i(!this.#J),this.#y.onRequestUpgrade?.(...e)}onResponseStart(...e){return i(!this.#_),i(!this.#J),i(!this.#W),this.#W=!0,this.#y.onResponseStart?.(...e)}onResponseData(...e){return i(!this.#_),i(!this.#J),this.#y.onResponseData?.(...e)}onResponseEnd(...e){return i(!this.#_),i(!this.#J),this.#_=!0,this.#y.onResponseEnd?.(...e)}onResponseError(...e){return this.#J=!0,this.#y.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:i}=r(8065);e.exports=class{#j;#K=[];#X=5242880;#Z=0;#$={};#ee="";#E=!1;#et=!1;#er=!1;#ei=!1;#es=null;#en=null;constructor(e,t,r=5242880){this.#j=e,this.#en=t,this.#X=r}addWaitingHandler(e){if(this.#ei||this.#er)return!1;let t=this.#eo(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#Z,this.#$,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#K.push(t),!0}onRequestStart(e,t){this.#es=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#j.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,i){for(let s of(this.#et=!0,this.#Z=t,this.#$=r,this.#ee=i,this.#j.onResponseStart?.(e,t,r,i),this.#K)){let{handler:e,controller:n}=s;if(s.done||n.aborted){s.done=!0;continue}try{e.onResponseStart?.(n,t,r,i)}catch{}n.aborted&&(s.done=!0)}this.#ea()}onResponseData(e,t){if(!this.#E&&!this.#ei){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#K)){let{handler:e,controller:i}=r;if(r.done||i.aborted){r.done=!0;continue}if(i.paused){this.#eA(r,t);continue}try{e.onResponseData?.(i,t)}catch{}i.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#ea()}}onResponseEnd(e,t){if(!this.#E&&!this.#ei){for(let r of(this.#ei=!0,this.#j.onResponseEnd?.(e,t),this.#K)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#ea(),this.#en?.()}}onResponseError(e,t){if(!this.#ei){for(let r of(this.#E=!0,this.#ei=!0,this.#j.onResponseError?.(e,t),this.#K))this.#ec(r,t);this.#K=[],this.#en?.()}}#eo(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#ei&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#ea()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#X){let t=new i(`Deduplicated waiting handler exceeded maxBufferSize (${this.#X} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let i=e.bufferedChunks.shift();e.bufferedBytes-=i.length;try{t.onResponseData?.(r,i)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#ea(){this.#K=this.#K.filter(e=>!1===e.done)}}},7424(e,t,r){let i=r(1210),s=r(4589),{InvalidArgumentError:n}=r(8065),o=[300,301,302,303,307,308],a=()=>{};function A(e,t,r,s,n){let o=i.headerNameToString(e);return!!("host"===o||s?.has(o)||r&&n?.has(o)||t&&o.startsWith("content-"))||!!r&&("authorization"===o||"cookie"===o||"proxy-authorization"===o)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new n(`${t} must be an array`);let r=new Set;for(let s of e){if("string"!=typeof s)throw new n(`${t} must contain header names`);r.add(i.headerNameToString(s))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new n("maxRedirections must be a positive number");let i=t.dispatch.bind(t);return(t,s)=>i(t,new e(i,r,t,s))}constructor(e,t,r,s){if(null!=t&&(!Number.isInteger(t)||t<0))throw new n("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new n("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:o,stripHeadersOnRedirect:a,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=i.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(a,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=s,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)||-1===o.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:g,search:u}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=u?`${g}${u}`:g,m=`${d}${h}`;for(let e of this.history)if(e.toString()===m)throw new n(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,n,o){let a=[];if(Array.isArray(e))for(let i=0;i<e.length;i+=2)A(e[i],t,r,n,o)||a.push(e[i],e[i+1]);else if(e&&"object"==typeof e)for(let[s,l]of i.hasSafeIterator(e)?e:Object.entries(e))A(s,t,r,n,o)||a.push(s,l);else s(null==e,"headers must be an object or an array");return a}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let i=r(4589),{kRetryHandlerDefaultRetry:s}=r(3025),{RequestRetryError:n}=r(8065),{isDisturbed:o,parseRangeHeader:a,wrapRequestBody:A}=r(1210);function l(e,t,r,i){let s=e["content-length"];if(null==s||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let o=Number(s),a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a)throw new n("Content-Length mismatch",r,{headers:e,data:{count:i}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:i}){let{retryOptions:n,...o}=t,{retry:a,maxRetries:l,maxTimeout:d,minTimeout:g,timeoutFactor:u,methods:h,errorCodes:m,retryAfter:p,statusCodes:C,throwOnError:I}=n??{};this.error=null,this.dispatch=r,this.handler=i,this.opts={...o,body:A(t.body)},this.retryOpts={throwOnError:I??!0,retry:a??e[s],retryAfter:p??!0,maxTimeout:d??3e4,minTimeout:g??500,timeoutFactor:u??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:C??[500,502,503,504,429],errorCodes:m??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,i,s){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)):this.error=s);if(o(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}e.pause(),this.retryOpts.retry(s,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(n){if(n){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i),e.resume();return}this.error=s,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,i)}static[s](e,{state:t,opts:r},i){let{statusCode:s,code:n,headers:o}=e,{method:a,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:g,statusCodes:u,errorCodes:h,methods:m}=A,{counter:p}=t;if(n&&"UND_ERR_REQ_RETRY"!==n&&!h.includes(n)||Array.isArray(m)&&!m.includes(a)||null!=s&&Array.isArray(u)&&!u.includes(s)||p>l)return void i(e);let C=o?.["retry-after"];if(C){let e;C=Number.isNaN(C=Number(C))?isNaN(e=new Date(o["retry-after"]).getTime())?null:e-Date.now():1e3*C}setTimeout(()=>i(null),0===C?0:C>0?Math.min(C,d):Math.min(c*g**(p-1),d))}onResponseStart(e,t,r,s){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let i=new n("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,s,i);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new n("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=a(r["content-range"]);if(!e)throw new n("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new n("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:s,size:o,end:A=o?o-1:null}=e;i(this.start===s,"content-range mismatch"),i(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=a(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,s);return}l(r,e,t,this.retryCount);let{start:n,size:o,end:A=o?o-1:null}=e;i(null!=n&&Number.isFinite(n),"content-range mismatch"),i(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=n,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}i(Number.isFinite(this.start)),i(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,s)}else throw new n("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new n("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||o(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let i=r(4589),{Readable:s}=r(7075),n=r(1210),o=r(4502),a=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:g,parseCacheControlHeader:u,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:m}=r(8065),{parseHttpDate:p}=r(5859),C=()=>{};function I(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function f(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function E(e,t){try{e.delete(t)?.catch?.(C)}catch{}}function B(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&p(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function y(e,t,r,o,a,A){let l=n.isStream(r.body)?r.body:s.from(r.body??[]);i(!l.destroyed,"stream should not be destroyed"),i(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new m)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,a),l.destroyed)return;let d={...r.headers,age:String(o)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=n.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,i,s,a,l){var c,d,g,p,I;let Q;if(!l){if(a?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,i.onResponseError?.(t,r??new m)}};try{if(i.onRequestStart?.(t,null),e||(i.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;i.onResponseEnd?.(t,{})}catch(e){"function"==typeof i.onResponseError&&i.onResponseError(t,e)}return!0}return e(s,new o(t,r,i))}let N=Date.now();if(N>l.deleteAt)return e(s,new o(t,r,i));let b=Math.round((N-l.cachedAt)/1e3),S=a?.["max-age"]!==void 0&&b>=a["max-age"],w=S||(c=l,d=a,g=t.type,(Q=Date.now())>c.staleAt?!(!f(c,g)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),D=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,a,s);if(w||D){let c;if(n.isStream(s.body)&&0!==n.bodyLength(s.body))return e(s,new o(t,r,i));if(!D&&(p=l,I=t.type,!(!(c=p.cacheControlDirectives?.["stale-while-revalidate"])||f(p,I))&&Date.now()<=p.staleAt+1e3*c))return y(i,s,l,b,null,!0),queueMicrotask(()=>{let i=B(s,l);e({...s,headers:i},new o(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!f(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??a?.["stale-if-error"];e&&(d=N<l.staleAt+1e3*e)}let g=B(s,l);return e({...s,headers:g},new A((a,A,c,d)=>{if(a){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let i=u(r);return!0===i["no-store"]||"shared"===e&&!0===i.private}(t.type,d))return n.isStream(l.body)&&l.body.on("error",C).destroy(),E(t.store,r),e(s,new o(t,r,i));void 0!==d["cache-control"]&&E(t.store,r)}y(i,s,l,b,A,w)}else n.isStream(l.body)&&l.body.on("error",C).destroy()},new o(t,r,i),d))}n.isStream(s.body)&&s.body.on("error",C).destroy(),y(i,s,l,b,null,!1)}e.exports=(e={})=>{let{store:t=new a,methods:r=["GET"],cacheByDefault:i,type:s="shared",origins:o}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==o){if(!Array.isArray(o))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof o}`);for(let e=0;e<o.length;e++){let t=o[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==i&&"number"!=typeof i)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof i}`);if(void 0!==s&&"shared"!==s&&"private"!==s)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof s}`);let h={store:t,methods:r,cacheByDefault:i,type:s},m=[];for(let e=0;e<n.safeHTTPMethods.length;e++){let t=n.safeHTTPMethods[e];I(r,t)||m.push(t)}return e=>(r,i)=>{if(!r.origin||I(m,r.method))return e(r,i);if(void 0!==o){let t=r.origin.toString().toLowerCase(),s=!1;for(let e=0;e<o.length;e++){let r=o[e];if("string"==typeof r){if(r.toLowerCase()===t){s=!0;break}}else if(r.test(t)){s=!0;break}}if(!s)return e(r,i)}r={...r,headers:g(r)};let s=r.headers?.["cache-control"]?u(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let i=t.split(",");for(let e=0;e<i.length;e++)if("no-cache"===i[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(s?.["no-store"])return e(r,i);let n=d(r),a=t.get(n);return a&&"function"==typeof a.then?a.then(t=>Q(e,h,n,i,r,s,t)):Q(e,h,n,i,r,s,a)}}},9287(e,t,r){let{createInflate:i,createGunzip:s,createBrotliDecompress:n,createZstdDecompress:o}=r(8522),{pipeline:a}=r(7075),A=r(2645),l={gzip:s,"x-gzip":s,br:n,deflate:i,compress:i,"x-compress":i,zstd:o},c=[204,304],d=!1;class g extends A{#ed=[];#eg;#eu;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eu=t,this.#eh=r}#em(e,t){return!!(!e||t<200||this.#eu.includes(t))||!!this.#eh&&!!(t>=400)}#ep(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let i=t[e].trim();if(i){if(!l[i])return r.length=0,r;r.push(l[i]())}}return r}#eC(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#eI(e){let t=this.#ed[0];this.#eC(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eg)})}#ef(e){let t=this.#ed[this.#ed.length-1];this.#eC(t,e),a(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eg)})}#eE(){this.#ed.length=0}onResponseStart(e,t,r,i){let s=r["content-encoding"];if(this.#em(s,t))return super.onResponseStart(e,t,r,i);let n=this.#ep(s.toLowerCase());if(0===n.length)return this.#eE(),super.onResponseStart(e,t,r,i);this.#ed=n;let{"content-encoding":o,"content-length":a,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let i=t[e],s=(Buffer.isBuffer(i)?i.toString("latin1"):`${i}`).toLowerCase();"content-encoding"!==s&&"content-length"!==s&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#eI(e):this.#ef(e),super.onResponseStart(e,t,A,i)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eg=t,this.#ed[0].end(),this.#eE();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#eE()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,i)=>"HEAD"===r.method?t(r,i):t(r,new g(i,e))}},7870(e,t,r){let i=r(3053),s=r(1210),n=r(8241),{normalizeHeaders:o,makeCacheKey:a,makeDeduplicationKey:A}=r(8621),l=i.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:i=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!s.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(i))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof i}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),g=new Set(i.map(e=>e.toLowerCase())),u=new Map;return e=>(r,i)=>{if(!r.origin||!1===t.includes(r.method))return e(r,i);if(r={...r,headers:o(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,i)}let s=A(a(r),g),h=u.get(s);if(h)return!!h.addWaitingHandler(i)||e(r,i);let m=new n(i,()=>{u.delete(s),l.hasSubscribers&&l.publish({size:u.size,key:s,type:"removed"})},c);return u.set(s,m),l.hasSubscribers&&l.publish({size:u.size,key:s,type:"added"}),e(r,m)}}},4053(e,t,r){let{isIP:i}=r(7030),{lookup:s}=r(610),n=r(2645),{InvalidArgumentError:o,InformationalError:a}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#eB=0;#ey=new Map;constructor(e){this.#eB=e.maxItems}get size(){return this.#ey.size}get(e){return this.#ey.get(e)??null}set(e,t){this.#ey.set(e,t)}delete(e){this.#ey.delete(e)}full(){return this.size>=this.#eB}}class d{#eQ=0;#eB=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#eB=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eN,this.pick=e.pick??this.#eb,this.storage=e.storage??new c(e)}runLookup(e,t,r){let i=this.storage.get(e.hostname);if(null==i&&this.storage.full())return void r(null,e);let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#eB};if(null==i)this.lookup(e,s,(t,i)=>{let n;if(t||null==i||0===i.length)return void r(t??new a("No DNS entries found"));this.setRecords(e,i);let o=this.storage.get(e.hostname),A=this.pick(e,o,s.affinity);n="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${n}`))});else{let n,o=this.pick(e,i,s.affinity);if(null==o){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}n="number"==typeof o.port?`:${o.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===o.family?`[${o.address}]`:o.address}${n}`))}}#eN(e,t,r){s(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let i=new Map;for(let e of t)i.set(`${e.address}:${e.family}`,e);r(null,i.values())})}#eb(e,t,r){let i,s=null,{records:n,offset:o}=t;if(this.dualStack?(null==r&&(null==o||0x7fffffff===o?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),i=null!=n[r]&&n[r].ips.length>0?n[r]:n[4===r?6:4]):i=n[r],null==i||0===i.ips.length)return s;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let a=i.offset%i.ips.length;return null==(s=i.ips[a]??null)?s:Date.now()-s.timestamp>s.ttl?(i.ips.splice(a,1),this.pick(e,t,r)):s}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let i=r[t];if(!i)return null;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let s=i.offset%i.ips.length,n=i.ips[s]??null;return null==n||Date.now()-n.timestamp>n.ttl&&i.ips.splice(s,1),n}setRecords(e,t){let r=Date.now(),i={records:{4:null,6:null}},s=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),s=Math.min(s,e.ttl)):e.ttl=this.#eQ;let t=i.records[e.family]??{ips:[]};t.ips.push(e),i.records[e.family]=t}this.storage.set(e.hostname,i,{ttl:s})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new g(this,e,t)}}class g extends n{#eS=null;#S=null;#ew=null;#eD=null;#es=null;#ex=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:i,newOrigin:s},n){super(r),this.#eD=t,this.#ex=s,this.#S={...n},this.#eS=e,this.#ew=i}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let i="["===this.#ex.hostname[0]?4:6,s=this.#eS.pickFamily(this.#eD,i);if(null==s)return void super.onResponseError(e,t);r="number"==typeof s.port?`:${s.port}`:""!==this.#eD.port?`:${this.#eD.port}`:"";let n={...this.#S,origin:`${this.#eD.protocol}//${6===s.family?`[${s.address}]`:s.address}${r}`,headers:l(this.#eD.host,this.#S.headers)};this.#ew(n,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#eD),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new o("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new o("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new o("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new o("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new o("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new o("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new o("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let s=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let n=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==i(n.hostname)?e(t,r):(s.runLookup(n,t,(i,o)=>{if(i)return r.onResponseError(null,i);e({...t,servername:n.hostname,origin:o.origin,headers:l(n.host,t.headers)},s.getHandler({origin:n,dispatch:e,handler:r,newOrigin:o},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:i,RequestAbortedError:s}=r(8065),n=r(2645);class o extends n{#t=1048576;#eM=!1;#i=0;#es=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new i("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#B(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#B.bind(this),this.#es=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,i){let n=r["content-length"];if(null!=n&&n>this.#t)throw new s(`Response size (${n}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,i)}onResponseError(e,t){this.#eM||(t=this.#es?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#i=this.#i+t.length,this.#i>=this.#t&&(this.#eM=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#eM){if(!0===this.#es.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,i){let{dumpMaxSize:s=e}=r,n=new o({maxSize:s,signal:r.signal},i);return t(r,n)}}},7884(e,t,r){let i=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:s}={}){return n=>function(o,a){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=s,...g}=o;if(null==A||0===A)return n(o,a);let u={...g,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new i(n,A,u,a);return n(u,h)}}},3128(e,t,r){let i=r(2645),{ResponseError:s}=r(8065);class n extends i{#Z;#ek;#eF;#$;#eU;constructor(e,{handler:t}){super(t)}#ev(e){return 0===(this.#ek??"").indexOf(e)}onRequestStart(e,t){return this.#Z=0,this.#ek=null,this.#eF=null,this.#$=null,this.#eU="",super.onRequestStart(e,t)}onResponseStart(e,t,r,i){if(this.#Z=t,this.#$=r,this.#ek=r["content-type"],this.#Z<400)return super.onResponseStart(e,t,r,i);(this.#ev("application/json")||this.#ev("text/plain"))&&(this.#eF=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#Z<400)return super.onResponseData(e,t);this.#eU+=this.#eF?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#Z>=400){let t;if(this.#eU+=this.#eF?.decode(void 0,{stream:!1})??"",this.#ev("application/json"))try{this.#eU=JSON.parse(this.#eU)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new s("Response Error",this.#Z,{body:this.#eU,headers:this.#$})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new n(t,{handler:r}))}},9620(e,t,r){let i=r(4166);e.exports=e=>t=>function(r,s){return t(r,new i({...r,retryOptions:{...e,...r.retryOptions}},{handler:s,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let i=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,i.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z6,t.t9,t.Y2,t.oC,t.mL,t.XB,t.EW,t.jJ,t.jA,t.XV,t.KO,t.aC},9896(e,t,r){let i;e=r.nmd(e);let{Buffer:s}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=s.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2V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gAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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AMgACABEDQiAEUEQCABQQFqIQEM7wILIANBGjYCHCADIAA2AgwgAyABQQFqNgIUDPUCCyAAQRVGDR9BACECIANBADYCHCADIAE2AhQgA0HQDzYCECADQSI2AgwM9AILIAMoAgQhACADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwbCyADQRw2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8wILIAMoAgQhACADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQzrAgsgA0EdNgIcIAMgADYCDCADIAFBAWo2AhRBACECDPICCyAAQTtHDQEgAUEBaiEBC0EmIQIM1wILQQAhAiADQQA2AhwgAyABNgIUIANBnxU2AhAgA0EMNgIMDO8CCyABIARHBEADQCABLQAAQSBHDYQCIAQgAUEBaiIBRw0AC0EsIQIM7wILQSwhAgzuAgsgASAERgRAQTQhAgzuAgsCQAJAA0ACQCABLQAAQQprDgQCAAADAAsgBCABQQFqIgFHDQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyrAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqgILQcYBIQIMkAILIAEgBEYEQEHfASECDKkCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqgILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKkCC0HFASECDI8CCyABIARGBEBB3gEhAgyoAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKkCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyoAgtBxAEhAgyOAgsgASAERgRAQd0BIQIMpwILAkACQAJAAkAgAS0AAEEKaw4XAgMDAAMDAwMDAwMDAwMDAwMDAwMDAwEDCyABQQFqDAULIAFBAWohAUHDASECDI8CCyABQQFqIQEgA0Evai0AAEEBcQ0IIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKcCCyADQQA2AhwgAyABNgIUIANBjQs2AhAgA0ENNgIMQQAhAgymAgsgASAERwRAIANBDzYCCCADIAE2AgRBASECDI0CC0HcASECDKUCCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtB2wEhAgymAgsgAygCBCEAIANBADYCBCADIAAgARAtIgBFBEAgAUEBaiEBDAQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgIMQQAhAgyfAgsgA0EANgIcIAMgATYCFCADQYANNgIQIANBGzYCDEEAIQIMngILIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDJ0CCyABIARHBEAgA0EMNgIIIAMgATYCBEG/ASECDIQCC0HYASECDJwCCyABIARGBEBB1wEhAgycAgsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAEtAABBwQBrDhUAAQIDWgQFBlpaWgcICQoLDA0ODxBaCyABQQFqIQFB+wAhAgySAgsgAUEBaiEBQfwAIQIMkQILIAFBAWohAUGBASECDJACCyABQQFqIQFBhQEhAgyPAgsgAUEBaiEBQYYBIQIMjgILIAFBAWohAUGJASECDI0CCyABQQFqIQFBigEhAgyMAgsgAUEBaiEBQY0BIQIMiwILIAFBAWohAUGWASECDIoCCyABQQFqIQFBlwEhAgyJAgsgAUEBaiEBQZgBIQIMiAILIAFBAWohAUGlASECDIcCCyABQQFqIQFBpgEhAgyGAgsgAUEBaiEBQawBIQIMhQILIAFBAWohAUG0ASECDIQCCyABQQFqIQFBtwEhAgyDAgsgAUEBaiEBQb4BIQIMggILIAEgBEYEQEHWASECDJsCCyABLQAAQc4ARw1IIAFBAWohAUG9ASECDIECCyABIARGBEBB1QEhAgyaAgsCQAJAAkAgAS0AAEHCAGsOEgBKSkpKSkpKSk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FBAWohAUGdASECDOoBCyABQQFqIQFBogEhAgzpAQsgAUEBaiEBQaQBIQIM6AELIAEgBEYEQEG8ASECDIECCwJAAkAgAS0AAEHSAGsOAwAwATALIAFBAWohAUGjASECDOgBCyABQQFqIQFBBAwtC0G7ASECIAEgBEYN/wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABB8NQAai0AAEcNLCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMgAILIANBADYCACAGQQFqIQFBHQwsCyABIARGBEBBugEhAgz/AQsCQAJAIAEtAABByQBrDgcBLi4uLi4ALgsgAUEBaiEBQaEBIQIM5gELIAFBAWohAUEiDCsLIAEgBEYEQEG5ASECDP4BCyABLQAAQdAARw0rIAFBAWohAUGgASECDOQBCyABIARGBEBBuAEhAgz9AQsCQAJAIAEtAABBxgBrDgsALCwsLCwsLCwsASwLIAFBAWohAUGeASECDOQBCyABQQFqIQFBnwEhAgzjAQtBtwEhAiABIARGDfsBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQezUAGotAABHDSggAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPwBCyADQQA2AgAgBkEBaiEBQQ0MKAtBtgEhAiABIARGDfoBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDScgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPsBCyADQQA2AgAgBkEBaiEBQQwMJwtBtQEhAiABIARGDfkBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQerUAGotAABHDSYgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPoBCyADQQA2AgAgBkEBaiEBQQMMJgtBtAEhAiABIARGDfgBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQejUAGotAABHDSUgAEEBRg0BIABBAWohACAEIAFBA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kAgAS0AAEHBAGsOAwAgASALIAFBAWohAUGQASECDNgBCyABQQFqIQFBkwEhAgzXAQsgASAERgRAQasBIQIM8AELAkACQCABLQAAQcEAaw4PAB8fHx8fHx8fHx8fHx8BHwsgAUEBaiEBQZEBIQIM1wELIAFBAWohAUGSASECDNYBCyABIARGBEBBqgEhAgzvAQsgAS0AAEHMAEcNHCABQQFqIQFBCgwbC0GpASECIAEgBEYN7QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABB0dQAai0AAEcNGiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7gELIANBADYCACAGQQFqIQFBHgwaC0GoASECIAEgBEYN7AEgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBytQAai0AAEcNGSAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7QELIANBADYCACAGQQFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAI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MAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GbHzYCECADQQY2AgxBACECDMwBC0ECIQIMsgELA0AgAS0AAEEgRw0CIAQgAUEBaiIBRw0AC0GOASECDMoBCyABIARGBEBBjQEhAgzKAQsCQCABLQAAQQlrDgRKAABKAAtB9QAhAgywAQsgAy0AKUEFRgRAQfYAIQIMsAELQfQAIQIMrwELIAEgBEYEQEGMASECDMgBCyADQRA2AgggAyABNgIEDAoLIAEgBEYEQEGLASECDMcBCwJAIAEtAABBCWsOBEcAAEcAC0HzACECDK0BCyABIARHBEAgA0EQNgIIIAMgATYCBEHxACECDK0BC0GKASECDMUBCwJAIAEgBEcEQANAIAEtAABBoNAAai0AACIAQQNHBEACQCAAQQFrDgJJAAQLQfAAIQIMrwELIAQgAUEBaiIBRw0AC0GIASECDMYBC0GIASECDMUBCyADQQA2AhwgAyABNgIUIANB2yA2AhAgA0EHNgIMQQAhAgzEAQsgASAERgRAQYkBIQIMxAELAkACQAJAIAEtAABBoNIAai0AAEEBaw4DRgIAAQtB8gAhAgysAQsgA0EANgIcIAMgATYCFCADQbQSNgIQIANBBzYCDEEAIQIMxAELQeoAIQIMqgELIAEgBEcEQCABQQFqIQFB7wAhAgyqAQtBhwEhAgzCAQsgBC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AMgADYCDEEAIQIMpgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMpQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMpAELIANBADYCHCADIAE2AhQgA0G8CjYCECADQQc2AgxBACECDKMBC0HPACECDIkBC0HRACECDIgBC0HnACECDIcBCyABIARGBEBB+gAhAgygAQsCQCABLQAAQQlrDgQgAAAgAAsgAUEBaiEBQeYAIQIMhgELIAEgBEYEQEH5ACECDJ8BCwJAIAEtAABBCWsOBB8AAB8AC0EAIQACQCADKAI4IgJFDQAgAigCOCICRQ0AIAMgAhEAACEACyAARQRAQeIBIQIMhgELIABBFUcEQCADQQA2AhwgAyABNgIUIANByQ02AhAgA0EaNgIMQQAhAgyfAQsgA0H4ADYCHCADIAE2AhQgA0HqGjYCECADQRU2AgxBACECDJ4BCyABIARHBEAgA0ENNgIIIAMgATYCBEHkACECDIUBC0H3ACECDJ0BCyABIARGBEBB9gAhAgydAQsCQAJAAkAgAS0AAEHIAGsOCwABCwsLCwsLCwsCCwsgAUEBaiEBQd0AIQIMhQELIAFBAWohAUHgACECDIQBCyABQQFqIQFB4wAhAgyDAQtB9QAhAiABIARGDZsBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbXVAGotAABHDQggAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJwBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIABEAgA0H0ADYCHCADIAE2AhQgAyAANgIMQQAhAgycAQtB4gAhAgyCAQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJwBC0HhACECDIIBCyADQfMANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMmgELIAMtACkiAEEja0ELSQ0JAkAgAEEGSw0AQQEgAHRBygBxRQ0ADAoLQQAhAiADQQA2AhwgAyABNgIUIANB7Qk2AhAgA0EINgIMDJkBC0HyACECIAEgBEYNmAEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBs9UAai0AAEcNBSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMmQELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfEANgIcIAMgATYCFCADIAA2AgxBACECDJkBC0HfACECDH8LQQAhAAJAIAMoAjgiAkUNACACKAI0IgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIUIANB5xE2AhAgA0EKNgIMQQAhAgx9CyABQQFqIQEgA0Evai0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ohASAEIABBAWoiAEcNAAsgAyAGNgIADFcLIANBADYCACAAIQEMAwsCQANAIAEtAAAiAEEgRwRAIABBCmsOBAcEBAcCCyAEIAFBAWoiAUcNAAtBOCECDFYLIABBLEcNASABQQFqIQBBASEBAkACQAJAAkACQCADLQAsQQVrDgQDAQIEAAsgACEBDAQLQQIhAQwBC0EEIQELIANBAToALCADIAMvATIgAXI7ATIgACEBDAELIAMgAy8BMkEIcjsBMiAAIQELQT4hAgw7CyADQQA6ACwLQTkhAgw5CyABIARGBEBBNiECDFILAkACQAJAAkACQCABLQAAQQprDgQAAgIBAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDQIgA0EzNgIcIAMgATYCFCADIAA2AgxBACECDFULIAMoAgQhACADQQA2AgQgAyAAIAEQMSIARQRAIAFBAWohAQwGCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMVAsgAy0ALkEBcQRAQd8BIQIMOwsgAygCBCEAIANBADYCBCADIAAgARAxIgANAQxJC0E0IQIMOQsgA0E1NgIcIAMgATYCFCADIAA2AgxBACECDFELQTUhAgw3CyADQS9qLQAAQQFxDQAgA0EANgIcIAMgATYCFCADQesWNgIQIANBGTYCDEEAIQIMTwtBMyECDDULIAEgBEYEQEEyIQIMTgsCQCABLQAAQQpGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GSFzYCECADQQM2AgxBACECDE4LQTIhAgw0CyABIARGBEBBMSECDE0LAkAgAS0AACIAQQlGDQAgAEEgRg0AQQEhAgJAIAMtACxBBWsOBAYEBQANCyADIAMvATJBCHI7ATIMDAsgAy0ALkEBcUUNASADLQAsQQhHDQAgA0EAOgAsC0E9IQIMMgsgA0EANgIcIAMgATYCFCADQcIWNgIQIANBCjYCDEEAIQIMSgtBAiECDAELQQQhAgsgA0EBOgAsIAMgAy8BMiACcjsBMgwGCyABIARGBEBBMCECDEcLIAEtAABBCkYEQCABQQFqIQEMAQsgAy0ALkEBcQ0AIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDEYLQTAhAgwsCyABQQFqIQFBMSECDCsLIAEgBEYEQEEvIQIMRAsgAS0AACIAQQlHIABBIEdxRQRAIAFBAWohASADLQAuQQFxDQEgA0EANgIcIAMgATYCFCADQZcQNgIQIANBCjYCDEEAIQIMRAtBASECAkACQAJAAkACQAJAIAMtACxBAmsOBwUEBAMBAgAECyADIAMvATJBCHI7ATIMAwtBAiECDAELQQQhAgsgA0EBOgAsIAMgAy8BMiACcjsBMgtBLyECDCsLIANBADYCHCADIAE2AhQgA0GEEzYCECADQQs2AgxBACECDEMLQeEBIQIMKQsgASAERgRAQS4hAgxCCyADQQA2AgQgA0ESNgIIIAMgASABEDEiAA0BC0EuIQIMJwsgA0EtNgIcIAMgATYCFCADIAA2AgxBACECDD8LQQAhAAJAIAMoAjgiAkUNACACKAJMIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2AA2AhwgAyABNgIUIANBsxs2AhAgA0EVNgIMQQAhAgw+C0HMACECDCQLIANBADYCHCADIAE2AhQgA0GzDjYCECADQR02AgxBACECDDwLIAEgBEYEQEHOACECDDwLIAEtAAAiAEEgRg0CIABBOkYNAQsgA0EAOgAsQQkhAgwhCyADKAIEIQAgA0EANgIEIAMgACABEDAiAA0BDAILIAMtAC5BAXEEQEHeASECDCALIAMoAgQhACADQQA2AgQgAyAAIAEQMCIARQ0CIANBKjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgw4CyADQcsANgIcIAMgADYCDCADIAFBAWo2AhRBACECDDcLIAFBAWohAUHAACECDB0LIAFBAWohAQwsCyABIARGBEBBKyECDDULAkAgAS0AAEEKRgRAIAFBAWohAQwBCyADLQAuQcAAcUUNBgsgAy0AMkGAAXEEQEEAIQACQCADKAI4IgJFDQAgAigCXCICRQ0AIAMgAhEAACEACyAARQ0SIABBFUYEQCADQQU2AhwgAyABNgIUIANBmxs2AhAgA0EVNgIMQQAhAgw2CyADQQA2AhwgAyABNgIUIANBkA42AhAgA0EUN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J3cTYCAAwCCyAGQRBBFCAGKAIQIAVGG2ogADYCACAARQ0BCyAAIAY2AhggBSgCECICBEAgACACNgIQIAIgADYCGAsgBUEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgBGogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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n8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCACDuMBAAECAwQFBgcICQoLDA0ODxAREhMUFRYXGBkaGxwdHh8gISMkJScoKZ4DmwOaA5EDigODA4AD/QL7AvgC8gLxAu8C7QLoAucC5gLlAuQC3ALbAtoC2QLYAtcC1gLVAs8CzgLMAssCygLJAsgCxwLGAsQCwwK+ArwCugK5ArgCtwK2ArUCtAKzArICsQKwAq4CrQKpAqgCpwKmAqUCpAKjAqICoQKgAp8CmAKQAowCiwKKAoEC/gH9AfwB+wH6AfkB+AH3AfUB8wHwAesB6QHoAecB5gHlAeQB4wHiAeEB4AHfAd4B3QHcAdoB2QHYAdcB1gHVAdQB0wHSAdEB0AHPAc4BzQHMAcsBygHJAcgBxwHGAcUBxAHDAcIBwQHAAb8BvgG9Abw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gA0EANgIcIAMgATYCFCADQdYMNgIQIANBIzYCDAz3AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQwdCyADQRk2AhwgAyAANgIMIAMgAUEBajYCFAz2AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQzvAgsgA0EaNgIcIAMgADYCDCADIAFBAWo2AhQM9QILIABBFUYNH0EAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAz0AgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDBsLIANBHDYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgzzAgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRshAgzGAgtBHCECDMUCC0EdIQIMxAILQR4hAgzDAgtBHyECDMICC0EgIQIMwQILQSIhAgzAAgtBIyECDL8CC0ElIQIMvgILQeUAIQIMvQILIANBPTYCHCADIAE2AhQgAyAANgIMQQAhAgzVAgsgA0EbNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIM1AILIANBIDYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNMCCyADQRM2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzSAgsgA0ELNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0QILIANBEDYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNACCyADQSA2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzPAgsgA0ELNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzgILIANBDDYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM0CC0EAIQIgA0EANgIcIAMgATYCFCADQd0ONgIQIANBEjYCDAzMAgsCQANAAkAgAS0AAEEKaw4EAAICAAILIAQgAUEBaiIBRw0AC0H9ASECDMwCCwJAAkAgAy0ANkEBRw0AQQAhAAJAIAMoAjgiAkUNACACKAJgIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB/AE2AhwgAyABNgIUIANB3Bk2AhAgA0EVNgIMQQAhAgzNAgtB3AEhAgyzAgsgA0EANgIcIAMgATYCFCADQfkLNgIQIANBHzYCDEEAIQIMywILAkACQCADLQAoQQFrDgIEAQALQdsBIQIMsgILQdQBIQIMsQILIANBAjoAMUEAIQACQCADKAI4IgJFDQAgAigCACICRQ0AIAMgAhEAACEACyAARQRAQd0BIQIMsQILIABBFUcEQCADQQA2AhwgAyABNgIUIANBtAw2AhAgA0EQNgIMQQAhAgzKAgsgA0H7ATYCHCADIAE2AhQgA0GBGjYCECADQRU2AgxBACECDMkCCyABIARGBEBB+gEhAgzJAgsgAS0AAEHIAEYNASADQQE6ACgLQcABIQIMrgILQdoBIQIMrQILIAEgBEcEQCADQQw2AgggAyABNgIEQdkBIQIMrQILQfkBIQIMxQILIAEgBEYEQEH4ASECDMUCCyABLQAAQcgARw0EIAFBAWohAUHYASECDKsCCyABIARGBEBB9wEhAgzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMgAhEAACEACyAARQ2gASAAQRVGBEAgA0HZADYCHCADIAE2AhQgA0G3GjYCECADQRU2AgxBACECDJ8CCyADQQA2AhwgAyABNgIUIANBgA02AhAgA0EbNgIMQQAhAgyeAgsgA0EANgIcIAMgATYCFCADQdwoNgIQIANBAjYCDEEAIQIMnQILIAEgBEcEQCADQQw2AgggAyABNgIEQb8BIQIMhAILQdgBIQIMnAILIAEgBEYEQEHXASECDJwCCwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAS0AAEHBAGsOFQABAgNaBAUGWlpaBwgJCgsMDQ4PEFoLIAFBAWohAUH7ACECDJICCyABQQFqIQFB/AAhAgyRAgsgAUEBaiEBQYEBIQIMkAILIAFBAWohAUGFASECDI8CCyABQQFqIQFBhgEhAgyOAgsgAUEBaiEBQYkBIQIMjQILIAFBAWohAUGKASECDIwCCyABQQFqIQFBjQEhAgyLAgsgAUEBaiEBQZYBIQIMigILIAFBAWohAUGXASECDIkCCyABQQFqIQFBmAEhAgyIAgsgAUEBaiEBQaUBIQIMhwILIAFBAWohAUGmASECDIYCCyABQQFqIQFBrAEhAgyFAgsgAUEBai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QQJqIQYCQANAIAEtAAAgAEGe1QBqLQAARw0/IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyTAgsgA0EANgIAIAZBAWohAUEHDD8LQc0BIQIgASAERg2RAiADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGY1QBqLQAARw0+IABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAySAgsgA0EANgIAIAZBAWohAUEoDD4LIAEgBEYEQEHMASECDJECCwJAAkACQCABLQAAQcUAaw4RAEFBQUFBQUFBQQFBQUFBQQJBCyABQQFqIQFBsQEhAgz5AQsgAUEBaiEBQbIBIQIM+AELIAFBAWohAUGzASECDPcBC0HLASECIAEgBEYNjwIgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBkdUAai0AAEcNPCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyHAgsgA0EANgIAIAZBAWohAUEUDDMLQcEBIQIgASAERg2FAiADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEH51ABqLQAARw0yIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyGAgsgA0EANgIAIAZBAWohAUErDDILQcABIQIgASAERg2EAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH21ABqLQAARw0xIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyFAgsgA0EANgIAIAZBAWohAUEsDDELQb8BIQIgASAERg2DAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0wIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyEAgsgA0EANgIAIAZBAWohAUERDDALQb4BIQIgASAERg2CAiADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEHy1ABqLQAARw0vIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyDAgsgA0EANgIA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ABIARGDfEBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQdfUAGotAABHDR4gAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPIBCyADQQA2AgAgBkEBaiEBQQsMHgsgASAERgRAQawBIQIM8QELAkACQCABLQAAQcEAaw4DACABIAsgAUEBaiEBQZABIQIM2AELIAFBAWohAUGTASECDNcBCyABIARGBEBBqwEhAgzwAQsCQAJAIAEtAABBwQBrDg8AHx8fHx8fHx8fHx8fHwEfCyABQQFqIQFBkQEhAgzXAQsgAUEBaiEBQZIBIQIM1gELIAEgBEYEQEGqASECDO8BCyABLQAAQcwARw0cIAFBAWohAUEKDBsLQakBIQIgASAERg3tASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAg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ECDL0BC0GSASECIAEgBEYN1QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2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wMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQanSAAsFAQEAAQEAQcDSAAsBAQBBytIACwYCAAAAAAIAQeHSAAs6AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},5610(e,t){t.enumToMap=function(e,t=[],r=[]){let i=(t?.length??0)===0,s=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(i||t.includes(e))&&(s||!r.includes(e))))}},6923(e,t,r){let{kClients:i}=r(3025),s=r(5891),{kAgent:n,kMockAgentSet:o,kMockAgentGet:a,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:g,kFactory:u,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:m,kMockAgentAddCallHistoryLog:p,kMockAgentMockCallHistoryInstance:C,kMockAgentAcceptsNonStandardSearchParameters:I,kMockCallHistoryAddLog:f,kIgnoreTrailingSlash:E}=r(4779),B=r(375),y=r(8182),{matchValue:Q,normalizeSearchParams:N,buildAndValidateMockOptions:b,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:D}=r(8065),x=r(6873),R=r(1908),{MockCallHistory:M}=r(2137);e.exports=class extends x{constructor(e={}){super(e);let t=b(e);if(this[c]=!0,this[l]=!0,this[m]=t.enableCallHistory??!1,this[I]=t.acceptNonStandardSearchParameters??!1,this[E]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new s(e);this[n]=r,this[i]=r[i],this[g]=t,this[m]&&this[h]()}get(e){let t=S(e),r=this[E]?t.replace(/\/$/,""):t,i=this[a](r);return i||(i=this[u](r),this[o](r,i)),i}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[p](e);let r=this[I],i={...e};if(r&&i.path){let[e,t]=i.path.split("?"),s=N(t,r);i.path=`${e}?${s}`}return this[n].dispatch(i,t)}async close(){this.clearCallHistory(),await this[n].close(),this[i].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[m]=!0,this}disableCallHistory(){return this[m]=!1,this}getCallHistory(){return this[C]}clearCallHistory(){void 0!==this[C]&&this[C].clear()}get isMockActive(){return this[l]}[h](){void 0===this[C]&&(this[C]=new M)}[p](e){this[m]&&(this[h](),this[C][f](e))}[o](e,t){this[i].set(e,t)}[u](e){let t=Object.assign({agent:this},this[g]);return this[g]&&1===this[g].connections?new B(e,t):new y(e,t)}[a](e){let t=this[i].get(e);if(t)return t;if("string"!=typeof e){let t=this[u]("http://localhost:9999");return this[o](e,t),t}for(let[t,r]of Array.from(this[i]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[u](e);return this[o](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[i].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new D(1===t.length?`1 interceptor is pending: ${e.format(t)}`.trim():`${t.length} interceptors are pending: -${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:i}=r(4779),{InvalidArgumentError:s}=r(8065);function n(e,t,r,i,n){switch(t.operator){case"OR":return i.push(...r(e,n)),i;case"AND":return r(e,i);default:throw new s("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function o(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new s(`${e} parameter should be one of string, regexp, undefined or null`)}}class a{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new s("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new s("nthCall must be called with a number");if(!Number.isInteger(e))throw new s("nthCall must be called with an integer");if(1!==Math.sign(e))throw new s("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new s("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},i="AND"===r.operator?this.logs:[];return"protocol"in e&&(i=n(e.protocol,r,this.filterCallsByProtocol,i,this.logs)),"host"in e&&(i=n(e.host,r,this.filterCallsByHost,i,this.logs)),"port"in e&&(i=n(e.port,r,this.filterCallsByPort,i,this.logs)),"origin"in e&&(i=n(e.origin,r,this.filterCallsByOrigin,i,this.logs)),"path"in e&&(i=n(e.path,r,this.filterCallsByPath,i,this.logs)),"hash"in e&&(i=n(e.hash,r,this.filterCallsByHash,i,this.logs)),"fullUrl"in e&&(i=n(e.fullUrl,r,this.filterCallsByFullUrl,i,this.logs)),"method"in e&&(i=n(e.method,r,this.filterCallsByMethod,i,this.logs)),[...new Set(i)]}throw new s("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=o.call(this,"protocol");filterCallsByHost=o.call(this,"host");filterCallsByPort=o.call(this,"port");filterCallsByOrigin=o.call(this,"origin");filterCallsByPath=o.call(this,"path");filterCallsByHash=o.call(this,"hash");filterCallsByFullUrl=o.call(this,"fullUrl");filterCallsByMethod=o.call(this,"method");clear(){this.logs=[]}[i](e){let t=new a(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=a},375(e,t,r){let{promisify:i}=r(7975),s=r(5183),{buildMockDispatch:n}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends s{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},8531(e,t,r){let{UndiciError:i}=r(8065),s=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class n extends i{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}e.exports={MockNotMatchedError:n}},1585(e,t,r){let{getResponseData:i,buildKey:s,addMockDispatch:n}=r(6927),{kDispatches:o,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:g}=r(4779),{InvalidArgumentError:u}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:m}}=r(7975);class p{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new u("opts must be an object");if(void 0===e.path)throw new u("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[a]=s(e),this[o]=t,this[g]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let s=i(t),n=this[c]?{"content-length":s.length}:{};return{statusCode:e,data:t,headers:{...this[A],...n,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new u("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new u("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new u("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new p(n(this[o],this[a],r=>{let i=e(r);return m(i)?i.then(t):t(i)},{ignoreTrailingSlash:this[g]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new p(n(this[o],this[a],r,{ignoreTrailingSlash:this[g]}))}replyWithError(e){if(void 0===e)throw new u("error must be defined");return new p(n(this[o],this[a],{error:e},{ignoreTrailingSlash:this[g]}))}defaultReplyHeaders(e){if(void 0===e)throw new u("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new u("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:i}=r(7975),s=r(6334),{buildMockDispatch:n}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends s{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:i}=r(8531),{kDispatches:s,kMockAgent:n,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:g}=r(7067),{types:{isPromise:u}}=r(7975),{InvalidArgumentError:h}=r(8065);function m(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function C(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):p(e)[t.toLocaleLowerCase()]}function I(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function E(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=I(t)),e.headers(t?p(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,i]of Object.entries(e.headers))if(!m(i,C(t,r)))return!1;return!0}function f(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function B(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function y(e,t){let r=t.query?c(t.path,t.query):t.path,s="string"==typeof r?f(r):r,n=N(s),o=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?m(N(f(e)),n):m(f(e),s));if(0===o.length)throw new i(`Mock dispatch not matched for path '${s}'`);if(0===(o=o.filter(({method:e})=>m(e,t.method))).length)throw new i(`Mock dispatch not matched for method '${t.method}' on path '${s}'`);if(0===(o=o.filter(({body:e})=>void 0===e||m(e,t.body))).length)throw new i(`Mock dispatch not matched for body '${t.body}' on path '${s}'`);if(0===(o=o.filter(e=>E(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new i(`Mock dispatch not matched for headers '${e}' on path '${s}'`)}return o[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:i,headers:s}){let n=m(e.path,t),o=m(e.method,r),a=void 0===e.body||m(e.body,i),A=E(e,s);return n&&o&&a&&A}(e,t));-1!==r&&e.splice(r,1)}function N(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function b(e){let{path:t,method:r,body:i,headers:s,query:n}=e;return{path:t,method:r,body:i,headers:s,query:n}}function S(e){let t=Object.keys(e),r=[];for(let i=0;i<t.length;++i){let s=t[i],n=e[s],o=Buffer.from(`${s}`);if(Array.isArray(n))for(let e=0;e<n.length;++e)r.push(o,Buffer.from(`${n[e]}`));else r.push(o,Buffer.from(`${n}`))}return r}function w(e){return g[e]||"unknown"}function D(e,t){let r=b(e),i=y(this[s],r),n=this[s];i.timesInvoked++;let{timesInvoked:o,times:a}=i;if(i.consumed=!i.persist&&o>=a,i.pending=o<a,i.data.callback){let s=i.data.callback(e);if(u(s))return s.then(s=>{i.data={...i.data,...s},x(n,i,r,e,t)},e=>{Q(n,r),t.onResponseError(null,e)}),!0;i.data={...i.data,...s}}return x(n,i,r,e,t)}function x(e,t,r,i,s){let{data:{statusCode:n,data:o,headers:a,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),s.onResponseError(null,l),!0;let g=!1,h=null,m={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{g||(g=!0,null!==h&&(clearTimeout(h),h=null),s.onResponseError?.(m,e))}};function p(e,t=o){if(g)return;let l=Array.isArray(i.headers)?I(i.headers):i.headers,c="function"==typeof t?t({...i,headers:l}):t;if(u(c))return c.then(t=>p(e,t));if(g)return;let h=B(c),C=S(a),E=S(A);m.rawHeaders=C,m.rawTrailers=E,s.onResponseStart?.(m,n,d(C),w(n)),s.onResponseData?.(m,Buffer.from(h)),s.onResponseEnd?.(m,d(E)),Q(e,r)}return s.onRequestStart?.(m,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,p(e)},c):p(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>m(e,r.host)))}e.exports={getResponseData:B,getMockDispatch:y,addMockDispatch:function(e,t,r,i){let s={timesInvoked:0,times:1,persist:!1,consumed:!1,...i},n="function"==typeof r?{callback:r}:{...r},o={...s,...t,pending:!0,data:{error:null,...n}};return e.push(o),e[l]=(e[l]||0)+1,o},deleteMockDispatch:Q,buildKey:b,generateKeyValues:S,matchValue:m,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:D,buildMockDispatch:function(){let e=this[n],t=this[a],r=this[o];return function(n,o){if(e.isMockActive)try{D.call(this,n,o)}catch(a){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===a.code){let c=e[A](),d=this[s][l]||this[s].length,g=this[s].filter(({consumed:e})=>!e).length,u=`, ${g} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${u}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in n?{...n,body:n.__mockAgentBodyForDispatch}:n,o);else throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${u}`)}else throw a}else r.call(this,n,o)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:C,buildHeadersFromArray:I,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,i]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(i)){r.append(e,i);continue}if(i.includes(",")){for(let t of i.split(","))r.append(e,t);continue}r.append(e,i)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:i}=r(7075),{Console:s}=r(7540),n=process.versions.icu?"✅":"Y ",o=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,r){r(null,e)}}),this.logger=new s({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:i,times:s,timesInvoked:a,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:i?n:o,Invocations:a,Remaining:i?1/0:s-a}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let i=r(5891),s=r(6923),{SnapshotRecorder:n}=r(2152),{InvalidArgumentError:o,UndiciError:a}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),g=Symbol("kSnapshotPath"),u=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),m=!1;e.exports=class extends s{constructor(e={}){m||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),m=!0);let{mode:t="record",snapshotPath:r=null,...s}=e;if(super(s),l(t),("playback"===t||"update"===t)&&!r)throw new o(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[g]=r,this[c]=new n({snapshotPath:this[g],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[u]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new i(e)),("playback"===this[d]||"update"===this[d])&&this[g]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[u])return this.#eT(e,t);let i=this[c].findSnapshot(e);if(i)return this.#eL(i,t);{if("update"===r)return this.#eH(e,t);let i=new a(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,i);throw i}}if("record"===r)return this.#eH(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eH(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},i=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,i,s)=>t.onRequestUpgrade(e,r,i,s),onResponseStart:(e,i,s,n)=>(r.statusCode=i,r.headers=s,t.onResponseStart(e,i,s,n)),onResponseData:(e,i)=>(r.body.push(i),t.onResponseData(e,i)),onResponseEnd(s,n){r.trailers=n;let o=Buffer.concat(r.body);i[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:o,trailers:r.trailers}).then(()=>t.onResponseEnd(s,n)).catch(e=>t.onResponseError(s,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,i=r.headers?A.toRawHeaders(r.headers):[],s=r.trailers?A.toRawHeaders(r.trailers):[],n={rawHeaders:i,rawTrailers:s,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(n),t.onResponseStart(n,r.statusCode,r.headers,r.statusMessage);let o=Buffer.from(r.body,"base64");t.onResponseData(n,o),t.onResponseEnd(n,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[g]),this[u]=!0,"playback"===this[d]&&this.#eO()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[g])}#eO(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:i}=e,s=new URL(t.url),n=this.get(s.origin),o=r?r[0]:i;o&&n.intercept({path:s.pathname+s.search,method:t.method,headers:t.headers,body:t.body}).reply(o.statusCode,o.body,{headers:o.headers,trailers:o.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:i,readFile:s,mkdir:n}=r(1455),{dirname:o,resolve:a}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:g,isUrlExcludedFactory:u,normalizeHeaders:h,createHeaderFilters:m}=r(289);function p(e,t,r={}){var i,s,n;let o=new URL(e.path,e.origin),a=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=a),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(o,r.matchQuery,r.normalizeQuery),headers:C(a,t,r),body:(i=e.body,s=r.matchBody,n=r.normalizeBody,!1===s?"":n?String(n(i)??""):i?String(i):"")}}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,s={},{ignore:n,exclude:o,match:a}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();!(o.has(e)||n.has(e))&&(0===a.size||a.has(e))&&(s[e]=r)}return s}function I(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,s={},{exclude:n}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();n.has(e)||(s[e]=r)}return s}function E(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let i=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),i.sort()))t.push(String(e))}return t.push(e.body),g(t.join("|"))}class f{#eP;#eY;#eG=new Map;#ez;#eq=1/0;#eV=!1;#eJ;constructor(e={}){this.#ez=e.snapshotPath,this.#eq=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#eJ=m(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=u(e.excludeUrls),this.#eV&&this.#ez&&this.#e_()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=p(e,this.#eJ,this.matchOptions),i=E(r),s=h(t.headers),n={statusCode:t.statusCode,headers:I(s,this.#eJ,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#eq&&!this.#eG.has(i)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let o=this.#eG.get(i);o&&o.responses?(o.responses.push(n),o.timestamp=new Date().toISOString()):this.#eG.set(i,{request:r,responses:[n],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#ez&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=E(p(e,this.#eJ,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let i=r.callCount||0,s=Math.min(i,r.responses.length-1);return r.callCount=i+1,{...r,response:r.responses[s]}}async loadSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");try{let e=await s(a(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");let r=a(t);await n(o(r),{recursive:!0});let s=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await i(r,JSON.stringify(s,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=E(p(e,this.#eJ,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=E(p(e,this.#eJ,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#e_(){return this.#eW()}#ej(){this.#eP&&(l(this.#eP),this.saveSnapshots().catch(()=>{}),this.#eP=null)}#eW(){this.#eP=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eP?.refresh():this.#eP=null},1e3)}destroy(){this.#ej(),this.#eP&&(l(this.#eP),this.#eP=null)}async close(){this.#ez&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:f,formatRequestKey:p,createRequestHash:E,filterHeadersForMatching:C,filterHeadersForStorage:I,createHeaderFilters:m}},289(e,t,r){let{InvalidArgumentError:i}=r(8065),{runtimeFeatures:s}=r(6979),n=s.has("crypto")?r(7598):null,o=n?.hash?e=>n.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function a(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:i=[],caseSensitive:s=!1}=e;return{ignore:new Set(t.map(e=>s?e:e.toLowerCase())),exclude:new Set(r.map(e=>s?e:e.toLowerCase())),match:new Set(i.map(e=>s?e:e.toLowerCase()))}},hashId:o,isUndiciHeaders:a,normalizeHeaders:function(e){let t={};if(!e)return t;if(a(e)){for(let r=0;r<e.length;r+=2){let i=e[r],s=e[r+1];if(i&&void 0!==s){let e=Buffer.isBuffer(i)?i.toString():i,r=Buffer.isBuffer(s)?s.toString():s;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,i]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(i)?i.join(", "):String(i));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let i of e)if("string"==typeof i){if(r||(r=t.toLowerCase()),r.includes(i.toLowerCase()))return!0}else if(i instanceof RegExp&&i.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new i(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:i,pathHasQueryOrFragment:s,hasSafeIterator:n,isValidHTTPToken:o}=r(1210),{serializePathWithQuery:a}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function g(e){return e.replace(/^[\t ]+/,"")}function u(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let i=t;i<e.length;i++)if(r)r=!1;else if("\\"===e[i])r=!0;else if('"'===e[i])return i;return -1}function m(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function p(e,t,r){let i=t.toLowerCase(),s=e[i],n=Array.isArray(r)?r:[r];void 0===s?e[i]=Array.isArray(r)?r.slice():r:Array.isArray(s)?s.push(...n):e[i]=[s,...n]}function C(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let i=t[e].split(",");for(let e=0;e<i.length;e++)r.push(i[e])}return r}function I(e){let t=C(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function E(e,t){if(I(e))return t;let r={};for(let i of C(e)){let e=c(i).toLowerCase();if(0===e.length)continue;if(!o(e))return;let s=t[e];r[e]=Array.isArray(s)?s.slice():s??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!s(t)&&(t=a(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},n(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let i=0;i<r;i+=2){let r=e.headers[i],s=e.headers[i+1];if("string"!=typeof r||"string"!=typeof s&&!Array.isArray(s))throw Error("opts.headers is not a valid header map");if("string"==typeof s)p(t,r,s);else{let e=[];for(let t=0;t<s.length;t++){let r=s[t];e.push("string"==typeof r?r:r.toString("latin1"))}p(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else for(let r of Object.keys(e.headers))p(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,i=new Set,s=function(e){let t=[],r=0,i=-1,s=!1,n=!1;for(let o=0;o<e.length;o++)s?n?n=!1:"\\"===e[o]?n=!0:'"'===e[o]&&(s=!1,i=-1):'"'===e[o]?(s=!0,i=o):","===e[o]&&(t.push({value:e.substring(r,o),fromMalformedQuote:!1}),r=o+1);if(!s)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let o=e.substring(r),a=i-r,A=0;for(let e=0;e<o.length;e++)","===o[e]&&(t.push({value:o.substring(A,e),fromMalformedQuote:A>a}),A=e+1);return t.push({value:o.substring(A),fromMalformedQuote:A>a}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<s.length;e++){let n,a,l=s[e],p=l.value.toLowerCase(),C=l.fromMalformedQuote,I=p.indexOf("="),E=!1,f=!1;if(-1!==I){let e=p.substring(0,I),t=p.substring(I+1);E=u(e)!==e,f=g(t)!==t,n=c(e),a=g(t)}else n=c(p);let B=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!o(e[t.length]))return t;let t="",r=!1;for(let i=0;i<e.length;i++)o(e[i])?t+=e[i]:r=!0;if(r&&d(A,t))return t}(n);if(void 0!==B){t[B]=!0;continue}switch(n){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(C||r.has(n))continue;if(void 0===a||E||f||(a.length>=2&&'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),!/^[0-9]+$/.test(a))){delete t[n],r.add(n),m(t,n);continue}let e=Math.min(parseInt(a,10),0x7fffffff);"min-fresh"===n?n in t&&!(t[n]<e)||(t[n]=e):n in t&&!(t[n]>e)||(t[n]=e);break}case"private":case"no-cache":if(C||void 0!==a&&0===a.length){t[n]=!0;break}if(a){if('"'===a[0]){a=u(a);let r="",i=e,A=!1,l=h(a,1);if(-1!==l)r=a.substring(1,l),A=!0;else{let t=[a.substring(1)];for(let r=e+1;r<s.length;r++){let e=c(s[r].value),n=h(e,0);if(i=r,-1!==n){t.push(e.substring(0,n)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[n]=!0;break}e=i;let d=r.split(","),g=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),o(d[e])||(g=!1);g?!0!==t[n]&&(n in t?t[n]=t[n].concat(d):t[n]=d):t[n]=!0}else{let e=c(a);o(e)?!0!==t[n]&&(n in t?t[n]=t[n].concat(e):t[n]=[e]):t[n]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(C||i.has(n))continue;if(void 0!==a){delete t[n],i.add(n);continue}t[n]=!0;break;case"no-store":t[n]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:E,hasVaryStar:I,isInvalidOrWildcardVaryHeader:function(e){return I(e)||void 0===E(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(i,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${i.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let i of Object.keys(e.headers).sort())t?.has(i.toLowerCase())||(r[i]=e.headers[i]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,i,s,n,o){let a=new Date(Date.UTC(e,t,r,i,s,n));return e>=0&&e<=99&&a.setUTCFullYear(e),a.getUTCFullYear()===e&&a.getUTCMonth()===t&&a.getUTCDate()===r&&a.getUTCHours()===i&&a.getUTCMinutes()===s&&a.getUTCSeconds()===n&&a.getUTCDay()===o?a:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let s=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])s=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])s=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])s=2;else{if("y"!==e[10])return;s=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])s=0;else if("u"!==e[9])return;else if("n"===e[10])s=5;else{if("l"!==e[10])return;s=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])s=3;else{if("u"!==e[9]||"g"!==e[10])return;s=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])s=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])s=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])s=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;s=11}let n=e.charCodeAt(12);if(n<48||n>57)return;let o=e.charCodeAt(13);if(o<48||o>57)return;let a=e.charCodeAt(14);if(a<48||a>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((n-48)*1e3+(o-48)*100+(a-48)*10+(A-48),s,i,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])i=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])i=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])i=2;else{if("y"!==e[6])return;i=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])i=0;else if("u"!==e[5])return;else if("n"===e[6])i=5;else{if("l"!==e[6])return;i=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])i=3;else{if("u"!==e[5]||"g"!==e[6])return;i=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])i=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])i=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])i=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;i=11}let s=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;s=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;s=(t-48)*10+(r-48)}let n=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;n=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;n=(t-48)*10+(r-48)}let o=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let a=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),i,s,n,o,a,r)}(e);default:return function(e){let r=-1,i=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(i=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])i=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(i=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])i=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;i=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let s=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;s=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let i=e.charCodeAt(r+3);if(i<48||i>57)return;s=(t-48)*10+(i-48)}let n=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])n=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])n=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])n=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])n=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])n=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])n=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])n=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])n=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])n=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])n=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])n=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;n=11}let o=e.charCodeAt(r+9);if(o<48||o>57)return;let a=e.charCodeAt(r+10);if(a<48||a>57)return;let A=(o-48)*10+(a-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let i=e.charCodeAt(r+13);if(i<48||i>57||50===t&&i>51)return;l=(t-48)*10+(i-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let i=e.charCodeAt(r+16);if(i<48||i>57)return;c=(t-48)*10+(i-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let i=e.charCodeAt(r+19);if(i<48||i>57)return;d=(t-48)*10+(i-48)}return t(A,n,s,l,c,d,i)}(e)}}}},6979(e,t,r){let i={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},s=["crypto","sqlite"];class n{#eK=new Map;clear(){this.#eK.clear()}has(e){return this.#eK.get(e)??this.#eX(e)}set(e,t){if(!1===s.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eK.set(e,t)}#eX(e){let t=function(e){if(s.includes(e)){var t=`node:${e}`;try{return i[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eK.set(e,t),t}}let o=new n;e.exports.runtimeFeatures=o},256(e,t,r){let{kConnected:i,kPending:s,kRunning:n,kSize:o,kFree:a,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[i],this.pending=e[s],this.running=e[n],this.size=e[o]}},PoolStats:class{constructor(e){this.connected=e[i],this.free=e[a],this.pending=e[s],this.queued=e[A],this.running=e[n],this.size=e[o]}}}},2297(e){let t,r=0,i=Symbol("kFastTimer"),s=[];function n(){r+=499;let e=0,t=s.length;for(;e<t;){let i=s[e];0===i._state?(i._idleStart=r-499,i._state=1):1===i._state&&r>=i._idleStart+i._idleTimeout&&(i._state=-1,i._idleStart=-1,i._onTimeout(i._timerArg)),-1===i._state?(i._state=-2,0!=--t&&(s[e]=s[t])):++e}s.length=t,0!==s.length&&o()}function o(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(n,499),t?.unref())}class a{[i]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&s.push(this),t&&1!==s.length||o(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new a(e,t,r),clearTimeout(e){e[i]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new a(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,n(),n()},reset(){r=0,s.length=0,clearTimeout(t),t=null},kFastTimer:i}},1044(e,t,r){let i=r(4589),{kConstruct:s}=r(3025),{urlEquals:n,getFieldValues:o}=r(8220),{kEnumerableProperty:a,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:g}=r(165),{Request:u,fromInnerRequest:h,getRequestState:m}=r(9553),{fetching:p}=r(7564),{urlIsHttpHttpsScheme:C,readAllBytes:I}=r(638);class E{#eZ;constructor(){arguments[0]!==s&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eZ=arguments[1]}async match(e,t={}){l.brandCheck(this,E);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let i=this.#e$(e,t,1);if(0!==i.length)return i[0]}async matchAll(e,t={}){return l.brandCheck(this,E),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#e$(e,t)}async add(e){l.brandCheck(this,E),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,E);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],i=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=m(r);if(!C(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let n of e){let e=m(new u(n));if(!C(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",i.push(e);let a=Promise.withResolvers();s.push(p({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of o(e.headersList.get("vary")))if("*"===t){for(let e of(a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),s))e.abort();return}}},processResponseEndOfBody(e){e.aborted?a.reject(new DOMException("aborted","AbortError")):a.resolve(e)}})),r.push(a.promise)}let n=Promise.all(r),a=await n,A=[],c=0;for(let e of a){let t={type:"put",request:i[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),g=null;try{this.#e0(A)}catch(e){g=e}return queueMicrotask(()=>{null===g?d.resolve(void 0):d.reject(g)}),d.promise}async put(e,t){l.brandCheck(this,E);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let i=null;if(!C((i=l.is.Request(e)?m(e):m(new u(e))).url)||"GET"!==i.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let s=g(t);if(206===s.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(s.headersList.contains("vary")){for(let e of o(s.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(s.body&&(A(s.body.stream)||s.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let n=c(s),a=Promise.withResolvers();null!=s.body?I(s.body.stream.getReader(),a.resolve,a.reject):a.resolve(void 0);let d=[],h={type:"put",request:i,response:n};d.push(h);let p=await a.promise;null!=n.body&&(n.body.source=p);let f=Promise.withResolvers(),B=null;try{this.#e0(d)}catch(e){B=e}return queueMicrotask(()=>{null===B?f.resolve():f.reject(B)}),f.promise}async delete(e,t={}){let r;l.brandCheck(this,E);let s="Cache.delete";l.argumentLengthCheck(arguments,1,s),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,s,"options");let n=null;if(l.is.Request(e)){if("GET"!==(n=m(e)).method&&!t.ignoreMethod)return!1}else i("string"==typeof e),n=m(new u(e));let o=[],a={type:"delete",request:n,options:t};o.push(a);let A=Promise.withResolvers(),c=null;try{r=this.#e0(o)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,E),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=m(new u(e)));let i=Promise.withResolvers(),s=[];if(void 0===e)for(let e of this.#eZ)s.push(e[0]);else for(let e of this.#e1(r,t))s.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of s){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}i.resolve(Object.freeze(e))}),i.promise}#e0(e){let t=this.#eZ,r=[...t],s=[],n=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,s).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);i(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let n=r.request;if(!C(n.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==n.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let s of e=this.#e1(r.request)){let e=t.indexOf(s);i(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),s.push([r.request,r.response])}n.push([r.request,r.response])}return n}catch(e){throw this.#eZ.length=0,this.#eZ=r,e}}#e1(e,t,r){let i=[];for(let s of r??this.#eZ){let[r,n]=s;this.#e2(e,r,n,t)&&i.push(s)}return i}#e2(e,t,r=null,i){let s=new URL(e.url),a=new URL(t.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!n(s,a,!0))return!1;if(null==r||i?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let i of o(r.headersList.get("vary")))if("*"===i||t.headersList.get(i)!==e.headersList.get(i))return!1;return!0}#e$(e,t,r=1/0){let i=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(i=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(i=m(new u(e)));let s=[];if(void 0===e)for(let e of this.#eZ)s.push(e[1]);else for(let e of this.#e1(i,t))s.push(e[1]);let n=[];for(let e of s){let t=d(c(e),"immutable");if(n.push(t),n.length>=r)break}return Object.freeze(n)}}Object.defineProperties(E.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let f=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(f),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...f,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:E}},3691(e,t,r){let{Cache:i}=r(1044),{webidl:s}=r(849),{kEnumerableProperty:n}=r(1210),{kConstruct:o}=r(3025);class a{#e3=new Map;constructor(){arguments[0]!==o&&s.illegalConstructor(),s.util.markAsUncloneable(this)}async match(e,t={}){if(s.brandCheck(this,a),s.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=s.converters.RequestInfo(e),null!=(t=s.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e3.has(t.cacheName)){let r=new i(o,this.#e3.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e3.values()){let s=new i(o,r),n=await s.match(e,t);if(void 0!==n)return n}}async has(e){s.brandCheck(this,a);let t="CacheStorage.has";return s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.has(e)}async open(e){s.brandCheck(this,a);let t="CacheStorage.open";if(s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.has(e))return new i(o,this.#e3.get(e));let r=[];return this.#e3.set(e,r),new i(o,r)}async delete(e){s.brandCheck(this,a);let t="CacheStorage.delete";return s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.delete(e)}async keys(){return s.brandCheck(this,a),[...this.#e3.keys()]}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:n,has:n,open:n,delete:n,keys:n}),e.exports={CacheStorage:a}},8220(e,t,r){let i=r(4589),{URLSerializer:s}=r(3518),{isValidHeaderName:n}=r(638);e.exports={urlEquals:function(e,t,r=!1){return s(e,r)===s(t,r)},getFieldValues:function(e){i(null!==e);let t=[];for(let r of e.split(","))n(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:i}=r(6248),{stringify:s}=r(751),{webidl:n}=r(849),{Headers:o}=r(3470),a=n.brandCheckMultiple([o,globalThis.Headers].filter(Boolean));function A(e,t){n.argumentLengthCheck(arguments,2,"setCookie"),a(e);let r=s(t=n.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}n.converters.DeleteCookieAttributes=n.dictionaryConverter([{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:()=>null}]),n.converters.Cookie=n.dictionaryConverter([{converter:n.converters.DOMString,key:"name"},{converter:n.converters.DOMString,key:"value"},{converter:n.nullableConverter(e=>"number"==typeof e?n.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:n.nullableConverter(n.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.boolean),key:"secure",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:n.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:n.sequenceConverter(n.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){n.argumentLengthCheck(arguments,1,"getCookies"),a(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r},deleteCookie:function(e,t,r){a(e);let i="deleteCookie";n.argumentLengthCheck(arguments,2,i),t=n.converters.DOMString(t,i,"name"),r=n.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){n.argumentLengthCheck(arguments,1,"getSetCookies"),a(e);let t=e.getSetCookie();return t?t.map(e=>i(e)):[]},setCookie:A,parseCookie:function(e){return i(e=n.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:i}=r(5358),{maxNameValuePairSize:s,maxAttributeValueSize:n}=r(6674),{isCTLExcludingHtab:o}=r(751),a=r(4589);function A(e,t={}){if(0===e.length)return t;a(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=i(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let s="",o="";if(r.includes("=")){let e={position:0};s=i("=",r,e),o=r.slice(e.position+1)}else s=r;if(s=s.trim(),(o=o.trim()).length>n)return A(e,t);let l=s.toLowerCase();if("expires"===l){let e=new Date(o);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=o.charCodeAt(0);if((r<48||r>57)&&"-"!==o[0]||!/^\d+$/.test(o))return A(e,t);t.maxAge=Number(o)}else if("domain"===l){let e=o;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===o.length||"/"!==o[0]?"/":o;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=o.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${s}=${o}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(o(e))return null;let t="",r="",n="",a="";if(e.includes(";")){let s={position:0};t=i(";",e,s),r=e.slice(s.position)}else t=e;if(t.includes("=")){let e={position:0};n=i("=",t,e),a=t.slice(e.position+1)}else a=t;return(n=n.trim(),a=a.trim(),n.length+a.length>s)?null:{name:n,value:a,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function i(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function s(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${n[e.getUTCDay()]}, ${a[e.getUTCDate()]} ${o[e.getUTCMonth()]} ${e.getUTCFullYear()} ${a[e.getUTCHours()]}:${a[e.getUTCMinutes()]}:${a[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:i,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let n=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&n.push("Secure"),e.httpOnly&&n.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");n.push(`Max-Age=${e.maxAge}`)}for(let o of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(46===i){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!s(i)||!s(i)&&45!==i||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),n.push(`Domain=${e.domain}`)),e.path&&(i(e.path),n.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&n.push(`Expires=${A(e.expires)}`),e.sameSite&&n.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!o.includes("="))throw Error("Invalid unparsed");let[e,...i]=o.split("="),s=e.trim(),a=i.join("=");t(s),r(a),n.push(`${s}=${a}`)}return n.join("; ")}}},621(e,t,r){let{Transform:i}=r(7075),{isASCIINumber:s,isValidLastEventId:n}=r(2833),o=Buffer.from("data"),a=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let i=0;i<t;i++)if(e[i]!==r[i])return!1;return!0}e.exports={EventSourceStream:class extends i{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let i=e.length,s=e.length;if(-1!==r&&(i=r,32===e[s=r+1]&&++s),c(e,i,o)){let r=e.toString("utf8",s);void 0===t.data?t.data=r:t.data+=` -${r}`;return}if(c(e,i,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,s)&&(t.retry=e.toString("utf8",s));return}if(c(e,i,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,s)&&(t.id=e.toString("utf8",s));return}if(c(e,i,a)){let r=e.toString("utf8",s);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&s(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&n(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let i=this.chunks[r],s=r===this.lineChunkIndex?this.linePos:0,n=r===this.chunkIndex?this.pos:i.length,o=i.subarray(s,n);t+=o.length,e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let i=this.chunks[t],s=i.length-r;if(e<s)return i[r+e];e-=s,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:i}=r(7075),{fetching:s}=r(7564),{webidl:n}=r(849),{EventSourceStream:o}=r(621),{parseMIMEType:a}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:g}=r(2833),u=!1;class h extends EventTarget{#e5={open:null,error:null,message:null};#e4;#e8=!1;#e9=0;#e6=null;#es=null;#Q;#eS;constructor(e,t={}){let r;super(),n.util.markAsUncloneable(this);let i="EventSource constructor";n.argumentLengthCheck(arguments,1,i),u||(u=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=n.converters.USVString(e),t=n.converters.EventSourceInitDict(t,i,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e4=r.href;let s="anonymous";!0===t.withCredentials&&(s="use-credentials",this.#e8=!0);let o=g(r,"",s);o.client=d.settingsObject,o.headersList.set("Accept","text/event-stream"),o.cache="no-store",o.initiator="other",this.#e6=o,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e4}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?a(t):"failure",s="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===s){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let n=new o({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});i(e.body.stream,n,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#es=s(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){n.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#es.abort(),this.#e6=null)}get onopen(){return this.#e5.open}set onopen(e){this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onmessage(){return this.#e5.message}set onmessage(e){this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get onerror(){return this.#e5.error}set onerror(e){this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}}let m={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,m),Object.defineProperties(h.prototype,m),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),n.converters.EventSourceInitDict=n.dictionaryConverter([{key:"withCredentials",converter:n.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:n.converters.any},{key:"node",converter:n.dictionaryConverter([{key:"reconnectionTime",converter:n.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:n.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:i}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,s){let n="no cors"===r?"no-cors":"cors";s&&"no-cors"===n&&(n="same-origin");let o="include";return"anonymous"===r&&(o="same-origin"),i({urlList:[e],destination:t,mode:n,credentials:o,useURLCredentials:!0})}}},4626(e,t,r){let i=r(1210),{ReadableStreamFrom:s,readableStreamClose:n,fullyReadBody:o,extractMimeType:a}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),g=r(4589),{isErrored:u,isDisturbed:h}=r(7075),{isUint8Array:m}=r(3429),{serializeAMimeType:p}=r(3518),{multipartFormDataParser:C}=r(7750),{parseJSONFromBytes:I}=r(5358),{utf8DecodeBytes:E}=r(2718),{ReadableStreamTee:f}=r(7830),B=new TextEncoder;function y(){}function Q(e,t=!1){let r=null,o=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){o=e},cancel(){},type:"bytes"}),g(d.is.ReadableStream(r));let a=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r +${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:i}=r(4779),{InvalidArgumentError:s}=r(8065);function n(e,t,r,i,n){switch(t.operator){case"OR":return i.push(...r(e,n)),i;case"AND":return r(e,i);default:throw new s("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function o(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new s(`${e} parameter should be one of string, regexp, undefined or null`)}}class a{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new s("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new s("nthCall must be called with a number");if(!Number.isInteger(e))throw new s("nthCall must be called with an integer");if(1!==Math.sign(e))throw new s("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new s("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},i="AND"===r.operator?this.logs:[];return"protocol"in e&&(i=n(e.protocol,r,this.filterCallsByProtocol,i,this.logs)),"host"in e&&(i=n(e.host,r,this.filterCallsByHost,i,this.logs)),"port"in e&&(i=n(e.port,r,this.filterCallsByPort,i,this.logs)),"origin"in e&&(i=n(e.origin,r,this.filterCallsByOrigin,i,this.logs)),"path"in e&&(i=n(e.path,r,this.filterCallsByPath,i,this.logs)),"hash"in e&&(i=n(e.hash,r,this.filterCallsByHash,i,this.logs)),"fullUrl"in e&&(i=n(e.fullUrl,r,this.filterCallsByFullUrl,i,this.logs)),"method"in e&&(i=n(e.method,r,this.filterCallsByMethod,i,this.logs)),[...new Set(i)]}throw new s("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=o.call(this,"protocol");filterCallsByHost=o.call(this,"host");filterCallsByPort=o.call(this,"port");filterCallsByOrigin=o.call(this,"origin");filterCallsByPath=o.call(this,"path");filterCallsByHash=o.call(this,"hash");filterCallsByFullUrl=o.call(this,"fullUrl");filterCallsByMethod=o.call(this,"method");clear(){this.logs=[]}[i](e){let t=new a(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=a},375(e,t,r){let{promisify:i}=r(7975),s=r(5183),{buildMockDispatch:n}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends s{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},8531(e,t,r){let{UndiciError:i}=r(8065),s=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class n extends i{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}e.exports={MockNotMatchedError:n}},1585(e,t,r){let{getResponseData:i,buildKey:s,addMockDispatch:n}=r(6927),{kDispatches:o,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:g}=r(4779),{InvalidArgumentError:u}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:m}}=r(7975);class p{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new u("opts must be an object");if(void 0===e.path)throw new u("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[a]=s(e),this[o]=t,this[g]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let s=i(t),n=this[c]?{"content-length":s.length}:{};return{statusCode:e,data:t,headers:{...this[A],...n,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new u("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new u("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new u("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new p(n(this[o],this[a],r=>{let i=e(r);return m(i)?i.then(t):t(i)},{ignoreTrailingSlash:this[g]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new p(n(this[o],this[a],r,{ignoreTrailingSlash:this[g]}))}replyWithError(e){if(void 0===e)throw new u("error must be defined");return new p(n(this[o],this[a],{error:e},{ignoreTrailingSlash:this[g]}))}defaultReplyHeaders(e){if(void 0===e)throw new u("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new u("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:i}=r(7975),s=r(6334),{buildMockDispatch:n}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends s{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:i}=r(8531),{kDispatches:s,kMockAgent:n,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:g}=r(7067),{types:{isPromise:u}}=r(7975),{InvalidArgumentError:h}=r(8065);function m(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function C(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):p(e)[t.toLocaleLowerCase()]}function I(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function f(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=I(t)),e.headers(t?p(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,i]of Object.entries(e.headers))if(!m(i,C(t,r)))return!1;return!0}function E(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function B(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function y(e,t){let r=t.query?c(t.path,t.query):t.path,s="string"==typeof r?E(r):r,n=N(s),o=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?m(N(E(e)),n):m(E(e),s));if(0===o.length)throw new i(`Mock dispatch not matched for path '${s}'`);if(0===(o=o.filter(({method:e})=>m(e,t.method))).length)throw new i(`Mock dispatch not matched for method '${t.method}' on path '${s}'`);if(0===(o=o.filter(({body:e})=>void 0===e||m(e,t.body))).length)throw new i(`Mock dispatch not matched for body '${t.body}' on path '${s}'`);if(0===(o=o.filter(e=>f(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new i(`Mock dispatch not matched for headers '${e}' on path '${s}'`)}return o[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:i,headers:s}){let n=m(e.path,t),o=m(e.method,r),a=void 0===e.body||m(e.body,i),A=f(e,s);return n&&o&&a&&A}(e,t));-1!==r&&e.splice(r,1)}function N(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function b(e){let{path:t,method:r,body:i,headers:s,query:n}=e;return{path:t,method:r,body:i,headers:s,query:n}}function S(e){let t=Object.keys(e),r=[];for(let i=0;i<t.length;++i){let s=t[i],n=e[s],o=Buffer.from(`${s}`);if(Array.isArray(n))for(let e=0;e<n.length;++e)r.push(o,Buffer.from(`${n[e]}`));else r.push(o,Buffer.from(`${n}`))}return r}function w(e){return g[e]||"unknown"}function D(e,t){let r=b(e),i=y(this[s],r),n=this[s];i.timesInvoked++;let{timesInvoked:o,times:a}=i;if(i.consumed=!i.persist&&o>=a,i.pending=o<a,i.data.callback){let s=i.data.callback(e);if(u(s))return s.then(s=>{i.data={...i.data,...s},x(n,i,r,e,t)},e=>{Q(n,r),t.onResponseError(null,e)}),!0;i.data={...i.data,...s}}return x(n,i,r,e,t)}function x(e,t,r,i,s){let{data:{statusCode:n,data:o,headers:a,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),s.onResponseError(null,l),!0;let g=!1,h=null,m={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{g||(g=!0,null!==h&&(clearTimeout(h),h=null),s.onResponseError?.(m,e))}};function p(e,t=o){if(g)return;let l=Array.isArray(i.headers)?I(i.headers):i.headers,c="function"==typeof t?t({...i,headers:l}):t;if(u(c))return c.then(t=>p(e,t));if(g)return;let h=B(c),C=S(a),f=S(A);m.rawHeaders=C,m.rawTrailers=f,s.onResponseStart?.(m,n,d(C),w(n)),s.onResponseData?.(m,Buffer.from(h)),s.onResponseEnd?.(m,d(f)),Q(e,r)}return s.onRequestStart?.(m,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,p(e)},c):p(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>m(e,r.host)))}e.exports={getResponseData:B,getMockDispatch:y,addMockDispatch:function(e,t,r,i){let s={timesInvoked:0,times:1,persist:!1,consumed:!1,...i},n="function"==typeof r?{callback:r}:{...r},o={...s,...t,pending:!0,data:{error:null,...n}};return e.push(o),e[l]=(e[l]||0)+1,o},deleteMockDispatch:Q,buildKey:b,generateKeyValues:S,matchValue:m,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:D,buildMockDispatch:function(){let e=this[n],t=this[a],r=this[o];return function(n,o){if(e.isMockActive)try{D.call(this,n,o)}catch(a){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===a.code){let c=e[A](),d=this[s][l]||this[s].length,g=this[s].filter(({consumed:e})=>!e).length,u=`, ${g} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${u}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in n?{...n,body:n.__mockAgentBodyForDispatch}:n,o);else throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${u}`)}else throw a}else r.call(this,n,o)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:C,buildHeadersFromArray:I,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,i]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(i)){r.append(e,i);continue}if(i.includes(",")){for(let t of i.split(","))r.append(e,t);continue}r.append(e,i)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:i}=r(7075),{Console:s}=r(7540),n=process.versions.icu?"✅":"Y ",o=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,r){r(null,e)}}),this.logger=new s({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:i,times:s,timesInvoked:a,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:i?n:o,Invocations:a,Remaining:i?1/0:s-a}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let i=r(5891),s=r(6923),{SnapshotRecorder:n}=r(2152),{InvalidArgumentError:o,UndiciError:a}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),g=Symbol("kSnapshotPath"),u=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),m=!1;e.exports=class extends s{constructor(e={}){m||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),m=!0);let{mode:t="record",snapshotPath:r=null,...s}=e;if(super(s),l(t),("playback"===t||"update"===t)&&!r)throw new o(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[g]=r,this[c]=new n({snapshotPath:this[g],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[u]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new i(e)),("playback"===this[d]||"update"===this[d])&&this[g]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[u])return this.#eT(e,t);let i=this[c].findSnapshot(e);if(i)return this.#eL(i,t);{if("update"===r)return this.#eO(e,t);let i=new a(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,i);throw i}}if("record"===r)return this.#eO(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eO(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},i=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,i,s)=>t.onRequestUpgrade(e,r,i,s),onResponseStart:(e,i,s,n)=>(r.statusCode=i,r.headers=s,t.onResponseStart(e,i,s,n)),onResponseData:(e,i)=>(r.body.push(i),t.onResponseData(e,i)),onResponseEnd(s,n){r.trailers=n;let o=Buffer.concat(r.body);i[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:o,trailers:r.trailers}).then(()=>t.onResponseEnd(s,n)).catch(e=>t.onResponseError(s,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,i=r.headers?A.toRawHeaders(r.headers):[],s=r.trailers?A.toRawHeaders(r.trailers):[],n={rawHeaders:i,rawTrailers:s,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(n),t.onResponseStart(n,r.statusCode,r.headers,r.statusMessage);let o=Buffer.from(r.body,"base64");t.onResponseData(n,o),t.onResponseEnd(n,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[g]),this[u]=!0,"playback"===this[d]&&this.#eH()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[g])}#eH(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:i}=e,s=new URL(t.url),n=this.get(s.origin),o=r?r[0]:i;o&&n.intercept({path:s.pathname+s.search,method:t.method,headers:t.headers,body:t.body}).reply(o.statusCode,o.body,{headers:o.headers,trailers:o.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:i,readFile:s,mkdir:n}=r(1455),{dirname:o,resolve:a}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:g,isUrlExcludedFactory:u,normalizeHeaders:h,createHeaderFilters:m}=r(289);function p(e,t,r={}){var i,s,n;let o=new URL(e.path,e.origin),a=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=a),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(o,r.matchQuery,r.normalizeQuery),headers:C(a,t,r),body:(i=e.body,s=r.matchBody,n=r.normalizeBody,!1===s?"":n?String(n(i)??""):i?String(i):"")}}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,s={},{ignore:n,exclude:o,match:a}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();!(o.has(e)||n.has(e))&&(0===a.size||a.has(e))&&(s[e]=r)}return s}function I(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,s={},{exclude:n}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();n.has(e)||(s[e]=r)}return s}function f(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let i=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),i.sort()))t.push(String(e))}return t.push(e.body),g(t.join("|"))}class E{#eP;#eY;#eG=new Map;#ez;#eq=1/0;#eV=!1;#e_;constructor(e={}){this.#ez=e.snapshotPath,this.#eq=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#e_=m(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=u(e.excludeUrls),this.#eV&&this.#ez&&this.#eJ()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=p(e,this.#e_,this.matchOptions),i=f(r),s=h(t.headers),n={statusCode:t.statusCode,headers:I(s,this.#e_,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#eq&&!this.#eG.has(i)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let o=this.#eG.get(i);o&&o.responses?(o.responses.push(n),o.timestamp=new Date().toISOString()):this.#eG.set(i,{request:r,responses:[n],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#ez&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=f(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let i=r.callCount||0,s=Math.min(i,r.responses.length-1);return r.callCount=i+1,{...r,response:r.responses[s]}}async loadSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");try{let e=await s(a(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");let r=a(t);await n(o(r),{recursive:!0});let s=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await i(r,JSON.stringify(s,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=f(p(e,this.#e_,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=f(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#eJ(){return this.#eW()}#ej(){this.#eP&&(l(this.#eP),this.saveSnapshots().catch(()=>{}),this.#eP=null)}#eW(){this.#eP=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eP?.refresh():this.#eP=null},1e3)}destroy(){this.#ej(),this.#eP&&(l(this.#eP),this.#eP=null)}async close(){this.#ez&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:E,formatRequestKey:p,createRequestHash:f,filterHeadersForMatching:C,filterHeadersForStorage:I,createHeaderFilters:m}},289(e,t,r){let{InvalidArgumentError:i}=r(8065),{runtimeFeatures:s}=r(6979),n=s.has("crypto")?r(7598):null,o=n?.hash?e=>n.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function a(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:i=[],caseSensitive:s=!1}=e;return{ignore:new Set(t.map(e=>s?e:e.toLowerCase())),exclude:new Set(r.map(e=>s?e:e.toLowerCase())),match:new Set(i.map(e=>s?e:e.toLowerCase()))}},hashId:o,isUndiciHeaders:a,normalizeHeaders:function(e){let t={};if(!e)return t;if(a(e)){for(let r=0;r<e.length;r+=2){let i=e[r],s=e[r+1];if(i&&void 0!==s){let e=Buffer.isBuffer(i)?i.toString():i,r=Buffer.isBuffer(s)?s.toString():s;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,i]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(i)?i.join(", "):String(i));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let i of e)if("string"==typeof i){if(r||(r=t.toLowerCase()),r.includes(i.toLowerCase()))return!0}else if(i instanceof RegExp&&i.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new i(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:i,pathHasQueryOrFragment:s,hasSafeIterator:n,isValidHTTPToken:o}=r(1210),{serializePathWithQuery:a}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function g(e){return e.replace(/^[\t ]+/,"")}function u(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let i=t;i<e.length;i++)if(r)r=!1;else if("\\"===e[i])r=!0;else if('"'===e[i])return i;return -1}function m(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function p(e,t,r){let i=t.toLowerCase(),s=e[i],n=Array.isArray(r)?r:[r];void 0===s?e[i]=Array.isArray(r)?r.slice():r:Array.isArray(s)?s.push(...n):e[i]=[s,...n]}function C(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let i=t[e].split(",");for(let e=0;e<i.length;e++)r.push(i[e])}return r}function I(e){let t=C(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function f(e,t){if(I(e))return t;let r={};for(let i of C(e)){let e=c(i).toLowerCase();if(0===e.length)continue;if(!o(e))return;let s=t[e];r[e]=Array.isArray(s)?s.slice():s??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!s(t)&&(t=a(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},n(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let i=0;i<r;i+=2){let r=e.headers[i],s=e.headers[i+1];if("string"!=typeof r||"string"!=typeof s&&!Array.isArray(s))throw Error("opts.headers is not a valid header map");if("string"==typeof s)p(t,r,s);else{let e=[];for(let t=0;t<s.length;t++){let r=s[t];e.push("string"==typeof r?r:r.toString("latin1"))}p(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else for(let r of Object.keys(e.headers))p(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,i=new Set,s=function(e){let t=[],r=0,i=-1,s=!1,n=!1;for(let o=0;o<e.length;o++)s?n?n=!1:"\\"===e[o]?n=!0:'"'===e[o]&&(s=!1,i=-1):'"'===e[o]?(s=!0,i=o):","===e[o]&&(t.push({value:e.substring(r,o),fromMalformedQuote:!1}),r=o+1);if(!s)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let o=e.substring(r),a=i-r,A=0;for(let e=0;e<o.length;e++)","===o[e]&&(t.push({value:o.substring(A,e),fromMalformedQuote:A>a}),A=e+1);return t.push({value:o.substring(A),fromMalformedQuote:A>a}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<s.length;e++){let n,a,l=s[e],p=l.value.toLowerCase(),C=l.fromMalformedQuote,I=p.indexOf("="),f=!1,E=!1;if(-1!==I){let e=p.substring(0,I),t=p.substring(I+1);f=u(e)!==e,E=g(t)!==t,n=c(e),a=g(t)}else n=c(p);let B=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!o(e[t.length]))return t;let t="",r=!1;for(let i=0;i<e.length;i++)o(e[i])?t+=e[i]:r=!0;if(r&&d(A,t))return t}(n);if(void 0!==B){t[B]=!0;continue}switch(n){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(C||r.has(n))continue;if(void 0===a||f||E||(a.length>=2&&'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),!/^[0-9]+$/.test(a))){delete t[n],r.add(n),m(t,n);continue}let e=Math.min(parseInt(a,10),0x7fffffff);"min-fresh"===n?n in t&&!(t[n]<e)||(t[n]=e):n in t&&!(t[n]>e)||(t[n]=e);break}case"private":case"no-cache":if(C||void 0!==a&&0===a.length){t[n]=!0;break}if(a){if('"'===a[0]){a=u(a);let r="",i=e,A=!1,l=h(a,1);if(-1!==l)r=a.substring(1,l),A=!0;else{let t=[a.substring(1)];for(let r=e+1;r<s.length;r++){let e=c(s[r].value),n=h(e,0);if(i=r,-1!==n){t.push(e.substring(0,n)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[n]=!0;break}e=i;let d=r.split(","),g=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),o(d[e])||(g=!1);g?!0!==t[n]&&(n in t?t[n]=t[n].concat(d):t[n]=d):t[n]=!0}else{let e=c(a);o(e)?!0!==t[n]&&(n in t?t[n]=t[n].concat(e):t[n]=[e]):t[n]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(C||i.has(n))continue;if(void 0!==a){delete t[n],i.add(n);continue}t[n]=!0;break;case"no-store":t[n]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:f,hasVaryStar:I,isInvalidOrWildcardVaryHeader:function(e){return I(e)||void 0===f(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(i,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${i.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let i of Object.keys(e.headers).sort())t?.has(i.toLowerCase())||(r[i]=e.headers[i]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,i,s,n,o){let a=new Date(Date.UTC(e,t,r,i,s,n));return e>=0&&e<=99&&a.setUTCFullYear(e),a.getUTCFullYear()===e&&a.getUTCMonth()===t&&a.getUTCDate()===r&&a.getUTCHours()===i&&a.getUTCMinutes()===s&&a.getUTCSeconds()===n&&a.getUTCDay()===o?a:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let s=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])s=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])s=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])s=2;else{if("y"!==e[10])return;s=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])s=0;else if("u"!==e[9])return;else if("n"===e[10])s=5;else{if("l"!==e[10])return;s=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])s=3;else{if("u"!==e[9]||"g"!==e[10])return;s=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])s=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])s=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])s=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;s=11}let n=e.charCodeAt(12);if(n<48||n>57)return;let o=e.charCodeAt(13);if(o<48||o>57)return;let a=e.charCodeAt(14);if(a<48||a>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((n-48)*1e3+(o-48)*100+(a-48)*10+(A-48),s,i,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])i=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])i=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])i=2;else{if("y"!==e[6])return;i=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])i=0;else if("u"!==e[5])return;else if("n"===e[6])i=5;else{if("l"!==e[6])return;i=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])i=3;else{if("u"!==e[5]||"g"!==e[6])return;i=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])i=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])i=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])i=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;i=11}let s=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;s=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;s=(t-48)*10+(r-48)}let n=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;n=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;n=(t-48)*10+(r-48)}let o=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let a=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),i,s,n,o,a,r)}(e);default:return function(e){let r=-1,i=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(i=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])i=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(i=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])i=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;i=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let s=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;s=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let i=e.charCodeAt(r+3);if(i<48||i>57)return;s=(t-48)*10+(i-48)}let n=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])n=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])n=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])n=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])n=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])n=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])n=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])n=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])n=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])n=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])n=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])n=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;n=11}let o=e.charCodeAt(r+9);if(o<48||o>57)return;let a=e.charCodeAt(r+10);if(a<48||a>57)return;let A=(o-48)*10+(a-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let i=e.charCodeAt(r+13);if(i<48||i>57||50===t&&i>51)return;l=(t-48)*10+(i-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let i=e.charCodeAt(r+16);if(i<48||i>57)return;c=(t-48)*10+(i-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let i=e.charCodeAt(r+19);if(i<48||i>57)return;d=(t-48)*10+(i-48)}return t(A,n,s,l,c,d,i)}(e)}}}},6979(e,t,r){let i={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},s=["crypto","sqlite"];class n{#eK=new Map;clear(){this.#eK.clear()}has(e){return this.#eK.get(e)??this.#eX(e)}set(e,t){if(!1===s.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eK.set(e,t)}#eX(e){let t=function(e){if(s.includes(e)){var t=`node:${e}`;try{return i[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eK.set(e,t),t}}let o=new n;e.exports.runtimeFeatures=o},256(e,t,r){let{kConnected:i,kPending:s,kRunning:n,kSize:o,kFree:a,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[i],this.pending=e[s],this.running=e[n],this.size=e[o]}},PoolStats:class{constructor(e){this.connected=e[i],this.free=e[a],this.pending=e[s],this.queued=e[A],this.running=e[n],this.size=e[o]}}}},2297(e){let t,r=0,i=Symbol("kFastTimer"),s=[];function n(){r+=499;let e=0,t=s.length;for(;e<t;){let i=s[e];0===i._state?(i._idleStart=r-499,i._state=1):1===i._state&&r>=i._idleStart+i._idleTimeout&&(i._state=-1,i._idleStart=-1,i._onTimeout(i._timerArg)),-1===i._state?(i._state=-2,0!=--t&&(s[e]=s[t])):++e}s.length=t,0!==s.length&&o()}function o(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(n,499),t?.unref())}class a{[i]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&s.push(this),t&&1!==s.length||o(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new a(e,t,r),clearTimeout(e){e[i]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new a(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,n(),n()},reset(){r=0,s.length=0,clearTimeout(t),t=null},kFastTimer:i}},1044(e,t,r){let i=r(4589),{kConstruct:s}=r(3025),{urlEquals:n,getFieldValues:o}=r(8220),{kEnumerableProperty:a,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:g}=r(165),{Request:u,fromInnerRequest:h,getRequestState:m}=r(9553),{fetching:p}=r(7564),{urlIsHttpHttpsScheme:C,readAllBytes:I}=r(638);class f{#eZ;constructor(){arguments[0]!==s&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eZ=arguments[1]}async match(e,t={}){l.brandCheck(this,f);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let i=this.#e$(e,t,1);if(0!==i.length)return i[0]}async matchAll(e,t={}){return l.brandCheck(this,f),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#e$(e,t)}async add(e){l.brandCheck(this,f),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,f);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],i=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=m(r);if(!C(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let n of e){let e=m(new u(n));if(!C(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",i.push(e);let a=Promise.withResolvers();s.push(p({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of o(e.headersList.get("vary")))if("*"===t){for(let e of(a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),s))e.abort();return}}},processResponseEndOfBody(e){e.aborted?a.reject(new DOMException("aborted","AbortError")):a.resolve(e)}})),r.push(a.promise)}let n=Promise.all(r),a=await n,A=[],c=0;for(let e of a){let t={type:"put",request:i[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),g=null;try{this.#e0(A)}catch(e){g=e}return queueMicrotask(()=>{null===g?d.resolve(void 0):d.reject(g)}),d.promise}async put(e,t){l.brandCheck(this,f);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let i=null;if(!C((i=l.is.Request(e)?m(e):m(new u(e))).url)||"GET"!==i.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let s=g(t);if(206===s.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(s.headersList.contains("vary")){for(let e of o(s.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(s.body&&(A(s.body.stream)||s.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let n=c(s),a=Promise.withResolvers();null!=s.body?I(s.body.stream.getReader(),a.resolve,a.reject):a.resolve(void 0);let d=[],h={type:"put",request:i,response:n};d.push(h);let p=await a.promise;null!=n.body&&(n.body.source=p);let E=Promise.withResolvers(),B=null;try{this.#e0(d)}catch(e){B=e}return queueMicrotask(()=>{null===B?E.resolve():E.reject(B)}),E.promise}async delete(e,t={}){let r;l.brandCheck(this,f);let s="Cache.delete";l.argumentLengthCheck(arguments,1,s),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,s,"options");let n=null;if(l.is.Request(e)){if("GET"!==(n=m(e)).method&&!t.ignoreMethod)return!1}else i("string"==typeof e),n=m(new u(e));let o=[],a={type:"delete",request:n,options:t};o.push(a);let A=Promise.withResolvers(),c=null;try{r=this.#e0(o)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,f),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=m(new u(e)));let i=Promise.withResolvers(),s=[];if(void 0===e)for(let e of this.#eZ)s.push(e[0]);else for(let e of this.#e1(r,t))s.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of s){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}i.resolve(Object.freeze(e))}),i.promise}#e0(e){let t=this.#eZ,r=[...t],s=[],n=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,s).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);i(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let n=r.request;if(!C(n.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==n.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let s of e=this.#e1(r.request)){let e=t.indexOf(s);i(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),s.push([r.request,r.response])}n.push([r.request,r.response])}return n}catch(e){throw this.#eZ.length=0,this.#eZ=r,e}}#e1(e,t,r){let i=[];for(let s of r??this.#eZ){let[r,n]=s;this.#e2(e,r,n,t)&&i.push(s)}return i}#e2(e,t,r=null,i){let s=new URL(e.url),a=new URL(t.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!n(s,a,!0))return!1;if(null==r||i?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let i of o(r.headersList.get("vary")))if("*"===i||t.headersList.get(i)!==e.headersList.get(i))return!1;return!0}#e$(e,t,r=1/0){let i=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(i=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(i=m(new u(e)));let s=[];if(void 0===e)for(let e of this.#eZ)s.push(e[1]);else for(let e of this.#e1(i,t))s.push(e[1]);let n=[];for(let e of s){let t=d(c(e),"immutable");if(n.push(t),n.length>=r)break}return Object.freeze(n)}}Object.defineProperties(f.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let E=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(E),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...E,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:f}},3691(e,t,r){let{Cache:i}=r(1044),{webidl:s}=r(849),{kEnumerableProperty:n}=r(1210),{kConstruct:o}=r(3025);class a{#e3=new Map;constructor(){arguments[0]!==o&&s.illegalConstructor(),s.util.markAsUncloneable(this)}async match(e,t={}){if(s.brandCheck(this,a),s.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=s.converters.RequestInfo(e),null!=(t=s.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e3.has(t.cacheName)){let r=new i(o,this.#e3.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e3.values()){let s=new i(o,r),n=await s.match(e,t);if(void 0!==n)return n}}async has(e){s.brandCheck(this,a);let t="CacheStorage.has";return s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.has(e)}async open(e){s.brandCheck(this,a);let t="CacheStorage.open";if(s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.has(e))return new i(o,this.#e3.get(e));let r=[];return this.#e3.set(e,r),new i(o,r)}async delete(e){s.brandCheck(this,a);let t="CacheStorage.delete";return s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.delete(e)}async keys(){return s.brandCheck(this,a),[...this.#e3.keys()]}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:n,has:n,open:n,delete:n,keys:n}),e.exports={CacheStorage:a}},8220(e,t,r){let i=r(4589),{URLSerializer:s}=r(3518),{isValidHeaderName:n}=r(638);e.exports={urlEquals:function(e,t,r=!1){return s(e,r)===s(t,r)},getFieldValues:function(e){i(null!==e);let t=[];for(let r of e.split(","))n(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:i}=r(6248),{stringify:s}=r(751),{webidl:n}=r(849),{Headers:o}=r(3470),a=n.brandCheckMultiple([o,globalThis.Headers].filter(Boolean));function A(e,t){n.argumentLengthCheck(arguments,2,"setCookie"),a(e);let r=s(t=n.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}n.converters.DeleteCookieAttributes=n.dictionaryConverter([{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:()=>null}]),n.converters.Cookie=n.dictionaryConverter([{converter:n.converters.DOMString,key:"name"},{converter:n.converters.DOMString,key:"value"},{converter:n.nullableConverter(e=>"number"==typeof e?n.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:n.nullableConverter(n.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.boolean),key:"secure",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:n.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:n.sequenceConverter(n.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){n.argumentLengthCheck(arguments,1,"getCookies"),a(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r},deleteCookie:function(e,t,r){a(e);let i="deleteCookie";n.argumentLengthCheck(arguments,2,i),t=n.converters.DOMString(t,i,"name"),r=n.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){n.argumentLengthCheck(arguments,1,"getSetCookies"),a(e);let t=e.getSetCookie();return t?t.map(e=>i(e)):[]},setCookie:A,parseCookie:function(e){return i(e=n.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:i}=r(5358),{maxNameValuePairSize:s,maxAttributeValueSize:n}=r(6674),{isCTLExcludingHtab:o}=r(751),a=r(4589);function A(e,t={}){if(0===e.length)return t;a(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=i(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let s="",o="";if(r.includes("=")){let e={position:0};s=i("=",r,e),o=r.slice(e.position+1)}else s=r;if(s=s.trim(),(o=o.trim()).length>n)return A(e,t);let l=s.toLowerCase();if("expires"===l){let e=new Date(o);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=o.charCodeAt(0);if((r<48||r>57)&&"-"!==o[0]||!/^\d+$/.test(o))return A(e,t);t.maxAge=Number(o)}else if("domain"===l){let e=o;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===o.length||"/"!==o[0]?"/":o;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=o.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${s}=${o}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(o(e))return null;let t="",r="",n="",a="";if(e.includes(";")){let s={position:0};t=i(";",e,s),r=e.slice(s.position)}else t=e;if(t.includes("=")){let e={position:0};n=i("=",t,e),a=t.slice(e.position+1)}else a=t;return(n=n.trim(),a=a.trim(),n.length+a.length>s)?null:{name:n,value:a,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function i(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function s(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${n[e.getUTCDay()]}, ${a[e.getUTCDate()]} ${o[e.getUTCMonth()]} ${e.getUTCFullYear()} ${a[e.getUTCHours()]}:${a[e.getUTCMinutes()]}:${a[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:i,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let n=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&n.push("Secure"),e.httpOnly&&n.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");n.push(`Max-Age=${e.maxAge}`)}for(let o of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(46===i){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!s(i)||!s(i)&&45!==i||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),n.push(`Domain=${e.domain}`)),e.path&&(i(e.path),n.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&n.push(`Expires=${A(e.expires)}`),e.sameSite&&n.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!o.includes("="))throw Error("Invalid unparsed");let[e,...i]=o.split("="),s=e.trim(),a=i.join("=");t(s),r(a),n.push(`${s}=${a}`)}return n.join("; ")}}},621(e,t,r){let{Transform:i}=r(7075),{isASCIINumber:s,isValidLastEventId:n}=r(2833),o=Buffer.from("data"),a=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let i=0;i<t;i++)if(e[i]!==r[i])return!1;return!0}e.exports={EventSourceStream:class extends i{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let i=e.length,s=e.length;if(-1!==r&&(i=r,32===e[s=r+1]&&++s),c(e,i,o)){let r=e.toString("utf8",s);void 0===t.data?t.data=r:t.data+=` +${r}`;return}if(c(e,i,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,s)&&(t.retry=e.toString("utf8",s));return}if(c(e,i,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,s)&&(t.id=e.toString("utf8",s));return}if(c(e,i,a)){let r=e.toString("utf8",s);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&s(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&n(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let i=this.chunks[r],s=r===this.lineChunkIndex?this.linePos:0,n=r===this.chunkIndex?this.pos:i.length,o=i.subarray(s,n);t+=o.length,e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let i=this.chunks[t],s=i.length-r;if(e<s)return i[r+e];e-=s,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:i}=r(7075),{fetching:s}=r(7564),{webidl:n}=r(849),{EventSourceStream:o}=r(621),{parseMIMEType:a}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:g}=r(2833),u=!1;class h extends EventTarget{#e5={open:null,error:null,message:null};#e4;#e8=!1;#e9=0;#e6=null;#es=null;#Q;#eS;constructor(e,t={}){let r;super(),n.util.markAsUncloneable(this);let i="EventSource constructor";n.argumentLengthCheck(arguments,1,i),u||(u=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=n.converters.USVString(e),t=n.converters.EventSourceInitDict(t,i,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e4=r.href;let s="anonymous";!0===t.withCredentials&&(s="use-credentials",this.#e8=!0);let o=g(r,"",s);o.client=d.settingsObject,o.headersList.set("Accept","text/event-stream"),o.cache="no-store",o.initiator="other",this.#e6=o,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e4}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?a(t):"failure",s="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===s){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let n=new o({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});i(e.body.stream,n,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#es=s(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){n.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#es.abort(),this.#e6=null)}get onopen(){return this.#e5.open}set onopen(e){this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onmessage(){return this.#e5.message}set onmessage(e){this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get onerror(){return this.#e5.error}set onerror(e){this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}}let m={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,m),Object.defineProperties(h.prototype,m),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),n.converters.EventSourceInitDict=n.dictionaryConverter([{key:"withCredentials",converter:n.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:n.converters.any},{key:"node",converter:n.dictionaryConverter([{key:"reconnectionTime",converter:n.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:n.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:i}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,s){let n="no cors"===r?"no-cors":"cors";s&&"no-cors"===n&&(n="same-origin");let o="include";return"anonymous"===r&&(o="same-origin"),i({urlList:[e],destination:t,mode:n,credentials:o,useURLCredentials:!0})}}},4626(e,t,r){let i=r(1210),{ReadableStreamFrom:s,readableStreamClose:n,fullyReadBody:o,extractMimeType:a}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),g=r(4589),{isErrored:u,isDisturbed:h}=r(7075),{isUint8Array:m}=r(3429),{serializeAMimeType:p}=r(3518),{multipartFormDataParser:C}=r(7750),{parseJSONFromBytes:I}=r(5358),{utf8DecodeBytes:f}=r(2718),{ReadableStreamTee:E}=r(7830),B=new TextEncoder;function y(){}function Q(e,t=!1){let r=null,o=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){o=e},cancel(){},type:"bytes"}),g(d.is.ReadableStream(r));let a=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r Content-Disposition: form-data`,i=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),s=e=>e.replace(/\r?\n|\r/g,"\r\n"),n=[],o=new Uint8Array([13,10]);l=0;let d=!1;for(let[t,a]of e)if("string"==typeof a){let e=B.encode(r+`; name="${i(s(t))}"`+`\r \r ${s(a)}\r `);n.push(e),l+=e.byteLength}else{let e=B.encode(`${r}; name="${i(s(t))}"`+(a.name?`; filename="${i(a.name)}"`:"")+"\r\n"+`Content-Type: ${a.type||"application/octet-stream"}\r \r `);n.push(e,a,o),"number"==typeof a.size?l+=e.byteLength+a.size+o.byteLength:d=!0}let g=B.encode(`--${t}--\r -`);n.push(g),l+=g.byteLength,d&&(l=null),A=e,a=async function*(){for(let e of n)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(i.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:s(e)}return("string"==typeof A||m(A))&&(a=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=a&&(async()=>{let e=a(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(u(r))break;e.length&&o.enqueue(new Uint8Array(e))}else e?.length&&!u(r)&&o.enqueue("string"==typeof e?B.encode(e):new Uint8Array(e));queueMicrotask(()=>n(o))})(),[{stream:r,source:A,length:l},h]}function N(e,t,r,i){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(b(e=i(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let s=Promise.withResolvers(),n=s.reject,a=e=>{try{s.resolve(t(e))}catch(e){n(e)}};return null==e.body?a(Buffer.allocUnsafe(0)):o(e.body,a,n),s.promise}function b(e){let t=e.body;return null!=t&&(t.stream.locked||i.isDisturbed(t.stream))}function S(e){let t=a(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(g(!i.isDisturbed(e),"The body has already been consumed."),g(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=f?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return N(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=p(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return N(this,e=>new Uint8Array(e).buffer,e,t)},text(){return N(this,E,e,t)},json(){return N(this,I,e,t)},formData(){return N(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=C(e,r),i=new A;return l(i,t),i}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,i]of t)r.append(e,i);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return N(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(b(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,i=new TextDecoderStream("UTF-8");return r.pipeThrough(i)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||u(t)||t.cancel("Response object has been garbage collected").catch(y)}),bodyUnusable:b}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),i=[301,302,303,307,308],s=new Set(i),n=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],o=new Set(n),a=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...a],l=new Set(a),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),g=["CONNECT","TRACE","TRACK"],u=new Set(g),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],m=new Set(h);e.exports={subresource:h,forbiddenMethods:g,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:n,requestDuplex:["half"],subresourceSet:m,badPortsSet:o,redirectStatusSet:s,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:u,referrerPolicyTokens:l}},3518(e,t,r){let i=r(4589),{forgivingBase64:s,collectASequenceOfCodePoints:n,collectASequenceOfCodePointsFast:o,isomorphicDecode:a,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,g=/[\u000A\u000D\u0009\u0020]/u,u=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,i=e.hash.length,s=0===i?r:r.substring(0,r.length-i);return!i&&r.endsWith("#")?s.slice(0,-1):s}function m(e){return function(e){let t=e.length,r=new Uint8Array(t),i=0,s=0;for(;s<t;){let t=e[s];37!==t?r[i++]=t:37!==t||p(e[s+1])&&p(e[s+2])?(r[i++]=C(e[s+1])<<4|C(e[s+2]),s+=2):r[i++]=37,++s}return t===i?r:r.subarray(0,i)}(c.encode(e))}function p(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=57?e-48:(223&e)-55}function I(e){e=B(e,!0,!0);let t={position:0},r=o("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let i=o(";",e,t);if(0===(i=B(i,!1,!0)).length||!d.test(i))return"failure";let s=r.toLowerCase(),a=i.toLowerCase(),A={type:s,subtype:a,parameters:new Map,essence:`${s}/${a}`};for(;t.position<e.length;){t.position++,n(e=>g.test(e),e,t);let r=n(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let i=null;if('"'===e[t.position])i=E(e,t,!0),o(";",e,t);else if(0===(i=B(i=o(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===i.length||u.test(i))&&!A.parameters.has(r)&&A.parameters.set(r,i)}return A}function E(e,t,r=!1){let s=t.position,o="";for(i('"'===e[t.position]),t.position++;o+=n(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){o+="\\";break}o+=e[t.position],t.position++}else{i('"'===r);break}}return r?o:e.slice(s,t.position)}function f(e){return 13===e||10===e||9===e||32===e}function B(e,t=!0,r=!0){return l(e,t,r,f)}e.exports={dataURLProcessor:function(e){i("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},n=o(",",t,r),l=n.length;if(n=A(n,!0,!0),r.position>=t.length)return"failure";r.position++;let c=m(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(n)){if("failure"===(c=s(a(c))))return"failure";n=(n=(n=n.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let d=I(n);return"failure"===d&&(d=I("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:m,parseMIMEType:I,collectAnHTTPQuotedString:E,serializeAMimeType:function(e){i("failure"!==e);let{parameters:t,essence:r}=e,s=r;for(let[e,r]of t.entries())s+=";",s+=e,s+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),s+=r;return s},removeHTTPWhitespace:B,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:i}=r(1210),{HTTP_TOKEN_CODEPOINTS:s}=r(3518),{makeEntry:n}=r(1304),{webidl:o}=r(849),a=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function g(e,t,r){let i=r.position;for(;i<t.length&&e(t[i]);)++i;return t.subarray(r.position,r.position=i)}function u(e,t,r,i){let s=0,n=e.length-1;if(t)for(;s<e.length&&i(e[s]);)s++;if(r)for(;n>0&&i(e[n]);)n--;return 0===s&&n===e.length-1?e:e.subarray(s,n+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function m(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){a("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let p=Buffer.from(`--${r}`,"utf8"),C=[],I={position:0},E=e.indexOf(p);if(-1===E)throw h("no boundary found in multipart body");for(I.position=E;;){let t,r;if(e.subarray(I.position,I.position+p.length).equals(p))I.position+=p.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[r.position+i])return!1;return!0}(e,l,I))return C;if(13!==e[I.position]||10!==e[I.position+1])throw h("expected CRLF");I.position+=2;let{name:E,filename:f,contentType:B,encoding:y}=function(e,t){let r=null,n=null,o=null,a=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:n,contentType:o,encoding:a}}let l=g(e=>10!==e&&13!==e&&58!==e,e,t);if(l=u(l,!0,!0,e=>9===e||32===e),!s.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,g(e=>32===e||9===e,e,t),i(l)){case"content-disposition":{r=n=null;let i=!1;if("form-data"!==g(e=>m(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let s=function(e,t){let r;59===e[t.position]&&t.position++,g(e=>32===e||9===e,e,t);let i=g(e=>m(e)&&61!==e&&42!==e,e,t);if(0===i.length)return null;let s=i.toString("ascii").toLowerCase(),n=42===e[t.position];if(n&&t.position++,61!==e[t.position])return null;if(t.position++,g(e=>32===e||9===e,e,t),n){let i=g(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==i[0]&&85!==i[0]||116!==i[1]&&84!==i[1]||102!==i[2]&&70!==i[2]||45!==i[3]||56!==i[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(i.subarray(7)))}else if(34===e[t.position]){t.position++;let i=g(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(i).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let i=g(e=>m(e)&&59!==e,e,t);r=c.decode(i)}return{name:s,value:r,extended:n}}(e,t);if(!s)break;"name"===s.name?r=s.value:"filename"===s.name&&(s.extended?(n=s.value,i=!0):i||(n=s.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=g(e=>10!==e&&13!==e,e,t);o=A(r=u(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=g(e=>10!==e&&13!==e,e,t);a=A(r=u(r,!1,!0,e=>9===e||32===e));break}default:g(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,I);I.position+=2;{let r=e.indexOf(p.subarray(2),I.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(I.position,r-4),I.position+=t.length,"base64"===y&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[I.position]||10!==e[I.position+1])throw h("expected CRLF");I.position+=2,null!==f?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(B??="text/plain")&&(B=""),r=new File([t],f,{type:B})):r=d.decode(Buffer.from(t)),a(o.is.USVString(E)),a("string"==typeof r&&o.is.USVString(r)||o.is.File(r)),C.push(n(E,r,f))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:i}=r(638),{kEnumerableProperty:s}=r(1210),{webidl:n}=r(849),o=r(7975),{runtimeFeatures:a}=r(6979),A=a.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(n.util.markAsUncloneable(this),void 0!==e)throw n.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){n.brandCheck(this,l);let i="FormData.append";n.argumentLengthCheck(arguments,2,i),e=n.converters.USVString(e),3==arguments.length||n.is.Blob(t)?(t=n.converters.Blob(t,i,"value"),void 0!==r&&(r=n.converters.USVString(r))):t=n.converters.USVString(t);let s=u(e,t,r);this.#eS.push(s)}delete(e){n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.delete"),e=n.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.get"),e=n.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.getAll"),e=n.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.has"),e=n.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){n.brandCheck(this,l);let i="FormData.set";n.argumentLengthCheck(arguments,2,i),e=n.converters.USVString(e),3==arguments.length||n.is.Blob(t)?(t=n.converters.Blob(t,i,"value"),void 0!==r&&(r=n.converters.USVString(r))):t=n.converters.USVString(t);let s=u(e,t,r),o=this.#eS.findIndex(t=>t.name===e);-1!==o?this.#eS=[...this.#eS.slice(0,o),s,...this.#eS.slice(o+1).filter(t=>t.name!==e)]:this.#eS.push(s)}[o.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let i=o.formatWithOptions(t,r);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:g}=l;function u(e,t,r){if("string"==typeof t);else if(n.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),i("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:s,delete:s,get:s,getAll:s,has:s,set:s,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),n.is.FormData=n.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:u,setFormDataState:d,getFormDataBoundary:g}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:i}=r(3025),{kEnumerableProperty:s}=r(1210),{iteratorMixin:n,isValidHeaderName:o,isValidHeaderValue:a}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function g(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function u(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let i=t[r];if(2!==i.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`});h(e,i[0],i[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let i=0;i<r.length;++i)h(e,r[i],t[r[i]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=g(r),o(t)){if(!a(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===I(e))throw TypeError("immutable");return f(e).append(t,r,!1)}function m(e,t){return e[0]<t[0]?-1:1}class p{cookies=null;sortedMap;headersMap;constructor(e){e instanceof p?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase(),s=this.headersMap.get(i);if(s){let e="cookie"===i?"; ":", ";this.headersMap.set(i,{name:s.name,value:`${s.value}${e}${t}`})}else this.headersMap.set(i,{name:e,value:t});"set-cookie"===i&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase();"set-cookie"===i&&(this.cookies=[t]),this.headersMap.set(i,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:i}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,i]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),i=r.next().value;t[0]=[i[0],i[1].value],l(null!==i[1].value);for(let i=1,s=0,n=0,o=0,a=0,A,c;i<e;++i){for(c=r.next().value,l(null!==(A=t[i]=[c[0],c[1].value])[1]),o=0,n=i;o<n;)t[a=o+(n-o>>1)][0]<=A[0]?o=a+1:n=a;if(i!==a){for(s=i;s>o;)t[s]=t[--s];t[o]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:i}}of this.headersMap)t[e++]=[r,i],l(null!==i);return t.sort(m)}}}class C{#tr;#ti;constructor(e){if(A.util.markAsUncloneable(this),e===i)return;this.#ti=new p,this.#tr="none",void 0!==e&&u(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.delete"),!o(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.contains(e,!1)&&this.#ti.delete(e,!1)}get(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.get(e,!1)}has(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.contains(e,!1)}set(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=g(t=A.converters.ByteString(t,r,"value")),o(e)){if(!a(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.set(e,t,!1)}getSetCookie(){A.brandCheck(this,C);let e=this.#ti.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#ti.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#ti}static setHeadersList(e,t){e.#ti=t}}let{getHeadersGuard:I,setHeadersGuard:E,getHeadersList:f,setHeadersList:B}=C;Reflect.deleteProperty(C,"getHeadersGuard"),Reflect.deleteProperty(C,"setHeadersGuard"),Reflect.deleteProperty(C,"getHeadersList"),Reflect.deleteProperty(C,"setHeadersList"),n("Headers",C,function(e){let t=f(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],i=t.toSortedArray(),s=t.cookies;if(null===s||1===s.length)return t.sortedMap=i;for(let e=0;e<i.length;++e){let{0:t,1:n}=i[e];if("set-cookie"===t)for(let e=0;e<s.length;++e)r.push([t,s[e]]);else r.push([t,n])}return t.sortedMap=r},0,1),Object.defineProperties(C.prototype,{append:s,delete:s,get:s,has:s,set:s,getSetCookie:s,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let i=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&i===C.prototype.entries)try{return f(e).entriesList}catch{}return"function"==typeof i?A.converters["sequence<sequence<ByteString>>"](e,t,r,i.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:u,compareHeaderName:m,Headers:C,HeadersList:p,getHeadersGuard:I,setHeadersGuard:E,setHeadersList:B,getHeadersList:f}},7564(e,t,r){let i,{makeNetworkError:s,makeAppropriateNetworkError:n,filterResponse:o,makeResponse:a,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:g,getRequestDispatcher:u,getRequestState:h,removeRequestAbortListener:m}=r(9553),p=r(8522),{makePolicyContainer:C,clonePolicyContainer:I,requestBadPort:E,TAOCheck:f,appendRequestOriginHeader:B,responseLocationURL:y,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:N,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:D,crossOriginResourcePolicyCheck:x,determineRequestsReferrer:R,coarsenedSharedCurrentTime:M,sameOrigin:k,isCancelled:U,isAborted:F,isErrorLike:v,fullyReadBody:T,readableStreamClose:L,urlIsLocal:H,urlIsHttpHttpsScheme:O,urlHasHttpsScheme:P,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:z,createInflate:q,extractMimeType:V,hasAuthenticationEntry:J,includesCredentials:_,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:K,extractBody:X}=r(4626),{redirectStatusSet:Z,nullBodyStatus:$,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),ei=r(8474),{Readable:es,pipeline:en,finished:eo,isErrored:ea,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eg,minimizeSupportedMimeType:eu}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:em}=r(849),{STATUS_CODES:ep}=r(7067),{bytesMatch:eC}=r(2300),{isomorphicEncode:eI}=r(5358),eE=["GET","HEAD"],ef="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function eB(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let i=ec(r[t]),s=r[t+1];if(Array.isArray(s)&&!Buffer.isBuffer(s))for(let t of s)e.append(i,t.toString("latin1"),!0);else e.append(i,s.toString("latin1"),!0)}return}for(let[r,i]of Object.entries(t??{}))if(Array.isArray(i))for(let t of i)e.append(r,`${t}`,!0);else e.append(r,`${i}`,!0)}class ey extends ei{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],i=e.timingInfo,s=e.cacheState;O(r)&&null!==i&&(e.timingAllowPassed||(i=S({startTime:i.startTime}),s=""),i.endTime=M(),e.timingInfo=i,eN(i,r.href,t,globalThis,s,"",e.status))}let eN=performance.markResourceTiming;function eb(e,t,r,i,s){if(e&&e.reject(i),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(i).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let n=l(r);n.body?.stream!=null&&eA(n.body.stream)&&s.error(i)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseEndOfBody:s,processResponseConsumeBody:n,useParallelQueue:o=!1,dispatcher:a=eh(),requestObject:A=null}){j(a);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:M(c)}),g={controller:new ey(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseConsumeBody:n,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=I(e.client.policyContainer):e.policyContainer=C()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(g,!1),g.controller}async function ew(e,t){try{let r=e.request,i=null;if(r.localURLsOnly&&!H(Q(r))&&(i=s("local URLs only")),b(r),"blocked"===E(r)&&(i=s("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===i){let t=Q(r);k(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",i=await eD(e)):"same-origin"===r.mode?i=s('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?i=s('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",i=await eD(e)):O(Q(r))?(r.responseTainting="cors",i=await eR(e)):i=s("URL scheme must be a HTTP(S) scheme")}if(t)return i;0===i.status||i.internalResponse||(r.responseTainting,"basic"===r.responseTainting?i=o(i,"basic"):"cors"===r.responseTainting?i=o(i,"cors"):"opaque"===r.responseTainting?i=o(i,"opaque"):j(!1));let n=0===i.status?i:i.internalResponse;if(0===n.urlList.length&&n.urlList.push(...r.urlList),r.timingAllowFailed||(i.timingAllowPassed=!0),"opaque"===i.type&&206===n.status&&n.rangeRequested&&!r.headers.contains("range",!0)&&(i=n=s()),0!==i.status&&("HEAD"===r.method||"CONNECT"===r.method||$.includes(n.status))&&(n.body=null,e.controller.dump=!0),r.integrity){let t=t=>ex(e,s(t));if("opaque"===r.responseTainting||null==i.body)return void t(i.error);T(i.body,s=>{eC(s,r.integrity)?(i.body=K(s)[0],ex(e,i)):t("integrity mismatch")},t)}else ex(e,i)}catch(t){e.controller.terminate(t)}}function eD(e){if(U(e)&&0===e.request.redirectCount)return Promise.resolve(n(e));let{request:t}=e,{protocol:o}=Q(t);switch(o){case"about:":return Promise.resolve(s("about scheme is not supported"));case"blob:":{i||(i=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(s("NetworkError when attempting to fetch resource."));let n=i(e.toString());if("GET"!==t.method||!em.is.Blob(n))return Promise.resolve(s("invalid method"));let o=a(),A=n.size,l=eI(`${A}`),c=n.type;if(t.headersList.contains("range",!0)){o.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(s("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:i}=e;if(null===r)i=(r=A-i)+i-1;else{if(r>=A)return Promise.resolve(s("Range start is greater than the blob's size."));(null===i||i>=A)&&(i=A-1)}let a=n.slice(r,i+1,c);o.body=X(a)[0];let l=eI(`${a.size}`),d=z(r,i,A);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",d,!0)}else{let e=X(n);o.statusText="OK",o.body=e[0],o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0)}return Promise.resolve(o)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(s("failed to fetch the data URL"));return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eg(e.mimeType)}]],body:K(e.body)[0]}))}case"file:":return Promise.resolve(s("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>s(e));default:return Promise.resolve(s("unknown scheme"))}}function ex(e,t){let r=e.timingInfo,i=()=>{let i=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!O(e.request.url))return;r.endTime=i;let s=t.cacheState,n=t.bodyInfo;t.timingAllowPassed||(r=S(r),s="");let o=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){o=t.status;let e=V(t.headersList);"failure"!==e&&(n.contentType=eu(e))}null!=e.request.initiatorType&&eN(r,e.request.url.href,e.request.initiatorType,globalThis,s,n,o)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let s="error"===t.type?t:t.internalResponse??t;null==s.body?i():eo(s.body.stream,()=>{i()})}async function eR(e){let t=e.request,r=null,i=null,n=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),i=r=await eM(e),"cors"===t.responseTainting&&"failure"===D(t,r))return s("cors failure");"failure"===f(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===x(t.origin,t.client,t.destination,i)?s("blocked"):(Z.has(i.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=s("unexpected redirect"):"manual"===t.redirect?r=i:"follow"===t.redirect?r=await function(e,t){let r,i=e.request,n=t.internalResponse?t.internalResponse:t;try{if(r=y(n,Q(i).hash),null==r)return t}catch(e){return Promise.resolve(s(e))}if(!O(r))return Promise.resolve(s("URL scheme must be a HTTP(S) scheme"));if(20===i.redirectCount)return Promise.resolve(s("redirect count exceeded"));if(i.redirectCount+=1,"cors"===i.mode&&(r.username||r.password)&&!k(i,r))return Promise.resolve(s('cross origin not allowed for request mode "cors"'));if("cors"===i.responseTainting&&(r.username||r.password))return Promise.resolve(s('URL cannot contain credentials for request mode "cors"'));if(303!==n.status&&null!=i.body&&null==i.body.source)return Promise.resolve(s());if([301,302].includes(n.status)&&"POST"===i.method||303===n.status&&!eE.includes(i.method))for(let e of(i.method="GET",i.body=null,et))i.headersList.delete(e);k(Q(i),r)||(i.headersList.delete("authorization",!0),i.headersList.delete("proxy-authorization",!0),i.headersList.delete("cookie",!0),i.headersList.delete("host",!0)),null!=i.body&&(j(null!=i.body.source),i.body=K(i.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=M(e.crossOriginIsolatedCapability),0===o.redirectStartTime&&(o.redirectStartTime=o.startTime),i.urlList.push(r),N(i,n),ew(e,!0)}(e,r):j(!1)),r.timingInfo=n,r)}async function eM(e,t=!1,r=!1){let i=e.request,o=null,a=null,A=null;"no-window"===i.window&&"error"===i.redirect?(o=e,a=i):(i.body?.source!=null?a=g(i):(a=g({...i,body:null})).body=i.body,(o={...e}).request=a);let l="include"===i.credentials||"same-origin"===i.credentials&&"basic"===i.responseTainting,c=a.body?a.body.length:null,d=null;if(null==a.body&&["POST","PUT"].includes(a.method)&&(d="0"),null!=c&&(d=eI(`${c}`)),null==d||a.headersList.contains("content-length",!0)||a.headersList.append("content-length",d,!0),null!=c&&a.keepalive,em.is.URL(a.referrer)&&a.headersList.append("referer",eI(a.referrer.href),!0),B(a),w(a),a.headersList.contains("user-agent",!0)||a.headersList.append("user-agent",ef,!0),"default"===a.cache&&(a.headersList.contains("if-modified-since",!0)||a.headersList.contains("if-none-match",!0)||a.headersList.contains("if-unmodified-since",!0)||a.headersList.contains("if-match",!0)||a.headersList.contains("if-range",!0))&&(a.cache="no-store"),"no-cache"!==a.cache||a.preventNoCacheCacheControlHeaderModification||a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","max-age=0",!0),("no-store"===a.cache||"reload"===a.cache)&&(a.headersList.contains("pragma",!0)||a.headersList.append("pragma","no-cache",!0),a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","no-cache",!0)),a.headersList.contains("range",!0)&&a.headersList.append("accept-encoding","identity",!0),a.headersList.contains("accept-encoding",!0)||(P(Q(a))?a.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):a.headersList.append("accept-encoding","gzip, deflate",!0)),a.headersList.delete("host",!0),l&&!a.headersList.contains("authorization",!0)){let e=null;if(J(a)&&(void 0===a.useURLCredentials||!_(Q(a))));else if(_(Q(a))&&t){let{username:t,password:r}=Q(a);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&a.headersList.append("Authorization",e,!1)}if(a.cache="no-store","no-store"!==a.cache&&a.cache,null==A){if("only-if-cached"===a.cache)return s("only if cached");let e=await ek(o,l,r);!ee.has(a.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...a.urlList],a.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==a.responseTainting&&l&&(void 0!==i.useURLCredentials||W(i.traversableForUserPrompts))){if(null!=i.body){if(null==i.body.source)return A;i.body=K(i.body.source)[0]}if(void 0===i.useURLCredentials||t)return U(e)?n(e):A;e.controller.connection.destroy(),A=await eM(e,!0)}if(407===A.status)return"no-window"===i.window?s():U(e)?n(e):s("proxy authentication required");if(421===A.status&&!r&&(null==i.body||null!=i.body.source)){if(U(e))return n(e);e.controller.connection.destroy(),A=await eM(e,t,!0)}return A}async function ek(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let i=e.request,o=null,A=e.timingInfo;i.cache="no-store",i.mode;let l=null;if(null==i.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=i.body){let t=async function*(t){U(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of i.body.stream)yield*t(e);!U(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){U(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:s,headersList:n,socket:d}=await function({body:t}){let r=Q(i),s=e.controller.dispatcher,n=r.pathname+r.search,o=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(a,l){return new Promise((d,g)=>s.dispatch({path:o?`${n}?`:n,origin:r.origin,method:i.method,body:s.isMockActive?i.body&&(i.body.source||i.body.stream):a,__mockAgentBodyForDispatch:a,headers:i.headersList.entries,maxRedirections:0,upgrade:"websocket"===i.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let i=e=>t.abort(e);r.destroyed?i(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",i),this.abort=r.abort=i),A.finalNetworkRequestStartTime=M(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=M(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,s){if(t<200)return;let n=e?.rawHeaders??[],o=new c;eB(o,r,n);let a=o.get("location",!0);this.body=new es({read:()=>e.resume()});let A=a&&"follow"===i.redirect&&Z.has(t),l=[];if("HEAD"!==i.method&&"CONNECT"!==i.method&&!$.includes(t)&&!A){let e=o.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void g(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(p.createGunzip({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(q({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(p.createBrotliDecompress({flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(p.createZstdDecompress({flush:p.constants.ZSTD_e_continue,finishFlush:p.constants.ZSTD_e_end}));else{l.length=0;break}}}let u=t=>this.onResponseError(e,t);d({status:t,statusText:s,headersList:o,body:l.length?en(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",u):this.body.on("error",u)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,s){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===i.mode&&!1!==l&&s?.code==="UND_ERR_INFO"&&s?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(a,!1)):(this.body?.destroy(s),e.controller.terminate(s),g(s))},onRequestUpgrade(e,t,r,i){if(null!=i.session&&200!==t||null==i.session&&101!==t)return!1;let s=e?.rawHeaders??[],n=new c;return eB(n,r,s),d({status:t,statusText:ep[t],headersList:n,socket:i}),!0}}))}(t)}({body:l});if(d)o=a({status:r,statusText:s,headersList:n,socket:d});else{let i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next(),o=a({status:r,statusText:s,headersList:n})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),n(e,t);return s(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{U(e)||e.controller.abort(t)},type:"bytes"});return o.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){F(e)?(o.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:v(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:i}=await e.controller.next();if(F(e))break;t=r?void 0:i}catch(i){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=i,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,o);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let i=new Uint8Array(t);if(i.byteLength&&e.controller.controller.enqueue(i),ea(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},o}e.exports={fetch:function(e,t){let r;em.argumentLengthCheck(arguments,1,"globalThis.fetch");let i=Promise.withResolvers();try{r=new d(e,t)}catch(e){return i.reject(e),i.promise}let s=h(r);if(r.signal.aborted)return eb(i,s,null,r.signal.reason,null),i.promise;let n=s.client.globalObject;n?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let o=null,a=!1,l=null,c=el(r.signal,()=>{a=!0,j(null!=l),l.abort(r.signal.reason);let e=o?.deref();eb(i,s,e,r.signal.reason,l.controller)}),g=()=>{c(),m(r)};return l=eS({request:s,processResponseEndOfBody:e=>{eQ(e,"fetch"),g()},processResponse:e=>{if(!a){if(e.aborted){eb(i,s,o,l.serializedAbortReason,l.controller),g();return}if("error"===e.type){i.reject(TypeError("fetch failed",{cause:e.error})),g();return}o=new WeakRef(A(e,"immutable")),i.resolve(o.deref()),i=null}},dispatcher:u(r),requestObject:r}),i.promise},Fetch:ey,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let i,{extractBody:s,mixinBody:n,cloneBody:o,bodyUnusable:a}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:g,setHeadersList:u,getHeadersList:h}=r(3470),m=r(1210),p=r(7975),{isValidHTTPToken:C,sameOrigin:I,environmentSettingsObject:E}=r(638),{forbiddenMethodsSet:f,corsSafeListedMethodsSet:B,referrerPolicy:y,requestRedirect:Q,requestMode:N,requestCredentials:b,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:D,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=m,{webidl:M}=r(849),{URLSerializer:k}=r(3518),{kConstruct:U}=r(3025),F=r(4589),{getMaxListeners:v,setMaxListeners:T,defaultMaxListeners:L}=r(8474),H=Symbol("abortController"),O=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),P=new WeakMap;try{i=v(new AbortController().signal)>0}catch{i=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){O.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=P.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}P.delete(r.signal)}}}}let G=!1;class z{#ts;#Q;#$;#eS;#tn=null;constructor(e,t){let r;if(M.util.markAsUncloneable(this),e===U)return;M.argumentLengthCheck(arguments,1,"Request constructor"),e=M.converters.RequestInfo(e),t=M.converters.RequestInit(t);let n=null,o=null,g=E.settingsObject.baseUrl,p=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,g)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=X({urlList:[r]}),o="cors"}else F(M.is.Request(e)),n=e.#eS,p=e.#ts,this.#Q=t.dispatcher||e.#Q;let y=E.settingsObject.origin,Q="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&I(n.window,y)&&(Q=n.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),n=X({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:E.settingsObject,window:Q,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let N=0!==Object.keys(t).length;if(N&&("navigate"===n.mode&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)n.referrer="no-referrer";else{let t;try{t=new URL(e,g)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||y&&!I(t,E.settingsObject.baseUrl)?n.referrer="client":n.referrer=t}}if(void 0!==t.referrerPolicy&&(n.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:o))throw M.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(n.mode=r),void 0!==t.credentials&&(n.credentials=t.credentials),void 0!==t.cache&&(n.cache=t.cache),"only-if-cached"===n.cache&&"same-origin"!==n.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(n.redirect=t.redirect),null!=t.integrity&&(n.integrity=String(t.integrity)),void 0!==t.keepalive&&(n.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)n.method=r;else{if(!C(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(f.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=x[t]??e,n.method=e}G||"patch"!==n.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(p=t.signal),this.#eS=n;let b=new AbortController;if(this.#ts=b.signal,null!=p)if(p.aborted)b.abort(p.reason);else{this[H]=b;let e=Y(new WeakRef(b));i&&v(p)===L&&T(1500,p);let t=m.addAbortListener(p,e);O.register(b,{signal:p,abort:e},e),this.#tn=()=>{O.unregister(e),t(),this.#tn=null}}if(this.#$=new A(U),u(this.#$,n.headersList),d(this.#$,"request"),"no-cors"===r){if(!B.has(n.method))throw TypeError(`'${n.method} is unsupported in no-cors mode.`);d(this.#$,"request-no-cors")}if(N){let e=h(this.#$),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:i}of r.rawValues())e.append(t,i,!1);e.cookies=r.cookies}else l(this.#$,r)}let S=M.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===n.method||"HEAD"===n.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=s(t.body,n.keepalive);w=e,r&&!h(this.#$).contains("content-type",!0)&&this.#$.append("content-type",r,!0)}let D=w??S;if(null!=D&&null==D.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==n.mode&&"cors"!==n.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let k=D;if(null==w&&null!=S){if(a(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),k={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=k}get method(){return M.brandCheck(this,z),this.#eS.method}get url(){return M.brandCheck(this,z),k(this.#eS.url)}get headers(){return M.brandCheck(this,z),this.#$}get destination(){return M.brandCheck(this,z),this.#eS.destination}get referrer(){return(M.brandCheck(this,z),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return M.brandCheck(this,z),this.#eS.referrerPolicy}get mode(){return M.brandCheck(this,z),this.#eS.mode}get credentials(){return M.brandCheck(this,z),this.#eS.credentials}get cache(){return M.brandCheck(this,z),this.#eS.cache}get redirect(){return M.brandCheck(this,z),this.#eS.redirect}get integrity(){return M.brandCheck(this,z),this.#eS.integrity}get keepalive(){return M.brandCheck(this,z),this.#eS.keepalive}get isReloadNavigation(){return M.brandCheck(this,z),this.#eS.reloadNavigation}get isHistoryNavigation(){return M.brandCheck(this,z),this.#eS.historyNavigation}get signal(){return M.brandCheck(this,z),this.#ts}get body(){return M.brandCheck(this,z),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return M.brandCheck(this,z),!!this.#eS.body&&m.isDisturbed(this.#eS.body.stream)}get duplex(){return M.brandCheck(this,z),"half"}clone(){if(M.brandCheck(this,z),a(this.#eS))throw TypeError("unusable");let e=Z(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=P.get(this.signal);void 0===e&&(e=new Set,P.set(this.signal,e));let r=new WeakRef(t);e.add(r),m.addAbortListener(t.signal,Y(r))}return $(e,this.#Q,t.signal,g(this.#$))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${p.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#ts=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#$=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#tn?.()}}let{setRequestSignal:q,getRequestDispatcher:V,setRequestDispatcher:J,setRequestHeaders:_,getRequestState:W,setRequestState:j,removeRequestAbortListener:K}=z;function X(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function Z(e){let t=X({...e,body:null});return null!=e.body&&(t.body=o(e.body)),t}function $(e,t,r,i){let s=new z(U);j(s,e),J(s,t),q(s,r);let n=new A(U);return _(s,n),u(n,e.headersList),d(n,i),s}Reflect.deleteProperty(z,"setRequestSignal"),Reflect.deleteProperty(z,"getRequestDispatcher"),Reflect.deleteProperty(z,"setRequestDispatcher"),Reflect.deleteProperty(z,"setRequestHeaders"),Reflect.deleteProperty(z,"getRequestState"),Reflect.deleteProperty(z,"setRequestState"),Reflect.deleteProperty(z,"removeRequestAbortListener"),n(z,W),Object.defineProperties(z.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),M.is.Request=M.util.MakeTypeAssertion(z),M.converters.RequestInfo=function(e){return"string"==typeof e?M.converters.USVString(e):M.is.Request(e)?e:M.converters.USVString(e)},M.converters.RequestInit=M.dictionaryConverter([{key:"method",converter:M.converters.ByteString},{key:"headers",converter:M.converters.HeadersInit},{key:"body",converter:M.nullableConverter(M.converters.BodyInit)},{key:"referrer",converter:M.converters.USVString},{key:"referrerPolicy",converter:M.converters.DOMString,allowedValues:y},{key:"mode",converter:M.converters.DOMString,allowedValues:N},{key:"credentials",converter:M.converters.DOMString,allowedValues:b},{key:"cache",converter:M.converters.DOMString,allowedValues:S},{key:"redirect",converter:M.converters.DOMString,allowedValues:Q},{key:"integrity",converter:M.converters.DOMString},{key:"keepalive",converter:M.converters.boolean},{key:"signal",converter:M.nullableConverter(e=>M.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:M.converters.any},{key:"duplex",converter:M.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:M.converters.any},{key:"priority",converter:M.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:z,makeRequest:X,fromInnerRequest:$,cloneRequest:Z,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:K}},165(e,t,r){let{Headers:i,HeadersList:s,fill:n,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:g,bodyUnusable:u}=r(4626),h=r(1210),m=r(7975),{kEnumerableProperty:p}=h,{isValidReasonPhrase:C,isCancelled:I,isAborted:E,isErrorLike:f,environmentSettingsObject:B}=r(638),{redirectStatusSet:y,nullBodyStatus:Q}=r(6113),{webidl:N}=r(849),{URLSerializer:b}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:D,serializeJavascriptValueToJSONString:x}=r(5358),R=new TextEncoder("utf-8");class M{#$;#eS;static error(){return G(H(),"immutable")}static json(e,t){N.argumentLengthCheck(arguments,1,"Response.json"),t=N.converters.ResponseInit(t);let r=l(R.encode(x(e))),i=G(L({}),"response");return Y(i,t,{body:r[0],type:"application/json"}),i}static redirect(e,t=302){let r;N.argumentLengthCheck(arguments,1,"Response.redirect"),e=N.converters.USVString(e),t=N.converters["unsigned short"](t);try{r=new URL(e,B.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!y.has(t))throw RangeError(`Invalid status code ${t}`);let i=G(L({}),"immutable");i.#eS.status=t;let s=D(b(r));return i.#eS.headersList.append("location",s,!0),i}constructor(e=null,t){if(N.util.markAsUncloneable(this),e===S)return;null!==e&&(e=N.converters.BodyInit(e,"Response","body")),t=N.converters.ResponseInit(t),this.#eS=L({}),this.#$=new i(S),a(this.#$,"response"),A(this.#$,this.#eS.headersList);let r=null;if(null!=e){let[t,i]=l(e);r={body:t,type:i}}Y(this,t,r)}get type(){return N.brandCheck(this,M),this.#eS.type}get url(){N.brandCheck(this,M);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":b(t,!0)}get redirected(){return N.brandCheck(this,M),this.#eS.urlList.length>1}get status(){return N.brandCheck(this,M),this.#eS.status}get ok(){return N.brandCheck(this,M),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return N.brandCheck(this,M),this.#eS.statusText}get headers(){return N.brandCheck(this,M),this.#$}get body(){return N.brandCheck(this,M),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return N.brandCheck(this,M),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(N.brandCheck(this,M),u(this.#eS))throw N.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&g.register(this,new WeakRef(this.#eS.body.stream)),G(e,o(this.#$))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#$}static setResponseHeaders(e,t){e.#$=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:k,setResponseHeaders:U,getResponseState:F,setResponseState:v}=M;function T(e){if(e.internalResponse)return P(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new s(e?.headersList):new s,urlList:e?.urlList?[...e.urlList]:[]}}function H(e){return L({type:"error",status:0,error:f(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function O(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,i)=>(w(!(r in t)),e[r]=i,!0)})}function P(e,t){return"basic"===t?O(e,{type:"basic",headersList:e.headersList}):"cors"===t?O(e,{type:"cors",headersList:e.headersList}):"opaque"===t?O(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?O(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!C(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(F(e).status=t.status),"statusText"in t&&null!=t.statusText&&(F(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&n(k(e),t.headers),r){if(Q.includes(e.status))throw N.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});F(e).body=r.body,null==r.type||F(e).headersList.contains("content-type",!0)||F(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new M(S);v(r,e);let s=new i(S);return U(r,s),A(s,e.headersList),a(s,t),0!==e.urlList.length&&e.body?.stream&&g.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(M,"getResponseHeaders"),Reflect.deleteProperty(M,"setResponseHeaders"),Reflect.deleteProperty(M,"getResponseState"),Reflect.deleteProperty(M,"setResponseState"),d(M,F),Object.defineProperties(M.prototype,{type:p,url:p,status:p,ok:p,redirected:p,statusText:p,headers:p,clone:p,body:p,bodyUsed:p,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(M,{json:p,redirect:p,error:p}),N.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?N.converters.USVString(e,t,r):N.is.Blob(e)||N.is.BufferSource(e)||N.is.FormData(e)||N.is.URLSearchParams(e)?e:N.converters.DOMString(e,t,r)},N.converters.BodyInit=function(e,t,r){return N.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:N.converters.XMLHttpRequestBodyInit(e,t,r)},N.converters.ResponseInit=N.dictionaryConverter([{key:"status",converter:N.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:N.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:N.converters.HeadersInit}]),N.is.Response=N.util.MakeTypeAssertion(M),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:H,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(I(e)),E(e)?H(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):H(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:P,Response:M,cloneResponse:T,fromInnerResponse:G,getResponseState:F}},638(e,t,r){let{Transform:i}=r(7075),s=r(8522),{redirectStatusSet:n,referrerPolicyTokens:o,badPortsSet:a}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:g,isValidHTTPToken:u,normalizedMethodRecordsBase:h}=r(1210),m=r(4589),{isUint8Array:p}=r(3429),{webidl:C}=r(849),{isomorphicEncode:I,collectASequenceOfCodePoints:E,removeChars:f}=r(5358);function B(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function y(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function N(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function b(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(m(C.is.URL(e)),v(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),D=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function x(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),D(e)):w(e)}function R(e){var t;return!!C.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||x(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function M(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let k=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function U(e,t,r=0,i=1){class s{#to;#ta;#tA;constructor(e,t){this.#to=e,this.#ta=t,this.#tA=0}next(){let s;if("object"!=typeof this||this===null||!(#to in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let n=this.#tA,o=t(this.#to);if(n>=o.length)return{value:void 0,done:!0};let{[r]:a,[i]:A}=o[n];switch(this.#tA=n+1,this.#ta){case"key":s=a;break;case"value":s=A;break;case"key+value":s=[a,A]}return{value:s,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,k),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new s(e,t)}}async function F(e,t,r){try{let i=[],s=0;for(;;){let{done:n,value:o}=await e.read();if(n)return void t(Buffer.concat(i,s));if(!p(o))return void r(TypeError("Received non-Uint8Array chunk"));i.push(o),s+=o.length}}catch(e){r(e)}}function v(e){m("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){m("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class H extends i{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?s.createInflate(this.#tl):s.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function O(e,t){let r=t.get(e,!0);if(null===r)return null;let i={position:0},s=[],n="";for(;i.position<r.length;){if(n+=E(e=>'"'!==e&&","!==e,r,i),i.position<r.length)if(34===r.charCodeAt(i.position)){if(n+=l(r,i),i.position<r.length)continue}else m(44===r.charCodeAt(i.position)),i.position++;n=f(n,!0,!0,e=>9===e||32===e),s.push(n),n=""}return s}class P{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=b()}class Y{settingsObject=new P}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:y,ReadableStreamFrom:g,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;m(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else C.is.URL(e.referrer)&&(r=e.referrer);let i=S(r),s=S(r,!0);switch(i.toString().length>4096&&(i=s),t){case"no-referrer":return"no-referrer";case"origin":if(null!=s)return s;return S(r,!0);case"unsafe-url":return i;case"strict-origin":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return s}case"strict-origin-when-cross-origin":{let t=Q(e);if(M(i,t))return i;if(R(i)&&!R(t))return"no-referrer";return s}case"same-origin":if(M(e,i))return i;return"no-referrer";case"origin-when-cross-origin":if(M(e,i))return i;return s;case"no-referrer-when-downgrade":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return i}}},makePolicyContainer:b,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":M(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let i=t[e-1].trim();if(o.has(i)){r=i;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:u,requestBadPort:function(e){let t=Q(e);return L(t)&&a.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:B,responseLocationURL:function(e,t){var r;if(!n.has(e.status))return null;let i=e.headersList.get("location",!0);return null!==i&&N(i)&&(y(i)||(r=i,i=Buffer.from(r,"binary").toString("utf8")),i=new URL(i,B(e))),i&&!i.hash&&(i.hash=t),i},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:M,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,i=0,s=1){let n=U(e,r,i,s),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,i=globalThis){if(C.brandCheck(this,t),C.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of n(this,"key+value"))r.call(i,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})},createIterator:U,isValidHeaderName:u,isValidHeaderValue:N,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let i=e.stream.getReader();F(i,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:v,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:F,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&E(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&E(e=>" "===e||" "===e,e,r);let i=E(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),s=i.length?Number(i):null;if(t&&E(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&E(e=>" "===e||" "===e,e,r);let n=E(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),o=n.length?Number(n):null;return r.position<e.length||null===o&&null===s||null!==s&&null!==o&&s>o?"failure":{rangeStartValue:s,rangeEndValue:o}},buildContentRange:function(e,t,r){let i="bytes ";return i+=I(`${e}`),i+="-",i+=I(`${t}`),i+="/",i+=I(`${r}`)},createInflate:function(e){return new H(e)},extractMimeType:function(e){let t=null,r=null,i=null,s=O("content-type",e);if(null===s)return"failure";for(let e of s){let s=c(e);"failure"!==s&&"*/*"!==s.essence&&((i=s).essence!==r?(t=null,i.parameters.has("charset")&&(t=i.parameters.get("charset")),r=i.essence):i.parameters.has("charset")||null===t||i.parameters.set("charset",t))}return null==i?"failure":i},getDecodeSplit:O,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:x,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let i=r(4589),{utf8DecodeBytes:s}=r(2718),n=/[\u0009\u000A\u000C\u000D\u0020]/g;function o(e){return 9===e||10===e||12===e||13===e||32===e}let a=/[^\x00-\xFF]/;function A(e,t,r,i){let s=0,n=e.length-1;if(t)for(;s<e.length&&i(e.charCodeAt(s));)s++;if(r)for(;n>0&&i(e.charCodeAt(n));)n--;return 0===s&&n===e.length-1?e:e.slice(s,n+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let i="";for(;r.position<t.length&&e(t[r.position]);)i+=t[r.position],r.position++;return i},collectASequenceOfCodePointsFast:function(e,t,r){let i=t.indexOf(e,r.position),s=r.position;return -1===i?(r.position=t.length,t.slice(s)):(r.position=i,t.slice(s,r.position))},forgivingBase64:function(e){let t=(e=e.replace(n,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:o,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",i=0,s=65535;for(;i<t;)i+s>t&&(s=t-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+=s));return r},isomorphicEncode:function(e){return i(!a.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(s(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,o)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return i("string"==typeof t),t}}},2300(e,t,r){let i,s=r(4589),{runtimeFeatures:n}=r(6979),o=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(n.has("crypto")){let e=(i=r(7598)).getHashes();for(let t of(0===e.length&&o.clear(),o.keys()))!1===e.includes(t)&&o.delete(t)}else o.clear();let a=Map.prototype.get.bind(o),A=Map.prototype.has.bind(o),l=!1===n.has("crypto")||0===o.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,i=t.val;if(u(g(r,e),i))return!0}return!1};function c(e){let t=[],r=null;for(let i of e){if(s(A(i.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(i),r=i;continue}let e=a(r.alg),n=a(i.alg);n<e||(n>e?(r=i,t[0]=i,t.length=1):t.push(i))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],i="",s=[e.slice(0,6),e.slice(7)],n=s[0];if(!A(n))continue;s[1]&&(i=s[1]);let o={alg:n,val:i};t.push(o)}return t}let g=(e,t)=>i.hash(e,t,"base64");function u(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let i=t.length;if(0!==i&&"="===t[i-1]&&(i-=1),0!==i&&"="===t[i-1]&&(i-=1),r!==i)return!1;for(let i=0;i<r;++i)if(e[i]!==t[i]&&("+"!==e[i]||"-"!==t[i])&&("/"!==e[i]||"_"!==t[i]))return!1;return!0}e.exports={applyAlgorithmToBytes:g,bytesMatch:l,caseSensitiveMatch:u,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let i=r(4589),{types:s,inspect:n}=r(7975),{markAsUncloneable:o}=r(5919),a=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!a(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>a(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=o,A.util.ConvertToInt=function(e,t,r,i){let s,n;64===t?(s=0x1fffffffffffff,n="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(n=0,s=Math.pow(2,t)-1):(n=-Math.pow(2,t-1),s=Math.pow(2,t-1)-1);let o=Number(e);if(0===o&&(o=0),A.util.HasFlag(i,A.attributes.EnforceRange)){if(Number.isNaN(o)||o===1/0||o===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((o=A.util.IntegerPart(o))<n||o>s)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${n}-${s}, got ${o}.`});return o}return!Number.isNaN(o)&&A.util.HasFlag(i,A.attributes.Clamp)?o=Math.floor(o=Math.min(Math.max(o,n),s))%2==0?Math.floor(o):Math.ceil(o):Number.isNaN(o)||0===o&&Object.is(0,o)||o===1/0||o===-1/0?0:(o=A.util.IntegerPart(o)%Math.pow(2,t),"signed"===r&&o>=Math.pow(2,t-1))?o-Math.pow(2,t):o},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return n(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(s.isArrayBuffer(e))return e.resizable;if(s.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,i,s)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${i} (${A.util.Stringify(t)}) is not iterable.`});let n="function"==typeof s?s():t?.[Symbol.iterator]?.(),o=[],a=0;if(void 0===n||"function"!=typeof n.next)throw A.errors.exception({header:r,message:`${i} is not iterable.`});for(;;){let{done:t,value:s}=n.next();if(t)break;o.push(e(s,r,`${i}[${a++}]`))}return o}},A.recordConverter=function(e,t){return(r,i,n)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:i,message:`${n} ("${A.util.TypeValueToString(r)}") is not an Object.`});let o={};if(!s.isProxy(r)){for(let s of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let a=A.util.Stringify(s),l=e(s,i,`Key ${a} in ${n}`),c=t(r[s],i,`${n}[${a}]`);o[l]=c}return o}for(let s of Reflect.ownKeys(r)){let a=Reflect.getOwnPropertyDescriptor(r,s);if(a?.enumerable){let a=e(s,i,n),A=t(r[s],i,n);o[a]=A}}return o}},A.interfaceConverter=function(e,t){return(r,i,s)=>{if(!e(r))throw A.errors.exception({header:i,message:`Expected ${s} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,i)=>{let s={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let n of e){let{key:e,defaultValue:o,required:a,converter:l}=n;if(!0===a&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==o;if(d&&void 0===c&&(c=o()),a||d||void 0!==c){if(c=l(c,r,`${i}.${e}`),n.allowedValues&&!n.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`});s[e]=c}}return s}},A.nullableConverter=function(e){return(t,r,i)=>null===t?t:e(t,r,i)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return s.isArrayBuffer(e)||ArrayBuffer.isView(e)&&s.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,n=0;if(s.isTypedArray(e)||s.isDataView(e)?(t=e.buffer,r=e.byteOffset):i(s.isAnyArrayBuffer(e)),n=e.byteLength,t.detached)return new Uint8Array(0);let o=new Uint8Array(n),a=new Uint8Array(t,r,n);return o.set(a),o},A.converters.DOMString=function(e,t,r,i){if(null===e&&A.util.HasFlag(i,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let i=String(e);for(let e=0;e<i.length;e++)if(i.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${i.charCodeAt(e)} which is greater than 255.`);return i},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,i){return A.util.ConvertToInt(e,16,"unsigned",i,t,r)},A.converters.ArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,i,n){if(8!==A.util.Type(e)||!s.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${i} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(n,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,i){if(s.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(s.isArrayBufferView(e))return i&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);if(s.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,i){if(s.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(s.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,i);if(s.isArrayBufferView(e))return i|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:i,states:s,sentCloseFrameState:n,emptyBuffer:o,opcodes:a}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:g,validateCloseCodeAndReason:u}=r(3927),{makeRequest:h}=r(9553),{fetching:m}=r(7564),{Headers:p,getHeadersList:C}=r(3470),{getDecodeSplit:I}=r(638),{WebsocketFrameSend:E}=r(4018),f=r(4589),{runtimeFeatures:B}=r(6979),y=B.has("crypto")?r(7598):null,Q=!1;function N(e,t,r,i=!1){if(t??=null,r??="",i&&u(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(n.SENT)||e.closeState.has(n.RECEIVED))e.readyState=s.CLOSING;else{let i=new E;0!==r.length&&null===t&&(t=1e3),f(null===t||Number.isInteger(t)),null===t&&0===r.length?i.frameData=o:null!==t&&null===r?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(i.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=o,e.socket.write(i.createFrame(a.CLOSE)),e.closeState.add(n.SENT),e.readyState=s.CLOSING}else b(e),e.readyState=s.CLOSING}function b(e,t,r,i){d(e.readyState)&&N(e,t,r,!1),e.controller.abort(),g(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,s,n){e.protocol="ws:"===e.protocol?"http:":"https:";let o=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});n.headers&&(o.headersList=C(new p(n.headers)));let a=y.randomBytes(16).toString("base64");for(let e of(o.headersList.append("sec-websocket-key",a,!0),o.headersList.append("sec-websocket-version","13",!0),t))o.headersList.append("sec-websocket-protocol",e,!0);return o.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),m({request:o,useParallelQueue:!0,dispatcher:n.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void b(s,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void b(s,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void b(s,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void b(s,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void b(s,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==y.hash("sha1",a+i,"base64"))return void b(s,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let n=e.headersList.get("Sec-WebSocket-Extensions");if(null!==n&&!(r=A(n)).has("permessage-deflate"))return void b(s,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||I("sec-websocket-protocol",o.headersList).includes(l)?(e.socket.on("data",s.onSocketData),e.socket.on("close",s.onSocketClose),e.socket.on("error",s.onSocketError),s.wasEverConnected=!0,s.onConnectionEstablished(e,r)):b(s,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:b,closeWebSocketConnection:N}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:i}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:n}=r(3025);class o extends Event{#tc;constructor(e,t={}){if(e===n){super(arguments[1],arguments[2]),i.util.markAsUncloneable(this);return}let r="MessageEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,i.util.markAsUncloneable(this)}get data(){return i.brandCheck(this,o),this.#tc.data}get origin(){return i.brandCheck(this,o),this.#tc.origin}get lastEventId(){return i.brandCheck(this,o),this.#tc.lastEventId}get source(){return i.brandCheck(this,o),this.#tc.source}get ports(){return i.brandCheck(this,o),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,s=null,n="",a="",A=null,l=[]){return i.brandCheck(this,o),i.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new o(e,{bubbles:t,cancelable:r,data:s,origin:n,lastEventId:a,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new o(n,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:a}=o;delete o.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.CloseEventInit(t)),this.#tc=t,i.util.markAsUncloneable(this)}get wasClean(){return i.brandCheck(this,A),this.#tc.wasClean}get code(){return i.brandCheck(this,A),this.#tc.code}get reason(){return i.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e,t),i.util.markAsUncloneable(this),e=i.converters.DOMString(e,r,"type"),t=i.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return i.brandCheck(this,l),this.#tc.message}get filename(){return i.brandCheck(this,l),this.#tc.filename}get lineno(){return i.brandCheck(this,l),this.#tc.lineno}get colno(){return i.brandCheck(this,l),this.#tc.colno}get error(){return i.brandCheck(this,l),this.#tc.error}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:s,origin:s,lastEventId:s,source:s,ports:s,initMessageEvent:s}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:s,code:s,wasClean:s}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:s,filename:s,lineno:s,colno:s,error:s}),i.converters.MessagePort=i.interfaceConverter(i.is.MessagePort,"MessagePort"),i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);let c=[{key:"bubbles",converter:i.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:i.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:i.converters.boolean,defaultValue:()=>!1}];i.converters.MessageEventInit=i.dictionaryConverter([...c,{key:"data",converter:i.converters.any,defaultValue:()=>null},{key:"origin",converter:i.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:()=>""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:i.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),i.converters.CloseEventInit=i.dictionaryConverter([...c,{key:"wasClean",converter:i.converters.boolean,defaultValue:()=>!1},{key:"code",converter:i.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:i.converters.USVString,defaultValue:()=>""}]),i.converters.ErrorEventInit=i.dictionaryConverter([...c,{key:"message",converter:i.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:i.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:i.converters.any}]),e.exports={MessageEvent:o,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:a}},4018(e,t,r){let{runtimeFeatures:i}=r(6979),{maxUnsigned16Bit:s,opcodes:n}=r(7946),o=null,a=8192,A=i.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===a&&(a=0,A(o??=Buffer.allocUnsafeSlow(8192),0,8192)),[o[a++],o[a++],o[a++],o[a++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),i=t?.byteLength??0,n=i,o=6;i>s?(o+=8,n=127):i>125&&(o+=2,n=126);let a=Buffer.allocUnsafe(i+o);a[0]=a[1]=0,a[0]|=128,a[0]=(240&a[0])+e,a[o-4]=r[0],a[o-3]=r[1],a[o-2]=r[2],a[o-1]=r[3],a[1]=n,126===n?a.writeUInt16BE(i,2):127===n&&(a[2]=a[3]=0,a.writeUIntBE(i,4,6)),a[1]|=128;for(let e=0;e<i;++e)a[o+e]=t[e]^r[3&e];return a}static createFastTextFrame(e){let t=l(),r=e.length;for(let i=0;i<r;++i)e[i]^=t[3&i];let i=r,o=6;r>s?(o+=8,i=127):r>125&&(o+=2,i=126);let a=Buffer.allocUnsafeSlow(o);return a[0]=128|n.TEXT,a[1]=128|i,a[o-4]=t[0],a[o-3]=t[1],a[o-2]=t[2],a[o-1]=t[3],126===i?a.writeUInt16BE(r,2):127===i&&(a[2]=a[3]=0,a.writeUIntBE(r,4,6)),[a,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:s}=r(8522),{isValidClientWindowBits:n}=r(3927),{MessageSizeExceededError:o}=r(8065),a=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tg=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tg=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=s;if(this.#T.serverMaxWindowBits){if(!n(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=i({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tg>0&&this.#td[l]>this.#tg){r(new o),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(a),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:i}=r(7075),s=r(4589),{parserStates:n,opcodes:o,states:a,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:g,utf8Decode:u,isControlFrame:h,isTextBinaryFrame:m,isContinuationFrame:p}=r(3927),{failWebsocketConnection:C}=r(5563),{WebsocketFrameSend:I}=r(4018),{PerMessageDeflate:E}=r(959),{MessageSizeExceededError:f}=r(8065);class B extends i{#tu=[];#th=0;#tm=0;#tp=!1;#eS=n.INFO;#tC={};#tI=[];#tE;#y;#tf;#tg;constructor(e,t,r={}){super(),this.#y=e,this.#tE=null==t?new Map:t,this.#tf=r.maxFragments??0,this.#tg=r.maxPayloadSize??0,this.#tE.has("permessage-deflate")&&this.#tE.set("permessage-deflate",new E(t,r))}_write(e,t,r){this.#tu.push(e),this.#tm+=e.length,this.#tp=!0,this.run(r)}#tB(){return!(this.#tg>0)||!!h(this.#tC.opcode)||!(this.#tC.payloadLength+this.#th>this.#tg)||(C(this.#y,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tp;)if(this.#eS===n.INFO){if(this.#tm<2)return e();let t=this.consume(2),r=(128&t[0])!=0,i=15&t[0],s=(128&t[1])==128,a=!r&&i!==o.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],g=16&t[0];if(!d(i))return C(this.#y,1002,"Invalid opcode received"),e();if(s)return C(this.#y,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#tE.has("permessage-deflate"))return void C(this.#y,1002,"Expected RSV1 to be clear.");if(0!==c||0!==g)return void C(this.#y,1002,"RSV1, RSV2, RSV3 must be clear");if(a&&!m(i))return void C(this.#y,1002,"Invalid frame type was fragmented.");if(m(i)&&this.#tI.length>0)return void C(this.#y,1002,"Expected continuation frame");if(this.#tC.fragmented&&a)return void C(this.#y,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||a)&&h(i))return void C(this.#y,1002,"Control frame either too large or fragmented");if(p(i)&&0===this.#tI.length&&!this.#tC.compressed)return void C(this.#y,1002,"Unexpected continuation frame");if(A<=125){if(this.#tC.payloadLength=A,this.#eS=n.READ_DATA,!this.#tB())return}else 126===A?this.#eS=n.PAYLOADLENGTH_16:127===A&&(this.#eS=n.PAYLOADLENGTH_64);m(i)&&(this.#tC.binaryType=i,this.#tC.compressed=0!==l),this.#tC.opcode=i,this.#tC.masked=s,this.#tC.fin=r,this.#tC.fragmented=a}else if(this.#eS===n.PAYLOADLENGTH_16){if(this.#tm<2)return e();let t=this.consume(2);if(this.#tC.payloadLength=t.readUInt16BE(0),this.#eS=n.READ_DATA,!this.#tB())return}else if(this.#eS===n.PAYLOADLENGTH_64){if(this.#tm<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),i=t.readUInt32BE(4);if(0!==r||i>0x80000000-1)return void C(this.#y,1009,"Received payload length > 2^31 bytes.");if(this.#tC.payloadLength=i,this.#eS=n.READ_DATA,!this.#tB())return}else if(this.#eS===n.READ_DATA){if(this.#tm<this.#tC.payloadLength)return e();let t=this.consume(this.#tC.payloadLength);if(h(this.#tC.opcode))this.#tp=this.parseControlFrame(t),this.#eS=n.INFO;else if(this.#tC.compressed){this.#tE.get("permessage-deflate").decompress(t,this.#tC.fin,(t,r)=>{if(t){let e=t instanceof f?1009:1007;C(this.#y,e,t.message);return}if(this.writeFragments(r)){if(this.#tg>0&&this.#th>this.#tg)return void C(this.#y,1009,new f().message);if(!this.#tC.fin){this.#eS=n.INFO,this.#tp=!0,this.run(e);return}g(this.#y,this.#tC.binaryType,this.consumeFragments()),this.#tp=!0,this.#eS=n.INFO,this.run(e)}},this.#th),this.#tp=!1;break}else{if(!this.writeFragments(t))return;!this.#tC.fragmented&&this.#tC.fin&&g(this.#y,this.#tC.binaryType,this.consumeFragments()),this.#eS=n.INFO}}}consume(e){if(e>this.#tm)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tm-=e;let t=this.#tu[0];if(t.length>e)return this.#tu[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tu.shift();let r=0,i=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tu[0],s=t.length;if(s+r===e){i.set(this.#tu.shift(),r);break}if(s+r>e){i.set(t.subarray(0,e-r),r),this.#tu[0]=t.subarray(e-r);break}i.set(this.#tu.shift(),r),r+=s}return i}}writeFragments(e){return this.#tf>0&&this.#tI.length===this.#tf?(C(this.#y,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tI.push(e),!0)}consumeFragments(){let e=this.#tI;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let i=0;i<e.length;++i){let s=e[i];r.set(s,t),t+=s.length}return this.#tI=[],this.#th=0,r}parseCloseBody(e){let t;if(s(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=u(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tC;if(t===o.CLOSE){if(1===r)return C(this.#y,1002,"Received close frame with a 1-byte body."),!1;if(this.#tC.closeInfo=this.parseCloseBody(e),this.#tC.closeInfo.error){let{code:e,reason:t}=this.#tC.closeInfo;return C(this.#y,e,t),!1}if(!this.#y.closeState.has(l.SENT)&&!this.#y.closeState.has(l.RECEIVED)){let e=A;this.#tC.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tC.closeInfo.code,0);let t=new I(e);this.#y.socket.write(t.createFrame(o.CLOSE)),this.#y.closeState.add(l.SENT)}return this.#y.readyState=a.CLOSING,this.#y.closeState.add(l.RECEIVED),!1}if(t===o.PING){if(!this.#y.closeState.has(l.RECEIVED)){let t=new I(e);this.#y.socket.write(t.createFrame(o.PONG)),this.#y.onPing(e)}}else t===o.PONG&&this.#y.onPong(e);return!0}get closingInfo(){return this.#tC.closeInfo}}e.exports={ByteParser:B}},2726(e,t,r){let{WebsocketFrameSend:i}=r(4018),{opcodes:s,sendHints:n}=r(7946),o=r(9006);class a{#ty=new o;#tQ=!1;#tN;constructor(e){this.#tN=e}add(e,t,r){if(r!==n.blob){if(this.#tQ){let i={promise:null,callback:t,frame:A(e,r)};this.#ty.push(i)}else if(r===n.text){let{0:r,1:s}=i.createFastTextFrame(e);this.#tN.cork(),this.#tN.write(r),this.#tN.write(s,t),this.#tN.uncork()}else this.#tN.write(A(e,r),t);return}let s={promise:e.arrayBuffer().then(e=>{s.promise=null,s.frame=A(e,r)}),callback:t,frame:null};this.#ty.push(s),this.#tQ||this.#tb()}async #tb(){this.#tQ=!0;let e=this.#ty;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tN.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new i(function(e,t){switch(t){case n.text:case n.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case n.arrayBuffer:case n.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===n.text?s.TEXT:s.BINARY)}e.exports={SendQueue:a}},7245(e,t,r){let{webidl:i}=r(849),{validateCloseCodeAndReason:s}=r(3927),{kConstruct:n}=r(3025),{kEnumerableProperty:o}=r(1210);function a(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let i=Reflect.construct(e,t,e);return Object.setPrototypeOf(i,r.prototype),i}})}class A extends a(){#tS;#E;constructor(e="",t){if(super(e=i.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===n)return;null!==t&&(t=i.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,o=t.reason??"";s(r,o),0!==o.length&&null===r&&(r=1e3),this.#tS=r,this.#E=o}get closeCode(){return this.#tS}get reason(){return this.#E}static createUnvalidatedWebSocketError(e,t,r){let i=new A(e,n);return i.#tS=t,i.#E=r,i}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:o,reason:o,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),i.is.WebSocketError=i.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:i}=r(8474),{environmentSettingsObject:s,readableStreamClose:n}=r(638),{states:o,opcodes:a,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:g,utf8Decode:u}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:m,closeWebSocketConnection:p}=r(5563),{channels:C}=r(6708),{WebsocketFrameSend:I}=r(4018),{ByteParser:E}=r(5346),{WebSocketError:f,createUnvalidatedWebSocketError:B}=r(7245),{kEnumerableProperty:y}=r(1210),{utf8DecodeBytes:Q}=r(2718),N=!1;class b{#e4;#tw;#tD;#tx;#tR;#tM;#tk=!1;#y={onConnectionEstablished:(e,t)=>this.#tU(e,t),onMessage:(e,t)=>this.#tF(e,t),onParserError:e=>m(this.#y,null,e.message),onParserDrain:()=>this.#y.socket.resume(),onSocketData:e=>{this.#tv.write(e)||this.#y.socket.pause()},onSocketError:e=>{this.#y.readyState=o.CLOSING,C.socketError.hasSubscribers&&C.socketError.publish(e),this.#y.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:o.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tv;constructor(e,t){N||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),N=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,s.settingsObject.baseUrl),n=t.protocols;if(n.length!==new Set(n.map(e=>e.toLowerCase())).size||n.length>0&&!n.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e4=r.toString(),this.#tw=Promise.withResolvers(),this.#tD=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tD.reject(e.reason);return}i(e,()=>{g(this.#y.readyState)||(m(this.#y),this.#y.readyState=o.CLOSING,this.#tw.reject(e.reason),this.#tD.reject(e.reason),this.#tk=!0)})}let a=s.settingsObject;this.#y.controller=h(r,n,a,this.#y,t)}get url(){return this.#e4.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tD.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;p(this.#y,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,i=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),i=a.BINARY;else{let s;try{s=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(s),i=a.TEXT}if(!this.#y.closeState.has(A.SENT)&&!this.#y.closeState.has(A.RECEIVED)){let e=new I(r);this.#y.socket.write(e.createFrame(i),()=>{t.resolve(void 0)})}return t.promise}#tU(e,t){this.#y.socket=e.socket;let r=this.#y.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#y.controller.dispatcher?.webSocketOptions?.maxPayloadSize,s=new E(this.#y,t,{maxFragments:r,maxPayloadSize:i});s.on("drain",()=>this.#y.onParserDrain()),s.on("error",e=>this.#y.onParserError(e)),this.#tv=s,this.#y.readyState=o.OPEN;let n=t??"",a=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tH(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>p(this.#y,null,null),abort:e=>this.#tO(e)});this.#tx=A,this.#tM=l,this.#tw.resolve({extensions:n,protocol:a,readable:A,writable:l})}#tF(e,t){let r;if(this.#y.readyState===o.OPEN){if(e===a.TEXT)try{r=u(t)}catch{m(this.#y,1007,"Received invalid UTF-8 in text frame.");return}else e===a.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#y.closeState.has(A.SENT)&&this.#y.closeState.has(A.RECEIVED);if(this.#y.readyState=o.CLOSED,this.#tk)return;this.#y.wasEverConnected||this.#tw.reject(new f("Socket never opened"));let t=this.#tv?.closingInfo,r=t?.code??1005;this.#y.closeState.has(A.SENT)||this.#y.closeState.has(A.RECEIVED)||(r=1006);let i=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)n(this.#tR),this.#tM.locked||this.#tM.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tD.resolve({closeCode:r,reason:i});else{let e=B("unclean close",r,i);this.#tR?.error(e),this.#tM?.abort(e),this.#tD.reject(e)}}#tO(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),p(this.#y,t,r)}#tH(e){this.#tO(e)}}Object.defineProperties(b.prototype,{url:y,opened:y,closed:y,close:y,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:b}},3927(e,t,r){let{states:i,opcodes:s}=r(7946),{isUtf8:n}=r(4573),{removeHTTPWhitespace:o}=r(3518),{collectASequenceOfCodePointsFast:a}=r(5358);function A(e){return e===s.CLOSE||e===s.PING||e===s.PONG}function l(e){return e===s.CONTINUATION}function c(e){return e===s.TEXT||e===s.BINARY}e.exports={isConnecting:function(e){return e===i.CONNECTING},isEstablished:function(e){return e===i.OPEN},isClosing:function(e){return e===i.CLOSING},isClosed:function(e){return e===i.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),i={}){let s=r(e,i);t.dispatchEvent(s)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(n(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[i,s=""]=a(";",e,t).split("=",2);r.set(o(i,!0,!1),o(s,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:i}=r(3429),{webidl:s}=r(849),{URLSerializer:n}=r(3518),{environmentSettingsObject:o}=r(638),{staticPropertyDescriptors:a,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:g,isEstablished:u,isClosing:h,isClosed:m,isValidSubprotocol:p,fireEvent:C,utf8Decode:I,toArrayBuffer:E,getURLRecord:f}=r(3927),{establishWebSocketConnection:B,closeWebSocketConnection:y,failWebsocketConnection:Q}=r(5563),{ByteParser:N}=r(5346),{kEnumerableProperty:b}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:D,createFastMessageEvent:x}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:M}=r(4018),{channels:k}=r(6708);class U extends EventTarget{#e5={open:null,error:null,close:null,message:null};#tP=0;#tY="";#tE="";#tG;#y={onConnectionEstablished:(e,t)=>this.#tU(e,t),onMessage:(e,t)=>this.#tF(e,t),onParserError:e=>Q(this.#y,null,e.message),onParserDrain:()=>this.#tz(),onSocketData:e=>{this.#tv.write(e)||this.#y.socket.pause()},onSocketError:e=>{this.#y.readyState=A.CLOSING,k.socketError.hasSubscribers&&k.socketError.publish(e),this.#y.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{k.ping.hasSubscribers&&k.ping.publish({payload:e,websocket:this})},onPong:e=>{k.pong.hasSubscribers&&k.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e4;#tq;#tv;constructor(e,t=[]){super(),s.util.markAsUncloneable(this);let r="WebSocket constructor";s.argumentLengthCheck(arguments,1,r);let i=s.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=s.converters.USVString(e),t=i.protocols;let n=f(e,o.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>p(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e4=new URL(n.href);let a=o.settingsObject;this.#y.controller=B(n,t,a,this.#y,i),this.#y.readyState=U.CONNECTING,this.#tq="blob"}close(e,t){s.brandCheck(this,U),void 0!==e&&(e=s.converters["unsigned short"](e,"WebSocket.close","code",s.attributes.Clamp)),void 0!==t&&(t=s.converters.USVString(t)),e??=null,t??="",y(this.#y,e,t,!0)}send(e){s.brandCheck(this,U);let t="WebSocket.send";if(s.argumentLengthCheck(arguments,1,t),e=s.converters.WebSocketSendData(e,t,"data"),g(this.#y.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!u(this.#y.readyState)||h(this.#y.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tP+=t.byteLength,this.#tG.add(t,()=>{this.#tP-=t.byteLength},c.text)}else i(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.typedArray)):s.is.Blob(e)&&(this.#tP+=e.size,this.#tG.add(e,()=>{this.#tP-=e.size},c.blob))}get readyState(){return s.brandCheck(this,U),this.#y.readyState}get bufferedAmount(){return s.brandCheck(this,U),this.#tP}get url(){return s.brandCheck(this,U),n(this.#e4)}get extensions(){return s.brandCheck(this,U),this.#tE}get protocol(){return s.brandCheck(this,U),this.#tY}get onopen(){return s.brandCheck(this,U),this.#e5.open}set onopen(e){s.brandCheck(this,U),this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onerror(){return s.brandCheck(this,U),this.#e5.error}set onerror(e){s.brandCheck(this,U),this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}get onclose(){return s.brandCheck(this,U),this.#e5.close}set onclose(e){s.brandCheck(this,U),this.#e5.close&&this.removeEventListener("close",this.#e5.close);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e5.close=e):this.#e5.close=null}get onmessage(){return s.brandCheck(this,U),this.#e5.message}set onmessage(e){s.brandCheck(this,U),this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get binaryType(){return s.brandCheck(this,U),this.#tq}set binaryType(e){s.brandCheck(this,U),"blob"!==e&&"arraybuffer"!==e?this.#tq="blob":this.#tq=e}#tU(e,t){this.#y.socket=e.socket;let r=this.#y.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#y.controller.dispatcher?.webSocketOptions?.maxPayloadSize,s=new N(this.#y,t,{maxFragments:r,maxPayloadSize:i});s.on("drain",()=>this.#y.onParserDrain()),s.on("error",e=>this.#y.onParserError(e)),this.#tv=s,this.#tG=new R(e.socket),this.#y.readyState=A.OPEN;let n=e.headersList.get("sec-websocket-extensions");null!==n&&(this.#tE=n);let o=e.headersList.get("sec-websocket-protocol");if(null!==o&&(this.#tY=o),C("open",this),k.open.hasSubscribers){var a;let t=e.headersList.entries;k.open.publish({address:(a=e.socket,"function"==typeof a?.address?a.address():"function"==typeof a?.session?.socket?.address?a.session.socket.address():null),protocol:this.#tY,extensions:this.#tE,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tF(e,t){let r;if(this.#y.readyState===A.OPEN){if(e===d.TEXT)try{r=I(t)}catch{Q(this.#y,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tq?new Blob([t]):E(t));C("message",this,x,{origin:this.#e4.origin,data:r})}}#tz(){this.#y.socket.resume()}#tT(){let e=this.#y.closeState.has(l.SENT)&&this.#y.closeState.has(l.RECEIVED),t=1005,r="",i=this.#tv?.closingInfo;i&&!i.error&&(t=i.code??1005,r=i.reason),this.#y.readyState=A.CLOSED,this.#y.closeState.has(l.RECEIVED)||(t=1006,C("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),C("close",this,(e,t)=>new D(e,t),{wasClean:e,code:t,reason:r}),k.close.hasSubscribers&&k.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#y.readyState;if(u(r)&&!h(r)&&!m(r)){let r=new M(t);e.#y.socket.write(r.createFrame(d.PING))}}}let{ping:F}=U;Reflect.deleteProperty(U,"ping"),U.CONNECTING=U.prototype.CONNECTING=A.CONNECTING,U.OPEN=U.prototype.OPEN=A.OPEN,U.CLOSING=U.prototype.CLOSING=A.CLOSING,U.CLOSED=U.prototype.CLOSED=A.CLOSED,Object.defineProperties(U.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(U,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),s.converters["sequence<DOMString>"]=s.sequenceConverter(s.converters.DOMString),s.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return s.util.Type(e)===s.util.Types.OBJECT&&Symbol.iterator in e?s.converters["sequence<DOMString>"](e):s.converters.DOMString(e,t,r)},s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:s.converters.any,defaultValue:()=>S()},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]),s.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return s.util.Type(e)!==s.util.Types.OBJECT||Symbol.iterator in e?{protocols:s.converters["DOMString or sequence<DOMString>"](e)}:s.converters.WebSocketInit(e)},s.converters.WebSocketSendData=function(e){return s.util.Type(e)===s.util.Types.OBJECT&&(s.is.Blob(e)||s.is.BufferSource(e))?e:s.converters.USVString(e)},e.exports={WebSocket:U,ping:F}},2613(e){e.exports=i("assert")},4434(e){e.exports=i("events")},8611(e){e.exports=i("http")},5692(e){e.exports=i("https")},9278(e){e.exports=i("net")},4589(e){e.exports=i("node:assert")},6698(e){e.exports=i("node:async_hooks")},4573(e){e.exports=i("node:buffer")},7540(e){e.exports=i("node:console")},7598(e){e.exports=i("node:crypto")},3053(e){e.exports=i("node:diagnostics_channel")},610(e){e.exports=i("node:dns")},8474(e){e.exports=i("node:events")},1455(e){e.exports=i("node:fs/promises")},7067(e){e.exports=i("node:http")},2467(e){e.exports=i("node:http2")},7030(e){e.exports=i("node:net")},6760(e){e.exports=i("node:path")},643(e){e.exports=i("node:perf_hooks")},1792(e){e.exports=i("node:querystring")},99(e){e.exports=i("node:sqlite")},7075(e){e.exports=i("node:stream")},7830(e){e.exports=i("node:stream/web")},7997(e){e.exports=i("node:timers")},1692(e){e.exports=i("node:tls")},3136(e){e.exports=i("node:url")},7975(e){e.exports=i("node:util")},3429(e){e.exports=i("node:util/types")},5919(e){e.exports=i("node:worker_threads")},8522(e){e.exports=i("node:zlib")},857(e){e.exports=i("os")},4756(e){e.exports=i("tls")},2018(e){e.exports=i("tty")},7016(e){e.exports=i("url")},9023(e){e.exports=i("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return s[e].call(r.exports,r,r.exports,o),r.exports}o.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{let e,t,r,s,n,a,A,l,c,d,g,u,h,m,p,C,I,E,f,B,y,Q,N,b,S,w,D,x,R,M,k,U;var F,v,T,L,H,O,P,Y,G,z,q,V,J,_,W,j,K,X,Z,$,ee,et,er,ei,es,en,eo,ea,eA,el,ec,ed,eg,eu,eh,em,ep,eC,eI,eE,ef={};o.r(ef),o.d(ef,{Do:()=>iD,all:()=>ic,andThen:()=>ie,as:()=>r8,asVoid:()=>r9,bind:()=>iw,bindTo:()=>ib,composeK:()=>io,contains:()=>iQ,containsWith:()=>iy,exists:()=>iN,filter:()=>ip,filterMap:()=>im,firstSomeOf:()=>rj,flatMap:()=>r7,flatMapNullishOr:()=>it,flatten:()=>ir,fromIterable:()=>rG,fromNullOr:()=>rZ,fromNullishOr:()=>rK,fromUndefinedOr:()=>rX,gen:()=>ix,getFailure:()=>rq,getOrElse:()=>rV,getOrNull:()=>r0,getOrThrow:()=>r5,getOrThrowWith:()=>r3,getOrUndefined:()=>r1,getSuccess:()=>rz,isNone:()=>rH,isOption:()=>rL,isSome:()=>rO,let:()=>iS,lift2:()=>iE,liftNullishOr:()=>r$,liftPredicate:()=>iB,liftThrowable:()=>r2,makeCombinerFailFast:()=>iM,makeEquivalence:()=>iC,makeOrder:()=>iI,makeReducer:()=>iR,makeReducerFailFast:()=>ik,map:()=>r4,match:()=>rP,none:()=>rv,orElse:()=>rJ,orElseResult:()=>rW,orElseSome:()=>r_,partitionMap:()=>ih,product:()=>iA,productMany:()=>il,reduceCompact:()=>ig,some:()=>rT,tap:()=>ia,toArray:()=>iu,toRefinement:()=>rY,void:()=>r6,zipLeft:()=>is,zipRight:()=>ii,zipWith:()=>id});var eB={};o.r(eB),o.d(eB,{AccessPolicy:()=>Es,AppendBlobAppendBlockExceptionHeaders:()=>BE,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>BB,AppendBlobAppendBlockFromUrlHeaders:()=>Bf,AppendBlobAppendBlockHeaders:()=>BI,AppendBlobCreateExceptionHeaders:()=>BC,AppendBlobCreateHeaders:()=>Bp,AppendBlobSealExceptionHeaders:()=>BQ,AppendBlobSealHeaders:()=>By,ArrowConfiguration:()=>EN,ArrowField:()=>Eb,BlobAbortCopyFromURLExceptionHeaders:()=>fX,BlobAbortCopyFromURLHeaders:()=>fK,BlobAcquireLeaseExceptionHeaders:()=>fv,BlobAcquireLeaseHeaders:()=>fF,BlobBreakLeaseExceptionHeaders:()=>fz,BlobBreakLeaseHeaders:()=>fG,BlobChangeLeaseExceptionHeaders:()=>fY,BlobChangeLeaseHeaders:()=>fP,BlobCopyFromURLExceptionHeaders:()=>fj,BlobCopyFromURLHeaders:()=>fW,BlobCreateSnapshotExceptionHeaders:()=>fV,BlobCreateSnapshotHeaders:()=>fq,BlobDeleteExceptionHeaders:()=>fE,BlobDeleteHeaders:()=>fI,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>fx,BlobDeleteImmutabilityPolicyHeaders:()=>fD,BlobDownloadExceptionHeaders:()=>fm,BlobDownloadHeaders:()=>fh,BlobFlatListSegment:()=>Eo,BlobGetAccountInfoExceptionHeaders:()=>f1,BlobGetAccountInfoHeaders:()=>f0,BlobGetPropertiesExceptionHeaders:()=>fC,BlobGetPropertiesHeaders:()=>fp,BlobGetTagsExceptionHeaders:()=>f4,BlobGetTagsHeaders:()=>f5,BlobHierarchyListSegment:()=>Ed,BlobItemInternal:()=>Ea,BlobName:()=>EA,BlobPrefix:()=>Eg,BlobPropertiesInternal:()=>El,BlobQueryExceptionHeaders:()=>f3,BlobQueryHeaders:()=>f2,BlobReleaseLeaseExceptionHeaders:()=>fL,BlobReleaseLeaseHeaders:()=>fT,BlobRenewLeaseExceptionHeaders:()=>fO,BlobRenewLeaseHeaders:()=>fH,BlobServiceProperties:()=>Ij,BlobServiceStatistics:()=>I2,BlobSetExpiryExceptionHeaders:()=>fQ,BlobSetExpiryHeaders:()=>fy,BlobSetHttpHeadersExceptionHeaders:()=>fb,BlobSetHttpHeadersHeaders:()=>fN,BlobSetImmutabilityPolicyExceptionHeaders:()=>fw,BlobSetImmutabilityPolicyHeaders:()=>fS,BlobSetLegalHoldExceptionHeaders:()=>fM,BlobSetLegalHoldHeaders:()=>fR,BlobSetMetadataExceptionHeaders:()=>fU,BlobSetMetadataHeaders:()=>fk,BlobSetTagsExceptionHeaders:()=>f9,BlobSetTagsHeaders:()=>f8,BlobSetTierExceptionHeaders:()=>f$,BlobSetTierHeaders:()=>fZ,BlobStartCopyFromURLExceptionHeaders:()=>f_,BlobStartCopyFromURLHeaders:()=>fJ,BlobTag:()=>Er,BlobTags:()=>Et,BlobUndeleteExceptionHeaders:()=>fB,BlobUndeleteHeaders:()=>ff,Block:()=>Em,BlockBlobCommitBlockListExceptionHeaders:()=>BU,BlockBlobCommitBlockListHeaders:()=>Bk,BlockBlobGetBlockListExceptionHeaders:()=>Bv,BlockBlobGetBlockListHeaders:()=>BF,BlockBlobPutBlobFromUrlExceptionHeaders:()=>Bw,BlockBlobPutBlobFromUrlHeaders:()=>BS,BlockBlobStageBlockExceptionHeaders:()=>Bx,BlockBlobStageBlockFromURLExceptionHeaders:()=>BM,BlockBlobStageBlockFromURLHeaders:()=>BR,BlockBlobStageBlockHeaders:()=>BD,BlockBlobUploadExceptionHeaders:()=>Bb,BlockBlobUploadHeaders:()=>BN,BlockList:()=>Eh,BlockLookupList:()=>Eu,ClearRange:()=>EI,ContainerAcquireLeaseExceptionHeaders:()=>E7,ContainerAcquireLeaseHeaders:()=>E6,ContainerBreakLeaseExceptionHeaders:()=>fn,ContainerBreakLeaseHeaders:()=>fs,ContainerChangeLeaseExceptionHeaders:()=>fa,ContainerChangeLeaseHeaders:()=>fo,ContainerCreateExceptionHeaders:()=>Ez,ContainerCreateHeaders:()=>EG,ContainerDeleteExceptionHeaders:()=>E_,ContainerDeleteHeaders:()=>EJ,ContainerFilterBlobsExceptionHeaders:()=>E9,ContainerFilterBlobsHeaders:()=>E8,ContainerGetAccessPolicyExceptionHeaders:()=>EX,ContainerGetAccessPolicyHeaders:()=>EK,ContainerGetAccountInfoExceptionHeaders:()=>fu,ContainerGetAccountInfoHeaders:()=>fg,ContainerGetPropertiesExceptionHeaders:()=>EV,ContainerGetPropertiesHeaders:()=>Eq,ContainerItem:()=>I4,ContainerListBlobFlatSegmentExceptionHeaders:()=>fl,ContainerListBlobFlatSegmentHeaders:()=>fA,ContainerListBlobHierarchySegmentExceptionHeaders:()=>fd,ContainerListBlobHierarchySegmentHeaders:()=>fc,ContainerProperties:()=>I8,ContainerReleaseLeaseExceptionHeaders:()=>ft,ContainerReleaseLeaseHeaders:()=>fe,ContainerRenameExceptionHeaders:()=>E3,ContainerRenameHeaders:()=>E2,ContainerRenewLeaseExceptionHeaders:()=>fi,ContainerRenewLeaseHeaders:()=>fr,ContainerRestoreExceptionHeaders:()=>E1,ContainerRestoreHeaders:()=>E0,ContainerSetAccessPolicyExceptionHeaders:()=>E$,ContainerSetAccessPolicyHeaders:()=>EZ,ContainerSetMetadataExceptionHeaders:()=>Ej,ContainerSetMetadataHeaders:()=>EW,ContainerSubmitBatchExceptionHeaders:()=>E4,ContainerSubmitBatchHeaders:()=>E5,CorsRule:()=>I$,DelimitedTextConfiguration:()=>Ey,FilterBlobItem:()=>Ee,FilterBlobSegment:()=>I7,GeoReplication:()=>I3,JsonTextConfiguration:()=>EQ,KeyInfo:()=>I9,ListBlobsFlatSegmentResponse:()=>En,ListBlobsHierarchySegmentResponse:()=>Ec,ListContainersSegmentResponse:()=>I5,Logging:()=>IK,Metrics:()=>IZ,PageBlobClearPagesExceptionHeaders:()=>Bi,PageBlobClearPagesHeaders:()=>Br,PageBlobCopyIncrementalExceptionHeaders:()=>Bm,PageBlobCopyIncrementalHeaders:()=>Bh,PageBlobCreateExceptionHeaders:()=>f7,PageBlobCreateHeaders:()=>f6,PageBlobGetPageRangesDiffExceptionHeaders:()=>Bl,PageBlobGetPageRangesDiffHeaders:()=>BA,PageBlobGetPageRangesExceptionHeaders:()=>Ba,PageBlobGetPageRangesHeaders:()=>Bo,PageBlobResizeExceptionHeaders:()=>Bd,PageBlobResizeHeaders:()=>Bc,PageBlobUpdateSequenceNumberExceptionHeaders:()=>Bu,PageBlobUpdateSequenceNumberHeaders:()=>Bg,PageBlobUploadPagesExceptionHeaders:()=>Bt,PageBlobUploadPagesFromURLExceptionHeaders:()=>Bn,PageBlobUploadPagesFromURLHeaders:()=>Bs,PageBlobUploadPagesHeaders:()=>Be,PageList:()=>Ep,PageRange:()=>EC,QueryFormat:()=>EB,QueryRequest:()=>EE,QuerySerialization:()=>Ef,RetentionPolicy:()=>IX,ServiceFilterBlobsExceptionHeaders:()=>EY,ServiceFilterBlobsHeaders:()=>EP,ServiceGetAccountInfoExceptionHeaders:()=>EL,ServiceGetAccountInfoHeaders:()=>ET,ServiceGetPropertiesExceptionHeaders:()=>Ex,ServiceGetPropertiesHeaders:()=>ED,ServiceGetStatisticsExceptionHeaders:()=>EM,ServiceGetStatisticsHeaders:()=>ER,ServiceGetUserDelegationKeyExceptionHeaders:()=>Ev,ServiceGetUserDelegationKeyHeaders:()=>EF,ServiceListContainersSegmentExceptionHeaders:()=>EU,ServiceListContainersSegmentHeaders:()=>Ek,ServiceSetPropertiesExceptionHeaders:()=>Ew,ServiceSetPropertiesHeaders:()=>ES,ServiceSubmitBatchExceptionHeaders:()=>EO,ServiceSubmitBatchHeaders:()=>EH,SignedIdentifier:()=>Ei,StaticWebsite:()=>I0,StorageError:()=>I1,UserDelegationKey:()=>I6});var ey=o(7067);let eQ=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},eN=e=>e,eb=e=>()=>e,eS=eb(!0),ew=eb(!1),eD=eb(null),ex=eb(void 0);function eR(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}let eM=e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t},ek=new WeakSet;function eU(e){return"string"==typeof e}function eF(e){return"number"==typeof e}function ev(e){return"bigint"==typeof e}function eT(e){return"symbol"==typeof e}function eL(e){return"function"==typeof e}function eH(e){return!0}let eO=eQ(2,(e,t)=>{var r;return("object"==typeof(r=e)&&null!==r||eL(r))&&t in e});function eP(e){return eO(e,Symbol.iterator)||eU(e)}(e,t)=>eO(e,"_tag")&&e._tag===t;let eY="~effect/interfaces/Hash",eG=e=>{switch(typeof e){case"number":return e_(e);case"bigint":return eW(e.toString(10));case"boolean":case"symbol":return eW(String(e));case"string":return eW(e);case"undefined":return eW("undefined");case"function":case"object":if(null===e)return eW("null");{if(e instanceof Date)return eW(e.toISOString());if(e instanceof RegExp)return eW(e.toString());if(ek.has(e))return ez(e);if(e2.has(e))return e2.get(e);let t=function(e,t){if(e3.has(e))return eW("[Circular]");e3.add(e);let r=t();return e3.delete(e),r}(e,()=>{if(eJ(e))return e[eY]();if("function"==typeof e)return ez(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return eZ(e);if(e instanceof Map)return e$(e);if(e instanceof Set)return e0(e);return eK(e)});return e2.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},ez=e=>(e1.has(e)||e1.set(e,e_(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),e1.get(e)),eq=eQ(2,(e,t)=>53*e^t),eV=e=>0xbfffffff&e|e>>>1&0x40000000,eJ=e=>eO(e,eY),e_=e=>{if(e!=e)return eW("NaN");if(e===1/0)return eW("Infinity");if(e===-1/0)return eW("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return eV(t)},eW=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return eV(t)},ej=(e,t)=>{let r=12289;for(let i of t)r^=eq(eG(i),eG(e[i]));return eV(r)},eK=e=>ej(e,eM(e)),eX=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return eV(i)},eZ=eX(6151,eG),e$=eX(eW("Map"),([e,t])=>eq(eG(e),eG(t))),e0=eX(eW("Set"),eG),e1=new WeakMap,e2=new WeakMap,e3=new WeakSet,e5="~effect/interfaces/Equal";function e4(){return 1==arguments.length?e=>e8(e,arguments[0]):e8(arguments[0],arguments[1])}function e8(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||ek.has(e)||ek.has(t))&&function(e,t,r){let i=te.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,te.set(e,i);let s=r(e,t);i.set(t,s);let n=te.get(t);return n||(n=new WeakMap,te.set(t,n)),n.set(e,s),s}(e,t,e7))}let e9=new WeakSet,e6=new WeakSet;function e7(e,t){if(eG(e)!==eG(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=ti(e),i=ti(t);if(r!==i)return!1;let s=r&&i;return("function"!=typeof e||!!s)&&function(e,t,r){let i=e9.has(e),s=e6.has(t);if(i&&s)return!0;if(i||s)return!1;e9.add(e),e6.add(t);let n=r();return e9.delete(e),e6.delete(t),n}(e,t,()=>{if(s)return e[e5](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!e8(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&tt(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&tr(e,t);var r=e,i=t;let n=eM(r),o=eM(i);if(n.size!==o.size)return!1;for(let e of n)if(!o.has(e)||!e8(r[e],i[e]))return!1;return!0})}let te=new WeakMap,tt=(v=e8,T=e8,function(e,t){for(let[r,i]of e){let e=!1;for(let[s,n]of t)if(v(r,s)&&T(i,n)){e=!0;break}if(!e)return!1}return!0}),tr=(L=e8,function(e,t){for(let r of e){let e=!1;for(let i of t)if(L(r,i)){e=!0;break}if(!e)return!1}return!0}),ti=e=>eO(e,e5),ts=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},tn={pipe(){return ts(this,arguments)}},to=function(){function e(){}return e.prototype=tn,e}(),ta=Symbol.for("~effect/Redactable");function tA(e){return eO(e,ta)?tl(e):e}function tl(e){return e[ta](globalThis[tc]?.context??td)}let tc="~effect/Fiber/currentFiber",td={"~effect/Context":{},mapUnsafe:new Map,pipe(){return ts(this,arguments)}};function tg(e,t){let r=t?.space??0,i=new WeakSet,s=r?"number"==typeof r?" ".repeat(r):r:"",n=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function e(r,o=0){if(Array.isArray(r)){let t,n;if(i.has(r))return tu;if(i.add(r),!s||r.length<=1)return`[${r.map(t=>e(t,o)).join(",")}]`;let a=r.map(t=>e(t,o+1)).join(",\n"+(t=o+1,s.repeat(t)));return`[ +`);n.push(g),l+=g.byteLength,d&&(l=null),A=e,a=async function*(){for(let e of n)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(i.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:s(e)}return("string"==typeof A||m(A))&&(a=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=a&&(async()=>{let e=a(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(u(r))break;e.length&&o.enqueue(new Uint8Array(e))}else e?.length&&!u(r)&&o.enqueue("string"==typeof e?B.encode(e):new Uint8Array(e));queueMicrotask(()=>n(o))})(),[{stream:r,source:A,length:l},h]}function N(e,t,r,i){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(b(e=i(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let s=Promise.withResolvers(),n=s.reject,a=e=>{try{s.resolve(t(e))}catch(e){n(e)}};return null==e.body?a(Buffer.allocUnsafe(0)):o(e.body,a,n),s.promise}function b(e){let t=e.body;return null!=t&&(t.stream.locked||i.isDisturbed(t.stream))}function S(e){let t=a(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(g(!i.isDisturbed(e),"The body has already been consumed."),g(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=E?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return N(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=p(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return N(this,e=>new Uint8Array(e).buffer,e,t)},text(){return N(this,f,e,t)},json(){return N(this,I,e,t)},formData(){return N(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=C(e,r),i=new A;return l(i,t),i}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,i]of t)r.append(e,i);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return N(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(b(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,i=new TextDecoderStream("UTF-8");return r.pipeThrough(i)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||u(t)||t.cancel("Response object has been garbage collected").catch(y)}),bodyUnusable:b}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),i=[301,302,303,307,308],s=new Set(i),n=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],o=new Set(n),a=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...a],l=new Set(a),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),g=["CONNECT","TRACE","TRACK"],u=new Set(g),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],m=new Set(h);e.exports={subresource:h,forbiddenMethods:g,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:n,requestDuplex:["half"],subresourceSet:m,badPortsSet:o,redirectStatusSet:s,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:u,referrerPolicyTokens:l}},3518(e,t,r){let i=r(4589),{forgivingBase64:s,collectASequenceOfCodePoints:n,collectASequenceOfCodePointsFast:o,isomorphicDecode:a,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,g=/[\u000A\u000D\u0009\u0020]/u,u=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,i=e.hash.length,s=0===i?r:r.substring(0,r.length-i);return!i&&r.endsWith("#")?s.slice(0,-1):s}function m(e){return function(e){let t=e.length,r=new Uint8Array(t),i=0,s=0;for(;s<t;){let t=e[s];37!==t?r[i++]=t:37!==t||p(e[s+1])&&p(e[s+2])?(r[i++]=C(e[s+1])<<4|C(e[s+2]),s+=2):r[i++]=37,++s}return t===i?r:r.subarray(0,i)}(c.encode(e))}function p(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=57?e-48:(223&e)-55}function I(e){e=B(e,!0,!0);let t={position:0},r=o("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let i=o(";",e,t);if(0===(i=B(i,!1,!0)).length||!d.test(i))return"failure";let s=r.toLowerCase(),a=i.toLowerCase(),A={type:s,subtype:a,parameters:new Map,essence:`${s}/${a}`};for(;t.position<e.length;){t.position++,n(e=>g.test(e),e,t);let r=n(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let i=null;if('"'===e[t.position])i=f(e,t,!0),o(";",e,t);else if(0===(i=B(i=o(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===i.length||u.test(i))&&!A.parameters.has(r)&&A.parameters.set(r,i)}return A}function f(e,t,r=!1){let s=t.position,o="";for(i('"'===e[t.position]),t.position++;o+=n(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){o+="\\";break}o+=e[t.position],t.position++}else{i('"'===r);break}}return r?o:e.slice(s,t.position)}function E(e){return 13===e||10===e||9===e||32===e}function B(e,t=!0,r=!0){return l(e,t,r,E)}e.exports={dataURLProcessor:function(e){i("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},n=o(",",t,r),l=n.length;if(n=A(n,!0,!0),r.position>=t.length)return"failure";r.position++;let c=m(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(n)){if("failure"===(c=s(a(c))))return"failure";n=(n=(n=n.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let d=I(n);return"failure"===d&&(d=I("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:m,parseMIMEType:I,collectAnHTTPQuotedString:f,serializeAMimeType:function(e){i("failure"!==e);let{parameters:t,essence:r}=e,s=r;for(let[e,r]of t.entries())s+=";",s+=e,s+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),s+=r;return s},removeHTTPWhitespace:B,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:i}=r(1210),{HTTP_TOKEN_CODEPOINTS:s}=r(3518),{makeEntry:n}=r(1304),{webidl:o}=r(849),a=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function g(e,t,r){let i=r.position;for(;i<t.length&&e(t[i]);)++i;return t.subarray(r.position,r.position=i)}function u(e,t,r,i){let s=0,n=e.length-1;if(t)for(;s<e.length&&i(e[s]);)s++;if(r)for(;n>0&&i(e[n]);)n--;return 0===s&&n===e.length-1?e:e.subarray(s,n+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function m(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){a("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let p=Buffer.from(`--${r}`,"utf8"),C=[],I={position:0},f=e.indexOf(p);if(-1===f)throw h("no boundary found in multipart body");for(I.position=f;;){let t,r;if(e.subarray(I.position,I.position+p.length).equals(p))I.position+=p.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[r.position+i])return!1;return!0}(e,l,I))return C;if(13!==e[I.position]||10!==e[I.position+1])throw h("expected CRLF");I.position+=2;let{name:f,filename:E,contentType:B,encoding:y}=function(e,t){let r=null,n=null,o=null,a=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:n,contentType:o,encoding:a}}let l=g(e=>10!==e&&13!==e&&58!==e,e,t);if(l=u(l,!0,!0,e=>9===e||32===e),!s.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,g(e=>32===e||9===e,e,t),i(l)){case"content-disposition":{r=n=null;let i=!1;if("form-data"!==g(e=>m(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let s=function(e,t){let r;59===e[t.position]&&t.position++,g(e=>32===e||9===e,e,t);let i=g(e=>m(e)&&61!==e&&42!==e,e,t);if(0===i.length)return null;let s=i.toString("ascii").toLowerCase(),n=42===e[t.position];if(n&&t.position++,61!==e[t.position])return null;if(t.position++,g(e=>32===e||9===e,e,t),n){let i=g(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==i[0]&&85!==i[0]||116!==i[1]&&84!==i[1]||102!==i[2]&&70!==i[2]||45!==i[3]||56!==i[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(i.subarray(7)))}else if(34===e[t.position]){t.position++;let i=g(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(i).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let i=g(e=>m(e)&&59!==e,e,t);r=c.decode(i)}return{name:s,value:r,extended:n}}(e,t);if(!s)break;"name"===s.name?r=s.value:"filename"===s.name&&(s.extended?(n=s.value,i=!0):i||(n=s.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=g(e=>10!==e&&13!==e,e,t);o=A(r=u(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=g(e=>10!==e&&13!==e,e,t);a=A(r=u(r,!1,!0,e=>9===e||32===e));break}default:g(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,I);I.position+=2;{let r=e.indexOf(p.subarray(2),I.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(I.position,r-4),I.position+=t.length,"base64"===y&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[I.position]||10!==e[I.position+1])throw h("expected CRLF");I.position+=2,null!==E?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(B??="text/plain")&&(B=""),r=new File([t],E,{type:B})):r=d.decode(Buffer.from(t)),a(o.is.USVString(f)),a("string"==typeof r&&o.is.USVString(r)||o.is.File(r)),C.push(n(f,r,E))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:i}=r(638),{kEnumerableProperty:s}=r(1210),{webidl:n}=r(849),o=r(7975),{runtimeFeatures:a}=r(6979),A=a.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(n.util.markAsUncloneable(this),void 0!==e)throw n.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){n.brandCheck(this,l);let i="FormData.append";n.argumentLengthCheck(arguments,2,i),e=n.converters.USVString(e),3==arguments.length||n.is.Blob(t)?(t=n.converters.Blob(t,i,"value"),void 0!==r&&(r=n.converters.USVString(r))):t=n.converters.USVString(t);let s=u(e,t,r);this.#eS.push(s)}delete(e){n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.delete"),e=n.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.get"),e=n.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.getAll"),e=n.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.has"),e=n.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){n.brandCheck(this,l);let i="FormData.set";n.argumentLengthCheck(arguments,2,i),e=n.converters.USVString(e),3==arguments.length||n.is.Blob(t)?(t=n.converters.Blob(t,i,"value"),void 0!==r&&(r=n.converters.USVString(r))):t=n.converters.USVString(t);let s=u(e,t,r),o=this.#eS.findIndex(t=>t.name===e);-1!==o?this.#eS=[...this.#eS.slice(0,o),s,...this.#eS.slice(o+1).filter(t=>t.name!==e)]:this.#eS.push(s)}[o.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let i=o.formatWithOptions(t,r);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:g}=l;function u(e,t,r){if("string"==typeof t);else if(n.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),i("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:s,delete:s,get:s,getAll:s,has:s,set:s,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),n.is.FormData=n.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:u,setFormDataState:d,getFormDataBoundary:g}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:i}=r(3025),{kEnumerableProperty:s}=r(1210),{iteratorMixin:n,isValidHeaderName:o,isValidHeaderValue:a}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function g(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function u(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let i=t[r];if(2!==i.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`});h(e,i[0],i[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let i=0;i<r.length;++i)h(e,r[i],t[r[i]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=g(r),o(t)){if(!a(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===I(e))throw TypeError("immutable");return E(e).append(t,r,!1)}function m(e,t){return e[0]<t[0]?-1:1}class p{cookies=null;sortedMap;headersMap;constructor(e){e instanceof p?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase(),s=this.headersMap.get(i);if(s){let e="cookie"===i?"; ":", ";this.headersMap.set(i,{name:s.name,value:`${s.value}${e}${t}`})}else this.headersMap.set(i,{name:e,value:t});"set-cookie"===i&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase();"set-cookie"===i&&(this.cookies=[t]),this.headersMap.set(i,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:i}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,i]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),i=r.next().value;t[0]=[i[0],i[1].value],l(null!==i[1].value);for(let i=1,s=0,n=0,o=0,a=0,A,c;i<e;++i){for(c=r.next().value,l(null!==(A=t[i]=[c[0],c[1].value])[1]),o=0,n=i;o<n;)t[a=o+(n-o>>1)][0]<=A[0]?o=a+1:n=a;if(i!==a){for(s=i;s>o;)t[s]=t[--s];t[o]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:i}}of this.headersMap)t[e++]=[r,i],l(null!==i);return t.sort(m)}}}class C{#tr;#ti;constructor(e){if(A.util.markAsUncloneable(this),e===i)return;this.#ti=new p,this.#tr="none",void 0!==e&&u(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.delete"),!o(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.contains(e,!1)&&this.#ti.delete(e,!1)}get(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.get(e,!1)}has(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.contains(e,!1)}set(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=g(t=A.converters.ByteString(t,r,"value")),o(e)){if(!a(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.set(e,t,!1)}getSetCookie(){A.brandCheck(this,C);let e=this.#ti.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#ti.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#ti}static setHeadersList(e,t){e.#ti=t}}let{getHeadersGuard:I,setHeadersGuard:f,getHeadersList:E,setHeadersList:B}=C;Reflect.deleteProperty(C,"getHeadersGuard"),Reflect.deleteProperty(C,"setHeadersGuard"),Reflect.deleteProperty(C,"getHeadersList"),Reflect.deleteProperty(C,"setHeadersList"),n("Headers",C,function(e){let t=E(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],i=t.toSortedArray(),s=t.cookies;if(null===s||1===s.length)return t.sortedMap=i;for(let e=0;e<i.length;++e){let{0:t,1:n}=i[e];if("set-cookie"===t)for(let e=0;e<s.length;++e)r.push([t,s[e]]);else r.push([t,n])}return t.sortedMap=r},0,1),Object.defineProperties(C.prototype,{append:s,delete:s,get:s,has:s,set:s,getSetCookie:s,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let i=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&i===C.prototype.entries)try{return E(e).entriesList}catch{}return"function"==typeof i?A.converters["sequence<sequence<ByteString>>"](e,t,r,i.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:u,compareHeaderName:m,Headers:C,HeadersList:p,getHeadersGuard:I,setHeadersGuard:f,setHeadersList:B,getHeadersList:E}},7564(e,t,r){let i,{makeNetworkError:s,makeAppropriateNetworkError:n,filterResponse:o,makeResponse:a,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:g,getRequestDispatcher:u,getRequestState:h,removeRequestAbortListener:m}=r(9553),p=r(8522),{makePolicyContainer:C,clonePolicyContainer:I,requestBadPort:f,TAOCheck:E,appendRequestOriginHeader:B,responseLocationURL:y,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:N,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:D,crossOriginResourcePolicyCheck:x,determineRequestsReferrer:R,coarsenedSharedCurrentTime:M,sameOrigin:k,isCancelled:F,isAborted:U,isErrorLike:v,fullyReadBody:T,readableStreamClose:L,urlIsLocal:O,urlIsHttpHttpsScheme:H,urlHasHttpsScheme:P,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:z,createInflate:q,extractMimeType:V,hasAuthenticationEntry:_,includesCredentials:J,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:K,extractBody:X}=r(4626),{redirectStatusSet:Z,nullBodyStatus:$,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),ei=r(8474),{Readable:es,pipeline:en,finished:eo,isErrored:ea,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eg,minimizeSupportedMimeType:eu}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:em}=r(849),{STATUS_CODES:ep}=r(7067),{bytesMatch:eC}=r(2300),{isomorphicEncode:eI}=r(5358),ef=["GET","HEAD"],eE="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function eB(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let i=ec(r[t]),s=r[t+1];if(Array.isArray(s)&&!Buffer.isBuffer(s))for(let t of s)e.append(i,t.toString("latin1"),!0);else e.append(i,s.toString("latin1"),!0)}return}for(let[r,i]of Object.entries(t??{}))if(Array.isArray(i))for(let t of i)e.append(r,`${t}`,!0);else e.append(r,`${i}`,!0)}class ey extends ei{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],i=e.timingInfo,s=e.cacheState;H(r)&&null!==i&&(e.timingAllowPassed||(i=S({startTime:i.startTime}),s=""),i.endTime=M(),e.timingInfo=i,eN(i,r.href,t,globalThis,s,"",e.status))}let eN=performance.markResourceTiming;function eb(e,t,r,i,s){if(e&&e.reject(i),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(i).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let n=l(r);n.body?.stream!=null&&eA(n.body.stream)&&s.error(i)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseEndOfBody:s,processResponseConsumeBody:n,useParallelQueue:o=!1,dispatcher:a=eh(),requestObject:A=null}){j(a);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:M(c)}),g={controller:new ey(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseConsumeBody:n,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=I(e.client.policyContainer):e.policyContainer=C()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(g,!1),g.controller}async function ew(e,t){try{let r=e.request,i=null;if(r.localURLsOnly&&!O(Q(r))&&(i=s("local URLs only")),b(r),"blocked"===f(r)&&(i=s("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===i){let t=Q(r);k(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",i=await eD(e)):"same-origin"===r.mode?i=s('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?i=s('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",i=await eD(e)):H(Q(r))?(r.responseTainting="cors",i=await eR(e)):i=s("URL scheme must be a HTTP(S) scheme")}if(t)return i;0===i.status||i.internalResponse||(r.responseTainting,"basic"===r.responseTainting?i=o(i,"basic"):"cors"===r.responseTainting?i=o(i,"cors"):"opaque"===r.responseTainting?i=o(i,"opaque"):j(!1));let n=0===i.status?i:i.internalResponse;if(0===n.urlList.length&&n.urlList.push(...r.urlList),r.timingAllowFailed||(i.timingAllowPassed=!0),"opaque"===i.type&&206===n.status&&n.rangeRequested&&!r.headers.contains("range",!0)&&(i=n=s()),0!==i.status&&("HEAD"===r.method||"CONNECT"===r.method||$.includes(n.status))&&(n.body=null,e.controller.dump=!0),r.integrity){let t=t=>ex(e,s(t));if("opaque"===r.responseTainting||null==i.body)return void t(i.error);T(i.body,s=>{eC(s,r.integrity)?(i.body=K(s)[0],ex(e,i)):t("integrity mismatch")},t)}else ex(e,i)}catch(t){e.controller.terminate(t)}}function eD(e){if(F(e)&&0===e.request.redirectCount)return Promise.resolve(n(e));let{request:t}=e,{protocol:o}=Q(t);switch(o){case"about:":return Promise.resolve(s("about scheme is not supported"));case"blob:":{i||(i=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(s("NetworkError when attempting to fetch resource."));let n=i(e.toString());if("GET"!==t.method||!em.is.Blob(n))return Promise.resolve(s("invalid method"));let o=a(),A=n.size,l=eI(`${A}`),c=n.type;if(t.headersList.contains("range",!0)){o.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(s("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:i}=e;if(null===r)i=(r=A-i)+i-1;else{if(r>=A)return Promise.resolve(s("Range start is greater than the blob's size."));(null===i||i>=A)&&(i=A-1)}let a=n.slice(r,i+1,c);o.body=X(a)[0];let l=eI(`${a.size}`),d=z(r,i,A);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",d,!0)}else{let e=X(n);o.statusText="OK",o.body=e[0],o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0)}return Promise.resolve(o)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(s("failed to fetch the data URL"));return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eg(e.mimeType)}]],body:K(e.body)[0]}))}case"file:":return Promise.resolve(s("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>s(e));default:return Promise.resolve(s("unknown scheme"))}}function ex(e,t){let r=e.timingInfo,i=()=>{let i=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!H(e.request.url))return;r.endTime=i;let s=t.cacheState,n=t.bodyInfo;t.timingAllowPassed||(r=S(r),s="");let o=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){o=t.status;let e=V(t.headersList);"failure"!==e&&(n.contentType=eu(e))}null!=e.request.initiatorType&&eN(r,e.request.url.href,e.request.initiatorType,globalThis,s,n,o)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let s="error"===t.type?t:t.internalResponse??t;null==s.body?i():eo(s.body.stream,()=>{i()})}async function eR(e){let t=e.request,r=null,i=null,n=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),i=r=await eM(e),"cors"===t.responseTainting&&"failure"===D(t,r))return s("cors failure");"failure"===E(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===x(t.origin,t.client,t.destination,i)?s("blocked"):(Z.has(i.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=s("unexpected redirect"):"manual"===t.redirect?r=i:"follow"===t.redirect?r=await function(e,t){let r,i=e.request,n=t.internalResponse?t.internalResponse:t;try{if(r=y(n,Q(i).hash),null==r)return t}catch(e){return Promise.resolve(s(e))}if(!H(r))return Promise.resolve(s("URL scheme must be a HTTP(S) scheme"));if(20===i.redirectCount)return Promise.resolve(s("redirect count exceeded"));if(i.redirectCount+=1,"cors"===i.mode&&(r.username||r.password)&&!k(i,r))return Promise.resolve(s('cross origin not allowed for request mode "cors"'));if("cors"===i.responseTainting&&(r.username||r.password))return Promise.resolve(s('URL cannot contain credentials for request mode "cors"'));if(303!==n.status&&null!=i.body&&null==i.body.source)return Promise.resolve(s());if([301,302].includes(n.status)&&"POST"===i.method||303===n.status&&!ef.includes(i.method))for(let e of(i.method="GET",i.body=null,et))i.headersList.delete(e);k(Q(i),r)||(i.headersList.delete("authorization",!0),i.headersList.delete("proxy-authorization",!0),i.headersList.delete("cookie",!0),i.headersList.delete("host",!0)),null!=i.body&&(j(null!=i.body.source),i.body=K(i.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=M(e.crossOriginIsolatedCapability),0===o.redirectStartTime&&(o.redirectStartTime=o.startTime),i.urlList.push(r),N(i,n),ew(e,!0)}(e,r):j(!1)),r.timingInfo=n,r)}async function eM(e,t=!1,r=!1){let i=e.request,o=null,a=null,A=null;"no-window"===i.window&&"error"===i.redirect?(o=e,a=i):(i.body?.source!=null?a=g(i):(a=g({...i,body:null})).body=i.body,(o={...e}).request=a);let l="include"===i.credentials||"same-origin"===i.credentials&&"basic"===i.responseTainting,c=a.body?a.body.length:null,d=null;if(null==a.body&&["POST","PUT"].includes(a.method)&&(d="0"),null!=c&&(d=eI(`${c}`)),null==d||a.headersList.contains("content-length",!0)||a.headersList.append("content-length",d,!0),null!=c&&a.keepalive,em.is.URL(a.referrer)&&a.headersList.append("referer",eI(a.referrer.href),!0),B(a),w(a),a.headersList.contains("user-agent",!0)||a.headersList.append("user-agent",eE,!0),"default"===a.cache&&(a.headersList.contains("if-modified-since",!0)||a.headersList.contains("if-none-match",!0)||a.headersList.contains("if-unmodified-since",!0)||a.headersList.contains("if-match",!0)||a.headersList.contains("if-range",!0))&&(a.cache="no-store"),"no-cache"!==a.cache||a.preventNoCacheCacheControlHeaderModification||a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","max-age=0",!0),("no-store"===a.cache||"reload"===a.cache)&&(a.headersList.contains("pragma",!0)||a.headersList.append("pragma","no-cache",!0),a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","no-cache",!0)),a.headersList.contains("range",!0)&&a.headersList.append("accept-encoding","identity",!0),a.headersList.contains("accept-encoding",!0)||(P(Q(a))?a.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):a.headersList.append("accept-encoding","gzip, deflate",!0)),a.headersList.delete("host",!0),l&&!a.headersList.contains("authorization",!0)){let e=null;if(_(a)&&(void 0===a.useURLCredentials||!J(Q(a))));else if(J(Q(a))&&t){let{username:t,password:r}=Q(a);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&a.headersList.append("Authorization",e,!1)}if(a.cache="no-store","no-store"!==a.cache&&a.cache,null==A){if("only-if-cached"===a.cache)return s("only if cached");let e=await ek(o,l,r);!ee.has(a.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...a.urlList],a.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==a.responseTainting&&l&&(void 0!==i.useURLCredentials||W(i.traversableForUserPrompts))){if(null!=i.body){if(null==i.body.source)return A;i.body=K(i.body.source)[0]}if(void 0===i.useURLCredentials||t)return F(e)?n(e):A;e.controller.connection.destroy(),A=await eM(e,!0)}if(407===A.status)return"no-window"===i.window?s():F(e)?n(e):s("proxy authentication required");if(421===A.status&&!r&&(null==i.body||null!=i.body.source)){if(F(e))return n(e);e.controller.connection.destroy(),A=await eM(e,t,!0)}return A}async function ek(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let i=e.request,o=null,A=e.timingInfo;i.cache="no-store",i.mode;let l=null;if(null==i.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=i.body){let t=async function*(t){F(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of i.body.stream)yield*t(e);!F(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){F(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:s,headersList:n,socket:d}=await function({body:t}){let r=Q(i),s=e.controller.dispatcher,n=r.pathname+r.search,o=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(a,l){return new Promise((d,g)=>s.dispatch({path:o?`${n}?`:n,origin:r.origin,method:i.method,body:s.isMockActive?i.body&&(i.body.source||i.body.stream):a,__mockAgentBodyForDispatch:a,headers:i.headersList.entries,maxRedirections:0,upgrade:"websocket"===i.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let i=e=>t.abort(e);r.destroyed?i(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",i),this.abort=r.abort=i),A.finalNetworkRequestStartTime=M(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=M(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,s){if(t<200)return;let n=e?.rawHeaders??[],o=new c;eB(o,r,n);let a=o.get("location",!0);this.body=new es({read:()=>e.resume()});let A=a&&"follow"===i.redirect&&Z.has(t),l=[];if("HEAD"!==i.method&&"CONNECT"!==i.method&&!$.includes(t)&&!A){let e=o.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void g(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(p.createGunzip({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(q({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(p.createBrotliDecompress({flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(p.createZstdDecompress({flush:p.constants.ZSTD_e_continue,finishFlush:p.constants.ZSTD_e_end}));else{l.length=0;break}}}let u=t=>this.onResponseError(e,t);d({status:t,statusText:s,headersList:o,body:l.length?en(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",u):this.body.on("error",u)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,s){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===i.mode&&!1!==l&&s?.code==="UND_ERR_INFO"&&s?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(a,!1)):(this.body?.destroy(s),e.controller.terminate(s),g(s))},onRequestUpgrade(e,t,r,i){if(null!=i.session&&200!==t||null==i.session&&101!==t)return!1;let s=e?.rawHeaders??[],n=new c;return eB(n,r,s),d({status:t,statusText:ep[t],headersList:n,socket:i}),!0}}))}(t)}({body:l});if(d)o=a({status:r,statusText:s,headersList:n,socket:d});else{let i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next(),o=a({status:r,statusText:s,headersList:n})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),n(e,t);return s(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{F(e)||e.controller.abort(t)},type:"bytes"});return o.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){U(e)?(o.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:v(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:i}=await e.controller.next();if(U(e))break;t=r?void 0:i}catch(i){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=i,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,o);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let i=new Uint8Array(t);if(i.byteLength&&e.controller.controller.enqueue(i),ea(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},o}e.exports={fetch:function(e,t){let r;em.argumentLengthCheck(arguments,1,"globalThis.fetch");let i=Promise.withResolvers();try{r=new d(e,t)}catch(e){return i.reject(e),i.promise}let s=h(r);if(r.signal.aborted)return eb(i,s,null,r.signal.reason,null),i.promise;let n=s.client.globalObject;n?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let o=null,a=!1,l=null,c=el(r.signal,()=>{a=!0,j(null!=l),l.abort(r.signal.reason);let e=o?.deref();eb(i,s,e,r.signal.reason,l.controller)}),g=()=>{c(),m(r)};return l=eS({request:s,processResponseEndOfBody:e=>{eQ(e,"fetch"),g()},processResponse:e=>{if(!a){if(e.aborted){eb(i,s,o,l.serializedAbortReason,l.controller),g();return}if("error"===e.type){i.reject(TypeError("fetch failed",{cause:e.error})),g();return}o=new WeakRef(A(e,"immutable")),i.resolve(o.deref()),i=null}},dispatcher:u(r),requestObject:r}),i.promise},Fetch:ey,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let i,{extractBody:s,mixinBody:n,cloneBody:o,bodyUnusable:a}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:g,setHeadersList:u,getHeadersList:h}=r(3470),m=r(1210),p=r(7975),{isValidHTTPToken:C,sameOrigin:I,environmentSettingsObject:f}=r(638),{forbiddenMethodsSet:E,corsSafeListedMethodsSet:B,referrerPolicy:y,requestRedirect:Q,requestMode:N,requestCredentials:b,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:D,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=m,{webidl:M}=r(849),{URLSerializer:k}=r(3518),{kConstruct:F}=r(3025),U=r(4589),{getMaxListeners:v,setMaxListeners:T,defaultMaxListeners:L}=r(8474),O=Symbol("abortController"),H=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),P=new WeakMap;try{i=v(new AbortController().signal)>0}catch{i=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){H.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=P.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}P.delete(r.signal)}}}}let G=!1;class z{#ts;#Q;#$;#eS;#tn=null;constructor(e,t){let r;if(M.util.markAsUncloneable(this),e===F)return;M.argumentLengthCheck(arguments,1,"Request constructor"),e=M.converters.RequestInfo(e),t=M.converters.RequestInit(t);let n=null,o=null,g=f.settingsObject.baseUrl,p=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,g)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=X({urlList:[r]}),o="cors"}else U(M.is.Request(e)),n=e.#eS,p=e.#ts,this.#Q=t.dispatcher||e.#Q;let y=f.settingsObject.origin,Q="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&I(n.window,y)&&(Q=n.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),n=X({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:f.settingsObject,window:Q,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let N=0!==Object.keys(t).length;if(N&&("navigate"===n.mode&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)n.referrer="no-referrer";else{let t;try{t=new URL(e,g)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||y&&!I(t,f.settingsObject.baseUrl)?n.referrer="client":n.referrer=t}}if(void 0!==t.referrerPolicy&&(n.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:o))throw M.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(n.mode=r),void 0!==t.credentials&&(n.credentials=t.credentials),void 0!==t.cache&&(n.cache=t.cache),"only-if-cached"===n.cache&&"same-origin"!==n.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(n.redirect=t.redirect),null!=t.integrity&&(n.integrity=String(t.integrity)),void 0!==t.keepalive&&(n.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)n.method=r;else{if(!C(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(E.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=x[t]??e,n.method=e}G||"patch"!==n.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(p=t.signal),this.#eS=n;let b=new AbortController;if(this.#ts=b.signal,null!=p)if(p.aborted)b.abort(p.reason);else{this[O]=b;let e=Y(new WeakRef(b));i&&v(p)===L&&T(1500,p);let t=m.addAbortListener(p,e);H.register(b,{signal:p,abort:e},e),this.#tn=()=>{H.unregister(e),t(),this.#tn=null}}if(this.#$=new A(F),u(this.#$,n.headersList),d(this.#$,"request"),"no-cors"===r){if(!B.has(n.method))throw TypeError(`'${n.method} is unsupported in no-cors mode.`);d(this.#$,"request-no-cors")}if(N){let e=h(this.#$),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:i}of r.rawValues())e.append(t,i,!1);e.cookies=r.cookies}else l(this.#$,r)}let S=M.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===n.method||"HEAD"===n.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=s(t.body,n.keepalive);w=e,r&&!h(this.#$).contains("content-type",!0)&&this.#$.append("content-type",r,!0)}let D=w??S;if(null!=D&&null==D.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==n.mode&&"cors"!==n.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let k=D;if(null==w&&null!=S){if(a(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),k={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=k}get method(){return M.brandCheck(this,z),this.#eS.method}get url(){return M.brandCheck(this,z),k(this.#eS.url)}get headers(){return M.brandCheck(this,z),this.#$}get destination(){return M.brandCheck(this,z),this.#eS.destination}get referrer(){return(M.brandCheck(this,z),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return M.brandCheck(this,z),this.#eS.referrerPolicy}get mode(){return M.brandCheck(this,z),this.#eS.mode}get credentials(){return M.brandCheck(this,z),this.#eS.credentials}get cache(){return M.brandCheck(this,z),this.#eS.cache}get redirect(){return M.brandCheck(this,z),this.#eS.redirect}get integrity(){return M.brandCheck(this,z),this.#eS.integrity}get keepalive(){return M.brandCheck(this,z),this.#eS.keepalive}get isReloadNavigation(){return M.brandCheck(this,z),this.#eS.reloadNavigation}get isHistoryNavigation(){return M.brandCheck(this,z),this.#eS.historyNavigation}get signal(){return M.brandCheck(this,z),this.#ts}get body(){return M.brandCheck(this,z),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return M.brandCheck(this,z),!!this.#eS.body&&m.isDisturbed(this.#eS.body.stream)}get duplex(){return M.brandCheck(this,z),"half"}clone(){if(M.brandCheck(this,z),a(this.#eS))throw TypeError("unusable");let e=Z(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=P.get(this.signal);void 0===e&&(e=new Set,P.set(this.signal,e));let r=new WeakRef(t);e.add(r),m.addAbortListener(t.signal,Y(r))}return $(e,this.#Q,t.signal,g(this.#$))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${p.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#ts=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#$=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#tn?.()}}let{setRequestSignal:q,getRequestDispatcher:V,setRequestDispatcher:_,setRequestHeaders:J,getRequestState:W,setRequestState:j,removeRequestAbortListener:K}=z;function X(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function Z(e){let t=X({...e,body:null});return null!=e.body&&(t.body=o(e.body)),t}function $(e,t,r,i){let s=new z(F);j(s,e),_(s,t),q(s,r);let n=new A(F);return J(s,n),u(n,e.headersList),d(n,i),s}Reflect.deleteProperty(z,"setRequestSignal"),Reflect.deleteProperty(z,"getRequestDispatcher"),Reflect.deleteProperty(z,"setRequestDispatcher"),Reflect.deleteProperty(z,"setRequestHeaders"),Reflect.deleteProperty(z,"getRequestState"),Reflect.deleteProperty(z,"setRequestState"),Reflect.deleteProperty(z,"removeRequestAbortListener"),n(z,W),Object.defineProperties(z.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),M.is.Request=M.util.MakeTypeAssertion(z),M.converters.RequestInfo=function(e){return"string"==typeof e?M.converters.USVString(e):M.is.Request(e)?e:M.converters.USVString(e)},M.converters.RequestInit=M.dictionaryConverter([{key:"method",converter:M.converters.ByteString},{key:"headers",converter:M.converters.HeadersInit},{key:"body",converter:M.nullableConverter(M.converters.BodyInit)},{key:"referrer",converter:M.converters.USVString},{key:"referrerPolicy",converter:M.converters.DOMString,allowedValues:y},{key:"mode",converter:M.converters.DOMString,allowedValues:N},{key:"credentials",converter:M.converters.DOMString,allowedValues:b},{key:"cache",converter:M.converters.DOMString,allowedValues:S},{key:"redirect",converter:M.converters.DOMString,allowedValues:Q},{key:"integrity",converter:M.converters.DOMString},{key:"keepalive",converter:M.converters.boolean},{key:"signal",converter:M.nullableConverter(e=>M.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:M.converters.any},{key:"duplex",converter:M.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:M.converters.any},{key:"priority",converter:M.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:z,makeRequest:X,fromInnerRequest:$,cloneRequest:Z,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:K}},165(e,t,r){let{Headers:i,HeadersList:s,fill:n,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:g,bodyUnusable:u}=r(4626),h=r(1210),m=r(7975),{kEnumerableProperty:p}=h,{isValidReasonPhrase:C,isCancelled:I,isAborted:f,isErrorLike:E,environmentSettingsObject:B}=r(638),{redirectStatusSet:y,nullBodyStatus:Q}=r(6113),{webidl:N}=r(849),{URLSerializer:b}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:D,serializeJavascriptValueToJSONString:x}=r(5358),R=new TextEncoder("utf-8");class M{#$;#eS;static error(){return G(O(),"immutable")}static json(e,t){N.argumentLengthCheck(arguments,1,"Response.json"),t=N.converters.ResponseInit(t);let r=l(R.encode(x(e))),i=G(L({}),"response");return Y(i,t,{body:r[0],type:"application/json"}),i}static redirect(e,t=302){let r;N.argumentLengthCheck(arguments,1,"Response.redirect"),e=N.converters.USVString(e),t=N.converters["unsigned short"](t);try{r=new URL(e,B.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!y.has(t))throw RangeError(`Invalid status code ${t}`);let i=G(L({}),"immutable");i.#eS.status=t;let s=D(b(r));return i.#eS.headersList.append("location",s,!0),i}constructor(e=null,t){if(N.util.markAsUncloneable(this),e===S)return;null!==e&&(e=N.converters.BodyInit(e,"Response","body")),t=N.converters.ResponseInit(t),this.#eS=L({}),this.#$=new i(S),a(this.#$,"response"),A(this.#$,this.#eS.headersList);let r=null;if(null!=e){let[t,i]=l(e);r={body:t,type:i}}Y(this,t,r)}get type(){return N.brandCheck(this,M),this.#eS.type}get url(){N.brandCheck(this,M);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":b(t,!0)}get redirected(){return N.brandCheck(this,M),this.#eS.urlList.length>1}get status(){return N.brandCheck(this,M),this.#eS.status}get ok(){return N.brandCheck(this,M),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return N.brandCheck(this,M),this.#eS.statusText}get headers(){return N.brandCheck(this,M),this.#$}get body(){return N.brandCheck(this,M),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return N.brandCheck(this,M),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(N.brandCheck(this,M),u(this.#eS))throw N.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&g.register(this,new WeakRef(this.#eS.body.stream)),G(e,o(this.#$))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#$}static setResponseHeaders(e,t){e.#$=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:k,setResponseHeaders:F,getResponseState:U,setResponseState:v}=M;function T(e){if(e.internalResponse)return P(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new s(e?.headersList):new s,urlList:e?.urlList?[...e.urlList]:[]}}function O(e){return L({type:"error",status:0,error:E(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function H(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,i)=>(w(!(r in t)),e[r]=i,!0)})}function P(e,t){return"basic"===t?H(e,{type:"basic",headersList:e.headersList}):"cors"===t?H(e,{type:"cors",headersList:e.headersList}):"opaque"===t?H(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?H(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!C(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(U(e).status=t.status),"statusText"in t&&null!=t.statusText&&(U(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&n(k(e),t.headers),r){if(Q.includes(e.status))throw N.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});U(e).body=r.body,null==r.type||U(e).headersList.contains("content-type",!0)||U(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new M(S);v(r,e);let s=new i(S);return F(r,s),A(s,e.headersList),a(s,t),0!==e.urlList.length&&e.body?.stream&&g.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(M,"getResponseHeaders"),Reflect.deleteProperty(M,"setResponseHeaders"),Reflect.deleteProperty(M,"getResponseState"),Reflect.deleteProperty(M,"setResponseState"),d(M,U),Object.defineProperties(M.prototype,{type:p,url:p,status:p,ok:p,redirected:p,statusText:p,headers:p,clone:p,body:p,bodyUsed:p,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(M,{json:p,redirect:p,error:p}),N.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?N.converters.USVString(e,t,r):N.is.Blob(e)||N.is.BufferSource(e)||N.is.FormData(e)||N.is.URLSearchParams(e)?e:N.converters.DOMString(e,t,r)},N.converters.BodyInit=function(e,t,r){return N.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:N.converters.XMLHttpRequestBodyInit(e,t,r)},N.converters.ResponseInit=N.dictionaryConverter([{key:"status",converter:N.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:N.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:N.converters.HeadersInit}]),N.is.Response=N.util.MakeTypeAssertion(M),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:O,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(I(e)),f(e)?O(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):O(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:P,Response:M,cloneResponse:T,fromInnerResponse:G,getResponseState:U}},638(e,t,r){let{Transform:i}=r(7075),s=r(8522),{redirectStatusSet:n,referrerPolicyTokens:o,badPortsSet:a}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:g,isValidHTTPToken:u,normalizedMethodRecordsBase:h}=r(1210),m=r(4589),{isUint8Array:p}=r(3429),{webidl:C}=r(849),{isomorphicEncode:I,collectASequenceOfCodePoints:f,removeChars:E}=r(5358);function B(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function y(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function N(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function b(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(m(C.is.URL(e)),v(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),D=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function x(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),D(e)):w(e)}function R(e){var t;return!!C.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||x(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function M(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let k=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function F(e,t,r=0,i=1){class s{#to;#ta;#tA;constructor(e,t){this.#to=e,this.#ta=t,this.#tA=0}next(){let s;if("object"!=typeof this||this===null||!(#to in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let n=this.#tA,o=t(this.#to);if(n>=o.length)return{value:void 0,done:!0};let{[r]:a,[i]:A}=o[n];switch(this.#tA=n+1,this.#ta){case"key":s=a;break;case"value":s=A;break;case"key+value":s=[a,A]}return{value:s,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,k),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new s(e,t)}}async function U(e,t,r){try{let i=[],s=0;for(;;){let{done:n,value:o}=await e.read();if(n)return void t(Buffer.concat(i,s));if(!p(o))return void r(TypeError("Received non-Uint8Array chunk"));i.push(o),s+=o.length}}catch(e){r(e)}}function v(e){m("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){m("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class O extends i{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?s.createInflate(this.#tl):s.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function H(e,t){let r=t.get(e,!0);if(null===r)return null;let i={position:0},s=[],n="";for(;i.position<r.length;){if(n+=f(e=>'"'!==e&&","!==e,r,i),i.position<r.length)if(34===r.charCodeAt(i.position)){if(n+=l(r,i),i.position<r.length)continue}else m(44===r.charCodeAt(i.position)),i.position++;n=E(n,!0,!0,e=>9===e||32===e),s.push(n),n=""}return s}class P{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=b()}class Y{settingsObject=new P}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:y,ReadableStreamFrom:g,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;m(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else C.is.URL(e.referrer)&&(r=e.referrer);let i=S(r),s=S(r,!0);switch(i.toString().length>4096&&(i=s),t){case"no-referrer":return"no-referrer";case"origin":if(null!=s)return s;return S(r,!0);case"unsafe-url":return i;case"strict-origin":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return s}case"strict-origin-when-cross-origin":{let t=Q(e);if(M(i,t))return i;if(R(i)&&!R(t))return"no-referrer";return s}case"same-origin":if(M(e,i))return i;return"no-referrer";case"origin-when-cross-origin":if(M(e,i))return i;return s;case"no-referrer-when-downgrade":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return i}}},makePolicyContainer:b,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":M(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let i=t[e-1].trim();if(o.has(i)){r=i;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:u,requestBadPort:function(e){let t=Q(e);return L(t)&&a.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:B,responseLocationURL:function(e,t){var r;if(!n.has(e.status))return null;let i=e.headersList.get("location",!0);return null!==i&&N(i)&&(y(i)||(r=i,i=Buffer.from(r,"binary").toString("utf8")),i=new URL(i,B(e))),i&&!i.hash&&(i.hash=t),i},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:M,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,i=0,s=1){let n=F(e,r,i,s),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,i=globalThis){if(C.brandCheck(this,t),C.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of n(this,"key+value"))r.call(i,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})},createIterator:F,isValidHeaderName:u,isValidHeaderValue:N,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let i=e.stream.getReader();U(i,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:v,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:U,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&f(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&f(e=>" "===e||" "===e,e,r);let i=f(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),s=i.length?Number(i):null;if(t&&f(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&f(e=>" "===e||" "===e,e,r);let n=f(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),o=n.length?Number(n):null;return r.position<e.length||null===o&&null===s||null!==s&&null!==o&&s>o?"failure":{rangeStartValue:s,rangeEndValue:o}},buildContentRange:function(e,t,r){let i="bytes ";return i+=I(`${e}`),i+="-",i+=I(`${t}`),i+="/",i+=I(`${r}`)},createInflate:function(e){return new O(e)},extractMimeType:function(e){let t=null,r=null,i=null,s=H("content-type",e);if(null===s)return"failure";for(let e of s){let s=c(e);"failure"!==s&&"*/*"!==s.essence&&((i=s).essence!==r?(t=null,i.parameters.has("charset")&&(t=i.parameters.get("charset")),r=i.essence):i.parameters.has("charset")||null===t||i.parameters.set("charset",t))}return null==i?"failure":i},getDecodeSplit:H,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:x,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let i=r(4589),{utf8DecodeBytes:s}=r(2718),n=/[\u0009\u000A\u000C\u000D\u0020]/g;function o(e){return 9===e||10===e||12===e||13===e||32===e}let a=/[^\x00-\xFF]/;function A(e,t,r,i){let s=0,n=e.length-1;if(t)for(;s<e.length&&i(e.charCodeAt(s));)s++;if(r)for(;n>0&&i(e.charCodeAt(n));)n--;return 0===s&&n===e.length-1?e:e.slice(s,n+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let i="";for(;r.position<t.length&&e(t[r.position]);)i+=t[r.position],r.position++;return i},collectASequenceOfCodePointsFast:function(e,t,r){let i=t.indexOf(e,r.position),s=r.position;return -1===i?(r.position=t.length,t.slice(s)):(r.position=i,t.slice(s,r.position))},forgivingBase64:function(e){let t=(e=e.replace(n,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:o,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",i=0,s=65535;for(;i<t;)i+s>t&&(s=t-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+=s));return r},isomorphicEncode:function(e){return i(!a.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(s(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,o)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return i("string"==typeof t),t}}},2300(e,t,r){let i,s=r(4589),{runtimeFeatures:n}=r(6979),o=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(n.has("crypto")){let e=(i=r(7598)).getHashes();for(let t of(0===e.length&&o.clear(),o.keys()))!1===e.includes(t)&&o.delete(t)}else o.clear();let a=Map.prototype.get.bind(o),A=Map.prototype.has.bind(o),l=!1===n.has("crypto")||0===o.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,i=t.val;if(u(g(r,e),i))return!0}return!1};function c(e){let t=[],r=null;for(let i of e){if(s(A(i.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(i),r=i;continue}let e=a(r.alg),n=a(i.alg);n<e||(n>e?(r=i,t[0]=i,t.length=1):t.push(i))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],i="",s=[e.slice(0,6),e.slice(7)],n=s[0];if(!A(n))continue;s[1]&&(i=s[1]);let o={alg:n,val:i};t.push(o)}return t}let g=(e,t)=>i.hash(e,t,"base64");function u(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let i=t.length;if(0!==i&&"="===t[i-1]&&(i-=1),0!==i&&"="===t[i-1]&&(i-=1),r!==i)return!1;for(let i=0;i<r;++i)if(e[i]!==t[i]&&("+"!==e[i]||"-"!==t[i])&&("/"!==e[i]||"_"!==t[i]))return!1;return!0}e.exports={applyAlgorithmToBytes:g,bytesMatch:l,caseSensitiveMatch:u,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let i=r(4589),{types:s,inspect:n}=r(7975),{markAsUncloneable:o}=r(5919),a=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!a(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>a(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=o,A.util.ConvertToInt=function(e,t,r,i){let s,n;64===t?(s=0x1fffffffffffff,n="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(n=0,s=Math.pow(2,t)-1):(n=-Math.pow(2,t-1),s=Math.pow(2,t-1)-1);let o=Number(e);if(0===o&&(o=0),A.util.HasFlag(i,A.attributes.EnforceRange)){if(Number.isNaN(o)||o===1/0||o===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((o=A.util.IntegerPart(o))<n||o>s)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${n}-${s}, got ${o}.`});return o}return!Number.isNaN(o)&&A.util.HasFlag(i,A.attributes.Clamp)?o=Math.floor(o=Math.min(Math.max(o,n),s))%2==0?Math.floor(o):Math.ceil(o):Number.isNaN(o)||0===o&&Object.is(0,o)||o===1/0||o===-1/0?0:(o=A.util.IntegerPart(o)%Math.pow(2,t),"signed"===r&&o>=Math.pow(2,t-1))?o-Math.pow(2,t):o},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return n(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(s.isArrayBuffer(e))return e.resizable;if(s.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,i,s)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${i} (${A.util.Stringify(t)}) is not iterable.`});let n="function"==typeof s?s():t?.[Symbol.iterator]?.(),o=[],a=0;if(void 0===n||"function"!=typeof n.next)throw A.errors.exception({header:r,message:`${i} is not iterable.`});for(;;){let{done:t,value:s}=n.next();if(t)break;o.push(e(s,r,`${i}[${a++}]`))}return o}},A.recordConverter=function(e,t){return(r,i,n)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:i,message:`${n} ("${A.util.TypeValueToString(r)}") is not an Object.`});let o={};if(!s.isProxy(r)){for(let s of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let a=A.util.Stringify(s),l=e(s,i,`Key ${a} in ${n}`),c=t(r[s],i,`${n}[${a}]`);o[l]=c}return o}for(let s of Reflect.ownKeys(r)){let a=Reflect.getOwnPropertyDescriptor(r,s);if(a?.enumerable){let a=e(s,i,n),A=t(r[s],i,n);o[a]=A}}return o}},A.interfaceConverter=function(e,t){return(r,i,s)=>{if(!e(r))throw A.errors.exception({header:i,message:`Expected ${s} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,i)=>{let s={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let n of e){let{key:e,defaultValue:o,required:a,converter:l}=n;if(!0===a&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==o;if(d&&void 0===c&&(c=o()),a||d||void 0!==c){if(c=l(c,r,`${i}.${e}`),n.allowedValues&&!n.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`});s[e]=c}}return s}},A.nullableConverter=function(e){return(t,r,i)=>null===t?t:e(t,r,i)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return s.isArrayBuffer(e)||ArrayBuffer.isView(e)&&s.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,n=0;if(s.isTypedArray(e)||s.isDataView(e)?(t=e.buffer,r=e.byteOffset):i(s.isAnyArrayBuffer(e)),n=e.byteLength,t.detached)return new Uint8Array(0);let o=new Uint8Array(n),a=new Uint8Array(t,r,n);return o.set(a),o},A.converters.DOMString=function(e,t,r,i){if(null===e&&A.util.HasFlag(i,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let i=String(e);for(let e=0;e<i.length;e++)if(i.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${i.charCodeAt(e)} which is greater than 255.`);return i},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,i){return A.util.ConvertToInt(e,16,"unsigned",i,t,r)},A.converters.ArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,i,n){if(8!==A.util.Type(e)||!s.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${i} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(n,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,i){if(s.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(s.isArrayBufferView(e))return i&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);if(s.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,i){if(s.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(s.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,i);if(s.isArrayBufferView(e))return i|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:i,states:s,sentCloseFrameState:n,emptyBuffer:o,opcodes:a}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:g,validateCloseCodeAndReason:u}=r(3927),{makeRequest:h}=r(9553),{fetching:m}=r(7564),{Headers:p,getHeadersList:C}=r(3470),{getDecodeSplit:I}=r(638),{WebsocketFrameSend:f}=r(4018),E=r(4589),{runtimeFeatures:B}=r(6979),y=B.has("crypto")?r(7598):null,Q=!1;function N(e,t,r,i=!1){if(t??=null,r??="",i&&u(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(n.SENT)||e.closeState.has(n.RECEIVED))e.readyState=s.CLOSING;else{let i=new f;0!==r.length&&null===t&&(t=1e3),E(null===t||Number.isInteger(t)),null===t&&0===r.length?i.frameData=o:null!==t&&null===r?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(i.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=o,e.socket.write(i.createFrame(a.CLOSE)),e.closeState.add(n.SENT),e.readyState=s.CLOSING}else b(e),e.readyState=s.CLOSING}function b(e,t,r,i){d(e.readyState)&&N(e,t,r,!1),e.controller.abort(),g(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,s,n){e.protocol="ws:"===e.protocol?"http:":"https:";let o=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});n.headers&&(o.headersList=C(new p(n.headers)));let a=y.randomBytes(16).toString("base64");for(let e of(o.headersList.append("sec-websocket-key",a,!0),o.headersList.append("sec-websocket-version","13",!0),t))o.headersList.append("sec-websocket-protocol",e,!0);return o.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),m({request:o,useParallelQueue:!0,dispatcher:n.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void b(s,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void b(s,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void b(s,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void b(s,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void b(s,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==y.hash("sha1",a+i,"base64"))return void b(s,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let n=e.headersList.get("Sec-WebSocket-Extensions");if(null!==n&&!(r=A(n)).has("permessage-deflate"))return void b(s,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||I("sec-websocket-protocol",o.headersList).includes(l)?(e.socket.on("data",s.onSocketData),e.socket.on("close",s.onSocketClose),e.socket.on("error",s.onSocketError),s.wasEverConnected=!0,s.onConnectionEstablished(e,r)):b(s,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:b,closeWebSocketConnection:N}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:i}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:n}=r(3025);class o extends Event{#tc;constructor(e,t={}){if(e===n){super(arguments[1],arguments[2]),i.util.markAsUncloneable(this);return}let r="MessageEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,i.util.markAsUncloneable(this)}get data(){return i.brandCheck(this,o),this.#tc.data}get origin(){return i.brandCheck(this,o),this.#tc.origin}get lastEventId(){return i.brandCheck(this,o),this.#tc.lastEventId}get source(){return i.brandCheck(this,o),this.#tc.source}get ports(){return i.brandCheck(this,o),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,s=null,n="",a="",A=null,l=[]){return i.brandCheck(this,o),i.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new o(e,{bubbles:t,cancelable:r,data:s,origin:n,lastEventId:a,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new o(n,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:a}=o;delete o.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.CloseEventInit(t)),this.#tc=t,i.util.markAsUncloneable(this)}get wasClean(){return i.brandCheck(this,A),this.#tc.wasClean}get code(){return i.brandCheck(this,A),this.#tc.code}get reason(){return i.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e,t),i.util.markAsUncloneable(this),e=i.converters.DOMString(e,r,"type"),t=i.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return i.brandCheck(this,l),this.#tc.message}get filename(){return i.brandCheck(this,l),this.#tc.filename}get lineno(){return i.brandCheck(this,l),this.#tc.lineno}get colno(){return i.brandCheck(this,l),this.#tc.colno}get error(){return i.brandCheck(this,l),this.#tc.error}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:s,origin:s,lastEventId:s,source:s,ports:s,initMessageEvent:s}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:s,code:s,wasClean:s}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:s,filename:s,lineno:s,colno:s,error:s}),i.converters.MessagePort=i.interfaceConverter(i.is.MessagePort,"MessagePort"),i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);let c=[{key:"bubbles",converter:i.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:i.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:i.converters.boolean,defaultValue:()=>!1}];i.converters.MessageEventInit=i.dictionaryConverter([...c,{key:"data",converter:i.converters.any,defaultValue:()=>null},{key:"origin",converter:i.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:()=>""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:i.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),i.converters.CloseEventInit=i.dictionaryConverter([...c,{key:"wasClean",converter:i.converters.boolean,defaultValue:()=>!1},{key:"code",converter:i.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:i.converters.USVString,defaultValue:()=>""}]),i.converters.ErrorEventInit=i.dictionaryConverter([...c,{key:"message",converter:i.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:i.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:i.converters.any}]),e.exports={MessageEvent:o,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:a}},4018(e,t,r){let{runtimeFeatures:i}=r(6979),{maxUnsigned16Bit:s,opcodes:n}=r(7946),o=null,a=8192,A=i.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===a&&(a=0,A(o??=Buffer.allocUnsafeSlow(8192),0,8192)),[o[a++],o[a++],o[a++],o[a++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),i=t?.byteLength??0,n=i,o=6;i>s?(o+=8,n=127):i>125&&(o+=2,n=126);let a=Buffer.allocUnsafe(i+o);a[0]=a[1]=0,a[0]|=128,a[0]=(240&a[0])+e,a[o-4]=r[0],a[o-3]=r[1],a[o-2]=r[2],a[o-1]=r[3],a[1]=n,126===n?a.writeUInt16BE(i,2):127===n&&(a[2]=a[3]=0,a.writeUIntBE(i,4,6)),a[1]|=128;for(let e=0;e<i;++e)a[o+e]=t[e]^r[3&e];return a}static createFastTextFrame(e){let t=l(),r=e.length;for(let i=0;i<r;++i)e[i]^=t[3&i];let i=r,o=6;r>s?(o+=8,i=127):r>125&&(o+=2,i=126);let a=Buffer.allocUnsafeSlow(o);return a[0]=128|n.TEXT,a[1]=128|i,a[o-4]=t[0],a[o-3]=t[1],a[o-2]=t[2],a[o-1]=t[3],126===i?a.writeUInt16BE(r,2):127===i&&(a[2]=a[3]=0,a.writeUIntBE(r,4,6)),[a,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:s}=r(8522),{isValidClientWindowBits:n}=r(3927),{MessageSizeExceededError:o}=r(8065),a=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tg=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tg=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=s;if(this.#T.serverMaxWindowBits){if(!n(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=i({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tg>0&&this.#td[l]>this.#tg){r(new o),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(a),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:i}=r(7075),s=r(4589),{parserStates:n,opcodes:o,states:a,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:g,utf8Decode:u,isControlFrame:h,isTextBinaryFrame:m,isContinuationFrame:p}=r(3927),{failWebsocketConnection:C}=r(5563),{WebsocketFrameSend:I}=r(4018),{PerMessageDeflate:f}=r(959),{MessageSizeExceededError:E}=r(8065);class B extends i{#tu=[];#th=0;#tm=0;#tp=!1;#eS=n.INFO;#tC={};#tI=[];#tf;#y;#tE;#tg;constructor(e,t,r={}){super(),this.#y=e,this.#tf=null==t?new Map:t,this.#tE=r.maxFragments??0,this.#tg=r.maxPayloadSize??0,this.#tf.has("permessage-deflate")&&this.#tf.set("permessage-deflate",new f(t,r))}_write(e,t,r){this.#tu.push(e),this.#tm+=e.length,this.#tp=!0,this.run(r)}#tB(){return!(this.#tg>0)||!!h(this.#tC.opcode)||!(this.#tC.payloadLength+this.#th>this.#tg)||(C(this.#y,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tp;)if(this.#eS===n.INFO){if(this.#tm<2)return e();let t=this.consume(2),r=(128&t[0])!=0,i=15&t[0],s=(128&t[1])==128,a=!r&&i!==o.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],g=16&t[0];if(!d(i))return C(this.#y,1002,"Invalid opcode received"),e();if(s)return C(this.#y,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#tf.has("permessage-deflate"))return void C(this.#y,1002,"Expected RSV1 to be clear.");if(0!==c||0!==g)return void C(this.#y,1002,"RSV1, RSV2, RSV3 must be clear");if(a&&!m(i))return void C(this.#y,1002,"Invalid frame type was fragmented.");if(m(i)&&this.#tI.length>0)return void C(this.#y,1002,"Expected continuation frame");if(this.#tC.fragmented&&a)return void C(this.#y,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||a)&&h(i))return void C(this.#y,1002,"Control frame either too large or fragmented");if(p(i)&&0===this.#tI.length&&!this.#tC.compressed)return void C(this.#y,1002,"Unexpected continuation frame");if(A<=125){if(this.#tC.payloadLength=A,this.#eS=n.READ_DATA,!this.#tB())return}else 126===A?this.#eS=n.PAYLOADLENGTH_16:127===A&&(this.#eS=n.PAYLOADLENGTH_64);m(i)&&(this.#tC.binaryType=i,this.#tC.compressed=0!==l),this.#tC.opcode=i,this.#tC.masked=s,this.#tC.fin=r,this.#tC.fragmented=a}else if(this.#eS===n.PAYLOADLENGTH_16){if(this.#tm<2)return e();let t=this.consume(2);if(this.#tC.payloadLength=t.readUInt16BE(0),this.#eS=n.READ_DATA,!this.#tB())return}else if(this.#eS===n.PAYLOADLENGTH_64){if(this.#tm<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),i=t.readUInt32BE(4);if(0!==r||i>0x80000000-1)return void C(this.#y,1009,"Received payload length > 2^31 bytes.");if(this.#tC.payloadLength=i,this.#eS=n.READ_DATA,!this.#tB())return}else if(this.#eS===n.READ_DATA){if(this.#tm<this.#tC.payloadLength)return e();let t=this.consume(this.#tC.payloadLength);if(h(this.#tC.opcode))this.#tp=this.parseControlFrame(t),this.#eS=n.INFO;else if(this.#tC.compressed){this.#tf.get("permessage-deflate").decompress(t,this.#tC.fin,(t,r)=>{if(t){let e=t instanceof E?1009:1007;C(this.#y,e,t.message);return}if(this.writeFragments(r)){if(this.#tg>0&&this.#th>this.#tg)return void C(this.#y,1009,new E().message);if(!this.#tC.fin){this.#eS=n.INFO,this.#tp=!0,this.run(e);return}g(this.#y,this.#tC.binaryType,this.consumeFragments()),this.#tp=!0,this.#eS=n.INFO,this.run(e)}},this.#th),this.#tp=!1;break}else{if(!this.writeFragments(t))return;!this.#tC.fragmented&&this.#tC.fin&&g(this.#y,this.#tC.binaryType,this.consumeFragments()),this.#eS=n.INFO}}}consume(e){if(e>this.#tm)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tm-=e;let t=this.#tu[0];if(t.length>e)return this.#tu[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tu.shift();let r=0,i=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tu[0],s=t.length;if(s+r===e){i.set(this.#tu.shift(),r);break}if(s+r>e){i.set(t.subarray(0,e-r),r),this.#tu[0]=t.subarray(e-r);break}i.set(this.#tu.shift(),r),r+=s}return i}}writeFragments(e){return this.#tE>0&&this.#tI.length===this.#tE?(C(this.#y,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tI.push(e),!0)}consumeFragments(){let e=this.#tI;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let i=0;i<e.length;++i){let s=e[i];r.set(s,t),t+=s.length}return this.#tI=[],this.#th=0,r}parseCloseBody(e){let t;if(s(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=u(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tC;if(t===o.CLOSE){if(1===r)return C(this.#y,1002,"Received close frame with a 1-byte body."),!1;if(this.#tC.closeInfo=this.parseCloseBody(e),this.#tC.closeInfo.error){let{code:e,reason:t}=this.#tC.closeInfo;return C(this.#y,e,t),!1}if(!this.#y.closeState.has(l.SENT)&&!this.#y.closeState.has(l.RECEIVED)){let e=A;this.#tC.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tC.closeInfo.code,0);let t=new I(e);this.#y.socket.write(t.createFrame(o.CLOSE)),this.#y.closeState.add(l.SENT)}return this.#y.readyState=a.CLOSING,this.#y.closeState.add(l.RECEIVED),!1}if(t===o.PING){if(!this.#y.closeState.has(l.RECEIVED)){let t=new I(e);this.#y.socket.write(t.createFrame(o.PONG)),this.#y.onPing(e)}}else t===o.PONG&&this.#y.onPong(e);return!0}get closingInfo(){return this.#tC.closeInfo}}e.exports={ByteParser:B}},2726(e,t,r){let{WebsocketFrameSend:i}=r(4018),{opcodes:s,sendHints:n}=r(7946),o=r(9006);class a{#ty=new o;#tQ=!1;#tN;constructor(e){this.#tN=e}add(e,t,r){if(r!==n.blob){if(this.#tQ){let i={promise:null,callback:t,frame:A(e,r)};this.#ty.push(i)}else if(r===n.text){let{0:r,1:s}=i.createFastTextFrame(e);this.#tN.cork(),this.#tN.write(r),this.#tN.write(s,t),this.#tN.uncork()}else this.#tN.write(A(e,r),t);return}let s={promise:e.arrayBuffer().then(e=>{s.promise=null,s.frame=A(e,r)}),callback:t,frame:null};this.#ty.push(s),this.#tQ||this.#tb()}async #tb(){this.#tQ=!0;let e=this.#ty;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tN.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new i(function(e,t){switch(t){case n.text:case n.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case n.arrayBuffer:case n.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===n.text?s.TEXT:s.BINARY)}e.exports={SendQueue:a}},7245(e,t,r){let{webidl:i}=r(849),{validateCloseCodeAndReason:s}=r(3927),{kConstruct:n}=r(3025),{kEnumerableProperty:o}=r(1210);function a(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let i=Reflect.construct(e,t,e);return Object.setPrototypeOf(i,r.prototype),i}})}class A extends a(){#tS;#f;constructor(e="",t){if(super(e=i.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===n)return;null!==t&&(t=i.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,o=t.reason??"";s(r,o),0!==o.length&&null===r&&(r=1e3),this.#tS=r,this.#f=o}get closeCode(){return this.#tS}get reason(){return this.#f}static createUnvalidatedWebSocketError(e,t,r){let i=new A(e,n);return i.#tS=t,i.#f=r,i}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:o,reason:o,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),i.is.WebSocketError=i.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:i}=r(8474),{environmentSettingsObject:s,readableStreamClose:n}=r(638),{states:o,opcodes:a,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:g,utf8Decode:u}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:m,closeWebSocketConnection:p}=r(5563),{channels:C}=r(6708),{WebsocketFrameSend:I}=r(4018),{ByteParser:f}=r(5346),{WebSocketError:E,createUnvalidatedWebSocketError:B}=r(7245),{kEnumerableProperty:y}=r(1210),{utf8DecodeBytes:Q}=r(2718),N=!1;class b{#e4;#tw;#tD;#tx;#tR;#tM;#tk=!1;#y={onConnectionEstablished:(e,t)=>this.#tF(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>m(this.#y,null,e.message),onParserDrain:()=>this.#y.socket.resume(),onSocketData:e=>{this.#tv.write(e)||this.#y.socket.pause()},onSocketError:e=>{this.#y.readyState=o.CLOSING,C.socketError.hasSubscribers&&C.socketError.publish(e),this.#y.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:o.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tv;constructor(e,t){N||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),N=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,s.settingsObject.baseUrl),n=t.protocols;if(n.length!==new Set(n.map(e=>e.toLowerCase())).size||n.length>0&&!n.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e4=r.toString(),this.#tw=Promise.withResolvers(),this.#tD=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tD.reject(e.reason);return}i(e,()=>{g(this.#y.readyState)||(m(this.#y),this.#y.readyState=o.CLOSING,this.#tw.reject(e.reason),this.#tD.reject(e.reason),this.#tk=!0)})}let a=s.settingsObject;this.#y.controller=h(r,n,a,this.#y,t)}get url(){return this.#e4.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tD.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;p(this.#y,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,i=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),i=a.BINARY;else{let s;try{s=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(s),i=a.TEXT}if(!this.#y.closeState.has(A.SENT)&&!this.#y.closeState.has(A.RECEIVED)){let e=new I(r);this.#y.socket.write(e.createFrame(i),()=>{t.resolve(void 0)})}return t.promise}#tF(e,t){this.#y.socket=e.socket;let r=this.#y.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#y.controller.dispatcher?.webSocketOptions?.maxPayloadSize,s=new f(this.#y,t,{maxFragments:r,maxPayloadSize:i});s.on("drain",()=>this.#y.onParserDrain()),s.on("error",e=>this.#y.onParserError(e)),this.#tv=s,this.#y.readyState=o.OPEN;let n=t??"",a=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tO(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>p(this.#y,null,null),abort:e=>this.#tH(e)});this.#tx=A,this.#tM=l,this.#tw.resolve({extensions:n,protocol:a,readable:A,writable:l})}#tU(e,t){let r;if(this.#y.readyState===o.OPEN){if(e===a.TEXT)try{r=u(t)}catch{m(this.#y,1007,"Received invalid UTF-8 in text frame.");return}else e===a.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#y.closeState.has(A.SENT)&&this.#y.closeState.has(A.RECEIVED);if(this.#y.readyState=o.CLOSED,this.#tk)return;this.#y.wasEverConnected||this.#tw.reject(new E("Socket never opened"));let t=this.#tv?.closingInfo,r=t?.code??1005;this.#y.closeState.has(A.SENT)||this.#y.closeState.has(A.RECEIVED)||(r=1006);let i=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)n(this.#tR),this.#tM.locked||this.#tM.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tD.resolve({closeCode:r,reason:i});else{let e=B("unclean close",r,i);this.#tR?.error(e),this.#tM?.abort(e),this.#tD.reject(e)}}#tH(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),p(this.#y,t,r)}#tO(e){this.#tH(e)}}Object.defineProperties(b.prototype,{url:y,opened:y,closed:y,close:y,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:b}},3927(e,t,r){let{states:i,opcodes:s}=r(7946),{isUtf8:n}=r(4573),{removeHTTPWhitespace:o}=r(3518),{collectASequenceOfCodePointsFast:a}=r(5358);function A(e){return e===s.CLOSE||e===s.PING||e===s.PONG}function l(e){return e===s.CONTINUATION}function c(e){return e===s.TEXT||e===s.BINARY}e.exports={isConnecting:function(e){return e===i.CONNECTING},isEstablished:function(e){return e===i.OPEN},isClosing:function(e){return e===i.CLOSING},isClosed:function(e){return e===i.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),i={}){let s=r(e,i);t.dispatchEvent(s)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(n(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[i,s=""]=a(";",e,t).split("=",2);r.set(o(i,!0,!1),o(s,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:i}=r(3429),{webidl:s}=r(849),{URLSerializer:n}=r(3518),{environmentSettingsObject:o}=r(638),{staticPropertyDescriptors:a,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:g,isEstablished:u,isClosing:h,isClosed:m,isValidSubprotocol:p,fireEvent:C,utf8Decode:I,toArrayBuffer:f,getURLRecord:E}=r(3927),{establishWebSocketConnection:B,closeWebSocketConnection:y,failWebsocketConnection:Q}=r(5563),{ByteParser:N}=r(5346),{kEnumerableProperty:b}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:D,createFastMessageEvent:x}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:M}=r(4018),{channels:k}=r(6708);class F extends EventTarget{#e5={open:null,error:null,close:null,message:null};#tP=0;#tY="";#tf="";#tG;#y={onConnectionEstablished:(e,t)=>this.#tF(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>Q(this.#y,null,e.message),onParserDrain:()=>this.#tz(),onSocketData:e=>{this.#tv.write(e)||this.#y.socket.pause()},onSocketError:e=>{this.#y.readyState=A.CLOSING,k.socketError.hasSubscribers&&k.socketError.publish(e),this.#y.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{k.ping.hasSubscribers&&k.ping.publish({payload:e,websocket:this})},onPong:e=>{k.pong.hasSubscribers&&k.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e4;#tq;#tv;constructor(e,t=[]){super(),s.util.markAsUncloneable(this);let r="WebSocket constructor";s.argumentLengthCheck(arguments,1,r);let i=s.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=s.converters.USVString(e),t=i.protocols;let n=E(e,o.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>p(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e4=new URL(n.href);let a=o.settingsObject;this.#y.controller=B(n,t,a,this.#y,i),this.#y.readyState=F.CONNECTING,this.#tq="blob"}close(e,t){s.brandCheck(this,F),void 0!==e&&(e=s.converters["unsigned short"](e,"WebSocket.close","code",s.attributes.Clamp)),void 0!==t&&(t=s.converters.USVString(t)),e??=null,t??="",y(this.#y,e,t,!0)}send(e){s.brandCheck(this,F);let t="WebSocket.send";if(s.argumentLengthCheck(arguments,1,t),e=s.converters.WebSocketSendData(e,t,"data"),g(this.#y.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!u(this.#y.readyState)||h(this.#y.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tP+=t.byteLength,this.#tG.add(t,()=>{this.#tP-=t.byteLength},c.text)}else i(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.typedArray)):s.is.Blob(e)&&(this.#tP+=e.size,this.#tG.add(e,()=>{this.#tP-=e.size},c.blob))}get readyState(){return s.brandCheck(this,F),this.#y.readyState}get bufferedAmount(){return s.brandCheck(this,F),this.#tP}get url(){return s.brandCheck(this,F),n(this.#e4)}get extensions(){return s.brandCheck(this,F),this.#tf}get protocol(){return s.brandCheck(this,F),this.#tY}get onopen(){return s.brandCheck(this,F),this.#e5.open}set onopen(e){s.brandCheck(this,F),this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onerror(){return s.brandCheck(this,F),this.#e5.error}set onerror(e){s.brandCheck(this,F),this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}get onclose(){return s.brandCheck(this,F),this.#e5.close}set onclose(e){s.brandCheck(this,F),this.#e5.close&&this.removeEventListener("close",this.#e5.close);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e5.close=e):this.#e5.close=null}get onmessage(){return s.brandCheck(this,F),this.#e5.message}set onmessage(e){s.brandCheck(this,F),this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get binaryType(){return s.brandCheck(this,F),this.#tq}set binaryType(e){s.brandCheck(this,F),"blob"!==e&&"arraybuffer"!==e?this.#tq="blob":this.#tq=e}#tF(e,t){this.#y.socket=e.socket;let r=this.#y.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#y.controller.dispatcher?.webSocketOptions?.maxPayloadSize,s=new N(this.#y,t,{maxFragments:r,maxPayloadSize:i});s.on("drain",()=>this.#y.onParserDrain()),s.on("error",e=>this.#y.onParserError(e)),this.#tv=s,this.#tG=new R(e.socket),this.#y.readyState=A.OPEN;let n=e.headersList.get("sec-websocket-extensions");null!==n&&(this.#tf=n);let o=e.headersList.get("sec-websocket-protocol");if(null!==o&&(this.#tY=o),C("open",this),k.open.hasSubscribers){var a;let t=e.headersList.entries;k.open.publish({address:(a=e.socket,"function"==typeof a?.address?a.address():"function"==typeof a?.session?.socket?.address?a.session.socket.address():null),protocol:this.#tY,extensions:this.#tf,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tU(e,t){let r;if(this.#y.readyState===A.OPEN){if(e===d.TEXT)try{r=I(t)}catch{Q(this.#y,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tq?new Blob([t]):f(t));C("message",this,x,{origin:this.#e4.origin,data:r})}}#tz(){this.#y.socket.resume()}#tT(){let e=this.#y.closeState.has(l.SENT)&&this.#y.closeState.has(l.RECEIVED),t=1005,r="",i=this.#tv?.closingInfo;i&&!i.error&&(t=i.code??1005,r=i.reason),this.#y.readyState=A.CLOSED,this.#y.closeState.has(l.RECEIVED)||(t=1006,C("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),C("close",this,(e,t)=>new D(e,t),{wasClean:e,code:t,reason:r}),k.close.hasSubscribers&&k.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#y.readyState;if(u(r)&&!h(r)&&!m(r)){let r=new M(t);e.#y.socket.write(r.createFrame(d.PING))}}}let{ping:U}=F;Reflect.deleteProperty(F,"ping"),F.CONNECTING=F.prototype.CONNECTING=A.CONNECTING,F.OPEN=F.prototype.OPEN=A.OPEN,F.CLOSING=F.prototype.CLOSING=A.CLOSING,F.CLOSED=F.prototype.CLOSED=A.CLOSED,Object.defineProperties(F.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(F,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),s.converters["sequence<DOMString>"]=s.sequenceConverter(s.converters.DOMString),s.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return s.util.Type(e)===s.util.Types.OBJECT&&Symbol.iterator in e?s.converters["sequence<DOMString>"](e):s.converters.DOMString(e,t,r)},s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:s.converters.any,defaultValue:()=>S()},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]),s.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return s.util.Type(e)!==s.util.Types.OBJECT||Symbol.iterator in e?{protocols:s.converters["DOMString or sequence<DOMString>"](e)}:s.converters.WebSocketInit(e)},s.converters.WebSocketSendData=function(e){return s.util.Type(e)===s.util.Types.OBJECT&&(s.is.Blob(e)||s.is.BufferSource(e))?e:s.converters.USVString(e)},e.exports={WebSocket:F,ping:U}},2613(e){e.exports=i("assert")},4434(e){e.exports=i("events")},8611(e){e.exports=i("http")},5692(e){e.exports=i("https")},9278(e){e.exports=i("net")},4589(e){e.exports=i("node:assert")},6698(e){e.exports=i("node:async_hooks")},4573(e){e.exports=i("node:buffer")},7540(e){e.exports=i("node:console")},7598(e){e.exports=i("node:crypto")},3053(e){e.exports=i("node:diagnostics_channel")},610(e){e.exports=i("node:dns")},8474(e){e.exports=i("node:events")},1455(e){e.exports=i("node:fs/promises")},7067(e){e.exports=i("node:http")},2467(e){e.exports=i("node:http2")},7030(e){e.exports=i("node:net")},6760(e){e.exports=i("node:path")},643(e){e.exports=i("node:perf_hooks")},1792(e){e.exports=i("node:querystring")},99(e){e.exports=i("node:sqlite")},7075(e){e.exports=i("node:stream")},7830(e){e.exports=i("node:stream/web")},7997(e){e.exports=i("node:timers")},1692(e){e.exports=i("node:tls")},3136(e){e.exports=i("node:url")},7975(e){e.exports=i("node:util")},3429(e){e.exports=i("node:util/types")},5919(e){e.exports=i("node:worker_threads")},8522(e){e.exports=i("node:zlib")},857(e){e.exports=i("os")},4756(e){e.exports=i("tls")},2018(e){e.exports=i("tty")},7016(e){e.exports=i("url")},9023(e){e.exports=i("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return s[e].call(r.exports,r,r.exports,o),r.exports}o.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{let e,t,r,s,n,a,A,l,c,d,g,u,h,m,p,C,I,f,E,B,y,Q,N,b,S,w,D,x,R,M,k,F,U,v,T,L,O,H,P,Y,G,z,q,V,_,J,W,j;var K,X,Z,$,ee,et,er,ei,es,en,eo,ea,eA,el,ec,ed,eg,eu,eh,em,ep,eC,eI,ef,eE,eB,ey,eQ,eN,eb,eS,ew,eD,ex,eR,eM,ek,eF,eU,ev,eT,eL={};o.r(eL),o.d(eL,{Do:()=>ij,all:()=>ik,andThen:()=>iQ,as:()=>iI,asVoid:()=>iE,bind:()=>iW,bindTo:()=>i_,composeK:()=>iD,contains:()=>iq,containsWith:()=>iz,exists:()=>iV,filter:()=>iO,filterMap:()=>iL,firstSomeOf:()=>ia,flatMap:()=>iy,flatMapNullishOr:()=>iN,flatten:()=>ib,fromIterable:()=>r7,fromNullOr:()=>ic,fromNullishOr:()=>iA,fromUndefinedOr:()=>il,gen:()=>iK,getFailure:()=>it,getOrElse:()=>ir,getOrNull:()=>ig,getOrThrow:()=>ip,getOrThrowWith:()=>im,getOrUndefined:()=>iu,getSuccess:()=>ie,isNone:()=>r4,isOption:()=>r5,isSome:()=>r8,let:()=>iJ,lift2:()=>iY,liftNullishOr:()=>id,liftPredicate:()=>iG,liftThrowable:()=>ih,makeCombinerFailFast:()=>iZ,makeEquivalence:()=>iH,makeOrder:()=>iP,makeReducer:()=>iX,makeReducerFailFast:()=>i$,map:()=>iC,match:()=>r9,none:()=>r2,orElse:()=>ii,orElseResult:()=>io,orElseSome:()=>is,partitionMap:()=>iT,product:()=>iR,productMany:()=>iM,reduceCompact:()=>iU,some:()=>r3,tap:()=>ix,toArray:()=>iv,toRefinement:()=>r6,void:()=>iB,zipLeft:()=>iw,zipRight:()=>iS,zipWith:()=>iF});var eO={};o.r(eO),o.d(eO,{AccessPolicy:()=>yB,AppendBlobAppendBlockExceptionHeaders:()=>NT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>NO,AppendBlobAppendBlockFromUrlHeaders:()=>NL,AppendBlobAppendBlockHeaders:()=>Nv,AppendBlobCreateExceptionHeaders:()=>NU,AppendBlobCreateHeaders:()=>NF,AppendBlobSealExceptionHeaders:()=>NP,AppendBlobSealHeaders:()=>NH,ArrowConfiguration:()=>yY,ArrowField:()=>yG,BlobAbortCopyFromURLExceptionHeaders:()=>Ns,BlobAbortCopyFromURLHeaders:()=>Ni,BlobAcquireLeaseExceptionHeaders:()=>QZ,BlobAcquireLeaseHeaders:()=>QX,BlobBreakLeaseExceptionHeaders:()=>Q8,BlobBreakLeaseHeaders:()=>Q4,BlobChangeLeaseExceptionHeaders:()=>Q5,BlobChangeLeaseHeaders:()=>Q3,BlobCopyFromURLExceptionHeaders:()=>Nr,BlobCopyFromURLHeaders:()=>Nt,BlobCreateSnapshotExceptionHeaders:()=>Q6,BlobCreateSnapshotHeaders:()=>Q9,BlobDeleteExceptionHeaders:()=>QT,BlobDeleteHeaders:()=>Qv,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>Q_,BlobDeleteImmutabilityPolicyHeaders:()=>QV,BlobDownloadExceptionHeaders:()=>Qk,BlobDownloadHeaders:()=>QM,BlobFlatListSegment:()=>yQ,BlobGetAccountInfoExceptionHeaders:()=>NA,BlobGetAccountInfoHeaders:()=>Na,BlobGetPropertiesExceptionHeaders:()=>QU,BlobGetPropertiesHeaders:()=>QF,BlobGetTagsExceptionHeaders:()=>Ng,BlobGetTagsHeaders:()=>Nd,BlobHierarchyListSegment:()=>yD,BlobItemInternal:()=>yN,BlobName:()=>yb,BlobPrefix:()=>yx,BlobPropertiesInternal:()=>yS,BlobQueryExceptionHeaders:()=>Nc,BlobQueryHeaders:()=>Nl,BlobReleaseLeaseExceptionHeaders:()=>Q0,BlobReleaseLeaseHeaders:()=>Q$,BlobRenewLeaseExceptionHeaders:()=>Q2,BlobRenewLeaseHeaders:()=>Q1,BlobServiceProperties:()=>yr,BlobServiceStatistics:()=>yl,BlobSetExpiryExceptionHeaders:()=>QP,BlobSetExpiryHeaders:()=>QH,BlobSetHttpHeadersExceptionHeaders:()=>QG,BlobSetHttpHeadersHeaders:()=>QY,BlobSetImmutabilityPolicyExceptionHeaders:()=>Qq,BlobSetImmutabilityPolicyHeaders:()=>Qz,BlobSetLegalHoldExceptionHeaders:()=>QW,BlobSetLegalHoldHeaders:()=>QJ,BlobSetMetadataExceptionHeaders:()=>QK,BlobSetMetadataHeaders:()=>Qj,BlobSetTagsExceptionHeaders:()=>Nh,BlobSetTagsHeaders:()=>Nu,BlobSetTierExceptionHeaders:()=>No,BlobSetTierHeaders:()=>Nn,BlobStartCopyFromURLExceptionHeaders:()=>Ne,BlobStartCopyFromURLHeaders:()=>Q7,BlobTag:()=>yf,BlobTags:()=>yI,BlobUndeleteExceptionHeaders:()=>QO,BlobUndeleteHeaders:()=>QL,Block:()=>yk,BlockBlobCommitBlockListExceptionHeaders:()=>NK,BlockBlobCommitBlockListHeaders:()=>Nj,BlockBlobGetBlockListExceptionHeaders:()=>NZ,BlockBlobGetBlockListHeaders:()=>NX,BlockBlobPutBlobFromUrlExceptionHeaders:()=>Nq,BlockBlobPutBlobFromUrlHeaders:()=>Nz,BlockBlobStageBlockExceptionHeaders:()=>N_,BlockBlobStageBlockFromURLExceptionHeaders:()=>NW,BlockBlobStageBlockFromURLHeaders:()=>NJ,BlockBlobStageBlockHeaders:()=>NV,BlockBlobUploadExceptionHeaders:()=>NG,BlockBlobUploadHeaders:()=>NY,BlockList:()=>yM,BlockLookupList:()=>yR,ClearRange:()=>yv,ContainerAcquireLeaseExceptionHeaders:()=>Qp,ContainerAcquireLeaseHeaders:()=>Qm,ContainerBreakLeaseExceptionHeaders:()=>Qy,ContainerBreakLeaseHeaders:()=>QB,ContainerChangeLeaseExceptionHeaders:()=>QN,ContainerChangeLeaseHeaders:()=>QQ,ContainerCreateExceptionHeaders:()=>y8,ContainerCreateHeaders:()=>y4,ContainerDeleteExceptionHeaders:()=>Qe,ContainerDeleteHeaders:()=>y7,ContainerFilterBlobsExceptionHeaders:()=>Qh,ContainerFilterBlobsHeaders:()=>Qu,ContainerGetAccessPolicyExceptionHeaders:()=>Qs,ContainerGetAccessPolicyHeaders:()=>Qi,ContainerGetAccountInfoExceptionHeaders:()=>QR,ContainerGetAccountInfoHeaders:()=>Qx,ContainerGetPropertiesExceptionHeaders:()=>y6,ContainerGetPropertiesHeaders:()=>y9,ContainerItem:()=>yg,ContainerListBlobFlatSegmentExceptionHeaders:()=>QS,ContainerListBlobFlatSegmentHeaders:()=>Qb,ContainerListBlobHierarchySegmentExceptionHeaders:()=>QD,ContainerListBlobHierarchySegmentHeaders:()=>Qw,ContainerProperties:()=>yu,ContainerReleaseLeaseExceptionHeaders:()=>QI,ContainerReleaseLeaseHeaders:()=>QC,ContainerRenameExceptionHeaders:()=>Qc,ContainerRenameHeaders:()=>Ql,ContainerRenewLeaseExceptionHeaders:()=>QE,ContainerRenewLeaseHeaders:()=>Qf,ContainerRestoreExceptionHeaders:()=>QA,ContainerRestoreHeaders:()=>Qa,ContainerSetAccessPolicyExceptionHeaders:()=>Qo,ContainerSetAccessPolicyHeaders:()=>Qn,ContainerSetMetadataExceptionHeaders:()=>Qr,ContainerSetMetadataHeaders:()=>Qt,ContainerSubmitBatchExceptionHeaders:()=>Qg,ContainerSubmitBatchHeaders:()=>Qd,CorsRule:()=>yo,DelimitedTextConfiguration:()=>yH,FilterBlobItem:()=>yC,FilterBlobSegment:()=>yp,GeoReplication:()=>yc,JsonTextConfiguration:()=>yP,KeyInfo:()=>yh,ListBlobsFlatSegmentResponse:()=>yy,ListBlobsHierarchySegmentResponse:()=>yw,ListContainersSegmentResponse:()=>yd,Logging:()=>yi,Metrics:()=>yn,PageBlobClearPagesExceptionHeaders:()=>NE,PageBlobClearPagesHeaders:()=>Nf,PageBlobCopyIncrementalExceptionHeaders:()=>Nk,PageBlobCopyIncrementalHeaders:()=>NM,PageBlobCreateExceptionHeaders:()=>Np,PageBlobCreateHeaders:()=>Nm,PageBlobGetPageRangesDiffExceptionHeaders:()=>NS,PageBlobGetPageRangesDiffHeaders:()=>Nb,PageBlobGetPageRangesExceptionHeaders:()=>NN,PageBlobGetPageRangesHeaders:()=>NQ,PageBlobResizeExceptionHeaders:()=>ND,PageBlobResizeHeaders:()=>Nw,PageBlobUpdateSequenceNumberExceptionHeaders:()=>NR,PageBlobUpdateSequenceNumberHeaders:()=>Nx,PageBlobUploadPagesExceptionHeaders:()=>NI,PageBlobUploadPagesFromURLExceptionHeaders:()=>Ny,PageBlobUploadPagesFromURLHeaders:()=>NB,PageBlobUploadPagesHeaders:()=>NC,PageList:()=>yF,PageRange:()=>yU,QueryFormat:()=>yO,QueryRequest:()=>yT,QuerySerialization:()=>yL,RetentionPolicy:()=>ys,ServiceFilterBlobsExceptionHeaders:()=>y5,ServiceFilterBlobsHeaders:()=>y3,ServiceGetAccountInfoExceptionHeaders:()=>y0,ServiceGetAccountInfoHeaders:()=>y$,ServiceGetPropertiesExceptionHeaders:()=>y_,ServiceGetPropertiesHeaders:()=>yV,ServiceGetStatisticsExceptionHeaders:()=>yW,ServiceGetStatisticsHeaders:()=>yJ,ServiceGetUserDelegationKeyExceptionHeaders:()=>yZ,ServiceGetUserDelegationKeyHeaders:()=>yX,ServiceListContainersSegmentExceptionHeaders:()=>yK,ServiceListContainersSegmentHeaders:()=>yj,ServiceSetPropertiesExceptionHeaders:()=>yq,ServiceSetPropertiesHeaders:()=>yz,ServiceSubmitBatchExceptionHeaders:()=>y2,ServiceSubmitBatchHeaders:()=>y1,SignedIdentifier:()=>yE,StaticWebsite:()=>ya,StorageError:()=>yA,UserDelegationKey:()=>ym});var eH=o(7067);let eP=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},eY={pipe(){return eP(this,arguments)}},eG=function(){function e(){}return e.prototype=eY,e}(),ez=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},eq=e=>e,eV=e=>()=>e,e_=eV(!0),eJ=eV(!1),eW=eV(null),ej=eV(void 0);function eK(e,...t){return eP(e,t)}function eX(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}let eZ=e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t},e$=new WeakSet;function e0(e){return"string"==typeof e}function e1(e){return"number"==typeof e}function e2(e){return"boolean"==typeof e}function e3(e){return"bigint"==typeof e}function e5(e){return"symbol"==typeof e}function e4(e){return"function"==typeof e}function e8(e){return void 0!==e}function e9(e){return null!=e}function e6(e){return!0}let e7=ez(2,(e,t)=>{var r;return("object"==typeof(r=e)&&null!==r||e4(r))&&t in e}),te=ez(2,(e,t)=>e7(e,"_tag")&&e._tag===t);function tt(e){return e7(e,Symbol.iterator)||e0(e)}let tr="~effect/interfaces/Hash",ti=e=>{switch(typeof e){case"number":return tA(e);case"bigint":return tl(e.toString(10));case"boolean":case"symbol":return tl(String(e));case"string":return tl(e);case"undefined":return tl("undefined");case"function":case"object":if(null===e)return tl("null");{if(e instanceof Date)return tl(e.toISOString());if(e instanceof RegExp)return tl(e.toString());if(e$.has(e))return ts(e);if(tC.has(e))return tC.get(e);let t=function(e,t){if(tI.has(e))return tl("[Circular]");tI.add(e);let r=t();return tI.delete(e),r}(e,()=>{if(ta(e))return e[tr]();if("function"==typeof e)return ts(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return tu(e);if(e instanceof Map)return th(e);if(e instanceof Set)return tm(e);return td(e)});return tC.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},ts=e=>(tp.has(e)||tp.set(e,tA(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),tp.get(e)),tn=ez(2,(e,t)=>53*e^t),to=e=>0xbfffffff&e|e>>>1&0x40000000,ta=e=>e7(e,tr),tA=e=>{if(e!=e)return tl("NaN");if(e===1/0)return tl("Infinity");if(e===-1/0)return tl("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return to(t)},tl=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return to(t)},tc=(e,t)=>{let r=12289;for(let i of t)r^=tn(ti(i),ti(e[i]));return to(r)},td=e=>tc(e,eZ(e)),tg=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return to(i)},tu=tg(6151,ti),th=tg(tl("Map"),([e,t])=>tn(ti(e),ti(t))),tm=tg(tl("Set"),ti),tp=new WeakMap,tC=new WeakMap,tI=new WeakSet,tf="~effect/interfaces/Equal";function tE(){return 1==arguments.length?e=>tB(e,arguments[0]):tB(arguments[0],arguments[1])}function tB(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||e$.has(e)||e$.has(t))&&function(e,t,r){let i=tb.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,tb.set(e,i);let s=r(e,t);i.set(t,s);let n=tb.get(t);return n||(n=new WeakMap,tb.set(t,n)),n.set(e,s),s}(e,t,tN))}let ty=new WeakSet,tQ=new WeakSet;function tN(e,t){if(ti(e)!==ti(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=tD(e),i=tD(t);if(r!==i)return!1;let s=r&&i;return("function"!=typeof e||!!s)&&function(e,t,r){let i=ty.has(e),s=tQ.has(t);if(i&&s)return!0;if(i||s)return!1;ty.add(e),tQ.add(t);let n=r();return ty.delete(e),tQ.delete(t),n}(e,t,()=>{if(s)return e[tf](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!tB(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&tS(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&tw(e,t);var r=e,i=t;let n=eZ(r),o=eZ(i);if(n.size!==o.size)return!1;for(let e of n)if(!o.has(e)||!tB(r[e],i[e]))return!1;return!0})}let tb=new WeakMap,tS=(K=tB,X=tB,function(e,t){for(let[r,i]of e){let e=!1;for(let[s,n]of t)if(K(r,s)&&X(i,n)){e=!0;break}if(!e)return!1}return!0}),tw=(Z=tB,function(e,t){for(let r of e){let e=!1;for(let i of t)if(Z(r,i)){e=!0;break}if(!e)return!1}return!0}),tD=e=>e7(e,tf),tx=Symbol.for("~effect/Redactable");function tR(e){return e7(e,tx)?tM(e):e}function tM(e){return e[tx](globalThis[tk]?.context??tF)}let tk="~effect/Fiber/currentFiber",tF={"~effect/Context":{},mapUnsafe:new Map,pipe(){return eP(this,arguments)}};function tU(e,t){let r=t?.space??0,i=new WeakSet,s=r?"number"==typeof r?" ".repeat(r):r:"",n=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function e(r,o=0){if(Array.isArray(r)){let t,n;if(i.has(r))return tv;if(i.add(r),!s||r.length<=1)return`[${r.map(t=>e(t,o)).join(",")}]`;let a=r.map(t=>e(t,o+1)).join(",\n"+(t=o+1,s.repeat(t)));return`[ ${n=o+1,s.repeat(n)}${a} -${s.repeat(o)}]`}if(r instanceof Date)return tm(r);if(!t?.ignoreToString&&eO(r,"toString")&&"function"==typeof r.toString&&r.toString!==Object.prototype.toString&&r.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(r);return r instanceof Error&&r.cause?`${t} (cause: ${e(r.cause,o)})`:t}if("string"==typeof r)return JSON.stringify(r);if("number"==typeof r||null==r||"boolean"==typeof r||"symbol"==typeof r)return String(r);if("bigint"==typeof r)return String(r)+"n";if("object"==typeof r||"function"==typeof r){if(i.has(r))return tu;if(i.add(r),ta in r)return tg(tl(r));if(Symbol.iterator in r)return`${r.constructor.name}(${e(Array.from(r),o)})`;let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(r);if(!s||t.length<=1){let i=`{${t.map(t=>`${th(t)}:${e(r[t],o)}`).join(",")}}`;return n(r,i)}let a=`{ -${t.map(t=>{let i;return`${i=o+1,s.repeat(i)}${th(t)}: ${e(r[t],o+1)}`}).join(",\n")} -${s.repeat(o)}}`;return n(r,a)}return String(r)}(e,0)}let tu="[Circular]";function th(e){return"string"==typeof e?JSON.stringify(e):String(e)}function tm(e){try{return e.toISOString()}catch{return"Invalid Date"}}function tp(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=tA(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}let tC=Symbol.for("nodejs.util.inspect.custom"),tI=e=>{try{if(eO(e,"toJSON")&&eL(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(tI)}catch{return"[toJSON threw]"}return tA(e)},tE={toJSON(){return tI(this)},[tC](){return this.toJSON()},toString(){return tg(this.toJSON())}};class tf{[tC](){return this.toJSON()}toString(){return tg(this.toJSON())}}class tB{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new tB(this.self)}}let ty=(c={[l="~effect/Utils/internal"]:e=>e()},c[l](()=>Error().stack)?.includes(l)===!0?c[l]:({[l]:e=>e()})[l]),tQ="~effect/Effect",tN="~effect/Exit",tb=`${tQ}/identifier`,tS=`${tQ}/args`,tw=`${tQ}/evaluate`,tD=`${tQ}/successCont`,tx=`${tQ}/failureCont`,tR=`${tQ}/ensureCont`,tM=Symbol.for("effect/Effect/Yield"),tk={pipe(){return ts(this,arguments)},toJSON(){return{...this}},toString(){return tg(this.toJSON(),{ignoreToString:!0,space:2})},[tC](){return this.toJSON()}},tU={[tQ]:{_A:eN,_E:eN,_R:eN},...tk,[Symbol.iterator](){return new tB(this)},toJSON(){return{_id:"Effect",op:this[tb],...tS in this?{args:this[tS]}:void 0}}},tF="~effect/Cause",tv="~effect/Cause/Reason",tT=e=>eO(e,tF);class tL{[tF];reasons;constructor(e){this[tF]=tF,this.reasons=e}pipe(){return ts(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${tg(this.reasons)})`}[tC](){return this.toJSON()}[e5](e){return tT(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>e4(t,e.reasons[r]))}[eY](){return eZ(this.reasons)}}let tH=new WeakMap;class tO{[tv];annotations;_tag;constructor(e,t,r){if(this[tv]=tv,this._tag=e,t!==tP&&"object"==typeof r&&null!==r&&t.size>0){let e=tH.get(r);e&&(t=new Map([...e,...t])),tH.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return ts(this,arguments)}toString(){return tg(this)}[tC](){return this.toString()}}let tP=new Map;class tY extends tO{error;constructor(e,t=tP){super("Fail",t,e),this.error=e}toString(){return`Fail(${tg(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[e5](e){return tJ(e)&&e4(this.error,e.error)&&e4(this.annotations,e.annotations)}[eY](){return eq(eW(this._tag))(eq(eG(this.error))(eG(this.annotations)))}}let tG=e=>new tL(e),tz=new tL([]);class tq extends tO{defect;constructor(e,t=tP){super("Die",t,e),this.defect=e}toString(){return`Die(${tg(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[e5](e){return t_(e)&&e4(this.defect,e.defect)&&e4(this.annotations,e.annotations)}[eY](){return eq(eW(this._tag))(eq(eG(this.defect))(eG(this.annotations)))}}let tV=eQ(e=>tT(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new tL(e.reasons.map(e=>e.annotate(t,r)))),tJ=e=>"Fail"===e._tag,t_=e=>"Die"===e._tag,tW=e=>"Interrupt"===e._tag;function tj(e){return t5("Effect.evaluate: Not implemented")}let tK=e=>({...tU,[tb]:e.op,[tw]:e[tw]??tj,[tD]:e[tD],[tx]:e[tx],[tR]:e[tR]}),tX=e=>{let t=tK(e);return function(){let r=Object.create(t);return r[tS]=!1===e.single?arguments:arguments[0],r}},tZ=e=>{let t={...tK(e),[tN]:tN,_tag:e.op,get[e.prop](){return this[tS]},toString(){return`${e.op}(${tg(this[tS])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[tS]}},[e5](e){return eO(e,tN)&&e._tag===this._tag&&e4(this[tS],e[tS])},[eY](){return eq(eW(e.op),eG(this[tS]))}};return function(e){let r=Object.create(t);return r[tS]=e,r}},t$=tZ({op:"Success",prop:"value",[tw](e){let t=e.getCont(tD);return t?t[tD](this[tS],e,this):e.yieldWith(this)}}),t0={key:"effect/Cause/StackTrace"},t1="effect/Cause/InterruptorStackTrace",t2=tZ({op:"Failure",prop:"cause",[tw](e){let t=this[tS],r=!1;e.currentStackFrame&&(t=tV(t,{mapUnsafe:new Map([[t0.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(tx);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(tx);return i?i[tx](t,e,r?void 0:this):e.yieldWith(r?t2(t):this)}}),t3=e=>t2(new tL([new tY(e)])),t5=e=>t2(new tL([new tq(e)])),t4=tX({op:"WithFiber",[tw](e){return this[tS](e)}}),t8=function(){class e extends globalThis.Error{}let t=tK({op:"YieldableError",[tw](){return t3(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),t9=(d=Symbol.for("effect/Data/Error/plainArgs"),class extends t8{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,d,{value:e,enumerable:!1}))}toJSON(){return{...this[d],...this}}}),t6=e=>{class t extends t9{_tag=e}return t.prototype.name=e,t},t7="~effect/Cause/Done",re={[t7]:t7,_tag:"Done",value:void 0},rt=e=>void 0===e?re:{[t7]:t7,_tag:"Done",value:e},rr=t3(re),ri=Object.getOwnPropertyDescriptor,rs=Object.prototype.hasOwnProperty,rn=Object.isExtensible,ro=void 0===(g=ri(Error,"stackTraceLimit"))?rn(Error):rs.call(g,"writable")?!0===g.writable:void 0!==g.set,ra=e=>{ro&&(Error.stackTraceLimit=e)},rA=e=>(t,r)=>t===r||e(t,r),rl=(e,t)=>e===t,rc="~effect/data/Option",rd={[rc]:{_A:e=>e},...tk,[Symbol.iterator](){return new tB(this)}},rg=Object.defineProperty(Object.assign(Object.create(rd),{_tag:"Some",_op:"Some",[e5](e){return rm(e)&&rC(e)&&e4(this.value,e.value)},[eY](){return eq(eG(this._tag))(eG(this.value))},toString(){return`some(${tg(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:tI(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),ru=eG("None"),rh=Object.assign(Object.create(rd),{_tag:"None",_op:"None",valueOrUndefined:void 0,[e5]:e=>rm(e)&&rp(e),[eY]:()=>ru,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),rm=e=>eO(e,rc),rp=e=>"None"===e._tag,rC=e=>"Some"===e._tag,rI=Object.create(rh),rE=e=>{let t=Object.create(rg);return t.value=e,t},rf="~effect/data/Result",rB={[rf]:{_A:e=>e,_E:e=>e},...tk,[Symbol.iterator](){return new tB(this)}},ry=Object.assign(Object.create(rB),{_tag:"Success",_op:"Success",[e5](e){return rN(e)&&rS(e)&&e4(this.success,e.success)},[eY](){return eq(eG(this._tag))(eG(this.success))},toString(){return`success(${tg(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:tI(this.success)}}}),rQ=Object.assign(Object.create(rB),{_tag:"Failure",_op:"Failure",[e5](e){return rN(e)&&rb(e)&&e4(this.failure,e.failure)},[eY](){return eq(eG(this._tag))(eG(this.failure))},toString(){return`failure(${tg(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:tI(this.failure)}}}),rN=e=>eO(e,rf),rb=e=>"Failure"===e._tag,rS=e=>"Success"===e._tag,rw=e=>{let t=Object.create(rQ);return t.failure=e,t},rD=e=>{let t=Object.create(ry);return t.success=e,t};function rx(e){return(t,r)=>t===r?0:e(t,r)}let rR=rx((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),rM=rx((e,t)=>e<t?-1:1),rk=eQ(2,(e,t)=>rx((r,i)=>e(t(r),t(i)))),rU=(e=>e.getTime(),e=>eQ(2,(t,r)=>1===e(t,r)));function rF(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let rv=()=>rI,rT=rE,rL=rm,rH=rp,rO=rC,rP=eQ(2,(e,{onNone:t,onSome:r})=>rH(e)?t():r(e.value)),rY=e=>t=>rO(e(t)),rG=e=>{for(let t of e)return rT(t);return rv()},rz=e=>rb(e)?rI:rE(e.success),rq=e=>rS(e)?rI:rE(e.failure),rV=eQ(2,(e,t)=>rH(e)?t():e.value),rJ=eQ(2,(e,t)=>rH(e)?t():e),r_=eQ(2,(e,t)=>rH(e)?rT(t()):e),rW=eQ(2,(e,t)=>rH(e)?r4(t(),rD):r4(e,rw)),rj=e=>{let t=rv();for(t of e)if(rO(t))break;return t},rK=e=>null==e?rv():rT(e),rX=e=>void 0===e?rv():rT(e),rZ=e=>null===e?rv():rT(e),r$=e=>(...t)=>rK(e(...t)),r0=rV(eD),r1=rV(ex),r2=e=>(...t)=>{try{return rT(e(...t))}catch{return rv()}},r3=eQ(2,(e,t)=>{if(rO(e))return e.value;throw t()}),r5=r3(()=>Error("getOrThrow called on a None")),r4=eQ(2,(e,t)=>rH(e)?rv():rT(t(e.value))),r8=eQ(2,(e,t)=>r4(e,()=>t)),r9=r8(void 0),r6=rT(void 0),r7=eQ(2,(e,t)=>rH(e)?rv():t(e.value)),ie=eQ(2,(e,t)=>r7(e,e=>{let r=eL(t)?t(e):t;return rL(r)?r:rT(r)})),it=eQ(2,(e,t)=>rH(e)?rv():rK(t(e.value))),ir=r7(eN),ii=eQ(2,(e,t)=>r7(e,()=>t)),is=eQ(2,(e,t)=>ia(e,()=>t)),io=eQ(2,(e,t)=>r=>r7(e(r),t)),ia=eQ(2,(e,t)=>r7(e,e=>r4(t(e),()=>e))),iA=(e,t)=>rO(e)&&rO(t)?rT([e.value,t.value]):rv(),il=(e,t)=>{if(rH(e))return rv();let r=[e.value];for(let e of t){if(rH(e))return rv();r.push(e.value)}return rT(r)},ic=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(rH(r))return rv();t.push(r.value)}return rT(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(rH(i))return rv();t[r]=i.value}return rT(t)},id=eQ(3,(e,t,r)=>r4(iA(e,t),([e,t])=>r(e,t))),ig=eQ(3,(e,t,r)=>{let i=t;for(let t of e)rO(t)&&(i=r(i,t.value));return i}),iu=e=>rH(e)?[]:[e.value],ih=eQ(2,(e,t)=>{if(rH(e))return[rv(),rv()];let r=t(e.value);return rb(r)?[rT(r.failure),rv()]:[rv(),rT(r.success)]}),im=eQ(2,(e,t)=>{if(rH(e))return rv();let r=t(e.value);return rS(r)?rT(r.success):rv()}),ip=eQ(2,(e,t)=>rH(e)?rv():t(e.value)?rT(e.value):rv()),iC=e=>rA((t,r)=>rH(t)?rH(r):!rH(r)&&e(t.value,r.value)),iI=e=>rx((t,r)=>rO(t)?rO(r)?e(t.value,r.value):1:-1),iE=e=>eQ(2,(t,r)=>id(t,r,e)),iB=eQ(2,(e,t)=>t(e)?rT(e):rv()),iy=e=>eQ(2,(t,r)=>!rH(t)&&e(t.value,r)),iQ=iy(e4),iN=eQ(2,(e,t)=>!rH(e)&&t(e.value)),ib=eQ(2,(e,t)=>r4(e,e=>({[t]:e}))),iS=eQ(3,(e,t,r)=>r4(e,e=>({...e,[t]:r(e)}))),iw=eQ(3,(e,t,r)=>r7(e,e=>r4(r(e),r=>({...e,[t]:r})))),iD=rT({}),ix=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(rH(e))return e;r=t.next(e.value)}return rT(r.value)};function iR(e){return rF((t,r)=>rH(t)?r:rH(r)?t:rT(e.combine(t.value,r.value)),rv())}function iM(e){return{combine:(t,r)=>rH(t)||rH(r)?rv():rT(e.combine(t.value,r.value))}}function ik(e){let t=iM(e).combine,r=rT(e.initialValue);return rF(t,r,e=>{let i=r;for(let r of e)if(rH(i=t(i,r)))break;return i})}let iU="~effect/Context/Service",iF=function(){let e=Error.stackTraceLimit;ra(2);let t=Error();ra(e);let r=function(){};return(Object.setPrototypeOf(r,iv),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[iT]=iT,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},iv={[iU]:iU,...tK({op:(u={label:"Service",evaluate(e){return t$(iJ(e.context,this))}}).label,[tw]:u.evaluate}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return iG(this,e)},use(e){return t4(t=>e(iJ(t.context,this)))},useSync(e){return t4(t=>t$(e(iJ(t.context,this))))}},iT="~effect/Context/Reference",iL="~effect/Context",iH=e=>{let t=Object.create(iO);return t.mapUnsafe=e,t.mutable=!1,t},iO={...tk,[iL]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[e5](e){if(!iP(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!e4(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[eY](){return e_(this.mapUnsafe.size)}},iP=e=>eO(e,iL),iY=iH(new Map),iG=(e,t)=>iH(new Map([[e.key,t]])),iz=eQ(3,(e,t,r)=>iX(e,e=>{e.set(t.key,r)})),iq=eQ(2,(e,t)=>e.mapUnsafe.get(t.key)),iV=eQ(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(iT in t)return iW(t);throw ij(t)}return e.mapUnsafe.get(t.key)}),iJ=iV,i_="~effect/Context/defaultValue",iW=e=>i_ in e?e[i_]:e[i_]=e.defaultValue(),ij=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},iK=eQ(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:iX(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),iX=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),iH(r)},iZ=eQ(2,(e,t)=>Object.hasOwn(e,t)),i$=eQ(2,(e,t)=>{let r={...e};for(let i of i0(e))r[i]=t(e[i],i);return r}),i0=e=>Object.keys(e),i1=eQ(2,(e,t)=>rS(e)?rD(t(e.success)):rw(e.failure)),i2=eQ(2,(e,{onFailure:t,onSuccess:r})=>rb(e)?t(e.failure):r(e.success)),i3=globalThis.Array,i5=e=>i3.isArray(e)?e:i3.from(e),i4=eQ(2,(e,t)=>[...e,t]),i8=eQ(2,(e,t)=>i5(e).concat(i5(t)));i3.isArray;let i9=eQ(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),i6=eQ(3,(e,t,r)=>{let i=i5(e),s=i5(t);if(i.length>0)return s.length>0?si(r)(i8(i,s)):i;return s}),i7=eQ(2,(e,t)=>i6(e,t,e4)),se=()=>[],st=eQ(2,(e,t)=>e.map(t)),sr=eQ(2,(e,t)=>{let r=[],i=[],s=0;for(let n of e){let e=t(n,s++);rS(e)?i.push(e.success):r.push(e.failure)}return[r,i]}),si=eQ(2,(e,t)=>{let r=i5(e);if(r.length>0){let e=[i9(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]}),ss="~effect/time/Duration",sn=BigInt(0),so=BigInt(1),sa=BigInt(1e3),sA=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),sl=(e,t)=>e.includes(".")?sA(Number(e)*Number(t)):BigInt(e)*t,sc=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,sd=e=>{switch(typeof e){case"number":return sQ(e);case"bigint":return sy(e);case"string":{if("Infinity"===e)return sf;if("-Infinity"===e)return sB;let t=sc.exec(e);if(!t)break;let[r,i,s]=t;if("nano"===s||"nanos"===s)return sy(sl(i,so));if("micro"===s||"micros"===s)return sy(sl(i,sa));let n=Number(i);switch(s){case"milli":case"millis":return sQ(n);case"second":case"seconds":return sN(n);case"minute":case"minutes":return sb(n);case"hour":case"hours":return sS(n);case"day":case"days":return sw(n);case"week":case"weeks":return sD(n)}break}case"object":{if(null===e)break;if(ss in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(eF))return sg(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return sE;if(e[0]===-1/0||e[1]===-1/0)return sB;if(e[0]===1/0||e[1]===1/0)return sf;return sC(sA(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return sC(t);return sC(sA(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return sg(e)},sg=e=>{throw Error(`Invalid Input: ${e}`)},su={_tag:"Millis",millis:0},sh={_tag:"Infinity"},sm={_tag:"NegativeInfinity"},sp={[ss]:ss,[eY](){return eK(this.value)},[e5](e){return sI(e)&&sU(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[tC](){return this.toJSON()},pipe(){return ts(this,arguments)}},sC=e=>{let t=Object.create(sp);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=su:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:sA(1e6*e)}:t.value=e>0?sh:sm:e===sn?t.value=su:t.value={_tag:"Nanos",nanos:e},t},sI=e=>eO(e,ss),sE=sC(0),sf=sC(1/0),sB=sC(-1/0),sy=e=>sC(e),sQ=e=>sC(e),sN=e=>sC(1e3*e),sb=e=>sC(6e4*e),sS=e=>sC(36e5*e),sw=e=>sC(864e5*e),sD=e=>sC(6048e5*e),sx=e=>sM(sd(e),{onMillis:eN,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),sR=e=>{let t=sd(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return sA(1e6*t.value.millis)}},sM=eQ(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),sk=eQ(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(sR(e),t.value.nanos):r.onNanos(e.value.nanos,sR(t))),sU=eQ(2,(e,t)=>sk(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag})),sF=eQ(2,(e,t)=>r=>{let i=e(r);if(rb(i))return rw(r);let s=t(i.success);return rb(s)?rw(r):s}),sv=iF("effect/Scheduler",{defaultValue:()=>new sH}),sT="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class sL{buckets=[];scheduleTask(e,t){let r,i=this.buckets,s=i.length,n=0;for(;n<s&&!(i[n][0]>t);n++)r=i[n];r&&r[0]===t?r[1].push(e):n===s?i.push([t,[e]]):i.splice(n,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class sH{executionMode;setImmediate;constructor(e="async",t=sT){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new sO(this.setImmediate)}}class sO{tasks=new sL;running=void 0;setImmediate;constructor(e=sT){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let sP=iF("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),sY=iF("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1}),sG="effect/Tracer/ParentSpan";class sz extends iF()(sG){}let sq=iF("effect/Tracer/DisablePropagation",{defaultValue:ew}),sV=iF("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),sJ=iF("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),s_="effect/Tracer",sW=iF(s_,{defaultValue:()=>({span:e=>new sj(e)})});class sj{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=ef.getOrUndefined(e.parent)?.traceId??sK(32),this.spanId=sK(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let sK=(m=(h="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=h.charAt(Math.floor(Math.random()*m));return t}),sX=iF("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),sZ=iF("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),s$=iF("effect/References/CurrentStackFrame",{defaultValue:ex}),s0=iF("effect/References/TracerEnabled",{defaultValue:eS}),s1=iF("effect/References/TracerTimingEnabled",{defaultValue:eS}),s2=iF("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),s3=iF("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),s5=iF("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),s4=iF("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),s8=iF("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),s9=iF("effect/References/CurrentLogSpans",{defaultValue:()=>[]});class s6 extends tO{fiberId;constructor(e,t=tP){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[e5](e){return tW(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[eY](){return eq(eW(`${this._tag}:${this.fiberId}`))(ez(this.annotations))}}let s7=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return rD(r.error)}return rw(e)},ne=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?rD(t):rw(e)},nt=eQ(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new tL(i7(e.reasons,t.reasons));return e4(e,r)?e:r}),nr=eQ(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>tJ(e)?(r=!0,new tY(t(e.error))):e);return r?tG(i):e}),ni=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},ns=(e,t,r)=>{let i,s=typeof e;if(e&&"object"===s){if(i=new globalThis.Error(nn(e),{cause:e.cause?ns(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=na(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?nA(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=nd(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===s?e:tp(e));return i},nn=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return tp(e)},no=/\((.*)\)/g,na=(e,t,r)=>{let i=`${t.name}: ${t.message}`,s=(e.startsWith(i)?e.slice(i.length):e).split("\n"),n=[i];for(let e=1;e<s.length&&!/(?:Generator\.next|~effect\/Effect)/.test(s[e]);e++)n.push(s[e]);return r?nA(n.join("\n"),r):n.join("\n")},nA=(e,t)=>{let r=t?.get(t0.key);return r&&(e=`${e} -${nl(r)}`),e},nl=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(no),s=!1;for(let[,e]of i)s=!0,t.push(` at ${r.name} (${e})`);s||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},nc=e=>(e=>{let t=[],r=[];if(0===e.reasons.length)return t;let i=Error.stackTraceLimit;for(let i of(ra(1),e.reasons)){if("Interrupt"===i._tag){r.push(i);continue}t.push(ns("Die"===i._tag?i.defect:i.error,i.annotations,void 0))}if(0===t.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=((e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(t1);r.push(` at fiber (${t})`),i&&r.push(nl(i))}return r.join("\n")})(e,r);let i=new globalThis.Error("All fibers interrupted without error",{cause:e});i.name="InterruptError",i.stack=`${i.name}: ${i.message}`,t.push(ns(i,r[0].annotations,void 0))}return ra(i),t})(e).map(nd).join("\n"),nd=e=>e.cause?`${e.stack} { -${ng(e.cause," ")} -}`:e.stack,ng=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,s=r.length;e<s;e++)i+=` +${s.repeat(o)}]`}if(r instanceof Date)return tL(r);if(!t?.ignoreToString&&e7(r,"toString")&&"function"==typeof r.toString&&r.toString!==Object.prototype.toString&&r.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(r);return r instanceof Error&&r.cause?`${t} (cause: ${e(r.cause,o)})`:t}if("string"==typeof r)return JSON.stringify(r);if("number"==typeof r||null==r||"boolean"==typeof r||"symbol"==typeof r)return String(r);if("bigint"==typeof r)return String(r)+"n";if("object"==typeof r||"function"==typeof r){if(i.has(r))return tv;if(i.add(r),tx in r)return tU(tM(r));if(Symbol.iterator in r)return`${r.constructor.name}(${e(Array.from(r),o)})`;let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(r);if(!s||t.length<=1){let i=`{${t.map(t=>`${tT(t)}:${e(r[t],o)}`).join(",")}}`;return n(r,i)}let a=`{ +${t.map(t=>{let i;return`${i=o+1,s.repeat(i)}${tT(t)}: ${e(r[t],o+1)}`}).join(",\n")} +${s.repeat(o)}}`;return n(r,a)}return String(r)}(e,0)}let tv="[Circular]";function tT(e){return"string"==typeof e?JSON.stringify(e):String(e)}function tL(e){try{return e.toISOString()}catch{return"Invalid Date"}}function tO(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=tR(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}let tH=Symbol.for("nodejs.util.inspect.custom"),tP=e=>{try{if(e7(e,"toJSON")&&e4(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(tP)}catch{return"[toJSON threw]"}return tR(e)},tY={toJSON(){return tP(this)},[tH](){return this.toJSON()},toString(){return tU(this.toJSON())}};class tG{[tH](){return this.toJSON()}toString(){return tU(this.toJSON())}}class tz{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new tz(this.self)}}let tq=(c={[l="~effect/Utils/internal"]:e=>e()},c[l](()=>Error().stack)?.includes(l)===!0?c[l]:({[l]:e=>e()})[l]),tV="~effect/Effect",t_="~effect/Exit",tJ=`${tV}/identifier`,tW=`${tV}/args`,tj=`${tV}/evaluate`,tK=`${tV}/successCont`,tX=`${tV}/failureCont`,tZ=`${tV}/ensureCont`,t$=Symbol.for("effect/Effect/Yield"),t0={pipe(){return eP(this,arguments)},toJSON(){return{...this}},toString(){return tU(this.toJSON(),{ignoreToString:!0,space:2})},[tH](){return this.toJSON()}},t1={[tV]:{_A:eq,_E:eq,_R:eq},...t0,[Symbol.iterator](){return new tz(this)},toJSON(){return{_id:"Effect",op:this[tJ],...tW in this?{args:this[tW]}:void 0}}},t2="~effect/Cause",t3="~effect/Cause/Reason",t5=e=>e7(e,t2);class t4{[t2];reasons;constructor(e){this[t2]=t2,this.reasons=e}pipe(){return eP(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${tU(this.reasons)})`}[tH](){return this.toJSON()}[tf](e){return t5(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>tE(t,e.reasons[r]))}[tr](){return tu(this.reasons)}}let t8=new WeakMap;class t9{[t3];annotations;_tag;constructor(e,t,r){if(this[t3]=t3,this._tag=e,t!==t6&&"object"==typeof r&&null!==r&&t.size>0){let e=t8.get(r);e&&(t=new Map([...e,...t])),t8.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return eP(this,arguments)}toString(){return tU(this)}[tH](){return this.toString()}}let t6=new Map;class t7 extends t9{error;constructor(e,t=t6){super("Fail",t,e),this.error=e}toString(){return`Fail(${tU(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[tf](e){return rn(e)&&tE(this.error,e.error)&&tE(this.annotations,e.annotations)}[tr](){return tn(tl(this._tag))(tn(ti(this.error))(ti(this.annotations)))}}let re=e=>new t4(e),rt=new t4([]),rr=e=>new t4([new t7(e)]);class ri extends t9{defect;constructor(e,t=t6){super("Die",t,e),this.defect=e}toString(){return`Die(${tU(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[tf](e){return ro(e)&&tE(this.defect,e.defect)&&tE(this.annotations,e.annotations)}[tr](){return tn(tl(this._tag))(tn(ti(this.defect))(ti(this.annotations)))}}let rs=ez(e=>t5(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new t4(e.reasons.map(e=>e.annotate(t,r)))),rn=e=>"Fail"===e._tag,ro=e=>"Die"===e._tag,ra=e=>"Interrupt"===e._tag;function rA(e){return rC("Effect.evaluate: Not implemented")}let rl=e=>({...t1,[tJ]:e.op,[tj]:e[tj]??rA,[tK]:e[tK],[tX]:e[tX],[tZ]:e[tZ]}),rc=e=>{let t=rl(e);return function(){let r=Object.create(t);return r[tW]=!1===e.single?arguments:arguments[0],r}},rd=e=>{let t={...rl(e),[t_]:t_,_tag:e.op,get[e.prop](){return this[tW]},toString(){return`${e.op}(${tU(this[tW])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[tW]}},[tf](e){return e7(e,t_)&&e._tag===this._tag&&tE(this[tW],e[tW])},[tr](){return tn(tl(e.op),ti(this[tW]))}};return function(e){let r=Object.create(t);return r[tW]=e,r}},rg=rd({op:"Success",prop:"value",[tj](e){let t=e.getCont(tK);return t?t[tK](this[tW],e,this):e.yieldWith(this)}}),ru={key:"effect/Cause/StackTrace"},rh="effect/Cause/InterruptorStackTrace",rm=rd({op:"Failure",prop:"cause",[tj](e){let t=this[tW],r=!1;e.currentStackFrame&&(t=rs(t,{mapUnsafe:new Map([[ru.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(tX);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(tX);return i?i[tX](t,e,r?void 0:this):e.yieldWith(r?rm(t):this)}}),rp=e=>rm(rr(e)),rC=e=>rm(new t4([new ri(e)])),rI=rc({op:"WithFiber",[tj](e){return this[tW](e)}}),rf=function(){class e extends globalThis.Error{}let t=rl({op:"YieldableError",[tj](){return rp(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),rE=(d=Symbol.for("effect/Data/Error/plainArgs"),class extends rf{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,d,{value:e,enumerable:!1}))}toJSON(){return{...this[d],...this}}}),rB=e=>{class t extends rE{_tag=e}return t.prototype.name=e,t},ry="~effect/Cause/Done",rQ={[ry]:ry,_tag:"Done",value:void 0},rN=e=>void 0===e?rQ:{[ry]:ry,_tag:"Done",value:e},rb=rp(rQ),rS="~effect/data/Option",rw={[rS]:{_A:e=>e},...t0,[Symbol.iterator](){return new tz(this)}},rD=Object.defineProperty(Object.assign(Object.create(rw),{_tag:"Some",_op:"Some",[tf](e){return rM(e)&&rF(e)&&tE(this.value,e.value)},[tr](){return tn(ti(this._tag))(ti(this.value))},toString(){return`some(${tU(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:tP(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),rx=ti("None"),rR=Object.assign(Object.create(rw),{_tag:"None",_op:"None",valueOrUndefined:void 0,[tf]:e=>rM(e)&&rk(e),[tr]:()=>rx,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),rM=e=>e7(e,rS),rk=e=>"None"===e._tag,rF=e=>"Some"===e._tag,rU=Object.create(rR),rv=e=>{let t=Object.create(rD);return t.value=e,t},rT="~effect/data/Result",rL={[rT]:{_A:e=>e,_E:e=>e},...t0,[Symbol.iterator](){return new tz(this)}},rO=Object.assign(Object.create(rL),{_tag:"Success",_op:"Success",[tf](e){return rP(e)&&rG(e)&&tE(this.success,e.success)},[tr](){return tn(ti(this._tag))(ti(this.success))},toString(){return`success(${tU(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:tP(this.success)}}}),rH=Object.assign(Object.create(rL),{_tag:"Failure",_op:"Failure",[tf](e){return rP(e)&&rY(e)&&tE(this.failure,e.failure)},[tr](){return tn(ti(this._tag))(ti(this.failure))},toString(){return`failure(${tU(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:tP(this.failure)}}}),rP=e=>e7(e,rT),rY=e=>"Failure"===e._tag,rG=e=>"Success"===e._tag,rz=e=>{let t=Object.create(rH);return t.failure=e,t},rq=e=>{let t=Object.create(rO);return t.success=e,t},rV=ez(2,(e,t)=>rY(e)?rz(t(e.failure)):rq(e.success)),r_=ez(2,(e,t)=>rG(e)?rq(t(e.success)):rz(e.failure)),rJ=ez(2,(e,{onFailure:t,onSuccess:r})=>rY(e)?t(e.failure):r(e.success)),rW=e=>(t,r)=>t===r||e(t,r),rj=(e,t)=>e===t;function rK(e){return(t,r)=>t===r?0:e(t,r)}let rX=rK((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),rZ=rK((e,t)=>e<t?-1:1),r$=ez(2,(e,t)=>rK((r,i)=>e(t(r),t(i)))),r0=(e=>e.getTime(),e=>ez(2,(t,r)=>1===e(t,r)));function r1(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let r2=()=>rU,r3=rv,r5=rM,r4=rk,r8=rF,r9=ez(2,(e,{onNone:t,onSome:r})=>r4(e)?t():r(e.value)),r6=e=>t=>r8(e(t)),r7=e=>{for(let t of e)return r3(t);return r2()},ie=e=>rY(e)?rU:rv(e.success),it=e=>rG(e)?rU:rv(e.failure),ir=ez(2,(e,t)=>r4(e)?t():e.value),ii=ez(2,(e,t)=>r4(e)?t():e),is=ez(2,(e,t)=>r4(e)?r3(t()):e),io=ez(2,(e,t)=>r4(e)?iC(t(),rq):iC(e,rz)),ia=e=>{let t=r2();for(t of e)if(r8(t))break;return t},iA=e=>null==e?r2():r3(e),il=e=>void 0===e?r2():r3(e),ic=e=>null===e?r2():r3(e),id=e=>(...t)=>iA(e(...t)),ig=ir(eW),iu=ir(ej),ih=e=>(...t)=>{try{return r3(e(...t))}catch{return r2()}},im=ez(2,(e,t)=>{if(r8(e))return e.value;throw t()}),ip=im(()=>Error("getOrThrow called on a None")),iC=ez(2,(e,t)=>r4(e)?r2():r3(t(e.value))),iI=ez(2,(e,t)=>iC(e,()=>t)),iE=iI(void 0),iB=r3(void 0),iy=ez(2,(e,t)=>r4(e)?r2():t(e.value)),iQ=ez(2,(e,t)=>iy(e,e=>{let r=e4(t)?t(e):t;return r5(r)?r:r3(r)})),iN=ez(2,(e,t)=>r4(e)?r2():iA(t(e.value))),ib=iy(eq),iS=ez(2,(e,t)=>iy(e,()=>t)),iw=ez(2,(e,t)=>ix(e,()=>t)),iD=ez(2,(e,t)=>r=>iy(e(r),t)),ix=ez(2,(e,t)=>iy(e,e=>iC(t(e),()=>e))),iR=(e,t)=>r8(e)&&r8(t)?r3([e.value,t.value]):r2(),iM=(e,t)=>{if(r4(e))return r2();let r=[e.value];for(let e of t){if(r4(e))return r2();r.push(e.value)}return r3(r)},ik=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(r4(r))return r2();t.push(r.value)}return r3(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(r4(i))return r2();t[r]=i.value}return r3(t)},iF=ez(3,(e,t,r)=>iC(iR(e,t),([e,t])=>r(e,t))),iU=ez(3,(e,t,r)=>{let i=t;for(let t of e)r8(t)&&(i=r(i,t.value));return i}),iv=e=>r4(e)?[]:[e.value],iT=ez(2,(e,t)=>{if(r4(e))return[r2(),r2()];let r=t(e.value);return rY(r)?[r3(r.failure),r2()]:[r2(),r3(r.success)]}),iL=ez(2,(e,t)=>{if(r4(e))return r2();let r=t(e.value);return rG(r)?r3(r.success):r2()}),iO=ez(2,(e,t)=>r4(e)?r2():t(e.value)?r3(e.value):r2()),iH=e=>rW((t,r)=>r4(t)?r4(r):!r4(r)&&e(t.value,r.value)),iP=e=>rK((t,r)=>r8(t)?r8(r)?e(t.value,r.value):1:-1),iY=e=>ez(2,(t,r)=>iF(t,r,e)),iG=ez(2,(e,t)=>t(e)?r3(e):r2()),iz=e=>ez(2,(t,r)=>!r4(t)&&e(t.value,r)),iq=iz(tE),iV=ez(2,(e,t)=>!r4(e)&&t(e.value)),i_=ez(2,(e,t)=>iC(e,e=>({[t]:e}))),iJ=ez(3,(e,t,r)=>iC(e,e=>({...e,[t]:r(e)}))),iW=ez(3,(e,t,r)=>iy(e,e=>iC(r(e),r=>({...e,[t]:r})))),ij=r3({}),iK=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(r4(e))return e;r=t.next(e.value)}return r3(r.value)};function iX(e){return r1((t,r)=>r4(t)?r:r4(r)?t:r3(e.combine(t.value,r.value)),r2())}function iZ(e){return{combine:(t,r)=>r4(t)||r4(r)?r2():r3(e.combine(t.value,r.value))}}function i$(e){let t=iZ(e).combine,r=r3(e.initialValue);return r1(t,r,e=>{let i=r;for(let r of e)if(r4(i=t(i,r)))break;return i})}let i0=ez(2,(e,t)=>Object.hasOwn(e,t)),i1=ez(2,(e,t)=>{let r={...e};for(let i of i2(e))r[i]=t(e[i],i);return r}),i2=e=>Object.keys(e),i3=globalThis.Array,i5=e=>i3.isArray(e)?e:i3.from(e),i4=ez(2,(e,t)=>[...e,t]),i8=ez(2,(e,t)=>i5(e).concat(i5(t)));i3.isArray;let i9=ez(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),i6=ez(3,(e,t,r)=>{let i=i5(e),s=i5(t);if(i.length>0)return s.length>0?ss(r)(i8(i,s)):i;return s}),i7=ez(2,(e,t)=>i6(e,t,tE)),se=()=>[],st=e=>[e],sr=ez(2,(e,t)=>e.map(t)),si=ez(2,(e,t)=>{let r=[],i=[],s=0;for(let n of e){let e=t(n,s++);rG(e)?i.push(e.success):r.push(e.failure)}return[r,i]}),ss=ez(2,(e,t)=>{let r=i5(e);if(r.length>0){let e=[i9(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]}),sn=e=>rl({op:e.label,[tj]:e.evaluate}),so=Object.getOwnPropertyDescriptor,sa=Object.prototype.hasOwnProperty,sA=Object.isExtensible,sl=void 0===(g=so(Error,"stackTraceLimit"))?sA(Error):sa.call(g,"writable")?!0===g.writable:void 0!==g.set,sc=e=>{sl&&(Error.stackTraceLimit=e)},sd="~effect/Context/Service",sg=function(){let e=Error.stackTraceLimit;sc(2);let t=Error();sc(e);let r=function(){};return(Object.setPrototypeOf(r,su),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[sh]=sh,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},su={[sd]:sd,...sn({label:"Service",evaluate(e){return rg(sN(e.context,this))}}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return sE(this,e)},use(e){return rI(t=>e(sN(t.context,this)))},useSync(e){return rI(t=>rg(e(sN(t.context,this))))}},sh="~effect/Context/Reference",sm="~effect/Context",sp=e=>{let t=Object.create(sC);return t.mapUnsafe=e,t.mutable=!1,t},sC={...t0,[sm]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[tf](e){if(!sI(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!tE(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[tr](){return tA(this.mapUnsafe.size)}},sI=e=>e7(e,sm),sf=sp(new Map),sE=(e,t)=>sp(new Map([[e.key,t]])),sB=ez(3,(e,t,r)=>sR(e,e=>{e.set(t.key,r)})),sy=ez(2,(e,t)=>e.mapUnsafe.get(t.key)),sQ=ez(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(sh in t)return sS(t);throw sw(t)}return e.mapUnsafe.get(t.key)}),sN=sQ,sb="~effect/Context/defaultValue",sS=e=>sb in e?e[sb]:e[sb]=e.defaultValue(),sw=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},sD=ez(2,(e,t)=>e.mapUnsafe.has(t.key)?r3(e.mapUnsafe.get(t.key)):e7(t,sh)?r3(sS(t)):r2()),sx=ez(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:sR(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),sR=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),sp(r)},sM="~effect/time/Duration",sk=BigInt(0),sF=BigInt(1),sU=BigInt(1e3),sv=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),sT=(e,t)=>e.includes(".")?sv(Number(e)*Number(t)):BigInt(e)*t,sL=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,sO=e=>{switch(typeof e){case"number":return sK(e);case"bigint":return sj(e);case"string":{if("Infinity"===e)return sJ;if("-Infinity"===e)return sW;let t=sL.exec(e);if(!t)break;let[r,i,s]=t;if("nano"===s||"nanos"===s)return sj(sT(i,sF));if("micro"===s||"micros"===s)return sj(sT(i,sU));let n=Number(i);switch(s){case"milli":case"millis":return sK(n);case"second":case"seconds":return sX(n);case"minute":case"minutes":return sZ(n);case"hour":case"hours":return s$(n);case"day":case"days":return s0(n);case"week":case"weeks":return s1(n)}break}case"object":{if(null===e)break;if(sM in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(e1))return sH(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return s_;if(e[0]===-1/0||e[1]===-1/0)return sW;if(e[0]===1/0||e[1]===1/0)return sJ;return sq(sv(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return sq(t);return sq(sv(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return sH(e)},sH=e=>{throw Error(`Invalid Input: ${e}`)},sP={_tag:"Millis",millis:0},sY={_tag:"Infinity"},sG={_tag:"NegativeInfinity"},sz={[sM]:sM,[tr](){return td(this.value)},[tf](e){return sV(e)&&s8(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[tH](){return this.toJSON()},pipe(){return eP(this,arguments)}},sq=e=>{let t=Object.create(sz);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=sP:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:sv(1e6*e)}:t.value=e>0?sY:sG:e===sk?t.value=sP:t.value={_tag:"Nanos",nanos:e},t},sV=e=>e7(e,sM),s_=sq(0),sJ=sq(1/0),sW=sq(-1/0),sj=e=>sq(e),sK=e=>sq(e),sX=e=>sq(1e3*e),sZ=e=>sq(6e4*e),s$=e=>sq(36e5*e),s0=e=>sq(864e5*e),s1=e=>sq(6048e5*e),s2=e=>s5(sO(e),{onMillis:eq,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),s3=e=>{let t=sO(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return sv(1e6*t.value.millis)}},s5=ez(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),s4=ez(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(s3(e),t.value.nanos):r.onNanos(e.value.nanos,s3(t))),s8=ez(2,(e,t)=>s4(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag})),s9=ez(2,(e,t)=>r=>{let i=e(r);if(rY(i))return rz(r);let s=t(i.success);return rY(s)?rz(r):s}),s6=sg("effect/Scheduler",{defaultValue:()=>new nt}),s7="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class ne{buckets=[];scheduleTask(e,t){let r,i=this.buckets,s=i.length,n=0;for(;n<s&&!(i[n][0]>t);n++)r=i[n];r&&r[0]===t?r[1].push(e):n===s?i.push([t,[e]]):i.splice(n,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class nt{executionMode;setImmediate;constructor(e="async",t=s7){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new nr(this.setImmediate)}}class nr{tasks=new ne;running=void 0;setImmediate;constructor(e=s7){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let ni=sg("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),ns=sg("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1}),nn="effect/Tracer/ParentSpan";class no extends sg()(nn){}let na=sg("effect/Tracer/DisablePropagation",{defaultValue:eJ}),nA=sg("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),nl=sg("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),nc="effect/Tracer",nd=sg(nc,{defaultValue:()=>({span:e=>new ng(e)})});class ng{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=eL.getOrUndefined(e.parent)?.traceId??nu(32),this.spanId=nu(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let nu=(h=(u="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=u.charAt(Math.floor(Math.random()*h));return t}),nh=sg("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),nm=sg("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),np=sg("effect/References/CurrentStackFrame",{defaultValue:ej}),nC=sg("effect/References/TracerEnabled",{defaultValue:e_}),nI=sg("effect/References/TracerTimingEnabled",{defaultValue:e_}),nf=sg("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),nE=sg("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),nB=sg("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),ny=sg("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),nQ=sg("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),nN=sg("effect/References/CurrentLogSpans",{defaultValue:()=>[]});class nb extends t9{fiberId;constructor(e,t=t6){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[tf](e){return ra(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[tr](){return tn(tl(`${this._tag}:${this.fiberId}`))(ts(this.annotations))}}let nS=e=>new t4([new nb(e)]),nw=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return rq(r.error)}return rz(e)},nD=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?rq(t):rz(e)},nx=ez(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new t4(i7(e.reasons,t.reasons));return tE(e,r)?e:r}),nR=ez(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>rn(e)?(r=!0,new t7(t(e.error))):e);return r?re(i):e}),nM=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},nk=(e,t,r)=>{let i,s=typeof e;if(e&&"object"===s){if(i=new globalThis.Error(nF(e),{cause:e.cause?nk(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=nv(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?nT(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=nH(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===s?e:tO(e));return i},nF=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return tO(e)},nU=/\((.*)\)/g,nv=(e,t,r)=>{let i=`${t.name}: ${t.message}`,s=(e.startsWith(i)?e.slice(i.length):e).split("\n"),n=[i];for(let e=1;e<s.length&&!/(?:Generator\.next|~effect\/Effect)/.test(s[e]);e++)n.push(s[e]);return r?nT(n.join("\n"),r):n.join("\n")},nT=(e,t)=>{let r=t?.get(ru.key);return r&&(e=`${e} +${nL(r)}`),e},nL=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(nU),s=!1;for(let[,e]of i)s=!0,t.push(` at ${r.name} (${e})`);s||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},nO=e=>(e=>{let t=[],r=[];if(0===e.reasons.length)return t;let i=Error.stackTraceLimit;for(let i of(sc(1),e.reasons)){if("Interrupt"===i._tag){r.push(i);continue}t.push(nk("Die"===i._tag?i.defect:i.error,i.annotations,void 0))}if(0===t.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=((e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(rh);r.push(` at fiber (${t})`),i&&r.push(nL(i))}return r.join("\n")})(e,r);let i=new globalThis.Error("All fibers interrupted without error",{cause:e});i.name="InterruptError",i.stack=`${i.name}: ${i.message}`,t.push(nk(i,r[0].annotations,void 0))}return sc(i),t})(e).map(nH).join("\n"),nH=e=>e.cause?`${e.stack} { +${nP(e.cause," ")} +}`:e.stack,nP=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,s=r.length;e<s;e++)i+=` ${t}${r[e]}`;return e.cause&&(i+=` { -${ng(e.cause,`${t} `)} -${t}}`),i},nu="~effect/Fiber/dev",nh={_A:eN,_E:eN},nm={id:0},np=()=>globalThis[tc];class nC{constructor(e,t=!0){this[nu]=nh,this.setContext(e),this.id=++nm.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[nu];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){var t;return t=this.context,t.mapUnsafe.has(e.key)?t.mapUnsafe.get(e.key):iW(e)}addObserver(e){return this._exit?(e(this._exit),ex):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=new tL([new s6(e)]);this.currentStackFrame&&(r=tV(r,iG(t0,this.currentStackFrame))),t&&(r=tV(r,t)),this._interruptedCause=this._interruptedCause?nt(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(nw(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===tM)return;let r=nE.interruptChildren&&nE.interruptChildren(this);if(void 0!==r)return this.evaluate(nW(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=iY}runLoop(e){let t=globalThis[tc];globalThis[tc]=this;let r=this._running;this._running=!0;let i=!1,s=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,s=nw(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=s;s=nW(nM,()=>e)}if((s=this.currentTracerContext?this.currentTracerContext(s,this):s[tw](this))===tM){let e=this._yielded;if(tN in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return tM}}}catch(e){if(!eO(s,tw))return t5(`Fiber.runLoop: Not a valid effect: ${String(s)}`);return this.runLoop(t5(e))}finally{this._running=r,globalThis[tc]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,nI;for(;;){let t=this._stack.pop();if(!t)return;let r=t[tR]&&t[tR](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,tM}children(){return this._children??=new Set}pipe(){return ts(this,arguments)}setContext(e){this.context=e;let t=this.getRef(sv);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(sG),this.currentLogLevel=this.getRef(s4),this.minimumLogLevel=this.getRef(s8),this.currentStackFrame=e.mapUnsafe.get(s$.key),this.maxOpsBeforeYield=this.getRef(sP),this.currentPreventYield=this.getRef(sY),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(s_);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let nI={[tD]:(e,t)=>nw(t._interruptedCause),[tx]:(e,t)=>nw(t._interruptedCause)},nE={interruptChildren:void 0},nf=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(t1,e.currentStackFrame),iH(t)},nB=e=>e._exit?nS(e._exit):nH(t=>e._exit?t(nS(e._exit)):nD(e.addObserver(e=>t(nS(e))))),ny=e=>nH(t=>{let r,i=e[Symbol.iterator](),s=[];return!function e(){let n=i.next();for(;!n.done;){if(n.value._exit){s.push(n.value._exit),n=i.next();continue}r=n.value.addObserver(t=>{s.push(t),e()});return}t(nS(s))}(),nD(()=>r?.())}),nQ=e=>t4(t=>nN(e,t.id)),nN=eQ(e=>eO(e[0],nu),(e,t,r)=>t4(i=>{let s=nf(i);return s=s&&r?iK(s,r):s??r,e.interruptUnsafe(t,s),nJ(nB(e))})),nb=e=>t4(t=>{let r=nf(t),i=se();for(let s of e)s.interruptUnsafe(t.id,r),i.push(s);return nJ(ny(i))}),nS=t$,nw=t2,nD=tX({op:"Sync",[tw](e){let t=this[tS](),r=e.getCont(tD);return r?r[tD](t,e):e.yieldWith(t$(t))}}),nx=tX({op:"Suspend",[tw](e){return this[tS]()}}),nR=i2({onFailure:t3,onSuccess:nS}),nM=tX({op:"Yield",[tw](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(n2)},this[tS]??0),e.yieldWith(()=>{t=!0})}})(0),nk=nS(rv()),nU=e=>nx(()=>t3(ty(e))),nF=nS(void 0),nv=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new af(e,"An error occurred in Effect.try"):e.catch;return nx(()=>{try{return nS(ty(t))}catch(e){return t3(ty(()=>r(e)))}})},nT=tX({op:"Async",single:!1,[tw](e){let t=ty(()=>this[tS][0].bind(e.currentScheduler)),r=!1,i=!1,s=this[tS][1]?new AbortController:void 0,n=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},s?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===s&&void 0===n||e._stack.push(nL(()=>(r=!0,s?.abort(),n??n2))),tM)}}),nL=tX({op:"AsyncFinalizer",[tR](e){e.interruptible&&(e.interruptible=!1,e._stack.push(oO))},[tx](e,t){return e.reasons.some(tW)?nW(this[tS](),()=>nw(e)):nw(e)}}),nH=e=>nT(e,e.length>=2),nO=nH(ex),nP=(e,...t)=>{let r=0===t.length?function(){return nx(()=>nG(e.apply(this,arguments)))}:function(){let r=nx(()=>nG(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return nY(e.length,r)},nY=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),nG=tX({op:"Iterator",single:!1,[tD](e,t){let r=this[tS][0];for(;;){let i=r.next(e);if(i.done)return nS(i.value);if(!nK(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[tw](e){return this[tD](this[tS][1],e)}}),nz=eQ(2,(e,t)=>{let r=nS(t);return nW(e,e=>r)}),nq=eQ(2,(e,t)=>nW(e,e=>eO(t,tQ)?t:ty(()=>t(e)))),nV=eQ(2,(e,t)=>nW(e,e=>nz(eO(t,tQ)?t:ty(()=>t(e)),e))),nJ=e=>nW(e,e=>n2),n_=eQ(e=>eO(e[1],tQ),(e,t,r)=>{let i;return i=[e,t],t4(e=>nH(t=>{let s=!1,n=new Set,o=e=>{s=!0,t(0===n.size?e:nW(oL(nb(n)),()=>e))},a=0;for(let t of i){if(s)break;let i=a++,A=oj(e,t,!0,!0,!1);n.add(A),A.addObserver(t=>{n.delete(A);let a=!s;o(t),a&&r?.onWinner&&r.onWinner({fiber:A,index:i,parentFiber:e})})}return nb(n)}))}),nW=eQ(2,(e,t)=>{let r=Object.create(nj);return r[tS]=e,r[tD]=1!==t.length?e=>t(e):t,r}),nj=tK({op:"OnSuccess",[tw](e){return e._stack.push(this),this[tS]}}),nK=e=>tN in e,nX=eQ(2,(e,t)=>nK(e)?"Success"===e._tag?t(e.value):e:nW(e,t)),nZ=eQ(2,(e,t)=>nW(e,e=>nS(ty(()=>t(e))))),n$=eQ(2,(e,t)=>nK(e)?n3(e,t):nZ(e,t)),n0=eQ(2,(e,t)=>nK(e)?n5(e,t):oA(e,t)),n1=e=>"Failure"===e._tag?rD(e.cause):rw(e),n2=t$(void 0),n3=eQ(2,(e,t)=>"Success"===e._tag?t$(t(e.value)):e),n5=eQ(2,(e,t)=>{if("Success"===e._tag)return e;let r=s7(e.cause);return rb(r)?e:t3(t(r.success))});(e,t)=>{if("Success"===e._tag)return t$(t.onSuccess(e.value));let r=s7(e.cause);return rb(r)?e:t3(t.onFailure(r.success))};let n4=eQ(2,(e,t)=>t4(r=>{let i=r.context,s=t(i);return i===s?e:(r.setContext(s),ox(e,()=>{r.setContext(i)}))})),n8=eQ(3,(e,t,r)=>n4(e,e=>{let i=iV(e,t),s=r(i);return i===s?e:iz(e,t,s)})),n9=t4(e=>nS(e.context)),n6=e=>t4(t=>e(t.context)),n7=eQ(2,(e,t)=>nK(e)?e:n4(e,iK(t))),oe=function(){return 1==arguments.length?eQ(2,(e,t)=>ot(e,arguments[0],t)):eQ(3,(e,t,r)=>ot(e,t,r)).apply(this,arguments)},ot=(e,t,r)=>n4(e,e=>e.mapUnsafe.get(t.key)===r?e:iz(e,t,r)),or=((e,t,r)=>nW(r,r=>oe(e,t,r)),eQ(e=>eO(e[0],tQ),(e,t)=>oq({while:eS,body:eb(t?.disableYield?e:nW(e,e=>nM)),step:ex}))),oi=eQ(2,(e,t)=>{let r=Object.create(os);return r[tS]=e,r[tx]=1!==t.length?e=>t(e):t,r}),os=tK({op:"OnFailure",[tw](e){return e._stack.push(this),this[tS]}}),on=((e,t,r)=>oi(e,e=>t(e)?ty(()=>r(e)):nw(e)),eQ(3,(e,t,r)=>oi(e,e=>{let i=t(e);return rb(i)?nw(i.failure):ty(()=>r(i.success,e))}))),oo=eQ(2,(e,t)=>on(e,s7,e=>t(e))),oa=eQ(3,(e,t,r)=>oi(e,e=>{let i=t(e);return rb(i)?nw(e):nq(ty(()=>r(i.success,e)),nw(e))})),oA=((e,t)=>oa(e,s7,e=>t(e)),eQ(2,(e,t)=>oo(e,e=>nU(()=>t(e))))),ol=((e,t)=>og(e,{onFailure:e=>nU(()=>t.onFailure(e)),onSuccess:e=>nD(()=>t.onSuccess(e))}),e=>oh(e,{onFailure:rw,onSuccess:rD})),oc=eQ(2,(e,t)=>{let r=Object.create(od);return r[tS]=e,r[tD]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[tx]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),od=tK({op:"OnSuccessAndFailure",[tw](e){return e._stack.push(this),this[tS]}}),og=((e,t)=>oc(e,{onFailure:e=>nD(()=>t.onFailure(e)),onSuccess:e=>nD(()=>t.onSuccess(e))}),eQ(2,(e,t)=>oc(e,{onFailure:e=>{let r=e.reasons.find(tJ);return r?ty(()=>t.onFailure(r.error)):nw(e)},onSuccess:t.onSuccess}))),ou=eQ(2,(e,t)=>og(e,{onFailure:e=>nD(()=>t.onFailure(e)),onSuccess:e=>nD(()=>t.onSuccess(e))})),oh=eQ(2,(e,t)=>{if(nK(e)){if("Success"===e._tag)return t$(t.onSuccess(e.value));let r=s7(e.cause);return rb(r)?e:t$(t.onFailure(r.success))}return ou(e,t)}),om=e=>nK(e)?t$(e):op(e),op=tX({op:"Exit",[tw](e){return e._stack.push(this),this[tS]},[tD]:(e,t,r)=>nS(r??t$(e)),[tx]:(e,t,r)=>nS(r??t2(e))}),oC=((e,t)=>n_(e,nW(au(t.duration),t.orElse)),"~effect/Scope"),oI="~effect/Scope/Closeable",oE=iF("effect/Scope"),of=(e,t)=>nx(()=>oB(e,t)??nF),oB=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):oy(e,i,t)},oy=nP(function*(e,t,r){let i=[],s=[],n=Array.from(t.values()),o=np();for(let t=n.length-1;t>=0;t--){let a=n[t];"sequential"===e.strategy?i.push((yield*om(a(r)))):s.push(oj(o,a(r),!0,!0,"inherit"))}return s.length>0&&(i=yield*ny(s)),yield*(e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?n2:t2(tG(t))})(i)}),oQ=(e,t)=>nx(()=>"Closed"===e.state._tag?t(e.state.exit):(oN(e,{},t),nF)),oN=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},ob=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},oS=(e="sequential")=>({[oI]:oI,[oC]:oC,strategy:e,state:ow}),ow={_tag:"Empty"},oD=oe(oE),ox=tX({op:"OnExit",single:!1,[tw](e){return e._stack.push(this),this[tS][0]},[tR](e){e.interruptible&&!0!==this[tS][2]&&(e._stack.push(oO),e.interruptible=!1)},[tD](e,t,r){r??=t$(e);let i=this[tS][1](r);return i?nW(i,e=>r):r},[tx](e,t,r){r??=t2(e);let i=this[tS][1](r);return i?nW(i,e=>r):r}}),oR=eQ(2,ox),oM=((e,t,r)=>oR(e,e=>t(e)?r(e):nF),eQ(3,(e,t,r)=>oR(e,e=>{let i=t(e);return rb(i)?nF:r(i.success,e)}))),ok=eQ(2,(e,t)=>oM(e,n1,t)),oU=eQ(3,(e,t,r)=>oR(e,e=>{if("Failure"!==e._tag)return nF;let i=t(e.cause);return rb(i)?nF:r(i.success,e.cause)})),oF=eQ(2,(e,t)=>oU(ne,t)(e)),ov=eQ(2,(e,t)=>nD(()=>{let r,i=sx(sd(t)),s=Number.isFinite(i),n=ar(!1),o=0,a=!1,A=nW(n.await,()=>r);return[t4(t=>{let l=t.getRef(aa),c=s?l.currentTimeMillisUnsafe():0;return a||c<o?r??A:(a=!0,n.closeUnsafe(),r=void 0,oR(e,e=>nD(()=>{a=!1,o=l.currentTimeMillisUnsafe()+i,r=e,n.openUnsafe()})))}),nD(()=>{o=0,n.closeUnsafe(),r=void 0})]})),oT=eQ(2,(e,t)=>nZ(ov(e,t),e=>e[0])),oL=e=>t4(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(oO)),e)),oH=tX({op:"SetInterruptible",[tR](e){if(e.interruptible=this[tS],e._interruptedCause&&e.interruptible)return()=>nw(e._interruptedCause)}}),oO=oH(!0),oP=oH(!1),oY=e=>t4(t=>t.interruptible?e:(e=>{if(e.interruptible=!0,e._stack.push(oP),e._interruptedCause)return nw(e._interruptedCause)})(t)??e),oG=e=>t4(t=>t.interruptible?(t.interruptible=!1,t._stack.push(oO),e(oY)):e(eN)),oz=(e,t)=>eP(e)?t?.mode==="result"?oV(e,ol,t):oV(e,eN,t):t?.discard?"result"===t.mode?oV(Object.values(e),ol,t):oV(Object.values(e),eN,t):nx(()=>{let r={};return nz(oV(Object.entries(e),([e,i])=>nZ(t?.mode==="result"?ol(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),oq=((e=>eP(e[0])&&!eO(e[0],tQ),(e,t,r)=>nZ(oV(e,(e,r)=>ol(t(e,r)),r),e=>sr(e,eN))),tX({op:"While",[tD](e,t){return(this[tS].step(e),this[tS].while())?(t._stack.push(this),this[tS].body()):n2},[tw](e){return this[tS].while()?(e._stack.push(this),this[tS].body()):n2}})),oV=eQ(e=>"function"==typeof e[1],(e,t,r)=>t4(i=>{let s=r?.concurrency==="inherit"?i.getRef(sX):r?.concurrency??1,n="unbounded"===s?1/0:Math.max(1,s);if(1===n)return oJ(e,t,r);let o=i5(e),a=o.length;if(0===a)return r?.discard?nF:nS([]);let A=r?.discard?void 0:Array(a),l=oW({f:t,out:A},o,{concurrency:n});return l?nz(l,A):nS(A)})),oJ=(e,t,r)=>nx(()=>{let i=r?.discard?void 0:[],s=e[Symbol.iterator](),n=s.next(),o=0;return nz(oq({while:()=>!n.done,body:()=>t(n.value,o++),step:e=>{i&&i.push(e),n=s.next()}}),i)}),o_=e=>{let t=e.onItem,r=e.step;return(e,i,s)=>{let n,o,a,A,l,c=s?.start??0,d=s?.end??i.length,g=s?.concurrency??1,u=s?.orderedStep===!0&&g>1,h=!1,m=!1,p=c,C=u?Array(d):void 0,I=e=>{let t=t5(e);return A=t,h=!0,m=!0,o&&o.size>0?nW(oL(nb(Array.from(o))),()=>t):t},E=(t,s,n)=>{if(!u)return r(e,t,s,n);if(A)return A;for(C[n]=s;p<d;){let t=C[p];if(void 0===t)return;C[p]=void 0;let s=p++,n=r(e,i[s],t,s);if(n)return n}},f=()=>{let r=!1;for(;!A&&c<d;c++){let s=i[c],d=l??t(e,s,c);if(nK(d)){if(A=E(s,d,c))break}else{if(1===g)return nW(om(d),e=>(A=E(s,e,c),c++,A??f()??nF));if(!n)return nH(e=>{let t;n=np(),o=new Set,l=d,a=e;try{t=f()}catch(t){return e(I(t))}return t?e(t):nx(()=>(A=n2,m=!0,o?nb(o):nF))});l=void 0;let e=oj(n,d,!0,!0,"inherit");if(e._exit){if(A=E(s,e._exit,c))break;continue}o.add(e);let t=c;if(e.addObserver(i=>{o.delete(e);try{if(A){if(!m&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=t2(tG([e]))}else{let e=E(s,i,t);e&&(A="Failure"===e._tag?t2(tG(e.cause.reasons.slice())):e,f())}if(r){let e=f();e&&a(e)}else h&&0===o.size&&a(A??nF)}catch(e){a(I(e))}}),o.size<g)continue;r=!0,c++;return}}if(h=!0,A){if(o&&o.size>0){let e=nf(n);o.forEach(t=>t.interruptUnsafe(n.id,e));return}if(a||"Failure"===A._tag)return A}else if(a)if(!o)return n2;else 0===o.size&&a(nF)};return f()}},oW=o_({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),oj=((e,t,r)=>nW(e,e=>t(e)?nS(e):r(e)),(e,t,r=!1,i=!1,s=!1)=>{let n="inherit"===s?e.interruptible:!s,o=new nC(e.context,n);return r?o.evaluate(t):e.currentDispatcher.scheduleTask(()=>o.evaluate(t),0),i||o._exit||(e.children().add(o),o.addObserver(()=>e._children.delete(o))),o}),oK=((e=>eO(e[0],tQ),(e,t,r)=>t4(i=>{let s=oj(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!s._exit)if("Closed"!==t.state._tag){let e={};oN(t,e,()=>{let e;return e=e=>e===s.id?nF:nQ(s),t4(t=>e(t.id))}),s.addObserver(()=>ob(t,e))}else s.interruptUnsafe(i.id,nf(i));return nS(s)})),e=>(t,r)=>{let i=new nC(r?.scheduler?iz(e,sv,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i}),oX=eQ(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return oN(t,r,()=>nQ(e)),e.addObserver(()=>ob(t,r)),e}),oZ=oK(iY),o$=e=>{let t=oK(e);return(e,r)=>{let i=t(e,r);return r?.onExit&&i.addObserver(r.onExit),e=>i.interruptUnsafe(e)}},o0=o$(iY),o1=e=>{let t=oK(e);return(e,r)=>{let i=t(e,r);return new Promise(e=>{i.addObserver(t=>e(t))})}},o2=o1(iY),o3=e=>{let t=o1(e);return(e,r)=>t(e,r).then(e=>{if("Failure"===e._tag)throw ni(e.cause);return e.value})},o5=o3(iY),o4=e=>{let t=oK(e);return e=>{if(nK(e))return e;let r=t(e,{scheduler:new sH("sync")});return r._dispatcher?.flush(),r._exit??t5(new aI(r))}},o8=o4(iY),o9=e=>{let t=o4(e);return e=>{let r=t(e);if("Failure"===r._tag)throw ni(r.cause);return r.value}},o6=o9(iY),o7=nS(!0),ae=nS(!1);class at{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),o7}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](n2)};open=t4(e=>this._isOpen?ae:(this._isOpen=!0,this.scheduleUnsafe(e)));release=t4(e=>this._isOpen?ae:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=nH(e=>this._isOpen?e(nF):(this.waiters.push(e),nD(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=nD(()=>this.closeUnsafe());whenOpen=e=>nW(this.await,()=>e);isOpen(){return this._isOpen}}let ar=e=>new at(e??!1),ai=BigInt(0),as={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:ai,endTime:ai,exit:n2},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},an=e=>e?iJ(e.annotations,sq)?"Span"===e._tag?an(r1(e.parent)):rv():rT(e):rv(),ao=oe(sz),aa=iF("effect/Clock",{defaultValue:()=>new al}),aA=0x80000000-1;class al{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=nD(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return ad()}currentTimeNanos=nD(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(sx(e))}sleepMillis(e){return e<=0?nM:Number.isFinite(e)?nH(t=>{let r=e>aA?this.sleepMillis(e-aA):nF,i=setTimeout(()=>t(r),Math.min(e,aA));return nD(()=>clearTimeout(i))}):nO}}let ac=(C=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*C:()=>(p??=BigInt(Date.now())*C-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),ad=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return ac;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),ag=e=>t4(t=>e(t.getRef(aa))),au=e=>ag(t=>t.sleep(sd(e))),ah=(e=>e.currentTimeMillis,"~effect/Cause/TimeoutError"),am="~effect/Cause/IllegalArgumentError";class ap extends t6("IllegalArgumentError"){[am]=am;constructor(e){super({message:e})}}let aC="~effect/Cause/AsyncFiberError";class aI extends t6("AsyncFiberError"){[aC]=aC;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let aE="~effect/Cause/UnknownError";class af extends t6("UnknownError"){[aE]=aE;constructor(e,t){super({message:t,cause:e})}}let aB=iF("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),ay=rU(rk(rR,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}})),aQ=iF("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([aD,ax])}),aN=iF("effect/Logger/LogToStderr",{defaultValue:ew}),ab={"~effect/Logger":{_Message:eN,_Output:eN},pipe(){return ts(this,arguments)}},aS=e=>{let t=Object.create(ab);return t.log=e,t},aw=(e,t)=>{let r=e[0].replace(/[\s="]/g,"_");return`${r}=${t-e[1]}ms`},aD=aS(({cause:e,date:t,fiber:r,logLevel:i,message:s})=>{let n=Array.isArray(s)?s.slice():[s];e.reasons.length>0&&n.push(nc(e));let o=t.getTime(),a=r.getRef(s9),A="";for(let e of a)A+=` ${aw(e,o)}`;let l=r.getRef(s5);Object.keys(l).length>0&&n.push(l);let c=r.getRef(aB);(r.getRef(aN)?c.error:c.log)(`[${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}] ${i.toUpperCase()} (#${r.id})${A}:`,...n)}),ax=aS(({cause:e,fiber:t,logLevel:r,message:i})=>{let s=t.getRef(aa),n=t.getRef(s5),o=t.currentSpan;if(void 0===o||"ExternalSpan"===o._tag)return;let a={};for(let[e,t]of Object.entries(n))a[e]=t;a["effect.fiberId"]=t.id,a["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(a["effect.cause"]=nc(e)),o.event(((e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?tp(e,{space:t}):String(e)}catch{return String(e)}})(Array.isArray(i)&&1===i.length?i[0]:i),s.currentTimeNanosUnsafe(),a)}),aR=e=>void 0===e?rr:t3(rt(e)),aM=eQ(2,(e,t)=>on(e,aU,e=>t(e))),ak=sF(s7,e=>eO(e,t7)?rD(e):rw(e)),aU=sF(s7,e=>eO(e,t7)?rD(e.value):rw(e)),aF=eQ(2,(e,t)=>oc(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=ak(e);return rb(r)?t.onFailure(r.failure):t.onDone(r.success.value)}})),av="~effect/Schedule",aT=iF("effect/Schedule/CurrentMetadata",{defaultValue:eb({input:void 0,output:void 0,duration:sE,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),aL={[av]:{_Out:eN,_In:eN,_Env:eN},pipe(){return ts(this,arguments)}},aH=e=>{let t=Object.create(aL);return t.step=e,t},aO=()=>{let e,t,r=0;return(i,s)=>{void 0===t&&(t=i);let n=i-t,o=void 0===e?0:i-e;return e=i,{input:s,attempt:++r,start:t,now:i,elapsed:n,elapsedSincePrevious:o}}},aP=e=>aH(nZ(e,e=>{let t=aO();return(r,i)=>e(t(r,i))})),aY=e=>oi(e.step,e=>nS(()=>nw(e))),aG=e=>ag(t=>nZ(aY(e),e=>{let r=aO();return i=>nx(()=>{let s=t.currentTimeMillisUnsafe();return nW(e(s,i),([e,t])=>{let n=r(s,i);return n.output=e,n.duration=t,nz(au(t),n)})})})),az=e=>aH(nZ(aY(e),e=>(t,r)=>aF(e(t,r),{onSuccess:e=>nS([r,e[1]]),onFailure:nw,onDone:()=>aR(r)}))),aq=eQ(2,(e,t)=>aH(nZ(aY(e),e=>{let r=aO();return(i,s)=>nW(e(i,s),e=>{let[n,o]=e,a=t({...r(i,s),output:n,duration:o});return nW(eO(a,tQ)?a:nS(a),t=>t?nS(e):aR(n))})}))),aV=(I=sd(sE),aP(nS(e=>nS([e.attempt-1,I])))),aJ={"~effect/Deferred":{_A:eN,_E:eN},pipe(){return ts(this,arguments)}},a_=eQ(2,(e,t)=>nD(()=>aW(e,t))),aW=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0},aj=(e,t)=>{let r=oS(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return oN(e,i,e=>of(r,e)),oN(r,i,t=>nD(()=>ob(e,i))),r},aK="~effect/Layer/MemoMap",aX={"~effect/Layer":{_ROut:eN,_E:eN,_RIn:eN},pipe(){return ts(this,arguments)}},aZ=e=>{var t;let r;return t=(t,r)=>{let i=aj(r);return oR(e(t,i),e=>"Failure"===e._tag?of(i,e):nF)},(r=Object.create(aX)).build=t,r};class a${get[aK](){return aK}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,nq(oQ(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let s,n,o,a,A=this.get(e,t);return A?A:(i=this,s=oS(),(n=Object.create(aJ)).resumes=void 0,n.effect=void 0,a={observers:1,effect:(o=n,nH(e=>o.effect?e(o.effect):(o.resumes??=[],o.resumes.push(e),nD(()=>{let t=o.resumes.indexOf(e);o.resumes.splice(t,1)})))),finalizer:t=>nx(()=>(a.observers--,0===a.observers)?(i.map.delete(e),of(s,t)):nF)},i.map.set(e,a),oQ(t,a.finalizer).pipe(nW(()=>r(i,s)),oR(e=>(a.effect=e,a_(o,e)))))}}let a0=()=>new a$;class a1 extends iF()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=iq(e,a1);return t?new a$(t):a0()}}let a2=eQ(3,(e,t,r)=>oe(nZ(e.build(t,r),iz(a1,t)),a1,t)),a3=eQ(2,(e,t)=>t4(r=>a2(e,a1.forkOrCreate(r.context),t))),a5=function(){return 1==arguments.length?e=>a4(arguments[0],e):a4(arguments[0],arguments[1])},a4=(e,t)=>a8(nZ(t,t=>iG(e,t))),a8=e=>{var t;let r;return t=(t,r)=>oD(e,r),r=aZ((e,i)=>e.getOrElseMemoize(r,i,t))},a9=(e,t,r)=>{let i=aj(r,"parallel");return oV(e,e=>e.build(t,aj(i,"sequential")),{concurrency:e.length}).pipe(nZ(e=>((...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return iH(t)})(...e)))},a6=eQ(2,(e,t)=>aZ((r,i)=>nW(Array.isArray(t)?a9(t,r,i):t.build(r,i),t=>e.build(r,i).pipe(n7(t),nZ(e=>eN(e)))))),a7=((e=>eO(e[0],tQ),(e,t,r)=>{var i;let s;return iP(t)?n7(e,t):(i=Array.isArray(t)?((...e)=>aZ((t,r)=>a9(e,t,r)))(...t):t,s=t=>nW(r?.local?a2(i,a0(),t):a3(i,t),t=>n7(e,t)),nx(()=>{let e=oS();return oR(s(e),t=>nx(()=>oB(e,t)??nF))}))}),eQ(3,(e,t,r)=>nW(aG(t),t=>{let i,s=aT.defaultValue(),n=oo(nx(()=>oe(e,aT,s)),e=>(i=e,nW(t(e),e=>(s=e,n))));return aM(n,e=>ty(()=>r(i,e)))}))),Ae=eQ(2,(e,t)=>a7(e,"function"==typeof t?t(eN):eO(t,av)?t:Ar(t),t3)),At=az(aV),Ar=e=>{let t=e.schedule?az(e.schedule):At;return e.while&&(t=aq(t,({input:t})=>{let r=e.while(t);return eO(r,tQ)?r:nS(r)})),e.until&&(t=aq(t,({input:t})=>{let r=e.until(t);return eO(r,tQ)?nZ(r,e=>!e):nS(!r)})),void 0!==e.times&&(t=aq(t,({attempt:t})=>nS(t<=e.times))),t},Ai=aq(aV,({attempt:e})=>nS(e<=1)),As=(H={_E:e=>e,_A:e=>e,_R:e=>e},ek.add(H),H);({...{[eY](){return ej(this,Object.keys(this))},[e5](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!e4(this[t[i]],e[t[i]]))return!1;return!0}},"~effect/Request":As});let An=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new af(e,"An error occurred in Effect.tryPromise"):e.catch;return nT(function(e,i){let s=t=>{try{e(t3(ty(()=>r(t))))}catch(t){e(t5(t))}};try{ty(()=>t(i)).then(t=>e(nS(t)),s)}catch(e){s(e)}},0!==t.length)},Ao=(...e)=>nx(()=>nG(1===e.length?e[0]():e[1].call(e[0].self))),Aa=e=>nx(()=>nw(ty(e))),AA=e=>oT(e,sf),Al=function(){let e,t=(e=arguments[0],eO(e,tQ)),r=t?arguments[1]:arguments[0],i=t?arguments[2]:arguments[1],s=eN;if("Span"===r._tag){var n,o;i=(e=>{var t;let r;if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let i=Error.stackTraceLimit;ra(3);let s=Error();return ra(i),{...e,captureStackTrace:(t=()=>s.stack,()=>{if(void 0!==r)return r;let e=t();if(!e)return;let i=e.split("\n");if(void 0!==i[3])return r=i[3].trim()})}})(i),n=r.name,o="function"==typeof(o=i?.captureStackTrace)?o:ex,s=n8(s$,e=>({name:n,stack:o,parent:e}))}return t?ao(s(arguments[0]),r):e=>ao(s(e),r)},Ac=t6,Ad=/^[+-]?\d+$/,Ag="~effect/BigDecimal",Au={[Ag]:Ag,[eY](){let e=Ay(this);return eq(eG(e.value),e_(e.scale))},[e5](e){return Ah(e)&&AR(this,e)},toString(){return`BigDecimal(${AM(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[tC](){return this.toJSON()},pipe(){return ts(this,arguments)}},Ah=e=>eO(e,Ag),Am=(e,t)=>{let r=Object.create(Au);return r.value=e,r.scale=t,r},Ap=(e,t)=>{if(e!==AC&&e%Af===AC)throw RangeError("Value must be normalized");let r=Am(e,t);return r.normalized=r,r},AC=BigInt(0),AI=BigInt(1),AE=BigInt(-1),Af=BigInt(10),AB=Ap(AC,0),Ay=e=>{if(void 0===e.normalized)if(e.value===AC)e.normalized=AB;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),s=e.scale-r;e.normalized=Ap(i,s)}return e.normalized},AQ=eQ(2,(e,t)=>t>e.scale?Am(e.value*Af**BigInt(t-e.scale),t):t<e.scale?Am(e.value/Af**BigInt(e.scale-t),t):e),AN=eQ(2,(e,t)=>t.value===AC?e:e.value===AC?t:e.scale>t.scale?Am(AQ(t,e.scale).value+e.value,e.scale):e.scale<t.scale?Am(AQ(e,t.scale).value+t.value,t.scale):Am(e.value+t.value,e.scale)),Ab=rx((e,t)=>{let r=rR(AD(e),AD(t));return 0!==r?r:e.scale>t.scale?rM(e.value,AQ(t,e.scale).value):e.scale<t.scale?rM(AQ(e,t.scale).value,t.value):rM(e.value,t.value)}),AS=(U=Ab,eQ(2,(e,t)=>-1===U(e,t))),Aw=rU(Ab),AD=e=>e.value===AC?0:e.value<AC?-1:1,Ax=rA((e,t)=>e.scale>t.scale?AQ(t,e.scale).value===e.value:e.scale<t.scale?AQ(e,t.scale).value===t.value:e.value===t.value),AR=eQ(2,(e,t)=>Ax(e,t)),AM=e=>{let t,r,i=Ay(e);if(Math.abs(i.scale)>=16)return Ak(i);let s=i.value<AC,n=s?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=n.length)t="0",r="0".repeat(i.scale-n.length)+n;else{let e=n.length-i.scale;if(e>n.length){let i=e-n.length;t=`${n}${"0".repeat(i)}`,r=""}else r=n.slice(e),t=n.slice(0,e)}let o=""===r?t:`${t}.${r}`;return s?`-${o}`:o},Ak=e=>{if(AU(e))return"0e+0";let t=Ay(e),r=`${(t.value<AC?Am(-t.value,t.scale):t).value}`,i=r.slice(0,1),s=r.slice(1),n=`${AF(t)?"-":""}${i}`;""!==s&&(n+=`.${s}`);let o=s.length-t.scale;return`${n}e${o>=0?"+":""}${o}`},AU=e=>e.value===AC,AF=e=>e.value<AC,Av=e=>Ah(e[0]),AT=eQ(Av,(e,t=0)=>e.scale<=t?e:Am(e.value/Af**BigInt(e.scale-t),t)),AL=eQ(Av,(e,t=0)=>{let r=AT(e,t);return e.value>AC&&AS(r,e)?AN(r,Am(AI,t)):r}),AH=eQ(Av,(e,t=0)=>{let r=AT(e,t);return AF(e)&&Aw(r,e)?AN(r,Am(AE,t)):r}),AO="~effect/time/DateTime",AP="~effect/time/DateTime/TimeZone",AY={[AO]:AO,pipe(){return ts(this,arguments)},[tC](){return this.toString()},toJSON(){return le(this).toJSON()}},AG={...AY,_tag:"Utc",[eY](){return e_(this.epochMilliseconds)},[e5](e){return AW(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${le(this).toJSON()})`}},Az={...AY,_tag:"Zoned",[eY](){return eq(e_(this.epochMilliseconds))(eG(this.zone))},[e5](e){return AW(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&e4(this.zone,e.zone)},toString(){return`DateTime.Zoned(${lm(this)})`}},Aq={[AP]:AP,[tC](){return this.toString()}},AV={...Aq,_tag:"Named",[eY](){return eW(`Named:${this.id}`)},[e5](e){return AK(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},AJ={...Aq,_tag:"Offset",[eY](){return eW(`Offset:${this.offset}`)},[e5](e){return AK(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${li(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},A_=(e,t,r)=>{let i=Object.create(Az);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},AW=e=>eO(e,AO),Aj=e=>AW(e[0]),AK=e=>eO(e,AP),AX=((e,t)=>e.epochMilliseconds===t.epochMilliseconds,e=>{let t=Object.create(AG);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t}),AZ=e=>{let t=e.getTime();if(Number.isNaN(t))throw new ap("Invalid date");return AX(t)},A$=e=>{if(AW(e))return e;if(e instanceof Date)return AZ(e);if("object"==typeof e){if("epochMilliseconds"in e)return AX(e.epochMilliseconds);let t=new Date(0);return ln(t,e),AZ(t)}return"string"!=typeof e||A0(e)?AZ(new Date(e)):AZ(new Date(e+"Z"))},A0=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),A1=r2((e,t)=>{let r,i=t?.timeZone;if(void 0===i&&AW(e)&&"Zoned"===e._tag)return e;let s=A$(e);if(s.epochMilliseconds<-86399999568e5||s.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${s.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=A8(-60*new Date(s.epochMilliseconds).getTimezoneOffset()*1e3);else if(AK(i))r=i;else if("number"==typeof i)r=A8(i);else{let e=A7(i);if(rH(e))throw new ap(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?A_(s.epochMilliseconds,r,s.partsUtc):lo(s.epochMilliseconds,r,t?.disambiguation??"compatible")}),A2=r2(A$),A3=/^(.{17,35})\[(.+)\]$/,A5=((e,t,r)=>r?.adjustForTimeZone===!0?lo(e.epochMilliseconds,t,r?.disambiguation??"compatible"):A_(e.epochMilliseconds,t,e.partsUtc),new Map),A4={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},A8=e=>{let t=Object.create(AJ);return t.offset=e,t},A9=r2(e=>{if(A5.has(e))return A5.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...A4,timeZone:e});let r=t.resolvedOptions().timeZone;if(A5.has(r))return A5.get(r);let i=Object.create(AV);return i.id=r,i.format=t,A5.set(r,i),i}catch{throw new ap(`Invalid time zone: ${e}`)}}),A6=/^(?:GMT|[+-])/,A7=e=>{if(A6.test(e)){let t=lA(e);return null===t?rv():rT(A8(t))}return A9(e)},le=e=>new Date(e.epochMilliseconds),lt=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},lr=e=>lt(e).getTime()-ls(e),li=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},ls=e=>e.epochMilliseconds,ln=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},lo=(e,t,r)=>{if("Offset"===t._tag)return A_(e-t.offset,t);let i=ll(e-864e5,e,t),s=ll(e+864e5,e,t);if(i===s)return A_(e-i,t);let n=i-s;if(i<s){if(ll(e-s,e,t)===s)return A_(e-s,t);let n=A_(e-i,t);if(e!==lt(n).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return A_(e-s,t)}return n}if(ll(e-i,e,t)===i){if("earlier"===r||"compatible"===r||ll(e-i+n,e+n,t)===i)return A_(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return A_(e-s,t)},la=/([+-])(\d{2}):(\d{2})$/,lA=e=>{let t=la.exec(e);if(null===t)return null;let[,r,i,s]=t;return("+"===r?1:-1)*(60*Number(i)+Number(s))*6e4},ll=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let s=lA(i);return null===s?lr(A_(t,r)):s},lc=eQ(Aj,(e,t,r)=>{if("Utc"===e._tag){let r=le(e);return t(r),AX(r.getTime())}let i=new Date(lt(e).getTime());return t(i),lo(i.getTime(),e.zone,r?.disambiguation??"compatible")}),ld=((e,t)=>ld(e,e=>{let r=new Date(e);return t(r),r.getTime()}),eQ(2,(e,t)=>{let r=t(ls(e));return"Utc"===e._tag?AX(r):A_(r,e.zone)})),lg=((e,t)=>t(lt(e)),eQ(2,(e,t)=>t(le(e)))),lu=(e,t)=>{e.setTime(e.getTime()+t)},lh=((e,t)=>lc(e,e=>{if(t.milliseconds&&lu(e,t.milliseconds),t.seconds&&lu(e,1e3*t.seconds),t.minutes&&lu(e,60*t.minutes*1e3),t.hours&&lu(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=lt(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${li(lr(e))}`}),lm=e=>"Offset"===e.zone._tag?lh(e):`${lh(e)}[${e.zone.id}]`,lp="~effect/encoding/EncodingError";class lC extends Ac("EncodingError"){[lp]=lp}let lI=e=>"string"==typeof e?lQ(lf.encode(e)):lQ(e),lE=e=>{let t=ly(e),r=t.length;if(r%4!=0)return rw(new lC({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return rw(new lC({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,s=0;e<r;e+=4,s+=3){let r=lN(t.charCodeAt(e))<<18|lN(t.charCodeAt(e+1))<<12|lN(t.charCodeAt(e+2))<<6|lN(t.charCodeAt(e+3));i[s]=r>>16,i[s+1]=r>>8&255,i[s+2]=255&r}return rD(i)}catch(e){return rw(new lC({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},lf=new TextEncoder,lB=new TextDecoder,ly=e=>e.replace(/[\n\r]/g,""),lQ=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=lb[e[t-2]>>2],i+=lb[(3&e[t-2])<<4|e[t-1]>>4],i+=lb[(15&e[t-1])<<2|e[t]>>6],i+=lb[63&e[t]];return t===r+1&&(i+=lb[e[t-2]>>2],i+=lb[(3&e[t-2])<<4],i+="=="),t===r&&(i+=lb[e[t-2]>>2],i+=lb[(3&e[t-2])<<4|e[t-1]>>4],i+=lb[(15&e[t-1])<<2],i+="="),i};function lN(e){if(e>=lS.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=lS[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let lb=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],lS=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],lw=e=>lQ(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),lD=e=>{let t="";for(let r=0;r<e.length;++r)t+=lR[e[r]];return t},lx=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},lR=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function lM(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}let lk=eR(e=>{let t=(e.checks?e.checks[e.checks.length-1].annotations:e.annotations)?.identifier;return"string"==typeof t?t:e.getExpected(lk)}),lU="~effect/SchemaIssue/Issue";class lF{[lU]=lU;toString(){return lj(this)}}class lv extends lF{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class lT extends lF{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class lL extends lF{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class lH extends lF{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class lO extends lF{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class lP extends lF{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class lY extends lF{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class lG extends lF{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class lz extends lF{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class lq extends lF{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function lV(e,t){if(eO(t,lU))return t;if("string"==typeof t)return new lY(rT(e),{message:t});let r="string"==typeof t.issue?new lY(rT(e),{message:t.issue}):t.issue;return new lL(t.path,r)}let lJ=e=>{let t=lX(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return lW(lk(e.ast),l$(e.actual));case"InvalidValue":return`Invalid data ${l$(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${tg(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${tg(e.actual)}`}},l_=e=>lX(e.issue)??lX(e);function lW(e,t){return`Expected ${e}, got ${t}`}let lj=e=>(function e(t,r,i,s){switch(t._tag){case"Filter":{let n=s(t);if(void 0!==n)return[{path:r,message:n}];if("InvalidValue"===t.issue._tag)return[{path:r,message:lW(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),tg(t.actual))}];return e(t.issue,r,i,s)}case"Encoding":return e(t.issue,r,i,s);case"Pointer":return e(t.issue,[...r,...t.path],i,s);case"Composite":return t.issues.flatMap(t=>e(t,r,i,s));case"AnyOf":{let n=lX(t);if(0===t.issues.length){if(void 0!==n)return[{path:r,message:n}];return[{path:r,message:lW(lk(t.ast),tg(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,s))}default:return[{path:r,message:i(t)}]}})(e,[],lJ,l_).map(lK).join("\n");function lK(e){let t=e.message;if(e.path&&e.path.length>0){let r=e.path.map(e=>`[${th(e)}]`).join("");t+=` - at ${r}`}return t}function lX(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return lZ(e.ast.annotations);case"InvalidValue":case"Forbidden":return lZ(e.annotations);case"MissingKey":return lZ(e.annotations,"messageMissingKey");case"UnexpectedKey":return lZ(e.ast.annotations,"messageUnexpectedKey");case"Filter":return lZ(e.filter.annotations);case"Encoding":return lX(e.issue)}}function lZ(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function l$(e){return rH(e)?"no value provided":tg(e.value)}function l0(e){let t;for(let r of e.reasons){if(!tJ(r)||!eO(r.error,lU))return;t??=r.error}return t}function l1(e,t){let r=l0(e);if(void 0===r)throw Error(t,{cause:e});return r}class l2 extends to{run;constructor(e){super(),this.run=e}map(e){return new l2((t,r)=>this.run(t,r).pipe(n$(r4(e))))}compose(e){return l5(this)?e:l5(e)?this:new l2((t,r)=>this.run(t,r).pipe(nX(t=>e.run(t,r))))}}let l3=new l2(nS);function l5(e){return e.run===l3.run}function l4(e){var t;return t=r4(e),new l2(e=>nS(t(e)))}function l8(e){var t;return t=(t,r)=>e(t,r).pipe(n$(rT)),new l2((e,r)=>rH(e)?nk:t(e.value,r))}function l9(){return l4(globalThis.String)}function l6(){return l4(globalThis.Number)}let l7="~effect/SchemaTransformation/Transformation";class ce{[l7]=l7;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new ce(this.encode,this.decode)}compose(e){return new ce(this.decode.compose(e.decode),e.encode.compose(this.encode))}}function ct(e){return new ce(l8(e.decode),l8(e.encode))}let cr=new ce(l3,l3),ci=new ce(l6(),l9()),cs=new ce(l4(globalThis.BigInt),l9());l4(e=>new globalThis.Date(e));let cn=e=>{let t;return"object"!=typeof e||null===e||Array.isArray(e)||"string"!=typeof e.message?e:(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:cn(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t)};function co(e){return t=>t._tag===e}l8(e=>n0(nR(lE(e)),t=>new lY(rT(e),{message:t.message}))),l4(lI),l8(e=>i2(i1(lE(e),e=>lB.decode(e)),{onFailure:t=>t3(new lY(rT(e),{message:t.message})),onSuccess:nS})),l4(lI),l8(e=>i2(i1((e=>{let t=ly(e),r=t.length;if(r%4==1)return rw(new lC({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return rw(new lC({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return lE(i=i.replace(/-/g,"+").replace(/_/g,"/"))})(e),e=>lB.decode(e)),{onFailure:t=>t3(new lY(rT(e),{message:t.message})),onSuccess:nS})),l4(e=>"string"==typeof e?lw(lf.encode(e)):lw(e)),l8(e=>i2(i1((e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return rw(new lC({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=lx(t[2*i]),s=lx(t[2*i+1]);r[i]=e<<4|s}return rD(r)}catch(t){return rw(new lC({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}})(e),e=>lB.decode(e)),{onFailure:t=>t3(new lY(rT(e),{message:t.message})),onSuccess:nS})),l4(e=>"string"==typeof e?lD(lf.encode(e)):lD(e)),l8(e=>{try{return nS(globalThis.decodeURIComponent(e))}catch(t){return t3(new lY(rT(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}}),l4(encodeURIComponent);let ca=co("Declaration"),cA=co("Never"),cl=co("Literal"),cc=co("UniqueSymbol"),cd=co("Arrays"),cg=co("Objects");class cu{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let ch={};class cm{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let cp="~effect/Schema";class cC{[cp]=cp;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class cI extends cC{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.typeParameters=e,this.run=t,this.encodingChecks=o}getParser(){let e=this.run(this.typeParameters);return(t,r)=>rH(t)?nk:n$(e(t.value,this,r),rT)}_rebuild(e,t,r){let i=c2(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new cI(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let cE=new class extends cC{_tag="Null";getParser(){return de(this,null)}getExpected(){return"null"}},cf=new cu(cE,new ce(l4(()=>void 0),l4(()=>null))),cB=new class extends cC{_tag="Undefined";getParser(){return de(this,void 0)}toCodecJson(){return cj(this,[cf])}getExpected(){return"undefined"}},cy=new class extends cC{_tag="Unknown";getParser(){return dt(this,eH)}getExpected(){return"unknown"}};class cQ extends cC{_tag="Literal";literal;constructor(e,t,r,i,s){if(super(t,r,i,s),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${tg(e)}`);this.literal=e}getParser(){return de(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?cN(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:cN(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function cN(e){let t=globalThis.String(e.literal);return cj(e,[new cu(new cQ(t),new ce(l4(()=>e.literal),l4(()=>t)))])}let cb=new class extends cC{_tag="String";getParser(){return dt(this,eU)}matchPart(e,t){return dr(this,e,t)}getExpected(){return"string"}};function cS(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return cS(e.checks,t)}})}let cw=new class extends cC{_tag="Number";getParser(){return dt(this,eF)}matchKey(e,t){return this._match(dA,e,t)}matchPart(e,t){return this._match(da,e,t)}_match(e,t,r){return e.test(t)?dr(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(cS(this.checks,"isFinite")||cS(this.checks,"isInt"))?this:cj(this,[cG])}toCodecStringTree(){return this.checks&&(cS(this.checks,"isFinite")||cS(this.checks,"isInt"))?cj(this,[dc]):cj(this,[dd])}getExpected(){return"number"}},cD=new class extends cC{_tag="Symbol";getParser(){return dt(this,eT)}matchKey(e,t){return dr(this,e,t)}toCodecStringTree(){return cj(this,[dm])}getExpected(){return"symbol"}},cx=new class extends cC{_tag="BigInt";getParser(){return dt(this,ev)}matchPart(e,t){return dg.test(e)?dr(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return cj(this,[du])}getExpected(){return"bigint"}},cR=o_({onItem(e,t,r){let i=r<e.len?rT(t):rv();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return ck(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(c8(t.ast))return;let r=new lL([i],new lH(t.ast.context?.annotations));if("all"!==e.options.errors)return t3(new lO(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),cM=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,ck=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let s=l0(i.cause);if(void 0===s)return t2(nr(i.cause,i=>new lO(t,e.oinput,[new lL([r],i)])));let n=new lL([r],s);if("all"!==e.options.errors)return t3(new lO(t,e.oinput,[n]));e.issues?e.issues.push(n):e.issues=[n]},cU="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";function cF(e,t){return e?t?[...e,...t]:e:t}function cv(e){return e.ast}function cT(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!c8(t)){if(cl(t))return[{key:e.name,literal:t.literal}];if(cc(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>cl(e)&&!c8(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return cT(e.thunk())}}let cL=new WeakMap;function cH(e){return t=>{let r=c6(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class cO extends cC{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.types=e,this.mode=t,this.encodingChecks=o}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return nS(r);let s=r.value,n=function(e,t){let r=function(e){let t=cL.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=c6(e[r]);if(cA(i))continue;let s=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),n=cT(i);for(let e of(t.byType??={},s))(t.byType[e]??=[]).push(r);if(n.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,n)){let s=t.bySentinel.get(e);s||t.bySentinel.set(e,s=new Map);let n=s.get(i);n||s.set(i,n=[]),n.push(r)}else for(let e of(t.otherwise??={},s))(t.otherwise[e]??=[]).push(r)}return cL.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let s=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(s);for(let[t,s]of r.bySentinel)if(Object.hasOwn(e,t)){let r=s.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(cH(e))}return s.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(cH(e))}(s,t.types),o={ast:t,recur:e,oinput:r,input:s,out:void 0,successes:[],issues:void 0,options:i},a=cM(i?.concurrency),A=cP(o,n,a?{...a,orderedStep:!0}:void 0);return A?nW(A,e=>o.out?nS(o.out):t3(new lz(t,s,o.issues??[]))):o.out?nS(o.out):t3(new lz(t,s,o.issues??[]))}}_rebuild(e,t,r){let i=c2(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new cO(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=c6(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(cl);if(t.length>0)return`${cz(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>cl(e.type));if(t.length>0)return`{ ${t.map(t=>`${cz(t.type.context?.isMutable)}${th(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let cP=o_({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=l0(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),t3(new lq(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return n2}}}),cY=new cO([new cQ("Infinity"),new cQ("-Infinity"),new cQ("NaN")],"anyOf"),cG=new cu(new cO([cw,cY],"anyOf"),new ce(l6(),l4(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function cz(e){return e?"":"readonly "}class cq extends to{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new cq(this.run,{...this.annotations,...e},this.aborted)}abort(){return new cq(this.run,this.annotations,!0)}and(e,t){return new cV([this,e],t)}}class cV extends to{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new cV(this.checks,{...this.annotations,...e})}and(e,t){return new cV([this,e],t)}}function cJ(e,t,r=!1){return new cq((t,r,i)=>(function(e,t,r){if(Array.isArray(r))return r.length>0?1===r.length?lV(e,r[0]):new lO(t,rT(e),st(r,t=>lV(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new lY(rT(e)):lV(e,r)})(t,r,e(t,r,i)),t,r)}function c_(e,t){let r=e.source;return cJ(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function cW(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function cj(e,t){return e.encoding===t?e:cW(e,e=>{e.encoding.value=t})}function cK(e,t){return e.context===t?e:cW(e,e=>{e.context.value=t})}function cX(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return cZ(e,i4(e.checks.slice(0,-1),r.annotate(t)))}return cW(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function cZ(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:cW(e,e=>{e.checks.value=t})}function c$(e,t){return cZ(e,cF(e.checks,t))}function c0(e,t){let r=e[e.length-1],i=t(r.to);return i!==r.to?i4(e.slice(0,e.length-1),new cu(i,r.transformation)):e}function c1(e){return eR(function t(r){return r.encoding?cj(r,c0(r.encoding,t)):e(r)})}function c2(e,t){let r=!1,i=Array(e.length);for(let s=0;s<e.length;s++){let n=e[s],o=t(n);o!==n&&(r=!0),i[s]=o}return r?i:e}function c3(e,t){let r=e.context?new cm(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new cm(!1,!1,void 0,t);return cK(e,r)}let c5=e=>e.encoding?cj(e,c0(e.encoding,c4)):e;function c4(e){let t=e.context?!1===e.context.isOptional?new cm(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new cm(!0,!1);return c5(cK(e,t))}function c8(e){return e.context?.isOptional??!1}let c9=eR(e=>{if(e.encoding)return c9(cj(e,void 0));let t=e.recur?.(c9)??e,r=t.encodingChecks;return r?cW(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=cF(t.checks,r))}):t}),c6=eR(e=>c9(c7(e))),c7=eR(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],s=[new cu(c7(cj(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)s.unshift(new cu(c7(t[e-1].to),t[e].transformation.flip()));let n=c7(i.to);return n.encoding?cj(n,[...n.encoding,...s]):cj(n,s)}(e,e.encoding):e.flip?.(c7)??e.recur?.(c7)??e);function de(e,t){let r=nS(rT(t));return i=>"None"===i._tag?nk:i.value===t?r:t3(new lP(e,i))}function dt(e,t){return r=>"None"===r._tag?nk:t(r.value)?nS(r):t3(new lP(e,r))}function dr(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return dp(e.checks,t,i,e,r),0===i.length?t:void 0}let di=c1(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(di)}}),ds=c1(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(ds)}}),dn=c1(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(dn)}}),da=new globalThis.RegExp(`^${cU}$`),dA=new globalThis.RegExp(`(?:${cU}|Infinity|-Infinity|NaN)`),dl=c$(cb,[c_(da,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:da},...void 0})]),dc=new cu(dl,ci),dd=new cu(new cO([dl,cY],"anyOf"),ci),dg=new globalThis.RegExp("^-?\\d+$"),du=new cu(c$(cb,[c_(dg,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:dg},expected:"a string representing a bigint"})]),cs),dh=new globalThis.RegExp("^Symbol\\((.*)\\)$"),dm=new cu(c$(cb,[c_(dh,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:dh},...void 0})]),new ce(l4(e=>globalThis.Symbol.for(dh.exec(e)[1])),l8(e=>void 0!==globalThis.Symbol.keyFor(e)?nS(globalThis.String(e)):t3(new lG(rT(e),{message:"cannot serialize to string, Symbol is not registered"})))));function dp(e,t,r,i,s){for(let n=0;n<e.length;n++){let o=e[n];if("FilterGroup"===o._tag)dp(o.checks,t,r,i,s);else{let e=o.run(t,i,s);if(e&&(r.push(new lv(t,o,e)),o.aborted||s?.errors!=="all"))return}}}let dC="~effect/Schema/Class",dI=new cI([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let s=Array.isArray(t);if(!s){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let n=s?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),n&&i.add(t),n}(e))?nS(e):t3(new lP(t,rT(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new cu(cy,cr),toArbitrary:()=>e=>e.jsonValue()}),dE=new cu(cE,new ce(l3,l4(()=>null))),df=new cu(dI,cr),dB="~effect/SchemaError/SchemaError";class dy extends Ac("SchemaError"){[dB]=dB;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let dQ=eR(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[dC];if(eL(t)){let r=t(e.typeParameters),i=dQ(r.to);return cj(e,i===r.to?[r]:[new cu(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=dQ(e);return cj(r,r.encoding?[...r.encoding,...t]:t)}return dQ(e)});case"Suspend":return e.recur(dQ);default:return e}});function dN(e){let t=dS(dQ(c9(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function db(e){let t=dN(e);return(e,r)=>{let i=o8(t(e,r));return"Success"===i._tag?rT(i.value):(l1(i.cause,"Option adapter can only return none for schema issues"),rv())}}function dS(e){let t=dD(e);return(e,r)=>nX(t(rT(e),r??ch),e=>"None"===e._tag?t3(new lY(e)):nS(e.value))}function dw(e,t){return oi(e,e=>Aa(()=>nr(e,t)))}let dD=eR(e=>{let t,r=e.checks,i=e.encoding,s=i?.length??0,n=e.encodingChecks,o=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!i&&!r&&!n)return(r,i)=>(t??=e.getParser(dD),o&&(i={...i,...o}),t(r,i));let a=cd(e)||cg(e)||ca(e)&&e.typeParameters.length>0,A=r&&a?r.filter(e=>e.annotations?.["~structural"]):void 0;return(a,l)=>{let c;if(o&&(l={...l,...o}),i){for(let e=s-1;e>=0;e--){let t=i[e],r=dD(t.to);if(c=c?nX(c,e=>r(e,l)):r(a,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;c=nX(c,t=>e.run(t,l))}else c=t.transformation.decode(c,l)}c=dw(c,t=>new lT(e,a,t))}t??=e.getParser(dD);let d=i=>{let s=t(i,l);return n&&!l?.disableChecks&&(s=nX(s,t=>{if(rO(i)&&rO(t)){let t=[];if(dp(n,i.value,t,e,l),t.length>0)return t3(new lO(e,i,t))}return nS(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&rO(i)&&(s=dw(s,t=>{let r=[];return dp(A,i.value,r,e,l),r.length>0?"Composite"===t._tag&&t.ast===e?new lO(e,t.actual,[...t.issues,...r]):new lO(e,i,[t,...r]):t})),s=nX(s,t=>{if(rO(t)){let i=t.value,s=[];if(dp(r,i,s,e,l),s.length>0)return t3(new lO(e,t,s))}return nS(t)})),s};return c?nX(c,d):d(a)}}),dx="~effect/Schema/Schema",dR={[dx]:dx,pipe(){return ts(this,arguments)},annotate(e){return this.rebuild(cX(this.ast,e))},annotateKey(e){return this.rebuild(c3(this.ast,e))},check(...e){return this.rebuild(c$(this.ast,e))}};function dM(e,t){let r,i=Object.create(dR);t&&Object.assign(i,t),i.ast=e,i.rebuild=e=>dM(e,t);let s=dN(i);return i.makeEffect=(e,t)=>dk(s(e,t)),r=dN(i),i.make=(e,t)=>{let i=o8(r(e,t));if("Success"===i._tag)return i.value;let s=l1(i.cause,"Constructor adapter can only throw schema issues");throw Error(s.toString(),{cause:s})},i.makeOption=db(i),i}function dk(e){return oi(e,e=>Aa(()=>nr(e,e=>new dy(e))))}let dU=(F=function(e){switch(e._tag){case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(c6(e[r]),r);let r=[...e].sort((e,r)=>{e=c6(e),r=c6(r);let i=F(e),s=F(r);return i!==s?i-s:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e});function dF(e,t){let r,i;return r=[],i=()=>(t,r)=>e(t)?nS(t):t3(new lP(r,rT(t))),dT(new cI(r.map(cv),e=>i(e.map(e=>dT(e))),t))}let dv=function(e,t){let r,i=(r=dS(e.ast),void 0===t?r:(e,i)=>{let s,n;return r(e,(s=t,void 0===(n=i)?s:{...s,...n}))});return(e,t)=>dk(i(e,t))},dT=dM,dL=dT(cy),dH=dT(cB),dO=dT(cb),dP=dT(cw);cJ(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0});cJ(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0}),cJ(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...void 0});let dY=c1(e=>{let t=function(e,t){switch(e._tag){case"Declaration":{let r=e.annotations?.toCodecJson??e.annotations?.toCodec;if(eL(r)){let i=r(ca(e)?e.typeParameters.map(e=>dM(c6(e))):[]),s=t(i.to);return cj(e,s===i.to?[i]:[new cu(s,i.transformation)])}return cj(e,[dE])}case"Unknown":case"ObjectKeyword":return cj(e,[df]);case"Undefined":case"Void":case"Literal":case"Number":return e.toCodecJson();case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,ds);case"Union":{let r=dU(e.types);if(r!==e.types)return new cO(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,dY);return t!==e&&c8(e)?c5(t):t}),dG=dT(dI),dz="~effect/http/Cookies",dq="~effect/http/Cookies/Cookie",dV=(e=>eO(e,dq),"~effect/http/Cookies/CookieError"),dJ={[dz]:dz,...tE,toJSON(){return{_id:"effect/Cookies",cookies:i$(this.cookies,e=>e.toJSON())}},pipe(){return ts(this,arguments)}},d_=e=>{var t;let r,i={};for(let t of e)i[t.name]=t;return t=i,(r=Object.create(dJ)).cookies=t,r},dW=d_([]),dj=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,dK={[dq]:dq,...tE,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}},dX=e=>{try{return decodeURIComponent(e)}catch(t){return e}},dZ=new WeakMap,d$=e=>{if(dZ.has(e))return dZ.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))},d0="~effect/data/Redacted",d1=(e,t)=>{let r=Object.create(d2);return t?.label&&(r.label=t.label),dZ.set(r,e),r},d2={[d0]:{_A:e=>e},label:void 0,...tk,toJSON(){return this.toString()},toString(){return`<redacted${eU(this.label)?":"+this.label:""}>`},[eY](){return eG(dZ.get(this))},[e5](e){return eO(e,d0)&&e4(dZ.get(this),dZ.get(e))}},d3=Symbol.for("~effect/http/Headers"),d5=Object.defineProperties(Object.create(null),{[d3]:{value:d3},[ta]:{value(e){return gr(this,iJ(e,gi))}},toJSON:{value(){return tA(this)}},[e5]:{value(e){return d8(this,e)}},[eY]:{value(){return eK(this)}},toString:{value:tE.toString},[tC]:{value:tE[tC]}}),d4=e=>Object.assign(Object.create(d5),e),d8=(E=eQ(2,(e,t)=>{for(let r of i0(e))if(!iZ(t,r)||!rl(e[r],t[r]))return!1;return!0}),(e,t)=>E(e,t)&&E(t,e)),d9=Object.create(d5),d6=e=>{if(void 0===e)return d9;if(Symbol.iterator in e){let t=Object.create(d5);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(d5);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},d7=eQ(3,(e,t,r)=>{let i=d4(e);return i[t.toLowerCase()]=r,i}),ge=eQ(2,(e,t)=>d4({...e,...d6(t)})),gt=eQ(2,(e,t)=>{let r=d4(e);return delete r[t.toLowerCase()],r}),gr=eQ(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=d1(e[i]))}else for(let i in e)t.test(i)&&(r[i]=d1(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),gi=iF("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]}),gs={"~effect/Channel":{_Env:eN,_InErr:eN,_InElem:eN,_OutErr:eN,_OutElem:eN},pipe(){return ts(this,arguments)}},gn=e=>{let t=Object.create(gs);return t.transform=(t,r)=>oi(e(t,r),e=>nS(nw(e))),t},go=eQ(2,(e,t)=>{let r;return r=(r,i,s)=>oQ(s,t).pipe(nq((0,e.transform)(r,i))),gn(nP(function*(e,t){let i=aj(t),s=e=>{let t;return of(i,rb(t=ak(e))?t2(t.failure):t$(t.success.value))},n=yield*ok(r(e,t,i),s);return ok(n,s)}))}),ga=eQ(2,(e,t)=>go(e,e=>t)),gA=eQ(2,(e,t)=>{let r;return r=e=>or(nW(e,t),{disableYield:!0}),nx(()=>{let t=oS();return aM(nW((0,e.transform)(aR(),t),r),nS).pipe(oR(e=>of(t,e)))})}),gl={"~effect/Stream":{_R:eN,_E:eN,_A:eN},pipe(){return ts(this,arguments)}},gc=e=>{let t=Object.create(gl);return t.channel=e,t},gd=eQ(2,(e,t)=>gc(ga(e.channel,t))),gg=eQ(2,(e,t)=>gA(e.channel,t)),gu="~effect/http/HttpClientError";class gh extends Ac("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[gu]=gu;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let gm=e=>e.endsWith("Error")?e.slice(0,-5):e,gp=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class gC extends Ac("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return gp(gm(this._tag),this.description,this.methodAndUrl)}}class gI extends Ac("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return gp(gm(this._tag),this.description,this.methodAndUrl)}}class gE extends Ac("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return gp(gm(this._tag),this.description,e)}}let gf="~effect/http/HttpBody";class gB{[gf];constructor(){this[gf]=gf}[tC](){return this.toJSON()}toString(){return tg(this,{ignoreToString:!0})}}let gy=new class extends gB{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class gQ extends gB{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let gN=(e,t)=>new gQ(e,t??"application/octet-stream",e.length),gb=new TextEncoder,gS="~effect/http/UrlParams",gw={...tk,[gS]:gS,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[e5](e){return gM(this,e)},[eY](){return eZ(this.params.flat())}},gD=e=>{let t=Object.create(gw);return t.params=e,t},gx=e=>{if(eO(e,gS))return e;let t=gR(e),r=[];for(let e=0;e<t.length;e++)if(Array.isArray(t[e][0])){let[i,s]=t[e];r.push([`${i[0]}[${i.slice(1).join("][")}]`,s])}else r.push(t[e]);return gD(r)},gR=e=>{let t="function"==typeof e[Symbol.iterator]?i5(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,s]of gR(i))r.push([[e,..."string"==typeof t?[t]:t],s]);else void 0!==i&&r.push([e,String(i)]);return r},gM=rA((e,t)=>gk(e.params,t.params)),gk=(O=[rl,rl],P=rA((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!O[r](e[r],t[r]))return!1;return!0}),rA((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!P(e[r],t[r]))return!1;return!0})),gU=gD([]),gF=eQ(2,(e,t)=>{let r=gx(t),i=r.params,s=new Set;for(let e=0;e<i.length;e++)s.add(i[e][0]);for(let t=0;t<e.params.length;t++)s.has(e.params[t][0])||i.push(e.params[t]);return r}),gv="~effect/http/HttpClientRequest",gT={[gv]:gv,...tE,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:tA(this.headers),body:this.body.toJSON()}},pipe(){return ts(this,arguments)}};function gL(e,t,r,i,s,n){let o=Object.create(gT);return o.method=e,o.url=t,o.urlParams=r,o.hash=i,o.headers=s,o.body=n,o}let gH=gL("GET","",gU,rv(),d9,gy),gO=e=>(t,r)=>gq(gH,{method:e,url:t,...r??void 0}),gP=gO("GET"),gY=gO("POST"),gG=gO("PUT"),gz=gO("HEAD"),gq=eQ(2,(e,t)=>{let r=e;return t.method&&(r=gV(r,t.method)),t.url&&(r=gX(r,t.url)),t.headers&&(r=g_(r,t.headers)),t.urlParams&&(r=gZ(r,t.urlParams)),t.hash&&(r=g$(r,t.hash)),t.body&&(r=g0(r,t.body)),t.accept&&(r=gj(r,t.accept)),t.acceptJson&&(r=gK(r)),r}),gV=eQ(2,(e,t)=>gL(t,e.url,e.urlParams,e.hash,e.headers,e.body)),gJ=eQ(3,(e,t,r)=>gL(e.method,e.url,e.urlParams,e.hash,d7(e.headers,t,r),e.body)),g_=eQ(2,(e,t)=>gL(e.method,e.url,e.urlParams,e.hash,ge(e.headers,t),e.body)),gW=eQ(2,(e,t)=>gJ(e,"Authorization",`Bearer ${"string"==typeof t?t:d$(t)}`)),gj=eQ(2,(e,t)=>gJ(e,"Accept",t)),gK=gj("application/json"),gX=eQ(2,(e,t)=>{if("string"==typeof t)return gL(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=gx(r.searchParams),s=rK(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",gL(e.method,r.toString(),i,s,e.headers,e.body)}),gZ=eQ(2,(e,t)=>gL(e.method,e.url,gF(e.urlParams,t),e.hash,e.headers,e.body)),g$=eQ(2,(e,t)=>gL(e.method,e.url,e.urlParams,rT(t),e.headers,e.body)),g0=eQ(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=gt(gt(r,"Content-Type"),"Content-length"):(t.contentType&&(r=d7(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=d7(r,"content-length",t.contentLength.toString()))),gL(e.method,e.url,e.urlParams,e.hash,r,t)}),g1=eQ(e=>eO(e[0],gv),(e,t,r)=>g0(e,gN(t,r))),g2=eQ(2,(e,t)=>{let r,i;return g0(e,(r=JSON.stringify(t),i=(void 0)??"application/json",gN(gb.encode(r),i??"text/plain")))}),g3="~effect/http/HttpIncomingMessage",g5=iF("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0}),g4="~effect/http/HttpClientResponse";class g8 extends Ac("UrlError"){}let g9="~effect/http/HttpClient",g6=iF("effect/HttpClient"),g7=eQ(2,(e,t)=>ue(r=>t(e.postprocess(r)),e.preprocess)),ue=(e,t)=>{let r=Object.create(ut);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},ut={[g9]:g9,pipe(){return ts(this,arguments)},...tE,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(gO(e)(t,r))}]))},ur=iF("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>ew}),ui=iF("effect/HttpClient/TracerPropagationEnabled",{defaultValue:eS}),us=iF("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),un=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),uo=new WeakMap;class ua{original;controller;constructor(e,t){this.original=e,this.controller=t}[g4]=g4;[g3]=g3;applyInterrupt(e){return nx(()=>(un.unregister(this.original),oF(e,()=>nD(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){var e;let t;return e=()=>(un.unregister(this.original),gd(this.original.stream,nD(()=>{this.controller.abort()}))),gc((t=()=>e().channel,gn((e,r)=>nx(()=>(0,t().transform)(e,r)))))}toJSON(){return this.original.toJSON()}[tC](){return this.original[tC]()}pipe(){return ts(this,arguments)}}let uA=i("node:https");var ul=o(7075);i("node:stream/promises");let uc="~effect/MutableRef",ud={[uc]:uc,...tk,toJSON(){return{_id:"MutableRef",current:tI(this.current)}}},ug=e=>gn((t,r)=>uu({scope:r,readable:e.evaluate(),onError:e.onError??um,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),uu=e=>{var t;let r,i=e.readable,s=e.closeOnDone??!0,n=e.exit??(t=void 0,(r=Object.create(ud)).current=t,r),o=ar(!1);function a(){o.openUnsafe()}function A(t){n.current=t3(e.onError(t)),o.openUnsafe()}function l(){n.current=t3(rt()),o.openUnsafe()}i.on("readable",a),i.once("error",A),i.once("end",l);let c=nx(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return n.current?n.current:i.readableEnded?t3(rt()):(o.closeUnsafe(),nW(o.await,t));let s=[r];for(;null!==(r=e.readable.read(e.chunkSize));)s.push(r);return nS(s)});return nz(oQ(e.scope,eb(nD(()=>{i.off("readable",a),i.off("error",A),i.off("end",l),s&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()}))),c)};class uh extends ul.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=ar(!1),this.fiber=gg(t,e=>this.readLatch.whenOpen(nD(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,n7(e),oZ),this.fiber.addObserver(e=>{this.fiber=void 0,"Success"===e._tag?this.push(null):this.destroy(ni(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);oZ(nQ(this.fiber)).addObserver(r=>{t("Failure"===r._tag?ni(r.cause):e)})}}let um=e=>new af(e);var up=o(3006);class uC extends iF()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let uI=(f=nD(()=>new up.g6),B=e=>{let t;return nT(function(e,r){ty(()=>t(r)).then(t=>e(nS(t)),t=>e(t5(t)))},0!==(t=()=>e.destroy()).length)},n6(e=>oG(t=>nW(oE,t=>nV(f,r=>oQ(t,t=>n7(B(r),e))))))),uE=a5(uC)(uI),uf=iF("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),uB=Ao(function*(){let e,t=yield*uC;return e=(e,r,i,s)=>(function(e){switch(e._tag){case"Empty":return nS(null);case"Uint8Array":case"Raw":return nS(e.body);case"FormData":return nS(e.formData);case"Stream":let t;return t=e.stream,nZ(n9,e=>new uh(e,t))}})(e.body).pipe(nW(n=>An({try:()=>t.request({...s.getRef(uf),signal:i,method:e.method,headers:e.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:n,headersTimeout:36e5,bodyTimeout:0}),catch:t=>new gh({reason:new gC({request:e,cause:t})})})),nZ(t=>new uQ(e,t))),ue(t=>nW(t,t=>t4(r=>{let i,s,n,o=uo.get(t),a=o??new AbortController,A=(i=t.url,s=t.urlParams,n=r1(t.hash),(e=>{if(eL(e))try{return rD(e())}catch(e){return rw(e)}try{return rD(e.try())}catch(t){return rw(e.catch(t))}})({try:()=>{let e=new URL(i,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<s.params.length;t++){let[r,i]=s.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==n&&(e.hash=n),e},catch:e=>new g8({cause:e})}));if(rb(A))return t3(new gh({reason:new gI({request:t,cause:A.failure})}));let l=A.success;if(r.getRef(sq)||r.getRef(ur)(t)){let i=e(t,l,a.signal,r);return o?i:oG(e=>oc(e(i),{onSuccess:e=>(un.register(e,a),nS(new ua(e,a))),onFailure:e=>(e.reasons.some(tW)&&a.abort(),nw(e))}))}return((e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return t4(t=>{let s=((e,t,r)=>{let i,s=!e.getRef(s0)||r?.annotations&&iJ(r.annotations,sq),n=r?.parent!==void 0?rT(r.parent):r?.root?rv():an(e.currentSpan);if(s){let e;e={name:t,parent:n,annotations:iz(r?.annotations??iY,sq,!0)},i=Object.assign(Object.create(as),e)}else{let s=e.getRef(sW),o=e.getRef(aa),a=e.getRef(s1),A=e.getRef(s2),l=e.getRef(s3),c=r?.level??e.getRef(sV),d=r?.links!==void 0?[...l,...r.links]:l.slice();for(let[l,g]of(i=s.span({name:t,parent:n,annotations:r?.annotations??iY,links:d,startTime:a?o.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??rH(n),sampled:r?.sampled??((!rO(n)||!1!==n.value.sampled)&&!ay(e.getRef(sJ),c))}),Object.entries(A)))i.attribute(l,g);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i})(t,e,r),n=t.getRef(aa);return oR(ty(()=>i(s)),e=>nD(()=>{"Ended"!==s.status._tag&&s.end(n.currentTimeNanosUnsafe(),e)}))})})(r.getRef(us)(t),{kind:"client"},i=>{i.attribute("http.request.method",t.method),i.attribute("server.address",l.origin),""!==l.port&&i.attribute("server.port",+l.port),i.attribute("url.full",l.toString()),i.attribute("url.path",l.pathname),i.attribute("url.scheme",l.protocol.slice(0,-1));let s=l.search.slice(1);""!==s&&i.attribute("url.query",s);let n=r.getRef(gi),A=gr(t.headers,n);for(let e in A)i.attribute(`http.request.header.${e}`,String(A[e]));return t=r.getRef(ui)?g_(t,Object.setPrototypeOf({b3:`${i.traceId}-${i.spanId}-${i.sampled?"1":"0"}${rP(i.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${i.traceId}-${i.spanId}-${i.sampled?"01":"00"}`},d5)):t,oG(s=>s(e(t,l,a.signal,r)).pipe(Al(i,{captureStackTrace:!1}),oc({onSuccess:e=>{i.attribute("http.response.status_code",e.status);let t=gr(e.headers,n);for(let e in t)i.attribute(`http.response.header.${e}`,String(t[e]));return o?nS(e):(un.register(e,a),nS(new ua(e,a)))},onFailure:e=>(!o&&e.reasons.some(tW)&&a.abort(),nw(e))})))})})),nS)});function uy(e){}class uQ extends tf{[g3];[g4];request;source;constructor(e,t){super(),this[g3]=g3,this[g4]=g4,this.request=e,this.source=t,t.body.on("error",uy)}get status(){return this.source.statusCode}get statusText(){}get headers(){return d6(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?(e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!dj.test(i))return;let s=t[0].slice(r+1),n=dX(s);if(1===t.length)return Object.assign(Object.create(dK),{name:i,value:n,valueEncoded:s});let o={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),s=-1===i?r:r.slice(0,i).trim(),n=-1===i?void 0:r.slice(i+1).trim();switch(s.toLowerCase()){case"domain":{if(void 0===n)break;let e=n.trim().replace(/^\./,"");e&&(o.domain=e);break}case"expires":{if(void 0===n)break;let e=new Date(n);isNaN(e.getTime())||(o.expires=e);break}case"max-age":{if(void 0===n)break;let e=parseInt(n,10);isNaN(e)||(o.maxAge=sN(e));break}case"path":if(void 0===n)break;"/"===n[0]&&(o.path=n);break;case"priority":if(void 0===n)break;switch(n.toLowerCase()){case"low":o.priority="low";break;case"medium":o.priority="medium";break;case"high":o.priority="high"}break;case"httponly":o.httpOnly=!0;break;case"secure":o.secure=!0;break;case"partitioned":o.partitioned=!0;break;case"samesite":if(void 0===n)break;switch(n.toLowerCase()){case"lax":o.sameSite="lax";break;case"strict":o.sameSite="strict";break;case"none":o.sameSite="none"}}}return Object.assign(Object.create(dK),{name:i,value:n,valueEncoded:s,options:Object.keys(o).length>0?o:void 0})}(r.trim());e&&t.push(e)}return d_(t)})(e):dW}get remoteAddress(){return rv()}get stream(){return gc(ug({evaluate:()=>this.source.body,onError:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}))}get json(){return nW(this.text,e=>nv({try:()=>""===e?null:JSON.parse(e),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=An({try:()=>this.source.body.text(),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}).pipe(AA,o6),this.arrayBufferBody=nZ(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return nW(this.text,e=>nv({try:()=>gx(new URLSearchParams(e)),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=An({try:()=>this.source.body.formData(),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}).pipe(AA,o6)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=An({try:()=>this.source.body.arrayBuffer(),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}).pipe(AA,o6),this.textBody=nZ(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return((e,t)=>{let r,i=e.headers["content-type"]??"";if(i.includes("application/json"))try{r=o6(e.json)}catch(e){}else if(i.includes("text/")||i.includes("urlencoded"))try{r=o6(e.text)}catch(e){}let s={...t,headers:tA(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(s.body=r),s})(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return ts(this,arguments)}}let uN=a6(a5(g6)(n6(e=>nZ(uB,t=>g7(t,n4(t=>iK(e,t)))))),uE);var ub=class extends Ac("BlobStoreError"){},uS=class extends iF()("github-action-effects/BlobStore"){},uw=o(7598);let uD=(e,t)=>(0,uw.createHmac)("sha256",e).update(t).digest(),ux=()=>new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),uR=e=>{let t=e.endpoint?e.endpoint.replace(/\/$/,""):`https://s3.${e.region}.amazonaws.com`,r=new URL(t).host,i=e.key.split("/").map(encodeURIComponent).join("/"),s=`/${e.bucket}/${i}`,n=new Map([["host",r],["x-amz-content-sha256",e.payloadHash],["x-amz-date",e.amzDate??ux()]]);return e.sessionToken&&n.set("x-amz-security-token",e.sessionToken),{base:t,host:r,canonicalUri:s,headers:n}},uM="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",uk=Symbol.for("twirp/conflict"),uU=["HTTP 500","HTTP 502","HTTP 503","HTTP 504","ECONNRESET","ECONNREFUSED","ETIMEDOUT"];class uF extends Error{constructor(e){super(e),this.name="AbortError"}}let uv=i("node:os");var uT=o(7975);let uL=i("node:process");"string"==typeof uL.versions.deno&&uL.versions.deno.length,"string"==typeof uL.versions.bun&&uL.versions.bun.length;let uH=uL.env.DEBUG,uO=[],uP=[],uY=[];uH&&uz(uH);let uG=Object.assign(e=>uJ(e),{enable:uz,enabled:uq,disable:function(){let t=e||"";return uz(""),t},log:function(e,...t){uL.stderr.write(`${uT.format(e,...t)}${uv.EOL}`)}});function uz(t){for(let r of(e=t,uO=[],uP=[],t.split(",").map(e=>e.trim())))r.startsWith("-")?uP.push(r.substring(1)):uO.push(r);for(let e of uY)e.enabled=uq(e.namespace)}function uq(e){if(e.endsWith("*"))return!0;for(let t of uP)if(uV(e,t))return!1;for(let t of uO)if(uV(e,t))return!0;return!1}function uV(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,s=0,n=r.length,o=e.length,a=-1,A=-1;for(;i<o&&s<n;)if("*"===r[s]){if(a=s,++s===n)return!0;for(;e[i]!==r[s];)if(++i===o)return!1;A=i,i++,s++;continue}else if(r[s]===e[i])s++,i++;else{if(!(a>=0)||(s=a+1,(i=A+1)===o))return!1;for(;e[i]!==r[s];)if(++i===o)return!1;A=i,i++,s++;continue}let l=i===e.length,c=s===r.length,d=s===r.length-1&&"*"===r[s];return l&&(c||d)}function uJ(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:uq(e),destroy:u_,log:uG.log,namespace:e,extend:uW});return uY.push(t),t}function u_(){let e=uY.indexOf(this);return e>=0&&(uY.splice(e,1),!0)}function uW(e){let t=uJ(`${this.namespace}:${e}`);return t.log=this.log,t}let uj=["verbose","info","warning","error"],uK={verbose:400,info:300,warning:200,error:100};function uX(e,t){t.log=(...t)=>{e.log(...t)}}function uZ(e){return uj.includes(e)}function u$(e){var t;let r,i=new Set,s=(t=e.logLevelEnvVarName,uL.env[t]),n=uG(e.namespace);function o(e){if(e&&!uZ(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${uj.join(",")}`);r=e;let t=[];for(let e of i)a(e)&&t.push(e.namespace);uG.enable(t.join(","))}function a(e){return!!(r&&uK[e.level]<=uK[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(uX(e,r),a(r)){let e=uG.disable();uG.enable(e+","+r.namespace)}return i.add(r),r}return n.log=(...e)=>{uG.log(...e)},s&&(uZ(s)?o(s):console.error(`${e.logLevelEnvVarName} set to unknown log level '${s}'; logging is not enabled. Acceptable values: ${uj.join(", ")}.`)),{setLogLevel:o,getLogLevel:function(){return r},createClientLogger:function(e){let t=n.extend(e);return uX(n,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:n}}let u0=u$({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function u1(e){return u0.createClientLogger(e)}function u2(e){return e.toLowerCase()}u0.logger;class u3{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(u2(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(u2(e))?.value}has(e){return this._headersMap.has(u2(e))}delete(e){this._headersMap.delete(u2(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function u5(e){return new u3(e)}function u4(){return globalThis.crypto.randomUUID()}class u8{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??u5(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||u4(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let u9=new Set(["Deserialize","Serialize","Retry","Sign"]);class u6{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!u9.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!u9.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new u6(this._policies)}static create(){return new u6}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),s=r("None"),n=r("Deserialize"),o=r("Retry"),a=r("Sign"),A=[i,s,n,o,a];function l(e){return"Retry"===e?o:"Serialize"===e?i:"Deserialize"===e?n:"Sign"===e?a:s}for(let e of this._policies){let r=e.policy,i=e.options,s=r.name;if(t.has(s))throw Error("Duplicate policy names not allowed in pipeline");let n={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(n.afterPhase=l(i.afterPhase),n.afterPhase.hasAfterPolicies=!0),t.set(s,n),l(i.phase).policies.add(n)}for(let e of this._policies){let{policy:r,options:i}=e,s=r.name,n=t.get(s);if(!n)throw Error(`Missing node for policy ${s}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(n.dependsOn.add(r),r.dependants.add(n))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(n),n.dependants.add(r))}}function c(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==s){s.hasRun||c(s);return}e.hasAfterPolicies&&c(s)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function u7(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function he(e){if(u7(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let ht=uT.inspect.custom,hr="REDACTED",hi=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],hs=["api-version"];class hn{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=hi.concat(e),t=hs.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&u7(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&u7(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||u7(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,hr);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=hr;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=hr;return t}}let ho=new hn;class ha extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,ht,{value:()=>`RestError: ${this.message} - ${ho.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,ha.prototype)}}function hA(e){return e instanceof ha||he(e)&&"RestError"===e.name}var hl=o(8522);let hc=u1("ts-http-runtime"),hd={};function hg(e){return e&&"function"==typeof e.pipe}function hu(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function hh(e){return e&&"number"==typeof e.byteLength}class hm extends ul.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class hp{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,s=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new uF("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&s.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new hn;hc.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),s.abort()},e.timeout));let n=e.headers.get("Accept-Encoding"),o=n?.includes("gzip")||n?.includes("deflate"),a="function"==typeof e.body?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(hg(e))return null;if(hh(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(a);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(a&&e.onUploadProgress){let t=e.onUploadProgress,r=new hm(t);r.on("error",e=>{hc.error("Error in upload progress",e)}),hg(a)?a.pipe(r):r.end(a),a=r}let t=await this.makeRequest(e,s,a);void 0!==r&&clearTimeout(r);let n=function(e){let t=u5();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),l={status:t.statusCode??0,headers:n,request:e};if("HEAD"===e.method)return t.resume(),l;i=o?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=hl.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=hl.createInflate();return e.pipe(t),t}return e}(t,n):t;let c=e.onDownloadProgress;if(c){let e=new hm(c);e.on("error",e=>{hc.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=i:l.bodyAsText=await (A=i,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new ha(`Error reading response as text: ${e.message}`,{code:ha.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();hg(a)&&(r=hu(a));let s=Promise.resolve();hg(i)&&(s=hu(i)),Promise.all([r,s]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{hc.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),s="https:"!==i.protocol;if(s&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let n={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,o)=>{let a=s?ey.request(n,i):uA.request(n,i);a.once("error",t=>{o(new ha(t.message,{code:t.code??ha.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new uF("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e),o(e)}),r&&hg(r)?r.pipe(a):r?"string"==typeof r||Buffer.isBuffer(r)?a.end(r):hh(r)?a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(hc.error("Unrecognized body type",r),o(new ha("Unrecognized body type"))):a.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?ey.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new ey.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return uA.globalAgent;let t=e.tlsSettings??hd,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(hc.info("No cached TLS Agent exist, creating a new Agent"),i=new uA.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let hC="Retry-After",hI=["retry-after-ms","x-ms-retry-after-ms",hC];function hE(e){if(e&&[429,503].includes(e.status))try{for(let t of hI){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===hC?1e3:1;return r*e}}let t=e.headers.get(hC);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let hf=u1("ts-http-runtime retryPolicy");function hB(e,t){return Buffer.from(e,t)}async function hy(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:u5({"Content-Disposition":`form-data; name="${t}"`}),body:hB(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",s=u5();s.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),s.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:s,body:e})}t.multipartBody={parts:i}}var hQ=o(6565),hN=o(7277);let hb=[],hS=!1,hw=new Map;function hD(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function hx(){if(!process)return;let e=hD("HTTPS_PROXY"),t=hD("ALL_PROXY"),r=hD("HTTP_PROXY");return e||t||r}function hR(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function hM(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&hc.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new hN.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new hQ.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let hk="redirectPolicy",hU=["GET","HEAD"];async function hF(e,t,r,i,s=0){let{request:n,status:o,headers:a}=t,A=a.get("location");if(A&&(300===o||301===o&&hU.includes(n.method)||302===o&&hU.includes(n.method)||303===o&&"POST"===n.method||307===o)&&s<r){let a=new URL(A,n.url);if(!i){let e=new URL(n.url);if(a.origin!==e.origin)return hc.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`),t}n.url=a.toString(),303===o&&(n.method="GET",n.headers.delete("Content-Length"),delete n.body),n.headers.delete("Authorization");let l=await e(n);return hF(e,l,r,i,s+1)}return t}let hv=i("stream");function hT(e){return e instanceof Blob}async function*hL(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function hH(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=hL.bind(e)),e.values||(e.values=hL.bind(e)),hv.Readable.fromWeb(e)):e}function hO(e){return e instanceof Uint8Array?hv.Readable.from(Buffer.from(e)):hT(e)?hH(e.stream()):hH(e)}async function hP(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(hO);return hv.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function hY(e,t,r){let i=[hB(`--${r}`,"utf-8"),...t.flatMap(e=>[hB("\r\n","utf-8"),hB(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r -`;return t}(e.headers),"utf-8"),hB("\r\n","utf-8"),e.body,hB(`\r ---${r}`,"utf-8")]),hB("--\r\n\r\n","utf-8")],s=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:hT(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);s&&e.headers.set("Content-Length",s),e.body=await hP(i)}let hG="multipartPolicy",hz=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),hq=u$({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function hV(e){return hq.createClientLogger(e)}hq.logger;let hJ=hV("core-rest-pipeline"),h_="decompressResponsePolicy";async function hW(e){if(uL&&uL.versions){let t=`${uv.type()} ${uv.release()}; ${uv.arch()}`;uL.versions.bun?e.set("Bun",`${uL.versions.bun} (${t})`):uL.versions.deno?e.set("Deno",`${uL.versions.deno} (${t})`):uL.versions.node&&e.set("Node",`${uL.versions.node} (${t})`)}}async function hj(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await hW(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let hK="User-Agent",hX=Symbol("rawContent");function hZ(e){return"function"==typeof e[hX]}class h$ extends Error{constructor(e){super(e),this.name="AbortError"}}function h0(e,t){let r,{abortSignal:i,abortErrorMsg:s}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:s}=t??{};return new Promise((t,n)=>{function o(){n(new h$(s??"The operation was aborted."))}function a(){i?.removeEventListener("abort",A)}function A(){r?.(),a(),o()}if(i?.aborted)return o();try{e(e=>{a(),t(e)},e=>{a(),n(e)})}catch(e){n(e)}i?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:s??"The delay was aborted."})}function h1(e){if(he(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function h2(e){var t=e;if(!t&&!(t=hx()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let h3={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class h5{_contextMap;constructor(e){this._contextMap=e instanceof h5?new Map(e._contextMap):new Map}setValue(e,t){let r=new h5(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new h5(this);return t._contextMap.delete(e),t}}let h4=o(7301).w;function h8(){return h4.instrumenterImplementation||(h4.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new h5(e.parentContext);return e.span&&(t=t.setValue(h3.span,e.span)),e.namespace&&(t=t.setValue(h3.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),h4.instrumenterImplementation}function h9(e){let{namespace:t,packageName:r,packageVersion:i}=e;function s(e,s,n){let o=h8().startSpan(e,{...n,packageName:r,packageVersion:i,tracingContext:s?.tracingOptions?.tracingContext}),a=o.tracingContext,A=o.span;return a.getValue(h3.namespace)||(a=a.setValue(h3.namespace,t)),A.setAttribute("az.namespace",a.getValue(h3.namespace)),{span:A,updatedOptions:Object.assign({},s,{tracingOptions:{...s?.tracingOptions,tracingContext:a}})}}async function n(e,t,r,i){let{span:n,updatedOptions:a}=s(e,t,i);try{let e=await o(a.tracingOptions.tracingContext,()=>r(a,n));return n.setStatus({status:"success"}),e}catch(e){throw n.setStatus({status:"error",error:e}),e}finally{n.end()}}function o(e,t,...r){return h8().withContext(e,t,...r)}return{startSpan:s,withSpan:n,withContext:o,parseTraceparentHeader:function(e){return h8().parseTraceparentHeader(e)},createRequestHeaders:function(e){return h8().createRequestHeaders(e)}}}function h6(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",s),r=!1)}function s(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",s),{abortSignal:t.signal,cleanup:i}}function h7(){let e=new hp;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?h6(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}hV("core-rest-pipeline retryPolicy");let me={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function mt(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let s=await i();for(;null===s;)await h0(t),s=await i();return s}async function mr(e,t){try{return[await t(e),void 0]}catch(e){if(hA(e)&&e.response)return[e.response,e];throw e}}async function mi(e){let{scopes:t,getAccessToken:r,request:i}=e,s={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},n=await r(t,s);n&&e.request.headers.set("Authorization",`Bearer ${n.token}`)}function ms(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function mn(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function mo(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,s=e.logger||hJ,n={authorizeRequest:i?.authorizeRequest?.bind(i)??mi,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},o=t?function(e){let t,r=null,i=null,s={...me,...void 0},n={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(n.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-s.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function o(o,a){return n.isRefreshing||(r=mt(()=>e.getToken(o,a),s.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=a.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let s=!!r.claims,a=t!==r.tenantId;return(s&&(i=null),a||s||n.mustRefresh)?o(e,r):(n.shouldRefresh&&o(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,a;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await n.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:s}),[i,a]=await mr(e,t),ms(i)){let A=ma(i.headers.get("WWW-Authenticate"));if(A){let n;try{n=atob(A)}catch(e){return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await mn({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:s},n)&&([i,a]=await mr(e,t))}else if(n.authorizeRequestOnChallenge&&(await n.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:o,logger:s})&&([i,a]=await mr(e,t)),ms(i))&&(A=ma(i.headers.get("WWW-Authenticate")??""))){let n;try{n=atob(A)}catch(e){return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await mn({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:s},n)&&([i,a]=await mr(e,t))}}if(!a)return i;throw a}}}function ma(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,s=[];for(;null!==(t=r.exec(e));){let e,r=t[1],n=t[2],o={};for(;null!==(e=i.exec(n));)o[e[1]]=e[2];s.push({scheme:r,params:o})}return s}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function mA(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let ml="DisableKeepAlivePolicy";function mc(e){return Buffer.from(e).toString("base64")}function md(e){return hB(e,"base64")}let mg=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,mu=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function mh(e,t){var r,i;let s,n=e.parsedHeaders;if("HEAD"===e.request.method)return{...n,body:e.parsedBody};let o=t&&t.bodyMapper,a=!!o?.nullable,A=o?.type.name;if("Stream"===A)return{...n,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&o.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(n)for(let e of Object.keys(n))t[e]=n[e];return!a||e.parsedBody||n||0!==Object.getOwnPropertyNames(l).length?t:null}return s={...(i={body:e.parsedBody,headers:n,hasNullableType:a,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(s).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:s}class mm{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:s,InclusiveMaximum:n,InclusiveMinimum:o,MaxItems:a,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:g,UniqueItems:u}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==s&&t<=s&&i("ExclusiveMinimum",s),void 0!==n&&t>n&&i("InclusiveMaximum",n),void 0!==o&&t<o&&i("InclusiveMinimum",o),void 0!==a&&t.length>a&&i("MaxItems",a),void 0!==A&&t.length>A&&i("MaxLength",A),void 0!==l&&t.length<l&&i("MinItems",l),void 0!==c&&t.length<c&&i("MinLength",c),void 0!==d&&t%d!=0&&i("MultipleOf",d),g){let e="string"==typeof g?new RegExp(g):g;("string"!=typeof t||null===t.match(e))&&i("Pattern",g)}u&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",u)}}serialize(e,t,r,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},n={},o=e.type.name;r||(r=e.serializedName),null!==o.match(/^Sequence$/i)&&(n=[]),e.isConstant&&(t=e.defaultValue);let{required:a,nullable:A}=e;if(a&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(a&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!a&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==o.match(/^any$/i)?n=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?n=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&mu.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(o,r,t):null!==o.match(/^Enum$/i)?n=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?n=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!mg.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(o,t,r):null!==o.match(/^ByteArray$/i)?n=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=mc(t)}return t}(r,t):null!==o.match(/^Base64Url$/i)?n=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(mc(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==o.match(/^Sequence$/i)?n=function(e,t,r,i,s,n){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let o=t.type.element;if(!o||"object"!=typeof o)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===o.type.name&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let a=[];for(let t=0;t<r.length;t++){let A=e.serialize(o,r[t],i,n);if(s&&o.xmlNamespace){let e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";"Composite"===o.type.name?a[t]={...A}:(a[t]={},a[t][n.xml.xmlCharKey]=A),a[t].$={[e]:o.xmlNamespace}}else a[t]=A}return a}(this,e,t,r,!!this.isXML,s):null!==o.match(/^Dictionary$/i)?n=function(e,t,r,i,s,n){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let o=t.type.value;if(!o||"object"!=typeof o)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let a={};for(let t of Object.keys(r)){let A=e.serialize(o,r[t],i,n);a[t]=mf(o,A,s,n)}return s&&t.xmlNamespace?(a.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},a):a}(this,e,t,r,!!this.isXML,s):null!==o.match(/^Composite$/i)&&(n=function(e,t,r,i,s,n){if(my(e,t)&&(t=mB(e,t,r,"clientName")),null!=r){let o={},a=mE(e,t,i);for(let A of Object.keys(a)){let l,c=a[A];if(c.readOnly)continue;let d=o;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=mC(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(s&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let o=""!==c.serializedName?i+"."+c.serializedName:i,a=r[A],g=my(e,t);g&&g.clientName===A&&null==a&&(a=t.serializedName);let u=e.serialize(c,a,o,n);if(void 0!==u&&null!=l){let e=mf(c,u,s,n);s&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=u):s&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=mI(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(A){let t=Object.keys(a);for(let s of Object.keys(r))t.every(e=>e!==s)&&Object.defineProperty(o,s,{value:e.serialize(A,r[s],i+'["'+s+'"]',n),enumerable:!0,configurable:!0,writable:!0})}return o}return r}(this,e,t,r,!!this.isXML,s)),n}deserialize(e,t,r,i={xml:{}}){let s,n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let o=e.type.name;if(r||(r=e.serializedName),null!==o.match(/^Composite$/i))s=function(e,t,r,i,s){let n=s.xml.xmlCharKey??"_";my(e,t)&&(t=mB(e,t,r,"serializedName"));let o=mE(e,t,i),a={},A=[];for(let l of Object.keys(o)){let c=o[l],d=mC(o[l].serializedName);A.push(d[0]);let{serializedName:g,xmlName:u,xmlElementName:h}=c,m=i;""!==g&&void 0!==g&&(m=i+"."+g);let p=c.headerCollectionPrefix;if(p){let t={};for(let i of Object.keys(r))i.startsWith(p)&&(t[i.substring(p.length)]=e.deserialize(c.type.value,r[i],m,s)),A.push(i);a[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)a[l]=e.deserialize(c,r.$[u],m,s);else if(c.xmlIsMsText)void 0!==r[n]?a[l]=r[n]:"string"==typeof r&&(a[l]=r);else{let t=h||u||g;if(c.xmlIsWrapped){let t=r[u],i=t?.[h]??[];Object.defineProperty(a,l,{value:e.deserialize(c,i,m,s),enumerable:!0,configurable:!0,writable:!0}),A.push(u)}else{let i=r[t];a[l]=e.deserialize(c,i,m,s),A.push(t)}}else{let i,n,A=r,g=0;for(let e of d){if(!A)break;g++,A=A[e]}null===A&&g<d.length&&(A=void 0),i=A;let u=t.type.polymorphicDiscriminator;if(u&&l===u.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[l])&&""===o[l].serializedName){i=r[l];let t=e.deserialize(c,i,m,s);for(let[e,r]of Object.entries(a))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);a=t}else(void 0!==i||void 0!==c.defaultValue)&&(n=e.deserialize(c,i,m,s),a[l]=n)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(o))if(mC(o[t].serializedName)[0]===e)return!1;return!0};for(let n of Object.keys(r))if(t(n)){let t=e.deserialize(l,r[n],i+'["'+n+'"]',s);Object.defineProperty(a,n,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!s.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==a[e]||A.includes(e)||["$",s.xml.xmlCharKey].includes(e)||Object.defineProperty(a,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return a}(this,e,t,r,n);else{if(this.isXML){let e=n.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==o.match(/^Number$/i)?isNaN(s=parseFloat(t))&&(s=t):null!==o.match(/^Boolean$/i)?s="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?s=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?s=new Date(t):null!==o.match(/^UnixTime$/i)?s=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/i)?s=md(t):null!==o.match(/^Base64Url$/i)?s=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return md(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==o.match(/^Sequence$/i)?s=function(e,t,r,i,s){let n=t.type.element;if(!n||"object"!=typeof n)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===n.type.name&&n.type.className&&(n=e.modelMappers[n.type.className]??n);let t=[];for(let o=0;o<r.length;o++)t[o]=e.deserialize(n,r[o],`${i}[${o}]`,s);return t}return r}(this,e,t,r,n):null!==o.match(/^Dictionary$/i)&&(s=function(e,t,r,i,s){let n=t.type.value;if(!n||"object"!=typeof n)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let o of Object.keys(r))t[o]=e.deserialize(n,r[o],i,s);return t}return r}(this,e,t,r,n))}return e.isConstant&&(s=e.defaultValue),s}}function mp(e={},t=!1){return new mm(e,t)}function mC(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function mI(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function mE(e,t,r){let i=t.type.modelProperties;if(!i){let s=mI(e,t,r);if(!s)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=s?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(s)}" of type "${t.type.className}" for object "${r}".`)}return i}function mf(e,t,r,i){if(!r||!e.xmlNamespace)return t;let s={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=s,e}let n={};return n[i.xml.xmlCharKey]=t,n.$=s,n}function mB(e,t,r,i){let s=my(e,t);if(s){let n=s[i];if(n){"serializedName"===i&&(n=n.replace(/\\/gi,""));let s=r[n],o=t.type.uberParent??t.type.className;if("string"==typeof s&&o){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),s=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,s))return e[s];for(let[t,s]of Object.entries(e))t.startsWith(r+".")&&s.type.uberParent===r&&s.type.className&&i.push(s.type.className)}}(e.modelMappers.discriminators,s,o);r&&(t=r)}}}return t}function my(e,t){return t.type.polymorphicDiscriminator||mQ(e,t.type.uberParent)||mQ(e,t.type.className)}function mQ(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let mN="Sequence",mb="Stream",mS=o(5997).w;function mw(e,t,r){let i,s=t.parameterPath,n=t.mapper;if("string"==typeof s&&(s=[s]),Array.isArray(s)){if(s.length>0)if(n.isConstant)i=n.defaultValue;else{let t=mD(e,s);!t.propertyFound&&r&&(t=mD(r,s));let o=!1;t.propertyFound||(o=n.required||"options"===s[0]&&2===s.length),i=o?n.defaultValue:t.propertyValue}}else for(let[t,o]of(n.required&&(i={}),Object.entries(s))){let s=mw(e,{parameterPath:o,mapper:n.type.modelProperties[t]},r);void 0!==s&&(i||(i={}),Object.defineProperty(i,t,{value:s,enumerable:!0,configurable:!0,writable:!0}))}return i}function mD(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let mx=Symbol.for("@azure/core-client original request");function mR(e){if(mx in e)return mR(e[mx]);let t=mS.operationRequestMap.get(e);return t||(t={},mS.operationRequestMap.set(e,t)),t}let mM=["application/json","text/json"],mk=["application/xml","application/atom+xml"];async function mU(e,t,r,i,s){let n,o,a,A,l,c=await mF(e,t,r,i,s);if(n=mR(c.request),!(void 0===(o=n?.shouldDeserialize)||("boolean"==typeof o?o:o(c))))return c;let d=mR(c.request),g=d?.operationSpec;if(!g||!g.responses)return c;let u=(A=mR(c.request),(l=A?.operationSpec)&&(a=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),a),{error:h,shouldReturnResponse:m}=function(e,t,r,i){let s,n=200<=e.status&&e.status<300;if(0===(s=Object.keys(t.responses)).length||1===s.length&&"default"===s[0]?n:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let o=r??t.responses.default,a=new ha(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw a;let A=o?.bodyMapper,l=o?.headersMapper;try{if(e.parsedBody){let r,s=e.parsedBody;if(A){let e=s;if(t.isXML&&A.type.name===mN){e=[];let t=A.xmlElementName;"object"==typeof s&&t&&(e=s[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",i)}let n=s.error||r||s;a.code=n.code,n.message&&(a.message=n.message),A&&(a.response.parsedBody=r)}e.headers&&l&&(a.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){a.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:a,shouldReturnResponse:!1}}(c,g,u,i);if(h)throw h;if(m)return c;if(u){if(u.bodyMapper){let e=c.parsedBody;g.isXML&&u.bodyMapper.type.name===mN&&(e="object"==typeof e?e[u.bodyMapper.xmlElementName]:[]);try{c.parsedBody=g.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new ha(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===g.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);u.headersMapper&&(c.parsedHeaders=g.serializer.deserialize(u.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function mF(e,t,r,i,s){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let n=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(e=>e.toLowerCase()):[];try{if(0===a.length||a.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(n);else if(a.some(e=>-1!==t.indexOf(e))){if(!s)throw Error("Parsing XML not supported.");r.parsedBody=await s(n,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||ha.PARSE_ERROR;throw new ha(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function mv(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function mT(e={}){var t,r,i,s,n;let o,a,A,l,c,d,g=(t=e??{},a=u6.create(),t.agent&&a.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&a.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),a.addPolicy((s=t.proxyOptions,n=void 0,hS||hb.push(...(A=hD("NO_PROXY"),(hS=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=s?hR(s):(l=hx())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let s=!1;for(let e of t)"."===e[0]?i.endsWith(e)?s=!0:i.length===e.length-1&&i===e.slice(1)&&(s=!0):i===e&&(s=!0);return r?.set(i,s),s}(e.url,n?.customNoProxyList??hb,n?.customNoProxyList?void 0:hw)?hM(e,d,c):e.proxySettings&&hM(e,d,hR(e.proxySettings)),t(e))})),a.addPolicy({name:h_,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),a.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=h6(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),a.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await hy(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[hG]}),a.addPolicy(function(e={}){let t=hj(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(hK)||e.headers.set(hK,await t),r(e))}}(t.userAgentOptions)),a.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),a.addPolicy((o={name:hG,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",s=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,n,o]=s;if(o&&r&&o!==r)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);if(r??=o){var a=r;if(a.length>70)throw Error(`Multipart boundary "${a}" exceeds maximum length of 70 characters`);if(Array.from(a).some(e=>!hz.has(e)))throw Error(`Multipart boundary "${a}" contains invalid characters`)}else r=`----AzSDKFormBoundary${u4()}`;return e.headers.set("Content-Type",`${n}; boundary=${r}`),await hY(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:hG,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;hZ(t.body)&&(t.body=hZ(r=t.body)?r[hX]():r)}return o.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),a.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||hf;return{name:"retryPolicy",async sendRequest(i,s){let n,o,a=-1;e:for(;;){a+=1,n=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,i.requestId),n=await s(i),r.info(`Retry ${a}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${a}: Received an error from request`,i.requestId),!hA(e))throw e;o=e,n=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new uF;if(a>=(t.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(n)return n;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${a}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);let s=t.retry({retryCount:a,response:n,responseError:o});if(s.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=s;if(A)throw e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((i,s)=>{let n,o,a=()=>s(new uF(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(n&&clearTimeout(n),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();n=setTimeout(()=>{A(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}(l,void 0,{abortSignal:i.abortSignal});continue e}if(c){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${c}`),i.url=c;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(n)return r.info("None of the retry strategies could work with the received response. Returning it."),n}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=hE(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:s,responseError:n}){var o,a,A,l,c;let d,g,u=!!(l=n)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=u&&e.ignoreSystemErrors,m=!!((c=s)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),p=m&&e.ignoreHttpStatusCodes;return s&&(Number.isFinite(hE(s))||!m)||p||h?{skipStrategy:!0}:!n||u||m?(d=(o={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(g=Math.min(o.maxRetryDelayInMs,d))/2+(a=0,A=g/2,a=Math.ceil(a),Math.floor(Math.random()*((A=Math.floor(A))-a+1))+a)}):{errorToThrow:n}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),a.addPolicy(function(e={}){let t=hj(e.userAgentPrefix),r=new hn({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return h9({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){hJ.warning(`Error when creating the TracingClient: ${h1(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,s){if(!i)return s(e);let n=await t,o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":n,requestId:e.requestId};n&&(o["http.user_agent"]=n);let{span:a,tracingContext:A}=function(e,t,r){try{let{span:i,updatedOptions:s}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let n=e.createRequestHeaders(s.tracingOptions.tracingContext);for(let[e,r]of Object.entries(n))t.headers.set(e,r);return{span:i,tracingContext:s.tracingOptions.tracingContext}}catch(e){hJ.warning(`Skipping creating a tracing span due to an error: ${h1(e)}`);return}}(i,e,o)??{};if(!a||!A)return s(e);try{let t=await i.withContext(A,s,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){hJ.warning(`Skipping tracing span processing due to an error: ${h1(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:he(t)?t:void 0}),hA(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){hJ.warning(`Skipping tracing span processing due to an error: ${h1(e)}`)}}(a,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:hk,async sendRequest(e,i){let s=await i(e);return hF(i,s,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let t=e.logger??hc.info,r=new hn({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let s=await i(e);return t(`Response status code: ${s.status}`),t(`Headers: ${r.sanitize({headers:s.headers})}`),s}}}({logger:hJ.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),a);return e.credentialOptions&&g.addPolicy(mo({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),g.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=mR(e),s=i?.operationSpec,n=i?.operationArguments;return s&&n&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let s=mw(t,i);if(null!=s||i.mapper.required){s=r.serializer.serialize(i.mapper,s,mv(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(s))e.headers.set(t+r,s[r]);else e.headers.set(i.mapper.serializedName||mv(i),s)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,n,s),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let s=t.options?.serializerOptions,n={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}},o=n.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=mw(t,r.requestBody);let s=r.requestBody.mapper,{required:a,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:g,nullable:u}=s,h=s.type.name;try{if(void 0!==e.body&&null!==e.body||u&&null===e.body||a){let t=mv(r.requestBody);e.body=r.serializer.serialize(s,e.body,t,n);let a=h===mb;if(r.isXML){let t=g?`xmlns:${g}`:"xmlns",r=function(e,t,r,i,s){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[s.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(d,t,h,e.body,n);h===mN?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let s={[t]:e};return s.$={[r]:i},s}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:o}):a||(e.body=i(r,{rootName:l||A,xmlCharKey:o}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;a||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let s=mw(t,i);if(null!=s){let t=i.mapper.serializedName||mv(i);e.formData[t]=r.serializer.serialize(i.mapper,s,mv(i),n)}}}(e,n,s,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),g.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??mM,r=e.expectedContentTypes?.xml??mk,i=e.parseXML,s=e.serializerOptions,n={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,s)=>mU(t,r,await s(e),n,i)}}(e.deserializationOptions),{phase:"Deserialize"}),g}let mL={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function mH(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let mO=hV("core-client");class mP{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var r;let i,s;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&mO.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(t||(t=h7()),t),this.pipeline=e.pipeline||(i=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(r=e),s=r.credential&&i?{credentialScopes:i,credential:r.credential}:void 0,mT({...r,credentialOptions:s})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new u8({url:function(e,t,r,i){let s=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let s of e.urlParameters){let n=mw(t,s,r),o=mv(s);n=e.serializer.serialize(s.mapper,n,o),s.skipEncoding||(n=encodeURIComponent(n)),i.set(`{${s.mapper.serializedName||o}}`,n)}return i}(t,r,i),n=!1,o=mH(e,s);if(t.path){let e=mH(t.path,s);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(o=e,n=!0):o=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let s=t.indexOf("?");if(-1!==s){let e=t.substring(0,s),n=t.substring(s+1);i+=e,n&&(r.search=r.search?`${r.search}&${n}`:n)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(o,e)}let{queryParams:a,sequenceParams:A}=function(e,t,r){let i=new Map,s=new Set;if(e.queryParameters?.length)for(let n of e.queryParameters){"Sequence"===n.mapper.type.name&&n.mapper.serializedName&&s.add(n.mapper.serializedName);let o=mw(t,n,r);if(null!=o||n.mapper.required){o=e.serializer.serialize(n.mapper,o,mv(n));let t=n.collectionFormat?mL[n.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(e=>null==e?"":e)),"Multi"===n.collectionFormat&&0===o.length)continue;Array.isArray(o)&&("SSV"===n.collectionFormat||"TSV"===n.collectionFormat)&&(o=o.join(t)),n.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&("CSV"===n.collectionFormat||"Pipes"===n.collectionFormat)&&(o=o.join(t)),i.set(n.mapper.serializedName||mv(n),o)}}return{queryParams:i,sequenceParams:s}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let s=new URL(e),n=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),s=t.get(e);s?Array.isArray(s)?s.push(i):t.set(e,[s,i]):t.set(e,i)}return t}(s.search);for(let[e,s]of t){let t=n.get(e);if(Array.isArray(t))if(Array.isArray(s)){t.push(...s);let r=new Set(t);n.set(e,Array.from(r))}else t.push(s);else t?(Array.isArray(s)?s.unshift(t):r.has(e)&&n.set(e,[t,s]),i||n.set(e,s)):n.set(e,s)}let o=[];for(let[e,t]of n)if("string"==typeof t)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)o.push(`${e}=${r}`);else o.push(`${e}=${t}`);return s.search=o.length?`?${o.join("&")}`:"",s.toString()}(o,a,A,n)}(r,t,e,this)});i.method=t.httpMethod;let s=mR(i);s.operationSpec=t,s.operationArguments=e;let n=t.contentType||this._requestContentType;n&&t.requestBody&&i.headers.set("Content-Type",n);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(s.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),o.abortSignal&&(i.abortSignal=o.abortSignal),o.tracingOptions&&(i.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===mb&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=mh(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=mh(r,t.responses[e.statusCode]||t.responses.default);e.details=i,o?.onResponse&&o.onResponse(r,i,e)}throw e}}}let mY="authorization",mG=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,s=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),n=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,s),o=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(s);if(!o)return!1;let a=await e.getAccessToken(n,{...r,tenantId:o});return!!a&&(e.request.headers.set(mY,`${a.tokenType??"Bearer"} ${a.token}`),!0)}return!1},mz=Symbol("Original PipelineRequest"),mq=Symbol.for("@azure/core-client original request"),mV=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function mJ(e,t={}){let r=e[mz],i=u5(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new u8({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[mq]=t.originalRequest),r}}function m_(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:mW(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,s,n)=>s===mz?e:"clone"===s?()=>m_(mJ(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,s,n),set:(t,r,i,s)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&mV.has(r)&&(e[r]=i),Reflect.set(t,r,i,s))}):i}function mW(e){return new mK(e.toJSON({preserveCase:!0}))}function mj(e){return e.toLowerCase()}class mK{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[mj(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[mj(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[mj(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[mj(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[mj(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new mK(e)}}let mX=Symbol("Original FullOperationResponse");function mZ(e,t){let r=m_(e.request),i=mW(e.headers);return t?.createProxy?new Proxy(e,{get:(t,s,n)=>"headers"===s?i:"request"===s?r:s===mX?e:Reflect.get(t,s,n),set:(e,t,s,n)=>("headers"===t?i=s:"request"===t&&(r=s),Reflect.set(e,t,s,n))}):{...e,request:r,headers:i}}function m$(e){let t=e[mX],r=u5(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:mJ(e.request)}}class m0 extends mP{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===ml)||this.pipeline.addPolicy({name:ml,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:hk})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,s){r=e,i&&i(e,t,s)}};let s=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(s,"_response",{value:mZ(r)}),s}}(Y=ei||(ei={}))[Y.ERROR=1]="ERROR",Y[Y.INFO=3]="INFO",Y[Y.OFF=0]="OFF",Y[Y.WARNING=2]="WARNING";let m1={log(e,t){},shouldLog:e=>!1};class m2{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},s=null,n=e,o=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(o&&(n=o[1]+o[3],o[2])){let e=o[2].slice(1,-1);e&&(s=e)}let a=n;if(n.includes("::")){let r=n.indexOf("::");if(t=n.substring(0,r).trim(),a=n.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(a.includes(":")){let e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),i=a.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,A=i):r=a}else r=a;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),s)if(s.includes("=")){let e=s.indexOf("=");i.attrName=s.substring(0,e).trim(),i.attrValue=s.substring(e+1).trim()}else i.attrName=s.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=A}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class m3{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class m5{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new m3(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length,n=this.siblingStacks[s];n||(n={counts:new Map,total:0},this.siblingStacks[s]=n);let o=r?`${r}:${e}`:e,a=n.counts.get(o)||0,A=n.total;n.counts.set(o,a+1),n.total++;let l={tag:e,position:A,counter:a};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==i?i.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],s=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,s=!0;break}if(!s)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function m4(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function m8(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function m9(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let m6=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",m7=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",pe=(e,t,r="")=>{let i=e.replace(":",""),s=t.replace(":",""),n=`[${i}][${s}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${n}$`,r),qName:RegExp(`^${n}(?::${n})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},pt=pe(m6,m6+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),pr=pe(m7,m7+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),pi=":A-Za-z_",ps=pe(pi,pi+"\\-\\.\\d"),pn=(e="1.0",t=!1)=>t?ps:"1.1"===e?pr:pt,po=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>pn(t,r).qName.test(e),pa=["name","ncName","qName","nmToken","nmTokens"],pA=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!pa.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${pa.join(", ")}`);let s=pn(t,r)[e],n=new Map,o=e=>{let t=n.get(e);if(void 0!==t)return t;let r=s.test(e);return n.size<i&&n.set(e,r),r};return o.reset=()=>{n=new Map},o};function pl(e,t,r,i,s){return!r.sanitizeName||s(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function pc(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function pd(e,t,r,i,s){let n="";if(e&&!t.ignoreAttributes)for(let o in e){let a;if(!Object.prototype.hasOwnProperty.call(e,o))continue;let A=o.substr(t.attributeNamePrefix.length),l=r?A:pl(A,!0,t,i,s);!0===(a=r?e[o]:pg(a=t.attributeValueProcessor(o,e[o]),t))&&t.suppressBooleanAttributes?n+=` ${l}`:n+=` ${l}="${m9(a)}"`}return n}function pg(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let pu={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function ph(e){if(this.options=Object.assign({},pu,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new m2(t)):t instanceof m2&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=pI}this.processTextOrObjNode=pp,this.options.format?(this.indentate=pC,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function pm(e,t,r,i,s){return!r.sanitizeName||s(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function pp(e,t,r,i,s){let n=this.extractAttributes(e);if(i.push(t,n),this.checkStopNode(i)){let s=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(s,t,n,r)}let o=this.j2x(e,r+1,i,s);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,o.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,r,i):this.buildObjectNode(o.val,t,o.attrStr,r)}function pC(e){return this.options.indentBy.repeat(e)}function pI(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}ph.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new m2(r)):r instanceof m2&&i.push(r)}let s=pA("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===pc(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,s,n,o){let a="",A=!1;if(r.maxNestedTags&&s.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return pg(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],g=pc(d);if(void 0===g)continue;let u=g===r.textNodeName||g===r.cdataPropName||g===r.commentPropName||"?"===g[0]?g:pl(g,!1,r,s,o),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s.startsWith(t.attributeNamePrefix)?s.substr(t.attributeNamePrefix.length):s]=m9(e[s]),i=!0);return i?r:null}(d[":@"],r);s.push(u,h);let m=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(s,n);if(u===r.textNodeName){let e=d[g];m||(e=pg(e=r.tagValueProcessor(u,e),r)),A&&(a+=i),a+=e,A=!1,s.pop();continue}if(u===r.cdataPropName){A&&(a+=i);let e=m8(d[g][0][r.textNodeName]);a+=`<![CDATA[${e}]]>`,A=!1,s.pop();continue}if(u===r.commentPropName){let e=m4(d[g][0][r.textNodeName]);a+=i+`<!--${e}-->`,A=!0,s.pop();continue}else if("?"===u[0]){let e=pd(d[":@"],r,m,s,o);a+=("?xml"===u?"":i)+`<${u}${e}?>`,A=!0,s.pop();continue}let p=i;""!==p&&(p+=r.indentBy);let C=pd(d[":@"],r,m,s,o),I=i+`<${u}${C}`;c=m?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let s=0;s<t.length;s++){let n=t[s],o=pc(n);if(o===r.textNodeName)i+=n[o];else if(o===r.cdataPropName)i+=n[o][0][r.textNodeName];else if(o===r.commentPropName)i+=n[o][0][r.textNodeName];else if(o&&"?"===o[0])continue;else if(o){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=e[i];!0===s&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${m9(s)}"`}return r}(n[":@"],r),s=e(n[o],r);s&&0!==s.length?i+=`<${o}${t}>${s}</${o}>`:i+=`<${o}${t}/>`}}return i}(d[g],r):e(d[g],r,p,s,n,o),-1!==r.unpairedTags.indexOf(u)?r.suppressUnpairedNode?a+=I+">":a+=I+"/>":(!c||0===c.length)&&r.suppressEmptyNode?a+=I+"/>":c&&c.endsWith(">")?a+=I+`>${c}${i}</${u}>`:(a+=I+">",c&&""!==i&&(c.includes("/>")||c.includes("</"))?a+=i+r.indentBy+c+i:a+=c,a+=`</${u}>`),A=!0,s.pop()}return a}(e,t,r,new m5,i,s)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new m5,r=pA("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},ph.prototype.j2x=function(e,t,r,i){let s="",n="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:pm(A,!1,this.options,r,i);if(void 0===e[A])this.isAttribute(A)&&(n+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?n+="":"?"===l[0]?n+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)n+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,o)){let t=pm(c,!0,this.options,r,i);s+=this.buildAttrPairStr(t,""+e[A],a)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);n+=this.replaceEntitiesValue(t)}else{r.push(l);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[A];""===r?n+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:n+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else n+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let s=e[A].length,o="",a="";for(let c=0;c<s;c++){let s=e[A][c];if(void 0===s);else if(null===s)"?"===l[0]?n+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof s)if(this.options.oneListGroup){r.push(l);let e=this.j2x(s,t+1,r,i);r.pop(),o+=e.val,this.options.attributesGroupName&&s.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else o+=this.processTextOrObjNode(s,l,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,s);o+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+s;""===e?o+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:o+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(s,l,"",t,r)}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,a,t)),n+=o}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),n=t.length;for(let o=0;o<n;o++){let n=pm(t[o],!0,this.options,r,i);s+=this.buildAttrPairStr(n,""+e[A][t[o]],a)}}else n+=this.processTextOrObjNode(e[A],l,t,r,i)}return{attrStr:s,val:n}},ph.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+m9(t)+'"'},ph.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=m9(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=this.isAttribute(i);s&&(t[s]=m9(e[i]),r=!0)}return r?t:null},ph.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${s}/>`:t+=`<${r}${s}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),s=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${s}/>`:t+=`<${r}${s}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},ph.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,s=r[e];!0===s&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+m9(s)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let s=e[r];!0===s&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+m9(s)+'"'}}return t},ph.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let s="</"+t+this.tagEndChar,n="";return("?"===t[0]&&(n="?",s=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+n+">"+e+s:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===n.length?this.indentate(i)+`<!--${m4(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+n+this.tagEndChar+e+this.indentate(i)+s}},ph.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},ph.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},ph.prototype.buildTextValNode=function(e,t,r,i,s){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=m8(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=m4(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let s=this.options.tagValueProcessor(t,e);return""===(s=this.replaceEntitiesValue(s))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+s+"</"+t+this.tagEndChar}},ph.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let pE=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",pf=RegExp("^"+("["+pE+"]["+pE)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function pB(e,t){let r=[],i=t.exec(e);for(;i;){let s=[];s.startIndex=t.lastIndex-i[0].length;let n=i.length;for(let e=0;e<n;e++)s.push(i[e]);r.push(s),i=t.exec(e)}return r}let py=function(e){return null!=pf.exec(e)},pQ=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],pN=["__proto__","constructor","prototype"],pb={allowBooleanAttributes:!1,unpairedTags:[]};function pS(e,t){t=Object.assign({},pb,t);let r=[],i=!1,s=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let n=0;n<e.length;n++)if("<"===e[n]&&"?"===e[n+1]){if(n+=2,(n=pD(e,n)).err)return n}else if("<"===e[n]){let o=n;if("!"===e[++n]){n=px(e,n);continue}{let a=!1;"/"===e[n]&&(a=!0,n++);let A="";for(;n<e.length&&">"!==e[n]&&" "!==e[n]&&" "!==e[n]&&"\n"!==e[n]&&"\r"!==e[n];n++)A+=e[n];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),n--),!py(A))return pk("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",pU(e,n));let l=function(e,t){let r="",i="",s=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){s=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:s}}(e,n);if(!1===l)return pk("InvalidAttr","Attributes for '"+A+"' have open quote.",pU(e,n));let c=l.value;if(n=l.index,"/"===c[c.length-1]){let r=n-c.length,s=pM(c=c.substring(0,c.length-1),t);if(!0!==s)return pk(s.err.code,s.err.msg,pU(e,r+s.err.line));i=!0}else if(a)if(!l.tagClosed)return pk("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",pU(e,n));else{if(c.trim().length>0)return pk("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",pU(e,o));if(0===r.length)return pk("InvalidTag","Closing tag '"+A+"' has not been opened.",pU(e,o));let t=r.pop();if(A!==t.tagName){let r=pU(e,t.tagStartPos);return pk("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",pU(e,o))}0==r.length&&(s=!0)}else{let a=pM(c,t);if(!0!==a)return pk(a.err.code,a.err.msg,pU(e,n-c.length+a.err.line));if(!0===s)return pk("InvalidXml","Multiple possible root nodes found.",pU(e,n));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:o}),i=!0}for(n++;n<e.length;n++)if("<"===e[n])if("!"===e[n+1]){n=px(e,++n);continue}else if("?"===e[n+1]){if((n=pD(e,++n)).err)return n}else break;else if("&"===e[n]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,n);if(-1==t)return pk("InvalidChar","char '&' is not expected.",pU(e,n));n=t}else if(!0===s&&!pw(e[n]))return pk("InvalidXml","Extra text at the end",pU(e,n));"<"===e[n]&&n--}}else{if(pw(e[n]))continue;return pk("InvalidChar","char '"+e[n]+"' is not expected.",pU(e,n))}return i?1==r.length?pk("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",pU(e,r[0].tagStartPos)):!(r.length>0)||pk("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):pk("InvalidXml","Start tag expected.",1)}function pw(e){return" "===e||" "===e||"\n"===e||"\r"===e}function pD(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return pk("InvalidXml","XML declaration allowed only at the start of the document.",pU(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function px(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let pR=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function pM(e,t){let r=pB(e,pR),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return pk("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",pF(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return pk("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",pF(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return pk("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",pF(r[e]));let s=r[e][2];if(!py(s))return pk("InvalidAttr","Attribute '"+s+"' is an invalid name.",pF(r[e]));if(Object.prototype.hasOwnProperty.call(i,s))return pk("InvalidAttr","Attribute '"+s+"' is repeated.",pF(r[e]));i[s]=1}return!0}function pk(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function pU(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function pF(e){return e.startIndex+e[1].length}let pv=e=>pQ.includes(e)?"__"+e:e,pT={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:pv},pL=function(e){let t=Object.assign({},pT,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(pQ.some(e=>r===e.toLowerCase())||pN.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=pv),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};r="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class pH{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][r]={startIndex:t})}static getMetaDataSymbol(){return r}}class pO{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let s=1,n=!1,o=!1;for(;t<e.length;t++)if("<"!==e[t]||o)if(">"===e[t]){if(o?"-"===e[t-1]&&"-"===e[t-2]&&(o=!1,s--):s--,0===s)break}else"["===e[t]?n=!0:e[t];else{if(n&&pY(e,"!ENTITY",t)){let s,n;if(t+=7,[s,n,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===n.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[s]=n,i++}}else if(n&&pY(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(n&&pY(e,"!ATTLIST",t))t+=8;else if(n&&pY(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(pY(e,"!--",t))o=!0;else throw Error("Invalid DOCTYPE");s++}if(0!==s)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=pP(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(pG(i,{xmlVersion:this.xmlVersion}),t=pP(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let s="";if([t,s]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&s.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,s,--t]}readNotationExp(e,t){let r=t=pP(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||pG(i,{xmlVersion:this.xmlVersion}),t=pP(e,t);let s=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==s&&"PUBLIC"!==s)throw Error(`Expected SYSTEM or PUBLIC, found "${s}"`);t+=s.length,t=pP(e,t);let n=null,o=null;if("PUBLIC"===s)[t,n]=this.readIdentifierVal(e,t,"publicIdentifier"),t=pP(e,t),('"'===e[t]||"'"===e[t])&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===s&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!o))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:n,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let i="",s=e[t];if('"'!==s&&"'"!==s)throw Error(`Expected quoted string, found "${s}"`);let n=++t;for(;t<e.length&&e[t]!==s;)t++;if(i=e.substring(n,t),e[t]!==s)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=pP(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!po(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=pP(e,t);let s="";if("E"===e[t]&&pY(e,"MPTY",t))t+=4;else if("A"===e[t]&&pY(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(s=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:s.trim(),index:t}}readAttlistExp(e,t){let r=t=pP(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(pG(i,{xmlVersion:this.xmlVersion}),r=t=pP(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let s=e.substring(r,t);if(!pG(s,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${s}"`);t=pP(e,t);let n="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(n="NOTATION",t+=8,t=pP(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let s=e.substring(i,t);if(!pG(s=s.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${s}"`);r.push(s),"|"===e[t]&&(t=pP(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,n+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(n+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(n.toUpperCase()))throw Error(`Invalid attribute type: "${n}"`)}t=pP(e,t);let o="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(o="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(o="#IMPLIED",t+=7):[t,o]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:s,attributeType:n,defaultValue:o,index:t}}}let pP=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function pY(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function pG(e,t){if(po(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let pz=new Map,pq=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?pq[r-1632]=t:pz.set(r,t)}let pV=new Set([8722,65293,65123]),pJ=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let s=e.charCodeAt(i);if((!(s>=48)||!(s<=57))&&45!==s){if(s<1632){if(pV.has(s)){r=i;break}continue}if(s>=55296&&s<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(s-55296<<10)+(t-56320);if(pz.has(e)){r=i;break}}}continue}if(255!==pq[s-1632]||pV.has(s)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let s=r;s<t;s++){let r=e.charCodeAt(s);if(r>=48&&r<=57||45===r){i.push(e[s]);continue}if(r<1632){i.push(pV.has(r)?"-":e[s]);continue}if(r>=55296&&r<=56319){if(s+1<t){let t=e.charCodeAt(s+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),n=pz.get(e);if(void 0!==n){i.push(String.fromCharCode(n+48)),s++;continue}}}i.push(e[s]);continue}if(pV.has(r)){i.push("-");continue}let n=pq[r-1632];i.push(255!==n?String.fromCharCode(n+48):e[s])}return i.join("")},p_=/^[-+]?0x[a-fA-F0-9]+$/,pW=/^0b[01]+$/,pj=/^0o[0-7]+$/,pK=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,pX={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},pZ=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function p$(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class p0{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,s=this._byDepthAndTag.get(i);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let n=this._wildcardByDepth.get(t);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++)if(e.matches(o[t]))return o[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let p1={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},p2={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},p3={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},p5=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),p4=new Set("!?\\\\/[]$%{}^&*()<>|+");function p8(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(p4.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function p9(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let p6="external",p7="base",Ce=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Ct=new Set([9,10,13]);class Cr{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??p6)&&t!==p6?"all"===t?["all"]:t===p7?[p7]:Array.isArray(t)?t:[p6]:[p6]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=p9(p2,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:Ce.allow,nullLevel:Ce.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:Ce[e.onNCR]??Ce.allow,nullLevel:Math.max(Ce[e.nullNCR]??Ce.remove,Ce.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let s=e(t,r);if(s===p5.BLOCK)return!1;if(s===p5.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))p8(t);if(!this._onExternalEntity){this._externalMap=p9(e);return}let t=p9(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){p8(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=p9(e);return}let t=p9(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,s=0,n=this._maxTotalExpansions>0,o=this._maxExpandedLength>0,a=n||o;for(;s<r;){let A,l;if(38!==e.charCodeAt(s)){s++;continue}let c=s+1;for(;c<r&&59!==e.charCodeAt(c)&&c-s<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){s++;continue}let d=e.slice(s+1,c);if(0===d.length){s++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=p6);else if(this._leaveSet.has(d)){s++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){s++;continue}A=e,l=p7}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){s++;continue}if(s>i&&t.push(e.slice(i,s)),t.push(A),s=i=c+1,a&&this._tierCounts(l)){if(n&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(o){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:p6}:e in this._externalMap?{value:this._externalMap[e],tier:p6}:e in this._baseMap?{value:this._baseMap[e],tier:p7}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!Ct.has(e)?Ce.remove:-1}_applyNCRAction(e,t,r){switch(e){case Ce.allow:return String.fromCodePoint(r);case Ce.remove:return"";case Ce.leave:return;case Ce.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<Ce.remove)return;let s=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(s,e,t)}}let Ci=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],Cs=[...Ci,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],Cn=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],Co=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],Ca=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],CA=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],Cl=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],Cc="[\"'\\s]*:",Cd=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${Cc}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${Cc}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${Cc}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${Cc}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${Cc}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${Cc}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${Cc}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${Cc}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${Cc}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${Cc}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${Cc}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${Cc}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${Cc}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],Cg=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];Cn.label="HTML",Co.label="XML",Ca.label="SVG",Ci.label="SQL",Cs.label="SQL-STRICT",CA.label="SHELL",Cl.label="REDOS",Cd.label="NOSQL",Cg.label="LOG",Object.freeze({HTML:Cn,XML:Co,SVG:Ca,SQL:Ci,"SQL-STRICT":Cs,SHELL:CA,REDOS:Cl,NOSQL:Cd,LOG:Cg});class Cu{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=CI,this.parseTextData=Ch,this.resolveNameSpace=Cm,this.buildAttributesMap=CC,this.isItStopNode=Cy,this.replaceEntitiesValue=Cf,this.readStopNodeData=Cb,this.saveTextToParentTag=CB,this.addChild=CE,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...p2};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...p3,...p1}),this.entityDecoder=new Cr({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[Cn,Co])?p5.ALLOW:p5.BLOCK})),this.matcher=new m5,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new p0;let s=this.options.stopNodes;if(s&&s.length>0){for(let e=0;e<s.length;e++){let t=s[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new m2(t)):t instanceof m2&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function Ch(e,t,r,i,s,n,o){let a=this.options;if(void 0!==e&&(a.trimValues&&!i&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,r));let i=a.jPath?r.toString():r,A=a.tagValueProcessor(t,e,i,s,n);return null==A?e:typeof A!=typeof e||A!==e?A:a.trimValues||e.trim()===e?CS(e,a.parseTagValue,a.numberParseOptions):e}}function Cm(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let Cp=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function CC(e,t,r,i=!1){let s=this.options;if(!0===i||!0!==s.ignoreAttributes&&"string"==typeof e){let i=pB(e,Cp),n=i.length,o={},a=Array(n),A=!1,l={};for(let e=0;e<n;e++){let t=this.resolveNameSpace(i[e][1]),n=i[e][4];if(t.length&&void 0!==n){let i=n;s.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),a[e]=i,l[t]=i,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=s.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<n;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=s.attributeNamePrefix+t;if(t.length)if(s.transformAttributeName&&(r=s.transformAttributeName(r)),r=CD(r,s),void 0!==i[e][4]){let i=a[e],n=s.attributeValueProcessor(t,i,c);null==n?o[r]=i:typeof n!=typeof i||n!==i?o[r]=n:o[r]=CS(i,s.parseAttributeValue,s.numberParseOptions),d=!0}else s.allowBooleanAttributes&&(o[r]=!0,d=!0)}if(!d)return;if(s.attributesGroupName&&!s.preserveOrder){let e={};return e[s.attributesGroupName]=o,e}return o}}let CI=function(e){e=e.replace(/\r\n?/g,"\n");let t=new pH("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let s=this.options,n=new pO(s.processEntities),o=e.length;for(let a=0;a<o;a++)if("<"===e[a]){let A=e.charCodeAt(a+1);if(47===A){let t=CQ(e,">",a,"Closing Tag is not closed."),n=e.substring(a+2,t).trim();if(s.removeNSPrefix){let e=n.indexOf(":");-1!==e&&(n=n.substr(e+1))}n=Cw(s.transformTagName,n,"",s).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(n&&s.unpairedTagsSet.has(n))throw Error(`Unpaired tag can not be used as closing tag: </${n}>`);o&&s.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",a=t}else if(63===A){let t=CN(e,a,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),n.setXmlVersion(Number(e)||1)}if(s.ignoreDeclaration&&"?xml"===t.tagName||s.ignorePiTags);else{let e=new pH(t.tagName);e.add(s.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==s.ignoreAttributes&&(e[":@"]=o),this.addChild(r,e,this.readonlyMatcher,a)}a=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(a+2)&&45===e.charCodeAt(a+3)){let t=CQ(e,"--\x3e",a+4,"Comment is not closed.");if(s.commentPropName){let n=e.substring(a+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:n}])}a=t}else if(33===A&&68===e.charCodeAt(a+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=n.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities),a=t.i}else if(33===A&&91===e.charCodeAt(a+2)){let t=CQ(e,"]]>",a,"CDATA is not closed.")-2,n=e.substring(a+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.parseTextData(n,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==o&&(o=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:n}]):r.add(s.textNodeName,o),a=t+2}else{let n,A=CN(e,a,s.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,g=A.attrExpPresent,u=A.closeIndex;if({tagName:l,tagExp:d}=Cw(s.transformTagName,l,d,s),s.strictReservedNames&&(l===s.commentPropName||l===s.cdataPropName||l===s.textNodeName||l===s.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&s.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(m=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),g=l!==d);let p=null;n=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},n),l!==d&&g&&(p=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(p,s),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let C=a;if(this.isCurrentNodeStopNode){let t="";if(m)a=A.closeIndex;else if(s.unpairedTagsSet.has(l))a=A.closeIndex;else{let r=this.readStopNodeData(e,c,u+1);if(!r)throw Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}let i=new pH(l);p&&(i[":@"]=p),i.add(s.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,C)}else{if(m){({tagName:l,tagExp:d}=Cw(s.transformTagName,l,d,s));let e=new pH(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(l)){let e=new pH(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let e=new pH(l);if(this.tagsNodeStack.length>s.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),r=e}i="",a=u}}}else i+=e[a];return t.child};function CE(e,t,r,i){this.options.captureMetaData||(i=void 0);let s=this.options.jPath?r.toString():r,n=this.options.updateTag(t.tagname,s,t[":@"]);!1===n||("string"==typeof n&&(t.tagname=n),e.addChild(t,i))}function Cf(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let s=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,s)))return e}if(i.tagFilter){let s=this.options.jPath?r.toString():r;if(!i.tagFilter(t,s))return e}return this.entityDecoder.decode(e)}function CB(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function Cy(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function CQ(e,t,r,i){let s=e.indexOf(t,r);if(-1!==s)return s+t.length-1;throw Error(i)}function CN(e,t,r,i=">"){let s=function(e,t,r=">"){let i=0,s=e.length,n=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",A=t;for(let r=t;r<s;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===n){if(-1===o)return{data:a+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===o)return{data:a+=e.substring(A,r),index:r}}else 9!==t||i||(a+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,i);if(!s)return;let n=s.data,o=s.index,a=n.search(/\s/),A=n,l=!0;-1!==a&&(A=n.substring(0,a),n=n.substring(a+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==s.data.substr(e+1))}return{tagName:A,tagExp:n,closeIndex:o,attrExpPresent:l,rawTagName:c}}function Cb(e,t,r){let i=r,s=1,n=e.length;for(;r<n;r++)if("<"===e[r]){let n=e.charCodeAt(r+1);if(47===n){let n=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,n).trim()===t&&0==--s)return{tagContent:e.substring(i,r),i:n};r=n}else if(63===n)r=CQ(e,"?>",r+1,"StopNode is not closed.");else if(33===n&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=CQ(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===n&&91===e.charCodeAt(r+2))r=CQ(e,"]]>",r,"StopNode is not closed.")-2;else{let i=CN(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&s++,r=i.closeIndex)}}}function CS(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},pX,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=pJ(r)))return 0;if(t.hex&&p_.test(r))return p$(r,16);{if(t.binary&&pW.test(r))return p$(r,2);if(t.octal&&pj.test(r))return p$(r,8);if(!isFinite(r)){var i,s=e,n=Number(r),o=t;switch(o.infinity.toLowerCase()){case"null":return null;case"infinity":return n;case"string":return n===1/0?"Infinity":"-Infinity";default:return s}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(pZ);if(!i)return e;{let s=i[1]||"",n=-1===i[3].indexOf("e")?"E":"e",o=i[2],a=s?e[o.length+1]===n:e[o.length]===n;if(o.length>1&&a)return e;if(1===o.length&&(i[3].startsWith(`.${n}`)||i[3][0]===n))return Number(t);if(!(o.length>0))return Number(t);else if(r.leadingZeros&&!a)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let a=pK.exec(r);if(!a)return e;{let s=a[1]||"",n=a[2],o=((i=a[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),A=s?"."===e[n.length+1]:"."===e[n.length];if(!t.leadingZeros&&(n.length>1||1===n.length&&!A))return e;{let i=Number(r),a=String(i);if(0===i)return i;if(-1!==a.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===a)return i;else if(a===o)return i;else if(a===`${s}${o}`)return i;else return e;let A=n?o:r;return n?A===a||s+A===a?i:e:A===a||A===s+a?i:e}}}}(e,r)}return void 0!==e?e:""}function Cw(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=CD(t,i),tagExp:r}}function CD(e,t){if(pN.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return pQ.includes(e)?t.onDangerousProperty(e):e}let Cx=pH.getMetaDataSymbol();class CR{constructor(e){this.externalEntities={},this.options=pL(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=pS(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new Cu(this.options,this.externalEntities),s=i.parseXml(e);return this.options.preserveOrder||void 0===s?s:(r=this.options,function e(t,r,i,s){let n,o={};for(let a=0;a<t.length;a++){let A=t[a],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(A[":@"]||{},r.attributeNamePrefix);i.push(l,e)}if(l===r.textNodeName)void 0===n?n=A[l]:n+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,i,s),n=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,i){if(t){let s=Object.keys(t),n=s.length;for(let o=0;o<n;o++){let n=s[o],a=n.startsWith(i.attributeNamePrefix)?n.substring(i.attributeNamePrefix.length):n,A=i.jPath?r.toString()+"."+a:r;i.isArray(n,A,!0,!0)?e[n]=[t[n]]:e[n]=t[n]}}}(t,A[":@"],s,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[Cx]&&"object"==typeof t&&null!==t&&(t[Cx]=A[Cx]),void 0!==o[l]&&Object.prototype.hasOwnProperty.call(o,l))Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(t);else{let e=r.jPath?s.toString():s;r.isArray(l,e,n)?o[l]=[t]:o[l]=t}void 0!==l&&l!==r.textNodeName&&i.pop()}}return"string"==typeof n?n.length>0&&(o[r.textNodeName]=n):void 0!==n&&(o[r.textNodeName]=n),o}(s,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return pH.getMetaDataSymbol()}}function CM(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function Ck(e,t={}){let r=function(e={}){return{...CM(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new ph(r),s={[r.rootNodeName]:e},n=i.build(s);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n}`.replace(/\n/g,"")}async function CU(e,t={}){if(!e)throw Error("Document is empty");let r=pS(e);if(!0!==r)throw r;let i=new CR(function(e={}){return{...CM(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let CF=hV("storage-blob");var Cv=o(4434);class CT extends ul.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,n=Math.min(s,i);if(n>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+n;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),n===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=n,r+=n}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let CL=o(4573).constants.MAX_LENGTH;class CH{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/CL);for(let t=0;t<i;t++){let r=t===i-1?e%CL:CL;0===r&&(r=CL),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,s=0,n=0,o=0;for(;o<this._size;){let t=e[r],a=this.buffers[i],A=t.copy(a,s,n);o+=A,n+=A,s+=A,n===t.length&&(r++,n=0),s===a.length&&(i++,s=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(n))}getReadableStream(){return new CT(this.buffers,this.size)}}class CO{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new Cv.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,s,n){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(s<=0)throw RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=n}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new CH(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let CP=i("node:module");var CY=o(6760),CG=o(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(s=(0,CP.createRequire)(import.meta.url),n=(0,CG.fileURLToPath)(import.meta.url),a=(0,CY.dirname)(n));var Cz=(G="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==n&&(G=G||n),function(e){var t,r,i,n,o,A,l,c,d,g,u=void 0!==(e=e||{})?e:{};u.ready=new Promise(function(e,t){i=e,n=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(u.ready,e)||Object.defineProperty(u.ready,e,{get:()=>q("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>q("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var h=Object.assign({},u),m=[],p="object"==typeof window,C="function"==typeof importScripts,I="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,E=!p&&!I&&!C;if(u.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var f="";if(I){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var B=s("fs"),y=s("path");f=C?y.dirname(f)+"/":a+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),m=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof j))throw e}),process.on("unhandledRejection",function(e){throw e}),u.inspect=function(){return"[Emscripten Module object]"}}else if(E){if("object"==typeof process&&"function"==typeof s||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?m=scriptArgs:"u">typeof arguments&&(m=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(p||C){if(C?f=self.location.href:"u">typeof document&&document.currentScript&&(f=document.currentScript.src),G&&(f=G),f=0!==f.indexOf("blob:")?f.substr(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var Q=u.print||console.log.bind(console),N=u.printErr||console.warn.bind(console);function b(e,t){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){q("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function S(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(u,h),h=null,Object.getOwnPropertyDescriptor(u,t="fetchSettings")&&q("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),u.arguments&&(m=u.arguments),b("arguments","arguments_"),u.thisProgram&&u.thisProgram,b("thisProgram","thisProgram"),u.quit&&u.quit,b("quit","quit_"),D(void 0===u.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.read,"Module.read option was removed (modify read_ in JS)"),D(void 0===u.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),D(void 0===u.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),D(void 0===u.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),D(void 0===u.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),b("read","read_"),b("readAsync","readAsync"),b("readBinary","readBinary"),b("setWindowTitle","setWindowTitle"),D(!E,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),u.wasmBinary&&u.wasmBinary,b("wasmBinary","wasmBinary"),u.noExitRuntime,b("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&q("no native wasm support detected");var w=!1;function D(e,t){e||q("Assertion failed"+(t?": "+t:""))}var x="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(e){A=e,u.HEAP8=new Int8Array(e),u.HEAP16=new Int16Array(e),u.HEAP32=new Int32Array(e),u.HEAPU8=l=new Uint8Array(e),u.HEAPU16=new Uint16Array(e),u.HEAPU32=c=new Uint32Array(e),u.HEAPF32=new Float32Array(e),u.HEAPF64=new Float64Array(e)}u.STACK_SIZE&&D(5242880===u.STACK_SIZE,"the stack size can no longer be determined at runtime");var M=u.INITIAL_MEMORY||0x1000000;function k(){if(!w){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&q("Stack overflow! Stack cookie has been overwritten at "+X(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+X(r)+" "+X(t)),0x63736d65!==c[0]&&q("Runtime error: The application has corrupted its heap memory area (address zero)!")}}b("INITIAL_MEMORY","INITIAL_MEMORY"),D(M>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+M+"! (STACK_SIZE=5242880)"),D("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),D(!u.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),D(0x1000000==M,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var U=new Int16Array(1),F=new Int8Array(U.buffer);if(U[0]=25459,115!==F[0]||99!==F[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var v=[],T=[],L=[],H=!1;D(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var O=0,P=null,Y=null,z={};function q(e){u.onAbort&&u.onAbort(e),N(e="Aborted("+e+")"),w=!0;var t=new WebAssembly.RuntimeError(e);throw n(t),t}var V={error:function(){q("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){V.error()},createDataFile:function(){V.error()},createPreloadedFile:function(){V.error()},createLazyFile:function(){V.error()},open:function(){V.error()},mkdev:function(){V.error()},registerDevice:function(){V.error()},analyzePath:function(){V.error()},loadFilesFromDB:function(){V.error()},ErrnoError:function(){V.error()}};function J(e){return e.startsWith("file://")}function _(e,t){return function(){var r=t;return t||(r=u.asm),D(H,"native function `"+e+"` called before runtime initialization"),r[e]||D(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}u.FS_createDataFile=V.createDataFile,u.FS_createPreloadedFile=V.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=u.locateFile?u.locateFile(r,f):f+r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iADQRBqIQQLA0AgBCEFIAIiBkEUaiIEKAIAIgINACAGQRBqIQQgBigCECICDQALIAVBADYCAAwCCyADIAJBfnE2AgQgASAAQQFyNgIEIAEgAGogADYCAAwDC0EAIQYLIAdFDQACQAJAIAMgAygCHCIEQQJ0QciUwQJqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBFGooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEAIAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQAgBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBAmohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZBBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNgIMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBfyAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAAKAI8EBUQAgsVAAJAIAANAEEADwsQDyAANgIAQX8L4wIBB38jAEEgayIDJAAgAyAAKAIcIgQ2Ah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AAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function j(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function K(e){for(;e.length>0;)e.shift()(u)}function X(e){return"0x"+e.toString(16).padStart(8,"0")}function Z(e){Z.shown||(Z.shown={}),Z.shown[e]||(Z.shown[e]=1,I&&(e="warning: "+e),N(e))}var $=[null,[],[]],ee={abort:function(){q("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(D((e>>>=0)>t),e>0x80000000)return N("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var s=t*(1+.2/i);s=Math.min(s,e+0x6000000);var n=Math.min(0x80000000,r(Math.max(e,s),65536));if(function(e){try{return o.grow(e-A.byteLength+65535>>>16),R(o.buffer),1}catch(t){N("emscripten_realloc_buffer: Attempted to grow heap from "+A.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(n))return!0}return N("Failed to grow the heap from "+t+" bytes to "+n+" bytes, not enough memory!"),!1},fd_close:function(e){q("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,s){return 70},fd_write:function(e,t,r,i){for(var s=0,n=0;n<r;n++){var o=c[t>>2],a=c[t+4>>2];t+=8;for(var A=0;A<a;A++)!function(e,t){var r=$[e];D(r),0===t||10===t?((1===e?Q:N)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&x)return x.decode(e.subarray(t,i));for(var s="";t<i;){var n=e[t++];if(!(128&n)){s+=String.fromCharCode(n);continue}var o=63&e[t++];if((224&n)==192){s+=String.fromCharCode((31&n)<<6|o);continue}var a=63&e[t++];if((240&n)==224?n=(15&n)<<12|o<<6|a:((248&n)!=240&&Z("Invalid UTF-8 leading byte "+X(n)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),n=(7&n)<<18|o<<12|a<<6|63&e[t++]),n<65536)s+=String.fromCharCode(n);else{var A=n-65536;s+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return s}(r,0)),r.length=0):r.push(t)}(e,l[o+A]);s+=a}return c[i>>2]=s,0}};!function(){var e,t,r={env:ee,wasi_snapshot_preview1:ee};function i(e,t){u.asm=e.exports,D(o=u.asm.memory,"memory not found in wasm exports"),R(o.buffer),D(u.asm.__indirect_function_table,"table not found in wasm exports"),r=u.asm.__wasm_call_ctors,T.unshift(r);var r,i="wasm-instantiate";if(O--,u.monitorRunDependencies&&u.monitorRunDependencies(O),i?(D(z[i]),delete z[i]):N("warning: run dependency removed without ID"),0==O&&(null!==P&&(clearInterval(P),P=null),Y)){var s=Y;Y=null,s()}}e="wasm-instantiate",O++,u.monitorRunDependencies&&u.monitorRunDependencies(O),e?(D(!z[e]),z[e]=1,null===P&&"u">typeof setInterval&&(P=setInterval(function(){if(w){clearInterval(P),P=null;return}var e=!1;for(var t in z)e||(e=!0,N("still waiting on run dependencies:")),N("dependency: "+t);e&&N("(end of list)")},1e4))):N("warning: run dependency added without ID");var s=u;if(u.instantiateWasm)try{return u.instantiateWasm(r,i)}catch(e){N("Module.instantiateWasm callback failed with error: "+e),n(e)}(t=function(e){D(u===s,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),s=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(W,"base64");for(var e=window.atob(W),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){N("failed to asynchronously prepare wasm: "+e),J(d)&&N("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),q(e)})).catch(n)}(),u.___wasm_call_ctors=_("__wasm_call_ctors");var et=u._emscripten_bind_VoidPtr___destroy___0=_("emscripten_bind_VoidPtr___destroy___0"),er=u._emscripten_bind_Crc64Hash_Crc64Hash_0=_("emscripten_bind_Crc64Hash_Crc64Hash_0"),ei=u._emscripten_bind_Crc64Hash_OnAppend_2=_("emscripten_bind_Crc64Hash_OnAppend_2"),es=u._emscripten_bind_Crc64Hash_OnFinal_3=_("emscripten_bind_Crc64Hash_OnFinal_3"),en=u._emscripten_bind_Crc64Hash___destroy___0=_("emscripten_bind_Crc64Hash___destroy___0");u.___errno_location=_("__errno_location"),u._fflush=_("fflush"),u._malloc=_("malloc"),u._free=_("free");var eo=u._emscripten_stack_init=function(){return(eo=u._emscripten_stack_init=u.asm.emscripten_stack_init).apply(null,arguments)},ea=(u._emscripten_stack_get_free=function(){return(u._emscripten_stack_get_free=u.asm.emscripten_stack_get_free).apply(null,arguments)},u._emscripten_stack_get_base=function(){return(u._emscripten_stack_get_base=u.asm.emscripten_stack_get_base).apply(null,arguments)},u._emscripten_stack_get_end=function(){return(ea=u._emscripten_stack_get_end=u.asm.emscripten_stack_get_end).apply(null,arguments)});function eA(e){var t,r;if(e=e||m,!(O>0)){if(eo(),D((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,u.preRun)for("function"==typeof u.preRun&&(u.preRun=[u.preRun]);u.preRun.length;){r=u.preRun.shift(),v.unshift(r)}K(v),O>0||(u.setStatus?(u.setStatus("Running..."),setTimeout(function(){setTimeout(function(){u.setStatus("")},1),s()},1)):s(),k())}function s(){if(!g&&(g=!0,u.calledRun=!0,!w)){if(D(!H),H=!0,k(),K(T),i(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),D(!u._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),k(),u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;){var e;e=u.postRun.shift(),L.unshift(e)}K(L)}}}if(u.stackSave=_("stackSave"),u.stackRestore=_("stackRestore"),u.stackAlloc=_("stackAlloc"),u._emscripten_stack_get_current=function(){return(u._emscripten_stack_get_current=u.asm.emscripten_stack_get_current).apply(null,arguments)},u.dynCall_jiji=_("dynCall_jiji"),u.___start_em_js=5261488,u.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),q(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),Z(t)}})}),Y=function e(){g||eA(),g||(Y=e)},u.preInit)for("function"==typeof u.preInit&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();function el(){}function ec(e){return(e||el).__cache__}function ed(e,t){var r=ec(t),i=r[e];return i||((i=Object.create((t||el).prototype)).ptr=e,r[e]=i)}function eg(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=er(),ec(eu)[this.ptr]=this}return eA(),el.prototype=Object.create(el.prototype),el.prototype.constructor=el,el.prototype.__class__=el,el.__cache__={},u.WrapperObject=el,u.getCache=ec,u.wrapPointer=ed,u.castObject=function(e,t){return ed(e.ptr,t)},u.NULL=ed(0),u.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ec(e.__class__)[e.ptr]},u.compare=function(e,t){return e.ptr===t.ptr},u.getPointer=function(e){return e.ptr},u.getClass=function(e){return e.__class__},eg.prototype=Object.create(el.prototype),eg.prototype.constructor=eg,eg.prototype.__class__=eg,eg.__cache__={},u.VoidPtr=eg,eg.prototype.__destroy__=eg.prototype.__destroy__=function(){et(this.ptr)},eu.prototype=Object.create(el.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},u.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),ei(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),es(i,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){en(this.ptr)},e.ready});class Cq{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new Cq.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=Cz().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=Cq.nativeInstance._malloc(t);Cq.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),Cq.nativeInstance._free(r)}final(e,t){let r=Cq.nativeInstance._malloc(t);Cq.nativeInstance.HEAPU8.set(e,r);let i=Cq.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),Cq.nativeInstance._free(r);let s=new Uint8Array(8);return s.set(Cq.nativeInstance.HEAPU8.subarray(i,i+8)),Cq.nativeInstance._free(i),s}}(z=es||(es={}))[z.StreamHeader=0]="StreamHeader",z[z.StreamFooter=1]="StreamFooter",z[z.SegmentHeader=2]="SegmentHeader",z[z.SegmentFooter=3]="SegmentFooter",z[z.SegmentContent=4]="SegmentContent",z[z.Completed=5]="Completed";class CV{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=es.StreamHeader,this.segmentCrc64=new Cq,this.messageCrc64=new Cq}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===es.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===es.SegmentHeader&&this.handlingSegmentHeader(),this.state===es.SegmentContent&&this.handlingSegmentContent(e),this.state===es.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===es.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=es.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=es.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=es.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new Cq,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=es.StreamFooter:this.state=es.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=es.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function CJ(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof ul&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new Cj(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new Cj(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await CW(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new ul.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new Cj(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=ul.Readable.from(Buffer.from(e)),i=await new Cj(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=ul.Readable.from(e),i=await new Cj(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=ul.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new Cj(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function C_(e,t,r){let{done:i,value:s}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(s))}async function CW(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),s=new Response(new ReadableStream({start(e){r=new CV(t=>{e.enqueue(t)},t)},pull(e){C_(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await s.blob(),encodedContentLength:r.messageLength}}class Cj extends ul.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new CV(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new h$("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(q=en||(en={}))[q.StreamHeader=0]="StreamHeader",q[q.StreamFooter=1]="StreamFooter",q[q.SegmentHeader=2]="SegmentHeader",q[q.SegmentFooter=3]="SegmentFooter",q[q.SegmentContent=4]="SegmentContent";class CK{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=en.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new Cq,this.messageCrc64=new Cq}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===en.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===en.SegmentHeader&&this.parseSegmentHeader(e),this.state===en.SegmentContent&&this.parseSegmentContent(e),this.state===en.SegmentFooter&&this.parseSegmentFooter(e);this.state===en.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=en.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=en.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=en.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=en.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new Cq,this.state=en.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class CX extends ul.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new CK(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new h$("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class CZ{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class C$ extends CZ{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class C0{create(e,t){return new C$(e,t)}}class C1 extends CZ{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class C2 extends C1{constructor(e,t){super(e,t)}}class C3{create(e,t){throw Error("Method should be implemented in children classes.")}}class C5 extends C3{create(e,t){return new C2(e,t)}}let C4="timeout",C8="Authorization",C9="Content-Encoding",C6="Content-Language",C7="Content-Length",Ie="Content-Md5",It="Content-Type",Ir="date",Ii="if-match",Is="if-modified-since",In="if-none-match",Io="if-unmodified-since",Ia="x-ms-",IA="Range",Il="x-ms-date",Ic="x-ms-copy-source-error-code";function Id(e,t,r){let i=new URL(e),s=encodeURIComponent(t),n=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==s&&a.push(e)}return n&&a.push(`${s}=${n}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function Ig(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function Iu(e){try{return new URL(e).pathname}catch(e){return}}function Ih(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],s=t[1];i[r]=s}return i}async function Im(e,t,r){return new Promise((i,s)=>{let n,o=()=>{void 0!==n&&clearTimeout(n),s(r)};n=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",o),i()},e),void 0!==t&&t.addEventListener("abort",o)})}let Ip=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),IC=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),II=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function IE(e,t){return!function(e,t){let r=[Ip,IC,II],i=0,s=0,n=0;for(;i<r.length;){if(i===r.length-1&&s!==n)return s>n;let o=s<e.length?r[i][e[s].charCodeAt(0)]:1,a=n<t.length?r[i][t[n].charCodeAt(0)]:1;if(1===o&&1===a)s=0,n=0,++i;else if(o===a)++s,++n;else if(0===o)++s;else{if(0!==a)return o<a;++n}}return!1}(e,t)?1:-1}class If extends C1{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(Il,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(C7,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,C6),this.getHeaderValueToSign(e,C9),this.getHeaderValueToSign(e,C7),this.getHeaderValueToSign(e,Ie),this.getHeaderValueToSign(e,It),this.getHeaderValueToSign(e,Ir),this.getHeaderValueToSign(e,Is),this.getHeaderValueToSign(e,Ii),this.getHeaderValueToSign(e,In),this.getHeaderValueToSign(e,Io),this.getHeaderValueToSign(e,IA)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(C8,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==C7||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(Ia));t.sort((e,t)=>IE(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}getCanonicalizedResourceString(e){let t=Iu(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=Ih(e.url),s={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();s[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` -${t}:${decodeURIComponent(s[t])}`}return r}}class IB extends C3{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new If(e,t,this)}computeHMACSHA256(e){return(0,uw.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let Iy=hV("storage-common");(V=eo||(eo={}))[V.EXPONENTIAL=0]="EXPONENTIAL",V[V.FIXED=1]="FIXED";let IQ={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},IN=new h$("The operation was aborted.");class Ib extends CZ{retryOptions;constructor(e,t,r=IQ){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:IQ.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):IQ.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:IQ.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:IQ.maxRetryDelayInMs):IQ.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:IQ.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:IQ.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,s=e.clone(),n=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;n||(s.url=Ig(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=Id(s.url,C4,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(Iy.info(`RetryPolicy: =====> Try=${r} ${n?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(s),!this.shouldRetry(n,r,i))return i;t=t||!n&&404===i.status}catch(e){if(Iy.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(n,r,i,e))throw e}return await this.delay(n,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return Iy.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return Iy.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return Iy.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return Iy.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(Ic);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(Iy.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case eo.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case eo.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return Iy.info(`RetryPolicy: Delay for ${i}ms`),Im(i,r,IN)}}class IS{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new Ib(e,t,this.retryOptions)}}let Iw={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},ID=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Ix=new h$("The operation was aborted.");class IR{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,uw.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let IM="12.33.0",Ik="2026-06-06",IU="snapshot",IF="versionid",Iv=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],IT=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],IL=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function IH(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class IO{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function IP(e,t={}){e||(e=new C5);let r=new IO([],t);return r._credential=e,r}function IY(e){if(e._credential)return e._credential;let t=new C5;for(let r of e.factories)if(mA(r.credential))t=r.credential;else if(IG(r))return r;return t}function IG(e){return e instanceof IB||"StorageSharedKeyCredential"===e.constructor.name}function Iz(e){return e instanceof C5||"AnonymousCredential"===e.constructor.name}function Iq(e){return mA(e.credential)}function IV(e){return e instanceof C0||"StorageBrowserPolicyFactory"===e.constructor.name}function IJ(e){return e instanceof IS||"StorageRetryPolicyFactory"===e.constructor.name}function I_(e){return"TelemetryPolicyFactory"===e.constructor.name}function IW(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(ea||(ea={})).AES256="AES256",(eA||(eA={})).Backup="backup",(J=el||(el={})).NeverExpire="NeverExpire",J.RelativeToCreation="RelativeToCreation",J.RelativeToNow="RelativeToNow",J.Absolute="Absolute",(_=ec||(ec={})).AccountAlreadyExists="AccountAlreadyExists",_.AccountBeingCreated="AccountBeingCreated",_.AccountIsDisabled="AccountIsDisabled",_.AuthenticationFailed="AuthenticationFailed",_.AuthorizationFailure="AuthorizationFailure",_.ConditionHeadersNotSupported="ConditionHeadersNotSupported",_.ConditionNotMet="ConditionNotMet",_.EmptyMetadataKey="EmptyMetadataKey",_.InsufficientAccountPermissions="InsufficientAccountPermissions",_.InternalError="InternalError",_.InvalidAuthenticationInfo="InvalidAuthenticationInfo",_.InvalidHeaderValue="InvalidHeaderValue",_.InvalidHttpVerb="InvalidHttpVerb",_.InvalidInput="InvalidInput",_.InvalidMd5="InvalidMd5",_.InvalidMetadata="InvalidMetadata",_.InvalidQueryParameterValue="InvalidQueryParameterValue",_.InvalidRange="InvalidRange",_.InvalidResourceName="InvalidResourceName",_.InvalidUri="InvalidUri",_.InvalidXmlDocument="InvalidXmlDocument",_.InvalidXmlNodeValue="InvalidXmlNodeValue",_.Md5Mismatch="Md5Mismatch",_.MetadataTooLarge="MetadataTooLarge",_.MissingContentLengthHeader="MissingContentLengthHeader",_.MissingRequiredQueryParameter="MissingRequiredQueryParameter",_.MissingRequiredHeader="MissingRequiredHeader",_.MissingRequiredXmlNode="MissingRequiredXmlNode",_.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",_.OperationTimedOut="OperationTimedOut",_.OutOfRangeInput="OutOfRangeInput",_.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",_.RequestBodyTooLarge="RequestBodyTooLarge",_.ResourceTypeMismatch="ResourceTypeMismatch",_.RequestUrlFailedToParse="RequestUrlFailedToParse",_.ResourceAlreadyExists="ResourceAlreadyExists",_.ResourceNotFound="ResourceNotFound",_.ServerBusy="ServerBusy",_.UnsupportedHeader="UnsupportedHeader",_.UnsupportedXmlNode="UnsupportedXmlNode",_.UnsupportedQueryParameter="UnsupportedQueryParameter",_.UnsupportedHttpVerb="UnsupportedHttpVerb",_.AppendPositionConditionNotMet="AppendPositionConditionNotMet",_.BlobAlreadyExists="BlobAlreadyExists",_.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",_.BlobNotFound="BlobNotFound",_.BlobOverwritten="BlobOverwritten",_.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",_.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",_.BlockCountExceedsLimit="BlockCountExceedsLimit",_.BlockListTooLong="BlockListTooLong",_.CannotChangeToLowerTier="CannotChangeToLowerTier",_.CannotVerifyCopySource="CannotVerifyCopySource",_.ContainerAlreadyExists="ContainerAlreadyExists",_.ContainerBeingDeleted="ContainerBeingDeleted",_.ContainerDisabled="ContainerDisabled",_.ContainerNotFound="ContainerNotFound",_.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",_.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",_.CopyIdMismatch="CopyIdMismatch",_.FeatureVersionMismatch="FeatureVersionMismatch",_.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",_.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",_.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",_.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",_.InvalidBlobOrBlock="InvalidBlobOrBlock",_.InvalidBlobTier="InvalidBlobTier",_.InvalidBlobType="InvalidBlobType",_.InvalidBlockId="InvalidBlockId",_.InvalidBlockList="InvalidBlockList",_.InvalidOperation="InvalidOperation",_.InvalidPageRange="InvalidPageRange",_.InvalidSourceBlobType="InvalidSourceBlobType",_.InvalidSourceBlobUrl="InvalidSourceBlobUrl",_.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",_.LeaseAlreadyPresent="LeaseAlreadyPresent",_.LeaseAlreadyBroken="LeaseAlreadyBroken",_.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",_.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",_.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",_.LeaseIdMissing="LeaseIdMissing",_.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",_.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",_.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",_.LeaseLost="LeaseLost",_.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",_.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",_.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",_.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",_.NoAuthenticationInformation="NoAuthenticationInformation",_.NoPendingCopyOperation="NoPendingCopyOperation",_.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",_.PendingCopyOperation="PendingCopyOperation",_.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",_.PreviousSnapshotNotFound="PreviousSnapshotNotFound",_.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",_.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",_.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",_.SnapshotCountExceeded="SnapshotCountExceeded",_.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",_.SnapshotsPresent="SnapshotsPresent",_.SourceConditionNotMet="SourceConditionNotMet",_.SystemInUse="SystemInUse",_.TargetConditionNotMet="TargetConditionNotMet",_.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",_.BlobBeingRehydrated="BlobBeingRehydrated",_.BlobArchived="BlobArchived",_.BlobNotArchived="BlobNotArchived",_.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",_.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",_.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",_.AuthorizationServiceMismatch="AuthorizationServiceMismatch",_.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",_.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let Ij={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},IK={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},IX={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},IZ={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},I$={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},I0={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},I1={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},I2={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},I3={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},I5={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},I4={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},I8={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},I9={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},I6={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},I7={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Ee={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},Et={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},Er={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},Ei={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},Es={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},En={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Eo={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Ea={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},EA={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},El={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},Ec={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Ed={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Eg={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},Eu={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},Eh={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},Em={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},Ep={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},EC={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},EI={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},EE={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},Ef={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},EB={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},Ey={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},EQ={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},EN={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},Eb={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},ES={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ew={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ED={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ex={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ER={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EM={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ek={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EU={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EF={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ev={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ET={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EL={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EH={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EO={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EP={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EY={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EG={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ez={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Eq={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EV={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EJ={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E_={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EW={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ej={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EK={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EX={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EZ={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E$={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E0={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E1={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E2={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E3={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E5={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},E4={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E8={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},E9={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E6={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},E7={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fe={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ft={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fr={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fi={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fs={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fn={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fo={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fa={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fA={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fl={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fc={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fd={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fg={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},fu={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fh={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},fm={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fp={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fC={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fI={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fE={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ff={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fB={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fy={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fQ={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fN={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fb={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fS={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},fw={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fD={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fx={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fR={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},fM={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fk={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fU={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fF={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fv={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fT={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fL={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fH={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fO={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fP={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fY={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fG={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fz={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fq={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fV={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fJ={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f_={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},fW={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fj={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},fK={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fX={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fZ={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f$={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f0={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},f1={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f2={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},f3={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f5={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f4={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f8={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f9={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f6={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f7={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Be={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bt={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Br={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bi={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bs={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bn={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Bo={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ba={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BA={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bl={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bc={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bd={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bg={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bu={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bh={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bm={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bp={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BC={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BI={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BE={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bf={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BB={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},By={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},BQ={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BN={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bb={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BS={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bw={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},BD={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bx={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BR={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BM={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Bk={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BU={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BF={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bv={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BT={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},BL={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},BH={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},BO={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},BP={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BY={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},BG={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},Bz={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},Bq={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},BV={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BJ={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},B_={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},BW={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},Bj={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},BK={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},BX={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},BZ={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},B$={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},B0={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},B1={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},B2={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},B3={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},B5={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},B4={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},B8={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},B9={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},B6={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},B7={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ye={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yt={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yr={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yi={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ys={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},yn={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},yo={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ya={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},yA={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yl={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yc={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},yd={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yg={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},yu={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},yh={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},ym={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},yp={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},yC={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},yI={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},yE={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},yf={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},yB={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},yy={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},yQ={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},yN={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},yb={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},yS={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},yw={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},yD={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},yx={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},yR={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},yM={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yk={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},yU={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},yF={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},yv={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},yT={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},yL={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},yH={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},yO={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},yP={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},yY={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},yG={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},yz={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},yq={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},yV={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},yJ={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},y_={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},yW={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},yj={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yK={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},yX={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},yZ={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},y$={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},y0={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},y1={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},y2={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},y3={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},y5={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},y4={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},y8={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},y9={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},y6={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},y7={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Qe={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Qt={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},Qr={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},Qi={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Qs={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},Qn={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},Qo={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},Qa={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},QA={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ql={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Qc={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Qd={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Qg={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},Qu={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Qh={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Qm={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},Qp={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class QC{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},QE)}getProperties(e){return this.client.sendOperationRequest({options:e},Qf)}getStatistics(e){return this.client.sendOperationRequest({options:e},QB)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Qy)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},QQ)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},QN)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},Qb)}filterBlobs(e){return this.client.sendOperationRequest({options:e},QS)}}let QI=mp(eB,!0),QE={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:ES},default:{bodyMapper:I1,headersMapper:Ew}},requestBody:{parameterPath:"blobServiceProperties",mapper:Ij},queryParameters:[BO,BP,BY],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QI},Qf={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ij,headersMapper:ED},default:{bodyMapper:I1,headersMapper:Ex}},queryParameters:[BO,BP,BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI},QB={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:I2,headersMapper:ER},default:{bodyMapper:I1,headersMapper:EM}},queryParameters:[BO,BY,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI},Qy={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:I5,headersMapper:Ek},default:{bodyMapper:I1,headersMapper:EU}},queryParameters:[BY,BV,BJ,B_,BW,Bj],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI},QQ={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:I6,headersMapper:EF},default:{bodyMapper:I1,headersMapper:Ev}},requestBody:{parameterPath:"keyInfo",mapper:I9},queryParameters:[BO,BY,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QI},QN={path:"/",httpMethod:"GET",responses:{200:{headersMapper:ET},default:{bodyMapper:I1,headersMapper:EL}},queryParameters:[BP,BY,BK],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI},Qb={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:EH},default:{bodyMapper:I1,headersMapper:EO}},requestBody:BX,queryParameters:[BY,BZ],urlParameters:[BH],headerParameters:[BL,BG,Bz,B$,B0],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QI},QS={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:I7,headersMapper:EP},default:{bodyMapper:I1,headersMapper:EY}},queryParameters:[BY,B_,BW,B1,B2],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI};class Qw{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Qx)}getProperties(e){return this.client.sendOperationRequest({options:e},QR)}delete(e){return this.client.sendOperationRequest({options:e},QM)}setMetadata(e){return this.client.sendOperationRequest({options:e},Qk)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},QU)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},QF)}restore(e){return this.client.sendOperationRequest({options:e},Qv)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},QT)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},QL)}filterBlobs(e){return this.client.sendOperationRequest({options:e},QH)}acquireLease(e){return this.client.sendOperationRequest({options:e},QO)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},QP)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},QY)}breakLease(e){return this.client.sendOperationRequest({options:e},QG)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},Qz)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Qq)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},QV)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},QJ)}}let QD=mp(eB,!0),Qx={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:EG},default:{bodyMapper:I1,headersMapper:Ez}},queryParameters:[BY,B3],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B4,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:QD},QR={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Eq},default:{bodyMapper:I1,headersMapper:EV}},queryParameters:[BY,B3],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8],isXML:!0,serializer:QD},QM={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:EJ},default:{bodyMapper:I1,headersMapper:E_}},queryParameters:[BY,B3],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6],isXML:!0,serializer:QD},Qk={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:EW},default:{bodyMapper:I1,headersMapper:Ej}},queryParameters:[BY,B3,B7],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9],isXML:!0,serializer:QD},QU={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:EK},default:{bodyMapper:I1,headersMapper:EX}},queryParameters:[BY,B3,ye],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8],isXML:!0,serializer:QD},QF={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:EZ},default:{bodyMapper:I1,headersMapper:E$}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[BY,B3,ye],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz,B4,B8,B9,B6],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QD},Qv={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:E0},default:{bodyMapper:I1,headersMapper:E1}},queryParameters:[BY,B3,yt],urlParameters:[BH],headerParameters:[BG,Bz,Bq,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:QD},QT={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:E2},default:{bodyMapper:I1,headersMapper:E3}},queryParameters:[BY,B3,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:QD},QL={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:E5},default:{bodyMapper:I1,headersMapper:E4}},requestBody:BX,queryParameters:[BY,BZ,B3],urlParameters:[BH],headerParameters:[BL,BG,Bz,B$,B0],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QD},QH={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:I7,headersMapper:E8},default:{bodyMapper:I1,headersMapper:E9}},queryParameters:[BY,B_,BW,B1,B2,B3],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QD},QO={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:E6},default:{bodyMapper:I1,headersMapper:E7}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yi,ys,yn],isXML:!0,serializer:QD},QP={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fe},default:{bodyMapper:I1,headersMapper:ft}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yo,ya],isXML:!0,serializer:QD},QY={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fr},default:{bodyMapper:I1,headersMapper:fi}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,ya,yA],isXML:!0,serializer:QD},QG={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:fs},default:{bodyMapper:I1,headersMapper:fn}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yl,yc],isXML:!0,serializer:QD},Qz={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fo},default:{bodyMapper:I1,headersMapper:fa}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,ya,yd,yg],isXML:!0,serializer:QD},Qq={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:En,headersMapper:fA},default:{bodyMapper:I1,headersMapper:fl}},queryParameters:[BY,BV,BJ,B_,BW,B3,yu,yh],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QD},QV={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Ec,headersMapper:fc},default:{bodyMapper:I1,headersMapper:fd}},queryParameters:[BY,BV,BJ,B_,BW,B3,yu,yh,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QD},QJ={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:fg},default:{bodyMapper:I1,headersMapper:fu}},queryParameters:[BP,BY,BK],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QD};class Q_{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Qj)}getProperties(e){return this.client.sendOperationRequest({options:e},QK)}delete(e){return this.client.sendOperationRequest({options:e},QX)}undelete(e){return this.client.sendOperationRequest({options:e},QZ)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},Q$)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Q0)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Q1)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Q2)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Q3)}setMetadata(e){return this.client.sendOperationRequest({options:e},Q5)}acquireLease(e){return this.client.sendOperationRequest({options:e},Q4)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Q8)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Q9)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},Q6)}breakLease(e){return this.client.sendOperationRequest({options:e},Q7)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Ne)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Nt)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Nr)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},Ni)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},Ns)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Nn)}query(e){return this.client.sendOperationRequest({options:e},No)}getTags(e){return this.client.sendOperationRequest({options:e},Na)}setTags(e){return this.client.sendOperationRequest({options:e},NA)}}let QW=mp(eB,!0),Qj={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:fh},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:fh},default:{bodyMapper:I1,headersMapper:fm}},queryParameters:[BY,ym,yp],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yC,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},yI,yE,yf,yB,yy,yQ,yN],isXML:!0,serializer:QW},QK={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:fp},default:{bodyMapper:I1,headersMapper:fC}},queryParameters:[BY,ym,yp],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yE,yf,yB,yy,yQ,yN],isXML:!0,serializer:QW},QX={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:fI},default:{bodyMapper:I1,headersMapper:fE}},queryParameters:[BY,ym,yp,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yy,yQ,yN,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:QW},QZ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ff},default:{bodyMapper:I1,headersMapper:fB}},queryParameters:[BY,yt],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QW},Q$={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fy},default:{bodyMapper:I1,headersMapper:fQ}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:QW},Q0={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fN},default:{bodyMapper:I1,headersMapper:fb}},queryParameters:[BP,BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yy,yQ,yN,yb,yS,yw,yD,yx,yR],isXML:!0,serializer:QW},Q1={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fS},default:{bodyMapper:I1,headersMapper:fw}},queryParameters:[BY,ym,yp,yM],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B6,yk,yU],isXML:!0,serializer:QW},Q2={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:fD},default:{bodyMapper:I1,headersMapper:fx}},queryParameters:[BY,ym,yp,yM],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QW},Q3={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fR},default:{bodyMapper:I1,headersMapper:fM}},queryParameters:[BY,ym,yp,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:QW},Q5={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fk},default:{bodyMapper:I1,headersMapper:fU}},queryParameters:[BY,B7],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF],isXML:!0,serializer:QW},Q4={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fF},default:{bodyMapper:I1,headersMapper:fv}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yi,ys,yn,yy,yQ,yN],isXML:!0,serializer:QW},Q8={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fT},default:{bodyMapper:I1,headersMapper:fL}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yo,ya,yy,yQ,yN],isXML:!0,serializer:QW},Q9={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fH},default:{bodyMapper:I1,headersMapper:fO}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,ya,yA,yy,yQ,yN],isXML:!0,serializer:QW},Q6={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fP},default:{bodyMapper:I1,headersMapper:fY}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,ya,yd,yg,yy,yQ,yN],isXML:!0,serializer:QW},Q7={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:fG},default:{bodyMapper:I1,headersMapper:fz}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yl,yc,yy,yQ,yN],isXML:!0,serializer:QW},Ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fq},default:{bodyMapper:I1,headersMapper:fV}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF],isXML:!0,serializer:QW},Nt={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:fJ},default:{bodyMapper:I1,headersMapper:f_}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9,B6,yy,yQ,yN,yk,yU,yv,yT,yL,yH,yO,yP,yY,yG,yz,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},yq],isXML:!0,serializer:QW},Nr={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:fW},default:{bodyMapper:I1,headersMapper:fj}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9,B6,yy,yQ,yN,yk,yU,yF,yv,yL,yH,yO,yP,yG,yz,yq,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},yV,yJ,y_,yW],isXML:!0,serializer:QW},Ni={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:fK},default:{bodyMapper:I1,headersMapper:fX}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:QW},Ns={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fZ},202:{headersMapper:fZ},default:{bodyMapper:I1,headersMapper:f$}},queryParameters:[BY,ym,yp,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,yN,yT,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:QW},Nn={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:f0},default:{bodyMapper:I1,headersMapper:f1}},queryParameters:[BP,BY,BK],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QW},No={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:f2},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:f2},default:{bodyMapper:I1,headersMapper:f3}},requestBody:{parameterPath:["options","queryRequest"],mapper:EE},queryParameters:[BY,ym,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz,B8,B9,B6,yE,yf,yB,yy,yQ,yN],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QW},Na={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Et,headersMapper:f5},default:{bodyMapper:I1,headersMapper:f4}},queryParameters:[BY,ym,yp,yj],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,yN,yK,yX,yZ,y$],isXML:!0,serializer:QW},NA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:f8},default:{bodyMapper:I1,headersMapper:f9}},requestBody:{parameterPath:["options","tags"],mapper:Et},queryParameters:[BY,yp,yj],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz,B8,yN,yK,yX,yZ,y$,y0,y1],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QW};class Nl{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},Nd)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Ng)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Nu)}uploadPagesFromURL(e,t,r,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:s},Nh)}getPageRanges(e){return this.client.sendOperationRequest({options:e},Nm)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Np)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},NC)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},NI)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},NE)}}let Nc=mp(eB,!0),Nd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:f6},default:{bodyMapper:I1,headersMapper:f7}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yk,yU,yF,yv,yz,yq,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},y2,y3],isXML:!0,serializer:Nc},Ng={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Be},default:{bodyMapper:I1,headersMapper:Bt}},requestBody:y4,queryParameters:[BY,y9],urlParameters:[BH],headerParameters:[BG,Bz,B$,B8,B9,B6,yC,yI,yE,yf,yB,yy,yQ,yN,yF,y0,y1,y5,y8,y6,y7,Qe,Qt,Qr],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Nc},Nu={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Br},default:{bodyMapper:I1,headersMapper:Bi}},queryParameters:[BY,y9],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B8,B9,B6,yC,yE,yf,yB,yy,yQ,yN,yF,y7,Qe,Qt,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:Nc},Nh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bs},default:{bodyMapper:I1,headersMapper:Bn}},queryParameters:[BY,y9],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF,yL,yH,yO,yP,yV,yJ,yW,y6,y7,Qe,Qt,Qi,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Qs,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},Qn,Qo,Qa],isXML:!0,serializer:Nc},Nm={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ep,headersMapper:Bo},default:{bodyMapper:I1,headersMapper:Ba}},queryParameters:[BY,B_,BW,ym,QA],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yC,yy,yQ,yN],isXML:!0,serializer:Nc},Np={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ep,headersMapper:BA},default:{bodyMapper:I1,headersMapper:Bl}},queryParameters:[BY,B_,BW,ym,QA,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yC,yy,yQ,yN,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:Nc},NC={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bc},default:{bodyMapper:I1,headersMapper:Bd}},queryParameters:[BP,BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF,y2],isXML:!0,serializer:Nc},NI={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bg},default:{bodyMapper:I1,headersMapper:Bu}},queryParameters:[BP,BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yy,yQ,yN,y3,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:Nc},NE={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Bh},default:{bodyMapper:I1,headersMapper:Bm}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yy,yQ,yN,yG],isXML:!0,serializer:Nc};class Nf{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Ny)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},NQ)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},NN)}seal(e){return this.client.sendOperationRequest({options:e},Nb)}}let NB=mp(eB,!0),Ny={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bp},default:{bodyMapper:I1,headersMapper:BC}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yk,yU,yF,yz,yq,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:NB},NQ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BI},default:{bodyMapper:I1,headersMapper:BE}},requestBody:y4,queryParameters:[BY,Ql],urlParameters:[BH],headerParameters:[BG,Bz,B$,B8,B9,B6,yI,yE,yf,yB,yy,yQ,yN,yF,y0,y1,y5,y8,Qr,Qc,Qd],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:NB},NN={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bf},default:{bodyMapper:I1,headersMapper:BB}},queryParameters:[BY,Ql],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF,yL,yH,yO,yP,yV,yJ,yW,y0,Qi,Qs,Qn,Qo,Qa,Qc,Qd,Qg],isXML:!0,serializer:NB},Nb={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:By},default:{bodyMapper:I1,headersMapper:BQ}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yy,yQ,Qd],isXML:!0,serializer:NB};class NS{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},ND)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},Nx)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},NR)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},NM)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},Nk)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},NU)}}let Nw=mp(eB,!0),ND={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BN},default:{bodyMapper:I1,headersMapper:Bb}},requestBody:y4,queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,B$,B5,B8,B9,B6,yI,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yk,yU,yF,yv,yz,yq,y0,y1,y5,y8,Qr,Qu],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Nw},Nx={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BS},default:{bodyMapper:I1,headersMapper:Bw}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yF,yv,yL,yH,yO,yP,yY,yG,yz,yV,yJ,y_,yW,y0,Qn,Qo,Qa,Qu,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:Nw},NR={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BD},default:{bodyMapper:I1,headersMapper:Bx}},requestBody:y4,queryParameters:[BY,Qh,Qm],urlParameters:[BH],headerParameters:[BG,Bz,B$,B8,yI,yE,yf,yB,yF,y0,y1,y5,y8,Qr],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Nw},NM={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BR},default:{bodyMapper:I1,headersMapper:BM}},queryParameters:[BY,Qh,Qm],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B8,yE,yf,yB,yF,yL,yH,yO,yP,yV,yJ,yW,Qi,Qs,Qn,Qo,Qa,Qg],isXML:!0,serializer:Nw},Nk={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bk},default:{bodyMapper:I1,headersMapper:BU}},requestBody:{parameterPath:"blocks",mapper:Eu},queryParameters:[BY,Qp],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yk,yU,yF,yv,yz,yq,y0,y1],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Nw},NU={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Eh,headersMapper:BF},default:{bodyMapper:I1,headersMapper:Bv}},queryParameters:[BY,ym,Qp,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,yN],isXML:!0,serializer:Nw};class NF extends m0{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new QC(this),this.container=new Qw(this),this.blob=new Q_(this),this.pageBlob=new Nl(this),this.appendBlob=new Nf(this),this.blockBlob=new NS(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class Nv extends NF{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let NT=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function NL(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function NH(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=NL(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",s="",n=Buffer.from("accountKey","base64"),o="";if(s=NL(e,"AccountName"),n=Buffer.from(NL(e,"AccountKey"),"base64"),!r){let t=(i=NL(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(o=NL(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${s}.blob.${o}`}if(s){if(0===n.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:s,accountKey:n,proxyUri:t}}{let t=NL(e,"SharedAccessSignature"),i=NL(e,"AccountName");if(i||(i=NV(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function NO(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function NP(e,t,r){let i=new URL(e),s=encodeURIComponent(t),n=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==s&&a.push(e)}return n&&a.push(`${s}=${n}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function NY(e,t){return new URL(e).searchParams.get(t)??void 0}function NG(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function Nz(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function Nq(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function NV(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<NT.length;++e){let r=NT[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=NJ(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function NJ(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&IL.includes(e.port)}function N_(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function NW(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function Nj(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let s={ruleId:i[1],replicationStatus:e[r]},n=t.findIndex(e=>e.policyId===i[0]);n>-1?t[n].rules.push(s):t.push({policyId:i[0],rules:[s]})}return t}function NK(e){return e?e.scheme+" "+e.value:void 0}function*NX(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,s=0;for(;i<t.length&&s<r.length;)t[i].start<r[s].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[s].start,end:r[s].end,isClear:!0},++s);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;s<r.length;++s)yield{start:r[s].start,end:r[s].end,isClear:!0}}function NZ(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function N$(e,t,r,i,s){let n,o=i.contentChecksumAlgorithm??s;return void 0===o&&(o="Customized"),"Auto"===o&&(o="StorageCrc64"),"Customized"===o?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===o&&(await Cq.init(),n=await CJ(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===o?n.body:e,contentLength:"StorageCrc64"===o?n.encodedContentLength:t,contentChecksumAlgorithm:o}}class N0{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=NV(e),this.pipeline=t,this.storageClientContext=new Nv(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>m$(await t.sendRequest(m_(e,{createProxy:!0})))}:(A||(A=h7()),A));let s=e._corePipeline;if(!s){let t=`azsdk-js-azure-storage-blob/${IM}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(s=mT({...r,loggingOptions:{additionalAllowedHeaderNames:Iv,additionalAllowedQueryParameters:IT,logger:CF.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:Ck,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:CU,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),s.removePolicy({name:h_}),s.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(C7,Buffer.byteLength(e.body)),t(e))}),s.addPolicy(function(e={}){let t=e.retryPolicyType??Iw.retryPolicyType,r=e.maxTries??Iw.maxTries,i=e.retryDelayInMs??Iw.retryDelayInMs,s=e.maxRetryDelayInMs??Iw.maxRetryDelayInMs,n=e.secondaryHost??Iw.secondaryHost,o=e.tryTimeoutInMs??Iw.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,a){let A,l;o&&(e.url=Id(e.url,C4,String(Math.floor(o/1e3))));let c=e.url,d=n?Ig(e.url,n):void 0,g=!1,u=1,h=!0;for(;h;){let n=g||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||u%2==1;e.url=n?c:d,A=void 0,l=void 0;try{Iy.info(`RetryPolicy: =====> Try=${u} ${n?"Primary":"Secondary"}`),A=await a(e),g=g||!n&&404===A.status}catch(e){if(hA(e))Iy.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw Iy.error(`RetryPolicy: Caught error, message: ${h1(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:s}){if(t>=r)return Iy.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(s){for(let e of ID)if(s.name.toUpperCase().includes(e)||s.message.toUpperCase().includes(e)||s.code&&s.code.toString().toUpperCase()===e)return Iy.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag'))return Iy.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||s){let t=i?.status??s?.statusCode??0;if(!e&&404===t)return Iy.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return Iy.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(Ic);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:n,attempt:u,response:A,error:l}))&&await Im(function(e,r){let n=0;if(e)switch(t){case eo.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*i,s);break;case eo.FIXED:n=i}else n=1e3*Math.random();return Iy.info(`RetryPolicy: Delay for ${n}ms`),n}(n,u),e.abortSignal,Ix),u++}if(A)return A;throw l??new ha("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),s.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),s.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let n=function(e){let t=[Iz,IG,Iq,IV,IJ,I_,IW];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>mZ(await r(mJ(e)),{createProxy:!0})};for(let t of e)i=t.create(i,m1);let s=m_(t,{createProxy:!0});return m$(await i.sendRequest(s))}}),afterRetry:t}}}}(e);n&&s.addPolicy(n.wrappedPolicies,n.afterRetry?{afterPhase:"Retry"}:void 0);let o=IY(e);mA(o)?s.addPolicy(mo({credential:o,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:mG}}),{phase:"Sign"}):o instanceof IB&&s.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==C7||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let s,n;return r.headers.set(Il,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(C7,Buffer.byteLength(r.body)),s=[r.method.toUpperCase(),t(r,C6),t(r,C9),t(r,C7),t(r,Ie),t(r,It),t(r,Ir),t(r,Is),t(r,Ii),t(r,In),t(r,Io),t(r,IA)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(Ia)&&t.push({name:r,value:i});t.sort((e,t)=>IE(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}(r)+function(t){let r=Iu(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let s=Ih(t.url),n={};if(s){let e=[];for(let t in s)if(Object.prototype.hasOwnProperty.call(s,t)){let r=t.toLowerCase();n[r]=s[t],e.push(r)}for(let t of(e.sort(),e))i+=` -${t}:${decodeURIComponent(n[t])}`}return i}(r),n=(0,uw.createHmac)("sha256",e.accountKey).update(s,"utf8").digest("base64"),r.headers.set(C8,`SharedKey ${e.accountName}:${n}`),i(r)}}}({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"}),e._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:s}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=IY(t),this.storageClientContext.requestContentType=void 0}}let N1=h9({packageName:"@azure/storage-blob",packageVersion:IM,namespace:"Microsoft.Storage"});class N2{static parse(e){let t=new N2;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new N2;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class N3{static parse(e){let t=new N3;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new N3;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function N5(e){return e.end?`${e.start}-${e.end}`:e.start}(W=ed||(ed={})).Https="https",W.HttpsAndHttp="https,http";class N4{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,s,n,o,a,A,l,c,d,g,u,h,m,p,C,I,E,f,B,y,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=a,this.permissions=r,this.protocol=n,this.startsOn=o,this.ipRangeInner=A,this.delegatedUserObjectId=f,this.encryptionScope=E,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=g,this.contentEncoding=u,this.contentLanguage=h,this.contentType=m,this.requestHeaderKeys=B,this.requestQueryParameterKeys=y,this.directoryDepth=Q,p&&(this.signedOid=p.signedObjectId,this.signedTenantId=p.signedTenantId,this.signedStartsOn=p.signedStartsOn,this.signedExpiresOn=p.signedExpiresOn,this.signedService=p.signedService,this.signedVersion=p.signedVersion,this.signedDelegatedUserTid=p.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=C,this.correlationId=I))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?Nz(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?Nz(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?N5(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?Nz(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?Nz(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function N8(e,t,r){return N9(e,t,r).sasQueryParameters}function N9(e,t,r){let i,s=e.version?e.version:Ik,n=t instanceof IB?t:void 0;if(void 0===n&&void 0!==r&&(i=new IR(r,t)),void 0===n&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")if(void 0!==n)return function(e,t){let r,i;if(!(e=be(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,n);else if(s>="2026-04-06")return function(e,t){let r,i;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,N6(e.requestHeaders),N6(e.requestQueryParameters),i),stringToSign:o}}(e,i);else if(s>="2025-07-05")return function(e,t){let r,i;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r,i;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,i);if(s>="2018-11-09")if(void 0!==n)if(s>="2020-02-10")return function(e,t){let r,i;if(!(e=be(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,n);else return function(e,t){let r;if(!(e=be(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",s=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId)),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let n=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(n);return{sasQueryParameters:new N4(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:n}}(e,n);else if(s>="2020-02-10")return function(e,t){let r,i;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId)),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let n=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(n);return{sasQueryParameters:new N4(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:n}}(e,i);if(s>="2015-04-05")if(void 0!==n){let t;var o=e,a=n;if(!(o=be(o)).identifier&&!(o.permissions&&o.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";o.blobName&&(r="b"),o.permissions&&(t=o.blobName?N2.parse(o.permissions.toString()).toString():N3.parse(o.permissions.toString()).toString());let i=[t||"",o.startsOn?Nz(o.startsOn,!1):"",o.expiresOn?Nz(o.expiresOn,!1):"",N7(a.accountName,o.containerName,o.blobName),o.identifier,o.ipRange?N5(o.ipRange):"",o.protocol?o.protocol:"",o.version,o.cacheControl?o.cacheControl:"",o.contentDisposition?o.contentDisposition:"",o.contentEncoding?o.contentEncoding:"",o.contentLanguage?o.contentLanguage:"",o.contentType?o.contentType:""].join("\n"),s=a.computeHMACSHA256(i);return{sasQueryParameters:new N4(o.version,s,t,void 0,void 0,o.protocol,o.startsOn,o.expiresOn,o.ipRange,o.identifier,r,o.cacheControl,o.contentDisposition,o.contentEncoding,o.contentLanguage,o.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function N6(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function N7(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function be(e){let t=e.version?e.version:Ik;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function bt(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class br{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=u4()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-acquireLease",t,async r=>NZ(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=NZ(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-releaseLease",e,async t=>NZ(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return NZ(await this._containerOrBlobOperation.breakLease(i))})}}class bi extends ul.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new h$("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class bs{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,s={}){this.originalResponse=e;let n=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new CX(this.originalResponse.readableStreamBody,s);this.blobDownloadStream=new bi(n,t,r,i,s)}}let bn=new Uint8Array([79,98,106,1]);class bo{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await bo.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,s,n=0,o=0;do i=128&(r=await bo.readByte(e,t)),n|=(127&r)<<o,o+=7;while(i&&o<28);if(i){s=0x10000000;do n+=(127&(r=await bo.readByte(e,t)))*s,s*=128;while(128&r);let i=(n%2?-(n+1):n)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return n>>1^-(1&n)}static async readLong(e,t={}){return bo.readZigZagLong(e,t)}static async readInt(e,t={}){return bo.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await bo.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await bo.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await bo.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await bo.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await bo.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await bo.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await bo.readArray(e,(e,r={})=>bo.readMapPair(e,t,r),r),s={};for(let e of i)s[e.key]=e.value;return s}static async readArray(e,t,r={}){let i=[];for(let s=await bo.readLong(e,r);0!==s;s=await bo.readLong(e,r))for(s<0&&(await bo.readLong(e,r),s=-s);s--;){let s=await t(e,r);i.push(s)}return i}}(j=eg||(eg={})).RECORD="record",j.ENUM="enum",j.ARRAY="array",j.MAP="map",j.UNION="union",j.FIXED="fixed",(K=eu||(eu={})).NULL="null",K.BOOLEAN="boolean",K.INT="int",K.LONG="long",K.FLOAT="float",K.DOUBLE="double",K.BYTES="bytes",K.STRING="string";class ba{static fromSchema(e){return"string"==typeof e?ba.fromStringSchema(e):Array.isArray(e)?ba.fromArraySchema(e):ba.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case eu.NULL:case eu.BOOLEAN:case eu.INT:case eu.LONG:case eu.FLOAT:case eu.DOUBLE:case eu.BYTES:case eu.STRING:return new bA(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new bc(e.map(ba.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return ba.fromStringSchema(t)}catch{}switch(t){case eg.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=ba.fromSchema(t.type);return new bg(r,e.name);case eg.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new bl(e.symbols);case eg.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new bd(ba.fromSchema(e.values));case eg.ARRAY:case eg.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class bA extends ba{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case eu.NULL:return bo.readNull();case eu.BOOLEAN:return bo.readBoolean(e,t);case eu.INT:return bo.readInt(e,t);case eu.LONG:return bo.readLong(e,t);case eu.FLOAT:return bo.readFloat(e,t);case eu.DOUBLE:return bo.readDouble(e,t);case eu.BYTES:return bo.readBytes(e,t);case eu.STRING:return bo.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class bl extends ba{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await bo.readInt(e,t);return this._symbols[r]}}class bc extends ba{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await bo.readInt(e,t);return this._types[r].read(e,t)}}class bd extends ba{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return bo.readMap(e,r,t)}}class bg extends ba{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function bu(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class bh{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!bu(await bo.readFixedBytes(this._headerStream,bn.length,{abortSignal:e.abortSignal}),bn))throw Error("Stream is not an Avro file.");this._metadata=await bo.readMap(this._headerStream,bo.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await bo.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=ba.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await bo.readLong(this._dataStream,{abortSignal:e.abortSignal}),await bo.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await bo.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!bu(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await bo.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await bo.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class bm{}let bp=i("buffer"),bC=new h$("Reading from the avro stream was aborted.");class bI extends bm{_position;_readable;toUint8Array(e){return"string"==typeof e?bp.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw bC;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let s=()=>{this._readable.removeListener("readable",n),this._readable.removeListener("error",o),this._readable.removeListener("end",o),this._readable.removeListener("close",o),t.abortSignal&&t.abortSignal.removeEventListener("abort",a)},n=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,s(),r(this.toUint8Array(t)))},o=()=>{s(),i()},a=()=>{s(),i(bC)};this._readable.on("readable",n),this._readable.once("error",o),this._readable.once("end",o),this._readable.once("close",o),t.abortSignal&&t.abortSignal.addEventListener("abort",a)})}}class bE extends ul.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new bh(new bI(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let s=t.position;if("number"!=typeof s)throw Error("Invalid position in avro error record.");this.onError({position:s,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class bf{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new bE(this.originalResponse.readableStreamBody,t)}}function bB(e){if(void 0!==e)return e}function by(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function bQ(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(X=eh||(eh={})).Hot="Hot",X.Cool="Cool",X.Cold="Cold",X.Archive="Archive",(Z=em||(em={})).P4="P4",Z.P6="P6",Z.P10="P10",Z.P15="P15",Z.P20="P20",Z.P30="P30",Z.P40="P40",Z.P50="P50",Z.P60="P60",Z.P70="P70",Z.P80="P80",($=ep||(ep={})).StorageOAuthScopes="https://storage.azure.com/.default",$.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",hV("core-lro");class bN extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,bN.prototype)}}class bb extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,bb.prototype)}}class bS{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new bb("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new bN("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class bw extends bS{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:s=15e3,onProgress:n,resumeFrom:o,startCopyFromURLOptions:a}=e;o&&(t=JSON.parse(o).state),super(bM({...t,blobClient:r,copySource:i,startCopyFromURLOptions:a})),"function"==typeof n&&this.onProgress(n),this.intervalInMs=s}delay(){return h0(this.intervalInMs)}}let bD=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),bM(t)},bx=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:s}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:s}=r,n=t.copyProgress;s&&(t.copyProgress=s),"pending"===i&&s!==n&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,s);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return bM(t)},bR=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function bM(e){return{state:{...e},cancel:bD,toString:bR,update:bx}}function bk(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(ee=eC||(eC={}))[ee.Good=0]="Good",ee[ee.Error=1]="Error";class bU{concurrency;actives=0;completed=0;offset=0;operations=[];state=eC.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Cv.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=eC.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==eC.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}let bF=i("node:fs");async function bv(e,t,r,i,s){let n=0,o=i-r;return new Promise((i,a)=>{let A=setTimeout(()=>a(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let a;if(n>=o){clearTimeout(A),i();return}for(;null!==(a=e.read());){"string"==typeof a&&(a=Buffer.from(a,s));let e=n+a.length>o?o-n:a.length;if(t.fill(a.slice(0,e),r+n,r+n+e),(n+=e)>=o){clearTimeout(A),i();return}}}),e.on("end",()=>{clearTimeout(A),n<o&&a(Error(`Stream drains before getting enough data needed. Data read: ${n}, data need: ${o}`)),i()}),e.on("error",e=>{clearTimeout(A),a(e)})})}async function bT(e,t){return new Promise((r,i)=>{let s=bF.createWriteStream(t);e.on("error",e=>{i(e)}),s.on("error",e=>{i(e)}),s.on("close",r),e.pipe(s)})}let bL=uT.promisify(bF.stat),bH=bF.createReadStream;class bO extends N0{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let s,n;if(i=i||{},IH(t))n=e,s=t,i=r;else if(t instanceof IB||t instanceof C5||mA(t))n=e,s=IP(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=NH(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new IB(o.accountName,o.accountKey);n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=h2(o.proxyUri)),s=IP(e,i)}else if("SASConnString"===o.kind)n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=IP(new C5,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,r&&"string"!=typeof r&&(i=r),s=IP(new C5,i);super(n,s),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=NY(this.url,IU),this._versionId=NY(this.url,IF),this.blobClientConfig=i}withSnapshot(e){return new bO(NP(this.url,IU,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new bO(NP(this.url,IF,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new bP(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new bY(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new bG(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},by(r.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-download",r,async i=>{let s=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===s?s="Customized":"Auto"===s&&(s="StorageCrc64"),"StorageCrc64"===s&&await Cq.init();let n=NZ(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?bk({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===s?"XSM/1.0; properties=crc64":void 0})),o={...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:Nj(n.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===n.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===s&&void 0===n.structuredContentLength)throw RangeError("Unexpected structured content length");if(!n.etag)throw RangeError("File download response doesn't contain valid etag header");let a="StorageCrc64"===s?n.structuredContentLength:n.contentLength;return new bs(o,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||n.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:bk({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===s?"XSM/1.0; properties=crc64":void 0},o=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==s?o:new CX(o,{})},e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return N1.withSpan("BlobClient-exists",e,async t=>{try{return by(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},by(e.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-getProperties",e,async t=>{let r=NZ(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:Nj(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},N1.withSpan("BlobClient-delete",e,async t=>NZ(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return N1.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=NZ(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return N1.withSpan("BlobClient-undelete",e,async t=>NZ(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-setHTTPHeaders",t,async r=>NZ(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-setMetadata",t,async r=>NZ(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return N1.withSpan("BlobClient-setTags",t,async r=>NZ(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return N1.withSpan("BlobClient-getTags",e,async t=>{let r=NZ(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new br(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},by(e.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-createSnapshot",e,async t=>NZ(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new bw({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return N1.withSpan("BlobClient-abortCopyFromURL",t,async r=>NZ(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},N1.withSpan("BlobClient-syncCopyFromURL",t,async r=>NZ(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:NK(t.sourceAuthorization),tier:bB(t.tier),blobTagsString:N_(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return N1.withSpan("BlobClient-setAccessTier",t,async r=>NZ(await this.blobContext.setTier(bB(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let s,n=0,o=0,a=i;e instanceof Buffer?(s=e,n=t||0,o="number"==typeof r?r:0):(n="number"==typeof e?e:0,o="number"==typeof t?t:0,a=r||{});let A=a.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),n<0)throw RangeError("offset option must be >= 0");if(o&&o<=0)throw RangeError("count option must be greater than 0");return a.conditions||(a.conditions={}),N1.withSpan("BlobClient-downloadToBuffer",a,async e=>{if(!o){let t=await this.getProperties({...a,tracingOptions:e.tracingOptions});if((o=t.contentLength-n)<0)throw RangeError(`offset ${n} shouldn't be larger than blob size ${t.contentLength}`)}if(!s)try{s=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(s.length<o)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`);let t=0,r=new bU(a.concurrency);for(let i=n;i<n+o;i+=A)r.addOperation(async()=>{let r=n+o;i+A<r&&(r=i+A);let l=(await this.download(i,r-i,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await bv(l,s,i-n,r-n),t+=r-i,a.onProgress&&a.onProgress({loadedBytes:t})});return await r.do(),s})}async downloadToFile(e,t=0,r,i={}){return N1.withSpan("BlobClient-downloadToFile",i,async s=>{let n=await this.download(t,r,{...i,tracingOptions:s.tracingOptions});return n.readableStreamBody&&await bT(n.readableStreamBody,e),n.blobDownloadStream=void 0,n})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(NJ(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return N1.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},NZ(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:bB(t.tier),blobTagsString:N_(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof IB))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=N8({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(NG(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof IB))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return N9({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=N8({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(NG(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return N9({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return N1.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>NZ(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return N1.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>NZ(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return N1.withSpan("BlobClient-setLegalHold",t,async t=>NZ(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return N1.withSpan("BlobClient-getAccountInfo",e,async t=>NZ(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class bP extends bO{appendBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},IH(t))n=e,s=t,i=r;else if(t instanceof IB||t instanceof C5||mA(t))n=e,s=IP(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=NH(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new IB(o.accountName,o.accountKey);n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=h2(o.proxyUri)),s=IP(e,i)}else if("SASConnString"===o.kind)n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=IP(new C5,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,i=r,s=IP(new C5,i);super(n,s),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new bP(NP(this.url,IU,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},by(e.customerProvidedKey,this.isHttps),N1.withSpan("AppendBlobClient-create",e,async t=>NZ(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:N_(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return N1.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=NZ(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},N1.withSpan("AppendBlobClient-seal",e,async t=>NZ(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},by(r.customerProvidedKey,this.isHttps),N1.withSpan("AppendBlobClient-appendBlock",r,async i=>{let s={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},n=await N$(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return NZ(await this.appendBlobContext.appendBlock(n.contentLength,n.body,s))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},by(i.customerProvidedKey,this.isHttps),N1.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>NZ(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:bk({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:NK(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class bY extends bO{_blobContext;blockBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},IH(t))n=e,s=t,i=r;else if(t instanceof IB||t instanceof C5||mA(t))n=e,s=IP(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=NH(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new IB(o.accountName,o.accountKey);n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=h2(o.proxyUri)),s=IP(e,i)}else if("SASConnString"===o.kind)n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=IP(new C5,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,r&&"string"!=typeof r&&(i=r),s=IP(new C5,i);super(n,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new bY(NP(this.url,IU,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-query",t,async r=>new bf(NZ(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:NW(t.inputTextConfiguration),outputSerialization:NW(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},by(r.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-upload",r,async i=>{let s={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:bB(r.tier),blobTagsString:N_(r.tags),tracingOptions:i.tracingOptions},n=await N$(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return NZ(await this.blockBlobContext.upload(n.contentLength,n.body,s))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>NZ(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:NK(t.sourceAuthorization),tier:bB(t.tier),blobTagsString:N_(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return by(i.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-stageBlock",i,async s=>{let n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions},o=await N$(t,r,n,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return NZ(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,n))})}async stageBlockFromURL(e,t,r=0,i,s={}){return by(s.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-stageBlockFromURL",s,async n=>NZ(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:0!==r||i?bk({offset:r,count:i}):void 0,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:NK(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-commitBlockList",t,async r=>NZ(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:bB(t.tier),blobTagsString:N_(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return N1.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=NZ(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return N1.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return N1.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let s=r.maxSingleShotSize??0x10000000;if(s<0||s>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>s&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),N1.withSpan("BlockBlobClient-uploadSeekableInternal",r,async n=>{if(t<=s)return NZ(await this.upload(e(0,t),t,n));let o=Math.floor((t-1)/i)+1;if(o>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let a=[],A=u4(),l=0,c=new bU(r.concurrency);for(let s=0;s<o;s++)c.addOperation(async()=>{let c=Nq(A,s),d=i*s,g=(s===o-1?t:d+i)-d;a.push(c),await this.stageBlock(c,e(d,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=g,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(a,n)})}async uploadFile(e,t={}){return N1.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await bL(e)).size;return this.uploadSeekableInternal((t,r)=>()=>bH(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),N1.withSpan("BlockBlobClient-uploadStream",i,async s=>{let n=0,o=u4(),a=0,A=[],l=new CO(e,t,r,async(e,t)=>{let r=Nq(o,n);A.push(r),n++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),a+=t,i.onProgress&&i.onProgress({loadedBytes:a})},Math.ceil(r/4*3));return await l.do(),NZ(await this.commitBlockList(A,{...i,tracingOptions:s.tracingOptions}))})}}class bG extends bO{pageBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},IH(t))n=e,s=t,i=r;else if(t instanceof IB||t instanceof C5||mA(t))n=e,s=IP(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=NH(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new IB(o.accountName,o.accountKey);n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=h2(o.proxyUri)),s=IP(e,i)}else if("SASConnString"===o.kind)n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=IP(new C5,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,i=r,s=IP(new C5,i);super(n,s),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new bG(NP(this.url,IU,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("PageBlobClient-create",t,async r=>NZ(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:bB(t.tier),blobTagsString:N_(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return N1.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=NZ(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},by(i.customerProvidedKey,this.isHttps),N1.withSpan("PageBlobClient-uploadPages",i,async s=>{let n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:bk({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions},o=await N$(e,r,n,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return NZ(await this.pageBlobContext.uploadPages(o.contentLength,o.body,n))})}async uploadPagesFromURL(e,t,r,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},by(s.customerProvidedKey,this.isHttps),N1.withSpan("PageBlobClient-uploadPagesFromURL",s,async n=>NZ(await this.pageBlobContext.uploadPagesFromURL(e,bk({offset:t,count:i}),0,bk({offset:r,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:NK(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},N1.withSpan("PageBlobClient-clearPages",r,async i=>NZ(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:bk({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},N1.withSpan("PageBlobClient-getPageRanges",r,async i=>bQ(NZ(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:bk({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return N1.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>NZ(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:bk({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let s;if(r||void 0===r)do r=(s=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await s;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let s of this.listPageRangeItemSegments(e,t,i,r))yield*NX(s)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},N1.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>bQ(NZ(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:bk({offset:e,count:t}),tracingOptions:s.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,s={}){return N1.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async n=>NZ(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:r,range:bk({offset:e,count:t}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,s){let n;if(i||void 0===i)do i=(n=await this.listPageRangesDiffSegment(e,t,r,i,s)).continuationToken,yield await n;while(i)}async *listPageRangeDiffItems(e,t,r,i){let s;for await(let n of this.listPageRangeDiffItemSegments(e,t,r,s,i))yield*NX(n)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>s.next(),[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeDiffItemSegments(e,t,r,s.continuationToken,{maxPageSize:s.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},N1.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>bQ(NZ(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:bk({offset:e,count:t}),tracingOptions:s.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},N1.withSpan("PageBlobClient-resize",t,async r=>NZ(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},N1.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>NZ(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return N1.withSpan("PageBlobClient-startCopyIncremental",t,async r=>NZ(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(et=eI||(eI={}))[et.LOCKED=0]="LOCKED",et[et.UNLOCKED=1]="UNLOCKED",(eE||(eE={})).AES256="AES256";let bz=(0,uw.createHash)("sha256").update("blobstore|1.0").digest("hex"),bq=(y=e=>e.reason,{schedule:((e,t=2)=>{let r=sx(sd(e));return aP(nS(e=>{let i=sQ(r*Math.pow(t,e.attempt-1));return nS([i,i])}))})("3 seconds",1.5),times:4,while:e=>{let t;return t=y(e),uU.some(e=>t.includes(e))}}),bV=(e,t)=>nv({try:()=>{let e=process.env.ACTIONS_RESULTS_URL,t=process.env.ACTIONS_RUNTIME_TOKEN;if(!e||!t)throw Error(`Missing required env vars: ${[!e&&"ACTIONS_RESULTS_URL",!t&&"ACTIONS_RUNTIME_TOKEN"].filter(Boolean).join(", ")}`);return{baseUrl:e.endsWith("/")?e:`${e}/`,token:d1(t)}},catch:r=>new ub({key:t,operation:e,reason:r instanceof Error?r.message:String(r)})}),bJ=(e,t,r,i,s,n,o)=>{let a;return a=e=>new ub({key:o,operation:n,reason:e}),Ao(function*(){let n,o=gY(`${t}twirp/github.actions.results.api.v1.CacheService/${i}`).pipe(gW(d$(r)),g2(s)),A=yield*e.execute(o).pipe(oA(e=>a(`${i} failed: ${e.message}`)));return 409===A.status?uk:A.status<200||A.status>=300?yield*t3(a(`${i} failed: HTTP ${A.status} from ${i}`)):yield*(n=dv(dT(dY(dL.ast),{schema:dL})),e=>nW(e.json,e=>n(e,void 0)))(A).pipe(oA(e=>a(`${i} failed: ${e.message??String(e)}`)))})},b_=a5(uS,Ao(function*(){let e=yield*g6;return{put:(t,r)=>Ao(function*(){let{baseUrl:i,token:s}=yield*bV("put",t),n=yield*bJ(e,i,s,"CreateCacheEntry",{key:t,version:bz},"put",t).pipe(Ae(bq));if(n===uk)return;if(!n.ok||!n.signed_upload_url)return yield*t3(new ub({key:t,operation:"put",reason:"CreateCacheEntry returned no upload URL"}));yield*An({try:()=>new bY(n.signed_upload_url).uploadData(Buffer.from(r)),catch:e=>new ub({key:t,operation:"put",reason:`blob upload failed: ${e instanceof Error?e.message:String(e)}`})});let o=yield*bJ(e,i,s,"FinalizeCacheEntryUpload",{key:t,version:bz,size_bytes:String(r.byteLength)},"put",t).pipe(Ae(bq));if(o===uk||!o.ok)return yield*t3(new ub({key:t,operation:"put",reason:"FinalizeCacheEntryUpload did not confirm success"}))}),get:t=>Ao(function*(){let{baseUrl:r,token:i}=yield*bV("get",t),s=yield*bJ(e,r,i,"GetCacheEntryDownloadURL",{key:t,restore_keys:[],version:bz},"get",t).pipe(Ae(bq));return s!==uk&&s.ok&&s.signed_download_url?rT(new Uint8Array((yield*An({try:()=>new bO(s.signed_download_url).downloadToBuffer(),catch:e=>new ub({key:t,operation:"get",reason:`blob download failed: ${e instanceof Error?e.message:String(e)}`})})))):rv()}),has:t=>Ao(function*(){let{baseUrl:r,token:i}=yield*bV("has",t),s=yield*bJ(e,r,i,"GetCacheEntryDownloadURL",{key:t,restore_keys:[],version:bz},"has",t).pipe(Ae(bq));return s!==uk&&!!(s.ok&&s.signed_download_url)})}})),bW="~effect/ManagedRuntime";function bj(e,t){return nW(e.contextEffect,e=>n7(t,e))}let bK=(e,t)=>({status:e,headers:{"content-type":"application/json"},body:new TextEncoder().encode(JSON.stringify(t))}),bX=Number(process.env.TURBOGHA_PORT??"41230"),bZ=process.env.TURBOGHA_PREFIX??"",b$=process.env.TURBOGHA_TOKEN??"",b0=(er="s3"===(process.env.TURBOGHA_BACKEND??"github")?(Q={bucket:process.env.TURBOGHA_S3_BUCKET??"",region:process.env.TURBOGHA_S3_REGION??"",accessKeyId:process.env.TURBOGHA_S3_ACCESS_KEY_ID??"",secretAccessKey:d1(process.env.TURBOGHA_S3_SECRET_ACCESS_KEY??""),...process.env.TURBOGHA_S3_ENDPOINT?{endpoint:process.env.TURBOGHA_S3_ENDPOINT}:{},...process.env.TURBOGHA_S3_SESSION_TOKEN?{sessionToken:d1(process.env.TURBOGHA_S3_SESSION_TOKEN)}:{},...process.env.TURBOGHA_S3_PREFIX?{prefix:process.env.TURBOGHA_S3_PREFIX}:{}},a5(uS,Ao(function*(){let e=yield*g6,t=(e,t,r)=>(e=>{let t,r=e.amzDate??ux(),i=r.slice(0,8),{base:s,canonicalUri:n,headers:o}=uR({...e,amzDate:r}),a=[...o.keys()].sort(),A=a.join(";"),l=`${i}/${e.region}/s3/aws4_request`,c=["AWS4-HMAC-SHA256",r,l,(t=(e=>{let{canonicalUri:t,headers:r}=uR(e),i=[...r.keys()].sort(),s=i.map(e=>`${e}:${r.get(e)} -`).join(""),n=i.join(";");return[e.method,t,"",s,n,e.payloadHash].join("\n")})({...e,amzDate:r}),(0,uw.createHash)("sha256").update(t).digest("hex"))].join("\n"),d=uD(`AWS4${e.secretAccessKey}`,i),g=uD(d,e.region),u=uD(g,"s3"),h=(0,uw.createHmac)("sha256",uD(u,"aws4_request")).update(c).digest("hex"),m={};for(let e of a)m[e]=o.get(e);return m.Authorization=`AWS4-HMAC-SHA256 Credential=${e.accessKeyId}/${l}, SignedHeaders=${A}, Signature=${h}`,{url:`${s}${n}`,headers:m}})({method:e,bucket:Q.bucket,region:Q.region,accessKeyId:Q.accessKeyId,secretAccessKey:d$(Q.secretAccessKey),key:`${Q.prefix??""}${t}`,payloadHash:r,...Q.endpoint?{endpoint:Q.endpoint}:{},...Q.sessionToken?{sessionToken:d$(Q.sessionToken)}:{}});return{put:(r,i)=>Ao(function*(){let{url:s,headers:n}=t("PUT",r,(0,uw.createHash)("sha256").update(i).digest("hex")),o=gG(s).pipe(g_(n),g1(i)),a=yield*e.execute(o);if(a.status>=300)return yield*t3(new ub({key:r,operation:"put",reason:`S3 PUT returned ${a.status}`}))}).pipe(oo(e=>e instanceof ub?t3(e):t3(new ub({key:r,operation:"put",reason:String(e)})))),get:r=>Ao(function*(){let{url:i,headers:s}=t("GET",r,uM),n=gP(i).pipe(g_(s)),o=yield*e.execute(n);return 404===o.status?rv():o.status>=300?yield*t3(new ub({key:r,operation:"get",reason:`S3 GET returned ${o.status}`})):rT(new Uint8Array((yield*o.arrayBuffer)))}).pipe(oo(e=>e instanceof ub?t3(e):t3(new ub({key:r,operation:"get",reason:String(e)})))),has:r=>Ao(function*(){let{url:i,headers:s}=t("HEAD",r,uM),n=gz(i).pipe(g_(s)),o=yield*e.execute(n);return 404!==o.status&&(!(o.status>=300)||(yield*t3(new ub({key:r,operation:"has",reason:`S3 HEAD returned ${o.status}`}))))}).pipe(oo(e=>e instanceof ub?t3(e):t3(new ub({key:r,operation:"has",reason:String(e)}))))}}))).pipe(a6(uN)):b_.pipe(a6(uN)),b=(void 0)??a0(),w=aj(S=oS("parallel"),"sequential"),D={onFiberStart:oX(S)},x=e=>e?{...e,onFiberStart:e.onFiberStart?t=>{D.onFiberStart(t),e.onFiberStart(t)}:D.onFiberStart}:D,R=t4(e=>(N||(N=oZ(nV(a2(er,b,w),e=>nD(()=>{M.cachedContext=e})),{...D,scheduler:e.currentScheduler})),nW(nB(N),eN))),M={[bW]:bW,memoMap:b,scope:S,contextEffect:R,cachedContext:void 0,context:()=>void 0===M.cachedContext?o5(M.contextEffect):Promise.resolve(M.cachedContext),dispose:()=>o5(M.disposeEffect),disposeEffect:nx(()=>(M.contextEffect=t5("ManagedRuntime disposed"),M.cachedContext=void 0,of(M.scope,n2))),runFork:(e,t)=>void 0===M.cachedContext?oZ(bj(M,e),x(t)):oK(M.cachedContext)(e,x(t)),runCallback:(e,t)=>void 0===M.cachedContext?o0(bj(M,e),x(t)):o$(M.cachedContext)(e,x(t)),runSyncExit:e=>void 0===M.cachedContext?o8(bj(M,e)):o4(M.cachedContext)(e),runSync:e=>void 0===M.cachedContext?o6(bj(M,e)):o9(M.cachedContext)(e),runPromiseExit:(e,t)=>void 0===M.cachedContext?o2(bj(M,e),x(t)):o1(M.cachedContext)(e,x(t)),runPromise:(e,t)=>void 0===M.cachedContext?o5(bj(M,e),x(t)):o3(M.cachedContext)(e,x(t))}),b1=(k={prefix:bZ,expectedToken:b$},e=>Ao(function*(){let t=e.path.split("?")[0]??e.path;if("/v8/artifacts/status"===t)return bK(200,{status:"enabled"});if("/v8/artifacts/events"===t)return bK(200,[]);let r=t.match(/^\/v8\/artifacts\/([^/]+)$/);if(!r)return{status:404,headers:{}};let i=e.authorization?.replace(/^Bearer\s+/i,"");if(""!==k.expectedToken&&i!==k.expectedToken)return{status:401,headers:{}};let s=`${k.prefix}v2/${r[1]}`,n=yield*uS;if("PUT"===e.method){var o,a,A;let t,r,i;return yield*n.put(s,(o=e.artifactTag??null,a=e.artifactDuration,A=e.body,t=o?new TextEncoder().encode(o):new Uint8Array(0),(i=new DataView((r=new Uint8Array(8+t.length+A.length)).buffer)).setUint32(0,t.length,!1),i.setUint32(4,Math.min(0xffffffff,Math.max(0,Math.trunc(a)||0)),!1),r.set(t,8),r.set(A,8+t.length),r)),{status:202,headers:{}}}if("HEAD"===e.method)return{status:(yield*n.has(s))?200:404,headers:{}};if("GET"===e.method){let e=yield*n.get(s);if(rH(e))return{status:404,headers:{}};let t=(e=>{if(e.byteLength<8)return null;let t=new DataView(e.buffer,e.byteOffset,e.byteLength),r=t.getUint32(0,!1),i=t.getUint32(4,!1);return 8+r>e.byteLength?null:{tag:r>0?new TextDecoder().decode(e.subarray(8,8+r)):null,durationMs:i,body:e.subarray(8+r)}})(e.value);if(null===t)return{status:404,headers:{}};let{tag:r,durationMs:i,body:o}=t,a={"content-type":"application/octet-stream","x-artifact-duration":String(i)};return r&&(a["x-artifact-tag"]=r),{status:200,headers:a,body:o}}return{status:405,headers:{}}}).pipe(oo(()=>nS({status:500,headers:{}}))));(0,ey.createServer)((e,t)=>{let r=[];e.on("data",e=>r.push(e)),e.on("end",()=>{let i=e.headers["x-artifact-duration"],s="string"==typeof i&&Number(i)||0,n={method:e.method??"GET",path:e.url??"/",authorization:e.headers.authorization,artifactTag:"string"==typeof e.headers["x-artifact-tag"]?e.headers["x-artifact-tag"]:void 0,artifactDuration:s,body:new Uint8Array(Buffer.concat(r))};b0.runPromise(b1(n)).then(e=>{t.writeHead(e.status,e.headers),t.end(e.body?Buffer.from(e.body):void 0)}).catch(()=>{t.writeHead(500),t.end()})})}).listen(bX,"127.0.0.1")})(); \ No newline at end of file +${nP(e.cause,`${t} `)} +${t}}`),i},nY="~effect/Fiber/dev",nG={_A:eq,_E:eq},nz={id:0},nq=()=>globalThis[tk];class nV{constructor(e,t=!0){this[nY]=nG,this.setContext(e),this.id=++nz.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[nY];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){var t;return t=this.context,t.mapUnsafe.has(e.key)?t.mapUnsafe.get(e.key):sS(e)}addObserver(e){return this._exit?(e(this._exit),ej):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=nS(e);this.currentStackFrame&&(r=rs(r,sE(ru,this.currentStackFrame))),t&&(r=rs(r,t)),this._interruptedCause=this._interruptedCause?nx(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(n1(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===t$)return;let r=nJ.interruptChildren&&nJ.interruptChildren(this);if(void 0!==r)return this.evaluate(oh(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=sf}runLoop(e){let t=globalThis[tk];globalThis[tk]=this;let r=this._running;this._running=!0;let i=!1,s=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,s=n1(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=s;s=oh(n4,()=>e)}if((s=this.currentTracerContext?this.currentTracerContext(s,this):s[tj](this))===t$){let e=this._yielded;if(t_ in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return t$}}}catch(e){if(!e7(s,tj))return rC(`Fiber.runLoop: Not a valid effect: ${String(s)}`);return this.runLoop(rC(e))}finally{this._running=r,globalThis[tk]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,n_;for(;;){let t=this._stack.pop();if(!t)return;let r=t[tZ]&&t[tZ](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,t$}children(){return this._children??=new Set}pipe(){return eP(this,arguments)}setContext(e){this.context=e;let t=this.getRef(s6);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(nn),this.currentLogLevel=this.getRef(ny),this.minimumLogLevel=this.getRef(nQ),this.currentStackFrame=e.mapUnsafe.get(np.key),this.maxOpsBeforeYield=this.getRef(ni),this.currentPreventYield=this.getRef(ns),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(nc);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let n_={[tK]:(e,t)=>n1(t._interruptedCause),[tX]:(e,t)=>n1(t._interruptedCause)},nJ={interruptChildren:void 0},nW=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(rh,e.currentStackFrame),sp(t)},nj=e=>e._exit?n0(e._exit):oi(t=>e._exit?t(n0(e._exit)):n2(e.addObserver(e=>t(n0(e))))),nK=e=>oi(t=>{let r,i=e[Symbol.iterator](),s=[];return!function e(){let n=i.next();for(;!n.done;){if(n.value._exit){s.push(n.value._exit),n=i.next();continue}r=n.value.addObserver(t=>{s.push(t),e()});return}t(n0(s))}(),n2(()=>r?.())}),nX=e=>rI(t=>nZ(e,t.id)),nZ=ez(e=>e7(e[0],nY),(e,t,r)=>rI(i=>{let s=nW(i);return s=s&&r?sx(s,r):s??r,e.interruptUnsafe(t,s),og(nj(e))})),n$=e=>rI(t=>{let r=nW(t),i=se();for(let s of e)s.interruptUnsafe(t.id,r),i.push(s);return og(nK(i))}),n0=rg,n1=rm,n2=rc({op:"Sync",[tj](e){let t=this[tW](),r=e.getCont(tK);return r?r[tK](t,e):e.yieldWith(rg(t))}}),n3=rc({op:"Suspend",[tj](e){return this[tW]()}}),n5=rJ({onFailure:rp,onSuccess:n0}),n4=rc({op:"Yield",[tj](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(oN)},this[tW]??0),e.yieldWith(()=>{t=!0})}})(0),n8=n0(r2()),n9=e=>rC(e),n6=e=>n3(()=>rp(tq(e))),n7=n0(void 0),oe=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new a5(e,"An error occurred in Effect.try"):e.catch;return n3(()=>{try{return n0(tq(t))}catch(e){return rp(tq(()=>r(e)))}})},ot=rc({op:"Async",single:!1,[tj](e){let t=tq(()=>this[tW][0].bind(e.currentScheduler)),r=!1,i=!1,s=this[tW][1]?new AbortController:void 0,n=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},s?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===s&&void 0===n||e._stack.push(or(()=>(r=!0,s?.abort(),n??oN))),t$)}}),or=rc({op:"AsyncFinalizer",[tZ](e){e.interruptible&&(e.interruptible=!1,e._stack.push(ag))},[tX](e,t){return e.reasons.some(ra)?oh(this[tW](),()=>n1(e)):n1(e)}}),oi=e=>ot(e,e.length>=2),os=oi(ej),on=(e,...t)=>{let r=0===t.length?function(){return n3(()=>oA(e.apply(this,arguments)))}:function(){let r=n3(()=>oA(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return oo(e.length,r)},oo=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),oa=e=>{try{let t,r=e();for(;;){let i=r.next(t);if(i.done)return n0(i.value);let s=i.value;if(s&&"Success"===s._tag){t=s.value;continue}{if(s&&"Failure"===s._tag)return i.value;let t=!0;return n3(()=>t?(t=!1,oh(i.value,e=>oA(r,e))):n3(()=>oA(e())))}}}catch(e){return n9(e)}},oA=rc({op:"Iterator",single:!1,[tK](e,t){let r=this[tW][0];for(;;){let i=r.next(e);if(i.done)return n0(i.value);if(!op(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[tj](e){return this[tK](this[tW][1],e)}}),ol=ez(2,(e,t)=>{let r=n0(t);return oh(e,e=>r)}),oc=ez(2,(e,t)=>oh(e,e=>e7(t,tV)?t:tq(()=>t(e)))),od=ez(2,(e,t)=>oh(e,e=>ol(e7(t,tV)?t:tq(()=>t(e)),e))),og=e=>oh(e,e=>oN),ou=ez(e=>e7(e[1],tV),(e,t,r)=>{let i;return i=[e,t],rI(e=>oi(t=>{let s=!1,n=new Set,o=e=>{s=!0,t(0===n.size?e:oh(ac(n$(n)),()=>e))},a=0;for(let t of i){if(s)break;let i=a++,A=ay(e,t,!0,!0,!1);n.add(A),A.addObserver(t=>{n.delete(A);let a=!s;o(t),a&&r?.onWinner&&r.onWinner({fiber:A,index:i,parentFiber:e})})}return n$(n)}))}),oh=ez(2,(e,t)=>{let r=Object.create(om);return r[tW]=e,r[tK]=1!==t.length?e=>t(e):t,r}),om=rl({op:"OnSuccess",[tj](e){return e._stack.push(this),this[tW]}}),op=e=>t_ in e,oC=ez(2,(e,t)=>op(e)?"Success"===e._tag?t(e.value):e:oh(e,t)),oI=ez(2,(e,t)=>oh(e,e=>n0(tq(()=>t(e))))),of=ez(2,(e,t)=>op(e)?ob(e,t):oI(e,t)),oE=ez(2,(e,t)=>op(e)?oS(e,t):oq(e,t)),oB=ez(2,(e,t)=>op(e)?ow(e,t):oV(e,t)),oy=e=>"Success"===e._tag,oQ=e=>"Failure"===e._tag?rq(e.cause):rz(e),oN=rg(void 0),ob=ez(2,(e,t)=>"Success"===e._tag?rg(t(e.value)):e),oS=ez(2,(e,t)=>{if("Success"===e._tag)return e;let r=nw(e.cause);return rY(r)?e:rp(t(r.success))}),ow=ez(2,(e,t)=>{if("Success"===e._tag)return rg(t.onSuccess(e.value));let r=nw(e.cause);return rY(r)?e:rp(t.onFailure(r.success))}),oD=ez(2,(e,t)=>oy(e)?t:e),ox=ez(2,(e,t)=>rI(r=>{let i=r.context,s=t(i);return i===s?e:(r.setContext(s),ar(e,()=>{r.setContext(i)}))})),oR=ez(3,(e,t,r)=>ox(e,e=>{let i=sQ(e,t),s=r(i);return i===s?e:sB(e,t,s)})),oM=rI(e=>n0(e.context)),ok=e=>rI(t=>e(t.context)),oF=ez(2,(e,t)=>op(e)?e:ox(e,sx(t))),oU=function(){return 1==arguments.length?ez(2,(e,t)=>ov(e,arguments[0],t)):ez(3,(e,t,r)=>ov(e,t,r)).apply(this,arguments)},ov=(e,t,r)=>ox(e,e=>e.mapUnsafe.get(t.key)===r?e:sB(e,t,r)),oT=((e,t,r)=>oh(r,r=>oU(e,t,r)),ez(e=>e7(e[0],tV),(e,t)=>aC({while:e_,body:eV(t?.disableYield?e:oh(e,e=>n4)),step:ej}))),oL=ez(2,(e,t)=>{let r=Object.create(oO);return r[tW]=e,r[tX]=1!==t.length?e=>t(e):t,r}),oO=rl({op:"OnFailure",[tj](e){return e._stack.push(this),this[tW]}}),oH=((e,t,r)=>oL(e,e=>t(e)?tq(()=>r(e)):n1(e)),ez(3,(e,t,r)=>oL(e,e=>{let i=t(e);return rY(i)?n1(i.failure):tq(()=>r(i.success,e))}))),oP=ez(2,(e,t)=>oH(e,nw,e=>t(e))),oY=ez(3,(e,t,r)=>oL(e,e=>{let i=t(e);return rY(i)?n1(e):oc(tq(()=>r(i.success,e)),n1(e))})),oG=((e,t)=>oY(e,nw,e=>t(e)),ez(e=>e7(e[0],tV),(e,t,r,i)=>oL(e,e=>{let s=nw(e);return rY(s)?n1(s.failure):t(s.success)?tq(()=>r(s.success)):i?tq(()=>i(s.success)):n1(e)}))),oz=((e=>e7(e[0],tV),(e,t,r,i)=>oL(e,e=>{let s=nw(e);if(rY(s))return n1(s.failure);let n=t(s.success);return rY(n)?i?tq(()=>i(n.failure)):n1(e):tq(()=>r(n.success))})),ez(e=>e7(e[0],tV),(e,t,r,i)=>oG(e,Array.isArray(t)?e=>e7(e,"_tag")&&t.includes(e._tag):te(t),r,i))),oq=ez(2,(e,t)=>oP(e,e=>n6(()=>t(e)))),oV=ez(2,(e,t)=>oj(e,{onFailure:e=>n6(()=>t.onFailure(e)),onSuccess:e=>n2(()=>t.onSuccess(e))})),o_=e=>oX(e,{onFailure:rz,onSuccess:rq}),oJ=ez(2,(e,t)=>{let r=Object.create(oW);return r[tW]=e,r[tK]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[tX]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),oW=rl({op:"OnSuccessAndFailure",[tj](e){return e._stack.push(this),this[tW]}}),oj=((e,t)=>oJ(e,{onFailure:e=>n2(()=>t.onFailure(e)),onSuccess:e=>n2(()=>t.onSuccess(e))}),ez(2,(e,t)=>oJ(e,{onFailure:e=>{let r=e.reasons.find(rn);return r?tq(()=>t.onFailure(r.error)):n1(e)},onSuccess:t.onSuccess}))),oK=ez(2,(e,t)=>oj(e,{onFailure:e=>n2(()=>t.onFailure(e)),onSuccess:e=>n2(()=>t.onSuccess(e))})),oX=ez(2,(e,t)=>{if(op(e)){if("Success"===e._tag)return rg(t.onSuccess(e.value));let r=nw(e.cause);return rY(r)?e:rg(t.onFailure(r.success))}return oK(e,t)}),oZ=e=>op(e)?rg(e):o$(e),o$=rc({op:"Exit",[tj](e){return e._stack.push(this),this[tW]},[tK]:(e,t,r)=>n0(r??rg(e)),[tX]:(e,t,r)=>n0(r??rm(e))}),o0=((e,t)=>ou(e,oh(aX(t.duration),t.orElse)),"~effect/Scope"),o1="~effect/Scope/Closeable",o2=sg("effect/Scope"),o3=(e,t)=>n3(()=>o5(e,t)??n7),o5=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):o4(e,i,t)},o4=on(function*(e,t,r){let i=[],s=[],n=Array.from(t.values()),o=nq();for(let t=n.length-1;t>=0;t--){let a=n[t];"sequential"===e.strategy?i.push((yield*oZ(a(r)))):s.push(ay(o,a(r),!0,!0,"inherit"))}return s.length>0&&(i=yield*nK(s)),yield*(e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?oN:rm(re(t))})(i)}),o8=(e,t)=>n3(()=>"Closed"===e.state._tag?t(e.state.exit):(o9(e,{},t),n7)),o9=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},o6=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},o7=(e="sequential")=>({[o1]:o1,[o0]:o0,strategy:e,state:ae}),ae={_tag:"Empty"},at=oU(o2),ar=rc({op:"OnExit",single:!1,[tj](e){return e._stack.push(this),this[tW][0]},[tZ](e){e.interruptible&&!0!==this[tW][2]&&(e._stack.push(ag),e.interruptible=!1)},[tK](e,t,r){r??=rg(e);let i=this[tW][1](r);return i?oh(i,e=>r):r},[tX](e,t,r){r??=rm(e);let i=this[tW][1](r);return i?oh(i,e=>r):r}}),ai=ez(2,ar),as=((e,t,r)=>ai(e,e=>t(e)?r(e):n7),ez(3,(e,t,r)=>ai(e,e=>{let i=t(e);return rY(i)?n7:r(i.success,e)}))),an=ez(2,(e,t)=>as(e,oQ,t)),ao=ez(3,(e,t,r)=>ai(e,e=>{if("Failure"!==e._tag)return n7;let i=t(e.cause);return rY(i)?n7:r(i.success,e.cause)})),aa=ez(2,(e,t)=>ao(nD,t)(e)),aA=ez(2,(e,t)=>n2(()=>{let r,i=s2(sO(t)),s=Number.isFinite(i),n=aP(!1),o=0,a=!1,A=oh(n.await,()=>r);return[rI(t=>{let l=t.getRef(aV),c=s?l.currentTimeMillisUnsafe():0;return a||c<o?r??A:(a=!0,n.closeUnsafe(),r=void 0,ai(e,e=>n2(()=>{a=!1,o=l.currentTimeMillisUnsafe()+i,r=e,n.openUnsafe()})))}),n2(()=>{o=0,n.closeUnsafe(),r=void 0})]})),al=ez(2,(e,t)=>oI(aA(e,t),e=>e[0])),ac=e=>rI(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(ag)),e)),ad=rc({op:"SetInterruptible",[tZ](e){if(e.interruptible=this[tW],e._interruptedCause&&e.interruptible)return()=>n1(e._interruptedCause)}}),ag=ad(!0),au=ad(!1),ah=e=>rI(t=>t.interruptible?e:(e=>{if(e.interruptible=!0,e._stack.push(au),e._interruptedCause)return n1(e._interruptedCause)})(t)??e),am=e=>rI(t=>t.interruptible?(t.interruptible=!1,t._stack.push(ag),e(ah)):e(eq)),ap=(e,t)=>tt(e)?t?.mode==="result"?aI(e,o_,t):aI(e,eq,t):t?.discard?"result"===t.mode?aI(Object.values(e),o_,t):aI(Object.values(e),eq,t):n3(()=>{let r={};return ol(aI(Object.entries(e),([e,i])=>oI(t?.mode==="result"?o_(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),aC=((e=>tt(e[0])&&!e7(e[0],tV),(e,t,r)=>oI(aI(e,(e,r)=>o_(t(e,r)),r),e=>si(e,eq))),rc({op:"While",[tK](e,t){return(this[tW].step(e),this[tW].while())?(t._stack.push(this),this[tW].body()):oN},[tj](e){return this[tW].while()?(e._stack.push(this),this[tW].body()):oN}})),aI=ez(e=>"function"==typeof e[1],(e,t,r)=>rI(i=>{let s=r?.concurrency==="inherit"?i.getRef(nh):r?.concurrency??1,n="unbounded"===s?1/0:Math.max(1,s);if(1===n)return af(e,t,r);let o=i5(e),a=o.length;if(0===a)return r?.discard?n7:n0([]);let A=r?.discard?void 0:Array(a),l=aB({f:t,out:A},o,{concurrency:n});return l?ol(l,A):n0(A)})),af=(e,t,r)=>n3(()=>{let i=r?.discard?void 0:[],s=e[Symbol.iterator](),n=s.next(),o=0;return ol(aC({while:()=>!n.done,body:()=>t(n.value,o++),step:e=>{i&&i.push(e),n=s.next()}}),i)}),aE=e=>{let t=e.onItem,r=e.step;return(e,i,s)=>{let n,o,a,A,l,c=s?.start??0,d=s?.end??i.length,g=s?.concurrency??1,u=s?.orderedStep===!0&&g>1,h=!1,m=!1,p=c,C=u?Array(d):void 0,I=e=>{let t=rC(e);return A=t,h=!0,m=!0,o&&o.size>0?oh(ac(n$(Array.from(o))),()=>t):t},f=(t,s,n)=>{if(!u)return r(e,t,s,n);if(A)return A;for(C[n]=s;p<d;){let t=C[p];if(void 0===t)return;C[p]=void 0;let s=p++,n=r(e,i[s],t,s);if(n)return n}},E=()=>{let r=!1;for(;!A&&c<d;c++){let s=i[c],d=l??t(e,s,c);if(op(d)){if(A=f(s,d,c))break}else{if(1===g)return oh(oZ(d),e=>(A=f(s,e,c),c++,A??E()??n7));if(!n)return oi(e=>{let t;n=nq(),o=new Set,l=d,a=e;try{t=E()}catch(t){return e(I(t))}return t?e(t):n3(()=>(A=oN,m=!0,o?n$(o):n7))});l=void 0;let e=ay(n,d,!0,!0,"inherit");if(e._exit){if(A=f(s,e._exit,c))break;continue}o.add(e);let t=c;if(e.addObserver(i=>{o.delete(e);try{if(A){if(!m&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=rm(re([e]))}else{let e=f(s,i,t);e&&(A="Failure"===e._tag?rm(re(e.cause.reasons.slice())):e,E())}if(r){let e=E();e&&a(e)}else h&&0===o.size&&a(A??n7)}catch(e){a(I(e))}}),o.size<g)continue;r=!0,c++;return}}if(h=!0,A){if(o&&o.size>0){let e=nW(n);o.forEach(t=>t.interruptUnsafe(n.id,e));return}if(a||"Failure"===A._tag)return A}else if(a)if(!o)return oN;else 0===o.size&&a(n7)};return E()}},aB=aE({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),ay=((e,t,r)=>oh(e,e=>t(e)?n0(e):r(e)),(e,t,r=!1,i=!1,s=!1)=>{let n="inherit"===s?e.interruptible:!s,o=new nV(e.context,n);return r?o.evaluate(t):e.currentDispatcher.scheduleTask(()=>o.evaluate(t),0),i||o._exit||(e.children().add(o),o.addObserver(()=>e._children.delete(o))),o}),aQ=ez(e=>e7(e[0],tV),(e,t,r)=>rI(i=>{let s=ay(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!s._exit)if("Closed"!==t.state._tag){let e={};o9(t,e,()=>{let e;return e=e=>e===s.id?n7:nX(s),rI(t=>e(t.id))}),s.addObserver(()=>o6(t,e))}else s.interruptUnsafe(i.id,nW(i));return n0(s)})),aN=e=>(t,r)=>{let i=new nV(r?.scheduler?sB(e,s6,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i},ab=ez(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return o9(t,r,()=>nX(e)),e.addObserver(()=>o6(t,r)),e}),aS=aN(sf),aw=e=>{let t=aN(e);return(e,r)=>{let i=t(e,r);return r?.onExit&&i.addObserver(r.onExit),e=>i.interruptUnsafe(e)}},aD=aw(sf),ax=e=>{let t=aN(e);return(e,r)=>{let i=t(e,r);return new Promise(e=>{i.addObserver(t=>e(t))})}},aR=ax(sf),aM=e=>{let t=ax(e);return(e,r)=>t(e,r).then(e=>{if("Failure"===e._tag)throw nM(e.cause);return e.value})},ak=aM(sf),aF=e=>{let t=aN(e);return e=>{if(op(e))return e;let r=t(e,{scheduler:new nt("sync")});return r._dispatcher?.flush(),r._exit??rC(new a2(r))}},aU=aF(sf),av=e=>{let t=aF(e);return e=>{let r=t(e);if("Failure"===r._tag)throw nM(r.cause);return r.value}},aT=av(sf),aL=n0(!0),aO=n0(!1);class aH{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),aL}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](oN)};open=rI(e=>this._isOpen?aO:(this._isOpen=!0,this.scheduleUnsafe(e)));release=rI(e=>this._isOpen?aO:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=oi(e=>this._isOpen?e(n7):(this.waiters.push(e),n2(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=n2(()=>this.closeUnsafe());whenOpen=e=>oh(this.await,()=>e);isOpen(){return this._isOpen}}let aP=e=>new aH(e??!1),aY=BigInt(0),aG={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:aY,endTime:aY,exit:oN},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},az=e=>e?sN(e.annotations,na)?"Span"===e._tag?az(iu(e.parent)):r2():r3(e):r2(),aq=oU(no),aV=sg("effect/Clock",{defaultValue:()=>new aJ}),a_=0x80000000-1;class aJ{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=n2(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return aj()}currentTimeNanos=n2(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(s2(e))}sleepMillis(e){return e<=0?n4:Number.isFinite(e)?oi(t=>{let r=e>a_?this.sleepMillis(e-a_):n7,i=setTimeout(()=>t(r),Math.min(e,a_));return n2(()=>clearTimeout(i))}):os}}let aW=(p=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*p:()=>(m??=BigInt(Date.now())*p-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),aj=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return aW;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),aK=e=>rI(t=>e(t.getRef(aV))),aX=e=>aK(t=>t.sleep(sO(e))),aZ=(e=>e.currentTimeMillis,"~effect/Cause/TimeoutError"),a$="~effect/Cause/IllegalArgumentError";class a0 extends rB("IllegalArgumentError"){[a$]=a$;constructor(e){super({message:e})}}let a1="~effect/Cause/AsyncFiberError";class a2 extends rB("AsyncFiberError"){[a1]=a1;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let a3="~effect/Cause/UnknownError";class a5 extends rB("UnknownError"){[a3]=a3;constructor(e,t){super({message:t,cause:e})}}let a4=sg("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),a8=r0(r$(rX,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}})),a9=sg("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([Ar,Ai])}),a6=sg("effect/Logger/LogToStderr",{defaultValue:eJ}),a7={"~effect/Logger":{_Message:eq,_Output:eq},pipe(){return eP(this,arguments)}},Ae=e=>{let t=Object.create(a7);return t.log=e,t},At=(e,t)=>{let r=e[0].replace(/[\s="]/g,"_");return`${r}=${t-e[1]}ms`},Ar=Ae(({cause:e,date:t,fiber:r,logLevel:i,message:s})=>{let n=Array.isArray(s)?s.slice():[s];e.reasons.length>0&&n.push(nO(e));let o=t.getTime(),a=r.getRef(nN),A="";for(let e of a)A+=` ${At(e,o)}`;let l=r.getRef(nB);Object.keys(l).length>0&&n.push(l);let c=r.getRef(a4);(r.getRef(a6)?c.error:c.log)(`[${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}] ${i.toUpperCase()} (#${r.id})${A}:`,...n)}),Ai=Ae(({cause:e,fiber:t,logLevel:r,message:i})=>{let s=t.getRef(aV),n=t.getRef(nB),o=t.currentSpan;if(void 0===o||"ExternalSpan"===o._tag)return;let a={};for(let[e,t]of Object.entries(n))a[e]=t;a["effect.fiberId"]=t.id,a["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(a["effect.cause"]=nO(e)),o.event(((e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?tO(e,{space:t}):String(e)}catch{return String(e)}})(Array.isArray(i)&&1===i.length?i[0]:i),s.currentTimeNanosUnsafe(),a)}),As=e=>void 0===e?rb:rp(rN(e)),An=ez(2,(e,t)=>oH(e,AA,e=>t(e))),Ao=e=>"Fail"===e._tag&&e7(e.error,ry),Aa=s9(nw,e=>e7(e,ry)?rq(e):rz(e)),AA=s9(nw,e=>e7(e,ry)?rq(e.value):rz(e)),Al=ez(2,(e,t)=>oJ(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=Aa(e);return rY(r)?t.onFailure(r.failure):t.onDone(r.success.value)}})),Ac="~effect/Schedule",Ad=sg("effect/Schedule/CurrentMetadata",{defaultValue:eV({input:void 0,output:void 0,duration:s_,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),Ag={[Ac]:{_Out:eq,_In:eq,_Env:eq},pipe(){return eP(this,arguments)}},Au=e=>{let t=Object.create(Ag);return t.step=e,t},Ah=()=>{let e,t,r=0;return(i,s)=>{void 0===t&&(t=i);let n=i-t,o=void 0===e?0:i-e;return e=i,{input:s,attempt:++r,start:t,now:i,elapsed:n,elapsedSincePrevious:o}}},Am=e=>Au(oI(e,e=>{let t=Ah();return(r,i)=>e(t(r,i))})),Ap=e=>oL(e.step,e=>n0(()=>n1(e))),AC=e=>aK(t=>oI(Ap(e),e=>{let r=Ah();return i=>n3(()=>{let s=t.currentTimeMillisUnsafe();return oh(e(s,i),([e,t])=>{let n=r(s,i);return n.output=e,n.duration=t,ol(aX(t),n)})})})),AI=e=>Au(oI(Ap(e),e=>(t,r)=>Al(e(t,r),{onSuccess:e=>n0([r,e[1]]),onFailure:n1,onDone:()=>As(r)}))),Af=ez(2,(e,t)=>Au(oI(Ap(e),e=>{let r=Ah();return(i,s)=>oh(e(i,s),e=>{let[n,o]=e,a=t({...r(i,s),output:n,duration:o});return oh(e7(a,tV)?a:n0(a),t=>t?n0(e):As(n))})}))),AE=(C=sO(s_),Am(n0(e=>n0([e.attempt-1,C])))),AB={"~effect/Deferred":{_A:eq,_E:eq},pipe(){return eP(this,arguments)}},Ay=ez(2,(e,t)=>n2(()=>AQ(e,t))),AQ=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0},AN=(e,t)=>{let r=o7(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return o9(e,i,e=>o3(r,e)),o9(r,i,t=>n2(()=>o6(e,i))),r},Ab="~effect/Layer/MemoMap",AS={"~effect/Layer":{_ROut:eq,_E:eq,_RIn:eq},pipe(){return eP(this,arguments)}},Aw=e=>{let t=Object.create(AS);return t.build=e,t},AD=e=>Aw((t,r)=>{let i=AN(r);return ai(e(t,i),e=>"Failure"===e._tag?o3(i,e):n7)}),Ax=e=>{let t=AD((r,i)=>r.getOrElseMemoize(t,i,e));return t};class AR{get[Ab](){return Ab}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,oc(o8(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let s,n,o,a,A=this.get(e,t);return A?A:(i=this,s=o7(),(n=Object.create(AB)).resumes=void 0,n.effect=void 0,a={observers:1,effect:(o=n,oi(e=>o.effect?e(o.effect):(o.resumes??=[],o.resumes.push(e),n2(()=>{let t=o.resumes.indexOf(e);o.resumes.splice(t,1)})))),finalizer:t=>n3(()=>(a.observers--,0===a.observers)?(i.map.delete(e),o3(s,t)):n7)},i.map.set(e,a),o8(t,a.finalizer).pipe(oh(()=>r(i,s)),ai(e=>(a.effect=e,Ay(o,e)))))}}let AM=()=>new AR;class Ak extends sg()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=sy(e,Ak);return t?new AR(t):AM()}}let AF=ez(3,(e,t,r)=>oU(oI(e.build(t,r),sB(Ak,t)),Ak,t)),AU=ez(2,(e,t)=>rI(r=>AF(e,Ak.forkOrCreate(r.context),t))),Av=function(){return 1==arguments.length?e=>AT(sE(arguments[0],e)):AT(sE(arguments[0],arguments[1]))},AT=e=>Aw(eV(n0(e))),AL=e=>Ax(eV(n2(e))),AO=function(){return 1==arguments.length?e=>AH(arguments[0],e):AH(arguments[0],arguments[1])},AH=(e,t)=>AP(oI(t,t=>sE(e,t))),AP=e=>Ax((t,r)=>at(e,r)),AY=(e,t,r)=>{let i=AN(r,"parallel");return aI(e,e=>e.build(t,AN(i,"sequential")),{concurrency:e.length}).pipe(oI(e=>((...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return sp(t)})(...e)))},AG=(...e)=>AD((t,r)=>AY(e,t,r)),Az=ez(2,(e,t)=>AD((r,i)=>oh(Array.isArray(t)?AY(t,r,i):t.build(r,i),t=>e.build(r,i).pipe(oF(t),oI(e=>eq(e)))))),Aq=((e=>e7(e[0],tV),(e,t,r)=>{var i;let s;return sI(t)?oF(e,t):(i=Array.isArray(t)?AG(...t):t,s=t=>oh(r?.local?AF(i,AM(),t):AU(i,t),t=>oF(e,t)),n3(()=>{let e=o7();return ai(s(e),t=>n3(()=>o5(e,t)??n7))}))}),ez(3,(e,t,r)=>oh(AC(t),t=>{let i,s=Ad.defaultValue(),n=oP(n3(()=>oU(e,Ad,s)),e=>(i=e,oh(t(e),e=>(s=e,n))));return An(n,e=>tq(()=>r(i,e)))}))),AV=ez(2,(e,t)=>Aq(e,"function"==typeof t?t(eq):e7(t,Ac)?t:AJ(t),rp)),A_=AI(AE),AJ=e=>{let t=e.schedule?AI(e.schedule):A_;return e.while&&(t=Af(t,({input:t})=>{let r=e.while(t);return e7(r,tV)?r:n0(r)})),e.until&&(t=Af(t,({input:t})=>{let r=e.until(t);return e7(r,tV)?oI(r,e=>!e):n0(!r)})),void 0!==e.times&&(t=Af(t,({attempt:t})=>n0(t<=e.times))),t},AW=Af(AE,({attempt:e})=>n0(e<=1)),Aj=($={_E:e=>e,_A:e=>e,_R:e=>e},e$.add($),$);({...{[tr](){return tc(this,Object.keys(this))},[tf](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!tE(this[t[i]],e[t[i]]))return!1;return!0}},"~effect/Request":Aj});let AK=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new a5(e,"An error occurred in Effect.tryPromise"):e.catch;return ot(function(e,i){let s=t=>{try{e(rp(tq(()=>r(t))))}catch(t){e(n9(t))}};try{tq(()=>t(i)).then(t=>e(n0(t)),s)}catch(e){s(e)}},0!==t.length)},AX=(...e)=>n3(()=>oA(1===e.length?e[0]():e[1].call(e[0].self))),AZ=e=>n3(()=>n1(tq(e))),A$=(e,t,r)=>ok(i=>am(s=>oh(o2,n=>od(r?.interruptible?s(e):e,e=>o8(n,r=>oF(t(e,r),i)))))),A0=e=>al(e,sJ),A1=function(){let e,t=(e=arguments[0],e7(e,tV)),r=t?arguments[1]:arguments[0],i=t?arguments[2]:arguments[1],s=eq;if("Span"===r._tag){var n,o;i=(e=>{var t;let r;if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let i=Error.stackTraceLimit;sc(3);let s=Error();return sc(i),{...e,captureStackTrace:(t=()=>s.stack,()=>{if(void 0!==r)return r;let e=t();if(!e)return;let i=e.split("\n");if(void 0!==i[3])return r=i[3].trim()})}})(i),n=r.name,o="function"==typeof(o=i?.captureStackTrace)?o:ej,s=oR(np,e=>({name:n,stack:o,parent:e}))}return t?aq(s(arguments[0]),r):e=>aq(s(e),r)},A2=(e,t,r)=>(...i)=>oi(s=>{try{e(...i,(e,r)=>{e?s(rp(t?t(e,i):e)):s(n0(r))})}catch(e){s(r?rp(r(e,i)):n9(e))}}),A3=(e,...t)=>oo(e.length,0===t.length?function(){return oa(()=>e.apply(this,arguments))}:function(){let r=oa(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),A5="~effect/ManagedRuntime";function A4(e,t){return oh(e.contextEffect,e=>oF(t,e))}let A8=/^[+-]?\d+$/,A9="~effect/BigDecimal",A6={[A9]:A9,[tr](){let e=la(this);return tn(ti(e.value),tA(e.scale))},[tf](e){return A7(e)&&lm(this,e)},toString(){return`BigDecimal(${lp(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[tH](){return this.toJSON()},pipe(){return eP(this,arguments)}},A7=e=>e7(e,A9),le=(e,t)=>{let r=Object.create(A6);return r.value=e,r.scale=t,r},lt=(e,t)=>{if(e!==lr&&e%ln===lr)throw RangeError("Value must be normalized");let r=le(e,t);return r.normalized=r,r},lr=BigInt(0),li=BigInt(1),ls=BigInt(-1),ln=BigInt(10),lo=lt(lr,0),la=e=>{if(void 0===e.normalized)if(e.value===lr)e.normalized=lo;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),s=e.scale-r;e.normalized=lt(i,s)}return e.normalized},lA=ez(2,(e,t)=>t>e.scale?le(e.value*ln**BigInt(t-e.scale),t):t<e.scale?le(e.value/ln**BigInt(e.scale-t),t):e),ll=ez(2,(e,t)=>t.value===lr?e:e.value===lr?t:e.scale>t.scale?le(lA(t,e.scale).value+e.value,e.scale):e.scale<t.scale?le(lA(e,t.scale).value+t.value,t.scale):le(e.value+t.value,e.scale)),lc=rK((e,t)=>{let r=rX(lu(e),lu(t));return 0!==r?r:e.scale>t.scale?rZ(e.value,lA(t,e.scale).value):e.scale<t.scale?rZ(lA(e,t.scale).value,t.value):rZ(e.value,t.value)}),ld=(j=lc,ez(2,(e,t)=>-1===j(e,t))),lg=r0(lc),lu=e=>e.value===lr?0:e.value<lr?-1:1,lh=rW((e,t)=>e.scale>t.scale?lA(t,e.scale).value===e.value:e.scale<t.scale?lA(e,t.scale).value===t.value:e.value===t.value),lm=ez(2,(e,t)=>lh(e,t)),lp=e=>{let t,r,i=la(e);if(Math.abs(i.scale)>=16)return lC(i);let s=i.value<lr,n=s?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=n.length)t="0",r="0".repeat(i.scale-n.length)+n;else{let e=n.length-i.scale;if(e>n.length){let i=e-n.length;t=`${n}${"0".repeat(i)}`,r=""}else r=n.slice(e),t=n.slice(0,e)}let o=""===r?t:`${t}.${r}`;return s?`-${o}`:o},lC=e=>{if(lI(e))return"0e+0";let t=la(e),r=`${(t.value<lr?le(-t.value,t.scale):t).value}`,i=r.slice(0,1),s=r.slice(1),n=`${lf(t)?"-":""}${i}`;""!==s&&(n+=`.${s}`);let o=s.length-t.scale;return`${n}e${o>=0?"+":""}${o}`},lI=e=>e.value===lr,lf=e=>e.value<lr,lE=e=>A7(e[0]),lB=ez(lE,(e,t=0)=>e.scale<=t?e:le(e.value/ln**BigInt(e.scale-t),t)),ly=ez(lE,(e,t=0)=>{let r=lB(e,t);return e.value>lr&&ld(r,e)?ll(r,le(li,t)):r}),lQ=ez(lE,(e,t=0)=>{let r=lB(e,t);return lf(e)&&lg(r,e)?ll(r,le(ls,t)):r}),lN=class extends eG{constructor(e){super(),e&&Object.assign(this,e)}},lb=rE,lS=rB,lw="~effect/time/DateTime",lD="~effect/time/DateTime/TimeZone",lx={[lw]:lw,pipe(){return eP(this,arguments)},[tH](){return this.toString()},toJSON(){return lZ(this).toJSON()}},lR={...lx,_tag:"Utc",[tr](){return tA(this.epochMilliseconds)},[tf](e){return lT(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${lZ(this).toJSON()})`}},lM={...lx,_tag:"Zoned",[tr](){return tn(tA(this.epochMilliseconds))(ti(this.zone))},[tf](e){return lT(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&tE(this.zone,e.zone)},toString(){return`DateTime.Zoned(${ci(this)})`}},lk={[lD]:lD,[tH](){return this.toString()}},lF={...lk,_tag:"Named",[tr](){return tl(`Named:${this.id}`)},[tf](e){return lO(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},lU={...lk,_tag:"Offset",[tr](){return tl(`Offset:${this.offset}`)},[tf](e){return lO(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${l1(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},lv=(e,t,r)=>{let i=Object.create(lM);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},lT=e=>e7(e,lw),lL=e=>lT(e[0]),lO=e=>e7(e,lD),lH=((e,t)=>e.epochMilliseconds===t.epochMilliseconds,e=>{let t=Object.create(lR);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t}),lP=e=>{let t=e.getTime();if(Number.isNaN(t))throw new a0("Invalid date");return lH(t)},lY=e=>{if(lT(e))return e;if(e instanceof Date)return lP(e);if("object"==typeof e){if("epochMilliseconds"in e)return lH(e.epochMilliseconds);let t=new Date(0);return l3(t,e),lP(t)}return"string"!=typeof e||lG(e)?lP(new Date(e)):lP(new Date(e+"Z"))},lG=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),lz=ih((e,t)=>{let r,i=t?.timeZone;if(void 0===i&&lT(e)&&"Zoned"===e._tag)return e;let s=lY(e);if(s.epochMilliseconds<-86399999568e5||s.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${s.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=lW(-60*new Date(s.epochMilliseconds).getTimezoneOffset()*1e3);else if(lO(i))r=i;else if("number"==typeof i)r=lW(i);else{let e=lX(i);if(r4(e))throw new a0(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?lv(s.epochMilliseconds,r,s.partsUtc):l5(s.epochMilliseconds,r,t?.disambiguation??"compatible")}),lq=ih(lY),lV=/^(.{17,35})\[(.+)\]$/,l_=((e,t,r)=>r?.adjustForTimeZone===!0?l5(e.epochMilliseconds,t,r?.disambiguation??"compatible"):lv(e.epochMilliseconds,t,e.partsUtc),new Map),lJ={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},lW=e=>{let t=Object.create(lU);return t.offset=e,t},lj=ih(e=>{if(l_.has(e))return l_.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...lJ,timeZone:e});let r=t.resolvedOptions().timeZone;if(l_.has(r))return l_.get(r);let i=Object.create(lF);return i.id=r,i.format=t,l_.set(r,i),i}catch{throw new a0(`Invalid time zone: ${e}`)}}),lK=/^(?:GMT|[+-])/,lX=e=>{if(lK.test(e)){let t=l8(e);return null===t?r2():r3(lW(t))}return lj(e)},lZ=e=>new Date(e.epochMilliseconds),l$=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},l0=e=>l$(e).getTime()-l2(e),l1=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},l2=e=>e.epochMilliseconds,l3=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},l5=(e,t,r)=>{if("Offset"===t._tag)return lv(e-t.offset,t);let i=l9(e-864e5,e,t),s=l9(e+864e5,e,t);if(i===s)return lv(e-i,t);let n=i-s;if(i<s){if(l9(e-s,e,t)===s)return lv(e-s,t);let n=lv(e-i,t);if(e!==l$(n).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return lv(e-s,t)}return n}if(l9(e-i,e,t)===i){if("earlier"===r||"compatible"===r||l9(e-i+n,e+n,t)===i)return lv(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return lv(e-s,t)},l4=/([+-])(\d{2}):(\d{2})$/,l8=e=>{let t=l4.exec(e);if(null===t)return null;let[,r,i,s]=t;return("+"===r?1:-1)*(60*Number(i)+Number(s))*6e4},l9=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let s=l8(i);return null===s?l0(lv(t,r)):s},l6=ez(lL,(e,t,r)=>{if("Utc"===e._tag){let r=lZ(e);return t(r),lH(r.getTime())}let i=new Date(l$(e).getTime());return t(i),l5(i.getTime(),e.zone,r?.disambiguation??"compatible")}),l7=((e,t)=>l7(e,e=>{let r=new Date(e);return t(r),r.getTime()}),ez(2,(e,t)=>{let r=t(l2(e));return"Utc"===e._tag?lH(r):lv(r,e.zone)})),ce=((e,t)=>t(l$(e)),ez(2,(e,t)=>t(lZ(e)))),ct=(e,t)=>{e.setTime(e.getTime()+t)},cr=((e,t)=>l6(e,e=>{if(t.milliseconds&&ct(e,t.milliseconds),t.seconds&&ct(e,1e3*t.seconds),t.minutes&&ct(e,60*t.minutes*1e3),t.hours&&ct(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=l$(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${l1(l0(e))}`}),ci=e=>"Offset"===e.zone._tag?cr(e):`${cr(e)}[${e.zone.id}]`,cs="~effect/encoding/EncodingError";class cn extends lS("EncodingError"){[cs]=cs}let co=e=>"string"==typeof e?cd(cA.encode(e)):cd(e),ca=e=>{let t=cc(e),r=t.length;if(r%4!=0)return rz(new cn({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return rz(new cn({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,s=0;e<r;e+=4,s+=3){let r=cg(t.charCodeAt(e))<<18|cg(t.charCodeAt(e+1))<<12|cg(t.charCodeAt(e+2))<<6|cg(t.charCodeAt(e+3));i[s]=r>>16,i[s+1]=r>>8&255,i[s+2]=255&r}return rq(i)}catch(e){return rz(new cn({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},cA=new TextEncoder,cl=new TextDecoder,cc=e=>e.replace(/[\n\r]/g,""),cd=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=cu[e[t-2]>>2],i+=cu[(3&e[t-2])<<4|e[t-1]>>4],i+=cu[(15&e[t-1])<<2|e[t]>>6],i+=cu[63&e[t]];return t===r+1&&(i+=cu[e[t-2]>>2],i+=cu[(3&e[t-2])<<4],i+="=="),t===r&&(i+=cu[e[t-2]>>2],i+=cu[(3&e[t-2])<<4|e[t-1]>>4],i+=cu[(15&e[t-1])<<2],i+="="),i};function cg(e){if(e>=ch.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=ch[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let cu=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],ch=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],cm=e=>cd(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),cp=e=>{let t="";for(let r=0;r<e.length;++r)t+=cI[e[r]];return t},cC=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},cI=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function cf(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}let cE=eX(e=>{let t=(e.checks?e.checks[e.checks.length-1].annotations:e.annotations)?.identifier;return"string"==typeof t?t:e.getExpected(cE)}),cB=new WeakMap,cy=e=>{if(cB.has(e))return cB.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))},cQ="~effect/data/Redacted",cN=(e,t)=>{let r=Object.create(cb);return t?.label&&(r.label=t.label),cB.set(r,e),r},cb={[cQ]:{_A:e=>e},label:void 0,...t0,toJSON(){return this.toString()},toString(){return`<redacted${e0(this.label)?":"+this.label:""}>`},[tr](){return ti(cB.get(this))},[tf](e){return e7(e,cQ)&&tE(cB.get(this),cB.get(e))}},cS="~effect/SchemaIssue/Issue";class cw{[cS]=cS;toString(){return cz(this)}}class cD extends cw{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class cx extends cw{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class cR extends cw{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class cM extends cw{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class ck extends cw{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class cF extends cw{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class cU extends cw{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class cv extends cw{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class cT extends cw{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class cL extends cw{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class cO extends cw{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function cH(e,t){if(e7(t,cS))return t;if("string"==typeof t)return new cv(r3(e),{message:t});let r="string"==typeof t.issue?new cv(r3(e),{message:t.issue}):t.issue;return new cR(t.path,r)}let cP=e=>{let t=cV(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return cG(cE(e.ast),cJ(e.actual));case"InvalidValue":return`Invalid data ${cJ(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${tU(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${tU(e.actual)}`}},cY=e=>cV(e.issue)??cV(e);function cG(e,t){return`Expected ${e}, got ${t}`}let cz=e=>(function e(t,r,i,s){switch(t._tag){case"Filter":{let n=s(t);if(void 0!==n)return[{path:r,message:n}];if("InvalidValue"===t.issue._tag)return[{path:r,message:cG(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),tU(t.actual))}];return e(t.issue,r,i,s)}case"Encoding":return e(t.issue,r,i,s);case"Pointer":return e(t.issue,[...r,...t.path],i,s);case"Composite":return t.issues.flatMap(t=>e(t,r,i,s));case"AnyOf":{let n=cV(t);if(0===t.issues.length){if(void 0!==n)return[{path:r,message:n}];return[{path:r,message:cG(cE(t.ast),tU(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,s))}default:return[{path:r,message:i(t)}]}})(e,[],cP,cY).map(cq).join("\n");function cq(e){let t=e.message;if(e.path&&e.path.length>0){let r=e.path.map(e=>`[${tT(e)}]`).join("");t+=` + at ${r}`}return t}function cV(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return c_(e.ast.annotations);case"InvalidValue":case"Forbidden":return c_(e.annotations);case"MissingKey":return c_(e.annotations,"messageMissingKey");case"UnexpectedKey":return c_(e.ast.annotations,"messageUnexpectedKey");case"Filter":return c_(e.filter.annotations);case"Encoding":return cV(e.issue)}}function c_(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function cJ(e){return r4(e)?"no value provided":tU(e.value)}function cW(e){let t;for(let r of e.reasons){if(!rn(r)||!e7(r.error,cS))return;t??=r.error}return t}function cj(e,t){let r=cW(e);if(void 0===r)throw Error(t,{cause:e});return r}class cK extends eG{run;constructor(e){super(),this.run=e}map(e){return new cK((t,r)=>this.run(t,r).pipe(of(iC(e))))}compose(e){return cZ(this)?e:cZ(e)?this:new cK((t,r)=>this.run(t,r).pipe(oC(t=>e.run(t,r))))}}let cX=new cK(n0);function cZ(e){return e.run===cX.run}function c$(e){var t;return t=iC(e),new cK(e=>n0(t(e)))}function c0(e){var t;return t=(t,r)=>e(t,r).pipe(of(r3)),new cK((e,r)=>r4(e)?n8:t(e.value,r))}function c1(){return c$(globalThis.String)}function c2(){return c$(globalThis.Number)}class c3{_tag="Middleware";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new c3(this.encode,this.decode)}}let c5="~effect/SchemaTransformation/Transformation";class c4{[c5]=c5;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new c4(this.encode,this.decode)}compose(e){return new c4(this.decode.compose(e.decode),e.encode.compose(this.encode))}}let c8=e=>e7(e,c5)?e:new c4(e.decode,e.encode);function c9(e){return new c4(c0(e.decode),c0(e.encode))}let c6=new c4(cX,cX),c7=new c4(c2(),c1()),de=new c4(c$(globalThis.BigInt),c1());c$(e=>new globalThis.Date(e));let dt=e=>{let t;return"object"!=typeof e||null===e||Array.isArray(e)||"string"!=typeof e.message?e:(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:dt(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t)};function dr(e){return t=>t._tag===e}c0(e=>oE(n5(ca(e)),t=>new cv(r3(e),{message:t.message}))),c$(co),c0(e=>rJ(r_(ca(e),e=>cl.decode(e)),{onFailure:t=>rp(new cv(r3(e),{message:t.message})),onSuccess:n0})),c$(co),c0(e=>rJ(r_((e=>{let t=cc(e),r=t.length;if(r%4==1)return rz(new cn({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return rz(new cn({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return ca(i=i.replace(/-/g,"+").replace(/_/g,"/"))})(e),e=>cl.decode(e)),{onFailure:t=>rp(new cv(r3(e),{message:t.message})),onSuccess:n0})),c$(e=>"string"==typeof e?cm(cA.encode(e)):cm(e)),c0(e=>rJ(r_((e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return rz(new cn({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=cC(t[2*i]),s=cC(t[2*i+1]);r[i]=e<<4|s}return rq(r)}catch(t){return rz(new cn({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}})(e),e=>cl.decode(e)),{onFailure:t=>rp(new cv(r3(e),{message:t.message})),onSuccess:n0})),c$(e=>"string"==typeof e?cp(cA.encode(e)):cp(e)),c0(e=>{try{return n0(globalThis.decodeURIComponent(e))}catch(t){return rp(new cv(r3(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}}),c$(encodeURIComponent);let di=dr("Declaration"),ds=dr("Never"),dn=dr("Literal"),da=dr("UniqueSymbol"),dA=dr("Arrays"),dl=dr("Objects"),dc=dr("Union");class dd{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let dg={};class du{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let dh="~effect/Schema";class dm{[dh]=dh;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class dp extends dm{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.typeParameters=e,this.run=t,this.encodingChecks=o}getParser(){let e=this.run(this.typeParameters);return(t,r)=>r4(t)?n8:of(e(t.value,this,r),r3)}_rebuild(e,t,r){let i=d6(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new dp(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let dC=new class extends dm{_tag="Null";getParser(){return go(this,null)}getExpected(){return"null"}},dI=new dd(dC,new c4(c$(()=>void 0),c$(()=>null))),df=new class extends dm{_tag="Undefined";getParser(){return go(this,void 0)}toCodecJson(){return d0(this,[dI])}getExpected(){return"undefined"}},dE=new class extends dm{_tag="Unknown";getParser(){return ga(this,e6)}getExpected(){return"unknown"}};class dB extends dm{_tag="Literal";literal;constructor(e,t,r,i,s){if(super(t,r,i,s),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${tU(e)}`);this.literal=e}getParser(){return go(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?dy(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:dy(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function dy(e){let t=globalThis.String(e.literal);return d0(e,[new dd(new dB(t),new c4(c$(()=>e.literal),c$(()=>t)))])}let dQ=new class extends dm{_tag="String";getParser(){return ga(this,e0)}matchPart(e,t){return gA(this,e,t)}getExpected(){return"string"}};function dN(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return dN(e.checks,t)}})}let db=new class extends dm{_tag="Number";getParser(){return ga(this,e1)}matchKey(e,t){return this._match(gu,e,t)}matchPart(e,t){return this._match(gg,e,t)}_match(e,t,r){return e.test(t)?gA(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(dN(this.checks,"isFinite")||dN(this.checks,"isInt"))?this:d0(this,[dJ])}toCodecStringTree(){return this.checks&&(dN(this.checks,"isFinite")||dN(this.checks,"isInt"))?d0(this,[gm]):d0(this,[gp])}getExpected(){return"number"}},dS=new class extends dm{_tag="Symbol";getParser(){return ga(this,e5)}matchKey(e,t){return gA(this,e,t)}toCodecStringTree(){return d0(this,[gE])}getExpected(){return"symbol"}},dw=new class extends dm{_tag="BigInt";getParser(){return ga(this,e3)}matchPart(e,t){return gC.test(e)?gA(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return d0(this,[gI])}getExpected(){return"bigint"}},dD=aE({onItem(e,t,r){let i=r<e.len?r3(t):r2();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return dR(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(gr(t.ast))return;let r=new cR([i],new cM(t.ast.context?.annotations));if("all"!==e.options.errors)return rp(new cF(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),dx=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,dR=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let s=cW(i.cause);if(void 0===s)return rm(nR(i.cause,i=>new cF(t,e.oinput,[new cR([r],i)])));let n=new cR([r],s);if("all"!==e.options.errors)return rp(new cF(t,e.oinput,[n]));e.issues?e.issues.push(n):e.issues=[n]},dM="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class dk{name;type;constructor(e,t){this.name=e,this.type=t}}function dF(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(dF);default:return!1}}class dU{parameter;type;merge;constructor(e,t,r){if(!(dF(e)&&dF(gs(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,gr(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class dv extends dm{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=o;let a=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(a.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(a)}. ts(2300)`)}getParser(e){let t=this,r=[],i=new Set,s=[];for(let n of t.propertySignatures)r.push(n.name),i.add(n.name),s.push({ps:n,parser:e(n.type),name:n.name,type:n.type});let n=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return ga(t,e9);let o=n>0?aE({onItem:A3(function*(r,[s,n]){let o=e(gl(n.parameter))(r3(s),r.options),a=op(o)?o:yield*oZ(o);if("Failure"===a._tag){let e=dR(r,t,s,a);e&&(yield*e);return}let A=r3(r.input[s]),l=e(n.type)(A,r.options),c=op(l)?l:yield*oZ(l);if("Failure"===c._tag){let e=dR(r,t,s,c);e&&(yield*e);return}if("Some"===a.value._tag&&"Some"===c.value._tag){let e=a.value.value;if(i.has(s)||i.has(e))return;let t=c.value.value;if(n.merge&&n.merge.decode&&Object.hasOwn(r.out,e)){let[i,s]=n.merge.decode.combine([e,r.out[e]],[e,t]);cf(r.out,i,s)}else cf(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return A3(function*(e,a){let A;if("None"===e._tag)return e;let l=e.value;if(!("object"==typeof l&&null!==l&&!Array.isArray(l)))return yield*rp(new cU(t,e));let c={},d={ast:t,oinput:e,input:l,out:c,issues:void 0,options:a},g="all"===a.errors,u="error"===a.onExcessProperty,h="preserve"===a.onExcessProperty;if(0===t.indexSignatures.length&&(u||h)){A=Reflect.ownKeys(l);for(let r=0;r<A.length;r++){let s=A[r];if(!i.has(s))if(u){let r=new cR([s],new ck(t,l[s]));if(!g)return yield*rp(new cF(t,e,[r]));d.issues?d.issues.push(r):d.issues=[r];continue}else cf(c,s,l[s])}}let m=dx(a?.concurrency),p=dT(d,s,m);if(p&&(yield*p),o){let e=se();for(let r=0;r<n;r++){let i=t.indexSignatures[r],s=function(e,t,r=dg){let i,s;return function t(n){switch(n._tag){case"String":case"TemplateLiteral":return(i??=Object.keys(e)).filter(e=>void 0!==n.matchPart(e,r));case"Number":return(i??=Object.keys(e)).filter(e=>void 0!==n.matchKey(e,r));case"Symbol":return(s??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==n.matchKey(e,r));case"Union":return[...new Set(n.types.flatMap(t))];default:return[]}}(gl(gs(t)))}(l,i.parameter,a);for(let t=0;t<s.length;t++){let r=s[t];e.push([r,i])}}let r=o(d,e,m);r&&(yield*r)}if(d.issues)return yield*rp(new cF(t,e,d.issues));if("original"===a.propertyOrder){let e=(A??Reflect.ownKeys(l)).concat(r),t={};for(let r of e)Object.hasOwn(c,r)&&cf(t,r,c[r]);return r3(t)}return r3(c)})}_rebuild(e,t,r,i,s){let n=d6(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new dk(t.name,r)}),o=d6(this.indexSignatures,i=>{let s=t(i.parameter),n=e(i.type),o=r?i.merge?.flip():i.merge;return s===i.parameter&&n===i.type&&o===i.merge?i:new dU(s,n,o)});return n===this.propertySignatures&&o===this.indexSignatures&&i===this.checks&&s===this.encodingChecks?this:new dv(n,o,this.annotations,i,void 0,this.context,s)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let dT=aE({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?r3(e.input[t.name]):r2();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return dR(e,e.ast,t.name,r);if("Some"===r.value._tag)cf(e.out,t.name,r.value.value);else if(!gr(t.type)){let r=new cR([t.name],new cM(t.type.context?.annotations));return"all"!==e.options.errors?rp(new cF(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function dL(e,t){return e?t?[...e,...t]:e:t}function dO(e,t,r){return new dv(Reflect.ownKeys(e).map(t=>new dk(t,e[t].ast)),[],r,t)}function dH(e){return e.ast}function dP(e,t,r){return new dq(e.map(dH),t,void 0,r)}function dY(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!gr(t)){if(dn(t))return[{key:e.name,literal:t.literal}];if(da(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>dn(e)&&!gr(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return dY(e.thunk())}}let dG=new WeakMap;function dz(e){return t=>{let r=gs(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class dq extends dm{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.types=e,this.mode=t,this.encodingChecks=o}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return n0(r);let s=r.value,n=function(e,t){let r=function(e){let t=dG.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=gs(e[r]);if(ds(i))continue;let s=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),n=dY(i);for(let e of(t.byType??={},s))(t.byType[e]??=[]).push(r);if(n.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,n)){let s=t.bySentinel.get(e);s||t.bySentinel.set(e,s=new Map);let n=s.get(i);n||s.set(i,n=[]),n.push(r)}else for(let e of(t.otherwise??={},s))(t.otherwise[e]??=[]).push(r)}return dG.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let s=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(s);for(let[t,s]of r.bySentinel)if(Object.hasOwn(e,t)){let r=s.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(dz(e))}return s.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(dz(e))}(s,t.types),o={ast:t,recur:e,oinput:r,input:s,out:void 0,successes:[],issues:void 0,options:i},a=dx(i?.concurrency),A=dV(o,n,a?{...a,orderedStep:!0}:void 0);return A?oh(A,e=>o.out?n0(o.out):rp(new cL(t,s,o.issues??[]))):o.out?n0(o.out):rp(new cL(t,s,o.issues??[]))}}_rebuild(e,t,r){let i=d6(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new dq(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=gs(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(dn);if(t.length>0)return`${dW(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>dn(e.type));if(t.length>0)return`{ ${t.map(t=>`${dW(t.type.context?.isMutable)}${tT(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let dV=aE({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=cW(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),rp(new cO(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return oN}}}),d_=new dq([new dB("Infinity"),new dB("-Infinity"),new dB("NaN")],"anyOf"),dJ=new dd(new dq([db,d_],"anyOf"),new c4(c2(),c$(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function dW(e){return e?"":"readonly "}class dj extends eG{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new dj(this.run,{...this.annotations,...e},this.aborted)}abort(){return new dj(this.run,this.annotations,!0)}and(e,t){return new dK([this,e],t)}}class dK extends eG{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new dK(this.checks,{...this.annotations,...e})}and(e,t){return new dK([this,e],t)}}function dX(e,t,r=!1){return new dj((t,r,i)=>(function(e,t,r){if(Array.isArray(r))return r.length>0?1===r.length?cH(e,r[0]):new cF(t,r3(e),sr(r,t=>cH(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new cv(r3(e)):cH(e,r)})(t,r,e(t,r,i)),t,r)}function dZ(e,t){let r=e.source;return dX(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function d$(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function d0(e,t){return e.encoding===t?e:d$(e,e=>{e.encoding.value=t})}function d1(e,t){return e.context===t?e:d$(e,e=>{e.context.value=t})}function d2(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return d3(e,i4(e.checks.slice(0,-1),r.annotate(t)))}return d$(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function d3(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:d$(e,e=>{e.checks.value=t})}function d5(e,t){return d3(e,dL(e.checks,t))}function d4(e,t){let r=e[e.length-1],i=t(r.to);return i!==r.to?i4(e.slice(0,e.length-1),new dd(i,r.transformation)):e}function d8(e){return eX(function t(r){return r.encoding?d0(r,d4(r.encoding,t)):e(r)})}function d9(e,t,r){let i=new dd(e,t);return d0(r,r.encoding?[...r.encoding,i]:[i])}function d6(e,t){let r=!1,i=Array(e.length);for(let s=0;s<e.length;s++){let n=e[s],o=t(n);o!==n&&(r=!0),i[s]=o}return r?i:e}function d7(e,t){let r=e.context?new du(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new du(!1,!1,void 0,t);return d1(e,r)}let ge=e=>e.encoding?d0(e,d4(e.encoding,gt)):e;function gt(e){let t=e.context?!1===e.context.isOptional?new du(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new du(!0,!1);return ge(d1(e,t))}function gr(e){return e.context?.isOptional??!1}let gi=eX(e=>{if(e.encoding)return gi(d0(e,void 0));let t=e.recur?.(gi)??e,r=t.encodingChecks;return r?d$(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=dL(t.checks,r))}):t}),gs=eX(e=>gi(gn(e))),gn=eX(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],s=[new dd(gn(d0(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)s.unshift(new dd(gn(t[e-1].to),t[e].transformation.flip()));let n=gn(i.to);return n.encoding?d0(n,[...n.encoding,...s]):d0(n,s)}(e,e.encoding):e.flip?.(gn)??e.recur?.(gn)??e);function go(e,t){let r=n0(r3(t));return i=>"None"===i._tag?n8:i.value===t?r:rp(new cU(e,i))}function ga(e,t){return r=>"None"===r._tag?n8:t(r.value)?n0(r):rp(new cU(e,r))}function gA(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return gB(e.checks,t,i,e,r),0===i.length?t:void 0}let gl=d8(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(gl)}}),gc=d8(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(gc)}}),gd=d8(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(gd)}}),gg=new globalThis.RegExp(`^${dM}$`),gu=new globalThis.RegExp(`(?:${dM}|Infinity|-Infinity|NaN)`),gh=d5(dQ,[dZ(gg,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:gg},...void 0})]),gm=new dd(gh,c7),gp=new dd(new dq([gh,d_],"anyOf"),c7),gC=new globalThis.RegExp("^-?\\d+$"),gI=new dd(d5(dQ,[dZ(gC,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:gC},expected:"a string representing a bigint"})]),de),gf=new globalThis.RegExp("^Symbol\\((.*)\\)$"),gE=new dd(d5(dQ,[dZ(gf,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:gf},...void 0})]),new c4(c$(e=>globalThis.Symbol.for(gf.exec(e)[1])),c0(e=>void 0!==globalThis.Symbol.keyFor(e)?n0(globalThis.String(e)):rp(new cT(r3(e),{message:"cannot serialize to string, Symbol is not registered"})))));function gB(e,t,r,i,s){for(let n=0;n<e.length;n++){let o=e[n];if("FilterGroup"===o._tag)gB(o.checks,t,r,i,s);else{let e=o.run(t,i,s);if(e&&(r.push(new cD(t,o,e)),o.aborted||s?.errors!=="all"))return}}}let gy="~effect/Schema/Class",gQ=new dp([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let s=Array.isArray(t);if(!s){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let n=s?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),n&&i.add(t),n}(e))?n0(e):rp(new cU(t,r3(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new dd(dE,c6),toArbitrary:()=>e=>e.jsonValue()}),gN=new dd(new dp([],()=>(e,t)=>{let r;return(r=new Set,function e(t){return void 0===t||"string"==typeof t||!("object"!=typeof t||null===t||r.has(t))&&((r.add(t),Array.isArray(t))?t.every(e):Object.keys(t).every(r=>e(t[r])))}(e))?n0(e):rp(new cU(t,r3(e)))},{expected:"StringTree"}),c6),gb="~effect/SchemaError/SchemaError";class gS extends lS("SchemaError"){[gb]=gb;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let gw=eX(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[gy];if(e4(t)){let r=t(e.typeParameters),i=gw(r.to);return d0(e,i===r.to?[r]:[new dd(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=gw(e);return d0(r,r.encoding?[...r.encoding,...t]:t)}return gw(e)});case"Suspend":return e.recur(gw);default:return e}});function gD(e){let t=gF(gw(gi(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function gx(e){let t=gD(e);return(e,r)=>{let i=aU(t(e,r));return oy(i)?r3(i.value):(cj(i.cause,"Option adapter can only return none for schema issues"),r2())}}function gR(e,t){let r=gF(e.ast);return void 0===t?r:(e,i)=>r(e,gk(t,i))}function gM(e,t){let r=gF(gn(e.ast));return void 0===t?r:(e,i)=>r(e,gk(t,i))}let gk=(e,t)=>void 0===t?e:{...e,...t};function gF(e){let t=gL(e);return(e,r)=>oC(t(r3(e),r??dg),e=>"None"===e._tag?rp(new cv(e)):n0(e.value))}function gU(e){return(t,r)=>aU(e(t,r))}function gv(e){let t=gU(e);return(e,r)=>{let i=t(e,r);return oy(i)?rq(i.value):rz(cj(i.cause,"Result adapter can only return schema issues"))}}function gT(e,t){return oL(e,e=>AZ(()=>nR(e,t)))}let gL=eX(e=>{let t,r=e.checks,i=e.encoding,s=i?.length??0,n=e.encodingChecks,o=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!i&&!r&&!n)return(r,i)=>(t??=e.getParser(gL),o&&(i={...i,...o}),t(r,i));let a=dA(e)||dl(e)||di(e)&&e.typeParameters.length>0,A=r&&a?r.filter(e=>e.annotations?.["~structural"]):void 0;return(a,l)=>{let c;if(o&&(l={...l,...o}),i){for(let e=s-1;e>=0;e--){let t=i[e],r=gL(t.to);if(c=c?oC(c,e=>r(e,l)):r(a,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;c=oC(c,t=>e.run(t,l))}else c=t.transformation.decode(c,l)}c=gT(c,t=>new cx(e,a,t))}t??=e.getParser(gL);let d=i=>{let s=t(i,l);return n&&!l?.disableChecks&&(s=oC(s,t=>{if(r8(i)&&r8(t)){let t=[];if(gB(n,i.value,t,e,l),t.length>0)return rp(new cF(e,i,t))}return n0(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&r8(i)&&(s=gT(s,t=>{let r=[];return gB(A,i.value,r,e,l),r.length>0?"Composite"===t._tag&&t.ast===e?new cF(e,t.actual,[...t.issues,...r]):new cF(e,i,[t,...r]):t})),s=oC(s,t=>{if(r8(t)){let i=t.value,s=[];if(gB(r,i,s,e,l),s.length>0)return rp(new cF(e,t,s))}return n0(t)})),s};return c?oC(c,d):d(a)}}),gO="~effect/Schema/Schema",gH={[gO]:gO,pipe(){return eP(this,arguments)},annotate(e){return this.rebuild(d2(this.ast,e))},annotateKey(e){return this.rebuild(d7(this.ast,e))},check(...e){return this.rebuild(d5(this.ast,e))}};function gP(e){return oL(e,e=>AZ(()=>nR(e,e=>new gS(e))))}function gY(){return(e,t,r)=>gz(new dp(e.map(dH),e=>t(e.map(e=>gz(e))),r))}function gG(e,t){return gY()([],()=>(t,r)=>e(t)?n0(t):rp(new cU(r,r3(t))),t)}let gz=function e(t,r){let i,s=Object.create(gH);r&&Object.assign(s,r),s.ast=t,s.rebuild=t=>e(t,r);let n=gD(s);return s.makeEffect=(e,t)=>gP(n(e,t)),i=gD(s),s.make=(e,t)=>{let r=aU(i(e,t));if(oy(r))return r.value;let s=cj(r.cause,"Constructor adapter can only throw schema issues");throw Error(s.toString(),{cause:s})},s.makeOption=gx(s),s},gq=e=>gz(gt(e.ast),{schema:e});function gV(e){let t=gz(new dB(e),{literal:e,transform:r=>t.pipe(g2(gV(r),{decode:c$(()=>r),encode:c$(()=>e)}))});return t}let g_=gz(dE),gJ=gz(dC),gW=gz(df),gj=gz(dQ),gK=gz(db);function gX(e,t){return gz(e,{fields:t,mapFields(e,t){let r=e(this.fields);return gX(dO(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function gZ(e){return gX(dO(e,void 0),e)}function g$(e,t){return function e(t,r){return gz(t,{members:r,mapMembers(t,r){let i=t(this.members);return e(dP(i,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(dP(e,t?.mode??"anyOf",void 0),e)}function g0(e){let t=e.map(gV);return gz(dP(t,"anyOf",void 0),{literals:e,members:t,mapMembers(e){return g$(e(this.members))},pick:e=>g0(e),transform:e=>g$(t.map((t,r)=>t.transform(e[r])))})}let g1=e=>g$([e,gJ]);function g2(e,t){return r=>{var i,s;return gz((i=r.ast,s=e.ast,d9(i,t?c8(t):c6,s)),{from:r,to:e})}}function g3(e){var t;return gV(e).pipe((t=n0(e),e=>{var r,i;let s,n;return gz((r=e.ast,s=[new dd(dE,new c4((i=oL(t,e=>AZ(()=>nR(e,e=>e.issue))),new cK(e=>{let t=iO(e,e8);return r8(t)?n0(t):of(i,r3)})),cX))],n=r.context?new du(r.context.isOptional,r.context.isMutable,s,r.context.annotations):new du(!1,!1,s),d1(r,n)),{schema:e})}))}let g5=[];function g4(e){var t,r;let i,s,n=e?.includeStack===!0|2*(e?.excludeCause===!0),o=g5[n];if(void 0!==o)return o;let a=uA.pipe(g2(g_,new c4(c$((r={decode:dt,encode:(t=(e=>{switch(e){case 0:return;case 1:return{includeStack:!0};case 2:return{excludeCause:!0};case 3:return{includeStack:!0,excludeCause:!0}}})(n),i=new WeakSet,s=e=>{if(e instanceof Error){var r;let n;if(i.has(e))return"[Circular]";i.add(e);let o=(r=s,n={name:e.name,message:"string"==typeof e.message?e.message:""},t?.includeStack&&"string"==typeof e.stack&&(n.stack=e.stack),t?.excludeCause||void 0===e.cause||(n.cause=r(e.cause)),n);return i.delete(e),o}try{let t=tO(e);return void 0===t?tU(e):JSON.parse(t)}catch{return tU(e)}})}).decode),c$(r.encode))));return g5[n]=a,a}dX(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0});dX(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0}),dX(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...void 0});let g8=globalThis.Symbol.for("immer-draftable"),g9={};function g6(e,t,r,i,s){var n,o,a;let A,l=(n=r,o=t,a=i,e=>{if(void 0!==A)return A;let t=new c4(c$(t=>new e(t)),cX);return A=g2(gz(new dp([n.ast],()=>(t,r)=>t instanceof e||e7(t,g7(o))?n0(t):rp(new cU(r,r3(t))),{identifier:o,[gy]:([e])=>new dd(e,t),toCodec:([e])=>new dd(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":dY(n.ast),...a})),t)(n)}),c=g7(t),d=class extends e{constructor(...[e,t]){let i=t?.["~payload"],s=i?.token===g9?i.value:r.make(e??{},t);super(s,{...t,disableChecks:!0,"~payload":{token:g9,value:s}})}static [gO]=gO;get[c](){return c}static [g8]=!0;static identifier=t;static fields=r.fields;static get ast(){return l(this).ast}static pipe(){return eP(this,arguments)}static rebuild(e){return l(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return gx(l(this))(e??{},t)}static makeEffect(e,t){return l(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(d2(this.ast,e))}static annotateKey(e){return this.rebuild(d7(this.ast,e))}static check(...e){return this.rebuild(d5(this.ast,e))}static extend(e){return(t,i)=>{let n=ue(t)?t:gZ(t),o={...r.fields,...n.fields},a=dO(o,r.ast.checks,{identifier:e});return g6(this,e,gX(d5(a,n.ast.checks),o),i,s)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==s&&Object.assign(d.prototype,s(t)),d}function g7(e){return`~effect/Schema/Class/${e}`}function ue(e){return e7(e,gO)&&e[gO]===gO}let ut=e=>(t,r)=>g6(lN,e,ue(t)?t:gZ(t),r,e=>({toString(){return`${e}(${tU({...this})})`}})),ur=e=>(t,r,i)=>{let s,n=ue(r)?r.mapFields(e=>({_tag:g3(t),...e}),{unsafePreserveChecks:!0}):gZ({_tag:g3(t),...r});return(s=e??t,(e,t)=>g6(rE,s,ue(e)?e:gZ(e),t,e=>({name:e})))(n,i)},ui=(ee=function(e){switch(e._tag){case"Null":case"Boolean":case"Number":case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(gs(e[r]),r);let r=[...e].sort((e,r)=>{e=gs(e),r=gs(r);let i=ee(e),s=ee(r);return i!==s?i-s:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e}),us=new dd(new dB("null"),new c4(c$(()=>null),c$(()=>"null"))),un=new dd(new dq([new dB("true"),new dB("false")],"anyOf"),new c4(c$(e=>"true"===e),c1())),uo=d8(e=>{if(dc(e)&&e.annotations?.["~effect/Schema/SERIALIZER_ENSURE_ARRAY"]===!0)return e;let t=function(e,t,r){switch(e._tag){case"Declaration":{let i=e.annotations?.toCodecJson??e.annotations?.toCodec;if(e4(i)){let r=i(di(e)?e.typeParameters.map(e=>gz(t(gs(e)))):[]),s=t(r.to);return d0(e,s===r.to?[r]:[new dd(s,r.transformation)])}return r(e)}case"Null":return d0(e,[us]);case"Boolean":return d0(e,[un]);case"Unknown":case"ObjectKeyword":return d0(e,[gN]);case"Enum":case"Number":case"Literal":case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,gc);case"Union":{let r=ui(e.types);if(r!==e.types)return new dq(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,uo,e=>d0(e,[ua]));return t!==e&&gr(e)?ge(t):t}),ua=new dd(df,new c4(cX,c$(()=>void 0))),uA=gz(gQ);var ul=class extends ur()("BlobEnvelopeError",{reason:g0(["notAnEnvelope","unsupportedVersion","truncated","metadataDecodeFailed","metadataEncodeFailed"]),version:gq(gK),cause:gq(g4())}){get message(){switch(this.reason){case"notAnEnvelope":return"Bytes are not an @effected/github-actions blob envelope";case"unsupportedVersion":return`Blob envelope version ${this.version} is not supported`;case"truncated":return"Blob envelope is truncated";case"metadataDecodeFailed":return"Blob envelope metadata did not satisfy the schema";default:return"Blob metadata could not be encoded"}}};let uc=Uint8Array.from([69,70,66,83]),ud=uc.length+1+4;var ug=class{static version=1;static encodeResult(e,t,r){let i,s=(i=gv(gM(r,void 0)),(e,t)=>rV(i(e,t),e=>new gS(e)))(e);if(rY(s))return rz(new ul({reason:"metadataEncodeFailed",cause:s.failure}));let n=new TextEncoder().encode(JSON.stringify(s.success)),o=new Uint8Array(ud+n.length+t.length);return o.set(uc,0),o[uc.length]=1,new DataView(o.buffer).setUint32(uc.length+1,n.length,!1),o.set(n,ud),o.set(t,ud+n.length),rq(o)}static decodeResult(e,t){let r,i;if(e.length<uc.length||!uc.every((t,r)=>e[r]===t))return rz(new ul({reason:"notAnEnvelope"}));if(e.length<ud)return rz(new ul({reason:"truncated"}));let s=e[uc.length]??0;if(1!==s)return rz(new ul({reason:"unsupportedVersion",version:s}));let n=new DataView(e.buffer,e.byteOffset).getUint32(uc.length+1,!1);if(e.length<ud+n)return rz(new ul({reason:"truncated"}));let o=new TextDecoder().decode(e.subarray(ud,ud+n));try{r=JSON.parse(o)}catch(e){return rz(new ul({reason:"metadataDecodeFailed",cause:e}))}let a=(i=gv(gR(t,void 0)),(e,t)=>rV(i(e,t),e=>new gS(e)))(r);return rY(a)?rz(new ul({reason:"metadataDecodeFailed",cause:a.failure})):rq({metadata:a.success,body:e.slice(ud+n)})}},uu=o(7598);let uh="AWS4-HMAC-SHA256",um=e=>(0,uu.createHash)("sha256").update(e).digest("hex"),up=(e,t)=>new Uint8Array((0,uu.createHmac)("sha256",e).update(t).digest()),uC=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),uI="~effect/platform/PlatformError";class uf extends lS("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class uE extends lb{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class uB extends lS("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[uI]=uI;get message(){return this.reason.message}}let uy=e=>new uB(new uE(e)),uQ=e=>new uB(new uf(e)),uN=Symbol.for("effect/MutableList/Empty"),ub=()=>({array:[],mutable:!0,offset:0,next:void 0}),uS=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=ub(),e.tail=e.tail.next):e.head=e.tail=ub(),e.tail.array.push(t),e.length++},uw=e=>{e.head=e.tail=void 0,e.length=0},uD=e=>{if(!e.head)return uN;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:uw(e)),t},ux={_A:eq,_E:eq},uR={"~effect/Queue":ux,"~effect/Queue/Enqueue":ux,"~effect/Queue/Dequeue":ux,...t0,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:uv(this)}}},uM=(e,t)=>n3(()=>{if("Open"!==e.state._tag)return uT;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return uT;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return uS(e.messages,t),uP(e),uL;return uz(e,t);case"sliding":return uD(e.messages),uS(e.messages,t),uL}return uS(e.messages,t),uY(e),uL}),uk=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=oD(rm(t),uO);return 0===e.state.offers.size&&0===e.messages.length?u_(e,r):e.state={...e.state,_tag:"Closing",exit:r},!0},uF=e=>uU(e,1,1/0),uU=(e,t,r)=>n3(()=>uG(e,t,r)??oc(uV(e),uU(e,1,r))),uv=e=>"Done"===e.state._tag?0:e.messages.length,uT=rg(!1),uL=rg(!0),uO=rp(rN()),uH=rm(nS(void 0)),uP=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(oN),0===e.messages.length)break}},uY=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>uP(e),0))},uG=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return rg([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,uq(e),e.capacity=0;let t=[uD(e.messages)];return uq(e),rg(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return uw(e),t}let r=Array(t),i=0,s=e.head;for(;s;){for(;s.offset<s.array.length;)if(r[i++]=s.array[s.offset],s.mutable&&(s.array[s.offset]=void 0),s.offset++,i===t)return e.head=s,e.length-=t,0===e.length&&uw(e),r;s=s.next}return uw(e),r})(e.messages,r);return uq(e),rg(t)}},uz=(e,t)=>oi(r=>{if("Open"!==e.state._tag)return r(uT);let i={_tag:"Single",message:t,resume:r};return e.state.offers.add(i),n2(()=>{"Open"===e.state._tag&&e.state.offers.delete(i)})}),uq=e=>{if("Done"===e.state._tag)return e.state.exit.cause.reasons.some(Ao);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(u_(e,e.state.exit),e.state.exit.cause.reasons.some(Ao));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)uS(e.messages,r.message),t--,r.resume(uL),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;uS(e.messages,r.remaining[r.offset]),t--}r.resume(rg([])),e.state.offers.delete(r)}return!1},uV=e=>oi(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),n2(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),u_=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let i of(e.state={_tag:"Done",exit:t},r.takers))i(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()},uJ={"~effect/Channel":{_Env:eq,_InErr:eq,_InElem:eq,_OutErr:eq,_OutElem:eq},pipe(){return eP(this,arguments)}},uW=e=>{let t=Object.create(uJ);return t.transform=(t,r)=>oL(e(t,r),e=>n0(n1(e))),t},uj=e=>uW((t,r)=>e),uK=e=>uW((t,r)=>{let i;return n0(n3(()=>i||e.pipe(at(r),oh(e=>(0,e.transform)(t,r)),oh(e=>i=e))))}),uX=ez(2,(e,t)=>{let r;return r=(r,i,s)=>o8(s,t).pipe(oc((0,e.transform)(r,i))),uW(on(function*(e,t){let i=AN(t),s=e=>{let t;return o3(i,rY(t=Aa(e))?rm(t.failure):rg(t.success.value))},n=yield*an(r(e,t,i),s);return an(n,s)}))}),uZ=ez(2,(e,t)=>uX(e,e=>t)),u$=ez(2,(e,t)=>{let r;return r=e=>oT(oh(e,t),{disableYield:!0}),n3(()=>{let t=o7();return An(oh((0,e.transform)(As(),t),r),n0).pipe(ai(e=>o3(t,e)))})}),u0=n0([void 0]),u1={"~effect/Sink":{_A:eq,_In:eq,_L:eq,_E:eq,_R:eq},pipe(){return eP(this,arguments)}},u2=e=>{let t=Object.create(u1);return t.transform=e,t},u3=e=>uW((t,r)=>n0(oh(e.transform(t,r),As))),u5=e=>{let t;return t=uK(oI(e,u3)),u2((e,r)=>(0,t.transform)(e,r).pipe(oh(oT({disableYield:!0})),An(n0)))},u4={"~effect/Stream":{_R:eq,_E:eq,_A:eq},pipe(){return eP(this,arguments)}},u8=e=>{let t=Object.create(u4);return t.channel=e,t},u9=e=>e.channel,u6=e=>u8(uj(n0(rp(e)))),u7=e=>u8(uK(oI(e,u9))),he=ez(2,(e,t)=>u8(uZ(e.channel,t))),ht=ez(2,(e,t)=>u$(e.channel,t)),hr="~effect/platform/FileSystem",hi=e=>"bigint"==typeof e?e:BigInt(e),hs=sg("effect/platform/FileSystem"),hn=(e,t)=>uy({module:"FileSystem",method:e,_tag:"NotFound",description:"No such file or directory",pathOrDescriptor:t}),ho="~effect/platform/FileSystem/File",ha=Object.assign(e=>e,{option:e=>r3(e),result:e=>rq(e),is:e=>!0});class hA extends sg()("effect/platform/FileSystem/WatchBackend"){}var hl=class extends ur()("ActionEnvironmentError",{reason:g0(["missing","malformed"]),name:gj,detail:gq(gj)}){get message(){return"missing"===this.reason?`Required environment variable "${this.name}" is not set`:`Environment variable "${this.name}" is malformed${void 0===this.detail?"":`: ${this.detail}`}`}},hc=class extends ut("GitHubContext")({repository:gj,repositoryOwner:gj,ref:gj,refName:gj,sha:gj,workflow:gj,job:gj,runId:gK,runAttempt:gK,eventName:gj,actor:gj,serverUrl:gj,apiUrl:gj,graphqlUrl:gj,workspace:gj}){},hd=class extends ut("RunnerContext")({os:gj,arch:gj,name:gj,temp:gj,toolCache:gj}){};let hg=sg("@effected/github-actions/EnvOverrides",{defaultValue:()=>({})}),hu=(e,t)=>{let r=Number(t);return Number.isFinite(r)?n0(r):rp(new hl({reason:"malformed",name:e,detail:`expected a number, got "${t}"`}))},hh=e=>AX(function*(){let t=yield*hs,r=t=>oI(hg,r=>{let i=r[t]??e[t];return void 0===i||""===i?r2():r3(i)}),i=e=>oh(r(e),t=>r8(t)?n0(t.value):rp(new hl({reason:"missing",name:e})));return{get:i,getOptional:r,isDebug:oI(r("RUNNER_DEBUG"),e=>r8(e)&&"1"===e.value),github:AX(function*(){let[e,t,r,s,n,o,a]=yield*ap([i("GITHUB_REPOSITORY"),i("GITHUB_REPOSITORY_OWNER"),i("GITHUB_REF"),i("GITHUB_REF_NAME"),i("GITHUB_SHA"),i("GITHUB_WORKFLOW"),i("GITHUB_JOB")]),A=yield*oh(i("GITHUB_RUN_ID"),e=>hu("GITHUB_RUN_ID",e)),l=yield*oh(i("GITHUB_RUN_ATTEMPT"),e=>hu("GITHUB_RUN_ATTEMPT",e)),[c,d,g,u,h,m]=yield*ap([i("GITHUB_EVENT_NAME"),i("GITHUB_ACTOR"),i("GITHUB_SERVER_URL"),i("GITHUB_API_URL"),i("GITHUB_GRAPHQL_URL"),i("GITHUB_WORKSPACE")]);return hc.make({repository:e,repositoryOwner:t,ref:r,refName:s,sha:n,workflow:o,job:a,runId:A,runAttempt:l,eventName:c,actor:d,serverUrl:g,apiUrl:u,graphqlUrl:h,workspace:m})}),runner:AX(function*(){let[e,t,r,s,n]=yield*ap([i("RUNNER_OS"),i("RUNNER_ARCH"),i("RUNNER_NAME"),i("RUNNER_TEMP"),i("RUNNER_TOOL_CACHE")]);return hd.make({os:e,arch:t,name:r,temp:s,toolCache:n})}),payload:AX(function*(){let e=yield*i("GITHUB_EVENT_PATH"),r=yield*t.readFileString(e).pipe(oq(t=>new hl({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`could not read "${e}": ${String(t)}`})));return yield*oe({try:()=>JSON.parse(r),catch:e=>new hl({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`not valid JSON: ${String(e)}`})})}),withEnv:(e,t)=>oh(hg,r=>oU(t,hg,{...r,...e}))}}),hm={GITHUB_REPOSITORY:"acme/example",GITHUB_REPOSITORY_OWNER:"acme",GITHUB_REF:"refs/heads/main",GITHUB_REF_NAME:"main",GITHUB_SHA:"0000000000000000000000000000000000000000",GITHUB_WORKFLOW:"test",GITHUB_JOB:"test",GITHUB_RUN_ID:"1",GITHUB_RUN_ATTEMPT:"1",GITHUB_EVENT_NAME:"push",GITHUB_ACTOR:"tester",GITHUB_SERVER_URL:"https://github.com",GITHUB_API_URL:"https://api.github.com",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",GITHUB_WORKSPACE:"/workspace",RUNNER_OS:"Linux",RUNNER_ARCH:"X64",RUNNER_NAME:"test-runner",RUNNER_TEMP:"/tmp",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache"};var hp=class e extends sg()("@effected/github-actions/ActionEnvironment"){static layer=AO(this,oh(n2(()=>({...process.env})),hh));static layerFrom=t=>AO(e,hh(t));static makeTest=(e={})=>hh({...hm,...e});static layerTest=(t={})=>{var r;return AO(e,e.makeTest(t)).pipe(Az((r={},Av(hs)(hs.of({[hr]:hr,access:e=>rp(hn("access",e)),chmod:e=>rp(hn("chmod",e)),chown:e=>rp(hn("chown",e)),copy:e=>rp(hn("copy",e)),copyFile:e=>rp(hn("copyFile",e)),glob:e=>rp(hn("glob",e)),exists:()=>n0(!1),link:e=>rp(hn("link",e)),makeDirectory:()=>n9("not implemented"),makeTempDirectory:()=>n9("not implemented"),makeTempDirectoryScoped:()=>n9("not implemented"),makeTempFile:()=>n9("not implemented"),makeTempFileScoped:()=>n9("not implemented"),open:e=>rp(hn("open",e)),readDirectory:e=>rp(hn("readDirectory",e)),readFile:e=>rp(hn("readFile",e)),readFileString:e=>rp(hn("readFileString",e)),readLink:e=>rp(hn("readLink",e)),realPath:e=>rp(hn("realPath",e)),remove:()=>n7,rename:e=>rp(hn("rename",e)),sink:e=>{let t;return t=rp(hn("sink",e)),u2(()=>t)},stat:e=>rp(hn("stat",e)),stream:e=>u6(hn("stream",e)),symlink:e=>rp(hn("symlink",e)),truncate:e=>rp(hn("truncate",e)),utimes:e=>rp(hn("utimes",e)),watch:e=>u6(hn("watch",e)),writeFile:e=>rp(hn("writeFile",e)),writeFileString:e=>rp(hn("writeFileString",e)),...r})))))}};let hC=e=>e.replaceAll("%","%25").replaceAll("\r","%0D").replaceAll("\n","%0A");var hI=class e{static render(e,t,r){let i=Object.entries(t).filter(e=>void 0!==e[1]).map(([e,t])=>`${e}=${hC(String(t)).replaceAll(":","%3A").replaceAll(",","%2C")}`).join(",");return`${""===i?`::${e}::`:`::${e} ${i}::`}${hC(r)}`}static debug(t){return e.render("debug",{},t)}static notice(t,r={}){return e.render("notice",e.annotation(r),t)}static warning(t,r={}){return e.render("warning",e.annotation(r),t)}static error(t,r={}){return e.render("error",e.annotation(r),t)}static group(t){return e.render("group",{},t)}static endGroup(){return e.render("endgroup",{},"")}static addMask(t){return e.render("add-mask",{},t)}static annotation(e){return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}};let hf=e=>rI(t=>e(t.getRef(a4))),hE=(...e)=>hf(t=>n2(()=>{t.log(...e)}));var hB=class extends ur()("ActionOutputError",{reason:g0(["unavailable","writeFailed","invalidName","encodeFailed","detached"]),file:gq(gj),name:gq(gj),cause:gq(g4())}){get message(){switch(this.reason){case"unavailable":return`Runner file "${this.file}" is not available; is this running on a GitHub runner?`;case"writeFailed":return`Failed to write to runner file "${this.file}"`;case"invalidName":return`"${this.name}" is not a usable output name`;case"detached":return`Runner file "${this.file}" cannot be reached from a detached worker — it configures the parent job's later steps, and a worker has none and may outlive the job. Publish this from the parent process instead.`;default:return`Failed to encode the value for "${this.name}"`}}};let hy=AX(function*(){let e=yield*hp,t=yield*hs,r=(r,i)=>AX(function*(){let s=yield*e.get(r).pipe(oq(()=>new hB({reason:"unavailable",file:r})));yield*t.writeFileString(s,i,{flag:"a"}).pipe(oq(e=>new hB({reason:"writeFailed",file:r,cause:e})))}),i=(e,t,i)=>{if(!(""!==t&&!/[\r\n]/.test(t)))return rp(new hB({reason:"invalidName",file:e,name:t}));let s=(e=>{let t="EFFECTED_EOF";for(;e.includes(t);)t=`${t}_`;return t})(i);return r(e,`${t}<<${s} +${i} +${s} +`)},s=(e,t)=>i("GITHUB_OUTPUT",e,t);return{set:s,setJson:(e,t,r)=>{let i;return(i=gM(r,void 0),(e,t)=>gP(i(e,t)))(t).pipe(oq(t=>new hB({reason:"encodeFailed",name:e,cause:t})),oh(t=>s(e,JSON.stringify(t))))},summary:e=>r("GITHUB_STEP_SUMMARY",e),exportVariable:(e,t)=>i("GITHUB_ENV",e,t),addPath:e=>r("GITHUB_PATH",`${e} +`),setFailed:e=>hE(hI.error(e)),setSecret:e=>hE(hI.addMask(e))}}),hQ=e=>{throw Error(`ActionOutputs.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var hN=class e extends sg()("@effected/github-actions/ActionOutputs"){static layer=AO(this,hy);static layerDetached=Av(this,{set:e=>rp(new hB({reason:"detached",file:"GITHUB_OUTPUT",name:e})),setJson:e=>rp(new hB({reason:"detached",file:"GITHUB_OUTPUT",name:e})),summary:()=>rp(new hB({reason:"detached",file:"GITHUB_STEP_SUMMARY"})),exportVariable:e=>rp(new hB({reason:"detached",file:"GITHUB_ENV",name:e})),addPath:()=>rp(new hB({reason:"detached",file:"GITHUB_PATH"})),setFailed:e=>((...e)=>hf(t=>n2(()=>{t.error(...e)})))(e),setSecret:()=>n7});static makeTest=(e={})=>({set:()=>n2(()=>hQ("set")),setJson:()=>n2(()=>hQ("setJson")),summary:()=>n2(()=>hQ("summary")),exportVariable:()=>n2(()=>hQ("exportVariable")),addPath:()=>n2(()=>hQ("addPath")),setFailed:()=>n2(()=>hQ("setFailed")),setSecret:()=>n2(()=>hQ("setSecret")),...e});static layerTest=(t={})=>Av(e,e.makeTest(t))};let hb=sg("effect/ConfigProvider",{defaultValue:()=>(function(){var e;let t,r,i=(void 0)??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},s=false,n=function(e){let t={};for(let[r,i]of Object.entries(e)){if(void 0===i)continue;let e=r.split("_"),s=t;for(let t of e)s.children??={},s=s.children[t]??={}}return t}(i);return t={_tag:"Source",get:e=>n0(function(e,t,r,i){var s;let n=(s=t[r.map(String).join("_")],""!==s||i?s:void 0),o=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),a=o?.children?Object.keys(o.children):[];return 0===a.length?void 0===n?void 0:{_tag:"Value",value:n}:a.every(e=>hD.test(e))?{_tag:"Array",length:Math.max(...a.map(e=>parseInt(e,10)))+1,value:n}:{_tag:"Record",keys:new Set(a),value:n}}(n,i,e,s)),transform:hw},e=e=>t.get(t.transform(e)),(r=Object.create(hS)).state=t,r.load=e,r})()}),hS={...t0,toJSON:()=>({_id:"ConfigProvider"})},hw=e=>e,hD=/^(0|[1-9][0-9]*)$/,hx="~effect/Config";class hR{_tag="ConfigError";name="ConfigError";cause;constructor(e){this.cause=e}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}let hM={...sn({label:"Config",evaluate(e){return this.parse(e.getRef(hb))}}),[hx]:hx,toJSON:()=>({_id:"Config"})},hk=on(function*(e,t){let r=yield*e.load(t);if(void 0!==r)switch(r._tag){case"Value":return r.value;case"Record":{if(void 0!==r.value)return r.value;let i={};for(let s of r.keys){let r=yield*hk(e,[...t,s]);void 0!==r&&(i[s]=r)}return i}case"Array":{if(void 0!==r.value)return r.value;let i=[];for(let s=0;s<r.length;s++)i.push((yield*hk(e,[...t,s])));return i}}}),hF=on(function*(e,t,r){switch(e._tag){case"Objects":{let i=yield*t.load(r);if(void 0===i&&r.length>0)return;let s={};for(let i of e.propertySignatures){let e=i.name;if("string"==typeof e){let n=yield*hF(i.type,t,[...r,e]);void 0!==n&&(s[e]=n)}}if(e.indexSignatures.length>0&&i&&"Record"===i._tag)for(let n of e.indexSignatures){let e=function(e){let t=gU(gF(gi(e)));return e=>{let r=t(e,dg);return!!oy(r)||(cj(r.cause,"Type guard adapter can only return false for schema issues"),!1)}}(n.parameter);for(let o of i.keys)if(!Object.hasOwn(s,o)&&e(o)){let e=yield*hF(n.type,t,[...r,o]);void 0!==e&&(s[o]=e)}}return s}case"Arrays":{let i=yield*t.load(r);if(void 0===i)return;if(i&&"Value"===i._tag||i&&"Array"===i._tag&&void 0!==i.value)return""===i.value?[]:i.value.split(",");let s=[],n=i&&"Array"===i._tag?i.length:e.elements.length;for(let i=0;i<n;i++){let n=e.elements[i]??e.rest[0];void 0!==n&&s.push((yield*hF(n,t,[...r,i])))}return s}case"Union":return yield*hk(t,r);case"Suspend":return yield*hF(e.thunk(),t,r);default:{let e=yield*t.load(r);if(void 0===e)return;if("Value"===e._tag||"Record"===e._tag&&void 0!==e.value||"Array"===e._tag&&void 0!==e.value)return e.value;return}}});var hU=class e{static forChildEnv=e=>AX(function*(){let t=yield*hN,r={};for(let[i,s]of Object.entries(e)){let e=cy(s);yield*t.setSecret(e),r[i]=e}return r});static forRunnerFile=e=>AX(function*(){let t=yield*hN,r=cy(e);return yield*t.setSecret(r),r});static forSigning=t=>e.forRunnerFile(t);static adopt=e=>{var t,r;let i,s,n,o,a,A;return i=void 0,t=gz(gY()([gj],([e])=>(t,r,s)=>e7(t,cQ)?oC(void 0!==i?oE(i(t.label,s),e=>new cR(["label"],e)):n7,()=>oB(gR(e)(cy(t),s),{onSuccess:()=>t,onFailure:()=>{let e=r3(t);return new cF(r,e,[new cR(["value"],new cv(e))])}})):rp(new cU(r,r3(t))),{typeConstructor:{_tag:"effect/Redacted",options:void 0},generation:{runtime:"Schema.Redacted(?)",Type:"Redacted.Redacted<?>",importDeclaration:'import * as Redacted from "effect/Redacted"'},expected:"Redacted",toCodecJson:([e])=>{var t,r;let i,s;return t=e,i=(r=oE(function e(t){switch(t._tag){case"MissingKey":return t;case"Forbidden":return new cT(iC(t.actual,cN),t.annotations);case"Filter":return new cD(cN(t.actual),t.filter,e(t.issue));case"Pointer":return new cR(t.path,e(t.issue));case"Encoding":case"InvalidType":case"InvalidValue":case"Composite":return new cv(iC(t.actual,cN));case"AnyOf":case"OneOf":case"UnexpectedKey":return new cv(r3(cN(t.actual)))}}),e=>{var t;return gz(d9(t=e.ast,new c3(r,eq),gi(t)),{schema:e})})(t),s={decode:c$(e=>cN(e,{label:void 0})),encode:c$(cy)},new dd(i.ast,c8(s))},toArbitrary:([e])=>()=>({arbitrary:e.arbitrary.map(e=>cN(e,{label:void 0})),terminal:e.terminal?.map(e=>cN(e,{label:void 0}))}),toFormatter:()=>globalThis.String,toEquivalence:([e])=>rW((t,r)=>e(cy(t),cy(r)))}).ast,{value:gj}),n=gR(s=gz(uo(t.ast),{schema:t})),o=gs(s.ast),a="string"==typeof e?[e]:e??[],r=(e,t)=>{let r=[...t,...a];return hF(o,e,r).pipe(oC(e=>n(e).pipe(oE(e=>new gS(r.length>0?new cR(r,e):e)))),oE(e=>new hR(e)))},(A=Object.create(hM)).parse=(e,t=[])=>r(e,t),A}};let hv=Symbol.for("~effect/http/Headers"),hT=Object.defineProperties(Object.create(null),{[hv]:{value:hv},[tx]:{value(e){return hq(this,sN(e,hV))}},toJSON:{value(){return tR(this)}},[tf]:{value(e){return hO(this,e)}},[tr]:{value(){return td(this)}},toString:{value:tY.toString},[tH]:{value:tY[tH]}}),hL=e=>Object.assign(Object.create(hT),e),hO=(I=ez(2,(e,t)=>{for(let r of i2(e))if(!i0(t,r)||!rj(e[r],t[r]))return!1;return!0}),(e,t)=>I(e,t)&&I(t,e)),hH=Object.create(hT),hP=e=>{if(void 0===e)return hH;if(Symbol.iterator in e){let t=Object.create(hT);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(hT);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},hY=ez(3,(e,t,r)=>{let i=hL(e);return i[t.toLowerCase()]=r,i}),hG=ez(2,(e,t)=>hL({...e,...hP(t)})),hz=ez(2,(e,t)=>{let r=hL(e);return delete r[t.toLowerCase()],r}),hq=ez(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=cN(e[i]))}else for(let i in e)t.test(i)&&(r[i]=cN(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),hV=sg("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]}),h_="~effect/http/HttpClientError";class hJ extends lS("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[h_]=h_;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let hW=e=>e.endsWith("Error")?e.slice(0,-5):e,hj=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class hK extends lS("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return hj(hW(this._tag),this.description,this.methodAndUrl)}}class hX extends lS("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return hj(hW(this._tag),this.description,this.methodAndUrl)}}class hZ extends lS("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return hj(hW(this._tag),this.description,e)}}let h$="~effect/http/HttpBody";class h0{[h$];constructor(){this[h$]=h$}[tH](){return this.toJSON()}toString(){return tU(this,{ignoreToString:!0})}}let h1=new class extends h0{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class h2 extends h0{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let h3=(e,t)=>new h2(e,t??"application/octet-stream",e.length),h5=new TextEncoder,h4="~effect/http/UrlParams",h8={...t0,[h4]:h4,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[tf](e){return me(this,e)},[tr](){return tu(this.params.flat())}},h9=e=>{let t=Object.create(h8);return t.params=e,t},h6=e=>{if(e7(e,h4))return e;let t=h7(e),r=[];for(let e=0;e<t.length;e++)if(Array.isArray(t[e][0])){let[i,s]=t[e];r.push([`${i[0]}[${i.slice(1).join("][")}]`,s])}else r.push(t[e]);return h9(r)},h7=e=>{let t="function"==typeof e[Symbol.iterator]?i5(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,s]of h7(i))r.push([[e,..."string"==typeof t?[t]:t],s]);else void 0!==i&&r.push([e,String(i)]);return r},me=rW((e,t)=>mt(e.params,t.params)),mt=(et=[rj,rj],er=rW((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!et[r](e[r],t[r]))return!1;return!0}),rW((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!er(e[r],t[r]))return!1;return!0})),mr=h9([]),mi=ez(2,(e,t)=>{let r=h6(t),i=r.params,s=new Set;for(let e=0;e<i.length;e++)s.add(i[e][0]);for(let t=0;t<e.params.length;t++)s.has(e.params[t][0])||i.push(e.params[t]);return r}),ms="~effect/http/HttpClientRequest",mn={[ms]:ms,...tY,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:tR(this.headers),body:this.body.toJSON()}},pipe(){return eP(this,arguments)}};function mo(e,t,r,i,s,n){let o=Object.create(mn);return o.method=e,o.url=t,o.urlParams=r,o.hash=i,o.headers=s,o.body=n,o}let ma=mo("GET","",mr,r2(),hH,h1),mA=e=>(t,r)=>mc(ma,{method:e,url:t,...r??void 0}),ml=mA("POST"),mc=ez(2,(e,t)=>{let r=e;return t.method&&(r=md(r,t.method)),t.url&&(r=mC(r,t.url)),t.headers&&(r=mu(r,t.headers)),t.urlParams&&(r=mI(r,t.urlParams)),t.hash&&(r=mf(r,t.hash)),t.body&&(r=mE(r,t.body)),t.accept&&(r=mm(r,t.accept)),t.acceptJson&&(r=mp(r)),r}),md=ez(2,(e,t)=>mo(t,e.url,e.urlParams,e.hash,e.headers,e.body)),mg=ez(3,(e,t,r)=>mo(e.method,e.url,e.urlParams,e.hash,hY(e.headers,t,r),e.body)),mu=ez(2,(e,t)=>mo(e.method,e.url,e.urlParams,e.hash,hG(e.headers,t),e.body)),mh=ez(2,(e,t)=>mg(e,"Authorization",`Bearer ${"string"==typeof t?t:cy(t)}`)),mm=ez(2,(e,t)=>mg(e,"Accept",t)),mp=mm("application/json"),mC=ez(2,(e,t)=>{if("string"==typeof t)return mo(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=h6(r.searchParams),s=iA(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",mo(e.method,r.toString(),i,s,e.headers,e.body)}),mI=ez(2,(e,t)=>mo(e.method,e.url,mi(e.urlParams,t),e.hash,e.headers,e.body)),mf=ez(2,(e,t)=>mo(e.method,e.url,e.urlParams,r3(t),e.headers,e.body)),mE=ez(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=hz(hz(r,"Content-Type"),"Content-length"):(t.contentType&&(r=hY(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=hY(r,"content-length",t.contentLength.toString()))),mo(e.method,e.url,e.urlParams,e.hash,r,t)}),mB=ez(e=>e7(e[0],ms),(e,t,r)=>mE(e,h3(t,r))),my=ez(2,(e,t)=>{let r,i;return mE(e,(r=JSON.stringify(t),i=(void 0)??"application/json",h3(h5.encode(r),i??"text/plain")))}),mQ="~effect/http/Cookies",mN="~effect/http/Cookies/Cookie",mb=(e=>e7(e,mN),"~effect/http/Cookies/CookieError"),mS={[mQ]:mQ,...tY,toJSON(){return{_id:"effect/Cookies",cookies:i1(this.cookies,e=>e.toJSON())}},pipe(){return eP(this,arguments)}},mw=e=>{var t;let r,i={};for(let t of e)i[t.name]=t;return t=i,(r=Object.create(mS)).cookies=t,r},mD=mw([]),mx=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,mR={[mN]:mN,...tY,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}},mM=e=>{try{return decodeURIComponent(e)}catch(t){return e}},mk="~effect/http/HttpIncomingMessage",mF=sg("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0}),mU="~effect/http/HttpClientResponse";class mv extends lS("UrlError"){}let mT="~effect/http/HttpClient",mL=sg("effect/HttpClient"),mO=ez(2,(e,t)=>mH(r=>t(e.postprocess(r)),e.preprocess)),mH=(e,t)=>{let r=Object.create(mP);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},mP={[mT]:mT,pipe(){return eP(this,arguments)},...tY,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(mA(e)(t,r))}]))},mY=sg("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>eJ}),mG=sg("effect/HttpClient/TracerPropagationEnabled",{defaultValue:e_}),mz=sg("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),mq=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),mV=new WeakMap;class m_{original;controller;constructor(e,t){this.original=e,this.controller=t}[mU]=mU;[mk]=mk;applyInterrupt(e){return n3(()=>(mq.unregister(this.original),aa(e,()=>n2(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){var e;let t;return e=()=>(mq.unregister(this.original),he(this.original.stream,n2(()=>{this.controller.abort()}))),u8((t=()=>e().channel,uW((e,r)=>n3(()=>(0,t().transform)(e,r)))))}toJSON(){return this.original.toJSON()}[tH](){return this.original[tH]()}pipe(){return eP(this,arguments)}}var mJ=class extends ur()("BlobStoreError",{reason:g0(["unreachable","refused","misconfigured"]),key:gq(gj),status:gq(gK),detail:gq(gj),cause:gq(g4())}){get message(){switch(this.reason){case"unreachable":return`The blob store could not be reached${void 0===this.key?"":` for "${this.key}"`}`;case"refused":return`The blob store refused "${this.key}"${void 0===this.status?"":` with status ${this.status}`}${void 0===this.detail?"":`: ${this.detail}`}`;default:return`The blob store is misconfigured${void 0===this.detail?"":`: ${this.detail}`}`}}},mW=class e extends sg()("@effected/github-actions/BlobStore"){static layerS3=t=>AO(e,mK(t));static makeTest=(e={})=>({get:()=>n2(()=>mj("get")),put:()=>n2(()=>mj("put")),has:()=>n2(()=>mj("has")),...e});static layerTest=(t={})=>Av(e,e.makeTest(t));static layerMemory=(function(){return 1==arguments.length?e=>AL(()=>sE(arguments[0],e())):AL(()=>sE(arguments[0],arguments[1]()))})(e,()=>{let e=new Map;return{get:(t,r)=>n3(()=>{let i=e.get(t);return void 0===i?n0(r2()):oI(n5(ug.decodeResult(i,r)),r3)}),put:(t,r,i)=>n3(()=>oI(n5(ug.encodeResult(r.metadata,r.body,i)),r=>{e.set(t,r)})),has:t=>n2(()=>e.has(t))}})};let mj=e=>{throw Error(`BlobStore.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)},mK=e=>AX(function*(){let t=yield*mL,r=e.endpoint??`https://s3.${e.region}.amazonaws.com`;for(;r.endsWith("/");)r=r.slice(0,-1);let i=new URL(r).host,s=yield*hU.forSigning(e.secretAccessKey),n=void 0===e.sessionToken?void 0:yield*hU.forSigning(e.sessionToken),o=(o,a,A)=>n3(()=>{let l,c,{url:d,headers:g}=(c=((e,t)=>{let r,i,s,{headers:n,canonicalRequest:o,signedHeaders:a,amzDate:A,dateStamp:l}=((e,t)=>{var r;let i,{amzDate:s,dateStamp:n}=(r=e.now,{amzDate:i=`${r.toISOString().replace(/[:-]|\.\d{3}/g,"").slice(0,15)}Z`,dateStamp:i.slice(0,8)}),o=um(e.body),a={...e.headers,host:e.host,"x-amz-date":s,"x-amz-content-sha256":o,...void 0===t.sessionToken?{}:{"x-amz-security-token":t.sessionToken}},A=new Map(Object.entries(a).map(([e,t])=>[e.toLowerCase(),t])),l=[...A.keys()].sort(),c=l.map(e=>`${e}:${(A.get(e)??"").trim().replace(/\s+/g," ")} +`).join(""),d=l.join(";"),g=`/${e.path.split("/").filter(e=>""!==e).map(uC).join("/")}`;return{headers:a,signedHeaders:d,amzDate:s,dateStamp:n,canonicalRequest:[e.method,g,"",c,d,o].join("\n")}})(e,t),c=`${l}/${t.region}/${t.service}/aws4_request`,d=[uh,A,c,um(o)].join("\n"),g=(r=t.secretAccessKey,i=t.region,s=t.service,up(up(up(up(`AWS4${r}`,l),i),s),"aws4_request")),u=Buffer.from(up(g,d)).toString("hex");return{...n,authorization:`${uh} Credential=${t.accessKeyId}/${c}, SignedHeaders=${a}, Signature=${u}`}})({method:o,path:l=[e.bucket,...void 0===e.prefix?[]:[e.prefix],a].join("/").replaceAll(/\/{2,}/g,"/"),host:i,headers:{},body:A,now:new Date},{accessKeyId:e.accessKeyId,secretAccessKey:s,...void 0===n?{}:{sessionToken:n},region:e.region,service:"s3"}),{url:`${r}/${l}`,headers:c}),u=mA(o)(d,{headers:g}),h=0===A.length?u:mB(u,A);return t.execute(h).pipe(oq(e=>new mJ({reason:"unreachable",key:a,cause:e})))});return{get:(e,t)=>AX(function*(){let r=yield*o("GET",e,new Uint8Array(0));if(404===r.status)return r2();if(r.status<200||r.status>=300)return yield*rp(new mJ({reason:"refused",key:e,status:r.status}));let i=yield*r.arrayBuffer.pipe(oq(t=>new mJ({reason:"unreachable",key:e,cause:t})));return r3((yield*n5(ug.decodeResult(new Uint8Array(i),t))))}),put:(e,t,r)=>AX(function*(){let i=yield*n5(ug.encodeResult(t.metadata,t.body,r)),s=yield*o("PUT",e,i);if(s.status<200||s.status>=300)return yield*rp(new mJ({reason:"refused",key:e,status:s.status}))}),has:e=>AX(function*(){let t=yield*o("HEAD",e,new Uint8Array(0));return 404!==t.status&&(!(t.status<200)&&!(t.status>=300)||(yield*rp(new mJ({reason:"refused",key:e,status:t.status}))))})}});class mX extends ut("TurboArtifactMeta")({tag:g1(gj),durationMs:gK}){}let mZ="/v8/artifacts/",m$={status:404,headers:{}},m0=(e,t)=>({status:e,headers:{"content-type":"application/json"},body:new TextEncoder().encode(JSON.stringify(t))}),m1=(e,t)=>""===t||e.authorization?.replace(/^Bearer\s+/i,"")===t,m2=i("node:fs"),m3=i("node:os");var m5=o(6760);let m4=(e,t)=>(r,[i])=>{let s="Unknown";switch(r.code){case"ENOENT":s="NotFound";break;case"EACCES":s="PermissionDenied";break;case"EEXIST":s="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":s="BadResource";break;case"EBUSY":s="Busy"}return uy({_tag:s,module:e,method:t,pathOrDescriptor:i,syscall:r.syscall,cause:r})},m8=e=>t=>uQ({module:"FileSystem",method:e,description:t.message??String(t)}),m9=(f=A2(m2.access,m4("FileSystem","access"),m8("access")),(e,t)=>{let r=m2.constants.F_OK;return t?.readable&&(r|=m2.constants.R_OK),t?.writable&&(r|=m2.constants.W_OK),f(e,r)}),m6=(E=A2(m2.cp,m4("FileSystem","copy"),m8("copy")),(e,t,r)=>E(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),m7=(B=A2(m2.copyFile,m4("FileSystem","copyFile"),m8("copyFile")),(e,t)=>B(e,t)),pe=(y=A2(m2.chmod,m4("FileSystem","chmod"),m8("chmod")),(e,t)=>y(e,t)),pt=(Q=A2(m2.chown,m4("FileSystem","chown"),m8("chown")),(e,t,r)=>Q(e,t,r)),pr=(N=A2(m2.glob,m4("FileSystem","glob"),m8("glob")),(e,t)=>N(e,{cwd:t?.root,exclude:t?.exclude})),pi=(b=A2(m2.link,m4("FileSystem","link"),m8("link")),(e,t)=>b(e,t)),ps=(S=A2(m2.mkdir,m4("FileSystem","makeDirectory"),m8("makeDirectory")),(e,t)=>S(e,{recursive:t?.recursive??!1,mode:t?.mode})),pn=e=>{let t=A2(m2.mkdtemp,m4("FileSystem",e),m8(e));return e=>n3(()=>{let r=e?.prefix??"",i="string"==typeof e?.directory?m5.join(e.directory,"."):m3.tmpdir();return t(r?m5.join(i,r):i+"/")})},po=pn("makeTempDirectory"),pa=e=>{let t=A2(m2.rm,m4("FileSystem",e),m8(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},pA=pa("remove"),pl=(w=pn("makeTempDirectoryScoped"),D=pa("makeTempDirectoryScoped"),e=>A$(w(e),e=>oP(D(e,{recursive:!0}),n9))),pc=(ei="open",x=A2(m2.open,m4("FileSystem",ei),m8(ei)),R=A2(m2.close,m4("FileSystem",ei),m8(ei)),(e,t)=>eK(A$(x(e,t?.flag??"r",t?.mode),e=>oP(R(e),n9)),oI(e=>pd(ha(e),t?.flag?.startsWith("a")??!1)))),pd=(()=>{let e=e=>A2(m2.read,m4("FileSystem",e),m8(e)),t=e("read"),r=e("readAlloc"),i=A2(m2.fstat,m4("FileSystem","stat"),m8("stat")),s=A2(m2.ftruncate,m4("FileSystem","truncate"),m8("truncate")),n=A2(m2.fsync,m4("FileSystem","sync"),m8("sync")),o=e=>A2(m2.write,m4("FileSystem",e),m8(e)),a=o("write"),A=o("writeAll");class l{[ho];fd;append;position=BigInt(0);constructor(e,t){this[ho]=ho,this.fd=e,this.append=t}get stat(){return oI(i(this.fd),pE)}get sync(){return n(this.fd)}seek(e,t){let r=hi(e);return n2(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return n3(()=>{let r=this.position;return oI(t(this.fd,{buffer:e,position:r}),e=>{let t=hi(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return n3(()=>{let e=Buffer.allocUnsafeSlow(t),i=this.position;return oI(r(this.fd,{buffer:e,position:i}),r=>{if(0===r)return r2();if(this.position=i+BigInt(r),r===t)return r3(e);let s=Buffer.allocUnsafeSlow(r);return e.copy(s,0,0,r),r3(s)})})}truncate(e){return oI(s(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return n3(()=>{let t=this.position;return oI(a(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=hi(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return n3(()=>{let t=this.position;return oh(A(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?rp(uy({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):n7))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new l(e,t)})(),pg=e=>{let t=pn(e);return on(function*(e){let r=yield*t(e),i=uu.randomBytes(6).toString("hex"),s=m5.join(r,e?.suffix?`${i}${e.suffix}`:i);return yield*pb(s,new Uint8Array(0)),s})},pu=pg("makeTempFile"),ph=(M=pg("makeTempFileScoped"),k=pa("makeTempFileScoped"),e=>A$(M(e),e=>oP(k(m5.dirname(e),{recursive:!0}),n9))),pm=(e,t)=>AK({try:()=>m2.promises.readdir(e,t),catch:t=>m4("FileSystem","readDirectory")(t,[e])}),pp=e=>oi((t,r)=>{try{m2.readFile(e,{signal:r},(r,i)=>{r?t(rp(m4("FileSystem","readFile")(r,[e]))):t(n0(i))})}catch(e){t(rp(m8("readFile")(e)))}}),pC=(F=A2(m2.readlink,m4("FileSystem","readLink"),m8("readLink")),e=>F(e)),pI=(U=A2(m2.realpath,m4("FileSystem","realPath"),m8("realPath")),e=>U(e)),pf=(v=A2(m2.rename,m4("FileSystem","rename"),m8("rename")),(e,t)=>v(e,t)),pE=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:iA(e.mtime),atime:iA(e.atime),birthtime:iA(e.birthtime),dev:e.dev,rdev:iA(e.rdev),ino:iA(e.ino),mode:e.mode,nlink:iA(e.nlink),uid:iA(e.uid),gid:iA(e.gid),size:hi(e.size),blksize:void 0!==e.blksize?r3(hi(e.blksize)):r2(),blocks:iA(e.blocks)}),pB=(T=A2(m2.stat,m4("FileSystem","stat"),m8("stat")),e=>oI(T(e),pE)),py=(L=A2(m2.symlink,m4("FileSystem","symlink"),m8("symlink")),(e,t)=>L(e,t)),pQ=(O=A2(m2.truncate,m4("FileSystem","truncate"),m8("truncate")),(e,t)=>O(e,void 0!==t?Number(t):void 0)),pN=(H=A2(m2.utimes,m4("FileSystem","utime"),m8("utime")),(e,t,r)=>H(e,t,r)),pb=(e,t,r)=>oi((i,s)=>{try{m2.writeFile(e,t,{signal:s,flag:r?.flag,mode:r?.mode},t=>{t?i(rp(m4("FileSystem","writeFile")(t,[e]))):i(n7)})}catch(e){i(rp(m8("writeFile")(e)))}}),pS=oI(rI(e=>n0(sD(e.context,hA))),e=>{let t;return t={access:m9,chmod:pe,chown:pt,copy:m6,copyFile:m7,glob:pr,link:pi,makeDirectory:ps,makeTempDirectory:po,makeTempDirectoryScoped:pl,makeTempFile:pu,makeTempFileScoped:ph,open:pc,readDirectory:pm,readFile:pp,readLink:pC,realPath:pI,remove:pA,rename:pf,stat:pB,symlink:py,truncate:pQ,utimes:pN,watch:t=>pB(t).pipe(oI(r=>e.pipe(iy(e=>e.register(t,r)),ir(()=>{let e,r;return u8((e=e=>A$(n2(()=>{let r=m2.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void aS(oj(pB(r),{onSuccess:t=>uM(e,{_tag:"Create",path:r}),onFailure:t=>uM(e,{_tag:"Remove",path:r})}));case"change":var i;return void(i={_tag:"Update",path:r},"Open"!==e.state._tag||(e.messages.length>=e.capacity?"sliding"===e.strategy?(uD(e.messages),uS(e.messages,i)):e.capacity<=0&&e.state.takers.size>0&&(uS(e.messages,i),uP(e)):(uS(e.messages,i),uY(e))))}});return r.on("error",r=>{uk(e,rr(uy({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{uk(e,rr(rN()))}),r}),e=>n2(()=>e.close())),r=void 0,uW((t,i)=>{let s;return oI((s={capacity:r?.bufferSize,strategy:r?.strategy},rI(e=>{let t=Object.create(uR);return t.dispatcher=e.currentDispatcher,t.capacity=s?.capacity??1/0,t.strategy=s?.strategy??"suspend",t.messages={head:void 0,tail:void 0,length:0},t.scheduleRunning=!1,t.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},n0(t)})).pipe(od(e=>o8(i,eV(n2(()=>{if("Done"===e.state._tag)return!0;uw(e.messages);let t=e.state.offers;if(u_(e,"Open"===e.state._tag?uH:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(uT):e.resume(rg(e.remaining.slice(e.offset)));t.clear()}return!0})))),od(t=>aQ(at(e(t),i),i))),uF)})))}))),u7),writeFile:pb},hs.of({...t,[hr]:hr,exists:e=>eK(t.access(e),ol(!0),oz("PlatformError",e=>"NotFound"===e.reason._tag?n0(!1):rp(e))),readFileString:(e,r)=>oh(t.readFile(e),e=>oe({try:()=>new TextDecoder(r).decode(e),catch:e=>uQ({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:on(function*(e,r){let i=yield*t.open(e,{flag:"r"});r?.offset&&(yield*i.seek(r.offset,"start"));let s=r?.bytesToRead!==void 0?hi(r.bytesToRead):void 0,n=BigInt(0),o=hi(r?.chunkSize??65536),a=i.readAlloc(o);return u8(uj(n0(oh(n3(()=>void 0!==s&&s<=n?As():void 0!==s&&s-n<o?i.readAlloc(s-n):a),r9({onNone:()=>As(),onSome:e=>(n+=BigInt(e.length),n0(st(e)))})))))},u7),sink:(e,r)=>eK(t.open(e,{flag:"w",...r}),oI(e=>{let t,r;return t=t=>e.writeAll(t),r=aI(e=>t(e),{discard:!0}),u2(e=>e.pipe(oh(r),oT({disableYield:!0}),An(()=>u0)))}),u5),writeFileString:(e,r,i)=>oh(oe({try:()=>new TextEncoder().encode(r),catch:e=>uQ({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>t.writeFile(e,r,i))})}),pw=AO(hs)(pS),pD=i("node:https");var px=o(7075);i("node:stream/promises");let pR="~effect/MutableRef",pM={[pR]:pR,...t0,toJSON(){return{_id:"MutableRef",current:tP(this.current)}}},pk=e=>uW((t,r)=>pF({scope:r,readable:e.evaluate(),onError:e.onError??pv,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),pF=e=>{var t;let r,i=e.readable,s=e.closeOnDone??!0,n=e.exit??(t=void 0,(r=Object.create(pM)).current=t,r),o=aP(!1);function a(){o.openUnsafe()}function A(t){n.current=rp(e.onError(t)),o.openUnsafe()}function l(){n.current=rp(rN()),o.openUnsafe()}i.on("readable",a),i.once("error",A),i.once("end",l);let c=n3(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return n.current?n.current:i.readableEnded?rp(rN()):(o.closeUnsafe(),oh(o.await,t));let s=st(r);for(;null!==(r=e.readable.read(e.chunkSize));)s.push(r);return n0(s)});return ol(o8(e.scope,eV(n2(()=>{i.off("readable",a),i.off("error",A),i.off("end",l),s&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()}))),c)};class pU extends px.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=aP(!1),this.fiber=ht(t,e=>this.readLatch.whenOpen(n2(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,oF(e),aS),this.fiber.addObserver(e=>{this.fiber=void 0,oy(e)?this.push(null):this.destroy(nM(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);aS(nX(this.fiber)).addObserver(r=>{t("Failure"===r._tag?nM(r.cause):e)})}}let pv=e=>new a5(e);var pT=o(3006);class pL extends sg()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let pO=A$(n2(()=>new pT.g6),e=>{let t;return ot(function(e,r){tq(()=>t(r)).then(t=>e(n0(t)),t=>e(n9(t)))},0!==(t=()=>e.destroy()).length)}),pH=AO(pL)(pO),pP=sg("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),pY=AX(function*(){let e,t=yield*pL;return e=(e,r,i,s)=>(function(e){switch(e._tag){case"Empty":return n0(null);case"Uint8Array":case"Raw":return n0(e.body);case"FormData":return n0(e.formData);case"Stream":let t;return t=e.stream,oI(oM,e=>new pU(e,t))}})(e.body).pipe(oh(n=>AK({try:()=>t.request({...s.getRef(pP),signal:i,method:e.method,headers:e.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:n,headersTimeout:36e5,bodyTimeout:0}),catch:t=>new hJ({reason:new hK({request:e,cause:t})})})),oI(t=>new pz(e,t))),mH(t=>oh(t,t=>rI(r=>{let i,s,n,o=mV.get(t),a=o??new AbortController,A=(i=t.url,s=t.urlParams,n=iu(t.hash),(e=>{if(e4(e))try{return rq(e())}catch(e){return rz(e)}try{return rq(e.try())}catch(t){return rz(e.catch(t))}})({try:()=>{let e=new URL(i,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<s.params.length;t++){let[r,i]=s.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==n&&(e.hash=n),e},catch:e=>new mv({cause:e})}));if(rY(A))return rp(new hJ({reason:new hX({request:t,cause:A.failure})}));let l=A.success;if(r.getRef(na)||r.getRef(mY)(t)){let i=e(t,l,a.signal,r);return o?i:am(e=>oJ(e(i),{onSuccess:e=>(mq.register(e,a),n0(new m_(e,a))),onFailure:e=>(e.reasons.some(ra)&&a.abort(),n1(e))}))}return((e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return rI(t=>{let s=((e,t,r)=>{let i,s=!e.getRef(nC)||r?.annotations&&sN(r.annotations,na),n=r?.parent!==void 0?r3(r.parent):r?.root?r2():az(e.currentSpan);if(s){let e;e={name:t,parent:n,annotations:sB(r?.annotations??sf,na,!0)},i=Object.assign(Object.create(aG),e)}else{let s=e.getRef(nd),o=e.getRef(aV),a=e.getRef(nI),A=e.getRef(nf),l=e.getRef(nE),c=r?.level??e.getRef(nA),d=r?.links!==void 0?[...l,...r.links]:l.slice();for(let[l,g]of(i=s.span({name:t,parent:n,annotations:r?.annotations??sf,links:d,startTime:a?o.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??r4(n),sampled:r?.sampled??((!r8(n)||!1!==n.value.sampled)&&!a8(e.getRef(nl),c))}),Object.entries(A)))i.attribute(l,g);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i})(t,e,r),n=t.getRef(aV);return ai(tq(()=>i(s)),e=>n2(()=>{"Ended"!==s.status._tag&&s.end(n.currentTimeNanosUnsafe(),e)}))})})(r.getRef(mz)(t),{kind:"client"},i=>{i.attribute("http.request.method",t.method),i.attribute("server.address",l.origin),""!==l.port&&i.attribute("server.port",+l.port),i.attribute("url.full",l.toString()),i.attribute("url.path",l.pathname),i.attribute("url.scheme",l.protocol.slice(0,-1));let s=l.search.slice(1);""!==s&&i.attribute("url.query",s);let n=r.getRef(hV),A=hq(t.headers,n);for(let e in A)i.attribute(`http.request.header.${e}`,String(A[e]));return t=r.getRef(mG)?mu(t,Object.setPrototypeOf({b3:`${i.traceId}-${i.spanId}-${i.sampled?"1":"0"}${r9(i.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${i.traceId}-${i.spanId}-${i.sampled?"01":"00"}`},hT)):t,am(s=>s(e(t,l,a.signal,r)).pipe(A1(i,{captureStackTrace:!1}),oJ({onSuccess:e=>{i.attribute("http.response.status_code",e.status);let t=hq(e.headers,n);for(let e in t)i.attribute(`http.response.header.${e}`,String(t[e]));return o?n0(e):(mq.register(e,a),n0(new m_(e,a)))},onFailure:e=>(!o&&e.reasons.some(ra)&&a.abort(),n1(e))})))})})),n0)});function pG(e){}class pz extends tG{[mk];[mU];request;source;constructor(e,t){super(),this[mk]=mk,this[mU]=mU,this.request=e,this.source=t,t.body.on("error",pG)}get status(){return this.source.statusCode}get statusText(){}get headers(){return hP(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?(e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!mx.test(i))return;let s=t[0].slice(r+1),n=mM(s);if(1===t.length)return Object.assign(Object.create(mR),{name:i,value:n,valueEncoded:s});let o={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),s=-1===i?r:r.slice(0,i).trim(),n=-1===i?void 0:r.slice(i+1).trim();switch(s.toLowerCase()){case"domain":{if(void 0===n)break;let e=n.trim().replace(/^\./,"");e&&(o.domain=e);break}case"expires":{if(void 0===n)break;let e=new Date(n);isNaN(e.getTime())||(o.expires=e);break}case"max-age":{if(void 0===n)break;let e=parseInt(n,10);isNaN(e)||(o.maxAge=sX(e));break}case"path":if(void 0===n)break;"/"===n[0]&&(o.path=n);break;case"priority":if(void 0===n)break;switch(n.toLowerCase()){case"low":o.priority="low";break;case"medium":o.priority="medium";break;case"high":o.priority="high"}break;case"httponly":o.httpOnly=!0;break;case"secure":o.secure=!0;break;case"partitioned":o.partitioned=!0;break;case"samesite":if(void 0===n)break;switch(n.toLowerCase()){case"lax":o.sameSite="lax";break;case"strict":o.sameSite="strict";break;case"none":o.sameSite="none"}}}return Object.assign(Object.create(mR),{name:i,value:n,valueEncoded:s,options:Object.keys(o).length>0?o:void 0})}(r.trim());e&&t.push(e)}return mw(t)})(e):mD}get remoteAddress(){return r2()}get stream(){return u8(pk({evaluate:()=>this.source.body,onError:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}))}get json(){return oh(this.text,e=>oe({try:()=>""===e?null:JSON.parse(e),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=AK({try:()=>this.source.body.text(),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}).pipe(A0,aT),this.arrayBufferBody=oI(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return oh(this.text,e=>oe({try:()=>h6(new URLSearchParams(e)),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=AK({try:()=>this.source.body.formData(),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}).pipe(A0,aT)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=AK({try:()=>this.source.body.arrayBuffer(),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}).pipe(A0,aT),this.textBody=oI(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return((e,t)=>{let r,i=e.headers["content-type"]??"";if(i.includes("application/json"))try{r=aT(e.json)}catch(e){}else if(i.includes("text/")||i.includes("urlencoded"))try{r=aT(e.text)}catch(e){}let s={...t,headers:tR(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(s.body=r),s})(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return eP(this,arguments)}}let pq=Az(AO(mL)(ok(e=>oI(pY,t=>mO(t,ox(t=>sx(e,t)))))),pH);var pV=class extends ur()("BlobTransferError",{reason:g0(["uploadFailed","downloadFailed"]),cause:gq(g4())}){get message(){return"uploadFailed"===this.reason?"Could not upload to the signed blob url":"Could not download from the signed blob url"}};let p_="ACTIONS_RESULTS_URL",pJ="ACTIONS_RUNTIME_TOKEN",pW=Symbol.for("@effected/github-actions/twirp/conflict"),pj=e=>"transport"===e.kind||"malformed"!==e.kind&&void 0!==e.status&&(e.status>=500||408===e.status||429===e.status),pK=(e,t)=>{if("object"!=typeof e||null===e)return;let r=t.replaceAll(/[A-Z]/g,e=>`_${e.toLowerCase()}`);return e[t]??e[r]},pX=(e,t)=>{let r=pK(e,t);return"string"==typeof r&&""!==r?r:void 0},pZ=e=>!0===pK(e,"ok");class p$ extends Error{constructor(e){super(e),this.name="AbortError"}}var p0=o(7975);let p1=i("node:process");"string"==typeof p1.versions.deno&&p1.versions.deno.length,"string"==typeof p1.versions.bun&&p1.versions.bun.length;let p2=p1.env.DEBUG,p3=[],p5=[],p4=[];p2&&p9(p2);let p8=Object.assign(e=>Ce(e),{enable:p9,enabled:p6,disable:function(){let t=e||"";return p9(""),t},log:function(e,...t){p1.stderr.write(`${p0.format(e,...t)}${m3.EOL}`)}});function p9(t){for(let r of(e=t,p3=[],p5=[],t.split(",").map(e=>e.trim())))r.startsWith("-")?p5.push(r.substring(1)):p3.push(r);for(let e of p4)e.enabled=p6(e.namespace)}function p6(e){if(e.endsWith("*"))return!0;for(let t of p5)if(p7(e,t))return!1;for(let t of p3)if(p7(e,t))return!0;return!1}function p7(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,s=0,n=r.length,o=e.length,a=-1,A=-1;for(;i<o&&s<n;)if("*"===r[s]){if(a=s,++s===n)return!0;for(;e[i]!==r[s];)if(++i===o)return!1;A=i,i++,s++;continue}else if(r[s]===e[i])s++,i++;else{if(!(a>=0)||(s=a+1,(i=A+1)===o))return!1;for(;e[i]!==r[s];)if(++i===o)return!1;A=i,i++,s++;continue}let l=i===e.length,c=s===r.length,d=s===r.length-1&&"*"===r[s];return l&&(c||d)}function Ce(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:p6(e),destroy:Ct,log:p8.log,namespace:e,extend:Cr});return p4.push(t),t}function Ct(){let e=p4.indexOf(this);return e>=0&&(p4.splice(e,1),!0)}function Cr(e){let t=Ce(`${this.namespace}:${e}`);return t.log=this.log,t}let Ci=["verbose","info","warning","error"],Cs={verbose:400,info:300,warning:200,error:100};function Cn(e,t){t.log=(...t)=>{e.log(...t)}}function Co(e){return Ci.includes(e)}function Ca(e){var t;let r,i=new Set,s=(t=e.logLevelEnvVarName,p1.env[t]),n=p8(e.namespace);function o(e){if(e&&!Co(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${Ci.join(",")}`);r=e;let t=[];for(let e of i)a(e)&&t.push(e.namespace);p8.enable(t.join(","))}function a(e){return!!(r&&Cs[e.level]<=Cs[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(Cn(e,r),a(r)){let e=p8.disable();p8.enable(e+","+r.namespace)}return i.add(r),r}return n.log=(...e)=>{p8.log(...e)},s&&(Co(s)?o(s):console.error(`${e.logLevelEnvVarName} set to unknown log level '${s}'; logging is not enabled. Acceptable values: ${Ci.join(", ")}.`)),{setLogLevel:o,getLogLevel:function(){return r},createClientLogger:function(e){let t=n.extend(e);return Cn(n,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:n}}let CA=Ca({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function Cl(e){return CA.createClientLogger(e)}function Cc(e){return e.toLowerCase()}CA.logger;class Cd{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(Cc(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(Cc(e))?.value}has(e){return this._headersMap.has(Cc(e))}delete(e){this._headersMap.delete(Cc(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function Cg(e){return new Cd(e)}function Cu(){return globalThis.crypto.randomUUID()}class Ch{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??Cg(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||Cu(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let Cm=new Set(["Deserialize","Serialize","Retry","Sign"]);class Cp{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!Cm.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!Cm.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new Cp(this._policies)}static create(){return new Cp}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),s=r("None"),n=r("Deserialize"),o=r("Retry"),a=r("Sign"),A=[i,s,n,o,a];function l(e){return"Retry"===e?o:"Serialize"===e?i:"Deserialize"===e?n:"Sign"===e?a:s}for(let e of this._policies){let r=e.policy,i=e.options,s=r.name;if(t.has(s))throw Error("Duplicate policy names not allowed in pipeline");let n={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(n.afterPhase=l(i.afterPhase),n.afterPhase.hasAfterPolicies=!0),t.set(s,n),l(i.phase).policies.add(n)}for(let e of this._policies){let{policy:r,options:i}=e,s=r.name,n=t.get(s);if(!n)throw Error(`Missing node for policy ${s}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(n.dependsOn.add(r),r.dependants.add(n))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(n),n.dependants.add(r))}}function c(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==s){s.hasRun||c(s);return}e.hasAfterPolicies&&c(s)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function CC(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function CI(e){if(CC(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let Cf=p0.inspect.custom,CE="REDACTED",CB=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],Cy=["api-version"];class CQ{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=CB.concat(e),t=Cy.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&CC(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&CC(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||CC(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,CE);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=CE;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=CE;return t}}let CN=new CQ;class Cb extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,Cf,{value:()=>`RestError: ${this.message} + ${CN.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,Cb.prototype)}}function CS(e){return e instanceof Cb||CI(e)&&"RestError"===e.name}var Cw=o(8522);let CD=Cl("ts-http-runtime"),Cx={};function CR(e){return e&&"function"==typeof e.pipe}function CM(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function Ck(e){return e&&"number"==typeof e.byteLength}class CF extends px.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class CU{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,s=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new p$("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&s.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new CQ;CD.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),s.abort()},e.timeout));let n=e.headers.get("Accept-Encoding"),o=n?.includes("gzip")||n?.includes("deflate"),a="function"==typeof e.body?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(CR(e))return null;if(Ck(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(a);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(a&&e.onUploadProgress){let t=e.onUploadProgress,r=new CF(t);r.on("error",e=>{CD.error("Error in upload progress",e)}),CR(a)?a.pipe(r):r.end(a),a=r}let t=await this.makeRequest(e,s,a);void 0!==r&&clearTimeout(r);let n=function(e){let t=Cg();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),l={status:t.statusCode??0,headers:n,request:e};if("HEAD"===e.method)return t.resume(),l;i=o?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=Cw.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=Cw.createInflate();return e.pipe(t),t}return e}(t,n):t;let c=e.onDownloadProgress;if(c){let e=new CF(c);e.on("error",e=>{CD.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=i:l.bodyAsText=await (A=i,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new Cb(`Error reading response as text: ${e.message}`,{code:Cb.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();CR(a)&&(r=CM(a));let s=Promise.resolve();CR(i)&&(s=CM(i)),Promise.all([r,s]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{CD.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),s="https:"!==i.protocol;if(s&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let n={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,o)=>{let a=s?eH.request(n,i):pD.request(n,i);a.once("error",t=>{o(new Cb(t.message,{code:t.code??Cb.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new p$("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e),o(e)}),r&&CR(r)?r.pipe(a):r?"string"==typeof r||Buffer.isBuffer(r)?a.end(r):Ck(r)?a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(CD.error("Unrecognized body type",r),o(new Cb("Unrecognized body type"))):a.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?eH.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new eH.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return pD.globalAgent;let t=e.tlsSettings??Cx,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(CD.info("No cached TLS Agent exist, creating a new Agent"),i=new pD.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let Cv="Retry-After",CT=["retry-after-ms","x-ms-retry-after-ms",Cv];function CL(e){if(e&&[429,503].includes(e.status))try{for(let t of CT){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===Cv?1e3:1;return r*e}}let t=e.headers.get(Cv);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let CO=Cl("ts-http-runtime retryPolicy");function CH(e,t){return Buffer.from(e,t)}async function CP(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:Cg({"Content-Disposition":`form-data; name="${t}"`}),body:CH(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",s=Cg();s.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),s.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:s,body:e})}t.multipartBody={parts:i}}var CY=o(6565),CG=o(7277);let Cz=[],Cq=!1,CV=new Map;function C_(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function CJ(){if(!process)return;let e=C_("HTTPS_PROXY"),t=C_("ALL_PROXY"),r=C_("HTTP_PROXY");return e||t||r}function CW(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function Cj(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&CD.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new CG.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new CY.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let CK="redirectPolicy",CX=["GET","HEAD"];async function CZ(e,t,r,i,s=0){let{request:n,status:o,headers:a}=t,A=a.get("location");if(A&&(300===o||301===o&&CX.includes(n.method)||302===o&&CX.includes(n.method)||303===o&&"POST"===n.method||307===o)&&s<r){let a=new URL(A,n.url);if(!i){let e=new URL(n.url);if(a.origin!==e.origin)return CD.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`),t}n.url=a.toString(),303===o&&(n.method="GET",n.headers.delete("Content-Length"),delete n.body),n.headers.delete("Authorization");let l=await e(n);return CZ(e,l,r,i,s+1)}return t}let C$=i("stream");function C0(e){return e instanceof Blob}async function*C1(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function C2(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=C1.bind(e)),e.values||(e.values=C1.bind(e)),C$.Readable.fromWeb(e)):e}function C3(e){return e instanceof Uint8Array?C$.Readable.from(Buffer.from(e)):C0(e)?C2(e.stream()):C2(e)}async function C5(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(C3);return C$.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function C4(e,t,r){let i=[CH(`--${r}`,"utf-8"),...t.flatMap(e=>[CH("\r\n","utf-8"),CH(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r +`;return t}(e.headers),"utf-8"),CH("\r\n","utf-8"),e.body,CH(`\r +--${r}`,"utf-8")]),CH("--\r\n\r\n","utf-8")],s=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:C0(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);s&&e.headers.set("Content-Length",s),e.body=await C5(i)}let C8="multipartPolicy",C9=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),C6=Ca({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function C7(e){return C6.createClientLogger(e)}C6.logger;let Ie=C7("core-rest-pipeline"),It="decompressResponsePolicy";async function Ir(e){if(p1&&p1.versions){let t=`${m3.type()} ${m3.release()}; ${m3.arch()}`;p1.versions.bun?e.set("Bun",`${p1.versions.bun} (${t})`):p1.versions.deno?e.set("Deno",`${p1.versions.deno} (${t})`):p1.versions.node&&e.set("Node",`${p1.versions.node} (${t})`)}}async function Ii(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await Ir(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let Is="User-Agent",In=Symbol("rawContent");function Io(e){return"function"==typeof e[In]}class Ia extends Error{constructor(e){super(e),this.name="AbortError"}}function IA(e,t){let r,{abortSignal:i,abortErrorMsg:s}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:s}=t??{};return new Promise((t,n)=>{function o(){n(new Ia(s??"The operation was aborted."))}function a(){i?.removeEventListener("abort",A)}function A(){r?.(),a(),o()}if(i?.aborted)return o();try{e(e=>{a(),t(e)},e=>{a(),n(e)})}catch(e){n(e)}i?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:s??"The delay was aborted."})}function Il(e){if(CI(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function Ic(e){var t=e;if(!t&&!(t=CJ()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let Id={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class Ig{_contextMap;constructor(e){this._contextMap=e instanceof Ig?new Map(e._contextMap):new Map}setValue(e,t){let r=new Ig(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new Ig(this);return t._contextMap.delete(e),t}}let Iu=o(7301).w;function Ih(){return Iu.instrumenterImplementation||(Iu.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new Ig(e.parentContext);return e.span&&(t=t.setValue(Id.span,e.span)),e.namespace&&(t=t.setValue(Id.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),Iu.instrumenterImplementation}function Im(e){let{namespace:t,packageName:r,packageVersion:i}=e;function s(e,s,n){let o=Ih().startSpan(e,{...n,packageName:r,packageVersion:i,tracingContext:s?.tracingOptions?.tracingContext}),a=o.tracingContext,A=o.span;return a.getValue(Id.namespace)||(a=a.setValue(Id.namespace,t)),A.setAttribute("az.namespace",a.getValue(Id.namespace)),{span:A,updatedOptions:Object.assign({},s,{tracingOptions:{...s?.tracingOptions,tracingContext:a}})}}async function n(e,t,r,i){let{span:n,updatedOptions:a}=s(e,t,i);try{let e=await o(a.tracingOptions.tracingContext,()=>r(a,n));return n.setStatus({status:"success"}),e}catch(e){throw n.setStatus({status:"error",error:e}),e}finally{n.end()}}function o(e,t,...r){return Ih().withContext(e,t,...r)}return{startSpan:s,withSpan:n,withContext:o,parseTraceparentHeader:function(e){return Ih().parseTraceparentHeader(e)},createRequestHeaders:function(e){return Ih().createRequestHeaders(e)}}}function Ip(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",s),r=!1)}function s(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",s),{abortSignal:t.signal,cleanup:i}}function IC(){let e=new CU;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?Ip(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}C7("core-rest-pipeline retryPolicy");let II={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function If(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let s=await i();for(;null===s;)await IA(t),s=await i();return s}async function IE(e,t){try{return[await t(e),void 0]}catch(e){if(CS(e)&&e.response)return[e.response,e];throw e}}async function IB(e){let{scopes:t,getAccessToken:r,request:i}=e,s={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},n=await r(t,s);n&&e.request.headers.set("Authorization",`Bearer ${n.token}`)}function Iy(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function IQ(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function IN(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,s=e.logger||Ie,n={authorizeRequest:i?.authorizeRequest?.bind(i)??IB,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},o=t?function(e){let t,r=null,i=null,s={...II,...void 0},n={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(n.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-s.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function o(o,a){return n.isRefreshing||(r=If(()=>e.getToken(o,a),s.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=a.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let s=!!r.claims,a=t!==r.tenantId;return(s&&(i=null),a||s||n.mustRefresh)?o(e,r):(n.shouldRefresh&&o(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,a;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await n.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:s}),[i,a]=await IE(e,t),Iy(i)){let A=Ib(i.headers.get("WWW-Authenticate"));if(A){let n;try{n=atob(A)}catch(e){return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await IQ({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:s},n)&&([i,a]=await IE(e,t))}else if(n.authorizeRequestOnChallenge&&(await n.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:o,logger:s})&&([i,a]=await IE(e,t)),Iy(i))&&(A=Ib(i.headers.get("WWW-Authenticate")??""))){let n;try{n=atob(A)}catch(e){return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await IQ({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:s},n)&&([i,a]=await IE(e,t))}}if(!a)return i;throw a}}}function Ib(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,s=[];for(;null!==(t=r.exec(e));){let e,r=t[1],n=t[2],o={};for(;null!==(e=i.exec(n));)o[e[1]]=e[2];s.push({scheme:r,params:o})}return s}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function IS(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let Iw="DisableKeepAlivePolicy";function ID(e){return Buffer.from(e).toString("base64")}function Ix(e){return CH(e,"base64")}let IR=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,IM=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function Ik(e,t){var r,i;let s,n=e.parsedHeaders;if("HEAD"===e.request.method)return{...n,body:e.parsedBody};let o=t&&t.bodyMapper,a=!!o?.nullable,A=o?.type.name;if("Stream"===A)return{...n,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&o.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(n)for(let e of Object.keys(n))t[e]=n[e];return!a||e.parsedBody||n||0!==Object.getOwnPropertyNames(l).length?t:null}return s={...(i={body:e.parsedBody,headers:n,hasNullableType:a,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(s).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:s}class IF{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:s,InclusiveMaximum:n,InclusiveMinimum:o,MaxItems:a,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:g,UniqueItems:u}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==s&&t<=s&&i("ExclusiveMinimum",s),void 0!==n&&t>n&&i("InclusiveMaximum",n),void 0!==o&&t<o&&i("InclusiveMinimum",o),void 0!==a&&t.length>a&&i("MaxItems",a),void 0!==A&&t.length>A&&i("MaxLength",A),void 0!==l&&t.length<l&&i("MinItems",l),void 0!==c&&t.length<c&&i("MinLength",c),void 0!==d&&t%d!=0&&i("MultipleOf",d),g){let e="string"==typeof g?new RegExp(g):g;("string"!=typeof t||null===t.match(e))&&i("Pattern",g)}u&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",u)}}serialize(e,t,r,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},n={},o=e.type.name;r||(r=e.serializedName),null!==o.match(/^Sequence$/i)&&(n=[]),e.isConstant&&(t=e.defaultValue);let{required:a,nullable:A}=e;if(a&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(a&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!a&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==o.match(/^any$/i)?n=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?n=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&IM.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(o,r,t):null!==o.match(/^Enum$/i)?n=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?n=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!IR.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(o,t,r):null!==o.match(/^ByteArray$/i)?n=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=ID(t)}return t}(r,t):null!==o.match(/^Base64Url$/i)?n=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(ID(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==o.match(/^Sequence$/i)?n=function(e,t,r,i,s,n){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let o=t.type.element;if(!o||"object"!=typeof o)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===o.type.name&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let a=[];for(let t=0;t<r.length;t++){let A=e.serialize(o,r[t],i,n);if(s&&o.xmlNamespace){let e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";"Composite"===o.type.name?a[t]={...A}:(a[t]={},a[t][n.xml.xmlCharKey]=A),a[t].$={[e]:o.xmlNamespace}}else a[t]=A}return a}(this,e,t,r,!!this.isXML,s):null!==o.match(/^Dictionary$/i)?n=function(e,t,r,i,s,n){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let o=t.type.value;if(!o||"object"!=typeof o)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let a={};for(let t of Object.keys(r)){let A=e.serialize(o,r[t],i,n);a[t]=IO(o,A,s,n)}return s&&t.xmlNamespace?(a.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},a):a}(this,e,t,r,!!this.isXML,s):null!==o.match(/^Composite$/i)&&(n=function(e,t,r,i,s,n){if(IP(e,t)&&(t=IH(e,t,r,"clientName")),null!=r){let o={},a=IL(e,t,i);for(let A of Object.keys(a)){let l,c=a[A];if(c.readOnly)continue;let d=o;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=Iv(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(s&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let o=""!==c.serializedName?i+"."+c.serializedName:i,a=r[A],g=IP(e,t);g&&g.clientName===A&&null==a&&(a=t.serializedName);let u=e.serialize(c,a,o,n);if(void 0!==u&&null!=l){let e=IO(c,u,s,n);s&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=u):s&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=IT(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(A){let t=Object.keys(a);for(let s of Object.keys(r))t.every(e=>e!==s)&&Object.defineProperty(o,s,{value:e.serialize(A,r[s],i+'["'+s+'"]',n),enumerable:!0,configurable:!0,writable:!0})}return o}return r}(this,e,t,r,!!this.isXML,s)),n}deserialize(e,t,r,i={xml:{}}){let s,n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let o=e.type.name;if(r||(r=e.serializedName),null!==o.match(/^Composite$/i))s=function(e,t,r,i,s){let n=s.xml.xmlCharKey??"_";IP(e,t)&&(t=IH(e,t,r,"serializedName"));let o=IL(e,t,i),a={},A=[];for(let l of Object.keys(o)){let c=o[l],d=Iv(o[l].serializedName);A.push(d[0]);let{serializedName:g,xmlName:u,xmlElementName:h}=c,m=i;""!==g&&void 0!==g&&(m=i+"."+g);let p=c.headerCollectionPrefix;if(p){let t={};for(let i of Object.keys(r))i.startsWith(p)&&(t[i.substring(p.length)]=e.deserialize(c.type.value,r[i],m,s)),A.push(i);a[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)a[l]=e.deserialize(c,r.$[u],m,s);else if(c.xmlIsMsText)void 0!==r[n]?a[l]=r[n]:"string"==typeof r&&(a[l]=r);else{let t=h||u||g;if(c.xmlIsWrapped){let t=r[u],i=t?.[h]??[];Object.defineProperty(a,l,{value:e.deserialize(c,i,m,s),enumerable:!0,configurable:!0,writable:!0}),A.push(u)}else{let i=r[t];a[l]=e.deserialize(c,i,m,s),A.push(t)}}else{let i,n,A=r,g=0;for(let e of d){if(!A)break;g++,A=A[e]}null===A&&g<d.length&&(A=void 0),i=A;let u=t.type.polymorphicDiscriminator;if(u&&l===u.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[l])&&""===o[l].serializedName){i=r[l];let t=e.deserialize(c,i,m,s);for(let[e,r]of Object.entries(a))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);a=t}else(void 0!==i||void 0!==c.defaultValue)&&(n=e.deserialize(c,i,m,s),a[l]=n)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(o))if(Iv(o[t].serializedName)[0]===e)return!1;return!0};for(let n of Object.keys(r))if(t(n)){let t=e.deserialize(l,r[n],i+'["'+n+'"]',s);Object.defineProperty(a,n,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!s.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==a[e]||A.includes(e)||["$",s.xml.xmlCharKey].includes(e)||Object.defineProperty(a,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return a}(this,e,t,r,n);else{if(this.isXML){let e=n.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==o.match(/^Number$/i)?isNaN(s=parseFloat(t))&&(s=t):null!==o.match(/^Boolean$/i)?s="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?s=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?s=new Date(t):null!==o.match(/^UnixTime$/i)?s=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/i)?s=Ix(t):null!==o.match(/^Base64Url$/i)?s=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return Ix(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==o.match(/^Sequence$/i)?s=function(e,t,r,i,s){let n=t.type.element;if(!n||"object"!=typeof n)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===n.type.name&&n.type.className&&(n=e.modelMappers[n.type.className]??n);let t=[];for(let o=0;o<r.length;o++)t[o]=e.deserialize(n,r[o],`${i}[${o}]`,s);return t}return r}(this,e,t,r,n):null!==o.match(/^Dictionary$/i)&&(s=function(e,t,r,i,s){let n=t.type.value;if(!n||"object"!=typeof n)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let o of Object.keys(r))t[o]=e.deserialize(n,r[o],i,s);return t}return r}(this,e,t,r,n))}return e.isConstant&&(s=e.defaultValue),s}}function IU(e={},t=!1){return new IF(e,t)}function Iv(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function IT(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function IL(e,t,r){let i=t.type.modelProperties;if(!i){let s=IT(e,t,r);if(!s)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=s?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(s)}" of type "${t.type.className}" for object "${r}".`)}return i}function IO(e,t,r,i){if(!r||!e.xmlNamespace)return t;let s={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=s,e}let n={};return n[i.xml.xmlCharKey]=t,n.$=s,n}function IH(e,t,r,i){let s=IP(e,t);if(s){let n=s[i];if(n){"serializedName"===i&&(n=n.replace(/\\/gi,""));let s=r[n],o=t.type.uberParent??t.type.className;if("string"==typeof s&&o){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),s=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,s))return e[s];for(let[t,s]of Object.entries(e))t.startsWith(r+".")&&s.type.uberParent===r&&s.type.className&&i.push(s.type.className)}}(e.modelMappers.discriminators,s,o);r&&(t=r)}}}return t}function IP(e,t){return t.type.polymorphicDiscriminator||IY(e,t.type.uberParent)||IY(e,t.type.className)}function IY(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let IG="Sequence",Iz="Stream",Iq=o(5997).w;function IV(e,t,r){let i,s=t.parameterPath,n=t.mapper;if("string"==typeof s&&(s=[s]),Array.isArray(s)){if(s.length>0)if(n.isConstant)i=n.defaultValue;else{let t=I_(e,s);!t.propertyFound&&r&&(t=I_(r,s));let o=!1;t.propertyFound||(o=n.required||"options"===s[0]&&2===s.length),i=o?n.defaultValue:t.propertyValue}}else for(let[t,o]of(n.required&&(i={}),Object.entries(s))){let s=IV(e,{parameterPath:o,mapper:n.type.modelProperties[t]},r);void 0!==s&&(i||(i={}),Object.defineProperty(i,t,{value:s,enumerable:!0,configurable:!0,writable:!0}))}return i}function I_(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let IJ=Symbol.for("@azure/core-client original request");function IW(e){if(IJ in e)return IW(e[IJ]);let t=Iq.operationRequestMap.get(e);return t||(t={},Iq.operationRequestMap.set(e,t)),t}let Ij=["application/json","text/json"],IK=["application/xml","application/atom+xml"];async function IX(e,t,r,i,s){let n,o,a,A,l,c=await IZ(e,t,r,i,s);if(n=IW(c.request),!(void 0===(o=n?.shouldDeserialize)||("boolean"==typeof o?o:o(c))))return c;let d=IW(c.request),g=d?.operationSpec;if(!g||!g.responses)return c;let u=(A=IW(c.request),(l=A?.operationSpec)&&(a=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),a),{error:h,shouldReturnResponse:m}=function(e,t,r,i){let s,n=200<=e.status&&e.status<300;if(0===(s=Object.keys(t.responses)).length||1===s.length&&"default"===s[0]?n:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let o=r??t.responses.default,a=new Cb(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw a;let A=o?.bodyMapper,l=o?.headersMapper;try{if(e.parsedBody){let r,s=e.parsedBody;if(A){let e=s;if(t.isXML&&A.type.name===IG){e=[];let t=A.xmlElementName;"object"==typeof s&&t&&(e=s[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",i)}let n=s.error||r||s;a.code=n.code,n.message&&(a.message=n.message),A&&(a.response.parsedBody=r)}e.headers&&l&&(a.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){a.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:a,shouldReturnResponse:!1}}(c,g,u,i);if(h)throw h;if(m)return c;if(u){if(u.bodyMapper){let e=c.parsedBody;g.isXML&&u.bodyMapper.type.name===IG&&(e="object"==typeof e?e[u.bodyMapper.xmlElementName]:[]);try{c.parsedBody=g.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new Cb(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===g.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);u.headersMapper&&(c.parsedHeaders=g.serializer.deserialize(u.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function IZ(e,t,r,i,s){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let n=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(e=>e.toLowerCase()):[];try{if(0===a.length||a.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(n);else if(a.some(e=>-1!==t.indexOf(e))){if(!s)throw Error("Parsing XML not supported.");r.parsedBody=await s(n,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||Cb.PARSE_ERROR;throw new Cb(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function I$(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function I0(e={}){var t,r,i,s,n;let o,a,A,l,c,d,g=(t=e??{},a=Cp.create(),t.agent&&a.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&a.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),a.addPolicy((s=t.proxyOptions,n=void 0,Cq||Cz.push(...(A=C_("NO_PROXY"),(Cq=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=s?CW(s):(l=CJ())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let s=!1;for(let e of t)"."===e[0]?i.endsWith(e)?s=!0:i.length===e.length-1&&i===e.slice(1)&&(s=!0):i===e&&(s=!0);return r?.set(i,s),s}(e.url,n?.customNoProxyList??Cz,n?.customNoProxyList?void 0:CV)?Cj(e,d,c):e.proxySettings&&Cj(e,d,CW(e.proxySettings)),t(e))})),a.addPolicy({name:It,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),a.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=Ip(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),a.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await CP(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[C8]}),a.addPolicy(function(e={}){let t=Ii(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(Is)||e.headers.set(Is,await t),r(e))}}(t.userAgentOptions)),a.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),a.addPolicy((o={name:C8,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",s=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,n,o]=s;if(o&&r&&o!==r)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);if(r??=o){var a=r;if(a.length>70)throw Error(`Multipart boundary "${a}" exceeds maximum length of 70 characters`);if(Array.from(a).some(e=>!C9.has(e)))throw Error(`Multipart boundary "${a}" contains invalid characters`)}else r=`----AzSDKFormBoundary${Cu()}`;return e.headers.set("Content-Type",`${n}; boundary=${r}`),await C4(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:C8,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;Io(t.body)&&(t.body=Io(r=t.body)?r[In]():r)}return o.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),a.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||CO;return{name:"retryPolicy",async sendRequest(i,s){let n,o,a=-1;e:for(;;){a+=1,n=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,i.requestId),n=await s(i),r.info(`Retry ${a}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${a}: Received an error from request`,i.requestId),!CS(e))throw e;o=e,n=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new p$;if(a>=(t.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(n)return n;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${a}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);let s=t.retry({retryCount:a,response:n,responseError:o});if(s.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=s;if(A)throw e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((i,s)=>{let n,o,a=()=>s(new p$(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(n&&clearTimeout(n),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();n=setTimeout(()=>{A(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}(l,void 0,{abortSignal:i.abortSignal});continue e}if(c){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${c}`),i.url=c;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(n)return r.info("None of the retry strategies could work with the received response. Returning it."),n}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=CL(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:s,responseError:n}){var o,a,A,l,c;let d,g,u=!!(l=n)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=u&&e.ignoreSystemErrors,m=!!((c=s)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),p=m&&e.ignoreHttpStatusCodes;return s&&(Number.isFinite(CL(s))||!m)||p||h?{skipStrategy:!0}:!n||u||m?(d=(o={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(g=Math.min(o.maxRetryDelayInMs,d))/2+(a=0,A=g/2,a=Math.ceil(a),Math.floor(Math.random()*((A=Math.floor(A))-a+1))+a)}):{errorToThrow:n}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),a.addPolicy(function(e={}){let t=Ii(e.userAgentPrefix),r=new CQ({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return Im({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){Ie.warning(`Error when creating the TracingClient: ${Il(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,s){if(!i)return s(e);let n=await t,o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":n,requestId:e.requestId};n&&(o["http.user_agent"]=n);let{span:a,tracingContext:A}=function(e,t,r){try{let{span:i,updatedOptions:s}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let n=e.createRequestHeaders(s.tracingOptions.tracingContext);for(let[e,r]of Object.entries(n))t.headers.set(e,r);return{span:i,tracingContext:s.tracingOptions.tracingContext}}catch(e){Ie.warning(`Skipping creating a tracing span due to an error: ${Il(e)}`);return}}(i,e,o)??{};if(!a||!A)return s(e);try{let t=await i.withContext(A,s,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){Ie.warning(`Skipping tracing span processing due to an error: ${Il(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:CI(t)?t:void 0}),CS(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){Ie.warning(`Skipping tracing span processing due to an error: ${Il(e)}`)}}(a,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:CK,async sendRequest(e,i){let s=await i(e);return CZ(i,s,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let t=e.logger??CD.info,r=new CQ({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let s=await i(e);return t(`Response status code: ${s.status}`),t(`Headers: ${r.sanitize({headers:s.headers})}`),s}}}({logger:Ie.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),a);return e.credentialOptions&&g.addPolicy(IN({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),g.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=IW(e),s=i?.operationSpec,n=i?.operationArguments;return s&&n&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let s=IV(t,i);if(null!=s||i.mapper.required){s=r.serializer.serialize(i.mapper,s,I$(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(s))e.headers.set(t+r,s[r]);else e.headers.set(i.mapper.serializedName||I$(i),s)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,n,s),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let s=t.options?.serializerOptions,n={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}},o=n.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=IV(t,r.requestBody);let s=r.requestBody.mapper,{required:a,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:g,nullable:u}=s,h=s.type.name;try{if(void 0!==e.body&&null!==e.body||u&&null===e.body||a){let t=I$(r.requestBody);e.body=r.serializer.serialize(s,e.body,t,n);let a=h===Iz;if(r.isXML){let t=g?`xmlns:${g}`:"xmlns",r=function(e,t,r,i,s){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[s.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(d,t,h,e.body,n);h===IG?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let s={[t]:e};return s.$={[r]:i},s}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:o}):a||(e.body=i(r,{rootName:l||A,xmlCharKey:o}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;a||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let s=IV(t,i);if(null!=s){let t=i.mapper.serializedName||I$(i);e.formData[t]=r.serializer.serialize(i.mapper,s,I$(i),n)}}}(e,n,s,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),g.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??Ij,r=e.expectedContentTypes?.xml??IK,i=e.parseXML,s=e.serializerOptions,n={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,s)=>IX(t,r,await s(e),n,i)}}(e.deserializationOptions),{phase:"Deserialize"}),g}let I1={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function I2(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let I3=C7("core-client");class I5{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var r;let i,s;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&I3.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(t||(t=IC()),t),this.pipeline=e.pipeline||(i=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(r=e),s=r.credential&&i?{credentialScopes:i,credential:r.credential}:void 0,I0({...r,credentialOptions:s})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new Ch({url:function(e,t,r,i){let s=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let s of e.urlParameters){let n=IV(t,s,r),o=I$(s);n=e.serializer.serialize(s.mapper,n,o),s.skipEncoding||(n=encodeURIComponent(n)),i.set(`{${s.mapper.serializedName||o}}`,n)}return i}(t,r,i),n=!1,o=I2(e,s);if(t.path){let e=I2(t.path,s);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(o=e,n=!0):o=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let s=t.indexOf("?");if(-1!==s){let e=t.substring(0,s),n=t.substring(s+1);i+=e,n&&(r.search=r.search?`${r.search}&${n}`:n)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(o,e)}let{queryParams:a,sequenceParams:A}=function(e,t,r){let i=new Map,s=new Set;if(e.queryParameters?.length)for(let n of e.queryParameters){"Sequence"===n.mapper.type.name&&n.mapper.serializedName&&s.add(n.mapper.serializedName);let o=IV(t,n,r);if(null!=o||n.mapper.required){o=e.serializer.serialize(n.mapper,o,I$(n));let t=n.collectionFormat?I1[n.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(e=>null==e?"":e)),"Multi"===n.collectionFormat&&0===o.length)continue;Array.isArray(o)&&("SSV"===n.collectionFormat||"TSV"===n.collectionFormat)&&(o=o.join(t)),n.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&("CSV"===n.collectionFormat||"Pipes"===n.collectionFormat)&&(o=o.join(t)),i.set(n.mapper.serializedName||I$(n),o)}}return{queryParams:i,sequenceParams:s}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let s=new URL(e),n=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),s=t.get(e);s?Array.isArray(s)?s.push(i):t.set(e,[s,i]):t.set(e,i)}return t}(s.search);for(let[e,s]of t){let t=n.get(e);if(Array.isArray(t))if(Array.isArray(s)){t.push(...s);let r=new Set(t);n.set(e,Array.from(r))}else t.push(s);else t?(Array.isArray(s)?s.unshift(t):r.has(e)&&n.set(e,[t,s]),i||n.set(e,s)):n.set(e,s)}let o=[];for(let[e,t]of n)if("string"==typeof t)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)o.push(`${e}=${r}`);else o.push(`${e}=${t}`);return s.search=o.length?`?${o.join("&")}`:"",s.toString()}(o,a,A,n)}(r,t,e,this)});i.method=t.httpMethod;let s=IW(i);s.operationSpec=t,s.operationArguments=e;let n=t.contentType||this._requestContentType;n&&t.requestBody&&i.headers.set("Content-Type",n);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(s.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),o.abortSignal&&(i.abortSignal=o.abortSignal),o.tracingOptions&&(i.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===Iz&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=Ik(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=Ik(r,t.responses[e.statusCode]||t.responses.default);e.details=i,o?.onResponse&&o.onResponse(r,i,e)}throw e}}}let I4="authorization",I8=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,s=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),n=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,s),o=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(s);if(!o)return!1;let a=await e.getAccessToken(n,{...r,tenantId:o});return!!a&&(e.request.headers.set(I4,`${a.tokenType??"Bearer"} ${a.token}`),!0)}return!1},I9=Symbol("Original PipelineRequest"),I6=Symbol.for("@azure/core-client original request"),I7=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function fe(e,t={}){let r=e[I9],i=Cg(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new Ch({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[I6]=t.originalRequest),r}}function ft(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:fr(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,s,n)=>s===I9?e:"clone"===s?()=>ft(fe(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,s,n),set:(t,r,i,s)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&I7.has(r)&&(e[r]=i),Reflect.set(t,r,i,s))}):i}function fr(e){return new fs(e.toJSON({preserveCase:!0}))}function fi(e){return e.toLowerCase()}class fs{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[fi(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[fi(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[fi(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[fi(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[fi(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new fs(e)}}let fn=Symbol("Original FullOperationResponse");function fo(e,t){let r=ft(e.request),i=fr(e.headers);return t?.createProxy?new Proxy(e,{get:(t,s,n)=>"headers"===s?i:"request"===s?r:s===fn?e:Reflect.get(t,s,n),set:(e,t,s,n)=>("headers"===t?i=s:"request"===t&&(r=s),Reflect.set(e,t,s,n))}):{...e,request:r,headers:i}}function fa(e){let t=e[fn],r=Cg(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:fe(e.request)}}class fA extends I5{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===Iw)||this.pipeline.addPolicy({name:Iw,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:CK})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,s){r=e,i&&i(e,t,s)}};let s=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(s,"_response",{value:fo(r)}),s}}(es=eE||(eE={}))[es.ERROR=1]="ERROR",es[es.INFO=3]="INFO",es[es.OFF=0]="OFF",es[es.WARNING=2]="WARNING";let fl={log(e,t){},shouldLog:e=>!1};class fc{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},s=null,n=e,o=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(o&&(n=o[1]+o[3],o[2])){let e=o[2].slice(1,-1);e&&(s=e)}let a=n;if(n.includes("::")){let r=n.indexOf("::");if(t=n.substring(0,r).trim(),a=n.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(a.includes(":")){let e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),i=a.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,A=i):r=a}else r=a;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),s)if(s.includes("=")){let e=s.indexOf("=");i.attrName=s.substring(0,e).trim(),i.attrValue=s.substring(e+1).trim()}else i.attrName=s.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=A}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class fd{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class fg{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new fd(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length,n=this.siblingStacks[s];n||(n={counts:new Map,total:0},this.siblingStacks[s]=n);let o=r?`${r}:${e}`:e,a=n.counts.get(o)||0,A=n.total;n.counts.set(o,a+1),n.total++;let l={tag:e,position:A,counter:a};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==i?i.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],s=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,s=!0;break}if(!s)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function fu(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function fh(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function fm(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let fp=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",fC=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",fI=(e,t,r="")=>{let i=e.replace(":",""),s=t.replace(":",""),n=`[${i}][${s}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${n}$`,r),qName:RegExp(`^${n}(?::${n})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},ff=fI(fp,fp+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),fE=fI(fC,fC+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),fB=":A-Za-z_",fy=fI(fB,fB+"\\-\\.\\d"),fQ=(e="1.0",t=!1)=>t?fy:"1.1"===e?fE:ff,fN=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>fQ(t,r).qName.test(e),fb=["name","ncName","qName","nmToken","nmTokens"],fS=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!fb.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${fb.join(", ")}`);let s=fQ(t,r)[e],n=new Map,o=e=>{let t=n.get(e);if(void 0!==t)return t;let r=s.test(e);return n.size<i&&n.set(e,r),r};return o.reset=()=>{n=new Map},o};function fw(e,t,r,i,s){return!r.sanitizeName||s(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function fD(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function fx(e,t,r,i,s){let n="";if(e&&!t.ignoreAttributes)for(let o in e){let a;if(!Object.prototype.hasOwnProperty.call(e,o))continue;let A=o.substr(t.attributeNamePrefix.length),l=r?A:fw(A,!0,t,i,s);!0===(a=r?e[o]:fR(a=t.attributeValueProcessor(o,e[o]),t))&&t.suppressBooleanAttributes?n+=` ${l}`:n+=` ${l}="${fm(a)}"`}return n}function fR(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let fM={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function fk(e){if(this.options=Object.assign({},fM,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new fc(t)):t instanceof fc&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=fT}this.processTextOrObjNode=fU,this.options.format?(this.indentate=fv,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function fF(e,t,r,i,s){return!r.sanitizeName||s(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function fU(e,t,r,i,s){let n=this.extractAttributes(e);if(i.push(t,n),this.checkStopNode(i)){let s=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(s,t,n,r)}let o=this.j2x(e,r+1,i,s);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,o.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,r,i):this.buildObjectNode(o.val,t,o.attrStr,r)}function fv(e){return this.options.indentBy.repeat(e)}function fT(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}fk.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new fc(r)):r instanceof fc&&i.push(r)}let s=fS("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===fD(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,s,n,o){let a="",A=!1;if(r.maxNestedTags&&s.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return fR(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],g=fD(d);if(void 0===g)continue;let u=g===r.textNodeName||g===r.cdataPropName||g===r.commentPropName||"?"===g[0]?g:fw(g,!1,r,s,o),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s.startsWith(t.attributeNamePrefix)?s.substr(t.attributeNamePrefix.length):s]=fm(e[s]),i=!0);return i?r:null}(d[":@"],r);s.push(u,h);let m=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(s,n);if(u===r.textNodeName){let e=d[g];m||(e=fR(e=r.tagValueProcessor(u,e),r)),A&&(a+=i),a+=e,A=!1,s.pop();continue}if(u===r.cdataPropName){A&&(a+=i);let e=fh(d[g][0][r.textNodeName]);a+=`<![CDATA[${e}]]>`,A=!1,s.pop();continue}if(u===r.commentPropName){let e=fu(d[g][0][r.textNodeName]);a+=i+`<!--${e}-->`,A=!0,s.pop();continue}else if("?"===u[0]){let e=fx(d[":@"],r,m,s,o);a+=("?xml"===u?"":i)+`<${u}${e}?>`,A=!0,s.pop();continue}let p=i;""!==p&&(p+=r.indentBy);let C=fx(d[":@"],r,m,s,o),I=i+`<${u}${C}`;c=m?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let s=0;s<t.length;s++){let n=t[s],o=fD(n);if(o===r.textNodeName)i+=n[o];else if(o===r.cdataPropName)i+=n[o][0][r.textNodeName];else if(o===r.commentPropName)i+=n[o][0][r.textNodeName];else if(o&&"?"===o[0])continue;else if(o){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=e[i];!0===s&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${fm(s)}"`}return r}(n[":@"],r),s=e(n[o],r);s&&0!==s.length?i+=`<${o}${t}>${s}</${o}>`:i+=`<${o}${t}/>`}}return i}(d[g],r):e(d[g],r,p,s,n,o),-1!==r.unpairedTags.indexOf(u)?r.suppressUnpairedNode?a+=I+">":a+=I+"/>":(!c||0===c.length)&&r.suppressEmptyNode?a+=I+"/>":c&&c.endsWith(">")?a+=I+`>${c}${i}</${u}>`:(a+=I+">",c&&""!==i&&(c.includes("/>")||c.includes("</"))?a+=i+r.indentBy+c+i:a+=c,a+=`</${u}>`),A=!0,s.pop()}return a}(e,t,r,new fg,i,s)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new fg,r=fS("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},fk.prototype.j2x=function(e,t,r,i){let s="",n="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:fF(A,!1,this.options,r,i);if(void 0===e[A])this.isAttribute(A)&&(n+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?n+="":"?"===l[0]?n+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)n+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,o)){let t=fF(c,!0,this.options,r,i);s+=this.buildAttrPairStr(t,""+e[A],a)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);n+=this.replaceEntitiesValue(t)}else{r.push(l);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[A];""===r?n+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:n+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else n+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let s=e[A].length,o="",a="";for(let c=0;c<s;c++){let s=e[A][c];if(void 0===s);else if(null===s)"?"===l[0]?n+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof s)if(this.options.oneListGroup){r.push(l);let e=this.j2x(s,t+1,r,i);r.pop(),o+=e.val,this.options.attributesGroupName&&s.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else o+=this.processTextOrObjNode(s,l,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,s);o+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+s;""===e?o+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:o+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(s,l,"",t,r)}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,a,t)),n+=o}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),n=t.length;for(let o=0;o<n;o++){let n=fF(t[o],!0,this.options,r,i);s+=this.buildAttrPairStr(n,""+e[A][t[o]],a)}}else n+=this.processTextOrObjNode(e[A],l,t,r,i)}return{attrStr:s,val:n}},fk.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+fm(t)+'"'},fk.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=fm(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=this.isAttribute(i);s&&(t[s]=fm(e[i]),r=!0)}return r?t:null},fk.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${s}/>`:t+=`<${r}${s}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),s=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${s}/>`:t+=`<${r}${s}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},fk.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,s=r[e];!0===s&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+fm(s)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let s=e[r];!0===s&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+fm(s)+'"'}}return t},fk.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let s="</"+t+this.tagEndChar,n="";return("?"===t[0]&&(n="?",s=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+n+">"+e+s:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===n.length?this.indentate(i)+`<!--${fu(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+n+this.tagEndChar+e+this.indentate(i)+s}},fk.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},fk.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},fk.prototype.buildTextValNode=function(e,t,r,i,s){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=fh(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=fu(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let s=this.options.tagValueProcessor(t,e);return""===(s=this.replaceEntitiesValue(s))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+s+"</"+t+this.tagEndChar}},fk.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let fL=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",fO=RegExp("^"+("["+fL+"]["+fL)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function fH(e,t){let r=[],i=t.exec(e);for(;i;){let s=[];s.startIndex=t.lastIndex-i[0].length;let n=i.length;for(let e=0;e<n;e++)s.push(i[e]);r.push(s),i=t.exec(e)}return r}let fP=function(e){return null!=fO.exec(e)},fY=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],fG=["__proto__","constructor","prototype"],fz={allowBooleanAttributes:!1,unpairedTags:[]};function fq(e,t){t=Object.assign({},fz,t);let r=[],i=!1,s=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let n=0;n<e.length;n++)if("<"===e[n]&&"?"===e[n+1]){if(n+=2,(n=f_(e,n)).err)return n}else if("<"===e[n]){let o=n;if("!"===e[++n]){n=fJ(e,n);continue}{let a=!1;"/"===e[n]&&(a=!0,n++);let A="";for(;n<e.length&&">"!==e[n]&&" "!==e[n]&&" "!==e[n]&&"\n"!==e[n]&&"\r"!==e[n];n++)A+=e[n];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),n--),!fP(A))return fK("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",fX(e,n));let l=function(e,t){let r="",i="",s=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){s=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:s}}(e,n);if(!1===l)return fK("InvalidAttr","Attributes for '"+A+"' have open quote.",fX(e,n));let c=l.value;if(n=l.index,"/"===c[c.length-1]){let r=n-c.length,s=fj(c=c.substring(0,c.length-1),t);if(!0!==s)return fK(s.err.code,s.err.msg,fX(e,r+s.err.line));i=!0}else if(a)if(!l.tagClosed)return fK("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",fX(e,n));else{if(c.trim().length>0)return fK("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",fX(e,o));if(0===r.length)return fK("InvalidTag","Closing tag '"+A+"' has not been opened.",fX(e,o));let t=r.pop();if(A!==t.tagName){let r=fX(e,t.tagStartPos);return fK("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",fX(e,o))}0==r.length&&(s=!0)}else{let a=fj(c,t);if(!0!==a)return fK(a.err.code,a.err.msg,fX(e,n-c.length+a.err.line));if(!0===s)return fK("InvalidXml","Multiple possible root nodes found.",fX(e,n));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:o}),i=!0}for(n++;n<e.length;n++)if("<"===e[n])if("!"===e[n+1]){n=fJ(e,++n);continue}else if("?"===e[n+1]){if((n=f_(e,++n)).err)return n}else break;else if("&"===e[n]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,n);if(-1==t)return fK("InvalidChar","char '&' is not expected.",fX(e,n));n=t}else if(!0===s&&!fV(e[n]))return fK("InvalidXml","Extra text at the end",fX(e,n));"<"===e[n]&&n--}}else{if(fV(e[n]))continue;return fK("InvalidChar","char '"+e[n]+"' is not expected.",fX(e,n))}return i?1==r.length?fK("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",fX(e,r[0].tagStartPos)):!(r.length>0)||fK("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):fK("InvalidXml","Start tag expected.",1)}function fV(e){return" "===e||" "===e||"\n"===e||"\r"===e}function f_(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return fK("InvalidXml","XML declaration allowed only at the start of the document.",fX(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function fJ(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let fW=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function fj(e,t){let r=fH(e,fW),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return fK("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",fZ(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return fK("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",fZ(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return fK("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",fZ(r[e]));let s=r[e][2];if(!fP(s))return fK("InvalidAttr","Attribute '"+s+"' is an invalid name.",fZ(r[e]));if(Object.prototype.hasOwnProperty.call(i,s))return fK("InvalidAttr","Attribute '"+s+"' is repeated.",fZ(r[e]));i[s]=1}return!0}function fK(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function fX(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function fZ(e){return e.startIndex+e[1].length}let f$=e=>fY.includes(e)?"__"+e:e,f0={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:f$},f1=function(e){let t=Object.assign({},f0,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(fY.some(e=>r===e.toLowerCase())||fG.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=f$),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};r="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class f2{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][r]={startIndex:t})}static getMetaDataSymbol(){return r}}class f3{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let s=1,n=!1,o=!1;for(;t<e.length;t++)if("<"!==e[t]||o)if(">"===e[t]){if(o?"-"===e[t-1]&&"-"===e[t-2]&&(o=!1,s--):s--,0===s)break}else"["===e[t]?n=!0:e[t];else{if(n&&f4(e,"!ENTITY",t)){let s,n;if(t+=7,[s,n,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===n.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[s]=n,i++}}else if(n&&f4(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(n&&f4(e,"!ATTLIST",t))t+=8;else if(n&&f4(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(f4(e,"!--",t))o=!0;else throw Error("Invalid DOCTYPE");s++}if(0!==s)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=f5(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(f8(i,{xmlVersion:this.xmlVersion}),t=f5(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let s="";if([t,s]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&s.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,s,--t]}readNotationExp(e,t){let r=t=f5(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||f8(i,{xmlVersion:this.xmlVersion}),t=f5(e,t);let s=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==s&&"PUBLIC"!==s)throw Error(`Expected SYSTEM or PUBLIC, found "${s}"`);t+=s.length,t=f5(e,t);let n=null,o=null;if("PUBLIC"===s)[t,n]=this.readIdentifierVal(e,t,"publicIdentifier"),t=f5(e,t),('"'===e[t]||"'"===e[t])&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===s&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!o))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:n,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let i="",s=e[t];if('"'!==s&&"'"!==s)throw Error(`Expected quoted string, found "${s}"`);let n=++t;for(;t<e.length&&e[t]!==s;)t++;if(i=e.substring(n,t),e[t]!==s)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=f5(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!fN(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=f5(e,t);let s="";if("E"===e[t]&&f4(e,"MPTY",t))t+=4;else if("A"===e[t]&&f4(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(s=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:s.trim(),index:t}}readAttlistExp(e,t){let r=t=f5(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(f8(i,{xmlVersion:this.xmlVersion}),r=t=f5(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let s=e.substring(r,t);if(!f8(s,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${s}"`);t=f5(e,t);let n="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(n="NOTATION",t+=8,t=f5(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let s=e.substring(i,t);if(!f8(s=s.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${s}"`);r.push(s),"|"===e[t]&&(t=f5(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,n+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(n+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(n.toUpperCase()))throw Error(`Invalid attribute type: "${n}"`)}t=f5(e,t);let o="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(o="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(o="#IMPLIED",t+=7):[t,o]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:s,attributeType:n,defaultValue:o,index:t}}}let f5=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function f4(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function f8(e,t){if(fN(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let f9=new Map,f6=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?f6[r-1632]=t:f9.set(r,t)}let f7=new Set([8722,65293,65123]),Ee=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let s=e.charCodeAt(i);if((!(s>=48)||!(s<=57))&&45!==s){if(s<1632){if(f7.has(s)){r=i;break}continue}if(s>=55296&&s<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(s-55296<<10)+(t-56320);if(f9.has(e)){r=i;break}}}continue}if(255!==f6[s-1632]||f7.has(s)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let s=r;s<t;s++){let r=e.charCodeAt(s);if(r>=48&&r<=57||45===r){i.push(e[s]);continue}if(r<1632){i.push(f7.has(r)?"-":e[s]);continue}if(r>=55296&&r<=56319){if(s+1<t){let t=e.charCodeAt(s+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),n=f9.get(e);if(void 0!==n){i.push(String.fromCharCode(n+48)),s++;continue}}}i.push(e[s]);continue}if(f7.has(r)){i.push("-");continue}let n=f6[r-1632];i.push(255!==n?String.fromCharCode(n+48):e[s])}return i.join("")},Et=/^[-+]?0x[a-fA-F0-9]+$/,Er=/^0b[01]+$/,Ei=/^0o[0-7]+$/,Es=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,En={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},Eo=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Ea(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class EA{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,s=this._byDepthAndTag.get(i);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let n=this._wildcardByDepth.get(t);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++)if(e.matches(o[t]))return o[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let El={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},Ec={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Ed={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},Eg=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),Eu=new Set("!?\\\\/[]$%{}^&*()<>|+");function Eh(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(Eu.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function Em(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let Ep="external",EC="base",EI=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Ef=new Set([9,10,13]);class EE{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??Ep)&&t!==Ep?"all"===t?["all"]:t===EC?[EC]:Array.isArray(t)?t:[Ep]:[Ep]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Em(Ec,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:EI.allow,nullLevel:EI.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:EI[e.onNCR]??EI.allow,nullLevel:Math.max(EI[e.nullNCR]??EI.remove,EI.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let s=e(t,r);if(s===Eg.BLOCK)return!1;if(s===Eg.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))Eh(t);if(!this._onExternalEntity){this._externalMap=Em(e);return}let t=Em(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){Eh(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=Em(e);return}let t=Em(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,s=0,n=this._maxTotalExpansions>0,o=this._maxExpandedLength>0,a=n||o;for(;s<r;){let A,l;if(38!==e.charCodeAt(s)){s++;continue}let c=s+1;for(;c<r&&59!==e.charCodeAt(c)&&c-s<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){s++;continue}let d=e.slice(s+1,c);if(0===d.length){s++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=Ep);else if(this._leaveSet.has(d)){s++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){s++;continue}A=e,l=EC}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){s++;continue}if(s>i&&t.push(e.slice(i,s)),t.push(A),s=i=c+1,a&&this._tierCounts(l)){if(n&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(o){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:Ep}:e in this._externalMap?{value:this._externalMap[e],tier:Ep}:e in this._baseMap?{value:this._baseMap[e],tier:EC}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!Ef.has(e)?EI.remove:-1}_applyNCRAction(e,t,r){switch(e){case EI.allow:return String.fromCodePoint(r);case EI.remove:return"";case EI.leave:return;case EI.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<EI.remove)return;let s=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(s,e,t)}}let EB=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],Ey=[...EB,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],EQ=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],EN=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],Eb=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],ES=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],Ew=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],ED="[\"'\\s]*:",Ex=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${ED}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${ED}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${ED}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${ED}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${ED}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${ED}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${ED}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${ED}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${ED}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${ED}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${ED}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${ED}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${ED}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],ER=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];EQ.label="HTML",EN.label="XML",Eb.label="SVG",EB.label="SQL",Ey.label="SQL-STRICT",ES.label="SHELL",Ew.label="REDOS",Ex.label="NOSQL",ER.label="LOG",Object.freeze({HTML:EQ,XML:EN,SVG:Eb,SQL:EB,"SQL-STRICT":Ey,SHELL:ES,REDOS:Ew,NOSQL:Ex,LOG:ER});class EM{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=ET,this.parseTextData=Ek,this.resolveNameSpace=EF,this.buildAttributesMap=Ev,this.isItStopNode=EP,this.replaceEntitiesValue=EO,this.readStopNodeData=Ez,this.saveTextToParentTag=EH,this.addChild=EL,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...Ec};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...Ed,...El}),this.entityDecoder=new EE({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[EQ,EN])?Eg.ALLOW:Eg.BLOCK})),this.matcher=new fg,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new EA;let s=this.options.stopNodes;if(s&&s.length>0){for(let e=0;e<s.length;e++){let t=s[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new fc(t)):t instanceof fc&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function Ek(e,t,r,i,s,n,o){let a=this.options;if(void 0!==e&&(a.trimValues&&!i&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,r));let i=a.jPath?r.toString():r,A=a.tagValueProcessor(t,e,i,s,n);return null==A?e:typeof A!=typeof e||A!==e?A:a.trimValues||e.trim()===e?Eq(e,a.parseTagValue,a.numberParseOptions):e}}function EF(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let EU=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function Ev(e,t,r,i=!1){let s=this.options;if(!0===i||!0!==s.ignoreAttributes&&"string"==typeof e){let i=fH(e,EU),n=i.length,o={},a=Array(n),A=!1,l={};for(let e=0;e<n;e++){let t=this.resolveNameSpace(i[e][1]),n=i[e][4];if(t.length&&void 0!==n){let i=n;s.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),a[e]=i,l[t]=i,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=s.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<n;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=s.attributeNamePrefix+t;if(t.length)if(s.transformAttributeName&&(r=s.transformAttributeName(r)),r=E_(r,s),void 0!==i[e][4]){let i=a[e],n=s.attributeValueProcessor(t,i,c);null==n?o[r]=i:typeof n!=typeof i||n!==i?o[r]=n:o[r]=Eq(i,s.parseAttributeValue,s.numberParseOptions),d=!0}else s.allowBooleanAttributes&&(o[r]=!0,d=!0)}if(!d)return;if(s.attributesGroupName&&!s.preserveOrder){let e={};return e[s.attributesGroupName]=o,e}return o}}let ET=function(e){e=e.replace(/\r\n?/g,"\n");let t=new f2("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let s=this.options,n=new f3(s.processEntities),o=e.length;for(let a=0;a<o;a++)if("<"===e[a]){let A=e.charCodeAt(a+1);if(47===A){let t=EY(e,">",a,"Closing Tag is not closed."),n=e.substring(a+2,t).trim();if(s.removeNSPrefix){let e=n.indexOf(":");-1!==e&&(n=n.substr(e+1))}n=EV(s.transformTagName,n,"",s).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(n&&s.unpairedTagsSet.has(n))throw Error(`Unpaired tag can not be used as closing tag: </${n}>`);o&&s.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",a=t}else if(63===A){let t=EG(e,a,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),n.setXmlVersion(Number(e)||1)}if(s.ignoreDeclaration&&"?xml"===t.tagName||s.ignorePiTags);else{let e=new f2(t.tagName);e.add(s.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==s.ignoreAttributes&&(e[":@"]=o),this.addChild(r,e,this.readonlyMatcher,a)}a=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(a+2)&&45===e.charCodeAt(a+3)){let t=EY(e,"--\x3e",a+4,"Comment is not closed.");if(s.commentPropName){let n=e.substring(a+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:n}])}a=t}else if(33===A&&68===e.charCodeAt(a+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=n.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities),a=t.i}else if(33===A&&91===e.charCodeAt(a+2)){let t=EY(e,"]]>",a,"CDATA is not closed.")-2,n=e.substring(a+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.parseTextData(n,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==o&&(o=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:n}]):r.add(s.textNodeName,o),a=t+2}else{let n,A=EG(e,a,s.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,g=A.attrExpPresent,u=A.closeIndex;if({tagName:l,tagExp:d}=EV(s.transformTagName,l,d,s),s.strictReservedNames&&(l===s.commentPropName||l===s.cdataPropName||l===s.textNodeName||l===s.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&s.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(m=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),g=l!==d);let p=null;n=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},n),l!==d&&g&&(p=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(p,s),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let C=a;if(this.isCurrentNodeStopNode){let t="";if(m)a=A.closeIndex;else if(s.unpairedTagsSet.has(l))a=A.closeIndex;else{let r=this.readStopNodeData(e,c,u+1);if(!r)throw Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}let i=new f2(l);p&&(i[":@"]=p),i.add(s.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,C)}else{if(m){({tagName:l,tagExp:d}=EV(s.transformTagName,l,d,s));let e=new f2(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(l)){let e=new f2(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let e=new f2(l);if(this.tagsNodeStack.length>s.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),r=e}i="",a=u}}}else i+=e[a];return t.child};function EL(e,t,r,i){this.options.captureMetaData||(i=void 0);let s=this.options.jPath?r.toString():r,n=this.options.updateTag(t.tagname,s,t[":@"]);!1===n||("string"==typeof n&&(t.tagname=n),e.addChild(t,i))}function EO(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let s=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,s)))return e}if(i.tagFilter){let s=this.options.jPath?r.toString():r;if(!i.tagFilter(t,s))return e}return this.entityDecoder.decode(e)}function EH(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function EP(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function EY(e,t,r,i){let s=e.indexOf(t,r);if(-1!==s)return s+t.length-1;throw Error(i)}function EG(e,t,r,i=">"){let s=function(e,t,r=">"){let i=0,s=e.length,n=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",A=t;for(let r=t;r<s;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===n){if(-1===o)return{data:a+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===o)return{data:a+=e.substring(A,r),index:r}}else 9!==t||i||(a+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,i);if(!s)return;let n=s.data,o=s.index,a=n.search(/\s/),A=n,l=!0;-1!==a&&(A=n.substring(0,a),n=n.substring(a+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==s.data.substr(e+1))}return{tagName:A,tagExp:n,closeIndex:o,attrExpPresent:l,rawTagName:c}}function Ez(e,t,r){let i=r,s=1,n=e.length;for(;r<n;r++)if("<"===e[r]){let n=e.charCodeAt(r+1);if(47===n){let n=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,n).trim()===t&&0==--s)return{tagContent:e.substring(i,r),i:n};r=n}else if(63===n)r=EY(e,"?>",r+1,"StopNode is not closed.");else if(33===n&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=EY(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===n&&91===e.charCodeAt(r+2))r=EY(e,"]]>",r,"StopNode is not closed.")-2;else{let i=EG(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&s++,r=i.closeIndex)}}}function Eq(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},En,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=Ee(r)))return 0;if(t.hex&&Et.test(r))return Ea(r,16);{if(t.binary&&Er.test(r))return Ea(r,2);if(t.octal&&Ei.test(r))return Ea(r,8);if(!isFinite(r)){var i,s=e,n=Number(r),o=t;switch(o.infinity.toLowerCase()){case"null":return null;case"infinity":return n;case"string":return n===1/0?"Infinity":"-Infinity";default:return s}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(Eo);if(!i)return e;{let s=i[1]||"",n=-1===i[3].indexOf("e")?"E":"e",o=i[2],a=s?e[o.length+1]===n:e[o.length]===n;if(o.length>1&&a)return e;if(1===o.length&&(i[3].startsWith(`.${n}`)||i[3][0]===n))return Number(t);if(!(o.length>0))return Number(t);else if(r.leadingZeros&&!a)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let a=Es.exec(r);if(!a)return e;{let s=a[1]||"",n=a[2],o=((i=a[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),A=s?"."===e[n.length+1]:"."===e[n.length];if(!t.leadingZeros&&(n.length>1||1===n.length&&!A))return e;{let i=Number(r),a=String(i);if(0===i)return i;if(-1!==a.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===a)return i;else if(a===o)return i;else if(a===`${s}${o}`)return i;else return e;let A=n?o:r;return n?A===a||s+A===a?i:e:A===a||A===s+a?i:e}}}}(e,r)}return void 0!==e?e:""}function EV(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=E_(t,i),tagExp:r}}function E_(e,t){if(fG.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return fY.includes(e)?t.onDangerousProperty(e):e}let EJ=f2.getMetaDataSymbol();class EW{constructor(e){this.externalEntities={},this.options=f1(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=fq(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new EM(this.options,this.externalEntities),s=i.parseXml(e);return this.options.preserveOrder||void 0===s?s:(r=this.options,function e(t,r,i,s){let n,o={};for(let a=0;a<t.length;a++){let A=t[a],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(A[":@"]||{},r.attributeNamePrefix);i.push(l,e)}if(l===r.textNodeName)void 0===n?n=A[l]:n+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,i,s),n=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,i){if(t){let s=Object.keys(t),n=s.length;for(let o=0;o<n;o++){let n=s[o],a=n.startsWith(i.attributeNamePrefix)?n.substring(i.attributeNamePrefix.length):n,A=i.jPath?r.toString()+"."+a:r;i.isArray(n,A,!0,!0)?e[n]=[t[n]]:e[n]=t[n]}}}(t,A[":@"],s,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[EJ]&&"object"==typeof t&&null!==t&&(t[EJ]=A[EJ]),void 0!==o[l]&&Object.prototype.hasOwnProperty.call(o,l))Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(t);else{let e=r.jPath?s.toString():s;r.isArray(l,e,n)?o[l]=[t]:o[l]=t}void 0!==l&&l!==r.textNodeName&&i.pop()}}return"string"==typeof n?n.length>0&&(o[r.textNodeName]=n):void 0!==n&&(o[r.textNodeName]=n),o}(s,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return f2.getMetaDataSymbol()}}function Ej(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function EK(e,t={}){let r=function(e={}){return{...Ej(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new fk(r),s={[r.rootNodeName]:e},n=i.build(s);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n}`.replace(/\n/g,"")}async function EX(e,t={}){if(!e)throw Error("Document is empty");let r=fq(e);if(!0!==r)throw r;let i=new EW(function(e={}){return{...Ej(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let EZ=C7("storage-blob");var E$=o(4434);class E0 extends px.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,n=Math.min(s,i);if(n>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+n;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),n===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=n,r+=n}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let E1=o(4573).constants.MAX_LENGTH;class E2{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/E1);for(let t=0;t<i;t++){let r=t===i-1?e%E1:E1;0===r&&(r=E1),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,s=0,n=0,o=0;for(;o<this._size;){let t=e[r],a=this.buffers[i],A=t.copy(a,s,n);o+=A,n+=A,s+=A,n===t.length&&(r++,n=0),s===a.length&&(i++,s=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(n))}getReadableStream(){return new E0(this.buffers,this.size)}}class E3{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new E$.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,s,n){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(s<=0)throw RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=n}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new E2(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let E5=i("node:module");var E4=o(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(s=(0,E5.createRequire)(import.meta.url),n=(0,E4.fileURLToPath)(import.meta.url),a=(0,m5.dirname)(n));var E8=(en="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==n&&(en=en||n),function(e){var t,r,i,n,o,A,l,c,d,g,u=void 0!==(e=e||{})?e:{};u.ready=new Promise(function(e,t){i=e,n=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(u.ready,e)||Object.defineProperty(u.ready,e,{get:()=>z("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>z("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var h=Object.assign({},u),m=[],p="object"==typeof window,C="function"==typeof importScripts,I="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,f=!p&&!I&&!C;if(u.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var E="";if(I){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var B=s("fs"),y=s("path");E=C?y.dirname(E)+"/":a+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),m=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof W))throw e}),process.on("unhandledRejection",function(e){throw e}),u.inspect=function(){return"[Emscripten Module object]"}}else if(f){if("object"==typeof process&&"function"==typeof s||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?m=scriptArgs:"u">typeof arguments&&(m=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(p||C){if(C?E=self.location.href:"u">typeof document&&document.currentScript&&(E=document.currentScript.src),en&&(E=en),E=0!==E.indexOf("blob:")?E.substr(0,E.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var Q=u.print||console.log.bind(console),N=u.printErr||console.warn.bind(console);function b(e,t){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){z("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function S(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(u,h),h=null,Object.getOwnPropertyDescriptor(u,t="fetchSettings")&&z("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),u.arguments&&(m=u.arguments),b("arguments","arguments_"),u.thisProgram&&u.thisProgram,b("thisProgram","thisProgram"),u.quit&&u.quit,b("quit","quit_"),D(void 0===u.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.read,"Module.read option was removed (modify read_ in JS)"),D(void 0===u.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),D(void 0===u.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),D(void 0===u.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),D(void 0===u.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),b("read","read_"),b("readAsync","readAsync"),b("readBinary","readBinary"),b("setWindowTitle","setWindowTitle"),D(!f,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),u.wasmBinary&&u.wasmBinary,b("wasmBinary","wasmBinary"),u.noExitRuntime,b("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&z("no native wasm support detected");var w=!1;function D(e,t){e||z("Assertion failed"+(t?": "+t:""))}var x="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(e){A=e,u.HEAP8=new Int8Array(e),u.HEAP16=new Int16Array(e),u.HEAP32=new Int32Array(e),u.HEAPU8=l=new Uint8Array(e),u.HEAPU16=new Uint16Array(e),u.HEAPU32=c=new Uint32Array(e),u.HEAPF32=new Float32Array(e),u.HEAPF64=new Float64Array(e)}u.STACK_SIZE&&D(5242880===u.STACK_SIZE,"the stack size can no longer be determined at runtime");var M=u.INITIAL_MEMORY||0x1000000;function k(){if(!w){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&z("Stack overflow! Stack cookie has been overwritten at "+K(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+K(r)+" "+K(t)),0x63736d65!==c[0]&&z("Runtime error: The application has corrupted its heap memory area (address zero)!")}}b("INITIAL_MEMORY","INITIAL_MEMORY"),D(M>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+M+"! (STACK_SIZE=5242880)"),D("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),D(!u.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),D(0x1000000==M,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var F=new Int16Array(1),U=new Int8Array(F.buffer);if(F[0]=25459,115!==U[0]||99!==U[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var v=[],T=[],L=[],O=!1;D(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var H=0,P=null,Y=null,G={};function z(e){u.onAbort&&u.onAbort(e),N(e="Aborted("+e+")"),w=!0;var t=new WebAssembly.RuntimeError(e);throw n(t),t}var q={error:function(){z("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){q.error()},createDataFile:function(){q.error()},createPreloadedFile:function(){q.error()},createLazyFile:function(){q.error()},open:function(){q.error()},mkdev:function(){q.error()},registerDevice:function(){q.error()},analyzePath:function(){q.error()},loadFilesFromDB:function(){q.error()},ErrnoError:function(){q.error()}};function V(e){return e.startsWith("file://")}function _(e,t){return function(){var r=t;return t||(r=u.asm),D(O,"native function `"+e+"` called before runtime initialization"),r[e]||D(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}u.FS_createDataFile=q.createDataFile,u.FS_createPreloadedFile=q.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=u.locateFile?u.locateFile(r,E):E+r);var J="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMFBgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYACgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwkcECC38AQZyRwQILfwBBsJHBAgt/AEGwkcECC38AQZKSwQILB/qEgIAAGwZtZW1vcnkCABFfX3dhc21fY2FsbF9jdG9ycwAFJWVtc2NyaXB0ZW5fYmluZF9Wb2lkUHRyX19fZGVzdHJveV9fXzAACCVlbXNjcmlwdGVuX2JpbmRfQ3JjNjRIYXNoX0NyYzY0SGFzaF8wAAkkZW1zY3JpcHRlbl9iaW5kX0NyYzY0SGFzaF9PbkFwcGVuZF8yAAsjZW1zY3JpcHRlbl9iaW5kX0NyYzY0SGFzaF9PbkZpbmFsXzMADCdlbXNjcmlwdGVuX2JpbmRfQ3JjNjRIYXNoX19fZGVzdHJveV9fXzAADRtfX2VtX2xpYl9kZXBzX3dlYmlkbF9iaW5kZXIDBCFfX2VtX2pzX19hcnJheV9ib3VuZHNfY2hlY2tfZXJyb3IDBRlfX2luZGlyZWN0X2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9BaavalYeP17EH1FEO2d+PoLRVKIfs70dQ2ioAQYCQwQILnAEgS1AAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function W(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function j(e){for(;e.length>0;)e.shift()(u)}function K(e){return"0x"+e.toString(16).padStart(8,"0")}function X(e){X.shown||(X.shown={}),X.shown[e]||(X.shown[e]=1,I&&(e="warning: "+e),N(e))}var Z=[null,[],[]],$={abort:function(){z("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(D((e>>>=0)>t),e>0x80000000)return N("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var s=t*(1+.2/i);s=Math.min(s,e+0x6000000);var n=Math.min(0x80000000,r(Math.max(e,s),65536));if(function(e){try{return o.grow(e-A.byteLength+65535>>>16),R(o.buffer),1}catch(t){N("emscripten_realloc_buffer: Attempted to grow heap from "+A.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(n))return!0}return N("Failed to grow the heap from "+t+" bytes to "+n+" bytes, not enough memory!"),!1},fd_close:function(e){z("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,s){return 70},fd_write:function(e,t,r,i){for(var s=0,n=0;n<r;n++){var o=c[t>>2],a=c[t+4>>2];t+=8;for(var A=0;A<a;A++)!function(e,t){var r=Z[e];D(r),0===t||10===t?((1===e?Q:N)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&x)return x.decode(e.subarray(t,i));for(var s="";t<i;){var n=e[t++];if(!(128&n)){s+=String.fromCharCode(n);continue}var o=63&e[t++];if((224&n)==192){s+=String.fromCharCode((31&n)<<6|o);continue}var a=63&e[t++];if((240&n)==224?n=(15&n)<<12|o<<6|a:((248&n)!=240&&X("Invalid UTF-8 leading byte "+K(n)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),n=(7&n)<<18|o<<12|a<<6|63&e[t++]),n<65536)s+=String.fromCharCode(n);else{var A=n-65536;s+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return s}(r,0)),r.length=0):r.push(t)}(e,l[o+A]);s+=a}return c[i>>2]=s,0}};!function(){var e,t,r={env:$,wasi_snapshot_preview1:$};function i(e,t){u.asm=e.exports,D(o=u.asm.memory,"memory not found in wasm exports"),R(o.buffer),D(u.asm.__indirect_function_table,"table not found in wasm exports"),r=u.asm.__wasm_call_ctors,T.unshift(r);var r,i="wasm-instantiate";if(H--,u.monitorRunDependencies&&u.monitorRunDependencies(H),i?(D(G[i]),delete G[i]):N("warning: run dependency removed without ID"),0==H&&(null!==P&&(clearInterval(P),P=null),Y)){var s=Y;Y=null,s()}}e="wasm-instantiate",H++,u.monitorRunDependencies&&u.monitorRunDependencies(H),e?(D(!G[e]),G[e]=1,null===P&&"u">typeof setInterval&&(P=setInterval(function(){if(w){clearInterval(P),P=null;return}var e=!1;for(var t in G)e||(e=!0,N("still waiting on run dependencies:")),N("dependency: "+t);e&&N("(end of list)")},1e4))):N("warning: run dependency added without ID");var s=u;if(u.instantiateWasm)try{return u.instantiateWasm(r,i)}catch(e){N("Module.instantiateWasm callback failed with error: "+e),n(e)}(t=function(e){D(u===s,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),s=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(J,"base64");for(var e=window.atob(J),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){N("failed to asynchronously prepare wasm: "+e),V(d)&&N("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),z(e)})).catch(n)}(),u.___wasm_call_ctors=_("__wasm_call_ctors");var ee=u._emscripten_bind_VoidPtr___destroy___0=_("emscripten_bind_VoidPtr___destroy___0"),et=u._emscripten_bind_Crc64Hash_Crc64Hash_0=_("emscripten_bind_Crc64Hash_Crc64Hash_0"),er=u._emscripten_bind_Crc64Hash_OnAppend_2=_("emscripten_bind_Crc64Hash_OnAppend_2"),ei=u._emscripten_bind_Crc64Hash_OnFinal_3=_("emscripten_bind_Crc64Hash_OnFinal_3"),es=u._emscripten_bind_Crc64Hash___destroy___0=_("emscripten_bind_Crc64Hash___destroy___0");u.___errno_location=_("__errno_location"),u._fflush=_("fflush"),u._malloc=_("malloc"),u._free=_("free");var eo=u._emscripten_stack_init=function(){return(eo=u._emscripten_stack_init=u.asm.emscripten_stack_init).apply(null,arguments)},ea=(u._emscripten_stack_get_free=function(){return(u._emscripten_stack_get_free=u.asm.emscripten_stack_get_free).apply(null,arguments)},u._emscripten_stack_get_base=function(){return(u._emscripten_stack_get_base=u.asm.emscripten_stack_get_base).apply(null,arguments)},u._emscripten_stack_get_end=function(){return(ea=u._emscripten_stack_get_end=u.asm.emscripten_stack_get_end).apply(null,arguments)});function eA(e){var t,r;if(e=e||m,!(H>0)){if(eo(),D((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,u.preRun)for("function"==typeof u.preRun&&(u.preRun=[u.preRun]);u.preRun.length;){r=u.preRun.shift(),v.unshift(r)}j(v),H>0||(u.setStatus?(u.setStatus("Running..."),setTimeout(function(){setTimeout(function(){u.setStatus("")},1),s()},1)):s(),k())}function s(){if(!g&&(g=!0,u.calledRun=!0,!w)){if(D(!O),O=!0,k(),j(T),i(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),D(!u._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),k(),u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;){var e;e=u.postRun.shift(),L.unshift(e)}j(L)}}}if(u.stackSave=_("stackSave"),u.stackRestore=_("stackRestore"),u.stackAlloc=_("stackAlloc"),u._emscripten_stack_get_current=function(){return(u._emscripten_stack_get_current=u.asm.emscripten_stack_get_current).apply(null,arguments)},u.dynCall_jiji=_("dynCall_jiji"),u.___start_em_js=5261488,u.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),z(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),X(t)}})}),Y=function e(){g||eA(),g||(Y=e)},u.preInit)for("function"==typeof u.preInit&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();function el(){}function ec(e){return(e||el).__cache__}function ed(e,t){var r=ec(t),i=r[e];return i||((i=Object.create((t||el).prototype)).ptr=e,r[e]=i)}function eg(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=et(),ec(eu)[this.ptr]=this}return eA(),el.prototype=Object.create(el.prototype),el.prototype.constructor=el,el.prototype.__class__=el,el.__cache__={},u.WrapperObject=el,u.getCache=ec,u.wrapPointer=ed,u.castObject=function(e,t){return ed(e.ptr,t)},u.NULL=ed(0),u.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ec(e.__class__)[e.ptr]},u.compare=function(e,t){return e.ptr===t.ptr},u.getPointer=function(e){return e.ptr},u.getClass=function(e){return e.__class__},eg.prototype=Object.create(el.prototype),eg.prototype.constructor=eg,eg.prototype.__class__=eg,eg.__cache__={},u.VoidPtr=eg,eg.prototype.__destroy__=eg.prototype.__destroy__=function(){ee(this.ptr)},eu.prototype=Object.create(el.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},u.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),er(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),ei(i,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){es(this.ptr)},e.ready});class E9{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new E9.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=E8().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=E9.nativeInstance._malloc(t);E9.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),E9.nativeInstance._free(r)}final(e,t){let r=E9.nativeInstance._malloc(t);E9.nativeInstance.HEAPU8.set(e,r);let i=E9.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),E9.nativeInstance._free(r);let s=new Uint8Array(8);return s.set(E9.nativeInstance.HEAPU8.subarray(i,i+8)),E9.nativeInstance._free(i),s}}(eo=eB||(eB={}))[eo.StreamHeader=0]="StreamHeader",eo[eo.StreamFooter=1]="StreamFooter",eo[eo.SegmentHeader=2]="SegmentHeader",eo[eo.SegmentFooter=3]="SegmentFooter",eo[eo.SegmentContent=4]="SegmentContent",eo[eo.Completed=5]="Completed";class E6{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=eB.StreamHeader,this.segmentCrc64=new E9,this.messageCrc64=new E9}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===eB.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===eB.SegmentHeader&&this.handlingSegmentHeader(),this.state===eB.SegmentContent&&this.handlingSegmentContent(e),this.state===eB.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===eB.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=eB.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=eB.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=eB.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new E9,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=eB.StreamFooter:this.state=eB.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=eB.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function E7(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof px&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new Br(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new Br(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await Bt(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new px.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new Br(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=px.Readable.from(Buffer.from(e)),i=await new Br(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=px.Readable.from(e),i=await new Br(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=px.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new Br(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function Be(e,t,r){let{done:i,value:s}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(s))}async function Bt(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),s=new Response(new ReadableStream({start(e){r=new E6(t=>{e.enqueue(t)},t)},pull(e){Be(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await s.blob(),encodedContentLength:r.messageLength}}class Br extends px.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new E6(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new Ia("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(ea=ey||(ey={}))[ea.StreamHeader=0]="StreamHeader",ea[ea.StreamFooter=1]="StreamFooter",ea[ea.SegmentHeader=2]="SegmentHeader",ea[ea.SegmentFooter=3]="SegmentFooter",ea[ea.SegmentContent=4]="SegmentContent";class Bi{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=ey.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new E9,this.messageCrc64=new E9}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===ey.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===ey.SegmentHeader&&this.parseSegmentHeader(e),this.state===ey.SegmentContent&&this.parseSegmentContent(e),this.state===ey.SegmentFooter&&this.parseSegmentFooter(e);this.state===ey.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=ey.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=ey.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=ey.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=ey.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new E9,this.state=ey.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class Bs extends px.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new Bi(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new Ia("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class Bn{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class Bo extends Bn{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class Ba{create(e,t){return new Bo(e,t)}}class BA extends Bn{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class Bl extends BA{constructor(e,t){super(e,t)}}class Bc{create(e,t){throw Error("Method should be implemented in children classes.")}}class Bd extends Bc{create(e,t){return new Bl(e,t)}}let Bg="timeout",Bu="Authorization",Bh="Content-Encoding",Bm="Content-Language",Bp="Content-Length",BC="Content-Md5",BI="Content-Type",Bf="date",BE="if-match",BB="if-modified-since",By="if-none-match",BQ="if-unmodified-since",BN="x-ms-",Bb="Range",BS="x-ms-date",Bw="x-ms-copy-source-error-code";function BD(e,t,r){let i=new URL(e),s=encodeURIComponent(t),n=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==s&&a.push(e)}return n&&a.push(`${s}=${n}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function Bx(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function BR(e){try{return new URL(e).pathname}catch(e){return}}function BM(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],s=t[1];i[r]=s}return i}async function Bk(e,t,r){return new Promise((i,s)=>{let n,o=()=>{void 0!==n&&clearTimeout(n),s(r)};n=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",o),i()},e),void 0!==t&&t.addEventListener("abort",o)})}let BF=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),BU=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Bv=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function BT(e,t){return!function(e,t){let r=[BF,BU,Bv],i=0,s=0,n=0;for(;i<r.length;){if(i===r.length-1&&s!==n)return s>n;let o=s<e.length?r[i][e[s].charCodeAt(0)]:1,a=n<t.length?r[i][t[n].charCodeAt(0)]:1;if(1===o&&1===a)s=0,n=0,++i;else if(o===a)++s,++n;else if(0===o)++s;else{if(0!==a)return o<a;++n}}return!1}(e,t)?1:-1}class BL extends BA{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(BS,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(Bp,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Bm),this.getHeaderValueToSign(e,Bh),this.getHeaderValueToSign(e,Bp),this.getHeaderValueToSign(e,BC),this.getHeaderValueToSign(e,BI),this.getHeaderValueToSign(e,Bf),this.getHeaderValueToSign(e,BB),this.getHeaderValueToSign(e,BE),this.getHeaderValueToSign(e,By),this.getHeaderValueToSign(e,BQ),this.getHeaderValueToSign(e,Bb)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(Bu,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==Bp||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(BN));t.sort((e,t)=>BT(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}getCanonicalizedResourceString(e){let t=BR(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=BM(e.url),s={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();s[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` +${t}:${decodeURIComponent(s[t])}`}return r}}class BO extends Bc{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new BL(e,t,this)}computeHMACSHA256(e){return(0,uu.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let BH=C7("storage-common");(eA=eQ||(eQ={}))[eA.EXPONENTIAL=0]="EXPONENTIAL",eA[eA.FIXED=1]="FIXED";let BP={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eQ.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},BY=new Ia("The operation was aborted.");class BG extends Bn{retryOptions;constructor(e,t,r=BP){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:BP.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):BP.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:BP.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:BP.maxRetryDelayInMs):BP.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:BP.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:BP.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,s=e.clone(),n=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;n||(s.url=Bx(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=BD(s.url,Bg,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(BH.info(`RetryPolicy: =====> Try=${r} ${n?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(s),!this.shouldRetry(n,r,i))return i;t=t||!n&&404===i.status}catch(e){if(BH.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(n,r,i,e))throw e}return await this.delay(n,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return BH.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return BH.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return BH.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return BH.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(Bw);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(BH.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case eQ.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case eQ.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return BH.info(`RetryPolicy: Delay for ${i}ms`),Bk(i,r,BY)}}class Bz{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new BG(e,t,this.retryOptions)}}let Bq={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eQ.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},BV=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],B_=new Ia("The operation was aborted.");class BJ{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,uu.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let BW="12.33.0",Bj="2026-06-06",BK="snapshot",BX="versionid",BZ=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],B$=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],B0=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function B1(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class B2{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function B3(e,t={}){e||(e=new Bd);let r=new B2([],t);return r._credential=e,r}function B5(e){if(e._credential)return e._credential;let t=new Bd;for(let r of e.factories)if(IS(r.credential))t=r.credential;else if(B4(r))return r;return t}function B4(e){return e instanceof BO||"StorageSharedKeyCredential"===e.constructor.name}function B8(e){return e instanceof Bd||"AnonymousCredential"===e.constructor.name}function B9(e){return IS(e.credential)}function B6(e){return e instanceof Ba||"StorageBrowserPolicyFactory"===e.constructor.name}function B7(e){return e instanceof Bz||"StorageRetryPolicyFactory"===e.constructor.name}function ye(e){return"TelemetryPolicyFactory"===e.constructor.name}function yt(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(eN||(eN={})).AES256="AES256",(eb||(eb={})).Backup="backup",(el=eS||(eS={})).NeverExpire="NeverExpire",el.RelativeToCreation="RelativeToCreation",el.RelativeToNow="RelativeToNow",el.Absolute="Absolute",(ec=ew||(ew={})).AccountAlreadyExists="AccountAlreadyExists",ec.AccountBeingCreated="AccountBeingCreated",ec.AccountIsDisabled="AccountIsDisabled",ec.AuthenticationFailed="AuthenticationFailed",ec.AuthorizationFailure="AuthorizationFailure",ec.ConditionHeadersNotSupported="ConditionHeadersNotSupported",ec.ConditionNotMet="ConditionNotMet",ec.EmptyMetadataKey="EmptyMetadataKey",ec.InsufficientAccountPermissions="InsufficientAccountPermissions",ec.InternalError="InternalError",ec.InvalidAuthenticationInfo="InvalidAuthenticationInfo",ec.InvalidHeaderValue="InvalidHeaderValue",ec.InvalidHttpVerb="InvalidHttpVerb",ec.InvalidInput="InvalidInput",ec.InvalidMd5="InvalidMd5",ec.InvalidMetadata="InvalidMetadata",ec.InvalidQueryParameterValue="InvalidQueryParameterValue",ec.InvalidRange="InvalidRange",ec.InvalidResourceName="InvalidResourceName",ec.InvalidUri="InvalidUri",ec.InvalidXmlDocument="InvalidXmlDocument",ec.InvalidXmlNodeValue="InvalidXmlNodeValue",ec.Md5Mismatch="Md5Mismatch",ec.MetadataTooLarge="MetadataTooLarge",ec.MissingContentLengthHeader="MissingContentLengthHeader",ec.MissingRequiredQueryParameter="MissingRequiredQueryParameter",ec.MissingRequiredHeader="MissingRequiredHeader",ec.MissingRequiredXmlNode="MissingRequiredXmlNode",ec.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",ec.OperationTimedOut="OperationTimedOut",ec.OutOfRangeInput="OutOfRangeInput",ec.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",ec.RequestBodyTooLarge="RequestBodyTooLarge",ec.ResourceTypeMismatch="ResourceTypeMismatch",ec.RequestUrlFailedToParse="RequestUrlFailedToParse",ec.ResourceAlreadyExists="ResourceAlreadyExists",ec.ResourceNotFound="ResourceNotFound",ec.ServerBusy="ServerBusy",ec.UnsupportedHeader="UnsupportedHeader",ec.UnsupportedXmlNode="UnsupportedXmlNode",ec.UnsupportedQueryParameter="UnsupportedQueryParameter",ec.UnsupportedHttpVerb="UnsupportedHttpVerb",ec.AppendPositionConditionNotMet="AppendPositionConditionNotMet",ec.BlobAlreadyExists="BlobAlreadyExists",ec.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",ec.BlobNotFound="BlobNotFound",ec.BlobOverwritten="BlobOverwritten",ec.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",ec.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",ec.BlockCountExceedsLimit="BlockCountExceedsLimit",ec.BlockListTooLong="BlockListTooLong",ec.CannotChangeToLowerTier="CannotChangeToLowerTier",ec.CannotVerifyCopySource="CannotVerifyCopySource",ec.ContainerAlreadyExists="ContainerAlreadyExists",ec.ContainerBeingDeleted="ContainerBeingDeleted",ec.ContainerDisabled="ContainerDisabled",ec.ContainerNotFound="ContainerNotFound",ec.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",ec.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",ec.CopyIdMismatch="CopyIdMismatch",ec.FeatureVersionMismatch="FeatureVersionMismatch",ec.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",ec.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",ec.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",ec.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",ec.InvalidBlobOrBlock="InvalidBlobOrBlock",ec.InvalidBlobTier="InvalidBlobTier",ec.InvalidBlobType="InvalidBlobType",ec.InvalidBlockId="InvalidBlockId",ec.InvalidBlockList="InvalidBlockList",ec.InvalidOperation="InvalidOperation",ec.InvalidPageRange="InvalidPageRange",ec.InvalidSourceBlobType="InvalidSourceBlobType",ec.InvalidSourceBlobUrl="InvalidSourceBlobUrl",ec.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",ec.LeaseAlreadyPresent="LeaseAlreadyPresent",ec.LeaseAlreadyBroken="LeaseAlreadyBroken",ec.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",ec.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",ec.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",ec.LeaseIdMissing="LeaseIdMissing",ec.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",ec.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",ec.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",ec.LeaseLost="LeaseLost",ec.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",ec.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",ec.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",ec.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",ec.NoAuthenticationInformation="NoAuthenticationInformation",ec.NoPendingCopyOperation="NoPendingCopyOperation",ec.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",ec.PendingCopyOperation="PendingCopyOperation",ec.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",ec.PreviousSnapshotNotFound="PreviousSnapshotNotFound",ec.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",ec.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",ec.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",ec.SnapshotCountExceeded="SnapshotCountExceeded",ec.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",ec.SnapshotsPresent="SnapshotsPresent",ec.SourceConditionNotMet="SourceConditionNotMet",ec.SystemInUse="SystemInUse",ec.TargetConditionNotMet="TargetConditionNotMet",ec.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",ec.BlobBeingRehydrated="BlobBeingRehydrated",ec.BlobArchived="BlobArchived",ec.BlobNotArchived="BlobNotArchived",ec.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",ec.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",ec.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",ec.AuthorizationServiceMismatch="AuthorizationServiceMismatch",ec.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",ec.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let yr={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},yi={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},ys={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},yn={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},yo={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},ya={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},yA={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},yl={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},yc={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},yd={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yg={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},yu={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},yh={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},ym={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},yp={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yC={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},yI={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},yf={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},yE={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},yB={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},yy={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yQ={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},yN={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},yb={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},yS={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},yw={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yD={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},yx={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},yR={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},yM={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},yk={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},yF={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yU={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},yv={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},yT={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},yL={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},yO={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},yH={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},yP={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},yY={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},yG={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},yz={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yq={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yV={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y_={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yJ={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yW={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yj={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yK={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yX={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yZ={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y$={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y0={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y1={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y2={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y3={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y5={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y4={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y8={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y9={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y6={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y7={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qe={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qt={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qr={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qi={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qs={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qn={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qo={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qa={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QA={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ql={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qc={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qd={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},Qg={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qu={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Qh={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qm={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Qp={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QC={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QI={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qf={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QE={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QB={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Qy={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QQ={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QN={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qb={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qw={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QD={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qx={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},QR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QM={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},Qk={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QF={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QU={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qv={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QT={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QL={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QO={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QH={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QP={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QY={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QG={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qz={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},Qq={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QV={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q_={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QJ={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},QW={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qj={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QK={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QX={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QZ={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q$={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q0={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q1={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q2={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q3={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q5={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q4={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q8={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q9={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q6={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q7={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ne={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Nt={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nr={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Ni={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ns={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nn={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},No={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Na={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},NA={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nl={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},Nc={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nd={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ng={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nu={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nh={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nm={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Np={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NC={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NI={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nf={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NE={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NB={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ny={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NQ={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NN={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nb={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NS={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nw={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ND={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nx={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NM={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nk={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NF={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NU={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nv={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NL={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NO={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NH={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},NP={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NY={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NG={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nz={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nq={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NV={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N_={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NJ={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NW={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Nj={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NK={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NX={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NZ={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N$={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},N0={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},N1={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},N2={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},N3={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},N5={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},N4={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},N8={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},N9={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},N6={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},N7={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},be={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},bt={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},br={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},bi={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bs={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},bn={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bo={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},ba={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},bA={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bl={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},bc={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bd={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},bg={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},bu={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},bh={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},bm={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},bp={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bC={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bI={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bf={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bE={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bB={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},by={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},bQ={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bN={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},bb={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bS={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bw={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},bD={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bx={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},bR={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},bM={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},bk={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},bF={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},bU={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},bv={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},bT={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},bL={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},bO={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},bH={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},bP={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},bY={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},bG={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},bz={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},bq={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},bV={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},b_={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},bJ={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},bW={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bj={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},bK={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},bX={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},bZ={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},b$={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},b0={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},b1={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},b2={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},b3={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},b5={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},b4={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},b8={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},b9={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},b6={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},b7={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Se={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},St={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},Sr={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Si={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},Ss={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Sn={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},So={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},Sa={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},SA={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},Sl={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},Sc={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Sd={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Sg={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Su={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Sh={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sm={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Sp={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},SC={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},SI={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},Sf={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},SE={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},SB={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},Sy={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},SQ={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},SN={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},Sb={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SS={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sw={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},SD={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Sx={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},SR={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},SM={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sk={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},SF={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class SU{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},ST)}getProperties(e){return this.client.sendOperationRequest({options:e},SL)}getStatistics(e){return this.client.sendOperationRequest({options:e},SO)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},SH)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},SP)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},SY)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},SG)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Sz)}}let Sv=IU(eO,!0),ST={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:yz},default:{bodyMapper:yA,headersMapper:yq}},requestBody:{parameterPath:"blobServiceProperties",mapper:yr},queryParameters:[N2,N3,N5],urlParameters:[N1],headerParameters:[N$,N0,N4,N8],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Sv},SL={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yr,headersMapper:yV},default:{bodyMapper:yA,headersMapper:y_}},queryParameters:[N2,N3,N5],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv},SO={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yl,headersMapper:yJ},default:{bodyMapper:yA,headersMapper:yW}},queryParameters:[N2,N5,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv},SH={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yd,headersMapper:yj},default:{bodyMapper:yA,headersMapper:yK}},queryParameters:[N5,N6,N7,be,bt,br],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv},SP={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:ym,headersMapper:yX},default:{bodyMapper:yA,headersMapper:yZ}},requestBody:{parameterPath:"keyInfo",mapper:yh},queryParameters:[N2,N5,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N$,N0,N4,N8],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Sv},SY={path:"/",httpMethod:"GET",responses:{200:{headersMapper:y$},default:{bodyMapper:yA,headersMapper:y0}},queryParameters:[N3,N5,bi],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv},SG={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:y1},default:{bodyMapper:yA,headersMapper:y2}},requestBody:bs,queryParameters:[N5,bn],urlParameters:[N1],headerParameters:[N0,N4,N8,bo,ba],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Sv},Sz={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yp,headersMapper:y3},default:{bodyMapper:yA,headersMapper:y5}},queryParameters:[N5,be,bt,bA,bl],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv};class Sq{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},S_)}getProperties(e){return this.client.sendOperationRequest({options:e},SJ)}delete(e){return this.client.sendOperationRequest({options:e},SW)}setMetadata(e){return this.client.sendOperationRequest({options:e},Sj)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},SK)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},SX)}restore(e){return this.client.sendOperationRequest({options:e},SZ)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},S$)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},S0)}filterBlobs(e){return this.client.sendOperationRequest({options:e},S1)}acquireLease(e){return this.client.sendOperationRequest({options:e},S2)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},S3)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},S5)}breakLease(e){return this.client.sendOperationRequest({options:e},S4)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},S8)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},S9)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},S6)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},S7)}}let SV=IU(eO,!0),S_={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:y4},default:{bodyMapper:yA,headersMapper:y8}},queryParameters:[N5,bc],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bg,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:SV},SJ={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:y9},default:{bodyMapper:yA,headersMapper:y6}},queryParameters:[N5,bc],urlParameters:[N1],headerParameters:[N4,N8,N9,bu],isXML:!0,serializer:SV},SW={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:y7},default:{bodyMapper:yA,headersMapper:Qe}},queryParameters:[N5,bc],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm],isXML:!0,serializer:SV},Sj={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qt},default:{bodyMapper:yA,headersMapper:Qr}},queryParameters:[N5,bc,bp],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh],isXML:!0,serializer:SV},SK={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:Qi},default:{bodyMapper:yA,headersMapper:Qs}},queryParameters:[N5,bc,bC],urlParameters:[N1],headerParameters:[N4,N8,N9,bu],isXML:!0,serializer:SV},SX={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qn},default:{bodyMapper:yA,headersMapper:Qo}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[N5,bc,bC],urlParameters:[N1],headerParameters:[N$,N0,N4,N8,bg,bu,bh,bm],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:SV},SZ={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Qa},default:{bodyMapper:yA,headersMapper:QA}},queryParameters:[N5,bc,bI],urlParameters:[N1],headerParameters:[N4,N8,N9,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:SV},S$={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Ql},default:{bodyMapper:yA,headersMapper:Qc}},queryParameters:[N5,bc,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:SV},S0={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Qd},default:{bodyMapper:yA,headersMapper:Qg}},requestBody:bs,queryParameters:[N5,bn,bc],urlParameters:[N1],headerParameters:[N0,N4,N8,bo,ba],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:SV},S1={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:yp,headersMapper:Qu},default:{bodyMapper:yA,headersMapper:Qh}},queryParameters:[N5,be,bt,bA,bl,bc],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:SV},S2={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Qm},default:{bodyMapper:yA,headersMapper:Qp}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bE,bB,by],isXML:!0,serializer:SV},S3={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QC},default:{bodyMapper:yA,headersMapper:QI}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bQ,bN],isXML:!0,serializer:SV},S5={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qf},default:{bodyMapper:yA,headersMapper:QE}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bN,bb],isXML:!0,serializer:SV},S4={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:QB},default:{bodyMapper:yA,headersMapper:Qy}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bS,bw],isXML:!0,serializer:SV},S8={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QQ},default:{bodyMapper:yA,headersMapper:QN}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bN,bD,bx],isXML:!0,serializer:SV},S9={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:yy,headersMapper:Qb},default:{bodyMapper:yA,headersMapper:QS}},queryParameters:[N5,N6,N7,be,bt,bc,bR,bM],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:SV},S6={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:yw,headersMapper:Qw},default:{bodyMapper:yA,headersMapper:QD}},queryParameters:[N5,N6,N7,be,bt,bc,bR,bM,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:SV},S7={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Qx},default:{bodyMapper:yA,headersMapper:QR}},queryParameters:[N3,N5,bi],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:SV};class we{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},wr)}getProperties(e){return this.client.sendOperationRequest({options:e},wi)}delete(e){return this.client.sendOperationRequest({options:e},ws)}undelete(e){return this.client.sendOperationRequest({options:e},wn)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},wo)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},wa)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wA)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wl)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},wc)}setMetadata(e){return this.client.sendOperationRequest({options:e},wd)}acquireLease(e){return this.client.sendOperationRequest({options:e},wg)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wu)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wh)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},wm)}breakLease(e){return this.client.sendOperationRequest({options:e},wp)}createSnapshot(e){return this.client.sendOperationRequest({options:e},wC)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wI)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wf)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},wE)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},wB)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},wy)}query(e){return this.client.sendOperationRequest({options:e},wQ)}getTags(e){return this.client.sendOperationRequest({options:e},wN)}setTags(e){return this.client.sendOperationRequest({options:e},wb)}}let wt=IU(eO,!0),wr={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:QM},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:QM},default:{bodyMapper:yA,headersMapper:Qk}},queryParameters:[N5,bk,bF],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bU,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},bv,bT,bL,bO,bH,bP,bY],isXML:!0,serializer:wt},wi={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:QF},default:{bodyMapper:yA,headersMapper:QU}},queryParameters:[N5,bk,bF],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bT,bL,bO,bH,bP,bY],isXML:!0,serializer:wt},ws={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Qv},default:{bodyMapper:yA,headersMapper:QT}},queryParameters:[N5,bk,bF,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bH,bP,bY,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:wt},wn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QL},default:{bodyMapper:yA,headersMapper:QO}},queryParameters:[N5,bI],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:wt},wo={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QH},default:{bodyMapper:yA,headersMapper:QP}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:wt},wa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QY},default:{bodyMapper:yA,headersMapper:QG}},queryParameters:[N3,N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bH,bP,bY,bG,bz,bq,bV,b_,bJ],isXML:!0,serializer:wt},wA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Qz},default:{bodyMapper:yA,headersMapper:Qq}},queryParameters:[N5,bk,bF,bW],urlParameters:[N1],headerParameters:[N4,N8,N9,bm,bj,bK],isXML:!0,serializer:wt},wl={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:QV},default:{bodyMapper:yA,headersMapper:Q_}},queryParameters:[N5,bk,bF,bW],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:wt},wc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QJ},default:{bodyMapper:yA,headersMapper:QW}},queryParameters:[N5,bk,bF,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:wt},wd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Qj},default:{bodyMapper:yA,headersMapper:QK}},queryParameters:[N5,bp],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX],isXML:!0,serializer:wt},wg={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QX},default:{bodyMapper:yA,headersMapper:QZ}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bE,bB,by,bH,bP,bY],isXML:!0,serializer:wt},wu={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Q$},default:{bodyMapper:yA,headersMapper:Q0}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bQ,bN,bH,bP,bY],isXML:!0,serializer:wt},wh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Q1},default:{bodyMapper:yA,headersMapper:Q2}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bN,bb,bH,bP,bY],isXML:!0,serializer:wt},wm={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Q3},default:{bodyMapper:yA,headersMapper:Q5}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bN,bD,bx,bH,bP,bY],isXML:!0,serializer:wt},wp={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Q4},default:{bodyMapper:yA,headersMapper:Q8}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bS,bw,bH,bP,bY],isXML:!0,serializer:wt},wC={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Q9},default:{bodyMapper:yA,headersMapper:Q6}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX],isXML:!0,serializer:wt},wI={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Q7},default:{bodyMapper:yA,headersMapper:Ne}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh,bm,bH,bP,bY,bj,bK,bZ,b$,b0,b1,b2,b3,b5,b4,b8,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},b9],isXML:!0,serializer:wt},wf={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Nt},default:{bodyMapper:yA,headersMapper:Nr}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh,bm,bH,bP,bY,bj,bK,bX,bZ,b0,b1,b2,b3,b4,b8,b9,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},b6,b7,Se,St],isXML:!0,serializer:wt},wE={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Ni},default:{bodyMapper:yA,headersMapper:Ns}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:wt},wB={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nn},202:{headersMapper:Nn},default:{bodyMapper:yA,headersMapper:No}},queryParameters:[N5,bk,bF,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bY,b$,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:wt},wy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Na},default:{bodyMapper:yA,headersMapper:NA}},queryParameters:[N3,N5,bi],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:wt},wQ={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Nl},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Nl},default:{bodyMapper:yA,headersMapper:Nc}},requestBody:{parameterPath:["options","queryRequest"],mapper:yT},queryParameters:[N5,bk,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N$,N0,N4,N8,bu,bh,bm,bT,bL,bO,bH,bP,bY],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wt},wN={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yI,headersMapper:Nd},default:{bodyMapper:yA,headersMapper:Ng}},queryParameters:[N5,bk,bF,Sr],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bY,Si,Ss,Sn,So],isXML:!0,serializer:wt},wb={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Nu},default:{bodyMapper:yA,headersMapper:Nh}},requestBody:{parameterPath:["options","tags"],mapper:yI},queryParameters:[N5,bF,Sr],urlParameters:[N1],headerParameters:[N$,N0,N4,N8,bu,bY,Si,Ss,Sn,So,Sa,SA],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wt};class wS{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},wD)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},wx)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},wR)}uploadPagesFromURL(e,t,r,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:s},wM)}getPageRanges(e){return this.client.sendOperationRequest({options:e},wk)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},wF)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},wU)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},wv)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wT)}}let ww=IU(eO,!0),wD={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nm},default:{bodyMapper:yA,headersMapper:Np}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bj,bK,bX,bZ,b8,b9,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Sl,Sc],isXML:!0,serializer:ww},wx={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NC},default:{bodyMapper:yA,headersMapper:NI}},requestBody:Sg,queryParameters:[N5,Sh],urlParameters:[N1],headerParameters:[N4,N8,bo,bu,bh,bm,bU,bv,bT,bL,bO,bH,bP,bY,bX,Sa,SA,Sd,Su,Sm,Sp,SC,SI,Sf],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ww},wR={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nf},default:{bodyMapper:yA,headersMapper:NE}},queryParameters:[N5,Sh],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bu,bh,bm,bU,bT,bL,bO,bH,bP,bY,bX,Sp,SC,SI,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:ww},wM={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NB},default:{bodyMapper:yA,headersMapper:Ny}},queryParameters:[N5,Sh],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX,b0,b1,b2,b3,b6,b7,St,Sm,Sp,SC,SI,SE,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},SB,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},Sy,SQ,SN],isXML:!0,serializer:ww},wk={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yF,headersMapper:NQ},default:{bodyMapper:yA,headersMapper:NN}},queryParameters:[N5,be,bt,bk,Sb],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bU,bH,bP,bY],isXML:!0,serializer:ww},wF={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yF,headersMapper:Nb},default:{bodyMapper:yA,headersMapper:NS}},queryParameters:[N5,be,bt,bk,Sb,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bU,bH,bP,bY,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:ww},wU={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nw},default:{bodyMapper:yA,headersMapper:ND}},queryParameters:[N3,N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX,Sl],isXML:!0,serializer:ww},wv={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nx},default:{bodyMapper:yA,headersMapper:NR}},queryParameters:[N3,N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bH,bP,bY,Sc,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:ww},wT={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:NM},default:{bodyMapper:yA,headersMapper:Nk}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bH,bP,bY,b4],isXML:!0,serializer:ww};class wL{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},wH)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},wP)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},wY)}seal(e){return this.client.sendOperationRequest({options:e},wG)}}let wO=IU(eO,!0),wH={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NF},default:{bodyMapper:yA,headersMapper:NU}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bj,bK,bX,b8,b9,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:wO},wP={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nv},default:{bodyMapper:yA,headersMapper:NT}},requestBody:Sg,queryParameters:[N5,SS],urlParameters:[N1],headerParameters:[N4,N8,bo,bu,bh,bm,bv,bT,bL,bO,bH,bP,bY,bX,Sa,SA,Sd,Su,Sf,Sw,SD],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:wO},wY={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NL},default:{bodyMapper:yA,headersMapper:NO}},queryParameters:[N5,SS],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX,b0,b1,b2,b3,b6,b7,St,Sa,SE,SB,Sy,SQ,SN,Sw,SD,Sx],isXML:!0,serializer:wO},wG={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NH},default:{bodyMapper:yA,headersMapper:NP}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bH,bP,SD],isXML:!0,serializer:wO};class wz{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},wV)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},w_)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},wJ)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},wW)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},wj)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},wK)}}let wq=IU(eO,!0),wV={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NY},default:{bodyMapper:yA,headersMapper:NG}},requestBody:Sg,queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,bo,bd,bu,bh,bm,bv,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bj,bK,bX,bZ,b8,b9,Sa,SA,Sd,Su,Sf,SR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:wq},w_={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nz},default:{bodyMapper:yA,headersMapper:Nq}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bX,bZ,b0,b1,b2,b3,b5,b4,b8,b6,b7,Se,St,Sa,Sy,SQ,SN,SR,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:wq},wJ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NV},default:{bodyMapper:yA,headersMapper:N_}},requestBody:Sg,queryParameters:[N5,SM,Sk],urlParameters:[N1],headerParameters:[N4,N8,bo,bu,bv,bT,bL,bO,bX,Sa,SA,Sd,Su,Sf],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:wq},wW={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NJ},default:{bodyMapper:yA,headersMapper:NW}},queryParameters:[N5,SM,Sk],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bu,bT,bL,bO,bX,b0,b1,b2,b3,b6,b7,St,SE,SB,Sy,SQ,SN,Sx],isXML:!0,serializer:wq},wj={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nj},default:{bodyMapper:yA,headersMapper:NK}},requestBody:{parameterPath:"blocks",mapper:yR},queryParameters:[N5,SF],urlParameters:[N1],headerParameters:[N$,N0,N4,N8,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bj,bK,bX,bZ,b8,b9,Sa,SA],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wq},wK={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yM,headersMapper:NX},default:{bodyMapper:yA,headersMapper:NZ}},queryParameters:[N5,bk,SF,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bY],isXML:!0,serializer:wq};class wX extends fA{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new SU(this),this.container=new Sq(this),this.blob=new we(this),this.pageBlob=new wS(this),this.appendBlob=new wL(this),this.blockBlob=new wz(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class wZ extends wX{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let w$=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function w0(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function w1(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=w0(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",s="",n=Buffer.from("accountKey","base64"),o="";if(s=w0(e,"AccountName"),n=Buffer.from(w0(e,"AccountKey"),"base64"),!r){let t=(i=w0(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(o=w0(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${s}.blob.${o}`}if(s){if(0===n.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:s,accountKey:n,proxyUri:t}}{let t=w0(e,"SharedAccessSignature"),i=w0(e,"AccountName");if(i||(i=w6(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function w2(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function w3(e,t,r){let i=new URL(e),s=encodeURIComponent(t),n=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==s&&a.push(e)}return n&&a.push(`${s}=${n}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function w5(e,t){return new URL(e).searchParams.get(t)??void 0}function w4(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function w8(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function w9(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function w6(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<w$.length;++e){let r=w$[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=w7(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function w7(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&B0.includes(e.port)}function De(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function Dt(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function Dr(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let s={ruleId:i[1],replicationStatus:e[r]},n=t.findIndex(e=>e.policyId===i[0]);n>-1?t[n].rules.push(s):t.push({policyId:i[0],rules:[s]})}return t}function Di(e){return e?e.scheme+" "+e.value:void 0}function*Ds(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,s=0;for(;i<t.length&&s<r.length;)t[i].start<r[s].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[s].start,end:r[s].end,isClear:!0},++s);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;s<r.length;++s)yield{start:r[s].start,end:r[s].end,isClear:!0}}function Dn(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function Do(e,t,r,i,s){let n,o=i.contentChecksumAlgorithm??s;return void 0===o&&(o="Customized"),"Auto"===o&&(o="StorageCrc64"),"Customized"===o?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===o&&(await E9.init(),n=await E7(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===o?n.body:e,contentLength:"StorageCrc64"===o?n.encodedContentLength:t,contentChecksumAlgorithm:o}}class Da{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=w6(e),this.pipeline=t,this.storageClientContext=new wZ(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>fa(await t.sendRequest(ft(e,{createProxy:!0})))}:(A||(A=IC()),A));let s=e._corePipeline;if(!s){let t=`azsdk-js-azure-storage-blob/${BW}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(s=I0({...r,loggingOptions:{additionalAllowedHeaderNames:BZ,additionalAllowedQueryParameters:B$,logger:EZ.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:EK,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:EX,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),s.removePolicy({name:It}),s.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Bp,Buffer.byteLength(e.body)),t(e))}),s.addPolicy(function(e={}){let t=e.retryPolicyType??Bq.retryPolicyType,r=e.maxTries??Bq.maxTries,i=e.retryDelayInMs??Bq.retryDelayInMs,s=e.maxRetryDelayInMs??Bq.maxRetryDelayInMs,n=e.secondaryHost??Bq.secondaryHost,o=e.tryTimeoutInMs??Bq.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,a){let A,l;o&&(e.url=BD(e.url,Bg,String(Math.floor(o/1e3))));let c=e.url,d=n?Bx(e.url,n):void 0,g=!1,u=1,h=!0;for(;h;){let n=g||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||u%2==1;e.url=n?c:d,A=void 0,l=void 0;try{BH.info(`RetryPolicy: =====> Try=${u} ${n?"Primary":"Secondary"}`),A=await a(e),g=g||!n&&404===A.status}catch(e){if(CS(e))BH.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw BH.error(`RetryPolicy: Caught error, message: ${Il(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:s}){if(t>=r)return BH.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(s){for(let e of BV)if(s.name.toUpperCase().includes(e)||s.message.toUpperCase().includes(e)||s.code&&s.code.toString().toUpperCase()===e)return BH.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag'))return BH.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||s){let t=i?.status??s?.statusCode??0;if(!e&&404===t)return BH.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return BH.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(Bw);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:n,attempt:u,response:A,error:l}))&&await Bk(function(e,r){let n=0;if(e)switch(t){case eQ.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*i,s);break;case eQ.FIXED:n=i}else n=1e3*Math.random();return BH.info(`RetryPolicy: Delay for ${n}ms`),n}(n,u),e.abortSignal,B_),u++}if(A)return A;throw l??new Cb("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),s.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),s.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let n=function(e){let t=[B8,B4,B9,B6,B7,ye,yt];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>fo(await r(fe(e)),{createProxy:!0})};for(let t of e)i=t.create(i,fl);let s=ft(t,{createProxy:!0});return fa(await i.sendRequest(s))}}),afterRetry:t}}}}(e);n&&s.addPolicy(n.wrappedPolicies,n.afterRetry?{afterPhase:"Retry"}:void 0);let o=B5(e);IS(o)?s.addPolicy(IN({credential:o,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:I8}}),{phase:"Sign"}):o instanceof BO&&s.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==Bp||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let s,n;return r.headers.set(BS,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(Bp,Buffer.byteLength(r.body)),s=[r.method.toUpperCase(),t(r,Bm),t(r,Bh),t(r,Bp),t(r,BC),t(r,BI),t(r,Bf),t(r,BB),t(r,BE),t(r,By),t(r,BQ),t(r,Bb)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(BN)&&t.push({name:r,value:i});t.sort((e,t)=>BT(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}(r)+function(t){let r=BR(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let s=BM(t.url),n={};if(s){let e=[];for(let t in s)if(Object.prototype.hasOwnProperty.call(s,t)){let r=t.toLowerCase();n[r]=s[t],e.push(r)}for(let t of(e.sort(),e))i+=` +${t}:${decodeURIComponent(n[t])}`}return i}(r),n=(0,uu.createHmac)("sha256",e.accountKey).update(s,"utf8").digest("base64"),r.headers.set(Bu,`SharedKey ${e.accountName}:${n}`),i(r)}}}({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"}),e._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:s}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=B5(t),this.storageClientContext.requestContentType=void 0}}let DA=Im({packageName:"@azure/storage-blob",packageVersion:BW,namespace:"Microsoft.Storage"});class Dl{static parse(e){let t=new Dl;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new Dl;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class Dc{static parse(e){let t=new Dc;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new Dc;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function Dd(e){return e.end?`${e.start}-${e.end}`:e.start}(ed=eD||(eD={})).Https="https",ed.HttpsAndHttp="https,http";class Dg{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,s,n,o,a,A,l,c,d,g,u,h,m,p,C,I,f,E,B,y,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=a,this.permissions=r,this.protocol=n,this.startsOn=o,this.ipRangeInner=A,this.delegatedUserObjectId=E,this.encryptionScope=f,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=g,this.contentEncoding=u,this.contentLanguage=h,this.contentType=m,this.requestHeaderKeys=B,this.requestQueryParameterKeys=y,this.directoryDepth=Q,p&&(this.signedOid=p.signedObjectId,this.signedTenantId=p.signedTenantId,this.signedStartsOn=p.signedStartsOn,this.signedExpiresOn=p.signedExpiresOn,this.signedService=p.signedService,this.signedVersion=p.signedVersion,this.signedDelegatedUserTid=p.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=C,this.correlationId=I))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?w8(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?w8(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?Dd(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?w8(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?w8(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function Du(e,t,r){return Dh(e,t,r).sasQueryParameters}function Dh(e,t,r){let i,s=e.version?e.version:Bj,n=t instanceof BO?t:void 0;if(void 0===n&&void 0!==r&&(i=new BJ(r,t)),void 0===n&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")if(void 0!==n)return function(e,t){let r,i;if(!(e=DC(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,n);else if(s>="2026-04-06")return function(e,t){let r,i;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,Dm(e.requestHeaders),Dm(e.requestQueryParameters),i),stringToSign:o}}(e,i);else if(s>="2025-07-05")return function(e,t){let r,i;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r,i;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,i);if(s>="2018-11-09")if(void 0!==n)if(s>="2020-02-10")return function(e,t){let r,i;if(!(e=DC(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,n);else return function(e,t){let r;if(!(e=DC(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",s=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId)),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let n=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(n);return{sasQueryParameters:new Dg(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:n}}(e,n);else if(s>="2020-02-10")return function(e,t){let r,i;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId)),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let n=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(n);return{sasQueryParameters:new Dg(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:n}}(e,i);if(s>="2015-04-05")if(void 0!==n){let t;var o=e,a=n;if(!(o=DC(o)).identifier&&!(o.permissions&&o.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";o.blobName&&(r="b"),o.permissions&&(t=o.blobName?Dl.parse(o.permissions.toString()).toString():Dc.parse(o.permissions.toString()).toString());let i=[t||"",o.startsOn?w8(o.startsOn,!1):"",o.expiresOn?w8(o.expiresOn,!1):"",Dp(a.accountName,o.containerName,o.blobName),o.identifier,o.ipRange?Dd(o.ipRange):"",o.protocol?o.protocol:"",o.version,o.cacheControl?o.cacheControl:"",o.contentDisposition?o.contentDisposition:"",o.contentEncoding?o.contentEncoding:"",o.contentLanguage?o.contentLanguage:"",o.contentType?o.contentType:""].join("\n"),s=a.computeHMACSHA256(i);return{sasQueryParameters:new Dg(o.version,s,t,void 0,void 0,o.protocol,o.startsOn,o.expiresOn,o.ipRange,o.identifier,r,o.cacheControl,o.contentDisposition,o.contentEncoding,o.contentLanguage,o.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function Dm(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function Dp(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function DC(e){let t=e.version?e.version:Bj;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function DI(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class Df{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=Cu()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-acquireLease",t,async r=>Dn(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=Dn(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-releaseLease",e,async t=>Dn(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return Dn(await this._containerOrBlobOperation.breakLease(i))})}}class DE extends px.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new Ia("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class DB{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,s={}){this.originalResponse=e;let n=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new Bs(this.originalResponse.readableStreamBody,s);this.blobDownloadStream=new DE(n,t,r,i,s)}}let Dy=new Uint8Array([79,98,106,1]);class DQ{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await DQ.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,s,n=0,o=0;do i=128&(r=await DQ.readByte(e,t)),n|=(127&r)<<o,o+=7;while(i&&o<28);if(i){s=0x10000000;do n+=(127&(r=await DQ.readByte(e,t)))*s,s*=128;while(128&r);let i=(n%2?-(n+1):n)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return n>>1^-(1&n)}static async readLong(e,t={}){return DQ.readZigZagLong(e,t)}static async readInt(e,t={}){return DQ.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await DQ.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await DQ.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await DQ.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await DQ.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await DQ.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await DQ.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await DQ.readArray(e,(e,r={})=>DQ.readMapPair(e,t,r),r),s={};for(let e of i)s[e.key]=e.value;return s}static async readArray(e,t,r={}){let i=[];for(let s=await DQ.readLong(e,r);0!==s;s=await DQ.readLong(e,r))for(s<0&&(await DQ.readLong(e,r),s=-s);s--;){let s=await t(e,r);i.push(s)}return i}}(eg=ex||(ex={})).RECORD="record",eg.ENUM="enum",eg.ARRAY="array",eg.MAP="map",eg.UNION="union",eg.FIXED="fixed",(eu=eR||(eR={})).NULL="null",eu.BOOLEAN="boolean",eu.INT="int",eu.LONG="long",eu.FLOAT="float",eu.DOUBLE="double",eu.BYTES="bytes",eu.STRING="string";class DN{static fromSchema(e){return"string"==typeof e?DN.fromStringSchema(e):Array.isArray(e)?DN.fromArraySchema(e):DN.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case eR.NULL:case eR.BOOLEAN:case eR.INT:case eR.LONG:case eR.FLOAT:case eR.DOUBLE:case eR.BYTES:case eR.STRING:return new Db(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new Dw(e.map(DN.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return DN.fromStringSchema(t)}catch{}switch(t){case ex.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=DN.fromSchema(t.type);return new Dx(r,e.name);case ex.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new DS(e.symbols);case ex.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new DD(DN.fromSchema(e.values));case ex.ARRAY:case ex.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class Db extends DN{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case eR.NULL:return DQ.readNull();case eR.BOOLEAN:return DQ.readBoolean(e,t);case eR.INT:return DQ.readInt(e,t);case eR.LONG:return DQ.readLong(e,t);case eR.FLOAT:return DQ.readFloat(e,t);case eR.DOUBLE:return DQ.readDouble(e,t);case eR.BYTES:return DQ.readBytes(e,t);case eR.STRING:return DQ.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class DS extends DN{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await DQ.readInt(e,t);return this._symbols[r]}}class Dw extends DN{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await DQ.readInt(e,t);return this._types[r].read(e,t)}}class DD extends DN{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return DQ.readMap(e,r,t)}}class Dx extends DN{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function DR(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class DM{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!DR(await DQ.readFixedBytes(this._headerStream,Dy.length,{abortSignal:e.abortSignal}),Dy))throw Error("Stream is not an Avro file.");this._metadata=await DQ.readMap(this._headerStream,DQ.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await DQ.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=DN.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await DQ.readLong(this._dataStream,{abortSignal:e.abortSignal}),await DQ.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await DQ.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!DR(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await DQ.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await DQ.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class Dk{}let DF=i("buffer"),DU=new Ia("Reading from the avro stream was aborted.");class Dv extends Dk{_position;_readable;toUint8Array(e){return"string"==typeof e?DF.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw DU;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let s=()=>{this._readable.removeListener("readable",n),this._readable.removeListener("error",o),this._readable.removeListener("end",o),this._readable.removeListener("close",o),t.abortSignal&&t.abortSignal.removeEventListener("abort",a)},n=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,s(),r(this.toUint8Array(t)))},o=()=>{s(),i()},a=()=>{s(),i(DU)};this._readable.on("readable",n),this._readable.once("error",o),this._readable.once("end",o),this._readable.once("close",o),t.abortSignal&&t.abortSignal.addEventListener("abort",a)})}}class DT extends px.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new DM(new Dv(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let s=t.position;if("number"!=typeof s)throw Error("Invalid position in avro error record.");this.onError({position:s,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class DL{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new DT(this.originalResponse.readableStreamBody,t)}}function DO(e){if(void 0!==e)return e}function DH(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function DP(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(eh=eM||(eM={})).Hot="Hot",eh.Cool="Cool",eh.Cold="Cold",eh.Archive="Archive",(em=ek||(ek={})).P4="P4",em.P6="P6",em.P10="P10",em.P15="P15",em.P20="P20",em.P30="P30",em.P40="P40",em.P50="P50",em.P60="P60",em.P70="P70",em.P80="P80",(ep=eF||(eF={})).StorageOAuthScopes="https://storage.azure.com/.default",ep.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",C7("core-lro");class DY extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,DY.prototype)}}class DG extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,DG.prototype)}}class Dz{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new DG("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new DY("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class Dq extends Dz{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:s=15e3,onProgress:n,resumeFrom:o,startCopyFromURLOptions:a}=e;o&&(t=JSON.parse(o).state),super(DW({...t,blobClient:r,copySource:i,startCopyFromURLOptions:a})),"function"==typeof n&&this.onProgress(n),this.intervalInMs=s}delay(){return IA(this.intervalInMs)}}let DV=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),DW(t)},D_=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:s}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:s}=r,n=t.copyProgress;s&&(t.copyProgress=s),"pending"===i&&s!==n&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,s);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return DW(t)},DJ=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function DW(e){return{state:{...e},cancel:DV,toString:DJ,update:D_}}function Dj(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(eC=eU||(eU={}))[eC.Good=0]="Good",eC[eC.Error=1]="Error";class DK{concurrency;actives=0;completed=0;offset=0;operations=[];state=eU.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new E$.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=eU.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==eU.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}async function DX(e,t,r,i,s){let n=0,o=i-r;return new Promise((i,a)=>{let A=setTimeout(()=>a(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let a;if(n>=o){clearTimeout(A),i();return}for(;null!==(a=e.read());){"string"==typeof a&&(a=Buffer.from(a,s));let e=n+a.length>o?o-n:a.length;if(t.fill(a.slice(0,e),r+n,r+n+e),(n+=e)>=o){clearTimeout(A),i();return}}}),e.on("end",()=>{clearTimeout(A),n<o&&a(Error(`Stream drains before getting enough data needed. Data read: ${n}, data need: ${o}`)),i()}),e.on("error",e=>{clearTimeout(A),a(e)})})}async function DZ(e,t){return new Promise((r,i)=>{let s=m2.createWriteStream(t);e.on("error",e=>{i(e)}),s.on("error",e=>{i(e)}),s.on("close",r),e.pipe(s)})}let D$=p0.promisify(m2.stat),D0=m2.createReadStream;class D1 extends Da{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let s,n;if(i=i||{},B1(t))n=e,s=t,i=r;else if(t instanceof BO||t instanceof Bd||IS(t))n=e,s=B3(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=w1(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new BO(o.accountName,o.accountKey);n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Ic(o.proxyUri)),s=B3(e,i)}else if("SASConnString"===o.kind)n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=B3(new Bd,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,r&&"string"!=typeof r&&(i=r),s=B3(new Bd,i);super(n,s),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=w5(this.url,BK),this._versionId=w5(this.url,BX),this.blobClientConfig=i}withSnapshot(e){return new D1(w3(this.url,BK,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new D1(w3(this.url,BX,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new D2(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new D3(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new D5(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},DH(r.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-download",r,async i=>{let s=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===s?s="Customized":"Auto"===s&&(s="StorageCrc64"),"StorageCrc64"===s&&await E9.init();let n=Dn(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?Dj({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===s?"XSM/1.0; properties=crc64":void 0})),o={...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:Dr(n.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===n.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===s&&void 0===n.structuredContentLength)throw RangeError("Unexpected structured content length");if(!n.etag)throw RangeError("File download response doesn't contain valid etag header");let a="StorageCrc64"===s?n.structuredContentLength:n.contentLength;return new DB(o,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||n.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:Dj({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===s?"XSM/1.0; properties=crc64":void 0},o=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==s?o:new Bs(o,{})},e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return DA.withSpan("BlobClient-exists",e,async t=>{try{return DH(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},DH(e.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-getProperties",e,async t=>{let r=Dn(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:Dr(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},DA.withSpan("BlobClient-delete",e,async t=>Dn(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return DA.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=Dn(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return DA.withSpan("BlobClient-undelete",e,async t=>Dn(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-setHTTPHeaders",t,async r=>Dn(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-setMetadata",t,async r=>Dn(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return DA.withSpan("BlobClient-setTags",t,async r=>Dn(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return DA.withSpan("BlobClient-getTags",e,async t=>{let r=Dn(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Df(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},DH(e.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-createSnapshot",e,async t=>Dn(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new Dq({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return DA.withSpan("BlobClient-abortCopyFromURL",t,async r=>Dn(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},DA.withSpan("BlobClient-syncCopyFromURL",t,async r=>Dn(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:Di(t.sourceAuthorization),tier:DO(t.tier),blobTagsString:De(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return DA.withSpan("BlobClient-setAccessTier",t,async r=>Dn(await this.blobContext.setTier(DO(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let s,n=0,o=0,a=i;e instanceof Buffer?(s=e,n=t||0,o="number"==typeof r?r:0):(n="number"==typeof e?e:0,o="number"==typeof t?t:0,a=r||{});let A=a.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),n<0)throw RangeError("offset option must be >= 0");if(o&&o<=0)throw RangeError("count option must be greater than 0");return a.conditions||(a.conditions={}),DA.withSpan("BlobClient-downloadToBuffer",a,async e=>{if(!o){let t=await this.getProperties({...a,tracingOptions:e.tracingOptions});if((o=t.contentLength-n)<0)throw RangeError(`offset ${n} shouldn't be larger than blob size ${t.contentLength}`)}if(!s)try{s=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(s.length<o)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`);let t=0,r=new DK(a.concurrency);for(let i=n;i<n+o;i+=A)r.addOperation(async()=>{let r=n+o;i+A<r&&(r=i+A);let l=(await this.download(i,r-i,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await DX(l,s,i-n,r-n),t+=r-i,a.onProgress&&a.onProgress({loadedBytes:t})});return await r.do(),s})}async downloadToFile(e,t=0,r,i={}){return DA.withSpan("BlobClient-downloadToFile",i,async s=>{let n=await this.download(t,r,{...i,tracingOptions:s.tracingOptions});return n.readableStreamBody&&await DZ(n.readableStreamBody,e),n.blobDownloadStream=void 0,n})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(w7(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return DA.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},Dn(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:DO(t.tier),blobTagsString:De(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof BO))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=Du({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(w4(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof BO))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Dh({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=Du({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(w4(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return Dh({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return DA.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>Dn(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return DA.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>Dn(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return DA.withSpan("BlobClient-setLegalHold",t,async t=>Dn(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return DA.withSpan("BlobClient-getAccountInfo",e,async t=>Dn(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class D2 extends D1{appendBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},B1(t))n=e,s=t,i=r;else if(t instanceof BO||t instanceof Bd||IS(t))n=e,s=B3(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=w1(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new BO(o.accountName,o.accountKey);n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Ic(o.proxyUri)),s=B3(e,i)}else if("SASConnString"===o.kind)n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=B3(new Bd,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,i=r,s=B3(new Bd,i);super(n,s),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new D2(w3(this.url,BK,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},DH(e.customerProvidedKey,this.isHttps),DA.withSpan("AppendBlobClient-create",e,async t=>Dn(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:De(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return DA.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=Dn(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},DA.withSpan("AppendBlobClient-seal",e,async t=>Dn(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},DH(r.customerProvidedKey,this.isHttps),DA.withSpan("AppendBlobClient-appendBlock",r,async i=>{let s={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},n=await Do(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return Dn(await this.appendBlobContext.appendBlock(n.contentLength,n.body,s))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},DH(i.customerProvidedKey,this.isHttps),DA.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>Dn(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:Dj({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Di(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class D3 extends D1{_blobContext;blockBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},B1(t))n=e,s=t,i=r;else if(t instanceof BO||t instanceof Bd||IS(t))n=e,s=B3(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=w1(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new BO(o.accountName,o.accountKey);n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Ic(o.proxyUri)),s=B3(e,i)}else if("SASConnString"===o.kind)n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=B3(new Bd,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,r&&"string"!=typeof r&&(i=r),s=B3(new Bd,i);super(n,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new D3(w3(this.url,BK,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-query",t,async r=>new DL(Dn(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:Dt(t.inputTextConfiguration),outputSerialization:Dt(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},DH(r.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-upload",r,async i=>{let s={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:DO(r.tier),blobTagsString:De(r.tags),tracingOptions:i.tracingOptions},n=await Do(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return Dn(await this.blockBlobContext.upload(n.contentLength,n.body,s))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>Dn(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:Di(t.sourceAuthorization),tier:DO(t.tier),blobTagsString:De(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return DH(i.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-stageBlock",i,async s=>{let n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions},o=await Do(t,r,n,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return Dn(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,n))})}async stageBlockFromURL(e,t,r=0,i,s={}){return DH(s.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-stageBlockFromURL",s,async n=>Dn(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:0!==r||i?Dj({offset:r,count:i}):void 0,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:Di(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-commitBlockList",t,async r=>Dn(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:DO(t.tier),blobTagsString:De(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return DA.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=Dn(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return DA.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return DA.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let s=r.maxSingleShotSize??0x10000000;if(s<0||s>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>s&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),DA.withSpan("BlockBlobClient-uploadSeekableInternal",r,async n=>{if(t<=s)return Dn(await this.upload(e(0,t),t,n));let o=Math.floor((t-1)/i)+1;if(o>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let a=[],A=Cu(),l=0,c=new DK(r.concurrency);for(let s=0;s<o;s++)c.addOperation(async()=>{let c=w9(A,s),d=i*s,g=(s===o-1?t:d+i)-d;a.push(c),await this.stageBlock(c,e(d,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=g,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(a,n)})}async uploadFile(e,t={}){return DA.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await D$(e)).size;return this.uploadSeekableInternal((t,r)=>()=>D0(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),DA.withSpan("BlockBlobClient-uploadStream",i,async s=>{let n=0,o=Cu(),a=0,A=[],l=new E3(e,t,r,async(e,t)=>{let r=w9(o,n);A.push(r),n++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),a+=t,i.onProgress&&i.onProgress({loadedBytes:a})},Math.ceil(r/4*3));return await l.do(),Dn(await this.commitBlockList(A,{...i,tracingOptions:s.tracingOptions}))})}}class D5 extends D1{pageBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},B1(t))n=e,s=t,i=r;else if(t instanceof BO||t instanceof Bd||IS(t))n=e,s=B3(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=w1(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new BO(o.accountName,o.accountKey);n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Ic(o.proxyUri)),s=B3(e,i)}else if("SASConnString"===o.kind)n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=B3(new Bd,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,i=r,s=B3(new Bd,i);super(n,s),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new D5(w3(this.url,BK,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("PageBlobClient-create",t,async r=>Dn(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:DO(t.tier),blobTagsString:De(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return DA.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=Dn(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},DH(i.customerProvidedKey,this.isHttps),DA.withSpan("PageBlobClient-uploadPages",i,async s=>{let n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:Dj({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions},o=await Do(e,r,n,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return Dn(await this.pageBlobContext.uploadPages(o.contentLength,o.body,n))})}async uploadPagesFromURL(e,t,r,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},DH(s.customerProvidedKey,this.isHttps),DA.withSpan("PageBlobClient-uploadPagesFromURL",s,async n=>Dn(await this.pageBlobContext.uploadPagesFromURL(e,Dj({offset:t,count:i}),0,Dj({offset:r,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:Di(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},DA.withSpan("PageBlobClient-clearPages",r,async i=>Dn(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:Dj({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},DA.withSpan("PageBlobClient-getPageRanges",r,async i=>DP(Dn(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:Dj({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return DA.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>Dn(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:Dj({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let s;if(r||void 0===r)do r=(s=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await s;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let s of this.listPageRangeItemSegments(e,t,i,r))yield*Ds(s)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},DA.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>DP(Dn(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:Dj({offset:e,count:t}),tracingOptions:s.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,s={}){return DA.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async n=>Dn(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:r,range:Dj({offset:e,count:t}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,s){let n;if(i||void 0===i)do i=(n=await this.listPageRangesDiffSegment(e,t,r,i,s)).continuationToken,yield await n;while(i)}async *listPageRangeDiffItems(e,t,r,i){let s;for await(let n of this.listPageRangeDiffItemSegments(e,t,r,s,i))yield*Ds(n)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>s.next(),[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeDiffItemSegments(e,t,r,s.continuationToken,{maxPageSize:s.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},DA.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>DP(Dn(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:Dj({offset:e,count:t}),tracingOptions:s.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},DA.withSpan("PageBlobClient-resize",t,async r=>Dn(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},DA.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>Dn(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return DA.withSpan("PageBlobClient-startCopyIncremental",t,async r=>Dn(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(eI=ev||(ev={}))[eI.LOCKED=0]="LOCKED",eI[eI.UNLOCKED=1]="UNLOCKED",(eT||(eT={})).AES256="AES256";let D4=(0,uu.createHash)("sha256").update("blobstore|1.0").digest("hex"),D8={uploadData:(e,t)=>AK({try:()=>new D3(e).uploadData(t),catch:e=>new pV({reason:"uploadFailed",cause:e})}).pipe(og),downloadToBuffer:e=>AK({try:()=>new D1(e).downloadToBuffer(),catch:e=>new pV({reason:"downloadFailed",cause:e})}).pipe(oI(e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength)))},D9=e=>AX(function*(){let t,r=yield*mL,i=(t=yield*hp,AX(function*(){let e=yield*t.getOptional(p_),r=yield*t.getOptional(pJ);return r4(e)?yield*rp(p_):r4(r)?yield*rp(pJ):{baseUrl:e.value.endsWith("/")?e.value:`${e.value}/`,token:cN(r.value),backendIds:(e=>{let t;try{t=(e=>{let t=e.split(".");if(3!==t.length)throw Error(`expected a three-segment JWT, got ${t.length}`);return JSON.parse(Buffer.from(t[1]??"","base64url").toString("utf8"))})(e)}catch(e){return rz(`the runtime token is not a readable JWT: ${e instanceof Error?e.message:e}`)}let r=t.scp;if("string"!=typeof r)return rz("the runtime token carries no `scp` claim");for(let e of r.split(" ")){let t=e.split(":");if("Actions.Results"!==t[0])continue;let r=t[1],i=t[2];if(3!==t.length||void 0===r||""===r||void 0===i||""===i)return rz(`the runtime token's Actions.Results scope is malformed: "${e}"`);return rq({workflowRunBackendId:r,workflowJobRunBackendId:i})}return rz("the runtime token carries no `Actions.Results` scope")})(r.value)}})).pipe(oq(e=>new mJ({reason:"misconfigured",detail:`${e} is not set — the Actions results backend is only reachable from a \`uses:\` step, never from \`run:\``}))),s=(e,t,s)=>AX(function*(){let{baseUrl:n,token:o}=yield*i;return yield*(e=>{let{baseUrl:t,body:r,http:i,method:s,service:n,token:o}=e;return AX(function*(){let e=ml(`${t}twirp/${n}/${s}`).pipe(mh(o),my(r)),a=yield*i.execute(e).pipe(oq(e=>({method:s,kind:"transport",cause:e})));return 409===a.status?pW:a.status<200||a.status>=300?yield*rp({method:s,kind:"status",status:a.status}):yield*a.json.pipe(oq(e=>({method:s,kind:"malformed",cause:e})))}).pipe(AV({schedule:((e,t=2)=>{let r=s2(sO(e));return Am(n0(e=>{let i=sK(r*Math.pow(t,e.attempt-1));return n0([i,i])}))})("3 seconds",1.5),times:4,while:pj}))})({http:r,baseUrl:n,service:"github.actions.results.api.v1.CacheService",token:o,method:e,body:t}).pipe(oq(e=>new mJ("status"===e.kind?{reason:"refused",key:s,...void 0===e.status?{}:{status:e.status}}:{reason:"unreachable",key:s,detail:`${e.method} answered with something that is not a Twirp body`,...void 0===e.cause?{}:{cause:e.cause}})))}),n=e=>oI(s("GetCacheEntryDownloadURL",{key:e,restore_keys:[],version:D4},e),e=>e!==pW&&pZ(e)?iA(pX(e,"signedDownloadUrl")):r2()),o=e=>oq(t=>new mJ({reason:"unreachable",key:e,cause:t}));return{get:(t,r)=>AX(function*(){let i=yield*n(t);if(r4(i))return r2();let s=yield*e.downloadToBuffer(i.value).pipe(o(t));return r3((yield*n5(ug.decodeResult(s,r))))}),put:(t,r,i)=>AX(function*(){let n=yield*n5(ug.encodeResult(r.metadata,r.body,i)),a=yield*s("CreateCacheEntry",{key:t,version:D4},t);if(a===pW)return;let A=pX(a,"signedUploadUrl");if(!pZ(a)||void 0===A)return yield*rp(new mJ({reason:"refused",key:t,detail:"CreateCacheEntry returned no upload url"}));yield*e.uploadData(A,n).pipe(o(t));let l=yield*s("FinalizeCacheEntryUpload",{key:t,version:D4,size_bytes:String(n.byteLength)},t);if(l===pW||!pZ(l))return yield*rp(new mJ({reason:"refused",key:t,detail:"FinalizeCacheEntryUpload did not confirm the upload"}))}),has:e=>oI(n(e),r8)}});var D6=class{static layer=AO(mW,D9(D8));static layerWith=e=>AO(mW,D9(e))};let D7="TURBOGHA_TOKEN",xe=(e,t)=>e[t]??"",xt=AG(pq,hp.layer.pipe(Az(pw)),hN.layerDetached),xr=e=>{console.error(`turbo-server: ${e}`)},xi=(e=>{let t,r,i,s=xe(e,D7);if(""===s)return rz(`${D7} is not set — refusing to start an unauthenticated cache server`);let n=Number(xe(e,"TURBOGHA_PORT")),o={port:Number.isInteger(n)&&n>0&&n<=65535?n:41230,prefix:xe(e,"TURBOGHA_PREFIX"),token:s};return rq("s3"===xe(e,"TURBOGHA_BACKEND")?{...o,backend:"s3",s3:(t=xe(e,"TURBOGHA_S3_ENDPOINT"),r=xe(e,"TURBOGHA_S3_SESSION_TOKEN"),i=xe(e,"TURBOGHA_S3_PREFIX"),{bucket:xe(e,"TURBOGHA_S3_BUCKET"),region:xe(e,"TURBOGHA_S3_REGION"),accessKeyId:xe(e,"TURBOGHA_S3_ACCESS_KEY_ID"),secretAccessKey:cN(xe(e,"TURBOGHA_S3_SECRET_ACCESS_KEY")),...""===t?{}:{endpoint:t},...""===r?{}:{sessionToken:cN(r)},...""===i?{}:{prefix:i}})}:{...o,backend:"github"})})(process.env);rY(xi)&&(xr(xi.failure),process.exit(1));let xs=xi.success,xn=(ef="s3"===xs.backend?mW.layerS3(xs.s3).pipe(Az(xt)):D6.layer.pipe(Az(xt)),Y=(void 0)??AM(),z=AN(G=o7("parallel"),"sequential"),q={onFiberStart:ab(G)},V=e=>e?{...e,onFiberStart:e.onFiberStart?t=>{q.onFiberStart(t),e.onFiberStart(t)}:q.onFiberStart}:q,_=rI(e=>(P||(P=aS(od(AF(ef,Y,z),e=>n2(()=>{J.cachedContext=e})),{...q,scheduler:e.currentScheduler})),oh(nj(P),eq))),J={[A5]:A5,memoMap:Y,scope:G,contextEffect:_,cachedContext:void 0,context:()=>void 0===J.cachedContext?ak(J.contextEffect):Promise.resolve(J.cachedContext),dispose:()=>ak(J.disposeEffect),disposeEffect:n3(()=>(J.contextEffect=n9("ManagedRuntime disposed"),J.cachedContext=void 0,o3(J.scope,oN))),runFork:(e,t)=>void 0===J.cachedContext?aS(A4(J,e),V(t)):aN(J.cachedContext)(e,V(t)),runCallback:(e,t)=>void 0===J.cachedContext?aD(A4(J,e),V(t)):aw(J.cachedContext)(e,V(t)),runSyncExit:e=>void 0===J.cachedContext?aU(A4(J,e)):aF(J.cachedContext)(e),runSync:e=>void 0===J.cachedContext?aT(A4(J,e)):av(J.cachedContext)(e),runPromiseExit:(e,t)=>void 0===J.cachedContext?aR(A4(J,e),V(t)):ax(J.cachedContext)(e,V(t)),runPromise:(e,t)=>void 0===J.cachedContext?ak(A4(J,e),V(t)):aM(J.cachedContext)(e,V(t))}),xo=(W={prefix:xs.prefix,expectedToken:xs.token,onStoreFailure:e=>{"github"===xs.backend&&"BlobStoreError"===e._tag&&(401===e.status||"refused"===e.reason)?xr("the Actions cache refused a request — ACTIONS_RUNTIME_TOKEN has most likely expired, so cache writes from here on are lost"):xr(`the ${xs.backend} backend failed: ${e.message}`)}},e=>AX(function*(){var t;let r,i,s=-1===(r=(t=e.path).indexOf("?"))?t:t.slice(0,r);if("/v8/artifacts/status"===s)return m0(200,{status:"enabled"});let n={status:401,headers:{}};if("/v8/artifacts/events"===s)return m1(e,W.expectedToken)?m0(200,[]):n;let o=(e=>{if(!e.startsWith(mZ))return null;let t=e.slice(mZ.length);return""===t||"."===t||".."===t||t.includes("/")?null:t})(s);if(null===o)return m$;if(!m1(e,W.expectedToken))return n;let a=(i=W.prefix,""===i||i.endsWith("/")?`${i}${o}`:`${i}/${o}`),A=yield*mW;if("PUT"===e.method){let t=mX.make({tag:e.artifactTag??null,durationMs:Math.min(0xffffffff,Math.max(0,Math.trunc(e.artifactDuration)||0))});return yield*A.put(a,{metadata:t,body:e.body},mX),{status:202,headers:{}}}if("HEAD"===e.method)return{status:(yield*A.has(a))?200:404,headers:{}};if("GET"===e.method){let e=yield*A.get(a,mX).pipe(oz("BlobEnvelopeError",()=>n8));if(r4(e))return m$;let{tag:t,durationMs:r}=e.value.metadata,i={"content-type":"application/octet-stream","x-artifact-duration":String(r)};return t&&(i["x-artifact-tag"]=t),{status:200,headers:i,body:e.value.body}}return{status:405,headers:{}}}).pipe(oP(e=>n2(()=>(W.onStoreFailure?.(e),{status:500,headers:{}}))))),xa=(0,eH.createServer)((e,t)=>{let r=[];e.on("error",()=>{t.destroy()}),e.on("data",e=>{r.push(e)}),e.on("end",()=>{let i=e.headers["x-artifact-duration"],s=e.headers["x-artifact-tag"],n={method:e.method??"GET",path:e.url??"/",authorization:e.headers.authorization,artifactTag:"string"==typeof s?s:void 0,artifactDuration:"string"==typeof i&&Number(i)||0,body:new Uint8Array(Buffer.concat(r))};xn.runPromise(xo(n)).then(e=>{t.writeHead(e.status,e.headers),t.end(e.body?Buffer.from(e.body):void 0)},()=>{t.writeHead(500),t.end()})})});xa.on("error",e=>{xr("EADDRINUSE"===e.code?`port ${xs.port} is already in use — another cache server is running on this runner`:`cannot listen on 127.0.0.1:${xs.port}: ${e.message}`),process.exit(1)}),process.on("SIGTERM",()=>{setTimeout(()=>process.exit(0),2e3).unref(),xa.close(()=>{xn.dispose().then(()=>process.exit(0),()=>process.exit(0))}),xa.closeIdleConnections()}),xa.listen(xs.port,"127.0.0.1")})(); \ No newline at end of file diff --git a/.github/actions/test-fixture/action.yml b/.github/actions/test-fixture/action.yml index a89802ba..c197ece8 100644 --- a/.github/actions/test-fixture/action.yml +++ b/.github/actions/test-fixture/action.yml @@ -418,19 +418,28 @@ runs: def check_value(key: str, actual: str, expected: str) -> None: global failed - # Skip if no actual value - if not actual: + # Skip if nothing was asserted. An empty `expected` is the deliberate + # opt-out that lets a fixture leave any of these assertions off -- every + # expected-* input defaults to empty -- so it stays a skip; a non-empty + # actual is still recorded for the report. + if not expected: + if actual: + results[key] = { + "actual": actual, + "expected": expected, + "status": "info", + } return - # Determine status - if expected: - if actual == expected: - status = "passed" - else: - status = "failed" - failed = True + # An empty actual used to return before reaching the comparison, so a + # fixture asserting a version against an output the action had stopped + # publishing recorded no result rather than a failure. It falls through + # now: an empty string cannot equal a non-empty expected. + if actual == expected: + status = "passed" else: - status = "info" + status = "failed" + failed = True # Add to results results[key] = { @@ -441,40 +450,50 @@ runs: def check_contains(key: str, actual: str, expected: str) -> None: global failed - # Skip if no actual value - if not actual: + # Skip if nothing was asserted. An empty `expected` is the deliberate + # opt-out that lets a fixture leave any of these assertions off, so it + # stays a skip; a non-empty actual is still recorded for the report. + if not expected: + if actual: + results[key] = { + "actual": actual, + "expected": expected, + "status": "info", + } return - # Determine status - check if all expected items are in actual - if expected: - # Parse both actual and expected as comma-separated lists - actual_items = [item.strip() for item in actual.split(",") if item.strip()] - expected_items = [item.strip() for item in expected.split(",") if item.strip()] - - # Check if each expected item is found in any actual item - # This allows matching "custom.lock" against "/path/to/custom.lock" - # or "**/build" against "**/build" - missing_items = [] - for exp_item in expected_items: - found = False - for act_item in actual_items: - # Check exact match first, then substring match - if exp_item == act_item or exp_item in act_item: - found = True - break - if not found: - missing_items.append(exp_item) - - if not missing_items: - status = "passed" - else: - status = "failed" - failed = True - print(f"::error::{key}: Missing expected items: {', '.join(sorted(missing_items))}") - print(f"::error::{key}: Expected items: {', '.join(sorted(expected_items))}") - print(f"::error::{key}: Actual items: {', '.join(sorted(actual_items))}") + # An empty actual used to return before reaching any comparison, so a + # fixture that asserted lockfiles and got an empty output back recorded + # nothing at all -- the emptied-output regression these assertions exist + # to catch passed as quietly as a match. It falls through now, where an + # empty item list makes every expected item missing by definition. + + # Parse both actual and expected as comma-separated lists + actual_items = [item.strip() for item in actual.split(",") if item.strip()] + expected_items = [item.strip() for item in expected.split(",") if item.strip()] + + # Check if each expected item is found in any actual item + # This allows matching "custom.lock" against "/path/to/custom.lock" + # or "**/build" against "**/build" + missing_items = [] + for exp_item in expected_items: + found = False + for act_item in actual_items: + # Check exact match first, then substring match + if exp_item == act_item or exp_item in act_item: + found = True + break + if not found: + missing_items.append(exp_item) + + if not missing_items: + status = "passed" else: - status = "info" + status = "failed" + failed = True + print(f"::error::{key}: Missing expected items: {', '.join(sorted(missing_items))}") + print(f"::error::{key}: Expected items: {', '.join(sorted(expected_items))}") + print(f"::error::{key}: Actual items: {', '.join(sorted(actual_items))}") # Add to results results[key] = { diff --git a/.github/workflows/CLAUDE.md b/.github/workflows/CLAUDE.md index ce9b5829..bf81104a 100644 --- a/.github/workflows/CLAUDE.md +++ b/.github/workflows/CLAUDE.md @@ -23,6 +23,15 @@ test coverage: * **test-node-restore-cache** - Node.js tests restoring from cache * **summary** - Aggregates test results and reports overall status +### [test-turbo-cache.yml](test-turbo-cache.yml) + +Exercises the embedded Turbo remote-cache server end to end: a within-job +double build on the GitHub backend, a cross-job cache hit, an S3 backend run +against MinIO, and a real-S3 job gated on the `TURBO_S3_*` secrets being +present. Fixtures install their own dependencies in `run:` steps +(`install-deps: "false"`) because `uses:` steps always execute at the +repository root. + ## Reusable Composite Actions ### [test-fixture](../actions/test-fixture/action.yml) @@ -102,7 +111,7 @@ test-node: matrix: include: - name: NPM - fixture: node-minimal + fixture: node-npm expected-package-manager: npm title: "NPM Test Results" @@ -255,6 +264,6 @@ as a GitHub step summary. * [Root CLAUDE.md](../../CLAUDE.md) - Repository overview * [**fixtures**/CLAUDE.md](../../__fixtures__/CLAUDE.md) - Available test fixtures -* [src/CLAUDE.md](../../src/CLAUDE.md) - Source code architecture and co-located unit tests +* [src/CLAUDE.md](../../src/CLAUDE.md) - Source code architecture (unit tests live in `__test__/unit/`) * [GitHub Actions Documentation](https://docs.github.com/en/actions) - GitHub Actions reference * [nektos/act](https://github.com/nektos/act) - Run GitHub Actions locally diff --git a/.github/workflows/test-turbo-cache.yml b/.github/workflows/test-turbo-cache.yml index 1e3c0ef8..6b882a91 100644 --- a/.github/workflows/test-turbo-cache.yml +++ b/.github/workflows/test-turbo-cache.yml @@ -18,9 +18,34 @@ jobs: working-directory: __fixtures__/turbo-monorepo steps: - uses: actions/checkout@v7 + # `install-deps: false` because a `uses:` step does not honour + # `defaults.run.working-directory` — the action always executes at + # GITHUB_WORKSPACE. Left on, its install step would install the *action + # repo's* dependencies, which is never what this workflow wanted; the + # fixture is installed by its own `run:` step below, which does honour the + # default. Turbo detection and the cache server are unaffected. - uses: ./.github/actions/local + id: setup with: turbo-cache: auto + install-deps: "false" + # The greps below prove turbo got a cache; this proves the *action* said + # which one and where. Values go through `env` rather than being + # interpolated into the script, so the assertion cannot become an + # injection if an output ever carries something unexpected. + - name: Assert the reported backend and port + env: + BACKEND: ${{ steps.setup.outputs.turbo-cache-backend }} + PORT: ${{ steps.setup.outputs.turbo-cache-port }} + run: | + [ "$BACKEND" = "github" ] || { echo "Expected backend 'github', got '$BACKEND'"; exit 1; } + [ "$PORT" = "41230" ] || { echo "Expected port '41230', got '$PORT'"; exit 1; } + # A `run:` step *does* honour the working-directory default, so this is + # the fixture's own install — its pnpm-workspace.yaml makes it a workspace + # root, so pnpm stops there and never sees the repo root's overrides. The + # action has already put node and pnpm on PATH via GITHUB_PATH. + - name: Install fixture dependencies + run: pnpm install --frozen-lockfile - name: First build (populates remote cache) run: pnpm exec turbo run build --remote-only - name: Clear local turbo state @@ -43,9 +68,22 @@ jobs: working-directory: __fixtures__/turbo-monorepo steps: - uses: actions/checkout@v7 + # See the note in the double-build job: the action runs at the repo root, + # so its own install is disabled and the fixture installs itself below. - uses: ./.github/actions/local + id: setup with: turbo-cache: auto + install-deps: "false" + - name: Assert the reported backend and port + env: + BACKEND: ${{ steps.setup.outputs.turbo-cache-backend }} + PORT: ${{ steps.setup.outputs.turbo-cache-port }} + run: | + [ "$BACKEND" = "github" ] || { echo "Expected backend 'github', got '$BACKEND'"; exit 1; } + [ "$PORT" = "41230" ] || { echo "Expected port '41230', got '$PORT'"; exit 1; } + - name: Install fixture dependencies + run: pnpm install --frozen-lockfile - name: Build on a cold runner (must hit cache populated by the prior job) run: | OUT=$(pnpm exec turbo run build --remote-only) @@ -77,13 +115,24 @@ jobs: docker run --rm --network host --entrypoint sh minio/mc -c \ "mc alias set m http://127.0.0.1:9000 minioadmin minioadmin && mc mb --ignore-existing m/turbo-cache" - uses: ./.github/actions/local + id: setup with: turbo-cache: auto + install-deps: "false" turbo-s3-bucket: turbo-cache turbo-s3-region: us-east-1 turbo-s3-endpoint: http://127.0.0.1:9000 turbo-s3-access-key-id: minioadmin turbo-s3-secret-access-key: minioadmin + - name: Assert the reported backend and port + env: + BACKEND: ${{ steps.setup.outputs.turbo-cache-backend }} + PORT: ${{ steps.setup.outputs.turbo-cache-port }} + run: | + [ "$BACKEND" = "s3" ] || { echo "Expected backend 's3', got '$BACKEND'"; exit 1; } + [ "$PORT" = "41230" ] || { echo "Expected port '41230', got '$PORT'"; exit 1; } + - name: Install fixture dependencies + run: pnpm install --frozen-lockfile - name: First build (populates S3) run: pnpm exec turbo run build --remote-only - name: Clear local turbo state @@ -92,4 +141,80 @@ jobs: run: | OUT=$(pnpm exec turbo run build --remote-only) echo "$OUT" - echo "$OUT" | grep -E ">>> FULL TURBO|cache hit" || { echo "Expected an S3 remote cache hit"; exit 1; } + echo "$OUT" | grep -E ">>> FULL TURBO|cache hit" || { echo "Expected an S3 cache hit"; exit 1; } + + # A `secrets` context cannot be read from a job-level `if:` at all — the + # expression is evaluated before secrets are available to the job — so + # presence has to become a job *output* first. This one-step gate is the + # standard way to spell that, and it never prints the secret: only whether it + # was non-empty. + real-s3-configured: + name: Check real-S3 credentials + runs-on: ubuntu-latest + outputs: + configured: ${{ steps.check.outputs.configured }} + steps: + - name: Report whether the org S3 secrets are available + id: check + env: + BUCKET: ${{ secrets.TURBO_S3_BUCKET }} + REGION: ${{ secrets.TURBO_S3_REGION }} + run: | + # Both, not just the bucket: an S3 request is signed per region, so a + # bucket without one produces a job that runs, spawns a server and + # fails every cache write against a misconfigured signer — a red that + # says nothing about this action. Skipping is the honest answer to a + # half-configured repository. + if [ -n "$BUCKET" ] && [ -n "$REGION" ]; then + echo "configured=true" >> "$GITHUB_OUTPUT" + else + echo "configured=false" >> "$GITHUB_OUTPUT" + echo "TURBO_S3_BUCKET and TURBO_S3_REGION are not both set — skipping the real-S3 job." \ + >> "$GITHUB_STEP_SUMMARY" + fi + + # Job 4: the same double build against a real S3-compatible service, so the + # signing path is proven against something other than MinIO. Forks and any + # repository without the org secrets skip it rather than failing. + real-s3-double-build: + name: S3 backend double build (real S3) + needs: real-s3-configured + if: needs.real-s3-configured.outputs.configured == 'true' + runs-on: ubuntu-latest + defaults: + run: + working-directory: __fixtures__/turbo-monorepo + steps: + - uses: actions/checkout@v7 + - uses: ./.github/actions/local + id: setup + with: + turbo-cache: auto + install-deps: "false" + # Namespaced per run so a rerun cannot be satisfied by the previous + # run's artifacts — the assertion is that *this* job's first build + # populated the bucket its second build read. + turbo-cache-prefix: ci/${{ github.run_id }}-${{ github.run_attempt }}/ + turbo-s3-bucket: ${{ secrets.TURBO_S3_BUCKET }} + turbo-s3-region: ${{ secrets.TURBO_S3_REGION }} + turbo-s3-endpoint: ${{ secrets.TURBO_S3_ENDPOINT }} + turbo-s3-access-key-id: ${{ secrets.TURBO_S3_ACCESS_KEY_ID }} + turbo-s3-secret-access-key: ${{ secrets.TURBO_S3_SECRET_ACCESS_KEY }} + - name: Assert the reported backend and port + env: + BACKEND: ${{ steps.setup.outputs.turbo-cache-backend }} + PORT: ${{ steps.setup.outputs.turbo-cache-port }} + run: | + [ "$BACKEND" = "s3" ] || { echo "Expected backend 's3', got '$BACKEND'"; exit 1; } + [ "$PORT" = "41230" ] || { echo "Expected port '41230', got '$PORT'"; exit 1; } + - name: Install fixture dependencies + run: pnpm install --frozen-lockfile + - name: First build (populates the bucket) + run: pnpm exec turbo run build --remote-only + - name: Clear local turbo state + run: rm -rf .turbo node_modules/.cache/turbo **/.turbo + - name: Second build (must be a real-S3 cache hit) + run: | + OUT=$(pnpm exec turbo run build --remote-only) + echo "$OUT" + echo "$OUT" | grep -E ">>> FULL TURBO|cache hit" || { echo "Expected a real-S3 cache hit"; exit 1; } diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 130b411d..a0b168fa 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -44,6 +44,7 @@ jobs: - pnpm - yarn - multi + - bun include: - pm: npm fixture: node-npm @@ -103,6 +104,20 @@ jobs: expected-turbo-enabled: "false" test-command: node --version && bun --version && deno --version && pnpm --version title: 📦 Multi-Runtime (Create Cache) + - pm: bun + fixture: bun-bun + install-deps: "true" + expected-cache-hit: "false" + expected-node-enabled: "false" + expected-bun-enabled: "true" + expected-bun-version: 1.3.3 + expected-deno-enabled: "false" + expected-package-manager: bun + expected-package-manager-version: 1.3.3 + expected-biome-enabled: "false" + expected-turbo-enabled: "false" + test-command: bun --version + title: 📦 Bun (Create Cache) steps: - name: Checkout uses: actions/checkout@v7 @@ -172,6 +187,7 @@ jobs: - pnpm - yarn - multi + - bun include: - pm: npm fixture: node-npm @@ -229,6 +245,20 @@ jobs: expected-turbo-enabled: "false" test-command: node --version && bun --version && deno --version && pnpm --version title: 📦 Multi-Runtime (Restore Cache) + - pm: bun + fixture: bun-bun + install-deps: "true" + expected-cache-hit: "true" + expected-node-enabled: "false" + expected-bun-enabled: "true" + expected-bun-version: 1.3.3 + expected-deno-enabled: "false" + expected-package-manager: bun + expected-package-manager-version: 1.3.3 + expected-biome-enabled: "false" + expected-turbo-enabled: "false" + test-command: bun --version + title: 📦 Bun (Restore Cache) steps: - name: Checkout uses: actions/checkout@v7 @@ -306,7 +336,7 @@ jobs: expected-biome-enabled: "true" expected-biome-version: 2.4.9 expected-turbo-enabled: "false" - test-command: node --version && npm --version + test-command: node --version && npm --version && biome --version title: 🔧 Biome Auto-Detect - fixture: turbo-enabled biome-version: 2.3.14 @@ -320,7 +350,7 @@ jobs: expected-biome-enabled: "true" expected-biome-version: 2.3.14 expected-turbo-enabled: "true" - test-command: node --version && pnpm --version + test-command: node --version && pnpm --version && biome --version title: 🔧 Turbo + Biome Install steps: - name: Checkout diff --git a/.gitignore b/.gitignore index 14c4fdc1..040ff805 100644 --- a/.gitignore +++ b/.gitignore @@ -40,3 +40,6 @@ CLAUDE.local.md .claude/plugins-debug.log # Superpowers working docs (specs, plans) — kept local, not tracked docs/superpowers/ + +# dogfood mailbox (local-only cross-repo collaboration state) +.claude/dogfood/ diff --git a/.gitmodules b/.gitmodules index 9e5af874..c48348eb 100644 --- a/.gitmodules +++ b/.gitmodules @@ -1,4 +1,4 @@ -[submodule ".repos/effect-smol"] - path = .repos/effect-smol - url = https://github.com/Effect-TS/effect-smol.git +[submodule ".repos/effect"] + path = .repos/effect + url = https://github.com/Effect-TS/effect.git shallow = true diff --git a/.repos/config.json b/.repos/config.json index de2053d8..8003714f 100644 --- a/.repos/config.json +++ b/.repos/config.json @@ -1,9 +1,9 @@ { "repos": { - "effect-smol": { - "url": "https://github.com/Effect-TS/effect-smol.git", - "ref": "effect@4.0.0-beta.98", - "purpose": "Read-only Effect v4 source pinned to the tag matching the effect catalog — the authority on what v4 actually exports, plus the v3→v4 migration notes and the @effect/vitest reference implementation.", + "effect": { + "url": "https://github.com/Effect-TS/effect.git", + "ref": "effect@4.0.0-beta.101", + "purpose": "Read-only Effect v4 source pinned to the tag matching the effect catalog — the authority on what v4 actually exports, plus the v3→v4 migration notes and the @effect/vitest reference implementation. Vendored from the main Effect-TS/effect monorepo, where v4 development resumed after the effect-smol repo was archived.", "sparse": [ "packages/effect", "packages/vitest", @@ -13,7 +13,7 @@ "MIGRATION.md" ], "orientation": { - "layout": "Sparse checkout: packages/effect (core source + package.json exports map), packages/vitest (@effect/vitest reference implementation), migration/ (per-domain v3→v4 notes), ai-docs/, LLMS.md, MIGRATION.md.", + "layout": "Sparse checkout: packages/effect (core source + package.json exports map), packages/vitest (@effect/vitest reference implementation), migration/ (per-domain v3→v4 notes), ai-docs/, LLMS.md, MIGRATION.md. Services/tags live in Context.ts — there is no ServiceMap.ts (agents coming from other Effect lines reliably look for the wrong filename); re-verified at beta.101. Key consumer-side fact settled there: Context.Key<Id, Shape> extends Effect<Shape, never, Id> (Context.ts:65) — v4 tags/Service classes are still first-class Effects, flatMap-able without .asEffect().", "keyPaths": { "effect-source": "packages/effect/src", "unstable-modules": "packages/effect/src/unstable", @@ -22,14 +22,7 @@ }, "startHere": "packages/effect/src settles what v4 actually exports (evidence-ladder rung 2); migration/*.md settles v3→v4 renames (rung 1). Before trusting an answer, check the pin matches the installed effect version — node_modules wins on disagreement." }, - "notes": [ - { - "id": "n-013b", - "date": "2026-07-16", - "ref": "effect@4.0.0-beta.98", - "note": "Services/tags live in Context.ts (there is no ServiceMap.ts at beta.98). Key consumer-side fact settled there: Context.Key<Id, Shape> extends Effect<Shape, never, Id> (Context.ts:65) — v4 tags/Service classes are still first-class Effects, flatMap-able without .asEffect()." - } - ] + "notes": [] } } } diff --git a/.repos/effect b/.repos/effect new file mode 160000 index 00000000..4e0be584 --- /dev/null +++ b/.repos/effect @@ -0,0 +1 @@ +Subproject commit 4e0be584fbde272d201b4ad24eaa9b0c8e56f25e diff --git a/.repos/effect-smol b/.repos/effect-smol deleted file mode 160000 index 3e4abbcb..00000000 --- a/.repos/effect-smol +++ /dev/null @@ -1 +0,0 @@ -Subproject commit 3e4abbcb0d0e9a5e82b6b88c7ef7ab69900105ec diff --git a/CLAUDE.md b/CLAUDE.md index 1af28970..c96e1c3d 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -1,559 +1,294 @@ # CLAUDE.md -This file provides guidance to Claude Code (claude.ai/code) when working with code in this repository. +Guidance for Claude Code when working in this repository. ## Repository Overview -This repository provides a **comprehensive JavaScript runtime setup GitHub Action** that supports Node.js, Bun, and Deno with a single, intelligent action that handles everything automatically. +A **JavaScript runtime setup GitHub Action**, entirely driven by `package.json`: -**Primary purpose:** Simplify JavaScript/TypeScript CI/CD workflows with a standardized, package.json-driven runtime configuration that ensures reproducible builds. - -**Key Features:** - -* **Multi-Runtime Support** - Node.js, Bun, and Deno runtimes configured via `devEngines.runtime` -* **Complete Runtime Setup** - Downloads and installs runtimes directly from official sources -* **Package.json-Driven Configuration** - All runtime and package manager config from package.json -* **Absolute Version Enforcement** - Requires exact versions (no semver ranges) for reproducible builds -* **Package Manager Versioning** - Installs exact package manager versions via corepack -* **Intelligent Caching** - Dependency caching with lock file detection for all package managers -* **Optional Biome** - Auto-detects and installs Biome from config files -* **Turbo Detection** - Detects Turborepo configuration -* **Lockfile Intelligence** - Gracefully handles projects with or without lock files +* **Multi-runtime** — `node`, `bun`, `deno`, downloaded from official sources into the tool cache +* **Absolute versions only** — semver ranges are rejected, so builds are reproducible +* **Package manager** — provisioned by `PackageManagerInstaller` (corepack was removed; + `bun`/`deno` are no-ops, being their own package managers) +* **Dependency caching** — key derived from detected lockfiles, Biome version, turbo presence +* **Optional Biome** — auto-detected from `biome.jsonc` / `biome.json` `$schema` +* **Turbo** — detection plus an embedded remote cache server (Actions cache or S3), or + passthrough to Vercel ## Requirements -Repositories using this action **MUST** have a `package.json` in their root directory with a `devEngines` field containing: - -1. **`devEngines.packageManager` field** - Specifies the package manager and exact version - * Must be an object with `name` and `version` properties (and optionally `onFail`) - * Supported package managers: `npm`, `pnpm`, `yarn`, `bun` - * Version MUST be absolute (e.g., "10.20.0"), NOT semver ranges - * `onFail` is optional (parsed and stored but not currently acted upon by this action) - * This follows the [Corepack devEngines format](https://github.com/nodejs/corepack) +Consuming repositories **MUST** have a root `package.json` with: -2. **`devEngines.runtime` field** - Specifies runtime(s) and exact versions - * Can be a single runtime object or an array of runtimes - * Each runtime MUST have `name` (node|bun|deno) and `version` (absolute version) properties (and optionally `onFail`) - * Versions MUST be absolute (e.g., "24.11.0"), NOT semver ranges (e.g., "^24.0.0") - * `onFail` is optional (parsed and stored but not currently acted upon by this action) - * See [pnpm devEngines.runtime](https://pnpm.io/package_json#devenginesruntime) for format details - -**Example package.json:** - -```json -{ - "name": "my-project", - "devEngines": { - "packageManager": { - "name": "pnpm", - "version": "10.20.0", - "onFail": "error" - }, - "runtime": { - "name": "node", - "version": "24.11.0", - "onFail": "error" - } - } -} -``` +1. **`devEngines.packageManager`** — `name` (`npm`|`pnpm`|`yarn`|`bun`|`deno`) + absolute + `version` ([Corepack devEngines format](https://github.com/nodejs/corepack)). +2. **`devEngines.runtime`** — one object or a non-empty array, each with `name` + (`node`|`bun`|`deno`) + absolute `version` + ([pnpm format](https://pnpm.io/package_json#devenginesruntime)). -**Multi-runtime example:** +`onFail` is optional on both (parsed, not acted upon). Versions must be exact +(`"24.11.0"`), never ranges. A top-level corepack `packageManager` pin is ignored — +`devEngines` is the only source of truth. ```json { "name": "my-project", "devEngines": { - "packageManager": { - "name": "bun", - "version": "1.3.3", - "onFail": "error" - }, + "packageManager": { "name": "pnpm", "version": "10.20.0", "onFail": "error" }, "runtime": [ - { - "name": "node", - "version": "24.11.0", - "onFail": "error" - }, - { - "name": "bun", - "version": "1.3.3", - "onFail": "error" - } + { "name": "node", "version": "24.11.0", "onFail": "error" }, + { "name": "bun", "version": "1.3.3", "onFail": "error" } ] } } ``` -**Technical stack:** +## Technical Stack + +* **Framework:** [Effect](https://effect.website) **v4** (`effect@4.0.0-beta.101` via + `catalog:effect`, supplied by the `@effected/pnpm-plugin-effect` config dependency). In v4 + `@effect/platform` is dissolved into core `effect` (`FileSystem`, `Path`, `HttpClient` + live there); only Node platform layers ship separately, in `@effect/platform-node`. + Services are class-based `Context.Service` with exported `*Shape` companion types. +* **Action services:** `@effected/github-actions` (`^0.3.0`) — zero `@actions/*` deps. + Imported: `Action`, `ActionCache`, `ActionEnvironment`, `ActionInput`, `ActionLogger`, + `ActionOutputs` (incl. `layerDetached`), `ActionState`, `BlobStore` / + `GitHubCacheBlobStore`, `CacheKey`, `DetachedProcess`, `GitHubMarkdown`, + `PackageManagerInstaller`, `ProcessId`, `Secret`, `ToolInstaller`. +* **Other first-party imports:** `@effected/npm` (`PackageManagerPin`), `@effected/semver` + (`SemVer.ExactVersionString`, backs `AbsoluteVersion`), `@effected/jsonc` (`Jsonc.parse`). + Remaining `@effected/*` entries (`commands`, `git`, `github`, `glob`, `lockfiles`, + `markdown`, `package-json`, `runtimes`, `sbom`, `workspaces`, `yaml`) are declared but not + imported by `src/` — `devEngines` is decoded locally in `steps/load-config.ts`. Every + range is a published caret; no overrides, links or patches. +* **Build:** `@savvy-web/github-action-builder` (rsbuild) via `action.config.ts`. +* **Cross-phase state:** `src/state.ts` — `CacheState`, `TurboServerState` (`Schema.Class`), + `STATE_KEYS`; `main` writes, `post` reads. +* **Action type:** compiled Node action (`node24`, see `action.yml`); pnpm and Node pinned + exactly in `package.json`. +* **Tooling:** Biome extending `@savvy-web/silk`; Vitest + `@effect/vitest` + + `@vitest-agent/plugin` (unit tests in `__test__/`, plus fixture workflow tests); + `@typescript/native-preview` for typechecking. + +The `claude` script in `package.json` points at a machine-local sibling checkout +(`../../spencerbeggs/effected/plugin`) — a local dev convenience only; nothing in build, +test or CI depends on it. -* **Runtime framework:** [Effect](https://effect.website) **v4** (`effect@4.0.0-beta.98` via `catalog:effect`) for typed errors, dependency injection, and service composition. In v4 the former `@effect/platform` is dissolved into core `effect` (`FileSystem`, `Path`, `HttpClient` live in `effect`); only Node platform layers ship separately in `@effect/platform-node`. Services are class-based `Context.Service` (not `Context.Tag`) with exported `*Shape` companion types. -* **GitHub Action services:** `@savvy-web/github-action-effects` (range declared in `package.json`) — zero `@actions/*` dependencies, ships `Step.*` for step-buffered logging, `GithubMarkdown.*` for summary helpers, `ActionInput.{boolean,multiline}` for typed input parsing, `BlobStore` (GitHub Actions cache / S3 SigV4 backends) backing the embedded turbo remote cache, and `<Service>Test` test layers (via `@savvy-web/github-action-effects/testing`). -* **Build tool:** `@savvy-web/github-action-builder` (rsbuild-based, range declared in `package.json`) configured via `action.config.ts`; `entries.workers` bundles the detached `src/turbo-server.ts` as a third entry. -* **Cross-phase state:** `src/state.ts` defines `CacheState` and `TurboServerState` (Schema.Class) plus `STATE_KEYS`; `main` writes, `post` reads. -* **Platform I/O:** `FileSystem` from core `effect`; Node platform layers from `@effect/platform-node` (`NodeFileSystem.layer`, `NodeHttpClient.layerUndici`) -* **JSONC parsing:** `@effected/jsonc` (`Jsonc`) -* **Action type:** Compiled Node.js action (uses `node24` runtime, see `action.yml`) -* **Package manager:** pnpm — exact version pinned in `package.json` (`packageManager` and `devEngines.packageManager`) -* **Node.js version:** exact version pinned in `package.json` `devEngines.runtime` -* **Linting:** Biome with strict rules (version pinned via `biome.jsonc` `$schema` and the `@savvy-web/silk` preset) -* **Testing:** Vitest with Effect test layers + fixture-based workflow tests -* **Type checking:** TypeScript with native preview build (`@typescript/native-preview`) -* **Direct dependencies:** Zero `@actions/*` packages -- all GitHub Actions integration is provided by `github-action-effects` -* **No pnpm overrides or patches** -- clean dependency resolution - -## Quick Start - -### Using the Action - -Ensure your project has a valid `package.json` with `devEngines.packageManager` and `devEngines.runtime` fields: - -```json -{ - "name": "my-project", - "devEngines": { - "packageManager": { - "name": "pnpm", - "version": "10.20.0", - "onFail": "error" - }, - "runtime": { - "name": "node", - "version": "24.11.0", - "onFail": "error" - } - } -} -``` - -Then use the action in your workflow: - -```yaml -steps: - - uses: actions/checkout@v7 - - uses: savvy-web/silk-runtime-action@v1 - # That's it! Reads everything from package.json - - run: pnpm test -``` - -### Development Workflow +## Common Commands ```bash -# Install dependencies pnpm install - -# Run type checking -pnpm typecheck - -# Run tests -pnpm test - -# Run linting -pnpm lint:fix - -# Build the action (REQUIRED before commit!) -pnpm build - -# Commit both source and dist (including .github/actions/local/) -git add src/ dist/ .github/actions/local/ -git commit -m "feat: add new feature" +pnpm typecheck # tsc --noEmit, via turbo +pnpm test # Vitest (test:watch, test:coverage) +pnpm lint / lint:fix # Biome (lint:md for markdown) +pnpm build # REQUIRED before commit +pnpm changeset ``` +Always commit source **and** compiled output together +(`git add src/ dist/ .github/actions/local/`). Commits must be GPG-signed with the +GitHub-verified key for `C. Spencer Beggs <spencer@savvyweb.systems>` or the signature +ruleset rejects them. + ## Dogfooding First-Party Dependencies -We author every dependency in the table below, so a bug or missing API in one can be fixed **in its own repo** and dogfooded through this action before publishing. The action is a **bundled** artifact — `pnpm build` inlines every dependency into `dist/{main,post,turbo-server}.js` — so once a local library build is linked and this repo is rebuilt, the change is baked into the committed `dist`. The integration runs the committed `dist`, **not** `node_modules`. +Every dependency below is authored in-house, so a bug or missing API can be fixed **in its +own repo** and dogfooded here before publishing. The action is **bundled** — `pnpm build` +inlines everything into `dist/{main,post,turbo-server}.js`, and the integration runs the +committed `dist`, **not** `node_modules`. | Package | Repo | Local checkout | | --- | --- | --- | -| `@savvy-web/github-action-effects` | `savvy-web/systems` | `../systems/packages/github-action-effects` | +| `@effected/*` | `spencerbeggs/effected` | `../../spencerbeggs/effected/packages/<name>` | | `@savvy-web/github-action-builder` | `savvy-web/systems` | `../systems/packages/github-action-builder` | -Both packages live inside the `systems` monorepo. Both are direct-only dependencies with no transitive duplication path, so `pnpm link ../<path>` is the linking mechanism for either. The `pnpm-workspace.yaml` `overrides` mechanism is not needed here unless a future first-party transitive dependency is introduced. +**Current state: nothing is linked.** `pnpm-workspace.yaml` carries no `overrides:` entry +and every range is a published caret. The rebuild's dogfood loop closed **2026-08-03** with +the effected release wave — `github-actions@0.3.0`, `npm@0.7.0`, `package-json@0.7.0`, +`semver@0.3.0`. -**Effect v4 API authority:** `.repos/effect-smol` is a vendored, read-only git submodule pinned to `effect@4.0.0-beta.98` — consult it as the source of truth for Effect v4 APIs (the surface diverges from v3 docs on the website). Managed via `savvy repos` / the `silk:repos` skill; do not edit it. +Cross-repo iteration runs through the **dogfood mailbox protocol** (`.claude/dogfood/`, the +`silk:dogfood` skill): a request goes upstream, the upstream session builds and hands back, +this repo adopts. Links are added lazily, for one round, and removed before push. -**Procedure:** +**Procedure:** build the library in its own repo +(`cd packages/<name> && node savvy.build.ts --target dev`); link it — `pnpm link +../systems/packages/github-action-builder` for the builder, the `silk:dogfood` protocol for +anything `@effected/*`; iterate (edit → rebuild there → `pnpm typecheck` + `pnpm test` + +`pnpm build` here); keep the declared range correct for the eventual unlinked install. +Library edits ship separately on their own branch. **Never push while linked** — unlink, pin +the published range, `pnpm install`, then push. -1. **Build the library:** in the `systems` repo, `cd packages/<name>` and run `node savvy.build.ts --target dev` (produces the `dist/dev` link target). -2. **Link it:** `pnpm link ../systems/packages/github-action-effects` here, then `pnpm install`. -3. **Keep the declared range correct** in this repo's `package.json` for the eventual unlinked install. -4. **Iterate:** edit library source → `node savvy.build.ts --target dev` there → `pnpm typecheck` + `pnpm test` here → `pnpm build` here → commit (`src` + `dist` + changeset) → push `dev`. -5. **Library edits ship separately:** they land on the library's own branch and release with its next published version. -6. **Final step, only AFTER the dogfooded version publishes:** remove the link, pin the published range, `pnpm install`. - -Commits must be GPG-signed with the GitHub-verified key for `C. Spencer Beggs <spencer@savvyweb.systems>` or the signature ruleset rejects them. +**Effect v4 API authority:** `.repos/effect` is a vendored, read-only submodule pinned to +`effect@4.0.0-beta.101` — the source of truth for v4 APIs, whose surface diverges from the +v3 docs on the website. Managed via `savvy repos` / `silk:repos`; do not edit. ### Turbo file caching: `**/.turbo/cache` only -The embedded remote cache server (or Vercel passthrough) is the primary cache — -Turborepo writes artifacts to the remote cache API. As a complementary fast -local-restore layer, only `**/.turbo/cache` (Turbo's local artifact cache) is -added to the GitHub Actions file cache. `**/.turbo/runs` (run summaries), -`.turbo/cookies`, and `.turbo/daemon` are deliberately excluded — a restored -stale run summary would break "latest run = current run" detection by tooling -that parses `turbo --summarize` output. This selection lives in -`turboLocalCachePaths` in `src/program.ts`. +The remote cache server (or Vercel passthrough) is the primary cache. As a complementary +local-restore layer, only `**/.turbo/cache` goes into the Actions file cache. +`**/.turbo/runs`, `.turbo/cookies` and `.turbo/daemon` are deliberately excluded — a +restored stale run summary breaks "latest run = current run" detection in tooling that +parses `turbo --summarize`. See `TURBO_LOCAL_CACHE_PATHS` in `src/steps/cache-config.ts`. ### Known limitation: `ACTIONS_RUNTIME_TOKEN` lifetime -The embedded GitHub Actions cache backend captures `ACTIONS_RUNTIME_TOKEN` at -server spawn time. This token is a short-lived JWT issued by the GitHub Actions -backend. On very long-running jobs, late cache-write requests from Turborepo may -receive a `401 Unauthorized` response if the token has expired before the job -finishes. The S3 backend is unaffected because it uses its own long-lived -credentials rather than the GitHub runtime token. +The embedded GitHub backend captures `ACTIONS_RUNTIME_TOKEN` at server spawn time. That +token is a short-lived JWT, so on very long jobs late cache writes may get `401 +Unauthorized`. The S3 backend is unaffected — it uses its own credentials. ## Development & Release Cycle -### The `dev` branch convention - -All in-progress feature work lands on a long-lived **`dev`** branch, never directly on `main`. `main` always reflects the last released state. - -The shared release workflow at `savvy-web/.github/.github/workflows/release.yml` has a matching **`dev` branch**. This repo's own `release.yml` pins `@dev` so it exercises in-progress workflow changes before they reach `main`. - -### Flow: `dev` → `main` → release - -1. Feature work accumulates on `dev`; merge it into `main` when ready. -2. The push to `main` triggers **Phase 1** — changeset detection creates/updates `changeset-release/main` and the release PR. -3. Pushes to the release branch trigger **Phase 2** validation (build, publish dry-runs, release-notes preview, sticky comment). -4. Merging the release PR triggers **Phase 3** — publishing, Git tags, and a published GitHub release. -5. The published release fires `release-sync.yml`, which closes the loop by resetting `dev` back to `main`. - -### `release-sync.yml` — post-release housekeeping +All in-progress work lands on the long-lived **`dev`** branch, never directly on `main`; +`main` always reflects the last released state. `release.yml` pins the shared workflow +(`savvy-web/.github`) at `@dev` so it exercises workflow changes early. -Triggered by `release: [published]` (and `workflow_dispatch` with a `tag` input + `dry-run` for rehearsal). Runs as the GitHub App bot so its pushes can bypass protection and won't recurse (no workflow triggers on tag/`dev` pushes). On a **stable SemVer 2.0.0 release `>= 1.0.0`** (bare `MAJOR.MINOR.PATCH` — no leading `v`, no `-prerelease`, no `+build`) it: +**Flow: `dev` → `main` → release** -1. Moves (or creates) the **`v<major>`** alias tag (e.g. `v1`) at the released commit. -2. **Hard-resets `dev` to `main` HEAD** — a genuine clobber, so any `dev` commit not yet in `main` is discarded. This is safe by design: `dev` work always lands in `main` before a release. +1. Work accumulates on `dev`; merge into `main` when ready. +2. The push to `main` triggers **Phase 1** — changeset detection creates/updates + `changeset-release/main` and the release PR. +3. Pushes to that branch trigger **Phase 2** validation (build, publish dry-runs, + release-notes preview, sticky comment). +4. Merging the release PR triggers **Phase 3** — publish, Git tags, GitHub release. +5. The published release fires `release-sync.yml`. -Each push is guarded: if the remote `v<major>` tag or `dev` already points at its target commit, that push is skipped. Sub-`1.0.0`, prerelease, build-metadata, and non-SemVer tags are ignored (no-op). +**`release-sync.yml`** — on `release: [published]` (plus `workflow_dispatch` with `tag` + +`dry-run`), as the GitHub App bot so its pushes bypass protection without recursing. On a +**stable SemVer release `>= 1.0.0`** (bare `MAJOR.MINOR.PATCH`) it moves the **`v<major>`** +alias tag to the released commit and **hard-resets `dev` to `main` HEAD** — a genuine +clobber, safe because `dev` work always lands in `main` first. Pushes are skipped when the +remote already matches; prerelease, build-metadata and sub-`1.0.0` tags no-op. ## Documentation Structure -This repository uses modular documentation organized by directory: - -* **[src/CLAUDE.md](src/CLAUDE.md)** - Source code architecture, build process, and development guidelines (unit tests are co-located with their source modules under `src/`) -* **[**fixtures**/CLAUDE.md](__fixtures__/CLAUDE.md)** - Test fixtures for integration testing -* **[.github/workflows/CLAUDE.md](.github/workflows/CLAUDE.md)** - Workflow testing patterns and reusable actions +* **[src/CLAUDE.md](src/CLAUDE.md)** — source layout, step-contract conventions +* **[**fixtures**/CLAUDE.md](__fixtures__/CLAUDE.md)** — integration test fixtures +* **[.github/workflows/CLAUDE.md](.github/workflows/CLAUDE.md)** — workflow test patterns ### Design Documentation -For deep architectural details, rationale, and design decisions: - * **Architecture:** `@./.claude/design/silk-runtime-action/architecture.md` - Load when understanding overall system design, entry points, or layer composition. + Load for system design, entry points, or layer composition. * **Effect Service Model:** `@./.claude/design/silk-runtime-action/effect-service-model.md` - Load when working with services, error handling, or dependency injection. + Load for services, error handling, or dependency injection. * **Runtime Installation:** `@./.claude/design/silk-runtime-action/runtime-installation.md` Load when modifying runtime descriptors, PM setup, or Biome installation. * **Caching Strategy:** `@./.claude/design/silk-runtime-action/caching-strategy.md` - Load when working with cache keys, lockfiles, or cross-phase state. + Load for cache keys, lockfiles, or cross-phase state. * **Build and Distribution:** `@./.claude/design/silk-runtime-action/build-and-distribution.md` - Load when modifying build config, dist management, or release process. + Load when modifying build config, dist management, or the release process. * **Turbo Remote Cache:** `@./.claude/design/silk-runtime-action/turbo-remote-cache.md` - Load when working on the embedded turbo cache server, activation/backend selection, the artifact codec/handler, or server lifecycle and teardown. + Load for the embedded cache server, backend selection, the artifact codec/handler, or + server lifecycle and teardown. * **Testing Strategy:** `@./.claude/design/silk-runtime-action/testing-strategy.md` - Load when writing tests, understanding mock patterns, or fixture setup. + Load when writing tests, mock patterns, or fixture setup. ## Project Structure ```text . ├── src/ -│ ├── main.ts # 4-line Action.run(program, { layer: MainLive }) -│ ├── post.ts # post Effect + PostLive + Action.run -│ ├── program.ts # main Effect program -│ ├── turbo-server.ts # detached turbo remote-cache server (third bundle) -│ ├── state.ts # CacheState + TurboServerState Schema.Class + STATE_KEYS -│ ├── layers/ -│ │ └── app.ts # MainLive composition -│ ├── services/ -│ │ ├── runtime-installer.ts + .test.ts -│ │ ├── cache.ts + .test.ts -│ │ ├── config-loader.ts + .test.ts -│ │ ├── summary.ts + .test.ts # job-summary panel + step-line formatters -│ │ └── turbo-cache/ # codec, activation, handler, lifecycle, apply (+ .test.ts) -│ ├── descriptors/ -│ │ ├── node.ts / bun.ts / deno.ts / biome.ts -│ │ └── descriptors.test.ts -│ ├── schemas/ -│ │ └── domain.ts + domain.test.ts -│ └── errors/ -│ └── errors.ts + errors.test.ts -├── dist/ -│ ├── main.js / post.js / turbo-server.js / package.json +│ ├── main.ts # Action.run(program, { layer: MainLive }) +│ ├── post.ts # post Effect + Action.run(…, { layer: PostLive }) +│ ├── program.ts # main pipeline: inputs → steps → outputs +│ ├── turbo-server.ts # detached cache-server entry (third bundle) +│ ├── state.ts # STATE_KEYS + CacheState + TurboServerState +│ ├── layers/app.ts # MainLive / PostLive +│ ├── schema/ # domain.ts, inputs.ts, outputs.ts +│ ├── steps/ # one contract module per pipeline step, in order +│ ├── summary/format.ts # pure log/panel formatters +│ ├── turbo-cache/ # activation, handler, meta, server-config +│ └── descriptors/ # descriptor.ts + node / bun / deno / biome +├── __test__/unit/ # Vitest suites, mirroring src/ (never co-located) ├── __fixtures__/ # workflow integration test fixtures -├── .github/ -│ ├── actions/local/ # mirrored bundled action for local testing -│ └── workflows/ # CI workflows +├── dist/ # main.js / post.js / turbo-server.js / package.json +├── .github/actions/local/ # mirrored bundled action for local testing ├── action.config.ts ├── action.yml └── package.json ``` +Step order: `load-config` → `detect-biome` → `detect-turbo` → `restore-cache` → +`install-runtimes` → `setup-package-manager` → `install-dependencies` → `install-biome` → +`turbo-cache` → `summary`; `cache-config` supplies the key/path derivation. + ## Action Inputs -All inputs are **optional**. If not provided, values are auto-detected from -`package.json` or configuration files. Runtime and package manager versions -are read exclusively from `devEngines` — there are no explicit version inputs. - -### Feature Inputs - -* **`biome-version`** - Biome version override (e.g., `2.3.14`). If not - provided, auto-detects from `biome.jsonc` or `biome.json` `$schema` field. - Leave empty to skip Biome installation. -* **`install-deps`** - Whether to install dependencies (`true` | `false`). - Default: `true`. Set to `false` to skip dependency installation. - -### Turbo Remote Cache Inputs - -* **`turbo-cache`** - Turbo remote cache mode (`auto` | `off`). `auto` starts - an embedded cache server when `turbo.json` is present and no external Vercel - creds are set. Default: `"auto"`. -* **`turbo-cache-prefix`** - Key prefix/namespace for embedded turbo cache - artifacts. Default: `""`. -* **`turbo-token`** - Turbo remote cache token. When provided together with - `turbo-team`, selects passthrough (external Vercel) mode and disables the - embedded server. -* **`turbo-team`** - Turbo team slug. When provided together with `turbo-token`, - selects passthrough (external Vercel) mode and disables the embedded server. -* **`turbo-s3-bucket`** - S3 bucket for the embedded turbo cache backend. - Presence selects the S3 backend. -* **`turbo-s3-region`** - S3 region for the embedded turbo cache backend. -* **`turbo-s3-endpoint`** - Custom S3 endpoint (R2/MinIO/Spaces). Leave empty - for AWS S3. -* **`turbo-s3-access-key-id`** - S3 access key ID for the embedded turbo cache - backend. -* **`turbo-s3-secret-access-key`** - S3 secret access key for the embedded - turbo cache backend. -* **`turbo-s3-session-token`** - Optional S3 session token for temporary - credentials. -* **`turbo-s3-prefix`** - Optional key prefix within the S3 bucket. - -### Cache Inputs - -* **`additional-lockfiles`** - Additional lockfile patterns to include in cache - key generation. Supports glob patterns. Multiline string. -* **`additional-cache-paths`** - Additional paths to cache/restore. Multiline - string with glob patterns. - -### Testing Inputs - -* **`cache-bust`** - Cache busting string appended to cache key. Use a unique - value (e.g., run ID) to force a cache miss. `"false"` disables. **Only use - for testing - do not use in production!** +All inputs are **optional** and auto-detected when omitted. Runtime and package manager +versions come only from `devEngines` — there are no version inputs. + +| Input | Default | Purpose | +| --- | --- | --- | +| `biome-version` | `""` | Override; empty auto-detects from the `$schema`, or skips | +| `install-deps` | `"true"` | Install dependencies | +| `turbo-cache` | `"auto"` | `auto` \| `off`. `auto` starts the embedded server when `turbo.json` exists and no Vercel creds are set | +| `turbo-cache-prefix` | `""` | Key namespace for embedded cache artifacts | +| `turbo-token` / `turbo-team` | `""` | Both together select Vercel passthrough and disable the embedded server | +| `turbo-s3-bucket` | `""` | Presence selects the S3 backend | +| `turbo-s3-region` | `""` | S3 region | +| `turbo-s3-endpoint` | `""` | Custom endpoint (R2/MinIO/Spaces); empty means AWS | +| `turbo-s3-access-key-id` / `-secret-access-key` | `""` | S3 credentials | +| `turbo-s3-session-token` | `""` | For temporary credentials | +| `turbo-s3-prefix` | `""` | Key prefix within the bucket | +| `additional-lockfiles` | `""` | Extra lockfile globs for the cache key; newline-separated | +| `additional-cache-paths` | `""` | Extra paths to cache/restore; newline-separated | +| `cache-bust` | `"false"` | Appended to the cache key, to force a miss. **Testing only** | ## Action Outputs -### Runtime Outputs - -* **`node-version`** - Installed Node.js version (e.g., `"24.10.0"`) or empty - if not installed -* **`node-enabled`** - Whether Node.js was installed (`"true"` | `"false"`) -* **`bun-version`** - Installed Bun version (e.g., `"1.3.3"`) or empty if not - installed -* **`bun-enabled`** - Whether Bun was installed (`"true"` | `"false"`) -* **`deno-version`** - Installed Deno version (e.g., `"2.5.6"`) or empty if - not installed -* **`deno-enabled`** - Whether Deno was installed (`"true"` | `"false"`) - -### Package Manager Outputs - -* **`package-manager`** - Package manager name (`npm` | `pnpm` | `yarn` | - `bun` | `deno`) -* **`package-manager-version`** - Package manager version (e.g., `"10.20.0"`) - -### Feature Outputs - -* **`biome-version`** - Installed Biome version (e.g., `"2.3.14"`) or empty if - not installed -* **`biome-enabled`** - Whether Biome was installed (`"true"` | `"false"`) -* **`turbo-enabled`** - Whether Turbo configuration was detected (`"true"` | - `"false"`) -* **`turbo-cache-backend`** - Active turbo cache backend (`"github"` | `"s3"` | - `"remote"` | `"none"`). `"github"` = embedded GitHub Actions cache backend; - `"s3"` = embedded S3 backend; `"remote"` = passthrough to external Vercel; - `"none"` = turbo cache disabled or turbo not detected. -* **`turbo-cache-port`** - Local port the embedded turbo cache server bound to. - Empty when the embedded server was not started. - -### Cache Outputs - -* **`cache-hit`** - Whether dependencies were restored from cache (`"true"` | - `"partial"` | `"false"`) -* **`lockfiles`** - Comma-separated list of detected lockfiles used for cache - key generation (e.g., `"pnpm-lock.yaml,deno.lock"`) -* **`cache-paths`** - Comma-separated list of cache paths being - cached/restored (e.g., `"/home/runner/.cache/deno,**/node_modules"`) +| Output | Value | +| --- | --- | +| `node-version` / `bun-version` / `deno-version` | Installed version, or empty | +| `node-enabled` / `bun-enabled` / `deno-enabled` | `"true"` \| `"false"` | +| `package-manager` / `package-manager-version` | e.g. `pnpm` / `"10.20.0"` | +| `biome-version` / `biome-enabled` | Installed version (empty if not) / `"true"` \| `"false"` | +| `turbo-enabled` | Whether `turbo.json` was detected | +| `turbo-cache-backend` | `"github"` (embedded Actions cache) \| `"s3"` (embedded S3) \| `"remote"` (Vercel passthrough) \| `"none"` | +| `turbo-cache-port` | Port the embedded server bound to; empty when not started | +| `cache-hit` | `"true"` \| `"partial"` \| `"false"` | +| `lockfiles` / `cache-paths` | Comma-separated, as used for the key / restore | + +`biome-enabled` reflects a **successful install**, not detection — a Biome that could not be +fetched degrades to a warning and reports disabled. ## Code Quality Standards -### Biome Configuration +`biome.jsonc` extends `@savvy-web/silk/biome`. **The preset is authoritative** — where this +list and the preset disagree, the preset wins. -* **Indentation:** Tabs, width 2 -* **Line width:** 120 characters -* **Import organization:** Lexicographic order -* **Import extensions:** Forced `.js` extensions (even for TypeScript files) -* **Import types:** Separated type imports -* **Node.js imports:** Must use `node:` protocol -* **Type definitions:** Prefer `type` over `interface` -* **No unused variables:** Error level - -### TypeScript Configuration - -* **Module system:** ESNext with bundler resolution -* **Target:** ES2022 -* **Strict mode:** Enabled -* **Import extensions:** Required (`.js` for all imports) - -## Common Commands - -```bash -# Linting -pnpm lint # Check with Biome -pnpm lint:fix # Auto-fix Biome issues -pnpm lint:md # Lint markdown -pnpm lint:md:fix # Fix markdown - -# Type Checking -pnpm typecheck # Run TypeScript compiler - -# Testing -pnpm test # Run unit tests with coverage -pnpm test --watch # Run tests in watch mode - -# Building -pnpm build # Build action with github-action-builder (see Build Process below) - -# Release -pnpm changeset # Create changeset for release -pnpm ci:version # Prepare for release -``` - -## Release Process - -Uses Changesets for versioning: - -1. **Create changeset:** `pnpm changeset` -2. **Changesets workflow automatically:** - * Creates release PR - * Updates `package.json` version - * Updates `CHANGELOG.md` - * Creates GitHub release with tags -3. **Users reference by tag:** - - ```yaml - - uses: savvy-web/silk-runtime-action@v1 - - uses: savvy-web/silk-runtime-action@v1.2.3 - ``` +* **Indentation:** tabs, width 2; **line width** 120 +* **Imports:** lexicographic order, separated type imports, forced `.js` extensions, + `node:` protocol for builtins +* **Type definitions:** `useConsistentTypeDefinitions` is an **error** and the preset + enforces **`interface`** — prefer `interface` over `type` for object shapes +* **No unused variables:** error +* **TypeScript:** ESNext + bundler resolution, ES2022, strict, `.js` import extensions ## Build Process -The build is configured by [`action.config.ts`](action.config.ts) and invoked via `@savvy-web/github-action-builder` (rsbuild-based; range declared in `package.json`). - -### What Gets Built - -1. **Compile TypeScript to JavaScript** - Bundles three entry points: - * `src/main.ts` → `dist/main.js` (main action logic) - * `src/post.ts` → `dist/post.js` (post-action cache save) - * `src/turbo-server.ts` → `dist/turbo-server.js` (detached turbo remote-cache server, via `entries.workers`) - -2. **Bundle Configuration** (from `action.config.ts`): - * **Minification:** Enabled - -3. **Create Module Markers:** - * Creates `dist/package.json` with `{ "type": "module" }` to mark files as ES modules - -### Local Testing Copy - -The build automatically creates a **local copy** of the action at `.github/actions/local/` for testing workflows. This copy is identical to `dist/` but is used by the `test-fixture` composite action, keeping test artifacts separate from the production build. - -### Build Output Structure - -```text -dist/ # Production build (committed) -├── main.js # Main action bundle -├── post.js # Post-action bundle -├── turbo-server.js # Detached turbo cache server bundle -└── package.json # Module marker - -.github/actions/local/ # Local testing copy (committed) -└── dist/ - ├── main.js - ├── post.js - ├── turbo-server.js - └── package.json -``` - -### Key Points - -1. **Always commit both directories** - Both `dist/` and `.github/actions/local/` must be committed to git -2. **Build before committing** - Run `pnpm build` after any source changes -3. **Clean builds** - The build script cleans both directories before building - -## Common Issues and Solutions - -### dist/ not updated - -**Issue:** Changes don't take effect in CI - -**Solution:** Always run `pnpm build` and commit `dist/` files - -```bash -pnpm build -git add dist/ .github/actions/local/ -git commit -m "build: update compiled output" -``` - -### Import errors - -**Issue:** "Module not found" or import errors - -**Solution:** Always use `.js` extensions and `node:` protocol - -```typescript -// Correct -import { loadPackageJson } from "./services/config-loader.js"; -import { readFile } from "node:fs/promises"; - -// Incorrect -import { loadPackageJson } from "./services/config-loader"; -import { readFile } from "fs/promises"; -``` - -### Missing or invalid package.json - -**Issue:** "package.json not found" or "package.json has invalid or missing devEngines field" - -**Solution:** Ensure your project has a `package.json` with both `devEngines.packageManager` and `devEngines.runtime` fields. - -### Semver range not allowed - -**Issue:** "Must be an absolute version (e.g., '24.11.0'), not a semver range" +Configured by [`action.config.ts`](action.config.ts), run by +`@savvy-web/github-action-builder`. It bundles three entries — `main.ts`, `post.ts`, and +`turbo-server.ts` (via `entries.workers`) — into `dist/*.js`, minified, with unused optional +cyclonedx plugins (`xmlbuilder2`, `libxmljs2`, `ajv-formats-draft2019`) aliased to throwing +stubs; writes `dist/package.json` (`{ "type": "module" }`); and mirrors everything to +`.github/actions/local/` (`persistLocal`), the copy `test-fixture` runs. -**Solution:** Use exact versions in `devEngines`, not semver ranges. Version strings containing `^`, `~`, `>`, `<`, `=`, `*`, `x`, or `X` are rejected by the Effect Schema validator. +Both directories are committed and cleaned before each build. Rebuild after **any** source +change or CI runs stale code. -## Important Notes +## Common Issues -1. **Always commit dist/** - The compiled JavaScript must be committed for GitHub Actions to work -2. **Build before pushing** - Run `pnpm build` after any source changes -3. **Test with fixtures** - Push to test real-world scenarios (see [**fixtures**/CLAUDE.md](__fixtures__/CLAUDE.md)) -4. **Changesets for versioning** - Use changesets for version management -5. **Biome is authoritative** - All formatting decisions defer to Biome -6. **Absolute versions only** - `devEngines.packageManager` and `devEngines.runtime` must use exact versions, not semver ranges -7. **package.json is required** - All projects using this action MUST have a valid package.json with `devEngines.packageManager` and `devEngines.runtime` fields -8. **devEngines-only config** - Runtime and package manager versions come exclusively from `devEngines`; there are no explicit version inputs +| Issue | Fix | +| --- | --- | +| Changes don't take effect in CI | `pnpm build`, commit `dist/` + `.github/actions/local/` | +| "Module not found" on import | Use `.js` extensions and the `node:` protocol | +| "package.json not found" / "invalid devEngines" | Add both `devEngines` fields | +| "Must be an absolute version … not a semver range" | Drop `^ ~ > < = * x X` — the Schema rejects them | ## Contributing -When contributing: - -1. Modify TypeScript source in `src/` (see [src/CLAUDE.md](src/CLAUDE.md)) -2. Add/update co-located unit tests next to the source modules (e.g., `src/services/cache.test.ts`) -3. Add/update fixtures in `__fixtures__/` if needed (see [**fixtures**/CLAUDE.md](__fixtures__/CLAUDE.md)) -4. Update workflows in `.github/workflows/` if needed (see [.github/workflows/CLAUDE.md](.github/workflows/CLAUDE.md)) -5. Run `pnpm build` to compile -6. Commit both source and dist -7. Create changeset with `pnpm changeset` -8. Push and verify all tests pass in GitHub Actions -9. Update documentation if needed +1. Edit source in `src/` (see [src/CLAUDE.md](src/CLAUDE.md)) +2. Add/update unit tests in `__test__/unit/`, mirroring the `src/` path — never co-located +3. Add/update fixtures and workflows if needed +4. `pnpm build`, then commit source + `dist/` + `.github/actions/local/` +5. `pnpm changeset`, push, and verify all tests pass in GitHub Actions diff --git a/LICENSE b/LICENSE new file mode 100644 index 00000000..1c9be02b --- /dev/null +++ b/LICENSE @@ -0,0 +1,21 @@ +MIT License + +Copyright (c) 2026 Savvy Web Strategy, LLC + +Permission is hereby granted, free of charge, to any person obtaining a copy +of this software and associated documentation files (the "Software"), to deal +in the Software without restriction, including without limitation the rights +to use, copy, modify, merge, publish, distribute, sublicense, and/or sell +copies of the Software, and to permit persons to whom the Software is +furnished to do so, subject to the following conditions: + +The above copyright notice and this permission notice shall be included in all +copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR +IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, +FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE +AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER +LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, +OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE +SOFTWARE. diff --git a/README.md b/README.md index 06794350..4dca9438 100644 --- a/README.md +++ b/README.md @@ -1,23 +1,16 @@ # silk-runtime-action [![License: MIT](https://img.shields.io/badge/License-MIT-4caf50.svg)](https://opensource.org/licenses/MIT) +[![Node.js >=24.11.0](https://img.shields.io/badge/Node.js-%3E%3D24.11.0-5fa04e.svg)](https://nodejs.org/) [![GitHub Action](https://img.shields.io/badge/GitHub-Action-blue?logo=github)](https://github.com/savvy-web/silk-runtime-action) -[![Node.js 24+](https://img.shields.io/badge/Node.js-24%2B-green?logo=node.js)](https://nodejs.org) -Automatically detect and set up JavaScript runtime environments in GitHub Actions from your `package.json` `devEngines` configuration. One action for Node.js, Bun, and Deno with intelligent package manager detection and dependency caching. +Set up JavaScript runtimes in GitHub Actions from the `devEngines` field of your `package.json`. One action installs Node.js, Bun and/or Deno, provisions the pinned package manager, restores a dependency cache, and optionally installs Biome and wires up a Turborepo remote cache. -## Why This Action? +## Why this action -Setting up JavaScript environments in CI should be simple. This action: +Every runtime version in CI is a second place to edit when you bump a version. This action reads `devEngines` — the field your local toolchain already reads — so the workflow never names a version at all. Versions must be absolute, so two runs of the same commit install the same bytes. Multiple runtimes install side by side, which is what a repository testing on both Node.js and Deno needs. -- **Detects your environment** from `package.json` `devEngines` configuration -- **Installs exact versions** of runtimes and package managers -- **Caches dependencies** automatically for faster builds -- **Supports multiple runtimes** simultaneously (Node.js + Deno, Node.js + Bun) - -**No configuration needed** -- just add the action and it figures everything out from your `package.json`. - -## Quick Start +## Quick start ```yaml name: CI @@ -34,7 +27,7 @@ jobs: - run: pnpm build ``` -The action reads all configuration from your `package.json` `devEngines` field: +Everything comes from `package.json`: ```json { @@ -53,210 +46,221 @@ The action reads all configuration from your `package.json` `devEngines` field: } ``` -**Requirements:** +Both `devEngines.runtime` and `devEngines.packageManager` are required. `runtime` accepts a single object or a non-empty array. A top-level corepack `packageManager` pin is ignored — `devEngines` is the only source of truth. -- Versions must be **exact** (e.g., `24.10.0`, not `^24.0.0`) -- `onFail` is recommended to be set to `"error"` for strict validation -- Supports single or multiple runtimes +### Version rules -### What Gets Installed +Versions must be **absolute** (`"24.10.0"`), never ranges. Anything containing `^`, `~`, `>`, `<`, `=`, `*`, `x` or `X` is rejected before any install runs. `onFail` is optional on both entries; it is parsed for format compatibility but this action does not act on it — a failed install always fails the step. -1. **Runtime(s)** -- Node.js, Bun, and/or Deno at specified versions -2. **Package Manager** -- pnpm, yarn, npm, bun, or deno at specified version -3. **Dependencies** -- Automatically installs with appropriate lockfile flags -4. **Caching** -- Sets up dependency caching optimized for your package manager +### What gets installed + +1. **Runtimes** — Node.js from `nodejs.org/dist`, Bun and Deno from their GitHub releases, unpacked into the runner tool cache. +2. **Package manager** — npm, pnpm or yarn provisioned at the pinned version and added to `PATH`. Bun and Deno are their own package managers, so naming either is a no-op. +3. **Dependencies** — installed with the reproducible flag when a lockfile is present. +4. **Biome** — installed when `biome.jsonc` or `biome.json` declares a version in its `$schema`, or when `biome-version` is set. +5. **Turbo remote cache** — an embedded cache server, or passthrough to Vercel, when `turbo.json` is detected. ## Inputs -All inputs are optional. Runtime and package manager versions are read exclusively from `devEngines` in `package.json`. +All inputs are optional. Runtime and package manager versions are read exclusively from `devEngines`, so there are no version inputs. | Input | Description | Default | | ----- | ----------- | ------- | -| `biome-version` | Biome version to install (e.g., `2.3.14`). Auto-detects from `biome.jsonc`/`biome.json` `$schema` field if not provided. Leave empty to skip. | `""` | -| `turbo-cache` | Turbo remote cache mode (`auto` \| `off`). `auto` starts an embedded cache server when `turbo.json` is present and no external Vercel creds are set. | `"auto"` | +| `biome-version` | Biome version to install (e.g. `2.3.14`). Auto-detects from the `biome.jsonc`/`biome.json` `$schema` field when empty. | `""` | +| `turbo-cache` | Turbo remote cache mode (`auto` \| `off`). `auto` starts an embedded cache server when `turbo.json` is present and no Vercel credentials are set. | `"auto"` | | `turbo-cache-prefix` | Key prefix/namespace for embedded turbo cache artifacts. | `""` | -| `turbo-token` | Turbo remote cache token. When provided with `turbo-team`, selects passthrough (external Vercel) mode and disables the embedded server. | `""` | -| `turbo-team` | Turbo team slug. When provided with `turbo-token`, selects passthrough (external Vercel) mode and disables the embedded server. | `""` | -| `turbo-s3-bucket` | S3 bucket for the embedded turbo cache backend. Presence selects the S3 backend. | `""` | +| `turbo-token` | Turbo remote cache token. With `turbo-team`, selects Vercel passthrough and disables the embedded server. | `""` | +| `turbo-team` | Turbo team slug. With `turbo-token`, selects Vercel passthrough and disables the embedded server. | `""` | +| `turbo-s3-bucket` | S3 bucket for the embedded turbo cache backend. Its presence selects the S3 backend. | `""` | | `turbo-s3-region` | S3 region for the embedded turbo cache backend. | `""` | | `turbo-s3-endpoint` | Custom S3 endpoint (R2/MinIO/Spaces). Leave empty for AWS S3. | `""` | | `turbo-s3-access-key-id` | S3 access key ID for the embedded turbo cache backend. | `""` | | `turbo-s3-secret-access-key` | S3 secret access key for the embedded turbo cache backend. | `""` | -| `turbo-s3-session-token` | Optional S3 session token for temporary credentials. | `""` | -| `turbo-s3-prefix` | Optional key prefix within the S3 bucket. | `""` | -| `install-deps` | Whether to install dependencies (`true` \| `false`) | `"true"` | -| `cache-bust` | Cache busting for testing -- `true` (auto-generate), `false` (normal), or custom string. **Testing only.** | `"false"` | -| `additional-lockfiles` | Additional lockfile patterns for cache key generation (multiline glob patterns) | `""` | -| `additional-cache-paths` | Additional paths to cache/restore (multiline glob patterns) | `""` | +| `turbo-s3-session-token` | S3 session token, for temporary credentials. | `""` | +| `turbo-s3-prefix` | Key prefix within the S3 bucket. | `""` | +| `install-deps` | Whether to install dependencies (`true` \| `false`). | `"true"` | +| `cache-bust` | String appended to the cache key to force a miss. `false` or empty disables it; any other value busts. **Testing only.** | `"false"` | +| `additional-lockfiles` | Extra lockfile glob patterns to fold into the cache key. One pattern per line. | `""` | +| `additional-cache-paths` | Extra paths to cache and restore. One glob pattern per line. | `""` | ## Outputs | Output | Description | | ------ | ----------- | -| `node-version` | Installed Node.js version or empty | +| `node-version` | The Node.js version that was installed, or empty | | `node-enabled` | Whether Node.js was installed (`true` \| `false`) | -| `bun-version` | Installed Bun version or empty | +| `bun-version` | The Bun version that was installed, or empty | | `bun-enabled` | Whether Bun was installed (`true` \| `false`) | -| `deno-version` | Installed Deno version or empty | +| `deno-version` | The Deno version that was installed, or empty | | `deno-enabled` | Whether Deno was installed (`true` \| `false`) | -| `package-manager` | Package manager name (`npm` \| `pnpm` \| `yarn` \| `bun` \| `deno`) | -| `package-manager-version` | Package manager version | -| `biome-version` | Installed Biome version or empty | +| `package-manager` | The package manager name (`npm` \| `pnpm` \| `yarn` \| `bun` \| `deno`) | +| `package-manager-version` | The package manager version | +| `biome-version` | The Biome version that was installed, or empty | | `biome-enabled` | Whether Biome was installed (`true` \| `false`) | -| `turbo-enabled` | Whether Turbo configuration was detected (`true` \| `false`) | +| `turbo-enabled` | Whether `turbo.json` was detected (`true` \| `false`) | | `turbo-cache-backend` | Active turbo cache backend (`github` \| `s3` \| `remote` \| `none`) | -| `turbo-cache-port` | Local port the embedded turbo cache server bound to (empty when not started) | -| `cache-hit` | Cache status (`true` \| `partial` \| `false`) | -| `lockfiles` | Comma-separated list of detected lockfiles | -| `cache-paths` | Comma-separated list of cached paths | +| `turbo-cache-port` | Local port the embedded turbo cache server bound to, or empty when it did not start | +| `cache-hit` | Dependency cache status (`true` \| `partial` \| `false`) | +| `lockfiles` | Comma-separated list of detected lockfiles used for the cache key | +| `cache-paths` | Comma-separated list of paths that were cached and restored | + +`biome-enabled` reflects a **successful install**, not detection. A Biome that was detected but could not be fetched degrades to a warning and reports `false`. -## Usage Examples +## Usage examples -### Basic Node.js Project +### Basic Node.js project ```yaml -# Automatically detects Node.js version and pnpm from package.json - uses: savvy-web/silk-runtime-action@v1 - run: pnpm test ``` -### Multi-Runtime Project +### Multiple runtimes ```yaml -# Sets up both Node.js and Deno from package.json devEngines - uses: savvy-web/silk-runtime-action@v1 -- name: Test with Node.js - run: npm test +- name: Test on Node.js + run: pnpm test -- name: Test with Deno +- name: Test on Deno run: deno test ``` -### Custom Dependency Installation +Declare them as an array, and the action installs each one and puts it on `PATH`: + +```json +{ + "devEngines": { + "runtime": [ + { "name": "node", "version": "24.10.0", "onFail": "error" }, + { "name": "deno", "version": "2.5.6", "onFail": "error" } + ], + "packageManager": { + "name": "pnpm", + "version": "10.20.0", + "onFail": "error" + } + } +} +``` + +### Installing dependencies yourself ```yaml -# Skip automatic installation - uses: savvy-web/silk-runtime-action@v1 with: install-deps: false -# Install with custom flags - run: pnpm install --no-frozen-lockfile --prefer-offline ``` -### Using Outputs +The runtimes, package manager and dependency cache are still set up — only the install command is skipped. + +### Reading outputs ```yaml -- name: Setup runtime +- name: Set up runtime id: setup uses: savvy-web/silk-runtime-action@v1 -- name: Display environment +- name: Show what was installed run: | echo "Node.js: ${{ steps.setup.outputs.node-version }}" - echo "Package Manager: ${{ steps.setup.outputs.package-manager }} v${{ steps.setup.outputs.package-manager-version }}" - echo "Cache Hit: ${{ steps.setup.outputs.cache-hit }}" + # Node.js: <the devEngines node version, or empty> + echo "Manager: ${{ steps.setup.outputs.package-manager }} ${{ steps.setup.outputs.package-manager-version }}" + # Manager: <name and version from devEngines.packageManager> + echo "Cache: ${{ steps.setup.outputs.cache-hit }}" + # Cache: one of true, partial, false ``` -### With Biome and Turbo +### Turbo remote cache on S3 ```yaml - uses: savvy-web/silk-runtime-action@v1 with: - turbo-token: ${{ secrets.TURBO_TOKEN }} - turbo-team: ${{ secrets.TURBO_TEAM }} -# Biome auto-detected from biome.jsonc $schema field + turbo-s3-bucket: my-turbo-cache + turbo-s3-region: us-east-1 + turbo-s3-access-key-id: ${{ secrets.AWS_ACCESS_KEY_ID }} + turbo-s3-secret-access-key: ${{ secrets.AWS_SECRET_ACCESS_KEY }} ``` -## Supported Package Managers +Point `turbo-s3-endpoint` at Cloudflare R2, MinIO or DigitalOcean Spaces to use an S3-compatible store instead of AWS. -### pnpm +### Turbo passthrough to Vercel + +```yaml +- uses: savvy-web/silk-runtime-action@v1 + with: + turbo-token: ${{ secrets.TURBO_TOKEN }} + turbo-team: ${{ secrets.TURBO_TEAM }} +``` -- Installed via corepack with exact version -- Install command: `pnpm install --frozen-lockfile` (or `pnpm install` without lockfile) +## Package managers -### Yarn +The package manager named in `devEngines.packageManager` is provisioned at exactly that version. If the pin carries an integrity hash — the `pnpm@10.20.0+sha512-…` form — the downloaded artifact is checked against it; a pin without one installs anyway and logs a warning. A manager already on the runner's `PATH` at the right version is reused rather than reinstalled. -- Installed via corepack with exact version -- Supports Yarn Classic (1.x) and Berry (2.x+) -- Install command: `yarn install --immutable` (or `yarn install --no-immutable` without lockfile) +| Manager | How it is provisioned | Install command | +| ------- | --------------------- | --------------- | +| `npm` | Downloaded at the pinned version into the tool cache, then added to `PATH` | `npm ci`, or `npm install` with no lockfile | +| `pnpm` | Downloaded at the pinned version into the tool cache, then added to `PATH` | `pnpm install --frozen-lockfile`, or `pnpm install` with no lockfile | +| `yarn` | Downloaded at the pinned version into the tool cache, then added to `PATH` | `yarn install --immutable`, or `yarn install --no-immutable` with no lockfile | +| `bun` | No-op — the Bun runtime install already put it on `PATH` | `bun install --frozen-lockfile`, or `bun install` with no lockfile | +| `deno` | No-op — the Deno runtime install already put it on `PATH` | None; Deno caches modules on demand, so the install step is skipped | -### npm +Yarn Classic (1.x) and Berry (2.x and later) are both supported. Corepack is not used, and is not required in the consuming repository. -- Installed via corepack with exact version -- Install command: `npm ci` (or `npm install` without lockfile) +## Dependency caching -### bun +Cache restore runs before every install, so a hit is what makes the installs after it cheap. The key is built from the runner platform and architecture, a digest of every installed tool version (runtimes, package manager and Biome), a digest of the branch name, and a digest of the matched lockfiles. Any of those changing produces a new key. -- Downloaded from official releases -- Install command: `bun install --frozen-lockfile` (or `bun install` without - lockfile) +Which lockfiles feed the key depends on which package managers this run actually uses — a repository declaring pnpm but running only a Bun runtime keys on Bun's lockfiles, because pnpm never runs. Files under `node_modules`, `.git` and test-fixture directories are excluded. Add your own patterns with `additional-lockfiles`. -### deno +Two restore keys back up the primary one: the first drops the lockfile digest and matches an earlier cache for the same tool versions on this branch, the second drops the branch as well and reaches across branches. Either reports `partial` on the `cache-hit` output. -- Downloaded from official releases -- Install command: `deno install` (respects `deno.lock` automatically) +Cached paths cover each active manager's global store, the workspace directories it populates (`**/node_modules`, and yarn's PnP directories), and the tool-cache directory of every runtime and Biome version installed. Add more with `additional-cache-paths`. The resolved list is reported on the `cache-paths` output, and the key and matched lockfiles appear in the job summary. -## Dependency Caching +### Turbo build cache -The action automatically caches dependencies based on your package manager and lockfile: +When `turbo.json` is detected, the action resolves one of four strategies, in order: -- **Cache key** includes lockfile hash for invalidation on changes -- **Platform-specific** cache paths for each package manager -- **Restore keys** for partial cache hits -- **Automatic setup** -- no configuration needed +1. `turbo-cache: off`, or no `turbo.json` — nothing starts, and `turbo-cache-backend` reports `none`. +2. `turbo-token` **and** `turbo-team` — Turborepo talks straight to Vercel Remote Cache and the embedded server stays down. Reported as `remote`. +3. `turbo-s3-bucket` — an embedded remote cache server starts, backed by S3 or any S3-compatible store. Reported as `s3`. +4. Otherwise — an embedded remote cache server starts, backed by the GitHub Actions cache. Reported as `github`. -Cache hit status is available in the `cache-hit` output. +Passthrough wins over S3 when both are configured. The S3 rule probes the bucket alone, so credentials without a bucket fall through to the GitHub backend rather than starting a misconfigured S3 one. Supplying only one of `turbo-token`/`turbo-team` logs a warning and falls through to an embedded server. -### Turbo build cache +Alongside whichever remote cache is active, Turbo's local artifact directory (`**/.turbo/cache`) is added to the dependency file cache as a fast local-restore layer. The other `.turbo` subdirectories are deliberately excluded — a restored stale run summary breaks "latest run is the current run" detection in tooling that parses `turbo --summarize`. -When `turbo.json` is detected, the action starts an embedded remote cache server -(GitHub Actions cache or S3 backend) that Turborepo writes to directly; the -`turbo-cache-backend` output reports which backend is active. Turbo's local -artifact cache (`**/.turbo/cache`) is also file-cached as a fast local-restore -layer, while `**/.turbo/runs` and the other `.turbo` subdirectories are excluded. -To use Vercel Remote Cache instead, supply `turbo-token` + `turbo-team` -(passthrough mode). +The embedded server is torn down in the action's post step. On the GitHub backend it captures `ACTIONS_RUNTIME_TOKEN` when it spawns, and that token is a short-lived JWT, so very long jobs can see late cache writes rejected with `401`. The S3 backend uses its own credentials and is unaffected. ## Job summary -The action writes a job-summary panel to the GitHub run, summarizing the runtimes and package manager it set up, whether Biome was installed, the active Turbo cache backend and mode, the dependency-cache hit status and the install outcome, with a collapsed section listing the cache key and lockfiles. Collapsed step lines also report their result inline, so the detected configuration, the Turbo cache backend and the cache hit are visible without expanding each group. Writing the summary is non-fatal — if it fails the action logs a warning and continues. +The action writes a panel to the workflow's job summary listing the runtimes and package manager it set up, whether Biome was installed, the active Turbo cache backend and mode, the dependency cache hit status and the install outcome, with a collapsed section carrying the cache key and the matched lockfiles. Collapsed step groups also report their result inline, so the detected configuration, the Turbo backend and the cache hit are readable without expanding anything. Writing the summary is non-fatal — a failure logs a warning and the run continues. ## Troubleshooting -### Missing devEngines Configuration +### `package.json not found` or `invalid devEngines` -**Error:** `devEngines.runtime or devEngines.packageManager not found` - -**Solution:** Add `devEngines` to your `package.json`: +Both `devEngines.runtime` and `devEngines.packageManager` must be present in the root `package.json`: ```json { "devEngines": { - "runtime": { - "name": "node", - "version": "24.10.0", - "onFail": "error" - }, - "packageManager": { - "name": "pnpm", - "version": "10.20.0", - "onFail": "error" - } + "runtime": { "name": "node", "version": "24.10.0", "onFail": "error" }, + "packageManager": { "name": "pnpm", "version": "10.20.0", "onFail": "error" } } } ``` -### Version Must Be Exact - -**Error:** `Must be an absolute version, not a semver range` +### `Must be an absolute version, not a semver range` -**Solution:** Use exact versions (e.g., `24.10.0`) instead of ranges (e.g., `^24.0.0`). +Replace the range with the exact version you want — `24.10.0` rather than `^24.0.0`. The schema rejects `^`, `~`, `>`, `<`, `=`, `*`, `x` and `X`. -### Dependency Installation Fails +### Dependency installation fails -**Solution:** Skip automatic installation and install manually: +Turn the install off and run it yourself with whatever flags the repository needs: ```yaml - uses: savvy-web/silk-runtime-action@v1 @@ -266,39 +270,13 @@ The action writes a job-summary panel to the GitHub run, summarizing the runtime - run: pnpm install --no-frozen-lockfile ``` -## Multiple Runtimes - -You can set up multiple runtimes simultaneously by specifying an array in `devEngines.runtime`: - -```json -{ - "devEngines": { - "runtime": [ - { - "name": "node", - "version": "24.10.0", - "onFail": "error" - }, - { - "name": "deno", - "version": "2.5.6", - "onFail": "error" - } - ], - "packageManager": { - "name": "pnpm", - "version": "10.20.0", - "onFail": "error" - } - } -} -``` +### Turbo is not using the cache you configured -The action will install all specified runtimes and make them available in your workflow. +Check the `turbo-cache-backend` output against the resolution order above. The most common surprise is a leftover `turbo-token`/`turbo-team` pair winning over the S3 inputs you just added. ## Contributing -We welcome contributions! See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, testing and contribution guidelines. +See [CONTRIBUTING.md](CONTRIBUTING.md) for development setup, testing and contribution guidelines. ## License diff --git a/__fixtures__/CLAUDE.md b/__fixtures__/CLAUDE.md index 821def7d..19122b22 100644 --- a/__fixtures__/CLAUDE.md +++ b/__fixtures__/CLAUDE.md @@ -1,256 +1,78 @@ # **fixtures**/CLAUDE.md -Test fixtures for integration testing with GitHub Actions workflows. +Self-contained project configurations used as integration tests for the action. **See also:** [Root CLAUDE.md](../CLAUDE.md) | -[src/CLAUDE.md](../src/CLAUDE.md) for source and co-located unit tests | -[.github/workflows/CLAUDE.md](../.github/workflows/CLAUDE.md) for workflow -testing patterns. - -## Overview - -This directory contains isolated test project setups for integration testing. -Each fixture is a complete, self-contained project configuration used to test -the runtime action with different package managers, runtimes, and features. - -**For testing approach and workflow patterns, see [.github/workflows/CLAUDE.md](../.github/workflows/CLAUDE.md).** - -## Available Fixtures - -### Node.js Fixtures - -* **node-minimal** - Minimal Node.js project with npm (devEngines configuration) -* **node-pnpm** - Node.js project with pnpm (devEngines: `packageManager.name: "pnpm"`) -* **node-yarn** - Node.js project with Yarn (devEngines: `packageManager.name: "yarn"`) - -### Bun Fixtures - -* **bun-minimal** - Basic Bun project with simple TypeScript and test files -* **bun-workspace** - Bun monorepo with workspace packages -* **bun-deps** - Bun project with external dependency (lodash) -* **bun-lockfile** - Bun project with committed `bun.lock` lockfile - -### Deno Fixtures - -* **deno-minimal** - Basic Deno project with `deno.json` configuration -* **deno-deps** - Deno project with npm: imports (uses npm dependencies) -* **deno-lockfile** - Deno project with committed `deno.lock` lockfile - -### Feature Fixtures - -* **biome-auto** - Project with `biome.jsonc` for auto-detection testing -* **turbo-monorepo** - Turborepo configuration for monorepo detection -* **cache-test** - Project with dependencies (lodash) for cache effectiveness testing -* **multi-runtime** - Multi-runtime project with both Node.js (pnpm) and Deno - -## Fixture Structure - -Each fixture contains the minimal files needed to test a specific configuration: - -### Example: node-pnpm - -```text -node-pnpm/ -└── package.json -``` - -```json -{ - "name": "test-node-pnpm", - "packageManager": "pnpm@10.20.0" -} -``` - -### Example: bun-minimal - -```text -bun-minimal/ -├── package.json -├── index.ts -└── test.js -``` - -### Example: deno-minimal - -```text -deno-minimal/ -├── deno.json -└── main.ts -``` - -## How Fixtures Are Used - -Fixtures are used by the -[test-fixture](../.github/actions/test-fixture/action.yml) composite action, -which is a unified helper that handles setup, execution, and verification in a -single action: - -1. **Setup fixture** (Python script): - * Cleans workspace by removing all files except `.github`, `.git`, and - `__fixtures__` - * Copies all files from the fixture directory to the repository root - * Removes `__fixtures__` directory to prevent glob pattern interference -2. **Run runtime action** - Executes the action with fixture configuration - (supports cache testing with dual runs) -3. **Verify outputs** (Python script) - Compares actual vs expected outputs - and reports results - -**See [.github/workflows/CLAUDE.md](../.github/workflows/CLAUDE.md) for detailed testing patterns.** - -## Creating New Fixtures - -### 1. Create Fixture Directory - -```bash -mkdir -p __fixtures__/my-new-fixture -``` - -### 2. Add Configuration Files - -Add the minimal files needed for your test: - -```bash -# For Node.js with pnpm -cat > __fixtures__/my-new-fixture/package.json <<'EOF' -{ - "name": "test-my-fixture", - "packageManager": "pnpm@10.20.0", - "dependencies": { - "lodash": "^4.17.21" - } -} -EOF -``` - -### 3. Add to Test Workflow - -Reference the fixture in [../.github/workflows/test.yml](../.github/workflows/test.yml): - -```yaml -matrix: - include: - - name: My Test - fixture: my-new-fixture - expected-runtime: node - expected-package-manager: pnpm - test-command: "pnpm --version" - title: "🧪 My Test Results" -``` - -### 4. Commit Fixture - -```bash -git add __fixtures__/my-new-fixture/ -git commit -m "feat: add my-new-fixture test scenario" -``` - -## Fixture Best Practices - -1. **Keep it minimal** - Only include files necessary for the test -2. **Use realistic configurations** - Match real-world project setups -3. **Document purpose** - Add fixture description to this file -4. **Test locally** - Manually test fixture configuration before committing -5. **Version control** - Always commit fixture files -6. **No secrets** - Never include sensitive data -7. **Platform-agnostic** - Ensure fixtures work on Linux, macOS, and Windows - -## Common Fixture Patterns - -### Package Manager Auto-Detection - -Use `packageManager` field in package.json: - -```json -{ - "name": "test-project", - "packageManager": "pnpm@10.20.0" -} -``` - -### Lockfile Testing - -Commit a lockfile to test lockfile handling: - -```bash -# Create test project -cd /tmp/test-project -pnpm init -pnpm add lodash - -# Copy lockfile to fixture -cp pnpm-lock.yaml __fixtures__/my-fixture/ -``` - -### Multi-Runtime Testing - -Include both Node.js and Deno configurations: - -```bash -# package.json -{ - "name": "test-multi-runtime", - "packageManager": "pnpm@10.20.0" -} - -# deno.json -{ - "version": "1.3.3" -} -``` - -### Feature Detection Testing - -Include feature configuration files: - -```bash -# biome.jsonc -{ - "$schema": "https://biomejs.dev/schemas/2.3.14/schema.json" -} - -# turbo.json -{ - "$schema": "https://turbo.build/schema.json" -} -``` - -## Fixture Naming Conventions - -* **runtime-packageManager** - `node-pnpm`, `bun-minimal`, `deno-minimal` -* **runtime-feature** - `bun-lockfile`, `deno-lockfile` -* **feature-purpose** - `biome-auto`, `turbo-monorepo`, `cache-test` -* **multi-runtime** - For fixtures with multiple runtimes - -## Testing Fixtures Locally - -You can test a fixture locally by copying it to a temporary directory: - -```bash -# Copy fixture to temp directory -mkdir -p /tmp/test-fixture -cp -r __fixtures__/node-pnpm/* /tmp/test-fixture/ -cd /tmp/test-fixture - -# Test manually -node --version -pnpm --version -pnpm install -``` - -## Fixture Validation - -Before committing a fixture, verify: - -* [ ] Files are minimal (only what's needed for the test) -* [ ] Configuration is valid (package.json parses correctly) -* [ ] No sensitive data included -* [ ] Works on all platforms (if using shell scripts) -* [ ] Documented in this file -* [ ] Referenced in test workflow - -## Related Documentation - -* [Root CLAUDE.md](../CLAUDE.md) - Repository overview -* [.github/workflows/CLAUDE.md](../.github/workflows/CLAUDE.md) - Testing - workflow patterns -* [src/CLAUDE.md](../src/CLAUDE.md) - Source code architecture and co-located unit tests +[.github/workflows/CLAUDE.md](../.github/workflows/CLAUDE.md) + +## What a fixture is + +A directory whose contents are copied to the repository root, replacing everything else, +before the action runs against it. Each holds the minimum needed for one scenario: a +`package.json` with `devEngines.packageManager` and `devEngines.runtime` (**required** — +the action reads nothing else for versions), plus whatever lockfile or config file the +scenario is about. Installed `node_modules` are never committed. + +## The fixtures + +| Fixture | What it pins | +| --- | --- | +| `node-npm` | node + npm, `package-lock.json` | +| `node-pnpm` | node + pnpm, `pnpm-lock.yaml` | +| `node-yarn` | node + yarn 4, `yarn.lock` + `.pnp.cjs` + `.yarn/` | +| `node-multi` | three runtimes (node, bun, deno) with pnpm as manager; workspace with `pkgs/pkg-{node,bun,deno}` | +| `bun-bun` | bun as **both** runtime and package manager, `bun.lock` | +| `biome-enabled` | `biome.jsonc` — version auto-detected from the `$schema` | +| `turbo-enabled` | `turbo.json` + a seeded `.turbo/cache/` — detection plus an explicit `biome-version` input | +| `additional-inputs` | `custom.lock` / `vendor.lock` and `build/` / `dist/` for the `additional-lockfiles` and `additional-cache-paths` inputs | +| `turbo-monorepo` | a real pnpm + turbo workspace with a buildable package — used only by the turbo remote-cache e2e | + +## How they run + +**[test.yml](../.github/workflows/test.yml)** (`Fixtures`) — on `workflow_dispatch`, +pushes to `main` and PRs touching `src/`, `dist/`, `action.yml`, `__fixtures__/` or the +test actions. Four matrix jobs plus an aggregating `summary`: + +* `test-node-create-cache` — npm/pnpm/yarn/multi/bun × ubuntu/macos/windows, cache miss +* `test-node-restore-cache` — the same minus bun, `needs:` the create job, expects a hit +* `test-feature-detection` — `biome-enabled` and `turbo-enabled` × 3 OS, `install-deps: false` +* `test-additional-inputs` — ubuntu only; **newline-separated** multiline inputs are the + only supported format (bullets, commas and JSON arrays were dropped in the v2 migration) + +Each matrix row passes a per-row `cache-bust` (`${pm}-${os}-${run_id}`) so runs cannot +contaminate each other, and every step is `continue-on-error` so `save-test-results`, +`upload-artifact` and `fail-if-test-failed` always run. + +**[test-turbo-cache.yml](../.github/workflows/test-turbo-cache.yml)** — `turbo-monorepo` +only, on PRs and dispatch. Within-job double build (GitHub backend), cross-job cache hit on +a cold runner, an S3 double build against MinIO, and the same against real S3 behind a +secrets-presence gate job so forks skip rather than fail. Each asserts the reported +`turbo-cache-backend` and `turbo-cache-port` before proving the cache hit. + +## The harness + +[`.github/actions/test-fixture`](../.github/actions/test-fixture/action.yml) is one +composite action doing setup, execution and verification: + +1. **Setup** (Python) — delete everything except `.github`, `.git` and `__fixtures__`; copy + the fixture to the root; delete `__fixtures__` so its globs cannot interfere. +2. **Run** `./.github/actions/local` (the committed build — run `pnpm build` first, or the + test exercises stale code). `test-cache: "true"` instead runs it twice around a + `node_modules` wipe. +3. **Verify** (Python) — `check_value` for scalars, `check_contains` for the comma-listed + `lockfiles` / `cache-paths`, emitting `test-passed` and a `test-results` JSON blob. + +**Assertion semantics, deliberately hardened:** an empty `expected-*` is the opt-out and +still skips (a non-empty actual is recorded as `info`). An **empty actual against a +non-empty expected now fails.** Both checks used to return early on an empty actual, so a +fixture asserting an output the action had stopped publishing recorded nothing at all — +the exact regression these assertions exist to catch passed as quietly as a match. + +## Adding a fixture + +1. `mkdir __fixtures__/<name>/` and add a `package.json` with both `devEngines` fields, + plus only the files the scenario needs. +2. Add a matrix row in `test.yml`: `fixture`, `title` (with emoji), any feature inputs, and + an `expected-*` for **every** output the scenario should pin. Leave an expectation out + only when you mean "don't care" — empty means skipped. +3. Commit the fixture; keep it minimal, realistic, secret-free and platform-agnostic. diff --git a/__fixtures__/bun-bun/bun.lock b/__fixtures__/bun-bun/bun.lock new file mode 100644 index 00000000..19bb46c7 --- /dev/null +++ b/__fixtures__/bun-bun/bun.lock @@ -0,0 +1,15 @@ +{ + "lockfileVersion": 1, + "configVersion": 1, + "workspaces": { + "": { + "name": "bun-bun-test", + "dependencies": { + "isarray": "1.0.0", + }, + }, + }, + "packages": { + "isarray": ["isarray@1.0.0", "", {}, "sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ=="], + } +} diff --git a/__fixtures__/bun-bun/package.json b/__fixtures__/bun-bun/package.json new file mode 100644 index 00000000..a00059f8 --- /dev/null +++ b/__fixtures__/bun-bun/package.json @@ -0,0 +1,20 @@ +{ + "name": "bun-bun-test", + "version": "1.0.0", + "description": "Bun as both runtime and package manager test project", + "devEngines": { + "packageManager": { + "name": "bun", + "version": "1.3.3", + "onFail": "ignore" + }, + "runtime": { + "name": "bun", + "version": "1.3.3", + "onFail": "ignore" + } + }, + "dependencies": { + "isarray": "1.0.0" + } +} diff --git a/__test__/unit/descriptors.test.ts b/__test__/unit/descriptors.test.ts new file mode 100644 index 00000000..35a17e06 --- /dev/null +++ b/__test__/unit/descriptors.test.ts @@ -0,0 +1,162 @@ +import { describe, expect, it } from "@effect/vitest"; +import { Result } from "effect"; + +import { biome } from "../../src/descriptors/biome.js"; +import { bun } from "../../src/descriptors/bun.js"; +import { deno } from "../../src/descriptors/deno.js"; +import { node } from "../../src/descriptors/node.js"; + +/** + * Unwraps a plan a descriptor is expected to produce, failing the test rather + * than the type system when it does not. + */ +const plan = <A>(result: Result.Result<A, string>): A => { + if (Result.isFailure(result)) throw new Error(`expected a plan, got: ${result.failure}`); + return result.success; +}; + +describe("node descriptor", () => { + it("plans a linux x64 tarball with a stripped bin subdirectory", () => { + expect(plan(node.plan("24.11.0", "linux", "x64"))).toEqual({ + url: "https://nodejs.org/dist/v24.11.0/node-v24.11.0-linux-x64.tar.gz", + archive: "tar.gz", + binSubPath: "bin", + tarFlags: ["xz", "--strip=1", "-f"], + binary: "node", + }); + }); + + it("plans a darwin arm64 tarball", () => { + expect(plan(node.plan("24.11.0", "darwin", "arm64")).url).toBe( + "https://nodejs.org/dist/v24.11.0/node-v24.11.0-darwin-arm64.tar.gz", + ); + }); + + it("maps arm to armv7l", () => { + expect(plan(node.plan("24.11.0", "linux", "arm")).url).toBe( + "https://nodejs.org/dist/v24.11.0/node-v24.11.0-linux-armv7l.tar.gz", + ); + }); + + it("passes an unmapped arch through unchanged", () => { + expect(plan(node.plan("24.11.0", "linux", "ppc64")).url).toBe( + "https://nodejs.org/dist/v24.11.0/node-v24.11.0-linux-ppc64.tar.gz", + ); + }); + + it("strips the archive's wrapper directory on windows, rather than caching it", () => { + expect(plan(node.plan("24.11.0", "win32", "x64"))).toEqual({ + url: "https://nodejs.org/dist/v24.11.0/node-v24.11.0-win-x64.zip", + archive: "zip", + archiveSubPath: "node-v24.11.0-win-x64", + binary: "node.exe", + }); + }); + + it("plans a windows arm64 zip with a matching wrapper directory", () => { + const planned = plan(node.plan("24.11.0", "win32", "arm64")); + expect(planned.url).toBe("https://nodejs.org/dist/v24.11.0/node-v24.11.0-win-arm64.zip"); + expect(planned.archiveSubPath).toBe("node-v24.11.0-win-arm64"); + expect(planned.binSubPath).toBeUndefined(); + }); +}); + +describe("bun descriptor", () => { + it("strips the archive's top folder, rather than caching it", () => { + expect(plan(bun.plan("1.3.3", "linux", "x64"))).toEqual({ + url: "https://github.com/oven-sh/bun/releases/download/bun-v1.3.3/bun-linux-x64.zip", + archive: "zip", + archiveSubPath: "bun-linux-x64", + binary: "bun", + }); + }); + + it("maps arm64 to aarch64", () => { + const planned = plan(bun.plan("1.3.3", "darwin", "arm64")); + expect(planned.url).toBe("https://github.com/oven-sh/bun/releases/download/bun-v1.3.3/bun-darwin-aarch64.zip"); + expect(planned.archiveSubPath).toBe("bun-darwin-aarch64"); + expect(planned.binSubPath).toBeUndefined(); + }); + + it("pins windows to x64, because bun publishes no aarch64 windows build", () => { + expect(plan(bun.plan("1.3.3", "win32", "arm64"))).toEqual({ + url: "https://github.com/oven-sh/bun/releases/download/bun-v1.3.3/bun-windows-x64.zip", + archive: "zip", + archiveSubPath: "bun-windows-x64", + binary: "bun.exe", + }); + }); +}); + +describe("deno descriptor", () => { + it("plans a linux x64 zip with neither a wrapper to strip nor a bin subdirectory", () => { + expect(plan(deno.plan("2.5.6", "linux", "x64"))).toEqual({ + url: "https://github.com/denoland/deno/releases/download/v2.5.6/deno-x86_64-unknown-linux-gnu.zip", + archive: "zip", + binary: "deno", + }); + }); + + it.each([ + ["linux", "arm64", "aarch64-unknown-linux-gnu"], + ["darwin", "x64", "x86_64-apple-darwin"], + ["darwin", "arm64", "aarch64-apple-darwin"], + ["win32", "x64", "x86_64-pc-windows-msvc"], + ])("maps %s %s to the %s target triple", (platform, arch, target) => { + expect(plan(deno.plan("2.5.6", platform, arch)).url).toBe( + `https://github.com/denoland/deno/releases/download/v2.5.6/deno-${target}.zip`, + ); + }); + + it("names the windows binary deno.exe", () => { + expect(plan(deno.plan("2.5.6", "win32", "x64")).binary).toBe("deno.exe"); + }); + + it.each([ + ["win32", "arm64"], + ["freebsd", "x64"], + ])("refuses an unsupported %s %s pair", (platform, arch) => { + const result = deno.plan("2.5.6", platform, arch); + expect(Result.isFailure(result)).toBe(true); + if (Result.isFailure(result)) { + expect(result.failure).toBe(`Unsupported platform for Deno: ${platform}-${arch}`); + } + }); +}); + +describe("biome descriptor", () => { + it.each([ + ["linux", "x64", "biome-linux-x64"], + ["linux", "arm64", "biome-linux-arm64"], + ["darwin", "x64", "biome-darwin-x64"], + ["darwin", "arm64", "biome-darwin-arm64"], + ["win32", "x64", "biome-win32-x64.exe"], + ["win32", "arm64", "biome-win32-arm64.exe"], + ])("plans the %s %s release asset", (platform, arch, asset) => { + // The tag is an npm package name, so both the `@` and the `/` are + // percent-encoded; the version rides unencoded (oracle 16). + expect(plan(biome.plan("2.4.9", platform, arch)).url).toBe( + `https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%402.4.9/${asset}`, + ); + }); + + it("caches the executable under a stable name, not the asset's", () => { + // `biome-linux-x64` on the PATH would be a tool nobody can invoke by the + // name a workflow writes (oracle 17). + expect(plan(biome.plan("2.4.9", "linux", "x64")).binary).toBe("biome"); + expect(plan(biome.plan("2.4.9", "darwin", "arm64")).binary).toBe("biome"); + expect(plan(biome.plan("2.4.9", "win32", "x64")).binary).toBe("biome.exe"); + }); + + it.each([ + ["linux", "arm"], + ["freebsd", "x64"], + ["darwin", "ppc64"], + ])("refuses an unsupported %s %s pair", (platform, arch) => { + const result = biome.plan("2.4.9", platform, arch); + expect(Result.isFailure(result)).toBe(true); + if (Result.isFailure(result)) { + expect(result.failure).toBe(`Unsupported platform for Biome: ${platform}-${arch}`); + } + }); +}); diff --git a/__test__/unit/layers.test.ts b/__test__/unit/layers.test.ts new file mode 100644 index 00000000..695271be --- /dev/null +++ b/__test__/unit/layers.test.ts @@ -0,0 +1,58 @@ +import { describe, expect, it } from "@effect/vitest"; +import { ActionCache, ActionEnvironment, PackageManagerInstaller, ToolInstaller } from "@effected/github-actions"; +import { Effect, FileSystem, Layer, Path } from "effect"; +import type { HttpClient } from "effect/unstable/http"; +import { FetchHttpClient } from "effect/unstable/http"; +import { ChildProcessSpawner as ChildProcessSpawnerNS } from "effect/unstable/process"; + +import { MainLive, PostLive } from "../../src/layers/app.js"; + +/** + * Everything `MainLive` and `PostLive` require, doubled. + * + * @remarks + * This is the `ActionServices` subset `ActionRuntime.layer` supplies under + * `Action.run` — `ActionCache.layer` and `ToolInstaller.layer` both declare + * these, which is why `layers/app.ts` can *require* them rather than rebuild + * them. Constructing the layers against it is the assertion: an added + * requirement the runtime does not supply fails to compile here, and a + * construction-time failure fails the run. + */ +const actionServicesTest: Layer.Layer< + | ActionEnvironment + | FileSystem.FileSystem + | Path.Path + | HttpClient.HttpClient + | ChildProcessSpawnerNS.ChildProcessSpawner +> = Layer.mergeAll( + ActionEnvironment.layerTest(), + FileSystem.layerNoop({}), + Path.layer, + // No request is ever issued — the layers only need the service present. + FetchHttpClient.layer, + Layer.succeed( + ChildProcessSpawnerNS.ChildProcessSpawner, + ChildProcessSpawnerNS.make(() => Effect.die(new Error("ChildProcessSpawner.spawn not stubbed"))), + ), +); + +describe("MainLive", () => { + it.effect("builds the three services the default runtime omits", () => + Effect.gen(function* () { + const services = yield* Effect.provide( + Effect.all([ActionCache, PackageManagerInstaller, ToolInstaller]), + Layer.provide(MainLive, actionServicesTest), + ); + expect(services).toHaveLength(3); + }), + ); +}); + +describe("PostLive", () => { + it.effect("builds only the runner cache", () => + Effect.gen(function* () { + const cache = yield* Effect.provide(ActionCache, Layer.provide(PostLive, actionServicesTest)); + expect(cache).toBeDefined(); + }), + ); +}); diff --git a/__test__/unit/post.test.ts b/__test__/unit/post.test.ts new file mode 100644 index 00000000..bbb3563e --- /dev/null +++ b/__test__/unit/post.test.ts @@ -0,0 +1,444 @@ +import { describe, expect, it } from "@effect/vitest"; +import { + ActionCache, + ActionCacheError, + ActionLogger, + ActionState, + ActionStateError, + DetachedProcessError, + ProcessId, +} from "@effected/github-actions"; +import { Effect, Layer, Logger, Option, References } from "effect"; + +import { makePost, post } from "../../src/post.js"; +import { CacheState, STATE_KEYS, TurboServerState } from "../../src/state.js"; + +/** + * The keys `post` reads, in the order it reads them. + * + * @remarks + * Recording them is what makes "post reads exactly the two `STATE_KEYS`" an + * assertion rather than a comment — a third read added later shows up here. + */ +const makeLayer = ( + read: Array<string>, + cache: Layer.Layer<ActionCache> = ActionCache.layerTest({}), +): Layer.Layer<ActionCache | ActionState> => + Layer.mergeAll( + ActionState.layerTest({ + getOptional: ((key: string) => + Effect.sync(() => { + read.push(key); + return Option.none(); + })) as ActionState["Service"]["getOptional"], + }), + cache, + // `ActionLogger.layerSilent` is both the service double and a silent + // `Effect.log*`, so `post`'s debug lines do not leak into the reporter. + ActionLogger.layerSilent, + ); + +/** One `ActionCache.save` call, as this suite cares about it. */ +interface Saved { + readonly paths: ReadonlyArray<string>; + readonly key: string; +} + +/** An `ActionCache` double recording every save, answering with `answer`. */ +const cacheTest = ( + saves: Array<Saved>, + answer: Effect.Effect<void, ActionCacheError> = Effect.void, +): Layer.Layer<ActionCache> => + ActionCache.layerTest({ + save: (paths, key) => { + saves.push({ paths, key: typeof key === "string" ? key : key.key }); + return answer; + }, + }); + +/** An `ActionState` serving `cache` under the cache key, and nothing else. */ +const stateWith = (cache: Option.Option<CacheState>): Layer.Layer<ActionState> => + ActionState.layerTest({ + getOptional: ((key: string) => + Effect.succeed(key === STATE_KEYS.cache ? cache : Option.none())) as ActionState["Service"]["getOptional"], + }); + +/** Runs `post` over `state` and `cache`, capturing every log line it emits. */ +const runPost = (options: { + readonly state: Layer.Layer<ActionState>; + readonly cache: Layer.Layer<ActionCache>; + readonly logs?: Array<string>; +}) => + post.pipe( + Effect.provide( + Layer.mergeAll( + options.state, + options.cache, + Logger.layer([Logger.make(({ message }) => void (options.logs ?? []).push(String(message)))]), + ), + ), + Effect.exit, + ); + +/** What `main` saves after starting an embedded cache server. */ +const server = TurboServerState.make({ + pid: ProcessId.make(4242), + port: 41230, + backend: "github", + logFile: "/tmp/turbo-server.log", +}); + +/** An `ActionState` serving the server state, and no cache state. */ +const serverOnly: Layer.Layer<ActionState> = ActionState.layerTest({ + getOptional: ((key: string) => + Effect.succeed( + key === STATE_KEYS.turboServer ? Option.some(server) : Option.none(), + )) as ActionState["Service"]["getOptional"], +}); + +/** What `main` saves after a miss. */ +const missed = CacheState.make({ + paths: ["/home/runner/.local/share/pnpm/store", "**/node_modules"], + primaryKey: "linux-x64-aaaaaaaa-bbbbbbbb-cccccccc", + restoredKey: Option.none(), + lockfiles: ["/home/runner/work/repo/repo/pnpm-lock.yaml"], +}); + +describe("post", () => { + it.effect("reads both cross-phase state keys, the server first", () => + Effect.gen(function* () { + const read: Array<string> = []; + yield* post.pipe(Effect.provide(makeLayer(read))); + // Teardown precedes every branch that can return early (oracle 35): a + // detached child outliving the job is worse than an unsaved cache. + expect(read).toEqual([STATE_KEYS.turboServer, STATE_KEYS.cache]); + }), + ); + + it.effect("succeeds without saving a cache or reaping a server when neither key is present", () => + Effect.gen(function* () { + const read: Array<string> = []; + // Every `ActionCache` member is unstubbed, so a save attempt dies — + // which is precisely the "no save on `Option.none()`" assertion. + const exit = yield* post.pipe(Effect.provide(makeLayer(read)), Effect.exit); + expect(exit._tag).toBe("Success"); + }), + ); + + it.effect("saves what main restored nothing for, under the key it asked for", () => + Effect.gen(function* () { + const saves: Array<Saved> = []; + const exit = yield* runPost({ state: stateWith(Option.some(missed)), cache: cacheTest(saves) }); + + expect(exit._tag).toBe("Success"); + expect(saves).toEqual([{ paths: missed.paths, key: missed.primaryKey }]); + }), + ); + + it.effect("saves under the primary key after a partial restore, not the key that matched", () => + Effect.gen(function* () { + const saves: Array<Saved> = []; + const partial = CacheState.make({ ...missed, restoredKey: Option.some("linux-x64-aaaaaaaa-bbbbbbbb-older") }); + yield* runPost({ state: stateWith(Option.some(partial)), cache: cacheTest(saves) }); + + // A partial restore left the archive short of what this run installed, so + // the primary key is the one that has to end up populated. + expect(saves).toEqual([{ paths: partial.paths, key: partial.primaryKey }]); + }), + ); + + it.effect("skips the save after an exact hit", () => + Effect.gen(function* () { + const logs: Array<string> = []; + const exact = CacheState.make({ ...missed, restoredKey: Option.some(missed.primaryKey) }); + // Every `ActionCache` member is unstubbed, so a save would die. + const exit = yield* runPost({ state: stateWith(Option.some(exact)), cache: ActionCache.layerTest({}), logs }); + + expect(exit._tag).toBe("Success"); + // Verbatim v1, because it is what a workflow log has always said. + expect(logs).toContain("Cache was an exact hit — skipping save"); + }), + ); + + it.effect("skips the save when there is nothing to archive", () => + Effect.gen(function* () { + const empty = CacheState.make({ ...missed, paths: [] }); + const exit = yield* runPost({ state: stateWith(Option.some(empty)), cache: ActionCache.layerTest({}) }); + + expect(exit._tag).toBe("Success"); + }), + ); + + it.effect("warns rather than failing the workflow when the save fails", () => + Effect.gen(function* () { + const logs: Array<string> = []; + const saves: Array<Saved> = []; + const exit = yield* runPost({ + state: stateWith(Option.some(missed)), + cache: cacheTest(saves, Effect.fail(new ActionCacheError({ reason: "refused", key: missed.primaryKey }))), + logs, + }); + + // The job has already done its work; a cache that would not take it is + // not a reason to fail the run. + expect(exit._tag).toBe("Success"); + expect(saves).toHaveLength(1); + expect(logs.join("\n")).toContain("refused"); + }), + ); + + it.effect("keeps saving the cache after reading the turbo server state", () => + Effect.gen(function* () { + const read: Array<string> = []; + const exit = yield* post.pipe( + Effect.provide( + Layer.mergeAll( + ActionState.layerTest({ + getOptional: ((key: string) => + Effect.sync(() => { + read.push(key); + return key === STATE_KEYS.cache ? Option.some(missed) : Option.none(); + })) as ActionState["Service"]["getOptional"], + }), + cacheTest([], Effect.fail(new ActionCacheError({ reason: "unreachable" }))), + ActionLogger.layerSilent, + ), + ), + Effect.exit, + ); + + expect(exit._tag).toBe("Success"); + expect(read).toEqual([STATE_KEYS.turboServer, STATE_KEYS.cache]); + }), + ); + + it.effect("reaps the server and saves the cache when both keys are present", () => + Effect.gen(function* () { + const saves: Array<Saved> = []; + const reaped: Array<number> = []; + const exit = yield* makePost((pid) => + Effect.sync(() => { + reaped.push(pid); + return true; + }), + ).pipe( + Effect.provide( + Layer.mergeAll( + ActionState.layerTest({ + getOptional: ((key: string) => + Effect.succeed( + key === STATE_KEYS.cache ? Option.some(missed) : Option.some(server), + )) as ActionState["Service"]["getOptional"], + }), + cacheTest(saves), + ActionLogger.layerSilent, + ), + ), + Effect.exit, + ); + expect(exit._tag).toBe("Success"); + expect(saves).toHaveLength(1); + expect(reaped).toEqual([4242]); + }), + ); + + it.effect("names the pid and the log file it is reaping", () => + Effect.gen(function* () { + const logs: Array<string> = []; + yield* makePost(() => Effect.succeed(true)).pipe( + Effect.provide( + Layer.mergeAll( + serverOnly, + ActionCache.layerTest({}), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + ), + ), + // The teardown lines are debug: routine on a healthy run, and the + // thing an operator turns `ACTIONS_STEP_DEBUG` on to read. + Effect.provideService(References.MinimumLogLevel, "Debug"), + ); + // The log file is the only record a detached child leaves, and post is + // the last place that can point at it. + expect(logs.join("\n")).toContain("pid=4242"); + expect(logs.join("\n")).toContain("/tmp/turbo-server.log"); + }), + ); + + it.effect("treats a child that already exited as the normal ending", () => + Effect.gen(function* () { + const logs: Array<string> = []; + const exit = yield* makePost(() => Effect.succeed(false)).pipe( + Effect.provide( + Layer.mergeAll( + serverOnly, + ActionCache.layerTest({}), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + ), + ), + Effect.provideService(References.MinimumLogLevel, "Debug"), + Effect.exit, + ); + // The server exits on its own SIGTERM handler, and a runner may have + // torn the process group down before post ran. + expect(exit._tag).toBe("Success"); + expect(logs.join("\n")).toContain("had already exited"); + }), + ); + + it.effect("never fails the workflow when the reap itself fails", () => + Effect.gen(function* () { + const exit = yield* makePost(() => + Effect.fail(new DetachedProcessError({ reason: "signalFailed", pid: 4242 })), + ).pipe( + Effect.provide(Layer.mergeAll(serverOnly, ActionCache.layerTest({}), ActionLogger.layerSilent)), + Effect.exit, + ); + expect(exit._tag).toBe("Success"); + }), + ); + + it.effect("saves the cache even when the reap defected", () => + Effect.gen(function* () { + const saves: Array<Saved> = []; + const logs: Array<string> = []; + const exit = yield* makePost(() => Effect.die(new Error("kill exploded"))).pipe( + Effect.provide( + Layer.mergeAll( + ActionState.layerTest({ + getOptional: ((key: string) => + Effect.succeed( + key === STATE_KEYS.cache ? Option.some(missed) : Option.some(server), + )) as ActionState["Service"]["getOptional"], + }), + cacheTest(saves), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + ), + ), + Effect.exit, + ); + // Teardown and the archive are two independent jobs. Running teardown + // first buys the guarantee that a child is always signalled; containing + // its failures is what stops that ordering from costing the run its + // cache when the signal is the thing that broke. + expect(exit._tag).toBe("Success"); + expect(saves).toEqual([{ paths: missed.paths, key: missed.primaryKey }]); + expect(logs.join("\n")).toContain("Turbo cache server teardown failed for pid 4242"); + expect(logs.join("\n")).toContain("kill exploded"); + }), + ); + + it.effect("saves the cache even when the reap fails typed", () => + Effect.gen(function* () { + const saves: Array<Saved> = []; + const exit = yield* makePost(() => + Effect.fail(new DetachedProcessError({ reason: "signalFailed", pid: 4242 })), + ).pipe( + Effect.provide( + Layer.mergeAll( + ActionState.layerTest({ + getOptional: ((key: string) => + Effect.succeed( + key === STATE_KEYS.cache ? Option.some(missed) : Option.some(server), + )) as ActionState["Service"]["getOptional"], + }), + cacheTest(saves), + ActionLogger.layerSilent, + ), + ), + Effect.exit, + ); + expect(exit._tag).toBe("Success"); + expect(saves).toEqual([{ paths: missed.paths, key: missed.primaryKey }]); + }), + ); + + it.effect("saves the cache even when the server state is unreadable", () => + Effect.gen(function* () { + const saves: Array<Saved> = []; + const logs: Array<string> = []; + const exit = yield* makePost(() => Effect.succeed(true)).pipe( + Effect.provide( + Layer.mergeAll( + ActionState.layerTest({ + getOptional: ((key: string) => + key === STATE_KEYS.cache + ? Effect.succeed(Option.some(missed)) + : Effect.fail( + new ActionStateError({ reason: "malformed", key }), + )) as ActionState["Service"]["getOptional"], + }), + cacheTest(saves), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + ), + ), + Effect.exit, + ); + // A `main` that died mid-write leaves state that decodes as malformed. + // That says nothing about whether this run's dependencies are worth + // archiving, and there is no pid to signal either way. + expect(exit._tag).toBe("Success"); + expect(saves).toEqual([{ paths: missed.paths, key: missed.primaryKey }]); + expect(logs.join("\n")).toContain("Turbo cache server state could not be read (malformed)"); + }), + ); + + it.effect("never fails the workflow when state is malformed", () => + Effect.gen(function* () { + const exit = yield* post.pipe( + Effect.provide( + Layer.mergeAll( + ActionState.layerTest({ + getOptional: ((key: string) => + Effect.fail( + new ActionStateError({ reason: "malformed", key }), + )) as ActionState["Service"]["getOptional"], + }), + ActionCache.layerTest({}), + ActionLogger.layerSilent, + ), + ), + Effect.exit, + ); + expect(exit._tag).toBe("Success"); + }), + ); + + it.effect("never fails the workflow when reading state defects", () => + Effect.gen(function* () { + const exit = yield* post.pipe( + Effect.provide( + Layer.mergeAll( + ActionState.layerTest({ + getOptional: (() => + Effect.die(new Error("GITHUB_STATE unreadable"))) as ActionState["Service"]["getOptional"], + }), + ActionCache.layerTest({}), + ActionLogger.layerSilent, + ), + ), + Effect.exit, + ); + expect(exit._tag).toBe("Success"); + }), + ); + + it.effect("never fails the workflow when the defect is not an Error", () => + Effect.gen(function* () { + // The `String(defect)` half of the defect renderer: a thrown + // non-`Error` is exactly what a bundled dependency tends to produce. + const exit = yield* post.pipe( + Effect.provide( + Layer.mergeAll( + ActionState.layerTest({ + getOptional: (() => Effect.die("GITHUB_STATE unreadable")) as ActionState["Service"]["getOptional"], + }), + ActionCache.layerTest({}), + ActionLogger.layerSilent, + ), + ), + Effect.exit, + ); + expect(exit._tag).toBe("Success"); + }), + ); +}); diff --git a/__test__/unit/program.test.ts b/__test__/unit/program.test.ts new file mode 100644 index 00000000..ac3fe9e1 --- /dev/null +++ b/__test__/unit/program.test.ts @@ -0,0 +1,756 @@ +import { delimiter, join } from "node:path"; +import { describe, expect, it } from "@effect/vitest"; +import type { CacheKey } from "@effected/github-actions"; +import { + ActionCache, + ActionEnvironment, + ActionInput, + ActionLogger, + ActionOutputs, + ActionState, + CachedPackageManager, + PackageManagerInstaller, + ToolInstaller, + ToolInstallerError, +} from "@effected/github-actions"; +import { Cause, Effect, Exit, FileSystem, Layer, Logger, Option, Path, PlatformError, Sink, Stream } from "effect"; +import { ChildProcess, ChildProcessSpawner as ChildProcessSpawnerNS } from "effect/unstable/process"; + +import { program, turboCacheOutputs } from "../../src/program.js"; +import { OUTPUT_NAMES } from "../../src/schema/outputs.js"; +import type { StartedTurboCache } from "../../src/steps/turbo-cache.js"; + +/** + * A silent child process that exits cleanly. + * + * @remarks + * Every stream is empty: `installRuntimes` only reads an exit code, and + * `installDependencies` inherits the install's stdout and reads its stderr for + * the failure tail — neither of which a green program run produces. + */ +const quietHandle = ChildProcessSpawnerNS.makeHandle({ + pid: ChildProcessSpawnerNS.ProcessId(1), + exitCode: Effect.succeed(ChildProcessSpawnerNS.ExitCode(0)), + isRunning: Effect.succeed(false), + kill: () => Effect.void, + stdin: Sink.drain, + stdout: Stream.empty, + stderr: Stream.empty, + all: Stream.empty, + getInputFd: () => Sink.drain, + getOutputFd: () => Stream.empty, + unref: Effect.succeed(Effect.void), +}); + +/** One command the program spawned, as far as this suite cares about it. */ +interface Spawned { + readonly command: string; + readonly args: ReadonlyArray<string>; + readonly env: Record<string, string | undefined> | undefined; +} + +/** + * A `ChildProcessSpawner` test double, recording into `spawns`. + * + * @remarks + * `exitCode` succeeds because `installRuntimes` verifies what it installed by + * running it, and `spawn` succeeds because `installDependencies` runs the + * install itself. The derived members die: no step should be collecting a + * command's output wholesale. + */ +const childProcessSpawnerTest = (spawns: Array<Spawned> = []): Layer.Layer<ChildProcessSpawnerNS.ChildProcessSpawner> => + Layer.succeed(ChildProcessSpawnerNS.ChildProcessSpawner, { + spawn: (command) => { + if (ChildProcess.isStandardCommand(command)) { + spawns.push({ command: command.command, args: command.args, env: command.options.env }); + } + return Effect.succeed(quietHandle); + }, + exitCode: () => Effect.succeed(ChildProcessSpawnerNS.ExitCode(0)), + streamString: () => Stream.die(new Error("ChildProcessSpawner.streamString not stubbed")), + streamLines: () => Stream.die(new Error("ChildProcessSpawner.streamLines not stubbed")), + lines: () => Effect.die(new Error("ChildProcessSpawner.lines not stubbed")), + string: () => Effect.die(new Error("ChildProcessSpawner.string not stubbed")), + }); + +/** + * A `ToolInstaller` double reporting every requested tool as already cached, so + * the program's real runtime install runs its short-circuit path. A download, + * extraction or cache write reaching this double dies. + */ +const toolInstallerTest = ToolInstaller.layerTest({ + find: (tool, version) => Effect.succeed(Option.some(`/opt/toolcache/${tool}/${version}`)), + // Biome's install is one provisioner call, and the directory it answers with + // is both what goes on the PATH and what the step reports. + provisionFile: ({ tool, version }) => + Effect.succeed({ directory: `/opt/toolcache/${tool}/${version}`, binDir: `/opt/toolcache/${tool}/${version}` }), +}); + +/** + * A `PackageManagerInstaller` double reporting the manifest's pnpm as already + * in the tool cache, so the program's real package-manager step runs its + * `addPath` path without downloading anything. + */ +const packageManagerInstallerTest = PackageManagerInstaller.layerTest({ + install: (pin) => + Effect.succeed( + CachedPackageManager.make({ + name: pin.name, + version: pin.version.toString(), + directory: `/opt/toolcache/${pin.name}/${pin.version.toString()}`, + binDir: `/opt/toolcache/${pin.name}/${pin.version.toString()}/.bin`, + bins: { [pin.name]: `/opt/toolcache/${pin.name}/${pin.version.toString()}/bin/${pin.name}.cjs` }, + }), + ), +}); + +/** No inputs supplied, so every `action.yml` default applies. */ +const actionInputTest = ActionInput.layer({}); + +/** + * The primary key a restore was asked for, whether it came as a typed + * `CacheKey` or as a bare string. + */ +const primaryKey = (key: string | CacheKey): string => (typeof key === "string" ? key : key.key); + +/** + * The rungs a restore would fall back to: a typed key carries its own ladder, + * a string key relies on the explicit argument. + */ +const ladder = (key: string | CacheKey, restoreKeys: ReadonlyArray<string> | undefined): ReadonlyArray<string> => + typeof key === "string" ? (restoreKeys ?? []) : key.restoreKeys; + +/** The checkout, as `ActionEnvironment.layerTest` names it. */ +const WORKSPACE = "/workspace"; + +/** The one lockfile the served workspace holds. */ +const LOCKFILE = "pnpm-lock.yaml"; + +/** The manifest `loadConfig` reads, at the working directory rather than the checkout. */ +const packageJson = JSON.stringify({ + devEngines: { + packageManager: { name: "pnpm", version: "10.20.0" }, + runtime: { name: "node", version: "24.11.0" }, + }, +}); + +/** A manifest declaring all three runtimes, in `devEngines` declaration order. */ +const allRuntimesPackageJson = JSON.stringify({ + devEngines: { + packageManager: { name: "pnpm", version: "10.20.0" }, + runtime: [ + { name: "node", version: "24.11.0" }, + { name: "bun", version: "1.3.3" }, + { name: "deno", version: "2.5.6" }, + ], + }, +}); + +/** A manifest naming bun as both the runtime and the package manager. */ +const bunPackageJson = JSON.stringify({ + devEngines: { + packageManager: { name: "bun", version: "1.3.3" }, + runtime: { name: "bun", version: "1.3.3" }, + }, +}); + +/** + * The same, with node declared *first* — so the manager's runtime is not the + * one the declaration order would put at the head. + */ +const bunAndNodePackageJson = JSON.stringify({ + devEngines: { + packageManager: { name: "bun", version: "1.3.3" }, + runtime: [ + { name: "node", version: "24.11.0" }, + { name: "bun", version: "1.3.3" }, + ], + }, +}); + +/** A `biome.jsonc` pinning `version` through its `$schema` url. */ +const biomeConfig = (version: string): string => + JSON.stringify({ $schema: `https://biomejs.dev/schemas/${version}/schema.json` }); + +/** What the working directory holds besides `package.json`. */ +interface WorkingDirectory { + /** The `biome.jsonc` body, when the repository has one. */ + readonly biome?: string; + /** Whether a `turbo.json` is there. Its contents are never read. */ + readonly turbo?: boolean; +} + +/** + * A `FileSystem` serving `package.json`, plus whatever `directory` says the + * repository holds. Any other read dies loudly, for the same reason the spawner + * double does: a read reaching here is a regression rather than a missing stub. + */ +const fileSystemTest = ( + manifest: string = packageJson, + directory: WorkingDirectory = {}, +): Layer.Layer<FileSystem.FileSystem> => + FileSystem.layerNoop({ + // The detectors probe working-directory-relative paths; anything absent + // fails here exactly as it would on a real filesystem. + access: (path) => { + const present = + (path === "biome.jsonc" && directory.biome !== undefined) || + (path === "turbo.json" && directory.turbo === true); + return present + ? Effect.void + : Effect.fail( + PlatformError.systemError({ + _tag: "NotFound", + module: "FileSystem", + method: "access", + pathOrDescriptor: path, + }), + ); + }, + readFileString: (path) => { + if (path === "package.json") return Effect.succeed(manifest); + if (path === "biome.jsonc" && directory.biome !== undefined) return Effect.succeed(directory.biome); + return Effect.die(new Error(`unexpected FileSystem.readFileString(${path})`)); + }, + // A workspace with no lockfile *in the working directory*, so the install + // step takes its plain-install branch. Stubbed rather than left to the noop + // layer's rejection, which the step would read as "absent" anyway — this + // says so on purpose. + exists: () => Effect.succeed(false), + // The checkout the cache restore walks, holding the one lockfile its + // patterns match. `ActionEnvironment.layerTest` puts the workspace at + // `/workspace`. + readDirectory: (path) => + path === WORKSPACE + ? Effect.succeed([LOCKFILE]) + : Effect.die(new Error(`unexpected FileSystem.readDirectory(${path})`)), + stat: () => Effect.succeed({ type: "File" } as FileSystem.File.Info), + readFile: (path) => + path === join(WORKSPACE, LOCKFILE) + ? Effect.succeed(new TextEncoder().encode("lockfileVersion: '9.0'")) + : Effect.die(new Error(`unexpected FileSystem.readFile(${path})`)), + }); + +/** + * Every service in the program's `R` union, doubled. + * + * @remarks + * `ActionCache` and `ToolInstaller` stand in for what `MainLive` adds; the + * rest stand in for what `ActionRuntime.layer` supplies under `Action.run`. + * Unstubbed kit members die loudly, so a step that starts touching the runner + * shows up here as a red test rather than a silently-succeeding no-op. + * + * `ActionEnvironment.layerTest` is one of the three recorded exceptions to + * that rule — it seeds a complete `GITHUB_*` / `RUNNER_*` block — which is + * what lets the program's fail-fast `env.github` read succeed here. + */ +const makeLayer = ( + outputs: Partial<ActionOutputs["Service"]>, + environment: Layer.Layer<ActionEnvironment> = ActionEnvironment.layerTest(), + options: { + readonly manifest?: string; + readonly spawns?: Array<Spawned>; + readonly cache?: Layer.Layer<ActionCache>; + /** What the working directory holds besides the manifest. */ + readonly directory?: WorkingDirectory; + /** A `ToolInstaller` other than the all-cached default — a failing one, say. */ + readonly tools?: Layer.Layer<ToolInstaller>; + /** Inputs the workflow supplied, as the runner would publish them. */ + readonly inputs?: Layer.Layer<never>; + } = {}, +): Layer.Layer< + | ActionCache + | ActionEnvironment + | ActionLogger + | ActionOutputs + | ActionState + | PackageManagerInstaller + | ToolInstaller + | FileSystem.FileSystem + | Path.Path + | ChildProcessSpawnerNS.ChildProcessSpawner +> => + Layer.mergeAll( + // The cache restore is real, and by default nothing matches: a miss leaves + // the installs that follow to do the work, which is what most cases here + // are about. `restore-cache.test.ts` owns the key derivation itself. + options.cache ?? ActionCache.layerTest({ restore: () => Effect.succeed(Option.none()) }), + ActionLogger.layerSilent, + // `summary` is stubbed for the same reason `addPath` is: every run reaches + // it, and a case that is not about the panel should not have to say so. + ActionOutputs.layerTest({ addPath: () => Effect.void, summary: () => Effect.void, ...outputs }), + // The restore step persists what it restored for the post phase. + ActionState.layerTest({ save: () => Effect.void }), + options.tools ?? toolInstallerTest, + packageManagerInstallerTest, + fileSystemTest(options.manifest, options.directory), + Path.layer, + environment, + childProcessSpawnerTest(options.spawns), + options.inputs ?? actionInputTest, + ); + +/** The four variables the program quiets its own install steps with (oracle 43). */ +const QUIET_ENV = { + NPM_CONFIG_UPDATE_NOTIFIER: "false", + NPM_CONFIG_FUND: "false", + HUSKY: "0", + COREPACK_ENABLE_DOWNLOAD_PROMPT: "0", +} as const; + +/** + * Runs `effect` with `process.env` put back exactly as it was, on every exit + * path. + * + * @remarks + * The program mutates the real `process.env` — that is the point of oracle 43 — + * so a test that reads it has to leave no trace for the next one. Keys are + * restored in place rather than by reassigning `process.env`, which would swap + * the object every other module already holds a reference to. + */ +const withEnvRestored = <A, E, R>(effect: Effect.Effect<A, E, R>): Effect.Effect<A, E, R> => + Effect.suspend(() => { + const snapshot = { ...process.env }; + return effect.pipe( + Effect.ensuring( + Effect.sync(() => { + for (const key of Object.keys(process.env)) if (!(key in snapshot)) delete process.env[key]; + Object.assign(process.env, snapshot); + }), + ), + ); + }); + +/** Runs `program` under the doubles, returning every published output. */ +const runProgram = Effect.fnUntraced(function* (manifest?: string) { + const captured = new Map<string, string>(); + yield* program.pipe( + Effect.provide( + makeLayer( + { set: (name, value) => Effect.sync(() => void captured.set(name, value)) }, + undefined, + manifest === undefined ? {} : { manifest }, + ), + ), + ); + return captured; +}); + +describe("program", () => { + it.effect("publishes every action.yml output exactly once", () => + Effect.gen(function* () { + const captured = yield* runProgram(); + expect([...captured.keys()].sort()).toEqual([...OUTPUT_NAMES].sort()); + }), + ); + + it.effect("folds the package manager step's result into the outputs", () => + Effect.gen(function* () { + const captured = yield* runProgram(); + // Both values come from the served manifest's `devEngines`, through + // `loadConfig` and the (still echoing) package-manager stub. + expect(captured.get("package-manager")).toBe("pnpm"); + expect(captured.get("package-manager-version")).toBe("10.20.0"); + }), + ); + + it.effect("folds every installed runtime into its version and enabled outputs", () => + Effect.gen(function* () { + const captured = yield* runProgram(allRuntimesPackageJson); + expect(captured.get("node-version")).toBe("24.11.0"); + expect(captured.get("node-enabled")).toBe("true"); + expect(captured.get("bun-version")).toBe("1.3.3"); + expect(captured.get("bun-enabled")).toBe("true"); + expect(captured.get("deno-version")).toBe("2.5.6"); + expect(captured.get("deno-enabled")).toBe("true"); + }), + ); + + it.effect("leaves a runtime the manifest never named at empty and disabled", () => + Effect.gen(function* () { + // The default manifest declares node alone, so bun and deno report what a + // runtime nobody installed reports — not the version of something that + // was never fetched (oracle 46). + const captured = yield* runProgram(); + expect(captured.get("node-version")).toBe("24.11.0"); + expect(captured.get("node-enabled")).toBe("true"); + expect(captured.get("bun-version")).toBe(""); + expect(captured.get("bun-enabled")).toBe("false"); + expect(captured.get("deno-version")).toBe(""); + expect(captured.get("deno-enabled")).toBe("false"); + }), + ); + + it.effect("quiets the tooling its own install steps invoke, on this process only", () => + withEnvRestored( + Effect.gen(function* () { + // Cleared first, so a value left behind by another test cannot make + // this pass without the program having set anything. + for (const name of Object.keys(QUIET_ENV)) delete process.env[name]; + + yield* runProgram(); + + expect(process.env.NPM_CONFIG_UPDATE_NOTIFIER).toBe(QUIET_ENV.NPM_CONFIG_UPDATE_NOTIFIER); + expect(process.env.NPM_CONFIG_FUND).toBe(QUIET_ENV.NPM_CONFIG_FUND); + expect(process.env.HUSKY).toBe(QUIET_ENV.HUSKY); + expect(process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT).toBe(QUIET_ENV.COREPACK_ENABLE_DOWNLOAD_PROMPT); + // "On this process only" is enforced by the doubles rather than + // asserted here: `ActionOutputs.layerTest` stubs `set` and `addPath` + // and nothing else, so an `exportVariable` call — which would leak + // these into the consumer's later job steps — dies. + }), + ), + ); + + it.effect("puts a runtime-installed package manager on the install's PATH", () => + Effect.gen(function* () { + const spawns: Array<Spawned> = []; + const previous = process.env.PATH; + process.env.PATH = "/usr/bin"; + try { + yield* program.pipe( + Effect.provide(makeLayer({ set: () => Effect.void }, undefined, { manifest: bunPackageJson, spawns })), + ); + } finally { + process.env.PATH = previous; + } + + // bun is its own package manager, so the package-manager step is a no-op + // and reports no directory. The runtime install put bun in the tool + // cache and published it to GITHUB_PATH — which does nothing for *this* + // process — so without the program's join the install below would spawn + // a bare `bun` against whatever the runner image happens to have. + const install = spawns.find((spawned) => spawned.args[0] === "install"); + expect(install?.command).toBe("bun"); + expect(install?.env).toEqual({ PATH: `/opt/toolcache/bun/1.3.3${delimiter}/usr/bin` }); + }), + ); + + it.effect("puts every installed runtime on the install's PATH, behind the manager", () => + Effect.gen(function* () { + const spawns: Array<Spawned> = []; + const previous = process.env.PATH; + process.env.PATH = "/usr/bin"; + try { + yield* program.pipe( + Effect.provide( + makeLayer({ set: () => Effect.void }, undefined, { manifest: allRuntimesPackageJson, spawns }), + ), + ); + } finally { + process.env.PATH = previous; + } + + // The failure this rules out: pnpm's install spawns lifecycle scripts, and + // a `postinstall` running `deno install` or `bun install` resolves that + // binary off the PATH it inherited from the install child. Prepending only + // the manager's directory left every runner reporting `deno: not found`. + const install = spawns.find((spawned) => spawned.args[0] === "install"); + expect(install?.command).toBe("pnpm"); + const entries = (install?.env?.PATH ?? "").split(delimiter); + // The manager leads — its shims win any name collision. The runtimes + // follow in `devEngines` declaration order, and each is matched by prefix + // because the bin subdirectory below the cached root is the descriptor's + // business and differs by platform. + expect(entries[0]).toBe("/opt/toolcache/pnpm/10.20.0/.bin"); + expect(entries[1]?.startsWith("/opt/toolcache/node/24.11.0")).toBe(true); + expect(entries[2]?.startsWith("/opt/toolcache/bun/1.3.3")).toBe(true); + expect(entries[3]?.startsWith("/opt/toolcache/deno/2.5.6")).toBe(true); + // The inherited PATH stays last, and nothing else was invented. + expect(entries[4]).toBe("/usr/bin"); + expect(entries).toHaveLength(5); + }), + ); + + it.effect("hoists the manager's own runtime to the head, ahead of an earlier-declared one", () => + Effect.gen(function* () { + const spawns: Array<Spawned> = []; + const previous = process.env.PATH; + process.env.PATH = "/usr/bin"; + try { + yield* program.pipe( + Effect.provide(makeLayer({ set: () => Effect.void }, undefined, { manifest: bunAndNodePackageJson, spawns })), + ); + } finally { + process.env.PATH = previous; + } + + // node is declared first, so runtime order alone would put it at the head. + // The manager slot wins instead: `onInstallPath` fills bun's empty `binDir` + // from the runtime install, that entry leads, and the `Set` collapses the + // duplicate bun path arriving behind node rather than reordering anything. + // Without the hoist a `bun` on the runner image reachable via node's bin + // directory would shadow the version this run installed. + const install = spawns.find((spawned) => spawned.args[0] === "install"); + expect(install?.command).toBe("bun"); + const entries = (install?.env?.PATH ?? "").split(delimiter); + expect(entries[0]).toBe("/opt/toolcache/bun/1.3.3"); + expect(entries[1]?.startsWith("/opt/toolcache/node/24.11.0")).toBe(true); + expect(entries[2]).toBe("/usr/bin"); + // Three, not four: bun appears once despite reaching the list twice. + expect(entries).toHaveLength(3); + }), + ); + + it.effect("fails at entry, before any step runs, outside a runner environment", () => + Effect.gen(function* () { + const captured = new Map<string, string>(); + const exit = yield* program.pipe( + Effect.provide( + makeLayer( + { set: (name, value) => Effect.sync(() => void captured.set(name, value)) }, + // An empty required `GITHUB_*` variable is exactly what a + // non-runner environment looks like to `ActionEnvironment`. + ActionEnvironment.layerTest({ GITHUB_REPOSITORY: "" }), + ), + ), + Effect.exit, + ); + expect(exit._tag).toBe("Failure"); + // Which failure, not just that one happened: `Failure` alone would also + // be satisfied by a step further down dying on a test double it never + // got a chance to reach, and the assertion below would still hold if + // that step ran before publishing anything. The tag is what says the + // environment guard is the thing that stopped the run. + const error = Exit.isFailure(exit) ? Cause.findErrorOption(exit.cause) : Option.none(); + expect(Option.getOrUndefined(error)?._tag).toBe("ActionEnvironmentError"); + // The whole point of the guard: nothing downstream got to run. + expect(captured.size).toBe(0); + }), + ); + + it.effect("folds a detected and installed Biome into its version and enabled outputs", () => + Effect.gen(function* () { + const captured = new Map<string, string>(); + const paths: Array<string> = []; + yield* program.pipe( + Effect.provide( + makeLayer( + { + set: (name, value) => Effect.sync(() => void captured.set(name, value)), + addPath: (path) => Effect.sync(() => void paths.push(path)), + }, + undefined, + { directory: { biome: biomeConfig("2.4.9") } }, + ), + ), + ); + + expect(captured.get("biome-enabled")).toBe("true"); + expect(captured.get("biome-version")).toBe("2.4.9"); + // Detection alone is not the claim: the outputs say Biome is installed, + // so it has to be on the PATH. + expect(paths).toContain("/opt/toolcache/biome/2.4.9"); + }), + ); + + it.effect("installs the biome-version input over a config file", () => + Effect.gen(function* () { + const captured = new Map<string, string>(); + yield* program.pipe( + Effect.provide( + makeLayer({ set: (name, value) => Effect.sync(() => void captured.set(name, value)) }, undefined, { + // The repository pins 2.4.9 and the workflow asks for 2.3.14. + directory: { biome: biomeConfig("2.4.9") }, + inputs: ActionInput.layer({ "biome-version": "2.3.14" }), + }), + ), + ); + + expect(captured.get("biome-version")).toBe("2.3.14"); + expect(captured.get("biome-enabled")).toBe("true"); + }), + ); + + it.effect("reports Biome as disabled when its install fails, and keeps going", () => + Effect.gen(function* () { + const captured = new Map<string, string>(); + const logs: Array<string> = []; + yield* program.pipe( + Effect.provide( + Layer.mergeAll( + makeLayer({ set: (name, value) => Effect.sync(() => void captured.set(name, value)) }, undefined, { + directory: { biome: biomeConfig("2.4.9") }, + tools: ToolInstaller.layerTest({ + find: (tool, version) => Effect.succeed(Option.some(`/opt/toolcache/${tool}/${version}`)), + provisionFile: () => Effect.fail(new ToolInstallerError({ reason: "downloadFailed", status: 404 })), + }), + }), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + ), + ), + ); + + // Non-fatal (oracle 29): the run completes and every other output is + // published. And the outputs are truthful — v1 set them from *detection* + // and reported an enabled Biome that was never installed (oracle 30). + expect(captured.get("biome-enabled")).toBe("false"); + expect(captured.get("biome-version")).toBe(""); + expect(captured.get("node-enabled")).toBe("true"); + // v1's prose for the warning, with the typed error's own message after it + // rather than a stringified object. + expect(logs.join("\n")).toContain("Biome installation failed: "); + expect(logs.join("\n")).toContain("404"); + // And the closing group names the step that failed rather than + // reporting a Biome that was detected as absent. + expect(logs).toContain("Biome: detected, install failed"); + }), + ); + + it.effect("folds a detected turbo.json into turbo-enabled", () => + Effect.gen(function* () { + const captured = new Map<string, string>(); + yield* program.pipe( + Effect.provide( + makeLayer({ set: (name, value) => Effect.sync(() => void captured.set(name, value)) }, undefined, { + directory: { turbo: true }, + // `turbo-cache: off` is what keeps this a *detection* test. The + // turbo cache step is the one step that spawns a process which + // outlives the run, and its seam is a parameter rather than a + // service — so the embedded path is exercised in + // `steps/turbo-cache.test.ts`, where the spawn is a double, and + // never from here. + inputs: ActionInput.layer({ "turbo-cache": "off" }), + }), + ), + ); + + expect(captured.get("turbo-enabled")).toBe("true"); + // Detection and the cache backend are two different answers (oracle 27): + // a repository with a `turbo.json` and the cache switched off reports an + // enabled turbo and no backend. + expect(captured.get("turbo-cache-backend")).toBe("none"); + expect(captured.get("turbo-cache-port")).toBe(""); + }), + ); + + it.effect("folds what the turbo cache step started into the backend and port outputs", () => { + // The fold itself, pinned without a detached child: the program run above + // can only reach the `off` row, and the other three rows differ only in + // what this function is handed. + const rows: ReadonlyArray<readonly [StartedTurboCache, string, string]> = [ + [{ backend: "none", port: Option.none(), state: Option.none() }, "none", ""], + [{ backend: "remote", port: Option.none(), state: Option.none() }, "remote", ""], + [{ backend: "github", port: Option.some(41230), state: Option.none() }, "github", "41230"], + [{ backend: "s3", port: Option.some(41230), state: Option.none() }, "s3", "41230"], + ]; + for (const [started, backend, port] of rows) { + expect(turboCacheOutputs(started)).toEqual({ turboCacheBackend: backend, turboCachePort: port }); + } + return Effect.void; + }); + + it.effect("leaves every other output at its all-disabled default", () => + Effect.gen(function* () { + const captured = yield* runProgram(); + expect(captured.get("biome-version")).toBe(""); + expect(captured.get("biome-enabled")).toBe("false"); + expect(captured.get("turbo-enabled")).toBe("false"); + expect(captured.get("turbo-cache-backend")).toBe("none"); + expect(captured.get("turbo-cache-port")).toBe(""); + expect(captured.get("cache-hit")).toBe("false"); + }), + ); + + it.effect("closes the detection stretch with a one-line summary of everything it found", () => + Effect.gen(function* () { + const logs: Array<string> = []; + yield* program.pipe( + Effect.provide( + Layer.mergeAll( + makeLayer({ set: () => Effect.void }, undefined, { + manifest: allRuntimesPackageJson, + directory: { biome: biomeConfig("2.4.9"), turbo: true }, + inputs: ActionInput.layer({ "turbo-cache": "off" }), + }), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + ), + ), + ); + + // The line v1 emitted from its single detect group. The new pipeline + // splits detection across three groups, so it is assembled and emitted + // after the last of them (oracle 29) — space-separated and lowercase + // `biome`, unlike the `@`-joined info lines above it (rulings 54, 55). + expect(logs).toContain("node 24.11.0 · bun 1.3.3 · deno 2.5.6 · pnpm 10.20.0 · biome 2.4.9 · turbo"); + }), + ); + + it.effect("tells the summary an install that never ran did not run", () => + Effect.gen(function* () { + const panels: Array<string> = []; + const logs: Array<string> = []; + yield* program.pipe( + Effect.provide( + Layer.mergeAll( + makeLayer( + { set: () => Effect.void, summary: (content) => Effect.sync(() => void panels.push(content)) }, + undefined, + // deno caches modules on demand, so the install step is a + // deliberate skip rather than a failure. + { + manifest: JSON.stringify({ + devEngines: { + packageManager: { name: "deno", version: "2.5.6" }, + runtime: { name: "deno", version: "2.5.6" }, + }, + }), + }, + ), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + ), + ), + ); + + // Quirk 52: v1 echoed the `install-deps` input, which defaults to true, + // and so reported deno's skipped install as done in both places. + expect(panels[0]).toContain("| Dependencies | skipped |"); + expect(logs).toContain("Dependencies: skipped"); + }), + ); + + it.effect("folds a restore that landed into cache-hit, lockfiles and cache-paths", () => + Effect.gen(function* () { + const captured = new Map<string, string>(); + yield* program.pipe( + Effect.provide( + makeLayer( + { set: (name, value) => Effect.sync(() => void captured.set(name, value)) }, + undefined, + // The runner answers with the key it was asked for. + { + cache: ActionCache.layerTest({ restore: (_paths, key) => Effect.succeed(Option.some(primaryKey(key))) }), + }, + ), + ), + ); + + expect(captured.get("cache-hit")).toBe("true"); + // The resolved file, not the pattern that found it. + expect(captured.get("lockfiles")).toBe(join(WORKSPACE, LOCKFILE)); + const paths = (captured.get("cache-paths") ?? "").split(","); + expect(paths).toContain("**/node_modules"); + expect(paths).toContain(join("/opt/hostedtoolcache", "node", "24.11.0")); + }), + ); + + it.effect("reports a fallback restore as a partial hit", () => + Effect.gen(function* () { + const captured = new Map<string, string>(); + yield* program.pipe( + Effect.provide( + makeLayer({ set: (name, value) => Effect.sync(() => void captured.set(name, value)) }, undefined, { + cache: ActionCache.layerTest({ + restore: (_paths, key, restoreKeys) => + Effect.succeed(Option.fromUndefinedOr(ladder(key, restoreKeys)[0])), + }), + }), + ), + ); + + // A rung of the ladder matched, so the archive is close but not this + // run's — which is what post needs to know to save again. + expect(captured.get("cache-hit")).toBe("partial"); + }), + ); +}); diff --git a/__test__/unit/schema/domain.test.ts b/__test__/unit/schema/domain.test.ts new file mode 100644 index 00000000..7fa076f2 --- /dev/null +++ b/__test__/unit/schema/domain.test.ts @@ -0,0 +1,98 @@ +import { describe, expect, it } from "@effect/vitest"; +import { Effect, Schema } from "effect"; + +import { AbsoluteVersion, ConfigError, PackageManagerName, RuntimeName } from "../../../src/schema/domain.js"; + +describe("AbsoluteVersion", () => { + it.effect("accepts an exact semver", () => + Effect.gen(function* () { + const v = yield* Schema.decodeUnknownEffect(AbsoluteVersion)("24.11.0"); + expect(v).toBe("24.11.0"); + }), + ); + it.effect("accepts an exact semver with build metadata", () => + Effect.gen(function* () { + const v = yield* Schema.decodeUnknownEffect(AbsoluteVersion)("11.17.0+sha512.cca3cea3"); + expect(v).toBe("11.17.0+sha512.cca3cea3"); + }), + ); + // Whitespace-padded versions parse as SemVer but must not: the raw string is + // interpolated into download URLs downstream, so it has to be exact, and + // legacy's anchored regex rejected padding. This is a check, never a + // transform — nothing is silently trimmed. + for (const bad of [ + "^24.0.0", + "~1.2.3", + ">=1.0.0", + "<2.0.0", + "=24.11.0", + "24.x", + "24.X", + "1.2", + "*", + "latest", + "", + " 24.11.0", + "24.11.0 ", + " 24.11.0 ", + "\t24.11.0", + "24.11.0\n", + "24. 11.0", + ]) { + it.effect(`rejects "${bad}"`, () => + Effect.gen(function* () { + const exit = yield* Effect.exit(Schema.decodeUnknownEffect(AbsoluteVersion)(bad)); + expect(exit._tag).toBe("Failure"); + }), + ); + } +}); + +describe("RuntimeName", () => { + for (const name of ["node", "bun", "deno"]) { + it.effect(`accepts "${name}"`, () => + Effect.gen(function* () { + const v = yield* Schema.decodeUnknownEffect(RuntimeName)(name); + expect(v).toBe(name); + }), + ); + } + it.effect("rejects an unknown runtime name", () => + Effect.gen(function* () { + const exit = yield* Effect.exit(Schema.decodeUnknownEffect(RuntimeName)("ruby")); + expect(exit._tag).toBe("Failure"); + }), + ); +}); + +describe("PackageManagerName", () => { + // Five, not four: `action.yml` documents the `package-manager` output as + // `npm | pnpm | yarn | bun | deno`, so dropping `deno` here would be a + // silent parity break against v1. + for (const name of ["npm", "pnpm", "yarn", "bun", "deno"]) { + it.effect(`accepts "${name}"`, () => + Effect.gen(function* () { + const v = yield* Schema.decodeUnknownEffect(PackageManagerName)(name); + expect(v).toBe(name); + }), + ); + } + it.effect("rejects an unknown package manager name", () => + Effect.gen(function* () { + const exit = yield* Effect.exit(Schema.decodeUnknownEffect(PackageManagerName)("bundler")); + expect(exit._tag).toBe("Failure"); + }), + ); +}); + +describe("ConfigError", () => { + it("carries its tag and reason", () => { + const error = new ConfigError({ + reason: "invalid-dev-engines", + message: "package.json has invalid or missing devEngines field", + }); + expect(error._tag).toBe("ConfigError"); + expect(error.reason).toBe("invalid-dev-engines"); + expect(error.message).toBe("package.json has invalid or missing devEngines field"); + }); +}); diff --git a/__test__/unit/schema/inputs.test.ts b/__test__/unit/schema/inputs.test.ts new file mode 100644 index 00000000..e840f01e --- /dev/null +++ b/__test__/unit/schema/inputs.test.ts @@ -0,0 +1,127 @@ +import { readFileSync } from "node:fs"; +import { fileURLToPath } from "node:url"; +import { describe, expect, it } from "@effect/vitest"; +import { ActionInput } from "@effected/github-actions"; +import { Effect, Option } from "effect"; + +import { INPUT_NAMES, loadInputs } from "../../../src/schema/inputs.js"; + +/** + * The input names declared in `action.yml`, read from the file itself. + * + * @remarks + * A deliberate five-line parse rather than a YAML dependency: the block is + * two-space-indented `name:` keys between the top-level `inputs:` and the next + * top-level key, and reading it for real is what makes the guard bite when + * `action.yml` and the code drift apart. + */ +const declaredInputNames = (): ReadonlyArray<string> => { + const source = readFileSync(fileURLToPath(new URL("../../../action.yml", import.meta.url)), "utf8"); + const lines = source.split("\n"); + const start = lines.indexOf("inputs:"); + const names: Array<string> = []; + for (const line of lines.slice(start + 1)) { + if (/^\S/.test(line)) break; + const match = /^ {2}([A-Za-z0-9-]+):\s*$/.exec(line); + if (match?.[1] !== undefined) names.push(match[1]); + } + return names; +}; + +/** + * An `ActionInput` environment that records every variable name looked up. + * + * @remarks + * `ActionInput.provider` resolves each read as a plain `env[NAME]` lookup, so a + * proxy is a faithful recorder: every value reads as absent, which is exactly + * the "no inputs supplied" case, while the set of names asked for is captured. + * + * Since the provider became dual-accept, one input costs **two** probes — the + * `INPUT_` derivation first, then the name verbatim — so a key already spelled + * as a runner variable is probed once as `INPUT_INPUT_…` before being found as + * itself. Repeated prefixes are stripped rather than counted: the assertion is + * about which *inputs* are read, and how many spellings the provider tries to + * find each one is its business, not this suite's. + */ +const recordingEnv = (seen: Set<string>): Record<string, string> => + new Proxy({} as Record<string, string>, { + get: (_target, property) => { + // The runner uppercases the input name and leaves dashes alone, so the + // recorded variable maps back to the `action.yml` name by lowercasing. + if (typeof property === "string" && property.startsWith("INPUT_")) { + seen.add(property.replace(/^(?:INPUT_)+/, "").toLowerCase()); + } + return undefined; + }, + }); + +describe("loadInputs", () => { + it.effect("applies action.yml defaults when everything is absent", () => + Effect.gen(function* () { + const inputs = yield* loadInputs; + expect(inputs.turboCache).toBe("auto"); + expect(inputs.installDeps).toBe(true); + expect(inputs.cacheBust).toEqual(Option.none()); + expect(inputs.biomeVersion).toEqual(Option.none()); + expect(inputs.additionalLockfiles).toEqual([]); + }).pipe(Effect.provide(ActionInput.layer({}))), + ); + it.effect("parses multiline additional-lockfiles and s3 fields", () => + Effect.gen(function* () { + const inputs = yield* loadInputs; + expect(inputs.additionalLockfiles).toEqual(["deno.lock", "**/yarn.lock"]); + expect(Option.isSome(inputs.turboS3Bucket)).toBe(true); + }).pipe( + Effect.provide( + ActionInput.layer({ + "additional-lockfiles": "deno.lock\n**/yarn.lock", + "turbo-s3-bucket": "my-bucket", + }), + ), + ), + ); + it.effect("normalizes turbo-cache to off only for the literal value 'off'", () => + Effect.gen(function* () { + const inputs = yield* loadInputs; + expect(inputs.turboCache).toBe("off"); + }).pipe(Effect.provide(ActionInput.layer({ "turbo-cache": "off" }))), + ); + it.effect("normalizes cache-bust literal 'false' to Option.none()", () => + Effect.gen(function* () { + const inputs = yield* loadInputs; + expect(inputs.cacheBust).toEqual(Option.none()); + }).pipe(Effect.provide(ActionInput.layer({ "cache-bust": "false" }))), + ); + it.effect("keeps a real cache-bust value", () => + Effect.gen(function* () { + const inputs = yield* loadInputs; + expect(inputs.cacheBust).toEqual(Option.some("run-123")); + }).pipe(Effect.provide(ActionInput.layer({ "cache-bust": "run-123" }))), + ); + it.effect("keeps redacted secrets redacted", () => + Effect.gen(function* () { + const inputs = yield* loadInputs; + expect(Option.isSome(inputs.turboToken)).toBe(true); + }).pipe(Effect.provide(ActionInput.layer({ "turbo-token": "secret-value" }))), + ); + it.effect("fails rather than silently defaulting on a malformed install-deps value", () => + Effect.gen(function* () { + const exit = yield* Effect.exit(loadInputs); + expect(exit._tag).toBe("Failure"); + }).pipe(Effect.provide(ActionInput.layer({ "install-deps": "yes" }))), + ); +}); + +describe("INPUT_NAMES", () => { + it("matches the inputs action.yml declares", () => { + expect([...INPUT_NAMES].sort()).toEqual([...declaredInputNames()].sort()); + }); + + it.effect("is exactly the set loadInputs reads", () => + Effect.gen(function* () { + const seen = new Set<string>(); + yield* loadInputs.pipe(Effect.provide(ActionInput.layer(recordingEnv(seen)))); + expect([...seen].sort()).toEqual([...INPUT_NAMES].sort()); + }), + ); +}); diff --git a/__test__/unit/schema/outputs.test.ts b/__test__/unit/schema/outputs.test.ts new file mode 100644 index 00000000..2909b3d6 --- /dev/null +++ b/__test__/unit/schema/outputs.test.ts @@ -0,0 +1,157 @@ +import { readFileSync } from "node:fs"; +import { fileURLToPath } from "node:url"; +import { describe, expect, it } from "@effect/vitest"; +import { ActionOutputs } from "@effected/github-actions"; +import { Effect } from "effect"; + +import type { OutputName, OutputsModel } from "../../../src/schema/outputs.js"; +import { OUTPUT_NAMES, emitOutputs, initialOutputs } from "../../../src/schema/outputs.js"; + +/** + * The output names declared in `action.yml`, read from the file itself. + * + * @remarks + * The same deliberate five-line parse the input guard uses, anchored on + * `outputs:` instead: the block is two-space-indented `name:` keys between that + * top-level key and the next one. Reading it for real is what makes the guard + * bite when `action.yml` and the code drift apart — a hand-maintained copy of + * the list would agree with itself forever. + */ +const declaredOutputNames = (): ReadonlyArray<string> => { + const source = readFileSync(fileURLToPath(new URL("../../../action.yml", import.meta.url)), "utf8"); + const lines = source.split("\n"); + const start = lines.indexOf("outputs:"); + const names: Array<string> = []; + for (const line of lines.slice(start + 1)) { + if (/^\S/.test(line)) break; + const match = /^ {2}([A-Za-z0-9-]+):\s*$/.exec(line); + if (match?.[1] !== undefined) names.push(match[1]); + } + return names; +}; + +describe("OUTPUT_NAMES", () => { + it("names every action.yml output, and nothing action.yml does not declare", () => { + // The outputs were the unguarded half of the parity contract: the inputs + // have had this cross-check since Phase A, so an output added to + // `action.yml` and never published — or published under a name nobody + // declared — stayed invisible until a consumer's workflow read an empty + // string. + const declared = declaredOutputNames(); + expect(declared.length).toBeGreaterThan(0); + expect([...OUTPUT_NAMES].sort()).toEqual([...declared].sort()); + }); + + it("lists them in the order action.yml declares them", () => { + // Nothing depends on the order, and it is asserted anyway: the two lists + // are read side by side whenever an output is added, and a shuffled one + // costs a reviewer the diff. + expect([...OUTPUT_NAMES]).toEqual([...declaredOutputNames()]); + }); +}); + +/** Collects everything one `emitOutputs` call published, as a plain object. */ +const emitted = (model: OutputsModel) => + Effect.gen(function* () { + const seen = new Map<string, string>(); + // The map alone cannot see a duplicate write — a second `set` for the + // same name overwrites the first. The list keeps every call. + const calls: Array<string> = []; + yield* emitOutputs(model).pipe( + Effect.provide( + ActionOutputs.layerTest({ + set: (name, value) => + Effect.sync(() => { + calls.push(name); + seen.set(name, value); + }), + }), + ), + ); + return { seen: Object.fromEntries(seen), calls }; + }); + +describe("emitOutputs", () => { + it.effect("writes every action.yml output exactly once", () => + Effect.gen(function* () { + const { seen, calls } = yield* emitted(initialOutputs); + expect(calls.sort()).toEqual([...OUTPUT_NAMES].sort()); + expect(seen["cache-hit"]).toBe("false"); + expect(seen["turbo-cache-backend"]).toBe("none"); + }), + ); + + it.effect("publishes each field under its own name, not merely under some name", () => + Effect.gen(function* () { + // The name-set assertion above is blind to the thing most likely to go + // wrong in a 16-line block of near-identical `set` calls: a field wired + // to its neighbour's name. Swap `bunVersion` and `denoVersion` in + // `emitOutputs` and every name is still written exactly once. Distinct + // sentinels per field are what make that swap show up as a diff. + const { seen } = yield* emitted({ + nodeVersion: "sentinel-1", + nodeEnabled: true, + bunVersion: "sentinel-2", + bunEnabled: false, + denoVersion: "sentinel-3", + denoEnabled: true, + packageManager: "sentinel-4", + packageManagerVersion: "sentinel-5", + biomeVersion: "sentinel-6", + biomeEnabled: false, + turboEnabled: true, + // The two enum fields cannot take a sentinel, so they take values + // distinct from each other and from every default. + turboCacheBackend: "s3", + turboCachePort: "sentinel-7", + cacheHit: "partial", + lockfiles: "sentinel-8", + cachePaths: "sentinel-9", + }); + + expect(seen).toEqual({ + "node-version": "sentinel-1", + "node-enabled": "true", + "bun-version": "sentinel-2", + "bun-enabled": "false", + "deno-version": "sentinel-3", + "deno-enabled": "true", + "package-manager": "sentinel-4", + "package-manager-version": "sentinel-5", + "biome-version": "sentinel-6", + "biome-enabled": "false", + "turbo-enabled": "true", + "turbo-cache-backend": "s3", + "turbo-cache-port": "sentinel-7", + "cache-hit": "partial", + lockfiles: "sentinel-8", + "cache-paths": "sentinel-9", + }); + }), + ); + + it.effect("keeps the five boolean fields apart from one another", () => + Effect.gen(function* () { + // A boolean has two values and there are five of them, so no single + // model can tell them all apart — the sentinel case above would survive + // a swap between any two booleans that happened to agree. One-hot does + // what sentinels cannot: each field is the only `true` in its own run, + // so a field wired to another's name publishes the wrong one. + const oneHot = [ + ["nodeEnabled", "node-enabled"], + ["bunEnabled", "bun-enabled"], + ["denoEnabled", "deno-enabled"], + ["biomeEnabled", "biome-enabled"], + ["turboEnabled", "turbo-enabled"], + ] as const satisfies ReadonlyArray<readonly [keyof OutputsModel, OutputName]>; + + for (const [field, name] of oneHot) { + const { seen } = yield* emitted({ ...initialOutputs, [field]: true }); + const trueNames = Object.entries(seen) + .filter(([, value]) => value === "true") + .map(([published]) => published); + expect(trueNames).toEqual([name]); + } + }), + ); +}); diff --git a/__test__/unit/state.test.ts b/__test__/unit/state.test.ts new file mode 100644 index 00000000..8adc4f5f --- /dev/null +++ b/__test__/unit/state.test.ts @@ -0,0 +1,182 @@ +import { NodeFileSystem } from "@effect/platform-node"; +import { describe, expect, it } from "@effect/vitest"; +import { ActionEnvironment, ActionOutputs, ActionState, ProcessId } from "@effected/github-actions"; +import { Effect, FileSystem, Layer, Option, Schema } from "effect"; + +import { CacheState, STATE_KEYS, TurboServerState } from "../../src/state.js"; + +/** + * `ActionState.layer` — the real one — pointed at a state file (the `main` + * phase) or seeded with `STATE_*` variables (the `post` phase). + * + * @remarks + * Deliberately not a test double. The two phases use *different* mechanisms: + * `save` appends `key<<DELIM` blocks to `GITHUB_STATE`, `get` reads + * `STATE_<key>` from the environment, and the value crosses between them as + * text. An in-memory double that hands the encoded object straight back + * round-trips schemas that JSON cannot — which is exactly the bug this suite + * exists to catch. + */ +const realState = (env: Record<string, string>): Layer.Layer<ActionState> => + ActionState.layer.pipe( + Layer.provide(ActionEnvironment.layerFrom(env)), + Layer.provide(ActionOutputs.layerTest()), + Layer.provide(NodeFileSystem.layer), + ); + +/** + * What the runner does between phases: parse the `GITHUB_STATE` file's + * heredoc-framed entries and republish each as a `STATE_<key>` variable. + */ +const republish = (raw: string): Record<string, string> => { + const lines = raw.split("\n"); + const env: Record<string, string> = {}; + for (let index = 0; index < lines.length; index++) { + const header = /^(.+?)<<(.+)$/.exec(lines[index] ?? ""); + if (header === null) continue; + const [, key, delimiter] = header as unknown as [string, string, string]; + const body: string[] = []; + index++; + while (index < lines.length && lines[index] !== delimiter) { + body.push(lines[index] ?? ""); + index++; + } + env[`STATE_${key}`] = body.join("\n"); + } + return env; +}; + +/** + * A full `main` → runner → `post` trip: save through the real service into a + * scoped temp state file, republish that file the way the runner does, then + * read it back through a second, independently built service. + */ +const acrossPhases = <A, I>(key: string, value: A, schema: Schema.Codec<A, I>) => + Effect.gen(function* () { + const fs = yield* FileSystem.FileSystem; + const directory = yield* fs.makeTempDirectoryScoped(); + const file = `${directory}/state.txt`; + yield* fs.writeFileString(file, ""); + + yield* Effect.flatMap(ActionState, (state) => state.save(key, value, schema)).pipe( + Effect.provide(realState({ GITHUB_STATE: file })), + ); + + const written = yield* fs.readFileString(file); + const env = republish(written); + const restored = yield* Effect.flatMap(ActionState, (state) => state.get(key, schema)).pipe( + Effect.provide(realState(env)), + ); + + return { restored, published: env[`STATE_${key}`] ?? "" }; + }).pipe(Effect.provide(NodeFileSystem.layer)); + +describe("CacheState", () => { + it.effect("survives the runner state round trip on an exact hit", () => + Effect.gen(function* () { + const value = CacheState.make({ + paths: ["~/.cache/pnpm", "**/node_modules"], + primaryKey: "cache-key-1", + restoredKey: Option.some("cache-key-1"), + lockfiles: ["/work/repo/pnpm-lock.yaml", "/work/repo/deno.lock"], + }); + + const { restored, published } = yield* acrossPhases(STATE_KEYS.cache, value, CacheState); + + expect(restored.paths).toEqual(value.paths); + expect(restored.primaryKey).toBe("cache-key-1"); + expect(restored.lockfiles).toEqual(value.lockfiles); + expect(Option.getOrThrow(restored.restoredKey)).toBe("cache-key-1"); + // The published text is the contract with the runner: JSON, one line, + // and no `Option` internals ("_id") that only decode back to themselves. + expect(published).not.toContain("_id"); + expect(published).not.toContain("\n"); + }), + ); + + it.effect("survives the runner state round trip on a partial restore", () => + Effect.gen(function* () { + const value = CacheState.make({ + paths: ["~/.cache/pnpm"], + primaryKey: "deps-abc123", + restoredKey: Option.some("deps-abc122"), + lockfiles: [], + }); + + const { restored } = yield* acrossPhases(STATE_KEYS.cache, value, CacheState); + + expect(restored.primaryKey).toBe("deps-abc123"); + expect(Option.getOrThrow(restored.restoredKey)).toBe("deps-abc122"); + expect(Option.getOrThrow(restored.restoredKey)).not.toBe(restored.primaryKey); + }), + ); + + it.effect("survives the runner state round trip on a miss", () => + Effect.gen(function* () { + const value = CacheState.make({ + paths: ["~/.cache/pnpm"], + primaryKey: "cache-key-1", + restoredKey: Option.none(), + lockfiles: [], + }); + + const { restored, published } = yield* acrossPhases(STATE_KEYS.cache, value, CacheState); + + expect(Option.isNone(restored.restoredKey)).toBe(true); + expect(published).toContain('"restoredKey":null'); + }), + ); + + it.effect("getOptional reports none when the earlier phase saved nothing", () => + Effect.gen(function* () { + const state = yield* ActionState; + const restored = yield* state.getOptional(STATE_KEYS.cache, CacheState); + expect(Option.isNone(restored)).toBe(true); + }).pipe(Effect.provide(realState({}))), + ); +}); + +describe("TurboServerState", () => { + it.effect("survives the runner state round trip", () => + Effect.gen(function* () { + const value = TurboServerState.make({ + pid: ProcessId.make(12345), + port: 41230, + backend: "github", + logFile: "/tmp/silk-turbo-server.log", + }); + + const { restored } = yield* acrossPhases(STATE_KEYS.turboServer, value, TurboServerState); + + expect(restored).toEqual(value); + }), + ); + + it.effect("rejects pid 0 (the truncated-state-file case)", () => + Effect.gen(function* () { + const exit = yield* Effect.exit( + Schema.decodeUnknownEffect(TurboServerState)({ + pid: 0, + port: 41230, + backend: "github", + logFile: "/tmp/silk-turbo-server.log", + }), + ); + expect(exit._tag).toBe("Failure"); + }), + ); + + it.effect("rejects an unknown backend", () => + Effect.gen(function* () { + const exit = yield* Effect.exit( + Schema.decodeUnknownEffect(TurboServerState)({ + pid: 12345, + port: 41230, + backend: "remote", + logFile: "/tmp/silk-turbo-server.log", + }), + ); + expect(exit._tag).toBe("Failure"); + }), + ); +}); diff --git a/__test__/unit/steps/cache-config.test.ts b/__test__/unit/steps/cache-config.test.ts new file mode 100644 index 00000000..a794b5d3 --- /dev/null +++ b/__test__/unit/steps/cache-config.test.ts @@ -0,0 +1,322 @@ +import { describe, expect, it } from "@effect/vitest"; +import { CacheKey } from "@effected/github-actions"; +import { Option } from "effect"; + +import { RuntimeConfig } from "../../../src/schema/domain.js"; +import { + EMPTY_LOCKFILE_SEGMENT, + LOCKFILE_EXCLUSIONS, + RESTORE_DEPTHS, + TURBO_LOCAL_CACHE_PATHS, + activePackageManagers, + cachePaths, + defaultToolCacheBase, + keySegments, + lockfilePatterns, +} from "../../../src/steps/cache-config.js"; + +/** A `devEngines` config, spelled as briefly as the helpers need it. */ +const config = (packageManager: { name: string; version: string }, ...runtimes: ReadonlyArray<string>): RuntimeConfig => + RuntimeConfig.make({ + packageManager: { name: packageManager.name as "npm", version: packageManager.version }, + runtimes: runtimes.map((name) => ({ name: name as "node", version: "1.0.0" })) as [ + { name: "node"; version: string }, + ], + }); + +/** The five exclusions, verbatim (oracle 5). */ +const EXCLUSIONS = ["!**/node_modules/**", "!**/.git/**", "!**/__fixtures__/**", "!**/__tests__/**", "!**/__test__/**"]; + +/** Everything `cachePaths` needs, with the fields a case does not care about pinned. */ +const pathOptions = (overrides: Partial<Parameters<typeof cachePaths>[0]> = {}): Parameters<typeof cachePaths>[0] => ({ + packageManagers: ["pnpm"], + tools: [], + toolCacheBase: "/opt/hostedtoolcache", + additional: [], + turbo: false, + platform: "linux", + home: "/home/runner", + ...overrides, +}); + +/** Everything `keySegments` needs, with a fixed baseline every case perturbs. */ +const keyOptions = (overrides: Partial<Parameters<typeof keySegments>[0]> = {}): Parameters<typeof keySegments>[0] => ({ + platform: "linux", + arch: "x64", + tools: [{ name: "node", version: "24.11.0" }], + packageManager: { name: "pnpm", version: "10.20.0" }, + branch: "main", + lockfileHash: Option.some("0123456789abcdef0123456789abcdef"), + cacheBust: Option.none(), + ...overrides, +}); + +describe("activePackageManagers", () => { + it("maps a node runtime to the manifest's package manager", () => { + expect(activePackageManagers(config({ name: "pnpm", version: "10.20.0" }, "node"))).toEqual(["pnpm"]); + }); + + it("maps bun and deno runtimes to themselves", () => { + expect(activePackageManagers(config({ name: "npm", version: "11.6.0" }, "bun"))).toEqual(["bun"]); + expect(activePackageManagers(config({ name: "npm", version: "11.6.0" }, "deno"))).toEqual(["deno"]); + }); + + it("unions every runtime's manager, in declaration order", () => { + expect(activePackageManagers(config({ name: "pnpm", version: "10.20.0" }, "node", "bun", "deno"))).toEqual([ + "pnpm", + "bun", + "deno", + ]); + }); + + it("de-duplicates a manager two runtimes both name", () => { + // bun as the manifest's package manager *and* a declared runtime: the node + // runtime contributes "bun" and so does the bun runtime. + expect(activePackageManagers(config({ name: "bun", version: "1.3.3" }, "node", "bun"))).toEqual(["bun"]); + }); +}); + +describe("lockfilePatterns", () => { + it("carries each manager's patterns verbatim", () => { + expect(lockfilePatterns(["npm"], [])).toEqual(["**/npm-shrinkwrap.json", "**/package-lock.json", ...EXCLUSIONS]); + expect(lockfilePatterns(["pnpm"], [])).toEqual([ + "**/.pnpmfile.cjs", + "**/pnpm-lock.yaml", + "**/pnpm-workspace.yaml", + ...EXCLUSIONS, + ]); + expect(lockfilePatterns(["yarn"], [])).toEqual([ + "**/.pnp.cjs", + "**/.yarn/install-state.gz", + "**/yarn.lock", + ...EXCLUSIONS, + ]); + expect(lockfilePatterns(["bun"], [])).toEqual(["**/bun.lock", "**/bun.lockb", ...EXCLUSIONS]); + expect(lockfilePatterns(["deno"], [])).toEqual(["**/deno.lock", ...EXCLUSIONS]); + }); + + it("unions multiple managers and sorts the union", () => { + expect(lockfilePatterns(["pnpm", "deno"], [])).toEqual([ + "**/.pnpmfile.cjs", + "**/deno.lock", + "**/pnpm-lock.yaml", + "**/pnpm-workspace.yaml", + ...EXCLUSIONS, + ]); + }); + + it("appends additional patterns after the sort, in the order they were given", () => { + expect(lockfilePatterns(["deno"], ["**/vendor.lock", "**/custom.lock"])).toEqual([ + "**/deno.lock", + "**/vendor.lock", + "**/custom.lock", + ...EXCLUSIONS, + ]); + }); + + it("ends with the five exclusions, verbatim and last", () => { + expect([...LOCKFILE_EXCLUSIONS]).toEqual(EXCLUSIONS); + expect(lockfilePatterns(["npm"], []).slice(-EXCLUSIONS.length)).toEqual(EXCLUSIONS); + }); +}); + +describe("cachePaths", () => { + it("uses each manager's default store directory on POSIX", () => { + expect(cachePaths(pathOptions({ packageManagers: ["npm"] }))).toContain("/home/runner/.npm"); + expect(cachePaths(pathOptions({ packageManagers: ["pnpm"] }))).toContain("/home/runner/.local/share/pnpm/store"); + expect(cachePaths(pathOptions({ packageManagers: ["yarn"] }))).toContain("/home/runner/.yarn/cache"); + expect(cachePaths(pathOptions({ packageManagers: ["yarn"] }))).toContain("/home/runner/.cache/yarn"); + expect(cachePaths(pathOptions({ packageManagers: ["bun"] }))).toContain("/home/runner/.bun/install/cache"); + expect(cachePaths(pathOptions({ packageManagers: ["deno"] }))).toContain("/home/runner/.cache/deno"); + }); + + it("uses each manager's default store directory on Windows", () => { + const windows = { platform: "win32", home: "C:\\Users\\runneradmin", toolCacheBase: "C:\\hostedtoolcache" }; + expect(cachePaths(pathOptions({ ...windows, packageManagers: ["npm"] }))).toContain( + "C:\\Users\\runneradmin\\AppData\\Local\\npm-cache", + ); + expect(cachePaths(pathOptions({ ...windows, packageManagers: ["pnpm"] }))).toContain( + "C:\\Users\\runneradmin\\AppData\\Local\\pnpm\\store", + ); + expect(cachePaths(pathOptions({ ...windows, packageManagers: ["yarn"] }))).toContain( + "C:\\Users\\runneradmin\\AppData\\Local\\Yarn\\Cache", + ); + expect(cachePaths(pathOptions({ ...windows, packageManagers: ["bun"] }))).toContain( + "C:\\Users\\runneradmin\\AppData\\Local\\bun\\install\\cache", + ); + expect(cachePaths(pathOptions({ ...windows, packageManagers: ["deno"] }))).toContain( + "C:\\Users\\runneradmin\\AppData\\Local\\deno", + ); + }); + + it("adds the per-manager dependency directories (oracle 19)", () => { + expect(cachePaths(pathOptions({ packageManagers: ["npm"] }))).toContain("**/node_modules"); + expect(cachePaths(pathOptions({ packageManagers: ["bun"] }))).toContain("**/node_modules"); + const yarn = cachePaths(pathOptions({ packageManagers: ["yarn"] })); + expect(yarn).toContain("**/node_modules"); + expect(yarn).toContain("**/.yarn/cache"); + expect(yarn).toContain("**/.yarn/unplugged"); + expect(yarn).toContain("**/.yarn/install-state.gz"); + // deno resolves modules into its own store and never writes node_modules. + expect(cachePaths(pathOptions({ packageManagers: ["deno"] }))).not.toContain("**/node_modules"); + }); + + it("adds a hostedtoolcache directory per cacheable tool, and only those", () => { + const paths = cachePaths( + pathOptions({ + tools: [ + { name: "node", version: "24.11.0" }, + { name: "bun", version: "1.3.3" }, + { name: "deno", version: "2.5.6" }, + { name: "biome", version: "2.3.14" }, + { name: "pnpm", version: "10.20.0" }, + ], + }), + ); + expect(paths).toContain("/opt/hostedtoolcache/node/24.11.0"); + expect(paths).toContain("/opt/hostedtoolcache/bun/1.3.3"); + expect(paths).toContain("/opt/hostedtoolcache/deno/2.5.6"); + expect(paths).toContain("/opt/hostedtoolcache/biome/2.3.14"); + // The package manager is not installed into the runtime tool-cache layout + // this action caches, so it contributes no directory. + expect(paths).not.toContain("/opt/hostedtoolcache/pnpm/10.20.0"); + }); + + it("joins tool-cache directories with the target platform's separator", () => { + expect( + cachePaths( + pathOptions({ + platform: "win32", + home: "C:\\Users\\runneradmin", + toolCacheBase: "C:\\hostedtoolcache", + tools: [{ name: "node", version: "24.11.0" }], + }), + ), + ).toContain("C:\\hostedtoolcache\\node\\24.11.0"); + }); + + it("sorts the built-ins absolute-first, then appends the caller's paths and turbo's", () => { + const paths = cachePaths( + pathOptions({ + packageManagers: ["pnpm"], + tools: [{ name: "node", version: "24.11.0" }], + additional: ["**/build", "**/dist"], + turbo: true, + }), + ); + expect(paths).toEqual([ + "/home/runner/.local/share/pnpm/store", + "/opt/hostedtoolcache/node/24.11.0", + "**/node_modules", + "**/build", + "**/dist", + "**/.turbo/cache", + ]); + }); + + it("caches only turbo's artifact directory, and only when turbo was detected", () => { + expect([...TURBO_LOCAL_CACHE_PATHS]).toEqual(["**/.turbo/cache"]); + expect(cachePaths(pathOptions({ turbo: false }))).not.toContain("**/.turbo/cache"); + }); + + it("de-duplicates a caller path that repeats a built-in, keeping the built-in's place", () => { + const paths = cachePaths(pathOptions({ packageManagers: ["pnpm"], additional: ["**/node_modules", "**/dist"] })); + expect(paths.filter((path) => path === "**/node_modules")).toHaveLength(1); + expect(paths).toEqual(["/home/runner/.local/share/pnpm/store", "**/node_modules", "**/dist"]); + }); +}); + +describe("defaultToolCacheBase", () => { + it("answers the runner image's hostedtoolcache root per platform", () => { + expect(defaultToolCacheBase("linux")).toBe("/opt/hostedtoolcache"); + expect(defaultToolCacheBase("darwin")).toBe("/opt/hostedtoolcache"); + expect(defaultToolCacheBase("win32")).toBe("C:\\hostedtoolcache"); + }); +}); + +describe("keySegments", () => { + it("lays the key out as platform-arch-versionHash-branchHash-lockfileHash", () => { + const segments = keySegments(keyOptions()); + expect(segments).toHaveLength(5); + expect(segments[0]).toBe("linux"); + expect(segments[1]).toBe("x64"); + expect(CacheKey.of(...segments).key).toMatch(/^linux-x64-[0-9a-f]{8}-[0-9a-f]{8}-[0-9a-f]{8}$/); + }); + + it("separates architectures on the same platform", () => { + // The bug the arch segment fixes: an arm64 and an x64 macOS runner share a + // platform name and would otherwise restore each other's binaries. + expect(keySegments(keyOptions({ arch: "arm64" }))).not.toEqual(keySegments(keyOptions({ arch: "x64" }))); + }); + + it("truncates the lockfile digest to eight hex characters", () => { + expect(keySegments(keyOptions())[4]).toBe("01234567"); + }); + + it("names the no-lockfile case rather than leaving the segment empty", () => { + const segments = keySegments(keyOptions({ lockfileHash: Option.none() })); + expect(segments[4]).toBe(EMPTY_LOCKFILE_SEGMENT); + // The key still assembles: an empty segment is refused by `CacheKey`. + expect(CacheKey.of(...segments).key.endsWith(`-${EMPTY_LOCKFILE_SEGMENT}`)).toBe(true); + }); + + it("hashes every tool version and the package manager into the version segment", () => { + const baseline = keySegments(keyOptions())[2]; + expect(keySegments(keyOptions({ tools: [{ name: "node", version: "24.11.1" }] }))[2]).not.toBe(baseline); + expect(keySegments(keyOptions({ packageManager: { name: "pnpm", version: "10.20.1" } }))[2]).not.toBe(baseline); + expect(keySegments(keyOptions({ packageManager: { name: "npm", version: "10.20.0" } }))[2]).not.toBe(baseline); + }); + + it("does not depend on the order the tools were declared in", () => { + const tools = [ + { name: "node", version: "24.11.0" }, + { name: "bun", version: "1.3.3" }, + ]; + expect(keySegments(keyOptions({ tools }))[2]).toBe(keySegments(keyOptions({ tools: [...tools].reverse() }))[2]); + }); + + it("perturbs the version segment with the cache bust, and nothing else", () => { + const plain = keySegments(keyOptions()); + const busted = keySegments(keyOptions({ cacheBust: Option.some("npm-ubuntu-123") })); + expect(busted[2]).not.toBe(plain[2]); + expect(busted[0]).toBe(plain[0]); + expect(busted[1]).toBe(plain[1]); + expect(busted[3]).toBe(plain[3]); + expect(busted[4]).toBe(plain[4]); + }); + + it("separates branches, and hashes the branchless case as a literal", () => { + expect(keySegments(keyOptions({ branch: "dev" }))[3]).not.toBe(keySegments(keyOptions({ branch: "main" }))[3]); + // A detached or tagged ref yields no branch name; legacy hashed "null" + // rather than the empty string (oracle 12) and the pairing depends on it. + expect(keySegments(keyOptions({ branch: "" }))[3]).toBe(keySegments(keyOptions({ branch: "null" }))[3]); + }); + + it("is deterministic across calls", () => { + expect(keySegments(keyOptions())).toEqual(keySegments(keyOptions())); + }); +}); + +describe("RESTORE_DEPTHS", () => { + it("falls back within the branch, then across branches, and no further", () => { + const key = CacheKey.of("linux", "x64", "aaaaaaaa", "bbbbbbbb", "cccccccc").withRestoreDepths(RESTORE_DEPTHS); + expect(key.restoreKeys).toEqual(["linux-x64-aaaaaaaa-bbbbbbbb-", "linux-x64-aaaaaaaa-"]); + }); + + it("keeps every rung a prefix of the primary key", () => { + const key = CacheKey.of("linux", "x64", "aaaaaaaa", "bbbbbbbb", "cccccccc").withRestoreDepths(RESTORE_DEPTHS); + for (const rung of key.restoreKeys) { + expect(key.key.startsWith(rung)).toBe(true); + expect(rung.endsWith("-")).toBe(true); + } + }); + + it("stops short of the default ladder, which drops the version digest", () => { + // The reason the policy is carried on the key at all: left to derive its + // own, `CacheKey` offers `linux-x64-` and `linux-` too, and a cache built + // for a different Node restores against either. + const segments = CacheKey.of("linux", "x64", "aaaaaaaa", "bbbbbbbb", "cccccccc"); + expect(segments.restoreKeys).toHaveLength(4); + expect(segments.withRestoreDepths(RESTORE_DEPTHS).restoreKeys).toHaveLength(2); + }); +}); diff --git a/__test__/unit/steps/detect-biome.test.ts b/__test__/unit/steps/detect-biome.test.ts new file mode 100644 index 00000000..0c9615f1 --- /dev/null +++ b/__test__/unit/steps/detect-biome.test.ts @@ -0,0 +1,255 @@ +import { describe, expect, it } from "@effect/vitest"; +import { Effect, FileSystem, Layer, Logger, Option, PlatformError, References } from "effect"; + +import { detectBiome } from "../../../src/steps/detect-biome.js"; + +/** The two config file names the step probes, in the order it probes them. */ +const JSONC = "biome.jsonc"; +const JSON_ = "biome.json"; + +/** A `$schema` url as biome writes it, for `version`. */ +const schemaUrl = (version: string): string => `https://biomejs.dev/schemas/${version}/schema.json`; + +/** Every filesystem call the step made, in order. */ +interface Calls { + readonly accessed: Array<string>; + readonly read: Array<string>; +} + +/** + * A `FileSystem` serving `files` — keyed by the relative path the step probes — + * and nothing else. + * + * @remarks + * `access` fails for anything absent, which is how a missing config file looks + * to the real filesystem. Every other member is left to `layerNoop`, so a step + * reaching for one shows up as a failure rather than a silent success. + */ +const fileSystemTest = ( + files: Readonly<Record<string, string>>, + calls: Calls = { accessed: [], read: [] }, + options: { readonly unreadable?: ReadonlySet<string> } = {}, +): Layer.Layer<FileSystem.FileSystem> => + FileSystem.layerNoop({ + access: (path) => { + calls.accessed.push(path); + return path in files + ? Effect.void + : Effect.fail( + PlatformError.systemError({ + _tag: "NotFound", + module: "FileSystem", + method: "access", + pathOrDescriptor: path, + }), + ); + }, + readFileString: (path) => { + calls.read.push(path); + const contents = files[path]; + return contents === undefined || options.unreadable?.has(path) === true + ? Effect.fail( + PlatformError.systemError({ + _tag: "PermissionDenied", + module: "FileSystem", + method: "readFileString", + pathOrDescriptor: path, + }), + ) + : Effect.succeed(contents); + }, + }); + +/** Runs the step against `files`, returning the resolved version. */ +const run = (requested: Option.Option<string>, files: Readonly<Record<string, string>> = {}, calls?: Calls) => + detectBiome(requested).pipe(Effect.provide(fileSystemTest(files, calls))); + +describe("detectBiome", () => { + it.effect("takes the requested version without touching the filesystem", () => + Effect.gen(function* () { + const calls: Calls = { accessed: [], read: [] }; + // A config file is present and says something else: the override still + // wins, and the file is never even probed (oracle 1-2). + const version = yield* run(Option.some("2.3.14"), { [JSONC]: `{"$schema": "${schemaUrl("9.9.9")}"}` }, calls); + + expect(version).toStrictEqual(Option.some("2.3.14")); + expect(calls.accessed).toEqual([]); + expect(calls.read).toEqual([]); + }), + ); + + it.effect("trims the requested version", () => + Effect.gen(function* () { + // Deviation from v1, which passed " 2.3.14 " straight into a download url + // (oracle quirk 3). The trim is the whole fix: the version is a path + // segment in the release url, and padding makes it a 404. + expect(yield* run(Option.some(" 2.3.14\n"))).toStrictEqual(Option.some("2.3.14")); + }), + ); + + it.effect("reads a blank requested version as no request at all", () => + Effect.gen(function* () { + const calls: Calls = { accessed: [], read: [] }; + const version = yield* run(Option.some(" "), { [JSONC]: `{"$schema": "${schemaUrl("2.4.9")}"}` }, calls); + + // Empty-after-trim is absent, so the config file decides — the same + // reading `ActionInput` already gives the empty string. + expect(version).toStrictEqual(Option.some("2.4.9")); + expect(calls.read).toEqual([JSONC]); + }), + ); + + it.effect("does not semver-validate the requested version", () => + Effect.gen(function* () { + // v1 parity, consciously kept (oracle quirk 4): biome's tags are npm + // -style and the url encodes whatever is asked for, so "latest" and + // "nightly" are legitimate values this step has no business refusing. + expect(yield* run(Option.some("latest"))).toStrictEqual(Option.some("latest")); + }), + ); + + it.effect("refuses a requested version that could redirect the download url", () => + Effect.gen(function* () { + // The version becomes a path segment in the release url. A separator or + // dot-segment names a *different* url, so it is refused outright rather + // than fetched — quirk 4's tag tolerance is about shapes like "next", + // not about path traversal. + for (const hostile of ["../../../evil/repo/releases/download/v1", "2.4.9/extra", "..", "%2e%2e"]) { + expect(yield* run(Option.some(hostile))).toStrictEqual(Option.none()); + } + }), + ); + + it.effect("drops a $schema capture that is not a plain version", () => + Effect.gen(function* () { + const version = yield* run(Option.none(), { + [JSONC]: `{"$schema": "https://biomejs.dev/schemas/../schema.json"}`, + }); + expect(version).toStrictEqual(Option.none()); + }), + ); + + it.effect("reads the version out of biome.jsonc's $schema", () => + Effect.gen(function* () { + const version = yield* run(Option.none(), { [JSONC]: `{"$schema": "${schemaUrl("2.4.9")}"}` }); + expect(version).toStrictEqual(Option.some("2.4.9")); + }), + ); + + it.effect("parses the config as JSONC, comments and all", () => + Effect.gen(function* () { + const contents = `{ + // the version this repository pins + "$schema": "${schemaUrl("2.4.9")}", + "formatter": { "enabled": true }, + }`; + expect(yield* run(Option.none(), { [JSONC]: contents })).toStrictEqual(Option.some("2.4.9")); + }), + ); + + it.effect("falls back to biome.json, and stops at the first file it finds", () => + Effect.gen(function* () { + const calls: Calls = { accessed: [], read: [] }; + const version = yield* run(Option.none(), { [JSON_]: `{"$schema": "${schemaUrl("2.1.0")}"}` }, calls); + + expect(version).toStrictEqual(Option.some("2.1.0")); + expect(calls.accessed).toEqual([JSONC, JSON_]); + + // With both present the probe stops at the first. + const both: Calls = { accessed: [], read: [] }; + const first = yield* run( + Option.none(), + { [JSONC]: `{"$schema": "${schemaUrl("2.4.9")}"}`, [JSON_]: `{"$schema": "${schemaUrl("2.1.0")}"}` }, + both, + ); + expect(first).toStrictEqual(Option.some("2.4.9")); + expect(both.accessed).toEqual([JSONC]); + }), + ); + + it.effect("reports no Biome when neither config file is there", () => + Effect.gen(function* () { + expect(yield* run(Option.none())).toStrictEqual(Option.none()); + }), + ); + + it.effect("reports no Biome when the config file cannot be read", () => + Effect.gen(function* () { + // The file exists and the read fails — a permission problem, say. v1 read + // that as "{}" and carried on (oracle 7), and so does this: a repository + // with an unreadable biome config is not a repository this action should + // fail. + const files = { [JSONC]: `{"$schema": "${schemaUrl("2.4.9")}"}` }; + const version = yield* detectBiome(Option.none()).pipe( + Effect.provide(fileSystemTest(files, undefined, { unreadable: new Set([JSONC]) })), + ); + expect(version).toStrictEqual(Option.none()); + }), + ); + + it.effect("reports no Biome when the config file is not parseable", () => + Effect.gen(function* () { + expect(yield* run(Option.none(), { [JSONC]: "{ this is not json" })).toStrictEqual(Option.none()); + }), + ); + + it.effect("reports no Biome when the config has no $schema", () => + Effect.gen(function* () { + expect(yield* run(Option.none(), { [JSONC]: `{"formatter": {"enabled": true}}` })).toStrictEqual(Option.none()); + }), + ); + + it.effect("survives a $schema that is not a string", () => + Effect.gen(function* () { + // v1's latent defect (oracle 11): a truthy non-string `$schema` reached + // `.match` and threw an unhandled `TypeError`, which killed the action. + // Three shapes, because only the object one is truthy in v1's guard. + for (const schema of ["12", "{}", "[]"]) { + expect(yield* run(Option.none(), { [JSONC]: `{"$schema": ${schema}}` })).toStrictEqual(Option.none()); + } + }), + ); + + it.effect("reports no Biome when the $schema url is not a version url", () => + Effect.gen(function* () { + for (const schema of [ + "https://biomejs.dev/schema.json", + "./node_modules/@biomejs/biome/configuration_schema.json", + "", + ]) { + expect(yield* run(Option.none(), { [JSONC]: `{"$schema": "${schema}"}` })).toStrictEqual(Option.none()); + } + }), + ); + + it.effect("takes the version from any host, and does not validate it", () => + Effect.gen(function* () { + // The regex is v1's, unanchored and host-agnostic (oracle 10): a vendored + // or mirrored schema url resolves the same way, and a moving tag in the + // url is a version this step passes along rather than judges. + const mirrored = "https://internal.example/mirror/biomejs/schemas/2.4.9/schema.json"; + expect(yield* run(Option.none(), { [JSONC]: `{"$schema": "${mirrored}"}` })).toStrictEqual(Option.some("2.4.9")); + expect(yield* run(Option.none(), { [JSONC]: `{"$schema": "${schemaUrl("next")}"}` })).toStrictEqual( + Option.some("next"), + ); + }), + ); + + it.effect("says what it detected", () => + Effect.gen(function* () { + const logs: Array<string> = []; + yield* detectBiome(Option.none()).pipe( + Effect.provide( + Layer.mergeAll( + fileSystemTest({ [JSONC]: `{"$schema": "${schemaUrl("2.4.9")}"}` }), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + Layer.succeed(References.MinimumLogLevel)("Debug"), + ), + ), + ); + + // v1's line, verbatim (oracle 12). + expect(logs).toContain("Detected Biome: 2.4.9"); + }), + ); +}); diff --git a/__test__/unit/steps/detect-turbo.test.ts b/__test__/unit/steps/detect-turbo.test.ts new file mode 100644 index 00000000..ae9da40c --- /dev/null +++ b/__test__/unit/steps/detect-turbo.test.ts @@ -0,0 +1,104 @@ +import { describe, expect, it } from "@effect/vitest"; +import { Effect, FileSystem, Layer, Logger, PlatformError, References } from "effect"; + +import { detectTurbo } from "../../../src/steps/detect-turbo.js"; + +/** The one file the step looks for. */ +const TURBO_JSON = "turbo.json"; + +/** + * A `FileSystem` where `present` names the files that exist. + * + * @remarks + * `access` alone is stubbed: the step must never read or parse the file, so a + * step that does fails here rather than passing on a served body. + */ +const fileSystemTest = ( + present: ReadonlySet<string>, + accessed: Array<string> = [], + failure: PlatformError.SystemErrorTag = "NotFound", +): Layer.Layer<FileSystem.FileSystem> => + FileSystem.layerNoop({ + access: (path) => { + accessed.push(path); + return present.has(path) + ? Effect.void + : Effect.fail( + PlatformError.systemError({ + _tag: failure, + module: "FileSystem", + method: "access", + pathOrDescriptor: path, + }), + ); + }, + }); + +describe("detectTurbo", () => { + it.effect("reports turbo when turbo.json is there", () => + Effect.gen(function* () { + const accessed: Array<string> = []; + const turbo = yield* detectTurbo.pipe(Effect.provide(fileSystemTest(new Set([TURBO_JSON]), accessed))); + + expect(turbo).toEqual({ enabled: true }); + // Presence is the whole test (oracle 24): the contents are never read, so + // an invalid turbo.json still counts. + expect(accessed).toEqual([TURBO_JSON]); + }), + ); + + it.effect("reports no turbo when turbo.json is absent", () => + Effect.gen(function* () { + const turbo = yield* detectTurbo.pipe(Effect.provide(fileSystemTest(new Set()))); + expect(turbo).toEqual({ enabled: false }); + }), + ); + + it.effect("reports no turbo when the probe itself fails", () => + Effect.gen(function* () { + // A permission error is not "absent", but there is nothing else this step + // could answer and nothing a workflow could do with the distinction — + // v1 collapsed every probe failure to false and so does this. + const turbo = yield* detectTurbo.pipe(Effect.provide(fileSystemTest(new Set(), [], "PermissionDenied"))); + expect(turbo).toEqual({ enabled: false }); + }), + ); + + it.effect("does not look for a turbo.jsonc", () => + Effect.gen(function* () { + // v1 had no such fallback and neither does this (oracle 25). A repository + // that only has turbo.jsonc reports no turbo, which is the parity answer. + const accessed: Array<string> = []; + const turbo = yield* detectTurbo.pipe(Effect.provide(fileSystemTest(new Set(["turbo.jsonc"]), accessed))); + + expect(turbo).toEqual({ enabled: false }); + expect(accessed).toEqual([TURBO_JSON]); + }), + ); + + it.effect("says what it detected", () => + Effect.gen(function* () { + const logs: Array<string> = []; + const logger = Layer.mergeAll( + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + Layer.succeed(References.MinimumLogLevel)("Debug"), + ); + yield* detectTurbo.pipe(Effect.provide(Layer.mergeAll(fileSystemTest(new Set([TURBO_JSON])), logger))); + + // v1's line, verbatim (oracle 26). + expect(logs).toContain("Detected Turbo configuration"); + + const quiet: Array<string> = []; + yield* detectTurbo.pipe( + Effect.provide( + Layer.mergeAll( + fileSystemTest(new Set()), + Logger.layer([Logger.make(({ message }) => void quiet.push(String(message)))]), + Layer.succeed(References.MinimumLogLevel)("Debug"), + ), + ), + ); + expect(quiet).not.toContain("Detected Turbo configuration"); + }), + ); +}); diff --git a/__test__/unit/steps/install-biome.test.ts b/__test__/unit/steps/install-biome.test.ts new file mode 100644 index 00000000..dfe4b15d --- /dev/null +++ b/__test__/unit/steps/install-biome.test.ts @@ -0,0 +1,186 @@ +import { describe, expect, it } from "@effect/vitest"; +import type { ProvisionFileOptions } from "@effected/github-actions"; +import { + ActionLogger, + ActionOutputError, + ActionOutputs, + ToolInstaller, + ToolInstallerError, +} from "@effected/github-actions"; +import { Effect, FileSystem, Layer, Logger, Option, References } from "effect"; + +import { installBiome } from "../../../src/steps/install-biome.js"; + +/** The tool cache the double provisions into. */ +const CACHED = "/opt/hostedtoolcache/biome/2.4.9/x64"; + +/** Everything a case cares about from one run's interactions with the runner. */ +interface Recorded { + readonly provisioned: Array<ProvisionFileOptions>; + readonly paths: Array<string>; + readonly logs: Array<string>; +} + +/** + * The services the step needs, with `provisionFile` answering `answer`. + * + * @remarks + * `provisionFile` is the only `ToolInstaller` member stubbed: `find`, + * `download`, `cacheFile` and the chmod are the provisioner's job now, so a + * step reaching for one of them dies rather than passing. + */ +const makeLayer = ( + recorded: Recorded, + answer: ( + options: ProvisionFileOptions, + ) => Effect.Effect<{ directory: string; binDir: string }, ToolInstallerError> = () => + Effect.succeed({ directory: CACHED, binDir: CACHED }), +) => + Layer.mergeAll( + ToolInstaller.layerTest({ + provisionFile: (options) => { + recorded.provisioned.push(options); + return answer(options); + }, + }), + ActionOutputs.layerTest({ addPath: (path) => Effect.sync(() => void recorded.paths.push(path)) }), + FileSystem.layerNoop({}), + ActionLogger.layerTest({}), + Logger.layer([Logger.make(({ message }) => void recorded.logs.push(String(message)))]), + Layer.succeed(References.MinimumLogLevel)("Debug"), + ); + +/** A fresh recorder. */ +const recorder = (): Recorded => ({ provisioned: [], paths: [], logs: [] }); + +/** A linux x64 runner, so a case that does not care about the host says nothing. */ +const LINUX = { platform: "linux", arch: "x64" }; + +describe("installBiome", () => { + it.effect("installs nothing when no version was resolved", () => + Effect.gen(function* () { + const recorded = recorder(); + const installed = yield* installBiome(Option.none(), LINUX).pipe(Effect.provide(makeLayer(recorded))); + + expect(installed).toStrictEqual(Option.none()); + expect(recorded.provisioned).toEqual([]); + expect(recorded.paths).toEqual([]); + }), + ); + + it.effect("provisions the resolved version and publishes its directory to PATH", () => + Effect.gen(function* () { + const recorded = recorder(); + const installed = yield* installBiome(Option.some("2.4.9"), LINUX).pipe(Effect.provide(makeLayer(recorded))); + + expect(recorded.provisioned).toEqual([ + { + tool: "biome", + version: "2.4.9", + url: "https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%402.4.9/biome-linux-x64", + binary: "biome", + }, + ]); + // The cached directory holds exactly the executable, so it is what goes + // on the PATH — the provisioner's `binDir`, not a path derived here. + expect(recorded.paths).toEqual([CACHED]); + expect(installed).toStrictEqual(Option.some({ version: "2.4.9", path: CACHED })); + }), + ); + + it.effect("asks for the host's own asset, under the name the host invokes", () => + Effect.gen(function* () { + const recorded = recorder(); + yield* installBiome(Option.some("2.4.9"), { platform: "win32", arch: "x64" }).pipe( + Effect.provide(makeLayer(recorded)), + ); + + expect(recorded.provisioned[0]?.url).toBe( + "https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%402.4.9/biome-win32-x64.exe", + ); + expect(recorded.provisioned[0]?.binary).toBe("biome.exe"); + }), + ); + + it.effect("fails as a detect problem on a host biome does not publish for", () => + Effect.gen(function* () { + const recorded = recorder(); + const error = yield* installBiome(Option.some("2.4.9"), { platform: "freebsd", arch: "x64" }).pipe( + Effect.provide(makeLayer(recorded)), + Effect.flip, + ); + + expect(error._tag).toBe("BiomeInstallError"); + expect(error.reason).toBe("detect"); + // v1's prose, verbatim. + expect(error.message).toBe("Unsupported platform for Biome: freebsd-x64"); + expect(recorded.provisioned).toEqual([]); + }), + ); + + it.effect("maps the provisioner's reasons onto its own", () => + Effect.gen(function* () { + const cases: ReadonlyArray<readonly [ToolInstallerError["reason"], string]> = [ + ["downloadFailed", "download"], + ["cacheFailed", "cache"], + // Unreachable for a single binary — there is no archive to extract — + // but the union is the provisioner's, so every literal in it is spelled + // out. The mapping switch has no fallback, so a fourth reason upstream + // is a typecheck failure rather than a silent `cache`; this list is + // the runtime half of that, and covers the union exhaustively. + ["extractFailed", "cache"], + ]; + for (const [reason, expected] of cases) { + const error = yield* installBiome(Option.some("2.4.9"), LINUX).pipe( + Effect.provide( + makeLayer(recorder(), () => Effect.fail(new ToolInstallerError({ reason, subject: "biome" }))), + ), + Effect.flip, + ); + expect(error.reason).toBe(expected); + // The provisioner's own prose is carried through rather than wrapped: + // the call site adds the one prefix a reader needs (oracle 28). + expect(error.message).toContain("biome"); + expect(error.cause).toBeDefined(); + } + }), + ); + + it.effect("fails when what it provisioned cannot be published to PATH", () => + Effect.gen(function* () { + const recorded = recorder(); + const error = yield* installBiome(Option.some("2.4.9"), LINUX).pipe( + Effect.provide( + Layer.mergeAll( + ToolInstaller.layerTest({ + provisionFile: (options) => { + recorded.provisioned.push(options); + return Effect.succeed({ directory: CACHED, binDir: CACHED }); + }, + }), + ActionOutputs.layerTest({ + addPath: () => Effect.fail(new ActionOutputError({ reason: "writeFailed", file: "GITHUB_PATH" })), + }), + FileSystem.layerNoop({}), + ActionLogger.layerTest({}), + ), + ), + Effect.flip, + ); + + // A tool in the cache that this run could not make reachable is, to a + // caller, the same as one that never landed — v1 swept the same failure + // into its single catch (oracle 32). + expect(error.reason).toBe("cache"); + expect(error.message).toContain("could not be published to PATH"); + }), + ); + + it.effect("says what it installed", () => + Effect.gen(function* () { + const recorded = recorder(); + yield* installBiome(Option.some("2.4.9"), LINUX).pipe(Effect.provide(makeLayer(recorded))); + expect(recorded.logs).toContain("Biome 2.4.9"); + }), + ); +}); diff --git a/__test__/unit/steps/install-dependencies.test.ts b/__test__/unit/steps/install-dependencies.test.ts new file mode 100644 index 00000000..33998f8f --- /dev/null +++ b/__test__/unit/steps/install-dependencies.test.ts @@ -0,0 +1,569 @@ +import { delimiter } from "node:path"; +import { describe, expect, it } from "@effect/vitest"; +import { ActionLogger } from "@effected/github-actions"; +import { Effect, FileSystem, Layer, Logger, Option, PlatformError, Sink, Stream } from "effect"; +import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process"; + +import type { PackageManagerName } from "../../../src/schema/domain.js"; +import { InstallError, installDependencies } from "../../../src/steps/install-dependencies.js"; +import type { ActivatedPackageManager } from "../../../src/steps/setup-package-manager.js"; + +/** + * The spelling this process gives `PATH` — `Path` on Windows, `PATH` elsewhere. + * + * @remarks + * The step reuses the existing key rather than adding one, so an assertion that + * hard-coded `PATH` would be wrong on a Windows host. Derived the same way the + * step derives it, which is the point: what is pinned is that the prepends + * reach the child, not which case they arrive in. + */ +const pathKey = Object.keys(process.env).find((key) => key.toUpperCase() === "PATH") ?? "PATH"; + +/** A 2b result, with nothing this action put on disk unless a `binDir` is named. */ +const activated = (name: PackageManagerName, binDir?: string): ActivatedPackageManager => ({ + name, + version: "0.0.0", + binDir: binDir === undefined ? Option.none() : Option.some(binDir), +}); + +/** One recorded `spawn`, down to the fields the command's correctness lives in. */ +interface Invocation { + readonly command: string; + readonly args: ReadonlyArray<string>; + readonly env: Record<string, string | undefined> | undefined; + readonly extendEnv: boolean | undefined; + readonly stdout: unknown; + readonly shell: boolean | string | undefined; +} + +/** What the doubled child process does once it has been spawned. */ +interface Outcome { + readonly exitCode?: number; + readonly stderr?: string; + readonly spawnFailure?: PlatformError.PlatformError; +} + +interface Recorder { + readonly spawns: Array<Invocation>; + readonly probed: Array<string>; + readonly logs: Array<string>; +} + +const recorder = (): Recorder => ({ spawns: [], probed: [], logs: [] }); + +const encode = (text: string): Uint8Array => new TextEncoder().encode(text); + +/** A child process handle whose only interesting members are `stderr` and `exitCode`. */ +const handleOf = (outcome: Outcome): ChildProcessSpawner.ChildProcessHandle => + ChildProcessSpawner.makeHandle({ + pid: ChildProcessSpawner.ProcessId(4242), + exitCode: Effect.succeed(ChildProcessSpawner.ExitCode(outcome.exitCode ?? 0)), + isRunning: Effect.succeed(false), + kill: () => Effect.void, + stdin: Sink.drain, + // Empty because the step inherits the child's stdout rather than reading + // it: an install's own transcript goes straight to the workflow log. + stdout: Stream.empty, + stderr: outcome.stderr === undefined ? Stream.empty : Stream.make(encode(outcome.stderr)), + all: Stream.empty, + getInputFd: () => Sink.drain, + getOutputFd: () => Stream.empty, + unref: Effect.succeed(Effect.void), + }); + +/** + * A `ChildProcessSpawner` recording every command it is asked to spawn. + * + * @remarks + * The legacy suite's eight install tests were vacuous: its runner double + * answered any unmatched command with a zero exit, so wrong arguments still + * passed (oracle 26-27). Here the command, its arguments and its environment + * are recorded and asserted, so wrong arguments are red. + */ +const spawnerRecording = (log: Recorder, outcome: Outcome = {}): Layer.Layer<ChildProcessSpawner.ChildProcessSpawner> => + Layer.succeed(ChildProcessSpawner.ChildProcessSpawner, { + spawn: (command) => { + if (!ChildProcess.isStandardCommand(command)) { + return Effect.die(new Error("expected a standard command, not a pipeline")); + } + log.spawns.push({ + command: command.command, + args: command.args, + env: command.options.env, + extendEnv: command.options.extendEnv, + stdout: command.options.stdout, + shell: command.options.shell, + }); + return outcome.spawnFailure === undefined ? Effect.succeed(handleOf(outcome)) : Effect.fail(outcome.spawnFailure); + }, + // The step spawns for itself so it can read stderr while the install runs; + // a derived member reaching here means it stopped doing that. + exitCode: () => Effect.die(new Error("ChildProcessSpawner.exitCode not stubbed")), + streamString: () => Stream.die(new Error("ChildProcessSpawner.streamString not stubbed")), + streamLines: () => Stream.die(new Error("ChildProcessSpawner.streamLines not stubbed")), + lines: () => Effect.die(new Error("ChildProcessSpawner.lines not stubbed")), + string: () => Effect.die(new Error("ChildProcessSpawner.string not stubbed")), + }); + +/** A `FileSystem` in which exactly `present` exists, recording every probe. */ +const fsWith = (log: Recorder, present: ReadonlyArray<string>): Layer.Layer<FileSystem.FileSystem> => + FileSystem.layerNoop({ + exists: (path) => { + log.probed.push(path); + return Effect.succeed(present.includes(path)); + }, + }); + +/** A `FileSystem` whose every probe fails, as an unreadable working tree would. */ +const fsFailing = (log: Recorder): Layer.Layer<FileSystem.FileSystem> => + FileSystem.layerNoop({ + exists: (path) => { + log.probed.push(path); + return Effect.fail( + PlatformError.systemError({ _tag: "PermissionDenied", module: "FileSystem", method: "exists" }), + ); + }, + }); + +const layerFor = ( + log: Recorder, + options: { readonly present?: ReadonlyArray<string>; readonly outcome?: Outcome; readonly unreadable?: boolean } = {}, +) => + Layer.mergeAll( + spawnerRecording(log, options.outcome ?? {}), + options.unreadable === true ? fsFailing(log) : fsWith(log, options.present ?? []), + ActionLogger.layerTest({}), + Logger.layer([ + Logger.make<unknown, void>(({ message }) => { + log.logs.push(Array.isArray(message) ? message.map(String).join(" ") : String(message)); + }), + ]), + ); + +/** Runs the step against a workspace containing exactly `present`. */ +const run = ( + log: Recorder, + pm: ActivatedPackageManager, + options: { + readonly present?: ReadonlyArray<string>; + readonly outcome?: Outcome; + readonly unreadable?: boolean; + readonly enabled?: boolean; + readonly prepends?: ReadonlyArray<string>; + readonly platform?: string; + } = {}, +) => + installDependencies(pm, options.enabled ?? true, options.prepends ?? [], options.platform ?? "linux").pipe( + Effect.provide(layerFor(log, options)), + ); + +describe("installDependencies", () => { + it.effect("runs `npm ci` when a package-lock.json is present", () => + Effect.gen(function* () { + const log = recorder(); + const result = yield* run(log, activated("npm"), { present: ["package-lock.json"] }); + + expect(log.spawns).toHaveLength(1); + expect(log.spawns[0]?.command).toBe("npm"); + expect(log.spawns[0]?.args).toEqual(["ci"]); + expect(result).toEqual({ ran: true }); + }), + ); + + it.effect("runs `npm install` when no package-lock.json is present", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("npm")); + + expect(log.spawns[0]?.args).toEqual(["install"]); + }), + ); + + it.effect("runs `pnpm install --frozen-lockfile` when a pnpm-lock.yaml is present", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("pnpm"), { present: ["pnpm-lock.yaml"] }); + + expect(log.spawns[0]?.command).toBe("pnpm"); + expect(log.spawns[0]?.args).toEqual(["install", "--frozen-lockfile"]); + }), + ); + + it.effect("runs a plain `pnpm install` when no pnpm-lock.yaml is present", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("pnpm")); + + expect(log.spawns[0]?.args).toEqual(["install"]); + }), + ); + + it.effect("runs `yarn install --immutable` when a yarn.lock is present", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("yarn"), { present: ["yarn.lock"] }); + + expect(log.spawns[0]?.command).toBe("yarn"); + expect(log.spawns[0]?.args).toEqual(["install", "--immutable"]); + }), + ); + + it.effect("runs `yarn install --no-immutable` when no yarn.lock is present", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("yarn")); + + // The one manager that *adds* a flag in the absent case, and the one + // install this action performs that may rewrite a lockfile in CI + // (oracle 8). Ported deliberately. + expect(log.spawns[0]?.args).toEqual(["install", "--no-immutable"]); + }), + ); + + it.effect("runs `bun install --frozen-lockfile` for the text bun.lock", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("bun"), { present: ["bun.lock"] }); + + expect(log.spawns[0]?.command).toBe("bun"); + expect(log.spawns[0]?.args).toEqual(["install", "--frozen-lockfile"]); + // The first probe answered, so the legacy format is never looked for: + // the two probes short-circuit rather than both running unconditionally. + expect(log.probed).toEqual(["bun.lock"]); + }), + ); + + it.effect("runs `bun install --frozen-lockfile` for the binary bun.lockb", () => + Effect.gen(function* () { + const log = recorder(); + // The probe legacy performed and never tested (oracle 9, 25). + yield* run(log, activated("bun"), { present: ["bun.lockb"] }); + + expect(log.spawns[0]?.args).toEqual(["install", "--frozen-lockfile"]); + expect(log.probed).toEqual(["bun.lock", "bun.lockb"]); + }), + ); + + it.effect("runs a plain `bun install` when neither bun lockfile is present", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("bun")); + + expect(log.spawns[0]?.args).toEqual(["install"]); + }), + ); + + it.effect("probes lockfiles by bare, working-directory-relative name", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("pnpm"), { present: ["pnpm-lock.yaml"] }); + + // Relative, exactly as legacy probed (oracle 2): the action runs in the + // checkout, and an absolute path would have to invent a root. + expect(log.probed).toEqual(["pnpm-lock.yaml"]); + }), + ); + + it.effect("treats an unreadable working tree as a workspace with no lockfile", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("npm"), { unreadable: true }); + + // Any probe failure is `false` (oracle 2). Installing without `ci` is the + // recoverable answer; failing the step over a stat is not. + expect(log.spawns[0]?.args).toEqual(["install"]); + }), + ); + + it.effect("skips the install entirely for deno", () => + Effect.gen(function* () { + const log = recorder(); + const result = yield* run(log, activated("deno"), { present: ["deno.lock"] }); + + expect(log.logs).toContain("Deno caches dependencies automatically, skipping install step"); + expect(log.probed).toEqual([]); + expect(log.spawns).toEqual([]); + // Truthful, unlike legacy's summary row, which mirrored the raw input and + // reported deno's skipped install as done (oracle 17, 33). + expect(result).toEqual({ ran: false }); + }), + ); + + it.effect("neither probes nor spawns when dependency installation is disabled", () => + Effect.gen(function* () { + const log = recorder(); + const result = yield* run(log, activated("pnpm"), { present: ["pnpm-lock.yaml"], enabled: false }); + + expect(log.probed).toEqual([]); + expect(log.spawns).toEqual([]); + expect(result).toEqual({ ran: false }); + expect(log.logs).not.toContain("Dependencies installed successfully"); + }), + ); + + it.effect("logs the success line after a clean install", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("pnpm"), { present: ["pnpm-lock.yaml"] }); + + expect(log.logs).toContain("Dependencies installed successfully"); + }), + ); + + it.effect("prepends the manager's bin directory to the child's PATH", () => + Effect.gen(function* () { + const log = recorder(); + const previous = process.env.PATH; + process.env.PATH = "/usr/bin"; + try { + yield* run(log, activated("pnpm", "/opt/toolcache/pnpm/10.20.0/.bin"), { + present: ["pnpm-lock.yaml"], + prepends: ["/opt/toolcache/pnpm/10.20.0/.bin"], + }); + } finally { + process.env.PATH = previous; + } + + // `addPath` writes GITHUB_PATH for *later* steps and never touches this + // process, so the child has to be told where the manager landed. Bare + // name plus PATH rather than an absolute path so that lifecycle scripts + // the manager itself spawns resolve it too. + expect(log.spawns[0]?.command).toBe("pnpm"); + expect(log.spawns[0]?.env).toEqual({ PATH: `/opt/toolcache/pnpm/10.20.0/.bin${delimiter}/usr/bin` }); + // Without this the child would run with *only* PATH set. + expect(log.spawns[0]?.extendEnv).toBe(true); + }), + ); + + it.effect("prepends every installed directory, in the order it was given them", () => + Effect.gen(function* () { + const log = recorder(); + const previous = process.env.PATH; + process.env.PATH = "/usr/bin"; + try { + yield* run(log, activated("pnpm", "/opt/toolcache/pnpm/10.20.0/.bin"), { + present: ["pnpm-lock.yaml"], + prepends: [ + "/opt/toolcache/pnpm/10.20.0/.bin", + "/opt/toolcache/node/24.11.0/bin", + "/opt/toolcache/bun/1.3.3", + "/opt/toolcache/deno/2.5.6", + ], + }); + } finally { + process.env.PATH = previous; + } + + // The runtimes are here because the install is not a leaf: a lifecycle + // script running `deno install` resolves `deno` off the PATH it inherits + // from this child. With only the manager prepended it found nothing — + // `deno: not found`, on every runner OS. + // + // One value, one delimiter, manager first: its shims win a name collision + // with a same-named runtime. + expect(log.spawns[0]?.env).toEqual({ + PATH: [ + "/opt/toolcache/pnpm/10.20.0/.bin", + "/opt/toolcache/node/24.11.0/bin", + "/opt/toolcache/bun/1.3.3", + "/opt/toolcache/deno/2.5.6", + "/usr/bin", + ].join(delimiter), + }); + expect(log.spawns[0]?.extendEnv).toBe(true); + }), + ); + + it.effect("prepends onto the PATH variable the process actually has, whatever its case", () => + Effect.gen(function* () { + const log = recorder(); + const previous = process.env.PATH; + // What a Windows runner's environment looks like. Node does resolve a + // `PATH` emitted beside an inherited `Path` — `normalizeSpawnArguments` + // de-duplicates case-insensitively on win32 and keeps the + // lexicographically-first key — but that is an undocumented internal. + // Reusing the existing spelling means not relying on it. + process.env.Path = "C:\\bin"; + delete process.env.PATH; + try { + yield* run(log, activated("npm", "/tool/.bin"), { prepends: ["/tool/.bin"] }); + } finally { + delete process.env.Path; + if (previous !== undefined) process.env.PATH = previous; + } + + expect(log.spawns[0]?.env).toEqual({ Path: `/tool/.bin${delimiter}C:\\bin` }); + }), + ); + + it.effect("leaves the environment alone when there is nothing to prepend", () => + Effect.gen(function* () { + const log = recorder(); + // An ambient manager and no runtime this run installed: the empty list is + // what that looks like here, and the child inherits the environment + // untouched rather than getting a PATH that only restates it. + yield* run(log, activated("npm"), { prepends: [] }); + + expect(log.spawns[0]?.env).toBeUndefined(); + expect(log.spawns[0]?.extendEnv).toBeUndefined(); + }), + ); + + it.effect("lets the install write its own transcript straight to the workflow log", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("pnpm")); + + // Legacy streamed install output live. Inheriting stdout is what keeps + // that true, and it is also what keeps a chatty install from filling a + // pipe nobody drains. + expect(log.spawns[0]?.stdout).toBe("inherit"); + }), + ); + + it.effect("launches the manager through a shell on Windows", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("pnpm", "C:\\tool\\.bin"), { + present: ["pnpm-lock.yaml"], + prepends: ["C:\\tool\\.bin"], + platform: "win32", + }); + + // Every node-based manager on a Windows PATH is a `.cmd` batch shim. + // CreateProcess cannot execute one, and since CVE-2024-27980 Node will + // not even hand it over without a shell — a direct spawn died at launch + // with `NotFound: ChildProcess.spawn`, before the install ran. + expect(log.spawns[0]?.shell).toBe(true); + // The bare name and the argv are untouched by the shell. + expect(log.spawns[0]?.command).toBe("pnpm"); + expect(log.spawns[0]?.args).toEqual(["install", "--frozen-lockfile"]); + // And so is the PATH the child gets: `cmd.exe` resolves the bare name + // off the *child's* environment, so the prepends are what make the + // manager findable at all under a shell. Keyed by whatever spelling + // this process has, so the assertion holds on a Windows host too. + expect(log.spawns[0]?.env).toEqual({ [pathKey]: `C:\\tool\\.bin${delimiter}${process.env[pathKey] ?? ""}` }); + expect(log.spawns[0]?.extendEnv).toBe(true); + }), + ); + + it.effect("launches bun through a shell on Windows too", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("bun", "C:\\tool\\bun"), { + present: ["bun.lock"], + prepends: ["C:\\tool\\bun"], + platform: "win32", + }); + + // bun is the one manager that did *not* need this — `bun.exe` is a real + // binary, and bun-as-manager was the single Windows job passing before + // the fix. Shelling it anyway is deliberate: `cmd.exe` resolves a bare + // `bun` through PATHEXT, where `.EXE` precedes `.CMD`, so it finds the + // same executable in the same prepended directory. One launch path for + // all four managers, at no cost to the one that was already fine. + expect(log.spawns[0]?.shell).toBe(true); + expect(log.spawns[0]?.command).toBe("bun"); + expect(log.spawns[0]?.args).toEqual(["install", "--frozen-lockfile"]); + }), + ); + + it.effect("spawns the manager directly everywhere else", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("pnpm"), { present: ["pnpm-lock.yaml"], platform: "darwin" }); + + // POSIX behavior is unchanged by the Windows fix: no shell between this + // step and the manager, so nothing re-interprets the command line and + // the exit code arrives from the manager itself. + expect(log.spawns[0]?.shell).toBeUndefined(); + }), + ); + + it.effect("reports a command that could not be spawned at all", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + run(log, activated("pnpm"), { + outcome: { + spawnFailure: PlatformError.systemError({ + _tag: "NotFound", + module: "ChildProcess", + method: "spawn", + description: "pnpm", + }), + }, + }), + ); + + expect(error._tag).toBe("InstallError"); + expect(error.reason).toBe("spawn"); + expect(error.message).toContain("Failed to install dependencies with pnpm: "); + expect(error.cause).toBeDefined(); + }), + ); + + it.effect("reports a non-zero exit with the command, the code and the stderr tail", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + run(log, activated("pnpm"), { + present: ["pnpm-lock.yaml"], + outcome: { exitCode: 1, stderr: "ERR_PNPM_OUTDATED_LOCKFILE Cannot install with frozen-lockfile\n" }, + }), + ); + + expect(error.reason).toBe("exit-code"); + expect(error.message).toContain("pnpm install --frozen-lockfile"); + expect(error.message).toContain("exited with code 1"); + expect(error.message).toContain("ERR_PNPM_OUTDATED_LOCKFILE"); + expect(error.cause).toBeDefined(); + }), + ); + + it.effect("names the failure once, not twice", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip(run(log, activated("yarn"), { outcome: { exitCode: 2 } })); + + // Legacy nested its own prose inside itself: the class rendered "Failed to + // install dependencies with yarn: Failed to install dependencies: …" + // (oracle 21). One prefix, ruled. + expect(error.message.split("Failed to install dependencies")).toHaveLength(2); + expect(error.message.startsWith("Failed to install dependencies with yarn: ")).toBe(true); + }), + ); + + it.effect("carries only the tail of a long stderr into the message", () => + Effect.gen(function* () { + const log = recorder(); + const stderr = Array.from({ length: 40 }, (_unused, index) => `line ${index}`).join("\n"); + const error = yield* Effect.flip(run(log, activated("npm"), { outcome: { exitCode: 1, stderr } })); + + // Exactly the last ten, pinned at the boundary: `line 30` is the oldest + // line kept and `line 29` the newest dropped. The whole point of a tail + // is that a failure message stays readable when the install spilled + // hundreds of lines, all of which the log already has. + expect(error.message).toContain("line 39"); + expect(error.message).toContain("line 30"); + expect(error.message).not.toContain("line 29"); + }), + ); + + it.effect("replays what the install wrote to stderr", () => + Effect.gen(function* () { + const log = recorder(); + yield* run(log, activated("npm"), { outcome: { stderr: "npm warn deprecated left-pad@1.3.0\n" } }); + + // A warning on a green install is still worth seeing; the step reads + // stderr for the failure tail, so echoing it is what keeps it visible. + expect(log.logs).toContain("npm warn deprecated left-pad@1.3.0"); + }), + ); + + it("InstallError carries its tag and reason", () => { + const error = new InstallError({ reason: "spawn", message: "boom" }); + expect(error._tag).toBe("InstallError"); + expect(error.reason).toBe("spawn"); + }); +}); diff --git a/__test__/unit/steps/install-runtimes.test.ts b/__test__/unit/steps/install-runtimes.test.ts new file mode 100644 index 00000000..164ae6ca --- /dev/null +++ b/__test__/unit/steps/install-runtimes.test.ts @@ -0,0 +1,449 @@ +import { describe, expect, it } from "@effect/vitest"; +import { + ActionLogger, + ActionOutputError, + ActionOutputs, + ToolInstaller, + ToolInstallerError, +} from "@effected/github-actions"; +import { Effect, Layer, Logger, Option, Path, Stream } from "effect"; +import type { ChildProcess } from "effect/unstable/process"; +import { ChildProcessSpawner } from "effect/unstable/process"; + +import { RuntimeConfig } from "../../../src/schema/domain.js"; +import type { Host } from "../../../src/steps/install-runtimes.js"; +import { RuntimeInstallError, currentHost, installRuntimes } from "../../../src/steps/install-runtimes.js"; + +/** The host every case runs against unless it is testing a different one. */ +const LINUX_X64: Host = { platform: "linux", arch: "x64" }; + +/** A config carrying exactly the runtimes a case needs, in declaration order. */ +const configOf = ( + first: { name: "node" | "bun" | "deno"; version: string }, + ...rest: ReadonlyArray<{ name: "node" | "bun" | "deno"; version: string }> +) => RuntimeConfig.make({ packageManager: { name: "pnpm", version: "10.20.0" }, runtimes: [first, ...rest] }); + +/** + * A `ChildProcessSpawner` double. + * + * @remarks + * Written out member by member rather than through `ChildProcessSpawner.make`, + * which derives every member from `spawn` and so would need a whole + * `ChildProcessHandle` to stub the one member the verify probe uses. Every + * other member dies, per the house rule. + */ +const spawnerTest = ( + onExitCode: (command: ChildProcess.Command) => Effect.Effect<number>, +): Layer.Layer<ChildProcessSpawner.ChildProcessSpawner> => + Layer.succeed(ChildProcessSpawner.ChildProcessSpawner, { + spawn: () => Effect.die(new Error("ChildProcessSpawner.spawn not stubbed")), + exitCode: (command) => Effect.map(onExitCode(command), ChildProcessSpawner.ExitCode), + streamString: () => Stream.die(new Error("ChildProcessSpawner.streamString not stubbed")), + streamLines: () => Stream.die(new Error("ChildProcessSpawner.streamLines not stubbed")), + lines: () => Effect.die(new Error("ChildProcessSpawner.lines not stubbed")), + string: () => Effect.die(new Error("ChildProcessSpawner.string not stubbed")), + }); + +/** Records what a case's doubles were asked to do, so order and elision are assertable. */ +interface Recorder { + readonly calls: Array<string>; + readonly urls: Array<string>; + readonly paths: Array<string>; + readonly probes: Array<{ readonly command: string; readonly args: ReadonlyArray<string> }>; + readonly logs: Array<string>; +} + +const recorder = (): Recorder => ({ calls: [], urls: [], paths: [], probes: [], logs: [] }); + +/** A `find` that reports every tool as already cached, at the canonical layout. */ +const hit = + (log: Recorder): ToolInstaller["Service"]["find"] => + (tool, version) => + Effect.sync(() => { + log.calls.push(`find:${tool}@${version}`); + return Option.some(`/opt/toolcache/${tool}/${version}`); + }); + +/** + * Every service `installRuntimes` requires, doubled around a happy-path + * install. + * + * @remarks + * `installer` overrides individual `ToolInstaller` members; `bareInstaller` + * drops the happy-path doubles entirely, so every member the case does not + * stub dies — which is how "this step was skipped" becomes an assertion rather + * than an absence. + */ +const layerFor = ( + log: Recorder, + options: { + readonly installer?: Partial<ToolInstaller["Service"]>; + readonly bareInstaller?: boolean; + readonly exitCode?: number; + readonly addPath?: ActionOutputs["Service"]["addPath"]; + } = {}, +) => + Layer.mergeAll( + ToolInstaller.layerTest({ + ...(options.bareInstaller === true + ? {} + : { + find: (tool, version) => + Effect.sync(() => { + log.calls.push(`find:${tool}@${version}`); + return Option.none(); + }), + download: (url) => + Effect.sync(() => { + log.calls.push("download"); + log.urls.push(url); + return "/tmp/archive"; + }), + extractTar: (archive, extract) => + Effect.sync(() => { + log.calls.push(`extractTar:${archive}:${(extract?.flags ?? []).join(" ")}`); + return "/tmp/extracted"; + }), + extractZip: (archive) => + Effect.sync(() => { + log.calls.push(`extractZip:${archive}`); + return "/tmp/extracted"; + }), + cacheDir: (source, tool, version) => + Effect.sync(() => { + log.calls.push(`cacheDir:${source}:${tool}@${version}`); + return `/opt/toolcache/${tool}/${version}`; + }), + }), + ...options.installer, + }), + ActionOutputs.layerTest({ + addPath: + options.addPath ?? + ((path) => + Effect.sync(() => { + log.calls.push(`addPath:${path}`); + log.paths.push(path); + })), + }), + ActionLogger.layerTest({}), + Logger.layer([ + Logger.make<unknown, void>(({ message }) => { + log.logs.push(Array.isArray(message) ? message.map(String).join(" ") : String(message)); + }), + ]), + Path.layer, + spawnerTest((command) => + Effect.sync(() => { + // A piped command would be a bug: the probe is one binary, one flag. + if (command._tag !== "StandardCommand") throw new Error("expected a standard command"); + log.calls.push(`probe:${command.command}`); + log.probes.push({ command: command.command, args: command.args }); + return options.exitCode ?? 0; + }), + ), + ); + +describe("installRuntimes", () => { + it.effect("installs a runtime the cache does not have, in one download/extract/cache pass", () => + Effect.gen(function* () { + const log = recorder(); + const installed = yield* installRuntimes(configOf({ name: "node", version: "24.11.0" }), LINUX_X64).pipe( + Effect.provide(layerFor(log)), + ); + + expect(installed).toEqual([{ name: "node", version: "24.11.0", path: "/opt/toolcache/node/24.11.0/bin" }]); + expect(log.urls).toEqual(["https://nodejs.org/dist/v24.11.0/node-v24.11.0-linux-x64.tar.gz"]); + expect(log.calls).toEqual([ + "find:node@24.11.0", + "download", + "extractTar:/tmp/archive:xz --strip=1 -f", + "cacheDir:/tmp/extracted:node@24.11.0", + "addPath:/opt/toolcache/node/24.11.0/bin", + "probe:/opt/toolcache/node/24.11.0/bin/node", + ]); + }), + ); + + it.effect("short-circuits on a tool-cache hit, still publishing PATH and verifying", () => + Effect.gen(function* () { + const log = recorder(); + const installed = yield* installRuntimes(configOf({ name: "node", version: "24.11.0" }), LINUX_X64).pipe( + Effect.provide( + // Only `find` is stubbed: a download, extraction or cache write + // reaching this double dies rather than quietly succeeding. + layerFor(log, { bareInstaller: true, installer: { find: hit(log) } }), + ), + ); + + expect(installed[0]?.path).toBe("/opt/toolcache/node/24.11.0/bin"); + expect(log.calls).toEqual([ + "find:node@24.11.0", + "addPath:/opt/toolcache/node/24.11.0/bin", + "probe:/opt/toolcache/node/24.11.0/bin/node", + ]); + }), + ); + + it.effect("extracts a zip-archived runtime with extractZip", () => + Effect.gen(function* () { + const log = recorder(); + yield* installRuntimes(configOf({ name: "deno", version: "2.5.6" }), LINUX_X64).pipe( + Effect.provide(layerFor(log)), + ); + expect(log.calls).toContain("extractZip:/tmp/archive"); + expect(log.calls.some((call) => call.startsWith("extractTar"))).toBe(false); + }), + ); + + it.effect("publishes the cached path unchanged when the plan has no binSubPath", () => + Effect.gen(function* () { + const log = recorder(); + const installed = yield* installRuntimes(configOf({ name: "deno", version: "2.5.6" }), LINUX_X64).pipe( + Effect.provide(layerFor(log)), + ); + expect(installed[0]?.path).toBe("/opt/toolcache/deno/2.5.6"); + expect(log.paths).toEqual(["/opt/toolcache/deno/2.5.6"]); + }), + ); + + it.effect("caches the inside of node's Windows wrapper directory, not the wrapper", () => + Effect.gen(function* () { + const log = recorder(); + const installed = yield* installRuntimes(configOf({ name: "node", version: "24.11.0" }), { + platform: "win32", + arch: "x64", + }).pipe(Effect.provide(layerFor(log))); + const path = yield* Path.Path; + + // The wrapper is stripped before the cache write, so the cached root is + // the canonical layout every other writer of the shared tool cache uses. + expect(log.calls).toContain(`cacheDir:${path.join("/tmp/extracted", "node-v24.11.0-win-x64")}:node@24.11.0`); + expect(installed[0]?.path).toBe("/opt/toolcache/node/24.11.0"); + expect(log.paths).toEqual(["/opt/toolcache/node/24.11.0"]); + expect(log.probes[0]?.command).toBe(path.join("/opt/toolcache/node/24.11.0", "node.exe")); + }).pipe(Effect.provide(Path.layer)), + ); + + it.effect("caches the inside of bun's archive folder, not the folder", () => + Effect.gen(function* () { + const log = recorder(); + const installed = yield* installRuntimes(configOf({ name: "bun", version: "1.3.3" }), LINUX_X64).pipe( + Effect.provide(layerFor(log)), + ); + expect(log.calls).toContain("cacheDir:/tmp/extracted/bun-linux-x64:bun@1.3.3"); + expect(installed[0]?.path).toBe("/opt/toolcache/bun/1.3.3"); + expect(log.probes[0]?.command).toBe("/opt/toolcache/bun/1.3.3/bun"); + }), + ); + + it.effect("resolves a Windows node cache hit to the same path a miss produces", () => + Effect.gen(function* () { + const log = recorder(); + const installed = yield* installRuntimes(configOf({ name: "node", version: "24.11.0" }), { + platform: "win32", + arch: "x64", + }).pipe(Effect.provide(layerFor(log, { bareInstaller: true, installer: { find: hit(log) } }))); + const path = yield* Path.Path; + + expect(installed[0]?.path).toBe("/opt/toolcache/node/24.11.0"); + expect(log.probes[0]?.command).toBe(path.join("/opt/toolcache/node/24.11.0", "node.exe")); + }).pipe(Effect.provide(Path.layer)), + ); + + it.effect("resolves a bun cache hit to the same path a miss produces", () => + Effect.gen(function* () { + const log = recorder(); + const installed = yield* installRuntimes(configOf({ name: "bun", version: "1.3.3" }), LINUX_X64).pipe( + Effect.provide(layerFor(log, { bareInstaller: true, installer: { find: hit(log) } })), + ); + expect(installed[0]?.path).toBe("/opt/toolcache/bun/1.3.3"); + expect(log.probes[0]?.command).toBe("/opt/toolcache/bun/1.3.3/bun"); + }), + ); + + it.effect("verifies by running the installed binary, not whatever is on PATH", () => + Effect.gen(function* () { + const log = recorder(); + yield* installRuntimes(configOf({ name: "deno", version: "2.5.6" }), LINUX_X64).pipe( + Effect.provide(layerFor(log)), + ); + expect(log.probes).toEqual([{ command: "/opt/toolcache/deno/2.5.6/deno", args: ["--version"] }]); + }), + ); + + it.effect("installs every runtime sequentially, in devEngines order", () => + Effect.gen(function* () { + const log = recorder(); + const installed = yield* installRuntimes( + configOf({ name: "node", version: "24.11.0" }, { name: "bun", version: "1.3.3" }), + LINUX_X64, + ).pipe(Effect.provide(layerFor(log))); + + expect(installed.map((runtime) => runtime.name)).toEqual(["node", "bun"]); + // node's whole sequence completes before bun's begins. + expect(log.calls.indexOf("find:bun@1.3.3")).toBeGreaterThan( + log.calls.indexOf("cacheDir:/tmp/extracted:node@24.11.0"), + ); + }), + ); + + it.effect("logs one step line per runtime, as `{name} {version}`", () => + Effect.gen(function* () { + const log = recorder(); + yield* installRuntimes( + configOf({ name: "node", version: "24.11.0" }, { name: "bun", version: "1.3.3" }), + LINUX_X64, + ).pipe(Effect.provide(layerFor(log))); + expect(log.logs).toContain("node 24.11.0"); + expect(log.logs).toContain("bun 1.3.3"); + }), + ); + + it.effect("defaults the host to the process it is running on", () => + Effect.gen(function* () { + const log = recorder(); + yield* installRuntimes(configOf({ name: "node", version: "24.11.0" })).pipe(Effect.provide(layerFor(log))); + const host = currentHost(); + expect(log.urls[0]).toContain(`-${host.platform === "win32" ? "win" : host.platform}-`); + }), + ); + + it.effect("reports a download failure as one RuntimeInstallError naming the runtime", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + installRuntimes(configOf({ name: "node", version: "24.11.0" }), LINUX_X64).pipe( + Effect.provide( + layerFor(log, { + installer: { + download: (url) => + Effect.fail(new ToolInstallerError({ reason: "downloadFailed", subject: url, status: 404 })), + }, + }), + ), + ), + ); + + expect(error._tag).toBe("RuntimeInstallError"); + expect(error.reason).toBe("download"); + // The kit error's prose, not its discriminant: a failed job says what + // went wrong and where. + expect(error.message).toBe( + "Failed to install node@24.11.0: Could not download https://nodejs.org/dist/v24.11.0/node-v24.11.0-linux-x64.tar.gz (HTTP 404)", + ); + expect(error.cause).toBeDefined(); + }), + ); + + it.effect("classifies an extraction failure as extract", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + installRuntimes(configOf({ name: "deno", version: "2.5.6" }), LINUX_X64).pipe( + Effect.provide( + layerFor(log, { + installer: { extractZip: () => Effect.fail(new ToolInstallerError({ reason: "extractFailed" })) }, + }), + ), + ), + ); + expect(error.reason).toBe("extract"); + }), + ); + + it.effect("classifies a tool-cache failure as cache", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + installRuntimes(configOf({ name: "deno", version: "2.5.6" }), LINUX_X64).pipe( + Effect.provide( + layerFor(log, { + installer: { cacheDir: () => Effect.fail(new ToolInstallerError({ reason: "cacheFailed" })) }, + }), + ), + ), + ); + expect(error.reason).toBe("cache"); + }), + ); + + it.effect("refuses a platform the runtime publishes no build for", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + installRuntimes(configOf({ name: "deno", version: "2.5.6" }), { platform: "win32", arch: "arm64" }).pipe( + Effect.provide(layerFor(log)), + ), + ); + expect(error.reason).toBe("unsupported-platform"); + expect(error.message).toBe("Failed to install deno@2.5.6: Unsupported platform for Deno: win32-arm64"); + // Nothing was downloaded: the refusal happens before any I/O. + expect(log.calls).toEqual([]); + }), + ); + + it.effect("classifies a non-zero verify probe as verify", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + installRuntimes(configOf({ name: "deno", version: "2.5.6" }), LINUX_X64).pipe( + Effect.provide(layerFor(log, { exitCode: 127 })), + ), + ); + expect(error.reason).toBe("verify"); + expect(error.message).toBe("Failed to install deno@2.5.6: /opt/toolcache/deno/2.5.6/deno --version exited 127"); + }), + ); + + it.effect("classifies a PATH publication failure as verify", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + installRuntimes(configOf({ name: "deno", version: "2.5.6" }), LINUX_X64).pipe( + Effect.provide( + layerFor(log, { + addPath: () => Effect.fail(new ActionOutputError({ reason: "unavailable", file: "GITHUB_PATH" })), + }), + ), + ), + ); + expect(error.reason).toBe("verify"); + expect(error.message).toBe( + 'Failed to install deno@2.5.6: Runner file "GITHUB_PATH" is not available; is this running on a GitHub runner?', + ); + }), + ); + + it.effect("stops at the first failing runtime rather than installing the rest", () => + Effect.gen(function* () { + const log = recorder(); + yield* Effect.flip( + installRuntimes( + configOf({ name: "node", version: "24.11.0" }, { name: "bun", version: "1.3.3" }), + LINUX_X64, + ).pipe( + Effect.provide( + layerFor(log, { + installer: { download: () => Effect.fail(new ToolInstallerError({ reason: "downloadFailed" })) }, + }), + ), + ), + ); + expect(log.calls).not.toContain("find:bun@1.3.3"); + }), + ); + + it("RuntimeInstallError carries its tag and reason", () => { + const error = new RuntimeInstallError({ reason: "download", message: "download failed" }); + expect(error._tag).toBe("RuntimeInstallError"); + expect(error.reason).toBe("download"); + expect(error.message).toBe("download failed"); + }); +}); + +describe("currentHost", () => { + it("reads the runner's platform and architecture from the process", () => { + expect(currentHost()).toEqual({ platform: process.platform, arch: process.arch }); + }); +}); diff --git a/__test__/unit/steps/load-config.test.ts b/__test__/unit/steps/load-config.test.ts new file mode 100644 index 00000000..fe2acd5e --- /dev/null +++ b/__test__/unit/steps/load-config.test.ts @@ -0,0 +1,415 @@ +import { describe, expect, it } from "@effect/vitest"; +import { Effect, FileSystem, Layer, Logger, Path } from "effect"; + +import type { ConfigError } from "../../../src/schema/domain.js"; +import { loadConfig } from "../../../src/steps/load-config.js"; + +/** + * A `FileSystem` serving `content` for every `readFileString`, recording each + * requested path into `seen` so tests can assert the literal, cwd-relative + * `"package.json"` lookup (oracle 15/39). + */ +const fsServing = (content: string, seen: string[] = []): Layer.Layer<FileSystem.FileSystem | Path.Path> => + Layer.mergeAll( + FileSystem.layerNoop({ + readFileString: (path) => { + seen.push(path); + return Effect.succeed(content); + }, + }), + Path.layer, + ); + +/** `loadConfig` against a `package.json` whose contents are `json`. */ +const load = (json: string, seen?: string[]) => loadConfig.pipe(Effect.provide(fsServing(json, seen))); + +/** `loadConfig` against a workspace with no readable `package.json` at all. */ +const loadMissing = loadConfig.pipe(Effect.provide(Layer.mergeAll(FileSystem.layerNoop({}), Path.layer))); + +/** Runs `effect` expecting failure, and yields the `ConfigError` it failed with. */ +const failureOf = <A>(effect: Effect.Effect<A, ConfigError, never>): Effect.Effect<ConfigError, A> => + Effect.flip(effect); + +/** A `devEngines` block that decodes cleanly, for tests that vary one field. */ +const validDevEngines = { + packageManager: { name: "pnpm", version: "10.20.0" }, + runtime: { name: "node", version: "24.11.0" }, +}; + +describe("loadConfig", () => { + it.effect("reads package.json and returns the decoded devEngines config", () => + Effect.gen(function* () { + const seen: string[] = []; + const config = yield* load( + JSON.stringify({ + devEngines: { + packageManager: { name: "pnpm", version: "10.20.0" }, + runtime: { name: "node", version: "24.11.0" }, + }, + }), + seen, + ); + expect(seen).toEqual(["package.json"]); + expect(config.packageManager).toMatchObject({ name: "pnpm", version: "10.20.0" }); + expect(config.runtimes).toEqual([{ name: "node", version: "24.11.0" }]); + }), + ); + + it.effect("normalizes a single runtime object into an array of one", () => + Effect.gen(function* () { + const config = yield* load( + JSON.stringify({ + devEngines: { + packageManager: { name: "bun", version: "1.3.3" }, + runtime: { name: "bun", version: "1.3.3" }, + }, + }), + ); + expect(config.runtimes).toHaveLength(1); + expect(config.runtimes[0]).toMatchObject({ name: "bun", version: "1.3.3" }); + }), + ); + + it.effect("preserves an array of runtimes in declaration order", () => + Effect.gen(function* () { + const config = yield* load( + JSON.stringify({ + devEngines: { + packageManager: { name: "pnpm", version: "10.20.0" }, + runtime: [ + { name: "deno", version: "2.5.6" }, + { name: "node", version: "24.11.0" }, + { name: "bun", version: "1.3.3" }, + ], + }, + }), + ); + expect(config.runtimes.map((r) => r.name)).toEqual(["deno", "node", "bun"]); + expect(config.runtimes.map((r) => r.version)).toEqual(["2.5.6", "24.11.0", "1.3.3"]); + }), + ); + + it.effect("ignores unrelated top-level package.json keys", () => + Effect.gen(function* () { + const config = yield* load( + JSON.stringify({ + name: "my-project", + version: "1.0.0", + scripts: { build: "tsc" }, + dependencies: { effect: "4.0.0" }, + devEngines: { + packageManager: { name: "pnpm", version: "10.20.0" }, + runtime: { name: "node", version: "24.11.0" }, + }, + }), + ); + expect(config.packageManager.name).toBe("pnpm"); + }), + ); + + it.effect("ignores a top-level packageManager pin, reading devEngines only", () => + Effect.gen(function* () { + const config = yield* load( + JSON.stringify({ + packageManager: "yarn@4.0.0", + devEngines: { + packageManager: { name: "pnpm", version: "10.20.0" }, + runtime: { name: "node", version: "24.11.0" }, + }, + }), + ); + expect(config.packageManager).toMatchObject({ name: "pnpm", version: "10.20.0" }); + }), + ); + + it.effect("parses onFail on both entry kinds without interpreting it", () => + Effect.gen(function* () { + const config = yield* load( + JSON.stringify({ + devEngines: { + packageManager: { name: "pnpm", version: "10.20.0", onFail: "error" }, + runtime: { name: "node", version: "24.11.0", onFail: "ignore" }, + }, + }), + ); + expect(config.packageManager.onFail).toBe("error"); + expect(config.runtimes[0].onFail).toBe("ignore"); + }), + ); + + it.effect("accepts a package manager version carrying an integrity hash", () => + Effect.gen(function* () { + const config = yield* load( + JSON.stringify({ + devEngines: { + packageManager: { name: "pnpm", version: "11.8.0+sha512.c1f5eaa1" }, + runtime: { name: "node", version: "24.11.0" }, + }, + }), + ); + expect(config.packageManager.version).toBe("11.8.0+sha512.c1f5eaa1"); + }), + ); +}); + +describe("loadConfig — failures", () => { + it.effect("fails with missing-package-json when no manifest can be read", () => + Effect.gen(function* () { + const error = yield* failureOf(loadMissing); + expect(error._tag).toBe("ConfigError"); + expect(error.reason).toBe("missing-package-json"); + expect(error.message).toBe( + "package.json not found. This action requires a package.json with devEngines.packageManager and devEngines.runtime fields.", + ); + // The cause is the untouched filesystem failure — the point of keeping + // it is that it still says which read failed, and on what. + const cause = error.cause as { _tag: string; reason: { _tag: string; method: string; pathOrDescriptor: string } }; + expect(cause._tag).toBe("PlatformError"); + expect(cause.reason._tag).toBe("NotFound"); + expect(cause.reason.method).toBe("readFileString"); + expect(cause.reason.pathOrDescriptor).toBe("package.json"); + }), + ); + + it.effect("fails with malformed-json when package.json is not valid JSON", () => + Effect.gen(function* () { + const error = yield* failureOf(load("{ not json")); + expect(error.reason).toBe("malformed-json"); + expect(error.message).toBe("Failed to parse package.json: Invalid JSON"); + // Whatever JSON.parse threw, verbatim — the collapsed message says + // nothing about where the JSON went wrong, so the cause must. + expect(error.cause).toBeInstanceOf(SyntaxError); + }), + ); + + it.effect("rejects JSONC — comments are not stripped before parsing", () => + Effect.gen(function* () { + const error = yield* failureOf(load(`{\n\t// a comment\n\t"devEngines": {}\n}`)); + expect(error.reason).toBe("malformed-json"); + }), + ); + + it.effect("fails with invalid-dev-engines when devEngines is absent", () => + Effect.gen(function* () { + const error = yield* failureOf(load(JSON.stringify({ name: "my-project" }))); + expect(error.reason).toBe("invalid-dev-engines"); + expect(error.message).toBe("package.json has invalid or missing devEngines field"); + // The message is deliberately field-blind (oracle 45), so the schema + // issue riding in `cause` is the only thing that can say what broke. + const cause = error.cause as { _tag: string; issue: unknown; message: string }; + expect(cause._tag).toBe("SchemaError"); + expect(cause.issue).toBeDefined(); + expect(cause.message).toContain("devEngines"); + }), + ); + + it.effect("collapses a deep decode failure into the same message as an absent devEngines", () => + Effect.gen(function* () { + const absent = yield* failureOf(load(JSON.stringify({ name: "my-project" }))); + const deep = yield* failureOf( + load( + JSON.stringify({ + devEngines: { ...validDevEngines, runtime: { name: "node", version: "not-a-version" } }, + }), + ), + ); + expect(deep.reason).toBe("invalid-dev-engines"); + expect(deep.message).toBe(absent.message); + // Same collapsed message, different cause: the diagnostic detail the + // message drops is not lost, only relocated. + const cause = deep.cause as { _tag: string; message: string }; + expect(cause._tag).toBe("SchemaError"); + expect(cause.message).toContain("version"); + expect(cause.message).not.toBe((absent.cause as { message: string }).message); + }), + ); + + it.effect("rejects a devEngines block with no packageManager", () => + Effect.gen(function* () { + const error = yield* failureOf(load(JSON.stringify({ devEngines: { runtime: validDevEngines.runtime } }))); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect("rejects a devEngines block with no runtime", () => + Effect.gen(function* () { + const error = yield* failureOf( + load(JSON.stringify({ devEngines: { packageManager: validDevEngines.packageManager } })), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect("rejects an empty runtime array", () => + Effect.gen(function* () { + const error = yield* failureOf(load(JSON.stringify({ devEngines: { ...validDevEngines, runtime: [] } }))); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + for (const range of ["^24.0.0", "~24.0.0", ">=24.0.0", "24.x", "*"]) { + it.effect(`rejects the semver range "${range}" in the runtime slot`, () => + Effect.gen(function* () { + const error = yield* failureOf( + load(JSON.stringify({ devEngines: { ...validDevEngines, runtime: { name: "node", version: range } } })), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect(`rejects the semver range "${range}" in the packageManager slot`, () => + Effect.gen(function* () { + const error = yield* failureOf( + load( + JSON.stringify({ devEngines: { ...validDevEngines, packageManager: { name: "pnpm", version: range } } }), + ), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + } + + it.effect("rejects an unsupported runtime name", () => + Effect.gen(function* () { + const error = yield* failureOf( + load(JSON.stringify({ devEngines: { ...validDevEngines, runtime: { name: "ruby", version: "3.4.1" } } })), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect("rejects an unsupported package manager name", () => + Effect.gen(function* () { + const error = yield* failureOf( + load( + JSON.stringify({ devEngines: { ...validDevEngines, packageManager: { name: "bundler", version: "2.5.0" } } }), + ), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect("rejects a runtime entry with no name", () => + Effect.gen(function* () { + const error = yield* failureOf( + load(JSON.stringify({ devEngines: { ...validDevEngines, runtime: { version: "24.11.0" } } })), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect("rejects a runtime entry with no version", () => + Effect.gen(function* () { + const error = yield* failureOf( + load(JSON.stringify({ devEngines: { ...validDevEngines, runtime: { name: "node" } } })), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect("rejects a non-object runtime entry", () => + Effect.gen(function* () { + const error = yield* failureOf(load(JSON.stringify({ devEngines: { ...validDevEngines, runtime: "node@24" } }))); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); +}); + +describe("loadConfig — normalization edges", () => { + it.effect("does not deduplicate repeated runtime entries", () => + Effect.gen(function* () { + const config = yield* load( + JSON.stringify({ + devEngines: { + ...validDevEngines, + runtime: [ + { name: "node", version: "24.11.0" }, + { name: "node", version: "24.11.0" }, + { name: "node", version: "22.0.0" }, + ], + }, + }), + ); + expect(config.runtimes).toHaveLength(3); + expect(config.runtimes.map((r) => r.version)).toEqual(["24.11.0", "24.11.0", "22.0.0"]); + }), + ); + + for (const name of ["Node", "NODE"]) { + it.effect(`matches runtime names case-sensitively, rejecting "${name}"`, () => + Effect.gen(function* () { + const error = yield* failureOf( + load(JSON.stringify({ devEngines: { ...validDevEngines, runtime: { name, version: "24.11.0" } } })), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + } + + it.effect('matches package manager names case-sensitively, rejecting "PNPM"', () => + Effect.gen(function* () { + const error = yield* failureOf( + load( + JSON.stringify({ devEngines: { ...validDevEngines, packageManager: { name: "PNPM", version: "10.20.0" } } }), + ), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect("applies no defaults — an empty devEngines block is a failure, not node/npm", () => + Effect.gen(function* () { + const error = yield* failureOf(load(JSON.stringify({ devEngines: {} }))); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + // Divergence from legacy, inherited from the Phase A contract: legacy typed + // `onFail` as a free-form optional string, `RuntimeSpec` narrows it to the + // npm-documented literals. Every fixture and test uses an in-spec value, so + // this is a tightening rather than an observed parity break. + it.effect("rejects an onFail value outside the documented literals", () => + Effect.gen(function* () { + const error = yield* failureOf( + load( + JSON.stringify({ + devEngines: { ...validDevEngines, runtime: { name: "node", version: "24.11.0", onFail: "explode" } }, + }), + ), + ); + expect(error.reason).toBe("invalid-dev-engines"); + }), + ); + + it.effect("leaves onFail absent when the manifest omits it", () => + Effect.gen(function* () { + const config = yield* load(JSON.stringify({ devEngines: validDevEngines })); + expect(config.packageManager.onFail).toBeUndefined(); + expect(config.runtimes[0].onFail).toBeUndefined(); + }), + ); + + // Ruling 31. The step decoded silently, which left its group empty in the + // workflow log while every detection step beside it announced what it found. + it.effect("says what it decoded, one line per half of devEngines", () => + Effect.gen(function* () { + const logs: Array<string> = []; + yield* load( + JSON.stringify({ + devEngines: { + packageManager: { name: "pnpm", version: "11.8.0" }, + runtime: [ + { name: "node", version: "26.3.1" }, + { name: "bun", version: "1.3.3" }, + ], + }, + }), + ).pipe(Effect.provide(Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]))); + + // `@`-joined, unlike the panel's space-separated cells — v1's split per + // formatter, kept as-is (ruling 54). + expect(logs).toContain("Detected runtime(s): node@26.3.1, bun@1.3.3"); + expect(logs).toContain("Detected package manager: pnpm@11.8.0"); + }), + ); +}); diff --git a/__test__/unit/steps/restore-cache.test.ts b/__test__/unit/steps/restore-cache.test.ts new file mode 100644 index 00000000..631de383 --- /dev/null +++ b/__test__/unit/steps/restore-cache.test.ts @@ -0,0 +1,467 @@ +import { join } from "node:path"; +import { describe, expect, it } from "@effect/vitest"; +import type { CacheKey } from "@effected/github-actions"; +import { + ActionCache, + ActionCacheError, + ActionEnvironment, + ActionState, + ActionStateError, +} from "@effected/github-actions"; +import { Effect, FileSystem, Layer, Logger, Option, Path, References } from "effect"; + +import { RuntimeConfig } from "../../../src/schema/domain.js"; +import type { Inputs } from "../../../src/schema/inputs.js"; +import { CacheState, STATE_KEYS } from "../../../src/state.js"; +import { restoreCache } from "../../../src/steps/restore-cache.js"; + +/** The checkout every case runs against, as `GITHUB_WORKSPACE` names it. */ +const WORKSPACE = "/home/runner/work/repo/repo"; + +/** The tool cache every case runs against, as `RUNNER_TOOL_CACHE` names it. */ +const TOOL_CACHE = "/opt/custom-toolcache"; + +/** A node + pnpm manifest, as `loadConfig` would return it. */ +const nodeConfig = RuntimeConfig.make({ + packageManager: { name: "pnpm", version: "10.20.0" }, + runtimes: [{ name: "node", version: "24.11.0" }], +}); + +/** Every input absent, every default applied. */ +const baseInputs: Inputs = { + biomeVersion: Option.none(), + turboCache: "auto", + turboCachePrefix: "", + turboToken: Option.none(), + turboTeam: Option.none(), + turboS3Bucket: Option.none(), + turboS3Region: Option.none(), + turboS3Endpoint: Option.none(), + turboS3AccessKeyId: Option.none(), + turboS3SecretAccessKey: Option.none(), + turboS3SessionToken: Option.none(), + turboS3Prefix: Option.none(), + installDeps: true, + cacheBust: Option.none(), + additionalLockfiles: [], + additionalCachePaths: [], +}; + +/** One `ActionCache.restore` call, as this suite cares about it. */ +interface Restore { + readonly paths: ReadonlyArray<string>; + readonly key: string | CacheKey; + readonly restoreKeys: ReadonlyArray<string> | undefined; +} + +/** One `ActionState.save` call, as this suite cares about it. */ +interface Save { + readonly key: string; + readonly value: unknown; +} + +/** + * A `FileSystem` serving `files` — keyed by workspace-relative path — as the + * only thing under the workspace. + * + * @remarks + * Every member `CacheKey.matchingFiles` and `CacheKey.hashFiles` touch is + * stubbed and nothing else is, so a step reading anything further dies rather + * than quietly succeeding. + */ +const fileSystemTest = (files: Readonly<Record<string, string>> = {}): Layer.Layer<FileSystem.FileSystem> => + FileSystem.layerNoop({ + readDirectory: (path) => + path === WORKSPACE + ? Effect.succeed(Object.keys(files)) + : Effect.die(new Error(`unexpected FileSystem.readDirectory(${path})`)), + stat: () => Effect.succeed({ type: "File" } as FileSystem.File.Info), + readFile: (path) => { + const contents = files[path.slice(WORKSPACE.length + 1)]; + return contents === undefined + ? Effect.die(new Error(`unexpected FileSystem.readFile(${path})`)) + : Effect.succeed(new TextEncoder().encode(contents)); + }, + }); + +/** An `ActionCache` double recording every restore, answering with `answer`. */ +const cacheTest = ( + restores: Array<Restore>, + answer: (key: string) => Effect.Effect<Option.Option<string>, ActionCacheError> = () => Effect.succeed(Option.none()), +): Layer.Layer<ActionCache> => + ActionCache.layerTest({ + restore: (paths, key, restoreKeys) => { + restores.push({ paths, key, restoreKeys }); + return answer(typeof key === "string" ? key : key.key); + }, + }); + +/** An `ActionState` double recording every save. */ +const stateTest = ( + saves: Array<Save>, + save: (key: string) => Effect.Effect<void, ActionStateError> = () => Effect.void, +): Layer.Layer<ActionState> => + ActionState.layerTest({ + save: ((key: string, value: unknown) => { + saves.push({ key, value }); + return save(key); + }) as ActionState["Service"]["save"], + }); + +/** Everything the step needs, with the parts a case does not exercise pinned. */ +const makeLayer = (options: { + readonly restores?: Array<Restore>; + readonly saves?: Array<Save>; + readonly files?: Readonly<Record<string, string>>; + readonly env?: Readonly<Record<string, string>>; + readonly answer?: (key: string) => Effect.Effect<Option.Option<string>, ActionCacheError>; + readonly save?: (key: string) => Effect.Effect<void, ActionStateError>; + readonly logs?: Array<string>; + /** A filesystem other than the one serving `files` — an unreadable one, say. */ + readonly fs?: Layer.Layer<FileSystem.FileSystem>; +}) => + Layer.mergeAll( + cacheTest(options.restores ?? [], options.answer), + stateTest(options.saves ?? [], options.save), + options.fs ?? fileSystemTest(options.files), + Path.layer, + ActionEnvironment.layerTest({ + GITHUB_WORKSPACE: WORKSPACE, + GITHUB_REF: "refs/heads/main", + GITHUB_HEAD_REF: "", + RUNNER_TOOL_CACHE: TOOL_CACHE, + ...options.env, + }), + // Captures the step's own log lines rather than letting them reach the + // reporter, so a case can assert what a degraded run said. The debug + // diagnostics are the point of half of it, so the floor comes down to + // `Debug` — the runner does the same under `RUNNER_DEBUG=1`. + Logger.layer([Logger.make(({ message }) => void (options.logs ?? []).push(String(message)))]), + Layer.succeed(References.MinimumLogLevel)("Debug"), + ); + +/** Runs the step with `overrides` folded into the default arguments. */ +const run = ( + layer: Layer.Layer<ActionCache | ActionState | FileSystem.FileSystem | Path.Path | ActionEnvironment>, + overrides: { + readonly inputs?: Partial<Inputs>; + readonly config?: RuntimeConfig; + readonly biomeVersion?: Option.Option<string>; + readonly turbo?: { readonly enabled: boolean }; + } = {}, +) => + restoreCache({ + inputs: { ...baseInputs, ...overrides.inputs }, + config: overrides.config ?? nodeConfig, + biomeVersion: overrides.biomeVersion ?? Option.none(), + turbo: overrides.turbo ?? { enabled: false }, + }).pipe(Effect.provide(layer)); + +/** The key a recorded restore asked for, however it was passed. */ +const askedFor = (restore: Restore | undefined): string => + restore === undefined ? "" : typeof restore.key === "string" ? restore.key : restore.key.key; + +/** + * The rungs a recorded restore would fall back to, however they were supplied. + * + * @remarks + * A typed `CacheKey` carries its own ladder and the explicit `restoreKeys` + * argument is absent; a bare string key carries none and the argument is what + * would supply them. `ActionCache` reads whichever is present, so a test that + * only looked at the argument would report an empty ladder for every + * typed-key restore. + */ +const ladderOf = (restore: Restore | undefined): ReadonlyArray<string> => { + if (restore === undefined) return []; + return typeof restore.key === "string" ? (restore.restoreKeys ?? []) : restore.key.restoreKeys; +}; + +describe("restoreCache", () => { + it.effect("asks for a key laid out platform-arch-versions-branch-lockfiles", () => + Effect.gen(function* () { + const restores: Array<Restore> = []; + const state = yield* run(makeLayer({ restores })); + + expect(restores).toHaveLength(1); + expect(askedFor(restores[0])).toMatch( + new RegExp(`^${process.platform}-${process.arch}-[0-9a-f]{8}-[0-9a-f]{8}-empty$`), + ); + expect(state.primaryKey).toBe(askedFor(restores[0])); + }), + ); + + it.effect("archives the active manager's store, its node_modules and the tool cache", () => + Effect.gen(function* () { + const restores: Array<Restore> = []; + yield* run(makeLayer({ restores })); + + const paths = restores[0]?.paths ?? []; + expect(paths).toContain("**/node_modules"); + expect(paths).toContain(join(TOOL_CACHE, "node", "24.11.0")); + // Nothing turbo-shaped: this workspace has no turbo.json. + expect(paths).not.toContain("**/.turbo/cache"); + }), + ); + + it.effect("falls back to the branch, then across branches, and no further", () => + Effect.gen(function* () { + const restores: Array<Restore> = []; + yield* run(makeLayer({ restores })); + + // The ladder rides on the typed key rather than a hand-built list, so + // this is what `ActionCache` reads the rungs off (upstream round 7, + // item 2). + expect(ladderOf(restores[0])).toHaveLength(2); + for (const rung of ladderOf(restores[0])) expect(askedFor(restores[0]).startsWith(rung)).toBe(true); + }), + ); + + it.effect("asks for exactly one key when a cache bust is in play", () => + Effect.gen(function* () { + const restores: Array<Restore> = []; + yield* run(makeLayer({ restores }), { inputs: { cacheBust: Option.some("npm-ubuntu-42") } }); + + // By typed key carrying an explicitly empty ladder. Absence of a policy + // would have `ActionCache` derive the default every-prefix one, which is + // the opposite of what a busted run asks for — zero rungs is a policy, + // not the lack of one, which is why this no longer needs a bare string. + expect(typeof restores[0]?.key).toBe("object"); + expect(ladderOf(restores[0])).toEqual([]); + }), + ); + + it.effect("reports an exact hit when the runner answers with the primary key", () => + Effect.gen(function* () { + const restores: Array<Restore> = []; + const state = yield* run(makeLayer({ restores, answer: (key) => Effect.succeed(Option.some(key)) })); + + expect(Option.getOrThrow(state.restoredKey)).toBe(state.primaryKey); + }), + ); + + it.effect("reports a partial hit when the runner answers with a fallback key", () => + Effect.gen(function* () { + const state = yield* run( + makeLayer({ answer: (key) => Effect.succeed(Option.some(`${key.slice(0, 20)}-older`)) }), + ); + + expect(Option.isSome(state.restoredKey)).toBe(true); + expect(Option.getOrThrow(state.restoredKey)).not.toBe(state.primaryKey); + }), + ); + + it.effect("reports a miss when nothing matched", () => + Effect.gen(function* () { + const state = yield* run(makeLayer({})); + expect(Option.isNone(state.restoredKey)).toBe(true); + }), + ); + + it.effect("persists what it restored for the post phase, and returns the same state", () => + Effect.gen(function* () { + const saves: Array<Save> = []; + const state = yield* run(makeLayer({ saves, answer: (key) => Effect.succeed(Option.some(key)) })); + + expect(saves).toHaveLength(1); + expect(saves[0]?.key).toBe(STATE_KEYS.cache); + expect(saves[0]?.value).toStrictEqual(state); + expect(state).toBeInstanceOf(CacheState); + }), + ); + + it.effect("folds the discovered lockfiles into the key and carries them in the state", () => + Effect.gen(function* () { + const restores: Array<Restore> = []; + const state = yield* run( + makeLayer({ restores, files: { "pnpm-lock.yaml": "lockfileVersion: '9.0'", "README.md": "# repo" } }), + ); + + expect(state.lockfiles).toEqual([join(WORKSPACE, "pnpm-lock.yaml")]); + expect(askedFor(restores[0])).toMatch( + new RegExp(`^${process.platform}-${process.arch}-[0-9a-f]{8}-[0-9a-f]{8}-[0-9a-f]{8}$`), + ); + }), + ); + + it.effect("keys on the lockfile's contents, not merely its presence", () => + Effect.gen(function* () { + const first: Array<Restore> = []; + const second: Array<Restore> = []; + yield* run(makeLayer({ restores: first, files: { "pnpm-lock.yaml": "one" } })); + yield* run(makeLayer({ restores: second, files: { "pnpm-lock.yaml": "two" } })); + + expect(askedFor(first[0])).not.toBe(askedFor(second[0])); + }), + ); + + it.effect("never counts a dependency's or a fixture's lockfile", () => + Effect.gen(function* () { + const state = yield* run( + makeLayer({ + files: { + "node_modules/left-pad/package-lock.json": "{}", + "__fixtures__/node-pnpm/pnpm-lock.yaml": "fixture", + "__test__/unit/pnpm-lock.yaml": "fixture", + }, + }), + ); + + expect(state.lockfiles).toEqual([]); + }), + ); + + it.effect("discovers the caller's own lockfile patterns", () => + Effect.gen(function* () { + const state = yield* run(makeLayer({ files: { "vendor.lock": "pinned" } }), { + inputs: { additionalLockfiles: ["**/vendor.lock"] }, + }); + + expect(state.lockfiles).toEqual([join(WORKSPACE, "vendor.lock")]); + }), + ); + + it.effect("archives the caller's own paths, and turbo's when turbo was detected", () => + Effect.gen(function* () { + const restores: Array<Restore> = []; + const state = yield* run(makeLayer({ restores }), { + inputs: { additionalCachePaths: ["**/build", "**/dist"] }, + turbo: { enabled: true }, + }); + + expect(restores[0]?.paths).toEqual(state.paths); + expect(state.paths).toContain("**/build"); + expect(state.paths).toContain("**/dist"); + expect(state.paths).toContain("**/.turbo/cache"); + }), + ); + + it.effect("keys on the resolved Biome version, and archives its tool-cache directory", () => + Effect.gen(function* () { + const without: Array<Restore> = []; + const with_: Array<Restore> = []; + yield* run(makeLayer({ restores: without })); + const state = yield* run(makeLayer({ restores: with_ }), { biomeVersion: Option.some("2.3.14") }); + + expect(askedFor(with_[0])).not.toBe(askedFor(without[0])); + expect(state.paths).toContain(join(TOOL_CACHE, "biome", "2.3.14")); + }), + ); + + it.effect("keys on the pull request's head branch rather than the merge ref", () => + Effect.gen(function* () { + const head: Array<Restore> = []; + const push: Array<Restore> = []; + yield* run(makeLayer({ restores: head, env: { GITHUB_HEAD_REF: "feature", GITHUB_REF: "refs/heads/main" } })); + yield* run(makeLayer({ restores: push, env: { GITHUB_REF: "refs/heads/feature" } })); + + // Same branch by two routes, so the pull request restores what the branch + // itself saved. + expect(askedFor(head[0])).toBe(askedFor(push[0])); + }), + ); + + it.effect("separates branches", () => + Effect.gen(function* () { + const main: Array<Restore> = []; + const dev: Array<Restore> = []; + yield* run(makeLayer({ restores: main, env: { GITHUB_REF: "refs/heads/main" } })); + yield* run(makeLayer({ restores: dev, env: { GITHUB_REF: "refs/heads/dev" } })); + + expect(askedFor(main[0])).not.toBe(askedFor(dev[0])); + }), + ); + + it.effect("reports a miss and keeps going when the runner's cache is unreachable", () => + Effect.gen(function* () { + const logs: Array<string> = []; + const saves: Array<Save> = []; + const state = yield* run( + makeLayer({ + logs, + saves, + answer: (key) => Effect.fail(new ActionCacheError({ reason: "unreachable", key })), + }), + ); + + // A cache is an optimization: the run continues, and the installs that + // follow simply do the work the cache would have saved. + expect(Option.isNone(state.restoredKey)).toBe(true); + expect(state.primaryKey).not.toBe(""); + expect(state.paths.length).toBeGreaterThan(0); + // The reason literal is what a workflow log needs to tell a missing + // token apart from a broken archive. + expect(logs.join("\n")).toContain("unreachable"); + // The state is still persisted, so post saves what this run installs. + expect(saves).toHaveLength(1); + }), + ); + + it.effect("keys on no lockfiles at all when the workspace cannot be walked", () => + Effect.gen(function* () { + const logs: Array<string> = []; + const restores: Array<Restore> = []; + // A filesystem whose `readDirectory` is unstubbed, so the walk fails the + // way an absent or unreadable workspace fails. + const state = yield* run(makeLayer({ logs, restores, fs: FileSystem.layerNoop({}) })); + + expect(askedFor(restores[0]).endsWith("-empty")).toBe(true); + expect(state.lockfiles).toEqual([]); + expect(logs.join("\n")).toContain("readFailed"); + }), + ); + + it.effect("reports the outcome in v1's words, with the lockfile count", () => + Effect.gen(function* () { + const logs: Array<string> = []; + yield* run( + makeLayer({ + logs, + files: { "pnpm-lock.yaml": "lockfileVersion: '9.0'" }, + answer: (key) => Effect.succeed(Option.some(key)), + }), + ); + // Singular, because one lockfile matched. + expect(logs).toContain("exact hit (1 lockfile)"); + + const partial: Array<string> = []; + yield* run(makeLayer({ logs: partial, answer: (key) => Effect.succeed(Option.some(`${key}-older`)) })); + expect(partial).toContain("partial hit (0 lockfiles)"); + + const miss: Array<string> = []; + yield* run(makeLayer({ logs: miss })); + expect(miss).toContain("miss (0 lockfiles)"); + }), + ); + + it.effect("says whether a cache bust was in play, either way", () => + Effect.gen(function* () { + const busted: Array<string> = []; + yield* run(makeLayer({ logs: busted }), { inputs: { cacheBust: Option.some("npm-ubuntu-42") } }); + expect(busted.join("\n")).toContain("Cache bust: npm-ubuntu-42"); + + // A run that restored nothing is where the question gets asked, so the + // absence has to be an answer rather than a missing line. + const plain: Array<string> = []; + yield* run(makeLayer({ logs: plain })); + expect(plain.join("\n")).toContain("Cache bust: (none)"); + }), + ); + + it.effect("keeps its result when the state cannot be written", () => + Effect.gen(function* () { + const logs: Array<string> = []; + const state = yield* run( + makeLayer({ + logs, + save: (key) => Effect.fail(new ActionStateError({ reason: "writeFailed", key })), + answer: (key) => Effect.succeed(Option.some(key)), + }), + ); + + // Post will do nothing without the state, which is the cost. Failing the + // action over it would throw away a restore that already landed. + expect(Option.isSome(state.restoredKey)).toBe(true); + expect(logs.join("\n")).toContain("writeFailed"); + }), + ); +}); diff --git a/__test__/unit/steps/setup-package-manager.test.ts b/__test__/unit/steps/setup-package-manager.test.ts new file mode 100644 index 00000000..91d818c1 --- /dev/null +++ b/__test__/unit/steps/setup-package-manager.test.ts @@ -0,0 +1,382 @@ +import { describe, expect, it } from "@effect/vitest"; +import { + ActionLogger, + ActionOutputError, + ActionOutputs, + AmbientPackageManager, + CachedPackageManager, + PackageManagerInstaller, + PackageManagerInstallerError, +} from "@effected/github-actions"; +import type { PackageManagerPin } from "@effected/npm"; +import { Effect, Layer, Logger, Option } from "effect"; + +import type { PackageManagerName } from "../../../src/schema/domain.js"; +import { PackageManagerSpec } from "../../../src/schema/domain.js"; +import { PackageManagerError, setupPackageManager } from "../../../src/steps/setup-package-manager.js"; + +/** A `devEngines.packageManager` entry, spelled as the config loader produces one. */ +const specOf = (name: PackageManagerName, version: string) => PackageManagerSpec.make({ name, version }); + +/** Records what a case's doubles were asked to do, so elision is assertable. */ +interface Recorder { + readonly pins: Array<PackageManagerPin>; + readonly paths: Array<string>; + readonly logs: Array<string>; +} + +const recorder = (): Recorder => ({ pins: [], paths: [], logs: [] }); + +/** + * A tool-cache answer, overridable field by field. + * + * @remarks + * `source` is a `Schema.tag`, so the discriminant is filled in by `make` rather + * than passed — constructing the real class is what makes the step's narrowing + * meaningful here instead of a structural coincidence. + */ +const cached = (overrides: Partial<Omit<CachedPackageManager, "source">> = {}): CachedPackageManager => + CachedPackageManager.make({ + name: "pnpm", + version: "10.20.0", + directory: "/opt/toolcache/pnpm/10.20.0", + binDir: "/opt/toolcache/pnpm/10.20.0/.bin", + bins: { pnpm: "/opt/toolcache/pnpm/10.20.0/bin/pnpm.cjs" }, + ...overrides, + }); + +/** + * Every service `setupPackageManager` requires, doubled around a happy-path + * install. + * + * @remarks + * `bareInstaller` drops the `install` double entirely, so a case that expects + * the step to install *nothing* fails loudly rather than silently passing — + * `PackageManagerInstaller.makeTest`'s unstubbed member dies. + */ +const layerFor = ( + log: Recorder, + options: { + readonly install?: PackageManagerInstaller["Service"]["install"]; + readonly bareInstaller?: boolean; + readonly addPath?: ActionOutputs["Service"]["addPath"]; + } = {}, +) => + Layer.mergeAll( + PackageManagerInstaller.layerTest( + options.bareInstaller === true + ? {} + : { + install: + options.install ?? + ((pin) => + Effect.sync(() => { + log.pins.push(pin); + return cached({ name: pin.name, version: pin.version.toString() }); + })), + }, + ), + ActionOutputs.layerTest({ + addPath: + options.addPath ?? + ((path) => + Effect.sync(() => { + log.paths.push(path); + })), + }), + ActionLogger.layerTest({}), + Logger.layer([ + Logger.make<unknown, void>(({ message }) => { + log.logs.push(Array.isArray(message) ? message.map(String).join(" ") : String(message)); + }), + ]), + ); + +describe("setupPackageManager", () => { + it.effect("treats bun as its own package manager and installs nothing", () => + Effect.gen(function* () { + const log = recorder(); + const result = yield* setupPackageManager(specOf("bun", "1.3.3")).pipe( + // A reached `install` dies: the no-op has to be a genuine no-op. + Effect.provide(layerFor(log, { bareInstaller: true })), + ); + + expect(result).toEqual({ name: "bun", version: "1.3.3", binDir: Option.none() }); + expect(log.logs).toContain("bun is its own package manager, no additional setup needed"); + expect(log.paths).toEqual([]); + }), + ); + + it.effect("treats deno as its own package manager and installs nothing", () => + Effect.gen(function* () { + const log = recorder(); + const result = yield* setupPackageManager(specOf("deno", "2.5.6")).pipe( + Effect.provide(layerFor(log, { bareInstaller: true })), + ); + + expect(result).toEqual({ name: "deno", version: "2.5.6", binDir: Option.none() }); + expect(log.logs).toContain("deno is its own package manager, no additional setup needed"); + }), + ); + + it.effect("does not log the activation step line for a package manager it did not activate", () => + Effect.gen(function* () { + const log = recorder(); + yield* setupPackageManager(specOf("bun", "1.3.3")).pipe(Effect.provide(layerFor(log, { bareInstaller: true }))); + // Both halves in one run: the step said what it did, and did not claim + // an activation that never happened. The positive assertion is what + // keeps the negative one honest — a step that logged nothing at all + // would otherwise pass it. + expect(log.logs).toContain("bun is its own package manager, no additional setup needed"); + expect(log.logs).not.toContain("bun@1.3.3 activated"); + }), + ); + + it.effect("installs the exact pin `devEngines` names", () => + Effect.gen(function* () { + const log = recorder(); + yield* setupPackageManager(specOf("pnpm", "10.20.0")).pipe(Effect.provide(layerFor(log))); + + expect(log.pins).toHaveLength(1); + expect(log.pins[0]?.name).toBe("pnpm"); + expect(log.pins[0]?.version.toString()).toBe("10.20.0"); + expect(log.pins[0]?.integrity).toBeUndefined(); + }), + ); + + it.effect("splits a `devEngines` version's integrity tail into the pin's integrity", () => + Effect.gen(function* () { + const log = recorder(); + yield* setupPackageManager(specOf("pnpm", "10.20.0+sha512.deadbeef")).pipe(Effect.provide(layerFor(log))); + + // The pin grammar owns the split: the first `+` begins integrity, so the + // version never carries it. + expect(log.pins[0]?.version.toString()).toBe("10.20.0"); + expect(log.pins[0]?.integrity).toBe("sha512.deadbeef"); + }), + ); + + it.effect("publishes a tool-cache install's bin directory to PATH, not its root", () => + Effect.gen(function* () { + const log = recorder(); + const result = yield* setupPackageManager(specOf("pnpm", "10.20.0")).pipe(Effect.provide(layerFor(log))); + // The shim directory the installer wrote, which is what makes `pnpm` + // resolvable by name — the entry root holds no executable. + expect(log.paths).toEqual(["/opt/toolcache/pnpm/10.20.0/.bin"]); + expect(result.binDir).toStrictEqual(Option.some("/opt/toolcache/pnpm/10.20.0/.bin")); + }), + ); + + it.effect("publishes bun's own entry directory, which is its binDir", () => + Effect.gen(function* () { + const log = recorder(); + // bun as the *package manager* is the no-op branch, so this exercises the + // shape rather than the step's bun path: the cached bun binary needs no + // shim, so the installer reports `binDir === directory`. + const result = yield* setupPackageManager(specOf("pnpm", "10.20.0")).pipe( + Effect.provide( + layerFor(log, { + install: () => + Effect.succeed( + cached({ + name: "bun", + version: "1.3.3", + directory: "/opt/toolcache/bun/1.3.3", + binDir: "/opt/toolcache/bun/1.3.3", + bins: { bun: "/opt/toolcache/bun/1.3.3/bun" }, + }), + ), + }), + ), + ); + + expect(log.paths).toEqual(["/opt/toolcache/bun/1.3.3"]); + expect(result.binDir).toStrictEqual(Option.some("/opt/toolcache/bun/1.3.3")); + }), + ); + + it.effect("publishes nothing to PATH for an ambient package manager", () => + Effect.gen(function* () { + const log = recorder(); + const result = yield* setupPackageManager(specOf("npm", "11.6.0")).pipe( + Effect.provide( + layerFor(log, { + install: (pin) => + Effect.sync(() => { + log.pins.push(pin); + // The runner's own toolchain already had it: the variant + // carries no directory at all, and the bins are bare names + // `PATH` already resolves. + return AmbientPackageManager.make({ + name: "npm", + version: "11.6.0", + bins: { npm: "npm", npx: "npx" }, + }); + }), + }), + ), + ); + + expect(log.paths).toEqual([]); + // Nothing to prepend downstream either: the manager is already resolvable. + expect(result.binDir).toStrictEqual(Option.none()); + }), + ); + + it.effect("logs the activation step line as `{pm}@{version}`", () => + Effect.gen(function* () { + const log = recorder(); + yield* setupPackageManager(specOf("pnpm", "10.20.0")).pipe(Effect.provide(layerFor(log))); + expect(log.logs).toContain("pnpm@10.20.0 activated"); + }), + ); + + it.effect("echoes the requested version, not whatever the installer reports", () => + Effect.gen(function* () { + const log = recorder(); + const result = yield* setupPackageManager(specOf("pnpm", "10.20.0+sha512.deadbeef")).pipe( + Effect.provide( + layerFor(log, { + // The installer answers with the canonical semver, which is not the + // `devEngines` string. The outputs echo the request (ruling 47). + install: () => Effect.succeed(cached({ version: "10.20.0" })), + }), + ), + ); + + expect(result.name).toBe("pnpm"); + expect(result.version).toBe("10.20.0+sha512.deadbeef"); + }), + ); + + it.effect("reports an unparseable pin as an install failure", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + // `AbsoluteVersion` accepts semver build metadata; the pin grammar reads + // the same tail as integrity and rejects it for not being `<algo>.<hex>`. + setupPackageManager(specOf("pnpm", "10.20.0+deadbeef")).pipe( + Effect.provide(layerFor(log, { bareInstaller: true })), + ), + ); + + expect(error._tag).toBe("PackageManagerError"); + expect(error.reason).toBe("install"); + expect(error.message).toBe( + 'Failed to setup pnpm@10.20.0+deadbeef: Invalid package-manager pin "pnpm@10.20.0+deadbeef": integrity must be a corepack <algo>.<hex> hash', + ); + expect(error.cause).toBeDefined(); + }), + ); + + it.effect("reports a download failure as an install failure", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + setupPackageManager(specOf("pnpm", "10.20.0")).pipe( + Effect.provide( + layerFor(log, { + install: () => + Effect.fail( + new PackageManagerInstallerError({ + reason: "downloadFailed", + name: "pnpm", + version: "10.20.0", + subject: "https://registry.npmjs.org/pnpm/-/pnpm-10.20.0.tgz", + }), + ), + }), + ), + ), + ); + + expect(error.reason).toBe("install"); + // The kit error's prose, not its discriminant. + expect(error.message).toContain("Failed to setup pnpm@10.20.0: "); + expect(error.message).toContain("https://registry.npmjs.org/pnpm/-/pnpm-10.20.0.tgz"); + }), + ); + + it.effect("reports an integrity mismatch as an install failure", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + setupPackageManager(specOf("pnpm", "10.20.0+sha512.deadbeef")).pipe( + Effect.provide( + layerFor(log, { + install: () => + Effect.fail( + new PackageManagerInstallerError({ + reason: "integrityMismatch", + name: "pnpm", + version: "10.20.0", + expected: "sha512.deadbeef", + actual: "sha512.cafebabe", + }), + ), + }), + ), + ), + ); + + // Nothing was cached, so the manager was never acquired: install, not + // verify. `verify` is reserved for an artifact that *did* land. + expect(error.reason).toBe("install"); + }), + ); + + it.effect("reports an unexpected artifact layout as a verify failure", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + setupPackageManager(specOf("yarn", "4.0.0")).pipe( + Effect.provide( + layerFor(log, { + install: () => + Effect.fail( + new PackageManagerInstallerError({ + reason: "layoutUnexpected", + name: "yarn", + version: "4.0.0", + subject: "package.json names no bin", + }), + ), + }), + ), + ), + ); + + // The artifact downloaded and extracted; what failed is the check that it + // is the package manager it claims to be. + expect(error.reason).toBe("verify"); + expect(error.message).toContain("Failed to setup yarn@4.0.0: "); + }), + ); + + it.effect("reports a PATH publication failure as an activation failure", () => + Effect.gen(function* () { + const log = recorder(); + const error = yield* Effect.flip( + setupPackageManager(specOf("pnpm", "10.20.0")).pipe( + Effect.provide( + layerFor(log, { + addPath: () => Effect.fail(new ActionOutputError({ reason: "unavailable", file: "GITHUB_PATH" })), + }), + ), + ), + ); + + expect(error.reason).toBe("activate"); + expect(error.message).toBe( + 'Failed to setup pnpm@10.20.0: Runner file "GITHUB_PATH" is not available; is this running on a GitHub runner?', + ); + }), + ); + + it("PackageManagerError carries its tag and reason", () => { + const error = new PackageManagerError({ reason: "activate", message: "activation failed" }); + expect(error._tag).toBe("PackageManagerError"); + expect(error.reason).toBe("activate"); + expect(error.message).toBe("activation failed"); + }); +}); diff --git a/__test__/unit/steps/steps.test.ts b/__test__/unit/steps/steps.test.ts new file mode 100644 index 00000000..8b848427 --- /dev/null +++ b/__test__/unit/steps/steps.test.ts @@ -0,0 +1,99 @@ +import { describe, expect, it } from "@effect/vitest"; + +import { BiomeDetectError } from "../../../src/steps/detect-biome.js"; +import { TurboDetectError } from "../../../src/steps/detect-turbo.js"; +import { BiomeInstallError } from "../../../src/steps/install-biome.js"; +import { CacheError } from "../../../src/steps/restore-cache.js"; +import { SummaryError } from "../../../src/steps/summary.js"; +import { TurboCacheError } from "../../../src/steps/turbo-cache.js"; + +// `loadConfig` is implemented, not stubbed — its tests live in load-config.test.ts. + +// `installRuntimes` is implemented, not stubbed — its tests live in +// install-runtimes.test.ts, next to the descriptor tests it depends on. + +// `installDependencies` is implemented, not stubbed — its tests live in +// install-dependencies.test.ts. + +// `setupPackageManager` is implemented, not stubbed — its tests live in +// setup-package-manager.test.ts. + +// `restoreCache` is implemented, not stubbed — its tests live in +// restore-cache.test.ts, next to the pure helpers it derives its key and paths +// with. + +describe("CacheError", () => { + it("carries its tag and reason", () => { + const error = new CacheError({ reason: "restore", message: "restore failed" }); + expect(error._tag).toBe("CacheError"); + expect(error.reason).toBe("restore"); + expect(error.message).toBe("restore failed"); + }); + + it("tells the two writes apart", () => { + // `state` is main failing to hand the post phase what it restored; `save` + // is the post phase failing to archive it. One literal for both would make + // a log grep for a failed archive turn up runs that never attempted one. + const reasons: ReadonlyArray<CacheError["reason"]> = ["key", "restore", "state", "save"]; + expect(reasons.map((reason) => new CacheError({ reason, message: reason }).reason)).toEqual([ + "key", + "restore", + "state", + "save", + ]); + }); +}); + +// The step itself is covered by `install-biome.test.ts`, next to the descriptor +// tests it depends on. +describe("installBiome", () => { + it("BiomeInstallError carries its tag and reason", () => { + const error = new BiomeInstallError({ reason: "cache", message: "cache write failed" }); + expect(error._tag).toBe("BiomeInstallError"); + expect(error.reason).toBe("cache"); + expect(error.message).toBe("cache write failed"); + }); +}); + +// The steps themselves are covered by `detect-biome.test.ts` and +// `detect-turbo.test.ts`; what is left here is the error class each one +// declares, alongside every other step's. +describe("detectBiome", () => { + it("BiomeDetectError carries its tag and reason", () => { + const error = new BiomeDetectError({ reason: "parse", message: "unparseable $schema" }); + expect(error._tag).toBe("BiomeDetectError"); + expect(error.reason).toBe("parse"); + expect(error.message).toBe("unparseable $schema"); + }); +}); + +describe("detectTurbo", () => { + it("TurboDetectError carries its tag and reason", () => { + const error = new TurboDetectError({ reason: "read", message: "could not read turbo.json" }); + expect(error._tag).toBe("TurboDetectError"); + expect(error.reason).toBe("read"); + expect(error.message).toBe("could not read turbo.json"); + }); +}); + +// `startTurboCache` is implemented, not stubbed — its tests live in +// turbo-cache.test.ts, next to the activation table it resolves with. +describe("startTurboCache", () => { + it("TurboCacheError carries its tag and reason", () => { + const error = new TurboCacheError({ reason: "readiness", message: "server never became ready" }); + expect(error._tag).toBe("TurboCacheError"); + expect(error.reason).toBe("readiness"); + expect(error.message).toBe("server never became ready"); + }); +}); + +// `writeSummary` is implemented, not stubbed — its tests live in +// summary.test.ts, beside the formatter tests in summary/format.test.ts. +describe("writeSummary", () => { + it("SummaryError carries its tag and reason", () => { + const error = new SummaryError({ reason: "render", message: "render failed" }); + expect(error._tag).toBe("SummaryError"); + expect(error.reason).toBe("render"); + expect(error.message).toBe("render failed"); + }); +}); diff --git a/__test__/unit/steps/summary.test.ts b/__test__/unit/steps/summary.test.ts new file mode 100644 index 00000000..0ca678ce --- /dev/null +++ b/__test__/unit/steps/summary.test.ts @@ -0,0 +1,180 @@ +import { describe, expect, it } from "@effect/vitest"; +import { ActionLogger, ActionOutputError, ActionOutputs } from "@effected/github-actions"; +import { Effect, Layer, Logger, Option } from "effect"; +import type { OutputsModel } from "../../../src/schema/outputs.js"; +import { initialOutputs } from "../../../src/schema/outputs.js"; +import { CacheState } from "../../../src/state.js"; +import type { SummaryFacts } from "../../../src/steps/summary.js"; +import { writeSummary } from "../../../src/steps/summary.js"; + +/** The facts a fully-configured run hands the summary. */ +const facts = (overrides: Partial<SummaryFacts> = {}): SummaryFacts => ({ + outputs: { + ...initialOutputs, + packageManager: "pnpm", + packageManagerVersion: "11.8.0", + biomeVersion: "2.4.16", + biomeEnabled: true, + turboEnabled: true, + } satisfies OutputsModel, + runtimes: [{ name: "node", version: "26.3.1", path: "/opt/toolcache/node/26.3.1" }], + biome: Option.some({ version: "2.4.16", path: "/opt/toolcache/biome/2.4.16" }), + biomeDetected: Option.some("2.4.16"), + cache: CacheState.make({ + paths: ["**/node_modules"], + primaryKey: "silk-linux-x64-abc", + restoredKey: Option.some("silk-linux-x64-abc"), + lockfiles: ["pnpm-lock.yaml"], + }), + turboCache: { backend: "github", port: Option.some(41230), state: Option.none() }, + dependenciesInstalled: true, + ...overrides, +}); + +/** + * The doubles this suite runs against, capturing what reached the runner. + * + * @remarks + * `summary` is stubbed rather than left to die because it is the member under + * test; `ActionLogger.layerTest`'s `group` runs its body, so the final group's + * lines reach the captured logger like any other. + */ +const harness = (options: { readonly summary?: (content: string) => Effect.Effect<void, ActionOutputError> } = {}) => { + const panels: Array<string> = []; + const logs: Array<string> = []; + const groups: Array<string> = []; + const layer = Layer.mergeAll( + ActionOutputs.layerTest({ + summary: options.summary ?? ((content) => Effect.sync(() => void panels.push(content))), + }), + ActionLogger.layerTest({ + group: (name, effect) => + Effect.suspend(() => { + groups.push(name); + return effect; + }), + }), + Logger.layer([Logger.make(({ message }) => void logs.push(String(message)))]), + ); + return { panels, logs, groups, layer }; +}; + +describe("writeSummary", () => { + it.effect("writes the rendered panel to the job summary", () => { + const { panels, layer } = harness(); + return Effect.gen(function* () { + yield* writeSummary(facts()); + expect(panels).toHaveLength(1); + expect(panels[0]).toContain("## 🚀 Runtime Setup"); + expect(panels[0]).toContain("| Runtime(s) | node 26.3.1 |"); + expect(panels[0]).toContain("| Package manager | pnpm 11.8.0 |"); + expect(panels[0]).toContain("| Biome | 2.4.16 |"); + expect(panels[0]).toContain("| Turbo cache | github · server ready (:41230) |"); + expect(panels[0]).toContain("| Dependency cache | ✅ exact hit |"); + expect(panels[0]).toContain("| Dependencies | installed |"); + expect(panels[0]).toContain("- Cache key: `silk-linux-x64-abc`"); + expect(panels[0]).toContain("- Lockfiles: `pnpm-lock.yaml`"); + }).pipe(Effect.provide(layer)); + }); + + it.effect("closes with the final group, one line per installed tool", () => { + const { logs, groups, layer } = harness(); + return Effect.gen(function* () { + yield* writeSummary( + facts({ + runtimes: [ + { name: "node", version: "26.3.1", path: "/opt/toolcache/node/26.3.1" }, + { name: "bun", version: "1.3.3", path: "/opt/toolcache/bun/1.3.3" }, + ], + }), + ); + expect(groups).toContain("Runtime Setup Complete"); + // Ruling 50: the installed lines only — v1 printed the *requested* set + // first and then repeated it tool by tool. + expect(logs).toEqual([ + "node: 26.3.1", + "bun: 1.3.3", + "pnpm: 11.8.0", + "Turbo: enabled", + "Biome: v2.4.16", + "Dependencies: installed", + ]); + }).pipe(Effect.provide(layer)); + }); + + it.effect("reports an undetected Biome as undetected, and a skipped install as skipped", () => { + const { logs, layer } = harness(); + return Effect.gen(function* () { + yield* writeSummary( + facts({ + outputs: { ...initialOutputs, packageManager: "deno", packageManagerVersion: "2.5.6" }, + biome: Option.none(), + biomeDetected: Option.none(), + dependenciesInstalled: false, + }), + ); + // Ruling 36's wording, replacing v1's "not installed" — which was wrong + // for the case it was printed in. + expect(logs).toContain("Biome: not detected"); + expect(logs).toContain("Turbo: disabled"); + expect(logs).toContain("Dependencies: skipped"); + }).pipe(Effect.provide(layer)); + }); + + it.effect("tells a Biome whose install failed apart from one that was never there", () => { + const { panels, logs, layer } = harness(); + return Effect.gen(function* () { + // The reachable third case: detection resolved a version, `installBiome` + // failed, and the program degraded it to a warning. Reporting that as + // "not detected" would be wrong in the same direction v1's "not + // installed" was — it names the wrong step. + yield* writeSummary(facts({ biome: Option.none(), biomeDetected: Option.some("2.4.16") })); + expect(logs).toContain("Biome: detected, install failed"); + expect(logs).not.toContain("Biome: not detected"); + // The panel row stays omitted: it reports what this run *has*, and a + // failed install leaves it with nothing to name. + expect(panels[0]).not.toContain("| Biome |"); + }).pipe(Effect.provide(layer)); + }); + + it.effect("takes the affirmative Biome line from the install result, not from detection", () => { + const { logs, layer } = harness(); + return Effect.gen(function* () { + // Detection resolved 2.4.16 and the outputs echo it, but the install + // answered with a different build — quirk 51 says the line follows the + // install. + yield* writeSummary(facts({ biome: Option.some({ version: "2.4.9", path: "/opt/toolcache/biome/2.4.9" }) })); + expect(logs).toContain("Biome: v2.4.9"); + }).pipe(Effect.provide(layer)); + }); + + it.effect("degrades a failed write to a warning, and still logs the final group", () => { + const { logs, layer } = harness({ + summary: () => Effect.fail(new ActionOutputError({ reason: "writeFailed", file: "GITHUB_STEP_SUMMARY" })), + }); + return Effect.gen(function* () { + const exit = yield* writeSummary(facts()).pipe(Effect.exit); + expect(exit._tag).toBe("Success"); + expect(logs.join("\n")).toContain("Failed to write job summary: "); + // The panel is an extra, not a gate: the group still runs. + expect(logs).toContain("Dependencies: installed"); + }).pipe(Effect.provide(layer)); + }); + + it.effect("degrades a failed render to a warning, without attempting a write", () => { + const { panels, logs, layer } = harness(); + return Effect.gen(function* () { + // A cache state whose `lockfiles` is not an array is unreachable through + // the schema, so the render throw is provoked the only way a defect can + // actually arrive here: a value smuggled past the types. + const broken = { primaryKey: "k", restoredKey: Option.none(), lockfiles: null } as unknown as CacheState; + const exit = yield* writeSummary(facts({ cache: broken })).pipe(Effect.exit); + expect(exit._tag).toBe("Success"); + expect(logs.join("\n")).toContain("Failed to render job summary: "); + expect(panels).toHaveLength(0); + // Ruling 53: the render arm is new — v1 covered only the write and a + // render throw took the job down. + expect(logs).toContain("Dependencies: installed"); + }).pipe(Effect.provide(layer)); + }); +}); diff --git a/__test__/unit/steps/turbo-cache.test.ts b/__test__/unit/steps/turbo-cache.test.ts new file mode 100644 index 00000000..d04e9df0 --- /dev/null +++ b/__test__/unit/steps/turbo-cache.test.ts @@ -0,0 +1,801 @@ +import { createServer } from "node:http"; +import { tmpdir } from "node:os"; +import { basename, dirname, join } from "node:path"; +import { fileURLToPath } from "node:url"; +import { NodeFileSystem } from "@effect/platform-node"; +import { describe, expect, it } from "@effect/vitest"; +import type { DetachedSpawnOptions } from "@effected/github-actions"; +import { + ActionEnvironment, + ActionOutputs, + ActionState, + ActionStateError, + DetachedProcessError, + ProcessId, +} from "@effected/github-actions"; +import { Effect, FileSystem, Layer, Logger, Option, Redacted } from "effect"; +import { ChildProcessSpawner } from "effect/unstable/process"; + +import type { Inputs } from "../../../src/schema/inputs.js"; +import { STATE_KEYS, TurboServerState } from "../../../src/state.js"; +import type { DetachedProcessOps, StartedTurboCache, TurboCacheError } from "../../../src/steps/turbo-cache.js"; +import { defaultServerEntry, readinessProbe, serverLogPath, startTurboCache } from "../../../src/steps/turbo-cache.js"; + +/** Every optional input absent, every default applied. */ +const BASE_INPUTS: Inputs = { + biomeVersion: Option.none(), + turboCache: "auto", + turboCachePrefix: "", + turboToken: Option.none(), + turboTeam: Option.none(), + turboS3Bucket: Option.none(), + turboS3Region: Option.none(), + turboS3Endpoint: Option.none(), + turboS3AccessKeyId: Option.none(), + turboS3SecretAccessKey: Option.none(), + turboS3SessionToken: Option.none(), + turboS3Prefix: Option.none(), + installDeps: true, + cacheBust: Option.none(), + additionalLockfiles: [], + additionalCachePaths: [], +}; + +const inputs = (overrides: Partial<Inputs> = {}): Inputs => ({ ...BASE_INPUTS, ...overrides }); + +/** The server bundle every test names, so no test resolves the real one. */ +const SERVER_ENTRY = "/opt/action/dist/turbo-server.js"; + +/** Everything one `startTurboCache` run did, as this suite cares about it. */ +interface Recorded { + /** Variables exported for later workflow steps, in order. */ + readonly exported: Array<readonly [string, string]>; + /** Values registered with the runner's log mask. */ + readonly masked: Array<string>; + /** The spawn specifications the step handed the kit. */ + readonly spawns: Array<DetachedSpawnOptions>; + /** State keys written, in order. */ + readonly saved: Array<readonly [string, TurboServerState]>; + /** Every operation that happened, in the order it happened. */ + readonly order: Array<string>; + /** Every log line the step emitted. */ + readonly logs: Array<string>; + /** + * The readiness probes handed to `awaitReady`. + * + * @remarks + * Captured rather than run. Running one here would reach the network from a + * unit test; keeping it lets a test that *supplies* a server run it, which is + * the difference between asserting a probe was passed and asserting the right + * one was. + */ + readonly probes: Array<Effect.Effect<boolean>>; +} + +const recorder = (): Recorded => ({ + exported: [], + masked: [], + spawns: [], + saved: [], + order: [], + logs: [], + probes: [], +}); + +/** The exported value of `name`, if the run exported one. */ +const exported = (recorded: Recorded, name: string): string | undefined => + recorded.exported.find(([key]) => key === name)?.[1]; + +/** A `DetachedProcess` seam recording its calls and answering as `options` says. */ +const detachedTest = ( + recorded: Recorded, + options: { + readonly pid?: number; + readonly spawn?: Effect.Effect<ChildProcessSpawner.ProcessId, DetachedProcessError>; + readonly ready?: Effect.Effect<void, DetachedProcessError>; + } = {}, +): DetachedProcessOps => ({ + spawn: (spec) => + Effect.suspend(() => { + recorded.spawns.push(spec); + recorded.order.push("spawn"); + return options.spawn ?? Effect.succeed(ChildProcessSpawner.ProcessId(options.pid ?? 4242)); + }), + // The probe is captured, never run here: a unit test must not reach the + // network by default. `readinessProbe` has its own tests against a real + // server, and one case below runs the *captured* probe against one. + awaitReady: ((probe: Effect.Effect<boolean, never, never>) => + Effect.suspend(() => { + recorded.probes.push(probe); + recorded.order.push("awaitReady"); + return options.ready ?? Effect.void; + })) as unknown as DetachedProcessOps["awaitReady"], +}); + +/** The services `startTurboCache` needs, all recording into `recorded`. */ +const layer = ( + recorded: Recorded, + options: { readonly save?: Effect.Effect<void, ActionStateError> } = {}, +): Layer.Layer<ActionOutputs | ActionState> => + Layer.mergeAll( + ActionOutputs.layerTest({ + exportVariable: (name, value) => + Effect.sync(() => { + recorded.exported.push([name, value]); + recorded.order.push(`export:${name}`); + }), + setSecret: (value) => Effect.sync(() => void recorded.masked.push(value)), + }), + ActionState.layerTest({ + save: ((key: string, value: TurboServerState) => + Effect.suspend(() => { + recorded.saved.push([key, value]); + recorded.order.push("save"); + return options.save ?? Effect.void; + })) as ActionState["Service"]["save"], + }), + Logger.layer([Logger.make(({ message }) => void recorded.logs.push(String(message)))]), + ); + +/** Runs the step over recording doubles and hands back both halves. */ +const run = ( + args: { + readonly inputs?: Inputs; + readonly turbo?: boolean; + readonly detached?: DetachedProcessOps; + readonly save?: Effect.Effect<void, ActionStateError>; + readonly port?: number; + } = {}, +): Effect.Effect<{ readonly started: StartedTurboCache; readonly recorded: Recorded }, TurboCacheError> => + Effect.suspend(() => { + const recorded = recorder(); + return startTurboCache({ + inputs: args.inputs ?? inputs(), + turbo: { enabled: args.turbo ?? true }, + detached: args.detached ?? detachedTest(recorded), + serverEntry: SERVER_ENTRY, + ...(args.port === undefined ? {} : { port: args.port }), + }).pipe( + Effect.map((started) => ({ started, recorded })), + Effect.provide(layer(recorded, args.save === undefined ? {} : { save: args.save })), + ); + }); + +describe("serverLogPath", () => { + it("derives one path per port, in the temp directory", () => { + // Three call sites name this file without passing it between them: the + // spawn, the failed-readiness error and post's teardown log line. + expect(serverLogPath(41230)).toBe(join(tmpdir(), "turbogha-41230.log")); + expect(serverLogPath(9080)).not.toBe(serverLogPath(41230)); + }); +}); + +describe("defaultServerEntry", () => { + it("names the worker bundle beside the bundle it is called from", () => { + const entry = defaultServerEntry(); + expect(basename(entry)).toBe("turbo-server.js"); + // The build emits `dist/main.js` and `dist/turbo-server.js` side by side, + // so the directory is whatever holds the caller — here, the source tree. + // `fileURLToPath` rather than `URL.pathname`, which is percent-encoded and + // carries a leading slash before a Windows drive letter. + expect(dirname(entry)).toBe(dirname(fileURLToPath(new URL("../../../src/steps/turbo-cache.ts", import.meta.url)))); + }); +}); + +describe("readinessProbe", () => { + /** A loopback server answering `/v8/artifacts/status` with `status`. */ + const withServer = <A, E, R>(status: number, use: (port: number) => Effect.Effect<A, E, R>) => + Effect.acquireUseRelease( + Effect.callback<{ readonly port: number; readonly close: () => Promise<void> }>((resume) => { + const server = createServer((request, response) => { + response.writeHead(request.url?.startsWith("/v8/artifacts/status") === true ? status : 404); + response.end(); + }); + server.listen(0, "127.0.0.1", () => { + const address = server.address(); + resume( + Effect.succeed({ + port: typeof address === "object" && address !== null ? address.port : 0, + close: () => new Promise<void>((done) => server.close(() => done())), + }), + ); + }); + }), + (server) => use(server.port), + (server) => Effect.promise(() => server.close()), + ); + + it.effect("is true when the server answers its status route", () => + withServer(200, (port) => + Effect.gen(function* () { + expect(yield* readinessProbe(port)).toBe(true); + }), + ), + ); + + it.effect("is false when the server is listening but not serving", () => + withServer(503, (port) => + Effect.gen(function* () { + // A server that answers unhappily is not ready either — turbo would + // get the same answer for its own requests. + expect(yield* readinessProbe(port)).toBe(false); + }), + ), + ); + + it.effect("is false rather than failed when the connection is refused", () => + Effect.gen(function* () { + // Ruling 63: `awaitReady` propagates probe *failures*, so a child that + // has not finished binding has to arrive as `false` — otherwise the very + // first poll aborts the wait it exists to perform. + const port = yield* withServer(200, (bound) => Effect.succeed(bound)); + const exit = yield* Effect.exit(readinessProbe(port)); + expect(exit._tag).toBe("Success"); + expect(yield* readinessProbe(port)).toBe(false); + }), + ); +}); + +describe("startTurboCache: off", () => { + it.effect("reports no cache and touches nothing when turbo is not detected", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({ turbo: false }); + + expect(started.backend).toBe("none"); + expect(Option.isNone(started.port)).toBe(true); + expect(Option.isNone(started.state)).toBe(true); + expect(recorded.spawns).toEqual([]); + expect(recorded.exported).toEqual([]); + expect(recorded.saved).toEqual([]); + }), + ); + + it.effect("reports no cache when the workflow asked for turbo-cache: off", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({ inputs: inputs({ turboCache: "off" }) }); + + expect(started.backend).toBe("none"); + expect(recorded.spawns).toEqual([]); + expect(recorded.exported).toEqual([]); + }), + ); + + it.effect("still masks every secret the workflow supplied", () => + Effect.gen(function* () { + // Oracle 7 + ruling 78: masking precedes the activation table, because a + // secret a workflow set is worth redacting whether or not this + // resolution uses it — and this one uses none of them. + const { recorded } = yield* run({ + turbo: false, + inputs: inputs({ + turboToken: Option.some(Redacted.make("vercel-token")), + turboS3AccessKeyId: Option.some("AKIAEXAMPLE"), + turboS3SecretAccessKey: Option.some(Redacted.make("s3-secret")), + turboS3SessionToken: Option.some(Redacted.make("s3-session")), + }), + }); + + expect(recorded.masked).toContain("vercel-token"); + expect(recorded.masked).toContain("AKIAEXAMPLE"); + expect(recorded.masked).toContain("s3-secret"); + expect(recorded.masked).toContain("s3-session"); + }), + ); +}); + +describe("startTurboCache: passthrough", () => { + const passthroughInputs = inputs({ + turboToken: Option.some(Redacted.make("vercel-token")), + turboTeam: Option.some("acme"), + }); + + it.effect("exports the workflow's own credentials and reports the remote backend", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({ inputs: passthroughInputs }); + + expect(started.backend).toBe("remote"); + expect(Option.isNone(started.port)).toBe(true); + expect(Option.isNone(started.state)).toBe(true); + expect(exported(recorded, "TURBO_TOKEN")).toBe("vercel-token"); + expect(exported(recorded, "TURBO_TEAM")).toBe("acme"); + }), + ); + + it.effect("says what the cache resolved to, in the panel's own words", () => + Effect.gen(function* () { + // Oracle 30: the step emitted debug lines only, so a run's log said + // nothing about the cache the job summary went on to describe. One + // formatter renders both, so the two cannot disagree. + const { recorded } = yield* run({ inputs: passthroughInputs }); + expect(recorded.logs).toContain("passthrough (Vercel)"); + }), + ); + + it.effect("exports no TURBO_API, leaving turbo pointed at its own default", () => + Effect.gen(function* () { + const { recorded } = yield* run({ inputs: passthroughInputs }); + // Naming an endpoint here would pin a URL this action does not own. + expect(exported(recorded, "TURBO_API")).toBeUndefined(); + }), + ); + + it.effect("starts no server", () => + Effect.gen(function* () { + const { recorded } = yield* run({ inputs: passthroughInputs }); + expect(recorded.spawns).toEqual([]); + expect(recorded.saved).toEqual([]); + }), + ); + + it.effect("beats an S3 bucket configured alongside it", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({ + inputs: inputs({ ...passthroughInputs, turboS3Bucket: Option.some("turbo-cache") }), + }); + + expect(started.backend).toBe("remote"); + expect(recorded.spawns).toEqual([]); + }), + ); + + it.effect("warns and falls through to the embedded server on half a credential", () => + Effect.gen(function* () { + // Ruling 77. v1 fell through silently, which looks identical in the log + // to a workflow that configured no passthrough at all. + const { started, recorded } = yield* run({ + inputs: inputs({ turboToken: Option.some(Redacted.make("vercel-token")) }), + }); + + expect(started.backend).toBe("github"); + expect(recorded.logs.join("\n")).toContain("Both turbo-token and turbo-team are required"); + }), + ); + + it.effect("warns when only the team is set", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({ inputs: inputs({ turboTeam: Option.some("acme") }) }); + + expect(started.backend).toBe("github"); + expect(recorded.logs.join("\n")).toContain("Both turbo-token and turbo-team are required"); + }), + ); + + it.effect("says nothing when both credentials are absent", () => + Effect.gen(function* () { + const { recorded } = yield* run({}); + expect(recorded.logs.join("\n")).not.toContain("Both turbo-token and turbo-team are required"); + }), + ); + + it.effect("says nothing about falling through when the cache is off entirely", () => + Effect.gen(function* () { + // The warning promises an embedded server, so it must not fire on a run + // that starts none. `turbo-cache: off` and half a credential is a real + // combination — a workflow disabling the cache does not first go and + // delete its Vercel token. + const { started, recorded } = yield* run({ + inputs: inputs({ turboCache: "off", turboToken: Option.some(Redacted.make("vercel-token")) }), + }); + + expect(started.backend).toBe("none"); + expect(recorded.spawns).toEqual([]); + expect(recorded.logs.join("\n")).not.toContain("Both turbo-token and turbo-team are required"); + }), + ); + + it.effect("says nothing about falling through when turbo was never detected", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({ + turbo: false, + inputs: inputs({ turboTeam: Option.some("acme") }), + }); + + expect(started.backend).toBe("none"); + expect(recorded.logs.join("\n")).not.toContain("Both turbo-token and turbo-team are required"); + }), + ); +}); + +describe("startTurboCache: embedded", () => { + it.effect("spawns this runtime on the server bundle, logging to the port's file", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({}); + + expect(started.backend).toBe("github"); + expect(Option.getOrThrow(started.port)).toBe(41230); + expect(recorded.spawns).toHaveLength(1); + const spec = recorded.spawns[0] as DetachedSpawnOptions; + expect(spec.command).toBe(process.execPath); + expect(spec.args).toEqual([SERVER_ENTRY]); + expect(spec.logFile).toBe(serverLogPath(41230)); + }), + ); + + it.effect("names the backend and the bound port once the server answers", () => + Effect.gen(function* () { + const { recorded } = yield* run({}); + expect(recorded.logs).toContain("github · server ready (:41230)"); + }), + ); + + it.effect("configures the worker through the TURBOGHA_ names the worker parses", () => + Effect.gen(function* () { + const { recorded } = yield* run({ inputs: inputs({ turboCachePrefix: "pr-42/" }) }); + + const env = (recorded.spawns[0] as DetachedSpawnOptions).env ?? {}; + expect(env.TURBOGHA_PORT).toBe("41230"); + expect(env.TURBOGHA_PREFIX).toBe("pr-42/"); + expect(env.TURBOGHA_BACKEND).toBe("github"); + // No S3 variable belongs in a GitHub-backend spawn. + expect(Object.keys(env).filter((name) => name.startsWith("TURBOGHA_S3_"))).toEqual([]); + }), + ); + + it.effect("authenticates the server with a credential minted for this run alone", () => + Effect.gen(function* () { + // Ruling 76: v1 compiled a constant into the source, so a leaked build + // disclosed every runner's cache credential. + const first = yield* run({}); + const second = yield* run({}); + + const credentialOf = (recorded: Recorded): string => + (recorded.spawns[0] as DetachedSpawnOptions).env?.TURBOGHA_TOKEN ?? ""; + expect(credentialOf(first.recorded)).toMatch(/^[0-9a-f-]{36}$/); + expect(credentialOf(first.recorded)).not.toBe("silk-runtime-action"); + expect(credentialOf(second.recorded)).not.toBe(credentialOf(first.recorded)); + }), + ); + + it.effect("exports the loopback API and both credentials once the server answers", () => + Effect.gen(function* () { + const { recorded } = yield* run({}); + + expect(exported(recorded, "TURBO_API")).toBe("http://127.0.0.1:41230"); + const credential = (recorded.spawns[0] as DetachedSpawnOptions).env?.TURBOGHA_TOKEN; + expect(exported(recorded, "TURBO_TOKEN")).toBe(credential); + expect(exported(recorded, "TURBO_TEAM")).toBe(credential); + }), + ); + + it.effect("saves the server's state before waiting for it to be ready", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({}); + + // Oracle 34: a child that hangs half-started is still reapable, because + // the pid was persisted before anything waited on it. + expect(recorded.order.indexOf("save")).toBeLessThan(recorded.order.indexOf("awaitReady")); + expect(recorded.order.indexOf("spawn")).toBeLessThan(recorded.order.indexOf("save")); + expect(recorded.saved).toHaveLength(1); + const [key, saved] = recorded.saved[0] as readonly [string, TurboServerState]; + expect(key).toBe(STATE_KEYS.turboServer); + expect(saved.pid).toBe(4242); + expect(saved.port).toBe(41230); + expect(saved.backend).toBe("github"); + expect(saved.logFile).toBe(serverLogPath(41230)); + expect(Option.getOrThrow(started.state)).toEqual(saved); + }), + ); + + it.effect("exports nothing before the server answers", () => + Effect.gen(function* () { + const { recorded } = yield* run({}); + // A `TURBO_API` exported ahead of readiness would point turbo at a port + // nothing is listening on yet. + expect(recorded.order.indexOf("awaitReady")).toBeLessThan(recorded.order.indexOf("export:TURBO_API")); + }), + ); + + it.effect("waits on a probe aimed at the port it spawned the server on", () => + Effect.gen(function* () { + // Running a *captured* probe against a server the test controls is what + // separates "a probe was passed" from "the right probe was passed". A + // probe aimed at the wrong port, the wrong host or the wrong route answers + // `false` against this server exactly as it would against no server, and + // the exported `TURBO_API` would then name an address readiness never + // actually checked. + // + // The server binds port 0 *first* and the step is pointed at whatever + // the OS handed out (the `port` seam). Binding the default 41230 is + // not an option in this repository's own CI: the job that runs this + // suite is set up by this very action, so a real cache server already + // holds that port for the length of the job. + const answered = yield* Effect.acquireUseRelease( + Effect.callback<{ + readonly hits: Array<string>; + readonly port: number; + readonly close: () => Promise<void>; + }>((resume) => { + const hits: Array<string> = []; + const server = createServer((request, response) => { + hits.push(request.url ?? ""); + response.writeHead(request.url?.startsWith("/v8/artifacts/status") === true ? 200 : 404); + response.end(); + }); + server.on("error", (cause) => resume(Effect.die(cause))); + server.listen(0, "127.0.0.1", () => { + const address = server.address(); + if (address === null || typeof address === "string") { + resume(Effect.die(new Error("server bound no port"))); + return; + } + resume( + Effect.succeed({ + hits, + port: address.port, + close: () => new Promise<void>((done) => server.close(() => done())), + }), + ); + }); + }), + (serving) => + Effect.gen(function* () { + const { started, recorded } = yield* run({ port: serving.port }); + expect(Option.getOrThrow(started.port)).toBe(serving.port); + const probe = recorded.probes[0] as Effect.Effect<boolean>; + expect(recorded.probes).toHaveLength(1); + const up = yield* probe; + return { up, hits: serving.hits, port: serving.port, probe, recorded }; + }), + (serving) => Effect.promise(() => serving.close()), + ); + + expect(answered.up).toBe(true); + expect(answered.hits).toEqual(["/v8/artifacts/status"]); + // And it is genuinely bound to that address rather than answering true + // unconditionally: with the server gone, the same probe is false. + expect(yield* answered.probe).toBe(false); + expect(exported(answered.recorded, "TURBO_API")).toBe(`http://127.0.0.1:${answered.port}`); + }), + ); +}); + +describe("startTurboCache: S3 backend", () => { + const s3Inputs = inputs({ + turboS3Bucket: Option.some("turbo-cache"), + turboS3Region: Option.some("us-east-1"), + turboS3Endpoint: Option.some("http://127.0.0.1:9000"), + turboS3AccessKeyId: Option.some("minioadmin"), + turboS3SecretAccessKey: Option.some(Redacted.make("miniosecret")), + turboS3SessionToken: Option.some(Redacted.make("miniosession")), + turboS3Prefix: Option.some("builds/"), + }); + + it.effect("carries every S3 setting into the worker's environment", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({ inputs: s3Inputs }); + + expect(started.backend).toBe("s3"); + const env = (recorded.spawns[0] as DetachedSpawnOptions).env ?? {}; + expect(env.TURBOGHA_BACKEND).toBe("s3"); + expect(env.TURBOGHA_S3_BUCKET).toBe("turbo-cache"); + expect(env.TURBOGHA_S3_REGION).toBe("us-east-1"); + expect(env.TURBOGHA_S3_ENDPOINT).toBe("http://127.0.0.1:9000"); + expect(env.TURBOGHA_S3_ACCESS_KEY_ID).toBe("minioadmin"); + expect(env.TURBOGHA_S3_SECRET_ACCESS_KEY).toBe("miniosecret"); + expect(env.TURBOGHA_S3_SESSION_TOKEN).toBe("miniosession"); + expect(env.TURBOGHA_S3_PREFIX).toBe("builds/"); + }), + ); + + it.effect("masks both S3 secrets before either reaches the child", () => + Effect.gen(function* () { + const { recorded } = yield* run({ inputs: s3Inputs }); + + // `Secret.forChildEnv` is the only sanctioned way a `Redacted` becomes a + // child's environment variable, and it masks the whole set first. + expect(recorded.masked).toContain("miniosecret"); + expect(recorded.masked).toContain("miniosession"); + expect(recorded.masked).toContain("minioadmin"); + }), + ); + + it.effect("omits the optional settings the workflow left unset", () => + Effect.gen(function* () { + const { recorded } = yield* run({ inputs: inputs({ turboS3Bucket: Option.some("turbo-cache") }) }); + + const env = (recorded.spawns[0] as DetachedSpawnOptions).env ?? {}; + expect(env.TURBOGHA_S3_BUCKET).toBe("turbo-cache"); + // The worker reads unset and empty as the same case; an omitted variable + // is the clearer thing to find in a process listing. + expect("TURBOGHA_S3_ENDPOINT" in env).toBe(false); + expect("TURBOGHA_S3_SESSION_TOKEN" in env).toBe(false); + expect("TURBOGHA_S3_PREFIX" in env).toBe(false); + }), + ); + + it.effect("records s3 in the state the post phase reads", () => + Effect.gen(function* () { + const { recorded } = yield* run({ inputs: s3Inputs }); + const [, saved] = recorded.saved[0] as readonly [string, TurboServerState]; + expect(saved.backend).toBe("s3"); + }), + ); +}); + +describe("startTurboCache: degraded", () => { + it.effect("continues cacheless when the server never answers", () => + Effect.gen(function* () { + const recorded = recorder(); + const started = yield* startTurboCache({ + inputs: inputs(), + turbo: { enabled: true }, + detached: detachedTest(recorded, { + ready: Effect.fail(new DetachedProcessError({ reason: "notReady" })), + }), + serverEntry: SERVER_ENTRY, + }).pipe(Effect.provide(layer(recorded))); + + expect(started.backend).toBe("none"); + expect(Option.isNone(started.port)).toBe(true); + // Oracle 39 row 4: nothing is exported, because a `TURBO_API` pointing at + // a dead port turns every later cache operation into a connection error. + expect(recorded.exported).toEqual([]); + // The state was saved anyway, so post can still reap the half-started child. + expect(recorded.saved).toHaveLength(1); + expect(Option.isSome(started.state)).toBe(true); + }), + ); + + it.effect("names the pid, the address and the log file when readiness fails", () => + Effect.gen(function* () { + const recorded = recorder(); + yield* startTurboCache({ + inputs: inputs(), + turbo: { enabled: true }, + detached: detachedTest(recorded, { + pid: 7331, + ready: Effect.fail(new DetachedProcessError({ reason: "notReady" })), + }), + serverEntry: SERVER_ENTRY, + }).pipe(Effect.provide(layer(recorded))); + + // Oracle 41 — the log file is the only record a detached child leaves. + const line = recorded.logs.join("\n"); + expect(line).toContain("pid=7331"); + expect(line).toContain("127.0.0.1:41230"); + expect(line).toContain(serverLogPath(41230)); + expect(line).toContain("continuing WITHOUT a remote cache"); + }), + ); + + it.effect("warns rather than failing when the child cannot be started", () => + Effect.gen(function* () { + const recorded = recorder(); + const started = yield* startTurboCache({ + inputs: inputs(), + turbo: { enabled: true }, + detached: detachedTest(recorded, { + spawn: Effect.fail(new DetachedProcessError({ reason: "spawnFailed", path: SERVER_ENTRY })), + }), + serverEntry: SERVER_ENTRY, + }).pipe(Effect.provide(layer(recorded))); + + expect(started.backend).toBe("none"); + expect(Option.isNone(started.state)).toBe(true); + expect(recorded.saved).toEqual([]); + expect(recorded.logs.join("\n")).toContain("Turbo cache setup error"); + expect(recorded.logs.join("\n")).toContain("spawnFailed"); + }), + ); + + it.effect("keeps going when the state write fails, so turbo still gets a cache", () => + Effect.gen(function* () { + const { started, recorded } = yield* run({ + save: Effect.fail(new ActionStateError({ reason: "writeFailed", key: STATE_KEYS.turboServer })), + }); + + // The cost is a leaked child, which is strictly better than a run that + // spawned a working server and then refused to use it. + expect(started.backend).toBe("github"); + expect(recorded.logs.join("\n")).toContain("will not be reaped by the post phase"); + }), + ); + + it.effect("survives a defect anywhere in the spawn path", () => + Effect.gen(function* () { + const recorded = recorder(); + const started = yield* startTurboCache({ + inputs: inputs(), + turbo: { enabled: true }, + detached: { + spawn: () => Effect.die(new Error("openSync EACCES")), + awaitReady: (() => Effect.void) as DetachedProcessOps["awaitReady"], + }, + serverEntry: SERVER_ENTRY, + }).pipe(Effect.provide(layer(recorded))); + + expect(started.backend).toBe("none"); + expect(recorded.logs.join("\n")).toContain("Turbo cache setup defect"); + expect(recorded.logs.join("\n")).toContain("openSync EACCES"); + }), + ); + + it.effect("survives a defect that is not an Error", () => + Effect.gen(function* () { + const recorded = recorder(); + const started = yield* startTurboCache({ + inputs: inputs(), + turbo: { enabled: true }, + detached: { + spawn: () => Effect.die("boom"), + awaitReady: (() => Effect.void) as DetachedProcessOps["awaitReady"], + }, + serverEntry: SERVER_ENTRY, + }).pipe(Effect.provide(layer(recorded))); + + expect(started.backend).toBe("none"); + expect(recorded.logs.join("\n")).toContain("boom"); + }), + ); +}); + +describe("the state startTurboCache saves", () => { + /** `ActionState.layer` — the real one — over a state file or `STATE_*` variables. */ + const realState = (env: Record<string, string>): Layer.Layer<ActionState> => + ActionState.layer.pipe( + Layer.provide(ActionEnvironment.layerFrom(env)), + Layer.provide(ActionOutputs.layerTest()), + Layer.provide(NodeFileSystem.layer), + ); + + /** What the runner does between phases: republish the state file as `STATE_*`. */ + const republish = (raw: string): Record<string, string> => { + const lines = raw.split("\n"); + const env: Record<string, string> = {}; + for (let index = 0; index < lines.length; index++) { + const header = /^(.+?)<<(.+)$/.exec(lines[index] ?? ""); + if (header === null) continue; + const [, key, delimiter] = header as unknown as [string, string, string]; + const body: string[] = []; + index++; + while (index < lines.length && lines[index] !== delimiter) { + body.push(lines[index] ?? ""); + index++; + } + env[`STATE_${key}`] = body.join("\n"); + } + return env; + }; + + it.effect("survives the runner's text round trip exactly as the step wrote it", () => + Effect.gen(function* () { + // The statefix rule: an in-memory double hands the encoded object + // straight back and round-trips schemas JSON cannot. This is the *step's* + // own value — a real pid, a real temp path — through the real service. + const fs = yield* FileSystem.FileSystem; + const directory = yield* fs.makeTempDirectoryScoped(); + const file = join(directory, "state.txt"); + yield* fs.writeFileString(file, ""); + + const recorded = recorder(); + const started = yield* startTurboCache({ + inputs: inputs({ turboS3Bucket: Option.some("turbo-cache") }), + turbo: { enabled: true }, + detached: detachedTest(recorded, { pid: 31_337 }), + serverEntry: SERVER_ENTRY, + }).pipe( + Effect.provide( + Layer.mergeAll( + ActionOutputs.layerTest({ + exportVariable: () => Effect.void, + setSecret: () => Effect.void, + }), + realState({ GITHUB_STATE: file }), + Logger.layer([Logger.make(() => {})]), + ), + ), + ); + + const written = yield* fs.readFileString(file); + const restored = yield* Effect.flatMap(ActionState, (state) => + state.get(STATE_KEYS.turboServer, TurboServerState), + ).pipe(Effect.provide(realState(republish(written)))); + + expect(restored).toEqual(Option.getOrThrow(started.state)); + expect(restored.pid).toBe(ProcessId.make(31_337)); + expect(restored.backend).toBe("s3"); + // The encoded form has to be plain JSON, on one line. + expect(written).not.toContain("_id"); + }).pipe(Effect.provide(NodeFileSystem.layer), Effect.scoped), + ); +}); diff --git a/__test__/unit/summary/format.test.ts b/__test__/unit/summary/format.test.ts new file mode 100644 index 00000000..ce635136 --- /dev/null +++ b/__test__/unit/summary/format.test.ts @@ -0,0 +1,179 @@ +import { describe, expect, it } from "@effect/vitest"; +import { Option } from "effect"; + +import { CacheState } from "../../../src/state.js"; +import { buildRuntimeSummary, cacheCell, formatDetectLine, formatTurboLine } from "../../../src/summary/format.js"; + +/** A restore outcome, as the panel's three cells are derived from one. */ +const cacheState = (options: { + readonly restoredKey?: string; + readonly primaryKey?: string; + readonly lockfiles?: ReadonlyArray<string>; +}): CacheState => + CacheState.make({ + paths: ["**/node_modules"], + primaryKey: options.primaryKey ?? "silk-linux-x64-abc", + restoredKey: options.restoredKey === undefined ? Option.none() : Option.some(options.restoredKey), + lockfiles: options.lockfiles ?? [], + }); + +describe("formatDetectLine", () => { + it("joins every detected fact with a middle dot", () => { + expect( + formatDetectLine({ + runtimes: [{ name: "node", version: "26.3.1" }], + packageManager: { name: "pnpm", version: "11.8.0" }, + biome: Option.some("2.4.16"), + turbo: true, + }), + ).toBe("node 26.3.1 · pnpm 11.8.0 · biome 2.4.16 · turbo"); + }); + + it("omits the biome and turbo parts when neither was detected", () => { + expect( + formatDetectLine({ + runtimes: [{ name: "node", version: "26.3.1" }], + packageManager: { name: "pnpm", version: "11.8.0" }, + biome: Option.none(), + turbo: false, + }), + ).toBe("node 26.3.1 · pnpm 11.8.0"); + }); + + it("lists every runtime ahead of the package manager, in declaration order", () => { + expect( + formatDetectLine({ + runtimes: [ + { name: "node", version: "24.11.0" }, + { name: "bun", version: "1.3.3" }, + ], + packageManager: { name: "bun", version: "1.3.3" }, + biome: Option.none(), + turbo: true, + }), + ).toBe("node 24.11.0 · bun 1.3.3 · bun 1.3.3 · turbo"); + }); + + it("spells the tool name in lowercase, unlike the panel's row label", () => { + // Ruling 55: `biome` here, `Biome` in the table — kept verbatim rather + // than harmonized. + const line = formatDetectLine({ + runtimes: [], + packageManager: { name: "npm", version: "11.0.0" }, + biome: Option.some("2.4.16"), + turbo: false, + }); + expect(line).toContain("biome 2.4.16"); + expect(line).not.toContain("Biome"); + }); +}); + +describe("formatTurboLine", () => { + it("reports no backend as disabled", () => { + expect(formatTurboLine("none", Option.none())).toBe("disabled"); + }); + + it("names Vercel for a passthrough", () => { + expect(formatTurboLine("remote", Option.none())).toBe("passthrough (Vercel)"); + }); + + it("names the embedded backend and the port it bound", () => { + expect(formatTurboLine("github", Option.some(41230))).toBe("github · server ready (:41230)"); + expect(formatTurboLine("s3", Option.some(41230))).toBe("s3 · server ready (:41230)"); + }); + + it("drops the port when the embedded server bound none", () => { + expect(formatTurboLine("github", Option.none())).toBe("github · server ready"); + }); +}); + +describe("cacheCell", () => { + it("marks a restore that landed on the key it asked for", () => { + expect(cacheCell(cacheState({ restoredKey: "silk-linux-x64-abc" }))).toBe("✅ exact hit"); + }); + + it("marks a restore that landed on a fallback rung", () => { + expect(cacheCell(cacheState({ restoredKey: "silk-linux-x64" }))).toBe("♻️ partial hit"); + }); + + it("marks a restore that landed on nothing", () => { + expect(cacheCell(cacheState({}))).toBe("⬜ miss"); + }); +}); + +describe("buildRuntimeSummary", () => { + /** Everything detected, installed and restored — the maximal panel. */ + const complete = { + runtimes: [ + { name: "node", version: "26.3.1" }, + { name: "bun", version: "1.3.3" }, + ], + packageManager: { name: "pnpm", version: "11.8.0" }, + biome: Option.some("2.4.16"), + turbo: { backend: "github", port: Option.some(41230) }, + cache: cacheState({ restoredKey: "silk-linux-x64-abc", lockfiles: ["pnpm-lock.yaml", "deno.lock"] }), + dependenciesInstalled: true, + } as const; + + it("renders the whole panel, verbatim", () => { + expect(buildRuntimeSummary(complete)).toBe( + [ + "## 🚀 Runtime Setup", + "", + "| Component | Detail |", + "| --- | --- |", + "| Runtime(s) | node 26.3.1, bun 1.3.3 |", + "| Package manager | pnpm 11.8.0 |", + "| Biome | 2.4.16 |", + "| Turbo cache | github · server ready (:41230) |", + "| Dependency cache | ✅ exact hit |", + "| Dependencies | installed |", + "", + "<details>", + "<summary>Cache details</summary>", + "", + "- Cache key: `silk-linux-x64-abc`", + "- Lockfiles: `pnpm-lock.yaml`, `deno.lock`", + "", + "</details>", + ].join("\n"), + ); + }); + + it("omits the Biome row entirely when none was installed", () => { + const panel = buildRuntimeSummary({ ...complete, biome: Option.none() }); + expect(panel).not.toContain("Biome"); + // The rows around it keep their order and their neighbours. + expect(panel).toContain("| Package manager | pnpm 11.8.0 |\n| Turbo cache |"); + }); + + it("keeps every other row when the run installed and cached nothing", () => { + const panel = buildRuntimeSummary({ + ...complete, + biome: Option.none(), + turbo: { backend: "none", port: Option.none() }, + cache: cacheState({ primaryKey: "" }), + dependenciesInstalled: false, + }); + expect(panel).toContain("| Turbo cache | disabled |"); + expect(panel).toContain("| Dependency cache | ⬜ miss |"); + expect(panel).toContain("| Dependencies | skipped |"); + }); + + it("says so in the details when no lockfile matched", () => { + // Unconditional row (oracle 10): the absence is an answer, not a missing + // line — a miss with no lockfiles at all is a different problem from a + // miss with three. + const panel = buildRuntimeSummary({ ...complete, cache: cacheState({ lockfiles: [] }) }); + expect(panel).toContain("- Lockfiles: none"); + }); + + it("drops the cache-key item when the key could not be computed", () => { + const panel = buildRuntimeSummary({ + ...complete, + cache: cacheState({ primaryKey: "", lockfiles: ["pnpm-lock.yaml"] }), + }); + expect(panel).not.toContain("Cache key:"); + expect(panel).toContain("- Lockfiles: `pnpm-lock.yaml`"); + }); +}); diff --git a/__test__/unit/turbo-cache/activation.test.ts b/__test__/unit/turbo-cache/activation.test.ts new file mode 100644 index 00000000..0814379a --- /dev/null +++ b/__test__/unit/turbo-cache/activation.test.ts @@ -0,0 +1,193 @@ +import { describe, expect, it } from "@effect/vitest"; +import { Option, Redacted } from "effect"; + +import type { Inputs } from "../../../src/schema/inputs.js"; +import { hasPartialPassthroughCredentials, resolveTurboCache } from "../../../src/turbo-cache/activation.js"; + +/** Every input absent, every default applied. */ +const baseInputs: Inputs = { + biomeVersion: Option.none(), + turboCache: "auto", + turboCachePrefix: "", + turboToken: Option.none(), + turboTeam: Option.none(), + turboS3Bucket: Option.none(), + turboS3Region: Option.none(), + turboS3Endpoint: Option.none(), + turboS3AccessKeyId: Option.none(), + turboS3SecretAccessKey: Option.none(), + turboS3SessionToken: Option.none(), + turboS3Prefix: Option.none(), + installDeps: true, + cacheBust: Option.none(), + additionalLockfiles: [], + additionalCachePaths: [], +}; + +/** `baseInputs` with the turbo fields a row cares about overridden. */ +const inputs = (overrides: Partial<Inputs>): Inputs => ({ ...baseInputs, ...overrides }); + +/** The external Vercel credentials, as a workflow supplies both of them. */ +const passthroughCredentials = { + turboToken: Option.some(Redacted.make("vercel-token")), + turboTeam: Option.some("my-team"), +} as const; + +/** The one S3 field the table probes, plus the one that rides beside it. */ +const s3Credentials = { + turboS3Bucket: Option.some("my-bucket"), + turboS3Region: Option.some("us-east-1"), +} as const; + +/** The `s3` payload `s3Credentials` resolves to. */ +const s3Settings = { + bucket: "my-bucket", + region: Option.some("us-east-1"), + endpoint: Option.none(), + accessKeyId: Option.none(), + secretAccessKey: Option.none(), + sessionToken: Option.none(), + prefix: Option.none(), +}; + +describe("resolveTurboCache", () => { + it("is off when turbo is not detected", () => { + expect(resolveTurboCache({ turboDetected: false, inputs: baseInputs })).toEqual({ mode: "off" }); + }); + + it("is off when turbo is not detected even with every credential set", () => { + expect( + resolveTurboCache({ + turboDetected: false, + inputs: inputs({ ...passthroughCredentials, ...s3Credentials }), + }), + ).toEqual({ mode: "off" }); + }); + + it("is off when the mode input says off", () => { + expect(resolveTurboCache({ turboDetected: true, inputs: inputs({ turboCache: "off" }) })).toEqual({ mode: "off" }); + }); + + it("is off when the mode input says off even with every credential set", () => { + expect( + resolveTurboCache({ + turboDetected: true, + inputs: inputs({ turboCache: "off", ...passthroughCredentials, ...s3Credentials }), + }), + ).toEqual({ mode: "off" }); + }); + + it("is passthrough when token and team are both present", () => { + expect(resolveTurboCache({ turboDetected: true, inputs: inputs(passthroughCredentials) })).toEqual({ + mode: "passthrough", + token: Redacted.make("vercel-token"), + team: "my-team", + }); + }); + + it("prefers passthrough over s3 when both are configured", () => { + expect( + resolveTurboCache({ turboDetected: true, inputs: inputs({ ...passthroughCredentials, ...s3Credentials }) }), + ).toEqual({ mode: "passthrough", token: Redacted.make("vercel-token"), team: "my-team" }); + }); + + it("is embedded s3 when a bucket is present and no external credentials are", () => { + expect(resolveTurboCache({ turboDetected: true, inputs: inputs(s3Credentials) })).toEqual({ + mode: "embedded", + backend: "s3", + s3: s3Settings, + }); + }); + + it("carries every s3 field through to the resolution", () => { + const resolution = resolveTurboCache({ + turboDetected: true, + inputs: inputs({ + ...s3Credentials, + turboS3Endpoint: Option.some("http://127.0.0.1:9000"), + turboS3AccessKeyId: Option.some("minioadmin"), + turboS3SecretAccessKey: Option.some(Redacted.make("minioadmin")), + turboS3SessionToken: Option.some(Redacted.make("session")), + turboS3Prefix: Option.some("cache/"), + }), + }); + + expect(resolution).toEqual({ + mode: "embedded", + backend: "s3", + s3: { + bucket: "my-bucket", + region: Option.some("us-east-1"), + endpoint: Option.some("http://127.0.0.1:9000"), + accessKeyId: Option.some("minioadmin"), + secretAccessKey: Option.some(Redacted.make("minioadmin")), + sessionToken: Option.some(Redacted.make("session")), + prefix: Option.some("cache/"), + }, + }); + }); + + it("is embedded github when nothing at all is configured", () => { + expect(resolveTurboCache({ turboDetected: true, inputs: baseInputs })).toEqual({ + mode: "embedded", + backend: "github", + }); + }); + + it("falls through to embedded github when only the token is set", () => { + // Quirk 77: partial passthrough credentials are not an error and not a + // passthrough — R2 needs both, so the resolution walks on. Ruling 77 adds a + // warning at the call site; the table itself is unchanged. + expect( + resolveTurboCache({ turboDetected: true, inputs: inputs({ turboToken: passthroughCredentials.turboToken }) }), + ).toEqual({ mode: "embedded", backend: "github" }); + }); + + it("falls through to embedded github when only the team is set", () => { + expect( + resolveTurboCache({ turboDetected: true, inputs: inputs({ turboTeam: passthroughCredentials.turboTeam }) }), + ).toEqual({ mode: "embedded", backend: "github" }); + }); + + it("falls through to embedded s3 when passthrough credentials are partial and a bucket is set", () => { + expect( + resolveTurboCache({ + turboDetected: true, + inputs: inputs({ turboTeam: passthroughCredentials.turboTeam, ...s3Credentials }), + }), + ).toEqual({ mode: "embedded", backend: "s3", s3: s3Settings }); + }); + + it("probes only the bucket, never the other s3 fields", () => { + // Rule R3 reads `bucket` and nothing else (oracle 3): S3 credentials with no + // bucket are the github backend, not a misconfigured S3 one. + expect( + resolveTurboCache({ + turboDetected: true, + inputs: inputs({ + turboS3Region: Option.some("us-east-1"), + turboS3AccessKeyId: Option.some("key"), + turboS3SecretAccessKey: Option.some(Redacted.make("secret")), + }), + }), + ).toEqual({ mode: "embedded", backend: "github" }); + }); +}); + +describe("hasPartialPassthroughCredentials", () => { + it("is true when only the token is set", () => { + expect(hasPartialPassthroughCredentials(inputs({ turboToken: passthroughCredentials.turboToken }))).toBe(true); + }); + + it("is true when only the team is set", () => { + expect(hasPartialPassthroughCredentials(inputs({ turboTeam: passthroughCredentials.turboTeam }))).toBe(true); + }); + + it("is false when both are set", () => { + expect(hasPartialPassthroughCredentials(inputs(passthroughCredentials))).toBe(false); + }); + + it("is false when neither is set", () => { + expect(hasPartialPassthroughCredentials(baseInputs)).toBe(false); + }); +}); diff --git a/__test__/unit/turbo-cache/handler.test.ts b/__test__/unit/turbo-cache/handler.test.ts new file mode 100644 index 00000000..441ad9ee --- /dev/null +++ b/__test__/unit/turbo-cache/handler.test.ts @@ -0,0 +1,388 @@ +import { describe, expect, it } from "@effect/vitest"; +import type { BlobEnvelopeError, BlobStoreShape } from "@effected/github-actions"; +import { BlobStore, BlobStoreError } from "@effected/github-actions"; +import type { Layer } from "effect"; +import { Effect, Schema } from "effect"; + +import type { TurboRequest, TurboResponse } from "../../../src/turbo-cache/handler.js"; +import { makeTurboHandler } from "../../../src/turbo-cache/handler.js"; +import { TurboArtifactMeta } from "../../../src/turbo-cache/meta.js"; + +/** The token every authed case presents. */ +const TOKEN = "run-token"; + +/** A request with only what a case cares about spelled out. */ +const request = (overrides: Partial<TurboRequest>): TurboRequest => ({ + method: "GET", + path: "/v8/artifacts/hash1", + authorization: `Bearer ${TOKEN}`, + artifactTag: undefined, + artifactDuration: 0, + body: new Uint8Array(0), + ...overrides, +}); + +/** + * Runs one request through a handler over the real in-memory store. + * + * @remarks + * `layerMemory` is not a double: it runs the real `BlobEnvelope` encode and + * decode, so a PUT/GET pair here proves the metadata survives storage the same + * way it does over S3 or the Actions cache. + */ +const overMemory = ( + requests: ReadonlyArray<TurboRequest>, + opts: { prefix?: string; expectedToken?: string } = {}, +): Promise<ReadonlyArray<TurboResponse>> => { + const handler = makeTurboHandler({ prefix: opts.prefix ?? "", expectedToken: opts.expectedToken ?? TOKEN }); + return Effect.forEach(requests, handler).pipe(Effect.provide(BlobStore.layerMemory), Effect.runPromise); +}; + +/** One request through a handler over a supplied store. */ +const overStore = ( + store: Layer.Layer<BlobStore>, + req: TurboRequest, + opts: { prefix?: string; expectedToken?: string; onStoreFailure?: (error: unknown) => void } = {}, +): Promise<TurboResponse> => + makeTurboHandler({ + prefix: opts.prefix ?? "", + expectedToken: opts.expectedToken ?? TOKEN, + ...(opts.onStoreFailure ? { onStoreFailure: opts.onStoreFailure } : {}), + })(req).pipe(Effect.provide(store), Effect.runPromise); + +/** A store that records the keys it is asked for and answers as a miss. */ +const recordingStore = (keys: Array<string>): Layer.Layer<BlobStore> => + BlobStore.layerTest({ + put: ((key: string) => Effect.sync(() => void keys.push(key))) as BlobStoreShape["put"], + has: (key: string) => + Effect.sync(() => { + keys.push(key); + return false; + }), + }); + +describe("makeTurboHandler routes", () => { + it("answers the status probe without authentication", async () => { + const [status] = await overMemory([request({ path: "/v8/artifacts/status", authorization: undefined })]); + + expect(status?.status).toBe(200); + expect(status?.headers).toEqual({ "content-type": "application/json" }); + expect(new TextDecoder().decode(status?.body)).toBe(JSON.stringify({ status: "enabled" })); + }); + + it("strips the query string turbo appends", async () => { + // Turbo appends `?teamId=…&slug=…` to every request (oracle 17). + const [status] = await overMemory([ + request({ path: "/v8/artifacts/status?teamId=team_x&slug=x", authorization: undefined }), + ]); + + expect(status?.status).toBe(200); + }); + + it("answers events with an empty array when authenticated", async () => { + const [events] = await overMemory([request({ path: "/v8/artifacts/events", method: "POST" })]); + + expect(events?.status).toBe(200); + expect(new TextDecoder().decode(events?.body)).toBe("[]"); + }); + + it("refuses events without the token", async () => { + // Ruling 73: `/events` is turbo-client-only, so it is authed — unlike + // `/status`, which is the readiness probe and stays open. + const [events] = await overMemory([request({ path: "/v8/artifacts/events", authorization: undefined })]); + + expect(events?.status).toBe(401); + }); + + it("is a 404 for an unknown path", async () => { + const [unknown] = await overMemory([request({ path: "/v9/artifacts/hash1" })]); + + expect(unknown).toEqual({ status: 404, headers: {} }); + }); + + it("is a 404 for an unknown path before it checks the token", async () => { + // Auth comes *after* the route match (oracle 20): an unroutable path is a + // 404 whether or not the caller could have authenticated. + const [unknown] = await overMemory([request({ path: "/", authorization: undefined })]); + + expect(unknown?.status).toBe(404); + }); + + it("is a 404 for an artifact path with no hash", async () => { + const [empty] = await overMemory([request({ path: "/v8/artifacts/" })]); + + expect(empty?.status).toBe(404); + }); + + it("is a 404 for an artifact path with a nested hash", async () => { + const [nested] = await overMemory([request({ path: "/v8/artifacts/a/b" })]); + + expect(nested?.status).toBe(404); + }); + + it("is a 404 for a relative-segment hash", async () => { + // A hash is a digest; `.` and `..` would otherwise reach the backend key + // as `<prefix>/..`. + const [dot, dotdot] = await overMemory([ + request({ path: "/v8/artifacts/." }), + request({ path: "/v8/artifacts/.." }), + ]); + + expect(dot?.status).toBe(404); + expect(dotdot?.status).toBe(404); + }); + + it("is a 405 for a method it does not implement", async () => { + const [other] = await overMemory([request({ method: "DELETE" })]); + + expect(other).toEqual({ status: 405, headers: {} }); + }); +}); + +describe("makeTurboHandler authentication", () => { + it("refuses a mismatched token", async () => { + const [get] = await overMemory([request({ authorization: "Bearer wrong" })]); + + expect(get).toEqual({ status: 401, headers: {} }); + }); + + it("refuses a missing authorization header", async () => { + const [get] = await overMemory([request({ authorization: undefined })]); + + expect(get?.status).toBe(401); + }); + + it("accepts the bearer prefix in any case", async () => { + const [get] = await overMemory([request({ authorization: `bearer ${TOKEN}` })]); + + expect(get?.status).toBe(404); + }); + + it("accepts a bare token with no bearer prefix", async () => { + const [get] = await overMemory([request({ authorization: TOKEN })]); + + expect(get?.status).toBe(404); + }); + + it("accepts anything when no token is expected", async () => { + // Quirk 72 kept at this boundary: an empty `expectedToken` disables + // authentication. Ruling 72 moves the posture fix to the worker, which + // refuses to boot without a token, so this branch is unreachable in a real + // run — the handler stays permissive so a test can exercise it. + const [get] = await overMemory([request({ authorization: undefined })], { expectedToken: "" }); + + expect(get?.status).toBe(404); + }); +}); + +describe("makeTurboHandler artifacts", () => { + it("stores a PUT and answers 202", async () => { + const [put] = await overMemory([request({ method: "PUT", body: new Uint8Array([1, 2, 3]) })]); + + expect(put).toEqual({ status: 202, headers: {} }); + }); + + it("serves back what a PUT stored", async () => { + const body = new Uint8Array([9, 8, 7]); + const [, get] = await overMemory([ + request({ method: "PUT", body, artifactTag: "signature", artifactDuration: 1250 }), + request({ method: "GET" }), + ]); + + expect(get?.status).toBe(200); + expect(get?.body).toEqual(body); + expect(get?.headers).toEqual({ + "content-type": "application/octet-stream", + "x-artifact-duration": "1250", + "x-artifact-tag": "signature", + }); + }); + + it("always sends a duration header", async () => { + const [, get] = await overMemory([request({ method: "PUT" }), request({ method: "GET" })]); + + expect(get?.headers["x-artifact-duration"]).toBe("0"); + }); + + it("omits the tag header when no tag was sent", async () => { + const [, get] = await overMemory([request({ method: "PUT" }), request({ method: "GET" })]); + + expect(get?.headers["x-artifact-tag"]).toBeUndefined(); + }); + + it("omits the tag header when the tag was empty", async () => { + // Quirk 80, kept: an empty tag is dropped by truthiness rather than echoed + // back as `x-artifact-tag: `. + const [, get] = await overMemory([request({ method: "PUT", artifactTag: "" }), request({ method: "GET" })]); + + expect(get?.headers["x-artifact-tag"]).toBeUndefined(); + }); + + it("clamps the stored duration", async () => { + const [, get] = await overMemory([ + request({ method: "PUT", artifactDuration: -1250.9 }), + request({ method: "GET" }), + ]); + + expect(get?.headers["x-artifact-duration"]).toBe("0"); + }); + + it("answers HEAD from presence", async () => { + const [head1, , head2] = await overMemory([ + request({ method: "HEAD" }), + request({ method: "PUT" }), + request({ method: "HEAD" }), + ]); + + expect(head1?.status).toBe(404); + expect(head2).toEqual({ status: 200, headers: {} }); + }); + + it("is a 404 on a miss", async () => { + const [get] = await overMemory([request({ method: "GET" })]); + + expect(get).toEqual({ status: 404, headers: {} }); + }); + + it("is a 404 on a blob it cannot read as its own metadata", async () => { + // Corrupt is a miss (ruling 65): a `BlobEnvelopeError` — a pre-envelope + // blob, a newer revision, a truncated frame, or metadata from another + // schema, as here — must never reach turbo as a decoded artifact. + const foreign = Schema.Struct({ unrelated: Schema.String }); + const store = BlobStore.layerMemory; + const seeded = Effect.gen(function* () { + const blobs = yield* BlobStore; + yield* blobs.put("hash1", { metadata: { unrelated: "x" }, body: new Uint8Array([1]) }, foreign); + return yield* makeTurboHandler({ prefix: "", expectedToken: TOKEN })(request({ method: "GET" })); + }); + + expect(await Effect.runPromise(seeded.pipe(Effect.provide(store)))).toEqual({ status: 404, headers: {} }); + }); +}); + +describe("makeTurboHandler keys", () => { + it("stores under the bare hash when there is no prefix", async () => { + const keys: Array<string> = []; + await overStore(recordingStore(keys), request({ method: "PUT" })); + + expect(keys).toEqual(["hash1"]); + }); + + it("separates a prefix from the hash with a slash", async () => { + // Ruling 79, a deviation from v1's naive concat: `p` + `hash1` was + // `phash1`, which silently merged two namespaces whose prefixes were + // substrings of one another. + const keys: Array<string> = []; + await overStore(recordingStore(keys), request({ method: "PUT" }), { prefix: "p" }); + + expect(keys).toEqual(["p/hash1"]); + }); + + it("leaves a prefix that already ends in a slash alone", async () => { + const keys: Array<string> = []; + await overStore(recordingStore(keys), request({ method: "HEAD" }), { prefix: "p/" }); + + expect(keys).toEqual(["p/hash1"]); + }); + + it("reads back what the same prefix wrote", async () => { + const [, get] = await overMemory([request({ method: "PUT" }), request({ method: "GET" })], { prefix: "team-a" }); + + expect(get?.status).toBe(200); + }); + + it("does not read across prefixes", async () => { + const handlerA = makeTurboHandler({ prefix: "team-a", expectedToken: TOKEN }); + const handlerB = makeTurboHandler({ prefix: "team-b", expectedToken: TOKEN }); + const crossed = Effect.gen(function* () { + yield* handlerA(request({ method: "PUT" })); + return yield* handlerB(request({ method: "GET" })); + }); + + expect(await Effect.runPromise(crossed.pipe(Effect.provide(BlobStore.layerMemory)))).toEqual({ + status: 404, + headers: {}, + }); + }); +}); + +describe("makeTurboHandler failures", () => { + /** A store whose every read fails the way an expired runtime token does. */ + const refusing = BlobStore.layerTest({ + get: () => Effect.fail(new BlobStoreError({ reason: "refused", status: 401 })), + }); + + it("collapses a store failure to a bare 500", async () => { + expect(await overStore(refusing, request({ method: "GET" }))).toEqual({ status: 500, headers: {} }); + }); + + it("hands the store failure to its caller", async () => { + // Ruling 70's seam: the handler cannot log (it has no logger and no + // backend identity), so the worker gets the typed failure and decides + // whether it looks like the runtime token expiring mid-job. + const seen: Array<unknown> = []; + await overStore(refusing, request({ method: "GET" }), { onStoreFailure: (error) => void seen.push(error) }); + + expect(seen).toHaveLength(1); + expect((seen[0] as BlobStoreError).reason).toBe("refused"); + expect((seen[0] as BlobStoreError).status).toBe(401); + }); + + it("collapses a failing PUT to a 500", async () => { + const failing = BlobStore.layerTest({ + put: () => Effect.fail(new BlobStoreError({ reason: "unreachable" })), + }); + + expect(await overStore(failing, request({ method: "PUT" }))).toEqual({ status: 500, headers: {} }); + }); + + it("collapses a failing HEAD to a 500", async () => { + const failing = BlobStore.layerTest({ + has: () => Effect.fail(new BlobStoreError({ reason: "unreachable" })), + }); + + expect(await overStore(failing, request({ method: "HEAD" }))).toEqual({ status: 500, headers: {} }); + }); + + it("keeps the envelope failure off the caller's hands", async () => { + const seen: Array<BlobEnvelopeError | BlobStoreError> = []; + const foreign = Schema.Struct({ unrelated: Schema.String }); + const program = Effect.gen(function* () { + const blobs = yield* BlobStore; + yield* blobs.put("hash1", { metadata: { unrelated: "x" }, body: new Uint8Array([1]) }, foreign); + return yield* makeTurboHandler({ + prefix: "", + expectedToken: TOKEN, + onStoreFailure: (error) => void seen.push(error), + })(request({ method: "GET" })); + }); + const response = await Effect.runPromise(program.pipe(Effect.provide(BlobStore.layerMemory))); + + expect(response.status).toBe(404); + expect(seen).toEqual([]); + }); +}); + +describe("makeTurboHandler metadata", () => { + it("stores the tag and duration as its own metadata schema", async () => { + const stored: Array<unknown> = []; + const store = BlobStore.layerTest({ + put: ((_key: string, blob: { metadata: unknown }) => + Effect.sync(() => void stored.push(blob.metadata))) as BlobStoreShape["put"], + }); + await overStore(store, request({ method: "PUT", artifactTag: "sig", artifactDuration: 12.9 })); + + expect(stored).toEqual([TurboArtifactMeta.make({ tag: "sig", durationMs: 12 })]); + }); + + it("stores an absent tag as null", async () => { + const stored: Array<unknown> = []; + const store = BlobStore.layerTest({ + put: ((_key: string, blob: { metadata: unknown }) => + Effect.sync(() => void stored.push(blob.metadata))) as BlobStoreShape["put"], + }); + await overStore(store, request({ method: "PUT" })); + + expect(stored).toEqual([TurboArtifactMeta.make({ tag: null, durationMs: 0 })]); + }); +}); diff --git a/__test__/unit/turbo-cache/meta.test.ts b/__test__/unit/turbo-cache/meta.test.ts new file mode 100644 index 00000000..0349c09d --- /dev/null +++ b/__test__/unit/turbo-cache/meta.test.ts @@ -0,0 +1,64 @@ +import { describe, expect, it } from "@effect/vitest"; +import { BlobStore } from "@effected/github-actions"; +import { Effect, Option, Schema } from "effect"; + +import { TurboArtifactMeta, clampDurationMs } from "../../../src/turbo-cache/meta.js"; + +describe("TurboArtifactMeta", () => { + it("encodes to plain JSON", () => { + // The statefix rule, applied to envelopes: `BlobEnvelope` frames metadata + // as JSON between the header and the body, so an encoded form that is not + // already plain JSON (a `Schema.Option` instance, say) writes something no + // read can decode. Structural equality against an object literal is what + // proves it — a class instance with the same fields would not match. + const encoded = Schema.encodeSync(TurboArtifactMeta)(TurboArtifactMeta.make({ tag: "sig", durationMs: 1250 })); + + expect(encoded).toEqual({ tag: "sig", durationMs: 1250 }); + expect(JSON.parse(JSON.stringify(encoded))).toEqual(encoded); + }); + + it("encodes an absent tag as null", () => { + const encoded = Schema.encodeSync(TurboArtifactMeta)(TurboArtifactMeta.make({ tag: null, durationMs: 0 })); + + expect(encoded).toEqual({ tag: null, durationMs: 0 }); + }); + + it("survives a JSON round trip", () => { + const meta = TurboArtifactMeta.make({ tag: "sig", durationMs: 1250 }); + const wire = JSON.parse(JSON.stringify(Schema.encodeSync(TurboArtifactMeta)(meta))); + + expect(Schema.decodeUnknownSync(TurboArtifactMeta)(wire)).toEqual(meta); + }); + + it("survives a real store round trip", () => + // `layerMemory` runs the real `BlobEnvelope` framing — encode, JSON, + // decode — so this is the same proof the network backends give. + Effect.gen(function* () { + const store = yield* BlobStore; + const metadata = TurboArtifactMeta.make({ tag: "sig", durationMs: 42 }); + const body = new Uint8Array([1, 2, 3]); + + yield* store.put("k", { metadata, body }, TurboArtifactMeta); + const blob = yield* store.get("k", TurboArtifactMeta); + + expect(Option.isSome(blob)).toBe(true); + if (Option.isSome(blob)) { + expect(blob.value.metadata).toEqual(metadata); + expect(blob.value.body).toEqual(body); + } + }).pipe(Effect.provide(BlobStore.layerMemory), Effect.runPromise)); +}); + +describe("clampDurationMs", () => { + it.each([ + ["keeps a plain duration", 1250, 1250], + ["truncates a fractional duration", 1250.9, 1250], + ["floors a negative duration at zero", -5, 0], + ["maps NaN to zero", Number.NaN, 0], + ["caps at uint32", 8_589_934_592, 4_294_967_295], + ["keeps zero", 0, 0], + ["maps infinity to the cap", Number.POSITIVE_INFINITY, 4_294_967_295], + ])("%s", (_name, input, expected) => { + expect(clampDurationMs(input)).toBe(expected); + }); +}); diff --git a/__test__/unit/turbo-cache/server-config.test.ts b/__test__/unit/turbo-cache/server-config.test.ts new file mode 100644 index 00000000..a87f51a8 --- /dev/null +++ b/__test__/unit/turbo-cache/server-config.test.ts @@ -0,0 +1,222 @@ +import { describe, expect, it } from "@effect/vitest"; +import { BlobEnvelopeError, BlobStore, BlobStoreError } from "@effected/github-actions"; +import { Effect, Redacted, Result } from "effect"; + +import { + DEFAULT_TURBO_SERVER_PORT, + TURBO_SERVER_ENV, + isAuthShapedFailure, + readServerConfig, + serverBlobStoreLayer, +} from "../../../src/turbo-cache/server-config.js"; + +/** The minimum the worker will boot on: a token, and nothing else. */ +const bootable = { [TURBO_SERVER_ENV.token]: "run-token" } as const; + +/** The environment an S3-backed server is spawned with. */ +const s3Environment = { + ...bootable, + [TURBO_SERVER_ENV.backend]: "s3", + [TURBO_SERVER_ENV.s3Bucket]: "turbo-cache", + [TURBO_SERVER_ENV.s3Region]: "us-east-1", + [TURBO_SERVER_ENV.s3AccessKeyId]: "minioadmin", + [TURBO_SERVER_ENV.s3SecretAccessKey]: "minioadmin-secret", +} as const; + +/** The config a successful read produced, or a failure the test did not expect. */ +const configOf = (env: Record<string, string | undefined>) => { + const result = readServerConfig(env); + if (Result.isFailure(result)) throw new Error(`expected a config, got: ${result.failure}`); + return result.success; +}; + +describe("readServerConfig", () => { + it("refuses to boot without a token", () => { + // Ruling 72, fail closed: an empty token disables authentication at the + // handler, which would leave an open cache server listening on the runner. + // `apply` always supplies one, so this is a posture fix rather than a path + // a real run reaches. + const result = readServerConfig({}); + + expect(Result.isFailure(result)).toBe(true); + if (Result.isFailure(result)) expect(result.failure).toContain(TURBO_SERVER_ENV.token); + }); + + it("refuses to boot on an empty token", () => { + expect(Result.isFailure(readServerConfig({ [TURBO_SERVER_ENV.token]: "" }))).toBe(true); + }); + + it("defaults the port, prefix and backend", () => { + expect(configOf(bootable)).toEqual({ + port: DEFAULT_TURBO_SERVER_PORT, + prefix: "", + token: "run-token", + backend: "github", + }); + }); + + it("reads the port and prefix it was given", () => { + const config = configOf({ + ...bootable, + [TURBO_SERVER_ENV.port]: "45000", + [TURBO_SERVER_ENV.prefix]: "team-a/", + }); + + expect(config.port).toBe(45_000); + expect(config.prefix).toBe("team-a/"); + }); + + it.each([ + ["not a number", "not-a-port"], + ["fractional", "41230.5"], + ["negative", "-1"], + ["zero", "0"], + ["above the last port", "65536"], + ])("falls back to the default port when the port is %s", (_name, port) => { + // `listen` throws *synchronously* on a port outside `1..65535`, so the + // error listener ruling 71 added never fires for this case and the process + // would die with a stack trace instead of a line. The spawning step only + // ever writes the one port this action uses, so anything else means + // something foreign set it — binding the known port keeps the server where + // the action is about to look for it. + expect(configOf({ ...bootable, [TURBO_SERVER_ENV.port]: port }).port).toBe(DEFAULT_TURBO_SERVER_PORT); + }); + + it("keeps the last valid port", () => { + expect(configOf({ ...bootable, [TURBO_SERVER_ENV.port]: "65535" }).port).toBe(65_535); + }); + + it("reads the s3 backend", () => { + const config = configOf(s3Environment); + + expect(config.backend).toBe("s3"); + if (config.backend !== "s3") return; + expect(config.s3.bucket).toBe("turbo-cache"); + expect(config.s3.region).toBe("us-east-1"); + expect(config.s3.accessKeyId).toBe("minioadmin"); + expect(Redacted.value(config.s3.secretAccessKey)).toBe("minioadmin-secret"); + }); + + it("omits the optional s3 fields when they are unset", () => { + // Oracle 48: endpoint, session token and prefix are spread in only when + // nonempty — an empty endpoint would point the signer at nothing, and an + // empty prefix would namespace every key under a leading separator. + const config = configOf(s3Environment); + + expect(config.backend === "s3" && "endpoint" in config.s3).toBe(false); + expect(config.backend === "s3" && "sessionToken" in config.s3).toBe(false); + expect(config.backend === "s3" && "prefix" in config.s3).toBe(false); + }); + + it("omits the optional s3 fields when they are empty", () => { + const config = configOf({ + ...s3Environment, + [TURBO_SERVER_ENV.s3Endpoint]: "", + [TURBO_SERVER_ENV.s3SessionToken]: "", + [TURBO_SERVER_ENV.s3Prefix]: "", + }); + + expect(config.backend === "s3" && "endpoint" in config.s3).toBe(false); + expect(config.backend === "s3" && "sessionToken" in config.s3).toBe(false); + expect(config.backend === "s3" && "prefix" in config.s3).toBe(false); + }); + + it("carries the optional s3 fields when they are set", () => { + const config = configOf({ + ...s3Environment, + [TURBO_SERVER_ENV.s3Endpoint]: "http://127.0.0.1:9000", + [TURBO_SERVER_ENV.s3SessionToken]: "session", + [TURBO_SERVER_ENV.s3Prefix]: "cache/", + }); + + expect(config.backend).toBe("s3"); + if (config.backend !== "s3") return; + expect(config.s3.endpoint).toBe("http://127.0.0.1:9000"); + expect(config.s3.prefix).toBe("cache/"); + expect(config.s3.sessionToken === undefined ? "" : Redacted.value(config.s3.sessionToken)).toBe("session"); + }); + + it("reads an absent s3 credential as empty rather than failing", () => { + // The S3 layer reports its own misconfiguration, with the bucket and status + // a failed request carries. Guessing at it here would refuse to boot on a + // backend that a workflow may have configured through some other means. + const config = configOf({ ...bootable, [TURBO_SERVER_ENV.backend]: "s3" }); + + expect(config.backend).toBe("s3"); + if (config.backend !== "s3") return; + expect(config.s3.bucket).toBe(""); + expect(Redacted.value(config.s3.secretAccessKey)).toBe(""); + }); + + it("treats any other backend name as github", () => { + expect(configOf({ ...bootable, [TURBO_SERVER_ENV.backend]: "azure" }).backend).toBe("github"); + }); +}); + +describe("serverBlobStoreLayer", () => { + /** Builds the layer and answers with the store it provides. */ + const build = (env: Record<string, string | undefined>) => + Effect.runPromise( + Effect.gen(function* () { + const store = yield* BlobStore; + return [typeof store.get, typeof store.put, typeof store.has]; + }).pipe(Effect.provide(serverBlobStoreLayer(configOf(env)))), + ); + + it("builds the github backend", async () => { + expect(await build(bootable)).toEqual(["function", "function", "function"]); + }); + + it("builds the s3 backend", async () => { + expect(await build(s3Environment)).toEqual(["function", "function", "function"]); + }); + + it("never writes the s3 credentials to this process's log", async () => { + // The S3 backend declassifies its signing key through `Secret.forSigning`, + // which masks first — and masking is `::add-mask::<plaintext>` written to + // stdout for the *runner* to parse. This process is detached, so its stdout + // is a temp file nothing parses, and the real `ActionOutputs` layer would + // write both secrets there in the clear. `console.log` is the channel + // `Console.log` ends up on, so capturing it is capturing the leak. + const secret = "s3-secret-that-must-not-appear"; + const session = "s3-session-that-must-not-appear"; + const said: Array<string> = []; + const original = console.log; + console.log = (...args: ReadonlyArray<unknown>) => void said.push(args.map(String).join(" ")); + try { + await build({ + ...s3Environment, + [TURBO_SERVER_ENV.s3SecretAccessKey]: secret, + [TURBO_SERVER_ENV.s3SessionToken]: session, + }); + } finally { + console.log = original; + } + + expect(said.join("\n")).not.toContain(secret); + expect(said.join("\n")).not.toContain(session); + expect(said.join("\n")).not.toContain("add-mask"); + }); +}); + +describe("isAuthShapedFailure", () => { + it("is true for a 401", () => { + expect(isAuthShapedFailure(new BlobStoreError({ reason: "unreachable", status: 401 }))).toBe(true); + }); + + it("is true for a refusal", () => { + expect(isAuthShapedFailure(new BlobStoreError({ reason: "refused" }))).toBe(true); + }); + + it("is false for an unreachable store", () => { + expect(isAuthShapedFailure(new BlobStoreError({ reason: "unreachable" }))).toBe(false); + }); + + it("is false for a misconfigured store", () => { + expect(isAuthShapedFailure(new BlobStoreError({ reason: "misconfigured" }))).toBe(false); + }); + + it("is false for an envelope failure", () => { + expect(isAuthShapedFailure(new BlobEnvelopeError({ reason: "truncated" }))).toBe(false); + }); +}); diff --git a/action.config.ts b/action.config.ts index d22e1d64..3871b312 100644 --- a/action.config.ts +++ b/action.config.ts @@ -8,14 +8,13 @@ export default defineConfig({ }, build: { minify: true, - // `@cyclonedx/cyclonedx-library` (pulled in transitively by - // `@savvy-web/github-action-effects`) ships optional plugins — XML - // serializers/validators and draft-2019 JSON validators — that this - // action never invokes. They aren't installed and would never be - // present in the deployed action, so `ignore` (alias to a throwing - // stub) is correct here, not `externals` (which means "available at - // runtime"). cyclonedx's `_optPlug` wrapper try/catches the stub throw - // and falls through gracefully. + // Vestigial insurance from the legacy cyclonedx sbom stack: these + // optional plugins (XML serializers/validators, draft-2019 JSON + // validators) no longer appear anywhere in the dependency tree, so + // the aliases are inert. Kept as a harmless guard in case a future + // dependency reintroduces cyclonedx's `_optPlug` optional-require + // pattern; `ignore` (alias to a throwing stub) is the right shape + // for that, not `externals` (which means "available at runtime"). ignore: ["xmlbuilder2", "libxmljs2", "ajv-formats-draft2019"], }, persistLocal: { diff --git a/dist/main.js b/dist/main.js index 2b965784..348b2dae 100644 --- a/dist/main.js +++ b/dist/main.js @@ -1,11 +1,11 @@ /*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ /*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */ -import{fileURLToPath as e}from"node:url";var t=e(import.meta.url);import{createRequire as r}from"node:module";let n=r(import.meta.url);var i={9557(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let o=s(r(8611)),a=s(r(5692));async function A(e){let t=0,r=[];for await(let n of e)t+=n.length,r.push(n);return Buffer.concat(r,t)}t.toBuffer=A,t.json=async function(e){let t=(await A(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}},t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?a:o).request(e,t),n=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=n.then.bind(n),r}},2120(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let a=s(r(9278)),A=s(r(8611)),l=r(5692);o(r(9557),t);let c=Symbol("AgentBaseInternalState");class d extends A.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new a.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],n=r.indexOf(t);-1!==n&&(r.splice(n,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?l.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let n={...t,secureEndpoint:this.isSecureEndpoint(t)},i=this.getName(n),s=this.incrementSockets(i);Promise.resolve().then(()=>this.connect(e,n)).then(o=>{if(this.decrementSockets(i,s),o instanceof A.Agent)try{return o.addRequest(e,n)}catch(e){return r(e)}this[c].currentSocket=o,super.createSocket(e,t,r)},e=>{this.decrementSockets(i,s),r(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[c]&&(this[c].protocol=e)}}t.Agent=d},4879(e,t,r){let n;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let n=0,i=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(n++,"%c"===e&&(i=n))}),t.splice(i,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),n=!1,t.destroy=()=>{n||(n=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(5826)(t);let{formatters:i}=e.exports;i.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5826(e,t,r){e.exports=function(e){function t(e){let r,i,s,o=null;function a(...e){if(!a.enabled)return;let n=Number(new Date);a.diff=n-(r||n),a.prev=r,a.curr=n,r=n,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let i=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,n)=>{if("%%"===r)return"%";i++;let s=t.formatters[n];if("function"==typeof s){let t=e[i];r=s.call(a,t),e.splice(i,1),i--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=n,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(i!==t.namespaces&&(i=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function n(e,r){let n=t(this.namespace+(void 0===r?":":r)+e);return n.log=this.log,n}function i(e,t){let r=0,n=0,i=-1,s=0;for(;r<e.length;)if(n<t.length&&(t[n]===e[r]||"*"===t[n]))"*"===t[n]?(i=n,s=r):r++,n++;else{if(-1===i)return!1;n=i+1,r=++s}for(;n<t.length&&"*"===t[n];)n++;return n===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(i(e,r))return!1;for(let r of t.names)if(i(e,r))return!0;return!1},t.humanize=r(9049),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5243(e,t,r){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(4879):e.exports=r(5051)},5051(e,t,r){let n=r(2018),i=r(9023);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let n=0;n<r.length;n++)e.inspectOpts[r[n]]=t.inspectOpts[r[n]]},t.log=function(...e){return process.stderr.write(i.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:n,useColors:i}=this;if(i){let t=this.color,i="\x1b[3"+(t<8?t:"8;5;"+t),s=` ${i};1m${n} \u001B[0m`;r[0]=s+r[0].split("\n").join("\n"+s),r.push(i+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+n+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:n.isatty(process.stderr.fd)},t.destroy=i.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(9478);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),n=process.env[t];return n=!!/^(yes|on|true|enabled)$/i.test(n)||!/^(no|off|false|disabled)$/i.test(n)&&("null"===n?null:Number(n)),e[r]=n,e},{}),e.exports=r(5826)(t);let{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,i.inspect(e,this.inspectOpts)}},1533(e){e.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":1===e.length?"-":"--",n=t.indexOf(r+e),i=t.indexOf("--");return -1!==n&&(-1===i||n<i)}},7277(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpProxyAgent=void 0;let a=s(r(9278)),A=s(r(4756)),l=o(r(5243)),c=r(4434),d=r(2120),g=r(7016),u=(0,l.default)("http-proxy-agent");class h extends d.Agent{constructor(e,t){super(t),this.proxy="string"==typeof e?new g.URL(e):e,this.proxyHeaders=t?.headers??{},u("Creating new HttpProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...t?function(e,...t){let r,n={};for(r in e)t.includes(r)||(n[r]=e[r]);return n}(t,"headers"):null,host:r,port:n}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:r}=this,n=t.secureEndpoint?"https:":"http:",i=e.getHeader("host")||"localhost",s=`${n}//${i}`,o=new g.URL(e.path,s);80!==t.port&&(o.port=String(t.port)),e.path=String(o);let a="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;a["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let t of(a["Proxy-Connection"]||(a["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(a))){let r=a[t];r&&e.setHeader(t,r)}}async connect(e,t){let r,n,i;return e._header=null,e.path.includes("://")||this.setRequestProps(e,t),u("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(u("Patching connection write() output buffer with updated header"),n=(r=e.outputData[0].data).indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+r.substring(n),u("Output buffer: %o",e.outputData[0].data)),"https:"===this.proxy.protocol?(u("Creating `tls.Socket`: %o",this.connectOpts),i=A.connect(this.connectOpts)):(u("Creating `net.Socket`: %o",this.connectOpts),i=a.connect(this.connectOpts)),await (0,c.once)(i,"connect"),i}}h.protocols=["http","https"],t.HttpProxyAgent=h},6565(e,t,r){var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var i=Object.getOwnPropertyDescriptor(t,r);(!i||("get"in i?!t.__esModule:i.writable||i.configurable))&&(i={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,i)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),i=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&n(t,e,r);return i(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let a=s(r(9278)),A=s(r(4756)),l=o(r(2613)),c=o(r(5243)),d=r(2120),g=r(7016),u=r(679),h=(0,c.default)("https-proxy-agent"),m=e=>void 0===e.servername&&e.host&&!a.isIP(e.host)?{...e,servername:e.host}:e;class p extends d.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new g.URL(e):e,this.proxyHeaders=t?.headers??{},h("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),n=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?f(t,"headers"):null,host:r,port:n}}async connect(e,t){let r,{proxy:n}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===n.protocol?(h("Creating `tls.Socket`: %o",this.connectOpts),r=A.connect(m(this.connectOpts))):(h("Creating `net.Socket`: %o",this.connectOpts),r=a.connect(this.connectOpts));let i="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=a.isIPv6(t.host)?`[${t.host}]`:t.host,o=`CONNECT ${s}:${t.port} HTTP/1.1\r -`;if(n.username||n.password){let e=`${decodeURIComponent(n.username)}:${decodeURIComponent(n.password)}`;i["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(i.Host=`${s}:${t.port}`,i["Proxy-Connection"]||(i["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(i)))o+=`${e}: ${i[e]}\r -`;let c=(0,u.parseProxyResponse)(r);r.write(`${o}\r -`);let{connect:d,buffered:g}=await c;if(e.emit("proxyConnect",d),this.emit("proxyConnect",d,e),200===d.statusCode)return(e.once("socket",C),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),A.connect({...f(m(t),"host","path","port"),socket:r})):r;r.destroy();let p=new a.Socket({writable:!1});return p.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,l.default)(e.listenerCount("data")>0),e.push(g),e.push(null)}),p}}function C(e){e.resume()}function f(e,...t){let r,n={};for(r in e)t.includes(r)||(n[r]=e[r]);return n}p.protocols=["http","https"],t.HttpsProxyAgent=p},679(e,t,r){var n=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let i=(0,n(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let n=0,s=[];function o(){let A=e.read();A?function(A){s.push(A),n+=A.length;let l=Buffer.concat(s,n),c=l.indexOf("\r\n\r\n");if(-1===c){i("have not received end of HTTP headers yet..."),o();return}let d=l.slice(0,c).toString("ascii").split("\r\n"),g=d.shift();if(!g)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let u=g.split(" "),h=+u[1],m=u.slice(2).join(" "),p={};for(let t of d){if(!t)continue;let n=t.indexOf(":");if(-1===n)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let i=t.slice(0,n).toLowerCase(),s=t.slice(n+1).trimStart(),o=p[i];"string"==typeof o?p[i]=[o,s]:Array.isArray(o)?o.push(s):p[i]=s}i("got proxy server response: %o %o",g,p),a(),t({connect:{statusCode:h,statusText:m,headers:p},buffered:l})}(A):e.once("readable",o)}function a(){e.removeListener("end",A),e.removeListener("error",l),e.removeListener("readable",o)}function A(){a(),i("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function l(e){a(),i("onerror %o",e),r(e)}e.on("error",l),e.on("end",A),o()})}},9049(e){function t(e,t,r,n){return Math.round(e/r)+" "+n+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var n,i,s,o,a=typeof e;if("string"===a&&e.length>0){var A=e;if(!((A=String(A)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(i=Math.abs(n=e))>=864e5?t(n,i,864e5,"day"):i>=36e5?t(n,i,36e5,"hour"):i>=6e4?t(n,i,6e4,"minute"):i>=1e3?t(n,i,1e3,"second"):n+" ms":(o=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":o>=36e5?Math.round(s/36e5)+"h":o>=6e4?Math.round(s/6e4)+"m":o>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let n,i=r(857),s=r(2018),o=r(1533),{env:a}=process;function A(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===n)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===n)return 0;let r=n||0;if("dumb"===a.TERM)return r;if("win32"===process.platform){let e=i.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:r;if("TEAMCITY_VERSION"in a)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION);if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){let e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?n=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(n=1),"FORCE_COLOR"in a&&(n="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return A(l(e,e&&e.isTTY))},stdout:A(l(!0,s.isatty(1))),stderr:A(l(!0,s.isatty(2)))}},3006(e,r,n){n(5183);let i=n(6873);n(6334),n(4967),n(1326);let s=n(5891);n(6400),n(3614),n(9741),n(9003),n(8392),n(473);let o=n(8065),a=n(1210),{InvalidArgumentError:A}=o,l=n(8769);n(5010),n(375);let{MockCallHistory:c,MockCallHistoryLog:d}=n(2137);n(6923),n(8182),n(2817),n(8531),n(4166);let{getGlobalDispatcher:g,setGlobalDispatcher:u}=n(8023);function h(e){return(t,r,n)=>{if("function"==typeof r&&(n=r,r=null),!t||"string"!=typeof t&&"object"!=typeof t&&!(t instanceof URL))throw new A("invalid url");if(null!=r&&"object"!=typeof r)throw new A("invalid opts");if(r&&null!=r.path){if("string"!=typeof r.path)throw new A("invalid opts.path");let e=r.path;r.path.startsWith("/")||(e=`/${e}`),t=new URL(a.parseOrigin(t).origin+e)}else r||(r="object"==typeof t?t:{}),t=a.parseURL(t);let{agent:i,dispatcher:s=g(),...o}=r;if(i)throw new A("unsupported opts.agent. Did you mean opts.client?");return e.call(s,{...o,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},n)}}n(2645),n(7424),Object.assign(i.prototype,l),e.exports.g6=s,n(7884),n(3128),n(9620),n(5850),n(4053),n(6056),n(9287),n(7870),n(415),n(7068),a.parseHeaders,a.headerNameToString;let m=n(7564).fetch;e.exports.hd=function(r,n){return m(r,n).catch(r=>{throw t?!function e(t,r){if(!t||"object"!=typeof t)return;let n="string"==typeof t.stack?t.stack:"",i=r.replace(/\\/g,"/");if(n&&(n.includes(r)||n.includes(i)))return;let s={};if(Error.captureStackTrace(s,e),!s.stack)return;let o=s.stack.split("\n").slice(1).join("\n");t.stack=n?`${n} -${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.hd),r})},e.exports.Lr=n(3470).Headers,e.exports.YK=n(165).Response,e.exports.Kd=n(9553).Request,e.exports.fS=n(1304).FormData;let{setGlobalOrigin:p,getGlobalOrigin:C}=n(1045),{CacheStorage:f}=n(3691),{kConstruct:I}=n(3025);new f(I);let{deleteCookie:E,getCookies:y,getSetCookies:B,setCookie:Q,parseCookie:N}=n(5823),{parseMIMEType:b,serializeAMimeType:S}=n(3518),{CloseEvent:w,ErrorEvent:D,MessageEvent:x}=n(7342),{WebSocket:R,ping:k}=n(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=D,e.exports.aM=x,n(3867).WebSocketStream,n(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:v}=n(7288);e.exports.GD=v},4032(e,t,r){let{addAbortListener:n}=r(1210),{RequestAbortedError:i}=r(8065),s=Symbol("kListener"),o=Symbol("kSignal");function a(e){e.abort?e.abort(e[o]?.reason):e.reason=e[o]?.reason??new i,A(e)}function A(e){e[o]&&("removeEventListener"in e[o]?e[o].removeEventListener("abort",e[s]):e[o].removeListener("abort",e[s]),e[o]=null,e[s]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[o]=null,e[s]=null,t){if(t.aborted)return void a(e);e[o]=t,e[s]=()=>{a(e)},n(e[o],e[s])}},removeSignal:A}},5854(e,t,r){let n=r(4589),{AsyncResource:i}=r(6698),{InvalidArgumentError:s,SocketError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends i{constructor(e,t){if(!e||"object"!=typeof e)throw new s("invalid opts");if("function"!=typeof t)throw new s("invalid callback");let{signal:r,opaque:n,responseHeaders:i}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=n||null,this.responseHeaders=i||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(n(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new o("bad connect",null)}onRequestUpgrade(e,t,r,n){let{callback:i,opaque:s,context:o}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?a.parseRawHeaders(c):r),this.runInAsyncScope(i,null,null,{statusCode:t,headers:A,socket:n,opaque:s,context:o})}onResponseError(e,t){let{callback:r,opaque:n}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,n)=>{e.call(this,t,(e,t)=>e?n(e):r(t))});try{let e=new c(t,r),n={...t,method:"CONNECT"};this.dispatch(n,e)}catch(n){if("function"!=typeof r)throw n;let e=t?.opaque;queueMicrotask(()=>r(n,{opaque:e}))}}},4372(e,t,r){let{Readable:n,Duplex:i,PassThrough:s}=r(7075),o=r(4589),{AsyncResource:a}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:g}=r(3025),{addSignal:u,removeSignal:h}=r(4032);function m(){}let p=Symbol("resume");class C extends n{constructor(){super({autoDestroy:!0}),this[p]=null,this[g]=!0}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}}class f extends n{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class I extends a{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:n,opaque:s,onInfo:o,responseHeaders:a}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===n)throw new A("invalid method");if(o&&"function"!=typeof o)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=a||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new C().on("error",m),this.ret=new i({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:n}=this;n.push(e,t)||n._readableState.destroyed?r():n[p]=r},destroy:(e,t)=>{let{body:r,req:n,res:i,ret:s,abort:o}=this;e||s._readableState.endEmitted||(e=new c),o&&e&&o(),d.destroy(r,e),d.destroy(n,e),d.destroy(i,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(o(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,n){let i,{opaque:s,handler:o,context:a}=this;if(t<200){if(this.onInfo){let n=e?.rawHeaders,i="raw"===this.responseHeaders?d.parseRawHeaders(n):r;this.onInfo({statusCode:t,headers:i})}return}this.res=new f(()=>e.resume());try{this.handler=null;let n=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(n):r;i=this.runInAsyncScope(o,null,{statusCode:t,headers:A,opaque:s,body:this.res,context:a})}catch(e){throw this.res.on("error",m),e}if(!i||"function"!=typeof i.on)throw new l("expected Readable");i.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=i}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new I(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new s().destroy(e)}}},2545(e,t,r){let n=r(4589),{AsyncResource:i}=r(6698),{Readable:s}=r(7769),{InvalidArgumentError:o,RequestAbortedError:a}=r(8065),A=r(1210);function l(){}class c extends i{constructor(e,t){if(!e||"object"!=typeof e)throw new o("invalid opts");let{signal:r,method:n,opaque:i,body:s,onInfo:c,responseHeaders:d,highWaterMark:g}=e;try{if("function"!=typeof t)throw new o("invalid callback");if(null!=g&&(!Number.isFinite(g)||g<0))throw new o("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new o("signal must be an EventEmitter or EventTarget");if("CONNECT"===n)throw new o("invalid method");if(c&&"function"!=typeof c)throw new o("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(s)&&A.destroy(s.on("error",l),e),e}this.method=n,this.responseHeaders=d||null,this.opaque=i||null,this.callback=t,this.res=null,this.abort=null,this.body=s,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=g,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new a:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new a,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(n(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,n){let{callback:i,opaque:o,context:a,responseHeaders:c,highWaterMark:d}=this,g=e?.rawHeaders,u="raw"===c?A.parseRawHeaders(g):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}let h=r?.["content-type"],m=r?.["content-length"],p=new s({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener&&(p.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=p,null!==i)try{this.runInAsyncScope(i,null,null,{statusCode:t,statusText:n,headers:u,trailers:this.trailers,opaque:o,body:p,context:a})}catch(e){this.res=null,A.destroy(p.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:n,body:i,opaque:s}=this;n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),i&&(this.body=null,A.isStream(i)&&(i.on("error",l),A.destroy(i,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,n)=>{e.call(this,t,(e,t)=>e?n(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(n){if("function"!=typeof r)throw n;let e=t?.opaque;queueMicrotask(()=>r(n,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let n=r(4589),{AsyncResource:i}=r(6698),{InvalidArgumentError:s,InvalidReturnValueError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends i{constructor(e,t,r){if(!e||"object"!=typeof e)throw new s("invalid opts");let{signal:n,method:i,opaque:o,body:l,onInfo:d,responseHeaders:g}=e;try{if("function"!=typeof r)throw new s("invalid callback");if("function"!=typeof t)throw new s("invalid factory");if(n&&"function"!=typeof n.on&&"function"!=typeof n.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new s("invalid method");if(d&&"function"!=typeof d)throw new s("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw a.isStream(l)&&a.destroy(l.on("error",c),e),e}this.responseHeaders=g||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,a.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,n)}onRequestStart(e,t){this.reason?e.abort(this.reason):(n(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,n){var i;let s,A,l,c,d,{factory:g,opaque:u,context:h,responseHeaders:m}=this,p=e?.rawHeaders,C="raw"===m?a.parseRawHeaders(p):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:C});return}if(this.factory=null,null===g)return;let f=this.runInAsyncScope(g,null,{statusCode:t,headers:C,opaque:u,context:h});if(!f||"function"!=typeof f.write||"function"!=typeof f.end||"function"!=typeof f.on)throw new o("expected Writable");i=(e,t)=>{let{callback:r,res:n,opaque:i,trailers:s,abort:o}=this;this.res=null,(e||!n?.readable)&&a.destroy(n,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:i,trailers:s}),e&&o(e)},s=!1,A=(e,t=!1)=>{s||(s=!0,f.removeListener("close",l),f.removeListener("error",c),f.removeListener("finish",d),i(e,t))},l=()=>{let e;A(f.errored??f.writableErrored??f._writableState?.errored??(f.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),f.on("close",l),f.on("error",c),f.on("finish",d),f.closed?process.nextTick(l):f.writableFinished&&process.nextTick(d),f.on("drain",()=>e.resume()),this.res=f,!0===(void 0!==f.writableNeedDrain?f.writableNeedDrain:f._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:n,opaque:i,body:s}=this;l(this),this.factory=null,r?(this.res=null,a.destroy(r,t)):n&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(n,null,t,{opaque:i})})),s&&(this.body=null,a.destroy(s,t))}}e.exports=function e(t,r,n){if(void 0===n)return new Promise((n,i)=>{e.call(this,t,r,(e,t)=>e?i(e):n(t))});try{let e=new d(t,r,n);this.dispatch(t,e)}catch(r){if("function"!=typeof n)throw r;let e=t?.opaque;queueMicrotask(()=>n(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:n,SocketError:i}=r(8065),{AsyncResource:s}=r(6698),o=r(4589),a=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new n("invalid opts");if("function"!=typeof t)throw new n("invalid callback");let{signal:r,opaque:i,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=i||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(o(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new i("bad upgrade",null)}onRequestUpgrade(e,t,r,n){if(t!==(!0===n[A]?200:101)){let t=!0===n[A]?null:a.getSocketInfo(n);e.abort(new i("bad upgrade",t));return}let{callback:s,opaque:o,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,g="raw"===this.responseHeaders?a.parseRawHeaders(d):r;this.runInAsyncScope(s,null,null,{headers:g,socket:n,opaque:o,context:l})}onResponseError(e,t){let{callback:r,opaque:n}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:n})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,n)=>{e.call(this,t,(e,t)=>e?n(e):r(t))});try{let e=new d(t,r),n={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(n,e)}catch(n){if("function"!=typeof r)throw n;let e=t?.opaque;queueMicrotask(()=>r(n,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let n=r(4589),{addAbortListener:i}=r(8474),{Readable:s}=r(7075),{RequestAbortedError:o,NotSupportedError:a,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),g=Symbol("kConsume"),u=Symbol("kReading"),h=Symbol("kBody"),m=Symbol("kAbort"),p=Symbol("kContentType"),C=Symbol("kContentLength"),f=Symbol("kUsed"),I=Symbol("kBytesRead"),E=Symbol("kPreservedBuffer"),y=()=>{};function B(e,t){return n(!e[g]),new Promise((r,n)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[g]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",n).on("close",()=>{n(TypeError("unusable"))}):n(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[g]={type:t,stream:e,resolve:r,reject:n,length:0,body:[]},e.on("error",function(e){w(this[g],e)}).on("close",function(){null!==this[g].body&&w(this[g],new o)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[E];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[E]=null}else if(t.bufferIndex){let r=t.bufferIndex,n=t.buffer.length;for(let i=r;i<n;i++)S(e,t.buffer[i])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?b(this[g],this._readableState.encoding):e.stream.on("end",function(){b(this[g],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[g])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let n=1===e.length?e[0]:Buffer.concat(e,t),i=n.length,s=3*(i>2&&239===n[0]&&187===n[1]&&191===n[2]);return r&&"utf8"!==r&&"utf-8"!==r?n.subarray(s,i).toString(r):n.utf8Slice(s,i)}function N(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),n=0;for(let t=0;t<e.length;++t){let i=e[t];r.set(i,n),n+=i.length}return r}function b(e,t){let{type:r,body:n,resolve:i,stream:s,length:o}=e;try{"text"===r?i(Q(n,o,t)):"json"===r?i(JSON.parse(Q(n,o,t))):"arrayBuffer"===r?i(N(n,o).buffer):"blob"===r?i(new Blob(n,{type:s[p]})):"bytes"===r&&i(N(n,o)),w(e)}catch(e){s.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends s{constructor({resume:e,abort:t,contentType:r="",contentLength:n,highWaterMark:i=65536}){super({autoDestroy:!0,read:e,highWaterMark:i}),this._readableState.dataEmitted=!1,this[m]=t,this[g]=null,this[I]=0,this[h]=null,this[f]=!1,this[p]=r,this[C]=Number.isFinite(n)?n:null,this[u]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new o),e&&this[m](),this[f]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[u]=!0,this[f]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[I]+=e.length,this[g])?(S(this[g],e),!this[u]||super.push(e)):super.push(e)}text(){return B(this,"text")}json(){return B(this,"json")}blob(){return B(this,"blob")}bytes(){return B(this,"bytes")}arrayBuffer(){return B(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[g]&&(this[h].getReader(),n(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,n)=>{if((this[C]&&this[C]>r||this[I]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},s=i(t,r);this.on("close",function(){s[Symbol.dispose](),t.aborted?n(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",y).on("data",()=>{this[I]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,n=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&n.push(t);n.length>0&&(this[E]=(this[E]||[]).concat(n))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:n}=r(7075),{EventEmitter:i}=r(8474),{assertCacheKey:s,assertCacheValue:o}=r(8621);class a extends i{#e=1024;#t=0x6400000;#r=5242880;#n=0;#i=0;#s=new Map;#o=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#n}isFull(){return this.#n>=this.#t||this.#i>=this.#e}get(e){s(e);let t=`${e.origin}:${e.path}`,r=Date.now(),n=this.#s.get(t),i=n?A(e,n,r):null;return null==i?void 0:{statusMessage:i.statusMessage,statusCode:i.statusCode,headers:i.headers,body:i.body,vary:i.vary?i.vary:void 0,etag:i.etag,cacheControlDirectives:i.cacheControlDirectives,cachedAt:i.cachedAt,staleAt:i.staleAt,deleteAt:i.deleteAt}}createWriteStream(e,t){s(e),o(t);let r=`${e.origin}:${e.path}`,i=this,a={...e,...t,body:[],size:0};return new n({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),a.size+=e.byteLength,a.size>i.#r?this.destroy():a.body.push(e),r(null)},final(t){let n=i.#s.get(r);n||(n=[],i.#s.set(r,n));let s=A(e,n,Date.now());if(s){let e=n.indexOf(s);n.splice(e,1,a),i.#n-=s.size}else n.push(a),i.#i+=1;if(i.#n+=a.size,i.#n>i.#t||i.#i>i.#e){for(let[e,t]of(i.#o||(i.emit("maxSizeExceeded",{size:i.#n,maxSize:i.#t,count:i.#i,maxCount:i.#e}),i.#o=!0),i.#s)){for(let e of t.splice(0,t.length/2))i.#n-=e.size,i.#i-=1;0===t.length&&i.#s.delete(e)}i.#n<i.#t&&i.#i<i.#e&&(i.#o=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#s.get(t)??[])this.#n-=e.size,this.#i-=1;this.#s.delete(t)}}function A(e,t,r){for(let n=0;n<t.length;n++){let i=t[n];if(i.deleteAt>r&&i.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,i))return i}}e.exports=a},7068(e,t,r){let n,{Writable:i}=r(7075),{assertCacheKey:s,assertCacheValue:o}=r(8621);e.exports=class{#r=2e9;#e=1/0;#a;#A;#l;#c;#d;#g;#u;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}n||(n=r(99).DatabaseSync),this.#a=new n(e?.location??":memory:"),this.#a.exec(` +import{fileURLToPath as e}from"node:url";var t,r,i=e(import.meta.url);import{createRequire as n}from"node:module";let s=n(import.meta.url);var a={9557(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let a=s(r(8611)),o=s(r(5692));async function A(e){let t=0,r=[];for await(let i of e)t+=i.length,r.push(i);return Buffer.concat(r,t)}t.toBuffer=A,t.json=async function(e){let t=(await A(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}},t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?o:a).request(e,t),i=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=i.then.bind(i),r}},2120(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let o=s(r(9278)),A=s(r(8611)),l=r(5692);a(r(9557),t);let c=Symbol("AgentBaseInternalState");class d extends A.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new o.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],i=r.indexOf(t);-1!==i&&(r.splice(i,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?l.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let i={...t,secureEndpoint:this.isSecureEndpoint(t)},n=this.getName(i),s=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(a=>{if(this.decrementSockets(n,s),a instanceof A.Agent)try{return a.addRequest(e,i)}catch(e){return r(e)}this[c].currentSocket=a,super.createSocket(e,t,r)},e=>{this.decrementSockets(n,s),r(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[c]&&(this[c].protocol=e)}}t.Agent=d},4879(e,t,r){let i;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let i=0,n=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))}),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),i=!1,t.destroy=()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(5826)(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5826(e,t,r){e.exports=function(e){function t(e){let r,n,s,a=null;function o(...e){if(!o.enabled)return;let i=Number(new Date);o.diff=i-(r||i),o.prev=r,o.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";n++;let s=t.formatters[i];if("function"==typeof s){let t=e[n];r=s.call(o,t),e.splice(n,1),n--}return r}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=i,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==a?a:(n!==t.namespaces&&(n=t.namespaces,s=t.enabled(e)),s),set:e=>{a=e}}),"function"==typeof t.init&&t.init(o),o}function i(e,r){let i=t(this.namespace+(void 0===r?":":r)+e);return i.log=this.log,i}function n(e,t){let r=0,i=0,n=-1,s=0;for(;r<e.length;)if(i<t.length&&(t[i]===e[r]||"*"===t[i]))"*"===t[i]?(n=i,s=r):r++,i++;else{if(-1===n)return!1;i=n+1,r=++s}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=r(9049),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5243(e,t,r){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(4879):e.exports=r(5051)},5051(e,t,r){let i=r(2018),n=r(9023);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let i=0;i<r.length;i++)e.inspectOpts[r[i]]=t.inspectOpts[r[i]]},t.log=function(...e){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:i,useColors:n}=this;if(n){let t=this.color,n="\x1b[3"+(t<8?t:"8;5;"+t),s=` ${n};1m${i} \u001B[0m`;r[0]=s+r[0].split("\n").join("\n"+s),r.push(n+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+i+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)},t.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(9478);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[r]=i,e},{}),e.exports=r(5826)(t);let{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},1533(e){e.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return -1!==i&&(-1===n||i<n)}},7277(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpProxyAgent=void 0;let o=s(r(9278)),A=s(r(4756)),l=a(r(5243)),c=r(4434),d=r(2120),u=r(7016),g=(0,l.default)("http-proxy-agent");class h extends d.Agent{constructor(e,t){super(t),this.proxy="string"==typeof e?new u.URL(e):e,this.proxyHeaders=t?.headers??{},g("Creating new HttpProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...t?function(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}(t,"headers"):null,host:r,port:i}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:r}=this,i=t.secureEndpoint?"https:":"http:",n=e.getHeader("host")||"localhost",s=`${i}//${n}`,a=new u.URL(e.path,s);80!==t.port&&(a.port=String(t.port)),e.path=String(a);let o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let t of(o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(o))){let r=o[t];r&&e.setHeader(t,r)}}async connect(e,t){let r,i,n;return e._header=null,e.path.includes("://")||this.setRequestProps(e,t),g("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(g("Patching connection write() output buffer with updated header"),i=(r=e.outputData[0].data).indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+r.substring(i),g("Output buffer: %o",e.outputData[0].data)),"https:"===this.proxy.protocol?(g("Creating `tls.Socket`: %o",this.connectOpts),n=A.connect(this.connectOpts)):(g("Creating `net.Socket`: %o",this.connectOpts),n=o.connect(this.connectOpts)),await (0,c.once)(n,"connect"),n}}h.protocols=["http","https"],t.HttpProxyAgent=h},6565(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},a=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let o=s(r(9278)),A=s(r(4756)),l=a(r(2613)),c=a(r(5243)),d=r(2120),u=r(7016),g=r(679),h=(0,c.default)("https-proxy-agent"),p=e=>void 0===e.servername&&e.host&&!o.isIP(e.host)?{...e,servername:e.host}:e;class m extends d.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new u.URL(e):e,this.proxyHeaders=t?.headers??{},h("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?C(t,"headers"):null,host:r,port:i}}async connect(e,t){let r,{proxy:i}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===i.protocol?(h("Creating `tls.Socket`: %o",this.connectOpts),r=A.connect(p(this.connectOpts))):(h("Creating `net.Socket`: %o",this.connectOpts),r=o.connect(this.connectOpts));let n="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=o.isIPv6(t.host)?`[${t.host}]`:t.host,a=`CONNECT ${s}:${t.port} HTTP/1.1\r +`;if(i.username||i.password){let e=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(n.Host=`${s}:${t.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(n)))a+=`${e}: ${n[e]}\r +`;let c=(0,g.parseProxyResponse)(r);r.write(`${a}\r +`);let{connect:d,buffered:u}=await c;if(e.emit("proxyConnect",d),this.emit("proxyConnect",d,e),200===d.statusCode)return(e.once("socket",f),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),A.connect({...C(p(t),"host","path","port"),socket:r})):r;r.destroy();let m=new o.Socket({writable:!1});return m.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,l.default)(e.listenerCount("data")>0),e.push(u),e.push(null)}),m}}function f(e){e.resume()}function C(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}m.protocols=["http","https"],t.HttpsProxyAgent=m},679(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let n=(0,i(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let i=0,s=[];function a(){let A=e.read();A?function(A){s.push(A),i+=A.length;let l=Buffer.concat(s,i),c=l.indexOf("\r\n\r\n");if(-1===c){n("have not received end of HTTP headers yet..."),a();return}let d=l.slice(0,c).toString("ascii").split("\r\n"),u=d.shift();if(!u)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let g=u.split(" "),h=+g[1],p=g.slice(2).join(" "),m={};for(let t of d){if(!t)continue;let i=t.indexOf(":");if(-1===i)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let n=t.slice(0,i).toLowerCase(),s=t.slice(i+1).trimStart(),a=m[n];"string"==typeof a?m[n]=[a,s]:Array.isArray(a)?a.push(s):m[n]=s}n("got proxy server response: %o %o",u,m),o(),t({connect:{statusCode:h,statusText:p,headers:m},buffered:l})}(A):e.once("readable",a)}function o(){e.removeListener("end",A),e.removeListener("error",l),e.removeListener("readable",a)}function A(){o(),n("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function l(e){o(),n("onerror %o",e),r(e)}e.on("error",l),e.on("end",A),a()})}},9049(e){function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,n,s,a,o=typeof e;if("string"===o&&e.length>0){var A=e;if(!((A=String(A)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===o&&isFinite(e)){return r.long?(n=Math.abs(i=e))>=864e5?t(i,n,864e5,"day"):n>=36e5?t(i,n,36e5,"hour"):n>=6e4?t(i,n,6e4,"minute"):n>=1e3?t(i,n,1e3,"second"):i+" ms":(a=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":a>=36e5?Math.round(s/36e5)+"h":a>=6e4?Math.round(s/6e4)+"m":a>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let i,n=r(857),s=r(2018),a=r(1533),{env:o}=process;function A(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===i)return 0;if(a("color=16m")||a("color=full")||a("color=truecolor"))return 3;if(a("color=256"))return 2;if(e&&!t&&void 0===i)return 0;let r=i||0;if("dumb"===o.TERM)return r;if("win32"===process.platform){let e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in o)||"codeship"===o.CI_NAME?1:r;if("TEAMCITY_VERSION"in o)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION);if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){let e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:r}a("no-color")||a("no-colors")||a("color=false")||a("color=never")?i=0:(a("color")||a("colors")||a("color=true")||a("color=always"))&&(i=1),"FORCE_COLOR"in o&&(i="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return A(l(e,e&&e.isTTY))},stdout:A(l(!0,s.isatty(1))),stderr:A(l(!0,s.isatty(2)))}},3006(e,t,r){r(5183);let n=r(6873);r(6334),r(4967),r(1326);let s=r(5891);r(6400),r(3614),r(9741),r(9003),r(8392),r(473);let a=r(8065),o=r(1210),{InvalidArgumentError:A}=a,l=r(8769);r(5010),r(375);let{MockCallHistory:c,MockCallHistoryLog:d}=r(2137);r(6923),r(8182),r(2817),r(8531),r(4166);let{getGlobalDispatcher:u,setGlobalDispatcher:g}=r(8023);function h(e){return(t,r,i)=>{if("function"==typeof r&&(i=r,r=null),!t||"string"!=typeof t&&"object"!=typeof t&&!(t instanceof URL))throw new A("invalid url");if(null!=r&&"object"!=typeof r)throw new A("invalid opts");if(r&&null!=r.path){if("string"!=typeof r.path)throw new A("invalid opts.path");let e=r.path;r.path.startsWith("/")||(e=`/${e}`),t=new URL(o.parseOrigin(t).origin+e)}else r||(r="object"==typeof t?t:{}),t=o.parseURL(t);let{agent:n,dispatcher:s=u(),...a}=r;if(n)throw new A("unsupported opts.agent. Did you mean opts.client?");return e.call(s,{...a,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},i)}}r(2645),r(7424),Object.assign(n.prototype,l),e.exports.g6=s,r(7884),r(3128),r(9620),r(5850),r(4053),r(6056),r(9287),r(7870),r(415),r(7068),o.parseHeaders,o.headerNameToString;let p=r(7564).fetch;e.exports.hd=function(t,r){return p(t,r).catch(t=>{throw i?!function e(t,r){if(!t||"object"!=typeof t)return;let i="string"==typeof t.stack?t.stack:"",n=r.replace(/\\/g,"/");if(i&&(i.includes(r)||i.includes(n)))return;let s={};if(Error.captureStackTrace(s,e),!s.stack)return;let a=s.stack.split("\n").slice(1).join("\n");t.stack=i?`${i} +${a}`:s.stack}(t,i):t&&"object"==typeof t&&Error.captureStackTrace(t,e.exports.hd),t})},e.exports.Lr=r(3470).Headers,e.exports.YK=r(165).Response,e.exports.Kd=r(9553).Request,e.exports.fS=r(1304).FormData;let{setGlobalOrigin:m,getGlobalOrigin:f}=r(1045),{CacheStorage:C}=r(3691),{kConstruct:y}=r(3025);new C(y);let{deleteCookie:I,getCookies:E,getSetCookies:B,setCookie:Q,parseCookie:b}=r(5823),{parseMIMEType:N,serializeAMimeType:S}=r(3518),{CloseEvent:w,ErrorEvent:x,MessageEvent:D}=r(7342),{WebSocket:R,ping:v}=r(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=x,e.exports.aM=D,r(3867).WebSocketStream,r(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:k}=r(7288);e.exports.GD=k},4032(e,t,r){let{addAbortListener:i}=r(1210),{RequestAbortedError:n}=r(8065),s=Symbol("kListener"),a=Symbol("kSignal");function o(e){e.abort?e.abort(e[a]?.reason):e.reason=e[a]?.reason??new n,A(e)}function A(e){e[a]&&("removeEventListener"in e[a]?e[a].removeEventListener("abort",e[s]):e[a].removeListener("abort",e[s]),e[a]=null,e[s]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[a]=null,e[s]=null,t){if(t.aborted)return void o(e);e[a]=t,e[s]=()=>{o(e)},i(e[a],e[s])}},removeSignal:A}},5854(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{InvalidArgumentError:s,SocketError:a}=r(8065),o=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new s("invalid opts");if("function"!=typeof t)throw new s("invalid callback");let{signal:r,opaque:i,responseHeaders:n}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=n||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new a("bad connect",null)}onRequestUpgrade(e,t,r,i){let{callback:n,opaque:s,context:a}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?o.parseRawHeaders(c):r),this.runInAsyncScope(n,null,null,{statusCode:t,headers:A,socket:i,opaque:s,context:a})}onResponseError(e,t){let{callback:r,opaque:i}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r),i={...t,method:"CONNECT"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},4372(e,t,r){let{Readable:i,Duplex:n,PassThrough:s}=r(7075),a=r(4589),{AsyncResource:o}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:u}=r(3025),{addSignal:g,removeSignal:h}=r(4032);function p(){}let m=Symbol("resume");class f extends i{constructor(){super({autoDestroy:!0}),this[m]=null,this[u]=!0}_read(){let{[m]:e}=this;e&&(this[m]=null,e())}_destroy(e,t){this._read(),t(e)}}class C extends i{constructor(e){super({autoDestroy:!0}),this[m]=e}_read(){this[m]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class y extends o{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:i,opaque:s,onInfo:a,responseHeaders:o}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new A("invalid method");if(a&&"function"!=typeof a)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=o||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=a||null,this.req=new f().on("error",p),this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:i}=this;i.push(e,t)||i._readableState.destroyed?r():i[m]=r},destroy:(e,t)=>{let{body:r,req:i,res:n,ret:s,abort:a}=this;e||s._readableState.endEmitted||(e=new c),a&&e&&a(),d.destroy(r,e),d.destroy(i,e),d.destroy(n,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,g(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(a(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let n,{opaque:s,handler:a,context:o}=this;if(t<200){if(this.onInfo){let i=e?.rawHeaders,n="raw"===this.responseHeaders?d.parseRawHeaders(i):r;this.onInfo({statusCode:t,headers:n})}return}this.res=new C(()=>e.resume());try{this.handler=null;let i=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(i):r;n=this.runInAsyncScope(a,null,{statusCode:t,headers:A,opaque:s,body:this.res,context:o})}catch(e){throw this.res.on("error",p),e}if(!n||"function"!=typeof n.on)throw new l("expected Readable");n.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=n}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new y(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new s().destroy(e)}}},2545(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{Readable:s}=r(7769),{InvalidArgumentError:a,RequestAbortedError:o}=r(8065),A=r(1210);function l(){}class c extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new a("invalid opts");let{signal:r,method:i,opaque:n,body:s,onInfo:c,responseHeaders:d,highWaterMark:u}=e;try{if("function"!=typeof t)throw new a("invalid callback");if(null!=u&&(!Number.isFinite(u)||u<0))throw new a("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new a("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new a("invalid method");if(c&&"function"!=typeof c)throw new a("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(s)&&A.destroy(s.on("error",l),e),e}this.method=i,this.responseHeaders=d||null,this.opaque=n||null,this.callback=t,this.res=null,this.abort=null,this.body=s,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=u,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new o:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new o,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let{callback:n,opaque:a,context:o,responseHeaders:c,highWaterMark:d}=this,u=e?.rawHeaders,g="raw"===c?A.parseRawHeaders(u):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:g});return}let h=r?.["content-type"],p=r?.["content-length"],m=new s({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&p?Number(p):null,highWaterMark:d});if(this.removeAbortListener&&(m.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=m,null!==n)try{this.runInAsyncScope(n,null,null,{statusCode:t,statusText:i,headers:g,trailers:this.trailers,opaque:a,body:m,context:o})}catch(e){this.res=null,A.destroy(m.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:i,body:n,opaque:s}=this;i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),n&&(this.body=null,A.isStream(n)&&(n.on("error",l),A.destroy(n,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{InvalidArgumentError:s,InvalidReturnValueError:a}=r(8065),o=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends n{constructor(e,t,r){if(!e||"object"!=typeof e)throw new s("invalid opts");let{signal:i,method:n,opaque:a,body:l,onInfo:d,responseHeaders:u}=e;try{if("function"!=typeof r)throw new s("invalid callback");if("function"!=typeof t)throw new s("invalid factory");if(i&&"function"!=typeof i.on&&"function"!=typeof i.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");if("CONNECT"===n)throw new s("invalid method");if(d&&"function"!=typeof d)throw new s("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw o.isStream(l)&&o.destroy(l.on("error",c),e),e}this.responseHeaders=u||null,this.opaque=a||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,o.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,i)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){var n;let s,A,l,c,d,{factory:u,opaque:g,context:h,responseHeaders:p}=this,m=e?.rawHeaders,f="raw"===p?o.parseRawHeaders(m):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:f});return}if(this.factory=null,null===u)return;let C=this.runInAsyncScope(u,null,{statusCode:t,headers:f,opaque:g,context:h});if(!C||"function"!=typeof C.write||"function"!=typeof C.end||"function"!=typeof C.on)throw new a("expected Writable");n=(e,t)=>{let{callback:r,res:i,opaque:n,trailers:s,abort:a}=this;this.res=null,(e||!i?.readable)&&o.destroy(i,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:n,trailers:s}),e&&a(e)},s=!1,A=(e,t=!1)=>{s||(s=!0,C.removeListener("close",l),C.removeListener("error",c),C.removeListener("finish",d),n(e,t))},l=()=>{let e;A(C.errored??C.writableErrored??C._writableState?.errored??(C.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),C.on("close",l),C.on("error",c),C.on("finish",d),C.closed?process.nextTick(l):C.writableFinished&&process.nextTick(d),C.on("drain",()=>e.resume()),this.res=C,!0===(void 0!==C.writableNeedDrain?C.writableNeedDrain:C._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:i,opaque:n,body:s}=this;l(this),this.factory=null,r?(this.res=null,o.destroy(r,t)):i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:n})})),s&&(this.body=null,o.destroy(s,t))}}e.exports=function e(t,r,i){if(void 0===i)return new Promise((i,n)=>{e.call(this,t,r,(e,t)=>e?n(e):i(t))});try{let e=new d(t,r,i);this.dispatch(t,e)}catch(r){if("function"!=typeof i)throw r;let e=t?.opaque;queueMicrotask(()=>i(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:i,SocketError:n}=r(8065),{AsyncResource:s}=r(6698),a=r(4589),o=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new i("invalid opts");if("function"!=typeof t)throw new i("invalid callback");let{signal:r,opaque:n,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new i("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=n||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(a(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new n("bad upgrade",null)}onRequestUpgrade(e,t,r,i){if(t!==(!0===i[A]?200:101)){let t=!0===i[A]?null:o.getSocketInfo(i);e.abort(new n("bad upgrade",t));return}let{callback:s,opaque:a,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,u="raw"===this.responseHeaders?o.parseRawHeaders(d):r;this.runInAsyncScope(s,null,null,{headers:u,socket:i,opaque:a,context:l})}onResponseError(e,t){let{callback:r,opaque:i}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new d(t,r),i={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let i=r(4589),{addAbortListener:n}=r(8474),{Readable:s}=r(7075),{RequestAbortedError:a,NotSupportedError:o,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),u=Symbol("kConsume"),g=Symbol("kReading"),h=Symbol("kBody"),p=Symbol("kAbort"),m=Symbol("kContentType"),f=Symbol("kContentLength"),C=Symbol("kUsed"),y=Symbol("kBytesRead"),I=Symbol("kPreservedBuffer"),E=()=>{};function B(e,t){return i(!e[u]),new Promise((r,i)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[u]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",i).on("close",()=>{i(TypeError("unusable"))}):i(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[u]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]},e.on("error",function(e){w(this[u],e)}).on("close",function(){null!==this[u].body&&w(this[u],new a)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[I];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[I]=null}else if(t.bufferIndex){let r=t.bufferIndex,i=t.buffer.length;for(let n=r;n<i;n++)S(e,t.buffer[n])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?N(this[u],this._readableState.encoding):e.stream.on("end",function(){N(this[u],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[u])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let i=1===e.length?e[0]:Buffer.concat(e,t),n=i.length,s=3*(n>2&&239===i[0]&&187===i[1]&&191===i[2]);return r&&"utf8"!==r&&"utf-8"!==r?i.subarray(s,n).toString(r):i.utf8Slice(s,n)}function b(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),i=0;for(let t=0;t<e.length;++t){let n=e[t];r.set(n,i),i+=n.length}return r}function N(e,t){let{type:r,body:i,resolve:n,stream:s,length:a}=e;try{"text"===r?n(Q(i,a,t)):"json"===r?n(JSON.parse(Q(i,a,t))):"arrayBuffer"===r?n(b(i,a).buffer):"blob"===r?n(new Blob(i,{type:s[m]})):"bytes"===r&&n(b(i,a)),w(e)}catch(e){s.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends s{constructor({resume:e,abort:t,contentType:r="",contentLength:i,highWaterMark:n=65536}){super({autoDestroy:!0,read:e,highWaterMark:n}),this._readableState.dataEmitted=!1,this[p]=t,this[u]=null,this[y]=0,this[h]=null,this[C]=!1,this[m]=r,this[f]=Number.isFinite(i)?i:null,this[g]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new a),e&&this[p](),this[C]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[g]=!0,this[C]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[g]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[y]+=e.length,this[u])?(S(this[u],e),!this[g]||super.push(e)):super.push(e)}text(){return B(this,"text")}json(){return B(this,"json")}blob(){return B(this,"blob")}bytes(){return B(this,"bytes")}arrayBuffer(){return B(this,"arrayBuffer")}async formData(){throw new o}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[u]&&(this[h].getReader(),i(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,i)=>{if((this[f]&&this[f]>r||this[y]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},s=n(t,r);this.on("close",function(){s[Symbol.dispose](),t.aborted?i(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",E).on("data",()=>{this[y]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,i=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&i.push(t);i.length>0&&(this[I]=(this[I]||[]).concat(i))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:i}=r(7075),{EventEmitter:n}=r(8474),{assertCacheKey:s,assertCacheValue:a}=r(8621);class o extends n{#e=1024;#t=0x6400000;#r=5242880;#i=0;#n=0;#s=new Map;#a=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#i}isFull(){return this.#i>=this.#t||this.#n>=this.#e}get(e){s(e);let t=`${e.origin}:${e.path}`,r=Date.now(),i=this.#s.get(t),n=i?A(e,i,r):null;return null==n?void 0:{statusMessage:n.statusMessage,statusCode:n.statusCode,headers:n.headers,body:n.body,vary:n.vary?n.vary:void 0,etag:n.etag,cacheControlDirectives:n.cacheControlDirectives,cachedAt:n.cachedAt,staleAt:n.staleAt,deleteAt:n.deleteAt}}createWriteStream(e,t){s(e),a(t);let r=`${e.origin}:${e.path}`,n=this,o={...e,...t,body:[],size:0};return new i({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),o.size+=e.byteLength,o.size>n.#r?this.destroy():o.body.push(e),r(null)},final(t){let i=n.#s.get(r);i||(i=[],n.#s.set(r,i));let s=A(e,i,Date.now());if(s){let e=i.indexOf(s);i.splice(e,1,o),n.#i-=s.size}else i.push(o),n.#n+=1;if(n.#i+=o.size,n.#i>n.#t||n.#n>n.#e){for(let[e,t]of(n.#a||(n.emit("maxSizeExceeded",{size:n.#i,maxSize:n.#t,count:n.#n,maxCount:n.#e}),n.#a=!0),n.#s)){for(let e of t.splice(0,t.length/2))n.#i-=e.size,n.#n-=1;0===t.length&&n.#s.delete(e)}n.#i<n.#t&&n.#n<n.#e&&(n.#a=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#s.get(t)??[])this.#i-=e.size,this.#n-=1;this.#s.delete(t)}}function A(e,t,r){for(let i=0;i<t.length;i++){let n=t[i];if(n.deleteAt>r&&n.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,n))return n}}e.exports=o},7068(e,t,r){let i,{Writable:n}=r(7075),{assertCacheKey:s,assertCacheValue:a}=r(8621);e.exports=class{#r=2e9;#e=1/0;#o;#A;#l;#c;#d;#u;#g;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}i||(i=r(99).DatabaseSync),this.#o=new i(e?.location??":memory:"),this.#o.exec(` PRAGMA journal_mode = WAL; PRAGMA synchronous = NORMAL; PRAGMA temp_store = memory; @@ -32,7 +32,7 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV3_getValuesQuery ON cacheInterceptorV3(url, method, deleteAt); CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV3_deleteByUrlQuery ON cacheInterceptorV3(deleteAt); - `),this.#A=this.#a.prepare(` + `),this.#A=this.#o.prepare(` SELECT id, body, @@ -51,7 +51,7 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h AND method = ? ORDER BY deleteAt ASC - `),this.#l=this.#a.prepare(` + `),this.#l=this.#o.prepare(` UPDATE cacheInterceptorV3 SET body = ?, deleteAt = ?, @@ -65,7 +65,7 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h staleAt = ? WHERE id = ? - `),this.#c=this.#a.prepare(` + `),this.#c=this.#o.prepare(` INSERT INTO cacheInterceptorV3 ( url, method, @@ -80,7 +80,7 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h cachedAt, staleAt ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `),this.#g=this.#a.prepare("DELETE FROM cacheInterceptorV3 WHERE url = ?"),this.#u=this.#a.prepare("SELECT COUNT(*) AS total FROM cacheInterceptorV3"),this.#d=this.#a.prepare("DELETE FROM cacheInterceptorV3 WHERE deleteAt <= ?"),this.#h=this.#e===1/0?null:this.#a.prepare(` + `),this.#u=this.#o.prepare("DELETE FROM cacheInterceptorV3 WHERE url = ?"),this.#g=this.#o.prepare("SELECT COUNT(*) AS total FROM cacheInterceptorV3"),this.#d=this.#o.prepare("DELETE FROM cacheInterceptorV3 WHERE deleteAt <= ?"),this.#h=this.#e===1/0?null:this.#o.prepare(` DELETE FROM cacheInterceptorV3 WHERE id IN ( SELECT @@ -89,87 +89,85 @@ ${o}`:s.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h ORDER BY cachedAt ASC LIMIT ? ) - `)}close(){this.#a.close()}get(e){s(e);let t=this.#m(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){s(e);let r=this.#p(e),n=Array.isArray(t.body)?Buffer.concat(t.body):t.body,i=n?.byteLength;if(i&&i>this.#r)return;let o=this.#m(e,!0);o?this.#l.run(n,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,o.id):(this.#c.run(r,e.method,n,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#C())}createWriteStream(e,t){s(e),o(t);let r=0,n=[],a=this;return new i({decodeStrings:!0,write(e,t,i){(r+=e.byteLength)<=a.#r?n.push(e):this.destroy(),i()},final(r){a.set(e,{...t,body:n}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#g.run(this.#p(e))}#C(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#u.get();return e}#p(e){return`${e.origin}/${e.path}`}#m(e,t=!1){let r=this.#p(e),{headers:n,method:i}=e,s=this.#A.all(r,i);if(0===s.length)return;let o=Date.now();for(let e of s){if(o>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(n[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let n,i=r(7030),s=r(4589),o=r(1210),{InvalidArgumentError:a,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:g,timeout:u,session:h,...m}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new a("maxCachedSessions must be a positive integer or zero");let p={path:g,...m},C=new l(null==d?100:d);return u=null==u?1e4:u,e=null==e||e,function({hostname:a,host:l,protocol:d,port:g,servername:m,localAddress:f,httpSocket:I},E){let y;if("https:"===d){n||(n=r(1692));let i=(m=m||p.servername||o.getServerName(l)||null)||a;s(i);let A=h||C.get(i)||null;g=g||443,(y=n.connect({highWaterMark:16384,...p,servername:m,session:A,localAddress:f,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:I,port:g,host:a})).on("session",function(e){C.set(i,e)})}else s(!I,"httpSocket can only be sent on TLS update"),g=g||80,y=i.connect({highWaterMark:65536,...p,localAddress:f,port:g,host:a}),!0===c&&(y.alpnProtocol="h2");if(null==p.keepAlive||p.keepAlive){let e=void 0===p.keepAliveInitialDelay?6e4:p.keepAliveInitialDelay;y.setKeepAlive(!0,e)}let B=o.setupConnectTimeout(new WeakRef(y),{timeout:u,hostname:a,port:g});return y.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(B),E){let e=E;E=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(B),E){let t=E;E=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let n="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?n+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:n+=` (attempted address: ${r.hostname}:${r.port},`;let i=new A(n+=` timeout: ${r.timeout}ms)`);return i.cause=e,i}return e}(e,this,{timeout:u,hostname:a,port:g}))}}),y}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let n=t[e],i=n.toLowerCase();r[n]=r[i]=i}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let n=r(3053),i=r(7975),s=i.debuglog("undici"),o=i.debuglog("fetch"),a=i.debuglog("websocket"),A={beforeConnect:n.channel("undici:client:beforeConnect"),connected:n.channel("undici:client:connected"),connectError:n.channel("undici:client:connectError"),sendHeaders:n.channel("undici:client:sendHeaders"),create:n.channel("undici:request:create"),bodySent:n.channel("undici:request:bodySent"),bodyChunkSent:n.channel("undici:request:bodyChunkSent"),bodyChunkReceived:n.channel("undici:request:bodyChunkReceived"),headers:n.channel("undici:request:headers"),trailers:n.channel("undici:request:trailers"),error:n.channel("undici:request:error"),open:n.channel("undici:websocket:open"),close:n.channel("undici:websocket:close"),socketError:n.channel("undici:websocket:socket_error"),ping:n.channel("undici:websocket:ping"),pong:n.channel("undici:websocket:pong"),proxyConnected:n.channel("undici:proxy:connected")},l=!1;function c(e=s){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,n.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=t;e("connecting to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),n.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s}}=t;e("connected to %s%s using %s%s",s,i?`:${i}`:"",n,r)}),n.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:n,port:i,host:s},error:o}=t;e("connection to %s%s using %s%s errored - %s",s,i?`:${i}`:"",n,r,o.message)}),n.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:n,origin:i}}=t;e("sending request to %s %s%s",r,i,n)})}}let d=!1,g=!1;(s.enabled||o.enabled)&&(c(o.enabled?o:s),function(e=s){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,n.subscribe("undici:request:headers",t=>{let{request:{method:r,path:n,origin:i},response:{statusCode:s}}=t;e("received response to %s %s%s - HTTP %d",r,i,n,s)}),n.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:n,origin:i}}=t;e("trailers received from %s %s%s",r,i,n)}),n.subscribe("undici:request:error",t=>{let{request:{method:r,path:n,origin:i},error:s}=t;e("request to %s %s%s errored - %s",r,i,n,s.message)})}}(o.enabled?o:s)),a.enabled&&(c(s.enabled?s:a),function(e=a){if(!g){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){g=!0;return}g=!0,n.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:n}=t.address;e("connection opened %s%s",r,n?`:${n}`:"")}else e("connection opened")}),n.subscribe("undici:websocket:close",t=>{let{websocket:r,code:n,reason:i}=t;e("closed connection to %s - %s %s",r.url,n,i)}),n.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),n.subscribe("undici:websocket:ping",t=>{e("ping received")}),n.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(a)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let n=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class i extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}let s=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class o extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}let a=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[a]}get[a](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class g extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let u=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[u]}get[u](){return!0}}let m=Symbol.for("undici.error.UND_ERR_ABORT");class p extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[m]}get[m](){return!0}}let C=Symbol.for("undici.error.UND_ERR_ABORTED");class f extends p{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[C]}get[C](){return!0}}let I=Symbol.for("undici.error.UND_ERR_INFO");class E extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[I]}get[I](){return!0}}let y=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class B extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[y]}get[y](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class N extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let b=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[b]}get[b](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class D extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let x=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[x]}get[x](){return!0}}let k=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class v extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[k]}get[k](){return!0}}let M=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class U extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let F=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[F]}get[F](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class O extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let H=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class P extends r{constructor(e,t,{headers:r,data:n}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=n,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[H]}get[H](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:n}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=n,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let z=Symbol.for("undici.error.UND_ERR_PRX_TLS");class q extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[z]}get[z](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class _ extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let J=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[J]}get[J](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class K extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:p,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:o,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:B,ConnectTimeoutError:i,InvalidArgumentError:g,InvalidReturnValueError:h,RequestAbortedError:f,ClientDestroyedError:S,ClientClosedError:D,InformationalError:E,SocketError:R,NotSupportedError:v,ResponseContentLengthMismatchError:N,BalancedPoolMissingUpstreamError:U,ResponseExceededMaxSizeError:O,RequestRetryError:P,ResponseError:G,SecureProxyConnectionError:q,ProxyConnectionError:_,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:K}},1037(e,t,r){let{InvalidArgumentError:n,NotSupportedError:i}=r(8065),s=r(4589),{isValidHTTPToken:o,isValidHeaderValue:a,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:g,hasSafeIterator:u,isBlobLike:h,serializePathWithQuery:m,parseHeaders:p,assertRequestHandler:C,getServerName:f,normalizedMethodRecords:I,getProtocolFromUrlString:E}=r(1210),{channels:y}=r(6708),{headerNameLowerCasedRecord:B}=r(7525),Q=/[^\u0021-\u00ff]/,N=Symbol("handler"),b=Symbol("controller"),S=Symbol("resume");class w{#f=!1;#I=null;#E=!1;#y;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#y=e}pause(){this.#f=!0}resume(){this.#f&&(this.#f=!1,this[S]?.())}abort(e){this.#E||(this.#E=!0,this.#I=e,this.#y(e))}get aborted(){return this.#E}get reason(){return this.#I}get paused(){return this.#f}}function D(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new n(`invalid ${t} header`);if(void 0===r)return;let s=B[t];if(void 0===s&&void 0===B[s=t.toLowerCase()]&&!o(s))throw new n("invalid header key");if(Array.isArray(r)){let e=[];for(let i=0;i<r.length;i++)if("string"==typeof r[i]){if(!a(r[i]))throw new n(`invalid ${t} header`);e.push(r[i])}else if(null===r[i])e.push("");else if("object"==typeof r[i])throw new n(`invalid ${t} header`);else{let s=`${r[i]}`;if(!a(s))throw new n(`invalid ${t} header`);e.push(s)}r=e}else if("string"==typeof r){if(!a(r))throw new n(`invalid ${t} header`)}else if(null===r)r="";else if(!a(r=`${r}`))throw new n(`invalid ${t} header`);if("host"===s){if(null!==e.host)throw new n("duplicate host header");if("string"!=typeof r)throw new n("invalid host header");e.host=r}else if("content-length"===s){if(null!==e.contentLength)throw new n("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new n("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===s)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===s||"keep-alive"===s||"upgrade"===s)throw new n(`invalid ${s} header`);else if("connection"===s){let t="string"==typeof r?r:null;if(null===t)throw new n("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!o(t))throw new n("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===s)throw new i("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:i,headers:s,query:p,idempotent:B,blocking:b,upgrade:S,headersTimeout:w,bodyTimeout:x,reset:R,expectContinue:k,servername:v,throwOnError:M,maxRedirections:U,typeOfService:F},T){if("string"!=typeof t)throw new n("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new n("invalid request path")}else throw new n("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new n("method must be a string");if(void 0===I[r]&&!o(r))throw new n("invalid request method");if(S&&"string"!=typeof S)throw new n("upgrade must be a string");if(S&&!a(S))throw new n("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new n("invalid headersTimeout");if(null!=x&&(!Number.isFinite(x)||x<0))throw new n("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new n("invalid reset");if(null!=k&&"boolean"!=typeof k)throw new n("invalid expectContinue");if(null!=M)throw new n("invalid throwOnError");if(null!=U&&0!==U)throw new n("maxRedirections is not supported, use the redirect interceptor");if(null!=F&&(!Number.isInteger(F)||F<0||F>255))throw new n("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=x,this.method=r,this.typeOfService=F,this.abort=null,null==i)this.body=null;else if(A(i)){this.body=i;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(i))this.body=i.byteLength?i:null;else if(ArrayBuffer.isView(i))this.body=i.buffer.byteLength?Buffer.from(i.buffer,i.byteOffset,i.byteLength):null;else if(i instanceof ArrayBuffer)this.body=i.byteLength?Buffer.from(i):null;else if("string"==typeof i)this.body=i.length?Buffer.from(i):null;else if(d(i)||g(i)||h(i))this.body=i;else throw new n("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=p?m(t,p):t,this.origin=e,this.protocol=E(e),this.idempotent=null==B?"HEAD"===r||"GET"===r||"QUERY"===r:B,this.blocking=b??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=k&&k,Array.isArray(s)){if(s.length%2!=0)throw new n("headers array must be even");for(let e=0;e<s.length;e+=2)D(this,s[e],s[e+1])}else if(s&&"object"==typeof s)if(u(s))for(let e of s){if(!Array.isArray(e)||2!==e.length)throw new n("headers must be in key-value pair format");D(this,e[0],e[1])}else{let e=Object.keys(s);for(let t=0;t<e.length;++t)D(this,e[t],s[e[t]])}else if(null!=s)throw new n("headers must be an object or an array");C(T,r,S),this.servername=v||f(this.host)||null,this[N]=T,y.create.hasSubscribers&&y.create.publish({request:this})}onBodySent(e){if(y.bodyChunkSent.hasSubscribers&&y.bodyChunkSent.publish({request:this,chunk:e}),this[N].onBodySent)try{return this[N].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(y.bodySent.hasSubscribers&&y.bodySent.publish({request:this}),this[N].onRequestSent)try{return this[N].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(s(!this.aborted),s(!this.completed),this[b]=new w(e),this.error)?void this[b].abort(this.error):(this.abort=e,this[N].onRequestStart(this[b],t))}onResponseStarted(){return this[N].onResponseStarted?.()}onResponseStart(e,t,r,n){s(!this.aborted),s(!this.completed),y.headers.hasSubscribers&&y.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:n}});let i=this[b];i&&(i[S]=r,i.rawHeaders=t);let o=Array.isArray(t)?p(t):t;try{return this[N].onResponseStart?.(i,e,o,n),!i?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){s(!this.aborted),s(!this.completed),y.bodyChunkReceived.hasSubscribers&&y.bodyChunkReceived.publish({request:this,chunk:e});let t=this[b];try{return this[N].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){s(!this.aborted),s(!this.completed);let n=this[b];n&&(n.rawHeaders=t);let i=Array.isArray(t)?p(t):t;return this[N].onRequestUpgrade?.(n,e,i,r)}onResponseEnd(e){this.onFinally(),s(!this.aborted),s(!this.completed),this.completed=!0,y.trailers.hasSubscribers&&y.trailers.publish({request:this,trailers:e});let t=this[b];t&&(t.rawTrailers=e);let r=Array.isArray(e)?p(e):e;try{return this[N].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),y.error.hasSubscribers&&y.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[b];return this[N].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return D(this,e,t),this}}},9716(e,t,r){let{EventEmitter:n}=r(8474),{Buffer:i}=r(4573),{InvalidArgumentError:s,Socks5ProxyError:o}=r(8065),{debuglog:a}=r(7975),{parseAddress:A}=r(2598),l=a("undici:socks5"),c=i.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},g={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},u={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},m={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends n{constructor(e,t={}){if(super(),!e)throw new s("socket is required");this.socket=e,this.options=t,this.state=m.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=i.concat([this.buffer,e]);try{switch(this.state){case m.HANDSHAKING:this.handleHandshakeResponse();break;case m.AUTHENTICATING:this.handleAuthResponse();break;case m.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=m.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=m.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=m.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==m.INITIAL)throw new s("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=m.HANDSHAKING;let e=i.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new o(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new o("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=m.AUTHENTICATING,this.sendAuthRequest();else throw new o(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new s("Username and password required for authentication");l("sending username/password auth");let r=i.from(e),n=i.from(t);if(r.length>255||n.length>255)throw new s("Username or password too long");let o=i.alloc(3+r.length+n.length);o[0]=1,o[1]=r.length,r.copy(o,2),o[2+r.length]=n.length,n.copy(o,3+r.length),this.socket.write(o)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new o(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new o("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===m.CONNECTING||this.state===m.CONNECTED)throw new s("Connection already in progress");if(this.state!==m.AUTHENTICATED)throw new s("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=m.CONNECTING;let r=this.buildConnectRequest(g.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:n,buffer:s}=A(t),o=i.alloc(4+s.length+2);return o[0]=5,o[1]=e,o[2]=0,o[3]=n,s.copy(o,4),o.writeUInt16BE(r,4+s.length),o}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],n=this.buffer[3];if(5!==t)throw new o(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let i=4;if(n===u.IPV4)i+=6;else if(n===u.DOMAIN){if(this.buffer.length<5)return;i+=1+this.buffer[4]+2}else if(n===u.IPV6)i+=18;else throw new o(`Invalid address type in reply: ${n}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<i)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new o(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let s=4;if(n===u.IPV4)e=Array.from(this.buffer.subarray(s,s+4)).join("."),s+=4;else if(n===u.DOMAIN){let t=this.buffer[s];s+=1,e=this.buffer.subarray(s,s+t).toString(),s+=t}else if(n===u.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(s+2*e);t.push(r.toString(16))}e=t.join(":"),s+=16}let a=this.buffer.readUInt16BE(s);this.buffer=c,this.state=m.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",a),this.emit("connected",{address:e,port:a})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:g,ADDRESS_TYPES:u,REPLY_CODES:h,STATES:m}},2598(e,t,r){let{Buffer:n}=r(4573),i=r(7030),{InvalidArgumentError:s}=r(8065);function o(e){let t=n.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),n=e.slice(t+1);if(i.isIPv4(n)){let i=n.split(".").map(Number),s=(i[0]<<8|i[1]).toString(16),o=(i[2]<<8|i[3]).toString(16);r=`${e.slice(0,t)}:${s}:${o}`}}let s=r.indexOf("::");if(-1!==s){let e=r.slice(0,s),n=r.slice(s+2),i=""===e?[]:e.split(":"),o=""===n?[]:n.split(":"),a=0;for(let e of i)t.writeUInt16BE(parseInt(e,16),a),a+=2;for(let e of(a=16-2*o.length,o))t.writeUInt16BE(parseInt(e,16),a),a+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(i.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:n.from(t)}}if(i.isIPv6(e))return{type:4,buffer:o(e)};let t=n.from(e,"utf8");if(t.length>255)throw new s("Domain name too long (max 255 bytes)");return{type:3,buffer:n.concat([n.from([t.length]),t])}},parseIPv6:o,buildAddressBuffer:function(e,t,r){let i=n.allocUnsafe(2);return i.writeUInt16BE(r,0),n.concat([n.from([e]),t,i])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new s("Buffer too small to contain address type");let n=e[t],i=t+1;switch(n){case 1:if(e.length<i+6)throw new s("Buffer too small for IPv4 address");r=Array.from(e.subarray(i,i+4)).join("."),i+=4;break;case 3:{if(e.length<i+1)throw new s("Buffer too small for domain length");let t=e[i];if(i+=1,e.length<i+t+2)throw new s("Buffer too small for domain address");r=e.subarray(i,i+t).toString("utf8"),i+=t;break}case 4:{if(e.length<i+18)throw new s("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let n=e.readUInt16BE(i+2*r);t.push(n.toString(16))}r=t.join(":"),i+=16;break}default:throw new s(`Invalid address type: ${n}`)}if(e.length<i+2)throw new s("Buffer too small for port");return{address:r,port:e.readUInt16BE(i),bytesRead:(i+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:n,headerNameLowerCasedRecord:i}=r(7525);class s{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new s(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let n=0,i=this;for(;;){let o=e.charCodeAt(n);if(o>127)throw TypeError("key must be ascii string");if(i.code===o)if(r===++n){i.value=t;break}else if(null!==i.middle)i=i.middle;else{i.middle=new s(e,t,n);break}else if(i.code<o)if(null!==i.left)i=i.left;else{i.left=new s(e,t,n);break}else if(null!==i.right)i=i.right;else{i.right=new s(e,t,n);break}}}search(e){let t=e.length,r=0,n=this;for(;null!==n&&r<t;){let i=e[r];for(i<=90&&i>=65&&(i|=32);null!==n;){if(i===n.code){if(t===++r)return n;n=n.middle;break}n=n.code<i?n.left:n.right}}return null}}class o{node=null;insert(e,t){null===this.node?this.node=new s(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let a=new o;for(let e=0;e<n.length;++e){let t=i[n[e]];a.insert(t,t)}e.exports={TernarySearchTree:o,tree:a}},1210(e,t,r){let n=r(4589),{kDestroyed:i,kBodyUsed:s,kListeners:o,kBody:a}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:g,addAbortListener:u}=r(8474),h=r(2297),{InvalidArgumentError:m,ConnectTimeoutError:p}=r(8065),{headerNameLowerCasedRecord:C}=r(7525),{tree:f}=r(1342);class I{constructor(e){this[a]=e,this[s]=!1}async *[Symbol.asyncIterator](){n(!this[s],"disturbed"),this[s]=!0,yield*this[a]}}function E(){}function y(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function B(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function N(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function b(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!b((e=new URL(e)).origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new m("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===N(e.port))throw new m("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new m("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new m("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new m("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new m("Invalid URL origin: the origin must be a string or null/undefined.");if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,n=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),n&&"/"!==n[0]&&(n=`/${n}`),new URL(`${r}${n}`)}if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function D(e){if(null==e)return 0;if(y(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return B(e)?null!=e.size?e.size:null:M(e)?e.byteLength:null}function x(e){return e&&!!(e.destroyed||e[i]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!y(e)||x(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[i]=!0)}}let k=/timeout=(\d+)/;function v(e){return"string"==typeof e?C[e]??e.toLowerCase():f.lookup(e)??e.toString("latin1").toLowerCase()}function M(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function U(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let F=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,O=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,H="win32"===process.platform?(e,t)=>{if(!t.timeout)return E;let r=null,n=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{n=setImmediate(()=>P(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r),clearImmediate(n)}}:(e,t)=>{if(!t.timeout)return E;let r=null,n=h.setFastTimeout(()=>{r=setImmediate(()=>{P(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(n),clearImmediate(r)}};function P(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new p(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,z={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},q={...z,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(z,null),Object.setPrototypeOf(q,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[s]))},isBlobLike:B,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new m("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;n("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return n(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:y,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:x,headerNameToString:v,bufferToLowerCasedHeaderName:function(e){return f.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[o]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[o]){for(let[t,r]of e[o])e.removeListener(t,r);e[o]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),n(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.push(r,`${e}`);else t.push(r,`${n}`);return t}let n=e.length,i=Array(n);for(let s=0;s<n;s+=2)t=e[s],r=e[s+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),i[s]=t,i[s+1]=r;return i},toRawHeaders:function(e){let t=[];for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${n}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let n=v(e[r]),i=t[n];if(void 0!==i)if(Object.hasOwn(t,n))"string"==typeof i&&(i=[i],t[n]=i),i.push(e[r+1].toString("latin1"));else{let i="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===n?Object.defineProperty(t,n,{value:i,enumerable:!0,configurable:!0,writable:!0}):t[n]=i}else{let i="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[n]=i}}return t},parseKeepAliveTimeout:function(e){let t=e.match(k);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:D,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:M,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new m("handler must be an object");if("function"!=typeof e.onRequestStart)throw new m("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new m("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new m("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new m("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new m("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new m("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new m("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new m("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:U,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?u(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==F[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===F[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=O.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:z,normalizedMethodRecords:q,isValidPort:N,isHttpOrHttpsPrefixed:b,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return y(e)?(0===D(e)&&e.on("data",function(){n(!1)}),"boolean"!=typeof e.readableDidRead&&(e[s]=!1,g.prototype.on.call(e,"data",function(){this[s]=!0})),e):e&&"function"==typeof e.pipeTo?new I(e):e&&U(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new I(e):e},setupConnectTimeout:H,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:n,MaxOriginsReachedError:i}=r(8065),{kBusy:s,kClients:o,kConnected:a,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:g}=r(3025),u=r(9779),h=r(6334),m=r(5183),p=r(1210),C=Symbol("onConnect"),f=Symbol("onDisconnect"),I=Symbol("onConnectionError"),E=Symbol("onDrain"),y=Symbol("factory"),B=Symbol("options"),Q=Symbol("origins");function N(e,t){return t&&1===t.connections?new m(e,t):new h(e,t)}e.exports=class extends u{constructor({factory:e=N,maxOrigins:t=1/0,connect:r,...i}={}){if("function"!=typeof e)throw new n("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new n("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new n("maxOrigins must be a number greater than 0");super(i),r&&"function"!=typeof r&&(r={...r}),this[B]={...p.deepClone(i),maxOrigins:t,connect:r},this[y]=e,this[o]=new Map,this[Q]=new Set,this[E]=(e,t)=>{this.emit("drain",e,[this,...t])},this[C]=(e,t)=>{this.emit("connect",e,[this,...t])},this[f]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[I]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[o].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new n("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[B].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[B].maxOrigins&&!this[Q].has(r))throw new i;let c=this[o].get(l);if(!c){c=this[y](e.origin,!1===A?{...this[B],allowH2:!1}:this[B]);let t=()=>{if(this[o].get(l)!==c||c[a]>0||c[s])return;this[o].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[o].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[E]).on("connect",this[C]).on("disconnect",(e,r,n)=>{t(),this[f](e,r,n)}).on("connectionError",(e,r,n)=>{t(),this[I](e,r,n)}),this[o].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[o].values())e.push(t.close());return this[o].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[o].values())t.push(r.destroy(e));return this[o].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[o].values())t.stats&&(e[t[g].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:n,InvalidArgumentError:i}=r(8065),{PoolBase:s,kClients:o,kNeedDrain:a,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:g}=r(3025),u=r(1210),h=Symbol("factory"),m=Symbol("options"),p=Symbol("kGreatestCommonDivisor"),C=Symbol("kCurrentWeight"),f=Symbol("kIndex"),I=Symbol("kWeight"),E=Symbol("kMaxWeightPerServer"),y=Symbol("kErrorPenalty");function B(e,t){return new d(e,t)}e.exports=class extends s{constructor(e=[],{factory:t=B,...r}={}){if("function"!=typeof t)throw new i("factory must be a function.");for(let n of(super(),this[m]={...u.deepClone(r)},this[f]=-1,this[C]=0,this[E]=this[m].maxWeightPerServer||100,this[y]=this[m].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(n);this._updateBalancedPoolStats()}addUpstream(e){let t=u.parseOrigin(e).origin;if(this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[m]);for(let e of(this[A](r),r.on("connect",()=>{r[I]=Math.min(this[E],r[I]+this[y])}),r.on("connectionError",()=>{r[I]=Math.max(1,r[I]-this[y]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[I]=Math.max(1,r[I]-this[y]),this._updateBalancedPoolStats())}),this[o]))e[I]=this[E];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[o][t][I],e);this[p]=e}removeUpstream(e){let t=u.parseOrigin(e).origin,r=this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=u.parseOrigin(e).origin;return this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[o].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[g].origin)}[c](){if(0===this[o].length)throw new n;let e=0,t=-1;for(;e++<this[o].length;){this[f]=(this[f]+1)%this[o].length;let e=this[o][this[f]];if((0===this[f]&&(this[C]=this[C]-this[p],this[C]<=0&&(this[C]=this[E])),!e[a]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[I]>this[o][t][I])&&(t=this[f]),e[I]>=this[C]))return e}if(-1!==t)return this[C]=this[o][t][I],this[f]=t,this[o][t]}}},8043(e,t,r){let n,i=r(4589),s=r(1210),{channels:o}=r(6708),a=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:g,HeadersOverflowError:u,SocketError:h,InformationalError:m,BodyTimeoutError:p,HTTPParserError:C,ResponseExceededMaxSizeError:f}=r(8065),{kUrl:I,kReset:E,kClient:y,kParser:B,kBlocking:Q,kRunning:N,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:x,kKeepAliveDefaultTimeout:R,kHostHeader:k,kPendingIdx:v,kRunningIdx:M,kError:U,kPipelining:F,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:O,kKeepAliveMaxTimeout:H,kKeepAliveTimeoutThreshold:P,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:z,kMaxRequests:q,kCounter:V,kMaxResponseSize:_,kOnError:J,kResume:W,kHTTPContext:j,kClosed:K}=r(3025),X=r(8994),Z=Buffer.alloc(0),$=Buffer[Symbol.species],ee=s.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),en=Symbol("kSocketUsed"),ei=Symbol("kTypeOfService"),es=null,eo=null,ea=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(X.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[O],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[_]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(a.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=a.setFastTimeout(eg,e,this.timeoutWeakRef):(this.timeout=setTimeout(eg,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(i(null!=this.ptr),i(null===eo),this.llhttp.llhttp_resume(this.ptr),i(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Z),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){i(null===eo),i(null!=this.ptr),i(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let n;try{ea=e,eo=this,n=r.llhttp_execute(this.ptr,el,e.length)}finally{eo=null,ea=null}if(n!==X.ERROR.OK){let i=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(n===X.ERROR.PAUSED_UPGRADE)this.onUpgrade(i);else if(n===X.ERROR.PAUSED)this.paused=!0,t.unshift(i);else throw this.createError(n,i)}}catch(e){s.destroy(t,e)}}finish(){let e;i(null===eo),i(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||Z,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{eo=this,e=t.llhttp_finish(this.ptr)}finally{eo=null}return e===X.ERROR.OK?null:e===X.ERROR.PAUSED||e===X.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,Z)}createError(e,t){let{llhttp:r,contentLength:n,bytesRead:i}=this;if(-1!==n&&i!==n)return new l;let s=r.llhttp_get_error_reason(this.ptr),o="";if(s){let e=new Uint8Array(r.memory.buffer,s).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,s,e).toString()+")"}return new C(o,X.ERROR[e],t)}destroy(){i(null===eo),i(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[N])return s.destroy(e,new h("bad response",s.getSocketInfo(e))),-1;let r=t[D][t[M]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let n=s.bufferToLowerCasedHeaderName(r);"keep-alive"===n?this.keepAlive+=e.toString():"connection"===n&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===s.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===s.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&s.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:r,socket:n,headers:o,statusCode:a}=this;i(t),i(r[T]===n),i(!n.destroyed),i(!this.paused),i((1&o.length)==0);let A=r[D][r[M]];i(A),i(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,n.unshift(e),n[B].destroy(),n[B]=null,n[y]=null,n[U]=null,ee(n),r[T]=null,r[j]=null,r[D][r[M]++]=null,r.emit("disconnect",r[I],[r],new m("upgrade"));try{A.onRequestUpgrade(a,o,n)}catch(e){s.destroy(n,e)}r[W]()}onHeadersComplete(e,t,r){let{client:n,socket:o,headers:a,statusText:A}=this;if(o.destroyed)return -1;if(0===n[N])return s.destroy(o,new h("bad response",s.getSocketInfo(o))),-1;let l=n[D][n[M]];if(!l)return -1;if(i(!this.upgrade),i(this.statusCode<200),100===e)return s.destroy(o,new h("bad response",s.getSocketInfo(o))),-1;if(t&&!l.upgrade)return s.destroy(o,new h("bad upgrade",s.getSocketInfo(o))),-1;if(i(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!o[E]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:n[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return i(1===n[N]),this.upgrade=!0,2;if(i((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&n[F]){let e=this.keepAlive?s.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-n[P],n[H]);t<=0?o[E]=!0:n[L]=t}else n[L]=n[R]}else o[E]=!0;let c=!1===l.onResponseStart(e,a,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(o[Q]&&(o[Q]=!1,n[W]()),c?X.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:n,maxResponseSize:o}=this;if(r.destroyed)return -1;let a=t[D][t[M]];return(i(a),i(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),i(n>=200),o>-1&&this.bytesRead+e.length>o)?(s.destroy(r,new f),-1):(this.bytesRead+=e.length,!1===a.onResponseData(e))?X.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:n,headers:o,contentLength:a,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(n)return 0;i(r>=100),i((1&this.headers.length)==0);let d=e[D][e[M]];return(i(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==a&&A!==a?(s.destroy(t,new l),-1):(d.onResponseEnd(o),e[D][e[M]++]=null,t[en]=0===e[b],t[w])?(i(0===e[N]),s.destroy(t,new m("reset")),X.ERROR.PAUSED):c?t[E]&&0===e[N]?(s.destroy(t,new m("reset")),X.ERROR.PAUSED):(null==e[F]||1===e[F]?setImmediate(e[W]):e[W](),0):(s.destroy(t,new m("reset")),X.ERROR.PAUSED)}}function eg(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:n,client:o,paused:a}=t;3===n?(!r[w]||r.writableNeedDrain||o[N]>1)&&(i(!a,"cannot be paused while waiting for headers"),s.destroy(r,new g)):5===n?a||s.destroy(r,new p):8===n&&(i(0===o[N]&&o[L]),s.destroy(r,new m("socket idle timeout")))}function eu(e){i("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[B];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[U]=e,this[y][J](e));return}this[U]=e,this[y][J](e)}function eh(){this[B]?.readMore()}function em(){let e=this[B];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&s.destroy(this,t);return}s.destroy(this,new h("other side closed",s.getSocketInfo(this)))}function ep(){let e=this[B];ef(this),e&&(this[U]||!e.statusCode||e.shouldKeepAlive||(this[U]=e.finish()||this[U]),this[B].destroy(),this[B]=null);let t=this[U]||new h("closed",s.getSocketInfo(this)),r=this[y];if(r[T]=null,r[j]=null,r.destroyed){i(0===r[b]);let e=r[D].splice(r[M]);for(let n=0;n<e.length;n++){let i=e[n];s.errorRequest(r,i,t)}}else if(r[N]>0&&"UND_ERR_INFO"!==t.code){let e=r[D][r[M]];r[D][r[M]++]=null,s.errorRequest(r,e,t)}r[v]=r[M],i(0===r[N]),r.emit("disconnect",r[I],[r],t),r[W]()}function eC(){this[K]=!0}function ef(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function eI(e,t,r,n,o,a,A,l){try{t?s.isBuffer(t)&&(i(a===t.byteLength,"buffer body must have content length"),o.cork(),o.write(`${A}content-length: ${a}\r + `)}close(){this.#o.close()}get(e){s(e);let t=this.#p(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){s(e);let r=this.#m(e),i=Array.isArray(t.body)?Buffer.concat(t.body):t.body,n=i?.byteLength;if(n&&n>this.#r)return;let a=this.#p(e,!0);a?this.#l.run(i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,a.id):(this.#c.run(r,e.method,i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#f())}createWriteStream(e,t){s(e),a(t);let r=0,i=[],o=this;return new n({decodeStrings:!0,write(e,t,n){(r+=e.byteLength)<=o.#r?i.push(e):this.destroy(),n()},final(r){o.set(e,{...t,body:i}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#u.run(this.#m(e))}#f(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#g.get();return e}#m(e){return`${e.origin}/${e.path}`}#p(e,t=!1){let r=this.#m(e),{headers:i,method:n}=e,s=this.#A.all(r,n);if(0===s.length)return;let a=Date.now();for(let e of s){if(a>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(i[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let i,n=r(7030),s=r(4589),a=r(1210),{InvalidArgumentError:o,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:u,timeout:g,session:h,...p}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new o("maxCachedSessions must be a positive integer or zero");let m={path:u,...p},f=new l(null==d?100:d);return g=null==g?1e4:g,e=null==e||e,function({hostname:o,host:l,protocol:d,port:u,servername:p,localAddress:C,httpSocket:y},I){let E;if("https:"===d){i||(i=r(1692));let n=(p=p||m.servername||a.getServerName(l)||null)||o;s(n);let A=h||f.get(n)||null;u=u||443,(E=i.connect({highWaterMark:16384,...m,servername:p,session:A,localAddress:C,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:y,port:u,host:o})).on("session",function(e){f.set(n,e)})}else s(!y,"httpSocket can only be sent on TLS update"),u=u||80,E=n.connect({highWaterMark:65536,...m,localAddress:C,port:u,host:o}),!0===c&&(E.alpnProtocol="h2");if(null==m.keepAlive||m.keepAlive){let e=void 0===m.keepAliveInitialDelay?6e4:m.keepAliveInitialDelay;E.setKeepAlive(!0,e)}let B=a.setupConnectTimeout(new WeakRef(E),{timeout:g,hostname:o,port:u});return E.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(B),I){let e=I;I=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(B),I){let t=I;I=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let i="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?i+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:i+=` (attempted address: ${r.hostname}:${r.port},`;let n=new A(i+=` timeout: ${r.timeout}ms)`);return n.cause=e,n}return e}(e,this,{timeout:g,hostname:o,port:u}))}}),E}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let i=t[e],n=i.toLowerCase();r[i]=r[n]=n}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let i=r(3053),n=r(7975),s=n.debuglog("undici"),a=n.debuglog("fetch"),o=n.debuglog("websocket"),A={beforeConnect:i.channel("undici:client:beforeConnect"),connected:i.channel("undici:client:connected"),connectError:i.channel("undici:client:connectError"),sendHeaders:i.channel("undici:client:sendHeaders"),create:i.channel("undici:request:create"),bodySent:i.channel("undici:request:bodySent"),bodyChunkSent:i.channel("undici:request:bodyChunkSent"),bodyChunkReceived:i.channel("undici:request:bodyChunkReceived"),headers:i.channel("undici:request:headers"),trailers:i.channel("undici:request:trailers"),error:i.channel("undici:request:error"),open:i.channel("undici:websocket:open"),close:i.channel("undici:websocket:close"),socketError:i.channel("undici:websocket:socket_error"),ping:i.channel("undici:websocket:ping"),pong:i.channel("undici:websocket:pong"),proxyConnected:i.channel("undici:proxy:connected")},l=!1;function c(e=s){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,i.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s}}=t;e("connecting to %s%s using %s%s",s,n?`:${n}`:"",i,r)}),i.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s}}=t;e("connected to %s%s using %s%s",s,n?`:${n}`:"",i,r)}),i.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s},error:a}=t;e("connection to %s%s using %s%s errored - %s",s,n?`:${n}`:"",i,r,a.message)}),i.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:i,origin:n}}=t;e("sending request to %s %s%s",r,n,i)})}}let d=!1,u=!1;(s.enabled||a.enabled)&&(c(a.enabled?a:s),function(e=s){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,i.subscribe("undici:request:headers",t=>{let{request:{method:r,path:i,origin:n},response:{statusCode:s}}=t;e("received response to %s %s%s - HTTP %d",r,n,i,s)}),i.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:i,origin:n}}=t;e("trailers received from %s %s%s",r,n,i)}),i.subscribe("undici:request:error",t=>{let{request:{method:r,path:i,origin:n},error:s}=t;e("request to %s %s%s errored - %s",r,n,i,s.message)})}}(a.enabled?a:s)),o.enabled&&(c(s.enabled?s:o),function(e=o){if(!u){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){u=!0;return}u=!0,i.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:i}=t.address;e("connection opened %s%s",r,i?`:${i}`:"")}else e("connection opened")}),i.subscribe("undici:websocket:close",t=>{let{websocket:r,code:i,reason:n}=t;e("closed connection to %s - %s %s",r.url,i,n)}),i.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),i.subscribe("undici:websocket:ping",t=>{e("ping received")}),i.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(o)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let i=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class n extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}let s=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class a extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}let o=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[o]}get[o](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class u extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let g=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[g]}get[g](){return!0}}let p=Symbol.for("undici.error.UND_ERR_ABORT");class m extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[p]}get[p](){return!0}}let f=Symbol.for("undici.error.UND_ERR_ABORTED");class C extends m{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[f]}get[f](){return!0}}let y=Symbol.for("undici.error.UND_ERR_INFO");class I extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[y]}get[y](){return!0}}let E=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class B extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[E]}get[E](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class b extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let N=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[N]}get[N](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class x extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let D=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[D]}get[D](){return!0}}let v=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class k extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[v]}get[v](){return!0}}let M=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class F extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let U=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[U]}get[U](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class O extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let P=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class H extends r{constructor(e,t,{headers:r,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[P]}get[P](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let q=Symbol.for("undici.error.UND_ERR_PRX_TLS");class z extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[q]}get[q](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class _ extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let J=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[J]}get[J](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class K extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:m,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:a,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:B,ConnectTimeoutError:n,InvalidArgumentError:u,InvalidReturnValueError:h,RequestAbortedError:C,ClientDestroyedError:S,ClientClosedError:x,InformationalError:I,SocketError:R,NotSupportedError:k,ResponseContentLengthMismatchError:b,BalancedPoolMissingUpstreamError:F,ResponseExceededMaxSizeError:O,RequestRetryError:H,ResponseError:G,SecureProxyConnectionError:z,ProxyConnectionError:_,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:K}},1037(e,t,r){let{InvalidArgumentError:i,NotSupportedError:n}=r(8065),s=r(4589),{isValidHTTPToken:a,isValidHeaderValue:o,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:u,hasSafeIterator:g,isBlobLike:h,serializePathWithQuery:p,parseHeaders:m,assertRequestHandler:f,getServerName:C,normalizedMethodRecords:y,getProtocolFromUrlString:I}=r(1210),{channels:E}=r(6708),{headerNameLowerCasedRecord:B}=r(7525),Q=/[^\u0021-\u00ff]/,b=Symbol("handler"),N=Symbol("controller"),S=Symbol("resume");class w{#C=!1;#y=null;#I=!1;#E;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#E=e}pause(){this.#C=!0}resume(){this.#C&&(this.#C=!1,this[S]?.())}abort(e){this.#I||(this.#I=!0,this.#y=e,this.#E(e))}get aborted(){return this.#I}get reason(){return this.#y}get paused(){return this.#C}}function x(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new i(`invalid ${t} header`);if(void 0===r)return;let s=B[t];if(void 0===s&&void 0===B[s=t.toLowerCase()]&&!a(s))throw new i("invalid header key");if(Array.isArray(r)){let e=[];for(let n=0;n<r.length;n++)if("string"==typeof r[n]){if(!o(r[n]))throw new i(`invalid ${t} header`);e.push(r[n])}else if(null===r[n])e.push("");else if("object"==typeof r[n])throw new i(`invalid ${t} header`);else{let s=`${r[n]}`;if(!o(s))throw new i(`invalid ${t} header`);e.push(s)}r=e}else if("string"==typeof r){if(!o(r))throw new i(`invalid ${t} header`)}else if(null===r)r="";else if(!o(r=`${r}`))throw new i(`invalid ${t} header`);if("host"===s){if(null!==e.host)throw new i("duplicate host header");if("string"!=typeof r)throw new i("invalid host header");e.host=r}else if("content-length"===s){if(null!==e.contentLength)throw new i("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new i("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===s)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===s||"keep-alive"===s||"upgrade"===s)throw new i(`invalid ${s} header`);else if("connection"===s){let t="string"==typeof r?r:null;if(null===t)throw new i("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!a(t))throw new i("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===s)throw new n("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:n,headers:s,query:m,idempotent:B,blocking:N,upgrade:S,headersTimeout:w,bodyTimeout:D,reset:R,expectContinue:v,servername:k,throwOnError:M,maxRedirections:F,typeOfService:U},T){if("string"!=typeof t)throw new i("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new i("invalid request path")}else throw new i("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new i("method must be a string");if(void 0===y[r]&&!a(r))throw new i("invalid request method");if(S&&"string"!=typeof S)throw new i("upgrade must be a string");if(S&&!o(S))throw new i("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new i("invalid headersTimeout");if(null!=D&&(!Number.isFinite(D)||D<0))throw new i("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new i("invalid reset");if(null!=v&&"boolean"!=typeof v)throw new i("invalid expectContinue");if(null!=M)throw new i("invalid throwOnError");if(null!=F&&0!==F)throw new i("maxRedirections is not supported, use the redirect interceptor");if(null!=U&&(!Number.isInteger(U)||U<0||U>255))throw new i("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=D,this.method=r,this.typeOfService=U,this.abort=null,null==n)this.body=null;else if(A(n)){this.body=n;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if("string"==typeof n)this.body=n.length?Buffer.from(n):null;else if(d(n)||u(n)||h(n))this.body=n;else throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=m?p(t,m):t,this.origin=e,this.protocol=I(e),this.idempotent=null==B?"HEAD"===r||"GET"===r||"QUERY"===r:B,this.blocking=N??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=v&&v,Array.isArray(s)){if(s.length%2!=0)throw new i("headers array must be even");for(let e=0;e<s.length;e+=2)x(this,s[e],s[e+1])}else if(s&&"object"==typeof s)if(g(s))for(let e of s){if(!Array.isArray(e)||2!==e.length)throw new i("headers must be in key-value pair format");x(this,e[0],e[1])}else{let e=Object.keys(s);for(let t=0;t<e.length;++t)x(this,e[t],s[e[t]])}else if(null!=s)throw new i("headers must be an object or an array");f(T,r,S),this.servername=k||C(this.host)||null,this[b]=T,E.create.hasSubscribers&&E.create.publish({request:this})}onBodySent(e){if(E.bodyChunkSent.hasSubscribers&&E.bodyChunkSent.publish({request:this,chunk:e}),this[b].onBodySent)try{return this[b].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(E.bodySent.hasSubscribers&&E.bodySent.publish({request:this}),this[b].onRequestSent)try{return this[b].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(s(!this.aborted),s(!this.completed),this[N]=new w(e),this.error)?void this[N].abort(this.error):(this.abort=e,this[b].onRequestStart(this[N],t))}onResponseStarted(){return this[b].onResponseStarted?.()}onResponseStart(e,t,r,i){s(!this.aborted),s(!this.completed),E.headers.hasSubscribers&&E.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}});let n=this[N];n&&(n[S]=r,n.rawHeaders=t);let a=Array.isArray(t)?m(t):t;try{return this[b].onResponseStart?.(n,e,a,i),!n?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){s(!this.aborted),s(!this.completed),E.bodyChunkReceived.hasSubscribers&&E.bodyChunkReceived.publish({request:this,chunk:e});let t=this[N];try{return this[b].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){s(!this.aborted),s(!this.completed);let i=this[N];i&&(i.rawHeaders=t);let n=Array.isArray(t)?m(t):t;return this[b].onRequestUpgrade?.(i,e,n,r)}onResponseEnd(e){this.onFinally(),s(!this.aborted),s(!this.completed),this.completed=!0,E.trailers.hasSubscribers&&E.trailers.publish({request:this,trailers:e});let t=this[N];t&&(t.rawTrailers=e);let r=Array.isArray(e)?m(e):e;try{return this[b].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),E.error.hasSubscribers&&E.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[N];return this[b].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return x(this,e,t),this}}},9716(e,t,r){let{EventEmitter:i}=r(8474),{Buffer:n}=r(4573),{InvalidArgumentError:s,Socks5ProxyError:a}=r(8065),{debuglog:o}=r(7975),{parseAddress:A}=r(2598),l=o("undici:socks5"),c=n.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},u={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},g={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},p={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends i{constructor(e,t={}){if(super(),!e)throw new s("socket is required");this.socket=e,this.options=t,this.state=p.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=n.concat([this.buffer,e]);try{switch(this.state){case p.HANDSHAKING:this.handleHandshakeResponse();break;case p.AUTHENTICATING:this.handleAuthResponse();break;case p.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=p.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=p.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=p.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==p.INITIAL)throw new s("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=p.HANDSHAKING;let e=n.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new a(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new a("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=p.AUTHENTICATING,this.sendAuthRequest();else throw new a(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new s("Username and password required for authentication");l("sending username/password auth");let r=n.from(e),i=n.from(t);if(r.length>255||i.length>255)throw new s("Username or password too long");let a=n.alloc(3+r.length+i.length);a[0]=1,a[1]=r.length,r.copy(a,2),a[2+r.length]=i.length,i.copy(a,3+r.length),this.socket.write(a)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new a(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new a("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===p.CONNECTING||this.state===p.CONNECTED)throw new s("Connection already in progress");if(this.state!==p.AUTHENTICATED)throw new s("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=p.CONNECTING;let r=this.buildConnectRequest(u.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:i,buffer:s}=A(t),a=n.alloc(4+s.length+2);return a[0]=5,a[1]=e,a[2]=0,a[3]=i,s.copy(a,4),a.writeUInt16BE(r,4+s.length),a}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],i=this.buffer[3];if(5!==t)throw new a(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let n=4;if(i===g.IPV4)n+=6;else if(i===g.DOMAIN){if(this.buffer.length<5)return;n+=1+this.buffer[4]+2}else if(i===g.IPV6)n+=18;else throw new a(`Invalid address type in reply: ${i}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<n)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new a(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let s=4;if(i===g.IPV4)e=Array.from(this.buffer.subarray(s,s+4)).join("."),s+=4;else if(i===g.DOMAIN){let t=this.buffer[s];s+=1,e=this.buffer.subarray(s,s+t).toString(),s+=t}else if(i===g.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(s+2*e);t.push(r.toString(16))}e=t.join(":"),s+=16}let o=this.buffer.readUInt16BE(s);this.buffer=c,this.state=p.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",o),this.emit("connected",{address:e,port:o})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:u,ADDRESS_TYPES:g,REPLY_CODES:h,STATES:p}},2598(e,t,r){let{Buffer:i}=r(4573),n=r(7030),{InvalidArgumentError:s}=r(8065);function a(e){let t=i.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),i=e.slice(t+1);if(n.isIPv4(i)){let n=i.split(".").map(Number),s=(n[0]<<8|n[1]).toString(16),a=(n[2]<<8|n[3]).toString(16);r=`${e.slice(0,t)}:${s}:${a}`}}let s=r.indexOf("::");if(-1!==s){let e=r.slice(0,s),i=r.slice(s+2),n=""===e?[]:e.split(":"),a=""===i?[]:i.split(":"),o=0;for(let e of n)t.writeUInt16BE(parseInt(e,16),o),o+=2;for(let e of(o=16-2*a.length,a))t.writeUInt16BE(parseInt(e,16),o),o+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(n.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:i.from(t)}}if(n.isIPv6(e))return{type:4,buffer:a(e)};let t=i.from(e,"utf8");if(t.length>255)throw new s("Domain name too long (max 255 bytes)");return{type:3,buffer:i.concat([i.from([t.length]),t])}},parseIPv6:a,buildAddressBuffer:function(e,t,r){let n=i.allocUnsafe(2);return n.writeUInt16BE(r,0),i.concat([i.from([e]),t,n])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new s("Buffer too small to contain address type");let i=e[t],n=t+1;switch(i){case 1:if(e.length<n+6)throw new s("Buffer too small for IPv4 address");r=Array.from(e.subarray(n,n+4)).join("."),n+=4;break;case 3:{if(e.length<n+1)throw new s("Buffer too small for domain length");let t=e[n];if(n+=1,e.length<n+t+2)throw new s("Buffer too small for domain address");r=e.subarray(n,n+t).toString("utf8"),n+=t;break}case 4:{if(e.length<n+18)throw new s("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let i=e.readUInt16BE(n+2*r);t.push(i.toString(16))}r=t.join(":"),n+=16;break}default:throw new s(`Invalid address type: ${i}`)}if(e.length<n+2)throw new s("Buffer too small for port");return{address:r,port:e.readUInt16BE(n),bytesRead:(n+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:i,headerNameLowerCasedRecord:n}=r(7525);class s{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new s(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let i=0,n=this;for(;;){let a=e.charCodeAt(i);if(a>127)throw TypeError("key must be ascii string");if(n.code===a)if(r===++i){n.value=t;break}else if(null!==n.middle)n=n.middle;else{n.middle=new s(e,t,i);break}else if(n.code<a)if(null!==n.left)n=n.left;else{n.left=new s(e,t,i);break}else if(null!==n.right)n=n.right;else{n.right=new s(e,t,i);break}}}search(e){let t=e.length,r=0,i=this;for(;null!==i&&r<t;){let n=e[r];for(n<=90&&n>=65&&(n|=32);null!==i;){if(n===i.code){if(t===++r)return i;i=i.middle;break}i=i.code<n?i.left:i.right}}return null}}class a{node=null;insert(e,t){null===this.node?this.node=new s(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let o=new a;for(let e=0;e<i.length;++e){let t=n[i[e]];o.insert(t,t)}e.exports={TernarySearchTree:a,tree:o}},1210(e,t,r){let i=r(4589),{kDestroyed:n,kBodyUsed:s,kListeners:a,kBody:o}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:u,addAbortListener:g}=r(8474),h=r(2297),{InvalidArgumentError:p,ConnectTimeoutError:m}=r(8065),{headerNameLowerCasedRecord:f}=r(7525),{tree:C}=r(1342);class y{constructor(e){this[o]=e,this[s]=!1}async *[Symbol.asyncIterator](){i(!this[s],"disturbed"),this[s]=!0,yield*this[o]}}function I(){}function E(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function B(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function b(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function N(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!N((e=new URL(e)).origin||e.protocol))throw new p("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new p("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===b(e.port))throw new p("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new p("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new p("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new p("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new p("Invalid URL origin: the origin must be a string or null/undefined.");if(!N(e.origin||e.protocol))throw new p("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,i=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),i&&"/"!==i[0]&&(i=`/${i}`),new URL(`${r}${i}`)}if(!N(e.origin||e.protocol))throw new p("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function x(e){if(null==e)return 0;if(E(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return B(e)?null!=e.size?e.size:null:M(e)?e.byteLength:null}function D(e){return e&&!!(e.destroyed||e[n]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!E(e)||D(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[n]=!0)}}let v=/timeout=(\d+)/;function k(e){return"string"==typeof e?f[e]??e.toLowerCase():C.lookup(e)??e.toString("latin1").toLowerCase()}function M(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function F(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let U=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,O=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,P="win32"===process.platform?(e,t)=>{if(!t.timeout)return I;let r=null,i=null,n=h.setFastTimeout(()=>{r=setImmediate(()=>{i=setImmediate(()=>H(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(n),clearImmediate(r),clearImmediate(i)}}:(e,t)=>{if(!t.timeout)return I;let r=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{H(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r)}};function H(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new m(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,q={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},z={...q,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(q,null),Object.setPrototypeOf(z,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[s]))},isBlobLike:B,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new p("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;i("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return i(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:E,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:D,headerNameToString:k,bufferToLowerCasedHeaderName:function(e){return C.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[a]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[a]){for(let[t,r]of e[a])e.removeListener(t,r);e[a]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),i(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(r,`${e}`);else t.push(r,`${i}`);return t}let i=e.length,n=Array(i);for(let s=0;s<i;s+=2)t=e[s],r=e[s+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),n[s]=t,n[s+1]=r;return n},toRawHeaders:function(e){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${i}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let i=k(e[r]),n=t[i];if(void 0!==n)if(Object.hasOwn(t,i))"string"==typeof n&&(n=[n],t[i]=n),n.push(e[r+1].toString("latin1"));else{let n="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===i?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n}else{let n="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[i]=n}}return t},parseKeepAliveTimeout:function(e){let t=e.match(v);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:x,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:M,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new p("handler must be an object");if("function"!=typeof e.onRequestStart)throw new p("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new p("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new p("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new p("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new p("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new p("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new p("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new p("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:F,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?g(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==U[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===U[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=O.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:q,normalizedMethodRecords:z,isValidPort:b,isHttpOrHttpsPrefixed:N,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return E(e)?(0===x(e)&&e.on("data",function(){i(!1)}),"boolean"!=typeof e.readableDidRead&&(e[s]=!1,u.prototype.on.call(e,"data",function(){this[s]=!0})),e):e&&"function"==typeof e.pipeTo?new y(e):e&&F(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new y(e):e},setupConnectTimeout:P,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:i,MaxOriginsReachedError:n}=r(8065),{kBusy:s,kClients:a,kConnected:o,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:u}=r(3025),g=r(9779),h=r(6334),p=r(5183),m=r(1210),f=Symbol("onConnect"),C=Symbol("onDisconnect"),y=Symbol("onConnectionError"),I=Symbol("onDrain"),E=Symbol("factory"),B=Symbol("options"),Q=Symbol("origins");function b(e,t){return t&&1===t.connections?new p(e,t):new h(e,t)}e.exports=class extends g{constructor({factory:e=b,maxOrigins:t=1/0,connect:r,...n}={}){if("function"!=typeof e)throw new i("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new i("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new i("maxOrigins must be a number greater than 0");super(n),r&&"function"!=typeof r&&(r={...r}),this[B]={...m.deepClone(n),maxOrigins:t,connect:r},this[E]=e,this[a]=new Map,this[Q]=new Set,this[I]=(e,t)=>{this.emit("drain",e,[this,...t])},this[f]=(e,t)=>{this.emit("connect",e,[this,...t])},this[C]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[y]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[a].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new i("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[B].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[B].maxOrigins&&!this[Q].has(r))throw new n;let c=this[a].get(l);if(!c){c=this[E](e.origin,!1===A?{...this[B],allowH2:!1}:this[B]);let t=()=>{if(this[a].get(l)!==c||c[o]>0||c[s])return;this[a].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[a].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[I]).on("connect",this[f]).on("disconnect",(e,r,i)=>{t(),this[C](e,r,i)}).on("connectionError",(e,r,i)=>{t(),this[y](e,r,i)}),this[a].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[a].values())e.push(t.close());return this[a].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[a].values())t.push(r.destroy(e));return this[a].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[a].values())t.stats&&(e[t[u].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:n}=r(8065),{PoolBase:s,kClients:a,kNeedDrain:o,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:u}=r(3025),g=r(1210),h=Symbol("factory"),p=Symbol("options"),m=Symbol("kGreatestCommonDivisor"),f=Symbol("kCurrentWeight"),C=Symbol("kIndex"),y=Symbol("kWeight"),I=Symbol("kMaxWeightPerServer"),E=Symbol("kErrorPenalty");function B(e,t){return new d(e,t)}e.exports=class extends s{constructor(e=[],{factory:t=B,...r}={}){if("function"!=typeof t)throw new n("factory must be a function.");for(let i of(super(),this[p]={...g.deepClone(r)},this[C]=-1,this[f]=0,this[I]=this[p].maxWeightPerServer||100,this[E]=this[p].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let t=g.parseOrigin(e).origin;if(this[a].find(e=>e[u].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[p]);for(let e of(this[A](r),r.on("connect",()=>{r[y]=Math.min(this[I],r[y]+this[E])}),r.on("connectionError",()=>{r[y]=Math.max(1,r[y]-this[E]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[y]=Math.max(1,r[y]-this[E]),this._updateBalancedPoolStats())}),this[a]))e[y]=this[I];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[a].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[a][t][y],e);this[m]=e}removeUpstream(e){let t=g.parseOrigin(e).origin,r=this[a].find(e=>e[u].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=g.parseOrigin(e).origin;return this[a].find(e=>e[u].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[a].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[u].origin)}[c](){if(0===this[a].length)throw new i;let e=0,t=-1;for(;e++<this[a].length;){this[C]=(this[C]+1)%this[a].length;let e=this[a][this[C]];if((0===this[C]&&(this[f]=this[f]-this[m],this[f]<=0&&(this[f]=this[I])),!e[o]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[y]>this[a][t][y])&&(t=this[C]),e[y]>=this[f]))return e}if(-1!==t)return this[f]=this[a][t][y],this[C]=t,this[a][t]}}},8043(e,t,r){let i,n=r(4589),s=r(1210),{channels:a}=r(6708),o=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:u,HeadersOverflowError:g,SocketError:h,InformationalError:p,BodyTimeoutError:m,HTTPParserError:f,ResponseExceededMaxSizeError:C}=r(8065),{kUrl:y,kReset:I,kClient:E,kParser:B,kBlocking:Q,kRunning:b,kPending:N,kSize:S,kWriting:w,kQueue:x,kNoRef:D,kKeepAliveDefaultTimeout:R,kHostHeader:v,kPendingIdx:k,kRunningIdx:M,kError:F,kPipelining:U,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:O,kKeepAliveMaxTimeout:P,kKeepAliveTimeoutThreshold:H,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:q,kMaxRequests:z,kCounter:V,kMaxResponseSize:_,kOnError:J,kResume:W,kHTTPContext:j,kClosed:K}=r(3025),$=r(8994),X=Buffer.alloc(0),Z=Buffer[Symbol.species],ee=s.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),ei=Symbol("kSocketUsed"),en=Symbol("kTypeOfService"),es=null,ea=null,eo=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc($.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[O],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[_]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(o.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=o.setFastTimeout(eu,e,this.timeoutWeakRef):(this.timeout=setTimeout(eu,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(n(null!=this.ptr),n(null===ea),this.llhttp.llhttp_resume(this.ptr),n(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||X),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){n(null===ea),n(null!=this.ptr),n(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let i;try{eo=e,ea=this,i=r.llhttp_execute(this.ptr,el,e.length)}finally{ea=null,eo=null}if(i!==$.ERROR.OK){let n=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(i===$.ERROR.PAUSED_UPGRADE)this.onUpgrade(n);else if(i===$.ERROR.PAUSED)this.paused=!0,t.unshift(n);else throw this.createError(i,n)}}catch(e){s.destroy(t,e)}}finish(){let e;n(null===ea),n(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||X,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{ea=this,e=t.llhttp_finish(this.ptr)}finally{ea=null}return e===$.ERROR.OK?null:e===$.ERROR.PAUSED||e===$.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,X)}createError(e,t){let{llhttp:r,contentLength:i,bytesRead:n}=this;if(-1!==i&&n!==i)return new l;let s=r.llhttp_get_error_reason(this.ptr),a="";if(s){let e=new Uint8Array(r.memory.buffer,s).indexOf(0);a="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,s,e).toString()+")"}return new f(a,$.ERROR[e],t)}destroy(){n(null===ea),n(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&o.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[b])return s.destroy(e,new h("bad response",s.getSocketInfo(e))),-1;let r=t[x][t[M]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let i=s.bufferToLowerCasedHeaderName(r);"keep-alive"===i?this.keepAlive+=e.toString():"connection"===i&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===s.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===s.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&s.destroy(this.socket,new g)}onUpgrade(e){let{upgrade:t,client:r,socket:i,headers:a,statusCode:o}=this;n(t),n(r[T]===i),n(!i.destroyed),n(!this.paused),n((1&a.length)==0);let A=r[x][r[M]];n(A),n(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(e),i[B].destroy(),i[B]=null,i[E]=null,i[F]=null,ee(i),r[T]=null,r[j]=null,r[x][r[M]++]=null,r.emit("disconnect",r[y],[r],new p("upgrade"));try{A.onRequestUpgrade(o,a,i)}catch(e){s.destroy(i,e)}r[W]()}onHeadersComplete(e,t,r){let{client:i,socket:a,headers:o,statusText:A}=this;if(a.destroyed)return -1;if(0===i[b])return s.destroy(a,new h("bad response",s.getSocketInfo(a))),-1;let l=i[x][i[M]];if(!l)return -1;if(n(!this.upgrade),n(this.statusCode<200),100===e)return s.destroy(a,new h("bad response",s.getSocketInfo(a))),-1;if(t&&!l.upgrade)return s.destroy(a,new h("bad upgrade",s.getSocketInfo(a))),-1;if(n(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!a[I]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:i[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return n(1===i[b]),this.upgrade=!0,2;if(n((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[U]){let e=this.keepAlive?s.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-i[H],i[P]);t<=0?a[I]=!0:i[L]=t}else i[L]=i[R]}else a[I]=!0;let c=!1===l.onResponseStart(e,o,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(a[Q]&&(a[Q]=!1,i[W]()),c?$.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:i,maxResponseSize:a}=this;if(r.destroyed)return -1;let o=t[x][t[M]];return(n(o),n(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),n(i>=200),a>-1&&this.bytesRead+e.length>a)?(s.destroy(r,new C),-1):(this.bytesRead+=e.length,!1===o.onResponseData(e))?$.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:i,headers:a,contentLength:o,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(i)return 0;n(r>=100),n((1&this.headers.length)==0);let d=e[x][e[M]];return(n(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==o&&A!==o?(s.destroy(t,new l),-1):(d.onResponseEnd(a),e[x][e[M]++]=null,t[ei]=0===e[N],t[w])?(n(0===e[b]),s.destroy(t,new p("reset")),$.ERROR.PAUSED):c?t[I]&&0===e[b]?(s.destroy(t,new p("reset")),$.ERROR.PAUSED):(null==e[U]||1===e[U]?setImmediate(e[W]):e[W](),0):(s.destroy(t,new p("reset")),$.ERROR.PAUSED)}}function eu(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:i,client:a,paused:o}=t;3===i?(!r[w]||r.writableNeedDrain||a[b]>1)&&(n(!o,"cannot be paused while waiting for headers"),s.destroy(r,new u)):5===i?o||s.destroy(r,new m):8===i&&(n(0===a[b]&&a[L]),s.destroy(r,new p("socket idle timeout")))}function eg(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[B];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[F]=e,this[E][J](e));return}this[F]=e,this[E][J](e)}function eh(){this[B]?.readMore()}function ep(){let e=this[B];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&s.destroy(this,t);return}s.destroy(this,new h("other side closed",s.getSocketInfo(this)))}function em(){let e=this[B];eC(this),e&&(this[F]||!e.statusCode||e.shouldKeepAlive||(this[F]=e.finish()||this[F]),this[B].destroy(),this[B]=null);let t=this[F]||new h("closed",s.getSocketInfo(this)),r=this[E];if(r[T]=null,r[j]=null,r.destroyed){n(0===r[N]);let e=r[x].splice(r[M]);for(let i=0;i<e.length;i++){let n=e[i];s.errorRequest(r,n,t)}}else if(r[b]>0&&"UND_ERR_INFO"!==t.code){let e=r[x][r[M]];r[x][r[M]++]=null,s.errorRequest(r,e,t)}r[k]=r[M],n(0===r[b]),r.emit("disconnect",r[y],[r],t),r[W]()}function ef(){this[K]=!0}function eC(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function ey(e,t,r,i,a,o,A,l){try{t?s.isBuffer(t)&&(n(o===t.byteLength,"buffer body must have content length"),a.cork(),a.write(`${A}content-length: ${o}\r \r -`,"latin1"),o.write(t),o.uncork(),n.onBodySent(t),l||!1===n.reset||(o[E]=!0)):0===a?o.write(`${A}content-length: 0\r +`,"latin1"),a.write(t),a.uncork(),i.onBodySent(t),l||!1===i.reset||(a[I]=!0)):0===o?a.write(`${A}content-length: 0\r \r -`,"latin1"):(i(null===a,"no body must not have content length"),o.write(`${A}\r -`,"latin1")),n.onRequestSent(),r[W]()}catch(t){e(t)}}async function eE(e,t,r,n,i,s,o,a){try{if(null!=s&&s!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());i.cork(),i.write(`${o}content-length: ${s}\r +`,"latin1"):(n(null===o,"no body must not have content length"),a.write(`${A}\r +`,"latin1")),i.onRequestSent(),r[W]()}catch(t){e(t)}}async function eI(e,t,r,i,n,s,a,o){try{if(null!=s&&s!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());n.cork(),n.write(`${a}content-length: ${s}\r \r -`,"latin1"),i.write(e),i.uncork(),n.onBodySent(e),n.onRequestSent(),a||!1===n.reset||(i[E]=!0),r[W]()}catch(t){e(t)}}async function ey(e,t,r,n,s,o,a,A){i(0!==o||0===r[N],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{i(null===l),s[U]?t(s[U]):l=e});s.on("close",c).on("drain",c);let g=new eB({abort:e,socket:s,request:n,contentLength:o,client:r,expectsPayload:A,header:a});try{for await(let e of t){if(s[U])throw s[U];g.write(e)||await d()}g.end()}catch(e){g.destroy(e)}finally{s.off("close",c).off("drain",c)}}class eB{constructor({abort:e,socket:t,request:r,contentLength:n,client:i,expectsPayload:s,header:o}){this.socket=t,this.request=r,this.contentLength=n,this.client=i,this.bytesWritten=0,this.expectsPayload=s,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:n,client:i,bytesWritten:s,expectsPayload:o,header:a}=this;if(t[U])throw t[U];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==n&&s+l>n){if(i[z])throw new A;process.emitWarning(new A)}t.cork(),0===s&&(o||!1===r.reset||(t[E]=!0),null===n?t.write(`${a}transfer-encoding: chunked\r -`,"latin1"):t.write(`${a}content-length: ${n}\r +`,"latin1"),n.write(e),n.uncork(),i.onBodySent(e),i.onRequestSent(),o||!1===i.reset||(n[I]=!0),r[W]()}catch(t){e(t)}}async function eE(e,t,r,i,s,a,o,A){n(0!==a||0===r[b],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(null===l),s[F]?t(s[F]):l=e});s.on("close",c).on("drain",c);let u=new eB({abort:e,socket:s,request:i,contentLength:a,client:r,expectsPayload:A,header:o});try{for await(let e of t){if(s[F])throw s[F];u.write(e)||await d()}u.end()}catch(e){u.destroy(e)}finally{s.off("close",c).off("drain",c)}}class eB{constructor({abort:e,socket:t,request:r,contentLength:i,client:n,expectsPayload:s,header:a}){this.socket=t,this.request=r,this.contentLength=i,this.client=n,this.bytesWritten=0,this.expectsPayload=s,this.header=a,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:i,client:n,bytesWritten:s,expectsPayload:a,header:o}=this;if(t[F])throw t[F];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==i&&s+l>i){if(n[q])throw new A;process.emitWarning(new A)}t.cork(),0===s&&(a||!1===r.reset||(t[I]=!0),null===i?t.write(`${o}transfer-encoding: chunked\r +`,"latin1"):t.write(`${o}content-length: ${i}\r \r -`,"latin1")),null===n&&t.write(`\r +`,"latin1")),null===i&&t.write(`\r ${l.toString(16)}\r -`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[B].timeout&&3===t[B].timeoutType&&t[B].timeout.refresh&&t[B].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:n,expectsPayload:i,header:s,request:o}=this;if(o.onRequestSent(),e[w]=!1,e[U])throw e[U];if(!e.destroyed){if(0===n?i?e.write(`${s}content-length: 0\r +`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[B].timeout&&3===t[B].timeoutType&&t[B].timeout.refresh&&t[B].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:n,header:s,request:a}=this;if(a.onRequestSent(),e[w]=!1,e[F])throw e[F];if(!e.destroyed){if(0===i?n?e.write(`${s}content-length: 0\r \r `,"latin1"):e.write(`${s}\r -`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&n!==t)if(r[z])throw new A;else process.emitWarning(new A);e[B].timeout&&3===e[B].timeoutType&&e[B].timeout.refresh&&e[B].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:n}=this;t[w]=!1,e&&(i(r[N]<=1,"pipeline should only contain this request"),n(e))}}e.exports=function(e,t){if(e[T]=t,es||(es=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,n="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?n=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(n=!0),n)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{i(eo.ptr===e);let n=t-el+ea.byteOffset;return eo.onStatus(new $(ea.buffer,n,r))},wasm_on_message_begin:e=>(i(eo.ptr===e),eo.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{i(eo.ptr===e);let n=t-el+ea.byteOffset;return eo.onHeaderField(new $(ea.buffer,n,r))},wasm_on_header_value:(e,t,r)=>{i(eo.ptr===e);let n=t-el+ea.byteOffset;return eo.onHeaderValue(new $(ea.buffer,n,r))},wasm_on_headers_complete:(e,t,r,n)=>(i(eo.ptr===e),eo.onHeadersComplete(t,1===r,1===n)),wasm_on_body:(e,t,r)=>{i(eo.ptr===e);let n=t-el+ea.byteOffset;return eo.onBody(new $(ea.buffer,n,r))},wasm_on_message_complete:e=>(i(eo.ptr===e),eo.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[x]=!1,t[w]=!1,t[E]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[en]=!1,t[B]=new ed(e,t,es),s.addListener(t,"error",eu),s.addListener(t,"readable",eh),s.addListener(t,"end",em),s.addListener(t,"close",ep),t[K]=!1,t.on("close",eC),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var a,l,g,u,h,p,C,f;let I,y,B,b,S,D,{method:x,path:R,host:v,upgrade:M,blocking:U,reset:L}=t,{body:O,headers:H,contentLength:P}=t,Y="PUT"===x||"POST"===x||"PATCH"===x||"QUERY"===x||"PROPFIND"===x||"PROPPATCH"===x;if(s.isFormDataLike(O)){n||(n=r(4626).extractBody);let[e,i]=n(O);null==t.contentType&&H.push("content-type",i),O=e.stream,P=e.length}else if(s.isBlobLike(O)&&null==t.contentType){let r=O.type;if(r){let n=`${r}`;if(!s.isValidHeaderValue(n))return s.errorRequest(e,t,new d("invalid content-type header")),!1;H.push("content-type",n)}}O&&"function"==typeof O.read&&O.read(0);let G=s.bodyLength(O);if(null===(P=G??P)&&(P=t.contentLength),0!==P||Y||(P=null),"GET"!==x&&"HEAD"!==x&&"OPTIONS"!==x&&"TRACE"!==x&&"CONNECT"!==x&&P>0&&null!==t.contentLength&&t.contentLength!==P){if(e[z])return s.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let _=e[T];ef(_);let J=r=>{t.aborted||t.completed||(s.errorRequest(e,t,r||new c),s.destroy(O),s.destroy(_,new m("aborted")))};try{t.onRequestStart(J,null)}catch(r){s.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===x&&(_[E]=!0),(M||"CONNECT"===x)&&(_[E]=!0),null!=L&&(_[E]=L),e[q]&&++_[V]>=e[q]&&(_[E]=!0),U&&(_[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[ei]!==r)try{e.setTypeOfService(r),e[ei]=r}catch{}}(_,t);let W=`${x} ${R} HTTP/1.1\r -`;if("string"==typeof v?W+=`host: ${v}\r -`:W+=e[k],M?W+=`connection: upgrade\r +`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&i!==t)if(r[q])throw new A;else process.emitWarning(new A);e[B].timeout&&3===e[B].timeoutType&&e[B].timeout.refresh&&e[B].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(n(r[b]<=1,"pipeline should only contain this request"),i(e))}}e.exports=function(e,t){if(e[T]=t,es||(es=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,i="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?i=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(i=!0),i)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{n(ea.ptr===e);let i=t-el+eo.byteOffset;return ea.onStatus(new Z(eo.buffer,i,r))},wasm_on_message_begin:e=>(n(ea.ptr===e),ea.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{n(ea.ptr===e);let i=t-el+eo.byteOffset;return ea.onHeaderField(new Z(eo.buffer,i,r))},wasm_on_header_value:(e,t,r)=>{n(ea.ptr===e);let i=t-el+eo.byteOffset;return ea.onHeaderValue(new Z(eo.buffer,i,r))},wasm_on_headers_complete:(e,t,r,i)=>(n(ea.ptr===e),ea.onHeadersComplete(t,1===r,1===i)),wasm_on_body:(e,t,r)=>{n(ea.ptr===e);let i=t-el+eo.byteOffset;return ea.onBody(new Z(eo.buffer,i,r))},wasm_on_message_complete:e=>(n(ea.ptr===e),ea.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[D]=!1,t[w]=!1,t[I]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[ei]=!1,t[B]=new ed(e,t,es),s.addListener(t,"error",eg),s.addListener(t,"readable",eh),s.addListener(t,"end",ep),s.addListener(t,"close",em),t[K]=!1,t.on("close",ef),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var o,l,u,g,h,m,f,C;let y,E,B,N,S,x,{method:D,path:R,host:k,upgrade:M,blocking:F,reset:L}=t,{body:O,headers:P,contentLength:H}=t,Y="PUT"===D||"POST"===D||"PATCH"===D||"QUERY"===D||"PROPFIND"===D||"PROPPATCH"===D;if(s.isFormDataLike(O)){i||(i=r(4626).extractBody);let[e,n]=i(O);null==t.contentType&&P.push("content-type",n),O=e.stream,H=e.length}else if(s.isBlobLike(O)&&null==t.contentType){let r=O.type;if(r){let i=`${r}`;if(!s.isValidHeaderValue(i))return s.errorRequest(e,t,new d("invalid content-type header")),!1;P.push("content-type",i)}}O&&"function"==typeof O.read&&O.read(0);let G=s.bodyLength(O);if(null===(H=G??H)&&(H=t.contentLength),0!==H||Y||(H=null),"GET"!==D&&"HEAD"!==D&&"OPTIONS"!==D&&"TRACE"!==D&&"CONNECT"!==D&&H>0&&null!==t.contentLength&&t.contentLength!==H){if(e[q])return s.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let _=e[T];eC(_);let J=r=>{t.aborted||t.completed||(s.errorRequest(e,t,r||new c),s.destroy(O),s.destroy(_,new p("aborted")))};try{t.onRequestStart(J,null)}catch(r){s.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===D&&(_[I]=!0),(M||"CONNECT"===D)&&(_[I]=!0),null!=L&&(_[I]=L),e[z]&&++_[V]>=e[z]&&(_[I]=!0),F&&(_[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[en]!==r)try{e.setTypeOfService(r),e[en]=r}catch{}}(_,t);let W=`${D} ${R} HTTP/1.1\r +`;if("string"==typeof k?W+=`host: ${k}\r +`:W+=e[v],M?W+=`connection: upgrade\r upgrade: ${M}\r -`:e[F]&&!_[E]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(H))for(let e=0;e<H.length;e+=2){let t=H[e+0],r=H[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r +`:e[U]&&!_[I]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(P))for(let e=0;e<P.length;e+=2){let t=P[e+0],r=P[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r `;else W+=`${t}: ${r}\r -`}return o.sendHeaders.hasSubscribers&&o.sendHeaders.publish({request:t,headers:W,socket:_}),O&&0!==G?s.isBuffer(O)?eI(J,O,e,t,_,P,W,Y):s.isBlobLike(O)?"function"==typeof O.stream?ey(J,O.stream(),e,t,_,P,W,Y):eE(J,O,e,t,_,P,W,Y):s.isStream(O)?(a=J,l=O,g=e,u=t,h=_,p=P,C=W,f=Y,i(0!==p||0===g[N],"stream body cannot be pipelined"),I=!1,y=new eB({abort:a,socket:h,request:u,contentLength:p,client:g,expectsPayload:f,header:C}),B=function(e){if(!I)try{!y.write(e)&&this.pause&&this.pause()}catch(e){s.destroy(this,e)}},b=function(){!I&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",D)}),!I){let e=new c;queueMicrotask(()=>D(e))}},D=function(e){if(!I){if(I=!0,i(h.destroyed||h[w]&&g[N]<=1),h.off("drain",b).off("error",D),l.removeListener("data",B).removeListener("end",D).removeListener("close",S),!e)try{y.end()}catch(t){e=t}y.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?s.destroy(l,e):s.destroy(l)}},l.on("data",B).on("end",D).on("error",D).on("close",S),l.resume&&l.resume(),h.on("drain",b).on("error",D),l.errorEmitted??l.errored?setImmediate(D,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(D,null),(l.closeEmitted??l.closed)&&setImmediate(S)):s.isIterable(O)?ey(J,O,e,t,_,P,W,Y):i(!1):eI(J,null,e,t,_,P,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[x]&&t.unref&&(t.unref(),t[x]=!0):t[x]&&t.ref&&(t.ref(),t[x]=!1),0===e[N]&&e[b]>0&&t[en]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[B].readMore(),t.destroyed;return}if(1===t[et]){t[B].readMore(),t.destroyed;return}}if(0===e[N]&&(t[B].readMore(),t.destroyed))return;if(0===e[S])8!==t[B].timeoutType&&t[B].setTimeout(e[L],8);else if(e[N]>0&&t[B].statusCode<200&&3!==t[B].timeoutType){let r=e[D][e[M]],n=null!=r.headersTimeout?r.headersTimeout:e[Y];t[B].setTimeout(n,3)}}}(e)},destroy(e,r){t[K]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[E]||t[Q]||1===t[et]||r&&(e[N]>0&&!r.idempotent||e[N]>0&&(r.upgrade||"CONNECT"===r.method)||e[N]>0&&0!==s.bodyLength(r.body)&&(s.isStream(r.body)||s.isAsyncIterable(r.body)||s.isFormDataLike(r.body))))||!1}}},942(e,t,r){let n,i,s=r(4589),{pipeline:o}=r(7075),a=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:g,HeadersTimeoutError:u,BodyTimeoutError:h}=r(8065),{kUrl:m,kReset:p,kClient:C,kRunning:f,kPending:I,kQueue:E,kPendingIdx:y,kRunningIdx:B,kError:Q,kSocket:N,kStrictContentLength:b,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:D,kHTTP2Session:x,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:k,kHostAuthority:v,kResume:M,kSize:U,kHTTPContext:F,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:O,kBodyTimeout:H,kEnableConnectProtocol:P,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:z}=r(3025),{channels:q}=r(6708),V=Symbol("open streams"),_=Symbol("request stream id"),J=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),K=Symbol("received goaway");try{i=r(2467)}catch{i={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:X,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:$,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:en,HTTP2_HEADER_PROTOCOL:ei,NGHTTP2_NO_ERROR:es,NGHTTP2_REFUSED_STREAM:eo}}=i;function ea(e){e[_]=null,e[J]=null,e[W]=null}function eA(e,t,r){let n=e[W],i=e[J];ea(e),n?.(i),e[_]=t.id,e[J]=t,e[W]=r}function el(e){let t=e[W],r=e[J];ea(e),t?.(r)}function ec(e){let t=e[z];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[z];!0===t.refed&&(t.refed=!1,e.unref())}function eg(e){let t=e[z];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eu(e){let t=e[C];if(t[x]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[U])return void eg(e);let r=e[z];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[C],r=e[N];if(e[z].idleTimeout=null,t[x]!==e||0!==e[V]||0!==t[U]||e.closed||e.destroyed)return;let n=new d("socket idle timeout");r[Q]=n,a.destroy(r,n)}function em(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function ep(e){if(this[C][w]=e.maxConcurrentStreams??this[C][w],!0===this[Y]&&!0===this[P]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[N][Q]=e,this[C][S](e);return}this[P]=e.enableConnectProtocol??this[P],this[Y]=!0,this[C][M]()}function eC(e){let t=e[z];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[C],n=this[N];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);n[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function ef(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[N][Q]=e,this[K]||this[C][S](e)}function eI(e,t,r){if(0===r){if(this[K])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[N][Q]=r,this[C][S](r)}}function eE(e,t){if(this[K])return;this[K]=!0;let r=this[Q]||(e===es?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this[N]))),n=this[C],i=n[y],s=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[B];t<e[y];t++){let n=e[E][t];if(null!=n&&("number"!=typeof n[_]||n[_]>r))return t}return e[y]}(n,t),o=[],A=[];for(let e=s;e<i;e++){let t=n[E][e];null!=t&&(A.push(function(e){let t=e[J];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||a.isBuffer(t)||a.isBlobLike(t)}(t)?o.push(t):a.errorRequest(n,t,r))}for(let e=0;e<A.length;e++)!function(e,t=eo){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(s!==i){let e=n[E].slice(i);n[E].length=s,n[E].push(...o,...e)}n[x]===this&&(n[N]=null,n[F]=null,n[x]=null),eg(this),this.closed||this.destroyed||this.close(),n[y]=s,n.emit("disconnect",n[m],[n],r),n[M]()}function ey(){let{[C]:e,[z]:t,[N]:r}=this,n=r[Q]||this[Q]||new c("closed",a.getSocketInfo(r));if(e[x]===this&&(e[N]=null,e[F]=null,e[x]=null),eg(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){s(0===e[I]);let t=e[E].splice(e[B]);for(let r=0;r<t.length;r++){let i=t[r];null!=i&&a.errorRequest(e,i,n)}}}function eB(){let e=this[Q]||new c("closed",a.getSocketInfo(this)),t=this[x],r=t[C];r[N]!==this&&(t[K]||null!=r[x]&&r[x]!==t)||(r[N]=null,r[F]=null,r[x]===t&&(r[x]=null),t.destroy(e),r[y]=r[B],s(0===r[f]),r.emit("disconnect",r[m],[r],e),r[M]())}function eQ(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[x]?.[K]||this[x]?.[C]?.[S](e)}function eN(){a.destroy(this,new c("other side closed",a.getSocketInfo(this)))}function eb(){this[T]=!0}function eS(){}function ew(e){let t=e[x];e[x]=null,t[V]-=1,0===t[V]&&(ed(t),eu(t))}function eD(){this.off("error",eS);let e=this[j];this[j]=null,ev(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function ex(){let e=this[j];null!=e&&(eP(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eO(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",eM),e.off("end",eU),e.off("timeout",eF),e.off("error",eS)}function ek(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[J]===e&&ea(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ev(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(ek(e.stream),e.abort(t,!0))}function eM(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ev(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ev(e,new d("HTTP/2: stream errored before response headers"))}function eU(){ev(this[j],new d("HTTP/2: stream half-closed (remote)"))}function eF(){let e=this[j];ev(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:n}=r;r.responseReceived=!0;let i=e[en];delete e[en],n.onRequestUpgrade(i,e,this),n.aborted||n.completed||(eR(this),ea(n),eO(r))}function eL(e,t){let{request:r,headersTimeout:n,session:i}=t;e[G]=!0,e[x]=i,e[j]=t,t.stream=e,eA(r,e,ek),e.once("response",eT),e.on("error",eM),e.once("end",eU),e.on("timeout",eF),e.once("close",eD),eg(i),++i[V],e.setTimeout(n)}function eO(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let n=e[E],i=e[B];if(i<e[y]&&n[i]===t){n[i]=null,e[B]=i+1;return}let s=n.indexOf(t,i);-1!==s&&!(s>=e[y])&&(n.splice(s,1),e[y]--,r&&e[y]<e[B]&&(e[y]=e[B]))}(e.client,e.request,t),e.client[M]())}function eH(e,t,r,n,i,s){try{return r.request(i,s)}catch(s){if(s?.code==="ERR_HTTP2_INVALID_SESSION"||s?.code==="ERR_HTTP2_GOAWAY_SESSION"){let n=new c(s.message,a.getSocketInfo(r[N]));n.cause=s,r[Q]=n;let i=r[C],o=r[N];if(i[x]===r&&(i[N]=null,i[F]=null,i[x]=null),null!=o&&null==o[Q]&&(o[Q]=n),!r.closed&&!r.destroyed)try{r.destroy(n)}catch{}return a.destroy(o,n),e[E].splice(e[y]+1,0,t),null}let i=new d(s.message,{cause:s});return r[Q]=i,r[N][Q]=i,r.destroy(i),a.destroy(r[N],i),n(i),null}}function eP(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[J]===e&&ea(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",ez),e.off("error",eq),e.off("frameError",eV),e.off("aborted",e_),e.off("timeout",eJ),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let n=e[en];(delete e[en],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eP(this):(!1===r.onResponseStart(Number(n),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function ez(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",ez),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,ex.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function eq(e){let t=this[j];null!=t&&(this.off("error",eq),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function e_(){this.off("data",eY)}function eJ(){let e=this[j];if(null==e)return;this.off("timeout",eJ);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new u(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,n,i,A,l;let c,d=this[j];d.bodySent=!0;let{abort:g,body:u,client:h,contentLength:m,expectsPayload:C,request:I}=d;u&&0!==m?a.isBuffer(u)?eK(g,this,u,h,I,h[N],m,C):a.isBlobLike(u)?"function"==typeof u.stream?eZ(g,this,u.stream(),h,I,h[N],m,C):eX(g,this,u,h,I,h[N],m,C):a.isStream(u)?(e=g,t=h[N],r=C,n=this,i=u,A=h,l=I,s(0!==m||0===A[f],"stream body cannot be pipelined"),c=o(i,n,n=>{n?(a.destroy(c,n),e(n)):(a.removeAllListeners(c),l.onRequestSent(),r||(t[p]=!0),A[M]())}),a.addListener(c,"data",function(e){l.onBodySent(e)})):a.isIterable(u)?eZ(g,this,u,h,I,h[N],m,C):s(!1):eK(g,this,null,h,I,h[N],m,C)}function eK(e,t,r,n,i,o,A,l){try{null!=r&&a.isBuffer(r)&&(s(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),i.onBodySent(r)),l||(o[p]=!0),i.onRequestSent(),n[M]()}catch(t){e(t)}}async function eX(e,t,r,n,i,s,o,a){try{if(null!=o&&o!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),i.onBodySent(e),i.onRequestSent(),a||(s[p]=!0),n[M]()}catch(t){e(t)}}async function eZ(e,t,r,n,i,o,a,A){s(0!==a||0===n[f],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),o[Q]?t(o[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(o[Q])throw o[Q];let r=t.write(e);i.onBodySent(e),r||await d()}t.end(),i.onRequestSent(),A||(o[p]=!0),n[M]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[N]=t;let o=e[R],c=e[k],u=i.connect(e[m],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=o?{initialWindowSize:o}:null}});return e[N]=t,u[V]=0,u[C]=e,u[N]=t,u[z]={idleTimeout:null,refed:!0,ping:{interval:0===e[D]?null:setInterval(eC,e[D],u).unref()}},u[K]=!1,u[P]=!1,u[Y]=!1,c&&a.addListener(u,"connect",em.bind(u,c)),a.addListener(u,"error",ef),a.addListener(u,"frameError",eI),a.addListener(u,"goaway",eE),a.addListener(u,"close",ey),a.addListener(u,"remoteSettings",ep),ed(u),e[x]=u,t[x]=u,a.addListener(t,"error",eQ),a.addListener(t,"end",eN),a.addListener(t,"close",eB),t[T]=!1,t.on("close",eb),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let i=t.headersTimeout??e[O],o=t.bodyTimeout??e[H],c=e[x],{method:u,path:h,host:m,upgrade:p,expectContinue:C,signal:f,protocol:I,headers:E}=t;if(null!=p&&"websocket"!==p)return a.errorRequest(e,t,new g(`Custom upgrade "${p}" not supported over HTTP/2`)),!1;let y=function(e){let t={};for(let r=0;r<e.length;r+=2){let n=e[r+0],i=e[r+1],s=t[n];if("cookie"===n){null!=s?t[n]=Array.isArray(s)?(s.push(i),s):[s,i]:t[n]=i;continue}if("string"==typeof i){t[n]=s?`${s}, ${i}`:i;continue}for(let e=0;e<i.length;e++)t[n]=t[n]?`${t[n]}, ${i[e]}`:i[e]}return t}(E);y[X]=m||e[v],y[Z]=u;let B={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:i,bodyTimeout:o,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,n=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,a.errorRequest(e,t,r),null!=B.stream){el(t);let i=B.stream;i.close(),i.destroyed||a.destroy(i),e[S](r),eO(B,n)}a.destroy(B.body,r)}};B.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){a.errorRequest(e,t,r)}if(t.aborted)return!1;if(p||"CONNECT"===u)return(ec(c),"websocket"===p)?!1===c[P]?(a.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(y[Z]="CONNECT",y[ei]="websocket",y[$]=h,"ws:"===I||"wss:"===I?y[ee]="ws:"===I?"http":"https":y[ee]="http:"===I?"http":"https",null==(w=eH(e,t,c,Q,y,{endStream:!1,signal:f})))?(ed(c),!1):(eL(w,B),!0):null==(w=eH(e,t,c,Q,y,{endStream:!1,signal:f}))?(ed(c),!1):(eL(w,B),!0);y[$]=h,y[ee]="http:"===I?"http":"https";let D="PUT"===u||"POST"===u||"PATCH"===u||"QUERY"===u||"PROPFIND"===u||"PROPPATCH"===u,R=B.body;R&&"function"==typeof R.read&&R.read(0);let k=a.bodyLength(R);if(a.isFormDataLike(R)){let[e,t]=(n??=r(4626).extractBody)(R);y["content-type"]=t,R=e.stream,k=e.length}if(null==k&&(k=t.contentLength),0!==k||D||(k=null),"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"TRACE"!==u&&"CONNECT"!==u&&k>0&&null!=t.contentLength&&t.contentLength!==k){if(e[b])return a.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=k&&(s(R||0===k,"no body must not have content length"),y[et]=`${k}`),ec(c),q.sendHeaders.hasSubscribers){let e="";for(let t in y)e+=`${t}: ${y[t]}\r -`;q.sendHeaders.publish({request:t,headers:e,socket:c[N]})}let M=null===R||0===k;return B.body=R,B.contentLength=k,B.expectsPayload=D,C&&(y[er]="100-continue"),null!=(w=eH(e,t,c,Q,y,{endStream:M,signal:f}))&&(w[G]=!0,w[j]=B,B.stream=w,eg(c),++c[V],i&&w.setTimeout(i),w[x]=c,w.on("close",ex),eA(t,w,eP),C&&w.once("continue",ej),w.on("response",eG),w.on("end",ez),w.on("error",eq),w.on("frameError",eV),w.on("aborted",e_),(i||o)&&w.on("timeout",eJ),w.on("trailers",eW),C||ej.call(w),!0)})(e,t),resume(){var t;let r,n;r=(t=e)[N],n=t[x],r?.destroyed===!1&&(0===t[U]||0===t[w]?ed(n):ec(n),0===t[U]&&0===n[V]?eu(n):eg(n))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===u[Y]&&e[f]>0||e[f]>=e[w])return!0;if(null!=t){if(!(e[f]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y])return!0}return!1}}}},5183(e,t,r){let n=r(4589),i=r(7030),s=r(7067),o=r(1210),{ClientStats:a}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:g,ClientDestroyedError:u}=r(8065),h=r(5010),{kUrl:m,kServerName:p,kClient:C,kBusy:f,kConnect:I,kResuming:E,kRunning:y,kPending:B,kSize:Q,kQueue:N,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:x,kPendingIdx:R,kRunningIdx:k,kError:v,kPipelining:M,kKeepAliveTimeoutValue:U,kMaxHeadersSize:F,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:O,kBodyTimeout:H,kStrictContentLength:P,kConnector:Y,kMaxRequests:G,kCounter:z,kClose:q,kDestroy:V,kDispatch:_,kLocalAddress:J,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:X,kHostAuthority:Z,kHTTP2InitialWindowSize:$,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),en=r(8043),ei=r(942),es=Symbol("kClosedResolve"),eo=s&&s.maxHeaderSize&&Number.isInteger(s.maxHeaderSize)&&s.maxHeaderSize>0?()=>s.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},ea=()=>{};function eA(e){return e[K]?.version==="h2"?e[X]:e[M]??e[K]?.defaultPipelining??1}function el(e,t){if(0===e[y]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){n(e[R]===e[k]);let r=e[N].splice(e[k]);for(let n=0;n<r.length;n++){let i=r[n];null!=i&&o.errorRequest(e,i,t)}n(0===e[Q])}}function ec(e){n(!e[S]),n(!e[K]);let{host:t,hostname:r,protocol:s,port:a}=e[m];if("["===r[0]){let e=r.indexOf("]");n(-1!==e);let t=r.substring(1,e);n(i.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:s,port:a,servername:e[p],localAddress:e[J]},(i,l)=>{if(i){ed(e,i,{host:t,hostname:r,protocol:s,port:a}),e[et]();return}if(e.destroyed){o.destroy(l.on("error",ea),new u),e[et]();return}n(l);try{e[K]="h2"===l.alpnProtocol?ei(e,l):en(e,l)}catch(n){l.destroy().on("error",ea),ed(e,n,{host:t,hostname:r,protocol:s,port:a}),e[et]();return}e[S]=!1,l[z]=0,l[G]=e[G],l[C]=e,l[v]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],socket:l}),e.emit("connect",e[m],[e]),e[et]()})}catch(n){ed(e,n,{host:t,hostname:r,protocol:s,port:a}),e[et]()}}function ed(e,t,{host:r,hostname:n,protocol:i,port:s}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:n,protocol:i,port:s,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[N].splice(e[k],e[y]);e[R]=e[k];for(let n=0;n<r.length;n++)o.errorRequest(e,r[n],t);for(;e[B]>0&&e[N][e[R]].servername===e[p];){let r=e[N].splice(e[R],1)[0];o.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[m],[e],t)}}function eg(e){e[w]=0,e.emit("drain",e[m],[e])}function eu(e,t){2!==e[E]&&(e[E]=2,function(e,t){for(;;){if(e.destroyed)return void n(0===e[B]);if(e[es]&&!e[Q]){e[es](),e[es]=null;return}if(e[K]&&e[K].resume(),e[f])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eg(e))):eg(e);continue}if(0===e[B]||e[y]>=(eA(e)||1))return;let r=e[N][e[R]];if(null===r)return;if("https:"===e[m].protocol&&e[p]!==r.servername){if(e[y]>0)return;e[p]=r.servername,e[K]?.destroy(new g("servername changed"),()=>{e[K]=null,eu(e)})}if(e[S])return;if(!e[K])return void ec(e);if(e[K].destroyed||e[K].busy(r))return;!r.aborted&&e[K].write(r)?e[R]++:e[N].splice(e[R],1)}}(e,t),e[E]=0,e[k]>256&&(e[N].splice(0,e[k]),e[R]-=e[k],e[k]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:n,requestTimeout:s,connectTimeout:a,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:u,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:f,socketPath:I,pipelining:y,tls:B,strictContentLength:Q,maxCachedSessions:b,connect:S,maxRequestsPerClient:v,localAddress:z,maxResponseSize:q,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_,maxConcurrentStreams:en,allowH2:ei,useH2c:ea,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eg}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==n)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==s)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==u)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=eo();if(null!=I&&"string"!=typeof I)throw new d("invalid socketPath");if(null!=a&&(!Number.isFinite(a)||a<0))throw new d("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new d("invalid keepAliveTimeout");if(null!=C&&(!Number.isFinite(C)||C<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=f&&!Number.isFinite(f))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=v&&(!Number.isInteger(v)||v<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=z&&("string"!=typeof z||0===i.isIP(z)))throw new d("localAddress must be valid string IP address");if(null!=q&&(!Number.isInteger(q)||q<-1))throw new d("maxResponseSize must be a positive number");if(null!=_&&(!Number.isInteger(_)||_<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=ei&&"boolean"!=typeof ei)throw new d("allowH2 must be a valid boolean value");if(null!=en&&("number"!=typeof en||en<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=ea&&"boolean"!=typeof ea)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eg}),"function"!=typeof S)S=h({...B,maxCachedSessions:b,allowH2:ei,useH2c:ea,socketPath:I,timeout:a,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=I?{socketPath:I}:null,...null!=ei?{allowH2:ei}:null},r)}this[m]=o.parseOrigin(e),this[Z]=`${this[m].hostname}${this[m].port?`:${this[m].port}`:""}`,this[Y]=S,this[M]=null!=y?y:1,this[F]=t,this[D]=null==g?4e3:g,this[T]=null==C?6e5:C,this[L]=null==f?2e3:f,this[U]=this[D],this[p]=null,this[J]=null!=z?z:null,this[E]=0,this[w]=0,this[x]=`host: ${this[Z]}\r -`,this[H]=null!=A?A:3e5,this[O]=null!=r?r:3e5,this[P]=null==Q||Q,this[G]=v,this[es]=null,this[W]=q>-1?q:-1,this[K]=null,this[X]=null!=en?en:100,this[$]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[N]=[],this[k]=0,this[R]=0,this[et]=e=>eu(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[M]}set pipelining(e){this[M]=e,this[et](!0)}get stats(){return new a(this)}get[B](){return this[N].length-this[R]}get[y](){return this[R]-this[k]}get[Q](){return this[N].length-this[k]}get[b](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[f](){let e=this[K]?.version==="h2";return!!(this[K]?.busy(null)||this[Q]>=(eA(this)||1)||this[B]>0&&!e)}[I](e){ec(this),this.once("connect",e)}[_](e,t){let r=new l(this[m].origin,e,t);return this[N].push(r),this[E]||(null==o.bodyLength(r.body)&&o.isIterable(r.body)?(this[E]=1,queueMicrotask(()=>eu(this))):this[et](!0)),this[E]&&2!==this[w]&&this[f]&&(this[w]=2),this[w]<2}[q](){return new Promise(e=>{this[Q]?this[es]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[N].splice(this[R]);for(let t=0;t<r.length;t++){let n=r[t];null!=n&&o.errorRequest(this,n,e)}let n=()=>{this[es]&&(this[es](),this[es]=null),t(null)};this[K]?(this[K].destroy(e,n),this[K]=null):queueMicrotask(n),this[et]()})}}},9779(e,t,r){let n=r(6873),{ClientDestroyedError:i,ClientClosedError:s,InvalidArgumentError:o}=r(8065),{kDestroy:a,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),g=Symbol("onDestroyed"),u=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends n{[c]=!1;[g]=null;[l]=!1;[u]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,n)=>r?t(r):e(n))});if("function"!=typeof e)throw new o("invalid callback");if(this[c]){let t=new i;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[u]?this[u].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[u]??=[],this[u].push(e);let t=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,n)=>e?r(e):t(n))});if("function"!=typeof t)throw new o("invalid callback");if(this[c])return void(this[g]?this[g].push(t):queueMicrotask(()=>t(null,null)));e||(e=new i),this[c]=!0,this[g]??=[],this[g].push(t);let r=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[a](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new o("handler must be an object");try{if(!e||"object"!=typeof e)throw new o("opts must be an object.");if(e.dispatcher)throw new o("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[g])throw new i;if(this[l])throw new s;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let n=r(8474);e.exports=class extends n{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let n=r(6873),{InvalidArgumentError:i}=r(8065),{toRawHeaders:s}=r(1210);class o{#B;constructor(e){this.#B=e}onRequestStart(e,t){this.#B.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,n){let i=e?.rawHeaders??s(r??{});this.#B.onUpgrade?.(t,i,n)}onResponseStart(e,t,r,n){let i=e?.rawHeaders??s(r??{});this.#B.onHeaders?.(t,i,()=>e.resume(),n)===!1&&e.pause()}onResponseData(e,t){this.#B.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??s(t??{});this.#B.onComplete?.(r)}onResponseError(e,t){if(!this.#B.onError)throw t;this.#B.onError(t)}onBodySent(e){this.#B.onBodySent?.(e)}onRequestSent(){this.#B.onRequestSent?.()}onResponseStarted(){this.#B.onResponseStarted?.()}}e.exports=class e extends n{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new i("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new i("handler must be an object");return"function"==typeof e.onRequestStart?e:new o(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let n=r(9779),{kClose:i,kDestroy:s,kClosed:o,kDestroyed:a,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),g=r(3614),u=r(5891),h={"http:":80,"https:":443};e.exports=class extends n{#N=null;#b=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:n,...i}=e;this[l]=new u(i);let s=t??process.env.http_proxy??process.env.HTTP_PROXY;s?this[c]=new g({...i,uri:s}):this[c]=this[l];let o=r??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[d]=new g({...i,uri:o}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#D(r).dispatch(e,t)}[i](){return Promise.all([this[l].close(),!this[c][o]&&this[c].close(),!this[d][o]&&this[d].close()])}[s](e){return Promise.all([this[l].destroy(e),!this[c][a]&&this[c].destroy(e),!this[d][a]&&this[d].destroy(e)])}#D(e){let{protocol:t,host:r,port:n}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),n=Number.parseInt(n,10)||h[t]||0,this.#x(r,n))?"https:"===t?this[d]:this[c]:this[l]}#x(e,t){if(this.#R&&this.#w(),0===this.#b.length)return!0;if("*"===this.#N)return!1;for(let r=0;r<this.#b.length;r++){let n=this.#b[r];if((!n.port||n.port===t)&&(e===n.hostname||e.slice(-(n.hostname.length+1))===`.${n.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#k,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let n=t[e];if(!n)continue;let i=n.match(/^(.+):(\d+)$/);r.push({hostname:(i?i[1]:n).replace(/^\*?\./,"").toLowerCase(),port:i?Number.parseInt(i[2],10):0})}this.#N=e,this.#b=r}get #R(){return void 0===this.#S.noProxy&&this.#N!==this.#k}get #k(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:n}=r(8065),i=r(5183);e.exports=class extends i{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new n("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:i,...s}=t??{},o=r??100,a=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new n("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=i&&Number.isInteger(i)&&i>0&&(a=i),a>o)throw new n("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...s,maxConcurrentStreams:o,pipelining:a,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:n}=r(256),i=r(9779),s=r(9006),{kConnected:o,kSize:a,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:g,kUrl:u,kClose:h,kDestroy:m,kDispatch:p}=r(3025),C=Symbol("clients"),f=Symbol("needDrain"),I=Symbol("queue"),E=Symbol("closed resolve"),y=Symbol("onDrain"),B=Symbol("onConnect"),Q=Symbol("onDisconnect"),N=Symbol("onConnectionError"),b=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),D=Symbol("remove client");class x extends i{[I]=new s;[c]=0;[C]=[];[f]=!1;[y](e,t,r){let n=this[I],i=!1;for(;!i;){let t=n.shift();if(!t)break;this[c]--,i=!e.dispatch(t.opts,t.handler)}if(e[f]=i,!i&&this[f]&&(this[f]=!1,this.emit("drain",t,[this,...r])),this[E]&&n.isEmpty()){let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[E])}}[B]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[N]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[f]}get[o](){let e=0;for(let{[o]:t}of this[C])e+=t;return e}get[g](){let e=0;for(let{[o]:t,[f]:r}of this[C])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[C])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[C])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[C])e+=t;return e}get stats(){return new n(this)}[h](){if(!this[I].isEmpty())return new Promise(e=>{this[E]=e});{let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[m](e){for(;;){let t=this[I].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[C].length);for(let r=0;r<this[C].length;r++)t[r]=this[C][r].destroy(e);return Promise.all(t)}[p](e,t){let r=this[b]();return r?r.dispatch(e,t)||(r[f]=!0,this[f]=!this[S]()):(this[f]=!0,this[I].push({opts:e,handler:t}),this[c]++),!this[f]}[S](){for(let e=0;e<this[C].length;e++){let t=this[C][e];if(!t[f]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[y].bind(this,e)).on("connect",this[B]).on("disconnect",this[Q]).on("connectionError",this[N]),this[C].push(e),this[f]&&queueMicrotask(()=>{this[f]&&this[y](e,e[u],[e,this])}),this}[D](e){let t=this[C].indexOf(e);-1!==t&&this[C].splice(t,1),e.close(()=>{}),this[f]=!this[C].some(e=>!e[f]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:x,kClients:C,kNeedDrain:f,kAddClient:w,kRemoveClient:D,kGetDispatcher:b,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:n,kClients:i,kNeedDrain:s,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory");function f(e,t){return new c(e,t)}e.exports=class extends n{constructor(e,{connections:t,factory:r=f,connect:n,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:I,useH2c:E,clientTtl:y,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=n&&"function"!=typeof n&&"object"!=typeof n)throw new d("connect must be a function or an object");"function"!=typeof n&&(n=h({...o,maxCachedSessions:a,allowH2:I,useH2c:E,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...n})),super(B),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(B),connect:n,allowH2:I,useH2c:E,clientTtl:y,socketPath:A},this[C]=r,this.on("connect",(e,t)=>{if(null!=y&&y>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[i].indexOf(e);-1!==t&&this[i].splice(t,1)}})}[a](){let e=this[m].clientTtl;for(let t=0;t<this[i].length;t++){let r=this[i][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return r}if(!this[p]||this[i].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[i].length;t++){let r=this[i][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return!0}if(!this[p]||this[i].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},3614(e,t,r){let{kProxy:n,kClose:i,kDestroy:s,kDispatch:o}=r(3025),a=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:g,ProxyConnectionError:u}=r(8065),h=r(5010),m=r(5183),{channels:p}=r(6708),C=r(9741),f=Symbol("proxy agent"),I=Symbol("proxy client"),E=Symbol("proxy headers"),y=Symbol("request tls settings"),B=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),N=Symbol("connect endpoint function (http/1.1 only)"),b=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let D=()=>{};function x(e,t){return 1===t.connections?new m(e,t):new A(e,t)}class R extends l{#v;#M;constructor(e,{headers:t={},connect:r,factory:n,proxyServername:i}){if(!e)throw new c("Proxy URL is mandatory");super(),this[E]=t,this.#M=i,n?this.#v=n(e,{connect:r}):this.#v=new m(e,{connect:r})}[o](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,n,i,s){if(407===n){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,n,i,s)};let{origin:n,path:i="/",headers:s={}}=e;if(e.path=n+i,!("host"in s)&&!("Host"in s)){let{host:e}=new URL(n);s.host=e}return e.headers={...this[E],...s},null!=this.#M&&(e.servername=this.#M),this.#v[o](e,t)}[i](){return this.#v.close()}[s](e){return this.#v.destroy(e)}}function k(e){return e.length===S.length&&e.toLowerCase()===S}function v(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:i}=e;super();let s=this.#U(e),{href:o,origin:A,port:l,protocol:m,username:S,password:k,hostname:v}=s;if(this[n]={uri:o,protocol:m},this[y]=e.requestTls,this[B]=e.proxyTls,this[E]=e.headers||{},this[b]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[E]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[E]["proxy-authorization"]=e.token:S&&k?this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(k)}`).toString("base64")}`:S&&(this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let M=h({timeout:i,...e.proxyTls}),U=h({timeout:i,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:i,...e.requestTls}),this[N]=h({timeout:i,...e.requestTls,allowH2:!1});let F=e.factory||x,T=(t,r)=>{let{protocol:i}=new URL(t);if("socks5:"===this[n].protocol||"socks:"===this[n].protocol)return new C(this[n].uri,{headers:this[E],connect:M,factory:F,username:e.username||S,password:e.password||k,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[b]&&"http:"===i){let e="https:"===this[n].protocol?(e,t)=>U(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new g(e)):t(e,r)}):U;return new R(this[n].uri,{headers:this[E],connect:e,factory:F,proxyServername:"https:"===this[n].protocol?this[B]?.servername||v:void 0})}return F(t,r)};"socks5:"===m||"socks:"===m?this[I]=null:this[I]=t(s,{connect:M}),this[f]=new a({...e,factory:T,connect:async(e,t)=>{if(!this[I])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let n,i={origin:A,port:l,path:r,signal:e.signal,headers:{...this[E],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[B]?.servername||v},{socket:s,statusCode:o}=await this[I].connect(i);if(200!==o){s.on("error",D).destroy(),t(new d(`Proxy response (${o}) !== 200 when HTTP Tunneling`));return}if(p.proxyConnected.hasSubscribers&&p.proxyConnected.publish({socket:s,connectParams:i}),"https:"!==e.protocol)return void t(null,s);n=this[y]?this[y].servername:e.servername,(!1===e.allowH2?this[N]:this[Q])({...e,servername:n,httpSocket:s},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new g(e):"UND_ERR_SOCKET"===e.code?new u(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)k(e[r])&&v(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)k(t)&&v()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[f].dispatch({...e,headers:r},t)}#U(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[i](){let e=[this[f].close()];return this[I]&&e.push(this[I].close()),Promise.all(e)}[s](){let e=[this[f].destroy()];return this[I]&&e.push(this[I].destroy()),Promise.all(e)}}},8392(e,t,r){let n=r(6873),i=r(4166);e.exports=class extends n{#F=null;#T=null;constructor(e,t={}){super(t),this.#F=e,this.#T=t}dispatch(e,t){let r=new i({...e,retryOptions:this.#T},{dispatch:this.#F.dispatch.bind(this.#F),handler:t});return this.#F.dispatch(e,r)}close(){return this.#F.close()}destroy(){return this.#F.destroy()}}},1326(e,t,r){let{PoolBase:n,kClients:i,kNeedDrain:s,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory"),f=Symbol("index");function I(e,t){return new c(e,t)}e.exports=class extends n{constructor(e,{connections:t,factory:r=I,connect:n,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:E,clientTtl:y,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=n&&"function"!=typeof n&&"object"!=typeof n)throw new d("connect must be a function or an object");"function"!=typeof n&&(n=h({...o,maxCachedSessions:a,allowH2:E,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...n})),super(),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(B),connect:n,allowH2:E,clientTtl:y,socketPath:A},this[C]=r,this[f]=-1,this.on("connect",(e,t)=>{if(null!=y&&y>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[i].indexOf(e);-1!==t&&this[i].splice(t,1)}})}[a](){let e=this[m].clientTtl;if(0===this[i].length){let e=this[C](this[u],this[m]);return this[o](e),e}let t=0;for(;t<this[i].length;){this[f]=(this[f]+1)%this[i].length;let r=this[i][this[f]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[f]--;continue}if(!r[s])return r;t++}if(!this[p]||this[i].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[i].length;t++){let r=this[i][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[f]&&this[f]--,t--;else if(!r[s])return!0}if(!this[p]||this[i].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},9741(e,t,r){let n,{URL:i}=r(3136),s=r(9779),{InvalidArgumentError:o}=r(8065),{Socks5Client:a,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),g=r(6334),u=r(5010),{debuglog:h}=r(7975),m=h("undici:socks5-proxy"),p=Symbol("proxy url"),C=Symbol("proxy headers"),f=Symbol("proxy auth"),I=Symbol("proxy protocol"),E=Symbol("pools"),y=Symbol("connector"),B=Symbol("request tls settings"),Q=!1;e.exports=class extends s{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new o("Proxy URL is mandatory");let r="string"==typeof e?new i(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new o("Proxy URL must use socks5:// or socks:// protocol");this[p]=r,this[C]=t.headers||{},this[I]=t.proxyTls?"https:":"http:",this[B]=t.requestTls,this[f]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[y]=t.connect||u({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[E]=new Map}async createSocks5Connection(e,t){let r=this[p].hostname,n=parseInt(this[p].port)||1080;m("creating SOCKS5 connection to",r,n);let i=Promise.withResolvers();this[y]({hostname:r,host:r,port:n,protocol:this[I]},(e,t)=>{e?i.reject(e):i.resolve(t)});let s=await i.promise,o=new a(s,this[f]);o.on("error",e=>{m("SOCKS5 error:",e),s.destroy()}),await o.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),o.removeListener("error",g),l.resolve()},g=e=>{clearTimeout(c),o.removeListener("authenticated",d),l.reject(e)};o.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(o.once("authenticated",d),o.once("error",g)),await l.promise,await o.connect(e,t);let u=Promise.withResolvers(),h=setTimeout(()=>{u.reject(Error("SOCKS5 connection timeout"))},5e3),C=r=>{m("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),o.removeListener("error",E),u.resolve()},E=e=>{clearTimeout(h),o.removeListener("connected",C),u.reject(e)};return o.once("connected",C),o.once("error",E),await u.promise,s}[l](e,t){let{origin:s}=e;m("dispatching request to",s,"via SOCKS5");try{let o=String(s),a=this[E].get(o);return(!a||a.destroyed||a.closed)&&(a=new g(s,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new i(s),o=e.hostname,a=parseInt(e.port)||("https:"===e.protocol?443:80);m("establishing SOCKS5 connection to",o,a);let A=await this.createSocks5Connection(o,a),l=A;if("https:"===e.protocol){n||(n=r(1692)),m("upgrading to TLS"),l=n.connect({...this[B],socket:A,servername:this[B]?.servername||o});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){m("SOCKS5 connection error:",e),t(e)}}}),this[E].set(o,a)),a[l](e,t)}catch(e){if(m("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[E].values())e.push(t.close());this[E].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[E].values())t.push(r.destroy(e));this[E].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let n,i=Symbol.for("undici.globalDispatcher.2"),s=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:o}=r(8065),a=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new o("Argument agent must implement Agent");try{Object.defineProperty(globalThis,i,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){n=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,s,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[i]??n}void 0===c()&&l(new a),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let n=r(1210),{parseCacheControlHeader:i,hasInvalidCacheControlDirective:s,parseVaryHeader:o,hasVaryStar:a,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let g=[200,203,204,206,300,301,308,404,405,410,414,501],u=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function m(e,t,r){C(e,{...t,path:r});for(let i=0;i<n.safeHTTPMethods.length;i++){let s=n.safeHTTPMethods[i];s!==t.method&&C(e,{...t,method:s,path:r})}}function p(e,t,r){if(void 0===r)return;let n=Array.isArray(r)?r:[r];for(let r=0;r<n.length;r++){let i=function(e,t){let r,n,i;if("string"==typeof t){try{r=new URL(e.origin),n=new URL(e.path,r),i=new URL(t,n)}catch{return}if(i.origin===r.origin)return i.pathname+i.search}}(t,n[r]);void 0!==i&&m(e,t,i)}}function C(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function f(e,t,r){304===e&&C(t,r)}e.exports=class{#L;#O;#H;#P;#B;#Y;constructor({store:e,type:t,cacheByDefault:r},n,i){this.#P=e,this.#O=t,this.#H=r,this.#L=n,this.#B=i}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#B.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,n){this.#B.onRequestUpgrade?.(e,t,r,n)}onResponseStart(e,t,r,d){var I,E,y,B,Q,N,b,S,w,D;let x,R=()=>this.#B.onResponseStart?.(e,t,r,d),k=this;if(!h(n.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return I=this.#P,E=this.#L,m(I,E,E.path),p(I,E,r.location),p(I,E,r["content-location"]),R()}let v=r["cache-control"],M=r["last-modified"]&&h(g,t);if(!v&&!r.expires&&!M&&!this.#H)return 304===t&&r.vary&&A(r.vary)&&C(this.#P,this.#L),R();let U=v?i(v):{};if(y=this.#O,B=t,Q=r,N=U,b=this.#L.headers,B<200||h(u,B)||!h(g,B)&&!Q.expires&&!N.public&&void 0===N["max-age"]&&!(N.private&&"private"===y)&&(void 0===N["s-maxage"]||"shared"!==y)||N["no-store"]||"shared"===y&&!0===N.private||Q.vary&&a(Q.vary)||null!=b&&Object.hasOwn(b,"authorization")&&(!N.public&&!N["s-maxage"]&&!N["must-revalidate"]||"string"!=typeof b.authorization||Array.isArray(N["no-cache"])&&h(N["no-cache"],"authorization")||Array.isArray(N.private)&&h(N.private,"authorization"))||0){return 304===t&&(v||(S=this.#O,w=r,!0===(D=U)["no-store"]||"shared"===S&&!0===D.private||w.vary&&A(w.vary)))&&C(this.#P,this.#L),R()}let F=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return f(t,this.#P,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return f(t,this.#P,this.#L),R();let O=Math.max(L?Math.max(0,F-L.getTime()):0,T??0),H="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],P=function(e,t,r,n,i,o,a){if("shared"===e){if(s(o,"s-maxage"))return 0;let e=o["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(s(o,"max-age"))return 0;let A=o["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(n,"expires")){if("string"!=typeof n.expires)return 0;let e=c(n.expires);if(!e||t>=e.getTime())return 0;if(i){if(i>=e)return 0;let t=e.getTime()-i.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof n["last-modified"]){let e=c(n["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return o.immutable?31536e6:!0===o["no-cache"]&&a?0:void 0}(this.#O,F,T,r,L,U,H)??this.#H,Y=0===P&&H;if(void 0===P||O>=P&&!Y)return(v||void 0!==P)&&f(t,this.#P,this.#L),R();let G=F-O,z=P+G;if(F>=z&&!Y)return f(t,this.#P,this.#L),R();if(this.#L.headers&&r.vary&&!(x=o(r.vary,this.#L.headers)))return R();let q=function(e,t,r,n){let i=-1/0,s=-1/0,o=-1/0;if(r["stale-while-revalidate"]&&(i=n+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(s=n+1e3*r["stale-if-error"]),r.immutable&&i===-1/0&&s===-1/0&&(o=t+31536e6),i===-1/0&&s===-1/0&&o===-1/0){let r=n-e;return r<=0?t+864e5:n+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(n,i,s,o)}(G,F,U,z),V=function(e,t){let r,n=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let i of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let n=r[t].split(",");for(let t=0;t<n.length;t++)e.push(n[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(n,e.connection),Array.isArray(t["no-cache"])&&n.push(...t["no-cache"]),Array.isArray(t.private)&&n.push(...t.private),n))Object.hasOwn(e,i)&&(r??={...e},delete r[i]);return r??e}(r,U),_={statusCode:t,statusMessage:d,headers:V,vary:x,cacheControlDirectives:U,cachedAt:G,staleAt:z,deleteAt:q};if(304===t){let t=t=>{if(!t)return R();if(_.statusCode=t.statusCode,_.statusMessage=t.statusMessage,_.etag=t.etag,_.vary=x??t.vary,_.headers={...t.headers,...V},R(),this.#Y=this.#P.createWriteStream(this.#L,_),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),n=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#B.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){k.#Y=void 0,k.#P.delete(k.#L)}).on("drain",()=>{n()}).on("close",function(){k.#Y===this&&(k.#Y=void 0)}),n()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#B.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#P.delete(this.#L)}),this.#Y.on("error",function(){k.#Y=void 0,k.#P.delete(k.#L)}).on("close",function(){k.#Y===this&&(k.#Y=void 0)}))},r=this.#P.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(_.etag=r.etag),this.#Y=this.#P.createWriteStream(this.#L,_),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){k.#Y=void 0,k.#P.delete(k.#L)}).on("close",function(){k.#Y===this&&(k.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#B.onResponseError?.(e,t)}}},7871(e,t,r){let n=r(4589);e.exports=class{#G=!1;#z;#B;#q;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#z=e,this.#B=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#q=t}onRequestUpgrade(e,t,r,n){this.#B.onRequestUpgrade?.(e,t,r,n)}onResponseStart(e,t,r,i){if(n(null!=this.#z),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#z(this.#G,this.#q,t,r),this.#z=null,this.#G)return!0;this.#B.onRequestStart?.(e,this.#q),this.#B.onResponseStart?.(e,t,r,i)}onResponseData(e,t){if(!this.#G)return this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#z){if(this.#V){this.#G=!0,this.#z(!0,this.#q),this.#z=null;return}this.#z(!1),this.#z=null}if("function"==typeof this.#B.onResponseError)this.#B.onResponseError(e,t);else throw t}}}},2645(e,t,r){let n=r(4589);e.exports=class{#B;#_=!1;#J=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#B=e}onRequestStart(...e){this.#B.onRequestStart?.(...e)}onRequestUpgrade(...e){return n(!this.#_),n(!this.#J),this.#B.onRequestUpgrade?.(...e)}onResponseStart(...e){return n(!this.#_),n(!this.#J),n(!this.#W),this.#W=!0,this.#B.onResponseStart?.(...e)}onResponseData(...e){return n(!this.#_),n(!this.#J),this.#B.onResponseData?.(...e)}onResponseEnd(...e){return n(!this.#_),n(!this.#J),this.#_=!0,this.#B.onResponseEnd?.(...e)}onResponseError(...e){return this.#J=!0,this.#B.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:n}=r(8065);e.exports=class{#j;#K=[];#X=5242880;#Z=0;#$={};#ee="";#E=!1;#et=!1;#er=!1;#en=!1;#ei=null;#es=null;constructor(e,t,r=5242880){this.#j=e,this.#es=t,this.#X=r}addWaitingHandler(e){if(this.#en||this.#er)return!1;let t=this.#eo(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#Z,this.#$,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#K.push(t),!0}onRequestStart(e,t){this.#ei=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,n){this.#j.onRequestUpgrade?.(e,t,r,n)}onResponseStart(e,t,r,n){for(let i of(this.#et=!0,this.#Z=t,this.#$=r,this.#ee=n,this.#j.onResponseStart?.(e,t,r,n),this.#K)){let{handler:e,controller:s}=i;if(i.done||s.aborted){i.done=!0;continue}try{e.onResponseStart?.(s,t,r,n)}catch{}s.aborted&&(i.done=!0)}this.#ea()}onResponseData(e,t){if(!this.#E&&!this.#en){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#K)){let{handler:e,controller:n}=r;if(r.done||n.aborted){r.done=!0;continue}if(n.paused){this.#eA(r,t);continue}try{e.onResponseData?.(n,t)}catch{}n.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#ea()}}onResponseEnd(e,t){if(!this.#E&&!this.#en){for(let r of(this.#en=!0,this.#j.onResponseEnd?.(e,t),this.#K)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#ea(),this.#es?.()}}onResponseError(e,t){if(!this.#en){for(let r of(this.#E=!0,this.#en=!0,this.#j.onResponseError?.(e,t),this.#K))this.#ec(r,t);this.#K=[],this.#es?.()}}#eo(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#en&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#ea()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#X){let t=new n(`Deduplicated waiting handler exceeded maxBufferSize (${this.#X} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let n=e.bufferedChunks.shift();e.bufferedBytes-=n.length;try{t.onResponseData?.(r,n)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#ea(){this.#K=this.#K.filter(e=>!1===e.done)}}},7424(e,t,r){let n=r(1210),i=r(4589),{InvalidArgumentError:s}=r(8065),o=[300,301,302,303,307,308],a=()=>{};function A(e,t,r,i,s){let o=n.headerNameToString(e);return!!("host"===o||i?.has(o)||r&&s?.has(o)||t&&o.startsWith("content-"))||!!r&&("authorization"===o||"cookie"===o||"proxy-authorization"===o)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new s(`${t} must be an array`);let r=new Set;for(let i of e){if("string"!=typeof i)throw new s(`${t} must contain header names`);r.add(n.headerNameToString(i))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new s("maxRedirections must be a positive number");let n=t.dispatch.bind(t);return(t,i)=>n(t,new e(n,r,t,i))}constructor(e,t,r,i){if(null!=t&&(!Number.isInteger(t)||t<0))throw new s("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new s("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:o,stripHeadersOnRedirect:a,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=n.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(a,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=i,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,n){this.handler.onRequestUpgrade?.(e,t,r,n)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",n.isStream(this.opts.body)&&n.destroy(this.opts.body.on("error",a)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",n.isStream(this.opts.body)&&n.destroy(this.opts.body.on("error",a)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||n.isDisturbed(this.opts.body)||-1===o.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:g,search:u}=n.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=u?`${g}${u}`:g,m=`${d}${h}`;for(let e of this.history)if(e.toString()===m)throw new s(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,s,o){let a=[];if(Array.isArray(e))for(let n=0;n<e.length;n+=2)A(e[n],t,r,s,o)||a.push(e[n],e[n+1]);else if(e&&"object"==typeof e)for(let[i,l]of n.hasSafeIterator(e)?e:Object.entries(e))A(i,t,r,s,o)||a.push(i,l);else i(null==e,"headers must be an object or an array");return a}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let n=r(4589),{kRetryHandlerDefaultRetry:i}=r(3025),{RequestRetryError:s}=r(8065),{isDisturbed:o,parseRangeHeader:a,wrapRequestBody:A}=r(1210);function l(e,t,r,n){let i=e["content-length"];if(null==i||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let o=Number(i),a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a)throw new s("Content-Length mismatch",r,{headers:e,data:{count:n}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:n}){let{retryOptions:s,...o}=t,{retry:a,maxRetries:l,maxTimeout:d,minTimeout:g,timeoutFactor:u,methods:h,errorCodes:m,retryAfter:p,statusCodes:C,throwOnError:f}=s??{};this.error=null,this.dispatch=r,this.handler=n,this.opts={...o,body:A(t.body)},this.retryOpts={throwOnError:f??!0,retry:a??e[i],retryAfter:p??!0,maxTimeout:d??3e4,minTimeout:g??500,timeoutFactor:u??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:C??[500,502,503,504,429],errorCodes:m??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,n,i){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n)):this.error=i);if(o(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n);return}e.pause(),this.retryOpts.retry(i,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(s){if(s){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n),e.resume();return}this.error=i,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,n){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,n)}static[i](e,{state:t,opts:r},n){let{statusCode:i,code:s,headers:o}=e,{method:a,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:g,statusCodes:u,errorCodes:h,methods:m}=A,{counter:p}=t;if(s&&"UND_ERR_REQ_RETRY"!==s&&!h.includes(s)||Array.isArray(m)&&!m.includes(a)||null!=i&&Array.isArray(u)&&!u.includes(i)||p>l)return void n(e);let C=o?.["retry-after"];if(C){let e;C=Number.isNaN(C=Number(C))?isNaN(e=new Date(o["retry-after"]).getTime())?null:e-Date.now():1e3*C}setTimeout(()=>n(null),0===C?0:C>0?Math.min(C,d):Math.min(c*g**(p-1),d))}onResponseStart(e,t,r,i){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let n=new s("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,i,n);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new s("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=a(r["content-range"]);if(!e)throw new s("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new s("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:i,size:o,end:A=o?o-1:null}=e;n(this.start===i,"content-range mismatch"),n(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=a(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}l(r,e,t,this.retryCount);let{start:s,size:o,end:A=o?o-1:null}=e;n(null!=s&&Number.isFinite(s),"content-range mismatch"),n(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=s,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}n(Number.isFinite(this.start)),n(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)}else throw new s("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new s("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||o(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let n=r(4589),{Readable:i}=r(7075),s=r(1210),o=r(4502),a=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:g,parseCacheControlHeader:u,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:m}=r(8065),{parseHttpDate:p}=r(5859),C=()=>{};function f(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function I(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function E(e,t){try{e.delete(t)?.catch?.(C)}catch{}}function y(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&p(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function B(e,t,r,o,a,A){let l=s.isStream(r.body)?r.body:i.from(r.body??[]);n(!l.destroyed,"stream should not be destroyed"),n(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new m)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,a),l.destroyed)return;let d={...r.headers,age:String(o)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=s.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,n,i,a,l){var c,d,g,p,f;let Q;if(!l){if(a?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,n.onResponseError?.(t,r??new m)}};try{if(n.onRequestStart?.(t,null),e||(n.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;n.onResponseEnd?.(t,{})}catch(e){"function"==typeof n.onResponseError&&n.onResponseError(t,e)}return!0}return e(i,new o(t,r,n))}let N=Date.now();if(N>l.deleteAt)return e(i,new o(t,r,n));let b=Math.round((N-l.cachedAt)/1e3),S=a?.["max-age"]!==void 0&&b>=a["max-age"],w=S||(c=l,d=a,g=t.type,(Q=Date.now())>c.staleAt?!(!I(c,g)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),D=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,a,i);if(w||D){let c;if(s.isStream(i.body)&&0!==s.bodyLength(i.body))return e(i,new o(t,r,n));if(!D&&(p=l,f=t.type,!(!(c=p.cacheControlDirectives?.["stale-while-revalidate"])||I(p,f))&&Date.now()<=p.staleAt+1e3*c))return B(n,i,l,b,null,!0),queueMicrotask(()=>{let n=y(i,l);e({...i,headers:n},new o(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!I(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??a?.["stale-if-error"];e&&(d=N<l.staleAt+1e3*e)}let g=y(i,l);return e({...i,headers:g},new A((a,A,c,d)=>{if(a){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let n=u(r);return!0===n["no-store"]||"shared"===e&&!0===n.private}(t.type,d))return s.isStream(l.body)&&l.body.on("error",C).destroy(),E(t.store,r),e(i,new o(t,r,n));void 0!==d["cache-control"]&&E(t.store,r)}B(n,i,l,b,A,w)}else s.isStream(l.body)&&l.body.on("error",C).destroy()},new o(t,r,n),d))}s.isStream(i.body)&&i.body.on("error",C).destroy(),B(n,i,l,b,null,!1)}e.exports=(e={})=>{let{store:t=new a,methods:r=["GET"],cacheByDefault:n,type:i="shared",origins:o}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==o){if(!Array.isArray(o))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof o}`);for(let e=0;e<o.length;e++){let t=o[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==n&&"number"!=typeof n)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof n}`);if(void 0!==i&&"shared"!==i&&"private"!==i)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof i}`);let h={store:t,methods:r,cacheByDefault:n,type:i},m=[];for(let e=0;e<s.safeHTTPMethods.length;e++){let t=s.safeHTTPMethods[e];f(r,t)||m.push(t)}return e=>(r,n)=>{if(!r.origin||f(m,r.method))return e(r,n);if(void 0!==o){let t=r.origin.toString().toLowerCase(),i=!1;for(let e=0;e<o.length;e++){let r=o[e];if("string"==typeof r){if(r.toLowerCase()===t){i=!0;break}}else if(r.test(t)){i=!0;break}}if(!i)return e(r,n)}r={...r,headers:g(r)};let i=r.headers?.["cache-control"]?u(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let n=t.split(",");for(let e=0;e<n.length;e++)if("no-cache"===n[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(i?.["no-store"])return e(r,n);let s=d(r),a=t.get(s);return a&&"function"==typeof a.then?a.then(t=>Q(e,h,s,n,r,i,t)):Q(e,h,s,n,r,i,a)}}},9287(e,t,r){let{createInflate:n,createGunzip:i,createBrotliDecompress:s,createZstdDecompress:o}=r(8522),{pipeline:a}=r(7075),A=r(2645),l={gzip:i,"x-gzip":i,br:s,deflate:n,compress:n,"x-compress":n,zstd:o},c=[204,304],d=!1;class g extends A{#ed=[];#eg;#eu;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eu=t,this.#eh=r}#em(e,t){return!!(!e||t<200||this.#eu.includes(t))||!!this.#eh&&!!(t>=400)}#ep(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let n=t[e].trim();if(n){if(!l[n])return r.length=0,r;r.push(l[n]())}}return r}#eC(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#ef(e){let t=this.#ed[0];this.#eC(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eg)})}#eI(e){let t=this.#ed[this.#ed.length-1];this.#eC(t,e),a(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eg)})}#eE(){this.#ed.length=0}onResponseStart(e,t,r,n){let i=r["content-encoding"];if(this.#em(i,t))return super.onResponseStart(e,t,r,n);let s=this.#ep(i.toLowerCase());if(0===s.length)return this.#eE(),super.onResponseStart(e,t,r,n);this.#ed=s;let{"content-encoding":o,"content-length":a,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let n=t[e],i=(Buffer.isBuffer(n)?n.toString("latin1"):`${n}`).toLowerCase();"content-encoding"!==i&&"content-length"!==i&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#ef(e):this.#eI(e),super.onResponseStart(e,t,A,n)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eg=t,this.#ed[0].end(),this.#eE();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#eE()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,n)=>"HEAD"===r.method?t(r,n):t(r,new g(n,e))}},7870(e,t,r){let n=r(3053),i=r(1210),s=r(8241),{normalizeHeaders:o,makeCacheKey:a,makeDeduplicationKey:A}=r(8621),l=n.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:n=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!i.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(n))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof n}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),g=new Set(n.map(e=>e.toLowerCase())),u=new Map;return e=>(r,n)=>{if(!r.origin||!1===t.includes(r.method))return e(r,n);if(r={...r,headers:o(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,n)}let i=A(a(r),g),h=u.get(i);if(h)return!!h.addWaitingHandler(n)||e(r,n);let m=new s(n,()=>{u.delete(i),l.hasSubscribers&&l.publish({size:u.size,key:i,type:"removed"})},c);return u.set(i,m),l.hasSubscribers&&l.publish({size:u.size,key:i,type:"added"}),e(r,m)}}},4053(e,t,r){let{isIP:n}=r(7030),{lookup:i}=r(610),s=r(2645),{InvalidArgumentError:o,InformationalError:a}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#ey=0;#eB=new Map;constructor(e){this.#ey=e.maxItems}get size(){return this.#eB.size}get(e){return this.#eB.get(e)??null}set(e,t){this.#eB.set(e,t)}delete(e){this.#eB.delete(e)}full(){return this.size>=this.#ey}}class d{#eQ=0;#ey=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#ey=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eN,this.pick=e.pick??this.#eb,this.storage=e.storage??new c(e)}runLookup(e,t,r){let n=this.storage.get(e.hostname);if(null==n&&this.storage.full())return void r(null,e);let i={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#ey};if(null==n)this.lookup(e,i,(t,n)=>{let s;if(t||null==n||0===n.length)return void r(t??new a("No DNS entries found"));this.setRecords(e,n);let o=this.storage.get(e.hostname),A=this.pick(e,o,i.affinity);s="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${s}`))});else{let s,o=this.pick(e,n,i.affinity);if(null==o){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}s="number"==typeof o.port?`:${o.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===o.family?`[${o.address}]`:o.address}${s}`))}}#eN(e,t,r){i(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let n=new Map;for(let e of t)n.set(`${e.address}:${e.family}`,e);r(null,n.values())})}#eb(e,t,r){let n,i=null,{records:s,offset:o}=t;if(this.dualStack?(null==r&&(null==o||0x7fffffff===o?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),n=null!=s[r]&&s[r].ips.length>0?s[r]:s[4===r?6:4]):n=s[r],null==n||0===n.ips.length)return i;null==n.offset||0x7fffffff===n.offset?n.offset=0:n.offset++;let a=n.offset%n.ips.length;return null==(i=n.ips[a]??null)?i:Date.now()-i.timestamp>i.ttl?(n.ips.splice(a,1),this.pick(e,t,r)):i}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let n=r[t];if(!n)return null;null==n.offset||0x7fffffff===n.offset?n.offset=0:n.offset++;let i=n.offset%n.ips.length,s=n.ips[i]??null;return null==s||Date.now()-s.timestamp>s.ttl&&n.ips.splice(i,1),s}setRecords(e,t){let r=Date.now(),n={records:{4:null,6:null}},i=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),i=Math.min(i,e.ttl)):e.ttl=this.#eQ;let t=n.records[e.family]??{ips:[]};t.ips.push(e),n.records[e.family]=t}this.storage.set(e.hostname,n,{ttl:i})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new g(this,e,t)}}class g extends s{#eS=null;#S=null;#ew=null;#eD=null;#ei=null;#ex=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:n,newOrigin:i},s){super(r),this.#eD=t,this.#ex=i,this.#S={...s},this.#eS=e,this.#ew=n}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let n="["===this.#ex.hostname[0]?4:6,i=this.#eS.pickFamily(this.#eD,n);if(null==i)return void super.onResponseError(e,t);r="number"==typeof i.port?`:${i.port}`:""!==this.#eD.port?`:${this.#eD.port}`:"";let s={...this.#S,origin:`${this.#eD.protocol}//${6===i.family?`[${i.address}]`:i.address}${r}`,headers:l(this.#eD.host,this.#S.headers)};this.#ew(s,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#eD),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new o("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new o("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new o("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new o("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new o("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new o("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new o("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let i=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let s=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==n(s.hostname)?e(t,r):(i.runLookup(s,t,(n,o)=>{if(n)return r.onResponseError(null,n);e({...t,servername:s.hostname,origin:o.origin,headers:l(s.host,t.headers)},i.getHandler({origin:s,dispatch:e,handler:r,newOrigin:o},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:n,RequestAbortedError:i}=r(8065),s=r(2645);class o extends s{#t=1048576;#ek=!1;#n=0;#ei=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new n("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#y(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#y.bind(this),this.#ei=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,n){let s=r["content-length"];if(null!=s&&s>this.#t)throw new i(`Response size (${s}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,n)}onResponseError(e,t){this.#ek||(t=this.#ei?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#n=this.#n+t.length,this.#n>=this.#t&&(this.#ek=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#ek){if(!0===this.#ei.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,n){let{dumpMaxSize:i=e}=r,s=new o({maxSize:i,signal:r.signal},n);return t(r,s)}}},7884(e,t,r){let n=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:i}={}){return s=>function(o,a){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=i,...g}=o;if(null==A||0===A)return s(o,a);let u={...g,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new n(s,A,u,a);return s(u,h)}}},3128(e,t,r){let n=r(2645),{ResponseError:i}=r(8065);class s extends n{#Z;#ev;#eM;#$;#eU;constructor(e,{handler:t}){super(t)}#eF(e){return 0===(this.#ev??"").indexOf(e)}onRequestStart(e,t){return this.#Z=0,this.#ev=null,this.#eM=null,this.#$=null,this.#eU="",super.onRequestStart(e,t)}onResponseStart(e,t,r,n){if(this.#Z=t,this.#$=r,this.#ev=r["content-type"],this.#Z<400)return super.onResponseStart(e,t,r,n);(this.#eF("application/json")||this.#eF("text/plain"))&&(this.#eM=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#Z<400)return super.onResponseData(e,t);this.#eU+=this.#eM?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#Z>=400){let t;if(this.#eU+=this.#eM?.decode(void 0,{stream:!1})??"",this.#eF("application/json"))try{this.#eU=JSON.parse(this.#eU)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new i("Response Error",this.#Z,{body:this.#eU,headers:this.#$})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new s(t,{handler:r}))}},9620(e,t,r){let n=r(4166);e.exports=e=>t=>function(r,i){return t(r,new n({...r,retryOptions:{...e,...r.retryOptions}},{handler:i,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let n=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,n.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z6,t.t9,t.Y2,t.oC,t.mL,t.XB,t.EW,t.jJ,t.jA,t.XV,t.KO,t.aC},9896(e,t,r){let n;e=r.nmd(e);let{Buffer:i}=r(4573);Object.defineProperty(e,"exports",{get:()=>n||(n=i.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9mdW5jdGlvbl90YWJsZQEAC2xsaHR0cF9pbml0AAkYbGxodHRwX3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ByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAygCHCICQQJrDvwBAfkBAgMEBQYHCAkKCwwNDg8QERL4ARP3ARQV9gEWF/UBGBkaGxwdHh8g/QH7ASH0ASIjJCUmJygpKivzASwtLi8wMTLyAfEBMzTwAe8BNTY3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HNAQwRC0HOAQwQC0HPAQwPC0HQAQwOC0HRAQwNC0HSAQwMC0HTAQwLC0HUAQwKC0HVAQwJC0HWAQwIC0HjAQwHC0HXAQwGC0HYAQwFC0HZAQwEC0HaAQwDC0HbAQwCC0HdAQwBC0HcAQshAgNAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJ/AkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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IAE2AhQgA0G+IDYCECADQQI2AgwMkgMLIAMoAgQhAEEAIQIgA0EANgIEIAMgACABIAynaiIBEDIiAEUNKyADQQc2AhwgAyABNgIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwoCyADQQ42AhwgAyAANgIMIAMgAUEBajYCFAyIAwsgAEEVRg03QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIcDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDCcLIANBDzYCHCADIAA2AgwgAyABQQFqNgIUDIYDC0EAIQIgA0EANgIcIAMgATYCFCADQeIXNgIQIANBGTYCDAyFAwsgAEEVRg0zQQAhAiADQQA2AhwgAyABNgIUIANB1gw2AhAgA0EjNgIMDIQDCyADKAIEIQBBACECIANBADYCBCADIAAgARA0IgBFDSUgA0ERNgIcIAMgATYCFCADIAA2AgwMgwMLIABBFUYNMEEAIQIgA0EANgIcIAMgATYCFCADQdYMNgIQIANBIzYCDAyCAwsgAygCBCEA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aiIBRw0AC0EsIQIM7wILQSwhAgzuAgsgASAERgRAQTQhAgzuAgsCQAJAA0ACQCABLQAAQQprDgQCAAADAAsgBCABQQFqIgFHDQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyrAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqgILQcYBIQIMkAILIAEgBEYEQEHfASECDKkCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqgILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKkCC0HF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dAARw0rIAFBAWohAUGgASECDOQBCyABIARGBEBBuAEhAgz9AQsCQAJAIAEtAABBxgBrDgsALCwsLCwsLCwsASwLIAFBAWohAUGeASECDOQBCyABQQFqIQFBnwEhAgzjAQtBtwEhAiABIARGDfsBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQezUAGotAABHDSggAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPwBCyADQQA2AgAgBkEBaiEBQQ0MKAtBtgEhAiABIARGDfoBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDScgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPsBCyADQQA2AgAgBkEBaiEBQQwMJwtBtQEhAiABIARGDfkBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQerUAGotAABHDSYgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPoBCyADQQA2AgAgBkEBaiEBQQMMJgtBtAEhAiABIARGDfgBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQejUAGotAABHDSUgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPkBCyADQQA2AgAgBkEBaiEBQSYMJQsgASAERgRAQbMBIQIM+AELAkACQCABLQAAQdQAaw4CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz2A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EGaiEGAkADQCABLQAAIABBytQAai0AAEcNGSAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7QELIANBADYCACAGQQFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADOUBCyABIARGBEBBoAE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gAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEGs1ABqLQAARw0GIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzaAQsgA0EANgIAIAZBAWohAUEFDAYLQZUBIQIgASAERg3YASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGm1ABqLQAARw0FIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzZAQsgA0EANgIAIAZBAWohAUEWDAULQZQBIQIgASAERg3XASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0EIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzYAQsgA0EANgIAIAZBAWohAUEQDAQLIAEgBEYEQEGTASECDNcBCwJAAkAgAS0AAEHDAGsODAAGBgYGBgYGBgYGAQYLIAFBAWohAUH5ACECDL4BCyABQQFqIQFB+gAhAgy9AQtBkgEhAiABIARGDdUBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQaDUAGotAABHDQIgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiE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ADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0IIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIANBADYCHCADIAE2AhQgA0GNFDYCECADQQc2AgxBACECDKgBCwJAAkACQAJAA0AgAS0AAEGgygBqLQAAIgBBBUcEQAJAIABBAWsOBi4DBAUGAAYLQegAIQIMlAELIAQgAUEBaiIBRw0AC0H9ACECDKsBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQdsANgIcIAMgATYCFCADIAA2AgxBACECDKoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDKkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQfoANgIcIAMgATYCFCADIAA2AgxBACECDKgBCyADQQA2AhwgAyABNgIUIANB5Ag2AhAgA0EHNgIMQQAhAgynAQsgASAERg0BIAFBAWoLIQFBBiECDIwBC0H8ACECDKQBCwJAAkACQAJAA0AgAS0AAEGgyABqLQAAIgBBBUcEQCAAQQFrDgQpAgMEBQsgBCABQQFqIgFHDQALQfsAIQIMpwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMpgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMpQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMpAELIANBADYCHCADIAE2AhQgA0G8CjYCECADQQc2AgxBACECDKMBC0HPACECDIkBC0HRACECDIgBC0HnACECDIcBCyABIARGBEBB+gAhAgygAQsCQCABLQAAQQlrDgQgAAAgAAsgAUEBaiEBQeYAIQIMhgELIAEgBEYEQEH5ACECDJ8BCwJAIAEtAABBCWsOBB8AAB8AC0EAIQACQCADKAI4IgJFDQAgAigCOCICRQ0AIAMgAhEAACEACyAARQRAQeIBIQIMhgELIABBFUcEQCADQQA2AhwgAyABNgIUIANByQ02AhAgA0EaNgIMQQAhAgyfAQsgA0H4ADYCHCADIAE2AhQgA0HqGjYCECADQRU2AgxBACECDJ4BCyABIARHBEAgA0ENNgIIIAMgATYCBEHkACECDIUBC0H3ACECDJ0BCyABIARGBEBB9gAhAgydAQsCQAJAAkAgAS0AAEHIAGsOCwABCwsLCwsLCwsCCwsgAUEBaiEBQd0AIQIMhQELIAFBAWohAUHgACECDIQBCyABQQFqIQFB4wAhAgyDAQtB9QAhAiABIARGDZsBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbXVAGotAABHDQggAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJwBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIABEAgA0H0ADYCHCADIAE2AhQgAyAANgIMQQAhAgycAQtB4gAhAgyCAQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJwBC0HhACECDIIBCyADQfMANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMmgELIAMtACkiAEEja0ELSQ0JAkAgAEEGSw0AQQEgAHRBygBxRQ0ADAoLQQAhAiADQQA2AhwgAyABNgIUIANB7Qk2AhAgA0EINgIMDJkBC0HyACECIAEgBEYNmAEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBs9UAai0AAEcNBSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMmQELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfEANgIcIAMgATYCFCADIAA2AgxBACECDJkBC0HfACECDH8LQQAhAAJAIAMoAjgiAkUNACACKAI0IgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIUIANB5xE2AhAgA0EKNgIMQQAhAgx9CyABQQFqIQEgA0Evai0AAEEBcUUNcyADLQAyQYABcUUEQCADQTJqIQIgAxA1QQAhAAJAIAMoAjgiBkUNACAGKAIoIgZFDQAgAyAGEQAAIQALAkACQCAADhZNTEsBAQEBAQEBAQEBAQEBAQEBAQEAAQsgA0EpNgIcIAMgATYCFCADQawZNgIQIANBFTYCDEEAIQIMfgsgA0EANgIcIAMgATYCFCADQeULNgIQIANBETYCDEEAIQIMfQtBACEAAkAgAygCOCICRQ0AIAIoAlwiAkUNACADIAIRAAAhAAsgAEUNWSAAQRVHDQEgA0EFNgIcIAMgATYCFCADQZsbNgIQIANBFTYCDEEAIQIMfAtBywAhAgxiC0EAIQIgA0EANgIcIAMgATYCFCADQZAONgIQIANBFDYCDAx6CyADIAMvATJBgAFyOwEyDD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0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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C0G7AQwkC0G8AQwjC0G9AQwiC0G+AQwhC0G/AQwgC0HAAQwfC0HBAQweC0HCAQwdC0EBDBwLQcMBDBsLQcQBDBoLQcUBDBkLQcYBDBgLQccBDBcLQcgBDBYLQckBDBULQcoBDBQLQcsBDBMLQcwBDBILQc0BDBELQc4BDBALQc8BDA8LQdABDA4LQdEBDA0LQdIBDAwLQdMBDAsLQdQBDAoLQdUBDAkLQdYBDAgLQeMBDAcLQdcBDAYLQdgBDAULQdkBDAQLQdoBDAMLQdsBDAILQd0BDAELQdwBCyECA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ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EBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRshAgzGAgtBHCECDMUCC0EdIQIMxAILQR4hAgzDAgtBHyECDMIC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IEQdkBIQIMrQILQfkBIQIMxQILIAEgBEYEQEH4ASECDMUCCyABLQAAQcgARw0EIAFBAWohAUHYASECDKsCCyABIARGBEBB9wEhAgzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgAS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AWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5B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CACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBkdUAai0AAEcNPCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAI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ABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQbPUAGotAABHDQsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN8BCyADQQA2AgAgBkEBaiEBQSMMCwtBmgEhAiABIARGDd0BIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDUAGotAABHDQogAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN4BCyADQQA2AgAgBkEBaiEBQQAMCgsgASAERgRAQZkBIQIM3QELAkACQCABLQAAQcgAaw4IAAwMDAwMDAEMCyABQQFqIQFB/QAhAgzEAQsgAUEBaiEBQYABIQIMwwELIAEgBEYEQE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Rg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2AhQgA0GAGzYCECADQRU2AgxBACECDJEBCyADLQApIgBBI0kNACAAQS5GDQAgA0EANgIcIAMgATYCFCADQckJNgIQIANBCDYCDEEAIQIMkAELQdoAIQIMdgsgASAERgRAQesAIQIMjwELAkAgAS0AAEEvRgRAIAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBsjg2AhAgA0EINgIMQQAhAgyPAQtB2QAhAgx1CyABIARHBEAgA0EONgIIIAMgATYCBEHYACECDHULQeoAIQIMjQELIAEgBEYEQEHpACECDI0BCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHXACECDHQLIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ16IANB6AA2AhwgAyABNgIUIAMgADYCDEEAIQIMj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e,t){t.enumToMap=function(e,t=[],r=[]){let n=(t?.length??0)===0,i=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(n||t.includes(e))&&(i||!r.includes(e))))}},6923(e,t,r){let{kClients:n}=r(3025),i=r(5891),{kAgent:s,kMockAgentSet:o,kMockAgentGet:a,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:g,kFactory:u,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:m,kMockAgentAddCallHistoryLog:p,kMockAgentMockCallHistoryInstance:C,kMockAgentAcceptsNonStandardSearchParameters:f,kMockCallHistoryAddLog:I,kIgnoreTrailingSlash:E}=r(4779),y=r(375),B=r(8182),{matchValue:Q,normalizeSearchParams:N,buildAndValidateMockOptions:b,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:D}=r(8065),x=r(6873),R=r(1908),{MockCallHistory:k}=r(2137);e.exports=class extends x{constructor(e={}){super(e);let t=b(e);if(this[c]=!0,this[l]=!0,this[m]=t.enableCallHistory??!1,this[f]=t.acceptNonStandardSearchParameters??!1,this[E]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new i(e);this[s]=r,this[n]=r[n],this[g]=t,this[m]&&this[h]()}get(e){let t=S(e),r=this[E]?t.replace(/\/$/,""):t,n=this[a](r);return n||(n=this[u](r),this[o](r,n)),n}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[p](e);let r=this[f],n={...e};if(r&&n.path){let[e,t]=n.path.split("?"),i=N(t,r);n.path=`${e}?${i}`}return this[s].dispatch(n,t)}async close(){this.clearCallHistory(),await this[s].close(),this[n].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[m]=!0,this}disableCallHistory(){return this[m]=!1,this}getCallHistory(){return this[C]}clearCallHistory(){void 0!==this[C]&&this[C].clear()}get isMockActive(){return this[l]}[h](){void 0===this[C]&&(this[C]=new k)}[p](e){this[m]&&(this[h](),this[C][I](e))}[o](e,t){this[n].set(e,t)}[u](e){let t=Object.assign({agent:this},this[g]);return this[g]&&1===this[g].connections?new y(e,t):new B(e,t)}[a](e){let t=this[n].get(e);if(t)return t;if("string"!=typeof e){let t=this[u]("http://localhost:9999");return this[o](e,t),t}for(let[t,r]of Array.from(this[n]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[u](e);return this[o](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[n].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new D(1===t.length?`1 interceptor is pending: +`}return a.sendHeaders.hasSubscribers&&a.sendHeaders.publish({request:t,headers:W,socket:_}),O&&0!==G?s.isBuffer(O)?ey(J,O,e,t,_,H,W,Y):s.isBlobLike(O)?"function"==typeof O.stream?eE(J,O.stream(),e,t,_,H,W,Y):eI(J,O,e,t,_,H,W,Y):s.isStream(O)?(o=J,l=O,u=e,g=t,h=_,m=H,f=W,C=Y,n(0!==m||0===u[b],"stream body cannot be pipelined"),y=!1,E=new eB({abort:o,socket:h,request:g,contentLength:m,client:u,expectsPayload:C,header:f}),B=function(e){if(!y)try{!E.write(e)&&this.pause&&this.pause()}catch(e){s.destroy(this,e)}},N=function(){!y&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",x)}),!y){let e=new c;queueMicrotask(()=>x(e))}},x=function(e){if(!y){if(y=!0,n(h.destroyed||h[w]&&u[b]<=1),h.off("drain",N).off("error",x),l.removeListener("data",B).removeListener("end",x).removeListener("close",S),!e)try{E.end()}catch(t){e=t}E.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?s.destroy(l,e):s.destroy(l)}},l.on("data",B).on("end",x).on("error",x).on("close",S),l.resume&&l.resume(),h.on("drain",N).on("error",x),l.errorEmitted??l.errored?setImmediate(x,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(x,null),(l.closeEmitted??l.closed)&&setImmediate(S)):s.isIterable(O)?eE(J,O,e,t,_,H,W,Y):n(!1):ey(J,null,e,t,_,H,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[D]&&t.unref&&(t.unref(),t[D]=!0):t[D]&&t.ref&&(t.ref(),t[D]=!1),0===e[b]&&e[N]>0&&t[ei]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[B].readMore(),t.destroyed;return}if(1===t[et]){t[B].readMore(),t.destroyed;return}}if(0===e[b]&&(t[B].readMore(),t.destroyed))return;if(0===e[S])8!==t[B].timeoutType&&t[B].setTimeout(e[L],8);else if(e[b]>0&&t[B].statusCode<200&&3!==t[B].timeoutType){let r=e[x][e[M]],i=null!=r.headersTimeout?r.headersTimeout:e[Y];t[B].setTimeout(i,3)}}}(e)},destroy(e,r){t[K]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[I]||t[Q]||1===t[et]||r&&(e[b]>0&&!r.idempotent||e[b]>0&&(r.upgrade||"CONNECT"===r.method)||e[b]>0&&0!==s.bodyLength(r.body)&&(s.isStream(r.body)||s.isAsyncIterable(r.body)||s.isFormDataLike(r.body))))||!1}}},942(e,t,r){let i,n,s=r(4589),{pipeline:a}=r(7075),o=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:u,HeadersTimeoutError:g,BodyTimeoutError:h}=r(8065),{kUrl:p,kReset:m,kClient:f,kRunning:C,kPending:y,kQueue:I,kPendingIdx:E,kRunningIdx:B,kError:Q,kSocket:b,kStrictContentLength:N,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:x,kHTTP2Session:D,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:v,kHostAuthority:k,kResume:M,kSize:F,kHTTPContext:U,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:O,kBodyTimeout:P,kEnableConnectProtocol:H,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:q}=r(3025),{channels:z}=r(6708),V=Symbol("open streams"),_=Symbol("request stream id"),J=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),K=Symbol("received goaway");try{n=r(2467)}catch{n={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:$,HTTP2_HEADER_METHOD:X,HTTP2_HEADER_PATH:Z,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:ei,HTTP2_HEADER_PROTOCOL:en,NGHTTP2_NO_ERROR:es,NGHTTP2_REFUSED_STREAM:ea}}=n;function eo(e){e[_]=null,e[J]=null,e[W]=null}function eA(e,t,r){let i=e[W],n=e[J];eo(e),i?.(n),e[_]=t.id,e[J]=t,e[W]=r}function el(e){let t=e[W],r=e[J];eo(e),t?.(r)}function ec(e){let t=e[q];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[q];!0===t.refed&&(t.refed=!1,e.unref())}function eu(e){let t=e[q];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eg(e){let t=e[f];if(t[D]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[F])return void eu(e);let r=e[q];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[f],r=e[b];if(e[q].idleTimeout=null,t[D]!==e||0!==e[V]||0!==t[F]||e.closed||e.destroyed)return;let i=new d("socket idle timeout");r[Q]=i,o.destroy(r,i)}function ep(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function em(e){if(this[f][w]=e.maxConcurrentStreams??this[f][w],!0===this[Y]&&!0===this[H]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[b][Q]=e,this[f][S](e);return}this[H]=e.enableConnectProtocol??this[H],this[Y]=!0,this[f][M]()}function ef(e){let t=e[q];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[f],i=this[b];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);i[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function eC(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[b][Q]=e,this[K]||this[f][S](e)}function ey(e,t,r){if(0===r){if(this[K])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[b][Q]=r,this[f][S](r)}}function eI(e,t){if(this[K])return;this[K]=!0;let r=this[Q]||(e===es?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,o.getSocketInfo(this[b]))),i=this[f],n=i[E],s=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[B];t<e[E];t++){let i=e[I][t];if(null!=i&&("number"!=typeof i[_]||i[_]>r))return t}return e[E]}(i,t),a=[],A=[];for(let e=s;e<n;e++){let t=i[I][e];null!=t&&(A.push(function(e){let t=e[J];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||o.isBuffer(t)||o.isBlobLike(t)}(t)?a.push(t):o.errorRequest(i,t,r))}for(let e=0;e<A.length;e++)!function(e,t=ea){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(s!==n){let e=i[I].slice(n);i[I].length=s,i[I].push(...a,...e)}i[D]===this&&(i[b]=null,i[U]=null,i[D]=null),eu(this),this.closed||this.destroyed||this.close(),i[E]=s,i.emit("disconnect",i[p],[i],r),i[M]()}function eE(){let{[f]:e,[q]:t,[b]:r}=this,i=r[Q]||this[Q]||new c("closed",o.getSocketInfo(r));if(e[D]===this&&(e[b]=null,e[U]=null,e[D]=null),eu(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){s(0===e[y]);let t=e[I].splice(e[B]);for(let r=0;r<t.length;r++){let n=t[r];null!=n&&o.errorRequest(e,n,i)}}}function eB(){let e=this[Q]||new c("closed",o.getSocketInfo(this)),t=this[D],r=t[f];r[b]!==this&&(t[K]||null!=r[D]&&r[D]!==t)||(r[b]=null,r[U]=null,r[D]===t&&(r[D]=null),t.destroy(e),r[E]=r[B],s(0===r[C]),r.emit("disconnect",r[p],[r],e),r[M]())}function eQ(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[D]?.[K]||this[D]?.[f]?.[S](e)}function eb(){o.destroy(this,new c("other side closed",o.getSocketInfo(this)))}function eN(){this[T]=!0}function eS(){}function ew(e){let t=e[D];e[D]=null,t[V]-=1,0===t[V]&&(ed(t),eg(t))}function ex(){this.off("error",eS);let e=this[j];this[j]=null,ek(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function eD(){let e=this[j];null!=e&&(eH(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eO(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",eM),e.off("end",eF),e.off("timeout",eU),e.off("error",eS)}function ev(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[J]===e&&eo(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ek(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(ev(e.stream),e.abort(t,!0))}function eM(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ek(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ek(e,new d("HTTP/2: stream errored before response headers"))}function eF(){ek(this[j],new d("HTTP/2: stream half-closed (remote)"))}function eU(){let e=this[j];ek(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:i}=r;r.responseReceived=!0;let n=e[ei];delete e[ei],i.onRequestUpgrade(n,e,this),i.aborted||i.completed||(eR(this),eo(i),eO(r))}function eL(e,t){let{request:r,headersTimeout:i,session:n}=t;e[G]=!0,e[D]=n,e[j]=t,t.stream=e,eA(r,e,ev),e.once("response",eT),e.on("error",eM),e.once("end",eF),e.on("timeout",eU),e.once("close",ex),eu(n),++n[V],e.setTimeout(i)}function eO(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let i=e[I],n=e[B];if(n<e[E]&&i[n]===t){i[n]=null,e[B]=n+1;return}let s=i.indexOf(t,n);-1!==s&&!(s>=e[E])&&(i.splice(s,1),e[E]--,r&&e[E]<e[B]&&(e[E]=e[B]))}(e.client,e.request,t),e.client[M]())}function eP(e,t,r,i,n,s){try{return r.request(n,s)}catch(s){if(s?.code==="ERR_HTTP2_INVALID_SESSION"||s?.code==="ERR_HTTP2_GOAWAY_SESSION"){let i=new c(s.message,o.getSocketInfo(r[b]));i.cause=s,r[Q]=i;let n=r[f],a=r[b];if(n[D]===r&&(n[b]=null,n[U]=null,n[D]=null),null!=a&&null==a[Q]&&(a[Q]=i),!r.closed&&!r.destroyed)try{r.destroy(i)}catch{}return o.destroy(a,i),e[I].splice(e[E]+1,0,t),null}let n=new d(s.message,{cause:s});return r[Q]=n,r[b][Q]=n,r.destroy(n),o.destroy(r[b],n),i(n),null}}function eH(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[J]===e&&eo(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",eq),e.off("error",ez),e.off("frameError",eV),e.off("aborted",e_),e.off("timeout",eJ),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let i=e[ei];(delete e[ei],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eH(this):(!1===r.onResponseStart(Number(i),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function eq(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",eq),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,eD.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function ez(e){let t=this[j];null!=t&&(this.off("error",ez),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function e_(){this.off("data",eY)}function eJ(){let e=this[j];if(null==e)return;this.off("timeout",eJ);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new g(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,i,n,A,l;let c,d=this[j];d.bodySent=!0;let{abort:u,body:g,client:h,contentLength:p,expectsPayload:f,request:y}=d;g&&0!==p?o.isBuffer(g)?eK(u,this,g,h,y,h[b],p,f):o.isBlobLike(g)?"function"==typeof g.stream?eX(u,this,g.stream(),h,y,h[b],p,f):e$(u,this,g,h,y,h[b],p,f):o.isStream(g)?(e=u,t=h[b],r=f,i=this,n=g,A=h,l=y,s(0!==p||0===A[C],"stream body cannot be pipelined"),c=a(n,i,i=>{i?(o.destroy(c,i),e(i)):(o.removeAllListeners(c),l.onRequestSent(),r||(t[m]=!0),A[M]())}),o.addListener(c,"data",function(e){l.onBodySent(e)})):o.isIterable(g)?eX(u,this,g,h,y,h[b],p,f):s(!1):eK(u,this,null,h,y,h[b],p,f)}function eK(e,t,r,i,n,a,A,l){try{null!=r&&o.isBuffer(r)&&(s(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),n.onBodySent(r)),l||(a[m]=!0),n.onRequestSent(),i[M]()}catch(t){e(t)}}async function e$(e,t,r,i,n,s,a,o){try{if(null!=a&&a!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),n.onBodySent(e),n.onRequestSent(),o||(s[m]=!0),i[M]()}catch(t){e(t)}}async function eX(e,t,r,i,n,a,o,A){s(0!==o||0===i[C],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),a[Q]?t(a[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(a[Q])throw a[Q];let r=t.write(e);n.onBodySent(e),r||await d()}t.end(),n.onRequestSent(),A||(a[m]=!0),i[M]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[b]=t;let a=e[R],c=e[v],g=n.connect(e[p],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=a?{initialWindowSize:a}:null}});return e[b]=t,g[V]=0,g[f]=e,g[b]=t,g[q]={idleTimeout:null,refed:!0,ping:{interval:0===e[x]?null:setInterval(ef,e[x],g).unref()}},g[K]=!1,g[H]=!1,g[Y]=!1,c&&o.addListener(g,"connect",ep.bind(g,c)),o.addListener(g,"error",eC),o.addListener(g,"frameError",ey),o.addListener(g,"goaway",eI),o.addListener(g,"close",eE),o.addListener(g,"remoteSettings",em),ed(g),e[D]=g,t[D]=g,o.addListener(t,"error",eQ),o.addListener(t,"end",eb),o.addListener(t,"close",eB),t[T]=!1,t.on("close",eN),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let n=t.headersTimeout??e[O],a=t.bodyTimeout??e[P],c=e[D],{method:g,path:h,host:p,upgrade:m,expectContinue:f,signal:C,protocol:y,headers:I}=t;if(null!=m&&"websocket"!==m)return o.errorRequest(e,t,new u(`Custom upgrade "${m}" not supported over HTTP/2`)),!1;let E=function(e){let t={};for(let r=0;r<e.length;r+=2){let i=e[r+0],n=e[r+1],s=t[i];if("cookie"===i){null!=s?t[i]=Array.isArray(s)?(s.push(n),s):[s,n]:t[i]=n;continue}if("string"==typeof n){t[i]=s?`${s}, ${n}`:n;continue}for(let e=0;e<n.length;e++)t[i]=t[i]?`${t[i]}, ${n[e]}`:n[e]}return t}(I);E[$]=p||e[k],E[X]=g;let B={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:n,bodyTimeout:a,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,i=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,o.errorRequest(e,t,r),null!=B.stream){el(t);let n=B.stream;n.close(),n.destroyed||o.destroy(n),e[S](r),eO(B,i)}o.destroy(B.body,r)}};B.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){o.errorRequest(e,t,r)}if(t.aborted)return!1;if(m||"CONNECT"===g)return(ec(c),"websocket"===m)?!1===c[H]?(o.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(E[X]="CONNECT",E[en]="websocket",E[Z]=h,"ws:"===y||"wss:"===y?E[ee]="ws:"===y?"http":"https":E[ee]="http:"===y?"http":"https",null==(w=eP(e,t,c,Q,E,{endStream:!1,signal:C})))?(ed(c),!1):(eL(w,B),!0):null==(w=eP(e,t,c,Q,E,{endStream:!1,signal:C}))?(ed(c),!1):(eL(w,B),!0);E[Z]=h,E[ee]="http:"===y?"http":"https";let x="PUT"===g||"POST"===g||"PATCH"===g||"QUERY"===g||"PROPFIND"===g||"PROPPATCH"===g,R=B.body;R&&"function"==typeof R.read&&R.read(0);let v=o.bodyLength(R);if(o.isFormDataLike(R)){let[e,t]=(i??=r(4626).extractBody)(R);E["content-type"]=t,R=e.stream,v=e.length}if(null==v&&(v=t.contentLength),0!==v||x||(v=null),"GET"!==g&&"HEAD"!==g&&"OPTIONS"!==g&&"TRACE"!==g&&"CONNECT"!==g&&v>0&&null!=t.contentLength&&t.contentLength!==v){if(e[N])return o.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=v&&(s(R||0===v,"no body must not have content length"),E[et]=`${v}`),ec(c),z.sendHeaders.hasSubscribers){let e="";for(let t in E)e+=`${t}: ${E[t]}\r +`;z.sendHeaders.publish({request:t,headers:e,socket:c[b]})}let M=null===R||0===v;return B.body=R,B.contentLength=v,B.expectsPayload=x,f&&(E[er]="100-continue"),null!=(w=eP(e,t,c,Q,E,{endStream:M,signal:C}))&&(w[G]=!0,w[j]=B,B.stream=w,eu(c),++c[V],n&&w.setTimeout(n),w[D]=c,w.on("close",eD),eA(t,w,eH),f&&w.once("continue",ej),w.on("response",eG),w.on("end",eq),w.on("error",ez),w.on("frameError",eV),w.on("aborted",e_),(n||a)&&w.on("timeout",eJ),w.on("trailers",eW),f||ej.call(w),!0)})(e,t),resume(){var t;let r,i;r=(t=e)[b],i=t[D],r?.destroyed===!1&&(0===t[F]||0===t[w]?ed(i):ec(i),0===t[F]&&0===i[V]?eg(i):eu(i))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===g[Y]&&e[C]>0||e[C]>=e[w])return!0;if(null!=t){if(!(e[C]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===g[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===g[Y])return!0}return!1}}}},5183(e,t,r){let i=r(4589),n=r(7030),s=r(7067),a=r(1210),{ClientStats:o}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:u,ClientDestroyedError:g}=r(8065),h=r(5010),{kUrl:p,kServerName:m,kClient:f,kBusy:C,kConnect:y,kResuming:I,kRunning:E,kPending:B,kSize:Q,kQueue:b,kConnected:N,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:x,kHostHeader:D,kPendingIdx:R,kRunningIdx:v,kError:k,kPipelining:M,kKeepAliveTimeoutValue:F,kMaxHeadersSize:U,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:O,kBodyTimeout:P,kStrictContentLength:H,kConnector:Y,kMaxRequests:G,kCounter:q,kClose:z,kDestroy:V,kDispatch:_,kLocalAddress:J,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:$,kHostAuthority:X,kHTTP2InitialWindowSize:Z,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),ei=r(8043),en=r(942),es=Symbol("kClosedResolve"),ea=s&&s.maxHeaderSize&&Number.isInteger(s.maxHeaderSize)&&s.maxHeaderSize>0?()=>s.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},eo=()=>{};function eA(e){return e[K]?.version==="h2"?e[$]:e[M]??e[K]?.defaultPipelining??1}function el(e,t){if(0===e[E]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){i(e[R]===e[v]);let r=e[b].splice(e[v]);for(let i=0;i<r.length;i++){let n=r[i];null!=n&&a.errorRequest(e,n,t)}i(0===e[Q])}}function ec(e){i(!e[S]),i(!e[K]);let{host:t,hostname:r,protocol:s,port:o}=e[p];if("["===r[0]){let e=r.indexOf("]");i(-1!==e);let t=r.substring(1,e);i(n.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:s,port:o,version:e[K]?.version,servername:e[m],localAddress:e[J]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:s,port:o,servername:e[m],localAddress:e[J]},(n,l)=>{if(n){ed(e,n,{host:t,hostname:r,protocol:s,port:o}),e[et]();return}if(e.destroyed){a.destroy(l.on("error",eo),new g),e[et]();return}i(l);try{e[K]="h2"===l.alpnProtocol?en(e,l):ei(e,l)}catch(i){l.destroy().on("error",eo),ed(e,i,{host:t,hostname:r,protocol:s,port:o}),e[et]();return}e[S]=!1,l[q]=0,l[G]=e[G],l[f]=e,l[k]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:s,port:o,version:e[K]?.version,servername:e[m],localAddress:e[J]},connector:e[Y],socket:l}),e.emit("connect",e[p],[e]),e[et]()})}catch(i){ed(e,i,{host:t,hostname:r,protocol:s,port:o}),e[et]()}}function ed(e,t,{host:r,hostname:i,protocol:n,port:s}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:i,protocol:n,port:s,version:e[K]?.version,servername:e[m],localAddress:e[J]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[b].splice(e[v],e[E]);e[R]=e[v];for(let i=0;i<r.length;i++)a.errorRequest(e,r[i],t);for(;e[B]>0&&e[b][e[R]].servername===e[m];){let r=e[b].splice(e[R],1)[0];a.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[p],[e],t)}}function eu(e){e[w]=0,e.emit("drain",e[p],[e])}function eg(e,t){2!==e[I]&&(e[I]=2,function(e,t){for(;;){if(e.destroyed)return void i(0===e[B]);if(e[es]&&!e[Q]){e[es](),e[es]=null;return}if(e[K]&&e[K].resume(),e[C])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eu(e))):eu(e);continue}if(0===e[B]||e[E]>=(eA(e)||1))return;let r=e[b][e[R]];if(null===r)return;if("https:"===e[p].protocol&&e[m]!==r.servername){if(e[E]>0)return;e[m]=r.servername,e[K]?.destroy(new u("servername changed"),()=>{e[K]=null,eg(e)})}if(e[S])return;if(!e[K])return void ec(e);if(e[K].destroyed||e[K].busy(r))return;!r.aborted&&e[K].write(r)?e[R]++:e[b].splice(e[R],1)}}(e,t),e[I]=0,e[v]>256&&(e[b].splice(0,e[v]),e[R]-=e[v],e[v]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:i,requestTimeout:s,connectTimeout:o,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:u,maxKeepAliveTimeout:g,keepAliveMaxTimeout:f,keepAliveTimeoutThreshold:C,socketPath:y,pipelining:E,tls:B,strictContentLength:Q,maxCachedSessions:N,connect:S,maxRequestsPerClient:k,localAddress:q,maxResponseSize:z,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_,maxConcurrentStreams:ei,allowH2:en,useH2c:eo,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eu}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==s)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==g)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=ea();if(null!=y&&"string"!=typeof y)throw new d("invalid socketPath");if(null!=o&&(!Number.isFinite(o)||o<0))throw new d("invalid connectTimeout");if(null!=u&&(!Number.isFinite(u)||u<=0))throw new d("invalid keepAliveTimeout");if(null!=f&&(!Number.isFinite(f)||f<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=C&&!Number.isFinite(C))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=k&&(!Number.isInteger(k)||k<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=q&&("string"!=typeof q||0===n.isIP(q)))throw new d("localAddress must be valid string IP address");if(null!=z&&(!Number.isInteger(z)||z<-1))throw new d("maxResponseSize must be a positive number");if(null!=_&&(!Number.isInteger(_)||_<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=en&&"boolean"!=typeof en)throw new d("allowH2 must be a valid boolean value");if(null!=ei&&("number"!=typeof ei||ei<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=eo&&"boolean"!=typeof eo)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eu}),"function"!=typeof S)S=h({...B,maxCachedSessions:N,allowH2:en,useH2c:eo,socketPath:y,timeout:o,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=y?{socketPath:y}:null,...null!=en?{allowH2:en}:null},r)}this[p]=a.parseOrigin(e),this[X]=`${this[p].hostname}${this[p].port?`:${this[p].port}`:""}`,this[Y]=S,this[M]=null!=E?E:1,this[U]=t,this[x]=null==u?4e3:u,this[T]=null==f?6e5:f,this[L]=null==C?2e3:C,this[F]=this[x],this[m]=null,this[J]=null!=q?q:null,this[I]=0,this[w]=0,this[D]=`host: ${this[X]}\r +`,this[P]=null!=A?A:3e5,this[O]=null!=r?r:3e5,this[H]=null==Q||Q,this[G]=k,this[es]=null,this[W]=z>-1?z:-1,this[K]=null,this[$]=null!=ei?ei:100,this[Z]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[b]=[],this[v]=0,this[R]=0,this[et]=e=>eg(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[M]}set pipelining(e){this[M]=e,this[et](!0)}get stats(){return new o(this)}get[B](){return this[b].length-this[R]}get[E](){return this[R]-this[v]}get[Q](){return this[b].length-this[v]}get[N](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[C](){let e=this[K]?.version==="h2";return!!(this[K]?.busy(null)||this[Q]>=(eA(this)||1)||this[B]>0&&!e)}[y](e){ec(this),this.once("connect",e)}[_](e,t){let r=new l(this[p].origin,e,t);return this[b].push(r),this[I]||(null==a.bodyLength(r.body)&&a.isIterable(r.body)?(this[I]=1,queueMicrotask(()=>eg(this))):this[et](!0)),this[I]&&2!==this[w]&&this[C]&&(this[w]=2),this[w]<2}[z](){return new Promise(e=>{this[Q]?this[es]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[b].splice(this[R]);for(let t=0;t<r.length;t++){let i=r[t];null!=i&&a.errorRequest(this,i,e)}let i=()=>{this[es]&&(this[es](),this[es]=null),t(null)};this[K]?(this[K].destroy(e,i),this[K]=null):queueMicrotask(i),this[et]()})}}},9779(e,t,r){let i=r(6873),{ClientDestroyedError:n,ClientClosedError:s,InvalidArgumentError:a}=r(8065),{kDestroy:o,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),u=Symbol("onDestroyed"),g=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends i{[c]=!1;[u]=null;[l]=!1;[g]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,i)=>r?t(r):e(i))});if("function"!=typeof e)throw new a("invalid callback");if(this[c]){let t=new n;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[g]?this[g].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[g]??=[],this[g].push(e);let t=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,i)=>e?r(e):t(i))});if("function"!=typeof t)throw new a("invalid callback");if(this[c])return void(this[u]?this[u].push(t):queueMicrotask(()=>t(null,null)));e||(e=new n),this[c]=!0,this[u]??=[],this[u].push(t);let r=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[o](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new a("handler must be an object");try{if(!e||"object"!=typeof e)throw new a("opts must be an object.");if(e.dispatcher)throw new a("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[u])throw new n;if(this[l])throw new s;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let i=r(8474);e.exports=class extends i{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let i=r(6873),{InvalidArgumentError:n}=r(8065),{toRawHeaders:s}=r(1210);class a{#B;constructor(e){this.#B=e}onRequestStart(e,t){this.#B.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,i){let n=e?.rawHeaders??s(r??{});this.#B.onUpgrade?.(t,n,i)}onResponseStart(e,t,r,i){let n=e?.rawHeaders??s(r??{});this.#B.onHeaders?.(t,n,()=>e.resume(),i)===!1&&e.pause()}onResponseData(e,t){this.#B.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??s(t??{});this.#B.onComplete?.(r)}onResponseError(e,t){if(!this.#B.onError)throw t;this.#B.onError(t)}onBodySent(e){this.#B.onBodySent?.(e)}onRequestSent(){this.#B.onRequestSent?.()}onResponseStarted(){this.#B.onResponseStarted?.()}}e.exports=class e extends i{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new n("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new n("handler must be an object");return"function"==typeof e.onRequestStart?e:new a(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let i=r(9779),{kClose:n,kDestroy:s,kClosed:a,kDestroyed:o,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),u=r(3614),g=r(5891),h={"http:":80,"https:":443};e.exports=class extends i{#b=null;#N=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:i,...n}=e;this[l]=new g(n);let s=t??process.env.http_proxy??process.env.HTTP_PROXY;s?this[c]=new u({...n,uri:s}):this[c]=this[l];let a=r??process.env.https_proxy??process.env.HTTPS_PROXY;a?this[d]=new u({...n,uri:a}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#x(r).dispatch(e,t)}[n](){return Promise.all([this[l].close(),!this[c][a]&&this[c].close(),!this[d][a]&&this[d].close()])}[s](e){return Promise.all([this[l].destroy(e),!this[c][o]&&this[c].destroy(e),!this[d][o]&&this[d].destroy(e)])}#x(e){let{protocol:t,host:r,port:i}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||h[t]||0,this.#D(r,i))?"https:"===t?this[d]:this[c]:this[l]}#D(e,t){if(this.#R&&this.#w(),0===this.#N.length)return!0;if("*"===this.#b)return!1;for(let r=0;r<this.#N.length;r++){let i=this.#N[r];if((!i.port||i.port===t)&&(e===i.hostname||e.slice(-(i.hostname.length+1))===`.${i.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#v,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let n=i.match(/^(.+):(\d+)$/);r.push({hostname:(n?n[1]:i).replace(/^\*?\./,"").toLowerCase(),port:n?Number.parseInt(n[2],10):0})}this.#b=e,this.#N=r}get #R(){return void 0===this.#S.noProxy&&this.#b!==this.#v}get #v(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:i}=r(8065),n=r(5183);e.exports=class extends n{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new i("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:n,...s}=t??{},a=r??100,o=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new i("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=n&&Number.isInteger(n)&&n>0&&(o=n),o>a)throw new i("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...s,maxConcurrentStreams:a,pipelining:o,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:i}=r(256),n=r(9779),s=r(9006),{kConnected:a,kSize:o,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:u,kUrl:g,kClose:h,kDestroy:p,kDispatch:m}=r(3025),f=Symbol("clients"),C=Symbol("needDrain"),y=Symbol("queue"),I=Symbol("closed resolve"),E=Symbol("onDrain"),B=Symbol("onConnect"),Q=Symbol("onDisconnect"),b=Symbol("onConnectionError"),N=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),x=Symbol("remove client");class D extends n{[y]=new s;[c]=0;[f]=[];[C]=!1;[E](e,t,r){let i=this[y],n=!1;for(;!n;){let t=i.shift();if(!t)break;this[c]--,n=!e.dispatch(t.opts,t.handler)}if(e[C]=n,!n&&this[C]&&(this[C]=!1,this.emit("drain",t,[this,...r])),this[I]&&i.isEmpty()){let e=[];for(let t=0;t<this[f].length;t++){let r=this[f][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[I])}}[B]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[b]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[C]}get[a](){let e=0;for(let{[a]:t}of this[f])e+=t;return e}get[u](){let e=0;for(let{[a]:t,[C]:r}of this[f])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[f])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[f])e+=t;return e}get[o](){let e=this[c];for(let{[o]:t}of this[f])e+=t;return e}get stats(){return new i(this)}[h](){if(!this[y].isEmpty())return new Promise(e=>{this[I]=e});{let e=[];for(let t=0;t<this[f].length;t++){let r=this[f][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[p](e){for(;;){let t=this[y].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[f].length);for(let r=0;r<this[f].length;r++)t[r]=this[f][r].destroy(e);return Promise.all(t)}[m](e,t){let r=this[N]();return r?r.dispatch(e,t)||(r[C]=!0,this[C]=!this[S]()):(this[C]=!0,this[y].push({opts:e,handler:t}),this[c]++),!this[C]}[S](){for(let e=0;e<this[f].length;e++){let t=this[f][e];if(!t[C]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[E].bind(this,e)).on("connect",this[B]).on("disconnect",this[Q]).on("connectionError",this[b]),this[f].push(e),this[C]&&queueMicrotask(()=>{this[C]&&this[E](e,e[g],[e,this])}),this}[x](e){let t=this[f].indexOf(e);-1!==t&&this[f].splice(t,1),e.close(()=>{}),this[C]=!this[f].some(e=>!e[C]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:D,kClients:f,kNeedDrain:C,kAddClient:w,kRemoveClient:x,kGetDispatcher:N,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:i,kClients:n,kNeedDrain:s,kAddClient:a,kGetDispatcher:o,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),u=r(1210),{kUrl:g}=r(3025),h=r(5010),p=Symbol("options"),m=Symbol("connections"),f=Symbol("factory");function C(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=C,connect:i,connectTimeout:s,tls:a,maxCachedSessions:o,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:y,useH2c:I,clientTtl:E,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...a,maxCachedSessions:o,allowH2:y,useH2c:I,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(B),this[m]=t||null,this[g]=u.parseOrigin(e),this[p]={...u.deepClone(B),connect:i,allowH2:y,useH2c:I,clientTtl:E,socketPath:A},this[f]=r,this.on("connect",(e,t)=>{if(null!=E&&E>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[n].indexOf(e);-1!==t&&this[n].splice(t,1)}})}[o](){let e=this[p].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return r}if(!this[m]||this[n].length<this[m]){let e=this[f](this[g],this[p]);return this[a](e),e}}[A](){let e=this[p].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return!0}if(!this[m]||this[n].length<this[m]){let e=this[f](this[g],this[p]);return this[a](e),!0}return!1}}},3614(e,t,r){let{kProxy:i,kClose:n,kDestroy:s,kDispatch:a}=r(3025),o=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:u,ProxyConnectionError:g}=r(8065),h=r(5010),p=r(5183),{channels:m}=r(6708),f=r(9741),C=Symbol("proxy agent"),y=Symbol("proxy client"),I=Symbol("proxy headers"),E=Symbol("request tls settings"),B=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),b=Symbol("connect endpoint function (http/1.1 only)"),N=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let x=()=>{};function D(e,t){return 1===t.connections?new p(e,t):new A(e,t)}class R extends l{#k;#M;constructor(e,{headers:t={},connect:r,factory:i,proxyServername:n}){if(!e)throw new c("Proxy URL is mandatory");super(),this[I]=t,this.#M=n,i?this.#k=i(e,{connect:r}):this.#k=new p(e,{connect:r})}[a](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,i,n,s){if(407===i){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,i,n,s)};let{origin:i,path:n="/",headers:s={}}=e;if(e.path=i+n,!("host"in s)&&!("Host"in s)){let{host:e}=new URL(i);s.host=e}return e.headers={...this[I],...s},null!=this.#M&&(e.servername=this.#M),this.#k[a](e,t)}[n](){return this.#k.close()}[s](e){return this.#k.destroy(e)}}function v(e){return e.length===S.length&&e.toLowerCase()===S}function k(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:n}=e;super();let s=this.#F(e),{href:a,origin:A,port:l,protocol:p,username:S,password:v,hostname:k}=s;if(this[i]={uri:a,protocol:p},this[E]=e.requestTls,this[B]=e.proxyTls,this[I]=e.headers||{},this[N]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[I]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[I]["proxy-authorization"]=e.token:S&&v?this[I]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(v)}`).toString("base64")}`:S&&(this[I]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let M=h({timeout:n,...e.proxyTls}),F=h({timeout:n,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:n,...e.requestTls}),this[b]=h({timeout:n,...e.requestTls,allowH2:!1});let U=e.factory||D,T=(t,r)=>{let{protocol:n}=new URL(t);if("socks5:"===this[i].protocol||"socks:"===this[i].protocol)return new f(this[i].uri,{headers:this[I],connect:M,factory:U,username:e.username||S,password:e.password||v,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[N]&&"http:"===n){let e="https:"===this[i].protocol?(e,t)=>F(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new u(e)):t(e,r)}):F;return new R(this[i].uri,{headers:this[I],connect:e,factory:U,proxyServername:"https:"===this[i].protocol?this[B]?.servername||k:void 0})}return U(t,r)};"socks5:"===p||"socks:"===p?this[y]=null:this[y]=t(s,{connect:M}),this[C]=new o({...e,factory:T,connect:async(e,t)=>{if(!this[y])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let i,n={origin:A,port:l,path:r,signal:e.signal,headers:{...this[I],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[B]?.servername||k},{socket:s,statusCode:a}=await this[y].connect(n);if(200!==a){s.on("error",x).destroy(),t(new d(`Proxy response (${a}) !== 200 when HTTP Tunneling`));return}if(m.proxyConnected.hasSubscribers&&m.proxyConnected.publish({socket:s,connectParams:n}),"https:"!==e.protocol)return void t(null,s);i=this[E]?this[E].servername:e.servername,(!1===e.allowH2?this[b]:this[Q])({...e,servername:i,httpSocket:s},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new u(e):"UND_ERR_SOCKET"===e.code?new g(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)v(e[r])&&k(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)v(t)&&k()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[C].dispatch({...e,headers:r},t)}#F(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[n](){let e=[this[C].close()];return this[y]&&e.push(this[y].close()),Promise.all(e)}[s](){let e=[this[C].destroy()];return this[y]&&e.push(this[y].destroy()),Promise.all(e)}}},8392(e,t,r){let i=r(6873),n=r(4166);e.exports=class extends i{#U=null;#T=null;constructor(e,t={}){super(t),this.#U=e,this.#T=t}dispatch(e,t){let r=new n({...e,retryOptions:this.#T},{dispatch:this.#U.dispatch.bind(this.#U),handler:t});return this.#U.dispatch(e,r)}close(){return this.#U.close()}destroy(){return this.#U.destroy()}}},1326(e,t,r){let{PoolBase:i,kClients:n,kNeedDrain:s,kAddClient:a,kGetDispatcher:o,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),u=r(1210),{kUrl:g}=r(3025),h=r(5010),p=Symbol("options"),m=Symbol("connections"),f=Symbol("factory"),C=Symbol("index");function y(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=y,connect:i,connectTimeout:s,tls:a,maxCachedSessions:o,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:I,clientTtl:E,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...a,maxCachedSessions:o,allowH2:I,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[m]=t||null,this[g]=u.parseOrigin(e),this[p]={...u.deepClone(B),connect:i,allowH2:I,clientTtl:E,socketPath:A},this[f]=r,this[C]=-1,this.on("connect",(e,t)=>{if(null!=E&&E>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[n].indexOf(e);-1!==t&&this[n].splice(t,1)}})}[o](){let e=this[p].clientTtl;if(0===this[n].length){let e=this[f](this[g],this[p]);return this[a](e),e}let t=0;for(;t<this[n].length;){this[C]=(this[C]+1)%this[n].length;let r=this[n][this[C]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[C]--;continue}if(!r[s])return r;t++}if(!this[m]||this[n].length<this[m]){let e=this[f](this[g],this[p]);return this[a](e),e}}[A](){let e=this[p].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[C]&&this[C]--,t--;else if(!r[s])return!0}if(!this[m]||this[n].length<this[m]){let e=this[f](this[g],this[p]);return this[a](e),!0}return!1}}},9741(e,t,r){let i,{URL:n}=r(3136),s=r(9779),{InvalidArgumentError:a}=r(8065),{Socks5Client:o,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),u=r(6334),g=r(5010),{debuglog:h}=r(7975),p=h("undici:socks5-proxy"),m=Symbol("proxy url"),f=Symbol("proxy headers"),C=Symbol("proxy auth"),y=Symbol("proxy protocol"),I=Symbol("pools"),E=Symbol("connector"),B=Symbol("request tls settings"),Q=!1;e.exports=class extends s{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new a("Proxy URL is mandatory");let r="string"==typeof e?new n(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new a("Proxy URL must use socks5:// or socks:// protocol");this[m]=r,this[f]=t.headers||{},this[y]=t.proxyTls?"https:":"http:",this[B]=t.requestTls,this[C]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[E]=t.connect||g({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[I]=new Map}async createSocks5Connection(e,t){let r=this[m].hostname,i=parseInt(this[m].port)||1080;p("creating SOCKS5 connection to",r,i);let n=Promise.withResolvers();this[E]({hostname:r,host:r,port:i,protocol:this[y]},(e,t)=>{e?n.reject(e):n.resolve(t)});let s=await n.promise,a=new o(s,this[C]);a.on("error",e=>{p("SOCKS5 error:",e),s.destroy()}),await a.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),a.removeListener("error",u),l.resolve()},u=e=>{clearTimeout(c),a.removeListener("authenticated",d),l.reject(e)};a.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(a.once("authenticated",d),a.once("error",u)),await l.promise,await a.connect(e,t);let g=Promise.withResolvers(),h=setTimeout(()=>{g.reject(Error("SOCKS5 connection timeout"))},5e3),f=r=>{p("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),a.removeListener("error",I),g.resolve()},I=e=>{clearTimeout(h),a.removeListener("connected",f),g.reject(e)};return a.once("connected",f),a.once("error",I),await g.promise,s}[l](e,t){let{origin:s}=e;p("dispatching request to",s,"via SOCKS5");try{let a=String(s),o=this[I].get(a);return(!o||o.destroyed||o.closed)&&(o=new u(s,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new n(s),a=e.hostname,o=parseInt(e.port)||("https:"===e.protocol?443:80);p("establishing SOCKS5 connection to",a,o);let A=await this.createSocks5Connection(a,o),l=A;if("https:"===e.protocol){i||(i=r(1692)),p("upgrading to TLS"),l=i.connect({...this[B],socket:A,servername:this[B]?.servername||a});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){p("SOCKS5 connection error:",e),t(e)}}}),this[I].set(a,o)),o[l](e,t)}catch(e){if(p("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[I].values())e.push(t.close());this[I].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[I].values())t.push(r.destroy(e));this[I].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let i,n=Symbol.for("undici.globalDispatcher.2"),s=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:a}=r(8065),o=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new a("Argument agent must implement Agent");try{Object.defineProperty(globalThis,n,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){i=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,s,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[n]??i}void 0===c()&&l(new o),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let i=r(1210),{parseCacheControlHeader:n,hasInvalidCacheControlDirective:s,parseVaryHeader:a,hasVaryStar:o,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let u=[200,203,204,206,300,301,308,404,405,410,414,501],g=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function p(e,t,r){f(e,{...t,path:r});for(let n=0;n<i.safeHTTPMethods.length;n++){let s=i.safeHTTPMethods[n];s!==t.method&&f(e,{...t,method:s,path:r})}}function m(e,t,r){if(void 0===r)return;let i=Array.isArray(r)?r:[r];for(let r=0;r<i.length;r++){let n=function(e,t){let r,i,n;if("string"==typeof t){try{r=new URL(e.origin),i=new URL(e.path,r),n=new URL(t,i)}catch{return}if(n.origin===r.origin)return n.pathname+n.search}}(t,i[r]);void 0!==n&&p(e,t,n)}}function f(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function C(e,t,r){304===e&&f(t,r)}e.exports=class{#L;#O;#P;#H;#B;#Y;constructor({store:e,type:t,cacheByDefault:r},i,n){this.#H=e,this.#O=t,this.#P=r,this.#L=i,this.#B=n}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#B.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#B.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,d){var y,I,E,B,Q,b,N,S,w,x;let D,R=()=>this.#B.onResponseStart?.(e,t,r,d),v=this;if(!h(i.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return y=this.#H,I=this.#L,p(y,I,I.path),m(y,I,r.location),m(y,I,r["content-location"]),R()}let k=r["cache-control"],M=r["last-modified"]&&h(u,t);if(!k&&!r.expires&&!M&&!this.#P)return 304===t&&r.vary&&A(r.vary)&&f(this.#H,this.#L),R();let F=k?n(k):{};if(E=this.#O,B=t,Q=r,b=F,N=this.#L.headers,B<200||h(g,B)||!h(u,B)&&!Q.expires&&!b.public&&void 0===b["max-age"]&&!(b.private&&"private"===E)&&(void 0===b["s-maxage"]||"shared"!==E)||b["no-store"]||"shared"===E&&!0===b.private||Q.vary&&o(Q.vary)||null!=N&&Object.hasOwn(N,"authorization")&&(!b.public&&!b["s-maxage"]&&!b["must-revalidate"]||"string"!=typeof N.authorization||Array.isArray(b["no-cache"])&&h(b["no-cache"],"authorization")||Array.isArray(b.private)&&h(b.private,"authorization"))||0){return 304===t&&(k||(S=this.#O,w=r,!0===(x=F)["no-store"]||"shared"===S&&!0===x.private||w.vary&&A(w.vary)))&&f(this.#H,this.#L),R()}let U=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return C(t,this.#H,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return C(t,this.#H,this.#L),R();let O=Math.max(L?Math.max(0,U-L.getTime()):0,T??0),P="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],H=function(e,t,r,i,n,a,o){if("shared"===e){if(s(a,"s-maxage"))return 0;let e=a["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(s(a,"max-age"))return 0;let A=a["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(i,"expires")){if("string"!=typeof i.expires)return 0;let e=c(i.expires);if(!e||t>=e.getTime())return 0;if(n){if(n>=e)return 0;let t=e.getTime()-n.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof i["last-modified"]){let e=c(i["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return a.immutable?31536e6:!0===a["no-cache"]&&o?0:void 0}(this.#O,U,T,r,L,F,P)??this.#P,Y=0===H&&P;if(void 0===H||O>=H&&!Y)return(k||void 0!==H)&&C(t,this.#H,this.#L),R();let G=U-O,q=H+G;if(U>=q&&!Y)return C(t,this.#H,this.#L),R();if(this.#L.headers&&r.vary&&!(D=a(r.vary,this.#L.headers)))return R();let z=function(e,t,r,i){let n=-1/0,s=-1/0,a=-1/0;if(r["stale-while-revalidate"]&&(n=i+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(s=i+1e3*r["stale-if-error"]),r.immutable&&n===-1/0&&s===-1/0&&(a=t+31536e6),n===-1/0&&s===-1/0&&a===-1/0){let r=i-e;return r<=0?t+864e5:i+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(i,n,s,a)}(G,U,F,q),V=function(e,t){let r,i=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let n of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t].split(",");for(let t=0;t<i.length;t++)e.push(i[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(i,e.connection),Array.isArray(t["no-cache"])&&i.push(...t["no-cache"]),Array.isArray(t.private)&&i.push(...t.private),i))Object.hasOwn(e,n)&&(r??={...e},delete r[n]);return r??e}(r,F),_={statusCode:t,statusMessage:d,headers:V,vary:D,cacheControlDirectives:F,cachedAt:G,staleAt:q,deleteAt:z};if(304===t){let t=t=>{if(!t)return R();if(_.statusCode=t.statusCode,_.statusMessage=t.statusMessage,_.etag=t.etag,_.vary=D??t.vary,_.headers={...t.headers,...V},R(),this.#Y=this.#H.createWriteStream(this.#L,_),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),i=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#B.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){v.#Y=void 0,v.#H.delete(v.#L)}).on("drain",()=>{i()}).on("close",function(){v.#Y===this&&(v.#Y=void 0)}),i()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#B.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#H.delete(this.#L)}),this.#Y.on("error",function(){v.#Y=void 0,v.#H.delete(v.#L)}).on("close",function(){v.#Y===this&&(v.#Y=void 0)}))},r=this.#H.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(_.etag=r.etag),this.#Y=this.#H.createWriteStream(this.#L,_),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){v.#Y=void 0,v.#H.delete(v.#L)}).on("close",function(){v.#Y===this&&(v.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#B.onResponseError?.(e,t)}}},7871(e,t,r){let i=r(4589);e.exports=class{#G=!1;#q;#B;#z;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#q=e,this.#B=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#z=t}onRequestUpgrade(e,t,r,i){this.#B.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,n){if(i(null!=this.#q),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#q(this.#G,this.#z,t,r),this.#q=null,this.#G)return!0;this.#B.onRequestStart?.(e,this.#z),this.#B.onResponseStart?.(e,t,r,n)}onResponseData(e,t){if(!this.#G)return this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#q){if(this.#V){this.#G=!0,this.#q(!0,this.#z),this.#q=null;return}this.#q(!1),this.#q=null}if("function"==typeof this.#B.onResponseError)this.#B.onResponseError(e,t);else throw t}}}},2645(e,t,r){let i=r(4589);e.exports=class{#B;#_=!1;#J=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#B=e}onRequestStart(...e){this.#B.onRequestStart?.(...e)}onRequestUpgrade(...e){return i(!this.#_),i(!this.#J),this.#B.onRequestUpgrade?.(...e)}onResponseStart(...e){return i(!this.#_),i(!this.#J),i(!this.#W),this.#W=!0,this.#B.onResponseStart?.(...e)}onResponseData(...e){return i(!this.#_),i(!this.#J),this.#B.onResponseData?.(...e)}onResponseEnd(...e){return i(!this.#_),i(!this.#J),this.#_=!0,this.#B.onResponseEnd?.(...e)}onResponseError(...e){return this.#J=!0,this.#B.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:i}=r(8065);e.exports=class{#j;#K=[];#$=5242880;#X=0;#Z={};#ee="";#I=!1;#et=!1;#er=!1;#ei=!1;#en=null;#es=null;constructor(e,t,r=5242880){this.#j=e,this.#es=t,this.#$=r}addWaitingHandler(e){if(this.#ei||this.#er)return!1;let t=this.#ea(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#X,this.#Z,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#K.push(t),!0}onRequestStart(e,t){this.#en=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#j.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,i){for(let n of(this.#et=!0,this.#X=t,this.#Z=r,this.#ee=i,this.#j.onResponseStart?.(e,t,r,i),this.#K)){let{handler:e,controller:s}=n;if(n.done||s.aborted){n.done=!0;continue}try{e.onResponseStart?.(s,t,r,i)}catch{}s.aborted&&(n.done=!0)}this.#eo()}onResponseData(e,t){if(!this.#I&&!this.#ei){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#K)){let{handler:e,controller:i}=r;if(r.done||i.aborted){r.done=!0;continue}if(i.paused){this.#eA(r,t);continue}try{e.onResponseData?.(i,t)}catch{}i.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#eo()}}onResponseEnd(e,t){if(!this.#I&&!this.#ei){for(let r of(this.#ei=!0,this.#j.onResponseEnd?.(e,t),this.#K)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#eo(),this.#es?.()}}onResponseError(e,t){if(!this.#ei){for(let r of(this.#I=!0,this.#ei=!0,this.#j.onResponseError?.(e,t),this.#K))this.#ec(r,t);this.#K=[],this.#es?.()}}#ea(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#ei&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#eo()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#$){let t=new i(`Deduplicated waiting handler exceeded maxBufferSize (${this.#$} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let i=e.bufferedChunks.shift();e.bufferedBytes-=i.length;try{t.onResponseData?.(r,i)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#eo(){this.#K=this.#K.filter(e=>!1===e.done)}}},7424(e,t,r){let i=r(1210),n=r(4589),{InvalidArgumentError:s}=r(8065),a=[300,301,302,303,307,308],o=()=>{};function A(e,t,r,n,s){let a=i.headerNameToString(e);return!!("host"===a||n?.has(a)||r&&s?.has(a)||t&&a.startsWith("content-"))||!!r&&("authorization"===a||"cookie"===a||"proxy-authorization"===a)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new s(`${t} must be an array`);let r=new Set;for(let n of e){if("string"!=typeof n)throw new s(`${t} must contain header names`);r.add(i.headerNameToString(n))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new s("maxRedirections must be a positive number");let i=t.dispatch.bind(t);return(t,n)=>i(t,new e(i,r,t,n))}constructor(e,t,r,n){if(null!=t&&(!Number.isInteger(t)||t<0))throw new s("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new s("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:a,stripHeadersOnRedirect:o,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=i.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(o,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=n,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",o)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",o)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)||-1===a.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:u,search:g}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=g?`${u}${g}`:u,p=`${d}${h}`;for(let e of this.history)if(e.toString()===p)throw new s(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,s,a){let o=[];if(Array.isArray(e))for(let i=0;i<e.length;i+=2)A(e[i],t,r,s,a)||o.push(e[i],e[i+1]);else if(e&&"object"==typeof e)for(let[n,l]of i.hasSafeIterator(e)?e:Object.entries(e))A(n,t,r,s,a)||o.push(n,l);else n(null==e,"headers must be an object or an array");return o}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let i=r(4589),{kRetryHandlerDefaultRetry:n}=r(3025),{RequestRetryError:s}=r(8065),{isDisturbed:a,parseRangeHeader:o,wrapRequestBody:A}=r(1210);function l(e,t,r,i){let n=e["content-length"];if(null==n||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let a=Number(n),o=t.end-t.start+1;if(!Number.isFinite(a)||a!==o)throw new s("Content-Length mismatch",r,{headers:e,data:{count:i}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:i}){let{retryOptions:s,...a}=t,{retry:o,maxRetries:l,maxTimeout:d,minTimeout:u,timeoutFactor:g,methods:h,errorCodes:p,retryAfter:m,statusCodes:f,throwOnError:C}=s??{};this.error=null,this.dispatch=r,this.handler=i,this.opts={...a,body:A(t.body)},this.retryOpts={throwOnError:C??!0,retry:o??e[n],retryAfter:m??!0,maxTimeout:d??3e4,minTimeout:u??500,timeoutFactor:g??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:f??[500,502,503,504,429],errorCodes:p??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,i,n){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)):this.error=n);if(a(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}e.pause(),this.retryOpts.retry(n,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(s){if(s){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i),e.resume();return}this.error=n,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,i)}static[n](e,{state:t,opts:r},i){let{statusCode:n,code:s,headers:a}=e,{method:o,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:u,statusCodes:g,errorCodes:h,methods:p}=A,{counter:m}=t;if(s&&"UND_ERR_REQ_RETRY"!==s&&!h.includes(s)||Array.isArray(p)&&!p.includes(o)||null!=n&&Array.isArray(g)&&!g.includes(n)||m>l)return void i(e);let f=a?.["retry-after"];if(f){let e;f=Number.isNaN(f=Number(f))?isNaN(e=new Date(a["retry-after"]).getTime())?null:e-Date.now():1e3*f}setTimeout(()=>i(null),0===f?0:f>0?Math.min(f,d):Math.min(c*u**(m-1),d))}onResponseStart(e,t,r,n){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let i=new s("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,n,i);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new s("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=o(r["content-range"]);if(!e)throw new s("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new s("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:n,size:a,end:A=a?a-1:null}=e;i(this.start===n,"content-range mismatch"),i(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=o(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n);return}l(r,e,t,this.retryCount);let{start:s,size:a,end:A=a?a-1:null}=e;i(null!=s&&Number.isFinite(s),"content-range mismatch"),i(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=s,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}i(Number.isFinite(this.start)),i(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n)}else throw new s("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new s("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||a(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let i=r(4589),{Readable:n}=r(7075),s=r(1210),a=r(4502),o=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:u,parseCacheControlHeader:g,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:p}=r(8065),{parseHttpDate:m}=r(5859),f=()=>{};function C(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function y(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function I(e,t){try{e.delete(t)?.catch?.(f)}catch{}}function E(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&m(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function B(e,t,r,a,o,A){let l=s.isStream(r.body)?r.body:n.from(r.body??[]);i(!l.destroyed,"stream should not be destroyed"),i(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new p)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,o),l.destroyed)return;let d={...r.headers,age:String(a)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=s.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,i,n,o,l){var c,d,u,m,C;let Q;if(!l){if(o?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,i.onResponseError?.(t,r??new p)}};try{if(i.onRequestStart?.(t,null),e||(i.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;i.onResponseEnd?.(t,{})}catch(e){"function"==typeof i.onResponseError&&i.onResponseError(t,e)}return!0}return e(n,new a(t,r,i))}let b=Date.now();if(b>l.deleteAt)return e(n,new a(t,r,i));let N=Math.round((b-l.cachedAt)/1e3),S=o?.["max-age"]!==void 0&&N>=o["max-age"],w=S||(c=l,d=o,u=t.type,(Q=Date.now())>c.staleAt?!(!y(c,u)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),x=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,o,n);if(w||x){let c;if(s.isStream(n.body)&&0!==s.bodyLength(n.body))return e(n,new a(t,r,i));if(!x&&(m=l,C=t.type,!(!(c=m.cacheControlDirectives?.["stale-while-revalidate"])||y(m,C))&&Date.now()<=m.staleAt+1e3*c))return B(i,n,l,N,null,!0),queueMicrotask(()=>{let i=E(n,l);e({...n,headers:i},new a(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!y(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??o?.["stale-if-error"];e&&(d=b<l.staleAt+1e3*e)}let u=E(n,l);return e({...n,headers:u},new A((o,A,c,d)=>{if(o){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let i=g(r);return!0===i["no-store"]||"shared"===e&&!0===i.private}(t.type,d))return s.isStream(l.body)&&l.body.on("error",f).destroy(),I(t.store,r),e(n,new a(t,r,i));void 0!==d["cache-control"]&&I(t.store,r)}B(i,n,l,N,A,w)}else s.isStream(l.body)&&l.body.on("error",f).destroy()},new a(t,r,i),d))}s.isStream(n.body)&&n.body.on("error",f).destroy(),B(i,n,l,N,null,!1)}e.exports=(e={})=>{let{store:t=new o,methods:r=["GET"],cacheByDefault:i,type:n="shared",origins:a}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==a){if(!Array.isArray(a))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof a}`);for(let e=0;e<a.length;e++){let t=a[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==i&&"number"!=typeof i)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof i}`);if(void 0!==n&&"shared"!==n&&"private"!==n)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof n}`);let h={store:t,methods:r,cacheByDefault:i,type:n},p=[];for(let e=0;e<s.safeHTTPMethods.length;e++){let t=s.safeHTTPMethods[e];C(r,t)||p.push(t)}return e=>(r,i)=>{if(!r.origin||C(p,r.method))return e(r,i);if(void 0!==a){let t=r.origin.toString().toLowerCase(),n=!1;for(let e=0;e<a.length;e++){let r=a[e];if("string"==typeof r){if(r.toLowerCase()===t){n=!0;break}}else if(r.test(t)){n=!0;break}}if(!n)return e(r,i)}r={...r,headers:u(r)};let n=r.headers?.["cache-control"]?g(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let i=t.split(",");for(let e=0;e<i.length;e++)if("no-cache"===i[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(n?.["no-store"])return e(r,i);let s=d(r),o=t.get(s);return o&&"function"==typeof o.then?o.then(t=>Q(e,h,s,i,r,n,t)):Q(e,h,s,i,r,n,o)}}},9287(e,t,r){let{createInflate:i,createGunzip:n,createBrotliDecompress:s,createZstdDecompress:a}=r(8522),{pipeline:o}=r(7075),A=r(2645),l={gzip:n,"x-gzip":n,br:s,deflate:i,compress:i,"x-compress":i,zstd:a},c=[204,304],d=!1;class u extends A{#ed=[];#eu;#eg;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eg=t,this.#eh=r}#ep(e,t){return!!(!e||t<200||this.#eg.includes(t))||!!this.#eh&&!!(t>=400)}#em(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let i=t[e].trim();if(i){if(!l[i])return r.length=0,r;r.push(l[i]())}}return r}#ef(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#eC(e){let t=this.#ed[0];this.#ef(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eu)})}#ey(e){let t=this.#ed[this.#ed.length-1];this.#ef(t,e),o(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eu)})}#eI(){this.#ed.length=0}onResponseStart(e,t,r,i){let n=r["content-encoding"];if(this.#ep(n,t))return super.onResponseStart(e,t,r,i);let s=this.#em(n.toLowerCase());if(0===s.length)return this.#eI(),super.onResponseStart(e,t,r,i);this.#ed=s;let{"content-encoding":a,"content-length":o,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let i=t[e],n=(Buffer.isBuffer(i)?i.toString("latin1"):`${i}`).toLowerCase();"content-encoding"!==n&&"content-length"!==n&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#eC(e):this.#ey(e),super.onResponseStart(e,t,A,i)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eu=t,this.#ed[0].end(),this.#eI();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#eI()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,i)=>"HEAD"===r.method?t(r,i):t(r,new u(i,e))}},7870(e,t,r){let i=r(3053),n=r(1210),s=r(8241),{normalizeHeaders:a,makeCacheKey:o,makeDeduplicationKey:A}=r(8621),l=i.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:i=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!n.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(i))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof i}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),u=new Set(i.map(e=>e.toLowerCase())),g=new Map;return e=>(r,i)=>{if(!r.origin||!1===t.includes(r.method))return e(r,i);if(r={...r,headers:a(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,i)}let n=A(o(r),u),h=g.get(n);if(h)return!!h.addWaitingHandler(i)||e(r,i);let p=new s(i,()=>{g.delete(n),l.hasSubscribers&&l.publish({size:g.size,key:n,type:"removed"})},c);return g.set(n,p),l.hasSubscribers&&l.publish({size:g.size,key:n,type:"added"}),e(r,p)}}},4053(e,t,r){let{isIP:i}=r(7030),{lookup:n}=r(610),s=r(2645),{InvalidArgumentError:a,InformationalError:o}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#eE=0;#eB=new Map;constructor(e){this.#eE=e.maxItems}get size(){return this.#eB.size}get(e){return this.#eB.get(e)??null}set(e,t){this.#eB.set(e,t)}delete(e){this.#eB.delete(e)}full(){return this.size>=this.#eE}}class d{#eQ=0;#eE=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#eE=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eb,this.pick=e.pick??this.#eN,this.storage=e.storage??new c(e)}runLookup(e,t,r){let i=this.storage.get(e.hostname);if(null==i&&this.storage.full())return void r(null,e);let n={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#eE};if(null==i)this.lookup(e,n,(t,i)=>{let s;if(t||null==i||0===i.length)return void r(t??new o("No DNS entries found"));this.setRecords(e,i);let a=this.storage.get(e.hostname),A=this.pick(e,a,n.affinity);s="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${s}`))});else{let s,a=this.pick(e,i,n.affinity);if(null==a){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}s="number"==typeof a.port?`:${a.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===a.family?`[${a.address}]`:a.address}${s}`))}}#eb(e,t,r){n(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let i=new Map;for(let e of t)i.set(`${e.address}:${e.family}`,e);r(null,i.values())})}#eN(e,t,r){let i,n=null,{records:s,offset:a}=t;if(this.dualStack?(null==r&&(null==a||0x7fffffff===a?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),i=null!=s[r]&&s[r].ips.length>0?s[r]:s[4===r?6:4]):i=s[r],null==i||0===i.ips.length)return n;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let o=i.offset%i.ips.length;return null==(n=i.ips[o]??null)?n:Date.now()-n.timestamp>n.ttl?(i.ips.splice(o,1),this.pick(e,t,r)):n}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let i=r[t];if(!i)return null;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let n=i.offset%i.ips.length,s=i.ips[n]??null;return null==s||Date.now()-s.timestamp>s.ttl&&i.ips.splice(n,1),s}setRecords(e,t){let r=Date.now(),i={records:{4:null,6:null}},n=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),n=Math.min(n,e.ttl)):e.ttl=this.#eQ;let t=i.records[e.family]??{ips:[]};t.ips.push(e),i.records[e.family]=t}this.storage.set(e.hostname,i,{ttl:n})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new u(this,e,t)}}class u extends s{#eS=null;#S=null;#ew=null;#ex=null;#en=null;#eD=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:i,newOrigin:n},s){super(r),this.#ex=t,this.#eD=n,this.#S={...s},this.#eS=e,this.#ew=i}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let i="["===this.#eD.hostname[0]?4:6,n=this.#eS.pickFamily(this.#ex,i);if(null==n)return void super.onResponseError(e,t);r="number"==typeof n.port?`:${n.port}`:""!==this.#ex.port?`:${this.#ex.port}`:"";let s={...this.#S,origin:`${this.#ex.protocol}//${6===n.family?`[${n.address}]`:n.address}${r}`,headers:l(this.#ex.host,this.#S.headers)};this.#ew(s,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#ex),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new a("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new a("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new a("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new a("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new a("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new a("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new a("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let n=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let s=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==i(s.hostname)?e(t,r):(n.runLookup(s,t,(i,a)=>{if(i)return r.onResponseError(null,i);e({...t,servername:s.hostname,origin:a.origin,headers:l(s.host,t.headers)},n.getHandler({origin:s,dispatch:e,handler:r,newOrigin:a},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:i,RequestAbortedError:n}=r(8065),s=r(2645);class a extends s{#t=1048576;#ev=!1;#i=0;#en=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new i("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#E(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#E.bind(this),this.#en=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,i){let s=r["content-length"];if(null!=s&&s>this.#t)throw new n(`Response size (${s}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,i)}onResponseError(e,t){this.#ev||(t=this.#en?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#i=this.#i+t.length,this.#i>=this.#t&&(this.#ev=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#ev){if(!0===this.#en.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,i){let{dumpMaxSize:n=e}=r,s=new a({maxSize:n,signal:r.signal},i);return t(r,s)}}},7884(e,t,r){let i=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:n}={}){return s=>function(a,o){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=n,...u}=a;if(null==A||0===A)return s(a,o);let g={...u,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new i(s,A,g,o);return s(g,h)}}},3128(e,t,r){let i=r(2645),{ResponseError:n}=r(8065);class s extends i{#X;#ek;#eM;#Z;#eF;constructor(e,{handler:t}){super(t)}#eU(e){return 0===(this.#ek??"").indexOf(e)}onRequestStart(e,t){return this.#X=0,this.#ek=null,this.#eM=null,this.#Z=null,this.#eF="",super.onRequestStart(e,t)}onResponseStart(e,t,r,i){if(this.#X=t,this.#Z=r,this.#ek=r["content-type"],this.#X<400)return super.onResponseStart(e,t,r,i);(this.#eU("application/json")||this.#eU("text/plain"))&&(this.#eM=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#X<400)return super.onResponseData(e,t);this.#eF+=this.#eM?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#X>=400){let t;if(this.#eF+=this.#eM?.decode(void 0,{stream:!1})??"",this.#eU("application/json"))try{this.#eF=JSON.parse(this.#eF)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new n("Response Error",this.#X,{body:this.#eF,headers:this.#Z})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new s(t,{handler:r}))}},9620(e,t,r){let i=r(4166);e.exports=e=>t=>function(r,n){return t(r,new i({...r,retryOptions:{...e,...r.retryOptions}},{handler:n,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let i=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,i.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z6,t.t9,t.Y2,t.oC,t.mL,t.XB,t.EW,t.jJ,t.jA,t.XV,t.KO,t.aC},9896(e,t,r){let i;e=r.nmd(e);let{Buffer:n}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=n.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9mdW5jdGlvbl90YWJsZQEAC2xsaHR0cF9pbml0AAkYbGxodHRwX3Nob3VsZF9rZWVwX2FsaXZlADcMbGxodHRwX2FsbG9jAAsGbWFsbG9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ATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAygCHCICQQJrDvwBAfkBAgMEBQYHCAkKCwwNDg8QERL4ARP3ARQV9gEWF/UBGBkaGxwdHh8g/QH7ASH0ASIjJCUmJygpKivzASwtLi8wMTLyAfEBMzTwAe8BNTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5P+gFQUVJT7gHtAVTsAVXr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QwLC0HUAQwKC0HVAQwJC0HWAQwIC0HjAQwHC0HXAQwGC0HYAQwFC0HZAQwEC0HaAQwDC0HbAQwCC0HdAQwBC0HcAQshAgNAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJ/AkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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IEIAMgACABIAynaiIBEDIiAEUNKyADQQc2AhwgAyABNgIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwoCyADQQ42AhwgAyAANgIMIAMgAUEBajYCFAyIAwsgAEEVRg03QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIcDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDCcLIANBDzYCHCADIAA2AgwgAyABQQFqNgIUDIYDC0EAIQIgA0EANgIcIAMgATYCFCADQeIXNgIQIANBGTYCDAyFAwsgAEEVRg0zQQAhAiADQQA2AhwgAyABNgIUIANB1gw2AhAgA0EjNgIMDIQDCyADKAIEIQBBACECIANBADYCBCADIAAgARA0IgBFDSUgA0ERNgIcIAMgATYCFCADIAA2AgwMgwMLIABBFUYNMEEAIQIgA0EANgIcIAMgATYCFCADQdYMNgIQIANBIzYCDAyCAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQwlCyADQRI2Ahw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JAA0ACQCABLQAAQQprDgQCAAADAAsgBCABQQFqIgFHDQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyrAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqgILQcYBIQIMkAILIAEgBEYEQEHfASECDKkCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqgILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKkCC0HFASECDI8CCyABIARGBEBB3gEhAgyoAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKkCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyoAgtBxAEhAgyOAgsgASAERgRAQd0BIQIMpwILAkACQAJAAkAgAS0AAEEKaw4XAgMDAAMDAwMDAwMDAwMDAwMDAwMDAwEDCyABQQFqDAULIAFBAWohAUHDASECDI8CCyABQQFqIQEgA0Evai0AAEEBcQ0IIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKcCCyADQQA2AhwgAyABNgIUIANBjQs2AhAgA0ENNgIMQQAhAgymAgsgASAERwRAIANBDzYCCCADIAE2AgRBASECDI0CC0HcASECDKUCCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtB2wEhAgymAgsgAygCBCEAIANBADYCBCADIAAgARAtIgBFBEAgAUEBaiEBDAQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgIMQQAhAgyfAgsgA0EANgIcIAMgATYCFCADQYANNgIQIANBGzYCDEEAIQIMngILIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDJ0CC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EtAABBxgBrDgsALCwsLCwsLCwsASwLIAFBAWohAUGeASECDOQBCyABQQFqIQFBnwEhAgzjAQtBtwEhAiABIARGDfsBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQezUAGotAABHDSggAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPwBCyADQQA2AgAgBkEBaiEBQQ0MKAtBtgEhAiABIARGDfoBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDScgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPsBCyADQQA2AgAgBkEBaiEBQQwMJwtBtQEhAiABIARGDfkBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQerUAGotAABHDSYgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPoBCyADQQA2AgAgBkEBaiEBQQMMJgtBtAEhAiABIARGDfgBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQejUAGotAABHDSUgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPkBCyADQQA2AgAgBkEBaiEBQSYMJQsgASAERgRAQbMBIQIM+AELAkACQCABLQAAQdQAaw4CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz2AQsgA0EANgIAIAZBAWohAUEcDCILQbABIQIgASAERg30ASADKAIAIgAgBCABa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QgAUEBaiIBRw0ACyADIAU2AgAM7QELIANBADYCACAGQQFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADOUBCyABIARGBEBBoAEhAgzlAQtBASABLQAAQd8ARw0RGiABQQFqIQFBhwEhAgzLAQsgA0EANg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ABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzaAQsgA0EANgIAIAZBAWohAUEFDAYLQZUBIQIgASAERg3YASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGm1ABqLQAARw0FIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzZAQsgA0EANgIAIAZBAWohAUEWDAULQZQBIQIgASAERg3XASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0EIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzYAQsgA0EANgIAIAZBAWohAUEQDAQLIAEgBEYEQEGTASECDNcBCwJAAkAgAS0AAEHDAGsODAAGBgYGBgYGBgYGAQYLIAFBAWohAUH5ACECDL4BCyABQQFqIQFB+gAhAgy9AQtBkgEhAiABIARGDdUBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQaDUAGotAABHDQIgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GbHzYCECADQQY2AgxBACECDMwBC0ECIQ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+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIANBADYCHCADIAE2AhQgA0GNFDYCECADQQc2AgxBACECDKgBCwJAAkACQAJAA0AgAS0AAEGgygBqLQAAIgBBBUcEQAJAIABBAWsOBi4DBAUGAAYLQegAIQIMlAELIAQgAUEBaiIBRw0AC0H9ACECDKsBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQdsANgIcIAMgATYCFCADIAA2AgxBACECDKoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDKkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQfoANgIcIAMgATYCFCADIAA2AgxBACECDKgBCyADQQA2AhwgAyABNgIUIANB5Ag2AhAgA0EHNgIMQQAhAgynAQsgASAERg0BIAFBAWoLIQFBBiECDIwBC0H8ACECDKQBCwJAAkACQAJAA0AgAS0AAEGgyABqLQAAIgBBBUcEQCAAQQFrDgQpAgMEBQsgBCABQQFqIgFHDQALQfsAIQIMpwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMpgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMpQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMpAELIANBADYCHCADIAE2AhQgA0G8CjYCECADQQc2AgxBACECDKMBC0HPACECDIkBC0HRACECDIgBC0HnACECDIcBCyABIARGBEBB+gAhAgygAQsCQCABLQAAQQlrDgQgAAAgAAsgAUEBaiEBQeYAIQIMhgELIAEgBEYEQEH5ACECDJ8BCwJAIAEtAABBCWsOBB8AAB8AC0EAIQACQCADKAI4IgJFDQAgAigCOCICRQ0AIAMgAhEAACEACyAARQRAQeIBIQIMhgELIABBFUcEQCADQQA2AhwgAyABNgIUIANByQ02AhAgA0EaNgIM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YCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIUIANB5xE2AhAgA0EKNgIMQQAhAgx9CyABQQFqIQEgA0Evai0AAEEBcUUNcyADLQAyQYABcUUEQCADQTJqIQIgAxA1QQAhAAJAIAMoAjgiBkUNACAGKAIoIgZFDQAgAyAGEQAAIQALAkACQCAADhZNTEsBAQEBAQEBAQEBAQEBAQEBAQEAAQsgA0EpNgIcIAMgATYCFCADQawZNgIQIANBFTYCDEEAIQIMfgsgA0EANgIcIAMgATYCFCADQeULNgIQIANBETYCDEEAIQIMfQtBACEAAkAgAygCOCICRQ0AIAIoAlwiAkUNACADIAIRAAAhAAsgAEUNWSAAQRVHDQEgA0EFNgIcIAMgATYCFCADQZsbNgIQIANBFTYCDEEAIQIMfAtBywAhAgxiC0EAIQIgA0EANgIcIAMgATYCFCADQZAONgIQIANBFDYCDAx6CyADIAMvATJBgAFyOwEyDDsLIAEgBEcEQCADQRE2AgggAyABNgIEQcoAIQIMYAtB1wAhAgx4CyABI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iQAIAJFBEAgAygCDCEADAELIAMgAjYCHEEAIQAgAygCBCIBRQ0AIAMgASAEIAMoAggRAQAiAUUNACADIAQ2AhQgAyABNgIMIAEhAAsgAAu+AgECfyAAQQA6AAAgAEHkAGoiAUEBa0EAOgAAIABBADoAAiAAQQA6AAEgAUEDa0EAOgAAIAFBAmtBADoAACAAQQA6AAMgAUEEa0EAOgAAQQAgAGtBA3EiASAAaiIAQQA2AgBB5AAgAWtBfHEiAiAAaiIBQQRrQQA2AgACQCACQQlJDQAgAEEANgIIIABBADYCBCABQQhrQQA2AgAgAUEMa0EANgIAIAJBGUkNACAAQQA2AhggAEEANgIUIABBADYCECAAQQA2AgwgAUEQa0EANgIAIAFBFGtBADYCACABQRhrQQA2AgAgAUEca0EANgIAIAIgAEEEcUEYciICayIBQSBJDQAgACACaiEAA0AgAEIANwMYIABCADcDECAAQgA3AwggAEIANwMAIABBIGohACABQSBrIgFBH0sNAAsLC1YBAX8CQCAAKAIMDQACQAJAAkACQCAALQAxDgMBAAMCCyAAKAI4IgFFDQAgASgCMCIBRQ0AIAAgAREAACIBDQMLQQAPCwALIABByhk2AhBBDiEBCyABCxoAIAAoAgxFBEAgAEHeHzYCECAAQRU2AgwLCxQAIAAoAgxBFUYEQCAAQQA2AgwLCxQAIAAoAgxBFkYEQCAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsrAAJAIABBJ08NAEL//////wkgAK2IQgGDUA0AIABBAnRB0DhqKAIADwsACxcAIABBL08EQAALIABBAnRB7DlqKAIAC78JAQF/QfQtIQECQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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gIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAC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BAQweC0HCAQwdC0EBDBwLQcMBDBsLQcQBDBoLQcUBDBkLQcYBDBgLQccBDBcLQcgBDBYLQckBDBULQcoBDBQLQcsBDBMLQcwBDBILQc0BDBELQc4BDBALQc8BDA8LQdABDA4LQdEBDA0LQdIBDAwLQdMBDAsLQdQBDAoLQdUBDAkLQdYBDAgLQeMBDAcLQdcBDAYLQdgBDAULQdkBDAQLQdoBDAMLQdsBDAILQd0BDAELQdwBCyECA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAA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NASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRshAgzGAgtBHCECDMUCC0EdIQIMxAILQR4hAgzDAgtBHyECDMICC0EgIQIMwQILQSIhAgzAAgtBIyECDL8CC0ElIQIMvgILQeUAIQIMvQ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cgARw0EIAFBAWohAUHYASECDKsCCyABIARGBEBB9wEhAgzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMgAhEAACE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PCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQFqIgFH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NASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQbPUAGotAABHDQsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN8BCyADQQA2AgAgBkEBaiEBQSMMCwtBmgEhAiABIARGDd0BIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDUAGotAABHDQogAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN4BCyADQQA2AgAgBkEBaiEBQQAMCgsgASAERgRAQZkBIQIM3QELAkACQCABLQAAQcgAaw4IAAwMDAwMDAEMCyABQQFqIQFB/QAhAgzEAQsgAUEBaiEBQYABIQIMwwELIAEgBEYEQEGYASECDNwBCwJAAkAgAS0AAEHOAGsOAwALAQsLIAFBAWohAUH+ACECDMMBCyABQQFqIQFB/wAhAgzCAQsgASAERgRAQZcBIQIM2wELIAEtAABB2QBHDQggAUEBaiEBQQgMBwtBlgEhAiABIARGDdkBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQazUAGotAABHDQYgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNoBCyADQQA2AgAgBkEBaiEBQQUMBgtBlQEhAiABIARGDdgBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQabUAGotAABHDQUgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNkBCyADQQA2AgAgBkEBaiEBQRYMBQtBlAEhAiABIARGDdcBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDQQgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNgBCyADQQA2AgAgBkEBaiEBQRAMBAsgASAERgRAQZMBIQIM1wELAkACQCABLQAAQcMAaw4MAAYGBgYGBgYGBgYBBgsgAUEBaiEBQfkAIQIMvgELIAFBAWohAUH6ACECDL0BC0GSASECIAEgBEYN1QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3AC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BhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2AhQgA0GAGzYCECADQRU2AgxBACECDJEBCyADLQApIgBBI0kNACAAQS5GDQAgA0EANgIcIAMgATYCFCADQckJNgIQIANBCDYCDEEAIQIMkAELQdoAIQIMdgsgASAERgRAQesAIQIMjwELAkAgAS0AAEEvRgRAIAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBsjg2AhAgA0EINgIMQQAhAgyPAQtB2QAhAgx1CyABIARHBEAgA0EONgIIIAMgATYCBEHYACECDHULQeoAIQIMjQELIAEgBEYEQEHpACECDI0BCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHXACECDHQLIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ16IANB6AA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELIAEgBEYEQEHnACECDIwBCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgA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CEBCyAHQQE2AgAgAyAFNgIADAELIANBADYCACAHIAg2AgALIAcgATYCBCAJKAIMIQACQAJAIAkoAghBAWsOAgQBAAsgA0EANgIcIANBwh42AhAgA0EXNgIMIAMgAEEBajYCFEEAIQIMAwsgA0EANgIcIAMgADYCFCADQdceNgIQIANBCTYCDEEAIQIMAgsgASAERgRAQSghAgwCCyADQQk2AgggAyABNgIEQSchAgwBCyABIARGBEBBASECDAELA0ACQAJAAkAgAS0AAEEKaw4EAAEBAAELIAFBAWohAQwBCyABQQFqIQEgAy0ALkEgcQ0AQQAhAiADQQA2AhwgAyABNgIUIANBoSE2AhAgA0EFNgIMDAILQQEhAiABIARHDQALCyAJQRBqJAAgAkUEQCADKAIMIQAMAQsgAyACNgIcQQAhACADKAIEIgFFDQAgAyABIAQgAygCCBEBACIBRQ0AIAMgBDYCFCADIAE2AgwgASEACyAAC74CAQJ/IABBADoAACAAQeQAaiIBQQFrQQA6AAAgAEEAOgACIABBADoAASABQQNrQQA6AAAgAUECa0EAOgAAIABBADoAAyABQQRrQQA6AABBACAAa0EDcSIBIABqIgBBADYCAEHkACABa0F8cSICIABqIgFBBGtBADYCAAJAIAJBCUkNACAAQQA2AgggAEEANgIEIAFBCGtBADYCACABQQxrQQA2AgAgAkEZSQ0AIABBADYCGCAAQQA2AhQgAEEANgIQIABBADYCDCABQRBrQQA2AgAgAUEUa0EANgIAIAFBGGtBADYCACABQRxrQQA2AgAgAiAAQQRxQRhyIgJrIgFBIEkNACAAIAJqIQADQCAAQgA3AxggAEIANwMQIABCADcDCCAAQgA3AwAgAEEgaiEAIAFBIGsiAUEfSw0ACwsLVgEBfwJAIAAoAgwNAAJAAkACQAJAIAAtADEOAwEAAwILIAAoAjgiAUUNACABKAIwIgFFDQAgACABEQAAIgENAwtBAA8LAAsgAEHKGTYCEEEOIQELIAELGgAgACgCDEUEQCAAQd4fNgIQIABBFTYCDAsLFAAgACgCDEEVRgRAIABBADYCDAsLFAAgACgCDEEWRgRAIABBADYCD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;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(i||t.includes(e))&&(n||!r.includes(e))))}},6923(e,t,r){let{kClients:i}=r(3025),n=r(5891),{kAgent:s,kMockAgentSet:a,kMockAgentGet:o,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:u,kFactory:g,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:p,kMockAgentAddCallHistoryLog:m,kMockAgentMockCallHistoryInstance:f,kMockAgentAcceptsNonStandardSearchParameters:C,kMockCallHistoryAddLog:y,kIgnoreTrailingSlash:I}=r(4779),E=r(375),B=r(8182),{matchValue:Q,normalizeSearchParams:b,buildAndValidateMockOptions:N,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:x}=r(8065),D=r(6873),R=r(1908),{MockCallHistory:v}=r(2137);e.exports=class extends D{constructor(e={}){super(e);let t=N(e);if(this[c]=!0,this[l]=!0,this[p]=t.enableCallHistory??!1,this[C]=t.acceptNonStandardSearchParameters??!1,this[I]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new n(e);this[s]=r,this[i]=r[i],this[u]=t,this[p]&&this[h]()}get(e){let t=S(e),r=this[I]?t.replace(/\/$/,""):t,i=this[o](r);return i||(i=this[g](r),this[a](r,i)),i}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[m](e);let r=this[C],i={...e};if(r&&i.path){let[e,t]=i.path.split("?"),n=b(t,r);i.path=`${e}?${n}`}return this[s].dispatch(i,t)}async close(){this.clearCallHistory(),await this[s].close(),this[i].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[p]=!0,this}disableCallHistory(){return this[p]=!1,this}getCallHistory(){return this[f]}clearCallHistory(){void 0!==this[f]&&this[f].clear()}get isMockActive(){return this[l]}[h](){void 0===this[f]&&(this[f]=new v)}[m](e){this[p]&&(this[h](),this[f][y](e))}[a](e,t){this[i].set(e,t)}[g](e){let t=Object.assign({agent:this},this[u]);return this[u]&&1===this[u].connections?new E(e,t):new B(e,t)}[o](e){let t=this[i].get(e);if(t)return t;if("string"!=typeof e){let t=this[g]("http://localhost:9999");return this[a](e,t),t}for(let[t,r]of Array.from(this[i]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[g](e);return this[a](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[i].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new x(1===t.length?`1 interceptor is pending: ${e.format(t)}`.trim():`${t.length} interceptors are pending: -${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:n}=r(4779),{InvalidArgumentError:i}=r(8065);function s(e,t,r,n,s){switch(t.operator){case"OR":return n.push(...r(e,s)),n;case"AND":return r(e,n);default:throw new i("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function o(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new i(`${e} parameter should be one of string, regexp, undefined or null`)}}class a{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new i("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new i("nthCall must be called with a number");if(!Number.isInteger(e))throw new i("nthCall must be called with an integer");if(1!==Math.sign(e))throw new i("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new i("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},n="AND"===r.operator?this.logs:[];return"protocol"in e&&(n=s(e.protocol,r,this.filterCallsByProtocol,n,this.logs)),"host"in e&&(n=s(e.host,r,this.filterCallsByHost,n,this.logs)),"port"in e&&(n=s(e.port,r,this.filterCallsByPort,n,this.logs)),"origin"in e&&(n=s(e.origin,r,this.filterCallsByOrigin,n,this.logs)),"path"in e&&(n=s(e.path,r,this.filterCallsByPath,n,this.logs)),"hash"in e&&(n=s(e.hash,r,this.filterCallsByHash,n,this.logs)),"fullUrl"in e&&(n=s(e.fullUrl,r,this.filterCallsByFullUrl,n,this.logs)),"method"in e&&(n=s(e.method,r,this.filterCallsByMethod,n,this.logs)),[...new Set(n)]}throw new i("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=o.call(this,"protocol");filterCallsByHost=o.call(this,"host");filterCallsByPort=o.call(this,"port");filterCallsByOrigin=o.call(this,"origin");filterCallsByPath=o.call(this,"path");filterCallsByHash=o.call(this,"hash");filterCallsByFullUrl=o.call(this,"fullUrl");filterCallsByMethod=o.call(this,"method");clear(){this.logs=[]}[n](e){let t=new a(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=a},375(e,t,r){let{promisify:n}=r(7975),i=r(5183),{buildMockDispatch:s}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends i{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await n(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},8531(e,t,r){let{UndiciError:n}=r(8065),i=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class s extends n{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}e.exports={MockNotMatchedError:s}},1585(e,t,r){let{getResponseData:n,buildKey:i,addMockDispatch:s}=r(6927),{kDispatches:o,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:g}=r(4779),{InvalidArgumentError:u}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:m}}=r(7975);class p{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new u("opts must be an object");if(void 0===e.path)throw new u("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[a]=i(e),this[o]=t,this[g]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let i=n(t),s=this[c]?{"content-length":i.length}:{};return{statusCode:e,data:t,headers:{...this[A],...s,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new u("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new u("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new u("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new p(s(this[o],this[a],r=>{let n=e(r);return m(n)?n.then(t):t(n)},{ignoreTrailingSlash:this[g]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new p(s(this[o],this[a],r,{ignoreTrailingSlash:this[g]}))}replyWithError(e){if(void 0===e)throw new u("error must be defined");return new p(s(this[o],this[a],{error:e},{ignoreTrailingSlash:this[g]}))}defaultReplyHeaders(e){if(void 0===e)throw new u("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new u("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:n}=r(7975),i=r(6334),{buildMockDispatch:s}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends i{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await n(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:n}=r(8531),{kDispatches:i,kMockAgent:s,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:g}=r(7067),{types:{isPromise:u}}=r(7975),{InvalidArgumentError:h}=r(8065);function m(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function C(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):p(e)[t.toLocaleLowerCase()]}function f(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function I(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=f(t)),e.headers(t?p(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,n]of Object.entries(e.headers))if(!m(n,C(t,r)))return!1;return!0}function E(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function y(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function B(e,t){let r=t.query?c(t.path,t.query):t.path,i="string"==typeof r?E(r):r,s=N(i),o=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?m(N(E(e)),s):m(E(e),i));if(0===o.length)throw new n(`Mock dispatch not matched for path '${i}'`);if(0===(o=o.filter(({method:e})=>m(e,t.method))).length)throw new n(`Mock dispatch not matched for method '${t.method}' on path '${i}'`);if(0===(o=o.filter(({body:e})=>void 0===e||m(e,t.body))).length)throw new n(`Mock dispatch not matched for body '${t.body}' on path '${i}'`);if(0===(o=o.filter(e=>I(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new n(`Mock dispatch not matched for headers '${e}' on path '${i}'`)}return o[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:n,headers:i}){let s=m(e.path,t),o=m(e.method,r),a=void 0===e.body||m(e.body,n),A=I(e,i);return s&&o&&a&&A}(e,t));-1!==r&&e.splice(r,1)}function N(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function b(e){let{path:t,method:r,body:n,headers:i,query:s}=e;return{path:t,method:r,body:n,headers:i,query:s}}function S(e){let t=Object.keys(e),r=[];for(let n=0;n<t.length;++n){let i=t[n],s=e[i],o=Buffer.from(`${i}`);if(Array.isArray(s))for(let e=0;e<s.length;++e)r.push(o,Buffer.from(`${s[e]}`));else r.push(o,Buffer.from(`${s}`))}return r}function w(e){return g[e]||"unknown"}function D(e,t){let r=b(e),n=B(this[i],r),s=this[i];n.timesInvoked++;let{timesInvoked:o,times:a}=n;if(n.consumed=!n.persist&&o>=a,n.pending=o<a,n.data.callback){let i=n.data.callback(e);if(u(i))return i.then(i=>{n.data={...n.data,...i},x(s,n,r,e,t)},e=>{Q(s,r),t.onResponseError(null,e)}),!0;n.data={...n.data,...i}}return x(s,n,r,e,t)}function x(e,t,r,n,i){let{data:{statusCode:s,data:o,headers:a,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),i.onResponseError(null,l),!0;let g=!1,h=null,m={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{g||(g=!0,null!==h&&(clearTimeout(h),h=null),i.onResponseError?.(m,e))}};function p(e,t=o){if(g)return;let l=Array.isArray(n.headers)?f(n.headers):n.headers,c="function"==typeof t?t({...n,headers:l}):t;if(u(c))return c.then(t=>p(e,t));if(g)return;let h=y(c),C=S(a),I=S(A);m.rawHeaders=C,m.rawTrailers=I,i.onResponseStart?.(m,s,d(C),w(s)),i.onResponseData?.(m,Buffer.from(h)),i.onResponseEnd?.(m,d(I)),Q(e,r)}return i.onRequestStart?.(m,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,p(e)},c):p(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>m(e,r.host)))}e.exports={getResponseData:y,getMockDispatch:B,addMockDispatch:function(e,t,r,n){let i={timesInvoked:0,times:1,persist:!1,consumed:!1,...n},s="function"==typeof r?{callback:r}:{...r},o={...i,...t,pending:!0,data:{error:null,...s}};return e.push(o),e[l]=(e[l]||0)+1,o},deleteMockDispatch:Q,buildKey:b,generateKeyValues:S,matchValue:m,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:D,buildMockDispatch:function(){let e=this[s],t=this[a],r=this[o];return function(s,o){if(e.isMockActive)try{D.call(this,s,o)}catch(a){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===a.code){let c=e[A](),d=this[i][l]||this[i].length,g=this[i].filter(({consumed:e})=>!e).length,u=`, ${g} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new n(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${u}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in s?{...s,body:s.__mockAgentBodyForDispatch}:s,o);else throw new n(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${u}`)}else throw a}else r.call(this,s,o)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:C,buildHeadersFromArray:f,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,n]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(n)){r.append(e,n);continue}if(n.includes(",")){for(let t of n.split(","))r.append(e,t);continue}r.append(e,n)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:n}=r(7075),{Console:i}=r(7540),s=process.versions.icu?"✅":"Y ",o=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new n({transform(e,t,r){r(null,e)}}),this.logger=new i({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:n,times:i,timesInvoked:a,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:n?s:o,Invocations:a,Remaining:n?1/0:i-a}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let n=r(5891),i=r(6923),{SnapshotRecorder:s}=r(2152),{InvalidArgumentError:o,UndiciError:a}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),g=Symbol("kSnapshotPath"),u=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),m=!1;e.exports=class extends i{constructor(e={}){m||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),m=!0);let{mode:t="record",snapshotPath:r=null,...i}=e;if(super(i),l(t),("playback"===t||"update"===t)&&!r)throw new o(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[g]=r,this[c]=new s({snapshotPath:this[g],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[u]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new n(e)),("playback"===this[d]||"update"===this[d])&&this[g]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[u])return this.#eT(e,t);let n=this[c].findSnapshot(e);if(n)return this.#eL(n,t);{if("update"===r)return this.#eO(e,t);let n=new a(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,n);throw n}}if("record"===r)return this.#eO(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eO(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},n=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,n,i)=>t.onRequestUpgrade(e,r,n,i),onResponseStart:(e,n,i,s)=>(r.statusCode=n,r.headers=i,t.onResponseStart(e,n,i,s)),onResponseData:(e,n)=>(r.body.push(n),t.onResponseData(e,n)),onResponseEnd(i,s){r.trailers=s;let o=Buffer.concat(r.body);n[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:o,trailers:r.trailers}).then(()=>t.onResponseEnd(i,s)).catch(e=>t.onResponseError(i,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,n=r.headers?A.toRawHeaders(r.headers):[],i=r.trailers?A.toRawHeaders(r.trailers):[],s={rawHeaders:n,rawTrailers:i,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(s),t.onResponseStart(s,r.statusCode,r.headers,r.statusMessage);let o=Buffer.from(r.body,"base64");t.onResponseData(s,o),t.onResponseEnd(s,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[g]),this[u]=!0,"playback"===this[d]&&this.#eH()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[g])}#eH(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:n}=e,i=new URL(t.url),s=this.get(i.origin),o=r?r[0]:n;o&&s.intercept({path:i.pathname+i.search,method:t.method,headers:t.headers,body:t.body}).reply(o.statusCode,o.body,{headers:o.headers,trailers:o.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:n,readFile:i,mkdir:s}=r(1455),{dirname:o,resolve:a}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:g,isUrlExcludedFactory:u,normalizeHeaders:h,createHeaderFilters:m}=r(289);function p(e,t,r={}){var n,i,s;let o=new URL(e.path,e.origin),a=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=a),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(o,r.matchQuery,r.normalizeQuery),headers:C(a,t,r),body:(n=e.body,i=r.matchBody,s=r.normalizeBody,!1===i?"":s?String(s(n)??""):n?String(n):"")}}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:n=!1}=r,i={},{ignore:s,exclude:o,match:a}=t;for(let[t,r]of Object.entries(e)){let e=n?t:t.toLowerCase();!(o.has(e)||s.has(e))&&(0===a.size||a.has(e))&&(i[e]=r)}return i}function f(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:n=!1}=r,i={},{exclude:s}=t;for(let[t,r]of Object.entries(e)){let e=n?t:t.toLowerCase();s.has(e)||(i[e]=r)}return i}function I(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let n=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),n.sort()))t.push(String(e))}return t.push(e.body),g(t.join("|"))}class E{#eP;#eY;#eG=new Map;#ez;#eq=1/0;#eV=!1;#e_;constructor(e={}){this.#ez=e.snapshotPath,this.#eq=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#e_=m(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=u(e.excludeUrls),this.#eV&&this.#ez&&this.#eJ()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=p(e,this.#e_,this.matchOptions),n=I(r),i=h(t.headers),s={statusCode:t.statusCode,headers:f(i,this.#e_,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#eq&&!this.#eG.has(n)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let o=this.#eG.get(n);o&&o.responses?(o.responses.push(s),o.timestamp=new Date().toISOString()):this.#eG.set(n,{request:r,responses:[s],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#ez&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=I(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let n=r.callCount||0,i=Math.min(n,r.responses.length-1);return r.callCount=n+1,{...r,response:r.responses[i]}}async loadSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");try{let e=await i(a(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");let r=a(t);await s(o(r),{recursive:!0});let i=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await n(r,JSON.stringify(i,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=I(p(e,this.#e_,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=I(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#eJ(){return this.#eW()}#ej(){this.#eP&&(l(this.#eP),this.saveSnapshots().catch(()=>{}),this.#eP=null)}#eW(){this.#eP=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eP?.refresh():this.#eP=null},1e3)}destroy(){this.#ej(),this.#eP&&(l(this.#eP),this.#eP=null)}async close(){this.#ez&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:E,formatRequestKey:p,createRequestHash:I,filterHeadersForMatching:C,filterHeadersForStorage:f,createHeaderFilters:m}},289(e,t,r){let{InvalidArgumentError:n}=r(8065),{runtimeFeatures:i}=r(6979),s=i.has("crypto")?r(7598):null,o=s?.hash?e=>s.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function a(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:n=[],caseSensitive:i=!1}=e;return{ignore:new Set(t.map(e=>i?e:e.toLowerCase())),exclude:new Set(r.map(e=>i?e:e.toLowerCase())),match:new Set(n.map(e=>i?e:e.toLowerCase()))}},hashId:o,isUndiciHeaders:a,normalizeHeaders:function(e){let t={};if(!e)return t;if(a(e)){for(let r=0;r<e.length;r+=2){let n=e[r],i=e[r+1];if(n&&void 0!==i){let e=Buffer.isBuffer(n)?n.toString():n,r=Buffer.isBuffer(i)?i.toString():i;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,n]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(n)?n.join(", "):String(n));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let n of e)if("string"==typeof n){if(r||(r=t.toLowerCase()),r.includes(n.toLowerCase()))return!0}else if(n instanceof RegExp&&n.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new n(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:n,pathHasQueryOrFragment:i,hasSafeIterator:s,isValidHTTPToken:o}=r(1210),{serializePathWithQuery:a}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function g(e){return e.replace(/^[\t ]+/,"")}function u(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let n=t;n<e.length;n++)if(r)r=!1;else if("\\"===e[n])r=!0;else if('"'===e[n])return n;return -1}function m(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function p(e,t,r){let n=t.toLowerCase(),i=e[n],s=Array.isArray(r)?r:[r];void 0===i?e[n]=Array.isArray(r)?r.slice():r:Array.isArray(i)?i.push(...s):e[n]=[i,...s]}function C(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let n=t[e].split(",");for(let e=0;e<n.length;e++)r.push(n[e])}return r}function f(e){let t=C(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function I(e,t){if(f(e))return t;let r={};for(let n of C(e)){let e=c(n).toLowerCase();if(0===e.length)continue;if(!o(e))return;let i=t[e];r[e]=Array.isArray(i)?i.slice():i??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!i(t)&&(t=a(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},s(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,n]=r;if("string"!=typeof e||"string"!=typeof n)throw Error("opts.headers is not a valid header map");p(t,e,n)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let n=0;n<r;n+=2){let r=e.headers[n],i=e.headers[n+1];if("string"!=typeof r||"string"!=typeof i&&!Array.isArray(i))throw Error("opts.headers is not a valid header map");if("string"==typeof i)p(t,r,i);else{let e=[];for(let t=0;t<i.length;t++){let r=i[t];e.push("string"==typeof r?r:r.toString("latin1"))}p(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,n]=r;if("string"!=typeof e||"string"!=typeof n)throw Error("opts.headers is not a valid header map");p(t,e,n)}else for(let r of Object.keys(e.headers))p(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,n=new Set,i=function(e){let t=[],r=0,n=-1,i=!1,s=!1;for(let o=0;o<e.length;o++)i?s?s=!1:"\\"===e[o]?s=!0:'"'===e[o]&&(i=!1,n=-1):'"'===e[o]?(i=!0,n=o):","===e[o]&&(t.push({value:e.substring(r,o),fromMalformedQuote:!1}),r=o+1);if(!i)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let o=e.substring(r),a=n-r,A=0;for(let e=0;e<o.length;e++)","===o[e]&&(t.push({value:o.substring(A,e),fromMalformedQuote:A>a}),A=e+1);return t.push({value:o.substring(A),fromMalformedQuote:A>a}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<i.length;e++){let s,a,l=i[e],p=l.value.toLowerCase(),C=l.fromMalformedQuote,f=p.indexOf("="),I=!1,E=!1;if(-1!==f){let e=p.substring(0,f),t=p.substring(f+1);I=u(e)!==e,E=g(t)!==t,s=c(e),a=g(t)}else s=c(p);let y=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!o(e[t.length]))return t;let t="",r=!1;for(let n=0;n<e.length;n++)o(e[n])?t+=e[n]:r=!0;if(r&&d(A,t))return t}(s);if(void 0!==y){t[y]=!0;continue}switch(s){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(C||r.has(s))continue;if(void 0===a||I||E||(a.length>=2&&'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),!/^[0-9]+$/.test(a))){delete t[s],r.add(s),m(t,s);continue}let e=Math.min(parseInt(a,10),0x7fffffff);"min-fresh"===s?s in t&&!(t[s]<e)||(t[s]=e):s in t&&!(t[s]>e)||(t[s]=e);break}case"private":case"no-cache":if(C||void 0!==a&&0===a.length){t[s]=!0;break}if(a){if('"'===a[0]){a=u(a);let r="",n=e,A=!1,l=h(a,1);if(-1!==l)r=a.substring(1,l),A=!0;else{let t=[a.substring(1)];for(let r=e+1;r<i.length;r++){let e=c(i[r].value),s=h(e,0);if(n=r,-1!==s){t.push(e.substring(0,s)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[s]=!0;break}e=n;let d=r.split(","),g=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),o(d[e])||(g=!1);g?!0!==t[s]&&(s in t?t[s]=t[s].concat(d):t[s]=d):t[s]=!0}else{let e=c(a);o(e)?!0!==t[s]&&(s in t?t[s]=t[s].concat(e):t[s]=[e]):t[s]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(C||n.has(s))continue;if(void 0!==a){delete t[s],n.add(s);continue}t[s]=!0;break;case"no-store":t[s]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:I,hasVaryStar:f,isInvalidOrWildcardVaryHeader:function(e){return f(e)||void 0===I(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(n,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${n.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let n of Object.keys(e.headers).sort())t?.has(n.toLowerCase())||(r[n]=e.headers[n]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,n,i,s,o){let a=new Date(Date.UTC(e,t,r,n,i,s));return e>=0&&e<=99&&a.setUTCFullYear(e),a.getUTCFullYear()===e&&a.getUTCMonth()===t&&a.getUTCDate()===r&&a.getUTCHours()===n&&a.getUTCMinutes()===i&&a.getUTCSeconds()===s&&a.getUTCDay()===o?a:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let n=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;n=(t-48)*10+(r-48)}let i=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])i=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])i=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])i=2;else{if("y"!==e[10])return;i=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])i=0;else if("u"!==e[9])return;else if("n"===e[10])i=5;else{if("l"!==e[10])return;i=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])i=3;else{if("u"!==e[9]||"g"!==e[10])return;i=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])i=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])i=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])i=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;i=11}let s=e.charCodeAt(12);if(s<48||s>57)return;let o=e.charCodeAt(13);if(o<48||o>57)return;let a=e.charCodeAt(14);if(a<48||a>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((s-48)*1e3+(o-48)*100+(a-48)*10+(A-48),i,n,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let n=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])n=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])n=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])n=2;else{if("y"!==e[6])return;n=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])n=0;else if("u"!==e[5])return;else if("n"===e[6])n=5;else{if("l"!==e[6])return;n=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])n=3;else{if("u"!==e[5]||"g"!==e[6])return;n=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])n=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])n=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])n=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;n=11}let i=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let s=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;s=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;s=(t-48)*10+(r-48)}let o=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let a=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),n,i,s,o,a,r)}(e);default:return function(e){let r=-1,n=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(n=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(n=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])n=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(n=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(n=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])n=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;n=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let i=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let n=e.charCodeAt(r+3);if(n<48||n>57)return;i=(t-48)*10+(n-48)}let s=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])s=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])s=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])s=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])s=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])s=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])s=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])s=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])s=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])s=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])s=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])s=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;s=11}let o=e.charCodeAt(r+9);if(o<48||o>57)return;let a=e.charCodeAt(r+10);if(a<48||a>57)return;let A=(o-48)*10+(a-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let n=e.charCodeAt(r+13);if(n<48||n>57||50===t&&n>51)return;l=(t-48)*10+(n-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let n=e.charCodeAt(r+16);if(n<48||n>57)return;c=(t-48)*10+(n-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let n=e.charCodeAt(r+19);if(n<48||n>57)return;d=(t-48)*10+(n-48)}return t(A,s,i,l,c,d,n)}(e)}}}},6979(e,t,r){let n={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},i=["crypto","sqlite"];class s{#eK=new Map;clear(){this.#eK.clear()}has(e){return this.#eK.get(e)??this.#eX(e)}set(e,t){if(!1===i.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eK.set(e,t)}#eX(e){let t=function(e){if(i.includes(e)){var t=`node:${e}`;try{return n[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eK.set(e,t),t}}let o=new s;e.exports.runtimeFeatures=o},256(e,t,r){let{kConnected:n,kPending:i,kRunning:s,kSize:o,kFree:a,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[n],this.pending=e[i],this.running=e[s],this.size=e[o]}},PoolStats:class{constructor(e){this.connected=e[n],this.free=e[a],this.pending=e[i],this.queued=e[A],this.running=e[s],this.size=e[o]}}}},2297(e){let t,r=0,n=Symbol("kFastTimer"),i=[];function s(){r+=499;let e=0,t=i.length;for(;e<t;){let n=i[e];0===n._state?(n._idleStart=r-499,n._state=1):1===n._state&&r>=n._idleStart+n._idleTimeout&&(n._state=-1,n._idleStart=-1,n._onTimeout(n._timerArg)),-1===n._state?(n._state=-2,0!=--t&&(i[e]=i[t])):++e}i.length=t,0!==i.length&&o()}function o(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(s,499),t?.unref())}class a{[n]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&i.push(this),t&&1!==i.length||o(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new a(e,t,r),clearTimeout(e){e[n]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new a(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,s(),s()},reset(){r=0,i.length=0,clearTimeout(t),t=null},kFastTimer:n}},1044(e,t,r){let n=r(4589),{kConstruct:i}=r(3025),{urlEquals:s,getFieldValues:o}=r(8220),{kEnumerableProperty:a,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:g}=r(165),{Request:u,fromInnerRequest:h,getRequestState:m}=r(9553),{fetching:p}=r(7564),{urlIsHttpHttpsScheme:C,readAllBytes:f}=r(638);class I{#eZ;constructor(){arguments[0]!==i&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eZ=arguments[1]}async match(e,t={}){l.brandCheck(this,I);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let n=this.#e$(e,t,1);if(0!==n.length)return n[0]}async matchAll(e,t={}){return l.brandCheck(this,I),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#e$(e,t)}async add(e){l.brandCheck(this,I),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,I);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],n=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=m(r);if(!C(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let i=[];for(let s of e){let e=m(new u(s));if(!C(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",n.push(e);let a=Promise.withResolvers();i.push(p({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of o(e.headersList.get("vary")))if("*"===t){for(let e of(a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),i))e.abort();return}}},processResponseEndOfBody(e){e.aborted?a.reject(new DOMException("aborted","AbortError")):a.resolve(e)}})),r.push(a.promise)}let s=Promise.all(r),a=await s,A=[],c=0;for(let e of a){let t={type:"put",request:n[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),g=null;try{this.#e0(A)}catch(e){g=e}return queueMicrotask(()=>{null===g?d.resolve(void 0):d.reject(g)}),d.promise}async put(e,t){l.brandCheck(this,I);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let n=null;if(!C((n=l.is.Request(e)?m(e):m(new u(e))).url)||"GET"!==n.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let i=g(t);if(206===i.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(i.headersList.contains("vary")){for(let e of o(i.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(i.body&&(A(i.body.stream)||i.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let s=c(i),a=Promise.withResolvers();null!=i.body?f(i.body.stream.getReader(),a.resolve,a.reject):a.resolve(void 0);let d=[],h={type:"put",request:n,response:s};d.push(h);let p=await a.promise;null!=s.body&&(s.body.source=p);let E=Promise.withResolvers(),y=null;try{this.#e0(d)}catch(e){y=e}return queueMicrotask(()=>{null===y?E.resolve():E.reject(y)}),E.promise}async delete(e,t={}){let r;l.brandCheck(this,I);let i="Cache.delete";l.argumentLengthCheck(arguments,1,i),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,i,"options");let s=null;if(l.is.Request(e)){if("GET"!==(s=m(e)).method&&!t.ignoreMethod)return!1}else n("string"==typeof e),s=m(new u(e));let o=[],a={type:"delete",request:s,options:t};o.push(a);let A=Promise.withResolvers(),c=null;try{r=this.#e0(o)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,I),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=m(new u(e)));let n=Promise.withResolvers(),i=[];if(void 0===e)for(let e of this.#eZ)i.push(e[0]);else for(let e of this.#e1(r,t))i.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of i){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}n.resolve(Object.freeze(e))}),n.promise}#e0(e){let t=this.#eZ,r=[...t],i=[],s=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,i).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);n(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let s=r.request;if(!C(s.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==s.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let i of e=this.#e1(r.request)){let e=t.indexOf(i);n(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),i.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){throw this.#eZ.length=0,this.#eZ=r,e}}#e1(e,t,r){let n=[];for(let i of r??this.#eZ){let[r,s]=i;this.#e2(e,r,s,t)&&n.push(i)}return n}#e2(e,t,r=null,n){let i=new URL(e.url),a=new URL(t.url);if(n?.ignoreSearch&&(a.search="",i.search=""),!s(i,a,!0))return!1;if(null==r||n?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let n of o(r.headersList.get("vary")))if("*"===n||t.headersList.get(n)!==e.headersList.get(n))return!1;return!0}#e$(e,t,r=1/0){let n=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(n=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(n=m(new u(e)));let i=[];if(void 0===e)for(let e of this.#eZ)i.push(e[1]);else for(let e of this.#e1(n,t))i.push(e[1]);let s=[];for(let e of i){let t=d(c(e),"immutable");if(s.push(t),s.length>=r)break}return Object.freeze(s)}}Object.defineProperties(I.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let E=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(E),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...E,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:I}},3691(e,t,r){let{Cache:n}=r(1044),{webidl:i}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:o}=r(3025);class a{#e3=new Map;constructor(){arguments[0]!==o&&i.illegalConstructor(),i.util.markAsUncloneable(this)}async match(e,t={}){if(i.brandCheck(this,a),i.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=i.converters.RequestInfo(e),null!=(t=i.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e3.has(t.cacheName)){let r=new n(o,this.#e3.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e3.values()){let i=new n(o,r),s=await i.match(e,t);if(void 0!==s)return s}}async has(e){i.brandCheck(this,a);let t="CacheStorage.has";return i.argumentLengthCheck(arguments,1,t),e=i.converters.DOMString(e,t,"cacheName"),this.#e3.has(e)}async open(e){i.brandCheck(this,a);let t="CacheStorage.open";if(i.argumentLengthCheck(arguments,1,t),e=i.converters.DOMString(e,t,"cacheName"),this.#e3.has(e))return new n(o,this.#e3.get(e));let r=[];return this.#e3.set(e,r),new n(o,r)}async delete(e){i.brandCheck(this,a);let t="CacheStorage.delete";return i.argumentLengthCheck(arguments,1,t),e=i.converters.DOMString(e,t,"cacheName"),this.#e3.delete(e)}async keys(){return i.brandCheck(this,a),[...this.#e3.keys()]}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:s,has:s,open:s,delete:s,keys:s}),e.exports={CacheStorage:a}},8220(e,t,r){let n=r(4589),{URLSerializer:i}=r(3518),{isValidHeaderName:s}=r(638);e.exports={urlEquals:function(e,t,r=!1){return i(e,r)===i(t,r)},getFieldValues:function(e){n(null!==e);let t=[];for(let r of e.split(","))s(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:n}=r(6248),{stringify:i}=r(751),{webidl:s}=r(849),{Headers:o}=r(3470),a=s.brandCheckMultiple([o,globalThis.Headers].filter(Boolean));function A(e,t){s.argumentLengthCheck(arguments,2,"setCookie"),a(e);let r=i(t=s.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}s.converters.DeleteCookieAttributes=s.dictionaryConverter([{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null}]),s.converters.Cookie=s.dictionaryConverter([{converter:s.converters.DOMString,key:"name"},{converter:s.converters.DOMString,key:"value"},{converter:s.nullableConverter(e=>"number"==typeof e?s.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:s.nullableConverter(s.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"secure",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:s.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:s.sequenceConverter(s.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){s.argumentLengthCheck(arguments,1,"getCookies"),a(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...n]=e.split("=");r[t.trim()]=n.join("=")}return r},deleteCookie:function(e,t,r){a(e);let n="deleteCookie";s.argumentLengthCheck(arguments,2,n),t=s.converters.DOMString(t,n,"name"),r=s.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){s.argumentLengthCheck(arguments,1,"getSetCookies"),a(e);let t=e.getSetCookie();return t?t.map(e=>n(e)):[]},setCookie:A,parseCookie:function(e){return n(e=s.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:n}=r(5358),{maxNameValuePairSize:i,maxAttributeValueSize:s}=r(6674),{isCTLExcludingHtab:o}=r(751),a=r(4589);function A(e,t={}){if(0===e.length)return t;a(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=n(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let i="",o="";if(r.includes("=")){let e={position:0};i=n("=",r,e),o=r.slice(e.position+1)}else i=r;if(i=i.trim(),(o=o.trim()).length>s)return A(e,t);let l=i.toLowerCase();if("expires"===l){let e=new Date(o);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=o.charCodeAt(0);if((r<48||r>57)&&"-"!==o[0]||!/^\d+$/.test(o))return A(e,t);t.maxAge=Number(o)}else if("domain"===l){let e=o;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===o.length||"/"!==o[0]?"/":o;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=o.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${i}=${o}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(o(e))return null;let t="",r="",s="",a="";if(e.includes(";")){let i={position:0};t=n(";",e,i),r=e.slice(i.position)}else t=e;if(t.includes("=")){let e={position:0};s=n("=",t,e),a=t.slice(e.position+1)}else a=t;return(s=s.trim(),a=a.trim(),s.length+a.length>i)?null:{name:s,value:a,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function n(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function i(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${s[e.getUTCDay()]}, ${a[e.getUTCDate()]} ${o[e.getUTCMonth()]} ${e.getUTCFullYear()} ${a[e.getUTCHours()]}:${a[e.getUTCMinutes()]}:${a[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:n,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let s=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&s.push("Secure"),e.httpOnly&&s.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");s.push(`Max-Age=${e.maxAge}`)}for(let o of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let n=e.charCodeAt(r);if(46===n){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!i(n)||!i(n)&&45!==n||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),s.push(`Domain=${e.domain}`)),e.path&&(n(e.path),s.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&s.push(`Expires=${A(e.expires)}`),e.sameSite&&s.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!o.includes("="))throw Error("Invalid unparsed");let[e,...n]=o.split("="),i=e.trim(),a=n.join("=");t(i),r(a),s.push(`${i}=${a}`)}return s.join("; ")}}},621(e,t,r){let{Transform:n}=r(7075),{isASCIINumber:i,isValidLastEventId:s}=r(2833),o=Buffer.from("data"),a=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let n=0;n<t;n++)if(e[n]!==r[n])return!1;return!0}e.exports={EventSourceStream:class extends n{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let n=e.length,i=e.length;if(-1!==r&&(n=r,32===e[i=r+1]&&++i),c(e,n,o)){let r=e.toString("utf8",i);void 0===t.data?t.data=r:t.data+=` -${r}`;return}if(c(e,n,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,i)&&(t.retry=e.toString("utf8",i));return}if(c(e,n,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,i)&&(t.id=e.toString("utf8",i));return}if(c(e,n,a)){let r=e.toString("utf8",i);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&i(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&s(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let n=this.chunks[r],i=r===this.lineChunkIndex?this.linePos:0,s=r===this.chunkIndex?this.pos:n.length,o=n.subarray(i,s);t+=o.length,e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let n=this.chunks[t],i=n.length-r;if(e<i)return n[r+e];e-=i,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:n}=r(7075),{fetching:i}=r(7564),{webidl:s}=r(849),{EventSourceStream:o}=r(621),{parseMIMEType:a}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:g}=r(2833),u=!1;class h extends EventTarget{#e4={open:null,error:null,message:null};#e5;#e8=!1;#e9=0;#e6=null;#ei=null;#Q;#eS;constructor(e,t={}){let r;super(),s.util.markAsUncloneable(this);let n="EventSource constructor";s.argumentLengthCheck(arguments,1,n),u||(u=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=s.converters.USVString(e),t=s.converters.EventSourceInitDict(t,n,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e5=r.href;let i="anonymous";!0===t.withCredentials&&(i="use-credentials",this.#e8=!0);let o=g(r,"",i);o.client=d.settingsObject,o.headersList.set("Accept","text/event-stream"),o.cache="no-store",o.initiator="other",this.#e6=o,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e5}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?a(t):"failure",i="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===i){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let s=new o({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});n(e.body.stream,s,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#ei=i(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){s.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#ei.abort(),this.#e6=null)}get onopen(){return this.#e4.open}set onopen(e){this.#e4.open&&this.removeEventListener("open",this.#e4.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e4.open=e):this.#e4.open=null}get onmessage(){return this.#e4.message}set onmessage(e){this.#e4.message&&this.removeEventListener("message",this.#e4.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e4.message=e):this.#e4.message=null}get onerror(){return this.#e4.error}set onerror(e){this.#e4.error&&this.removeEventListener("error",this.#e4.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e4.error=e):this.#e4.error=null}}let m={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,m),Object.defineProperties(h.prototype,m),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),s.converters.EventSourceInitDict=s.dictionaryConverter([{key:"withCredentials",converter:s.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:s.converters.any},{key:"node",converter:s.dictionaryConverter([{key:"reconnectionTime",converter:s.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:s.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:n}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,i){let s="no cors"===r?"no-cors":"cors";i&&"no-cors"===s&&(s="same-origin");let o="include";return"anonymous"===r&&(o="same-origin"),n({urlList:[e],destination:t,mode:s,credentials:o,useURLCredentials:!0})}}},4626(e,t,r){let n=r(1210),{ReadableStreamFrom:i,readableStreamClose:s,fullyReadBody:o,extractMimeType:a}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),g=r(4589),{isErrored:u,isDisturbed:h}=r(7075),{isUint8Array:m}=r(3429),{serializeAMimeType:p}=r(3518),{multipartFormDataParser:C}=r(7750),{parseJSONFromBytes:f}=r(5358),{utf8DecodeBytes:I}=r(2718),{ReadableStreamTee:E}=r(7830),y=new TextEncoder;function B(){}function Q(e,t=!1){let r=null,o=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){o=e},cancel(){},type:"bytes"}),g(d.is.ReadableStream(r));let a=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r -Content-Disposition: form-data`,n=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),i=e=>e.replace(/\r?\n|\r/g,"\r\n"),s=[],o=new Uint8Array([13,10]);l=0;let d=!1;for(let[t,a]of e)if("string"==typeof a){let e=y.encode(r+`; name="${n(i(t))}"`+`\r +${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:i}=r(4779),{InvalidArgumentError:n}=r(8065);function s(e,t,r,i,s){switch(t.operator){case"OR":return i.push(...r(e,s)),i;case"AND":return r(e,i);default:throw new n("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function a(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new n(`${e} parameter should be one of string, regexp, undefined or null`)}}class o{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new n("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new n("nthCall must be called with a number");if(!Number.isInteger(e))throw new n("nthCall must be called with an integer");if(1!==Math.sign(e))throw new n("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new n("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},i="AND"===r.operator?this.logs:[];return"protocol"in e&&(i=s(e.protocol,r,this.filterCallsByProtocol,i,this.logs)),"host"in e&&(i=s(e.host,r,this.filterCallsByHost,i,this.logs)),"port"in e&&(i=s(e.port,r,this.filterCallsByPort,i,this.logs)),"origin"in e&&(i=s(e.origin,r,this.filterCallsByOrigin,i,this.logs)),"path"in e&&(i=s(e.path,r,this.filterCallsByPath,i,this.logs)),"hash"in e&&(i=s(e.hash,r,this.filterCallsByHash,i,this.logs)),"fullUrl"in e&&(i=s(e.fullUrl,r,this.filterCallsByFullUrl,i,this.logs)),"method"in e&&(i=s(e.method,r,this.filterCallsByMethod,i,this.logs)),[...new Set(i)]}throw new n("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=a.call(this,"protocol");filterCallsByHost=a.call(this,"host");filterCallsByPort=a.call(this,"port");filterCallsByOrigin=a.call(this,"origin");filterCallsByPath=a.call(this,"path");filterCallsByHash=a.call(this,"hash");filterCallsByFullUrl=a.call(this,"fullUrl");filterCallsByMethod=a.call(this,"method");clear(){this.logs=[]}[i](e){let t=new o(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=o},375(e,t,r){let{promisify:i}=r(7975),n=r(5183),{buildMockDispatch:s}=r(6927),{kDispatches:a,kMockAgent:o,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:u,kIgnoreTrailingSlash:g}=r(4779),{MockInterceptor:h}=r(1585),p=r(3025),{InvalidArgumentError:m}=r(8065);class f extends n{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new m("Argument opts.agent must implement Agent");super(e,t),this[o]=t.agent,this[c]=e,this[g]=t.ignoreTrailingSlash??!1,this[a]=[],this[u]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[p.kConnected](){return this[u]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[g],...e},this[a])}cleanMocks(){this[a]=[]}async [A](){await i(this[l])(),this[u]=0,this[o][p.kClients].delete(this[c])}}e.exports=f},8531(e,t,r){let{UndiciError:i}=r(8065),n=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class s extends i{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}e.exports={MockNotMatchedError:s}},1585(e,t,r){let{getResponseData:i,buildKey:n,addMockDispatch:s}=r(6927),{kDispatches:a,kDispatchKey:o,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:u}=r(4779),{InvalidArgumentError:g}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:p}}=r(7975);class m{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new g("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new g("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new g("opts must be an object");if(void 0===e.path)throw new g("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[o]=n(e),this[a]=t,this[u]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let n=i(t),s=this[c]?{"content-length":n.length}:{};return{statusCode:e,data:t,headers:{...this[A],...s,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new g("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new g("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new g("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new m(s(this[a],this[o],r=>{let i=e(r);return p(i)?i.then(t):t(i)},{ignoreTrailingSlash:this[u]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new m(s(this[a],this[o],r,{ignoreTrailingSlash:this[u]}))}replyWithError(e){if(void 0===e)throw new g("error must be defined");return new m(s(this[a],this[o],{error:e},{ignoreTrailingSlash:this[u]}))}defaultReplyHeaders(e){if(void 0===e)throw new g("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new g("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:i}=r(7975),n=r(6334),{buildMockDispatch:s}=r(6927),{kDispatches:a,kMockAgent:o,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:u,kIgnoreTrailingSlash:g}=r(4779),{MockInterceptor:h}=r(1585),p=r(3025),{InvalidArgumentError:m}=r(8065);class f extends n{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new m("Argument opts.agent must implement Agent");super(e,t),this[o]=t.agent,this[c]=e,this[g]=t.ignoreTrailingSlash??!1,this[a]=[],this[u]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[p.kConnected](){return this[u]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[g],...e},this[a])}cleanMocks(){this[a]=[]}async [A](){await i(this[l])(),this[u]=0,this[o][p.kClients].delete(this[c])}}e.exports=f},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:i}=r(8531),{kDispatches:n,kMockAgent:s,kOriginalDispatch:a,kOrigin:o,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:u}=r(7067),{types:{isPromise:g}}=r(7975),{InvalidArgumentError:h}=r(8065);function p(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function m(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function f(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):m(e)[t.toLocaleLowerCase()]}function C(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function y(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=C(t)),e.headers(t?m(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,i]of Object.entries(e.headers))if(!p(i,f(t,r)))return!1;return!0}function I(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function E(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function B(e,t){let r=t.query?c(t.path,t.query):t.path,n="string"==typeof r?I(r):r,s=b(n),a=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?p(b(I(e)),s):p(I(e),n));if(0===a.length)throw new i(`Mock dispatch not matched for path '${n}'`);if(0===(a=a.filter(({method:e})=>p(e,t.method))).length)throw new i(`Mock dispatch not matched for method '${t.method}' on path '${n}'`);if(0===(a=a.filter(({body:e})=>void 0===e||p(e,t.body))).length)throw new i(`Mock dispatch not matched for body '${t.body}' on path '${n}'`);if(0===(a=a.filter(e=>y(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new i(`Mock dispatch not matched for headers '${e}' on path '${n}'`)}return a[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:i,headers:n}){let s=p(e.path,t),a=p(e.method,r),o=void 0===e.body||p(e.body,i),A=y(e,n);return s&&a&&o&&A}(e,t));-1!==r&&e.splice(r,1)}function b(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function N(e){let{path:t,method:r,body:i,headers:n,query:s}=e;return{path:t,method:r,body:i,headers:n,query:s}}function S(e){let t=Object.keys(e),r=[];for(let i=0;i<t.length;++i){let n=t[i],s=e[n],a=Buffer.from(`${n}`);if(Array.isArray(s))for(let e=0;e<s.length;++e)r.push(a,Buffer.from(`${s[e]}`));else r.push(a,Buffer.from(`${s}`))}return r}function w(e){return u[e]||"unknown"}function x(e,t){let r=N(e),i=B(this[n],r),s=this[n];i.timesInvoked++;let{timesInvoked:a,times:o}=i;if(i.consumed=!i.persist&&a>=o,i.pending=a<o,i.data.callback){let n=i.data.callback(e);if(g(n))return n.then(n=>{i.data={...i.data,...n},D(s,i,r,e,t)},e=>{Q(s,r),t.onResponseError(null,e)}),!0;i.data={...i.data,...n}}return D(s,i,r,e,t)}function D(e,t,r,i,n){let{data:{statusCode:s,data:a,headers:o,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),n.onResponseError(null,l),!0;let u=!1,h=null,p={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{u||(u=!0,null!==h&&(clearTimeout(h),h=null),n.onResponseError?.(p,e))}};function m(e,t=a){if(u)return;let l=Array.isArray(i.headers)?C(i.headers):i.headers,c="function"==typeof t?t({...i,headers:l}):t;if(g(c))return c.then(t=>m(e,t));if(u)return;let h=E(c),f=S(o),y=S(A);p.rawHeaders=f,p.rawTrailers=y,n.onResponseStart?.(p,s,d(f),w(s)),n.onResponseData?.(p,Buffer.from(h)),n.onResponseEnd?.(p,d(y)),Q(e,r)}return n.onRequestStart?.(p,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,m(e)},c):m(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>p(e,r.host)))}e.exports={getResponseData:E,getMockDispatch:B,addMockDispatch:function(e,t,r,i){let n={timesInvoked:0,times:1,persist:!1,consumed:!1,...i},s="function"==typeof r?{callback:r}:{...r},a={...n,...t,pending:!0,data:{error:null,...s}};return e.push(a),e[l]=(e[l]||0)+1,a},deleteMockDispatch:Q,buildKey:N,generateKeyValues:S,matchValue:p,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:x,buildMockDispatch:function(){let e=this[s],t=this[o],r=this[a];return function(s,a){if(e.isMockActive)try{x.call(this,s,a)}catch(o){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===o.code){let c=e[A](),d=this[n][l]||this[n].length,u=this[n].filter(({consumed:e})=>!e).length,g=`, ${u} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new i(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${g}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in s?{...s,body:s.__mockAgentBodyForDispatch}:s,a);else throw new i(`${o.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${g}`)}else throw o}else r.call(this,s,a)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:f,buildHeadersFromArray:C,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,i]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(i)){r.append(e,i);continue}if(i.includes(",")){for(let t of i.split(","))r.append(e,t);continue}r.append(e,i)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:i}=r(7075),{Console:n}=r(7540),s=process.versions.icu?"✅":"Y ",a=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,r){r(null,e)}}),this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:i,times:n,timesInvoked:o,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:i?s:a,Invocations:o,Remaining:i?1/0:n-o}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let i=r(5891),n=r(6923),{SnapshotRecorder:s}=r(2152),{InvalidArgumentError:a,UndiciError:o}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),u=Symbol("kSnapshotPath"),g=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),p=!1;e.exports=class extends n{constructor(e={}){p||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),p=!0);let{mode:t="record",snapshotPath:r=null,...n}=e;if(super(n),l(t),("playback"===t||"update"===t)&&!r)throw new a(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[u]=r,this[c]=new s({snapshotPath:this[u],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[g]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new i(e)),("playback"===this[d]||"update"===this[d])&&this[u]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[g])return this.#eT(e,t);let i=this[c].findSnapshot(e);if(i)return this.#eL(i,t);{if("update"===r)return this.#eO(e,t);let i=new o(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,i);throw i}}if("record"===r)return this.#eO(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eO(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},i=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,i,n)=>t.onRequestUpgrade(e,r,i,n),onResponseStart:(e,i,n,s)=>(r.statusCode=i,r.headers=n,t.onResponseStart(e,i,n,s)),onResponseData:(e,i)=>(r.body.push(i),t.onResponseData(e,i)),onResponseEnd(n,s){r.trailers=s;let a=Buffer.concat(r.body);i[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:a,trailers:r.trailers}).then(()=>t.onResponseEnd(n,s)).catch(e=>t.onResponseError(n,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,i=r.headers?A.toRawHeaders(r.headers):[],n=r.trailers?A.toRawHeaders(r.trailers):[],s={rawHeaders:i,rawTrailers:n,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(s),t.onResponseStart(s,r.statusCode,r.headers,r.statusMessage);let a=Buffer.from(r.body,"base64");t.onResponseData(s,a),t.onResponseEnd(s,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[u]),this[g]=!0,"playback"===this[d]&&this.#eP()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[u])}#eP(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:i}=e,n=new URL(t.url),s=this.get(n.origin),a=r?r[0]:i;a&&s.intercept({path:n.pathname+n.search,method:t.method,headers:t.headers,body:t.body}).reply(a.statusCode,a.body,{headers:a.headers,trailers:a.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:i,readFile:n,mkdir:s}=r(1455),{dirname:a,resolve:o}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:u,isUrlExcludedFactory:g,normalizeHeaders:h,createHeaderFilters:p}=r(289);function m(e,t,r={}){var i,n,s;let a=new URL(e.path,e.origin),o=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=o),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(a,r.matchQuery,r.normalizeQuery),headers:f(o,t,r),body:(i=e.body,n=r.matchBody,s=r.normalizeBody,!1===n?"":s?String(s(i)??""):i?String(i):"")}}function f(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,n={},{ignore:s,exclude:a,match:o}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();!(a.has(e)||s.has(e))&&(0===o.size||o.has(e))&&(n[e]=r)}return n}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,n={},{exclude:s}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();s.has(e)||(n[e]=r)}return n}function y(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let i=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),i.sort()))t.push(String(e))}return t.push(e.body),u(t.join("|"))}class I{#eH;#eY;#eG=new Map;#eq;#ez=1/0;#eV=!1;#e_;constructor(e={}){this.#eq=e.snapshotPath,this.#ez=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#e_=p(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=g(e.excludeUrls),this.#eV&&this.#eq&&this.#eJ()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=m(e,this.#e_,this.matchOptions),i=y(r),n=h(t.headers),s={statusCode:t.statusCode,headers:C(n,this.#e_,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#ez&&!this.#eG.has(i)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let a=this.#eG.get(i);a&&a.responses?(a.responses.push(s),a.timestamp=new Date().toISOString()):this.#eG.set(i,{request:r,responses:[s],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#eq&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=y(m(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let i=r.callCount||0,n=Math.min(i,r.responses.length-1);return r.callCount=i+1,{...r,response:r.responses[n]}}async loadSnapshots(e){let t=e||this.#eq;if(!t)throw new c("Snapshot path is required");try{let e=await n(o(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#eq;if(!t)throw new c("Snapshot path is required");let r=o(t);await s(a(r),{recursive:!0});let n=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await i(r,JSON.stringify(n,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=y(m(e,this.#e_,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=y(m(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#eJ(){return this.#eW()}#ej(){this.#eH&&(l(this.#eH),this.saveSnapshots().catch(()=>{}),this.#eH=null)}#eW(){this.#eH=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eH?.refresh():this.#eH=null},1e3)}destroy(){this.#ej(),this.#eH&&(l(this.#eH),this.#eH=null)}async close(){this.#eq&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:I,formatRequestKey:m,createRequestHash:y,filterHeadersForMatching:f,filterHeadersForStorage:C,createHeaderFilters:p}},289(e,t,r){let{InvalidArgumentError:i}=r(8065),{runtimeFeatures:n}=r(6979),s=n.has("crypto")?r(7598):null,a=s?.hash?e=>s.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function o(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:i=[],caseSensitive:n=!1}=e;return{ignore:new Set(t.map(e=>n?e:e.toLowerCase())),exclude:new Set(r.map(e=>n?e:e.toLowerCase())),match:new Set(i.map(e=>n?e:e.toLowerCase()))}},hashId:a,isUndiciHeaders:o,normalizeHeaders:function(e){let t={};if(!e)return t;if(o(e)){for(let r=0;r<e.length;r+=2){let i=e[r],n=e[r+1];if(i&&void 0!==n){let e=Buffer.isBuffer(i)?i.toString():i,r=Buffer.isBuffer(n)?n.toString():n;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,i]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(i)?i.join(", "):String(i));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let i of e)if("string"==typeof i){if(r||(r=t.toLowerCase()),r.includes(i.toLowerCase()))return!0}else if(i instanceof RegExp&&i.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new i(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:i,pathHasQueryOrFragment:n,hasSafeIterator:s,isValidHTTPToken:a}=r(1210),{serializePathWithQuery:o}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function u(e){return e.replace(/^[\t ]+/,"")}function g(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let i=t;i<e.length;i++)if(r)r=!1;else if("\\"===e[i])r=!0;else if('"'===e[i])return i;return -1}function p(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function m(e,t,r){let i=t.toLowerCase(),n=e[i],s=Array.isArray(r)?r:[r];void 0===n?e[i]=Array.isArray(r)?r.slice():r:Array.isArray(n)?n.push(...s):e[i]=[n,...s]}function f(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let i=t[e].split(",");for(let e=0;e<i.length;e++)r.push(i[e])}return r}function C(e){let t=f(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function y(e,t){if(C(e))return t;let r={};for(let i of f(e)){let e=c(i).toLowerCase();if(0===e.length)continue;if(!a(e))return;let n=t[e];r[e]=Array.isArray(n)?n.slice():n??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!n(t)&&(t=o(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},s(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");m(t,e,i)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let i=0;i<r;i+=2){let r=e.headers[i],n=e.headers[i+1];if("string"!=typeof r||"string"!=typeof n&&!Array.isArray(n))throw Error("opts.headers is not a valid header map");if("string"==typeof n)m(t,r,n);else{let e=[];for(let t=0;t<n.length;t++){let r=n[t];e.push("string"==typeof r?r:r.toString("latin1"))}m(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");m(t,e,i)}else for(let r of Object.keys(e.headers))m(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,i=new Set,n=function(e){let t=[],r=0,i=-1,n=!1,s=!1;for(let a=0;a<e.length;a++)n?s?s=!1:"\\"===e[a]?s=!0:'"'===e[a]&&(n=!1,i=-1):'"'===e[a]?(n=!0,i=a):","===e[a]&&(t.push({value:e.substring(r,a),fromMalformedQuote:!1}),r=a+1);if(!n)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let a=e.substring(r),o=i-r,A=0;for(let e=0;e<a.length;e++)","===a[e]&&(t.push({value:a.substring(A,e),fromMalformedQuote:A>o}),A=e+1);return t.push({value:a.substring(A),fromMalformedQuote:A>o}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<n.length;e++){let s,o,l=n[e],m=l.value.toLowerCase(),f=l.fromMalformedQuote,C=m.indexOf("="),y=!1,I=!1;if(-1!==C){let e=m.substring(0,C),t=m.substring(C+1);y=g(e)!==e,I=u(t)!==t,s=c(e),o=u(t)}else s=c(m);let E=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!a(e[t.length]))return t;let t="",r=!1;for(let i=0;i<e.length;i++)a(e[i])?t+=e[i]:r=!0;if(r&&d(A,t))return t}(s);if(void 0!==E){t[E]=!0;continue}switch(s){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(f||r.has(s))continue;if(void 0===o||y||I||(o.length>=2&&'"'===o[0]&&'"'===o[o.length-1]&&(o=o.substring(1,o.length-1)),!/^[0-9]+$/.test(o))){delete t[s],r.add(s),p(t,s);continue}let e=Math.min(parseInt(o,10),0x7fffffff);"min-fresh"===s?s in t&&!(t[s]<e)||(t[s]=e):s in t&&!(t[s]>e)||(t[s]=e);break}case"private":case"no-cache":if(f||void 0!==o&&0===o.length){t[s]=!0;break}if(o){if('"'===o[0]){o=g(o);let r="",i=e,A=!1,l=h(o,1);if(-1!==l)r=o.substring(1,l),A=!0;else{let t=[o.substring(1)];for(let r=e+1;r<n.length;r++){let e=c(n[r].value),s=h(e,0);if(i=r,-1!==s){t.push(e.substring(0,s)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[s]=!0;break}e=i;let d=r.split(","),u=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),a(d[e])||(u=!1);u?!0!==t[s]&&(s in t?t[s]=t[s].concat(d):t[s]=d):t[s]=!0}else{let e=c(o);a(e)?!0!==t[s]&&(s in t?t[s]=t[s].concat(e):t[s]=[e]):t[s]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(f||i.has(s))continue;if(void 0!==o){delete t[s],i.add(s);continue}t[s]=!0;break;case"no-store":t[s]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:y,hasVaryStar:C,isInvalidOrWildcardVaryHeader:function(e){return C(e)||void 0===y(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(i,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${i.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let i of Object.keys(e.headers).sort())t?.has(i.toLowerCase())||(r[i]=e.headers[i]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,i,n,s,a){let o=new Date(Date.UTC(e,t,r,i,n,s));return e>=0&&e<=99&&o.setUTCFullYear(e),o.getUTCFullYear()===e&&o.getUTCMonth()===t&&o.getUTCDate()===r&&o.getUTCHours()===i&&o.getUTCMinutes()===n&&o.getUTCSeconds()===s&&o.getUTCDay()===a?o:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let n=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])n=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])n=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])n=2;else{if("y"!==e[10])return;n=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])n=0;else if("u"!==e[9])return;else if("n"===e[10])n=5;else{if("l"!==e[10])return;n=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])n=3;else{if("u"!==e[9]||"g"!==e[10])return;n=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])n=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])n=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])n=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;n=11}let s=e.charCodeAt(12);if(s<48||s>57)return;let a=e.charCodeAt(13);if(a<48||a>57)return;let o=e.charCodeAt(14);if(o<48||o>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((s-48)*1e3+(a-48)*100+(o-48)*10+(A-48),n,i,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])i=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])i=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])i=2;else{if("y"!==e[6])return;i=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])i=0;else if("u"!==e[5])return;else if("n"===e[6])i=5;else{if("l"!==e[6])return;i=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])i=3;else{if("u"!==e[5]||"g"!==e[6])return;i=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])i=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])i=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])i=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;i=11}let n=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;n=(t-48)*10+(r-48)}let s=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;s=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;s=(t-48)*10+(r-48)}let a=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let o=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),i,n,s,a,o,r)}(e);default:return function(e){let r=-1,i=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(i=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])i=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(i=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])i=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;i=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let n=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let i=e.charCodeAt(r+3);if(i<48||i>57)return;n=(t-48)*10+(i-48)}let s=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])s=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])s=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])s=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])s=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])s=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])s=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])s=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])s=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])s=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])s=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])s=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;s=11}let a=e.charCodeAt(r+9);if(a<48||a>57)return;let o=e.charCodeAt(r+10);if(o<48||o>57)return;let A=(a-48)*10+(o-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let i=e.charCodeAt(r+13);if(i<48||i>57||50===t&&i>51)return;l=(t-48)*10+(i-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let i=e.charCodeAt(r+16);if(i<48||i>57)return;c=(t-48)*10+(i-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let i=e.charCodeAt(r+19);if(i<48||i>57)return;d=(t-48)*10+(i-48)}return t(A,s,n,l,c,d,i)}(e)}}}},6979(e,t,r){let i={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},n=["crypto","sqlite"];class s{#eK=new Map;clear(){this.#eK.clear()}has(e){return this.#eK.get(e)??this.#e$(e)}set(e,t){if(!1===n.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eK.set(e,t)}#e$(e){let t=function(e){if(n.includes(e)){var t=`node:${e}`;try{return i[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eK.set(e,t),t}}let a=new s;e.exports.runtimeFeatures=a},256(e,t,r){let{kConnected:i,kPending:n,kRunning:s,kSize:a,kFree:o,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[i],this.pending=e[n],this.running=e[s],this.size=e[a]}},PoolStats:class{constructor(e){this.connected=e[i],this.free=e[o],this.pending=e[n],this.queued=e[A],this.running=e[s],this.size=e[a]}}}},2297(e){let t,r=0,i=Symbol("kFastTimer"),n=[];function s(){r+=499;let e=0,t=n.length;for(;e<t;){let i=n[e];0===i._state?(i._idleStart=r-499,i._state=1):1===i._state&&r>=i._idleStart+i._idleTimeout&&(i._state=-1,i._idleStart=-1,i._onTimeout(i._timerArg)),-1===i._state?(i._state=-2,0!=--t&&(n[e]=n[t])):++e}n.length=t,0!==n.length&&a()}function a(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(s,499),t?.unref())}class o{[i]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&n.push(this),t&&1!==n.length||a(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new o(e,t,r),clearTimeout(e){e[i]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new o(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,s(),s()},reset(){r=0,n.length=0,clearTimeout(t),t=null},kFastTimer:i}},1044(e,t,r){let i=r(4589),{kConstruct:n}=r(3025),{urlEquals:s,getFieldValues:a}=r(8220),{kEnumerableProperty:o,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:u}=r(165),{Request:g,fromInnerRequest:h,getRequestState:p}=r(9553),{fetching:m}=r(7564),{urlIsHttpHttpsScheme:f,readAllBytes:C}=r(638);class y{#eX;constructor(){arguments[0]!==n&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eX=arguments[1]}async match(e,t={}){l.brandCheck(this,y);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let i=this.#eZ(e,t,1);if(0!==i.length)return i[0]}async matchAll(e,t={}){return l.brandCheck(this,y),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#eZ(e,t)}async add(e){l.brandCheck(this,y),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,y);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],i=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=p(r);if(!f(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let n=[];for(let s of e){let e=p(new g(s));if(!f(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",i.push(e);let o=Promise.withResolvers();n.push(m({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)o.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of a(e.headersList.get("vary")))if("*"===t){for(let e of(o.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),n))e.abort();return}}},processResponseEndOfBody(e){e.aborted?o.reject(new DOMException("aborted","AbortError")):o.resolve(e)}})),r.push(o.promise)}let s=Promise.all(r),o=await s,A=[],c=0;for(let e of o){let t={type:"put",request:i[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),u=null;try{this.#e0(A)}catch(e){u=e}return queueMicrotask(()=>{null===u?d.resolve(void 0):d.reject(u)}),d.promise}async put(e,t){l.brandCheck(this,y);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let i=null;if(!f((i=l.is.Request(e)?p(e):p(new g(e))).url)||"GET"!==i.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let n=u(t);if(206===n.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(n.headersList.contains("vary")){for(let e of a(n.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(n.body&&(A(n.body.stream)||n.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let s=c(n),o=Promise.withResolvers();null!=n.body?C(n.body.stream.getReader(),o.resolve,o.reject):o.resolve(void 0);let d=[],h={type:"put",request:i,response:s};d.push(h);let m=await o.promise;null!=s.body&&(s.body.source=m);let I=Promise.withResolvers(),E=null;try{this.#e0(d)}catch(e){E=e}return queueMicrotask(()=>{null===E?I.resolve():I.reject(E)}),I.promise}async delete(e,t={}){let r;l.brandCheck(this,y);let n="Cache.delete";l.argumentLengthCheck(arguments,1,n),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,n,"options");let s=null;if(l.is.Request(e)){if("GET"!==(s=p(e)).method&&!t.ignoreMethod)return!1}else i("string"==typeof e),s=p(new g(e));let a=[],o={type:"delete",request:s,options:t};a.push(o);let A=Promise.withResolvers(),c=null;try{r=this.#e0(a)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,y),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=p(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=p(new g(e)));let i=Promise.withResolvers(),n=[];if(void 0===e)for(let e of this.#eX)n.push(e[0]);else for(let e of this.#e1(r,t))n.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of n){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}i.resolve(Object.freeze(e))}),i.promise}#e0(e){let t=this.#eX,r=[...t],n=[],s=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,n).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);i(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let s=r.request;if(!f(s.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==s.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let n of e=this.#e1(r.request)){let e=t.indexOf(n);i(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),n.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){throw this.#eX.length=0,this.#eX=r,e}}#e1(e,t,r){let i=[];for(let n of r??this.#eX){let[r,s]=n;this.#e2(e,r,s,t)&&i.push(n)}return i}#e2(e,t,r=null,i){let n=new URL(e.url),o=new URL(t.url);if(i?.ignoreSearch&&(o.search="",n.search=""),!s(n,o,!0))return!1;if(null==r||i?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let i of a(r.headersList.get("vary")))if("*"===i||t.headersList.get(i)!==e.headersList.get(i))return!1;return!0}#eZ(e,t,r=1/0){let i=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(i=p(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(i=p(new g(e)));let n=[];if(void 0===e)for(let e of this.#eX)n.push(e[1]);else for(let e of this.#e1(i,t))n.push(e[1]);let s=[];for(let e of n){let t=d(c(e),"immutable");if(s.push(t),s.length>=r)break}return Object.freeze(s)}}Object.defineProperties(y.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:o,matchAll:o,add:o,addAll:o,put:o,delete:o,keys:o});let I=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(I),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...I,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:y}},3691(e,t,r){let{Cache:i}=r(1044),{webidl:n}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:a}=r(3025);class o{#e3=new Map;constructor(){arguments[0]!==a&&n.illegalConstructor(),n.util.markAsUncloneable(this)}async match(e,t={}){if(n.brandCheck(this,o),n.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=n.converters.RequestInfo(e),null!=(t=n.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e3.has(t.cacheName)){let r=new i(a,this.#e3.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e3.values()){let n=new i(a,r),s=await n.match(e,t);if(void 0!==s)return s}}async has(e){n.brandCheck(this,o);let t="CacheStorage.has";return n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e3.has(e)}async open(e){n.brandCheck(this,o);let t="CacheStorage.open";if(n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e3.has(e))return new i(a,this.#e3.get(e));let r=[];return this.#e3.set(e,r),new i(a,r)}async delete(e){n.brandCheck(this,o);let t="CacheStorage.delete";return n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e3.delete(e)}async keys(){return n.brandCheck(this,o),[...this.#e3.keys()]}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:s,has:s,open:s,delete:s,keys:s}),e.exports={CacheStorage:o}},8220(e,t,r){let i=r(4589),{URLSerializer:n}=r(3518),{isValidHeaderName:s}=r(638);e.exports={urlEquals:function(e,t,r=!1){return n(e,r)===n(t,r)},getFieldValues:function(e){i(null!==e);let t=[];for(let r of e.split(","))s(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:i}=r(6248),{stringify:n}=r(751),{webidl:s}=r(849),{Headers:a}=r(3470),o=s.brandCheckMultiple([a,globalThis.Headers].filter(Boolean));function A(e,t){s.argumentLengthCheck(arguments,2,"setCookie"),o(e);let r=n(t=s.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}s.converters.DeleteCookieAttributes=s.dictionaryConverter([{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null}]),s.converters.Cookie=s.dictionaryConverter([{converter:s.converters.DOMString,key:"name"},{converter:s.converters.DOMString,key:"value"},{converter:s.nullableConverter(e=>"number"==typeof e?s.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:s.nullableConverter(s.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"secure",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:s.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:s.sequenceConverter(s.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){s.argumentLengthCheck(arguments,1,"getCookies"),o(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r},deleteCookie:function(e,t,r){o(e);let i="deleteCookie";s.argumentLengthCheck(arguments,2,i),t=s.converters.DOMString(t,i,"name"),r=s.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){s.argumentLengthCheck(arguments,1,"getSetCookies"),o(e);let t=e.getSetCookie();return t?t.map(e=>i(e)):[]},setCookie:A,parseCookie:function(e){return i(e=s.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:i}=r(5358),{maxNameValuePairSize:n,maxAttributeValueSize:s}=r(6674),{isCTLExcludingHtab:a}=r(751),o=r(4589);function A(e,t={}){if(0===e.length)return t;o(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=i(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let n="",a="";if(r.includes("=")){let e={position:0};n=i("=",r,e),a=r.slice(e.position+1)}else n=r;if(n=n.trim(),(a=a.trim()).length>s)return A(e,t);let l=n.toLowerCase();if("expires"===l){let e=new Date(a);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=a.charCodeAt(0);if((r<48||r>57)&&"-"!==a[0]||!/^\d+$/.test(a))return A(e,t);t.maxAge=Number(a)}else if("domain"===l){let e=a;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===a.length||"/"!==a[0]?"/":a;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=a.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${n}=${a}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(a(e))return null;let t="",r="",s="",o="";if(e.includes(";")){let n={position:0};t=i(";",e,n),r=e.slice(n.position)}else t=e;if(t.includes("=")){let e={position:0};s=i("=",t,e),o=t.slice(e.position+1)}else o=t;return(s=s.trim(),o=o.trim(),s.length+o.length>n)?null:{name:s,value:o,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function i(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function n(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],a=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],o=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${s[e.getUTCDay()]}, ${o[e.getUTCDate()]} ${a[e.getUTCMonth()]} ${e.getUTCFullYear()} ${o[e.getUTCHours()]}:${o[e.getUTCMinutes()]}:${o[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:i,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let s=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&s.push("Secure"),e.httpOnly&&s.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");s.push(`Max-Age=${e.maxAge}`)}for(let a of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(46===i){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!n(i)||!n(i)&&45!==i||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),s.push(`Domain=${e.domain}`)),e.path&&(i(e.path),s.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&s.push(`Expires=${A(e.expires)}`),e.sameSite&&s.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!a.includes("="))throw Error("Invalid unparsed");let[e,...i]=a.split("="),n=e.trim(),o=i.join("=");t(n),r(o),s.push(`${n}=${o}`)}return s.join("; ")}}},621(e,t,r){let{Transform:i}=r(7075),{isASCIINumber:n,isValidLastEventId:s}=r(2833),a=Buffer.from("data"),o=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let i=0;i<t;i++)if(e[i]!==r[i])return!1;return!0}e.exports={EventSourceStream:class extends i{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let i=e.length,n=e.length;if(-1!==r&&(i=r,32===e[n=r+1]&&++n),c(e,i,a)){let r=e.toString("utf8",n);void 0===t.data?t.data=r:t.data+=` +${r}`;return}if(c(e,i,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,n)&&(t.retry=e.toString("utf8",n));return}if(c(e,i,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,n)&&(t.id=e.toString("utf8",n));return}if(c(e,i,o)){let r=e.toString("utf8",n);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&n(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&s(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let i=this.chunks[r],n=r===this.lineChunkIndex?this.linePos:0,s=r===this.chunkIndex?this.pos:i.length,a=i.subarray(n,s);t+=a.length,e.push(a)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let i=this.chunks[t],n=i.length-r;if(e<n)return i[r+e];e-=n,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:i}=r(7075),{fetching:n}=r(7564),{webidl:s}=r(849),{EventSourceStream:a}=r(621),{parseMIMEType:o}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:u}=r(2833),g=!1;class h extends EventTarget{#e5={open:null,error:null,message:null};#e4;#e8=!1;#e9=0;#e6=null;#en=null;#Q;#eS;constructor(e,t={}){let r;super(),s.util.markAsUncloneable(this);let i="EventSource constructor";s.argumentLengthCheck(arguments,1,i),g||(g=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=s.converters.USVString(e),t=s.converters.EventSourceInitDict(t,i,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e4=r.href;let n="anonymous";!0===t.withCredentials&&(n="use-credentials",this.#e8=!0);let a=u(r,"",n);a.client=d.settingsObject,a.headersList.set("Accept","text/event-stream"),a.cache="no-store",a.initiator="other",this.#e6=a,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e4}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?o(t):"failure",n="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===n){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let s=new a({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});i(e.body.stream,s,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#en=n(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){s.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#en.abort(),this.#e6=null)}get onopen(){return this.#e5.open}set onopen(e){this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onmessage(){return this.#e5.message}set onmessage(e){this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get onerror(){return this.#e5.error}set onerror(e){this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}}let p={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,p),Object.defineProperties(h.prototype,p),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),s.converters.EventSourceInitDict=s.dictionaryConverter([{key:"withCredentials",converter:s.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:s.converters.any},{key:"node",converter:s.dictionaryConverter([{key:"reconnectionTime",converter:s.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:s.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:i}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,n){let s="no cors"===r?"no-cors":"cors";n&&"no-cors"===s&&(s="same-origin");let a="include";return"anonymous"===r&&(a="same-origin"),i({urlList:[e],destination:t,mode:s,credentials:a,useURLCredentials:!0})}}},4626(e,t,r){let i=r(1210),{ReadableStreamFrom:n,readableStreamClose:s,fullyReadBody:a,extractMimeType:o}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),u=r(4589),{isErrored:g,isDisturbed:h}=r(7075),{isUint8Array:p}=r(3429),{serializeAMimeType:m}=r(3518),{multipartFormDataParser:f}=r(7750),{parseJSONFromBytes:C}=r(5358),{utf8DecodeBytes:y}=r(2718),{ReadableStreamTee:I}=r(7830),E=new TextEncoder;function B(){}function Q(e,t=!1){let r=null,a=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){a=e},cancel(){},type:"bytes"}),u(d.is.ReadableStream(r));let o=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r +Content-Disposition: form-data`,i=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),n=e=>e.replace(/\r?\n|\r/g,"\r\n"),s=[],a=new Uint8Array([13,10]);l=0;let d=!1;for(let[t,o]of e)if("string"==typeof o){let e=E.encode(r+`; name="${i(n(t))}"`+`\r \r -${i(a)}\r -`);s.push(e),l+=e.byteLength}else{let e=y.encode(`${r}; name="${n(i(t))}"`+(a.name?`; filename="${n(a.name)}"`:"")+"\r\n"+`Content-Type: ${a.type||"application/octet-stream"}\r +${n(o)}\r +`);s.push(e),l+=e.byteLength}else{let e=E.encode(`${r}; name="${i(n(t))}"`+(o.name?`; filename="${i(o.name)}"`:"")+"\r\n"+`Content-Type: ${o.type||"application/octet-stream"}\r \r -`);s.push(e,a,o),"number"==typeof a.size?l+=e.byteLength+a.size+o.byteLength:d=!0}let g=y.encode(`--${t}--\r -`);s.push(g),l+=g.byteLength,d&&(l=null),A=e,a=async function*(){for(let e of s)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(n.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:i(e)}return("string"==typeof A||m(A))&&(a=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=a&&(async()=>{let e=a(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(u(r))break;e.length&&o.enqueue(new Uint8Array(e))}else e?.length&&!u(r)&&o.enqueue("string"==typeof e?y.encode(e):new Uint8Array(e));queueMicrotask(()=>s(o))})(),[{stream:r,source:A,length:l},h]}function N(e,t,r,n){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(b(e=n(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let i=Promise.withResolvers(),s=i.reject,a=e=>{try{i.resolve(t(e))}catch(e){s(e)}};return null==e.body?a(Buffer.allocUnsafe(0)):o(e.body,a,s),i.promise}function b(e){let t=e.body;return null!=t&&(t.stream.locked||n.isDisturbed(t.stream))}function S(e){let t=a(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(g(!n.isDisturbed(e),"The body has already been consumed."),g(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=E?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return N(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=p(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return N(this,e=>new Uint8Array(e).buffer,e,t)},text(){return N(this,I,e,t)},json(){return N(this,f,e,t)},formData(){return N(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=C(e,r),n=new A;return l(n,t),n}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,n]of t)r.append(e,n);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return N(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(b(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,n=new TextDecoderStream("UTF-8");return r.pipeThrough(n)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||u(t)||t.cancel("Response object has been garbage collected").catch(B)}),bodyUnusable:b}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),n=[301,302,303,307,308],i=new Set(n),s=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],o=new Set(s),a=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...a],l=new Set(a),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),g=["CONNECT","TRACE","TRACK"],u=new Set(g),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],m=new Set(h);e.exports={subresource:h,forbiddenMethods:g,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:n,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:s,requestDuplex:["half"],subresourceSet:m,badPortsSet:o,redirectStatusSet:i,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:u,referrerPolicyTokens:l}},3518(e,t,r){let n=r(4589),{forgivingBase64:i,collectASequenceOfCodePoints:s,collectASequenceOfCodePointsFast:o,isomorphicDecode:a,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,g=/[\u000A\u000D\u0009\u0020]/u,u=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,n=e.hash.length,i=0===n?r:r.substring(0,r.length-n);return!n&&r.endsWith("#")?i.slice(0,-1):i}function m(e){return function(e){let t=e.length,r=new Uint8Array(t),n=0,i=0;for(;i<t;){let t=e[i];37!==t?r[n++]=t:37!==t||p(e[i+1])&&p(e[i+2])?(r[n++]=C(e[i+1])<<4|C(e[i+2]),i+=2):r[n++]=37,++i}return t===n?r:r.subarray(0,n)}(c.encode(e))}function p(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=57?e-48:(223&e)-55}function f(e){e=y(e,!0,!0);let t={position:0},r=o("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let n=o(";",e,t);if(0===(n=y(n,!1,!0)).length||!d.test(n))return"failure";let i=r.toLowerCase(),a=n.toLowerCase(),A={type:i,subtype:a,parameters:new Map,essence:`${i}/${a}`};for(;t.position<e.length;){t.position++,s(e=>g.test(e),e,t);let r=s(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let n=null;if('"'===e[t.position])n=I(e,t,!0),o(";",e,t);else if(0===(n=y(n=o(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===n.length||u.test(n))&&!A.parameters.has(r)&&A.parameters.set(r,n)}return A}function I(e,t,r=!1){let i=t.position,o="";for(n('"'===e[t.position]),t.position++;o+=s(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){o+="\\";break}o+=e[t.position],t.position++}else{n('"'===r);break}}return r?o:e.slice(i,t.position)}function E(e){return 13===e||10===e||9===e||32===e}function y(e,t=!0,r=!0){return l(e,t,r,E)}e.exports={dataURLProcessor:function(e){n("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},s=o(",",t,r),l=s.length;if(s=A(s,!0,!0),r.position>=t.length)return"failure";r.position++;let c=m(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(s)){if("failure"===(c=i(a(c))))return"failure";s=(s=(s=s.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let d=f(s);return"failure"===d&&(d=f("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:m,parseMIMEType:f,collectAnHTTPQuotedString:I,serializeAMimeType:function(e){n("failure"!==e);let{parameters:t,essence:r}=e,i=r;for(let[e,r]of t.entries())i+=";",i+=e,i+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),i+=r;return i},removeHTTPWhitespace:y,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:n}=r(1210),{HTTP_TOKEN_CODEPOINTS:i}=r(3518),{makeEntry:s}=r(1304),{webidl:o}=r(849),a=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function g(e,t,r){let n=r.position;for(;n<t.length&&e(t[n]);)++n;return t.subarray(r.position,r.position=n)}function u(e,t,r,n){let i=0,s=e.length-1;if(t)for(;i<e.length&&n(e[i]);)i++;if(r)for(;s>0&&n(e[s]);)s--;return 0===i&&s===e.length-1?e:e.subarray(i,s+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function m(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){a("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let p=Buffer.from(`--${r}`,"utf8"),C=[],f={position:0},I=e.indexOf(p);if(-1===I)throw h("no boundary found in multipart body");for(f.position=I;;){let t,r;if(e.subarray(f.position,f.position+p.length).equals(p))f.position+=p.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==e[r.position+n])return!1;return!0}(e,l,f))return C;if(13!==e[f.position]||10!==e[f.position+1])throw h("expected CRLF");f.position+=2;let{name:I,filename:E,contentType:y,encoding:B}=function(e,t){let r=null,s=null,o=null,a=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:s,contentType:o,encoding:a}}let l=g(e=>10!==e&&13!==e&&58!==e,e,t);if(l=u(l,!0,!0,e=>9===e||32===e),!i.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,g(e=>32===e||9===e,e,t),n(l)){case"content-disposition":{r=s=null;let n=!1;if("form-data"!==g(e=>m(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let i=function(e,t){let r;59===e[t.position]&&t.position++,g(e=>32===e||9===e,e,t);let n=g(e=>m(e)&&61!==e&&42!==e,e,t);if(0===n.length)return null;let i=n.toString("ascii").toLowerCase(),s=42===e[t.position];if(s&&t.position++,61!==e[t.position])return null;if(t.position++,g(e=>32===e||9===e,e,t),s){let n=g(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==n[0]&&85!==n[0]||116!==n[1]&&84!==n[1]||102!==n[2]&&70!==n[2]||45!==n[3]||56!==n[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(n.subarray(7)))}else if(34===e[t.position]){t.position++;let n=g(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(n).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let n=g(e=>m(e)&&59!==e,e,t);r=c.decode(n)}return{name:i,value:r,extended:s}}(e,t);if(!i)break;"name"===i.name?r=i.value:"filename"===i.name&&(i.extended?(s=i.value,n=!0):n||(s=i.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=g(e=>10!==e&&13!==e,e,t);o=A(r=u(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=g(e=>10!==e&&13!==e,e,t);a=A(r=u(r,!1,!0,e=>9===e||32===e));break}default:g(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,f);f.position+=2;{let r=e.indexOf(p.subarray(2),f.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(f.position,r-4),f.position+=t.length,"base64"===B&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[f.position]||10!==e[f.position+1])throw h("expected CRLF");f.position+=2,null!==E?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(y??="text/plain")&&(y=""),r=new File([t],E,{type:y})):r=d.decode(Buffer.from(t)),a(o.is.USVString(I)),a("string"==typeof r&&o.is.USVString(r)||o.is.File(r)),C.push(s(I,r,E))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:n}=r(638),{kEnumerableProperty:i}=r(1210),{webidl:s}=r(849),o=r(7975),{runtimeFeatures:a}=r(6979),A=a.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(s.util.markAsUncloneable(this),void 0!==e)throw s.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){s.brandCheck(this,l);let n="FormData.append";s.argumentLengthCheck(arguments,2,n),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,n,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let i=u(e,t,r);this.#eS.push(i)}delete(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.delete"),e=s.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.get"),e=s.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.getAll"),e=s.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.has"),e=s.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){s.brandCheck(this,l);let n="FormData.set";s.argumentLengthCheck(arguments,2,n),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,n,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let i=u(e,t,r),o=this.#eS.findIndex(t=>t.name===e);-1!==o?this.#eS=[...this.#eS.slice(0,o),i,...this.#eS.slice(o+1).filter(t=>t.name!==e)]:this.#eS.push(i)}[o.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let n=o.formatWithOptions(t,r);return`FormData ${n.slice(n.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:g}=l;function u(e,t,r){if("string"==typeof t);else if(s.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),n("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:i,delete:i,get:i,getAll:i,has:i,set:i,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),s.is.FormData=s.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:u,setFormDataState:d,getFormDataBoundary:g}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:n}=r(3025),{kEnumerableProperty:i}=r(1210),{iteratorMixin:s,isValidHeaderName:o,isValidHeaderValue:a}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function g(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function u(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let n=t[r];if(2!==n.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${n.length}.`});h(e,n[0],n[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let n=0;n<r.length;++n)h(e,r[n],t[r[n]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=g(r),o(t)){if(!a(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===f(e))throw TypeError("immutable");return E(e).append(t,r,!1)}function m(e,t){return e[0]<t[0]?-1:1}class p{cookies=null;sortedMap;headersMap;constructor(e){e instanceof p?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let n=r?e:e.toLowerCase(),i=this.headersMap.get(n);if(i){let e="cookie"===n?"; ":", ";this.headersMap.set(n,{name:i.name,value:`${i.value}${e}${t}`})}else this.headersMap.set(n,{name:e,value:t});"set-cookie"===n&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let n=r?e:e.toLowerCase();"set-cookie"===n&&(this.cookies=[t]),this.headersMap.set(n,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:n}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,n]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),n=r.next().value;t[0]=[n[0],n[1].value],l(null!==n[1].value);for(let n=1,i=0,s=0,o=0,a=0,A,c;n<e;++n){for(c=r.next().value,l(null!==(A=t[n]=[c[0],c[1].value])[1]),o=0,s=n;o<s;)t[a=o+(s-o>>1)][0]<=A[0]?o=a+1:s=a;if(n!==a){for(i=n;i>o;)t[i]=t[--i];t[o]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:n}}of this.headersMap)t[e++]=[r,n],l(null!==n);return t.sort(m)}}}class C{#tr;#tn;constructor(e){if(A.util.markAsUncloneable(this),e===n)return;this.#tn=new p,this.#tr="none",void 0!==e&&u(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.delete"),!o(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#tn.contains(e,!1)&&this.#tn.delete(e,!1)}get(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#tn.get(e,!1)}has(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#tn.contains(e,!1)}set(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=g(t=A.converters.ByteString(t,r,"value")),o(e)){if(!a(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#tn.set(e,t,!1)}getSetCookie(){A.brandCheck(this,C);let e=this.#tn.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#tn.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#tn}static setHeadersList(e,t){e.#tn=t}}let{getHeadersGuard:f,setHeadersGuard:I,getHeadersList:E,setHeadersList:y}=C;Reflect.deleteProperty(C,"getHeadersGuard"),Reflect.deleteProperty(C,"setHeadersGuard"),Reflect.deleteProperty(C,"getHeadersList"),Reflect.deleteProperty(C,"setHeadersList"),s("Headers",C,function(e){let t=E(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],n=t.toSortedArray(),i=t.cookies;if(null===i||1===i.length)return t.sortedMap=n;for(let e=0;e<n.length;++e){let{0:t,1:s}=n[e];if("set-cookie"===t)for(let e=0;e<i.length;++e)r.push([t,i[e]]);else r.push([t,s])}return t.sortedMap=r},0,1),Object.defineProperties(C.prototype,{append:i,delete:i,get:i,has:i,set:i,getSetCookie:i,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let n=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&n===C.prototype.entries)try{return E(e).entriesList}catch{}return"function"==typeof n?A.converters["sequence<sequence<ByteString>>"](e,t,r,n.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:u,compareHeaderName:m,Headers:C,HeadersList:p,getHeadersGuard:f,setHeadersGuard:I,setHeadersList:y,getHeadersList:E}},7564(e,t,r){let n,{makeNetworkError:i,makeAppropriateNetworkError:s,filterResponse:o,makeResponse:a,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:g,getRequestDispatcher:u,getRequestState:h,removeRequestAbortListener:m}=r(9553),p=r(8522),{makePolicyContainer:C,clonePolicyContainer:f,requestBadPort:I,TAOCheck:E,appendRequestOriginHeader:y,responseLocationURL:B,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:N,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:D,crossOriginResourcePolicyCheck:x,determineRequestsReferrer:R,coarsenedSharedCurrentTime:k,sameOrigin:v,isCancelled:M,isAborted:U,isErrorLike:F,fullyReadBody:T,readableStreamClose:L,urlIsLocal:O,urlIsHttpHttpsScheme:H,urlHasHttpsScheme:P,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:z,createInflate:q,extractMimeType:V,hasAuthenticationEntry:_,includesCredentials:J,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:K,extractBody:X}=r(4626),{redirectStatusSet:Z,nullBodyStatus:$,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),en=r(8474),{Readable:ei,pipeline:es,finished:eo,isErrored:ea,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eg,minimizeSupportedMimeType:eu}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:em}=r(849),{STATUS_CODES:ep}=r(7067),{bytesMatch:eC}=r(2300),{isomorphicEncode:ef}=r(5358),eI=["GET","HEAD"],eE="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function ey(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let n=ec(r[t]),i=r[t+1];if(Array.isArray(i)&&!Buffer.isBuffer(i))for(let t of i)e.append(n,t.toString("latin1"),!0);else e.append(n,i.toString("latin1"),!0)}return}for(let[r,n]of Object.entries(t??{}))if(Array.isArray(n))for(let t of n)e.append(r,`${t}`,!0);else e.append(r,`${n}`,!0)}class eB extends en{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],n=e.timingInfo,i=e.cacheState;H(r)&&null!==n&&(e.timingAllowPassed||(n=S({startTime:n.startTime}),i=""),n.endTime=k(),e.timingInfo=n,eN(n,r.href,t,globalThis,i,"",e.status))}let eN=performance.markResourceTiming;function eb(e,t,r,n,i){if(e&&e.reject(n),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(n).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let s=l(r);s.body?.stream!=null&&eA(s.body.stream)&&i.error(n)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseEndOfBody:i,processResponseConsumeBody:s,useParallelQueue:o=!1,dispatcher:a=eh(),requestObject:A=null}){j(a);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:k(c)}),g={controller:new eB(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:n,processResponseConsumeBody:s,processResponseEndOfBody:i,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=f(e.client.policyContainer):e.policyContainer=C()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(g,!1),g.controller}async function ew(e,t){try{let r=e.request,n=null;if(r.localURLsOnly&&!O(Q(r))&&(n=i("local URLs only")),b(r),"blocked"===I(r)&&(n=i("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===n){let t=Q(r);v(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",n=await eD(e)):"same-origin"===r.mode?n=i('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?n=i('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",n=await eD(e)):H(Q(r))?(r.responseTainting="cors",n=await eR(e)):n=i("URL scheme must be a HTTP(S) scheme")}if(t)return n;0===n.status||n.internalResponse||(r.responseTainting,"basic"===r.responseTainting?n=o(n,"basic"):"cors"===r.responseTainting?n=o(n,"cors"):"opaque"===r.responseTainting?n=o(n,"opaque"):j(!1));let s=0===n.status?n:n.internalResponse;if(0===s.urlList.length&&s.urlList.push(...r.urlList),r.timingAllowFailed||(n.timingAllowPassed=!0),"opaque"===n.type&&206===s.status&&s.rangeRequested&&!r.headers.contains("range",!0)&&(n=s=i()),0!==n.status&&("HEAD"===r.method||"CONNECT"===r.method||$.includes(s.status))&&(s.body=null,e.controller.dump=!0),r.integrity){let t=t=>ex(e,i(t));if("opaque"===r.responseTainting||null==n.body)return void t(n.error);T(n.body,i=>{eC(i,r.integrity)?(n.body=K(i)[0],ex(e,n)):t("integrity mismatch")},t)}else ex(e,n)}catch(t){e.controller.terminate(t)}}function eD(e){if(M(e)&&0===e.request.redirectCount)return Promise.resolve(s(e));let{request:t}=e,{protocol:o}=Q(t);switch(o){case"about:":return Promise.resolve(i("about scheme is not supported"));case"blob:":{n||(n=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(i("NetworkError when attempting to fetch resource."));let s=n(e.toString());if("GET"!==t.method||!em.is.Blob(s))return Promise.resolve(i("invalid method"));let o=a(),A=s.size,l=ef(`${A}`),c=s.type;if(t.headersList.contains("range",!0)){o.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(i("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:n}=e;if(null===r)n=(r=A-n)+n-1;else{if(r>=A)return Promise.resolve(i("Range start is greater than the blob's size."));(null===n||n>=A)&&(n=A-1)}let a=s.slice(r,n+1,c);o.body=X(a)[0];let l=ef(`${a.size}`),d=z(r,n,A);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",d,!0)}else{let e=X(s);o.statusText="OK",o.body=e[0],o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0)}return Promise.resolve(o)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(i("failed to fetch the data URL"));return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eg(e.mimeType)}]],body:K(e.body)[0]}))}case"file:":return Promise.resolve(i("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>i(e));default:return Promise.resolve(i("unknown scheme"))}}function ex(e,t){let r=e.timingInfo,n=()=>{let n=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!H(e.request.url))return;r.endTime=n;let i=t.cacheState,s=t.bodyInfo;t.timingAllowPassed||(r=S(r),i="");let o=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){o=t.status;let e=V(t.headersList);"failure"!==e&&(s.contentType=eu(e))}null!=e.request.initiatorType&&eN(r,e.request.url.href,e.request.initiatorType,globalThis,i,s,o)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let i="error"===t.type?t:t.internalResponse??t;null==i.body?n():eo(i.body.stream,()=>{n()})}async function eR(e){let t=e.request,r=null,n=null,s=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),n=r=await ek(e),"cors"===t.responseTainting&&"failure"===D(t,r))return i("cors failure");"failure"===E(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===x(t.origin,t.client,t.destination,n)?i("blocked"):(Z.has(n.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=i("unexpected redirect"):"manual"===t.redirect?r=n:"follow"===t.redirect?r=await function(e,t){let r,n=e.request,s=t.internalResponse?t.internalResponse:t;try{if(r=B(s,Q(n).hash),null==r)return t}catch(e){return Promise.resolve(i(e))}if(!H(r))return Promise.resolve(i("URL scheme must be a HTTP(S) scheme"));if(20===n.redirectCount)return Promise.resolve(i("redirect count exceeded"));if(n.redirectCount+=1,"cors"===n.mode&&(r.username||r.password)&&!v(n,r))return Promise.resolve(i('cross origin not allowed for request mode "cors"'));if("cors"===n.responseTainting&&(r.username||r.password))return Promise.resolve(i('URL cannot contain credentials for request mode "cors"'));if(303!==s.status&&null!=n.body&&null==n.body.source)return Promise.resolve(i());if([301,302].includes(s.status)&&"POST"===n.method||303===s.status&&!eI.includes(n.method))for(let e of(n.method="GET",n.body=null,et))n.headersList.delete(e);v(Q(n),r)||(n.headersList.delete("authorization",!0),n.headersList.delete("proxy-authorization",!0),n.headersList.delete("cookie",!0),n.headersList.delete("host",!0)),null!=n.body&&(j(null!=n.body.source),n.body=K(n.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=k(e.crossOriginIsolatedCapability),0===o.redirectStartTime&&(o.redirectStartTime=o.startTime),n.urlList.push(r),N(n,s),ew(e,!0)}(e,r):j(!1)),r.timingInfo=s,r)}async function ek(e,t=!1,r=!1){let n=e.request,o=null,a=null,A=null;"no-window"===n.window&&"error"===n.redirect?(o=e,a=n):(n.body?.source!=null?a=g(n):(a=g({...n,body:null})).body=n.body,(o={...e}).request=a);let l="include"===n.credentials||"same-origin"===n.credentials&&"basic"===n.responseTainting,c=a.body?a.body.length:null,d=null;if(null==a.body&&["POST","PUT"].includes(a.method)&&(d="0"),null!=c&&(d=ef(`${c}`)),null==d||a.headersList.contains("content-length",!0)||a.headersList.append("content-length",d,!0),null!=c&&a.keepalive,em.is.URL(a.referrer)&&a.headersList.append("referer",ef(a.referrer.href),!0),y(a),w(a),a.headersList.contains("user-agent",!0)||a.headersList.append("user-agent",eE,!0),"default"===a.cache&&(a.headersList.contains("if-modified-since",!0)||a.headersList.contains("if-none-match",!0)||a.headersList.contains("if-unmodified-since",!0)||a.headersList.contains("if-match",!0)||a.headersList.contains("if-range",!0))&&(a.cache="no-store"),"no-cache"!==a.cache||a.preventNoCacheCacheControlHeaderModification||a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","max-age=0",!0),("no-store"===a.cache||"reload"===a.cache)&&(a.headersList.contains("pragma",!0)||a.headersList.append("pragma","no-cache",!0),a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","no-cache",!0)),a.headersList.contains("range",!0)&&a.headersList.append("accept-encoding","identity",!0),a.headersList.contains("accept-encoding",!0)||(P(Q(a))?a.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):a.headersList.append("accept-encoding","gzip, deflate",!0)),a.headersList.delete("host",!0),l&&!a.headersList.contains("authorization",!0)){let e=null;if(_(a)&&(void 0===a.useURLCredentials||!J(Q(a))));else if(J(Q(a))&&t){let{username:t,password:r}=Q(a);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&a.headersList.append("Authorization",e,!1)}if(a.cache="no-store","no-store"!==a.cache&&a.cache,null==A){if("only-if-cached"===a.cache)return i("only if cached");let e=await ev(o,l,r);!ee.has(a.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...a.urlList],a.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==a.responseTainting&&l&&(void 0!==n.useURLCredentials||W(n.traversableForUserPrompts))){if(null!=n.body){if(null==n.body.source)return A;n.body=K(n.body.source)[0]}if(void 0===n.useURLCredentials||t)return M(e)?s(e):A;e.controller.connection.destroy(),A=await ek(e,!0)}if(407===A.status)return"no-window"===n.window?i():M(e)?s(e):i("proxy authentication required");if(421===A.status&&!r&&(null==n.body||null!=n.body.source)){if(M(e))return s(e);e.controller.connection.destroy(),A=await ek(e,t,!0)}return A}async function ev(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let n=e.request,o=null,A=e.timingInfo;n.cache="no-store",n.mode;let l=null;if(null==n.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=n.body){let t=async function*(t){M(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of n.body.stream)yield*t(e);!M(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){M(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:i,headersList:s,socket:d}=await function({body:t}){let r=Q(n),i=e.controller.dispatcher,s=r.pathname+r.search,o=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(a,l){return new Promise((d,g)=>i.dispatch({path:o?`${s}?`:s,origin:r.origin,method:n.method,body:i.isMockActive?n.body&&(n.body.source||n.body.stream):a,__mockAgentBodyForDispatch:a,headers:n.headersList.entries,maxRedirections:0,upgrade:"websocket"===n.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let n=e=>t.abort(e);r.destroyed?n(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",n),this.abort=r.abort=n),A.finalNetworkRequestStartTime=k(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=k(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,i){if(t<200)return;let s=e?.rawHeaders??[],o=new c;ey(o,r,s);let a=o.get("location",!0);this.body=new ei({read:()=>e.resume()});let A=a&&"follow"===n.redirect&&Z.has(t),l=[];if("HEAD"!==n.method&&"CONNECT"!==n.method&&!$.includes(t)&&!A){let e=o.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void g(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(p.createGunzip({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(q({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(p.createBrotliDecompress({flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(p.createZstdDecompress({flush:p.constants.ZSTD_e_continue,finishFlush:p.constants.ZSTD_e_end}));else{l.length=0;break}}}let u=t=>this.onResponseError(e,t);d({status:t,statusText:i,headersList:o,body:l.length?es(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",u):this.body.on("error",u)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,i){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===n.mode&&!1!==l&&i?.code==="UND_ERR_INFO"&&i?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(a,!1)):(this.body?.destroy(i),e.controller.terminate(i),g(i))},onRequestUpgrade(e,t,r,n){if(null!=n.session&&200!==t||null==n.session&&101!==t)return!1;let i=e?.rawHeaders??[],s=new c;return ey(s,r,i),d({status:t,statusText:ep[t],headersList:s,socket:n}),!0}}))}(t)}({body:l});if(d)o=a({status:r,statusText:i,headersList:s,socket:d});else{let n=t[Symbol.asyncIterator]();e.controller.next=()=>n.next(),o=a({status:r,statusText:i,headersList:s})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),s(e,t);return i(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{M(e)||e.controller.abort(t)},type:"bytes"});return o.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){U(e)?(o.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:F(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:n}=await e.controller.next();if(U(e))break;t=r?void 0:n}catch(n){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=n,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,o);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let n=new Uint8Array(t);if(n.byteLength&&e.controller.controller.enqueue(n),ea(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},o}e.exports={fetch:function(e,t){let r;em.argumentLengthCheck(arguments,1,"globalThis.fetch");let n=Promise.withResolvers();try{r=new d(e,t)}catch(e){return n.reject(e),n.promise}let i=h(r);if(r.signal.aborted)return eb(n,i,null,r.signal.reason,null),n.promise;let s=i.client.globalObject;s?.constructor?.name==="ServiceWorkerGlobalScope"&&(i.serviceWorkers="none");let o=null,a=!1,l=null,c=el(r.signal,()=>{a=!0,j(null!=l),l.abort(r.signal.reason);let e=o?.deref();eb(n,i,e,r.signal.reason,l.controller)}),g=()=>{c(),m(r)};return l=eS({request:i,processResponseEndOfBody:e=>{eQ(e,"fetch"),g()},processResponse:e=>{if(!a){if(e.aborted){eb(n,i,o,l.serializedAbortReason,l.controller),g();return}if("error"===e.type){n.reject(TypeError("fetch failed",{cause:e.error})),g();return}o=new WeakRef(A(e,"immutable")),n.resolve(o.deref()),n=null}},dispatcher:u(r),requestObject:r}),n.promise},Fetch:eB,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let n,{extractBody:i,mixinBody:s,cloneBody:o,bodyUnusable:a}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:g,setHeadersList:u,getHeadersList:h}=r(3470),m=r(1210),p=r(7975),{isValidHTTPToken:C,sameOrigin:f,environmentSettingsObject:I}=r(638),{forbiddenMethodsSet:E,corsSafeListedMethodsSet:y,referrerPolicy:B,requestRedirect:Q,requestMode:N,requestCredentials:b,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:D,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=m,{webidl:k}=r(849),{URLSerializer:v}=r(3518),{kConstruct:M}=r(3025),U=r(4589),{getMaxListeners:F,setMaxListeners:T,defaultMaxListeners:L}=r(8474),O=Symbol("abortController"),H=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),P=new WeakMap;try{n=F(new AbortController().signal)>0}catch{n=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){H.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=P.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}P.delete(r.signal)}}}}let G=!1;class z{#ti;#Q;#$;#eS;#ts=null;constructor(e,t){let r;if(k.util.markAsUncloneable(this),e===M)return;k.argumentLengthCheck(arguments,1,"Request constructor"),e=k.converters.RequestInfo(e),t=k.converters.RequestInit(t);let s=null,o=null,g=I.settingsObject.baseUrl,p=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,g)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=X({urlList:[r]}),o="cors"}else U(k.is.Request(e)),s=e.#eS,p=e.#ti,this.#Q=t.dispatcher||e.#Q;let B=I.settingsObject.origin,Q="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&f(s.window,B)&&(Q=s.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),s=X({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:I.settingsObject,window:Q,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let N=0!==Object.keys(t).length;if(N&&("navigate"===s.mode&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)s.referrer="no-referrer";else{let t;try{t=new URL(e,g)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||B&&!f(t,I.settingsObject.baseUrl)?s.referrer="client":s.referrer=t}}if(void 0!==t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:o))throw k.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(s.mode=r),void 0!==t.credentials&&(s.credentials=t.credentials),void 0!==t.cache&&(s.cache=t.cache),"only-if-cached"===s.cache&&"same-origin"!==s.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(s.redirect=t.redirect),null!=t.integrity&&(s.integrity=String(t.integrity)),void 0!==t.keepalive&&(s.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)s.method=r;else{if(!C(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(E.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=x[t]??e,s.method=e}G||"patch"!==s.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(p=t.signal),this.#eS=s;let b=new AbortController;if(this.#ti=b.signal,null!=p)if(p.aborted)b.abort(p.reason);else{this[O]=b;let e=Y(new WeakRef(b));n&&F(p)===L&&T(1500,p);let t=m.addAbortListener(p,e);H.register(b,{signal:p,abort:e},e),this.#ts=()=>{H.unregister(e),t(),this.#ts=null}}if(this.#$=new A(M),u(this.#$,s.headersList),d(this.#$,"request"),"no-cors"===r){if(!y.has(s.method))throw TypeError(`'${s.method} is unsupported in no-cors mode.`);d(this.#$,"request-no-cors")}if(N){let e=h(this.#$),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:n}of r.rawValues())e.append(t,n,!1);e.cookies=r.cookies}else l(this.#$,r)}let S=k.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===s.method||"HEAD"===s.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=i(t.body,s.keepalive);w=e,r&&!h(this.#$).contains("content-type",!0)&&this.#$.append("content-type",r,!0)}let D=w??S;if(null!=D&&null==D.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==s.mode&&"cors"!==s.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let v=D;if(null==w&&null!=S){if(a(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),v={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=v}get method(){return k.brandCheck(this,z),this.#eS.method}get url(){return k.brandCheck(this,z),v(this.#eS.url)}get headers(){return k.brandCheck(this,z),this.#$}get destination(){return k.brandCheck(this,z),this.#eS.destination}get referrer(){return(k.brandCheck(this,z),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return k.brandCheck(this,z),this.#eS.referrerPolicy}get mode(){return k.brandCheck(this,z),this.#eS.mode}get credentials(){return k.brandCheck(this,z),this.#eS.credentials}get cache(){return k.brandCheck(this,z),this.#eS.cache}get redirect(){return k.brandCheck(this,z),this.#eS.redirect}get integrity(){return k.brandCheck(this,z),this.#eS.integrity}get keepalive(){return k.brandCheck(this,z),this.#eS.keepalive}get isReloadNavigation(){return k.brandCheck(this,z),this.#eS.reloadNavigation}get isHistoryNavigation(){return k.brandCheck(this,z),this.#eS.historyNavigation}get signal(){return k.brandCheck(this,z),this.#ti}get body(){return k.brandCheck(this,z),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return k.brandCheck(this,z),!!this.#eS.body&&m.isDisturbed(this.#eS.body.stream)}get duplex(){return k.brandCheck(this,z),"half"}clone(){if(k.brandCheck(this,z),a(this.#eS))throw TypeError("unusable");let e=Z(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=P.get(this.signal);void 0===e&&(e=new Set,P.set(this.signal,e));let r=new WeakRef(t);e.add(r),m.addAbortListener(t.signal,Y(r))}return $(e,this.#Q,t.signal,g(this.#$))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${p.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#ti=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#$=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#ts?.()}}let{setRequestSignal:q,getRequestDispatcher:V,setRequestDispatcher:_,setRequestHeaders:J,getRequestState:W,setRequestState:j,removeRequestAbortListener:K}=z;function X(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function Z(e){let t=X({...e,body:null});return null!=e.body&&(t.body=o(e.body)),t}function $(e,t,r,n){let i=new z(M);j(i,e),_(i,t),q(i,r);let s=new A(M);return J(i,s),u(s,e.headersList),d(s,n),i}Reflect.deleteProperty(z,"setRequestSignal"),Reflect.deleteProperty(z,"getRequestDispatcher"),Reflect.deleteProperty(z,"setRequestDispatcher"),Reflect.deleteProperty(z,"setRequestHeaders"),Reflect.deleteProperty(z,"getRequestState"),Reflect.deleteProperty(z,"setRequestState"),Reflect.deleteProperty(z,"removeRequestAbortListener"),s(z,W),Object.defineProperties(z.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),k.is.Request=k.util.MakeTypeAssertion(z),k.converters.RequestInfo=function(e){return"string"==typeof e?k.converters.USVString(e):k.is.Request(e)?e:k.converters.USVString(e)},k.converters.RequestInit=k.dictionaryConverter([{key:"method",converter:k.converters.ByteString},{key:"headers",converter:k.converters.HeadersInit},{key:"body",converter:k.nullableConverter(k.converters.BodyInit)},{key:"referrer",converter:k.converters.USVString},{key:"referrerPolicy",converter:k.converters.DOMString,allowedValues:B},{key:"mode",converter:k.converters.DOMString,allowedValues:N},{key:"credentials",converter:k.converters.DOMString,allowedValues:b},{key:"cache",converter:k.converters.DOMString,allowedValues:S},{key:"redirect",converter:k.converters.DOMString,allowedValues:Q},{key:"integrity",converter:k.converters.DOMString},{key:"keepalive",converter:k.converters.boolean},{key:"signal",converter:k.nullableConverter(e=>k.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:k.converters.any},{key:"duplex",converter:k.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:k.converters.any},{key:"priority",converter:k.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:z,makeRequest:X,fromInnerRequest:$,cloneRequest:Z,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:K}},165(e,t,r){let{Headers:n,HeadersList:i,fill:s,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:g,bodyUnusable:u}=r(4626),h=r(1210),m=r(7975),{kEnumerableProperty:p}=h,{isValidReasonPhrase:C,isCancelled:f,isAborted:I,isErrorLike:E,environmentSettingsObject:y}=r(638),{redirectStatusSet:B,nullBodyStatus:Q}=r(6113),{webidl:N}=r(849),{URLSerializer:b}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:D,serializeJavascriptValueToJSONString:x}=r(5358),R=new TextEncoder("utf-8");class k{#$;#eS;static error(){return G(O(),"immutable")}static json(e,t){N.argumentLengthCheck(arguments,1,"Response.json"),t=N.converters.ResponseInit(t);let r=l(R.encode(x(e))),n=G(L({}),"response");return Y(n,t,{body:r[0],type:"application/json"}),n}static redirect(e,t=302){let r;N.argumentLengthCheck(arguments,1,"Response.redirect"),e=N.converters.USVString(e),t=N.converters["unsigned short"](t);try{r=new URL(e,y.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!B.has(t))throw RangeError(`Invalid status code ${t}`);let n=G(L({}),"immutable");n.#eS.status=t;let i=D(b(r));return n.#eS.headersList.append("location",i,!0),n}constructor(e=null,t){if(N.util.markAsUncloneable(this),e===S)return;null!==e&&(e=N.converters.BodyInit(e,"Response","body")),t=N.converters.ResponseInit(t),this.#eS=L({}),this.#$=new n(S),a(this.#$,"response"),A(this.#$,this.#eS.headersList);let r=null;if(null!=e){let[t,n]=l(e);r={body:t,type:n}}Y(this,t,r)}get type(){return N.brandCheck(this,k),this.#eS.type}get url(){N.brandCheck(this,k);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":b(t,!0)}get redirected(){return N.brandCheck(this,k),this.#eS.urlList.length>1}get status(){return N.brandCheck(this,k),this.#eS.status}get ok(){return N.brandCheck(this,k),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return N.brandCheck(this,k),this.#eS.statusText}get headers(){return N.brandCheck(this,k),this.#$}get body(){return N.brandCheck(this,k),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return N.brandCheck(this,k),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(N.brandCheck(this,k),u(this.#eS))throw N.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&g.register(this,new WeakRef(this.#eS.body.stream)),G(e,o(this.#$))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#$}static setResponseHeaders(e,t){e.#$=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:v,setResponseHeaders:M,getResponseState:U,setResponseState:F}=k;function T(e){if(e.internalResponse)return P(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new i(e?.headersList):new i,urlList:e?.urlList?[...e.urlList]:[]}}function O(e){return L({type:"error",status:0,error:E(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function H(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,n)=>(w(!(r in t)),e[r]=n,!0)})}function P(e,t){return"basic"===t?H(e,{type:"basic",headersList:e.headersList}):"cors"===t?H(e,{type:"cors",headersList:e.headersList}):"opaque"===t?H(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?H(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!C(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(U(e).status=t.status),"statusText"in t&&null!=t.statusText&&(U(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&s(v(e),t.headers),r){if(Q.includes(e.status))throw N.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});U(e).body=r.body,null==r.type||U(e).headersList.contains("content-type",!0)||U(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new k(S);F(r,e);let i=new n(S);return M(r,i),A(i,e.headersList),a(i,t),0!==e.urlList.length&&e.body?.stream&&g.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(k,"getResponseHeaders"),Reflect.deleteProperty(k,"setResponseHeaders"),Reflect.deleteProperty(k,"getResponseState"),Reflect.deleteProperty(k,"setResponseState"),d(k,U),Object.defineProperties(k.prototype,{type:p,url:p,status:p,ok:p,redirected:p,statusText:p,headers:p,clone:p,body:p,bodyUsed:p,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(k,{json:p,redirect:p,error:p}),N.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?N.converters.USVString(e,t,r):N.is.Blob(e)||N.is.BufferSource(e)||N.is.FormData(e)||N.is.URLSearchParams(e)?e:N.converters.DOMString(e,t,r)},N.converters.BodyInit=function(e,t,r){return N.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:N.converters.XMLHttpRequestBodyInit(e,t,r)},N.converters.ResponseInit=N.dictionaryConverter([{key:"status",converter:N.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:N.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:N.converters.HeadersInit}]),N.is.Response=N.util.MakeTypeAssertion(k),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:O,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(f(e)),I(e)?O(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):O(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:P,Response:k,cloneResponse:T,fromInnerResponse:G,getResponseState:U}},638(e,t,r){let{Transform:n}=r(7075),i=r(8522),{redirectStatusSet:s,referrerPolicyTokens:o,badPortsSet:a}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:g,isValidHTTPToken:u,normalizedMethodRecordsBase:h}=r(1210),m=r(4589),{isUint8Array:p}=r(3429),{webidl:C}=r(849),{isomorphicEncode:f,collectASequenceOfCodePoints:I,removeChars:E}=r(5358);function y(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function B(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function N(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function b(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(m(C.is.URL(e)),F(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),D=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function x(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),D(e)):w(e)}function R(e){var t;return!!C.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||x(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function k(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let v=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function M(e,t,r=0,n=1){class i{#to;#ta;#tA;constructor(e,t){this.#to=e,this.#ta=t,this.#tA=0}next(){let i;if("object"!=typeof this||this===null||!(#to in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let s=this.#tA,o=t(this.#to);if(s>=o.length)return{value:void 0,done:!0};let{[r]:a,[n]:A}=o[s];switch(this.#tA=s+1,this.#ta){case"key":i=a;break;case"value":i=A;break;case"key+value":i=[a,A]}return{value:i,done:!1}}}return delete i.prototype.constructor,Object.setPrototypeOf(i.prototype,v),Object.defineProperties(i.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new i(e,t)}}async function U(e,t,r){try{let n=[],i=0;for(;;){let{done:s,value:o}=await e.read();if(s)return void t(Buffer.concat(n,i));if(!p(o))return void r(TypeError("Received non-Uint8Array chunk"));n.push(o),i+=o.length}}catch(e){r(e)}}function F(e){m("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){m("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class O extends n{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?i.createInflate(this.#tl):i.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function H(e,t){let r=t.get(e,!0);if(null===r)return null;let n={position:0},i=[],s="";for(;n.position<r.length;){if(s+=I(e=>'"'!==e&&","!==e,r,n),n.position<r.length)if(34===r.charCodeAt(n.position)){if(s+=l(r,n),n.position<r.length)continue}else m(44===r.charCodeAt(n.position)),n.position++;s=E(s,!0,!0,e=>9===e||32===e),i.push(s),s=""}return i}class P{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=b()}class Y{settingsObject=new P}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:B,ReadableStreamFrom:g,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;m(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else C.is.URL(e.referrer)&&(r=e.referrer);let n=S(r),i=S(r,!0);switch(n.toString().length>4096&&(n=i),t){case"no-referrer":return"no-referrer";case"origin":if(null!=i)return i;return S(r,!0);case"unsafe-url":return n;case"strict-origin":{let t=Q(e);if(R(n)&&!R(t))return"no-referrer";return i}case"strict-origin-when-cross-origin":{let t=Q(e);if(k(n,t))return n;if(R(n)&&!R(t))return"no-referrer";return i}case"same-origin":if(k(e,n))return n;return"no-referrer";case"origin-when-cross-origin":if(k(e,n))return n;return i;case"no-referrer-when-downgrade":{let t=Q(e);if(R(n)&&!R(t))return"no-referrer";return n}}},makePolicyContainer:b,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":k(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let n=t[e-1].trim();if(o.has(n)){r=n;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:u,requestBadPort:function(e){let t=Q(e);return L(t)&&a.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:y,responseLocationURL:function(e,t){var r;if(!s.has(e.status))return null;let n=e.headersList.get("location",!0);return null!==n&&N(n)&&(B(n)||(r=n,n=Buffer.from(r,"binary").toString("utf8")),n=new URL(n,y(e))),n&&!n.hash&&(n.hash=t),n},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:k,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,n=0,i=1){let s=M(e,r,n,i),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,n=globalThis){if(C.brandCheck(this,t),C.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of s(this,"key+value"))r.call(n,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})},createIterator:M,isValidHeaderName:u,isValidHeaderValue:N,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let n=e.stream.getReader();U(n,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:F,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:U,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&I(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&I(e=>" "===e||" "===e,e,r);let n=I(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),i=n.length?Number(n):null;if(t&&I(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&I(e=>" "===e||" "===e,e,r);let s=I(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),o=s.length?Number(s):null;return r.position<e.length||null===o&&null===i||null!==i&&null!==o&&i>o?"failure":{rangeStartValue:i,rangeEndValue:o}},buildContentRange:function(e,t,r){let n="bytes ";return n+=f(`${e}`),n+="-",n+=f(`${t}`),n+="/",n+=f(`${r}`)},createInflate:function(e){return new O(e)},extractMimeType:function(e){let t=null,r=null,n=null,i=H("content-type",e);if(null===i)return"failure";for(let e of i){let i=c(e);"failure"!==i&&"*/*"!==i.essence&&((n=i).essence!==r?(t=null,n.parameters.has("charset")&&(t=n.parameters.get("charset")),r=n.essence):n.parameters.has("charset")||null===t||n.parameters.set("charset",t))}return null==n?"failure":n},getDecodeSplit:H,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:x,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let n=r(4589),{utf8DecodeBytes:i}=r(2718),s=/[\u0009\u000A\u000C\u000D\u0020]/g;function o(e){return 9===e||10===e||12===e||13===e||32===e}let a=/[^\x00-\xFF]/;function A(e,t,r,n){let i=0,s=e.length-1;if(t)for(;i<e.length&&n(e.charCodeAt(i));)i++;if(r)for(;s>0&&n(e.charCodeAt(s));)s--;return 0===i&&s===e.length-1?e:e.slice(i,s+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let n="";for(;r.position<t.length&&e(t[r.position]);)n+=t[r.position],r.position++;return n},collectASequenceOfCodePointsFast:function(e,t,r){let n=t.indexOf(e,r.position),i=r.position;return -1===n?(r.position=t.length,t.slice(i)):(r.position=n,t.slice(i,r.position))},forgivingBase64:function(e){let t=(e=e.replace(s,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:o,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",n=0,i=65535;for(;n<t;)n+i>t&&(i=t-n),r+=String.fromCharCode.apply(null,e.subarray(n,n+=i));return r},isomorphicEncode:function(e){return n(!a.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(i(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,o)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return n("string"==typeof t),t}}},2300(e,t,r){let n,i=r(4589),{runtimeFeatures:s}=r(6979),o=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(s.has("crypto")){let e=(n=r(7598)).getHashes();for(let t of(0===e.length&&o.clear(),o.keys()))!1===e.includes(t)&&o.delete(t)}else o.clear();let a=Map.prototype.get.bind(o),A=Map.prototype.has.bind(o),l=!1===s.has("crypto")||0===o.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,n=t.val;if(u(g(r,e),n))return!0}return!1};function c(e){let t=[],r=null;for(let n of e){if(i(A(n.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(n),r=n;continue}let e=a(r.alg),s=a(n.alg);s<e||(s>e?(r=n,t[0]=n,t.length=1):t.push(n))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],n="",i=[e.slice(0,6),e.slice(7)],s=i[0];if(!A(s))continue;i[1]&&(n=i[1]);let o={alg:s,val:n};t.push(o)}return t}let g=(e,t)=>n.hash(e,t,"base64");function u(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let n=t.length;if(0!==n&&"="===t[n-1]&&(n-=1),0!==n&&"="===t[n-1]&&(n-=1),r!==n)return!1;for(let n=0;n<r;++n)if(e[n]!==t[n]&&("+"!==e[n]||"-"!==t[n])&&("/"!==e[n]||"_"!==t[n]))return!1;return!0}e.exports={applyAlgorithmToBytes:g,bytesMatch:l,caseSensitiveMatch:u,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let n=r(4589),{types:i,inspect:s}=r(7975),{markAsUncloneable:o}=r(5919),a=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!a(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>a(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=o,A.util.ConvertToInt=function(e,t,r,n){let i,s;64===t?(i=0x1fffffffffffff,s="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(s=0,i=Math.pow(2,t)-1):(s=-Math.pow(2,t-1),i=Math.pow(2,t-1)-1);let o=Number(e);if(0===o&&(o=0),A.util.HasFlag(n,A.attributes.EnforceRange)){if(Number.isNaN(o)||o===1/0||o===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((o=A.util.IntegerPart(o))<s||o>i)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${i}, got ${o}.`});return o}return!Number.isNaN(o)&&A.util.HasFlag(n,A.attributes.Clamp)?o=Math.floor(o=Math.min(Math.max(o,s),i))%2==0?Math.floor(o):Math.ceil(o):Number.isNaN(o)||0===o&&Object.is(0,o)||o===1/0||o===-1/0?0:(o=A.util.IntegerPart(o)%Math.pow(2,t),"signed"===r&&o>=Math.pow(2,t-1))?o-Math.pow(2,t):o},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return s(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(i.isArrayBuffer(e))return e.resizable;if(i.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,n,i)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${n} (${A.util.Stringify(t)}) is not iterable.`});let s="function"==typeof i?i():t?.[Symbol.iterator]?.(),o=[],a=0;if(void 0===s||"function"!=typeof s.next)throw A.errors.exception({header:r,message:`${n} is not iterable.`});for(;;){let{done:t,value:i}=s.next();if(t)break;o.push(e(i,r,`${n}[${a++}]`))}return o}},A.recordConverter=function(e,t){return(r,n,s)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:n,message:`${s} ("${A.util.TypeValueToString(r)}") is not an Object.`});let o={};if(!i.isProxy(r)){for(let i of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let a=A.util.Stringify(i),l=e(i,n,`Key ${a} in ${s}`),c=t(r[i],n,`${s}[${a}]`);o[l]=c}return o}for(let i of Reflect.ownKeys(r)){let a=Reflect.getOwnPropertyDescriptor(r,i);if(a?.enumerable){let a=e(i,n,s),A=t(r[i],n,s);o[a]=A}}return o}},A.interfaceConverter=function(e,t){return(r,n,i)=>{if(!e(r))throw A.errors.exception({header:n,message:`Expected ${i} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,n)=>{let i={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let s of e){let{key:e,defaultValue:o,required:a,converter:l}=s;if(!0===a&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==o;if(d&&void 0===c&&(c=o()),a||d||void 0!==c){if(c=l(c,r,`${n}.${e}`),s.allowedValues&&!s.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});i[e]=c}}return i}},A.nullableConverter=function(e){return(t,r,n)=>null===t?t:e(t,r,n)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return i.isArrayBuffer(e)||ArrayBuffer.isView(e)&&i.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,s=0;if(i.isTypedArray(e)||i.isDataView(e)?(t=e.buffer,r=e.byteOffset):n(i.isAnyArrayBuffer(e)),s=e.byteLength,t.detached)return new Uint8Array(0);let o=new Uint8Array(s),a=new Uint8Array(t,r,s);return o.set(a),o},A.converters.DOMString=function(e,t,r,n){if(null===e&&A.util.HasFlag(n,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let n=String(e);for(let e=0;e<n.length;e++)if(n.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${n.charCodeAt(e)} which is greater than 255.`);return n},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,n){return A.util.ConvertToInt(e,16,"unsigned",n,t,r)},A.converters.ArrayBuffer=function(e,t,r,n){if(8!==A.util.Type(e)||!i.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,n){if(8!==A.util.Type(e)||!i.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,n,s){if(8!==A.util.Type(e)||!i.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${n} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(s,A.attributes.AllowShared)&&i.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${n} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(s,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${n} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,n){if(8!==A.util.Type(e)||!i.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(n,A.attributes.AllowShared)&&i.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,n){if(8!==A.util.Type(e)||!i.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(n,A.attributes.AllowShared)&&i.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,n){if(i.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,n);if(i.isArrayBufferView(e))return n&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,n);if(i.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,n){if(i.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,n);if(i.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,n);if(i.isArrayBufferView(e))return n|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,n);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:n,states:i,sentCloseFrameState:s,emptyBuffer:o,opcodes:a}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:g,validateCloseCodeAndReason:u}=r(3927),{makeRequest:h}=r(9553),{fetching:m}=r(7564),{Headers:p,getHeadersList:C}=r(3470),{getDecodeSplit:f}=r(638),{WebsocketFrameSend:I}=r(4018),E=r(4589),{runtimeFeatures:y}=r(6979),B=y.has("crypto")?r(7598):null,Q=!1;function N(e,t,r,n=!1){if(t??=null,r??="",n&&u(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(s.SENT)||e.closeState.has(s.RECEIVED))e.readyState=i.CLOSING;else{let n=new I;0!==r.length&&null===t&&(t=1e3),E(null===t||Number.isInteger(t)),null===t&&0===r.length?n.frameData=o:null!==t&&null===r?(n.frameData=Buffer.allocUnsafe(2),n.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(n.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),n.frameData.writeUInt16BE(t,0),n.frameData.write(r,2,"utf-8")):n.frameData=o,e.socket.write(n.createFrame(a.CLOSE)),e.closeState.add(s.SENT),e.readyState=i.CLOSING}else b(e),e.readyState=i.CLOSING}function b(e,t,r,n){d(e.readyState)&&N(e,t,r,!1),e.controller.abort(),g(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,i,s){e.protocol="ws:"===e.protocol?"http:":"https:";let o=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});s.headers&&(o.headersList=C(new p(s.headers)));let a=B.randomBytes(16).toString("base64");for(let e of(o.headersList.append("sec-websocket-key",a,!0),o.headersList.append("sec-websocket-version","13",!0),t))o.headersList.append("sec-websocket-protocol",e,!0);return o.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),m({request:o,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void b(i,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void b(i,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void b(i,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void b(i,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void b(i,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==B.hash("sha1",a+n,"base64"))return void b(i,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let s=e.headersList.get("Sec-WebSocket-Extensions");if(null!==s&&!(r=A(s)).has("permessage-deflate"))return void b(i,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||f("sec-websocket-protocol",o.headersList).includes(l)?(e.socket.on("data",i.onSocketData),e.socket.on("close",i.onSocketClose),e.socket.on("error",i.onSocketError),i.wasEverConnected=!0,i.onConnectionEstablished(e,r)):b(i,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:b,closeWebSocketConnection:N}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:n}=r(849),{kEnumerableProperty:i}=r(1210),{kConstruct:s}=r(3025);class o extends Event{#tc;constructor(e,t={}){if(e===s){super(arguments[1],arguments[2]),n.util.markAsUncloneable(this);return}let r="MessageEvent constructor";n.argumentLengthCheck(arguments,1,r),super(e=n.converters.DOMString(e,r,"type"),t=n.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,n.util.markAsUncloneable(this)}get data(){return n.brandCheck(this,o),this.#tc.data}get origin(){return n.brandCheck(this,o),this.#tc.origin}get lastEventId(){return n.brandCheck(this,o),this.#tc.lastEventId}get source(){return n.brandCheck(this,o),this.#tc.source}get ports(){return n.brandCheck(this,o),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,i=null,s="",a="",A=null,l=[]){return n.brandCheck(this,o),n.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new o(e,{bubbles:t,cancelable:r,data:i,origin:s,lastEventId:a,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new o(s,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:a}=o;delete o.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";n.argumentLengthCheck(arguments,1,r),super(e=n.converters.DOMString(e,r,"type"),t=n.converters.CloseEventInit(t)),this.#tc=t,n.util.markAsUncloneable(this)}get wasClean(){return n.brandCheck(this,A),this.#tc.wasClean}get code(){return n.brandCheck(this,A),this.#tc.code}get reason(){return n.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";n.argumentLengthCheck(arguments,1,r),super(e,t),n.util.markAsUncloneable(this),e=n.converters.DOMString(e,r,"type"),t=n.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return n.brandCheck(this,l),this.#tc.message}get filename(){return n.brandCheck(this,l),this.#tc.filename}get lineno(){return n.brandCheck(this,l),this.#tc.lineno}get colno(){return n.brandCheck(this,l),this.#tc.colno}get error(){return n.brandCheck(this,l),this.#tc.error}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:i,origin:i,lastEventId:i,source:i,ports:i,initMessageEvent:i}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:i,code:i,wasClean:i}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:i,filename:i,lineno:i,colno:i,error:i}),n.converters.MessagePort=n.interfaceConverter(n.is.MessagePort,"MessagePort"),n.converters["sequence<MessagePort>"]=n.sequenceConverter(n.converters.MessagePort);let c=[{key:"bubbles",converter:n.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:n.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:n.converters.boolean,defaultValue:()=>!1}];n.converters.MessageEventInit=n.dictionaryConverter([...c,{key:"data",converter:n.converters.any,defaultValue:()=>null},{key:"origin",converter:n.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:n.converters.DOMString,defaultValue:()=>""},{key:"source",converter:n.nullableConverter(n.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:n.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),n.converters.CloseEventInit=n.dictionaryConverter([...c,{key:"wasClean",converter:n.converters.boolean,defaultValue:()=>!1},{key:"code",converter:n.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:n.converters.USVString,defaultValue:()=>""}]),n.converters.ErrorEventInit=n.dictionaryConverter([...c,{key:"message",converter:n.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:n.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:n.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:n.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:n.converters.any}]),e.exports={MessageEvent:o,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:a}},4018(e,t,r){let{runtimeFeatures:n}=r(6979),{maxUnsigned16Bit:i,opcodes:s}=r(7946),o=null,a=8192,A=n.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===a&&(a=0,A(o??=Buffer.allocUnsafeSlow(8192),0,8192)),[o[a++],o[a++],o[a++],o[a++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),n=t?.byteLength??0,s=n,o=6;n>i?(o+=8,s=127):n>125&&(o+=2,s=126);let a=Buffer.allocUnsafe(n+o);a[0]=a[1]=0,a[0]|=128,a[0]=(240&a[0])+e,a[o-4]=r[0],a[o-3]=r[1],a[o-2]=r[2],a[o-1]=r[3],a[1]=s,126===s?a.writeUInt16BE(n,2):127===s&&(a[2]=a[3]=0,a.writeUIntBE(n,4,6)),a[1]|=128;for(let e=0;e<n;++e)a[o+e]=t[e]^r[3&e];return a}static createFastTextFrame(e){let t=l(),r=e.length;for(let n=0;n<r;++n)e[n]^=t[3&n];let n=r,o=6;r>i?(o+=8,n=127):r>125&&(o+=2,n=126);let a=Buffer.allocUnsafeSlow(o);return a[0]=128|s.TEXT,a[1]=128|n,a[o-4]=t[0],a[o-3]=t[1],a[o-2]=t[2],a[o-1]=t[3],126===n?a.writeUInt16BE(r,2):127===n&&(a[2]=a[3]=0,a.writeUIntBE(r,4,6)),[a,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:n,Z_DEFAULT_WINDOWBITS:i}=r(8522),{isValidClientWindowBits:s}=r(3927),{MessageSizeExceededError:o}=r(8065),a=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tg=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tg=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=i;if(this.#T.serverMaxWindowBits){if(!s(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=n({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tg>0&&this.#td[l]>this.#tg){r(new o),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(a),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:n}=r(7075),i=r(4589),{parserStates:s,opcodes:o,states:a,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:g,utf8Decode:u,isControlFrame:h,isTextBinaryFrame:m,isContinuationFrame:p}=r(3927),{failWebsocketConnection:C}=r(5563),{WebsocketFrameSend:f}=r(4018),{PerMessageDeflate:I}=r(959),{MessageSizeExceededError:E}=r(8065);class y extends n{#tu=[];#th=0;#tm=0;#tp=!1;#eS=s.INFO;#tC={};#tf=[];#tI;#B;#tE;#tg;constructor(e,t,r={}){super(),this.#B=e,this.#tI=null==t?new Map:t,this.#tE=r.maxFragments??0,this.#tg=r.maxPayloadSize??0,this.#tI.has("permessage-deflate")&&this.#tI.set("permessage-deflate",new I(t,r))}_write(e,t,r){this.#tu.push(e),this.#tm+=e.length,this.#tp=!0,this.run(r)}#ty(){return!(this.#tg>0)||!!h(this.#tC.opcode)||!(this.#tC.payloadLength+this.#th>this.#tg)||(C(this.#B,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tp;)if(this.#eS===s.INFO){if(this.#tm<2)return e();let t=this.consume(2),r=(128&t[0])!=0,n=15&t[0],i=(128&t[1])==128,a=!r&&n!==o.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],g=16&t[0];if(!d(n))return C(this.#B,1002,"Invalid opcode received"),e();if(i)return C(this.#B,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#tI.has("permessage-deflate"))return void C(this.#B,1002,"Expected RSV1 to be clear.");if(0!==c||0!==g)return void C(this.#B,1002,"RSV1, RSV2, RSV3 must be clear");if(a&&!m(n))return void C(this.#B,1002,"Invalid frame type was fragmented.");if(m(n)&&this.#tf.length>0)return void C(this.#B,1002,"Expected continuation frame");if(this.#tC.fragmented&&a)return void C(this.#B,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||a)&&h(n))return void C(this.#B,1002,"Control frame either too large or fragmented");if(p(n)&&0===this.#tf.length&&!this.#tC.compressed)return void C(this.#B,1002,"Unexpected continuation frame");if(A<=125){if(this.#tC.payloadLength=A,this.#eS=s.READ_DATA,!this.#ty())return}else 126===A?this.#eS=s.PAYLOADLENGTH_16:127===A&&(this.#eS=s.PAYLOADLENGTH_64);m(n)&&(this.#tC.binaryType=n,this.#tC.compressed=0!==l),this.#tC.opcode=n,this.#tC.masked=i,this.#tC.fin=r,this.#tC.fragmented=a}else if(this.#eS===s.PAYLOADLENGTH_16){if(this.#tm<2)return e();let t=this.consume(2);if(this.#tC.payloadLength=t.readUInt16BE(0),this.#eS=s.READ_DATA,!this.#ty())return}else if(this.#eS===s.PAYLOADLENGTH_64){if(this.#tm<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),n=t.readUInt32BE(4);if(0!==r||n>0x80000000-1)return void C(this.#B,1009,"Received payload length > 2^31 bytes.");if(this.#tC.payloadLength=n,this.#eS=s.READ_DATA,!this.#ty())return}else if(this.#eS===s.READ_DATA){if(this.#tm<this.#tC.payloadLength)return e();let t=this.consume(this.#tC.payloadLength);if(h(this.#tC.opcode))this.#tp=this.parseControlFrame(t),this.#eS=s.INFO;else if(this.#tC.compressed){this.#tI.get("permessage-deflate").decompress(t,this.#tC.fin,(t,r)=>{if(t){let e=t instanceof E?1009:1007;C(this.#B,e,t.message);return}if(this.writeFragments(r)){if(this.#tg>0&&this.#th>this.#tg)return void C(this.#B,1009,new E().message);if(!this.#tC.fin){this.#eS=s.INFO,this.#tp=!0,this.run(e);return}g(this.#B,this.#tC.binaryType,this.consumeFragments()),this.#tp=!0,this.#eS=s.INFO,this.run(e)}},this.#th),this.#tp=!1;break}else{if(!this.writeFragments(t))return;!this.#tC.fragmented&&this.#tC.fin&&g(this.#B,this.#tC.binaryType,this.consumeFragments()),this.#eS=s.INFO}}}consume(e){if(e>this.#tm)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tm-=e;let t=this.#tu[0];if(t.length>e)return this.#tu[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tu.shift();let r=0,n=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tu[0],i=t.length;if(i+r===e){n.set(this.#tu.shift(),r);break}if(i+r>e){n.set(t.subarray(0,e-r),r),this.#tu[0]=t.subarray(e-r);break}n.set(this.#tu.shift(),r),r+=i}return n}}writeFragments(e){return this.#tE>0&&this.#tf.length===this.#tE?(C(this.#B,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tf.push(e),!0)}consumeFragments(){let e=this.#tf;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let n=0;n<e.length;++n){let i=e[n];r.set(i,t),t+=i.length}return this.#tf=[],this.#th=0,r}parseCloseBody(e){let t;if(i(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=u(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tC;if(t===o.CLOSE){if(1===r)return C(this.#B,1002,"Received close frame with a 1-byte body."),!1;if(this.#tC.closeInfo=this.parseCloseBody(e),this.#tC.closeInfo.error){let{code:e,reason:t}=this.#tC.closeInfo;return C(this.#B,e,t),!1}if(!this.#B.closeState.has(l.SENT)&&!this.#B.closeState.has(l.RECEIVED)){let e=A;this.#tC.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tC.closeInfo.code,0);let t=new f(e);this.#B.socket.write(t.createFrame(o.CLOSE)),this.#B.closeState.add(l.SENT)}return this.#B.readyState=a.CLOSING,this.#B.closeState.add(l.RECEIVED),!1}if(t===o.PING){if(!this.#B.closeState.has(l.RECEIVED)){let t=new f(e);this.#B.socket.write(t.createFrame(o.PONG)),this.#B.onPing(e)}}else t===o.PONG&&this.#B.onPong(e);return!0}get closingInfo(){return this.#tC.closeInfo}}e.exports={ByteParser:y}},2726(e,t,r){let{WebsocketFrameSend:n}=r(4018),{opcodes:i,sendHints:s}=r(7946),o=r(9006);class a{#tB=new o;#tQ=!1;#tN;constructor(e){this.#tN=e}add(e,t,r){if(r!==s.blob){if(this.#tQ){let n={promise:null,callback:t,frame:A(e,r)};this.#tB.push(n)}else if(r===s.text){let{0:r,1:i}=n.createFastTextFrame(e);this.#tN.cork(),this.#tN.write(r),this.#tN.write(i,t),this.#tN.uncork()}else this.#tN.write(A(e,r),t);return}let i={promise:e.arrayBuffer().then(e=>{i.promise=null,i.frame=A(e,r)}),callback:t,frame:null};this.#tB.push(i),this.#tQ||this.#tb()}async #tb(){this.#tQ=!0;let e=this.#tB;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tN.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new n(function(e,t){switch(t){case s.text:case s.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case s.arrayBuffer:case s.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===s.text?i.TEXT:i.BINARY)}e.exports={SendQueue:a}},7245(e,t,r){let{webidl:n}=r(849),{validateCloseCodeAndReason:i}=r(3927),{kConstruct:s}=r(3025),{kEnumerableProperty:o}=r(1210);function a(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let n=Reflect.construct(e,t,e);return Object.setPrototypeOf(n,r.prototype),n}})}class A extends a(){#tS;#I;constructor(e="",t){if(super(e=n.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===s)return;null!==t&&(t=n.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,o=t.reason??"";i(r,o),0!==o.length&&null===r&&(r=1e3),this.#tS=r,this.#I=o}get closeCode(){return this.#tS}get reason(){return this.#I}static createUnvalidatedWebSocketError(e,t,r){let n=new A(e,s);return n.#tS=t,n.#I=r,n}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:o,reason:o,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),n.is.WebSocketError=n.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:n}=r(8474),{environmentSettingsObject:i,readableStreamClose:s}=r(638),{states:o,opcodes:a,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:g,utf8Decode:u}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:m,closeWebSocketConnection:p}=r(5563),{channels:C}=r(6708),{WebsocketFrameSend:f}=r(4018),{ByteParser:I}=r(5346),{WebSocketError:E,createUnvalidatedWebSocketError:y}=r(7245),{kEnumerableProperty:B}=r(1210),{utf8DecodeBytes:Q}=r(2718),N=!1;class b{#e5;#tw;#tD;#tx;#tR;#tk;#tv=!1;#B={onConnectionEstablished:(e,t)=>this.#tM(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>m(this.#B,null,e.message),onParserDrain:()=>this.#B.socket.resume(),onSocketData:e=>{this.#tF.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=o.CLOSING,C.socketError.hasSubscribers&&C.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:o.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tF;constructor(e,t){N||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),N=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,i.settingsObject.baseUrl),s=t.protocols;if(s.length!==new Set(s.map(e=>e.toLowerCase())).size||s.length>0&&!s.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e5=r.toString(),this.#tw=Promise.withResolvers(),this.#tD=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tD.reject(e.reason);return}n(e,()=>{g(this.#B.readyState)||(m(this.#B),this.#B.readyState=o.CLOSING,this.#tw.reject(e.reason),this.#tD.reject(e.reason),this.#tv=!0)})}let a=i.settingsObject;this.#B.controller=h(r,s,a,this.#B,t)}get url(){return this.#e5.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tD.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;p(this.#B,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,n=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),n=a.BINARY;else{let i;try{i=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(i),n=a.TEXT}if(!this.#B.closeState.has(A.SENT)&&!this.#B.closeState.has(A.RECEIVED)){let e=new f(r);this.#B.socket.write(e.createFrame(n),()=>{t.resolve(void 0)})}return t.promise}#tM(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,n=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,i=new I(this.#B,t,{maxFragments:r,maxPayloadSize:n});i.on("drain",()=>this.#B.onParserDrain()),i.on("error",e=>this.#B.onParserError(e)),this.#tF=i,this.#B.readyState=o.OPEN;let s=t??"",a=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tO(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>p(this.#B,null,null),abort:e=>this.#tH(e)});this.#tx=A,this.#tk=l,this.#tw.resolve({extensions:s,protocol:a,readable:A,writable:l})}#tU(e,t){let r;if(this.#B.readyState===o.OPEN){if(e===a.TEXT)try{r=u(t)}catch{m(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===a.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#B.closeState.has(A.SENT)&&this.#B.closeState.has(A.RECEIVED);if(this.#B.readyState=o.CLOSED,this.#tv)return;this.#B.wasEverConnected||this.#tw.reject(new E("Socket never opened"));let t=this.#tF?.closingInfo,r=t?.code??1005;this.#B.closeState.has(A.SENT)||this.#B.closeState.has(A.RECEIVED)||(r=1006);let n=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)s(this.#tR),this.#tk.locked||this.#tk.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tD.resolve({closeCode:r,reason:n});else{let e=y("unclean close",r,n);this.#tR?.error(e),this.#tk?.abort(e),this.#tD.reject(e)}}#tH(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),p(this.#B,t,r)}#tO(e){this.#tH(e)}}Object.defineProperties(b.prototype,{url:B,opened:B,closed:B,close:B,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:b}},3927(e,t,r){let{states:n,opcodes:i}=r(7946),{isUtf8:s}=r(4573),{removeHTTPWhitespace:o}=r(3518),{collectASequenceOfCodePointsFast:a}=r(5358);function A(e){return e===i.CLOSE||e===i.PING||e===i.PONG}function l(e){return e===i.CONTINUATION}function c(e){return e===i.TEXT||e===i.BINARY}e.exports={isConnecting:function(e){return e===n.CONNECTING},isEstablished:function(e){return e===n.OPEN},isClosing:function(e){return e===n.CLOSING},isClosed:function(e){return e===n.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),n={}){let i=r(e,n);t.dispatchEvent(i)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(s(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[n,i=""]=a(";",e,t).split("=",2);r.set(o(n,!0,!1),o(i,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:n}=r(3429),{webidl:i}=r(849),{URLSerializer:s}=r(3518),{environmentSettingsObject:o}=r(638),{staticPropertyDescriptors:a,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:g,isEstablished:u,isClosing:h,isClosed:m,isValidSubprotocol:p,fireEvent:C,utf8Decode:f,toArrayBuffer:I,getURLRecord:E}=r(3927),{establishWebSocketConnection:y,closeWebSocketConnection:B,failWebsocketConnection:Q}=r(5563),{ByteParser:N}=r(5346),{kEnumerableProperty:b}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:D,createFastMessageEvent:x}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:k}=r(4018),{channels:v}=r(6708);class M extends EventTarget{#e4={open:null,error:null,close:null,message:null};#tP=0;#tY="";#tI="";#tG;#B={onConnectionEstablished:(e,t)=>this.#tM(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>Q(this.#B,null,e.message),onParserDrain:()=>this.#tz(),onSocketData:e=>{this.#tF.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=A.CLOSING,v.socketError.hasSubscribers&&v.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{v.ping.hasSubscribers&&v.ping.publish({payload:e,websocket:this})},onPong:e=>{v.pong.hasSubscribers&&v.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e5;#tq;#tF;constructor(e,t=[]){super(),i.util.markAsUncloneable(this);let r="WebSocket constructor";i.argumentLengthCheck(arguments,1,r);let n=i.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=i.converters.USVString(e),t=n.protocols;let s=E(e,o.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>p(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e5=new URL(s.href);let a=o.settingsObject;this.#B.controller=y(s,t,a,this.#B,n),this.#B.readyState=M.CONNECTING,this.#tq="blob"}close(e,t){i.brandCheck(this,M),void 0!==e&&(e=i.converters["unsigned short"](e,"WebSocket.close","code",i.attributes.Clamp)),void 0!==t&&(t=i.converters.USVString(t)),e??=null,t??="",B(this.#B,e,t,!0)}send(e){i.brandCheck(this,M);let t="WebSocket.send";if(i.argumentLengthCheck(arguments,1,t),e=i.converters.WebSocketSendData(e,t,"data"),g(this.#B.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!u(this.#B.readyState)||h(this.#B.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tP+=t.byteLength,this.#tG.add(t,()=>{this.#tP-=t.byteLength},c.text)}else n(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.typedArray)):i.is.Blob(e)&&(this.#tP+=e.size,this.#tG.add(e,()=>{this.#tP-=e.size},c.blob))}get readyState(){return i.brandCheck(this,M),this.#B.readyState}get bufferedAmount(){return i.brandCheck(this,M),this.#tP}get url(){return i.brandCheck(this,M),s(this.#e5)}get extensions(){return i.brandCheck(this,M),this.#tI}get protocol(){return i.brandCheck(this,M),this.#tY}get onopen(){return i.brandCheck(this,M),this.#e4.open}set onopen(e){i.brandCheck(this,M),this.#e4.open&&this.removeEventListener("open",this.#e4.open);let t=i.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e4.open=e):this.#e4.open=null}get onerror(){return i.brandCheck(this,M),this.#e4.error}set onerror(e){i.brandCheck(this,M),this.#e4.error&&this.removeEventListener("error",this.#e4.error);let t=i.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e4.error=e):this.#e4.error=null}get onclose(){return i.brandCheck(this,M),this.#e4.close}set onclose(e){i.brandCheck(this,M),this.#e4.close&&this.removeEventListener("close",this.#e4.close);let t=i.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e4.close=e):this.#e4.close=null}get onmessage(){return i.brandCheck(this,M),this.#e4.message}set onmessage(e){i.brandCheck(this,M),this.#e4.message&&this.removeEventListener("message",this.#e4.message);let t=i.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e4.message=e):this.#e4.message=null}get binaryType(){return i.brandCheck(this,M),this.#tq}set binaryType(e){i.brandCheck(this,M),"blob"!==e&&"arraybuffer"!==e?this.#tq="blob":this.#tq=e}#tM(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,n=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,i=new N(this.#B,t,{maxFragments:r,maxPayloadSize:n});i.on("drain",()=>this.#B.onParserDrain()),i.on("error",e=>this.#B.onParserError(e)),this.#tF=i,this.#tG=new R(e.socket),this.#B.readyState=A.OPEN;let s=e.headersList.get("sec-websocket-extensions");null!==s&&(this.#tI=s);let o=e.headersList.get("sec-websocket-protocol");if(null!==o&&(this.#tY=o),C("open",this),v.open.hasSubscribers){var a;let t=e.headersList.entries;v.open.publish({address:(a=e.socket,"function"==typeof a?.address?a.address():"function"==typeof a?.session?.socket?.address?a.session.socket.address():null),protocol:this.#tY,extensions:this.#tI,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tU(e,t){let r;if(this.#B.readyState===A.OPEN){if(e===d.TEXT)try{r=f(t)}catch{Q(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tq?new Blob([t]):I(t));C("message",this,x,{origin:this.#e5.origin,data:r})}}#tz(){this.#B.socket.resume()}#tT(){let e=this.#B.closeState.has(l.SENT)&&this.#B.closeState.has(l.RECEIVED),t=1005,r="",n=this.#tF?.closingInfo;n&&!n.error&&(t=n.code??1005,r=n.reason),this.#B.readyState=A.CLOSED,this.#B.closeState.has(l.RECEIVED)||(t=1006,C("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),C("close",this,(e,t)=>new D(e,t),{wasClean:e,code:t,reason:r}),v.close.hasSubscribers&&v.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#B.readyState;if(u(r)&&!h(r)&&!m(r)){let r=new k(t);e.#B.socket.write(r.createFrame(d.PING))}}}let{ping:U}=M;Reflect.deleteProperty(M,"ping"),M.CONNECTING=M.prototype.CONNECTING=A.CONNECTING,M.OPEN=M.prototype.OPEN=A.OPEN,M.CLOSING=M.prototype.CLOSING=A.CLOSING,M.CLOSED=M.prototype.CLOSED=A.CLOSED,Object.defineProperties(M.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(M,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),i.converters["sequence<DOMString>"]=i.sequenceConverter(i.converters.DOMString),i.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return i.util.Type(e)===i.util.Types.OBJECT&&Symbol.iterator in e?i.converters["sequence<DOMString>"](e):i.converters.DOMString(e,t,r)},i.converters.WebSocketInit=i.dictionaryConverter([{key:"protocols",converter:i.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:i.converters.any,defaultValue:()=>S()},{key:"headers",converter:i.nullableConverter(i.converters.HeadersInit)}]),i.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return i.util.Type(e)!==i.util.Types.OBJECT||Symbol.iterator in e?{protocols:i.converters["DOMString or sequence<DOMString>"](e)}:i.converters.WebSocketInit(e)},i.converters.WebSocketSendData=function(e){return i.util.Type(e)===i.util.Types.OBJECT&&(i.is.Blob(e)||i.is.BufferSource(e))?e:i.converters.USVString(e)},e.exports={WebSocket:M,ping:U}},2613(e){e.exports=n("assert")},4434(e){e.exports=n("events")},8611(e){e.exports=n("http")},5692(e){e.exports=n("https")},9278(e){e.exports=n("net")},4589(e){e.exports=n("node:assert")},6698(e){e.exports=n("node:async_hooks")},4573(e){e.exports=n("node:buffer")},7540(e){e.exports=n("node:console")},7598(e){e.exports=n("node:crypto")},3053(e){e.exports=n("node:diagnostics_channel")},610(e){e.exports=n("node:dns")},8474(e){e.exports=n("node:events")},1455(e){e.exports=n("node:fs/promises")},7067(e){e.exports=n("node:http")},2467(e){e.exports=n("node:http2")},7030(e){e.exports=n("node:net")},6760(e){e.exports=n("node:path")},643(e){e.exports=n("node:perf_hooks")},1792(e){e.exports=n("node:querystring")},99(e){e.exports=n("node:sqlite")},7075(e){e.exports=n("node:stream")},7830(e){e.exports=n("node:stream/web")},7997(e){e.exports=n("node:timers")},1692(e){e.exports=n("node:tls")},3136(e){e.exports=n("node:url")},7975(e){e.exports=n("node:util")},3429(e){e.exports=n("node:util/types")},5919(e){e.exports=n("node:worker_threads")},8522(e){e.exports=n("node:zlib")},857(e){e.exports=n("os")},4756(e){e.exports=n("tls")},2018(e){e.exports=n("tty")},7016(e){e.exports=n("url")},9023(e){e.exports=n("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}}},s={};function o(e){var t=s[e];if(void 0!==t)return t.exports;var r=s[e]={exports:{}};return i[e].call(r.exports,r,r.exports,o),r.exports}o.d=(e,t,r)=>{var n=(t,r)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,[r]:t[n]})};n(t,"get"),n(r,"value")},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{let e,t,r,i,s,a,A,l,c,d,g,u,h,m,p,C,f,I,E,y,B,Q,N,b,S,w,D,x,R,k,v,M,U,F,T,L,O,H,P,Y,G,z,q;var V,_,J,W,j,K,X,Z,$,ee,et,er,en,ei,es,eo,ea,eA,el,ec,ed,eg,eu,eh,em,ep,eC,ef,eI,eE,ey,eB,eQ,eN,eb,eS,ew,eD,ex,eR,ek={};o.r(ek),o.d(ek,{Do:()=>nW,all:()=>nk,andThen:()=>nB,as:()=>nf,asVoid:()=>nI,bind:()=>nJ,bindTo:()=>nV,composeK:()=>nw,contains:()=>nz,containsWith:()=>nG,exists:()=>nq,filter:()=>nL,filterMap:()=>nT,firstSomeOf:()=>na,flatMap:()=>ny,flatMapNullishOr:()=>nQ,flatten:()=>nN,fromIterable:()=>ne,fromNullOr:()=>nc,fromNullishOr:()=>nA,fromUndefinedOr:()=>nl,gen:()=>nj,getFailure:()=>nr,getOrElse:()=>nn,getOrNull:()=>ng,getOrThrow:()=>np,getOrThrowWith:()=>nm,getOrUndefined:()=>nu,getSuccess:()=>nt,isNone:()=>r8,isOption:()=>r5,isSome:()=>r9,let:()=>n_,lift2:()=>nP,liftNullishOr:()=>nd,liftPredicate:()=>nY,liftThrowable:()=>nh,makeCombinerFailFast:()=>nX,makeEquivalence:()=>nO,makeOrder:()=>nH,makeReducer:()=>nK,makeReducerFailFast:()=>nZ,map:()=>nC,match:()=>r6,none:()=>r3,orElse:()=>ni,orElseResult:()=>no,orElseSome:()=>ns,partitionMap:()=>nF,product:()=>nx,productMany:()=>nR,reduceCompact:()=>nM,some:()=>r4,tap:()=>nD,toArray:()=>nU,toRefinement:()=>r7,void:()=>nE,zipLeft:()=>nS,zipRight:()=>nb,zipWith:()=>nv});var ev={};function eM(e){return e.replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function eU(e,t,r){let n;process.stdout.write(`${(n=Object.entries(t),`::${e}${n.length>0?` ${n.map(([e,t])=>`${e}=${eM(t).replace(/:/g,"%3A").replace(/,/g,"%2C")}`).join(",")}`:""}::${eM(r)}`)} -`)}o.r(ev),o.d(ev,{AccessPolicy:()=>B$,AppendBlobAppendBlockExceptionHeaders:()=>bi,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>bo,AppendBlobAppendBlockFromUrlHeaders:()=>bs,AppendBlobAppendBlockHeaders:()=>bn,AppendBlobCreateExceptionHeaders:()=>br,AppendBlobCreateHeaders:()=>bt,AppendBlobSealExceptionHeaders:()=>bA,AppendBlobSealHeaders:()=>ba,ArrowConfiguration:()=>Ql,ArrowField:()=>Qc,BlobAbortCopyFromURLExceptionHeaders:()=>NT,BlobAbortCopyFromURLHeaders:()=>NF,BlobAcquireLeaseExceptionHeaders:()=>NE,BlobAcquireLeaseHeaders:()=>NI,BlobBreakLeaseExceptionHeaders:()=>ND,BlobBreakLeaseHeaders:()=>Nw,BlobChangeLeaseExceptionHeaders:()=>NS,BlobChangeLeaseHeaders:()=>Nb,BlobCopyFromURLExceptionHeaders:()=>NU,BlobCopyFromURLHeaders:()=>NM,BlobCreateSnapshotExceptionHeaders:()=>NR,BlobCreateSnapshotHeaders:()=>Nx,BlobDeleteExceptionHeaders:()=>Ni,BlobDeleteHeaders:()=>Nn,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>Nh,BlobDeleteImmutabilityPolicyHeaders:()=>Nu,BlobDownloadExceptionHeaders:()=>Ne,BlobDownloadHeaders:()=>Q7,BlobFlatListSegment:()=>B1,BlobGetAccountInfoExceptionHeaders:()=>NP,BlobGetAccountInfoHeaders:()=>NH,BlobGetPropertiesExceptionHeaders:()=>Nr,BlobGetPropertiesHeaders:()=>Nt,BlobGetTagsExceptionHeaders:()=>Nq,BlobGetTagsHeaders:()=>Nz,BlobHierarchyListSegment:()=>B8,BlobItemInternal:()=>B2,BlobName:()=>B3,BlobPrefix:()=>B9,BlobPropertiesInternal:()=>B4,BlobQueryExceptionHeaders:()=>NG,BlobQueryHeaders:()=>NY,BlobReleaseLeaseExceptionHeaders:()=>NB,BlobReleaseLeaseHeaders:()=>Ny,BlobRenewLeaseExceptionHeaders:()=>NN,BlobRenewLeaseHeaders:()=>NQ,BlobServiceProperties:()=>BU,BlobServiceStatistics:()=>BY,BlobSetExpiryExceptionHeaders:()=>NA,BlobSetExpiryHeaders:()=>Na,BlobSetHttpHeadersExceptionHeaders:()=>Nc,BlobSetHttpHeadersHeaders:()=>Nl,BlobSetImmutabilityPolicyExceptionHeaders:()=>Ng,BlobSetImmutabilityPolicyHeaders:()=>Nd,BlobSetLegalHoldExceptionHeaders:()=>Np,BlobSetLegalHoldHeaders:()=>Nm,BlobSetMetadataExceptionHeaders:()=>Nf,BlobSetMetadataHeaders:()=>NC,BlobSetTagsExceptionHeaders:()=>N_,BlobSetTagsHeaders:()=>NV,BlobSetTierExceptionHeaders:()=>NO,BlobSetTierHeaders:()=>NL,BlobStartCopyFromURLExceptionHeaders:()=>Nv,BlobStartCopyFromURLHeaders:()=>Nk,BlobTag:()=>BX,BlobTags:()=>BK,BlobUndeleteExceptionHeaders:()=>No,BlobUndeleteHeaders:()=>Ns,Block:()=>Qe,BlockBlobCommitBlockListExceptionHeaders:()=>bf,BlockBlobCommitBlockListHeaders:()=>bC,BlockBlobGetBlockListExceptionHeaders:()=>bE,BlockBlobGetBlockListHeaders:()=>bI,BlockBlobPutBlobFromUrlExceptionHeaders:()=>bg,BlockBlobPutBlobFromUrlHeaders:()=>bd,BlockBlobStageBlockExceptionHeaders:()=>bh,BlockBlobStageBlockFromURLExceptionHeaders:()=>bp,BlockBlobStageBlockFromURLHeaders:()=>bm,BlockBlobStageBlockHeaders:()=>bu,BlockBlobUploadExceptionHeaders:()=>bc,BlockBlobUploadHeaders:()=>bl,BlockList:()=>B7,BlockLookupList:()=>B6,ClearRange:()=>Qn,ContainerAcquireLeaseExceptionHeaders:()=>QW,ContainerAcquireLeaseHeaders:()=>QJ,ContainerBreakLeaseExceptionHeaders:()=>Q0,ContainerBreakLeaseHeaders:()=>Q$,ContainerChangeLeaseExceptionHeaders:()=>Q2,ContainerChangeLeaseHeaders:()=>Q1,ContainerCreateExceptionHeaders:()=>QD,ContainerCreateHeaders:()=>Qw,ContainerDeleteExceptionHeaders:()=>Qv,ContainerDeleteHeaders:()=>Qk,ContainerFilterBlobsExceptionHeaders:()=>Q_,ContainerFilterBlobsHeaders:()=>QV,ContainerGetAccessPolicyExceptionHeaders:()=>QT,ContainerGetAccessPolicyHeaders:()=>QF,ContainerGetAccountInfoExceptionHeaders:()=>Q6,ContainerGetAccountInfoHeaders:()=>Q9,ContainerGetPropertiesExceptionHeaders:()=>QR,ContainerGetPropertiesHeaders:()=>Qx,ContainerItem:()=>Bq,ContainerListBlobFlatSegmentExceptionHeaders:()=>Q4,ContainerListBlobFlatSegmentHeaders:()=>Q3,ContainerListBlobHierarchySegmentExceptionHeaders:()=>Q8,ContainerListBlobHierarchySegmentHeaders:()=>Q5,ContainerProperties:()=>BV,ContainerReleaseLeaseExceptionHeaders:()=>QK,ContainerReleaseLeaseHeaders:()=>Qj,ContainerRenameExceptionHeaders:()=>QG,ContainerRenameHeaders:()=>QY,ContainerRenewLeaseExceptionHeaders:()=>QZ,ContainerRenewLeaseHeaders:()=>QX,ContainerRestoreExceptionHeaders:()=>QP,ContainerRestoreHeaders:()=>QH,ContainerSetAccessPolicyExceptionHeaders:()=>QO,ContainerSetAccessPolicyHeaders:()=>QL,ContainerSetMetadataExceptionHeaders:()=>QU,ContainerSetMetadataHeaders:()=>QM,ContainerSubmitBatchExceptionHeaders:()=>Qq,ContainerSubmitBatchHeaders:()=>Qz,CorsRule:()=>BO,DelimitedTextConfiguration:()=>Qa,FilterBlobItem:()=>Bj,FilterBlobSegment:()=>BW,GeoReplication:()=>BG,JsonTextConfiguration:()=>QA,KeyInfo:()=>B_,ListBlobsFlatSegmentResponse:()=>B0,ListBlobsHierarchySegmentResponse:()=>B5,ListContainersSegmentResponse:()=>Bz,Logging:()=>BF,Metrics:()=>BL,PageBlobClearPagesExceptionHeaders:()=>NZ,PageBlobClearPagesHeaders:()=>NX,PageBlobCopyIncrementalExceptionHeaders:()=>be,PageBlobCopyIncrementalHeaders:()=>N7,PageBlobCreateExceptionHeaders:()=>NW,PageBlobCreateHeaders:()=>NJ,PageBlobGetPageRangesDiffExceptionHeaders:()=>N4,PageBlobGetPageRangesDiffHeaders:()=>N3,PageBlobGetPageRangesExceptionHeaders:()=>N2,PageBlobGetPageRangesHeaders:()=>N1,PageBlobResizeExceptionHeaders:()=>N8,PageBlobResizeHeaders:()=>N5,PageBlobUpdateSequenceNumberExceptionHeaders:()=>N6,PageBlobUpdateSequenceNumberHeaders:()=>N9,PageBlobUploadPagesExceptionHeaders:()=>NK,PageBlobUploadPagesFromURLExceptionHeaders:()=>N0,PageBlobUploadPagesFromURLHeaders:()=>N$,PageBlobUploadPagesHeaders:()=>Nj,PageList:()=>Qt,PageRange:()=>Qr,QueryFormat:()=>Qo,QueryRequest:()=>Qi,QuerySerialization:()=>Qs,RetentionPolicy:()=>BT,ServiceFilterBlobsExceptionHeaders:()=>QS,ServiceFilterBlobsHeaders:()=>Qb,ServiceGetAccountInfoExceptionHeaders:()=>QB,ServiceGetAccountInfoHeaders:()=>Qy,ServiceGetPropertiesExceptionHeaders:()=>Qh,ServiceGetPropertiesHeaders:()=>Qu,ServiceGetStatisticsExceptionHeaders:()=>Qp,ServiceGetStatisticsHeaders:()=>Qm,ServiceGetUserDelegationKeyExceptionHeaders:()=>QE,ServiceGetUserDelegationKeyHeaders:()=>QI,ServiceListContainersSegmentExceptionHeaders:()=>Qf,ServiceListContainersSegmentHeaders:()=>QC,ServiceSetPropertiesExceptionHeaders:()=>Qg,ServiceSetPropertiesHeaders:()=>Qd,ServiceSubmitBatchExceptionHeaders:()=>QN,ServiceSubmitBatchHeaders:()=>QQ,SignedIdentifier:()=>BZ,StaticWebsite:()=>BH,StorageError:()=>BP,UserDelegationKey:()=>BJ});let eF=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,n=t.length;e<n;e++)r=t[e](r);return r}}},eT={pipe(){return eF(this,arguments)}},eL=function(){function e(){}return e.prototype=eT,e}(),eO=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,n){return arguments.length>=3?t(e,r,n):function(n){return t(n,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},eH=e=>e,eP=e=>()=>e,eY=eP(!0),eG=eP(!1),ez=eP(null),eq=eP(void 0);function eV(e,...t){return eF(e,t)}function e_(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let n=e(r);return t.set(r,n),n}}let eJ=e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),n=r;for(;null!==n&&n!==Object.prototype;){let e=Reflect.ownKeys(n);for(let r=0;r<e.length;r++)t.add(e[r]);n=Object.getPrototypeOf(n)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t},eW=new WeakSet;function ej(e){return"string"==typeof e}function eK(e){return"number"==typeof e}function eX(e){return"boolean"==typeof e}function eZ(e){return"bigint"==typeof e}function e$(e){return"symbol"==typeof e}function e0(e){return"function"==typeof e}function e1(e){return void 0!==e}function e2(e){return null!=e}function e3(e){return!0}let e4=eO(2,(e,t)=>{var r;return("object"==typeof(r=e)&&null!==r||e0(r))&&t in e}),e5=eO(2,(e,t)=>e4(e,"_tag")&&e._tag===t);function e8(e){return e4(e,Symbol.iterator)||ej(e)}let e9="~effect/interfaces/Hash",e6=e=>{switch(typeof e){case"number":return tn(e);case"bigint":return ti(e.toString(10));case"boolean":case"symbol":return ti(String(e));case"string":return ti(e);case"undefined":return ti("undefined");case"function":case"object":if(null===e)return ti("null");{if(e instanceof Date)return ti(e.toISOString());if(e instanceof RegExp)return ti(e.toString());if(eW.has(e))return e7(e);if(tg.has(e))return tg.get(e);let t=function(e,t){if(tu.has(e))return ti("[Circular]");tu.add(e);let r=t();return tu.delete(e),r}(e,()=>{if(tr(e))return e[e9]();if("function"==typeof e)return e7(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return tA(e);if(e instanceof Map)return tl(e);if(e instanceof Set)return tc(e);return to(e)});return tg.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},e7=e=>(td.has(e)||td.set(e,tn(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),td.get(e)),te=eO(2,(e,t)=>53*e^t),tt=e=>0xbfffffff&e|e>>>1&0x40000000,tr=e=>e4(e,e9),tn=e=>{if(e!=e)return ti("NaN");if(e===1/0)return ti("Infinity");if(e===-1/0)return ti("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return tt(t)},ti=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return tt(t)},ts=(e,t)=>{let r=12289;for(let n of t)r^=te(e6(n),e6(e[n]));return tt(r)},to=e=>ts(e,eJ(e)),ta=(e,t)=>r=>{let n=e;for(let e of r)n^=t(e);return tt(n)},tA=ta(6151,e6),tl=ta(ti("Map"),([e,t])=>te(e6(e),e6(t))),tc=ta(ti("Set"),e6),td=new WeakMap,tg=new WeakMap,tu=new WeakSet,th="~effect/interfaces/Equal";function tm(){return 1==arguments.length?e=>tp(e,arguments[0]):tp(arguments[0],arguments[1])}function tp(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||eW.has(e)||eW.has(t))&&function(e,t,r){let n=tE.get(e);if(n){if(n.has(t))return n.get(t)}else n=new WeakMap,tE.set(e,n);let i=r(e,t);n.set(t,i);let s=tE.get(t);return s||(s=new WeakMap,tE.set(t,s)),s.set(e,i),i}(e,t,tI))}let tC=new WeakSet,tf=new WeakSet;function tI(e,t){if(e6(e)!==e6(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=tQ(e),n=tQ(t);if(r!==n)return!1;let i=r&&n;return("function"!=typeof e||!!i)&&function(e,t,r){let n=tC.has(e),i=tf.has(t);if(n&&i)return!0;if(n||i)return!1;tC.add(e),tf.add(t);let s=r();return tC.delete(e),tf.delete(t),s}(e,t,()=>{if(i)return e[th](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!tp(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&ty(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&tB(e,t);var r=e,n=t;let s=eJ(r),o=eJ(n);if(s.size!==o.size)return!1;for(let e of s)if(!o.has(e)||!tp(r[e],n[e]))return!1;return!0})}let tE=new WeakMap,ty=(V=tp,_=tp,function(e,t){for(let[r,n]of e){let e=!1;for(let[i,s]of t)if(V(r,i)&&_(n,s)){e=!0;break}if(!e)return!1}return!0}),tB=(J=tp,function(e,t){for(let r of e){let e=!1;for(let n of t)if(J(r,n)){e=!0;break}if(!e)return!1}return!0}),tQ=e=>e4(e,th),tN=Symbol.for("~effect/Redactable");function tb(e){return e4(e,tN)?tS(e):e}function tS(e){return e[tN](globalThis[tw]?.context??tD)}let tw="~effect/Fiber/currentFiber",tD={"~effect/Context":{},mapUnsafe:new Map,pipe(){return eF(this,arguments)}};function tx(e,t){let r=t?.space??0,n=new WeakSet,i=r?"number"==typeof r?" ".repeat(r):r:"",s=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function e(r,o=0){if(Array.isArray(r)){let t,s;if(n.has(r))return tR;if(n.add(r),!i||r.length<=1)return`[${r.map(t=>e(t,o)).join(",")}]`;let a=r.map(t=>e(t,o+1)).join(",\n"+(t=o+1,i.repeat(t)));return`[ -${s=o+1,i.repeat(s)}${a} -${i.repeat(o)}]`}if(r instanceof Date)return tv(r);if(!t?.ignoreToString&&e4(r,"toString")&&"function"==typeof r.toString&&r.toString!==Object.prototype.toString&&r.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(r);return r instanceof Error&&r.cause?`${t} (cause: ${e(r.cause,o)})`:t}if("string"==typeof r)return JSON.stringify(r);if("number"==typeof r||null==r||"boolean"==typeof r||"symbol"==typeof r)return String(r);if("bigint"==typeof r)return String(r)+"n";if("object"==typeof r||"function"==typeof r){if(n.has(r))return tR;if(n.add(r),tN in r)return tx(tS(r));if(Symbol.iterator in r)return`${r.constructor.name}(${e(Array.from(r),o)})`;let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(r);if(!i||t.length<=1){let n=`{${t.map(t=>`${tk(t)}:${e(r[t],o)}`).join(",")}}`;return s(r,n)}let a=`{ -${t.map(t=>{let n;return`${n=o+1,i.repeat(n)}${tk(t)}: ${e(r[t],o+1)}`}).join(",\n")} -${i.repeat(o)}}`;return s(r,a)}return String(r)}(e,0)}let tR="[Circular]";function tk(e){return"string"==typeof e?JSON.stringify(e):String(e)}function tv(e){try{return e.toISOString()}catch{return"Invalid Date"}}function tM(e,t){let r=[];return JSON.stringify(e,function(e,t){let n=tb(t);if("object"!=typeof n||null===n)return n;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(n))return r.push(n),n},t?.space)}let tU=Symbol.for("nodejs.util.inspect.custom"),tF=e=>{try{if(e4(e,"toJSON")&&e0(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(tF)}catch{return"[toJSON threw]"}return tb(e)},tT=(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?tM(e,{space:t}):String(e)}catch{return String(e)}},tL={toJSON(){return tF(this)},[tU](){return this.toJSON()},toString(){return tx(this.toJSON())}};class tO{[tU](){return this.toJSON()}toString(){return tx(this.toJSON())}}class tH{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new tH(this.self)}}let tP=(c={[l="~effect/Utils/internal"]:e=>e()},c[l](()=>Error().stack)?.includes(l)===!0?c[l]:({[l]:e=>e()})[l]),tY="~effect/Effect",tG="~effect/Exit",tz=`${tY}/identifier`,tq=`${tY}/args`,tV=`${tY}/evaluate`,t_=`${tY}/successCont`,tJ=`${tY}/failureCont`,tW=`${tY}/ensureCont`,tj=Symbol.for("effect/Effect/Yield"),tK={pipe(){return eF(this,arguments)},toJSON(){return{...this}},toString(){return tx(this.toJSON(),{ignoreToString:!0,space:2})},[tU](){return this.toJSON()}},tX={[tY]:{_A:eH,_E:eH,_R:eH},...tK,[Symbol.iterator](){return new tH(this)},toJSON(){return{_id:"Effect",op:this[tz],...tq in this?{args:this[tq]}:void 0}}},tZ=e=>e4(e,tY),t$="~effect/Cause",t0="~effect/Cause/Reason",t1=e=>e4(e,t$);class t2{[t$];reasons;constructor(e){this[t$]=t$,this.reasons=e}pipe(){return eF(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${tx(this.reasons)})`}[tU](){return this.toJSON()}[th](e){return t1(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>tm(t,e.reasons[r]))}[e9](){return tA(this.reasons)}}let t3=new WeakMap;class t4{[t0];annotations;_tag;constructor(e,t,r){if(this[t0]=t0,this._tag=e,t!==t5&&"object"==typeof r&&null!==r&&t.size>0){let e=t3.get(r);e&&(t=new Map([...e,...t])),t3.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,n)=>{t?.overwrite!==!0&&r.has(n)||r.set(n,e)});let n=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return n.annotations=r,n}pipe(){return eF(this,arguments)}toString(){return tx(this)}[tU](){return this.toString()}}let t5=new Map;class t8 extends t4{error;constructor(e,t=t5){super("Fail",t,e),this.error=e}toString(){return`Fail(${tx(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[th](e){return rr(e)&&tm(this.error,e.error)&&tm(this.annotations,e.annotations)}[e9](){return te(ti(this._tag))(te(e6(this.error))(e6(this.annotations)))}}let t9=e=>new t2(e),t6=new t2([]),t7=e=>new t2([new t8(e)]);class re extends t4{defect;constructor(e,t=t5){super("Die",t,e),this.defect=e}toString(){return`Die(${tx(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[th](e){return rn(e)&&tm(this.defect,e.defect)&&tm(this.annotations,e.annotations)}[e9](){return te(ti(this._tag))(te(e6(this.defect))(e6(this.annotations)))}}let rt=eO(e=>t1(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new t2(e.reasons.map(e=>e.annotate(t,r)))),rr=e=>"Fail"===e._tag,rn=e=>"Die"===e._tag,ri=e=>"Interrupt"===e._tag;function rs(e){return rh("Effect.evaluate: Not implemented")}let ro=e=>({...tX,[tz]:e.op,[tV]:e[tV]??rs,[t_]:e[t_],[tJ]:e[tJ],[tW]:e[tW]}),ra=e=>{let t=ro(e);return function(){let r=Object.create(t);return r[tq]=!1===e.single?arguments:arguments[0],r}},rA=e=>{let t={...ro(e),[tG]:tG,_tag:e.op,get[e.prop](){return this[tq]},toString(){return`${e.op}(${tx(this[tq])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[tq]}},[th](e){return e4(e,tG)&&e._tag===this._tag&&tm(this[tq],e[tq])},[e9](){return te(ti(e.op),e6(this[tq]))}};return function(e){let r=Object.create(t);return r[tq]=e,r}},rl=rA({op:"Success",prop:"value",[tV](e){let t=e.getCont(t_);return t?t[t_](this[tq],e,this):e.yieldWith(this)}}),rc={key:"effect/Cause/StackTrace"},rd="effect/Cause/InterruptorStackTrace",rg=rA({op:"Failure",prop:"cause",[tV](e){let t=this[tq],r=!1;e.currentStackFrame&&(t=rt(t,{mapUnsafe:new Map([[rc.key,e.currentStackFrame]])}),r=!0);let n=e.getCont(tJ);for(;e.interruptible&&e._interruptedCause&&n;)n=e.getCont(tJ);return n?n[tJ](t,e,r?void 0:this):e.yieldWith(r?rg(t):this)}}),ru=e=>rg(t7(e)),rh=e=>rg(new t2([new re(e)])),rm=ra({op:"WithFiber",[tV](e){return this[tq](e)}}),rp=function(){class e extends globalThis.Error{}let t=ro({op:"YieldableError",[tV](){return ru(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),rC=(d=Symbol.for("effect/Data/Error/plainArgs"),class extends rp{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,d,{value:e,enumerable:!1}))}toJSON(){return{...this[d],...this}}}),rf=e=>{class t extends rC{_tag=e}return t.prototype.name=e,t},rI="~effect/Cause/Done",rE={[rI]:rI,_tag:"Done",value:void 0},ry=e=>void 0===e?rE:{[rI]:rI,_tag:"Done",value:e},rB=ru(rE),rQ=e=>ro({op:e.label,[tV]:e.evaluate}),rN=Object.getOwnPropertyDescriptor,rb=Object.prototype.hasOwnProperty,rS=Object.isExtensible,rw=void 0===(g=rN(Error,"stackTraceLimit"))?rS(Error):rb.call(g,"writable")?!0===g.writable:void 0!==g.set,rD=e=>{rw&&(Error.stackTraceLimit=e)},rx=e=>(t,r)=>t===r||e(t,r),rR=(e,t)=>e===t,rk="~effect/data/Option",rv={[rk]:{_A:e=>e},...tK,[Symbol.iterator](){return new tH(this)}},rM=Object.defineProperty(Object.assign(Object.create(rv),{_tag:"Some",_op:"Some",[th](e){return rT(e)&&rO(e)&&tm(this.value,e.value)},[e9](){return te(e6(this._tag))(e6(this.value))},toString(){return`some(${tx(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:tF(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),rU=e6("None"),rF=Object.assign(Object.create(rv),{_tag:"None",_op:"None",valueOrUndefined:void 0,[th]:e=>rT(e)&&rL(e),[e9]:()=>rU,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),rT=e=>e4(e,rk),rL=e=>"None"===e._tag,rO=e=>"Some"===e._tag,rH=Object.create(rF),rP=e=>{let t=Object.create(rM);return t.value=e,t},rY="~effect/data/Result",rG={[rY]:{_A:e=>e,_E:e=>e},...tK,[Symbol.iterator](){return new tH(this)}},rz=Object.assign(Object.create(rG),{_tag:"Success",_op:"Success",[th](e){return rV(e)&&rJ(e)&&tm(this.success,e.success)},[e9](){return te(e6(this._tag))(e6(this.success))},toString(){return`success(${tx(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:tF(this.success)}}}),rq=Object.assign(Object.create(rG),{_tag:"Failure",_op:"Failure",[th](e){return rV(e)&&r_(e)&&tm(this.failure,e.failure)},[e9](){return te(e6(this._tag))(e6(this.failure))},toString(){return`failure(${tx(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:tF(this.failure)}}}),rV=e=>e4(e,rY),r_=e=>"Failure"===e._tag,rJ=e=>"Success"===e._tag,rW=e=>{let t=Object.create(rq);return t.failure=e,t},rj=e=>{let t=Object.create(rz);return t.success=e,t};function rK(e){return(t,r)=>t===r?0:e(t,r)}let rX=rK((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),rZ=rK((e,t)=>e<t?-1:1),r$=eO(2,(e,t)=>rK((r,n)=>e(t(r),t(n)))),r0=(e=>e.getTime(),e=>eO(2,(t,r)=>1===e(t,r))),r1=e=>eO(2,(t,r)=>-1!==e(t,r));function r2(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let n=t;for(let t of r)n=e(n,t);return n})}}let r3=()=>rH,r4=rP,r5=rT,r8=rL,r9=rO,r6=eO(2,(e,{onNone:t,onSome:r})=>r8(e)?t():r(e.value)),r7=e=>t=>r9(e(t)),ne=e=>{for(let t of e)return r4(t);return r3()},nt=e=>r_(e)?rH:rP(e.success),nr=e=>rJ(e)?rH:rP(e.failure),nn=eO(2,(e,t)=>r8(e)?t():e.value),ni=eO(2,(e,t)=>r8(e)?t():e),ns=eO(2,(e,t)=>r8(e)?r4(t()):e),no=eO(2,(e,t)=>r8(e)?nC(t(),rj):nC(e,rW)),na=e=>{let t=r3();for(t of e)if(r9(t))break;return t},nA=e=>null==e?r3():r4(e),nl=e=>void 0===e?r3():r4(e),nc=e=>null===e?r3():r4(e),nd=e=>(...t)=>nA(e(...t)),ng=nn(ez),nu=nn(eq),nh=e=>(...t)=>{try{return r4(e(...t))}catch{return r3()}},nm=eO(2,(e,t)=>{if(r9(e))return e.value;throw t()}),np=nm(()=>Error("getOrThrow called on a None")),nC=eO(2,(e,t)=>r8(e)?r3():r4(t(e.value))),nf=eO(2,(e,t)=>nC(e,()=>t)),nI=nf(void 0),nE=r4(void 0),ny=eO(2,(e,t)=>r8(e)?r3():t(e.value)),nB=eO(2,(e,t)=>ny(e,e=>{let r=e0(t)?t(e):t;return r5(r)?r:r4(r)})),nQ=eO(2,(e,t)=>r8(e)?r3():nA(t(e.value))),nN=ny(eH),nb=eO(2,(e,t)=>ny(e,()=>t)),nS=eO(2,(e,t)=>nD(e,()=>t)),nw=eO(2,(e,t)=>r=>ny(e(r),t)),nD=eO(2,(e,t)=>ny(e,e=>nC(t(e),()=>e))),nx=(e,t)=>r9(e)&&r9(t)?r4([e.value,t.value]):r3(),nR=(e,t)=>{if(r8(e))return r3();let r=[e.value];for(let e of t){if(r8(e))return r3();r.push(e.value)}return r4(r)},nk=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(r8(r))return r3();t.push(r.value)}return r4(t)}let t={};for(let r of Object.keys(e)){let n=e[r];if(r8(n))return r3();t[r]=n.value}return r4(t)},nv=eO(3,(e,t,r)=>nC(nx(e,t),([e,t])=>r(e,t))),nM=eO(3,(e,t,r)=>{let n=t;for(let t of e)r9(t)&&(n=r(n,t.value));return n}),nU=e=>r8(e)?[]:[e.value],nF=eO(2,(e,t)=>{if(r8(e))return[r3(),r3()];let r=t(e.value);return r_(r)?[r4(r.failure),r3()]:[r3(),r4(r.success)]}),nT=eO(2,(e,t)=>{if(r8(e))return r3();let r=t(e.value);return rJ(r)?r4(r.success):r3()}),nL=eO(2,(e,t)=>r8(e)?r3():t(e.value)?r4(e.value):r3()),nO=e=>rx((t,r)=>r8(t)?r8(r):!r8(r)&&e(t.value,r.value)),nH=e=>rK((t,r)=>r9(t)?r9(r)?e(t.value,r.value):1:-1),nP=e=>eO(2,(t,r)=>nv(t,r,e)),nY=eO(2,(e,t)=>t(e)?r4(e):r3()),nG=e=>eO(2,(t,r)=>!r8(t)&&e(t.value,r)),nz=nG(tm),nq=eO(2,(e,t)=>!r8(e)&&t(e.value)),nV=eO(2,(e,t)=>nC(e,e=>({[t]:e}))),n_=eO(3,(e,t,r)=>nC(e,e=>({...e,[t]:r(e)}))),nJ=eO(3,(e,t,r)=>ny(e,e=>nC(r(e),r=>({...e,[t]:r})))),nW=r4({}),nj=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(r8(e))return e;r=t.next(e.value)}return r4(r.value)};function nK(e){return r2((t,r)=>r8(t)?r:r8(r)?t:r4(e.combine(t.value,r.value)),r3())}function nX(e){return{combine:(t,r)=>r8(t)||r8(r)?r3():r4(e.combine(t.value,r.value))}}function nZ(e){let t=nX(e).combine,r=r4(e.initialValue);return r2(t,r,e=>{let n=r;for(let r of e)if(r8(n=t(n,r)))break;return n})}let n$="~effect/Context/Service",n0=function(){let e=Error.stackTraceLimit;rD(2);let t=Error();rD(e);let r=function(){};return(Object.setPrototypeOf(r,n1),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[n2]=n2,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},n1={[n$]:n$,...rQ({label:"Service",evaluate(e){return rl(ir(e.context,this))}}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return n6(this,e)},use(e){return rm(t=>e(ir(t.context,this)))},useSync(e){return rm(t=>rl(e(ir(t.context,this))))}},n2="~effect/Context/Reference",n3="~effect/Context",n4=e=>{let t=Object.create(n5);return t.mapUnsafe=e,t.mutable=!1,t},n5={...tK,[n3]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[th](e){if(!n8(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!tm(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[e9](){return tn(this.mapUnsafe.size)}},n8=e=>e4(e,n3),n9=n4(new Map),n6=(e,t)=>n4(new Map([[e.key,t]])),n7=eO(3,(e,t,r)=>il(e,e=>{e.set(t.key,r)})),ie=eO(2,(e,t)=>e.mapUnsafe.get(t.key)),it=eO(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(n2 in t)return is(t);throw io(t)}return e.mapUnsafe.get(t.key)}),ir=it,ii="~effect/Context/defaultValue",is=e=>ii in e?e[ii]:e[ii]=e.defaultValue(),io=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},ia=eO(2,(e,t)=>e.mapUnsafe.has(t.key)?r4(e.mapUnsafe.get(t.key)):e4(t,n2)?r4(is(t)):r3()),iA=eO(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:il(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),il=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),n4(r)};var ic=class extends n0()("github-action-effects/ActionLogger"){};let id=class extends eL{constructor(e){super(),e&&Object.assign(this,e)}},ig=rC,iu=rf;var ih=class extends iu("ActionEnvironmentError"){};let im=/^[+-]?\d+$/,ip="~effect/BigDecimal",iC={[ip]:ip,[e9](){let e=iw(this);return te(e6(e.value),tn(e.scale))},[th](e){return iI(e)&&iF(this,e)},toString(){return`BigDecimal(${iT(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[tU](){return this.toJSON()},pipe(){return eF(this,arguments)}},iI=e=>e4(e,ip),iE=(e,t)=>{let r=Object.create(iC);return r.value=e,r.scale=t,r},iy=(e,t)=>{if(e!==iB&&e%ib===iB)throw RangeError("Value must be normalized");let r=iE(e,t);return r.normalized=r,r},iB=BigInt(0),iQ=BigInt(1),iN=BigInt(-1),ib=BigInt(10),iS=iy(iB,0),iw=e=>{if(void 0===e.normalized)if(e.value===iB)e.normalized=iS;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let n=BigInt(t.substring(0,t.length-r)),i=e.scale-r;e.normalized=iy(n,i)}return e.normalized},iD=eO(2,(e,t)=>t>e.scale?iE(e.value*ib**BigInt(t-e.scale),t):t<e.scale?iE(e.value/ib**BigInt(e.scale-t),t):e),ix=eO(2,(e,t)=>t.value===iB?e:e.value===iB?t:e.scale>t.scale?iE(iD(t,e.scale).value+e.value,e.scale):e.scale<t.scale?iE(iD(e,t.scale).value+t.value,t.scale):iE(e.value+t.value,e.scale)),iR=rK((e,t)=>{let r=rX(iM(e),iM(t));return 0!==r?r:e.scale>t.scale?rZ(e.value,iD(t,e.scale).value):e.scale<t.scale?rZ(iD(e,t.scale).value,t.value):rZ(e.value,t.value)}),ik=(Y=iR,eO(2,(e,t)=>-1===Y(e,t))),iv=r0(iR),iM=e=>e.value===iB?0:e.value<iB?-1:1,iU=rx((e,t)=>e.scale>t.scale?iD(t,e.scale).value===e.value:e.scale<t.scale?iD(e,t.scale).value===t.value:e.value===t.value),iF=eO(2,(e,t)=>iU(e,t)),iT=e=>{let t,r,n=iw(e);if(Math.abs(n.scale)>=16)return iL(n);let i=n.value<iB,s=i?`${n.value}`.substring(1):`${n.value}`;if(n.scale>=s.length)t="0",r="0".repeat(n.scale-s.length)+s;else{let e=s.length-n.scale;if(e>s.length){let n=e-s.length;t=`${s}${"0".repeat(n)}`,r=""}else r=s.slice(e),t=s.slice(0,e)}let o=""===r?t:`${t}.${r}`;return i?`-${o}`:o},iL=e=>{if(iO(e))return"0e+0";let t=iw(e),r=`${(t.value<iB?iE(-t.value,t.scale):t).value}`,n=r.slice(0,1),i=r.slice(1),s=`${iH(t)?"-":""}${n}`;""!==i&&(s+=`.${i}`);let o=i.length-t.scale;return`${s}e${o>=0?"+":""}${o}`},iO=e=>e.value===iB,iH=e=>e.value<iB,iP=e=>iI(e[0]),iY=eO(iP,(e,t=0)=>e.scale<=t?e:iE(e.value/ib**BigInt(e.scale-t),t)),iG=eO(iP,(e,t=0)=>{let r=iY(e,t);return e.value>iB&&ik(r,e)?ix(r,iE(iQ,t)):r}),iz=eO(iP,(e,t=0)=>{let r=iY(e,t);return iH(e)&&iv(r,e)?ix(r,iE(iN,t)):r}),iq=eO(2,(e,t)=>Object.hasOwn(e,t)),iV=eO(2,(e,t)=>{let r={...e};for(let n of i_(e))r[n]=t(e[n],n);return r}),i_=e=>Object.keys(e),iJ=eO(2,(e,t)=>rJ(e)?rj(t(e.success)):rW(e.failure)),iW=eO(2,(e,{onFailure:t,onSuccess:r})=>r_(e)?t(e.failure):r(e.success)),ij=globalThis.Array,iK=e=>ij.isArray(e)?e:ij.from(e),iX=eO(2,(e,t)=>[...e,t]),iZ=eO(2,(e,t)=>iK(e).concat(iK(t)));ij.isArray;let i$=eO(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),i0=eO(3,(e,t,r)=>{let n=iK(e),i=iK(t);if(n.length>0)return i.length>0?i8(r)(iZ(n,i)):n;return i}),i1=eO(2,(e,t)=>i0(e,t,tm)),i2=()=>[],i3=e=>[e],i4=eO(2,(e,t)=>e.map(t)),i5=eO(2,(e,t)=>{let r=[],n=[],i=0;for(let s of e){let e=t(s,i++);rJ(e)?n.push(e.success):r.push(e.failure)}return[r,n]}),i8=eO(2,(e,t)=>{let r=iK(e);if(r.length>0){let e=[i$(r)];for(let n of r.slice(1))e.every(e=>!t(n,e))&&e.push(n);return e}return[]}),i9="~effect/time/Duration",i6=BigInt(0),i7=BigInt(1),se=BigInt(1e3),st=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),sr=(e,t)=>e.includes(".")?st(Number(e)*Number(t)):BigInt(e)*t,sn=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,si=e=>{switch(typeof e){case"number":return sp(e);case"bigint":return sm(e);case"string":{if("Infinity"===e)return su;if("-Infinity"===e)return sh;let t=sn.exec(e);if(!t)break;let[r,n,i]=t;if("nano"===i||"nanos"===i)return sm(sr(n,i7));if("micro"===i||"micros"===i)return sm(sr(n,se));let s=Number(n);switch(i){case"milli":case"millis":return sp(s);case"second":case"seconds":return sC(s);case"minute":case"minutes":return sf(s);case"hour":case"hours":return sI(s);case"day":case"days":return sE(s);case"week":case"weeks":return sy(s)}break}case"object":{if(null===e)break;if(i9 in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(eK))return ss(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return sg;if(e[0]===-1/0||e[1]===-1/0)return sh;if(e[0]===1/0||e[1]===1/0)return su;return sc(st(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return sc(t);return sc(st(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return ss(e)},ss=e=>{throw Error(`Invalid Input: ${e}`)},so={_tag:"Millis",millis:0},sa={_tag:"Infinity"},sA={_tag:"NegativeInfinity"},sl={[i9]:i9,[e9](){return to(this.value)},[th](e){return sd(e)&&sS(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[tU](){return this.toJSON()},pipe(){return eF(this,arguments)}},sc=e=>{let t=Object.create(sl);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=so:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:st(1e6*e)}:t.value=e>0?sa:sA:e===i6?t.value=so:t.value={_tag:"Nanos",nanos:e},t},sd=e=>e4(e,i9),sg=sc(0),su=sc(1/0),sh=sc(-1/0),sm=e=>sc(e),sp=e=>sc(e),sC=e=>sc(1e3*e),sf=e=>sc(6e4*e),sI=e=>sc(36e5*e),sE=e=>sc(864e5*e),sy=e=>sc(6048e5*e),sB=e=>sN(si(e),{onMillis:eH,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),sQ=e=>{let t=si(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return st(1e6*t.value.millis)}},sN=eO(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),sb=eO(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(sQ(e),t.value.nanos):r.onNanos(e.value.nanos,sQ(t))),sS=eO(2,(e,t)=>sb(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag})),sw=eO(2,(e,t)=>r=>{let n=e(r);if(r_(n))return rW(r);let i=t(n.success);return r_(i)?rW(r):i}),sD=n0("effect/Scheduler",{defaultValue:()=>new sk}),sx="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class sR{buckets=[];scheduleTask(e,t){let r,n=this.buckets,i=n.length,s=0;for(;s<i&&!(n[s][0]>t);s++)r=n[s];r&&r[0]===t?r[1].push(e):s===i?n.push([t,[e]]):n.splice(s,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class sk{executionMode;setImmediate;constructor(e="async",t=sx){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new sv(this.setImmediate)}}class sv{tasks=new sR;running=void 0;setImmediate;constructor(e=sx){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let sM=n0("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),sU=n0("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1}),sF="effect/Tracer/ParentSpan";class sT extends n0()(sF){}let sL=n0("effect/Tracer/DisablePropagation",{defaultValue:eG}),sO=n0("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),sH=n0("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),sP="effect/Tracer",sY=n0(sP,{defaultValue:()=>({span:e=>new sG(e)})});class sG{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=ek.getOrUndefined(e.parent)?.traceId??sz(32),this.spanId=sz(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let sz=(h=(u="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=u.charAt(Math.floor(Math.random()*h));return t}),sq=n0("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),sV=n0("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),s_=n0("effect/References/CurrentStackFrame",{defaultValue:eq}),sJ=n0("effect/References/TracerEnabled",{defaultValue:eY}),sW=n0("effect/References/TracerTimingEnabled",{defaultValue:eY}),sj=n0("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),sK=n0("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),sX=n0("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),sZ=n0("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),s$=n0("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),s0=n0("effect/References/CurrentLogSpans",{defaultValue:()=>[]}),s1=e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=Error.stackTraceLimit;rD(3);let r=Error();return rD(t),{...e,captureStackTrace:s3(()=>r.stack)}},s2=e=>t=>{let r;return()=>{if(void 0!==r)return r;let n=t();if(!n)return;let i=n.split("\n");if(void 0!==i[e])return r=i[e].trim()}},s3=s2(3);class s4 extends t4{fiberId;constructor(e,t=t5){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[th](e){return ri(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[e9](){return te(ti(`${this._tag}:${this.fiberId}`))(e7(this.annotations))}}let s5=e=>new t2([new s4(e)]),s8=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return rj(r.error)}return rW(e)},s9=e=>{let t=s8(e);return r_(t)?r3():r4(t.success)},s6=e=>{let t=e.reasons.find(rn);return t?rj(t.defect):rW(e)},s7=e=>{let t;for(let r=0;r<e.reasons.length;r++){let n=e.reasons[r];"Interrupt"===n._tag&&(t??=new Set,void 0!==n.fiberId&&t.add(n.fiberId))}return t?rj(t):rW(e)},oe=eO(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new t2(i1(e.reasons,t.reasons));return tm(e,r)?e:r}),ot=eO(2,(e,t)=>{let r=!1,n=e.reasons.map(e=>rr(e)?(r=!0,new t8(t(e.error))):e);return r?t9(n):e}),or=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},on=(e,t,r)=>{let n,i=typeof e;if(e&&"object"===i){if(n=new globalThis.Error(oi(e),{cause:e.cause?on(e.cause):void 0}),"string"==typeof e.name&&(n.name=e.name),"string"==typeof e.stack)n.stack=oo(e.stack,n,t);else{let e=`${n.name}: ${n.message}`;n.stack=t?oa(e,t):e}for(let t of(r?.includeCauseInStack&&(n.stack=oc(n)),Object.keys(e)))t in n||(n[t]=e[t])}else n=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===i?e:tM(e));return n},oi=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return tM(e)},os=/\((.*)\)/g,oo=(e,t,r)=>{let n=`${t.name}: ${t.message}`,i=(e.startsWith(n)?e.slice(n.length):e).split("\n"),s=[n];for(let e=1;e<i.length&&!/(?:Generator\.next|~effect\/Effect)/.test(i[e]);e++)s.push(i[e]);return r?oa(s.join("\n"),r):s.join("\n")},oa=(e,t)=>{let r=t?.get(rc.key);return r&&(e=`${e} -${oA(r)}`),e},oA=e=>{let t=[],r=e,n=0;for(;r&&n<10;){let e=r.stack();if(e){let n=e.matchAll(os),i=!1;for(let[,e]of n)i=!0,t.push(` at ${r.name} (${e})`);i||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,n++}return t.join("\n")},ol=e=>(e=>{let t=[],r=[];if(0===e.reasons.length)return t;let n=Error.stackTraceLimit;for(let n of(rD(1),e.reasons)){if("Interrupt"===n._tag){r.push(n);continue}t.push(on("Die"===n._tag?n.defect:n.error,n.annotations,void 0))}if(0===t.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=((e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",n=e.annotations.get(rd);r.push(` at fiber (${t})`),n&&r.push(oA(n))}return r.join("\n")})(e,r);let n=new globalThis.Error("All fibers interrupted without error",{cause:e});n.name="InterruptError",n.stack=`${n.name}: ${n.message}`,t.push(on(n,r[0].annotations,void 0))}return rD(n),t})(e).map(oc).join("\n"),oc=e=>e.cause?`${e.stack} { -${od(e.cause," ")} -}`:e.stack,od=(e,t)=>{let r=e.stack.split("\n"),n=`${t}[cause]: ${r[0]}`;for(let e=1,i=r.length;e<i;e++)n+=` -${t}${r[e]}`;return e.cause&&(n+=` { -${od(e.cause,`${t} `)} -${t}}`),n},og="~effect/Fiber/dev",ou={_A:eH,_E:eH},oh={id:0},om=()=>globalThis[tw];class op{constructor(e,t=!0){this[og]=ou,this.setContext(e),this.id=++oh.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[og];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){var t;return t=this.context,t.mapUnsafe.has(e.key)?t.mapUnsafe.get(e.key):is(e)}addObserver(e){return this._exit?(e(this._exit),eq):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=s5(e);this.currentStackFrame&&(r=rt(r,n6(rc,this.currentStackFrame))),t&&(r=rt(r,t)),this._interruptedCause=this._interruptedCause?oe(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(ob(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===tj)return;let r=of.interruptChildren&&of.interruptChildren(this);if(void 0!==r)return this.evaluate(oK(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=n9}runLoop(e){let t=globalThis[tw];globalThis[tw]=this;let r=this._running;this._running=!0;let n=!1,i=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,i=ob(this._interruptedCause)),this.currentOpCount++,!n&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){n=!0;let e=i;i=oK(ox,()=>e)}if((i=this.currentTracerContext?this.currentTracerContext(i,this):i[tV](this))===tj){let e=this._yielded;if(tG in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return tj}}}catch(e){if(!e4(i,tV))return rh(`Fiber.runLoop: Not a valid effect: ${String(i)}`);return this.runLoop(rh(e))}finally{this._running=r,globalThis[tw]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,oC;for(;;){let t=this._stack.pop();if(!t)return;let r=t[tW]&&t[tW](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,tj}children(){return this._children??=new Set}pipe(){return eF(this,arguments)}setContext(e){this.context=e;let t=this.getRef(sD);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(sF),this.currentLogLevel=this.getRef(sZ),this.minimumLogLevel=this.getRef(s$),this.currentStackFrame=e.mapUnsafe.get(s_.key),this.maxOpsBeforeYield=this.getRef(sM),this.currentPreventYield=this.getRef(sU),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(sP);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let oC={[t_]:(e,t)=>ob(t._interruptedCause),[tJ]:(e,t)=>ob(t._interruptedCause)},of={interruptChildren:void 0},oI=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(rd,e.currentStackFrame),n4(t)},oE=e=>oL(t=>{let r,n=e[Symbol.iterator](),i=[];return!function e(){let s=n.next();for(;!s.done;){if(s.value._exit){i.push(s.value._exit),s=n.next();continue}r=s.value.addObserver(t=>{i.push(t),e()});return}t(oN(i))}(),oS(()=>r?.())}),oy=e=>rm(t=>oB(e,t.id)),oB=eO(e=>e4(e[0],og),(e,t,r)=>rm(n=>{let i=oI(n);return i=i&&r?iA(i,r):i??r,e.interruptUnsafe(t,i),oW(e._exit?oN(e._exit):oL(t=>e._exit?t(oN(e._exit)):oS(e.addObserver(e=>t(oN(e))))))})),oQ=e=>rm(t=>{let r=oI(t),n=i2();for(let i of e)i.interruptUnsafe(t.id,r),n.push(i);return oW(oE(n))}),oN=rl,ob=rg,oS=ra({op:"Sync",[tV](e){let t=this[tq](),r=e.getCont(t_);return r?r[t_](t,e):e.yieldWith(rl(t))}}),ow=ra({op:"Suspend",[tV](e){return this[tq]()}}),oD=iW({onFailure:ru,onSuccess:oN}),ox=ra({op:"Yield",[tV](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(o8)},this[tq]??0),e.yieldWith(()=>{t=!0})}})(0),oR=oN(r3()),ok=e=>rh(e),ov=e=>ow(()=>ru(tP(e))),oM=oN(void 0),oU=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new Ax(e,"An error occurred in Effect.try"):e.catch;return ow(()=>{try{return oN(tP(t))}catch(e){return ru(tP(()=>r(e)))}})},oF=ra({op:"Async",single:!1,[tV](e){let t=tP(()=>this[tq][0].bind(e.currentScheduler)),r=!1,n=!1,i=this[tq][1]?new AbortController:void 0,s=t(t=>{r||(r=!0,n?e.evaluate(t):n=t)},i?.signal);return!1!==n?n:(n=!0,e._yielded=()=>{r=!0},void 0===i&&void 0===s||e._stack.push(oT(()=>(r=!0,i?.abort(),s??o8))),tj)}}),oT=ra({op:"AsyncFinalizer",[tW](e){e.interruptible&&(e.interruptible=!1,e._stack.push(aZ))},[tJ](e,t){return e.reasons.some(ri)?oK(this[tq](),()=>ob(e)):ob(e)}}),oL=e=>oF(e,e.length>=2),oO=oL(eq),oH=(e,...t)=>{let r=0===t.length?function(){return ow(()=>oq(e.apply(this,arguments)))}:function(){let r=ow(()=>oq(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return oP(e.length,r)},oP=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),oY=s2(2),oG=(e,t,r,n,i,s)=>{let o="function"==typeof t?t:n.pop().bind(t.self);return oP(o.length,function(...t){let a=ow(()=>{let e=o.apply(this,arguments);return tZ(e)?e:oq(e)});for(let e=0;e<n.length;e++)a=n[e](a,...t);if(!tZ(a))return a;let A=Error.stackTraceLimit;rD(2);let l=new globalThis.Error;return rD(A),ar(i?Au(e,s,e=>Ah(a,e)):a,s_,t=>({name:e,stack:oY(()=>l.stack),parent:{name:`${e} (definition)`,stack:oY(()=>r.stack),parent:t}}))})},oz=e=>{try{let t,r=e();for(;;){let n=r.next(t);if(n.done)return oN(n.value);let i=n.value;if(i&&"Success"===i._tag){t=i.value;continue}{if(i&&"Failure"===i._tag)return n.value;let t=!0;return ow(()=>t?(t=!1,oK(n.value,e=>oq(r,e))):ow(()=>oq(e())))}}}catch(e){return ok(e)}},oq=ra({op:"Iterator",single:!1,[t_](e,t){let r=this[tq][0];for(;;){let n=r.next(e);if(n.done)return oN(n.value);if(!oZ(n.value))return t._stack.push(this),n.value;if("Failure"===n.value._tag)return n.value;e=n.value.value}},[tV](e){return this[t_](this[tq][1],e)}}),oV=eO(2,(e,t)=>{let r=oN(t);return oK(e,e=>r)}),o_=eO(2,(e,t)=>oK(e,e=>tZ(t)?t:tP(()=>t(e)))),oJ=eO(2,(e,t)=>oK(e,e=>oV(tZ(t)?t:tP(()=>t(e)),e))),oW=e=>oK(e,e=>o8),oj=eO(e=>tZ(e[1]),(e,t,r)=>{let n;return n=[e,t],rm(e=>oL(t=>{let i=!1,s=new Set,o=e=>{i=!0,t(0===s.size?e:oK(aK(oQ(s)),()=>e))},a=0;for(let t of n){if(i)break;let n=a++,A=a6(e,t,!0,!0,!1);s.add(A),A.addObserver(t=>{s.delete(A);let a=!i;o(t),a&&r?.onWinner&&r.onWinner({fiber:A,index:n,parentFiber:e})})}return oQ(s)}))}),oK=eO(2,(e,t)=>{let r=Object.create(oX);return r[tq]=e,r[t_]=1!==t.length?e=>t(e):t,r}),oX=ro({op:"OnSuccess",[tV](e){return e._stack.push(this),this[tq]}}),oZ=e=>tG in e,o$=eO(2,(e,t)=>oZ(e)?"Success"===e._tag?t(e.value):e:oK(e,t)),o0=eO(2,(e,t)=>oK(e,e=>oN(tP(()=>t(e))))),o1=eO(2,(e,t)=>oZ(e)?o9(e,t):o0(e,t)),o2=eO(2,(e,t)=>oZ(e)?o6(e,t):af(e,t)),o3=eO(2,(e,t)=>oZ(e)?o7(e,t):aI(e,t)),o4=e=>"Success"===e._tag,o5=e=>"Failure"===e._tag?rj(e.cause):rW(e),o8=rl(void 0),o9=eO(2,(e,t)=>"Success"===e._tag?rl(t(e.value)):e),o6=eO(2,(e,t)=>{if("Success"===e._tag)return e;let r=s8(e.cause);return r_(r)?e:ru(t(r.success))}),o7=eO(2,(e,t)=>{if("Success"===e._tag)return rl(t.onSuccess(e.value));let r=s8(e.cause);return r_(r)?e:ru(t.onFailure(r.success))}),ae=eO(2,(e,t)=>o4(e)?t:e),at=eO(2,(e,t)=>rm(r=>{let n=r.context,i=t(n);return n===i?e:(r.setContext(i),aY(e,()=>{r.setContext(n)}))})),ar=eO(3,(e,t,r)=>at(e,e=>{let n=it(e,t),i=r(n);return n===i?e:n7(e,t,i)})),an=rm(e=>oN(e.context)),ai=e=>rm(t=>e(t.context)),as=eO(2,(e,t)=>oZ(e)?e:at(e,iA(t))),ao=function(){return 1==arguments.length?eO(2,(e,t)=>aa(e,arguments[0],t)):eO(3,(e,t,r)=>aa(e,t,r)).apply(this,arguments)},aa=(e,t,r)=>at(e,e=>e.mapUnsafe.get(t.key)===r?e:n7(e,t,r)),aA=((e,t,r)=>oK(r,r=>ao(e,t,r)),eO(e=>tZ(e[0]),(e,t)=>a3({while:eY,body:eP(t?.disableYield?e:oK(e,e=>ox)),step:eq}))),al=eO(2,(e,t)=>{let r=Object.create(ac);return r[tq]=e,r[tJ]=1!==t.length?e=>t(e):t,r}),ac=ro({op:"OnFailure",[tV](e){return e._stack.push(this),this[tq]}}),ad=((e,t,r)=>al(e,e=>t(e)?tP(()=>r(e)):ob(e)),eO(3,(e,t,r)=>al(e,e=>{let n=t(e);return r_(n)?ob(n.failure):tP(()=>r(n.success,e))}))),ag=eO(2,(e,t)=>ad(e,s8,e=>t(e))),au=eO(2,(e,t)=>ad(e,s6,t)),ah=eO(2,(e,t)=>al(e,e=>o_(tP(()=>t(e)),ob(e)))),am=eO(3,(e,t,r)=>al(e,e=>{let n=t(e);return r_(n)?ob(e):o_(tP(()=>r(n.success,e)),ob(e))})),ap=((e,t)=>am(e,s8,e=>t(e)),eO(e=>tZ(e[0]),(e,t,r,n)=>al(e,e=>{let i=s8(e);return r_(i)?ob(i.failure):t(i.success)?tP(()=>r(i.success)):n?tP(()=>n(i.success)):ob(e)}))),aC=((e=>tZ(e[0]),(e,t,r,n)=>al(e,e=>{let i=s8(e);if(r_(i))return ob(i.failure);let s=t(i.success);return r_(s)?n?tP(()=>n(s.failure)):ob(e):tP(()=>r(s.success))})),eO(e=>tZ(e[0]),(e,t,r,n)=>ap(e,Array.isArray(t)?e=>e4(e,"_tag")&&t.includes(e._tag):e5(t),r,n))),af=eO(2,(e,t)=>ag(e,e=>ov(()=>t(e)))),aI=eO(2,(e,t)=>aN(e,{onFailure:e=>ov(()=>t.onFailure(e)),onSuccess:e=>oS(()=>t.onSuccess(e))})),aE=eO(2,(e,t)=>ag(e,e=>oS(t))),ay=e=>aS(e,{onFailure:rW,onSuccess:rj}),aB=eO(2,(e,t)=>{let r=Object.create(aQ);return r[tq]=e,r[t_]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[tJ]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),aQ=ro({op:"OnSuccessAndFailure",[tV](e){return e._stack.push(this),this[tq]}}),aN=((e,t)=>aB(e,{onFailure:e=>oS(()=>t.onFailure(e)),onSuccess:e=>oS(()=>t.onSuccess(e))}),eO(2,(e,t)=>aB(e,{onFailure:e=>{let r=e.reasons.find(rr);return r?tP(()=>t.onFailure(r.error)):ob(e)},onSuccess:t.onSuccess}))),ab=eO(2,(e,t)=>aN(e,{onFailure:e=>oS(()=>t.onFailure(e)),onSuccess:e=>oS(()=>t.onSuccess(e))})),aS=eO(2,(e,t)=>{if(oZ(e)){if("Success"===e._tag)return rl(t.onSuccess(e.value));let r=s8(e.cause);return r_(r)?e:rl(t.onFailure(r.success))}return ab(e,t)}),aw=e=>oZ(e)?rl(e):aD(e),aD=ra({op:"Exit",[tV](e){return e._stack.push(this),this[tq]},[t_]:(e,t,r)=>oN(r??rl(e)),[tJ]:(e,t,r)=>oN(r??rg(e))}),ax=((e,t)=>oj(e,oK(AB(t.duration),t.orElse)),"~effect/Scope"),aR="~effect/Scope/Closeable",ak=n0("effect/Scope"),av=(e,t)=>ow(()=>aM(e,t)??oM),aM=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:n}=e.state;return(e.state=r,0===n.size)?void 0:1===n.size?n.values().next().value(t):aU(e,n,t)},aU=oH(function*(e,t,r){let n=[],i=[],s=Array.from(t.values()),o=om();for(let t=s.length-1;t>=0;t--){let a=s[t];"sequential"===e.strategy?n.push((yield*aw(a(r)))):i.push(a6(o,a(r),!0,!0,"inherit"))}return i.length>0&&(n=yield*oE(i)),yield*(e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?o8:rg(t9(t))})(n)}),aF=(e,t)=>ow(()=>"Closed"===e.state._tag?t(e.state.exit):(aT(e,{},t),oM)),aT=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},aL=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},aO=(e="sequential")=>({[aR]:aR,[ax]:ax,strategy:e,state:aH}),aH={_tag:"Empty"},aP=ao(ak),aY=ra({op:"OnExit",single:!1,[tV](e){return e._stack.push(this),this[tq][0]},[tW](e){e.interruptible&&!0!==this[tq][2]&&(e._stack.push(aZ),e.interruptible=!1)},[t_](e,t,r){r??=rl(e);let n=this[tq][1](r);return n?oK(n,e=>r):r},[tJ](e,t,r){r??=rg(e);let n=this[tq][1](r);return n?oK(n,e=>r):r}}),aG=eO(2,aY),az=eO(2,(e,t)=>aG(e,e=>t)),aq=((e,t,r)=>aG(e,e=>t(e)?r(e):oM),eO(3,(e,t,r)=>aG(e,e=>{let n=t(e);return r_(n)?oM:r(n.success,e)}))),aV=eO(2,(e,t)=>aq(e,o5,t)),a_=eO(3,(e,t,r)=>aG(e,e=>{if("Failure"!==e._tag)return oM;let n=t(e.cause);return r_(n)?oM:r(n.success,e.cause)})),aJ=eO(2,(e,t)=>a_(s7,t)(e)),aW=eO(2,(e,t)=>oS(()=>{let r,n=sB(si(t)),i=Number.isFinite(n),s=Al(!1),o=0,a=!1,A=oK(s.await,()=>r);return[rm(t=>{let l=t.getRef(Ap),c=i?l.currentTimeMillisUnsafe():0;return a||c<o?r??A:(a=!0,s.closeUnsafe(),r=void 0,aG(e,e=>oS(()=>{a=!1,o=l.currentTimeMillisUnsafe()+n,r=e,s.openUnsafe()})))}),oS(()=>{o=0,s.closeUnsafe(),r=void 0})]})),aj=eO(2,(e,t)=>o0(aW(e,t),e=>e[0])),aK=e=>rm(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(aZ)),e)),aX=ra({op:"SetInterruptible",[tW](e){if(e.interruptible=this[tq],e._interruptedCause&&e.interruptible)return()=>ob(e._interruptedCause)}}),aZ=aX(!0),a$=aX(!1),a0=e=>rm(t=>t.interruptible?e:(e=>{if(e.interruptible=!0,e._stack.push(a$),e._interruptedCause)return ob(e._interruptedCause)})(t)??e),a1=e=>rm(t=>t.interruptible?(t.interruptible=!1,t._stack.push(aZ),e(a0)):e(eH)),a2=(e,t)=>e8(e)?t?.mode==="result"?a4(e,ay,t):a4(e,eH,t):t?.discard?"result"===t.mode?a4(Object.values(e),ay,t):a4(Object.values(e),eH,t):ow(()=>{let r={};return oV(a4(Object.entries(e),([e,n])=>o0(t?.mode==="result"?ay(n):n,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),a3=((e=>e8(e[0])&&!tZ(e[0]),(e,t,r)=>o0(a4(e,(e,r)=>ay(t(e,r)),r),e=>i5(e,eH))),ra({op:"While",[t_](e,t){return(this[tq].step(e),this[tq].while())?(t._stack.push(this),this[tq].body()):o8},[tV](e){return this[tq].while()?(e._stack.push(this),this[tq].body()):o8}})),a4=eO(e=>"function"==typeof e[1],(e,t,r)=>rm(n=>{let i=r?.concurrency==="inherit"?n.getRef(sq):r?.concurrency??1,s="unbounded"===i?1/0:Math.max(1,i);if(1===s)return a5(e,t,r);let o=iK(e),a=o.length;if(0===a)return r?.discard?oM:oN([]);let A=r?.discard?void 0:Array(a),l=a9({f:t,out:A},o,{concurrency:s});return l?oV(l,A):oN(A)})),a5=(e,t,r)=>ow(()=>{let n=r?.discard?void 0:[],i=e[Symbol.iterator](),s=i.next(),o=0;return oV(a3({while:()=>!s.done,body:()=>t(s.value,o++),step:e=>{n&&n.push(e),s=i.next()}}),n)}),a8=e=>{let t=e.onItem,r=e.step;return(e,n,i)=>{let s,o,a,A,l,c=i?.start??0,d=i?.end??n.length,g=i?.concurrency??1,u=i?.orderedStep===!0&&g>1,h=!1,m=!1,p=c,C=u?Array(d):void 0,f=e=>{let t=rh(e);return A=t,h=!0,m=!0,o&&o.size>0?oK(aK(oQ(Array.from(o))),()=>t):t},I=(t,i,s)=>{if(!u)return r(e,t,i,s);if(A)return A;for(C[s]=i;p<d;){let t=C[p];if(void 0===t)return;C[p]=void 0;let i=p++,s=r(e,n[i],t,i);if(s)return s}},E=()=>{let r=!1;for(;!A&&c<d;c++){let i=n[c],d=l??t(e,i,c);if(oZ(d)){if(A=I(i,d,c))break}else{if(1===g)return oK(aw(d),e=>(A=I(i,e,c),c++,A??E()??oM));if(!s)return oL(e=>{let t;s=om(),o=new Set,l=d,a=e;try{t=E()}catch(t){return e(f(t))}return t?e(t):ow(()=>(A=o8,m=!0,o?oQ(o):oM))});l=void 0;let e=a6(s,d,!0,!0,"inherit");if(e._exit){if(A=I(i,e._exit,c))break;continue}o.add(e);let t=c;if(e.addObserver(n=>{o.delete(e);try{if(A){if(!m&&"Failure"===n._tag)for(let e of n.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=rg(t9([e]))}else{let e=I(i,n,t);e&&(A="Failure"===e._tag?rg(t9(e.cause.reasons.slice())):e,E())}if(r){let e=E();e&&a(e)}else h&&0===o.size&&a(A??oM)}catch(e){a(f(e))}}),o.size<g)continue;r=!0,c++;return}}if(h=!0,A){if(o&&o.size>0){let e=oI(s);o.forEach(t=>t.interruptUnsafe(s.id,e));return}if(a||"Failure"===A._tag)return A}else if(a)if(!o)return o8;else 0===o.size&&a(oM)};return E()}},a9=a8({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,n){if("Failure"===r._tag)return r;e.out&&(e.out[n]=r.value)}}),a6=((e,t,r)=>oK(e,e=>t(e)?oN(e):r(e)),(e,t,r=!1,n=!1,i=!1)=>{let s="inherit"===i?e.interruptible:!i,o=new op(e.context,s);return r?o.evaluate(t):e.currentDispatcher.scheduleTask(()=>o.evaluate(t),0),n||o._exit||(e.children().add(o),o.addObserver(()=>e._children.delete(o))),o}),a7=eO(e=>tZ(e[0]),(e,t,r)=>rm(n=>{let i=a6(n,e,r?.startImmediately,!0,r?.uninterruptible);if(!i._exit)if("Closed"!==t.state._tag){let e={};aT(t,e,()=>{let e;return e=e=>e===i.id?oM:oy(i),rm(t=>e(t.id))}),i.addObserver(()=>aL(t,e))}else i.interruptUnsafe(n.id,oI(n));return oN(i)})),Ae=e=>(t,r)=>{let n=new op(r?.scheduler?n7(e,sD,r.scheduler):e,r?.uninterruptible!==!0);if(n.evaluate(t),n._exit)return n;if(r?.signal)if(r.signal.aborted)n.interruptUnsafe();else{let e=()=>n.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),n.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(n),n},At=Ae(n9),Ar=(z=(G=Ae(n9),(e,t)=>{let r=G(e,t);return new Promise(e=>{r.addObserver(t=>e(t))})}),(e,t)=>z(e,t).then(e=>{if("Failure"===e._tag)throw or(e.cause);return e.value})),An=e=>{let t=Ae(e);return e=>{if(oZ(e))return e;let r=t(e,{scheduler:new sk("sync")});return r._dispatcher?.flush(),r._exit??rh(new Aw(r))}},Ai=An(n9),As=(m=An(n9),e=>{let t=m(e);if("Failure"===t._tag)throw or(t.cause);return t.value}),Ao=oN(!0),Aa=oN(!1);class AA{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),Ao}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](o8)};open=rm(e=>this._isOpen?Aa:(this._isOpen=!0,this.scheduleUnsafe(e)));release=rm(e=>this._isOpen?Aa:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=oL(e=>this._isOpen?e(oM):(this.waiters.push(e),oS(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=oS(()=>this.closeUnsafe());whenOpen=e=>oK(this.await,()=>e);isOpen(){return this._isOpen}}let Al=e=>new AA(e??!1),Ac=BigInt(0),Ad={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:Ac,endTime:Ac,exit:o8},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},Ag=e=>e?ir(e.annotations,sL)?"Span"===e._tag?Ag(nu(e.parent)):r3():r4(e):r3(),Au=(e,...t)=>{let r=1===t.length?void 0:t[0],n=t[t.length-1];return rm(t=>{let i=((e,t,r)=>{let n,i=!e.getRef(sJ)||r?.annotations&&ir(r.annotations,sL),s=r?.parent!==void 0?r4(r.parent):r?.root?r3():Ag(e.currentSpan);if(i){let e;e={name:t,parent:s,annotations:n7(r?.annotations??n9,sL,!0)},n=Object.assign(Object.create(Ad),e)}else{let i=e.getRef(sY),o=e.getRef(Ap),a=e.getRef(sW),A=e.getRef(sj),l=e.getRef(sK),c=r?.level??e.getRef(sO),d=r?.links!==void 0?[...l,...r.links]:l.slice();for(let[l,g]of(n=i.span({name:t,parent:s,annotations:r?.annotations??n9,links:d,startTime:a?o.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??r8(s),sampled:r?.sampled??((!r9(s)||!1!==s.value.sampled)&&!Av(e.getRef(sH),c))}),Object.entries(A)))n.attribute(l,g);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))n.attribute(e,t)}return n})(t,e,r),s=t.getRef(Ap);return aG(tP(()=>n(i)),e=>oS(()=>{"Ended"!==i.status._tag&&i.end(s.currentTimeNanosUnsafe(),e)}))})},Ah=ao(sT),Am=function(){let e=tZ(arguments[0]),t=e?arguments[1]:arguments[0],r=e?arguments[2]:arguments[1],n=eH;if("Span"===t._tag){var i,s;r=s1(r),i=t.name,s="function"==typeof(s=r?.captureStackTrace)?s:eq,n=ar(s_,e=>({name:i,stack:s,parent:e}))}return e?Ah(n(arguments[0]),t):e=>Ah(n(e),t)},Ap=n0("effect/Clock",{defaultValue:()=>new Af}),AC=0x80000000-1;class Af{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=oS(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return AE()}currentTimeNanos=oS(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(sB(e))}sleepMillis(e){return e<=0?ox:Number.isFinite(e)?oL(t=>{let r=e>AC?this.sleepMillis(e-AC):oM,n=setTimeout(()=>t(r),Math.min(e,AC));return oS(()=>clearTimeout(n))}):oO}}let AI=(C=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*C:()=>(p??=BigInt(Date.now())*C-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),AE=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return AI;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),Ay=e=>rm(t=>e(t.getRef(Ap))),AB=e=>Ay(t=>t.sleep(si(e))),AQ=(e=>e.currentTimeMillis,"~effect/Cause/TimeoutError"),AN="~effect/Cause/IllegalArgumentError";class Ab extends rf("IllegalArgumentError"){[AN]=AN;constructor(e){super({message:e})}}let AS="~effect/Cause/AsyncFiberError";class Aw extends rf("AsyncFiberError"){[AS]=AS;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let AD="~effect/Cause/UnknownError";class Ax extends rf("UnknownError"){[AD]=AD;constructor(e,t){super({message:t,cause:e})}}let AR=n0("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),Ak=r$(rX,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}}),Av=r0(Ak),AM=n0("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([AH,AP])}),AU=n0("effect/Logger/LogToStderr",{defaultValue:eG}),AF={"~effect/Logger":{_Message:eH,_Output:eH},pipe(){return eF(this,arguments)}},AT=e=>{let t=Object.create(AF);return t.log=e,t},AL=(e,t)=>{let r=e[0].replace(/[\s="]/g,"_");return`${r}=${t-e[1]}ms`},AO=e=>(...t)=>{let r;for(let e=0,n=t.length;e<n;e++){let n=t[e];t1(n)&&(r?t.splice(e,1):t=t.slice(0,e).concat(t.slice(e+1)),r=r?t9(r.reasons.concat(n.reasons)):n,e--)}return void 0===r&&(r=t6),rm(n=>{let i=e??n.currentLogLevel;if(Av(n.minimumLogLevel,i))return oM;let s=n.getRef(Ap),o=n.getRef(AM);if(o.size>0){let e=new Date(s.currentTimeMillisUnsafe());for(let s of o)s.log({cause:r,fiber:n,date:e,logLevel:i,message:t})}return oM})},AH=AT(({cause:e,date:t,fiber:r,logLevel:n,message:i})=>{let s=Array.isArray(i)?i.slice():[i];e.reasons.length>0&&s.push(ol(e));let o=t.getTime(),a=r.getRef(s0),A="";for(let e of a)A+=` ${AL(e,o)}`;let l=r.getRef(sX);Object.keys(l).length>0&&s.push(l);let c=r.getRef(AR);(r.getRef(AU)?c.error:c.log)(`[${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}] ${n.toUpperCase()} (#${r.id})${A}:`,...s)}),AP=AT(({cause:e,fiber:t,logLevel:r,message:n})=>{let i=t.getRef(Ap),s=t.getRef(sX),o=t.currentSpan;if(void 0===o||"ExternalSpan"===o._tag)return;let a={};for(let[e,t]of Object.entries(s))a[e]=t;a["effect.fiberId"]=t.id,a["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(a["effect.cause"]=ol(e)),o.event(tT(Array.isArray(n)&&1===n.length?n[0]:n),i.currentTimeNanosUnsafe(),a)}),AY=e=>void 0===e?rB:ru(ry(e)),AG="~effect/time/DateTime",Az="~effect/time/DateTime/TimeZone",Aq={[AG]:AG,pipe(){return eF(this,arguments)},[tU](){return this.toString()},toJSON(){return ln(this).toJSON()}},AV={...Aq,_tag:"Utc",[e9](){return tn(this.epochMilliseconds)},[th](e){return AX(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${ln(this).toJSON()})`}},A_={...Aq,_tag:"Zoned",[e9](){return te(tn(this.epochMilliseconds))(e6(this.zone))},[th](e){return AX(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&tm(this.zone,e.zone)},toString(){return`DateTime.Zoned(${lf(this)})`}},AJ={[Az]:Az,[tU](){return this.toString()}},AW={...AJ,_tag:"Named",[e9](){return ti(`Named:${this.id}`)},[th](e){return A$(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},Aj={...AJ,_tag:"Offset",[e9](){return ti(`Offset:${this.offset}`)},[th](e){return A$(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${lo(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},AK=(e,t,r)=>{let n=Object.create(A_);return n.epochMilliseconds=e,n.zone=t,Object.defineProperty(n,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(n,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(n,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),n},AX=e=>e4(e,AG),AZ=e=>AX(e[0]),A$=e=>e4(e,Az),A0=((e,t)=>e.epochMilliseconds===t.epochMilliseconds,e=>{let t=Object.create(AV);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t}),A1=e=>{let t=e.getTime();if(Number.isNaN(t))throw new Ab("Invalid date");return A0(t)},A2=e=>{if(AX(e))return e;if(e instanceof Date)return A1(e);if("object"==typeof e){if("epochMilliseconds"in e)return A0(e.epochMilliseconds);let t=new Date(0);return lA(t,e),A1(t)}return"string"!=typeof e||A3(e)?A1(new Date(e)):A1(new Date(e+"Z"))},A3=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),A4=nh((e,t)=>{let r,n=t?.timeZone;if(void 0===n&&AX(e)&&"Zoned"===e._tag)return e;let i=A2(e);if(i.epochMilliseconds<-86399999568e5||i.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${i.epochMilliseconds}`);if(void 0===n&&"object"==typeof e&&"timeZoneId"in e&&(n=e.timeZoneId),void 0===n)r=A7(-60*new Date(i.epochMilliseconds).getTimezoneOffset()*1e3);else if(A$(n))r=n;else if("number"==typeof n)r=A7(n);else{let e=lr(n);if(r8(e))throw new Ab(`Invalid time zone: ${n}`);r=e.value}return t?.adjustForTimeZone!==!0?AK(i.epochMilliseconds,r,i.partsUtc):ll(i.epochMilliseconds,r,t?.disambiguation??"compatible")}),A5=nh(A2),A8=/^(.{17,35})\[(.+)\]$/,A9=((e,t,r)=>r?.adjustForTimeZone===!0?ll(e.epochMilliseconds,t,r?.disambiguation??"compatible"):AK(e.epochMilliseconds,t,e.partsUtc),new Map),A6={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},A7=e=>{let t=Object.create(Aj);return t.offset=e,t},le=nh(e=>{if(A9.has(e))return A9.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...A6,timeZone:e});let r=t.resolvedOptions().timeZone;if(A9.has(r))return A9.get(r);let n=Object.create(AW);return n.id=r,n.format=t,A9.set(r,n),n}catch{throw new Ab(`Invalid time zone: ${e}`)}}),lt=/^(?:GMT|[+-])/,lr=e=>{if(lt.test(e)){let t=ld(e);return null===t?r3():r4(A7(t))}return le(e)},ln=e=>new Date(e.epochMilliseconds),li=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},ls=e=>li(e).getTime()-la(e),lo=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),n=Math.round(t%36e5/6e4);return 60===n&&(r+=1,n=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(n).padStart(2,"0")}`},la=e=>e.epochMilliseconds,lA=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},ll=(e,t,r)=>{if("Offset"===t._tag)return AK(e-t.offset,t);let n=lg(e-864e5,e,t),i=lg(e+864e5,e,t);if(n===i)return AK(e-n,t);let s=n-i;if(n<i){if(lg(e-i,e,t)===i)return AK(e-i,t);let s=AK(e-n,t);if(e!==li(s).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return AK(e-i,t)}return s}if(lg(e-n,e,t)===n){if("earlier"===r||"compatible"===r||lg(e-n+s,e+s,t)===n)return AK(e-n,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return AK(e-i,t)},lc=/([+-])(\d{2}):(\d{2})$/,ld=e=>{let t=lc.exec(e);if(null===t)return null;let[,r,n,i]=t;return("+"===r?1:-1)*(60*Number(n)+Number(i))*6e4},lg=(e,t,r)=>{let n=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===n)return 0;let i=ld(n);return null===i?ls(AK(t,r)):i},lu=eO(AZ,(e,t,r)=>{if("Utc"===e._tag){let r=ln(e);return t(r),A0(r.getTime())}let n=new Date(li(e).getTime());return t(n),ll(n.getTime(),e.zone,r?.disambiguation??"compatible")}),lh=((e,t)=>lh(e,e=>{let r=new Date(e);return t(r),r.getTime()}),eO(2,(e,t)=>{let r=t(la(e));return"Utc"===e._tag?A0(r):AK(r,e.zone)})),lm=((e,t)=>t(li(e)),eO(2,(e,t)=>t(ln(e)))),lp=(e,t)=>{e.setTime(e.getTime()+t)},lC=((e,t)=>lu(e,e=>{if(t.milliseconds&&lp(e,t.milliseconds),t.seconds&&lp(e,1e3*t.seconds),t.minutes&&lp(e,60*t.minutes*1e3),t.hours&&lp(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),n=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,n+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=li(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${lo(ls(e))}`}),lf=e=>"Offset"===e.zone._tag?lC(e):`${lC(e)}[${e.zone.id}]`,lI={"~effect/Deferred":{_A:eH,_E:eH},pipe(){return eF(this,arguments)}},lE=eO(2,(e,t)=>oS(()=>ly(e,t))),ly=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0},lB=(e,t)=>{let r=aO(t);if("Closed"===e.state._tag)return r.state=e.state,r;let n={};return aT(e,n,e=>av(r,e)),aT(r,n,t=>oS(()=>aL(e,n))),r},lQ="~effect/Layer/MemoMap",lN={"~effect/Layer":{_ROut:eH,_E:eH,_RIn:eH},pipe(){return eF(this,arguments)}},lb=e=>{let t=Object.create(lN);return t.build=e,t},lS=e=>lb((t,r)=>{let n=lB(r);return aG(e(t,n),e=>"Failure"===e._tag?av(n,e):oM)});class lw{get[lQ](){return lQ}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,o_(aF(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var n;let i,s,o,a,A=this.get(e,t);return A?A:(n=this,i=aO(),(s=Object.create(lI)).resumes=void 0,s.effect=void 0,a={observers:1,effect:(o=s,oL(e=>o.effect?e(o.effect):(o.resumes??=[],o.resumes.push(e),oS(()=>{let t=o.resumes.indexOf(e);o.resumes.splice(t,1)})))),finalizer:t=>ow(()=>(a.observers--,0===a.observers)?(n.map.delete(e),av(i,t)):oM)},n.map.set(e,a),aF(t,a.finalizer).pipe(oK(()=>r(n,i)),aG(e=>(a.effect=e,lE(o,e)))))}}let lD=()=>new lw;class lx extends n0()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=ie(e,lx);return t?new lw(t):lD()}}let lR=eO(3,(e,t,r)=>ao(o0(e.build(t,r),n7(lx,t)),lx,t)),lk=eO(2,(e,t)=>rm(r=>lR(e,lx.forkOrCreate(r.context),t))),lv=function(){return 1==arguments.length?e=>lM(n6(arguments[0],e)):lM(n6(arguments[0],arguments[1]))},lM=e=>lb(eP(oN(e))),lU=function(){return 1==arguments.length?e=>lF(arguments[0],e):lF(arguments[0],arguments[1])},lF=(e,t)=>lT(o0(t,t=>n6(e,t))),lT=e=>{var t;let r;return t=(t,r)=>aP(e,r),r=lS((e,n)=>e.getOrElseMemoize(r,n,t))},lL=(e,t,r)=>{let n=lB(r,"parallel");return a4(e,e=>e.build(t,lB(n,"sequential")),{concurrency:e.length}).pipe(o0(e=>((...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return n4(t)})(...e)))},lO=(...e)=>lS((t,r)=>lL(e,t,r)),lH=(e,t,r)=>lS((n,i)=>oK(Array.isArray(t)?lL(t,n,i):t.build(n,i),t=>e.build(n,i).pipe(as(t),o0(e=>r(e,t))))),lP=eO(2,(e,t)=>lH(e,t,eH)),lY=eO(2,(e,t)=>lH(e,t,(e,t)=>iA(t,e))),lG=e=>"Failure"===e._tag,lz=eO(2,(e,t)=>ad(e,l_,e=>t(e))),lq=e=>"Fail"===e._tag&&e4(e.error,rI),lV=sw(s8,e=>e4(e,rI)?rj(e):rW(e)),l_=sw(s8,e=>e4(e,rI)?rj(e.value):rW(e)),lJ=eO(2,(e,t)=>aB(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=lV(e);return r_(r)?t.onFailure(r.failure):t.onDone(r.success.value)}})),lW="~effect/Schedule",lj=n0("effect/Schedule/CurrentMetadata",{defaultValue:eP({input:void 0,output:void 0,duration:sg,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),lK={[lW]:{_Out:eH,_In:eH,_Env:eH},pipe(){return eF(this,arguments)}},lX=e=>{let t=Object.create(lK);return t.step=e,t},lZ=()=>{let e,t,r=0;return(n,i)=>{void 0===t&&(t=n);let s=n-t,o=void 0===e?0:n-e;return e=n,{input:i,attempt:++r,start:t,now:n,elapsed:s,elapsedSincePrevious:o}}},l$=e=>lX(o0(e,e=>{let t=lZ();return(r,n)=>e(t(r,n))})),l0=e=>al(e.step,e=>oN(()=>ob(e))),l1=e=>Ay(t=>o0(l0(e),e=>{let r=lZ();return n=>ow(()=>{let i=t.currentTimeMillisUnsafe();return oK(e(i,n),([e,t])=>{let s=r(i,n);return s.output=e,s.duration=t,oV(AB(t),s)})})})),l2=(e,t=2)=>{let r=sB(si(e));return l$(oN(e=>{let n=sp(r*Math.pow(t,e.attempt-1));return oN([n,n])}))},l3=e=>lX(o0(l0(e),e=>(t,r)=>lJ(e(t,r),{onSuccess:e=>oN([r,e[1]]),onFailure:ob,onDone:()=>AY(r)}))),l4=e=>{let t=si(e);return l$(oN(e=>oN([e.attempt-1,t])))},l5=eO(2,(e,t)=>lX(o0(l0(e),e=>{let r=lZ();return(n,i)=>oK(e(n,i),e=>{let[s,o]=e,a=t({...r(n,i),output:s,duration:o});return oK(tZ(a)?a:oN(a),t=>t?oN(e):AY(s))})}))),l8=l4(sg),l9=eO(e=>tZ(e[0]),(e,t,r)=>{var n;let i;return n8(t)?as(e,t):(n=Array.isArray(t)?lO(...t):t,i=t=>oK(r?.local?lR(n,lD(),t):lk(n,t),t=>as(e,t)),ow(()=>{let e=aO();return aG(i(e),t=>ow(()=>aM(e,t)??oM))}))}),l6=((e,t,r)=>oK(l1(t),t=>{let n=lj.defaultValue();return ag(aA(oJ(oK(ow(()=>ao(e,lj,n)),t),e=>oS(()=>{n=e})),{disableYield:!0}),e=>e4(e,rI)?oN(e.value):r(e,0===n.attempt?r3():r4(n)))}),eO(3,(e,t,r)=>oK(l1(t),t=>{let n,i=lj.defaultValue(),s=ag(ow(()=>ao(e,lj,i)),e=>(n=e,oK(t(e),e=>(i=e,s))));return lz(s,e=>tP(()=>r(n,e)))}))),l7=eO(2,(e,t)=>l6(e,"function"==typeof t?t(eH):e4(t,lW)?t:ct(t),ru)),ce=l3(l8),ct=e=>{let t=e.schedule?l3(e.schedule):ce;return e.while&&(t=l5(t,({input:t})=>{let r=e.while(t);return tZ(r)?r:oN(r)})),e.until&&(t=l5(t,({input:t})=>{let r=e.until(t);return tZ(r)?o0(r,e=>!e):oN(!r)})),void 0!==e.times&&(t=l5(t,({attempt:t})=>oN(t<=e.times))),t},cr=l5(l8,({attempt:e})=>oN(e<=1)),cn=(W={_E:e=>e,_A:e=>e,_R:e=>e},eW.add(W),W);({...{[e9](){return ts(this,Object.keys(this))},[th](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let n=0;n<t.length;n++)if(t[n]!==r[n]||!tm(this[t[n]],e[t[n]]))return!1;return!0}},"~effect/Request":cn});let ci=e=>oF(function(t,r){tP(()=>e(r)).then(e=>t(oN(e)),e=>t(ok(e)))},0!==e.length),cs=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new Ax(e,"An error occurred in Effect.tryPromise"):e.catch;return oF(function(e,n){let i=t=>{try{e(ru(tP(()=>r(t))))}catch(t){e(ok(t))}};try{tP(()=>t(n)).then(t=>e(oN(t)),i)}catch(e){i(e)}},0!==t.length)},co=(...e)=>ow(()=>oq(1===e.length?e[0]():e[1].call(e[0].self))),ca=e=>ow(()=>ob(tP(e))),cA=e=>ag(e,ok),cl=(e,t,r)=>ai(n=>a1(i=>oK(ak,s=>oJ(r?.interruptible?i(e):e,e=>aF(s,r=>as(t(e,r),n)))))),cc=(e,t,r)=>a1(n=>oK(e,e=>aY(n(t(e)),t=>r(e,t),!0))),cd=e=>aj(e,su),cg=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=s1(arguments[2]);if(e){let e=arguments[0];return Au(t,arguments[2],t=>Am(e,t,r))}let n="function"==typeof arguments[1]?arguments[1]:void 0,i=n?void 0:arguments[1];return(e,...s)=>Au(t,n?n(...s):i,t=>Am(e,t,r))},cu=function(){let e="string"==typeof arguments[0],t=e?arguments[0]:"Effect.fn",r=e?arguments[1]:void 0,n=Error.stackTraceLimit;rD(2);let i=new globalThis.Error;return(rD(n),e)?(n,...s)=>oG(t,n,i,s,e,r):oG(t,arguments[0],i,Array.prototype.slice.call(arguments,1),e,r)},ch=AO(),cm=AO("Warn"),cp=AO("Error"),cC=AO("Debug"),cf=(e,t,r)=>(...n)=>oL(i=>{try{e(...n,(e,r)=>{e?i(ru(t?t(e,n):e)):i(oN(r))})}catch(e){i(r?ru(r(e,n)):ok(e))}}),cI=(e,...t)=>oP(e.length,0===t.length?function(){return oz(()=>e.apply(this,arguments))}:function(){let r=oz(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),cE="~effect/encoding/EncodingError";class cy extends iu("EncodingError"){[cE]=cE}let cB=e=>"string"==typeof e?cw(cN.encode(e)):cw(e),cQ=e=>{let t=cS(e),r=t.length;if(r%4!=0)return rW(new cy({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let n=t.indexOf("=");if(-1!==n&&(n<r-2||n===r-2&&"="!==t[r-1]))return rW(new cy({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),n=new Uint8Array(r/4*3-e);for(let e=0,i=0;e<r;e+=4,i+=3){let r=cD(t.charCodeAt(e))<<18|cD(t.charCodeAt(e+1))<<12|cD(t.charCodeAt(e+2))<<6|cD(t.charCodeAt(e+3));n[i]=r>>16,n[i+1]=r>>8&255,n[i+2]=255&r}return rj(n)}catch(e){return rW(new cy({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},cN=new TextEncoder,cb=new TextDecoder,cS=e=>e.replace(/[\n\r]/g,""),cw=e=>{let t,r=e.length,n="";for(t=2;t<r;t+=3)n+=cx[e[t-2]>>2],n+=cx[(3&e[t-2])<<4|e[t-1]>>4],n+=cx[(15&e[t-1])<<2|e[t]>>6],n+=cx[63&e[t]];return t===r+1&&(n+=cx[e[t-2]>>2],n+=cx[(3&e[t-2])<<4],n+="=="),t===r&&(n+=cx[e[t-2]>>2],n+=cx[(3&e[t-2])<<4|e[t-1]>>4],n+=cx[(15&e[t-1])<<2],n+="="),n};function cD(e){if(e>=cR.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=cR[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let cx=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],cR=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],ck=e=>cw(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),cv=e=>{let t="";for(let r=0;r<e.length;++r)t+=cU[e[r]];return t},cM=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},cU=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function cF(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}let cT=e_(e=>{let t=(e.checks?e.checks[e.checks.length-1].annotations:e.annotations)?.identifier;return"string"==typeof t?t:e.getExpected(cT)}),cL=new WeakMap,cO=e=>{if(cL.has(e))return cL.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))},cH="~effect/data/Redacted",cP=(e,t)=>{let r=Object.create(cY);return t?.label&&(r.label=t.label),cL.set(r,e),r},cY={[cH]:{_A:e=>e},label:void 0,...tK,toJSON(){return this.toString()},toString(){return`<redacted${ej(this.label)?":"+this.label:""}>`},[e9](){return e6(cL.get(this))},[th](e){return e4(e,cH)&&tm(cL.get(this),cL.get(e))}},cG="~effect/SchemaIssue/Issue";class cz{[cG]=cG;toString(){return c5(this)}}class cq extends cz{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class cV extends cz{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class c_ extends cz{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class cJ extends cz{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class cW extends cz{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class cj extends cz{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class cK extends cz{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class cX extends cz{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class cZ extends cz{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class c$ extends cz{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class c0 extends cz{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function c1(e,t){if(e4(t,cG))return t;if("string"==typeof t)return new cX(r4(e),{message:t});let r="string"==typeof t.issue?new cX(r4(e),{message:t.issue}):t.issue;return new c_(t.path,r)}let c2=e=>{let t=c9(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return c4(cT(e.ast),c7(e.actual));case"InvalidValue":return`Invalid data ${c7(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${tx(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${tx(e.actual)}`}},c3=e=>c9(e.issue)??c9(e);function c4(e,t){return`Expected ${e}, got ${t}`}let c5=e=>(function e(t,r,n,i){switch(t._tag){case"Filter":{let s=i(t);if(void 0!==s)return[{path:r,message:s}];if("InvalidValue"===t.issue._tag)return[{path:r,message:c4(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),tx(t.actual))}];return e(t.issue,r,n,i)}case"Encoding":return e(t.issue,r,n,i);case"Pointer":return e(t.issue,[...r,...t.path],n,i);case"Composite":return t.issues.flatMap(t=>e(t,r,n,i));case"AnyOf":{let s=c9(t);if(0===t.issues.length){if(void 0!==s)return[{path:r,message:s}];return[{path:r,message:c4(cT(t.ast),tx(t.actual))}]}return t.issues.flatMap(t=>e(t,r,n,i))}default:return[{path:r,message:n(t)}]}})(e,[],c2,c3).map(c8).join("\n");function c8(e){let t=e.message;if(e.path&&e.path.length>0){let r=e.path.map(e=>`[${tk(e)}]`).join("");t+=` - at ${r}`}return t}function c9(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return c6(e.ast.annotations);case"InvalidValue":case"Forbidden":return c6(e.annotations);case"MissingKey":return c6(e.annotations,"messageMissingKey");case"UnexpectedKey":return c6(e.ast.annotations,"messageUnexpectedKey");case"Filter":return c6(e.filter.annotations);case"Encoding":return c9(e.issue)}}function c6(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function c7(e){return r8(e)?"no value provided":tx(e.value)}function de(e){let t;for(let r of e.reasons){if(!rr(r)||!e4(r.error,cG))return;t??=r.error}return t}function dt(e,t){let r=de(e);if(void 0===r)throw Error(t,{cause:e});return r}class dr extends eL{run;constructor(e){super(),this.run=e}map(e){return new dr((t,r)=>this.run(t,r).pipe(o1(nC(e))))}compose(e){return di(this)?e:di(e)?this:new dr((t,r)=>this.run(t,r).pipe(o$(t=>e.run(t,r))))}}let dn=new dr(oN);function di(e){return e.run===dn.run}function ds(e){var t;return t=nC(e),new dr(e=>oN(t(e)))}function da(e){var t;return t=(t,r)=>e(t,r).pipe(o1(r4)),new dr((e,r)=>r8(e)?oR:t(e.value,r))}function dA(){return ds(globalThis.String)}function dl(){return ds(globalThis.Number)}class dc{_tag="Middleware";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new dc(this.encode,this.decode)}}let dd="~effect/SchemaTransformation/Transformation";class dg{[dd]=dd;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new dg(this.encode,this.decode)}compose(e){return new dg(this.decode.compose(e.decode),e.encode.compose(this.encode))}}let du=e=>e4(e,dd)?e:new dg(e.decode,e.encode);function dh(e){return new dg(da(e.decode),da(e.encode))}let dm=new dg(dn,dn),dp=new dg(dl(),dA()),dC=new dg(ds(globalThis.BigInt),dA());ds(e=>new globalThis.Date(e));let df=e=>{let t;return"object"!=typeof e||null===e||Array.isArray(e)||"string"!=typeof e.message?e:(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:df(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t)};function dI(e){return t=>t._tag===e}da(e=>o2(oD(cQ(e)),t=>new cX(r4(e),{message:t.message}))),ds(cB),da(e=>iW(iJ(cQ(e),e=>cb.decode(e)),{onFailure:t=>ru(new cX(r4(e),{message:t.message})),onSuccess:oN})),ds(cB),da(e=>iW(iJ((e=>{let t=cS(e),r=t.length;if(r%4==1)return rW(new cy({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return rW(new cy({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let n=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return cQ(n=n.replace(/-/g,"+").replace(/_/g,"/"))})(e),e=>cb.decode(e)),{onFailure:t=>ru(new cX(r4(e),{message:t.message})),onSuccess:oN})),ds(e=>"string"==typeof e?ck(cN.encode(e)):ck(e)),da(e=>iW(iJ((e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return rW(new cy({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let n=0;n<e;n++){let e=cM(t[2*n]),i=cM(t[2*n+1]);r[n]=e<<4|i}return rj(r)}catch(t){return rW(new cy({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}})(e),e=>cb.decode(e)),{onFailure:t=>ru(new cX(r4(e),{message:t.message})),onSuccess:oN})),ds(e=>"string"==typeof e?cv(cN.encode(e)):cv(e)),da(e=>{try{return oN(globalThis.decodeURIComponent(e))}catch(t){return ru(new cX(r4(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}}),ds(encodeURIComponent);let dE=dI("Declaration"),dy=dI("Never"),dB=dI("Literal"),dQ=dI("UniqueSymbol"),dN=dI("Arrays"),db=dI("Objects"),dS=dI("Union");class dw{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let dD={};class dx{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,n){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=n}}let dR="~effect/Schema";class dk{[dR]=dR;annotations;checks;encoding;context;constructor(e,t,r,n){this.annotations=e,this.checks=t,this.encoding=r,this.context=n}toString(){return`<${this._tag}>`}}class dv extends dk{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,n,i,s,o){super(r,n,i,s),this.typeParameters=e,this.run=t,this.encodingChecks=o}getParser(){let e=this.run(this.typeParameters);return(t,r)=>r8(t)?oR:o1(e(t.value,this,r),r4)}_rebuild(e,t,r){let n=gC(this.typeParameters,e);return n===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new dv(n,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let dM=new class extends dk{_tag="Null";getParser(){return gb(this,null)}getExpected(){return"null"}},dU=new dw(dM,new dg(ds(()=>void 0),ds(()=>null))),dF=new class extends dk{_tag="Undefined";getParser(){return gb(this,void 0)}toCodecJson(){return gl(this,[dU])}getExpected(){return"undefined"}},dT=new class extends dk{_tag="Unknown";getParser(){return gS(this,e3)}getExpected(){return"unknown"}};class dL extends dk{_tag="Literal";literal;constructor(e,t,r,n,i){if(super(t,r,n,i),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${tx(e)}`);this.literal=e}getParser(){return gb(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?dO(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:dO(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function dO(e){let t=globalThis.String(e.literal);return gl(e,[new dw(new dL(t),new dg(ds(()=>e.literal),ds(()=>t)))])}let dH=new class extends dk{_tag="String";getParser(){return gS(this,ej)}matchPart(e,t){return gw(this,e,t)}getExpected(){return"string"}};function dP(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return dP(e.checks,t)}})}let dY=new class extends dk{_tag="Number";getParser(){return gS(this,eK)}matchKey(e,t){return this._match(gv,e,t)}matchPart(e,t){return this._match(gk,e,t)}_match(e,t,r){return e.test(t)?gw(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(dP(this.checks,"isFinite")||dP(this.checks,"isInt"))?this:gl(this,[gt])}toCodecStringTree(){return this.checks&&(dP(this.checks,"isFinite")||dP(this.checks,"isInt"))?gl(this,[gU]):gl(this,[gF])}getExpected(){return"number"}},dG=new class extends dk{_tag="Boolean";getParser(){return gS(this,eX)}getExpected(){return"boolean"}},dz=new class extends dk{_tag="Symbol";getParser(){return gS(this,e$)}matchKey(e,t){return gw(this,e,t)}toCodecStringTree(){return gl(this,[gH])}getExpected(){return"symbol"}},dq=new class extends dk{_tag="BigInt";getParser(){return gS(this,eZ)}matchPart(e,t){return gT.test(e)?gw(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return gl(this,[gL])}getExpected(){return"bigint"}};class dV extends dk{_tag="Arrays";isMutable;elements;rest;encodingChecks;constructor(e,t,r,n,i,s,o,a){super(n,i,s,o),this.isMutable=e,this.elements=t,this.rest=r,this.encodingChecks=a;let A=t.findIndex(gy);if(-1!==A&&(t.slice(A+1).some(e=>!gy(e))||r.length>1))throw Error("A required element cannot follow an optional element. ts(1257)");if(r.length>1&&r.slice(1).some(gy))throw Error("An optional element cannot follow a rest element. ts(1266)")}getParser(e){let t=this,r=t.elements.map(t=>({ast:t,parser:e(t)})),n=t.rest.map(t=>({ast:t,parser:e(t)})),i=r.length,[s,...o]=n,a=o.length;function A(e,t){return t<i?r[t]:t>=e?o[t-e]:s}return cI(function*(e,r){if("None"===e._tag)return e;let n=e.value;if(!Array.isArray(n))return yield*ru(new cK(t,e));let s=n.length,o={ast:t,getParser:A,oinput:e,len:s,tailThreshold:Math.max(i,s-a),output:new globalThis.Array(s),issues:void 0,options:r},l=dJ(r?.concurrency),c=d_(o,n,{concurrency:l?.concurrency,end:0===t.rest.length?i:Math.max(s,i+a)});if(c&&(yield*c),0===t.rest.length&&s>i)for(let a=i;a<=s-1;a++){let i=new c_([a],new cW(t,n[a]));if("all"!==r.errors)return yield*ru(new cj(t,e,[i]));o.issues?o.issues.push(i):o.issues=[i]}return o.issues?yield*ru(new cj(t,e,o.issues)):r4(o.output)})}_rebuild(e,t,r){let n=gC(this.elements,e),i=gC(this.rest,e);return n===this.elements&&i===this.rest&&t===this.checks&&r===this.encodingChecks?this:new dV(this.isMutable,n,i,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){return"array"}}let d_=a8({onItem(e,t,r){let n=r<e.len?r4(t):r3();return e.getParser(e.tailThreshold,r).parser(n,e.options)},step(e,t,r,n){if("Failure"===r._tag)return dW(e,e.ast,n,r);if("Some"===r.value._tag)e.output[n]=r.value.value;else{let t=e.getParser(e.tailThreshold,n);if(gy(t.ast))return;let r=new c_([n],new cJ(t.ast.context?.annotations));if("all"!==e.options.errors)return ru(new cj(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),dJ=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,dW=(e,t,r,n)=>{if(0===n.cause.reasons.length)return n;let i=de(n.cause);if(void 0===i)return rg(ot(n.cause,n=>new cj(t,e.oinput,[new c_([r],n)])));let s=new c_([r],i);if("all"!==e.options.errors)return ru(new cj(t,e.oinput,[s]));e.issues?e.issues.push(s):e.issues=[s]},dj="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class dK{name;type;constructor(e,t){this.name=e,this.type=t}}function dX(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(dX);default:return!1}}class dZ{parameter;type;merge;constructor(e,t,r){if(!(dX(e)&&dX(gQ(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,gy(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class d$ extends dk{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,n,i,s,o){super(r,n,i,s),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=o;let a=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(a.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(a)}. ts(2300)`)}getParser(e){let t=this,r=[],n=new Set,i=[];for(let s of t.propertySignatures)r.push(s.name),n.add(s.name),i.push({ps:s,parser:e(s.type),name:s.name,type:s.type});let s=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return gS(t,e2);let o=s>0?a8({onItem:cI(function*(r,[i,s]){let o=e(gD(s.parameter))(r4(i),r.options),a=oZ(o)?o:yield*aw(o);if("Failure"===a._tag){let e=dW(r,t,i,a);e&&(yield*e);return}let A=r4(r.input[i]),l=e(s.type)(A,r.options),c=oZ(l)?l:yield*aw(l);if("Failure"===c._tag){let e=dW(r,t,i,c);e&&(yield*e);return}if("Some"===a.value._tag&&"Some"===c.value._tag){let e=a.value.value;if(n.has(i)||n.has(e))return;let t=c.value.value;if(s.merge&&s.merge.decode&&Object.hasOwn(r.out,e)){let[n,i]=s.merge.decode.combine([e,r.out[e]],[e,t]);cF(r.out,n,i)}else cF(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return cI(function*(e,a){let A;if("None"===e._tag)return e;let l=e.value;if(!("object"==typeof l&&null!==l&&!Array.isArray(l)))return yield*ru(new cK(t,e));let c={},d={ast:t,oinput:e,input:l,out:c,issues:void 0,options:a},g="all"===a.errors,u="error"===a.onExcessProperty,h="preserve"===a.onExcessProperty;if(0===t.indexSignatures.length&&(u||h)){A=Reflect.ownKeys(l);for(let r=0;r<A.length;r++){let i=A[r];if(!n.has(i))if(u){let r=new c_([i],new cW(t,l[i]));if(!g)return yield*ru(new cj(t,e,[r]));d.issues?d.issues.push(r):d.issues=[r];continue}else cF(c,i,l[i])}}let m=dJ(a?.concurrency),p=d0(d,i,m);if(p&&(yield*p),o){let e=i2();for(let r=0;r<s;r++){let n=t.indexSignatures[r],i=function(e,t,r=dD){let n,i;return function t(s){switch(s._tag){case"String":case"TemplateLiteral":return(n??=Object.keys(e)).filter(e=>void 0!==s.matchPart(e,r));case"Number":return(n??=Object.keys(e)).filter(e=>void 0!==s.matchKey(e,r));case"Symbol":return(i??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==s.matchKey(e,r));case"Union":return[...new Set(s.types.flatMap(t))];default:return[]}}(gD(gQ(t)))}(l,n.parameter,a);for(let t=0;t<i.length;t++){let r=i[t];e.push([r,n])}}let r=o(d,e,m);r&&(yield*r)}if(d.issues)return yield*ru(new cj(t,e,d.issues));if("original"===a.propertyOrder){let e=(A??Reflect.ownKeys(l)).concat(r),t={};for(let r of e)Object.hasOwn(c,r)&&cF(t,r,c[r]);return r4(t)}return r4(c)})}_rebuild(e,t,r,n,i){let s=gC(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new dK(t.name,r)}),o=gC(this.indexSignatures,n=>{let i=t(n.parameter),s=e(n.type),o=r?n.merge?.flip():n.merge;return i===n.parameter&&s===n.type&&o===n.merge?n:new dZ(i,s,o)});return s===this.propertySignatures&&o===this.indexSignatures&&n===this.checks&&i===this.encodingChecks?this:new d$(s,o,this.annotations,n,void 0,this.context,i)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let d0=a8({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?r4(e.input[t.name]):r3();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return dW(e,e.ast,t.name,r);if("Some"===r.value._tag)cF(e.out,t.name,r.value.value);else if(!gy(t.type)){let r=new c_([t.name],new cJ(t.type.context?.annotations));return"all"!==e.options.errors?ru(new cj(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function d1(e,t){return e?t?[...e,...t]:e:t}function d2(e,t,r){return new d$(Reflect.ownKeys(e).map(t=>new dK(t,e[t].ast)),[],r,t)}function d3(e){return e.ast}function d4(e,t,r){return new d6(e.map(d3),t,void 0,r)}function d5(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!gy(t)){if(dB(t))return[{key:e.name,literal:t.literal}];if(dQ(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>dB(e)&&!gy(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return d5(e.thunk())}}let d8=new WeakMap;function d9(e){return t=>{let r=gQ(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class d6 extends dk{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,n,i,s,o){super(r,n,i,s),this.types=e,this.mode=t,this.encodingChecks=o}getParser(e){let t=this;return(r,n)=>{if("None"===r._tag)return oN(r);let i=r.value,s=function(e,t){let r=function(e){let t=d8.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let n=gQ(e[r]);if(dy(n))continue;let i=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(n),s=d5(n);for(let e of(t.byType??={},i))(t.byType[e]??=[]).push(r);if(s.length>0)for(let{key:e,literal:n}of(t.bySentinel??=new Map,s)){let i=t.bySentinel.get(e);i||t.bySentinel.set(e,i=new Map);let s=i.get(n);s||i.set(n,s=[]),s.push(r)}else for(let e of(t.otherwise??={},i))(t.otherwise[e]??=[]).push(r)}return d8.set(e,t),t}(t),n=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let i=r.otherwise?.[n]??[];if("object"===n||"array"===n){let n=new Set(i);for(let[t,i]of r.bySentinel)if(Object.hasOwn(e,t)){let r=i.get(e[t]);if(r)for(let e of r)n.add(e)}return Array.from(n).sort((e,t)=>e-t).map(e=>t[e]).filter(d9(e))}return i.map(e=>t[e])}return(r.byType?.[n]??[]).map(e=>t[e]).filter(d9(e))}(i,t.types),o={ast:t,recur:e,oinput:r,input:i,out:void 0,successes:[],issues:void 0,options:n},a=dJ(n?.concurrency),A=d7(o,s,a?{...a,orderedStep:!0}:void 0);return A?oK(A,e=>o.out?oN(o.out):ru(new c$(t,i,o.issues??[]))):o.out?oN(o.out):ru(new c$(t,i,o.issues??[]))}}_rebuild(e,t,r){let n=gC(this.types,e);return n===this.types&&t===this.checks&&r===this.encodingChecks?this:new d6(n,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let n=r.matchPart(e,t);if(void 0!==n)return n}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=gQ(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(dB);if(t.length>0)return`${gr(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>dB(e.type));if(t.length>0)return`{ ${t.map(t=>`${gr(t.type.context?.isMutable)}${tk(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let d7=a8({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=de(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),ru(new c0(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return o8}}}),ge=new d6([new dL("Infinity"),new dL("-Infinity"),new dL("NaN")],"anyOf"),gt=new dw(new d6([dY,ge],"anyOf"),new dg(dl(),ds(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function gr(e){return e?"":"readonly "}class gn extends dk{_tag="Suspend";thunk;constructor(e,t,r,n,i){let s,o;if(void 0!==r)throw Error("Cannot add checks to Suspend");super(t,void 0,n,i),this.thunk=(o=!1,()=>(o||(s=e(),o=!0),s))}getParser(e){return e(this.thunk())}recur(e){return new gn(()=>e(this.thunk()),this.annotations,void 0,void 0,this.context)}getExpected(e){return e(this.thunk())}}class gi extends eL{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new gi(this.run,{...this.annotations,...e},this.aborted)}abort(){return new gi(this.run,this.annotations,!0)}and(e,t){return new gs([this,e],t)}}class gs extends eL{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new gs(this.checks,{...this.annotations,...e})}and(e,t){return new gs([this,e],t)}}function go(e,t,r=!1){return new gi((t,r,n)=>(function(e,t,r){if(Array.isArray(r))return r.length>0?1===r.length?c1(e,r[0]):new cj(t,r4(e),i4(r,t=>c1(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new cX(r4(e)):c1(e,r)})(t,r,e(t,r,n)),t,r)}function ga(e,t){let r=e.source;return go(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function gA(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function gl(e,t){return e.encoding===t?e:gA(e,e=>{e.encoding.value=t})}function gc(e,t){return e.context===t?e:gA(e,e=>{e.context.value=t})}function gd(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return gg(e,iX(e.checks.slice(0,-1),r.annotate(t)))}return gA(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function gg(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:gA(e,e=>{e.checks.value=t})}function gu(e,t){return gg(e,d1(e.checks,t))}function gh(e,t){let r=e[e.length-1],n=t(r.to);return n!==r.to?iX(e.slice(0,e.length-1),new dw(n,r.transformation)):e}function gm(e){return e_(function t(r){return r.encoding?gl(r,gh(r.encoding,t)):e(r)})}function gp(e,t,r){let n=new dw(e,t);return gl(r,r.encoding?[...r.encoding,n]:[n])}function gC(e,t){let r=!1,n=Array(e.length);for(let i=0;i<e.length;i++){let s=e[i],o=t(s);o!==s&&(r=!0),n[i]=o}return r?n:e}function gf(e,t){let r=e.context?new dx(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new dx(!1,!1,void 0,t);return gc(e,r)}let gI=e=>e.encoding?gl(e,gh(e.encoding,gE)):e;function gE(e){let t=e.context?!1===e.context.isOptional?new dx(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new dx(!0,!1);return gI(gc(e,t))}function gy(e){return e.context?.isOptional??!1}let gB=e_(e=>{if(e.encoding)return gB(gl(e,void 0));let t=e.recur?.(gB)??e,r=t.encodingChecks;return r?gA(t,n=>{n.encodingChecks.value=void 0,t===e&&(n.checks.value=d1(t.checks,r))}):t}),gQ=e_(e=>gB(gN(e))),gN=e_(e=>e.encoding?function(e,t){let r=t.length,n=t[r-1],i=[new dw(gN(gl(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)i.unshift(new dw(gN(t[e-1].to),t[e].transformation.flip()));let s=gN(n.to);return s.encoding?gl(s,[...s.encoding,...i]):gl(s,i)}(e,e.encoding):e.flip?.(gN)??e.recur?.(gN)??e);function gb(e,t){let r=oN(r4(t));return n=>"None"===n._tag?oR:n.value===t?r:ru(new cK(e,n))}function gS(e,t){return r=>"None"===r._tag?oR:t(r.value)?oN(r):ru(new cK(e,r))}function gw(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let n=[];return gP(e.checks,t,n,e,r),0===n.length?t:void 0}let gD=gm(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(gD)}}),gx=gm(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(gx)}}),gR=gm(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(gR)}}),gk=new globalThis.RegExp(`^${dj}$`),gv=new globalThis.RegExp(`(?:${dj}|Infinity|-Infinity|NaN)`),gM=gu(dH,[ga(gk,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:gk},...void 0})]),gU=new dw(gM,dp),gF=new dw(new d6([gM,ge],"anyOf"),dp),gT=new globalThis.RegExp("^-?\\d+$"),gL=new dw(gu(dH,[ga(gT,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:gT},expected:"a string representing a bigint"})]),dC),gO=new globalThis.RegExp("^Symbol\\((.*)\\)$"),gH=new dw(gu(dH,[ga(gO,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:gO},...void 0})]),new dg(ds(e=>globalThis.Symbol.for(gO.exec(e)[1])),da(e=>void 0!==globalThis.Symbol.keyFor(e)?oN(globalThis.String(e)):ru(new cZ(r4(e),{message:"cannot serialize to string, Symbol is not registered"})))));function gP(e,t,r,n,i){for(let s=0;s<e.length;s++){let o=e[s];if("FilterGroup"===o._tag)gP(o.checks,t,r,n,i);else{let e=o.run(t,n,i);if(e&&(r.push(new cq(t,o,e)),o.aborted||i?.errors!=="all"))return}}}let gY="~effect/Schema/Class",gG="~structural",gz=new dv([],()=>(e,t)=>{let r,n;return(r=new Set,n=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(n.has(t))return!0;let i=Array.isArray(t);if(!i){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let s=i?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),s&&n.add(t),s}(e))?oN(e):ru(new cK(t,r4(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new dw(dT,dm),toArbitrary:()=>e=>e.jsonValue()}),gq=new dw(dM,new dg(dn,ds(()=>null))),gV=new dw(gz,dm),g_=new dw(new dv([],()=>(e,t)=>{let r;return(r=new Set,function e(t){return void 0===t||"string"==typeof t||!("object"!=typeof t||null===t||r.has(t))&&((r.add(t),Array.isArray(t))?t.every(e):Object.keys(t).every(r=>e(t[r])))}(e))?oN(e):ru(new cK(t,r4(e)))},{expected:"StringTree"}),dm),gJ="~effect/SchemaError/SchemaError";class gW extends iu("SchemaError"){[gJ]=gJ;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let gj=e_(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[gY];if(e0(t)){let r=t(e.typeParameters),n=gj(r.to);return gl(e,n===r.to?[r]:[new dw(n,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=gj(e);return gl(r,r.encoding?[...r.encoding,...t]:t)}return gj(e)});case"Suspend":return e.recur(gj);default:return e}});function gK(e){let t=g0(gj(gB(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function gX(e){let t=gK(e);return(e,r)=>{let n=Ai(t(e,r));return o4(n)?r4(n.value):(dt(n.cause,"Option adapter can only return none for schema issues"),r3())}}function gZ(e,t){let r=g0(e.ast);return void 0===t?r:(e,n)=>r(e,g$(t,n))}let g$=(e,t)=>void 0===t?e:{...e,...t};function g0(e){let t=g2(e);return(e,r)=>o$(t(r4(e),r??dD),e=>"None"===e._tag?ru(new cX(e)):oN(e.value))}function g1(e,t){return al(e,e=>ca(()=>ot(e,t)))}let g2=e_(e=>{let t,r=e.checks,n=e.encoding,i=n?.length??0,s=e.encodingChecks,o=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!n&&!r&&!s)return(r,n)=>(t??=e.getParser(g2),o&&(n={...n,...o}),t(r,n));let a=dN(e)||db(e)||dE(e)&&e.typeParameters.length>0,A=r&&a?r.filter(e=>e.annotations?.[gG]):void 0;return(a,l)=>{let c;if(o&&(l={...l,...o}),n){for(let e=i-1;e>=0;e--){let t=n[e],r=g2(t.to);if(c=c?o$(c,e=>r(e,l)):r(a,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;c=o$(c,t=>e.run(t,l))}else c=t.transformation.decode(c,l)}c=g1(c,t=>new cV(e,a,t))}t??=e.getParser(g2);let d=n=>{let i=t(n,l);return s&&!l?.disableChecks&&(i=o$(i,t=>{if(r9(n)&&r9(t)){let t=[];if(gP(s,n.value,t,e,l),t.length>0)return ru(new cj(e,n,t))}return oN(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&r9(n)&&(i=g1(i,t=>{let r=[];return gP(A,n.value,r,e,l),r.length>0?"Composite"===t._tag&&t.ast===e?new cj(e,t.actual,[...t.issues,...r]):new cj(e,n,[t,...r]):t})),i=o$(i,t=>{if(r9(t)){let n=t.value,i=[];if(gP(r,n,i,e,l),i.length>0)return ru(new cj(e,t,i))}return oN(t)})),i};return c?o$(c,d):d(a)}}),g3="~effect/Schema/Schema",g4={[g3]:g3,pipe(){return eF(this,arguments)},annotate(e){return this.rebuild(gd(this.ast,e))},annotateKey(e){return this.rebuild(gf(this.ast,e))},check(...e){return this.rebuild(gu(this.ast,e))}};function g5(e,t){let r,n=Object.create(g4);t&&Object.assign(n,t),n.ast=e,n.rebuild=e=>g5(e,t);let i=gK(n);return n.makeEffect=(e,t)=>g8(i(e,t)),r=gK(n),n.make=(e,t)=>{let n=Ai(r(e,t));if(o4(n))return n.value;let i=dt(n.cause,"Constructor adapter can only throw schema issues");throw Error(i.toString(),{cause:i})},n.makeOption=gX(n),n}function g8(e){return al(e,e=>ca(()=>ot(e,e=>new gW(e))))}let g9=g6(function(e){switch(e._tag){case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}});function g6(e){return t=>{let r=new Map;for(let e=0;e<t.length;e++)r.set(gQ(t[e]),e);let n=[...t].sort((t,n)=>{t=gQ(t),n=gQ(n);let i=e(t),s=e(n);return i!==s?i-s:r.get(t)-r.get(n)});return n.some((e,r)=>e!==t[r])?n:t}}function g7(){return(e,t,r)=>un(new dv(e.map(d3),e=>t(e.map(e=>un(e))),r))}function ue(e,t){return g7()([],()=>(t,r)=>e(t)?oN(t):ru(new cK(r,r4(t))),t)}function ut(e,t){let r=gZ(e,t);return(e,t)=>g8(r(e,t))}let ur=function(e,t){let r,n=(r=g0(gN(e.ast)),void 0===t?r:(e,n)=>r(e,g$(t,n)));return(e,t)=>g8(n(e,t))},un=g5,ui=e=>un(gE(e.ast),{schema:e}),us=e=>ui(uI(e));function uo(e){let t=un(new dL(e),{literal:e,transform:r=>t.pipe(uy(uo(r),{decode:ds(()=>r),encode:ds(()=>e)}))});return t}let ua=un(dT),uA=un(dM),ul=un(dF),uc=un(dH),ud=un(dY),ug=un(dG);function uu(e,t){return un(e,{fields:t,mapFields(e,t){let r=e(this.fields);return uu(d2(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function uh(e){return uu(d2(e,void 0),e)}let um=e=>un(new dV(!1,[],[e.ast]),{value:e});function up(e,t){return function e(t,r){return un(t,{members:r,mapMembers(t,r){let n=t(this.members);return e(d4(n,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),n)}})}(d4(e,t?.mode??"anyOf",void 0),e)}function uC(e){let t=e.map(uo);return un(d4(t,"anyOf",void 0),{literals:e,members:t,mapMembers(e){return up(e(this.members))},pick:e=>uC(e),transform:e=>up(t.map((t,r)=>t.transform(e[r])))})}let uf=e=>up([e,uA]),uI=e=>up([e,ul]);function uE(e){return un(new gn(()=>e().ast))}function uy(e,t){return r=>{var n,i;return un((n=r.ast,i=e.ast,gp(n,t?du(t):dm,i)),{from:r,to:e})}}function uB(e){var t;return uo(e).pipe((t=oN(e),e=>{var r,n;let i,s;return un((r=e.ast,i=[new dw(dT,new dg((n=al(t,e=>ca(()=>ot(e,e=>e.issue))),new dr(e=>{let t=nL(e,e1);return r9(t)?oN(t):o1(n,r4)})),dn))],s=r.context?new dx(r.context.isOptional,r.context.isMutable,i,r.context.annotations):new dx(!1,!1,i),gc(r,s)),{schema:e})}))}go(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0});go(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0}),go(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...void 0});let uQ=globalThis.Symbol.for("immer-draftable"),uN={};function ub(e,t,r,n,i){var s,o,a;let A,l=(s=r,o=t,a=n,e=>{if(void 0!==A)return A;let t=new dg(ds(t=>new e(t)),dn);return A=uy(un(new dv([s.ast],()=>(t,r)=>t instanceof e||e4(t,uS(o))?oN(t):ru(new cK(r,r4(t))),{identifier:o,[gY]:([e])=>new dw(e,t),toCodec:([e])=>new dw(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":d5(s.ast),...a})),t)(s)}),c=uS(t),d=class extends e{constructor(...[e,t]){let n=t?.["~payload"],i=n?.token===uN?n.value:r.make(e??{},t);super(i,{...t,disableChecks:!0,"~payload":{token:uN,value:i}})}static [g3]=g3;get[c](){return c}static [uQ]=!0;static identifier=t;static fields=r.fields;static get ast(){return l(this).ast}static pipe(){return eF(this,arguments)}static rebuild(e){return l(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return gX(l(this))(e??{},t)}static makeEffect(e,t){return l(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(gd(this.ast,e))}static annotateKey(e){return this.rebuild(gf(this.ast,e))}static check(...e){return this.rebuild(gu(this.ast,e))}static extend(e){return(t,n)=>{let s=uw(t)?t:uh(t),o={...r.fields,...s.fields},a=d2(o,r.ast.checks,{identifier:e});return ub(this,e,uu(gu(a,s.ast.checks),o),n,i)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==i&&Object.assign(d.prototype,i(t)),d}function uS(e){return`~effect/Schema/Class/${e}`}function uw(e){return e4(e,g3)&&e[g3]===g3}let uD=e=>(t,r)=>ub(id,e,uw(t)?t:uh(t),r,e=>({toString(){return`${e}(${tx({...this})})`}})),ux=e=>(t,r,n)=>{let i,s=uw(r)?r.mapFields(e=>({_tag:uB(t),...e}),{unsafePreserveChecks:!0}):uh({_tag:uB(t),...r});return(i=e??t,(e,t)=>ub(rC,i,uw(e)?e:uh(e),t,e=>({name:e})))(s,n)},uR=gm(e=>{let t=function(e,t){switch(e._tag){case"Declaration":{let r=e.annotations?.toCodecJson??e.annotations?.toCodec;if(e0(r)){let n=r(dE(e)?e.typeParameters.map(e=>g5(gQ(e))):[]),i=t(n.to);return gl(e,i===n.to?[n]:[new dw(i,n.transformation)])}return gl(e,[gq])}case"Unknown":case"ObjectKeyword":return gl(e,[gV]);case"Undefined":case"Void":case"Literal":case"Number":return e.toCodecJson();case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,gx);case"Union":{let r=g9(e.types);if(r!==e.types)return new d6(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,uR);return t!==e&&gy(e)?gI(t):t}),uk=g6(function(e){switch(e._tag){case"Null":case"Boolean":case"Number":case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}}),uv=new dw(new dL("null"),new dg(ds(()=>null),ds(()=>"null"))),uM=new dw(new d6([new dL("true"),new dL("false")],"anyOf"),new dg(ds(e=>"true"===e),dA())),uU=gm(e=>{if(dS(e)&&e.annotations?.["~effect/Schema/SERIALIZER_ENSURE_ARRAY"]===!0)return e;let t=function(e,t,r){switch(e._tag){case"Declaration":{let n=e.annotations?.toCodecJson??e.annotations?.toCodec;if(e0(n)){let r=n(dE(e)?e.typeParameters.map(e=>un(t(gQ(e)))):[]),i=t(r.to);return gl(e,i===r.to?[r]:[new dw(i,r.transformation)])}return r(e)}case"Null":return gl(e,[uv]);case"Boolean":return gl(e,[uM]);case"Unknown":case"ObjectKeyword":return gl(e,[g_]);case"Enum":case"Number":case"Literal":case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,gx);case"Union":{let r=uk(e.types);if(r!==e.types)return new d6(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,uU,e=>gl(e,[uF]));return t!==e&&gy(e)?gI(t):t}),uF=new dw(dF,new dg(dn,ds(()=>void 0))),uT=un(gz),uL=uh({name:uc,full_name:us(uf(uc)),owner:uh({login:uc}),html_url:us(uf(uc))}),uO=uh({number:ud,html_url:us(uf(uc)),body:us(uf(uc))}),uH=uh({repository:us(uL),issue:us(uO),pull_request:us(uO),sender:us(uh({type:uc})),action:us(uc),comment:us(uh({id:ud})),installation:us(uh({id:ud})),number:us(ud),ref:us(uc),before:us(uc),after:us(uc)}).annotate({identifier:"WebhookPayload"});var uP=class extends n0()("github-action-effects/ActionEnvironment"){};let uY="~effect/platform/PlatformError";class uG extends iu("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class uz extends ig{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class uq extends iu("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[uY]=uY;get message(){return this.reason.message}}let uV=e=>new uq(new uz(e)),u_=e=>new uq(new uG(e)),uJ=Symbol.for("effect/MutableList/Empty"),uW=()=>({array:[],mutable:!0,offset:0,next:void 0}),uj=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=uW(),e.tail=e.tail.next):e.head=e.tail=uW(),e.tail.array.push(t),e.length++},uK=e=>{e.head=e.tail=void 0,e.length=0},uX=e=>{if(!e.head)return uJ;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:uK(e)),t},uZ={_A:eH,_E:eH},u$={"~effect/Queue":uZ,"~effect/Queue/Enqueue":uZ,"~effect/Queue/Dequeue":uZ,...tK,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:u4(this)}}},u0=(e,t)=>ow(()=>{if("Open"!==e.state._tag)return u5;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return u5;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return uj(e.messages,t),u7(e),u8;return hr(e,t);case"sliding":return uX(e.messages),uj(e.messages,t),u8}return uj(e.messages,t),he(e),u8}),u1=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=ae(rg(t),u9);return 0===e.state.offers.size&&0===e.messages.length?hs(e,r):e.state={...e.state,_tag:"Closing",exit:r},!0},u2=e=>u3(e,1,1/0),u3=(e,t,r)=>ow(()=>ht(e,t,r)??o_(hi(e),u3(e,1,r))),u4=e=>"Done"===e.state._tag?0:e.messages.length,u5=rl(!1),u8=rl(!0),u9=ru(ry()),u6=rg(s5(void 0)),u7=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(o8),0===e.messages.length)break}},he=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>u7(e),0))},ht=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return rl([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,hn(e),e.capacity=0;let t=[uX(e.messages)];return hn(e),rl(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return uK(e),t}let r=Array(t),n=0,i=e.head;for(;i;){for(;i.offset<i.array.length;)if(r[n++]=i.array[i.offset],i.mutable&&(i.array[i.offset]=void 0),i.offset++,n===t)return e.head=i,e.length-=t,0===e.length&&uK(e),r;i=i.next}return uK(e),r})(e.messages,r);return hn(e),rl(t)}},hr=(e,t)=>oL(r=>{if("Open"!==e.state._tag)return r(u5);let n={_tag:"Single",message:t,resume:r};return e.state.offers.add(n),oS(()=>{"Open"===e.state._tag&&e.state.offers.delete(n)})}),hn=e=>{if("Done"===e.state._tag)return e.state.exit.cause.reasons.some(lq);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(hs(e,e.state.exit),e.state.exit.cause.reasons.some(lq));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)uj(e.messages,r.message),t--,r.resume(u8),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;uj(e.messages,r.remaining[r.offset]),t--}r.resume(rl([])),e.state.offers.delete(r)}return!1},hi=e=>oL(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),oS(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),hs=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let n of(e.state={_tag:"Done",exit:t},r.takers))n(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()},ho={"~effect/Channel":{_Env:eH,_InErr:eH,_InElem:eH,_OutErr:eH,_OutElem:eH},pipe(){return eF(this,arguments)}},ha=e=>{let t=Object.create(ho);return t.transform=(t,r)=>al(e(t,r),e=>oN(ob(e))),t},hA=e=>ha((t,r)=>e),hl=e=>ha((t,r)=>{let n;return oN(ow(()=>n||e.pipe(aP(r),oK(e=>(0,e.transform)(t,r)),oK(e=>n=e))))}),hc=eO(2,(e,t)=>{let r;return r=(r,n,i)=>aF(i,t).pipe(o_((0,e.transform)(r,n))),ha(oH(function*(e,t){let n=lB(t),i=e=>{let t;return av(n,r_(t=lV(e))?rg(t.failure):rl(t.success.value))},s=yield*aV(r(e,t,n),i);return aV(s,i)}))}),hd=eO(2,(e,t)=>hc(e,e=>t)),hg=eO(2,(e,t)=>{let r;return r=e=>aA(oK(e,t),{disableYield:!0}),ow(()=>{let t=aO();return lz(oK((0,e.transform)(AY(),t),r),oN).pipe(aG(e=>av(t,e)))})}),hu=oN([void 0]),hh={"~effect/Sink":{_A:eH,_In:eH,_L:eH,_E:eH,_R:eH},pipe(){return eF(this,arguments)}},hm=e=>{let t=Object.create(hh);return t.transform=e,t},hp=e=>ha((t,r)=>oN(oK(e.transform(t,r),AY))),hC=e=>{let t;return t=hl(o0(e,hp)),hm((e,r)=>(0,t.transform)(e,r).pipe(oK(aA({disableYield:!0})),lz(oN)))},hf={"~effect/Stream":{_R:eH,_E:eH,_A:eH},pipe(){return eF(this,arguments)}},hI=e=>{let t=Object.create(hf);return t.channel=e,t},hE=e=>e.channel,hy=e=>hI(hl(o0(e,hE))),hB=eO(2,(e,t)=>hI(hd(e.channel,t))),hQ=eO(2,(e,t)=>hg(e.channel,t)),hN=eO(e=>e4(e[0],"~effect/Stream"),(e,t,r)=>{let n,i,s=Al(!1);return new ReadableStream({start(r){(i=At(as(hQ(e,e=>s.whenOpen(oS(()=>{s.closeUnsafe();for(let t=0;t<e.length;t++)r.enqueue(e[t]);n(),n=void 0}))),t))).addObserver(e=>{"Failure"===e._tag?r.error(or(e.cause)):r.close()})},pull:()=>new Promise(e=>{n=e,s.openUnsafe()}),cancel(){if(i)return Ar(oW(oy(i)))}},r?.strategy)}),hb=eO(e=>e4(e[0],"~effect/Stream"),(e,t)=>o0(an,r=>hN(e,r,t))),hS="~effect/platform/FileSystem",hw=e=>"bigint"==typeof e?e:BigInt(e),hD=n0("effect/platform/FileSystem"),hx="~effect/platform/FileSystem/File",hR=Object.assign(e=>e,{option:e=>r4(e),result:e=>rj(e),is:e=>!0});class hk extends n0()("effect/platform/FileSystem/WatchBackend"){}let hv=e=>oS(()=>process.env[e]).pipe(oK(t=>void 0!==t&&""!==t?oN(t):ru(new ih({variable:e,reason:`Environment variable "${e}" is not set`})))),hM=a2(Object.fromEntries(Object.entries({sha:"GITHUB_SHA",ref:"GITHUB_REF",repository:"GITHUB_REPOSITORY",repositoryOwner:"GITHUB_REPOSITORY_OWNER",workspace:"GITHUB_WORKSPACE",eventName:"GITHUB_EVENT_NAME",eventPath:"GITHUB_EVENT_PATH",runId:"GITHUB_RUN_ID",runNumber:"GITHUB_RUN_NUMBER",actor:"GITHUB_ACTOR",serverUrl:"GITHUB_SERVER_URL",apiUrl:"GITHUB_API_URL",graphqlUrl:"GITHUB_GRAPHQL_URL",action:"GITHUB_ACTION",job:"GITHUB_JOB",workflow:"GITHUB_WORKFLOW"}).map(([e,t])=>[e,hv(t)]))),hU=a2({os:hv("RUNNER_OS"),arch:hv("RUNNER_ARCH"),name:hv("RUNNER_NAME"),temp:hv("RUNNER_TEMP"),toolCache:hv("RUNNER_TOOL_CACHE"),debug:oS(()=>"1"===process.env.RUNNER_DEBUG)}),hF={},hT=co(function*(){let e=yield*hD,t=process.env.GITHUB_EVENT_PATH;if(void 0===t||""===t)return hF;if(!(yield*e.exists(t).pipe(aE(()=>!1))))return yield*cC(`GITHUB_EVENT_PATH ${t} does not exist; using an empty payload`),hF;let r=yield*e.readFileString(t).pipe(af(e=>new ih({variable:"GITHUB_EVENT_PATH",reason:`Failed to read event payload file: ${e.message}`})));return yield*oU({try:()=>JSON.parse(r),catch:e=>new ih({variable:"GITHUB_EVENT_PATH",reason:`Failed to parse event payload JSON: ${e instanceof Error?e.message:String(e)}`})}).pipe(oK(e=>ut(uH,{onExcessProperty:"preserve"})(e).pipe(af(e=>new ih({variable:"GITHUB_EVENT_PATH",reason:`Event payload did not match the expected shape: ${e.message}`})))))}),hL=e=>{let t=process.env.GITHUB_REPOSITORY;if(void 0!==t&&""!==t){let[e,r]=t.split("/");if(void 0!==e&&void 0!==r)return oN({owner:e,repo:r})}return void 0!==e.repository?oN({owner:e.repository.owner.login,repo:e.repository.name}):ru(new ih({variable:"GITHUB_REPOSITORY",reason:"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo' or a repository in the event payload"}))},hO=hT.pipe(oK(hL)),hH=hT.pipe(oK(e=>hL(e).pipe(oK(t=>{let r=e.issue?.number??e.pull_request?.number??e.number;return void 0===r?ru(new ih({variable:"GITHUB_EVENT_PATH",reason:"context.issue requires an issue, pull_request, or top-level number in the event payload"})):oN({...t,number:r})})))),hP=lv(uP,{get:e=>hv(e),getOptional:e=>oS(()=>process.env[e]).pipe(o0(e=>void 0!==e&&""!==e?r4(e):r3())),github:hM,runner:hU,isDebug:oS(()=>"1"===process.env.RUNNER_DEBUG),payload:hT,repo:hO,issue:hH}),hY=r1(Ak),hG=(q=Ak,eO(2,(e,t)=>1!==q(e,t))),hz=(e,t)=>lU(AM,rm(oH(function*(r){let n=new Set(t?.mergeWithExisting===!0?r.getRef(AM):[]);for(let t of e)n.add(tZ(t)?yield*t:t);return n}))),hq=n0("github-action-effects/ActionLoggerLive/ActiveBuffer",{defaultValue:()=>null}),hV=e=>{if(0!==e.entries.length){for(let t of(process.stdout.write(`--- Buffered output for "${e.label}" --- -`),e.entries))process.stdout.write(`${t} -`);process.stdout.write(`--- End buffered output for "${e.label}" --- -`),e.entries.length=0}},h_=lv(ic,{group:(e,t)=>cc(oS(()=>eU("group",{},e)),()=>t.pipe(ah(()=>co(function*(){let e=yield*hq;null!==e&&hV(e)}))),()=>oS(()=>eU("endgroup",{},""))),withBuffer:(e,t)=>co(function*(){let r=yield*s$,n="1"===process.env.RUNNER_DEBUG;if(hG(r,"Debug")||n)return yield*t;let i={label:e,entries:[]},s=AT(({logLevel:e,message:t})=>{let r,n="string"==typeof(r=Array.isArray(t)&&1===t.length?t[0]:t)?r:JSON.stringify(r);hY(e,"Warn")?eU(hY(e,"Error")?"error":"warning",{},n):i.entries.push(n)});return yield*t.pipe(ao(s$,"All"),l9(hz([s])),ao(hq,i),aG(()=>oS(()=>hV(i))))}),notice:(e,t)=>oS(()=>{var r;let n;eU("notice",(n={},void 0!==(r=t??{}).title&&(n.title=r.title),void 0!==r.file&&(n.file=r.file),void 0!==r.startLine&&(n.line=String(r.startLine)),void 0!==r.endLine&&(n.endLine=String(r.endLine)),void 0!==r.startColumn&&(n.col=String(r.startColumn)),void 0!==r.endColumn&&(n.endColumn=String(r.endColumn)),n),e)})});var hJ=class extends iu("ActionOutputError"){},hW=class extends iu("RuntimeEnvironmentError"){};let hj=(e,t,r)=>oK(hD,n=>{let i=process.env[e];if(void 0===i)return ru(new hW({variable:e,message:`Environment variable ${e} is not set`}));let s=function(e,t){if(!t.includes("\n"))return`${e}=${t} -`;let r=`ghadelimiter_${crypto.randomUUID()}`;return`${e}<<${r} -${t} -${r} -`}(t,r);return n.writeFileString(i,s,{flag:"a"}).pipe(af(t=>new hW({variable:e,message:`Failed to write to file at ${i}: ${t.message}`})))});var hK=class extends n0()("github-action-effects/ActionOutputs"){},hX=o(6760);let hZ=lU(hK,co(function*(){let e=yield*hD,t=lv(hD,e),r=(e,r,n)=>hj(e,r,n).pipe(l9(t));return{set:(e,t)=>r("GITHUB_OUTPUT",e,t).pipe(af(t=>new hJ({outputName:e,reason:t.message})),aC("ActionOutputError",e=>ok(e))),setJson:(e,t,n)=>ur(n)(t).pipe(oK(t=>r("GITHUB_OUTPUT",e,JSON.stringify(t))),oW,af(t=>new hJ({outputName:e,reason:"RuntimeEnvironmentError"===t._tag?t.message:`Output "${e}" validation failed: ${t.message}`}))),summary:t=>{let r=process.env.GITHUB_STEP_SUMMARY;return void 0===r?ru(new hJ({outputName:"summary",reason:"Environment variable GITHUB_STEP_SUMMARY is not set"})):e.writeFileString(r,t,{flag:"a"}).pipe(oW,af(e=>new hJ({outputName:"summary",reason:`Failed to write step summary: ${e.message}`})))},exportVariable:(e,t)=>r("GITHUB_ENV",e,t).pipe(oJ(()=>oS(()=>process.env[e]=t)),cA),addPath:t=>{let r=process.env.GITHUB_PATH;return void 0===r?oS(()=>{process.env.PATH=`${t}${hX.delimiter}${process.env.PATH??""}`}):e.writeFileString(r,`${t} -`,{flag:"a"}).pipe(oJ(()=>oS(()=>{process.env.PATH=`${t}${hX.delimiter}${process.env.PATH??""}`})),oW,cA)},setFailed:e=>oS(()=>{eU("error",{},e),process.exitCode=1}),setSecret:e=>oS(()=>{eU("add-mask",{},e)})}}));var h$=class extends iu("ActionStateError"){},h0=class extends n0()("github-action-effects/ActionState"){};let h1=(e,t,r)=>oU({try:()=>JSON.parse(t),catch:r=>new h$({key:e,reason:`State "${e}" is not valid JSON: ${r instanceof Error?r.message:String(r)}`,rawValue:t})}).pipe(oK(n=>ut(r)(n).pipe(af(r=>new h$({key:e,reason:`State "${e}" decode failed: ${r.message}`,rawValue:t}))))),h2=lU(h0,co(function*(){let e=yield*hD,t=lv(hD,e);return{save:(e,r,n)=>ur(n)(r).pipe(o0(e=>JSON.stringify(e)),af(t=>new h$({key:e,reason:`State "${e}" encode failed: ${t instanceof Error?t.message:String(t)}`,rawValue:void 0}))).pipe(oK(r=>hj("GITHUB_STATE",e,r).pipe(l9(t))),cA),get:(e,t)=>oS(()=>process.env[`STATE_${e}`]??"").pipe(oK(r=>""===r?ru(new h$({key:e,reason:`State "${e}" is not set (phase ordering issue?)`,rawValue:void 0})):h1(e,r,t))),getOptional:(e,t)=>oS(()=>process.env[`STATE_${e}`]??"").pipe(oK(r=>""===r?oN(r3()):h1(e,r,t).pipe(o0(e=>r4(e)))))}}));function h3(e){return{_tag:"Value",value:e}}let h4=n0("effect/ConfigProvider",{defaultValue:()=>{let e,t,r;return e=(void 0)??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},t=false,r=function(e){let t={};for(let[r,n]of Object.entries(e)){if(void 0===n)continue;let e=r.split("_"),i=t;for(let t of e)i.children??={},i=i.children[t]??={}}return t}(e),h9(n=>oN(function(e,t,r,n){var i;let s=(i=t[r.map(String).join("_")],""!==i||n?i:void 0),o=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),a=o?.children?Object.keys(o.children):[];return 0===a.length?void 0===s?void 0:h3(s):a.every(e=>h6.test(e))?{_tag:"Array",length:Math.max(...a.map(e=>parseInt(e,10)))+1,value:s}:{_tag:"Record",keys:new Set(a),value:s}}(r,e,n,t)))}}),h5={...tK,toJSON:()=>({_id:"ConfigProvider"})},h8=e=>e;function h9(e){var t;let r,n;return r={_tag:"Source",get:e,transform:h8},t=e=>r.get(r.transform(e)),(n=Object.create(h5)).state=r,n.load=t,n}let h6=/^(0|[1-9][0-9]*)$/,h7=h9(e=>{let t=`INPUT_${e.join("_").replaceAll(" ","_").toUpperCase()}`,r=process.env[t];return void 0===r||""===r?oN(void 0):oN(h3(r))}),me=AT(e=>{let t=(Array.isArray(e.message)?e.message:[e.message]).map(e=>tT(e)).join(" "),r=e.logLevel,n=e.fiber.getRef(sX),i={};for(let e of["file","line","col"]){let t=n[e];void 0!==t&&(i[e]=String(t))}hY(r,"Error")?eU("error",i,t):hY(r,"Warn")?eU("warning",i,t):hY(r,"Info")?process.stdout.write(`${t} -`):eU("debug",i,t)});var mt=o(7598);let mr=n("node:fs"),mn=n("node:os"),mi=(e,t)=>(r,[n])=>{let i="Unknown";switch(r.code){case"ENOENT":i="NotFound";break;case"EACCES":i="PermissionDenied";break;case"EEXIST":i="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":i="BadResource";break;case"EBUSY":i="Busy"}return uV({_tag:i,module:e,method:t,pathOrDescriptor:n,syscall:r.syscall,cause:r})},ms=e=>t=>u_({module:"FileSystem",method:e,description:t.message??String(t)}),mo=(f=cf(mr.access,mi("FileSystem","access"),ms("access")),(e,t)=>{let r=mr.constants.F_OK;return t?.readable&&(r|=mr.constants.R_OK),t?.writable&&(r|=mr.constants.W_OK),f(e,r)}),ma=(I=cf(mr.cp,mi("FileSystem","copy"),ms("copy")),(e,t,r)=>I(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),mA=(E=cf(mr.copyFile,mi("FileSystem","copyFile"),ms("copyFile")),(e,t)=>E(e,t)),ml=(y=cf(mr.chmod,mi("FileSystem","chmod"),ms("chmod")),(e,t)=>y(e,t)),mc=(B=cf(mr.chown,mi("FileSystem","chown"),ms("chown")),(e,t,r)=>B(e,t,r)),md=(Q=cf(mr.glob,mi("FileSystem","glob"),ms("glob")),(e,t)=>Q(e,{cwd:t?.root,exclude:t?.exclude})),mg=(N=cf(mr.link,mi("FileSystem","link"),ms("link")),(e,t)=>N(e,t)),mu=(b=cf(mr.mkdir,mi("FileSystem","makeDirectory"),ms("makeDirectory")),(e,t)=>b(e,{recursive:t?.recursive??!1,mode:t?.mode})),mh=e=>{let t=cf(mr.mkdtemp,mi("FileSystem",e),ms(e));return e=>ow(()=>{let r=e?.prefix??"",n="string"==typeof e?.directory?hX.join(e.directory,"."):mn.tmpdir();return t(r?hX.join(n,r):n+"/")})},mm=mh("makeTempDirectory"),mp=e=>{let t=cf(mr.rm,mi("FileSystem",e),ms(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},mC=mp("remove"),mf=(S=mh("makeTempDirectoryScoped"),w=mp("makeTempDirectoryScoped"),e=>cl(S(e),e=>cA(w(e,{recursive:!0})))),mI=(j="open",D=cf(mr.open,mi("FileSystem",j),ms(j)),x=cf(mr.close,mi("FileSystem",j),ms(j)),(e,t)=>eV(cl(D(e,t?.flag??"r",t?.mode),e=>cA(x(e))),o0(e=>mE(hR(e),t?.flag?.startsWith("a")??!1)))),mE=(()=>{let e=e=>cf(mr.read,mi("FileSystem",e),ms(e)),t=e("read"),r=e("readAlloc"),n=cf(mr.fstat,mi("FileSystem","stat"),ms("stat")),i=cf(mr.ftruncate,mi("FileSystem","truncate"),ms("truncate")),s=cf(mr.fsync,mi("FileSystem","sync"),ms("sync")),o=e=>cf(mr.write,mi("FileSystem",e),ms(e)),a=o("write"),A=o("writeAll");class l{[hx];fd;append;position=BigInt(0);constructor(e,t){this[hx]=hx,this.fd=e,this.append=t}get stat(){return o0(n(this.fd),mx)}get sync(){return s(this.fd)}seek(e,t){let r=hw(e);return oS(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return ow(()=>{let r=this.position;return o0(t(this.fd,{buffer:e,position:r}),e=>{let t=hw(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return ow(()=>{let e=Buffer.allocUnsafeSlow(t),n=this.position;return o0(r(this.fd,{buffer:e,position:n}),r=>{if(0===r)return r3();if(this.position=n+BigInt(r),r===t)return r4(e);let i=Buffer.allocUnsafeSlow(r);return e.copy(i,0,0,r),r4(i)})})}truncate(e){return o0(i(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return ow(()=>{let t=this.position;return o0(a(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=hw(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return ow(()=>{let t=this.position;return oK(A(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?ru(uV({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):oM))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new l(e,t)})(),my=e=>{let t=mh(e);return oH(function*(e){let r=yield*t(e),n=mt.randomBytes(6).toString("hex"),i=hX.join(r,e?.suffix?`${n}${e.suffix}`:n);return yield*mU(i,new Uint8Array(0)),i})},mB=my("makeTempFile"),mQ=(R=my("makeTempFileScoped"),k=mp("makeTempFileScoped"),e=>cl(R(e),e=>cA(k(hX.dirname(e),{recursive:!0})))),mN=(e,t)=>cs({try:()=>mr.promises.readdir(e,t),catch:t=>mi("FileSystem","readDirectory")(t,[e])}),mb=e=>oL((t,r)=>{try{mr.readFile(e,{signal:r},(r,n)=>{r?t(ru(mi("FileSystem","readFile")(r,[e]))):t(oN(n))})}catch(e){t(ru(ms("readFile")(e)))}}),mS=(v=cf(mr.readlink,mi("FileSystem","readLink"),ms("readLink")),e=>v(e)),mw=(M=cf(mr.realpath,mi("FileSystem","realPath"),ms("realPath")),e=>M(e)),mD=(U=cf(mr.rename,mi("FileSystem","rename"),ms("rename")),(e,t)=>U(e,t)),mx=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:nA(e.mtime),atime:nA(e.atime),birthtime:nA(e.birthtime),dev:e.dev,rdev:nA(e.rdev),ino:nA(e.ino),mode:e.mode,nlink:nA(e.nlink),uid:nA(e.uid),gid:nA(e.gid),size:hw(e.size),blksize:void 0!==e.blksize?r4(hw(e.blksize)):r3(),blocks:nA(e.blocks)}),mR=(F=cf(mr.stat,mi("FileSystem","stat"),ms("stat")),e=>o0(F(e),mx)),mk=(T=cf(mr.symlink,mi("FileSystem","symlink"),ms("symlink")),(e,t)=>T(e,t)),mv=(L=cf(mr.truncate,mi("FileSystem","truncate"),ms("truncate")),(e,t)=>L(e,void 0!==t?Number(t):void 0)),mM=(O=cf(mr.utimes,mi("FileSystem","utime"),ms("utime")),(e,t,r)=>O(e,t,r)),mU=(e,t,r)=>oL((n,i)=>{try{mr.writeFile(e,t,{signal:i,flag:r?.flag,mode:r?.mode},t=>{t?n(ru(mi("FileSystem","writeFile")(t,[e]))):n(oM)})}catch(e){n(ru(ms("writeFile")(e)))}}),mF=o0(rm(e=>oN(ia(e.context,hk))),e=>{let t;return t={access:mo,chmod:ml,chown:mc,copy:ma,copyFile:mA,glob:md,link:mg,makeDirectory:mu,makeTempDirectory:mm,makeTempDirectoryScoped:mf,makeTempFile:mB,makeTempFileScoped:mQ,open:mI,readDirectory:mN,readFile:mb,readLink:mS,realPath:mw,remove:mC,rename:mD,stat:mR,symlink:mk,truncate:mv,utimes:mM,watch:t=>mR(t).pipe(o0(r=>e.pipe(ny(e=>e.register(t,r)),nn(()=>{let e,r;return hI((e=e=>cl(oS(()=>{let r=mr.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void At(aN(mR(r),{onSuccess:t=>u0(e,{_tag:"Create",path:r}),onFailure:t=>u0(e,{_tag:"Remove",path:r})}));case"change":var n;return void(n={_tag:"Update",path:r},"Open"!==e.state._tag||(e.messages.length>=e.capacity?"sliding"===e.strategy?(uX(e.messages),uj(e.messages,n)):e.capacity<=0&&e.state.takers.size>0&&(uj(e.messages,n),u7(e)):(uj(e.messages,n),he(e))))}});return r.on("error",r=>{u1(e,t7(uV({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{u1(e,t7(ry()))}),r}),e=>oS(()=>e.close())),r=void 0,ha((t,n)=>{let i;return o0((i={capacity:r?.bufferSize,strategy:r?.strategy},rm(e=>{let t=Object.create(u$);return t.dispatcher=e.currentDispatcher,t.capacity=i?.capacity??1/0,t.strategy=i?.strategy??"suspend",t.messages={head:void 0,tail:void 0,length:0},t.scheduleRunning=!1,t.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},oN(t)})).pipe(oJ(e=>aF(n,eP(oS(()=>{if("Done"===e.state._tag)return!0;uK(e.messages);let t=e.state.offers;if(hs(e,"Open"===e.state._tag?u6:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(u5):e.resume(rl(e.remaining.slice(e.offset)));t.clear()}return!0})))),oJ(t=>a7(aP(e(t),n),n))),u2)})))}))),hy),writeFile:mU},hD.of({...t,[hS]:hS,exists:e=>eV(t.access(e),oV(!0),aC("PlatformError",e=>"NotFound"===e.reason._tag?oN(!1):ru(e))),readFileString:(e,r)=>oK(t.readFile(e),e=>oU({try:()=>new TextDecoder(r).decode(e),catch:e=>u_({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:oH(function*(e,r){let n=yield*t.open(e,{flag:"r"});r?.offset&&(yield*n.seek(r.offset,"start"));let i=r?.bytesToRead!==void 0?hw(r.bytesToRead):void 0,s=BigInt(0),o=hw(r?.chunkSize??65536),a=n.readAlloc(o);return hI(hA(oN(oK(ow(()=>void 0!==i&&i<=s?AY():void 0!==i&&i-s<o?n.readAlloc(i-s):a),r6({onNone:()=>AY(),onSome:e=>(s+=BigInt(e.length),oN(i3(e)))})))))},hy),sink:(e,r)=>eV(t.open(e,{flag:"w",...r}),o0(e=>{let t,r;return t=t=>e.writeAll(t),r=a4(e=>t(e),{discard:!0}),hm(e=>e.pipe(oK(r),aA({disableYield:!0}),lz(()=>hu)))}),hC),writeFileString:(e,r,n)=>oK(oU({try:()=>new TextEncoder().encode(r),catch:e=>u_({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>t.writeFile(e,r,n))})}),mT=lU(hD)(mF),mL=Symbol.for("~effect/http/Headers"),mO=Object.defineProperties(Object.create(null),{[mL]:{value:mL},[tN]:{value(e){return mJ(this,ir(e,mW))}},toJSON:{value(){return tb(this)}},[th]:{value(e){return mP(this,e)}},[e9]:{value(){return to(this)}},toString:{value:tL.toString},[tU]:{value:tL[tU]}}),mH=e=>Object.assign(Object.create(mO),e),mP=(H=eO(2,(e,t)=>{for(let r of i_(e))if(!iq(t,r)||!rR(e[r],t[r]))return!1;return!0}),(e,t)=>H(e,t)&&H(t,e)),mY=Object.create(mO),mG=e=>{if(void 0===e)return mY;if(Symbol.iterator in e){let t=Object.create(mO);for(let[r,n]of e)t[r.toLowerCase()]=n;return t}let t=Object.create(mO);for(let[r,n]of Object.entries(e))Array.isArray(n)?t[r.toLowerCase()]=n.join(", "):void 0!==n&&(t[r.toLowerCase()]=n);return t},mz=eO(3,(e,t,r)=>{let n=mH(e);return n[t.toLowerCase()]=r,n}),mq=eO(2,(e,t)=>mH({...e,...mG(t)})),mV=eO(2,(e,t)=>{let r=mH(e);return Object.assign(r,t),r}),m_=eO(2,(e,t)=>{let r=mH(e);return delete r[t.toLowerCase()],r}),mJ=eO(2,(e,t)=>{let r={...e},n=t=>{if("string"==typeof t){let n=t.toLowerCase();n in e&&(r[n]=cP(e[n]))}else for(let n in e)t.test(n)&&(r[n]=cP(e[n]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)n(t[e]);else n(t);return r}),mW=n0("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]}),mj="~effect/http/HttpClientError";class mK extends iu("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[mj]=mj;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let mX=e=>e.endsWith("Error")?e.slice(0,-5):e,mZ=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class m$ extends iu("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return mZ(mX(this._tag),this.description,this.methodAndUrl)}}class m0 extends iu("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return mZ(mX(this._tag),this.description,this.methodAndUrl)}}class m1 extends iu("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return mZ(mX(this._tag),this.description,e)}}class m2 extends iu("EmptyBodyError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return mZ(mX(this._tag),this.description,e)}}let m3="~effect/http/HttpBody";class m4{[m3];constructor(){this[m3]=m3}[tU](){return this.toJSON()}toString(){return tx(this,{ignoreToString:!0})}}let m5=new class extends m4{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class m8 extends m4{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let m9=new TextEncoder,m6="~effect/http/UrlParams",m7={...tK,[m6]:m6,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[th](e){return pn(this,e)},[e9](){return tA(this.params.flat())}},pe=e=>{let t=Object.create(m7);return t.params=e,t},pt=e=>{if(e4(e,m6))return e;let t=pr(e),r=[];for(let e=0;e<t.length;e++)if(Array.isArray(t[e][0])){let[n,i]=t[e];r.push([`${n[0]}[${n.slice(1).join("][")}]`,i])}else r.push(t[e]);return pe(r)},pr=e=>{let t="function"==typeof e[Symbol.iterator]?iK(e):Object.entries(e),r=[];for(let[e,n]of t)if(Array.isArray(n))for(let t=0;t<n.length;t++)void 0!==n[t]&&r.push([e,String(n[t])]);else if("object"==typeof n)for(let[t,i]of pr(n))r.push([[e,..."string"==typeof t?[t]:t],i]);else void 0!==n&&r.push([e,String(n)]);return r},pn=rx((e,t)=>pi(e.params,t.params)),pi=(K=[rR,rR],X=rx((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!K[r](e[r],t[r]))return!1;return!0}),rx((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!X(e[r],t[r]))return!1;return!0})),ps=pe([]),po=eO(2,(e,t)=>{let r=pt(t),n=r.params,i=new Set;for(let e=0;e<n.length;e++)i.add(n[e][0]);for(let t=0;t<e.params.length;t++)i.has(e.params[t][0])||n.push(e.params[t]);return r}),pa="~effect/http/HttpClientRequest",pA={[pa]:pa,...tL,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:tb(this.headers),body:this.body.toJSON()}},pipe(){return eF(this,arguments)}};function pl(e,t,r,n,i,s){let o=Object.create(pA);return o.method=e,o.url=t,o.urlParams=r,o.hash=n,o.headers=i,o.body=s,o}let pc=pl("GET","",ps,r3(),mY,m5),pd=e=>(t,r)=>pu(pc,{method:e,url:t,...r??void 0}),pg=pd("POST"),pu=eO(2,(e,t)=>{let r=e;return t.method&&(r=ph(r,t.method)),t.url&&(r=pE(r,t.url)),t.headers&&(r=pp(r,t.headers)),t.urlParams&&(r=py(r,t.urlParams)),t.hash&&(r=pB(r,t.hash)),t.body&&(r=pQ(r,t.body)),t.accept&&(r=pf(r,t.accept)),t.acceptJson&&(r=pI(r)),r}),ph=eO(2,(e,t)=>pl(t,e.url,e.urlParams,e.hash,e.headers,e.body)),pm=eO(3,(e,t,r)=>pl(e.method,e.url,e.urlParams,e.hash,mz(e.headers,t,r),e.body)),pp=eO(2,(e,t)=>pl(e.method,e.url,e.urlParams,e.hash,mq(e.headers,t),e.body)),pC=eO(2,(e,t)=>pm(e,"Authorization",`Bearer ${"string"==typeof t?t:cO(t)}`)),pf=eO(2,(e,t)=>pm(e,"Accept",t)),pI=pf("application/json"),pE=eO(2,(e,t)=>{if("string"==typeof t)return pl(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),n=pt(r.searchParams),i=nA(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",pl(e.method,r.toString(),n,i,e.headers,e.body)}),py=eO(2,(e,t)=>pl(e.method,e.url,po(e.urlParams,t),e.hash,e.headers,e.body)),pB=eO(2,(e,t)=>pl(e.method,e.url,e.urlParams,r4(t),e.headers,e.body)),pQ=eO(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=m_(m_(r,"Content-Type"),"Content-length"):(t.contentType&&(r=mz(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=mz(r,"content-length",t.contentLength.toString()))),pl(e.method,e.url,e.urlParams,e.hash,r,t)}),pN=eO(2,(e,t)=>{var r,n;let i;return pQ(e,(r=JSON.stringify(t),n=(void 0)??"application/json",new m8(i=m9.encode(r),n??"text/plain"??"application/octet-stream",i.length)))}),pb="~effect/http/Cookies",pS="~effect/http/Cookies/Cookie",pw=(e=>e4(e,pS),"~effect/http/Cookies/CookieError"),pD={[pb]:pb,...tL,toJSON(){return{_id:"effect/Cookies",cookies:iV(this.cookies,e=>e.toJSON())}},pipe(){return eF(this,arguments)}},px=e=>{var t;let r,n={};for(let t of e)n[t.name]=t;return t=n,(r=Object.create(pD)).cookies=t,r},pR=e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let n=t[0].slice(0,r);if(!pv.test(n))return;let i=t[0].slice(r+1),s=pU(i);if(1===t.length)return Object.assign(Object.create(pM),{name:n,value:s,valueEncoded:i});let o={};for(let e=1;e<t.length;e++){let r=t[e],n=r.indexOf("="),i=-1===n?r:r.slice(0,n).trim(),s=-1===n?void 0:r.slice(n+1).trim();switch(i.toLowerCase()){case"domain":{if(void 0===s)break;let e=s.trim().replace(/^\./,"");e&&(o.domain=e);break}case"expires":{if(void 0===s)break;let e=new Date(s);isNaN(e.getTime())||(o.expires=e);break}case"max-age":{if(void 0===s)break;let e=parseInt(s,10);isNaN(e)||(o.maxAge=sC(e));break}case"path":if(void 0===s)break;"/"===s[0]&&(o.path=s);break;case"priority":if(void 0===s)break;switch(s.toLowerCase()){case"low":o.priority="low";break;case"medium":o.priority="medium";break;case"high":o.priority="high"}break;case"httponly":o.httpOnly=!0;break;case"secure":o.secure=!0;break;case"partitioned":o.partitioned=!0;break;case"samesite":if(void 0===s)break;switch(s.toLowerCase()){case"lax":o.sameSite="lax";break;case"strict":o.sameSite="strict";break;case"none":o.sameSite="none"}}}return Object.assign(Object.create(pM),{name:n,value:s,valueEncoded:i,options:Object.keys(o).length>0?o:void 0})}(r.trim());e&&t.push(e)}return px(t)},pk=px([]),pv=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,pM={[pS]:pS,...tL,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}},pU=e=>{try{return decodeURIComponent(e)}catch(t){return e}},pF="~effect/http/HttpIncomingMessage",pT=n0("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0}),pL=(e,t)=>{let r,n=e.headers["content-type"]??"";if(n.includes("application/json"))try{r=As(e.json)}catch(e){}else if(n.includes("text/")||n.includes("urlencoded"))try{r=As(e.text)}catch(e){}let i={...t,headers:tb(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(i.body=r),i},pO="~effect/http/HttpClientResponse";class pH extends tO{[pF];[pO];request;source;constructor(e,t){super(),this.request=e,this.source=t,this[pF]=pF,this[pO]=pO}toJSON(){return pL(this,{_id:"HttpClientResponse",request:this.request.toJSON(),status:this.status})}get status(){return this.source.status}get headers(){return mG(this.source.headers)}cachedCookies;get cookies(){return this.cachedCookies?this.cachedCookies:this.cachedCookies=pR(this.source.headers.getSetCookie())}get remoteAddress(){return r3()}get stream(){let e;return this.source.body?(e={evaluate:()=>this.source.body,onError:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})},hI(ha(oH(function*(t,r){let n=e.evaluate().getReader();return yield*aF(r,eP(e.releaseLockOnEnd?oS(()=>n.releaseLock()):ci(()=>n.cancel().catch(eq)))),oK(cs({try:()=>n.read(),catch:t=>e.onError(t)}),({done:e,value:t})=>e?AY():oN(i3(t)))})))):hI(hA(oN(ru(new mK({reason:new m2({request:this.request,response:this,description:"can not create stream from empty body"})})))))}get json(){return oK(this.text,e=>oU({try:()=>""===e?null:JSON.parse(e),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=cs({try:()=>this.source.text(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As),this.arrayBufferBody=o0(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return oK(this.text,e=>oU({try:()=>pt(new URLSearchParams(e)),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=cs({try:()=>this.source.formData(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=cs({try:()=>this.source.arrayBuffer(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As),this.textBody=o0(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}pipe(){return eF(this,arguments)}}class pP extends iu("UrlError"){}let pY="~effect/http/HttpClient",pG=n0("effect/HttpClient"),pz=eO(2,(e,t)=>pq(r=>t(e.postprocess(r)),e.preprocess)),pq=(e,t)=>{let r=Object.create(pV);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},pV={[pY]:pY,pipe(){return eF(this,arguments)},...tL,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(pd(e)(t,r))}]))},p_=e=>pq(t=>oK(t,t=>rm(r=>{let n,i,s,o=pZ.get(t),a=o??new AbortController,A=(n=t.url,i=t.urlParams,s=nu(t.hash),(e=>{if(e0(e))try{return rj(e())}catch(e){return rW(e)}try{return rj(e.try())}catch(t){return rW(e.catch(t))}})({try:()=>{let e=new URL(n,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<i.params.length;t++){let[r,n]=i.params[t];void 0!==n&&e.searchParams.append(r,n)}return void 0!==s&&(e.hash=s),e},catch:e=>new pP({cause:e})}));if(r_(A))return ru(new mK({reason:new m0({request:t,cause:A.failure})}));let l=A.success;if(r.getRef(sL)||r.getRef(pJ)(t)){let n=e(t,l,a.signal,r);return o?n:a1(e=>aB(e(n),{onSuccess:e=>(pX.register(e,a),oN(new p$(e,a))),onFailure:e=>(e.reasons.some(ri)&&a.abort(),ob(e))}))}return Au(r.getRef(pj)(t),{kind:"client"},n=>{let i;n.attribute("http.request.method",t.method),n.attribute("server.address",l.origin),""!==l.port&&n.attribute("server.port",+l.port),n.attribute("url.full",l.toString()),n.attribute("url.path",l.pathname),n.attribute("url.scheme",l.protocol.slice(0,-1));let s=l.search.slice(1);""!==s&&n.attribute("url.query",s);let A=r.getRef(mW),c=mJ(t.headers,A);for(let e in c)n.attribute(`http.request.header.${e}`,String(c[e]));return t=r.getRef(pW)?pp(t,(i=n,Object.setPrototypeOf({b3:`${i.traceId}-${i.spanId}-${i.sampled?"1":"0"}${r6(i.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${i.traceId}-${i.spanId}-${i.sampled?"01":"00"}`},mO))):t,a1(i=>i(e(t,l,a.signal,r)).pipe(Am(n,{captureStackTrace:!1}),aB({onSuccess:e=>{n.attribute("http.response.status_code",e.status);let t=mJ(e.headers,A);for(let e in t)n.attribute(`http.response.header.${e}`,String(t[e]));return o?oN(e):(pX.register(e,a),oN(new p$(e,a)))},onFailure:e=>(!o&&e.reasons.some(ri)&&a.abort(),ob(e))})))})})),oN),pJ=n0("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>eG}),pW=n0("effect/HttpClient/TracerPropagationEnabled",{defaultValue:eY}),pj=n0("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),pK=e=>lU(pG)(ai(t=>o0(e,e=>pz(e,at(e=>iA(t,e)))))),pX=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),pZ=new WeakMap;class p${original;controller;constructor(e,t){this.original=e,this.controller=t}[pO]=pO;[pF]=pF;applyInterrupt(e){return ow(()=>(pX.unregister(this.original),aJ(e,()=>oS(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){var e;let t;return e=()=>(pX.unregister(this.original),hB(this.original.stream,oS(()=>{this.controller.abort()}))),hI((t=()=>e().channel,ha((e,r)=>ow(()=>(0,t().transform)(e,r)))))}toJSON(){return this.original.toJSON()}[tU](){return this.original[tU]()}pipe(){return eF(this,arguments)}}let p0=n0("effect/http/FetchHttpClient/Fetch",{defaultValue:()=>globalThis.fetch});class p1 extends n0()("effect/http/FetchHttpClient/RequestInit"){}let p2=pK(oN(p_((e,t,r,n)=>{let i=n.getRef(p0),s=n.context.mapUnsafe.get(p1.key)??{},o=s.headers?mV(mG(s.headers),e.headers):e.headers;o["content-length"]&&(o=m_(o,"content-length"));let a=n=>o0(cs({try:()=>i(t,{...s,method:e.method,headers:o,body:n,duplex:"Stream"===e.body._tag?"half":void 0,signal:r}),catch:t=>new mK({reason:new m$({request:e,cause:t})})}),t=>new pH(e,t));switch(e.body._tag){case"Raw":case"Uint8Array":return a(e.body.body);case"FormData":return a(e.body.formData);case"Stream":return oK(hb(e.body.stream),a)}return a(void 0)}))),p3={Default:lO(tZ(h7)?lU(h4)(h7):lv(h4)(h7),hz([me]),hP,h_,hZ,h2,p2).pipe(lY(mT))};uC(["info","verbose","debug"]).annotate({identifier:"ActionLogLevel",title:"Action Log Level",description:"Logging verbosity for GitHub Action output"}),uC(["info","verbose","debug","auto"]).annotate({identifier:"LogLevelInput",title:"Log Level Input",description:"Logging verbosity: info, verbose, debug, or auto",message:'log-level must be one of: "info", "verbose", "debug", "auto"'});let p4={run:(e,t)=>{let r=t?.layer?lO(p3.Default,t.layer):p3.Default;return Ar(co(function*(){yield*(yield*ic).withBuffer("action",e)}).pipe(l9(r),al(e=>{let t=p4.formatCause(e),r="";try{let t=or(e);t instanceof Error&&t.stack&&(r=t.stack.split("\n").slice(1).join("\n"))}catch{}try{let t=ol(e);""!==t.trim()&&eU("debug",{},`Effect span trace: -${t}`)}catch{}let n=r?`Action failed: ${t} -${r}`:`Action failed: ${t}`;return oS(()=>{eU("error",{},n),process.exitCode=1})}))).catch(()=>{process.exitCode=1})},resolveLogLevel:e=>"auto"!==e?e:"1"===process.env.RUNNER_DEBUG?"debug":"info",formatCause:e=>{try{let t=or(e);if(null!=t&&"object"==typeof t&&"_tag"in t&&"string"==typeof t._tag){let e=t._tag,r=t.message||t.reason;return null!=r?`[${e}] ${String(r)}`:`[${e}]`}if(t instanceof Error)return`[Error] ${t.message}`;let r=JSON.stringify(t);if(r&&"{}"!==r)return`[UnknownError] ${r}`}catch{}try{let t=ol(e);if(""!==t.trim())return t}catch{}return"Unknown error (no diagnostic information available)"}};var p5=o(7067);let p8=n("node:https");var p9=o(7075);let p6=n("node:stream/promises"),p7="~effect/MutableRef",Ce={[p7]:p7,...tK,toJSON(){return{_id:"MutableRef",current:tF(this.current)}}},Ct=e=>ha((t,r)=>Cr({scope:r,readable:e.evaluate(),onError:e.onError??Ci,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),Cr=e=>{var t;let r,n=e.readable,i=e.closeOnDone??!0,s=e.exit??(t=void 0,(r=Object.create(Ce)).current=t,r),o=Al(!1);function a(){o.openUnsafe()}function A(t){s.current=ru(e.onError(t)),o.openUnsafe()}function l(){s.current=ru(ry()),o.openUnsafe()}n.on("readable",a),n.once("error",A),n.once("end",l);let c=ow(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return s.current?s.current:n.readableEnded?ru(ry()):(o.closeUnsafe(),oK(o.await,t));let i=i3(r);for(;null!==(r=e.readable.read(e.chunkSize));)i.push(r);return oN(i)});return oV(aF(e.scope,eP(oS(()=>{n.off("readable",a),n.off("error",A),n.off("end",l),i&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()}))),c)};class Cn extends p9.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=Al(!1),this.fiber=hQ(t,e=>this.readLatch.whenOpen(oS(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,as(e),At),this.fiber.addObserver(e=>{this.fiber=void 0,o4(e)?this.push(null):this.destroy(or(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);At(oy(this.fiber)).addObserver(r=>{t("Failure"===r._tag?or(r.cause):e)})}}let Ci=e=>new Ax(e);var Cs=o(3006);class Co extends n0()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let Ca=cl(oS(()=>new Cs.g6),e=>ci(()=>e.destroy())),CA=lU(Co)(Ca),Cl=n0("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),Cc=co(function*(){let e=yield*Co;return p_((t,r,n,i)=>(function(e){switch(e._tag){case"Empty":return oN(null);case"Uint8Array":case"Raw":return oN(e.body);case"FormData":return oN(e.formData);case"Stream":let t;return t=e.stream,o0(an,e=>new Cn(e,t))}})(t.body).pipe(oK(s=>cs({try:()=>e.request({...i.getRef(Cl),signal:n,method:t.method,headers:t.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:s,headersTimeout:36e5,bodyTimeout:0}),catch:e=>new mK({reason:new m$({request:t,cause:e})})})),o0(e=>new Cg(t,e))))});function Cd(e){}class Cg extends tO{[pF];[pO];request;source;constructor(e,t){super(),this[pF]=pF,this[pO]=pO,this.request=e,this.source=t,t.body.on("error",Cd)}get status(){return this.source.statusCode}get statusText(){}get headers(){return mG(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?pR(e):pk}get remoteAddress(){return r3()}get stream(){return hI(Ct({evaluate:()=>this.source.body,onError:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}get json(){return oK(this.text,e=>oU({try:()=>""===e?null:JSON.parse(e),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=cs({try:()=>this.source.body.text(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As),this.arrayBufferBody=o0(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return oK(this.text,e=>oU({try:()=>pt(new URLSearchParams(e)),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=cs({try:()=>this.source.body.formData(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=cs({try:()=>this.source.body.arrayBuffer(),catch:e=>new mK({reason:new m1({request:this.request,response:this,cause:e})})}).pipe(cd,As),this.textBody=o0(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return pL(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return eF(this,arguments)}}let Cu=lP(pK(Cc),CA);var Ch=class extends iu("ActionCacheError"){},Cm=class extends n0()("github-action-effects/ActionCache"){};let Cp=e=>/[*?[]/.test(e),CC=e=>{let t=process.env.HOME||(0,mn.homedir)();return e.startsWith("~/")?(0,hX.join)(t,e.slice(2)):"~"===e?t:e},Cf=Symbol.for("twirp/conflict"),CI=["HTTP 500","HTTP 502","HTTP 503","HTTP 504","ECONNRESET","ECONNREFUSED","ETIMEDOUT"],CE=n("node:child_process");class Cy extends Error{constructor(e){super(e),this.name="AbortError"}}var CB=o(7975);let CQ=n("node:process");"string"==typeof CQ.versions.deno&&CQ.versions.deno.length,"string"==typeof CQ.versions.bun&&CQ.versions.bun.length;let CN=CQ.env.DEBUG,Cb=[],CS=[],Cw=[];CN&&Cx(CN);let CD=Object.assign(e=>Cv(e),{enable:Cx,enabled:CR,disable:function(){let t=e||"";return Cx(""),t},log:function(e,...t){CQ.stderr.write(`${CB.format(e,...t)}${mn.EOL}`)}});function Cx(t){for(let r of(e=t,Cb=[],CS=[],t.split(",").map(e=>e.trim())))r.startsWith("-")?CS.push(r.substring(1)):Cb.push(r);for(let e of Cw)e.enabled=CR(e.namespace)}function CR(e){if(e.endsWith("*"))return!0;for(let t of CS)if(Ck(e,t))return!1;for(let t of Cb)if(Ck(e,t))return!0;return!1}function Ck(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],n="";for(let r of t)if("*"===r&&"*"===n)continue;else n=r,e.push(r);r=e.join("")}let n=0,i=0,s=r.length,o=e.length,a=-1,A=-1;for(;n<o&&i<s;)if("*"===r[i]){if(a=i,++i===s)return!0;for(;e[n]!==r[i];)if(++n===o)return!1;A=n,n++,i++;continue}else if(r[i]===e[n])i++,n++;else{if(!(a>=0)||(i=a+1,(n=A+1)===o))return!1;for(;e[n]!==r[i];)if(++n===o)return!1;A=n,n++,i++;continue}let l=n===e.length,c=i===r.length,d=i===r.length-1&&"*"===r[i];return l&&(c||d)}function Cv(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:CR(e),destroy:CM,log:CD.log,namespace:e,extend:CU});return Cw.push(t),t}function CM(){let e=Cw.indexOf(this);return e>=0&&(Cw.splice(e,1),!0)}function CU(e){let t=Cv(`${this.namespace}:${e}`);return t.log=this.log,t}let CF=["verbose","info","warning","error"],CT={verbose:400,info:300,warning:200,error:100};function CL(e,t){t.log=(...t)=>{e.log(...t)}}function CO(e){return CF.includes(e)}function CH(e){var t;let r,n=new Set,i=(t=e.logLevelEnvVarName,CQ.env[t]),s=CD(e.namespace);function o(e){if(e&&!CO(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${CF.join(",")}`);r=e;let t=[];for(let e of n)a(e)&&t.push(e.namespace);CD.enable(t.join(","))}function a(e){return!!(r&&CT[e.level]<=CT[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(CL(e,r),a(r)){let e=CD.disable();CD.enable(e+","+r.namespace)}return n.add(r),r}return s.log=(...e)=>{CD.log(...e)},i&&(CO(i)?o(i):console.error(`${e.logLevelEnvVarName} set to unknown log level '${i}'; logging is not enabled. Acceptable values: ${CF.join(", ")}.`)),{setLogLevel:o,getLogLevel:function(){return r},createClientLogger:function(e){let t=s.extend(e);return CL(s,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:s}}let CP=CH({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function CY(e){return CP.createClientLogger(e)}function CG(e){return e.toLowerCase()}CP.logger;class Cz{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(CG(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(CG(e))?.value}has(e){return this._headersMap.has(CG(e))}delete(e){this._headersMap.delete(CG(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function Cq(e){return new Cz(e)}function CV(){return globalThis.crypto.randomUUID()}class C_{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??Cq(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||CV(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let CJ=new Set(["Deserialize","Serialize","Retry","Sign"]);class CW{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!CJ.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!CJ.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new CW(this._policies)}static create(){return new CW}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let n=r("Serialize"),i=r("None"),s=r("Deserialize"),o=r("Retry"),a=r("Sign"),A=[n,i,s,o,a];function l(e){return"Retry"===e?o:"Serialize"===e?n:"Deserialize"===e?s:"Sign"===e?a:i}for(let e of this._policies){let r=e.policy,n=e.options,i=r.name;if(t.has(i))throw Error("Duplicate policy names not allowed in pipeline");let s={policy:r,dependsOn:new Set,dependants:new Set};n.afterPhase&&(s.afterPhase=l(n.afterPhase),s.afterPhase.hasAfterPolicies=!0),t.set(i,s),l(n.phase).policies.add(s)}for(let e of this._policies){let{policy:r,options:n}=e,i=r.name,s=t.get(i);if(!s)throw Error(`Missing node for policy ${i}`);if(n.afterPolicies)for(let e of n.afterPolicies){let r=t.get(e);r&&(s.dependsOn.add(r),r.dependants.add(s))}if(n.beforePolicies)for(let e of n.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(s),s.dependants.add(r))}}function c(r){for(let n of(r.hasRun=!0,r.policies))if((!n.afterPhase||n.afterPhase.hasRun&&!n.afterPhase.policies.size)&&0===n.dependsOn.size){for(let t of(e.push(n.policy),n.dependants))t.dependsOn.delete(n);t.delete(n.policy.name),r.policies.delete(n)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==i){i.hasRun||c(i);return}e.hasAfterPolicies&&c(i)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function Cj(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function CK(e){if(Cj(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let CX=CB.inspect.custom,CZ="REDACTED",C$=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],C0=["api-version"];class C1{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=C$.concat(e),t=C0.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&Cj(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&Cj(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||Cj(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,CZ);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=CZ;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=CZ;return t}}let C2=new C1;class C3 extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,CX,{value:()=>`RestError: ${this.message} - ${C2.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,C3.prototype)}}function C4(e){return e instanceof C3||CK(e)&&"RestError"===e.name}var C5=o(8522);let C8=CY("ts-http-runtime"),C9={};function C6(e){return e&&"function"==typeof e.pipe}function C7(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function fe(e){return e&&"number"==typeof e.byteLength}class ft extends p9.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class fr{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,n,i=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new Cy("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&i.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new C1;C8.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),i.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),o=s?.includes("gzip")||s?.includes("deflate"),a="function"==typeof e.body?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(C6(e))return null;if(fe(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(a);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(a&&e.onUploadProgress){let t=e.onUploadProgress,r=new ft(t);r.on("error",e=>{C8.error("Error in upload progress",e)}),C6(a)?a.pipe(r):r.end(a),a=r}let t=await this.makeRequest(e,i,a);void 0!==r&&clearTimeout(r);let s=function(e){let t=Cq();for(let r of Object.keys(e.headers)){let n=e.headers[r];Array.isArray(n)?n.length>0&&t.set(r,n[0]):n&&t.set(r,n)}return t}(t),l={status:t.statusCode??0,headers:s,request:e};if("HEAD"===e.method)return t.resume(),l;n=o?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=C5.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=C5.createInflate();return e.pipe(t),t}return e}(t,s):t;let c=e.onDownloadProgress;if(c){let e=new ft(c);e.on("error",e=>{C8.error("Error in download progress",e)}),n.pipe(e),n=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=n:l.bodyAsText=await (A=n,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new C3(`Error reading response as text: ${e.message}`,{code:C3.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();C6(a)&&(r=C7(a));let i=Promise.resolve();C6(n)&&(i=C7(n)),Promise.all([r,i]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{C8.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let n=new URL(e.url),i="https:"!==n.protocol;if(i&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let s={agent:e.agent??this.getOrCreateAgent(e,i),hostname:n.hostname,path:`${n.pathname}${n.search}`,port:n.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((n,o)=>{let a=i?p5.request(s,n):p8.request(s,n);a.once("error",t=>{o(new C3(t.message,{code:t.code??C3.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new Cy("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e),o(e)}),r&&C6(r)?r.pipe(a):r?"string"==typeof r||Buffer.isBuffer(r)?a.end(r):fe(r)?a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(C8.error("Unrecognized body type",r),o(new C3("Unrecognized body type"))):a.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?p5.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new p5.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return p8.globalAgent;let t=e.tlsSettings??C9,n=this.cachedHttpsAgents.get(t);return n&&!r===n.options.keepAlive||(C8.info("No cached TLS Agent exist, creating a new Agent"),n=new p8.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,n)),n}}}let fn="Retry-After",fi=["retry-after-ms","x-ms-retry-after-ms",fn];function fs(e){if(e&&[429,503].includes(e.status))try{for(let t of fi){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let n=Number(r);if(!Number.isNaN(n))return n}(e,t);if(0===r||r){let e=t===fn?1e3:1;return r*e}}let t=e.headers.get(fn);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let fo=CY("ts-http-runtime retryPolicy");function fa(e,t){return Buffer.from(e,t)}async function fA(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let n=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)n.push({headers:Cq({"Content-Disposition":`form-data; name="${t}"`}),body:fa(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",i=Cq();i.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),i.set("Content-Type",e.type||"application/octet-stream"),n.push({headers:i,body:e})}t.multipartBody={parts:n}}var fl=o(6565),fc=o(7277);let fd=[],fg=!1,fu=new Map;function fh(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function fm(){if(!process)return;let e=fh("HTTPS_PROXY"),t=fh("ALL_PROXY"),r=fh("HTTP_PROXY");return e||t||r}function fp(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function fC(e,t,r){if(e.agent)return;let n="https:"!==new URL(e.url).protocol;e.tlsSettings&&C8.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),n?(t.httpProxyAgent||(t.httpProxyAgent=new fc.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new fl.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let ff="redirectPolicy",fI=["GET","HEAD"];async function fE(e,t,r,n,i=0){let{request:s,status:o,headers:a}=t,A=a.get("location");if(A&&(300===o||301===o&&fI.includes(s.method)||302===o&&fI.includes(s.method)||303===o&&"POST"===s.method||307===o)&&i<r){let a=new URL(A,s.url);if(!n){let e=new URL(s.url);if(a.origin!==e.origin)return C8.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`),t}s.url=a.toString(),303===o&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let l=await e(s);return fE(e,l,r,n,i+1)}return t}let fy=n("stream");function fB(e){return e instanceof Blob}async function*fQ(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function fN(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=fQ.bind(e)),e.values||(e.values=fQ.bind(e)),fy.Readable.fromWeb(e)):e}function fb(e){return e instanceof Uint8Array?fy.Readable.from(Buffer.from(e)):fB(e)?fN(e.stream()):fN(e)}async function fS(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(fb);return fy.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function fw(e,t,r){let n=[fa(`--${r}`,"utf-8"),...t.flatMap(e=>[fa("\r\n","utf-8"),fa(function(e){let t="";for(let[r,n]of e)t+=`${r}: ${n}\r -`;return t}(e.headers),"utf-8"),fa("\r\n","utf-8"),e.body,fa(`\r ---${r}`,"utf-8")]),fa("--\r\n\r\n","utf-8")],i=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:fB(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(n);i&&e.headers.set("Content-Length",i),e.body=await fS(n)}let fD="multipartPolicy",fx=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),fR=CH({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function fk(e){return fR.createClientLogger(e)}fR.logger;let fv=fk("core-rest-pipeline"),fM="decompressResponsePolicy";async function fU(e){if(CQ&&CQ.versions){let t=`${mn.type()} ${mn.release()}; ${mn.arch()}`;CQ.versions.bun?e.set("Bun",`${CQ.versions.bun} (${t})`):CQ.versions.deno?e.set("Deno",`${CQ.versions.deno} (${t})`):CQ.versions.node&&e.set("Node",`${CQ.versions.node} (${t})`)}}async function fF(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await fU(t);let r=function(e){let t=[];for(let[r,n]of e){let e=n?`${r}/${n}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let fT="User-Agent",fL=Symbol("rawContent");function fO(e){return"function"==typeof e[fL]}class fH extends Error{constructor(e){super(e),this.name="AbortError"}}function fP(e,t){let r,{abortSignal:n,abortErrorMsg:i}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:n,abortErrorMsg:i}=t??{};return new Promise((t,s)=>{function o(){s(new fH(i??"The operation was aborted."))}function a(){n?.removeEventListener("abort",A)}function A(){r?.(),a(),o()}if(n?.aborted)return o();try{e(e=>{a(),t(e)},e=>{a(),s(e)})}catch(e){s(e)}n?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:n,abortErrorMsg:i??"The delay was aborted."})}function fY(e){if(CK(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function fG(e){var t=e;if(!t&&!(t=fm()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let fz={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class fq{_contextMap;constructor(e){this._contextMap=e instanceof fq?new Map(e._contextMap):new Map}setValue(e,t){let r=new fq(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new fq(this);return t._contextMap.delete(e),t}}let fV=o(7301).w;function f_(){return fV.instrumenterImplementation||(fV.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new fq(e.parentContext);return e.span&&(t=t.setValue(fz.span,e.span)),e.namespace&&(t=t.setValue(fz.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),fV.instrumenterImplementation}function fJ(e){let{namespace:t,packageName:r,packageVersion:n}=e;function i(e,i,s){let o=f_().startSpan(e,{...s,packageName:r,packageVersion:n,tracingContext:i?.tracingOptions?.tracingContext}),a=o.tracingContext,A=o.span;return a.getValue(fz.namespace)||(a=a.setValue(fz.namespace,t)),A.setAttribute("az.namespace",a.getValue(fz.namespace)),{span:A,updatedOptions:Object.assign({},i,{tracingOptions:{...i?.tracingOptions,tracingContext:a}})}}async function s(e,t,r,n){let{span:s,updatedOptions:a}=i(e,t,n);try{let e=await o(a.tracingOptions.tracingContext,()=>r(a,s));return s.setStatus({status:"success"}),e}catch(e){throw s.setStatus({status:"error",error:e}),e}finally{s.end()}}function o(e,t,...r){return f_().withContext(e,t,...r)}return{startSpan:i,withSpan:s,withContext:o,parseTraceparentHeader:function(e){return f_().parseTraceparentHeader(e)},createRequestHeaders:function(e){return f_().createRequestHeaders(e)}}}function fW(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function n(){r&&(e.removeEventListener("abort",i),r=!1)}function i(){t.abort("reason"in e?e.reason:void 0),n()}return e.addEventListener("abort",i),{abortSignal:t.signal,cleanup:n}}function fj(){let e=new fr;return{async sendRequest(t){let{abortSignal:r,cleanup:n}=t.abortSignal?fW(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{n?.()}}}}fk("core-rest-pipeline retryPolicy");let fK={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function fX(e,t,r){async function n(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let i=await n();for(;null===i;)await fP(t),i=await n();return i}async function fZ(e,t){try{return[await t(e),void 0]}catch(e){if(C4(e)&&e.response)return[e.response,e];throw e}}async function f$(e){let{scopes:t,getAccessToken:r,request:n}=e,i={abortSignal:n.abortSignal,tracingOptions:n.tracingOptions,enableCae:!0},s=await r(t,i);s&&e.request.headers.set("Authorization",`Bearer ${s.token}`)}function f0(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function f1(e,t){let{scopes:r}=e,n=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!n&&(e.request.headers.set("Authorization",`${n.tokenType??"Bearer"} ${n.token}`),!0)}function f2(e){let{credential:t,scopes:r,challengeCallbacks:n}=e,i=e.logger||fv,s={authorizeRequest:n?.authorizeRequest?.bind(n)??f$,authorizeRequestOnChallenge:n?.authorizeRequestOnChallenge?.bind(n)},o=t?function(e){let t,r=null,n=null,i={...fK,...void 0},s={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===n)return!0;if(s.isRefreshing)return!1;if(n.refreshAfterTimestamp&&n.refreshAfterTimestamp<Date.now())return!0;return n.expiresOnTimestamp-i.refreshWindowInMs<Date.now()},get mustRefresh(){return null===n||n.expiresOnTimestamp-i.forcedRefreshWindowInMs<Date.now()}};function o(o,a){return s.isRefreshing||(r=fX(()=>e.getToken(o,a),i.retryIntervalInMs,n?.expiresOnTimestamp??Date.now()).then(e=>(r=null,n=e,t=a.tenantId,n)).catch(e=>{throw r=null,n=null,t=void 0,e})),r}return async(e,r)=>{let i=!!r.claims,a=t!==r.tenantId;return(i&&(n=null),a||i||s.mustRefresh)?o(e,r):(s.shouldRefresh&&o(e,r),n)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let n,a;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:i}),[n,a]=await fZ(e,t),f0(n)){let A=f3(n.headers.get("WWW-Authenticate"));if(A){let s;try{s=atob(A)}catch(e){return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),n}await f1({scopes:Array.isArray(r)?r:[r],response:n,request:e,getAccessToken:o,logger:i},s)&&([n,a]=await fZ(e,t))}else if(s.authorizeRequestOnChallenge&&(await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:n,getAccessToken:o,logger:i})&&([n,a]=await fZ(e,t)),f0(n))&&(A=f3(n.headers.get("WWW-Authenticate")??""))){let s;try{s=atob(A)}catch(e){return i.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),n}await f1({scopes:Array.isArray(r)?r:[r],response:n,request:e,getAccessToken:o,logger:i},s)&&([n,a]=await fZ(e,t))}}if(!a)return n;throw a}}}function f3(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,n=/(\w+)="([^"]*)"/g,i=[];for(;null!==(t=r.exec(e));){let e,r=t[1],s=t[2],o={};for(;null!==(e=n.exec(s));)o[e[1]]=e[2];i.push({scheme:r,params:o})}return i}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function f4(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let f5="DisableKeepAlivePolicy";function f8(e){return Buffer.from(e).toString("base64")}function f9(e){return fa(e,"base64")}let f6=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,f7=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function Ie(e,t){var r,n;let i,s=e.parsedHeaders;if("HEAD"===e.request.method)return{...s,body:e.parsedBody};let o=t&&t.bodyMapper,a=!!o?.nullable,A=o?.type.name;if("Stream"===A)return{...s,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&o.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(s)for(let e of Object.keys(s))t[e]=s[e];return!a||e.parsedBody||s||0!==Object.getOwnPropertyNames(l).length?t:null}return i={...(n={body:e.parsedBody,headers:s,hasNullableType:a,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...n.body},n.hasNullableType&&0===Object.getOwnPropertyNames(i).length?n.shouldWrapBody?{body:null}:null:n.shouldWrapBody?{...n.headers,body:n.body}:i}class It{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let n=(e,n)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${n}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:i,InclusiveMaximum:s,InclusiveMinimum:o,MaxItems:a,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:g,UniqueItems:u}=e.constraints;if(void 0!==r&&t>=r&&n("ExclusiveMaximum",r),void 0!==i&&t<=i&&n("ExclusiveMinimum",i),void 0!==s&&t>s&&n("InclusiveMaximum",s),void 0!==o&&t<o&&n("InclusiveMinimum",o),void 0!==a&&t.length>a&&n("MaxItems",a),void 0!==A&&t.length>A&&n("MaxLength",A),void 0!==l&&t.length<l&&n("MinItems",l),void 0!==c&&t.length<c&&n("MinLength",c),void 0!==d&&t%d!=0&&n("MultipleOf",d),g){let e="string"==typeof g?new RegExp(g):g;("string"!=typeof t||null===t.match(e))&&n("Pattern",g)}u&&t.some((e,t,r)=>r.indexOf(e)!==t)&&n("UniqueItems",u)}}serialize(e,t,r,n={xml:{}}){let i={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"}},s={},o=e.type.name;r||(r=e.serializedName),null!==o.match(/^Sequence$/i)&&(s=[]),e.isConstant&&(t=e.defaultValue);let{required:a,nullable:A}=e;if(a&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(a&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!a&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==o.match(/^any$/i)?s=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?s=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&f7.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(o,r,t):null!==o.match(/^Enum$/i)?s=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?s=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var n;if(null!==e.match(/^TimeSpan$/i)&&(n=t,!f6.test(n)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(o,t,r):null!==o.match(/^ByteArray$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=f8(t)}return t}(r,t):null!==o.match(/^Base64Url$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(f8(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==o.match(/^Sequence$/i)?s=function(e,t,r,n,i,s){if(!Array.isArray(r))throw Error(`${n} must be of type Array.`);let o=t.type.element;if(!o||"object"!=typeof o)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${n}.`);"Composite"===o.type.name&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let a=[];for(let t=0;t<r.length;t++){let A=e.serialize(o,r[t],n,s);if(i&&o.xmlNamespace){let e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";"Composite"===o.type.name?a[t]={...A}:(a[t]={},a[t][s.xml.xmlCharKey]=A),a[t].$={[e]:o.xmlNamespace}}else a[t]=A}return a}(this,e,t,r,!!this.isXML,i):null!==o.match(/^Dictionary$/i)?s=function(e,t,r,n,i,s){if("object"!=typeof r)throw Error(`${n} must be of type object.`);let o=t.type.value;if(!o||"object"!=typeof o)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}.`);let a={};for(let t of Object.keys(r)){let A=e.serialize(o,r[t],n,s);a[t]=Io(o,A,i,s)}return i&&t.xmlNamespace?(a.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},a):a}(this,e,t,r,!!this.isXML,i):null!==o.match(/^Composite$/i)&&(s=function(e,t,r,n,i,s){if(IA(e,t)&&(t=Ia(e,t,r,"clientName")),null!=r){let o={},a=Is(e,t,n);for(let A of Object.keys(a)){let l,c=a[A];if(c.readOnly)continue;let d=o;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=In(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(i&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let o=""!==c.serializedName?n+"."+c.serializedName:n,a=r[A],g=IA(e,t);g&&g.clientName===A&&null==a&&(a=t.serializedName);let u=e.serialize(c,a,o,s);if(void 0!==u&&null!=l){let e=Io(c,u,i,s);i&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=u):i&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let n=t.type.additionalProperties;if(!n&&t.type.className){let n=Ii(e,t,r);return n?.type.additionalProperties}return n}(e,t,n);if(A){let t=Object.keys(a);for(let i of Object.keys(r))t.every(e=>e!==i)&&Object.defineProperty(o,i,{value:e.serialize(A,r[i],n+'["'+i+'"]',s),enumerable:!0,configurable:!0,writable:!0})}return o}return r}(this,e,t,r,!!this.isXML,i)),s}deserialize(e,t,r,n={xml:{}}){let i,s={xml:{rootName:n.xml.rootName??"",includeRoot:n.xml.includeRoot??!1,xmlCharKey:n.xml.xmlCharKey??"_"},ignoreUnknownProperties:n.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let o=e.type.name;if(r||(r=e.serializedName),null!==o.match(/^Composite$/i))i=function(e,t,r,n,i){let s=i.xml.xmlCharKey??"_";IA(e,t)&&(t=Ia(e,t,r,"serializedName"));let o=Is(e,t,n),a={},A=[];for(let l of Object.keys(o)){let c=o[l],d=In(o[l].serializedName);A.push(d[0]);let{serializedName:g,xmlName:u,xmlElementName:h}=c,m=n;""!==g&&void 0!==g&&(m=n+"."+g);let p=c.headerCollectionPrefix;if(p){let t={};for(let n of Object.keys(r))n.startsWith(p)&&(t[n.substring(p.length)]=e.deserialize(c.type.value,r[n],m,i)),A.push(n);a[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)a[l]=e.deserialize(c,r.$[u],m,i);else if(c.xmlIsMsText)void 0!==r[s]?a[l]=r[s]:"string"==typeof r&&(a[l]=r);else{let t=h||u||g;if(c.xmlIsWrapped){let t=r[u],n=t?.[h]??[];Object.defineProperty(a,l,{value:e.deserialize(c,n,m,i),enumerable:!0,configurable:!0,writable:!0}),A.push(u)}else{let n=r[t];a[l]=e.deserialize(c,n,m,i),A.push(t)}}else{let n,s,A=r,g=0;for(let e of d){if(!A)break;g++,A=A[e]}null===A&&g<d.length&&(A=void 0),n=A;let u=t.type.polymorphicDiscriminator;if(u&&l===u.clientName&&null==n&&(n=t.serializedName),Array.isArray(r[l])&&""===o[l].serializedName){n=r[l];let t=e.deserialize(c,n,m,i);for(let[e,r]of Object.entries(a))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);a=t}else(void 0!==n||void 0!==c.defaultValue)&&(s=e.deserialize(c,n,m,i),a[l]=s)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(o))if(In(o[t].serializedName)[0]===e)return!1;return!0};for(let s of Object.keys(r))if(t(s)){let t=e.deserialize(l,r[s],n+'["'+s+'"]',i);Object.defineProperty(a,s,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!i.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==a[e]||A.includes(e)||["$",i.xml.xmlCharKey].includes(e)||Object.defineProperty(a,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return a}(this,e,t,r,s);else{if(this.isXML){let e=s.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==o.match(/^Number$/i)?isNaN(i=parseFloat(t))&&(i=t):null!==o.match(/^Boolean$/i)?i="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?i=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?i=new Date(t):null!==o.match(/^UnixTime$/i)?i=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/i)?i=f9(t):null!==o.match(/^Base64Url$/i)?i=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return f9(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==o.match(/^Sequence$/i)?i=function(e,t,r,n,i){let s=t.type.element;if(!s||"object"!=typeof s)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${n}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===s.type.name&&s.type.className&&(s=e.modelMappers[s.type.className]??s);let t=[];for(let o=0;o<r.length;o++)t[o]=e.deserialize(s,r[o],`${n}[${o}]`,i);return t}return r}(this,e,t,r,s):null!==o.match(/^Dictionary$/i)&&(i=function(e,t,r,n,i){let s=t.type.value;if(!s||"object"!=typeof s)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${n}`);if(r){let t={};for(let o of Object.keys(r))t[o]=e.deserialize(s,r[o],n,i);return t}return r}(this,e,t,r,s))}return e.isConstant&&(i=e.defaultValue),i}}function Ir(e={},t=!1){return new It(e,t)}function In(e){let t=[],r="";if(e)for(let n of e.split("."))"\\"===n.charAt(n.length-1)?r+=n.substr(0,n.length-1)+".":(r+=n,t.push(r),r="");return t}function Ii(e,t,r){let n=t.type.className;if(!n)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[n]}function Is(e,t,r){let n=t.type.modelProperties;if(!n){let i=Ii(e,t,r);if(!i)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(n=i?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(i)}" of type "${t.type.className}" for object "${r}".`)}return n}function Io(e,t,r,n){if(!r||!e.xmlNamespace)return t;let i={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=i,e}let s={};return s[n.xml.xmlCharKey]=t,s.$=i,s}function Ia(e,t,r,n){let i=IA(e,t);if(i){let s=i[n];if(s){"serializedName"===n&&(s=s.replace(/\\/gi,""));let i=r[s],o=t.type.uberParent??t.type.className;if("string"==typeof i&&o){let r=function(e,t,r){let n=[r];for(;n.length;){let r=n.shift(),i=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,i))return e[i];for(let[t,i]of Object.entries(e))t.startsWith(r+".")&&i.type.uberParent===r&&i.type.className&&n.push(i.type.className)}}(e.modelMappers.discriminators,i,o);r&&(t=r)}}}return t}function IA(e,t){return t.type.polymorphicDiscriminator||Il(e,t.type.uberParent)||Il(e,t.type.className)}function Il(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let Ic="Sequence",Id="Stream",Ig=o(5997).w;function Iu(e,t,r){let n,i=t.parameterPath,s=t.mapper;if("string"==typeof i&&(i=[i]),Array.isArray(i)){if(i.length>0)if(s.isConstant)n=s.defaultValue;else{let t=Ih(e,i);!t.propertyFound&&r&&(t=Ih(r,i));let o=!1;t.propertyFound||(o=s.required||"options"===i[0]&&2===i.length),n=o?s.defaultValue:t.propertyValue}}else for(let[t,o]of(s.required&&(n={}),Object.entries(i))){let i=Iu(e,{parameterPath:o,mapper:s.type.modelProperties[t]},r);void 0!==i&&(n||(n={}),Object.defineProperty(n,t,{value:i,enumerable:!0,configurable:!0,writable:!0}))}return n}function Ih(e,t){let r={propertyFound:!1},n=0;for(;n<t.length;++n){let r=t[n];if(e&&r in e)e=e[r];else break}return n===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let Im=Symbol.for("@azure/core-client original request");function Ip(e){if(Im in e)return Ip(e[Im]);let t=Ig.operationRequestMap.get(e);return t||(t={},Ig.operationRequestMap.set(e,t)),t}let IC=["application/json","text/json"],If=["application/xml","application/atom+xml"];async function II(e,t,r,n,i){let s,o,a,A,l,c=await IE(e,t,r,n,i);if(s=Ip(c.request),!(void 0===(o=s?.shouldDeserialize)||("boolean"==typeof o?o:o(c))))return c;let d=Ip(c.request),g=d?.operationSpec;if(!g||!g.responses)return c;let u=(A=Ip(c.request),(l=A?.operationSpec)&&(a=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),a),{error:h,shouldReturnResponse:m}=function(e,t,r,n){let i,s=200<=e.status&&e.status<300;if(0===(i=Object.keys(t.responses)).length||1===i.length&&"default"===i[0]?s:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let o=r??t.responses.default,a=new C3(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw a;let A=o?.bodyMapper,l=o?.headersMapper;try{if(e.parsedBody){let r,i=e.parsedBody;if(A){let e=i;if(t.isXML&&A.type.name===Ic){e=[];let t=A.xmlElementName;"object"==typeof i&&t&&(e=i[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",n)}let s=i.error||r||i;a.code=s.code,s.message&&(a.message=s.message),A&&(a.response.parsedBody=r)}e.headers&&l&&(a.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){a.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:a,shouldReturnResponse:!1}}(c,g,u,n);if(h)throw h;if(m)return c;if(u){if(u.bodyMapper){let e=c.parsedBody;g.isXML&&u.bodyMapper.type.name===Ic&&(e="object"==typeof e?e[u.bodyMapper.xmlElementName]:[]);try{c.parsedBody=g.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",n)}catch(e){throw new C3(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===g.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);u.headersMapper&&(c.parsedHeaders=g.serializer.deserialize(u.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function IE(e,t,r,n,i){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(e=>e.toLowerCase()):[];try{if(0===a.length||a.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(s);else if(a.some(e=>-1!==t.indexOf(e))){if(!i)throw Error("Parsing XML not supported.");r.parsedBody=await i(s,n.xml)}}catch(n){let e=`Error "${n}" occurred while parsing the response body - ${r.bodyAsText}.`,t=n.code||C3.PARSE_ERROR;throw new C3(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function Iy(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function IB(e={}){var t,r,n,i,s;let o,a,A,l,c,d,g=(t=e??{},a=CW.create(),t.agent&&a.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&a.addPolicy((n=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=n),t(e))})),a.addPolicy((i=t.proxyOptions,s=void 0,fg||fd.push(...(A=fh("NO_PROXY"),(fg=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=i?fp(i):(l=fm())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let n=new URL(e).hostname;if(r?.has(n))return r.get(n);let i=!1;for(let e of t)"."===e[0]?n.endsWith(e)?i=!0:n.length===e.length-1&&n===e.slice(1)&&(i=!0):n===e&&(i=!0);return r?.set(n,i),i}(e.url,s?.customNoProxyList??fd,s?.customNoProxyList?void 0:fu)?fC(e,d,c):e.proxySettings&&fC(e,d,fp(e.proxySettings)),t(e))})),a.addPolicy({name:fM,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),a.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:n}=fW(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{n?.()}}}),a.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,n]of e.entries()){let e=t[r];Array.isArray(e)?e.push(n):t[r]=void 0!==e?[e,n]:[n]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,n]of Object.entries(e))if(Array.isArray(n))for(let e of n)t.append(r,e.toString());else t.append(r,n.toString());return t.toString()}(e.formData):await fA(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[fD]}),a.addPolicy(function(e={}){let t=fF(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(fT)||e.headers.set(fT,await t),r(e))}}(t.userAgentOptions)),a.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),a.addPolicy((o={name:fD,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,n=e.headers.get("Content-Type")??"multipart/mixed",i=n.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!i)throw Error(`Got multipart request body, but content-type header was not multipart: ${n}`);let[,s,o]=i;if(o&&r&&o!==r)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);if(r??=o){var a=r;if(a.length>70)throw Error(`Multipart boundary "${a}" exceeds maximum length of 70 characters`);if(Array.from(a).some(e=>!fx.has(e)))throw Error(`Multipart boundary "${a}" contains invalid characters`)}else r=`----AzSDKFormBoundary${CV()}`;return e.headers.set("Content-Type",`${s}; boundary=${r}`),await fw(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:fD,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;fO(t.body)&&(t.body=fO(r=t.body)?r[fL]():r)}return o.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),a.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||fo;return{name:"retryPolicy",async sendRequest(n,i){let s,o,a=-1;e:for(;;){a+=1,s=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,n.requestId),s=await i(n),r.info(`Retry ${a}: Received a response from request`,n.requestId)}catch(e){if(r.error(`Retry ${a}: Received an error from request`,n.requestId),!C4(e))throw e;o=e,s=e.response}if(n.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new Cy;if(a>=(t.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(s)return s;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${a}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);let i=t.retry({retryCount:a,response:s,responseError:o});if(i.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=i;if(A)throw e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((n,i)=>{let s,o,a=()=>i(new Cy(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(s&&clearTimeout(s),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();s=setTimeout(()=>{A(),n(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}(l,void 0,{abortSignal:n.abortSignal});continue e}if(c){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${c}`),n.url=c;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=fs(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:n,response:i,responseError:s}){var o,a,A,l,c;let d,g,u=!!(l=s)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=u&&e.ignoreSystemErrors,m=!!((c=i)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),p=m&&e.ignoreHttpStatusCodes;return i&&(Number.isFinite(fs(i))||!m)||p||h?{skipStrategy:!0}:!s||u||m?(d=(o={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,n),{retryAfterInMs:(g=Math.min(o.maxRetryDelayInMs,d))/2+(a=0,A=g/2,a=Math.ceil(a),Math.floor(Math.random()*((A=Math.floor(A))-a+1))+a)}):{errorToThrow:s}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),a.addPolicy(function(e={}){let t=fF(e.userAgentPrefix),r=new C1({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),n=function(){try{return fJ({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){fv.warning(`Error when creating the TracingClient: ${fY(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,i){if(!n)return i(e);let s=await t,o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":s,requestId:e.requestId};s&&(o["http.user_agent"]=s);let{span:a,tracingContext:A}=function(e,t,r){try{let{span:n,updatedOptions:i}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!n.isRecording())return void n.end();let s=e.createRequestHeaders(i.tracingOptions.tracingContext);for(let[e,r]of Object.entries(s))t.headers.set(e,r);return{span:n,tracingContext:i.tracingOptions.tracingContext}}catch(e){fv.warning(`Skipping creating a tracing span due to an error: ${fY(e)}`);return}}(n,e,o)??{};if(!a||!A)return i(e);try{let t=await n.withContext(A,i,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){fv.warning(`Skipping tracing span processing due to an error: ${fY(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:CK(t)?t:void 0}),C4(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){fv.warning(`Skipping tracing span processing due to an error: ${fY(e)}`)}}(a,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:ff,async sendRequest(e,n){let i=await n(e);return fE(n,i,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let t=e.logger??C8.info,r=new C1({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,n){if(!t.enabled)return n(e);t(`Request: ${r.sanitize(e)}`);let i=await n(e);return t(`Response status code: ${i.status}`),t(`Headers: ${r.sanitize({headers:i.headers})}`),i}}}({logger:fv.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),a);return e.credentialOptions&&g.addPolicy(f2({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),g.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let n=Ip(e),i=n?.operationSpec,s=n?.operationArguments;return i&&s&&(function(e,t,r){if(r.headerParameters)for(let n of r.headerParameters){let i=Iu(t,n);if(null!=i||n.mapper.required){i=r.serializer.serialize(n.mapper,i,Iy(n));let t=n.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(i))e.headers.set(t+r,i[r]);else e.headers.set(n.mapper.serializedName||Iy(n),i)}}let n=t.options?.requestOptions?.customHeaders;if(n)for(let t of Object.keys(n))e.headers.set(t,n[t])}(e,s,i),function(e,t,r,n=function(){throw Error("XML serialization unsupported!")}){let i=t.options?.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??"_"}},o=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=Iu(t,r.requestBody);let i=r.requestBody.mapper,{required:a,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:g,nullable:u}=i,h=i.type.name;try{if(void 0!==e.body&&null!==e.body||u&&null===e.body||a){let t=Iy(r.requestBody);e.body=r.serializer.serialize(i,e.body,t,s);let a=h===Id;if(r.isXML){let t=g?`xmlns:${g}`:"xmlns",r=function(e,t,r,n,i){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[i.xml.xmlCharKey]=n,r.$={[t]:e},r}return n}(d,t,h,e.body,s);h===Ic?e.body=n(function(e,t,r,n){if(Array.isArray(e)||(e=[e]),!r||!n)return{[t]:e};let i={[t]:e};return i.$={[r]:n},i}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:o}):a||(e.body=n(r,{rootName:l||A,xmlCharKey:o}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;a||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let n of(e.formData={},r.formDataParameters)){let i=Iu(t,n);if(null!=i){let t=n.mapper.serializedName||Iy(n);e.formData[t]=r.serializer.serialize(n.mapper,i,Iy(n),s)}}}(e,s,i,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),g.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??IC,r=e.expectedContentTypes?.xml??If,n=e.parseXML,i=e.serializerOptions,s={xml:{rootName:i?.xml.rootName??"",includeRoot:i?.xml.includeRoot??!1,xmlCharKey:i?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,i)=>II(t,r,await i(e),s,n)}}(e.deserializationOptions),{phase:"Deserialize"}),g}let IQ={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function IN(e,t){let r=e;for(let[e,n]of t)r=r.split(e).join(n);return r}let Ib=fk("core-client");class IS{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var r;let n,i;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&Ib.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(t||(t=fj()),t),this.pipeline=e.pipeline||(n=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(r=e),i=r.credential&&n?{credentialScopes:n,credential:r.credential}:void 0,IB({...r,credentialOptions:i})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let n=new C_({url:function(e,t,r,n){let i=function(e,t,r){let n=new Map;if(e.urlParameters?.length)for(let i of e.urlParameters){let s=Iu(t,i,r),o=Iy(i);s=e.serializer.serialize(i.mapper,s,o),i.skipEncoding||(s=encodeURIComponent(s)),n.set(`{${i.mapper.serializedName||o}}`,s)}return n}(t,r,n),s=!1,o=IN(e,i);if(t.path){let e=IN(t.path,i);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(o=e,s=!0):o=function(e,t){if(!t)return e;let r=new URL(e),n=r.pathname;n.endsWith("/")||(n=`${n}/`),t.startsWith("/")&&(t=t.substring(1));let i=t.indexOf("?");if(-1!==i){let e=t.substring(0,i),s=t.substring(i+1);n+=e,s&&(r.search=r.search?`${r.search}&${s}`:s)}else n+=t;return Object.assign(r,{pathname:n}),r.toString()}(o,e)}let{queryParams:a,sequenceParams:A}=function(e,t,r){let n=new Map,i=new Set;if(e.queryParameters?.length)for(let s of e.queryParameters){"Sequence"===s.mapper.type.name&&s.mapper.serializedName&&i.add(s.mapper.serializedName);let o=Iu(t,s,r);if(null!=o||s.mapper.required){o=e.serializer.serialize(s.mapper,o,Iy(s));let t=s.collectionFormat?IQ[s.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(e=>null==e?"":e)),"Multi"===s.collectionFormat&&0===o.length)continue;Array.isArray(o)&&("SSV"===s.collectionFormat||"TSV"===s.collectionFormat)&&(o=o.join(t)),s.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&("CSV"===s.collectionFormat||"Pipes"===s.collectionFormat)&&(o=o.join(t)),n.set(s.mapper.serializedName||Iy(s),o)}}return{queryParams:n,sequenceParams:i}}(t,r,n);return function(e,t,r,n=!1){if(0===t.size)return e;let i=new URL(e),s=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,n]=r.split("=",2),i=t.get(e);i?Array.isArray(i)?i.push(n):t.set(e,[i,n]):t.set(e,n)}return t}(i.search);for(let[e,i]of t){let t=s.get(e);if(Array.isArray(t))if(Array.isArray(i)){t.push(...i);let r=new Set(t);s.set(e,Array.from(r))}else t.push(i);else t?(Array.isArray(i)?i.unshift(t):r.has(e)&&s.set(e,[t,i]),n||s.set(e,i)):s.set(e,i)}let o=[];for(let[e,t]of s)if("string"==typeof t)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)o.push(`${e}=${r}`);else o.push(`${e}=${t}`);return i.search=o.length?`?${o.join("&")}`:"",i.toString()}(o,a,A,s)}(r,t,e,this)});n.method=t.httpMethod;let i=Ip(n);i.operationSpec=t,i.operationArguments=e;let s=t.contentType||this._requestContentType;s&&t.requestBody&&n.headers.set("Content-Type",s);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(n.timeout=e.timeout),e.onUploadProgress&&(n.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(n.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(i.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(n.allowInsecureConnection=!0)),o.abortSignal&&(n.abortSignal=o.abortSignal),o.tracingOptions&&(n.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(n.allowInsecureConnection=!0),void 0===n.streamResponseStatusCodes&&(n.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,n]of Object.entries(e.responses))n.bodyMapper&&n.bodyMapper.type.name===Id&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(n),r=Ie(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,n=Ie(r,t.responses[e.statusCode]||t.responses.default);e.details=n,o?.onResponse&&o.onResponse(r,n,e)}throw e}}}let Iw="authorization",ID=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},n=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(n){let t,i=(t=n.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),s=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),n=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===n&&(n="https://disk.azure.com//.default"),[n]}(e,i),o=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(i);if(!o)return!1;let a=await e.getAccessToken(s,{...r,tenantId:o});return!!a&&(e.request.headers.set(Iw,`${a.tokenType??"Bearer"} ${a.token}`),!0)}return!1},Ix=Symbol("Original PipelineRequest"),IR=Symbol.for("@azure/core-client original request"),Ik=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function Iv(e,t={}){let r=e[Ix],n=Cq(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=n,r;{let r=new C_({url:e.url,method:e.method,headers:n,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[IR]=t.originalRequest),r}}function IM(e,t){let r=t?.originalRequest??e,n={url:e.url,method:e.method,headers:IU(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(n,{get:(t,i,s)=>i===Ix?e:"clone"===i?()=>IM(Iv(n,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,i,s),set:(t,r,n,i)=>("keepAlive"===r&&(e.disableKeepAlive=!n),"string"==typeof r&&Ik.has(r)&&(e[r]=n),Reflect.set(t,r,n,i))}):n}function IU(e){return new IT(e.toJSON({preserveCase:!0}))}function IF(e){return e.toLowerCase()}class IT{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[IF(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[IF(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[IF(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[IF(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[IF(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new IT(e)}}let IL=Symbol("Original FullOperationResponse");function IO(e,t){let r=IM(e.request),n=IU(e.headers);return t?.createProxy?new Proxy(e,{get:(t,i,s)=>"headers"===i?n:"request"===i?r:i===IL?e:Reflect.get(t,i,s),set:(e,t,i,s)=>("headers"===t?n=i:"request"===t&&(r=i),Reflect.set(e,t,i,s))}):{...e,request:r,headers:n}}function IH(e){let t=e[IL],r=Cq(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:Iv(e.request)}}class IP extends IS{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===f5)||this.pipeline.addPolicy({name:f5,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:ff})}async sendOperationRequest(e,t){let r,n=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,i){r=e,n&&n(e,t,i)}};let i=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(i,"_response",{value:IO(r)}),i}}(Z=eh||(eh={}))[Z.ERROR=1]="ERROR",Z[Z.INFO=3]="INFO",Z[Z.OFF=0]="OFF",Z[Z.WARNING=2]="WARNING";let IY={log(e,t){},shouldLog:e=>!1};class IG{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,n="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(n.trim()&&(t.push(this._parseSegment(n.trim())),n=""),t.push({type:"deep-wildcard"}),r+=2):(n.trim()&&t.push(this._parseSegment(n.trim())),n="",r++):(n+=e[r],r++);return n.trim()&&t.push(this._parseSegment(n.trim())),t}_parseSegment(e){let t,r,n={type:"tag"},i=null,s=e,o=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(o&&(s=o[1]+o[3],o[2])){let e=o[2].slice(1,-1);e&&(i=e)}let a=s;if(s.includes("::")){let r=s.indexOf("::");if(t=s.substring(0,r).trim(),a=s.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(a.includes(":")){let e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),n=a.substring(e+1).trim();["first","last","odd","even"].includes(n)||/^nth\(\d+\)$/.test(n)?(r=t,A=n):r=a}else r=a;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(n.tag=r,t&&(n.namespace=t),i)if(i.includes("=")){let e=i.indexOf("=");n.attrName=i.substring(0,e).trim(),n.attrValue=i.substring(e+1).trim()}else n.attrName=i.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(n.position="nth",n.positionValue=parseInt(e[1],10)):n.position=A}return n}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class Iz{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class Iq{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Iz(this),this._keptAttrs=[]}push(e,t=null,r=null,n=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let i=this.path.length,s=this.siblingStacks[i];s||(s={counts:new Map,total:0},this.siblingStacks[i]=s);let o=r?`${r}:${e}`:e,a=s.counts.get(o)||0,A=s.total;s.counts.set(o,a+1),s.total++;let l={tag:e,position:A,counter:a};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==n?n.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let n=e[r];if("deep-wildcard"===n.type){if(--r<0)return!0;let n=e[r],i=!1;for(let e=t;e>=0;e--)if(this._matchSegment(n,this.path[e],e===this.path.length-1)){t=e-1,r--,i=!0;break}if(!i)return!1}else{if(!this._matchSegment(n,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let n=t.counter??0;if("first"===e.position&&0!==n)return!1;if("odd"===e.position&&n%2!=1)return!1;if("even"===e.position&&n%2!=0)return!1;else if("nth"===e.position&&n!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function IV(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function I_(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function IJ(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let IW=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",Ij=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",IK=(e,t,r="")=>{let n=e.replace(":",""),i=t.replace(":",""),s=`[${n}][${i}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${s}$`,r),qName:RegExp(`^${s}(?::${s})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},IX=IK(IW,IW+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),IZ=IK(Ij,Ij+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),I$=":A-Za-z_",I0=IK(I$,I$+"\\-\\.\\d"),I1=(e="1.0",t=!1)=>t?I0:"1.1"===e?IZ:IX,I2=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>I1(t,r).qName.test(e),I3=["name","ncName","qName","nmToken","nmTokens"],I4=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:n=2048}={})=>{if(!I3.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${I3.join(", ")}`);let i=I1(t,r)[e],s=new Map,o=e=>{let t=s.get(e);if(void 0!==t)return t;let r=i.test(e);return s.size<n&&s.set(e,r),r};return o.reset=()=>{s=new Map},o};function I5(e,t,r,n,i){return!r.sanitizeName||i(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:n.readOnly()})}function I8(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let n=t[r];if(Object.prototype.hasOwnProperty.call(e,n)&&":@"!==n)return n}}function I9(e,t,r,n,i){let s="";if(e&&!t.ignoreAttributes)for(let o in e){let a;if(!Object.prototype.hasOwnProperty.call(e,o))continue;let A=o.substr(t.attributeNamePrefix.length),l=r?A:I5(A,!0,t,n,i);!0===(a=r?e[o]:I6(a=t.attributeValueProcessor(o,e[o]),t))&&t.suppressBooleanAttributes?s+=` ${l}`:s+=` ${l}="${IJ(a)}"`}return s}function I6(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let n=t.entities[r];e=e.replace(n.regex,n.val)}return e}let I7={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function Ee(e){if(this.options=Object.assign({},I7,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new IG(t)):t instanceof IG&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Ei}this.processTextOrObjNode=Er,this.options.format?(this.indentate=En,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Et(e,t,r,n,i){return!r.sanitizeName||i(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:n.readOnly()})}function Er(e,t,r,n,i){let s=this.extractAttributes(e);if(n.push(t,s),this.checkStopNode(n)){let i=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);return n.pop(),this.buildObjectNode(i,t,s,r)}let o=this.j2x(e,r+1,n,i);return(n.pop(),"?"===t[0])?this.buildTextValNode("",t,o.attrStr,r,n):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,r,n):this.buildObjectNode(o.val,t,o.attrStr,r)}function En(e){return this.options.indentBy.repeat(e)}function Ei(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}Ee.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let n=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?n.push(new IG(r)):r instanceof IG&&n.push(r)}let i=I4("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===I8(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,n,i,s,o){let a="",A=!1;if(r.maxNestedTags&&i.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return I6(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],g=I8(d);if(void 0===g)continue;let u=g===r.textNodeName||g===r.cdataPropName||g===r.commentPropName||"?"===g[0]?g:I5(g,!1,r,i,o),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},n=!1;for(let i in e)Object.prototype.hasOwnProperty.call(e,i)&&(r[i.startsWith(t.attributeNamePrefix)?i.substr(t.attributeNamePrefix.length):i]=IJ(e[i]),n=!0);return n?r:null}(d[":@"],r);i.push(u,h);let m=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(i,s);if(u===r.textNodeName){let e=d[g];m||(e=I6(e=r.tagValueProcessor(u,e),r)),A&&(a+=n),a+=e,A=!1,i.pop();continue}if(u===r.cdataPropName){A&&(a+=n);let e=I_(d[g][0][r.textNodeName]);a+=`<![CDATA[${e}]]>`,A=!1,i.pop();continue}if(u===r.commentPropName){let e=IV(d[g][0][r.textNodeName]);a+=n+`<!--${e}-->`,A=!0,i.pop();continue}else if("?"===u[0]){let e=I9(d[":@"],r,m,i,o);a+=("?xml"===u?"":n)+`<${u}${e}?>`,A=!0,i.pop();continue}let p=n;""!==p&&(p+=r.indentBy);let C=I9(d[":@"],r,m,i,o),f=n+`<${u}${C}`;c=m?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let n="";for(let i=0;i<t.length;i++){let s=t[i],o=I8(s);if(o===r.textNodeName)n+=s[o];else if(o===r.cdataPropName)n+=s[o][0][r.textNodeName];else if(o===r.commentPropName)n+=s[o][0][r.textNodeName];else if(o&&"?"===o[0])continue;else if(o){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let i=e[n];!0===i&&t.suppressBooleanAttributes?r+=` ${n.substr(t.attributeNamePrefix.length)}`:r+=` ${n.substr(t.attributeNamePrefix.length)}="${IJ(i)}"`}return r}(s[":@"],r),i=e(s[o],r);i&&0!==i.length?n+=`<${o}${t}>${i}</${o}>`:n+=`<${o}${t}/>`}}return n}(d[g],r):e(d[g],r,p,i,s,o),-1!==r.unpairedTags.indexOf(u)?r.suppressUnpairedNode?a+=f+">":a+=f+"/>":(!c||0===c.length)&&r.suppressEmptyNode?a+=f+"/>":c&&c.endsWith(">")?a+=f+`>${c}${n}</${u}>`:(a+=f+">",c&&""!==n&&(c.includes("/>")||c.includes("</"))?a+=n+r.indentBy+c+n:a+=c,a+=`</${u}>`),A=!0,i.pop()}return a}(e,t,r,new Iq,n,i)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new Iq,r=I4("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},Ee.prototype.j2x=function(e,t,r,n){let i="",s="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:Et(A,!1,this.options,r,n);if(void 0===e[A])this.isAttribute(A)&&(s+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?s+="":"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)s+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,o)){let t=Et(c,!0,this.options,r,n);i+=this.buildAttrPairStr(t,""+e[A],a)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);s+=this.replaceEntitiesValue(t)}else{r.push(l);let n=this.checkStopNode(r);if(r.pop(),n){let r=""+e[A];""===r?s+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:s+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else s+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let i=e[A].length,o="",a="";for(let c=0;c<i;c++){let i=e[A][c];if(void 0===i);else if(null===i)"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof i)if(this.options.oneListGroup){r.push(l);let e=this.j2x(i,t+1,r,n);r.pop(),o+=e.val,this.options.attributesGroupName&&i.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else o+=this.processTextOrObjNode(i,l,t,r,n);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,i);o+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+i;""===e?o+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:o+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(i,l,"",t,r)}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,a,t)),s+=o}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),s=t.length;for(let o=0;o<s;o++){let s=Et(t[o],!0,this.options,r,n);i+=this.buildAttrPairStr(s,""+e[A][t[o]],a)}}else s+=this.processTextOrObjNode(e[A],l,t,r,n)}return{attrStr:i,val:s}},Ee.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+IJ(t)+'"'},Ee.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let n=e[this.options.attributesGroupName];for(let e in n)Object.prototype.hasOwnProperty.call(n,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=IJ(n[e]),r=!0)}else for(let n in e){if(!Object.prototype.hasOwnProperty.call(e,n))continue;let i=this.isAttribute(n);i&&(t[i]=IJ(e[n]),r=!0)}return r?t:null},Ee.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let n=e[r];if(r===this.options.textNodeName)t+=n;else if(Array.isArray(n)){for(let e of n)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let n=this.buildRawContent(e),i=this.buildAttributesForStopNode(e);""===n?t+=`<${r}${i}/>`:t+=`<${r}${i}>${n}</${r}>`}}else if("object"==typeof n&&null!==n){let e=this.buildRawContent(n),i=this.buildAttributesForStopNode(n);""===e?t+=`<${r}${i}/>`:t+=`<${r}${i}>${e}</${r}>`}else t+=`<${r}>${n}</${r}>`}return t},Ee.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let n=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,i=r[e];!0===i&&this.options.suppressBooleanAttributes?t+=" "+n:t+=" "+n+'="'+IJ(i)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let n=this.isAttribute(r);if(n){let i=e[r];!0===i&&this.options.suppressBooleanAttributes?t+=" "+n:t+=" "+n+'="'+IJ(i)+'"'}}return t},Ee.prototype.buildObjectNode=function(e,t,r,n){if(""===e)if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;let i="</"+t+this.tagEndChar,s="";return("?"===t[0]&&(s="?",i=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(n)+"<"+t+r+s+">"+e+i:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===s.length?this.indentate(n)+`<!--${IV(e)}-->`+this.newLine:this.indentate(n)+"<"+t+r+s+this.tagEndChar+e+this.indentate(n)+i}},Ee.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},Ee.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},Ee.prototype.buildTextValNode=function(e,t,r,n,i){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=I_(e);return this.indentate(n)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=IV(e);return this.indentate(n)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(n)+"<"+t+r+"?"+this.tagEndChar;let i=this.options.tagValueProcessor(t,e);return""===(i=this.replaceEntitiesValue(i))?this.indentate(n)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(n)+"<"+t+r+">"+i+"</"+t+this.tagEndChar}},Ee.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let Es=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",Eo=RegExp("^"+("["+Es+"]["+Es)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function Ea(e,t){let r=[],n=t.exec(e);for(;n;){let i=[];i.startIndex=t.lastIndex-n[0].length;let s=n.length;for(let e=0;e<s;e++)i.push(n[e]);r.push(i),n=t.exec(e)}return r}let EA=function(e){return null!=Eo.exec(e)},El=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],Ec=["__proto__","constructor","prototype"],Ed={allowBooleanAttributes:!1,unpairedTags:[]};function Eg(e,t){t=Object.assign({},Ed,t);let r=[],n=!1,i=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let s=0;s<e.length;s++)if("<"===e[s]&&"?"===e[s+1]){if(s+=2,(s=Eh(e,s)).err)return s}else if("<"===e[s]){let o=s;if("!"===e[++s]){s=Em(e,s);continue}{let a=!1;"/"===e[s]&&(a=!0,s++);let A="";for(;s<e.length&&">"!==e[s]&&" "!==e[s]&&" "!==e[s]&&"\n"!==e[s]&&"\r"!==e[s];s++)A+=e[s];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),s--),!EA(A))return Ef("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",EI(e,s));let l=function(e,t){let r="",n="",i=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===n?n=e[t]:n!==e[t]||(n="");else if(">"===e[t]&&""===n){i=!0;break}r+=e[t]}return""===n&&{value:r,index:t,tagClosed:i}}(e,s);if(!1===l)return Ef("InvalidAttr","Attributes for '"+A+"' have open quote.",EI(e,s));let c=l.value;if(s=l.index,"/"===c[c.length-1]){let r=s-c.length,i=EC(c=c.substring(0,c.length-1),t);if(!0!==i)return Ef(i.err.code,i.err.msg,EI(e,r+i.err.line));n=!0}else if(a)if(!l.tagClosed)return Ef("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",EI(e,s));else{if(c.trim().length>0)return Ef("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",EI(e,o));if(0===r.length)return Ef("InvalidTag","Closing tag '"+A+"' has not been opened.",EI(e,o));let t=r.pop();if(A!==t.tagName){let r=EI(e,t.tagStartPos);return Ef("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",EI(e,o))}0==r.length&&(i=!0)}else{let a=EC(c,t);if(!0!==a)return Ef(a.err.code,a.err.msg,EI(e,s-c.length+a.err.line));if(!0===i)return Ef("InvalidXml","Multiple possible root nodes found.",EI(e,s));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:o}),n=!0}for(s++;s<e.length;s++)if("<"===e[s])if("!"===e[s+1]){s=Em(e,++s);continue}else if("?"===e[s+1]){if((s=Eh(e,++s)).err)return s}else break;else if("&"===e[s]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let n=/\d/;for("x"===e[r]&&(r++,n=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(n))break}return -1}let n=0;for(;t<e.length;t++,n++)if(!e[t].match(/\w/)||!(n<20)){if(";"===e[t])break;return -1}return t}(e,s);if(-1==t)return Ef("InvalidChar","char '&' is not expected.",EI(e,s));s=t}else if(!0===i&&!Eu(e[s]))return Ef("InvalidXml","Extra text at the end",EI(e,s));"<"===e[s]&&s--}}else{if(Eu(e[s]))continue;return Ef("InvalidChar","char '"+e[s]+"' is not expected.",EI(e,s))}return n?1==r.length?Ef("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",EI(e,r[0].tagStartPos)):!(r.length>0)||Ef("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):Ef("InvalidXml","Start tag expected.",1)}function Eu(e){return" "===e||" "===e||"\n"===e||"\r"===e}function Eh(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let n=e.substr(r,t-r);if(t>5&&"xml"===n)return Ef("InvalidXml","XML declaration allowed only at the start of the document.",EI(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function Em(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let Ep=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function EC(e,t){let r=Ea(e,Ep),n={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return Ef("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",EE(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return Ef("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",EE(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return Ef("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",EE(r[e]));let i=r[e][2];if(!EA(i))return Ef("InvalidAttr","Attribute '"+i+"' is an invalid name.",EE(r[e]));if(Object.prototype.hasOwnProperty.call(n,i))return Ef("InvalidAttr","Attribute '"+i+"' is repeated.",EE(r[e]));n[i]=1}return!0}function Ef(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function EI(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function EE(e){return e.startIndex+e[1].length}let Ey=e=>El.includes(e)?"__"+e:e,EB={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Ey},EQ=function(e){let t=Object.assign({},EB,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(El.some(e=>r===e.toLowerCase())||Ec.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=Ey),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};r="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class EN{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][r]={startIndex:t})}static getMetaDataSymbol(){return r}}class Eb{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),n=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let i=1,s=!1,o=!1;for(;t<e.length;t++)if("<"!==e[t]||o)if(">"===e[t]){if(o?"-"===e[t-1]&&"-"===e[t-2]&&(o=!1,i--):i--,0===i)break}else"["===e[t]?s=!0:e[t];else{if(s&&Ew(e,"!ENTITY",t)){let i,s;if(t+=7,[i,s,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===s.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&n>=this.options.maxEntityCount)throw Error(`Entity count (${n+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[i]=s,n++}}else if(s&&Ew(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(s&&Ew(e,"!ATTLIST",t))t+=8;else if(s&&Ew(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(Ew(e,"!--",t))o=!0;else throw Error("Invalid DOCTYPE");i++}if(0!==i)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=ES(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let n=e.substring(r,t);if(ED(n,{xmlVersion:this.xmlVersion}),t=ES(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let i="";if([t,i]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&i.length>this.options.maxEntitySize)throw Error(`Entity "${n}" size (${i.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[n,i,--t]}readNotationExp(e,t){let r=t=ES(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);this.suppressValidationErr||ED(n,{xmlVersion:this.xmlVersion}),t=ES(e,t);let i=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==i&&"PUBLIC"!==i)throw Error(`Expected SYSTEM or PUBLIC, found "${i}"`);t+=i.length,t=ES(e,t);let s=null,o=null;if("PUBLIC"===i)[t,s]=this.readIdentifierVal(e,t,"publicIdentifier"),t=ES(e,t),('"'===e[t]||"'"===e[t])&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===i&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!o))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:n,publicIdentifier:s,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let n="",i=e[t];if('"'!==i&&"'"!==i)throw Error(`Expected quoted string, found "${i}"`);let s=++t;for(;t<e.length&&e[t]!==i;)t++;if(n=e.substring(s,t),e[t]!==i)throw Error(`Unterminated ${r} value`);return[++t,n]}readElementExp(e,t){let r=t=ES(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);if(!this.suppressValidationErr&&!I2(n,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${n}"`);t=ES(e,t);let i="";if("E"===e[t]&&Ew(e,"MPTY",t))t+=4;else if("A"===e[t]&&Ew(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(i=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:n,contentModel:i.trim(),index:t}}readAttlistExp(e,t){let r=t=ES(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);for(ED(n,{xmlVersion:this.xmlVersion}),r=t=ES(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!ED(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${i}"`);t=ES(e,t);let s="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(s="NOTATION",t+=8,t=ES(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let n=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let i=e.substring(n,t);if(!ED(i=i.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${i}"`);r.push(i),"|"===e[t]&&(t=ES(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,s+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(s+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(s.toUpperCase()))throw Error(`Invalid attribute type: "${s}"`)}t=ES(e,t);let o="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(o="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(o="#IMPLIED",t+=7):[t,o]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:n,attributeName:i,attributeType:s,defaultValue:o,index:t}}}let ES=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function Ew(e,t,r){for(let n=0;n<t.length;n++)if(t[n]!==e[r+n+1])return!1;return!0}function ED(e,t){if(I2(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let Ex=new Map,ER=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?ER[r-1632]=t:Ex.set(r,t)}let Ek=new Set([8722,65293,65123]),Ev=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let n=0;n<t;n++){let i=e.charCodeAt(n);if((!(i>=48)||!(i<=57))&&45!==i){if(i<1632){if(Ek.has(i)){r=n;break}continue}if(i>=55296&&i<=56319){if(n+1<t){let t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){let e=65536+(i-55296<<10)+(t-56320);if(Ex.has(e)){r=n;break}}}continue}if(255!==ER[i-1632]||Ek.has(i)){r=n;break}}}if(-1===r)return e;let n=[];r>0&&n.push(e.slice(0,r));for(let i=r;i<t;i++){let r=e.charCodeAt(i);if(r>=48&&r<=57||45===r){n.push(e[i]);continue}if(r<1632){n.push(Ek.has(r)?"-":e[i]);continue}if(r>=55296&&r<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),s=Ex.get(e);if(void 0!==s){n.push(String.fromCharCode(s+48)),i++;continue}}}n.push(e[i]);continue}if(Ek.has(r)){n.push("-");continue}let s=ER[r-1632];n.push(255!==s?String.fromCharCode(s+48):e[i])}return n.join("")},EM=/^[-+]?0x[a-fA-F0-9]+$/,EU=/^0b[01]+$/,EF=/^0o[0-7]+$/,ET=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,EL={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},EO=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function EH(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class EP{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],n=r?.tag;if(n&&"*"!==n){let r=`${t}:${n}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),n=`${t}:${r}`,i=this._byDepthAndTag.get(n);if(i){for(let t=0;t<i.length;t++)if(e.matches(i[t]))return i[t]}let s=this._wildcardByDepth.get(t);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++)if(e.matches(o[t]))return o[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let EY={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},EG={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Ez={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},Eq=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),EV=new Set("!?\\\\/[]$%{}^&*()<>|+");function E_(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(EV.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function EJ(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let n=r[e];if("string"==typeof n)t[e]=n;else if(n&&"object"==typeof n&&void 0!==n.val){let r=n.val;"string"==typeof r&&(t[e]=r)}}return t}let EW="external",Ej="base",EK=Object.freeze({allow:0,leave:1,remove:2,throw:3}),EX=new Set([9,10,13]);class EZ{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??EW)&&t!==EW?"all"===t?["all"]:t===Ej?[Ej]:Array.isArray(t)?t:[EW]:[EW]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=EJ(EG,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:EK.allow,nullLevel:EK.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:EK[e.onNCR]??EK.allow,nullLevel:Math.max(EK[e.nullNCR]??EK.remove,EK.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,n){if(!e)return!0;let i=e(t,r);if(i===Eq.BLOCK)return!1;if(i===Eq.THROW)throw Error(`[EntityDecoder] Registration of ${n} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))E_(t);if(!this._onExternalEntity){this._externalMap=EJ(e);return}let t=EJ(e),r=Object.create(null);for(let[e,n]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,n,"external")&&(r[e]=n);this._externalMap=r}addExternalEntity(e,t){E_(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=EJ(e);return}let t=EJ(e),r=Object.create(null);for(let[e,n]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,n,"input")&&(r[e]=n);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,n=0,i=0,s=this._maxTotalExpansions>0,o=this._maxExpandedLength>0,a=s||o;for(;i<r;){let A,l;if(38!==e.charCodeAt(i)){i++;continue}let c=i+1;for(;c<r&&59!==e.charCodeAt(c)&&c-i<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){i++;continue}let d=e.slice(i+1,c);if(0===d.length){i++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=EW);else if(this._leaveSet.has(d)){i++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){i++;continue}A=e,l=Ej}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){i++;continue}if(i>n&&t.push(e.slice(n,i)),t.push(A),i=n=c+1,a&&this._tierCounts(l)){if(s&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(o){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}n<r&&t.push(e.slice(n));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:EW}:e in this._externalMap?{value:this._externalMap[e],tier:EW}:e in this._baseMap?{value:this._baseMap[e],tier:Ej}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!EX.has(e)?EK.remove:-1}_applyNCRAction(e,t,r){switch(e){case EK.allow:return String.fromCodePoint(r);case EK.remove:return"";case EK.leave:return;case EK.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let n=this._classifyNCR(t);if(!this._numericAllowed&&n<EK.remove)return;let i=-1===n?this._ncrOnLevel:Math.max(this._ncrOnLevel,n);return this._applyNCRAction(i,e,t)}}let E$=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],E0=[...E$,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],E1=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],E2=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],E3=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],E4=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],E5=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],E8="[\"'\\s]*:",E9=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${E8}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${E8}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${E8}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${E8}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${E8}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${E8}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${E8}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${E8}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${E8}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${E8}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${E8}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${E8}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${E8}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],E6=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];E1.label="HTML",E2.label="XML",E3.label="SVG",E$.label="SQL",E0.label="SQL-STRICT",E4.label="SHELL",E5.label="REDOS",E9.label="NOSQL",E6.label="LOG",Object.freeze({HTML:E1,XML:E2,SVG:E3,SQL:E$,"SQL-STRICT":E0,SHELL:E4,REDOS:E5,NOSQL:E9,LOG:E6});class E7{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=yi,this.parseTextData=ye,this.resolveNameSpace=yt,this.buildAttributesMap=yn,this.isItStopNode=yA,this.replaceEntitiesValue=yo,this.readStopNodeData=yd,this.saveTextToParentTag=ya,this.addChild=ys,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n={...EG};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?n=this.options.htmlEntities:!0===this.options.htmlEntities&&(n={...Ez,...EY}),this.entityDecoder=new EZ({namedEntities:{...n,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:n}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(n)return n.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let n of t)if(n.pattern.test(e))return{context:r,id:n.id,description:n.description,pattern:n.pattern};return null}(e,t))return!0;return!1}(t,[E1,E2])?Eq.ALLOW:Eq.BLOCK})),this.matcher=new Iq,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new EP;let i=this.options.stopNodes;if(i&&i.length>0){for(let e=0;e<i.length;e++){let t=i[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new IG(t)):t instanceof IG&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function ye(e,t,r,n,i,s,o){let a=this.options;if(void 0!==e&&(a.trimValues&&!n&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,r));let n=a.jPath?r.toString():r,A=a.tagValueProcessor(t,e,n,i,s);return null==A?e:typeof A!=typeof e||A!==e?A:a.trimValues||e.trim()===e?yg(e,a.parseTagValue,a.numberParseOptions):e}}function yt(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let yr=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function yn(e,t,r,n=!1){let i=this.options;if(!0===n||!0!==i.ignoreAttributes&&"string"==typeof e){let n=Ea(e,yr),s=n.length,o={},a=Array(s),A=!1,l={};for(let e=0;e<s;e++){let t=this.resolveNameSpace(n[e][1]),s=n[e][4];if(t.length&&void 0!==s){let n=s;i.trimValues&&(n=n.trim()),n=this.replaceEntitiesValue(n,r,this.readonlyMatcher),a[e]=n,l[t]=n,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=i.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<s;e++){let t=this.resolveNameSpace(n[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=i.attributeNamePrefix+t;if(t.length)if(i.transformAttributeName&&(r=i.transformAttributeName(r)),r=yh(r,i),void 0!==n[e][4]){let n=a[e],s=i.attributeValueProcessor(t,n,c);null==s?o[r]=n:typeof s!=typeof n||s!==n?o[r]=s:o[r]=yg(n,i.parseAttributeValue,i.numberParseOptions),d=!0}else i.allowBooleanAttributes&&(o[r]=!0,d=!0)}if(!d)return;if(i.attributesGroupName&&!i.preserveOrder){let e={};return e[i.attributesGroupName]=o,e}return o}}let yi=function(e){e=e.replace(/\r\n?/g,"\n");let t=new EN("!xml"),r=t,n="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i=this.options,s=new Eb(i.processEntities),o=e.length;for(let a=0;a<o;a++)if("<"===e[a]){let A=e.charCodeAt(a+1);if(47===A){let t=yl(e,">",a,"Closing Tag is not closed."),s=e.substring(a+2,t).trim();if(i.removeNSPrefix){let e=s.indexOf(":");-1!==e&&(s=s.substr(e+1))}s=yu(i.transformTagName,s,"",i).tagName,r&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(s&&i.unpairedTagsSet.has(s))throw Error(`Unpaired tag can not be used as closing tag: </${s}>`);o&&i.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),n="",a=t}else if(63===A){let t=yc(e,a,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),s.setXmlVersion(Number(e)||1)}if(i.ignoreDeclaration&&"?xml"===t.tagName||i.ignorePiTags);else{let e=new EN(t.tagName);e.add(i.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==i.ignoreAttributes&&(e[":@"]=o),this.addChild(r,e,this.readonlyMatcher,a)}a=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(a+2)&&45===e.charCodeAt(a+3)){let t=yl(e,"--\x3e",a+4,"Comment is not closed.");if(i.commentPropName){let s=e.substring(a+4,t-2);n=this.saveTextToParentTag(n,r,this.readonlyMatcher),r.add(i.commentPropName,[{[i.textNodeName]:s}])}a=t}else if(33===A&&68===e.charCodeAt(a+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=s.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities),a=t.i}else if(33===A&&91===e.charCodeAt(a+2)){let t=yl(e,"]]>",a,"CDATA is not closed.")-2,s=e.substring(a+9,t);n=this.saveTextToParentTag(n,r,this.readonlyMatcher);let o=this.parseTextData(s,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==o&&(o=""),i.cdataPropName?r.add(i.cdataPropName,[{[i.textNodeName]:s}]):r.add(i.textNodeName,o),a=t+2}else{let s,A=yc(e,a,i.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,g=A.attrExpPresent,u=A.closeIndex;if({tagName:l,tagExp:d}=yu(i.transformTagName,l,d,i),i.strictReservedNames&&(l===i.commentPropName||l===i.cdataPropName||l===i.textNodeName||l===i.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&n&&"!xml"!==r.tagname&&(n=this.saveTextToParentTag(n,r,this.readonlyMatcher,!1));let h=r;h&&i.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(m=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),g=l!==d);let p=null;s=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},s),l!==d&&g&&(p=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let n={};for(let e in r)e.startsWith(t.attributeNamePrefix)?n[e.substring(t.attributeNamePrefix.length)]=r[e]:n[e]=r[e]}(p,i),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let C=a;if(this.isCurrentNodeStopNode){let t="";if(m)a=A.closeIndex;else if(i.unpairedTagsSet.has(l))a=A.closeIndex;else{let r=this.readStopNodeData(e,c,u+1);if(!r)throw Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}let n=new EN(l);p&&(n[":@"]=p),n.add(i.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,n,this.readonlyMatcher,C)}else{if(m){({tagName:l,tagExp:d}=yu(i.transformTagName,l,d,i));let e=new EN(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(i.unpairedTagsSet.has(l)){let e=new EN(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let e=new EN(l);if(this.tagsNodeStack.length>i.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),r=e}n="",a=u}}}else n+=e[a];return t.child};function ys(e,t,r,n){this.options.captureMetaData||(n=void 0);let i=this.options.jPath?r.toString():r,s=this.options.updateTag(t.tagname,i,t[":@"]);!1===s||("string"==typeof s&&(t.tagname=s),e.addChild(t,n))}function yo(e,t,r){let n=this.options.processEntities;if(!n||!n.enabled)return e;if(n.allowedTags){let i=this.options.jPath?r.toString():r;if(!(Array.isArray(n.allowedTags)?n.allowedTags.includes(t):n.allowedTags(t,i)))return e}if(n.tagFilter){let i=this.options.jPath?r.toString():r;if(!n.tagFilter(t,i))return e}return this.entityDecoder.decode(e)}function ya(e,t,r,n){return e&&(void 0===n&&(n=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,n))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function yA(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function yl(e,t,r,n){let i=e.indexOf(t,r);if(-1!==i)return i+t.length-1;throw Error(n)}function yc(e,t,r,n=">"){let i=function(e,t,r=">"){let n=0,i=e.length,s=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",A=t;for(let r=t;r<i;r++){let t=e.charCodeAt(r);if(n)t===n&&(n=0);else if(34===t||39===t)n=t;else if(t===s){if(-1===o)return{data:a+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===o)return{data:a+=e.substring(A,r),index:r}}else 9!==t||n||(a+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,n);if(!i)return;let s=i.data,o=i.index,a=s.search(/\s/),A=s,l=!0;-1!==a&&(A=s.substring(0,a),s=s.substring(a+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==i.data.substr(e+1))}return{tagName:A,tagExp:s,closeIndex:o,attrExpPresent:l,rawTagName:c}}function yd(e,t,r){let n=r,i=1,s=e.length;for(;r<s;r++)if("<"===e[r]){let s=e.charCodeAt(r+1);if(47===s){let s=function(e,t,r){let n=e.indexOf(">",t);if(-1===n)throw Error(r);return n}(e,r,`${t} is not closed`);if(e.substring(r+2,s).trim()===t&&0==--i)return{tagContent:e.substring(n,r),i:s};r=s}else if(63===s)r=yl(e,"?>",r+1,"StopNode is not closed.");else if(33===s&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=yl(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===s&&91===e.charCodeAt(r+2))r=yl(e,"]]>",r,"StopNode is not closed.")-2;else{let n=yc(e,r,!1);n&&((n&&n.tagName)===t&&"/"!==n.tagExp[n.tagExp.length-1]&&i++,r=n.closeIndex)}}}function yg(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},EL,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=Ev(r)))return 0;if(t.hex&&EM.test(r))return EH(r,16);{if(t.binary&&EU.test(r))return EH(r,2);if(t.octal&&EF.test(r))return EH(r,8);if(!isFinite(r)){var n,i=e,s=Number(r),o=t;switch(o.infinity.toLowerCase()){case"null":return null;case"infinity":return s;case"string":return s===1/0?"Infinity":"-Infinity";default:return i}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let n=t.match(EO);if(!n)return e;{let i=n[1]||"",s=-1===n[3].indexOf("e")?"E":"e",o=n[2],a=i?e[o.length+1]===s:e[o.length]===s;if(o.length>1&&a)return e;if(1===o.length&&(n[3].startsWith(`.${s}`)||n[3][0]===s))return Number(t);if(!(o.length>0))return Number(t);else if(r.leadingZeros&&!a)return Number(t=(n[1]||"")+n[3]);else return e}}(e,r,t);let a=ET.exec(r);if(!a)return e;{let i=a[1]||"",s=a[2],o=((n=a[3])&&-1!==n.indexOf(".")&&("."===(n=n.replace(/0+$/,""))?n="0":"."===n[0]?n="0"+n:"."===n[n.length-1]&&(n=n.substring(0,n.length-1))),n),A=i?"."===e[s.length+1]:"."===e[s.length];if(!t.leadingZeros&&(s.length>1||1===s.length&&!A))return e;{let n=Number(r),a=String(n);if(0===n)return n;if(-1!==a.search(/[eE]/))if(t.eNotation)return n;else return e;if(-1!==r.indexOf("."))if("0"===a)return n;else if(a===o)return n;else if(a===`${i}${o}`)return n;else return e;let A=s?o:r;return s?A===a||i+A===a?n:e:A===a||A===i+a?n:e}}}}(e,r)}return void 0!==e?e:""}function yu(e,t,r,n){if(e){let n=e(t);r===t&&(r=n),t=n}return{tagName:t=yh(t,n),tagExp:r}}function yh(e,t){if(Ec.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return El.includes(e)?t.onDangerousProperty(e):e}let ym=EN.getMetaDataSymbol();class yp{constructor(e){this.externalEntities={},this.options=EQ(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=Eg(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let n=new E7(this.options,this.externalEntities),i=n.parseXml(e);return this.options.preserveOrder||void 0===i?i:(r=this.options,function e(t,r,n,i){let s,o={};for(let a=0;a<t.length;a++){let A=t[a],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let n in e)n.startsWith(t)?r[n.substring(t.length)]=e[n]:r[n]=e[n];return r}(A[":@"]||{},r.attributeNamePrefix);n.push(l,e)}if(l===r.textNodeName)void 0===s?s=A[l]:s+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,n,i),s=function(e,t){let{textNodeName:r}=t,n=Object.keys(e).length;return 0===n||1===n&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,n){if(t){let i=Object.keys(t),s=i.length;for(let o=0;o<s;o++){let s=i[o],a=s.startsWith(n.attributeNamePrefix)?s.substring(n.attributeNamePrefix.length):s,A=n.jPath?r.toString()+"."+a:r;n.isArray(s,A,!0,!0)?e[s]=[t[s]]:e[s]=t[s]}}}(t,A[":@"],i,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[ym]&&"object"==typeof t&&null!==t&&(t[ym]=A[ym]),void 0!==o[l]&&Object.prototype.hasOwnProperty.call(o,l))Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(t);else{let e=r.jPath?i.toString():i;r.isArray(l,e,s)?o[l]=[t]:o[l]=t}void 0!==l&&l!==r.textNodeName&&n.pop()}}return"string"==typeof s?s.length>0&&(o[r.textNodeName]=s):void 0!==s&&(o[r.textNodeName]=s),o}(i,r,n.matcher,n.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return EN.getMetaDataSymbol()}}function yC(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function yf(e,t={}){let r=function(e={}){return{...yC(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),n=new Ee(r),i={[r.rootNodeName]:e},s=n.build(i);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${s}`.replace(/\n/g,"")}async function yI(e,t={}){if(!e)throw Error("Document is empty");let r=Eg(e);if(!0!==r)throw r;let n=new yp(function(e={}){return{...yC(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(n["?xml"]&&delete n["?xml"],!t.includeRoot){let e=Object.keys(n)[0];if(void 0!==e){let t=n[e];return"object"==typeof t?{...t}:t}}return n}let yE=fk("storage-blob");var yy=o(4434);class yB extends p9.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let n=0;for(let e of this.buffers)n+=e.byteLength;if(n<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let n=this.byteLength-this.pushedBytesLength,i=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,s=Math.min(i,n);if(s>e-r){let n=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,n)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=n,r=e;break}{let e=this.byteOffsetInCurrentBuffer+s;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),s===i?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=s,r+=s}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let yQ=o(4573).constants.MAX_LENGTH;class yN{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let n=Math.ceil(e/yQ);for(let t=0;t<n;t++){let r=t===n-1?e%yQ:yQ;0===r&&(r=yQ),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,n=0,i=0,s=0,o=0;for(;o<this._size;){let t=e[r],a=this.buffers[n],A=t.copy(a,i,s);o+=A,s+=A,i+=A,s===t.length&&(r++,s=0),i===a.length&&(n++,i=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(s))}getReadableStream(){return new yB(this.buffers,this.size)}}class yb{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new yy.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,n,i,s){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(i<=0)throw RangeError(`concurrency must be larger than 0, current is ${i}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=n,this.concurrency=i,this.encoding=s}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new yN(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let yS=n("node:module");var yw=o(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(i=(0,yS.createRequire)(import.meta.url),s=(0,yw.fileURLToPath)(import.meta.url),a=(0,hX.dirname)(s));var yD=($="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==s&&($=$||s),function(e){var t,r,n,s,o,A,l,c,d,g,u=void 0!==(e=e||{})?e:{};u.ready=new Promise(function(e,t){n=e,s=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(u.ready,e)||Object.defineProperty(u.ready,e,{get:()=>z("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>z("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var h=Object.assign({},u),m=[],p="object"==typeof window,C="function"==typeof importScripts,f="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,I=!p&&!f&&!C;if(u.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var E="";if(f){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var y=i("fs"),B=i("path");E=C?B.dirname(E)+"/":a+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),m=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof W))throw e}),process.on("unhandledRejection",function(e){throw e}),u.inspect=function(){return"[Emscripten Module object]"}}else if(I){if("object"==typeof process&&"function"==typeof i||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?m=scriptArgs:"u">typeof arguments&&(m=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(p||C){if(C?E=self.location.href:"u">typeof document&&document.currentScript&&(E=document.currentScript.src),$&&(E=$),E=0!==E.indexOf("blob:")?E.substr(0,E.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var Q=u.print||console.log.bind(console),N=u.printErr||console.warn.bind(console);function b(e,t){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){z("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function S(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(u,h),h=null,Object.getOwnPropertyDescriptor(u,t="fetchSettings")&&z("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),u.arguments&&(m=u.arguments),b("arguments","arguments_"),u.thisProgram&&u.thisProgram,b("thisProgram","thisProgram"),u.quit&&u.quit,b("quit","quit_"),D(void 0===u.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.read,"Module.read option was removed (modify read_ in JS)"),D(void 0===u.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),D(void 0===u.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),D(void 0===u.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),D(void 0===u.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),b("read","read_"),b("readAsync","readAsync"),b("readBinary","readBinary"),b("setWindowTitle","setWindowTitle"),D(!I,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),u.wasmBinary&&u.wasmBinary,b("wasmBinary","wasmBinary"),u.noExitRuntime,b("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&z("no native wasm support detected");var w=!1;function D(e,t){e||z("Assertion failed"+(t?": "+t:""))}var x="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(e){A=e,u.HEAP8=new Int8Array(e),u.HEAP16=new Int16Array(e),u.HEAP32=new Int32Array(e),u.HEAPU8=l=new Uint8Array(e),u.HEAPU16=new Uint16Array(e),u.HEAPU32=c=new Uint32Array(e),u.HEAPF32=new Float32Array(e),u.HEAPF64=new Float64Array(e)}u.STACK_SIZE&&D(5242880===u.STACK_SIZE,"the stack size can no longer be determined at runtime");var k=u.INITIAL_MEMORY||0x1000000;function v(){if(!w){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&z("Stack overflow! Stack cookie has been overwritten at "+K(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+K(r)+" "+K(t)),0x63736d65!==c[0]&&z("Runtime error: The application has corrupted its heap memory area (address zero)!")}}b("INITIAL_MEMORY","INITIAL_MEMORY"),D(k>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+k+"! (STACK_SIZE=5242880)"),D("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),D(!u.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),D(0x1000000==k,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var M=new Int16Array(1),U=new Int8Array(M.buffer);if(M[0]=25459,115!==U[0]||99!==U[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var F=[],T=[],L=[],O=!1;D(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var H=0,P=null,Y=null,G={};function z(e){u.onAbort&&u.onAbort(e),N(e="Aborted("+e+")"),w=!0;var t=new WebAssembly.RuntimeError(e);throw s(t),t}var q={error:function(){z("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){q.error()},createDataFile:function(){q.error()},createPreloadedFile:function(){q.error()},createLazyFile:function(){q.error()},open:function(){q.error()},mkdev:function(){q.error()},registerDevice:function(){q.error()},analyzePath:function(){q.error()},loadFilesFromDB:function(){q.error()},ErrnoError:function(){q.error()}};function V(e){return e.startsWith("file://")}function _(e,t){return function(){var r=t;return t||(r=u.asm),D(O,"native function `"+e+"` called before runtime initialization"),r[e]||D(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}u.FS_createDataFile=q.createDataFile,u.FS_createPreloadedFile=q.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=u.locateFile?u.locateFile(r,E):E+r);var J="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAM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0QciUwQJqIgIoAgBHDQAgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBFGooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEAIAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQAgBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBAmohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZBBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNgIMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBfyAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAAKAI8EBUQAgsVAAJAIAANAEEADwsQDyAANgIAQX8L4wIBB38jAEEgayIDJAAgAyAAKAIcIgQ2AhAgACgCFCEFIAMgAjYCHCADIAE2AhggAyAFIARrIgE2AhQgASACaiEGIANBEGohBEECIQcCQAJAAkACQAJAIAAoAjwgA0EQakECIANBDGoQAxAXRQ0AIAQhBQwBCwNAIAYgAygCDCIBRg0CAkAgAUF/Sg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heUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function W(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function j(e){for(;e.length>0;)e.shift()(u)}function K(e){return"0x"+e.toString(16).padStart(8,"0")}function X(e){X.shown||(X.shown={}),X.shown[e]||(X.shown[e]=1,f&&(e="warning: "+e),N(e))}var Z=[null,[],[]],ee={abort:function(){z("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(D((e>>>=0)>t),e>0x80000000)return N("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var n=1;n<=4;n*=2){var i=t*(1+.2/n);i=Math.min(i,e+0x6000000);var s=Math.min(0x80000000,r(Math.max(e,i),65536));if(function(e){try{return o.grow(e-A.byteLength+65535>>>16),R(o.buffer),1}catch(t){N("emscripten_realloc_buffer: Attempted to grow heap from "+A.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(s))return!0}return N("Failed to grow the heap from "+t+" bytes to "+s+" bytes, not enough memory!"),!1},fd_close:function(e){z("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,n,i){return 70},fd_write:function(e,t,r,n){for(var i=0,s=0;s<r;s++){var o=c[t>>2],a=c[t+4>>2];t+=8;for(var A=0;A<a;A++)!function(e,t){var r=Z[e];D(r),0===t||10===t?((1===e?Q:N)(function(e,t){for(var r=t+void 0,n=t;e[n]&&!(n>=r);)++n;if(n-t>16&&e.buffer&&x)return x.decode(e.subarray(t,n));for(var i="";t<n;){var s=e[t++];if(!(128&s)){i+=String.fromCharCode(s);continue}var o=63&e[t++];if((224&s)==192){i+=String.fromCharCode((31&s)<<6|o);continue}var a=63&e[t++];if((240&s)==224?s=(15&s)<<12|o<<6|a:((248&s)!=240&&X("Invalid UTF-8 leading byte "+K(s)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),s=(7&s)<<18|o<<12|a<<6|63&e[t++]),s<65536)i+=String.fromCharCode(s);else{var A=s-65536;i+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return i}(r,0)),r.length=0):r.push(t)}(e,l[o+A]);i+=a}return c[n>>2]=i,0}};!function(){var e,t,r={env:ee,wasi_snapshot_preview1:ee};function n(e,t){u.asm=e.exports,D(o=u.asm.memory,"memory not found in wasm exports"),R(o.buffer),D(u.asm.__indirect_function_table,"table not found in wasm exports"),r=u.asm.__wasm_call_ctors,T.unshift(r);var r,n="wasm-instantiate";if(H--,u.monitorRunDependencies&&u.monitorRunDependencies(H),n?(D(G[n]),delete G[n]):N("warning: run dependency removed without ID"),0==H&&(null!==P&&(clearInterval(P),P=null),Y)){var i=Y;Y=null,i()}}e="wasm-instantiate",H++,u.monitorRunDependencies&&u.monitorRunDependencies(H),e?(D(!G[e]),G[e]=1,null===P&&"u">typeof setInterval&&(P=setInterval(function(){if(w){clearInterval(P),P=null;return}var e=!1;for(var t in G)e||(e=!0,N("still waiting on run dependencies:")),N("dependency: "+t);e&&N("(end of list)")},1e4))):N("warning: run dependency added without ID");var i=u;if(u.instantiateWasm)try{return u.instantiateWasm(r,n)}catch(e){N("Module.instantiateWasm callback failed with error: "+e),s(e)}(t=function(e){D(u===i,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),i=null,n(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(J,"base64");for(var e=window.atob(J),t=e.length,r=new Uint8Array(t),n=0;n<t;n++)r[n]=e.charCodeAt(n);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){N("failed to asynchronously prepare wasm: "+e),V(d)&&N("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),z(e)})).catch(s)}(),u.___wasm_call_ctors=_("__wasm_call_ctors");var et=u._emscripten_bind_VoidPtr___destroy___0=_("emscripten_bind_VoidPtr___destroy___0"),er=u._emscripten_bind_Crc64Hash_Crc64Hash_0=_("emscripten_bind_Crc64Hash_Crc64Hash_0"),en=u._emscripten_bind_Crc64Hash_OnAppend_2=_("emscripten_bind_Crc64Hash_OnAppend_2"),ei=u._emscripten_bind_Crc64Hash_OnFinal_3=_("emscripten_bind_Crc64Hash_OnFinal_3"),es=u._emscripten_bind_Crc64Hash___destroy___0=_("emscripten_bind_Crc64Hash___destroy___0");u.___errno_location=_("__errno_location"),u._fflush=_("fflush"),u._malloc=_("malloc"),u._free=_("free");var eo=u._emscripten_stack_init=function(){return(eo=u._emscripten_stack_init=u.asm.emscripten_stack_init).apply(null,arguments)},ea=(u._emscripten_stack_get_free=function(){return(u._emscripten_stack_get_free=u.asm.emscripten_stack_get_free).apply(null,arguments)},u._emscripten_stack_get_base=function(){return(u._emscripten_stack_get_base=u.asm.emscripten_stack_get_base).apply(null,arguments)},u._emscripten_stack_get_end=function(){return(ea=u._emscripten_stack_get_end=u.asm.emscripten_stack_get_end).apply(null,arguments)});function eA(e){var t,r;if(e=e||m,!(H>0)){if(eo(),D((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,u.preRun)for("function"==typeof u.preRun&&(u.preRun=[u.preRun]);u.preRun.length;){r=u.preRun.shift(),F.unshift(r)}j(F),H>0||(u.setStatus?(u.setStatus("Running..."),setTimeout(function(){setTimeout(function(){u.setStatus("")},1),i()},1)):i(),v())}function i(){if(!g&&(g=!0,u.calledRun=!0,!w)){if(D(!O),O=!0,v(),j(T),n(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),D(!u._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),v(),u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;){var e;e=u.postRun.shift(),L.unshift(e)}j(L)}}}if(u.stackSave=_("stackSave"),u.stackRestore=_("stackRestore"),u.stackAlloc=_("stackAlloc"),u._emscripten_stack_get_current=function(){return(u._emscripten_stack_get_current=u.asm.emscripten_stack_get_current).apply(null,arguments)},u.dynCall_jiji=_("dynCall_jiji"),u.___start_em_js=5261488,u.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),z(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),X(t)}})}),Y=function e(){g||eA(),g||(Y=e)},u.preInit)for("function"==typeof u.preInit&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();function el(){}function ec(e){return(e||el).__cache__}function ed(e,t){var r=ec(t),n=r[e];return n||((n=Object.create((t||el).prototype)).ptr=e,r[e]=n)}function eg(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=er(),ec(eu)[this.ptr]=this}return eA(),el.prototype=Object.create(el.prototype),el.prototype.constructor=el,el.prototype.__class__=el,el.__cache__={},u.WrapperObject=el,u.getCache=ec,u.wrapPointer=ed,u.castObject=function(e,t){return ed(e.ptr,t)},u.NULL=ed(0),u.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ec(e.__class__)[e.ptr]},u.compare=function(e,t){return e.ptr===t.ptr},u.getPointer=function(e){return e.ptr},u.getClass=function(e){return e.__class__},eg.prototype=Object.create(el.prototype),eg.prototype.constructor=eg,eg.prototype.__class__=eg,eg.__cache__={},u.VoidPtr=eg,eg.prototype.__destroy__=eg.prototype.__destroy__=function(){et(this.ptr)},eu.prototype=Object.create(el.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},u.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),en(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var n=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),ei(n,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){es(this.ptr)},e.ready});class yx{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new yx.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=yD().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=yx.nativeInstance._malloc(t);yx.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),yx.nativeInstance._free(r)}final(e,t){let r=yx.nativeInstance._malloc(t);yx.nativeInstance.HEAPU8.set(e,r);let n=yx.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,n),yx.nativeInstance._free(r);let i=new Uint8Array(8);return i.set(yx.nativeInstance.HEAPU8.subarray(n,n+8)),yx.nativeInstance._free(n),i}}(ee=em||(em={}))[ee.StreamHeader=0]="StreamHeader",ee[ee.StreamFooter=1]="StreamFooter",ee[ee.SegmentHeader=2]="SegmentHeader",ee[ee.SegmentFooter=3]="SegmentFooter",ee[ee.SegmentContent=4]="SegmentContent",ee[ee.Completed=5]="Completed";class yR{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=em.StreamHeader,this.segmentCrc64=new yx,this.messageCrc64=new yx}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===em.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===em.SegmentHeader&&this.handlingSegmentHeader(),this.state===em.SegmentContent&&this.handlingSegmentContent(e),this.state===em.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===em.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=em.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=em.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=em.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new yx,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=em.StreamFooter:this.state=em.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=em.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function yk(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof p9&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new yU(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new yU(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await yM(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new p9.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),n=await new yU(t,r,{});return{body:n,encodedContentLength:n.messageLength()}}if(e instanceof ArrayBuffer){let r=p9.Readable.from(Buffer.from(e)),n=await new yU(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}if(e instanceof Buffer){let r=p9.Readable.from(e),n=await new yU(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}if(ArrayBuffer.isView(e)){let r=p9.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),n=await new yU(r,t,{});return{body:n,encodedContentLength:n.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function yv(e,t,r){let{done:n,value:i}=await e.read();n?t.close():r.sourceDataHandler(Buffer.from(i))}async function yM(e,t){let r,n=(e instanceof Blob?e.stream():e).getReader(),i=new Response(new ReadableStream({start(e){r=new yR(t=>{e.enqueue(t)},t)},pull(e){yv(n,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await i.blob(),encodedContentLength:r.messageLength}}class yU extends p9.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new yR(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new fH("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(et=ep||(ep={}))[et.StreamHeader=0]="StreamHeader",et[et.StreamFooter=1]="StreamFooter",et[et.SegmentHeader=2]="SegmentHeader",et[et.SegmentFooter=3]="SegmentFooter",et[et.SegmentContent=4]="SegmentContent";class yF{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=ep.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new yx,this.messageCrc64=new yx}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===ep.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===ep.SegmentHeader&&this.parseSegmentHeader(e),this.state===ep.SegmentContent&&this.parseSegmentContent(e),this.state===ep.SegmentFooter&&this.parseSegmentFooter(e);this.state===ep.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=ep.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=ep.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=ep.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=ep.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new yx,this.state=ep.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class yT extends p9.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new yF(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new fH("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class yL{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class yO extends yL{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class yH{create(e,t){return new yO(e,t)}}class yP extends yL{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class yY extends yP{constructor(e,t){super(e,t)}}class yG{create(e,t){throw Error("Method should be implemented in children classes.")}}class yz extends yG{create(e,t){return new yY(e,t)}}let yq="timeout",yV="Authorization",y_="Content-Encoding",yJ="Content-Language",yW="Content-Length",yj="Content-Md5",yK="Content-Type",yX="date",yZ="if-match",y$="if-modified-since",y0="if-none-match",y1="if-unmodified-since",y2="x-ms-",y3="Range",y4="x-ms-date",y5="x-ms-copy-source-error-code";function y8(e,t,r){let n=new URL(e),i=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,o=""===n.search?"?":n.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==i&&a.push(e)}return s&&a.push(`${i}=${s}`),n.search=a.length?`?${a.join("&")}`:"",n.toString()}function y9(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function y6(e){try{return new URL(e).pathname}catch(e){return}}function y7(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let n={};for(let e of r){let t=e.split("="),r=t[0],i=t[1];n[r]=i}return n}async function Be(e,t,r){return new Promise((n,i)=>{let s,o=()=>{void 0!==s&&clearTimeout(s),i(r)};s=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",o),n()},e),void 0!==t&&t.addEventListener("abort",o)})}let Bt=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),Br=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Bn=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function Bi(e,t){return!function(e,t){let r=[Bt,Br,Bn],n=0,i=0,s=0;for(;n<r.length;){if(n===r.length-1&&i!==s)return i>s;let o=i<e.length?r[n][e[i].charCodeAt(0)]:1,a=s<t.length?r[n][t[s].charCodeAt(0)]:1;if(1===o&&1===a)i=0,s=0,++n;else if(o===a)++i,++s;else if(0===o)++i;else{if(0!==a)return o<a;++s}}return!1}(e,t)?1:-1}class Bs extends yP{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(y4,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(yW,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,yJ),this.getHeaderValueToSign(e,y_),this.getHeaderValueToSign(e,yW),this.getHeaderValueToSign(e,yj),this.getHeaderValueToSign(e,yK),this.getHeaderValueToSign(e,yX),this.getHeaderValueToSign(e,y$),this.getHeaderValueToSign(e,yZ),this.getHeaderValueToSign(e,y0),this.getHeaderValueToSign(e,y1),this.getHeaderValueToSign(e,y3)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(yV,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==yW||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(y2));t.sort((e,t)=>Bi(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}getCanonicalizedResourceString(e){let t=y6(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let n=y7(e.url),i={};if(n){let e=[];for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)){let r=t.toLowerCase();i[r]=n[t],e.push(r)}for(let t of(e.sort(),e))r+=` -${t}:${decodeURIComponent(i[t])}`}return r}}class Bo extends yG{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new Bs(e,t,this)}computeHMACSHA256(e){return(0,mt.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let Ba=fk("storage-common");(er=eC||(eC={}))[er.EXPONENTIAL=0]="EXPONENTIAL",er[er.FIXED=1]="FIXED";let BA={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eC.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Bl=new fH("The operation was aborted.");class Bc extends yL{retryOptions;constructor(e,t,r=BA){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:BA.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):BA.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:BA.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:BA.maxRetryDelayInMs):BA.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:BA.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:BA.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let n,i=e.clone(),s=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;s||(i.url=y9(i.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(i.url=y8(i.url,yq,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(Ba.info(`RetryPolicy: =====> Try=${r} ${s?"Primary":"Secondary"}`),n=await this._nextPolicy.sendRequest(i),!this.shouldRetry(s,r,n))return n;t=t||!s&&404===n.status}catch(e){if(Ba.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(s,r,n,e))throw e}return await this.delay(s,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,n){if(t>=this.retryOptions.maxTries)return Ba.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(n){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e)return Ba.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||n){let t=r?r.status:n?n.statusCode:0;if(!e&&404===t)return Ba.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return Ba.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(y5);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag'))&&(Ba.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let n=0;if(e)switch(this.retryOptions.retryPolicyType){case eC.EXPONENTIAL:n=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case eC.FIXED:n=this.retryOptions.retryDelayInMs}else n=1e3*Math.random();return Ba.info(`RetryPolicy: Delay for ${n}ms`),Be(n,r,Bl)}}class Bd{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new Bc(e,t,this.retryOptions)}}let Bg={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eC.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},Bu=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Bh=new fH("The operation was aborted.");class Bm{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,mt.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let Bp="12.33.0",BC="2026-06-06",Bf="snapshot",BI="versionid",BE=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],By=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],BB=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function BQ(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class BN{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function Bb(e,t={}){e||(e=new yz);let r=new BN([],t);return r._credential=e,r}function BS(e){if(e._credential)return e._credential;let t=new yz;for(let r of e.factories)if(f4(r.credential))t=r.credential;else if(Bw(r))return r;return t}function Bw(e){return e instanceof Bo||"StorageSharedKeyCredential"===e.constructor.name}function BD(e){return e instanceof yz||"AnonymousCredential"===e.constructor.name}function Bx(e){return f4(e.credential)}function BR(e){return e instanceof yH||"StorageBrowserPolicyFactory"===e.constructor.name}function Bk(e){return e instanceof Bd||"StorageRetryPolicyFactory"===e.constructor.name}function Bv(e){return"TelemetryPolicyFactory"===e.constructor.name}function BM(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(ef||(ef={})).AES256="AES256",(eI||(eI={})).Backup="backup",(en=eE||(eE={})).NeverExpire="NeverExpire",en.RelativeToCreation="RelativeToCreation",en.RelativeToNow="RelativeToNow",en.Absolute="Absolute",(ei=ey||(ey={})).AccountAlreadyExists="AccountAlreadyExists",ei.AccountBeingCreated="AccountBeingCreated",ei.AccountIsDisabled="AccountIsDisabled",ei.AuthenticationFailed="AuthenticationFailed",ei.AuthorizationFailure="AuthorizationFailure",ei.ConditionHeadersNotSupported="ConditionHeadersNotSupported",ei.ConditionNotMet="ConditionNotMet",ei.EmptyMetadataKey="EmptyMetadataKey",ei.InsufficientAccountPermissions="InsufficientAccountPermissions",ei.InternalError="InternalError",ei.InvalidAuthenticationInfo="InvalidAuthenticationInfo",ei.InvalidHeaderValue="InvalidHeaderValue",ei.InvalidHttpVerb="InvalidHttpVerb",ei.InvalidInput="InvalidInput",ei.InvalidMd5="InvalidMd5",ei.InvalidMetadata="InvalidMetadata",ei.InvalidQueryParameterValue="InvalidQueryParameterValue",ei.InvalidRange="InvalidRange",ei.InvalidResourceName="InvalidResourceName",ei.InvalidUri="InvalidUri",ei.InvalidXmlDocument="InvalidXmlDocument",ei.InvalidXmlNodeValue="InvalidXmlNodeValue",ei.Md5Mismatch="Md5Mismatch",ei.MetadataTooLarge="MetadataTooLarge",ei.MissingContentLengthHeader="MissingContentLengthHeader",ei.MissingRequiredQueryParameter="MissingRequiredQueryParameter",ei.MissingRequiredHeader="MissingRequiredHeader",ei.MissingRequiredXmlNode="MissingRequiredXmlNode",ei.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",ei.OperationTimedOut="OperationTimedOut",ei.OutOfRangeInput="OutOfRangeInput",ei.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",ei.RequestBodyTooLarge="RequestBodyTooLarge",ei.ResourceTypeMismatch="ResourceTypeMismatch",ei.RequestUrlFailedToParse="RequestUrlFailedToParse",ei.ResourceAlreadyExists="ResourceAlreadyExists",ei.ResourceNotFound="ResourceNotFound",ei.ServerBusy="ServerBusy",ei.UnsupportedHeader="UnsupportedHeader",ei.UnsupportedXmlNode="UnsupportedXmlNode",ei.UnsupportedQueryParameter="UnsupportedQueryParameter",ei.UnsupportedHttpVerb="UnsupportedHttpVerb",ei.AppendPositionConditionNotMet="AppendPositionConditionNotMet",ei.BlobAlreadyExists="BlobAlreadyExists",ei.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",ei.BlobNotFound="BlobNotFound",ei.BlobOverwritten="BlobOverwritten",ei.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",ei.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",ei.BlockCountExceedsLimit="BlockCountExceedsLimit",ei.BlockListTooLong="BlockListTooLong",ei.CannotChangeToLowerTier="CannotChangeToLowerTier",ei.CannotVerifyCopySource="CannotVerifyCopySource",ei.ContainerAlreadyExists="ContainerAlreadyExists",ei.ContainerBeingDeleted="ContainerBeingDeleted",ei.ContainerDisabled="ContainerDisabled",ei.ContainerNotFound="ContainerNotFound",ei.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",ei.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",ei.CopyIdMismatch="CopyIdMismatch",ei.FeatureVersionMismatch="FeatureVersionMismatch",ei.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",ei.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",ei.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",ei.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",ei.InvalidBlobOrBlock="InvalidBlobOrBlock",ei.InvalidBlobTier="InvalidBlobTier",ei.InvalidBlobType="InvalidBlobType",ei.InvalidBlockId="InvalidBlockId",ei.InvalidBlockList="InvalidBlockList",ei.InvalidOperation="InvalidOperation",ei.InvalidPageRange="InvalidPageRange",ei.InvalidSourceBlobType="InvalidSourceBlobType",ei.InvalidSourceBlobUrl="InvalidSourceBlobUrl",ei.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",ei.LeaseAlreadyPresent="LeaseAlreadyPresent",ei.LeaseAlreadyBroken="LeaseAlreadyBroken",ei.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",ei.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",ei.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",ei.LeaseIdMissing="LeaseIdMissing",ei.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",ei.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",ei.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",ei.LeaseLost="LeaseLost",ei.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",ei.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",ei.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",ei.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",ei.NoAuthenticationInformation="NoAuthenticationInformation",ei.NoPendingCopyOperation="NoPendingCopyOperation",ei.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",ei.PendingCopyOperation="PendingCopyOperation",ei.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",ei.PreviousSnapshotNotFound="PreviousSnapshotNotFound",ei.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",ei.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",ei.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",ei.SnapshotCountExceeded="SnapshotCountExceeded",ei.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",ei.SnapshotsPresent="SnapshotsPresent",ei.SourceConditionNotMet="SourceConditionNotMet",ei.SystemInUse="SystemInUse",ei.TargetConditionNotMet="TargetConditionNotMet",ei.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",ei.BlobBeingRehydrated="BlobBeingRehydrated",ei.BlobArchived="BlobArchived",ei.BlobNotArchived="BlobNotArchived",ei.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",ei.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",ei.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",ei.AuthorizationServiceMismatch="AuthorizationServiceMismatch",ei.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",ei.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let BU={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},BF={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},BT={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},BL={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},BO={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},BH={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},BP={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},BY={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},BG={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},Bz={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Bq={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},BV={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},B_={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},BJ={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},BW={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Bj={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},BK={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},BX={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},BZ={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},B$={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},B0={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},B1={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},B2={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},B3={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},B4={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},B5={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},B8={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},B9={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},B6={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},B7={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},Qe={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},Qt={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Qr={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},Qn={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},Qi={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},Qs={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Qo={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},Qa={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},QA={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Ql={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},Qc={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},Qd={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qg={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qu={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qh={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qm={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qp={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QC={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qf={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QI={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QE={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qy={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QB={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QQ={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QN={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qb={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qw={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QD={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qx={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QR={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qk={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qv={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QM={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QU={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QF={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QT={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QL={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QO={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QH={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QP={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QY={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QG={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qz={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},Qq={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QV={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q_={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QJ={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QW={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qj={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QK={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QX={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QZ={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q$={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q0={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q1={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q2={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q3={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q4={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q5={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q8={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q9={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},Q6={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q7={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},Ne={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nt={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nr={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nn={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ni={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ns={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},No={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Na={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NA={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nl={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nc={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nd={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},Ng={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nu={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Nh={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nm={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},Np={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NC={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nf={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NI={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NE={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ny={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NB={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NQ={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NN={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nb={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},NS={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nw={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ND={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nx={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nk={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nv={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NM={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NU={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NF={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NL={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NO={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NH={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},NP={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NY={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},NG={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nz={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nq={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NV={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N_={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NJ={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NW={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nj={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NK={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NX={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NZ={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N$={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N0={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},N1={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N2={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N3={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N4={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N5={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N8={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N9={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N6={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N7={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},be={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bt={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},br={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bn={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bi={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bs={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bo={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},ba={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},bA={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bl={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bc={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bd={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bg={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},bu={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bh={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bm={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bp={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},bC={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bf={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bI={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},bE={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},by={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},bB={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},bQ={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},bN={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bb={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bS={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},bw={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},bD={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},bx={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},bR={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bk={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},bv={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},bM={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},bU={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},bF={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bT={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},bL={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bO={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},bH={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},bP={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bY={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},bG={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bz={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},bq={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},bV={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},b_={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},bJ={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},bW={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bj={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bK={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bX={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bZ={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b$={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},b0={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},b1={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b2={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},b3={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b4={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b5={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},b8={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},b9={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},b6={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},b7={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},Se={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},St={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},Sr={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},Sn={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},Si={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},Ss={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},So={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},Sa={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},SA={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},Sl={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},Sc={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},Sd={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},Sg={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},Su={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},Sh={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},Sm={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},Sp={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SC={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},Sf={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},SI={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},SE={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},Sy={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},SB={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},SQ={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},SN={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},Sb={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},SS={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},Sw={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},SD={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},Sx={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},SR={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},Sk={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Sv={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},SM={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},SU={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SF={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},ST={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},SL={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},SO={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},SH={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},SP={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},SY={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},SG={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Sz={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Sq={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},SV={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},S_={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SJ={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},SW={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Sj={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},SK={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},SX={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},SZ={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},S$={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},S0={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},S1={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},S2={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},S3={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},S4={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},S5={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},S8={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},S9={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},S6={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},S7={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},we={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},wt={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class wr{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},wi)}getProperties(e){return this.client.sendOperationRequest({options:e},ws)}getStatistics(e){return this.client.sendOperationRequest({options:e},wo)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},wa)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},wA)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},wl)}submitBatch(e,t,r,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:n},wc)}filterBlobs(e){return this.client.sendOperationRequest({options:e},wd)}}let wn=Ir(ev,!0),wi={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:Qd},default:{bodyMapper:BP,headersMapper:Qg}},requestBody:{parameterPath:"blobServiceProperties",mapper:BU},queryParameters:[bN,bb,bS],urlParameters:[bQ],headerParameters:[by,bB,bw,bD],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wn},ws={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:BU,headersMapper:Qu},default:{bodyMapper:BP,headersMapper:Qh}},queryParameters:[bN,bb,bS],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn},wo={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:BY,headersMapper:Qm},default:{bodyMapper:BP,headersMapper:Qp}},queryParameters:[bN,bS,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn},wa={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Bz,headersMapper:QC},default:{bodyMapper:BP,headersMapper:Qf}},queryParameters:[bS,bR,bk,bv,bM,bU],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn},wA={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:BJ,headersMapper:QI},default:{bodyMapper:BP,headersMapper:QE}},requestBody:{parameterPath:"keyInfo",mapper:B_},queryParameters:[bN,bS,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[by,bB,bw,bD],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wn},wl={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Qy},default:{bodyMapper:BP,headersMapper:QB}},queryParameters:[bb,bS,bF],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn},wc={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:QQ},default:{bodyMapper:BP,headersMapper:QN}},requestBody:bT,queryParameters:[bS,bL],urlParameters:[bQ],headerParameters:[bB,bw,bD,bO,bH],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wn},wd={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:BW,headersMapper:Qb},default:{bodyMapper:BP,headersMapper:QS}},queryParameters:[bS,bv,bM,bP,bY],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wn};class wg{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},wh)}getProperties(e){return this.client.sendOperationRequest({options:e},wm)}delete(e){return this.client.sendOperationRequest({options:e},wp)}setMetadata(e){return this.client.sendOperationRequest({options:e},wC)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},wf)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},wI)}restore(e){return this.client.sendOperationRequest({options:e},wE)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},wy)}submitBatch(e,t,r,n){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:n},wB)}filterBlobs(e){return this.client.sendOperationRequest({options:e},wQ)}acquireLease(e){return this.client.sendOperationRequest({options:e},wN)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wb)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wS)}breakLease(e){return this.client.sendOperationRequest({options:e},ww)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},wD)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},wx)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},wR)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},wk)}}let wu=Ir(ev,!0),wh={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Qw},default:{bodyMapper:BP,headersMapper:QD}},queryParameters:[bS,bG],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bq,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:wu},wm={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Qx},default:{bodyMapper:BP,headersMapper:QR}},queryParameters:[bS,bG],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV],isXML:!0,serializer:wu},wp={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:Qk},default:{bodyMapper:BP,headersMapper:Qv}},queryParameters:[bS,bG],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ],isXML:!0,serializer:wu},wC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QM},default:{bodyMapper:BP,headersMapper:QU}},queryParameters:[bS,bG,bW],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_],isXML:!0,serializer:wu},wf={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:QF},default:{bodyMapper:BP,headersMapper:QT}},queryParameters:[bS,bG,bj],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV],isXML:!0,serializer:wu},wI={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QL},default:{bodyMapper:BP,headersMapper:QO}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[bS,bG,bj],urlParameters:[bQ],headerParameters:[by,bB,bw,bD,bq,bV,b_,bJ],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wu},wE={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:QH},default:{bodyMapper:BP,headersMapper:QP}},queryParameters:[bS,bG,bK],urlParameters:[bQ],headerParameters:[bw,bD,bx,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:wu},wy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QY},default:{bodyMapper:BP,headersMapper:QG}},queryParameters:[bS,bG,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:wu},wB={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Qz},default:{bodyMapper:BP,headersMapper:Qq}},requestBody:bT,queryParameters:[bS,bL,bG],urlParameters:[bQ],headerParameters:[bB,bw,bD,bO,bH],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wu},wQ={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:BW,headersMapper:QV},default:{bodyMapper:BP,headersMapper:Q_}},queryParameters:[bS,bv,bM,bP,bY,bG],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wu},wN={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:QJ},default:{bodyMapper:BP,headersMapper:QW}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,bZ,b$,b0],isXML:!0,serializer:wu},wb={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qj},default:{bodyMapper:BP,headersMapper:QK}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b1,b2],isXML:!0,serializer:wu},wS={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QX},default:{bodyMapper:BP,headersMapper:QZ}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b2,b3],isXML:!0,serializer:wu},ww={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:Q$},default:{bodyMapper:BP,headersMapper:Q0}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b4,b5],isXML:!0,serializer:wu},wD={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Q1},default:{bodyMapper:BP,headersMapper:Q2}},queryParameters:[bS,bG,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b2,b8,b9],isXML:!0,serializer:wu},wx={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:B0,headersMapper:Q3},default:{bodyMapper:BP,headersMapper:Q4}},queryParameters:[bS,bR,bk,bv,bM,bG,b6,b7],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wu},wR={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:B5,headersMapper:Q5},default:{bodyMapper:BP,headersMapper:Q8}},queryParameters:[bS,bR,bk,bv,bM,bG,b6,b7,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wu},wk={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Q9},default:{bodyMapper:BP,headersMapper:Q6}},queryParameters:[bb,bS,bF],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wu};class wv{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},wU)}getProperties(e){return this.client.sendOperationRequest({options:e},wF)}delete(e){return this.client.sendOperationRequest({options:e},wT)}undelete(e){return this.client.sendOperationRequest({options:e},wL)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},wO)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},wH)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wP)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wY)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},wG)}setMetadata(e){return this.client.sendOperationRequest({options:e},wz)}acquireLease(e){return this.client.sendOperationRequest({options:e},wq)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wV)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},w_)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},wJ)}breakLease(e){return this.client.sendOperationRequest({options:e},wW)}createSnapshot(e){return this.client.sendOperationRequest({options:e},wj)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wK)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wX)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},wZ)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},w$)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},w0)}query(e){return this.client.sendOperationRequest({options:e},w1)}getTags(e){return this.client.sendOperationRequest({options:e},w2)}setTags(e){return this.client.sendOperationRequest({options:e},w3)}}let wM=Ir(ev,!0),wU={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Q7},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Q7},default:{bodyMapper:BP,headersMapper:Ne}},queryParameters:[bS,Se,St],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sr,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},Sn,Si,Ss,So,Sa,SA,Sl],isXML:!0,serializer:wM},wF={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:Nt},default:{bodyMapper:BP,headersMapper:Nr}},queryParameters:[bS,Se,St],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl],isXML:!0,serializer:wM},wT={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Nn},default:{bodyMapper:BP,headersMapper:Ni}},queryParameters:[bS,Se,St,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sa,SA,Sl,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:wM},wL={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ns},default:{bodyMapper:BP,headersMapper:No}},queryParameters:[bS,bK],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wM},wO={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Na},default:{bodyMapper:BP,headersMapper:NA}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:wM},wH={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nl},default:{bodyMapper:BP,headersMapper:Nc}},queryParameters:[bb,bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm],isXML:!0,serializer:wM},wP={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nd},default:{bodyMapper:BP,headersMapper:Ng}},queryParameters:[bS,Se,St,Sp],urlParameters:[bQ],headerParameters:[bw,bD,bx,bJ,SC,Sf],isXML:!0,serializer:wM},wY={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:Nu},default:{bodyMapper:BP,headersMapper:Nh}},queryParameters:[bS,Se,St,Sp],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wM},wG={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nm},default:{bodyMapper:BP,headersMapper:Np}},queryParameters:[bS,Se,St,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:wM},wz={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NC},default:{bodyMapper:BP,headersMapper:Nf}},queryParameters:[bS,bW],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI],isXML:!0,serializer:wM},wq={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NI},default:{bodyMapper:BP,headersMapper:NE}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,bZ,b$,b0,Sa,SA,Sl],isXML:!0,serializer:wM},wV={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ny},default:{bodyMapper:BP,headersMapper:NB}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b1,b2,Sa,SA,Sl],isXML:!0,serializer:wM},w_={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NQ},default:{bodyMapper:BP,headersMapper:NN}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b2,b3,Sa,SA,Sl],isXML:!0,serializer:wM},wJ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nb},default:{bodyMapper:BP,headersMapper:NS}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b2,b8,b9,Sa,SA,Sl],isXML:!0,serializer:wM},wW={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Nw},default:{bodyMapper:BP,headersMapper:ND}},queryParameters:[bS,bX],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,b4,b5,Sa,SA,Sl],isXML:!0,serializer:wM},wj={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nx},default:{bodyMapper:BP,headersMapper:NR}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI],isXML:!0,serializer:wM},wK={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Nk},default:{bodyMapper:BP,headersMapper:Nv}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_,bJ,Sa,SA,Sl,SC,Sf,SE,Sy,SB,SQ,SN,Sb,SS,Sw,SD,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},Sx],isXML:!0,serializer:wM},wX={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:NM},default:{bodyMapper:BP,headersMapper:NU}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bz,bV,b_,bJ,Sa,SA,Sl,SC,Sf,SI,SE,SB,SQ,SN,Sb,Sw,SD,Sx,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},SR,Sk,Sv,SM],isXML:!0,serializer:wM},wZ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:NF},default:{bodyMapper:BP,headersMapper:NT}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:wM},w$={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NL},202:{headersMapper:NL},default:{bodyMapper:BP,headersMapper:NO}},queryParameters:[bS,Se,St,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,Sl,Sy,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:wM},w0={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:NH},default:{bodyMapper:BP,headersMapper:NP}},queryParameters:[bb,bS,bF],urlParameters:[bQ],headerParameters:[bw,bD,bx],isXML:!0,serializer:wM},w1={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:NY},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:NY},default:{bodyMapper:BP,headersMapper:NG}},requestBody:{parameterPath:["options","queryRequest"],mapper:Qi},queryParameters:[bS,Se,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[by,bB,bw,bD,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wM},w2={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:BK,headersMapper:Nz},default:{bodyMapper:BP,headersMapper:Nq}},queryParameters:[bS,Se,St,SU],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,Sl,SF,ST,SL,SO],isXML:!0,serializer:wM},w3={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:NV},default:{bodyMapper:BP,headersMapper:N_}},requestBody:{parameterPath:["options","tags"],mapper:BK},queryParameters:[bS,St,SU],urlParameters:[bQ],headerParameters:[by,bB,bw,bD,bV,Sl,SF,ST,SL,SO,SH,SP],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wM};class w4{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},w8)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},w9)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},w6)}uploadPagesFromURL(e,t,r,n,i){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:n,options:i},w7)}getPageRanges(e){return this.client.sendOperationRequest({options:e},De)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Dt)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Dr)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},Dn)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Di)}}let w5=Ir(ev,!0),w8={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NJ},default:{bodyMapper:BP,headersMapper:NW}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SC,Sf,SI,SE,SD,Sx,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},SY,SG],isXML:!0,serializer:w5},w9={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nj},default:{bodyMapper:BP,headersMapper:NK}},requestBody:Sq,queryParameters:[bS,S_],urlParameters:[bQ],headerParameters:[bw,bD,bO,bV,b_,bJ,Sr,Sn,Si,Ss,So,Sa,SA,Sl,SI,SH,SP,Sz,SV,SJ,SW,Sj,SK,SX],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:w5},w6={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NX},default:{bodyMapper:BP,headersMapper:NZ}},queryParameters:[bS,S_],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bV,b_,bJ,Sr,Si,Ss,So,Sa,SA,Sl,SI,SW,Sj,SK,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:w5},w7={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:N$},default:{bodyMapper:BP,headersMapper:N0}},queryParameters:[bS,S_],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI,SB,SQ,SN,Sb,SR,Sk,SM,SJ,SW,Sj,SK,SZ,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},S$,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},S0,S1,S2],isXML:!0,serializer:w5},De={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Qt,headersMapper:N1},default:{bodyMapper:BP,headersMapper:N2}},queryParameters:[bS,bv,bM,Se,S3],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sr,Sa,SA,Sl],isXML:!0,serializer:w5},Dt={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Qt,headersMapper:N3},default:{bodyMapper:BP,headersMapper:N4}},queryParameters:[bS,bv,bM,Se,S3,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sr,Sa,SA,Sl,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:w5},Dr={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:N5},default:{bodyMapper:BP,headersMapper:N8}},queryParameters:[bb,bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI,SY],isXML:!0,serializer:w5},Dn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:N9},default:{bodyMapper:BP,headersMapper:N6}},queryParameters:[bb,bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sa,SA,Sl,SG,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:w5},Di={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:N7},default:{bodyMapper:BP,headersMapper:be}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,b_,bJ,Sa,SA,Sl,Sw],isXML:!0,serializer:w5};class Ds{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Da)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},DA)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},Dl)}seal(e){return this.client.sendOperationRequest({options:e},Dc)}}let Do=Ir(ev,!0),Da={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bt},default:{bodyMapper:BP,headersMapper:br}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SC,Sf,SI,SD,Sx,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:Do},DA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bn},default:{bodyMapper:BP,headersMapper:bi}},requestBody:Sq,queryParameters:[bS,S4],urlParameters:[bQ],headerParameters:[bw,bD,bO,bV,b_,bJ,Sn,Si,Ss,So,Sa,SA,Sl,SI,SH,SP,Sz,SV,SX,S5,S8],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Do},Dl={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bs},default:{bodyMapper:BP,headersMapper:bo}},queryParameters:[bS,S4],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,SI,SB,SQ,SN,Sb,SR,Sk,SM,SH,SZ,S$,S0,S1,S2,S5,S8,S9],isXML:!0,serializer:Do},Dc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ba},default:{bodyMapper:BP,headersMapper:bA}},queryParameters:[bS,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,b_,bJ,Sa,SA,S8],isXML:!0,serializer:Do};class Dd{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Du)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},Dh)}stageBlock(e,t,r,n){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:n},Dm)}stageBlockFromURL(e,t,r,n){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:n},Dp)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},DC)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},Df)}}let Dg=Ir(ev,!0),Du={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bl},default:{bodyMapper:BP,headersMapper:bc}},requestBody:Sq,queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bO,bz,bV,b_,bJ,Sn,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SC,Sf,SI,SE,SD,Sx,SH,SP,Sz,SV,SX,S6],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Dg},Dh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bd},default:{bodyMapper:BP,headersMapper:bg}},queryParameters:[bS],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SI,SE,SB,SQ,SN,Sb,SS,Sw,SD,SR,Sk,Sv,SM,SH,S0,S1,S2,S6,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:Dg},Dm={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bu},default:{bodyMapper:BP,headersMapper:bh}},requestBody:Sq,queryParameters:[bS,S7,we],urlParameters:[bQ],headerParameters:[bw,bD,bO,bV,Sn,Si,Ss,So,SI,SH,SP,Sz,SV,SX],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Dg},Dp={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bm},default:{bodyMapper:BP,headersMapper:bp}},queryParameters:[bS,S7,we],urlParameters:[bQ],headerParameters:[bw,bD,bx,bO,bV,Si,Ss,So,SI,SB,SQ,SN,Sb,SR,Sk,SM,SZ,S$,S0,S1,S2,S9],isXML:!0,serializer:Dg},DC={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:bC},default:{bodyMapper:BP,headersMapper:bf}},requestBody:{parameterPath:"blocks",mapper:B6},queryParameters:[bS,wt],urlParameters:[bQ],headerParameters:[by,bB,bw,bD,bz,bV,b_,bJ,Si,Ss,So,Sa,SA,Sl,Sc,Sd,Sg,Su,Sh,Sm,SC,Sf,SI,SE,SD,Sx,SH,SP],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Dg},Df={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:B7,headersMapper:bI},default:{bodyMapper:BP,headersMapper:bE}},queryParameters:[bS,Se,wt,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[bQ],headerParameters:[bw,bD,bx,bV,Sl],isXML:!0,serializer:Dg};class DI extends IP{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",n=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:n},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new wr(this),this.container=new wg(this),this.blob=new wv(this),this.pageBlob=new w4(this),this.appendBlob=new Ds(this),this.blockBlob=new Dd(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class DE extends DI{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let Dy=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function DB(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function DQ(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=DB(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let n="",i="",s=Buffer.from("accountKey","base64"),o="";if(i=DB(e,"AccountName"),s=Buffer.from(DB(e,"AccountKey"),"base64"),!r){let t=(n=DB(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(o=DB(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${n}://${i}.blob.${o}`}if(i){if(0===s.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:i,accountKey:s,proxyUri:t}}{let t=DB(e,"SharedAccessSignature"),n=DB(e,"AccountName");if(n||(n=DR(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:n,accountSas:t}}}function DN(e,t){let r=new URL(e),n=r.pathname;return r.pathname=n=n?n.endsWith("/")?`${n}${t}`:`${n}/${t}`:t,r.toString()}function Db(e,t,r){let n=new URL(e),i=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,o=""===n.search?"?":n.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==i&&a.push(e)}return s&&a.push(`${i}=${s}`),n.search=a.length?`?${a.join("&")}`:"",n.toString()}function DS(e,t){return new URL(e).searchParams.get(t)??void 0}function Dw(e,t){let r=new URL(e),n=r.search;return n?n+="&"+t:n=t,r.search=n,r.toString()}function DD(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function Dx(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function DR(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<Dy.length;++e){let r=Dy[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=Dk(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function Dk(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&BB.includes(e.port)}function Dv(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let n=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(n)}`)}return t.join("&")}function DM(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function DU(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let n=r.split("_");n[0].startsWith("or-")&&(n[0]=n[0].substring(3));let i={ruleId:n[1],replicationStatus:e[r]},s=t.findIndex(e=>e.policyId===n[0]);s>-1?t[s].rules.push(i):t.push({policyId:n[0],rules:[i]})}return t}function DF(e){return e?e.scheme+" "+e.value:void 0}function*DT(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let n=0,i=0;for(;n<t.length&&i<r.length;)t[n].start<r[i].start?(yield{start:t[n].start,end:t[n].end,isClear:!1},++n):(yield{start:r[i].start,end:r[i].end,isClear:!0},++i);for(;n<t.length;++n)yield{start:t[n].start,end:t[n].end,isClear:!1};for(;i<r.length;++i)yield{start:r[i].start,end:r[i].end,isClear:!0}}function DL(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function DO(e,t,r,n,i){let s,o=n.contentChecksumAlgorithm??i;return void 0===o&&(o="Customized"),"Auto"===o&&(o="StorageCrc64"),"Customized"===o?(r.transactionalContentMD5=n.transactionalContentMD5,r.transactionalContentCrc64=n.transactionalContentCrc64):"StorageCrc64"===o&&(await yx.init(),s=await yk(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===o?s.body:e,contentLength:"StorageCrc64"===o?s.encodedContentLength:t,contentChecksumAlgorithm:o}}class DH{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,n;this.url=(n=(r=new URL(e)).pathname,r.pathname=n=encodeURIComponent(n=n||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=DR(e),this.pipeline=t,this.storageClientContext=new DE(this.url,function(e){let{httpClient:t,...r}=e.options,n=e._coreHttpClient;!n&&(e._coreHttpClient=n=t?{sendRequest:async e=>IH(await t.sendRequest(IM(e,{createProxy:!0})))}:(A||(A=fj()),A));let i=e._corePipeline;if(!i){let t=`azsdk-js-azure-storage-blob/${Bp}`,n=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(i=IB({...r,loggingOptions:{additionalAllowedHeaderNames:BE,additionalAllowedQueryParameters:By,logger:yE.info},userAgentOptions:{userAgentPrefix:n},serializationOptions:{stringifyXML:yf,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:yI,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),i.removePolicy({name:fM}),i.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(yW,Buffer.byteLength(e.body)),t(e))}),i.addPolicy(function(e={}){let t=e.retryPolicyType??Bg.retryPolicyType,r=e.maxTries??Bg.maxTries,n=e.retryDelayInMs??Bg.retryDelayInMs,i=e.maxRetryDelayInMs??Bg.maxRetryDelayInMs,s=e.secondaryHost??Bg.secondaryHost,o=e.tryTimeoutInMs??Bg.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,a){let A,l;o&&(e.url=y8(e.url,yq,String(Math.floor(o/1e3))));let c=e.url,d=s?y9(e.url,s):void 0,g=!1,u=1,h=!0;for(;h;){let s=g||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||u%2==1;e.url=s?c:d,A=void 0,l=void 0;try{Ba.info(`RetryPolicy: =====> Try=${u} ${s?"Primary":"Secondary"}`),A=await a(e),g=g||!s&&404===A.status}catch(e){if(C4(e))Ba.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw Ba.error(`RetryPolicy: Caught error, message: ${fY(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:n,error:i}){if(t>=r)return Ba.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(i){for(let e of Bu)if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return Ba.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))return Ba.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(n||i){let t=n?.status??i?.statusCode??0;if(!e&&404===t)return Ba.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return Ba.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(n&&n?.status>=400){let e=n.headers.get(y5);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:s,attempt:u,response:A,error:l}))&&await Be(function(e,r){let s=0;if(e)switch(t){case eC.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*n,i);break;case eC.FIXED:s=n}else s=1e3*Math.random();return Ba.info(`RetryPolicy: Delay for ${s}ms`),s}(s,u),e.abortSignal,Bh),u++}if(A)return A;throw l??new C3("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),i.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),i.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let s=function(e){let t=[BD,Bw,Bx,BR,Bk,Bv,BM];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let n={sendRequest:async e=>IO(await r(Iv(e)),{createProxy:!0})};for(let t of e)n=t.create(n,IY);let i=IM(t,{createProxy:!0});return IH(await n.sendRequest(i))}}),afterRetry:t}}}}(e);s&&i.addPolicy(s.wrappedPolicies,s.afterRetry?{afterPhase:"Retry"}:void 0);let o=BS(e);f4(o)?i.addPolicy(f2({credential:o,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:ID}}),{phase:"Sign"}):o instanceof Bo&&i.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==yW||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,n){let i,s;return r.headers.set(y4,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(yW,Buffer.byteLength(r.body)),i=[r.method.toUpperCase(),t(r,yJ),t(r,y_),t(r,yW),t(r,yj),t(r,yK),t(r,yX),t(r,y$),t(r,yZ),t(r,y0),t(r,y1),t(r,y3)].join("\n")+"\n"+function(e){let t=[];for(let[r,n]of e.headers)r.toLowerCase().startsWith(y2)&&t.push({name:r,value:n});t.sort((e,t)=>Bi(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}(r)+function(t){let r=y6(t.url)||"/",n="";n+=`/${e.accountName}${r}`;let i=y7(t.url),s={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();s[r]=i[t],e.push(r)}for(let t of(e.sort(),e))n+=` -${t}:${decodeURIComponent(s[t])}`}return n}(r),s=(0,mt.createHmac)("sha256",e.accountKey).update(i,"utf8").digest("base64"),r.headers.set(yV,`SharedKey ${e.accountName}:${s}`),n(r)}}}({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"}),e._corePipeline=i}return{...r,allowInsecureConnection:!0,httpClient:n,pipeline:i}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=BS(t),this.storageClientContext.requestContentType=void 0}}let DP=fJ({packageName:"@azure/storage-blob",packageVersion:Bp,namespace:"Microsoft.Storage"});class DY{static parse(e){let t=new DY;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new DY;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class DG{static parse(e){let t=new DG;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new DG;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function Dz(e){return e.end?`${e.start}-${e.end}`:e.start}(es=eB||(eB={})).Https="https",es.HttpsAndHttp="https,http";class Dq{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,n,i,s,o,a,A,l,c,d,g,u,h,m,p,C,f,I,E,y,B,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=n,this.resourceTypes=i,this.expiresOn=a,this.permissions=r,this.protocol=s,this.startsOn=o,this.ipRangeInner=A,this.delegatedUserObjectId=E,this.encryptionScope=I,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=g,this.contentEncoding=u,this.contentLanguage=h,this.contentType=m,this.requestHeaderKeys=y,this.requestQueryParameterKeys=B,this.directoryDepth=Q,p&&(this.signedOid=p.signedObjectId,this.signedTenantId=p.signedTenantId,this.signedStartsOn=p.signedStartsOn,this.signedExpiresOn=p.signedExpiresOn,this.signedService=p.signedService,this.signedVersion=p.signedVersion,this.signedDelegatedUserTid=p.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=C,this.correlationId=f))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?DD(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?DD(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?Dz(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?DD(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?DD(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function DV(e,t,r){return D_(e,t,r).sasQueryParameters}function D_(e,t,r){let n,i=e.version?e.version:BC,s=t instanceof Bo?t:void 0;if(void 0===s&&void 0!==r&&(n=new Bm(r,t)),void 0===s&&void 0===n)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(i>="2020-12-06")if(void 0!==s)return function(e,t){let r,n;if(!(e=Dj(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,n),stringToSign:o}}(e,s);else if(i>="2026-04-06")return function(e,t){let r,n;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,DJ(e.requestHeaders),DJ(e.requestQueryParameters),n),stringToSign:o}}(e,n);else if(i>="2025-07-05")return function(e,t){let r,n;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,n),stringToSign:o}}(e,n);else return function(e,t){let r,n;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,n),stringToSign:o}}(e,n);if(i>="2018-11-09")if(void 0!==s)if(i>="2020-02-10")return function(e,t){let r,n;if(!(e=Dj(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,n),stringToSign:o}}(e,s);else return function(e,t){let r;if(!(e=Dj(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",i=e.snapshotTime;e.blobName&&(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",i=e.versionId)),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,i,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new Dq(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:s}}(e,s);else if(i>="2020-02-10")return function(e,t){let r,n;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(i="d",n=DK(e.blobName).split("/").length):(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId))),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dq(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,n),stringToSign:o}}(e,n);else return function(e,t){let r;if(!(e=Dj(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",i=e.snapshotTime;e.blobName&&(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",i=e.versionId)),e.permissions&&(r=e.blobName?DY.parse(e.permissions.toString()).toString():DG.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?DD(e.startsOn,!1):"",e.expiresOn?DD(e.expiresOn,!1):"",DW(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?DD(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?DD(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?Dz(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new Dq(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:s}}(e,n);if(i>="2015-04-05")if(void 0!==s){let t;var o=e,a=s;if(!(o=Dj(o)).identifier&&!(o.permissions&&o.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";o.blobName&&(r="b"),o.permissions&&(t=o.blobName?DY.parse(o.permissions.toString()).toString():DG.parse(o.permissions.toString()).toString());let n=[t||"",o.startsOn?DD(o.startsOn,!1):"",o.expiresOn?DD(o.expiresOn,!1):"",DW(a.accountName,o.containerName,o.blobName),o.identifier,o.ipRange?Dz(o.ipRange):"",o.protocol?o.protocol:"",o.version,o.cacheControl?o.cacheControl:"",o.contentDisposition?o.contentDisposition:"",o.contentEncoding?o.contentEncoding:"",o.contentLanguage?o.contentLanguage:"",o.contentType?o.contentType:""].join("\n"),i=a.computeHMACSHA256(n);return{sasQueryParameters:new Dq(o.version,i,t,void 0,void 0,o.protocol,o.startsOn,o.expiresOn,o.ipRange,o.identifier,r,o.cacheControl,o.contentDisposition,o.contentEncoding,o.contentLanguage,o.contentType),stringToSign:n}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function DJ(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function DW(e,t,r){let n=[`/blob/${e}/${t}`];return r&&n.push(`/${r}`),n.join("")}function Dj(e){let t=e.version?e.version:BC;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function DK(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class DX{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=CV()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-acquireLease",t,async r=>DL(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-changeLease",t,async r=>{let n=DL(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,n})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-releaseLease",e,async t=>DL(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DP.withSpan("BlobLeaseClient-breakLease",t,async r=>{let n={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return DL(await this._containerOrBlobOperation.breakLease(n))})}}class DZ extends p9.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,n,i={}){super({highWaterMark:i.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+n-1,this.maxRetryRequests=i.maxRetryRequests&&i.maxRetryRequests>=0?i.maxRetryRequests:0,this.onProgress=i.onProgress,this.options=i,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new fH("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class D${get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,n,i={}){this.originalResponse=e;let s=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new yT(this.originalResponse.readableStreamBody,i);this.blobDownloadStream=new DZ(s,t,r,n,i)}}let D0=new Uint8Array([79,98,106,1]);class D1{static async readFixedBytes(e,t,r={}){let n=await e.read(t,{abortSignal:r.abortSignal});if(n.length!==t)throw Error("Hit stream end.");return n}static async readByte(e,t={}){return(await D1.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,n,i,s=0,o=0;do n=128&(r=await D1.readByte(e,t)),s|=(127&r)<<o,o+=7;while(n&&o<28);if(n){i=0x10000000;do s+=(127&(r=await D1.readByte(e,t)))*i,i*=128;while(128&r);let n=(s%2?-(s+1):s)/2;if(n<Number.MIN_SAFE_INTEGER||n>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return n}return s>>1^-(1&s)}static async readLong(e,t={}){return D1.readZigZagLong(e,t)}static async readInt(e,t={}){return D1.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await D1.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await D1.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await D1.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await D1.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await D1.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await D1.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let n=await D1.readArray(e,(e,r={})=>D1.readMapPair(e,t,r),r),i={};for(let e of n)i[e.key]=e.value;return i}static async readArray(e,t,r={}){let n=[];for(let i=await D1.readLong(e,r);0!==i;i=await D1.readLong(e,r))for(i<0&&(await D1.readLong(e,r),i=-i);i--;){let i=await t(e,r);n.push(i)}return n}}(eo=eQ||(eQ={})).RECORD="record",eo.ENUM="enum",eo.ARRAY="array",eo.MAP="map",eo.UNION="union",eo.FIXED="fixed",(ea=eN||(eN={})).NULL="null",ea.BOOLEAN="boolean",ea.INT="int",ea.LONG="long",ea.FLOAT="float",ea.DOUBLE="double",ea.BYTES="bytes",ea.STRING="string";class D2{static fromSchema(e){return"string"==typeof e?D2.fromStringSchema(e):Array.isArray(e)?D2.fromArraySchema(e):D2.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case eN.NULL:case eN.BOOLEAN:case eN.INT:case eN.LONG:case eN.FLOAT:case eN.DOUBLE:case eN.BYTES:case eN.STRING:return new D3(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new D5(e.map(D2.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return D2.fromStringSchema(t)}catch{}switch(t){case eQ.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=D2.fromSchema(t.type);return new D9(r,e.name);case eQ.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new D4(e.symbols);case eQ.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new D8(D2.fromSchema(e.values));case eQ.ARRAY:case eQ.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class D3 extends D2{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case eN.NULL:return D1.readNull();case eN.BOOLEAN:return D1.readBoolean(e,t);case eN.INT:return D1.readInt(e,t);case eN.LONG:return D1.readLong(e,t);case eN.FLOAT:return D1.readFloat(e,t);case eN.DOUBLE:return D1.readDouble(e,t);case eN.BYTES:return D1.readBytes(e,t);case eN.STRING:return D1.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class D4 extends D2{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await D1.readInt(e,t);return this._symbols[r]}}class D5 extends D2{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await D1.readInt(e,t);return this._types[r].read(e,t)}}class D8 extends D2{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return D1.readMap(e,r,t)}}class D9 extends D2{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let n in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,n)&&(r[n]=await this._fields[n].read(e,t));return r}}function D6(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class D7{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,n){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=n||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!D6(await D1.readFixedBytes(this._headerStream,D0.length,{abortSignal:e.abortSignal}),D0))throw Error("Stream is not an Avro file.");this._metadata=await D1.readMap(this._headerStream,D1.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await D1.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=D2.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await D1.readLong(this._dataStream,{abortSignal:e.abortSignal}),await D1.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await D1.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!D6(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await D1.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await D1.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class xe{}let xt=n("buffer"),xr=new fH("Reading from the avro stream was aborted.");class xn extends xe{_position;_readable;toUint8Array(e){return"string"==typeof e?xt.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw xr;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,n)=>{let i=()=>{this._readable.removeListener("readable",s),this._readable.removeListener("error",o),this._readable.removeListener("end",o),this._readable.removeListener("close",o),t.abortSignal&&t.abortSignal.removeEventListener("abort",a)},s=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,i(),r(this.toUint8Array(t)))},o=()=>{i(),n()},a=()=>{i(),n(xr)};this._readable.on("readable",s),this._readable.once("error",o),this._readable.once("end",o),this._readable.once("close",o),t.abortSignal&&t.abortSignal.addEventListener("abort",a)})}}class xi extends p9.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new D7(new xn(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let n=t.description;if("string"!=typeof n)throw Error("Invalid description in avro error record.");let i=t.position;if("number"!=typeof i)throw Error("Invalid position in avro error record.");this.onError({position:i,name:r,isFatal:e,description:n})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class xs{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new xi(this.originalResponse.readableStreamBody,t)}}function xo(e){if(void 0!==e)return e}function xa(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function xA(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(eA=eb||(eb={})).Hot="Hot",eA.Cool="Cool",eA.Cold="Cold",eA.Archive="Archive",(el=eS||(eS={})).P4="P4",el.P6="P6",el.P10="P10",el.P15="P15",el.P20="P20",el.P30="P30",el.P40="P40",el.P50="P50",el.P60="P60",el.P70="P70",el.P80="P80",(ec=ew||(ew={})).StorageOAuthScopes="https://storage.azure.com/.default",ec.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",fk("core-lro");class xl extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,xl.prototype)}}class xc extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,xc.prototype)}}class xd{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new xc("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new xl("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class xg extends xd{intervalInMs;constructor(e){let t,{blobClient:r,copySource:n,intervalInMs:i=15e3,onProgress:s,resumeFrom:o,startCopyFromURLOptions:a}=e;o&&(t=JSON.parse(o).state),super(xp({...t,blobClient:r,copySource:n,startCopyFromURLOptions:a})),"function"==typeof s&&this.onProgress(s),this.intervalInMs=i}delay(){return fP(this.intervalInMs)}}let xu=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),xp(t)},xh=async function(e={}){let t=this.state,{blobClient:r,copySource:n,startCopyFromURLOptions:i}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:n,copyProgress:i}=r,s=t.copyProgress;i&&(t.copyProgress=i),"pending"===n&&i!==s&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===n?(t.result=r,t.isCompleted=!0):"failed"===n&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(n,i);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return xp(t)},xm=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function xp(e){return{state:{...e},cancel:xu,toString:xm,update:xh}}function xC(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(ed=eD||(eD={}))[ed.Good=0]="Good",ed[ed.Error=1]="Error";class xf{concurrency;actives=0;completed=0;offset=0;operations=[];state=eD.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new yy.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=eD.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==eD.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}async function xI(e,t,r,n,i){let s=0,o=n-r;return new Promise((n,a)=>{let A=setTimeout(()=>a(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let a;if(s>=o){clearTimeout(A),n();return}for(;null!==(a=e.read());){"string"==typeof a&&(a=Buffer.from(a,i));let e=s+a.length>o?o-s:a.length;if(t.fill(a.slice(0,e),r+s,r+s+e),(s+=e)>=o){clearTimeout(A),n();return}}}),e.on("end",()=>{clearTimeout(A),s<o&&a(Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${o}`)),n()}),e.on("error",e=>{clearTimeout(A),a(e)})})}async function xE(e,t){return new Promise((r,n)=>{let i=mr.createWriteStream(t);e.on("error",e=>{n(e)}),i.on("error",e=>{n(e)}),i.on("close",r),e.pipe(i)})}let xy=CB.promisify(mr.stat),xB=mr.createReadStream;class xQ extends DH{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,n){let i,s;if(n=n||{},BQ(t))s=e,i=t,n=r;else if(t instanceof Bo||t instanceof yz||f4(t))s=e,i=Bb(t,n=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=DQ(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new Bo(o.accountName,o.accountKey);s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r)),n.proxyOptions||(n.proxyOptions=fG(o.proxyUri)),i=Bb(e,n)}else if("SASConnString"===o.kind)s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,i=Bb(new yz,n);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(n=r),i=Bb(new yz,n);super(s,i),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=DS(this.url,Bf),this._versionId=DS(this.url,BI),this.blobClientConfig=n}withSnapshot(e){return new xQ(Db(this.url,Bf,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new xQ(Db(this.url,BI,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new xN(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new xb(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new xS(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},xa(r.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-download",r,async n=>{let i=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===i?i="Customized":"Auto"===i&&(i="StorageCrc64"),"StorageCrc64"===i&&await yx.init();let s=DL(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?xC({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:n.tracingOptions,structuredBodyType:"StorageCrc64"===i?"XSM/1.0; properties=crc64":void 0})),o={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:DU(s.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===s.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===i&&void 0===s.structuredContentLength)throw RangeError("Unexpected structured content length");if(!s.etag)throw RangeError("File download response doesn't contain valid etag header");let a="StorageCrc64"===i?s.structuredContentLength:s.contentLength;return new D$(o,async t=>{let n={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||s.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:xC({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===i?"XSM/1.0; properties=crc64":void 0},o=(await this.blobContext.download({abortSignal:r.abortSignal,...n})).readableStreamBody;return"StorageCrc64"!==i?o:new yT(o,{})},e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return DP.withSpan("BlobClient-exists",e,async t=>{try{return xa(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},xa(e.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-getProperties",e,async t=>{let r=DL(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:DU(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},DP.withSpan("BlobClient-delete",e,async t=>DL(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return DP.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=DL(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return DP.withSpan("BlobClient-undelete",e,async t=>DL(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-setHTTPHeaders",t,async r=>DL(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-setMetadata",t,async r=>DL(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return DP.withSpan("BlobClient-setTags",t,async r=>DL(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let n=e[r];t.blobTagSet.push({key:r,value:n})}return t}(e)})))}async getTags(e={}){return DP.withSpan("BlobClient-getTags",e,async t=>{let r=DL(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new DX(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},xa(e.customerProvidedKey,this.isHttps),DP.withSpan("BlobClient-createSnapshot",e,async t=>DL(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new xg({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return DP.withSpan("BlobClient-abortCopyFromURL",t,async r=>DL(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},DP.withSpan("BlobClient-syncCopyFromURL",t,async r=>DL(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:DF(t.sourceAuthorization),tier:xo(t.tier),blobTagsString:Dv(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return DP.withSpan("BlobClient-setAccessTier",t,async r=>DL(await this.blobContext.setTier(xo(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,n={}){let i,s=0,o=0,a=n;e instanceof Buffer?(i=e,s=t||0,o="number"==typeof r?r:0):(s="number"==typeof e?e:0,o="number"==typeof t?t:0,a=r||{});let A=a.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),s<0)throw RangeError("offset option must be >= 0");if(o&&o<=0)throw RangeError("count option must be greater than 0");return a.conditions||(a.conditions={}),DP.withSpan("BlobClient-downloadToBuffer",a,async e=>{if(!o){let t=await this.getProperties({...a,tracingOptions:e.tracingOptions});if((o=t.contentLength-s)<0)throw RangeError(`offset ${s} shouldn't be larger than blob size ${t.contentLength}`)}if(!i)try{i=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(i.length<o)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`);let t=0,r=new xf(a.concurrency);for(let n=s;n<s+o;n+=A)r.addOperation(async()=>{let r=s+o;n+A<r&&(r=n+A);let l=(await this.download(n,r-n,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await xI(l,i,n-s,r-s),t+=r-n,a.onProgress&&a.onProgress({loadedBytes:t})});return await r.do(),i})}async downloadToFile(e,t=0,r,n={}){return DP.withSpan("BlobClient-downloadToFile",n,async i=>{let s=await this.download(t,r,{...n,tracingOptions:i.tracingOptions});return s.readableStreamBody&&await xE(s.readableStreamBody,e),s.blobDownloadStream=void 0,s})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let n=r.pathname.match("/([^/]*)(/(.*))?");e=n[1],t=n[3]}else if(Dk(r)){let n=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=n[2],t=n[4]}else{let n=r.pathname.match("/([^/]*)(/(.*))?");e=n[1],t=n[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return DP.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},DL(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:xo(t.tier),blobTagsString:Dv(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof Bo))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=DV({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(Dw(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof Bo))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return D_({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let n=DV({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(Dw(this.url,n))})}generateUserDelegationSasStringToSign(e,t){return D_({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return DP.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>DL(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return DP.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>DL(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return DP.withSpan("BlobClient-setLegalHold",t,async t=>DL(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return DP.withSpan("BlobClient-getAccountInfo",e,async t=>DL(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class xN extends xQ{appendBlobContext;constructor(e,t,r,n){let i,s;if(n=n||{},BQ(t))s=e,i=t,n=r;else if(t instanceof Bo||t instanceof yz||f4(t))s=e,i=Bb(t,n=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=DQ(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new Bo(o.accountName,o.accountKey);s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r)),n.proxyOptions||(n.proxyOptions=fG(o.proxyUri)),i=Bb(e,n)}else if("SASConnString"===o.kind)s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,i=Bb(new yz,n);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,n=r,i=Bb(new yz,n);super(s,i),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=n}withSnapshot(e){return new xN(Db(this.url,Bf,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},xa(e.customerProvidedKey,this.isHttps),DP.withSpan("AppendBlobClient-create",e,async t=>DL(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:Dv(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return DP.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=DL(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},DP.withSpan("AppendBlobClient-seal",e,async t=>DL(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},xa(r.customerProvidedKey,this.isHttps),DP.withSpan("AppendBlobClient-appendBlock",r,async n=>{let i={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions},s=await DO(e,t,i,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return DL(await this.appendBlobContext.appendBlock(s.contentLength,s.body,i))})}async appendBlockFromURL(e,t,r,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},xa(n.customerProvidedKey,this.isHttps),DP.withSpan("AppendBlobClient-appendBlockFromURL",n,async i=>DL(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:n.abortSignal,sourceRange:xC({offset:t,count:r}),sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,appendPositionAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:DF(n.sourceAuthorization),cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:i.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class xb extends xQ{_blobContext;blockBlobContext;constructor(e,t,r,n){let i,s;if(n=n||{},BQ(t))s=e,i=t,n=r;else if(t instanceof Bo||t instanceof yz||f4(t))s=e,i=Bb(t,n=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=DQ(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new Bo(o.accountName,o.accountKey);s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r)),n.proxyOptions||(n.proxyOptions=fG(o.proxyUri)),i=Bb(e,n)}else if("SASConnString"===o.kind)s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,i=Bb(new yz,n);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(n=r),i=Bb(new yz,n);super(s,i),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=n}withSnapshot(e){return new xb(Db(this.url,Bf,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-query",t,async r=>new xs(DL(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:DM(t.inputTextConfiguration),outputSerialization:DM(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},xa(r.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-upload",r,async n=>{let i={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:xo(r.tier),blobTagsString:Dv(r.tags),tracingOptions:n.tracingOptions},s=await DO(e,t,i,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return DL(await this.blockBlobContext.upload(s.contentLength,s.body,i))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>DL(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:DF(t.sourceAuthorization),tier:xo(t.tier),blobTagsString:Dv(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,n={}){return xa(n.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-stageBlock",n,async i=>{let s={abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,requestOptions:{onUploadProgress:n.onProgress},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions},o=await DO(t,r,s,n,this.blobClientConfig?.uploadContentChecksumAlgorithm);return DL(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,s))})}async stageBlockFromURL(e,t,r=0,n,i={}){return xa(i.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-stageBlockFromURL",i,async s=>DL(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,sourceRange:0!==r||n?xC({offset:r,count:n}):void 0,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:DF(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("BlockBlobClient-commitBlockList",t,async r=>DL(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:xo(t.tier),blobTagsString:Dv(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return DP.withSpan("BlockBlobClient-getBlockList",t,async r=>{let n=DL(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return n.committedBlocks||(n.committedBlocks=[]),n.uncommittedBlocks||(n.uncommittedBlocks=[]),n})}async uploadData(e,t={}){return DP.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return DP.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let n=r.blockSize??0;if(n<0||n>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let i=r.maxSingleShotSize??0x10000000;if(i<0||i>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===n){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>i&&(n=Math.ceil(t/5e4))<4194304&&(n=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),DP.withSpan("BlockBlobClient-uploadSeekableInternal",r,async s=>{if(t<=i)return DL(await this.upload(e(0,t),t,s));let o=Math.floor((t-1)/n)+1;if(o>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let a=[],A=CV(),l=0,c=new xf(r.concurrency);for(let i=0;i<o;i++)c.addOperation(async()=>{let c=Dx(A,i),d=n*i,g=(i===o-1?t:d+n)-d;a.push(c),await this.stageBlock(c,e(d,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=g,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(a,s)})}async uploadFile(e,t={}){return DP.withSpan("BlockBlobClient-uploadFile",t,async r=>{let n=(await xy(e)).size;return this.uploadSeekableInternal((t,r)=>()=>xB(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),n,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,n={}){return n.blobHTTPHeaders||(n.blobHTTPHeaders={}),n.conditions||(n.conditions={}),DP.withSpan("BlockBlobClient-uploadStream",n,async i=>{let s=0,o=CV(),a=0,A=[],l=new yb(e,t,r,async(e,t)=>{let r=Dx(o,s);A.push(r),s++,await this.stageBlock(r,e,t,{customerProvidedKey:n.customerProvidedKey,conditions:n.conditions,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions,contentChecksumAlgorithm:n.contentChecksumAlgorithm}),a+=t,n.onProgress&&n.onProgress({loadedBytes:a})},Math.ceil(r/4*3));return await l.do(),DL(await this.commitBlockList(A,{...n,tracingOptions:i.tracingOptions}))})}}class xS extends xQ{pageBlobContext;constructor(e,t,r,n){let i,s;if(n=n||{},BQ(t))s=e,i=t,n=r;else if(t instanceof Bo||t instanceof yz||f4(t))s=e,i=Bb(t,n=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=DQ(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new Bo(o.accountName,o.accountKey);s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r)),n.proxyOptions||(n.proxyOptions=fG(o.proxyUri)),i=Bb(e,n)}else if("SASConnString"===o.kind)s=DN(DN(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,i=Bb(new yz,n);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,n=r,i=Bb(new yz,n);super(s,i),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=n}withSnapshot(e){return new xS(Db(this.url,Bf,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},xa(t.customerProvidedKey,this.isHttps),DP.withSpan("PageBlobClient-create",t,async r=>DL(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:xo(t.tier),blobTagsString:Dv(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return DP.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let n=DL(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...n,_response:n._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,n={}){return n.conditions=n.conditions||{},xa(n.customerProvidedKey,this.isHttps),DP.withSpan("PageBlobClient-uploadPages",n,async i=>{let s={abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},requestOptions:{onUploadProgress:n.onProgress},range:xC({offset:t,count:r}),sequenceNumberAccessConditions:n.conditions,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,tracingOptions:i.tracingOptions},o=await DO(e,r,s,n,this.blobClientConfig?.uploadContentChecksumAlgorithm);return DL(await this.pageBlobContext.uploadPages(o.contentLength,o.body,s))})}async uploadPagesFromURL(e,t,r,n,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},xa(i.customerProvidedKey,this.isHttps),DP.withSpan("PageBlobClient-uploadPagesFromURL",i,async s=>DL(await this.pageBlobContext.uploadPagesFromURL(e,xC({offset:t,count:n}),0,xC({offset:r,count:n}),{abortSignal:i.abortSignal,sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,sequenceNumberAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,copySourceAuthorization:DF(i.sourceAuthorization),fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},DP.withSpan("PageBlobClient-clearPages",r,async n=>DL(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:xC({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},DP.withSpan("PageBlobClient-getPageRanges",r,async n=>xA(DL(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:xC({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,n={}){return DP.withSpan("PageBlobClient-getPageRangesSegment",n,async i=>DL(await this.pageBlobContext.getPageRanges({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},range:xC({offset:e,count:t}),marker:r,maxPageSize:n.maxPageSize,tracingOptions:i.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,n={}){let i;if(r||void 0===r)do r=(i=await this.listPageRangesSegment(e,t,r,n)).continuationToken,yield await i;while(r)}async *listPageRangeItems(e=0,t,r={}){let n;for await(let i of this.listPageRangeItemSegments(e,t,n,r))yield*DT(i)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let n=this.listPageRangeItems(e,t,r);return{next:()=>n.next(),[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeItemSegments(e,t,n.continuationToken,{maxPageSize:n.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,n={}){return n.conditions=n.conditions||{},DP.withSpan("PageBlobClient-getPageRangesDiff",n,async i=>xA(DL(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevsnapshot:r,range:xC({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,n,i={}){return DP.withSpan("PageBlobClient-getPageRangesDiffSegment",i,async s=>DL(await this.pageBlobContext.getPageRangesDiff({abortSignal:i?.abortSignal,leaseAccessConditions:i?.conditions,modifiedAccessConditions:{...i?.conditions,ifTags:i?.conditions?.tagConditions},prevsnapshot:r,range:xC({offset:e,count:t}),marker:n,maxPageSize:i?.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,n,i){let s;if(n||void 0===n)do n=(s=await this.listPageRangesDiffSegment(e,t,r,n,i)).continuationToken,yield await s;while(n)}async *listPageRangeDiffItems(e,t,r,n){let i;for await(let s of this.listPageRangeDiffItemSegments(e,t,r,i,n))yield*DT(s)}listPageRangesDiff(e,t,r,n={}){n.conditions=n.conditions||{};let i=this.listPageRangeDiffItems(e,t,r,{...n});return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeDiffItemSegments(e,t,r,i.continuationToken,{maxPageSize:i.maxPageSize,...n})}}async getPageRangesDiffForManagedDisks(e,t,r,n={}){return n.conditions=n.conditions||{},DP.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",n,async i=>xA(DL(await this.pageBlobContext.getPageRangesDiff({abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},prevSnapshotUrl:r,range:xC({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},DP.withSpan("PageBlobClient-resize",t,async r=>DL(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},DP.withSpan("PageBlobClient-updateSequenceNumber",r,async n=>DL(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:n.tracingOptions})))}async startCopyIncremental(e,t={}){return DP.withSpan("PageBlobClient-startCopyIncremental",t,async r=>DL(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(eg=ex||(ex={}))[eg.LOCKED=0]="LOCKED",eg[eg.UNLOCKED=1]="UNLOCKED",(eR||(eR={})).AES256="AES256";let xw=(P=e=>e.reason,{schedule:l2("3 seconds",1.5),times:4,while:e=>{let t;return t=P(e),CI.some(e=>t.includes(e))}}),xD=e=>{let t=[...e,"gzip","1.0"];return(0,mt.createHash)("sha256").update(t.join("|")).digest("hex")},xx=(e,t)=>oU({try:()=>{let e=process.env.ACTIONS_RESULTS_URL,t=process.env.ACTIONS_RUNTIME_TOKEN;if(!e||!t)throw Error(`Missing required env vars: ${[!e&&"ACTIONS_RESULTS_URL",!t&&"ACTIONS_RUNTIME_TOKEN"].filter(Boolean).join(", ")}`);return{baseUrl:e.endsWith("/")?e:`${e}/`,token:cP(t)}},catch:r=>new Ch({key:t,operation:e,reason:r instanceof Error?r.message:String(r)})}),xR=(e,t,r,n,i,s,o)=>{let a;return a=e=>new Ch({key:o,operation:s,reason:e}),co(function*(){let s,o=pg(`${t}twirp/github.actions.results.api.v1.CacheService/${n}`).pipe(pC(cO(r)),pN(i)),A=yield*e.execute(o).pipe(af(e=>a(`${n} failed: ${e.message}`)));return 409===A.status?Cf:A.status<200||A.status>=300?yield*ru(a(`${n} failed: HTTP ${A.status} from ${n}`)):yield*(s=ut(un(uR(ua.ast),{schema:ua})),e=>oK(e.json,e=>s(e,void 0)))(A).pipe(af(e=>a(`${n} failed: ${e.message??String(e)}`)))})},xk=e=>oS(()=>{try{(0,mr.unlinkSync)(e)}catch{}}),xv=lU(Cm,co(function*(){let e=yield*pG;return{save:(t,r)=>co(function*(){let{baseUrl:n,token:i}=yield*xx("save",r),s=xD(t);yield*cc(oU({try:()=>{let e=(e=>{let t=[];for(let r of e){let e=CC(r);Cp(e)?t.push(...(0,mr.globSync)(e)):t.push(e)}let r=[...t.filter(e=>(0,mr.existsSync)(e))].sort((e,t)=>e.length-t.length),n=[];for(let e of r)n.some(t=>e.startsWith(`${t}/`))||n.push(e);return n})(t);if(0===e.length)throw Error("No files matched the provided cache paths");let r=(0,hX.join)((0,mn.tmpdir)(),`cache-${(0,mt.randomUUID)()}.tar.gz`);return(0,CE.execFileSync)("tar",["czPf",r,...e],{stdio:"pipe"}),r},catch:e=>new Ch({key:r,operation:"save",reason:`Failed to create archive: ${e instanceof Error?e.message:String(e)}`})}),t=>co(function*(){let o=yield*oU({try:()=>(0,mr.statSync)(t).size,catch:e=>new Ch({key:r,operation:"save",reason:`Failed to stat archive: ${e instanceof Error?e.message:String(e)}`})}),a=yield*xR(e,n,i,"CreateCacheEntry",{key:r,version:s},"save",r).pipe(l7(xw));if(a===Cf)return;if(!a.ok||!a.signed_upload_url)return yield*ru(new Ch({key:r,operation:"save",reason:"CreateCacheEntry did not return a signed upload URL"}));yield*cs({try:async()=>{await new xb(a.signed_upload_url).uploadFile(t,{blockSize:0x4000000,concurrency:8,maxSingleShotSize:0x8000000})},catch:e=>new Ch({key:r,operation:"save",reason:`Archive upload failed: ${e instanceof Error?e.message:String(e)}`})});let A=yield*xR(e,n,i,"FinalizeCacheEntryUpload",{key:r,version:s,size_bytes:String(o)},"save",r).pipe(l7(xw));if(A===Cf||!A.ok)return yield*ru(new Ch({key:r,operation:"save",reason:"FinalizeCacheEntryUpload did not confirm success"}))}),e=>xk(e))}),restore:(t,r,n=[])=>co(function*(){let{baseUrl:i,token:s}=yield*xx("restore",r),o=xD(t),a=yield*xR(e,i,s,"GetCacheEntryDownloadURL",{key:r,restore_keys:[...n],version:o},"restore",r).pipe(l7(xw));if(a===Cf||!a.ok||!a.signed_download_url)return r3();let A=(0,hX.join)((0,mn.tmpdir)(),`cache-restore-${(0,mt.randomUUID)()}.tar.gz`);return yield*cc(cs({try:async()=>(await new xQ(a.signed_download_url).downloadToFile(A),A),catch:e=>new Ch({key:r,operation:"restore",reason:`Archive download failed: ${e instanceof Error?e.message:String(e)}`})}),e=>oU({try:()=>{try{(0,CE.execFileSync)("tar",["win32"===process.platform?"xzPkf":"xzPf",e],{stdio:"pipe"})}catch(t){let e=t.status;if(void 0!==e&&e>=2)throw t}},catch:e=>new Ch({key:r,operation:"restore",reason:`Failed to extract archive: ${e instanceof Error?e.message:String(e)}`})}),e=>xk(e)),r4(a.matched_key??r)})}}));var xM=class extends iu("ToolInstallerError"){},xU=class extends n0()("github-action-effects/ToolInstaller"){},xF=o(1455);let xT=process.env.RUNNER_TOOL_CACHE??(0,hX.join)((0,mn.tmpdir)(),"runner-tool-cache"),xL=(e,t)=>(0,hX.join)(xT,e,t,process.arch),xO=()=>cs({try:async()=>{let e=(0,hX.join)((0,mn.tmpdir)(),`tool-installer-${(0,mt.randomUUID)()}`);return await (0,xF.mkdir)(e,{recursive:!0}),e},catch:e=>new xM({tool:"unknown",version:"unknown",operation:"extract",reason:`Failed to create temp directory: ${e instanceof Error?e.message:String(e)}`})}),xH=(e,t,r,n)=>oL(i=>{let s=(0,CE.spawn)(e,[...t],{stdio:"pipe"}),o="";return s.stderr.on("data",e=>{o+=e.toString()}),s.on("error",t=>{i(ru(new xM({tool:n,version:"unknown",operation:r,reason:`${e} failed to spawn: ${t.message}`})))}),s.on("close",t=>{0===t?i(oM):i(ru(new xM({tool:n,version:"unknown",operation:r,reason:`${e} exited with code ${t??1}: ${o}`.trim()})))}),oS(()=>{s.kill()})}),xP=(e,t=0)=>oL(r=>{let n;if(t>10)return void r(ru(new xM({tool:"unknown",version:"unknown",operation:"download",reason:`Too many redirects (>10) for ${e}`})));let i=("https:"===new URL(e).protocol?p8.get:p5.get)(e,{headers:{"User-Agent":"github-action-effects"}},s=>{let o=s.statusCode??0;if(o>=300&&o<400&&s.headers.location){s.resume(),i.removeAllListeners("error");let n=new URL(s.headers.location,e).toString();r(ow(()=>xP(n,t+1)));return}if(o<200||o>=300){s.resume(),r(ru(new xM({tool:"unknown",version:"unknown",operation:"download",reason:`Failed to download ${e}: HTTP ${o}`,statusCode:o})));return}let a=n=(0,hX.join)((0,mn.tmpdir)(),`download-${(0,mt.randomUUID)()}`);(0,p6.pipeline)(s,(0,mr.createWriteStream)(a)).then(()=>r(oN(a))).catch(t=>{(0,xF.unlink)(a).catch(()=>{}),r(ru(new xM({tool:"unknown",version:"unknown",operation:"download",reason:`Failed to download ${e}: ${t instanceof Error?t.message:String(t)}`})))})});return i.setTimeout(18e4,()=>{i.destroy(Error("Socket timeout after 180000ms"))}),i.on("error",t=>{r(ru(new xM({tool:"unknown",version:"unknown",operation:"download",reason:`Failed to download ${e}: ${t.message}`})))}),oS(()=>{i.destroy(),void 0!==n&&(0,xF.unlink)(n).catch(()=>{})})}),xY=e=>void 0!==e.statusCode?e.statusCode>=500||408===e.statusCode||429===e.statusCode:e.reason.includes("Socket timeout")||e.reason.includes("ECONNRESET")||e.reason.includes("ECONNREFUSED")||e.reason.includes("ETIMEDOUT"),xG=lv(xU,{find:(e,t)=>cs({try:()=>(0,xF.stat)(xL(e,t)),catch:()=>null}).pipe(o0(r=>r?.isDirectory()?r4(xL(e,t)):r3()),ag(()=>oN(r3()))),download:e=>xP(e).pipe(l7({schedule:l2("1 second"),times:2,while:xY})),extractTar:(e,t,r)=>co(function*(){let n=t??(yield*xO());t&&(yield*cs({try:()=>(0,xF.mkdir)(t,{recursive:!0}),catch:e=>new xM({tool:"unknown",version:"unknown",operation:"extract",reason:`Failed to create destination directory: ${e instanceof Error?e.message:String(e)}`})}));let i=[...r&&r.length>0?[...r]:["xzf"],e,"-C",n];return yield*xH("tar",i,"extract","unknown"),n}),extractZip:(e,t)=>co(function*(){let r=t??(yield*xO());if(t&&(yield*cs({try:()=>(0,xF.mkdir)(t,{recursive:!0}),catch:e=>new xM({tool:"unknown",version:"unknown",operation:"extract",reason:`Failed to create destination directory: ${e instanceof Error?e.message:String(e)}`})})),"win32"===process.platform){let t=`Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory('${e.replace(/'/g,"''")}', '${r.replace(/'/g,"''")}')`;yield*xH("pwsh",["-NoProfile","-NonInteractive","-Command",t],"extract","unknown").pipe(ag(()=>xH("powershell",["-NoProfile","-NonInteractive","-Command",t],"extract","unknown")))}else yield*xH("unzip",["-oq",e,"-d",r],"extract","unknown");return r}),cacheDir:(e,t,r)=>cs({try:async()=>{let n=xL(t,r);return await (0,xF.mkdir)(n,{recursive:!0}),await (0,xF.cp)(e,n,{recursive:!0}),n},catch:e=>new xM({tool:t,version:r,operation:"cache",reason:`Failed to cache directory: ${e instanceof Error?e.message:String(e)}`})}),cacheFile:(e,t,r,n)=>cs({try:async()=>{let i=xL(r,n);return await (0,xF.mkdir)(i,{recursive:!0}),await (0,xF.cp)(e,(0,hX.join)(i,t)),i},catch:e=>new xM({tool:r,version:n,operation:"cache",reason:`Failed to cache file: ${e instanceof Error?e.message:String(e)}`})})}),xz=new Set(["_authtoken","_password","--auth","--password","--token","--otp"]),xq=e=>/:_authtoken$/i.test(e)||/:_password$/i.test(e),xV=e=>{let t=[];for(let r=0;r<e.length;r++){let n=e[r]??"",i=n.toLowerCase();if(t.push(n),xq(n)&&r+1<e.length){t.push("***"),r++;continue}xz.has(i)&&r+1<e.length&&(t.push("***"),r++)}return t};var x_=class extends iu("CommandRunnerError"){get message(){let e,t=xV(this.args),r=[`Command "${t.length>0?`${this.command} ${t.join(" ")}`:this.command}" failed`];void 0!==this.exitCode&&r.push(`(exit ${this.exitCode})`);let n=this.stderr?.trim()?this.stderr:this.stdout?.trim()?this.stdout:void 0;return void 0!==n&&""!==n.trim()&&r.push(`: -${(e=n.trim()).length<=2e3?e:`...[${e.length-2e3} chars truncated from head]... -${e.slice(-2e3)}`}`),r.join(" ")}};let xJ=n0("effect/Metric/CurrentMetricAttributes",{defaultValue:()=>({})}),xW=n0("~effect/observability/Metric/MetricRegistryKey",{defaultValue:()=>new Map}),xj="~effect/observability/Metric";class xK{[xj]=xj;#tV=new WeakMap;#t_;id;description;attributes;constructor(e,t,r){this.id=e,this.description=t,this.attributes=r}valueUnsafe(e){return this.hook(e).get(e)}modifyUnsafe(e,t){return this.hook(t).modify(e,t)}updateUnsafe(e,t){return this.hook(t).update(e,t)}hook(e){let t=ir(e,xJ);if(0===Object.keys(t).length)return e1(this.#t_)||(this.#t_=this.getOrCreate(e,this.attributes)),this.#t_.hooks;let r=x3(this.attributes,t),n=this.#tV.get(r);return e1(n)||(n=this.getOrCreate(e,r),this.#tV.set(r,n)),n.hooks}getOrCreate(e,t){var r,n,i;let s,o=(r=this,n=t,s=`${r.type}:${r.id}`,e1(r.description)&&(s+=`:${r.description}`),e1(n)&&(s+=`:${(Array.isArray(i=n)?i:Object.entries(i)).map(([e,t])=>`${e}=${t}`).join(",")}`),s),a=ir(e,xW);if(a.has(o))return a.get(o);let A=this.createHooks(),l={id:this.id,type:this.type,description:this.description,attributes:x4(t),hooks:A};return a.set(o,l),l}pipe(){return eF(this,arguments)}}let xX=BigInt(0);class xZ extends xK{type="Counter";#tJ;#tW;constructor(e,t){super(e,t?.description,x4(t?.attributes)),this.#tJ=t?.bigint??!1,this.#tW=t?.incremental??!1}createHooks(){var e,t;let r=this.#tJ?xX:0,n=this.#tW?this.#tJ?e=>e>=xX:e=>e>=0:e=>!0;return e=()=>({count:r,incremental:this.#tW}),{get:e,update:t=e=>{n(e)&&(r+=e)},modify:(void 0)??t}}}class x$ extends xK{type;metric;valueUnsafe;updateUnsafe;modifyUnsafe;constructor(e,t,r,n){super(e.id,e.description,e.attributes),this.metric=e,this.valueUnsafe=t,this.updateUnsafe=r,this.modifyUnsafe=n,this.type=e.type}createHooks(){return this.metric.createHooks()}}let x0=(e,t)=>new xZ(e,t),x1=eO(2,(e,t)=>ai(r=>oS(()=>e.updateUnsafe(t,r)))),x2=eO(2,(e,t)=>new x$(e,r=>e.valueUnsafe(x5(r,t)),(r,n)=>e.updateUnsafe(r,x5(n,t)),(r,n)=>e.modifyUnsafe(r,x5(n,t))));function x3(e,t){return{...x4(e),...x4(t)}}function x4(e){return e1(e)&&Array.isArray(e)?e.reduce((e,[t,r])=>(e[t]=r,e),{}):e}function x5(e,t){let r=x3(ir(e,xJ),t);return n7(e,xJ,r)}x0("github_action_effects_github_api_calls_total",{description:"Total GitHub API calls issued through GitHubClient"}),x0("github_action_effects_rate_limit_hits_total",{description:"Times the rate limiter slept or failed because quota was low"});let x8=x0("github_action_effects_command_executions_total",{description:"Total commands executed through CommandRunner"});var x9=class extends n0()("github-action-effects/CommandRunner"){};let x6=e=>/[&|<>^() "!%]/.test(e)?`"${e.replace(/(\\+)(?=")|"|(\\+)$/g,(e,t,r)=>void 0!==t?`${t}${t}`:void 0!==r?`${r}${r}`:'\\"')}"`:e,x7=(e,t,r)=>oL(n=>{let i="win32"===process.platform,s={stdio:"pipe",...i?{shell:!0}:{},...r?.cwd!==void 0?{cwd:r.cwd}:{},...r?.env!==void 0?{env:r.env}:{},...r?.timeout!==void 0?{timeout:r.timeout}:{}},o=(0,CE.spawn)(e,i?[...t].map(x6):[...t],s),a="",A="",l=r?.streaming===!0;return o.stdout.on("data",e=>{a+=e.toString(),l&&process.stdout.write(e)}),o.stderr.on("data",e=>{A+=e.toString(),l&&process.stderr.write(e)}),o.on("error",r=>{n(ru(new x_({command:e,args:xV(t),exitCode:void 0,stderr:void 0,reason:`Command execution failed: ${r.message}`})))}),o.on("close",e=>{n(oN({exitCode:e??1,stdout:a,stderr:A}))}),oS(()=>{o.kill()})}).pipe(az(x1(x8.pipe(x2({command:e})),1)),cg("CommandRunner.exec",{attributes:{command:e,argc:t.length}})),Re=(e,t,r)=>0===r.exitCode?oN(r):ru(new x_({command:e,args:xV(t),exitCode:r.exitCode,stderr:r.stderr,stdout:r.stdout,reason:`Command exited with code ${r.exitCode}`})),Rt=lv(x9,x9.of({exec:(e,t=[],r)=>x7(e,t,r).pipe(oK(r=>Re(e,t,r)),o0(e=>e.exitCode)),execCapture:(e,t=[],r)=>x7(e,t,r).pipe(oK(r=>Re(e,t,r))),execJson:(e,t,r,n)=>{let i=t??[];return x7(e,i,n).pipe(oK(t=>Re(e,i,t)),oK(t=>oU({try:()=>JSON.parse(t.stdout),catch:()=>new x_({command:e,args:xV(i),exitCode:t.exitCode,stderr:t.stderr,reason:`Failed to parse stdout as JSON: ${t.stdout.slice(0,200)}`})})),oK(t=>ut(r)(t).pipe(af(()=>new x_({command:e,args:xV(i),exitCode:0,stderr:void 0,reason:"Command output did not match expected schema"})))))},execLines:(e,t=[],r)=>x7(e,t,r).pipe(oK(r=>Re(e,t,r)),o0(e=>e.stdout.split("\n").map(e=>e.trim()).filter(e=>e.length>0)))}));var Rr=class extends iu("GlobError"){},Rn=class extends n0()("github-action-effects/Glob"){};let Ri=e=>{let{includes:t,excludes:r}=(e=>{let t=[],r=[];for(let n of e.split(/[\n,]/)){let e=n.trim();0===e.length||e.startsWith("#")||(e.startsWith("!")?r.push(CC(e.slice(1).trim())):t.push(CC(e)))}return{includes:t,excludes:r}})(e),n=new Set;for(let e of t)for(let t of(0,mr.globSync)(e,{exclude:r.length>0?[...r]:void 0}))n.add((0,hX.resolve)(t));if(r.length>0){let e=new Set;for(let t of r)for(let r of(0,mr.globSync)(t))e.add((0,hX.resolve)(r));for(let t of e)n.delete(t)}return[...n].sort((e,t)=>e<t?-1:+(e>t))},Rs=lv(Rn,{glob:(e,t)=>oU({try:()=>Ri(e),catch:t=>new Rr({operation:"glob",patterns:e,reason:t instanceof Error?t.message:String(t)})}),hashFiles:(e,t)=>cs({try:async()=>{let r=`${t?.workspace??process.env.GITHUB_WORKSPACE??process.cwd()}${hX.sep}`,n=Ri(e),i=(0,mt.createHash)("sha256"),s=!1;for(let e of n){if(!e.startsWith(r))continue;let t=(0,mt.createHash)("sha256");await (0,p6.pipeline)((0,mr.createReadStream)(e),t),i.write(t.digest()),s=!0}return s?r4(i.digest("hex")):r3()},catch:t=>new Rr({operation:"hashFiles",patterns:e,reason:t instanceof Error?t.message:String(t)})})}),Ro=lO(xv.pipe(lP(Cu)),xG,Rt,h2.pipe(lP(mT)),hP,Rs,mT);var Ra=Object.defineProperty;let RA=n0("github-action-effects/StepStack",{defaultValue:()=>[]}),Rl=e=>AT(({logLevel:t,message:r})=>{let n=(Array.isArray(r)?r:[r]).map(e=>tT(e)).join(" ");if(hY(t,"Warn"))return void(hY(t,"Error")?eU("error",{},n):hY(t,"Warn")?eU("warning",{},n):hY(t,"Info")?process.stdout.write(`${n} -`):eU("debug",{},n));let i=hY(t,"Info")?"info":"debug";e.entries.push({level:i,text:n,timestamp:Date.now()})}),Rc=(e,t)=>{let r,n=(r=e.depth," ".repeat(r)),i=e.icon??"✅";null!==t&&t.length>0?process.stdout.write(`${n}${i} ${e.name}: ${t} -`):process.stdout.write(`${n}${i} ${e.name} -`)},Rd=(e,t)=>{let r,n=(r=e.depth," ".repeat(r));for(let r of(process.stdout.write(`${n}❌ ${e.name}: ${t} -`),e.buffer.entries)){let e="debug"===r.level?"[DEBUG]":"[INFO]";process.stdout.write(`${n} │ ${e} ${r.text} -`)}e.buffer.entries.length>0&&process.stdout.write(`${n} └ Error: ${t} -`)};var Rg=(e=>{let t={};for(var r in e)Ra(t,r,{get:e[r],enumerable:!0});return Ra(t,Symbol.toStringTag,{value:"Module"}),t})({collapse:()=>RI,failure:()=>RC,groupStep:()=>RE,line:()=>Rf,success:()=>Rp,withStep:()=>Rm});let Ru=e=>{let t=s9(e);if(r9(t)){let e=t.value;return e instanceof Error?e.message:"string"==typeof e?e:"object"==typeof e&&null!==e&&"message"in e&&"string"==typeof e.message?e.message:String(e)}return ol(e)},Rh=(e,t,r)=>null!==e.successLine?e.successLine:r?.defaultSummary!==void 0?r.defaultSummary(t):null,Rm=(e,t,r)=>co(function*(){let n=yield*RA,i={entries:[]},s={name:e,depth:n.length,successLine:null,failureLine:null,buffer:i,...r?.icon!==void 0?{icon:r.icon}:{}},o=t.pipe(ao(AM,new Set([Rl(i)])),ao(RA,[...n,s])),a=yield*aw(o);return lG(a)?(Rd(s,Ru(a.cause)),yield*ob(a.cause)):(null!==s.failureLine?Rd(s,s.failureLine):Rc(s,Rh(s,a.value,r)),a.value)}),Rp=e=>co(function*(){let t=yield*RA;if(0===t.length)return void(yield*cC("Step.success called outside a withStep envelope; ignoring."));let r=t[t.length-1];void 0!==r&&(r.successLine=e)}),RC=e=>co(function*(){let t=yield*RA;if(0===t.length)return void(yield*cC("Step.failure called outside a withStep envelope; ignoring."));let r=t[t.length-1];void 0!==r&&(r.failureLine=e)}),Rf=(e,t)=>co(function*(){var r;r=(yield*RA).length,process.stdout.write(`${" ".repeat(r)}${e} ${t} -`)}),RI=(e,t)=>co(function*(){let r=yield*RA,n=r.length,i=yield*a2(e.map(e=>co(function*(){let t={entries:[]},i={name:e.name,depth:n,successLine:null,failureLine:null,buffer:t};return{frame:i,exit:yield*aw(e.effect.pipe(ao(AM,new Set([Rl(t)])),ao(RA,[...r,i])))}})),{concurrency:"unbounded"}),s=i.every(e=>o4(e.exit)&&null===e.frame.failureLine)?t(i.map(e=>({name:e.frame.name,result:e.exit.value}))):null;if(null!==s)return process.stdout.write(`${" ".repeat(n)}${s} -`),i.map(e=>e.exit.value);for(let e of i)if(lG(e.exit))Rd(e.frame,Ru(e.exit.cause));else if(null!==e.frame.failureLine)Rd(e.frame,e.frame.failureLine);else{let t=Rh(e.frame,e.exit.value);Rc(e.frame,t)}let o=i.find(e=>lG(e.exit));return void 0!==o?yield*ob(o.exit.cause):i.map(e=>e.exit.value)}),RE=(e,t,r)=>co(function*(){return yield*(yield*ic).group(e,Rm(e,t,r))}),Ry="~effect/Config";class RB{_tag="ConfigError";name="ConfigError";cause;constructor(e){this.cause=e}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}let RQ={...rQ({label:"Config",evaluate(e){return this.parse(e.getRef(h4))}}),[Ry]:Ry,toJSON:()=>({_id:"Config"})};function RN(e){let t=Object.create(RQ);return t.parse=(t,r=[])=>e(t,r),t}let Rb=eO(2,(e,t)=>RN((r,n)=>o0(e.parse(r,n),t))),RS=eO(2,(e,t)=>RN((r,n)=>oK(e.parse(r,n),t))),Rw=eO(2,(e,t)=>RN((r,n)=>ag(e.parse(r,n),e=>t(e).parse(r,n)))),RD=eO(2,(e,t)=>Rw(e,e=>{var r,n;if(e4(e.cause,gJ)&&function e(t){switch(t._tag){case"MissingKey":return!0;case"InvalidType":case"InvalidValue":return r8(t.actual)||r9(t.actual)&&void 0===t.actual.value;case"OneOf":return void 0===t.actual;case"Encoding":return!!(r8(t.actual)||r9(t.actual)&&void 0===t.actual.value)||e(t.issue);case"Pointer":return e(t.issue);case"Filter":case"UnexpectedKey":case"Forbidden":return!1;case"Composite":return t.issues.every(e);case"AnyOf":if(0===t.issues.length)return void 0===t.actual;return t.issues.every(e)}}(e.cause.issue)){return r=t,RN(()=>oN(r))}return n=e.cause,RN(()=>ru(new RB(n)))})),Rx=oH(function*(e,t){let r=yield*e.load(t);if(void 0!==r)switch(r._tag){case"Value":return r.value;case"Record":{if(void 0!==r.value)return r.value;let n={};for(let i of r.keys){let r=yield*Rx(e,[...t,i]);void 0!==r&&(n[i]=r)}return n}case"Array":{if(void 0!==r.value)return r.value;let n=[];for(let i=0;i<r.length;i++)n.push((yield*Rx(e,[...t,i])));return n}}}),RR=oH(function*(e,t,r){switch(e._tag){case"Objects":{let n=yield*t.load(r);if(void 0===n&&r.length>0)return;let i={};for(let n of e.propertySignatures){let e=n.name;if("string"==typeof e){let s=yield*RR(n.type,t,[...r,e]);void 0!==s&&(i[e]=s)}}if(e.indexSignatures.length>0&&n&&"Record"===n._tag)for(let s of e.indexSignatures){let e=function(e){let t=function(e){return(t,r)=>Ai(e(t,r))}(g0(gB(e)));return e=>{let r=t(e,dD);return!!o4(r)||(dt(r.cause,"Type guard adapter can only return false for schema issues"),!1)}}(s.parameter);for(let o of n.keys)if(!Object.hasOwn(i,o)&&e(o)){let e=yield*RR(s.type,t,[...r,o]);void 0!==e&&(i[o]=e)}}return i}case"Arrays":{let n=yield*t.load(r);if(void 0===n)return;if(n&&"Value"===n._tag||n&&"Array"===n._tag&&void 0!==n.value)return""===n.value?[]:n.value.split(",");let i=[],s=n&&"Array"===n._tag?n.length:e.elements.length;for(let n=0;n<s;n++){let s=e.elements[n]??e.rest[0];void 0!==s&&i.push((yield*RR(s,t,[...r,n])))}return i}case"Union":return yield*Rx(t,r);case"Suspend":return yield*RR(e.thunk(),t,r);default:{let e=yield*t.load(r);if(void 0===e)return;if("Value"===e._tag||"Record"===e._tag&&void 0!==e.value||"Array"===e._tag&&void 0!==e.value)return e.value;return}}});function Rk(e,t){let r=un(uU(e.ast),{schema:e}),n=gZ(r),i=gQ(r.ast),s="string"==typeof t?[t]:t??[];return RN((e,t)=>{let r=[...t,...s];return RR(i,e,r).pipe(o$(e=>n(e).pipe(o2(e=>new gW(r.length>0?new c_(r,e):e)))),o2(e=>new RB(e)))})}function Rv(e){return Rk(uc,e)}function RM(e){let t;return Rk((t=void 0,un(g7()([uc],([e])=>(r,n,i)=>e4(r,cH)?o$(void 0!==t?o2(t(r.label,i),e=>new c_(["label"],e)):oM,()=>o3(gZ(e)(cO(r),i),{onSuccess:()=>r,onFailure:()=>{let e=r4(r);return new cj(n,e,[new c_(["value"],new cX(e))])}})):ru(new cK(n,r4(r))),{typeConstructor:{_tag:"effect/Redacted",options:void 0},generation:{runtime:"Schema.Redacted(?)",Type:"Redacted.Redacted<?>",importDeclaration:'import * as Redacted from "effect/Redacted"'},expected:"Redacted",toCodecJson:([e])=>{var t,r;let n,i;return t=e,n=(r=o2(function e(t){switch(t._tag){case"MissingKey":return t;case"Forbidden":return new cZ(nC(t.actual,cP),t.annotations);case"Filter":return new cq(cP(t.actual),t.filter,e(t.issue));case"Pointer":return new c_(t.path,e(t.issue));case"Encoding":case"InvalidType":case"InvalidValue":case"Composite":return new cX(nC(t.actual,cP));case"AnyOf":case"OneOf":case"UnexpectedKey":return new cX(r4(cP(t.actual)))}}),e=>{var t;return un(gp(t=e.ast,new dc(r,eH),gB(t)),{schema:e})})(t),i={decode:ds(e=>cP(e,{label:void 0})),encode:ds(cO)},new dw(n.ast,du(i))},toArbitrary:([e])=>()=>({arbitrary:e.arbitrary.map(e=>cP(e,{label:void 0})),terminal:e.terminal?.map(e=>cP(e,{label:void 0}))}),toFormatter:()=>globalThis.String,toEquivalence:([e])=>rx((t,r)=>e(cO(t),cO(r)))}).ast,{value:uc})),e)}let RU=e=>Rv(e).pipe(Rb(e=>e.split("\n").filter(e=>""!==e).map(e=>e.trim()))),RF={linux:{x64:"biome-linux-x64",arm64:"biome-linux-arm64"},darwin:{x64:"biome-darwin-x64",arm64:"biome-darwin-arm64"},win32:{x64:"biome-win32-x64.exe",arm64:"biome-win32-arm64.exe"}},RT=uc.check((eu=Math.max(0,Math.floor(eu=1)),go(e=>e.length>=eu,{expected:`a value with a length of at least ${eu}`,meta:{_tag:"isMinLength",minLength:eu},[gG]:!0,arbitrary:{constraint:{minLength:eu}},...void 0})));class RL extends ux()("ConfigError",{reason:RT,file:us(uc),cause:us(ua)}){get message(){return this.file?`${this.reason} (at ${this.file})`:this.reason}}class RO extends ux()("RuntimeInstallError",{runtime:RT,version:RT,reason:RT,cause:us(ua)}){get message(){return`Failed to install ${this.runtime}@${this.version}: ${this.reason}`}}class RH extends ux()("PackageManagerSetupError",{packageManager:RT,version:RT,reason:RT,cause:us(ua)}){get message(){return`Failed to setup ${this.packageManager}@${this.version}: ${this.reason}`}}class RP extends ux()("DependencyInstallError",{packageManager:RT,reason:RT,cause:us(ua)}){get message(){return`Failed to install dependencies with ${this.packageManager}: ${this.reason}`}}class RY extends ux()("CacheError",{operation:uC(["save","restore","key-generation"]),reason:RT,cause:us(ua)}){get message(){return`Cache ${this.operation} failed: ${this.reason}`}}class RG extends uD("CacheState")({key:uc,paths:um(uc),restored:ug}){}class Rz extends uD("TurboServerState")({pid:ud,port:ud,backend:uc}){}let Rq="cache-state",RV=e=>(0,mt.createHash)("sha256").update(e).digest("hex").substring(0,8),R_=e=>[...e.filter(e=>!e.startsWith("*")).sort(),...e.filter(e=>e.startsWith("*")).sort()],RJ=e=>co(function*(){let t=yield*co(function*(){let t=yield*x9,r={silent:!0,cwd:(0,mn.tmpdir)()};return yield*co(function*(){switch(e){case"npm":return(yield*t.execCapture("npm",["config","get","cache"],r)).stdout.trim()||null;case"pnpm":return(yield*t.execCapture("pnpm",["store","path"],r)).stdout.trim()||null;case"yarn":{let e=yield*t.execCapture("yarn",["config","get","cacheFolder"],r).pipe(ag(()=>oN({exitCode:1,stdout:"",stderr:""})));if(e.stdout.trim()&&"undefined"!==e.stdout.trim())return e.stdout.trim();return(yield*t.execCapture("yarn",["cache","dir"],r)).stdout.trim()||null}case"bun":return(yield*t.execCapture("bun",["pm","cache"],r)).stdout.trim()||null;case"deno":{let e=yield*t.execCapture("deno",["info","--json"],r);if(e.stdout.trim()){let t=null;try{t=JSON.parse(e.stdout)}catch{}return t?.denoDir??null}return null}}}).pipe(ag(()=>oN(null)))});return{cachePaths:[...t?[t]:(e=>{let t=(0,mn.platform)(),r=(0,mn.homedir)();switch(e){case"npm":return["win32"===t?(0,hX.join)(r,"AppData","Local","npm-cache"):(0,hX.join)(r,".npm")];case"pnpm":return["win32"===t?(0,hX.join)(r,"AppData","Local","pnpm","store"):(0,hX.join)(r,".local","share","pnpm","store")];case"yarn":return["win32"===t?(0,hX.join)(r,"AppData","Local","Yarn","Cache"):(0,hX.join)(r,".yarn","cache"),"win32"===t?(0,hX.join)(r,"AppData","Local","Yarn","Berry","cache"):(0,hX.join)(r,".cache","yarn")];case"bun":return["win32"===t?(0,hX.join)(r,"AppData","Local","bun","install","cache"):(0,hX.join)(r,".bun","install","cache")];case"deno":return["win32"===t?(0,hX.join)(r,"AppData","Local","deno"):(0,hX.join)(r,".cache","deno")]}})(e),...(e=>{switch(e){case"npm":case"pnpm":case"bun":return["**/node_modules"];case"yarn":return["**/node_modules","**/.yarn/cache","**/.yarn/unplugged","**/.yarn/install-state.gz"];case"deno":return[]}})(e)],lockfilePatterns:(e=>{switch(e){case"npm":return["**/package-lock.json","**/npm-shrinkwrap.json"];case"pnpm":return["**/pnpm-lock.yaml","**/pnpm-workspace.yaml","**/.pnpmfile.cjs"];case"yarn":return["**/yarn.lock","**/.pnp.cjs","**/.yarn/install-state.gz"];case"bun":return["**/bun.lock","**/bun.lockb"];case"deno":return["**/deno.lock"]}})(e)}}),RW=["!**/node_modules/**","!**/.git/**","!**/__fixtures__/**","!**/__tests__/**","!**/__test__/**"],Rj=co(function*(){let e=yield*uP,t=yield*e.getOptional("GITHUB_HEAD_REF");if(r9(t)&&""!==t.value)return t.value;let r=yield*e.getOptional("GITHUB_REF");return r9(r)&&r.value.startsWith("refs/heads/")?r.value.replace("refs/heads/",""):""}),RK=(e,t,r)=>{let n=(0,mt.createHash)("sha256");for(let t of(r&&n.update(r),[...e].sort((e,t)=>e.name.localeCompare(t.name))))n.update(`${t.name}:${t.version}`);return n.update(`${t.name}:${t.version}`),n.digest("hex").substring(0,8)},RX=e=>32===e||9===e||11===e||12===e||160===e||65279===e,RZ=e=>10===e||13===e||8232===e||8233===e,R$=e=>e>=48&&e<=57,R0=(e,t=!1)=>{let r=e.length,n=0,i=0,s="Unknown",o="",a="None",A=t=>{let i=0;for(let s=0;s<t;s++){if(n>=r)return -1;let t=e.charCodeAt(n);if(t>=48&&t<=57)i=16*i+(t-48);else if(t>=65&&t<=70)i=16*i+(t-65+10);else{if(!(t>=97)||!(t<=102))return -1;i=16*i+(t-97+10)}n++}return i},l=()=>{let t=n;if(45===e.charCodeAt(n)&&n++,48===e.charCodeAt(n))n++;else{if(!R$(e.charCodeAt(n)))return a="UnexpectedEndOfNumber",e.substring(t,n);for(n++;n<r&&R$(e.charCodeAt(n));)n++}if(n<r&&46===e.charCodeAt(n)){if(n++,!R$(e.charCodeAt(n)))return a="UnexpectedEndOfNumber",e.substring(t,n);for(n++;n<r&&R$(e.charCodeAt(n));)n++}if(n<r&&(69===e.charCodeAt(n)||101===e.charCodeAt(n))){if(++n<r&&(43===e.charCodeAt(n)||45===e.charCodeAt(n))&&n++,!R$(e.charCodeAt(n)))return a="UnexpectedEndOfNumber",e.substring(t,n);for(n++;n<r&&R$(e.charCodeAt(n));)n++}return e.substring(t,n)},c=()=>{if(o="",a="None",n>=r)return i=r,s="EOF";let t=e.charCodeAt(n);if(RX(t)){i=n;do t=++n<r?e.charCodeAt(n):0;while(RX(t));return o=e.substring(i,n),s="Trivia"}if(RZ(t))return i=n,n++,13===t&&n<r&&10===e.charCodeAt(n)&&n++,o=e.substring(i,n),s="LineBreak";switch(i=n,t){case 123:return n++,o="{",s="OpenBrace";case 125:return n++,o="}",s="CloseBrace";case 91:return n++,o="[",s="OpenBracket";case 93:return n++,o="]",s="CloseBracket";case 58:return n++,o=":",s="Colon";case 44:return n++,o=",",s="Comma";case 34:return o=(()=>{let t="",i=++n;for(;n<r;){let s=e.charCodeAt(n);if(34===s)return t+=e.substring(i,n),n++,t;if(92===s){if(t+=e.substring(i,n),++n>=r)return a="UnexpectedEndOfString",t;let s=e.charCodeAt(n);switch(n++,s){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:{let e=A(4);e>=0?t+=String.fromCharCode(e):a="InvalidUnicode";break}default:a="InvalidEscapeCharacter"}i=n}else{if(RZ(s))return a="UnexpectedEndOfString",t+e.substring(i,n);s<=31&&(a="InvalidCharacter"),n++}}return a="UnexpectedEndOfString",t+e.substring(i,n)})(),s="String";case 47:{let t=n+1<r?e.charCodeAt(n+1):0;if(47===t){for(n+=2;n<r&&!RZ(e.charCodeAt(n));)n++;return o=e.substring(i,n),s="LineComment"}if(42===t){n+=2;let t=r-1,A=!1;for(;n<t;){let t=e.charCodeAt(n);if(RZ(t))13===t&&n+1<r&&10===e.charCodeAt(n+1)&&n++,n++;else if(42===t&&47===e.charCodeAt(n+1)){n+=2,A=!0;break}else n++}return A||(n=r,a="UnexpectedEndOfComment"),o=e.substring(i,n),s="BlockComment"}return n++,o=e.substring(i,n),a="InvalidCharacter",s="Unknown"}case 45:if(n+1<r&&R$(e.charCodeAt(n+1)))return o=l(),s="Number";return n++,o="-",a="InvalidSymbol",s="Unknown";default:if(R$(t))return o=l(),s="Number";if(t>=97&&t<=122){let t=n;for(n++;n<r;){let t=e.charCodeAt(n);if(t>=97&&t<=122)n++;else break}switch(o=e.substring(t,n)){case"true":return s="True";case"false":return s="False";case"null":return s="Null";default:return a="InvalidSymbol",s="Unknown"}}return n++,o=e.substring(i,n),a="InvalidCharacter",s="Unknown"}};return{scan:()=>{let e=c();for(;t&&("Trivia"===e||"LineBreak"===e||"LineComment"===e||"BlockComment"===e);)e=c();return e},getToken:()=>s,getTokenValue:()=>o,getTokenOffset:()=>i,getTokenLength:()=>n-i,getTokenError:()=>a}},R1=uC(["object","array","property","string","number","boolean","null"]);var R2=class extends uD("JsoncNode")({type:R1,offset:ud,length:ud,value:ui(ua),colonOffset:ui(ud),children:ui(um(uE(()=>R2)))}){find(e){let t=this;for(let r of e){if(t?.children===void 0)return r3();if("string"==typeof r){if("object"!==t.type)return r3();t=t.children.find(e=>"property"===e.type&&void 0!==e.children&&e.children[0]?.value===r)?.children?.[1]}else{if("array"!==t.type)return r3();t=t.children[r]}}return void 0!==t?r4(t):r3()}findAtOffset(e){return function e(t,r,n){if(r<t.offset||r>=t.offset+t.length)return r3();if(void 0===t.children||n>=256)return r4(t);for(let i of t.children)if(r>=i.offset&&r<i.offset+i.length)return e(i,r,n+1);return r4(t)}(this,e,0)}pathAt(e){return function e(t,r,n,i=0){if(r<t.offset||r>=t.offset+t.length)return r3();if(void 0===t.children||i>=256)return r4(n);if("object"===t.type){for(let s of t.children)if("property"===s.type&&void 0!==s.children&&r>=s.offset&&r<s.offset+s.length){let t=[...n,s.children[0]?.value],o=s.children[1];if(void 0!==o&&r>=o.offset&&r<o.offset+o.length)return e(o,r,t,i+1);return r4(t)}}else if("array"===t.type)for(let s=0;s<t.children.length;s++){let o=t.children[s];if(r>=o.offset&&r<o.offset+o.length)return e(o,r,[...n,s],i+1)}return r4(n)}(this,e,[])}toValue(){return function e(t,r){if(r>=256)return"object"===t.type?{}:"array"===t.type?[]:null;switch(t.type){case"object":{let n={};if(void 0!==t.children){for(let i of t.children)if("property"===i.type&&void 0!==i.children&&2===i.children.length){let t=i.children[0].value,s=e(i.children[1],r+1);"__proto__"===t?Object.defineProperty(n,t,{value:s,writable:!0,enumerable:!0,configurable:!0}):n[t]=s}}return n}case"array":return(t.children??[]).map(t=>e(t,r+1));case"property":return t.children?.[1]!==void 0?e(t.children[1],r+1):void 0;default:return t.value}}(this,0)}};let R3=e=>Object.assign(Object.create(R2.prototype),e),R4=e=>{switch(e){case"InvalidUnicode":return"InvalidUnicode";case"InvalidEscapeCharacter":return"InvalidEscapeCharacter";case"UnexpectedEndOfNumber":return"InvalidNumberFormat";case"UnexpectedEndOfComment":return"UnexpectedEndOfComment";case"UnexpectedEndOfString":return"UnexpectedEndOfString";case"InvalidCharacter":return"InvalidCharacter";case"InvalidSymbol":return"InvalidSymbol";default:return}};function R5(e,t,r){let n=R0(e,!1),i=[],s=t.disallowComments??!1,o=t.allowTrailingComma??!0,a=t.allowEmptyContent??!1,A="Unknown",l=0;function c(){for(;;){A=n.scan();let e=R4(n.getTokenError());switch(void 0!==e&&m(e),A){case"LineComment":case"BlockComment":s&&m("InvalidCommentToken");break;case"Trivia":case"LineBreak":break;default:return A}}}function d(){return n.getTokenOffset()+n.getTokenLength()}function g(){i.some(e=>"NestingDepthExceeded"===e.code)||i.push({code:"NestingDepthExceeded",offset:n.getTokenOffset(),length:n.getTokenLength()})}let u={getToken:function(){return A},advance:()=>{c()},tokenStart:()=>n.getTokenOffset(),tokenEnd:d};function h(){(e=>{let t=e.getToken();if("CloseBrace"===t||"CloseBracket"===t||"EOF"===t)return e.tokenStart();let r=0,n=e.tokenEnd();do{let t=e.getToken();"OpenBrace"===t||"OpenBracket"===t?r++:("CloseBrace"===t||"CloseBracket"===t)&&r--,e.tokenEnd(),e.advance()}while(r>0&&"EOF"!==e.getToken())})(u)}function m(e,t=[],r=[]){if(i.push({code:e,offset:n.getTokenOffset(),length:n.getTokenLength()}),t.length>0||r.length>0){let e=A;for(;"EOF"!==e;){if(t.includes(e)){c();break}if(r.includes(e))break;e=c()}}}function p(e,t){let r=n.getTokenOffset(),i=d();return c(),R3({type:e,offset:r,length:i-r,value:t})}if(c(),r){let e=function e(){switch(A){case"OpenBracket":return function(){let t=n.getTokenOffset();if(l>=256)return g(),h(),R3({type:"array",offset:t,length:n.getTokenOffset()-t,children:[]});l++;try{var r=t;let i,s=[];c();let a=!1;for(;"CloseBracket"!==A&&"EOF"!==A;){if("Comma"===A){if(a||m("ValueExpected"),c(),"CloseBracket"===A&&o)break}else a&&m("CommaExpected");let t=e();void 0!==t?s.push(t):m("ValueExpected",[],["CloseBracket","Comma"]),a=!0}return"CloseBracket"!==A?(m("CloseBracketExpected"),i=n.getTokenOffset()):(i=d(),c()),R3({type:"array",offset:r,length:i-r,children:s})}finally{l--}}();case"OpenBrace":let t=n.getTokenOffset();if(l>=256)return g(),h(),R3({type:"object",offset:t,length:n.getTokenOffset()-t,children:[]});l++;try{return function(t){let r,i=[];c();let s=!1;for(;"CloseBrace"!==A&&"EOF"!==A;){if("Comma"===A){if(s||m("PropertyNameExpected"),c(),"CloseBrace"===A&&o)break}else s&&m("CommaExpected");if("String"!==A){m("PropertyNameExpected",[],["CloseBrace","Comma"]);continue}let t=n.getTokenOffset(),r=n.getTokenOffset(),a=n.getTokenValue(),l=d();c();let g=R3({type:"string",offset:r,length:l-r,value:a});if("Colon"!==A){m("ColonExpected",[],["CloseBrace","Comma"]),i.push(R3({type:"property",offset:t,length:n.getTokenOffset()-t,children:[g]}));continue}let u=n.getTokenOffset();c();let h=e();void 0!==h?i.push(R3({type:"property",offset:t,length:h.offset+h.length-t,colonOffset:u,children:[g,h]})):(m("ValueExpected",[],["CloseBrace","Comma"]),i.push(R3({type:"property",offset:t,length:n.getTokenOffset()-t,colonOffset:u,children:[g]}))),s=!0}return"CloseBrace"!==A?(m("CloseBraceExpected"),r=n.getTokenOffset()):(r=d(),c()),R3({type:"object",offset:t,length:r-t,children:i})}(t)}finally{l--}case"String":return p("string",n.getTokenValue());case"Number":return p("number",Number.parseFloat(n.getTokenValue()));case"True":return p("boolean",!0);case"False":return p("boolean",!1);case"Null":return p("null",null);default:return}}();return"EOF"!==A&&m("EndOfFileExpected"),void 0!==e||a||m("ValueExpected"),{value:void 0,root:e,errors:i}}let C=function e(){switch(A){case"OpenBracket":if(l>=256)return g(),h(),[];l++;try{c();let t=[],r=!1;for(;"CloseBracket"!==A&&"EOF"!==A;){if("Comma"===A){if(r||m("ValueExpected"),c(),"CloseBracket"===A&&o)break}else r&&m("CommaExpected");let n=e();void 0===n?m("ValueExpected",[],["CloseBracket","Comma"]):t.push(n),r=!0}return"CloseBracket"!==A?m("CloseBracketExpected"):c(),t}finally{l--}case"OpenBrace":if(l>=256)return g(),h(),{};l++;try{c();let t={},r=!1;for(;"CloseBrace"!==A&&"EOF"!==A;){if("Comma"===A){if(r||m("PropertyNameExpected"),c(),"CloseBrace"===A&&o)break}else r&&m("CommaExpected");if("String"!==A){m("PropertyNameExpected",[],["CloseBrace","Comma"]);continue}let i=n.getTokenValue();if(c(),"Colon"!==A){m("ColonExpected",[],["CloseBrace","Comma"]);continue}c();let s=e();void 0===s?m("ValueExpected",[],["CloseBrace","Comma"]):"__proto__"===i?Object.defineProperty(t,i,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[i]=s,r=!0}return"CloseBrace"!==A?m("CloseBraceExpected"):c(),t}finally{l--}case"String":let t;return t=n.getTokenValue(),c(),t;case"Number":let r;return r=Number.parseFloat(n.getTokenValue()),c(),r;case"True":return c(),!0;case"False":return c(),!1;case"Null":return c(),null;default:return}}();return"EOF"!==A&&m("EndOfFileExpected"),void 0!==C||a||m("ValueExpected"),{value:C,root:void 0,errors:i}}let R8=(e,t)=>{let{value:r,errors:n}=R5(e,t,!1);return{value:r,errors:n}},R9=uC(["InvalidSymbol","InvalidNumberFormat","PropertyNameExpected","ValueExpected","ColonExpected","CommaExpected","CloseBraceExpected","CloseBracketExpected","EndOfFileExpected","InvalidCommentToken","UnexpectedEndOfComment","UnexpectedEndOfString","UnexpectedEndOfNumber","InvalidUnicode","InvalidEscapeCharacter","InvalidCharacter","NestingDepthExceeded"]);var R6=class extends uD("JsoncParseErrorDetail")({code:R9,offset:ud,length:ud,line:ud,character:ud}){},R7=class extends ux()("JsoncParseError",{errors:um(R6),input:uc}){get message(){let e=this.errors.length,t=this.errors.map(e=>`${e.code} at ${e.line}:${e.character}`).join("; ");return`JSONC parse failed with ${e} error${1===e?"":"s"}: ${t}`}};uD("JsoncParseOptions")({disallowComments:ui(ug),allowTrailingComma:ui(ug),allowEmptyContent:ui(ug)});let ke=uC(["CircularReference","BigIntValue","TopLevelUnrepresentable"]);uD("JsoncStringifyOptions")({tabSize:ui(ud),insertSpaces:ui(ug)});var kt=class extends ux()("JsoncStringifyError",{code:ke,detail:uc,value:ua}){get message(){return`JSONC stringify failed: ${this.code} — ${this.detail}`}};let kr=e=>void 0===e?{}:{disallowComments:e.disallowComments,allowTrailingComma:e.allowTrailingComma,allowEmptyContent:e.allowEmptyContent},kn=(e,t)=>t.map(t=>{let{line:r,character:n}=((e,t)=>{let r=0,n=0,i=Math.min(t,e.length);for(let t=0;t<i;t++){let i=e.charCodeAt(t);10===i?(r++,n=t+1):13===i?(t+1<e.length&&10===e.charCodeAt(t+1)&&t++,r++,n=t+1):(8232===i||8233===i)&&(r++,n=t+1)}return{line:r,character:t-n}})(e,t.offset);return R6.make({code:t.code,offset:t.offset,length:t.length,line:r,character:n})}),ki=(e,t,r=0)=>{if(e===t)return!0;if(r>=256||null===e||null===t||typeof e!=typeof t)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let n=0;n<e.length;n++)if(!ki(e[n],t[n],r+1))return!1;return!0}if(Array.isArray(t))return!1;if("object"==typeof e&&"object"==typeof t){let n=Object.keys(e),i=Object.keys(t);if(n.length!==i.length)return!1;for(let i of n)if(!Object.hasOwn(t,i)||!ki(e[i],t[i],r+1))return!1;return!0}return!1};var ks=class e{static parseResult(e,t){let{value:r,errors:n}=R8(e,kr(t));return n.length>0?rW(new R7({errors:kn(e,n),input:e})):rj(r)}static parse=cu("Jsonc.parse")((t,r)=>oD(e.parseResult(t,r)));static parseTreeResult(e,t){let{root:r,errors:n}=((e,t)=>{let{root:r,errors:n}=R5(e,t,!0);return{root:r,errors:n}})(e,kr(t));return n.length>0?rW(new R7({errors:kn(e,n),input:e})):rj(void 0!==r?r4(r):r3())}static parseTree=cu("Jsonc.parseTree")((t,r)=>oD(e.parseTreeResult(t,r)));static stringifyResult(e,t){let r,n=t?.insertSpaces===!1?" ":t?.tabSize??2;try{r=JSON.stringify(e,null,n)}catch(t){if(t instanceof TypeError){if(/circular|cyclic/i.test(t.message))return rW(new kt({code:"CircularReference",detail:t.message,value:e}));if(/bigint/i.test(t.message))return rW(new kt({code:"BigIntValue",detail:t.message,value:e}))}throw t}return void 0===r?rW(new kt({code:"TopLevelUnrepresentable",detail:"the top-level value (undefined, a function or a symbol) has no JSON representation",value:e})):rj(r)}static stringify=cu("Jsonc.stringify")((t,r)=>oD(e.stringifyResult(t,r)));static stripComments(e,t){let r,n=R0(e),i=[],s=0;do{r=n.scan();let o=n.getTokenOffset(),a=n.getTokenLength();if("LineComment"===r||"BlockComment"===r){if(s<o&&i.push(e.substring(s,o)),void 0!==t)for(let r=0;r<a;r++){let n=e.charCodeAt(o+r);i.push(10===n||13===n?e[o+r]:t)}s=o+a}}while("EOF"!==r);return s<e.length&&i.push(e.substring(s)),i.join("")}static equals(e,t){let r=R8(e,{}),n=R8(t,{});return!(r.errors.length>0)&&!(n.errors.length>0)&&ki(r.value,n.value)}static equalsValue(e,t){let r=R8(e,{});return!(r.errors.length>0)&&ki(r.value,t)}static fromString(t){let r=kr(t);return uc.pipe(uy(ua,dh({decode:e=>{let{value:t,errors:n}=R8(e,r);if(n.length>0){let t=new R7({errors:kn(e,n),input:e});return ru(new cX(r4(e),{message:t.message}))}return oN(t)},encode:t=>oD(e.stringifyResult(t)).pipe(af(e=>new cX(r4(t),{message:e.message})))})))}static JsoncFromString=e.fromString();static schema(t,r){return e.fromString(r).pipe(uy(t))}static bind(t){let r=e.schema(t);return{schema:r,decode:ut(r),encode:ur(r)}}};let ko=uc.check(go(e=>{let t="Must be an absolute version (e.g., '24.11.0'), not a semver range";return/[~^<>=*xX]/.test(e)?t:/^\d+\.\d+\.\d+(-[a-zA-Z0-9.-]+)?(\+[a-zA-Z0-9.-]+)?$/.test(e)?void 0:t})),ka=uC(["node","bun","deno"]),kA=uC(["npm","pnpm","yarn","bun","deno"]);uh({name:uc,version:ko,onFail:us(uc)});let kl=uh({name:ka,version:ko,onFail:us(uc)}),kc=uh({name:kA,version:ko,onFail:us(uc)}),kd=uh({packageManager:kc,runtime:up([kl,um(kl)])}),kg=co(function*(){let e=yield*hD,t=yield*e.readFileString("package.json","utf-8").pipe(af(e=>new RL({reason:"package.json not found. This action requires a package.json with devEngines.packageManager and devEngines.runtime fields.",file:"package.json",cause:e}))),r=yield*oU({try:()=>JSON.parse(t),catch:e=>new RL({reason:"Failed to parse package.json: Invalid JSON",file:"package.json",cause:e})});return(yield*ut(uh({devEngines:kd}))(r).pipe(af(e=>new RL({reason:"package.json has invalid or missing devEngines field",file:"package.json",cause:e})))).devEngines}),ku=co(function*(){let e=yield*Rv("biome-version").pipe(RD(""));if(""!==e)return r4(e);let t=yield*hD,r=yield*co(function*(){return(yield*t.access("biome.jsonc").pipe(o0(()=>!0),ag(()=>oN(!1))))?r4("biome.jsonc"):(yield*t.access("biome.json").pipe(o0(()=>!0),ag(()=>oN(!1))))?r4("biome.json"):r3()});if(r8(r))return r3();let n=yield*t.readFileString(r.value,"utf-8").pipe(ag(()=>oN("{}"))),i=(yield*ks.parse(n).pipe(ag(()=>oN({})))).$schema;if(!i)return r3();let s=i.match(/schemas\/([^/]+)\/schema\.json/);return s?.[1]?r4(s[1]):r3()}),kh=co(function*(){let e=yield*hD;return yield*e.access("turbo.json").pipe(o0(()=>!0),ag(()=>oN(!1)))}),km=(e,t)=>"win32"===e?"x64":"arm64"===t?"aarch64":t,kp={linux:{x64:"x86_64-unknown-linux-gnu",arm64:"aarch64-unknown-linux-gnu"},darwin:{x64:"x86_64-apple-darwin",arm64:"aarch64-apple-darwin"},win32:{x64:"x86_64-pc-windows-msvc"}},kC=e=>{if(e&&"object"==typeof e){if("string"==typeof e.reason&&e.reason)return e.reason;if("string"==typeof e.message&&e.message)return e.message;if("string"==typeof e._tag)return`${e._tag}${e.reason?`: ${e.reason}`:""}`}return e instanceof Error&&e.message?e.message:String(e)||"Unknown error"};class kf extends n0()("RuntimeInstaller"){}let kI=e=>({install:t=>co(function*(){let r,n=yield*xU,i=yield*x9,s=yield*hK,o=yield*oU({try:()=>e.getDownloadUrl(t,process.platform,process.arch),catch:e=>e}),a=yield*oU({try:()=>e.getToolInstallOptions(t,process.platform,process.arch),catch:e=>e}),A=yield*n.download(o);r="zip"===a.archiveType?yield*n.extractZip(A):yield*n.extractTar(A,void 0,a.tarFlags);let l=yield*n.cacheDir(r,e.name,t),c=a.binSubPath?`${l}/${a.binSubPath}`:l;return yield*s.addPath(c),yield*i.exec(e.verifyCommand[0],[...e.verifyCommand.slice(1)]),{name:e.name,version:t,path:c}}).pipe(ag(r=>ru(new RO({runtime:e.name,version:t,reason:kC(r),cause:r}))))}),kE=lv(kf,kI({name:"node",getDownloadUrl(e,t,r){let n="win32"===t,i=`node-v${e}-${n?"win":t}-${{x64:"x64",arm64:"arm64",arm:"armv7l"}[r]??r}.${n?"zip":"tar.gz"}`;return`https://nodejs.org/dist/v${e}/${i}`},getToolInstallOptions:(e,t,r)=>"win32"===t?{archiveType:"zip"}:{archiveType:"tar.gz",binSubPath:"bin",tarFlags:["xz","--strip=1","-f"]},verifyCommand:["node","--version"]})),ky=lv(kf,kI({name:"bun",getDownloadUrl(e,t,r){let n=km(t,r),i="win32"===t?"windows":t;return`https://github.com/oven-sh/bun/releases/download/bun-v${e}/bun-${i}-${n}.zip`},getToolInstallOptions(e,t,r){let n=km(t,r),i="win32"===t?"windows":t;return{archiveType:"zip",binSubPath:`bun-${i}-${n}`}},verifyCommand:["bun","--version"]})),kB=lv(kf,kI({name:"deno",getDownloadUrl(e,t,r){let n=kp[t]?.[r];if(!n)throw Error(`Unsupported platform for Deno: ${t}-${r}`);let i=`deno-${n}.zip`;return`https://github.com/denoland/deno/releases/download/v${e}/${i}`},getToolInstallOptions:(e,t,r)=>({archiveType:"zip"}),verifyCommand:["deno","--version"]})),kQ=(e,t)=>"none"===e?"disabled":"remote"===e?"passthrough (Vercel)":`${e} \xb7 server ready${null===t?"":` (:${t})`}`,kN=e=>(0,hX.join)((0,mn.tmpdir)(),`turbogha-${e}.log`),kb=e=>oS(()=>{let t=(0,mr.openSync)(kN(e.port),"a"),r=(0,CE.spawn)(e.command,[...e.args],{detached:!0,stdio:["ignore",t,t],env:{...process.env,...e.env}});return r.unref(),r.pid??-1}),kS=(e,t={})=>cs({try:()=>fetch(`http://127.0.0.1:${e}/v8/artifacts/status`).then(e=>{if(!e.ok)throw Error(`status ${e.status}`);return!0}),catch:()=>Error("not ready")}).pipe(l7({schedule:l4(`${t.delayMillis??150} millis`),times:(t.attempts??40)-1}),ag(()=>oN(!1))),kw="silk-runtime-action",kD=co(function*(){var e;let t,r,n,i,s,o,a,A,l=yield*hK;yield*oS(()=>{process.env.NPM_CONFIG_UPDATE_NOTIFIER="false",process.env.NPM_CONFIG_FUND="false",process.env.HUSKY="0",process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT="0"});let c=yield*Rg.groupStep("Detect configuration",co(function*(){var e,t;let r,n,i=(r=Array.isArray((e=yield*kg).runtime)?e.runtime:[e.runtime],{...e,runtime:r}),s=i.runtime,o=i.packageManager,a=yield*ku,A=yield*kh;return yield*ch(`Detected runtime(s): ${s.map(e=>`${e.name}@${e.version}`).join(", ")}`),yield*ch(`Detected package manager: ${o.name}@${o.version}`),r9(a)&&(yield*ch(`Detected Biome: ${a.value}`)),A&&(yield*ch("Detected Turbo configuration")),yield*Rg.success((n=[...(t={runtimes:s,packageManager:o,biome:r9(a)?a.value:null,turbo:A}).runtimes.map(e=>`${e.name} ${e.version}`),`${t.packageManager.name} ${t.packageManager.version}`],t.biome&&n.push(`biome ${t.biome}`),t.turbo&&n.push("turbo"),n.join(" \xb7 "))),{runtimes:s,packageManager:o,biome:a,turbo:A}})),d=c.packageManager.name,g=((e,t)=>{let r=new Set;for(let n of e)"node"===n.name?r.add(t):"bun"===n.name?r.add("bun"):"deno"===n.name&&r.add("deno");return Array.from(r)})(c.runtimes,d),u=c.runtimes.map(e=>({name:e.name,version:e.version}));r9(c.biome)&&u.push({name:"biome",version:c.biome.value});let h=yield*((e,t=[])=>co(function*(){let r=new Set,n=new Set;for(let t of e){let e=yield*RJ(t);for(let t of e.cachePaths)r.add(t);for(let t of e.lockfilePatterns)n.add(t)}for(let e of(e=>{let t=(0,mn.platform)(),r=process.env.RUNNER_TOOL_CACHE??("win32"===t?"C:\\hostedtoolcache":"/opt/hostedtoolcache"),n=[];for(let{name:t,version:i}of e)("node"===t||"bun"===t||"deno"===t||"biome"===t)&&n.push((0,hX.join)(r,t,i));return n})(t))r.add(e);return{cachePaths:R_(Array.from(r)),lockfilePatterns:R_(Array.from(n))}}))(g,u),m=yield*RU("additional-lockfiles").pipe(RD([])),p=yield*RU("additional-cache-paths").pipe(RD([])),C=[...h.lockfilePatterns,...m],f=yield*co(function*(){let e=yield*Rn,t=[...C,...RW].join("\n");return[...yield*e.glob(t).pipe(ag(()=>oN([])))].sort()}),I=yield*Rv("cache-bust").pipe(RD("")),E=I&&"false"!==I?I:void 0,y=[...h.cachePaths,...p,...c.turbo?["**/.turbo/cache"]:[]];yield*cC(`Active PMs: ${g.join(", ")}`),yield*cC(`Lockfiles found: ${f.length>0?f.join(", "):"(none)"}`),yield*cC(`Cache paths (${y.length}): ${y.join(", ")}`);let B=yield*Rg.groupStep("Turbo remote cache",co(function*(){var e;let t,r=(yield*Rv("turbo-cache").pipe(RD("auto")))==="off"?"off":"auto",n=yield*Rv("turbo-token").pipe(RD("")),i=yield*Rv("turbo-team").pipe(RD("")),s=yield*Rv("turbo-cache-prefix").pipe(RD("")),o=yield*RM("turbo-s3-secret-access-key").pipe(RD(cP(""))),a=yield*RM("turbo-s3-session-token").pipe(RD(cP("")));for(let e of[n,cO(o),cO(a)])""!==e&&(yield*l.setSecret(e));let A={bucket:yield*Rv("turbo-s3-bucket").pipe(RD("")),region:yield*Rv("turbo-s3-region").pipe(RD("")),endpoint:yield*Rv("turbo-s3-endpoint").pipe(RD("")),accessKeyId:yield*Rv("turbo-s3-access-key-id").pipe(RD("")),secretAccessKey:cO(o),sessionToken:cO(a),prefix:yield*Rv("turbo-s3-prefix").pipe(RD(""))},d=(e={turboDetected:c.turbo,cacheMode:r,turboToken:n,turboTeam:i,s3:A}).turboDetected&&"off"!==e.cacheMode?""!==e.turboToken&&""!==e.turboTeam?{mode:"passthrough",token:e.turboToken,team:e.turboTeam}:""!==e.s3.bucket?{mode:"embedded",backend:"s3",s3:e.s3}:{mode:"embedded",backend:"github"}:{mode:"off"},g=yield*(t={serverEntry:(0,hX.join)((0,hX.dirname)((0,yw.fileURLToPath)(import.meta.url)),"turbo-server.js"),prefix:s,spawn:kb,waitForReady:kS},co(function*(){var e,r;let n,i=yield*hK;if("off"===d.mode)return{backend:"none",port:null};if("passthrough"===d.mode)return yield*i.exportVariable("TURBO_TOKEN",d.token),yield*i.exportVariable("TURBO_TEAM",d.team),{backend:"remote",port:null};let s=(e=t.serverEntry,n={TURBOGHA_PORT:String((r={port:41230,prefix:t.prefix,token:kw}).port),TURBOGHA_PREFIX:r.prefix,TURBOGHA_TOKEN:r.token,TURBOGHA_BACKEND:d.backend},"s3"===d.backend&&(n.TURBOGHA_S3_BUCKET=d.s3.bucket,n.TURBOGHA_S3_REGION=d.s3.region,n.TURBOGHA_S3_ENDPOINT=d.s3.endpoint,n.TURBOGHA_S3_ACCESS_KEY_ID=d.s3.accessKeyId,n.TURBOGHA_S3_SECRET_ACCESS_KEY=d.s3.secretAccessKey,n.TURBOGHA_S3_SESSION_TOKEN=d.s3.sessionToken,n.TURBOGHA_S3_PREFIX=d.s3.prefix),{command:process.execPath,args:[e],env:n,port:r.port}),o=yield*t.spawn(s),a=yield*h0;return(yield*a.save("turbo-server-state",new Rz({pid:o,port:41230,backend:d.backend}),Rz),yield*t.waitForReady(41230))?(yield*i.exportVariable("TURBO_API","http://127.0.0.1:41230"),yield*i.exportVariable("TURBO_TOKEN",kw),yield*i.exportVariable("TURBO_TEAM",kw),{backend:d.backend,port:41230}):(yield*cp(`Turbo cache server (pid=${o}) did not become ready on 127.0.0.1:41230; continuing WITHOUT a remote cache. See ${kN(41230)} for server output.`),{backend:"none",port:null})}).pipe(ag(e=>cm(`Turbo cache setup error: ${e instanceof Error?e.message:String(e)}`).pipe(oV({backend:"none",port:null})))));return yield*Rg.success(kQ(g.backend,g.port)),g}).pipe(ag(e=>cm(`Turbo cache setup error: ${e instanceof Error?e.message:String(e)}`).pipe(oV({backend:"none",port:null}))),au(e=>cm(`Turbo cache setup defect: ${e instanceof Error?e.message:String(e)}`).pipe(oV({backend:"none",port:null}))))),Q=yield*Rg.groupStep("Restore cache",co(function*(){var e;let t,r,n=`ACTIONS_CACHE_URL: ${process.env.ACTIONS_CACHE_URL?"set":"NOT SET"}, ACTIONS_RESULTS_URL: ${process.env.ACTIONS_RESULTS_URL?"set":"NOT SET"}, ACTIONS_RUNTIME_TOKEN: ${process.env.ACTIONS_RUNTIME_TOKEN?"set":"NOT SET"}, ACTIONS_CACHE_SERVICE_V2: ${process.env.ACTIONS_CACHE_SERVICE_V2??"NOT SET"}`;yield*cC(`Cache env diagnostic: ${n}`);let i=yield*(t={cachePaths:y,runtimes:u,packageManager:{name:c.packageManager.name,version:c.packageManager.version},lockfiles:f,...E?{cacheBust:E}:{}},co(function*(){let e,r,n,i,s,o,a,A=yield*Cm,l=yield*h0,c=yield*(e=t.runtimes,r=t.packageManager,n=t.lockfiles,i=t.cacheBust,co(function*(){let t=(0,mn.platform)(),s=RK(e,r,i),o=RV((yield*Rj)||"null"),a=yield*co(function*(){if(0===n.length)return"";let e=yield*Rn,t=n.join("\n");return nn((yield*e.hashFiles(t).pipe(ag(()=>oN(r3())))),()=>"").substring(0,8)});return`${t}-${s}-${o}-${a}`})),d=yield*(s=t.runtimes,o=t.packageManager,a=t.cacheBust,co(function*(){if(a)return[];let e=(0,mn.platform)(),t=RK(s,o),r=RV((yield*Rj)||"null");return[`${e}-${t}-${r}-`,`${e}-${t}-`]}));yield*cC(`Cache primary key: ${c}`),yield*cC(`Cache restore keys: ${d.length>0?d.join(", "):"(none — exact match only)"}`),yield*cC(`Cache paths (${t.cachePaths.length}): ${t.cachePaths.join(", ")}`),t.cacheBust&&(yield*cC(`Cache bust value: ${t.cacheBust}`));let g=yield*A.restore(t.cachePaths,c,d).pipe(af(e=>new RY({operation:"restore",reason:`Failed to restore cache with key ${c}`,cause:e}))),u=r9(g)?g.value===c?"exact":"partial":"none";return yield*ch(`Cache ${"exact"===u?"restored (exact match)":"partial"===u?`restored (partial: ${nn(g,()=>"?")})`:"miss"}`),yield*l.save(Rq,new RG({key:c,paths:t.cachePaths,restored:"exact"===u}),RG),u})).pipe(aC("CacheError",e=>co(function*(){yield*cm(`Cache restore failed: ${e.reason}`);let t=(e=>{if(e&&"object"==typeof e&&"cause"in e){let t=e.cause;if(t)return`reason=${t.reason??"?"}, operation=${t.operation??"?"}, key=${t.key??"?"}`}})(e);return t&&(yield*cm(`Cache restore cause detail: ${t}`)),"none"})),ag(e=>co(function*(){return yield*cm(`Cache restore failed: ${e instanceof Error?e.message:String(e)}`),"none"})));return yield*Rg.success((e=f.length,r=`${e} lockfile${1===e?"":"s"}`,"exact"===i?`exact hit (${r})`:"partial"===i?`partial hit (${r})`:`miss (${r})`)),i})),N=yield*Rg.groupStep("Install runtimes",a4(c.runtimes,e=>kf.pipe(oK(t=>t.install(e.version)),l9((e=>{switch(e){case"node":return kE;case"bun":return ky;case"deno":return kB;default:return lU(kf,ru(new RO({runtime:e,version:"unknown",reason:`Unknown runtime: ${e}`})))}})(e.name)),oJ(t=>Rg.success(`${e.name} ${t.version}`)))));yield*Rg.groupStep(`Install ${d} via ${"npm"===d?"npm":"corepack"}`,(s=c.packageManager.version,co(function*(){if("bun"===d||"deno"===d)return void(yield*ch(`${d} is its own package manager, no additional setup needed`));let e=yield*x9;if("npm"===d){let t=(yield*e.execCapture("npm",["--version"])).stdout.trim();if(t!==s){yield*ch(`Upgrading npm from ${t} to ${s}...`);let r=(0,mn.platform)();if("linux"===r||"darwin"===r){yield*e.exec("sudo",["npm","install","-g",`npm@${s}`],{streaming:!0});let t=(0,hX.join)((0,mn.homedir)(),".npm");yield*e.exec("sudo",["chown","-R",`${process.getuid?.()??1e3}:${process.getgid?.()??1e3}`,t]).pipe(ag(()=>oM))}else yield*e.exec("npm",["install","-g",`npm@${s}`],{streaming:!0})}else yield*ch(`npm ${t} already matches required version`)}else{let t=(0,mn.tmpdir)(),r=(yield*e.execCapture("node",["--version"],{cwd:t})).stdout.trim().match(/^v(\d+)\.\d+\.\d+$/);if(r&&Number.parseInt(r[1],10)>=25){yield*ch("Node.js >= 25 detected, installing corepack globally...");let r=(0,mn.platform)();"linux"===r||"darwin"===r?yield*e.exec("sudo",["npm","install","-g","--force","corepack@latest"],{cwd:t,streaming:!0}):yield*e.exec("npm",["install","-g","--force","corepack@latest"],{cwd:t,streaming:!0})}yield*ch("Enabling corepack..."),yield*e.exec("corepack",["enable"],{cwd:t}).pipe(ag(()=>co(function*(){let r=yield*e.execCapture("which",["node"],{cwd:t}),n=(0,hX.join)(r.stdout.trim(),"..");yield*cC("Removing stale corepack shims and retrying...");let i=["",".js",".cmd",".ps1"],s=["pnpm","pnpx","yarn","yarnpkg","npm","npx"].flatMap(e=>i.map(t=>(0,hX.join)(n,`${e}${t}`)));yield*e.exec("rm",["-f",...s]).pipe(ag(()=>oM)),yield*e.exec("corepack",["enable"],{cwd:t,streaming:!0})}))),yield*ch(`Preparing ${d}@${s}...`),yield*e.exec("corepack",["prepare",`${d}@${s}`,"--activate"],{cwd:t,streaming:!0})}let t="pnpm"===d?{cwd:(0,mn.tmpdir)()}:{};yield*e.exec(d,["--version"],{...t,streaming:!0}),yield*Rg.success(`${d}@${s} activated`)}).pipe(af(e=>{let t=kC(e),r=e&&"object"==typeof e&&"stderr"in e?e.stderr:void 0,n=r?` -${r}`:"";return new RH({packageManager:d,version:s,reason:`Package manager setup failed: ${t}${n}`,cause:e})}))));let b=yield*Rv(t="install-deps").pipe(RS(e=>{let r=e.trim();return"true"===r||"True"===r||"TRUE"===r?oN(!0):"false"===r||"False"===r||"FALSE"===r?oN(!1):ru(new RB(new gW(new cX(r4(e),{message:`Input does not meet YAML 1.2 "Core Schema" specification: ${t} -Support boolean input list: \`true | True | TRUE | false | False | FALSE\``}))))})).pipe(RD(!0));if(b&&(yield*Rg.groupStep(`Install dependencies with ${d}`,co(function*(){let e,t=yield*x9,r=yield*hD,n=e=>r.access(e).pipe(o0(()=>!0),ag(()=>oN(!1)));if("deno"===d)return void(yield*ch("Deno caches dependencies automatically, skipping install step"));switch(d){case"npm":e=(yield*n("package-lock.json"))?["ci"]:["install"];break;case"pnpm":e=(yield*n("pnpm-lock.yaml"))?["install","--frozen-lockfile"]:["install"];break;case"yarn":e=(yield*n("yarn.lock"))?["install","--immutable"]:["install","--no-immutable"];break;case"bun":{let t=yield*n("bun.lock"),r=yield*n("bun.lockb");e=t||r?["install","--frozen-lockfile"]:["install"]}}yield*t.exec(d,e,{streaming:!0}).pipe(af(e=>{let t=e instanceof Error?e.message:String(e),r=e&&"object"==typeof e&&"stderr"in e?e.stderr:void 0,n=r?` -${r}`:"";return new RP({packageManager:d,reason:`Failed to install dependencies: ${t}${n}`,cause:e})})),yield*Rg.success("Dependencies installed successfully")}))),r9(c.biome)){let e=c.biome.value;yield*Rg.groupStep("Install Biome",co(function*(){let t=yield*xU,r=yield*hK,n=(0,mn.platform)(),i=(0,mn.arch)(),s=RF[n]?.[i];if(!s)return void(yield*ru(Error(`Unsupported platform for Biome: ${n}-${i}`)));let o=`https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${e}/${s}`,a="win32"===n?"biome.exe":"biome",A=yield*t.download(o),l=yield*t.cacheFile(A,a,"biome",e);if("win32"!==n){let e=yield*hD;yield*e.chmod((0,hX.join)(l,a),493)}yield*r.addPath(l),yield*Rg.success(`Biome ${e}`)}).pipe(ag(e=>ru(Error(`Biome install failed: ${e}`)))).pipe(ag(e=>cm(`Biome installation failed: ${e instanceof Error?e.message:String(e)}`))))}yield*co(function*(){let e=N.find(e=>"node"===e.name),t=N.find(e=>"bun"===e.name),r=N.find(e=>"deno"===e.name);yield*l.set("node-version",e?.version??""),yield*l.set("node-enabled",e?"true":"false"),yield*l.set("bun-version",t?.version??""),yield*l.set("bun-enabled",t?"true":"false"),yield*l.set("deno-version",r?.version??""),yield*l.set("deno-enabled",r?"true":"false"),yield*l.set("package-manager",c.packageManager.name),yield*l.set("package-manager-version",c.packageManager.version),yield*l.set("biome-version",r9(c.biome)?c.biome.value:""),yield*l.set("biome-enabled",r9(c.biome)?"true":"false"),yield*l.set("turbo-enabled",c.turbo?"true":"false"),yield*l.set("cache-hit","exact"===Q?"true":"partial"===Q?"partial":"false"),yield*l.set("lockfiles",f.join(",")),yield*l.set("cache-paths",y.join(","))}),yield*l.set("turbo-cache-backend",B.backend),yield*l.set("turbo-cache-port",null===B.port?"":String(B.port));let S=yield*h0,w=yield*S.getOptional(Rq,RG),D=r9(w)?w.value.key:"";yield*l.summary((o=[["Runtime(s)",(e={runtimes:c.runtimes.map(e=>({name:e.name,version:e.version})),packageManager:{name:c.packageManager.name,version:c.packageManager.version},biome:r9(c.biome)?c.biome.value:null,turbo:{backend:B.backend,port:B.port},cacheHit:Q,dependenciesInstalled:b,cacheKey:D,lockfiles:f}).runtimes.map(e=>`${e.name} ${e.version}`).join(", ")],["Package manager",`${e.packageManager.name} ${e.packageManager.version}`]],e.biome&&o.push(["Biome",e.biome]),o.push(["Turbo cache",kQ(e.turbo.backend,e.turbo.port)]),o.push(["Dependency cache","exact"===(a=e.cacheHit)?"✅ exact hit":"partial"===a?"♻️ partial hit":"⬜ miss"]),o.push(["Dependencies",e.dependenciesInstalled?"installed":"skipped"]),A=[e.cacheKey?`Cache key: \`${e.cacheKey}\``:"",e.lockfiles.length>0?`Lockfiles: ${e.lockfiles.map(e=>`\`${e}\``).join(", ")}`:"Lockfiles: none"].filter(e=>""!==e),[((e,t=2)=>`${"#".repeat(t)} ${e}`)("\uD83D\uDE80 Runtime Setup",2),(r=["Component","Detail"],n=o,[`| ${r.join(" | ")} |`,`| ${r.map(()=>"---").join(" | ")} |`,...n.map(e=>`| ${e.join(" | ")} |`)].join("\n")),(i=A.map(e=>`- ${e}`).join("\n"),`<details> -<summary>Cache details</summary> - +`);s.push(e,o,a),"number"==typeof o.size?l+=e.byteLength+o.size+a.byteLength:d=!0}let u=E.encode(`--${t}--\r +`);s.push(u),l+=u.byteLength,d&&(l=null),A=e,o=async function*(){for(let e of s)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(i.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:n(e)}return("string"==typeof A||p(A))&&(o=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=o&&(async()=>{let e=o(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(g(r))break;e.length&&a.enqueue(new Uint8Array(e))}else e?.length&&!g(r)&&a.enqueue("string"==typeof e?E.encode(e):new Uint8Array(e));queueMicrotask(()=>s(a))})(),[{stream:r,source:A,length:l},h]}function b(e,t,r,i){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(N(e=i(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let n=Promise.withResolvers(),s=n.reject,o=e=>{try{n.resolve(t(e))}catch(e){s(e)}};return null==e.body?o(Buffer.allocUnsafe(0)):a(e.body,o,s),n.promise}function N(e){let t=e.body;return null!=t&&(t.stream.locked||i.isDisturbed(t.stream))}function S(e){let t=o(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(u(!i.isDisturbed(e),"The body has already been consumed."),u(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=I?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return b(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=m(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return b(this,e=>new Uint8Array(e).buffer,e,t)},text(){return b(this,y,e,t)},json(){return b(this,C,e,t)},formData(){return b(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=f(e,r),i=new A;return l(i,t),i}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,i]of t)r.append(e,i);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return b(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(N(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,i=new TextDecoderStream("UTF-8");return r.pipeThrough(i)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||g(t)||t.cancel("Response object has been garbage collected").catch(B)}),bodyUnusable:N}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),i=[301,302,303,307,308],n=new Set(i),s=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],a=new Set(s),o=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...o],l=new Set(o),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),u=["CONNECT","TRACE","TRACK"],g=new Set(u),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],p=new Set(h);e.exports={subresource:h,forbiddenMethods:u,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:s,requestDuplex:["half"],subresourceSet:p,badPortsSet:a,redirectStatusSet:n,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:g,referrerPolicyTokens:l}},3518(e,t,r){let i=r(4589),{forgivingBase64:n,collectASequenceOfCodePoints:s,collectASequenceOfCodePointsFast:a,isomorphicDecode:o,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,u=/[\u000A\u000D\u0009\u0020]/u,g=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,i=e.hash.length,n=0===i?r:r.substring(0,r.length-i);return!i&&r.endsWith("#")?n.slice(0,-1):n}function p(e){return function(e){let t=e.length,r=new Uint8Array(t),i=0,n=0;for(;n<t;){let t=e[n];37!==t?r[i++]=t:37!==t||m(e[n+1])&&m(e[n+2])?(r[i++]=f(e[n+1])<<4|f(e[n+2]),n+=2):r[i++]=37,++n}return t===i?r:r.subarray(0,i)}(c.encode(e))}function m(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function f(e){return e>=48&&e<=57?e-48:(223&e)-55}function C(e){e=E(e,!0,!0);let t={position:0},r=a("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let i=a(";",e,t);if(0===(i=E(i,!1,!0)).length||!d.test(i))return"failure";let n=r.toLowerCase(),o=i.toLowerCase(),A={type:n,subtype:o,parameters:new Map,essence:`${n}/${o}`};for(;t.position<e.length;){t.position++,s(e=>u.test(e),e,t);let r=s(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let i=null;if('"'===e[t.position])i=y(e,t,!0),a(";",e,t);else if(0===(i=E(i=a(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===i.length||g.test(i))&&!A.parameters.has(r)&&A.parameters.set(r,i)}return A}function y(e,t,r=!1){let n=t.position,a="";for(i('"'===e[t.position]),t.position++;a+=s(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){a+="\\";break}a+=e[t.position],t.position++}else{i('"'===r);break}}return r?a:e.slice(n,t.position)}function I(e){return 13===e||10===e||9===e||32===e}function E(e,t=!0,r=!0){return l(e,t,r,I)}e.exports={dataURLProcessor:function(e){i("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},s=a(",",t,r),l=s.length;if(s=A(s,!0,!0),r.position>=t.length)return"failure";r.position++;let c=p(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(s)){if("failure"===(c=n(o(c))))return"failure";s=(s=(s=s.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let d=C(s);return"failure"===d&&(d=C("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:p,parseMIMEType:C,collectAnHTTPQuotedString:y,serializeAMimeType:function(e){i("failure"!==e);let{parameters:t,essence:r}=e,n=r;for(let[e,r]of t.entries())n+=";",n+=e,n+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),n+=r;return n},removeHTTPWhitespace:E,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:i}=r(1210),{HTTP_TOKEN_CODEPOINTS:n}=r(3518),{makeEntry:s}=r(1304),{webidl:a}=r(849),o=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function u(e,t,r){let i=r.position;for(;i<t.length&&e(t[i]);)++i;return t.subarray(r.position,r.position=i)}function g(e,t,r,i){let n=0,s=e.length-1;if(t)for(;n<e.length&&i(e[n]);)n++;if(r)for(;s>0&&i(e[s]);)s--;return 0===n&&s===e.length-1?e:e.subarray(n,s+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function p(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){o("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let m=Buffer.from(`--${r}`,"utf8"),f=[],C={position:0},y=e.indexOf(m);if(-1===y)throw h("no boundary found in multipart body");for(C.position=y;;){let t,r;if(e.subarray(C.position,C.position+m.length).equals(m))C.position+=m.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[r.position+i])return!1;return!0}(e,l,C))return f;if(13!==e[C.position]||10!==e[C.position+1])throw h("expected CRLF");C.position+=2;let{name:y,filename:I,contentType:E,encoding:B}=function(e,t){let r=null,s=null,a=null,o=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:s,contentType:a,encoding:o}}let l=u(e=>10!==e&&13!==e&&58!==e,e,t);if(l=g(l,!0,!0,e=>9===e||32===e),!n.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,u(e=>32===e||9===e,e,t),i(l)){case"content-disposition":{r=s=null;let i=!1;if("form-data"!==u(e=>p(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let n=function(e,t){let r;59===e[t.position]&&t.position++,u(e=>32===e||9===e,e,t);let i=u(e=>p(e)&&61!==e&&42!==e,e,t);if(0===i.length)return null;let n=i.toString("ascii").toLowerCase(),s=42===e[t.position];if(s&&t.position++,61!==e[t.position])return null;if(t.position++,u(e=>32===e||9===e,e,t),s){let i=u(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==i[0]&&85!==i[0]||116!==i[1]&&84!==i[1]||102!==i[2]&&70!==i[2]||45!==i[3]||56!==i[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(i.subarray(7)))}else if(34===e[t.position]){t.position++;let i=u(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(i).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let i=u(e=>p(e)&&59!==e,e,t);r=c.decode(i)}return{name:n,value:r,extended:s}}(e,t);if(!n)break;"name"===n.name?r=n.value:"filename"===n.name&&(n.extended?(s=n.value,i=!0):i||(s=n.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=u(e=>10!==e&&13!==e,e,t);a=A(r=g(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=u(e=>10!==e&&13!==e,e,t);o=A(r=g(r,!1,!0,e=>9===e||32===e));break}default:u(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,C);C.position+=2;{let r=e.indexOf(m.subarray(2),C.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(C.position,r-4),C.position+=t.length,"base64"===B&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[C.position]||10!==e[C.position+1])throw h("expected CRLF");C.position+=2,null!==I?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(E??="text/plain")&&(E=""),r=new File([t],I,{type:E})):r=d.decode(Buffer.from(t)),o(a.is.USVString(y)),o("string"==typeof r&&a.is.USVString(r)||a.is.File(r)),f.push(s(y,r,I))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:i}=r(638),{kEnumerableProperty:n}=r(1210),{webidl:s}=r(849),a=r(7975),{runtimeFeatures:o}=r(6979),A=o.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(s.util.markAsUncloneable(this),void 0!==e)throw s.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){s.brandCheck(this,l);let i="FormData.append";s.argumentLengthCheck(arguments,2,i),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,i,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let n=g(e,t,r);this.#eS.push(n)}delete(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.delete"),e=s.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.get"),e=s.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.getAll"),e=s.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.has"),e=s.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){s.brandCheck(this,l);let i="FormData.set";s.argumentLengthCheck(arguments,2,i),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,i,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let n=g(e,t,r),a=this.#eS.findIndex(t=>t.name===e);-1!==a?this.#eS=[...this.#eS.slice(0,a),n,...this.#eS.slice(a+1).filter(t=>t.name!==e)]:this.#eS.push(n)}[a.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let i=a.formatWithOptions(t,r);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:u}=l;function g(e,t,r){if("string"==typeof t);else if(s.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),i("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:n,delete:n,get:n,getAll:n,has:n,set:n,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),s.is.FormData=s.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:g,setFormDataState:d,getFormDataBoundary:u}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:i}=r(3025),{kEnumerableProperty:n}=r(1210),{iteratorMixin:s,isValidHeaderName:a,isValidHeaderValue:o}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function u(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function g(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let i=t[r];if(2!==i.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`});h(e,i[0],i[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let i=0;i<r.length;++i)h(e,r[i],t[r[i]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=u(r),a(t)){if(!o(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===C(e))throw TypeError("immutable");return I(e).append(t,r,!1)}function p(e,t){return e[0]<t[0]?-1:1}class m{cookies=null;sortedMap;headersMap;constructor(e){e instanceof m?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase(),n=this.headersMap.get(i);if(n){let e="cookie"===i?"; ":", ";this.headersMap.set(i,{name:n.name,value:`${n.value}${e}${t}`})}else this.headersMap.set(i,{name:e,value:t});"set-cookie"===i&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase();"set-cookie"===i&&(this.cookies=[t]),this.headersMap.set(i,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:i}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,i]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),i=r.next().value;t[0]=[i[0],i[1].value],l(null!==i[1].value);for(let i=1,n=0,s=0,a=0,o=0,A,c;i<e;++i){for(c=r.next().value,l(null!==(A=t[i]=[c[0],c[1].value])[1]),a=0,s=i;a<s;)t[o=a+(s-a>>1)][0]<=A[0]?a=o+1:s=o;if(i!==o){for(n=i;n>a;)t[n]=t[--n];t[a]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:i}}of this.headersMap)t[e++]=[r,i],l(null!==i);return t.sort(p)}}}class f{#tr;#ti;constructor(e){if(A.util.markAsUncloneable(this),e===i)return;this.#ti=new m,this.#tr="none",void 0!==e&&g(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,f),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,f),A.argumentLengthCheck(arguments,1,"Headers.delete"),!a(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.contains(e,!1)&&this.#ti.delete(e,!1)}get(e){A.brandCheck(this,f),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!a(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.get(e,!1)}has(e){A.brandCheck(this,f),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!a(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.contains(e,!1)}set(e,t){A.brandCheck(this,f),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=u(t=A.converters.ByteString(t,r,"value")),a(e)){if(!o(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.set(e,t,!1)}getSetCookie(){A.brandCheck(this,f);let e=this.#ti.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#ti.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#ti}static setHeadersList(e,t){e.#ti=t}}let{getHeadersGuard:C,setHeadersGuard:y,getHeadersList:I,setHeadersList:E}=f;Reflect.deleteProperty(f,"getHeadersGuard"),Reflect.deleteProperty(f,"setHeadersGuard"),Reflect.deleteProperty(f,"getHeadersList"),Reflect.deleteProperty(f,"setHeadersList"),s("Headers",f,function(e){let t=I(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],i=t.toSortedArray(),n=t.cookies;if(null===n||1===n.length)return t.sortedMap=i;for(let e=0;e<i.length;++e){let{0:t,1:s}=i[e];if("set-cookie"===t)for(let e=0;e<n.length;++e)r.push([t,n[e]]);else r.push([t,s])}return t.sortedMap=r},0,1),Object.defineProperties(f.prototype,{append:n,delete:n,get:n,has:n,set:n,getSetCookie:n,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let i=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&i===f.prototype.entries)try{return I(e).entriesList}catch{}return"function"==typeof i?A.converters["sequence<sequence<ByteString>>"](e,t,r,i.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:g,compareHeaderName:p,Headers:f,HeadersList:m,getHeadersGuard:C,setHeadersGuard:y,setHeadersList:E,getHeadersList:I}},7564(e,t,r){let i,{makeNetworkError:n,makeAppropriateNetworkError:s,filterResponse:a,makeResponse:o,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:u,getRequestDispatcher:g,getRequestState:h,removeRequestAbortListener:p}=r(9553),m=r(8522),{makePolicyContainer:f,clonePolicyContainer:C,requestBadPort:y,TAOCheck:I,appendRequestOriginHeader:E,responseLocationURL:B,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:b,tryUpgradeRequestToAPotentiallyTrustworthyURL:N,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:x,crossOriginResourcePolicyCheck:D,determineRequestsReferrer:R,coarsenedSharedCurrentTime:v,sameOrigin:k,isCancelled:M,isAborted:F,isErrorLike:U,fullyReadBody:T,readableStreamClose:L,urlIsLocal:O,urlIsHttpHttpsScheme:P,urlHasHttpsScheme:H,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:q,createInflate:z,extractMimeType:V,hasAuthenticationEntry:_,includesCredentials:J,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:K,extractBody:$}=r(4626),{redirectStatusSet:X,nullBodyStatus:Z,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),ei=r(8474),{Readable:en,pipeline:es,finished:ea,isErrored:eo,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eu,minimizeSupportedMimeType:eg}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:ep}=r(849),{STATUS_CODES:em}=r(7067),{bytesMatch:ef}=r(2300),{isomorphicEncode:eC}=r(5358),ey=["GET","HEAD"],eI="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function eE(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let i=ec(r[t]),n=r[t+1];if(Array.isArray(n)&&!Buffer.isBuffer(n))for(let t of n)e.append(i,t.toString("latin1"),!0);else e.append(i,n.toString("latin1"),!0)}return}for(let[r,i]of Object.entries(t??{}))if(Array.isArray(i))for(let t of i)e.append(r,`${t}`,!0);else e.append(r,`${i}`,!0)}class eB extends ei{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],i=e.timingInfo,n=e.cacheState;P(r)&&null!==i&&(e.timingAllowPassed||(i=S({startTime:i.startTime}),n=""),i.endTime=v(),e.timingInfo=i,eb(i,r.href,t,globalThis,n,"",e.status))}let eb=performance.markResourceTiming;function eN(e,t,r,i,n){if(e&&e.reject(i),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(i).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let s=l(r);s.body?.stream!=null&&eA(s.body.stream)&&n.error(i)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseEndOfBody:n,processResponseConsumeBody:s,useParallelQueue:a=!1,dispatcher:o=eh(),requestObject:A=null}){j(o);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:v(c)}),u={controller:new eB(o),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseConsumeBody:s,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=C(e.client.policyContainer):e.policyContainer=f()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(u,!1),u.controller}async function ew(e,t){try{let r=e.request,i=null;if(r.localURLsOnly&&!O(Q(r))&&(i=n("local URLs only")),N(r),"blocked"===y(r)&&(i=n("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===i){let t=Q(r);k(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",i=await ex(e)):"same-origin"===r.mode?i=n('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?i=n('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",i=await ex(e)):P(Q(r))?(r.responseTainting="cors",i=await eR(e)):i=n("URL scheme must be a HTTP(S) scheme")}if(t)return i;0===i.status||i.internalResponse||(r.responseTainting,"basic"===r.responseTainting?i=a(i,"basic"):"cors"===r.responseTainting?i=a(i,"cors"):"opaque"===r.responseTainting?i=a(i,"opaque"):j(!1));let s=0===i.status?i:i.internalResponse;if(0===s.urlList.length&&s.urlList.push(...r.urlList),r.timingAllowFailed||(i.timingAllowPassed=!0),"opaque"===i.type&&206===s.status&&s.rangeRequested&&!r.headers.contains("range",!0)&&(i=s=n()),0!==i.status&&("HEAD"===r.method||"CONNECT"===r.method||Z.includes(s.status))&&(s.body=null,e.controller.dump=!0),r.integrity){let t=t=>eD(e,n(t));if("opaque"===r.responseTainting||null==i.body)return void t(i.error);T(i.body,n=>{ef(n,r.integrity)?(i.body=K(n)[0],eD(e,i)):t("integrity mismatch")},t)}else eD(e,i)}catch(t){e.controller.terminate(t)}}function ex(e){if(M(e)&&0===e.request.redirectCount)return Promise.resolve(s(e));let{request:t}=e,{protocol:a}=Q(t);switch(a){case"about:":return Promise.resolve(n("about scheme is not supported"));case"blob:":{i||(i=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(n("NetworkError when attempting to fetch resource."));let s=i(e.toString());if("GET"!==t.method||!ep.is.Blob(s))return Promise.resolve(n("invalid method"));let a=o(),A=s.size,l=eC(`${A}`),c=s.type;if(t.headersList.contains("range",!0)){a.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(n("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:i}=e;if(null===r)i=(r=A-i)+i-1;else{if(r>=A)return Promise.resolve(n("Range start is greater than the blob's size."));(null===i||i>=A)&&(i=A-1)}let o=s.slice(r,i+1,c);a.body=$(o)[0];let l=eC(`${o.size}`),d=q(r,i,A);a.status=206,a.statusText="Partial Content",a.headersList.set("content-length",l,!0),a.headersList.set("content-type",c,!0),a.headersList.set("content-range",d,!0)}else{let e=$(s);a.statusText="OK",a.body=e[0],a.headersList.set("content-length",l,!0),a.headersList.set("content-type",c,!0)}return Promise.resolve(a)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(n("failed to fetch the data URL"));return Promise.resolve(o({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eu(e.mimeType)}]],body:K(e.body)[0]}))}case"file:":return Promise.resolve(n("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>n(e));default:return Promise.resolve(n("unknown scheme"))}}function eD(e,t){let r=e.timingInfo,i=()=>{let i=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!P(e.request.url))return;r.endTime=i;let n=t.cacheState,s=t.bodyInfo;t.timingAllowPassed||(r=S(r),n="");let a=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){a=t.status;let e=V(t.headersList);"failure"!==e&&(s.contentType=eg(e))}null!=e.request.initiatorType&&eb(r,e.request.url.href,e.request.initiatorType,globalThis,n,s,a)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let n="error"===t.type?t:t.internalResponse??t;null==n.body?i():ea(n.body.stream,()=>{i()})}async function eR(e){let t=e.request,r=null,i=null,s=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),i=r=await ev(e),"cors"===t.responseTainting&&"failure"===x(t,r))return n("cors failure");"failure"===I(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===D(t.origin,t.client,t.destination,i)?n("blocked"):(X.has(i.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=n("unexpected redirect"):"manual"===t.redirect?r=i:"follow"===t.redirect?r=await function(e,t){let r,i=e.request,s=t.internalResponse?t.internalResponse:t;try{if(r=B(s,Q(i).hash),null==r)return t}catch(e){return Promise.resolve(n(e))}if(!P(r))return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"));if(20===i.redirectCount)return Promise.resolve(n("redirect count exceeded"));if(i.redirectCount+=1,"cors"===i.mode&&(r.username||r.password)&&!k(i,r))return Promise.resolve(n('cross origin not allowed for request mode "cors"'));if("cors"===i.responseTainting&&(r.username||r.password))return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'));if(303!==s.status&&null!=i.body&&null==i.body.source)return Promise.resolve(n());if([301,302].includes(s.status)&&"POST"===i.method||303===s.status&&!ey.includes(i.method))for(let e of(i.method="GET",i.body=null,et))i.headersList.delete(e);k(Q(i),r)||(i.headersList.delete("authorization",!0),i.headersList.delete("proxy-authorization",!0),i.headersList.delete("cookie",!0),i.headersList.delete("host",!0)),null!=i.body&&(j(null!=i.body.source),i.body=K(i.body.source)[0]);let a=e.timingInfo;return a.redirectEndTime=a.postRedirectStartTime=v(e.crossOriginIsolatedCapability),0===a.redirectStartTime&&(a.redirectStartTime=a.startTime),i.urlList.push(r),b(i,s),ew(e,!0)}(e,r):j(!1)),r.timingInfo=s,r)}async function ev(e,t=!1,r=!1){let i=e.request,a=null,o=null,A=null;"no-window"===i.window&&"error"===i.redirect?(a=e,o=i):(i.body?.source!=null?o=u(i):(o=u({...i,body:null})).body=i.body,(a={...e}).request=o);let l="include"===i.credentials||"same-origin"===i.credentials&&"basic"===i.responseTainting,c=o.body?o.body.length:null,d=null;if(null==o.body&&["POST","PUT"].includes(o.method)&&(d="0"),null!=c&&(d=eC(`${c}`)),null==d||o.headersList.contains("content-length",!0)||o.headersList.append("content-length",d,!0),null!=c&&o.keepalive,ep.is.URL(o.referrer)&&o.headersList.append("referer",eC(o.referrer.href),!0),E(o),w(o),o.headersList.contains("user-agent",!0)||o.headersList.append("user-agent",eI,!0),"default"===o.cache&&(o.headersList.contains("if-modified-since",!0)||o.headersList.contains("if-none-match",!0)||o.headersList.contains("if-unmodified-since",!0)||o.headersList.contains("if-match",!0)||o.headersList.contains("if-range",!0))&&(o.cache="no-store"),"no-cache"!==o.cache||o.preventNoCacheCacheControlHeaderModification||o.headersList.contains("cache-control",!0)||o.headersList.append("cache-control","max-age=0",!0),("no-store"===o.cache||"reload"===o.cache)&&(o.headersList.contains("pragma",!0)||o.headersList.append("pragma","no-cache",!0),o.headersList.contains("cache-control",!0)||o.headersList.append("cache-control","no-cache",!0)),o.headersList.contains("range",!0)&&o.headersList.append("accept-encoding","identity",!0),o.headersList.contains("accept-encoding",!0)||(H(Q(o))?o.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):o.headersList.append("accept-encoding","gzip, deflate",!0)),o.headersList.delete("host",!0),l&&!o.headersList.contains("authorization",!0)){let e=null;if(_(o)&&(void 0===o.useURLCredentials||!J(Q(o))));else if(J(Q(o))&&t){let{username:t,password:r}=Q(o);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&o.headersList.append("Authorization",e,!1)}if(o.cache="no-store","no-store"!==o.cache&&o.cache,null==A){if("only-if-cached"===o.cache)return n("only if cached");let e=await ek(a,l,r);!ee.has(o.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...o.urlList],o.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==o.responseTainting&&l&&(void 0!==i.useURLCredentials||W(i.traversableForUserPrompts))){if(null!=i.body){if(null==i.body.source)return A;i.body=K(i.body.source)[0]}if(void 0===i.useURLCredentials||t)return M(e)?s(e):A;e.controller.connection.destroy(),A=await ev(e,!0)}if(407===A.status)return"no-window"===i.window?n():M(e)?s(e):n("proxy authentication required");if(421===A.status&&!r&&(null==i.body||null!=i.body.source)){if(M(e))return s(e);e.controller.connection.destroy(),A=await ev(e,t,!0)}return A}async function ek(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let i=e.request,a=null,A=e.timingInfo;i.cache="no-store",i.mode;let l=null;if(null==i.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=i.body){let t=async function*(t){M(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of i.body.stream)yield*t(e);!M(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){M(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:n,headersList:s,socket:d}=await function({body:t}){let r=Q(i),n=e.controller.dispatcher,s=r.pathname+r.search,a=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(o,l){return new Promise((d,u)=>n.dispatch({path:a?`${s}?`:s,origin:r.origin,method:i.method,body:n.isMockActive?i.body&&(i.body.source||i.body.stream):o,__mockAgentBodyForDispatch:o,headers:i.headersList.entries,maxRedirections:0,upgrade:"websocket"===i.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let i=e=>t.abort(e);r.destroyed?i(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",i),this.abort=r.abort=i),A.finalNetworkRequestStartTime=v(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=v(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,n){if(t<200)return;let s=e?.rawHeaders??[],a=new c;eE(a,r,s);let o=a.get("location",!0);this.body=new en({read:()=>e.resume()});let A=o&&"follow"===i.redirect&&X.has(t),l=[];if("HEAD"!==i.method&&"CONNECT"!==i.method&&!Z.includes(t)&&!A){let e=a.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void u(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(m.createGunzip({flush:m.constants.Z_SYNC_FLUSH,finishFlush:m.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(z({flush:m.constants.Z_SYNC_FLUSH,finishFlush:m.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(m.createBrotliDecompress({flush:m.constants.BROTLI_OPERATION_FLUSH,finishFlush:m.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(m.createZstdDecompress({flush:m.constants.ZSTD_e_continue,finishFlush:m.constants.ZSTD_e_end}));else{l.length=0;break}}}let g=t=>this.onResponseError(e,t);d({status:t,statusText:n,headersList:a,body:l.length?es(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",g):this.body.on("error",g)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,n){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===i.mode&&!1!==l&&n?.code==="UND_ERR_INFO"&&n?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(o,!1)):(this.body?.destroy(n),e.controller.terminate(n),u(n))},onRequestUpgrade(e,t,r,i){if(null!=i.session&&200!==t||null==i.session&&101!==t)return!1;let n=e?.rawHeaders??[],s=new c;return eE(s,r,n),d({status:t,statusText:em[t],headersList:s,socket:i}),!0}}))}(t)}({body:l});if(d)a=o({status:r,statusText:n,headersList:s,socket:d});else{let i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next(),a=o({status:r,statusText:n,headersList:s})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),s(e,t);return n(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{M(e)||e.controller.abort(t)},type:"bytes"});return a.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){F(e)?(a.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:U(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:i}=await e.controller.next();if(F(e))break;t=r?void 0:i}catch(i){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=i,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,a);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let i=new Uint8Array(t);if(i.byteLength&&e.controller.controller.enqueue(i),eo(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},a}e.exports={fetch:function(e,t){let r;ep.argumentLengthCheck(arguments,1,"globalThis.fetch");let i=Promise.withResolvers();try{r=new d(e,t)}catch(e){return i.reject(e),i.promise}let n=h(r);if(r.signal.aborted)return eN(i,n,null,r.signal.reason,null),i.promise;let s=n.client.globalObject;s?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let a=null,o=!1,l=null,c=el(r.signal,()=>{o=!0,j(null!=l),l.abort(r.signal.reason);let e=a?.deref();eN(i,n,e,r.signal.reason,l.controller)}),u=()=>{c(),p(r)};return l=eS({request:n,processResponseEndOfBody:e=>{eQ(e,"fetch"),u()},processResponse:e=>{if(!o){if(e.aborted){eN(i,n,a,l.serializedAbortReason,l.controller),u();return}if("error"===e.type){i.reject(TypeError("fetch failed",{cause:e.error})),u();return}a=new WeakRef(A(e,"immutable")),i.resolve(a.deref()),i=null}},dispatcher:g(r),requestObject:r}),i.promise},Fetch:eB,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let i,{extractBody:n,mixinBody:s,cloneBody:a,bodyUnusable:o}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:u,setHeadersList:g,getHeadersList:h}=r(3470),p=r(1210),m=r(7975),{isValidHTTPToken:f,sameOrigin:C,environmentSettingsObject:y}=r(638),{forbiddenMethodsSet:I,corsSafeListedMethodsSet:E,referrerPolicy:B,requestRedirect:Q,requestMode:b,requestCredentials:N,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:x,normalizedMethodRecordsBase:D,normalizedMethodRecords:R}=p,{webidl:v}=r(849),{URLSerializer:k}=r(3518),{kConstruct:M}=r(3025),F=r(4589),{getMaxListeners:U,setMaxListeners:T,defaultMaxListeners:L}=r(8474),O=Symbol("abortController"),P=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),H=new WeakMap;try{i=U(new AbortController().signal)>0}catch{i=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){P.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=H.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}H.delete(r.signal)}}}}let G=!1;class q{#tn;#Q;#Z;#eS;#ts=null;constructor(e,t){let r;if(v.util.markAsUncloneable(this),e===M)return;v.argumentLengthCheck(arguments,1,"Request constructor"),e=v.converters.RequestInfo(e),t=v.converters.RequestInit(t);let s=null,a=null,u=y.settingsObject.baseUrl,m=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,u)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=$({urlList:[r]}),a="cors"}else F(v.is.Request(e)),s=e.#eS,m=e.#tn,this.#Q=t.dispatcher||e.#Q;let B=y.settingsObject.origin,Q="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&C(s.window,B)&&(Q=s.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),s=$({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:y.settingsObject,window:Q,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let b=0!==Object.keys(t).length;if(b&&("navigate"===s.mode&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)s.referrer="no-referrer";else{let t;try{t=new URL(e,u)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||B&&!C(t,y.settingsObject.baseUrl)?s.referrer="client":s.referrer=t}}if(void 0!==t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:a))throw v.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(s.mode=r),void 0!==t.credentials&&(s.credentials=t.credentials),void 0!==t.cache&&(s.cache=t.cache),"only-if-cached"===s.cache&&"same-origin"!==s.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(s.redirect=t.redirect),null!=t.integrity&&(s.integrity=String(t.integrity)),void 0!==t.keepalive&&(s.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)s.method=r;else{if(!f(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(I.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=D[t]??e,s.method=e}G||"patch"!==s.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(m=t.signal),this.#eS=s;let N=new AbortController;if(this.#tn=N.signal,null!=m)if(m.aborted)N.abort(m.reason);else{this[O]=N;let e=Y(new WeakRef(N));i&&U(m)===L&&T(1500,m);let t=p.addAbortListener(m,e);P.register(N,{signal:m,abort:e},e),this.#ts=()=>{P.unregister(e),t(),this.#ts=null}}if(this.#Z=new A(M),g(this.#Z,s.headersList),d(this.#Z,"request"),"no-cors"===r){if(!E.has(s.method))throw TypeError(`'${s.method} is unsupported in no-cors mode.`);d(this.#Z,"request-no-cors")}if(b){let e=h(this.#Z),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:i}of r.rawValues())e.append(t,i,!1);e.cookies=r.cookies}else l(this.#Z,r)}let S=v.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===s.method||"HEAD"===s.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=n(t.body,s.keepalive);w=e,r&&!h(this.#Z).contains("content-type",!0)&&this.#Z.append("content-type",r,!0)}let x=w??S;if(null!=x&&null==x.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==s.mode&&"cors"!==s.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let k=x;if(null==w&&null!=S){if(o(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),k={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=k}get method(){return v.brandCheck(this,q),this.#eS.method}get url(){return v.brandCheck(this,q),k(this.#eS.url)}get headers(){return v.brandCheck(this,q),this.#Z}get destination(){return v.brandCheck(this,q),this.#eS.destination}get referrer(){return(v.brandCheck(this,q),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return v.brandCheck(this,q),this.#eS.referrerPolicy}get mode(){return v.brandCheck(this,q),this.#eS.mode}get credentials(){return v.brandCheck(this,q),this.#eS.credentials}get cache(){return v.brandCheck(this,q),this.#eS.cache}get redirect(){return v.brandCheck(this,q),this.#eS.redirect}get integrity(){return v.brandCheck(this,q),this.#eS.integrity}get keepalive(){return v.brandCheck(this,q),this.#eS.keepalive}get isReloadNavigation(){return v.brandCheck(this,q),this.#eS.reloadNavigation}get isHistoryNavigation(){return v.brandCheck(this,q),this.#eS.historyNavigation}get signal(){return v.brandCheck(this,q),this.#tn}get body(){return v.brandCheck(this,q),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return v.brandCheck(this,q),!!this.#eS.body&&p.isDisturbed(this.#eS.body.stream)}get duplex(){return v.brandCheck(this,q),"half"}clone(){if(v.brandCheck(this,q),o(this.#eS))throw TypeError("unusable");let e=X(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=H.get(this.signal);void 0===e&&(e=new Set,H.set(this.signal,e));let r=new WeakRef(t);e.add(r),p.addAbortListener(t.signal,Y(r))}return Z(e,this.#Q,t.signal,u(this.#Z))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${m.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#tn=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#Z=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#ts?.()}}let{setRequestSignal:z,getRequestDispatcher:V,setRequestDispatcher:_,setRequestHeaders:J,getRequestState:W,setRequestState:j,removeRequestAbortListener:K}=q;function $(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function X(e){let t=$({...e,body:null});return null!=e.body&&(t.body=a(e.body)),t}function Z(e,t,r,i){let n=new q(M);j(n,e),_(n,t),z(n,r);let s=new A(M);return J(n,s),g(s,e.headersList),d(s,i),n}Reflect.deleteProperty(q,"setRequestSignal"),Reflect.deleteProperty(q,"getRequestDispatcher"),Reflect.deleteProperty(q,"setRequestDispatcher"),Reflect.deleteProperty(q,"setRequestHeaders"),Reflect.deleteProperty(q,"getRequestState"),Reflect.deleteProperty(q,"setRequestState"),Reflect.deleteProperty(q,"removeRequestAbortListener"),s(q,W),Object.defineProperties(q.prototype,{method:x,url:x,headers:x,redirect:x,clone:x,signal:x,duplex:x,destination:x,body:x,bodyUsed:x,isHistoryNavigation:x,isReloadNavigation:x,keepalive:x,integrity:x,cache:x,credentials:x,attribute:x,referrerPolicy:x,referrer:x,mode:x,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),v.is.Request=v.util.MakeTypeAssertion(q),v.converters.RequestInfo=function(e){return"string"==typeof e?v.converters.USVString(e):v.is.Request(e)?e:v.converters.USVString(e)},v.converters.RequestInit=v.dictionaryConverter([{key:"method",converter:v.converters.ByteString},{key:"headers",converter:v.converters.HeadersInit},{key:"body",converter:v.nullableConverter(v.converters.BodyInit)},{key:"referrer",converter:v.converters.USVString},{key:"referrerPolicy",converter:v.converters.DOMString,allowedValues:B},{key:"mode",converter:v.converters.DOMString,allowedValues:b},{key:"credentials",converter:v.converters.DOMString,allowedValues:N},{key:"cache",converter:v.converters.DOMString,allowedValues:S},{key:"redirect",converter:v.converters.DOMString,allowedValues:Q},{key:"integrity",converter:v.converters.DOMString},{key:"keepalive",converter:v.converters.boolean},{key:"signal",converter:v.nullableConverter(e=>v.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:v.converters.any},{key:"duplex",converter:v.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:v.converters.any},{key:"priority",converter:v.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:q,makeRequest:$,fromInnerRequest:Z,cloneRequest:X,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:K}},165(e,t,r){let{Headers:i,HeadersList:n,fill:s,getHeadersGuard:a,setHeadersGuard:o,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:u,bodyUnusable:g}=r(4626),h=r(1210),p=r(7975),{kEnumerableProperty:m}=h,{isValidReasonPhrase:f,isCancelled:C,isAborted:y,isErrorLike:I,environmentSettingsObject:E}=r(638),{redirectStatusSet:B,nullBodyStatus:Q}=r(6113),{webidl:b}=r(849),{URLSerializer:N}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:x,serializeJavascriptValueToJSONString:D}=r(5358),R=new TextEncoder("utf-8");class v{#Z;#eS;static error(){return G(O(),"immutable")}static json(e,t){b.argumentLengthCheck(arguments,1,"Response.json"),t=b.converters.ResponseInit(t);let r=l(R.encode(D(e))),i=G(L({}),"response");return Y(i,t,{body:r[0],type:"application/json"}),i}static redirect(e,t=302){let r;b.argumentLengthCheck(arguments,1,"Response.redirect"),e=b.converters.USVString(e),t=b.converters["unsigned short"](t);try{r=new URL(e,E.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!B.has(t))throw RangeError(`Invalid status code ${t}`);let i=G(L({}),"immutable");i.#eS.status=t;let n=x(N(r));return i.#eS.headersList.append("location",n,!0),i}constructor(e=null,t){if(b.util.markAsUncloneable(this),e===S)return;null!==e&&(e=b.converters.BodyInit(e,"Response","body")),t=b.converters.ResponseInit(t),this.#eS=L({}),this.#Z=new i(S),o(this.#Z,"response"),A(this.#Z,this.#eS.headersList);let r=null;if(null!=e){let[t,i]=l(e);r={body:t,type:i}}Y(this,t,r)}get type(){return b.brandCheck(this,v),this.#eS.type}get url(){b.brandCheck(this,v);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":N(t,!0)}get redirected(){return b.brandCheck(this,v),this.#eS.urlList.length>1}get status(){return b.brandCheck(this,v),this.#eS.status}get ok(){return b.brandCheck(this,v),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return b.brandCheck(this,v),this.#eS.statusText}get headers(){return b.brandCheck(this,v),this.#Z}get body(){return b.brandCheck(this,v),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return b.brandCheck(this,v),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(b.brandCheck(this,v),g(this.#eS))throw b.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&u.register(this,new WeakRef(this.#eS.body.stream)),G(e,a(this.#Z))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${p.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#Z}static setResponseHeaders(e,t){e.#Z=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:k,setResponseHeaders:M,getResponseState:F,setResponseState:U}=v;function T(e){if(e.internalResponse)return H(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new n(e?.headersList):new n,urlList:e?.urlList?[...e.urlList]:[]}}function O(e){return L({type:"error",status:0,error:I(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function P(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,i)=>(w(!(r in t)),e[r]=i,!0)})}function H(e,t){return"basic"===t?P(e,{type:"basic",headersList:e.headersList}):"cors"===t?P(e,{type:"cors",headersList:e.headersList}):"opaque"===t?P(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?P(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!f(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(F(e).status=t.status),"statusText"in t&&null!=t.statusText&&(F(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&s(k(e),t.headers),r){if(Q.includes(e.status))throw b.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});F(e).body=r.body,null==r.type||F(e).headersList.contains("content-type",!0)||F(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new v(S);U(r,e);let n=new i(S);return M(r,n),A(n,e.headersList),o(n,t),0!==e.urlList.length&&e.body?.stream&&u.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(v,"getResponseHeaders"),Reflect.deleteProperty(v,"setResponseHeaders"),Reflect.deleteProperty(v,"getResponseState"),Reflect.deleteProperty(v,"setResponseState"),d(v,F),Object.defineProperties(v.prototype,{type:m,url:m,status:m,ok:m,redirected:m,statusText:m,headers:m,clone:m,body:m,bodyUsed:m,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(v,{json:m,redirect:m,error:m}),b.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?b.converters.USVString(e,t,r):b.is.Blob(e)||b.is.BufferSource(e)||b.is.FormData(e)||b.is.URLSearchParams(e)?e:b.converters.DOMString(e,t,r)},b.converters.BodyInit=function(e,t,r){return b.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:b.converters.XMLHttpRequestBodyInit(e,t,r)},b.converters.ResponseInit=b.dictionaryConverter([{key:"status",converter:b.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:b.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:b.converters.HeadersInit}]),b.is.Response=b.util.MakeTypeAssertion(v),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:O,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(C(e)),y(e)?O(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):O(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:H,Response:v,cloneResponse:T,fromInnerResponse:G,getResponseState:F}},638(e,t,r){let{Transform:i}=r(7075),n=r(8522),{redirectStatusSet:s,referrerPolicyTokens:a,badPortsSet:o}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:u,isValidHTTPToken:g,normalizedMethodRecordsBase:h}=r(1210),p=r(4589),{isUint8Array:m}=r(3429),{webidl:f}=r(849),{isomorphicEncode:C,collectASequenceOfCodePoints:y,removeChars:I}=r(5358);function E(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function B(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function b(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function N(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(p(f.is.URL(e)),U(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),x=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function D(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),x(e)):w(e)}function R(e){var t;return!!f.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||D(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function v(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let k=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function M(e,t,r=0,i=1){class n{#ta;#to;#tA;constructor(e,t){this.#ta=e,this.#to=t,this.#tA=0}next(){let n;if("object"!=typeof this||this===null||!(#ta in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let s=this.#tA,a=t(this.#ta);if(s>=a.length)return{value:void 0,done:!0};let{[r]:o,[i]:A}=a[s];switch(this.#tA=s+1,this.#to){case"key":n=o;break;case"value":n=A;break;case"key+value":n=[o,A]}return{value:n,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,k),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new n(e,t)}}async function F(e,t,r){try{let i=[],n=0;for(;;){let{done:s,value:a}=await e.read();if(s)return void t(Buffer.concat(i,n));if(!m(a))return void r(TypeError("Received non-Uint8Array chunk"));i.push(a),n+=a.length}}catch(e){r(e)}}function U(e){p("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){p("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class O extends i{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?n.createInflate(this.#tl):n.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function P(e,t){let r=t.get(e,!0);if(null===r)return null;let i={position:0},n=[],s="";for(;i.position<r.length;){if(s+=y(e=>'"'!==e&&","!==e,r,i),i.position<r.length)if(34===r.charCodeAt(i.position)){if(s+=l(r,i),i.position<r.length)continue}else p(44===r.charCodeAt(i.position)),i.position++;s=I(s,!0,!0,e=>9===e||32===e),n.push(s),s=""}return n}class H{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=N()}class Y{settingsObject=new H}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:B,ReadableStreamFrom:u,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;p(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else f.is.URL(e.referrer)&&(r=e.referrer);let i=S(r),n=S(r,!0);switch(i.toString().length>4096&&(i=n),t){case"no-referrer":return"no-referrer";case"origin":if(null!=n)return n;return S(r,!0);case"unsafe-url":return i;case"strict-origin":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return n}case"strict-origin-when-cross-origin":{let t=Q(e);if(v(i,t))return i;if(R(i)&&!R(t))return"no-referrer";return n}case"same-origin":if(v(e,i))return i;return"no-referrer";case"origin-when-cross-origin":if(v(e,i))return i;return n;case"no-referrer-when-downgrade":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return i}}},makePolicyContainer:N,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":v(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let i=t[e-1].trim();if(a.has(i)){r=i;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:g,requestBadPort:function(e){let t=Q(e);return L(t)&&o.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:E,responseLocationURL:function(e,t){var r;if(!s.has(e.status))return null;let i=e.headersList.get("location",!0);return null!==i&&b(i)&&(B(i)||(r=i,i=Buffer.from(r,"binary").toString("utf8")),i=new URL(i,E(e))),i&&!i.hash&&(i.hash=t),i},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:v,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,i=0,n=1){let s=M(e,r,i,n),a={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return f.brandCheck(this,t),s(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return f.brandCheck(this,t),s(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return f.brandCheck(this,t),s(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,i=globalThis){if(f.brandCheck(this,t),f.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of s(this,"key+value"))r.call(i,t,e,this)}}};return Object.defineProperties(t.prototype,{...a,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:a.entries.value}})},createIterator:M,isValidHeaderName:g,isValidHeaderValue:b,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let i=e.stream.getReader();F(i,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:U,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:F,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&y(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&y(e=>" "===e||" "===e,e,r);let i=y(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),n=i.length?Number(i):null;if(t&&y(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&y(e=>" "===e||" "===e,e,r);let s=y(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),a=s.length?Number(s):null;return r.position<e.length||null===a&&null===n||null!==n&&null!==a&&n>a?"failure":{rangeStartValue:n,rangeEndValue:a}},buildContentRange:function(e,t,r){let i="bytes ";return i+=C(`${e}`),i+="-",i+=C(`${t}`),i+="/",i+=C(`${r}`)},createInflate:function(e){return new O(e)},extractMimeType:function(e){let t=null,r=null,i=null,n=P("content-type",e);if(null===n)return"failure";for(let e of n){let n=c(e);"failure"!==n&&"*/*"!==n.essence&&((i=n).essence!==r?(t=null,i.parameters.has("charset")&&(t=i.parameters.get("charset")),r=i.essence):i.parameters.has("charset")||null===t||i.parameters.set("charset",t))}return null==i?"failure":i},getDecodeSplit:P,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:D,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let i=r(4589),{utf8DecodeBytes:n}=r(2718),s=/[\u0009\u000A\u000C\u000D\u0020]/g;function a(e){return 9===e||10===e||12===e||13===e||32===e}let o=/[^\x00-\xFF]/;function A(e,t,r,i){let n=0,s=e.length-1;if(t)for(;n<e.length&&i(e.charCodeAt(n));)n++;if(r)for(;s>0&&i(e.charCodeAt(s));)s--;return 0===n&&s===e.length-1?e:e.slice(n,s+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let i="";for(;r.position<t.length&&e(t[r.position]);)i+=t[r.position],r.position++;return i},collectASequenceOfCodePointsFast:function(e,t,r){let i=t.indexOf(e,r.position),n=r.position;return -1===i?(r.position=t.length,t.slice(n)):(r.position=i,t.slice(n,r.position))},forgivingBase64:function(e){let t=(e=e.replace(s,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:a,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",i=0,n=65535;for(;i<t;)i+n>t&&(n=t-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+=n));return r},isomorphicEncode:function(e){return i(!o.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(n(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,a)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return i("string"==typeof t),t}}},2300(e,t,r){let i,n=r(4589),{runtimeFeatures:s}=r(6979),a=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(s.has("crypto")){let e=(i=r(7598)).getHashes();for(let t of(0===e.length&&a.clear(),a.keys()))!1===e.includes(t)&&a.delete(t)}else a.clear();let o=Map.prototype.get.bind(a),A=Map.prototype.has.bind(a),l=!1===s.has("crypto")||0===a.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,i=t.val;if(g(u(r,e),i))return!0}return!1};function c(e){let t=[],r=null;for(let i of e){if(n(A(i.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(i),r=i;continue}let e=o(r.alg),s=o(i.alg);s<e||(s>e?(r=i,t[0]=i,t.length=1):t.push(i))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],i="",n=[e.slice(0,6),e.slice(7)],s=n[0];if(!A(s))continue;n[1]&&(i=n[1]);let a={alg:s,val:i};t.push(a)}return t}let u=(e,t)=>i.hash(e,t,"base64");function g(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let i=t.length;if(0!==i&&"="===t[i-1]&&(i-=1),0!==i&&"="===t[i-1]&&(i-=1),r!==i)return!1;for(let i=0;i<r;++i)if(e[i]!==t[i]&&("+"!==e[i]||"-"!==t[i])&&("/"!==e[i]||"_"!==t[i]))return!1;return!0}e.exports={applyAlgorithmToBytes:u,bytesMatch:l,caseSensitiveMatch:g,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let i=r(4589),{types:n,inspect:s}=r(7975),{markAsUncloneable:a}=r(5919),o=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!o(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>o(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=a,A.util.ConvertToInt=function(e,t,r,i){let n,s;64===t?(n=0x1fffffffffffff,s="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(s=0,n=Math.pow(2,t)-1):(s=-Math.pow(2,t-1),n=Math.pow(2,t-1)-1);let a=Number(e);if(0===a&&(a=0),A.util.HasFlag(i,A.attributes.EnforceRange)){if(Number.isNaN(a)||a===1/0||a===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((a=A.util.IntegerPart(a))<s||a>n)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${n}, got ${a}.`});return a}return!Number.isNaN(a)&&A.util.HasFlag(i,A.attributes.Clamp)?a=Math.floor(a=Math.min(Math.max(a,s),n))%2==0?Math.floor(a):Math.ceil(a):Number.isNaN(a)||0===a&&Object.is(0,a)||a===1/0||a===-1/0?0:(a=A.util.IntegerPart(a)%Math.pow(2,t),"signed"===r&&a>=Math.pow(2,t-1))?a-Math.pow(2,t):a},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return s(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(n.isArrayBuffer(e))return e.resizable;if(n.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,i,n)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${i} (${A.util.Stringify(t)}) is not iterable.`});let s="function"==typeof n?n():t?.[Symbol.iterator]?.(),a=[],o=0;if(void 0===s||"function"!=typeof s.next)throw A.errors.exception({header:r,message:`${i} is not iterable.`});for(;;){let{done:t,value:n}=s.next();if(t)break;a.push(e(n,r,`${i}[${o++}]`))}return a}},A.recordConverter=function(e,t){return(r,i,s)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:i,message:`${s} ("${A.util.TypeValueToString(r)}") is not an Object.`});let a={};if(!n.isProxy(r)){for(let n of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let o=A.util.Stringify(n),l=e(n,i,`Key ${o} in ${s}`),c=t(r[n],i,`${s}[${o}]`);a[l]=c}return a}for(let n of Reflect.ownKeys(r)){let o=Reflect.getOwnPropertyDescriptor(r,n);if(o?.enumerable){let o=e(n,i,s),A=t(r[n],i,s);a[o]=A}}return a}},A.interfaceConverter=function(e,t){return(r,i,n)=>{if(!e(r))throw A.errors.exception({header:i,message:`Expected ${n} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,i)=>{let n={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let s of e){let{key:e,defaultValue:a,required:o,converter:l}=s;if(!0===o&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==a;if(d&&void 0===c&&(c=a()),o||d||void 0!==c){if(c=l(c,r,`${i}.${e}`),s.allowedValues&&!s.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});n[e]=c}}return n}},A.nullableConverter=function(e){return(t,r,i)=>null===t?t:e(t,r,i)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return n.isArrayBuffer(e)||ArrayBuffer.isView(e)&&n.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,s=0;if(n.isTypedArray(e)||n.isDataView(e)?(t=e.buffer,r=e.byteOffset):i(n.isAnyArrayBuffer(e)),s=e.byteLength,t.detached)return new Uint8Array(0);let a=new Uint8Array(s),o=new Uint8Array(t,r,s);return a.set(o),a},A.converters.DOMString=function(e,t,r,i){if(null===e&&A.util.HasFlag(i,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let i=String(e);for(let e=0;e<i.length;e++)if(i.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${i.charCodeAt(e)} which is greater than 255.`);return i},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,i){return A.util.ConvertToInt(e,16,"unsigned",i,t,r)},A.converters.ArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,i,s){if(8!==A.util.Type(e)||!n.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${i} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(s,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(s,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,i){if(n.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(n.isArrayBufferView(e))return i&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);if(n.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,i){if(n.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(n.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,i);if(n.isArrayBufferView(e))return i|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:i,states:n,sentCloseFrameState:s,emptyBuffer:a,opcodes:o}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:u,validateCloseCodeAndReason:g}=r(3927),{makeRequest:h}=r(9553),{fetching:p}=r(7564),{Headers:m,getHeadersList:f}=r(3470),{getDecodeSplit:C}=r(638),{WebsocketFrameSend:y}=r(4018),I=r(4589),{runtimeFeatures:E}=r(6979),B=E.has("crypto")?r(7598):null,Q=!1;function b(e,t,r,i=!1){if(t??=null,r??="",i&&g(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(s.SENT)||e.closeState.has(s.RECEIVED))e.readyState=n.CLOSING;else{let i=new y;0!==r.length&&null===t&&(t=1e3),I(null===t||Number.isInteger(t)),null===t&&0===r.length?i.frameData=a:null!==t&&null===r?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(i.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=a,e.socket.write(i.createFrame(o.CLOSE)),e.closeState.add(s.SENT),e.readyState=n.CLOSING}else N(e),e.readyState=n.CLOSING}function N(e,t,r,i){d(e.readyState)&&b(e,t,r,!1),e.controller.abort(),u(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,n,s){e.protocol="ws:"===e.protocol?"http:":"https:";let a=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});s.headers&&(a.headersList=f(new m(s.headers)));let o=B.randomBytes(16).toString("base64");for(let e of(a.headersList.append("sec-websocket-key",o,!0),a.headersList.append("sec-websocket-version","13",!0),t))a.headersList.append("sec-websocket-protocol",e,!0);return a.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),p({request:a,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void N(n,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void N(n,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void N(n,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void N(n,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void N(n,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==B.hash("sha1",o+i,"base64"))return void N(n,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let s=e.headersList.get("Sec-WebSocket-Extensions");if(null!==s&&!(r=A(s)).has("permessage-deflate"))return void N(n,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||C("sec-websocket-protocol",a.headersList).includes(l)?(e.socket.on("data",n.onSocketData),e.socket.on("close",n.onSocketClose),e.socket.on("error",n.onSocketError),n.wasEverConnected=!0,n.onConnectionEstablished(e,r)):N(n,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:N,closeWebSocketConnection:b}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:i}=r(849),{kEnumerableProperty:n}=r(1210),{kConstruct:s}=r(3025);class a extends Event{#tc;constructor(e,t={}){if(e===s){super(arguments[1],arguments[2]),i.util.markAsUncloneable(this);return}let r="MessageEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,i.util.markAsUncloneable(this)}get data(){return i.brandCheck(this,a),this.#tc.data}get origin(){return i.brandCheck(this,a),this.#tc.origin}get lastEventId(){return i.brandCheck(this,a),this.#tc.lastEventId}get source(){return i.brandCheck(this,a),this.#tc.source}get ports(){return i.brandCheck(this,a),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,n=null,s="",o="",A=null,l=[]){return i.brandCheck(this,a),i.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new a(e,{bubbles:t,cancelable:r,data:n,origin:s,lastEventId:o,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new a(s,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:o}=a;delete a.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.CloseEventInit(t)),this.#tc=t,i.util.markAsUncloneable(this)}get wasClean(){return i.brandCheck(this,A),this.#tc.wasClean}get code(){return i.brandCheck(this,A),this.#tc.code}get reason(){return i.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e,t),i.util.markAsUncloneable(this),e=i.converters.DOMString(e,r,"type"),t=i.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return i.brandCheck(this,l),this.#tc.message}get filename(){return i.brandCheck(this,l),this.#tc.filename}get lineno(){return i.brandCheck(this,l),this.#tc.lineno}get colno(){return i.brandCheck(this,l),this.#tc.colno}get error(){return i.brandCheck(this,l),this.#tc.error}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:n,code:n,wasClean:n}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:n,filename:n,lineno:n,colno:n,error:n}),i.converters.MessagePort=i.interfaceConverter(i.is.MessagePort,"MessagePort"),i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);let c=[{key:"bubbles",converter:i.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:i.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:i.converters.boolean,defaultValue:()=>!1}];i.converters.MessageEventInit=i.dictionaryConverter([...c,{key:"data",converter:i.converters.any,defaultValue:()=>null},{key:"origin",converter:i.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:()=>""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:i.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),i.converters.CloseEventInit=i.dictionaryConverter([...c,{key:"wasClean",converter:i.converters.boolean,defaultValue:()=>!1},{key:"code",converter:i.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:i.converters.USVString,defaultValue:()=>""}]),i.converters.ErrorEventInit=i.dictionaryConverter([...c,{key:"message",converter:i.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:i.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:i.converters.any}]),e.exports={MessageEvent:a,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:o}},4018(e,t,r){let{runtimeFeatures:i}=r(6979),{maxUnsigned16Bit:n,opcodes:s}=r(7946),a=null,o=8192,A=i.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===o&&(o=0,A(a??=Buffer.allocUnsafeSlow(8192),0,8192)),[a[o++],a[o++],a[o++],a[o++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),i=t?.byteLength??0,s=i,a=6;i>n?(a+=8,s=127):i>125&&(a+=2,s=126);let o=Buffer.allocUnsafe(i+a);o[0]=o[1]=0,o[0]|=128,o[0]=(240&o[0])+e,o[a-4]=r[0],o[a-3]=r[1],o[a-2]=r[2],o[a-1]=r[3],o[1]=s,126===s?o.writeUInt16BE(i,2):127===s&&(o[2]=o[3]=0,o.writeUIntBE(i,4,6)),o[1]|=128;for(let e=0;e<i;++e)o[a+e]=t[e]^r[3&e];return o}static createFastTextFrame(e){let t=l(),r=e.length;for(let i=0;i<r;++i)e[i]^=t[3&i];let i=r,a=6;r>n?(a+=8,i=127):r>125&&(a+=2,i=126);let o=Buffer.allocUnsafeSlow(a);return o[0]=128|s.TEXT,o[1]=128|i,o[a-4]=t[0],o[a-3]=t[1],o[a-2]=t[2],o[a-1]=t[3],126===i?o.writeUInt16BE(r,2):127===i&&(o[2]=o[3]=0,o.writeUIntBE(r,4,6)),[o,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:n}=r(8522),{isValidClientWindowBits:s}=r(3927),{MessageSizeExceededError:a}=r(8065),o=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tu=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tu=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=n;if(this.#T.serverMaxWindowBits){if(!s(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=i({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tu>0&&this.#td[l]>this.#tu){r(new a),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(o),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:i}=r(7075),n=r(4589),{parserStates:s,opcodes:a,states:o,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:u,utf8Decode:g,isControlFrame:h,isTextBinaryFrame:p,isContinuationFrame:m}=r(3927),{failWebsocketConnection:f}=r(5563),{WebsocketFrameSend:C}=r(4018),{PerMessageDeflate:y}=r(959),{MessageSizeExceededError:I}=r(8065);class E extends i{#tg=[];#th=0;#tp=0;#tm=!1;#eS=s.INFO;#tf={};#tC=[];#ty;#B;#tI;#tu;constructor(e,t,r={}){super(),this.#B=e,this.#ty=null==t?new Map:t,this.#tI=r.maxFragments??0,this.#tu=r.maxPayloadSize??0,this.#ty.has("permessage-deflate")&&this.#ty.set("permessage-deflate",new y(t,r))}_write(e,t,r){this.#tg.push(e),this.#tp+=e.length,this.#tm=!0,this.run(r)}#tE(){return!(this.#tu>0)||!!h(this.#tf.opcode)||!(this.#tf.payloadLength+this.#th>this.#tu)||(f(this.#B,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tm;)if(this.#eS===s.INFO){if(this.#tp<2)return e();let t=this.consume(2),r=(128&t[0])!=0,i=15&t[0],n=(128&t[1])==128,o=!r&&i!==a.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],u=16&t[0];if(!d(i))return f(this.#B,1002,"Invalid opcode received"),e();if(n)return f(this.#B,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#ty.has("permessage-deflate"))return void f(this.#B,1002,"Expected RSV1 to be clear.");if(0!==c||0!==u)return void f(this.#B,1002,"RSV1, RSV2, RSV3 must be clear");if(o&&!p(i))return void f(this.#B,1002,"Invalid frame type was fragmented.");if(p(i)&&this.#tC.length>0)return void f(this.#B,1002,"Expected continuation frame");if(this.#tf.fragmented&&o)return void f(this.#B,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||o)&&h(i))return void f(this.#B,1002,"Control frame either too large or fragmented");if(m(i)&&0===this.#tC.length&&!this.#tf.compressed)return void f(this.#B,1002,"Unexpected continuation frame");if(A<=125){if(this.#tf.payloadLength=A,this.#eS=s.READ_DATA,!this.#tE())return}else 126===A?this.#eS=s.PAYLOADLENGTH_16:127===A&&(this.#eS=s.PAYLOADLENGTH_64);p(i)&&(this.#tf.binaryType=i,this.#tf.compressed=0!==l),this.#tf.opcode=i,this.#tf.masked=n,this.#tf.fin=r,this.#tf.fragmented=o}else if(this.#eS===s.PAYLOADLENGTH_16){if(this.#tp<2)return e();let t=this.consume(2);if(this.#tf.payloadLength=t.readUInt16BE(0),this.#eS=s.READ_DATA,!this.#tE())return}else if(this.#eS===s.PAYLOADLENGTH_64){if(this.#tp<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),i=t.readUInt32BE(4);if(0!==r||i>0x80000000-1)return void f(this.#B,1009,"Received payload length > 2^31 bytes.");if(this.#tf.payloadLength=i,this.#eS=s.READ_DATA,!this.#tE())return}else if(this.#eS===s.READ_DATA){if(this.#tp<this.#tf.payloadLength)return e();let t=this.consume(this.#tf.payloadLength);if(h(this.#tf.opcode))this.#tm=this.parseControlFrame(t),this.#eS=s.INFO;else if(this.#tf.compressed){this.#ty.get("permessage-deflate").decompress(t,this.#tf.fin,(t,r)=>{if(t){let e=t instanceof I?1009:1007;f(this.#B,e,t.message);return}if(this.writeFragments(r)){if(this.#tu>0&&this.#th>this.#tu)return void f(this.#B,1009,new I().message);if(!this.#tf.fin){this.#eS=s.INFO,this.#tm=!0,this.run(e);return}u(this.#B,this.#tf.binaryType,this.consumeFragments()),this.#tm=!0,this.#eS=s.INFO,this.run(e)}},this.#th),this.#tm=!1;break}else{if(!this.writeFragments(t))return;!this.#tf.fragmented&&this.#tf.fin&&u(this.#B,this.#tf.binaryType,this.consumeFragments()),this.#eS=s.INFO}}}consume(e){if(e>this.#tp)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tp-=e;let t=this.#tg[0];if(t.length>e)return this.#tg[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tg.shift();let r=0,i=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tg[0],n=t.length;if(n+r===e){i.set(this.#tg.shift(),r);break}if(n+r>e){i.set(t.subarray(0,e-r),r),this.#tg[0]=t.subarray(e-r);break}i.set(this.#tg.shift(),r),r+=n}return i}}writeFragments(e){return this.#tI>0&&this.#tC.length===this.#tI?(f(this.#B,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tC.push(e),!0)}consumeFragments(){let e=this.#tC;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let i=0;i<e.length;++i){let n=e[i];r.set(n,t),t+=n.length}return this.#tC=[],this.#th=0,r}parseCloseBody(e){let t;if(n(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=g(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tf;if(t===a.CLOSE){if(1===r)return f(this.#B,1002,"Received close frame with a 1-byte body."),!1;if(this.#tf.closeInfo=this.parseCloseBody(e),this.#tf.closeInfo.error){let{code:e,reason:t}=this.#tf.closeInfo;return f(this.#B,e,t),!1}if(!this.#B.closeState.has(l.SENT)&&!this.#B.closeState.has(l.RECEIVED)){let e=A;this.#tf.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tf.closeInfo.code,0);let t=new C(e);this.#B.socket.write(t.createFrame(a.CLOSE)),this.#B.closeState.add(l.SENT)}return this.#B.readyState=o.CLOSING,this.#B.closeState.add(l.RECEIVED),!1}if(t===a.PING){if(!this.#B.closeState.has(l.RECEIVED)){let t=new C(e);this.#B.socket.write(t.createFrame(a.PONG)),this.#B.onPing(e)}}else t===a.PONG&&this.#B.onPong(e);return!0}get closingInfo(){return this.#tf.closeInfo}}e.exports={ByteParser:E}},2726(e,t,r){let{WebsocketFrameSend:i}=r(4018),{opcodes:n,sendHints:s}=r(7946),a=r(9006);class o{#tB=new a;#tQ=!1;#tb;constructor(e){this.#tb=e}add(e,t,r){if(r!==s.blob){if(this.#tQ){let i={promise:null,callback:t,frame:A(e,r)};this.#tB.push(i)}else if(r===s.text){let{0:r,1:n}=i.createFastTextFrame(e);this.#tb.cork(),this.#tb.write(r),this.#tb.write(n,t),this.#tb.uncork()}else this.#tb.write(A(e,r),t);return}let n={promise:e.arrayBuffer().then(e=>{n.promise=null,n.frame=A(e,r)}),callback:t,frame:null};this.#tB.push(n),this.#tQ||this.#tN()}async #tN(){this.#tQ=!0;let e=this.#tB;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tb.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new i(function(e,t){switch(t){case s.text:case s.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case s.arrayBuffer:case s.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===s.text?n.TEXT:n.BINARY)}e.exports={SendQueue:o}},7245(e,t,r){let{webidl:i}=r(849),{validateCloseCodeAndReason:n}=r(3927),{kConstruct:s}=r(3025),{kEnumerableProperty:a}=r(1210);function o(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let i=Reflect.construct(e,t,e);return Object.setPrototypeOf(i,r.prototype),i}})}class A extends o(){#tS;#y;constructor(e="",t){if(super(e=i.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===s)return;null!==t&&(t=i.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,a=t.reason??"";n(r,a),0!==a.length&&null===r&&(r=1e3),this.#tS=r,this.#y=a}get closeCode(){return this.#tS}get reason(){return this.#y}static createUnvalidatedWebSocketError(e,t,r){let i=new A(e,s);return i.#tS=t,i.#y=r,i}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:a,reason:a,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),i.is.WebSocketError=i.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:i}=r(8474),{environmentSettingsObject:n,readableStreamClose:s}=r(638),{states:a,opcodes:o,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:u,utf8Decode:g}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:p,closeWebSocketConnection:m}=r(5563),{channels:f}=r(6708),{WebsocketFrameSend:C}=r(4018),{ByteParser:y}=r(5346),{WebSocketError:I,createUnvalidatedWebSocketError:E}=r(7245),{kEnumerableProperty:B}=r(1210),{utf8DecodeBytes:Q}=r(2718),b=!1;class N{#e4;#tw;#tx;#tD;#tR;#tv;#tk=!1;#B={onConnectionEstablished:(e,t)=>this.#tM(e,t),onMessage:(e,t)=>this.#tF(e,t),onParserError:e=>p(this.#B,null,e.message),onParserDrain:()=>this.#B.socket.resume(),onSocketData:e=>{this.#tU.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=a.CLOSING,f.socketError.hasSubscribers&&f.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:a.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tU;constructor(e,t){b||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),b=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,n.settingsObject.baseUrl),s=t.protocols;if(s.length!==new Set(s.map(e=>e.toLowerCase())).size||s.length>0&&!s.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e4=r.toString(),this.#tw=Promise.withResolvers(),this.#tx=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tx.reject(e.reason);return}i(e,()=>{u(this.#B.readyState)||(p(this.#B),this.#B.readyState=a.CLOSING,this.#tw.reject(e.reason),this.#tx.reject(e.reason),this.#tk=!0)})}let o=n.settingsObject;this.#B.controller=h(r,s,o,this.#B,t)}get url(){return this.#e4.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tx.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;m(this.#B,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,i=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),i=o.BINARY;else{let n;try{n=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(n),i=o.TEXT}if(!this.#B.closeState.has(A.SENT)&&!this.#B.closeState.has(A.RECEIVED)){let e=new C(r);this.#B.socket.write(e.createFrame(i),()=>{t.resolve(void 0)})}return t.promise}#tM(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,n=new y(this.#B,t,{maxFragments:r,maxPayloadSize:i});n.on("drain",()=>this.#B.onParserDrain()),n.on("error",e=>this.#B.onParserError(e)),this.#tU=n,this.#B.readyState=a.OPEN;let s=t??"",o=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tO(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>m(this.#B,null,null),abort:e=>this.#tP(e)});this.#tD=A,this.#tv=l,this.#tw.resolve({extensions:s,protocol:o,readable:A,writable:l})}#tF(e,t){let r;if(this.#B.readyState===a.OPEN){if(e===o.TEXT)try{r=g(t)}catch{p(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===o.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#B.closeState.has(A.SENT)&&this.#B.closeState.has(A.RECEIVED);if(this.#B.readyState=a.CLOSED,this.#tk)return;this.#B.wasEverConnected||this.#tw.reject(new I("Socket never opened"));let t=this.#tU?.closingInfo,r=t?.code??1005;this.#B.closeState.has(A.SENT)||this.#B.closeState.has(A.RECEIVED)||(r=1006);let i=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)s(this.#tR),this.#tv.locked||this.#tv.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tx.resolve({closeCode:r,reason:i});else{let e=E("unclean close",r,i);this.#tR?.error(e),this.#tv?.abort(e),this.#tx.reject(e)}}#tP(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),m(this.#B,t,r)}#tO(e){this.#tP(e)}}Object.defineProperties(N.prototype,{url:B,opened:B,closed:B,close:B,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:N}},3927(e,t,r){let{states:i,opcodes:n}=r(7946),{isUtf8:s}=r(4573),{removeHTTPWhitespace:a}=r(3518),{collectASequenceOfCodePointsFast:o}=r(5358);function A(e){return e===n.CLOSE||e===n.PING||e===n.PONG}function l(e){return e===n.CONTINUATION}function c(e){return e===n.TEXT||e===n.BINARY}e.exports={isConnecting:function(e){return e===i.CONNECTING},isEstablished:function(e){return e===i.OPEN},isClosing:function(e){return e===i.CLOSING},isClosed:function(e){return e===i.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),i={}){let n=r(e,i);t.dispatchEvent(n)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(s(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[i,n=""]=o(";",e,t).split("=",2);r.set(a(i,!0,!1),a(n,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:i}=r(3429),{webidl:n}=r(849),{URLSerializer:s}=r(3518),{environmentSettingsObject:a}=r(638),{staticPropertyDescriptors:o,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:u,isEstablished:g,isClosing:h,isClosed:p,isValidSubprotocol:m,fireEvent:f,utf8Decode:C,toArrayBuffer:y,getURLRecord:I}=r(3927),{establishWebSocketConnection:E,closeWebSocketConnection:B,failWebsocketConnection:Q}=r(5563),{ByteParser:b}=r(5346),{kEnumerableProperty:N}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:x,createFastMessageEvent:D}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:v}=r(4018),{channels:k}=r(6708);class M extends EventTarget{#e5={open:null,error:null,close:null,message:null};#tH=0;#tY="";#ty="";#tG;#B={onConnectionEstablished:(e,t)=>this.#tM(e,t),onMessage:(e,t)=>this.#tF(e,t),onParserError:e=>Q(this.#B,null,e.message),onParserDrain:()=>this.#tq(),onSocketData:e=>{this.#tU.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=A.CLOSING,k.socketError.hasSubscribers&&k.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{k.ping.hasSubscribers&&k.ping.publish({payload:e,websocket:this})},onPong:e=>{k.pong.hasSubscribers&&k.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e4;#tz;#tU;constructor(e,t=[]){super(),n.util.markAsUncloneable(this);let r="WebSocket constructor";n.argumentLengthCheck(arguments,1,r);let i=n.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=n.converters.USVString(e),t=i.protocols;let s=I(e,a.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>m(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e4=new URL(s.href);let o=a.settingsObject;this.#B.controller=E(s,t,o,this.#B,i),this.#B.readyState=M.CONNECTING,this.#tz="blob"}close(e,t){n.brandCheck(this,M),void 0!==e&&(e=n.converters["unsigned short"](e,"WebSocket.close","code",n.attributes.Clamp)),void 0!==t&&(t=n.converters.USVString(t)),e??=null,t??="",B(this.#B,e,t,!0)}send(e){n.brandCheck(this,M);let t="WebSocket.send";if(n.argumentLengthCheck(arguments,1,t),e=n.converters.WebSocketSendData(e,t,"data"),u(this.#B.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!g(this.#B.readyState)||h(this.#B.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tH+=t.byteLength,this.#tG.add(t,()=>{this.#tH-=t.byteLength},c.text)}else i(e)?(this.#tH+=e.byteLength,this.#tG.add(e,()=>{this.#tH-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tH+=e.byteLength,this.#tG.add(e,()=>{this.#tH-=e.byteLength},c.typedArray)):n.is.Blob(e)&&(this.#tH+=e.size,this.#tG.add(e,()=>{this.#tH-=e.size},c.blob))}get readyState(){return n.brandCheck(this,M),this.#B.readyState}get bufferedAmount(){return n.brandCheck(this,M),this.#tH}get url(){return n.brandCheck(this,M),s(this.#e4)}get extensions(){return n.brandCheck(this,M),this.#ty}get protocol(){return n.brandCheck(this,M),this.#tY}get onopen(){return n.brandCheck(this,M),this.#e5.open}set onopen(e){n.brandCheck(this,M),this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onerror(){return n.brandCheck(this,M),this.#e5.error}set onerror(e){n.brandCheck(this,M),this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}get onclose(){return n.brandCheck(this,M),this.#e5.close}set onclose(e){n.brandCheck(this,M),this.#e5.close&&this.removeEventListener("close",this.#e5.close);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e5.close=e):this.#e5.close=null}get onmessage(){return n.brandCheck(this,M),this.#e5.message}set onmessage(e){n.brandCheck(this,M),this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get binaryType(){return n.brandCheck(this,M),this.#tz}set binaryType(e){n.brandCheck(this,M),"blob"!==e&&"arraybuffer"!==e?this.#tz="blob":this.#tz=e}#tM(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,n=new b(this.#B,t,{maxFragments:r,maxPayloadSize:i});n.on("drain",()=>this.#B.onParserDrain()),n.on("error",e=>this.#B.onParserError(e)),this.#tU=n,this.#tG=new R(e.socket),this.#B.readyState=A.OPEN;let s=e.headersList.get("sec-websocket-extensions");null!==s&&(this.#ty=s);let a=e.headersList.get("sec-websocket-protocol");if(null!==a&&(this.#tY=a),f("open",this),k.open.hasSubscribers){var o;let t=e.headersList.entries;k.open.publish({address:(o=e.socket,"function"==typeof o?.address?o.address():"function"==typeof o?.session?.socket?.address?o.session.socket.address():null),protocol:this.#tY,extensions:this.#ty,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tF(e,t){let r;if(this.#B.readyState===A.OPEN){if(e===d.TEXT)try{r=C(t)}catch{Q(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tz?new Blob([t]):y(t));f("message",this,D,{origin:this.#e4.origin,data:r})}}#tq(){this.#B.socket.resume()}#tT(){let e=this.#B.closeState.has(l.SENT)&&this.#B.closeState.has(l.RECEIVED),t=1005,r="",i=this.#tU?.closingInfo;i&&!i.error&&(t=i.code??1005,r=i.reason),this.#B.readyState=A.CLOSED,this.#B.closeState.has(l.RECEIVED)||(t=1006,f("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),f("close",this,(e,t)=>new x(e,t),{wasClean:e,code:t,reason:r}),k.close.hasSubscribers&&k.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#B.readyState;if(g(r)&&!h(r)&&!p(r)){let r=new v(t);e.#B.socket.write(r.createFrame(d.PING))}}}let{ping:F}=M;Reflect.deleteProperty(M,"ping"),M.CONNECTING=M.prototype.CONNECTING=A.CONNECTING,M.OPEN=M.prototype.OPEN=A.OPEN,M.CLOSING=M.prototype.CLOSING=A.CLOSING,M.CLOSED=M.prototype.CLOSED=A.CLOSED,Object.defineProperties(M.prototype,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o,url:N,readyState:N,bufferedAmount:N,onopen:N,onerror:N,onclose:N,close:N,onmessage:N,binaryType:N,send:N,extensions:N,protocol:N,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(M,{CONNECTING:o,OPEN:o,CLOSING:o,CLOSED:o}),n.converters["sequence<DOMString>"]=n.sequenceConverter(n.converters.DOMString),n.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return n.util.Type(e)===n.util.Types.OBJECT&&Symbol.iterator in e?n.converters["sequence<DOMString>"](e):n.converters.DOMString(e,t,r)},n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:n.converters.any,defaultValue:()=>S()},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]),n.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return n.util.Type(e)!==n.util.Types.OBJECT||Symbol.iterator in e?{protocols:n.converters["DOMString or sequence<DOMString>"](e)}:n.converters.WebSocketInit(e)},n.converters.WebSocketSendData=function(e){return n.util.Type(e)===n.util.Types.OBJECT&&(n.is.Blob(e)||n.is.BufferSource(e))?e:n.converters.USVString(e)},e.exports={WebSocket:M,ping:F}},2613(e){e.exports=s("assert")},4434(e){e.exports=s("events")},8611(e){e.exports=s("http")},5692(e){e.exports=s("https")},9278(e){e.exports=s("net")},4589(e){e.exports=s("node:assert")},6698(e){e.exports=s("node:async_hooks")},4573(e){e.exports=s("node:buffer")},7540(e){e.exports=s("node:console")},7598(e){e.exports=s("node:crypto")},3053(e){e.exports=s("node:diagnostics_channel")},610(e){e.exports=s("node:dns")},8474(e){e.exports=s("node:events")},1455(e){e.exports=s("node:fs/promises")},7067(e){e.exports=s("node:http")},2467(e){e.exports=s("node:http2")},7030(e){e.exports=s("node:net")},6760(e){e.exports=s("node:path")},643(e){e.exports=s("node:perf_hooks")},1792(e){e.exports=s("node:querystring")},99(e){e.exports=s("node:sqlite")},7075(e){e.exports=s("node:stream")},7830(e){e.exports=s("node:stream/web")},7997(e){e.exports=s("node:timers")},1692(e){e.exports=s("node:tls")},3136(e){e.exports=s("node:url")},7975(e){e.exports=s("node:util")},3429(e){e.exports=s("node:util/types")},5919(e){e.exports=s("node:worker_threads")},8522(e){e.exports=s("node:zlib")},857(e){e.exports=s("os")},4756(e){e.exports=s("tls")},2018(e){e.exports=s("tty")},7016(e){e.exports=s("url")},9023(e){e.exports=s("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}}},o={};function A(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return a[e].call(r.exports,r,r.exports,A),r.exports}r=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,A.t=function(e,i){if(1&i&&(e=this(e)),8&i||"object"==typeof e&&e&&(4&i&&e.__esModule||16&i&&"function"==typeof e.then))return e;var n=Object.create(null);A.r(n);var s={};t=t||[null,r({}),r([]),r(r)];for(var a=2&i&&e;("object"==typeof a||"function"==typeof a)&&!~t.indexOf(a);a=r(a))Object.getOwnPropertyNames(a).forEach(t=>{s[t]=()=>e[t]});return s.default=()=>e,A.d(n,s),n},A.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)A.o(t,i)&&!A.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},A.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),A.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},A.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{let e,t,r,i,n,a,o,l,c,d,u,g,h,p,m,f,C,y,I,E,B,Q,b,N,S,w,x,D,R,v,k,M,F,U,T,L,O,P,H,Y,G,q,z,V,_,J,W,j,K,$,X,Z;var ee,et,er,ei,en,es,ea,eo,eA,el,ec,ed,eu,eg,eh,ep,em,ef,eC,ey,eI,eE,eB,eQ,eb,eN,eS,ew,ex,eD,eR,ev,ek,eM,eF,eU,eT,eL,eO,eP,eH,eY,eG,eq,ez,eV={};A.r(eV),A.d(eV,{Do:()=>i8,all:()=>iq,andThen:()=>iF,as:()=>iR,asVoid:()=>iv,bind:()=>i4,bindTo:()=>i3,composeK:()=>iP,contains:()=>i1,containsWith:()=>i0,exists:()=>i2,filter:()=>ij,filterMap:()=>iW,firstSomeOf:()=>iy,flatMap:()=>iM,flatMapNullishOr:()=>iU,flatten:()=>iT,fromIterable:()=>id,fromNullOr:()=>iB,fromNullishOr:()=>iI,fromUndefinedOr:()=>iE,gen:()=>i9,getFailure:()=>ig,getOrElse:()=>ih,getOrNull:()=>ib,getOrThrow:()=>ix,getOrThrowWith:()=>iw,getOrUndefined:()=>iN,getSuccess:()=>iu,isNone:()=>io,isOption:()=>ia,isSome:()=>iA,let:()=>i5,lift2:()=>iX,liftNullishOr:()=>iQ,liftPredicate:()=>iZ,liftThrowable:()=>iS,makeCombinerFailFast:()=>i7,makeEquivalence:()=>iK,makeOrder:()=>i$,makeReducer:()=>i6,makeReducerFailFast:()=>ne,map:()=>iD,match:()=>il,none:()=>ii,orElse:()=>ip,orElseResult:()=>iC,orElseSome:()=>im,partitionMap:()=>iJ,product:()=>iY,productMany:()=>iG,reduceCompact:()=>iV,some:()=>is,tap:()=>iH,toArray:()=>i_,toRefinement:()=>ic,void:()=>ik,zipLeft:()=>iO,zipRight:()=>iL,zipWith:()=>iz});var e_={};A.r(e_),A.d(e_,{AccessPolicy:()=>Nd,AppendBlobAppendBlockExceptionHeaders:()=>wS,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>wx,AppendBlobAppendBlockFromUrlHeaders:()=>ww,AppendBlobAppendBlockHeaders:()=>wN,AppendBlobCreateExceptionHeaders:()=>wb,AppendBlobCreateHeaders:()=>wQ,AppendBlobSealExceptionHeaders:()=>wR,AppendBlobSealHeaders:()=>wD,ArrowConfiguration:()=>Nv,ArrowField:()=>Nk,BlobAbortCopyFromURLExceptionHeaders:()=>S5,BlobAbortCopyFromURLHeaders:()=>S3,BlobAcquireLeaseExceptionHeaders:()=>SG,BlobAcquireLeaseHeaders:()=>SY,BlobBreakLeaseExceptionHeaders:()=>SK,BlobBreakLeaseHeaders:()=>Sj,BlobChangeLeaseExceptionHeaders:()=>SW,BlobChangeLeaseHeaders:()=>SJ,BlobCopyFromURLExceptionHeaders:()=>S2,BlobCopyFromURLHeaders:()=>S1,BlobCreateSnapshotExceptionHeaders:()=>SX,BlobCreateSnapshotHeaders:()=>S$,BlobDeleteExceptionHeaders:()=>SS,BlobDeleteHeaders:()=>SN,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>ST,BlobDeleteImmutabilityPolicyHeaders:()=>SU,BlobDownloadExceptionHeaders:()=>SB,BlobDownloadHeaders:()=>SE,BlobFlatListSegment:()=>Ng,BlobGetAccountInfoExceptionHeaders:()=>S6,BlobGetAccountInfoHeaders:()=>S9,BlobGetPropertiesExceptionHeaders:()=>Sb,BlobGetPropertiesHeaders:()=>SQ,BlobGetTagsExceptionHeaders:()=>wr,BlobGetTagsHeaders:()=>wt,BlobHierarchyListSegment:()=>NC,BlobItemInternal:()=>Nh,BlobName:()=>Np,BlobPrefix:()=>Ny,BlobPropertiesInternal:()=>Nm,BlobQueryExceptionHeaders:()=>we,BlobQueryHeaders:()=>S7,BlobReleaseLeaseExceptionHeaders:()=>Sz,BlobReleaseLeaseHeaders:()=>Sq,BlobRenewLeaseExceptionHeaders:()=>S_,BlobRenewLeaseHeaders:()=>SV,BlobServiceProperties:()=>b2,BlobServiceStatistics:()=>b7,BlobSetExpiryExceptionHeaders:()=>SR,BlobSetExpiryHeaders:()=>SD,BlobSetHttpHeadersExceptionHeaders:()=>Sk,BlobSetHttpHeadersHeaders:()=>Sv,BlobSetImmutabilityPolicyExceptionHeaders:()=>SF,BlobSetImmutabilityPolicyHeaders:()=>SM,BlobSetLegalHoldExceptionHeaders:()=>SO,BlobSetLegalHoldHeaders:()=>SL,BlobSetMetadataExceptionHeaders:()=>SH,BlobSetMetadataHeaders:()=>SP,BlobSetTagsExceptionHeaders:()=>wn,BlobSetTagsHeaders:()=>wi,BlobSetTierExceptionHeaders:()=>S8,BlobSetTierHeaders:()=>S4,BlobStartCopyFromURLExceptionHeaders:()=>S0,BlobStartCopyFromURLHeaders:()=>SZ,BlobTag:()=>Nl,BlobTags:()=>NA,BlobUndeleteExceptionHeaders:()=>Sx,BlobUndeleteHeaders:()=>Sw,Block:()=>NB,BlockBlobCommitBlockListExceptionHeaders:()=>wH,BlockBlobCommitBlockListHeaders:()=>wP,BlockBlobGetBlockListExceptionHeaders:()=>wG,BlockBlobGetBlockListHeaders:()=>wY,BlockBlobPutBlobFromUrlExceptionHeaders:()=>wF,BlockBlobPutBlobFromUrlHeaders:()=>wM,BlockBlobStageBlockExceptionHeaders:()=>wT,BlockBlobStageBlockFromURLExceptionHeaders:()=>wO,BlockBlobStageBlockFromURLHeaders:()=>wL,BlockBlobStageBlockHeaders:()=>wU,BlockBlobUploadExceptionHeaders:()=>wk,BlockBlobUploadHeaders:()=>wv,BlockList:()=>NE,BlockLookupList:()=>NI,ClearRange:()=>NN,ContainerAcquireLeaseExceptionHeaders:()=>Sa,ContainerAcquireLeaseHeaders:()=>Ss,ContainerBreakLeaseExceptionHeaders:()=>Su,ContainerBreakLeaseHeaders:()=>Sd,ContainerChangeLeaseExceptionHeaders:()=>Sh,ContainerChangeLeaseHeaders:()=>Sg,ContainerCreateExceptionHeaders:()=>NK,ContainerCreateHeaders:()=>Nj,ContainerDeleteExceptionHeaders:()=>N0,ContainerDeleteHeaders:()=>NZ,ContainerFilterBlobsExceptionHeaders:()=>Sn,ContainerFilterBlobsHeaders:()=>Si,ContainerGetAccessPolicyExceptionHeaders:()=>N5,ContainerGetAccessPolicyHeaders:()=>N3,ContainerGetAccountInfoExceptionHeaders:()=>SI,ContainerGetAccountInfoHeaders:()=>Sy,ContainerGetPropertiesExceptionHeaders:()=>NX,ContainerGetPropertiesHeaders:()=>N$,ContainerItem:()=>Nr,ContainerListBlobFlatSegmentExceptionHeaders:()=>Sm,ContainerListBlobFlatSegmentHeaders:()=>Sp,ContainerListBlobHierarchySegmentExceptionHeaders:()=>SC,ContainerListBlobHierarchySegmentHeaders:()=>Sf,ContainerProperties:()=>Ni,ContainerReleaseLeaseExceptionHeaders:()=>SA,ContainerReleaseLeaseHeaders:()=>So,ContainerRenameExceptionHeaders:()=>Se,ContainerRenameHeaders:()=>N7,ContainerRenewLeaseExceptionHeaders:()=>Sc,ContainerRenewLeaseHeaders:()=>Sl,ContainerRestoreExceptionHeaders:()=>N6,ContainerRestoreHeaders:()=>N9,ContainerSetAccessPolicyExceptionHeaders:()=>N8,ContainerSetAccessPolicyHeaders:()=>N4,ContainerSetMetadataExceptionHeaders:()=>N2,ContainerSetMetadataHeaders:()=>N1,ContainerSubmitBatchExceptionHeaders:()=>Sr,ContainerSubmitBatchHeaders:()=>St,CorsRule:()=>b8,DelimitedTextConfiguration:()=>ND,FilterBlobItem:()=>No,FilterBlobSegment:()=>Na,GeoReplication:()=>Ne,JsonTextConfiguration:()=>NR,KeyInfo:()=>Nn,ListBlobsFlatSegmentResponse:()=>Nu,ListBlobsHierarchySegmentResponse:()=>Nf,ListContainersSegmentResponse:()=>Nt,Logging:()=>b3,Metrics:()=>b4,PageBlobClearPagesExceptionHeaders:()=>wc,PageBlobClearPagesHeaders:()=>wl,PageBlobCopyIncrementalExceptionHeaders:()=>wB,PageBlobCopyIncrementalHeaders:()=>wE,PageBlobCreateExceptionHeaders:()=>wa,PageBlobCreateHeaders:()=>ws,PageBlobGetPageRangesDiffExceptionHeaders:()=>wm,PageBlobGetPageRangesDiffHeaders:()=>wp,PageBlobGetPageRangesExceptionHeaders:()=>wh,PageBlobGetPageRangesHeaders:()=>wg,PageBlobResizeExceptionHeaders:()=>wC,PageBlobResizeHeaders:()=>wf,PageBlobUpdateSequenceNumberExceptionHeaders:()=>wI,PageBlobUpdateSequenceNumberHeaders:()=>wy,PageBlobUploadPagesExceptionHeaders:()=>wA,PageBlobUploadPagesFromURLExceptionHeaders:()=>wu,PageBlobUploadPagesFromURLHeaders:()=>wd,PageBlobUploadPagesHeaders:()=>wo,PageList:()=>NQ,PageRange:()=>Nb,QueryFormat:()=>Nx,QueryRequest:()=>NS,QuerySerialization:()=>Nw,RetentionPolicy:()=>b5,ServiceFilterBlobsExceptionHeaders:()=>NW,ServiceFilterBlobsHeaders:()=>NJ,ServiceGetAccountInfoExceptionHeaders:()=>Nz,ServiceGetAccountInfoHeaders:()=>Nq,ServiceGetPropertiesExceptionHeaders:()=>NT,ServiceGetPropertiesHeaders:()=>NU,ServiceGetStatisticsExceptionHeaders:()=>NO,ServiceGetStatisticsHeaders:()=>NL,ServiceGetUserDelegationKeyExceptionHeaders:()=>NG,ServiceGetUserDelegationKeyHeaders:()=>NY,ServiceListContainersSegmentExceptionHeaders:()=>NH,ServiceListContainersSegmentHeaders:()=>NP,ServiceSetPropertiesExceptionHeaders:()=>NF,ServiceSetPropertiesHeaders:()=>NM,ServiceSubmitBatchExceptionHeaders:()=>N_,ServiceSubmitBatchHeaders:()=>NV,SignedIdentifier:()=>Nc,StaticWebsite:()=>b9,StorageError:()=>b6,UserDelegationKey:()=>Ns});let eJ=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},eW={pipe(){return eJ(this,arguments)}},ej=function(){function e(){}return e.prototype=eW,e}(),eK=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},e$=e=>e,eX=e=>()=>e,eZ=eX(!0),e0=eX(!1),e1=eX(null),e2=eX(void 0);function e3(e,...t){return eJ(e,t)}function e5(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}let e4=e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t},e8=new WeakSet;function e9(e){return"string"==typeof e}function e6(e){return"number"==typeof e}function e7(e){return"boolean"==typeof e}function te(e){return"bigint"==typeof e}function tt(e){return"symbol"==typeof e}function tr(e){return"function"==typeof e}function ti(e){return void 0===e}function tn(e){return void 0!==e}function ts(e){return null!==e}function ta(e){return null!=e}function to(e){return!0}let tA=eK(2,(e,t)=>{var r;return("object"==typeof(r=e)&&null!==r||tr(r))&&t in e}),tl=eK(2,(e,t)=>tA(e,"_tag")&&e._tag===t);function tc(e){return tA(e,Symbol.iterator)||e9(e)}let td="~effect/interfaces/Hash",tu=e=>{switch(typeof e){case"number":return tf(e);case"bigint":return tC(e.toString(10));case"boolean":case"symbol":return tC(String(e));case"string":return tC(e);case"undefined":return tC("undefined");case"function":case"object":if(null===e)return tC("null");{if(e instanceof Date)return tC(e.toISOString());if(e instanceof RegExp)return tC(e.toString());if(e8.has(e))return tg(e);if(tS.has(e))return tS.get(e);let t=function(e,t){if(tw.has(e))return tC("[Circular]");tw.add(e);let r=t();return tw.delete(e),r}(e,()=>{if(tm(e))return e[td]();if("function"==typeof e)return tg(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return tB(e);if(e instanceof Map)return tQ(e);if(e instanceof Set)return tb(e);return tI(e)});return tS.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},tg=e=>(tN.has(e)||tN.set(e,tf(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),tN.get(e)),th=eK(2,(e,t)=>53*e^t),tp=e=>0xbfffffff&e|e>>>1&0x40000000,tm=e=>tA(e,td),tf=e=>{if(e!=e)return tC("NaN");if(e===1/0)return tC("Infinity");if(e===-1/0)return tC("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return tp(t)},tC=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return tp(t)},ty=(e,t)=>{let r=12289;for(let i of t)r^=th(tu(i),tu(e[i]));return tp(r)},tI=e=>ty(e,e4(e)),tE=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return tp(i)},tB=tE(6151,tu),tQ=tE(tC("Map"),([e,t])=>th(tu(e),tu(t))),tb=tE(tC("Set"),tu),tN=new WeakMap,tS=new WeakMap,tw=new WeakSet,tx="~effect/interfaces/Equal";function tD(){return 1==arguments.length?e=>tR(e,arguments[0]):tR(arguments[0],arguments[1])}function tR(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||e8.has(e)||e8.has(t))&&function(e,t,r){let i=tF.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,tF.set(e,i);let n=r(e,t);i.set(t,n);let s=tF.get(t);return s||(s=new WeakMap,tF.set(t,s)),s.set(e,n),n}(e,t,tM))}let tv=new WeakSet,tk=new WeakSet;function tM(e,t){if(tu(e)!==tu(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=tL(e),i=tL(t);if(r!==i)return!1;let n=r&&i;return("function"!=typeof e||!!n)&&function(e,t,r){let i=tv.has(e),n=tk.has(t);if(i&&n)return!0;if(i||n)return!1;tv.add(e),tk.add(t);let s=r();return tv.delete(e),tk.delete(t),s}(e,t,()=>{if(n)return e[tx](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!tR(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&tU(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&tT(e,t);var r=e,i=t;let s=e4(r),a=e4(i);if(s.size!==a.size)return!1;for(let e of s)if(!a.has(e)||!tR(r[e],i[e]))return!1;return!0})}let tF=new WeakMap,tU=(et=tR,er=tR,function(e,t){for(let[r,i]of e){let e=!1;for(let[n,s]of t)if(et(r,n)&&er(i,s)){e=!0;break}if(!e)return!1}return!0}),tT=(ei=tR,function(e,t){for(let r of e){let e=!1;for(let i of t)if(ei(r,i)){e=!0;break}if(!e)return!1}return!0}),tL=e=>tA(e,tx),tO=e=>(t,r)=>t===r||e(t,r),tP=(e,t)=>e===t,tH=Symbol.for("~effect/Redactable");function tY(e){return tA(e,tH)?tG(e):e}function tG(e){return e[tH](globalThis[tq]?.context??tz)}let tq="~effect/Fiber/currentFiber",tz={"~effect/Context":{},mapUnsafe:new Map,pipe(){return eJ(this,arguments)}};function tV(e,t){let r=t?.space??0,i=new WeakSet,n=r?"number"==typeof r?" ".repeat(r):r:"",s=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function e(r,a=0){if(Array.isArray(r)){let t,s;if(i.has(r))return t_;if(i.add(r),!n||r.length<=1)return`[${r.map(t=>e(t,a)).join(",")}]`;let o=r.map(t=>e(t,a+1)).join(",\n"+(t=a+1,n.repeat(t)));return`[ +${s=a+1,n.repeat(s)}${o} +${n.repeat(a)}]`}if(r instanceof Date)return tW(r);if(!t?.ignoreToString&&tA(r,"toString")&&"function"==typeof r.toString&&r.toString!==Object.prototype.toString&&r.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(r);return r instanceof Error&&r.cause?`${t} (cause: ${e(r.cause,a)})`:t}if("string"==typeof r)return JSON.stringify(r);if("number"==typeof r||null==r||"boolean"==typeof r||"symbol"==typeof r)return String(r);if("bigint"==typeof r)return String(r)+"n";if("object"==typeof r||"function"==typeof r){if(i.has(r))return t_;if(i.add(r),tH in r)return tV(tG(r));if(Symbol.iterator in r)return`${r.constructor.name}(${e(Array.from(r),a)})`;let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(r);if(!n||t.length<=1){let i=`{${t.map(t=>`${tJ(t)}:${e(r[t],a)}`).join(",")}}`;return s(r,i)}let o=`{ +${t.map(t=>{let i;return`${i=a+1,n.repeat(i)}${tJ(t)}: ${e(r[t],a+1)}`}).join(",\n")} +${n.repeat(a)}}`;return s(r,o)}return String(r)}(e,0)}let t_="[Circular]";function tJ(e){return"string"==typeof e?JSON.stringify(e):String(e)}function tW(e){try{return e.toISOString()}catch{return"Invalid Date"}}function tj(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=tY(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}let tK=Symbol.for("nodejs.util.inspect.custom"),t$=e=>{try{if(tA(e,"toJSON")&&tr(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(t$)}catch{return"[toJSON threw]"}return tY(e)},tX=(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?tj(e,{space:t}):String(e)}catch{return String(e)}},tZ={toJSON(){return t$(this)},[tK](){return this.toJSON()},toString(){return tV(this.toJSON())}};class t0{[tK](){return this.toJSON()}toString(){return tV(this.toJSON())}}class t1{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new t1(this.self)}}let t2=(c={[l="~effect/Utils/internal"]:e=>e()},c[l](()=>Error().stack)?.includes(l)===!0?c[l]:({[l]:e=>e()})[l]),t3="~effect/Effect",t5="~effect/Exit",t4=`${t3}/identifier`,t8=`${t3}/args`,t9=`${t3}/evaluate`,t6=`${t3}/successCont`,t7=`${t3}/failureCont`,re=`${t3}/ensureCont`,rt=Symbol.for("effect/Effect/Yield"),rr={pipe(){return eJ(this,arguments)},toJSON(){return{...this}},toString(){return tV(this.toJSON(),{ignoreToString:!0,space:2})},[tK](){return this.toJSON()}},ri={[t3]:{_A:e$,_E:e$,_R:e$},...rr,[Symbol.iterator](){return new t1(this)},toJSON(){return{_id:"Effect",op:this[t4],...t8 in this?{args:this[t8]}:void 0}}},rn=e=>tA(e,t3),rs="~effect/Cause",ra="~effect/Cause/Reason",ro=e=>tA(e,rs);class rA{[rs];reasons;constructor(e){this[rs]=rs,this.reasons=e}pipe(){return eJ(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${tV(this.reasons)})`}[tK](){return this.toJSON()}[tx](e){return ro(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>tD(t,e.reasons[r]))}[td](){return tB(this.reasons)}}let rl=new WeakMap;class rc{[ra];annotations;_tag;constructor(e,t,r){if(this[ra]=ra,this._tag=e,t!==rd&&"object"==typeof r&&null!==r&&t.size>0){let e=rl.get(r);e&&(t=new Map([...e,...t])),rl.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return eJ(this,arguments)}toString(){return tV(this)}[tK](){return this.toString()}}let rd=new Map;class ru extends rc{error;constructor(e,t=rd){super("Fail",t,e),this.error=e}toString(){return`Fail(${tV(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[tx](e){return rC(e)&&tD(this.error,e.error)&&tD(this.annotations,e.annotations)}[td](){return th(tC(this._tag))(th(tu(this.error))(tu(this.annotations)))}}let rg=e=>new rA(e),rh=new rA([]),rp=e=>new rA([new ru(e)]);class rm extends rc{defect;constructor(e,t=rd){super("Die",t,e),this.defect=e}toString(){return`Die(${tV(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[tx](e){return ry(e)&&tD(this.defect,e.defect)&&tD(this.annotations,e.annotations)}[td](){return th(tC(this._tag))(th(tu(this.defect))(tu(this.annotations)))}}let rf=eK(e=>ro(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new rA(e.reasons.map(e=>e.annotate(t,r)))),rC=e=>"Fail"===e._tag,ry=e=>"Die"===e._tag,rI=e=>"Interrupt"===e._tag;function rE(e){return rR("Effect.evaluate: Not implemented")}let rB=e=>({...ri,[t4]:e.op,[t9]:e[t9]??rE,[t6]:e[t6],[t7]:e[t7],[re]:e[re]}),rQ=e=>{let t=rB(e);return function(){let r=Object.create(t);return r[t8]=!1===e.single?arguments:arguments[0],r}},rb=e=>{let t={...rB(e),[t5]:t5,_tag:e.op,get[e.prop](){return this[t8]},toString(){return`${e.op}(${tV(this[t8])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[t8]}},[tx](e){return tA(e,t5)&&e._tag===this._tag&&tD(this[t8],e[t8])},[td](){return th(tC(e.op),tu(this[t8]))}};return function(e){let r=Object.create(t);return r[t8]=e,r}},rN=rb({op:"Success",prop:"value",[t9](e){let t=e.getCont(t6);return t?t[t6](this[t8],e,this):e.yieldWith(this)}}),rS={key:"effect/Cause/StackTrace"},rw="effect/Cause/InterruptorStackTrace",rx=rb({op:"Failure",prop:"cause",[t9](e){let t=this[t8],r=!1;e.currentStackFrame&&(t=rf(t,{mapUnsafe:new Map([[rS.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(t7);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(t7);return i?i[t7](t,e,r?void 0:this):e.yieldWith(r?rx(t):this)}}),rD=e=>rx(rp(e)),rR=e=>rx(new rA([new rm(e)])),rv=rQ({op:"WithFiber",[t9](e){return this[t8](e)}}),rk=function(){class e extends globalThis.Error{}let t=rB({op:"YieldableError",[t9](){return rD(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),rM=(d=Symbol.for("effect/Data/Error/plainArgs"),class extends rk{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,d,{value:e,enumerable:!1}))}toJSON(){return{...this[d],...this}}}),rF=e=>{class t extends rM{_tag=e}return t.prototype.name=e,t},rU="~effect/Cause/Done",rT={[rU]:rU,_tag:"Done",value:void 0},rL=e=>void 0===e?rT:{[rU]:rU,_tag:"Done",value:e},rO=rD(rT),rP="~effect/data/Option",rH={[rP]:{_A:e=>e},...rr,[Symbol.iterator](){return new t1(this)}},rY=Object.defineProperty(Object.assign(Object.create(rH),{_tag:"Some",_op:"Some",[tx](e){return rz(e)&&r_(e)&&tD(this.value,e.value)},[td](){return th(tu(this._tag))(tu(this.value))},toString(){return`some(${tV(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:t$(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),rG=tu("None"),rq=Object.assign(Object.create(rH),{_tag:"None",_op:"None",valueOrUndefined:void 0,[tx]:e=>rz(e)&&rV(e),[td]:()=>rG,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),rz=e=>tA(e,rP),rV=e=>"None"===e._tag,r_=e=>"Some"===e._tag,rJ=Object.create(rq),rW=e=>{let t=Object.create(rY);return t.value=e,t},rj="~effect/data/Result",rK={[rj]:{_A:e=>e,_E:e=>e},...rr,[Symbol.iterator](){return new t1(this)}},r$=Object.assign(Object.create(rK),{_tag:"Success",_op:"Success",[tx](e){return rZ(e)&&r1(e)&&tD(this.success,e.success)},[td](){return th(tu(this._tag))(tu(this.success))},toString(){return`success(${tV(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:t$(this.success)}}}),rX=Object.assign(Object.create(rK),{_tag:"Failure",_op:"Failure",[tx](e){return rZ(e)&&r0(e)&&tD(this.failure,e.failure)},[td](){return th(tu(this._tag))(tu(this.failure))},toString(){return`failure(${tV(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:t$(this.failure)}}}),rZ=e=>tA(e,rj),r0=e=>"Failure"===e._tag,r1=e=>"Success"===e._tag,r2=e=>{let t=Object.create(rX);return t.failure=e,t},r3=e=>{let t=Object.create(r$);return t.success=e,t};function r5(e){return(t,r)=>t===r?0:e(t,r)}let r4=r5((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),r8=r5((e,t)=>e<t?-1:1),r9=eK(2,(e,t)=>r5((r,i)=>e(t(r),t(i)))),r6=(e=>e.getTime(),e=>eK(2,(t,r)=>-1===e(t,r))),r7=e=>eK(2,(t,r)=>1===e(t,r)),ie=e=>eK(2,(t,r)=>1!==e(t,r)),it=e=>eK(2,(t,r)=>-1!==e(t,r));function ir(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let ii=()=>rJ,is=rW,ia=rz,io=rV,iA=r_,il=eK(2,(e,{onNone:t,onSome:r})=>io(e)?t():r(e.value)),ic=e=>t=>iA(e(t)),id=e=>{for(let t of e)return is(t);return ii()},iu=e=>r0(e)?rJ:rW(e.success),ig=e=>r1(e)?rJ:rW(e.failure),ih=eK(2,(e,t)=>io(e)?t():e.value),ip=eK(2,(e,t)=>io(e)?t():e),im=eK(2,(e,t)=>io(e)?is(t()):e),iC=eK(2,(e,t)=>io(e)?iD(t(),r3):iD(e,r2)),iy=e=>{let t=ii();for(t of e)if(iA(t))break;return t},iI=e=>null==e?ii():is(e),iE=e=>void 0===e?ii():is(e),iB=e=>null===e?ii():is(e),iQ=e=>(...t)=>iI(e(...t)),ib=ih(e1),iN=ih(e2),iS=e=>(...t)=>{try{return is(e(...t))}catch{return ii()}},iw=eK(2,(e,t)=>{if(iA(e))return e.value;throw t()}),ix=iw(()=>Error("getOrThrow called on a None")),iD=eK(2,(e,t)=>io(e)?ii():is(t(e.value))),iR=eK(2,(e,t)=>iD(e,()=>t)),iv=iR(void 0),ik=is(void 0),iM=eK(2,(e,t)=>io(e)?ii():t(e.value)),iF=eK(2,(e,t)=>iM(e,e=>{let r=tr(t)?t(e):t;return ia(r)?r:is(r)})),iU=eK(2,(e,t)=>io(e)?ii():iI(t(e.value))),iT=iM(e$),iL=eK(2,(e,t)=>iM(e,()=>t)),iO=eK(2,(e,t)=>iH(e,()=>t)),iP=eK(2,(e,t)=>r=>iM(e(r),t)),iH=eK(2,(e,t)=>iM(e,e=>iD(t(e),()=>e))),iY=(e,t)=>iA(e)&&iA(t)?is([e.value,t.value]):ii(),iG=(e,t)=>{if(io(e))return ii();let r=[e.value];for(let e of t){if(io(e))return ii();r.push(e.value)}return is(r)},iq=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(io(r))return ii();t.push(r.value)}return is(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(io(i))return ii();t[r]=i.value}return is(t)},iz=eK(3,(e,t,r)=>iD(iY(e,t),([e,t])=>r(e,t))),iV=eK(3,(e,t,r)=>{let i=t;for(let t of e)iA(t)&&(i=r(i,t.value));return i}),i_=e=>io(e)?[]:[e.value],iJ=eK(2,(e,t)=>{if(io(e))return[ii(),ii()];let r=t(e.value);return r0(r)?[is(r.failure),ii()]:[ii(),is(r.success)]}),iW=eK(2,(e,t)=>{if(io(e))return ii();let r=t(e.value);return r1(r)?is(r.success):ii()}),ij=eK(2,(e,t)=>io(e)?ii():t(e.value)?is(e.value):ii()),iK=e=>tO((t,r)=>io(t)?io(r):!io(r)&&e(t.value,r.value)),i$=e=>r5((t,r)=>iA(t)?iA(r)?e(t.value,r.value):1:-1),iX=e=>eK(2,(t,r)=>iz(t,r,e)),iZ=eK(2,(e,t)=>t(e)?is(e):ii()),i0=e=>eK(2,(t,r)=>!io(t)&&e(t.value,r)),i1=i0(tD),i2=eK(2,(e,t)=>!io(e)&&t(e.value)),i3=eK(2,(e,t)=>iD(e,e=>({[t]:e}))),i5=eK(3,(e,t,r)=>iD(e,e=>({...e,[t]:r(e)}))),i4=eK(3,(e,t,r)=>iM(e,e=>iD(r(e),r=>({...e,[t]:r})))),i8=is({}),i9=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(io(e))return e;r=t.next(e.value)}return is(r.value)};function i6(e){return ir((t,r)=>io(t)?r:io(r)?t:is(e.combine(t.value,r.value)),ii())}function i7(e){return{combine:(t,r)=>io(t)||io(r)?ii():is(e.combine(t.value,r.value))}}function ne(e){let t=i7(e).combine,r=is(e.initialValue);return ir(t,r,e=>{let i=r;for(let r of e)if(io(i=t(i,r)))break;return i})}let nt=/^[+-]?\d+$/,nr="~effect/BigDecimal",ni={[nr]:nr,[td](){let e=nu(this);return th(tu(e.value),tf(e.scale))},[tx](e){return nn(e)&&nI(this,e)},toString(){return`BigDecimal(${nE(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[tK](){return this.toJSON()},pipe(){return eJ(this,arguments)}},nn=e=>tA(e,nr),ns=(e,t)=>{let r=Object.create(ni);return r.value=e,r.scale=t,r},na=(e,t)=>{if(e!==no&&e%nc===no)throw RangeError("Value must be normalized");let r=ns(e,t);return r.normalized=r,r},no=BigInt(0),nA=BigInt(1),nl=BigInt(-1),nc=BigInt(10),nd=na(no,0),nu=e=>{if(void 0===e.normalized)if(e.value===no)e.normalized=nd;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),n=e.scale-r;e.normalized=na(i,n)}return e.normalized},ng=eK(2,(e,t)=>t>e.scale?ns(e.value*nc**BigInt(t-e.scale),t):t<e.scale?ns(e.value/nc**BigInt(e.scale-t),t):e),nh=eK(2,(e,t)=>t.value===no?e:e.value===no?t:e.scale>t.scale?ns(ng(t,e.scale).value+e.value,e.scale):e.scale<t.scale?ns(ng(e,t.scale).value+t.value,t.scale):ns(e.value+t.value,e.scale)),np=r5((e,t)=>{let r=r4(nC(e),nC(t));return 0!==r?r:e.scale>t.scale?r8(e.value,ng(t,e.scale).value):e.scale<t.scale?r8(ng(e,t.scale).value,t.value):r8(e.value,t.value)}),nm=r6(np),nf=r7(np),nC=e=>e.value===no?0:e.value<no?-1:1,ny=tO((e,t)=>e.scale>t.scale?ng(t,e.scale).value===e.value:e.scale<t.scale?ng(e,t.scale).value===t.value:e.value===t.value),nI=eK(2,(e,t)=>ny(e,t)),nE=e=>{let t,r,i=nu(e);if(Math.abs(i.scale)>=16)return nB(i);let n=i.value<no,s=n?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=s.length)t="0",r="0".repeat(i.scale-s.length)+s;else{let e=s.length-i.scale;if(e>s.length){let i=e-s.length;t=`${s}${"0".repeat(i)}`,r=""}else r=s.slice(e),t=s.slice(0,e)}let a=""===r?t:`${t}.${r}`;return n?`-${a}`:a},nB=e=>{if(nQ(e))return"0e+0";let t=nu(e),r=`${(t.value<no?ns(-t.value,t.scale):t).value}`,i=r.slice(0,1),n=r.slice(1),s=`${nb(t)?"-":""}${i}`;""!==n&&(s+=`.${n}`);let a=n.length-t.scale;return`${s}e${a>=0?"+":""}${a}`},nQ=e=>e.value===no,nb=e=>e.value<no,nN=e=>nn(e[0]),nS=eK(nN,(e,t=0)=>e.scale<=t?e:ns(e.value/nc**BigInt(e.scale-t),t)),nw=eK(nN,(e,t=0)=>{let r=nS(e,t);return e.value>no&&nm(r,e)?nh(r,ns(nA,t)):r}),nx=eK(nN,(e,t=0)=>{let r=nS(e,t);return nb(e)&&nf(r,e)?nh(r,ns(nl,t)):r}),nD=eK(2,(e,t)=>Object.hasOwn(e,t)),nR=eK(2,(e,t)=>{let r={...e};for(let i of nv(e))r[i]=t(e[i],i);return r}),nv=e=>Object.keys(e),nk=eK(2,(e,t)=>r1(e)?r3(t(e.success)):r2(e.failure)),nM=eK(2,(e,{onFailure:t,onSuccess:r})=>r0(e)?t(e.failure):r(e.success)),nF=eK(2,(e,t)=>{if(r1(e))return e.success;throw t(e.failure)})(e$),nU=globalThis.Array,nT=e=>nU.isArray(e)?e:nU.from(e),nL=eK(2,(e,t)=>[...e,t]),nO=eK(2,(e,t)=>nT(e).concat(nT(t)));nU.isArray;let nP=eK(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),nH=eK(3,(e,t,r)=>{let i=nT(e),n=nT(t);if(i.length>0)return n.length>0?n_(r)(nO(i,n)):i;return n}),nY=eK(2,(e,t)=>nH(e,t,tD)),nG=()=>[],nq=e=>[e],nz=eK(2,(e,t)=>e.map(t)),nV=eK(2,(e,t)=>{let r=[],i=[],n=0;for(let s of e){let e=t(s,n++);r1(e)?i.push(e.success):r.push(e.failure)}return[r,i]}),n_=eK(2,(e,t)=>{let r=nT(e);if(r.length>0){let e=[nP(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]}),nJ=e=>rB({op:e.label,[t9]:e.evaluate}),nW=Object.getOwnPropertyDescriptor,nj=Object.prototype.hasOwnProperty,nK=Object.isExtensible,n$=void 0===(u=nW(Error,"stackTraceLimit"))?nK(Error):nj.call(u,"writable")?!0===u.writable:void 0!==u.set,nX=e=>{n$&&(Error.stackTraceLimit=e)},nZ="~effect/Context/Service",n0=function(){let e=Error.stackTraceLimit;nX(2);let t=Error();nX(e);let r=function(){};return(Object.setPrototypeOf(r,n1),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[n2]=n2,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},n1={[nZ]:nZ,...nJ({label:"Service",evaluate(e){return rN(sr(e.context,this))}}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return n6(this,e)},use(e){return rv(t=>e(sr(t.context,this)))},useSync(e){return rv(t=>rN(e(sr(t.context,this))))}},n2="~effect/Context/Reference",n3="~effect/Context",n5=e=>{let t=Object.create(n4);return t.mapUnsafe=e,t.mutable=!1,t},n4={...rr,[n3]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[tx](e){if(!n8(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!tD(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[td](){return tf(this.mapUnsafe.size)}},n8=e=>tA(e,n3),n9=n5(new Map),n6=(e,t)=>n5(new Map([[e.key,t]])),n7=eK(3,(e,t,r)=>sA(e,e=>{e.set(t.key,r)})),se=eK(2,(e,t)=>e.mapUnsafe.get(t.key)),st=eK(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(n2 in t)return sn(t);throw ss(t)}return e.mapUnsafe.get(t.key)}),sr=st,si="~effect/Context/defaultValue",sn=e=>si in e?e[si]:e[si]=e.defaultValue(),ss=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},sa=eK(2,(e,t)=>e.mapUnsafe.has(t.key)?is(e.mapUnsafe.get(t.key)):tA(t,n2)?is(sn(t)):ii()),so=eK(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:sA(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),sA=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),n5(r)},sl="~effect/time/Duration",sc=BigInt(0),sd=BigInt(1),su=BigInt(1e3),sg=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),sh=(e,t)=>e.includes(".")?sg(Number(e)*Number(t)):BigInt(e)*t,sp=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,sm=e=>{switch(typeof e){case"number":return sx(e);case"bigint":return sw(e);case"string":{if("Infinity"===e)return sN;if("-Infinity"===e)return sS;let t=sp.exec(e);if(!t)break;let[r,i,n]=t;if("nano"===n||"nanos"===n)return sw(sh(i,sd));if("micro"===n||"micros"===n)return sw(sh(i,su));let s=Number(i);switch(n){case"milli":case"millis":return sx(s);case"second":case"seconds":return sD(s);case"minute":case"minutes":return sR(s);case"hour":case"hours":return sv(s);case"day":case"days":return sk(s);case"week":case"weeks":return sM(s)}break}case"object":{if(null===e)break;if(sl in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(e6))return sf(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return sb;if(e[0]===-1/0||e[1]===-1/0)return sS;if(e[0]===1/0||e[1]===1/0)return sN;return sB(sg(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return sB(t);return sB(sg(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return sf(e)},sf=e=>{throw Error(`Invalid Input: ${e}`)},sC={_tag:"Millis",millis:0},sy={_tag:"Infinity"},sI={_tag:"NegativeInfinity"},sE={[sl]:sl,[td](){return tI(this.value)},[tx](e){return sQ(e)&&sO(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[tK](){return this.toJSON()},pipe(){return eJ(this,arguments)}},sB=e=>{let t=Object.create(sE);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=sC:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:sg(1e6*e)}:t.value=e>0?sy:sI:e===sc?t.value=sC:t.value={_tag:"Nanos",nanos:e},t},sQ=e=>tA(e,sl),sb=sB(0),sN=sB(1/0),sS=sB(-1/0),sw=e=>sB(e),sx=e=>sB(e),sD=e=>sB(1e3*e),sR=e=>sB(6e4*e),sv=e=>sB(36e5*e),sk=e=>sB(864e5*e),sM=e=>sB(6048e5*e),sF=e=>sT(sm(e),{onMillis:e$,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),sU=e=>{let t=sm(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return sg(1e6*t.value.millis)}},sT=eK(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),sL=eK(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(sU(e),t.value.nanos):r.onNanos(e.value.nanos,sU(t))),sO=eK(2,(e,t)=>sL(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag})),sP=eK(2,(e,t)=>r=>{let i=e(r);if(r0(i))return r2(r);let n=t(i.success);return r0(n)?r2(r):n}),sH=n0("effect/Scheduler",{defaultValue:()=>new sq}),sY="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class sG{buckets=[];scheduleTask(e,t){let r,i=this.buckets,n=i.length,s=0;for(;s<n&&!(i[s][0]>t);s++)r=i[s];r&&r[0]===t?r[1].push(e):s===n?i.push([t,[e]]):i.splice(s,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class sq{executionMode;setImmediate;constructor(e="async",t=sY){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new sz(this.setImmediate)}}class sz{tasks=new sG;running=void 0;setImmediate;constructor(e=sY){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let sV=n0("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),s_=n0("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1}),sJ="effect/Tracer/ParentSpan";class sW extends n0()(sJ){}let sj=n0("effect/Tracer/DisablePropagation",{defaultValue:e0}),sK=n0("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),s$=n0("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),sX="effect/Tracer",sZ=n0(sX,{defaultValue:()=>({span:e=>new s0(e)})});class s0{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=eV.getOrUndefined(e.parent)?.traceId??s1(32),this.spanId=s1(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let s1=(h=(g="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=g.charAt(Math.floor(Math.random()*h));return t}),s2=n0("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),s3=n0("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),s5=n0("effect/References/CurrentStackFrame",{defaultValue:e2}),s4=n0("effect/References/TracerEnabled",{defaultValue:eZ}),s8=n0("effect/References/TracerTimingEnabled",{defaultValue:eZ}),s9=n0("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),s6=n0("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),s7=n0("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),ae=n0("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),at=n0("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),ar=n0("effect/References/CurrentLogSpans",{defaultValue:()=>[]}),ai=e=>t=>{let r;return()=>{if(void 0!==r)return r;let i=t();if(!i)return;let n=i.split("\n");if(void 0!==n[e])return r=n[e].trim()}},an=ai(3);class as extends rc{fiberId;constructor(e,t=rd){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[tx](e){return rI(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[td](){return th(tC(`${this._tag}:${this.fiberId}`))(tg(this.annotations))}}let aa=e=>new rA([new as(e)]),ao=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return r3(r.error)}return r2(e)},aA=e=>{let t=ao(e);return r0(t)?ii():is(t.success)},al=e=>{let t=e.reasons.find(ry);return t?r3(t.defect):r2(e)},ac=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?r3(t):r2(e)},ad=eK(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new rA(nY(e.reasons,t.reasons));return tD(e,r)?e:r}),au=eK(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>rC(e)?(r=!0,new ru(t(e.error))):e);return r?rg(i):e}),ag=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},ah=(e,t,r)=>{let i,n=typeof e;if(e&&"object"===n){if(i=new globalThis.Error(ap(e),{cause:e.cause?ah(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=af(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?aC(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=aE(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===n?e:tj(e));return i},ap=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return tj(e)},am=/\((.*)\)/g,af=(e,t,r)=>{let i=`${t.name}: ${t.message}`,n=(e.startsWith(i)?e.slice(i.length):e).split("\n"),s=[i];for(let e=1;e<n.length&&!/(?:Generator\.next|~effect\/Effect)/.test(n[e]);e++)s.push(n[e]);return r?aC(s.join("\n"),r):s.join("\n")},aC=(e,t)=>{let r=t?.get(rS.key);return r&&(e=`${e} +${ay(r)}`),e},ay=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(am),n=!1;for(let[,e]of i)n=!0,t.push(` at ${r.name} (${e})`);n||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},aI=e=>(e=>{let t=[],r=[];if(0===e.reasons.length)return t;let i=Error.stackTraceLimit;for(let i of(nX(1),e.reasons)){if("Interrupt"===i._tag){r.push(i);continue}t.push(ah("Die"===i._tag?i.defect:i.error,i.annotations,void 0))}if(0===t.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=((e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(rw);r.push(` at fiber (${t})`),i&&r.push(ay(i))}return r.join("\n")})(e,r);let i=new globalThis.Error("All fibers interrupted without error",{cause:e});i.name="InterruptError",i.stack=`${i.name}: ${i.message}`,t.push(ah(i,r[0].annotations,void 0))}return nX(i),t})(e).map(aE).join("\n"),aE=e=>e.cause?`${e.stack} { +${aB(e.cause," ")} +}`:e.stack,aB=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,n=r.length;e<n;e++)i+=` +${t}${r[e]}`;return e.cause&&(i+=` { +${aB(e.cause,`${t} `)} +${t}}`),i},aQ="~effect/Fiber/dev",ab={_A:e$,_E:e$},aN={id:0},aS=()=>globalThis[tq];class aw{constructor(e,t=!0){this[aQ]=ab,this.setContext(e),this.id=++aN.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[aQ];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){var t;return t=this.context,t.mapUnsafe.has(e.key)?t.mapUnsafe.get(e.key):sn(e)}addObserver(e){return this._exit?(e(this._exit),e2):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=aa(e);this.currentStackFrame&&(r=rf(r,n6(rS,this.currentStackFrame))),t&&(r=rf(r,t)),this._interruptedCause=this._interruptedCause?ad(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(aT(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===rt)return;let r=aD.interruptChildren&&aD.interruptChildren(this);if(void 0!==r)return this.evaluate(a9(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=n9}runLoop(e){let t=globalThis[tq];globalThis[tq]=this;let r=this._running;this._running=!0;let i=!1,n=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,n=aT(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=n;n=a9(aH,()=>e)}if((n=this.currentTracerContext?this.currentTracerContext(n,this):n[t9](this))===rt){let e=this._yielded;if(t5 in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return rt}}}catch(e){if(!tA(n,t9))return rR(`Fiber.runLoop: Not a valid effect: ${String(n)}`);return this.runLoop(rR(e))}finally{this._running=r,globalThis[tq]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,ax;for(;;){let t=this._stack.pop();if(!t)return;let r=t[re]&&t[re](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,rt}children(){return this._children??=new Set}pipe(){return eJ(this,arguments)}setContext(e){this.context=e;let t=this.getRef(sH);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(sJ),this.currentLogLevel=this.getRef(ae),this.minimumLogLevel=this.getRef(at),this.currentStackFrame=e.mapUnsafe.get(s5.key),this.maxOpsBeforeYield=this.getRef(sV),this.currentPreventYield=this.getRef(s_),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(sX);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let ax={[t6]:(e,t)=>aT(t._interruptedCause),[t7]:(e,t)=>aT(t._interruptedCause)},aD={interruptChildren:void 0},aR=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(rw,e.currentStackFrame),n5(t)},av=e=>aW(t=>{let r,i=e[Symbol.iterator](),n=[];return!function e(){let s=i.next();for(;!s.done;){if(s.value._exit){n.push(s.value._exit),s=i.next();continue}r=s.value.addObserver(t=>{n.push(t),e()});return}t(aU(n))}(),aL(()=>r?.())}),ak=e=>rv(t=>aM(e,t.id)),aM=eK(e=>tA(e[0],aQ),(e,t,r)=>rv(i=>{let n=aR(i);return n=n&&r?so(n,r):n??r,e.interruptUnsafe(t,n),a4(e._exit?aU(e._exit):aW(t=>e._exit?t(aU(e._exit)):aL(e.addObserver(e=>t(aU(e))))))})),aF=e=>rv(t=>{let r=aR(t),i=nG();for(let n of e)n.interruptUnsafe(t.id,r),i.push(n);return a4(av(i))}),aU=rN,aT=rx,aL=rQ({op:"Sync",[t9](e){let t=this[t8](),r=e.getCont(t6);return r?r[t6](t,e):e.yieldWith(rN(t))}}),aO=rQ({op:"Suspend",[t9](e){return this[t8]()}}),aP=nM({onFailure:rD,onSuccess:aU}),aH=rQ({op:"Yield",[t9](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(oa)},this[t8]??0),e.yieldWith(()=>{t=!0})}})(0),aY=aU(ii()),aG=e=>rR(e),aq=e=>aO(()=>rD(t2(e))),az=aU(void 0),aV=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new A_(e,"An error occurred in Effect.try"):e.catch;return aO(()=>{try{return aU(t2(t))}catch(e){return rD(t2(()=>r(e)))}})},a_=rQ({op:"Async",single:!1,[t9](e){let t=t2(()=>this[t8][0].bind(e.currentScheduler)),r=!1,i=!1,n=this[t8][1]?new AbortController:void 0,s=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},n?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===n&&void 0===s||e._stack.push(aJ(()=>(r=!0,n?.abort(),s??oa))),rt)}}),aJ=rQ({op:"AsyncFinalizer",[re](e){e.interruptible&&(e.interruptible=!1,e._stack.push(Ar))},[t7](e,t){return e.reasons.some(rI)?a9(this[t8](),()=>aT(e)):aT(e)}}),aW=e=>a_(e,e.length>=2),aj=aW(e2),aK=(e,...t)=>{let r=0===t.length?function(){return aO(()=>a1(e.apply(this,arguments)))}:function(){let r=aO(()=>a1(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return a$(e.length,r)},a$=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),aX=ai(2),aZ=(e,t,r,i,n,s)=>{let a="function"==typeof t?t:i.pop().bind(t.self);return a$(a.length,function(...t){let o=aO(()=>{let e=a.apply(this,arguments);return rn(e)?e:a1(e)});for(let e=0;e<i.length;e++)o=i[e](o,...t);if(!rn(o))return o;let A=Error.stackTraceLimit;nX(2);let l=new globalThis.Error;return nX(A),ou(n?AR(e,s,e=>Av(o,e)):o,s5,t=>({name:e,stack:aX(()=>l.stack),parent:{name:`${e} (definition)`,stack:aX(()=>r.stack),parent:t}}))})},a0=e=>{try{let t,r=e();for(;;){let i=r.next(t);if(i.done)return aU(i.value);let n=i.value;if(n&&"Success"===n._tag){t=n.value;continue}{if(n&&"Failure"===n._tag)return i.value;let t=!0;return aO(()=>t?(t=!1,a9(i.value,e=>a1(r,e))):aO(()=>a1(e())))}}}catch(e){return aG(e)}},a1=rQ({op:"Iterator",single:!1,[t6](e,t){let r=this[t8][0];for(;;){let i=r.next(e);if(i.done)return aU(i.value);if(!a7(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[t9](e){return this[t6](this[t8][1],e)}}),a2=eK(2,(e,t)=>{let r=aU(t);return a9(e,e=>r)}),a3=eK(2,(e,t)=>a9(e,e=>rn(t)?t:t2(()=>t(e)))),a5=eK(2,(e,t)=>a9(e,e=>a2(rn(t)?t:t2(()=>t(e)),e))),a4=e=>a9(e,e=>oa),a8=eK(e=>rn(e[1]),(e,t,r)=>{let i;return i=[e,t],rv(e=>aW(t=>{let n=!1,s=new Set,a=e=>{n=!0,t(0===s.size?e:a9(Ae(aF(s)),()=>e))},o=0;for(let t of i){if(n)break;let i=o++,A=Ag(e,t,!0,!0,!1);s.add(A),A.addObserver(t=>{s.delete(A);let o=!n;a(t),o&&r?.onWinner&&r.onWinner({fiber:A,index:i,parentFiber:e})})}return aF(s)}))}),a9=eK(2,(e,t)=>{let r=Object.create(a6);return r[t8]=e,r[t6]=1!==t.length?e=>t(e):t,r}),a6=rB({op:"OnSuccess",[t9](e){return e._stack.push(this),this[t8]}}),a7=e=>t5 in e,oe=eK(2,(e,t)=>a7(e)?"Success"===e._tag?t(e.value):e:a9(e,t)),ot=eK(2,(e,t)=>a9(e,e=>aU(t2(()=>t(e))))),or=eK(2,(e,t)=>a7(e)?oo(e,t):ot(e,t)),oi=eK(2,(e,t)=>a7(e)?oA(e,t):ox(e,t)),on=eK(2,(e,t)=>a7(e)?ol(e,t):oD(e,t)),os=e=>"Failure"===e._tag?r3(e.cause):r2(e),oa=rN(void 0),oo=eK(2,(e,t)=>"Success"===e._tag?rN(t(e.value)):e),oA=eK(2,(e,t)=>{if("Success"===e._tag)return e;let r=ao(e.cause);return r0(r)?e:rD(t(r.success))}),ol=eK(2,(e,t)=>{if("Success"===e._tag)return rN(t.onSuccess(e.value));let r=ao(e.cause);return r0(r)?e:rD(t.onFailure(r.success))}),oc=eK(2,(e,t)=>"Success"===e._tag?t:e),od=eK(2,(e,t)=>rv(r=>{let i=r.context,n=t(i);return i===n?e:(r.setContext(n),o0(e,()=>{r.setContext(i)}))})),ou=eK(3,(e,t,r)=>od(e,e=>{let i=st(e,t),n=r(i);return i===n?e:n7(e,t,n)})),og=rv(e=>aU(e.context)),oh=e=>rv(t=>e(t.context)),op=eK(2,(e,t)=>a7(e)?e:od(e,so(t))),om=function(){return 1==arguments.length?eK(2,(e,t)=>of(e,arguments[0],t)):eK(3,(e,t,r)=>of(e,t,r)).apply(this,arguments)},of=(e,t,r)=>od(e,e=>e.mapUnsafe.get(t.key)===r?e:n7(e,t,r)),oC=((e,t,r)=>a9(r,r=>om(e,t,r)),eK(e=>rn(e[0]),(e,t)=>AA({while:eZ,body:eX(t?.disableYield?e:a9(e,e=>aH)),step:e2}))),oy=eK(2,(e,t)=>{let r=Object.create(oI);return r[t8]=e,r[t7]=1!==t.length?e=>t(e):t,r}),oI=rB({op:"OnFailure",[t9](e){return e._stack.push(this),this[t8]}}),oE=((e,t,r)=>oy(e,e=>t(e)?t2(()=>r(e)):aT(e)),eK(3,(e,t,r)=>oy(e,e=>{let i=t(e);return r0(i)?aT(i.failure):t2(()=>r(i.success,e))}))),oB=eK(2,(e,t)=>oE(e,ao,e=>t(e))),oQ=eK(2,(e,t)=>oE(e,al,t)),ob=eK(2,(e,t)=>oy(e,e=>a3(t2(()=>t(e)),aT(e)))),oN=eK(3,(e,t,r)=>oy(e,e=>{let i=t(e);return r0(i)?aT(e):a3(t2(()=>r(i.success,e)),aT(e))})),oS=((e,t)=>oN(e,ao,e=>t(e)),eK(e=>rn(e[0]),(e,t,r,i)=>oy(e,e=>{let n=ao(e);return r0(n)?aT(n.failure):t(n.success)?t2(()=>r(n.success)):i?t2(()=>i(n.success)):aT(e)}))),ow=((e=>rn(e[0]),(e,t,r,i)=>oy(e,e=>{let n=ao(e);if(r0(n))return aT(n.failure);let s=t(n.success);return r0(s)?i?t2(()=>i(s.failure)):aT(e):t2(()=>r(s.success))})),eK(e=>rn(e[0]),(e,t,r,i)=>oS(e,Array.isArray(t)?e=>tA(e,"_tag")&&t.includes(e._tag):tl(t),r,i))),ox=eK(2,(e,t)=>oB(e,e=>aq(()=>t(e)))),oD=eK(2,(e,t)=>oF(e,{onFailure:e=>aq(()=>t.onFailure(e)),onSuccess:e=>aL(()=>t.onSuccess(e))})),oR=eK(e=>rn(e[0]),(e,t)=>{if(!t?.log)return oF(e,{onFailure:e=>az,onSuccess:e=>az});let r=A1(!0===t.log?void 0:t.log);return ok(e,{onFailure(e){let i,n=(i=e.reasons.find(rC))?r3(i):r2(e);return r0(n)?aT(n.failure):void 0===t.message?r(e):r(t.message,e)},onSuccess:e=>az})}),ov=e=>oT(e,{onFailure:r2,onSuccess:r3}),ok=eK(2,(e,t)=>{let r=Object.create(oM);return r[t8]=e,r[t6]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[t7]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),oM=rB({op:"OnSuccessAndFailure",[t9](e){return e._stack.push(this),this[t8]}}),oF=((e,t)=>ok(e,{onFailure:e=>aL(()=>t.onFailure(e)),onSuccess:e=>aL(()=>t.onSuccess(e))}),eK(2,(e,t)=>ok(e,{onFailure:e=>{let r=e.reasons.find(rC);return r?t2(()=>t.onFailure(r.error)):aT(e)},onSuccess:t.onSuccess}))),oU=eK(2,(e,t)=>oF(e,{onFailure:e=>aL(()=>t.onFailure(e)),onSuccess:e=>aL(()=>t.onSuccess(e))})),oT=eK(2,(e,t)=>{if(a7(e)){if("Success"===e._tag)return rN(t.onSuccess(e.value));let r=ao(e.cause);return r0(r)?e:rN(t.onFailure(r.success))}return oU(e,t)}),oL=e=>a7(e)?rN(e):oO(e),oO=rQ({op:"Exit",[t9](e){return e._stack.push(this),this[t8]},[t6]:(e,t,r)=>aU(r??rN(e)),[t7]:(e,t,r)=>aU(r??rx(e))}),oP=eK(2,(e,t)=>a8(e,a9(AO(t.duration),t.orElse))),oH=eK(2,(e,t)=>oP(e,{duration:t,orElse:()=>rD(new AH)})),oY="~effect/Scope",oG="~effect/Scope/Closeable",oq=n0("effect/Scope"),oz=(e,t)=>aO(()=>oV(e,t)??az),oV=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):o_(e,i,t)},o_=aK(function*(e,t,r){let i=[],n=[],s=Array.from(t.values()),a=aS();for(let t=s.length-1;t>=0;t--){let o=s[t];"sequential"===e.strategy?i.push((yield*oL(o(r)))):n.push(Ag(a,o(r),!0,!0,"inherit"))}return n.length>0&&(i=yield*av(n)),yield*(e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?oa:rx(rg(t))})(i)}),oJ=(e,t)=>aO(()=>"Closed"===e.state._tag?t(e.state.exit):(oW(e,{},t),az)),oW=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},oj=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},oK=(e="sequential")=>({[oG]:oG,[oY]:oY,strategy:e,state:o$}),o$={_tag:"Empty"},oX=om(oq),oZ=e=>aO(()=>{let t=oK();return o1(e(t),e=>aO(()=>oV(t,e)??az))}),o0=rQ({op:"OnExit",single:!1,[t9](e){return e._stack.push(this),this[t8][0]},[re](e){e.interruptible&&!0!==this[t8][2]&&(e._stack.push(Ar),e.interruptible=!1)},[t6](e,t,r){r??=rN(e);let i=this[t8][1](r);return i?a9(i,e=>r):r},[t7](e,t,r){r??=rx(e);let i=this[t8][1](r);return i?a9(i,e=>r):r}}),o1=eK(2,o0),o2=eK(2,(e,t)=>o1(e,e=>t)),o3=((e,t,r)=>o1(e,e=>t(e)?r(e):az),eK(3,(e,t,r)=>o1(e,e=>{let i=t(e);return r0(i)?az:r(i.success,e)}))),o5=eK(2,(e,t)=>o3(e,os,t)),o4=eK(3,(e,t,r)=>o1(e,e=>{if("Failure"!==e._tag)return az;let i=t(e.cause);return r0(i)?az:r(i.success,e.cause)})),o8=eK(2,(e,t)=>o4(ac,t)(e)),o9=eK(2,(e,t)=>aL(()=>{let r,i=sF(sm(t)),n=Number.isFinite(i),s=AS(!1),a=0,o=!1,A=a9(s.await,()=>r);return[rv(t=>{let l=t.getRef(Ak),c=n?l.currentTimeMillisUnsafe():0;return o||c<a?r??A:(o=!0,s.closeUnsafe(),r=void 0,o1(e,e=>aL(()=>{o=!1,a=l.currentTimeMillisUnsafe()+i,r=e,s.openUnsafe()})))}),aL(()=>{a=0,s.closeUnsafe(),r=void 0})]})),o6=eK(2,(e,t)=>ot(o9(e,t),e=>e[0])),o7=rv(e=>aT(aa(e.id))),Ae=e=>rv(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(Ar)),e)),At=rQ({op:"SetInterruptible",[re](e){if(e.interruptible=this[t8],e._interruptedCause&&e.interruptible)return()=>aT(e._interruptedCause)}}),Ar=At(!0),Ai=At(!1),An=e=>rv(t=>t.interruptible?e:(e=>{if(e.interruptible=!0,e._stack.push(Ai),e._interruptedCause)return aT(e._interruptedCause)})(t)??e),As=e=>rv(t=>t.interruptible?(t.interruptible=!1,t._stack.push(Ar),e(An)):e(e$)),Aa=(e,t)=>tc(e)?t?.mode==="result"?Al(e,ov,t):Al(e,e$,t):t?.discard?"result"===t.mode?Al(Object.values(e),ov,t):Al(Object.values(e),e$,t):aO(()=>{let r={};return a2(Al(Object.entries(e),([e,i])=>ot(t?.mode==="result"?ov(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),Ao=((e=>tc(e[0])&&!rn(e[0]),(e,t,r)=>ot(Al(e,(e,r)=>ov(t(e,r)),r),e=>nV(e,e$))),eK(3,(e,t,r)=>{let i=nT(e);return 0===i.length?aL(t):aO(()=>{let e=0,n=t();return ot(AA({while:()=>e<i.length,body:()=>r(n,i[e],e),step(t){n=t,e++}}),()=>n)})})),AA=rQ({op:"While",[t6](e,t){return(this[t8].step(e),this[t8].while())?(t._stack.push(this),this[t8].body()):oa},[t9](e){return this[t8].while()?(e._stack.push(this),this[t8].body()):oa}}),Al=eK(e=>"function"==typeof e[1],(e,t,r)=>rv(i=>{let n=r?.concurrency==="inherit"?i.getRef(s2):r?.concurrency??1,s="unbounded"===n?1/0:Math.max(1,n);if(1===s)return Ac(e,t,r);let a=nT(e),o=a.length;if(0===o)return r?.discard?az:aU([]);let A=r?.discard?void 0:Array(o),l=Au({f:t,out:A},a,{concurrency:s});return l?a2(l,A):aU(A)})),Ac=(e,t,r)=>aO(()=>{let i=r?.discard?void 0:[],n=e[Symbol.iterator](),s=n.next(),a=0;return a2(AA({while:()=>!s.done,body:()=>t(s.value,a++),step:e=>{i&&i.push(e),s=n.next()}}),i)}),Ad=e=>{let t=e.onItem,r=e.step;return(e,i,n)=>{let s,a,o,A,l,c=n?.start??0,d=n?.end??i.length,u=n?.concurrency??1,g=n?.orderedStep===!0&&u>1,h=!1,p=!1,m=c,f=g?Array(d):void 0,C=e=>{let t=rR(e);return A=t,h=!0,p=!0,a&&a.size>0?a9(Ae(aF(Array.from(a))),()=>t):t},y=(t,n,s)=>{if(!g)return r(e,t,n,s);if(A)return A;for(f[s]=n;m<d;){let t=f[m];if(void 0===t)return;f[m]=void 0;let n=m++,s=r(e,i[n],t,n);if(s)return s}},I=()=>{let r=!1;for(;!A&&c<d;c++){let n=i[c],d=l??t(e,n,c);if(a7(d)){if(A=y(n,d,c))break}else{if(1===u)return a9(oL(d),e=>(A=y(n,e,c),c++,A??I()??az));if(!s)return aW(e=>{let t;s=aS(),a=new Set,l=d,o=e;try{t=I()}catch(t){return e(C(t))}return t?e(t):aO(()=>(A=oa,p=!0,a?aF(a):az))});l=void 0;let e=Ag(s,d,!0,!0,"inherit");if(e._exit){if(A=y(n,e._exit,c))break;continue}a.add(e);let t=c;if(e.addObserver(i=>{a.delete(e);try{if(A){if(!p&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=rx(rg([e]))}else{let e=y(n,i,t);e&&(A="Failure"===e._tag?rx(rg(e.cause.reasons.slice())):e,I())}if(r){let e=I();e&&o(e)}else h&&0===a.size&&o(A??az)}catch(e){o(C(e))}}),a.size<u)continue;r=!0,c++;return}}if(h=!0,A){if(a&&a.size>0){let e=aR(s);a.forEach(t=>t.interruptUnsafe(s.id,e));return}if(o||"Failure"===A._tag)return A}else if(o)if(!a)return oa;else 0===a.size&&o(az)};return I()}},Au=Ad({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),Ag=((e,t,r)=>a9(e,e=>t(e)?aU(e):r(e)),(e,t,r=!1,i=!1,n=!1)=>{let s="inherit"===n?e.interruptible:!n,a=new aw(e.context,s);return r?a.evaluate(t):e.currentDispatcher.scheduleTask(()=>a.evaluate(t),0),i||a._exit||(e.children().add(a),a.addObserver(()=>e._children.delete(a))),a}),Ah=eK(e=>rn(e[0]),(e,t,r)=>rv(i=>{let n=Ag(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!n._exit)if("Closed"!==t.state._tag){let e={};oW(t,e,()=>{let e;return e=e=>e===n.id?az:ak(n),rv(t=>e(t.id))}),n.addObserver(()=>oj(t,e))}else n.interruptUnsafe(i.id,aR(i));return aU(n)})),Ap=eK(e=>rn(e[0]),(e,t)=>a9(oq,r=>Ah(e,r,t))),Am=e=>(t,r)=>{let i=new aw(r?.scheduler?n7(e,sH,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i},Af=eK(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return oW(t,r,()=>ak(e)),e.addObserver(()=>oj(t,r)),e}),AC=Am(n9),Ay=(Z=(X=Am(n9),(e,t)=>{let r=X(e,t);return new Promise(e=>{r.addObserver(t=>e(t))})}),(e,t)=>Z(e,t).then(e=>{if("Failure"===e._tag)throw ag(e.cause);return e.value})),AI=e=>{let t=Am(e);return e=>{if(a7(e))return e;let r=t(e,{scheduler:new sq("sync")});return r._dispatcher?.flush(),r._exit??rR(new Az(r))}},AE=AI(n9),AB=(p=AI(n9),e=>{let t=p(e);if("Failure"===t._tag)throw ag(t.cause);return t.value}),AQ=aU(!0),Ab=aU(!1);class AN{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),AQ}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](oa)};open=rv(e=>this._isOpen?Ab:(this._isOpen=!0,this.scheduleUnsafe(e)));release=rv(e=>this._isOpen?Ab:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=aW(e=>this._isOpen?e(az):(this.waiters.push(e),aL(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=aL(()=>this.closeUnsafe());whenOpen=e=>a9(this.await,()=>e);isOpen(){return this._isOpen}}let AS=e=>new AN(e??!1),Aw=BigInt(0),Ax={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:Aw,endTime:Aw,exit:oa},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},AD=e=>e?sr(e.annotations,sj)?"Span"===e._tag?AD(iN(e.parent)):ii():is(e):ii(),AR=(e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return rv(t=>{let n=((e,t,r)=>{let i,n=!e.getRef(s4)||r?.annotations&&sr(r.annotations,sj),s=r?.parent!==void 0?is(r.parent):r?.root?ii():AD(e.currentSpan);if(n){let e;e={name:t,parent:s,annotations:n7(r?.annotations??n9,sj,!0)},i=Object.assign(Object.create(Ax),e)}else{let n=e.getRef(sZ),a=e.getRef(Ak),o=e.getRef(s8),A=e.getRef(s9),l=e.getRef(s6),c=r?.level??e.getRef(sK),d=r?.links!==void 0?[...l,...r.links]:l.slice();for(let[l,u]of(i=n.span({name:t,parent:s,annotations:r?.annotations??n9,links:d,startTime:o?a.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??io(s),sampled:r?.sampled??((!iA(s)||!1!==s.value.sampled)&&!Aj(e.getRef(s$),c))}),Object.entries(A)))i.attribute(l,u);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i})(t,e,r),s=t.getRef(Ak);return o1(t2(()=>i(n)),e=>aL(()=>{"Ended"!==n.status._tag&&n.end(s.currentTimeNanosUnsafe(),e)}))})},Av=om(sW),Ak=n0("effect/Clock",{defaultValue:()=>new AF}),AM=0x80000000-1;class AF{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=aL(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return AT()}currentTimeNanos=aL(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(sF(e))}sleepMillis(e){return e<=0?aH:Number.isFinite(e)?aW(t=>{let r=e>AM?this.sleepMillis(e-AM):az,i=setTimeout(()=>t(r),Math.min(e,AM));return aL(()=>clearTimeout(i))}):aj}}let AU=(f=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*f:()=>(m??=BigInt(Date.now())*f-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),AT=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return AU;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),AL=e=>rv(t=>e(t.getRef(Ak))),AO=e=>AL(t=>t.sleep(sm(e))),AP=(e=>e.currentTimeMillis,"~effect/Cause/TimeoutError");class AH extends rF("TimeoutError"){[AP]=AP;constructor(e){super({message:e})}}let AY="~effect/Cause/IllegalArgumentError";class AG extends rF("IllegalArgumentError"){[AY]=AY;constructor(e){super({message:e})}}let Aq="~effect/Cause/AsyncFiberError";class Az extends rF("AsyncFiberError"){[Aq]=Aq;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let AV="~effect/Cause/UnknownError";class A_ extends rF("UnknownError"){[AV]=AV;constructor(e,t){super({message:t,cause:e})}}let AJ=n0("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),AW=r9(r4,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}}),Aj=r7(AW),AK=n0("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([A2,A3])}),A$=n0("effect/Logger/LogToStderr",{defaultValue:e0}),AX={"~effect/Logger":{_Message:e$,_Output:e$},pipe(){return eJ(this,arguments)}},AZ=e=>{let t=Object.create(AX);return t.log=e,t},A0=(e,t)=>{let r=e[0].replace(/[\s="]/g,"_");return`${r}=${t-e[1]}ms`},A1=e=>(...t)=>{let r;for(let e=0,i=t.length;e<i;e++){let i=t[e];ro(i)&&(r?t.splice(e,1):t=t.slice(0,e).concat(t.slice(e+1)),r=r?rg(r.reasons.concat(i.reasons)):i,e--)}return void 0===r&&(r=rh),rv(i=>{let n=e??i.currentLogLevel;if(Aj(i.minimumLogLevel,n))return az;let s=i.getRef(Ak),a=i.getRef(AK);if(a.size>0){let e=new Date(s.currentTimeMillisUnsafe());for(let s of a)s.log({cause:r,fiber:i,date:e,logLevel:n,message:t})}return az})},A2=AZ(({cause:e,date:t,fiber:r,logLevel:i,message:n})=>{let s=Array.isArray(n)?n.slice():[n];e.reasons.length>0&&s.push(aI(e));let a=t.getTime(),o=r.getRef(ar),A="";for(let e of o)A+=` ${A0(e,a)}`;let l=r.getRef(s7);Object.keys(l).length>0&&s.push(l);let c=r.getRef(AJ);(r.getRef(A$)?c.error:c.log)(`[${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}] ${i.toUpperCase()} (#${r.id})${A}:`,...s)}),A3=AZ(({cause:e,fiber:t,logLevel:r,message:i})=>{let n=t.getRef(Ak),s=t.getRef(s7),a=t.currentSpan;if(void 0===a||"ExternalSpan"===a._tag)return;let o={};for(let[e,t]of Object.entries(s))o[e]=t;o["effect.fiberId"]=t.id,o["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(o["effect.cause"]=aI(e)),a.event(tX(Array.isArray(i)&&1===i.length?i[0]:i),n.currentTimeNanosUnsafe(),o)}),A5=e=>void 0===e?rO:rD(rL(e)),A4=class extends ej{constructor(e){super(),e&&Object.assign(this,e)}},A8=rM,A9=rF,A6="~effect/time/DateTime",A7="~effect/time/DateTime/TimeZone",le={[A6]:A6,pipe(){return eJ(this,arguments)},[tK](){return this.toString()},toJSON(){return lQ(this).toJSON()}},lt={...le,_tag:"Utc",[td](){return tf(this.epochMilliseconds)},[tx](e){return lo(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${lQ(this).toJSON()})`}},lr={...le,_tag:"Zoned",[td](){return th(tf(this.epochMilliseconds))(tu(this.zone))},[tx](e){return lo(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&tD(this.zone,e.zone)},toString(){return`DateTime.Zoned(${lO(this)})`}},li={[A7]:A7,[tK](){return this.toString()}},ln={...li,_tag:"Named",[td](){return tC(`Named:${this.id}`)},[tx](e){return ll(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},ls={...li,_tag:"Offset",[td](){return tC(`Offset:${this.offset}`)},[tx](e){return ll(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${lS(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},la=(e,t,r)=>{let i=Object.create(lr);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},lo=e=>tA(e,A6),lA=e=>lo(e[0]),ll=e=>tA(e,A7),lc=((e,t)=>e.epochMilliseconds===t.epochMilliseconds,e=>{let t=Object.create(lt);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t}),ld=e=>{let t=e.getTime();if(Number.isNaN(t))throw new AG("Invalid date");return lc(t)},lu=e=>{if(lo(e))return e;if(e instanceof Date)return ld(e);if("object"==typeof e){if("epochMilliseconds"in e)return lc(e.epochMilliseconds);let t=new Date(0);return lx(t,e),ld(t)}return"string"!=typeof e||lg(e)?ld(new Date(e)):ld(new Date(e+"Z"))},lg=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),lh=iS((e,t)=>{let r,i=t?.timeZone;if(void 0===i&&lo(e)&&"Zoned"===e._tag)return e;let n=lu(e);if(n.epochMilliseconds<-86399999568e5||n.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${n.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=ly(-60*new Date(n.epochMilliseconds).getTimezoneOffset()*1e3);else if(ll(i))r=i;else if("number"==typeof i)r=ly(i);else{let e=lB(i);if(io(e))throw new AG(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?la(n.epochMilliseconds,r,n.partsUtc):lD(n.epochMilliseconds,r,t?.disambiguation??"compatible")}),lp=iS(lu),lm=/^(.{17,35})\[(.+)\]$/,lf=((e,t,r)=>r?.adjustForTimeZone===!0?lD(e.epochMilliseconds,t,r?.disambiguation??"compatible"):la(e.epochMilliseconds,t,e.partsUtc),new Map),lC={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},ly=e=>{let t=Object.create(ls);return t.offset=e,t},lI=iS(e=>{if(lf.has(e))return lf.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...lC,timeZone:e});let r=t.resolvedOptions().timeZone;if(lf.has(r))return lf.get(r);let i=Object.create(ln);return i.id=r,i.format=t,lf.set(r,i),i}catch{throw new AG(`Invalid time zone: ${e}`)}}),lE=/^(?:GMT|[+-])/,lB=e=>{if(lE.test(e)){let t=lv(e);return null===t?ii():is(ly(t))}return lI(e)},lQ=e=>new Date(e.epochMilliseconds),lb=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},lN=e=>lb(e).getTime()-lw(e),lS=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},lw=e=>e.epochMilliseconds,lx=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},lD=(e,t,r)=>{if("Offset"===t._tag)return la(e-t.offset,t);let i=lk(e-864e5,e,t),n=lk(e+864e5,e,t);if(i===n)return la(e-i,t);let s=i-n;if(i<n){if(lk(e-n,e,t)===n)return la(e-n,t);let s=la(e-i,t);if(e!==lb(s).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return la(e-n,t)}return s}if(lk(e-i,e,t)===i){if("earlier"===r||"compatible"===r||lk(e-i+s,e+s,t)===i)return la(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return la(e-n,t)},lR=/([+-])(\d{2}):(\d{2})$/,lv=e=>{let t=lR.exec(e);if(null===t)return null;let[,r,i,n]=t;return("+"===r?1:-1)*(60*Number(i)+Number(n))*6e4},lk=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let n=lv(i);return null===n?lN(la(t,r)):n},lM=eK(lA,(e,t,r)=>{if("Utc"===e._tag){let r=lQ(e);return t(r),lc(r.getTime())}let i=new Date(lb(e).getTime());return t(i),lD(i.getTime(),e.zone,r?.disambiguation??"compatible")}),lF=((e,t)=>lF(e,e=>{let r=new Date(e);return t(r),r.getTime()}),eK(2,(e,t)=>{let r=t(lw(e));return"Utc"===e._tag?lc(r):la(r,e.zone)})),lU=((e,t)=>t(lb(e)),eK(2,(e,t)=>t(lQ(e)))),lT=(e,t)=>{e.setTime(e.getTime()+t)},lL=((e,t)=>lM(e,e=>{if(t.milliseconds&&lT(e,t.milliseconds),t.seconds&&lT(e,1e3*t.seconds),t.minutes&&lT(e,60*t.minutes*1e3),t.hours&&lT(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=lb(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${lS(lN(e))}`}),lO=e=>"Offset"===e.zone._tag?lL(e):`${lL(e)}[${e.zone.id}]`,lP={"~effect/Deferred":{_A:e$,_E:e$},pipe(){return eJ(this,arguments)}},lH=()=>{let e=Object.create(lP);return e.resumes=void 0,e.effect=void 0,e},lY=e=>aW(t=>e.effect?t(e.effect):(e.resumes??=[],e.resumes.push(t),aL(()=>{let r=e.resumes.indexOf(t);e.resumes.splice(r,1)}))),lG=eK(2,(e,t)=>aL(()=>lV(e,t))),lq=e=>aL(()=>lz(e)),lz=e=>void 0!==e.effect,lV=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0},l_=(e,t)=>{let r=oK(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return oW(e,i,e=>oz(r,e)),oW(r,i,t=>aL(()=>oj(e,i))),r},lJ="~effect/Layer/MemoMap",lW={"~effect/Layer":{_ROut:e$,_E:e$,_RIn:e$},pipe(){return eJ(this,arguments)}},lj=e=>{let t=Object.create(lW);return t.build=e,t},lK=e=>lj((t,r)=>{let i=l_(r);return o1(e(t,i),e=>"Failure"===e._tag?oz(i,e):az)});class l${get[lJ](){return lJ}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,a3(oJ(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let n,s,a,o=this.get(e,t);return o?o:(i=this,n=oK(),a={observers:1,effect:lY(s=lH()),finalizer:t=>aO(()=>(a.observers--,0===a.observers)?(i.map.delete(e),oz(n,t)):az)},i.map.set(e,a),oJ(t,a.finalizer).pipe(a9(()=>r(i,n)),o1(e=>(a.effect=e,lG(s,e)))))}}let lX=()=>new l$;class lZ extends n0()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=se(e,lZ);return t?new l$(t):lX()}}let l0=eK(3,(e,t,r)=>om(ot(e.build(t,r),n7(lZ,t)),lZ,t)),l1=eK(2,(e,t)=>rv(r=>l0(e,lZ.forkOrCreate(r.context),t))),l2=function(){return 1==arguments.length?e=>l3(n6(arguments[0],e)):l3(n6(arguments[0],arguments[1]))},l3=e=>lj(eX(aU(e))),l5=function(){return 1==arguments.length?e=>l4(arguments[0],e):l4(arguments[0],arguments[1])},l4=(e,t)=>l8(ot(t,t=>n6(e,t))),l8=e=>{var t;let r;return t=(t,r)=>oX(e,r),r=lK((e,i)=>e.getOrElseMemoize(r,i,t))},l9=(e,t,r)=>{let i=l_(r,"parallel");return Al(e,e=>e.build(t,l_(i,"sequential")),{concurrency:e.length}).pipe(ot(e=>((...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return n5(t)})(...e)))},l6=(...e)=>lK((t,r)=>l9(e,t,r)),l7=(e,t,r)=>lK((i,n)=>a9(Array.isArray(t)?l9(t,i,n):t.build(i,n),t=>e.build(i,n).pipe(op(t),ot(e=>r(e,t))))),ce=eK(2,(e,t)=>l7(e,t,e$)),ct=eK(2,(e,t)=>l7(e,t,(e,t)=>so(t,e))),cr=eK(2,(e,t)=>oE(e,cs,e=>t(e))),ci=e=>"Fail"===e._tag&&tA(e.error,rU),cn=sP(ao,e=>tA(e,rU)?r3(e):r2(e)),cs=sP(ao,e=>tA(e,rU)?r3(e.value):r2(e)),ca=e=>{let t=cn(e);return r0(t)?rx(t.failure):rN(t.success.value)},co=eK(2,(e,t)=>ok(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=cn(e);return r0(r)?t.onFailure(r.failure):t.onDone(r.success.value)}})),cA="~effect/Schedule",cl=n0("effect/Schedule/CurrentMetadata",{defaultValue:eX({input:void 0,output:void 0,duration:sb,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),cc={[cA]:{_Out:e$,_In:e$,_Env:e$},pipe(){return eJ(this,arguments)}},cd=e=>{let t=Object.create(cc);return t.step=e,t},cu=()=>{let e,t,r=0;return(i,n)=>{void 0===t&&(t=i);let s=i-t,a=void 0===e?0:i-e;return e=i,{input:n,attempt:++r,start:t,now:i,elapsed:s,elapsedSincePrevious:a}}},cg=e=>cd(ot(e,e=>{let t=cu();return(r,i)=>e(t(r,i))})),ch=e=>oy(e.step,e=>aU(()=>aT(e))),cp=e=>AL(t=>ot(ch(e),e=>{let r=cu();return i=>aO(()=>{let n=t.currentTimeMillisUnsafe();return a9(e(n,i),([e,t])=>{let s=r(n,i);return s.output=e,s.duration=t,a2(AO(t),s)})})})),cm=(e,t=2)=>{let r=sF(sm(e));return cg(aU(e=>{let i=sx(r*Math.pow(t,e.attempt-1));return aU([i,i])}))},cf=e=>cd(ot(ch(e),e=>(t,r)=>co(e(t,r),{onSuccess:e=>aU([r,e[1]]),onFailure:aT,onDone:()=>A5(r)}))),cC=eK(2,(e,t)=>cd(ot(ch(e),e=>{let r=cu();return(i,n)=>a9(e(i,n),e=>{let[s,a]=e,o=t({...r(i,n),output:s,duration:a});return a9(rn(o)?o:aU(o),t=>t?aU(e):A5(s))})}))),cy=(C=sm(sb),cg(aU(e=>aU([e.attempt-1,C])))),cI=eK(e=>rn(e[0]),(e,t,r)=>{let i;return n8(t)?op(e,t):(i=Array.isArray(t)?l6(...t):t,oZ(t=>a9(r?.local?l0(i,lX(),t):l1(i,t),t=>op(e,t))))}),cE=((e,t,r)=>a9(cp(t),t=>{let i=cl.defaultValue();return oB(oC(a5(a9(aO(()=>om(e,cl,i)),t),e=>aL(()=>{i=e})),{disableYield:!0}),e=>tA(e,rU)?aU(e.value):r(e,0===i.attempt?ii():is(i)))}),eK(3,(e,t,r)=>a9(cp(t),t=>{let i,n=cl.defaultValue(),s=oB(aO(()=>om(e,cl,n)),e=>(i=e,a9(t(e),e=>(n=e,s))));return cr(s,e=>t2(()=>r(i,e)))}))),cB=eK(2,(e,t)=>cE(e,"function"==typeof t?t(e$):tA(t,cA)?t:cb(t),rD)),cQ=cf(cy),cb=e=>{let t=e.schedule?cf(e.schedule):cQ;return e.while&&(t=cC(t,({input:t})=>{let r=e.while(t);return rn(r)?r:aU(r)})),e.until&&(t=cC(t,({input:t})=>{let r=e.until(t);return rn(r)?ot(r,e=>!e):aU(!r)})),void 0!==e.times&&(t=cC(t,({attempt:t})=>aU(t<=e.times))),t},cN=cC(cy,({attempt:e})=>aU(e<=1)),cS=(en={_E:e=>e,_A:e=>e,_R:e=>e},e8.add(en),en);({...{[td](){return ty(this,Object.keys(this))},[tx](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!tD(this[t[i]],e[t[i]]))return!1;return!0}},"~effect/Request":cS});let cw=e=>a_(function(t,r){t2(()=>e(r)).then(e=>t(aU(e)),e=>t(aG(e)))},0!==e.length),cx=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new A_(e,"An error occurred in Effect.tryPromise"):e.catch;return a_(function(e,i){let n=t=>{try{e(rD(t2(()=>r(t))))}catch(t){e(aG(t))}};try{t2(()=>t(i)).then(t=>e(aU(t)),n)}catch(e){n(e)}},0!==t.length)},cD=(...e)=>aO(()=>a1(1===e.length?e[0]():e[1].call(e[0].self))),cR=e=>aO(()=>aT(t2(e))),cv=e=>oU(e,{onFailure:ii,onSuccess:is}),ck=e=>rv(t=>{let r=t.context,i=oK();return t.setContext(n7(t.context,oq,i)),o0(e,e=>(t.setContext(r),oV(i,e)))}),cM=(e,t,r)=>oh(i=>As(n=>a9(oq,s=>a5(r?.interruptible?n(e):e,e=>oJ(s,r=>op(t(e,r),i)))))),cF=(e,t,r)=>As(i=>a9(e,e=>o0(i(t(e)),t=>r(e,t),!0))),cU=e=>o6(e,sN),cT=(...e)=>rv(t=>{let r=t.currentSpanLocal;if(r)if(1===e.length)for(let[t,i]of Object.entries(e[0]))r.attribute(t,i);else r.attribute(e[0],e[1]);return az}),cL=function(){let e=rn(arguments[0]),t=e?arguments[1]:arguments[0],r=e?arguments[2]:arguments[1],i=e$;if("Span"===t._tag){var n,s;r=(e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=Error.stackTraceLimit;nX(3);let r=Error();return nX(t),{...e,captureStackTrace:an(()=>r.stack)}})(r),n=t.name,s="function"==typeof(s=r?.captureStackTrace)?s:e2,i=ou(s5,e=>({name:n,stack:s,parent:e}))}return e?Av(i(arguments[0]),t):e=>Av(i(e),t)},cO=function(){let e="string"==typeof arguments[0],t=e?arguments[0]:"Effect.fn",r=e?arguments[1]:void 0,i=Error.stackTraceLimit;nX(2);let n=new globalThis.Error;return(nX(i),e)?(i,...s)=>aZ(t,i,n,s,e,r):aZ(t,arguments[0],n,Array.prototype.slice.call(arguments,1),e,r)},cP=A1("Warn"),cH=A1("Error"),cY=A1("Info"),cG=A1("Debug"),cq=eK(e=>rn(e[0]),(e,...t)=>ou(e,s7,e=>{let r={...e};return 1===t.length?Object.assign(r,t[0]):r[t[0]]=t[1],r})),cz=(e,t,r)=>(...i)=>aW(n=>{try{e(...i,(e,r)=>{e?n(rD(t?t(e,i):e)):n(aU(r))})}catch(e){n(r?rD(r(e,i)):aG(e))}}),cV=(e,...t)=>a$(e.length,0===t.length?function(){return a0(()=>e.apply(this,arguments))}:function(){let r=a0(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),c_="~effect/encoding/EncodingError";class cJ extends A9("EncodingError"){[c_]=c_}let cW=e=>"string"==typeof e?cZ(cK.encode(e)):cZ(e),cj=e=>{let t=cX(e),r=t.length;if(r%4!=0)return r2(new cJ({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return r2(new cJ({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,n=0;e<r;e+=4,n+=3){let r=c0(t.charCodeAt(e))<<18|c0(t.charCodeAt(e+1))<<12|c0(t.charCodeAt(e+2))<<6|c0(t.charCodeAt(e+3));i[n]=r>>16,i[n+1]=r>>8&255,i[n+2]=255&r}return r3(i)}catch(e){return r2(new cJ({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},cK=new TextEncoder,c$=new TextDecoder,cX=e=>e.replace(/[\n\r]/g,""),cZ=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=c1[e[t-2]>>2],i+=c1[(3&e[t-2])<<4|e[t-1]>>4],i+=c1[(15&e[t-1])<<2|e[t]>>6],i+=c1[63&e[t]];return t===r+1&&(i+=c1[e[t-2]>>2],i+=c1[(3&e[t-2])<<4],i+="=="),t===r&&(i+=c1[e[t-2]>>2],i+=c1[(3&e[t-2])<<4|e[t-1]>>4],i+=c1[(15&e[t-1])<<2],i+="="),i};function c0(e){if(e>=c2.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=c2[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let c1=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],c2=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],c3=e=>cZ(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),c5=e=>{let t="";for(let r=0;r<e.length;++r)t+=c8[e[r]];return t},c4=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},c8=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function c9(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}function c6(e){return t=>(t.checks?t.checks[t.checks.length-1].annotations:t.annotations)?.[e]}let c7=c6("identifier"),de=c6("title"),dt=c6("brands"),dr=e5(e=>{let t=c7(e);return"string"==typeof t?t:e.getExpected(dr)}),di=new WeakMap,dn=e=>{if(di.has(e))return di.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))},ds="~effect/data/Redacted",da=(e,t)=>{let r=Object.create(dA);return t?.label&&(r.label=t.label),di.set(r,e),r},dA={[ds]:{_A:e=>e},label:void 0,...rr,toJSON(){return this.toString()},toString(){return`<redacted${e9(this.label)?":"+this.label:""}>`},[td](){return tu(di.get(this))},[tx](e){return tA(e,ds)&&tD(di.get(this),di.get(e))}},dl="~effect/SchemaIssue/Issue";class dc{[dl]=dl;toString(){return dS(this)}}class dd extends dc{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class du extends dc{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class dg extends dc{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class dh extends dc{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class dp extends dc{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class dm extends dc{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class df extends dc{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class dC extends dc{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class dy extends dc{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class dI extends dc{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class dE extends dc{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function dB(e,t){if(tA(t,dl))return t;if("string"==typeof t)return new dC(is(e),{message:t});let r="string"==typeof t.issue?new dC(is(e),{message:t.issue}):t.issue;return new dg(t.path,r)}let dQ=e=>{let t=dx(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return dN(dr(e.ast),dR(e.actual));case"InvalidValue":return`Invalid data ${dR(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${tV(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${tV(e.actual)}`}},db=e=>dx(e.issue)??dx(e);function dN(e,t){return`Expected ${e}, got ${t}`}let dS=e=>(function e(t,r,i,n){switch(t._tag){case"Filter":{let s=n(t);if(void 0!==s)return[{path:r,message:s}];if("InvalidValue"===t.issue._tag)return[{path:r,message:dN(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),tV(t.actual))}];return e(t.issue,r,i,n)}case"Encoding":return e(t.issue,r,i,n);case"Pointer":return e(t.issue,[...r,...t.path],i,n);case"Composite":return t.issues.flatMap(t=>e(t,r,i,n));case"AnyOf":{let s=dx(t);if(0===t.issues.length){if(void 0!==s)return[{path:r,message:s}];return[{path:r,message:dN(dr(t.ast),tV(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,n))}default:return[{path:r,message:i(t)}]}})(e,[],dQ,db).map(dw).join("\n");function dw(e){let t=e.message;if(e.path&&e.path.length>0){let r=e.path.map(e=>`[${tJ(e)}]`).join("");t+=` + at ${r}`}return t}function dx(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return dD(e.ast.annotations);case"InvalidValue":case"Forbidden":return dD(e.annotations);case"MissingKey":return dD(e.annotations,"messageMissingKey");case"UnexpectedKey":return dD(e.ast.annotations,"messageUnexpectedKey");case"Filter":return dD(e.filter.annotations);case"Encoding":return dx(e.issue)}}function dD(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function dR(e){return io(e)?"no value provided":tV(e.value)}function dv(e){let t;for(let r of e.reasons){if(!rC(r)||!tA(r.error,dl))return;t??=r.error}return t}function dk(e,t){let r=dv(e);if(void 0===r)throw Error(t,{cause:e});return r}class dM extends ej{run;constructor(e){super(),this.run=e}map(e){return new dM((t,r)=>this.run(t,r).pipe(or(iD(e))))}compose(e){return dU(this)?e:dU(e)?this:new dM((t,r)=>this.run(t,r).pipe(oe(t=>e.run(t,r))))}}let dF=new dM(aU);function dU(e){return e.run===dF.run}function dT(e){var t;return t=iD(e),new dM(e=>aU(t(e)))}function dL(e){var t;return t=(t,r)=>e(t,r).pipe(or(is)),new dM((e,r)=>io(e)?aY:t(e.value,r))}function dO(){return dT(globalThis.String)}function dP(){return dT(globalThis.Number)}class dH{_tag="Middleware";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new dH(this.encode,this.decode)}}let dY="~effect/SchemaTransformation/Transformation";class dG{[dY]=dY;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new dG(this.encode,this.decode)}compose(e){return new dG(this.decode.compose(e.decode),e.encode.compose(this.encode))}}let dq=e=>tA(e,dY)?e:new dG(e.decode,e.encode);function dz(e){return new dG(dL(e.decode),dL(e.encode))}function dV(e){return new dG(dT(e.decode),dT(e.encode))}let d_=new dG(dF,dF),dJ=new dG(dP(),dO()),dW=new dG(dT(globalThis.BigInt),dO());dT(e=>new globalThis.Date(e));let dj=e=>{let t;return"object"!=typeof e||null===e||Array.isArray(e)||"string"!=typeof e.message?e:(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:dj(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t)};function dK(e){return t=>t._tag===e}dL(e=>oi(aP(cj(e)),t=>new dC(is(e),{message:t.message}))),dT(cW),dL(e=>nM(nk(cj(e),e=>c$.decode(e)),{onFailure:t=>rD(new dC(is(e),{message:t.message})),onSuccess:aU})),dT(cW),dL(e=>nM(nk((e=>{let t=cX(e),r=t.length;if(r%4==1)return r2(new cJ({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return r2(new cJ({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return cj(i=i.replace(/-/g,"+").replace(/_/g,"/"))})(e),e=>c$.decode(e)),{onFailure:t=>rD(new dC(is(e),{message:t.message})),onSuccess:aU})),dT(e=>"string"==typeof e?c3(cK.encode(e)):c3(e)),dL(e=>nM(nk((e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return r2(new cJ({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=c4(t[2*i]),n=c4(t[2*i+1]);r[i]=e<<4|n}return r3(r)}catch(t){return r2(new cJ({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}})(e),e=>c$.decode(e)),{onFailure:t=>rD(new dC(is(e),{message:t.message})),onSuccess:aU})),dT(e=>"string"==typeof e?c5(cK.encode(e)):c5(e)),dL(e=>{try{return aU(globalThis.decodeURIComponent(e))}catch(t){return rD(new dC(is(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}}),dT(encodeURIComponent);let d$=dK("Declaration"),dX=dK("Never"),dZ=dK("Literal"),d0=dK("UniqueSymbol"),d1=dK("Arrays"),d2=dK("Objects"),d3=dK("Union");class d5{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let d4={};class d8{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let d9="~effect/Schema";class d6{[d9]=d9;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class d7 extends d6{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,n,s,a){super(r,i,n,s),this.typeParameters=e,this.run=t,this.encodingChecks=a}getParser(){let e=this.run(this.typeParameters);return(t,r)=>io(t)?aY:or(e(t.value,this,r),is)}_rebuild(e,t,r){let i=uj(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new d7(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let ue=new class extends d6{_tag="Null";getParser(){return u3(this,null)}getExpected(){return"null"}},ut=new d5(ue,new dG(dT(()=>void 0),dT(()=>null))),ur=new class extends d6{_tag="Undefined";getParser(){return u3(this,void 0)}toCodecJson(){return uY(this,[ut])}getExpected(){return"undefined"}},ui=new class extends d6{_tag="Unknown";getParser(){return u5(this,to)}getExpected(){return"unknown"}};class un extends d6{_tag="Literal";literal;constructor(e,t,r,i,n){if(super(t,r,i,n),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${tV(e)}`);this.literal=e}getParser(){return u3(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?us(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:us(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function us(e){let t=globalThis.String(e.literal);return uY(e,[new d5(new un(t),new dG(dT(()=>e.literal),dT(()=>t)))])}let ua=new class extends d6{_tag="String";getParser(){return u5(this,e9)}matchPart(e,t){return u4(this,e,t)}getExpected(){return"string"}};function uo(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return uo(e.checks,t)}})}let uA=new class extends d6{_tag="Number";getParser(){return u5(this,e6)}matchKey(e,t){return this._match(ge,e,t)}matchPart(e,t){return this._match(u7,e,t)}_match(e,t,r){return e.test(t)?u4(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(uo(this.checks,"isFinite")||uo(this.checks,"isInt"))?this:uY(this,[uM])}toCodecStringTree(){return this.checks&&(uo(this.checks,"isFinite")||uo(this.checks,"isInt"))?uY(this,[gr]):uY(this,[gi])}getExpected(){return"number"}},ul=new class extends d6{_tag="Boolean";getParser(){return u5(this,e7)}getExpected(){return"boolean"}},uc=new class extends d6{_tag="Symbol";getParser(){return u5(this,tt)}matchKey(e,t){return u4(this,e,t)}toCodecStringTree(){return uY(this,[go])}getExpected(){return"symbol"}},ud=new class extends d6{_tag="BigInt";getParser(){return u5(this,te)}matchPart(e,t){return gn.test(e)?u4(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return uY(this,[gs])}getExpected(){return"bigint"}};class uu extends d6{_tag="Arrays";isMutable;elements;rest;encodingChecks;constructor(e,t,r,i,n,s,a,o){super(i,n,s,a),this.isMutable=e,this.elements=t,this.rest=r,this.encodingChecks=o;let A=t.findIndex(uZ);if(-1!==A&&(t.slice(A+1).some(e=>!uZ(e))||r.length>1))throw Error("A required element cannot follow an optional element. ts(1257)");if(r.length>1&&r.slice(1).some(uZ))throw Error("An optional element cannot follow a rest element. ts(1266)")}getParser(e){let t=this,r=t.elements.map(t=>({ast:t,parser:e(t)})),i=t.rest.map(t=>({ast:t,parser:e(t)})),n=r.length,[s,...a]=i,o=a.length;function A(e,t){return t<n?r[t]:t>=e?a[t-e]:s}return cV(function*(e,r){if("None"===e._tag)return e;let i=e.value;if(!Array.isArray(i))return yield*rD(new df(t,e));let s=i.length,a={ast:t,getParser:A,oinput:e,len:s,tailThreshold:Math.max(n,s-o),output:new globalThis.Array(s),issues:void 0,options:r},l=uh(r?.concurrency),c=ug(a,i,{concurrency:l?.concurrency,end:0===t.rest.length?n:Math.max(s,n+o)});if(c&&(yield*c),0===t.rest.length&&s>n)for(let o=n;o<=s-1;o++){let n=new dg([o],new dp(t,i[o]));if("all"!==r.errors)return yield*rD(new dm(t,e,[n]));a.issues?a.issues.push(n):a.issues=[n]}return a.issues?yield*rD(new dm(t,e,a.issues)):is(a.output)})}_rebuild(e,t,r){let i=uj(this.elements,e),n=uj(this.rest,e);return i===this.elements&&n===this.rest&&t===this.checks&&r===this.encodingChecks?this:new uu(this.isMutable,i,n,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){return"array"}}let ug=Ad({onItem(e,t,r){let i=r<e.len?is(t):ii();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return up(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(uZ(t.ast))return;let r=new dg([i],new dh(t.ast.context?.annotations));if("all"!==e.options.errors)return rD(new dm(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),uh=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,up=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let n=dv(i.cause);if(void 0===n)return rx(au(i.cause,i=>new dm(t,e.oinput,[new dg([r],i)])));let s=new dg([r],n);if("all"!==e.options.errors)return rD(new dm(t,e.oinput,[s]));e.issues?e.issues.push(s):e.issues=[s]},um="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class uf{name;type;constructor(e,t){this.name=e,this.type=t}}class uC{decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new uC(this.encode,this.decode)}}function uy(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(uy);default:return!1}}class uI{parameter;type;merge;constructor(e,t,r){if(!(uy(e)&&uy(u1(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,uZ(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class uE extends d6{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,i,n,s,a){super(r,i,n,s),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=a;let o=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(o.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(o)}. ts(2300)`)}getParser(e){let t=this,r=[],i=new Set,n=[];for(let s of t.propertySignatures)r.push(s.name),i.add(s.name),n.push({ps:s,parser:e(s.type),name:s.name,type:s.type});let s=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return u5(t,ta);let a=s>0?Ad({onItem:cV(function*(r,[n,s]){let a=e(u8(s.parameter))(is(n),r.options),o=a7(a)?a:yield*oL(a);if("Failure"===o._tag){let e=up(r,t,n,o);e&&(yield*e);return}let A=is(r.input[n]),l=e(s.type)(A,r.options),c=a7(l)?l:yield*oL(l);if("Failure"===c._tag){let e=up(r,t,n,c);e&&(yield*e);return}if("Some"===o.value._tag&&"Some"===c.value._tag){let e=o.value.value;if(i.has(n)||i.has(e))return;let t=c.value.value;if(s.merge&&s.merge.decode&&Object.hasOwn(r.out,e)){let[i,n]=s.merge.decode.combine([e,r.out[e]],[e,t]);c9(r.out,i,n)}else c9(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return cV(function*(e,o){let A;if("None"===e._tag)return e;let l=e.value;if(!("object"==typeof l&&null!==l&&!Array.isArray(l)))return yield*rD(new df(t,e));let c={},d={ast:t,oinput:e,input:l,out:c,issues:void 0,options:o},u="all"===o.errors,g="error"===o.onExcessProperty,h="preserve"===o.onExcessProperty;if(0===t.indexSignatures.length&&(g||h)){A=Reflect.ownKeys(l);for(let r=0;r<A.length;r++){let n=A[r];if(!i.has(n))if(g){let r=new dg([n],new dp(t,l[n]));if(!u)return yield*rD(new dm(t,e,[r]));d.issues?d.issues.push(r):d.issues=[r];continue}else c9(c,n,l[n])}}let p=uh(o?.concurrency),m=uB(d,n,p);if(m&&(yield*m),a){let e=nG();for(let r=0;r<s;r++){let i=t.indexSignatures[r],n=function(e,t,r=d4){let i,n;return function t(s){switch(s._tag){case"String":case"TemplateLiteral":return(i??=Object.keys(e)).filter(e=>void 0!==s.matchPart(e,r));case"Number":return(i??=Object.keys(e)).filter(e=>void 0!==s.matchKey(e,r));case"Symbol":return(n??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==s.matchKey(e,r));case"Union":return[...new Set(s.types.flatMap(t))];default:return[]}}(u8(u1(t)))}(l,i.parameter,o);for(let t=0;t<n.length;t++){let r=n[t];e.push([r,i])}}let r=a(d,e,p);r&&(yield*r)}if(d.issues)return yield*rD(new dm(t,e,d.issues));if("original"===o.propertyOrder){let e=(A??Reflect.ownKeys(l)).concat(r),t={};for(let r of e)Object.hasOwn(c,r)&&c9(t,r,c[r]);return is(t)}return is(c)})}_rebuild(e,t,r,i,n){let s=uj(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new uf(t.name,r)}),a=uj(this.indexSignatures,i=>{let n=t(i.parameter),s=e(i.type),a=r?i.merge?.flip():i.merge;return n===i.parameter&&s===i.type&&a===i.merge?i:new uI(n,s,a)});return s===this.propertySignatures&&a===this.indexSignatures&&i===this.checks&&n===this.encodingChecks?this:new uE(s,a,this.annotations,i,void 0,this.context,n)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let uB=Ad({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?is(e.input[t.name]):ii();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return up(e,e.ast,t.name,r);if("Some"===r.value._tag)c9(e.out,t.name,r.value.value);else if(!uZ(t.type)){let r=new dg([t.name],new dh(t.type.context?.annotations));return"all"!==e.options.errors?rD(new dm(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function uQ(e,t){return e?t?[...e,...t]:e:t}function ub(e,t,r){return new uE(Reflect.ownKeys(e).map(t=>new uf(t,e[t].ast)),[],r,t)}function uN(e){return e.ast}function uS(e,t,r){return new uR(e.map(uN),t,void 0,r)}function uw(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!uZ(t)){if(dZ(t))return[{key:e.name,literal:t.literal}];if(d0(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>dZ(e)&&!uZ(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return uw(e.thunk())}}let ux=new WeakMap;function uD(e){return t=>{let r=u1(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class uR extends d6{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,n,s,a){super(r,i,n,s),this.types=e,this.mode=t,this.encodingChecks=a}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return aU(r);let n=r.value,s=function(e,t){let r=function(e){let t=ux.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=u1(e[r]);if(dX(i))continue;let n=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),s=uw(i);for(let e of(t.byType??={},n))(t.byType[e]??=[]).push(r);if(s.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,s)){let n=t.bySentinel.get(e);n||t.bySentinel.set(e,n=new Map);let s=n.get(i);s||n.set(i,s=[]),s.push(r)}else for(let e of(t.otherwise??={},n))(t.otherwise[e]??=[]).push(r)}return ux.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let n=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(n);for(let[t,n]of r.bySentinel)if(Object.hasOwn(e,t)){let r=n.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(uD(e))}return n.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(uD(e))}(n,t.types),a={ast:t,recur:e,oinput:r,input:n,out:void 0,successes:[],issues:void 0,options:i},o=uh(i?.concurrency),A=uv(a,s,o?{...o,orderedStep:!0}:void 0);return A?a9(A,e=>a.out?aU(a.out):rD(new dI(t,n,a.issues??[]))):a.out?aU(a.out):rD(new dI(t,n,a.issues??[]))}}_rebuild(e,t,r){let i=uj(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new uR(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=u1(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(dZ);if(t.length>0)return`${uF(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>dZ(e.type));if(t.length>0)return`{ ${t.map(t=>`${uF(t.type.context?.isMutable)}${tJ(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let uv=Ad({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=dv(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),rD(new dE(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return oa}}}),uk=new uR([new un("Infinity"),new un("-Infinity"),new un("NaN")],"anyOf"),uM=new d5(new uR([uA,uk],"anyOf"),new dG(dP(),dT(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function uF(e){return e?"":"readonly "}class uU extends d6{_tag="Suspend";thunk;constructor(e,t,r,i,n){let s,a;if(void 0!==r)throw Error("Cannot add checks to Suspend");super(t,void 0,i,n),this.thunk=(a=!1,()=>(a||(s=e(),a=!0),s))}getParser(e){return e(this.thunk())}recur(e){return new uU(()=>e(this.thunk()),this.annotations,void 0,void 0,this.context)}getExpected(e){return e(this.thunk())}}class uT extends ej{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new uT(this.run,{...this.annotations,...e},this.aborted)}abort(){return new uT(this.run,this.annotations,!0)}and(e,t){return new uL([this,e],t)}}class uL extends ej{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new uL(this.checks,{...this.annotations,...e})}and(e,t){return new uL([this,e],t)}}function uO(e,t,r=!1){return new uT((t,r,i)=>(function(e,t,r){if(Array.isArray(r))return r.length>0?1===r.length?dB(e,r[0]):new dm(t,is(e),nz(r,t=>dB(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new dC(is(e)):dB(e,r)})(t,r,e(t,r,i)),t,r)}function uP(e,t){let r=e.source;return uO(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function uH(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function uY(e,t){return e.encoding===t?e:uH(e,e=>{e.encoding.value=t})}function uG(e,t){return e.context===t?e:uH(e,e=>{e.context.value=t})}function uq(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return uz(e,nL(e.checks.slice(0,-1),r.annotate(t)))}return uH(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function uz(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:uH(e,e=>{e.checks.value=t})}function uV(e,t){return uz(e,uQ(e.checks,t))}function u_(e,t){let r=e[e.length-1],i=t(r.to);return i!==r.to?nL(e.slice(0,e.length-1),new d5(i,r.transformation)):e}function uJ(e){return e5(function t(r){return r.encoding?uY(r,u_(r.encoding,t)):e(r)})}function uW(e,t,r){let i=new d5(e,t);return uY(r,r.encoding?[...r.encoding,i]:[i])}function uj(e,t){let r=!1,i=Array(e.length);for(let n=0;n<e.length;n++){let s=e[n],a=t(s);a!==s&&(r=!0),i[n]=a}return r?i:e}function uK(e,t){let r=e.context?new d8(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new d8(!1,!1,void 0,t);return uG(e,r)}let u$=e=>e.encoding?uY(e,u_(e.encoding,uX)):e;function uX(e){let t=e.context?!1===e.context.isOptional?new d8(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new d8(!0,!1);return u$(uG(e,t))}function uZ(e){return e.context?.isOptional??!1}let u0=e5(e=>{if(e.encoding)return u0(uY(e,void 0));let t=e.recur?.(u0)??e,r=t.encodingChecks;return r?uH(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=uQ(t.checks,r))}):t}),u1=e5(e=>u0(u2(e))),u2=e5(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],n=[new d5(u2(uY(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)n.unshift(new d5(u2(t[e-1].to),t[e].transformation.flip()));let s=u2(i.to);return s.encoding?uY(s,[...s.encoding,...n]):uY(s,n)}(e,e.encoding):e.flip?.(u2)??e.recur?.(u2)??e);function u3(e,t){let r=aU(is(t));return i=>"None"===i._tag?aY:i.value===t?r:rD(new df(e,i))}function u5(e,t){return r=>"None"===r._tag?aY:t(r.value)?aU(r):rD(new df(e,r))}function u4(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return gA(e.checks,t,i,e,r),0===i.length?t:void 0}let u8=uJ(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(u8)}}),u9=uJ(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(u9)}}),u6=uJ(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(u6)}}),u7=new globalThis.RegExp(`^${um}$`),ge=new globalThis.RegExp(`(?:${um}|Infinity|-Infinity|NaN)`),gt=uV(ua,[uP(u7,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:u7},...void 0})]),gr=new d5(gt,dJ),gi=new d5(new uR([gt,uk],"anyOf"),dJ),gn=new globalThis.RegExp("^-?\\d+$"),gs=new d5(uV(ua,[uP(gn,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:gn},expected:"a string representing a bigint"})]),dW),ga=new globalThis.RegExp("^Symbol\\((.*)\\)$"),go=new d5(uV(ua,[uP(ga,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:ga},...void 0})]),new dG(dT(e=>globalThis.Symbol.for(ga.exec(e)[1])),dL(e=>void 0!==globalThis.Symbol.keyFor(e)?aU(globalThis.String(e)):rD(new dy(is(e),{message:"cannot serialize to string, Symbol is not registered"})))));function gA(e,t,r,i,n){for(let s=0;s<e.length;s++){let a=e[s];if("FilterGroup"===a._tag)gA(a.checks,t,r,i,n);else{let e=a.run(t,i,n);if(e&&(r.push(new dd(t,a,e)),a.aborted||n?.errors!=="all"))return}}}let gl="~effect/Schema/Class",gc=new d7([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let n=Array.isArray(t);if(!n){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let s=n?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),s&&i.add(t),s}(e))?aU(e):rD(new df(t,is(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new d5(ui,d_),toArbitrary:()=>e=>e.jsonValue()}),gd=new d5(new d7([],()=>(e,t)=>{let r;return(r=new Set,function e(t){return void 0===t||"string"==typeof t||!("object"!=typeof t||null===t||r.has(t))&&((r.add(t),Array.isArray(t))?t.every(e):Object.keys(t).every(r=>e(t[r])))}(e))?aU(e):rD(new df(t,is(e)))},{expected:"StringTree"}),d_),gu="~effect/SchemaError/SchemaError";class gg extends A9("SchemaError"){[gu]=gu;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let gh=e5(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[gl];if(tr(t)){let r=t(e.typeParameters),i=gh(r.to);return uY(e,i===r.to?[r]:[new d5(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=gh(e);return uY(r,r.encoding?[...r.encoding,...t]:t)}return gh(e)});case"Suspend":return e.recur(gh);default:return e}});function gp(e){let t=gI(gh(u0(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function gm(e){let t=gp(e);return(e,r)=>{let i=AE(t(e,r));return"Success"===i._tag?is(i.value):(dk(i.cause,"Option adapter can only return none for schema issues"),ii())}}function gf(e){let t=gE(gI(u0(e)));return e=>{let r=t(e,d4);return"Success"===r._tag||(dk(r.cause,"Type guard adapter can only return false for schema issues"),!1)}}function gC(e,t){let r=gI(e.ast);return void 0===t?r:(e,i)=>r(e,gy(t,i))}let gy=(e,t)=>void 0===t?e:{...e,...t};function gI(e){let t=gQ(e);return(e,r)=>oe(t(is(e),r??d4),e=>"None"===e._tag?rD(new dC(e)):aU(e.value))}function gE(e){return(t,r)=>AE(e(t,r))}function gB(e,t){return oy(e,e=>cR(()=>au(e,t)))}let gQ=e5(e=>{let t,r=e.checks,i=e.encoding,n=i?.length??0,s=e.encodingChecks,a=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!i&&!r&&!s)return(r,i)=>(t??=e.getParser(gQ),a&&(i={...i,...a}),t(r,i));let o=d1(e)||d2(e)||d$(e)&&e.typeParameters.length>0,A=r&&o?r.filter(e=>e.annotations?.["~structural"]):void 0;return(o,l)=>{let c;if(a&&(l={...l,...a}),i){for(let e=n-1;e>=0;e--){let t=i[e],r=gQ(t.to);if(c=c?oe(c,e=>r(e,l)):r(o,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;c=oe(c,t=>e.run(t,l))}else c=t.transformation.decode(c,l)}c=gB(c,t=>new du(e,o,t))}t??=e.getParser(gQ);let d=i=>{let n=t(i,l);return s&&!l?.disableChecks&&(n=oe(n,t=>{if(iA(i)&&iA(t)){let t=[];if(gA(s,i.value,t,e,l),t.length>0)return rD(new dm(e,i,t))}return aU(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&iA(i)&&(n=gB(n,t=>{let r=[];return gA(A,i.value,r,e,l),r.length>0?"Composite"===t._tag&&t.ast===e?new dm(e,t.actual,[...t.issues,...r]):new dm(e,i,[t,...r]):t})),n=oe(n,t=>{if(iA(t)){let i=t.value,n=[];if(gA(r,i,n,e,l),n.length>0)return rD(new dm(e,t,n))}return aU(t)})),n};return c?oe(c,d):d(o)}}),gb="~effect/Schema/Schema",gN={[gb]:gb,pipe(){return eJ(this,arguments)},annotate(e){return this.rebuild(uq(this.ast,e))},annotateKey(e){return this.rebuild(uK(this.ast,e))},check(...e){return this.rebuild(uV(this.ast,e))}};function gS(e){return oy(e,e=>cR(()=>au(e,e=>new gg(e))))}function gw(){return(e,t,r)=>gk(new d7(e.map(uN),e=>t(e.map(e=>gk(e))),r))}function gx(e,t){return gw()([],()=>(t,r)=>e(t)?aU(t):rD(new df(r,is(t))),t)}function gD(e,t){let r=gC(e,t);return(e,t)=>gS(r(e,t))}function gR(e,t){let r,i=(r=gI(u2(e.ast)),void 0===t?r:(e,i)=>r(e,gy(t,i)));return(e,t)=>gS(i(e,t))}let gv=function(e,t){let r=gR(e,t);return(e,t)=>(function(e){let t=AE(e);if("Success"===t._tag)return t.value;throw function(e,t){let r;for(let i of e.reasons){if(!rC(i)||!tA(i.error,gu))throw new globalThis.Error(t,{cause:e});r??=i.error}if(void 0===r)throw new globalThis.Error(t,{cause:e});return r}(t.cause,"Sync adapter can only throw schema errors")})(r(e,t))},gk=function e(t,r){let i,n=Object.create(gN);r&&Object.assign(n,r),n.ast=t,n.rebuild=t=>e(t,r);let s=gp(n);return n.makeEffect=(e,t)=>gS(s(e,t)),i=gp(n),n.make=(e,t)=>{let r=AE(i(e,t));if("Success"===r._tag)return r.value;let n=dk(r.cause,"Constructor adapter can only throw schema issues");throw Error(n.toString(),{cause:n})},n.makeOption=gm(n),n},gM=e=>gk(uX(e.ast),{schema:e});function gF(e){let t=gk(new un(e),{literal:e,transform:r=>t.pipe(gX(gF(r),{decode:dT(()=>r),encode:dT(()=>e)}))});return t}let gU=gk(ui),gT=gk(ue),gL=gk(ur),gO=gk(ua),gP=gk(uA),gH=gk(ul);function gY(e,t){return gk(e,{fields:t,mapFields(e,t){let r=e(this.fields);return gY(ub(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function gG(e){return gY(ub(e,void 0),e)}function gq(e,t,r){let i=r?.keyValueCombiner?.decode||r?.keyValueCombiner?.encode?new uC(r.keyValueCombiner.decode,r.keyValueCombiner.encode):void 0;return gk(function(e,t,r){let i,n,{literals:s,parameters:a}=(i=[],n=[],!function e(t){switch(t._tag){case"Literal":var r;(e9(r=t.literal)||e6(r)||tt(r))&&i.push(t.literal);return;case"UniqueSymbol":i.push(t.symbol);return;case"Never":return;case"Union":for(let r=0;r<t.types.length;r++)e(t.types[r]);return;default:n.push(t)}}(e),{literals:i,parameters:n});return new uE(s.map(e=>new uf(e,t)),a.map(e=>new uI(e,t,r)))}(e.ast,t.ast,i),{key:e,value:t})}let gz=e=>gk(new uu(!1,[],[e.ast]),{value:e}),gV=e=>gk(new uu(!1,[e.ast],[e.ast]),{value:e});function g_(e,t){return function e(t,r){return gk(t,{members:r,mapMembers(t,r){let i=t(this.members);return e(uS(i,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(uS(e,t?.mode??"anyOf",void 0),e)}function gJ(e){let t=e.map(gF);return gk(uS(t,"anyOf",void 0),{literals:e,members:t,mapMembers(e){return g_(e(this.members))},pick:e=>gJ(e),transform:e=>g_(t.map((t,r)=>t.transform(e[r])))})}let gW=e=>g_([e,gT]);function gj(e){return gk(new uU(()=>e().ast))}function gK(...e){return t=>t.check(...e)}function g$(e){return t=>{var r;let i;return gk((r=t.ast,i=dt(r),uq(r,{brands:i?[...i,e]:[e]})),{schema:t,identifier:e})}}function gX(e,t){return r=>{var i,n;return gk((i=r.ast,n=e.ast,uW(i,t?dq(t):d_,n)),{from:r,to:e})}}function gZ(e){return t=>{var r,i;let n,s;return gk((r=t.ast,n=[new d5(ui,new dG((i=oy(e,e=>cR(()=>au(e,e=>e.issue))),new dM(e=>{let t=ij(e,tn);return iA(t)?aU(t):or(i,is)})),dF))],s=r.context?new d8(r.context.isOptional,r.context.isMutable,n,r.context.annotations):new d8(!1,!1,n),uG(r,s)),{schema:t})}}function g0(e){return gF(e).pipe(gZ(aU(e)))}function g1(){return(e,t)=>new d5(e.ast,dq(t))}let g2=uO,g3=(y=r7((es={order:r4,annotate:e=>({meta:{_tag:"isGreaterThan",exclusiveMinimum:e}})}).order),I=es.formatter??tV,(e,t)=>g2(t=>y(t,e),{expected:`a value greater than ${I(e)}`,arbitrary:{constraint:{ordered:{order:es.order,minimum:e,exclusiveMinimum:!0}}},...es.annotate?.(e),...t})),g5=(E=it((ea={order:r4,annotate:e=>({meta:{_tag:"isBetween",...e}})}).order),B=r7(ea.order),Q=ie(ea.order),b=r6(ea.order),N=ea.formatter??tV,(e,t)=>{let r=e.exclusiveMinimum?B:E,i=e.exclusiveMaximum?b:Q;return g2(t=>r(t,e.minimum)&&i(t,e.maximum),{expected:`a value between ${N(e.minimum)}${e.exclusiveMinimum?" (excluded)":""} and ${N(e.maximum)}${e.exclusiveMaximum?" (excluded)":""}`,arbitrary:{constraint:{ordered:{order:ea.order,minimum:e.minimum,maximum:e.maximum,...e.exclusiveMinimum&&{exclusiveMinimum:!0},...e.exclusiveMaximum&&{exclusiveMaximum:!0}}}},...ea.annotate?.(e),...t})});function g4(e){return g2(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...e})}function g8(e){var t;let r;return gW(e).pipe(gX((t=gk(u0((r=e).ast),{schema:r}),gk(gw()([t],([e])=>(t,r,i)=>ia(t)?io(t)?aY:on(gC(e)(t.value,i),{onSuccess:is,onFailure:e=>new dm(r,is(t),[new dg(["value"],e)])}):rD(new df(r,is(t))),{typeConstructor:{_tag:"effect/Option"},generation:{runtime:"Schema.Option(?)",Type:"Option.Option<?>",importDeclaration:'import * as Option from "effect/Option"'},expected:"Option",toCodec:([e])=>g1()(g_([gG({_tag:gF("Some"),value:e}),gG({_tag:gF("None")})]),dV({decode:e=>"None"===e._tag?ii():is(e.value),encode:e=>iA(e)?{_tag:"Some",value:e.value}:{_tag:"None"}})),toArbitrary:([e])=>(t,r)=>{var i,n,s,a;let o=t.constant(ii()),A=t.oneof(o,e.arbitrary.map(is));return i=t,n=r,s=o,a=A,{arbitrary:void 0===s||void 0===n.recursion?a:i.oneof(n.recursion,s,a),terminal:s}},toEquivalence:([e])=>iK(e),toFormatter:([e])=>il({onNone:()=>"none()",onSome:t=>`some(${e(t)})`})}).ast,{value:t})),dV({decode:iB,encode:ib})))}let g9=[];function g6(e){var t;let r,i,n=e?.includeStack===!0|2*(e?.excludeCause===!0),s=g9[n];if(void 0!==s)return s;let a=hu.pipe(gX(gU,dV({decode:dj,encode:(t=(e=>{switch(e){case 0:return;case 1:return{includeStack:!0};case 2:return{excludeCause:!0};case 3:return{includeStack:!0,excludeCause:!0}}})(n),r=new WeakSet,i=e=>{if(e instanceof Error){var n;let s;if(r.has(e))return"[Circular]";r.add(e);let a=(n=i,s={name:e.name,message:"string"==typeof e.message?e.message:""},t?.includeStack&&"string"==typeof e.stack&&(s.stack=e.stack),t?.excludeCause||void 0===e.cause||(s.cause=n(e.cause)),s);return r.delete(e),a}try{let t=tj(e);return void 0===t?tV(e):JSON.parse(t)}catch{return tV(e)}})})));return g9[n]=a,a}g2(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0});g2(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0});let g7=gP.check(g4()),he=globalThis.Symbol.for("immer-draftable"),ht={};function hr(e,t,r,i,n){var s,a,o;let A,l=(s=r,a=t,o=i,e=>{if(void 0!==A)return A;let t=new dG(dT(t=>new e(t)),dF);return A=gX(gk(new d7([s.ast],()=>(t,r)=>t instanceof e||tA(t,hi(a))?aU(t):rD(new df(r,is(t))),{identifier:a,[gl]:([e])=>new d5(e,t),toCodec:([e])=>new d5(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":uw(s.ast),...o})),t)(s)}),c=hi(t),d=class extends e{constructor(...[e,t]){let i=t?.["~payload"],n=i?.token===ht?i.value:r.make(e??{},t);super(n,{...t,disableChecks:!0,"~payload":{token:ht,value:n}})}static [gb]=gb;get[c](){return c}static [he]=!0;static identifier=t;static fields=r.fields;static get ast(){return l(this).ast}static pipe(){return eJ(this,arguments)}static rebuild(e){return l(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return gm(l(this))(e??{},t)}static makeEffect(e,t){return l(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(uq(this.ast,e))}static annotateKey(e){return this.rebuild(uK(this.ast,e))}static check(...e){return this.rebuild(uV(this.ast,e))}static extend(e){return(t,i)=>{let s=hn(t)?t:gG(t),a={...r.fields,...s.fields},o=ub(a,r.ast.checks,{identifier:e});return hr(this,e,gY(uV(o,s.ast.checks),a),i,n)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==n&&Object.assign(d.prototype,n(t)),d}function hi(e){return`~effect/Schema/Class/${e}`}function hn(e){return tA(e,gb)&&e[gb]===gb}let hs=e=>(t,r)=>hr(A4,e,hn(t)?t:gG(t),r,e=>({toString(){return`${e}(${tV({...this})})`}})),ha=e=>(t,r,i)=>{let n,s=hn(r)?r.mapFields(e=>({_tag:g0(t),...e}),{unsafePreserveChecks:!0}):gG({_tag:g0(t),...r});return(n=e??t,(e,t)=>hr(rM,n,hn(e)?e:gG(e),t,e=>({name:e})))(s,i)},ho=(eo=function(e){switch(e._tag){case"Null":case"Boolean":case"Number":case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(u1(e[r]),r);let r=[...e].sort((e,r)=>{e=u1(e),r=u1(r);let i=eo(e),n=eo(r);return i!==n?i-n:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e}),hA=new d5(new un("null"),new dG(dT(()=>null),dT(()=>"null"))),hl=new d5(new uR([new un("true"),new un("false")],"anyOf"),new dG(dT(e=>"true"===e),dO())),hc=uJ(e=>{if(d3(e)&&e.annotations?.["~effect/Schema/SERIALIZER_ENSURE_ARRAY"]===!0)return e;let t=function(e,t,r){switch(e._tag){case"Declaration":{let i=e.annotations?.toCodecJson??e.annotations?.toCodec;if(tr(i)){let r=i(d$(e)?e.typeParameters.map(e=>gk(t(u1(e)))):[]),n=t(r.to);return uY(e,n===r.to?[r]:[new d5(n,r.transformation)])}return r(e)}case"Null":return uY(e,[hA]);case"Boolean":return uY(e,[hl]);case"Unknown":case"ObjectKeyword":return uY(e,[gd]);case"Enum":case"Number":case"Literal":case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,u9);case"Union":{let r=ho(e.types);if(r!==e.types)return new uR(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,hc,e=>uY(e,[hd]));return t!==e&&uZ(e)?u$(t):t}),hd=new d5(ur,new dG(dF,dT(()=>void 0))),hu=gk(gc);function hg(){return Object.assign(e=>e,{option:e=>is(e),result:e=>r3(e),is:e=>!0})}let hh="~effect/platform/PlatformError";class hp extends A9("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class hm extends A8{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class hf extends A9("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[hh]=hh;get message(){return this.reason.message}}let hC=e=>new hf(new hm(e)),hy=e=>new hf(new hp(e)),hI=Symbol.for("effect/MutableList/Empty"),hE=()=>({array:[],mutable:!0,offset:0,next:void 0}),hB=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=hE(),e.tail=e.tail.next):e.head=e.tail=hE(),e.tail.array.push(t),e.length++},hQ=e=>{e.head=e.tail=void 0,e.length=0},hb=e=>{if(!e.head)return hI;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:hQ(e)),t},hN={_A:e$,_E:e$},hS={"~effect/Queue":hN,"~effect/Queue/Enqueue":hN,"~effect/Queue/Dequeue":hN,...rr,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:hO(this)}}},hw=e=>rv(t=>{let r=Object.create(hS);return r.dispatcher=t.currentDispatcher,r.capacity=e?.capacity??1/0,r.strategy=e?.strategy??"suspend",r.messages={head:void 0,tail:void 0,length:0},r.scheduleRunning=!1,r.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},aU(r)}),hx=(e,t)=>aO(()=>{if("Open"!==e.state._tag)return hP;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return hP;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return hB(e.messages,t),hq(e),hH;return h_(e,t);case"sliding":return hb(e.messages),hB(e.messages,t),hH}return hB(e.messages,t),hz(e),hH}),hD=(e,t)=>"Open"===e.state._tag&&(e.messages.length>=e.capacity?"sliding"===e.strategy?(hb(e.messages),hB(e.messages,t),!0):e.capacity<=0&&e.state.takers.size>0&&(hB(e.messages,t),hq(e),!0):(hB(e.messages,t),hz(e),!0)),hR=eK(2,(e,t)=>aL(()=>hv(e,t))),hv=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=oc(rx(t),hY);return 0===e.state.offers.size&&0===e.messages.length?hj(e,r):e.state={...e.state,_tag:"Closing",exit:r},!0},hk=e=>hv(e,rp(rL())),hM=e=>aL(()=>{if("Done"===e.state._tag)return!0;hQ(e.messages);let t=e.state.offers;if(hj(e,"Open"===e.state._tag?hG:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(hP):e.resume(rN(e.remaining.slice(e.offset)));t.clear()}return!0}),hF=e=>hU(e,1,1/0),hU=(e,t,r)=>aO(()=>hV(e,t,r)??a3(hW(e),hU(e,1,r))),hT=e=>aO(()=>hL(e)??a3(hW(e),hT(e))),hL=e=>{if("Done"===e.state._tag)return e.state.exit;if(e.messages.length>0){let t=hb(e.messages);return hJ(e),rN(t)}if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,hJ(e),e.capacity=0;let t=hb(e.messages);return hJ(e),rN(t)}},hO=e=>"Done"===e.state._tag?0:e.messages.length,hP=rN(!1),hH=rN(!0),hY=rD(rL()),hG=rx(aa(void 0)),hq=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(oa),0===e.messages.length)break}},hz=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>hq(e),0))},hV=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return rN([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,hJ(e),e.capacity=0;let t=[hb(e.messages)];return hJ(e),rN(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return hQ(e),t}let r=Array(t),i=0,n=e.head;for(;n;){for(;n.offset<n.array.length;)if(r[i++]=n.array[n.offset],n.mutable&&(n.array[n.offset]=void 0),n.offset++,i===t)return e.head=n,e.length-=t,0===e.length&&hQ(e),r;n=n.next}return hQ(e),r})(e.messages,r);return hJ(e),rN(t)}},h_=(e,t)=>aW(r=>{if("Open"!==e.state._tag)return r(hP);let i={_tag:"Single",message:t,resume:r};return e.state.offers.add(i),aL(()=>{"Open"===e.state._tag&&e.state.offers.delete(i)})}),hJ=e=>{if("Done"===e.state._tag)return e.state.exit.cause.reasons.some(ci);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(hj(e,e.state.exit),e.state.exit.cause.reasons.some(ci));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)hB(e.messages,r.message),t--,r.resume(hH),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;hB(e.messages,r.remaining[r.offset]),t--}r.resume(rN([])),e.state.offers.delete(r)}return!1},hW=e=>aW(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),aL(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),hj=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let i of(e.state={_tag:"Done",exit:t},r.takers))i(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()},hK="~effect/Channel",h$={[hK]:{_Env:e$,_InErr:e$,_InElem:e$,_OutErr:e$,_OutElem:e$},pipe(){return eJ(this,arguments)}},hX=e=>{let t=Object.create(h$);return t.transform=(t,r)=>oy(e(t,r),e=>aU(aT(e))),t},hZ=(e,t)=>hX((r,i)=>a9(h2(e)(r,i),e=>t(e,i))),h0=e=>hX((t,r)=>e),h1=e=>hX(aK(function*(t,r){let i=l_(r),n=e=>oz(i,ca(e)),s=yield*o5(e(t,r,i),n);return o5(s,n)})),h2=e=>e.transform,h3=h0(aU(A5())),h5=eK(2,(e,t)=>hZ(e,e=>aL(()=>{let r=0;return ot(e,e=>t(e,r++))}))),h4=eK(2,(e,t)=>h8(e,e=>aU(t(e)))),h8=eK(2,(e,t)=>hZ(e,e=>aU(cr(e,e=>a9(t(e),A5))))),h9=eK(e=>tA(e[0],hK)&&tA(e[1],hK),(e,t,r)=>h1(aK(function*(i,n,s){let a=r?.haltStrategy??"both",o=yield*hw({capacity:0});yield*oJ(s,eX(hM(o)));let A=0,l=(e,t,r)=>h2(t)(i,r).pipe(a9(e=>e.pipe(a9(e=>hx(o,e)),oC)),o5(t=>a3(oz(r,ca(t)),function(e,t){if(A++,!t.reasons.some(ci))return hR(o,t);switch(a){case"both":return 2===A?hR(o,t):az;case"left":case"right":return e===a?hR(o,t):az;case"either":return hR(o,t)}}(e,t))),Ah(s));return yield*l("left",e,l_(s)),yield*l("right",t,l_(s)),hT(o)}))),h6=eK(2,(e,t)=>hX((r,i)=>a9(h2(e)(r,i),e=>h2(t)(e,i)))),h7=e=>hX((t,r)=>{let i;return aU(aO(()=>i||e.pipe(oX(r),a9(e=>h2(e)(t,r)),a9(e=>i=e))))}),pe=eK(2,(e,t)=>h1((r,i,n)=>oJ(n,t).pipe(a3(h2(e)(r,i))))),pt=eK(2,(e,t)=>pe(e,e=>t)),pr=(e,t,r)=>aO(()=>{let i=oK();return cr(a9(h2(e)(A5(),i),t),r||aU).pipe(o1(e=>oz(i,e)))}),pi=eK(2,(e,t)=>pr(e,e=>oC(a9(e,t),{disableYield:!0}))),pn=eK(3,(e,t,r)=>aO(()=>{let i=t();return pr(e,e=>AA({while:eZ,body:()=>e,step:e=>{i=r(i,e)}}),()=>aU(i))})),ps=(e,t)=>h2(e)(A5(),t),pa="~effect/Sink",po=aU([void 0]),pA={[pa]:{_A:e$,_In:e$,_L:e$,_E:e$,_R:e$},pipe(){return eJ(this,arguments)}},pl=e=>pc((t,r)=>h2(e)(t,r).pipe(a9(oC({disableYield:!0})),cr(aU))),pc=e=>{let t=Object.create(pA);return t.transform=e,t},pd=e=>hX((t,r)=>aU(a9(e.transform(t,r),A5))),pu=pc(e=>cr(oC(e,{disableYield:!0}),()=>po)),pg=e=>pl(h7(ot(e,pd))),ph={"~effect/Stream":{_R:e$,_E:e$,_A:e$},pipe(){return eJ(this,arguments)}},pp=e=>{let t=Object.create(ph);return t.channel=e,t},pm=e=>e.channel,pf=pp(h3),pC=e=>{let t;return pp((t=()=>e().channel,hX((e,r)=>aO(()=>h2(t())(e,r)))))},py=e=>pp(h0(aU(rD(e)))),pI=e=>pp(h7(ot(e,pm))),pE=eK(2,(e,t)=>pC(()=>{let r=0;return pp(h5(e.channel,nz(e=>t(e,r++))))})),pB=eK(e=>tA(e[0],"~effect/Stream")&&tA(e[1],"~effect/Stream"),(e,t,r)=>pp(h9(pm(e),pm(t),r))),pQ=eK(2,(e,t)=>{let r;return r=(e,r)=>aL(()=>{let i,n,s=aO(()=>{if(void 0!==n){let e=n;return n=void 0,aU(e)}return e}).pipe(oB(e=>(i=rD(e),A5()))),a=ot(aO(()=>t.transform(s,r)),([e,t])=>(n=t,nq(e)));return aO(()=>i||a)}),pp(hX((t,i)=>a9(ps(e.channel,i),e=>r(e,i))))}),pb=eK(e=>tA(e[0],"~effect/Stream"),(e,t)=>pC(()=>{let r=new TextDecoder(t?.encoding);return pE(e,e=>r.decode(e,{stream:!0}))})),pN=e=>e.channel.pipe(h6(hX((e,t)=>aL(()=>{let t="",r=!1,i=ii(),n=aO(()=>"Some"===i._tag?A5(i.value):co(e,{onSuccess:s,onFailure:aT,onDone:e=>{if(i=is(e),t.length>0||r){let e=t;return t="",r=!1,aU([e])}return A5(e)}}));function s(e){let i=function(e){let i=[];function n(e){0===t.length?i.push(e):(i.push(t+e),t="")}for(let i=0;i<e.length;i++){let s=e[i];if(0!==s.length){let e=0,i=s.indexOf("\r"),a=s.indexOf("\n");for(r&&(0===a?(n(""),e=1,a=s.indexOf("\n",e)):n(""),r=!1);-1!==i||-1!==a;)-1===i||-1!==a&&a<i?(n(s.substring(e,a)),e=a+1,a=s.indexOf("\n",e)):s.length===i+1?(r=!0,i=-1):(n(s.substring(e,i)),e=i+(a===i+1?2:1),i=s.indexOf("\r",e),a=s.indexOf("\n",e));t+=s.substring(e,s.length-!!r)}}return i.length>0?i:null}(e);return null!==i?aU(i):n}return n}))),pp),pS=eK(2,(e,t)=>pp(pt(e.channel,t))),pw=eK(2,(e,t)=>oZ(r=>ps(e.channel,r).pipe(a9(e=>t.transform(e,r)),ot(([e])=>e)))),px=eK(2,(e,t)=>pi(e.channel,e=>{let r=0;return AA({while:()=>r<e.length,body:()=>t(e[r++]),step:e2})})),pD=eK(2,(e,t)=>pi(e.channel,t)),pR=e=>pn(e.channel,()=>"",(e,t)=>e+t.join("")),pv=eK(e=>tA(e[0],"~effect/Stream"),(e,t,r)=>{let i,n,s=AS(!1);return new ReadableStream({start(r){(n=AC(op(pD(e,e=>s.whenOpen(aL(()=>{s.closeUnsafe();for(let t=0;t<e.length;t++)r.enqueue(e[t]);i(),i=void 0}))),t))).addObserver(e=>{"Failure"===e._tag?r.error(ag(e.cause)):r.close()})},pull:()=>new Promise(e=>{i=e,s.openUnsafe()}),cancel(){if(n)return Ay(a4(ak(n)))}},r?.strategy)}),pk=eK(e=>tA(e[0],"~effect/Stream"),(e,t)=>ot(og,r=>pv(e,r,t))),pM="~effect/platform/FileSystem",pF=e=>"bigint"==typeof e?e:BigInt(e),pU=n0("effect/platform/FileSystem"),pT=(e,t)=>hC({module:"FileSystem",method:e,_tag:"NotFound",description:"No such file or directory",pathOrDescriptor:t}),pL="~effect/platform/FileSystem/File",pO=hg();class pP extends n0()("effect/platform/FileSystem/WatchBackend"){}var pH=class extends ha()("ActionEnvironmentError",{reason:gJ(["missing","malformed"]),name:gO,detail:gM(gO)}){get message(){return"missing"===this.reason?`Required environment variable "${this.name}" is not set`:`Environment variable "${this.name}" is malformed${void 0===this.detail?"":`: ${this.detail}`}`}},pY=class extends hs("GitHubContext")({repository:gO,repositoryOwner:gO,ref:gO,refName:gO,sha:gO,workflow:gO,job:gO,runId:gP,runAttempt:gP,eventName:gO,actor:gO,serverUrl:gO,apiUrl:gO,graphqlUrl:gO,workspace:gO}){},pG=class extends hs("RunnerContext")({os:gO,arch:gO,name:gO,temp:gO,toolCache:gO}){};let pq=n0("@effected/github-actions/EnvOverrides",{defaultValue:()=>({})}),pz=(e,t)=>{let r=Number(t);return Number.isFinite(r)?aU(r):rD(new pH({reason:"malformed",name:e,detail:`expected a number, got "${t}"`}))},pV=e=>cD(function*(){let t=yield*pU,r=t=>ot(pq,r=>{let i=r[t]??e[t];return void 0===i||""===i?ii():is(i)}),i=e=>a9(r(e),t=>iA(t)?aU(t.value):rD(new pH({reason:"missing",name:e})));return{get:i,getOptional:r,isDebug:ot(r("RUNNER_DEBUG"),e=>iA(e)&&"1"===e.value),github:cD(function*(){let[e,t,r,n,s,a,o]=yield*Aa([i("GITHUB_REPOSITORY"),i("GITHUB_REPOSITORY_OWNER"),i("GITHUB_REF"),i("GITHUB_REF_NAME"),i("GITHUB_SHA"),i("GITHUB_WORKFLOW"),i("GITHUB_JOB")]),A=yield*a9(i("GITHUB_RUN_ID"),e=>pz("GITHUB_RUN_ID",e)),l=yield*a9(i("GITHUB_RUN_ATTEMPT"),e=>pz("GITHUB_RUN_ATTEMPT",e)),[c,d,u,g,h,p]=yield*Aa([i("GITHUB_EVENT_NAME"),i("GITHUB_ACTOR"),i("GITHUB_SERVER_URL"),i("GITHUB_API_URL"),i("GITHUB_GRAPHQL_URL"),i("GITHUB_WORKSPACE")]);return pY.make({repository:e,repositoryOwner:t,ref:r,refName:n,sha:s,workflow:a,job:o,runId:A,runAttempt:l,eventName:c,actor:d,serverUrl:u,apiUrl:g,graphqlUrl:h,workspace:p})}),runner:cD(function*(){let[e,t,r,n,s]=yield*Aa([i("RUNNER_OS"),i("RUNNER_ARCH"),i("RUNNER_NAME"),i("RUNNER_TEMP"),i("RUNNER_TOOL_CACHE")]);return pG.make({os:e,arch:t,name:r,temp:n,toolCache:s})}),payload:cD(function*(){let e=yield*i("GITHUB_EVENT_PATH"),r=yield*t.readFileString(e).pipe(ox(t=>new pH({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`could not read "${e}": ${String(t)}`})));return yield*aV({try:()=>JSON.parse(r),catch:e=>new pH({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`not valid JSON: ${String(e)}`})})}),withEnv:(e,t)=>a9(pq,r=>om(t,pq,{...r,...e}))}}),p_={GITHUB_REPOSITORY:"acme/example",GITHUB_REPOSITORY_OWNER:"acme",GITHUB_REF:"refs/heads/main",GITHUB_REF_NAME:"main",GITHUB_SHA:"0000000000000000000000000000000000000000",GITHUB_WORKFLOW:"test",GITHUB_JOB:"test",GITHUB_RUN_ID:"1",GITHUB_RUN_ATTEMPT:"1",GITHUB_EVENT_NAME:"push",GITHUB_ACTOR:"tester",GITHUB_SERVER_URL:"https://github.com",GITHUB_API_URL:"https://api.github.com",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",GITHUB_WORKSPACE:"/workspace",RUNNER_OS:"Linux",RUNNER_ARCH:"X64",RUNNER_NAME:"test-runner",RUNNER_TEMP:"/tmp",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache"};var pJ=class e extends n0()("@effected/github-actions/ActionEnvironment"){static layer=l5(this,a9(aL(()=>({...process.env})),pV));static layerFrom=t=>l5(e,pV(t));static makeTest=(e={})=>pV({...p_,...e});static layerTest=(t={})=>{var r;return l5(e,e.makeTest(t)).pipe(ce((r={},l2(pU)(pU.of({[pM]:pM,access:e=>rD(pT("access",e)),chmod:e=>rD(pT("chmod",e)),chown:e=>rD(pT("chown",e)),copy:e=>rD(pT("copy",e)),copyFile:e=>rD(pT("copyFile",e)),glob:e=>rD(pT("glob",e)),exists:()=>aU(!1),link:e=>rD(pT("link",e)),makeDirectory:()=>aG("not implemented"),makeTempDirectory:()=>aG("not implemented"),makeTempDirectoryScoped:()=>aG("not implemented"),makeTempFile:()=>aG("not implemented"),makeTempFileScoped:()=>aG("not implemented"),open:e=>rD(pT("open",e)),readDirectory:e=>rD(pT("readDirectory",e)),readFile:e=>rD(pT("readFile",e)),readFileString:e=>rD(pT("readFileString",e)),readLink:e=>rD(pT("readLink",e)),realPath:e=>rD(pT("realPath",e)),remove:()=>az,rename:e=>rD(pT("rename",e)),sink:e=>{let t;return t=rD(pT("sink",e)),pc(()=>t)},stat:e=>rD(pT("stat",e)),stream:e=>py(pT("stream",e)),symlink:e=>rD(pT("symlink",e)),truncate:e=>rD(pT("truncate",e)),utimes:e=>rD(pT("utimes",e)),watch:e=>py(pT("watch",e)),writeFile:e=>rD(pT("writeFile",e)),writeFileString:e=>rD(pT("writeFileString",e)),...r})))))}};function pW(e){return{_tag:"Value",value:e}}let pj=n0("effect/ConfigProvider",{defaultValue:()=>p2()}),pK={...rr,toJSON:()=>({_id:"ConfigProvider"})},p$=e=>e;function pX(e,t){let r=Object.create(pK);return r.state=e,r.load=t,r}function pZ(e){let t;return pX(t={_tag:"Source",get:e,transform:p$},e=>t.get(t.transform(e)))}let p0=eK(2,(e,t)=>{let r;return pX(r={_tag:"OrElse",first:e,second:t},e=>a9(r.first.load(e),t=>t?aU(t):r.second.load(e)))}),p1=e=>rn(e)?l5(pj)(e):l2(pj)(e);function p2(e){let t=e?.env??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},r=e?.preserveEmptyStrings===!0,i=function(e){let t={};for(let[r,i]of Object.entries(e)){if(void 0===i)continue;let e=r.split("_"),n=t;for(let t of e)n.children??={},n=n.children[t]??={}}return t}(t);return pZ(e=>aU(function(e,t,r,i){var n;let s=(n=t[r.map(String).join("_")],""!==n||i?n:void 0),a=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),o=a?.children?Object.keys(a.children):[];return 0===o.length?void 0===s?void 0:pW(s):o.every(e=>p3.test(e))?{_tag:"Array",length:Math.max(...o.map(e=>parseInt(e,10)))+1,value:s}:{_tag:"Record",keys:new Set(o),value:s}}(i,t,e,r)))}let p3=/^(0|[1-9][0-9]*)$/,p5=it(AW),p4=ie(AW),p8="~effect/Config";class p9{_tag="ConfigError";name="ConfigError";cause;constructor(e){this.cause=e}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}let p6={...nJ({label:"Config",evaluate(e){return this.parse(e.getRef(pj))}}),[p8]:p8,toJSON:()=>({_id:"Config"})};function p7(e){let t=Object.create(p6);return t.parse=(t,r=[])=>e(t,r),t}let me=eK(2,(e,t)=>p7((r,i)=>ot(e.parse(r,i),t))),mt=eK(2,(e,t)=>p7((r,i)=>a9(e.parse(r,i),t))),mr=eK(2,(e,t)=>p7((r,i)=>oB(e.parse(r,i),e=>t(e).parse(r,i)))),mi=eK(2,(e,t)=>mr(e,e=>{var r,i;if(tA(e.cause,gu)&&function e(t){switch(t._tag){case"MissingKey":return!0;case"InvalidType":case"InvalidValue":return io(t.actual)||iA(t.actual)&&void 0===t.actual.value;case"OneOf":return void 0===t.actual;case"Encoding":return!!(io(t.actual)||iA(t.actual)&&void 0===t.actual.value)||e(t.issue);case"Pointer":return e(t.issue);case"Filter":case"UnexpectedKey":case"Forbidden":return!1;case"Composite":return t.issues.every(e);case"AnyOf":if(0===t.issues.length)return void 0===t.actual;return t.issues.every(e)}}(e.cause.issue)){return r=t,p7(()=>aU(r))}return i=e.cause,p7(()=>rD(new p9(i)))})),mn=e=>e.pipe(me(is),mi(ii())),ms=aK(function*(e,t){let r=yield*e.load(t);if(void 0!==r)switch(r._tag){case"Value":return r.value;case"Record":{if(void 0!==r.value)return r.value;let i={};for(let n of r.keys){let r=yield*ms(e,[...t,n]);void 0!==r&&(i[n]=r)}return i}case"Array":{if(void 0!==r.value)return r.value;let i=[];for(let n=0;n<r.length;n++)i.push((yield*ms(e,[...t,n])));return i}}}),ma=aK(function*(e,t,r){switch(e._tag){case"Objects":{let i=yield*t.load(r);if(void 0===i&&r.length>0)return;let n={};for(let i of e.propertySignatures){let e=i.name;if("string"==typeof e){let s=yield*ma(i.type,t,[...r,e]);void 0!==s&&(n[e]=s)}}if(e.indexSignatures.length>0&&i&&"Record"===i._tag)for(let s of e.indexSignatures){let e=gf(s.parameter);for(let a of i.keys)if(!Object.hasOwn(n,a)&&e(a)){let e=yield*ma(s.type,t,[...r,a]);void 0!==e&&(n[a]=e)}}return n}case"Arrays":{let i=yield*t.load(r);if(void 0===i)return;if(i&&"Value"===i._tag||i&&"Array"===i._tag&&void 0!==i.value)return""===i.value?[]:i.value.split(",");let n=[],s=i&&"Array"===i._tag?i.length:e.elements.length;for(let i=0;i<s;i++){let s=e.elements[i]??e.rest[0];void 0!==s&&n.push((yield*ma(s,t,[...r,i])))}return n}case"Union":return yield*ms(t,r);case"Suspend":return yield*ma(e.thunk(),t,r);default:{let e=yield*t.load(r);if(void 0===e)return;if("Value"===e._tag||"Record"===e._tag&&void 0!==e.value||"Array"===e._tag&&void 0!==e.value)return e.value;return}}});function mo(e,t){let r=gk(hc(e.ast),{schema:e}),i=gC(r),n=u1(r.ast),s="string"==typeof t?[t]:t??[];return p7((e,t)=>{let r=[...t,...s];return ma(n,e,r).pipe(oe(e=>i(e).pipe(oi(e=>new gg(r.length>0?new dg(r,e):e)))),oi(e=>new p9(e)))})}function mA(e){let t;return mo((t=void 0,gk(gw()([gO],([e])=>(r,i,n)=>tA(r,ds)?oe(void 0!==t?oi(t(r.label,n),e=>new dg(["label"],e)):az,()=>on(gC(e)(dn(r),n),{onSuccess:()=>r,onFailure:()=>{let e=is(r);return new dm(i,e,[new dg(["value"],new dC(e))])}})):rD(new df(i,is(r))),{typeConstructor:{_tag:"effect/Redacted",options:void 0},generation:{runtime:"Schema.Redacted(?)",Type:"Redacted.Redacted<?>",importDeclaration:'import * as Redacted from "effect/Redacted"'},expected:"Redacted",toCodecJson:([e])=>{var t,r;return g1()((t=e,(r=oi(function e(t){switch(t._tag){case"MissingKey":return t;case"Forbidden":return new dy(iD(t.actual,da),t.annotations);case"Filter":return new dd(da(t.actual),t.filter,e(t.issue));case"Pointer":return new dg(t.path,e(t.issue));case"Encoding":case"InvalidType":case"InvalidValue":case"Composite":return new dC(iD(t.actual,da));case"AnyOf":case"OneOf":case"UnexpectedKey":return new dC(is(da(t.actual)))}}),e=>{var t;return gk(uW(t=e.ast,new dH(r,e$),u0(t)),{schema:e})})(t)),{decode:dT(e=>da(e,{label:void 0})),encode:dT(dn)})},toArbitrary:([e])=>()=>({arbitrary:e.arbitrary.map(e=>da(e,{label:void 0})),terminal:e.terminal?.map(e=>da(e,{label:void 0}))}),toFormatter:()=>globalThis.String,toEquivalence:([e])=>tO((t,r)=>e(dn(t),dn(r)))}).ast,{value:gO})),e)}let ml=e=>`INPUT_${e.replaceAll(" ","_").toUpperCase()}`,mc=(e,t)=>new p9(new gg(new dC(is(t),{message:e}))),md=new Set(["true","True","TRUE"]),mu=new Set(["false","False","FALSE"]),mg=e=>{let t=e.indexOf("#");return(-1===t?e:e.slice(0,t)).trim()};var mh=class e{static variable=e=>ml(e);static string(e){return mo(gO,ml(e))}static boolean(e){return mo(gO,ml(e)).pipe(mt(t=>{let r=t.trim();return md.has(r)?aU(!0):mu.has(r)?aU(!1):rD(mc(`Input "${e}" does not meet the YAML 1.2 core schema for booleans. Supported: true | True | TRUE | false | False | FALSE`,t))}))}static integer(e){return mo(g7,ml(e))}static redacted(e){return mA(ml(e))}static lines(e){return mo(gO,ml(e)).pipe(me(e=>e.split("\n").map(e=>e.trim()).filter(e=>""!==e)))}static list(e){return mo(gO,ml(e)).pipe(mt(t=>{let r=t.trim();if(""===r)return aU([]);if(r.startsWith("["))try{let i=JSON.parse(r);if(Array.isArray(i)&&i.every(e=>"string"==typeof e))return aU(i);return rD(mc(`Input "${e}" is a JSON array but not an array of strings`,t))}catch{return rD(mc(`Input "${e}" looks like JSON but could not be parsed`,t))}return aU(r.split(/[\n,]/).map(e=>e.trim()).filter(e=>!e.startsWith("#")).map(e=>e.startsWith("- ")||e.startsWith("* ")?e.slice(2).trim():e).filter(e=>""!==e))}))}static pairs(e){return mo(gO,ml(e)).pipe(mt(t=>{let r={};for(let i of t.split("\n")){let n=mg(i);if(""===n)continue;let s=n.indexOf("=");if(-1===s)return rD(mc(`Input "${e}" has a line that is not \`key=value\`: "${n}"`,t));r[n.slice(0,s).trim()]=n.slice(s+1).trim()}return aU(r)}))}static schema(e,t){return mo(gO,ml(e)).pipe(mt(r=>{let i;try{i=JSON.parse(r)}catch{return rD(mc(`Input "${e}" is not valid JSON`,r))}return gD(t)(i).pipe(ox(()=>mc(`Input "${e}" did not satisfy its schema`,i)))}))}static provider(e=process.env){let t=e=>void 0!==e&&""!==e,r=r=>{let i=e[r];if(t(i))return i;if(r.startsWith("INPUT_")){for(let[i,n]of Object.entries(e))if(!i.startsWith("INPUT_")&&ml(i)===r&&t(n))return n}};return pZ(e=>{let t=1===e.length&&"string"==typeof e[0]?e[0]:void 0,i=(void 0===t?void 0:r(ml(t)))??r(e.join("_").replaceAll(" ","_").toUpperCase());return aU(void 0===i?void 0:pW(i))})}static layer(t){return p1(e.provider(t))}static providerOver(e){return p0(pZ(t=>{let r=1===t.length?t[0]:void 0;return"string"==typeof r?e.load([ml(r)]):aU(void 0)}),e)}static layerDefault=p1(ot(og,t=>e.providerOver(se(t,pj)??p2())))};let mp=e=>e.replaceAll("%","%25").replaceAll("\r","%0D").replaceAll("\n","%0A");var mm=class e{static render(e,t,r){let i=Object.entries(t).filter(e=>void 0!==e[1]).map(([e,t])=>`${e}=${mp(String(t)).replaceAll(":","%3A").replaceAll(",","%2C")}`).join(",");return`${""===i?`::${e}::`:`::${e} ${i}::`}${mp(r)}`}static debug(t){return e.render("debug",{},t)}static notice(t,r={}){return e.render("notice",e.annotation(r),t)}static warning(t,r={}){return e.render("warning",e.annotation(r),t)}static error(t,r={}){return e.render("error",e.annotation(r),t)}static group(t){return e.render("group",{},t)}static endGroup(){return e.render("endgroup",{},"")}static addMask(t){return e.render("add-mask",{},t)}static annotation(e){return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}};let mf=e=>rv(t=>e(t.getRef(AJ))),mC=(...e)=>mf(t=>aL(()=>{t.log(...e)})),my=(e,t)=>l5(AK,rv(aK(function*(r){let i=new Set(t?.mergeWithExisting===!0?r.getRef(AK):[]);for(let t of e)i.add(rn(t)?yield*t:t);return i}))),mI=e=>(Array.isArray(e)?e:[e]).map(e=>tX(e,0)).join(" "),mE=(e,t)=>{let r=e[t];return"string"==typeof r?r:void 0},mB=(e,t)=>{let r=e[t];if("number"==typeof r)return Number.isFinite(r)?r:void 0;if("string"==typeof r&&""!==r){let e=Number(r);return Number.isFinite(e)?e:void 0}},mQ=(e,t,r)=>{let i=mI(t);if(p5(e,"Warn")){let t,n,s,a,o,A,l=(t=mE(r,"title"),n=mE(r,"file"),s=mB(r,"startLine"),a=mB(r,"endLine"),o=mB(r,"startColumn"),A=mB(r,"endColumn"),{...void 0===t?{}:{title:t},...void 0===n?{}:{file:n},...void 0===s?{}:{startLine:s},...void 0===a?{}:{endLine:a},...void 0===o?{}:{startColumn:o},...void 0===A?{}:{endColumn:A}});return p5(e,"Error")?mm.error(i,l):mm.warning(i,l)}return p5(e,"Info")?i:mm.debug(i)},mb=n0("@effected/github-actions/ActiveBuffer",{defaultValue:()=>null}),mN=e=>aO(()=>{if(0===e.entries.length)return az;let t=[`--- Buffered output for "${e.label}" ---`,...e.entries,`--- End buffered output for "${e.label}" ---`];return e.entries.length=0,Al(t,e=>mC(e),{discard:!0})}),mS=cD(function*(){let e=yield*pJ,t=a9(mb,e=>null===e?az:mN(e));return{group:(e,r)=>cF(mC(mm.group(e)),()=>ob(r,()=>t),()=>mC(mm.endGroup())),withBuffer:(t,r,i)=>cD(function*(){let n=yield*at;if((yield*e.isDebug)||p4(n,"Debug"))return yield*r;let s={label:t,entries:[]},a=AZ(e=>{if(p5(e.logLevel,"Warn")){let t=e.fiber.getRef(s7);e.fiber.getRef(AJ).log(mQ(e.logLevel,e.message,t));return}s.entries.push(mI(e.message))});return yield*r.pipe(om(at,"All"),om(AK,new Set([a])),om(mb,s),o1(e=>"Success"===e._tag&&i?.onSuccess==="discard"?aL(()=>{s.entries.length=0}):mN(s)))}),notice:(e,t={})=>mC(mm.notice(e,t)),annotated:(e,t)=>cq(t,{...void 0===e.title?{}:{title:e.title},...void 0===e.file?{}:{file:e.file},...void 0===e.startLine?{}:{startLine:e.startLine},...void 0===e.endLine?{}:{endLine:e.endLine},...void 0===e.startColumn?{}:{startColumn:e.startColumn},...void 0===e.endColumn?{}:{endColumn:e.endColumn}})}});var mw=class e extends n0()("@effected/github-actions/ActionLogger"){static layer=l5(this,mS);static logger=AZ(e=>{let t=e.fiber.getRef(s7);e.fiber.getRef(AJ).log(mQ(e.logLevel,e.message,t))});static layerLogger=my([e.logger]);static makeTest=(e={})=>({group:(e,t)=>t,withBuffer:(e,t)=>t,notice:()=>az,annotated:(e,t)=>t,...e});static layerTest=(t={})=>l2(e,e.makeTest(t));static layerSilent=l6(e.layerTest(),my([]))},mx=class extends ha()("ActionOutputError",{reason:gJ(["unavailable","writeFailed","invalidName","encodeFailed","detached"]),file:gM(gO),name:gM(gO),cause:gM(g6())}){get message(){switch(this.reason){case"unavailable":return`Runner file "${this.file}" is not available; is this running on a GitHub runner?`;case"writeFailed":return`Failed to write to runner file "${this.file}"`;case"invalidName":return`"${this.name}" is not a usable output name`;case"detached":return`Runner file "${this.file}" cannot be reached from a detached worker — it configures the parent job's later steps, and a worker has none and may outlive the job. Publish this from the parent process instead.`;default:return`Failed to encode the value for "${this.name}"`}}};let mD=cD(function*(){let e=yield*pJ,t=yield*pU,r=(r,i)=>cD(function*(){let n=yield*e.get(r).pipe(ox(()=>new mx({reason:"unavailable",file:r})));yield*t.writeFileString(n,i,{flag:"a"}).pipe(ox(e=>new mx({reason:"writeFailed",file:r,cause:e})))}),i=(e,t,i)=>{if(!(""!==t&&!/[\r\n]/.test(t)))return rD(new mx({reason:"invalidName",file:e,name:t}));let n=(e=>{let t="EFFECTED_EOF";for(;e.includes(t);)t=`${t}_`;return t})(i);return r(e,`${t}<<${n} +${i} +${n} +`)},n=(e,t)=>i("GITHUB_OUTPUT",e,t);return{set:n,setJson:(e,t,r)=>gR(r)(t).pipe(ox(t=>new mx({reason:"encodeFailed",name:e,cause:t})),a9(t=>n(e,JSON.stringify(t)))),summary:e=>r("GITHUB_STEP_SUMMARY",e),exportVariable:(e,t)=>i("GITHUB_ENV",e,t),addPath:e=>r("GITHUB_PATH",`${e} +`),setFailed:e=>mC(mm.error(e)),setSecret:e=>mC(mm.addMask(e))}}),mR=e=>{throw Error(`ActionOutputs.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var mv=class e extends n0()("@effected/github-actions/ActionOutputs"){static layer=l5(this,mD);static layerDetached=l2(this,{set:e=>rD(new mx({reason:"detached",file:"GITHUB_OUTPUT",name:e})),setJson:e=>rD(new mx({reason:"detached",file:"GITHUB_OUTPUT",name:e})),summary:()=>rD(new mx({reason:"detached",file:"GITHUB_STEP_SUMMARY"})),exportVariable:e=>rD(new mx({reason:"detached",file:"GITHUB_ENV",name:e})),addPath:()=>rD(new mx({reason:"detached",file:"GITHUB_PATH"})),setFailed:e=>((...e)=>mf(t=>aL(()=>{t.error(...e)})))(e),setSecret:()=>az});static makeTest=(e={})=>({set:()=>aL(()=>mR("set")),setJson:()=>aL(()=>mR("setJson")),summary:()=>aL(()=>mR("summary")),exportVariable:()=>aL(()=>mR("exportVariable")),addPath:()=>aL(()=>mR("addPath")),setFailed:()=>aL(()=>mR("setFailed")),setSecret:()=>aL(()=>mR("setSecret")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))},mk=class extends ha()("ActionStateError",{reason:gJ(["missing","malformed","notPlainJson","writeFailed"]),key:gO,cause:gM(g6())}){get message(){switch(this.reason){case"missing":return`No action state was saved under "${this.key}"`;case"malformed":return`Action state under "${this.key}" could not be decoded`;case"notPlainJson":return`The encoded form of action state under "${this.key}" is not plain JSON and would not survive the phase boundary — encode to a plain-JSON form (e.g. Schema.OptionFromNullOr rather than Schema.Option)`;default:return`Failed to persist action state under "${this.key}"`}}};let mM=cD(function*(){let e=yield*pJ,t=yield*pU,r=yield*mv,i=(r,i)=>cD(function*(){let n=yield*e.get("GITHUB_STATE").pipe(ox(e=>new mk({reason:"writeFailed",key:r,cause:e}))),s="EFFECTED_EOF";for(;i.includes(s);)s=`${s}_`;yield*t.writeFileString(n,`${r}<<${s} ${i} +${s} +`,{flag:"a"}).pipe(ox(e=>new mk({reason:"writeFailed",key:r,cause:e})))}),n=(t,r)=>cD(function*(){let i=yield*e.getOptional(`STATE_${t}`);if(io(i))return ii();let n=yield*aV({try:()=>JSON.parse(i.value),catch:e=>new mk({reason:"malformed",key:t,cause:e})});return is((yield*gD(r)(n).pipe(ox(e=>new mk({reason:"malformed",key:t,cause:e})))))});return{save:(e,t,r)=>cD(function*(){let n=yield*gR(r)(t).pipe(ox(t=>new mk({reason:"malformed",key:e,cause:t}))),{parsed:s,serialized:a}=yield*aV({try:()=>{let e=JSON.stringify(n);return{parsed:JSON.parse(e),serialized:e}},catch:t=>new mk({reason:"notPlainJson",key:e,cause:t})});yield*gD(r)(s).pipe(ox(t=>new mk({reason:"notPlainJson",key:e,cause:t}))),yield*i(e,a)}),getOptional:n,get:(e,t)=>a9(n(e,t),t=>iA(t)?aU(t.value):rD(new mk({reason:"missing",key:e}))),saveSecret:(e,t)=>a9(r.setSecret(t),()=>i(e,JSON.stringify(t)))}}),mF=e=>{throw Error(`ActionState.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var mU=class e extends n0()("@effected/github-actions/ActionState"){static layer=l5(this,mM);static makeTest=(e={})=>({save:()=>aL(()=>mF("save")),get:()=>aL(()=>mF("get")),getOptional:()=>aL(()=>mF("getOptional")),saveSecret:()=>aL(()=>mF("saveSecret")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))};let mT="~effect/platform/Path",mL=n0("effect/Path"),mO=hg(),mP=hg(),mH="~effect/ChildProcessSpawner/ChildProcessHandle",mY={[mH]:mH,...tZ,toJSON(){return{_id:"ChildProcessHandle",pid:this.pid}}},mG=e=>Object.assign(Object.create(mY),e);class mq extends n0()("effect/process/ChildProcessSpawner"){}let mz="~effect/unstable/process/ChildProcess",mV={...nJ({label:"Command",evaluate(e){return st(e.context,mq).spawn(this)}}),[mz]:mz},m_=(e,t,r)=>Object.assign(Object.create(mV),{_tag:"StandardCommand",command:e,args:t,options:r}),mJ=function(...e){if(mW(e[0])){let[t,...r]=e,i=m$(t,r);return m_(i[0]??"",i.slice(1),{})}if("object"==typeof e[0]&&!Array.isArray(e[0])&&!mW(e[0])){let t=e[0];return function(e,...r){let i=m$(e,r);return m_(i[0]??"",i.slice(1),t)}}if("string"==typeof e[0]&&!Array.isArray(e[1])){let[t,r={}]=e;return m_(t,[],r)}let[t,r=[],i={}]=e;return m_(t,r,i)},mW=e=>Array.isArray(e)&&"raw"in e&&Array.isArray(e.raw),mj=e=>{let t=/^fd(\d+)$/.exec(e);if(null===t)return;let r=parseInt(t[1],10);return r>=3?r:void 0},mK=e=>`fd${e}`,m$=(e,t)=>{let r=[];for(let[i,n]of e.entries())r=mX(e,t,r,n,i);return r},mX=(e,t,r,i,n)=>{let s=e.raw[n];if(void 0===s)throw Error(`Invalid backslash sequence: ${e.raw[n]}`);let{hasLeadingWhitespace:a,hasTrailingWhitespace:o,tokens:A}=m2(i,s),l=m3(r,A,a);if(n===t.length)return l;let c=t[n];return m3(l,Array.isArray(c)?c.map(e=>mZ(e)):[mZ(c)],o)},mZ=e=>"string"==typeof e?e:String(e),m0=new Set([" "," ","\r","\n"]),m1={x:3,u:5},m2=(e,t)=>{if(0===t.length)return{tokens:[],hasLeadingWhitespace:!1,hasTrailingWhitespace:!1};let r=m0.has(t[0]),i=[],n=0;for(let r=0,s=0;r<e.length;r+=1,s+=1){let a=t[s];if(m0.has(a))n!==r&&i.push(e.slice(n,r)),n=r+1;else if("\\"===a){let e=t[s+1];"\n"===e?(r-=1,s+=1):"u"===e&&"{"===t[s+2]?s=t.indexOf("}",s+3):s+=m1[e]??1}}let s=n===e.length;return s||i.push(e.slice(n)),{tokens:i,hasLeadingWhitespace:r,hasTrailingWhitespace:s}},m3=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t.at(0)}`,...t.slice(1)],m5=s("node:child_process");var m4=A(7075);let m8=(e,t)=>(r,[i])=>{let n="Unknown";switch(r.code){case"ENOENT":n="NotFound";break;case"EACCES":n="PermissionDenied";break;case"EEXIST":n="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":n="BadResource";break;case"EBUSY":n="Busy"}return hC({_tag:n,module:e,method:t,pathOrDescriptor:i,syscall:r.syscall,cause:r})},m9=e=>pl(h4(m6(e),e=>[e])),m6=e=>hX(t=>{let r=e.evaluate();return aU(m7({...e,writable:r,pull:t}))}),m7=e=>e.pull.pipe(a9(t=>{let r=0;return aW(function i(n){for(;r<t.length;)if(!e.writable.write(t[r++],e.encoding))return void e.writable.once("drain",()=>i(n));n(az)})}),oC({disableYield:!0}),a8(aW(t=>{let r=r=>t(rD(e.onError(r)));return e.writable.once("error",r),aL(()=>{e.writable.off("error",r)})})),!1!==e.endOnDone?cr(t=>"closed"in e.writable&&e.writable.closed?A5(t):aW(r=>{e.writable.once("finish",()=>r(A5(t))),e.writable.end()})):e$),fe="~effect/MutableRef",ft={[fe]:fe,...rr,toJSON(){return{_id:"MutableRef",current:t$(this.current)}}},fr=e=>pp(fi(e)),fi=e=>hX((t,r)=>fn({scope:r,readable:e.evaluate(),onError:e.onError??fa,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),fn=e=>{var t;let r,i=e.readable,n=e.closeOnDone??!0,s=e.exit??(t=void 0,(r=Object.create(ft)).current=t,r),a=AS(!1);function o(){a.openUnsafe()}function A(t){s.current=rD(e.onError(t)),a.openUnsafe()}function l(){s.current=rD(rL()),a.openUnsafe()}i.on("readable",o),i.once("error",A),i.once("end",l);let c=aO(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return s.current?s.current:i.readableEnded?rD(rL()):(a.closeUnsafe(),a9(a.await,t));let n=nq(r);for(;null!==(r=e.readable.read(e.chunkSize));)n.push(r);return aU(n)});return a2(oJ(e.scope,eX(aL(()=>{i.off("readable",o),i.off("error",A),i.off("end",l),n&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()}))),c)};class fs extends m4.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=AS(!1),this.fiber=pD(t,e=>this.readLatch.whenOpen(aL(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,op(e),AC),this.fiber.addObserver(e=>{this.fiber=void 0,"Success"===e._tag?this.push(null):this.destroy(ag(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);AC(ak(this.fiber)).addObserver(r=>{t("Failure"===r._tag?ag(r.cause):e)})}}let fa=e=>new A_(e),fo=e=>e instanceof globalThis.Error?e:new globalThis.Error(String(e)),fA=(e,t,r)=>{let{commands:i}=fd(r),n=i.reduce((e,t)=>{let r=`${t.command} ${t.args.join(" ")}`;return 0===e.length?r:`${e} | ${r}`},"");return m8("ChildProcess",e)(t,[n])},fl=cD(function*(){let e,t,r=yield*pU,i=yield*mL,n=aK(function*(e){if(!ti(e.cwd))return yield*r.access(e.cwd),i.resolve(e.cwd)}),s=e=>tA(e,pa)?"pipe":e,a=e=>{let t={stream:"pipe",encoding:"utf-8",endOnDone:!0};return ti(e.stdin)?t:"string"==typeof e.stdin?{...t,stream:e.stdin}:tA(e.stdin,"~effect/Stream")?{...t,stream:e.stdin}:{stream:e.stdin.stream,encoding:e.stdin.encoding??t.encoding,endOnDone:e.stdin.endOnDone??t.endOnDone}},o=(e,t)=>{let r=e[t];return ti(r)?{stream:"pipe"}:"string"==typeof r?{stream:r}:tA(r,pa)?{stream:r}:{stream:r.stream}},A=aK(function*(e,t,r){if(0===r.length)return{getInputFd:()=>pu,getOutputFd:()=>pf};let i=new Map,n=new Map;for(let{config:s,fd:a}of r){let r=t.stdio[a];switch(s.type){case"input":{let t=pu;r&&"write"in r&&(t=m9({evaluate:()=>r,onError:t=>fA(`fromWritable(fd${a})`,fo(t),e)})),s.stream&&(yield*Ap(pw(s.stream,t))),i.set(a,t);break}case"output":{let t=pf;if(r&&"read"in r){let i=new m4.PassThrough;r.on("error",e=>i.destroy(e)),r.pipe(i),t=fr({evaluate:()=>i,onError:t=>fA(`fromReadable(fd${a})`,fo(t),e)})}s.sink&&(t=pQ(t,s.sink)),n.set(a,t)}}}return{getInputFd:e=>i.get(e)??pu,getOutputFd:e=>n.get(e)??pf}}),l=(e,t,r)=>"win32"===globalThis.process.platform?aW(r=>{m5.exec(`taskkill /pid ${t.pid} /T /F`,t=>{t?r(rD(fA("kill",fo(t),e))):r(az)})}):aV({try:()=>{globalThis.process.kill(-t.pid,r)},catch:t=>fA("kill",fo(t),e)}),c=(e,t,r)=>aO(()=>t.kill(r)?az:rD(fA("kill",new globalThis.Error("Failed to kill child process"),e))),d=(e,t,r)=>i=>{let n=r?.killSignal??"SIGTERM";return ti(r?.forceKillAfter)?i(t,e,n):oP(i(t,e,n),{duration:r.forceKillAfter,orElse:()=>i(t,e,"SIGKILL")})},u=(e,t)=>{let r=t??"stdout";switch(r){case"stdout":return e.stdout;case"stderr":return e.stderr;case"all":return e.all;default:{let t=mj(r);if(tn(t))return e.getOutputFd(t);return e.stdout}}},g=aK(function*(e){switch(e._tag){case"StandardCommand":{var t,r,i,h;let u,g,p,m,f,C,y,I=a(e.options),E=o(e.options,"stdout"),B=o(e.options,"stderr"),Q=(e=>{if(ti(e.additionalFds))return[];let t=[];for(let[r,i]of Object.entries(e.additionalFds)){let e=mj(r);tn(e)&&t.push({fd:e,config:i})}return t.sort((e,t)=>e.fd-t.fd)})(e.options),b=!0,N=yield*n(e.options),S=(C=e.options).extendEnv?{...globalThis.process.env,...C.env}:C.env,w=((e,t,r,i)=>{let n,a=[tA(n=e.stream,"~effect/Stream")?"pipe":n,s(t.stream),s(r.stream)];if(0===i.length)return a;let o=i.reduce((e,{fd:t})=>Math.max(e,t),2);for(let e=3;e<=o;e++)a[e]="ignore";for(let{fd:e}of i)a[e]="pipe";return a})(I,E,B,Q),[x,D]=yield*cM((y={cwd:N,env:S,stdio:w,detached:e.options.detached??"win32"!==process.platform,shell:e.options.shell},aW(t=>{let r=lH(),i=m5.spawn(e.command,e.args,y);return i.on("error",r=>{t(rD(fA("spawn",r,e)))}),i.on("exit",(...e)=>{lV(r,rN(e))}),i.on("spawn",()=>{t(aU([i,r]))}),aL(()=>{i.kill("SIGTERM")})})),aK(function*([t,r]){let i=yield*lq(r),n=d(t,e,e.options);if(i){let[e]=yield*lY(r);return 0!==e&&ts(e)?yield*oR(n(l)):yield*az}return b?yield*n((e,t,i)=>l(e,t,i).pipe(oB(()=>c(e,t,i)),a3(lY(r)))).pipe(oR):yield*az})),R=mP(x.pid);x.on("exit",t=>{0!==t&&ts(t)&&((e,t)=>{if("win32"===globalThis.process.platform)return m5.exec(`taskkill /pid ${e.pid} /T /F`,()=>{});try{globalThis.process.kill(-e.pid,t)}catch{}})(x,e.options.killSignal??"SIGTERM")});let v=aL(()=>{b||(x.ref(),b=!0)}),k=aL(()=>(b&&(x.unref(),b=!1),v)),M=yield*aO(()=>{let t=pu;return ts(x.stdin)&&(t=m9({evaluate:()=>x.stdin,onError:t=>fA("fromWritable(stdin)",fo(t),e),endOnDone:I.endOnDone,encoding:I.encoding})),tA(I.stream,"~effect/Stream")?a2(Ap(pw(I.stream,t)),t):aU(t)}),{all:F,stderr:U,stdout:T}=(t=e,r=x,i=E,h=B,p=r.stdout?(u=new m4.PassThrough,r.stdout.on("error",e=>u.destroy(e)),r.stdout.pipe(u),fr({evaluate:()=>u,onError:e=>fA("fromReadable(stdout)",fo(e),t)})):pf,m=r.stderr?(g=new m4.PassThrough,r.stderr.on("error",e=>g.destroy(e)),r.stderr.pipe(g),fr({evaluate:()=>g,onError:e=>fA("fromReadable(stderr)",fo(e),t)})):pf,tA(i.stream,pa)&&(p=pQ(p,i.stream)),tA(h.stream,pa)&&(m=pQ(m,h.stream)),f=pB(p,m),{stdout:p,stderr:m,all:f}),{getInputFd:L,getOutputFd:O}=yield*A(e,x,Q),P=ot(lq(D),e=>!e);return mG({pid:R,exitCode:a9(lY(D),([t,r])=>ts(t)?aU(mO(t)):rD(fA("exitCode",new globalThis.Error(`Process interrupted due to receipt of signal: '${r}'`),e))),isRunning:P,kill:t=>d(x,e,t)((e,t,r)=>l(e,t,r).pipe(oB(()=>c(e,t,r)),a3(lY(D)))).pipe(a4),stdin:M,stdout:T,stderr:U,all:F,getInputFd:L,getOutputFd:O,unref:k})}case"PipedCommand":{let{commands:t,pipeOptions:r}=fd(e),[i,...n]=t,s=[(yield*g(i))];for(let e=0;e<n.length;e++){let t=n[e],i=r[e]??{},o=a(t.options),A=pI(aU(u(s[s.length-1],i.from))),l=i.to??"stdin";if("stdin"===l)s.push((yield*g(mJ(t.command,t.args,{...t.options,stdin:{...o,stream:A}}))));else{let e=mj(l);if(tn(e)){let r=mK(e),i=t.options.additionalFds??{};s.push((yield*g(mJ(t.command,t.args,{...t.options,additionalFds:{...i,[r]:{type:"input",stream:A}}}))))}else s.push((yield*g(mJ(t.command,t.args,{...t.options,stdin:{...o,stream:A}}))))}}let o=s[s.length-1],A=cD(function*(){let e=[];for(let t of s)e.push((yield*t.unref));return Al([...e].reverse(),e=>e,{discard:!0})});return mG({pid:o.pid,exitCode:o.exitCode,isRunning:o.isRunning,kill:o.kill,stdin:o.stdin,stdout:o.stdout,stderr:o.stderr,all:o.all,getInputFd:o.getInputFd,getOutputFd:o.getOutputFd,unref:A})}}});return e=(e,t)=>g(e).pipe(ot(e=>pb(t?.includeStderr===!0?e.all:e.stdout)),pI),t=(t,r)=>pN(e(t,r)),mq.of({spawn:g,exitCode:e=>ck(a9(g(e),e=>e.exitCode)),streamString:e,streamLines:t,lines:(e,r)=>pn(t(e,r).channel,()=>[],(e,t)=>{for(let r=0;r<t.length;r++)e.push(t[r]);return e}),string:(t,r)=>pR(e(t,r))})}),fc=l5(mq,fl),fd=e=>{let t=[],r=[],i=e=>{switch(e._tag){case"StandardCommand":t.push(e);break;case"PipedCommand":i(e.left),r.push(e.options),i(e.right)}};if(i(e),0===t.length)throw Error("flattenCommand produced empty commands array");let[n,...s]=t;return{commands:[n,...s],pipeOptions:r}},fu="~effect/platform/Crypto",fg=n0("effect/Crypto"),fh=e=>e.toString(16).padStart(2,"0"),fp=e=>[e.subarray(0,4),e.subarray(4,6),e.subarray(6,8),e.subarray(8,10),e.subarray(10,16)].map(e=>Array.from(e,fh).join("")).join("-"),fm=0x1000000000000-1;var ff=A(7598);let fC=(S=(eA={randomBytes:ff.randomBytes,digest:(e,t)=>aV({try:()=>Uint8Array.from(ff.createHash((e=>{switch(e){case"SHA-1":return"sha1";case"SHA-256":return"sha256";case"SHA-384":return"sha384";case"SHA-512":return"sha512"}})(e)).update(t).digest()),catch:e=>hC({module:"Crypto",method:"digest",_tag:"Unknown",description:"Could not compute digest",cause:e})})}).randomBytes,w=()=>{let e=S(7);return((31&e[0])*0x1000000000000+0x10000000000*e[1]+0x100000000*e[2]+0x1000000*e[3]+65536*e[4]+256*e[5]+e[6])/0x20000000000000},x=()=>Math.floor(w()*(Number.MAX_SAFE_INTEGER-Number.MIN_SAFE_INTEGER+1))+Number.MIN_SAFE_INTEGER,fg.of({[fu]:fu,randomBytes:e=>{let t,r;return ot((t="randomBytes",Number.isSafeInteger(r=e)&&r>=0?aU(r):rD(hy({module:"Crypto",method:t,description:"size must be a non-negative safe integer"}))),S)},nextDoubleUnsafe:w,nextIntUnsafe:x,digest:eA.digest,random:aL(()=>w()),randomBoolean:aL(()=>w()>.5),randomInt:aL(()=>x()),randomBetween:(e,t)=>aL(()=>w()*(t-e)+e),randomIntBetween(e,t,r){let i=+(r?.halfOpen!==!0);return aL(()=>{let r=Math.ceil(e),n=Math.floor(t);return Math.floor(w()*(n-r+i))+r})},randomShuffle:e=>aL(()=>{let t=Array.from(e);for(let e=t.length-1;e>=1;e-=1){let r=Math.min(e,Math.floor(w()*(e+1))),i=t[e];t[e]=t[r],t[r]=i}return t}),randomUUIDv4:aL(()=>{let e;return(e=S(16))[6]=15&e[6]|64,e[8]=63&e[8]|128,fp(e)}),randomUUIDv7:AL(e=>{var t,r;let i;return aU((t=e.currentTimeMillisUnsafe(),r=S(16),i=Math.min(Math.max(0,Math.trunc(t)),fm),r[0]=Math.floor(i/0x10000000000),r[1]=255&Math.floor(i/0x100000000),r[2]=255&Math.floor(i/0x1000000),r[3]=255&Math.floor(i/65536),r[4]=255&Math.floor(i/256),r[5]=255&i,r[6]=15&r[6]|112,r[8]=63&r[8]|128,fp(r)))})})),fy=l2(fg,fC),fI=s("node:fs"),fE=s("node:os");var fB=A(6760),fQ=A.t(fB,2);let fb=e=>t=>hy({module:"FileSystem",method:e,description:t.message??String(t)}),fN=(D=cz(fI.access,m8("FileSystem","access"),fb("access")),(e,t)=>{let r=fI.constants.F_OK;return t?.readable&&(r|=fI.constants.R_OK),t?.writable&&(r|=fI.constants.W_OK),D(e,r)}),fS=(R=cz(fI.cp,m8("FileSystem","copy"),fb("copy")),(e,t,r)=>R(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),fw=(v=cz(fI.copyFile,m8("FileSystem","copyFile"),fb("copyFile")),(e,t)=>v(e,t)),fx=(k=cz(fI.chmod,m8("FileSystem","chmod"),fb("chmod")),(e,t)=>k(e,t)),fD=(M=cz(fI.chown,m8("FileSystem","chown"),fb("chown")),(e,t,r)=>M(e,t,r)),fR=(F=cz(fI.glob,m8("FileSystem","glob"),fb("glob")),(e,t)=>F(e,{cwd:t?.root,exclude:t?.exclude})),fv=(U=cz(fI.link,m8("FileSystem","link"),fb("link")),(e,t)=>U(e,t)),fk=(T=cz(fI.mkdir,m8("FileSystem","makeDirectory"),fb("makeDirectory")),(e,t)=>T(e,{recursive:t?.recursive??!1,mode:t?.mode})),fM=e=>{let t=cz(fI.mkdtemp,m8("FileSystem",e),fb(e));return e=>aO(()=>{let r=e?.prefix??"",i="string"==typeof e?.directory?fB.join(e.directory,"."):fE.tmpdir();return t(r?fB.join(i,r):i+"/")})},fF=fM("makeTempDirectory"),fU=e=>{let t=cz(fI.rm,m8("FileSystem",e),fb(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},fT=fU("remove"),fL=(L=fM("makeTempDirectoryScoped"),O=fU("makeTempDirectoryScoped"),e=>cM(L(e),e=>oB(O(e,{recursive:!0}),aG))),fO=(el="open",P=cz(fI.open,m8("FileSystem",el),fb(el)),H=cz(fI.close,m8("FileSystem",el),fb(el)),(e,t)=>e3(cM(P(e,t?.flag??"r",t?.mode),e=>oB(H(e),aG)),ot(e=>fP(pO(e),t?.flag?.startsWith("a")??!1)))),fP=(()=>{let e=e=>cz(fI.read,m8("FileSystem",e),fb(e)),t=e("read"),r=e("readAlloc"),i=cz(fI.fstat,m8("FileSystem","stat"),fb("stat")),n=cz(fI.ftruncate,m8("FileSystem","truncate"),fb("truncate")),s=cz(fI.fsync,m8("FileSystem","sync"),fb("sync")),a=e=>cz(fI.write,m8("FileSystem",e),fb(e)),o=a("write"),A=a("writeAll");class l{[pL];fd;append;position=BigInt(0);constructor(e,t){this[pL]=pL,this.fd=e,this.append=t}get stat(){return ot(i(this.fd),fW)}get sync(){return s(this.fd)}seek(e,t){let r=pF(e);return aL(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return aO(()=>{let r=this.position;return ot(t(this.fd,{buffer:e,position:r}),e=>{let t=pF(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return aO(()=>{let e=Buffer.allocUnsafeSlow(t),i=this.position;return ot(r(this.fd,{buffer:e,position:i}),r=>{if(0===r)return ii();if(this.position=i+BigInt(r),r===t)return is(e);let n=Buffer.allocUnsafeSlow(r);return e.copy(n,0,0,r),is(n)})})}truncate(e){return ot(n(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return aO(()=>{let t=this.position;return ot(o(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=pF(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return aO(()=>{let t=this.position;return a9(A(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?rD(hC({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):az))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new l(e,t)})(),fH=e=>{let t=fM(e);return aK(function*(e){let r=yield*t(e),i=ff.randomBytes(6).toString("hex"),n=fB.join(r,e?.suffix?`${i}${e.suffix}`:i);return yield*fZ(n,new Uint8Array(0)),n})},fY=fH("makeTempFile"),fG=(Y=fH("makeTempFileScoped"),G=fU("makeTempFileScoped"),e=>cM(Y(e),e=>oB(G(fB.dirname(e),{recursive:!0}),aG))),fq=(e,t)=>cx({try:()=>fI.promises.readdir(e,t),catch:t=>m8("FileSystem","readDirectory")(t,[e])}),fz=e=>aW((t,r)=>{try{fI.readFile(e,{signal:r},(r,i)=>{r?t(rD(m8("FileSystem","readFile")(r,[e]))):t(aU(i))})}catch(e){t(rD(fb("readFile")(e)))}}),fV=(q=cz(fI.readlink,m8("FileSystem","readLink"),fb("readLink")),e=>q(e)),f_=(z=cz(fI.realpath,m8("FileSystem","realPath"),fb("realPath")),e=>z(e)),fJ=(V=cz(fI.rename,m8("FileSystem","rename"),fb("rename")),(e,t)=>V(e,t)),fW=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:iI(e.mtime),atime:iI(e.atime),birthtime:iI(e.birthtime),dev:e.dev,rdev:iI(e.rdev),ino:iI(e.ino),mode:e.mode,nlink:iI(e.nlink),uid:iI(e.uid),gid:iI(e.gid),size:pF(e.size),blksize:void 0!==e.blksize?is(pF(e.blksize)):ii(),blocks:iI(e.blocks)}),fj=(_=cz(fI.stat,m8("FileSystem","stat"),fb("stat")),e=>ot(_(e),fW)),fK=(J=cz(fI.symlink,m8("FileSystem","symlink"),fb("symlink")),(e,t)=>J(e,t)),f$=(W=cz(fI.truncate,m8("FileSystem","truncate"),fb("truncate")),(e,t)=>W(e,void 0!==t?Number(t):void 0)),fX=(j=cz(fI.utimes,m8("FileSystem","utime"),fb("utime")),(e,t,r)=>j(e,t,r)),fZ=(e,t,r)=>aW((i,n)=>{try{fI.writeFile(e,t,{signal:n,flag:r?.flag,mode:r?.mode},t=>{t?i(rD(m8("FileSystem","writeFile")(t,[e]))):i(az)})}catch(e){i(rD(fb("writeFile")(e)))}}),f0=ot(rv(e=>aU(sa(e.context,pP))),e=>{let t;return t={access:fN,chmod:fx,chown:fD,copy:fS,copyFile:fw,glob:fR,link:fv,makeDirectory:fk,makeTempDirectory:fF,makeTempDirectoryScoped:fL,makeTempFile:fY,makeTempFileScoped:fG,open:fO,readDirectory:fq,readFile:fz,readLink:fV,realPath:f_,remove:fT,rename:fJ,stat:fj,symlink:fK,truncate:f$,utimes:fX,watch:t=>fj(t).pipe(ot(r=>e.pipe(iM(e=>e.register(t,r)),ih(()=>{let e,r;return pp((e=e=>cM(aL(()=>{let r=fI.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void AC(oF(fj(r),{onSuccess:t=>hx(e,{_tag:"Create",path:r}),onFailure:t=>hx(e,{_tag:"Remove",path:r})}));case"change":return void hD(e,{_tag:"Update",path:r})}});return r.on("error",r=>{hv(e,rp(hC({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{hk(e)}),r}),e=>aL(()=>e.close())),r=void 0,hX((t,i)=>ot(hw({capacity:r?.bufferSize,strategy:r?.strategy}).pipe(a5(e=>oJ(i,eX(hM(e)))),a5(t=>Ah(oX(e(t),i),i))),hF))))}))),pI),writeFile:fZ},pU.of({...t,[pM]:pM,exists:e=>e3(t.access(e),a2(!0),ow("PlatformError",e=>"NotFound"===e.reason._tag?aU(!1):rD(e))),readFileString:(e,r)=>a9(t.readFile(e),e=>aV({try:()=>new TextDecoder(r).decode(e),catch:e=>hy({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:aK(function*(e,r){let i=yield*t.open(e,{flag:"r"});r?.offset&&(yield*i.seek(r.offset,"start"));let n=r?.bytesToRead!==void 0?pF(r.bytesToRead):void 0,s=BigInt(0),a=pF(r?.chunkSize??65536),o=i.readAlloc(a);return pp(h0(aU(a9(aO(()=>void 0!==n&&n<=s?A5():void 0!==n&&n-s<a?i.readAlloc(n-s):o),il({onNone:()=>A5(),onSome:e=>(s+=BigInt(e.length),aU(nq(e)))})))))},pI),sink:(e,r)=>e3(t.open(e,{flag:"w",...r}),ot(e=>{let t,r;return t=t=>e.writeAll(t),r=Al(e=>t(e),{discard:!0}),pc(e=>e.pipe(a9(r),oC({disableYield:!0}),cr(()=>po)))}),pg),writeFileString:(e,r,i)=>a9(aV({try:()=>new TextEncoder().encode(r),catch:e=>hy({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>t.writeFile(e,r,i))})}),f1=l5(pU)(f0);var f2=A(3136);let f3=e=>aV({try:()=>f2.fileURLToPath(e),catch:e=>new hp({module:"Path",method:"fromFileUrl",cause:e})}),f5=e=>aV({try:()=>f2.pathToFileURL(e),catch:e=>new hp({module:"Path",method:"toFileUrl",cause:e})});fB.posix,fB.win32;let f4=l2(mL)({[mT]:mT,...fQ,fromFileUrl:f3,toFileUrl:f5}),f8="~effect/Stdio",f9=l2(n0(f8),{[f8]:f8,...{args:aL(()=>process.argv.slice(2)),stdout:e=>m9({evaluate:()=>process.stdout,onError:e=>hC({module:"Stdio",method:"stdout",_tag:"Unknown",cause:e}),endOnDone:e?.endOnDone??!1}),stderr:e=>m9({evaluate:()=>process.stderr,onError:e=>hC({module:"Stdio",method:"stderr",_tag:"Unknown",cause:e}),endOnDone:e?.endOnDone??!1}),stdin:fr({evaluate:()=>process.stdin,onError:e=>hC({module:"Stdio",method:"stdin",_tag:"Unknown",cause:e}),closeOnDone:!1})}});class f6{waiters=new Set;taken=0;permits;constructor(e){this.permits=e}get free(){return this.permits-this.taken}take(e){let t=aO(()=>this.free<e?aW(r=>{if(this.free>=e)return r(t);let i=()=>{this.free<e||(this.waiters.delete(i),r(t))};return this.waiters.add(i),aL(()=>{this.waiters.delete(i)})}):(this.taken+=e,aU(e)));return t}updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.currentDispatcher.scheduleTask(()=>{let e=this.waiters.values(),t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()},0),this.free}updateTaken(e){return rv(t=>aU(this.updateTakenUnsafe(t,e)))}resize(e){return rv(t=>(this.permits=e,this.free<0||this.updateTakenUnsafe(t,e=>e),az))}release(e){return this.updateTaken(t=>t-e)}get releaseAll(){return this.updateTaken(e=>0)}withPermits(e){return t=>As(r=>a9(r(this.take(e)),e=>o0(r(t),()=>{this.updateTakenUnsafe(aS(),t=>t-e)},!0)))}withPermit=this.withPermits(1);withPermitsIfAvailable(e){return t=>As(r=>this.free<e?aY:(this.taken+=e,o0(r(ot(t,is)),()=>{this.updateTakenUnsafe(aS(),t=>t-e)},!0)))}}let f7={_tag:"Empty"},Ce={_tag:"Closed"},Ct={_A:e$,_E:e$};class Cr{"~effect/RcRef"=Ct;pipe(){return eJ(this,arguments)}state=f7;semaphore=new f6(1);acquire;context;scope;idleTimeToLive;constructor(e,t,r,i){this.acquire=e,this.context=t,this.scope=r,this.idleTimeToLive=i}}let Ci=aK(function*(e){let t,r=yield*As(t=>{switch(e.state._tag){case"Closed":return o7;case"Acquired":return e.state.refCount++,e.state.fiber?a2(ak(e.state.fiber),e.state):aU(e.state);case"Empty":{let r=oK();return e.semaphore.withPermits(1)(t(op(e.acquire,n7(e.context,oq,r))).pipe(ot(t=>{let i={_tag:"Acquired",value:t,scope:r,fiber:void 0,refCount:1,invalidated:!1};return e.state=i,i})))}}}),i=yield*oq,n=void 0!==e.idleTimeToLive&&"Infinity"!==(t=e.idleTimeToLive).value._tag&&"NegativeInfinity"!==t.value._tag;return yield*oJ(i,()=>(r.refCount--,r.refCount>0)?az:void 0===e.idleTimeToLive?(e.state=f7,oz(r.scope,oa)):r.invalidated?oz(r.scope,oa):n?(r.fiber=AO(e.idleTimeToLive).pipe(a9(()=>"Acquired"===e.state._tag&&0===e.state.refCount?(e.state=f7,oz(r.scope,oa)):az),o2(aL(()=>{r.fiber=void 0})),Am(e.context),Af(e.scope)),az):az),r.value}),Cn="~effect/platform/Terminal",Cs=n0("effect/platform/Terminal"),Ca=s("node:readline"),Co=aK(function*(e=CA){let t,r,i=process.stdin,n=process.stdout,s=yield*(t={acquire:cM(aL(()=>{let e=Ca.createInterface({input:i,escapeCodeTimeout:50});return Ca.emitKeypressEvents(i,e),i.isTTY&&i.setRawMode(!0),e}),e=>aL(()=>{i.isTTY&&i.setRawMode(!1),e.close()}))},rv(e=>{let r=e.context,i=sr(r,oq),n=new Cr(t.acquire,r,i,t.idleTimeToLive?sm(t.idleTimeToLive):void 0);return a2(oJ(i,()=>{let e="Acquired"===n.state._tag?oz(n.state.scope,oa):az;return n.state=Ce,e}),n)})),a=aL(()=>n.columns??0),o=aL(()=>n.rows??0),A=cD(function*(){let t;yield*Ci(s);let r=yield*hw(),n=(t,i)=>{let n={input:iE(t),key:{name:i.name??"",ctrl:!!i.ctrl,meta:!!i.meta,shift:!!i.shift}};hD(r,n),e(n)&&hk(r)};return yield*(t=()=>aL(()=>i.off("keypress",n)),a9(oq,e=>oh(r=>oJ(e,e=>op(t(),r))))),i.on("keypress",n),r});return r={columns:a,rows:o,readInput:A,readLine:ck(a9(Ci(s),e=>aW(t=>{let r=e=>t(aU(e));return e.once("line",r),aL(()=>e.off("line",r))}))),display:e=>Ae(aW(t=>{n.write(e,e=>null==e?t(az):t(rD(hy({module:"Terminal",method:"display",description:"Failed to write prompt to stdout",cause:e}))))}))},Cs.of({...r,[Cn]:Cn})});function CA(e){return e.key.ctrl&&("c"===e.key.name||"d"===e.key.name)}let Cl=ct(fc,l6(f1,fy,f4,f9,l5(Cs,Co(CA)))),Cc=Symbol.for("~effect/http/Headers"),Cd=Object.defineProperties(Object.create(null),{[Cc]:{value:Cc},[tH]:{value(e){return CI(this,sr(e,CE))}},toJSON:{value(){return tY(this)}},[tx]:{value(e){return Cg(this,e)}},[td]:{value(){return tI(this)}},toString:{value:tZ.toString},[tK]:{value:tZ[tK]}}),Cu=e=>Object.assign(Object.create(Cd),e),Cg=(K=eK(2,(e,t)=>{for(let r of nv(e))if(!nD(t,r)||!tP(e[r],t[r]))return!1;return!0}),(e,t)=>K(e,t)&&K(t,e)),Ch=Object.create(Cd),Cp=e=>{if(void 0===e)return Ch;if(Symbol.iterator in e){let t=Object.create(Cd);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(Cd);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},Cm=eK(3,(e,t,r)=>{let i=Cu(e);return i[t.toLowerCase()]=r,i}),Cf=eK(2,(e,t)=>Cu({...e,...Cp(t)})),CC=eK(2,(e,t)=>{let r=Cu(e);return Object.assign(r,t),r}),Cy=eK(2,(e,t)=>{let r=Cu(e);return delete r[t.toLowerCase()],r}),CI=eK(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=da(e[i]))}else for(let i in e)t.test(i)&&(r[i]=da(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),CE=n0("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]}),CB="~effect/http/HttpClientError";class CQ extends A9("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[CB]=CB;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let Cb=e=>e.endsWith("Error")?e.slice(0,-5):e,CN=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class CS extends A9("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return CN(Cb(this._tag),this.description,this.methodAndUrl)}}class Cw extends A9("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return CN(Cb(this._tag),this.description,this.methodAndUrl)}}class Cx extends A9("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return CN(Cb(this._tag),this.description,e)}}class CD extends A9("EmptyBodyError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return CN(Cb(this._tag),this.description,e)}}let CR="~effect/http/HttpBody";class Cv{[CR];constructor(){this[CR]=CR}[tK](){return this.toJSON()}toString(){return tV(this,{ignoreToString:!0})}}let Ck=new class extends Cv{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class CM extends Cv{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let CF=new TextEncoder,CU="~effect/http/UrlParams",CT={...rr,[CU]:CU,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[tx](e){return CH(this,e)},[td](){return tB(this.params.flat())}},CL=e=>{let t=Object.create(CT);return t.params=e,t},CO=e=>{if(tA(e,CU))return e;let t=CP(e),r=[];for(let e=0;e<t.length;e++)if(Array.isArray(t[e][0])){let[i,n]=t[e];r.push([`${i[0]}[${i.slice(1).join("][")}]`,n])}else r.push(t[e]);return CL(r)},CP=e=>{let t="function"==typeof e[Symbol.iterator]?nT(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,n]of CP(i))r.push([[e,..."string"==typeof t?[t]:t],n]);else void 0!==i&&r.push([e,String(i)]);return r},CH=tO((e,t)=>CY(e.params,t.params)),CY=(ec=[tP,tP],ed=tO((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!ec[r](e[r],t[r]))return!1;return!0}),tO((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!ed(e[r],t[r]))return!1;return!0})),CG=CL([]),Cq=eK(2,(e,t)=>{let r=CO(t),i=r.params,n=new Set;for(let e=0;e<i.length;e++)n.add(i[e][0]);for(let t=0;t<e.params.length;t++)n.has(e.params[t][0])||i.push(e.params[t]);return r}),Cz="~effect/http/HttpClientRequest",CV={[Cz]:Cz,...tZ,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:tY(this.headers),body:this.body.toJSON()}},pipe(){return eJ(this,arguments)}};function C_(e,t,r,i,n,s){let a=Object.create(CV);return a.method=e,a.url=t,a.urlParams=r,a.hash=i,a.headers=n,a.body=s,a}let CJ=C_("GET","",CG,ii(),Ch,Ck),CW=e=>(t,r)=>CK(CJ,{method:e,url:t,...r??void 0}),Cj=CW("POST"),CK=eK(2,(e,t)=>{let r=e;return t.method&&(r=C$(r,t.method)),t.url&&(r=C3(r,t.url)),t.headers&&(r=CZ(r,t.headers)),t.urlParams&&(r=C5(r,t.urlParams)),t.hash&&(r=C4(r,t.hash)),t.body&&(r=C8(r,t.body)),t.accept&&(r=C1(r,t.accept)),t.acceptJson&&(r=C2(r)),r}),C$=eK(2,(e,t)=>C_(t,e.url,e.urlParams,e.hash,e.headers,e.body)),CX=eK(3,(e,t,r)=>C_(e.method,e.url,e.urlParams,e.hash,Cm(e.headers,t,r),e.body)),CZ=eK(2,(e,t)=>C_(e.method,e.url,e.urlParams,e.hash,Cf(e.headers,t),e.body)),C0=eK(2,(e,t)=>CX(e,"Authorization",`Bearer ${"string"==typeof t?t:dn(t)}`)),C1=eK(2,(e,t)=>CX(e,"Accept",t)),C2=C1("application/json"),C3=eK(2,(e,t)=>{if("string"==typeof t)return C_(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=CO(r.searchParams),n=iI(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",C_(e.method,r.toString(),i,n,e.headers,e.body)}),C5=eK(2,(e,t)=>C_(e.method,e.url,Cq(e.urlParams,t),e.hash,e.headers,e.body)),C4=eK(2,(e,t)=>C_(e.method,e.url,e.urlParams,is(t),e.headers,e.body)),C8=eK(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=Cy(Cy(r,"Content-Type"),"Content-length"):(t.contentType&&(r=Cm(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=Cm(r,"content-length",t.contentLength.toString()))),C_(e.method,e.url,e.urlParams,e.hash,r,t)}),C9=eK(2,(e,t)=>{var r,i;let n;return C8(e,(r=JSON.stringify(t),i=(void 0)??"application/json",new CM(n=CF.encode(r),i??"text/plain"??"application/octet-stream",n.length)))}),C6="~effect/http/Cookies",C7="~effect/http/Cookies/Cookie",ye=(e=>tA(e,C7),"~effect/http/Cookies/CookieError"),yt={[C6]:C6,...tZ,toJSON(){return{_id:"effect/Cookies",cookies:nR(this.cookies,e=>e.toJSON())}},pipe(){return eJ(this,arguments)}},yr=e=>{var t;let r,i={};for(let t of e)i[t.name]=t;return t=i,(r=Object.create(yt)).cookies=t,r},yi=e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!ys.test(i))return;let n=t[0].slice(r+1),s=yo(n);if(1===t.length)return Object.assign(Object.create(ya),{name:i,value:s,valueEncoded:n});let a={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),n=-1===i?r:r.slice(0,i).trim(),s=-1===i?void 0:r.slice(i+1).trim();switch(n.toLowerCase()){case"domain":{if(void 0===s)break;let e=s.trim().replace(/^\./,"");e&&(a.domain=e);break}case"expires":{if(void 0===s)break;let e=new Date(s);isNaN(e.getTime())||(a.expires=e);break}case"max-age":{if(void 0===s)break;let e=parseInt(s,10);isNaN(e)||(a.maxAge=sD(e));break}case"path":if(void 0===s)break;"/"===s[0]&&(a.path=s);break;case"priority":if(void 0===s)break;switch(s.toLowerCase()){case"low":a.priority="low";break;case"medium":a.priority="medium";break;case"high":a.priority="high"}break;case"httponly":a.httpOnly=!0;break;case"secure":a.secure=!0;break;case"partitioned":a.partitioned=!0;break;case"samesite":if(void 0===s)break;switch(s.toLowerCase()){case"lax":a.sameSite="lax";break;case"strict":a.sameSite="strict";break;case"none":a.sameSite="none"}}}return Object.assign(Object.create(ya),{name:i,value:s,valueEncoded:n,options:Object.keys(a).length>0?a:void 0})}(r.trim());e&&t.push(e)}return yr(t)},yn=yr([]),ys=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,ya={[C7]:C7,...tZ,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}},yo=e=>{try{return decodeURIComponent(e)}catch(t){return e}},yA="~effect/http/HttpIncomingMessage",yl=n0("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0}),yc=(e,t)=>{let r,i=e.headers["content-type"]??"";if(i.includes("application/json"))try{r=AB(e.json)}catch(e){}else if(i.includes("text/")||i.includes("urlencoded"))try{r=AB(e.text)}catch(e){}let n={...t,headers:tY(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(n.body=r),n},yd="~effect/http/HttpClientResponse";class yu extends t0{[yA];[yd];request;source;constructor(e,t){super(),this.request=e,this.source=t,this[yA]=yA,this[yd]=yd}toJSON(){return yc(this,{_id:"HttpClientResponse",request:this.request.toJSON(),status:this.status})}get status(){return this.source.status}get headers(){return Cp(this.source.headers)}cachedCookies;get cookies(){return this.cachedCookies?this.cachedCookies:this.cachedCookies=yi(this.source.headers.getSetCookie())}get remoteAddress(){return ii()}get stream(){let e;return this.source.body?(e={evaluate:()=>this.source.body,onError:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})},pp(hX(aK(function*(t,r){let i=e.evaluate().getReader();return yield*oJ(r,eX(e.releaseLockOnEnd?aL(()=>i.releaseLock()):cw(()=>i.cancel().catch(e2)))),a9(cx({try:()=>i.read(),catch:t=>e.onError(t)}),({done:e,value:t})=>e?A5():aU(nq(t)))})))):py(new CQ({reason:new CD({request:this.request,response:this,description:"can not create stream from empty body"})}))}get json(){return a9(this.text,e=>aV({try:()=>""===e?null:JSON.parse(e),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=cx({try:()=>this.source.text(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB),this.arrayBufferBody=ot(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return a9(this.text,e=>aV({try:()=>CO(new URLSearchParams(e)),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=cx({try:()=>this.source.formData(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=cx({try:()=>this.source.arrayBuffer(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB),this.textBody=ot(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}pipe(){return eJ(this,arguments)}}class yg extends A9("UrlError"){}let yh="~effect/http/HttpClient",yp=n0("effect/HttpClient"),ym=eK(2,(e,t)=>yf(r=>t(e.postprocess(r)),e.preprocess)),yf=(e,t)=>{let r=Object.create(yC);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},yC={[yh]:yh,pipe(){return eJ(this,arguments)},...tZ,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(CW(e)(t,r))}]))},yy=e=>yf(t=>a9(t,t=>rv(r=>{let i,n,s,a=yN.get(t),o=a??new AbortController,A=(i=t.url,n=t.urlParams,s=iN(t.hash),(e=>{if(tr(e))try{return r3(e())}catch(e){return r2(e)}try{return r3(e.try())}catch(t){return r2(e.catch(t))}})({try:()=>{let e=new URL(i,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<n.params.length;t++){let[r,i]=n.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==s&&(e.hash=s),e},catch:e=>new yg({cause:e})}));if(r0(A))return rD(new CQ({reason:new Cw({request:t,cause:A.failure})}));let l=A.success;if(r.getRef(sj)||r.getRef(yI)(t)){let i=e(t,l,o.signal,r);return a?i:As(e=>ok(e(i),{onSuccess:e=>(yb.register(e,o),aU(new yS(e,o))),onFailure:e=>(e.reasons.some(rI)&&o.abort(),aT(e))}))}return AR(r.getRef(yB)(t),{kind:"client"},i=>{let n;i.attribute("http.request.method",t.method),i.attribute("server.address",l.origin),""!==l.port&&i.attribute("server.port",+l.port),i.attribute("url.full",l.toString()),i.attribute("url.path",l.pathname),i.attribute("url.scheme",l.protocol.slice(0,-1));let s=l.search.slice(1);""!==s&&i.attribute("url.query",s);let A=r.getRef(CE),c=CI(t.headers,A);for(let e in c)i.attribute(`http.request.header.${e}`,String(c[e]));return t=r.getRef(yE)?CZ(t,(n=i,Object.setPrototypeOf({b3:`${n.traceId}-${n.spanId}-${n.sampled?"1":"0"}${il(n.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${n.traceId}-${n.spanId}-${n.sampled?"01":"00"}`},Cd))):t,As(n=>n(e(t,l,o.signal,r)).pipe(cL(i,{captureStackTrace:!1}),ok({onSuccess:e=>{i.attribute("http.response.status_code",e.status);let t=CI(e.headers,A);for(let e in t)i.attribute(`http.response.header.${e}`,String(t[e]));return a?aU(e):(yb.register(e,o),aU(new yS(e,o)))},onFailure:e=>(!a&&e.reasons.some(rI)&&o.abort(),aT(e))})))})})),aU),yI=n0("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>e0}),yE=n0("effect/HttpClient/TracerPropagationEnabled",{defaultValue:eZ}),yB=n0("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),yQ=e=>l5(yp)(oh(t=>ot(e,e=>ym(e,od(e=>so(t,e)))))),yb=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),yN=new WeakMap;class yS{original;controller;constructor(e,t){this.original=e,this.controller=t}[yd]=yd;[yA]=yA;applyInterrupt(e){return aO(()=>(yb.unregister(this.original),o8(e,()=>aL(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){return pC(()=>(yb.unregister(this.original),pS(this.original.stream,aL(()=>{this.controller.abort()}))))}toJSON(){return this.original.toJSON()}[tK](){return this.original[tK]()}pipe(){return eJ(this,arguments)}}let yw=n0("effect/http/FetchHttpClient/Fetch",{defaultValue:()=>globalThis.fetch});class yx extends n0()("effect/http/FetchHttpClient/RequestInit"){}let yD=yQ(aU(yy((e,t,r,i)=>{let n=i.getRef(yw),s=i.context.mapUnsafe.get(yx.key)??{},a=s.headers?CC(Cp(s.headers),e.headers):e.headers;a["content-length"]&&(a=Cy(a,"content-length"));let o=i=>ot(cx({try:()=>n(t,{...s,method:e.method,headers:a,body:i,duplex:"Stream"===e.body._tag?"half":void 0,signal:r}),catch:t=>new CQ({reason:new CS({request:e,cause:t})})}),t=>new yu(e,t));switch(e.body._tag){case"Raw":case"Uint8Array":return o(e.body.body);case"FormData":return o(e.body.formData);case"Stream":return a9(pk(e.body.stream),o)}return o(void 0)})));var yR=class{static layer=l6(mw.layer,mw.layerLogger,mU.layer,mh.layerDefault).pipe(ct(mv.layer),ct(pJ.layer),ct(l6(Cl,yD)))};let yv=e=>{let t=aA(e);if(iA(t))return yk(t.value);let r=al(e);if(r1(r))return`[defect] ${yk(r.success)}`;let i=aI(e);return""===i.trim()?"the action failed with no diagnostic information":i},yk=e=>{if("object"==typeof e&&null!==e&&"_tag"in e){let t="string"==typeof e.message&&""!==e.message?`: ${e.message}`:"";return`[${String(e._tag)}]${t}`}return e instanceof Error?`[${e.name}]: ${e.message}`:`[unknown]: ${String(e)}`};var yM=class{static describeCause=yv;static run=(e,t={})=>{let r=t.layer,i=void 0===r?yR.layer:l6(yR.layer,ce(r,yR.layer));return Ay(e.pipe(cI(i),oL,a9(e=>"Success"===e._tag?az:aL(()=>{let t=aI(e.cause);""!==t.trim()&&console.log(mm.render("debug",{},t)),console.log(mm.render("error",{},`Action failed: ${yv(e.cause)}`)),process.exitCode=1})))).catch(()=>{process.exitCode=1})}},yF=class extends ha()("BlobTransferError",{reason:gJ(["uploadFailed","downloadFailed"]),cause:gM(g6())}){get message(){return"uploadFailed"===this.reason?"Could not upload to the signed blob url":"Could not download from the signed blob url"}};let yU="ACTIONS_RESULTS_URL",yT="ACTIONS_RUNTIME_TOKEN",yL=Symbol.for("@effected/github-actions/twirp/conflict"),yO=e=>"transport"===e.kind||"malformed"!==e.kind&&void 0!==e.status&&(e.status>=500||408===e.status||429===e.status),yP=(e,t)=>{if("object"!=typeof e||null===e)return;let r=t.replaceAll(/[A-Z]/g,e=>`_${e.toLowerCase()}`);return e[t]??e[r]},yH=(e,t)=>{let r=yP(e,t);return"string"==typeof r&&""!==r?r:void 0},yY=e=>!0===yP(e,"ok");class yG extends Error{constructor(e){super(e),this.name="AbortError"}}var yq=A(7975);let yz=s("node:process");"string"==typeof yz.versions.deno&&yz.versions.deno.length,"string"==typeof yz.versions.bun&&yz.versions.bun.length;let yV=yz.env.DEBUG,y_=[],yJ=[],yW=[];yV&&yK(yV);let yj=Object.assign(e=>yZ(e),{enable:yK,enabled:y$,disable:function(){let t=e||"";return yK(""),t},log:function(e,...t){yz.stderr.write(`${yq.format(e,...t)}${fE.EOL}`)}});function yK(t){for(let r of(e=t,y_=[],yJ=[],t.split(",").map(e=>e.trim())))r.startsWith("-")?yJ.push(r.substring(1)):y_.push(r);for(let e of yW)e.enabled=y$(e.namespace)}function y$(e){if(e.endsWith("*"))return!0;for(let t of yJ)if(yX(e,t))return!1;for(let t of y_)if(yX(e,t))return!0;return!1}function yX(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,n=0,s=r.length,a=e.length,o=-1,A=-1;for(;i<a&&n<s;)if("*"===r[n]){if(o=n,++n===s)return!0;for(;e[i]!==r[n];)if(++i===a)return!1;A=i,i++,n++;continue}else if(r[n]===e[i])n++,i++;else{if(!(o>=0)||(n=o+1,(i=A+1)===a))return!1;for(;e[i]!==r[n];)if(++i===a)return!1;A=i,i++,n++;continue}let l=i===e.length,c=n===r.length,d=n===r.length-1&&"*"===r[n];return l&&(c||d)}function yZ(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:y$(e),destroy:y0,log:yj.log,namespace:e,extend:y1});return yW.push(t),t}function y0(){let e=yW.indexOf(this);return e>=0&&(yW.splice(e,1),!0)}function y1(e){let t=yZ(`${this.namespace}:${e}`);return t.log=this.log,t}let y2=["verbose","info","warning","error"],y3={verbose:400,info:300,warning:200,error:100};function y5(e,t){t.log=(...t)=>{e.log(...t)}}function y4(e){return y2.includes(e)}function y8(e){var t;let r,i=new Set,n=(t=e.logLevelEnvVarName,yz.env[t]),s=yj(e.namespace);function a(e){if(e&&!y4(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${y2.join(",")}`);r=e;let t=[];for(let e of i)o(e)&&t.push(e.namespace);yj.enable(t.join(","))}function o(e){return!!(r&&y3[e.level]<=y3[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(y5(e,r),o(r)){let e=yj.disable();yj.enable(e+","+r.namespace)}return i.add(r),r}return s.log=(...e)=>{yj.log(...e)},n&&(y4(n)?a(n):console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${y2.join(", ")}.`)),{setLogLevel:a,getLogLevel:function(){return r},createClientLogger:function(e){let t=s.extend(e);return y5(s,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:s}}let y9=y8({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function y6(e){return y9.createClientLogger(e)}function y7(e){return e.toLowerCase()}y9.logger;class Ie{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(y7(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(y7(e))?.value}has(e){return this._headersMap.has(y7(e))}delete(e){this._headersMap.delete(y7(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function It(e){return new Ie(e)}function Ir(){return globalThis.crypto.randomUUID()}class Ii{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??It(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||Ir(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let In=new Set(["Deserialize","Serialize","Retry","Sign"]);class Is{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!In.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!In.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new Is(this._policies)}static create(){return new Is}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),n=r("None"),s=r("Deserialize"),a=r("Retry"),o=r("Sign"),A=[i,n,s,a,o];function l(e){return"Retry"===e?a:"Serialize"===e?i:"Deserialize"===e?s:"Sign"===e?o:n}for(let e of this._policies){let r=e.policy,i=e.options,n=r.name;if(t.has(n))throw Error("Duplicate policy names not allowed in pipeline");let s={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(s.afterPhase=l(i.afterPhase),s.afterPhase.hasAfterPolicies=!0),t.set(n,s),l(i.phase).policies.add(s)}for(let e of this._policies){let{policy:r,options:i}=e,n=r.name,s=t.get(n);if(!s)throw Error(`Missing node for policy ${n}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(s.dependsOn.add(r),r.dependants.add(s))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(s),s.dependants.add(r))}}function c(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==n){n.hasRun||c(n);return}e.hasAfterPolicies&&c(n)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function Ia(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function Io(e){if(Ia(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let IA=yq.inspect.custom,Il="REDACTED",Ic=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],Id=["api-version"];class Iu{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=Ic.concat(e),t=Id.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&Ia(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&Ia(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||Ia(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,Il);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=Il;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=Il;return t}}let Ig=new Iu;class Ih extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,IA,{value:()=>`RestError: ${this.message} + ${Ig.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,Ih.prototype)}}function Ip(e){return e instanceof Ih||Io(e)&&"RestError"===e.name}var Im=A(7067);let If=s("node:https");var IC=A(8522);let Iy=y6("ts-http-runtime"),II={};function IE(e){return e&&"function"==typeof e.pipe}function IB(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function IQ(e){return e&&"number"==typeof e.byteLength}class Ib extends m4.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class IN{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,n=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new yG("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&n.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new Iu;Iy.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),n.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),a=s?.includes("gzip")||s?.includes("deflate"),o="function"==typeof e.body?e.body():e.body;if(o&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(IE(e))return null;if(IQ(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(o);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(o&&e.onUploadProgress){let t=e.onUploadProgress,r=new Ib(t);r.on("error",e=>{Iy.error("Error in upload progress",e)}),IE(o)?o.pipe(r):r.end(o),o=r}let t=await this.makeRequest(e,n,o);void 0!==r&&clearTimeout(r);let s=function(e){let t=It();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),l={status:t.statusCode??0,headers:s,request:e};if("HEAD"===e.method)return t.resume(),l;i=a?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=IC.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=IC.createInflate();return e.pipe(t),t}return e}(t,s):t;let c=e.onDownloadProgress;if(c){let e=new Ib(c);e.on("error",e=>{Iy.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=i:l.bodyAsText=await (A=i,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new Ih(`Error reading response as text: ${e.message}`,{code:Ih.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();IE(o)&&(r=IB(o));let n=Promise.resolve();IE(i)&&(n=IB(i)),Promise.all([r,n]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{Iy.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),n="https:"!==i.protocol;if(n&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let s={agent:e.agent??this.getOrCreateAgent(e,n),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,a)=>{let o=n?Im.request(s,i):If.request(s,i);o.once("error",t=>{a(new Ih(t.message,{code:t.code??Ih.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new yG("The operation was aborted. Rejecting from abort signal callback while making request.");o.destroy(e),a(e)}),r&&IE(r)?r.pipe(o):r?"string"==typeof r||Buffer.isBuffer(r)?o.end(r):IQ(r)?o.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(Iy.error("Unrecognized body type",r),a(new Ih("Unrecognized body type"))):o.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?Im.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new Im.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return If.globalAgent;let t=e.tlsSettings??II,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(Iy.info("No cached TLS Agent exist, creating a new Agent"),i=new If.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let IS="Retry-After",Iw=["retry-after-ms","x-ms-retry-after-ms",IS];function Ix(e){if(e&&[429,503].includes(e.status))try{for(let t of Iw){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===IS?1e3:1;return r*e}}let t=e.headers.get(IS);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let ID=y6("ts-http-runtime retryPolicy");function IR(e,t){return Buffer.from(e,t)}async function Iv(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:It({"Content-Disposition":`form-data; name="${t}"`}),body:IR(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",n=It();n.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),n.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:n,body:e})}t.multipartBody={parts:i}}var Ik=A(6565),IM=A(7277);let IF=[],IU=!1,IT=new Map;function IL(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function IO(){if(!process)return;let e=IL("HTTPS_PROXY"),t=IL("ALL_PROXY"),r=IL("HTTP_PROXY");return e||t||r}function IP(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function IH(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&Iy.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new IM.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new Ik.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let IY="redirectPolicy",IG=["GET","HEAD"];async function Iq(e,t,r,i,n=0){let{request:s,status:a,headers:o}=t,A=o.get("location");if(A&&(300===a||301===a&&IG.includes(s.method)||302===a&&IG.includes(s.method)||303===a&&"POST"===s.method||307===a)&&n<r){let o=new URL(A,s.url);if(!i){let e=new URL(s.url);if(o.origin!==e.origin)return Iy.verbose(`Skipping cross-origin redirect from ${e.origin} to ${o.origin}.`),t}s.url=o.toString(),303===a&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let l=await e(s);return Iq(e,l,r,i,n+1)}return t}let Iz=s("stream");function IV(e){return e instanceof Blob}async function*I_(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function IJ(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=I_.bind(e)),e.values||(e.values=I_.bind(e)),Iz.Readable.fromWeb(e)):e}function IW(e){return e instanceof Uint8Array?Iz.Readable.from(Buffer.from(e)):IV(e)?IJ(e.stream()):IJ(e)}async function Ij(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(IW);return Iz.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function IK(e,t,r){let i=[IR(`--${r}`,"utf-8"),...t.flatMap(e=>[IR("\r\n","utf-8"),IR(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r +`;return t}(e.headers),"utf-8"),IR("\r\n","utf-8"),e.body,IR(`\r +--${r}`,"utf-8")]),IR("--\r\n\r\n","utf-8")],n=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:IV(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);n&&e.headers.set("Content-Length",n),e.body=await Ij(i)}let I$="multipartPolicy",IX=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),IZ=y8({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function I0(e){return IZ.createClientLogger(e)}IZ.logger;let I1=I0("core-rest-pipeline"),I2="decompressResponsePolicy";async function I3(e){if(yz&&yz.versions){let t=`${fE.type()} ${fE.release()}; ${fE.arch()}`;yz.versions.bun?e.set("Bun",`${yz.versions.bun} (${t})`):yz.versions.deno?e.set("Deno",`${yz.versions.deno} (${t})`):yz.versions.node&&e.set("Node",`${yz.versions.node} (${t})`)}}async function I5(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await I3(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let I4="User-Agent",I8=Symbol("rawContent");function I9(e){return"function"==typeof e[I8]}class I6 extends Error{constructor(e){super(e),this.name="AbortError"}}function I7(e,t){let r,{abortSignal:i,abortErrorMsg:n}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:n}=t??{};return new Promise((t,s)=>{function a(){s(new I6(n??"The operation was aborted."))}function o(){i?.removeEventListener("abort",A)}function A(){r?.(),o(),a()}if(i?.aborted)return a();try{e(e=>{o(),t(e)},e=>{o(),s(e)})}catch(e){s(e)}i?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:n??"The delay was aborted."})}function Ee(e){if(Io(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function Et(e){var t=e;if(!t&&!(t=IO()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let Er={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class Ei{_contextMap;constructor(e){this._contextMap=e instanceof Ei?new Map(e._contextMap):new Map}setValue(e,t){let r=new Ei(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new Ei(this);return t._contextMap.delete(e),t}}let En=A(7301).w;function Es(){return En.instrumenterImplementation||(En.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new Ei(e.parentContext);return e.span&&(t=t.setValue(Er.span,e.span)),e.namespace&&(t=t.setValue(Er.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),En.instrumenterImplementation}function Ea(e){let{namespace:t,packageName:r,packageVersion:i}=e;function n(e,n,s){let a=Es().startSpan(e,{...s,packageName:r,packageVersion:i,tracingContext:n?.tracingOptions?.tracingContext}),o=a.tracingContext,A=a.span;return o.getValue(Er.namespace)||(o=o.setValue(Er.namespace,t)),A.setAttribute("az.namespace",o.getValue(Er.namespace)),{span:A,updatedOptions:Object.assign({},n,{tracingOptions:{...n?.tracingOptions,tracingContext:o}})}}async function s(e,t,r,i){let{span:s,updatedOptions:o}=n(e,t,i);try{let e=await a(o.tracingOptions.tracingContext,()=>r(o,s));return s.setStatus({status:"success"}),e}catch(e){throw s.setStatus({status:"error",error:e}),e}finally{s.end()}}function a(e,t,...r){return Es().withContext(e,t,...r)}return{startSpan:n,withSpan:s,withContext:a,parseTraceparentHeader:function(e){return Es().parseTraceparentHeader(e)},createRequestHeaders:function(e){return Es().createRequestHeaders(e)}}}function Eo(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",n),r=!1)}function n(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",n),{abortSignal:t.signal,cleanup:i}}function EA(){let e=new IN;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?Eo(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}I0("core-rest-pipeline retryPolicy");let El={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function Ec(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let n=await i();for(;null===n;)await I7(t),n=await i();return n}async function Ed(e,t){try{return[await t(e),void 0]}catch(e){if(Ip(e)&&e.response)return[e.response,e];throw e}}async function Eu(e){let{scopes:t,getAccessToken:r,request:i}=e,n={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},s=await r(t,n);s&&e.request.headers.set("Authorization",`Bearer ${s.token}`)}function Eg(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function Eh(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function Ep(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,n=e.logger||I1,s={authorizeRequest:i?.authorizeRequest?.bind(i)??Eu,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},a=t?function(e){let t,r=null,i=null,n={...El,...void 0},s={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(s.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-n.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-n.forcedRefreshWindowInMs<Date.now()}};function a(a,o){return s.isRefreshing||(r=Ec(()=>e.getToken(a,o),n.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=o.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let n=!!r.claims,o=t!==r.tenantId;return(n&&(i=null),o||n||s.mustRefresh)?a(e,r):(s.shouldRefresh&&a(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,o;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:a,logger:n}),[i,o]=await Ed(e,t),Eg(i)){let A=Em(i.headers.get("WWW-Authenticate"));if(A){let s;try{s=atob(A)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await Eh({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:a,logger:n},s)&&([i,o]=await Ed(e,t))}else if(s.authorizeRequestOnChallenge&&(await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:a,logger:n})&&([i,o]=await Ed(e,t)),Eg(i))&&(A=Em(i.headers.get("WWW-Authenticate")??""))){let s;try{s=atob(A)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await Eh({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:a,logger:n},s)&&([i,o]=await Ed(e,t))}}if(!o)return i;throw o}}}function Em(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,n=[];for(;null!==(t=r.exec(e));){let e,r=t[1],s=t[2],a={};for(;null!==(e=i.exec(s));)a[e[1]]=e[2];n.push({scheme:r,params:a})}return n}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function Ef(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let EC="DisableKeepAlivePolicy";function Ey(e){return Buffer.from(e).toString("base64")}function EI(e){return IR(e,"base64")}let EE=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,EB=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function EQ(e,t){var r,i;let n,s=e.parsedHeaders;if("HEAD"===e.request.method)return{...s,body:e.parsedBody};let a=t&&t.bodyMapper,o=!!a?.nullable,A=a?.type.name;if("Stream"===A)return{...s,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&a.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(s)for(let e of Object.keys(s))t[e]=s[e];return!o||e.parsedBody||s||0!==Object.getOwnPropertyNames(l).length?t:null}return n={...(i={body:e.parsedBody,headers:s,hasNullableType:o,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(n).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:n}class Eb{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:n,InclusiveMaximum:s,InclusiveMinimum:a,MaxItems:o,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:u,UniqueItems:g}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==n&&t<=n&&i("ExclusiveMinimum",n),void 0!==s&&t>s&&i("InclusiveMaximum",s),void 0!==a&&t<a&&i("InclusiveMinimum",a),void 0!==o&&t.length>o&&i("MaxItems",o),void 0!==A&&t.length>A&&i("MaxLength",A),void 0!==l&&t.length<l&&i("MinItems",l),void 0!==c&&t.length<c&&i("MinLength",c),void 0!==d&&t%d!=0&&i("MultipleOf",d),u){let e="string"==typeof u?new RegExp(u):u;("string"!=typeof t||null===t.match(e))&&i("Pattern",u)}g&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",g)}}serialize(e,t,r,i={xml:{}}){let n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},s={},a=e.type.name;r||(r=e.serializedName),null!==a.match(/^Sequence$/i)&&(s=[]),e.isConstant&&(t=e.defaultValue);let{required:o,nullable:A}=e;if(o&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(o&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!o&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==a.match(/^any$/i)?s=t:null!==a.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?s=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&EB.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(a,r,t):null!==a.match(/^Enum$/i)?s=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==a.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?s=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!EE.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(a,t,r):null!==a.match(/^ByteArray$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=Ey(t)}return t}(r,t):null!==a.match(/^Base64Url$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(Ey(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==a.match(/^Sequence$/i)?s=function(e,t,r,i,n,s){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let a=t.type.element;if(!a||"object"!=typeof a)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===a.type.name&&a.type.className&&(a=e.modelMappers[a.type.className]??a);let o=[];for(let t=0;t<r.length;t++){let A=e.serialize(a,r[t],i,s);if(n&&a.xmlNamespace){let e=a.xmlNamespacePrefix?`xmlns:${a.xmlNamespacePrefix}`:"xmlns";"Composite"===a.type.name?o[t]={...A}:(o[t]={},o[t][s.xml.xmlCharKey]=A),o[t].$={[e]:a.xmlNamespace}}else o[t]=A}return o}(this,e,t,r,!!this.isXML,n):null!==a.match(/^Dictionary$/i)?s=function(e,t,r,i,n,s){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let a=t.type.value;if(!a||"object"!=typeof a)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let o={};for(let t of Object.keys(r)){let A=e.serialize(a,r[t],i,s);o[t]=ED(a,A,n,s)}return n&&t.xmlNamespace?(o.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},o):o}(this,e,t,r,!!this.isXML,n):null!==a.match(/^Composite$/i)&&(s=function(e,t,r,i,n,s){if(Ev(e,t)&&(t=ER(e,t,r,"clientName")),null!=r){let a={},o=Ex(e,t,i);for(let A of Object.keys(o)){let l,c=o[A];if(c.readOnly)continue;let d=a;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=ES(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(n&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let a=""!==c.serializedName?i+"."+c.serializedName:i,o=r[A],u=Ev(e,t);u&&u.clientName===A&&null==o&&(o=t.serializedName);let g=e.serialize(c,o,a,s);if(void 0!==g&&null!=l){let e=ED(c,g,n,s);n&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=g):n&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=Ew(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(A){let t=Object.keys(o);for(let n of Object.keys(r))t.every(e=>e!==n)&&Object.defineProperty(a,n,{value:e.serialize(A,r[n],i+'["'+n+'"]',s),enumerable:!0,configurable:!0,writable:!0})}return a}return r}(this,e,t,r,!!this.isXML,n)),s}deserialize(e,t,r,i={xml:{}}){let n,s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let a=e.type.name;if(r||(r=e.serializedName),null!==a.match(/^Composite$/i))n=function(e,t,r,i,n){let s=n.xml.xmlCharKey??"_";Ev(e,t)&&(t=ER(e,t,r,"serializedName"));let a=Ex(e,t,i),o={},A=[];for(let l of Object.keys(a)){let c=a[l],d=ES(a[l].serializedName);A.push(d[0]);let{serializedName:u,xmlName:g,xmlElementName:h}=c,p=i;""!==u&&void 0!==u&&(p=i+"."+u);let m=c.headerCollectionPrefix;if(m){let t={};for(let i of Object.keys(r))i.startsWith(m)&&(t[i.substring(m.length)]=e.deserialize(c.type.value,r[i],p,n)),A.push(i);o[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)o[l]=e.deserialize(c,r.$[g],p,n);else if(c.xmlIsMsText)void 0!==r[s]?o[l]=r[s]:"string"==typeof r&&(o[l]=r);else{let t=h||g||u;if(c.xmlIsWrapped){let t=r[g],i=t?.[h]??[];Object.defineProperty(o,l,{value:e.deserialize(c,i,p,n),enumerable:!0,configurable:!0,writable:!0}),A.push(g)}else{let i=r[t];o[l]=e.deserialize(c,i,p,n),A.push(t)}}else{let i,s,A=r,u=0;for(let e of d){if(!A)break;u++,A=A[e]}null===A&&u<d.length&&(A=void 0),i=A;let g=t.type.polymorphicDiscriminator;if(g&&l===g.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[l])&&""===a[l].serializedName){i=r[l];let t=e.deserialize(c,i,p,n);for(let[e,r]of Object.entries(o))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);o=t}else(void 0!==i||void 0!==c.defaultValue)&&(s=e.deserialize(c,i,p,n),o[l]=s)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(a))if(ES(a[t].serializedName)[0]===e)return!1;return!0};for(let s of Object.keys(r))if(t(s)){let t=e.deserialize(l,r[s],i+'["'+s+'"]',n);Object.defineProperty(o,s,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!n.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==o[e]||A.includes(e)||["$",n.xml.xmlCharKey].includes(e)||Object.defineProperty(o,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return o}(this,e,t,r,s);else{if(this.isXML){let e=s.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==a.match(/^Number$/i)?isNaN(n=parseFloat(t))&&(n=t):null!==a.match(/^Boolean$/i)?n="true"===t||"false"!==t&&t:null!==a.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?n=t:null!==a.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?n=new Date(t):null!==a.match(/^UnixTime$/i)?n=function(e){if(e)return new Date(1e3*e)}(t):null!==a.match(/^ByteArray$/i)?n=EI(t):null!==a.match(/^Base64Url$/i)?n=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return EI(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==a.match(/^Sequence$/i)?n=function(e,t,r,i,n){let s=t.type.element;if(!s||"object"!=typeof s)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===s.type.name&&s.type.className&&(s=e.modelMappers[s.type.className]??s);let t=[];for(let a=0;a<r.length;a++)t[a]=e.deserialize(s,r[a],`${i}[${a}]`,n);return t}return r}(this,e,t,r,s):null!==a.match(/^Dictionary$/i)&&(n=function(e,t,r,i,n){let s=t.type.value;if(!s||"object"!=typeof s)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let a of Object.keys(r))t[a]=e.deserialize(s,r[a],i,n);return t}return r}(this,e,t,r,s))}return e.isConstant&&(n=e.defaultValue),n}}function EN(e={},t=!1){return new Eb(e,t)}function ES(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function Ew(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function Ex(e,t,r){let i=t.type.modelProperties;if(!i){let n=Ew(e,t,r);if(!n)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=n?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(n)}" of type "${t.type.className}" for object "${r}".`)}return i}function ED(e,t,r,i){if(!r||!e.xmlNamespace)return t;let n={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=n,e}let s={};return s[i.xml.xmlCharKey]=t,s.$=n,s}function ER(e,t,r,i){let n=Ev(e,t);if(n){let s=n[i];if(s){"serializedName"===i&&(s=s.replace(/\\/gi,""));let n=r[s],a=t.type.uberParent??t.type.className;if("string"==typeof n&&a){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),n=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,n))return e[n];for(let[t,n]of Object.entries(e))t.startsWith(r+".")&&n.type.uberParent===r&&n.type.className&&i.push(n.type.className)}}(e.modelMappers.discriminators,n,a);r&&(t=r)}}}return t}function Ev(e,t){return t.type.polymorphicDiscriminator||Ek(e,t.type.uberParent)||Ek(e,t.type.className)}function Ek(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let EM="Sequence",EF="Stream",EU=A(5997).w;function ET(e,t,r){let i,n=t.parameterPath,s=t.mapper;if("string"==typeof n&&(n=[n]),Array.isArray(n)){if(n.length>0)if(s.isConstant)i=s.defaultValue;else{let t=EL(e,n);!t.propertyFound&&r&&(t=EL(r,n));let a=!1;t.propertyFound||(a=s.required||"options"===n[0]&&2===n.length),i=a?s.defaultValue:t.propertyValue}}else for(let[t,a]of(s.required&&(i={}),Object.entries(n))){let n=ET(e,{parameterPath:a,mapper:s.type.modelProperties[t]},r);void 0!==n&&(i||(i={}),Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}))}return i}function EL(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let EO=Symbol.for("@azure/core-client original request");function EP(e){if(EO in e)return EP(e[EO]);let t=EU.operationRequestMap.get(e);return t||(t={},EU.operationRequestMap.set(e,t)),t}let EH=["application/json","text/json"],EY=["application/xml","application/atom+xml"];async function EG(e,t,r,i,n){let s,a,o,A,l,c=await Eq(e,t,r,i,n);if(s=EP(c.request),!(void 0===(a=s?.shouldDeserialize)||("boolean"==typeof a?a:a(c))))return c;let d=EP(c.request),u=d?.operationSpec;if(!u||!u.responses)return c;let g=(A=EP(c.request),(l=A?.operationSpec)&&(o=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),o),{error:h,shouldReturnResponse:p}=function(e,t,r,i){let n,s=200<=e.status&&e.status<300;if(0===(n=Object.keys(t.responses)).length||1===n.length&&"default"===n[0]?s:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let a=r??t.responses.default,o=new Ih(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!a&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw o;let A=a?.bodyMapper,l=a?.headersMapper;try{if(e.parsedBody){let r,n=e.parsedBody;if(A){let e=n;if(t.isXML&&A.type.name===EM){e=[];let t=A.xmlElementName;"object"==typeof n&&t&&(e=n[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",i)}let s=n.error||r||n;o.code=s.code,s.message&&(o.message=s.message),A&&(o.response.parsedBody=r)}e.headers&&l&&(o.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){o.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:o,shouldReturnResponse:!1}}(c,u,g,i);if(h)throw h;if(p)return c;if(g){if(g.bodyMapper){let e=c.parsedBody;u.isXML&&g.bodyMapper.type.name===EM&&(e="object"==typeof e?e[g.bodyMapper.xmlElementName]:[]);try{c.parsedBody=u.serializer.deserialize(g.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new Ih(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===u.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);g.headersMapper&&(c.parsedHeaders=u.serializer.deserialize(g.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function Eq(e,t,r,i,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,a=r.headers.get("Content-Type")||"",o=a?a.split(";").map(e=>e.toLowerCase()):[];try{if(0===o.length||o.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(s);else if(o.some(e=>-1!==t.indexOf(e))){if(!n)throw Error("Parsing XML not supported.");r.parsedBody=await n(s,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||Ih.PARSE_ERROR;throw new Ih(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function Ez(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function EV(e={}){var t,r,i,n,s;let a,o,A,l,c,d,u=(t=e??{},o=Is.create(),t.agent&&o.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&o.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),o.addPolicy((n=t.proxyOptions,s=void 0,IU||IF.push(...(A=IL("NO_PROXY"),(IU=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=n?IP(n):(l=IO())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let n=!1;for(let e of t)"."===e[0]?i.endsWith(e)?n=!0:i.length===e.length-1&&i===e.slice(1)&&(n=!0):i===e&&(n=!0);return r?.set(i,n),n}(e.url,s?.customNoProxyList??IF,s?.customNoProxyList?void 0:IT)?IH(e,d,c):e.proxySettings&&IH(e,d,IP(e.proxySettings)),t(e))})),o.addPolicy({name:I2,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),o.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=Eo(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),o.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await Iv(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[I$]}),o.addPolicy(function(e={}){let t=I5(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(I4)||e.headers.set(I4,await t),r(e))}}(t.userAgentOptions)),o.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),o.addPolicy((a={name:I$,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",n=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,s,a]=n;if(a&&r&&a!==r)throw Error(`Multipart boundary was specified as ${a} in the header, but got ${r} in the request body`);if(r??=a){var o=r;if(o.length>70)throw Error(`Multipart boundary "${o}" exceeds maximum length of 70 characters`);if(Array.from(o).some(e=>!IX.has(e)))throw Error(`Multipart boundary "${o}" contains invalid characters`)}else r=`----AzSDKFormBoundary${Ir()}`;return e.headers.set("Content-Type",`${s}; boundary=${r}`),await IK(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:I$,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;I9(t.body)&&(t.body=I9(r=t.body)?r[I8]():r)}return a.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),o.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||ID;return{name:"retryPolicy",async sendRequest(i,n){let s,a,o=-1;e:for(;;){o+=1,s=void 0,a=void 0;try{r.info(`Retry ${o}: Attempting to send request`,i.requestId),s=await n(i),r.info(`Retry ${o}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${o}: Received an error from request`,i.requestId),!Ip(e))throw e;a=e,s=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${o}: Request aborted.`),new yG;if(o>=(t.maxRetries??3)){if(r.info(`Retry ${o}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),a)throw a;if(s)return s;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${o}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${o}: Processing retry strategy ${t.name}.`);let n=t.retry({retryCount:o,response:s,responseError:a});if(n.skipStrategy){e.info(`Retry ${o}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=n;if(A)throw e.error(`Retry ${o}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${o}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((i,n)=>{let s,a,o=()=>n(new yG(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&a&&r.abortSignal.removeEventListener("abort",a)};if(a=()=>(s&&clearTimeout(s),A(),o()),r?.abortSignal&&r.abortSignal.aborted)return o();s=setTimeout(()=>{A(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",a)})}(l,void 0,{abortSignal:i.abortSignal});continue e}if(c){e.info(`Retry ${o}: Retry strategy ${t.name} redirects to ${c}`),i.url=c;continue e}}if(a)throw r.info("None of the retry strategies could work with the received error. Throwing it."),a;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=Ix(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:n,responseError:s}){var a,o,A,l,c;let d,u,g=!!(l=s)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=g&&e.ignoreSystemErrors,p=!!((c=n)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),m=p&&e.ignoreHttpStatusCodes;return n&&(Number.isFinite(Ix(n))||!p)||m||h?{skipStrategy:!0}:!s||g||p?(d=(a={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(u=Math.min(a.maxRetryDelayInMs,d))/2+(o=0,A=u/2,o=Math.ceil(o),Math.floor(Math.random()*((A=Math.floor(A))-o+1))+o)}):{errorToThrow:s}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),o.addPolicy(function(e={}){let t=I5(e.userAgentPrefix),r=new Iu({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return Ea({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){I1.warning(`Error when creating the TracingClient: ${Ee(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,n){if(!i)return n(e);let s=await t,a={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":s,requestId:e.requestId};s&&(a["http.user_agent"]=s);let{span:o,tracingContext:A}=function(e,t,r){try{let{span:i,updatedOptions:n}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let s=e.createRequestHeaders(n.tracingOptions.tracingContext);for(let[e,r]of Object.entries(s))t.headers.set(e,r);return{span:i,tracingContext:n.tracingOptions.tracingContext}}catch(e){I1.warning(`Skipping creating a tracing span due to an error: ${Ee(e)}`);return}}(i,e,a)??{};if(!o||!A)return n(e);try{let t=await i.withContext(A,n,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){I1.warning(`Skipping tracing span processing due to an error: ${Ee(e)}`)}}(o,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:Io(t)?t:void 0}),Ip(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){I1.warning(`Skipping tracing span processing due to an error: ${Ee(e)}`)}}(o,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),o.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:IY,async sendRequest(e,i){let n=await i(e);return Iq(i,n,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),o.addPolicy(function(e={}){return function(e={}){let t=e.logger??Iy.info,r=new Iu({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let n=await i(e);return t(`Response status code: ${n.status}`),t(`Headers: ${r.sanitize({headers:n.headers})}`),n}}}({logger:I1.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),o);return e.credentialOptions&&u.addPolicy(Ep({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),u.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=EP(e),n=i?.operationSpec,s=i?.operationArguments;return n&&s&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let n=ET(t,i);if(null!=n||i.mapper.required){n=r.serializer.serialize(i.mapper,n,Ez(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(n))e.headers.set(t+r,n[r]);else e.headers.set(i.mapper.serializedName||Ez(i),n)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,s,n),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let n=t.options?.serializerOptions,s={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},a=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=ET(t,r.requestBody);let n=r.requestBody.mapper,{required:o,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:u,nullable:g}=n,h=n.type.name;try{if(void 0!==e.body&&null!==e.body||g&&null===e.body||o){let t=Ez(r.requestBody);e.body=r.serializer.serialize(n,e.body,t,s);let o=h===EF;if(r.isXML){let t=u?`xmlns:${u}`:"xmlns",r=function(e,t,r,i,n){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[n.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(d,t,h,e.body,s);h===EM?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let n={[t]:e};return n.$={[r]:i},n}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:a}):o||(e.body=i(r,{rootName:l||A,xmlCharKey:a}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;o||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let n=ET(t,i);if(null!=n){let t=i.mapper.serializedName||Ez(i);e.formData[t]=r.serializer.serialize(i.mapper,n,Ez(i),s)}}}(e,s,n,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),u.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??EH,r=e.expectedContentTypes?.xml??EY,i=e.parseXML,n=e.serializerOptions,s={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,n)=>EG(t,r,await n(e),s,i)}}(e.deserializationOptions),{phase:"Deserialize"}),u}let E_={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function EJ(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let EW=I0("core-client");class Ej{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var r;let i,n;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&EW.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(t||(t=EA()),t),this.pipeline=e.pipeline||(i=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(r=e),n=r.credential&&i?{credentialScopes:i,credential:r.credential}:void 0,EV({...r,credentialOptions:n})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new Ii({url:function(e,t,r,i){let n=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let n of e.urlParameters){let s=ET(t,n,r),a=Ez(n);s=e.serializer.serialize(n.mapper,s,a),n.skipEncoding||(s=encodeURIComponent(s)),i.set(`{${n.mapper.serializedName||a}}`,s)}return i}(t,r,i),s=!1,a=EJ(e,n);if(t.path){let e=EJ(t.path,n);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(a=e,s=!0):a=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let n=t.indexOf("?");if(-1!==n){let e=t.substring(0,n),s=t.substring(n+1);i+=e,s&&(r.search=r.search?`${r.search}&${s}`:s)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(a,e)}let{queryParams:o,sequenceParams:A}=function(e,t,r){let i=new Map,n=new Set;if(e.queryParameters?.length)for(let s of e.queryParameters){"Sequence"===s.mapper.type.name&&s.mapper.serializedName&&n.add(s.mapper.serializedName);let a=ET(t,s,r);if(null!=a||s.mapper.required){a=e.serializer.serialize(s.mapper,a,Ez(s));let t=s.collectionFormat?E_[s.collectionFormat]:"";if(Array.isArray(a)&&(a=a.map(e=>null==e?"":e)),"Multi"===s.collectionFormat&&0===a.length)continue;Array.isArray(a)&&("SSV"===s.collectionFormat||"TSV"===s.collectionFormat)&&(a=a.join(t)),s.skipEncoding||(a=Array.isArray(a)?a.map(e=>encodeURIComponent(e)):encodeURIComponent(a)),Array.isArray(a)&&("CSV"===s.collectionFormat||"Pipes"===s.collectionFormat)&&(a=a.join(t)),i.set(s.mapper.serializedName||Ez(s),a)}}return{queryParams:i,sequenceParams:n}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let n=new URL(e),s=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),n=t.get(e);n?Array.isArray(n)?n.push(i):t.set(e,[n,i]):t.set(e,i)}return t}(n.search);for(let[e,n]of t){let t=s.get(e);if(Array.isArray(t))if(Array.isArray(n)){t.push(...n);let r=new Set(t);s.set(e,Array.from(r))}else t.push(n);else t?(Array.isArray(n)?n.unshift(t):r.has(e)&&s.set(e,[t,n]),i||s.set(e,n)):s.set(e,n)}let a=[];for(let[e,t]of s)if("string"==typeof t)a.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)a.push(`${e}=${r}`);else a.push(`${e}=${t}`);return n.search=a.length?`?${a.join("&")}`:"",n.toString()}(a,o,A,s)}(r,t,e,this)});i.method=t.httpMethod;let n=EP(i);n.operationSpec=t,n.operationArguments=e;let s=t.contentType||this._requestContentType;s&&t.requestBody&&i.headers.set("Content-Type",s);let a=e.options;if(a){let e=a.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(n.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),a.abortSignal&&(i.abortSignal=a.abortSignal),a.tracingOptions&&(i.tracingOptions=a.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===EF&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=EQ(e,t.responses[e.status]);return a?.onResponse&&a.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=EQ(r,t.responses[e.statusCode]||t.responses.default);e.details=i,a?.onResponse&&a.onResponse(r,i,e)}throw e}}}let EK="authorization",E$=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,n=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),s=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,n),a=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(n);if(!a)return!1;let o=await e.getAccessToken(s,{...r,tenantId:a});return!!o&&(e.request.headers.set(EK,`${o.tokenType??"Bearer"} ${o.token}`),!0)}return!1},EX=Symbol("Original PipelineRequest"),EZ=Symbol.for("@azure/core-client original request"),E0=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function E1(e,t={}){let r=e[EX],i=It(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new Ii({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[EZ]=t.originalRequest),r}}function E2(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:E3(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,n,s)=>n===EX?e:"clone"===n?()=>E2(E1(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,n,s),set:(t,r,i,n)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&E0.has(r)&&(e[r]=i),Reflect.set(t,r,i,n))}):i}function E3(e){return new E4(e.toJSON({preserveCase:!0}))}function E5(e){return e.toLowerCase()}class E4{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[E5(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[E5(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[E5(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[E5(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[E5(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new E4(e)}}let E8=Symbol("Original FullOperationResponse");function E9(e,t){let r=E2(e.request),i=E3(e.headers);return t?.createProxy?new Proxy(e,{get:(t,n,s)=>"headers"===n?i:"request"===n?r:n===E8?e:Reflect.get(t,n,s),set:(e,t,n,s)=>("headers"===t?i=n:"request"===t&&(r=n),Reflect.set(e,t,n,s))}):{...e,request:r,headers:i}}function E6(e){let t=e[E8],r=It(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:E1(e.request)}}class E7 extends Ej{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===EC)||this.pipeline.addPolicy({name:EC,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:IY})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,n){r=e,i&&i(e,t,n)}};let n=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(n,"_response",{value:E9(r)}),n}}(eu=ex||(ex={}))[eu.ERROR=1]="ERROR",eu[eu.INFO=3]="INFO",eu[eu.OFF=0]="OFF",eu[eu.WARNING=2]="WARNING";let Be={log(e,t){},shouldLog:e=>!1};class Bt{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},n=null,s=e,a=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(a&&(s=a[1]+a[3],a[2])){let e=a[2].slice(1,-1);e&&(n=e)}let o=s;if(s.includes("::")){let r=s.indexOf("::");if(t=s.substring(0,r).trim(),o=s.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(o.includes(":")){let e=o.lastIndexOf(":"),t=o.substring(0,e).trim(),i=o.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,A=i):r=o}else r=o;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),n)if(n.includes("=")){let e=n.indexOf("=");i.attrName=n.substring(0,e).trim(),i.attrValue=n.substring(e+1).trim()}else i.attrName=n.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=A}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class Br{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class Bi{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new Br(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length,s=this.siblingStacks[n];s||(s={counts:new Map,total:0},this.siblingStacks[n]=s);let a=r?`${r}:${e}`:e,o=s.counts.get(a)||0,A=s.total;s.counts.set(a,o+1),s.total++;let l={tag:e,position:A,counter:o};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==i?i.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],n=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,n=!0;break}if(!n)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function Bn(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function Bs(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function Ba(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let Bo=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",BA=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",Bl=(e,t,r="")=>{let i=e.replace(":",""),n=t.replace(":",""),s=`[${i}][${n}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${s}$`,r),qName:RegExp(`^${s}(?::${s})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},Bc=Bl(Bo,Bo+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),Bd=Bl(BA,BA+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),Bu=":A-Za-z_",Bg=Bl(Bu,Bu+"\\-\\.\\d"),Bh=(e="1.0",t=!1)=>t?Bg:"1.1"===e?Bd:Bc,Bp=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>Bh(t,r).qName.test(e),Bm=["name","ncName","qName","nmToken","nmTokens"],Bf=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!Bm.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${Bm.join(", ")}`);let n=Bh(t,r)[e],s=new Map,a=e=>{let t=s.get(e);if(void 0!==t)return t;let r=n.test(e);return s.size<i&&s.set(e,r),r};return a.reset=()=>{s=new Map},a};function BC(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function By(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function BI(e,t,r,i,n){let s="";if(e&&!t.ignoreAttributes)for(let a in e){let o;if(!Object.prototype.hasOwnProperty.call(e,a))continue;let A=a.substr(t.attributeNamePrefix.length),l=r?A:BC(A,!0,t,i,n);!0===(o=r?e[a]:BE(o=t.attributeValueProcessor(a,e[a]),t))&&t.suppressBooleanAttributes?s+=` ${l}`:s+=` ${l}="${Ba(o)}"`}return s}function BE(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let BB={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function BQ(e){if(this.options=Object.assign({},BB,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new Bt(t)):t instanceof Bt&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=Bw}this.processTextOrObjNode=BN,this.options.format?(this.indentate=BS,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function Bb(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function BN(e,t,r,i,n){let s=this.extractAttributes(e);if(i.push(t,s),this.checkStopNode(i)){let n=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(n,t,s,r)}let a=this.j2x(e,r+1,i,n);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,a.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,a.attrStr,r,i):this.buildObjectNode(a.val,t,a.attrStr,r)}function BS(e){return this.options.indentBy.repeat(e)}function Bw(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}BQ.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new Bt(r)):r instanceof Bt&&i.push(r)}let n=Bf("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===By(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,n,s,a){let o="",A=!1;if(r.maxNestedTags&&n.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return BE(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],u=By(d);if(void 0===u)continue;let g=u===r.textNodeName||u===r.cdataPropName||u===r.commentPropName||"?"===u[0]?u:BC(u,!1,r,n,a),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n.startsWith(t.attributeNamePrefix)?n.substr(t.attributeNamePrefix.length):n]=Ba(e[n]),i=!0);return i?r:null}(d[":@"],r);n.push(g,h);let p=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(n,s);if(g===r.textNodeName){let e=d[u];p||(e=BE(e=r.tagValueProcessor(g,e),r)),A&&(o+=i),o+=e,A=!1,n.pop();continue}if(g===r.cdataPropName){A&&(o+=i);let e=Bs(d[u][0][r.textNodeName]);o+=`<![CDATA[${e}]]>`,A=!1,n.pop();continue}if(g===r.commentPropName){let e=Bn(d[u][0][r.textNodeName]);o+=i+`<!--${e}-->`,A=!0,n.pop();continue}else if("?"===g[0]){let e=BI(d[":@"],r,p,n,a);o+=("?xml"===g?"":i)+`<${g}${e}?>`,A=!0,n.pop();continue}let m=i;""!==m&&(m+=r.indentBy);let f=BI(d[":@"],r,p,n,a),C=i+`<${g}${f}`;c=p?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let n=0;n<t.length;n++){let s=t[n],a=By(s);if(a===r.textNodeName)i+=s[a];else if(a===r.cdataPropName)i+=s[a][0][r.textNodeName];else if(a===r.commentPropName)i+=s[a][0][r.textNodeName];else if(a&&"?"===a[0])continue;else if(a){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=e[i];!0===n&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${Ba(n)}"`}return r}(s[":@"],r),n=e(s[a],r);n&&0!==n.length?i+=`<${a}${t}>${n}</${a}>`:i+=`<${a}${t}/>`}}return i}(d[u],r):e(d[u],r,m,n,s,a),-1!==r.unpairedTags.indexOf(g)?r.suppressUnpairedNode?o+=C+">":o+=C+"/>":(!c||0===c.length)&&r.suppressEmptyNode?o+=C+"/>":c&&c.endsWith(">")?o+=C+`>${c}${i}</${g}>`:(o+=C+">",c&&""!==i&&(c.includes("/>")||c.includes("</"))?o+=i+r.indentBy+c+i:o+=c,o+=`</${g}>`),A=!0,n.pop()}return o}(e,t,r,new Bi,i,n)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new Bi,r=Bf("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},BQ.prototype.j2x=function(e,t,r,i){let n="",s="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let a=this.options.jPath?r.toString():r,o=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:Bb(A,!1,this.options,r,i);if(void 0===e[A])this.isAttribute(A)&&(s+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?s+="":"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)s+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,a)){let t=Bb(c,!0,this.options,r,i);n+=this.buildAttrPairStr(t,""+e[A],o)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);s+=this.replaceEntitiesValue(t)}else{r.push(l);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[A];""===r?s+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:s+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else s+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let n=e[A].length,a="",o="";for(let c=0;c<n;c++){let n=e[A][c];if(void 0===n);else if(null===n)"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){r.push(l);let e=this.j2x(n,t+1,r,i);r.pop(),a+=e.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(o+=e.attrStr)}else a+=this.processTextOrObjNode(n,l,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,n);a+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+n;""===e?a+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:a+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else a+=this.buildTextValNode(n,l,"",t,r)}}this.options.oneListGroup&&(a=this.buildObjectNode(a,l,o,t)),s+=a}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),s=t.length;for(let a=0;a<s;a++){let s=Bb(t[a],!0,this.options,r,i);n+=this.buildAttrPairStr(s,""+e[A][t[a]],o)}}else s+=this.processTextOrObjNode(e[A],l,t,r,i)}return{attrStr:n,val:s}},BQ.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+Ba(t)+'"'},BQ.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=Ba(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=this.isAttribute(i);n&&(t[n]=Ba(e[i]),r=!0)}return r?t:null},BQ.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${n}/>`:t+=`<${r}${n}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),n=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${n}/>`:t+=`<${r}${n}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},BQ.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,n=r[e];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+Ba(n)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let n=e[r];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+Ba(n)+'"'}}return t},BQ.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n="</"+t+this.tagEndChar,s="";return("?"===t[0]&&(s="?",n=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+s+">"+e+n:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===s.length?this.indentate(i)+`<!--${Bn(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+s+this.tagEndChar+e+this.indentate(i)+n}},BQ.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},BQ.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},BQ.prototype.buildTextValNode=function(e,t,r,i,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=Bs(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=Bn(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n=this.options.tagValueProcessor(t,e);return""===(n=this.replaceEntitiesValue(n))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+n+"</"+t+this.tagEndChar}},BQ.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let Bx=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",BD=RegExp("^"+("["+Bx+"]["+Bx)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function BR(e,t){let r=[],i=t.exec(e);for(;i;){let n=[];n.startIndex=t.lastIndex-i[0].length;let s=i.length;for(let e=0;e<s;e++)n.push(i[e]);r.push(n),i=t.exec(e)}return r}let Bv=function(e){return null!=BD.exec(e)},Bk=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],BM=["__proto__","constructor","prototype"],BF={allowBooleanAttributes:!1,unpairedTags:[]};function BU(e,t){t=Object.assign({},BF,t);let r=[],i=!1,n=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let s=0;s<e.length;s++)if("<"===e[s]&&"?"===e[s+1]){if(s+=2,(s=BL(e,s)).err)return s}else if("<"===e[s]){let a=s;if("!"===e[++s]){s=BO(e,s);continue}{let o=!1;"/"===e[s]&&(o=!0,s++);let A="";for(;s<e.length&&">"!==e[s]&&" "!==e[s]&&" "!==e[s]&&"\n"!==e[s]&&"\r"!==e[s];s++)A+=e[s];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),s--),!Bv(A))return BY("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",BG(e,s));let l=function(e,t){let r="",i="",n=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){n=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:n}}(e,s);if(!1===l)return BY("InvalidAttr","Attributes for '"+A+"' have open quote.",BG(e,s));let c=l.value;if(s=l.index,"/"===c[c.length-1]){let r=s-c.length,n=BH(c=c.substring(0,c.length-1),t);if(!0!==n)return BY(n.err.code,n.err.msg,BG(e,r+n.err.line));i=!0}else if(o)if(!l.tagClosed)return BY("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",BG(e,s));else{if(c.trim().length>0)return BY("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",BG(e,a));if(0===r.length)return BY("InvalidTag","Closing tag '"+A+"' has not been opened.",BG(e,a));let t=r.pop();if(A!==t.tagName){let r=BG(e,t.tagStartPos);return BY("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",BG(e,a))}0==r.length&&(n=!0)}else{let o=BH(c,t);if(!0!==o)return BY(o.err.code,o.err.msg,BG(e,s-c.length+o.err.line));if(!0===n)return BY("InvalidXml","Multiple possible root nodes found.",BG(e,s));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:a}),i=!0}for(s++;s<e.length;s++)if("<"===e[s])if("!"===e[s+1]){s=BO(e,++s);continue}else if("?"===e[s+1]){if((s=BL(e,++s)).err)return s}else break;else if("&"===e[s]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,s);if(-1==t)return BY("InvalidChar","char '&' is not expected.",BG(e,s));s=t}else if(!0===n&&!BT(e[s]))return BY("InvalidXml","Extra text at the end",BG(e,s));"<"===e[s]&&s--}}else{if(BT(e[s]))continue;return BY("InvalidChar","char '"+e[s]+"' is not expected.",BG(e,s))}return i?1==r.length?BY("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",BG(e,r[0].tagStartPos)):!(r.length>0)||BY("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):BY("InvalidXml","Start tag expected.",1)}function BT(e){return" "===e||" "===e||"\n"===e||"\r"===e}function BL(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return BY("InvalidXml","XML declaration allowed only at the start of the document.",BG(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function BO(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let BP=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function BH(e,t){let r=BR(e,BP),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return BY("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",Bq(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return BY("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",Bq(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return BY("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",Bq(r[e]));let n=r[e][2];if(!Bv(n))return BY("InvalidAttr","Attribute '"+n+"' is an invalid name.",Bq(r[e]));if(Object.prototype.hasOwnProperty.call(i,n))return BY("InvalidAttr","Attribute '"+n+"' is repeated.",Bq(r[e]));i[n]=1}return!0}function BY(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function BG(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function Bq(e){return e.startIndex+e[1].length}let Bz=e=>Bk.includes(e)?"__"+e:e,BV={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:Bz},B_=function(e){let t=Object.assign({},BV,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(Bk.some(e=>r===e.toLowerCase())||BM.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=Bz),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};r="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class BJ{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][r]={startIndex:t})}static getMetaDataSymbol(){return r}}class BW{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let n=1,s=!1,a=!1;for(;t<e.length;t++)if("<"!==e[t]||a)if(">"===e[t]){if(a?"-"===e[t-1]&&"-"===e[t-2]&&(a=!1,n--):n--,0===n)break}else"["===e[t]?s=!0:e[t];else{if(s&&BK(e,"!ENTITY",t)){let n,s;if(t+=7,[n,s,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===s.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[n]=s,i++}}else if(s&&BK(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(s&&BK(e,"!ATTLIST",t))t+=8;else if(s&&BK(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(BK(e,"!--",t))a=!0;else throw Error("Invalid DOCTYPE");n++}if(0!==n)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=Bj(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(B$(i,{xmlVersion:this.xmlVersion}),t=Bj(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let n="";if([t,n]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&n.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${n.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,n,--t]}readNotationExp(e,t){let r=t=Bj(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||B$(i,{xmlVersion:this.xmlVersion}),t=Bj(e,t);let n=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==n&&"PUBLIC"!==n)throw Error(`Expected SYSTEM or PUBLIC, found "${n}"`);t+=n.length,t=Bj(e,t);let s=null,a=null;if("PUBLIC"===n)[t,s]=this.readIdentifierVal(e,t,"publicIdentifier"),t=Bj(e,t),('"'===e[t]||"'"===e[t])&&([t,a]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===n&&([t,a]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!a))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:s,systemIdentifier:a,index:--t}}readIdentifierVal(e,t,r){let i="",n=e[t];if('"'!==n&&"'"!==n)throw Error(`Expected quoted string, found "${n}"`);let s=++t;for(;t<e.length&&e[t]!==n;)t++;if(i=e.substring(s,t),e[t]!==n)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=Bj(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!Bp(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=Bj(e,t);let n="";if("E"===e[t]&&BK(e,"MPTY",t))t+=4;else if("A"===e[t]&&BK(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(n=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:n.trim(),index:t}}readAttlistExp(e,t){let r=t=Bj(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(B$(i,{xmlVersion:this.xmlVersion}),r=t=Bj(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);if(!B$(n,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${n}"`);t=Bj(e,t);let s="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(s="NOTATION",t+=8,t=Bj(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let n=e.substring(i,t);if(!B$(n=n.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${n}"`);r.push(n),"|"===e[t]&&(t=Bj(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,s+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(s+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(s.toUpperCase()))throw Error(`Invalid attribute type: "${s}"`)}t=Bj(e,t);let a="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(a="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(a="#IMPLIED",t+=7):[t,a]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:n,attributeType:s,defaultValue:a,index:t}}}let Bj=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function BK(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function B$(e,t){if(Bp(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let BX=new Map,BZ=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?BZ[r-1632]=t:BX.set(r,t)}let B0=new Set([8722,65293,65123]),B1=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let n=e.charCodeAt(i);if((!(n>=48)||!(n<=57))&&45!==n){if(n<1632){if(B0.has(n)){r=i;break}continue}if(n>=55296&&n<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(n-55296<<10)+(t-56320);if(BX.has(e)){r=i;break}}}continue}if(255!==BZ[n-1632]||B0.has(n)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let n=r;n<t;n++){let r=e.charCodeAt(n);if(r>=48&&r<=57||45===r){i.push(e[n]);continue}if(r<1632){i.push(B0.has(r)?"-":e[n]);continue}if(r>=55296&&r<=56319){if(n+1<t){let t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),s=BX.get(e);if(void 0!==s){i.push(String.fromCharCode(s+48)),n++;continue}}}i.push(e[n]);continue}if(B0.has(r)){i.push("-");continue}let s=BZ[r-1632];i.push(255!==s?String.fromCharCode(s+48):e[n])}return i.join("")},B2=/^[-+]?0x[a-fA-F0-9]+$/,B3=/^0b[01]+$/,B5=/^0o[0-7]+$/,B4=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,B8={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},B9=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function B6(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class B7{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,n=this._byDepthAndTag.get(i);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let s=this._wildcardByDepth.get(t);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let a=this._deepByTerminalTag.get(r);if(a){for(let t=0;t<a.length;t++)if(e.matches(a[t]))return a[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let Qe={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},Qt={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Qr={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},Qi=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),Qn=new Set("!?\\\\/[]$%{}^&*()<>|+");function Qs(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(Qn.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function Qa(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let Qo="external",QA="base",Ql=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Qc=new Set([9,10,13]);class Qd{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??Qo)&&t!==Qo?"all"===t?["all"]:t===QA?[QA]:Array.isArray(t)?t:[Qo]:[Qo]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Qa(Qt,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:Ql.allow,nullLevel:Ql.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:Ql[e.onNCR]??Ql.allow,nullLevel:Math.max(Ql[e.nullNCR]??Ql.remove,Ql.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let n=e(t,r);if(n===Qi.BLOCK)return!1;if(n===Qi.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))Qs(t);if(!this._onExternalEntity){this._externalMap=Qa(e);return}let t=Qa(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){Qs(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=Qa(e);return}let t=Qa(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,n=0,s=this._maxTotalExpansions>0,a=this._maxExpandedLength>0,o=s||a;for(;n<r;){let A,l;if(38!==e.charCodeAt(n)){n++;continue}let c=n+1;for(;c<r&&59!==e.charCodeAt(c)&&c-n<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){n++;continue}let d=e.slice(n+1,c);if(0===d.length){n++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=Qo);else if(this._leaveSet.has(d)){n++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){n++;continue}A=e,l=QA}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){n++;continue}if(n>i&&t.push(e.slice(i,n)),t.push(A),n=i=c+1,o&&this._tierCounts(l)){if(s&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(a){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:Qo}:e in this._externalMap?{value:this._externalMap[e],tier:Qo}:e in this._baseMap?{value:this._baseMap[e],tier:QA}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!Qc.has(e)?Ql.remove:-1}_applyNCRAction(e,t,r){switch(e){case Ql.allow:return String.fromCodePoint(r);case Ql.remove:return"";case Ql.leave:return;case Ql.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<Ql.remove)return;let n=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(n,e,t)}}let Qu=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],Qg=[...Qu,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],Qh=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],Qp=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],Qm=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],Qf=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],QC=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],Qy="[\"'\\s]*:",QI=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${Qy}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${Qy}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${Qy}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${Qy}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${Qy}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${Qy}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${Qy}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${Qy}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${Qy}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${Qy}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${Qy}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${Qy}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${Qy}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],QE=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];Qh.label="HTML",Qp.label="XML",Qm.label="SVG",Qu.label="SQL",Qg.label="SQL-STRICT",Qf.label="SHELL",QC.label="REDOS",QI.label="NOSQL",QE.label="LOG",Object.freeze({HTML:Qh,XML:Qp,SVG:Qm,SQL:Qu,"SQL-STRICT":Qg,SHELL:Qf,REDOS:QC,NOSQL:QI,LOG:QE});class QB{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=Qw,this.parseTextData=QQ,this.resolveNameSpace=Qb,this.buildAttributesMap=QS,this.isItStopNode=Qv,this.replaceEntitiesValue=QD,this.readStopNodeData=QF,this.saveTextToParentTag=QR,this.addChild=Qx,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...Qt};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...Qr,...Qe}),this.entityDecoder=new Qd({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[Qh,Qp])?Qi.ALLOW:Qi.BLOCK})),this.matcher=new Bi,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new B7;let n=this.options.stopNodes;if(n&&n.length>0){for(let e=0;e<n.length;e++){let t=n[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new Bt(t)):t instanceof Bt&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function QQ(e,t,r,i,n,s,a){let o=this.options;if(void 0!==e&&(o.trimValues&&!i&&(e=e.trim()),e.length>0)){a||(e=this.replaceEntitiesValue(e,t,r));let i=o.jPath?r.toString():r,A=o.tagValueProcessor(t,e,i,n,s);return null==A?e:typeof A!=typeof e||A!==e?A:o.trimValues||e.trim()===e?QU(e,o.parseTagValue,o.numberParseOptions):e}}function Qb(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let QN=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function QS(e,t,r,i=!1){let n=this.options;if(!0===i||!0!==n.ignoreAttributes&&"string"==typeof e){let i=BR(e,QN),s=i.length,a={},o=Array(s),A=!1,l={};for(let e=0;e<s;e++){let t=this.resolveNameSpace(i[e][1]),s=i[e][4];if(t.length&&void 0!==s){let i=s;n.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),o[e]=i,l[t]=i,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=n.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<s;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=n.attributeNamePrefix+t;if(t.length)if(n.transformAttributeName&&(r=n.transformAttributeName(r)),r=QL(r,n),void 0!==i[e][4]){let i=o[e],s=n.attributeValueProcessor(t,i,c);null==s?a[r]=i:typeof s!=typeof i||s!==i?a[r]=s:a[r]=QU(i,n.parseAttributeValue,n.numberParseOptions),d=!0}else n.allowBooleanAttributes&&(a[r]=!0,d=!0)}if(!d)return;if(n.attributesGroupName&&!n.preserveOrder){let e={};return e[n.attributesGroupName]=a,e}return a}}let Qw=function(e){e=e.replace(/\r\n?/g,"\n");let t=new BJ("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n=this.options,s=new BW(n.processEntities),a=e.length;for(let o=0;o<a;o++)if("<"===e[o]){let A=e.charCodeAt(o+1);if(47===A){let t=Qk(e,">",o,"Closing Tag is not closed."),s=e.substring(o+2,t).trim();if(n.removeNSPrefix){let e=s.indexOf(":");-1!==e&&(s=s.substr(e+1))}s=QT(n.transformTagName,s,"",n).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let a=this.matcher.getCurrentTag();if(s&&n.unpairedTagsSet.has(s))throw Error(`Unpaired tag can not be used as closing tag: </${s}>`);a&&n.unpairedTagsSet.has(a)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",o=t}else if(63===A){let t=QM(e,o,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let a=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(a){let e=a[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),s.setXmlVersion(Number(e)||1)}if(n.ignoreDeclaration&&"?xml"===t.tagName||n.ignorePiTags);else{let e=new BJ(t.tagName);e.add(n.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==n.ignoreAttributes&&(e[":@"]=a),this.addChild(r,e,this.readonlyMatcher,o)}o=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(o+2)&&45===e.charCodeAt(o+3)){let t=Qk(e,"--\x3e",o+4,"Comment is not closed.");if(n.commentPropName){let s=e.substring(o+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:s}])}o=t}else if(33===A&&68===e.charCodeAt(o+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=s.readDocType(e,o);this.entityDecoder.addInputEntities(t.entities),o=t.i}else if(33===A&&91===e.charCodeAt(o+2)){let t=Qk(e,"]]>",o,"CDATA is not closed.")-2,s=e.substring(o+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let a=this.parseTextData(s,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==a&&(a=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:s}]):r.add(n.textNodeName,a),o=t+2}else{let s,A=QM(e,o,n.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,o-50),Math.min(a,o+50));throw Error(`readTagExp returned undefined at position ${o}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,u=A.attrExpPresent,g=A.closeIndex;if({tagName:l,tagExp:d}=QT(n.transformTagName,l,d,n),n.strictReservedNames&&(l===n.commentPropName||l===n.cdataPropName||l===n.textNodeName||l===n.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&n.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let p=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(p=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),u=l!==d);let m=null;s=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},s),l!==d&&u&&(m=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(m,n),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let f=o;if(this.isCurrentNodeStopNode){let t="";if(p)o=A.closeIndex;else if(n.unpairedTagsSet.has(l))o=A.closeIndex;else{let r=this.readStopNodeData(e,c,g+1);if(!r)throw Error(`Unexpected end of ${c}`);o=r.i,t=r.tagContent}let i=new BJ(l);m&&(i[":@"]=m),i.add(n.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,f)}else{if(p){({tagName:l,tagExp:d}=QT(n.transformTagName,l,d,n));let e=new BJ(l);m&&(e[":@"]=m),this.addChild(r,e,this.readonlyMatcher,f),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(l)){let e=new BJ(l);m&&(e[":@"]=m),this.addChild(r,e,this.readonlyMatcher,f),this.matcher.pop(),this.isCurrentNodeStopNode=!1,o=A.closeIndex;continue}else{let e=new BJ(l);if(this.tagsNodeStack.length>n.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),m&&(e[":@"]=m),this.addChild(r,e,this.readonlyMatcher,f),r=e}i="",o=g}}}else i+=e[o];return t.child};function Qx(e,t,r,i){this.options.captureMetaData||(i=void 0);let n=this.options.jPath?r.toString():r,s=this.options.updateTag(t.tagname,n,t[":@"]);!1===s||("string"==typeof s&&(t.tagname=s),e.addChild(t,i))}function QD(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,n)))return e}if(i.tagFilter){let n=this.options.jPath?r.toString():r;if(!i.tagFilter(t,n))return e}return this.entityDecoder.decode(e)}function QR(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function Qv(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function Qk(e,t,r,i){let n=e.indexOf(t,r);if(-1!==n)return n+t.length-1;throw Error(i)}function QM(e,t,r,i=">"){let n=function(e,t,r=">"){let i=0,n=e.length,s=r.charCodeAt(0),a=r.length>1?r.charCodeAt(1):-1,o="",A=t;for(let r=t;r<n;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===s){if(-1===a)return{data:o+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===a)return{data:o+=e.substring(A,r),index:r}}else 9!==t||i||(o+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,i);if(!n)return;let s=n.data,a=n.index,o=s.search(/\s/),A=s,l=!0;-1!==o&&(A=s.substring(0,o),s=s.substring(o+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==n.data.substr(e+1))}return{tagName:A,tagExp:s,closeIndex:a,attrExpPresent:l,rawTagName:c}}function QF(e,t,r){let i=r,n=1,s=e.length;for(;r<s;r++)if("<"===e[r]){let s=e.charCodeAt(r+1);if(47===s){let s=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,s).trim()===t&&0==--n)return{tagContent:e.substring(i,r),i:s};r=s}else if(63===s)r=Qk(e,"?>",r+1,"StopNode is not closed.");else if(33===s&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=Qk(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===s&&91===e.charCodeAt(r+2))r=Qk(e,"]]>",r,"StopNode is not closed.")-2;else{let i=QM(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&n++,r=i.closeIndex)}}}function QU(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},B8,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=B1(r)))return 0;if(t.hex&&B2.test(r))return B6(r,16);{if(t.binary&&B3.test(r))return B6(r,2);if(t.octal&&B5.test(r))return B6(r,8);if(!isFinite(r)){var i,n=e,s=Number(r),a=t;switch(a.infinity.toLowerCase()){case"null":return null;case"infinity":return s;case"string":return s===1/0?"Infinity":"-Infinity";default:return n}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(B9);if(!i)return e;{let n=i[1]||"",s=-1===i[3].indexOf("e")?"E":"e",a=i[2],o=n?e[a.length+1]===s:e[a.length]===s;if(a.length>1&&o)return e;if(1===a.length&&(i[3].startsWith(`.${s}`)||i[3][0]===s))return Number(t);if(!(a.length>0))return Number(t);else if(r.leadingZeros&&!o)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let o=B4.exec(r);if(!o)return e;{let n=o[1]||"",s=o[2],a=((i=o[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),A=n?"."===e[s.length+1]:"."===e[s.length];if(!t.leadingZeros&&(s.length>1||1===s.length&&!A))return e;{let i=Number(r),o=String(i);if(0===i)return i;if(-1!==o.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===o)return i;else if(o===a)return i;else if(o===`${n}${a}`)return i;else return e;let A=s?a:r;return s?A===o||n+A===o?i:e:A===o||A===n+o?i:e}}}}(e,r)}return void 0!==e?e:""}function QT(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=QL(t,i),tagExp:r}}function QL(e,t){if(BM.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return Bk.includes(e)?t.onDangerousProperty(e):e}let QO=BJ.getMetaDataSymbol();class QP{constructor(e){this.externalEntities={},this.options=B_(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=BU(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new QB(this.options,this.externalEntities),n=i.parseXml(e);return this.options.preserveOrder||void 0===n?n:(r=this.options,function e(t,r,i,n){let s,a={};for(let o=0;o<t.length;o++){let A=t[o],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(A[":@"]||{},r.attributeNamePrefix);i.push(l,e)}if(l===r.textNodeName)void 0===s?s=A[l]:s+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,i,n),s=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,i){if(t){let n=Object.keys(t),s=n.length;for(let a=0;a<s;a++){let s=n[a],o=s.startsWith(i.attributeNamePrefix)?s.substring(i.attributeNamePrefix.length):s,A=i.jPath?r.toString()+"."+o:r;i.isArray(s,A,!0,!0)?e[s]=[t[s]]:e[s]=t[s]}}}(t,A[":@"],n,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[QO]&&"object"==typeof t&&null!==t&&(t[QO]=A[QO]),void 0!==a[l]&&Object.prototype.hasOwnProperty.call(a,l))Array.isArray(a[l])||(a[l]=[a[l]]),a[l].push(t);else{let e=r.jPath?n.toString():n;r.isArray(l,e,s)?a[l]=[t]:a[l]=t}void 0!==l&&l!==r.textNodeName&&i.pop()}}return"string"==typeof s?s.length>0&&(a[r.textNodeName]=s):void 0!==s&&(a[r.textNodeName]=s),a}(n,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return BJ.getMetaDataSymbol()}}function QH(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function QY(e,t={}){let r=function(e={}){return{...QH(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new BQ(r),n={[r.rootNodeName]:e},s=i.build(n);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${s}`.replace(/\n/g,"")}async function QG(e,t={}){if(!e)throw Error("Document is empty");let r=BU(e);if(!0!==r)throw r;let i=new QP(function(e={}){return{...QH(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let Qq=I0("storage-blob");var Qz=A(4434);class QV extends m4.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,n=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,s=Math.min(n,i);if(s>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+s;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),s===n?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=s,r+=s}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let Q_=A(4573).constants.MAX_LENGTH;class QJ{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/Q_);for(let t=0;t<i;t++){let r=t===i-1?e%Q_:Q_;0===r&&(r=Q_),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,n=0,s=0,a=0;for(;a<this._size;){let t=e[r],o=this.buffers[i],A=t.copy(o,n,s);a+=A,s+=A,n+=A,s===t.length&&(r++,s=0),n===o.length&&(i++,n=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(s))}getReadableStream(){return new QV(this.buffers,this.size)}}class QW{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new Qz.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,n,s){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(n<=0)throw RangeError(`concurrency must be larger than 0, current is ${n}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=n,this.encoding=s}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new QJ(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let Qj=s("node:module");"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(i=(0,Qj.createRequire)(import.meta.url),n=(0,f2.fileURLToPath)(import.meta.url),a=(0,fB.dirname)(n));var QK=(eg="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==n&&(eg=eg||n),function(e){var t,r,n,s,o,A,l,c,d,u,g=void 0!==(e=e||{})?e:{};g.ready=new Promise(function(e,t){n=e,s=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(g.ready,e)||Object.defineProperty(g.ready,e,{get:()=>q("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>q("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var h=Object.assign({},g),p=[],m="object"==typeof window,f="function"==typeof importScripts,C="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,y=!m&&!C&&!f;if(g.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var I="";if(C){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var E=i("fs"),B=i("path");I=f?B.dirname(I)+"/":a+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),p=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof W))throw e}),process.on("unhandledRejection",function(e){throw e}),g.inspect=function(){return"[Emscripten Module object]"}}else if(y){if("object"==typeof process&&"function"==typeof i||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?p=scriptArgs:"u">typeof arguments&&(p=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(m||f){if(f?I=self.location.href:"u">typeof document&&document.currentScript&&(I=document.currentScript.src),eg&&(I=eg),I=0!==I.indexOf("blob:")?I.substr(0,I.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var Q=g.print||console.log.bind(console),b=g.printErr||console.warn.bind(console);function N(e,t){Object.getOwnPropertyDescriptor(g,e)||Object.defineProperty(g,e,{configurable:!0,get:function(){q("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function S(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(g,h),h=null,Object.getOwnPropertyDescriptor(g,t="fetchSettings")&&q("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),g.arguments&&(p=g.arguments),N("arguments","arguments_"),g.thisProgram&&g.thisProgram,N("thisProgram","thisProgram"),g.quit&&g.quit,N("quit","quit_"),x(void 0===g.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),x(void 0===g.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),x(void 0===g.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),x(void 0===g.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),x(void 0===g.read,"Module.read option was removed (modify read_ in JS)"),x(void 0===g.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),x(void 0===g.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),x(void 0===g.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),x(void 0===g.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),N("read","read_"),N("readAsync","readAsync"),N("readBinary","readBinary"),N("setWindowTitle","setWindowTitle"),x(!y,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),g.wasmBinary&&g.wasmBinary,N("wasmBinary","wasmBinary"),g.noExitRuntime,N("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&q("no native wasm support detected");var w=!1;function x(e,t){e||q("Assertion failed"+(t?": "+t:""))}var D="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(e){A=e,g.HEAP8=new Int8Array(e),g.HEAP16=new Int16Array(e),g.HEAP32=new Int32Array(e),g.HEAPU8=l=new Uint8Array(e),g.HEAPU16=new Uint16Array(e),g.HEAPU32=c=new Uint32Array(e),g.HEAPF32=new Float32Array(e),g.HEAPF64=new Float64Array(e)}g.STACK_SIZE&&x(5242880===g.STACK_SIZE,"the stack size can no longer be determined at runtime");var v=g.INITIAL_MEMORY||0x1000000;function k(){if(!w){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&q("Stack overflow! Stack cookie has been overwritten at "+K(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+K(r)+" "+K(t)),0x63736d65!==c[0]&&q("Runtime error: The application has corrupted its heap memory area (address zero)!")}}N("INITIAL_MEMORY","INITIAL_MEMORY"),x(v>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+v+"! (STACK_SIZE=5242880)"),x("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),x(!g.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),x(0x1000000==v,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var M=new Int16Array(1),F=new Int8Array(M.buffer);if(M[0]=25459,115!==F[0]||99!==F[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var U=[],T=[],L=[],O=!1;x(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var P=0,H=null,Y=null,G={};function q(e){g.onAbort&&g.onAbort(e),b(e="Aborted("+e+")"),w=!0;var t=new WebAssembly.RuntimeError(e);throw s(t),t}var z={error:function(){q("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){z.error()},createDataFile:function(){z.error()},createPreloadedFile:function(){z.error()},createLazyFile:function(){z.error()},open:function(){z.error()},mkdev:function(){z.error()},registerDevice:function(){z.error()},analyzePath:function(){z.error()},loadFilesFromDB:function(){z.error()},ErrnoError:function(){z.error()}};function V(e){return e.startsWith("file://")}function _(e,t){return function(){var r=t;return t||(r=g.asm),x(O,"native function `"+e+"` called before runtime initialization"),r[e]||x(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}g.FS_createDataFile=z.createDataFile,g.FS_createPreloadedFile=z.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=g.locateFile?g.locateFile(r,I):I+r);var J="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMFBgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYACgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwkcECC38AQZyRwQILfwBBsJHBAgt/AEGwkcECC38AQZKSwQILB/qEgIAAGwZtZW1vcnkCABFfX3dhc21fY2FsbF9jdG9ycwAFJWVtc2NyaXB0ZW5fYmluZF9Wb2lkUHRyX19fZGVzdHJveV9fXzAACCVlbXNjcmlwdGVuX2JpbmRfQ3JjNjRIYXNoX0NyYzY0SGFzaF8wAAkkZW1zY3JpcHRlbl9iaW5kX0NyYzY0SGFzaF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As0iL3BZGD8hDJvStxU2vV1vrGtRMeJ+fq4VlX9cmz8e6NuQmXhP/D0pYmyJzDDckvonTW/o5B+xO56zQYWdXtF9ULanoUmd8rzpSWVTnT9hIF8Qg3dJ/ELh5u6tGjC9Iqco60s+5H4BZpEXW4qbXq611Da9rk+djXRtyJPDNtztMqPNdefiH87zGjCyq8ydspAtiVSPGF6RUZR3euJhH/EXWnKcxrXc0tbjjoxyyvx9BaavalYeP17EH1FEO2d+PoLRVKIfs70dQ2ioAQYCQwQILnAEgS1AAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function W(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function j(e){for(;e.length>0;)e.shift()(g)}function K(e){return"0x"+e.toString(16).padStart(8,"0")}function $(e){$.shown||($.shown={}),$.shown[e]||($.shown[e]=1,C&&(e="warning: "+e),b(e))}var X=[null,[],[]],Z={abort:function(){q("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(x((e>>>=0)>t),e>0x80000000)return b("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var n=t*(1+.2/i);n=Math.min(n,e+0x6000000);var s=Math.min(0x80000000,r(Math.max(e,n),65536));if(function(e){try{return o.grow(e-A.byteLength+65535>>>16),R(o.buffer),1}catch(t){b("emscripten_realloc_buffer: Attempted to grow heap from "+A.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(s))return!0}return b("Failed to grow the heap from "+t+" bytes to "+s+" bytes, not enough memory!"),!1},fd_close:function(e){q("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,n){return 70},fd_write:function(e,t,r,i){for(var n=0,s=0;s<r;s++){var a=c[t>>2],o=c[t+4>>2];t+=8;for(var A=0;A<o;A++)!function(e,t){var r=X[e];x(r),0===t||10===t?((1===e?Q:b)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&D)return D.decode(e.subarray(t,i));for(var n="";t<i;){var s=e[t++];if(!(128&s)){n+=String.fromCharCode(s);continue}var a=63&e[t++];if((224&s)==192){n+=String.fromCharCode((31&s)<<6|a);continue}var o=63&e[t++];if((240&s)==224?s=(15&s)<<12|a<<6|o:((248&s)!=240&&$("Invalid UTF-8 leading byte "+K(s)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),s=(7&s)<<18|a<<12|o<<6|63&e[t++]),s<65536)n+=String.fromCharCode(s);else{var A=s-65536;n+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return n}(r,0)),r.length=0):r.push(t)}(e,l[a+A]);n+=o}return c[i>>2]=n,0}};!function(){var e,t,r={env:Z,wasi_snapshot_preview1:Z};function i(e,t){g.asm=e.exports,x(o=g.asm.memory,"memory not found in wasm exports"),R(o.buffer),x(g.asm.__indirect_function_table,"table not found in wasm exports"),r=g.asm.__wasm_call_ctors,T.unshift(r);var r,i="wasm-instantiate";if(P--,g.monitorRunDependencies&&g.monitorRunDependencies(P),i?(x(G[i]),delete G[i]):b("warning: run dependency removed without ID"),0==P&&(null!==H&&(clearInterval(H),H=null),Y)){var n=Y;Y=null,n()}}e="wasm-instantiate",P++,g.monitorRunDependencies&&g.monitorRunDependencies(P),e?(x(!G[e]),G[e]=1,null===H&&"u">typeof setInterval&&(H=setInterval(function(){if(w){clearInterval(H),H=null;return}var e=!1;for(var t in G)e||(e=!0,b("still waiting on run dependencies:")),b("dependency: "+t);e&&b("(end of list)")},1e4))):b("warning: run dependency added without ID");var n=g;if(g.instantiateWasm)try{return g.instantiateWasm(r,i)}catch(e){b("Module.instantiateWasm callback failed with error: "+e),s(e)}(t=function(e){x(g===n,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),n=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(J,"base64");for(var e=window.atob(J),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){b("failed to asynchronously prepare wasm: "+e),V(d)&&b("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),q(e)})).catch(s)}(),g.___wasm_call_ctors=_("__wasm_call_ctors");var ee=g._emscripten_bind_VoidPtr___destroy___0=_("emscripten_bind_VoidPtr___destroy___0"),et=g._emscripten_bind_Crc64Hash_Crc64Hash_0=_("emscripten_bind_Crc64Hash_Crc64Hash_0"),er=g._emscripten_bind_Crc64Hash_OnAppend_2=_("emscripten_bind_Crc64Hash_OnAppend_2"),ei=g._emscripten_bind_Crc64Hash_OnFinal_3=_("emscripten_bind_Crc64Hash_OnFinal_3"),en=g._emscripten_bind_Crc64Hash___destroy___0=_("emscripten_bind_Crc64Hash___destroy___0");g.___errno_location=_("__errno_location"),g._fflush=_("fflush"),g._malloc=_("malloc"),g._free=_("free");var es=g._emscripten_stack_init=function(){return(es=g._emscripten_stack_init=g.asm.emscripten_stack_init).apply(null,arguments)},ea=(g._emscripten_stack_get_free=function(){return(g._emscripten_stack_get_free=g.asm.emscripten_stack_get_free).apply(null,arguments)},g._emscripten_stack_get_base=function(){return(g._emscripten_stack_get_base=g.asm.emscripten_stack_get_base).apply(null,arguments)},g._emscripten_stack_get_end=function(){return(ea=g._emscripten_stack_get_end=g.asm.emscripten_stack_get_end).apply(null,arguments)});function eo(e){var t,r;if(e=e||p,!(P>0)){if(es(),x((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,g.preRun)for("function"==typeof g.preRun&&(g.preRun=[g.preRun]);g.preRun.length;){r=g.preRun.shift(),U.unshift(r)}j(U),P>0||(g.setStatus?(g.setStatus("Running..."),setTimeout(function(){setTimeout(function(){g.setStatus("")},1),i()},1)):i(),k())}function i(){if(!u&&(u=!0,g.calledRun=!0,!w)){if(x(!O),O=!0,k(),j(T),n(g),g.onRuntimeInitialized&&g.onRuntimeInitialized(),x(!g._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),k(),g.postRun)for("function"==typeof g.postRun&&(g.postRun=[g.postRun]);g.postRun.length;){var e;e=g.postRun.shift(),L.unshift(e)}j(L)}}}if(g.stackSave=_("stackSave"),g.stackRestore=_("stackRestore"),g.stackAlloc=_("stackAlloc"),g._emscripten_stack_get_current=function(){return(g._emscripten_stack_get_current=g.asm.emscripten_stack_get_current).apply(null,arguments)},g.dynCall_jiji=_("dynCall_jiji"),g.___start_em_js=5261488,g.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(g,e)||Object.defineProperty(g,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),q(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),$(t)}})}),Y=function e(){u||eo(),u||(Y=e)},g.preInit)for("function"==typeof g.preInit&&(g.preInit=[g.preInit]);g.preInit.length>0;)g.preInit.pop()();function eA(){}function el(e){return(e||eA).__cache__}function ec(e,t){var r=el(t),i=r[e];return i||((i=Object.create((t||eA).prototype)).ptr=e,r[e]=i)}function ed(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=et(),el(eu)[this.ptr]=this}return eo(),eA.prototype=Object.create(eA.prototype),eA.prototype.constructor=eA,eA.prototype.__class__=eA,eA.__cache__={},g.WrapperObject=eA,g.getCache=el,g.wrapPointer=ec,g.castObject=function(e,t){return ec(e.ptr,t)},g.NULL=ec(0),g.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete el(e.__class__)[e.ptr]},g.compare=function(e,t){return e.ptr===t.ptr},g.getPointer=function(e){return e.ptr},g.getClass=function(e){return e.__class__},ed.prototype=Object.create(eA.prototype),ed.prototype.constructor=ed,ed.prototype.__class__=ed,ed.__cache__={},g.VoidPtr=ed,ed.prototype.__destroy__=ed.prototype.__destroy__=function(){ee(this.ptr)},eu.prototype=Object.create(eA.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},g.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),er(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),ei(i,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){en(this.ptr)},e.ready});class Q${nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new Q$.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=QK().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=Q$.nativeInstance._malloc(t);Q$.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),Q$.nativeInstance._free(r)}final(e,t){let r=Q$.nativeInstance._malloc(t);Q$.nativeInstance.HEAPU8.set(e,r);let i=Q$.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),Q$.nativeInstance._free(r);let n=new Uint8Array(8);return n.set(Q$.nativeInstance.HEAPU8.subarray(i,i+8)),Q$.nativeInstance._free(i),n}}(eh=eD||(eD={}))[eh.StreamHeader=0]="StreamHeader",eh[eh.StreamFooter=1]="StreamFooter",eh[eh.SegmentHeader=2]="SegmentHeader",eh[eh.SegmentFooter=3]="SegmentFooter",eh[eh.SegmentContent=4]="SegmentContent",eh[eh.Completed=5]="Completed";class QX{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=eD.StreamHeader,this.segmentCrc64=new Q$,this.messageCrc64=new Q$}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===eD.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===eD.SegmentHeader&&this.handlingSegmentHeader(),this.state===eD.SegmentContent&&this.handlingSegmentContent(e),this.state===eD.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===eD.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=eD.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=eD.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=eD.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new Q$,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=eD.StreamFooter:this.state=eD.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=eD.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function QZ(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof m4&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new Q2(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new Q2(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await Q1(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new m4.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new Q2(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=m4.Readable.from(Buffer.from(e)),i=await new Q2(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=m4.Readable.from(e),i=await new Q2(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=m4.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new Q2(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function Q0(e,t,r){let{done:i,value:n}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(n))}async function Q1(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),n=new Response(new ReadableStream({start(e){r=new QX(t=>{e.enqueue(t)},t)},pull(e){Q0(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await n.blob(),encodedContentLength:r.messageLength}}class Q2 extends m4.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new QX(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new I6("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(ep=eR||(eR={}))[ep.StreamHeader=0]="StreamHeader",ep[ep.StreamFooter=1]="StreamFooter",ep[ep.SegmentHeader=2]="SegmentHeader",ep[ep.SegmentFooter=3]="SegmentFooter",ep[ep.SegmentContent=4]="SegmentContent";class Q3{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=eR.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new Q$,this.messageCrc64=new Q$}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===eR.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===eR.SegmentHeader&&this.parseSegmentHeader(e),this.state===eR.SegmentContent&&this.parseSegmentContent(e),this.state===eR.SegmentFooter&&this.parseSegmentFooter(e);this.state===eR.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=eR.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=eR.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=eR.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=eR.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new Q$,this.state=eR.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class Q5 extends m4.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new Q3(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new I6("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class Q4{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class Q8 extends Q4{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class Q9{create(e,t){return new Q8(e,t)}}class Q6 extends Q4{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class Q7 extends Q6{constructor(e,t){super(e,t)}}class be{create(e,t){throw Error("Method should be implemented in children classes.")}}class bt extends be{create(e,t){return new Q7(e,t)}}let br="timeout",bi="Authorization",bn="Content-Encoding",bs="Content-Language",ba="Content-Length",bo="Content-Md5",bA="Content-Type",bl="date",bc="if-match",bd="if-modified-since",bu="if-none-match",bg="if-unmodified-since",bh="x-ms-",bp="Range",bm="x-ms-date",bf="x-ms-copy-source-error-code";function bC(e,t,r){let i=new URL(e),n=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,a=""===i.search?"?":i.search,o=[];for(let e of a.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&o.push(e)}return s&&o.push(`${n}=${s}`),i.search=o.length?`?${o.join("&")}`:"",i.toString()}function by(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function bI(e){try{return new URL(e).pathname}catch(e){return}}function bE(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],n=t[1];i[r]=n}return i}async function bB(e,t,r){return new Promise((i,n)=>{let s,a=()=>{void 0!==s&&clearTimeout(s),n(r)};s=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",a),i()},e),void 0!==t&&t.addEventListener("abort",a)})}let bQ=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),bb=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),bN=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function bS(e,t){return!function(e,t){let r=[bQ,bb,bN],i=0,n=0,s=0;for(;i<r.length;){if(i===r.length-1&&n!==s)return n>s;let a=n<e.length?r[i][e[n].charCodeAt(0)]:1,o=s<t.length?r[i][t[s].charCodeAt(0)]:1;if(1===a&&1===o)n=0,s=0,++i;else if(a===o)++n,++s;else if(0===a)++n;else{if(0!==o)return a<o;++s}}return!1}(e,t)?1:-1}class bw extends Q6{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(bm,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(ba,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,bs),this.getHeaderValueToSign(e,bn),this.getHeaderValueToSign(e,ba),this.getHeaderValueToSign(e,bo),this.getHeaderValueToSign(e,bA),this.getHeaderValueToSign(e,bl),this.getHeaderValueToSign(e,bd),this.getHeaderValueToSign(e,bc),this.getHeaderValueToSign(e,bu),this.getHeaderValueToSign(e,bg),this.getHeaderValueToSign(e,bp)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(bi,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==ba||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(bh));t.sort((e,t)=>bS(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}getCanonicalizedResourceString(e){let t=bI(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=bE(e.url),n={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();n[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` +${t}:${decodeURIComponent(n[t])}`}return r}}class bx extends be{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new bw(e,t,this)}computeHMACSHA256(e){return(0,ff.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let bD=I0("storage-common");(em=ev||(ev={}))[em.EXPONENTIAL=0]="EXPONENTIAL",em[em.FIXED=1]="FIXED";let bR={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:ev.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},bv=new I6("The operation was aborted.");class bk extends Q4{retryOptions;constructor(e,t,r=bR){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:bR.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):bR.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:bR.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:bR.maxRetryDelayInMs):bR.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:bR.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:bR.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,n=e.clone(),s=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;s||(n.url=by(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=bC(n.url,br,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(bD.info(`RetryPolicy: =====> Try=${r} ${s?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(n),!this.shouldRetry(s,r,i))return i;t=t||!s&&404===i.status}catch(e){if(bD.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(s,r,i,e))throw e}return await this.delay(s,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return bD.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return bD.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return bD.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return bD.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(bf);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(bD.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case ev.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case ev.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return bD.info(`RetryPolicy: Delay for ${i}ms`),bB(i,r,bv)}}class bM{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new bk(e,t,this.retryOptions)}}let bF={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:ev.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},bU=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],bT=new I6("The operation was aborted.");class bL{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,ff.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let bO="12.33.0",bP="2026-06-06",bH="snapshot",bY="versionid",bG=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],bq=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],bz=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function bV(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class b_{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function bJ(e,t={}){e||(e=new bt);let r=new b_([],t);return r._credential=e,r}function bW(e){if(e._credential)return e._credential;let t=new bt;for(let r of e.factories)if(Ef(r.credential))t=r.credential;else if(bj(r))return r;return t}function bj(e){return e instanceof bx||"StorageSharedKeyCredential"===e.constructor.name}function bK(e){return e instanceof bt||"AnonymousCredential"===e.constructor.name}function b$(e){return Ef(e.credential)}function bX(e){return e instanceof Q9||"StorageBrowserPolicyFactory"===e.constructor.name}function bZ(e){return e instanceof bM||"StorageRetryPolicyFactory"===e.constructor.name}function b0(e){return"TelemetryPolicyFactory"===e.constructor.name}function b1(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(ek||(ek={})).AES256="AES256",(eM||(eM={})).Backup="backup",(ef=eF||(eF={})).NeverExpire="NeverExpire",ef.RelativeToCreation="RelativeToCreation",ef.RelativeToNow="RelativeToNow",ef.Absolute="Absolute",(eC=eU||(eU={})).AccountAlreadyExists="AccountAlreadyExists",eC.AccountBeingCreated="AccountBeingCreated",eC.AccountIsDisabled="AccountIsDisabled",eC.AuthenticationFailed="AuthenticationFailed",eC.AuthorizationFailure="AuthorizationFailure",eC.ConditionHeadersNotSupported="ConditionHeadersNotSupported",eC.ConditionNotMet="ConditionNotMet",eC.EmptyMetadataKey="EmptyMetadataKey",eC.InsufficientAccountPermissions="InsufficientAccountPermissions",eC.InternalError="InternalError",eC.InvalidAuthenticationInfo="InvalidAuthenticationInfo",eC.InvalidHeaderValue="InvalidHeaderValue",eC.InvalidHttpVerb="InvalidHttpVerb",eC.InvalidInput="InvalidInput",eC.InvalidMd5="InvalidMd5",eC.InvalidMetadata="InvalidMetadata",eC.InvalidQueryParameterValue="InvalidQueryParameterValue",eC.InvalidRange="InvalidRange",eC.InvalidResourceName="InvalidResourceName",eC.InvalidUri="InvalidUri",eC.InvalidXmlDocument="InvalidXmlDocument",eC.InvalidXmlNodeValue="InvalidXmlNodeValue",eC.Md5Mismatch="Md5Mismatch",eC.MetadataTooLarge="MetadataTooLarge",eC.MissingContentLengthHeader="MissingContentLengthHeader",eC.MissingRequiredQueryParameter="MissingRequiredQueryParameter",eC.MissingRequiredHeader="MissingRequiredHeader",eC.MissingRequiredXmlNode="MissingRequiredXmlNode",eC.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",eC.OperationTimedOut="OperationTimedOut",eC.OutOfRangeInput="OutOfRangeInput",eC.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",eC.RequestBodyTooLarge="RequestBodyTooLarge",eC.ResourceTypeMismatch="ResourceTypeMismatch",eC.RequestUrlFailedToParse="RequestUrlFailedToParse",eC.ResourceAlreadyExists="ResourceAlreadyExists",eC.ResourceNotFound="ResourceNotFound",eC.ServerBusy="ServerBusy",eC.UnsupportedHeader="UnsupportedHeader",eC.UnsupportedXmlNode="UnsupportedXmlNode",eC.UnsupportedQueryParameter="UnsupportedQueryParameter",eC.UnsupportedHttpVerb="UnsupportedHttpVerb",eC.AppendPositionConditionNotMet="AppendPositionConditionNotMet",eC.BlobAlreadyExists="BlobAlreadyExists",eC.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",eC.BlobNotFound="BlobNotFound",eC.BlobOverwritten="BlobOverwritten",eC.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",eC.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",eC.BlockCountExceedsLimit="BlockCountExceedsLimit",eC.BlockListTooLong="BlockListTooLong",eC.CannotChangeToLowerTier="CannotChangeToLowerTier",eC.CannotVerifyCopySource="CannotVerifyCopySource",eC.ContainerAlreadyExists="ContainerAlreadyExists",eC.ContainerBeingDeleted="ContainerBeingDeleted",eC.ContainerDisabled="ContainerDisabled",eC.ContainerNotFound="ContainerNotFound",eC.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",eC.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",eC.CopyIdMismatch="CopyIdMismatch",eC.FeatureVersionMismatch="FeatureVersionMismatch",eC.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",eC.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",eC.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",eC.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",eC.InvalidBlobOrBlock="InvalidBlobOrBlock",eC.InvalidBlobTier="InvalidBlobTier",eC.InvalidBlobType="InvalidBlobType",eC.InvalidBlockId="InvalidBlockId",eC.InvalidBlockList="InvalidBlockList",eC.InvalidOperation="InvalidOperation",eC.InvalidPageRange="InvalidPageRange",eC.InvalidSourceBlobType="InvalidSourceBlobType",eC.InvalidSourceBlobUrl="InvalidSourceBlobUrl",eC.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",eC.LeaseAlreadyPresent="LeaseAlreadyPresent",eC.LeaseAlreadyBroken="LeaseAlreadyBroken",eC.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",eC.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",eC.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",eC.LeaseIdMissing="LeaseIdMissing",eC.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",eC.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",eC.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",eC.LeaseLost="LeaseLost",eC.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",eC.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",eC.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",eC.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",eC.NoAuthenticationInformation="NoAuthenticationInformation",eC.NoPendingCopyOperation="NoPendingCopyOperation",eC.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",eC.PendingCopyOperation="PendingCopyOperation",eC.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",eC.PreviousSnapshotNotFound="PreviousSnapshotNotFound",eC.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",eC.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",eC.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",eC.SnapshotCountExceeded="SnapshotCountExceeded",eC.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",eC.SnapshotsPresent="SnapshotsPresent",eC.SourceConditionNotMet="SourceConditionNotMet",eC.SystemInUse="SystemInUse",eC.TargetConditionNotMet="TargetConditionNotMet",eC.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",eC.BlobBeingRehydrated="BlobBeingRehydrated",eC.BlobArchived="BlobArchived",eC.BlobNotArchived="BlobNotArchived",eC.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",eC.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",eC.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",eC.AuthorizationServiceMismatch="AuthorizationServiceMismatch",eC.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",eC.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let b2={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},b3={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},b5={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},b4={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},b8={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},b9={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},b6={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},b7={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},Ne={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},Nt={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Nr={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},Ni={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},Nn={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},Ns={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},Na={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},No={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},NA={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},Nl={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},Nc={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},Nd={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},Nu={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Ng={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Nh={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},Np={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},Nm={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},Nf={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},NC={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Ny={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},NI={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},NE={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},NB={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},NQ={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Nb={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},NN={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},NS={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},Nw={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},Nx={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},ND={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},NR={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},Nv={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},Nk={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},NM={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NF={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NU={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NL={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NO={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NP={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NH={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NY={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NG={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nq={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nz={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NV={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N_={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NJ={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NW={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nj={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NK={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N$={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NX={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NZ={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N0={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N1={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N2={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N3={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N5={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N4={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N8={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N9={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N6={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N7={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Se={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},St={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},Sr={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Si={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sn={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ss={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sa={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},So={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SA={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sl={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sc={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sd={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Su={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sg={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sh={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sp={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sm={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sf={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SC={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sy={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},SI={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SE={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},SB={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SQ={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sb={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SN={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SS={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sw={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sx={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SD={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SR={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sv={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sk={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SM={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},SF={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SU={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ST={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SL={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},SO={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SP={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SH={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SY={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SG={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sq={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Sz={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SV={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},S_={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SJ={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SW={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Sj={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},SK={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S$={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SX={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},SZ={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S0={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},S1={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S2={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},S3={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S5={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S4={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S8={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S9={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},S6={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},S7={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},we={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wt={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wr={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wi={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wn={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ws={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wa={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wo={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wA={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wl={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wc={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wd={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wu={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},wg={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wh={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wp={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wm={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wf={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wC={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wy={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wI={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wE={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wB={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wQ={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wb={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wN={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wS={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ww={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wx={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},wD={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},wR={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wv={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wk={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wM={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wF={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},wU={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wT={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wL={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wO={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},wP={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wH={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wY={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wG={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},wq={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},wz={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},wV={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},w_={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},wJ={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wW={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},wj={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},wK={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},w$={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},wX={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},wZ={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},w0={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},w1={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},w2={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},w3={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},w5={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},w4={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},w8={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},w9={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},w6={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},w7={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},xe={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},xt={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},xr={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},xi={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},xn={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},xs={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},xa={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xo={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xA={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xl={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xc={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xd={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},xu={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},xg={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xh={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},xp={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xm={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xf={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},xC={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},xy={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},xI={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},xE={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},xB={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},xQ={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},xb={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},xN={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},xS={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},xw={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},xx={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},xD={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},xR={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},xv={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},xk={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},xM={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},xF={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},xU={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},xT={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},xL={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},xO={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},xP={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},xH={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},xY={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},xG={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},xq={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},xz={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},xV={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},x_={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},xJ={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},xW={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},xj={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},xK={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},x$={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},xX={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},xZ={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},x0={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},x1={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},x2={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},x3={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},x5={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},x4={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},x8={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},x9={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},x6={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},x7={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},De={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Dt={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Dr={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Di={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Dn={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ds={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Da={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Do={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},DA={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},Dl={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},Dc={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Dd={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},Du={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},Dg={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},Dh={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},Dp={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Dm={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Df={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},DC={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Dy={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},DI={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},DE={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},DB={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},DQ={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class Db{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},DS)}getProperties(e){return this.client.sendOperationRequest({options:e},Dw)}getStatistics(e){return this.client.sendOperationRequest({options:e},Dx)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},DD)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},DR)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Dv)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},Dk)}filterBlobs(e){return this.client.sendOperationRequest({options:e},DM)}}let DN=EN(e_,!0),DS={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:NM},default:{bodyMapper:b6,headersMapper:NF}},requestBody:{parameterPath:"blobServiceProperties",mapper:b2},queryParameters:[w_,wJ,wW],urlParameters:[wV],headerParameters:[wq,wz,wj,wK],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DN},Dw={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:b2,headersMapper:NU},default:{bodyMapper:b6,headersMapper:NT}},queryParameters:[w_,wJ,wW],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN},Dx={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:b7,headersMapper:NL},default:{bodyMapper:b6,headersMapper:NO}},queryParameters:[w_,wW,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN},DD={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Nt,headersMapper:NP},default:{bodyMapper:b6,headersMapper:NH}},queryParameters:[wW,wX,wZ,w0,w1,w2],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN},DR={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:Ns,headersMapper:NY},default:{bodyMapper:b6,headersMapper:NG}},requestBody:{parameterPath:"keyInfo",mapper:Nn},queryParameters:[w_,wW,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wq,wz,wj,wK],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DN},Dv={path:"/",httpMethod:"GET",responses:{200:{headersMapper:Nq},default:{bodyMapper:b6,headersMapper:Nz}},queryParameters:[wJ,wW,w3],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN},Dk={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:NV},default:{bodyMapper:b6,headersMapper:N_}},requestBody:w5,queryParameters:[wW,w4],urlParameters:[wV],headerParameters:[wz,wj,wK,w8,w9],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DN},DM={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Na,headersMapper:NJ},default:{bodyMapper:b6,headersMapper:NW}},queryParameters:[wW,w0,w1,w6,w7],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DN};class DF{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},DT)}getProperties(e){return this.client.sendOperationRequest({options:e},DL)}delete(e){return this.client.sendOperationRequest({options:e},DO)}setMetadata(e){return this.client.sendOperationRequest({options:e},DP)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},DH)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},DY)}restore(e){return this.client.sendOperationRequest({options:e},DG)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},Dq)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},Dz)}filterBlobs(e){return this.client.sendOperationRequest({options:e},DV)}acquireLease(e){return this.client.sendOperationRequest({options:e},D_)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},DJ)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},DW)}breakLease(e){return this.client.sendOperationRequest({options:e},Dj)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},DK)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},D$)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},DX)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},DZ)}}let DU=EN(e_,!0),DT={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Nj},default:{bodyMapper:b6,headersMapper:NK}},queryParameters:[wW,xe],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xr,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:DU},DL={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:N$},default:{bodyMapper:b6,headersMapper:NX}},queryParameters:[wW,xe],urlParameters:[wV],headerParameters:[wj,wK,w$,xi],isXML:!0,serializer:DU},DO={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:NZ},default:{bodyMapper:b6,headersMapper:N0}},queryParameters:[wW,xe],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs],isXML:!0,serializer:DU},DP={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:N1},default:{bodyMapper:b6,headersMapper:N2}},queryParameters:[wW,xe,xa],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn],isXML:!0,serializer:DU},DH={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:N3},default:{bodyMapper:b6,headersMapper:N5}},queryParameters:[wW,xe,xo],urlParameters:[wV],headerParameters:[wj,wK,w$,xi],isXML:!0,serializer:DU},DY={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:N4},default:{bodyMapper:b6,headersMapper:N8}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[wW,xe,xo],urlParameters:[wV],headerParameters:[wq,wz,wj,wK,xr,xi,xn,xs],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DU},DG={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:N9},default:{bodyMapper:b6,headersMapper:N6}},queryParameters:[wW,xe,xA],urlParameters:[wV],headerParameters:[wj,wK,w$,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:DU},Dq={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:N7},default:{bodyMapper:b6,headersMapper:Se}},queryParameters:[wW,xe,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:DU},Dz={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:St},default:{bodyMapper:b6,headersMapper:Sr}},requestBody:w5,queryParameters:[wW,w4,xe],urlParameters:[wV],headerParameters:[wz,wj,wK,w8,w9],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:DU},DV={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Na,headersMapper:Si},default:{bodyMapper:b6,headersMapper:Sn}},queryParameters:[wW,w0,w1,w6,w7,xe],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DU},D_={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Ss},default:{bodyMapper:b6,headersMapper:Sa}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xc,xd,xu],isXML:!0,serializer:DU},DJ={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:So},default:{bodyMapper:b6,headersMapper:SA}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xg,xh],isXML:!0,serializer:DU},DW={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Sl},default:{bodyMapper:b6,headersMapper:Sc}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xh,xp],isXML:!0,serializer:DU},Dj={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:Sd},default:{bodyMapper:b6,headersMapper:Su}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xm,xf],isXML:!0,serializer:DU},DK={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Sg},default:{bodyMapper:b6,headersMapper:Sh}},queryParameters:[wW,xe,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xh,xC,xy],isXML:!0,serializer:DU},D$={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Nu,headersMapper:Sp},default:{bodyMapper:b6,headersMapper:Sm}},queryParameters:[wW,wX,wZ,w0,w1,xe,xI,xE],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DU},DX={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Nf,headersMapper:Sf},default:{bodyMapper:b6,headersMapper:SC}},queryParameters:[wW,wX,wZ,w0,w1,xe,xI,xE,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DU},DZ={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Sy},default:{bodyMapper:b6,headersMapper:SI}},queryParameters:[wJ,wW,w3],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:DU};class D0{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},D2)}getProperties(e){return this.client.sendOperationRequest({options:e},D3)}delete(e){return this.client.sendOperationRequest({options:e},D5)}undelete(e){return this.client.sendOperationRequest({options:e},D4)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},D8)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},D9)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},D6)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},D7)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Re)}setMetadata(e){return this.client.sendOperationRequest({options:e},Rt)}acquireLease(e){return this.client.sendOperationRequest({options:e},Rr)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Ri)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Rn)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},Rs)}breakLease(e){return this.client.sendOperationRequest({options:e},Ra)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Ro)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},RA)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Rl)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},Rc)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},Rd)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Ru)}query(e){return this.client.sendOperationRequest({options:e},Rg)}getTags(e){return this.client.sendOperationRequest({options:e},Rh)}setTags(e){return this.client.sendOperationRequest({options:e},Rp)}}let D1=EN(e_,!0),D2={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:SE},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:SE},default:{bodyMapper:b6,headersMapper:SB}},queryParameters:[wW,xB,xQ],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xb,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},xN,xS,xw,xx,xD,xR,xv],isXML:!0,serializer:D1},D3={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:SQ},default:{bodyMapper:b6,headersMapper:Sb}},queryParameters:[wW,xB,xQ],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xS,xw,xx,xD,xR,xv],isXML:!0,serializer:D1},D5={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:SN},default:{bodyMapper:b6,headersMapper:SS}},queryParameters:[wW,xB,xQ,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xD,xR,xv,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:D1},D4={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Sw},default:{bodyMapper:b6,headersMapper:Sx}},queryParameters:[wW,xA],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:D1},D8={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SD},default:{bodyMapper:b6,headersMapper:SR}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:D1},D9={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Sv},default:{bodyMapper:b6,headersMapper:Sk}},queryParameters:[wJ,wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xD,xR,xv,xk,xM,xF,xU,xT,xL],isXML:!0,serializer:D1},D6={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SM},default:{bodyMapper:b6,headersMapper:SF}},queryParameters:[wW,xB,xQ,xO],urlParameters:[wV],headerParameters:[wj,wK,w$,xs,xP,xH],isXML:!0,serializer:D1},D7={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:SU},default:{bodyMapper:b6,headersMapper:ST}},queryParameters:[wW,xB,xQ,xO],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:D1},Re={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SL},default:{bodyMapper:b6,headersMapper:SO}},queryParameters:[wW,xB,xQ,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:D1},Rt={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SP},default:{bodyMapper:b6,headersMapper:SH}},queryParameters:[wW,xa],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY],isXML:!0,serializer:D1},Rr={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:SY},default:{bodyMapper:b6,headersMapper:SG}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xc,xd,xu,xD,xR,xv],isXML:!0,serializer:D1},Ri={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Sq},default:{bodyMapper:b6,headersMapper:Sz}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xg,xh,xD,xR,xv],isXML:!0,serializer:D1},Rn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SV},default:{bodyMapper:b6,headersMapper:S_}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xh,xp,xD,xR,xv],isXML:!0,serializer:D1},Rs={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:SJ},default:{bodyMapper:b6,headersMapper:SW}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xh,xC,xy,xD,xR,xv],isXML:!0,serializer:D1},Ra={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Sj},default:{bodyMapper:b6,headersMapper:SK}},queryParameters:[wW,xl],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xm,xf,xD,xR,xv],isXML:!0,serializer:D1},Ro={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:S$},default:{bodyMapper:b6,headersMapper:SX}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY],isXML:!0,serializer:D1},RA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:SZ},default:{bodyMapper:b6,headersMapper:S0}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn,xs,xD,xR,xv,xP,xH,xG,xq,xz,xV,x_,xJ,xW,xj,xK,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},x$],isXML:!0,serializer:D1},Rl={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:S1},default:{bodyMapper:b6,headersMapper:S2}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xt,xi,xn,xs,xD,xR,xv,xP,xH,xY,xG,xz,xV,x_,xJ,xj,xK,x$,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},xX,xZ,x0,x1],isXML:!0,serializer:D1},Rc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:S3},default:{bodyMapper:b6,headersMapper:S5}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:D1},Rd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:S4},202:{headersMapper:S4},default:{bodyMapper:b6,headersMapper:S8}},queryParameters:[wW,xB,xQ,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xv,xq,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:D1},Ru={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:S9},default:{bodyMapper:b6,headersMapper:S6}},queryParameters:[wJ,wW,w3],urlParameters:[wV],headerParameters:[wj,wK,w$],isXML:!0,serializer:D1},Rg={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:S7},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:S7},default:{bodyMapper:b6,headersMapper:we}},requestBody:{parameterPath:["options","queryRequest"],mapper:NS},queryParameters:[wW,xB,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wq,wz,wj,wK,xi,xn,xs,xS,xw,xx,xD,xR,xv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:D1},Rh={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:NA,headersMapper:wt},default:{bodyMapper:b6,headersMapper:wr}},queryParameters:[wW,xB,xQ,x2],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xv,x3,x5,x4,x8],isXML:!0,serializer:D1},Rp={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:wi},default:{bodyMapper:b6,headersMapper:wn}},requestBody:{parameterPath:["options","tags"],mapper:NA},queryParameters:[wW,xQ,x2],urlParameters:[wV],headerParameters:[wq,wz,wj,wK,xi,xv,x3,x5,x4,x8,x9,x6],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:D1};class Rm{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},RC)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Ry)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},RI)}uploadPagesFromURL(e,t,r,i,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:n},RE)}getPageRanges(e){return this.client.sendOperationRequest({options:e},RB)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},RQ)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},Rb)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},RN)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},RS)}}let Rf=EN(e_,!0),RC={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ws},default:{bodyMapper:b6,headersMapper:wa}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xP,xH,xY,xG,xK,x$,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},x7,De],isXML:!0,serializer:Rf},Ry={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wo},default:{bodyMapper:b6,headersMapper:wA}},requestBody:Dr,queryParameters:[wW,Dn],urlParameters:[wV],headerParameters:[wj,wK,w8,xi,xn,xs,xb,xN,xS,xw,xx,xD,xR,xv,xY,x9,x6,Dt,Di,Ds,Da,Do,DA,Dl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Rf},RI={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wl},default:{bodyMapper:b6,headersMapper:wc}},queryParameters:[wW,Dn],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xi,xn,xs,xb,xS,xw,xx,xD,xR,xv,xY,Da,Do,DA,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:Rf},RE={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wd},default:{bodyMapper:b6,headersMapper:wu}},queryParameters:[wW,Dn],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY,xz,xV,x_,xJ,xX,xZ,x1,Ds,Da,Do,DA,Dc,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Dd,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},Du,Dg,Dh],isXML:!0,serializer:Rf},RB={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:NQ,headersMapper:wg},default:{bodyMapper:b6,headersMapper:wh}},queryParameters:[wW,w0,w1,xB,Dp],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xb,xD,xR,xv],isXML:!0,serializer:Rf},RQ={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:NQ,headersMapper:wp},default:{bodyMapper:b6,headersMapper:wm}},queryParameters:[wW,w0,w1,xB,Dp,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xb,xD,xR,xv,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:Rf},Rb={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wf},default:{bodyMapper:b6,headersMapper:wC}},queryParameters:[wJ,wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY,x7],isXML:!0,serializer:Rf},RN={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wy},default:{bodyMapper:b6,headersMapper:wI}},queryParameters:[wJ,wW],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xD,xR,xv,De,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:Rf},RS={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:wE},default:{bodyMapper:b6,headersMapper:wB}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xn,xs,xD,xR,xv,xj],isXML:!0,serializer:Rf};class Rw{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},RD)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},RR)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},Rv)}seal(e){return this.client.sendOperationRequest({options:e},Rk)}}let Rx=EN(e_,!0),RD={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wQ},default:{bodyMapper:b6,headersMapper:wb}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xP,xH,xY,xK,x$,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:Rx},RR={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wN},default:{bodyMapper:b6,headersMapper:wS}},requestBody:Dr,queryParameters:[wW,Dm],urlParameters:[wV],headerParameters:[wj,wK,w8,xi,xn,xs,xN,xS,xw,xx,xD,xR,xv,xY,x9,x6,Dt,Di,Dl,Df,DC],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Rx},Rv={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ww},default:{bodyMapper:b6,headersMapper:wx}},queryParameters:[wW,Dm],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xi,xn,xs,xS,xw,xx,xD,xR,xv,xY,xz,xV,x_,xJ,xX,xZ,x1,x9,Dc,Dd,Du,Dg,Dh,Df,DC,Dy],isXML:!0,serializer:Rx},Rk={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:wD},default:{bodyMapper:b6,headersMapper:wR}},queryParameters:[wW,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xn,xs,xD,xR,DC],isXML:!0,serializer:Rx};class RM{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},RU)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},RT)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},RL)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},RO)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},RP)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},RH)}}let RF=EN(e_,!0),RU={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wv},default:{bodyMapper:b6,headersMapper:wk}},requestBody:Dr,queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w8,xt,xi,xn,xs,xN,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xP,xH,xY,xG,xK,x$,x9,x6,Dt,Di,Dl,DI],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:RF},RT={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wM},default:{bodyMapper:b6,headersMapper:wF}},queryParameters:[wW],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xY,xG,xz,xV,x_,xJ,xW,xj,xK,xX,xZ,x0,x1,x9,Du,Dg,Dh,DI,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:RF},RL={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wU},default:{bodyMapper:b6,headersMapper:wT}},requestBody:Dr,queryParameters:[wW,DE,DB],urlParameters:[wV],headerParameters:[wj,wK,w8,xi,xN,xS,xw,xx,xY,x9,x6,Dt,Di,Dl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:RF},RO={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wL},default:{bodyMapper:b6,headersMapper:wO}},queryParameters:[wW,DE,DB],urlParameters:[wV],headerParameters:[wj,wK,w$,w8,xi,xS,xw,xx,xY,xz,xV,x_,xJ,xX,xZ,x1,Dc,Dd,Du,Dg,Dh,Dy],isXML:!0,serializer:RF},RP={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:wP},default:{bodyMapper:b6,headersMapper:wH}},requestBody:{parameterPath:"blocks",mapper:NI},queryParameters:[wW,DQ],urlParameters:[wV],headerParameters:[wq,wz,wj,wK,xt,xi,xn,xs,xS,xw,xx,xD,xR,xv,xk,xM,xF,xU,xT,xL,xP,xH,xY,xG,xK,x$,x9,x6],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:RF},RH={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:NE,headersMapper:wY},default:{bodyMapper:b6,headersMapper:wG}},queryParameters:[wW,xB,DQ,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[wV],headerParameters:[wj,wK,w$,xi,xv],isXML:!0,serializer:RF};class RY extends E7{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new Db(this),this.container=new DF(this),this.blob=new D0(this),this.pageBlob=new Rm(this),this.appendBlob=new Rw(this),this.blockBlob=new RM(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class RG extends RY{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let Rq=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function Rz(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function RV(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=Rz(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",n="",s=Buffer.from("accountKey","base64"),a="";if(n=Rz(e,"AccountName"),s=Buffer.from(Rz(e,"AccountKey"),"base64"),!r){let t=(i=Rz(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(a=Rz(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${n}.blob.${a}`}if(n){if(0===s.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:s,proxyUri:t}}{let t=Rz(e,"SharedAccessSignature"),i=Rz(e,"AccountName");if(i||(i=RX(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function R_(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function RJ(e,t,r){let i=new URL(e),n=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,a=""===i.search?"?":i.search,o=[];for(let e of a.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&o.push(e)}return s&&o.push(`${n}=${s}`),i.search=o.length?`?${o.join("&")}`:"",i.toString()}function RW(e,t){return new URL(e).searchParams.get(t)??void 0}function Rj(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function RK(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function R$(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function RX(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<Rq.length;++e){let r=Rq[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=RZ(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function RZ(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&bz.includes(e.port)}function R0(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function R1(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function R2(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let n={ruleId:i[1],replicationStatus:e[r]},s=t.findIndex(e=>e.policyId===i[0]);s>-1?t[s].rules.push(n):t.push({policyId:i[0],rules:[n]})}return t}function R3(e){return e?e.scheme+" "+e.value:void 0}function*R5(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,n=0;for(;i<t.length&&n<r.length;)t[i].start<r[n].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[n].start,end:r[n].end,isClear:!0},++n);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;n<r.length;++n)yield{start:r[n].start,end:r[n].end,isClear:!0}}function R4(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function R8(e,t,r,i,n){let s,a=i.contentChecksumAlgorithm??n;return void 0===a&&(a="Customized"),"Auto"===a&&(a="StorageCrc64"),"Customized"===a?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===a&&(await Q$.init(),s=await QZ(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===a?s.body:e,contentLength:"StorageCrc64"===a?s.encodedContentLength:t,contentChecksumAlgorithm:a}}class R9{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=RX(e),this.pipeline=t,this.storageClientContext=new RG(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>E6(await t.sendRequest(E2(e,{createProxy:!0})))}:(o||(o=EA()),o));let n=e._corePipeline;if(!n){let t=`azsdk-js-azure-storage-blob/${bO}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(n=EV({...r,loggingOptions:{additionalAllowedHeaderNames:bG,additionalAllowedQueryParameters:bq,logger:Qq.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:QY,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:QG,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),n.removePolicy({name:I2}),n.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(ba,Buffer.byteLength(e.body)),t(e))}),n.addPolicy(function(e={}){let t=e.retryPolicyType??bF.retryPolicyType,r=e.maxTries??bF.maxTries,i=e.retryDelayInMs??bF.retryDelayInMs,n=e.maxRetryDelayInMs??bF.maxRetryDelayInMs,s=e.secondaryHost??bF.secondaryHost,a=e.tryTimeoutInMs??bF.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,o){let A,l;a&&(e.url=bC(e.url,br,String(Math.floor(a/1e3))));let c=e.url,d=s?by(e.url,s):void 0,u=!1,g=1,h=!0;for(;h;){let s=u||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||g%2==1;e.url=s?c:d,A=void 0,l=void 0;try{bD.info(`RetryPolicy: =====> Try=${g} ${s?"Primary":"Secondary"}`),A=await o(e),u=u||!s&&404===A.status}catch(e){if(Ip(e))bD.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw bD.error(`RetryPolicy: Caught error, message: ${Ee(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:n}){if(t>=r)return bD.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(n){for(let e of bU)if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e)return bD.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag'))return bD.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||n){let t=i?.status??n?.statusCode??0;if(!e&&404===t)return bD.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return bD.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(bf);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:s,attempt:g,response:A,error:l}))&&await bB(function(e,r){let s=0;if(e)switch(t){case ev.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*i,n);break;case ev.FIXED:s=i}else s=1e3*Math.random();return bD.info(`RetryPolicy: Delay for ${s}ms`),s}(s,g),e.abortSignal,bT),g++}if(A)return A;throw l??new Ih("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),n.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),n.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let s=function(e){let t=[bK,bj,b$,bX,bZ,b0,b1];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>E9(await r(E1(e)),{createProxy:!0})};for(let t of e)i=t.create(i,Be);let n=E2(t,{createProxy:!0});return E6(await i.sendRequest(n))}}),afterRetry:t}}}}(e);s&&n.addPolicy(s.wrappedPolicies,s.afterRetry?{afterPhase:"Retry"}:void 0);let a=bW(e);Ef(a)?n.addPolicy(Ep({credential:a,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:E$}}),{phase:"Sign"}):a instanceof bx&&n.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==ba||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let n,s;return r.headers.set(bm,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(ba,Buffer.byteLength(r.body)),n=[r.method.toUpperCase(),t(r,bs),t(r,bn),t(r,ba),t(r,bo),t(r,bA),t(r,bl),t(r,bd),t(r,bc),t(r,bu),t(r,bg),t(r,bp)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(bh)&&t.push({name:r,value:i});t.sort((e,t)=>bS(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}(r)+function(t){let r=bI(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let n=bE(t.url),s={};if(n){let e=[];for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)){let r=t.toLowerCase();s[r]=n[t],e.push(r)}for(let t of(e.sort(),e))i+=` +${t}:${decodeURIComponent(s[t])}`}return i}(r),s=(0,ff.createHmac)("sha256",e.accountKey).update(n,"utf8").digest("base64"),r.headers.set(bi,`SharedKey ${e.accountName}:${s}`),i(r)}}}({accountName:a.accountName,accountKey:a.accountKey}),{phase:"Sign"}),e._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:n}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=bW(t),this.storageClientContext.requestContentType=void 0}}let R6=Ea({packageName:"@azure/storage-blob",packageVersion:bO,namespace:"Microsoft.Storage"});class R7{static parse(e){let t=new R7;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new R7;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class ve{static parse(e){let t=new ve;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new ve;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function vt(e){return e.end?`${e.start}-${e.end}`:e.start}(ey=eT||(eT={})).Https="https",ey.HttpsAndHttp="https,http";class vr{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,n,s,a,o,A,l,c,d,u,g,h,p,m,f,C,y,I,E,B,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=n,this.expiresOn=o,this.permissions=r,this.protocol=s,this.startsOn=a,this.ipRangeInner=A,this.delegatedUserObjectId=I,this.encryptionScope=y,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=u,this.contentEncoding=g,this.contentLanguage=h,this.contentType=p,this.requestHeaderKeys=E,this.requestQueryParameterKeys=B,this.directoryDepth=Q,m&&(this.signedOid=m.signedObjectId,this.signedTenantId=m.signedTenantId,this.signedStartsOn=m.signedStartsOn,this.signedExpiresOn=m.signedExpiresOn,this.signedService=m.signedService,this.signedVersion=m.signedVersion,this.signedDelegatedUserTid=m.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=f,this.correlationId=C))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?RK(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?RK(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?vt(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?RK(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?RK(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function vi(e,t,r){return vn(e,t,r).sasQueryParameters}function vn(e,t,r){let i,n=e.version?e.version:bP,s=t instanceof bx?t:void 0;if(void 0===s&&void 0!==r&&(i=new bL(r,t)),void 0===s&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")if(void 0!==s)return function(e,t){let r,i;if(!(e=vo(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:a}}(e,s);else if(n>="2026-04-06")return function(e,t){let r,i;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,vs(e.requestHeaders),vs(e.requestQueryParameters),i),stringToSign:a}}(e,i);else if(n>="2025-07-05")return function(e,t){let r,i;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:a}}(e,i);else return function(e,t){let r,i;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:a}}(e,i);if(n>="2018-11-09")if(void 0!==s)if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=vo(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:a}}(e,s);else return function(e,t){let r;if(!(e=vo(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(s);return{sasQueryParameters:new vr(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:s}}(e,s);else if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=vA(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(a);return{sasQueryParameters:new vr(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:a}}(e,i);else return function(e,t){let r;if(!(e=vo(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?R7.parse(e.permissions.toString()).toString():ve.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?RK(e.startsOn,!1):"",e.expiresOn?RK(e.expiresOn,!1):"",va(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?RK(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?RK(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?vt(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(s);return{sasQueryParameters:new vr(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:s}}(e,i);if(n>="2015-04-05")if(void 0!==s){let t;var a=e,o=s;if(!(a=vo(a)).identifier&&!(a.permissions&&a.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";a.blobName&&(r="b"),a.permissions&&(t=a.blobName?R7.parse(a.permissions.toString()).toString():ve.parse(a.permissions.toString()).toString());let i=[t||"",a.startsOn?RK(a.startsOn,!1):"",a.expiresOn?RK(a.expiresOn,!1):"",va(o.accountName,a.containerName,a.blobName),a.identifier,a.ipRange?vt(a.ipRange):"",a.protocol?a.protocol:"",a.version,a.cacheControl?a.cacheControl:"",a.contentDisposition?a.contentDisposition:"",a.contentEncoding?a.contentEncoding:"",a.contentLanguage?a.contentLanguage:"",a.contentType?a.contentType:""].join("\n"),n=o.computeHMACSHA256(i);return{sasQueryParameters:new vr(a.version,n,t,void 0,void 0,a.protocol,a.startsOn,a.expiresOn,a.ipRange,a.identifier,r,a.cacheControl,a.contentDisposition,a.contentEncoding,a.contentLanguage,a.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function vs(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function va(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function vo(e){let t=e.version?e.version:bP;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function vA(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class vl{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=Ir()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-acquireLease",t,async r=>R4(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=R4(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-releaseLease",e,async t=>R4(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return R6.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return R4(await this._containerOrBlobOperation.breakLease(i))})}}class vc extends m4.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,n={}){super({highWaterMark:n.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=n.maxRetryRequests&&n.maxRetryRequests>=0?n.maxRetryRequests:0,this.onProgress=n.onProgress,this.options=n,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new I6("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class vd{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,n={}){this.originalResponse=e;let s=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new Q5(this.originalResponse.readableStreamBody,n);this.blobDownloadStream=new vc(s,t,r,i,n)}}let vu=new Uint8Array([79,98,106,1]);class vg{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await vg.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,n,s=0,a=0;do i=128&(r=await vg.readByte(e,t)),s|=(127&r)<<a,a+=7;while(i&&a<28);if(i){n=0x10000000;do s+=(127&(r=await vg.readByte(e,t)))*n,n*=128;while(128&r);let i=(s%2?-(s+1):s)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return s>>1^-(1&s)}static async readLong(e,t={}){return vg.readZigZagLong(e,t)}static async readInt(e,t={}){return vg.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await vg.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await vg.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await vg.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await vg.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await vg.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await vg.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await vg.readArray(e,(e,r={})=>vg.readMapPair(e,t,r),r),n={};for(let e of i)n[e.key]=e.value;return n}static async readArray(e,t,r={}){let i=[];for(let n=await vg.readLong(e,r);0!==n;n=await vg.readLong(e,r))for(n<0&&(await vg.readLong(e,r),n=-n);n--;){let n=await t(e,r);i.push(n)}return i}}(eI=eL||(eL={})).RECORD="record",eI.ENUM="enum",eI.ARRAY="array",eI.MAP="map",eI.UNION="union",eI.FIXED="fixed",(eE=eO||(eO={})).NULL="null",eE.BOOLEAN="boolean",eE.INT="int",eE.LONG="long",eE.FLOAT="float",eE.DOUBLE="double",eE.BYTES="bytes",eE.STRING="string";class vh{static fromSchema(e){return"string"==typeof e?vh.fromStringSchema(e):Array.isArray(e)?vh.fromArraySchema(e):vh.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case eO.NULL:case eO.BOOLEAN:case eO.INT:case eO.LONG:case eO.FLOAT:case eO.DOUBLE:case eO.BYTES:case eO.STRING:return new vp(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new vf(e.map(vh.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return vh.fromStringSchema(t)}catch{}switch(t){case eL.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=vh.fromSchema(t.type);return new vy(r,e.name);case eL.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new vm(e.symbols);case eL.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new vC(vh.fromSchema(e.values));case eL.ARRAY:case eL.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class vp extends vh{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case eO.NULL:return vg.readNull();case eO.BOOLEAN:return vg.readBoolean(e,t);case eO.INT:return vg.readInt(e,t);case eO.LONG:return vg.readLong(e,t);case eO.FLOAT:return vg.readFloat(e,t);case eO.DOUBLE:return vg.readDouble(e,t);case eO.BYTES:return vg.readBytes(e,t);case eO.STRING:return vg.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class vm extends vh{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await vg.readInt(e,t);return this._symbols[r]}}class vf extends vh{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await vg.readInt(e,t);return this._types[r].read(e,t)}}class vC extends vh{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return vg.readMap(e,r,t)}}class vy extends vh{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function vI(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class vE{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!vI(await vg.readFixedBytes(this._headerStream,vu.length,{abortSignal:e.abortSignal}),vu))throw Error("Stream is not an Avro file.");this._metadata=await vg.readMap(this._headerStream,vg.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await vg.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=vh.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await vg.readLong(this._dataStream,{abortSignal:e.abortSignal}),await vg.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await vg.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!vI(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await vg.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await vg.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class vB{}let vQ=s("buffer"),vb=new I6("Reading from the avro stream was aborted.");class vN extends vB{_position;_readable;toUint8Array(e){return"string"==typeof e?vQ.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw vb;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let n=()=>{this._readable.removeListener("readable",s),this._readable.removeListener("error",a),this._readable.removeListener("end",a),this._readable.removeListener("close",a),t.abortSignal&&t.abortSignal.removeEventListener("abort",o)},s=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,n(),r(this.toUint8Array(t)))},a=()=>{n(),i()},o=()=>{n(),i(vb)};this._readable.on("readable",s),this._readable.once("error",a),this._readable.once("end",a),this._readable.once("close",a),t.abortSignal&&t.abortSignal.addEventListener("abort",o)})}}class vS extends m4.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new vE(new vN(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let n=t.position;if("number"!=typeof n)throw Error("Invalid position in avro error record.");this.onError({position:n,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class vw{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new vS(this.originalResponse.readableStreamBody,t)}}function vx(e){if(void 0!==e)return e}function vD(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function vR(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(eB=eP||(eP={})).Hot="Hot",eB.Cool="Cool",eB.Cold="Cold",eB.Archive="Archive",(eQ=eH||(eH={})).P4="P4",eQ.P6="P6",eQ.P10="P10",eQ.P15="P15",eQ.P20="P20",eQ.P30="P30",eQ.P40="P40",eQ.P50="P50",eQ.P60="P60",eQ.P70="P70",eQ.P80="P80",(eb=eY||(eY={})).StorageOAuthScopes="https://storage.azure.com/.default",eb.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",I0("core-lro");class vv extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,vv.prototype)}}class vk extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,vk.prototype)}}class vM{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new vk("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new vv("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class vF extends vM{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:n=15e3,onProgress:s,resumeFrom:a,startCopyFromURLOptions:o}=e;a&&(t=JSON.parse(a).state),super(vO({...t,blobClient:r,copySource:i,startCopyFromURLOptions:o})),"function"==typeof s&&this.onProgress(s),this.intervalInMs=n}delay(){return I7(this.intervalInMs)}}let vU=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),vO(t)},vT=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:n}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:n}=r,s=t.copyProgress;n&&(t.copyProgress=n),"pending"===i&&n!==s&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,n);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return vO(t)},vL=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function vO(e){return{state:{...e},cancel:vU,toString:vL,update:vT}}function vP(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(eN=eG||(eG={}))[eN.Good=0]="Good",eN[eN.Error=1]="Error";class vH{concurrency;actives=0;completed=0;offset=0;operations=[];state=eG.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Qz.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=eG.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==eG.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}async function vY(e,t,r,i,n){let s=0,a=i-r;return new Promise((i,o)=>{let A=setTimeout(()=>o(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let o;if(s>=a){clearTimeout(A),i();return}for(;null!==(o=e.read());){"string"==typeof o&&(o=Buffer.from(o,n));let e=s+o.length>a?a-s:o.length;if(t.fill(o.slice(0,e),r+s,r+s+e),(s+=e)>=a){clearTimeout(A),i();return}}}),e.on("end",()=>{clearTimeout(A),s<a&&o(Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${a}`)),i()}),e.on("error",e=>{clearTimeout(A),o(e)})})}async function vG(e,t){return new Promise((r,i)=>{let n=fI.createWriteStream(t);e.on("error",e=>{i(e)}),n.on("error",e=>{i(e)}),n.on("close",r),e.pipe(n)})}let vq=yq.promisify(fI.stat),vz=fI.createReadStream;class vV extends R9{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let n,s;if(i=i||{},bV(t))s=e,n=t,i=r;else if(t instanceof bx||t instanceof bt||Ef(t))s=e,n=bJ(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let a=RV(e);if("AccountConnString"===a.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new bx(a.accountName,a.accountKey);s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Et(a.proxyUri)),n=bJ(e,i)}else if("SASConnString"===a.kind)s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+a.accountSas,n=bJ(new bt,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(i=r),n=bJ(new bt,i);super(s,n),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=RW(this.url,bH),this._versionId=RW(this.url,bY),this.blobClientConfig=i}withSnapshot(e){return new vV(RJ(this.url,bH,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new vV(RJ(this.url,bY,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new v_(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new vJ(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new vW(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},vD(r.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-download",r,async i=>{let n=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===n?n="Customized":"Auto"===n&&(n="StorageCrc64"),"StorageCrc64"===n&&await Q$.init();let s=R4(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?vP({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0})),a={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:R2(s.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===s.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===n&&void 0===s.structuredContentLength)throw RangeError("Unexpected structured content length");if(!s.etag)throw RangeError("File download response doesn't contain valid etag header");let o="StorageCrc64"===n?s.structuredContentLength:s.contentLength;return new vd(a,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||s.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:vP({count:e+o-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0},a=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==n?a:new Q5(a,{})},e,o,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return R6.withSpan("BlobClient-exists",e,async t=>{try{return vD(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},vD(e.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-getProperties",e,async t=>{let r=R4(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:R2(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},R6.withSpan("BlobClient-delete",e,async t=>R4(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return R6.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=R4(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return R6.withSpan("BlobClient-undelete",e,async t=>R4(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-setHTTPHeaders",t,async r=>R4(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-setMetadata",t,async r=>R4(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return R6.withSpan("BlobClient-setTags",t,async r=>R4(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return R6.withSpan("BlobClient-getTags",e,async t=>{let r=R4(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new vl(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},vD(e.customerProvidedKey,this.isHttps),R6.withSpan("BlobClient-createSnapshot",e,async t=>R4(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new vF({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return R6.withSpan("BlobClient-abortCopyFromURL",t,async r=>R4(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},R6.withSpan("BlobClient-syncCopyFromURL",t,async r=>R4(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:R3(t.sourceAuthorization),tier:vx(t.tier),blobTagsString:R0(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return R6.withSpan("BlobClient-setAccessTier",t,async r=>R4(await this.blobContext.setTier(vx(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let n,s=0,a=0,o=i;e instanceof Buffer?(n=e,s=t||0,a="number"==typeof r?r:0):(s="number"==typeof e?e:0,a="number"==typeof t?t:0,o=r||{});let A=o.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),s<0)throw RangeError("offset option must be >= 0");if(a&&a<=0)throw RangeError("count option must be greater than 0");return o.conditions||(o.conditions={}),R6.withSpan("BlobClient-downloadToBuffer",o,async e=>{if(!a){let t=await this.getProperties({...o,tracingOptions:e.tracingOptions});if((a=t.contentLength-s)<0)throw RangeError(`offset ${s} shouldn't be larger than blob size ${t.contentLength}`)}if(!n)try{n=Buffer.alloc(a)}catch(e){throw Error(`Unable to allocate the buffer of size: ${a}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(n.length<a)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${a}`);let t=0,r=new vH(o.concurrency);for(let i=s;i<s+a;i+=A)r.addOperation(async()=>{let r=s+a;i+A<r&&(r=i+A);let l=(await this.download(i,r-i,{abortSignal:o.abortSignal,conditions:o.conditions,maxRetryRequests:o.maxRetryRequestsPerBlock,customerProvidedKey:o.customerProvidedKey,contentChecksumAlgorithm:o.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await vY(l,n,i-s,r-s),t+=r-i,o.onProgress&&o.onProgress({loadedBytes:t})});return await r.do(),n})}async downloadToFile(e,t=0,r,i={}){return R6.withSpan("BlobClient-downloadToFile",i,async n=>{let s=await this.download(t,r,{...i,tracingOptions:n.tracingOptions});return s.readableStreamBody&&await vG(s.readableStreamBody,e),s.blobDownloadStream=void 0,s})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(RZ(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return R6.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},R4(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:vx(t.tier),blobTagsString:R0(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof bx))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=vi({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(Rj(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof bx))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return vn({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=vi({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(Rj(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return vn({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return R6.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>R4(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return R6.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>R4(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return R6.withSpan("BlobClient-setLegalHold",t,async t=>R4(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return R6.withSpan("BlobClient-getAccountInfo",e,async t=>R4(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class v_ extends vV{appendBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},bV(t))s=e,n=t,i=r;else if(t instanceof bx||t instanceof bt||Ef(t))s=e,n=bJ(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let a=RV(e);if("AccountConnString"===a.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new bx(a.accountName,a.accountKey);s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Et(a.proxyUri)),n=bJ(e,i)}else if("SASConnString"===a.kind)s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+a.accountSas,n=bJ(new bt,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,i=r,n=bJ(new bt,i);super(s,n),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new v_(RJ(this.url,bH,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},vD(e.customerProvidedKey,this.isHttps),R6.withSpan("AppendBlobClient-create",e,async t=>R4(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:R0(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return R6.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=R4(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},R6.withSpan("AppendBlobClient-seal",e,async t=>R4(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},vD(r.customerProvidedKey,this.isHttps),R6.withSpan("AppendBlobClient-appendBlock",r,async i=>{let n={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},s=await R8(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return R4(await this.appendBlobContext.appendBlock(s.contentLength,s.body,n))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},vD(i.customerProvidedKey,this.isHttps),R6.withSpan("AppendBlobClient-appendBlockFromURL",i,async n=>R4(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:vP({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:R3(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class vJ extends vV{_blobContext;blockBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},bV(t))s=e,n=t,i=r;else if(t instanceof bx||t instanceof bt||Ef(t))s=e,n=bJ(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let a=RV(e);if("AccountConnString"===a.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new bx(a.accountName,a.accountKey);s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Et(a.proxyUri)),n=bJ(e,i)}else if("SASConnString"===a.kind)s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+a.accountSas,n=bJ(new bt,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(i=r),n=bJ(new bt,i);super(s,n),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new vJ(RJ(this.url,bH,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-query",t,async r=>new vw(R4(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:R1(t.inputTextConfiguration),outputSerialization:R1(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},vD(r.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-upload",r,async i=>{let n={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:vx(r.tier),blobTagsString:R0(r.tags),tracingOptions:i.tracingOptions},s=await R8(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return R4(await this.blockBlobContext.upload(s.contentLength,s.body,n))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>R4(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:R3(t.sourceAuthorization),tier:vx(t.tier),blobTagsString:R0(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return vD(i.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-stageBlock",i,async n=>{let s={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},a=await R8(t,r,s,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return R4(await this.blockBlobContext.stageBlock(e,a.contentLength,a.body,s))})}async stageBlockFromURL(e,t,r=0,i,n={}){return vD(n.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-stageBlockFromURL",n,async s=>R4(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:0!==r||i?vP({offset:r,count:i}):void 0,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:R3(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("BlockBlobClient-commitBlockList",t,async r=>R4(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:vx(t.tier),blobTagsString:R0(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return R6.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=R4(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return R6.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return R6.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let n=r.maxSingleShotSize??0x10000000;if(n<0||n>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>n&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),R6.withSpan("BlockBlobClient-uploadSeekableInternal",r,async s=>{if(t<=n)return R4(await this.upload(e(0,t),t,s));let a=Math.floor((t-1)/i)+1;if(a>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let o=[],A=Ir(),l=0,c=new vH(r.concurrency);for(let n=0;n<a;n++)c.addOperation(async()=>{let c=R$(A,n),d=i*n,u=(n===a-1?t:d+i)-d;o.push(c),await this.stageBlock(c,e(d,u),u,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=u,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(o,s)})}async uploadFile(e,t={}){return R6.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await vq(e)).size;return this.uploadSeekableInternal((t,r)=>()=>vz(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),R6.withSpan("BlockBlobClient-uploadStream",i,async n=>{let s=0,a=Ir(),o=0,A=[],l=new QW(e,t,r,async(e,t)=>{let r=R$(a,s);A.push(r),s++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),o+=t,i.onProgress&&i.onProgress({loadedBytes:o})},Math.ceil(r/4*3));return await l.do(),R4(await this.commitBlockList(A,{...i,tracingOptions:n.tracingOptions}))})}}class vW extends vV{pageBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},bV(t))s=e,n=t,i=r;else if(t instanceof bx||t instanceof bt||Ef(t))s=e,n=bJ(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let a=RV(e);if("AccountConnString"===a.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new bx(a.accountName,a.accountKey);s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Et(a.proxyUri)),n=bJ(e,i)}else if("SASConnString"===a.kind)s=R_(R_(a.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+a.accountSas,n=bJ(new bt,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,i=r,n=bJ(new bt,i);super(s,n),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new vW(RJ(this.url,bH,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},vD(t.customerProvidedKey,this.isHttps),R6.withSpan("PageBlobClient-create",t,async r=>R4(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:vx(t.tier),blobTagsString:R0(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return R6.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=R4(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},vD(i.customerProvidedKey,this.isHttps),R6.withSpan("PageBlobClient-uploadPages",i,async n=>{let s={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:vP({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},a=await R8(e,r,s,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return R4(await this.pageBlobContext.uploadPages(a.contentLength,a.body,s))})}async uploadPagesFromURL(e,t,r,i,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},vD(n.customerProvidedKey,this.isHttps),R6.withSpan("PageBlobClient-uploadPagesFromURL",n,async s=>R4(await this.pageBlobContext.uploadPagesFromURL(e,vP({offset:t,count:i}),0,vP({offset:r,count:i}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:R3(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},R6.withSpan("PageBlobClient-clearPages",r,async i=>R4(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:vP({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},R6.withSpan("PageBlobClient-getPageRanges",r,async i=>vR(R4(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:vP({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return R6.withSpan("PageBlobClient-getPageRangesSegment",i,async n=>R4(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:vP({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let n;if(r||void 0===r)do r=(n=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await n;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let n of this.listPageRangeItemSegments(e,t,i,r))yield*R5(n)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},R6.withSpan("PageBlobClient-getPageRangesDiff",i,async n=>vR(R4(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:vP({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,n={}){return R6.withSpan("PageBlobClient-getPageRangesDiffSegment",n,async s=>R4(await this.pageBlobContext.getPageRangesDiff({abortSignal:n?.abortSignal,leaseAccessConditions:n?.conditions,modifiedAccessConditions:{...n?.conditions,ifTags:n?.conditions?.tagConditions},prevsnapshot:r,range:vP({offset:e,count:t}),marker:i,maxPageSize:n?.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,n){let s;if(i||void 0===i)do i=(s=await this.listPageRangesDiffSegment(e,t,r,i,n)).continuationToken,yield await s;while(i)}async *listPageRangeDiffItems(e,t,r,i){let n;for await(let s of this.listPageRangeDiffItemSegments(e,t,r,n,i))yield*R5(s)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let n=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>n.next(),[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,{maxPageSize:n.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},R6.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async n=>vR(R4(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:vP({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},R6.withSpan("PageBlobClient-resize",t,async r=>R4(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},R6.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>R4(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return R6.withSpan("PageBlobClient-startCopyIncremental",t,async r=>R4(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(eS=eq||(eq={}))[eS.LOCKED=0]="LOCKED",eS[eS.UNLOCKED=1]="UNLOCKED",(ez||(ez={})).AES256="AES256";var vj=class extends Error{reason;limit;actual;_tag="GuardExceeded";constructor(e,t,r){super(`${e}: limit ${t}, actual ${r}`),this.reason=e,this.limit=t,this.actual=r}};let vK=e=>e instanceof vj,v$=(e,t)=>{if(!Number.isSafeInteger(t)||t<1)throw TypeError(`@effected/glob internal cap ${e} must be a positive integer, received ${t}`);return t},vX=(e,{windowsPathsNoEscape:t=!1,magicalBraces:r=!0}={})=>r?t?e.replace(/\[([^/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):t?e.replace(/\[([^/\\{}])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1"),vZ=Symbol("globstar **"),v0=e=>{if("string"!=typeof e)throw TypeError("invalid pattern");if(e.length>65536)throw new vj("PatternTooLong",65536,e.length)},v1={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},v2=e=>e.replace(/[[\]\\-]/g,"\\$&"),v3=(e,t)=>{if("["!==e.charAt(t))throw Error("not in a brace expression");let r=[],i=[],n=t+1,s=!1,a=!1,o=!1,A=!1,l=t,c="";t:for(;n<e.length;){let d=e.charAt(n);if(("!"===d||"^"===d)&&n===t+1){A=!0,n++;continue}if("]"===d&&s&&!o){l=n+1;break}if(s=!0,"\\"===d&&!o){o=!0,n++;continue}if("["===d&&!o){for(let[s,[o,A,l]]of Object.entries(v1))if(e.startsWith(s,n)){if(c)return["$.",!1,e.length-t,!0];n+=s.length,l?i.push(o):r.push(o),a=a||A;continue t}}if(o=!1,c){d>c?r.push(`${v2(c)}-${v2(d)}`):d===c&&r.push(v2(d)),c="",n++;continue}if(e.startsWith("-]",n+1)){r.push(v2(`${d}-`)),n+=2;continue}if(e.startsWith("-",n+1)){c=d,n+=2;continue}r.push(v2(d)),n++}if(l<n)return["",!1,0,!1];if(!r.length&&!i.length)return["$.",!1,e.length-t,!0];let d=r[0];if(0===i.length&&1===r.length&&void 0!==d&&/^\\?.$/.test(d)&&!A)return[(2===d.length?d.slice(-1):d).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),!1,l-t,!1];let u=`[${A?"^":""}${r.join("")}]`,g=`[${A?"":"^"}${i.join("")}]`;return[r.length&&i.length?`(${u}|${g})`:r.length?u:g,a,l-t,!0]},v5=new Set(["!","?","+","*","@"]),v4=e=>v5.has(e),v8=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),v9=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),v6=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),v7=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),ke="(?!\\.)",kt=new Set(["[","."]),kr=new Set(["..","."]),ki=new Set("().*{}+?[]^$\\!"),kn=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),ks="[^/]",ka=`${ks}*?`,ko=`${ks}+?`,kA=e=>{if(e>256)throw new vj("NestingDepthExceeded",256,e)},kl=0;var kc=class e{type;#tV;#t_;#tJ=!1;#tW=[];#tj;#tK;#t$;#tX=!1;#T;#tZ;#t0=!1;id=++kl;get depth(){return(this.#tj?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#tV.id,parent:this.#tj?.id,depth:this.depth,partsLength:this.#tW.length,parts:this.#tW}}constructor(e,t,r={}){this.type=e,e&&(this.#t_=!0),this.#tj=t,this.#tV=this.#tj?this.#tj.#tV:this,this.#T=this.#tV===this?r:this.#tV.#T,this.#t$=this.#tV===this?[]:this.#tV.#t$,"!"!==e||this.#tV.#tX||this.#t$.push(this),this.#tK=this.#tj?this.#tj.#tW.length:0}get hasMagic(){if(void 0!==this.#t_)return this.#t_;for(let e of this.#tW)if("string"!=typeof e&&(e.type||e.hasMagic)){this.#t_=!0;break}return this.#t_}toString(){return void 0!==this.#tZ||(this.type?this.#tZ=`${this.type}(${this.#tW.map(e=>String(e)).join("|")})`:this.#tZ=this.#tW.map(e=>String(e)).join("")),this.#tZ}#t1(){if(this!==this.#tV)throw Error("should only call on root");if(this.#tX)return this;this.toString(),this.#tX=!0;let e=this.#t$.pop();for(;void 0!==e;){if("!"!==e.type){e=this.#t$.pop();continue}let t=e,r=t.#tj;for(;r;){for(let i=t.#tK+1;!r.type&&i<r.#tW.length;i++)for(let t of e.#tW){if("string"==typeof t)throw Error("string part in extglob AST??");let e=r.#tW[i];void 0!==e&&t.copyIn(e)}r=(t=r).#tj}e=this.#t$.pop()}return this}push(...t){for(let r of t)if(""!==r){if("string"!=typeof r&&!(r instanceof e&&r.#tj===this))throw Error(`invalid part: ${r}`);this.#tW.push(r)}}toJSON(){let e=null===this.type?this.#tW.slice().map(e=>"string"==typeof e?e:e.toJSON()):[this.type,...this.#tW.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#tV||this.#tV.#tX&&this.#tj?.type==="!")&&e.push({}),e}isStart(){if(this.#tV===this)return!0;if(!this.#tj?.isStart())return!1;if(0===this.#tK)return!0;let t=this.#tj;for(let r=0;r<this.#tK;r++){let i=t.#tW[r];if(!(i instanceof e&&"!"===i.type))return!1}return!0}isEnd(){if(this.#tV===this||this.#tj?.type==="!")return!0;if(!this.#tj?.isEnd())return!1;if(!this.type)return this.#tj?.isEnd();let e=this.#tj?this.#tj.#tW.length:0;return this.#tK===e-1}copyIn(e,t=0){kA(t),"string"==typeof e?this.push(e):this.push(e.clone(this,t+1))}clone(t,r=0){kA(r);let i=new e(this.type,t);for(let e of this.#tW)i.copyIn(e,r+1);return i}static #t2(t,r,i,n,s,a){kA(a);let o=n.maxExtglobRecursion??2,A=!1,l=!1,c=-1,d=!1;if(null===r.type){let u=i,g="";for(;u<t.length;){let i=t.charAt(u++);if(A||"\\"===i){A=!A,g+=i;continue}if(l){u===c+1?("^"===i||"!"===i)&&(d=!0):"]"!==i||u===c+2&&d||(l=!1),g+=i;continue}if("["===i){l=!0,c=u,d=!1,g+=i;continue}if(!n.noext&&v4(i)&&"("===t.charAt(u)&&s<=o){r.push(g),g="";let o=new e(i,r);u=e.#t2(t,o,u,n,s+1,a+1),r.push(o);continue}g+=i}return r.push(g),u}let u=i+1,g=new e(null,r),h=[],p="";for(;u<t.length;){let i=t.charAt(u++);if(A||"\\"===i){A=!A,p+=i;continue}if(l){u===c+1?("^"===i||"!"===i)&&(d=!0):"]"!==i||u===c+2&&d||(l=!1),p+=i;continue}if("["===i){l=!0,c=u,d=!1,p+=i;continue}if(!n.noext&&v4(i)&&"("===t.charAt(u)&&(s<=o||r.#t3(i))){let o=+!r.#t3(i);g.push(p),p="";let A=new e(i,g);g.push(A),u=e.#t2(t,A,u,n,s+o,a+1);continue}if("|"===i){g.push(p),p="",h.push(g),g=new e(null,r);continue}if(")"===i)return""===p&&0===r.#tW.length&&(r.#t0=!0),g.push(p),p="",r.push(...h,g),u;p+=i}return r.type=null,r.#t_=void 0,r.#tW=[t.substring(i-1)],u}#t5(e){return this.#t4(e,v9)}#t4(e,t=v8){if(!e||"object"!=typeof e||null!==e.type||1!==e.#tW.length||null===this.type)return!1;let r=e.#tW[0];return!!r&&"object"==typeof r&&null!==r.type&&this.#t3(r.type,t)}#t3(e,t=v6){return!!t.get(this.type)?.includes(e)}#t8(t,r){let i=t.#tW[0],n=new e(null,i,this.options);n.#tW.push(""),i.push(n),this.#t9(t,r)}#t9(e,t){let r=e.#tW[0];for(let e of(this.#tW.splice(t,1,...r.#tW),r.#tW))"object"==typeof e&&(e.#tj=this);this.#tZ=void 0}#t6(e){return!!v7.get(this.type)?.has(e)}#t7(e){if(!e||"object"!=typeof e||null!==e.type||1!==e.#tW.length||null===this.type||1!==this.#tW.length)return!1;let t=e.#tW[0];return!!t&&"object"==typeof t&&null!==t.type&&this.#t6(t.type)}#re(e){let t=v7.get(this.type),r=e.#tW[0],i=t?.get(r.type);if(i){for(let e of(this.#tW=r.#tW,this.#tW))"object"==typeof e&&(e.#tj=this);this.type=i,this.#tZ=void 0,this.#t0=!1}}static fromGlob(t,r={}){void 0!==r.maxExtglobRecursion&&v$("maxExtglobRecursion",r.maxExtglobRecursion);let i=new e(null,void 0,r);return e.#t2(t,i,0,r,0,0),i}toMMPattern(){if(this!==this.#tV)return this.#tV.toMMPattern();let e=this.toString(),[t,r,i,n]=this.toRegExpSource();return i||this.#t_||this.#T.nocase&&!this.#T.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()?Object.assign(RegExp(`^${t}$`,(this.#T.nocase?"i":"")+(n?"u":"")),{_src:t,_glob:e}):r}get options(){return this.#T}toRegExpSource(t,r=0){kA(r);let i=t??!!this.#T.dot;if(this.#tV===this&&(this.#rt(),this.#t1()),!v4(this.type)){let n=this.isStart()&&this.isEnd()&&!this.#tW.some(e=>"string"!=typeof e),s=this.#tW.map(i=>{let[s,a,o,A]="string"==typeof i?e.#rr(i,this.#t_,n):i.toRegExpSource(t,r+1);return this.#t_=this.#t_||o,this.#tJ=this.#tJ||A,s}).join(""),a="";if(this.isStart()&&"string"==typeof this.#tW[0]&&!(1===this.#tW.length&&kr.has(this.#tW[0]))){let e=i&&kt.has(s.charAt(0))||s.startsWith("\\.")&&kt.has(s.charAt(2))||s.startsWith("\\.\\.")&&kt.has(s.charAt(4)),r=!i&&!t&&kt.has(s.charAt(0));a=e?"(?!(?:^|/)\\.\\.?(?:$|/))":r?ke:""}let o="";this.isEnd()&&this.#tV.#tX&&this.#tj?.type==="!"&&(o="(?:$|\\/)");let A=a+s+o;return this.#t_=!!this.#t_,[A,vX(s),this.#t_,this.#tJ]}let n="*"===this.type||"+"===this.type,s="!"===this.type?"(?:(?!(?:":"(?:",a=this.#ri(i,r);if(this.isStart()&&this.isEnd()&&!a&&"!"!==this.type){let e=this.toString();return this.#tW=[e],this.type=null,this.#t_=void 0,[e,vX(this.toString()),!1,!1]}let o=!n||t||i?"":this.#ri(!0,r);o===a&&(o=""),o&&(a=`(?:${a})(?:${o})*?`);let A="";return A="!"===this.type&&this.#t0?(this.isStart()&&!i?ke:"")+ko:s+a+("!"===this.type?`))${this.isStart()&&!i&&!t?ke:""}${ka})`:"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&o?")":"*"===this.type&&o?")?":`)${this.type}`),this.#t_=!!this.#t_,[A,vX(a),this.#t_,this.#tJ]}#rt(e=0){if(kA(e),v4(this.type)){let t=0,r=!1;do{r=!0;for(let t=0;t<this.#tW.length;t++){let i=this.#tW[t];"object"==typeof i&&(i.#rt(e+1),this.#t4(i)?(r=!1,this.#t9(i,t)):this.#t5(i)?(r=!1,this.#t8(i,t)):this.#t7(i)&&(r=!1,this.#re(i)))}}while(!r&&++t<10)}else for(let t of this.#tW)"object"==typeof t&&t.#rt(e+1);this.#tZ=void 0}#ri(e,t){return this.#tW.map(r=>{if("string"==typeof r)throw Error("string type in extglob ast??");let[i,n,s,a]=r.toRegExpSource(e,t+1);return this.#tJ=this.#tJ||a,i}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join("|")}static #rr(e,t,r=!1){let i=t,n=!1,s="",a=!1,o=!1;for(let t=0;t<e.length;t++){let A=e.charAt(t);if(n){n=!1,s+=(ki.has(A)?"\\":"")+A;continue}if("*"===A){if(o)continue;o=!0,s+=r&&/^[*]+$/.test(e)?ko:ka,i=!0;continue}if(o=!1,"\\"===A){t===e.length-1?s+="\\\\":n=!0;continue}if("["===A){let[r,n,o,A]=v3(e,t);if(o){s+=r,a=a||n,t+=o-1,i=i||A;continue}}if("?"===A){s+=ks,i=!0;continue}s+=kn(A)}return[s,vX(e),!!i,a]}};let kd=(e,t)=>{let r=t.match(e);return r?r[0]:null},ku=(e,t,r)=>{let i=e instanceof RegExp?kd(e,r):e,n=t instanceof RegExp?kd(t,r):t;if(null===i||null===n)return!1;let s=kg(i,n,r);return void 0!==s&&{start:s[0],end:s[1],pre:r.slice(0,s[0]),body:r.slice(s[0]+i.length,s[1]),post:r.slice(s[1]+n.length)}},kg=(e,t,r)=>{let i,n,s,a,o=r.indexOf(e),A=r.indexOf(t,o+1),l=o;if(o>=0&&A>0){if(e===t)return[o,A];let c=[];for(n=r.length;l>=0&&!a;){if(l===o)c.push(l),o=r.indexOf(e,l+1);else if(1===c.length){let e=c.pop();void 0!==e&&(a=[e,A])}else void 0!==(i=c.pop())&&i<n&&(n=i,s=A),A=r.indexOf(t,l+1);l=o<A&&o>=0?o:A}c.length&&void 0!==s&&(a=[n,s])}return a},kh=`\0SLASH${Math.random()}\0`,kp=`\0OPEN${Math.random()}\0`,km=`\0CLOSE${Math.random()}\0`,kf=`\0COMMA${Math.random()}\0`,kC=`\0PERIOD${Math.random()}\0`,ky=RegExp(kh,"g"),kI=RegExp(kp,"g"),kE=RegExp(km,"g"),kB=RegExp(kf,"g"),kQ=RegExp(kC,"g"),kb=/\\\\/g,kN=/\\{/g,kS=/\\}/g,kw=/\\,/g,kx=/\\\./g,kD=e=>Number.isNaN(Number(e))?e.charCodeAt(0):Number.parseInt(e,10),kR=e=>e.replace(ky,"\\").replace(kI,"{").replace(kE,"}").replace(kB,",").replace(kQ,"."),kv=(e,t)=>{if(t>256)throw new vj("NestingDepthExceeded",256,t);if(!e)return[""];let r=[],i=ku("{","}",e);if(!i)return e.split(",");let{pre:n,body:s,post:a}=i,o=n.split(",");o[o.length-1]+=`{${s}}`;let A=kv(a,t+1);return a.length&&(o[o.length-1]+=A.shift()??"",o.push(...A)),r.push(...o),r},kk=e=>`{${e}}`,kM=e=>/^-?0\d/.test(e),kF=(e,t)=>e<=t,kU=(e,t)=>e>=t,kT=/^\*+([^+@!?*[(]*)$/,kL=/^\*+\.\*+$/,kO=e=>!e.startsWith(".")&&e.includes("."),kP=e=>"."!==e&&".."!==e&&e.includes("."),kH=/^\.\*+$/,kY=e=>"."!==e&&".."!==e&&e.startsWith("."),kG=/^\*+$/,kq=e=>0!==e.length&&!e.startsWith("."),kz=e=>0!==e.length&&"."!==e&&".."!==e,kV=/^\?+([^+@!?*[(]*)?$/,k_=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(".")},kJ=([e])=>{let t=e.length;return e=>e.length===t&&"."!==e&&".."!==e},kW=(e,t={})=>(v0(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e))?[e]:((e,t={})=>{if(!e)return[];let r=v$("braceExpandMax",t.max??1e5),i=e;return"{}"===i.slice(0,2)&&(i=`\\{\\}${i.slice(2)}`),(function e(t,r,i,n){if(n>256)throw new vj("NestingDepthExceeded",256,n);let s=[],a=t,o=i;for(;;){let t,i,A=ku("{","}",a);if(!A)return[a];let l=A.pre;if(/\$$/.test(A.pre)){let t=A.post.length?e(A.post,r,!1,n+1):[""];if(t.length>r)throw new vj("ExpansionBudgetExceeded",r,t.length);for(let e of t)s.push(`${l}{${A.body}}${e}`);return s}let c=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(A.body),d=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(A.body),u=c||d,g=A.body.indexOf(",")>=0;if(!u&&!g){if(A.post.match(/,(?!,).*\}/)){a=`${A.pre}{${A.body}${km}${A.post}`,o=!0;continue}return[a]}let h=A.post.length?e(A.post,r,!1,n+1):[""];if(u)t=A.body.split(/\.\./);else{let i=(t=kv(A.body,n+1))[0];if(1===t.length&&void 0!==i&&1===(t=e(i,r,!1,n+1).map(kk)).length)return h.map(e=>`${A.pre}${t[0]}${e}`)}let p=t[0],m=t[1];if(u&&void 0!==p&&void 0!==m){let e=kD(p),n=kD(m),s=Math.max(p.length,m.length),a=t[2],o=3===t.length&&void 0!==a?Math.max(Math.abs(kD(a)),1):1,A=kF;n<e&&(o*=-1,A=kU);let l=t.some(kM),c=Math.floor(Math.abs(n-e)/Math.abs(o))+1;if(c>r)throw new vj("ExpansionBudgetExceeded",r,c);i=[];for(let t=e;A(t,n);t+=o){let e;if(d)"\\"===(e=String.fromCharCode(t))&&(e="");else if(e=String(t),l){let r=s-e.length;if(r>0){let i="0".repeat(r);e=t<0?`-${i}${e.slice(1)}`:`${i}${e}`}}i.push(e)}}else for(let s of(i=[],t))i.push(...e(s,r,!1,n+1));for(let e=0;e<i.length;e++)for(let t=0;t<h.length;t++){let n=l+i[e]+h[t];if(!o||u||n){if(s.length>=r)throw new vj("ExpansionBudgetExceeded",r,s.length+(i.length-e)*h.length-t);s.push(n)}}return s}})(i.replace(kb,kh).replace(kN,kp).replace(kS,km).replace(kw,kf).replace(kx,kC),r,!0,0).map(kR)})(e,void 0===t.braceExpandMax?{}:{max:t.braceExpandMax}),kj=/[?*]|[+@!]\(.*?\)|\[|\]/;var kK=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){v0(e),this.options=t,this.maxGlobstarRecursion=v$("maxGlobstarRecursion",t.maxGlobstarRecursion??200),this.pattern=e,this.platform=t.platform??"posix",this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==t.windowsNoMagicRoot?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if("string"!=typeof t)return!0;return!1}debug(){}make(){let e=this.pattern;if(!this.options.nocomment&&"#"===e.charAt(0)){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],this.debug(this.pattern,this.globSet);let t=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(t),this.debug(this.pattern,this.globParts);let r=this.globParts.map(e=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=""===e[0]&&""===e[1]&&("?"===e[2]||void 0!==e[2]&&!kj.test(e[2]))&&void 0!==e[3]&&!kj.test(e[3]),r=void 0!==e[0]&&/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(r)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>-1===e.indexOf(!1)),this.isWindows)for(let e=0;e<this.set.length;e++){let t=this.set[e];void 0!==t&&""===t[0]&&""===t[1]&&this.globParts[e]?.[2]==="?"&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3])&&(t[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){let t=e;if(this.options.noglobstar)for(let e of t)for(let t=0;t<e.length;t++)"**"===e[t]&&(e[t]="*");let{optimizationLevel:r=1}=this.options;return r>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=r>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(e){return e.map(e=>{let t=e.indexOf("**");for(;-1!==t;){let r=t;for(;"**"===e[r+1];)r++;r!==t&&e.splice(t,r-t),t=e.indexOf("**",t+1)}return e})}levelOneOptimize(e){return e.map(e=>{let t=e.reduce((e,t)=>{let r=e[e.length-1];return"**"===t&&"**"===r||(".."===t&&r&&".."!==r&&"."!==r&&"**"!==r?e.pop():e.push(t)),e},[]);return 0===t.length?[""]:t})}levelTwoFileOptimize(e){let t=Array.isArray(e)?e:this.slashSplit(e),r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let e=1;e<t.length-1;e++){let i=t[e];(1!==e||""!==i||""!==t[0])&&("."===i||""===i)&&(r=!0,t.splice(e,1),e--)}"."===t[0]&&2===t.length&&("."===t[1]||""===t[1])&&(r=!0,t.pop())}let e=t.indexOf("..",1);for(;-1!==e;){let i=t[e-1];i&&"."!==i&&".."!==i&&"**"!==i&&!(this.isWindows&&/^[a-z]:$/i.test(i))&&(r=!0,t.splice(e-1,2),e-=2),e=t.indexOf("..",e+1)}}while(r);return 0===t.length?[""]:t}firstPhasePreProcess(e){let t=!1;do for(let r of(t=!1,e)){let i=r.indexOf("**");for(;-1!==i;){let n=i;for(;"**"===r[n+1];)n++;n>i&&r.splice(i+1,n-i);let s=r[i+1],a=r[i+2],o=r[i+3];if(".."!==s||!a||"."===a||".."===a||!o||"."===o||".."===o){i=r.indexOf("**",i+1);continue}t=!0,r.splice(i,1);let A=r.slice(0);A[i]="**",e.push(A),i--,i=r.indexOf("**",i+1)}if(!this.preserveMultipleSlashes){for(let e=1;e<r.length-1;e++){let i=r[e];(1!==e||""!==i||""!==r[0])&&("."===i||""===i)&&(t=!0,r.splice(e,1),e--)}"."===r[0]&&2===r.length&&("."===r[1]||""===r[1])&&(t=!0,r.pop())}let n=r.indexOf("..",1);for(;-1!==n;){let e=r[n-1];if(e&&"."!==e&&".."!==e&&"**"!==e){t=!0;let e=1===n&&"**"===r[n+1]?["."]:[];r.splice(n-1,2,...e),0===r.length&&r.push(""),n-=2}n=r.indexOf("..",n+1)}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let r=t+1;r<e.length;r++){let i=e[t],n=e[r];if(void 0===i||void 0===n)continue;let s=this.partsMatch(i,n,!this.preserveMultipleSlashes);if(s){e[t]=[],e[r]=s;break}}return e.filter(e=>e.length)}partsMatch(e,t,r=!1){let i=0,n=0,s=[],a="";for(;i<e.length&&n<t.length;){let o=e[i],A=t[n];if(o===A)s.push("b"===a?A:o),i++,n++;else if(r&&"**"===o&&A===e[i+1])s.push(o),i++;else if(r&&"**"===A&&o===t[n+1])s.push(A),n++;else if("*"===o&&A&&(this.options.dot||!A.startsWith("."))&&"**"!==A){if("b"===a)return!1;a="a",s.push(o),i++,n++}else{if("*"!==A||!o||!this.options.dot&&o.startsWith(".")||"**"===o||"a"===a)return!1;a="b",s.push(A),i++,n++}}return e.length===t.length&&s}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,r=0;for(let i=0;i<e.length&&"!"===e.charAt(i);i++)t=!t,r++;r&&(this.pattern=e.slice(r)),this.negate=t}matchOne(e,t,r=!1){let i=e,n=0,s=0;if(this.isWindows){let e=i[0],r="string"==typeof e&&/^[a-z]:$/i.test(e),a=!r&&""===i[0]&&""===i[1]&&"?"===i[2]&&"string"==typeof i[3]&&/^[a-z]:$/i.test(i[3]),o=t[0],A="string"==typeof o&&/^[a-z]:$/i.test(o),l=!A&&""===t[0]&&""===t[1]&&"?"===t[2]&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3]),c=a?3:r?0:void 0,d=l?3:A?0:void 0;if("number"==typeof c&&"number"==typeof d){let[e,r]=[i[c],t[d]];e.toLowerCase()===r.toLowerCase()&&(t[d]=e,s=d,n=c)}}let{optimizationLevel:a=1}=this.options;return(a>=2&&(i=this.levelTwoFileOptimize(i)),t.includes(vZ))?this.#rn(i,t,r,n,s):this.#rs(i,t,r,n,s)}#rn(e,t,r,i,n){let s=i,a=n,o=t.indexOf(vZ,a),A=t.lastIndexOf(vZ),[l,c,d]=r?[t.slice(a,o),t.slice(o+1),[]]:[t.slice(a,o),t.slice(o+1,A),t.slice(A+1)];if(l.length){let t=e.slice(s,s+l.length);if(!this.#rs(t,l,r,0,0))return!1;s+=l.length,a+=l.length}let u=0;if(d.length){if(d.length+s>e.length)return!1;let t=e.length-d.length;if(this.#rs(e,d,r,t,0))u=d.length;else{if(""!==e[e.length-1]||s+d.length===e.length||(t--,!this.#rs(e,d,r,t,0)))return!1;u=d.length+1}}if(!c.length){let t=!!u;for(let r=s;r<e.length-u;r++){let i=String(e[r]);if(t=!0,"."===i||".."===i||!this.options.dot&&i.startsWith("."))return!1}return r||t}let g=[[[],0]],h=g[0],p=0,m=[0];for(let e of c)e===vZ?(m.push(p),h=[[],0],g.push(h)):(h[0].push(e),p++);let f=g.length-1,C=e.length-u;for(let e of g)e[1]=C-(m[f--]+e[0].length);return!!this.#ra(e,g,s,0,r,0,!!u)}#ra(e,t,r,i,n,s,a){let o=r,A=a,l=t[i];if(!l){for(let t=o;t<e.length;t++){A=!0;let r=e[t];if("."===r||".."===r||!this.options.dot&&r.startsWith("."))return!1}return A}let[c,d]=l;for(;o<=d;){if(this.#rs(e.slice(0,o+c.length),c,n,o,0)&&s<this.maxGlobstarRecursion){let r=this.#ra(e,t,o+c.length,i+1,n,s+1,A);if(!1!==r)return r}let r=e[o];if("."===r||".."===r||void 0!==r&&!this.options.dot&&r.startsWith("."))return!1;o++}return n||null}#rs(e,t,r,i,n){let s,a,o,A;for(s=i,a=n,A=e.length,o=t.length;s<A&&a<o;s++,a++){let r;this.debug("matchOne loop");let i=t[a],n=e[s];if(this.debug(t,i,n),!1===i||i===vZ||("string"==typeof i?(r=n===i,this.debug("string match",i,n,r)):(r=i.test(n),this.debug("pattern match",i,n,r)),!r))return!1}if(s===A&&a===o)return!0;if(s===A)return r;if(a===o)return s===A-1&&""===e[s];throw Error("wtf?")}braceExpand(){return kW(this.pattern,this.options)}parse(e){v0(e);let t=this.options;if("**"===e)return vZ;if(""===e)return"";let r=null,i=e.match(kG),n=i?null:e.match(kT),s=i||n?null:e.match(kV),a=i||n||s?null:e.match(kL),o=i||n||s||a?null:e.match(kH);i?r=t.dot?kz:kq:n?r=(t.nocase?t.dot?e=>{let t=e.toLowerCase();return e=>e.toLowerCase().endsWith(t)}:e=>{let t=e.toLowerCase();return e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)}:t.dot?e=>t=>t.endsWith(e):e=>t=>!t.startsWith(".")&&t.endsWith(e))(n[1]):s?r=(t.nocase?t.dot?([e,t=""])=>{let r=kJ([e]);if(!t)return r;let i=t.toLowerCase();return e=>r(e)&&e.toLowerCase().endsWith(i)}:([e,t=""])=>{let r=k_([e]);if(!t)return r;let i=t.toLowerCase();return e=>r(e)&&e.toLowerCase().endsWith(i)}:t.dot?([e,t=""])=>{let r=kJ([e]);return t?e=>r(e)&&e.endsWith(t):r}:([e,t=""])=>{let r=k_([e]);return t?e=>r(e)&&e.endsWith(t):r})(s):a?r=t.dot?kP:kO:o&&(r=kY);let A=kc.fromGlob(e,this.options).toMMPattern();return r&&"object"==typeof A&&Reflect.defineProperty(A,"test",{value:r}),A}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,r=t.noglobstar?"[^/]*?":t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(t.nocase?["i"]:[]),n=e.map(e=>{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(""))i.add(t);return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===vZ?vZ:e._src});t.forEach((e,i)=>{let n=t[i+1],s=t[i-1];e===vZ&&s!==vZ&&(void 0===s?void 0!==n&&n!==vZ?t[i+1]=`(?:\\/|${r}\\/)?${n}`:t[i]=r:void 0===n?t[i-1]=`${s}(?:\\/|\\/${r})?`:n!==vZ&&(t[i-1]=`${s}(?:\\/|\\/${r}\\/)${n}`,t[i+1]=vZ))});let n=t.filter(e=>e!==vZ);if(this.partial&&n.length>=1){let e=[];for(let t=1;t<=n.length;t++)e.push(n.slice(0,t).join("/"));return`(?:${e.join("|")})`}return n.join("/")}).join("|"),[s,a]=e.length>1?["(?:",")"]:["",""];n=`^${s}${n}${a}$`,this.partial&&(n=`^(?:\\/|${s}${n.slice(1,-1)}${a})$`),this.negate&&(n=`^(?!${n}).+$`);try{this.regexp=new RegExp(n,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;let r=this.options,i=e;this.isWindows&&(i=i.split("\\").join("/"));let n=this.slashSplit(i);this.debug(this.pattern,"split",n);let s=this.set;this.debug(this.pattern,"set",s);let a=n[n.length-1]??"";if(!a)for(let e=n.length-2;!a&&e>=0;e--)a=n[e]??"";for(let e of s){let i=n;if(r.matchBase&&1===e.length&&(i=[a]),this.matchOne(i,e,t)){if(r.flipNegate)return!0;return!this.negate}}return!r.flipNegate&&this.negate}},k$=class extends ha()("GlobPatternError",{pattern:gO,reason:gJ(["PatternTooLong","ExpansionBudgetExceeded","NestingDepthExceeded"]),limit:gP,actual:gP}){get message(){let e=this.pattern.length>64?`${this.pattern.slice(0,64)}…`:this.pattern;return`glob pattern ${JSON.stringify(e)} rejected: ${this.reason} (limit ${this.limit}, actual ${this.actual})`}};hs("GlobPatternOptions")({nobrace:gM(gH),nocomment:gM(gH),nonegate:gM(gH),noglobstar:gM(gH),noext:gM(gH),dot:gM(gH),nocase:gM(gH),nocaseMagicOnly:gM(gH),magicalBraces:gM(gH),matchBase:gM(gH),flipNegate:gM(gH),partial:gM(gH),preserveMultipleSlashes:gM(gH),windowsPathsNoEscape:gM(gH),windowsNoMagicRoot:gM(gH),optimizationLevel:gM(gP.check(g4(),g5({minimum:0,maximum:2}))),platform:gM(gJ(["posix","aix","android","darwin","freebsd","haiku","linux","openbsd","sunos","win32","cygwin","netbsd"])),braceExpandMax:gM(gP.check(g4(),g5({minimum:1,maximum:1e5}))),maxGlobstarRecursion:gM(gP.check(g4(),g3(0))),maxExtglobRecursion:gM(gP.check(g4(),g3(0)))});let kX=e=>({...e?.nobrace!==void 0&&{nobrace:e.nobrace},...e?.nocomment!==void 0&&{nocomment:e.nocomment},...e?.nonegate!==void 0&&{nonegate:e.nonegate},...e?.noglobstar!==void 0&&{noglobstar:e.noglobstar},...e?.noext!==void 0&&{noext:e.noext},...e?.dot!==void 0&&{dot:e.dot},...e?.nocase!==void 0&&{nocase:e.nocase},...e?.nocaseMagicOnly!==void 0&&{nocaseMagicOnly:e.nocaseMagicOnly},...e?.magicalBraces!==void 0&&{magicalBraces:e.magicalBraces},...e?.matchBase!==void 0&&{matchBase:e.matchBase},...e?.flipNegate!==void 0&&{flipNegate:e.flipNegate},...e?.partial!==void 0&&{partial:e.partial},...e?.preserveMultipleSlashes!==void 0&&{preserveMultipleSlashes:e.preserveMultipleSlashes},...e?.windowsPathsNoEscape!==void 0&&{windowsPathsNoEscape:e.windowsPathsNoEscape},...e?.windowsNoMagicRoot!==void 0&&{windowsNoMagicRoot:e.windowsNoMagicRoot},...e?.optimizationLevel!==void 0&&{optimizationLevel:e.optimizationLevel},...e?.platform!==void 0&&{platform:e.platform},...e?.braceExpandMax!==void 0&&{braceExpandMax:e.braceExpandMax},...e?.maxGlobstarRecursion!==void 0&&{maxGlobstarRecursion:e.maxGlobstarRecursion},...e?.maxExtglobRecursion!==void 0&&{maxExtglobRecursion:e.maxExtglobRecursion}}),kZ=e=>{try{return new kK(e,{}),!0}catch(e){if(vK(e))return e.message;throw e}};var k0=class e extends hs("GlobPattern")(gG({source:gO}).check(g2(e=>kZ(e.source),{title:"compilable glob pattern"}))){#ro;#rA={};#rl(){return void 0===this.#ro&&(this.#ro=new kK(this.source,this.#rA)),this.#ro}static compileResult(t,r){let i=kX(r);try{new kK(t,{});let r=new kK(t,i),n=new e({source:t});return n.#ro=r,n.#rA=i,r3(n)}catch(e){if(vK(e))return r2(new k$({pattern:t,reason:e.reason,limit:e.limit,actual:e.actual}));throw e}}static compile=cO("GlobPattern.compile")(function*(t,r){return yield*aP(e.compileResult(t,r))});matches(e){return this.#rl().match(e)}get hasMagic(){return this.#rl().hasMagic()}get negated(){return this.#rl().negate}get enumerationPrefix(){let e,t=this.#rl().set;if(0===t.length)return"";for(let r of t){let t=[];for(let e of r){if("string"!=typeof e)break;t.push(e)}if(void 0===e)e=t;else{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];)r++;e=e.slice(0,r)}}return void 0===e||0===e.length?"":`${e.join("/")}/`}get crossesSegments(){return this.#rl().set.some(e=>{if(e.includes(vZ))return!0;let t=e.findIndex(e=>"string"!=typeof e);return -1!==t&&t<e.length-1})}static escape(e,t){return((e,{windowsPathsNoEscape:t=!1,magicalBraces:r=!1}={})=>r?t?e.replace(/[?*()[\]{}]/g,"[$&]"):e.replace(/[?*()[\]\\{}]/g,"\\$&"):t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&"))(e,kX(t))}static unescape(e,t){return vX(e,kX(t))}static FromString=gO.pipe(gX(e,dV({decode:e=>({source:e}),encode:e=>e.source})))};let k1=e=>e.startsWith("!")?e.slice(1):void 0,k2=e=>{for(let t of e){let e=k1(t)??t;try{new kK(e,{})}catch(e){if(vK(e))return`pattern ${JSON.stringify(t.slice(0,64))}: ${e.message}`;throw e}}return!0};var k3=class e extends hs("GlobSet")(gG({patterns:gz(gO)}).check(g2(e=>k2(e.patterns),{title:"compilable glob pattern set"}))){#rc;#rd;#ru(){if(void 0!==this.#rc)return this.#rc;let e=[],t=new Set,r=[],i=[];for(let n of this.patterns){let s=k1(n);if(void 0!==s){i.push(k0.make({source:s}));continue}for(let i of kW(n,{})){let n=new kK(i,{});if(n.hasMagic()){r.push(k0.make({source:i}));continue}if(n.comment)continue;let s=1===n.set.length?n.set[0]:void 0;if(n.negate||void 0===s||!s.every(e=>"string"==typeof e)){r.push(k0.make({source:i}));continue}let a=s.join("/");t.has(a)||(t.add(a),e.push(a))}}return this.#rc={literals:e,wildcards:r,excludes:i},this.#rd=t,this.#rc}#rg(){return void 0===this.#rd&&this.#ru(),this.#rd}static compileResult(t){for(let e of t){let t=k1(e)??e;try{new kK(t,{})}catch(t){if(vK(t))return r2(new k$({pattern:e,reason:t.reason,limit:t.limit,actual:t.actual}));throw t}}return r3(new e({patterns:t}))}static compile=cO("GlobSet.compile")(function*(t){return yield*aP(e.compileResult(t))});matches(e){let{wildcards:t,excludes:r}=this.#ru();return!!(this.#rg().has(e)||t.some(t=>t.matches(e)))&&!r.some(t=>t.matches(e))}isExcluded(e){return this.#ru().excludes.some(t=>t.matches(e))}get literals(){return this.#ru().literals}get wildcards(){return this.#ru().wildcards}get excludes(){return this.#ru().excludes}},k5=class extends ha()("ActionCacheError",{reason:gJ(["misconfigured","unreachable","refused","archiveFailed","transferFailed"]),key:gM(gO),status:gM(gP),detail:gM(gO),stderr:gM(gO),cause:gM(g6())}){get message(){let e=void 0===this.key?"":` for "${this.key}"`,t=void 0===this.detail?"":`: ${this.detail}`;switch(this.reason){case"misconfigured":return`The Actions cache is not reachable from here${t}`;case"unreachable":return`The Actions cache could not be reached${e}${t}`;case"refused":return`The Actions cache refused the request${e}${void 0===this.status?"":` with status ${this.status}`}${t}`;case"archiveFailed":return`The cache archive could not be built or extracted${e}${void 0===this.stderr?"":`: ${this.stderr}`}`;default:return`The cache archive did not transfer${e}`}}};let k4=e=>(0,ff.createHash)("sha256").update([...e,"gzip","1.0"].join("|")).digest("hex"),k8={uploadFile:(e,t)=>cx({try:()=>new vJ(e).uploadFile(t,{blockSize:0x4000000,concurrency:8,maxSingleShotSize:0x8000000}),catch:e=>new yF({reason:"uploadFailed",cause:e})}).pipe(a4),downloadToFile:(e,t)=>cx({try:()=>new vV(e).downloadToFile(t),catch:e=>new yF({reason:"downloadFailed",cause:e})}).pipe(a4)},k9=(e,t)=>"string"==typeof e?{primary:e,fallbacks:t??[]}:{primary:e.key,fallbacks:t??e.restoreKeys},k6=e=>cD(function*(){let t=yield*yp,r=yield*pU,i=yield*mL,n=yield*mq,s=yield*pJ,a=yield*ot(s.getOptional("RUNNER_OS"),e=>il(e,{onNone:()=>!1,onSome:e=>"windows"===e.toLowerCase()})),o=cD(function*(){let e=yield*s.getOptional(yU),t=yield*s.getOptional(yT);return io(e)?yield*rD(yU):io(t)?yield*rD(yT):{baseUrl:e.value.endsWith("/")?e.value:`${e.value}/`,token:da(t.value),backendIds:(e=>{let t;try{t=(e=>{let t=e.split(".");if(3!==t.length)throw Error(`expected a three-segment JWT, got ${t.length}`);return JSON.parse(Buffer.from(t[1]??"","base64url").toString("utf8"))})(e)}catch(e){return r2(`the runtime token is not a readable JWT: ${e instanceof Error?e.message:e}`)}let r=t.scp;if("string"!=typeof r)return r2("the runtime token carries no `scp` claim");for(let e of r.split(" ")){let t=e.split(":");if("Actions.Results"!==t[0])continue;let r=t[1],i=t[2];if(3!==t.length||void 0===r||""===r||void 0===i||""===i)return r2(`the runtime token's Actions.Results scope is malformed: "${e}"`);return r3({workflowRunBackendId:r,workflowJobRunBackendId:i})}return r2("the runtime token carries no `Actions.Results` scope")})(t.value)}}).pipe(ox(e=>new k5({reason:"misconfigured",detail:`${e} is not set — the Actions cache is only reachable from a \`uses:\` step, never from \`run:\``}))),A=(e,r,i)=>cD(function*(){let{baseUrl:n,token:s}=yield*o;return yield*(e=>{let{baseUrl:t,body:r,http:i,method:n,service:s,token:a}=e;return cD(function*(){let e=Cj(`${t}twirp/${s}/${n}`).pipe(C0(a),C9(r)),o=yield*i.execute(e).pipe(ox(e=>({method:n,kind:"transport",cause:e})));return 409===o.status?yL:o.status<200||o.status>=300?yield*rD({method:n,kind:"status",status:o.status}):yield*o.json.pipe(ox(e=>({method:n,kind:"malformed",cause:e})))}).pipe(cB({schedule:cm("3 seconds",1.5),times:4,while:yO}))})({http:t,baseUrl:n,service:"github.actions.results.api.v1.CacheService",token:s,method:e,body:r}).pipe(ox(e=>new k5("status"===e.kind?{reason:"refused",key:i,detail:e.method,...void 0===e.status?{}:{status:e.status}}:{reason:"unreachable",key:i,detail:`${e.method} did not answer with a Twirp body`,...void 0===e.cause?{}:{cause:e.cause}})))}),l=(e,t,r)=>ck(cD(function*(){let i=mJ("tar",[...e]),s=e=>new k5({reason:"archiveFailed",key:t,cause:e}),a=yield*n.spawn(i).pipe(ox(s)),o=yield*pR(pb(a.all)).pipe(ox(s)),A=yield*a.exitCode.pipe(ox(s));if(0!==A&&!(r&&1===A))return yield*rD(new k5({reason:"archiveFailed",key:t,stderr:o.trim()}))})),c=(e,t)=>cF(r.makeTempDirectory({prefix:"effected-cache-"}).pipe(ox(t=>new k5({reason:"archiveFailed",key:e,cause:t}))),e=>t(i.join(e,"cache.tar.gz"),e),e=>oR(r.remove(e,{recursive:!0,force:!0}))),d=e=>ox(t=>new k5({reason:"transferFailed",key:e,cause:t})),u=e=>e.replaceAll("\\","/");return{save:cO("ActionCache.save")(function*(t,n){let{primary:a}=k9(n,void 0);yield*cT({key:a});let o=k4(t);if(0===t.length)return yield*rD(new k5({reason:"archiveFailed",key:a,detail:"no paths were given to cache"}));let g=yield*cD(function*(){let e=(e,t)=>new k5({reason:"archiveFailed",key:a,detail:e,...void 0===t?{}:{cause:t}}),n=t.map(e=>e.trim()).filter(e=>""!==e&&!e.startsWith("#")),o=ih((yield*s.getOptional("GITHUB_WORKSPACE")),()=>"."),A=u(i.resolve(o)),l=[];for(let t of n){let r=t.startsWith("!"),n=r?t.slice(1):t;if("~"===n||n.startsWith("~/")){let r=yield*s.getOptional("HOME");if(io(r)&&(r=yield*s.getOptional("USERPROFILE")),io(r))return yield*rD(e(`cannot expand "~" in "${t}" — neither HOME nor USERPROFILE is set`));n=`${k0.escape(u(i.resolve(r.value)))}${n.slice(1)}`}i.isAbsolute(n)||(n=`${k0.escape(A)}/${n}`),l.push(r?`!${n}`:n)}let c=yield*k3.compile(l).pipe(ox(t=>e(`"${t.pattern}" is not a usable glob pattern`,t))),d=[],g=[],h=(e,t)=>{""!==e&&(d.includes(e)||d.push(e),t&&!g.includes(e)&&g.push(e))};for(let e of c.literals)h(e,!1);for(let e of c.wildcards){if(e.negated)continue;let t=e.enumerationPrefix;h(""===t?A:"/"===t?"/":t.slice(0,-1),!0)}let p=(e,t)=>"/"===t?"/"!==e:e.startsWith(`${t}/`),m=d.filter(e=>!d.some(t=>t!==e&&p(e,t))),f=e=>g.some(t=>t===e||p(t,e)),C=[],y=new Set,I=e=>{!y.has(e)&&c.matches(e)&&(y.add(e),C.push(e))};for(let t of m){let i=yield*r.stat(t).pipe(cv);if(!io(i)&&(I(t),"Directory"===i.value.type&&f(t)))for(let i of yield*r.readDirectory(t,{recursive:!0}).pipe(ox(r=>e(`could not enumerate "${t}"`,r))))I(`${t}/${u(i)}`)}return 0===C.length?yield*rD(e(`no file or directory matched the cache paths: ${n.join(", ")}`)):C});yield*c(a,(t,n)=>cD(function*(){let s=i.join(n,"manifest.txt");yield*r.writeFileString(s,`${g.join("\n")} +`).pipe(ox(e=>new k5({reason:"archiveFailed",key:a,cause:e}))),yield*l(["czPf",t,"-T",s],a,!1);let c=yield*r.stat(t).pipe(ox(e=>new k5({reason:"archiveFailed",key:a,cause:e}))),u=yield*A("CreateCacheEntry",{key:a,version:o},a);if(u===yL)return;let h=yH(u,"signedUploadUrl");if(!yY(u)||void 0===h)return yield*rD(new k5({reason:"refused",key:a,detail:"CreateCacheEntry returned no upload url"}));yield*e.uploadFile(h,t).pipe(d(a));let p=yield*A("FinalizeCacheEntryUpload",{key:a,version:o,size_bytes:String(c.size)},a);if(p===yL||!yY(p))return yield*rD(new k5({reason:"refused",key:a,detail:"FinalizeCacheEntryUpload did not confirm the upload"}))}))}),restore:cO("ActionCache.restore")(function*(t,r,i){let{primary:n,fallbacks:s}=k9(r,i);yield*cT({key:n});let o=k4(t),u=yield*A("GetCacheEntryDownloadURL",{key:n,restore_keys:[...s],version:o},n);if(u===yL||!yY(u))return ii();let g=yH(u,"signedDownloadUrl");return void 0===g?ii():(yield*c(n,t=>cD(function*(){yield*e.downloadToFile(g,t).pipe(d(n)),yield*l([a?"xzPkf":"xzPf",t],n,a)})),is(yH(u,"matchedKey")??n))})}}),k7=e=>{throw Error(`ActionCache.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var Me=class e extends n0()("@effected/github-actions/ActionCache"){static layer=l5(this,k6(k8));static layerWith=t=>l5(e,k6(t));static makeTest=(e={})=>({save:()=>aL(()=>k7("save")),restore:()=>aL(()=>k7("restore")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))},Mt=class extends ha()("ToolInstallerError",{reason:gJ(["downloadFailed","extractFailed","cacheFailed"]),status:gM(gP),subject:gM(gO),stderr:gM(gO),cause:gM(g6())}){get message(){switch(this.reason){case"downloadFailed":return`Could not download ${this.subject}${void 0===this.status?"":` (HTTP ${this.status})`}`;case"extractFailed":return`Could not extract ${this.subject}${void 0===this.stderr?"":`: ${this.stderr}`}`;default:return`Could not cache ${this.subject} into the tool cache`}}get retryable(){return"downloadFailed"===this.reason&&(void 0===this.status||this.status>=500||408===this.status||429===this.status)}};let Mr=cD(function*(){let e=yield*pJ,t=yield*pU,r=yield*mL,i=yield*yp,n=yield*mq,s=yield*ot(e.getOptional("RUNNER_TOOL_CACHE"),e=>ih(e,()=>r.join("/tmp","runner-tool-cache"))),a=yield*ot(e.getOptional("RUNNER_OS"),e=>il(e,{onNone:()=>!1,onSome:e=>"windows"===e.toLowerCase()})),o=(e,t)=>Mn.cachePath({root:s,tool:e,version:t,arch:process.arch}),A=e=>{let r=e?.destination;return void 0===r?t.makeTempDirectory({prefix:"effected-extract-"}).pipe(ox(e=>new Mt({reason:"extractFailed",cause:e}))):t.makeDirectory(r,{recursive:!0}).pipe(a2(r),ox(e=>new Mt({reason:"extractFailed",subject:r,cause:e})))},l=(e,t)=>ck(cD(function*(){let r=e=>new Mt({reason:"extractFailed",subject:t,cause:e}),i=yield*n.spawn(e).pipe(ox(r)),s=yield*pR(pb(i.all)).pipe(ox(r));if((yield*i.exitCode.pipe(ox(r)))!==0)return yield*rD(new Mt({reason:"extractFailed",subject:t,stderr:s.trim()}))})),c=(e,i,n)=>cD(function*(){let s=o(i,n);return yield*t.makeDirectory(r.dirname(s),{recursive:!0}),yield*t.remove(s,{recursive:!0,force:!0}),yield*t.rename(e,s),s}).pipe(ox(e=>new Mt({reason:"cacheFailed",subject:i,cause:e}))),d=(e,r)=>cD(function*(){return yield*t.makeDirectory(s,{recursive:!0}),yield*t.makeTempDirectory({directory:s,prefix:".staging-"})}).pipe(ox(t=>new Mt({reason:"cacheFailed",subject:e,cause:t})),a9(e=>r(e).pipe(ob(()=>oR(t.remove(e,{recursive:!0,force:!0})))))),u=cO("ToolInstaller.download")(function*(e,n){return yield*cD(function*(){let n=yield*i.get(e).pipe(ox(t=>new Mt({reason:"downloadFailed",subject:e,cause:t})));if(n.status<200||n.status>=300)return yield*rD(new Mt({reason:"downloadFailed",subject:e,status:n.status}));let s=yield*t.makeTempDirectory({prefix:"effected-download-"}).pipe(ox(t=>new Mt({reason:"downloadFailed",subject:e,cause:t}))),a=r.join(s,"download");return yield*pw(n.stream,t.sink(a)).pipe(ox(t=>new Mt({reason:"downloadFailed",subject:e,cause:t}))),a}).pipe(oH(n?.timeout??"5 minutes"),ow("TimeoutError",t=>rD(new Mt({reason:"downloadFailed",subject:e,cause:t}))),cB({schedule:cm("1 second"),times:2,while:e=>e.retryable}))}),g=(e,r)=>ot(ov(t.stat(o(e,r))),t=>"Success"===t._tag&&"Directory"===t.success.type?is(o(e,r)):ii()),h=cO("ToolInstaller.cacheFile")(function*(e,i,n,s){return yield*cT({tool:n,version:s}),yield*d(n,a=>t.copyFile(e,r.join(a,i)).pipe(ox(e=>new Mt({reason:"cacheFailed",subject:n,cause:e})),a9(()=>c(a,n,s))))});return{find:g,download:u,extractTar:cO("ToolInstaller.extractTar")(function*(e,t){let r=yield*A(t),i=t?.flags===void 0||0===t.flags.length?["xzf"]:[...t.flags];return yield*l(mJ("tar",[...i,e,"-C",r]),e),r}),extractZip:cO("ToolInstaller.extractZip")(function*(e,t){let r=yield*A(t),i=a?mJ("pwsh",["-NoProfile","-NonInteractive","-Command",`$ErrorActionPreference = 'Stop'; try { Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory('${e.replaceAll("'","''")}', '${r.replaceAll("'","''")}', $true) } catch { [Console]::Error.WriteLine($_.Exception.ToString()); exit 1 }`]):mJ("unzip",["-oq",e,"-d",r]);return yield*l(i,e),r}),cacheDir:cO("ToolInstaller.cacheDir")(function*(e,r,i){return yield*cT({tool:r,version:i}),yield*d(r,n=>t.copy(e,n,{overwrite:!0}).pipe(ox(e=>new Mt({reason:"cacheFailed",subject:r,cause:e})),a9(()=>c(n,r,i))))}),cacheFile:h,provisionFile:cO("ToolInstaller.provisionFile")(function*(e){yield*cT({tool:e.tool,version:e.version});let i=yield*g(e.tool,e.version);if(iA(i)){let n=yield*ov(t.stat(r.join(i.value,e.binary)));if("Success"===n._tag&&"File"===n.success.type)return{directory:i.value,binDir:i.value}}let n=yield*u(e.url);a||(yield*t.chmod(n,493).pipe(ox(e=>new Mt({reason:"cacheFailed",subject:n,cause:e}))));let s=yield*h(n,e.binary,e.tool,e.version);return{directory:s,binDir:s}})}}),Mi=e=>{throw Error(`ToolInstaller.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var Mn=class e extends n0()("@effected/github-actions/ToolInstaller"){static layer=l5(this,Mr);static cachePath=e=>`${e.root}/${e.tool}/${e.version}/${e.arch}`;static makeTest=(e={})=>({find:()=>aL(()=>Mi("find")),download:()=>aL(()=>Mi("download")),extractTar:()=>aL(()=>Mi("extractTar")),extractZip:()=>aL(()=>Mi("extractZip")),cacheDir:()=>aL(()=>Mi("cacheDir")),cacheFile:()=>aL(()=>Mi("cacheFile")),provisionFile:()=>aL(()=>Mi("provisionFile")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))};let Ms=/^(sha1|sha256|sha384|sha512)-[A-Za-z0-9+/]+={0,2}$/,Ma=/^(sha1|sha224|sha256|sha384|sha512)\.[0-9a-f]+$/,Mo=/^[0-9]+(c[0-9]+)?\/[0-9a-f]+$/,MA=e=>Ms.test(e),Ml=e=>Ma.test(e),Mc=e=>Mo.test(e),Md=e=>MA(e)||Ml(e)||Mc(e);var Mu=class extends ha()("InvalidIntegrityHashError",{input:gO}){get message(){return`Invalid integrity hash "${this.input}": expected an SRI (<algo>-<base64>), corepack (<algo>.<hex>) or yarn (<cachekey>/<hex>) form`}};let Mg=gO.pipe(gK(g2(e=>Md(e)?void 0:"Expected an SRI, corepack or yarn integrity hash")),g$("IntegrityHash"));Object.assign(Mg,{isSri:MA,isCorepack:Ml,isYarnChecksum:Mc,isValid:Md,algorithmOf:e=>MA(e)?is(e.slice(0,e.indexOf("-"))):Ml(e)?is(e.slice(0,e.indexOf("."))):ii(),decode:e=>gD(Mg)(e).pipe(ox(()=>new Mu({input:e})))});let Mh=Mg.pipe(gK(g2(e=>Ml(e)?void 0:"Expected a corepack (<algo>.<hex>) integrity hash")));var Mp=class{position;constructor(e){this.position=e}};let Mm=(e,t)=>{throw new Mp(t??e.pos)},Mf=e=>e.pos<e.len?e.input[e.pos]:void 0,MC=e=>{if(e.pos<e.len){let t=e.input[e.pos];return e.pos++,t}},My=e=>e>="0"&&e<="9",MI=e=>My(e)||e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e,ME=e=>e.pos>=e.len,MB=e=>{let t=Mf(e);return void 0!==t&&My(t)},MQ=e=>{let t=Mf(e);return void 0!==t&&MI(t)},Mb=e=>{let t=e.pos,r=Mf(e);if(void 0===r||!My(r))return Mm(e);let i="";for(;MB(e);)i+=MC(e);if(i.length>1&&"0"===i[0])return e.pos=t,Mm(e,t);let n=Number(i);return Number.isSafeInteger(n)?n:(e.pos=t,Mm(e,t))},MN=e=>{let t=e.pos,r="",i=!1,n=Mf(e);if(void 0===n||!MI(n))return Mm(e);for(;MQ(e);){let t=MC(e)??"";My(t)||(i=!0),r+=t}if(0===r.length)return Mm(e);if(i)return r;if(r.length>1&&"0"===r[0])return e.pos=t,Mm(e,t);let s=Number(r);return Number.isSafeInteger(s)?s:(e.pos=t,Mm(e,t))},MS=e=>{let t="",r=Mf(e);if(void 0===r||!MI(r))return Mm(e);for(;MQ(e);)t+=MC(e)??"";return 0===t.length?Mm(e):t},Mw=e=>{let t=e.trim();if(0===t.length)return{ok:!1,input:e,position:0};let r={input:t,pos:0,len:t.length};try{return{ok:!0,value:(e=>{let t=Mf(e);if("v"===t||"V"===t||"="===t)return Mm(e,0);let r=Mb(e);if("."!==Mf(e))return Mm(e);MC(e);let i=Mb(e);if("."!==Mf(e))return Mm(e);MC(e);let n=Mb(e),s=[];ME(e)||"-"!==Mf(e)||(MC(e),s=(e=>{let t=[];for(t.push(MN(e));!ME(e)&&"."===Mf(e);)MC(e),t.push(MN(e));return t})(e));let a=[];return(ME(e)||"+"!==Mf(e)||(MC(e),a=(e=>{let t=[];for(t.push(MS(e));!ME(e)&&"."===Mf(e);)MC(e),t.push(MS(e));return t})(e)),ME(e))?{major:r,minor:i,patch:n,prerelease:s,build:a}:Mm(e)})(r)}}catch(e){if(e instanceof Mp)return{ok:!1,input:t,position:e.position};throw e}},Mx=e=>{let t=`${e.major}.${e.minor}.${e.patch}`;return e.prerelease.length>0&&(t+=`-${e.prerelease.join(".")}`),e.build.length>0&&(t+=`+${e.build.join(".")}`),t},MD=(e,t)=>"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?e<t?-1:+(e>t):"number"==typeof e?-1:1;var MR=class extends ha()("InvalidVersionError",{input:gO,position:gM(gP)}){get message(){let e=`Invalid version string: "${this.input}"`;return void 0!==this.position?`${e} at position ${this.position}`:e}};let Mv=gP.check(g4(),g5({minimum:0,maximum:Number.MAX_SAFE_INTEGER})),Mk=g_([gO.check(uP(/^[0-9]*[A-Za-z-][0-9A-Za-z-]*$/)),Mv]),MM=gO.check(uP(/^[0-9A-Za-z-]+$/));var MF=class e extends hs("SemVer")({major:Mv,minor:Mv,patch:Mv,prerelease:gz(Mk),build:gz(MM)}){static FromString=gO.pipe(gX(e,dz({decode:e=>{let t=Mw(e);return t.ok?aU(t.value):rD(new dC(is(e),{message:`Invalid version string: "${t.input}" at position ${t.position}`}))},encode:e=>aU(Mx(e))})));static ExactVersionString=gO.pipe(gK(g2(t=>e.isValid(t)?void 0:"Expected an exact SemVer 2.0.0 version string (ranges, partial versions, dist-tags and surrounding whitespace are not valid)")));static PinnableVersionString=gO.pipe(gK(g2(t=>e.isPinnable(t)?void 0:"Expected an exact SemVer version with no build metadata (ranges, partial versions, dist-tags and surrounding whitespace are not pinnable)")));static parseResult(t){let r=Mw(t);return r.ok?r3(e.make(r.value)):r2(new MR({input:r.input,position:r.position}))}static parse=cO("SemVer.parse")(t=>aP(e.parseResult(t)));static isValid(t){return t===t.trim()&&r1(e.parseResult(t))}static isPinnable(t){if(t!==t.trim())return!1;let r=e.parseResult(t);return r1(r)&&0===r.success.build.length}static of(t,r,i,n=[],s=[]){return e.make({major:t,minor:r,patch:i,prerelease:n,build:s})}static Order=r5((e,t)=>e.compare(t));static OrderWithBuild=r5((e,t)=>{let r=e.compare(t);return 0!==r?r:((e,t)=>{let r=e.length>0,i=t.length>0;if(!r&&i)return -1;if(r&&!i)return 1;let n=Math.min(e.length,t.length);for(let r=0;r<n;r++){if(e[r]<t[r])return -1;if(e[r]>t[r])return 1}return e.length!==t.length?e.length<t.length?-1:1:0})(e.build,t.build)});static compare=eK(2,(e,t)=>e.compare(t));static gt=eK(2,(e,t)=>e.gt(t));static gte=eK(2,(e,t)=>e.gte(t));static lt=eK(2,(e,t)=>e.lt(t));static lte=eK(2,(e,t)=>e.lte(t));static equal=eK(2,(e,t)=>e.equal(t));static neq=eK(2,(e,t)=>e.neq(t));static truncate=eK(2,(t,r)=>"prerelease"===r?e.make({major:t.major,minor:t.minor,patch:t.patch,prerelease:[],build:[]}):e.make({major:t.major,minor:t.minor,patch:t.patch,prerelease:t.prerelease,build:[]}));static sort(t){return[...t].sort(e.Order)}static rsort(e){return[...e].sort((e,t)=>t.compare(e))}static max(e){let t;for(let r of e)(void 0===t||r.gt(t))&&(t=r);return void 0===t?ii():is(t)}static min(e){let t;for(let r of e)(void 0===t||r.lt(t))&&(t=r);return void 0===t?ii():is(t)}static groupBy(t,r){let i={};for(let n of e.sort(t)){let e;switch(r){case"major":e=`${n.major}`;break;case"minor":e=`${n.major}.${n.minor}`;break;case"patch":e=`${n.major}.${n.minor}.${n.patch}`}let t=i[e]??[];t.push(n),i[e]=t}return i}static latestByMajor(t){let r=new Map;for(let i of e.sort(t))r.set(i.major,i);return Array.from(r.values())}static latestByMinor(t){let r=new Map;for(let i of e.sort(t))r.set(`${i.major}.${i.minor}`,i);return Array.from(r.values())}compare(e){if(this.major!==e.major)return this.major>e.major?1:-1;if(this.minor!==e.minor)return this.minor>e.minor?1:-1;if(this.patch!==e.patch)return this.patch>e.patch?1:-1;let t=this.prerelease,r=e.prerelease;if(0===t.length&&0===r.length)return 0;if(0===t.length)return 1;if(0===r.length)return -1;let i=Math.min(t.length,r.length);for(let e=0;e<i;e++){let i=MD(t[e],r[e]);if(0!==i)return i<0?-1:1}return t.length!==r.length?t.length>r.length?1:-1:0}gt(e){return 1===this.compare(e)}gte(e){return this.compare(e)>=0}lt(e){return -1===this.compare(e)}lte(e){return 0>=this.compare(e)}equal(e){return 0===this.compare(e)}neq(e){return 0!==this.compare(e)}get isPrerelease(){return this.prerelease.length>0}get isStable(){return 0===this.prerelease.length}get bump(){return new MU(this)}[tx](t){return t instanceof e&&this.major===t.major&&this.minor===t.minor&&this.patch===t.patch&&this.prerelease.length===t.prerelease.length&&this.prerelease.every((e,r)=>e===t.prerelease[r])}[td](){return tC(Mx({major:this.major,minor:this.minor,patch:this.patch,prerelease:this.prerelease,build:[]}))}toString(){return Mx(this)}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},MU=class{v;constructor(e){this.v=e}major(){return MF.make({major:this.v.major+1,minor:0,patch:0,prerelease:[],build:[]})}minor(){return MF.make({major:this.v.major,minor:this.v.minor+1,patch:0,prerelease:[],build:[]})}patch(){return MF.make({major:this.v.major,minor:this.v.minor,patch:this.v.patch+1,prerelease:[],build:[]})}prerelease(e){let{major:t,minor:r,patch:i}=this.v,n=this.v.prerelease;if(0===n.length)return MF.make({major:t,minor:r,patch:i+1,prerelease:void 0!==e?[e,0]:[0],build:[]});if(void 0!==e&&("string"==typeof n[0]?n[0]:null)!==e)return MF.make({major:t,minor:r,patch:i,prerelease:[e,0],build:[]});let s=n[n.length-1];if("number"==typeof s){let e=[...n];return e[e.length-1]=s+1,MF.make({major:t,minor:r,patch:i,prerelease:e,build:[]})}return MF.make({major:t,minor:r,patch:i,prerelease:[...n,0],build:[]})}release(){return MF.make({major:this.v.major,minor:this.v.minor,patch:this.v.patch,prerelease:[],build:[]})}},MT=class extends ha()("InvalidPackageManagerPinError",{input:gO,reason:gJ(["format","name","version","integrity"])}){get message(){return"format"===this.reason?`Invalid package-manager pin "${this.input}": expected <name>@<version>[+<integrity>]`:"name"===this.reason?`Invalid package-manager pin "${this.input}": name must be one of npm, pnpm, yarn, bun`:"version"===this.reason?`Invalid package-manager pin "${this.input}": version must be an exact SemVer version (ranges, partial versions and dist-tags are not pinnable)`:`Invalid package-manager pin "${this.input}": integrity must be a corepack <algo>.<hex> hash`}};let ML=gJ(["npm","pnpm","yarn","bun"]),MO=MF.pipe(gK(g2(e=>0===e.build.length?void 0:"Expected a version without build metadata")));var MP=class e extends hs("PackageManagerPin")({name:ML,version:MO,integrity:gM(Mh)}){static FromString=gO.pipe(gX((ee=e,gx(e=>e instanceof ee,void 0)),dz({decode:t=>{let r=e.parseResult(t);return r1(r)?aU(r.success):rD(new dC(is(t),{message:r.failure.message}))},encode:e=>aU(e.toString())})));static parseResult(t){let r,i=t.indexOf("@");if(-1===i)return r2(new MT({input:t,reason:"format"}));let n=t.slice(0,i);if("npm"!==n&&"pnpm"!==n&&"yarn"!==n&&"bun"!==n)return r2(new MT({input:t,reason:"name"}));let s=t.slice(i+1),a=s.indexOf("+"),o=-1===a?s:s.slice(0,a),A=MF.parseResult(o);if(r0(A)||!MF.isPinnable(o))return r2(new MT({input:t,reason:"version"}));if(-1===a)return r3(e.make({name:n,version:A.success}));let l=(r=gE(gC(Mh,void 0)),(e,t)=>{var i;return"Success"===(i=r(e,t))._tag?rN(i.value):rx(au(i.cause,e=>new gg(e)))})(s.slice(a+1));return"Failure"===l._tag?r2(new MT({input:t,reason:"integrity"})):r3(e.make({name:n,version:A.success,integrity:l.value}))}static parse=cO("PackageManagerPin.parse")(t=>aP(e.parseResult(t)));toString(){let e=`${this.name}@${this.version.toString()}`;return void 0===this.integrity?e:`${e}+${this.integrity}`}},MH=class extends ha()("PackageManagerInstallerError",{reason:gJ(["downloadFailed","extractFailed","integrityMismatch","integrityMissing","unsupportedPlatform","layoutUnexpected","cacheFailed"]),name:ML,version:gO,subject:gM(gO),expected:gM(gO),actual:gM(gO),cause:gM(g6())}){get message(){let e=`${this.name}@${this.version}`;switch(this.reason){case"downloadFailed":return`Could not download ${e}${void 0===this.subject?"":` from ${this.subject}`}`;case"extractFailed":return`Could not extract ${e}${void 0===this.subject?"":` (${this.subject})`}`;case"integrityMismatch":return`Integrity mismatch for ${e}: expected ${this.expected}, got ${this.actual}`;case"integrityMissing":return`The pin for ${e} carries no integrity hash and requireIntegrity is set`;case"unsupportedPlatform":return`No ${e} build is published for ${this.subject}`;case"layoutUnexpected":return`The ${e} artifact does not have the expected layout${void 0===this.subject?"":`: ${this.subject}`}`;default:return`Could not cache ${e} into the tool cache${void 0===this.subject?"":`: ${this.subject}`}`}}},MY=class extends hs("AmbientPackageManager")({source:g0("ambient"),name:ML,version:gO,bins:gq(gO,gO)}){},MG=class extends hs("CachedPackageManager")({source:g0("tool-cache"),name:ML,version:gO,directory:gO,binDir:gO,bins:gq(gO,gO)}){};g_([MY,MG]);let Mq=".bin",Mz=e=>`#!/bin/sh +exec node "${e}" "$@" +`,MV=e=>`@echo off\r +node "${e}" %*\r +`,M_=e=>"x64"===e.toLowerCase()?"x64":"arm64"===e.toLowerCase()?"arm64":e,MJ=cD(function*(){let e=yield*pJ,t=yield*pU,r=yield*mL,i=yield*mq,n=yield*Mn,s=yield*ot(e.getOptional("RUNNER_OS"),e=>ih(e,()=>"")),a=yield*ot(e.getOptional("RUNNER_ARCH"),e=>il(e,{onNone:()=>process.arch,onSome:M_})),o="windows"===s.toLowerCase(),A=o?"bun.exe":"bun",l=e=>o?`${e}.cmd`:e,c=o?MV:Mz,d=yield*ot(e.getOptional("RUNNER_TOOL_CACHE"),e=>ih(e,()=>r.join("/tmp","runner-tool-cache"))),u=e=>t=>new MH({name:e.name,version:e.version.toString(),...t}),g=e=>t=>u(e)({reason:t.reason,...void 0===t.subject?{}:{subject:t.subject},cause:t}),h=(e,r)=>cD(function*(){if(void 0===e.integrity)return void(yield*cP(`The pin ${e.toString()} carries no integrity hash; the downloaded artifact was not verified.`));let i=e.integrity.indexOf("."),n=e.integrity.slice(0,i),s=e.integrity.slice(i+1),a=yield*aO(()=>{let i=(0,ff.createHash)(n);return t.stream(r).pipe(px(e=>aL(()=>{i.update(e)})),ot(()=>i.digest("hex")),ox(t=>u(e)({reason:"integrityMismatch",subject:r,cause:t})))});if(a!==s)return yield*rD(u(e)({reason:"integrityMismatch",subject:r,expected:e.integrity,actual:`${n}.${a}`}))}),p=ot(ov(i.string(mJ("npm",["--version"]))),e=>"Success"===e._tag?is(e.success.trim()):ii()),m=(e,r,i)=>cD(function*(){let n=yield*ov(t.stat(r));if("Success"!==n._tag||"File"!==n.success.type)return yield*rD(u(e)({reason:"layoutUnexpected",subject:i}))}),f=(e,i)=>cD(function*(){let n=r.join(i,"package.json"),s=yield*t.readFileString(n).pipe(ox(t=>u(e)({reason:"layoutUnexpected",subject:"no package.json",cause:t}))),a=iN(((e,t)=>{if("string"==typeof e)return is({[t]:e.replace(/^\.\//,"")});if("object"!=typeof e||null===e)return ii();let r={};for(let[t,i]of Object.entries(e)){if("string"!=typeof i)return ii();r[t]=i.replace(/^\.\//,"")}return 0===Object.keys(r).length?ii():is(r)})((yield*aV({try:()=>JSON.parse(s),catch:t=>u(e)({reason:"layoutUnexpected",subject:"unparseable package.json",cause:t})})).bin,e.name));if(void 0===a)return yield*rD(u(e)({reason:"layoutUnexpected",subject:"package.json names no bin"}));for(let[t,n]of Object.entries(a)){let s=r.join(i,n),a=r.relative(i,s);if(".."===a||a.startsWith(`..${r.sep}`)||r.isAbsolute(a))return yield*rD(u(e)({reason:"layoutUnexpected",subject:`bin ${t} (${n}) escapes the package directory`}));yield*m(e,s,`bin ${t} (${n}) is missing`)}return a}),C=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,i])=>[e,r.join(t,i)])),y=(e,i,n,s,a)=>cD(function*(){let A=r.join(i,Mq),d=t=>r=>u(e)({reason:"cacheFailed",subject:t,cause:r});for(let[e,i]of(yield*t.makeDirectory(A,{recursive:!0}).pipe(ox(d(A))),Object.entries(s))){let s=r.join(A,l(e));if(a.skipExisting){let e=yield*ov(t.stat(s));if("Success"===e._tag&&"File"===e.success.type)continue}yield*t.writeFileString(s,c(r.join(n,i))).pipe(ox(d(s))),o||(yield*t.chmod(s,493).pipe(ox(d(s))))}});return{install:cO("PackageManagerInstaller.install")(function*(e,i){let l,c=e.version.toString();if(yield*cT({name:e.name,version:c}),i?.requireIntegrity===!0&&void 0===e.integrity)return yield*rD(u(e)({reason:"integrityMissing"}));let I=yield*n.find(e.name,c);if(iA(I)){let t;return yield*(t=I.value,cD(function*(){if("bun"===e.name){let i=r.join(t,A);return yield*m(e,i,`cached bun binary (${A}) is missing`),MG.make({name:e.name,version:e.version.toString(),directory:t,binDir:t,bins:{bun:i}})}let i=yield*f(e,t);return yield*y(e,t,t,i,{skipExisting:!0}),MG.make({name:e.name,version:e.version.toString(),directory:t,binDir:r.join(t,Mq),bins:C(i,t)})}))}if("npm"===e.name&&i?.allowAmbient!==!1){let t=yield*p;if(iA(t)&&t.value===c)return MY.make({name:e.name,version:c,bins:{npm:"npm",npx:"npx"}})}if("bun"===e.name)return yield*cD(function*(){let i,l,c=e.version.toString(),d=iN((i="linux"===s.toLowerCase()?"linux":"macos"===s.toLowerCase()?"darwin":"windows"===s.toLowerCase()?"windows":void 0,l="x64"===a?"x64":"arm64"===a?"aarch64":void 0,void 0===i||void 0===l?ii():is(`bun-${i}-${l}`)));if(void 0===d)return yield*rD(u(e)({reason:"unsupportedPlatform",subject:`${s||"unknown"}/${a}`}));let p=`https://github.com/oven-sh/bun/releases/download/bun-v${c}/${d}.zip`,f=yield*n.download(p).pipe(ox(g(e)));yield*h(e,f);let C=yield*n.extractZip(f).pipe(ox(g(e))),y=r.join(C,d,A);yield*m(e,y,`${d}/${A} is missing from the zip`),o||(yield*t.chmod(y,493).pipe(ox(t=>u(e)({reason:"cacheFailed",subject:y,cause:t}))));let I=yield*n.cacheFile(y,A,e.name,c).pipe(ox(g(e)));return MG.make({name:e.name,version:c,directory:I,binDir:I,bins:{bun:r.join(I,A)}})});let E=(i?.registry??"https://registry.npmjs.org").replace(/\/+$/,"");return yield*(l=e.name,cD(function*(){let i,s=e.version.toString(),a=(i=e.version.major,"yarn"===l&&i>=2?`${E}/@yarnpkg/cli-dist/-/cli-dist-${s}.tgz`:`${E}/${l}/-/${l}-${s}.tgz`),o=yield*n.download(a).pipe(ox(g(e))),A="yarn"===l&&e.version.major>=2;A||(yield*h(e,o));let c=yield*n.extractTar(o).pipe(ox(g(e))),p=r.join(c,"package"),I=yield*ov(t.stat(p));if("Success"!==I._tag||"Directory"!==I.success.type)return yield*rD(u(e)({reason:"layoutUnexpected",subject:"tarball has no package/ root"}));let B=yield*f(e,p);if(A){let t=r.join(p,"bin/yarn.js");yield*m(e,t,"bin/yarn.js is missing from the cli-dist tarball"),yield*h(e,t)}let Q=Mn.cachePath({root:d,tool:l,version:s,arch:process.arch});yield*y(e,p,Q,B,{skipExisting:!1});let b=yield*n.cacheDir(p,l,s).pipe(ox(g(e)));return b!==Q?yield*rD(u(e)({reason:"cacheFailed",subject:`cache destination diverged: shims name ${Q}, entry landed at ${b}`})):MG.make({name:l,version:s,directory:b,binDir:r.join(b,Mq),bins:C(B,b)})}))})}});var MW=class e extends n0()("@effected/github-actions/PackageManagerInstaller"){static layer=l5(this,MJ);static makeTest=(e={})=>({install:()=>aL(()=>(e=>{throw Error(`PackageManagerInstaller.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)})("install")),...e});static layerTest=(t={})=>l2(e,e.makeTest(t))};let Mj=l6(Me.layer,MW.layer).pipe(ct(Mn.layer));Me.layer;let MK=(Array.isArray($=Array.isArray(ew={biomeVersion:mn(mh.string("biome-version")),turboCache:mh.string("turbo-cache").pipe(mi("auto")),turboCachePrefix:mh.string("turbo-cache-prefix").pipe(mi("")),turboToken:mn(mh.redacted("turbo-token")),turboTeam:mn(mh.string("turbo-team")),turboS3Bucket:mn(mh.string("turbo-s3-bucket")),turboS3Region:mn(mh.string("turbo-s3-region")),turboS3Endpoint:mn(mh.string("turbo-s3-endpoint")),turboS3AccessKeyId:mn(mh.string("turbo-s3-access-key-id")),turboS3SecretAccessKey:mn(mh.redacted("turbo-s3-secret-access-key")),turboS3SessionToken:mn(mh.redacted("turbo-s3-session-token")),turboS3Prefix:mn(mh.string("turbo-s3-prefix")),installDeps:mh.boolean("install-deps").pipe(mi(!0)),cacheBust:mn(mh.string("cache-bust")),additionalLockfiles:mh.lines("additional-lockfiles").pipe(mi([])),additionalCachePaths:mh.lines("additional-cache-paths").pipe(mi([]))})?ew:Symbol.iterator in ew?[...ew]:ew)?p7((e,t)=>Aa($.map(r=>r.parse(e,t)))):p7((e,t)=>Aa(nR($,r=>r.parse(e,t))))).pipe(me(e=>({...e,turboCache:"off"===e.turboCache?"off":"auto",cacheBust:ij(e.cacheBust,e=>"false"!==e&&""!==e)}))),M$={nodeVersion:"",nodeEnabled:!1,bunVersion:"",bunEnabled:!1,denoVersion:"",denoEnabled:!1,packageManager:"",packageManagerVersion:"",biomeVersion:"",biomeEnabled:!1,turboEnabled:!1,turboCacheBackend:"none",turboCachePort:"",cacheHit:"false",lockfiles:"",cachePaths:""};var MX=class extends ha()("DetachedProcessError",{reason:gJ(["logUnavailable","spawnFailed","invalidPid","signalFailed","notReady"]),pid:gM(gP),path:gM(gO),cause:gM(g6())}){get message(){switch(this.reason){case"logUnavailable":return`Could not open the detached log file "${this.path}"`;case"spawnFailed":return"The detached child did not start";case"invalidPid":return`Refusing to signal pid ${this.pid}: a non-positive pid targets a process group, not a process`;case"signalFailed":return`Could not signal pid ${this.pid}`;default:return"The detached child never became ready"}}};let MZ=gP.pipe(gK(g2(e=>Number.isInteger(e)&&e>0?void 0:"Expected a positive integer process id")),g$("ProcessId"));var M0=class{static spawn=cO("DetachedProcess.spawn")(function*(e){let t=yield*aV({try:()=>(0,fI.openSync)(e.logFile,"a"),catch:t=>new MX({reason:"logUnavailable",path:e.logFile,cause:t})}),r=yield*aV({try:()=>{try{let r=(0,m5.spawn)(e.command,[...e.args??[]],{...void 0===e.cwd?{}:{cwd:e.cwd},env:{...process.env,...e.env},detached:!0,stdio:["ignore",t,t]});if(r.on("error",()=>{}),r.unref(),void 0===r.pid)throw Error(`"${e.command}" produced no process id`);return r.pid}finally{(0,fI.closeSync)(t)}},catch:e=>new MX({reason:"spawnFailed",cause:e})});return yield*cT({pid:r}),mP(r)});static awaitReady=cO("DetachedProcess.awaitReady")(function*(e,t){let r=t?.interval??"150 millis",i=t?.attempts??40,n=t=>a9(e,e=>e?az:t<=0?rD(new MX({reason:"notReady"})):a9(AO(r),()=>n(t-1)));return yield*n(i)});static reap=cO("DetachedProcess.reap")(function*(e,t="SIGTERM"){return(yield*cT({pid:e}),!Number.isInteger(e)||e<=0)?yield*rD(new MX({reason:"invalidPid",pid:e})):yield*aO(()=>{try{return process.kill(e,t),aU(!0)}catch(t){return"object"==typeof t&&null!==t&&"ESRCH"===t.code?aU(!1):rD(new MX({reason:"signalFailed",pid:e,cause:t}))}})})};class M1 extends hs("CacheState")({paths:gz(gO),primaryKey:gO,restoredKey:g8(gO),lockfiles:gz(gO)}){}let M2=e=>iA(e.restoredKey)&&e.restoredKey.value===e.primaryKey;class M3 extends hs("TurboServerState")({pid:MZ,port:gP,backend:gJ(["github","s3"]),logFile:gO}){}let M5=e=>32===e||9===e||11===e||12===e||160===e||65279===e,M4=e=>10===e||13===e||8232===e||8233===e,M8=e=>e>=48&&e<=57,M9=(e,t=!1)=>{let r=e.length,i=0,n=0,s="Unknown",a="",o="None",A=t=>{let n=0;for(let s=0;s<t;s++){if(i>=r)return -1;let t=e.charCodeAt(i);if(t>=48&&t<=57)n=16*n+(t-48);else if(t>=65&&t<=70)n=16*n+(t-65+10);else{if(!(t>=97)||!(t<=102))return -1;n=16*n+(t-97+10)}i++}return n},l=()=>{let t=i;if(45===e.charCodeAt(i)&&i++,48===e.charCodeAt(i))i++;else{if(!M8(e.charCodeAt(i)))return o="UnexpectedEndOfNumber",e.substring(t,i);for(i++;i<r&&M8(e.charCodeAt(i));)i++}if(i<r&&46===e.charCodeAt(i)){if(i++,!M8(e.charCodeAt(i)))return o="UnexpectedEndOfNumber",e.substring(t,i);for(i++;i<r&&M8(e.charCodeAt(i));)i++}if(i<r&&(69===e.charCodeAt(i)||101===e.charCodeAt(i))){if(++i<r&&(43===e.charCodeAt(i)||45===e.charCodeAt(i))&&i++,!M8(e.charCodeAt(i)))return o="UnexpectedEndOfNumber",e.substring(t,i);for(i++;i<r&&M8(e.charCodeAt(i));)i++}return e.substring(t,i)},c=()=>{if(a="",o="None",i>=r)return n=r,s="EOF";let t=e.charCodeAt(i);if(M5(t)){n=i;do t=++i<r?e.charCodeAt(i):0;while(M5(t));return a=e.substring(n,i),s="Trivia"}if(M4(t))return n=i,i++,13===t&&i<r&&10===e.charCodeAt(i)&&i++,a=e.substring(n,i),s="LineBreak";switch(n=i,t){case 123:return i++,a="{",s="OpenBrace";case 125:return i++,a="}",s="CloseBrace";case 91:return i++,a="[",s="OpenBracket";case 93:return i++,a="]",s="CloseBracket";case 58:return i++,a=":",s="Colon";case 44:return i++,a=",",s="Comma";case 34:return a=(()=>{let t="",n=++i;for(;i<r;){let s=e.charCodeAt(i);if(34===s)return t+=e.substring(n,i),i++,t;if(92===s){if(t+=e.substring(n,i),++i>=r)return o="UnexpectedEndOfString",t;let s=e.charCodeAt(i);switch(i++,s){case 34:t+='"';break;case 92:t+="\\";break;case 47:t+="/";break;case 98:t+="\b";break;case 102:t+="\f";break;case 110:t+="\n";break;case 114:t+="\r";break;case 116:t+=" ";break;case 117:{let e=A(4);e>=0?t+=String.fromCharCode(e):o="InvalidUnicode";break}default:o="InvalidEscapeCharacter"}n=i}else{if(M4(s))return o="UnexpectedEndOfString",t+e.substring(n,i);s<=31&&(o="InvalidCharacter"),i++}}return o="UnexpectedEndOfString",t+e.substring(n,i)})(),s="String";case 47:{let t=i+1<r?e.charCodeAt(i+1):0;if(47===t){for(i+=2;i<r&&!M4(e.charCodeAt(i));)i++;return a=e.substring(n,i),s="LineComment"}if(42===t){i+=2;let t=r-1,A=!1;for(;i<t;){let t=e.charCodeAt(i);if(M4(t))13===t&&i+1<r&&10===e.charCodeAt(i+1)&&i++,i++;else if(42===t&&47===e.charCodeAt(i+1)){i+=2,A=!0;break}else i++}return A||(i=r,o="UnexpectedEndOfComment"),a=e.substring(n,i),s="BlockComment"}return i++,a=e.substring(n,i),o="InvalidCharacter",s="Unknown"}case 45:if(i+1<r&&M8(e.charCodeAt(i+1)))return a=l(),s="Number";return i++,a="-",o="InvalidSymbol",s="Unknown";default:if(M8(t))return a=l(),s="Number";if(t>=97&&t<=122){let t=i;for(i++;i<r;){let t=e.charCodeAt(i);if(t>=97&&t<=122)i++;else break}switch(a=e.substring(t,i)){case"true":return s="True";case"false":return s="False";case"null":return s="Null";default:return o="InvalidSymbol",s="Unknown"}}return i++,a=e.substring(n,i),o="InvalidCharacter",s="Unknown"}};return{scan:()=>{let e=c();for(;t&&("Trivia"===e||"LineBreak"===e||"LineComment"===e||"BlockComment"===e);)e=c();return e},getToken:()=>s,getTokenValue:()=>a,getTokenOffset:()=>n,getTokenLength:()=>i-n,getTokenError:()=>o}},M6=gJ(["object","array","property","string","number","boolean","null"]);var M7=class extends hs("JsoncNode")({type:M6,offset:gP,length:gP,value:gM(gU),colonOffset:gM(gP),children:gM(gz(gj(()=>M7)))}){find(e){let t=this;for(let r of e){if(t?.children===void 0)return ii();if("string"==typeof r){if("object"!==t.type)return ii();t=t.children.find(e=>"property"===e.type&&void 0!==e.children&&e.children[0]?.value===r)?.children?.[1]}else{if("array"!==t.type)return ii();t=t.children[r]}}return void 0!==t?is(t):ii()}findAtOffset(e){return function e(t,r,i){if(r<t.offset||r>=t.offset+t.length)return ii();if(void 0===t.children||i>=256)return is(t);for(let n of t.children)if(r>=n.offset&&r<n.offset+n.length)return e(n,r,i+1);return is(t)}(this,e,0)}pathAt(e){return function e(t,r,i,n=0){if(r<t.offset||r>=t.offset+t.length)return ii();if(void 0===t.children||n>=256)return is(i);if("object"===t.type){for(let s of t.children)if("property"===s.type&&void 0!==s.children&&r>=s.offset&&r<s.offset+s.length){let t=[...i,s.children[0]?.value],a=s.children[1];if(void 0!==a&&r>=a.offset&&r<a.offset+a.length)return e(a,r,t,n+1);return is(t)}}else if("array"===t.type)for(let s=0;s<t.children.length;s++){let a=t.children[s];if(r>=a.offset&&r<a.offset+a.length)return e(a,r,[...i,s],n+1)}return is(i)}(this,e,[])}toValue(){return function e(t,r){if(r>=256)return"object"===t.type?{}:"array"===t.type?[]:null;switch(t.type){case"object":{let i={};if(void 0!==t.children){for(let n of t.children)if("property"===n.type&&void 0!==n.children&&2===n.children.length){let t=n.children[0].value,s=e(n.children[1],r+1);"__proto__"===t?Object.defineProperty(i,t,{value:s,writable:!0,enumerable:!0,configurable:!0}):i[t]=s}}return i}case"array":return(t.children??[]).map(t=>e(t,r+1));case"property":return t.children?.[1]!==void 0?e(t.children[1],r+1):void 0;default:return t.value}}(this,0)}};let Fe=e=>Object.assign(Object.create(M7.prototype),e),Ft=e=>{switch(e){case"InvalidUnicode":return"InvalidUnicode";case"InvalidEscapeCharacter":return"InvalidEscapeCharacter";case"UnexpectedEndOfNumber":return"InvalidNumberFormat";case"UnexpectedEndOfComment":return"UnexpectedEndOfComment";case"UnexpectedEndOfString":return"UnexpectedEndOfString";case"InvalidCharacter":return"InvalidCharacter";case"InvalidSymbol":return"InvalidSymbol";default:return}};function Fr(e,t,r){let i=M9(e,!1),n=[],s=t.disallowComments??!1,a=t.allowTrailingComma??!0,o=t.allowEmptyContent??!1,A="Unknown",l=0;function c(){for(;;){A=i.scan();let e=Ft(i.getTokenError());switch(void 0!==e&&p(e),A){case"LineComment":case"BlockComment":s&&p("InvalidCommentToken");break;case"Trivia":case"LineBreak":break;default:return A}}}function d(){return i.getTokenOffset()+i.getTokenLength()}function u(){n.some(e=>"NestingDepthExceeded"===e.code)||n.push({code:"NestingDepthExceeded",offset:i.getTokenOffset(),length:i.getTokenLength()})}let g={getToken:function(){return A},advance:()=>{c()},tokenStart:()=>i.getTokenOffset(),tokenEnd:d};function h(){(e=>{let t=e.getToken();if("CloseBrace"===t||"CloseBracket"===t||"EOF"===t)return e.tokenStart();let r=0,i=e.tokenEnd();do{let t=e.getToken();"OpenBrace"===t||"OpenBracket"===t?r++:("CloseBrace"===t||"CloseBracket"===t)&&r--,e.tokenEnd(),e.advance()}while(r>0&&"EOF"!==e.getToken())})(g)}function p(e,t=[],r=[]){if(n.push({code:e,offset:i.getTokenOffset(),length:i.getTokenLength()}),t.length>0||r.length>0){let e=A;for(;"EOF"!==e;){if(t.includes(e)){c();break}if(r.includes(e))break;e=c()}}}function m(e,t){let r=i.getTokenOffset(),n=d();return c(),Fe({type:e,offset:r,length:n-r,value:t})}if(c(),r){let e=function e(){switch(A){case"OpenBracket":return function(){let t=i.getTokenOffset();if(l>=256)return u(),h(),Fe({type:"array",offset:t,length:i.getTokenOffset()-t,children:[]});l++;try{var r=t;let n,s=[];c();let o=!1;for(;"CloseBracket"!==A&&"EOF"!==A;){if("Comma"===A){if(o||p("ValueExpected"),c(),"CloseBracket"===A&&a)break}else o&&p("CommaExpected");let t=e();void 0!==t?s.push(t):p("ValueExpected",[],["CloseBracket","Comma"]),o=!0}return"CloseBracket"!==A?(p("CloseBracketExpected"),n=i.getTokenOffset()):(n=d(),c()),Fe({type:"array",offset:r,length:n-r,children:s})}finally{l--}}();case"OpenBrace":let t=i.getTokenOffset();if(l>=256)return u(),h(),Fe({type:"object",offset:t,length:i.getTokenOffset()-t,children:[]});l++;try{return function(t){let r,n=[];c();let s=!1;for(;"CloseBrace"!==A&&"EOF"!==A;){if("Comma"===A){if(s||p("PropertyNameExpected"),c(),"CloseBrace"===A&&a)break}else s&&p("CommaExpected");if("String"!==A){p("PropertyNameExpected",[],["CloseBrace","Comma"]);continue}let t=i.getTokenOffset(),r=i.getTokenOffset(),o=i.getTokenValue(),l=d();c();let u=Fe({type:"string",offset:r,length:l-r,value:o});if("Colon"!==A){p("ColonExpected",[],["CloseBrace","Comma"]),n.push(Fe({type:"property",offset:t,length:i.getTokenOffset()-t,children:[u]}));continue}let g=i.getTokenOffset();c();let h=e();void 0!==h?n.push(Fe({type:"property",offset:t,length:h.offset+h.length-t,colonOffset:g,children:[u,h]})):(p("ValueExpected",[],["CloseBrace","Comma"]),n.push(Fe({type:"property",offset:t,length:i.getTokenOffset()-t,colonOffset:g,children:[u]}))),s=!0}return"CloseBrace"!==A?(p("CloseBraceExpected"),r=i.getTokenOffset()):(r=d(),c()),Fe({type:"object",offset:t,length:r-t,children:n})}(t)}finally{l--}case"String":return m("string",i.getTokenValue());case"Number":return m("number",Number.parseFloat(i.getTokenValue()));case"True":return m("boolean",!0);case"False":return m("boolean",!1);case"Null":return m("null",null);default:return}}();return"EOF"!==A&&p("EndOfFileExpected"),void 0!==e||o||p("ValueExpected"),{value:void 0,root:e,errors:n}}let f=function e(){switch(A){case"OpenBracket":if(l>=256)return u(),h(),[];l++;try{c();let t=[],r=!1;for(;"CloseBracket"!==A&&"EOF"!==A;){if("Comma"===A){if(r||p("ValueExpected"),c(),"CloseBracket"===A&&a)break}else r&&p("CommaExpected");let i=e();void 0===i?p("ValueExpected",[],["CloseBracket","Comma"]):t.push(i),r=!0}return"CloseBracket"!==A?p("CloseBracketExpected"):c(),t}finally{l--}case"OpenBrace":if(l>=256)return u(),h(),{};l++;try{c();let t={},r=!1;for(;"CloseBrace"!==A&&"EOF"!==A;){if("Comma"===A){if(r||p("PropertyNameExpected"),c(),"CloseBrace"===A&&a)break}else r&&p("CommaExpected");if("String"!==A){p("PropertyNameExpected",[],["CloseBrace","Comma"]);continue}let n=i.getTokenValue();if(c(),"Colon"!==A){p("ColonExpected",[],["CloseBrace","Comma"]);continue}c();let s=e();void 0===s?p("ValueExpected",[],["CloseBrace","Comma"]):"__proto__"===n?Object.defineProperty(t,n,{value:s,writable:!0,enumerable:!0,configurable:!0}):t[n]=s,r=!0}return"CloseBrace"!==A?p("CloseBraceExpected"):c(),t}finally{l--}case"String":let t;return t=i.getTokenValue(),c(),t;case"Number":let r;return r=Number.parseFloat(i.getTokenValue()),c(),r;case"True":return c(),!0;case"False":return c(),!1;case"Null":return c(),null;default:return}}();return"EOF"!==A&&p("EndOfFileExpected"),void 0!==f||o||p("ValueExpected"),{value:f,root:void 0,errors:n}}let Fi=(e,t)=>{let{value:r,errors:i}=Fr(e,t,!1);return{value:r,errors:i}},Fn=gJ(["InvalidSymbol","InvalidNumberFormat","PropertyNameExpected","ValueExpected","ColonExpected","CommaExpected","CloseBraceExpected","CloseBracketExpected","EndOfFileExpected","InvalidCommentToken","UnexpectedEndOfComment","UnexpectedEndOfString","UnexpectedEndOfNumber","InvalidUnicode","InvalidEscapeCharacter","InvalidCharacter","NestingDepthExceeded"]);var Fs=class extends hs("JsoncParseErrorDetail")({code:Fn,offset:gP,length:gP,line:gP,character:gP}){},Fa=class extends ha()("JsoncParseError",{errors:gz(Fs),input:gO}){get message(){let e=this.errors.length,t=this.errors.map(e=>`${e.code} at ${e.line}:${e.character}`).join("; ");return`JSONC parse failed with ${e} error${1===e?"":"s"}: ${t}`}};hs("JsoncParseOptions")({disallowComments:gM(gH),allowTrailingComma:gM(gH),allowEmptyContent:gM(gH)});let Fo=gJ(["CircularReference","BigIntValue","TopLevelUnrepresentable"]);hs("JsoncStringifyOptions")({tabSize:gM(gP),insertSpaces:gM(gH)});var FA=class extends ha()("JsoncStringifyError",{code:Fo,detail:gO,value:gU}){get message(){return`JSONC stringify failed: ${this.code} — ${this.detail}`}};let Fl=e=>void 0===e?{}:{disallowComments:e.disallowComments,allowTrailingComma:e.allowTrailingComma,allowEmptyContent:e.allowEmptyContent},Fc=(e,t)=>t.map(t=>{let{line:r,character:i}=((e,t)=>{let r=0,i=0,n=Math.min(t,e.length);for(let t=0;t<n;t++){let n=e.charCodeAt(t);10===n?(r++,i=t+1):13===n?(t+1<e.length&&10===e.charCodeAt(t+1)&&t++,r++,i=t+1):(8232===n||8233===n)&&(r++,i=t+1)}return{line:r,character:t-i}})(e,t.offset);return Fs.make({code:t.code,offset:t.offset,length:t.length,line:r,character:i})}),Fd=(e,t,r=0)=>{if(e===t)return!0;if(r>=256||null===e||null===t||typeof e!=typeof t)return!1;if(Array.isArray(e)){if(!Array.isArray(t)||e.length!==t.length)return!1;for(let i=0;i<e.length;i++)if(!Fd(e[i],t[i],r+1))return!1;return!0}if(Array.isArray(t))return!1;if("object"==typeof e&&"object"==typeof t){let i=Object.keys(e),n=Object.keys(t);if(i.length!==n.length)return!1;for(let n of i)if(!Object.hasOwn(t,n)||!Fd(e[n],t[n],r+1))return!1;return!0}return!1};var Fu=class e{static parseResult(e,t){let{value:r,errors:i}=Fi(e,Fl(t));return i.length>0?r2(new Fa({errors:Fc(e,i),input:e})):r3(r)}static parse=cO("Jsonc.parse")((t,r)=>aP(e.parseResult(t,r)));static parseTreeResult(e,t){let{root:r,errors:i}=((e,t)=>{let{root:r,errors:i}=Fr(e,t,!0);return{root:r,errors:i}})(e,Fl(t));return i.length>0?r2(new Fa({errors:Fc(e,i),input:e})):r3(void 0!==r?is(r):ii())}static parseTree=cO("Jsonc.parseTree")((t,r)=>aP(e.parseTreeResult(t,r)));static stringifyResult(e,t){let r,i=t?.insertSpaces===!1?" ":t?.tabSize??2;try{r=JSON.stringify(e,null,i)}catch(t){if(t instanceof TypeError){if(/circular|cyclic/i.test(t.message))return r2(new FA({code:"CircularReference",detail:t.message,value:e}));if(/bigint/i.test(t.message))return r2(new FA({code:"BigIntValue",detail:t.message,value:e}))}throw t}return void 0===r?r2(new FA({code:"TopLevelUnrepresentable",detail:"the top-level value (undefined, a function or a symbol) has no JSON representation",value:e})):r3(r)}static stringify=cO("Jsonc.stringify")((t,r)=>aP(e.stringifyResult(t,r)));static stripComments(e,t){let r,i=M9(e),n=[],s=0;do{r=i.scan();let a=i.getTokenOffset(),o=i.getTokenLength();if("LineComment"===r||"BlockComment"===r){if(s<a&&n.push(e.substring(s,a)),void 0!==t)for(let r=0;r<o;r++){let i=e.charCodeAt(a+r);n.push(10===i||13===i?e[a+r]:t)}s=a+o}}while("EOF"!==r);return s<e.length&&n.push(e.substring(s)),n.join("")}static equals(e,t){let r=Fi(e,{}),i=Fi(t,{});return!(r.errors.length>0)&&!(i.errors.length>0)&&Fd(r.value,i.value)}static equalsValue(e,t){let r=Fi(e,{});return!(r.errors.length>0)&&Fd(r.value,t)}static fromString(t){let r=Fl(t);return gO.pipe(gX(gU,dz({decode:e=>{let{value:t,errors:i}=Fi(e,r);if(i.length>0){let t=new Fa({errors:Fc(e,i),input:e});return rD(new dC(is(e),{message:t.message}))}return aU(t)},encode:t=>aP(e.stringifyResult(t)).pipe(ox(e=>new dC(is(t),{message:e.message})))})))}static JsoncFromString=e.fromString();static schema(t,r){return e.fromString(r).pipe(gX(t))}static bind(t){let r=e.schema(t);return{schema:r,decode:gD(r),encode:gR(r)}}};A9("BiomeDetectError");let Fg=["biome.jsonc","biome.json"],Fh=/schemas\/([^/]+)\/schema\.json/,Fp=e=>{let t=e.trim();return""===t?ii():is(t)},Fm=e=>/^[0-9A-Za-z][0-9A-Za-z._-]*$/.test(e);A9("TurboDetectError");let Ff=cD(function*(){let e=yield*pU,t=yield*e.access("turbo.json").pipe(a2(!0),oB(()=>aU(!1)));return t&&(yield*cY("Detected Turbo configuration")),{enabled:t}}),FC={linux:{x64:"biome-linux-x64",arm64:"biome-linux-arm64"},darwin:{x64:"biome-darwin-x64",arm64:"biome-darwin-arm64"},win32:{x64:"biome-win32-x64.exe",arm64:"biome-win32-arm64.exe"}},Fy={linux:{x64:"x86_64-unknown-linux-gnu",arm64:"aarch64-unknown-linux-gnu"},darwin:{x64:"x86_64-apple-darwin",arm64:"aarch64-apple-darwin"},win32:{x64:"x86_64-pc-windows-msvc"}},FI={x64:"x64",arm64:"arm64",arm:"armv7l"};class FE extends A9("RuntimeInstallError"){}let FB=()=>({platform:process.platform,arch:process.arch}),FQ={node:{plan:(e,t,r)=>{let i="win32"===t,n=`node-v${e}-${i?"win":t}-${FI[r]??r}`;return r3(i?{url:`https://nodejs.org/dist/v${e}/${n}.zip`,archive:"zip",archiveSubPath:n,binary:"node.exe"}:{url:`https://nodejs.org/dist/v${e}/${n}.tar.gz`,archive:"tar.gz",binSubPath:"bin",tarFlags:["xz","--strip=1","-f"],binary:"node"})}},bun:{plan:(e,t,r)=>{let i="win32"===t,n=`bun-${i?"windows":t}-${i?"x64":"arm64"===r?"aarch64":r}`;return r3({url:`https://github.com/oven-sh/bun/releases/download/bun-v${e}/${n}.zip`,archive:"zip",archiveSubPath:n,binary:i?"bun.exe":"bun"})}},deno:{plan:(e,t,r)=>{let i=Fy[t]?.[r];return void 0===i?r2(`Unsupported platform for Deno: ${t}-${r}`):r3({url:`https://github.com/denoland/deno/releases/download/v${e}/deno-${i}.zip`,archive:"zip",binary:"win32"===t?"deno.exe":"deno"})}}};class Fb extends A9("PlanError"){}class FN extends A9("VerifyError"){}class FS extends A9("BiomeInstallError"){}class Fw extends A9("InstallError"){}let Fx={npm:{lockfiles:["package-lock.json"],locked:["ci"],unlocked:["install"]},pnpm:{lockfiles:["pnpm-lock.yaml"],locked:["install","--frozen-lockfile"],unlocked:["install"]},yarn:{lockfiles:["yarn.lock"],locked:["install","--immutable"],unlocked:["install","--no-immutable"]},bun:{lockfiles:["bun.lock","bun.lockb"],locked:["install","--frozen-lockfile"],unlocked:["install"]}},FD=gJ(["node","bun","deno"]),FR=gJ(["npm","pnpm","yarn","bun","deno"]),Fv=MF.ExactVersionString,Fk=gJ(["warn","error","ignore"]);class FM extends hs("RuntimeSpec")({name:FD,version:Fv,onFail:gM(Fk)}){}class FF extends hs("PackageManagerSpec")({name:FR,version:Fv,onFail:gM(Fk)}){}class FU extends hs("RuntimeConfig")({packageManager:FF,runtimes:gV(FM)}){}class FT extends A9("ConfigError"){}let FL=gD(gG({devEngines:gG({packageManager:FF,runtime:g_([FM,gV(FM)])})})),FO=gf(FM.ast),FP=cD(function*(){let e=yield*pU,t=yield*e.readFileString("package.json","utf-8").pipe(ox(e=>new FT({reason:"missing-package-json",message:"package.json not found. This action requires a package.json with devEngines.packageManager and devEngines.runtime fields.",cause:e}))),r=yield*aV({try:()=>JSON.parse(t),catch:e=>new FT({reason:"malformed-json",message:"Failed to parse package.json: Invalid JSON",cause:e})}),{devEngines:i}=yield*FL(r).pipe(ox(e=>new FT({reason:"invalid-dev-engines",message:"package.json has invalid or missing devEngines field",cause:e}))),n=FU.make({packageManager:i.packageManager,runtimes:FO(i.runtime)?[i.runtime]:i.runtime});return yield*cY(`Detected runtime(s): ${n.runtimes.map(e=>`${e.name}@${e.version}`).join(", ")}`),yield*cY(`Detected package manager: ${n.packageManager.name}@${n.packageManager.version}`),n});var FH=class extends ha()("CacheKeyError",{reason:gJ(["readFailed","badPattern"]),path:gM(gO),pattern:gM(gO),cause:gM(g6())}){get message(){return"readFailed"===this.reason?`Could not read "${this.path}" while deriving a cache key`:`"${this.pattern}" is not a usable glob pattern`}};let FY=gV(gO.check(uP(/^[^,\n\r]+$/))).check(g2(e=>e.join("-").length<=512,{title:"a cache key of at most 512 characters"})),FG=gz(gP.check(g4(),g5({minimum:1,maximum:Number.MAX_SAFE_INTEGER})));var Fq=class e extends hs("CacheKey")(gG({segments:FY,restoreDepths:gM(FG)}).check(g2(e=>void 0===e.restoreDepths||e.restoreDepths.every(t=>t<=e.segments.length-1)?void 0:"every restore depth must be between 1 and segments.length - 1 — a rung keeping every segment would just repeat the primary key"))){get key(){return this.segments.join("-")}get restoreKeys(){let e=e=>`${this.segments.slice(0,e).join("-")}-`;if(void 0!==this.restoreDepths)return this.restoreDepths.map(e);let t=[];for(let r=this.segments.length-1;r>=1;r-=1)t.push(e(r));return t}withRestoreDepths(t){return e.make({segments:this.segments,restoreDepths:t})}withoutRestoreKeys(){return e.make({segments:this.segments,restoreDepths:[]})}static of(...t){return e.make({segments:t})}static forBranch(t){let r=[];return void 0!==t.os&&r.push(t.os),r.push(t.scope,t.branch),void 0!==t.hash&&r.push(t.hash),e.make({segments:r})}static hashFiles=cO("CacheKey.hashFiles")(function*(e){let t=yield*pU,r=[...new Set(e)].sort();if(0===r.length)return ii();let i=(0,ff.createHash)("sha256");for(let e of r){let r=yield*t.readFile(e).pipe(ox(t=>new FH({reason:"readFailed",path:e,cause:t})));i.update((0,ff.createHash)("sha256").update(r).digest())}return is(i.digest("hex"))});static matchingFiles=cO("CacheKey.matchingFiles")(function*(e){let t=yield*pU,r=yield*mL,i=yield*k3.compile(e.patterns).pipe(ox(e=>new FH({reason:"badPattern",pattern:e.pattern,cause:e}))),n=yield*t.readDirectory(e.workspace,{recursive:!0}).pipe(ox(t=>new FH({reason:"readFailed",path:e.workspace,cause:t}))),s=[];for(let a of n){if(!i.matches(a.replaceAll("\\","/")))continue;let n=r.join(e.workspace,a);"File"===(yield*t.stat(n).pipe(ox(e=>new FH({reason:"readFailed",path:n,cause:e})))).type&&s.push(n)}return s.sort()});static hashMatching=cO("CacheKey.hashMatching")(function*(t){return yield*e.hashFiles((yield*e.matchingFiles(t)))})};let Fz={npm:["**/package-lock.json","**/npm-shrinkwrap.json"],pnpm:["**/pnpm-lock.yaml","**/pnpm-workspace.yaml","**/.pnpmfile.cjs"],yarn:["**/yarn.lock","**/.pnp.cjs","**/.yarn/install-state.gz"],bun:["**/bun.lock","**/bun.lockb"],deno:["**/deno.lock"]},FV=["!**/node_modules/**","!**/.git/**","!**/__fixtures__/**","!**/__tests__/**","!**/__test__/**"],F_=["**/.turbo/cache"],FJ=e=>{let t=[...e];return[...t.filter(e=>!e.startsWith("*")).sort(),...t.filter(e=>e.startsWith("*")).sort()]},FW=e=>"win32"===e?fB.win32:fB.posix,Fj=(e,t,r)=>{let i=FW(t),n="win32"===t;switch(e){case"npm":return[n?i.join(r,"AppData","Local","npm-cache"):i.join(r,".npm")];case"pnpm":return[n?i.join(r,"AppData","Local","pnpm","store"):i.join(r,".local","share","pnpm","store")];case"yarn":return[n?i.join(r,"AppData","Local","Yarn","Cache"):i.join(r,".yarn","cache"),n?i.join(r,"AppData","Local","Yarn","Berry","cache"):i.join(r,".cache","yarn")];case"bun":return[n?i.join(r,"AppData","Local","bun","install","cache"):i.join(r,".bun","install","cache")];case"deno":return[n?i.join(r,"AppData","Local","deno"):i.join(r,".cache","deno")]}},FK=e=>{switch(e){case"npm":case"pnpm":case"bun":return["**/node_modules"];case"yarn":return["**/node_modules","**/.yarn/cache","**/.yarn/unplugged","**/.yarn/install-state.gz"];case"deno":return[]}},F$=new Set(["node","bun","deno","biome"]),FX=[4,3];class FZ extends A9("CacheError"){}let F0="refs/heads/",F1=(e,t,r,i)=>e.pipe(oB(e=>cP(new FZ({reason:t,message:r(e),cause:e}).message).pipe(a2(i))));class F2 extends A9("PackageManagerError"){}var F3=class extends hs("Point")({line:gP,column:gP,offset:gP}){},F5=class e extends hs("Position")({start:F3,end:F3}){static synthetic=e.make({start:F3.make({line:1,column:1,offset:0}),end:F3.make({line:1,column:1,offset:0})})};let F4=F5.pipe(gZ(aU(F5.synthetic))),F8=gJ(["shortcut","collapsed","full"]),F9=gJ(["atx","setext"]),F6=gJ(["backslash","spaces"]),F7=gJ(["`","~"]),Ue=gJ(["-","*","+"]),Ut=gJ([".",")"]),Ur=gJ(["-","_","*"]),Ui=gJ(["*","_"]),Un=gJ([1,2,3,4,5,6]),Us=gJ(["left","right","center"]);var Ua=class extends hs("Text")({type:g0("text"),value:gO,position:F4}){},Uo=class extends hs("InlineCode")({type:g0("inlineCode"),value:gO,position:F4}){},UA=class extends hs("Html")({type:g0("html"),value:gO,position:F4}){},Ul=class extends hs("Break")({type:g0("break"),position:F4,breakStyle:gM(F6)}){},Uc=class extends hs("Image")({type:g0("image"),url:gO,title:gM(gO),alt:gM(gO),position:F4}){},Ud=class extends hs("ImageReference")({type:g0("imageReference"),identifier:gO,label:gM(gO),referenceType:F8,alt:gM(gO),position:F4}){},Uu=class extends hs("Emphasis")({type:g0("emphasis"),children:gz(gj(()=>UC)),position:F4,markerChar:gM(Ui)}){},Ug=class extends hs("Strong")({type:g0("strong"),children:gz(gj(()=>UC)),position:F4,markerChar:gM(Ui)}){},Uh=class extends hs("Delete")({type:g0("delete"),children:gz(gj(()=>UC)),position:F4}){},Up=class extends hs("Link")({type:g0("link"),url:gO,title:gM(gO),children:gz(gj(()=>UC)),position:F4}){},Um=class extends hs("LinkReference")({type:g0("linkReference"),identifier:gO,label:gM(gO),referenceType:F8,children:gz(gj(()=>UC)),position:F4}){},Uf=class extends hs("FootnoteReference")({type:g0("footnoteReference"),identifier:gO,label:gM(gO),position:F4}){};let UC=gj(()=>g_([Ul,Uh,Uu,Uf,UA,Uc,Ud,Uo,Up,Um,Ug,Ua]));var Uy=class extends hs("ThematicBreak")({type:g0("thematicBreak"),position:F4,markerChar:gM(Ur)}){},UI=class extends hs("Code")({type:g0("code"),value:gO,lang:gM(gO),meta:gM(gO),position:F4,fenceChar:gM(F7),fenceLength:gM(gP)}){},UE=class extends hs("Definition")({type:g0("definition"),identifier:gO,label:gM(gO),url:gO,title:gM(gO),position:F4}){},UB=class extends hs("FootnoteDefinition")({type:g0("footnoteDefinition"),identifier:gO,label:gM(gO),children:gz(gj(()=>UM)),position:F4}){},UQ=class extends hs("Paragraph")({type:g0("paragraph"),children:gz(gj(()=>UC)),position:F4}){},Ub=class extends hs("Heading")({type:g0("heading"),depth:Un,children:gz(gj(()=>UC)),position:F4,headingStyle:gM(F9)}){},UN=class extends hs("ListItem")({type:g0("listItem"),spread:gM(gH),children:gz(gj(()=>UM)),position:F4,checked:gM(gH)}){},US=class extends hs("List")({type:g0("list"),ordered:gM(gH),start:gM(gP),spread:gM(gH),children:gz(gj(()=>UF)),position:F4,bulletChar:gM(Ue),delimiter:gM(Ut)}){},Uw=class extends hs("Blockquote")({type:g0("blockquote"),children:gz(gj(()=>UM)),position:F4}){},Ux=class extends hs("TableCell")({type:g0("tableCell"),children:gz(gj(()=>UC)),position:F4}){};let UD=gj(()=>g_([Ux]));var UR=class extends hs("TableRow")({type:g0("tableRow"),children:gz(gj(()=>UD)),position:F4}){};let Uv=gj(()=>g_([UR]));var Uk=class extends hs("Table")({type:g0("table"),align:gM(gz(gW(Us))),children:gz(gj(()=>Uv)),position:F4}){};let UM=gj(()=>g_([Uw,UI,UE,UB,Ub,UA,US,UQ,Uk,Uy])),UF=gj(()=>g_([UN])),UU=gJ(["yaml","toml","json"]);var UT=class extends hs("Frontmatter")({type:g0("frontmatter"),format:UU,value:gO,position:F4}){};let UL=gj(()=>UT);var UO=class extends hs("Root")({type:g0("root"),children:gz(gj(()=>g_([UT,UM]))),position:F4}){};gj(()=>g_([UO,UL,UM,UF,UC,UD,Uv]));var UP=class extends Error{diagnostic;_tag="RawMarkdownError";constructor(e){super(e.message),this.diagnostic=e}},UH=class extends Error{reason;limit;actual;offset;_tag="GuardExceeded";constructor(e,t,r,i){super(`${e}: limit ${t}, actual ${r}`),this.reason=e,this.limit=t,this.actual=r,this.offset=i}};let UY=e=>e.filter(e=>"root"!==e.type&&"listItem"!==e.type&&"tableRow"!==e.type&&"tableCell"!==e.type),UG=(e,t,r,i=0)=>({type:e,depth:i,parent:void 0,children:[],open:!0,stringContent:"",segments:[],startOffset:t,endOffset:t,startLine:r,endLine:r,data:{}}),Uq=e=>e.includes("\0")?e.replaceAll("\0","�"):e,Uz=e=>32===e||9===e,UV=(e,t)=>t>=0&&t<e.length?e.charCodeAt(t):-1,U_=e=>4-e%4,UJ="[A-Za-z][A-Za-z0-9-]*",UW=`<${UJ}(?:\\s+[a-zA-Z_:][a-zA-Z0-9:._-]*(?:\\s*=\\s*(?:[^"'=<>\`\\x00-\\x20]+|'[^']*'|"[^"]*"))?)*\\s*/?>`,Uj=`</${UJ}\\s*[>]`,UK=`(?:${UW}|${Uj}|<!-->|<!--->|<!--[\\s\\S]*?-->|[<][?][\\s\\S]*?[?][>]|<![A-Za-z]+[^>]*>|<!\\[CDATA\\[[\\s\\S]*?\\]\\]>)`,U$=RegExp(`^${UK}`),UX=[/./,/^<(?:script|pre|textarea|style)(?:\s|>|$)/i,/^<!--/,/^<[?]/,/^<![A-Za-z]/,/^<!\[CDATA\[/,/^<[/]?(?:address|article|aside|base|basefont|blockquote|body|caption|center|col|colgroup|dd|details|dialog|dir|div|dl|dt|fieldset|figcaption|figure|footer|form|frame|frameset|h[123456]|head|header|hr|html|iframe|legend|li|link|main|menu|menuitem|nav|noframes|ol|optgroup|option|p|param|section|search|summary|table|tbody|td|tfoot|th|thead|title|tr|track|ul)(?:\s|[/]?[>]|$)/i,RegExp(`^(?:${UW}|${Uj})\\s*$`,"i")],UZ=[/./,/<\/(?:script|pre|textarea|style)>/i,/-->/,/\?>/,/>/,/\]\]>/],U0={type:"html",acceptsLines:!0,canContain:()=>!1,continue:(e,t)=>{let r=t.data.htmlBlockType;return e.blank&&(6===r||7===r)?1:0},finalize:(e,t)=>{t.stringContent=t.stringContent.replace(/\n$/,"")},materialize:(e,t,r)=>UA.make({value:e.stringContent,position:r.position(e.startOffset,e.endOffset)})},U1={name:"htmlBlock",trigger:(e,t)=>{if(e.indented||60!==UV(e.currentLine,e.nextNonspace))return 0;let r=e.currentLine.slice(e.nextNonspace);for(let i=1;i<=7;i+=1){let n=UX[i]?.test(r)??!1,s=i<7||"paragraph"!==t.type&&!(!e.allClosed&&!e.blank&&"paragraph"===e.tip.type);if(n&&s)return e.closeUnmatchedBlocks(),e.addChild("html",e.offset).data.htmlBlockType=i,2}return 0}},U2=/^#{1,6}(?:[ \t]+|$)/,U3=/^[ \t]*#+[ \t]*$/,U5=/[ \t]+#+[ \t]*$/,U4={type:"heading",acceptsLines:!1,canContain:()=>!1,continue:()=>1,materialize:(e,t,r)=>{let i=r.inlineSlice(e),n=e.data.headingStyle??"atx",s=Ub.make({depth:e.data.level??1,children:i.children,position:r.position(e.startOffset,e.endOffset),headingStyle:n});return r.registerInline(s,i),s}},U8={name:"atxHeading",trigger:e=>{let t;if(e.indented)return 0;let r=U2.exec(e.currentLine.slice(e.nextNonspace));if(null===r)return 0;e.advanceNextNonspace(),e.advanceOffset(r[0].length,!1),e.closeUnmatchedBlocks();let i=e.addChild("heading",e.nextNonspace);i.data.level=(t=r[0].trim().length)<1?1:t>6?6:t,i.data.headingStyle="atx";let n=e.currentLine.slice(e.offset).replace(U3,"").replace(U5,"");return i.stringContent=n,i.segments.push({textOffset:0,sourceOffset:e.lineStart+e.offset,length:n.length}),e.advanceOffset(e.currentLine.length-e.offset,!1),2}},U9={type:"blockquote",acceptsLines:!1,canContain:e=>"listItem"!==e,continue:e=>{let t=e.currentLine;return e.indented||62!==UV(t,e.nextNonspace)?1:(e.advanceNextNonspace(),e.advanceOffset(1,!1),Uz(UV(t,e.offset))&&e.advanceOffset(1,!0),0)},materialize:(e,t,r)=>Uw.make({children:UY(t),position:r.position(e.startOffset,e.endOffset)})},U6={name:"blockquote",trigger:e=>e.indented||62!==UV(e.currentLine,e.nextNonspace)?0:(e.advanceNextNonspace(),e.advanceOffset(1,!1),Uz(UV(e.currentLine,e.offset))&&e.advanceOffset(1,!0),e.closeUnmatchedBlocks(),e.addChild("blockquote",e.nextNonspace),1)},U7=new Map(JSON.parse('[["AElig","\xc6"],["AMP","&"],["Aacute","\xc1"],["Abreve","Ă"],["Acirc","\xc2"],["Acy","А"],["Afr","\uD835\uDD04"],["Agrave","\xc0"],["Alpha","Α"],["Amacr","Ā"],["And","⩓"],["Aogon","Ą"],["Aopf","\uD835\uDD38"],["ApplyFunction","⁡"],["Aring","\xc5"],["Ascr","\uD835\uDC9C"],["Assign","≔"],["Atilde","\xc3"],["Auml","\xc4"],["Backslash","∖"],["Barv","⫧"],["Barwed","⌆"],["Bcy","Б"],["Because","∵"],["Bernoullis","ℬ"],["Beta","Β"],["Bfr","\uD835\uDD05"],["Bopf","\uD835\uDD39"],["Breve","˘"],["Bscr","ℬ"],["Bumpeq","≎"],["CHcy","Ч"],["COPY","\xa9"],["Cacute","Ć"],["Cap","⋒"],["CapitalDifferentialD","ⅅ"],["Cayleys","ℭ"],["Ccaron","Č"],["Ccedil","\xc7"],["Ccirc","Ĉ"],["Cconint","∰"],["Cdot","Ċ"],["Cedilla","\xb8"],["CenterDot","\xb7"],["Cfr","ℭ"],["Chi","Χ"],["CircleDot","⊙"],["CircleMinus","⊖"],["CirclePlus","⊕"],["CircleTimes","⊗"],["ClockwiseContourIntegral","∲"],["CloseCurlyDoubleQuote","”"],["CloseCurlyQuote","’"],["Colon","∷"],["Colone","⩴"],["Congruent","≡"],["Conint","∯"],["ContourIntegral","∮"],["Copf","ℂ"],["Coproduct","∐"],["CounterClockwiseContourIntegral","∳"],["Cross","⨯"],["Cscr","\uD835\uDC9E"],["Cup","⋓"],["CupCap","≍"],["DD","ⅅ"],["DDotrahd","⤑"],["DJcy","Ђ"],["DScy","Ѕ"],["DZcy","Џ"],["Dagger","‡"],["Darr","↡"],["Dashv","⫤"],["Dcaron","Ď"],["Dcy","Д"],["Del","∇"],["Delta","Δ"],["Dfr","\uD835\uDD07"],["DiacriticalAcute","\xb4"],["DiacriticalDot","˙"],["DiacriticalDoubleAcute","˝"],["DiacriticalGrave","`"],["DiacriticalTilde","˜"],["Diamond","⋄"],["DifferentialD","ⅆ"],["Dopf","\uD835\uDD3B"],["Dot","\xa8"],["DotDot","⃜"],["DotEqual","≐"],["DoubleContourIntegral","∯"],["DoubleDot","\xa8"],["DoubleDownArrow","⇓"],["DoubleLeftArrow","⇐"],["DoubleLeftRightArrow","⇔"],["DoubleLeftTee","⫤"],["DoubleLongLeftArrow","⟸"],["DoubleLongLeftRightArrow","⟺"],["DoubleLongRightArrow","⟹"],["DoubleRightArrow","⇒"],["DoubleRightTee","⊨"],["DoubleUpArrow","⇑"],["DoubleUpDownArrow","⇕"],["DoubleVerticalBar","∥"],["DownArrow","↓"],["DownArrowBar","⤓"],["DownArrowUpArrow","⇵"],["DownBreve","̑"],["DownLeftRightVector","⥐"],["DownLeftTeeVector","⥞"],["DownLeftVector","↽"],["DownLeftVectorBar","⥖"],["DownRightTeeVector","⥟"],["DownRightVector","⇁"],["DownRightVectorBar","⥗"],["DownTee","⊤"],["DownTeeArrow","↧"],["Downarrow","⇓"],["Dscr","\uD835\uDC9F"],["Dstrok","Đ"],["ENG","Ŋ"],["ETH","\xd0"],["Eacute","\xc9"],["Ecaron","Ě"],["Ecirc","\xca"],["Ecy","Э"],["Edot","Ė"],["Efr","\uD835\uDD08"],["Egrave","\xc8"],["Element","∈"],["Emacr","Ē"],["EmptySmallSquare","◻"],["EmptyVerySmallSquare","▫"],["Eogon","Ę"],["Eopf","\uD835\uDD3C"],["Epsilon","Ε"],["Equal","⩵"],["EqualTilde","≂"],["Equilibrium","⇌"],["Escr","ℰ"],["Esim","⩳"],["Eta","Η"],["Euml","\xcb"],["Exists","∃"],["ExponentialE","ⅇ"],["Fcy","Ф"],["Ffr","\uD835\uDD09"],["FilledSmallSquare","◼"],["FilledVerySmallSquare","▪"],["Fopf","\uD835\uDD3D"],["ForAll","∀"],["Fouriertrf","ℱ"],["Fscr","ℱ"],["GJcy","Ѓ"],["GT",">"],["Gamma","Γ"],["Gammad","Ϝ"],["Gbreve","Ğ"],["Gcedil","Ģ"],["Gcirc","Ĝ"],["Gcy","Г"],["Gdot","Ġ"],["Gfr","\uD835\uDD0A"],["Gg","⋙"],["Gopf","\uD835\uDD3E"],["GreaterEqual","≥"],["GreaterEqualLess","⋛"],["GreaterFullEqual","≧"],["GreaterGreater","⪢"],["GreaterLess","≷"],["GreaterSlantEqual","⩾"],["GreaterTilde","≳"],["Gscr","\uD835\uDCA2"],["Gt","≫"],["HARDcy","Ъ"],["Hacek","ˇ"],["Hat","^"],["Hcirc","Ĥ"],["Hfr","ℌ"],["HilbertSpace","ℋ"],["Hopf","ℍ"],["HorizontalLine","─"],["Hscr","ℋ"],["Hstrok","Ħ"],["HumpDownHump","≎"],["HumpEqual","≏"],["IEcy","Е"],["IJlig","IJ"],["IOcy","Ё"],["Iacute","\xcd"],["Icirc","\xce"],["Icy","И"],["Idot","İ"],["Ifr","ℑ"],["Igrave","\xcc"],["Im","ℑ"],["Imacr","Ī"],["ImaginaryI","ⅈ"],["Implies","⇒"],["Int","∬"],["Integral","∫"],["Intersection","⋂"],["InvisibleComma","⁣"],["InvisibleTimes","⁢"],["Iogon","Į"],["Iopf","\uD835\uDD40"],["Iota","Ι"],["Iscr","ℐ"],["Itilde","Ĩ"],["Iukcy","І"],["Iuml","\xcf"],["Jcirc","Ĵ"],["Jcy","Й"],["Jfr","\uD835\uDD0D"],["Jopf","\uD835\uDD41"],["Jscr","\uD835\uDCA5"],["Jsercy","Ј"],["Jukcy","Є"],["KHcy","Х"],["KJcy","Ќ"],["Kappa","Κ"],["Kcedil","Ķ"],["Kcy","К"],["Kfr","\uD835\uDD0E"],["Kopf","\uD835\uDD42"],["Kscr","\uD835\uDCA6"],["LJcy","Љ"],["LT","<"],["Lacute","Ĺ"],["Lambda","Λ"],["Lang","⟪"],["Laplacetrf","ℒ"],["Larr","↞"],["Lcaron","Ľ"],["Lcedil","Ļ"],["Lcy","Л"],["LeftAngleBracket","⟨"],["LeftArrow","←"],["LeftArrowBar","⇤"],["LeftArrowRightArrow","⇆"],["LeftCeiling","⌈"],["LeftDoubleBracket","⟦"],["LeftDownTeeVector","⥡"],["LeftDownVector","⇃"],["LeftDownVectorBar","⥙"],["LeftFloor","⌊"],["LeftRightArrow","↔"],["LeftRightVector","⥎"],["LeftTee","⊣"],["LeftTeeArrow","↤"],["LeftTeeVector","⥚"],["LeftTriangle","⊲"],["LeftTriangleBar","⧏"],["LeftTriangleEqual","⊴"],["LeftUpDownVector","⥑"],["LeftUpTeeVector","⥠"],["LeftUpVector","↿"],["LeftUpVectorBar","⥘"],["LeftVector","↼"],["LeftVectorBar","⥒"],["Leftarrow","⇐"],["Leftrightarrow","⇔"],["LessEqualGreater","⋚"],["LessFullEqual","≦"],["LessGreater","≶"],["LessLess","⪡"],["LessSlantEqual","⩽"],["LessTilde","≲"],["Lfr","\uD835\uDD0F"],["Ll","⋘"],["Lleftarrow","⇚"],["Lmidot","Ŀ"],["LongLeftArrow","⟵"],["LongLeftRightArrow","⟷"],["LongRightArrow","⟶"],["Longleftarrow","⟸"],["Longleftrightarrow","⟺"],["Longrightarrow","⟹"],["Lopf","\uD835\uDD43"],["LowerLeftArrow","↙"],["LowerRightArrow","↘"],["Lscr","ℒ"],["Lsh","↰"],["Lstrok","Ł"],["Lt","≪"],["Map","⤅"],["Mcy","М"],["MediumSpace"," "],["Mellintrf","ℳ"],["Mfr","\uD835\uDD10"],["MinusPlus","∓"],["Mopf","\uD835\uDD44"],["Mscr","ℳ"],["Mu","Μ"],["NJcy","Њ"],["Nacute","Ń"],["Ncaron","Ň"],["Ncedil","Ņ"],["Ncy","Н"],["NegativeMediumSpace","​"],["NegativeThickSpace","​"],["NegativeThinSpace","​"],["NegativeVeryThinSpace","​"],["NestedGreaterGreater","≫"],["NestedLessLess","≪"],["NewLine","\\n"],["Nfr","\uD835\uDD11"],["NoBreak","⁠"],["NonBreakingSpace","\xa0"],["Nopf","ℕ"],["Not","⫬"],["NotCongruent","≢"],["NotCupCap","≭"],["NotDoubleVerticalBar","∦"],["NotElement","∉"],["NotEqual","≠"],["NotEqualTilde","≂̸"],["NotExists","∄"],["NotGreater","≯"],["NotGreaterEqual","≱"],["NotGreaterFullEqual","≧̸"],["NotGreaterGreater","≫̸"],["NotGreaterLess","≹"],["NotGreaterSlantEqual","⩾̸"],["NotGreaterTilde","≵"],["NotHumpDownHump","≎̸"],["NotHumpEqual","≏̸"],["NotLeftTriangle","⋪"],["NotLeftTriangleBar","⧏̸"],["NotLeftTriangleEqual","⋬"],["NotLess","≮"],["NotLessEqual","≰"],["NotLessGreater","≸"],["NotLessLess","≪̸"],["NotLessSlantEqual","⩽̸"],["NotLessTilde","≴"],["NotNestedGreaterGreater","⪢̸"],["NotNestedLessLess","⪡̸"],["NotPrecedes","⊀"],["NotPrecedesEqual","⪯̸"],["NotPrecedesSlantEqual","⋠"],["NotReverseElement","∌"],["NotRightTriangle","⋫"],["NotRightTriangleBar","⧐̸"],["NotRightTriangleEqual","⋭"],["NotSquareSubset","⊏̸"],["NotSquareSubsetEqual","⋢"],["NotSquareSuperset","⊐̸"],["NotSquareSupersetEqual","⋣"],["NotSubset","⊂⃒"],["NotSubsetEqual","⊈"],["NotSucceeds","⊁"],["NotSucceedsEqual","⪰̸"],["NotSucceedsSlantEqual","⋡"],["NotSucceedsTilde","≿̸"],["NotSuperset","⊃⃒"],["NotSupersetEqual","⊉"],["NotTilde","≁"],["NotTildeEqual","≄"],["NotTildeFullEqual","≇"],["NotTildeTilde","≉"],["NotVerticalBar","∤"],["Nscr","\uD835\uDCA9"],["Ntilde","\xd1"],["Nu","Ν"],["OElig","Œ"],["Oacute","\xd3"],["Ocirc","\xd4"],["Ocy","О"],["Odblac","Ő"],["Ofr","\uD835\uDD12"],["Ograve","\xd2"],["Omacr","Ō"],["Omega","Ω"],["Omicron","Ο"],["Oopf","\uD835\uDD46"],["OpenCurlyDoubleQuote","“"],["OpenCurlyQuote","‘"],["Or","⩔"],["Oscr","\uD835\uDCAA"],["Oslash","\xd8"],["Otilde","\xd5"],["Otimes","⨷"],["Ouml","\xd6"],["OverBar","‾"],["OverBrace","⏞"],["OverBracket","⎴"],["OverParenthesis","⏜"],["PartialD","∂"],["Pcy","П"],["Pfr","\uD835\uDD13"],["Phi","Φ"],["Pi","Π"],["PlusMinus","\xb1"],["Poincareplane","ℌ"],["Popf","ℙ"],["Pr","⪻"],["Precedes","≺"],["PrecedesEqual","⪯"],["PrecedesSlantEqual","≼"],["PrecedesTilde","≾"],["Prime","″"],["Product","∏"],["Proportion","∷"],["Proportional","∝"],["Pscr","\uD835\uDCAB"],["Psi","Ψ"],["QUOT","\\""],["Qfr","\uD835\uDD14"],["Qopf","ℚ"],["Qscr","\uD835\uDCAC"],["RBarr","⤐"],["REG","\xae"],["Racute","Ŕ"],["Rang","⟫"],["Rarr","↠"],["Rarrtl","⤖"],["Rcaron","Ř"],["Rcedil","Ŗ"],["Rcy","Р"],["Re","ℜ"],["ReverseElement","∋"],["ReverseEquilibrium","⇋"],["ReverseUpEquilibrium","⥯"],["Rfr","ℜ"],["Rho","Ρ"],["RightAngleBracket","⟩"],["RightArrow","→"],["RightArrowBar","⇥"],["RightArrowLeftArrow","⇄"],["RightCeiling","⌉"],["RightDoubleBracket","⟧"],["RightDownTeeVector","⥝"],["RightDownVector","⇂"],["RightDownVectorBar","⥕"],["RightFloor","⌋"],["RightTee","⊢"],["RightTeeArrow","↦"],["RightTeeVector","⥛"],["RightTriangle","⊳"],["RightTriangleBar","⧐"],["RightTriangleEqual","⊵"],["RightUpDownVector","⥏"],["RightUpTeeVector","⥜"],["RightUpVector","↾"],["RightUpVectorBar","⥔"],["RightVector","⇀"],["RightVectorBar","⥓"],["Rightarrow","⇒"],["Ropf","ℝ"],["RoundImplies","⥰"],["Rrightarrow","⇛"],["Rscr","ℛ"],["Rsh","↱"],["RuleDelayed","⧴"],["SHCHcy","Щ"],["SHcy","Ш"],["SOFTcy","Ь"],["Sacute","Ś"],["Sc","⪼"],["Scaron","Š"],["Scedil","Ş"],["Scirc","Ŝ"],["Scy","С"],["Sfr","\uD835\uDD16"],["ShortDownArrow","↓"],["ShortLeftArrow","←"],["ShortRightArrow","→"],["ShortUpArrow","↑"],["Sigma","Σ"],["SmallCircle","∘"],["Sopf","\uD835\uDD4A"],["Sqrt","√"],["Square","□"],["SquareIntersection","⊓"],["SquareSubset","⊏"],["SquareSubsetEqual","⊑"],["SquareSuperset","⊐"],["SquareSupersetEqual","⊒"],["SquareUnion","⊔"],["Sscr","\uD835\uDCAE"],["Star","⋆"],["Sub","⋐"],["Subset","⋐"],["SubsetEqual","⊆"],["Succeeds","≻"],["SucceedsEqual","⪰"],["SucceedsSlantEqual","≽"],["SucceedsTilde","≿"],["SuchThat","∋"],["Sum","∑"],["Sup","⋑"],["Superset","⊃"],["SupersetEqual","⊇"],["Supset","⋑"],["THORN","\xde"],["TRADE","™"],["TSHcy","Ћ"],["TScy","Ц"],["Tab","\\t"],["Tau","Τ"],["Tcaron","Ť"],["Tcedil","Ţ"],["Tcy","Т"],["Tfr","\uD835\uDD17"],["Therefore","∴"],["Theta","Θ"],["ThickSpace","  "],["ThinSpace"," "],["Tilde","∼"],["TildeEqual","≃"],["TildeFullEqual","≅"],["TildeTilde","≈"],["Topf","\uD835\uDD4B"],["TripleDot","⃛"],["Tscr","\uD835\uDCAF"],["Tstrok","Ŧ"],["Uacute","\xda"],["Uarr","↟"],["Uarrocir","⥉"],["Ubrcy","Ў"],["Ubreve","Ŭ"],["Ucirc","\xdb"],["Ucy","У"],["Udblac","Ű"],["Ufr","\uD835\uDD18"],["Ugrave","\xd9"],["Umacr","Ū"],["UnderBar","_"],["UnderBrace","⏟"],["UnderBracket","⎵"],["UnderParenthesis","⏝"],["Union","⋃"],["UnionPlus","⊎"],["Uogon","Ų"],["Uopf","\uD835\uDD4C"],["UpArrow","↑"],["UpArrowBar","⤒"],["UpArrowDownArrow","⇅"],["UpDownArrow","↕"],["UpEquilibrium","⥮"],["UpTee","⊥"],["UpTeeArrow","↥"],["Uparrow","⇑"],["Updownarrow","⇕"],["UpperLeftArrow","↖"],["UpperRightArrow","↗"],["Upsi","ϒ"],["Upsilon","Υ"],["Uring","Ů"],["Uscr","\uD835\uDCB0"],["Utilde","Ũ"],["Uuml","\xdc"],["VDash","⊫"],["Vbar","⫫"],["Vcy","В"],["Vdash","⊩"],["Vdashl","⫦"],["Vee","⋁"],["Verbar","‖"],["Vert","‖"],["VerticalBar","∣"],["VerticalLine","|"],["VerticalSeparator","❘"],["VerticalTilde","≀"],["VeryThinSpace"," "],["Vfr","\uD835\uDD19"],["Vopf","\uD835\uDD4D"],["Vscr","\uD835\uDCB1"],["Vvdash","⊪"],["Wcirc","Ŵ"],["Wedge","⋀"],["Wfr","\uD835\uDD1A"],["Wopf","\uD835\uDD4E"],["Wscr","\uD835\uDCB2"],["Xfr","\uD835\uDD1B"],["Xi","Ξ"],["Xopf","\uD835\uDD4F"],["Xscr","\uD835\uDCB3"],["YAcy","Я"],["YIcy","Ї"],["YUcy","Ю"],["Yacute","\xdd"],["Ycirc","Ŷ"],["Ycy","Ы"],["Yfr","\uD835\uDD1C"],["Yopf","\uD835\uDD50"],["Yscr","\uD835\uDCB4"],["Yuml","Ÿ"],["ZHcy","Ж"],["Zacute","Ź"],["Zcaron","Ž"],["Zcy","З"],["Zdot","Ż"],["ZeroWidthSpace","​"],["Zeta","Ζ"],["Zfr","ℨ"],["Zopf","ℤ"],["Zscr","\uD835\uDCB5"],["aacute","\xe1"],["abreve","ă"],["ac","∾"],["acE","∾̳"],["acd","∿"],["acirc","\xe2"],["acute","\xb4"],["acy","а"],["aelig","\xe6"],["af","⁡"],["afr","\uD835\uDD1E"],["agrave","\xe0"],["alefsym","ℵ"],["aleph","ℵ"],["alpha","α"],["amacr","ā"],["amalg","⨿"],["amp","&"],["and","∧"],["andand","⩕"],["andd","⩜"],["andslope","⩘"],["andv","⩚"],["ang","∠"],["ange","⦤"],["angle","∠"],["angmsd","∡"],["angmsdaa","⦨"],["angmsdab","⦩"],["angmsdac","⦪"],["angmsdad","⦫"],["angmsdae","⦬"],["angmsdaf","⦭"],["angmsdag","⦮"],["angmsdah","⦯"],["angrt","∟"],["angrtvb","⊾"],["angrtvbd","⦝"],["angsph","∢"],["angst","\xc5"],["angzarr","⍼"],["aogon","ą"],["aopf","\uD835\uDD52"],["ap","≈"],["apE","⩰"],["apacir","⩯"],["ape","≊"],["apid","≋"],["apos","\'"],["approx","≈"],["approxeq","≊"],["aring","\xe5"],["ascr","\uD835\uDCB6"],["ast","*"],["asymp","≈"],["asympeq","≍"],["atilde","\xe3"],["auml","\xe4"],["awconint","∳"],["awint","⨑"],["bNot","⫭"],["backcong","≌"],["backepsilon","϶"],["backprime","‵"],["backsim","∽"],["backsimeq","⋍"],["barvee","⊽"],["barwed","⌅"],["barwedge","⌅"],["bbrk","⎵"],["bbrktbrk","⎶"],["bcong","≌"],["bcy","б"],["bdquo","„"],["becaus","∵"],["because","∵"],["bemptyv","⦰"],["bepsi","϶"],["bernou","ℬ"],["beta","β"],["beth","ℶ"],["between","≬"],["bfr","\uD835\uDD1F"],["bigcap","⋂"],["bigcirc","◯"],["bigcup","⋃"],["bigodot","⨀"],["bigoplus","⨁"],["bigotimes","⨂"],["bigsqcup","⨆"],["bigstar","★"],["bigtriangledown","▽"],["bigtriangleup","△"],["biguplus","⨄"],["bigvee","⋁"],["bigwedge","⋀"],["bkarow","⤍"],["blacklozenge","⧫"],["blacksquare","▪"],["blacktriangle","▴"],["blacktriangledown","▾"],["blacktriangleleft","◂"],["blacktriangleright","▸"],["blank","␣"],["blk12","▒"],["blk14","░"],["blk34","▓"],["block","█"],["bne","=⃥"],["bnequiv","≡⃥"],["bnot","⌐"],["bopf","\uD835\uDD53"],["bot","⊥"],["bottom","⊥"],["bowtie","⋈"],["boxDL","╗"],["boxDR","╔"],["boxDl","╖"],["boxDr","╓"],["boxH","═"],["boxHD","╦"],["boxHU","╩"],["boxHd","╤"],["boxHu","╧"],["boxUL","╝"],["boxUR","╚"],["boxUl","╜"],["boxUr","╙"],["boxV","║"],["boxVH","╬"],["boxVL","╣"],["boxVR","╠"],["boxVh","╫"],["boxVl","╢"],["boxVr","╟"],["boxbox","⧉"],["boxdL","╕"],["boxdR","╒"],["boxdl","┐"],["boxdr","┌"],["boxh","─"],["boxhD","╥"],["boxhU","╨"],["boxhd","┬"],["boxhu","┴"],["boxminus","⊟"],["boxplus","⊞"],["boxtimes","⊠"],["boxuL","╛"],["boxuR","╘"],["boxul","┘"],["boxur","└"],["boxv","│"],["boxvH","╪"],["boxvL","╡"],["boxvR","╞"],["boxvh","┼"],["boxvl","┤"],["boxvr","├"],["bprime","‵"],["breve","˘"],["brvbar","\xa6"],["bscr","\uD835\uDCB7"],["bsemi","⁏"],["bsim","∽"],["bsime","⋍"],["bsol","\\\\"],["bsolb","⧅"],["bsolhsub","⟈"],["bull","•"],["bullet","•"],["bump","≎"],["bumpE","⪮"],["bumpe","≏"],["bumpeq","≏"],["cacute","ć"],["cap","∩"],["capand","⩄"],["capbrcup","⩉"],["capcap","⩋"],["capcup","⩇"],["capdot","⩀"],["caps","∩︀"],["caret","⁁"],["caron","ˇ"],["ccaps","⩍"],["ccaron","č"],["ccedil","\xe7"],["ccirc","ĉ"],["ccups","⩌"],["ccupssm","⩐"],["cdot","ċ"],["cedil","\xb8"],["cemptyv","⦲"],["cent","\xa2"],["centerdot","\xb7"],["cfr","\uD835\uDD20"],["chcy","ч"],["check","✓"],["checkmark","✓"],["chi","χ"],["cir","○"],["cirE","⧃"],["circ","ˆ"],["circeq","≗"],["circlearrowleft","↺"],["circlearrowright","↻"],["circledR","\xae"],["circledS","Ⓢ"],["circledast","⊛"],["circledcirc","⊚"],["circleddash","⊝"],["cire","≗"],["cirfnint","⨐"],["cirmid","⫯"],["cirscir","⧂"],["clubs","♣"],["clubsuit","♣"],["colon",":"],["colone","≔"],["coloneq","≔"],["comma",","],["commat","@"],["comp","∁"],["compfn","∘"],["complement","∁"],["complexes","ℂ"],["cong","≅"],["congdot","⩭"],["conint","∮"],["copf","\uD835\uDD54"],["coprod","∐"],["copy","\xa9"],["copysr","℗"],["crarr","↵"],["cross","✗"],["cscr","\uD835\uDCB8"],["csub","⫏"],["csube","⫑"],["csup","⫐"],["csupe","⫒"],["ctdot","⋯"],["cudarrl","⤸"],["cudarrr","⤵"],["cuepr","⋞"],["cuesc","⋟"],["cularr","↶"],["cularrp","⤽"],["cup","∪"],["cupbrcap","⩈"],["cupcap","⩆"],["cupcup","⩊"],["cupdot","⊍"],["cupor","⩅"],["cups","∪︀"],["curarr","↷"],["curarrm","⤼"],["curlyeqprec","⋞"],["curlyeqsucc","⋟"],["curlyvee","⋎"],["curlywedge","⋏"],["curren","\xa4"],["curvearrowleft","↶"],["curvearrowright","↷"],["cuvee","⋎"],["cuwed","⋏"],["cwconint","∲"],["cwint","∱"],["cylcty","⌭"],["dArr","⇓"],["dHar","⥥"],["dagger","†"],["daleth","ℸ"],["darr","↓"],["dash","‐"],["dashv","⊣"],["dbkarow","⤏"],["dblac","˝"],["dcaron","ď"],["dcy","д"],["dd","ⅆ"],["ddagger","‡"],["ddarr","⇊"],["ddotseq","⩷"],["deg","\xb0"],["delta","δ"],["demptyv","⦱"],["dfisht","⥿"],["dfr","\uD835\uDD21"],["dharl","⇃"],["dharr","⇂"],["diam","⋄"],["diamond","⋄"],["diamondsuit","♦"],["diams","♦"],["die","\xa8"],["digamma","ϝ"],["disin","⋲"],["div","\xf7"],["divide","\xf7"],["divideontimes","⋇"],["divonx","⋇"],["djcy","ђ"],["dlcorn","⌞"],["dlcrop","⌍"],["dollar","$"],["dopf","\uD835\uDD55"],["dot","˙"],["doteq","≐"],["doteqdot","≑"],["dotminus","∸"],["dotplus","∔"],["dotsquare","⊡"],["doublebarwedge","⌆"],["downarrow","↓"],["downdownarrows","⇊"],["downharpoonleft","⇃"],["downharpoonright","⇂"],["drbkarow","⤐"],["drcorn","⌟"],["drcrop","⌌"],["dscr","\uD835\uDCB9"],["dscy","ѕ"],["dsol","⧶"],["dstrok","đ"],["dtdot","⋱"],["dtri","▿"],["dtrif","▾"],["duarr","⇵"],["duhar","⥯"],["dwangle","⦦"],["dzcy","џ"],["dzigrarr","⟿"],["eDDot","⩷"],["eDot","≑"],["eacute","\xe9"],["easter","⩮"],["ecaron","ě"],["ecir","≖"],["ecirc","\xea"],["ecolon","≕"],["ecy","э"],["edot","ė"],["ee","ⅇ"],["efDot","≒"],["efr","\uD835\uDD22"],["eg","⪚"],["egrave","\xe8"],["egs","⪖"],["egsdot","⪘"],["el","⪙"],["elinters","⏧"],["ell","ℓ"],["els","⪕"],["elsdot","⪗"],["emacr","ē"],["empty","∅"],["emptyset","∅"],["emptyv","∅"],["emsp"," "],["emsp13"," "],["emsp14"," "],["eng","ŋ"],["ensp"," "],["eogon","ę"],["eopf","\uD835\uDD56"],["epar","⋕"],["eparsl","⧣"],["eplus","⩱"],["epsi","ε"],["epsilon","ε"],["epsiv","ϵ"],["eqcirc","≖"],["eqcolon","≕"],["eqsim","≂"],["eqslantgtr","⪖"],["eqslantless","⪕"],["equals","="],["equest","≟"],["equiv","≡"],["equivDD","⩸"],["eqvparsl","⧥"],["erDot","≓"],["erarr","⥱"],["escr","ℯ"],["esdot","≐"],["esim","≂"],["eta","η"],["eth","\xf0"],["euml","\xeb"],["euro","€"],["excl","!"],["exist","∃"],["expectation","ℰ"],["exponentiale","ⅇ"],["fallingdotseq","≒"],["fcy","ф"],["female","♀"],["ffilig","ffi"],["fflig","ff"],["ffllig","ffl"],["ffr","\uD835\uDD23"],["filig","fi"],["fjlig","fj"],["flat","♭"],["fllig","fl"],["fltns","▱"],["fnof","ƒ"],["fopf","\uD835\uDD57"],["forall","∀"],["fork","⋔"],["forkv","⫙"],["fpartint","⨍"],["frac12","\xbd"],["frac13","⅓"],["frac14","\xbc"],["frac15","⅕"],["frac16","⅙"],["frac18","⅛"],["frac23","⅔"],["frac25","⅖"],["frac34","\xbe"],["frac35","⅗"],["frac38","⅜"],["frac45","⅘"],["frac56","⅚"],["frac58","⅝"],["frac78","⅞"],["frasl","⁄"],["frown","⌢"],["fscr","\uD835\uDCBB"],["gE","≧"],["gEl","⪌"],["gacute","ǵ"],["gamma","γ"],["gammad","ϝ"],["gap","⪆"],["gbreve","ğ"],["gcirc","ĝ"],["gcy","г"],["gdot","ġ"],["ge","≥"],["gel","⋛"],["geq","≥"],["geqq","≧"],["geqslant","⩾"],["ges","⩾"],["gescc","⪩"],["gesdot","⪀"],["gesdoto","⪂"],["gesdotol","⪄"],["gesl","⋛︀"],["gesles","⪔"],["gfr","\uD835\uDD24"],["gg","≫"],["ggg","⋙"],["gimel","ℷ"],["gjcy","ѓ"],["gl","≷"],["glE","⪒"],["gla","⪥"],["glj","⪤"],["gnE","≩"],["gnap","⪊"],["gnapprox","⪊"],["gne","⪈"],["gneq","⪈"],["gneqq","≩"],["gnsim","⋧"],["gopf","\uD835\uDD58"],["grave","`"],["gscr","ℊ"],["gsim","≳"],["gsime","⪎"],["gsiml","⪐"],["gt",">"],["gtcc","⪧"],["gtcir","⩺"],["gtdot","⋗"],["gtlPar","⦕"],["gtquest","⩼"],["gtrapprox","⪆"],["gtrarr","⥸"],["gtrdot","⋗"],["gtreqless","⋛"],["gtreqqless","⪌"],["gtrless","≷"],["gtrsim","≳"],["gvertneqq","≩︀"],["gvnE","≩︀"],["hArr","⇔"],["hairsp"," "],["half","\xbd"],["hamilt","ℋ"],["hardcy","ъ"],["harr","↔"],["harrcir","⥈"],["harrw","↭"],["hbar","ℏ"],["hcirc","ĥ"],["hearts","♥"],["heartsuit","♥"],["hellip","…"],["hercon","⊹"],["hfr","\uD835\uDD25"],["hksearow","⤥"],["hkswarow","⤦"],["hoarr","⇿"],["homtht","∻"],["hookleftarrow","↩"],["hookrightarrow","↪"],["hopf","\uD835\uDD59"],["horbar","―"],["hscr","\uD835\uDCBD"],["hslash","ℏ"],["hstrok","ħ"],["hybull","⁃"],["hyphen","‐"],["iacute","\xed"],["ic","⁣"],["icirc","\xee"],["icy","и"],["iecy","е"],["iexcl","\xa1"],["iff","⇔"],["ifr","\uD835\uDD26"],["igrave","\xec"],["ii","ⅈ"],["iiiint","⨌"],["iiint","∭"],["iinfin","⧜"],["iiota","℩"],["ijlig","ij"],["imacr","ī"],["image","ℑ"],["imagline","ℐ"],["imagpart","ℑ"],["imath","ı"],["imof","⊷"],["imped","Ƶ"],["in","∈"],["incare","℅"],["infin","∞"],["infintie","⧝"],["inodot","ı"],["int","∫"],["intcal","⊺"],["integers","ℤ"],["intercal","⊺"],["intlarhk","⨗"],["intprod","⨼"],["iocy","ё"],["iogon","į"],["iopf","\uD835\uDD5A"],["iota","ι"],["iprod","⨼"],["iquest","\xbf"],["iscr","\uD835\uDCBE"],["isin","∈"],["isinE","⋹"],["isindot","⋵"],["isins","⋴"],["isinsv","⋳"],["isinv","∈"],["it","⁢"],["itilde","ĩ"],["iukcy","і"],["iuml","\xef"],["jcirc","ĵ"],["jcy","й"],["jfr","\uD835\uDD27"],["jmath","ȷ"],["jopf","\uD835\uDD5B"],["jscr","\uD835\uDCBF"],["jsercy","ј"],["jukcy","є"],["kappa","κ"],["kappav","ϰ"],["kcedil","ķ"],["kcy","к"],["kfr","\uD835\uDD28"],["kgreen","ĸ"],["khcy","х"],["kjcy","ќ"],["kopf","\uD835\uDD5C"],["kscr","\uD835\uDCC0"],["lAarr","⇚"],["lArr","⇐"],["lAtail","⤛"],["lBarr","⤎"],["lE","≦"],["lEg","⪋"],["lHar","⥢"],["lacute","ĺ"],["laemptyv","⦴"],["lagran","ℒ"],["lambda","λ"],["lang","⟨"],["langd","⦑"],["langle","⟨"],["lap","⪅"],["laquo","\xab"],["larr","←"],["larrb","⇤"],["larrbfs","⤟"],["larrfs","⤝"],["larrhk","↩"],["larrlp","↫"],["larrpl","⤹"],["larrsim","⥳"],["larrtl","↢"],["lat","⪫"],["latail","⤙"],["late","⪭"],["lates","⪭︀"],["lbarr","⤌"],["lbbrk","❲"],["lbrace","{"],["lbrack","["],["lbrke","⦋"],["lbrksld","⦏"],["lbrkslu","⦍"],["lcaron","ľ"],["lcedil","ļ"],["lceil","⌈"],["lcub","{"],["lcy","л"],["ldca","⤶"],["ldquo","“"],["ldquor","„"],["ldrdhar","⥧"],["ldrushar","⥋"],["ldsh","↲"],["le","≤"],["leftarrow","←"],["leftarrowtail","↢"],["leftharpoondown","↽"],["leftharpoonup","↼"],["leftleftarrows","⇇"],["leftrightarrow","↔"],["leftrightarrows","⇆"],["leftrightharpoons","⇋"],["leftrightsquigarrow","↭"],["leftthreetimes","⋋"],["leg","⋚"],["leq","≤"],["leqq","≦"],["leqslant","⩽"],["les","⩽"],["lescc","⪨"],["lesdot","⩿"],["lesdoto","⪁"],["lesdotor","⪃"],["lesg","⋚︀"],["lesges","⪓"],["lessapprox","⪅"],["lessdot","⋖"],["lesseqgtr","⋚"],["lesseqqgtr","⪋"],["lessgtr","≶"],["lesssim","≲"],["lfisht","⥼"],["lfloor","⌊"],["lfr","\uD835\uDD29"],["lg","≶"],["lgE","⪑"],["lhard","↽"],["lharu","↼"],["lharul","⥪"],["lhblk","▄"],["ljcy","љ"],["ll","≪"],["llarr","⇇"],["llcorner","⌞"],["llhard","⥫"],["lltri","◺"],["lmidot","ŀ"],["lmoust","⎰"],["lmoustache","⎰"],["lnE","≨"],["lnap","⪉"],["lnapprox","⪉"],["lne","⪇"],["lneq","⪇"],["lneqq","≨"],["lnsim","⋦"],["loang","⟬"],["loarr","⇽"],["lobrk","⟦"],["longleftarrow","⟵"],["longleftrightarrow","⟷"],["longmapsto","⟼"],["longrightarrow","⟶"],["looparrowleft","↫"],["looparrowright","↬"],["lopar","⦅"],["lopf","\uD835\uDD5D"],["loplus","⨭"],["lotimes","⨴"],["lowast","∗"],["lowbar","_"],["loz","◊"],["lozenge","◊"],["lozf","⧫"],["lpar","("],["lparlt","⦓"],["lrarr","⇆"],["lrcorner","⌟"],["lrhar","⇋"],["lrhard","⥭"],["lrm","‎"],["lrtri","⊿"],["lsaquo","‹"],["lscr","\uD835\uDCC1"],["lsh","↰"],["lsim","≲"],["lsime","⪍"],["lsimg","⪏"],["lsqb","["],["lsquo","‘"],["lsquor","‚"],["lstrok","ł"],["lt","<"],["ltcc","⪦"],["ltcir","⩹"],["ltdot","⋖"],["lthree","⋋"],["ltimes","⋉"],["ltlarr","⥶"],["ltquest","⩻"],["ltrPar","⦖"],["ltri","◃"],["ltrie","⊴"],["ltrif","◂"],["lurdshar","⥊"],["luruhar","⥦"],["lvertneqq","≨︀"],["lvnE","≨︀"],["mDDot","∺"],["macr","\xaf"],["male","♂"],["malt","✠"],["maltese","✠"],["map","↦"],["mapsto","↦"],["mapstodown","↧"],["mapstoleft","↤"],["mapstoup","↥"],["marker","▮"],["mcomma","⨩"],["mcy","м"],["mdash","—"],["measuredangle","∡"],["mfr","\uD835\uDD2A"],["mho","℧"],["micro","\xb5"],["mid","∣"],["midast","*"],["midcir","⫰"],["middot","\xb7"],["minus","−"],["minusb","⊟"],["minusd","∸"],["minusdu","⨪"],["mlcp","⫛"],["mldr","…"],["mnplus","∓"],["models","⊧"],["mopf","\uD835\uDD5E"],["mp","∓"],["mscr","\uD835\uDCC2"],["mstpos","∾"],["mu","μ"],["multimap","⊸"],["mumap","⊸"],["nGg","⋙̸"],["nGt","≫⃒"],["nGtv","≫̸"],["nLeftarrow","⇍"],["nLeftrightarrow","⇎"],["nLl","⋘̸"],["nLt","≪⃒"],["nLtv","≪̸"],["nRightarrow","⇏"],["nVDash","⊯"],["nVdash","⊮"],["nabla","∇"],["nacute","ń"],["nang","∠⃒"],["nap","≉"],["napE","⩰̸"],["napid","≋̸"],["napos","ʼn"],["napprox","≉"],["natur","♮"],["natural","♮"],["naturals","ℕ"],["nbsp","\xa0"],["nbump","≎̸"],["nbumpe","≏̸"],["ncap","⩃"],["ncaron","ň"],["ncedil","ņ"],["ncong","≇"],["ncongdot","⩭̸"],["ncup","⩂"],["ncy","н"],["ndash","–"],["ne","≠"],["neArr","⇗"],["nearhk","⤤"],["nearr","↗"],["nearrow","↗"],["nedot","≐̸"],["nequiv","≢"],["nesear","⤨"],["nesim","≂̸"],["nexist","∄"],["nexists","∄"],["nfr","\uD835\uDD2B"],["ngE","≧̸"],["nge","≱"],["ngeq","≱"],["ngeqq","≧̸"],["ngeqslant","⩾̸"],["nges","⩾̸"],["ngsim","≵"],["ngt","≯"],["ngtr","≯"],["nhArr","⇎"],["nharr","↮"],["nhpar","⫲"],["ni","∋"],["nis","⋼"],["nisd","⋺"],["niv","∋"],["njcy","њ"],["nlArr","⇍"],["nlE","≦̸"],["nlarr","↚"],["nldr","‥"],["nle","≰"],["nleftarrow","↚"],["nleftrightarrow","↮"],["nleq","≰"],["nleqq","≦̸"],["nleqslant","⩽̸"],["nles","⩽̸"],["nless","≮"],["nlsim","≴"],["nlt","≮"],["nltri","⋪"],["nltrie","⋬"],["nmid","∤"],["nopf","\uD835\uDD5F"],["not","\xac"],["notin","∉"],["notinE","⋹̸"],["notindot","⋵̸"],["notinva","∉"],["notinvb","⋷"],["notinvc","⋶"],["notni","∌"],["notniva","∌"],["notnivb","⋾"],["notnivc","⋽"],["npar","∦"],["nparallel","∦"],["nparsl","⫽⃥"],["npart","∂̸"],["npolint","⨔"],["npr","⊀"],["nprcue","⋠"],["npre","⪯̸"],["nprec","⊀"],["npreceq","⪯̸"],["nrArr","⇏"],["nrarr","↛"],["nrarrc","⤳̸"],["nrarrw","↝̸"],["nrightarrow","↛"],["nrtri","⋫"],["nrtrie","⋭"],["nsc","⊁"],["nsccue","⋡"],["nsce","⪰̸"],["nscr","\uD835\uDCC3"],["nshortmid","∤"],["nshortparallel","∦"],["nsim","≁"],["nsime","≄"],["nsimeq","≄"],["nsmid","∤"],["nspar","∦"],["nsqsube","⋢"],["nsqsupe","⋣"],["nsub","⊄"],["nsubE","⫅̸"],["nsube","⊈"],["nsubset","⊂⃒"],["nsubseteq","⊈"],["nsubseteqq","⫅̸"],["nsucc","⊁"],["nsucceq","⪰̸"],["nsup","⊅"],["nsupE","⫆̸"],["nsupe","⊉"],["nsupset","⊃⃒"],["nsupseteq","⊉"],["nsupseteqq","⫆̸"],["ntgl","≹"],["ntilde","\xf1"],["ntlg","≸"],["ntriangleleft","⋪"],["ntrianglelefteq","⋬"],["ntriangleright","⋫"],["ntrianglerighteq","⋭"],["nu","ν"],["num","#"],["numero","№"],["numsp"," "],["nvDash","⊭"],["nvHarr","⤄"],["nvap","≍⃒"],["nvdash","⊬"],["nvge","≥⃒"],["nvgt",">⃒"],["nvinfin","⧞"],["nvlArr","⤂"],["nvle","≤⃒"],["nvlt","<⃒"],["nvltrie","⊴⃒"],["nvrArr","⤃"],["nvrtrie","⊵⃒"],["nvsim","∼⃒"],["nwArr","⇖"],["nwarhk","⤣"],["nwarr","↖"],["nwarrow","↖"],["nwnear","⤧"],["oS","Ⓢ"],["oacute","\xf3"],["oast","⊛"],["ocir","⊚"],["ocirc","\xf4"],["ocy","о"],["odash","⊝"],["odblac","ő"],["odiv","⨸"],["odot","⊙"],["odsold","⦼"],["oelig","œ"],["ofcir","⦿"],["ofr","\uD835\uDD2C"],["ogon","˛"],["ograve","\xf2"],["ogt","⧁"],["ohbar","⦵"],["ohm","Ω"],["oint","∮"],["olarr","↺"],["olcir","⦾"],["olcross","⦻"],["oline","‾"],["olt","⧀"],["omacr","ō"],["omega","ω"],["omicron","ο"],["omid","⦶"],["ominus","⊖"],["oopf","\uD835\uDD60"],["opar","⦷"],["operp","⦹"],["oplus","⊕"],["or","∨"],["orarr","↻"],["ord","⩝"],["order","ℴ"],["orderof","ℴ"],["ordf","\xaa"],["ordm","\xba"],["origof","⊶"],["oror","⩖"],["orslope","⩗"],["orv","⩛"],["oscr","ℴ"],["oslash","\xf8"],["osol","⊘"],["otilde","\xf5"],["otimes","⊗"],["otimesas","⨶"],["ouml","\xf6"],["ovbar","⌽"],["par","∥"],["para","\xb6"],["parallel","∥"],["parsim","⫳"],["parsl","⫽"],["part","∂"],["pcy","п"],["percnt","%"],["period","."],["permil","‰"],["perp","⊥"],["pertenk","‱"],["pfr","\uD835\uDD2D"],["phi","φ"],["phiv","ϕ"],["phmmat","ℳ"],["phone","☎"],["pi","π"],["pitchfork","⋔"],["piv","ϖ"],["planck","ℏ"],["planckh","ℎ"],["plankv","ℏ"],["plus","+"],["plusacir","⨣"],["plusb","⊞"],["pluscir","⨢"],["plusdo","∔"],["plusdu","⨥"],["pluse","⩲"],["plusmn","\xb1"],["plussim","⨦"],["plustwo","⨧"],["pm","\xb1"],["pointint","⨕"],["popf","\uD835\uDD61"],["pound","\xa3"],["pr","≺"],["prE","⪳"],["prap","⪷"],["prcue","≼"],["pre","⪯"],["prec","≺"],["precapprox","⪷"],["preccurlyeq","≼"],["preceq","⪯"],["precnapprox","⪹"],["precneqq","⪵"],["precnsim","⋨"],["precsim","≾"],["prime","′"],["primes","ℙ"],["prnE","⪵"],["prnap","⪹"],["prnsim","⋨"],["prod","∏"],["profalar","⌮"],["profline","⌒"],["profsurf","⌓"],["prop","∝"],["propto","∝"],["prsim","≾"],["prurel","⊰"],["pscr","\uD835\uDCC5"],["psi","ψ"],["puncsp"," "],["qfr","\uD835\uDD2E"],["qint","⨌"],["qopf","\uD835\uDD62"],["qprime","⁗"],["qscr","\uD835\uDCC6"],["quaternions","ℍ"],["quatint","⨖"],["quest","?"],["questeq","≟"],["quot","\\""],["rAarr","⇛"],["rArr","⇒"],["rAtail","⤜"],["rBarr","⤏"],["rHar","⥤"],["race","∽̱"],["racute","ŕ"],["radic","√"],["raemptyv","⦳"],["rang","⟩"],["rangd","⦒"],["range","⦥"],["rangle","⟩"],["raquo","\xbb"],["rarr","→"],["rarrap","⥵"],["rarrb","⇥"],["rarrbfs","⤠"],["rarrc","⤳"],["rarrfs","⤞"],["rarrhk","↪"],["rarrlp","↬"],["rarrpl","⥅"],["rarrsim","⥴"],["rarrtl","↣"],["rarrw","↝"],["ratail","⤚"],["ratio","∶"],["rationals","ℚ"],["rbarr","⤍"],["rbbrk","❳"],["rbrace","}"],["rbrack","]"],["rbrke","⦌"],["rbrksld","⦎"],["rbrkslu","⦐"],["rcaron","ř"],["rcedil","ŗ"],["rceil","⌉"],["rcub","}"],["rcy","р"],["rdca","⤷"],["rdldhar","⥩"],["rdquo","”"],["rdquor","”"],["rdsh","↳"],["real","ℜ"],["realine","ℛ"],["realpart","ℜ"],["reals","ℝ"],["rect","▭"],["reg","\xae"],["rfisht","⥽"],["rfloor","⌋"],["rfr","\uD835\uDD2F"],["rhard","⇁"],["rharu","⇀"],["rharul","⥬"],["rho","ρ"],["rhov","ϱ"],["rightarrow","→"],["rightarrowtail","↣"],["rightharpoondown","⇁"],["rightharpoonup","⇀"],["rightleftarrows","⇄"],["rightleftharpoons","⇌"],["rightrightarrows","⇉"],["rightsquigarrow","↝"],["rightthreetimes","⋌"],["ring","˚"],["risingdotseq","≓"],["rlarr","⇄"],["rlhar","⇌"],["rlm","‏"],["rmoust","⎱"],["rmoustache","⎱"],["rnmid","⫮"],["roang","⟭"],["roarr","⇾"],["robrk","⟧"],["ropar","⦆"],["ropf","\uD835\uDD63"],["roplus","⨮"],["rotimes","⨵"],["rpar",")"],["rpargt","⦔"],["rppolint","⨒"],["rrarr","⇉"],["rsaquo","›"],["rscr","\uD835\uDCC7"],["rsh","↱"],["rsqb","]"],["rsquo","’"],["rsquor","’"],["rthree","⋌"],["rtimes","⋊"],["rtri","▹"],["rtrie","⊵"],["rtrif","▸"],["rtriltri","⧎"],["ruluhar","⥨"],["rx","℞"],["sacute","ś"],["sbquo","‚"],["sc","≻"],["scE","⪴"],["scap","⪸"],["scaron","š"],["sccue","≽"],["sce","⪰"],["scedil","ş"],["scirc","ŝ"],["scnE","⪶"],["scnap","⪺"],["scnsim","⋩"],["scpolint","⨓"],["scsim","≿"],["scy","с"],["sdot","⋅"],["sdotb","⊡"],["sdote","⩦"],["seArr","⇘"],["searhk","⤥"],["searr","↘"],["searrow","↘"],["sect","\xa7"],["semi",";"],["seswar","⤩"],["setminus","∖"],["setmn","∖"],["sext","✶"],["sfr","\uD835\uDD30"],["sfrown","⌢"],["sharp","♯"],["shchcy","щ"],["shcy","ш"],["shortmid","∣"],["shortparallel","∥"],["shy","\xad"],["sigma","σ"],["sigmaf","ς"],["sigmav","ς"],["sim","∼"],["simdot","⩪"],["sime","≃"],["simeq","≃"],["simg","⪞"],["simgE","⪠"],["siml","⪝"],["simlE","⪟"],["simne","≆"],["simplus","⨤"],["simrarr","⥲"],["slarr","←"],["smallsetminus","∖"],["smashp","⨳"],["smeparsl","⧤"],["smid","∣"],["smile","⌣"],["smt","⪪"],["smte","⪬"],["smtes","⪬︀"],["softcy","ь"],["sol","/"],["solb","⧄"],["solbar","⌿"],["sopf","\uD835\uDD64"],["spades","♠"],["spadesuit","♠"],["spar","∥"],["sqcap","⊓"],["sqcaps","⊓︀"],["sqcup","⊔"],["sqcups","⊔︀"],["sqsub","⊏"],["sqsube","⊑"],["sqsubset","⊏"],["sqsubseteq","⊑"],["sqsup","⊐"],["sqsupe","⊒"],["sqsupset","⊐"],["sqsupseteq","⊒"],["squ","□"],["square","□"],["squarf","▪"],["squf","▪"],["srarr","→"],["sscr","\uD835\uDCC8"],["ssetmn","∖"],["ssmile","⌣"],["sstarf","⋆"],["star","☆"],["starf","★"],["straightepsilon","ϵ"],["straightphi","ϕ"],["strns","\xaf"],["sub","⊂"],["subE","⫅"],["subdot","⪽"],["sube","⊆"],["subedot","⫃"],["submult","⫁"],["subnE","⫋"],["subne","⊊"],["subplus","⪿"],["subrarr","⥹"],["subset","⊂"],["subseteq","⊆"],["subseteqq","⫅"],["subsetneq","⊊"],["subsetneqq","⫋"],["subsim","⫇"],["subsub","⫕"],["subsup","⫓"],["succ","≻"],["succapprox","⪸"],["succcurlyeq","≽"],["succeq","⪰"],["succnapprox","⪺"],["succneqq","⪶"],["succnsim","⋩"],["succsim","≿"],["sum","∑"],["sung","♪"],["sup","⊃"],["sup1","\xb9"],["sup2","\xb2"],["sup3","\xb3"],["supE","⫆"],["supdot","⪾"],["supdsub","⫘"],["supe","⊇"],["supedot","⫄"],["suphsol","⟉"],["suphsub","⫗"],["suplarr","⥻"],["supmult","⫂"],["supnE","⫌"],["supne","⊋"],["supplus","⫀"],["supset","⊃"],["supseteq","⊇"],["supseteqq","⫆"],["supsetneq","⊋"],["supsetneqq","⫌"],["supsim","⫈"],["supsub","⫔"],["supsup","⫖"],["swArr","⇙"],["swarhk","⤦"],["swarr","↙"],["swarrow","↙"],["swnwar","⤪"],["szlig","\xdf"],["target","⌖"],["tau","τ"],["tbrk","⎴"],["tcaron","ť"],["tcedil","ţ"],["tcy","т"],["tdot","⃛"],["telrec","⌕"],["tfr","\uD835\uDD31"],["there4","∴"],["therefore","∴"],["theta","θ"],["thetasym","ϑ"],["thetav","ϑ"],["thickapprox","≈"],["thicksim","∼"],["thinsp"," "],["thkap","≈"],["thksim","∼"],["thorn","\xfe"],["tilde","˜"],["times","\xd7"],["timesb","⊠"],["timesbar","⨱"],["timesd","⨰"],["tint","∭"],["toea","⤨"],["top","⊤"],["topbot","⌶"],["topcir","⫱"],["topf","\uD835\uDD65"],["topfork","⫚"],["tosa","⤩"],["tprime","‴"],["trade","™"],["triangle","▵"],["triangledown","▿"],["triangleleft","◃"],["trianglelefteq","⊴"],["triangleq","≜"],["triangleright","▹"],["trianglerighteq","⊵"],["tridot","◬"],["trie","≜"],["triminus","⨺"],["triplus","⨹"],["trisb","⧍"],["tritime","⨻"],["trpezium","⏢"],["tscr","\uD835\uDCC9"],["tscy","ц"],["tshcy","ћ"],["tstrok","ŧ"],["twixt","≬"],["twoheadleftarrow","↞"],["twoheadrightarrow","↠"],["uArr","⇑"],["uHar","⥣"],["uacute","\xfa"],["uarr","↑"],["ubrcy","ў"],["ubreve","ŭ"],["ucirc","\xfb"],["ucy","у"],["udarr","⇅"],["udblac","ű"],["udhar","⥮"],["ufisht","⥾"],["ufr","\uD835\uDD32"],["ugrave","\xf9"],["uharl","↿"],["uharr","↾"],["uhblk","▀"],["ulcorn","⌜"],["ulcorner","⌜"],["ulcrop","⌏"],["ultri","◸"],["umacr","ū"],["uml","\xa8"],["uogon","ų"],["uopf","\uD835\uDD66"],["uparrow","↑"],["updownarrow","↕"],["upharpoonleft","↿"],["upharpoonright","↾"],["uplus","⊎"],["upsi","υ"],["upsih","ϒ"],["upsilon","υ"],["upuparrows","⇈"],["urcorn","⌝"],["urcorner","⌝"],["urcrop","⌎"],["uring","ů"],["urtri","◹"],["uscr","\uD835\uDCCA"],["utdot","⋰"],["utilde","ũ"],["utri","▵"],["utrif","▴"],["uuarr","⇈"],["uuml","\xfc"],["uwangle","⦧"],["vArr","⇕"],["vBar","⫨"],["vBarv","⫩"],["vDash","⊨"],["vangrt","⦜"],["varepsilon","ϵ"],["varkappa","ϰ"],["varnothing","∅"],["varphi","ϕ"],["varpi","ϖ"],["varpropto","∝"],["varr","↕"],["varrho","ϱ"],["varsigma","ς"],["varsubsetneq","⊊︀"],["varsubsetneqq","⫋︀"],["varsupsetneq","⊋︀"],["varsupsetneqq","⫌︀"],["vartheta","ϑ"],["vartriangleleft","⊲"],["vartriangleright","⊳"],["vcy","в"],["vdash","⊢"],["vee","∨"],["veebar","⊻"],["veeeq","≚"],["vellip","⋮"],["verbar","|"],["vert","|"],["vfr","\uD835\uDD33"],["vltri","⊲"],["vnsub","⊂⃒"],["vnsup","⊃⃒"],["vopf","\uD835\uDD67"],["vprop","∝"],["vrtri","⊳"],["vscr","\uD835\uDCCB"],["vsubnE","⫋︀"],["vsubne","⊊︀"],["vsupnE","⫌︀"],["vsupne","⊋︀"],["vzigzag","⦚"],["wcirc","ŵ"],["wedbar","⩟"],["wedge","∧"],["wedgeq","≙"],["weierp","℘"],["wfr","\uD835\uDD34"],["wopf","\uD835\uDD68"],["wp","℘"],["wr","≀"],["wreath","≀"],["wscr","\uD835\uDCCC"],["xcap","⋂"],["xcirc","◯"],["xcup","⋃"],["xdtri","▽"],["xfr","\uD835\uDD35"],["xhArr","⟺"],["xharr","⟷"],["xi","ξ"],["xlArr","⟸"],["xlarr","⟵"],["xmap","⟼"],["xnis","⋻"],["xodot","⨀"],["xopf","\uD835\uDD69"],["xoplus","⨁"],["xotime","⨂"],["xrArr","⟹"],["xrarr","⟶"],["xscr","\uD835\uDCCD"],["xsqcup","⨆"],["xuplus","⨄"],["xutri","△"],["xvee","⋁"],["xwedge","⋀"],["yacute","\xfd"],["yacy","я"],["ycirc","ŷ"],["ycy","ы"],["yen","\xa5"],["yfr","\uD835\uDD36"],["yicy","ї"],["yopf","\uD835\uDD6A"],["yscr","\uD835\uDCCE"],["yucy","ю"],["yuml","\xff"],["zacute","ź"],["zcaron","ž"],["zcy","з"],["zdot","ż"],["zeetrf","ℨ"],["zeta","ζ"],["zfr","\uD835\uDD37"],["zhcy","ж"],["zigrarr","⇝"],["zopf","\uD835\uDD6B"],["zscr","\uD835\uDCCF"],["zwj","‍"],["zwnj","‌"]]')),Te=e=>{if(!e.startsWith("&")||!e.endsWith(";"))return;let t=e.slice(1,-1);if(!t.startsWith("#"))return U7.get(t);let r="x"===t.charAt(1)||"X"===t.charAt(1),i=r?t.slice(2):t.slice(1);if(0===i.length||!(r?/^[0-9a-f]+$/i:/^[0-9]+$/).test(i))return;let n=Number.parseInt(i,r?16:10);return 0===n||n>1114111||n>=55296&&n<=57343?"�":String.fromCodePoint(n)},Tt="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",Tr="&(?:#x[a-f0-9]{1,6}|#[0-9]{1,7}|[a-z][a-z0-9]{1,31});",Ti=/[\\&]/,Tn=RegExp(`\\\\${Tt}|${Tr}`,"gi"),Ts=e=>92===e.charCodeAt(0)?e.charAt(1):Te(e)??e,Ta=e=>Ti.test(e)?e.replace(Tn,Ts):e,To=/^[ \t]*$/,TA=/^(?:`{3,}|~{3,})(?=[ \t]*$)/,Tl={type:"code",acceptsLines:!0,canContain:()=>!1,continue:(e,t)=>{if(!0===t.data.isFenced){let r=e.currentLine,i=e.indent<=3&&r.charAt(e.nextNonspace)===t.data.fenceChar?TA.exec(r.slice(e.nextNonspace)):null;if(null!==i&&i[0].length>=(t.data.fenceLength??3))return e.setLastLineLength(e.offset+e.indent+i[0].length),e.finalizeBlock(t,e.lineNumber),2;let n=t.data.fenceOffset??0;for(;n>0&&Uz(UV(r,e.offset));)e.advanceOffset(1,!0),n-=1;return 0}if(e.indent>=4)e.advanceOffset(4,!0);else{if(!e.blank)return 1;e.advanceNextNonspace()}return 0},finalize:(e,t)=>{if(!0===t.data.isFenced)(e=>{let t=e.stringContent,r=t.indexOf("\n"),i=(-1===r?t:t.slice(0,r)).trim();if(e.stringContent=-1===r?"":t.slice(r+1),0===i.length)return;let n=i.search(/[ \t]/);if(-1===n){e.data.lang=Ta(i);return}e.data.lang=Ta(i.slice(0,n));let s=i.slice(n).trim();s.length>0&&(e.data.meta=Ta(s))})(t);else{let e=t.stringContent.split("\n");for(;e.length>0&&To.test(e[e.length-1]??"");)e.pop();t.stringContent=0===e.length?"":`${e.join("\n")} +`;let r=t.segments[e.length-1];void 0!==r&&(t.endOffset=r.sourceOffset+r.length,t.endLine=t.startLine+e.length-1)}},materialize:(e,t,r)=>{let{isFenced:i,fenceChar:n,fenceLength:s,lang:a,meta:o}=e.data;return UI.make({value:e.stringContent,position:r.position(e.startOffset,e.endOffset),...void 0===a?{}:{lang:a},...void 0===o?{}:{meta:o},...!0===i&&void 0!==n?{fenceChar:n}:{},...!0===i&&void 0!==s?{fenceLength:s}:{}})}},Tc={type:"document",acceptsLines:!1,canContain:e=>"listItem"!==e,continue:()=>0,materialize:(e,t,r)=>UO.make({children:t,position:r.position(e.startOffset,e.endOffset)})},Td=/^`{3,}(?!.*`)|^~{3,}/,Tu={name:"fencedCode",trigger:e=>{let t;if(e.indented)return 0;let r=Td.exec(e.currentLine.slice(e.nextNonspace));if(null===r)return 0;let i="`"===(t=r[0].charAt(0))||"~"===t?t:void 0;if(void 0===i)return 0;e.closeUnmatchedBlocks();let n=e.addChild("code",e.nextNonspace);return n.data.isFenced=!0,n.data.fenceLength=r[0].length,n.data.fenceChar=i,n.data.fenceOffset=e.indent,e.advanceNextNonspace(),e.advanceOffset(r[0].length,!1),2}},Tg=new WeakMap,Th=new WeakMap,Tp=(e,t,r)=>RegExp(r&&e.source.startsWith("^")?e.source.slice(1):e.source,`${e.flags.replace(/[gy]/g,"")}${t}`),Tm=e=>{let t=Tg.get(e);if(void 0!==t)return t;let r=Tp(e,"y",!0);return Tg.set(e,r),r},Tf="[!\"#$%&'()*+,./:;<=>?@[\\\\\\]^_`{|}~-]",TC=`\\\\${Tf}`,Ty=RegExp(`^(?:"(${TC}|\\\\[^\\\\]|[^\\\\"\\x00])*"|'(${TC}|\\\\[^\\\\]|[^\\\\'\\x00])*'|\\((${TC}|\\\\[^\\\\]|[^\\\\()\\x00])*\\))`),TI=/^(?:<(?:[^<>\n\\\0]|\\.)*>)/,TE=RegExp(`^${Tf}`),TB=/^ *(?:\n *)?/,TQ=/^ *(?:\n|$)/,Tb=/^\[(?:[^\\[\]]|\\.){0,1000}\]/s,TN=e=>32===e||9===e||10===e||11===e||12===e||13===e;var TS=class{subject;pos=0;constructor(e){this.subject=e}peek(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1}match(e){let t=Tm(e);t.lastIndex=this.pos;let r=t.exec(this.subject);if(null!==r)return this.pos=t.lastIndex,r[0]}spnl(){this.match(TB)}parseLinkLabel(){let e=this.match(Tb);return void 0===e||e.length>1001?0:e.length}parseLinkDestination(){let e=this.match(TI);if(void 0!==e)return Ta(e.slice(1,-1));if(60===this.peek())return;let t=this.pos,r=0,i=this.peek();for(;-1!==i;){if(92===i&&TE.test(this.subject.charAt(this.pos+1)))this.pos+=1,-1!==this.peek()&&(this.pos+=1);else if(40===i){if(this.pos+=1,(r+=1)>32)return}else if(41===i){if(r<1)break;this.pos+=1,r-=1}else if(TN(i))break;else this.pos+=1;i=this.peek()}if((this.pos!==t||41===i)&&0===r)return Ta(this.subject.slice(t,this.pos))}parseLinkTitle(){let e=this.match(Ty);return void 0===e?void 0:Ta(e.slice(1,-1))}};let Tw=e=>e.trim().replace(/[ \t\r\n]+/g," ").toLowerCase().toUpperCase(),Tx=e=>Tw(e.slice(1,e.length-1)),TD=e=>{let t=new TS(e),r=t.parseLinkLabel();if(0===r)return;let i=e.slice(0,r);if(58!==t.peek())return;t.pos+=1,t.spnl();let n=t.parseLinkDestination();if(void 0===n)return;let s=t.pos;t.spnl();let a=t.pos===s?void 0:t.parseLinkTitle();void 0===a&&(t.pos=s);let o=!0;if(void 0===t.match(TQ)&&(void 0===a?o=!1:(a=void 0,t.pos=s,o=void 0!==t.match(TQ))),!o)return;let A=Tx(i);if(""!==A)return{key:A,identifier:A.toLowerCase(),label:i.slice(1,-1),url:n,...void 0===a?{}:{title:a},length:t.pos}},TR=/\[\^([^\]\0\t\n\r ]+)\]:[ \t]*/,Tv={name:"indentedCode",trigger:e=>{if(!e.indented||"paragraph"===e.tip.type||e.blank)return 0;let t=e.offset;return e.advanceOffset(4,!0),e.closeUnmatchedBlocks(),e.addChild("code",t),2}},Tk=(e,t,r)=>{let i=r;for(let r of e){if(t<r.textOffset)break;if(t<r.textOffset+r.length)return r.sourceOffset+(t-r.textOffset);i=r.sourceOffset+r.length}return i},TM=(e,t,r)=>{let i=[];for(let n of e){let e=Math.max(n.textOffset,t),s=Math.min(n.textOffset+n.length,r);s>e&&i.push({textOffset:e-t,sourceOffset:n.sourceOffset+(e-n.textOffset),length:s-e})}return i},TF=e=>{let t=e.parent;if(void 0!==t)for(;91===e.stringContent.charCodeAt(0);){let r=TD(e.stringContent);if(void 0===r)return;let i=e.stringContent.slice(0,r.length),n=Tk(e.segments,0,e.startOffset),s=(i.match(/\n/g)??[]).length,a=i.replace(/[ \t\r\n]+$/,"").length,o=Tk(e.segments,a,n),A=(i.slice(0,a).match(/\n/g)??[]).length,l=UG("definition",n,e.startLine,e.depth);l.parent=t,l.open=!1,l.endOffset=o,l.endLine=e.startLine+A,l.data.definition={key:r.key,identifier:r.identifier,label:r.label,url:r.url,...void 0===r.title?{}:{title:r.title}};let c=t.children.indexOf(e);t.children.splice(-1===c?t.children.length:c,0,l);let d=TM(e.segments,r.length,e.stringContent.length);e.stringContent=e.stringContent.slice(r.length),e.segments.splice(0,e.segments.length,...d),e.startLine+=s,e.startOffset=d[0]?.sourceOffset??o}},TU={type:"definition",acceptsLines:!1,canContain:()=>!1,continue:()=>1,materialize:(e,t,r)=>{let i=e.data.definition;if(void 0!==i)return UE.make({identifier:i.identifier,label:i.label,url:i.url,position:r.position(e.startOffset,e.endOffset),...void 0===i.title?{}:{title:i.title}})}},TT=/^[*+-]/,TL=/^(\d{1,9})([.)])/,TO=/[^ \t\f\v\r\n]/,TP=(e,t)=>void 0!==t&&e.endLine!==t.startLine-1,TH=e=>e.children.some((t,r)=>TP(t,e.children[r+1])),TY={type:"list",acceptsLines:!1,canContain:e=>"listItem"===e,continue:()=>0,finalize:(e,t)=>{let r=!0;for(let[e,i]of t.children.entries()){let n=TH(i);i.data.spread=n,(TP(i,t.children[e+1])||n)&&(r=!1)}let i=t.data.listData;void 0!==i&&(i.tight=r),t.data.spread=!r;let n=t.children[t.children.length-1];void 0!==n&&(t.endOffset=n.endOffset,t.endLine=n.endLine)},materialize:(e,t,r)=>{let i=e.data.listData,n=i?.type==="ordered";return US.make({ordered:n,spread:e.data.spread??!1,children:t.filter(e=>"listItem"===e.type),position:r.position(e.startOffset,e.endOffset),...n&&i?.start!==void 0?{start:i.start}:{},...i?.bulletChar===void 0?{}:{bulletChar:i.bulletChar},...i?.delimiter===void 0?{}:{delimiter:i.delimiter}})}},TG={type:"listItem",acceptsLines:!1,canContain:e=>"listItem"!==e,continue:(e,t)=>{let r=t.data.listData;if(void 0===r)return 1;if(e.blank){if(0===t.children.length)return 1;e.advanceNextNonspace()}else{if(!(e.indent>=r.markerOffset+r.padding))return 1;e.advanceOffset(r.markerOffset+r.padding,!0)}return 0},finalize:(e,t)=>{let r=t.children[t.children.length-1];if(void 0!==r){t.endOffset=r.endOffset,t.endLine=r.endLine;return}t.endLine=t.startLine,t.endOffset=t.startOffset+(t.data.listData?.padding??0)},materialize:(e,t,r)=>UN.make({spread:e.data.spread??!1,children:UY(t),position:r.position(e.startOffset,e.endOffset),...void 0===e.data.checked?{}:{checked:e.data.checked}})},Tq={name:"listItem",trigger:(e,t)=>{if(e.indented&&"list"!==t.type)return 0;let r=((e,t)=>{let r,i;if(e.indent>=4)return;let n=e.currentLine.slice(e.nextNonspace),s=e.indent,a=TT.exec(n),o=null===a?TL.exec(n):null;if(null!==a){let e,t="-"===(e=a[0].charAt(0))||"*"===e||"+"===e?e:void 0;r={type:"bullet",tight:!0,padding:0,markerOffset:s,...void 0===t?{}:{bulletChar:t}},i=a[0].length}else{if(null===o||"paragraph"===t.type&&1!==Number.parseInt(o[1]??"",10))return;let e,n="."===(e=o[2]??"")||")"===e?e:void 0;r={type:"ordered",tight:!0,padding:0,markerOffset:s,start:Number.parseInt(o[1]??"1",10),...void 0===n?{}:{delimiter:n}},i=o[0].length}let A=UV(e.currentLine,e.nextNonspace+i);if(!(-1===A||Uz(A))||"paragraph"===t.type&&!TO.test(e.currentLine.slice(e.nextNonspace+i)))return;e.advanceNextNonspace(),e.advanceOffset(i,!0);let l=e.column,c=e.offset;do e.advanceOffset(1,!0);while(e.column-l<5&&Uz(UV(e.currentLine,e.offset)));let d=-1===UV(e.currentLine,e.offset),u=e.column-l;return u>=5||u<1||d?(r.padding=i+1,e.setScanPosition(c,l),Uz(UV(e.currentLine,e.offset))&&e.advanceOffset(1,!0)):r.padding=i+u,r})(e,t);if(void 0===r)return 0;e.closeUnmatchedBlocks();let i=e.tip,n=i.data.listData;return("list"!==i.type||void 0===n||n.type!==r.type||n.delimiter!==r.delimiter||n.bulletChar!==r.bulletChar)&&(e.addChild("list",e.nextNonspace).data.listData=r),e.addChild("listItem",e.nextNonspace).data.listData=r,1}},Tz={type:"paragraph",acceptsLines:!0,canContain:()=>!1,continue:e=>+!!e.blank,finalize:(e,t)=>{TF(t)},materialize:(e,t,r)=>{let i=r.inlineSlice(e);if(0===i.text.length)return;let n=UQ.make({children:i.children,position:r.position(e.startOffset,e.endOffset)});return r.registerInline(n,i),n}},TV=/^(?:=+|-+)[ \t]*$/,T_={name:"setextHeading",trigger:(e,t)=>{if(e.indented||"paragraph"!==t.type)return 0;let r=TV.exec(e.currentLine.slice(e.nextNonspace));if(null===r||(e.closeUnmatchedBlocks(),TF(t),0===t.stringContent.length))return 0;let i=e.replaceBlock(t,"heading");return i.data.level="="===r[0].charAt(0)?1:2,i.data.headingStyle="setext",e.advanceOffset(e.currentLine.length-e.offset,!1),2}},TJ=RegExp(`^${Tt}`),TW=e=>" "===e||" "===e||"\v"===e||"\f"===e,Tj=(e,t)=>{if("|"!==e.charAt(t))return 0;let r=t+1;for(;TW(e.charAt(r));)r+=1;return r-t},TK=(e,t)=>{let r=t;for(;r<e.length;){let t=e.charAt(r);if("\\"===t&&TJ.test(e.charAt(r+1))){r+=2;continue}if("|"===t||"\r"===t||"\n"===t)break;r+=1}return r-t},T$=(e,t)=>{let r=t;for(;TW(e.charAt(r));)r+=1;return("\r"===e.charAt(r)&&(r+=1),"\n"!==e.charAt(r))?0:r+1-t},TX=e=>{let{text:t}=e,r=t.length,i=[],n=0,s=!0,a=Tj(t,0);for(;a<r&&s;){let e=TK(t,a),o=Tj(t,a+e);if(e>0||o>0){let r=a;for(;r>n&&"|"!==t.charAt(r-1);)r-=1;i.push({start:r,contentStart:a,end:a+e})}if(a+=e+o,o>0){s=!0;continue}let A=T$(t,a);a+=A,A>0&&a!==r?(n=a,i=[],a+=Tj(t,a),s=!0):s=!1}if(a===r&&0!==i.length)return{cells:i,paragraphOffset:n}},TZ=(e,t,r)=>{let{text:i}=e,n=[];for(let e=t;e<r;e+=1)"\\"===i.charAt(e)&&e+1<r&&"|"===i.charAt(e+1)&&(n.push(e),e+=1);if(0===n.length)return{text:i.slice(t,r),segments:T0(TM(e.segments,t,r),0)};let s="",a=[],o=t;for(let t of[...n,r])t>o&&(a.push(...T0(TM(e.segments,o,t),s.length)),s+=i.slice(o,t)),o=t+1;return{text:s,segments:a}},T0=(e,t)=>0===t?e:e.map(e=>({textOffset:e.textOffset+t,sourceOffset:e.sourceOffset,length:e.length})),T1=(e,t,r)=>{for(let r of e.segments){if(t<r.textOffset)return r.sourceOffset;if(t<=r.textOffset+r.length)return r.sourceOffset+(t-r.textOffset)}let i=e.segments[e.segments.length-1];return void 0===i?r:i.sourceOffset+i.length},T2=e=>{let t=e.currentLine.slice(e.nextNonspace);return{text:`${t} +`,segments:[{textOffset:0,sourceOffset:e.lineStart+e.nextNonspace,length:t.length}]}},T3=(e,t,r)=>{e.finalizeBlock(t,e.lineNumber),t.endLine=e.lineNumber,t.endOffset=r},T5=(e,t,r,i,n,s)=>{let a=e.addChild("tableRow",n-e.lineStart);a.startOffset=n;let o=Math.min(i.cells.length,t.columns);for(let t=0;t<o;t+=1){let s=i.cells[t];if(void 0===s)continue;let a=T1(r,s.start,n),o=e.addChild("tableCell",a-e.lineStart);o.startOffset=a;let A=TZ(r,s.contentStart,s.end);o.stringContent=A.text,o.segments.push(...A.segments),T3(e,o,T1(r,s.end,a))}for(let r=o;r<t.columns;r+=1){let t=e.addChild("tableCell",s-e.lineStart);t.startOffset=s,T3(e,t,s)}t.rows+=1,t.nonemptyCells+=o,T3(e,a,s)},T4=/^[ \t\v\f]*(?:[-+*]|\d+[^\n])[ \t\v\f]+\[[ xX]\][ \t\v\f]/,T8=/^(?:\*[ \t]*){3,}$|^(?:_[ \t]*){3,}$|^(?:-[ \t]*){3,}$/,T9={type:"thematicBreak",acceptsLines:!1,canContain:()=>!1,continue:()=>1,materialize:(e,t,r)=>{let i=e.data.markerChar;return Uy.make({position:r.position(e.startOffset,e.endOffset),...void 0===i?{}:{markerChar:i}})}},T6={name:"thematicBreak",trigger:e=>{let t;if(e.indented||!T8.test(e.currentLine.slice(e.nextNonspace)))return 0;e.closeUnmatchedBlocks();let r=e.addChild("thematicBreak",e.nextNonspace),i="-"===(t=e.currentLine.charAt(e.nextNonspace))||"_"===t||"*"===t?t:void 0;return void 0!==i&&(r.data.markerChar=i),e.advanceOffset(e.currentLine.length-e.offset,!1),2}},T7=e=>new Map(e.map(e=>[e.type,e])),Le=new Map([["commonmark",{constructs:T7([Tc,U9,TY,TG,Tz,U4,T9,Tl,U0,TU]),starts:[U6,U8,Tu,U1,T_,T6,Tq,Tv]}],["gfm",{constructs:T7([Tc,U9,TY,TG,Tz,U4,T9,Tl,U0,TU,{type:"footnoteDefinition",acceptsLines:!1,canContain:e=>"listItem"!==e,continue:e=>e.indent>=4?(e.advanceOffset(4,!0),0):+(0!==e.currentLine.length),materialize:(e,t,r)=>{let i=e.data.footnote;if(void 0!==i)return UB.make({identifier:i.identifier,label:i.label,children:UY(t),position:r.position(e.startOffset,e.endOffset)})}},{type:"table",acceptsLines:!1,canContain:e=>"tableRow"===e,continue:e=>e.indented?1:+(void 0===TX(T2(e))),materialize:(e,t,r)=>{let i=t.filter(e=>"tableRow"===e.type);if(0!==i.length)return Uk.make({align:e.data.tableData?.align??[],children:i,position:r.position(e.startOffset,e.endOffset)})}},{type:"tableRow",acceptsLines:!1,canContain:e=>"tableCell"===e,continue:()=>1,materialize:(e,t,r)=>UR.make({children:t.filter(e=>"tableCell"===e.type),position:r.position(e.startOffset,e.endOffset)})},{type:"tableCell",acceptsLines:!1,canContain:()=>!1,continue:()=>1,materialize:(e,t,r)=>{let i=r.inlineSlice(e),n=Ux.make({children:i.children,position:r.position(i.startOffset,i.endOffset)});return r.registerInline(n,i),n}}]),starts:[U6,U8,Tu,U1,T_,T6,{name:"footnoteDefinition",trigger:e=>{if(e.indented)return 0;let t=Tm(TR);t.lastIndex=e.nextNonspace;let r=t.exec(e.currentLine),i=r?.[1];if(null===r||void 0===i)return 0;let n=Tw(i);if(""===n)return 0;e.closeUnmatchedBlocks();let s=e.nextNonspace;return e.advanceNextNonspace(),e.advanceOffset(r[0].length,!1),e.addChild("footnoteDefinition",s).data.footnote={key:n,identifier:n.toLowerCase(),label:i},1}},Tq,Tv,{name:"taskListItem",trigger:(e,t)=>{let r;return"listItem"===t.type&&T4.test(e.currentLine)?(t.data.checked=(r=e.currentLine).includes("[x]")||r.includes("[X]"),e.advanceOffset(3,!1),e.findNextNonspace(),e.advanceNextNonspace(),2):0}},{name:"tableHeader",trigger:(e,t)=>{if(e.indented||"paragraph"!==t.type||!0===t.data.tableVisited||!((e,t)=>{let r=t;for("|"===e.charAt(r)&&(r+=1);;){for(;TW(e.charAt(r));)r+=1;":"===e.charAt(r)&&(r+=1);let t=0;for(;"-"===e.charAt(r);)r+=1,t+=1;if(0===t)return!1;for(":"===e.charAt(r)&&(r+=1);TW(e.charAt(r));)r+=1;if("|"!==e.charAt(r))return r>=e.length;let i=r+=1;for(;TW(e.charAt(i));)i+=1;if(i>=e.length)return!0}})(e.currentLine,e.nextNonspace))return 0;let r=T2(e),i=TX(r);if(void 0===i)return 0;let n={text:t.stringContent,segments:t.segments},s=TX(n);if(void 0===s||s.cells.length!==i.cells.length)return t.data.tableVisited=!0,0;e.closeUnmatchedBlocks();let a=T1(n,s.paragraphOffset,t.startOffset);if(s.paragraphOffset>0){let r=TZ(n,0,s.paragraphOffset),i=e.insertBefore(t,"paragraph");i.stringContent=r.text,i.segments.push(...r.segments),i.endOffset=a,i.endLine=Math.max(e.lineNumber-2,i.startLine)}let o=e.replaceBlock(t,"table");o.stringContent="",o.segments.length=0,o.startOffset=a,o.startLine=Math.max(e.lineNumber-1,1);let A={columns:s.cells.length,align:i.cells.map(e=>{let t=r.text.slice(e.contentStart,e.end).trim(),i=t.startsWith(":"),n=t.endsWith(":");return i&&n?"center":i?"left":n?"right":null}),rows:0,nonemptyCells:0};o.data.tableData=A;let l=T1(n,n.text.length-1,a);return T5(e,A,n,s,a,l),e.advanceOffset(e.currentLine.length-e.offset,!1),2}},{name:"tableRow",trigger:(e,t)=>{if(e.indented||e.blank||"table"!==t.type)return 0;let r=t.data.tableData;if(void 0===r||r.columns*r.rows-r.nonemptyCells>524288)return 0;let i=T2(e),n=TX(i);if(void 0===n)return 0;e.closeUnmatchedBlocks();let s=e.lineStart+e.nextNonspace;return T5(e,r,i,n,s,e.lineStart+e.currentLine.length),e.advanceOffset(e.currentLine.length-e.offset,!1),2}}],mayStartBlock:(e,t)=>"table"===t.type||e.startsWith("[")||e.startsWith("|")||e.startsWith(":")}]]),Lt=new Map([["---",{format:"yaml",close:"---"}],["+++",{format:"toml",close:"+++"}],["---json",{format:"json",close:"---"}]]);var Lr=class e{text;lineStarts;constructor(e,t){this.text=e,this.lineStarts=t}static make(t){let r=[0];for(let e=0;e<t.length;e++)10===t.charCodeAt(e)&&r.push(e+1);return new e(t,r)}static fromLineStarts(t,r){if(0===r.length||0!==r[0])throw TypeError("line index: a line table must be non-empty and start at offset 0");return new e(t,r)}positionAt(e){let t=Math.min(Math.max(e,0),this.text.length),r=0,i=this.lineStarts.length-1;for(;r<i;){let e=r+i+1>>1;(this.lineStarts[e]??0)<=t?r=e:i=e-1}let n=this.lineStarts[r]??0;return{line:r+1,column:t-n+1}}};let Li=(e,t,r,i="")=>({type:e,value:i,start:t,end:r,data:{},prev:void 0,next:void 0,parent:void 0,firstChild:void 0,lastChild:void 0}),Ln=(e,t)=>{La(t),t.parent=e,t.prev=e.lastChild,t.next=void 0,void 0===e.lastChild?e.firstChild=t:e.lastChild.next=t,e.lastChild=t},Ls=(e,t)=>{La(t),t.parent=e.parent,t.prev=e,t.next=e.next,void 0===e.next?void 0!==e.parent&&(e.parent.lastChild=t):e.next.prev=t,e.next=t},La=e=>{void 0!==e.prev?e.prev.next=e.next:void 0!==e.parent&&(e.parent.firstChild=e.next),void 0!==e.next?e.next.prev=e.prev:void 0!==e.parent&&(e.parent.lastChild=e.prev),e.prev=void 0,e.next=void 0,e.parent=void 0},Lo=e=>{let t=[];for(let r=e.firstChild;void 0!==r;r=r.next)t.push(r);return t},LA=/^[!"#$%&'()*+,\-./:;<=>?@[\]\\^_`{|}~\p{P}\p{S}]/u,Ll=/^\s/,Lc=(e,t)=>{let r=e.pos,i=0;for(;e.peek()===t;)i+=1,e.pos+=1;if(0===i){e.pos=r;return}let n=0===r?"\n":e.subject.charAt(r-1),s=e.peek(),a=-1===s?"\n":String.fromCodePoint(s),o=Ll.test(a),A=LA.test(a),l=Ll.test(n),c=LA.test(n),d=!o&&(!A||l||c),u=!l&&(!c||o||A);return e.pos=r,{numdelims:i,canOpen:95===t?d&&(!u||c):d,canClose:95===t?u&&(!d||A):u}},Ld=(e,t,r)=>{let i=r.next,n=t.node,s=r.node;if(n.value.length===s.value.length){let e=n.value.length;n.value="",n.end-=e,s.value="",s.start+=e;let t=Li("delete",n.end,s.start),r=n.next;for(;void 0!==r&&r!==s;){let e=r.next;Ln(t,r),r=e}Ls(n,t),La(n),La(s)}let a=r;for(;void 0!==a&&a!==t;){let t=a.previous;e.removeDelimiter(a),a=t}return e.removeDelimiter(t),i},Lu=/^<([a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*)>/,Lg=/^<[A-Za-z][A-Za-z0-9.+-]{1,31}:[^<>\0- ]*>/i,Lh=/^[ \t\n\v\f\r]$/,Lp=/^[0-9A-Za-z]$/,Lm=/^[A-Za-z]$/,Lf=/^[\t\n\f\r \u00a0\u1680\u2000-\u200a\u202f\u205f\u3000]$/,LC=/^[!-/:-@[-`{-~]$/,Ly=/^\p{P}$/u,LI=["http://","https://","ftp://"],LE=(e,t)=>{let r=e.codePointAt(t);if(void 0===r)return!1;let i=String.fromCodePoint(r);return!Lf.test(i)&&!(r<128?LC.test(i):Ly.test(i))},LB=(e,t,r)=>{let i=r,n=0,s=0;for(let r=0;r<i;r+=1){let a=e.charAt(t+r);if("<"===a){i=r;break}"("===a?n+=1:")"===a&&(s+=1)}for(;i>0;){let r=e.charAt(t+i-1);if(")"===r){if(s<=n)return i;s-=1,i-=1;continue}if("?!.,:*_~'\"".includes(r)){i-=1;continue}if(";"===r){if(i<2){i-=1;continue}let r=i-2;for(;r>0&&Lm.test(e.charAt(t+r));)r-=1;r<i-2&&"&"===e.charAt(t+r)?i=r:i-=1;continue}break}return i},LQ=(e,t,r,i)=>{let n=1,s=0,a=0,o=0;for(;n<r-1;n+=1){"\\"===e.charAt(t+n)&&n<r-2&&(n+=1);let i=e.charAt(t+n);if("_"===i)o+=1;else if("."===i)a=o,o=0,s+=1;else if(!LE(e,t+n)&&"-"!==i)break}return(a>0||o>0)&&s<=10?0:i||s>0?n:0},Lb=(e,t,r,i)=>{let n=r;for(;n<i;){let r=e.charAt(t+n);if(Lh.test(r)||"<"===r)break;n+=1}return n},LN=(e,t,r,i)=>{let n=e.subject.slice(t,r),s=Li("link",t,r);s.data.url=i,Ln(s,Li("text",t,r,n)),e.append(s),e.pos=r},LS=(e,t,r,i,n)=>{let s=e.length;return!(s>n-i)&&t.slice(r-i-s,r-i)===e&&(s===n-i||!Lp.test(t.charAt(r-i-s-1)))},Lw=e=>{let t=e.map(e=>e.node.value).join(""),r=(e=>{let t=[],r=0,i=0,n=e.length;for(;i<n;){let s=e.indexOf("@",r+i);if(-1===s)break;let a=s-(r+i),o=!0,A=!1,l=0,c=1,d=0,u=!0,g=!1;for(;u;){for(l=0,u=!1;l<a;l+=1){let t=e.charAt(r+i+a-l-1);if(!(Lp.test(t)||".+-_".includes(t))){if(":"===t){if(LS("mailto:",e,r+i+a,l,a)){o=!1;continue}if(LS("xmpp:",e,r+i+a,l,a)){o=!1,A=!0;continue}}break}}if(0===l){i+=a+1,g=!0;break}let t=n-i-a;for(c=1;c<t;c+=1){let n=e.charAt(r+i+a+c);if(!Lp.test(n)){if("@"===n){i+=a+1,a=c-1,u=!0;break}if("."===n&&c<t-1&&Lp.test(e.charAt(r+i+a+c+1))){d+=1;continue}if(("/"!==n||!A)&&"-"!==n&&"_"!==n)break}}}if(g)continue;let h=e.charAt(r+i+a+c-1);if(c<2||0===d||!Lm.test(h)&&"."!==h){i+=a+c;continue}if(0===(c=LB(e,r+i+a,c))){i+=a+1;continue}let p=r+i+a-l,m=r+i+a+c,f=e.slice(p,m);t.push({from:p,to:m,url:o?`mailto:${f}`:f}),r+=i+a+c,n-=i+a+c,i=0}return t})(t);if(0===r.length)return;let i=t=>{for(let r of e){let e=t-r.valueStart;if(e<=r.node.value.length)return r.node.start+Math.min(e,r.node.end-r.node.start)}let r=e[e.length-1];return void 0===r?0:r.node.end},n=[],s=0,a=(e,r)=>{r<=e||n.push(Li("text",i(e),i(r),t.slice(e,r)))};for(let e of r){a(s,e.from);let r=i(e.from),o=i(e.to),A=Li("link",r,o);A.data.url=e.url,Ln(A,Li("text",r,o,t.slice(e.from,e.to))),n.push(A),s=e.to}a(s,t.length);let o=e[e.length-1];if(void 0===o)return;let A=o.node;for(let e of n)Ls(A,e),A=e;for(let t of e)La(t.node)},Lx=/^`+/,LD=/\n/gm,LR=/[^ ]/,Lv=RegExp(`^${Tr}`,"i"),Lk=RegExp(`^${Tt}`),LM=/^[ \t\n\v\f\r]/,LF=(e,t)=>{let r=new TS(e.subject);r.pos=e.pos;let i=t(r);return e.pos=r.pos,i},LU=e=>({name:"imageOpen",triggers:[33],parse:t=>{let r=t.pos;if(t.pos+=1,91===t.peek()&&(e||94!==t.subject.charCodeAt(t.pos+1))){t.pos+=1;let e=t.appendText("![",r,t.pos);return t.addBracket(e,r+1,!0),!0}return t.appendText("!",r,t.pos),!0}}),LT=LU(!0),LL=e=>({name:"linkClose",triggers:[93],parse:t=>{let r,i,n,s,a=t.pos;t.pos+=1;let o=t.pos,A=t.brackets;if(void 0===A)return t.appendText("]",a,t.pos),!0;if(!A.active)return t.appendText("]",a,t.pos),t.removeBracket(),!0;let l=A.image,c=t.pos,d=!1;if(40===t.peek()){t.pos+=1;let e=LF(t,e=>{e.spnl();let t=e.parseLinkDestination();if(void 0===t)return;e.spnl();let r=LM.test(e.subject.charAt(e.pos-1))?e.parseLinkTitle():void 0;if(e.spnl(),41===e.peek())return e.pos+=1,{destination:t,parsedTitle:r}});void 0===e?t.pos=c:(r=e.destination,i=e.parsedTitle,d=!0)}let u="shortcut";if(!d){let e=t.pos,r=LF(t,e=>e.parseLinkLabel());if(r>2?(s=t.subject.slice(e,e+r),u="full"):!0!==A.bracketAfter&&(s=t.subject.slice(A.index,o),u=2===r?"collapsed":"shortcut"),0===r&&(t.pos=c),void 0!==s){let e=Tx(s);t.refmap.has(e)&&(n=e.toLowerCase(),d=!0)}}if(!d)return e?.(t,A,a,o)===!0||(t.removeBracket(),t.pos=o,t.appendText("]",a,t.pos),!0);let g=Li(void 0===n?l?"image":"link":l?"imageReference":"linkReference",A.node.start,t.pos),h=A.node.next;for(;void 0!==h;){let e=h.next;Ln(g,h),h=e}if(Ls(A.node,g),void 0===n?(void 0!==r&&(g.data.url=r),void 0!==i&&(g.data.title=i)):(g.data.identifier=n,g.data.label=void 0===s?n:s.slice(1,-1),g.data.referenceType=u),t.processEmphasis(A.previousDelimiter),t.removeBracket(),La(A.node),l)for(let e of(g.value=(e=>{let t="",r=[...e].reverse();for(;r.length>0;){let e=r.pop();if(void 0===e)break;if("text"===e.type||"inlineCode"===e.type)t+=e.value;else if("image"===e.type||"imageReference"===e.type)t+=e.value;else{let t=Lo(e);for(let e=t.length-1;e>=0;e-=1){let i=t[e];void 0!==i&&r.push(i)}}}return t})(Lo(g)),Lo(g)))La(e);else t.deactivateLinkOpeners();return!0}}),LO=LL(),LP=LL((e,t,r,i)=>{let n,s;if(n=e.subject,s=t.index,94!==n.charCodeAt(s+1)||!(r>s+2))return!1;e.pos=i;let a=e.subject.slice(t.index+2,r),o=Tw(a),A=""!==o&&e.footnoteLabels.has(o);e.processEmphasis(t.previousDelimiter);let l=t.node.start,c=A?Li("footnoteReference",l,e.pos):Li("text",l,e.pos,`[^${a}]`);A&&(c.data.identifier=o.toLowerCase(),c.data.label=a),Ls(t.node,c);let d=c.next;for(;void 0!==d;){let e=d.next;La(d),d=e}return e.removeBracket(),La(t.node),!0}),LH=LU(!1),LY=/^ */,LG=[["\x3c!--","--\x3e"],["<?","?>"],["<![CDATA[","]]>"]],Lq=(e,t)=>({name:e,triggers:[],parse:e=>{let r=e.pos,i=e.match(t);return void 0!==i&&(e.appendText(i,r,e.pos),!0)}}),Lz=Lq("text",/^[^\n`[\]\\!<&*_'"]+/),LV=Lq("text",/^[^\n`[\]\\!<&*_'"~w:]+/),L_=e=>{let t=new Map;for(let r of e)for(let e of r.triggers){let i=t.get(e);void 0===i?t.set(e,[r]):i.push(r)}return t},LJ=[{name:"lineBreak",triggers:[10],parse:e=>{let t=e.pos;e.pos+=1;let r=e.trimTrailingSpaces();if(r>=2){let i=Li("break",t-r,e.pos);i.data.breakStyle="spaces",e.append(i)}else e.appendText("\n",t,e.pos);return e.match(LY),!0}},{name:"escape",triggers:[92],parse:e=>{let t=e.pos;if(e.pos+=1,10===e.peek()){e.pos+=1;let r=Li("break",t,e.pos);return r.data.breakStyle="backslash",e.append(r),!0}let r=e.subject.charAt(e.pos);return Lk.test(r)?(e.pos+=1,e.appendText(r,t,e.pos)):e.appendText("\\",t,e.pos),!0}},{name:"codeSpan",triggers:[96],parse:e=>{let t=e.pos,r=e.match(Lx);if(void 0===r)return!1;let i=e.pos,n=e.closingBacktickRun(i,r.length);if(void 0!==n){let s=e.subject.slice(i,n).replace(LD," "),a=s.length>0&&LR.test(s)&&s.startsWith(" ")&&s.endsWith(" ")?s.slice(1,-1):s;return e.pos=n+r.length,e.append(Li("inlineCode",t,e.pos,a)),!0}return e.pos=i,e.appendText(r,t,e.pos),!0}},{name:"emphasis",triggers:[42,95],parse:e=>((e,t)=>{let r=Lc(e,t);if(void 0===r)return!1;let i=e.pos;e.pos+=r.numdelims;let n=e.appendText(e.subject.slice(i,e.pos),i,e.pos);if(n.data.markerChar=95===t?"_":"*",r.canOpen||r.canClose){let i={cc:t,numdelims:r.numdelims,origdelims:r.numdelims,node:n,previous:e.delimiters,next:void 0,canOpen:r.canOpen,canClose:r.canClose};void 0!==i.previous&&(i.previous.next=i),e.delimiters=i}return!0})(e,e.peek())},{name:"linkOpen",triggers:[91],parse:e=>{let t=e.pos;e.pos+=1;let r=e.appendText("[",t,e.pos);return e.addBracket(r,t,!1),!0}},LT,LO,{name:"autolink",triggers:[60],parse:e=>{let t=e.pos,r=e.match(Lu);if(void 0!==r){let i=r.slice(1,-1),n=Li("link",t,e.pos);return n.data.url=`mailto:${i}`,Ln(n,Li("text",t+1,e.pos-1,i)),e.append(n),!0}let i=e.match(Lg);if(void 0!==i){let r=i.slice(1,-1),n=Li("link",t,e.pos);return n.data.url=r,Ln(n,Li("text",t+1,e.pos-1,r)),e.append(n),!0}return!1}},{name:"rawHtml",triggers:[60],parse:e=>{let t=e.pos;for(let[r,i]of LG)if(e.subject.startsWith(r,t)&&!e.hasAhead(i))return!1;let r=e.match(U$);return void 0!==r&&(e.append(Li("html",t,e.pos,r)),!0)}},{name:"entity",triggers:[38],parse:e=>{let t=e.pos,r=e.match(Lv);return void 0!==r&&(e.appendText(Te(r)??r,t,e.pos),!0)}}],LW=new Map([["commonmark",{byTrigger:L_(LJ),text:Lz,postprocess:[]}],["gfm",{byTrigger:L_([...LJ.filter(e=>e!==LO&&e!==LT),LP,LH,{name:"strikethrough",triggers:[126],parse:e=>(e=>{let t=Lc(e,126);if(void 0===t)return!1;let r=e.pos;e.pos+=t.numdelims;let i=e.appendText(e.subject.slice(r,e.pos),r,e.pos);if((t.canOpen||t.canClose)&&(1===t.numdelims||2===t.numdelims)){let r={cc:126,numdelims:t.numdelims,origdelims:t.numdelims,node:i,previous:e.delimiters,next:void 0,canOpen:t.canOpen,canClose:t.canClose};void 0!==r.previous&&(r.previous.next=r),e.delimiters=r}return!0})(e)},{name:"wwwAutolink",triggers:[119],parse:e=>{if(void 0!==e.brackets)return!1;let t=e.pos;if(t>0){let r=e.subject.charAt(t-1);if(!"*_~(".includes(r)&&!Lh.test(r))return!1}let r=e.subject.length-t;if(r<4||"www."!==e.subject.slice(t,t+4))return!1;let i=LQ(e.subject,t,r,!1);if(0===i)return!1;let n=LB(e.subject,t,Lb(e.subject,t,i,r));return 0!==n&&(LN(e,t,t+n,`http://${e.subject.slice(t,t+n)}`),!0)}},{name:"urlAutolink",triggers:[58],parse:e=>{let t,r;if(void 0!==e.brackets)return!1;let i=e.pos,{subject:n}=e,s=n.length-i;if(s<4||"/"!==n.charAt(i+1)||"/"!==n.charAt(i+2))return!1;let a=0;for(;a<i&&Lm.test(n.charAt(i-a-1));)a+=1;if(t=i-a,r=s+a,!LI.some(e=>r>e.length&&n.slice(t,t+e.length).toLowerCase()===e&&LE(n,t+e.length)))return!1;let o=LQ(n,i+3,s-3,!0);if(0===o)return!1;let A=LB(n,i,Lb(n,i,3+o,s));if(0===A||!e.unputText(a))return!1;let l=i-a,c=i+A;return LN(e,l,c,n.slice(l,c)),!0}}]),text:LV,postprocess:[e=>{let t=[e];for(;t.length>0;){let e=t.pop();if(void 0===e)break;let r=[],i=0,n=()=>{r.length>0&&Lw(r),r=[],i=0};for(let s of Lo(e)){if("text"===s.type){r.push({node:s,valueStart:i}),i+=s.value.length;continue}n(),"link"!==s.type&&"linkReference"!==s.type&&t.push(s)}n()}}]}]]),Lj=/ +$/;var LK=class{subject;pos=0;refmap;footnoteLabels;delimiters;brackets;activeLinkOpeners=0;absentAfter=new Map;backtickRuns;source;dialect;positionOf;root;constructor(e,t,r,i,n){this.source=e,this.subject=e.text,this.dialect=t,this.positionOf=r,this.refmap=i,this.footnoteLabels=n,this.root=Li("text",0,e.text.length)}peek(){return this.pos<this.subject.length?this.subject.charCodeAt(this.pos):-1}match(e){let t=Tm(e);t.lastIndex=this.pos;let r=t.exec(this.subject);if(null!==r)return this.pos=t.lastIndex,r[0]}matchAhead(e){let t=(e=>{let t=Th.get(e);if(void 0!==t)return t;let r=Tp(e,"g",!1);return Th.set(e,r),r})(e);t.lastIndex=this.pos;let r=t.exec(this.subject);if(null!==r)return this.pos=r.index+r[0].length,r[0]}hasAhead(e){let t=this.absentAfter.get(e);return(void 0===t||!(this.pos>=t))&&(-1!==this.subject.indexOf(e,this.pos)||(this.absentAfter.set(e,Math.min(t??this.pos,this.pos)),!1))}closingBacktickRun(e,t){void 0===this.backtickRuns&&(this.backtickRuns=(e=>{let t=new Map,r=0;for(;r<e.length;){if(96!==e.charCodeAt(r)){r+=1;continue}let i=r;for(;r<e.length&&96===e.charCodeAt(r);)r+=1;let n=r-i,s=t.get(n);void 0===s?t.set(n,[i]):s.push(i)}return t})(this.subject));let r=this.backtickRuns.get(t);if(void 0===r)return;let i=0,n=r.length;for(;i<n;){let t=i+n>>1;(r[t]??0)<e?i=t+1:n=t}return r[i]}append(e){Ln(this.root,e)}appendText(e,t,r){let i=Li("text",t,r,e);return Ln(this.root,i),i}lastChild(){return this.root.lastChild}unputText(e){if(0===e)return!0;let t=0;for(let r=this.root.lastChild;void 0!==r&&t<e&&"text"===r.type;r=r.prev)t+=r.value.length;if(t<e)return!1;let r=e;for(;r>0;){let e=this.root.lastChild;if(void 0===e)return!1;if(e.value.length>r){e.value=e.value.slice(0,e.value.length-r),e.end-=r;break}r-=e.value.length,La(e)}return!0}trimTrailingSpaces(){let e=this.root.lastChild;if(void 0===e||"text"!==e.type)return 0;let t=e.value.replace(Lj,""),r=e.value.length-t.length;return 0===r?0:(0===t.length?La(e):(e.value=t,e.end=Math.max(e.end-r,e.start)),r)}removeDelimiter(e){void 0!==e.previous&&(e.previous.next=e.next),void 0===e.next?this.delimiters=e.previous:e.next.previous=e.previous}removeDelimitersBetween(e,t){e.next!==t&&(e.next=t,t.previous=e)}addBracket(e,t,r){void 0!==this.brackets&&(this.brackets.bracketAfter=!0),this.brackets={node:e,previous:this.brackets,previousDelimiter:this.delimiters,index:t,image:r,active:!0},r||(this.activeLinkOpeners+=1)}removeBracket(){let e=this.brackets;void 0!==e&&!e.image&&e.active&&(this.activeLinkOpeners-=1),this.brackets=e?.previous}deactivateLinkOpeners(){if(0!==this.activeLinkOpeners)for(let e=this.brackets;void 0!==e;e=e.previous)!e.image&&e.active&&(e.active=!1,this.activeLinkOpeners-=1)}processEmphasis(e){let t=Array(20).fill(e),r=this.delimiters;for(;void 0!==r&&r.previous!==e;)r=r.previous;for(;void 0!==r;){if(!r.canClose){r=r.next;continue}let i=r.cc,n=(95===i?2:126===i?14:8)+3*!!r.canOpen+r.origdelims%3,s=r.previous,a=!1;for(;void 0!==s&&s!==e&&s!==t[n];){let e=(r.canOpen||s.canClose)&&r.origdelims%3!=0&&(s.origdelims+r.origdelims)%3==0;if(s.cc===r.cc&&s.canOpen&&!e){a=!0;break}s=s.previous}let o=r;if(42===i||95===i)if(a&&void 0!==s){let e=r.numdelims>=2&&s.numdelims>=2?2:1,t=s.node,n=r.node;s.numdelims-=e,r.numdelims-=e,t.value=t.value.slice(0,t.value.length-e),t.end-=e,n.value=n.value.slice(0,n.value.length-e),n.start+=e;let a=Li(1===e?"emphasis":"strong",t.end,n.start);a.data.markerChar=95===i?"_":"*";let o=t.next;for(;void 0!==o&&o!==n;){let e=o.next;Ln(a,o),o=e}if(Ls(t,a),this.removeDelimitersBetween(s,r),0===s.numdelims&&(La(t),this.removeDelimiter(s)),0===r.numdelims){La(n);let e=r.next;this.removeDelimiter(r),r=e}}else r=r.next;else r=126===i&&a&&void 0!==s?Ld(this,s,r):r.next;!a&&(t[n]=o.previous,o.canOpen||this.removeDelimiter(o))}for(;void 0!==this.delimiters&&this.delimiters!==e;)this.removeDelimiter(this.delimiters)}offsetAt(e){return Tk(this.source.segments,e,this.source.startOffset)}position(e,t){let r=this.offsetAt(e),i=t>e?this.offsetAt(t-1)+1:this.offsetAt(t);return this.positionOf(r,Math.max(i,r))}materialize(e,t){let r;if(t>256)throw new UH("NestingDepthExceeded",256,t,this.offsetAt(e.start));let i=[],n=()=>{void 0!==r&&(r.value.length>0&&i.push(Ua.make({value:r.value,position:this.position(r.start,r.end)})),r=void 0)};for(let s of Lo(e)){if("text"===s.type){void 0===r?r=Li("text",s.start,s.end,s.value):(r.value+=s.value,r.end=s.end);continue}n();let e=this.materializeNode(s,t);void 0!==e&&i.push(e)}return n(),i}materializeNode(e,t){let r=this.position(e.start,e.end),{url:i,title:n,identifier:s,label:a,referenceType:o,markerChar:A,breakStyle:l}=e.data;switch(e.type){case"inlineCode":return Uo.make({value:e.value,position:r});case"html":return UA.make({value:e.value,position:r});case"break":return Ul.make({position:r,...void 0===l?{}:{breakStyle:l}});case"emphasis":return Uu.make({children:this.materialize(e,t+1),position:r,...void 0===A?{}:{markerChar:A}});case"delete":return Uh.make({children:this.materialize(e,t+1),position:r});case"strong":return Ug.make({children:this.materialize(e,t+1),position:r,...void 0===A?{}:{markerChar:A}});case"link":return Up.make({url:i??"",children:this.materialize(e,t+1),position:r,...void 0===n?{}:{title:n}});case"image":return Uc.make({url:i??"",position:r,...void 0===n?{}:{title:n},...""===e.value?{}:{alt:e.value}});case"linkReference":return Um.make({identifier:s??"",referenceType:o??"shortcut",children:this.materialize(e,t+1),position:r,...void 0===a?{}:{label:a}});case"footnoteReference":return Uf.make({identifier:s??"",position:r,...void 0===a?{}:{label:a}});case"imageReference":return Ud.make({identifier:s??"",referenceType:o??"shortcut",position:r,...void 0===a?{}:{label:a},...""===e.value?{}:{alt:e.value}});default:return}}parseOne(){let e=this.peek();if(-1===e)return!1;for(let t of this.dialect.byTrigger.get(e)??[])if(t.parse(this))return!0;if(this.dialect.text.parse(this))return!0;let t=this.pos;return this.pos+=1,this.appendText(String.fromCodePoint(e),t,this.pos),!0}parse(){for(;this.parseOne(););for(let e of(this.processEmphasis(void 0),this.dialect.postprocess))e(this.root);return this.materialize(this.root,0)}};let L$=/\s/,LX=/[ \t\n\r]/,LZ=/^[#`~*+_=<>0-9-]/;var L0=class{lines;lineIndex;dialect;dialectName;sourceLength;doc;tipNode;oldtip;lastMatchedContainer;currentLine="";lineStart=0;lineNumber=0;offset=0;column=0;nextNonspace=0;nextNonspaceColumn=0;indent=0;indented=!1;blank=!1;allClosed=!0;partiallyConsumedTab=!1;lastLineLength=0;frontmatterCapture;constructor(e,t,r,i=!1){this.lines=(e=>{let t=[],r=0,i=0;for(;i<e.length;){let n=e.charCodeAt(i);10===n?(t.push({text:Uq(e.slice(r,i)),start:r}),i+=1,r=i):13===n?(t.push({text:Uq(e.slice(r,i)),start:r}),i+=10===e.charCodeAt(i+1)?2:1,r=i):i+=1}return(r<e.length||!e.endsWith("\n"))&&t.push({text:Uq(e.slice(r)),start:r}),t})(e),this.frontmatterCapture=i?((e,t)=>{let r=e[0];if(void 0===r||0!==r.start)return null;let i=Lt.get(r.text);if(void 0===i)return null;for(let r=1;r<e.length;r+=1){let n=e[r];if(void 0===n||n.text!==i.close)continue;let s=[];for(let i=1;i<r;i+=1){let n=e[i],a=e[i+1];if(void 0===n||void 0===a)break;s.push(n.text),i+1<r&&s.push(t.slice(n.start+n.text.length,a.start))}return{format:i.format,value:s.join(""),lineCount:r+1,endOffset:n.start+n.text.length}}return null})(this.lines,e):null;let n=this.lines.map(e=>e.start);e.endsWith("\n")&&n.push(e.length),this.lineIndex=Lr.fromLineStarts(e,n),this.sourceLength=e.length,this.dialect=t,this.dialectName=r,this.doc=UG("document",0,1),this.tipNode=this.doc,this.oldtip=this.doc,this.lastMatchedContainer=this.doc}get tip(){let e=this.tipNode;if(void 0===e)throw TypeError("block parser: the tip was read after the document was finalized");return e}constructOf(e){let t=this.dialect.constructs.get(e);if(void 0===t)throw TypeError(`block parser: no construct registered for block type ${e}`);return t}advanceOffset(e,t=!1){let r=this.currentLine,i=e,n=r.charAt(this.offset);for(;i>0&&""!==n;){if(" "===n){let e=U_(this.column);if(t){this.partiallyConsumedTab=e>i;let t=e>i?i:e;this.column+=t,this.offset+=+!this.partiallyConsumedTab,i-=t}else this.partiallyConsumedTab=!1,this.column+=e,this.offset+=1,i-=1}else this.partiallyConsumedTab=!1,this.offset+=1,this.column+=1,i-=1;n=r.charAt(this.offset)}}advanceNextNonspace(){this.offset=this.nextNonspace,this.column=this.nextNonspaceColumn,this.partiallyConsumedTab=!1}findNextNonspace(){let e=this.currentLine,t=this.offset,r=this.column,i=e.charAt(t);for(;""!==i;){if(" "===i)t+=1,r+=1;else if(" "===i)t+=1,r+=U_(r);else break;i=e.charAt(t)}this.blank="\n"===i||"\r"===i||""===i,this.nextNonspace=t,this.nextNonspaceColumn=r,this.indent=this.nextNonspaceColumn-this.column,this.indented=this.indent>=4}addLine(){let e=this.tip;this.partiallyConsumedTab&&(this.offset+=1,e.stringContent+=" ".repeat(U_(this.column)));let t=this.currentLine.slice(this.offset);e.segments.push({textOffset:e.stringContent.length,sourceOffset:this.lineStart+this.offset,length:t.length}),e.stringContent+=`${t} +`}addChild(e,t){for(;!this.constructOf(this.tip.type).canContain(e);)this.finalizeBlock(this.tip,this.lineNumber-1);let r=this.tip,i=r.depth+1;if(i>256)throw new UH("NestingDepthExceeded",256,i,this.lineStart+t);let n=UG(e,this.lineStart+t,this.lineNumber,i);return n.parent=r,r.children.push(n),this.tipNode=n,n}setScanPosition(e,t){this.offset=e,this.column=t}setLastLineLength(e){this.lastLineLength=e}replaceBlock(e,t){let r=e.parent,i=UG(t,e.startOffset,e.startLine,e.depth);if(i.parent=r,i.stringContent=e.stringContent,i.segments.push(...e.segments),i.endOffset=e.endOffset,i.endLine=e.endLine,void 0!==r){let t=r.children.indexOf(e);-1===t?r.children.push(i):r.children[t]=i}return e.open=!1,this.tipNode=i,i}insertBefore(e,t){let r=e.parent,i=UG(t,e.startOffset,e.startLine,e.depth);if(i.parent=r,i.open=!1,void 0!==r){let t=r.children.indexOf(e);-1===t?r.children.push(i):r.children.splice(t,0,i)}return i}closeUnmatchedBlocks(){if(!this.allClosed){for(;this.oldtip!==this.lastMatchedContainer;){let e=this.oldtip.parent;this.finalizeBlock(this.oldtip,this.lineNumber-1),this.oldtip=e??this.doc}this.allClosed=!0}}finalizeBlock(e,t){let r=e.parent;e.open=!1,e.endLine=t,e.endOffset=this.endOfLine(t,this.lastLineLength),this.constructOf(e.type).finalize?.(this,e),this.tipNode=r}endOfLine(e,t){let r=Math.min(Math.max(e-1,0),this.lines.length-1),i=this.lines[r];return void 0===i?0:i.start+Math.min(Math.max(t,0),i.text.length)}incorporateLine(e){let t=this.doc;this.oldtip=this.tip,this.offset=0,this.column=0,this.blank=!1,this.partiallyConsumedTab=!1,this.lineNumber+=1,this.currentLine=e.text,this.lineStart=e.start;let r=t.children[t.children.length-1];for(;r?.open;){t=r,this.findNextNonspace();let e=this.constructOf(t.type).continue(this,t);if(2===e)return;if(1===e){t=t.parent??this.doc;break}r=t.children[t.children.length-1]}this.allClosed=t===this.oldtip,this.lastMatchedContainer=t;let i="paragraph"!==t.type&&this.constructOf(t.type).acceptsLines,n=this.dialect.starts;for(;!i;){if(this.findNextNonspace(),!this.indented){let e=this.currentLine.slice(this.nextNonspace);if(!LZ.test(e)&&!this.dialect.mayStartBlock?.(e,t)){this.advanceNextNonspace();break}}let e=0;for(;e<n.length;){let r=n[e],s=void 0===r?0:r.trigger(this,t);if(1===s){t=this.tip;break}if(2===s){t=this.tip,i=!0;break}e+=1}if(e===n.length){this.advanceNextNonspace();break}}if(this.allClosed||this.blank||"paragraph"!==this.tip.type)if(this.closeUnmatchedBlocks(),this.constructOf(t.type).acceptsLines){var s,a;let e;this.addLine(),"html"===t.type&&(s=t,a=this.currentLine.slice(this.offset),void 0!==(e=s.data.htmlBlockType)&&!(e<1)&&!(e>5)&&UZ[e]?.test(a))&&(this.lastLineLength=this.currentLine.length,this.finalizeBlock(t,this.lineNumber))}else this.offset<this.currentLine.length&&!this.blank&&(t=this.addChild("paragraph",this.offset),this.advanceNextNonspace(),this.addLine());else this.addLine();this.lastLineLength=this.currentLine.length}withFrontmatter(e){let t=this.frontmatterCapture;if(null===t)return e;let r=UT.make({type:"frontmatter",format:t.format,value:t.value,position:this.position(0,t.endOffset)}),i=e.position.end.offset>=t.endOffset?e.position:this.position(0,t.endOffset);return UO.make({type:"root",children:[r,...e.children],position:i})}position(e,t){let r=Math.min(Math.max(e,0),this.sourceLength),i=Math.min(Math.max(t,r),this.sourceLength),n=this.lineIndex.positionAt(r),s=this.lineIndex.positionAt(i);return F5.make({start:F3.make({line:n.line,column:n.column,offset:r}),end:F3.make({line:s.line,column:s.column,offset:i})})}materializeBlock(e,t,r){let i=[];for(let n of e.children){let e=this.materializeBlock(n,t,r);void 0!==e&&"root"!==e.type&&i.push(e)}let n=r.get(e);return void 0!==n?n:this.constructOf(e.type).materialize(e,i,t)}collectReferences(e,t,r,i,n){if("definition"===e.type){let n=this.constructOf(e.type).materialize(e,[],t),s=e.data.definition?.key;n?.type==="definition"&&void 0!==s&&(r.set(e,n),i.has(s)||i.set(s,n));return}let s=e.data.footnote?.key;for(let a of(void 0!==s&&n.add(s),e.children))this.collectReferences(a,t,r,i,n)}parse(){let e=this.frontmatterCapture?.lineCount??0;this.lineNumber=e;for(let t=e;t<this.lines.length;t+=1){let e=this.lines[t];void 0!==e&&this.incorporateLine(e)}for(;void 0!==this.tipNode;)this.finalizeBlock(this.tipNode,this.lines.length);this.doc.endOffset=this.sourceLength;let t=new Map,r=new Set,i=new Map,n=[],s={position:(e,t)=>this.position(e,t),inlineSlice:e=>((e,t,r,i="commonmark",n=new Set)=>{let{text:s,segments:a}=((e,t,r)=>{let i=0,n=e.length;for(;i<n&&r.test(e.charAt(i));)i+=1;for(;n>i&&r.test(e.charAt(n-1));)n-=1;if(0===i&&n===e.length)return{text:e,segments:t};let s=[];for(let e of t){let t=Math.max(e.textOffset,i),r=Math.min(e.textOffset+e.length,n);r>t&&s.push({textOffset:t-i,sourceOffset:e.sourceOffset+(t-e.textOffset),length:r-t})}return{text:e.slice(i,n),segments:s}})(e.stringContent,e.segments,"tableCell"===e.type?LX:L$),o=a[0],A=a[a.length-1],l=void 0===o?e.startOffset:o.sourceOffset;return{text:s,startOffset:l,endOffset:void 0===A?l:A.sourceOffset+A.length,segments:a,children:0===s.length?[]:((e,t,r,i="commonmark",n=new Set)=>new LK(e,(e=>{let t=LW.get(e);if(void 0===t)throw TypeError(`unknown markdown dialect: ${String(e)}`);return t})(i),r,t,n).parse())({text:s,startOffset:l,segments:a},r,t,i,n)}})(e,(e,t)=>this.position(e,t),t,this.dialectName,r),registerInline:(e,t)=>{n.push({parent:e,text:t.text,startOffset:t.startOffset,segments:t.segments})}};this.collectReferences(this.doc,s,i,t,r);let a=this.materializeBlock(this.doc,s,i);if(void 0===a||"root"!==a.type)throw TypeError("block parser: the document construct did not materialize a root");return{root:this.withFrontmatter(a),rawInlines:n,carriers:[],refmap:t,footnoteLabels:r}}};let L1={singleLine:!1,inTable:!1,inHeading:!1},L2={singleLine:!0,inTable:!1,inHeading:!0},L3={singleLine:!0,inTable:!0,inHeading:!1},L5=new Set(["\\","`","*","_","[","]","<",">","&","~","|"]),L4=new Set(["#",">","+","-","=","~","`"]),L8=new Set(["http","https","ftp","mailto","xmpp"]),L9=/^\d{1,9}[.)]/,L6=(e,t)=>{if(e.depth+=1,e.depth>256)throw new UH("NestingDepthExceeded",256,e.depth,t.position.start.offset)},L7=e=>{e.depth-=1},Oe=(e,t)=>{if("www"!==e.slice(Math.max(0,t-3),t).toLowerCase())return!1;if(t-3<=0)return!0;let r=e[t-4];return void 0===r||!/[\p{L}\p{N}]/u.test(r)},Ot=(e,t)=>{let r=t;for(;r>0&&/[a-zA-Z]/.test(e[r-1]);)r-=1;return L8.has(e.slice(r,t).toLowerCase())},Or=(e,t,r)=>{let i="",n=r;for(let r=0;r<e.length;r+=1){let s=e[r];if("\n"===s){let s="\n"===e[r-1]||"\n"===e[r+1],a=0===r||r===e.length-1;t.singleLine?(i+=" ",n=!1):s||a?(i+="&#10;",n=!1):(i+="\n",n=!0);continue}if(n){if(" "===s){i+="&#9;",n=!1;continue}if(" "===s){i+="&#32;",n=!1;continue}let t=e.indexOf("\n",r),a=e.slice(r,-1===t?void 0:t),o=L9.exec(a);if(null!==o){let e=o[0].slice(0,-1),t=o[0].slice(-1);i+=`${e}\\${t}`,r+=o[0].length-1,n=!1;continue}if(L4.has(s)){i+=`\\${s}`,n=!1;continue}}if(n=!1,L5.has(s)){i+=`\\${s}`;continue}if(t.inHeading&&"#"===s){i+="\\#";continue}if("."===s&&Oe(e,r)){i+="\\.";continue}if(":"===s&&Ot(e,r)){i+="\\:";continue}i+=s}return{text:i,atLineStart:n}},Oi=(e,t)=>{let r=e??"*";return r===t?"*"===r?"_":"*":r},On=e=>e.replace(/(?<!\\)([[\]])/g,"\\$1"),Os=e=>32>=e.codePointAt(0)||"<"===e||">"===e||"["===e||"]"===e||"\\"===e,Oa=e=>""===e||Array.from(e).some(Os)||!Oo(e)?`<${e.replace(/[<>\\]/g,e=>`\\${e}`)}>`:e,Oo=e=>{let t=0;for(let r of e)if("("===r&&(t+=1),")"===r&&(t-=1)<0)return!1;return 0===t},OA=e=>void 0===e?"":` "${e.replace(/[\\"]/g,e=>`\\${e}`)}"`,Ol=e=>{let t=0;for(let r of e.match(/`+/g)??[])t=Math.max(t,r.length);let r="`".repeat(Math.max(1,t+1));return`${r}${(""===e||""!==e.trim())&&(e.startsWith("`")||e.endsWith("`")||e.startsWith(" ")||e.endsWith(" "))?` ${e} `:e}${r}`},Oc=e=>"*"===e?"_":"*",Od=(e,t,r)=>"emphasis"===r.parent?"strong"===e?r.marker:Oc(r.marker):"emphasis"===e?Oc(r.marker):t??r.marker,Ou=(e,t,r,i,n)=>{let s="",a=i,o=0;for(let i of e){L6(r,i);let A=""===s?void 0:s[s.length-1],l=""===s||o===e.length-1,c="*"===A||"_"===A?A:void 0,d=()=>{s.endsWith("!")&&!s.endsWith("\\!")&&(s=`${s.slice(0,-1)}\\!`)};switch(i.type){case"text":{let e=Or(i.value,t,a);s+=e.text,a=e.atLineStart;break}case"inlineCode":s+=Ol(i.value),a=!1;break;case"html":s+=i.value,a=!1;break;case"break":t.singleLine?(s+=" ",a=!1):(s+="spaces"===i.breakStyle?" \n":"\\\n",a=!0);break;case"emphasis":case"strong":{let e,o=i.type;"_"===(e=l&&void 0!==n?Od(o,i.markerChar,n):Oi(i.markerChar,c))&&void 0!==A&&/[\p{L}\p{N}]/u.test(A)&&(e="*");let d="strong"===o?e.repeat(2):e,u=Ou(i.children,t,r,!1,{parent:o,marker:e});s+=`${d}${u}${d}`,a=!1;break}case"delete":s+=`~~${Ou(i.children,t,r,!1)}~~`,a=!1;break;case"link":d(),s+=`[${Ou(i.children,t,r,!1)}](${Oa(i.url)}${OA(i.title)})`,a=!1;break;case"image":{let e=(i.alt??"").replace(/[\\[\]]/g,e=>`\\${e}`);s+=`![${e}](${Oa(i.url)}${OA(i.title)})`,a=!1;break}case"linkReference":{d();let e=On(i.label??i.identifier);if("full"===i.referenceType){let n=Ou(i.children,t,r,!1);s+=`[${n}][${e}]`}else"collapsed"===i.referenceType?s+=`[${e}][]`:s+=`[${e}]`;a=!1;break}case"imageReference":{let e=On(i.label??i.identifier);if("full"===i.referenceType){let t=(i.alt??"").replace(/[\\[\]]/g,e=>`\\${e}`);s+=`![${t}][${e}]`}else"collapsed"===i.referenceType?s+=`![${e}][]`:s+=`![${e}]`;a=!1;break}case"footnoteReference":s+=`[^${On(i.label??i.identifier)}]`,a=!1}o+=1,L7(r)}return s},Og=(e,t,r)=>e.split("\n").map(e=>""===e?r:`${t}${e}`).join("\n"),Oh=(e,t)=>{let r=e.value.endsWith("\n")?e.value.slice(0,-1):e.value,i=""===r?[]:r.split("\n");if(!t&&void 0===e.fenceChar&&void 0===e.lang&&void 0===e.meta&&i.length>0&&""!==i[0]&&""!==i[i.length-1])return i.map(e=>""===e?"":` ${e}`).join("\n");let n=e.fenceChar??"`",s=0;for(let e of r.match("`"===n?/`+/g:/~+/g)??[])s=Math.max(s,e.length);let a=Math.max(3,e.fenceLength??0,s+1),o=n.repeat(a);return`${o}${e.lang??""}${void 0!==e.meta?` ${e.meta}`:""} +${""===r?"":`${r} +`}${o}`},Op=(e,t)=>{let r=Ou(e.children,L2,t,!1);if("setext"===e.headingStyle&&e.depth<=2&&""!==r){let t;return`${r} +${t=r.split("\n").at(-1)??"",(1===e.depth?"=":"-").repeat(Math.max(1,t.length))}`}let i="#".repeat(e.depth);return""===r?i:`${i} ${r}`},Om=e=>`[${On(e.label??e.identifier)}]: ${Oa(e.url)}${OA(e.title)}`,Of=(e,t)=>{let r=OQ(e.children,t).split("\n"),i=`[^${On(e.label??e.identifier)}]:`;return e.children[0]?.type==="code"?[i,...r.map(e=>""===e?"":` ${e}`)].join("\n"):r.map((e,t)=>0===t?`${i} ${e}`:""===e?"":` ${e}`).join("\n")},OC=(e,t)=>{let r=Math.max(1,...e.children.map(e=>e.children.length)),i=e.children.map(e=>{L6(t,e);let i=e.children.map(e=>{L6(t,e);let r=Ou(e.children,L3,t,!1).replace(/(?<!\\)\|/g,"\\|");return L7(t),r});for(L7(t);i.length<r;)i.push("");return`| ${i.join(" | ")} |`}),n=`| ${Array.from({length:r},(t,r)=>(e=>{switch(e){case"left":return":--";case"right":return"--:";case"center":return":-:";default:return"---"}})(e.align?.[r])).join(" | ")} |`,[s,...a]=i;return[s??`| ${Array.from({length:r},()=>"").join(" | ")} |`,n,...a].join("\n")},Oy=(e,t)=>{if(!0===e.ordered){let r=e.delimiter??".";return t?"."===r?")":".":r}let r=e.bulletChar??"-";return t?"-"===r?"*":"-":r},OI=(e,t,r)=>{let i=!e.spread;return e.children.map((n,s)=>((e,t,r,i)=>{let n,s;L6(r,e);let a=OQ(e.children,r,i);L7(r);let o=`${void 0===e.checked?"":e.checked?"[x] ":"[ ] "}${a}`;return""===o?t.trimEnd():(n=o.split("\n"),s=" ".repeat(t.length),n.map((e,r)=>0===r?`${t}${e}`:""===e?"":`${s}${e}`).join("\n"))})(n,!0===e.ordered?`${(e.start??1)+s}${Oy(e,r)} `:`${Oy(e,r)} `,t,i)).join(i?"\n":"\n\n")},OE=e=>{switch(e.type){case"list":return!0!==e.ordered||(e.start??1)===1;case"blockquote":case"thematicBreak":return!0;case"heading":return"setext"!==e.headingStyle;case"code":return void 0!==e.fenceChar||void 0!==e.lang;default:return!1}},OB=(e,t)=>{switch(e.type){case"heading":case"thematicBreak":return!0;case"code":if(void 0!==e.fenceChar||void 0!==e.lang)return!0;return"code"!==t.type||void 0!==t.fenceChar||void 0!==t.lang;case"paragraph":return OE(t);case"blockquote":return"blockquote"!==t.type&&"paragraph"!==t.type&&OE(t);default:return!1}},OQ=(e,t,r=!1)=>{let i,n,s=[],a=[];for(let r of e){switch(L6(t,r),r.type){case"paragraph":s.push(Ou(r.children,L1,t,!0)),n=void 0;break;case"heading":s.push(Op(r,t)),n=void 0;break;case"thematicBreak":s.push((r.markerChar??"*").repeat(3)),n=void 0;break;case"code":s.push(Oh(r,i?.type==="list")),n=void 0;break;case"html":s.push(r.value),n=void 0;break;case"blockquote":{let e=OQ(r.children,t);s.push(Og(e,"> ",">")),n=void 0;break}case"list":{let e=void 0!==n&&n===Oy(r,!1);s.push(OI(r,t,e)),n=Oy(r,e);break}case"definition":s.push(Om(r)),n=void 0;break;case"footnoteDefinition":s.push(Of(r,t)),n=void 0;break;case"table":s.push(OC(r,t)),n=void 0;break;case"frontmatter":{let e="toml"===r.format?"+++":"json"===r.format?"---json":"---",t="toml"===r.format?"+++":"---";s.push(""===r.value?`${e} +${t}`:`${e} +${r.value} +${t}`),n=void 0}}i=r,a.push(r),L7(t)}if(!r)return s.join("\n\n");let o="";for(let e=0;e<s.length;e+=1)e>0&&(o+=OB(a[e-1],a[e])?"\n":"\n\n"),o+=s[e];return o},Ob=gJ(["NestingDepthExceeded"]);var ON=class e extends hs("MarkdownDiagnostic")({code:Ob,message:gO,offset:gP,length:gP,line:gP,character:gP}){static fromRaw(t,r){let{line:i,character:n}=function(e,t){let r=0,i=0,n=Math.min(t,e.length);for(let t=0;t<n;t++){let n=e.charCodeAt(t);10===n?(r++,i=t+1):13===n&&(t+1<e.length&&10===e.charCodeAt(t+1)&&t++,r++,i=t+1)}return{line:r,character:t-i}}(t,r.offset);return e.make({code:r.code,message:r.message,offset:r.offset,length:r.length,line:i,character:n})}};let OS=gJ(["commonmark","gfm"]);hs("MarkdownParseOptions")({dialect:gM(OS),frontmatter:gM(gH)});var Ow=class extends ha()("MarkdownParseError",{diagnostic:ON}){get message(){let{code:e,line:t,character:r,message:i}=this.diagnostic;return`Markdown parse failed: ${e} at ${t}:${r} ${i}`}},Ox=class extends ha()("MarkdownStringifyError",{diagnostic:ON}){get message(){let{code:e,message:t}=this.diagnostic;return`Markdown stringify failed: ${e} ${t}`}},OD=class e{static parseResult(e,t){return nk(((e,t)=>{try{return r3(((e,t="commonmark",r=!1)=>new L0(e,(e=>{let t=Le.get(e);if(void 0===t)throw TypeError(`unknown markdown dialect: ${String(e)}`);return t})(t),t,r).parse())(e,t?.dialect??"gfm",t?.frontmatter??!1))}catch(t){if(t instanceof UH)return r2(new Ow({diagnostic:ON.fromRaw(e,{code:t.reason,message:t.message,offset:t.offset,length:0})}));if(t instanceof UP)return r2(new Ow({diagnostic:ON.fromRaw(e,t.diagnostic)}));throw t}})(e,t),e=>e.root)}static parse=cO("Markdown.parse")((t,r)=>aP(e.parseResult(t,r)));static stringifyResult(e){try{let t;return r3((t=OQ(e.children,{depth:0}),""===t?"":`${t} +`))}catch(e){if(e instanceof UH)return r2(new Ox({diagnostic:ON.make({code:e.reason,message:e.message,offset:e.offset,length:0,line:0,character:0})}));throw e}}static stringify=cO("Markdown.stringify")(t=>aP(e.stringifyResult(t)));static fromString(t){return gO.pipe(gX(UO,dz({decode:r=>ox(e.parse(r,t),e=>new dC(is(r),{message:e.message})),encode:t=>ox(e.stringify(t),e=>new dC(is(t),{message:e.message}))})))}static MarkdownFromString=e.fromString()};let OR=e=>UA.make({value:e}),Ov=e=>{let t;return t=UO.make({children:[e]}),nF(OD.stringifyResult(t)).trimEnd()};var Ok=class e{static table(e,t){let r=t=>UR.make({children:Array.from({length:e.length},(e,r)=>Ux.make({children:[OR((t[r]??"").replace(/\r?\n/g,"<br>"))]}))});return Ov(Uk.make({children:[r(e),...t.map(r)]}))}static tableFor(t,...r){let i=r[0]?.columns??{},n=Object.keys(t.fields).map(e=>{let r=t.fields[e],n=i[e],s=n?.format,a=void 0===s?gv(r):void 0;return{key:e,header:n?.header??de(r.ast)??e,cell:e=>void 0===e?"":void 0!==s?s(e):a?.(e)??""}}),s=n.map(e=>e.header);return{render:t=>e.table(s,t.map(e=>n.map(t=>t.cell(e[t.key]))))}}static heading(e,t=2){return`${"#".repeat(t)} ${e}`}static link(e,t){return Ov(UQ.make({children:[Up.make({url:t,children:[OR(e)]})]}))}static code(e){return Ov(UQ.make({children:[Uo.make({value:e})]}))}static codeBlock(e,t){return Ov(UI.make({value:e,fenceChar:"`",...void 0===t||""===t?{}:{lang:t}}))}static list(e,t){let r=t?.ordered??!1;return Ov(US.make({ordered:r,...r?{start:1}:{},children:e.map(e=>UN.make({children:[OR(e)]}))}))}static details(e,t){return`<details> +<summary>${e}</summary> + +${t} -</details>`)].join("\n\n"))).pipe(ag(e=>cm(`Failed to write job summary: ${e instanceof Error?e.message:String(e)}`))),yield*Rg.groupStep("Runtime Setup Complete",co(function*(){for(let e of(yield*ch(`Runtime(s): ${c.runtimes.map(e=>`${e.name}@${e.version}`).join(", ")}`),N))yield*ch(`${e.name}: ${e.version}`);yield*ch(`${d}: ${c.packageManager.version}`),yield*ch(`Turbo: ${c.turbo?"enabled":"disabled"}`),yield*ch(`Biome: ${r9(c.biome)?`v${c.biome.value}`:"not installed"}`),yield*ch(`Dependencies: ${b?"installed":"skipped"}`)}))});p4.run(kD,{layer:Ro})})(); \ No newline at end of file +</details>`}static raw(e){return e}};let OM=" \xb7 ",OF=(e,t)=>"none"===e?"disabled":"remote"===e?"passthrough (Vercel)":`${e}${OM}server ready${il(t,{onNone:()=>"",onSome:e=>` (:${e})`})}`;class OU extends A9("SummaryError"){}var OT=class e{static forChildEnv=e=>cD(function*(){let t=yield*mv,r={};for(let[i,n]of Object.entries(e)){let e=dn(n);yield*t.setSecret(e),r[i]=e}return r});static forRunnerFile=e=>cD(function*(){let t=yield*mv,r=dn(e);return yield*t.setSecret(r),r});static forSigning=t=>e.forRunnerFile(t);static adopt=e=>mA(e)};s("node:stream/promises");var OL=A(3006);class OO extends n0()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let OP=cM(aL(()=>new OL.g6),e=>cw(()=>e.destroy())),OH=l5(OO)(OP),OY=n0("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),OG=cD(function*(){let e=yield*OO;return yy((t,r,i,n)=>(function(e){switch(e._tag){case"Empty":return aU(null);case"Uint8Array":case"Raw":return aU(e.body);case"FormData":return aU(e.formData);case"Stream":let t;return t=e.stream,ot(og,e=>new fs(e,t))}})(t.body).pipe(a9(s=>cx({try:()=>e.request({...n.getRef(OY),signal:i,method:t.method,headers:t.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:s,headersTimeout:36e5,bodyTimeout:0}),catch:e=>new CQ({reason:new CS({request:t,cause:e})})})),ot(e=>new Oz(t,e))))});function Oq(e){}class Oz extends t0{[yA];[yd];request;source;constructor(e,t){super(),this[yA]=yA,this[yd]=yd,this.request=e,this.source=t,t.body.on("error",Oq)}get status(){return this.source.statusCode}get statusText(){}get headers(){return Cp(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?yi(e):yn}get remoteAddress(){return ii()}get stream(){return fr({evaluate:()=>this.source.body,onError:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})})}get json(){return a9(this.text,e=>aV({try:()=>""===e?null:JSON.parse(e),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=cx({try:()=>this.source.body.text(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB),this.arrayBufferBody=ot(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return a9(this.text,e=>aV({try:()=>CO(new URLSearchParams(e)),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=cx({try:()=>this.source.body.formData(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=cx({try:()=>this.source.body.arrayBuffer(),catch:e=>new CQ({reason:new Cx({request:this.request,response:this,cause:e})})}).pipe(cU,AB),this.textBody=ot(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return yc(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return eJ(this,arguments)}}l6(ce(yQ(OG),OH),pJ.layer.pipe(ce(f1)),mv.layerDetached);class OV extends A9("TurboCacheError"){}let O_={backend:"none",port:ii(),state:ii()},OJ=(e,t)=>il(t,{onNone:()=>({}),onSome:t=>({[e]:t})}),OW=(e,t)=>{let r=e.find(e=>e.name===t);return void 0===r?{version:"",enabled:!1}:{version:r.version,enabled:!0}},Oj=cD(function*(){var e;let t,r,i,n,s,a,o=yield*mw;yield*(yield*pJ).github;let A=yield*MK;yield*aL(()=>{process.env.NPM_CONFIG_UPDATE_NOTIFIER="false",process.env.NPM_CONFIG_FUND="false",process.env.HUSKY="0",process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT="0"});let l=yield*o.group("Load configuration",FP),c=yield*o.group("Detect Biome",(t=A.biomeVersion,cD(function*(){let e=iM(t,Fp);if(iA(e))return Fm(e.value)?(yield*cY(`Detected Biome: ${e.value}`),e):(yield*cP(`Ignoring biome-version "${e.value}": not a plain version or tag`),ii());let r=yield*pU,i=yield*cD(function*(){for(let e of Fg)if(yield*r.access(e).pipe(a2(!0),oB(()=>aU(!1))))return is(e);return ii()});if(io(i))return ii();let n=yield*r.readFileString(i.value).pipe(oB(()=>aU("{}"))),s=(e=>{if(null===e||"object"!=typeof e)return ii();let t=e.$schema;return"string"!=typeof t?ii():ij(iE(Fh.exec(t)?.[1]),Fm)})((yield*Fu.parse(n).pipe(oB(()=>aU({})))));return iA(s)&&(yield*cY(`Detected Biome: ${s.value}`)),s}))),d=yield*o.group("Detect Turbo",Ff);yield*o.group("Detected configuration",cY((r=[...(e={runtimes:l.runtimes,packageManager:l.packageManager,biome:c,turbo:d.enabled}).runtimes.map(e=>`${e.name} ${e.version}`),`${e.packageManager.name} ${e.packageManager.version}`],iA(e.biome)&&r.push(`biome ${e.biome.value}`),e.turbo&&r.push("turbo"),r.join(OM))));let u=yield*o.group("Restore dependency cache",(i={inputs:A,config:l,biomeVersion:c,turbo:d},cD(function*(){var e,t;let r,n,s=yield*Me,a=yield*mU,o=yield*pJ,A=yield*o.github.pipe(ot(e=>e.workspace),oB(()=>aL(()=>process.cwd()))),l=ih((yield*o.getOptional("RUNNER_TOOL_CACHE")),()=>"win32"===process.platform?"C:\\hostedtoolcache":"/opt/hostedtoolcache"),c=yield*cD(function*(){let e=yield*o.getOptional("GITHUB_HEAD_REF");return iA(e)?e.value:il((yield*o.getOptional("GITHUB_REF")),{onNone:()=>"",onSome:e=>e.startsWith(F0)?e.slice(F0.length):""})}),d=(e=>{let t=new Set;for(let r of e.runtimes)t.add("node"===r.name?e.packageManager.name:r.name);return[...t]})(i.config),u=[...i.config.runtimes.map(e=>({name:e.name,version:e.version})),...il(i.biomeVersion,{onNone:()=>[],onSome:e=>[{name:"biome",version:e}]})],g=(r=i.inputs.additionalLockfiles,[...FJ(new Set(d.flatMap(e=>Fz[e]))),...r,...FV]),h=yield*F1(Fq.matchingFiles({workspace:A,patterns:g}),"key",e=>`Lockfile discovery failed (${e.reason}): ${e.message}`,[]),p=yield*F1(Fq.hashFiles(h),"key",e=>`Lockfile hashing failed (${e.reason}): ${e.message}`,ii()),m=(e=>{let t=FW(e.platform),r=new Set;for(let t of e.packageManagers){for(let i of Fj(t,e.platform,e.home))r.add(i);for(let e of FK(t))r.add(e)}for(let i of e.tools)F$.has(i.name)&&r.add(t.join(e.toolCacheBase,i.name,i.version));return[...new Set([...FJ(r),...e.additional,...e.turbo?F_:[]])]})({packageManagers:d,tools:u,toolCacheBase:l,additional:i.inputs.additionalCachePaths,turbo:i.turbo.enabled,platform:process.platform,home:(0,fE.homedir)()}),f=Fq.of(...(e=>{let t=(0,ff.createHash)("sha256");for(let r of(iA(e.cacheBust)&&t.update(e.cacheBust.value),[...e.tools].sort((e,t)=>e.name.localeCompare(t.name))))t.update(`${r.name}:${r.version}`);t.update(`${e.packageManager.name}:${e.packageManager.version}`);let r=(0,ff.createHash)("sha256").update(""===e.branch?"null":e.branch);return[e.platform,e.arch,t.digest("hex").slice(0,8),r.digest("hex").slice(0,8),il(e.lockfileHash,{onNone:()=>"empty",onSome:e=>e.slice(0,8)})]})({platform:process.platform,arch:process.arch,tools:u,packageManager:i.config.packageManager,branch:c,lockfileHash:p,cacheBust:i.inputs.cacheBust})),C=iA(i.inputs.cacheBust)?f.withoutRestoreKeys():f.withRestoreDepths(FX),y=C.restoreKeys;yield*cG(`Cache primary key: ${C.key}`),yield*cG(`Cache restore keys: ${y.length>0?y.join(", "):"(none — exact match only)"}`),yield*cG(`Cache paths (${m.length}): ${m.join(", ")}`),yield*cG(`Lockfiles (${h.length}): ${h.join(", ")||"(none)"}`),yield*cG(`Cache bust: ${ih(i.inputs.cacheBust,()=>"(none)")}`);let I=yield*F1(s.restore(m,C),"restore",e=>`Failed to restore cache with key ${C.key} (${e.reason}): ${e.message}`,ii());yield*cY((e=C.key,t=h.length,n=`${t} lockfile${1===t?"":"s"}`,io(I)?`miss (${n})`:I.value===e?`exact hit (${n})`:`partial hit (${n})`)),yield*cG(`Cache matched key: ${ih(I,()=>"(none)")}`);let E=M1.make({paths:m,primaryKey:C.key,restoredKey:I,lockfiles:h});return yield*F1(a.save("silk-runtime-cache",E,M1),"state",e=>`Cache state could not be saved (${e.reason}); the post phase will not save this run's cache`,void 0),E}))),g=yield*o.group("Install runtimes",((e,t=FB())=>cD(function*(){let r=yield*mw;return yield*Al(e.runtimes,e=>r.withBuffer(e.name,cD(function*(){let r=yield*Mn,i=yield*mv,n=yield*mL,s=yield*mq,a=FQ[e.name].plan(e.version,t.platform,t.arch);if(r0(a))return yield*new Fb({message:a.failure});let o=a.success;yield*cG(`${e.name} ${e.version}: ${o.url}`);let A=yield*r.find(e.name,e.version),l=iA(A)?A.value:yield*cD(function*(){let t=yield*r.download(o.url),i="zip"===o.archive?yield*r.extractZip(t):yield*r.extractTar(t,{flags:o.tarFlags}),s=void 0===o.archiveSubPath?i:n.join(i,o.archiveSubPath);return yield*r.cacheDir(s,e.name,e.version)});yield*cG(`${e.name} ${e.version}: cached at ${l}`);let c=void 0===o.binSubPath?l:n.join(l,o.binSubPath);yield*i.addPath(c);let d=n.join(c,o.binary),u=yield*s.exitCode(mJ(d,["--version"]));return 0!==u?yield*new FN({message:`${d} --version exited ${u}`}):{name:e.name,version:e.version,path:c}}).pipe(oB(t=>rD(new FE({reason:(e=>{if(null===e||"object"!=typeof e)return"verify";if("PlanError"===e._tag)return"unsupported-platform";if("ToolInstallerError"===e._tag){if("downloadFailed"===e.reason)return"download";if("extractFailed"===e.reason)return"extract";if("cacheFailed"===e.reason)return"cache"}return"verify"})(t),message:`Failed to install ${e.name}@${e.version}: ${(e=>{if(null!==e&&"object"==typeof e){if("string"==typeof e.message&&""!==e.message)return e.message;if("string"==typeof e.reason&&""!==e.reason)return e.reason;if("string"==typeof e._tag)return e._tag}let t=String(e);return""===t?"Unknown error":t})(t)}`,cause:t})))),{onSuccess:"discard"}).pipe(a5(e=>cY(`${e.name} ${e.version}`))))}))(l)),h=yield*o.group(`Install ${l.packageManager.name}`,(n=l.packageManager,cD(function*(){let e={name:n.name,version:n.version};if("bun"===n.name||"deno"===n.name)return yield*cY(`${n.name} is its own package manager, no additional setup needed`),{...e,binDir:ii()};let t=yield*mw,r=yield*t.withBuffer(n.name,cD(function*(){let e=yield*MW,t=yield*mv,r=yield*MP.parse(`${n.name}@${n.version}`),i=yield*e.install(r);return yield*cG(`${n.name} ${n.version}: ${i.source}`),"tool-cache"===i.source&&(yield*t.addPath(i.binDir)),i}).pipe(oB(e=>rD(new F2({reason:(e=>{if("ActionOutputError"===e._tag)return"activate";if("InvalidPackageManagerPinError"===e._tag)return"install";let t=e.reason;switch(t){case"layoutUnexpected":return"verify";case"downloadFailed":case"extractFailed":case"cacheFailed":case"integrityMismatch":case"integrityMissing":case"unsupportedPlatform":return"install";default:throw Error(`PackageManagerInstallerError carries an unhandled reason: ${String(t)}`)}})(e),message:`Failed to setup ${n.name}@${n.version}: ${e.message}`,cause:e})))),{onSuccess:"discard"});return yield*cY(`${n.name}@${n.version} activated`),{...e,binDir:"tool-cache"===r.source?is(r.binDir):ii()}}))),p=((e,t)=>{if(iA(e.binDir))return e;let r=t.find(t=>t.name===e.name);return void 0===r?e:{...e,binDir:is(r.path)}})(h,g),m=yield*o.group("Install dependencies",((e,t,r,i=process.platform)=>cD(function*(){let n;if(!t)return{ran:!1};if("deno"===e.name)return yield*cY("Deno caches dependencies automatically, skipping install step"),{ran:!1};let s=yield*pU,a=yield*mw,o=Fx[e.name],A=(yield*Ao(o.lockfiles,()=>!1,(e,t)=>e?aU(!0):s.exists(t).pipe(oB(()=>aU(!1)))))?o.locked:o.unlocked,{exitCode:l,tail:c}=yield*a.withBuffer(e.name,(n=e.name,cD(function*(){let e=yield*mq,t=mJ(n,[...A],{stdout:"inherit",stderr:"pipe",...(e=>{if(0===e.length)return{};let t=Object.keys(process.env).find(e=>"PATH"===e.toUpperCase())??"PATH";return{env:{[t]:[...e,process.env[t]??""].join(fB.delimiter)},extendEnv:!0}})(r),..."win32"===i?{shell:!0}:{}}),s=yield*e.spawn(t),a=[];return yield*px(pN(pb(s.stderr)),e=>aO(()=>(a.push(e),a.length>10&&a.shift(),cY(e)))),{exitCode:Number((yield*s.exitCode)),tail:a}}).pipe(ck))).pipe(oB(t=>rD(new Fw({reason:"spawn",message:`Failed to install dependencies with ${e.name}: ${t.message}`,cause:t}))));if(0!==l){var d;let t,r;return yield*new Fw({reason:"exit-code",message:`Failed to install dependencies with ${e.name}: ${(d=e.name,r=0===(t=c.filter(e=>""!==e.trim())).length?"":` +${t.join("\n")}`,`${d} ${A.join(" ")} exited with code ${l}${r}`)}`,cause:{exitCode:l,stderr:c.join("\n")}})}return yield*cY("Dependencies installed successfully"),{ran:!0}}))(p,A.installDeps,[...new Set([...il(p.binDir,{onNone:()=>[],onSome:e=>[e]}),...g.map(e=>e.path)])])),f=yield*o.group("Install Biome",((e,t=FB())=>cD(function*(){var r,i,n;let s;if(io(e))return ii();let a=e.value,o=(r=a,i=t.platform,n=t.arch,void 0===(s=FC[i]?.[n])?r2(`Unsupported platform for Biome: ${i}-${n}`):r3({url:`https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${r}/${s}`,binary:"win32"===i?"biome.exe":"biome"}));if(r0(o))return yield*new FS({reason:"detect",message:o.failure});let A=o.success,l=yield*Mn,c=yield*mv;yield*cG(`biome ${a}: ${A.url}`);let d=yield*l.provisionFile({tool:"biome",version:a,url:A.url,binary:A.binary}).pipe(oB(e=>rD(new FS({reason:(e=>{switch(e.reason){case"downloadFailed":return"download";case"extractFailed":case"cacheFailed":return"cache"}})(e),message:e.message,cause:e}))));return yield*c.addPath(d.binDir).pipe(oB(e=>rD(new FS({reason:"cache",message:`Biome ${a} could not be published to PATH: ${e.message}`,cause:e})))),yield*cY(`Biome ${a}`),is({version:a,path:d.binDir})}))(c).pipe(oB(e=>cP(`Biome installation failed: ${e.message}`).pipe(a2(ii()))))),C=yield*o.group("Start turbo remote cache",(s={inputs:A,turbo:d},cD(function*(){let e,t,r=yield*mv;yield*(e=s.inputs,cD(function*(){let t=yield*mv;for(let t of[e.turboToken,e.turboS3SecretAccessKey,e.turboS3SessionToken])iA(t)&&(yield*OT.forSigning(t.value));iA(e.turboS3AccessKeyId)&&(yield*t.setSecret(e.turboS3AccessKeyId.value))}));let i=(e=>{let{turboDetected:t,inputs:r}=e;return t&&"off"!==r.turboCache?iA(r.turboToken)&&iA(r.turboTeam)?{mode:"passthrough",token:r.turboToken.value,team:r.turboTeam.value}:iA(r.turboS3Bucket)?{mode:"embedded",backend:"s3",s3:{bucket:r.turboS3Bucket.value,region:r.turboS3Region,endpoint:r.turboS3Endpoint,accessKeyId:r.turboS3AccessKeyId,secretAccessKey:r.turboS3SecretAccessKey,sessionToken:r.turboS3SessionToken,prefix:r.turboS3Prefix}}:{mode:"embedded",backend:"github"}:{mode:"off"}})({turboDetected:s.turbo.enabled,inputs:s.inputs});return"off"===i.mode?(yield*cG("Turbo remote cache is off"),O_):(iA((t=s.inputs).turboToken)!==iA(t.turboTeam)&&(yield*cP("Both turbo-token and turbo-team are required for an external remote cache; only one was supplied, so the embedded cache server is being used instead.")),"passthrough"===i.mode)?(yield*r.exportVariable("TURBO_TOKEN",(yield*OT.forRunnerFile(i.token))),yield*r.exportVariable("TURBO_TEAM",i.team),yield*cG(`Turbo remote cache: passthrough to team ${i.team}`),yield*cY(OF("remote",ii())),{backend:"remote",port:ii(),state:ii()}):yield*cD(function*(){let e,t=yield*mv,r=s.detached??M0,n=s.port??41230,a=(0,fB.join)((0,fE.tmpdir)(),`turbogha-${n}.log`),o=(0,ff.randomUUID)(),A=yield*(e={port:n,prefix:s.inputs.turboCachePrefix,token:o},cD(function*(){let t={TURBOGHA_PORT:String(e.port),TURBOGHA_PREFIX:e.prefix,TURBOGHA_TOKEN:e.token,TURBOGHA_BACKEND:i.backend};if("s3"!==i.backend)return t;let{s3:r}=i,n={...iA(r.secretAccessKey)?{TURBOGHA_S3_SECRET_ACCESS_KEY:r.secretAccessKey.value}:{},...iA(r.sessionToken)?{TURBOGHA_S3_SESSION_TOKEN:r.sessionToken.value}:{}};return{...t,TURBOGHA_S3_BUCKET:r.bucket,...OJ("TURBOGHA_S3_REGION",r.region),...OJ("TURBOGHA_S3_ENDPOINT",r.endpoint),...OJ("TURBOGHA_S3_ACCESS_KEY_ID",r.accessKeyId),...OJ("TURBOGHA_S3_PREFIX",r.prefix),...yield*OT.forChildEnv(n)}})),l=yield*r.spawn({command:process.execPath,args:[s.serverEntry??(0,fB.join)((0,fB.dirname)((0,f2.fileURLToPath)(import.meta.url)),"turbo-server.js")],logFile:a,env:A}).pipe(oB(e=>rD(new OV({reason:"spawn",message:`Turbo cache server could not be started (${e.reason}): ${e.message}`,cause:e})))),c=M3.make({pid:l,port:n,backend:i.backend,logFile:a});return yield*(yield*mU).save("silk-runtime-turbo-server",c,M3).pipe(oB(e=>cP(new OV({reason:"spawn",message:`Turbo cache server state could not be saved (${e.reason}); pid ${l} will not be reaped by the post phase`,cause:e}).message))),yield*cG(`Turbo cache server started: pid=${l}, backend=${i.backend}, log=${a}`),(yield*r.awaitReady(cx(()=>fetch(`http://127.0.0.1:${n}/v8/artifacts/status`).then(e=>e.ok)).pipe(oB(()=>aU(!1)))).pipe(a2(!0),oB(e=>cH(new OV({reason:"readiness",message:`Turbo cache server (pid=${l}) did not become ready on 127.0.0.1:${n}; continuing WITHOUT a remote cache. See ${a} for server output.`,cause:e}).message).pipe(a2(!1)))))?(yield*t.exportVariable("TURBO_API",`http://127.0.0.1:${n}`),yield*t.exportVariable("TURBO_TOKEN",o),yield*t.exportVariable("TURBO_TEAM",o),yield*cY(OF(i.backend,is(n))),{backend:i.backend,port:is(n),state:is(c)}):{backend:"none",port:ii(),state:is(c)}})}).pipe(oB(e=>cP(`Turbo cache setup error: ${e.message}`).pipe(a2(O_))),oQ(e=>cP(`Turbo cache setup defect: ${e instanceof Error?e.message:String(e)}`).pipe(a2(O_)))))),y=OW(g,"node"),I=OW(g,"bun"),E=OW(g,"deno"),B={...M$,nodeVersion:y.version,nodeEnabled:y.enabled,bunVersion:I.version,bunEnabled:I.enabled,denoVersion:E.version,denoEnabled:E.enabled,packageManager:h.name,packageManagerVersion:h.version,biomeVersion:il(f,{onNone:()=>"",onSome:e=>e.version}),biomeEnabled:iA(f),turboEnabled:d.enabled,...{turboCacheBackend:C.backend,turboCachePort:il(C.port,{onNone:()=>"",onSome:e=>String(e)})},cacheHit:io(u.restoredKey)?"false":M2(u)?"true":"partial",lockfiles:u.lockfiles.join(","),cachePaths:u.paths.join(",")};yield*cD(function*(){let e=yield*mv;yield*e.set("node-version",B.nodeVersion),yield*e.set("node-enabled",String(B.nodeEnabled)),yield*e.set("bun-version",B.bunVersion),yield*e.set("bun-enabled",String(B.bunEnabled)),yield*e.set("deno-version",B.denoVersion),yield*e.set("deno-enabled",String(B.denoEnabled)),yield*e.set("package-manager",B.packageManager),yield*e.set("package-manager-version",B.packageManagerVersion),yield*e.set("biome-version",B.biomeVersion),yield*e.set("biome-enabled",String(B.biomeEnabled)),yield*e.set("turbo-enabled",String(B.turboEnabled)),yield*e.set("turbo-cache-backend",B.turboCacheBackend),yield*e.set("turbo-cache-port",B.turboCachePort),yield*e.set("cache-hit",B.cacheHit),yield*e.set("lockfiles",B.lockfiles),yield*e.set("cache-paths",B.cachePaths)}),yield*(a={outputs:B,runtimes:g,biome:f,biomeDetected:c,cache:u,turboCache:C,dependenciesInstalled:m.ran},cD(function*(){let e=yield*mv,t=yield*mw;yield*aV({try:()=>{var e,t;let r,i;return r=[["Runtime(s)",(e={runtimes:a.runtimes,packageManager:{name:a.outputs.packageManager,version:a.outputs.packageManagerVersion},biome:iD(a.biome,e=>e.version),turbo:{backend:a.turboCache.backend,port:a.turboCache.port},cache:a.cache,dependenciesInstalled:a.dependenciesInstalled}).runtimes.map(e=>`${e.name} ${e.version}`).join(", ")],["Package manager",`${e.packageManager.name} ${e.packageManager.version}`]],iA(e.biome)&&r.push(["Biome",e.biome.value]),r.push(["Turbo cache",OF(e.turbo.backend,e.turbo.port)]),r.push(["Dependency cache",io((t=e.cache).restoredKey)?"⬜ miss":M2(t)?"✅ exact hit":"♻️ partial hit"]),r.push(["Dependencies",e.dependenciesInstalled?"installed":"skipped"]),i=[...""===e.cache.primaryKey?[]:[`Cache key: ${Ok.code(e.cache.primaryKey)}`],0===e.cache.lockfiles.length?"Lockfiles: none":`Lockfiles: ${e.cache.lockfiles.map(e=>Ok.code(e)).join(", ")}`],[Ok.heading("\uD83D\uDE80 Runtime Setup",2),Ok.table(["Component","Detail"],r),Ok.details("Cache details",Ok.list(i))].join("\n\n")},catch:e=>new OU({reason:"render",message:`Failed to render job summary: ${e instanceof Error?e.message:String(e)}`,cause:e})}).pipe(a9(t=>e.summary(t).pipe(ox(e=>new OU({reason:"write",message:`Failed to write job summary: ${e.message}`,cause:e})))),oB(e=>cP(e.message))),yield*t.group("Runtime Setup Complete",cD(function*(){for(let e of a.runtimes)yield*cY(`${e.name}: ${e.version}`);yield*cY(`${a.outputs.packageManager}: ${a.outputs.packageManagerVersion}`),yield*cY(`Turbo: ${a.outputs.turboEnabled?"enabled":"disabled"}`),yield*cY(`Biome: ${iA(a.biome)?`v${a.biome.value.version}`:iA(a.biomeDetected)?"detected, install failed":"not detected"}`),yield*cY(`Dependencies: ${a.dependenciesInstalled?"installed":"skipped"}`)}))}))});yM.run(Oj,{layer:Mj})})(); \ No newline at end of file diff --git a/dist/post.js b/dist/post.js index e842adbb..7ceba11e 100644 --- a/dist/post.js +++ b/dist/post.js @@ -1,165 +1,34 @@ -/*! formdata-polyfill. MIT License. Jimmy Wärting <https://jimmy.warting.se/opensource> */ - -/*! ws. MIT License. Einar Otto Stangvik <einaros@gmail.com> */ -import{fileURLToPath as e}from"node:url";var t,r,i,n,s,o,a,A=e(import.meta.url);import{createRequire as l}from"node:module";let c=l(import.meta.url);var d={9557(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let o=s(r(8611)),a=s(r(5692));async function A(e){let t=0,r=[];for await(let i of e)t+=i.length,r.push(i);return Buffer.concat(r,t)}t.toBuffer=A,t.json=async function(e){let t=(await A(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}},t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?a:o).request(e,t),i=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=i.then.bind(i),r}},2120(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},o=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let a=s(r(9278)),A=s(r(8611)),l=r(5692);o(r(9557),t);let c=Symbol("AgentBaseInternalState");class d extends A.Agent{constructor(e){super(e),this[c]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new a.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],i=r.indexOf(t);-1!==i&&(r.splice(i,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?l.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let i={...t,secureEndpoint:this.isSecureEndpoint(t)},n=this.getName(i),s=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(o=>{if(this.decrementSockets(n,s),o instanceof A.Agent)try{return o.addRequest(e,i)}catch(e){return r(e)}this[c].currentSocket=o,super.createSocket(e,t,r)},e=>{this.decrementSockets(n,s),r(e)})}createConnection(){let e=this[c].currentSocket;if(this[c].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[c].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[c]&&(this[c].defaultPort=e)}get protocol(){return this[c].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[c]&&(this[c].protocol=e)}}t.Agent=d},4879(e,t,r){let i;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let i=0,n=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))}),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),i=!1,t.destroy=()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(5826)(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5826(e,t,r){e.exports=function(e){function t(e){let r,n,s,o=null;function a(...e){if(!a.enabled)return;let i=Number(new Date);a.diff=i-(r||i),a.prev=r,a.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";n++;let s=t.formatters[i];if("function"==typeof s){let t=e[n];r=s.call(a,t),e.splice(n,1),n--}return r}),t.formatArgs.call(a,e),(a.log||t.log).apply(a,e)}return a.namespace=e,a.useColors=t.useColors(),a.color=t.selectColor(e),a.extend=i,a.destroy=t.destroy,Object.defineProperty(a,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==o?o:(n!==t.namespaces&&(n=t.namespaces,s=t.enabled(e)),s),set:e=>{o=e}}),"function"==typeof t.init&&t.init(a),a}function i(e,r){let i=t(this.namespace+(void 0===r?":":r)+e);return i.log=this.log,i}function n(e,t){let r=0,i=0,n=-1,s=0;for(;r<e.length;)if(i<t.length&&(t[i]===e[r]||"*"===t[i]))"*"===t[i]?(n=i,s=r):r++,i++;else{if(-1===n)return!1;i=n+1,r=++s}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=r(9049),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5243(e,t,r){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(4879):e.exports=r(5051)},5051(e,t,r){let i=r(2018),n=r(9023);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let i=0;i<r.length;i++)e.inspectOpts[r[i]]=t.inspectOpts[r[i]]},t.log=function(...e){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:i,useColors:n}=this;if(n){let t=this.color,n="\x1b[3"+(t<8?t:"8;5;"+t),s=` ${n};1m${i} \u001B[0m`;r[0]=s+r[0].split("\n").join("\n"+s),r.push(n+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+i+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)},t.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(9478);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[r]=i,e},{}),e.exports=r(5826)(t);let{formatters:s}=e.exports;s.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},s.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},1533(e){e.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return -1!==i&&(-1===n||i<n)}},7277(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpProxyAgent=void 0;let a=s(r(9278)),A=s(r(4756)),l=o(r(5243)),c=r(4434),d=r(2120),g=r(7016),u=(0,l.default)("http-proxy-agent");class h extends d.Agent{constructor(e,t){super(t),this.proxy="string"==typeof e?new g.URL(e):e,this.proxyHeaders=t?.headers??{},u("Creating new HttpProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...t?function(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}(t,"headers"):null,host:r,port:i}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:r}=this,i=t.secureEndpoint?"https:":"http:",n=e.getHeader("host")||"localhost",s=`${i}//${n}`,o=new g.URL(e.path,s);80!==t.port&&(o.port=String(t.port)),e.path=String(o);let a="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;a["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let t of(a["Proxy-Connection"]||(a["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(a))){let r=a[t];r&&e.setHeader(t,r)}}async connect(e,t){let r,i,n;return e._header=null,e.path.includes("://")||this.setRequestProps(e,t),u("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(u("Patching connection write() output buffer with updated header"),i=(r=e.outputData[0].data).indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+r.substring(i),u("Output buffer: %o",e.outputData[0].data)),"https:"===this.proxy.protocol?(u("Creating `tls.Socket`: %o",this.connectOpts),n=A.connect(this.connectOpts)):(u("Creating `net.Socket`: %o",this.connectOpts),n=a.connect(this.connectOpts)),await (0,c.once)(n,"connect"),n}}h.protocols=["http","https"],t.HttpProxyAgent=h},6565(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},o=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let a=s(r(9278)),A=s(r(4756)),l=o(r(2613)),c=o(r(5243)),d=r(2120),g=r(7016),u=r(679),h=(0,c.default)("https-proxy-agent"),m=e=>void 0===e.servername&&e.host&&!a.isIP(e.host)?{...e,servername:e.host}:e;class p extends d.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new g.URL(e):e,this.proxyHeaders=t?.headers??{},h("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?f(t,"headers"):null,host:r,port:i}}async connect(e,t){let r,{proxy:i}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===i.protocol?(h("Creating `tls.Socket`: %o",this.connectOpts),r=A.connect(m(this.connectOpts))):(h("Creating `net.Socket`: %o",this.connectOpts),r=a.connect(this.connectOpts));let n="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},s=a.isIPv6(t.host)?`[${t.host}]`:t.host,o=`CONNECT ${s}:${t.port} HTTP/1.1\r -`;if(i.username||i.password){let e=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(n.Host=`${s}:${t.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(n)))o+=`${e}: ${n[e]}\r -`;let c=(0,u.parseProxyResponse)(r);r.write(`${o}\r -`);let{connect:d,buffered:g}=await c;if(e.emit("proxyConnect",d),this.emit("proxyConnect",d,e),200===d.statusCode)return(e.once("socket",C),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),A.connect({...f(m(t),"host","path","port"),socket:r})):r;r.destroy();let p=new a.Socket({writable:!1});return p.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,l.default)(e.listenerCount("data")>0),e.push(g),e.push(null)}),p}}function C(e){e.resume()}function f(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}p.protocols=["http","https"],t.HttpsProxyAgent=p},679(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let n=(0,i(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let i=0,s=[];function o(){let A=e.read();A?function(A){s.push(A),i+=A.length;let l=Buffer.concat(s,i),c=l.indexOf("\r\n\r\n");if(-1===c){n("have not received end of HTTP headers yet..."),o();return}let d=l.slice(0,c).toString("ascii").split("\r\n"),g=d.shift();if(!g)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let u=g.split(" "),h=+u[1],m=u.slice(2).join(" "),p={};for(let t of d){if(!t)continue;let i=t.indexOf(":");if(-1===i)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let n=t.slice(0,i).toLowerCase(),s=t.slice(i+1).trimStart(),o=p[n];"string"==typeof o?p[n]=[o,s]:Array.isArray(o)?o.push(s):p[n]=s}n("got proxy server response: %o %o",g,p),a(),t({connect:{statusCode:h,statusText:m,headers:p},buffered:l})}(A):e.once("readable",o)}function a(){e.removeListener("end",A),e.removeListener("error",l),e.removeListener("readable",o)}function A(){a(),n("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function l(e){a(),n("onerror %o",e),r(e)}e.on("error",l),e.on("end",A),o()})}},9049(e){function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,n,s,o,a=typeof e;if("string"===a&&e.length>0){var A=e;if(!((A=String(A)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(n=Math.abs(i=e))>=864e5?t(i,n,864e5,"day"):n>=36e5?t(i,n,36e5,"hour"):n>=6e4?t(i,n,6e4,"minute"):n>=1e3?t(i,n,1e3,"second"):i+" ms":(o=Math.abs(s=e))>=864e5?Math.round(s/864e5)+"d":o>=36e5?Math.round(s/36e5)+"h":o>=6e4?Math.round(s/6e4)+"m":o>=1e3?Math.round(s/1e3)+"s":s+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let i,n=r(857),s=r(2018),o=r(1533),{env:a}=process;function A(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===i)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===i)return 0;let r=i||0;if("dumb"===a.TERM)return r;if("win32"===process.platform){let e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:r;if("TEAMCITY_VERSION"in a)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION);if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){let e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?i=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(i=1),"FORCE_COLOR"in a&&(i="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return A(l(e,e&&e.isTTY))},stdout:A(l(!0,s.isatty(1))),stderr:A(l(!0,s.isatty(2)))}},3006(e,t,r){r(5183);let i=r(6873);r(6334),r(4967),r(1326);let n=r(5891);r(6400),r(3614),r(9741),r(9003),r(8392),r(473);let s=r(8065),o=r(1210),{InvalidArgumentError:a}=s,l=r(8769);r(5010),r(375);let{MockCallHistory:c,MockCallHistoryLog:d}=r(2137);r(6923),r(8182),r(2817),r(8531),r(4166);let{getGlobalDispatcher:g,setGlobalDispatcher:u}=r(8023);function h(e){return(t,r,i)=>{if("function"==typeof r&&(i=r,r=null),!t||"string"!=typeof t&&"object"!=typeof t&&!(t instanceof URL))throw new a("invalid url");if(null!=r&&"object"!=typeof r)throw new a("invalid opts");if(r&&null!=r.path){if("string"!=typeof r.path)throw new a("invalid opts.path");let e=r.path;r.path.startsWith("/")||(e=`/${e}`),t=new URL(o.parseOrigin(t).origin+e)}else r||(r="object"==typeof t?t:{}),t=o.parseURL(t);let{agent:n,dispatcher:s=g(),...A}=r;if(n)throw new a("unsupported opts.agent. Did you mean opts.client?");return e.call(s,{...A,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},i)}}r(2645),r(7424),Object.assign(i.prototype,l),e.exports.g6=n,r(7884),r(3128),r(9620),r(5850),r(4053),r(6056),r(9287),r(7870),r(415),r(7068),o.parseHeaders,o.headerNameToString;let m=r(7564).fetch;e.exports.hd=function(t,r){return m(t,r).catch(t=>{throw A?!function e(t,r){if(!t||"object"!=typeof t)return;let i="string"==typeof t.stack?t.stack:"",n=r.replace(/\\/g,"/");if(i&&(i.includes(r)||i.includes(n)))return;let s={};if(Error.captureStackTrace(s,e),!s.stack)return;let o=s.stack.split("\n").slice(1).join("\n");t.stack=i?`${i} -${o}`:s.stack}(t,A):t&&"object"==typeof t&&Error.captureStackTrace(t,e.exports.hd),t})},e.exports.Lr=r(3470).Headers,e.exports.YK=r(165).Response,e.exports.Kd=r(9553).Request,e.exports.fS=r(1304).FormData;let{setGlobalOrigin:p,getGlobalOrigin:C}=r(1045),{CacheStorage:f}=r(3691),{kConstruct:I}=r(3025);new f(I);let{deleteCookie:E,getCookies:y,getSetCookies:B,setCookie:Q,parseCookie:N}=r(5823),{parseMIMEType:b,serializeAMimeType:S}=r(3518),{CloseEvent:w,ErrorEvent:D,MessageEvent:x}=r(7342),{WebSocket:R,ping:M}=r(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=D,e.exports.aM=x,r(3867).WebSocketStream,r(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:k}=r(7288);e.exports.GD=k},4032(e,t,r){let{addAbortListener:i}=r(1210),{RequestAbortedError:n}=r(8065),s=Symbol("kListener"),o=Symbol("kSignal");function a(e){e.abort?e.abort(e[o]?.reason):e.reason=e[o]?.reason??new n,A(e)}function A(e){e[o]&&("removeEventListener"in e[o]?e[o].removeEventListener("abort",e[s]):e[o].removeListener("abort",e[s]),e[o]=null,e[s]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[o]=null,e[s]=null,t){if(t.aborted)return void a(e);e[o]=t,e[s]=()=>{a(e)},i(e[o],e[s])}},removeSignal:A}},5854(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{InvalidArgumentError:s,SocketError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new s("invalid opts");if("function"!=typeof t)throw new s("invalid callback");let{signal:r,opaque:i,responseHeaders:n}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=n||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new o("bad connect",null)}onRequestUpgrade(e,t,r,i){let{callback:n,opaque:s,context:o}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?a.parseRawHeaders(c):r),this.runInAsyncScope(n,null,null,{statusCode:t,headers:A,socket:i,opaque:s,context:o})}onResponseError(e,t){let{callback:r,opaque:i}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r),i={...t,method:"CONNECT"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},4372(e,t,r){let{Readable:i,Duplex:n,PassThrough:s}=r(7075),o=r(4589),{AsyncResource:a}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:g}=r(3025),{addSignal:u,removeSignal:h}=r(4032);function m(){}let p=Symbol("resume");class C extends i{constructor(){super({autoDestroy:!0}),this[p]=null,this[g]=!0}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}}class f extends i{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class I extends a{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:i,opaque:s,onInfo:o,responseHeaders:a}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new A("invalid method");if(o&&"function"!=typeof o)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=s||null,this.responseHeaders=a||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new C().on("error",m),this.ret=new n({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:i}=this;i.push(e,t)||i._readableState.destroyed?r():i[p]=r},destroy:(e,t)=>{let{body:r,req:i,res:n,ret:s,abort:o}=this;e||s._readableState.endEmitted||(e=new c),o&&e&&o(),d.destroy(r,e),d.destroy(i,e),d.destroy(n,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(o(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let n,{opaque:s,handler:o,context:a}=this;if(t<200){if(this.onInfo){let i=e?.rawHeaders,n="raw"===this.responseHeaders?d.parseRawHeaders(i):r;this.onInfo({statusCode:t,headers:n})}return}this.res=new f(()=>e.resume());try{this.handler=null;let i=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(i):r;n=this.runInAsyncScope(o,null,{statusCode:t,headers:A,opaque:s,body:this.res,context:a})}catch(e){throw this.res.on("error",m),e}if(!n||"function"!=typeof n.on)throw new l("expected Readable");n.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=n}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new I(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new s().destroy(e)}}},2545(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{Readable:s}=r(7769),{InvalidArgumentError:o,RequestAbortedError:a}=r(8065),A=r(1210);function l(){}class c extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new o("invalid opts");let{signal:r,method:i,opaque:n,body:s,onInfo:c,responseHeaders:d,highWaterMark:g}=e;try{if("function"!=typeof t)throw new o("invalid callback");if(null!=g&&(!Number.isFinite(g)||g<0))throw new o("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new o("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new o("invalid method");if(c&&"function"!=typeof c)throw new o("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(s)&&A.destroy(s.on("error",l),e),e}this.method=i,this.responseHeaders=d||null,this.opaque=n||null,this.callback=t,this.res=null,this.abort=null,this.body=s,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=g,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new a:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new a,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let{callback:n,opaque:o,context:a,responseHeaders:c,highWaterMark:d}=this,g=e?.rawHeaders,u="raw"===c?A.parseRawHeaders(g):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}let h=r?.["content-type"],m=r?.["content-length"],p=new s({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener&&(p.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=p,null!==n)try{this.runInAsyncScope(n,null,null,{statusCode:t,statusText:i,headers:u,trailers:this.trailers,opaque:o,body:p,context:a})}catch(e){this.res=null,A.destroy(p.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:i,body:n,opaque:s}=this;i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:s})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),n&&(this.body=null,A.isStream(n)&&(n.on("error",l),A.destroy(n,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let i=r(4589),{AsyncResource:n}=r(6698),{InvalidArgumentError:s,InvalidReturnValueError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends n{constructor(e,t,r){if(!e||"object"!=typeof e)throw new s("invalid opts");let{signal:i,method:n,opaque:o,body:l,onInfo:d,responseHeaders:g}=e;try{if("function"!=typeof r)throw new s("invalid callback");if("function"!=typeof t)throw new s("invalid factory");if(i&&"function"!=typeof i.on&&"function"!=typeof i.addEventListener)throw new s("signal must be an EventEmitter or EventTarget");if("CONNECT"===n)throw new s("invalid method");if(d&&"function"!=typeof d)throw new s("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw a.isStream(l)&&a.destroy(l.on("error",c),e),e}this.responseHeaders=g||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,a.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,i)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){var n;let s,A,l,c,d,{factory:g,opaque:u,context:h,responseHeaders:m}=this,p=e?.rawHeaders,C="raw"===m?a.parseRawHeaders(p):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:C});return}if(this.factory=null,null===g)return;let f=this.runInAsyncScope(g,null,{statusCode:t,headers:C,opaque:u,context:h});if(!f||"function"!=typeof f.write||"function"!=typeof f.end||"function"!=typeof f.on)throw new o("expected Writable");n=(e,t)=>{let{callback:r,res:i,opaque:n,trailers:s,abort:o}=this;this.res=null,(e||!i?.readable)&&a.destroy(i,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:n,trailers:s}),e&&o(e)},s=!1,A=(e,t=!1)=>{s||(s=!0,f.removeListener("close",l),f.removeListener("error",c),f.removeListener("finish",d),n(e,t))},l=()=>{let e;A(f.errored??f.writableErrored??f._writableState?.errored??(f.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),f.on("close",l),f.on("error",c),f.on("finish",d),f.closed?process.nextTick(l):f.writableFinished&&process.nextTick(d),f.on("drain",()=>e.resume()),this.res=f,!0===(void 0!==f.writableNeedDrain?f.writableNeedDrain:f._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:i,opaque:n,body:s}=this;l(this),this.factory=null,r?(this.res=null,a.destroy(r,t)):i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:n})})),s&&(this.body=null,a.destroy(s,t))}}e.exports=function e(t,r,i){if(void 0===i)return new Promise((i,n)=>{e.call(this,t,r,(e,t)=>e?n(e):i(t))});try{let e=new d(t,r,i);this.dispatch(t,e)}catch(r){if("function"!=typeof i)throw r;let e=t?.opaque;queueMicrotask(()=>i(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:i,SocketError:n}=r(8065),{AsyncResource:s}=r(6698),o=r(4589),a=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new i("invalid opts");if("function"!=typeof t)throw new i("invalid callback");let{signal:r,opaque:n,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new i("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=s||null,this.opaque=n||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(o(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new n("bad upgrade",null)}onRequestUpgrade(e,t,r,i){if(t!==(!0===i[A]?200:101)){let t=!0===i[A]?null:a.getSocketInfo(i);e.abort(new n("bad upgrade",t));return}let{callback:s,opaque:o,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,g="raw"===this.responseHeaders?a.parseRawHeaders(d):r;this.runInAsyncScope(s,null,null,{headers:g,socket:i,opaque:o,context:l})}onResponseError(e,t){let{callback:r,opaque:i}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new d(t,r),i={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let i=r(4589),{addAbortListener:n}=r(8474),{Readable:s}=r(7075),{RequestAbortedError:o,NotSupportedError:a,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),g=Symbol("kConsume"),u=Symbol("kReading"),h=Symbol("kBody"),m=Symbol("kAbort"),p=Symbol("kContentType"),C=Symbol("kContentLength"),f=Symbol("kUsed"),I=Symbol("kBytesRead"),E=Symbol("kPreservedBuffer"),y=()=>{};function B(e,t){return i(!e[g]),new Promise((r,i)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[g]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",i).on("close",()=>{i(TypeError("unusable"))}):i(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[g]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]},e.on("error",function(e){w(this[g],e)}).on("close",function(){null!==this[g].body&&w(this[g],new o)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[E];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[E]=null}else if(t.bufferIndex){let r=t.bufferIndex,i=t.buffer.length;for(let n=r;n<i;n++)S(e,t.buffer[n])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?b(this[g],this._readableState.encoding):e.stream.on("end",function(){b(this[g],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[g])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let i=1===e.length?e[0]:Buffer.concat(e,t),n=i.length,s=3*(n>2&&239===i[0]&&187===i[1]&&191===i[2]);return r&&"utf8"!==r&&"utf-8"!==r?i.subarray(s,n).toString(r):i.utf8Slice(s,n)}function N(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),i=0;for(let t=0;t<e.length;++t){let n=e[t];r.set(n,i),i+=n.length}return r}function b(e,t){let{type:r,body:i,resolve:n,stream:s,length:o}=e;try{"text"===r?n(Q(i,o,t)):"json"===r?n(JSON.parse(Q(i,o,t))):"arrayBuffer"===r?n(N(i,o).buffer):"blob"===r?n(new Blob(i,{type:s[p]})):"bytes"===r&&n(N(i,o)),w(e)}catch(e){s.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends s{constructor({resume:e,abort:t,contentType:r="",contentLength:i,highWaterMark:n=65536}){super({autoDestroy:!0,read:e,highWaterMark:n}),this._readableState.dataEmitted=!1,this[m]=t,this[g]=null,this[I]=0,this[h]=null,this[f]=!1,this[p]=r,this[C]=Number.isFinite(i)?i:null,this[u]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new o),e&&this[m](),this[f]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[u]=!0,this[f]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[I]+=e.length,this[g])?(S(this[g],e),!this[u]||super.push(e)):super.push(e)}text(){return B(this,"text")}json(){return B(this,"json")}blob(){return B(this,"blob")}bytes(){return B(this,"bytes")}arrayBuffer(){return B(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[g]&&(this[h].getReader(),i(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,i)=>{if((this[C]&&this[C]>r||this[I]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},s=n(t,r);this.on("close",function(){s[Symbol.dispose](),t.aborted?i(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",y).on("data",()=>{this[I]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,i=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&i.push(t);i.length>0&&(this[E]=(this[E]||[]).concat(i))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:i}=r(7075),{EventEmitter:n}=r(8474),{assertCacheKey:s,assertCacheValue:o}=r(8621);class a extends n{#e=1024;#t=0x6400000;#r=5242880;#i=0;#n=0;#s=new Map;#o=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#i}isFull(){return this.#i>=this.#t||this.#n>=this.#e}get(e){s(e);let t=`${e.origin}:${e.path}`,r=Date.now(),i=this.#s.get(t),n=i?A(e,i,r):null;return null==n?void 0:{statusMessage:n.statusMessage,statusCode:n.statusCode,headers:n.headers,body:n.body,vary:n.vary?n.vary:void 0,etag:n.etag,cacheControlDirectives:n.cacheControlDirectives,cachedAt:n.cachedAt,staleAt:n.staleAt,deleteAt:n.deleteAt}}createWriteStream(e,t){s(e),o(t);let r=`${e.origin}:${e.path}`,n=this,a={...e,...t,body:[],size:0};return new i({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),a.size+=e.byteLength,a.size>n.#r?this.destroy():a.body.push(e),r(null)},final(t){let i=n.#s.get(r);i||(i=[],n.#s.set(r,i));let s=A(e,i,Date.now());if(s){let e=i.indexOf(s);i.splice(e,1,a),n.#i-=s.size}else i.push(a),n.#n+=1;if(n.#i+=a.size,n.#i>n.#t||n.#n>n.#e){for(let[e,t]of(n.#o||(n.emit("maxSizeExceeded",{size:n.#i,maxSize:n.#t,count:n.#n,maxCount:n.#e}),n.#o=!0),n.#s)){for(let e of t.splice(0,t.length/2))n.#i-=e.size,n.#n-=1;0===t.length&&n.#s.delete(e)}n.#i<n.#t&&n.#n<n.#e&&(n.#o=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#s.get(t)??[])this.#i-=e.size,this.#n-=1;this.#s.delete(t)}}function A(e,t,r){for(let i=0;i<t.length;i++){let n=t[i];if(n.deleteAt>r&&n.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,n))return n}}e.exports=a},7068(e,t,r){let i,{Writable:n}=r(7075),{assertCacheKey:s,assertCacheValue:o}=r(8621);e.exports=class{#r=2e9;#e=1/0;#a;#A;#l;#c;#d;#g;#u;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}i||(i=r(99).DatabaseSync),this.#a=new i(e?.location??":memory:"),this.#a.exec(` - PRAGMA journal_mode = WAL; - PRAGMA synchronous = NORMAL; - PRAGMA temp_store = memory; - PRAGMA optimize; - - CREATE TABLE IF NOT EXISTS cacheInterceptorV3 ( - -- Data specific to us - id INTEGER PRIMARY KEY AUTOINCREMENT, - url TEXT NOT NULL, - method TEXT NOT NULL, - - -- Data returned to the interceptor - body BUF NULL, - deleteAt INTEGER NOT NULL, - statusCode INTEGER NOT NULL, - statusMessage TEXT NOT NULL, - headers TEXT NULL, - cacheControlDirectives TEXT NULL, - etag TEXT NULL, - vary TEXT NULL, - cachedAt INTEGER NOT NULL, - staleAt INTEGER NOT NULL - ); - - CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV3_getValuesQuery ON cacheInterceptorV3(url, method, deleteAt); - CREATE INDEX IF NOT EXISTS idx_cacheInterceptorV3_deleteByUrlQuery ON cacheInterceptorV3(deleteAt); - `),this.#A=this.#a.prepare(` - SELECT - id, - body, - deleteAt, - statusCode, - statusMessage, - headers, - etag, - cacheControlDirectives, - vary, - cachedAt, - staleAt - FROM cacheInterceptorV3 - WHERE - url = ? - AND method = ? - ORDER BY - deleteAt ASC - `),this.#l=this.#a.prepare(` - UPDATE cacheInterceptorV3 SET - body = ?, - deleteAt = ?, - statusCode = ?, - statusMessage = ?, - headers = ?, - etag = ?, - cacheControlDirectives = ?, - vary = ?, - cachedAt = ?, - staleAt = ? - WHERE - id = ? - `),this.#c=this.#a.prepare(` - INSERT INTO cacheInterceptorV3 ( - url, - method, - body, - deleteAt, - statusCode, - statusMessage, - headers, - etag, - cacheControlDirectives, - vary, - cachedAt, - staleAt - ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) - `),this.#g=this.#a.prepare("DELETE FROM cacheInterceptorV3 WHERE url = ?"),this.#u=this.#a.prepare("SELECT COUNT(*) AS total FROM cacheInterceptorV3"),this.#d=this.#a.prepare("DELETE FROM cacheInterceptorV3 WHERE deleteAt <= ?"),this.#h=this.#e===1/0?null:this.#a.prepare(` - DELETE FROM cacheInterceptorV3 - WHERE id IN ( - SELECT - id - FROM cacheInterceptorV3 - ORDER BY cachedAt ASC - LIMIT ? - ) - `)}close(){this.#a.close()}get(e){s(e);let t=this.#m(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){s(e);let r=this.#p(e),i=Array.isArray(t.body)?Buffer.concat(t.body):t.body,n=i?.byteLength;if(n&&n>this.#r)return;let o=this.#m(e,!0);o?this.#l.run(i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,o.id):(this.#c.run(r,e.method,i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#C())}createWriteStream(e,t){s(e),o(t);let r=0,i=[],a=this;return new n({decodeStrings:!0,write(e,t,n){(r+=e.byteLength)<=a.#r?i.push(e):this.destroy(),n()},final(r){a.set(e,{...t,body:i}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#g.run(this.#p(e))}#C(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#u.get();return e}#p(e){return`${e.origin}/${e.path}`}#m(e,t=!1){let r=this.#p(e),{headers:i,method:n}=e,s=this.#A.all(r,n);if(0===s.length)return;let o=Date.now();for(let e of s){if(o>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(i[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let i,n=r(7030),s=r(4589),o=r(1210),{InvalidArgumentError:a,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:g,timeout:u,session:h,...m}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new a("maxCachedSessions must be a positive integer or zero");let p={path:g,...m},C=new l(null==d?100:d);return u=null==u?1e4:u,e=null==e||e,function({hostname:a,host:l,protocol:d,port:g,servername:m,localAddress:f,httpSocket:I},E){let y;if("https:"===d){i||(i=r(1692));let n=(m=m||p.servername||o.getServerName(l)||null)||a;s(n);let A=h||C.get(n)||null;g=g||443,(y=i.connect({highWaterMark:16384,...p,servername:m,session:A,localAddress:f,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:I,port:g,host:a})).on("session",function(e){C.set(n,e)})}else s(!I,"httpSocket can only be sent on TLS update"),g=g||80,y=n.connect({highWaterMark:65536,...p,localAddress:f,port:g,host:a}),!0===c&&(y.alpnProtocol="h2");if(null==p.keepAlive||p.keepAlive){let e=void 0===p.keepAliveInitialDelay?6e4:p.keepAliveInitialDelay;y.setKeepAlive(!0,e)}let B=o.setupConnectTimeout(new WeakRef(y),{timeout:u,hostname:a,port:g});return y.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(B),E){let e=E;E=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(B),E){let t=E;E=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let i="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?i+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:i+=` (attempted address: ${r.hostname}:${r.port},`;let n=new A(i+=` timeout: ${r.timeout}ms)`);return n.cause=e,n}return e}(e,this,{timeout:u,hostname:a,port:g}))}}),y}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let i=t[e],n=i.toLowerCase();r[i]=r[n]=n}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let i=r(3053),n=r(7975),s=n.debuglog("undici"),o=n.debuglog("fetch"),a=n.debuglog("websocket"),A={beforeConnect:i.channel("undici:client:beforeConnect"),connected:i.channel("undici:client:connected"),connectError:i.channel("undici:client:connectError"),sendHeaders:i.channel("undici:client:sendHeaders"),create:i.channel("undici:request:create"),bodySent:i.channel("undici:request:bodySent"),bodyChunkSent:i.channel("undici:request:bodyChunkSent"),bodyChunkReceived:i.channel("undici:request:bodyChunkReceived"),headers:i.channel("undici:request:headers"),trailers:i.channel("undici:request:trailers"),error:i.channel("undici:request:error"),open:i.channel("undici:websocket:open"),close:i.channel("undici:websocket:close"),socketError:i.channel("undici:websocket:socket_error"),ping:i.channel("undici:websocket:ping"),pong:i.channel("undici:websocket:pong"),proxyConnected:i.channel("undici:proxy:connected")},l=!1;function c(e=s){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,i.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s}}=t;e("connecting to %s%s using %s%s",s,n?`:${n}`:"",i,r)}),i.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s}}=t;e("connected to %s%s using %s%s",s,n?`:${n}`:"",i,r)}),i.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:i,port:n,host:s},error:o}=t;e("connection to %s%s using %s%s errored - %s",s,n?`:${n}`:"",i,r,o.message)}),i.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:i,origin:n}}=t;e("sending request to %s %s%s",r,n,i)})}}let d=!1,g=!1;(s.enabled||o.enabled)&&(c(o.enabled?o:s),function(e=s){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,i.subscribe("undici:request:headers",t=>{let{request:{method:r,path:i,origin:n},response:{statusCode:s}}=t;e("received response to %s %s%s - HTTP %d",r,n,i,s)}),i.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:i,origin:n}}=t;e("trailers received from %s %s%s",r,n,i)}),i.subscribe("undici:request:error",t=>{let{request:{method:r,path:i,origin:n},error:s}=t;e("request to %s %s%s errored - %s",r,n,i,s.message)})}}(o.enabled?o:s)),a.enabled&&(c(s.enabled?s:a),function(e=a){if(!g){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){g=!0;return}g=!0,i.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:i}=t.address;e("connection opened %s%s",r,i?`:${i}`:"")}else e("connection opened")}),i.subscribe("undici:websocket:close",t=>{let{websocket:r,code:i,reason:n}=t;e("closed connection to %s - %s %s",r.url,i,n)}),i.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),i.subscribe("undici:websocket:ping",t=>{e("ping received")}),i.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(a)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let i=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class n extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}let s=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class o extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}let a=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[a]}get[a](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class g extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let u=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[u]}get[u](){return!0}}let m=Symbol.for("undici.error.UND_ERR_ABORT");class p extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[m]}get[m](){return!0}}let C=Symbol.for("undici.error.UND_ERR_ABORTED");class f extends p{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[C]}get[C](){return!0}}let I=Symbol.for("undici.error.UND_ERR_INFO");class E extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[I]}get[I](){return!0}}let y=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class B extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[y]}get[y](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class N extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let b=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[b]}get[b](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class D extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let x=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[x]}get[x](){return!0}}let M=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class k extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let v=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class U extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[v]}get[v](){return!0}}let F=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[F]}get[F](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class O extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let P=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class H extends r{constructor(e,t,{headers:r,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[P]}get[P](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let z=Symbol.for("undici.error.UND_ERR_PRX_TLS");class q extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[z]}get[z](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class _ extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let J=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[J]}get[J](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class X extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:p,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:o,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:B,ConnectTimeoutError:n,InvalidArgumentError:g,InvalidReturnValueError:h,RequestAbortedError:f,ClientDestroyedError:S,ClientClosedError:D,InformationalError:E,SocketError:R,NotSupportedError:k,ResponseContentLengthMismatchError:N,BalancedPoolMissingUpstreamError:U,ResponseExceededMaxSizeError:O,RequestRetryError:H,ResponseError:G,SecureProxyConnectionError:q,ProxyConnectionError:_,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:X}},1037(e,t,r){let{InvalidArgumentError:i,NotSupportedError:n}=r(8065),s=r(4589),{isValidHTTPToken:o,isValidHeaderValue:a,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:g,hasSafeIterator:u,isBlobLike:h,serializePathWithQuery:m,parseHeaders:p,assertRequestHandler:C,getServerName:f,normalizedMethodRecords:I,getProtocolFromUrlString:E}=r(1210),{channels:y}=r(6708),{headerNameLowerCasedRecord:B}=r(7525),Q=/[^\u0021-\u00ff]/,N=Symbol("handler"),b=Symbol("controller"),S=Symbol("resume");class w{#f=!1;#I=null;#E=!1;#y;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#y=e}pause(){this.#f=!0}resume(){this.#f&&(this.#f=!1,this[S]?.())}abort(e){this.#E||(this.#E=!0,this.#I=e,this.#y(e))}get aborted(){return this.#E}get reason(){return this.#I}get paused(){return this.#f}}function D(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new i(`invalid ${t} header`);if(void 0===r)return;let s=B[t];if(void 0===s&&void 0===B[s=t.toLowerCase()]&&!o(s))throw new i("invalid header key");if(Array.isArray(r)){let e=[];for(let n=0;n<r.length;n++)if("string"==typeof r[n]){if(!a(r[n]))throw new i(`invalid ${t} header`);e.push(r[n])}else if(null===r[n])e.push("");else if("object"==typeof r[n])throw new i(`invalid ${t} header`);else{let s=`${r[n]}`;if(!a(s))throw new i(`invalid ${t} header`);e.push(s)}r=e}else if("string"==typeof r){if(!a(r))throw new i(`invalid ${t} header`)}else if(null===r)r="";else if(!a(r=`${r}`))throw new i(`invalid ${t} header`);if("host"===s){if(null!==e.host)throw new i("duplicate host header");if("string"!=typeof r)throw new i("invalid host header");e.host=r}else if("content-length"===s){if(null!==e.contentLength)throw new i("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new i("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===s)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===s||"keep-alive"===s||"upgrade"===s)throw new i(`invalid ${s} header`);else if("connection"===s){let t="string"==typeof r?r:null;if(null===t)throw new i("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!o(t))throw new i("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===s)throw new n("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:n,headers:s,query:p,idempotent:B,blocking:b,upgrade:S,headersTimeout:w,bodyTimeout:x,reset:R,expectContinue:M,servername:k,throwOnError:v,maxRedirections:U,typeOfService:F},T){if("string"!=typeof t)throw new i("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new i("invalid request path")}else throw new i("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new i("method must be a string");if(void 0===I[r]&&!o(r))throw new i("invalid request method");if(S&&"string"!=typeof S)throw new i("upgrade must be a string");if(S&&!a(S))throw new i("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new i("invalid headersTimeout");if(null!=x&&(!Number.isFinite(x)||x<0))throw new i("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new i("invalid reset");if(null!=M&&"boolean"!=typeof M)throw new i("invalid expectContinue");if(null!=v)throw new i("invalid throwOnError");if(null!=U&&0!==U)throw new i("maxRedirections is not supported, use the redirect interceptor");if(null!=F&&(!Number.isInteger(F)||F<0||F>255))throw new i("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=x,this.method=r,this.typeOfService=F,this.abort=null,null==n)this.body=null;else if(A(n)){this.body=n;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(n))this.body=n.byteLength?n:null;else if(ArrayBuffer.isView(n))this.body=n.buffer.byteLength?Buffer.from(n.buffer,n.byteOffset,n.byteLength):null;else if(n instanceof ArrayBuffer)this.body=n.byteLength?Buffer.from(n):null;else if("string"==typeof n)this.body=n.length?Buffer.from(n):null;else if(d(n)||g(n)||h(n))this.body=n;else throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=p?m(t,p):t,this.origin=e,this.protocol=E(e),this.idempotent=null==B?"HEAD"===r||"GET"===r||"QUERY"===r:B,this.blocking=b??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=M&&M,Array.isArray(s)){if(s.length%2!=0)throw new i("headers array must be even");for(let e=0;e<s.length;e+=2)D(this,s[e],s[e+1])}else if(s&&"object"==typeof s)if(u(s))for(let e of s){if(!Array.isArray(e)||2!==e.length)throw new i("headers must be in key-value pair format");D(this,e[0],e[1])}else{let e=Object.keys(s);for(let t=0;t<e.length;++t)D(this,e[t],s[e[t]])}else if(null!=s)throw new i("headers must be an object or an array");C(T,r,S),this.servername=k||f(this.host)||null,this[N]=T,y.create.hasSubscribers&&y.create.publish({request:this})}onBodySent(e){if(y.bodyChunkSent.hasSubscribers&&y.bodyChunkSent.publish({request:this,chunk:e}),this[N].onBodySent)try{return this[N].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(y.bodySent.hasSubscribers&&y.bodySent.publish({request:this}),this[N].onRequestSent)try{return this[N].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(s(!this.aborted),s(!this.completed),this[b]=new w(e),this.error)?void this[b].abort(this.error):(this.abort=e,this[N].onRequestStart(this[b],t))}onResponseStarted(){return this[N].onResponseStarted?.()}onResponseStart(e,t,r,i){s(!this.aborted),s(!this.completed),y.headers.hasSubscribers&&y.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}});let n=this[b];n&&(n[S]=r,n.rawHeaders=t);let o=Array.isArray(t)?p(t):t;try{return this[N].onResponseStart?.(n,e,o,i),!n?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){s(!this.aborted),s(!this.completed),y.bodyChunkReceived.hasSubscribers&&y.bodyChunkReceived.publish({request:this,chunk:e});let t=this[b];try{return this[N].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){s(!this.aborted),s(!this.completed);let i=this[b];i&&(i.rawHeaders=t);let n=Array.isArray(t)?p(t):t;return this[N].onRequestUpgrade?.(i,e,n,r)}onResponseEnd(e){this.onFinally(),s(!this.aborted),s(!this.completed),this.completed=!0,y.trailers.hasSubscribers&&y.trailers.publish({request:this,trailers:e});let t=this[b];t&&(t.rawTrailers=e);let r=Array.isArray(e)?p(e):e;try{return this[N].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),y.error.hasSubscribers&&y.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[b];return this[N].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return D(this,e,t),this}}},9716(e,t,r){let{EventEmitter:i}=r(8474),{Buffer:n}=r(4573),{InvalidArgumentError:s,Socks5ProxyError:o}=r(8065),{debuglog:a}=r(7975),{parseAddress:A}=r(2598),l=a("undici:socks5"),c=n.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},g={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},u={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},m={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends i{constructor(e,t={}){if(super(),!e)throw new s("socket is required");this.socket=e,this.options=t,this.state=m.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=n.concat([this.buffer,e]);try{switch(this.state){case m.HANDSHAKING:this.handleHandshakeResponse();break;case m.AUTHENTICATING:this.handleAuthResponse();break;case m.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=m.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=m.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=m.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==m.INITIAL)throw new s("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=m.HANDSHAKING;let e=n.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new o(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new o("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=m.AUTHENTICATING,this.sendAuthRequest();else throw new o(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new s("Username and password required for authentication");l("sending username/password auth");let r=n.from(e),i=n.from(t);if(r.length>255||i.length>255)throw new s("Username or password too long");let o=n.alloc(3+r.length+i.length);o[0]=1,o[1]=r.length,r.copy(o,2),o[2+r.length]=i.length,i.copy(o,3+r.length),this.socket.write(o)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new o(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new o("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===m.CONNECTING||this.state===m.CONNECTED)throw new s("Connection already in progress");if(this.state!==m.AUTHENTICATED)throw new s("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=m.CONNECTING;let r=this.buildConnectRequest(g.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:i,buffer:s}=A(t),o=n.alloc(4+s.length+2);return o[0]=5,o[1]=e,o[2]=0,o[3]=i,s.copy(o,4),o.writeUInt16BE(r,4+s.length),o}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],i=this.buffer[3];if(5!==t)throw new o(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let n=4;if(i===u.IPV4)n+=6;else if(i===u.DOMAIN){if(this.buffer.length<5)return;n+=1+this.buffer[4]+2}else if(i===u.IPV6)n+=18;else throw new o(`Invalid address type in reply: ${i}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<n)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new o(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let s=4;if(i===u.IPV4)e=Array.from(this.buffer.subarray(s,s+4)).join("."),s+=4;else if(i===u.DOMAIN){let t=this.buffer[s];s+=1,e=this.buffer.subarray(s,s+t).toString(),s+=t}else if(i===u.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(s+2*e);t.push(r.toString(16))}e=t.join(":"),s+=16}let a=this.buffer.readUInt16BE(s);this.buffer=c,this.state=m.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",a),this.emit("connected",{address:e,port:a})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:g,ADDRESS_TYPES:u,REPLY_CODES:h,STATES:m}},2598(e,t,r){let{Buffer:i}=r(4573),n=r(7030),{InvalidArgumentError:s}=r(8065);function o(e){let t=i.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),i=e.slice(t+1);if(n.isIPv4(i)){let n=i.split(".").map(Number),s=(n[0]<<8|n[1]).toString(16),o=(n[2]<<8|n[3]).toString(16);r=`${e.slice(0,t)}:${s}:${o}`}}let s=r.indexOf("::");if(-1!==s){let e=r.slice(0,s),i=r.slice(s+2),n=""===e?[]:e.split(":"),o=""===i?[]:i.split(":"),a=0;for(let e of n)t.writeUInt16BE(parseInt(e,16),a),a+=2;for(let e of(a=16-2*o.length,o))t.writeUInt16BE(parseInt(e,16),a),a+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(n.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:i.from(t)}}if(n.isIPv6(e))return{type:4,buffer:o(e)};let t=i.from(e,"utf8");if(t.length>255)throw new s("Domain name too long (max 255 bytes)");return{type:3,buffer:i.concat([i.from([t.length]),t])}},parseIPv6:o,buildAddressBuffer:function(e,t,r){let n=i.allocUnsafe(2);return n.writeUInt16BE(r,0),i.concat([i.from([e]),t,n])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new s("Buffer too small to contain address type");let i=e[t],n=t+1;switch(i){case 1:if(e.length<n+6)throw new s("Buffer too small for IPv4 address");r=Array.from(e.subarray(n,n+4)).join("."),n+=4;break;case 3:{if(e.length<n+1)throw new s("Buffer too small for domain length");let t=e[n];if(n+=1,e.length<n+t+2)throw new s("Buffer too small for domain address");r=e.subarray(n,n+t).toString("utf8"),n+=t;break}case 4:{if(e.length<n+18)throw new s("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let i=e.readUInt16BE(n+2*r);t.push(i.toString(16))}r=t.join(":"),n+=16;break}default:throw new s(`Invalid address type: ${i}`)}if(e.length<n+2)throw new s("Buffer too small for port");return{address:r,port:e.readUInt16BE(n),bytesRead:(n+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:i,headerNameLowerCasedRecord:n}=r(7525);class s{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new s(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let i=0,n=this;for(;;){let o=e.charCodeAt(i);if(o>127)throw TypeError("key must be ascii string");if(n.code===o)if(r===++i){n.value=t;break}else if(null!==n.middle)n=n.middle;else{n.middle=new s(e,t,i);break}else if(n.code<o)if(null!==n.left)n=n.left;else{n.left=new s(e,t,i);break}else if(null!==n.right)n=n.right;else{n.right=new s(e,t,i);break}}}search(e){let t=e.length,r=0,i=this;for(;null!==i&&r<t;){let n=e[r];for(n<=90&&n>=65&&(n|=32);null!==i;){if(n===i.code){if(t===++r)return i;i=i.middle;break}i=i.code<n?i.left:i.right}}return null}}class o{node=null;insert(e,t){null===this.node?this.node=new s(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let a=new o;for(let e=0;e<i.length;++e){let t=n[i[e]];a.insert(t,t)}e.exports={TernarySearchTree:o,tree:a}},1210(e,t,r){let i=r(4589),{kDestroyed:n,kBodyUsed:s,kListeners:o,kBody:a}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:g,addAbortListener:u}=r(8474),h=r(2297),{InvalidArgumentError:m,ConnectTimeoutError:p}=r(8065),{headerNameLowerCasedRecord:C}=r(7525),{tree:f}=r(1342);class I{constructor(e){this[a]=e,this[s]=!1}async *[Symbol.asyncIterator](){i(!this[s],"disturbed"),this[s]=!0,yield*this[a]}}function E(){}function y(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function B(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function N(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function b(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!b((e=new URL(e)).origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new m("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===N(e.port))throw new m("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new m("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new m("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new m("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new m("Invalid URL origin: the origin must be a string or null/undefined.");if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,i=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),i&&"/"!==i[0]&&(i=`/${i}`),new URL(`${r}${i}`)}if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function D(e){if(null==e)return 0;if(y(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return B(e)?null!=e.size?e.size:null:v(e)?e.byteLength:null}function x(e){return e&&!!(e.destroyed||e[n]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!y(e)||x(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[n]=!0)}}let M=/timeout=(\d+)/;function k(e){return"string"==typeof e?C[e]??e.toLowerCase():f.lookup(e)??e.toString("latin1").toLowerCase()}function v(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function U(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let F=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,O=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,P="win32"===process.platform?(e,t)=>{if(!t.timeout)return E;let r=null,i=null,n=h.setFastTimeout(()=>{r=setImmediate(()=>{i=setImmediate(()=>H(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(n),clearImmediate(r),clearImmediate(i)}}:(e,t)=>{if(!t.timeout)return E;let r=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{H(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r)}};function H(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new p(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,z={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},q={...z,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(z,null),Object.setPrototypeOf(q,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[s]))},isBlobLike:B,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new m("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;i("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return i(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:y,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:x,headerNameToString:k,bufferToLowerCasedHeaderName:function(e){return f.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[o]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[o]){for(let[t,r]of e[o])e.removeListener(t,r);e[o]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),i(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(r,`${e}`);else t.push(r,`${i}`);return t}let i=e.length,n=Array(i);for(let s=0;s<i;s+=2)t=e[s],r=e[s+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),n[s]=t,n[s+1]=r;return n},toRawHeaders:function(e){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${i}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let i=k(e[r]),n=t[i];if(void 0!==n)if(Object.hasOwn(t,i))"string"==typeof n&&(n=[n],t[i]=n),n.push(e[r+1].toString("latin1"));else{let n="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===i?Object.defineProperty(t,i,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[i]=n}else{let n="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[i]=n}}return t},parseKeepAliveTimeout:function(e){let t=e.match(M);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:D,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:v,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new m("handler must be an object");if("function"!=typeof e.onRequestStart)throw new m("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new m("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new m("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new m("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new m("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new m("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new m("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new m("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:U,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?u(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==F[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===F[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=O.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:z,normalizedMethodRecords:q,isValidPort:N,isHttpOrHttpsPrefixed:b,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return y(e)?(0===D(e)&&e.on("data",function(){i(!1)}),"boolean"!=typeof e.readableDidRead&&(e[s]=!1,g.prototype.on.call(e,"data",function(){this[s]=!0})),e):e&&"function"==typeof e.pipeTo?new I(e):e&&U(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new I(e):e},setupConnectTimeout:P,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:i,MaxOriginsReachedError:n}=r(8065),{kBusy:s,kClients:o,kConnected:a,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:g}=r(3025),u=r(9779),h=r(6334),m=r(5183),p=r(1210),C=Symbol("onConnect"),f=Symbol("onDisconnect"),I=Symbol("onConnectionError"),E=Symbol("onDrain"),y=Symbol("factory"),B=Symbol("options"),Q=Symbol("origins");function N(e,t){return t&&1===t.connections?new m(e,t):new h(e,t)}e.exports=class extends u{constructor({factory:e=N,maxOrigins:t=1/0,connect:r,...n}={}){if("function"!=typeof e)throw new i("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new i("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new i("maxOrigins must be a number greater than 0");super(n),r&&"function"!=typeof r&&(r={...r}),this[B]={...p.deepClone(n),maxOrigins:t,connect:r},this[y]=e,this[o]=new Map,this[Q]=new Set,this[E]=(e,t)=>{this.emit("drain",e,[this,...t])},this[C]=(e,t)=>{this.emit("connect",e,[this,...t])},this[f]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[I]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[o].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new i("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[B].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[B].maxOrigins&&!this[Q].has(r))throw new n;let c=this[o].get(l);if(!c){c=this[y](e.origin,!1===A?{...this[B],allowH2:!1}:this[B]);let t=()=>{if(this[o].get(l)!==c||c[a]>0||c[s])return;this[o].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[o].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[E]).on("connect",this[C]).on("disconnect",(e,r,i)=>{t(),this[f](e,r,i)}).on("connectionError",(e,r,i)=>{t(),this[I](e,r,i)}),this[o].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[o].values())e.push(t.close());return this[o].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[o].values())t.push(r.destroy(e));return this[o].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[o].values())t.stats&&(e[t[g].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:n}=r(8065),{PoolBase:s,kClients:o,kNeedDrain:a,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:g}=r(3025),u=r(1210),h=Symbol("factory"),m=Symbol("options"),p=Symbol("kGreatestCommonDivisor"),C=Symbol("kCurrentWeight"),f=Symbol("kIndex"),I=Symbol("kWeight"),E=Symbol("kMaxWeightPerServer"),y=Symbol("kErrorPenalty");function B(e,t){return new d(e,t)}e.exports=class extends s{constructor(e=[],{factory:t=B,...r}={}){if("function"!=typeof t)throw new n("factory must be a function.");for(let i of(super(),this[m]={...u.deepClone(r)},this[f]=-1,this[C]=0,this[E]=this[m].maxWeightPerServer||100,this[y]=this[m].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let t=u.parseOrigin(e).origin;if(this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[m]);for(let e of(this[A](r),r.on("connect",()=>{r[I]=Math.min(this[E],r[I]+this[y])}),r.on("connectionError",()=>{r[I]=Math.max(1,r[I]-this[y]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[I]=Math.max(1,r[I]-this[y]),this._updateBalancedPoolStats())}),this[o]))e[I]=this[E];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[o][t][I],e);this[p]=e}removeUpstream(e){let t=u.parseOrigin(e).origin,r=this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=u.parseOrigin(e).origin;return this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[o].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[g].origin)}[c](){if(0===this[o].length)throw new i;let e=0,t=-1;for(;e++<this[o].length;){this[f]=(this[f]+1)%this[o].length;let e=this[o][this[f]];if((0===this[f]&&(this[C]=this[C]-this[p],this[C]<=0&&(this[C]=this[E])),!e[a]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[I]>this[o][t][I])&&(t=this[f]),e[I]>=this[C]))return e}if(-1!==t)return this[C]=this[o][t][I],this[f]=t,this[o][t]}}},8043(e,t,r){let i,n=r(4589),s=r(1210),{channels:o}=r(6708),a=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:g,HeadersOverflowError:u,SocketError:h,InformationalError:m,BodyTimeoutError:p,HTTPParserError:C,ResponseExceededMaxSizeError:f}=r(8065),{kUrl:I,kReset:E,kClient:y,kParser:B,kBlocking:Q,kRunning:N,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:x,kKeepAliveDefaultTimeout:R,kHostHeader:M,kPendingIdx:k,kRunningIdx:v,kError:U,kPipelining:F,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:O,kKeepAliveMaxTimeout:P,kKeepAliveTimeoutThreshold:H,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:z,kMaxRequests:q,kCounter:V,kMaxResponseSize:_,kOnError:J,kResume:W,kHTTPContext:j,kClosed:X}=r(3025),K=r(8994),Z=Buffer.alloc(0),$=Buffer[Symbol.species],ee=s.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),ei=Symbol("kSocketUsed"),en=Symbol("kTypeOfService"),es=null,eo=null,ea=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(K.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[O],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[_]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(a.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=a.setFastTimeout(eg,e,this.timeoutWeakRef):(this.timeout=setTimeout(eg,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(n(null!=this.ptr),n(null===eo),this.llhttp.llhttp_resume(this.ptr),n(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Z),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){n(null===eo),n(null!=this.ptr),n(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let i;try{ea=e,eo=this,i=r.llhttp_execute(this.ptr,el,e.length)}finally{eo=null,ea=null}if(i!==K.ERROR.OK){let n=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(i===K.ERROR.PAUSED_UPGRADE)this.onUpgrade(n);else if(i===K.ERROR.PAUSED)this.paused=!0,t.unshift(n);else throw this.createError(i,n)}}catch(e){s.destroy(t,e)}}finish(){let e;n(null===eo),n(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||Z,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{eo=this,e=t.llhttp_finish(this.ptr)}finally{eo=null}return e===K.ERROR.OK?null:e===K.ERROR.PAUSED||e===K.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,Z)}createError(e,t){let{llhttp:r,contentLength:i,bytesRead:n}=this;if(-1!==i&&n!==i)return new l;let s=r.llhttp_get_error_reason(this.ptr),o="";if(s){let e=new Uint8Array(r.memory.buffer,s).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,s,e).toString()+")"}return new C(o,K.ERROR[e],t)}destroy(){n(null===eo),n(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[N])return s.destroy(e,new h("bad response",s.getSocketInfo(e))),-1;let r=t[D][t[v]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let i=s.bufferToLowerCasedHeaderName(r);"keep-alive"===i?this.keepAlive+=e.toString():"connection"===i&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===s.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===s.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&s.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:r,socket:i,headers:o,statusCode:a}=this;n(t),n(r[T]===i),n(!i.destroyed),n(!this.paused),n((1&o.length)==0);let A=r[D][r[v]];n(A),n(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(e),i[B].destroy(),i[B]=null,i[y]=null,i[U]=null,ee(i),r[T]=null,r[j]=null,r[D][r[v]++]=null,r.emit("disconnect",r[I],[r],new m("upgrade"));try{A.onRequestUpgrade(a,o,i)}catch(e){s.destroy(i,e)}r[W]()}onHeadersComplete(e,t,r){let{client:i,socket:o,headers:a,statusText:A}=this;if(o.destroyed)return -1;if(0===i[N])return s.destroy(o,new h("bad response",s.getSocketInfo(o))),-1;let l=i[D][i[v]];if(!l)return -1;if(n(!this.upgrade),n(this.statusCode<200),100===e)return s.destroy(o,new h("bad response",s.getSocketInfo(o))),-1;if(t&&!l.upgrade)return s.destroy(o,new h("bad upgrade",s.getSocketInfo(o))),-1;if(n(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!o[E]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:i[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return n(1===i[N]),this.upgrade=!0,2;if(n((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[F]){let e=this.keepAlive?s.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-i[H],i[P]);t<=0?o[E]=!0:i[L]=t}else i[L]=i[R]}else o[E]=!0;let c=!1===l.onResponseStart(e,a,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(o[Q]&&(o[Q]=!1,i[W]()),c?K.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:i,maxResponseSize:o}=this;if(r.destroyed)return -1;let a=t[D][t[v]];return(n(a),n(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),n(i>=200),o>-1&&this.bytesRead+e.length>o)?(s.destroy(r,new f),-1):(this.bytesRead+=e.length,!1===a.onResponseData(e))?K.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:i,headers:o,contentLength:a,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(i)return 0;n(r>=100),n((1&this.headers.length)==0);let d=e[D][e[v]];return(n(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==a&&A!==a?(s.destroy(t,new l),-1):(d.onResponseEnd(o),e[D][e[v]++]=null,t[ei]=0===e[b],t[w])?(n(0===e[N]),s.destroy(t,new m("reset")),K.ERROR.PAUSED):c?t[E]&&0===e[N]?(s.destroy(t,new m("reset")),K.ERROR.PAUSED):(null==e[F]||1===e[F]?setImmediate(e[W]):e[W](),0):(s.destroy(t,new m("reset")),K.ERROR.PAUSED)}}function eg(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:i,client:o,paused:a}=t;3===i?(!r[w]||r.writableNeedDrain||o[N]>1)&&(n(!a,"cannot be paused while waiting for headers"),s.destroy(r,new g)):5===i?a||s.destroy(r,new p):8===i&&(n(0===o[N]&&o[L]),s.destroy(r,new m("socket idle timeout")))}function eu(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[B];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[U]=e,this[y][J](e));return}this[U]=e,this[y][J](e)}function eh(){this[B]?.readMore()}function em(){let e=this[B];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&s.destroy(this,t);return}s.destroy(this,new h("other side closed",s.getSocketInfo(this)))}function ep(){let e=this[B];ef(this),e&&(this[U]||!e.statusCode||e.shouldKeepAlive||(this[U]=e.finish()||this[U]),this[B].destroy(),this[B]=null);let t=this[U]||new h("closed",s.getSocketInfo(this)),r=this[y];if(r[T]=null,r[j]=null,r.destroyed){n(0===r[b]);let e=r[D].splice(r[v]);for(let i=0;i<e.length;i++){let n=e[i];s.errorRequest(r,n,t)}}else if(r[N]>0&&"UND_ERR_INFO"!==t.code){let e=r[D][r[v]];r[D][r[v]++]=null,s.errorRequest(r,e,t)}r[k]=r[v],n(0===r[N]),r.emit("disconnect",r[I],[r],t),r[W]()}function eC(){this[X]=!0}function ef(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function eI(e,t,r,i,o,a,A,l){try{t?s.isBuffer(t)&&(n(a===t.byteLength,"buffer body must have content length"),o.cork(),o.write(`${A}content-length: ${a}\r -\r -`,"latin1"),o.write(t),o.uncork(),i.onBodySent(t),l||!1===i.reset||(o[E]=!0)):0===a?o.write(`${A}content-length: 0\r -\r -`,"latin1"):(n(null===a,"no body must not have content length"),o.write(`${A}\r -`,"latin1")),i.onRequestSent(),r[W]()}catch(t){e(t)}}async function eE(e,t,r,i,n,s,o,a){try{if(null!=s&&s!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());n.cork(),n.write(`${o}content-length: ${s}\r -\r -`,"latin1"),n.write(e),n.uncork(),i.onBodySent(e),i.onRequestSent(),a||!1===i.reset||(n[E]=!0),r[W]()}catch(t){e(t)}}async function ey(e,t,r,i,s,o,a,A){n(0!==o||0===r[N],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(null===l),s[U]?t(s[U]):l=e});s.on("close",c).on("drain",c);let g=new eB({abort:e,socket:s,request:i,contentLength:o,client:r,expectsPayload:A,header:a});try{for await(let e of t){if(s[U])throw s[U];g.write(e)||await d()}g.end()}catch(e){g.destroy(e)}finally{s.off("close",c).off("drain",c)}}class eB{constructor({abort:e,socket:t,request:r,contentLength:i,client:n,expectsPayload:s,header:o}){this.socket=t,this.request=r,this.contentLength=i,this.client=n,this.bytesWritten=0,this.expectsPayload=s,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:i,client:n,bytesWritten:s,expectsPayload:o,header:a}=this;if(t[U])throw t[U];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==i&&s+l>i){if(n[z])throw new A;process.emitWarning(new A)}t.cork(),0===s&&(o||!1===r.reset||(t[E]=!0),null===i?t.write(`${a}transfer-encoding: chunked\r -`,"latin1"):t.write(`${a}content-length: ${i}\r -\r -`,"latin1")),null===i&&t.write(`\r -${l.toString(16)}\r -`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[B].timeout&&3===t[B].timeoutType&&t[B].timeout.refresh&&t[B].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:n,header:s,request:o}=this;if(o.onRequestSent(),e[w]=!1,e[U])throw e[U];if(!e.destroyed){if(0===i?n?e.write(`${s}content-length: 0\r -\r -`,"latin1"):e.write(`${s}\r -`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&i!==t)if(r[z])throw new A;else process.emitWarning(new A);e[B].timeout&&3===e[B].timeoutType&&e[B].timeout.refresh&&e[B].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(n(r[N]<=1,"pipeline should only contain this request"),i(e))}}e.exports=function(e,t){if(e[T]=t,es||(es=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,i="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?i=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(i=!0),i)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{n(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onStatus(new $(ea.buffer,i,r))},wasm_on_message_begin:e=>(n(eo.ptr===e),eo.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{n(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderField(new $(ea.buffer,i,r))},wasm_on_header_value:(e,t,r)=>{n(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderValue(new $(ea.buffer,i,r))},wasm_on_headers_complete:(e,t,r,i)=>(n(eo.ptr===e),eo.onHeadersComplete(t,1===r,1===i)),wasm_on_body:(e,t,r)=>{n(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onBody(new $(ea.buffer,i,r))},wasm_on_message_complete:e=>(n(eo.ptr===e),eo.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[x]=!1,t[w]=!1,t[E]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[ei]=!1,t[B]=new ed(e,t,es),s.addListener(t,"error",eu),s.addListener(t,"readable",eh),s.addListener(t,"end",em),s.addListener(t,"close",ep),t[X]=!1,t.on("close",eC),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var a,l,g,u,h,p,C,f;let I,y,B,b,S,D,{method:x,path:R,host:k,upgrade:v,blocking:U,reset:L}=t,{body:O,headers:P,contentLength:H}=t,Y="PUT"===x||"POST"===x||"PATCH"===x||"QUERY"===x||"PROPFIND"===x||"PROPPATCH"===x;if(s.isFormDataLike(O)){i||(i=r(4626).extractBody);let[e,n]=i(O);null==t.contentType&&P.push("content-type",n),O=e.stream,H=e.length}else if(s.isBlobLike(O)&&null==t.contentType){let r=O.type;if(r){let i=`${r}`;if(!s.isValidHeaderValue(i))return s.errorRequest(e,t,new d("invalid content-type header")),!1;P.push("content-type",i)}}O&&"function"==typeof O.read&&O.read(0);let G=s.bodyLength(O);if(null===(H=G??H)&&(H=t.contentLength),0!==H||Y||(H=null),"GET"!==x&&"HEAD"!==x&&"OPTIONS"!==x&&"TRACE"!==x&&"CONNECT"!==x&&H>0&&null!==t.contentLength&&t.contentLength!==H){if(e[z])return s.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let _=e[T];ef(_);let J=r=>{t.aborted||t.completed||(s.errorRequest(e,t,r||new c),s.destroy(O),s.destroy(_,new m("aborted")))};try{t.onRequestStart(J,null)}catch(r){s.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===x&&(_[E]=!0),(v||"CONNECT"===x)&&(_[E]=!0),null!=L&&(_[E]=L),e[q]&&++_[V]>=e[q]&&(_[E]=!0),U&&(_[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[en]!==r)try{e.setTypeOfService(r),e[en]=r}catch{}}(_,t);let W=`${x} ${R} HTTP/1.1\r -`;if("string"==typeof k?W+=`host: ${k}\r -`:W+=e[M],v?W+=`connection: upgrade\r -upgrade: ${v}\r -`:e[F]&&!_[E]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(P))for(let e=0;e<P.length;e+=2){let t=P[e+0],r=P[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r -`;else W+=`${t}: ${r}\r -`}return o.sendHeaders.hasSubscribers&&o.sendHeaders.publish({request:t,headers:W,socket:_}),O&&0!==G?s.isBuffer(O)?eI(J,O,e,t,_,H,W,Y):s.isBlobLike(O)?"function"==typeof O.stream?ey(J,O.stream(),e,t,_,H,W,Y):eE(J,O,e,t,_,H,W,Y):s.isStream(O)?(a=J,l=O,g=e,u=t,h=_,p=H,C=W,f=Y,n(0!==p||0===g[N],"stream body cannot be pipelined"),I=!1,y=new eB({abort:a,socket:h,request:u,contentLength:p,client:g,expectsPayload:f,header:C}),B=function(e){if(!I)try{!y.write(e)&&this.pause&&this.pause()}catch(e){s.destroy(this,e)}},b=function(){!I&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",D)}),!I){let e=new c;queueMicrotask(()=>D(e))}},D=function(e){if(!I){if(I=!0,n(h.destroyed||h[w]&&g[N]<=1),h.off("drain",b).off("error",D),l.removeListener("data",B).removeListener("end",D).removeListener("close",S),!e)try{y.end()}catch(t){e=t}y.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?s.destroy(l,e):s.destroy(l)}},l.on("data",B).on("end",D).on("error",D).on("close",S),l.resume&&l.resume(),h.on("drain",b).on("error",D),l.errorEmitted??l.errored?setImmediate(D,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(D,null),(l.closeEmitted??l.closed)&&setImmediate(S)):s.isIterable(O)?ey(J,O,e,t,_,H,W,Y):n(!1):eI(J,null,e,t,_,H,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[x]&&t.unref&&(t.unref(),t[x]=!0):t[x]&&t.ref&&(t.ref(),t[x]=!1),0===e[N]&&e[b]>0&&t[ei]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[B].readMore(),t.destroyed;return}if(1===t[et]){t[B].readMore(),t.destroyed;return}}if(0===e[N]&&(t[B].readMore(),t.destroyed))return;if(0===e[S])8!==t[B].timeoutType&&t[B].setTimeout(e[L],8);else if(e[N]>0&&t[B].statusCode<200&&3!==t[B].timeoutType){let r=e[D][e[v]],i=null!=r.headersTimeout?r.headersTimeout:e[Y];t[B].setTimeout(i,3)}}}(e)},destroy(e,r){t[X]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[E]||t[Q]||1===t[et]||r&&(e[N]>0&&!r.idempotent||e[N]>0&&(r.upgrade||"CONNECT"===r.method)||e[N]>0&&0!==s.bodyLength(r.body)&&(s.isStream(r.body)||s.isAsyncIterable(r.body)||s.isFormDataLike(r.body))))||!1}}},942(e,t,r){let i,n,s=r(4589),{pipeline:o}=r(7075),a=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:g,HeadersTimeoutError:u,BodyTimeoutError:h}=r(8065),{kUrl:m,kReset:p,kClient:C,kRunning:f,kPending:I,kQueue:E,kPendingIdx:y,kRunningIdx:B,kError:Q,kSocket:N,kStrictContentLength:b,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:D,kHTTP2Session:x,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:M,kHostAuthority:k,kResume:v,kSize:U,kHTTPContext:F,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:O,kBodyTimeout:P,kEnableConnectProtocol:H,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:z}=r(3025),{channels:q}=r(6708),V=Symbol("open streams"),_=Symbol("request stream id"),J=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),X=Symbol("received goaway");try{n=r(2467)}catch{n={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:K,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:$,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:ei,HTTP2_HEADER_PROTOCOL:en,NGHTTP2_NO_ERROR:es,NGHTTP2_REFUSED_STREAM:eo}}=n;function ea(e){e[_]=null,e[J]=null,e[W]=null}function eA(e,t,r){let i=e[W],n=e[J];ea(e),i?.(n),e[_]=t.id,e[J]=t,e[W]=r}function el(e){let t=e[W],r=e[J];ea(e),t?.(r)}function ec(e){let t=e[z];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[z];!0===t.refed&&(t.refed=!1,e.unref())}function eg(e){let t=e[z];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eu(e){let t=e[C];if(t[x]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[U])return void eg(e);let r=e[z];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[C],r=e[N];if(e[z].idleTimeout=null,t[x]!==e||0!==e[V]||0!==t[U]||e.closed||e.destroyed)return;let i=new d("socket idle timeout");r[Q]=i,a.destroy(r,i)}function em(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function ep(e){if(this[C][w]=e.maxConcurrentStreams??this[C][w],!0===this[Y]&&!0===this[H]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[N][Q]=e,this[C][S](e);return}this[H]=e.enableConnectProtocol??this[H],this[Y]=!0,this[C][v]()}function eC(e){let t=e[z];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[C],i=this[N];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);i[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function ef(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[N][Q]=e,this[X]||this[C][S](e)}function eI(e,t,r){if(0===r){if(this[X])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[N][Q]=r,this[C][S](r)}}function eE(e,t){if(this[X])return;this[X]=!0;let r=this[Q]||(e===es?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this[N]))),i=this[C],n=i[y],s=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[B];t<e[y];t++){let i=e[E][t];if(null!=i&&("number"!=typeof i[_]||i[_]>r))return t}return e[y]}(i,t),o=[],A=[];for(let e=s;e<n;e++){let t=i[E][e];null!=t&&(A.push(function(e){let t=e[J];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||a.isBuffer(t)||a.isBlobLike(t)}(t)?o.push(t):a.errorRequest(i,t,r))}for(let e=0;e<A.length;e++)!function(e,t=eo){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(s!==n){let e=i[E].slice(n);i[E].length=s,i[E].push(...o,...e)}i[x]===this&&(i[N]=null,i[F]=null,i[x]=null),eg(this),this.closed||this.destroyed||this.close(),i[y]=s,i.emit("disconnect",i[m],[i],r),i[v]()}function ey(){let{[C]:e,[z]:t,[N]:r}=this,i=r[Q]||this[Q]||new c("closed",a.getSocketInfo(r));if(e[x]===this&&(e[N]=null,e[F]=null,e[x]=null),eg(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){s(0===e[I]);let t=e[E].splice(e[B]);for(let r=0;r<t.length;r++){let n=t[r];null!=n&&a.errorRequest(e,n,i)}}}function eB(){let e=this[Q]||new c("closed",a.getSocketInfo(this)),t=this[x],r=t[C];r[N]!==this&&(t[X]||null!=r[x]&&r[x]!==t)||(r[N]=null,r[F]=null,r[x]===t&&(r[x]=null),t.destroy(e),r[y]=r[B],s(0===r[f]),r.emit("disconnect",r[m],[r],e),r[v]())}function eQ(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[x]?.[X]||this[x]?.[C]?.[S](e)}function eN(){a.destroy(this,new c("other side closed",a.getSocketInfo(this)))}function eb(){this[T]=!0}function eS(){}function ew(e){let t=e[x];e[x]=null,t[V]-=1,0===t[V]&&(ed(t),eu(t))}function eD(){this.off("error",eS);let e=this[j];this[j]=null,ek(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function ex(){let e=this[j];null!=e&&(eH(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eO(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",ev),e.off("end",eU),e.off("timeout",eF),e.off("error",eS)}function eM(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[J]===e&&ea(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ek(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(eM(e.stream),e.abort(t,!0))}function ev(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ek(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ek(e,new d("HTTP/2: stream errored before response headers"))}function eU(){ek(this[j],new d("HTTP/2: stream half-closed (remote)"))}function eF(){let e=this[j];ek(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:i}=r;r.responseReceived=!0;let n=e[ei];delete e[ei],i.onRequestUpgrade(n,e,this),i.aborted||i.completed||(eR(this),ea(i),eO(r))}function eL(e,t){let{request:r,headersTimeout:i,session:n}=t;e[G]=!0,e[x]=n,e[j]=t,t.stream=e,eA(r,e,eM),e.once("response",eT),e.on("error",ev),e.once("end",eU),e.on("timeout",eF),e.once("close",eD),eg(n),++n[V],e.setTimeout(i)}function eO(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let i=e[E],n=e[B];if(n<e[y]&&i[n]===t){i[n]=null,e[B]=n+1;return}let s=i.indexOf(t,n);-1!==s&&!(s>=e[y])&&(i.splice(s,1),e[y]--,r&&e[y]<e[B]&&(e[y]=e[B]))}(e.client,e.request,t),e.client[v]())}function eP(e,t,r,i,n,s){try{return r.request(n,s)}catch(s){if(s?.code==="ERR_HTTP2_INVALID_SESSION"||s?.code==="ERR_HTTP2_GOAWAY_SESSION"){let i=new c(s.message,a.getSocketInfo(r[N]));i.cause=s,r[Q]=i;let n=r[C],o=r[N];if(n[x]===r&&(n[N]=null,n[F]=null,n[x]=null),null!=o&&null==o[Q]&&(o[Q]=i),!r.closed&&!r.destroyed)try{r.destroy(i)}catch{}return a.destroy(o,i),e[E].splice(e[y]+1,0,t),null}let n=new d(s.message,{cause:s});return r[Q]=n,r[N][Q]=n,r.destroy(n),a.destroy(r[N],n),i(n),null}}function eH(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[J]===e&&ea(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",ez),e.off("error",eq),e.off("frameError",eV),e.off("aborted",e_),e.off("timeout",eJ),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let i=e[ei];(delete e[ei],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eH(this):(!1===r.onResponseStart(Number(i),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function ez(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",ez),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,ex.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function eq(e){let t=this[j];null!=t&&(this.off("error",eq),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function e_(){this.off("data",eY)}function eJ(){let e=this[j];if(null==e)return;this.off("timeout",eJ);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new u(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,i,n,A,l;let c,d=this[j];d.bodySent=!0;let{abort:g,body:u,client:h,contentLength:m,expectsPayload:C,request:I}=d;u&&0!==m?a.isBuffer(u)?eX(g,this,u,h,I,h[N],m,C):a.isBlobLike(u)?"function"==typeof u.stream?eZ(g,this,u.stream(),h,I,h[N],m,C):eK(g,this,u,h,I,h[N],m,C):a.isStream(u)?(e=g,t=h[N],r=C,i=this,n=u,A=h,l=I,s(0!==m||0===A[f],"stream body cannot be pipelined"),c=o(n,i,i=>{i?(a.destroy(c,i),e(i)):(a.removeAllListeners(c),l.onRequestSent(),r||(t[p]=!0),A[v]())}),a.addListener(c,"data",function(e){l.onBodySent(e)})):a.isIterable(u)?eZ(g,this,u,h,I,h[N],m,C):s(!1):eX(g,this,null,h,I,h[N],m,C)}function eX(e,t,r,i,n,o,A,l){try{null!=r&&a.isBuffer(r)&&(s(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),n.onBodySent(r)),l||(o[p]=!0),n.onRequestSent(),i[v]()}catch(t){e(t)}}async function eK(e,t,r,i,n,s,o,a){try{if(null!=o&&o!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),n.onBodySent(e),n.onRequestSent(),a||(s[p]=!0),i[v]()}catch(t){e(t)}}async function eZ(e,t,r,i,n,o,a,A){s(0!==a||0===i[f],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),o[Q]?t(o[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(o[Q])throw o[Q];let r=t.write(e);n.onBodySent(e),r||await d()}t.end(),n.onRequestSent(),A||(o[p]=!0),i[v]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[N]=t;let o=e[R],c=e[M],u=n.connect(e[m],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=o?{initialWindowSize:o}:null}});return e[N]=t,u[V]=0,u[C]=e,u[N]=t,u[z]={idleTimeout:null,refed:!0,ping:{interval:0===e[D]?null:setInterval(eC,e[D],u).unref()}},u[X]=!1,u[H]=!1,u[Y]=!1,c&&a.addListener(u,"connect",em.bind(u,c)),a.addListener(u,"error",ef),a.addListener(u,"frameError",eI),a.addListener(u,"goaway",eE),a.addListener(u,"close",ey),a.addListener(u,"remoteSettings",ep),ed(u),e[x]=u,t[x]=u,a.addListener(t,"error",eQ),a.addListener(t,"end",eN),a.addListener(t,"close",eB),t[T]=!1,t.on("close",eb),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let n=t.headersTimeout??e[O],o=t.bodyTimeout??e[P],c=e[x],{method:u,path:h,host:m,upgrade:p,expectContinue:C,signal:f,protocol:I,headers:E}=t;if(null!=p&&"websocket"!==p)return a.errorRequest(e,t,new g(`Custom upgrade "${p}" not supported over HTTP/2`)),!1;let y=function(e){let t={};for(let r=0;r<e.length;r+=2){let i=e[r+0],n=e[r+1],s=t[i];if("cookie"===i){null!=s?t[i]=Array.isArray(s)?(s.push(n),s):[s,n]:t[i]=n;continue}if("string"==typeof n){t[i]=s?`${s}, ${n}`:n;continue}for(let e=0;e<n.length;e++)t[i]=t[i]?`${t[i]}, ${n[e]}`:n[e]}return t}(E);y[K]=m||e[k],y[Z]=u;let B={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:n,bodyTimeout:o,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,i=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,a.errorRequest(e,t,r),null!=B.stream){el(t);let n=B.stream;n.close(),n.destroyed||a.destroy(n),e[S](r),eO(B,i)}a.destroy(B.body,r)}};B.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){a.errorRequest(e,t,r)}if(t.aborted)return!1;if(p||"CONNECT"===u)return(ec(c),"websocket"===p)?!1===c[H]?(a.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(y[Z]="CONNECT",y[en]="websocket",y[$]=h,"ws:"===I||"wss:"===I?y[ee]="ws:"===I?"http":"https":y[ee]="http:"===I?"http":"https",null==(w=eP(e,t,c,Q,y,{endStream:!1,signal:f})))?(ed(c),!1):(eL(w,B),!0):null==(w=eP(e,t,c,Q,y,{endStream:!1,signal:f}))?(ed(c),!1):(eL(w,B),!0);y[$]=h,y[ee]="http:"===I?"http":"https";let D="PUT"===u||"POST"===u||"PATCH"===u||"QUERY"===u||"PROPFIND"===u||"PROPPATCH"===u,R=B.body;R&&"function"==typeof R.read&&R.read(0);let M=a.bodyLength(R);if(a.isFormDataLike(R)){let[e,t]=(i??=r(4626).extractBody)(R);y["content-type"]=t,R=e.stream,M=e.length}if(null==M&&(M=t.contentLength),0!==M||D||(M=null),"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"TRACE"!==u&&"CONNECT"!==u&&M>0&&null!=t.contentLength&&t.contentLength!==M){if(e[b])return a.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=M&&(s(R||0===M,"no body must not have content length"),y[et]=`${M}`),ec(c),q.sendHeaders.hasSubscribers){let e="";for(let t in y)e+=`${t}: ${y[t]}\r -`;q.sendHeaders.publish({request:t,headers:e,socket:c[N]})}let v=null===R||0===M;return B.body=R,B.contentLength=M,B.expectsPayload=D,C&&(y[er]="100-continue"),null!=(w=eP(e,t,c,Q,y,{endStream:v,signal:f}))&&(w[G]=!0,w[j]=B,B.stream=w,eg(c),++c[V],n&&w.setTimeout(n),w[x]=c,w.on("close",ex),eA(t,w,eH),C&&w.once("continue",ej),w.on("response",eG),w.on("end",ez),w.on("error",eq),w.on("frameError",eV),w.on("aborted",e_),(n||o)&&w.on("timeout",eJ),w.on("trailers",eW),C||ej.call(w),!0)})(e,t),resume(){var t;let r,i;r=(t=e)[N],i=t[x],r?.destroyed===!1&&(0===t[U]||0===t[w]?ed(i):ec(i),0===t[U]&&0===i[V]?eu(i):eg(i))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===u[Y]&&e[f]>0||e[f]>=e[w])return!0;if(null!=t){if(!(e[f]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y])return!0}return!1}}}},5183(e,t,r){let i=r(4589),n=r(7030),s=r(7067),o=r(1210),{ClientStats:a}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:g,ClientDestroyedError:u}=r(8065),h=r(5010),{kUrl:m,kServerName:p,kClient:C,kBusy:f,kConnect:I,kResuming:E,kRunning:y,kPending:B,kSize:Q,kQueue:N,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:x,kPendingIdx:R,kRunningIdx:M,kError:k,kPipelining:v,kKeepAliveTimeoutValue:U,kMaxHeadersSize:F,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:O,kBodyTimeout:P,kStrictContentLength:H,kConnector:Y,kMaxRequests:G,kCounter:z,kClose:q,kDestroy:V,kDispatch:_,kLocalAddress:J,kMaxResponseSize:W,kOnError:j,kHTTPContext:X,kMaxConcurrentStreams:K,kHostAuthority:Z,kHTTP2InitialWindowSize:$,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),ei=r(8043),en=r(942),es=Symbol("kClosedResolve"),eo=s&&s.maxHeaderSize&&Number.isInteger(s.maxHeaderSize)&&s.maxHeaderSize>0?()=>s.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},ea=()=>{};function eA(e){return e[X]?.version==="h2"?e[K]:e[v]??e[X]?.defaultPipelining??1}function el(e,t){if(0===e[y]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){i(e[R]===e[M]);let r=e[N].splice(e[M]);for(let i=0;i<r.length;i++){let n=r[i];null!=n&&o.errorRequest(e,n,t)}i(0===e[Q])}}function ec(e){i(!e[S]),i(!e[X]);let{host:t,hostname:r,protocol:s,port:a}=e[m];if("["===r[0]){let e=r.indexOf("]");i(-1!==e);let t=r.substring(1,e);i(n.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[X]?.version,servername:e[p],localAddress:e[J]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:s,port:a,servername:e[p],localAddress:e[J]},(n,l)=>{if(n){ed(e,n,{host:t,hostname:r,protocol:s,port:a}),e[et]();return}if(e.destroyed){o.destroy(l.on("error",ea),new u),e[et]();return}i(l);try{e[X]="h2"===l.alpnProtocol?en(e,l):ei(e,l)}catch(i){l.destroy().on("error",ea),ed(e,i,{host:t,hostname:r,protocol:s,port:a}),e[et]();return}e[S]=!1,l[z]=0,l[G]=e[G],l[C]=e,l[k]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:s,port:a,version:e[X]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],socket:l}),e.emit("connect",e[m],[e]),e[et]()})}catch(i){ed(e,i,{host:t,hostname:r,protocol:s,port:a}),e[et]()}}function ed(e,t,{host:r,hostname:i,protocol:n,port:s}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:i,protocol:n,port:s,version:e[X]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[N].splice(e[M],e[y]);e[R]=e[M];for(let i=0;i<r.length;i++)o.errorRequest(e,r[i],t);for(;e[B]>0&&e[N][e[R]].servername===e[p];){let r=e[N].splice(e[R],1)[0];o.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[m],[e],t)}}function eg(e){e[w]=0,e.emit("drain",e[m],[e])}function eu(e,t){2!==e[E]&&(e[E]=2,function(e,t){for(;;){if(e.destroyed)return void i(0===e[B]);if(e[es]&&!e[Q]){e[es](),e[es]=null;return}if(e[X]&&e[X].resume(),e[f])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eg(e))):eg(e);continue}if(0===e[B]||e[y]>=(eA(e)||1))return;let r=e[N][e[R]];if(null===r)return;if("https:"===e[m].protocol&&e[p]!==r.servername){if(e[y]>0)return;e[p]=r.servername,e[X]?.destroy(new g("servername changed"),()=>{e[X]=null,eu(e)})}if(e[S])return;if(!e[X])return void ec(e);if(e[X].destroyed||e[X].busy(r))return;!r.aborted&&e[X].write(r)?e[R]++:e[N].splice(e[R],1)}}(e,t),e[E]=0,e[M]>256&&(e[N].splice(0,e[M]),e[R]-=e[M],e[M]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:i,requestTimeout:s,connectTimeout:a,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:u,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:f,socketPath:I,pipelining:y,tls:B,strictContentLength:Q,maxCachedSessions:b,connect:S,maxRequestsPerClient:k,localAddress:z,maxResponseSize:q,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_,maxConcurrentStreams:ei,allowH2:en,useH2c:ea,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eg}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==s)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==u)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=eo();if(null!=I&&"string"!=typeof I)throw new d("invalid socketPath");if(null!=a&&(!Number.isFinite(a)||a<0))throw new d("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new d("invalid keepAliveTimeout");if(null!=C&&(!Number.isFinite(C)||C<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=f&&!Number.isFinite(f))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=k&&(!Number.isInteger(k)||k<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=z&&("string"!=typeof z||0===n.isIP(z)))throw new d("localAddress must be valid string IP address");if(null!=q&&(!Number.isInteger(q)||q<-1))throw new d("maxResponseSize must be a positive number");if(null!=_&&(!Number.isInteger(_)||_<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=en&&"boolean"!=typeof en)throw new d("allowH2 must be a valid boolean value");if(null!=ei&&("number"!=typeof ei||ei<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=ea&&"boolean"!=typeof ea)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eg}),"function"!=typeof S)S=h({...B,maxCachedSessions:b,allowH2:en,useH2c:ea,socketPath:I,timeout:a,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=I?{socketPath:I}:null,...null!=en?{allowH2:en}:null},r)}this[m]=o.parseOrigin(e),this[Z]=`${this[m].hostname}${this[m].port?`:${this[m].port}`:""}`,this[Y]=S,this[v]=null!=y?y:1,this[F]=t,this[D]=null==g?4e3:g,this[T]=null==C?6e5:C,this[L]=null==f?2e3:f,this[U]=this[D],this[p]=null,this[J]=null!=z?z:null,this[E]=0,this[w]=0,this[x]=`host: ${this[Z]}\r -`,this[P]=null!=A?A:3e5,this[O]=null!=r?r:3e5,this[H]=null==Q||Q,this[G]=k,this[es]=null,this[W]=q>-1?q:-1,this[X]=null,this[K]=null!=ei?ei:100,this[$]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[N]=[],this[M]=0,this[R]=0,this[et]=e=>eu(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[v]}set pipelining(e){this[v]=e,this[et](!0)}get stats(){return new a(this)}get[B](){return this[N].length-this[R]}get[y](){return this[R]-this[M]}get[Q](){return this[N].length-this[M]}get[b](){return!!this[X]&&!this[S]&&!this[X].destroyed}get[f](){let e=this[X]?.version==="h2";return!!(this[X]?.busy(null)||this[Q]>=(eA(this)||1)||this[B]>0&&!e)}[I](e){ec(this),this.once("connect",e)}[_](e,t){let r=new l(this[m].origin,e,t);return this[N].push(r),this[E]||(null==o.bodyLength(r.body)&&o.isIterable(r.body)?(this[E]=1,queueMicrotask(()=>eu(this))):this[et](!0)),this[E]&&2!==this[w]&&this[f]&&(this[w]=2),this[w]<2}[q](){return new Promise(e=>{this[Q]?this[es]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[N].splice(this[R]);for(let t=0;t<r.length;t++){let i=r[t];null!=i&&o.errorRequest(this,i,e)}let i=()=>{this[es]&&(this[es](),this[es]=null),t(null)};this[X]?(this[X].destroy(e,i),this[X]=null):queueMicrotask(i),this[et]()})}}},9779(e,t,r){let i=r(6873),{ClientDestroyedError:n,ClientClosedError:s,InvalidArgumentError:o}=r(8065),{kDestroy:a,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),g=Symbol("onDestroyed"),u=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends i{[c]=!1;[g]=null;[l]=!1;[u]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,i)=>r?t(r):e(i))});if("function"!=typeof e)throw new o("invalid callback");if(this[c]){let t=new n;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[u]?this[u].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[u]??=[],this[u].push(e);let t=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,i)=>e?r(e):t(i))});if("function"!=typeof t)throw new o("invalid callback");if(this[c])return void(this[g]?this[g].push(t):queueMicrotask(()=>t(null,null)));e||(e=new n),this[c]=!0,this[g]??=[],this[g].push(t);let r=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[a](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new o("handler must be an object");try{if(!e||"object"!=typeof e)throw new o("opts must be an object.");if(e.dispatcher)throw new o("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[g])throw new n;if(this[l])throw new s;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let i=r(8474);e.exports=class extends i{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let i=r(6873),{InvalidArgumentError:n}=r(8065),{toRawHeaders:s}=r(1210);class o{#B;constructor(e){this.#B=e}onRequestStart(e,t){this.#B.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,i){let n=e?.rawHeaders??s(r??{});this.#B.onUpgrade?.(t,n,i)}onResponseStart(e,t,r,i){let n=e?.rawHeaders??s(r??{});this.#B.onHeaders?.(t,n,()=>e.resume(),i)===!1&&e.pause()}onResponseData(e,t){this.#B.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??s(t??{});this.#B.onComplete?.(r)}onResponseError(e,t){if(!this.#B.onError)throw t;this.#B.onError(t)}onBodySent(e){this.#B.onBodySent?.(e)}onRequestSent(){this.#B.onRequestSent?.()}onResponseStarted(){this.#B.onResponseStarted?.()}}e.exports=class e extends i{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new n("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new n("handler must be an object");return"function"==typeof e.onRequestStart?e:new o(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let i=r(9779),{kClose:n,kDestroy:s,kClosed:o,kDestroyed:a,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),g=r(3614),u=r(5891),h={"http:":80,"https:":443};e.exports=class extends i{#N=null;#b=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:i,...n}=e;this[l]=new u(n);let s=t??process.env.http_proxy??process.env.HTTP_PROXY;s?this[c]=new g({...n,uri:s}):this[c]=this[l];let o=r??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[d]=new g({...n,uri:o}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#D(r).dispatch(e,t)}[n](){return Promise.all([this[l].close(),!this[c][o]&&this[c].close(),!this[d][o]&&this[d].close()])}[s](e){return Promise.all([this[l].destroy(e),!this[c][a]&&this[c].destroy(e),!this[d][a]&&this[d].destroy(e)])}#D(e){let{protocol:t,host:r,port:i}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||h[t]||0,this.#x(r,i))?"https:"===t?this[d]:this[c]:this[l]}#x(e,t){if(this.#R&&this.#w(),0===this.#b.length)return!0;if("*"===this.#N)return!1;for(let r=0;r<this.#b.length;r++){let i=this.#b[r];if((!i.port||i.port===t)&&(e===i.hostname||e.slice(-(i.hostname.length+1))===`.${i.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#M,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let n=i.match(/^(.+):(\d+)$/);r.push({hostname:(n?n[1]:i).replace(/^\*?\./,"").toLowerCase(),port:n?Number.parseInt(n[2],10):0})}this.#N=e,this.#b=r}get #R(){return void 0===this.#S.noProxy&&this.#N!==this.#M}get #M(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:i}=r(8065),n=r(5183);e.exports=class extends n{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new i("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:n,...s}=t??{},o=r??100,a=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new i("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=n&&Number.isInteger(n)&&n>0&&(a=n),a>o)throw new i("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...s,maxConcurrentStreams:o,pipelining:a,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:i}=r(256),n=r(9779),s=r(9006),{kConnected:o,kSize:a,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:g,kUrl:u,kClose:h,kDestroy:m,kDispatch:p}=r(3025),C=Symbol("clients"),f=Symbol("needDrain"),I=Symbol("queue"),E=Symbol("closed resolve"),y=Symbol("onDrain"),B=Symbol("onConnect"),Q=Symbol("onDisconnect"),N=Symbol("onConnectionError"),b=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),D=Symbol("remove client");class x extends n{[I]=new s;[c]=0;[C]=[];[f]=!1;[y](e,t,r){let i=this[I],n=!1;for(;!n;){let t=i.shift();if(!t)break;this[c]--,n=!e.dispatch(t.opts,t.handler)}if(e[f]=n,!n&&this[f]&&(this[f]=!1,this.emit("drain",t,[this,...r])),this[E]&&i.isEmpty()){let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[E])}}[B]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[N]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[f]}get[o](){let e=0;for(let{[o]:t}of this[C])e+=t;return e}get[g](){let e=0;for(let{[o]:t,[f]:r}of this[C])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[C])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[C])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[C])e+=t;return e}get stats(){return new i(this)}[h](){if(!this[I].isEmpty())return new Promise(e=>{this[E]=e});{let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[m](e){for(;;){let t=this[I].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[C].length);for(let r=0;r<this[C].length;r++)t[r]=this[C][r].destroy(e);return Promise.all(t)}[p](e,t){let r=this[b]();return r?r.dispatch(e,t)||(r[f]=!0,this[f]=!this[S]()):(this[f]=!0,this[I].push({opts:e,handler:t}),this[c]++),!this[f]}[S](){for(let e=0;e<this[C].length;e++){let t=this[C][e];if(!t[f]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[y].bind(this,e)).on("connect",this[B]).on("disconnect",this[Q]).on("connectionError",this[N]),this[C].push(e),this[f]&&queueMicrotask(()=>{this[f]&&this[y](e,e[u],[e,this])}),this}[D](e){let t=this[C].indexOf(e);-1!==t&&this[C].splice(t,1),e.close(()=>{}),this[f]=!this[C].some(e=>!e[f]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:x,kClients:C,kNeedDrain:f,kAddClient:w,kRemoveClient:D,kGetDispatcher:b,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:i,kClients:n,kNeedDrain:s,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory");function f(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=f,connect:i,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:I,useH2c:E,clientTtl:y,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:I,useH2c:E,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(B),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(B),connect:i,allowH2:I,useH2c:E,clientTtl:y,socketPath:A},this[C]=r,this.on("connect",(e,t)=>{if(null!=y&&y>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[n].indexOf(e);-1!==t&&this[n].splice(t,1)}})}[a](){let e=this[m].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return r}if(!this[p]||this[n].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[s])return!0}if(!this[p]||this[n].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},3614(e,t,r){let{kProxy:i,kClose:n,kDestroy:s,kDispatch:o}=r(3025),a=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:g,ProxyConnectionError:u}=r(8065),h=r(5010),m=r(5183),{channels:p}=r(6708),C=r(9741),f=Symbol("proxy agent"),I=Symbol("proxy client"),E=Symbol("proxy headers"),y=Symbol("request tls settings"),B=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),N=Symbol("connect endpoint function (http/1.1 only)"),b=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let D=()=>{};function x(e,t){return 1===t.connections?new m(e,t):new A(e,t)}class R extends l{#k;#v;constructor(e,{headers:t={},connect:r,factory:i,proxyServername:n}){if(!e)throw new c("Proxy URL is mandatory");super(),this[E]=t,this.#v=n,i?this.#k=i(e,{connect:r}):this.#k=new m(e,{connect:r})}[o](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,i,n,s){if(407===i){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,i,n,s)};let{origin:i,path:n="/",headers:s={}}=e;if(e.path=i+n,!("host"in s)&&!("Host"in s)){let{host:e}=new URL(i);s.host=e}return e.headers={...this[E],...s},null!=this.#v&&(e.servername=this.#v),this.#k[o](e,t)}[n](){return this.#k.close()}[s](e){return this.#k.destroy(e)}}function M(e){return e.length===S.length&&e.toLowerCase()===S}function k(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:n}=e;super();let s=this.#U(e),{href:o,origin:A,port:l,protocol:m,username:S,password:M,hostname:k}=s;if(this[i]={uri:o,protocol:m},this[y]=e.requestTls,this[B]=e.proxyTls,this[E]=e.headers||{},this[b]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[E]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[E]["proxy-authorization"]=e.token:S&&M?this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(M)}`).toString("base64")}`:S&&(this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let v=h({timeout:n,...e.proxyTls}),U=h({timeout:n,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:n,...e.requestTls}),this[N]=h({timeout:n,...e.requestTls,allowH2:!1});let F=e.factory||x,T=(t,r)=>{let{protocol:n}=new URL(t);if("socks5:"===this[i].protocol||"socks:"===this[i].protocol)return new C(this[i].uri,{headers:this[E],connect:v,factory:F,username:e.username||S,password:e.password||M,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[b]&&"http:"===n){let e="https:"===this[i].protocol?(e,t)=>U(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new g(e)):t(e,r)}):U;return new R(this[i].uri,{headers:this[E],connect:e,factory:F,proxyServername:"https:"===this[i].protocol?this[B]?.servername||k:void 0})}return F(t,r)};"socks5:"===m||"socks:"===m?this[I]=null:this[I]=t(s,{connect:v}),this[f]=new a({...e,factory:T,connect:async(e,t)=>{if(!this[I])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let i,n={origin:A,port:l,path:r,signal:e.signal,headers:{...this[E],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[B]?.servername||k},{socket:s,statusCode:o}=await this[I].connect(n);if(200!==o){s.on("error",D).destroy(),t(new d(`Proxy response (${o}) !== 200 when HTTP Tunneling`));return}if(p.proxyConnected.hasSubscribers&&p.proxyConnected.publish({socket:s,connectParams:n}),"https:"!==e.protocol)return void t(null,s);i=this[y]?this[y].servername:e.servername,(!1===e.allowH2?this[N]:this[Q])({...e,servername:i,httpSocket:s},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new g(e):"UND_ERR_SOCKET"===e.code?new u(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)M(e[r])&&k(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)M(t)&&k()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[f].dispatch({...e,headers:r},t)}#U(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[n](){let e=[this[f].close()];return this[I]&&e.push(this[I].close()),Promise.all(e)}[s](){let e=[this[f].destroy()];return this[I]&&e.push(this[I].destroy()),Promise.all(e)}}},8392(e,t,r){let i=r(6873),n=r(4166);e.exports=class extends i{#F=null;#T=null;constructor(e,t={}){super(t),this.#F=e,this.#T=t}dispatch(e,t){let r=new n({...e,retryOptions:this.#T},{dispatch:this.#F.dispatch.bind(this.#F),handler:t});return this.#F.dispatch(e,r)}close(){return this.#F.close()}destroy(){return this.#F.destroy()}}},1326(e,t,r){let{PoolBase:i,kClients:n,kNeedDrain:s,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory"),f=Symbol("index");function I(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=I,connect:i,connectTimeout:s,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:E,clientTtl:y,...B}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:E,socketPath:A,timeout:s,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(B),connect:i,allowH2:E,clientTtl:y,socketPath:A},this[C]=r,this[f]=-1,this.on("connect",(e,t)=>{if(null!=y&&y>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[n].indexOf(e);-1!==t&&this[n].splice(t,1)}})}[a](){let e=this[m].clientTtl;if(0===this[n].length){let e=this[C](this[u],this[m]);return this[o](e),e}let t=0;for(;t<this[n].length;){this[f]=(this[f]+1)%this[n].length;let r=this[n][this[f]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[f]--;continue}if(!r[s])return r;t++}if(!this[p]||this[n].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[n].length;t++){let r=this[n][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[f]&&this[f]--,t--;else if(!r[s])return!0}if(!this[p]||this[n].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},9741(e,t,r){let i,{URL:n}=r(3136),s=r(9779),{InvalidArgumentError:o}=r(8065),{Socks5Client:a,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),g=r(6334),u=r(5010),{debuglog:h}=r(7975),m=h("undici:socks5-proxy"),p=Symbol("proxy url"),C=Symbol("proxy headers"),f=Symbol("proxy auth"),I=Symbol("proxy protocol"),E=Symbol("pools"),y=Symbol("connector"),B=Symbol("request tls settings"),Q=!1;e.exports=class extends s{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new o("Proxy URL is mandatory");let r="string"==typeof e?new n(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new o("Proxy URL must use socks5:// or socks:// protocol");this[p]=r,this[C]=t.headers||{},this[I]=t.proxyTls?"https:":"http:",this[B]=t.requestTls,this[f]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[y]=t.connect||u({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[E]=new Map}async createSocks5Connection(e,t){let r=this[p].hostname,i=parseInt(this[p].port)||1080;m("creating SOCKS5 connection to",r,i);let n=Promise.withResolvers();this[y]({hostname:r,host:r,port:i,protocol:this[I]},(e,t)=>{e?n.reject(e):n.resolve(t)});let s=await n.promise,o=new a(s,this[f]);o.on("error",e=>{m("SOCKS5 error:",e),s.destroy()}),await o.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),o.removeListener("error",g),l.resolve()},g=e=>{clearTimeout(c),o.removeListener("authenticated",d),l.reject(e)};o.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(o.once("authenticated",d),o.once("error",g)),await l.promise,await o.connect(e,t);let u=Promise.withResolvers(),h=setTimeout(()=>{u.reject(Error("SOCKS5 connection timeout"))},5e3),C=r=>{m("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),o.removeListener("error",E),u.resolve()},E=e=>{clearTimeout(h),o.removeListener("connected",C),u.reject(e)};return o.once("connected",C),o.once("error",E),await u.promise,s}[l](e,t){let{origin:s}=e;m("dispatching request to",s,"via SOCKS5");try{let o=String(s),a=this[E].get(o);return(!a||a.destroyed||a.closed)&&(a=new g(s,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new n(s),o=e.hostname,a=parseInt(e.port)||("https:"===e.protocol?443:80);m("establishing SOCKS5 connection to",o,a);let A=await this.createSocks5Connection(o,a),l=A;if("https:"===e.protocol){i||(i=r(1692)),m("upgrading to TLS"),l=i.connect({...this[B],socket:A,servername:this[B]?.servername||o});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){m("SOCKS5 connection error:",e),t(e)}}}),this[E].set(o,a)),a[l](e,t)}catch(e){if(m("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[E].values())e.push(t.close());this[E].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[E].values())t.push(r.destroy(e));this[E].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let i,n=Symbol.for("undici.globalDispatcher.2"),s=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:o}=r(8065),a=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new o("Argument agent must implement Agent");try{Object.defineProperty(globalThis,n,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){i=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,s,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[n]??i}void 0===c()&&l(new a),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let i=r(1210),{parseCacheControlHeader:n,hasInvalidCacheControlDirective:s,parseVaryHeader:o,hasVaryStar:a,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let g=[200,203,204,206,300,301,308,404,405,410,414,501],u=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function m(e,t,r){C(e,{...t,path:r});for(let n=0;n<i.safeHTTPMethods.length;n++){let s=i.safeHTTPMethods[n];s!==t.method&&C(e,{...t,method:s,path:r})}}function p(e,t,r){if(void 0===r)return;let i=Array.isArray(r)?r:[r];for(let r=0;r<i.length;r++){let n=function(e,t){let r,i,n;if("string"==typeof t){try{r=new URL(e.origin),i=new URL(e.path,r),n=new URL(t,i)}catch{return}if(n.origin===r.origin)return n.pathname+n.search}}(t,i[r]);void 0!==n&&m(e,t,n)}}function C(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function f(e,t,r){304===e&&C(t,r)}e.exports=class{#L;#O;#P;#H;#B;#Y;constructor({store:e,type:t,cacheByDefault:r},i,n){this.#H=e,this.#O=t,this.#P=r,this.#L=i,this.#B=n}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#B.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#B.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,d){var I,E,y,B,Q,N,b,S,w,D;let x,R=()=>this.#B.onResponseStart?.(e,t,r,d),M=this;if(!h(i.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return I=this.#H,E=this.#L,m(I,E,E.path),p(I,E,r.location),p(I,E,r["content-location"]),R()}let k=r["cache-control"],v=r["last-modified"]&&h(g,t);if(!k&&!r.expires&&!v&&!this.#P)return 304===t&&r.vary&&A(r.vary)&&C(this.#H,this.#L),R();let U=k?n(k):{};if(y=this.#O,B=t,Q=r,N=U,b=this.#L.headers,B<200||h(u,B)||!h(g,B)&&!Q.expires&&!N.public&&void 0===N["max-age"]&&!(N.private&&"private"===y)&&(void 0===N["s-maxage"]||"shared"!==y)||N["no-store"]||"shared"===y&&!0===N.private||Q.vary&&a(Q.vary)||null!=b&&Object.hasOwn(b,"authorization")&&(!N.public&&!N["s-maxage"]&&!N["must-revalidate"]||"string"!=typeof b.authorization||Array.isArray(N["no-cache"])&&h(N["no-cache"],"authorization")||Array.isArray(N.private)&&h(N.private,"authorization"))||0){return 304===t&&(k||(S=this.#O,w=r,!0===(D=U)["no-store"]||"shared"===S&&!0===D.private||w.vary&&A(w.vary)))&&C(this.#H,this.#L),R()}let F=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return f(t,this.#H,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return f(t,this.#H,this.#L),R();let O=Math.max(L?Math.max(0,F-L.getTime()):0,T??0),P="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],H=function(e,t,r,i,n,o,a){if("shared"===e){if(s(o,"s-maxage"))return 0;let e=o["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(s(o,"max-age"))return 0;let A=o["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(i,"expires")){if("string"!=typeof i.expires)return 0;let e=c(i.expires);if(!e||t>=e.getTime())return 0;if(n){if(n>=e)return 0;let t=e.getTime()-n.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof i["last-modified"]){let e=c(i["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return o.immutable?31536e6:!0===o["no-cache"]&&a?0:void 0}(this.#O,F,T,r,L,U,P)??this.#P,Y=0===H&&P;if(void 0===H||O>=H&&!Y)return(k||void 0!==H)&&f(t,this.#H,this.#L),R();let G=F-O,z=H+G;if(F>=z&&!Y)return f(t,this.#H,this.#L),R();if(this.#L.headers&&r.vary&&!(x=o(r.vary,this.#L.headers)))return R();let q=function(e,t,r,i){let n=-1/0,s=-1/0,o=-1/0;if(r["stale-while-revalidate"]&&(n=i+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(s=i+1e3*r["stale-if-error"]),r.immutable&&n===-1/0&&s===-1/0&&(o=t+31536e6),n===-1/0&&s===-1/0&&o===-1/0){let r=i-e;return r<=0?t+864e5:i+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(i,n,s,o)}(G,F,U,z),V=function(e,t){let r,i=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let n of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t].split(",");for(let t=0;t<i.length;t++)e.push(i[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(i,e.connection),Array.isArray(t["no-cache"])&&i.push(...t["no-cache"]),Array.isArray(t.private)&&i.push(...t.private),i))Object.hasOwn(e,n)&&(r??={...e},delete r[n]);return r??e}(r,U),_={statusCode:t,statusMessage:d,headers:V,vary:x,cacheControlDirectives:U,cachedAt:G,staleAt:z,deleteAt:q};if(304===t){let t=t=>{if(!t)return R();if(_.statusCode=t.statusCode,_.statusMessage=t.statusMessage,_.etag=t.etag,_.vary=x??t.vary,_.headers={...t.headers,...V},R(),this.#Y=this.#H.createWriteStream(this.#L,_),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),i=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#B.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){M.#Y=void 0,M.#H.delete(M.#L)}).on("drain",()=>{i()}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}),i()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#B.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#H.delete(this.#L)}),this.#Y.on("error",function(){M.#Y=void 0,M.#H.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}))},r=this.#H.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(_.etag=r.etag),this.#Y=this.#H.createWriteStream(this.#L,_),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){M.#Y=void 0,M.#H.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#B.onResponseError?.(e,t)}}},7871(e,t,r){let i=r(4589);e.exports=class{#G=!1;#z;#B;#q;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#z=e,this.#B=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#q=t}onRequestUpgrade(e,t,r,i){this.#B.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,n){if(i(null!=this.#z),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#z(this.#G,this.#q,t,r),this.#z=null,this.#G)return!0;this.#B.onRequestStart?.(e,this.#q),this.#B.onResponseStart?.(e,t,r,n)}onResponseData(e,t){if(!this.#G)return this.#B.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#B.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#z){if(this.#V){this.#G=!0,this.#z(!0,this.#q),this.#z=null;return}this.#z(!1),this.#z=null}if("function"==typeof this.#B.onResponseError)this.#B.onResponseError(e,t);else throw t}}}},2645(e,t,r){let i=r(4589);e.exports=class{#B;#_=!1;#J=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#B=e}onRequestStart(...e){this.#B.onRequestStart?.(...e)}onRequestUpgrade(...e){return i(!this.#_),i(!this.#J),this.#B.onRequestUpgrade?.(...e)}onResponseStart(...e){return i(!this.#_),i(!this.#J),i(!this.#W),this.#W=!0,this.#B.onResponseStart?.(...e)}onResponseData(...e){return i(!this.#_),i(!this.#J),this.#B.onResponseData?.(...e)}onResponseEnd(...e){return i(!this.#_),i(!this.#J),this.#_=!0,this.#B.onResponseEnd?.(...e)}onResponseError(...e){return this.#J=!0,this.#B.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:i}=r(8065);e.exports=class{#j;#X=[];#K=5242880;#Z=0;#$={};#ee="";#E=!1;#et=!1;#er=!1;#ei=!1;#en=null;#es=null;constructor(e,t,r=5242880){this.#j=e,this.#es=t,this.#K=r}addWaitingHandler(e){if(this.#ei||this.#er)return!1;let t=this.#eo(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#Z,this.#$,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#X.push(t),!0}onRequestStart(e,t){this.#en=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#j.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,i){for(let n of(this.#et=!0,this.#Z=t,this.#$=r,this.#ee=i,this.#j.onResponseStart?.(e,t,r,i),this.#X)){let{handler:e,controller:s}=n;if(n.done||s.aborted){n.done=!0;continue}try{e.onResponseStart?.(s,t,r,i)}catch{}s.aborted&&(n.done=!0)}this.#ea()}onResponseData(e,t){if(!this.#E&&!this.#ei){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#X)){let{handler:e,controller:i}=r;if(r.done||i.aborted){r.done=!0;continue}if(i.paused){this.#eA(r,t);continue}try{e.onResponseData?.(i,t)}catch{}i.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#ea()}}onResponseEnd(e,t){if(!this.#E&&!this.#ei){for(let r of(this.#ei=!0,this.#j.onResponseEnd?.(e,t),this.#X)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#ea(),this.#es?.()}}onResponseError(e,t){if(!this.#ei){for(let r of(this.#E=!0,this.#ei=!0,this.#j.onResponseError?.(e,t),this.#X))this.#ec(r,t);this.#X=[],this.#es?.()}}#eo(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#ei&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#ea()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#K){let t=new i(`Deduplicated waiting handler exceeded maxBufferSize (${this.#K} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let i=e.bufferedChunks.shift();e.bufferedBytes-=i.length;try{t.onResponseData?.(r,i)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#ea(){this.#X=this.#X.filter(e=>!1===e.done)}}},7424(e,t,r){let i=r(1210),n=r(4589),{InvalidArgumentError:s}=r(8065),o=[300,301,302,303,307,308],a=()=>{};function A(e,t,r,n,s){let o=i.headerNameToString(e);return!!("host"===o||n?.has(o)||r&&s?.has(o)||t&&o.startsWith("content-"))||!!r&&("authorization"===o||"cookie"===o||"proxy-authorization"===o)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new s(`${t} must be an array`);let r=new Set;for(let n of e){if("string"!=typeof n)throw new s(`${t} must contain header names`);r.add(i.headerNameToString(n))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new s("maxRedirections must be a positive number");let i=t.dispatch.bind(t);return(t,n)=>i(t,new e(i,r,t,n))}constructor(e,t,r,n){if(null!=t&&(!Number.isInteger(t)||t<0))throw new s("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new s("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:o,stripHeadersOnRedirect:a,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=i.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(a,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=n,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)||-1===o.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:g,search:u}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=u?`${g}${u}`:g,m=`${d}${h}`;for(let e of this.history)if(e.toString()===m)throw new s(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,s,o){let a=[];if(Array.isArray(e))for(let i=0;i<e.length;i+=2)A(e[i],t,r,s,o)||a.push(e[i],e[i+1]);else if(e&&"object"==typeof e)for(let[n,l]of i.hasSafeIterator(e)?e:Object.entries(e))A(n,t,r,s,o)||a.push(n,l);else n(null==e,"headers must be an object or an array");return a}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let i=r(4589),{kRetryHandlerDefaultRetry:n}=r(3025),{RequestRetryError:s}=r(8065),{isDisturbed:o,parseRangeHeader:a,wrapRequestBody:A}=r(1210);function l(e,t,r,i){let n=e["content-length"];if(null==n||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let o=Number(n),a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a)throw new s("Content-Length mismatch",r,{headers:e,data:{count:i}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:i}){let{retryOptions:s,...o}=t,{retry:a,maxRetries:l,maxTimeout:d,minTimeout:g,timeoutFactor:u,methods:h,errorCodes:m,retryAfter:p,statusCodes:C,throwOnError:f}=s??{};this.error=null,this.dispatch=r,this.handler=i,this.opts={...o,body:A(t.body)},this.retryOpts={throwOnError:f??!0,retry:a??e[n],retryAfter:p??!0,maxTimeout:d??3e4,minTimeout:g??500,timeoutFactor:u??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:C??[500,502,503,504,429],errorCodes:m??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,i,n){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)):this.error=n);if(o(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}e.pause(),this.retryOpts.retry(n,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(s){if(s){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i),e.resume();return}this.error=n,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,i)}static[n](e,{state:t,opts:r},i){let{statusCode:n,code:s,headers:o}=e,{method:a,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:g,statusCodes:u,errorCodes:h,methods:m}=A,{counter:p}=t;if(s&&"UND_ERR_REQ_RETRY"!==s&&!h.includes(s)||Array.isArray(m)&&!m.includes(a)||null!=n&&Array.isArray(u)&&!u.includes(n)||p>l)return void i(e);let C=o?.["retry-after"];if(C){let e;C=Number.isNaN(C=Number(C))?isNaN(e=new Date(o["retry-after"]).getTime())?null:e-Date.now():1e3*C}setTimeout(()=>i(null),0===C?0:C>0?Math.min(C,d):Math.min(c*g**(p-1),d))}onResponseStart(e,t,r,n){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let i=new s("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,n,i);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new s("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=a(r["content-range"]);if(!e)throw new s("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new s("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:n,size:o,end:A=o?o-1:null}=e;i(this.start===n,"content-range mismatch"),i(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=a(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n);return}l(r,e,t,this.retryCount);let{start:s,size:o,end:A=o?o-1:null}=e;i(null!=s&&Number.isFinite(s),"content-range mismatch"),i(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=s,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}i(Number.isFinite(this.start)),i(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,n)}else throw new s("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new s("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||o(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let i=r(4589),{Readable:n}=r(7075),s=r(1210),o=r(4502),a=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:g,parseCacheControlHeader:u,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:m}=r(8065),{parseHttpDate:p}=r(5859),C=()=>{};function f(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function I(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function E(e,t){try{e.delete(t)?.catch?.(C)}catch{}}function y(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&p(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function B(e,t,r,o,a,A){let l=s.isStream(r.body)?r.body:n.from(r.body??[]);i(!l.destroyed,"stream should not be destroyed"),i(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new m)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,a),l.destroyed)return;let d={...r.headers,age:String(o)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=s.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,i,n,a,l){var c,d,g,p,f;let Q;if(!l){if(a?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,i.onResponseError?.(t,r??new m)}};try{if(i.onRequestStart?.(t,null),e||(i.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;i.onResponseEnd?.(t,{})}catch(e){"function"==typeof i.onResponseError&&i.onResponseError(t,e)}return!0}return e(n,new o(t,r,i))}let N=Date.now();if(N>l.deleteAt)return e(n,new o(t,r,i));let b=Math.round((N-l.cachedAt)/1e3),S=a?.["max-age"]!==void 0&&b>=a["max-age"],w=S||(c=l,d=a,g=t.type,(Q=Date.now())>c.staleAt?!(!I(c,g)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),D=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,a,n);if(w||D){let c;if(s.isStream(n.body)&&0!==s.bodyLength(n.body))return e(n,new o(t,r,i));if(!D&&(p=l,f=t.type,!(!(c=p.cacheControlDirectives?.["stale-while-revalidate"])||I(p,f))&&Date.now()<=p.staleAt+1e3*c))return B(i,n,l,b,null,!0),queueMicrotask(()=>{let i=y(n,l);e({...n,headers:i},new o(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!I(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??a?.["stale-if-error"];e&&(d=N<l.staleAt+1e3*e)}let g=y(n,l);return e({...n,headers:g},new A((a,A,c,d)=>{if(a){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let i=u(r);return!0===i["no-store"]||"shared"===e&&!0===i.private}(t.type,d))return s.isStream(l.body)&&l.body.on("error",C).destroy(),E(t.store,r),e(n,new o(t,r,i));void 0!==d["cache-control"]&&E(t.store,r)}B(i,n,l,b,A,w)}else s.isStream(l.body)&&l.body.on("error",C).destroy()},new o(t,r,i),d))}s.isStream(n.body)&&n.body.on("error",C).destroy(),B(i,n,l,b,null,!1)}e.exports=(e={})=>{let{store:t=new a,methods:r=["GET"],cacheByDefault:i,type:n="shared",origins:o}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==o){if(!Array.isArray(o))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof o}`);for(let e=0;e<o.length;e++){let t=o[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==i&&"number"!=typeof i)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof i}`);if(void 0!==n&&"shared"!==n&&"private"!==n)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof n}`);let h={store:t,methods:r,cacheByDefault:i,type:n},m=[];for(let e=0;e<s.safeHTTPMethods.length;e++){let t=s.safeHTTPMethods[e];f(r,t)||m.push(t)}return e=>(r,i)=>{if(!r.origin||f(m,r.method))return e(r,i);if(void 0!==o){let t=r.origin.toString().toLowerCase(),n=!1;for(let e=0;e<o.length;e++){let r=o[e];if("string"==typeof r){if(r.toLowerCase()===t){n=!0;break}}else if(r.test(t)){n=!0;break}}if(!n)return e(r,i)}r={...r,headers:g(r)};let n=r.headers?.["cache-control"]?u(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let i=t.split(",");for(let e=0;e<i.length;e++)if("no-cache"===i[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(n?.["no-store"])return e(r,i);let s=d(r),a=t.get(s);return a&&"function"==typeof a.then?a.then(t=>Q(e,h,s,i,r,n,t)):Q(e,h,s,i,r,n,a)}}},9287(e,t,r){let{createInflate:i,createGunzip:n,createBrotliDecompress:s,createZstdDecompress:o}=r(8522),{pipeline:a}=r(7075),A=r(2645),l={gzip:n,"x-gzip":n,br:s,deflate:i,compress:i,"x-compress":i,zstd:o},c=[204,304],d=!1;class g extends A{#ed=[];#eg;#eu;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eu=t,this.#eh=r}#em(e,t){return!!(!e||t<200||this.#eu.includes(t))||!!this.#eh&&!!(t>=400)}#ep(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let i=t[e].trim();if(i){if(!l[i])return r.length=0,r;r.push(l[i]())}}return r}#eC(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#ef(e){let t=this.#ed[0];this.#eC(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eg)})}#eI(e){let t=this.#ed[this.#ed.length-1];this.#eC(t,e),a(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eg)})}#eE(){this.#ed.length=0}onResponseStart(e,t,r,i){let n=r["content-encoding"];if(this.#em(n,t))return super.onResponseStart(e,t,r,i);let s=this.#ep(n.toLowerCase());if(0===s.length)return this.#eE(),super.onResponseStart(e,t,r,i);this.#ed=s;let{"content-encoding":o,"content-length":a,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let i=t[e],n=(Buffer.isBuffer(i)?i.toString("latin1"):`${i}`).toLowerCase();"content-encoding"!==n&&"content-length"!==n&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#ef(e):this.#eI(e),super.onResponseStart(e,t,A,i)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eg=t,this.#ed[0].end(),this.#eE();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#eE()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,i)=>"HEAD"===r.method?t(r,i):t(r,new g(i,e))}},7870(e,t,r){let i=r(3053),n=r(1210),s=r(8241),{normalizeHeaders:o,makeCacheKey:a,makeDeduplicationKey:A}=r(8621),l=i.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:i=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!n.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(i))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof i}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),g=new Set(i.map(e=>e.toLowerCase())),u=new Map;return e=>(r,i)=>{if(!r.origin||!1===t.includes(r.method))return e(r,i);if(r={...r,headers:o(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,i)}let n=A(a(r),g),h=u.get(n);if(h)return!!h.addWaitingHandler(i)||e(r,i);let m=new s(i,()=>{u.delete(n),l.hasSubscribers&&l.publish({size:u.size,key:n,type:"removed"})},c);return u.set(n,m),l.hasSubscribers&&l.publish({size:u.size,key:n,type:"added"}),e(r,m)}}},4053(e,t,r){let{isIP:i}=r(7030),{lookup:n}=r(610),s=r(2645),{InvalidArgumentError:o,InformationalError:a}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#ey=0;#eB=new Map;constructor(e){this.#ey=e.maxItems}get size(){return this.#eB.size}get(e){return this.#eB.get(e)??null}set(e,t){this.#eB.set(e,t)}delete(e){this.#eB.delete(e)}full(){return this.size>=this.#ey}}class d{#eQ=0;#ey=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#ey=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eN,this.pick=e.pick??this.#eb,this.storage=e.storage??new c(e)}runLookup(e,t,r){let i=this.storage.get(e.hostname);if(null==i&&this.storage.full())return void r(null,e);let n={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#ey};if(null==i)this.lookup(e,n,(t,i)=>{let s;if(t||null==i||0===i.length)return void r(t??new a("No DNS entries found"));this.setRecords(e,i);let o=this.storage.get(e.hostname),A=this.pick(e,o,n.affinity);s="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${s}`))});else{let s,o=this.pick(e,i,n.affinity);if(null==o){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}s="number"==typeof o.port?`:${o.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===o.family?`[${o.address}]`:o.address}${s}`))}}#eN(e,t,r){n(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let i=new Map;for(let e of t)i.set(`${e.address}:${e.family}`,e);r(null,i.values())})}#eb(e,t,r){let i,n=null,{records:s,offset:o}=t;if(this.dualStack?(null==r&&(null==o||0x7fffffff===o?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),i=null!=s[r]&&s[r].ips.length>0?s[r]:s[4===r?6:4]):i=s[r],null==i||0===i.ips.length)return n;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let a=i.offset%i.ips.length;return null==(n=i.ips[a]??null)?n:Date.now()-n.timestamp>n.ttl?(i.ips.splice(a,1),this.pick(e,t,r)):n}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let i=r[t];if(!i)return null;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let n=i.offset%i.ips.length,s=i.ips[n]??null;return null==s||Date.now()-s.timestamp>s.ttl&&i.ips.splice(n,1),s}setRecords(e,t){let r=Date.now(),i={records:{4:null,6:null}},n=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),n=Math.min(n,e.ttl)):e.ttl=this.#eQ;let t=i.records[e.family]??{ips:[]};t.ips.push(e),i.records[e.family]=t}this.storage.set(e.hostname,i,{ttl:n})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new g(this,e,t)}}class g extends s{#eS=null;#S=null;#ew=null;#eD=null;#en=null;#ex=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:i,newOrigin:n},s){super(r),this.#eD=t,this.#ex=n,this.#S={...s},this.#eS=e,this.#ew=i}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let i="["===this.#ex.hostname[0]?4:6,n=this.#eS.pickFamily(this.#eD,i);if(null==n)return void super.onResponseError(e,t);r="number"==typeof n.port?`:${n.port}`:""!==this.#eD.port?`:${this.#eD.port}`:"";let s={...this.#S,origin:`${this.#eD.protocol}//${6===n.family?`[${n.address}]`:n.address}${r}`,headers:l(this.#eD.host,this.#S.headers)};this.#ew(s,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#eD),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new o("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new o("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new o("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new o("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new o("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new o("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new o("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let n=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let s=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==i(s.hostname)?e(t,r):(n.runLookup(s,t,(i,o)=>{if(i)return r.onResponseError(null,i);e({...t,servername:s.hostname,origin:o.origin,headers:l(s.host,t.headers)},n.getHandler({origin:s,dispatch:e,handler:r,newOrigin:o},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:i,RequestAbortedError:n}=r(8065),s=r(2645);class o extends s{#t=1048576;#eM=!1;#i=0;#en=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new i("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#y(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#y.bind(this),this.#en=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,i){let s=r["content-length"];if(null!=s&&s>this.#t)throw new n(`Response size (${s}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,i)}onResponseError(e,t){this.#eM||(t=this.#en?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#i=this.#i+t.length,this.#i>=this.#t&&(this.#eM=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#eM){if(!0===this.#en.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,i){let{dumpMaxSize:n=e}=r,s=new o({maxSize:n,signal:r.signal},i);return t(r,s)}}},7884(e,t,r){let i=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:n}={}){return s=>function(o,a){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=n,...g}=o;if(null==A||0===A)return s(o,a);let u={...g,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new i(s,A,u,a);return s(u,h)}}},3128(e,t,r){let i=r(2645),{ResponseError:n}=r(8065);class s extends i{#Z;#ek;#ev;#$;#eU;constructor(e,{handler:t}){super(t)}#eF(e){return 0===(this.#ek??"").indexOf(e)}onRequestStart(e,t){return this.#Z=0,this.#ek=null,this.#ev=null,this.#$=null,this.#eU="",super.onRequestStart(e,t)}onResponseStart(e,t,r,i){if(this.#Z=t,this.#$=r,this.#ek=r["content-type"],this.#Z<400)return super.onResponseStart(e,t,r,i);(this.#eF("application/json")||this.#eF("text/plain"))&&(this.#ev=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#Z<400)return super.onResponseData(e,t);this.#eU+=this.#ev?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#Z>=400){let t;if(this.#eU+=this.#ev?.decode(void 0,{stream:!1})??"",this.#eF("application/json"))try{this.#eU=JSON.parse(this.#eU)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new n("Response Error",this.#Z,{body:this.#eU,headers:this.#$})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new s(t,{handler:r}))}},9620(e,t,r){let i=r(4166);e.exports=e=>t=>function(r,n){return t(r,new i({...r,retryOptions:{...e,...r.retryOptions}},{handler:n,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let i=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,i.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z6,t.t9,t.Y2,t.oC,t.mL,t.XB,t.EW,t.jJ,t.jA,t.XV,t.KO,t.aC},9896(e,t,r){let i;e=r.nmd(e);let{Buffer:n}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=n.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd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CACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJA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MlwMLAkACQAJAIAEtAAAiAEEJaw4YAgApKQEpKSkpKSkpKSkpKSkpKSkpKSkCJwsgAUEBaiEBIANBL2otAABBAXFFDQoMGAsgAUEBaiEBDBcLIAFBAWohASACLQAAQQJxDQALQQAhAiADQQA2AhwgAyABNgIUIANBnxU2AhAgA0EMNgIMDJUDCyADLQAuQYABcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAlwiAkUNACADIAIRAAAhAAsgAEUN5gIgAEEVRgRAIANBJDYCHCADIAE2AhQgA0GbGzYCECADQRU2AgxBACECDJQDC0EAIQIgA0EANgIcIAMgATYCFCADQZAONgIQIANBFDYCDAyTAwtBACECIANBADYCHCADIAE2AhQgA0G+IDYCECADQQI2AgwMkgMLIAMoAgQhAEEAIQIgA0EANgIEIAMgACABIAynaiIBEDIiAEUNKyADQQc2AhwgAyABNgIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwoCyADQQ42AhwgAyAANgIMIAMgAUEBajYCFAyIAwsgAEEVRg03QQAhAiADQQ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2AgwgAyABQQFqNgIUDPUCCyAAQRVGDR9BACECIANBADYCHCADIAE2AhQgA0HQDzYCECADQSI2AgwM9AILIAMoAgQhACADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwbCyADQRw2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8wILIAMoAgQhACADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQzrAgsgA0EdNgIcIAMgADYCDCADIAFBAWo2AhRBACECDPICCyAAQTtHDQEgAUEBaiEBC0EmIQIM1wILQQAhAiADQQA2AhwgAyABNgIUIANBnxU2AhAgA0EMNgIMDO8CCyABIARHBEADQCABLQAAQSBHDYQCIAQgAUEBaiIBRw0AC0EsIQIM7wILQSwhAgzuAgsgASAERgRAQTQhAgzuAgsCQAJAA0ACQCABLQAAQQprDgQCAAADAAsgBCABQQFqIgFHDQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAA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HBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgIMQQAhAgyfAgsgA0EANgIcIAMgATYCFCADQYANNgIQIANBGzYCDEEAIQIMngILIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDJ0CCyABIARHBEAgA0EMNgIIIAMgATYCBEG/ASECDIQCC0HYASECDJwCCyABIARGBEBB1wEhAgycAgsCQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAEtAABBwQBrDhUAAQIDWgQFBlpaWgcICQoLDA0ODxBaCyABQQFqIQFB+wAhAgySAgsgAUEBaiEBQfwAIQIMkQILIAFBAWohAUGBASECDJACCyABQQFqIQFBhQEhAgyPAgsgAUEBaiEBQYYBIQIMjgILIAFBAWohAUGJASECDI0CCyABQQFqIQFBigEhAgyMAgsgAUEBaiEBQY0BIQIMiwILIAFBAWohAUGWASECDIoCCyABQQFqIQFBlwEhAgyJAgsgAUEBaiEBQZgBIQIMiAILIAFBAWohAUGlASECDIcCCyABQQFqIQFBpgEhAgyGAgsgAUEBaiEBQawBIQIMhQILIAFBAWohAUG0ASECDIQCCyABQQFqIQFBtwEhAgyDAgsgAUEBaiEBQb4BIQIMggILIAEgBEYEQEHWASECDJsCCyABLQAAQc4ARw1IIAFBAWohAUG9ASECDIECCyABIARGBEBB1QEhAgyaAgsCQAJAAkAgAS0AAEHCAGsOEgBKSkpKSkpKSkoBSkpKSkpKAkoLIAFBAWohAUG4ASECDIICCyABQQFqIQ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BQSYMJQsgASAERgRAQbMBIQIM+AELAkACQCABLQAAQdQAaw4CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz2AQsgA0EANgIAIAZBAWohAUEcDCILQbABIQIgASAERg30ASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHe1ABqLQAARw0hIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz1AQsgA0EANgIAIAZBAWohAUEGDCELQa8BIQIgASAERg3zASADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEHZ1ABqLQAARw0gIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz0AQsgA0EANgIAIAZBAWohAUEZDCALIAEgBEYEQEGuASECDPMBCwJAAkACQAJAIAEtAABBLWsOIwAkJCQkJCQkJCQkJCQkJCQkJCQkJCQkJAEkJCQkJAIkJCQDJAsgAUEBaiEBQY4BIQIM3AELIAFBAWohAUGPASECDNsBCyABQQFqIQFBlAEhAgzaAQsgAUEBaiEBQZUBIQIM2QELQa0BIQIgASAERg3xASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHX1ABqLQAARw0eIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzyAQsgA0EANgIAIAZBAWohAUELDB4LIAEgBEYEQEGsASECDPEBCwJAAkAgAS0AAEHBAGsOAwAgASALIAFBAWohAUGQASECDNgBCyABQQFqIQFBkwEhAgzXAQsgASAERgRAQasBIQIM8AELAkACQCABLQAAQcEAaw4PAB8fHx8fHx8fHx8fHx8BHwsgAUEBaiEBQZEBIQIM1wELIAFBAWohAUGSASECDNYBCyABIARGBEBBqgEhAgzvAQsgAS0AAEHMAEcNHCABQQFqIQFBCgwbC0GpASECIAEgBEYN7QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABB0dQAai0AAEcNGiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7gELIANBADYCACAGQQFqIQFBHgwaC0GoASECIAEgBEYN7AEgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBytQAai0AAEcNGSAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7QELIANBADYCACAGQQFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai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cwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GbHzYCECADQQY2AgxBACECDMwBC0ECIQIMsgELA0AgAS0AAEEgRw0CIAQgAUEBaiIBRw0AC0GOASECDMoBCyABIARGBEBBjQEhAgzKAQsCQCABLQAAQQlrDgRKAABKAAtB9QAhAgywAQsgAy0AKUEFRgRAQfYAIQIMsAELQfQAIQIMrwELIAEgBEYEQEGMASECDMgBCyADQRA2AgggAyABNgIEDAoLIAEgBEYEQEGLASECDMcBCwJAIAEtAABBCWsOBEcAAEcAC0HzACECDK0BCyABIARHBEAgA0EQNgIIIAMgATYCBEHxACECDK0BC0GKASECDMUBCwJAIAEgBEcEQANAIAEtAABBoNAAai0AACIAQQNHBEACQCAAQQFrDgJJAAQLQfAAIQIMrwELIAQgAUEBaiIBRw0AC0GIASECDMYBC0GIASECDMUBCyADQQA2AhwgAyABNgIUIANB2yA2AhAgA0EHNgIMQQAhAgzEAQsgASAERgRAQYkBIQIMxAELAkACQAJAIAEtAABBoNIAai0AAEEBaw4DRgIAAQtB8gAhAgysAQsgA0EANgIcIAMgATYCFCADQbQSNgIQIANBBzYCDEEAIQIMxAELQeoAIQIMqgELIAEgBEcEQCABQQFqIQFB7wAhAgyqAQtBhwEhAgzCAQsgBCABIgBGBEBBhgEhAgzCAQsgAC0AACIBQS9GBEAgAEEB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0ADAoLQQAhAiADQQA2AhwgAyABNgIUIANB7Qk2AhAgA0EINgIMDJkBC0HyACECIAEgBEYNmAEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBs9UAai0AAEcNBSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMmQELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfEANgIcIAMgATYCFCADIAA2AgxBACECDJkBC0HfACECDH8LQQAhAAJAIAMoAjgiAkUNACACKAI0IgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIUIANB5xE2AhAgA0EKNgIMQQAhAgx9CyABQQFqIQEgA0Evai0AAEEBcUUNcyADLQAyQYABcUUEQCADQTJqIQIgAxA1QQ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QEMAwsCQANAIAEtAAAiAEEgRwRAIABBCmsOBAcEBAcCCyAEIAFBAWoiAUcNAAtBOCECDFYLIABBLEcNASABQQFqIQBBASEBAkACQAJAAkACQCADLQAsQQVrDgQDAQIEAAsgACEBDAQLQQIhAQwBC0EEIQELIANBAToALCADIAMvATIgAXI7ATIgACEBDAELIAMgAy8BMkEIcjsBMiAAIQELQT4hAgw7CyADQQA6ACwLQTkhAgw5CyABIARGBEBBNiECDFILAkACQAJAAkACQCABLQAAQQprDgQAAgIBAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDQIgA0EzNgIcIAMgATYCFCADIAA2AgxBACECDFULIAMoAgQhACADQQA2AgQgAyAAIAEQMSIARQRAIAFBAWohAQwGCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMVAsgAy0ALkEBcQRAQd8BIQIMOwsgAygCBCEAIANBADYCBCADIAAgARAxIgANAQxJC0E0IQIMOQsgA0E1NgIcIAMgATYCFCADIAA2AgxBACECDFELQTUhAgw3CyADQS9qLQAAQQFxDQAgA0EANgIcIAMgATYCFCADQesWNgIQIANBGTYCDEEAIQIMTwtBMyECDDULIAEgBEYEQEEyIQIMTgsCQCABLQAAQQpGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GSFzYCECADQQM2AgxBACECDE4LQTIhAgw0CyABIARGBEBBMSECDE0LAkAgAS0AACIAQQlGDQAgAEEgRg0AQQEhAgJAIAMtACxBBWsOBAYEBQANCyADIAMvATJBCHI7ATIMDAsgAy0ALkEBcUUNASADLQAsQQhHDQAgA0EAOgAsC0E9IQIMMgsgA0EANgIcIAMgATYCFCADQcIWNgIQIANBCjYCDEEAIQIMSgtBAiECDAELQQQhAgsgA0EBOgAsIAMgAy8BMiACcjsBMgwGCyABIARGBEBBMCECDEcLIAEtAABBCkYEQCABQQFqIQEMAQsgAy0ALkEBcQ0AIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDEYLQTAhAgwsCyABQQFqIQFB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ARQ0BCyAAIAY2AhggBSgCECICBEAgACACNgIQIAIgADYCGAsgBUEUaigCACICRQ0AIABBFGogAjYCACACIAA2AhgLIAEgBGogBDYCACABIARBAXI2AgQgAUHY1QAoAgBHDQBBzNUAIAQ2AgAMAQsgBEH/AU0EQCAEQXhxQezVAGohAAJ/QcTVACgCACICQQEgBEEDdnQiA3FFBEBBxNUAIAIgA3I2AgAgAAwBCyAAKAIICyICIAE2AgwgACABNgIIIAEgADYCDCABIAI2AggMAQtBHyECIARB////B00EQCAEQSYgBEEIdmciAGt2QQFxIABBAXRrQT5qIQILIAEgAjYCHCABQgA3AhAgAkECdEH01wBqIQACQEHI1QAoAgAiA0EBIAJ0IgdxRQRAIAAgATYCAEHI1QAgAyAHcjYCACABIAA2AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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gAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQwdCyADQRk2AhwgAyAANgIMIAMgAUEBajYCFAz2AgsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQzvAgsgA0EaNgIcIAMgADYCDCADIAFBAWo2AhQM9QILIABBFUYNH0EAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAz0AgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDBsLIANBHDYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgzzAgsgAygCBCEAIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDOsCCyADQR02AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM8gILIABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAq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AgyzAgsgA0EANgIcIAMgATYCFCADQfkLNgIQIANBHzYCDEEAIQIMywILAkACQCADLQAoQQFrDgIEAQALQdsBIQIMsgILQdQBIQIMsQILIANBAjoAMUEAIQACQCADKAI4IgJFDQAgAigCACICRQ0AIAMgAhEAACEACyAARQRAQd0BIQIMsQILIABBFUcEQCADQQA2AhwgAyABNgIUIANBtAw2AhAgA0EQNgIMQQAhAgzKAgsgA0H7ATYCHCADIAE2AhQgA0GBGjYCECADQRU2AgxBACECDMkCCyABIARGBEBB+gEhAgzJAgsgAS0AAEHIAEYNASADQQE6ACgLQcABIQIMrgILQdoBIQIMrQILIAEgBEcEQCADQQw2AgggAyABNgIEQdkBIQIMrQILQfkBIQIMxQILIAEgBEYEQEH4ASECDMUCCyABLQAAQcgARw0EIAFBAWohAUHYASECDKsCCyABIARGBEBB9wEhAgzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMgAhEAACEACyAARQ2gASAAQRVGBEAgA0HZADYCHCADIAE2AhQgA0G3GjYCECADQRU2AgxBACECDJ8CCyADQQA2AhwgAyABNgIUIANBgA02AhAgA0EbNgIMQQAhAgyeAgsgA0EANgIcIAMgATYCFCADQdwoNgIQIANBAjYCDEEAIQIMnQILIAEgBEcEQCADQQw2AgggAyABNgIEQb8BIQIMhAILQdgBIQIMnAILIAEgBEYEQEHXASECDJwCCwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAS0AAEHBAGsOFQABAgNaBAUGWlpaBwgJCgsMDQ4PEFoLIAFBAWohAUH7ACECDJICCyABQQFqIQFB/AAhAgyRAgsgAUEBaiEBQYEBIQIMkAILIAFBAWohAUGFASECDI8CCyABQQFqIQFBhgEhAgyOAgsgAUEBaiEBQYkBIQIMjQILIAFBAWohAUGKASECDIwCCyABQQFqIQFBjQEhAgyLAgsgAUEBaiEBQZYBIQIMigILIAFBAWohAUGXASECDIkCCyABQQFqIQFBmAEhAgyIAgsgAUEBaiEBQaUBIQIMhwILIAFBAWohAUGmASECDIYCCyABQQFqIQFBrAEhAgyFAgsgAUEBaiEBQbQBIQIMhAILIAFBAWohAUG3ASECDIMCCyABQQFqIQ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NASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyTAgsgA0EANgIAIAZBAWohAUEHDD8LQc0BIQIgASAERg2RAiADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGY1QBqLQAARw0+IABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAySAgsgA0EANgIAIAZBAWohAUEoDD4LIAEgBEYEQEHMASECDJECCwJAAkACQCABLQAAQcUAaw4RAEFBQUFBQUFBQQFBQUFBQQJBCyABQQFqIQFBsQEhAgz5AQsgAUEBaiEBQbIBIQIM+AELIAFBAWohAUGzASECDPcBC0HLASECIAEgBEYNjwIgAygCACIAIAQgAWtqIQUgASAAa0EGaiEGAkADQCABLQAAIABBkdUAai0AAEcNPCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyHAgsgA0EANgIAIAZBAWohAUEUDDMLQcEBIQIgASAERg2FAiADKAIAIgAgBCABa2ohBSABIABrQQRqIQYCQANAIAEtAAAgAEH51ABqLQAARw0yIABBBEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyGAgsgA0EANgIAIAZBAWohAUErDDILQcABIQIgASAERg2EAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH21ABqLQAARw0xIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyFAgsgA0EANgIAIAZBAWohAUEsDDELQb8BIQIgASAERg2DAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0wIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyEAgsgA0EANgIAIAZBAWohAUERDDALQb4BIQIgASAERg2CAiADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEHy1ABqLQAARw0vIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyDAgsgA0EANgIAIAZBAWohAUEuDC8LIAEgBEYEQEG9ASECDIICCwJAAkAC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AA0AgAS0AACAAQdfUAGotAABHDR4gAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPIBCyADQQA2AgAgBkEBaiEBQQsMHgsgASAERgRAQawBIQIM8QELAkACQCABLQAAQcEAaw4DACABIAsgAUEBaiEBQZABIQIM2AELIAFBAWohAUGTASECDNcBCyABIARGBEBBqwEhAgzwAQsCQAJAIAEtAABBwQBrDg8AHx8fHx8fHx8fHx8fHwEfCyABQQFqIQFBkQEhAgzXAQsgAUEBaiEBQZIBIQIM1gELIAEgBEYEQEGqASECDO8BCyABLQAAQcwARw0cIAFBAWohAUEKDBsLQakBIQIgASAERg3tASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHR1ABqLQAARw0aIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIA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gASAAa0EFaiEGAkADQCABLQAAIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFTYCDEEAIQIMzAELIAEgBEYEQEGPASECDMwBCwJAIAEtAABBIEYEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQZsfNgIQIANBBjYCDEEAIQIMzAELQQIhAgyyAQsDQCABLQAAQSBHDQIgBCABQQFqIgFHDQALQY4BIQIMygELIAEgBEYEQEGNASECDMoBCwJAIAEtAABBCWsOBEoAAEoAC0H1ACECDLABCyADLQApQQVGBEBB9gAhAgywAQtB9AAhAgyvAQsgASAERgRAQYwBIQIMyAELIANBEDYCCCADIAE2AgQMCgsgASAERgRAQYsBIQIMxwELAkAgAS0AAEEJaw4ERwAARwALQfMAIQIMrQELIAEgBEcEQCADQRA2AgggAyABNgIEQfEAIQIMrQELQYoBIQIMxQELAkAgASAERwRAA0AgAS0AAEGg0ABqLQAAIgBBA0cEQAJAIABBAWsOAkkABAtB8AAhAgyvAQsgBCABQQFqIgFHDQALQYgBIQIMxgELQYgBIQIMxQELIANBADYCHCADIAE2AhQgA0HbIDYCECADQQc2AgxBACECDMQBCyABIARGBEBBiQEhAgzEAQsCQAJAAkAgAS0AAEGg0gBqLQAAQQFrDgNGAgABC0HyACECDKwBCyADQQA2AhwgAyABNgIUIANBtBI2AhAgA0EHNgIMQQAhAgzEAQtB6gAhAgyqAQsgASAERwRAIAFBAWohAUHvACECDKoBC0GHASECDMIBCyAEIAEiAEYEQEGGASECDMIBCyAALQAAIgFBL0YEQCAAQQFqIQFB7gAhAgypAQsgAUEJayICQRdLDQEgACEBQQEgAnRBm4CABHENQQwBCyAEIAEiAEYEQEGFASECDMEBCyAALQAAQS9HDQAgAEEBaiEBDAMLQQAhAiADQQA2AhwgAyAANgIUIANB2yA2AhAgA0EHNgIMDL8BCwJAAkACQAJAAkADQCABLQAAQaDOAGotAAAiAEEFRwRAAkACQCAAQQFrDghHBQYHCAAEAQgLQesAIQIMrQELIAFBAWohAUHtACECDKwBCyAEIAFBAWoiAUcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2AhQgA0GAGzYCECADQRU2AgxBACECDJEBCyADLQApIgBBI0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sFAQEAAQEAQcDSAAsBAQBBytIACwYCAAAAAAIAQeHSAAs6AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},5610(e,t){t.enumToMap=function(e,t=[],r=[]){let i=(t?.length??0)===0,n=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(i||t.includes(e))&&(n||!r.includes(e))))}},6923(e,t,r){let{kClients:i}=r(3025),n=r(5891),{kAgent:s,kMockAgentSet:o,kMockAgentGet:a,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:g,kFactory:u,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:m,kMockAgentAddCallHistoryLog:p,kMockAgentMockCallHistoryInstance:C,kMockAgentAcceptsNonStandardSearchParameters:f,kMockCallHistoryAddLog:I,kIgnoreTrailingSlash:E}=r(4779),y=r(375),B=r(8182),{matchValue:Q,normalizeSearchParams:N,buildAndValidateMockOptions:b,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:D}=r(8065),x=r(6873),R=r(1908),{MockCallHistory:M}=r(2137);e.exports=class extends x{constructor(e={}){super(e);let t=b(e);if(this[c]=!0,this[l]=!0,this[m]=t.enableCallHistory??!1,this[f]=t.acceptNonStandardSearchParameters??!1,this[E]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new n(e);this[s]=r,this[i]=r[i],this[g]=t,this[m]&&this[h]()}get(e){let t=S(e),r=this[E]?t.replace(/\/$/,""):t,i=this[a](r);return i||(i=this[u](r),this[o](r,i)),i}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[p](e);let r=this[f],i={...e};if(r&&i.path){let[e,t]=i.path.split("?"),n=N(t,r);i.path=`${e}?${n}`}return this[s].dispatch(i,t)}async close(){this.clearCallHistory(),await this[s].close(),this[i].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[m]=!0,this}disableCallHistory(){return this[m]=!1,this}getCallHistory(){return this[C]}clearCallHistory(){void 0!==this[C]&&this[C].clear()}get isMockActive(){return this[l]}[h](){void 0===this[C]&&(this[C]=new M)}[p](e){this[m]&&(this[h](),this[C][I](e))}[o](e,t){this[i].set(e,t)}[u](e){let t=Object.assign({agent:this},this[g]);return this[g]&&1===this[g].connections?new y(e,t):new B(e,t)}[a](e){let t=this[i].get(e);if(t)return t;if("string"!=typeof e){let t=this[u]("http://localhost:9999");return this[o](e,t),t}for(let[t,r]of Array.from(this[i]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[u](e);return this[o](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[i].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new D(1===t.length?`1 interceptor is pending: - -${e.format(t)}`.trim():`${t.length} interceptors are pending: - -${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:i}=r(4779),{InvalidArgumentError:n}=r(8065);function s(e,t,r,i,s){switch(t.operator){case"OR":return i.push(...r(e,s)),i;case"AND":return r(e,i);default:throw new n("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function o(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new n(`${e} parameter should be one of string, regexp, undefined or null`)}}class a{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new n("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new n("nthCall must be called with a number");if(!Number.isInteger(e))throw new n("nthCall must be called with an integer");if(1!==Math.sign(e))throw new n("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new n("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},i="AND"===r.operator?this.logs:[];return"protocol"in e&&(i=s(e.protocol,r,this.filterCallsByProtocol,i,this.logs)),"host"in e&&(i=s(e.host,r,this.filterCallsByHost,i,this.logs)),"port"in e&&(i=s(e.port,r,this.filterCallsByPort,i,this.logs)),"origin"in e&&(i=s(e.origin,r,this.filterCallsByOrigin,i,this.logs)),"path"in e&&(i=s(e.path,r,this.filterCallsByPath,i,this.logs)),"hash"in e&&(i=s(e.hash,r,this.filterCallsByHash,i,this.logs)),"fullUrl"in e&&(i=s(e.fullUrl,r,this.filterCallsByFullUrl,i,this.logs)),"method"in e&&(i=s(e.method,r,this.filterCallsByMethod,i,this.logs)),[...new Set(i)]}throw new n("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=o.call(this,"protocol");filterCallsByHost=o.call(this,"host");filterCallsByPort=o.call(this,"port");filterCallsByOrigin=o.call(this,"origin");filterCallsByPath=o.call(this,"path");filterCallsByHash=o.call(this,"hash");filterCallsByFullUrl=o.call(this,"fullUrl");filterCallsByMethod=o.call(this,"method");clear(){this.logs=[]}[i](e){let t=new a(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=a},375(e,t,r){let{promisify:i}=r(7975),n=r(5183),{buildMockDispatch:s}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends n{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},8531(e,t,r){let{UndiciError:i}=r(8065),n=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class s extends i{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}e.exports={MockNotMatchedError:s}},1585(e,t,r){let{getResponseData:i,buildKey:n,addMockDispatch:s}=r(6927),{kDispatches:o,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:g}=r(4779),{InvalidArgumentError:u}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:m}}=r(7975);class p{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new u("opts must be an object");if(void 0===e.path)throw new u("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[a]=n(e),this[o]=t,this[g]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let n=i(t),s=this[c]?{"content-length":n.length}:{};return{statusCode:e,data:t,headers:{...this[A],...s,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new u("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new u("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new u("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new p(s(this[o],this[a],r=>{let i=e(r);return m(i)?i.then(t):t(i)},{ignoreTrailingSlash:this[g]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new p(s(this[o],this[a],r,{ignoreTrailingSlash:this[g]}))}replyWithError(e){if(void 0===e)throw new u("error must be defined");return new p(s(this[o],this[a],{error:e},{ignoreTrailingSlash:this[g]}))}defaultReplyHeaders(e){if(void 0===e)throw new u("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new u("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:i}=r(7975),n=r(6334),{buildMockDispatch:s}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends n{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=s.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:i}=r(8531),{kDispatches:n,kMockAgent:s,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:g}=r(7067),{types:{isPromise:u}}=r(7975),{InvalidArgumentError:h}=r(8065);function m(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function C(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):p(e)[t.toLocaleLowerCase()]}function f(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function I(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=f(t)),e.headers(t?p(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,i]of Object.entries(e.headers))if(!m(i,C(t,r)))return!1;return!0}function E(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function y(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function B(e,t){let r=t.query?c(t.path,t.query):t.path,n="string"==typeof r?E(r):r,s=N(n),o=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?m(N(E(e)),s):m(E(e),n));if(0===o.length)throw new i(`Mock dispatch not matched for path '${n}'`);if(0===(o=o.filter(({method:e})=>m(e,t.method))).length)throw new i(`Mock dispatch not matched for method '${t.method}' on path '${n}'`);if(0===(o=o.filter(({body:e})=>void 0===e||m(e,t.body))).length)throw new i(`Mock dispatch not matched for body '${t.body}' on path '${n}'`);if(0===(o=o.filter(e=>I(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new i(`Mock dispatch not matched for headers '${e}' on path '${n}'`)}return o[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:i,headers:n}){let s=m(e.path,t),o=m(e.method,r),a=void 0===e.body||m(e.body,i),A=I(e,n);return s&&o&&a&&A}(e,t));-1!==r&&e.splice(r,1)}function N(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function b(e){let{path:t,method:r,body:i,headers:n,query:s}=e;return{path:t,method:r,body:i,headers:n,query:s}}function S(e){let t=Object.keys(e),r=[];for(let i=0;i<t.length;++i){let n=t[i],s=e[n],o=Buffer.from(`${n}`);if(Array.isArray(s))for(let e=0;e<s.length;++e)r.push(o,Buffer.from(`${s[e]}`));else r.push(o,Buffer.from(`${s}`))}return r}function w(e){return g[e]||"unknown"}function D(e,t){let r=b(e),i=B(this[n],r),s=this[n];i.timesInvoked++;let{timesInvoked:o,times:a}=i;if(i.consumed=!i.persist&&o>=a,i.pending=o<a,i.data.callback){let n=i.data.callback(e);if(u(n))return n.then(n=>{i.data={...i.data,...n},x(s,i,r,e,t)},e=>{Q(s,r),t.onResponseError(null,e)}),!0;i.data={...i.data,...n}}return x(s,i,r,e,t)}function x(e,t,r,i,n){let{data:{statusCode:s,data:o,headers:a,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),n.onResponseError(null,l),!0;let g=!1,h=null,m={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{g||(g=!0,null!==h&&(clearTimeout(h),h=null),n.onResponseError?.(m,e))}};function p(e,t=o){if(g)return;let l=Array.isArray(i.headers)?f(i.headers):i.headers,c="function"==typeof t?t({...i,headers:l}):t;if(u(c))return c.then(t=>p(e,t));if(g)return;let h=y(c),C=S(a),I=S(A);m.rawHeaders=C,m.rawTrailers=I,n.onResponseStart?.(m,s,d(C),w(s)),n.onResponseData?.(m,Buffer.from(h)),n.onResponseEnd?.(m,d(I)),Q(e,r)}return n.onRequestStart?.(m,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,p(e)},c):p(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>m(e,r.host)))}e.exports={getResponseData:y,getMockDispatch:B,addMockDispatch:function(e,t,r,i){let n={timesInvoked:0,times:1,persist:!1,consumed:!1,...i},s="function"==typeof r?{callback:r}:{...r},o={...n,...t,pending:!0,data:{error:null,...s}};return e.push(o),e[l]=(e[l]||0)+1,o},deleteMockDispatch:Q,buildKey:b,generateKeyValues:S,matchValue:m,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:D,buildMockDispatch:function(){let e=this[s],t=this[a],r=this[o];return function(s,o){if(e.isMockActive)try{D.call(this,s,o)}catch(a){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===a.code){let c=e[A](),d=this[n][l]||this[n].length,g=this[n].filter(({consumed:e})=>!e).length,u=`, ${g} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${u}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in s?{...s,body:s.__mockAgentBodyForDispatch}:s,o);else throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${u}`)}else throw a}else r.call(this,s,o)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:C,buildHeadersFromArray:f,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,i]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(i)){r.append(e,i);continue}if(i.includes(",")){for(let t of i.split(","))r.append(e,t);continue}r.append(e,i)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:i}=r(7075),{Console:n}=r(7540),s=process.versions.icu?"✅":"Y ",o=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,r){r(null,e)}}),this.logger=new n({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:i,times:n,timesInvoked:a,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:i?s:o,Invocations:a,Remaining:i?1/0:n-a}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let i=r(5891),n=r(6923),{SnapshotRecorder:s}=r(2152),{InvalidArgumentError:o,UndiciError:a}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),g=Symbol("kSnapshotPath"),u=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),m=!1;e.exports=class extends n{constructor(e={}){m||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),m=!0);let{mode:t="record",snapshotPath:r=null,...n}=e;if(super(n),l(t),("playback"===t||"update"===t)&&!r)throw new o(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[g]=r,this[c]=new s({snapshotPath:this[g],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[u]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new i(e)),("playback"===this[d]||"update"===this[d])&&this[g]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[u])return this.#eT(e,t);let i=this[c].findSnapshot(e);if(i)return this.#eL(i,t);{if("update"===r)return this.#eO(e,t);let i=new a(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,i);throw i}}if("record"===r)return this.#eO(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eO(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},i=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,i,n)=>t.onRequestUpgrade(e,r,i,n),onResponseStart:(e,i,n,s)=>(r.statusCode=i,r.headers=n,t.onResponseStart(e,i,n,s)),onResponseData:(e,i)=>(r.body.push(i),t.onResponseData(e,i)),onResponseEnd(n,s){r.trailers=s;let o=Buffer.concat(r.body);i[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:o,trailers:r.trailers}).then(()=>t.onResponseEnd(n,s)).catch(e=>t.onResponseError(n,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,i=r.headers?A.toRawHeaders(r.headers):[],n=r.trailers?A.toRawHeaders(r.trailers):[],s={rawHeaders:i,rawTrailers:n,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(s),t.onResponseStart(s,r.statusCode,r.headers,r.statusMessage);let o=Buffer.from(r.body,"base64");t.onResponseData(s,o),t.onResponseEnd(s,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[g]),this[u]=!0,"playback"===this[d]&&this.#eP()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[g])}#eP(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:i}=e,n=new URL(t.url),s=this.get(n.origin),o=r?r[0]:i;o&&s.intercept({path:n.pathname+n.search,method:t.method,headers:t.headers,body:t.body}).reply(o.statusCode,o.body,{headers:o.headers,trailers:o.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:i,readFile:n,mkdir:s}=r(1455),{dirname:o,resolve:a}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:g,isUrlExcludedFactory:u,normalizeHeaders:h,createHeaderFilters:m}=r(289);function p(e,t,r={}){var i,n,s;let o=new URL(e.path,e.origin),a=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=a),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(o,r.matchQuery,r.normalizeQuery),headers:C(a,t,r),body:(i=e.body,n=r.matchBody,s=r.normalizeBody,!1===n?"":s?String(s(i)??""):i?String(i):"")}}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,n={},{ignore:s,exclude:o,match:a}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();!(o.has(e)||s.has(e))&&(0===a.size||a.has(e))&&(n[e]=r)}return n}function f(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,n={},{exclude:s}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();s.has(e)||(n[e]=r)}return n}function I(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let i=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),i.sort()))t.push(String(e))}return t.push(e.body),g(t.join("|"))}class E{#eH;#eY;#eG=new Map;#ez;#eq=1/0;#eV=!1;#e_;constructor(e={}){this.#ez=e.snapshotPath,this.#eq=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#e_=m(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=u(e.excludeUrls),this.#eV&&this.#ez&&this.#eJ()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=p(e,this.#e_,this.matchOptions),i=I(r),n=h(t.headers),s={statusCode:t.statusCode,headers:f(n,this.#e_,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#eq&&!this.#eG.has(i)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let o=this.#eG.get(i);o&&o.responses?(o.responses.push(s),o.timestamp=new Date().toISOString()):this.#eG.set(i,{request:r,responses:[s],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#ez&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=I(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let i=r.callCount||0,n=Math.min(i,r.responses.length-1);return r.callCount=i+1,{...r,response:r.responses[n]}}async loadSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");try{let e=await n(a(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");let r=a(t);await s(o(r),{recursive:!0});let n=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await i(r,JSON.stringify(n,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=I(p(e,this.#e_,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=I(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#eJ(){return this.#eW()}#ej(){this.#eH&&(l(this.#eH),this.saveSnapshots().catch(()=>{}),this.#eH=null)}#eW(){this.#eH=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eH?.refresh():this.#eH=null},1e3)}destroy(){this.#ej(),this.#eH&&(l(this.#eH),this.#eH=null)}async close(){this.#ez&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:E,formatRequestKey:p,createRequestHash:I,filterHeadersForMatching:C,filterHeadersForStorage:f,createHeaderFilters:m}},289(e,t,r){let{InvalidArgumentError:i}=r(8065),{runtimeFeatures:n}=r(6979),s=n.has("crypto")?r(7598):null,o=s?.hash?e=>s.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function a(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:i=[],caseSensitive:n=!1}=e;return{ignore:new Set(t.map(e=>n?e:e.toLowerCase())),exclude:new Set(r.map(e=>n?e:e.toLowerCase())),match:new Set(i.map(e=>n?e:e.toLowerCase()))}},hashId:o,isUndiciHeaders:a,normalizeHeaders:function(e){let t={};if(!e)return t;if(a(e)){for(let r=0;r<e.length;r+=2){let i=e[r],n=e[r+1];if(i&&void 0!==n){let e=Buffer.isBuffer(i)?i.toString():i,r=Buffer.isBuffer(n)?n.toString():n;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,i]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(i)?i.join(", "):String(i));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let i of e)if("string"==typeof i){if(r||(r=t.toLowerCase()),r.includes(i.toLowerCase()))return!0}else if(i instanceof RegExp&&i.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new i(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:i,pathHasQueryOrFragment:n,hasSafeIterator:s,isValidHTTPToken:o}=r(1210),{serializePathWithQuery:a}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function g(e){return e.replace(/^[\t ]+/,"")}function u(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let i=t;i<e.length;i++)if(r)r=!1;else if("\\"===e[i])r=!0;else if('"'===e[i])return i;return -1}function m(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function p(e,t,r){let i=t.toLowerCase(),n=e[i],s=Array.isArray(r)?r:[r];void 0===n?e[i]=Array.isArray(r)?r.slice():r:Array.isArray(n)?n.push(...s):e[i]=[n,...s]}function C(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let i=t[e].split(",");for(let e=0;e<i.length;e++)r.push(i[e])}return r}function f(e){let t=C(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function I(e,t){if(f(e))return t;let r={};for(let i of C(e)){let e=c(i).toLowerCase();if(0===e.length)continue;if(!o(e))return;let n=t[e];r[e]=Array.isArray(n)?n.slice():n??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!n(t)&&(t=a(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},s(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let i=0;i<r;i+=2){let r=e.headers[i],n=e.headers[i+1];if("string"!=typeof r||"string"!=typeof n&&!Array.isArray(n))throw Error("opts.headers is not a valid header map");if("string"==typeof n)p(t,r,n);else{let e=[];for(let t=0;t<n.length;t++){let r=n[t];e.push("string"==typeof r?r:r.toString("latin1"))}p(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else for(let r of Object.keys(e.headers))p(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,i=new Set,n=function(e){let t=[],r=0,i=-1,n=!1,s=!1;for(let o=0;o<e.length;o++)n?s?s=!1:"\\"===e[o]?s=!0:'"'===e[o]&&(n=!1,i=-1):'"'===e[o]?(n=!0,i=o):","===e[o]&&(t.push({value:e.substring(r,o),fromMalformedQuote:!1}),r=o+1);if(!n)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let o=e.substring(r),a=i-r,A=0;for(let e=0;e<o.length;e++)","===o[e]&&(t.push({value:o.substring(A,e),fromMalformedQuote:A>a}),A=e+1);return t.push({value:o.substring(A),fromMalformedQuote:A>a}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<n.length;e++){let s,a,l=n[e],p=l.value.toLowerCase(),C=l.fromMalformedQuote,f=p.indexOf("="),I=!1,E=!1;if(-1!==f){let e=p.substring(0,f),t=p.substring(f+1);I=u(e)!==e,E=g(t)!==t,s=c(e),a=g(t)}else s=c(p);let y=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!o(e[t.length]))return t;let t="",r=!1;for(let i=0;i<e.length;i++)o(e[i])?t+=e[i]:r=!0;if(r&&d(A,t))return t}(s);if(void 0!==y){t[y]=!0;continue}switch(s){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(C||r.has(s))continue;if(void 0===a||I||E||(a.length>=2&&'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),!/^[0-9]+$/.test(a))){delete t[s],r.add(s),m(t,s);continue}let e=Math.min(parseInt(a,10),0x7fffffff);"min-fresh"===s?s in t&&!(t[s]<e)||(t[s]=e):s in t&&!(t[s]>e)||(t[s]=e);break}case"private":case"no-cache":if(C||void 0!==a&&0===a.length){t[s]=!0;break}if(a){if('"'===a[0]){a=u(a);let r="",i=e,A=!1,l=h(a,1);if(-1!==l)r=a.substring(1,l),A=!0;else{let t=[a.substring(1)];for(let r=e+1;r<n.length;r++){let e=c(n[r].value),s=h(e,0);if(i=r,-1!==s){t.push(e.substring(0,s)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[s]=!0;break}e=i;let d=r.split(","),g=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),o(d[e])||(g=!1);g?!0!==t[s]&&(s in t?t[s]=t[s].concat(d):t[s]=d):t[s]=!0}else{let e=c(a);o(e)?!0!==t[s]&&(s in t?t[s]=t[s].concat(e):t[s]=[e]):t[s]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(C||i.has(s))continue;if(void 0!==a){delete t[s],i.add(s);continue}t[s]=!0;break;case"no-store":t[s]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:I,hasVaryStar:f,isInvalidOrWildcardVaryHeader:function(e){return f(e)||void 0===I(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(i,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${i.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let i of Object.keys(e.headers).sort())t?.has(i.toLowerCase())||(r[i]=e.headers[i]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,i,n,s,o){let a=new Date(Date.UTC(e,t,r,i,n,s));return e>=0&&e<=99&&a.setUTCFullYear(e),a.getUTCFullYear()===e&&a.getUTCMonth()===t&&a.getUTCDate()===r&&a.getUTCHours()===i&&a.getUTCMinutes()===n&&a.getUTCSeconds()===s&&a.getUTCDay()===o?a:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let n=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])n=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])n=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])n=2;else{if("y"!==e[10])return;n=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])n=0;else if("u"!==e[9])return;else if("n"===e[10])n=5;else{if("l"!==e[10])return;n=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])n=3;else{if("u"!==e[9]||"g"!==e[10])return;n=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])n=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])n=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])n=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;n=11}let s=e.charCodeAt(12);if(s<48||s>57)return;let o=e.charCodeAt(13);if(o<48||o>57)return;let a=e.charCodeAt(14);if(a<48||a>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((s-48)*1e3+(o-48)*100+(a-48)*10+(A-48),n,i,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])i=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])i=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])i=2;else{if("y"!==e[6])return;i=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])i=0;else if("u"!==e[5])return;else if("n"===e[6])i=5;else{if("l"!==e[6])return;i=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])i=3;else{if("u"!==e[5]||"g"!==e[6])return;i=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])i=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])i=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])i=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;i=11}let n=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;n=(t-48)*10+(r-48)}let s=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;s=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;s=(t-48)*10+(r-48)}let o=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let a=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),i,n,s,o,a,r)}(e);default:return function(e){let r=-1,i=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(i=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])i=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(i=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])i=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;i=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let n=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;n=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let i=e.charCodeAt(r+3);if(i<48||i>57)return;n=(t-48)*10+(i-48)}let s=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])s=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])s=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])s=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])s=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])s=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])s=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])s=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])s=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])s=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])s=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])s=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;s=11}let o=e.charCodeAt(r+9);if(o<48||o>57)return;let a=e.charCodeAt(r+10);if(a<48||a>57)return;let A=(o-48)*10+(a-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let i=e.charCodeAt(r+13);if(i<48||i>57||50===t&&i>51)return;l=(t-48)*10+(i-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let i=e.charCodeAt(r+16);if(i<48||i>57)return;c=(t-48)*10+(i-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let i=e.charCodeAt(r+19);if(i<48||i>57)return;d=(t-48)*10+(i-48)}return t(A,s,n,l,c,d,i)}(e)}}}},6979(e,t,r){let i={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},n=["crypto","sqlite"];class s{#eX=new Map;clear(){this.#eX.clear()}has(e){return this.#eX.get(e)??this.#eK(e)}set(e,t){if(!1===n.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eX.set(e,t)}#eK(e){let t=function(e){if(n.includes(e)){var t=`node:${e}`;try{return i[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eX.set(e,t),t}}let o=new s;e.exports.runtimeFeatures=o},256(e,t,r){let{kConnected:i,kPending:n,kRunning:s,kSize:o,kFree:a,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[i],this.pending=e[n],this.running=e[s],this.size=e[o]}},PoolStats:class{constructor(e){this.connected=e[i],this.free=e[a],this.pending=e[n],this.queued=e[A],this.running=e[s],this.size=e[o]}}}},2297(e){let t,r=0,i=Symbol("kFastTimer"),n=[];function s(){r+=499;let e=0,t=n.length;for(;e<t;){let i=n[e];0===i._state?(i._idleStart=r-499,i._state=1):1===i._state&&r>=i._idleStart+i._idleTimeout&&(i._state=-1,i._idleStart=-1,i._onTimeout(i._timerArg)),-1===i._state?(i._state=-2,0!=--t&&(n[e]=n[t])):++e}n.length=t,0!==n.length&&o()}function o(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(s,499),t?.unref())}class a{[i]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&n.push(this),t&&1!==n.length||o(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new a(e,t,r),clearTimeout(e){e[i]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new a(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,s(),s()},reset(){r=0,n.length=0,clearTimeout(t),t=null},kFastTimer:i}},1044(e,t,r){let i=r(4589),{kConstruct:n}=r(3025),{urlEquals:s,getFieldValues:o}=r(8220),{kEnumerableProperty:a,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:g}=r(165),{Request:u,fromInnerRequest:h,getRequestState:m}=r(9553),{fetching:p}=r(7564),{urlIsHttpHttpsScheme:C,readAllBytes:f}=r(638);class I{#eZ;constructor(){arguments[0]!==n&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eZ=arguments[1]}async match(e,t={}){l.brandCheck(this,I);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let i=this.#e$(e,t,1);if(0!==i.length)return i[0]}async matchAll(e,t={}){return l.brandCheck(this,I),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#e$(e,t)}async add(e){l.brandCheck(this,I),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,I);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],i=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=m(r);if(!C(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let n=[];for(let s of e){let e=m(new u(s));if(!C(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",i.push(e);let a=Promise.withResolvers();n.push(p({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of o(e.headersList.get("vary")))if("*"===t){for(let e of(a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),n))e.abort();return}}},processResponseEndOfBody(e){e.aborted?a.reject(new DOMException("aborted","AbortError")):a.resolve(e)}})),r.push(a.promise)}let s=Promise.all(r),a=await s,A=[],c=0;for(let e of a){let t={type:"put",request:i[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),g=null;try{this.#e0(A)}catch(e){g=e}return queueMicrotask(()=>{null===g?d.resolve(void 0):d.reject(g)}),d.promise}async put(e,t){l.brandCheck(this,I);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let i=null;if(!C((i=l.is.Request(e)?m(e):m(new u(e))).url)||"GET"!==i.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let n=g(t);if(206===n.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(n.headersList.contains("vary")){for(let e of o(n.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(n.body&&(A(n.body.stream)||n.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let s=c(n),a=Promise.withResolvers();null!=n.body?f(n.body.stream.getReader(),a.resolve,a.reject):a.resolve(void 0);let d=[],h={type:"put",request:i,response:s};d.push(h);let p=await a.promise;null!=s.body&&(s.body.source=p);let E=Promise.withResolvers(),y=null;try{this.#e0(d)}catch(e){y=e}return queueMicrotask(()=>{null===y?E.resolve():E.reject(y)}),E.promise}async delete(e,t={}){let r;l.brandCheck(this,I);let n="Cache.delete";l.argumentLengthCheck(arguments,1,n),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,n,"options");let s=null;if(l.is.Request(e)){if("GET"!==(s=m(e)).method&&!t.ignoreMethod)return!1}else i("string"==typeof e),s=m(new u(e));let o=[],a={type:"delete",request:s,options:t};o.push(a);let A=Promise.withResolvers(),c=null;try{r=this.#e0(o)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,I),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=m(new u(e)));let i=Promise.withResolvers(),n=[];if(void 0===e)for(let e of this.#eZ)n.push(e[0]);else for(let e of this.#e1(r,t))n.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of n){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}i.resolve(Object.freeze(e))}),i.promise}#e0(e){let t=this.#eZ,r=[...t],n=[],s=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,n).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);i(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let s=r.request;if(!C(s.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==s.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let n of e=this.#e1(r.request)){let e=t.indexOf(n);i(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),n.push([r.request,r.response])}s.push([r.request,r.response])}return s}catch(e){throw this.#eZ.length=0,this.#eZ=r,e}}#e1(e,t,r){let i=[];for(let n of r??this.#eZ){let[r,s]=n;this.#e2(e,r,s,t)&&i.push(n)}return i}#e2(e,t,r=null,i){let n=new URL(e.url),a=new URL(t.url);if(i?.ignoreSearch&&(a.search="",n.search=""),!s(n,a,!0))return!1;if(null==r||i?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let i of o(r.headersList.get("vary")))if("*"===i||t.headersList.get(i)!==e.headersList.get(i))return!1;return!0}#e$(e,t,r=1/0){let i=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(i=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(i=m(new u(e)));let n=[];if(void 0===e)for(let e of this.#eZ)n.push(e[1]);else for(let e of this.#e1(i,t))n.push(e[1]);let s=[];for(let e of n){let t=d(c(e),"immutable");if(s.push(t),s.length>=r)break}return Object.freeze(s)}}Object.defineProperties(I.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let E=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(E),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...E,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:I}},3691(e,t,r){let{Cache:i}=r(1044),{webidl:n}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:o}=r(3025);class a{#e5=new Map;constructor(){arguments[0]!==o&&n.illegalConstructor(),n.util.markAsUncloneable(this)}async match(e,t={}){if(n.brandCheck(this,a),n.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=n.converters.RequestInfo(e),null!=(t=n.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e5.has(t.cacheName)){let r=new i(o,this.#e5.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e5.values()){let n=new i(o,r),s=await n.match(e,t);if(void 0!==s)return s}}async has(e){n.brandCheck(this,a);let t="CacheStorage.has";return n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e5.has(e)}async open(e){n.brandCheck(this,a);let t="CacheStorage.open";if(n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e5.has(e))return new i(o,this.#e5.get(e));let r=[];return this.#e5.set(e,r),new i(o,r)}async delete(e){n.brandCheck(this,a);let t="CacheStorage.delete";return n.argumentLengthCheck(arguments,1,t),e=n.converters.DOMString(e,t,"cacheName"),this.#e5.delete(e)}async keys(){return n.brandCheck(this,a),[...this.#e5.keys()]}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:s,has:s,open:s,delete:s,keys:s}),e.exports={CacheStorage:a}},8220(e,t,r){let i=r(4589),{URLSerializer:n}=r(3518),{isValidHeaderName:s}=r(638);e.exports={urlEquals:function(e,t,r=!1){return n(e,r)===n(t,r)},getFieldValues:function(e){i(null!==e);let t=[];for(let r of e.split(","))s(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:i}=r(6248),{stringify:n}=r(751),{webidl:s}=r(849),{Headers:o}=r(3470),a=s.brandCheckMultiple([o,globalThis.Headers].filter(Boolean));function A(e,t){s.argumentLengthCheck(arguments,2,"setCookie"),a(e);let r=n(t=s.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}s.converters.DeleteCookieAttributes=s.dictionaryConverter([{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null}]),s.converters.Cookie=s.dictionaryConverter([{converter:s.converters.DOMString,key:"name"},{converter:s.converters.DOMString,key:"value"},{converter:s.nullableConverter(e=>"number"==typeof e?s.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:s.nullableConverter(s.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.DOMString),key:"path",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"secure",defaultValue:()=>null},{converter:s.nullableConverter(s.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:s.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:s.sequenceConverter(s.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){s.argumentLengthCheck(arguments,1,"getCookies"),a(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r},deleteCookie:function(e,t,r){a(e);let i="deleteCookie";s.argumentLengthCheck(arguments,2,i),t=s.converters.DOMString(t,i,"name"),r=s.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){s.argumentLengthCheck(arguments,1,"getSetCookies"),a(e);let t=e.getSetCookie();return t?t.map(e=>i(e)):[]},setCookie:A,parseCookie:function(e){return i(e=s.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:i}=r(5358),{maxNameValuePairSize:n,maxAttributeValueSize:s}=r(6674),{isCTLExcludingHtab:o}=r(751),a=r(4589);function A(e,t={}){if(0===e.length)return t;a(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=i(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let n="",o="";if(r.includes("=")){let e={position:0};n=i("=",r,e),o=r.slice(e.position+1)}else n=r;if(n=n.trim(),(o=o.trim()).length>s)return A(e,t);let l=n.toLowerCase();if("expires"===l){let e=new Date(o);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=o.charCodeAt(0);if((r<48||r>57)&&"-"!==o[0]||!/^\d+$/.test(o))return A(e,t);t.maxAge=Number(o)}else if("domain"===l){let e=o;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===o.length||"/"!==o[0]?"/":o;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=o.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${n}=${o}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(o(e))return null;let t="",r="",s="",a="";if(e.includes(";")){let n={position:0};t=i(";",e,n),r=e.slice(n.position)}else t=e;if(t.includes("=")){let e={position:0};s=i("=",t,e),a=t.slice(e.position+1)}else a=t;return(s=s.trim(),a=a.trim(),s.length+a.length>n)?null:{name:s,value:a,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function i(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function n(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let s=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${s[e.getUTCDay()]}, ${a[e.getUTCDate()]} ${o[e.getUTCMonth()]} ${e.getUTCFullYear()} ${a[e.getUTCHours()]}:${a[e.getUTCMinutes()]}:${a[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:i,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let s=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&s.push("Secure"),e.httpOnly&&s.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");s.push(`Max-Age=${e.maxAge}`)}for(let o of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(46===i){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!n(i)||!n(i)&&45!==i||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),s.push(`Domain=${e.domain}`)),e.path&&(i(e.path),s.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&s.push(`Expires=${A(e.expires)}`),e.sameSite&&s.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!o.includes("="))throw Error("Invalid unparsed");let[e,...i]=o.split("="),n=e.trim(),a=i.join("=");t(n),r(a),s.push(`${n}=${a}`)}return s.join("; ")}}},621(e,t,r){let{Transform:i}=r(7075),{isASCIINumber:n,isValidLastEventId:s}=r(2833),o=Buffer.from("data"),a=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let i=0;i<t;i++)if(e[i]!==r[i])return!1;return!0}e.exports={EventSourceStream:class extends i{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let i=e.length,n=e.length;if(-1!==r&&(i=r,32===e[n=r+1]&&++n),c(e,i,o)){let r=e.toString("utf8",n);void 0===t.data?t.data=r:t.data+=` -${r}`;return}if(c(e,i,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,n)&&(t.retry=e.toString("utf8",n));return}if(c(e,i,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,n)&&(t.id=e.toString("utf8",n));return}if(c(e,i,a)){let r=e.toString("utf8",n);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&n(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&s(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let i=this.chunks[r],n=r===this.lineChunkIndex?this.linePos:0,s=r===this.chunkIndex?this.pos:i.length,o=i.subarray(n,s);t+=o.length,e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let i=this.chunks[t],n=i.length-r;if(e<n)return i[r+e];e-=n,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:i}=r(7075),{fetching:n}=r(7564),{webidl:s}=r(849),{EventSourceStream:o}=r(621),{parseMIMEType:a}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:g}=r(2833),u=!1;class h extends EventTarget{#e3={open:null,error:null,message:null};#e4;#e8=!1;#e9=0;#e6=null;#en=null;#Q;#eS;constructor(e,t={}){let r;super(),s.util.markAsUncloneable(this);let i="EventSource constructor";s.argumentLengthCheck(arguments,1,i),u||(u=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=s.converters.USVString(e),t=s.converters.EventSourceInitDict(t,i,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e4=r.href;let n="anonymous";!0===t.withCredentials&&(n="use-credentials",this.#e8=!0);let o=g(r,"",n);o.client=d.settingsObject,o.headersList.set("Accept","text/event-stream"),o.cache="no-store",o.initiator="other",this.#e6=o,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e4}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?a(t):"failure",n="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===n){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let s=new o({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});i(e.body.stream,s,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#en=n(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){s.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#en.abort(),this.#e6=null)}get onopen(){return this.#e3.open}set onopen(e){this.#e3.open&&this.removeEventListener("open",this.#e3.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e3.open=e):this.#e3.open=null}get onmessage(){return this.#e3.message}set onmessage(e){this.#e3.message&&this.removeEventListener("message",this.#e3.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e3.message=e):this.#e3.message=null}get onerror(){return this.#e3.error}set onerror(e){this.#e3.error&&this.removeEventListener("error",this.#e3.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e3.error=e):this.#e3.error=null}}let m={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,m),Object.defineProperties(h.prototype,m),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),s.converters.EventSourceInitDict=s.dictionaryConverter([{key:"withCredentials",converter:s.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:s.converters.any},{key:"node",converter:s.dictionaryConverter([{key:"reconnectionTime",converter:s.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:s.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:i}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,n){let s="no cors"===r?"no-cors":"cors";n&&"no-cors"===s&&(s="same-origin");let o="include";return"anonymous"===r&&(o="same-origin"),i({urlList:[e],destination:t,mode:s,credentials:o,useURLCredentials:!0})}}},4626(e,t,r){let i=r(1210),{ReadableStreamFrom:n,readableStreamClose:s,fullyReadBody:o,extractMimeType:a}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),g=r(4589),{isErrored:u,isDisturbed:h}=r(7075),{isUint8Array:m}=r(3429),{serializeAMimeType:p}=r(3518),{multipartFormDataParser:C}=r(7750),{parseJSONFromBytes:f}=r(5358),{utf8DecodeBytes:I}=r(2718),{ReadableStreamTee:E}=r(7830),y=new TextEncoder;function B(){}function Q(e,t=!1){let r=null,o=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){o=e},cancel(){},type:"bytes"}),g(d.is.ReadableStream(r));let a=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r -Content-Disposition: form-data`,i=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),n=e=>e.replace(/\r?\n|\r/g,"\r\n"),s=[],o=new Uint8Array([13,10]);l=0;let d=!1;for(let[t,a]of e)if("string"==typeof a){let e=y.encode(r+`; name="${i(n(t))}"`+`\r -\r -${n(a)}\r -`);s.push(e),l+=e.byteLength}else{let e=y.encode(`${r}; name="${i(n(t))}"`+(a.name?`; filename="${i(a.name)}"`:"")+"\r\n"+`Content-Type: ${a.type||"application/octet-stream"}\r -\r -`);s.push(e,a,o),"number"==typeof a.size?l+=e.byteLength+a.size+o.byteLength:d=!0}let g=y.encode(`--${t}--\r -`);s.push(g),l+=g.byteLength,d&&(l=null),A=e,a=async function*(){for(let e of s)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(i.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:n(e)}return("string"==typeof A||m(A))&&(a=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=a&&(async()=>{let e=a(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(u(r))break;e.length&&o.enqueue(new Uint8Array(e))}else e?.length&&!u(r)&&o.enqueue("string"==typeof e?y.encode(e):new Uint8Array(e));queueMicrotask(()=>s(o))})(),[{stream:r,source:A,length:l},h]}function N(e,t,r,i){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(b(e=i(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let n=Promise.withResolvers(),s=n.reject,a=e=>{try{n.resolve(t(e))}catch(e){s(e)}};return null==e.body?a(Buffer.allocUnsafe(0)):o(e.body,a,s),n.promise}function b(e){let t=e.body;return null!=t&&(t.stream.locked||i.isDisturbed(t.stream))}function S(e){let t=a(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(g(!i.isDisturbed(e),"The body has already been consumed."),g(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=E?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return N(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=p(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return N(this,e=>new Uint8Array(e).buffer,e,t)},text(){return N(this,I,e,t)},json(){return N(this,f,e,t)},formData(){return N(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=C(e,r),i=new A;return l(i,t),i}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,i]of t)r.append(e,i);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return N(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(b(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,i=new TextDecoderStream("UTF-8");return r.pipeThrough(i)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||u(t)||t.cancel("Response object has been garbage collected").catch(B)}),bodyUnusable:b}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),i=[301,302,303,307,308],n=new Set(i),s=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],o=new Set(s),a=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...a],l=new Set(a),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),g=["CONNECT","TRACE","TRACK"],u=new Set(g),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],m=new Set(h);e.exports={subresource:h,forbiddenMethods:g,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:s,requestDuplex:["half"],subresourceSet:m,badPortsSet:o,redirectStatusSet:n,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:u,referrerPolicyTokens:l}},3518(e,t,r){let i=r(4589),{forgivingBase64:n,collectASequenceOfCodePoints:s,collectASequenceOfCodePointsFast:o,isomorphicDecode:a,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,g=/[\u000A\u000D\u0009\u0020]/u,u=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,i=e.hash.length,n=0===i?r:r.substring(0,r.length-i);return!i&&r.endsWith("#")?n.slice(0,-1):n}function m(e){return function(e){let t=e.length,r=new Uint8Array(t),i=0,n=0;for(;n<t;){let t=e[n];37!==t?r[i++]=t:37!==t||p(e[n+1])&&p(e[n+2])?(r[i++]=C(e[n+1])<<4|C(e[n+2]),n+=2):r[i++]=37,++n}return t===i?r:r.subarray(0,i)}(c.encode(e))}function p(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=57?e-48:(223&e)-55}function f(e){e=y(e,!0,!0);let t={position:0},r=o("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let i=o(";",e,t);if(0===(i=y(i,!1,!0)).length||!d.test(i))return"failure";let n=r.toLowerCase(),a=i.toLowerCase(),A={type:n,subtype:a,parameters:new Map,essence:`${n}/${a}`};for(;t.position<e.length;){t.position++,s(e=>g.test(e),e,t);let r=s(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let i=null;if('"'===e[t.position])i=I(e,t,!0),o(";",e,t);else if(0===(i=y(i=o(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===i.length||u.test(i))&&!A.parameters.has(r)&&A.parameters.set(r,i)}return A}function I(e,t,r=!1){let n=t.position,o="";for(i('"'===e[t.position]),t.position++;o+=s(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){o+="\\";break}o+=e[t.position],t.position++}else{i('"'===r);break}}return r?o:e.slice(n,t.position)}function E(e){return 13===e||10===e||9===e||32===e}function y(e,t=!0,r=!0){return l(e,t,r,E)}e.exports={dataURLProcessor:function(e){i("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},s=o(",",t,r),l=s.length;if(s=A(s,!0,!0),r.position>=t.length)return"failure";r.position++;let c=m(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(s)){if("failure"===(c=n(a(c))))return"failure";s=(s=(s=s.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}s.startsWith(";")&&(s="text/plain"+s);let d=f(s);return"failure"===d&&(d=f("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:m,parseMIMEType:f,collectAnHTTPQuotedString:I,serializeAMimeType:function(e){i("failure"!==e);let{parameters:t,essence:r}=e,n=r;for(let[e,r]of t.entries())n+=";",n+=e,n+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),n+=r;return n},removeHTTPWhitespace:y,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:i}=r(1210),{HTTP_TOKEN_CODEPOINTS:n}=r(3518),{makeEntry:s}=r(1304),{webidl:o}=r(849),a=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function g(e,t,r){let i=r.position;for(;i<t.length&&e(t[i]);)++i;return t.subarray(r.position,r.position=i)}function u(e,t,r,i){let n=0,s=e.length-1;if(t)for(;n<e.length&&i(e[n]);)n++;if(r)for(;s>0&&i(e[s]);)s--;return 0===n&&s===e.length-1?e:e.subarray(n,s+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function m(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){a("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let p=Buffer.from(`--${r}`,"utf8"),C=[],f={position:0},I=e.indexOf(p);if(-1===I)throw h("no boundary found in multipart body");for(f.position=I;;){let t,r;if(e.subarray(f.position,f.position+p.length).equals(p))f.position+=p.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[r.position+i])return!1;return!0}(e,l,f))return C;if(13!==e[f.position]||10!==e[f.position+1])throw h("expected CRLF");f.position+=2;let{name:I,filename:E,contentType:y,encoding:B}=function(e,t){let r=null,s=null,o=null,a=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:s,contentType:o,encoding:a}}let l=g(e=>10!==e&&13!==e&&58!==e,e,t);if(l=u(l,!0,!0,e=>9===e||32===e),!n.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,g(e=>32===e||9===e,e,t),i(l)){case"content-disposition":{r=s=null;let i=!1;if("form-data"!==g(e=>m(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let n=function(e,t){let r;59===e[t.position]&&t.position++,g(e=>32===e||9===e,e,t);let i=g(e=>m(e)&&61!==e&&42!==e,e,t);if(0===i.length)return null;let n=i.toString("ascii").toLowerCase(),s=42===e[t.position];if(s&&t.position++,61!==e[t.position])return null;if(t.position++,g(e=>32===e||9===e,e,t),s){let i=g(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==i[0]&&85!==i[0]||116!==i[1]&&84!==i[1]||102!==i[2]&&70!==i[2]||45!==i[3]||56!==i[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(i.subarray(7)))}else if(34===e[t.position]){t.position++;let i=g(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(i).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let i=g(e=>m(e)&&59!==e,e,t);r=c.decode(i)}return{name:n,value:r,extended:s}}(e,t);if(!n)break;"name"===n.name?r=n.value:"filename"===n.name&&(n.extended?(s=n.value,i=!0):i||(s=n.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=g(e=>10!==e&&13!==e,e,t);o=A(r=u(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=g(e=>10!==e&&13!==e,e,t);a=A(r=u(r,!1,!0,e=>9===e||32===e));break}default:g(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,f);f.position+=2;{let r=e.indexOf(p.subarray(2),f.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(f.position,r-4),f.position+=t.length,"base64"===B&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[f.position]||10!==e[f.position+1])throw h("expected CRLF");f.position+=2,null!==E?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(y??="text/plain")&&(y=""),r=new File([t],E,{type:y})):r=d.decode(Buffer.from(t)),a(o.is.USVString(I)),a("string"==typeof r&&o.is.USVString(r)||o.is.File(r)),C.push(s(I,r,E))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:i}=r(638),{kEnumerableProperty:n}=r(1210),{webidl:s}=r(849),o=r(7975),{runtimeFeatures:a}=r(6979),A=a.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(s.util.markAsUncloneable(this),void 0!==e)throw s.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){s.brandCheck(this,l);let i="FormData.append";s.argumentLengthCheck(arguments,2,i),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,i,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let n=u(e,t,r);this.#eS.push(n)}delete(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.delete"),e=s.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.get"),e=s.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.getAll"),e=s.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return s.brandCheck(this,l),s.argumentLengthCheck(arguments,1,"FormData.has"),e=s.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){s.brandCheck(this,l);let i="FormData.set";s.argumentLengthCheck(arguments,2,i),e=s.converters.USVString(e),3==arguments.length||s.is.Blob(t)?(t=s.converters.Blob(t,i,"value"),void 0!==r&&(r=s.converters.USVString(r))):t=s.converters.USVString(t);let n=u(e,t,r),o=this.#eS.findIndex(t=>t.name===e);-1!==o?this.#eS=[...this.#eS.slice(0,o),n,...this.#eS.slice(o+1).filter(t=>t.name!==e)]:this.#eS.push(n)}[o.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let i=o.formatWithOptions(t,r);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:g}=l;function u(e,t,r){if("string"==typeof t);else if(s.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),i("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:n,delete:n,get:n,getAll:n,has:n,set:n,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),s.is.FormData=s.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:u,setFormDataState:d,getFormDataBoundary:g}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:i}=r(3025),{kEnumerableProperty:n}=r(1210),{iteratorMixin:s,isValidHeaderName:o,isValidHeaderValue:a}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function g(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function u(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let i=t[r];if(2!==i.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`});h(e,i[0],i[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let i=0;i<r.length;++i)h(e,r[i],t[r[i]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=g(r),o(t)){if(!a(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===f(e))throw TypeError("immutable");return E(e).append(t,r,!1)}function m(e,t){return e[0]<t[0]?-1:1}class p{cookies=null;sortedMap;headersMap;constructor(e){e instanceof p?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase(),n=this.headersMap.get(i);if(n){let e="cookie"===i?"; ":", ";this.headersMap.set(i,{name:n.name,value:`${n.value}${e}${t}`})}else this.headersMap.set(i,{name:e,value:t});"set-cookie"===i&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase();"set-cookie"===i&&(this.cookies=[t]),this.headersMap.set(i,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:i}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,i]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),i=r.next().value;t[0]=[i[0],i[1].value],l(null!==i[1].value);for(let i=1,n=0,s=0,o=0,a=0,A,c;i<e;++i){for(c=r.next().value,l(null!==(A=t[i]=[c[0],c[1].value])[1]),o=0,s=i;o<s;)t[a=o+(s-o>>1)][0]<=A[0]?o=a+1:s=a;if(i!==a){for(n=i;n>o;)t[n]=t[--n];t[o]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:i}}of this.headersMap)t[e++]=[r,i],l(null!==i);return t.sort(m)}}}class C{#tr;#ti;constructor(e){if(A.util.markAsUncloneable(this),e===i)return;this.#ti=new p,this.#tr="none",void 0!==e&&u(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.delete"),!o(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.contains(e,!1)&&this.#ti.delete(e,!1)}get(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.get(e,!1)}has(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.contains(e,!1)}set(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=g(t=A.converters.ByteString(t,r,"value")),o(e)){if(!a(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.set(e,t,!1)}getSetCookie(){A.brandCheck(this,C);let e=this.#ti.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#ti.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#ti}static setHeadersList(e,t){e.#ti=t}}let{getHeadersGuard:f,setHeadersGuard:I,getHeadersList:E,setHeadersList:y}=C;Reflect.deleteProperty(C,"getHeadersGuard"),Reflect.deleteProperty(C,"setHeadersGuard"),Reflect.deleteProperty(C,"getHeadersList"),Reflect.deleteProperty(C,"setHeadersList"),s("Headers",C,function(e){let t=E(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],i=t.toSortedArray(),n=t.cookies;if(null===n||1===n.length)return t.sortedMap=i;for(let e=0;e<i.length;++e){let{0:t,1:s}=i[e];if("set-cookie"===t)for(let e=0;e<n.length;++e)r.push([t,n[e]]);else r.push([t,s])}return t.sortedMap=r},0,1),Object.defineProperties(C.prototype,{append:n,delete:n,get:n,has:n,set:n,getSetCookie:n,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let i=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&i===C.prototype.entries)try{return E(e).entriesList}catch{}return"function"==typeof i?A.converters["sequence<sequence<ByteString>>"](e,t,r,i.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:u,compareHeaderName:m,Headers:C,HeadersList:p,getHeadersGuard:f,setHeadersGuard:I,setHeadersList:y,getHeadersList:E}},7564(e,t,r){let i,{makeNetworkError:n,makeAppropriateNetworkError:s,filterResponse:o,makeResponse:a,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:g,getRequestDispatcher:u,getRequestState:h,removeRequestAbortListener:m}=r(9553),p=r(8522),{makePolicyContainer:C,clonePolicyContainer:f,requestBadPort:I,TAOCheck:E,appendRequestOriginHeader:y,responseLocationURL:B,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:N,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:D,crossOriginResourcePolicyCheck:x,determineRequestsReferrer:R,coarsenedSharedCurrentTime:M,sameOrigin:k,isCancelled:v,isAborted:U,isErrorLike:F,fullyReadBody:T,readableStreamClose:L,urlIsLocal:O,urlIsHttpHttpsScheme:P,urlHasHttpsScheme:H,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:z,createInflate:q,extractMimeType:V,hasAuthenticationEntry:_,includesCredentials:J,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:X,extractBody:K}=r(4626),{redirectStatusSet:Z,nullBodyStatus:$,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),ei=r(8474),{Readable:en,pipeline:es,finished:eo,isErrored:ea,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eg,minimizeSupportedMimeType:eu}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:em}=r(849),{STATUS_CODES:ep}=r(7067),{bytesMatch:eC}=r(2300),{isomorphicEncode:ef}=r(5358),eI=["GET","HEAD"],eE="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function ey(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let i=ec(r[t]),n=r[t+1];if(Array.isArray(n)&&!Buffer.isBuffer(n))for(let t of n)e.append(i,t.toString("latin1"),!0);else e.append(i,n.toString("latin1"),!0)}return}for(let[r,i]of Object.entries(t??{}))if(Array.isArray(i))for(let t of i)e.append(r,`${t}`,!0);else e.append(r,`${i}`,!0)}class eB extends ei{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],i=e.timingInfo,n=e.cacheState;P(r)&&null!==i&&(e.timingAllowPassed||(i=S({startTime:i.startTime}),n=""),i.endTime=M(),e.timingInfo=i,eN(i,r.href,t,globalThis,n,"",e.status))}let eN=performance.markResourceTiming;function eb(e,t,r,i,n){if(e&&e.reject(i),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(i).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let s=l(r);s.body?.stream!=null&&eA(s.body.stream)&&n.error(i)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseEndOfBody:n,processResponseConsumeBody:s,useParallelQueue:o=!1,dispatcher:a=eh(),requestObject:A=null}){j(a);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:M(c)}),g={controller:new eB(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseConsumeBody:s,processResponseEndOfBody:n,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=f(e.client.policyContainer):e.policyContainer=C()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(g,!1),g.controller}async function ew(e,t){try{let r=e.request,i=null;if(r.localURLsOnly&&!O(Q(r))&&(i=n("local URLs only")),b(r),"blocked"===I(r)&&(i=n("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===i){let t=Q(r);k(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",i=await eD(e)):"same-origin"===r.mode?i=n('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?i=n('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",i=await eD(e)):P(Q(r))?(r.responseTainting="cors",i=await eR(e)):i=n("URL scheme must be a HTTP(S) scheme")}if(t)return i;0===i.status||i.internalResponse||(r.responseTainting,"basic"===r.responseTainting?i=o(i,"basic"):"cors"===r.responseTainting?i=o(i,"cors"):"opaque"===r.responseTainting?i=o(i,"opaque"):j(!1));let s=0===i.status?i:i.internalResponse;if(0===s.urlList.length&&s.urlList.push(...r.urlList),r.timingAllowFailed||(i.timingAllowPassed=!0),"opaque"===i.type&&206===s.status&&s.rangeRequested&&!r.headers.contains("range",!0)&&(i=s=n()),0!==i.status&&("HEAD"===r.method||"CONNECT"===r.method||$.includes(s.status))&&(s.body=null,e.controller.dump=!0),r.integrity){let t=t=>ex(e,n(t));if("opaque"===r.responseTainting||null==i.body)return void t(i.error);T(i.body,n=>{eC(n,r.integrity)?(i.body=X(n)[0],ex(e,i)):t("integrity mismatch")},t)}else ex(e,i)}catch(t){e.controller.terminate(t)}}function eD(e){if(v(e)&&0===e.request.redirectCount)return Promise.resolve(s(e));let{request:t}=e,{protocol:o}=Q(t);switch(o){case"about:":return Promise.resolve(n("about scheme is not supported"));case"blob:":{i||(i=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(n("NetworkError when attempting to fetch resource."));let s=i(e.toString());if("GET"!==t.method||!em.is.Blob(s))return Promise.resolve(n("invalid method"));let o=a(),A=s.size,l=ef(`${A}`),c=s.type;if(t.headersList.contains("range",!0)){o.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(n("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:i}=e;if(null===r)i=(r=A-i)+i-1;else{if(r>=A)return Promise.resolve(n("Range start is greater than the blob's size."));(null===i||i>=A)&&(i=A-1)}let a=s.slice(r,i+1,c);o.body=K(a)[0];let l=ef(`${a.size}`),d=z(r,i,A);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",d,!0)}else{let e=K(s);o.statusText="OK",o.body=e[0],o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0)}return Promise.resolve(o)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(n("failed to fetch the data URL"));return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eg(e.mimeType)}]],body:X(e.body)[0]}))}case"file:":return Promise.resolve(n("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>n(e));default:return Promise.resolve(n("unknown scheme"))}}function ex(e,t){let r=e.timingInfo,i=()=>{let i=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!P(e.request.url))return;r.endTime=i;let n=t.cacheState,s=t.bodyInfo;t.timingAllowPassed||(r=S(r),n="");let o=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){o=t.status;let e=V(t.headersList);"failure"!==e&&(s.contentType=eu(e))}null!=e.request.initiatorType&&eN(r,e.request.url.href,e.request.initiatorType,globalThis,n,s,o)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let n="error"===t.type?t:t.internalResponse??t;null==n.body?i():eo(n.body.stream,()=>{i()})}async function eR(e){let t=e.request,r=null,i=null,s=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),i=r=await eM(e),"cors"===t.responseTainting&&"failure"===D(t,r))return n("cors failure");"failure"===E(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===x(t.origin,t.client,t.destination,i)?n("blocked"):(Z.has(i.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=n("unexpected redirect"):"manual"===t.redirect?r=i:"follow"===t.redirect?r=await function(e,t){let r,i=e.request,s=t.internalResponse?t.internalResponse:t;try{if(r=B(s,Q(i).hash),null==r)return t}catch(e){return Promise.resolve(n(e))}if(!P(r))return Promise.resolve(n("URL scheme must be a HTTP(S) scheme"));if(20===i.redirectCount)return Promise.resolve(n("redirect count exceeded"));if(i.redirectCount+=1,"cors"===i.mode&&(r.username||r.password)&&!k(i,r))return Promise.resolve(n('cross origin not allowed for request mode "cors"'));if("cors"===i.responseTainting&&(r.username||r.password))return Promise.resolve(n('URL cannot contain credentials for request mode "cors"'));if(303!==s.status&&null!=i.body&&null==i.body.source)return Promise.resolve(n());if([301,302].includes(s.status)&&"POST"===i.method||303===s.status&&!eI.includes(i.method))for(let e of(i.method="GET",i.body=null,et))i.headersList.delete(e);k(Q(i),r)||(i.headersList.delete("authorization",!0),i.headersList.delete("proxy-authorization",!0),i.headersList.delete("cookie",!0),i.headersList.delete("host",!0)),null!=i.body&&(j(null!=i.body.source),i.body=X(i.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=M(e.crossOriginIsolatedCapability),0===o.redirectStartTime&&(o.redirectStartTime=o.startTime),i.urlList.push(r),N(i,s),ew(e,!0)}(e,r):j(!1)),r.timingInfo=s,r)}async function eM(e,t=!1,r=!1){let i=e.request,o=null,a=null,A=null;"no-window"===i.window&&"error"===i.redirect?(o=e,a=i):(i.body?.source!=null?a=g(i):(a=g({...i,body:null})).body=i.body,(o={...e}).request=a);let l="include"===i.credentials||"same-origin"===i.credentials&&"basic"===i.responseTainting,c=a.body?a.body.length:null,d=null;if(null==a.body&&["POST","PUT"].includes(a.method)&&(d="0"),null!=c&&(d=ef(`${c}`)),null==d||a.headersList.contains("content-length",!0)||a.headersList.append("content-length",d,!0),null!=c&&a.keepalive,em.is.URL(a.referrer)&&a.headersList.append("referer",ef(a.referrer.href),!0),y(a),w(a),a.headersList.contains("user-agent",!0)||a.headersList.append("user-agent",eE,!0),"default"===a.cache&&(a.headersList.contains("if-modified-since",!0)||a.headersList.contains("if-none-match",!0)||a.headersList.contains("if-unmodified-since",!0)||a.headersList.contains("if-match",!0)||a.headersList.contains("if-range",!0))&&(a.cache="no-store"),"no-cache"!==a.cache||a.preventNoCacheCacheControlHeaderModification||a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","max-age=0",!0),("no-store"===a.cache||"reload"===a.cache)&&(a.headersList.contains("pragma",!0)||a.headersList.append("pragma","no-cache",!0),a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","no-cache",!0)),a.headersList.contains("range",!0)&&a.headersList.append("accept-encoding","identity",!0),a.headersList.contains("accept-encoding",!0)||(H(Q(a))?a.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):a.headersList.append("accept-encoding","gzip, deflate",!0)),a.headersList.delete("host",!0),l&&!a.headersList.contains("authorization",!0)){let e=null;if(_(a)&&(void 0===a.useURLCredentials||!J(Q(a))));else if(J(Q(a))&&t){let{username:t,password:r}=Q(a);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&a.headersList.append("Authorization",e,!1)}if(a.cache="no-store","no-store"!==a.cache&&a.cache,null==A){if("only-if-cached"===a.cache)return n("only if cached");let e=await ek(o,l,r);!ee.has(a.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...a.urlList],a.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==a.responseTainting&&l&&(void 0!==i.useURLCredentials||W(i.traversableForUserPrompts))){if(null!=i.body){if(null==i.body.source)return A;i.body=X(i.body.source)[0]}if(void 0===i.useURLCredentials||t)return v(e)?s(e):A;e.controller.connection.destroy(),A=await eM(e,!0)}if(407===A.status)return"no-window"===i.window?n():v(e)?s(e):n("proxy authentication required");if(421===A.status&&!r&&(null==i.body||null!=i.body.source)){if(v(e))return s(e);e.controller.connection.destroy(),A=await eM(e,t,!0)}return A}async function ek(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let i=e.request,o=null,A=e.timingInfo;i.cache="no-store",i.mode;let l=null;if(null==i.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=i.body){let t=async function*(t){v(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of i.body.stream)yield*t(e);!v(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){v(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:n,headersList:s,socket:d}=await function({body:t}){let r=Q(i),n=e.controller.dispatcher,s=r.pathname+r.search,o=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(a,l){return new Promise((d,g)=>n.dispatch({path:o?`${s}?`:s,origin:r.origin,method:i.method,body:n.isMockActive?i.body&&(i.body.source||i.body.stream):a,__mockAgentBodyForDispatch:a,headers:i.headersList.entries,maxRedirections:0,upgrade:"websocket"===i.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let i=e=>t.abort(e);r.destroyed?i(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",i),this.abort=r.abort=i),A.finalNetworkRequestStartTime=M(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=M(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,n){if(t<200)return;let s=e?.rawHeaders??[],o=new c;ey(o,r,s);let a=o.get("location",!0);this.body=new en({read:()=>e.resume()});let A=a&&"follow"===i.redirect&&Z.has(t),l=[];if("HEAD"!==i.method&&"CONNECT"!==i.method&&!$.includes(t)&&!A){let e=o.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void g(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(p.createGunzip({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(q({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(p.createBrotliDecompress({flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(p.createZstdDecompress({flush:p.constants.ZSTD_e_continue,finishFlush:p.constants.ZSTD_e_end}));else{l.length=0;break}}}let u=t=>this.onResponseError(e,t);d({status:t,statusText:n,headersList:o,body:l.length?es(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",u):this.body.on("error",u)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,n){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===i.mode&&!1!==l&&n?.code==="UND_ERR_INFO"&&n?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(a,!1)):(this.body?.destroy(n),e.controller.terminate(n),g(n))},onRequestUpgrade(e,t,r,i){if(null!=i.session&&200!==t||null==i.session&&101!==t)return!1;let n=e?.rawHeaders??[],s=new c;return ey(s,r,n),d({status:t,statusText:ep[t],headersList:s,socket:i}),!0}}))}(t)}({body:l});if(d)o=a({status:r,statusText:n,headersList:s,socket:d});else{let i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next(),o=a({status:r,statusText:n,headersList:s})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),s(e,t);return n(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{v(e)||e.controller.abort(t)},type:"bytes"});return o.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){U(e)?(o.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:F(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:i}=await e.controller.next();if(U(e))break;t=r?void 0:i}catch(i){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=i,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,o);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let i=new Uint8Array(t);if(i.byteLength&&e.controller.controller.enqueue(i),ea(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},o}e.exports={fetch:function(e,t){let r;em.argumentLengthCheck(arguments,1,"globalThis.fetch");let i=Promise.withResolvers();try{r=new d(e,t)}catch(e){return i.reject(e),i.promise}let n=h(r);if(r.signal.aborted)return eb(i,n,null,r.signal.reason,null),i.promise;let s=n.client.globalObject;s?.constructor?.name==="ServiceWorkerGlobalScope"&&(n.serviceWorkers="none");let o=null,a=!1,l=null,c=el(r.signal,()=>{a=!0,j(null!=l),l.abort(r.signal.reason);let e=o?.deref();eb(i,n,e,r.signal.reason,l.controller)}),g=()=>{c(),m(r)};return l=eS({request:n,processResponseEndOfBody:e=>{eQ(e,"fetch"),g()},processResponse:e=>{if(!a){if(e.aborted){eb(i,n,o,l.serializedAbortReason,l.controller),g();return}if("error"===e.type){i.reject(TypeError("fetch failed",{cause:e.error})),g();return}o=new WeakRef(A(e,"immutable")),i.resolve(o.deref()),i=null}},dispatcher:u(r),requestObject:r}),i.promise},Fetch:eB,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let i,{extractBody:n,mixinBody:s,cloneBody:o,bodyUnusable:a}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:g,setHeadersList:u,getHeadersList:h}=r(3470),m=r(1210),p=r(7975),{isValidHTTPToken:C,sameOrigin:f,environmentSettingsObject:I}=r(638),{forbiddenMethodsSet:E,corsSafeListedMethodsSet:y,referrerPolicy:B,requestRedirect:Q,requestMode:N,requestCredentials:b,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:D,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=m,{webidl:M}=r(849),{URLSerializer:k}=r(3518),{kConstruct:v}=r(3025),U=r(4589),{getMaxListeners:F,setMaxListeners:T,defaultMaxListeners:L}=r(8474),O=Symbol("abortController"),P=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),H=new WeakMap;try{i=F(new AbortController().signal)>0}catch{i=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){P.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=H.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}H.delete(r.signal)}}}}let G=!1;class z{#tn;#Q;#$;#eS;#ts=null;constructor(e,t){let r;if(M.util.markAsUncloneable(this),e===v)return;M.argumentLengthCheck(arguments,1,"Request constructor"),e=M.converters.RequestInfo(e),t=M.converters.RequestInit(t);let s=null,o=null,g=I.settingsObject.baseUrl,p=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,g)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);s=K({urlList:[r]}),o="cors"}else U(M.is.Request(e)),s=e.#eS,p=e.#tn,this.#Q=t.dispatcher||e.#Q;let B=I.settingsObject.origin,Q="client";if(s.window?.constructor?.name==="EnvironmentSettingsObject"&&f(s.window,B)&&(Q=s.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),s=K({method:s.method,headersList:s.headersList,unsafeRequest:s.unsafeRequest,client:I.settingsObject,window:Q,priority:s.priority,origin:s.origin,referrer:s.referrer,referrerPolicy:s.referrerPolicy,mode:s.mode,credentials:s.credentials,cache:s.cache,redirect:s.redirect,integrity:s.integrity,keepalive:s.keepalive,reloadNavigation:s.reloadNavigation,historyNavigation:s.historyNavigation,urlList:[...s.urlList]});let N=0!==Object.keys(t).length;if(N&&("navigate"===s.mode&&(s.mode="same-origin"),s.reloadNavigation=!1,s.historyNavigation=!1,s.origin="client",s.referrer="client",s.referrerPolicy="",s.url=s.urlList[s.urlList.length-1],s.urlList=[s.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)s.referrer="no-referrer";else{let t;try{t=new URL(e,g)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||B&&!f(t,I.settingsObject.baseUrl)?s.referrer="client":s.referrer=t}}if(void 0!==t.referrerPolicy&&(s.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:o))throw M.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(s.mode=r),void 0!==t.credentials&&(s.credentials=t.credentials),void 0!==t.cache&&(s.cache=t.cache),"only-if-cached"===s.cache&&"same-origin"!==s.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(s.redirect=t.redirect),null!=t.integrity&&(s.integrity=String(t.integrity)),void 0!==t.keepalive&&(s.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)s.method=r;else{if(!C(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(E.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=x[t]??e,s.method=e}G||"patch"!==s.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(p=t.signal),this.#eS=s;let b=new AbortController;if(this.#tn=b.signal,null!=p)if(p.aborted)b.abort(p.reason);else{this[O]=b;let e=Y(new WeakRef(b));i&&F(p)===L&&T(1500,p);let t=m.addAbortListener(p,e);P.register(b,{signal:p,abort:e},e),this.#ts=()=>{P.unregister(e),t(),this.#ts=null}}if(this.#$=new A(v),u(this.#$,s.headersList),d(this.#$,"request"),"no-cors"===r){if(!y.has(s.method))throw TypeError(`'${s.method} is unsupported in no-cors mode.`);d(this.#$,"request-no-cors")}if(N){let e=h(this.#$),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:i}of r.rawValues())e.append(t,i,!1);e.cookies=r.cookies}else l(this.#$,r)}let S=M.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===s.method||"HEAD"===s.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=n(t.body,s.keepalive);w=e,r&&!h(this.#$).contains("content-type",!0)&&this.#$.append("content-type",r,!0)}let D=w??S;if(null!=D&&null==D.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==s.mode&&"cors"!==s.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');s.useCORSPreflightFlag=!0}let k=D;if(null==w&&null!=S){if(a(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),k={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=k}get method(){return M.brandCheck(this,z),this.#eS.method}get url(){return M.brandCheck(this,z),k(this.#eS.url)}get headers(){return M.brandCheck(this,z),this.#$}get destination(){return M.brandCheck(this,z),this.#eS.destination}get referrer(){return(M.brandCheck(this,z),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return M.brandCheck(this,z),this.#eS.referrerPolicy}get mode(){return M.brandCheck(this,z),this.#eS.mode}get credentials(){return M.brandCheck(this,z),this.#eS.credentials}get cache(){return M.brandCheck(this,z),this.#eS.cache}get redirect(){return M.brandCheck(this,z),this.#eS.redirect}get integrity(){return M.brandCheck(this,z),this.#eS.integrity}get keepalive(){return M.brandCheck(this,z),this.#eS.keepalive}get isReloadNavigation(){return M.brandCheck(this,z),this.#eS.reloadNavigation}get isHistoryNavigation(){return M.brandCheck(this,z),this.#eS.historyNavigation}get signal(){return M.brandCheck(this,z),this.#tn}get body(){return M.brandCheck(this,z),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return M.brandCheck(this,z),!!this.#eS.body&&m.isDisturbed(this.#eS.body.stream)}get duplex(){return M.brandCheck(this,z),"half"}clone(){if(M.brandCheck(this,z),a(this.#eS))throw TypeError("unusable");let e=Z(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=H.get(this.signal);void 0===e&&(e=new Set,H.set(this.signal,e));let r=new WeakRef(t);e.add(r),m.addAbortListener(t.signal,Y(r))}return $(e,this.#Q,t.signal,g(this.#$))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${p.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#tn=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#$=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#ts?.()}}let{setRequestSignal:q,getRequestDispatcher:V,setRequestDispatcher:_,setRequestHeaders:J,getRequestState:W,setRequestState:j,removeRequestAbortListener:X}=z;function K(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function Z(e){let t=K({...e,body:null});return null!=e.body&&(t.body=o(e.body)),t}function $(e,t,r,i){let n=new z(v);j(n,e),_(n,t),q(n,r);let s=new A(v);return J(n,s),u(s,e.headersList),d(s,i),n}Reflect.deleteProperty(z,"setRequestSignal"),Reflect.deleteProperty(z,"getRequestDispatcher"),Reflect.deleteProperty(z,"setRequestDispatcher"),Reflect.deleteProperty(z,"setRequestHeaders"),Reflect.deleteProperty(z,"getRequestState"),Reflect.deleteProperty(z,"setRequestState"),Reflect.deleteProperty(z,"removeRequestAbortListener"),s(z,W),Object.defineProperties(z.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),M.is.Request=M.util.MakeTypeAssertion(z),M.converters.RequestInfo=function(e){return"string"==typeof e?M.converters.USVString(e):M.is.Request(e)?e:M.converters.USVString(e)},M.converters.RequestInit=M.dictionaryConverter([{key:"method",converter:M.converters.ByteString},{key:"headers",converter:M.converters.HeadersInit},{key:"body",converter:M.nullableConverter(M.converters.BodyInit)},{key:"referrer",converter:M.converters.USVString},{key:"referrerPolicy",converter:M.converters.DOMString,allowedValues:B},{key:"mode",converter:M.converters.DOMString,allowedValues:N},{key:"credentials",converter:M.converters.DOMString,allowedValues:b},{key:"cache",converter:M.converters.DOMString,allowedValues:S},{key:"redirect",converter:M.converters.DOMString,allowedValues:Q},{key:"integrity",converter:M.converters.DOMString},{key:"keepalive",converter:M.converters.boolean},{key:"signal",converter:M.nullableConverter(e=>M.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:M.converters.any},{key:"duplex",converter:M.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:M.converters.any},{key:"priority",converter:M.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:z,makeRequest:K,fromInnerRequest:$,cloneRequest:Z,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:X}},165(e,t,r){let{Headers:i,HeadersList:n,fill:s,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:g,bodyUnusable:u}=r(4626),h=r(1210),m=r(7975),{kEnumerableProperty:p}=h,{isValidReasonPhrase:C,isCancelled:f,isAborted:I,isErrorLike:E,environmentSettingsObject:y}=r(638),{redirectStatusSet:B,nullBodyStatus:Q}=r(6113),{webidl:N}=r(849),{URLSerializer:b}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:D,serializeJavascriptValueToJSONString:x}=r(5358),R=new TextEncoder("utf-8");class M{#$;#eS;static error(){return G(O(),"immutable")}static json(e,t){N.argumentLengthCheck(arguments,1,"Response.json"),t=N.converters.ResponseInit(t);let r=l(R.encode(x(e))),i=G(L({}),"response");return Y(i,t,{body:r[0],type:"application/json"}),i}static redirect(e,t=302){let r;N.argumentLengthCheck(arguments,1,"Response.redirect"),e=N.converters.USVString(e),t=N.converters["unsigned short"](t);try{r=new URL(e,y.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!B.has(t))throw RangeError(`Invalid status code ${t}`);let i=G(L({}),"immutable");i.#eS.status=t;let n=D(b(r));return i.#eS.headersList.append("location",n,!0),i}constructor(e=null,t){if(N.util.markAsUncloneable(this),e===S)return;null!==e&&(e=N.converters.BodyInit(e,"Response","body")),t=N.converters.ResponseInit(t),this.#eS=L({}),this.#$=new i(S),a(this.#$,"response"),A(this.#$,this.#eS.headersList);let r=null;if(null!=e){let[t,i]=l(e);r={body:t,type:i}}Y(this,t,r)}get type(){return N.brandCheck(this,M),this.#eS.type}get url(){N.brandCheck(this,M);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":b(t,!0)}get redirected(){return N.brandCheck(this,M),this.#eS.urlList.length>1}get status(){return N.brandCheck(this,M),this.#eS.status}get ok(){return N.brandCheck(this,M),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return N.brandCheck(this,M),this.#eS.statusText}get headers(){return N.brandCheck(this,M),this.#$}get body(){return N.brandCheck(this,M),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return N.brandCheck(this,M),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(N.brandCheck(this,M),u(this.#eS))throw N.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&g.register(this,new WeakRef(this.#eS.body.stream)),G(e,o(this.#$))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#$}static setResponseHeaders(e,t){e.#$=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:k,setResponseHeaders:v,getResponseState:U,setResponseState:F}=M;function T(e){if(e.internalResponse)return H(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new n(e?.headersList):new n,urlList:e?.urlList?[...e.urlList]:[]}}function O(e){return L({type:"error",status:0,error:E(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function P(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,i)=>(w(!(r in t)),e[r]=i,!0)})}function H(e,t){return"basic"===t?P(e,{type:"basic",headersList:e.headersList}):"cors"===t?P(e,{type:"cors",headersList:e.headersList}):"opaque"===t?P(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?P(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!C(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(U(e).status=t.status),"statusText"in t&&null!=t.statusText&&(U(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&s(k(e),t.headers),r){if(Q.includes(e.status))throw N.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});U(e).body=r.body,null==r.type||U(e).headersList.contains("content-type",!0)||U(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new M(S);F(r,e);let n=new i(S);return v(r,n),A(n,e.headersList),a(n,t),0!==e.urlList.length&&e.body?.stream&&g.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(M,"getResponseHeaders"),Reflect.deleteProperty(M,"setResponseHeaders"),Reflect.deleteProperty(M,"getResponseState"),Reflect.deleteProperty(M,"setResponseState"),d(M,U),Object.defineProperties(M.prototype,{type:p,url:p,status:p,ok:p,redirected:p,statusText:p,headers:p,clone:p,body:p,bodyUsed:p,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(M,{json:p,redirect:p,error:p}),N.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?N.converters.USVString(e,t,r):N.is.Blob(e)||N.is.BufferSource(e)||N.is.FormData(e)||N.is.URLSearchParams(e)?e:N.converters.DOMString(e,t,r)},N.converters.BodyInit=function(e,t,r){return N.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:N.converters.XMLHttpRequestBodyInit(e,t,r)},N.converters.ResponseInit=N.dictionaryConverter([{key:"status",converter:N.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:N.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:N.converters.HeadersInit}]),N.is.Response=N.util.MakeTypeAssertion(M),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:O,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(f(e)),I(e)?O(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):O(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:H,Response:M,cloneResponse:T,fromInnerResponse:G,getResponseState:U}},638(e,t,r){let{Transform:i}=r(7075),n=r(8522),{redirectStatusSet:s,referrerPolicyTokens:o,badPortsSet:a}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:g,isValidHTTPToken:u,normalizedMethodRecordsBase:h}=r(1210),m=r(4589),{isUint8Array:p}=r(3429),{webidl:C}=r(849),{isomorphicEncode:f,collectASequenceOfCodePoints:I,removeChars:E}=r(5358);function y(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function B(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function N(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function b(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(m(C.is.URL(e)),F(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),D=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function x(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),D(e)):w(e)}function R(e){var t;return!!C.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||x(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function M(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let k=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function v(e,t,r=0,i=1){class n{#to;#ta;#tA;constructor(e,t){this.#to=e,this.#ta=t,this.#tA=0}next(){let n;if("object"!=typeof this||this===null||!(#to in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let s=this.#tA,o=t(this.#to);if(s>=o.length)return{value:void 0,done:!0};let{[r]:a,[i]:A}=o[s];switch(this.#tA=s+1,this.#ta){case"key":n=a;break;case"value":n=A;break;case"key+value":n=[a,A]}return{value:n,done:!1}}}return delete n.prototype.constructor,Object.setPrototypeOf(n.prototype,k),Object.defineProperties(n.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new n(e,t)}}async function U(e,t,r){try{let i=[],n=0;for(;;){let{done:s,value:o}=await e.read();if(s)return void t(Buffer.concat(i,n));if(!p(o))return void r(TypeError("Received non-Uint8Array chunk"));i.push(o),n+=o.length}}catch(e){r(e)}}function F(e){m("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){m("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class O extends i{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?n.createInflate(this.#tl):n.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function P(e,t){let r=t.get(e,!0);if(null===r)return null;let i={position:0},n=[],s="";for(;i.position<r.length;){if(s+=I(e=>'"'!==e&&","!==e,r,i),i.position<r.length)if(34===r.charCodeAt(i.position)){if(s+=l(r,i),i.position<r.length)continue}else m(44===r.charCodeAt(i.position)),i.position++;s=E(s,!0,!0,e=>9===e||32===e),n.push(s),s=""}return n}class H{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=b()}class Y{settingsObject=new H}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:B,ReadableStreamFrom:g,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;m(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else C.is.URL(e.referrer)&&(r=e.referrer);let i=S(r),n=S(r,!0);switch(i.toString().length>4096&&(i=n),t){case"no-referrer":return"no-referrer";case"origin":if(null!=n)return n;return S(r,!0);case"unsafe-url":return i;case"strict-origin":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return n}case"strict-origin-when-cross-origin":{let t=Q(e);if(M(i,t))return i;if(R(i)&&!R(t))return"no-referrer";return n}case"same-origin":if(M(e,i))return i;return"no-referrer";case"origin-when-cross-origin":if(M(e,i))return i;return n;case"no-referrer-when-downgrade":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return i}}},makePolicyContainer:b,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":M(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let i=t[e-1].trim();if(o.has(i)){r=i;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:u,requestBadPort:function(e){let t=Q(e);return L(t)&&a.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:y,responseLocationURL:function(e,t){var r;if(!s.has(e.status))return null;let i=e.headersList.get("location",!0);return null!==i&&N(i)&&(B(i)||(r=i,i=Buffer.from(r,"binary").toString("utf8")),i=new URL(i,y(e))),i&&!i.hash&&(i.hash=t),i},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:M,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,i=0,n=1){let s=v(e,r,i,n),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),s(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,i=globalThis){if(C.brandCheck(this,t),C.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of s(this,"key+value"))r.call(i,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})},createIterator:v,isValidHeaderName:u,isValidHeaderValue:N,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let i=e.stream.getReader();U(i,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:F,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:U,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&I(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&I(e=>" "===e||" "===e,e,r);let i=I(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),n=i.length?Number(i):null;if(t&&I(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&I(e=>" "===e||" "===e,e,r);let s=I(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),o=s.length?Number(s):null;return r.position<e.length||null===o&&null===n||null!==n&&null!==o&&n>o?"failure":{rangeStartValue:n,rangeEndValue:o}},buildContentRange:function(e,t,r){let i="bytes ";return i+=f(`${e}`),i+="-",i+=f(`${t}`),i+="/",i+=f(`${r}`)},createInflate:function(e){return new O(e)},extractMimeType:function(e){let t=null,r=null,i=null,n=P("content-type",e);if(null===n)return"failure";for(let e of n){let n=c(e);"failure"!==n&&"*/*"!==n.essence&&((i=n).essence!==r?(t=null,i.parameters.has("charset")&&(t=i.parameters.get("charset")),r=i.essence):i.parameters.has("charset")||null===t||i.parameters.set("charset",t))}return null==i?"failure":i},getDecodeSplit:P,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:x,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let i=r(4589),{utf8DecodeBytes:n}=r(2718),s=/[\u0009\u000A\u000C\u000D\u0020]/g;function o(e){return 9===e||10===e||12===e||13===e||32===e}let a=/[^\x00-\xFF]/;function A(e,t,r,i){let n=0,s=e.length-1;if(t)for(;n<e.length&&i(e.charCodeAt(n));)n++;if(r)for(;s>0&&i(e.charCodeAt(s));)s--;return 0===n&&s===e.length-1?e:e.slice(n,s+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let i="";for(;r.position<t.length&&e(t[r.position]);)i+=t[r.position],r.position++;return i},collectASequenceOfCodePointsFast:function(e,t,r){let i=t.indexOf(e,r.position),n=r.position;return -1===i?(r.position=t.length,t.slice(n)):(r.position=i,t.slice(n,r.position))},forgivingBase64:function(e){let t=(e=e.replace(s,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:o,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",i=0,n=65535;for(;i<t;)i+n>t&&(n=t-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+=n));return r},isomorphicEncode:function(e){return i(!a.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(n(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,o)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return i("string"==typeof t),t}}},2300(e,t,r){let i,n=r(4589),{runtimeFeatures:s}=r(6979),o=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(s.has("crypto")){let e=(i=r(7598)).getHashes();for(let t of(0===e.length&&o.clear(),o.keys()))!1===e.includes(t)&&o.delete(t)}else o.clear();let a=Map.prototype.get.bind(o),A=Map.prototype.has.bind(o),l=!1===s.has("crypto")||0===o.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,i=t.val;if(u(g(r,e),i))return!0}return!1};function c(e){let t=[],r=null;for(let i of e){if(n(A(i.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(i),r=i;continue}let e=a(r.alg),s=a(i.alg);s<e||(s>e?(r=i,t[0]=i,t.length=1):t.push(i))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],i="",n=[e.slice(0,6),e.slice(7)],s=n[0];if(!A(s))continue;n[1]&&(i=n[1]);let o={alg:s,val:i};t.push(o)}return t}let g=(e,t)=>i.hash(e,t,"base64");function u(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let i=t.length;if(0!==i&&"="===t[i-1]&&(i-=1),0!==i&&"="===t[i-1]&&(i-=1),r!==i)return!1;for(let i=0;i<r;++i)if(e[i]!==t[i]&&("+"!==e[i]||"-"!==t[i])&&("/"!==e[i]||"_"!==t[i]))return!1;return!0}e.exports={applyAlgorithmToBytes:g,bytesMatch:l,caseSensitiveMatch:u,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let i=r(4589),{types:n,inspect:s}=r(7975),{markAsUncloneable:o}=r(5919),a=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!a(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>a(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=o,A.util.ConvertToInt=function(e,t,r,i){let n,s;64===t?(n=0x1fffffffffffff,s="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(s=0,n=Math.pow(2,t)-1):(s=-Math.pow(2,t-1),n=Math.pow(2,t-1)-1);let o=Number(e);if(0===o&&(o=0),A.util.HasFlag(i,A.attributes.EnforceRange)){if(Number.isNaN(o)||o===1/0||o===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((o=A.util.IntegerPart(o))<s||o>n)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${s}-${n}, got ${o}.`});return o}return!Number.isNaN(o)&&A.util.HasFlag(i,A.attributes.Clamp)?o=Math.floor(o=Math.min(Math.max(o,s),n))%2==0?Math.floor(o):Math.ceil(o):Number.isNaN(o)||0===o&&Object.is(0,o)||o===1/0||o===-1/0?0:(o=A.util.IntegerPart(o)%Math.pow(2,t),"signed"===r&&o>=Math.pow(2,t-1))?o-Math.pow(2,t):o},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return s(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(n.isArrayBuffer(e))return e.resizable;if(n.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,i,n)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${i} (${A.util.Stringify(t)}) is not iterable.`});let s="function"==typeof n?n():t?.[Symbol.iterator]?.(),o=[],a=0;if(void 0===s||"function"!=typeof s.next)throw A.errors.exception({header:r,message:`${i} is not iterable.`});for(;;){let{done:t,value:n}=s.next();if(t)break;o.push(e(n,r,`${i}[${a++}]`))}return o}},A.recordConverter=function(e,t){return(r,i,s)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:i,message:`${s} ("${A.util.TypeValueToString(r)}") is not an Object.`});let o={};if(!n.isProxy(r)){for(let n of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let a=A.util.Stringify(n),l=e(n,i,`Key ${a} in ${s}`),c=t(r[n],i,`${s}[${a}]`);o[l]=c}return o}for(let n of Reflect.ownKeys(r)){let a=Reflect.getOwnPropertyDescriptor(r,n);if(a?.enumerable){let a=e(n,i,s),A=t(r[n],i,s);o[a]=A}}return o}},A.interfaceConverter=function(e,t){return(r,i,n)=>{if(!e(r))throw A.errors.exception({header:i,message:`Expected ${n} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,i)=>{let n={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let s of e){let{key:e,defaultValue:o,required:a,converter:l}=s;if(!0===a&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==o;if(d&&void 0===c&&(c=o()),a||d||void 0!==c){if(c=l(c,r,`${i}.${e}`),s.allowedValues&&!s.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${s.allowedValues.join(", ")}.`});n[e]=c}}return n}},A.nullableConverter=function(e){return(t,r,i)=>null===t?t:e(t,r,i)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return n.isArrayBuffer(e)||ArrayBuffer.isView(e)&&n.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,s=0;if(n.isTypedArray(e)||n.isDataView(e)?(t=e.buffer,r=e.byteOffset):i(n.isAnyArrayBuffer(e)),s=e.byteLength,t.detached)return new Uint8Array(0);let o=new Uint8Array(s),a=new Uint8Array(t,r,s);return o.set(a),o},A.converters.DOMString=function(e,t,r,i){if(null===e&&A.util.HasFlag(i,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let i=String(e);for(let e=0;e<i.length;e++)if(i.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${i.charCodeAt(e)} which is greater than 255.`);return i},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,i){return A.util.ConvertToInt(e,16,"unsigned",i,t,r)},A.converters.ArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,i,s){if(8!==A.util.Type(e)||!n.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${i} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(s,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(s,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,i){if(8!==A.util.Type(e)||!n.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&n.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,i){if(n.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(n.isArrayBufferView(e))return i&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);if(n.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,i){if(n.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(n.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,i);if(n.isArrayBufferView(e))return i|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:i,states:n,sentCloseFrameState:s,emptyBuffer:o,opcodes:a}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:g,validateCloseCodeAndReason:u}=r(3927),{makeRequest:h}=r(9553),{fetching:m}=r(7564),{Headers:p,getHeadersList:C}=r(3470),{getDecodeSplit:f}=r(638),{WebsocketFrameSend:I}=r(4018),E=r(4589),{runtimeFeatures:y}=r(6979),B=y.has("crypto")?r(7598):null,Q=!1;function N(e,t,r,i=!1){if(t??=null,r??="",i&&u(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(s.SENT)||e.closeState.has(s.RECEIVED))e.readyState=n.CLOSING;else{let i=new I;0!==r.length&&null===t&&(t=1e3),E(null===t||Number.isInteger(t)),null===t&&0===r.length?i.frameData=o:null!==t&&null===r?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(i.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=o,e.socket.write(i.createFrame(a.CLOSE)),e.closeState.add(s.SENT),e.readyState=n.CLOSING}else b(e),e.readyState=n.CLOSING}function b(e,t,r,i){d(e.readyState)&&N(e,t,r,!1),e.controller.abort(),g(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,n,s){e.protocol="ws:"===e.protocol?"http:":"https:";let o=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});s.headers&&(o.headersList=C(new p(s.headers)));let a=B.randomBytes(16).toString("base64");for(let e of(o.headersList.append("sec-websocket-key",a,!0),o.headersList.append("sec-websocket-version","13",!0),t))o.headersList.append("sec-websocket-protocol",e,!0);return o.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),m({request:o,useParallelQueue:!0,dispatcher:s.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void b(n,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void b(n,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void b(n,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void b(n,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void b(n,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==B.hash("sha1",a+i,"base64"))return void b(n,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let s=e.headersList.get("Sec-WebSocket-Extensions");if(null!==s&&!(r=A(s)).has("permessage-deflate"))return void b(n,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||f("sec-websocket-protocol",o.headersList).includes(l)?(e.socket.on("data",n.onSocketData),e.socket.on("close",n.onSocketClose),e.socket.on("error",n.onSocketError),n.wasEverConnected=!0,n.onConnectionEstablished(e,r)):b(n,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:b,closeWebSocketConnection:N}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:i}=r(849),{kEnumerableProperty:n}=r(1210),{kConstruct:s}=r(3025);class o extends Event{#tc;constructor(e,t={}){if(e===s){super(arguments[1],arguments[2]),i.util.markAsUncloneable(this);return}let r="MessageEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,i.util.markAsUncloneable(this)}get data(){return i.brandCheck(this,o),this.#tc.data}get origin(){return i.brandCheck(this,o),this.#tc.origin}get lastEventId(){return i.brandCheck(this,o),this.#tc.lastEventId}get source(){return i.brandCheck(this,o),this.#tc.source}get ports(){return i.brandCheck(this,o),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,n=null,s="",a="",A=null,l=[]){return i.brandCheck(this,o),i.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new o(e,{bubbles:t,cancelable:r,data:n,origin:s,lastEventId:a,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new o(s,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:a}=o;delete o.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.CloseEventInit(t)),this.#tc=t,i.util.markAsUncloneable(this)}get wasClean(){return i.brandCheck(this,A),this.#tc.wasClean}get code(){return i.brandCheck(this,A),this.#tc.code}get reason(){return i.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e,t),i.util.markAsUncloneable(this),e=i.converters.DOMString(e,r,"type"),t=i.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return i.brandCheck(this,l),this.#tc.message}get filename(){return i.brandCheck(this,l),this.#tc.filename}get lineno(){return i.brandCheck(this,l),this.#tc.lineno}get colno(){return i.brandCheck(this,l),this.#tc.colno}get error(){return i.brandCheck(this,l),this.#tc.error}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:n,origin:n,lastEventId:n,source:n,ports:n,initMessageEvent:n}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:n,code:n,wasClean:n}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:n,filename:n,lineno:n,colno:n,error:n}),i.converters.MessagePort=i.interfaceConverter(i.is.MessagePort,"MessagePort"),i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);let c=[{key:"bubbles",converter:i.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:i.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:i.converters.boolean,defaultValue:()=>!1}];i.converters.MessageEventInit=i.dictionaryConverter([...c,{key:"data",converter:i.converters.any,defaultValue:()=>null},{key:"origin",converter:i.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:()=>""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:i.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),i.converters.CloseEventInit=i.dictionaryConverter([...c,{key:"wasClean",converter:i.converters.boolean,defaultValue:()=>!1},{key:"code",converter:i.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:i.converters.USVString,defaultValue:()=>""}]),i.converters.ErrorEventInit=i.dictionaryConverter([...c,{key:"message",converter:i.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:i.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:i.converters.any}]),e.exports={MessageEvent:o,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:a}},4018(e,t,r){let{runtimeFeatures:i}=r(6979),{maxUnsigned16Bit:n,opcodes:s}=r(7946),o=null,a=8192,A=i.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===a&&(a=0,A(o??=Buffer.allocUnsafeSlow(8192),0,8192)),[o[a++],o[a++],o[a++],o[a++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),i=t?.byteLength??0,s=i,o=6;i>n?(o+=8,s=127):i>125&&(o+=2,s=126);let a=Buffer.allocUnsafe(i+o);a[0]=a[1]=0,a[0]|=128,a[0]=(240&a[0])+e,a[o-4]=r[0],a[o-3]=r[1],a[o-2]=r[2],a[o-1]=r[3],a[1]=s,126===s?a.writeUInt16BE(i,2):127===s&&(a[2]=a[3]=0,a.writeUIntBE(i,4,6)),a[1]|=128;for(let e=0;e<i;++e)a[o+e]=t[e]^r[3&e];return a}static createFastTextFrame(e){let t=l(),r=e.length;for(let i=0;i<r;++i)e[i]^=t[3&i];let i=r,o=6;r>n?(o+=8,i=127):r>125&&(o+=2,i=126);let a=Buffer.allocUnsafeSlow(o);return a[0]=128|s.TEXT,a[1]=128|i,a[o-4]=t[0],a[o-3]=t[1],a[o-2]=t[2],a[o-1]=t[3],126===i?a.writeUInt16BE(r,2):127===i&&(a[2]=a[3]=0,a.writeUIntBE(r,4,6)),[a,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:n}=r(8522),{isValidClientWindowBits:s}=r(3927),{MessageSizeExceededError:o}=r(8065),a=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tg=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tg=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=n;if(this.#T.serverMaxWindowBits){if(!s(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=i({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tg>0&&this.#td[l]>this.#tg){r(new o),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(a),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:i}=r(7075),n=r(4589),{parserStates:s,opcodes:o,states:a,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:g,utf8Decode:u,isControlFrame:h,isTextBinaryFrame:m,isContinuationFrame:p}=r(3927),{failWebsocketConnection:C}=r(5563),{WebsocketFrameSend:f}=r(4018),{PerMessageDeflate:I}=r(959),{MessageSizeExceededError:E}=r(8065);class y extends i{#tu=[];#th=0;#tm=0;#tp=!1;#eS=s.INFO;#tC={};#tf=[];#tI;#B;#tE;#tg;constructor(e,t,r={}){super(),this.#B=e,this.#tI=null==t?new Map:t,this.#tE=r.maxFragments??0,this.#tg=r.maxPayloadSize??0,this.#tI.has("permessage-deflate")&&this.#tI.set("permessage-deflate",new I(t,r))}_write(e,t,r){this.#tu.push(e),this.#tm+=e.length,this.#tp=!0,this.run(r)}#ty(){return!(this.#tg>0)||!!h(this.#tC.opcode)||!(this.#tC.payloadLength+this.#th>this.#tg)||(C(this.#B,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tp;)if(this.#eS===s.INFO){if(this.#tm<2)return e();let t=this.consume(2),r=(128&t[0])!=0,i=15&t[0],n=(128&t[1])==128,a=!r&&i!==o.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],g=16&t[0];if(!d(i))return C(this.#B,1002,"Invalid opcode received"),e();if(n)return C(this.#B,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#tI.has("permessage-deflate"))return void C(this.#B,1002,"Expected RSV1 to be clear.");if(0!==c||0!==g)return void C(this.#B,1002,"RSV1, RSV2, RSV3 must be clear");if(a&&!m(i))return void C(this.#B,1002,"Invalid frame type was fragmented.");if(m(i)&&this.#tf.length>0)return void C(this.#B,1002,"Expected continuation frame");if(this.#tC.fragmented&&a)return void C(this.#B,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||a)&&h(i))return void C(this.#B,1002,"Control frame either too large or fragmented");if(p(i)&&0===this.#tf.length&&!this.#tC.compressed)return void C(this.#B,1002,"Unexpected continuation frame");if(A<=125){if(this.#tC.payloadLength=A,this.#eS=s.READ_DATA,!this.#ty())return}else 126===A?this.#eS=s.PAYLOADLENGTH_16:127===A&&(this.#eS=s.PAYLOADLENGTH_64);m(i)&&(this.#tC.binaryType=i,this.#tC.compressed=0!==l),this.#tC.opcode=i,this.#tC.masked=n,this.#tC.fin=r,this.#tC.fragmented=a}else if(this.#eS===s.PAYLOADLENGTH_16){if(this.#tm<2)return e();let t=this.consume(2);if(this.#tC.payloadLength=t.readUInt16BE(0),this.#eS=s.READ_DATA,!this.#ty())return}else if(this.#eS===s.PAYLOADLENGTH_64){if(this.#tm<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),i=t.readUInt32BE(4);if(0!==r||i>0x80000000-1)return void C(this.#B,1009,"Received payload length > 2^31 bytes.");if(this.#tC.payloadLength=i,this.#eS=s.READ_DATA,!this.#ty())return}else if(this.#eS===s.READ_DATA){if(this.#tm<this.#tC.payloadLength)return e();let t=this.consume(this.#tC.payloadLength);if(h(this.#tC.opcode))this.#tp=this.parseControlFrame(t),this.#eS=s.INFO;else if(this.#tC.compressed){this.#tI.get("permessage-deflate").decompress(t,this.#tC.fin,(t,r)=>{if(t){let e=t instanceof E?1009:1007;C(this.#B,e,t.message);return}if(this.writeFragments(r)){if(this.#tg>0&&this.#th>this.#tg)return void C(this.#B,1009,new E().message);if(!this.#tC.fin){this.#eS=s.INFO,this.#tp=!0,this.run(e);return}g(this.#B,this.#tC.binaryType,this.consumeFragments()),this.#tp=!0,this.#eS=s.INFO,this.run(e)}},this.#th),this.#tp=!1;break}else{if(!this.writeFragments(t))return;!this.#tC.fragmented&&this.#tC.fin&&g(this.#B,this.#tC.binaryType,this.consumeFragments()),this.#eS=s.INFO}}}consume(e){if(e>this.#tm)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tm-=e;let t=this.#tu[0];if(t.length>e)return this.#tu[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tu.shift();let r=0,i=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tu[0],n=t.length;if(n+r===e){i.set(this.#tu.shift(),r);break}if(n+r>e){i.set(t.subarray(0,e-r),r),this.#tu[0]=t.subarray(e-r);break}i.set(this.#tu.shift(),r),r+=n}return i}}writeFragments(e){return this.#tE>0&&this.#tf.length===this.#tE?(C(this.#B,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tf.push(e),!0)}consumeFragments(){let e=this.#tf;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let i=0;i<e.length;++i){let n=e[i];r.set(n,t),t+=n.length}return this.#tf=[],this.#th=0,r}parseCloseBody(e){let t;if(n(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=u(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tC;if(t===o.CLOSE){if(1===r)return C(this.#B,1002,"Received close frame with a 1-byte body."),!1;if(this.#tC.closeInfo=this.parseCloseBody(e),this.#tC.closeInfo.error){let{code:e,reason:t}=this.#tC.closeInfo;return C(this.#B,e,t),!1}if(!this.#B.closeState.has(l.SENT)&&!this.#B.closeState.has(l.RECEIVED)){let e=A;this.#tC.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tC.closeInfo.code,0);let t=new f(e);this.#B.socket.write(t.createFrame(o.CLOSE)),this.#B.closeState.add(l.SENT)}return this.#B.readyState=a.CLOSING,this.#B.closeState.add(l.RECEIVED),!1}if(t===o.PING){if(!this.#B.closeState.has(l.RECEIVED)){let t=new f(e);this.#B.socket.write(t.createFrame(o.PONG)),this.#B.onPing(e)}}else t===o.PONG&&this.#B.onPong(e);return!0}get closingInfo(){return this.#tC.closeInfo}}e.exports={ByteParser:y}},2726(e,t,r){let{WebsocketFrameSend:i}=r(4018),{opcodes:n,sendHints:s}=r(7946),o=r(9006);class a{#tB=new o;#tQ=!1;#tN;constructor(e){this.#tN=e}add(e,t,r){if(r!==s.blob){if(this.#tQ){let i={promise:null,callback:t,frame:A(e,r)};this.#tB.push(i)}else if(r===s.text){let{0:r,1:n}=i.createFastTextFrame(e);this.#tN.cork(),this.#tN.write(r),this.#tN.write(n,t),this.#tN.uncork()}else this.#tN.write(A(e,r),t);return}let n={promise:e.arrayBuffer().then(e=>{n.promise=null,n.frame=A(e,r)}),callback:t,frame:null};this.#tB.push(n),this.#tQ||this.#tb()}async #tb(){this.#tQ=!0;let e=this.#tB;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tN.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new i(function(e,t){switch(t){case s.text:case s.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case s.arrayBuffer:case s.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===s.text?n.TEXT:n.BINARY)}e.exports={SendQueue:a}},7245(e,t,r){let{webidl:i}=r(849),{validateCloseCodeAndReason:n}=r(3927),{kConstruct:s}=r(3025),{kEnumerableProperty:o}=r(1210);function a(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let i=Reflect.construct(e,t,e);return Object.setPrototypeOf(i,r.prototype),i}})}class A extends a(){#tS;#I;constructor(e="",t){if(super(e=i.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===s)return;null!==t&&(t=i.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,o=t.reason??"";n(r,o),0!==o.length&&null===r&&(r=1e3),this.#tS=r,this.#I=o}get closeCode(){return this.#tS}get reason(){return this.#I}static createUnvalidatedWebSocketError(e,t,r){let i=new A(e,s);return i.#tS=t,i.#I=r,i}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:o,reason:o,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),i.is.WebSocketError=i.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:i}=r(8474),{environmentSettingsObject:n,readableStreamClose:s}=r(638),{states:o,opcodes:a,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:g,utf8Decode:u}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:m,closeWebSocketConnection:p}=r(5563),{channels:C}=r(6708),{WebsocketFrameSend:f}=r(4018),{ByteParser:I}=r(5346),{WebSocketError:E,createUnvalidatedWebSocketError:y}=r(7245),{kEnumerableProperty:B}=r(1210),{utf8DecodeBytes:Q}=r(2718),N=!1;class b{#e4;#tw;#tD;#tx;#tR;#tM;#tk=!1;#B={onConnectionEstablished:(e,t)=>this.#tv(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>m(this.#B,null,e.message),onParserDrain:()=>this.#B.socket.resume(),onSocketData:e=>{this.#tF.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=o.CLOSING,C.socketError.hasSubscribers&&C.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:o.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tF;constructor(e,t){N||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),N=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,n.settingsObject.baseUrl),s=t.protocols;if(s.length!==new Set(s.map(e=>e.toLowerCase())).size||s.length>0&&!s.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e4=r.toString(),this.#tw=Promise.withResolvers(),this.#tD=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tD.reject(e.reason);return}i(e,()=>{g(this.#B.readyState)||(m(this.#B),this.#B.readyState=o.CLOSING,this.#tw.reject(e.reason),this.#tD.reject(e.reason),this.#tk=!0)})}let a=n.settingsObject;this.#B.controller=h(r,s,a,this.#B,t)}get url(){return this.#e4.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tD.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;p(this.#B,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,i=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),i=a.BINARY;else{let n;try{n=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(n),i=a.TEXT}if(!this.#B.closeState.has(A.SENT)&&!this.#B.closeState.has(A.RECEIVED)){let e=new f(r);this.#B.socket.write(e.createFrame(i),()=>{t.resolve(void 0)})}return t.promise}#tv(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,n=new I(this.#B,t,{maxFragments:r,maxPayloadSize:i});n.on("drain",()=>this.#B.onParserDrain()),n.on("error",e=>this.#B.onParserError(e)),this.#tF=n,this.#B.readyState=o.OPEN;let s=t??"",a=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tO(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>p(this.#B,null,null),abort:e=>this.#tP(e)});this.#tx=A,this.#tM=l,this.#tw.resolve({extensions:s,protocol:a,readable:A,writable:l})}#tU(e,t){let r;if(this.#B.readyState===o.OPEN){if(e===a.TEXT)try{r=u(t)}catch{m(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===a.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#B.closeState.has(A.SENT)&&this.#B.closeState.has(A.RECEIVED);if(this.#B.readyState=o.CLOSED,this.#tk)return;this.#B.wasEverConnected||this.#tw.reject(new E("Socket never opened"));let t=this.#tF?.closingInfo,r=t?.code??1005;this.#B.closeState.has(A.SENT)||this.#B.closeState.has(A.RECEIVED)||(r=1006);let i=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)s(this.#tR),this.#tM.locked||this.#tM.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tD.resolve({closeCode:r,reason:i});else{let e=y("unclean close",r,i);this.#tR?.error(e),this.#tM?.abort(e),this.#tD.reject(e)}}#tP(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),p(this.#B,t,r)}#tO(e){this.#tP(e)}}Object.defineProperties(b.prototype,{url:B,opened:B,closed:B,close:B,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:b}},3927(e,t,r){let{states:i,opcodes:n}=r(7946),{isUtf8:s}=r(4573),{removeHTTPWhitespace:o}=r(3518),{collectASequenceOfCodePointsFast:a}=r(5358);function A(e){return e===n.CLOSE||e===n.PING||e===n.PONG}function l(e){return e===n.CONTINUATION}function c(e){return e===n.TEXT||e===n.BINARY}e.exports={isConnecting:function(e){return e===i.CONNECTING},isEstablished:function(e){return e===i.OPEN},isClosing:function(e){return e===i.CLOSING},isClosed:function(e){return e===i.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),i={}){let n=r(e,i);t.dispatchEvent(n)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(s(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[i,n=""]=a(";",e,t).split("=",2);r.set(o(i,!0,!1),o(n,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:i}=r(3429),{webidl:n}=r(849),{URLSerializer:s}=r(3518),{environmentSettingsObject:o}=r(638),{staticPropertyDescriptors:a,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:g,isEstablished:u,isClosing:h,isClosed:m,isValidSubprotocol:p,fireEvent:C,utf8Decode:f,toArrayBuffer:I,getURLRecord:E}=r(3927),{establishWebSocketConnection:y,closeWebSocketConnection:B,failWebsocketConnection:Q}=r(5563),{ByteParser:N}=r(5346),{kEnumerableProperty:b}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:D,createFastMessageEvent:x}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:M}=r(4018),{channels:k}=r(6708);class v extends EventTarget{#e3={open:null,error:null,close:null,message:null};#tH=0;#tY="";#tI="";#tG;#B={onConnectionEstablished:(e,t)=>this.#tv(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>Q(this.#B,null,e.message),onParserDrain:()=>this.#tz(),onSocketData:e=>{this.#tF.write(e)||this.#B.socket.pause()},onSocketError:e=>{this.#B.readyState=A.CLOSING,k.socketError.hasSubscribers&&k.socketError.publish(e),this.#B.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{k.ping.hasSubscribers&&k.ping.publish({payload:e,websocket:this})},onPong:e=>{k.pong.hasSubscribers&&k.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e4;#tq;#tF;constructor(e,t=[]){super(),n.util.markAsUncloneable(this);let r="WebSocket constructor";n.argumentLengthCheck(arguments,1,r);let i=n.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=n.converters.USVString(e),t=i.protocols;let s=E(e,o.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>p(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e4=new URL(s.href);let a=o.settingsObject;this.#B.controller=y(s,t,a,this.#B,i),this.#B.readyState=v.CONNECTING,this.#tq="blob"}close(e,t){n.brandCheck(this,v),void 0!==e&&(e=n.converters["unsigned short"](e,"WebSocket.close","code",n.attributes.Clamp)),void 0!==t&&(t=n.converters.USVString(t)),e??=null,t??="",B(this.#B,e,t,!0)}send(e){n.brandCheck(this,v);let t="WebSocket.send";if(n.argumentLengthCheck(arguments,1,t),e=n.converters.WebSocketSendData(e,t,"data"),g(this.#B.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!u(this.#B.readyState)||h(this.#B.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tH+=t.byteLength,this.#tG.add(t,()=>{this.#tH-=t.byteLength},c.text)}else i(e)?(this.#tH+=e.byteLength,this.#tG.add(e,()=>{this.#tH-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tH+=e.byteLength,this.#tG.add(e,()=>{this.#tH-=e.byteLength},c.typedArray)):n.is.Blob(e)&&(this.#tH+=e.size,this.#tG.add(e,()=>{this.#tH-=e.size},c.blob))}get readyState(){return n.brandCheck(this,v),this.#B.readyState}get bufferedAmount(){return n.brandCheck(this,v),this.#tH}get url(){return n.brandCheck(this,v),s(this.#e4)}get extensions(){return n.brandCheck(this,v),this.#tI}get protocol(){return n.brandCheck(this,v),this.#tY}get onopen(){return n.brandCheck(this,v),this.#e3.open}set onopen(e){n.brandCheck(this,v),this.#e3.open&&this.removeEventListener("open",this.#e3.open);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e3.open=e):this.#e3.open=null}get onerror(){return n.brandCheck(this,v),this.#e3.error}set onerror(e){n.brandCheck(this,v),this.#e3.error&&this.removeEventListener("error",this.#e3.error);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e3.error=e):this.#e3.error=null}get onclose(){return n.brandCheck(this,v),this.#e3.close}set onclose(e){n.brandCheck(this,v),this.#e3.close&&this.removeEventListener("close",this.#e3.close);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e3.close=e):this.#e3.close=null}get onmessage(){return n.brandCheck(this,v),this.#e3.message}set onmessage(e){n.brandCheck(this,v),this.#e3.message&&this.removeEventListener("message",this.#e3.message);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e3.message=e):this.#e3.message=null}get binaryType(){return n.brandCheck(this,v),this.#tq}set binaryType(e){n.brandCheck(this,v),"blob"!==e&&"arraybuffer"!==e?this.#tq="blob":this.#tq=e}#tv(e,t){this.#B.socket=e.socket;let r=this.#B.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#B.controller.dispatcher?.webSocketOptions?.maxPayloadSize,n=new N(this.#B,t,{maxFragments:r,maxPayloadSize:i});n.on("drain",()=>this.#B.onParserDrain()),n.on("error",e=>this.#B.onParserError(e)),this.#tF=n,this.#tG=new R(e.socket),this.#B.readyState=A.OPEN;let s=e.headersList.get("sec-websocket-extensions");null!==s&&(this.#tI=s);let o=e.headersList.get("sec-websocket-protocol");if(null!==o&&(this.#tY=o),C("open",this),k.open.hasSubscribers){var a;let t=e.headersList.entries;k.open.publish({address:(a=e.socket,"function"==typeof a?.address?a.address():"function"==typeof a?.session?.socket?.address?a.session.socket.address():null),protocol:this.#tY,extensions:this.#tI,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tU(e,t){let r;if(this.#B.readyState===A.OPEN){if(e===d.TEXT)try{r=f(t)}catch{Q(this.#B,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tq?new Blob([t]):I(t));C("message",this,x,{origin:this.#e4.origin,data:r})}}#tz(){this.#B.socket.resume()}#tT(){let e=this.#B.closeState.has(l.SENT)&&this.#B.closeState.has(l.RECEIVED),t=1005,r="",i=this.#tF?.closingInfo;i&&!i.error&&(t=i.code??1005,r=i.reason),this.#B.readyState=A.CLOSED,this.#B.closeState.has(l.RECEIVED)||(t=1006,C("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),C("close",this,(e,t)=>new D(e,t),{wasClean:e,code:t,reason:r}),k.close.hasSubscribers&&k.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#B.readyState;if(u(r)&&!h(r)&&!m(r)){let r=new M(t);e.#B.socket.write(r.createFrame(d.PING))}}}let{ping:U}=v;Reflect.deleteProperty(v,"ping"),v.CONNECTING=v.prototype.CONNECTING=A.CONNECTING,v.OPEN=v.prototype.OPEN=A.OPEN,v.CLOSING=v.prototype.CLOSING=A.CLOSING,v.CLOSED=v.prototype.CLOSED=A.CLOSED,Object.defineProperties(v.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(v,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),n.converters["sequence<DOMString>"]=n.sequenceConverter(n.converters.DOMString),n.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return n.util.Type(e)===n.util.Types.OBJECT&&Symbol.iterator in e?n.converters["sequence<DOMString>"](e):n.converters.DOMString(e,t,r)},n.converters.WebSocketInit=n.dictionaryConverter([{key:"protocols",converter:n.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:n.converters.any,defaultValue:()=>S()},{key:"headers",converter:n.nullableConverter(n.converters.HeadersInit)}]),n.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return n.util.Type(e)!==n.util.Types.OBJECT||Symbol.iterator in e?{protocols:n.converters["DOMString or sequence<DOMString>"](e)}:n.converters.WebSocketInit(e)},n.converters.WebSocketSendData=function(e){return n.util.Type(e)===n.util.Types.OBJECT&&(n.is.Blob(e)||n.is.BufferSource(e))?e:n.converters.USVString(e)},e.exports={WebSocket:v,ping:U}},6850(e,t,r){r.a(e,async function(e,i){try{var n=r(3157),s=r(6117),o=r(2484),a=r(6317),A=r(9172),l=r(2386),c=r(5336),d=r(702),g=r(6437),u=r(8444),h=r(8860),m=r(4679),p=r(6291);let e=(e=m.ix)=>d.JkU(function*(){yield*d.MDB("Running post-action script");let t=yield*o.q,r=yield*t.getOptional(p.LU.turboServerState,p.JU);if(g.isSome(r)){let{pid:t,port:i}=r.value;yield*d.MDB(`Stopping turbo cache server pid=${t} (log: ${(0,m.Lm)(i)})`),yield*d.OH5(()=>e(t))}let i=yield*t.getOptional(p.LU.cacheState,p.iF);g.isNone(i)?yield*d.MDB("No cache state from main; nothing to save"):i.value.restored?yield*d.fH4("Cache was an exact hit — skipping save"):yield*a.xP.groupStep("Cache save",(0,h.Io)())}).pipe(d.MfU(e=>d.FFw(`Post-action error: ${e instanceof Error?e.message:String(e)}`)),d.Fig(e=>d.FFw(`Post-action defect: ${e instanceof Error?e.message:String(e)}`))),C=e(),f=u.Um(A.b.pipe(u.Gt(n.MC)),l.A.pipe(u.Gt(s.q)));process.env.GITHUB_ACTIONS&&await c.r.run(C,{layer:f}),r.d(t,{},{$7:f,bE:C,hA:e}),i()}catch(e){i(e)}},1)},8860(e,t,r){r.d(t,{Io:()=>g}),r(7598),r(8161),r(6760);var i=r(6492),n=r(3343),s=r(2484),o=r(702),a=r(6437),A=r(5609);let l=A.QfV.check(A.tJb(1));A.X0d()("ConfigError",{reason:l,file:A.lqM(A.QfV),cause:A.lqM(A.$r1)}),A.X0d()("RuntimeInstallError",{runtime:l,version:l,reason:l,cause:A.lqM(A.$r1)}),A.X0d()("PackageManagerSetupError",{packageManager:l,version:l,reason:l,cause:A.lqM(A.$r1)}),A.X0d()("DependencyInstallError",{packageManager:l,reason:l,cause:A.lqM(A.$r1)});class c extends A.X0d()("CacheError",{operation:A.xCb(["save","restore","key-generation"]),reason:l,cause:A.lqM(A.$r1)}){get message(){return`Cache ${this.operation} failed: ${this.reason}`}}var d=r(6291);o.JkU(function*(){let e=yield*i.g,t=yield*e.getOptional("GITHUB_HEAD_REF");if(a.isSome(t)&&""!==t.value)return t.value;let r=yield*e.getOptional("GITHUB_REF");return a.isSome(r)&&r.value.startsWith("refs/heads/")?r.value.replace("refs/heads/",""):""});let g=()=>o.JkU(function*(){let e=yield*n.l,t=yield*s.q,r=yield*t.get(d.LU.cacheState,d.iF).pipe(o.xm_(e=>new c({operation:"save",reason:"Failed to read cache state",cause:e})));if(yield*o.Rm2(`Cache state from main: restored=${r.restored}, key=${r.key}, paths=${r.paths.length}`),r.restored)return void(yield*o.Rm2("Cache exact hit — skipping save"));let i=r.key,a=r.paths;0===a.length?yield*o.Rm2("No cache paths — skipping save"):(yield*o.Rm2(`Saving cache: key=${i}, paths (${a.length}): ${a.join(", ")}`),yield*e.save(a,i).pipe(o.xm_(e=>new c({operation:"save",reason:`Failed to save cache with key ${i}`,cause:e}))),yield*o.Rm2(`Cache saved successfully: key=${i}`))})},4679(e,t,r){r(1421),r(3024);var i=r(8161),n=r(6760);r.d(t,{},{Lm:e=>(0,n.join)((0,i.tmpdir)(),`turbogha-${e}.log`),ix:(e,t=process.kill)=>{if(!(e<=0))try{t(e,"SIGTERM")}catch{}}})},6291(e,t,r){var i=r(5609);class n extends i.Xsx("CacheState")({key:i.QfV,paths:i.O31(i.QfV),restored:i.v8c}){}class s extends i.Xsx("TurboServerState")({pid:i.wNn,port:i.wNn,backend:i.QfV}){}r.d(t,{JU:()=>s,iF:()=>n},{LU:{cacheState:"cache-state",turboServerState:"turbo-server-state"}})},2613(e){e.exports=c("assert")},4434(e){e.exports=c("events")},8611(e){e.exports=c("http")},5692(e){e.exports=c("https")},9278(e){e.exports=c("net")},4589(e){e.exports=c("node:assert")},6698(e){e.exports=c("node:async_hooks")},4573(e){e.exports=c("node:buffer")},1421(e){e.exports=c("node:child_process")},7540(e){e.exports=c("node:console")},7598(e){e.exports=c("node:crypto")},3053(e){e.exports=c("node:diagnostics_channel")},610(e){e.exports=c("node:dns")},8474(e){e.exports=c("node:events")},3024(e){e.exports=c("node:fs")},1455(e){e.exports=c("node:fs/promises")},7067(e){e.exports=c("node:http")},2467(e){e.exports=c("node:http2")},4708(e){e.exports=c("node:https")},7030(e){e.exports=c("node:net")},8161(e){e.exports=c("node:os")},6760(e){e.exports=c("node:path")},643(e){e.exports=c("node:perf_hooks")},1792(e){e.exports=c("node:querystring")},99(e){e.exports=c("node:sqlite")},7075(e){e.exports=c("node:stream")},7830(e){e.exports=c("node:stream/web")},7997(e){e.exports=c("node:timers")},1692(e){e.exports=c("node:tls")},3136(e){e.exports=c("node:url")},7975(e){e.exports=c("node:util")},3429(e){e.exports=c("node:util/types")},5919(e){e.exports=c("node:worker_threads")},8522(e){e.exports=c("node:zlib")},857(e){e.exports=c("os")},4756(e){e.exports=c("tls")},2018(e){e.exports=c("tty")},7016(e){e.exports=c("url")},9023(e){e.exports=c("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}},6117(e,t,r){let i,n,s,o,a,A,l,c,d,g,u,h,m,p,C,f,I,E,y,B,Q;r.d(t,{q:()=>ep});var N,b=r(8149),S=r(702),w=r(262),D=r(9920),x=r(8444),R=r(6437),M=r(9077),k=r(9444),v=r(1260),U=r(7598),F=r(3024),T=r(8161),L=r(6760);let O=(e,t)=>(r,[i])=>{let n="Unknown";switch(r.code){case"ENOENT":n="NotFound";break;case"EACCES":n="PermissionDenied";break;case"EEXIST":n="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":n="BadResource";break;case"EBUSY":n="Busy"}return M.Oj({_tag:n,module:e,method:t,pathOrDescriptor:i,syscall:r.syscall,cause:r})},P=e=>t=>M.T8({module:"FileSystem",method:e,description:t.message??String(t)}),H=(i=(0,S._r7)(F.access,O("FileSystem","access"),P("access")),(e,t)=>{let r=F.constants.F_OK;return t?.readable&&(r|=F.constants.R_OK),t?.writable&&(r|=F.constants.W_OK),i(e,r)}),Y=(n=(0,S._r7)(F.cp,O("FileSystem","copy"),P("copy")),(e,t,r)=>n(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),G=(s=(0,S._r7)(F.copyFile,O("FileSystem","copyFile"),P("copyFile")),(e,t)=>s(e,t)),z=(o=(0,S._r7)(F.chmod,O("FileSystem","chmod"),P("chmod")),(e,t)=>o(e,t)),q=(a=(0,S._r7)(F.chown,O("FileSystem","chown"),P("chown")),(e,t,r)=>a(e,t,r)),V=(A=(0,S._r7)(F.glob,O("FileSystem","glob"),P("glob")),(e,t)=>A(e,{cwd:t?.root,exclude:t?.exclude})),_=(l=(0,S._r7)(F.link,O("FileSystem","link"),P("link")),(e,t)=>l(e,t)),J=(c=(0,S._r7)(F.mkdir,O("FileSystem","makeDirectory"),P("makeDirectory")),(e,t)=>c(e,{recursive:t?.recursive??!1,mode:t?.mode})),W=e=>{let t=(0,S._r7)(F.mkdtemp,O("FileSystem",e),P(e));return e=>S.DYE(()=>{let r=e?.prefix??"",i="string"==typeof e?.directory?L.join(e.directory,"."):T.tmpdir();return t(r?L.join(i,r):i+"/")})},j=W("makeTempDirectory"),X=e=>{let t=(0,S._r7)(F.rm,O("FileSystem",e),P(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},K=X("remove"),Z=(d=W("makeTempDirectoryScoped"),g=X("makeTempDirectoryScoped"),e=>S.Q56(d(e),e=>S.QgK(g(e,{recursive:!0})))),$=(N="open",u=(0,S._r7)(F.open,O("FileSystem",N),P(N)),h=(0,S._r7)(F.close,O("FileSystem",N),P(N)),(e,t)=>(0,D.Fs)(S.Q56(u(e,t?.flag??"r",t?.mode),e=>S.QgK(h(e))),S.TjK(e=>ee(w.Um(e),t?.flag?.startsWith("a")??!1)))),ee=(()=>{let e=e=>(0,S._r7)(F.read,O("FileSystem",e),P(e)),t=e("read"),r=e("readAlloc"),i=(0,S._r7)(F.fstat,O("FileSystem","stat"),P("stat")),n=(0,S._r7)(F.ftruncate,O("FileSystem","truncate"),P("truncate")),s=(0,S._r7)(F.fsync,O("FileSystem","sync"),P("sync")),o=e=>(0,S._r7)(F.write,O("FileSystem",e),P(e)),a=o("write"),A=o("writeAll");class l{[w.eL];fd;append;position=BigInt(0);constructor(e,t){this[w.eL]=w.eL,this.fd=e,this.append=t}get stat(){return S.TjK(i(this.fd),el)}get sync(){return s(this.fd)}seek(e,t){let r=w.or(e);return S.OH5(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return S.DYE(()=>{let r=this.position;return S.TjK(t(this.fd,{buffer:e,position:r}),e=>{let t=w.or(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return S.DYE(()=>{let e=Buffer.allocUnsafeSlow(t),i=this.position;return S.TjK(r(this.fd,{buffer:e,position:i}),r=>{if(0===r)return R.none();if(this.position=i+BigInt(r),r===t)return R.some(e);let n=Buffer.allocUnsafeSlow(r);return e.copy(n,0,0,r),R.some(n)})})}truncate(e){return S.TjK(n(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return S.DYE(()=>{let t=this.position;return S.TjK(a(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=w.or(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return S.DYE(()=>{let t=this.position;return S.qIB(A(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?S.fJG(M.Oj({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):S.rIH))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new l(e,t)})(),et=e=>{let t=W(e);return S.D9k(function*(e){let r=yield*t(e),i=U.randomBytes(6).toString("hex"),n=L.join(r,e?.suffix?`${i}${e.suffix}`:i);return yield*eh(n,new Uint8Array(0)),n})},er=et("makeTempFile"),ei=(m=et("makeTempFileScoped"),p=X("makeTempFileScoped"),e=>S.Q56(m(e),e=>S.QgK(p(L.dirname(e),{recursive:!0})))),en=(e,t)=>S.$mh({try:()=>F.promises.readdir(e,t),catch:t=>O("FileSystem","readDirectory")(t,[e])}),es=e=>S.E2r((t,r)=>{try{F.readFile(e,{signal:r},(r,i)=>{r?t(S.fJG(O("FileSystem","readFile")(r,[e]))):t(S.PyW(i))})}catch(e){t(S.fJG(P("readFile")(e)))}}),eo=(C=(0,S._r7)(F.readlink,O("FileSystem","readLink"),P("readLink")),e=>C(e)),ea=(f=(0,S._r7)(F.realpath,O("FileSystem","realPath"),P("realPath")),e=>f(e)),eA=(I=(0,S._r7)(F.rename,O("FileSystem","rename"),P("rename")),(e,t)=>I(e,t)),el=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:R.fromNullishOr(e.mtime),atime:R.fromNullishOr(e.atime),birthtime:R.fromNullishOr(e.birthtime),dev:e.dev,rdev:R.fromNullishOr(e.rdev),ino:R.fromNullishOr(e.ino),mode:e.mode,nlink:R.fromNullishOr(e.nlink),uid:R.fromNullishOr(e.uid),gid:R.fromNullishOr(e.gid),size:w.or(e.size),blksize:void 0!==e.blksize?R.some(w.or(e.blksize)):R.none(),blocks:R.fromNullishOr(e.blocks)}),ec=(E=(0,S._r7)(F.stat,O("FileSystem","stat"),P("stat")),e=>S.TjK(E(e),el)),ed=(y=(0,S._r7)(F.symlink,O("FileSystem","symlink"),P("symlink")),(e,t)=>y(e,t)),eg=(B=(0,S._r7)(F.truncate,O("FileSystem","truncate"),P("truncate")),(e,t)=>B(e,void 0!==t?Number(t):void 0)),eu=(Q=(0,S._r7)(F.utimes,O("FileSystem","utime"),P("utime")),(e,t,r)=>Q(e,t,r)),eh=(e,t,r)=>S.E2r((i,n)=>{try{F.writeFile(e,t,{signal:n,flag:r?.flag,mode:r?.mode},t=>{t?i(S.fJG(O("FileSystem","writeFile")(t,[e]))):i(S.rIH)})}catch(e){i(S.fJG(P("writeFile")(e)))}}),em=S.TjK(S.Nav(w.kP),e=>w.L8({access:H,chmod:z,chown:q,copy:Y,copyFile:G,glob:V,link:_,makeDirectory:J,makeTempDirectory:j,makeTempDirectoryScoped:Z,makeTempFile:er,makeTempFileScoped:ei,open:$,readDirectory:en,readFile:es,readLink:eo,realPath:ea,remove:K,rename:eA,stat:ec,symlink:ed,truncate:eg,utimes:eu,watch:t=>ec(t).pipe(S.TjK(r=>e.pipe(R.flatMap(e=>e.register(t,r)),R.getOrElse(()=>v.E2r(e=>S.Q56(S.OH5(()=>{let r=F.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void S.MY7(S.tvg(ec(r),{onSuccess:t=>k.x(e,{_tag:"Create",path:r}),onFailure:t=>k.x(e,{_tag:"Remove",path:r})}));case"change":return void k.bQ(e,{_tag:"Update",path:r})}});return r.on("error",r=>{k._1(e,b.fJ(M.Oj({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{k.kx(e)}),r}),e=>S.OH5(()=>e.close())))))),v.oAg),writeFile:eh})),ep=x.QZ(w.Q2)(em)},3157(e,t,r){r.d(t,{MC:()=>z});var i=r(5419),n=r(702),s=r(8294),o=r(8444),a=r(6437),A=r(2544),l=r(7507),d=r(9002),g=r(3818),u=r(855),h=r(6338),m=r(2103),p=r(2479);r(7067),r(4708);var C=r(7075);c("node:stream/promises");var f=r(3207),I=r(8149),E=r(893),y=r(5536),B=r(8516),Q=r(7512),N=r(8579);let b="~effect/MutableRef",S={[b]:b,...N.fU,toJSON(){return{_id:"MutableRef",current:(0,s.aB)(this.current)}}};var w=r(1746),D=r(1260);let x=e=>D.EfB(R(e)),R=e=>E.Z1((t,r)=>M({scope:r,readable:e.evaluate(),onError:e.onError??v,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),M=e=>{var t;let r,i=e.readable,s=e.closeOnDone??!0,o=e.exit??(t=void 0,(r=Object.create(S)).current=t,r),a=Q.LZ(!1);function A(){a.openUnsafe()}function l(t){o.current=y.fJ(e.onError(t)),a.openUnsafe()}function c(){o.current=y.fJ(I.RS()),a.openUnsafe()}i.on("readable",A),i.once("error",l),i.once("end",c);let d=n.DYE(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return o.current?o.current:i.readableEnded?n.fJG(I.RS()):(a.closeUnsafe(),n.qIB(a.await,t));let s=f.of(r);for(;null!==(r=e.readable.read(e.chunkSize));)s.push(r);return n.PyW(s)});return n.as(w.U9(e.scope,n.OH5(()=>{i.off("readable",A),i.off("error",l),i.off("end",c),s&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()})),d)};class k extends C.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=Q.LZ(!1),this.fiber=D.hM$(t,e=>this.readLatch.whenOpen(n.OH5(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,n.PpN(e),n.MY7),this.fiber.addObserver(e=>{this.fiber=void 0,y.oJ(e)?this.push(null):this.destroy(I.iw(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);n.MY7(B.G(this.fiber)).addObserver(r=>{t("Failure"===r._tag?I.iw(r.cause):e)})}}let v=e=>new I.Bk(e);s.Xs,m.ii;var U=r(3006);class F extends i.kl()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let T=n.Q56(n.OH5(()=>new U.g6),e=>n.ivC(()=>e.destroy())),L=o.QZ(F)(T),O=i.Or("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),P=n.JkU(function*(){let e=yield*F;return g.L8((t,r,i,s)=>(function(e){switch(e._tag){case"Empty":return n.PyW(null);case"Uint8Array":case"Raw":return n.PyW(e.body);case"FormData":return n.PyW(e.formData);case"Stream":let t;return t=e.stream,n.TjK(n._OA(),e=>new k(e,t))}})(t.body).pipe(n.qIB(o=>n.$mh({try:()=>e.request({...s.getRef(O),signal:i,method:t.method,headers:t.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:o,headersTimeout:36e5,bodyTimeout:0}),catch:e=>new u.Kg({reason:new u.wX({request:t,cause:e})})})),n.TjK(e=>new Y(t,e))))});function H(e){}class Y extends s.Xs{[m.ii];[h.ii];request;source;constructor(e,t){super(),this[m.ii]=m.ii,this[h.ii]=h.ii,this.request=e,this.source=t,t.body.on("error",H)}get status(){return this.source.statusCode}get statusText(){}get headers(){return d.lX(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?l.p0(e):l.Ie}get remoteAddress(){return a.none()}get stream(){return x({evaluate:()=>this.source.body,onError:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})})}get json(){return n.qIB(this.text,e=>n.SvU({try:()=>""===e?null:JSON.parse(e),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=n.$mh({try:()=>this.source.body.text(),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}).pipe(n.PO3,n.HZF),this.arrayBufferBody=n.TjK(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return n.qIB(this.text,e=>n.SvU({try:()=>p.lX(new URLSearchParams(e)),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=n.$mh({try:()=>this.source.body.formData(),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}).pipe(n.PO3,n.HZF)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=n.$mh({try:()=>this.source.body.arrayBuffer(),catch:e=>new u.Kg({reason:new u.Xc({request:this.request,response:this,cause:e})})}).pipe(n.PO3,n.HZF),this.textBody=n.TjK(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return m.Nn(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return(0,A.tT)(this,arguments)}}let G=g.$T(P),z=o.Gt(G,L);h.ii},5336(e,t,r){r.d(t,{r:()=>eo});var i=r(9339),n=r(7969),s=r(1160),o=class extends s.rN("ActionEnvironmentError"){},a=r(5609);let A=a._kM({name:a.QfV,full_name:a.lqM(a.T9y(a.QfV)),owner:a._kM({login:a.QfV}),html_url:a.lqM(a.T9y(a.QfV))}),l=a._kM({number:a.wNn,html_url:a.lqM(a.T9y(a.QfV)),body:a.lqM(a.T9y(a.QfV))}),c=a._kM({repository:a.lqM(A),issue:a.lqM(l),pull_request:a.lqM(l),sender:a.lqM(a._kM({type:a.QfV})),action:a.lqM(a.QfV),comment:a.lqM(a._kM({id:a.wNn})),installation:a.lqM(a._kM({id:a.wNn})),number:a.lqM(a.wNn),ref:a.lqM(a.QfV),before:a.lqM(a.QfV),after:a.lqM(a.QfV)}).annotate({identifier:"WebhookPayload"});var d=r(6492),g=r(702),u=r(6437),h=r(262),m=r(8444);let p=e=>g.OH5(()=>process.env[e]).pipe(g.qIB(t=>void 0!==t&&""!==t?g.PyW(t):g.fJG(new o({variable:e,reason:`Environment variable "${e}" is not set`})))),C=g.Q7R(Object.fromEntries(Object.entries({sha:"GITHUB_SHA",ref:"GITHUB_REF",repository:"GITHUB_REPOSITORY",repositoryOwner:"GITHUB_REPOSITORY_OWNER",workspace:"GITHUB_WORKSPACE",eventName:"GITHUB_EVENT_NAME",eventPath:"GITHUB_EVENT_PATH",runId:"GITHUB_RUN_ID",runNumber:"GITHUB_RUN_NUMBER",actor:"GITHUB_ACTOR",serverUrl:"GITHUB_SERVER_URL",apiUrl:"GITHUB_API_URL",graphqlUrl:"GITHUB_GRAPHQL_URL",action:"GITHUB_ACTION",job:"GITHUB_JOB",workflow:"GITHUB_WORKFLOW"}).map(([e,t])=>[e,p(t)]))),f=g.Q7R({os:p("RUNNER_OS"),arch:p("RUNNER_ARCH"),name:p("RUNNER_NAME"),temp:p("RUNNER_TEMP"),toolCache:p("RUNNER_TOOL_CACHE"),debug:g.OH5(()=>"1"===process.env.RUNNER_DEBUG)}),I={},E=g.JkU(function*(){let e=yield*h.Q2,t=process.env.GITHUB_EVENT_PATH;if(void 0===t||""===t)return I;if(!(yield*e.exists(t).pipe(g.DM4(()=>!1))))return yield*g.MDB(`GITHUB_EVENT_PATH ${t} does not exist; using an empty payload`),I;let r=yield*e.readFileString(t).pipe(g.xm_(e=>new o({variable:"GITHUB_EVENT_PATH",reason:`Failed to read event payload file: ${e.message}`})));return yield*g.SvU({try:()=>JSON.parse(r),catch:e=>new o({variable:"GITHUB_EVENT_PATH",reason:`Failed to parse event payload JSON: ${e instanceof Error?e.message:String(e)}`})}).pipe(g.qIB(e=>a._Re(c,{onExcessProperty:"preserve"})(e).pipe(g.xm_(e=>new o({variable:"GITHUB_EVENT_PATH",reason:`Event payload did not match the expected shape: ${e.message}`})))))}),y=e=>{let t=process.env.GITHUB_REPOSITORY;if(void 0!==t&&""!==t){let[e,r]=t.split("/");if(void 0!==e&&void 0!==r)return g.PyW({owner:e,repo:r})}return void 0!==e.repository?g.PyW({owner:e.repository.owner.login,repo:e.repository.name}):g.fJG(new o({variable:"GITHUB_REPOSITORY",reason:"context.repo requires a GITHUB_REPOSITORY environment variable like 'owner/repo' or a repository in the event payload"}))},B=E.pipe(g.qIB(y)),Q=E.pipe(g.qIB(e=>y(e).pipe(g.qIB(t=>{let r=e.issue?.number??e.pull_request?.number??e.number;return void 0===r?g.fJG(new o({variable:"GITHUB_EVENT_PATH",reason:"context.issue requires an issue, pull_request, or top-level number in the event payload"})):g.PyW({...t,number:r})})))),N=m.Py(d.g,{get:e=>p(e),getOptional:e=>g.OH5(()=>process.env[e]).pipe(g.TjK(e=>void 0!==e&&""!==e?u.some(e):u.none())),github:C,runner:f,isDebug:g.OH5(()=>"1"===process.env.RUNNER_DEBUG),payload:E,repo:B,issue:Q});var b=r(5419),S=r(8210),w=r(5440),D=r(608);let x=b.Or("github-action-effects/ActionLoggerLive/ActiveBuffer",{defaultValue:()=>null}),R=e=>{if(0!==e.entries.length){for(let t of(process.stdout.write(`--- Buffered output for "${e.label}" --- -`),e.entries))process.stdout.write(`${t} -`);process.stdout.write(`--- End buffered output for "${e.label}" --- -`),e.entries.length=0}},M=m.Py(n.T,{group:(e,t)=>g.jGc(g.OH5(()=>(0,i.sn)("group",{},e)),()=>t.pipe(g.dGm(()=>g.JkU(function*(){let e=yield*x;null!==e&&R(e)}))),()=>g.OH5(()=>(0,i.sn)("endgroup",{},""))),withBuffer:(e,t)=>g.JkU(function*(){let r=yield*S.zQ,n="1"===process.env.RUNNER_DEBUG;if(w.bi(r,"Debug")||n)return yield*t;let s={label:e,entries:[]},o=D.L8(({logLevel:e,message:t})=>{let r,n="string"==typeof(r=Array.isArray(t)&&1===t.length?t[0]:t)?r:JSON.stringify(r);if(w.OW(e,"Warn")){let t=w.OW(e,"Error")?"error":"warning";(0,i.sn)(t,{},n)}else s.entries.push(n)});return yield*t.pipe(g.PfK(S.zQ,"All"),g.Gte(D.qd([o])),g.PfK(x,s),g.cfM(()=>g.OH5(()=>R(s))))}),notice:(e,t)=>g.OH5(()=>(0,i.lm)(t??{},e))});var k=class extends s.rN("ActionOutputError"){},v=r(9581),U=class extends b.kl()("github-action-effects/ActionOutputs"){},F=r(6760);let T=m.QZ(U,g.JkU(function*(){let e=yield*h.Q2,t=m.Py(h.Q2,e),r=(e,r,i)=>(0,v.B)(e,r,i).pipe(g.Gte(t));return{set:(e,t)=>r("GITHUB_OUTPUT",e,t).pipe(g.xm_(t=>new k({outputName:e,reason:t.message})),g.KuX("ActionOutputError",e=>g.F_Q(e))),setJson:(e,t,i)=>a.QsC(i)(t).pipe(g.qIB(t=>r("GITHUB_OUTPUT",e,JSON.stringify(t))),g.NLW,g.xm_(t=>new k({outputName:e,reason:"RuntimeEnvironmentError"===t._tag?t.message:`Output "${e}" validation failed: ${t.message}`}))),summary:t=>{let r=process.env.GITHUB_STEP_SUMMARY;return void 0===r?g.fJG(new k({outputName:"summary",reason:"Environment variable GITHUB_STEP_SUMMARY is not set"})):e.writeFileString(r,t,{flag:"a"}).pipe(g.NLW,g.xm_(e=>new k({outputName:"summary",reason:`Failed to write step summary: ${e.message}`})))},exportVariable:(e,t)=>r("GITHUB_ENV",e,t).pipe(g.Mim(()=>g.OH5(()=>process.env[e]=t)),g.QgK),addPath:t=>{let r=process.env.GITHUB_PATH;return void 0===r?g.OH5(()=>{process.env.PATH=`${t}${F.delimiter}${process.env.PATH??""}`}):e.writeFileString(r,`${t} -`,{flag:"a"}).pipe(g.Mim(()=>g.OH5(()=>{process.env.PATH=`${t}${F.delimiter}${process.env.PATH??""}`})),g.NLW,g.QgK)},setFailed:e=>g.OH5(()=>{(0,i.sn)("error",{},e),process.exitCode=1}),setSecret:e=>g.OH5(()=>{(0,i.sn)("add-mask",{},e)})}}));var L=r(2386),O=r(8579);function P(e){return{_tag:"Value",value:e}}let H=b.Or("effect/ConfigProvider",{defaultValue:()=>{let e,t,r;return e=(void 0)??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},t=false,r=function(e){let t={};for(let[r,i]of Object.entries(e)){if(void 0===i)continue;let e=r.split("_"),n=t;for(let t of e)n.children??={},n=n.children[t]??={}}return t}(e),z(i=>g.PyW(function(e,t,r,i){var n;let s=(n=t[r.map(String).join("_")],""!==n||i?n:void 0),o=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),a=o?.children?Object.keys(o.children):[];return 0===a.length?void 0===s?void 0:P(s):a.every(e=>q.test(e))?{_tag:"Array",length:Math.max(...a.map(e=>parseInt(e,10)))+1,value:s}:{_tag:"Record",keys:new Set(a),value:s}}(r,e,i,t)))}}),Y={...O.fU,toJSON:()=>({_id:"ConfigProvider"})},G=e=>e;function z(e){var t;let r,i;return r={_tag:"Source",get:e,transform:G},t=e=>r.get(r.transform(e)),(i=Object.create(Y)).state=r,i.load=t,i}let q=/^(0|[1-9][0-9]*)$/,V=z(e=>{let t=`INPUT_${e.join("_").replaceAll(" ","_").toUpperCase()}`,r=process.env[t];return void 0===r||""===r?g.PyW(void 0):g.PyW(P(r))});var _=r(8294);let J=D.L8(e=>{let t=(Array.isArray(e.message)?e.message:[e.message]).map(e=>_.ZK(e)).join(" "),r=e.logLevel,n=e.fiber.getRef(S.iL),s={};for(let e of["file","line","col"]){let t=n[e];void 0!==t&&(s[e]=String(t))}w.OW(r,"Error")?(0,i.sn)("error",s,t):w.OW(r,"Warn")?(0,i.sn)("warning",s,t):w.OW(r,"Info")?process.stdout.write(`${t} -`):(0,i.sn)("debug",s,t)});var W=r(6117),j=r(1260),X=r(9002),K=r(3818),Z=r(855),$=r(6338);let ee=b.Or("effect/http/FetchHttpClient/Fetch",{defaultValue:()=>globalThis.fetch});class et extends b.kl()("effect/http/FetchHttpClient/RequestInit"){}let er=K.L8((e,t,r,i)=>{let n=i.getRef(ee),s=i.context.mapUnsafe.get(et.key)??{},o=s.headers?X.h1(X.lX(s.headers),e.headers):e.headers;o["content-length"]&&(o=X.TF(o,"content-length"));let a=i=>g.TjK(g.$mh({try:()=>n(t,{...s,method:e.method,headers:o,body:i,duplex:"Stream"===e.body._tag?"half":void 0,signal:r}),catch:t=>new Z.Kg({reason:new Z.wX({request:e,cause:t})})}),t=>$.tO(e,t));switch(e.body._tag){case"Raw":case"Uint8Array":return a(e.body.body);case"FormData":return a(e.body.formData);case"Stream":return g.qIB(j.tiA(e.body.stream),a)}return a(void 0)}),ei=K.$T(g.PyW(er)),en={Default:m.Um(g.yw5(V)?m.QZ(H)(V):m.Py(H)(V),D.qd([J]),N,M,T,L.A,ei).pipe(m.S5(W.q))};a.xCb(["info","verbose","debug"]).annotate({identifier:"ActionLogLevel",title:"Action Log Level",description:"Logging verbosity for GitHub Action output"}),a.xCb(["info","verbose","debug","auto"]).annotate({identifier:"LogLevelInput",title:"Log Level Input",description:"Logging verbosity: info, verbose, debug, or auto",message:'log-level must be one of: "info", "verbose", "debug", "auto"'});var es=r(8149);let eo={run:(e,t)=>{let r=t?.layer?m.Um(en.Default,t.layer):en.Default,s=g.JkU(function*(){yield*(yield*n.T).withBuffer("action",e)}).pipe(g.Gte(r),g.Tyx(e=>{let t=eo.formatCause(e),r="";try{let t=es.iw(e);t instanceof Error&&t.stack&&(r=t.stack.split("\n").slice(1).join("\n"))}catch{}try{let t=es.j9(e);""!==t.trim()&&(0,i.sn)("debug",{},`Effect span trace: -${t}`)}catch{}let n=r?`Action failed: ${t} -${r}`:`Action failed: ${t}`;return g.OH5(()=>{(0,i.sn)("error",{},n),process.exitCode=1})}));return g.pR5(s).catch(()=>{process.exitCode=1})},resolveLogLevel:e=>"auto"!==e?e:"1"===process.env.RUNNER_DEBUG?"debug":"info",formatCause:e=>{try{let t=es.iw(e);if(null!=t&&"object"==typeof t&&"_tag"in t&&"string"==typeof t._tag){let e=t._tag,r=t.message||t.reason;return null!=r?`[${e}] ${String(r)}`:`[${e}]`}if(t instanceof Error)return`[Error] ${t.message}`;let r=JSON.stringify(t);if(r&&"{}"!==r)return`[UnknownError] ${r}`}catch{}try{let t=es.j9(e);if(""!==t.trim())return t}catch{}return"Unknown error (no diagnostic information available)"}}},9172(e,t,r){let i,n,s,o,a,A,l,d;r.d(t,{b:()=>gx});var g,u,h,m,p,C,f,I,E,y,B,Q,N,b,S,w,D,x,R,M,k,v,U,F,T,L,O,P,H,Y,G,z,q={};r.r(q),r.d(q,{AccessPolicy:()=>sj,AppendBlobAppendBlockExceptionHeaders:()=>Ae,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>Ar,AppendBlobAppendBlockFromUrlHeaders:()=>At,AppendBlobAppendBlockHeaders:()=>a7,AppendBlobCreateExceptionHeaders:()=>a6,AppendBlobCreateHeaders:()=>a9,AppendBlobSealExceptionHeaders:()=>An,AppendBlobSealHeaders:()=>Ai,ArrowConfiguration:()=>os,ArrowField:()=>oo,BlobAbortCopyFromURLExceptionHeaders:()=>ak,BlobAbortCopyFromURLHeaders:()=>aM,BlobAcquireLeaseExceptionHeaders:()=>ap,BlobAcquireLeaseHeaders:()=>am,BlobBreakLeaseExceptionHeaders:()=>aN,BlobBreakLeaseHeaders:()=>aQ,BlobChangeLeaseExceptionHeaders:()=>aB,BlobChangeLeaseHeaders:()=>ay,BlobCopyFromURLExceptionHeaders:()=>aR,BlobCopyFromURLHeaders:()=>ax,BlobCreateSnapshotExceptionHeaders:()=>aS,BlobCreateSnapshotHeaders:()=>ab,BlobDeleteExceptionHeaders:()=>ae,BlobDeleteHeaders:()=>o7,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>ac,BlobDeleteImmutabilityPolicyHeaders:()=>al,BlobDownloadExceptionHeaders:()=>o8,BlobDownloadHeaders:()=>o4,BlobFlatListSegment:()=>sK,BlobGetAccountInfoExceptionHeaders:()=>aT,BlobGetAccountInfoHeaders:()=>aF,BlobGetPropertiesExceptionHeaders:()=>o6,BlobGetPropertiesHeaders:()=>o9,BlobGetTagsExceptionHeaders:()=>aH,BlobGetTagsHeaders:()=>aP,BlobHierarchyListSegment:()=>s2,BlobItemInternal:()=>sZ,BlobName:()=>s$,BlobPrefix:()=>s5,BlobPropertiesInternal:()=>s0,BlobQueryExceptionHeaders:()=>aO,BlobQueryHeaders:()=>aL,BlobReleaseLeaseExceptionHeaders:()=>af,BlobReleaseLeaseHeaders:()=>aC,BlobRenewLeaseExceptionHeaders:()=>aE,BlobRenewLeaseHeaders:()=>aI,BlobServiceProperties:()=>sR,BlobServiceStatistics:()=>sL,BlobSetExpiryExceptionHeaders:()=>an,BlobSetExpiryHeaders:()=>ai,BlobSetHttpHeadersExceptionHeaders:()=>ao,BlobSetHttpHeadersHeaders:()=>as,BlobSetImmutabilityPolicyExceptionHeaders:()=>aA,BlobSetImmutabilityPolicyHeaders:()=>aa,BlobSetLegalHoldExceptionHeaders:()=>ag,BlobSetLegalHoldHeaders:()=>ad,BlobSetMetadataExceptionHeaders:()=>ah,BlobSetMetadataHeaders:()=>au,BlobSetTagsExceptionHeaders:()=>aG,BlobSetTagsHeaders:()=>aY,BlobSetTierExceptionHeaders:()=>aU,BlobSetTierHeaders:()=>av,BlobStartCopyFromURLExceptionHeaders:()=>aD,BlobStartCopyFromURLHeaders:()=>aw,BlobTag:()=>sJ,BlobTags:()=>s_,BlobUndeleteExceptionHeaders:()=>ar,BlobUndeleteHeaders:()=>at,Block:()=>s8,BlockBlobCommitBlockListExceptionHeaders:()=>Ah,BlockBlobCommitBlockListHeaders:()=>Au,BlockBlobGetBlockListExceptionHeaders:()=>Ap,BlockBlobGetBlockListHeaders:()=>Am,BlockBlobPutBlobFromUrlExceptionHeaders:()=>AA,BlockBlobPutBlobFromUrlHeaders:()=>Aa,BlockBlobStageBlockExceptionHeaders:()=>Ac,BlockBlobStageBlockFromURLExceptionHeaders:()=>Ag,BlockBlobStageBlockFromURLHeaders:()=>Ad,BlockBlobStageBlockHeaders:()=>Al,BlockBlobUploadExceptionHeaders:()=>Ao,BlockBlobUploadHeaders:()=>As,BlockList:()=>s4,BlockLookupList:()=>s3,ClearRange:()=>s7,ContainerAcquireLeaseExceptionHeaders:()=>oq,ContainerAcquireLeaseHeaders:()=>oz,ContainerBreakLeaseExceptionHeaders:()=>oX,ContainerBreakLeaseHeaders:()=>oj,ContainerChangeLeaseExceptionHeaders:()=>oZ,ContainerChangeLeaseHeaders:()=>oK,ContainerCreateExceptionHeaders:()=>oN,ContainerCreateHeaders:()=>oQ,ContainerDeleteExceptionHeaders:()=>oD,ContainerDeleteHeaders:()=>ow,ContainerFilterBlobsExceptionHeaders:()=>oG,ContainerFilterBlobsHeaders:()=>oY,ContainerGetAccessPolicyExceptionHeaders:()=>ok,ContainerGetAccessPolicyHeaders:()=>oM,ContainerGetAccountInfoExceptionHeaders:()=>o3,ContainerGetAccountInfoHeaders:()=>o5,ContainerGetPropertiesExceptionHeaders:()=>oS,ContainerGetPropertiesHeaders:()=>ob,ContainerItem:()=>sH,ContainerListBlobFlatSegmentExceptionHeaders:()=>o0,ContainerListBlobFlatSegmentHeaders:()=>o$,ContainerListBlobHierarchySegmentExceptionHeaders:()=>o2,ContainerListBlobHierarchySegmentHeaders:()=>o1,ContainerProperties:()=>sY,ContainerReleaseLeaseExceptionHeaders:()=>o_,ContainerReleaseLeaseHeaders:()=>oV,ContainerRenameExceptionHeaders:()=>oO,ContainerRenameHeaders:()=>oL,ContainerRenewLeaseExceptionHeaders:()=>oW,ContainerRenewLeaseHeaders:()=>oJ,ContainerRestoreExceptionHeaders:()=>oT,ContainerRestoreHeaders:()=>oF,ContainerSetAccessPolicyExceptionHeaders:()=>oU,ContainerSetAccessPolicyHeaders:()=>ov,ContainerSetMetadataExceptionHeaders:()=>oR,ContainerSetMetadataHeaders:()=>ox,ContainerSubmitBatchExceptionHeaders:()=>oH,ContainerSubmitBatchHeaders:()=>oP,CorsRule:()=>sU,DelimitedTextConfiguration:()=>oi,FilterBlobItem:()=>sV,FilterBlobSegment:()=>sq,GeoReplication:()=>sO,JsonTextConfiguration:()=>on,KeyInfo:()=>sG,ListBlobsFlatSegmentResponse:()=>sX,ListBlobsHierarchySegmentResponse:()=>s1,ListContainersSegmentResponse:()=>sP,Logging:()=>sM,Metrics:()=>sv,PageBlobClearPagesExceptionHeaders:()=>aW,PageBlobClearPagesHeaders:()=>aJ,PageBlobCopyIncrementalExceptionHeaders:()=>a8,PageBlobCopyIncrementalHeaders:()=>a4,PageBlobCreateExceptionHeaders:()=>aq,PageBlobCreateHeaders:()=>az,PageBlobGetPageRangesDiffExceptionHeaders:()=>a0,PageBlobGetPageRangesDiffHeaders:()=>a$,PageBlobGetPageRangesExceptionHeaders:()=>aZ,PageBlobGetPageRangesHeaders:()=>aK,PageBlobResizeExceptionHeaders:()=>a2,PageBlobResizeHeaders:()=>a1,PageBlobUpdateSequenceNumberExceptionHeaders:()=>a3,PageBlobUpdateSequenceNumberHeaders:()=>a5,PageBlobUploadPagesExceptionHeaders:()=>a_,PageBlobUploadPagesFromURLExceptionHeaders:()=>aX,PageBlobUploadPagesFromURLHeaders:()=>aj,PageBlobUploadPagesHeaders:()=>aV,PageList:()=>s9,PageRange:()=>s6,QueryFormat:()=>or,QueryRequest:()=>oe,QuerySerialization:()=>ot,RetentionPolicy:()=>sk,ServiceFilterBlobsExceptionHeaders:()=>oB,ServiceFilterBlobsHeaders:()=>oy,ServiceGetAccountInfoExceptionHeaders:()=>of,ServiceGetAccountInfoHeaders:()=>oC,ServiceGetPropertiesExceptionHeaders:()=>oc,ServiceGetPropertiesHeaders:()=>ol,ServiceGetStatisticsExceptionHeaders:()=>og,ServiceGetStatisticsHeaders:()=>od,ServiceGetUserDelegationKeyExceptionHeaders:()=>op,ServiceGetUserDelegationKeyHeaders:()=>om,ServiceListContainersSegmentExceptionHeaders:()=>oh,ServiceListContainersSegmentHeaders:()=>ou,ServiceSetPropertiesExceptionHeaders:()=>oA,ServiceSetPropertiesHeaders:()=>oa,ServiceSubmitBatchExceptionHeaders:()=>oE,ServiceSubmitBatchHeaders:()=>oI,SignedIdentifier:()=>sW,StaticWebsite:()=>sF,StorageError:()=>sT,UserDelegationKey:()=>sz});var V=r(1160),_=class extends V.rN("ActionCacheError"){},J=r(3343),W=r(6760),j=r(3024),X=r(8161);let K=e=>/[*?[]/.test(e),Z=e=>{let t=process.env.HOME||(0,X.homedir)();return e.startsWith("~/")?(0,W.join)(t,e.slice(2)):"~"===e?t:e};var $=r(702),ee=r(1036),et=r(5609),er=r(9981),ei=r(9858),en=r(2103);let es=Symbol.for("twirp/conflict"),eo=["HTTP 500","HTTP 502","HTTP 503","HTTP 504","ECONNRESET","ECONNREFUSED","ETIMEDOUT"];var ea=r(8444),eA=r(6437),el=r(3818),ec=r(1421),ed=r(7598);class eg extends Error{constructor(e){super(e),this.name="AbortError"}}var eu=r(7975);let eh=c("node:process");"string"==typeof eh.versions.deno&&eh.versions.deno.length,"string"==typeof eh.versions.bun&&eh.versions.bun.length;let em=eh.env.DEBUG,ep=[],eC=[],ef=[];em&&eE(em);let eI=Object.assign(e=>eQ(e),{enable:eE,enabled:ey,disable:function(){let e=i||"";return eE(""),e},log:function(e,...t){eh.stderr.write(`${eu.format(e,...t)}${X.EOL}`)}});function eE(e){for(let t of(i=e,ep=[],eC=[],e.split(",").map(e=>e.trim())))t.startsWith("-")?eC.push(t.substring(1)):ep.push(t);for(let e of ef)e.enabled=ey(e.namespace)}function ey(e){if(e.endsWith("*"))return!0;for(let t of eC)if(eB(e,t))return!1;for(let t of ep)if(eB(e,t))return!0;return!1}function eB(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,n=0,s=r.length,o=e.length,a=-1,A=-1;for(;i<o&&n<s;)if("*"===r[n]){if(a=n,++n===s)return!0;for(;e[i]!==r[n];)if(++i===o)return!1;A=i,i++,n++;continue}else if(r[n]===e[i])n++,i++;else{if(!(a>=0)||(n=a+1,(i=A+1)===o))return!1;for(;e[i]!==r[n];)if(++i===o)return!1;A=i,i++,n++;continue}let l=i===e.length,c=n===r.length,d=n===r.length-1&&"*"===r[n];return l&&(c||d)}function eQ(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:ey(e),destroy:eN,log:eI.log,namespace:e,extend:eb});return ef.push(t),t}function eN(){let e=ef.indexOf(this);return e>=0&&(ef.splice(e,1),!0)}function eb(e){let t=eQ(`${this.namespace}:${e}`);return t.log=this.log,t}let eS=["verbose","info","warning","error"],ew={verbose:400,info:300,warning:200,error:100};function eD(e,t){t.log=(...t)=>{e.log(...t)}}function ex(e){return eS.includes(e)}function eR(e){var t;let r,i=new Set,n=(t=e.logLevelEnvVarName,eh.env[t]),s=eI(e.namespace);function o(e){if(e&&!ex(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${eS.join(",")}`);r=e;let t=[];for(let e of i)a(e)&&t.push(e.namespace);eI.enable(t.join(","))}function a(e){return!!(r&&ew[e.level]<=ew[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(eD(e,r),a(r)){let e=eI.disable();eI.enable(e+","+r.namespace)}return i.add(r),r}return s.log=(...e)=>{eI.log(...e)},n&&(ex(n)?o(n):console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${eS.join(", ")}.`)),{setLogLevel:o,getLogLevel:function(){return r},createClientLogger:function(e){let t=s.extend(e);return eD(s,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:s}}let eM=eR({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function ek(e){return eM.createClientLogger(e)}function ev(e){return e.toLowerCase()}eM.logger;class eU{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(ev(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(ev(e))?.value}has(e){return this._headersMap.has(ev(e))}delete(e){this._headersMap.delete(ev(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function eF(e){return new eU(e)}function eT(){return globalThis.crypto.randomUUID()}class eL{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??eF(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||eT(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let eO=new Set(["Deserialize","Serialize","Retry","Sign"]);class eP{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!eO.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!eO.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new eP(this._policies)}static create(){return new eP}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),n=r("None"),s=r("Deserialize"),o=r("Retry"),a=r("Sign"),A=[i,n,s,o,a];function l(e){return"Retry"===e?o:"Serialize"===e?i:"Deserialize"===e?s:"Sign"===e?a:n}for(let e of this._policies){let r=e.policy,i=e.options,n=r.name;if(t.has(n))throw Error("Duplicate policy names not allowed in pipeline");let s={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(s.afterPhase=l(i.afterPhase),s.afterPhase.hasAfterPolicies=!0),t.set(n,s),l(i.phase).policies.add(s)}for(let e of this._policies){let{policy:r,options:i}=e,n=r.name,s=t.get(n);if(!s)throw Error(`Missing node for policy ${n}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(s.dependsOn.add(r),r.dependants.add(s))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(s),s.dependants.add(r))}}function c(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==n){n.hasRun||c(n);return}e.hasAfterPolicies&&c(n)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function eH(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function eY(e){if(eH(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let eG=eu.inspect.custom,ez="REDACTED",eq=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],eV=["api-version"];class e_{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=eq.concat(e),t=eV.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&eH(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&eH(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||eH(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,ez);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=ez;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=ez;return t}}let eJ=new e_;class eW extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,eG,{value:()=>`RestError: ${this.message} - ${eJ.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,eW.prototype)}}function ej(e){return e instanceof eW||eY(e)&&"RestError"===e.name}var eX=r(7067),eK=r(4708),eZ=r(8522),e$=r(7075);let e0=ek("ts-http-runtime"),e1={};function e2(e){return e&&"function"==typeof e.pipe}function e5(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function e3(e){return e&&"number"==typeof e.byteLength}class e4 extends e$.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class e8{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,n=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new eg("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&n.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new e_;e0.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),n.abort()},e.timeout));let s=e.headers.get("Accept-Encoding"),o=s?.includes("gzip")||s?.includes("deflate"),a="function"==typeof e.body?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(e2(e))return null;if(e3(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(a);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(a&&e.onUploadProgress){let t=e.onUploadProgress,r=new e4(t);r.on("error",e=>{e0.error("Error in upload progress",e)}),e2(a)?a.pipe(r):r.end(a),a=r}let t=await this.makeRequest(e,n,a);void 0!==r&&clearTimeout(r);let s=function(e){let t=eF();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),l={status:t.statusCode??0,headers:s,request:e};if("HEAD"===e.method)return t.resume(),l;i=o?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=eZ.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=eZ.createInflate();return e.pipe(t),t}return e}(t,s):t;let c=e.onDownloadProgress;if(c){let e=new e4(c);e.on("error",e=>{e0.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=i:l.bodyAsText=await (A=i,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new eW(`Error reading response as text: ${e.message}`,{code:eW.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();e2(a)&&(r=e5(a));let n=Promise.resolve();e2(i)&&(n=e5(i)),Promise.all([r,n]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{e0.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),n="https:"!==i.protocol;if(n&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let s={agent:e.agent??this.getOrCreateAgent(e,n),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,o)=>{let a=n?eX.request(s,i):eK.request(s,i);a.once("error",t=>{o(new eW(t.message,{code:t.code??eW.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new eg("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e),o(e)}),r&&e2(r)?r.pipe(a):r?"string"==typeof r||Buffer.isBuffer(r)?a.end(r):e3(r)?a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(e0.error("Unrecognized body type",r),o(new eW("Unrecognized body type"))):a.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?eX.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new eX.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return eK.globalAgent;let t=e.tlsSettings??e1,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(e0.info("No cached TLS Agent exist, creating a new Agent"),i=new eK.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let e9="Retry-After",e6=["retry-after-ms","x-ms-retry-after-ms",e9];function e7(e){if(e&&[429,503].includes(e.status))try{for(let t of e6){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===e9?1e3:1;return r*e}}let t=e.headers.get(e9);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let te=ek("ts-http-runtime retryPolicy");function tt(e,t){return Buffer.from(e,t)}async function tr(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:eF({"Content-Disposition":`form-data; name="${t}"`}),body:tt(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",n=eF();n.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),n.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:n,body:e})}t.multipartBody={parts:i}}var ti=r(6565),tn=r(7277);let ts=[],to=!1,ta=new Map;function tA(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function tl(){if(!process)return;let e=tA("HTTPS_PROXY"),t=tA("ALL_PROXY"),r=tA("HTTP_PROXY");return e||t||r}function tc(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function td(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&e0.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new tn.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new ti.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let tg="redirectPolicy",tu=["GET","HEAD"];async function th(e,t,r,i,n=0){let{request:s,status:o,headers:a}=t,A=a.get("location");if(A&&(300===o||301===o&&tu.includes(s.method)||302===o&&tu.includes(s.method)||303===o&&"POST"===s.method||307===o)&&n<r){let a=new URL(A,s.url);if(!i){let e=new URL(s.url);if(a.origin!==e.origin)return e0.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`),t}s.url=a.toString(),303===o&&(s.method="GET",s.headers.delete("Content-Length"),delete s.body),s.headers.delete("Authorization");let l=await e(s);return th(e,l,r,i,n+1)}return t}let tm=c("stream");function tp(e){return e instanceof Blob}async function*tC(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function tf(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=tC.bind(e)),e.values||(e.values=tC.bind(e)),tm.Readable.fromWeb(e)):e}function tI(e){return e instanceof Uint8Array?tm.Readable.from(Buffer.from(e)):tp(e)?tf(e.stream()):tf(e)}async function tE(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(tI);return tm.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function ty(e,t,r){let i=[tt(`--${r}`,"utf-8"),...t.flatMap(e=>[tt("\r\n","utf-8"),tt(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r -`;return t}(e.headers),"utf-8"),tt("\r\n","utf-8"),e.body,tt(`\r ---${r}`,"utf-8")]),tt("--\r\n\r\n","utf-8")],n=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:tp(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);n&&e.headers.set("Content-Length",n),e.body=await tE(i)}let tB="multipartPolicy",tQ=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),tN=eR({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function tb(e){return tN.createClientLogger(e)}tN.logger;let tS=tb("core-rest-pipeline"),tw="decompressResponsePolicy";async function tD(e){if(eh&&eh.versions){let t=`${X.type()} ${X.release()}; ${X.arch()}`;eh.versions.bun?e.set("Bun",`${eh.versions.bun} (${t})`):eh.versions.deno?e.set("Deno",`${eh.versions.deno} (${t})`):eh.versions.node&&e.set("Node",`${eh.versions.node} (${t})`)}}async function tx(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await tD(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let tR="User-Agent",tM=Symbol("rawContent");function tk(e){return"function"==typeof e[tM]}class tv extends Error{constructor(e){super(e),this.name="AbortError"}}function tU(e,t){let r,{abortSignal:i,abortErrorMsg:n}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:n}=t??{};return new Promise((t,s)=>{function o(){s(new tv(n??"The operation was aborted."))}function a(){i?.removeEventListener("abort",A)}function A(){r?.(),a(),o()}if(i?.aborted)return o();try{e(e=>{a(),t(e)},e=>{a(),s(e)})}catch(e){s(e)}i?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:n??"The delay was aborted."})}function tF(e){if(eY(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function tT(e){var t=e;if(!t&&!(t=tl()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let tL={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class tO{_contextMap;constructor(e){this._contextMap=e instanceof tO?new Map(e._contextMap):new Map}setValue(e,t){let r=new tO(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new tO(this);return t._contextMap.delete(e),t}}let tP=r(7301).w;function tH(){return tP.instrumenterImplementation||(tP.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new tO(e.parentContext);return e.span&&(t=t.setValue(tL.span,e.span)),e.namespace&&(t=t.setValue(tL.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),tP.instrumenterImplementation}function tY(e){let{namespace:t,packageName:r,packageVersion:i}=e;function n(e,n,s){let o=tH().startSpan(e,{...s,packageName:r,packageVersion:i,tracingContext:n?.tracingOptions?.tracingContext}),a=o.tracingContext,A=o.span;return a.getValue(tL.namespace)||(a=a.setValue(tL.namespace,t)),A.setAttribute("az.namespace",a.getValue(tL.namespace)),{span:A,updatedOptions:Object.assign({},n,{tracingOptions:{...n?.tracingOptions,tracingContext:a}})}}async function s(e,t,r,i){let{span:s,updatedOptions:a}=n(e,t,i);try{let e=await o(a.tracingOptions.tracingContext,()=>r(a,s));return s.setStatus({status:"success"}),e}catch(e){throw s.setStatus({status:"error",error:e}),e}finally{s.end()}}function o(e,t,...r){return tH().withContext(e,t,...r)}return{startSpan:n,withSpan:s,withContext:o,parseTraceparentHeader:function(e){return tH().parseTraceparentHeader(e)},createRequestHeaders:function(e){return tH().createRequestHeaders(e)}}}function tG(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",n),r=!1)}function n(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",n),{abortSignal:t.signal,cleanup:i}}function tz(){let e=new e8;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?tG(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}tb("core-rest-pipeline retryPolicy");let tq={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function tV(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let n=await i();for(;null===n;)await tU(t),n=await i();return n}async function t_(e,t){try{return[await t(e),void 0]}catch(e){if(ej(e)&&e.response)return[e.response,e];throw e}}async function tJ(e){let{scopes:t,getAccessToken:r,request:i}=e,n={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},s=await r(t,n);s&&e.request.headers.set("Authorization",`Bearer ${s.token}`)}function tW(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function tj(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function tX(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,n=e.logger||tS,s={authorizeRequest:i?.authorizeRequest?.bind(i)??tJ,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},o=t?function(e){let t,r=null,i=null,n={...tq,...void 0},s={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(s.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-n.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-n.forcedRefreshWindowInMs<Date.now()}};function o(o,a){return s.isRefreshing||(r=tV(()=>e.getToken(o,a),n.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=a.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let n=!!r.claims,a=t!==r.tenantId;return(n&&(i=null),a||n||s.mustRefresh)?o(e,r):(s.shouldRefresh&&o(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,a;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await s.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:n}),[i,a]=await t_(e,t),tW(i)){let A=tK(i.headers.get("WWW-Authenticate"));if(A){let s;try{s=atob(A)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await tj({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:n},s)&&([i,a]=await t_(e,t))}else if(s.authorizeRequestOnChallenge&&(await s.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:o,logger:n})&&([i,a]=await t_(e,t)),tW(i))&&(A=tK(i.headers.get("WWW-Authenticate")??""))){let s;try{s=atob(A)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await tj({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:n},s)&&([i,a]=await t_(e,t))}}if(!a)return i;throw a}}}function tK(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,n=[];for(;null!==(t=r.exec(e));){let e,r=t[1],s=t[2],o={};for(;null!==(e=i.exec(s));)o[e[1]]=e[2];n.push({scheme:r,params:o})}return n}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function tZ(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let t$="DisableKeepAlivePolicy";function t0(e){return Buffer.from(e).toString("base64")}function t1(e){return tt(e,"base64")}let t2=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,t5=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function t3(e,t){var r,i;let n,s=e.parsedHeaders;if("HEAD"===e.request.method)return{...s,body:e.parsedBody};let o=t&&t.bodyMapper,a=!!o?.nullable,A=o?.type.name;if("Stream"===A)return{...s,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&o.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(s)for(let e of Object.keys(s))t[e]=s[e];return!a||e.parsedBody||s||0!==Object.getOwnPropertyNames(l).length?t:null}return n={...(i={body:e.parsedBody,headers:s,hasNullableType:a,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(n).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:n}class t4{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:n,InclusiveMaximum:s,InclusiveMinimum:o,MaxItems:a,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:g,UniqueItems:u}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==n&&t<=n&&i("ExclusiveMinimum",n),void 0!==s&&t>s&&i("InclusiveMaximum",s),void 0!==o&&t<o&&i("InclusiveMinimum",o),void 0!==a&&t.length>a&&i("MaxItems",a),void 0!==A&&t.length>A&&i("MaxLength",A),void 0!==l&&t.length<l&&i("MinItems",l),void 0!==c&&t.length<c&&i("MinLength",c),void 0!==d&&t%d!=0&&i("MultipleOf",d),g){let e="string"==typeof g?new RegExp(g):g;("string"!=typeof t||null===t.match(e))&&i("Pattern",g)}u&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",u)}}serialize(e,t,r,i={xml:{}}){let n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},s={},o=e.type.name;r||(r=e.serializedName),null!==o.match(/^Sequence$/i)&&(s=[]),e.isConstant&&(t=e.defaultValue);let{required:a,nullable:A}=e;if(a&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(a&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!a&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==o.match(/^any$/i)?s=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?s=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&t5.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(o,r,t):null!==o.match(/^Enum$/i)?s=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?s=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!t2.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(o,t,r):null!==o.match(/^ByteArray$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=t0(t)}return t}(r,t):null!==o.match(/^Base64Url$/i)?s=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(t0(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==o.match(/^Sequence$/i)?s=function(e,t,r,i,n,s){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let o=t.type.element;if(!o||"object"!=typeof o)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===o.type.name&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let a=[];for(let t=0;t<r.length;t++){let A=e.serialize(o,r[t],i,s);if(n&&o.xmlNamespace){let e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";"Composite"===o.type.name?a[t]={...A}:(a[t]={},a[t][s.xml.xmlCharKey]=A),a[t].$={[e]:o.xmlNamespace}}else a[t]=A}return a}(this,e,t,r,!!this.isXML,n):null!==o.match(/^Dictionary$/i)?s=function(e,t,r,i,n,s){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let o=t.type.value;if(!o||"object"!=typeof o)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let a={};for(let t of Object.keys(r)){let A=e.serialize(o,r[t],i,s);a[t]=re(o,A,n,s)}return n&&t.xmlNamespace?(a.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},a):a}(this,e,t,r,!!this.isXML,n):null!==o.match(/^Composite$/i)&&(s=function(e,t,r,i,n,s){if(rr(e,t)&&(t=rt(e,t,r,"clientName")),null!=r){let o={},a=t7(e,t,i);for(let A of Object.keys(a)){let l,c=a[A];if(c.readOnly)continue;let d=o;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=t9(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(n&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let o=""!==c.serializedName?i+"."+c.serializedName:i,a=r[A],g=rr(e,t);g&&g.clientName===A&&null==a&&(a=t.serializedName);let u=e.serialize(c,a,o,s);if(void 0!==u&&null!=l){let e=re(c,u,n,s);n&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=u):n&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=t6(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(A){let t=Object.keys(a);for(let n of Object.keys(r))t.every(e=>e!==n)&&Object.defineProperty(o,n,{value:e.serialize(A,r[n],i+'["'+n+'"]',s),enumerable:!0,configurable:!0,writable:!0})}return o}return r}(this,e,t,r,!!this.isXML,n)),s}deserialize(e,t,r,i={xml:{}}){let n,s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let o=e.type.name;if(r||(r=e.serializedName),null!==o.match(/^Composite$/i))n=function(e,t,r,i,n){let s=n.xml.xmlCharKey??"_";rr(e,t)&&(t=rt(e,t,r,"serializedName"));let o=t7(e,t,i),a={},A=[];for(let l of Object.keys(o)){let c=o[l],d=t9(o[l].serializedName);A.push(d[0]);let{serializedName:g,xmlName:u,xmlElementName:h}=c,m=i;""!==g&&void 0!==g&&(m=i+"."+g);let p=c.headerCollectionPrefix;if(p){let t={};for(let i of Object.keys(r))i.startsWith(p)&&(t[i.substring(p.length)]=e.deserialize(c.type.value,r[i],m,n)),A.push(i);a[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)a[l]=e.deserialize(c,r.$[u],m,n);else if(c.xmlIsMsText)void 0!==r[s]?a[l]=r[s]:"string"==typeof r&&(a[l]=r);else{let t=h||u||g;if(c.xmlIsWrapped){let t=r[u],i=t?.[h]??[];Object.defineProperty(a,l,{value:e.deserialize(c,i,m,n),enumerable:!0,configurable:!0,writable:!0}),A.push(u)}else{let i=r[t];a[l]=e.deserialize(c,i,m,n),A.push(t)}}else{let i,s,A=r,g=0;for(let e of d){if(!A)break;g++,A=A[e]}null===A&&g<d.length&&(A=void 0),i=A;let u=t.type.polymorphicDiscriminator;if(u&&l===u.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[l])&&""===o[l].serializedName){i=r[l];let t=e.deserialize(c,i,m,n);for(let[e,r]of Object.entries(a))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);a=t}else(void 0!==i||void 0!==c.defaultValue)&&(s=e.deserialize(c,i,m,n),a[l]=s)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(o))if(t9(o[t].serializedName)[0]===e)return!1;return!0};for(let s of Object.keys(r))if(t(s)){let t=e.deserialize(l,r[s],i+'["'+s+'"]',n);Object.defineProperty(a,s,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!n.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==a[e]||A.includes(e)||["$",n.xml.xmlCharKey].includes(e)||Object.defineProperty(a,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return a}(this,e,t,r,s);else{if(this.isXML){let e=s.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==o.match(/^Number$/i)?isNaN(n=parseFloat(t))&&(n=t):null!==o.match(/^Boolean$/i)?n="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?n=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?n=new Date(t):null!==o.match(/^UnixTime$/i)?n=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/i)?n=t1(t):null!==o.match(/^Base64Url$/i)?n=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return t1(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==o.match(/^Sequence$/i)?n=function(e,t,r,i,n){let s=t.type.element;if(!s||"object"!=typeof s)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===s.type.name&&s.type.className&&(s=e.modelMappers[s.type.className]??s);let t=[];for(let o=0;o<r.length;o++)t[o]=e.deserialize(s,r[o],`${i}[${o}]`,n);return t}return r}(this,e,t,r,s):null!==o.match(/^Dictionary$/i)&&(n=function(e,t,r,i,n){let s=t.type.value;if(!s||"object"!=typeof s)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let o of Object.keys(r))t[o]=e.deserialize(s,r[o],i,n);return t}return r}(this,e,t,r,s))}return e.isConstant&&(n=e.defaultValue),n}}function t8(e={},t=!1){return new t4(e,t)}function t9(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function t6(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function t7(e,t,r){let i=t.type.modelProperties;if(!i){let n=t6(e,t,r);if(!n)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=n?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(n)}" of type "${t.type.className}" for object "${r}".`)}return i}function re(e,t,r,i){if(!r||!e.xmlNamespace)return t;let n={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=n,e}let s={};return s[i.xml.xmlCharKey]=t,s.$=n,s}function rt(e,t,r,i){let n=rr(e,t);if(n){let s=n[i];if(s){"serializedName"===i&&(s=s.replace(/\\/gi,""));let n=r[s],o=t.type.uberParent??t.type.className;if("string"==typeof n&&o){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),n=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,n))return e[n];for(let[t,n]of Object.entries(e))t.startsWith(r+".")&&n.type.uberParent===r&&n.type.className&&i.push(n.type.className)}}(e.modelMappers.discriminators,n,o);r&&(t=r)}}}return t}function rr(e,t){return t.type.polymorphicDiscriminator||ri(e,t.type.uberParent)||ri(e,t.type.className)}function ri(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let rn="Sequence",rs="Stream",ro=r(5997).w;function ra(e,t,r){let i,n=t.parameterPath,s=t.mapper;if("string"==typeof n&&(n=[n]),Array.isArray(n)){if(n.length>0)if(s.isConstant)i=s.defaultValue;else{let t=rA(e,n);!t.propertyFound&&r&&(t=rA(r,n));let o=!1;t.propertyFound||(o=s.required||"options"===n[0]&&2===n.length),i=o?s.defaultValue:t.propertyValue}}else for(let[t,o]of(s.required&&(i={}),Object.entries(n))){let n=ra(e,{parameterPath:o,mapper:s.type.modelProperties[t]},r);void 0!==n&&(i||(i={}),Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}))}return i}function rA(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let rl=Symbol.for("@azure/core-client original request");function rc(e){if(rl in e)return rc(e[rl]);let t=ro.operationRequestMap.get(e);return t||(t={},ro.operationRequestMap.set(e,t)),t}let rd=["application/json","text/json"],rg=["application/xml","application/atom+xml"];async function ru(e,t,r,i,n){let s,o,a,A,l,c=await rh(e,t,r,i,n);if(s=rc(c.request),!(void 0===(o=s?.shouldDeserialize)||("boolean"==typeof o?o:o(c))))return c;let d=rc(c.request),g=d?.operationSpec;if(!g||!g.responses)return c;let u=(A=rc(c.request),(l=A?.operationSpec)&&(a=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),a),{error:h,shouldReturnResponse:m}=function(e,t,r,i){let n,s=200<=e.status&&e.status<300;if(0===(n=Object.keys(t.responses)).length||1===n.length&&"default"===n[0]?s:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let o=r??t.responses.default,a=new eW(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw a;let A=o?.bodyMapper,l=o?.headersMapper;try{if(e.parsedBody){let r,n=e.parsedBody;if(A){let e=n;if(t.isXML&&A.type.name===rn){e=[];let t=A.xmlElementName;"object"==typeof n&&t&&(e=n[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",i)}let s=n.error||r||n;a.code=s.code,s.message&&(a.message=s.message),A&&(a.response.parsedBody=r)}e.headers&&l&&(a.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){a.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:a,shouldReturnResponse:!1}}(c,g,u,i);if(h)throw h;if(m)return c;if(u){if(u.bodyMapper){let e=c.parsedBody;g.isXML&&u.bodyMapper.type.name===rn&&(e="object"==typeof e?e[u.bodyMapper.xmlElementName]:[]);try{c.parsedBody=g.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new eW(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===g.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);u.headersMapper&&(c.parsedHeaders=g.serializer.deserialize(u.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function rh(e,t,r,i,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let s=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(e=>e.toLowerCase()):[];try{if(0===a.length||a.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(s);else if(a.some(e=>-1!==t.indexOf(e))){if(!n)throw Error("Parsing XML not supported.");r.parsedBody=await n(s,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||eW.PARSE_ERROR;throw new eW(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function rm(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function rp(e={}){var t,r,i,n,s;let o,a,A,l,c,d,g=(t=e??{},a=eP.create(),t.agent&&a.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&a.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),a.addPolicy((n=t.proxyOptions,s=void 0,to||ts.push(...(A=tA("NO_PROXY"),(to=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=n?tc(n):(l=tl())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let n=!1;for(let e of t)"."===e[0]?i.endsWith(e)?n=!0:i.length===e.length-1&&i===e.slice(1)&&(n=!0):i===e&&(n=!0);return r?.set(i,n),n}(e.url,s?.customNoProxyList??ts,s?.customNoProxyList?void 0:ta)?td(e,d,c):e.proxySettings&&td(e,d,tc(e.proxySettings)),t(e))})),a.addPolicy({name:tw,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),a.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=tG(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),a.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await tr(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[tB]}),a.addPolicy(function(e={}){let t=tx(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(tR)||e.headers.set(tR,await t),r(e))}}(t.userAgentOptions)),a.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),a.addPolicy((o={name:tB,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",n=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,s,o]=n;if(o&&r&&o!==r)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);if(r??=o){var a=r;if(a.length>70)throw Error(`Multipart boundary "${a}" exceeds maximum length of 70 characters`);if(Array.from(a).some(e=>!tQ.has(e)))throw Error(`Multipart boundary "${a}" contains invalid characters`)}else r=`----AzSDKFormBoundary${eT()}`;return e.headers.set("Content-Type",`${s}; boundary=${r}`),await ty(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:tB,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;tk(t.body)&&(t.body=tk(r=t.body)?r[tM]():r)}return o.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),a.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||te;return{name:"retryPolicy",async sendRequest(i,n){let s,o,a=-1;e:for(;;){a+=1,s=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,i.requestId),s=await n(i),r.info(`Retry ${a}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${a}: Received an error from request`,i.requestId),!ej(e))throw e;o=e,s=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new eg;if(a>=(t.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(s)return s;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${a}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);let n=t.retry({retryCount:a,response:s,responseError:o});if(n.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=n;if(A)throw e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((i,n)=>{let s,o,a=()=>n(new eg(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(s&&clearTimeout(s),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();s=setTimeout(()=>{A(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}(l,void 0,{abortSignal:i.abortSignal});continue e}if(c){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${c}`),i.url=c;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(s)return r.info("None of the retry strategies could work with the received response. Returning it."),s}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=e7(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:n,responseError:s}){var o,a,A,l,c;let d,g,u=!!(l=s)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=u&&e.ignoreSystemErrors,m=!!((c=n)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),p=m&&e.ignoreHttpStatusCodes;return n&&(Number.isFinite(e7(n))||!m)||p||h?{skipStrategy:!0}:!s||u||m?(d=(o={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(g=Math.min(o.maxRetryDelayInMs,d))/2+(a=0,A=g/2,a=Math.ceil(a),Math.floor(Math.random()*((A=Math.floor(A))-a+1))+a)}):{errorToThrow:s}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),a.addPolicy(function(e={}){let t=tx(e.userAgentPrefix),r=new e_({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return tY({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){tS.warning(`Error when creating the TracingClient: ${tF(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,n){if(!i)return n(e);let s=await t,o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":s,requestId:e.requestId};s&&(o["http.user_agent"]=s);let{span:a,tracingContext:A}=function(e,t,r){try{let{span:i,updatedOptions:n}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let s=e.createRequestHeaders(n.tracingOptions.tracingContext);for(let[e,r]of Object.entries(s))t.headers.set(e,r);return{span:i,tracingContext:n.tracingOptions.tracingContext}}catch(e){tS.warning(`Skipping creating a tracing span due to an error: ${tF(e)}`);return}}(i,e,o)??{};if(!a||!A)return n(e);try{let t=await i.withContext(A,n,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){tS.warning(`Skipping tracing span processing due to an error: ${tF(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:eY(t)?t:void 0}),ej(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){tS.warning(`Skipping tracing span processing due to an error: ${tF(e)}`)}}(a,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:tg,async sendRequest(e,i){let n=await i(e);return th(i,n,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let t=e.logger??e0.info,r=new e_({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let n=await i(e);return t(`Response status code: ${n.status}`),t(`Headers: ${r.sanitize({headers:n.headers})}`),n}}}({logger:tS.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),a);return e.credentialOptions&&g.addPolicy(tX({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),g.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=rc(e),n=i?.operationSpec,s=i?.operationArguments;return n&&s&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let n=ra(t,i);if(null!=n||i.mapper.required){n=r.serializer.serialize(i.mapper,n,rm(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(n))e.headers.set(t+r,n[r]);else e.headers.set(i.mapper.serializedName||rm(i),n)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,s,n),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let n=t.options?.serializerOptions,s={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},o=s.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=ra(t,r.requestBody);let n=r.requestBody.mapper,{required:a,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:g,nullable:u}=n,h=n.type.name;try{if(void 0!==e.body&&null!==e.body||u&&null===e.body||a){let t=rm(r.requestBody);e.body=r.serializer.serialize(n,e.body,t,s);let a=h===rs;if(r.isXML){let t=g?`xmlns:${g}`:"xmlns",r=function(e,t,r,i,n){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[n.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(d,t,h,e.body,s);h===rn?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let n={[t]:e};return n.$={[r]:i},n}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:o}):a||(e.body=i(r,{rootName:l||A,xmlCharKey:o}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;a||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let n=ra(t,i);if(null!=n){let t=i.mapper.serializedName||rm(i);e.formData[t]=r.serializer.serialize(i.mapper,n,rm(i),s)}}}(e,s,n,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),g.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??rd,r=e.expectedContentTypes?.xml??rg,i=e.parseXML,n=e.serializerOptions,s={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,n)=>ru(t,r,await n(e),s,i)}}(e.deserializationOptions),{phase:"Deserialize"}),g}let rC={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function rf(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let rI=tb("core-client");class rE{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var t;let r,i;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&rI.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(n||(n=tz()),n),this.pipeline=e.pipeline||(r=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(t=e),i=t.credential&&r?{credentialScopes:r,credential:t.credential}:void 0,rp({...t,credentialOptions:i})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new eL({url:function(e,t,r,i){let n=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let n of e.urlParameters){let s=ra(t,n,r),o=rm(n);s=e.serializer.serialize(n.mapper,s,o),n.skipEncoding||(s=encodeURIComponent(s)),i.set(`{${n.mapper.serializedName||o}}`,s)}return i}(t,r,i),s=!1,o=rf(e,n);if(t.path){let e=rf(t.path,n);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(o=e,s=!0):o=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let n=t.indexOf("?");if(-1!==n){let e=t.substring(0,n),s=t.substring(n+1);i+=e,s&&(r.search=r.search?`${r.search}&${s}`:s)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(o,e)}let{queryParams:a,sequenceParams:A}=function(e,t,r){let i=new Map,n=new Set;if(e.queryParameters?.length)for(let s of e.queryParameters){"Sequence"===s.mapper.type.name&&s.mapper.serializedName&&n.add(s.mapper.serializedName);let o=ra(t,s,r);if(null!=o||s.mapper.required){o=e.serializer.serialize(s.mapper,o,rm(s));let t=s.collectionFormat?rC[s.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(e=>null==e?"":e)),"Multi"===s.collectionFormat&&0===o.length)continue;Array.isArray(o)&&("SSV"===s.collectionFormat||"TSV"===s.collectionFormat)&&(o=o.join(t)),s.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&("CSV"===s.collectionFormat||"Pipes"===s.collectionFormat)&&(o=o.join(t)),i.set(s.mapper.serializedName||rm(s),o)}}return{queryParams:i,sequenceParams:n}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let n=new URL(e),s=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),n=t.get(e);n?Array.isArray(n)?n.push(i):t.set(e,[n,i]):t.set(e,i)}return t}(n.search);for(let[e,n]of t){let t=s.get(e);if(Array.isArray(t))if(Array.isArray(n)){t.push(...n);let r=new Set(t);s.set(e,Array.from(r))}else t.push(n);else t?(Array.isArray(n)?n.unshift(t):r.has(e)&&s.set(e,[t,n]),i||s.set(e,n)):s.set(e,n)}let o=[];for(let[e,t]of s)if("string"==typeof t)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)o.push(`${e}=${r}`);else o.push(`${e}=${t}`);return n.search=o.length?`?${o.join("&")}`:"",n.toString()}(o,a,A,s)}(r,t,e,this)});i.method=t.httpMethod;let n=rc(i);n.operationSpec=t,n.operationArguments=e;let s=t.contentType||this._requestContentType;s&&t.requestBody&&i.headers.set("Content-Type",s);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(n.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),o.abortSignal&&(i.abortSignal=o.abortSignal),o.tracingOptions&&(i.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===rs&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=t3(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=t3(r,t.responses[e.statusCode]||t.responses.default);e.details=i,o?.onResponse&&o.onResponse(r,i,e)}throw e}}}let ry="authorization",rB=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,n=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),s=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,n),o=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(n);if(!o)return!1;let a=await e.getAccessToken(s,{...r,tenantId:o});return!!a&&(e.request.headers.set(ry,`${a.tokenType??"Bearer"} ${a.token}`),!0)}return!1},rQ=Symbol("Original PipelineRequest"),rN=Symbol.for("@azure/core-client original request"),rb=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function rS(e,t={}){let r=e[rQ],i=eF(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new eL({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[rN]=t.originalRequest),r}}function rw(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:rD(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,n,s)=>n===rQ?e:"clone"===n?()=>rw(rS(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,n,s),set:(t,r,i,n)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&rb.has(r)&&(e[r]=i),Reflect.set(t,r,i,n))}):i}function rD(e){return new rR(e.toJSON({preserveCase:!0}))}function rx(e){return e.toLowerCase()}class rR{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[rx(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[rx(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[rx(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[rx(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[rx(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new rR(e)}}let rM=Symbol("Original FullOperationResponse");function rk(e,t){let r=rw(e.request),i=rD(e.headers);return t?.createProxy?new Proxy(e,{get:(t,n,s)=>"headers"===n?i:"request"===n?r:n===rM?e:Reflect.get(t,n,s),set:(e,t,n,s)=>("headers"===t?i=n:"request"===t&&(r=n),Reflect.set(e,t,n,s))}):{...e,request:r,headers:i}}function rv(e){let t=e[rM],r=eF(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:rS(e.request)}}class rU extends rE{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===t$)||this.pipeline.addPolicy({name:t$,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:tg})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,n){r=e,i&&i(e,t,n)}};let n=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(n,"_response",{value:rk(r)}),n}}(g=w||(w={}))[g.ERROR=1]="ERROR",g[g.INFO=3]="INFO",g[g.OFF=0]="OFF",g[g.WARNING=2]="WARNING";let rF={log(e,t){},shouldLog:e=>!1};class rT{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},n=null,s=e,o=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(o&&(s=o[1]+o[3],o[2])){let e=o[2].slice(1,-1);e&&(n=e)}let a=s;if(s.includes("::")){let r=s.indexOf("::");if(t=s.substring(0,r).trim(),a=s.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(a.includes(":")){let e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),i=a.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,A=i):r=a}else r=a;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),n)if(n.includes("=")){let e=n.indexOf("=");i.attrName=n.substring(0,e).trim(),i.attrValue=n.substring(e+1).trim()}else i.attrName=n.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=A}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class rL{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class rO{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new rL(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length,s=this.siblingStacks[n];s||(s={counts:new Map,total:0},this.siblingStacks[n]=s);let o=r?`${r}:${e}`:e,a=s.counts.get(o)||0,A=s.total;s.counts.set(o,a+1),s.total++;let l={tag:e,position:A,counter:a};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==i?i.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],n=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,n=!0;break}if(!n)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function rP(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function rH(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function rY(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let rG=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",rz=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",rq=(e,t,r="")=>{let i=e.replace(":",""),n=t.replace(":",""),s=`[${i}][${n}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${s}$`,r),qName:RegExp(`^${s}(?::${s})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},rV=rq(rG,rG+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),r_=rq(rz,rz+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),rJ=":A-Za-z_",rW=rq(rJ,rJ+"\\-\\.\\d"),rj=(e="1.0",t=!1)=>t?rW:"1.1"===e?r_:rV,rX=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>rj(t,r).qName.test(e),rK=["name","ncName","qName","nmToken","nmTokens"],rZ=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!rK.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${rK.join(", ")}`);let n=rj(t,r)[e],s=new Map,o=e=>{let t=s.get(e);if(void 0!==t)return t;let r=n.test(e);return s.size<i&&s.set(e,r),r};return o.reset=()=>{s=new Map},o};function r$(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function r0(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function r1(e,t,r,i,n){let s="";if(e&&!t.ignoreAttributes)for(let o in e){let a;if(!Object.prototype.hasOwnProperty.call(e,o))continue;let A=o.substr(t.attributeNamePrefix.length),l=r?A:r$(A,!0,t,i,n);!0===(a=r?e[o]:r2(a=t.attributeValueProcessor(o,e[o]),t))&&t.suppressBooleanAttributes?s+=` ${l}`:s+=` ${l}="${rY(a)}"`}return s}function r2(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let r5={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function r3(e){if(this.options=Object.assign({},r5,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new rT(t)):t instanceof rT&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=r6}this.processTextOrObjNode=r8,this.options.format?(this.indentate=r9,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function r4(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function r8(e,t,r,i,n){let s=this.extractAttributes(e);if(i.push(t,s),this.checkStopNode(i)){let n=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(n,t,s,r)}let o=this.j2x(e,r+1,i,n);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,o.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,r,i):this.buildObjectNode(o.val,t,o.attrStr,r)}function r9(e){return this.options.indentBy.repeat(e)}function r6(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}r3.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new rT(r)):r instanceof rT&&i.push(r)}let n=rZ("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===r0(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,n,s,o){let a="",A=!1;if(r.maxNestedTags&&n.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return r2(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],g=r0(d);if(void 0===g)continue;let u=g===r.textNodeName||g===r.cdataPropName||g===r.commentPropName||"?"===g[0]?g:r$(g,!1,r,n,o),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n.startsWith(t.attributeNamePrefix)?n.substr(t.attributeNamePrefix.length):n]=rY(e[n]),i=!0);return i?r:null}(d[":@"],r);n.push(u,h);let m=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(n,s);if(u===r.textNodeName){let e=d[g];m||(e=r2(e=r.tagValueProcessor(u,e),r)),A&&(a+=i),a+=e,A=!1,n.pop();continue}if(u===r.cdataPropName){A&&(a+=i);let e=rH(d[g][0][r.textNodeName]);a+=`<![CDATA[${e}]]>`,A=!1,n.pop();continue}if(u===r.commentPropName){let e=rP(d[g][0][r.textNodeName]);a+=i+`<!--${e}-->`,A=!0,n.pop();continue}else if("?"===u[0]){let e=r1(d[":@"],r,m,n,o);a+=("?xml"===u?"":i)+`<${u}${e}?>`,A=!0,n.pop();continue}let p=i;""!==p&&(p+=r.indentBy);let C=r1(d[":@"],r,m,n,o),f=i+`<${u}${C}`;c=m?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let n=0;n<t.length;n++){let s=t[n],o=r0(s);if(o===r.textNodeName)i+=s[o];else if(o===r.cdataPropName)i+=s[o][0][r.textNodeName];else if(o===r.commentPropName)i+=s[o][0][r.textNodeName];else if(o&&"?"===o[0])continue;else if(o){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=e[i];!0===n&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${rY(n)}"`}return r}(s[":@"],r),n=e(s[o],r);n&&0!==n.length?i+=`<${o}${t}>${n}</${o}>`:i+=`<${o}${t}/>`}}return i}(d[g],r):e(d[g],r,p,n,s,o),-1!==r.unpairedTags.indexOf(u)?r.suppressUnpairedNode?a+=f+">":a+=f+"/>":(!c||0===c.length)&&r.suppressEmptyNode?a+=f+"/>":c&&c.endsWith(">")?a+=f+`>${c}${i}</${u}>`:(a+=f+">",c&&""!==i&&(c.includes("/>")||c.includes("</"))?a+=i+r.indentBy+c+i:a+=c,a+=`</${u}>`),A=!0,n.pop()}return a}(e,t,r,new rO,i,n)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new rO,r=rZ("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},r3.prototype.j2x=function(e,t,r,i){let n="",s="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:r4(A,!1,this.options,r,i);if(void 0===e[A])this.isAttribute(A)&&(s+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?s+="":"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)s+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,o)){let t=r4(c,!0,this.options,r,i);n+=this.buildAttrPairStr(t,""+e[A],a)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);s+=this.replaceEntitiesValue(t)}else{r.push(l);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[A];""===r?s+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:s+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else s+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let n=e[A].length,o="",a="";for(let c=0;c<n;c++){let n=e[A][c];if(void 0===n);else if(null===n)"?"===l[0]?s+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:s+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){r.push(l);let e=this.j2x(n,t+1,r,i);r.pop(),o+=e.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else o+=this.processTextOrObjNode(n,l,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,n);o+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+n;""===e?o+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:o+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(n,l,"",t,r)}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,a,t)),s+=o}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),s=t.length;for(let o=0;o<s;o++){let s=r4(t[o],!0,this.options,r,i);n+=this.buildAttrPairStr(s,""+e[A][t[o]],a)}}else s+=this.processTextOrObjNode(e[A],l,t,r,i)}return{attrStr:n,val:s}},r3.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+rY(t)+'"'},r3.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=rY(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=this.isAttribute(i);n&&(t[n]=rY(e[i]),r=!0)}return r?t:null},r3.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${n}/>`:t+=`<${r}${n}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),n=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${n}/>`:t+=`<${r}${n}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},r3.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,n=r[e];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+rY(n)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let n=e[r];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+rY(n)+'"'}}return t},r3.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n="</"+t+this.tagEndChar,s="";return("?"===t[0]&&(s="?",n=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+s+">"+e+n:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===s.length?this.indentate(i)+`<!--${rP(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+s+this.tagEndChar+e+this.indentate(i)+n}},r3.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},r3.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},r3.prototype.buildTextValNode=function(e,t,r,i,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=rH(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=rP(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n=this.options.tagValueProcessor(t,e);return""===(n=this.replaceEntitiesValue(n))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+n+"</"+t+this.tagEndChar}},r3.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let r7=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ie=RegExp("^"+("["+r7+"]["+r7)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function it(e,t){let r=[],i=t.exec(e);for(;i;){let n=[];n.startIndex=t.lastIndex-i[0].length;let s=i.length;for(let e=0;e<s;e++)n.push(i[e]);r.push(n),i=t.exec(e)}return r}let ir=function(e){return null!=ie.exec(e)},ii=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],is=["__proto__","constructor","prototype"],io={allowBooleanAttributes:!1,unpairedTags:[]};function ia(e,t){t=Object.assign({},io,t);let r=[],i=!1,n=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let s=0;s<e.length;s++)if("<"===e[s]&&"?"===e[s+1]){if(s+=2,(s=il(e,s)).err)return s}else if("<"===e[s]){let o=s;if("!"===e[++s]){s=ic(e,s);continue}{let a=!1;"/"===e[s]&&(a=!0,s++);let A="";for(;s<e.length&&">"!==e[s]&&" "!==e[s]&&" "!==e[s]&&"\n"!==e[s]&&"\r"!==e[s];s++)A+=e[s];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),s--),!ir(A))return iu("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",ih(e,s));let l=function(e,t){let r="",i="",n=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){n=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:n}}(e,s);if(!1===l)return iu("InvalidAttr","Attributes for '"+A+"' have open quote.",ih(e,s));let c=l.value;if(s=l.index,"/"===c[c.length-1]){let r=s-c.length,n=ig(c=c.substring(0,c.length-1),t);if(!0!==n)return iu(n.err.code,n.err.msg,ih(e,r+n.err.line));i=!0}else if(a)if(!l.tagClosed)return iu("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",ih(e,s));else{if(c.trim().length>0)return iu("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",ih(e,o));if(0===r.length)return iu("InvalidTag","Closing tag '"+A+"' has not been opened.",ih(e,o));let t=r.pop();if(A!==t.tagName){let r=ih(e,t.tagStartPos);return iu("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",ih(e,o))}0==r.length&&(n=!0)}else{let a=ig(c,t);if(!0!==a)return iu(a.err.code,a.err.msg,ih(e,s-c.length+a.err.line));if(!0===n)return iu("InvalidXml","Multiple possible root nodes found.",ih(e,s));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:o}),i=!0}for(s++;s<e.length;s++)if("<"===e[s])if("!"===e[s+1]){s=ic(e,++s);continue}else if("?"===e[s+1]){if((s=il(e,++s)).err)return s}else break;else if("&"===e[s]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,s);if(-1==t)return iu("InvalidChar","char '&' is not expected.",ih(e,s));s=t}else if(!0===n&&!iA(e[s]))return iu("InvalidXml","Extra text at the end",ih(e,s));"<"===e[s]&&s--}}else{if(iA(e[s]))continue;return iu("InvalidChar","char '"+e[s]+"' is not expected.",ih(e,s))}return i?1==r.length?iu("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",ih(e,r[0].tagStartPos)):!(r.length>0)||iu("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):iu("InvalidXml","Start tag expected.",1)}function iA(e){return" "===e||" "===e||"\n"===e||"\r"===e}function il(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return iu("InvalidXml","XML declaration allowed only at the start of the document.",ih(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function ic(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let id=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function ig(e,t){let r=it(e,id),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return iu("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",im(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return iu("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",im(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return iu("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",im(r[e]));let n=r[e][2];if(!ir(n))return iu("InvalidAttr","Attribute '"+n+"' is an invalid name.",im(r[e]));if(Object.prototype.hasOwnProperty.call(i,n))return iu("InvalidAttr","Attribute '"+n+"' is repeated.",im(r[e]));i[n]=1}return!0}function iu(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function ih(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function im(e){return e.startIndex+e[1].length}let ip=e=>ii.includes(e)?"__"+e:e,iC={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:ip},iI=function(e){let t=Object.assign({},iC,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(ii.some(e=>r===e.toLowerCase())||is.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=ip),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};s="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class iE{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][s]={startIndex:t})}static getMetaDataSymbol(){return s}}class iy{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let n=1,s=!1,o=!1;for(;t<e.length;t++)if("<"!==e[t]||o)if(">"===e[t]){if(o?"-"===e[t-1]&&"-"===e[t-2]&&(o=!1,n--):n--,0===n)break}else"["===e[t]?s=!0:e[t];else{if(s&&iQ(e,"!ENTITY",t)){let n,s;if(t+=7,[n,s,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===s.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[n]=s,i++}}else if(s&&iQ(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(s&&iQ(e,"!ATTLIST",t))t+=8;else if(s&&iQ(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(iQ(e,"!--",t))o=!0;else throw Error("Invalid DOCTYPE");n++}if(0!==n)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=iB(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(iN(i,{xmlVersion:this.xmlVersion}),t=iB(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let n="";if([t,n]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&n.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${n.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,n,--t]}readNotationExp(e,t){let r=t=iB(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||iN(i,{xmlVersion:this.xmlVersion}),t=iB(e,t);let n=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==n&&"PUBLIC"!==n)throw Error(`Expected SYSTEM or PUBLIC, found "${n}"`);t+=n.length,t=iB(e,t);let s=null,o=null;if("PUBLIC"===n)[t,s]=this.readIdentifierVal(e,t,"publicIdentifier"),t=iB(e,t),('"'===e[t]||"'"===e[t])&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===n&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!o))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:s,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let i="",n=e[t];if('"'!==n&&"'"!==n)throw Error(`Expected quoted string, found "${n}"`);let s=++t;for(;t<e.length&&e[t]!==n;)t++;if(i=e.substring(s,t),e[t]!==n)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=iB(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!rX(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=iB(e,t);let n="";if("E"===e[t]&&iQ(e,"MPTY",t))t+=4;else if("A"===e[t]&&iQ(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(n=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:n.trim(),index:t}}readAttlistExp(e,t){let r=t=iB(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(iN(i,{xmlVersion:this.xmlVersion}),r=t=iB(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);if(!iN(n,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${n}"`);t=iB(e,t);let s="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(s="NOTATION",t+=8,t=iB(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let n=e.substring(i,t);if(!iN(n=n.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${n}"`);r.push(n),"|"===e[t]&&(t=iB(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,s+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(s+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(s.toUpperCase()))throw Error(`Invalid attribute type: "${s}"`)}t=iB(e,t);let o="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(o="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(o="#IMPLIED",t+=7):[t,o]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:n,attributeType:s,defaultValue:o,index:t}}}let iB=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function iQ(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function iN(e,t){if(rX(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let ib=new Map,iS=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?iS[r-1632]=t:ib.set(r,t)}let iw=new Set([8722,65293,65123]),iD=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let n=e.charCodeAt(i);if((!(n>=48)||!(n<=57))&&45!==n){if(n<1632){if(iw.has(n)){r=i;break}continue}if(n>=55296&&n<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(n-55296<<10)+(t-56320);if(ib.has(e)){r=i;break}}}continue}if(255!==iS[n-1632]||iw.has(n)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let n=r;n<t;n++){let r=e.charCodeAt(n);if(r>=48&&r<=57||45===r){i.push(e[n]);continue}if(r<1632){i.push(iw.has(r)?"-":e[n]);continue}if(r>=55296&&r<=56319){if(n+1<t){let t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),s=ib.get(e);if(void 0!==s){i.push(String.fromCharCode(s+48)),n++;continue}}}i.push(e[n]);continue}if(iw.has(r)){i.push("-");continue}let s=iS[r-1632];i.push(255!==s?String.fromCharCode(s+48):e[n])}return i.join("")},ix=/^[-+]?0x[a-fA-F0-9]+$/,iR=/^0b[01]+$/,iM=/^0o[0-7]+$/,ik=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,iv={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},iU=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function iF(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class iT{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,n=this._byDepthAndTag.get(i);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let s=this._wildcardByDepth.get(t);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++)if(e.matches(o[t]))return o[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let iL={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},iO={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},iP={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},iH=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),iY=new Set("!?\\\\/[]$%{}^&*()<>|+");function iG(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(iY.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function iz(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let iq="external",iV="base",i_=Object.freeze({allow:0,leave:1,remove:2,throw:3}),iJ=new Set([9,10,13]);class iW{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??iq)&&t!==iq?"all"===t?["all"]:t===iV?[iV]:Array.isArray(t)?t:[iq]:[iq]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=iz(iO,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:i_.allow,nullLevel:i_.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:i_[e.onNCR]??i_.allow,nullLevel:Math.max(i_[e.nullNCR]??i_.remove,i_.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let n=e(t,r);if(n===iH.BLOCK)return!1;if(n===iH.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))iG(t);if(!this._onExternalEntity){this._externalMap=iz(e);return}let t=iz(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){iG(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=iz(e);return}let t=iz(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,n=0,s=this._maxTotalExpansions>0,o=this._maxExpandedLength>0,a=s||o;for(;n<r;){let A,l;if(38!==e.charCodeAt(n)){n++;continue}let c=n+1;for(;c<r&&59!==e.charCodeAt(c)&&c-n<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){n++;continue}let d=e.slice(n+1,c);if(0===d.length){n++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=iq);else if(this._leaveSet.has(d)){n++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){n++;continue}A=e,l=iV}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){n++;continue}if(n>i&&t.push(e.slice(i,n)),t.push(A),n=i=c+1,a&&this._tierCounts(l)){if(s&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(o){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:iq}:e in this._externalMap?{value:this._externalMap[e],tier:iq}:e in this._baseMap?{value:this._baseMap[e],tier:iV}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!iJ.has(e)?i_.remove:-1}_applyNCRAction(e,t,r){switch(e){case i_.allow:return String.fromCodePoint(r);case i_.remove:return"";case i_.leave:return;case i_.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<i_.remove)return;let n=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(n,e,t)}}let ij=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],iX=[...ij,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],iK=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],iZ=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],i$=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],i0=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],i1=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],i2="[\"'\\s]*:",i5=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${i2}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${i2}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${i2}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${i2}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${i2}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${i2}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${i2}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${i2}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${i2}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${i2}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${i2}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${i2}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${i2}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],i3=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];iK.label="HTML",iZ.label="XML",i$.label="SVG",ij.label="SQL",iX.label="SQL-STRICT",i0.label="SHELL",i1.label="REDOS",i5.label="NOSQL",i3.label="LOG",Object.freeze({HTML:iK,XML:iZ,SVG:i$,SQL:ij,"SQL-STRICT":iX,SHELL:i0,REDOS:i1,NOSQL:i5,LOG:i3});class i4{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=ne,this.parseTextData=i8,this.resolveNameSpace=i9,this.buildAttributesMap=i7,this.isItStopNode=nn,this.replaceEntitiesValue=nr,this.readStopNodeData=na,this.saveTextToParentTag=ni,this.addChild=nt,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...iO};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...iP,...iL}),this.entityDecoder=new iW({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[iK,iZ])?iH.ALLOW:iH.BLOCK})),this.matcher=new rO,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new iT;let n=this.options.stopNodes;if(n&&n.length>0){for(let e=0;e<n.length;e++){let t=n[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new rT(t)):t instanceof rT&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function i8(e,t,r,i,n,s,o){let a=this.options;if(void 0!==e&&(a.trimValues&&!i&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,r));let i=a.jPath?r.toString():r,A=a.tagValueProcessor(t,e,i,n,s);return null==A?e:typeof A!=typeof e||A!==e?A:a.trimValues||e.trim()===e?nA(e,a.parseTagValue,a.numberParseOptions):e}}function i9(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let i6=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function i7(e,t,r,i=!1){let n=this.options;if(!0===i||!0!==n.ignoreAttributes&&"string"==typeof e){let i=it(e,i6),s=i.length,o={},a=Array(s),A=!1,l={};for(let e=0;e<s;e++){let t=this.resolveNameSpace(i[e][1]),s=i[e][4];if(t.length&&void 0!==s){let i=s;n.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),a[e]=i,l[t]=i,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=n.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<s;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=n.attributeNamePrefix+t;if(t.length)if(n.transformAttributeName&&(r=n.transformAttributeName(r)),r=nc(r,n),void 0!==i[e][4]){let i=a[e],s=n.attributeValueProcessor(t,i,c);null==s?o[r]=i:typeof s!=typeof i||s!==i?o[r]=s:o[r]=nA(i,n.parseAttributeValue,n.numberParseOptions),d=!0}else n.allowBooleanAttributes&&(o[r]=!0,d=!0)}if(!d)return;if(n.attributesGroupName&&!n.preserveOrder){let e={};return e[n.attributesGroupName]=o,e}return o}}let ne=function(e){e=e.replace(/\r\n?/g,"\n");let t=new iE("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n=this.options,s=new iy(n.processEntities),o=e.length;for(let a=0;a<o;a++)if("<"===e[a]){let A=e.charCodeAt(a+1);if(47===A){let t=ns(e,">",a,"Closing Tag is not closed."),s=e.substring(a+2,t).trim();if(n.removeNSPrefix){let e=s.indexOf(":");-1!==e&&(s=s.substr(e+1))}s=nl(n.transformTagName,s,"",n).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(s&&n.unpairedTagsSet.has(s))throw Error(`Unpaired tag can not be used as closing tag: </${s}>`);o&&n.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",a=t}else if(63===A){let t=no(e,a,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),s.setXmlVersion(Number(e)||1)}if(n.ignoreDeclaration&&"?xml"===t.tagName||n.ignorePiTags);else{let e=new iE(t.tagName);e.add(n.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==n.ignoreAttributes&&(e[":@"]=o),this.addChild(r,e,this.readonlyMatcher,a)}a=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(a+2)&&45===e.charCodeAt(a+3)){let t=ns(e,"--\x3e",a+4,"Comment is not closed.");if(n.commentPropName){let s=e.substring(a+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:s}])}a=t}else if(33===A&&68===e.charCodeAt(a+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=s.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities),a=t.i}else if(33===A&&91===e.charCodeAt(a+2)){let t=ns(e,"]]>",a,"CDATA is not closed.")-2,s=e.substring(a+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.parseTextData(s,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==o&&(o=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:s}]):r.add(n.textNodeName,o),a=t+2}else{let s,A=no(e,a,n.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,g=A.attrExpPresent,u=A.closeIndex;if({tagName:l,tagExp:d}=nl(n.transformTagName,l,d,n),n.strictReservedNames&&(l===n.commentPropName||l===n.cdataPropName||l===n.textNodeName||l===n.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&n.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(m=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),g=l!==d);let p=null;s=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},s),l!==d&&g&&(p=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(p,n),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let C=a;if(this.isCurrentNodeStopNode){let t="";if(m)a=A.closeIndex;else if(n.unpairedTagsSet.has(l))a=A.closeIndex;else{let r=this.readStopNodeData(e,c,u+1);if(!r)throw Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}let i=new iE(l);p&&(i[":@"]=p),i.add(n.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,C)}else{if(m){({tagName:l,tagExp:d}=nl(n.transformTagName,l,d,n));let e=new iE(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(l)){let e=new iE(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let e=new iE(l);if(this.tagsNodeStack.length>n.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),r=e}i="",a=u}}}else i+=e[a];return t.child};function nt(e,t,r,i){this.options.captureMetaData||(i=void 0);let n=this.options.jPath?r.toString():r,s=this.options.updateTag(t.tagname,n,t[":@"]);!1===s||("string"==typeof s&&(t.tagname=s),e.addChild(t,i))}function nr(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,n)))return e}if(i.tagFilter){let n=this.options.jPath?r.toString():r;if(!i.tagFilter(t,n))return e}return this.entityDecoder.decode(e)}function ni(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function nn(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function ns(e,t,r,i){let n=e.indexOf(t,r);if(-1!==n)return n+t.length-1;throw Error(i)}function no(e,t,r,i=">"){let n=function(e,t,r=">"){let i=0,n=e.length,s=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",A=t;for(let r=t;r<n;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===s){if(-1===o)return{data:a+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===o)return{data:a+=e.substring(A,r),index:r}}else 9!==t||i||(a+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,i);if(!n)return;let s=n.data,o=n.index,a=s.search(/\s/),A=s,l=!0;-1!==a&&(A=s.substring(0,a),s=s.substring(a+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==n.data.substr(e+1))}return{tagName:A,tagExp:s,closeIndex:o,attrExpPresent:l,rawTagName:c}}function na(e,t,r){let i=r,n=1,s=e.length;for(;r<s;r++)if("<"===e[r]){let s=e.charCodeAt(r+1);if(47===s){let s=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,s).trim()===t&&0==--n)return{tagContent:e.substring(i,r),i:s};r=s}else if(63===s)r=ns(e,"?>",r+1,"StopNode is not closed.");else if(33===s&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=ns(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===s&&91===e.charCodeAt(r+2))r=ns(e,"]]>",r,"StopNode is not closed.")-2;else{let i=no(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&n++,r=i.closeIndex)}}}function nA(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},iv,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=iD(r)))return 0;if(t.hex&&ix.test(r))return iF(r,16);{if(t.binary&&iR.test(r))return iF(r,2);if(t.octal&&iM.test(r))return iF(r,8);if(!isFinite(r)){var i,n=e,s=Number(r),o=t;switch(o.infinity.toLowerCase()){case"null":return null;case"infinity":return s;case"string":return s===1/0?"Infinity":"-Infinity";default:return n}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(iU);if(!i)return e;{let n=i[1]||"",s=-1===i[3].indexOf("e")?"E":"e",o=i[2],a=n?e[o.length+1]===s:e[o.length]===s;if(o.length>1&&a)return e;if(1===o.length&&(i[3].startsWith(`.${s}`)||i[3][0]===s))return Number(t);if(!(o.length>0))return Number(t);else if(r.leadingZeros&&!a)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let a=ik.exec(r);if(!a)return e;{let n=a[1]||"",s=a[2],o=((i=a[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),A=n?"."===e[s.length+1]:"."===e[s.length];if(!t.leadingZeros&&(s.length>1||1===s.length&&!A))return e;{let i=Number(r),a=String(i);if(0===i)return i;if(-1!==a.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===a)return i;else if(a===o)return i;else if(a===`${n}${o}`)return i;else return e;let A=s?o:r;return s?A===a||n+A===a?i:e:A===a||A===n+a?i:e}}}}(e,r)}return void 0!==e?e:""}function nl(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=nc(t,i),tagExp:r}}function nc(e,t){if(is.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return ii.includes(e)?t.onDangerousProperty(e):e}let nd=iE.getMetaDataSymbol();class ng{constructor(e){this.externalEntities={},this.options=iI(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=ia(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new i4(this.options,this.externalEntities),n=i.parseXml(e);return this.options.preserveOrder||void 0===n?n:(r=this.options,function e(t,r,i,n){let s,o={};for(let a=0;a<t.length;a++){let A=t[a],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(A[":@"]||{},r.attributeNamePrefix);i.push(l,e)}if(l===r.textNodeName)void 0===s?s=A[l]:s+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,i,n),s=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,i){if(t){let n=Object.keys(t),s=n.length;for(let o=0;o<s;o++){let s=n[o],a=s.startsWith(i.attributeNamePrefix)?s.substring(i.attributeNamePrefix.length):s,A=i.jPath?r.toString()+"."+a:r;i.isArray(s,A,!0,!0)?e[s]=[t[s]]:e[s]=t[s]}}}(t,A[":@"],n,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[nd]&&"object"==typeof t&&null!==t&&(t[nd]=A[nd]),void 0!==o[l]&&Object.prototype.hasOwnProperty.call(o,l))Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(t);else{let e=r.jPath?n.toString():n;r.isArray(l,e,s)?o[l]=[t]:o[l]=t}void 0!==l&&l!==r.textNodeName&&i.pop()}}return"string"==typeof s?s.length>0&&(o[r.textNodeName]=s):void 0!==s&&(o[r.textNodeName]=s),o}(n,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return iE.getMetaDataSymbol()}}function nu(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function nh(e,t={}){let r=function(e={}){return{...nu(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new r3(r),n={[r.rootNodeName]:e},s=i.build(n);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${s}`.replace(/\n/g,"")}async function nm(e,t={}){if(!e)throw Error("Document is empty");let r=ia(e);if(!0!==r)throw r;let i=new ng(function(e={}){return{...nu(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let np=tb("storage-blob");var nC=r(4434);class nf extends e$.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,n=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,s=Math.min(n,i);if(s>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+s;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),s===n?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=s,r+=s}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let nI=r(4573).constants.MAX_LENGTH;class nE{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/nI);for(let t=0;t<i;t++){let r=t===i-1?e%nI:nI;0===r&&(r=nI),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,n=0,s=0,o=0;for(;o<this._size;){let t=e[r],a=this.buffers[i],A=t.copy(a,n,s);o+=A,s+=A,n+=A,s===t.length&&(r++,s=0),n===a.length&&(i++,n=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(s))}getReadableStream(){return new nf(this.buffers,this.size)}}class ny{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new nC.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,n,s){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(n<=0)throw RangeError(`concurrency must be larger than 0, current is ${n}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=n,this.encoding=s}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new nE(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let nB=c("node:module");var nQ=r(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(o=(0,nB.createRequire)(import.meta.url),a=(0,nQ.fileURLToPath)(import.meta.url),A=(0,W.dirname)(a));var nN=(u="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==a&&(u=u||a),function(e){var t,r,i,n,s,a,l,c,d,g,h=void 0!==(e=e||{})?e:{};h.ready=new Promise(function(e,t){i=e,n=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(h.ready,e)||Object.defineProperty(h.ready,e,{get:()=>q("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>q("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var m=Object.assign({},h),p=[],C="object"==typeof window,f="function"==typeof importScripts,I="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,E=!C&&!I&&!f;if(h.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var y="";if(I){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var B=o("fs"),Q=o("path");y=f?Q.dirname(y)+"/":A+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),p=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof j))throw e}),process.on("unhandledRejection",function(e){throw e}),h.inspect=function(){return"[Emscripten Module object]"}}else if(E){if("object"==typeof process&&"function"==typeof o||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?p=scriptArgs:"u">typeof arguments&&(p=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(C||f){if(f?y=self.location.href:"u">typeof document&&document.currentScript&&(y=document.currentScript.src),u&&(y=u),y=0!==y.indexOf("blob:")?y.substr(0,y.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var N=h.print||console.log.bind(console),b=h.printErr||console.warn.bind(console);function S(e,t){Object.getOwnPropertyDescriptor(h,e)||Object.defineProperty(h,e,{configurable:!0,get:function(){q("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function w(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(h,m),m=null,Object.getOwnPropertyDescriptor(h,t="fetchSettings")&&q("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),h.arguments&&(p=h.arguments),S("arguments","arguments_"),h.thisProgram&&h.thisProgram,S("thisProgram","thisProgram"),h.quit&&h.quit,S("quit","quit_"),x(void 0===h.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),x(void 0===h.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),x(void 0===h.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),x(void 0===h.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),x(void 0===h.read,"Module.read option was removed (modify read_ in JS)"),x(void 0===h.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),x(void 0===h.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),x(void 0===h.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),x(void 0===h.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),S("read","read_"),S("readAsync","readAsync"),S("readBinary","readBinary"),S("setWindowTitle","setWindowTitle"),x(!E,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),h.wasmBinary&&h.wasmBinary,S("wasmBinary","wasmBinary"),h.noExitRuntime,S("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&q("no native wasm support detected");var D=!1;function x(e,t){e||q("Assertion failed"+(t?": "+t:""))}var R="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function M(e){a=e,h.HEAP8=new Int8Array(e),h.HEAP16=new Int16Array(e),h.HEAP32=new Int32Array(e),h.HEAPU8=l=new Uint8Array(e),h.HEAPU16=new Uint16Array(e),h.HEAPU32=c=new Uint32Array(e),h.HEAPF32=new Float32Array(e),h.HEAPF64=new Float64Array(e)}h.STACK_SIZE&&x(5242880===h.STACK_SIZE,"the stack size can no longer be determined at runtime");var k=h.INITIAL_MEMORY||0x1000000;function v(){if(!D){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&q("Stack overflow! Stack cookie has been overwritten at "+K(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+K(r)+" "+K(t)),0x63736d65!==c[0]&&q("Runtime error: The application has corrupted its heap memory area (address zero)!")}}S("INITIAL_MEMORY","INITIAL_MEMORY"),x(k>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+k+"! (STACK_SIZE=5242880)"),x("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),x(!h.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),x(0x1000000==k,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var U=new Int16Array(1),F=new Int8Array(U.buffer);if(U[0]=25459,115!==F[0]||99!==F[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var T=[],L=[],O=[],P=!1;x(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),x(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var H=0,Y=null,G=null,z={};function q(e){h.onAbort&&h.onAbort(e),b(e="Aborted("+e+")"),D=!0;var t=new WebAssembly.RuntimeError(e);throw n(t),t}var V={error:function(){q("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){V.error()},createDataFile:function(){V.error()},createPreloadedFile:function(){V.error()},createLazyFile:function(){V.error()},open:function(){V.error()},mkdev:function(){V.error()},registerDevice:function(){V.error()},analyzePath:function(){V.error()},loadFilesFromDB:function(){V.error()},ErrnoError:function(){V.error()}};function _(e){return e.startsWith("file://")}function J(e,t){return function(){var r=t;return t||(r=h.asm),x(P,"native function `"+e+"` called before runtime initialization"),r[e]||x(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}h.FS_createDataFile=V.createDataFile,h.FS_createPreloadedFile=V.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=h.locateFile?h.locateFile(r,y):y+r);var W="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW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AgAiAGNgIAIAYNAUEAQQAoApySwQJBfiAEd3E2ApySwQIMAgsgB0EQQRQgBygCECADRhtqIAY2AgAgBkUNAQsgBiAHNgIYAkAgAygCECICRQ0AIAYgAjYCECACIAY2AhgLIANBFGooAgAiAkUNACAGQRRqIAI2AgAgAiAGNgIYCyABIABBAXI2AgQgASAAaiAANgIAIAFBACgCrJLBAkcNAEEAIAA2AqCSwQIPCwJAIABB/wFLDQAgAEF4cUHAksECaiECAkACQEEAKAKYksECIgRBASAAQQN2dCIAcQ0AQQAgBCAAcjYCmJLBAiACIQAMAQsgAigCCCEACyACIAE2AgggACABNgIMIAEgAjYCDCABIAA2AggPC0EfIQICQCAAQf///wdLDQAgAEEmIABBCHZnIgJrdkEBcSACQQF0a0E+aiECCyABIAI2AhwgAUIANwIQIAJBAnRByJTBAmohBAJAAkACQAJAQQAoApySwQIiBkEBIAJ0IgNxDQBBACAGIANyNgKcksECIAQgATYCACABIAQ2AhgMAQsgAEEAQRkgAkEBdmsgAkEfRht0IQIgBCgCACEGA0AgBiIEKAIEQXhxIABGDQIgAkEddiEGIAJBAXQhAiAEIAZBBHFqIgNBEGooAgAiBg0ACyADQRBqIAE2AgAgASAENgIYCyABIAE2AgwgASABNgIIDAELIAQoAggiACABNgIMIAQgATYCCCABQQA2AhggASAENgIMIAEgADYCCAtBAEEAKAK4ksECQX9qIgFBfyABGzYCuJLBAgsLMQEBfyAAQQEgABshAQJAA0AgARARIgANAQJAECIiAEUNACAAEQMADAELCxAAAAsgAAsGACAAEBILBAAgAAsLACAAKAI8EBUQAgsVAAJAIAANAEEADwsQDyAANgIAQX8L4wIBB38jAEEgayIDJAAgAyAAKAIcIgQ2AhAgACgCFCEFIAMgAjYCHCADIAE2AhggAyAFIARrIgE2AhQgASACaiEGIANBEGohBEECIQcCQAJAAkACQAJAIAAoAjwgA0EQakECIANBDGoQAxAXRQ0AIAQhBQwBCwNAIAYgAygCDCIBRg0CAkAgAUF/Sg0AIAQhBQwECyAEIAEgBC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kcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function j(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function X(e){for(;e.length>0;)e.shift()(h)}function K(e){return"0x"+e.toString(16).padStart(8,"0")}function Z(e){Z.shown||(Z.shown={}),Z.shown[e]||(Z.shown[e]=1,I&&(e="warning: "+e),b(e))}var $=[null,[],[]],ee={abort:function(){q("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(x((e>>>=0)>t),e>0x80000000)return b("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var n=t*(1+.2/i);n=Math.min(n,e+0x6000000);var o=Math.min(0x80000000,r(Math.max(e,n),65536));if(function(e){try{return s.grow(e-a.byteLength+65535>>>16),M(s.buffer),1}catch(t){b("emscripten_realloc_buffer: Attempted to grow heap from "+a.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(o))return!0}return b("Failed to grow the heap from "+t+" bytes to "+o+" bytes, not enough memory!"),!1},fd_close:function(e){q("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,n){return 70},fd_write:function(e,t,r,i){for(var n=0,s=0;s<r;s++){var o=c[t>>2],a=c[t+4>>2];t+=8;for(var A=0;A<a;A++)!function(e,t){var r=$[e];x(r),0===t||10===t?((1===e?N:b)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&R)return R.decode(e.subarray(t,i));for(var n="";t<i;){var s=e[t++];if(!(128&s)){n+=String.fromCharCode(s);continue}var o=63&e[t++];if((224&s)==192){n+=String.fromCharCode((31&s)<<6|o);continue}var a=63&e[t++];if((240&s)==224?s=(15&s)<<12|o<<6|a:((248&s)!=240&&Z("Invalid UTF-8 leading byte "+K(s)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),s=(7&s)<<18|o<<12|a<<6|63&e[t++]),s<65536)n+=String.fromCharCode(s);else{var A=s-65536;n+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return n}(r,0)),r.length=0):r.push(t)}(e,l[o+A]);n+=a}return c[i>>2]=n,0}};!function(){var e,t,r={env:ee,wasi_snapshot_preview1:ee};function i(e,t){h.asm=e.exports,x(s=h.asm.memory,"memory not found in wasm exports"),M(s.buffer),x(h.asm.__indirect_function_table,"table not found in wasm exports"),r=h.asm.__wasm_call_ctors,L.unshift(r);var r,i="wasm-instantiate";if(H--,h.monitorRunDependencies&&h.monitorRunDependencies(H),i?(x(z[i]),delete z[i]):b("warning: run dependency removed without ID"),0==H&&(null!==Y&&(clearInterval(Y),Y=null),G)){var n=G;G=null,n()}}e="wasm-instantiate",H++,h.monitorRunDependencies&&h.monitorRunDependencies(H),e?(x(!z[e]),z[e]=1,null===Y&&"u">typeof setInterval&&(Y=setInterval(function(){if(D){clearInterval(Y),Y=null;return}var e=!1;for(var t in z)e||(e=!0,b("still waiting on run dependencies:")),b("dependency: "+t);e&&b("(end of list)")},1e4))):b("warning: run dependency added without ID");var o=h;if(h.instantiateWasm)try{return h.instantiateWasm(r,i)}catch(e){b("Module.instantiateWasm callback failed with error: "+e),n(e)}(t=function(e){x(h===o,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),o=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(W,"base64");for(var e=window.atob(W),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){b("failed to asynchronously prepare wasm: "+e),_(d)&&b("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),q(e)})).catch(n)}(),h.___wasm_call_ctors=J("__wasm_call_ctors");var et=h._emscripten_bind_VoidPtr___destroy___0=J("emscripten_bind_VoidPtr___destroy___0"),er=h._emscripten_bind_Crc64Hash_Crc64Hash_0=J("emscripten_bind_Crc64Hash_Crc64Hash_0"),ei=h._emscripten_bind_Crc64Hash_OnAppend_2=J("emscripten_bind_Crc64Hash_OnAppend_2"),en=h._emscripten_bind_Crc64Hash_OnFinal_3=J("emscripten_bind_Crc64Hash_OnFinal_3"),es=h._emscripten_bind_Crc64Hash___destroy___0=J("emscripten_bind_Crc64Hash___destroy___0");h.___errno_location=J("__errno_location"),h._fflush=J("fflush"),h._malloc=J("malloc"),h._free=J("free");var eo=h._emscripten_stack_init=function(){return(eo=h._emscripten_stack_init=h.asm.emscripten_stack_init).apply(null,arguments)},ea=(h._emscripten_stack_get_free=function(){return(h._emscripten_stack_get_free=h.asm.emscripten_stack_get_free).apply(null,arguments)},h._emscripten_stack_get_base=function(){return(h._emscripten_stack_get_base=h.asm.emscripten_stack_get_base).apply(null,arguments)},h._emscripten_stack_get_end=function(){return(ea=h._emscripten_stack_get_end=h.asm.emscripten_stack_get_end).apply(null,arguments)});function eA(e){var t,r;if(e=e||p,!(H>0)){if(eo(),x((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,h.preRun)for("function"==typeof h.preRun&&(h.preRun=[h.preRun]);h.preRun.length;){r=h.preRun.shift(),T.unshift(r)}X(T),H>0||(h.setStatus?(h.setStatus("Running..."),setTimeout(function(){setTimeout(function(){h.setStatus("")},1),n()},1)):n(),v())}function n(){if(!g&&(g=!0,h.calledRun=!0,!D)){if(x(!P),P=!0,v(),X(L),i(h),h.onRuntimeInitialized&&h.onRuntimeInitialized(),x(!h._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),v(),h.postRun)for("function"==typeof h.postRun&&(h.postRun=[h.postRun]);h.postRun.length;){var e;e=h.postRun.shift(),O.unshift(e)}X(O)}}}if(h.stackSave=J("stackSave"),h.stackRestore=J("stackRestore"),h.stackAlloc=J("stackAlloc"),h._emscripten_stack_get_current=function(){return(h._emscripten_stack_get_current=h.asm.emscripten_stack_get_current).apply(null,arguments)},h.dynCall_jiji=J("dynCall_jiji"),h.___start_em_js=5261488,h.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(h,e)||Object.defineProperty(h,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";w(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),q(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",w(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),Z(t)}})}),G=function e(){g||eA(),g||(G=e)},h.preInit)for("function"==typeof h.preInit&&(h.preInit=[h.preInit]);h.preInit.length>0;)h.preInit.pop()();function el(){}function ec(e){return(e||el).__cache__}function ed(e,t){var r=ec(t),i=r[e];return i||((i=Object.create((t||el).prototype)).ptr=e,r[e]=i)}function eg(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=er(),ec(eu)[this.ptr]=this}return eA(),el.prototype=Object.create(el.prototype),el.prototype.constructor=el,el.prototype.__class__=el,el.__cache__={},h.WrapperObject=el,h.getCache=ec,h.wrapPointer=ed,h.castObject=function(e,t){return ed(e.ptr,t)},h.NULL=ed(0),h.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ec(e.__class__)[e.ptr]},h.compare=function(e,t){return e.ptr===t.ptr},h.getPointer=function(e){return e.ptr},h.getClass=function(e){return e.__class__},eg.prototype=Object.create(el.prototype),eg.prototype.constructor=eg,eg.prototype.__class__=eg,eg.__cache__={},h.VoidPtr=eg,eg.prototype.__destroy__=eg.prototype.__destroy__=function(){et(this.ptr)},eu.prototype=Object.create(el.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},h.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),ei(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),en(i,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){es(this.ptr)},e.ready});class nb{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new nb.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=nN().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=nb.nativeInstance._malloc(t);nb.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),nb.nativeInstance._free(r)}final(e,t){let r=nb.nativeInstance._malloc(t);nb.nativeInstance.HEAPU8.set(e,r);let i=nb.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),nb.nativeInstance._free(r);let n=new Uint8Array(8);return n.set(nb.nativeInstance.HEAPU8.subarray(i,i+8)),nb.nativeInstance._free(i),n}}(h=D||(D={}))[h.StreamHeader=0]="StreamHeader",h[h.StreamFooter=1]="StreamFooter",h[h.SegmentHeader=2]="SegmentHeader",h[h.SegmentFooter=3]="SegmentFooter",h[h.SegmentContent=4]="SegmentContent",h[h.Completed=5]="Completed";class nS{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=D.StreamHeader,this.segmentCrc64=new nb,this.messageCrc64=new nb}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===D.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===D.SegmentHeader&&this.handlingSegmentHeader(),this.state===D.SegmentContent&&this.handlingSegmentContent(e),this.state===D.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===D.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=D.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=D.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=D.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new nb,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=D.StreamFooter:this.state=D.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=D.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function nw(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof e$&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new nR(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new nR(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await nx(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new e$.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new nR(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=e$.Readable.from(Buffer.from(e)),i=await new nR(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=e$.Readable.from(e),i=await new nR(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=e$.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new nR(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function nD(e,t,r){let{done:i,value:n}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(n))}async function nx(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),n=new Response(new ReadableStream({start(e){r=new nS(t=>{e.enqueue(t)},t)},pull(e){nD(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await n.blob(),encodedContentLength:r.messageLength}}class nR extends e$.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new nS(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new tv("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(m=x||(x={}))[m.StreamHeader=0]="StreamHeader",m[m.StreamFooter=1]="StreamFooter",m[m.SegmentHeader=2]="SegmentHeader",m[m.SegmentFooter=3]="SegmentFooter",m[m.SegmentContent=4]="SegmentContent";class nM{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=x.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new nb,this.messageCrc64=new nb}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===x.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===x.SegmentHeader&&this.parseSegmentHeader(e),this.state===x.SegmentContent&&this.parseSegmentContent(e),this.state===x.SegmentFooter&&this.parseSegmentFooter(e);this.state===x.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=x.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=x.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=x.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=x.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new nb,this.state=x.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class nk extends e$.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new nM(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new tv("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class nv{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class nU extends nv{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class nF{create(e,t){return new nU(e,t)}}class nT extends nv{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class nL extends nT{constructor(e,t){super(e,t)}}class nO{create(e,t){throw Error("Method should be implemented in children classes.")}}class nP extends nO{create(e,t){return new nL(e,t)}}let nH="timeout",nY="Authorization",nG="Content-Encoding",nz="Content-Language",nq="Content-Length",nV="Content-Md5",n_="Content-Type",nJ="date",nW="if-match",nj="if-modified-since",nX="if-none-match",nK="if-unmodified-since",nZ="x-ms-",n$="Range",n0="x-ms-date",n1="x-ms-copy-source-error-code";function n2(e,t,r){let i=new URL(e),n=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&a.push(e)}return s&&a.push(`${n}=${s}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function n5(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function n3(e){try{return new URL(e).pathname}catch(e){return}}function n4(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],n=t[1];i[r]=n}return i}async function n8(e,t,r){return new Promise((i,n)=>{let s,o=()=>{void 0!==s&&clearTimeout(s),n(r)};s=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",o),i()},e),void 0!==t&&t.addEventListener("abort",o)})}let n9=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),n6=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),n7=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function se(e,t){return!function(e,t){let r=[n9,n6,n7],i=0,n=0,s=0;for(;i<r.length;){if(i===r.length-1&&n!==s)return n>s;let o=n<e.length?r[i][e[n].charCodeAt(0)]:1,a=s<t.length?r[i][t[s].charCodeAt(0)]:1;if(1===o&&1===a)n=0,s=0,++i;else if(o===a)++n,++s;else if(0===o)++n;else{if(0!==a)return o<a;++s}}return!1}(e,t)?1:-1}class st extends nT{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(n0,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(nq,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,nz),this.getHeaderValueToSign(e,nG),this.getHeaderValueToSign(e,nq),this.getHeaderValueToSign(e,nV),this.getHeaderValueToSign(e,n_),this.getHeaderValueToSign(e,nJ),this.getHeaderValueToSign(e,nj),this.getHeaderValueToSign(e,nW),this.getHeaderValueToSign(e,nX),this.getHeaderValueToSign(e,nK),this.getHeaderValueToSign(e,n$)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(nY,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==nq||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(nZ));t.sort((e,t)=>se(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}getCanonicalizedResourceString(e){let t=n3(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=n4(e.url),n={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();n[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` -${t}:${decodeURIComponent(n[t])}`}return r}}class sr extends nO{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new st(e,t,this)}computeHMACSHA256(e){return(0,ed.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let si=tb("storage-common");(p=R||(R={}))[p.EXPONENTIAL=0]="EXPONENTIAL",p[p.FIXED=1]="FIXED";let sn={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:R.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},ss=new tv("The operation was aborted.");class so extends nv{retryOptions;constructor(e,t,r=sn){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:sn.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):sn.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:sn.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:sn.maxRetryDelayInMs):sn.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:sn.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:sn.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,n=e.clone(),s=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;s||(n.url=n5(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=n2(n.url,nH,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(si.info(`RetryPolicy: =====> Try=${r} ${s?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(n),!this.shouldRetry(s,r,i))return i;t=t||!s&&404===i.status}catch(e){if(si.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(s,r,i,e))throw e}return await this.delay(s,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return si.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return si.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return si.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return si.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(n1);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(si.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case R.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case R.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return si.info(`RetryPolicy: Delay for ${i}ms`),n8(i,r,ss)}}class sa{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new so(e,t,this.retryOptions)}}let sA={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:R.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},sl=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],sc=new tv("The operation was aborted.");class sd{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,ed.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let sg="12.33.0",su="2026-06-06",sh="snapshot",sm="versionid",sp=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],sC=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],sf=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function sI(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class sE{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function sy(e,t={}){e||(e=new nP);let r=new sE([],t);return r._credential=e,r}function sB(e){if(e._credential)return e._credential;let t=new nP;for(let r of e.factories)if(tZ(r.credential))t=r.credential;else if(sQ(r))return r;return t}function sQ(e){return e instanceof sr||"StorageSharedKeyCredential"===e.constructor.name}function sN(e){return e instanceof nP||"AnonymousCredential"===e.constructor.name}function sb(e){return tZ(e.credential)}function sS(e){return e instanceof nF||"StorageBrowserPolicyFactory"===e.constructor.name}function sw(e){return e instanceof sa||"StorageRetryPolicyFactory"===e.constructor.name}function sD(e){return"TelemetryPolicyFactory"===e.constructor.name}function sx(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(M||(M={})).AES256="AES256",(k||(k={})).Backup="backup",(C=v||(v={})).NeverExpire="NeverExpire",C.RelativeToCreation="RelativeToCreation",C.RelativeToNow="RelativeToNow",C.Absolute="Absolute",(f=U||(U={})).AccountAlreadyExists="AccountAlreadyExists",f.AccountBeingCreated="AccountBeingCreated",f.AccountIsDisabled="AccountIsDisabled",f.AuthenticationFailed="AuthenticationFailed",f.AuthorizationFailure="AuthorizationFailure",f.ConditionHeadersNotSupported="ConditionHeadersNotSupported",f.ConditionNotMet="ConditionNotMet",f.EmptyMetadataKey="EmptyMetadataKey",f.InsufficientAccountPermissions="InsufficientAccountPermissions",f.InternalError="InternalError",f.InvalidAuthenticationInfo="InvalidAuthenticationInfo",f.InvalidHeaderValue="InvalidHeaderValue",f.InvalidHttpVerb="InvalidHttpVerb",f.InvalidInput="InvalidInput",f.InvalidMd5="InvalidMd5",f.InvalidMetadata="InvalidMetadata",f.InvalidQueryParameterValue="InvalidQueryParameterValue",f.InvalidRange="InvalidRange",f.InvalidResourceName="InvalidResourceName",f.InvalidUri="InvalidUri",f.InvalidXmlDocument="InvalidXmlDocument",f.InvalidXmlNodeValue="InvalidXmlNodeValue",f.Md5Mismatch="Md5Mismatch",f.MetadataTooLarge="MetadataTooLarge",f.MissingContentLengthHeader="MissingContentLengthHeader",f.MissingRequiredQueryParameter="MissingRequiredQueryParameter",f.MissingRequiredHeader="MissingRequiredHeader",f.MissingRequiredXmlNode="MissingRequiredXmlNode",f.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",f.OperationTimedOut="OperationTimedOut",f.OutOfRangeInput="OutOfRangeInput",f.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",f.RequestBodyTooLarge="RequestBodyTooLarge",f.ResourceTypeMismatch="ResourceTypeMismatch",f.RequestUrlFailedToParse="RequestUrlFailedToParse",f.ResourceAlreadyExists="ResourceAlreadyExists",f.ResourceNotFound="ResourceNotFound",f.ServerBusy="ServerBusy",f.UnsupportedHeader="UnsupportedHeader",f.UnsupportedXmlNode="UnsupportedXmlNode",f.UnsupportedQueryParameter="UnsupportedQueryParameter",f.UnsupportedHttpVerb="UnsupportedHttpVerb",f.AppendPositionConditionNotMet="AppendPositionConditionNotMet",f.BlobAlreadyExists="BlobAlreadyExists",f.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",f.BlobNotFound="BlobNotFound",f.BlobOverwritten="BlobOverwritten",f.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",f.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",f.BlockCountExceedsLimit="BlockCountExceedsLimit",f.BlockListTooLong="BlockListTooLong",f.CannotChangeToLowerTier="CannotChangeToLowerTier",f.CannotVerifyCopySource="CannotVerifyCopySource",f.ContainerAlreadyExists="ContainerAlreadyExists",f.ContainerBeingDeleted="ContainerBeingDeleted",f.ContainerDisabled="ContainerDisabled",f.ContainerNotFound="ContainerNotFound",f.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",f.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",f.CopyIdMismatch="CopyIdMismatch",f.FeatureVersionMismatch="FeatureVersionMismatch",f.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",f.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",f.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",f.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",f.InvalidBlobOrBlock="InvalidBlobOrBlock",f.InvalidBlobTier="InvalidBlobTier",f.InvalidBlobType="InvalidBlobType",f.InvalidBlockId="InvalidBlockId",f.InvalidBlockList="InvalidBlockList",f.InvalidOperation="InvalidOperation",f.InvalidPageRange="InvalidPageRange",f.InvalidSourceBlobType="InvalidSourceBlobType",f.InvalidSourceBlobUrl="InvalidSourceBlobUrl",f.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",f.LeaseAlreadyPresent="LeaseAlreadyPresent",f.LeaseAlreadyBroken="LeaseAlreadyBroken",f.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",f.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",f.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",f.LeaseIdMissing="LeaseIdMissing",f.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",f.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",f.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",f.LeaseLost="LeaseLost",f.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",f.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",f.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",f.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",f.NoAuthenticationInformation="NoAuthenticationInformation",f.NoPendingCopyOperation="NoPendingCopyOperation",f.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",f.PendingCopyOperation="PendingCopyOperation",f.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",f.PreviousSnapshotNotFound="PreviousSnapshotNotFound",f.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",f.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",f.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",f.SnapshotCountExceeded="SnapshotCountExceeded",f.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",f.SnapshotsPresent="SnapshotsPresent",f.SourceConditionNotMet="SourceConditionNotMet",f.SystemInUse="SystemInUse",f.TargetConditionNotMet="TargetConditionNotMet",f.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",f.BlobBeingRehydrated="BlobBeingRehydrated",f.BlobArchived="BlobArchived",f.BlobNotArchived="BlobNotArchived",f.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",f.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",f.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",f.AuthorizationServiceMismatch="AuthorizationServiceMismatch",f.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",f.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let sR={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},sM={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},sk={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},sv={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},sU={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},sF={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},sT={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},sL={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},sO={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},sP={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},sH={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},sY={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},sG={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},sz={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},sq={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},sV={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},s_={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},sJ={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},sW={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},sj={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},sX={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},sK={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},sZ={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},s$={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},s0={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},s1={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},s2={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},s5={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},s3={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},s4={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},s8={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},s9={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},s6={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},s7={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},oe={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},ot={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},or={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},oi={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},on={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},os={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},oo={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},oa={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oA={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ol={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oc={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},od={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},og={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ou={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oh={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},om={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},op={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oC={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},of={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oI={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oE={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oy={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oB={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oQ={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oN={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ob={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oS={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ow={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oD={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ox={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oM={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ok={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ov={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oU={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oF={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oL={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oO={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oP={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},oH={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oY={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oG={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oz={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oq={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oV={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},o_={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oJ={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oW={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oj={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oX={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oK={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oZ={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o$={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o0={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o1={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o2={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o5={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},o3={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o4={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},o8={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o9={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o6={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o7={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ae={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},at={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ar={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ai={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},an={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},as={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ao={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aa={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},aA={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},al={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ac={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ad={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},ag={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},au={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ah={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},am={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ap={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aC={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},af={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aI={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},aE={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ay={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},aB={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aQ={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},aN={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ab={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aS={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aw={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aD={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},ax={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aR={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},aM={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ak={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},av={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aU={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aF={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},aT={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aL={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},aO={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aP={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aH={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aY={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aG={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},az={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aq={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aV={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a_={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aJ={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aW={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aj={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aX={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},aK={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},aZ={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a$={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a0={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a1={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a2={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a5={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a3={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a4={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a8={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a9={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a6={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},a7={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ae={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},At={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ar={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Ai={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},An={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},As={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ao={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Aa={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AA={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Al={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ac={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ad={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ag={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Au={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ah={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Am={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ap={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},AC={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Af={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},AI={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},AE={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Ay={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AB={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},AQ={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},AN={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},Ab={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},AS={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Aw={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},AD={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},Ax={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},AR={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},AM={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},Ak={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Av={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AU={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},AF={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},AT={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AL={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},AO={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},AP={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},AH={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},AY={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},AG={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},Az={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},Aq={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AV={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},A_={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AJ={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},AW={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},Aj={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},AX={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},AK={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},AZ={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},A$={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},A0={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},A1={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},A2={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},A5={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},A3={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},A4={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},A8={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},A9={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},A6={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},A7={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},le={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},lt={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},lr={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},li={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},ln={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},ls={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},lo={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},la={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},lA={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},ll={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},lc={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},ld={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},lg={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lu={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},lh={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},lm={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},lp={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},lC={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},lf={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},lI={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},lE={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},ly={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},lB={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},lQ={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},lN={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},lb={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},lS={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},lw={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},lD={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},lx={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},lR={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lM={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},lk={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},lv={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},lU={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},lF={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},lT={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},lL={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},lO={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},lP={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},lH={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},lY={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},lG={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lz={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},lq={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},lV={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},l_={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},lJ={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},lW={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},lj={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},lX={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},lK={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},lZ={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},l$={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l0={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l1={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},l2={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},l5={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},l3={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},l4={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},l8={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},l9={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class l6{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},ce)}getProperties(e){return this.client.sendOperationRequest({options:e},ct)}getStatistics(e){return this.client.sendOperationRequest({options:e},cr)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},ci)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},cn)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},cs)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},co)}filterBlobs(e){return this.client.sendOperationRequest({options:e},ca)}}let l7=t8(q,!0),ce={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:oa},default:{bodyMapper:sT,headersMapper:oA}},requestBody:{parameterPath:"blobServiceProperties",mapper:sR},queryParameters:[AE,Ay,AB],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:l7},ct={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sR,headersMapper:ol},default:{bodyMapper:sT,headersMapper:oc}},queryParameters:[AE,Ay,AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7},cr={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sL,headersMapper:od},default:{bodyMapper:sT,headersMapper:og}},queryParameters:[AE,AB,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7},ci={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sP,headersMapper:ou},default:{bodyMapper:sT,headersMapper:oh}},queryParameters:[AB,AS,Aw,AD,Ax,AR],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7},cn={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:sz,headersMapper:om},default:{bodyMapper:sT,headersMapper:op}},requestBody:{parameterPath:"keyInfo",mapper:sG},queryParameters:[AE,AB,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:l7},cs={path:"/",httpMethod:"GET",responses:{200:{headersMapper:oC},default:{bodyMapper:sT,headersMapper:of}},queryParameters:[Ay,AB,AM],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7},co={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oI},default:{bodyMapper:sT,headersMapper:oE}},requestBody:Ak,queryParameters:[AB,Av],urlParameters:[AI],headerParameters:[Af,AQ,AN,AU,AF],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:l7},ca={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:sq,headersMapper:oy},default:{bodyMapper:sT,headersMapper:oB}},queryParameters:[AB,AD,Ax,AT,AL],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:l7};class cA{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},cc)}getProperties(e){return this.client.sendOperationRequest({options:e},cd)}delete(e){return this.client.sendOperationRequest({options:e},cg)}setMetadata(e){return this.client.sendOperationRequest({options:e},cu)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},ch)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},cm)}restore(e){return this.client.sendOperationRequest({options:e},cp)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},cC)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},cf)}filterBlobs(e){return this.client.sendOperationRequest({options:e},cI)}acquireLease(e){return this.client.sendOperationRequest({options:e},cE)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},cy)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},cB)}breakLease(e){return this.client.sendOperationRequest({options:e},cQ)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},cN)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},cb)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},cS)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},cw)}}let cl=t8(q,!0),cc={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:oQ},default:{bodyMapper:sT,headersMapper:oN}},queryParameters:[AB,AO],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AH,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:cl},cd={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:ob},default:{bodyMapper:sT,headersMapper:oS}},queryParameters:[AB,AO],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY],isXML:!0,serializer:cl},cg={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:ow},default:{bodyMapper:sT,headersMapper:oD}},queryParameters:[AB,AO],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az],isXML:!0,serializer:cl},cu={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ox},default:{bodyMapper:sT,headersMapper:oR}},queryParameters:[AB,AO,Aq],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG],isXML:!0,serializer:cl},ch={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:oM},default:{bodyMapper:sT,headersMapper:ok}},queryParameters:[AB,AO,AV],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY],isXML:!0,serializer:cl},cm={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:ov},default:{bodyMapper:sT,headersMapper:oU}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[AB,AO,AV],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN,AH,AY,AG,Az],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cl},cp={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:oF},default:{bodyMapper:sT,headersMapper:oT}},queryParameters:[AB,AO,A_],urlParameters:[AI],headerParameters:[AQ,AN,Ab,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:cl},cC={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oL},default:{bodyMapper:sT,headersMapper:oO}},queryParameters:[AB,AO,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:cl},cf={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oP},default:{bodyMapper:sT,headersMapper:oH}},requestBody:Ak,queryParameters:[AB,Av,AO],urlParameters:[AI],headerParameters:[Af,AQ,AN,AU,AF],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cl},cI={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:sq,headersMapper:oY},default:{bodyMapper:sT,headersMapper:oG}},queryParameters:[AB,AD,Ax,AT,AL,AO],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cl},cE={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:oz},default:{bodyMapper:sT,headersMapper:oq}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AW,Aj,AX],isXML:!0,serializer:cl},cy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oV},default:{bodyMapper:sT,headersMapper:o_}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AK,AZ],isXML:!0,serializer:cl},cB={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oJ},default:{bodyMapper:sT,headersMapper:oW}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AZ,A$],isXML:!0,serializer:cl},cQ={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:oj},default:{bodyMapper:sT,headersMapper:oX}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,A0,A1],isXML:!0,serializer:cl},cN={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:oK},default:{bodyMapper:sT,headersMapper:oZ}},queryParameters:[AB,AO,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AZ,A2,A5],isXML:!0,serializer:cl},cb={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:sX,headersMapper:o$},default:{bodyMapper:sT,headersMapper:o0}},queryParameters:[AB,AS,Aw,AD,Ax,AO,A3,A4],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cl},cS={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:s1,headersMapper:o1},default:{bodyMapper:sT,headersMapper:o2}},queryParameters:[AB,AS,Aw,AD,Ax,AO,A3,A4,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cl},cw={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:o5},default:{bodyMapper:sT,headersMapper:o3}},queryParameters:[Ay,AB,AM],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cl};class cD{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},cR)}getProperties(e){return this.client.sendOperationRequest({options:e},cM)}delete(e){return this.client.sendOperationRequest({options:e},ck)}undelete(e){return this.client.sendOperationRequest({options:e},cv)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},cU)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},cF)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},cT)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},cL)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},cO)}setMetadata(e){return this.client.sendOperationRequest({options:e},cP)}acquireLease(e){return this.client.sendOperationRequest({options:e},cH)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},cY)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},cG)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},cz)}breakLease(e){return this.client.sendOperationRequest({options:e},cq)}createSnapshot(e){return this.client.sendOperationRequest({options:e},cV)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},c_)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},cJ)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},cW)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},cj)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},cX)}query(e){return this.client.sendOperationRequest({options:e},cK)}getTags(e){return this.client.sendOperationRequest({options:e},cZ)}setTags(e){return this.client.sendOperationRequest({options:e},c$)}}let cx=t8(q,!0),cR={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:o4},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:o4},default:{bodyMapper:sT,headersMapper:o8}},queryParameters:[AB,A8,A9],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,A6,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},A7,le,lt,lr,li,ln,ls],isXML:!0,serializer:cx},cM={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:o9},default:{bodyMapper:sT,headersMapper:o6}},queryParameters:[AB,A8,A9],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,le,lt,lr,li,ln,ls],isXML:!0,serializer:cx},ck={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:o7},default:{bodyMapper:sT,headersMapper:ae}},queryParameters:[AB,A8,A9,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,li,ln,ls,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:cx},cv={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:at},default:{bodyMapper:sT,headersMapper:ar}},queryParameters:[AB,A_],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cx},cU={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ai},default:{bodyMapper:sT,headersMapper:an}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:cx},cF={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:as},default:{bodyMapper:sT,headersMapper:ao}},queryParameters:[Ay,AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,li,ln,ls,lo,la,lA,ll,lc,ld],isXML:!0,serializer:cx},cT={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aa},default:{bodyMapper:sT,headersMapper:aA}},queryParameters:[AB,A8,A9,lg],urlParameters:[AI],headerParameters:[AQ,AN,Ab,Az,lu,lh],isXML:!0,serializer:cx},cL={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:al},default:{bodyMapper:sT,headersMapper:ac}},queryParameters:[AB,A8,A9,lg],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cx},cO={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ad},default:{bodyMapper:sT,headersMapper:ag}},queryParameters:[AB,A8,A9,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:cx},cP={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:au},default:{bodyMapper:sT,headersMapper:ah}},queryParameters:[AB,Aq],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lm],isXML:!0,serializer:cx},cH={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:am},default:{bodyMapper:sT,headersMapper:ap}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AW,Aj,AX,li,ln,ls],isXML:!0,serializer:cx},cY={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aC},default:{bodyMapper:sT,headersMapper:af}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AK,AZ,li,ln,ls],isXML:!0,serializer:cx},cG={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:aI},default:{bodyMapper:sT,headersMapper:aE}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AZ,A$,li,ln,ls],isXML:!0,serializer:cx},cz={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ay},default:{bodyMapper:sT,headersMapper:aB}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,AZ,A2,A5,li,ln,ls],isXML:!0,serializer:cx},cq={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:aQ},default:{bodyMapper:sT,headersMapper:aN}},queryParameters:[AB,AJ],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,A0,A1,li,ln,ls],isXML:!0,serializer:cx},cV={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ab},default:{bodyMapper:sT,headersMapper:aS}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lm],isXML:!0,serializer:cx},c_={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:aw},default:{bodyMapper:sT,headersMapper:aD}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG,Az,li,ln,ls,lu,lh,lp,lC,lf,lI,lE,ly,lB,lQ,lN,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},lb],isXML:!0,serializer:cx},cJ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ax},default:{bodyMapper:sT,headersMapper:aR}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AP,AY,AG,Az,li,ln,ls,lu,lh,lm,lp,lf,lI,lE,ly,lQ,lN,lb,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},lS,lw,lD,lx],isXML:!0,serializer:cx},cW={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:aM},default:{bodyMapper:sT,headersMapper:ak}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:cx},cj={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:av},202:{headersMapper:av},default:{bodyMapper:sT,headersMapper:aU}},queryParameters:[AB,A8,A9,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,ls,lC,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:cx},cX={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:aF},default:{bodyMapper:sT,headersMapper:aT}},queryParameters:[Ay,AB,AM],urlParameters:[AI],headerParameters:[AQ,AN,Ab],isXML:!0,serializer:cx},cK={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:aL},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:aL},default:{bodyMapper:sT,headersMapper:aO}},requestBody:{parameterPath:["options","queryRequest"],mapper:oe},queryParameters:[AB,A8,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN,AY,AG,Az,le,lt,lr,li,ln,ls],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cx},cZ={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:s_,headersMapper:aP},default:{bodyMapper:sT,headersMapper:aH}},queryParameters:[AB,A8,A9,lR],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,ls,lM,lk,lv,lU],isXML:!0,serializer:cx},c$={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:aY},default:{bodyMapper:sT,headersMapper:aG}},requestBody:{parameterPath:["options","tags"],mapper:s_},queryParameters:[AB,A9,lR],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN,AY,ls,lM,lk,lv,lU,lF,lT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:cx};class c0{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},c2)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},c5)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},c3)}uploadPagesFromURL(e,t,r,i,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:n},c4)}getPageRanges(e){return this.client.sendOperationRequest({options:e},c8)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},c9)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},c6)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},c7)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},de)}}let c1=t8(q,!0),c2={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:az},default:{bodyMapper:sT,headersMapper:aq}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lu,lh,lm,lp,lN,lb,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},lL,lO],isXML:!0,serializer:c1},c5={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aV},default:{bodyMapper:sT,headersMapper:a_}},requestBody:lH,queryParameters:[AB,lG],urlParameters:[AI],headerParameters:[AQ,AN,AU,AY,AG,Az,A6,A7,le,lt,lr,li,ln,ls,lm,lF,lT,lP,lY,lz,lq,lV,l_,lJ],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:c1},c3={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aJ},default:{bodyMapper:sT,headersMapper:aW}},queryParameters:[AB,lG],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AY,AG,Az,A6,le,lt,lr,li,ln,ls,lm,lq,lV,l_,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:c1},c4={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:aj},default:{bodyMapper:sT,headersMapper:aX}},queryParameters:[AB,lG],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AY,AG,Az,le,lt,lr,li,ln,ls,lm,lf,lI,lE,ly,lS,lw,lx,lz,lq,lV,l_,lW,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},lj,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},lX,lK,lZ],isXML:!0,serializer:c1},c8={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:s9,headersMapper:aK},default:{bodyMapper:sT,headersMapper:aZ}},queryParameters:[AB,AD,Ax,A8,l$],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,A6,li,ln,ls],isXML:!0,serializer:c1},c9={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:s9,headersMapper:a$},default:{bodyMapper:sT,headersMapper:a0}},queryParameters:[AB,AD,Ax,A8,l$,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,A6,li,ln,ls,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:c1},c6={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:a1},default:{bodyMapper:sT,headersMapper:a2}},queryParameters:[Ay,AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,le,lt,lr,li,ln,ls,lm,lL],isXML:!0,serializer:c1},c7={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:a5},default:{bodyMapper:sT,headersMapper:a3}},queryParameters:[Ay,AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,li,ln,ls,lO,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:c1},de={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:a4},default:{bodyMapper:sT,headersMapper:a8}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AG,Az,li,ln,ls,lQ],isXML:!0,serializer:c1};class dt{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},di)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},dn)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},ds)}seal(e){return this.client.sendOperationRequest({options:e},da)}}let dr=t8(q,!0),di={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:a9},default:{bodyMapper:sT,headersMapper:a6}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lu,lh,lm,lN,lb,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:dr},dn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:a7},default:{bodyMapper:sT,headersMapper:Ae}},requestBody:lH,queryParameters:[AB,l0],urlParameters:[AI],headerParameters:[AQ,AN,AU,AY,AG,Az,A7,le,lt,lr,li,ln,ls,lm,lF,lT,lP,lY,lJ,l1,l2],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:dr},ds={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:At},default:{bodyMapper:sT,headersMapper:Ar}},queryParameters:[AB,l0],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AY,AG,Az,le,lt,lr,li,ln,ls,lm,lf,lI,lE,ly,lS,lw,lx,lF,lW,lj,lX,lK,lZ,l1,l2,l5],isXML:!0,serializer:dr},da={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Ai},default:{bodyMapper:sT,headersMapper:An}},queryParameters:[AB,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,AG,Az,li,ln,l2],isXML:!0,serializer:dr};class dA{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},dc)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},dd)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},dg)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},du)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},dh)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},dm)}}let dl=t8(q,!0),dc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:As},default:{bodyMapper:sT,headersMapper:Ao}},requestBody:lH,queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,AU,AP,AY,AG,Az,A7,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lu,lh,lm,lp,lN,lb,lF,lT,lP,lY,lJ,l3],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:dl},dd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Aa},default:{bodyMapper:sT,headersMapper:AA}},queryParameters:[AB],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lm,lp,lf,lI,lE,ly,lB,lQ,lN,lS,lw,lD,lx,lF,lX,lK,lZ,l3,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:dl},dg={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Al},default:{bodyMapper:sT,headersMapper:Ac}},requestBody:lH,queryParameters:[AB,l4,l8],urlParameters:[AI],headerParameters:[AQ,AN,AU,AY,A7,le,lt,lr,lm,lF,lT,lP,lY,lJ],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:dl},du={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Ad},default:{bodyMapper:sT,headersMapper:Ag}},queryParameters:[AB,l4,l8],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AU,AY,le,lt,lr,lm,lf,lI,lE,ly,lS,lw,lx,lW,lj,lX,lK,lZ,l5],isXML:!0,serializer:dl},dh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Au},default:{bodyMapper:sT,headersMapper:Ah}},requestBody:{parameterPath:"blocks",mapper:s3},queryParameters:[AB,l9],urlParameters:[AI],headerParameters:[AC,Af,AQ,AN,AP,AY,AG,Az,le,lt,lr,li,ln,ls,lo,la,lA,ll,lc,ld,lu,lh,lm,lp,lN,lb,lF,lT],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dl},dm={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:s4,headersMapper:Am},default:{bodyMapper:sT,headersMapper:Ap}},queryParameters:[AB,A8,l9,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[AI],headerParameters:[AQ,AN,Ab,AY,ls],isXML:!0,serializer:dl};class dp extends rU{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new l6(this),this.container=new cA(this),this.blob=new cD(this),this.pageBlob=new c0(this),this.appendBlob=new dt(this),this.blockBlob=new dA(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class dC extends dp{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let df=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function dI(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function dE(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=dI(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",n="",s=Buffer.from("accountKey","base64"),o="";if(n=dI(e,"AccountName"),s=Buffer.from(dI(e,"AccountKey"),"base64"),!r){let t=(i=dI(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(o=dI(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${n}.blob.${o}`}if(n){if(0===s.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:s,proxyUri:t}}{let t=dI(e,"SharedAccessSignature"),i=dI(e,"AccountName");if(i||(i=dw(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function dy(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function dB(e,t,r){let i=new URL(e),n=encodeURIComponent(t),s=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&a.push(e)}return s&&a.push(`${n}=${s}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function dQ(e,t){return new URL(e).searchParams.get(t)??void 0}function dN(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function db(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function dS(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function dw(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<df.length;++e){let r=df[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=dD(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function dD(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&sf.includes(e.port)}function dx(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function dR(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function dM(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let n={ruleId:i[1],replicationStatus:e[r]},s=t.findIndex(e=>e.policyId===i[0]);s>-1?t[s].rules.push(n):t.push({policyId:i[0],rules:[n]})}return t}function dk(e){return e?e.scheme+" "+e.value:void 0}function*dv(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,n=0;for(;i<t.length&&n<r.length;)t[i].start<r[n].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[n].start,end:r[n].end,isClear:!0},++n);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;n<r.length;++n)yield{start:r[n].start,end:r[n].end,isClear:!0}}function dU(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function dF(e,t,r,i,n){let s,o=i.contentChecksumAlgorithm??n;return void 0===o&&(o="Customized"),"Auto"===o&&(o="StorageCrc64"),"Customized"===o?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===o&&(await nb.init(),s=await nw(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===o?s.body:e,contentLength:"StorageCrc64"===o?s.encodedContentLength:t,contentChecksumAlgorithm:o}}class dT{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=dw(e),this.pipeline=t,this.storageClientContext=new dC(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>rv(await t.sendRequest(rw(e,{createProxy:!0})))}:(l||(l=tz()),l));let n=e._corePipeline;if(!n){let t=`azsdk-js-azure-storage-blob/${sg}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(n=rp({...r,loggingOptions:{additionalAllowedHeaderNames:sp,additionalAllowedQueryParameters:sC,logger:np.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:nh,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:nm,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),n.removePolicy({name:tw}),n.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(nq,Buffer.byteLength(e.body)),t(e))}),n.addPolicy(function(e={}){let t=e.retryPolicyType??sA.retryPolicyType,r=e.maxTries??sA.maxTries,i=e.retryDelayInMs??sA.retryDelayInMs,n=e.maxRetryDelayInMs??sA.maxRetryDelayInMs,s=e.secondaryHost??sA.secondaryHost,o=e.tryTimeoutInMs??sA.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,a){let A,l;o&&(e.url=n2(e.url,nH,String(Math.floor(o/1e3))));let c=e.url,d=s?n5(e.url,s):void 0,g=!1,u=1,h=!0;for(;h;){let s=g||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||u%2==1;e.url=s?c:d,A=void 0,l=void 0;try{si.info(`RetryPolicy: =====> Try=${u} ${s?"Primary":"Secondary"}`),A=await a(e),g=g||!s&&404===A.status}catch(e){if(ej(e))si.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw si.error(`RetryPolicy: Caught error, message: ${tF(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:n}){if(t>=r)return si.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(n){for(let e of sl)if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e)return si.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag'))return si.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||n){let t=i?.status??n?.statusCode??0;if(!e&&404===t)return si.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return si.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(n1);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:s,attempt:u,response:A,error:l}))&&await n8(function(e,r){let s=0;if(e)switch(t){case R.EXPONENTIAL:s=Math.min((Math.pow(2,r-1)-1)*i,n);break;case R.FIXED:s=i}else s=1e3*Math.random();return si.info(`RetryPolicy: Delay for ${s}ms`),s}(s,u),e.abortSignal,sc),u++}if(A)return A;throw l??new eW("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),n.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),n.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let s=function(e){let t=[sN,sQ,sb,sS,sw,sD,sx];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>rk(await r(rS(e)),{createProxy:!0})};for(let t of e)i=t.create(i,rF);let n=rw(t,{createProxy:!0});return rv(await i.sendRequest(n))}}),afterRetry:t}}}}(e);s&&n.addPolicy(s.wrappedPolicies,s.afterRetry?{afterPhase:"Retry"}:void 0);let o=sB(e);tZ(o)?n.addPolicy(tX({credential:o,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:rB}}),{phase:"Sign"}):o instanceof sr&&n.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==nq||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let n,s;return r.headers.set(n0,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(nq,Buffer.byteLength(r.body)),n=[r.method.toUpperCase(),t(r,nz),t(r,nG),t(r,nq),t(r,nV),t(r,n_),t(r,nJ),t(r,nj),t(r,nW),t(r,nX),t(r,nK),t(r,n$)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(nZ)&&t.push({name:r,value:i});t.sort((e,t)=>se(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}(r)+function(t){let r=n3(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let n=n4(t.url),s={};if(n){let e=[];for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)){let r=t.toLowerCase();s[r]=n[t],e.push(r)}for(let t of(e.sort(),e))i+=` -${t}:${decodeURIComponent(s[t])}`}return i}(r),s=(0,ed.createHmac)("sha256",e.accountKey).update(n,"utf8").digest("base64"),r.headers.set(nY,`SharedKey ${e.accountName}:${s}`),i(r)}}}({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"}),e._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:n}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=sB(t),this.storageClientContext.requestContentType=void 0}}let dL=tY({packageName:"@azure/storage-blob",packageVersion:sg,namespace:"Microsoft.Storage"});class dO{static parse(e){let t=new dO;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new dO;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class dP{static parse(e){let t=new dP;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new dP;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function dH(e){return e.end?`${e.start}-${e.end}`:e.start}(I=F||(F={})).Https="https",I.HttpsAndHttp="https,http";class dY{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,n,s,o,a,A,l,c,d,g,u,h,m,p,C,f,I,E,y,B,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=n,this.expiresOn=a,this.permissions=r,this.protocol=s,this.startsOn=o,this.ipRangeInner=A,this.delegatedUserObjectId=E,this.encryptionScope=I,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=g,this.contentEncoding=u,this.contentLanguage=h,this.contentType=m,this.requestHeaderKeys=y,this.requestQueryParameterKeys=B,this.directoryDepth=Q,p&&(this.signedOid=p.signedObjectId,this.signedTenantId=p.signedTenantId,this.signedStartsOn=p.signedStartsOn,this.signedExpiresOn=p.signedExpiresOn,this.signedService=p.signedService,this.signedVersion=p.signedVersion,this.signedDelegatedUserTid=p.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=C,this.correlationId=f))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?db(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?db(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?dH(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?db(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?db(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function dG(e,t,r){return dz(e,t,r).sasQueryParameters}function dz(e,t,r){let i,n=e.version?e.version:su,s=t instanceof sr?t:void 0;if(void 0===s&&void 0!==r&&(i=new sd(r,t)),void 0===s&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")if(void 0!==s)return function(e,t){let r,i;if(!(e=d_(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,s);else if(n>="2026-04-06")return function(e,t){let r,i;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,dq(e.requestHeaders),dq(e.requestQueryParameters),i),stringToSign:o}}(e,i);else if(n>="2025-07-05")return function(e,t){let r,i;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r,i;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,i);if(n>="2018-11-09")if(void 0!==s)if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=d_(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,s);else return function(e,t){let r;if(!(e=d_(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new dY(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:s}}(e,s);else if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",s=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=dJ(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",s=e.versionId))),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new dY(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r;if(!(e=d_(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?dO.parse(e.permissions.toString()).toString():dP.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?db(e.startsOn,!1):"",e.expiresOn?db(e.expiresOn,!1):"",dV(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?db(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?db(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?dH(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new dY(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:s}}(e,i);if(n>="2015-04-05")if(void 0!==s){let t;var o=e,a=s;if(!(o=d_(o)).identifier&&!(o.permissions&&o.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";o.blobName&&(r="b"),o.permissions&&(t=o.blobName?dO.parse(o.permissions.toString()).toString():dP.parse(o.permissions.toString()).toString());let i=[t||"",o.startsOn?db(o.startsOn,!1):"",o.expiresOn?db(o.expiresOn,!1):"",dV(a.accountName,o.containerName,o.blobName),o.identifier,o.ipRange?dH(o.ipRange):"",o.protocol?o.protocol:"",o.version,o.cacheControl?o.cacheControl:"",o.contentDisposition?o.contentDisposition:"",o.contentEncoding?o.contentEncoding:"",o.contentLanguage?o.contentLanguage:"",o.contentType?o.contentType:""].join("\n"),n=a.computeHMACSHA256(i);return{sasQueryParameters:new dY(o.version,n,t,void 0,void 0,o.protocol,o.startsOn,o.expiresOn,o.ipRange,o.identifier,r,o.cacheControl,o.contentDisposition,o.contentEncoding,o.contentLanguage,o.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function dq(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function dV(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function d_(e){let t=e.version?e.version:su;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function dJ(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class dW{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=eT()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-acquireLease",t,async r=>dU(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=dU(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-releaseLease",e,async t=>dU(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return dL.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return dU(await this._containerOrBlobOperation.breakLease(i))})}}class dj extends e$.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,n={}){super({highWaterMark:n.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=n.maxRetryRequests&&n.maxRetryRequests>=0?n.maxRetryRequests:0,this.onProgress=n.onProgress,this.options=n,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new tv("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class dX{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,n={}){this.originalResponse=e;let s=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new nk(this.originalResponse.readableStreamBody,n);this.blobDownloadStream=new dj(s,t,r,i,n)}}let dK=new Uint8Array([79,98,106,1]);class dZ{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await dZ.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,n,s=0,o=0;do i=128&(r=await dZ.readByte(e,t)),s|=(127&r)<<o,o+=7;while(i&&o<28);if(i){n=0x10000000;do s+=(127&(r=await dZ.readByte(e,t)))*n,n*=128;while(128&r);let i=(s%2?-(s+1):s)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return s>>1^-(1&s)}static async readLong(e,t={}){return dZ.readZigZagLong(e,t)}static async readInt(e,t={}){return dZ.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await dZ.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await dZ.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await dZ.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await dZ.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await dZ.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await dZ.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await dZ.readArray(e,(e,r={})=>dZ.readMapPair(e,t,r),r),n={};for(let e of i)n[e.key]=e.value;return n}static async readArray(e,t,r={}){let i=[];for(let n=await dZ.readLong(e,r);0!==n;n=await dZ.readLong(e,r))for(n<0&&(await dZ.readLong(e,r),n=-n);n--;){let n=await t(e,r);i.push(n)}return i}}(E=T||(T={})).RECORD="record",E.ENUM="enum",E.ARRAY="array",E.MAP="map",E.UNION="union",E.FIXED="fixed",(y=L||(L={})).NULL="null",y.BOOLEAN="boolean",y.INT="int",y.LONG="long",y.FLOAT="float",y.DOUBLE="double",y.BYTES="bytes",y.STRING="string";class d${static fromSchema(e){return"string"==typeof e?d$.fromStringSchema(e):Array.isArray(e)?d$.fromArraySchema(e):d$.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case L.NULL:case L.BOOLEAN:case L.INT:case L.LONG:case L.FLOAT:case L.DOUBLE:case L.BYTES:case L.STRING:return new d0(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new d2(e.map(d$.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return d$.fromStringSchema(t)}catch{}switch(t){case T.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=d$.fromSchema(t.type);return new d3(r,e.name);case T.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new d1(e.symbols);case T.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new d5(d$.fromSchema(e.values));case T.ARRAY:case T.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class d0 extends d${_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case L.NULL:return dZ.readNull();case L.BOOLEAN:return dZ.readBoolean(e,t);case L.INT:return dZ.readInt(e,t);case L.LONG:return dZ.readLong(e,t);case L.FLOAT:return dZ.readFloat(e,t);case L.DOUBLE:return dZ.readDouble(e,t);case L.BYTES:return dZ.readBytes(e,t);case L.STRING:return dZ.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class d1 extends d${_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await dZ.readInt(e,t);return this._symbols[r]}}class d2 extends d${_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await dZ.readInt(e,t);return this._types[r].read(e,t)}}class d5 extends d${_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return dZ.readMap(e,r,t)}}class d3 extends d${_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function d4(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class d8{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!d4(await dZ.readFixedBytes(this._headerStream,dK.length,{abortSignal:e.abortSignal}),dK))throw Error("Stream is not an Avro file.");this._metadata=await dZ.readMap(this._headerStream,dZ.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await dZ.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=d$.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await dZ.readLong(this._dataStream,{abortSignal:e.abortSignal}),await dZ.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await dZ.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!d4(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await dZ.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await dZ.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class d9{}let d6=c("buffer"),d7=new tv("Reading from the avro stream was aborted.");class ge extends d9{_position;_readable;toUint8Array(e){return"string"==typeof e?d6.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw d7;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let n=()=>{this._readable.removeListener("readable",s),this._readable.removeListener("error",o),this._readable.removeListener("end",o),this._readable.removeListener("close",o),t.abortSignal&&t.abortSignal.removeEventListener("abort",a)},s=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,n(),r(this.toUint8Array(t)))},o=()=>{n(),i()},a=()=>{n(),i(d7)};this._readable.on("readable",s),this._readable.once("error",o),this._readable.once("end",o),this._readable.once("close",o),t.abortSignal&&t.abortSignal.addEventListener("abort",a)})}}class gt extends e$.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new d8(new ge(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let n=t.position;if("number"!=typeof n)throw Error("Invalid position in avro error record.");this.onError({position:n,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class gr{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new gt(this.originalResponse.readableStreamBody,t)}}function gi(e){if(void 0!==e)return e}function gn(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function gs(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(B=O||(O={})).Hot="Hot",B.Cool="Cool",B.Cold="Cold",B.Archive="Archive",(Q=P||(P={})).P4="P4",Q.P6="P6",Q.P10="P10",Q.P15="P15",Q.P20="P20",Q.P30="P30",Q.P40="P40",Q.P50="P50",Q.P60="P60",Q.P70="P70",Q.P80="P80",(N=H||(H={})).StorageOAuthScopes="https://storage.azure.com/.default",N.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",tb("core-lro");class go extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,go.prototype)}}class ga extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,ga.prototype)}}class gA{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new ga("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new go("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class gl extends gA{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:n=15e3,onProgress:s,resumeFrom:o,startCopyFromURLOptions:a}=e;o&&(t=JSON.parse(o).state),super(gu({...t,blobClient:r,copySource:i,startCopyFromURLOptions:a})),"function"==typeof s&&this.onProgress(s),this.intervalInMs=n}delay(){return tU(this.intervalInMs)}}let gc=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),gu(t)},gd=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:n}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:n}=r,s=t.copyProgress;n&&(t.copyProgress=n),"pending"===i&&n!==s&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,n);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return gu(t)},gg=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function gu(e){return{state:{...e},cancel:gc,toString:gg,update:gd}}function gh(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(b=Y||(Y={}))[b.Good=0]="Good",b[b.Error=1]="Error";class gm{concurrency;actives=0;completed=0;offset=0;operations=[];state=Y.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new nC.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=Y.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==Y.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}async function gp(e,t,r,i,n){let s=0,o=i-r;return new Promise((i,a)=>{let A=setTimeout(()=>a(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let a;if(s>=o){clearTimeout(A),i();return}for(;null!==(a=e.read());){"string"==typeof a&&(a=Buffer.from(a,n));let e=s+a.length>o?o-s:a.length;if(t.fill(a.slice(0,e),r+s,r+s+e),(s+=e)>=o){clearTimeout(A),i();return}}}),e.on("end",()=>{clearTimeout(A),s<o&&a(Error(`Stream drains before getting enough data needed. Data read: ${s}, data need: ${o}`)),i()}),e.on("error",e=>{clearTimeout(A),a(e)})})}async function gC(e,t){return new Promise((r,i)=>{let n=j.createWriteStream(t);e.on("error",e=>{i(e)}),n.on("error",e=>{i(e)}),n.on("close",r),e.pipe(n)})}let gf=eu.promisify(j.stat),gI=j.createReadStream;class gE extends dT{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let n,s;if(i=i||{},sI(t))s=e,n=t,i=r;else if(t instanceof sr||t instanceof nP||tZ(t))s=e,n=sy(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=dE(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new sr(o.accountName,o.accountKey);s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=tT(o.proxyUri)),n=sy(e,i)}else if("SASConnString"===o.kind)s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,n=sy(new nP,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(i=r),n=sy(new nP,i);super(s,n),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=dQ(this.url,sh),this._versionId=dQ(this.url,sm),this.blobClientConfig=i}withSnapshot(e){return new gE(dB(this.url,sh,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new gE(dB(this.url,sm,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new gy(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new gB(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new gQ(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},gn(r.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-download",r,async i=>{let n=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===n?n="Customized":"Auto"===n&&(n="StorageCrc64"),"StorageCrc64"===n&&await nb.init();let s=dU(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?gh({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0})),o={...s,_response:s._response,objectReplicationDestinationPolicyId:s.objectReplicationPolicyId,objectReplicationSourceProperties:dM(s.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===s.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===n&&void 0===s.structuredContentLength)throw RangeError("Unexpected structured content length");if(!s.etag)throw RangeError("File download response doesn't contain valid etag header");let a="StorageCrc64"===n?s.structuredContentLength:s.contentLength;return new dX(o,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||s.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:gh({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0},o=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==n?o:new nk(o,{})},e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return dL.withSpan("BlobClient-exists",e,async t=>{try{return gn(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},gn(e.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-getProperties",e,async t=>{let r=dU(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:dM(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},dL.withSpan("BlobClient-delete",e,async t=>dU(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return dL.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=dU(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return dL.withSpan("BlobClient-undelete",e,async t=>dU(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-setHTTPHeaders",t,async r=>dU(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-setMetadata",t,async r=>dU(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return dL.withSpan("BlobClient-setTags",t,async r=>dU(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return dL.withSpan("BlobClient-getTags",e,async t=>{let r=dU(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new dW(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},gn(e.customerProvidedKey,this.isHttps),dL.withSpan("BlobClient-createSnapshot",e,async t=>dU(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new gl({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return dL.withSpan("BlobClient-abortCopyFromURL",t,async r=>dU(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},dL.withSpan("BlobClient-syncCopyFromURL",t,async r=>dU(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:dk(t.sourceAuthorization),tier:gi(t.tier),blobTagsString:dx(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return dL.withSpan("BlobClient-setAccessTier",t,async r=>dU(await this.blobContext.setTier(gi(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let n,s=0,o=0,a=i;e instanceof Buffer?(n=e,s=t||0,o="number"==typeof r?r:0):(s="number"==typeof e?e:0,o="number"==typeof t?t:0,a=r||{});let A=a.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),s<0)throw RangeError("offset option must be >= 0");if(o&&o<=0)throw RangeError("count option must be greater than 0");return a.conditions||(a.conditions={}),dL.withSpan("BlobClient-downloadToBuffer",a,async e=>{if(!o){let t=await this.getProperties({...a,tracingOptions:e.tracingOptions});if((o=t.contentLength-s)<0)throw RangeError(`offset ${s} shouldn't be larger than blob size ${t.contentLength}`)}if(!n)try{n=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(n.length<o)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`);let t=0,r=new gm(a.concurrency);for(let i=s;i<s+o;i+=A)r.addOperation(async()=>{let r=s+o;i+A<r&&(r=i+A);let l=(await this.download(i,r-i,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await gp(l,n,i-s,r-s),t+=r-i,a.onProgress&&a.onProgress({loadedBytes:t})});return await r.do(),n})}async downloadToFile(e,t=0,r,i={}){return dL.withSpan("BlobClient-downloadToFile",i,async n=>{let s=await this.download(t,r,{...i,tracingOptions:n.tracingOptions});return s.readableStreamBody&&await gC(s.readableStreamBody,e),s.blobDownloadStream=void 0,s})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(dD(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return dL.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},dU(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:gi(t.tier),blobTagsString:dx(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof sr))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=dG({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(dN(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof sr))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return dz({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=dG({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(dN(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return dz({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return dL.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>dU(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return dL.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>dU(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return dL.withSpan("BlobClient-setLegalHold",t,async t=>dU(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return dL.withSpan("BlobClient-getAccountInfo",e,async t=>dU(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class gy extends gE{appendBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},sI(t))s=e,n=t,i=r;else if(t instanceof sr||t instanceof nP||tZ(t))s=e,n=sy(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=dE(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new sr(o.accountName,o.accountKey);s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=tT(o.proxyUri)),n=sy(e,i)}else if("SASConnString"===o.kind)s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,n=sy(new nP,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,i=r,n=sy(new nP,i);super(s,n),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new gy(dB(this.url,sh,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},gn(e.customerProvidedKey,this.isHttps),dL.withSpan("AppendBlobClient-create",e,async t=>dU(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:dx(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return dL.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=dU(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},dL.withSpan("AppendBlobClient-seal",e,async t=>dU(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},gn(r.customerProvidedKey,this.isHttps),dL.withSpan("AppendBlobClient-appendBlock",r,async i=>{let n={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},s=await dF(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return dU(await this.appendBlobContext.appendBlock(s.contentLength,s.body,n))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},gn(i.customerProvidedKey,this.isHttps),dL.withSpan("AppendBlobClient-appendBlockFromURL",i,async n=>dU(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:gh({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:dk(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class gB extends gE{_blobContext;blockBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},sI(t))s=e,n=t,i=r;else if(t instanceof sr||t instanceof nP||tZ(t))s=e,n=sy(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=dE(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new sr(o.accountName,o.accountKey);s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=tT(o.proxyUri)),n=sy(e,i)}else if("SASConnString"===o.kind)s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,n=sy(new nP,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,r&&"string"!=typeof r&&(i=r),n=sy(new nP,i);super(s,n),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new gB(dB(this.url,sh,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-query",t,async r=>new gr(dU(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:dR(t.inputTextConfiguration),outputSerialization:dR(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},gn(r.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-upload",r,async i=>{let n={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:gi(r.tier),blobTagsString:dx(r.tags),tracingOptions:i.tracingOptions},s=await dF(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return dU(await this.blockBlobContext.upload(s.contentLength,s.body,n))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>dU(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:dk(t.sourceAuthorization),tier:gi(t.tier),blobTagsString:dx(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return gn(i.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-stageBlock",i,async n=>{let s={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},o=await dF(t,r,s,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return dU(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,s))})}async stageBlockFromURL(e,t,r=0,i,n={}){return gn(n.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-stageBlockFromURL",n,async s=>dU(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:0!==r||i?gh({offset:r,count:i}):void 0,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:dk(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("BlockBlobClient-commitBlockList",t,async r=>dU(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:gi(t.tier),blobTagsString:dx(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return dL.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=dU(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return dL.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return dL.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let n=r.maxSingleShotSize??0x10000000;if(n<0||n>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>n&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),dL.withSpan("BlockBlobClient-uploadSeekableInternal",r,async s=>{if(t<=n)return dU(await this.upload(e(0,t),t,s));let o=Math.floor((t-1)/i)+1;if(o>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let a=[],A=eT(),l=0,c=new gm(r.concurrency);for(let n=0;n<o;n++)c.addOperation(async()=>{let c=dS(A,n),d=i*n,g=(n===o-1?t:d+i)-d;a.push(c),await this.stageBlock(c,e(d,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=g,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(a,s)})}async uploadFile(e,t={}){return dL.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await gf(e)).size;return this.uploadSeekableInternal((t,r)=>()=>gI(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),dL.withSpan("BlockBlobClient-uploadStream",i,async n=>{let s=0,o=eT(),a=0,A=[],l=new ny(e,t,r,async(e,t)=>{let r=dS(o,s);A.push(r),s++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),a+=t,i.onProgress&&i.onProgress({loadedBytes:a})},Math.ceil(r/4*3));return await l.do(),dU(await this.commitBlockList(A,{...i,tracingOptions:n.tracingOptions}))})}}class gQ extends gE{pageBlobContext;constructor(e,t,r,i){let n,s;if(i=i||{},sI(t))s=e,n=t,i=r;else if(t instanceof sr||t instanceof nP||tZ(t))s=e,n=sy(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=dE(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new sr(o.accountName,o.accountKey);s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=tT(o.proxyUri)),n=sy(e,i)}else if("SASConnString"===o.kind)s=dy(dy(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,n=sy(new nP,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else s=e,i=r,n=sy(new nP,i);super(s,n),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new gQ(dB(this.url,sh,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},gn(t.customerProvidedKey,this.isHttps),dL.withSpan("PageBlobClient-create",t,async r=>dU(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:gi(t.tier),blobTagsString:dx(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return dL.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=dU(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},gn(i.customerProvidedKey,this.isHttps),dL.withSpan("PageBlobClient-uploadPages",i,async n=>{let s={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:gh({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},o=await dF(e,r,s,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return dU(await this.pageBlobContext.uploadPages(o.contentLength,o.body,s))})}async uploadPagesFromURL(e,t,r,i,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},gn(n.customerProvidedKey,this.isHttps),dL.withSpan("PageBlobClient-uploadPagesFromURL",n,async s=>dU(await this.pageBlobContext.uploadPagesFromURL(e,gh({offset:t,count:i}),0,gh({offset:r,count:i}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:dk(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},dL.withSpan("PageBlobClient-clearPages",r,async i=>dU(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:gh({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},dL.withSpan("PageBlobClient-getPageRanges",r,async i=>gs(dU(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:gh({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return dL.withSpan("PageBlobClient-getPageRangesSegment",i,async n=>dU(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:gh({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let n;if(r||void 0===r)do r=(n=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await n;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let n of this.listPageRangeItemSegments(e,t,i,r))yield*dv(n)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},dL.withSpan("PageBlobClient-getPageRangesDiff",i,async n=>gs(dU(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:gh({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,n={}){return dL.withSpan("PageBlobClient-getPageRangesDiffSegment",n,async s=>dU(await this.pageBlobContext.getPageRangesDiff({abortSignal:n?.abortSignal,leaseAccessConditions:n?.conditions,modifiedAccessConditions:{...n?.conditions,ifTags:n?.conditions?.tagConditions},prevsnapshot:r,range:gh({offset:e,count:t}),marker:i,maxPageSize:n?.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,n){let s;if(i||void 0===i)do i=(s=await this.listPageRangesDiffSegment(e,t,r,i,n)).continuationToken,yield await s;while(i)}async *listPageRangeDiffItems(e,t,r,i){let n;for await(let s of this.listPageRangeDiffItemSegments(e,t,r,n,i))yield*dv(s)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let n=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>n.next(),[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,{maxPageSize:n.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},dL.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async n=>gs(dU(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:gh({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},dL.withSpan("PageBlobClient-resize",t,async r=>dU(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},dL.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>dU(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return dL.withSpan("PageBlobClient-startCopyIncremental",t,async r=>dU(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(S=G||(G={}))[S.LOCKED=0]="LOCKED",S[S.UNLOCKED=1]="UNLOCKED",(z||(z={})).AES256="AES256";let gN=(d=e=>e.reason,{schedule:er.EV("3 seconds",1.5),times:4,while:e=>{let t;return t=d(e),eo.some(e=>t.includes(e))}}),gb=e=>{let t=[...e,"gzip","1.0"];return(0,ed.createHash)("sha256").update(t.join("|")).digest("hex")},gS=(e,t)=>$.SvU({try:()=>{let e=process.env.ACTIONS_RESULTS_URL,t=process.env.ACTIONS_RUNTIME_TOKEN;if(!e||!t)throw Error(`Missing required env vars: ${[!e&&"ACTIONS_RESULTS_URL",!t&&"ACTIONS_RUNTIME_TOKEN"].filter(Boolean).join(", ")}`);return{baseUrl:e.endsWith("/")?e:`${e}/`,token:ee.L8(t)}},catch:r=>new _({key:t,operation:e,reason:r instanceof Error?r.message:String(r)})}),gw=(e,t,r,i,n,s,o)=>{let a;return a=e=>new _({key:o,operation:s,reason:e}),$.JkU(function*(){let s=ei.bE(`${t}twirp/github.actions.results.api.v1.CacheService/${i}`).pipe(ei.hC(ee.Uq(r)),ei.hk(n)),o=yield*e.execute(s).pipe($.xm_(e=>a(`${i} failed: ${e.message}`)));return 409===o.status?es:o.status<200||o.status>=300?yield*$.fJG(a(`${i} failed: HTTP ${o.status} from ${i}`)):yield*en._u(et.$r1)(o).pipe($.xm_(e=>a(`${i} failed: ${e.message??String(e)}`)))})},gD=e=>$.OH5(()=>{try{(0,j.unlinkSync)(e)}catch{}}),gx=ea.QZ(J.l,$.JkU(function*(){let e=yield*el.Qq;return{save:(t,r)=>$.JkU(function*(){let{baseUrl:i,token:n}=yield*gS("save",r),s=gb(t);yield*$.jGc($.SvU({try:()=>{let e=(e=>{let t=[];for(let r of e){let e=Z(r);K(e)?t.push(...(0,j.globSync)(e)):t.push(e)}let r=[...t.filter(e=>(0,j.existsSync)(e))].sort((e,t)=>e.length-t.length),i=[];for(let e of r)i.some(t=>e.startsWith(`${t}/`))||i.push(e);return i})(t);if(0===e.length)throw Error("No files matched the provided cache paths");let r=(0,W.join)((0,X.tmpdir)(),`cache-${(0,ed.randomUUID)()}.tar.gz`);return(0,ec.execFileSync)("tar",["czPf",r,...e],{stdio:"pipe"}),r},catch:e=>new _({key:r,operation:"save",reason:`Failed to create archive: ${e instanceof Error?e.message:String(e)}`})}),t=>$.JkU(function*(){let o=yield*$.SvU({try:()=>(0,j.statSync)(t).size,catch:e=>new _({key:r,operation:"save",reason:`Failed to stat archive: ${e instanceof Error?e.message:String(e)}`})}),a=yield*gw(e,i,n,"CreateCacheEntry",{key:r,version:s},"save",r).pipe($.L5P(gN));if(a===es)return;if(!a.ok||!a.signed_upload_url)return yield*$.fJG(new _({key:r,operation:"save",reason:"CreateCacheEntry did not return a signed upload URL"}));yield*$.$mh({try:async()=>{await new gB(a.signed_upload_url).uploadFile(t,{blockSize:0x4000000,concurrency:8,maxSingleShotSize:0x8000000})},catch:e=>new _({key:r,operation:"save",reason:`Archive upload failed: ${e instanceof Error?e.message:String(e)}`})});let A=yield*gw(e,i,n,"FinalizeCacheEntryUpload",{key:r,version:s,size_bytes:String(o)},"save",r).pipe($.L5P(gN));if(A===es||!A.ok)return yield*$.fJG(new _({key:r,operation:"save",reason:"FinalizeCacheEntryUpload did not confirm success"}))}),e=>gD(e))}),restore:(t,r,i=[])=>$.JkU(function*(){let{baseUrl:n,token:s}=yield*gS("restore",r),o=gb(t),a=yield*gw(e,n,s,"GetCacheEntryDownloadURL",{key:r,restore_keys:[...i],version:o},"restore",r).pipe($.L5P(gN));if(a===es||!a.ok||!a.signed_download_url)return eA.none();let A=(0,W.join)((0,X.tmpdir)(),`cache-restore-${(0,ed.randomUUID)()}.tar.gz`);return yield*$.jGc($.$mh({try:async()=>(await new gE(a.signed_download_url).downloadToFile(A),A),catch:e=>new _({key:r,operation:"restore",reason:`Archive download failed: ${e instanceof Error?e.message:String(e)}`})}),e=>$.SvU({try:()=>{try{(0,ec.execFileSync)("tar",["win32"===process.platform?"xzPkf":"xzPf",e],{stdio:"pipe"})}catch(t){let e=t.status;if(void 0!==e&&e>=2)throw t}},catch:e=>new _({key:r,operation:"restore",reason:`Failed to extract archive: ${e instanceof Error?e.message:String(e)}`})}),e=>gD(e)),eA.some(a.matched_key??r)})}}))},2386(e,t,r){r.d(t,{A:()=>u});var i=r(9581),n=r(1160),s=class extends n.rN("ActionStateError"){},o=r(2484),a=r(5609),A=r(702);let l=(e,t,r)=>A.SvU({try:()=>JSON.parse(t),catch:r=>new s({key:e,reason:`State "${e}" is not valid JSON: ${r instanceof Error?r.message:String(r)}`,rawValue:t})}).pipe(A.qIB(i=>a._Re(r)(i).pipe(A.xm_(r=>new s({key:e,reason:`State "${e}" decode failed: ${r.message}`,rawValue:t})))));var c=r(8444),d=r(262),g=r(6437);let u=c.QZ(o.q,A.JkU(function*(){let e=yield*d.Q2,t=c.Py(d.Q2,e);return{save:(e,r,n)=>a.QsC(n)(r).pipe(A.TjK(e=>JSON.stringify(e)),A.xm_(t=>new s({key:e,reason:`State "${e}" encode failed: ${t instanceof Error?t.message:String(t)}`,rawValue:void 0}))).pipe(A.qIB(r=>(0,i.B)("GITHUB_STATE",e,r).pipe(A.Gte(t))),A.QgK),get:(e,t)=>A.OH5(()=>process.env[`STATE_${e}`]??"").pipe(A.qIB(r=>""===r?A.fJG(new s({key:e,reason:`State "${e}" is not set (phase ordering issue?)`,rawValue:void 0})):l(e,r,t))),getOptional:(e,t)=>A.OH5(()=>process.env[`STATE_${e}`]??"").pipe(A.qIB(r=>""===r?A.PyW(g.none()):l(e,r,t).pipe(A.TjK(e=>g.some(e)))))}}))},9581(e,t,r){r.d(t,{B:()=>a});var i=r(1160),n=class extends i.rN("RuntimeEnvironmentError"){},s=r(702),o=r(262);let a=(e,t,r)=>s.qIB(o.Q2,i=>{let o=process.env[e];if(void 0===o)return s.fJG(new n({variable:e,message:`Environment variable ${e} is not set`}));let a=function(e,t){if(!t.includes("\n"))return`${e}=${t} -`;let r=`ghadelimiter_${crypto.randomUUID()}`;return`${e}<<${r} -${t} -${r} -`}(t,r);return i.writeFileString(o,a,{flag:"a"}).pipe(s.xm_(t=>new n({variable:e,message:`Failed to write to file at ${o}: ${t.message}`})))})},6317(e,t,r){r.d(t,{xP:()=>f});var i=Object.defineProperty,n=r(7969),s=r(9339),o=r(5419),a=r(8294),A=r(5440),l=r(608);let c=o.Or("github-action-effects/StepStack",{defaultValue:()=>[]}),d=e=>l.L8(({logLevel:t,message:r})=>{let i=(Array.isArray(r)?r:[r]).map(e=>a.ZK(e)).join(" ");if(A.OW(t,"Warn"))return void(A.OW(t,"Error")?(0,s.sn)("error",{},i):A.OW(t,"Warn")?(0,s.sn)("warning",{},i):A.OW(t,"Info")?process.stdout.write(`${i} -`):(0,s.sn)("debug",{},i));let n=A.OW(t,"Info")?"info":"debug";e.entries.push({level:n,text:i,timestamp:Date.now()})}),g=(e,t)=>{let r,i=(r=e.depth," ".repeat(r)),n=e.icon??"✅";null!==t&&t.length>0?process.stdout.write(`${i}${n} ${e.name}: ${t} -`):process.stdout.write(`${i}${n} ${e.name} -`)},u=(e,t)=>{let r,i=(r=e.depth," ".repeat(r));for(let r of(process.stdout.write(`${i}❌ ${e.name}: ${t} -`),e.buffer.entries)){let e="debug"===r.level?"[DEBUG]":"[INFO]";process.stdout.write(`${i} │ ${e} ${r.text} -`)}e.buffer.entries.length>0&&process.stdout.write(`${i} └ Error: ${t} -`)};var h=r(8149),m=r(6437),p=r(702),C=r(5536),f=(e=>{let t={};for(var r in e)i(t,r,{get:e[r],enumerable:!0});return i(t,Symbol.toStringTag,{value:"Module"}),t})({collapse:()=>b,failure:()=>Q,groupStep:()=>S,line:()=>N,success:()=>B,withStep:()=>y});let I=e=>{let t=h.L$(e);if(m.isSome(t)){let e=t.value;return e instanceof Error?e.message:"string"==typeof e?e:"object"==typeof e&&null!==e&&"message"in e&&"string"==typeof e.message?e.message:String(e)}return h.j9(e)},E=(e,t,r)=>null!==e.successLine?e.successLine:r?.defaultSummary!==void 0?r.defaultSummary(t):null,y=(e,t,r)=>p.JkU(function*(){let i=yield*c,n={entries:[]},s={name:e,depth:i.length,successLine:null,failureLine:null,buffer:n,...r?.icon!==void 0?{icon:r.icon}:{}},o=t.pipe(p.PfK(l.d$,new Set([d(n)])),p.PfK(c,[...i,s])),a=yield*p.NS5(o);return C.N6(a)?(u(s,I(a.cause)),yield*p.ATB(a.cause)):(null!==s.failureLine?u(s,s.failureLine):g(s,E(s,a.value,r)),a.value)}),B=e=>p.JkU(function*(){let t=yield*c;if(0===t.length)return void(yield*p.MDB("Step.success called outside a withStep envelope; ignoring."));let r=t[t.length-1];void 0!==r&&(r.successLine=e)}),Q=e=>p.JkU(function*(){let t=yield*c;if(0===t.length)return void(yield*p.MDB("Step.failure called outside a withStep envelope; ignoring."));let r=t[t.length-1];void 0!==r&&(r.failureLine=e)}),N=(e,t)=>p.JkU(function*(){var r;r=(yield*c).length,process.stdout.write(`${" ".repeat(r)}${e} ${t} -`)}),b=(e,t)=>p.JkU(function*(){let r=yield*c,i=r.length,n=yield*p.Q7R(e.map(e=>p.JkU(function*(){let t={entries:[]},n={name:e.name,depth:i,successLine:null,failureLine:null,buffer:t};return{frame:n,exit:yield*p.NS5(e.effect.pipe(p.PfK(l.d$,new Set([d(t)])),p.PfK(c,[...r,n])))}})),{concurrency:"unbounded"}),s=n.every(e=>C.oJ(e.exit)&&null===e.frame.failureLine)?t(n.map(e=>({name:e.frame.name,result:e.exit.value}))):null;if(null!==s)return process.stdout.write(`${" ".repeat(i)}${s} -`),n.map(e=>e.exit.value);for(let e of n)if(C.N6(e.exit))u(e.frame,I(e.exit.cause));else if(null!==e.frame.failureLine)u(e.frame,e.frame.failureLine);else{let t=E(e.frame,e.exit.value);g(e.frame,t)}let o=n.find(e=>C.N6(e.exit));return void 0!==o?yield*p.ATB(o.exit.cause):n.map(e=>e.exit.value)}),S=(e,t,r)=>p.JkU(function*(){return yield*(yield*n.T).group(e,y(e,t,r))})},9339(e,t,r){function i(e){return e.replace(/%/g,"%25").replace(/\r/g,"%0D").replace(/\n/g,"%0A")}function n(e,t,r){let n;process.stdout.write(`${(n=Object.entries(t),`::${e}${n.length>0?` ${n.map(([e,t])=>`${e}=${i(t).replace(/:/g,"%3A").replace(/,/g,"%2C")}`).join(",")}`:""}::${i(r)}`)} -`)}function s(e,t){let r;n("notice",(r={},void 0!==e.title&&(r.title=e.title),void 0!==e.file&&(r.file=e.file),void 0!==e.startLine&&(r.line=String(e.startLine)),void 0!==e.endLine&&(r.endLine=String(e.endLine)),void 0!==e.startColumn&&(r.col=String(e.startColumn)),void 0!==e.endColumn&&(r.endColumn=String(e.endColumn)),r),t)}r.d(t,{lm:()=>s,sn:()=>n})},3343(e,t,r){var i=r(5419),n=class extends i.kl()("github-action-effects/ActionCache"){};r.d(t,{l:()=>n})},6492(e,t,r){var i=r(5419),n=class extends i.kl()("github-action-effects/ActionEnvironment"){};r.d(t,{g:()=>n})},7969(e,t,r){var i=r(5419),n=class extends i.kl()("github-action-effects/ActionLogger"){};r.d(t,{T:()=>n})},2484(e,t,r){var i=r(5419),n=class extends i.kl()("github-action-effects/ActionState"){};r.d(t,{q:()=>n})},3207(e,t,r){r.d(t,{BC:()=>m,Ie:()=>N,D8:()=>h,Ts:()=>u,CZ:()=>C,ET:()=>f,HV:()=>E,T9:()=>D,Tj:()=>S,of:()=>b,jB:()=>w,KC:()=>Q});var i=r(2730),n=r(3558),s=r(9920);let o=e=>e.length>0;var a=r(1034),A=r(6437),l=r(606),c=r(7045),d=r(2917);let g=globalThis.Array,u=e=>g.isArray(e)?e:g.from(e),h=e=>g.isArray(e)?e:[e];c.Wo,A.toArray;let m=(0,s.XY)(2,(e,t)=>[...e,t]),p=(0,s.XY)(2,(e,t)=>u(e).concat(u(t)));g.isArray;let C=o,f=o,I=(0,s.XY)(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),E=e=>f(e)?A.some(y(e)):A.none(),y=e=>e[e.length-1];a.i8;let B=(0,s.XY)(3,(e,t,r)=>{let i=u(e),n=u(t);return f(i)?f(n)?x(r)(p(i,n)):i:n}),Q=(0,s.XY)(2,(e,t)=>B(e,t,i.jI())),N=()=>[],b=e=>[e],S=(0,s.XY)(2,(e,t)=>e.map(t)),w=(0,s.XY)(2,(e,t)=>{let r=[],i=[],n=0;for(let s of e){let e=t(s,n++);d.oJ(e)?i.push(e.success):r.push(e.failure)}return[r,i]});l.O3;let D=n.O3,x=(0,s.XY)(2,(e,t)=>{let r=u(e);if(f(r)){let e=[I(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]})},5909(e,t,r){var i=r(2730),n=r(3558),s=r(9920),o=r(3536),a=r(8294),A=r(6437),l=r(606),c=r(2544),d=r(8527);let g=/^[+-]?\d+$/,u="~effect/BigDecimal",h={[u]:u,[o.HR](){let e=Q(this);return o.kg(o.tW(e.value),o.ai(e.scale))},[i.HR](e){return m(e)&&M(this,e)},toString(){return`BigDecimal(${k(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[a.FX](){return this.toJSON()},pipe(){return(0,c.tT)(this,arguments)}},m=e=>(0,d.i5)(e,u),p=(e,t)=>{let r=Object.create(h);return r.value=e,r.scale=t,r},C=(e,t)=>{if(e!==f&&e%y===f)throw RangeError("Value must be normalized");let r=p(e,t);return r.normalized=r,r},f=BigInt(0),I=BigInt(1),E=BigInt(-1),y=BigInt(10),B=C(f,0),Q=e=>{if(void 0===e.normalized)if(e.value===f)e.normalized=B;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),n=e.scale-r;e.normalized=C(i,n)}return e.normalized},N=(0,s.XY)(2,(e,t)=>t>e.scale?p(e.value*y**BigInt(t-e.scale),t):t<e.scale?p(e.value/y**BigInt(e.scale-t),t):e),b=(0,s.XY)(2,(e,t)=>t.value===f?e:e.value===f?t:e.scale>t.scale?p(N(t,e.scale).value+e.value,e.scale):e.scale<t.scale?p(N(e,t.scale).value+t.value,t.scale):p(e.value+t.value,e.scale)),S=l.L8((e,t)=>{let r=l.wN(x(e),x(t));return 0!==r?r:e.scale>t.scale?l.Qw(e.value,N(t,e.scale).value):e.scale<t.scale?l.Qw(N(e,t.scale).value,t.value):l.Qw(e.value,t.value)}),w=l.hl(S),D=l.yJ(S),x=e=>e.value===f?0:e.value<f?-1:1,R=n.L8((e,t)=>e.scale>t.scale?N(t,e.scale).value===e.value:e.scale<t.scale?N(e,t.scale).value===t.value:e.value===t.value),M=(0,s.XY)(2,(e,t)=>R(e,t)),k=e=>{let t,r,i=Q(e);if(Math.abs(i.scale)>=16)return v(i);let n=i.value<f,s=n?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=s.length)t="0",r="0".repeat(i.scale-s.length)+s;else{let e=s.length-i.scale;if(e>s.length){let i=e-s.length;t=`${s}${"0".repeat(i)}`,r=""}else r=s.slice(e),t=s.slice(0,e)}let o=""===r?t:`${t}.${r}`;return n?`-${o}`:o},v=e=>{if(U(e))return"0e+0";let t=Q(e),r=`${(t.value<f?p(-t.value,t.scale):t).value}`,i=r.slice(0,1),n=r.slice(1),s=`${F(t)?"-":""}${i}`;""!==n&&(s+=`.${n}`);let o=n.length-t.scale;return`${s}e${o>=0?"+":""}${o}`},U=e=>e.value===f,F=e=>e.value<f,T=e=>m(e[0]),L=(0,s.XY)(T,(e,t=0)=>e.scale<=t?e:p(e.value/y**BigInt(e.scale-t),t)),O=(0,s.XY)(T,(e,t=0)=>{let r=L(e,t);return e.value>f&&w(r,e)?b(r,p(I,t)):r}),P=(0,s.XY)(T,(e,t=0)=>{let r=L(e,t);return F(e)&&D(r,e)?b(r,p(E,t)):r});r.d(t,{},{GP:k,L8:p,RI:P,hs:N,mk:O,pH:S,rs:R,s5:m,sH:e=>{let t,r,i,n;if(""===e)return A.some(B);let s=e.search(/[eE]/);if(-1!==s){let i=e.slice(s+1);if(t=e.slice(0,s),r=Number(i),""===t||!Number.isSafeInteger(r)||!g.test(i))return A.none()}else t=e,r=0;let o=t.search(/\./);if(-1!==o){let e=t.slice(0,o),r=t.slice(o+1);i=`${e}${r}`,n=r.length}else i=t,n=0;if(!g.test(i))return A.none();let a=n-r;return Number.isSafeInteger(a)?A.some(p(BigInt(i),a)):A.none()}})},8149(e,t,r){var i=r(8579),n=r(8826);i.PX,i.B4,i.Aj,i.Wg;let s=i.lC;i.Xb,i.ik,i.b5,i.DH;let o=i.OE;i.Iu,n.nIy,n.ORc,n.nn5;let a=n.O$X;n.h2c;let A=n.ReC;n.myX,n.QE5;let l=n.khU,c=n.L$u;n.gpn,n.k7S,n.BbX;let d=n.prj;n.tU5,n.h74,n.Bou,n.RJ6;let g=n.GyP;i.PW,i.qB,i.Xm;let u=i.$L;i.q_;let h=i.RS,m=i.Vw;n.DQo,n.c8t,n.MUS,n.t8c,n._y;let p=n.qwd;n.ASO,n.F7W,n.Aub,n.cOF,n.Rft,n.RD4,n.Kkt,n.PnV;let C=n.Bk6;i.Eh,n.tQ6,n.On5,r.d(t,{},{$L:u,Bk:C,L$:c,RS:h,Tj:a,Vw:m,fJ:o,iw:A,j9:g,kh:l,lC:s,pr:d,qw:p})},893(e,t,r){var i=r(8149),n=r(702),s=r(9920),o=r(2544),a=r(6627),A=r(9444),l=r(1746);let c={"~effect/Channel":{_Env:s.D_,_InErr:s.D_,_InElem:s.D_,_OutErr:s.D_,_OutElem:s.D_},pipe(){return(0,o.tT)(this,arguments)}},d=e=>{let t=Object.create(c);return t.transform=(t,r)=>n.Tyx(e(t,r),e=>n.PyW(n.ATB(e))),t},g=e=>d((t,r)=>e),u=e=>e.transform,h=g(n.PyW(i.Vw())),m=g(n.PyW(n.ZmZ)),p=(0,s.XY)(2,(e,t)=>{let r;return r=(r,i,s)=>l.a6(s,t).pipe(n.hgn(u(e)(r,i))),d(n.D9k(function*(e,t){let i=l.Fp(t),s=e=>l.VN(i,a.aU(e)),o=yield*n.S5A(r(e,t,i),s);return n.S5A(o,s)}))}),C=(0,s.XY)(2,(e,t)=>p(e,e=>t)),f=(0,s.XY)(2,(e,t)=>{let r;return r=e=>n.i4r(n.qIB(e,t),{disableYield:!0}),n.DYE(()=>{let t=l.LZ(),s=u(e)(i.Vw(),t);return a.m8(n.qIB(s,r),n.PyW).pipe(n.cfM(e=>l.VN(t,e)))})});r.d(t,{},{DY:e=>d((t,r)=>n.DYE(()=>u(e())(t,r))),Ie:h,OB:g,VD:(e,t)=>d((r,i)=>n.TjK(A.L8({capacity:t?.bufferSize,strategy:t?.strategy}).pipe(n.Mim(e=>l.U9(i,A.n_(e))),n.Mim(t=>n.ar0(l.Gt(e(t),i),i))),A.h0)),Z1:d,Zm:m,fJ:e=>g(n.PyW(n.fJG(e))),o1:f,oA:e=>d((t,r)=>{let i;return n.PyW(n.DYE(()=>i||e.pipe(l.Gt(r),n.qIB(e=>u(e)(t,r)),n.qIB(e=>i=e))))}),wp:u,ye:C})},5419(e,t,r){let i;r.d(t,{Or:()=>U,kl:()=>g,WQ:()=>B,Ie:()=>I,Jt:()=>b,om:()=>R,Y6:()=>Q,kA:()=>S,fp:()=>N,aE:()=>f,L8:()=>y,LZ:()=>p,h1:()=>M,Um:()=>k});var n=r(8579),s=r(2730),o=r(9920),a=r(3536),A=r(58),l=r(6437),c=r(8527);let d="~effect/Context/Service",g=function(){let e=(0,A.jt)();(0,A.ft)(2);let t=Error();(0,A.ft)(e);let r=function(){};return(Object.setPrototypeOf(r,u),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[h]=h,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},u={[d]:d,...(i={label:"Service",evaluate(e){return(0,n.xt)(b(e.context,this))}},(0,n.yj)({op:i.label,[n._3]:i.evaluate})),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return y(this,e)},use(e){return(0,n.R6)(t=>e(b(t.context,this)))},useSync(e){return(0,n.R6)(t=>(0,n.xt)(e(b(t.context,this))))}},h="~effect/Context/Reference",m="~effect/Context",p=e=>{let t=Object.create(C);return t.mapUnsafe=e,t.mutable=!1,t},C={...n.fU,[m]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[s.HR](e){if(!f(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!s.aI(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[a.HR](){return a.ai(this.mapUnsafe.size)}},f=e=>(0,c.i5)(e,m),I=()=>E,E=p(new Map),y=(e,t)=>p(new Map([[e.key,t]])),B=(0,o.XY)(3,(e,t,r)=>v(e,e=>{e.set(t.key,r)})),Q=(0,o.XY)(2,(e,t)=>e.mapUnsafe.get(t.key)),N=(0,o.XY)(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(h in t)return D(t);throw x(t)}return e.mapUnsafe.get(t.key)}),b=N,S=(e,t)=>e.mapUnsafe.has(t.key)?e.mapUnsafe.get(t.key):D(t),w="~effect/Context/defaultValue",D=e=>w in e?e[w]:e[w]=e.defaultValue(),x=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},R=(0,o.XY)(2,(e,t)=>e.mapUnsafe.has(t.key)?l.some(e.mapUnsafe.get(t.key)):(0,c.i5)(t,h)?l.some(D(t)):l.none()),M=(0,o.XY)(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:v(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),k=(...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return p(t)},v=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),p(r)},U=g},1160(e,t,r){var i=r(8579),n=r(2544);let s=class extends n.Xs{constructor(e){super(),e&&Object.assign(this,e)}},o=i.$D,a=i.rN;r.d(t,{},{$D:o,Xs:s,rN:a})},1897(e,t,r){r.d(t,{rs:()=>eg,pH:()=>eu,dv:()=>eS,Rd:()=>ew,tn:()=>eh,Ar:()=>eo,kQ:()=>ea,rg:()=>el,lU:()=>eA,rr:()=>ec,Ry:()=>ed,L8:()=>ep,MO:()=>eC,TT:()=>em,yF:()=>eN,Xy:()=>eb,yT:()=>ef,ez:()=>eB,y3:()=>ey,k9:()=>eI,ko:()=>eE,xV:()=>eQ}),r(5419);var i=r(9920),n=r(8149),s=r(8826);s.a1U,s.RKA,s.Rud,s.s0X,r(6292);var o=r(2730),a=r(3558),A=r(3536),l=r(8294),c=r(6437),d=r(606),g=r(2544),u=r(8527);let h="~effect/time/DateTime",m="~effect/time/DateTime/TimeZone",p={[h]:h,pipe(){return(0,g.tT)(this,arguments)},[l.FX](){return this.toString()},toJSON(){return q(this).toJSON()}},C={...p,_tag:"Utc",[A.HR](){return A.ai(this.epochMilliseconds)},[o.HR](e){return Q(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${q(this).toJSON()})`}},f={...p,_tag:"Zoned",[A.HR](){return A.kg(A.ai(this.epochMilliseconds))(A.tW(this.zone))},[o.HR](e){return Q(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&o.aI(this.zone,e.zone)},toString(){return`DateTime.Zoned(${es(this)})`}},I={[m]:m,[l.FX](){return this.toString()}},E={...I,_tag:"Named",[A.HR](){return A.Yj(`Named:${this.id}`)},[o.HR](e){return b(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},y={...I,_tag:"Offset",[A.HR](){return A.Yj(`Offset:${this.offset}`)},[o.HR](e){return b(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${J(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},B=(e,t,r)=>{let i=Object.create(f);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},Q=e=>u.i5(e,h),N=e=>Q(e[0]),b=e=>u.i5(e,m),S=e=>"Zoned"===e._tag,w=a.L8((e,t)=>e.epochMilliseconds===t.epochMilliseconds),D=d.L8((e,t)=>e.epochMilliseconds<t.epochMilliseconds?-1:+(e.epochMilliseconds>t.epochMilliseconds)),x=e=>{let t=Object.create(C);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t},R=e=>{let t=e.getTime();if(Number.isNaN(t))throw new n.qw("Invalid date");return x(t)},M=e=>{if(Q(e))return e;if(e instanceof Date)return R(e);if("object"==typeof e){if("epochMilliseconds"in e)return x(e.epochMilliseconds);let t=new Date(0);return j(t,e),R(t)}return"string"!=typeof e||k(e)?R(new Date(e)):R(new Date(e+"Z"))},k=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),v=(e,t)=>{let r,i=t?.timeZone;if(void 0===i&&Q(e)&&S(e))return e;let s=M(e);if(s.epochMilliseconds<-86399999568e5||s.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${s.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=H(-60*new Date(s.epochMilliseconds).getTimezoneOffset()*1e3);else if(b(i))r=i;else if("number"==typeof i)r=H(i);else{let e=z(i);if(c.isNone(e))throw new n.qw(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?B(s.epochMilliseconds,r,s.partsUtc):X(s.epochMilliseconds,r,t?.disambiguation??"compatible")},U=c.liftThrowable(v),F=c.liftThrowable(M),T=/^(.{17,35})\[(.+)\]$/,L=((e,t,r)=>r?.adjustForTimeZone===!0?X(e.epochMilliseconds,t,r?.disambiguation??"compatible"):B(e.epochMilliseconds,t,e.partsUtc),new Map),O={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},P=e=>{if(L.has(e))return L.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...O,timeZone:e});let r=t.resolvedOptions().timeZone;if(L.has(r))return L.get(r);let i=Object.create(E);return i.id=r,i.format=t,L.set(r,i),i}catch{throw new n.qw(`Invalid time zone: ${e}`)}},H=e=>{let t=Object.create(y);return t.offset=e,t},Y=c.liftThrowable(P),G=/^(?:GMT|[+-])/,z=e=>{if(G.test(e)){let t=Z(e);return null===t?c.none():c.some(H(t))}return Y(e)},q=e=>new Date(e.epochMilliseconds),V=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},_=e=>V(e).getTime()-W(e),J=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},W=e=>e.epochMilliseconds,j=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},X=(e,t,r)=>{if("Offset"===t._tag)return B(e-t.offset,t);let i=$(e-864e5,e,t),n=$(e+864e5,e,t);if(i===n)return B(e-i,t);let s=i-n;if(i<n){if($(e-n,e,t)===n)return B(e-n,t);let s=B(e-i,t);if(e!==V(s).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return B(e-n,t)}return s}if($(e-i,e,t)===i){if("earlier"===r||"compatible"===r||$(e-i+s,e+s,t)===i)return B(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return B(e-n,t)},K=/([+-])(\d{2}):(\d{2})$/,Z=e=>{let t=K.exec(e);if(null===t)return null;let[,r,i,n]=t;return("+"===r?1:-1)*(60*Number(i)+Number(n))*6e4},$=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let n=Z(i);return null===n?_(B(t,r)):n},ee=(0,i.XY)(N,(e,t,r)=>{if("Utc"===e._tag){let r=q(e);return t(r),x(r.getTime())}let i=new Date(V(e).getTime());return t(i),X(i.getTime(),e.zone,r?.disambiguation??"compatible")}),et=((e,t)=>et(e,e=>{let r=new Date(e);return t(r),r.getTime()}),(0,i.XY)(2,(e,t)=>{let r=t(W(e));return"Utc"===e._tag?x(r):B(r,e.zone)})),er=((e,t)=>t(V(e)),(0,i.XY)(2,(e,t)=>t(q(e)))),ei=(e,t)=>{e.setTime(e.getTime()+t)},en=((e,t)=>ee(e,e=>{if(t.milliseconds&&ei(e,t.milliseconds),t.seconds&&ei(e,1e3*t.seconds),t.minutes&&ei(e,60*t.minutes*1e3),t.hours&&ei(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=V(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${J(_(e))}`}),es=e=>"Offset"===e.zone._tag?en(e):`${en(e)}[${e.zone.id}]`;r(8444);let eo=Q,ea=b,eA=e=>b(e)&&"Offset"===e._tag,el=e=>b(e)&&"Named"===e._tag,ec=e=>"Utc"===e._tag,ed=S,eg=w,eu=D,eh=R,em=v,ep=F,eC=e=>{let t=T.exec(e);if(null===t){let t=Z(e);return null!==t?U(e,{timeZone:t}):c.none()}let[,r,i]=t;return U(r,{timeZone:i})},ef=e=>x(e.epochMilliseconds),eI=P,eE=H,ey=Y,eB=z,eQ=e=>"Offset"===e._tag?J(e.offset):e.id,eN=q,eb=W,eS=e=>q(e).toISOString(),ew=es},6292(e,t,r){var i=r(2730),n=r(9920),s=r(3536),o=r(8294),a=r(6437),A=r(2544),l=r(8527);let c="~effect/time/Duration",d=BigInt(0),g=BigInt(1),u=BigInt(1e3),h=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),m=(e,t)=>e.includes(".")?h(Number(e)*Number(t)):BigInt(e)*t,p=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,C=e=>{switch(typeof e){case"number":return R(e);case"bigint":return x(e);case"string":{if("Infinity"===e)return w;if("-Infinity"===e)return D;let t=p.exec(e);if(!t)break;let[r,i,n]=t;if("nano"===n||"nanos"===n)return x(m(i,g));if("micro"===n||"micros"===n)return x(m(i,u));let s=Number(i);switch(n){case"milli":case"millis":return R(s);case"second":case"seconds":return M(s);case"minute":case"minutes":return k(s);case"hour":case"hours":return v(s);case"day":case"days":return U(s);case"week":case"weeks":return F(s)}break}case"object":{if(null===e)break;if(c in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(l.Et))return f(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return S;if(e[0]===-1/0||e[1]===-1/0)return D;if(e[0]===1/0||e[1]===1/0)return w;return N(h(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return N(t);return N(h(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return f(e)},f=e=>{throw Error(`Invalid Input: ${e}`)},I=a.liftThrowable(C),E={_tag:"Millis",millis:0},y={_tag:"Infinity"},B={_tag:"NegativeInfinity"},Q={[c]:c,[s.HR](){return s.QK(this.value)},[i.HR](e){return b(e)&&Y(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[o.FX](){return this.toJSON()},pipe(){return(0,A.tT)(this,arguments)}},N=e=>{let t=Object.create(Q);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=E:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:h(1e6*e)}:t.value=e>0?y:B:e===d?t.value=E:t.value={_tag:"Nanos",nanos:e},t},b=e=>(0,l.i5)(e,c),S=N(0),w=N(1/0),D=N(-1/0),x=e=>N(e),R=e=>N(e),M=e=>N(1e3*e),k=e=>N(6e4*e),v=e=>N(36e5*e),U=e=>N(864e5*e),F=e=>N(6048e5*e),T=e=>{let t=C(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return h(1e6*t.value.millis)}},L=a.liftThrowable(T),O=(0,n.XY)(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),P=(0,n.XY)(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(T(e),t.value.nanos):r.onNanos(e.value.nanos,T(t))),H=(e,t)=>P(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag}),Y=(0,n.XY)(2,(e,t)=>H(e,t));r.d(t,{},{MI:e=>"Infinity"!==e.value._tag&&"NegativeInfinity"!==e.value._tag,Tn:w,YA:M,bN:C,cF:x,fP:e=>O(C(e),{onMillis:e=>e/1e3,onNanos:e=>Number(e)/1e9,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),kE:e=>O(C(e),{onMillis:n.D_,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),lX:I,n$:b,ne:R,qv:D,rs:H,tb:L,v_:S})},702(e,t,r){r.d(t,{Q56:()=>ed,jGc:()=>eg,Q7R:()=>E,hgn:()=>Y,as:()=>V,NLW:()=>_,PO3:()=>em,E2r:()=>R,MfU:()=>J,Tyx:()=>j,Fig:()=>X,KuX:()=>W,_OA:()=>en,sxi:()=>es,F_Q:()=>T,_r7:()=>eM,NS5:()=>z,fJG:()=>v,ATB:()=>U,pVV:()=>F,qIB:()=>H,Ab9:()=>eF,D9k:()=>eS,vCS:()=>eT,jJl:()=>y,i4r:()=>ef,ar0:()=>ey,yUA:()=>P,JkU:()=>k,yw5:()=>I,Rm2:()=>ew,MDB:()=>eR,fH4:()=>ex,FFw:()=>eD,TjK:()=>q,q7Y:()=>eU,jkJ:()=>ek,xm_:()=>K,Z9x:()=>ev,khu:()=>er,tvg:()=>ei,ZmZ:()=>M,S5A:()=>eu,cfM:()=>eh,nAr:()=>ep,QgK:()=>Z,DM4:()=>et,ivC:()=>B,Gte:()=>eo,PpN:()=>ea,PfK:()=>ec,L5P:()=>ee,MY7:()=>eB,pR5:()=>eQ,HZF:()=>eN,lKS:()=>eb,Nav:()=>eA,PyW:()=>N,lwU:()=>b,nGE:()=>S,DYE:()=>w,OH5:()=>D,Mim:()=>G,dGm:()=>$,SvU:()=>L,$mh:()=>Q,FcF:()=>eC,r_d:()=>el,gvr:()=>eI,rIH:()=>x,R6R:()=>O,hq:()=>eE});var i=r(8579),n=r(8826),s=r(5419),o=r(9920);r(2917);var a=r(9981),A=r(8444);let l=(0,o.XY)(e=>(0,i.yw)(e[0]),(e,t,r)=>{let i;return s.aE(t)?n.PpN(e,t):(i=Array.isArray(t)?A.Um(...t):t,n.Pxi(t=>n.qIB(r?.local?A.H7(i,A.j6(),t):A.LT(i,t),t=>n.PpN(e,t))))});var c=r(6437),d=r(6627),g=r(1371);(e,t,r)=>n.qIB(a.xn(t),t=>{let s=a.d3.defaultValue();return n.h_t(n.i4r(n.Mim(n.qIB(n.DYE(()=>n.PfK(e,a.d3,s)),t),e=>n.OH5(()=>{s=e})),{disableYield:!0}),e=>i.$L(e)?n.PyW(e.value):r(e,0===s.attempt?c.none():c.some(s)))});let u=(0,o.XY)(3,(e,t,r)=>n.qIB(a.xn(t),t=>{let i,s=a.d3.defaultValue(),o=n.h_t(n.DYE(()=>n.PfK(e,a.d3,s)),e=>(i=e,n.qIB(t(e),e=>(s=e,o))));return d.m8(o,e=>(0,g.s)(()=>r(i,e)))})),h=(0,o.XY)(2,(e,t)=>u(e,"function"==typeof t?t(o.D_):a.GM(t)?t:p(t),n.fJG)),m=a.le(a.i4),p=e=>{let t=e.schedule?a.le(e.schedule):m;return e.while&&(t=a.E6(t,({input:t})=>{let r=e.while(t);return i.yw(r)?r:n.PyW(r)})),e.until&&(t=a.E6(t,({input:t})=>{let r=e.until(t);return i.yw(r)?n.TjK(r,e=>!e):n.PyW(!r)})),void 0!==e.times&&(t=a.E6(t,({attempt:t})=>n.PyW(t<=e.times))),t},C=a.t5(1),f=r(2730).Xq({_E:e=>e,_A:e=>e,_R:e=>e});({...i.In,"~effect/Request":f}),r(3327);i.$n;let I=i.yw,E=n.Q7R;n.jBG,n.TSs,n.tfT,n.i8i,n.kAe;let y=n.jJl;n.iMI;let B=n.ivC,Q=n.$mh,N=n.PyW,b=n.lwU,S=n.nGE,w=n.DYE,D=n.OH5,x=n.rIH;n.Vxk;let R=n.E2r,M=n.ZmZ;n.Do,n.JrD,n.uVU,n.oIE;let k=n.JkU,v=n.fJG;n.gOk;let U=n.ATB,F=n.pVV,T=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Q,n.NpQ,n.jqV;let eN=n.HZF;n.lE;let eb=n.lKS;n.rfH;let eS=n.D9k;n.fn,n.RKA,n.lIX;let ew=n.lIX(),eD=n.lIX("Warn"),ex=n.lIX("Info"),eR=n.lIX("Debug");n.gsV;let eM=(e,t,r)=>(...i)=>R(n=>{try{e(...i,(e,r)=>{e?n(v(t?t(e,i):e)):n(N(r))})}catch(e){n(r?v(r(e,i)):T(e))}}),ek=n.jkJ,ev=n.Z9x,eU=n.q7Y,eF=n.Ab9;n.UVN;let eT=n.vCS},1757(e,t,r){var i=r(1160),n=r(2917);let s="~effect/encoding/EncodingError";class o extends i.rN("EncodingError"){[s]=s}let a=e=>{let t=g(e),r=t.length;if(r%4!=0)return n.fJ(new o({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return n.fJ(new o({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,n=0;e<r;e+=4,n+=3){let r=h(t.charCodeAt(e))<<18|h(t.charCodeAt(e+1))<<12|h(t.charCodeAt(e+2))<<6|h(t.charCodeAt(e+3));i[n]=r>>16,i[n+1]=r>>8&255,i[n+2]=255&r}return n.Py(i)}catch(e){return n.fJ(new o({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},A=e=>{let t=g(e),r=t.length;if(r%4==1)return n.fJ(new o({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return n.fJ(new o({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return a(i=i.replace(/-/g,"+").replace(/_/g,"/"))},l=e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return n.fJ(new o({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=I(t[2*i]),n=I(t[2*i+1]);r[i]=e<<4|n}return n.Py(r)}catch(t){return n.fJ(new o({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}},c=new TextEncoder,d=new TextDecoder,g=e=>e.replace(/[\n\r]/g,""),u=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=m[e[t-2]>>2],i+=m[(3&e[t-2])<<4|e[t-1]>>4],i+=m[(15&e[t-1])<<2|e[t]>>6],i+=m[63&e[t]];return t===r+1&&(i+=m[e[t-2]>>2],i+=m[(3&e[t-2])<<4],i+="=="),t===r&&(i+=m[e[t-2]>>2],i+=m[(3&e[t-2])<<4|e[t-1]>>4],i+=m[(15&e[t-1])<<2],i+="="),i};function h(e){if(e>=p.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=p[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let m=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],p=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],C=e=>u(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),f=e=>{let t="";for(let r=0;r<e.length;++r)t+=E[e[r]];return t},I=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},E=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];r.d(t,{},{$T:e=>n.Tj(a(e),e=>d.decode(e)),$X:A,DX:e=>"string"==typeof e?C(c.encode(e)):C(e),EF:l,UD:e=>n.Tj(A(e),e=>d.decode(e)),WG:e=>"string"==typeof e?u(c.encode(e)):u(e),mU:e=>"string"==typeof e?f(c.encode(e)):f(e),xQ:e=>n.Tj(l(e),e=>d.decode(e)),y4:a})},2730(e,t,r){var i,n,s,o=r(3536),a=r(5678),A=r(8527);let l="~effect/interfaces/Equal";function c(){return 1==arguments.length?e=>d(e,arguments[0]):d(arguments[0],arguments[1])}function d(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||a.J.has(e)||a.J.has(t))&&function(e,t,r){let i=m.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,m.set(e,i);let n=r(e,t);i.set(t,n);let s=m.get(t);return s||(s=new WeakMap,m.set(t,s)),s.set(e,n),n}(e,t,h))}let g=new WeakSet,u=new WeakSet;function h(e,t){if(o.tW(e)!==o.tW(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=f(e),i=f(t);if(r!==i)return!1;let n=r&&i;return("function"!=typeof e||!!n)&&function(e,t,r){let i=g.has(e),n=u.has(t);if(i&&n)return!0;if(i||n)return!1;g.add(e),u.add(t);let s=r();return g.delete(e),u.delete(t),s}(e,t,()=>{if(n)return e[l](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!d(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&p(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&C(e,t);var r=e,i=t;let s=(0,a.X)(r),o=(0,a.X)(i);if(s.size!==o.size)return!1;for(let e of s)if(!o.has(e)||!d(r[e],i[e]))return!1;return!0})}let m=new WeakMap,p=(i=d,n=d,function(e,t){for(let[r,s]of e){let e=!1;for(let[o,a]of t)if(i(r,o)&&n(s,a)){e=!0;break}if(!e)return!1}return!0}),C=(s=d,function(e,t){for(let r of e){let e=!1;for(let i of t)if(s(r,i)){e=!0;break}if(!e)return!1}return!0}),f=e=>(0,A.i5)(e,l);r.d(t,{aI:()=>c},{HR:l,Xq:e=>(a.J.add(e),e),jI:()=>c})},3558(e,t,r){let i=e=>(t,r)=>t===r||e(t,r),n=(e,t)=>e===t;function s(e){return i((t,r)=>{if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(!e[i](t[i],r[i]))return!1;return!0})}function o(e){return i((t,r)=>{if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(!e(t[i],r[i]))return!1;return!0})}function a(e){let t=Reflect.ownKeys(e);return i((r,i)=>{for(let n of t)if(!e[n](r[n],i[n]))return!1;return!0})}r.d(t,{O3:()=>o,_k:()=>a,rd:()=>s},{L8:i,YZ:()=>n})},5536(e,t,r){var i=r(8579),n=r(8826);i.IH,i.b9;let s=i.xt,o=i.cb,a=i.Rk;i.V2,n._sz;let A=n.x5l,l=n.CoE,c=n.VE1;n._mh,n.YDM,n.lNM,n.K$2,n.GUt,n.HIt,n.yJo,n._OD,n.jCT,n.Wtn,n.v9O,n.zPu,n.EkE,n.Hox,n.ely,n.kMI,n.Sv3,n.lgw,r.d(t,{},{AT:o,N6:c,Py:s,fJ:a,oJ:l,rI:A})},8516(e,t,r){var i=r(8826);i.zFM,i.C6p,i.D7p,i.INJ;let n=i.mKq;i.eGS,i.DKo,i.$MQ,i.Iku,i.vTQ,r.d(t,{},{G:n})},262(e,t,r){r.d(t,{Um:()=>b,Q2:()=>B,eL:()=>N,or:()=>y,kP:()=>S,L8:()=>Q});var i=r(3207),n=r(6437),s=r(2917),o=r(8149),a=r(5419),A=r(702),l=r(9920),c=r(9077),d=r(893),g=r(2544),u=r(6627);let h=A.PyW([void 0]),m={"~effect/Sink":{_A:l.D_,_In:l.D_,_L:l.D_,_E:l.D_,_R:l.D_},pipe(){return(0,g.tT)(this,arguments)}},p=e=>{let t=Object.create(m);return t.transform=e,t},C=e=>d.Z1((t,r)=>A.PyW(A.qIB(e.transform(t,r),o.Vw)));A.ZmZ,n.none,n.isNone,n.none;let f=e=>{let t;return t=d.oA(A.TjK(e,C)),p((e,r)=>d.wp(t)(e,r).pipe(A.qIB(A.i4r({disableYield:!0})),u.m8(A.PyW)))};var I=r(1260);let E="~effect/platform/FileSystem",y=e=>"bigint"==typeof e?e:BigInt(e),B=a.kl("effect/platform/FileSystem"),Q=e=>B.of({...e,[E]:E,exists:t=>(0,l.Fs)(e.access(t),A.as(!0),A.KuX("PlatformError",e=>"NotFound"===e.reason._tag?A.PyW(!1):A.fJG(e))),readFileString:(t,r)=>A.qIB(e.readFile(t),e=>A.SvU({try:()=>new TextDecoder(r).decode(e),catch:e=>(0,c.T8)({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:A.D9k(function*(t,r){let s=yield*e.open(t,{flag:"r"});r?.offset&&(yield*s.seek(r.offset,"start"));let a=r?.bytesToRead!==void 0?y(r.bytesToRead):void 0,l=BigInt(0),c=y(r?.chunkSize??65536),d=s.readAlloc(c);return I.OBL(A.PyW(A.qIB(A.DYE(()=>void 0!==a&&a<=l?o.Vw():void 0!==a&&a-l<c?s.readAlloc(a-l):d),n.match({onNone:()=>o.Vw(),onSome:e=>(l+=BigInt(e.length),A.PyW(i.of(e)))}))))},I.oAg),sink:(t,r)=>(0,l.Fs)(e.open(t,{flag:"w",...r}),A.TjK(e=>{let t,r;return t=t=>e.writeAll(t),r=A.jJl(e=>t(e),{discard:!0}),p(e=>e.pipe(A.qIB(r),A.i4r({disableYield:!0}),u.m8(()=>h)))}),f),writeFileString:(t,r,i)=>A.qIB(A.SvU({try:()=>new TextEncoder().encode(r),catch:e=>(0,c.T8)({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>e.writeFile(t,r,i))}),N="~effect/platform/FileSystem/File",b=Object.assign(e=>e,{option:e=>n.some(e),result:e=>s.Py(e),is:e=>!0});class S extends a.kl()("effect/platform/FileSystem/WatchBackend"){}},7174(e,t,r){var i=r(9920),n=r(6437),s=r(8527),o=r(2917);s.Kg,s.Et,s.Lm,s.sI,s.Bm,s.$P;let a=(0,i.XY)(2,(e,t)=>r=>{let i=e(r);if(o.N6(i))return o.fJ(r);let n=t(i.success);return o.N6(n)?o.fJ(r):n});r.d(t,{},{Bh:a,zL:e=>t=>{let r=e(t);return o.N6(r)?n.none():n.some(r.success)}})},7292(e,t,r){var i=r(8527),n=r(8629);let s="[Circular]";function o(e){return"string"==typeof e?JSON.stringify(e):String(e)}function a(e){return e.map(e=>`[${o(e)}]`).join("")}function A(e){try{return e.toISOString()}catch{return"Invalid Date"}}function l(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=(0,n.E$)(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}r.d(t,{GP:()=>function e(t,r){let a=r?.space??0,l=new WeakSet,c=a?"number"==typeof a?" ".repeat(a):a:"",d=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function t(a,g=0){if(Array.isArray(a)){let e,r;if(l.has(a))return s;if(l.add(a),!c||a.length<=1)return`[${a.map(e=>t(e,g)).join(",")}]`;let i=a.map(e=>t(e,g+1)).join(",\n"+(e=g+1,c.repeat(e)));return`[ -${r=g+1,c.repeat(r)}${i} -${c.repeat(g)}]`}if(a instanceof Date)return A(a);if(!r?.ignoreToString&&i.i5(a,"toString")&&"function"==typeof a.toString&&a.toString!==Object.prototype.toString&&a.toString!==Array.prototype.toString){let e=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(a);return a instanceof Error&&a.cause?`${e} (cause: ${t(a.cause,g)})`:e}if("string"==typeof a)return JSON.stringify(a);if("number"==typeof a||null==a||"boolean"==typeof a||"symbol"==typeof a)return String(a);if("bigint"==typeof a)return String(a)+"n";if("object"==typeof a||"function"==typeof a){if(l.has(a))return s;if(l.add(a),n.uC in a)return e((0,n.f6)(a));if(Symbol.iterator in a)return`${a.constructor.name}(${t(Array.from(a),g)})`;let r=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(a);if(!c||r.length<=1){let e=`{${r.map(e=>`${o(e)}:${t(a[e],g)}`).join(",")}}`;return d(a,e)}let i=`{ -${r.map(e=>{let r;return`${r=g+1,c.repeat(r)}${o(e)}: ${t(a[e],g+1)}`}).join(",\n")} -${c.repeat(g)}}`;return d(a,i)}return String(a)}(t,0)},IB:()=>l,Yq:()=>A,_r:()=>o,jV:()=>a})},9920(e,t,r){var i=r(2544);let n=e=>()=>e,s=n(!0),o=n(!1),a=n(null),A=n(void 0);function l(e,...t){return(0,i.tT)(e,t)}function c(e,t,r,i,n,s,o,a,A){switch(arguments.length){case 1:return e;case 2:return function(){return t(e.apply(this,arguments))};case 3:return function(){return r(t(e.apply(this,arguments)))};case 4:return function(){return i(r(t(e.apply(this,arguments))))};case 5:return function(){return n(i(r(t(e.apply(this,arguments)))))};case 6:return function(){return s(n(i(r(t(e.apply(this,arguments))))))};case 7:return function(){return o(s(n(i(r(t(e.apply(this,arguments)))))))};case 8:return function(){return a(o(s(n(i(r(t(e.apply(this,arguments))))))))};case 9:return function(){return A(a(o(s(n(i(r(t(e.apply(this,arguments)))))))))}}}function d(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}r.d(t,{Bj:()=>d,Fs:()=>l,L3:()=>c},{D_:e=>e,MN:A,XR:a,XY:function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},Yi:A,dY:n,f4:o,ue:s})},3536(e,t,r){var i=r(9920),n=r(5678),s=r(8527);let o="~effect/interfaces/Hash",a=e=>{switch(typeof e){case"number":return g(e);case"bigint":return u(e.toString(10));case"boolean":case"symbol":return u(String(e));case"string":return u(e);case"undefined":return u("undefined");case"function":case"object":if(null===e)return u("null");{if(e instanceof Date)return u(e.toISOString());if(e instanceof RegExp)return u(e.toString());if(n.J.has(e))return A(e);if(y.has(e))return y.get(e);let t=function(e,t){if(B.has(e))return u("[Circular]");B.add(e);let r=t();return B.delete(e),r}(e,()=>{if(d(e))return e[o]();if("function"==typeof e)return A(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return C(e);if(e instanceof Map)return f(e);if(e instanceof Set)return I(e);return m(e)});return y.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},A=e=>(E.has(e)||E.set(e,g(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),E.get(e)),l=(0,i.XY)(2,(e,t)=>53*e^t),c=e=>0xbfffffff&e|e>>>1&0x40000000,d=e=>(0,s.i5)(e,o),g=e=>{if(e!=e)return u("NaN");if(e===1/0)return u("Infinity");if(e===-1/0)return u("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return c(t)},u=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return c(t)},h=(e,t)=>{let r=12289;for(let i of t)r^=l(a(i),a(e[i]));return c(r)},m=e=>h(e,(0,n.X)(e)),p=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return c(i)},C=p(6151,a),f=p(u("Map"),([e,t])=>l(a(e),a(t))),I=p(u("Set"),a),E=new WeakMap,y=new WeakMap,B=new WeakSet;r.d(t,{},{HR:o,QK:m,YO:C,Yj:u,ai:g,kg:l,tW:a,uN:h,yT:A})},8294(e,t,r){var i=r(7292),n=r(8527),s=r(8629);let o=Symbol.for("nodejs.util.inspect.custom"),a=e=>{try{if(n.i5(e,"toJSON")&&n.Tn(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(a)}catch{return"[toJSON threw]"}return(0,s.E$)(e)};class A{[o](){return this.toJSON()}toString(){return(0,i.GP)(this.toJSON())}}r.d(t,{Xs:()=>A},{FX:o,ZK:(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?(0,i.IB)(e,{space:t}):String(e)}catch{return String(e)}},aB:a,os:{toJSON(){return a(this)},[o](){return this.toJSON()},toString(){return(0,i.GP)(this.toJSON())}}})},1034(e,t,r){var i=r(9920),n=r(6437),s=r(8527);let o=(0,i.XY)(2,(e,t)=>{let r=0;for(let i of e){let e=t(i,r);if((0,s.Lm)(e)){if(e)return n.some(i)}else if(n.isSome(e))return e;r++}return n.none()}),a=(0,i.XY)(2,(e,t)=>({[Symbol.iterator](){let r=e[Symbol.iterator](),i=0;return{next(){let e=r.next();for(;!e.done;){if(t(e.value,i++))return{done:!1,value:e.value};e=r.next()}return{done:!0,value:void 0}}}}}));r.d(t,{},{i8:o,pb:a})},7512(e,t,r){var i=r(8826);let n=i.zzk;i.Fbb,r.d(t,{},{LZ:n})},8444(e,t,r){r.d(t,{H7:()=>I,LT:()=>E,QZ:()=>Q,j6:()=>C,Um:()=>w,Gt:()=>x,S5:()=>R,Py:()=>y});var i=r(5419),n=r(9920),s=r(8826),o=r(2544);let a={"~effect/Deferred":{_A:n.D_,_E:n.D_},pipe(){return(0,o.tT)(this,arguments)}},A=(0,n.XY)(2,(e,t)=>s.OH5(()=>l(e,t))),l=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0};var c=r(8579),d=r(1746);let g="~effect/Layer/MemoMap",u={"~effect/Layer":{_ROut:n.D_,_E:n.D_,_RIn:n.D_},pipe(){return(0,o.tT)(this,arguments)}},h=e=>{let t=Object.create(u);return t.build=e,t},m=e=>h((t,r)=>{let i=d.Fp(r);return s.cfM(e(t,i),e=>"Failure"===e._tag?d.VN(i,e):s.rIH)});class p{get[g](){return g}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,s.hgn(s.Uio(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let n,o,l,c,g=this.get(e,t);return g?g:(i=this,n=d.LZ(),(o=Object.create(a)).resumes=void 0,o.effect=void 0,c={observers:1,effect:(l=o,s.E2r(e=>l.effect?e(l.effect):(l.resumes??=[],l.resumes.push(e),s.OH5(()=>{let t=l.resumes.indexOf(e);l.resumes.splice(t,1)})))),finalizer:t=>s.DYE(()=>(c.observers--,0===c.observers)?(i.map.delete(e),d.VN(n,t)):s.rIH)},i.map.set(e,c),s.Uio(t,c.finalizer).pipe(s.qIB(()=>r(i,n)),s.cfM(e=>(c.effect=e,A(l,e)))))}}let C=()=>new p;class f extends i.kl()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=i.Y6(e,f);return t?new p(t):C()}}let I=(0,n.XY)(3,(e,t,r)=>s.PfK(s.TjK(e.build(t,r),i.WQ(f,t)),f,t)),E=(0,n.XY)(2,(e,t)=>c.R6(r=>I(e,f.forkOrCreate(r.context),t))),y=function(){return 1==arguments.length?e=>B(i.L8(arguments[0],e)):B(i.L8(arguments[0],arguments[1]))},B=e=>h((0,n.dY)(s.PyW(e))),Q=function(){return 1==arguments.length?e=>N(arguments[0],e):N(arguments[0],arguments[1])},N=(e,t)=>b(s.TjK(t,t=>i.L8(e,t))),b=e=>{var t;let r;return t=(t,r)=>d.Gt(e,r),r=m((e,i)=>e.getOrElseMemoize(r,i,t))},S=(e,t,r)=>{let n=d.Fp(r,"parallel");return s.jJl(e,e=>e.build(t,d.Fp(n,"sequential")),{concurrency:e.length}).pipe(s.TjK(e=>i.Um(...e)))},w=(...e)=>m((t,r)=>S(e,t,r)),D=(e,t,r)=>m((i,n)=>s.qIB(Array.isArray(t)?S(t,i,n):t.build(i,n),t=>e.build(i,n).pipe(s.PpN(t),s.TjK(e=>r(e,t))))),x=(0,n.XY)(2,(e,t)=>D(e,t,n.D_)),R=(0,n.XY)(2,(e,t)=>D(e,t,(e,t)=>i.h1(t,e)))},5440(e,t,r){var i=r(8826),n=r(606);let s=i.LkF;i.OPA;let o=n.OW(s),a=n.bi(s);r.d(t,{},{OW:o,bi:a})},608(e,t,r){var i=r(3207),n=r(7292),s=(r(9920),r(8579)),o=r(8826),a=r(8444),A=r(8210);let l=o.d$_;o.olX;let c=o.RBg;o.Umn,n.IB,o.qho,o.ekV,r.d(t,{},{L8:c,d$:l,qd:(e,t)=>a.QZ(l,(0,s.R6)(o.D9k(function*(r){let i=new Set(t?.mergeWithExisting===!0?r.getRef(o.d$_):[]);for(let t of e)i.add((0,s.yw)(t)?yield*t:t);return i})))})},6437(e,t,r){r.r(t),r.d(t,{Do:()=>eu,all:()=>X,andThen:()=>Y,as:()=>L,asVoid:()=>O,bind:()=>eg,bindTo:()=>ec,composeK:()=>_,contains:()=>eA,containsWith:()=>ea,exists:()=>el,filter:()=>er,filterMap:()=>et,firstSomeOf:()=>S,flatMap:()=>H,flatMapNullishOr:()=>G,flatten:()=>z,fromIterable:()=>I,fromNullOr:()=>x,fromNullishOr:()=>w,fromUndefinedOr:()=>D,gen:()=>eh,getFailure:()=>y,getOrElse:()=>B,getOrNull:()=>M,getOrThrow:()=>F,getOrThrowWith:()=>U,getOrUndefined:()=>k,getSuccess:()=>E,isNone:()=>m,isOption:()=>h,isSome:()=>p,let:()=>ed,lift2:()=>es,liftNullishOr:()=>R,liftPredicate:()=>eo,liftThrowable:()=>v,makeCombinerFailFast:()=>ep,makeEquivalence:()=>ei,makeOrder:()=>en,makeReducer:()=>em,makeReducerFailFast:()=>eC,map:()=>T,match:()=>C,none:()=>g,orElse:()=>Q,orElseResult:()=>b,orElseSome:()=>N,partitionMap:()=>ee,product:()=>W,productMany:()=>j,reduceCompact:()=>Z,some:()=>u,tap:()=>J,toArray:()=>$,toRefinement:()=>f,void:()=>P,zipLeft:()=>V,zipRight:()=>q,zipWith:()=>K});var i=r(2730),n=r(3558),s=r(9920),o=r(9739),a=r(7317),A=r(9145),l=r(606),c=r(8527);function d(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let g=()=>a.dv,u=a.zN,h=a.oL,m=a.$I,p=a.Ru,C=(0,s.XY)(2,(e,{onNone:t,onSome:r})=>m(e)?t():r(e.value)),f=e=>t=>p(e(t)),I=e=>{for(let t of e)return u(t);return g()},E=A.Oz,y=A.L8,B=(0,s.XY)(2,(e,t)=>m(e)?t():e.value),Q=(0,s.XY)(2,(e,t)=>m(e)?t():e),N=(0,s.XY)(2,(e,t)=>m(e)?u(t()):e),b=(0,s.XY)(2,(e,t)=>m(e)?T(t(),A.Py):T(e,A.fJ)),S=e=>{let t=g();for(t of e)if(p(t))break;return t},w=e=>null==e?g():u(e),D=e=>void 0===e?g():u(e),x=e=>null===e?g():u(e),R=e=>(...t)=>w(e(...t)),M=B(s.XR),k=B(s.MN),v=e=>(...t)=>{try{return u(e(...t))}catch{return g()}},U=(0,s.XY)(2,(e,t)=>{if(p(e))return e.value;throw t()}),F=U(()=>Error("getOrThrow called on a None")),T=(0,s.XY)(2,(e,t)=>m(e)?g():u(t(e.value))),L=(0,s.XY)(2,(e,t)=>T(e,()=>t)),O=L(void 0),P=u(void 0),H=(0,s.XY)(2,(e,t)=>m(e)?g():t(e.value)),Y=(0,s.XY)(2,(e,t)=>H(e,e=>{let r=(0,c.Tn)(t)?t(e):t;return h(r)?r:u(r)})),G=(0,s.XY)(2,(e,t)=>m(e)?g():w(t(e.value))),z=H(s.D_),q=(0,s.XY)(2,(e,t)=>H(e,()=>t)),V=(0,s.XY)(2,(e,t)=>J(e,()=>t)),_=(0,s.XY)(2,(e,t)=>r=>H(e(r),t)),J=(0,s.XY)(2,(e,t)=>H(e,e=>T(t(e),()=>e))),W=(e,t)=>p(e)&&p(t)?u([e.value,t.value]):g(),j=(e,t)=>{if(m(e))return g();let r=[e.value];for(let e of t){if(m(e))return g();r.push(e.value)}return u(r)},X=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(m(r))return g();t.push(r.value)}return u(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(m(i))return g();t[r]=i.value}return u(t)},K=(0,s.XY)(3,(e,t,r)=>T(W(e,t),([e,t])=>r(e,t))),Z=(0,s.XY)(3,(e,t,r)=>{let i=t;for(let t of e)p(t)&&(i=r(i,t.value));return i}),$=e=>m(e)?[]:[e.value],ee=(0,s.XY)(2,(e,t)=>{if(m(e))return[g(),g()];let r=t(e.value);return A.N6(r)?[u(r.failure),g()]:[g(),u(r.success)]}),et=(0,s.XY)(2,(e,t)=>{if(m(e))return g();let r=t(e.value);return A.oJ(r)?u(r.success):g()}),er=(0,s.XY)(2,(e,t)=>m(e)?g():t(e.value)?u(e.value):g()),ei=e=>n.L8((t,r)=>m(t)?m(r):!m(r)&&e(t.value,r.value)),en=e=>l.L8((t,r)=>p(t)?p(r)?e(t.value,r.value):1:-1),es=e=>(0,s.XY)(2,(t,r)=>K(t,r,e)),eo=(0,s.XY)(2,(e,t)=>t(e)?u(e):g()),ea=e=>(0,s.XY)(2,(t,r)=>!m(t)&&e(t.value,r)),eA=ea(i.jI()),el=(0,s.XY)(2,(e,t)=>!m(e)&&t(e.value)),ec=o.Jr(T),ed=o.zM(T),eg=o.oI(T,H),eu=u({}),eh=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(m(e))return e;r=t.next(e.value)}return u(r.value)};function em(e){return d((t,r)=>m(t)?r:m(r)?t:u(e.combine(t.value,r.value)),g())}function ep(e){return{combine:(t,r)=>m(t)||m(r)?g():u(e.combine(t.value,r.value))}}function eC(e){let t=ep(e).combine,r=u(e.initialValue);return d(t,r,e=>{let i=r;for(let r of e)if(m(i=t(i,r)))break;return i})}},606(e,t,r){var i=r(9920);function n(e){return(t,r)=>t===r?0:e(t,r)}let s=n((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),o=n((e,t)=>e<t?-1:1),a=(0,i.XY)(2,(e,t)=>n((r,i)=>e(t(r),t(i)))),A=a(s,e=>e.getTime());function l(e){return n((t,r)=>{let i=e.length;for(let n=0;n<i;n++){let i=e[n](t[n],r[n]);if(0!==i)return i}return 0})}function c(e){return n((t,r)=>{let i=t.length,n=r.length,o=Math.min(i,n);for(let i=0;i<o;i++){let n=e(t[i],r[i]);if(0!==n)return n}return s(i,n)})}function d(e){let t=Object.keys(e);return n((r,i)=>{for(let n of t){let t=e[n](r[n],i[n]);if(0!==t)return t}return 0})}let g=e=>(0,i.XY)(2,(t,r)=>-1===e(t,r)),u=e=>(0,i.XY)(2,(t,r)=>1===e(t,r)),h=e=>(0,i.XY)(2,(t,r)=>t===r||1>e(t,r)?t:r),m=e=>(0,i.XY)(2,(t,r)=>t===r||e(t,r)>-1?t:r);r.d(t,{L8:()=>n,O3:()=>c,_k:()=>d,rd:()=>l},{Bt:e=>(0,i.XY)(2,(t,r)=>!g(e)(t,r.minimum)&&!u(e)(t,r.maximum)),OW:e=>(0,i.XY)(2,(t,r)=>-1!==e(t,r)),Qw:o,T9:m,bi:e=>(0,i.XY)(2,(t,r)=>1!==e(t,r)),hl:g,jk:h,n9:A,qE:e=>(0,i.XY)(2,(t,r)=>h(e)(r.maximum,m(e)(r.minimum,t))),wN:s,yJ:u,zQ:a})},2544(e,t,r){let i=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},n={pipe(){return i(this,arguments)}},s=function(){function e(){}return e.prototype=n,e}();r.d(t,{},{Xs:s,tT:i})},9077(e,t,r){var i=r(1160);let n="~effect/platform/PlatformError";class s extends i.rN("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class o extends i.$D{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class a extends i.rN("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[n]=n;get message(){return this.reason.message}}r.d(t,{},{Oj:e=>new a(new o(e)),T8:e=>new a(new s(e))})},8527(e,t,r){var i=r(9920);function n(e){return"string"==typeof e}function s(e){return"number"==typeof e}function o(e){return"boolean"==typeof e}function a(e){return"bigint"==typeof e}function A(e){return"symbol"==typeof e}function l(e){return n(e)||s(e)||A(e)}function c(e){return"function"==typeof e}function d(e){return void 0!==e}function g(e){return null!=e}function u(e){return!1}function h(e){return!0}function m(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function p(e){return"object"==typeof e&&null!==e||c(e)}let C=(0,i.XY)(2,(e,t)=>p(e)&&t in e),f=(0,i.XY)(2,(e,t)=>C(e,"_tag")&&e._tag===t);function I(e){return e instanceof Error}function E(e){return e instanceof Date}function y(e){return C(e,Symbol.iterator)||n(e)}r.d(t,{$P:()=>E,Bm:()=>A,EA:()=>d,Et:()=>s,Fw:()=>p,Gv:()=>m,Kg:()=>n,Lm:()=>o,Pd:()=>u,Tn:()=>c,Vq:()=>g,bJ:()=>I,hL:()=>l,sI:()=>a,t8:()=>h,xZ:()=>y},{$J:f,i5:C})},6627(e,t,r){var i=r(8149),n=r(5536),s=r(7174),o=r(9920),a=r(8826),A=r(2917);let l=(0,o.XY)(2,(e,t)=>a.rNk(e,g,e=>t(e))),c=e=>"Fail"===e._tag&&i.$L(e.error),d=s.Bh(i.kh,e=>i.$L(e)?A.Py(e):A.fJ(e));i.kh;let g=s.Bh(i.kh,e=>i.$L(e)?A.Py(e.value):A.fJ(e)),u=(0,o.XY)(2,(e,t)=>a.khu(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=d(e);return A.N6(r)?t.onFailure(r.failure):t.onDone(r.success.value)}}));r.d(t,{},{Og:e=>e.reasons.some(c),aU:e=>{let t=d(e);return A.N6(t)?n.AT(t.failure):n.Py(t.success.value)},m8:l,tv:u})},9444(e,t,r){r.d(t,{kx:()=>f,_1:()=>C,L8:()=>h,x:()=>m,bQ:()=>p,n_:()=>I,h0:()=>E});var i=r(9920),n=r(8579),s=r(8826);let o=Symbol.for("effect/MutableList/Empty"),a=()=>({array:[],mutable:!0,offset:0,next:void 0}),A=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=a(),e.tail=e.tail.next):e.head=e.tail=a(),e.tail.array.push(t),e.length++},l=e=>{e.head=e.tail=void 0,e.length=0},c=e=>{if(!e.head)return o;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:l(e)),t};var d=r(6627);let g={_A:i.D_,_E:i.D_},u={"~effect/Queue":g,"~effect/Queue/Enqueue":g,"~effect/Queue/Dequeue":g,...n.fU,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:B(this)}}},h=e=>n.R6(t=>{let r=Object.create(u);return r.dispatcher=t.currentDispatcher,r.capacity=e?.capacity??1/0,r.strategy=e?.strategy??"suspend",r.messages={head:void 0,tail:void 0,length:0},r.scheduleRunning=!1,r.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},s.PyW(r)}),m=(e,t)=>s.DYE(()=>{if("Open"!==e.state._tag)return Q;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return Q;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return A(e.messages,t),w(e),N;return R(e,t);case"sliding":return c(e.messages),A(e.messages,t),N}return A(e.messages,t),D(e),N}),p=(e,t)=>"Open"===e.state._tag&&(e.messages.length>=e.capacity?"sliding"===e.strategy?(c(e.messages),A(e.messages,t),!0):e.capacity<=0&&e.state.takers.size>0&&(A(e.messages,t),w(e),!0):(A(e.messages,t),D(e),!0)),C=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=n.cb(t),i=s.il9(r,b);return 0===e.state.offers.size&&0===e.messages.length?v(e,i):e.state={...e.state,_tag:"Closing",exit:i},!0},f=e=>C(e,n.OE(n.RS())),I=e=>s.OH5(()=>{if("Done"===e.state._tag)return!0;l(e.messages);let t=e.state.offers;if(v(e,"Open"===e.state._tag?S:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(Q):e.resume(n.xt(e.remaining.slice(e.offset)));t.clear()}return!0}),E=e=>y(e,1,1/0),y=(e,t,r)=>s.DYE(()=>x(e,t,r)??s.hgn(k(e),y(e,1,r))),B=e=>"Done"===e.state._tag?0:e.messages.length,Q=n.xt(!1),N=n.xt(!0),b=n.Rk(n.RS()),S=s._sz(),w=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(s.x5l),0===e.messages.length)break}},D=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>w(e),0))},x=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return n.xt([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,M(e),e.capacity=0;let t=[c(e.messages)];return M(e),n.xt(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return l(e),t}let r=Array(t),i=0,n=e.head;for(;n;){for(;n.offset<n.array.length;)if(r[i++]=n.array[n.offset],n.mutable&&(n.array[n.offset]=void 0),n.offset++,i===t)return e.head=n,e.length-=t,0===e.length&&l(e),r;n=n.next}return l(e),r})(e.messages,r);return M(e),n.xt(t)}},R=(e,t)=>s.E2r(r=>{if("Open"!==e.state._tag)return r(Q);let i={_tag:"Single",message:t,resume:r};return e.state.offers.add(i),s.OH5(()=>{"Open"===e.state._tag&&e.state.offers.delete(i)})}),M=e=>{if("Done"===e.state._tag)return d.Og(e.state.exit.cause);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(v(e,e.state.exit),d.Og(e.state.exit.cause));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)A(e.messages,r.message),t--,r.resume(N),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;A(e.messages,r.remaining[r.offset]),t--}r.resume(n.xt([])),e.state.offers.delete(r)}return!1},k=e=>s.E2r(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),s.OH5(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),v=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let i of(e.state={_tag:"Done",exit:t},r.takers))i(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()}},7045(e,t,r){var i=r(9920);let n=(0,i.XY)(2,(e,t)=>{let r=[];for(let i of a(e))r.push(t(i,e[i]));return r})((e,t)=>[e,t]),s=(0,i.XY)(2,(e,t)=>Object.hasOwn(e,t)),o=(0,i.XY)(2,(e,t)=>{let r={...e};for(let i of a(e))r[i]=t(e[i],i);return r}),a=e=>Object.keys(e);r.d(t,{},{T9:e=>{let t=(0,i.XY)(2,(t,r)=>{for(let i of a(t))if(!s(r,i)||!e(t[i],r[i]))return!1;return!0});return(e,r)=>t(e,r)&&t(r,e)},Tj:o,Wo:n})},8629(e,t,r){var i=r(2544),n=r(8527);let s=Symbol.for("~effect/Redactable");function o(e){return(0,n.i5)(e,s)?a(e):e}function a(e){return e[s](globalThis[A]?.context??l)}let A="~effect/Fiber/currentFiber",l={"~effect/Context":{},mapUnsafe:new Map,pipe(){return(0,i.tT)(this,arguments)}};r.d(t,{E$:()=>o,f6:()=>a},{fL:A,uC:s})},1036(e,t,r){var i=r(2730),n=r(3536),s=r(8579),o=r(9496),a=r(8527);let A="~effect/data/Redacted",l={[A]:{_A:e=>e},label:void 0,...s.fU,toJSON(){return this.toString()},toString(){return`<redacted${(0,a.Kg)(this.label)?":"+this.label:""}>`},[n.HR](){return n.tW(o.m7.get(this))},[i.HR](e){return(0,a.i5)(e,A)&&i.aI(o.m7.get(this),o.m7.get(e))}},c=o.Uq;r.d(t,{},{L8:(e,t)=>{let r=Object.create(l);return t?.label&&(r.label=t.label),o.m7.set(r,e),r},Uq:c})},8210(e,t,r){var i=r(8826),n=r(3894);n.F8;let s=n.iL;n.Gl;let o=n.d8;n.vA;let a=n.zQ;n.rf,n.ce,n.ls,n.nU,n.aG,i.d$_,i.olX,r.d(t,{},{d8:o,iL:s,zQ:a})},2917(e,t,r){var i=r(9920),n=r(7317),s=r(9145),o=r(8527);let a=s.Py,A=s.fJ;s.sV,s.aI;let l=s.N6,c=s.oJ;s.Oz,s.L8;let d=(0,i.XY)(2,(e,t)=>c(e)?a(t(e.success)):A(e.failure)),g=(0,i.XY)(2,(e,{onFailure:t,onSuccess:r})=>l(e)?t(e.failure):r(e.success)),u=(0,i.XY)(2,(e,t)=>{if(c(e))return e.success;throw t(e.failure)})(i.D_);n.dv,r.d(t,{},{Gp:u,N6:l,Py:a,Sv:e=>{if((0,o.Tn)(e))try{return a(e())}catch(e){return A(e)}try{return a(e.try())}catch(t){return A(e.catch(t))}},Tj:d,YW:g,fJ:A,oJ:c})},9981(e,t,r){let i;var n,s=r(8149),o=r(5419),a=r(6292),A=r(9920),l=r(8579),c=r(8826),d=r(2544),g=r(8527),u=r(6627);let h="~effect/Schedule",m=o.Or("effect/Schedule/CurrentMetadata",{defaultValue:(0,A.dY)({input:void 0,output:void 0,duration:a.v_,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),p={[h]:{_Out:A.D_,_In:A.D_,_Env:A.D_},pipe(){return(0,d.tT)(this,arguments)}},C=e=>{let t=Object.create(p);return t.step=e,t},f=()=>{let e,t,r=0;return(i,n)=>{void 0===t&&(t=i);let s=i-t,o=void 0===e?0:i-e;return e=i,{input:n,attempt:++r,start:t,now:i,elapsed:s,elapsedSincePrevious:o}}},I=e=>C(c.TjK(e,e=>{let t=f();return(r,i)=>e(t(r,i))})),E=e=>c.Tyx(e.step,e=>c.PyW(()=>c.ATB(e))),y=(0,A.XY)(2,(e,t)=>C(c.TjK(E(e),e=>{let r=f();return(i,n)=>c.qIB(e(i,n),e=>{let[o,a]=e,A=t({...r(i,n),output:o,duration:a});return c.qIB((0,l.yw)(A)?A:c.PyW(A),t=>t?c.PyW(e):s.Vw(o))})}))),B=(n=a.v_,i=a.bN(n),I(c.PyW(e=>c.PyW([e.attempt-1,i]))));r.d(t,{},{E6:y,EV:(e,t=2)=>{let r=a.kE(a.bN(e));return I(c.PyW(e=>{let i=a.ne(r*Math.pow(t,e.attempt-1));return c.PyW([i,i])}))},GM:e=>(0,g.i5)(e,h),d3:m,i4:B,le:e=>C(c.TjK(E(e),e=>(t,r)=>u.tv(e(t,r),{onSuccess:e=>c.PyW([r,e[1]]),onFailure:c.ATB,onDone:()=>s.Vw(r)}))),t5:e=>y(B,({attempt:t})=>c.PyW(t<=e)),xn:e=>c.RKA(t=>c.TjK(E(e),e=>{let r=f();return i=>c.DYE(()=>{let n=t.currentTimeMillisUnsafe();return c.qIB(e(n,i),([e,t])=>{let s=r(n,i);return s.output=e,s.duration=t,c.as(c.yy4(t),s)})})}))})},3327(e,t,r){var i=r(5419);let n=i.Or("effect/Scheduler",{defaultValue:()=>new a}),s="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class o{buckets=[];scheduleTask(e,t){let r,i=this.buckets,n=i.length,s=0;for(;s<n&&!(i[s][0]>t);s++)r=i[s];r&&r[0]===t?r[1].push(e):s===n?i.push([t,[e]]):i.splice(s,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class a{executionMode;setImmediate;constructor(e="async",t=s){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new A(this.setImmediate)}}class A{tasks=new o;running=void 0;setImmediate;constructor(e=s){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let l=i.Or("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),c=i.Or("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1});r.d(t,{FG:()=>a},{Zm:l,_F:n,hf:c})},5609(e,t,r){r.d(t,{O31:()=>tM,v8c:()=>tS,Xsx:()=>tW,kld:()=>tY,PSP:()=>tj,xCb:()=>function e(t){let r=t.map(tE);return tf(eu(r,"anyOf",void 0),{literals:t,members:r,mapMembers(e){return tv(e(this.members))},pick:t=>e(t),transform:e=>tv(r.map((t,r)=>t.transform(e[r])))})},eXb:()=>tk,T9y:()=>tU,wNn:()=>tb,mSG:()=>tx,QfV:()=>tN,_kM:()=>tD,X0d:()=>tX,rdN:()=>tR,gPz:()=>tv,$r1:()=>ty,xeR:()=>th,GLx:()=>tp,GLL:()=>tT,_Re:()=>tm,QsC:()=>tC,tJb:()=>tP,nfo:()=>tO,lqM:()=>tI,TcI:()=>tL,wFO:()=>tK});var i,n,s=r(5909),o=r(8149),a=r(1160),A=r(1897),l=r(6292),c=r(702),d=(r(1757),r(7292)),g=r(8579),u=r(2544),h=r(3207),m=r(5536),p=r(9920),C=r(8826);function f(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}var I=r(5994),E=r(2340);function y(e){let t;for(let r of e.reasons){if(!o.lC(r)||!E.gh(r.error))return;t??=r.error}return t}function B(e,t){let r=y(e);if(void 0===r)throw Error(t,{cause:e});return r}var Q=r(6437),N=r(8527),b=r(6528),S=r(5030);function w(e){return t=>t._tag===e}let D=w("Declaration"),x=w("Never"),R=w("Literal"),M=w("UniqueSymbol"),k=w("Arrays"),v=w("Objects");class U{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let F={};class T{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let L="~effect/Schema";class O{[L]=L;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class P extends O{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,n,s,o){super(r,i,n,s),this.typeParameters=e,this.run=t,this.encodingChecks=o}getParser(){let e=this.run(this.typeParameters);return(t,r)=>Q.isNone(t)?c.lwU:c.jkJ(e(t.value,this,r),Q.some)}_rebuild(e,t,r){let i=eU(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new P(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let H=new class extends O{_tag="Null";getParser(){return eG(this,null)}getExpected(){return"null"}},Y=new U(H,new S.IT(b.pd(()=>void 0),b.pd(()=>null))),G=new class extends O{_tag="Undefined";getParser(){return eG(this,void 0)}toCodecJson(){return ew(this,[Y])}getExpected(){return"undefined"}},z=new class extends O{_tag="Unknown";getParser(){return ez(this,N.t8)}getExpected(){return"unknown"}};class q extends O{_tag="Literal";literal;constructor(e,t,r,i,n){if(super(t,r,i,n),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${(0,d.GP)(e)}`);this.literal=e}getParser(){return eG(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?V(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:V(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function V(e){let t=globalThis.String(e.literal);return ew(e,[new U(new q(t),new S.IT(b.pd(()=>e.literal),b.pd(()=>t)))])}let _=new class extends O{_tag="String";getParser(){return ez(this,N.Kg)}matchPart(e,t){return eq(this,e,t)}getExpected(){return"string"}};function J(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return J(e.checks,t)}})}let W=new class extends O{_tag="Number";getParser(){return ez(this,N.Et)}matchKey(e,t){return this._match(ej,e,t)}matchPart(e,t){return this._match(eW,e,t)}_match(e,t,r){return e.test(t)?eq(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(J(this.checks,"isFinite")||J(this.checks,"isInt"))?this:ew(this,[eE])}toCodecStringTree(){return this.checks&&(J(this.checks,"isFinite")||J(this.checks,"isInt"))?ew(this,[eK]):ew(this,[eZ])}getExpected(){return"number"}},j=new class extends O{_tag="Boolean";getParser(){return ez(this,N.Lm)}getExpected(){return"boolean"}},X=new class extends O{_tag="Symbol";getParser(){return ez(this,N.Bm)}matchKey(e,t){return eq(this,e,t)}toCodecStringTree(){return ew(this,[e2])}getExpected(){return"symbol"}},K=new class extends O{_tag="BigInt";getParser(){return ez(this,N.sI)}matchPart(e,t){return e$.test(e)?eq(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return ew(this,[e0])}getExpected(){return"bigint"}};class Z extends O{_tag="Arrays";isMutable;elements;rest;encodingChecks;constructor(e,t,r,i,n,s,o,a){super(i,n,s,o),this.isMutable=e,this.elements=t,this.rest=r,this.encodingChecks=a;let A=t.findIndex(eO);if(-1!==A&&(t.slice(A+1).some(e=>!eO(e))||r.length>1))throw Error("A required element cannot follow an optional element. ts(1257)");if(r.length>1&&r.slice(1).some(eO))throw Error("An optional element cannot follow a rest element. ts(1266)")}getParser(e){let t=this,r=t.elements.map(t=>({ast:t,parser:e(t)})),i=t.rest.map(t=>({ast:t,parser:e(t)})),n=r.length,[s,...o]=i,a=o.length;function A(e,t){return t<n?r[t]:t>=e?o[t-e]:s}return c.vCS(function*(e,r){if("None"===e._tag)return e;let i=e.value;if(!Array.isArray(i))return yield*c.fJG(new E.eE(t,e));let s=i.length,o={ast:t,getParser:A,oinput:e,len:s,tailThreshold:Math.max(n,s-a),output:new globalThis.Array(s),issues:void 0,options:r},l=ee(r?.concurrency),d=$(o,i,{concurrency:l?.concurrency,end:0===t.rest.length?n:Math.max(s,n+a)});if(d&&(yield*d),0===t.rest.length&&s>n)for(let a=n;a<=s-1;a++){let n=new E.gm([a],new E.vF(t,i[a]));if("all"!==r.errors)return yield*c.fJG(new E.eC(t,e,[n]));o.issues?o.issues.push(n):o.issues=[n]}return o.issues?yield*c.fJG(new E.eC(t,e,o.issues)):Q.some(o.output)})}_rebuild(e,t,r){let i=eU(this.elements,e),n=eU(this.rest,e);return i===this.elements&&n===this.rest&&t===this.checks&&r===this.encodingChecks?this:new Z(this.isMutable,i,n,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){return"array"}}let $=(0,C.h$X)()({onItem(e,t,r){let i=r<e.len?Q.some(t):Q.none();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return et(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(eO(t.ast))return;let r=new E.gm([i],new E.Mw(t.ast.context?.annotations));if("all"!==e.options.errors)return m.fJ(new E.eC(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),ee=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,et=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let n=y(i.cause);if(void 0===n)return m.AT(o.Tj(i.cause,i=>new E.eC(t,e.oinput,[new E.gm([r],i)])));let s=new E.gm([r],n);if("all"!==e.options.errors)return m.fJ(new E.eC(t,e.oinput,[s]));e.issues?e.issues.push(s):e.issues=[s]},er="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class ei{name;type;constructor(e,t){this.name=e,this.type=t}}class en{decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new en(this.encode,this.decode)}}function es(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(es);default:return!1}}class eo{parameter;type;merge;constructor(e,t,r){if(!(es(e)&&es(eH(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,eO(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class ea extends O{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,i,n,s,o){super(r,i,n,s),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=o;let a=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(a.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(a)}. ts(2300)`)}getParser(e){let t=this,r=[],i=new Set,n=[];for(let s of t.propertySignatures)r.push(s.name),i.add(s.name),n.push({ps:s,parser:e(s.type),name:s.name,type:s.type});let s=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return ez(t,N.Vq);let o=s>0?(0,C.h$X)()({onItem:c.vCS(function*(r,[n,s]){let o=e(eV(s.parameter))(Q.some(n),r.options),a=(0,C.OY)(o)?o:yield*c.NS5(o);if("Failure"===a._tag){let e=et(r,t,n,a);e&&(yield*e);return}let A=Q.some(r.input[n]),l=e(s.type)(A,r.options),d=(0,C.OY)(l)?l:yield*c.NS5(l);if("Failure"===d._tag){let e=et(r,t,n,d);e&&(yield*e);return}if("Some"===a.value._tag&&"Some"===d.value._tag){let e=a.value.value;if(i.has(n)||i.has(e))return;let t=d.value.value;if(s.merge&&s.merge.decode&&Object.hasOwn(r.out,e)){let[i,n]=s.merge.decode.combine([e,r.out[e]],[e,t]);f(r.out,i,n)}else f(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return c.vCS(function*(e,a){let A;if("None"===e._tag)return e;let l=e.value;if(!("object"==typeof l&&null!==l&&!Array.isArray(l)))return yield*c.fJG(new E.eE(t,e));let d={},g={ast:t,oinput:e,input:l,out:d,issues:void 0,options:a},u="all"===a.errors,m="error"===a.onExcessProperty,p="preserve"===a.onExcessProperty;if(0===t.indexSignatures.length&&(m||p)){A=Reflect.ownKeys(l);for(let r=0;r<A.length;r++){let n=A[r];if(!i.has(n))if(m){let r=new E.gm([n],new E.vF(t,l[n]));if(!u)return yield*c.fJG(new E.eC(t,e,[r]));g.issues?g.issues.push(r):g.issues=[r];continue}else f(d,n,l[n])}}let C=ee(a?.concurrency),I=eA(g,n,C);if(I&&(yield*I),o){let e=h.Ie();for(let r=0;r<s;r++){let i=t.indexSignatures[r],n=function(e,t,r=F){let i,n;return function t(s){switch(s._tag){case"String":case"TemplateLiteral":return(i??=Object.keys(e)).filter(e=>void 0!==s.matchPart(e,r));case"Number":return(i??=Object.keys(e)).filter(e=>void 0!==s.matchKey(e,r));case"Symbol":return(n??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==s.matchKey(e,r));case"Union":return[...new Set(s.types.flatMap(t))];default:return[]}}(eV(eH(t)))}(l,i.parameter,a);for(let t=0;t<n.length;t++){let r=n[t];e.push([r,i])}}let r=o(g,e,C);r&&(yield*r)}if(g.issues)return yield*c.fJG(new E.eC(t,e,g.issues));if("original"===a.propertyOrder){let e=(A??Reflect.ownKeys(l)).concat(r),t={};for(let r of e)Object.hasOwn(d,r)&&f(t,r,d[r]);return Q.some(t)}return Q.some(d)})}_rebuild(e,t,r,i,n){let s=eU(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new ei(t.name,r)}),o=eU(this.indexSignatures,i=>{let n=t(i.parameter),s=e(i.type),o=r?i.merge?.flip():i.merge;return n===i.parameter&&s===i.type&&o===i.merge?i:new eo(n,s,o)});return s===this.propertySignatures&&o===this.indexSignatures&&i===this.checks&&n===this.encodingChecks?this:new ea(s,o,this.annotations,i,void 0,this.context,n)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let eA=(0,C.h$X)()({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?Q.some(e.input[t.name]):Q.none();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return et(e,e.ast,t.name,r);if("Some"===r.value._tag)f(e.out,t.name,r.value.value);else if(!eO(t.type)){let r=new E.gm([t.name],new E.Mw(t.type.context?.annotations));return"all"!==e.options.errors?m.fJ(new E.eC(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function el(e,t){return e?t?[...e,...t]:e:t}function ec(e,t,r){return new ea(Reflect.ownKeys(e).map(t=>new ei(t,e[t].ast)),[],r,t)}function ed(e){return e.ast}function eg(e,t){return new Z(!1,e.map(e=>e.ast),[],void 0,t)}function eu(e,t,r){return new eC(e.map(ed),t,void 0,r)}function eh(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!eO(t)){if(R(t))return[{key:e.name,literal:t.literal}];if(M(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>R(e)&&!eO(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return eh(e.thunk())}}let em=new WeakMap;function ep(e){return t=>{let r=eH(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class eC extends O{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,n,s,o){super(r,i,n,s),this.types=e,this.mode=t,this.encodingChecks=o}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return c.PyW(r);let n=r.value,s=function(e,t){let r=function(e){let t=em.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=eH(e[r]);if(x(i))continue;let n=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),s=eh(i);for(let e of(t.byType??={},n))(t.byType[e]??=[]).push(r);if(s.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,s)){let n=t.bySentinel.get(e);n||t.bySentinel.set(e,n=new Map);let s=n.get(i);s||n.set(i,s=[]),s.push(r)}else for(let e of(t.otherwise??={},n))(t.otherwise[e]??=[]).push(r)}return em.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let n=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(n);for(let[t,n]of r.bySentinel)if(Object.hasOwn(e,t)){let r=n.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(ep(e))}return n.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(ep(e))}(n,t.types),o={ast:t,recur:e,oinput:r,input:n,out:void 0,successes:[],issues:void 0,options:i},a=ee(i?.concurrency),A=ef(o,s,a?{...a,orderedStep:!0}:void 0);return A?c.qIB(A,e=>o.out?c.PyW(o.out):c.fJG(new E.W(t,n,o.issues??[]))):o.out?c.PyW(o.out):c.fJG(new E.W(t,n,o.issues??[]))}}_rebuild(e,t,r){let i=eU(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new eC(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=eH(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(R);if(t.length>0)return`${ey(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>R(e.type));if(t.length>0)return`{ ${t.map(t=>`${ey(t.type.context?.isMutable)}${(0,d._r)(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let ef=(0,C.h$X)()({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=y(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),m.fJ(new E.E8(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return m.rI}}}),eI=new eC([new q("Infinity"),new q("-Infinity"),new q("NaN")],"anyOf"),eE=new U(new eC([W,eI],"anyOf"),new S.IT(b.wN(),b.pd(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function ey(e){return e?"":"readonly "}class eB extends u.Xs{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new eB(this.run,{...this.annotations,...e},this.aborted)}abort(){return new eB(this.run,this.annotations,!0)}and(e,t){return new eQ([this,e],t)}}class eQ extends u.Xs{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new eQ(this.checks,{...this.annotations,...e})}and(e,t){return new eQ([this,e],t)}}function eN(e,t,r=!1){return new eB((t,r,i)=>E.L8(t,r,e(t,r,i)),t,r)}function eb(e,t){let r=e.source;return eN(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function eS(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function ew(e,t){return e.encoding===t?e:eS(e,e=>{e.encoding.value=t})}function eD(e,t){return e.context===t?e:eS(e,e=>{e.context.value=t})}function ex(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return eR(e,h.BC(e.checks.slice(0,-1),r.annotate(t)))}return eS(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function eR(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:eS(e,e=>{e.checks.value=t})}function eM(e,t){return eR(e,el(e.checks,t))}function ek(e,t){let r=e[e.length-1],i=t(r.to);return i!==r.to?h.BC(e.slice(0,e.length-1),new U(i,r.transformation)):e}function ev(e){return(0,p.Bj)(function t(r){return r.encoding?ew(r,ek(r.encoding,t)):e(r)})}function eU(e,t){let r=!1,i=Array(e.length);for(let n=0;n<e.length;n++){let s=e[n],o=t(s);o!==s&&(r=!0),i[n]=o}return r?i:e}function eF(e,t){let r=e.context?new T(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new T(!1,!1,void 0,t);return eD(e,r)}let eT=e=>e.encoding?ew(e,ek(e.encoding,eL)):e;function eL(e){let t=e.context?!1===e.context.isOptional?new T(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new T(!0,!1);return eT(eD(e,t))}function eO(e){return e.context?.isOptional??!1}let eP=(0,p.Bj)(e=>{if(e.encoding)return eP(ew(e,void 0));let t=e.recur?.(eP)??e,r=t.encodingChecks;return r?eS(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=el(t.checks,r))}):t}),eH=(0,p.Bj)(e=>eP(eY(e))),eY=(0,p.Bj)(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],n=[new U(eY(ew(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)n.unshift(new U(eY(t[e-1].to),t[e].transformation.flip()));let s=eY(i.to);return s.encoding?ew(s,[...s.encoding,...n]):ew(s,n)}(e,e.encoding):e.flip?.(eY)??e.recur?.(eY)??e);function eG(e,t){let r=c.nGE(t);return i=>"None"===i._tag?c.lwU:i.value===t?r:c.fJG(new E.eE(e,i))}function ez(e,t){return r=>"None"===r._tag?c.lwU:t(r.value)?c.PyW(r):c.fJG(new E.eE(e,r))}function eq(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return e5(e.checks,t,i,e,r),0===i.length?t:void 0}let eV=ev(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(eV)}}),e_=ev(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(e_)}}),eJ=ev(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(eJ)}}),eW=new globalThis.RegExp(`^${er}$`),ej=new globalThis.RegExp(`(?:${er}|Infinity|-Infinity|NaN)`),eX=eM(_,[eb(eW,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:eW},...void 0})]),eK=new U(eX,S.ZK),eZ=new U(new eC([eX,eI],"anyOf"),S.ZK),e$=new globalThis.RegExp("^-?\\d+$"),e0=new U(eM(_,[eb(e$,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:e$},expected:"a string representing a bigint"})]),S.R7),e1=new globalThis.RegExp("^Symbol\\((.*)\\)$"),e2=new U(eM(_,[eb(e1,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:e1},...void 0})]),new S.IT(b.pd(e=>globalThis.Symbol.for(e1.exec(e)[1])),b.K$(e=>void 0!==globalThis.Symbol.keyFor(e)?c.PyW(globalThis.String(e)):c.fJG(new E.cw(Q.some(e),{message:"cannot serialize to string, Symbol is not registered"})))));function e5(e,t,r,i,n){for(let s=0;s<e.length;s++){let o=e[s];if("FilterGroup"===o._tag)e5(o.checks,t,r,i,n);else{let e=o.run(t,i,n);if(e&&(r.push(new E.dJ(t,o,e)),o.aborted||n?.errors!=="all"))return}}}let e3="~effect/Schema/Class",e4="~structural";I.hd,I.ip,I.KE,I.DQ,I.Pk;let e8=new P([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let n=Array.isArray(t);if(!n){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let s=n?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),s&&i.add(t),s}(e))?c.PyW(e):c.fJG(new E.eE(t,Q.some(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new U(z,S.le()),toArbitrary:()=>e=>e.jsonValue()}),e9=new U(H,new S.IT(b.le(),b.pd(()=>null))),e6=new U(e8,S.le()),e7="~effect/SchemaError/SchemaError";class te extends a.rN("SchemaError"){[e7]=e7;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let tt=(0,p.Bj)(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[e3];if(N.Tn(t)){let r=t(e.typeParameters),i=tt(r.to);return ew(e,i===r.to?[r]:[new U(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=tt(e);return ew(r,r.encoding?[...r.encoding,...t]:t)}return tt(e)});case"Suspend":return e.recur(tt);default:return e}});function tr(e){let t=ts(tt(eP(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function ti(e){let t=tr(e);return(e,r)=>{let i=c.lKS(t(e,r));return m.oJ(i)?Q.some(i.value):(B(i.cause,"Option adapter can only return none for schema issues"),Q.none())}}let tn=(e,t)=>void 0===t?e:{...e,...t};function ts(e){let t=ta(e);return(e,r)=>c.Ab9(t(Q.some(e),r??F),e=>"None"===e._tag?c.fJG(new E.h6(e)):c.PyW(e.value))}function to(e,t){return c.Tyx(e,e=>c.pVV(()=>o.Tj(e,t)))}let ta=(0,p.Bj)(e=>{let t,r=e.checks,i=e.encoding,n=i?.length??0,s=e.encodingChecks,o=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!i&&!r&&!s)return(r,i)=>(t??=e.getParser(ta),o&&(i={...i,...o}),t(r,i));let a=k(e)||v(e)||D(e)&&e.typeParameters.length>0,A=r&&a?r.filter(e=>e.annotations?.[e4]):void 0;return(a,l)=>{let d;if(o&&(l={...l,...o}),i){for(let e=n-1;e>=0;e--){let t=i[e],r=ta(t.to);if(d=d?c.Ab9(d,e=>r(e,l)):r(a,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;d=c.Ab9(d,t=>e.run(t,l))}else d=t.transformation.decode(d,l)}d=to(d,t=>new E.Wi(e,a,t))}t??=e.getParser(ta);let g=i=>{let n=t(i,l);return s&&!l?.disableChecks&&(n=c.Ab9(n,t=>{if(Q.isSome(i)&&Q.isSome(t)){let t=[];if(e5(s,i.value,t,e,l),h.CZ(t))return c.fJG(new E.eC(e,i,t))}return c.PyW(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&Q.isSome(i)&&(n=to(n,t=>{let r=[];return e5(A,i.value,r,e,l),h.CZ(r)?"Composite"===t._tag&&t.ast===e?new E.eC(e,t.actual,[...t.issues,...r]):new E.eC(e,i,[t,...r]):t})),n=c.Ab9(n,t=>{if(Q.isSome(t)){let i=t.value,n=[];if(e5(r,i,n,e,l),h.CZ(n))return c.fJG(new E.eC(e,t,n))}return c.PyW(t)})),n};return d?c.Ab9(d,g):g(a)}}),tA="~effect/Schema/Schema",tl={[tA]:tA,pipe(){return u.tT(this,arguments)},annotate(e){return this.rebuild(ex(this.ast,e))},annotateKey(e){return this.rebuild(eF(this.ast,e))},check(...e){return this.rebuild(eM(this.ast,e))}};function tc(e,t){let r,i=Object.create(tl);t&&Object.assign(i,t),i.ast=e,i.rebuild=e=>tc(e,t);let n=tr(i);return i.makeEffect=(e,t)=>td(n(e,t)),r=tr(i),i.make=(e,t)=>{let i=c.lKS(r(e,t));if(m.oJ(i))return i.value;let n=B(i.cause,"Constructor adapter can only throw schema issues");throw Error(n.toString(),{cause:n})},i.makeOption=ti(i),i}function td(e){return c.Tyx(e,e=>c.pVV(()=>o.Tj(e,e=>new te(e))))}let tg=(i=function(e){switch(e._tag){case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(eH(e[r]),r);let r=[...e].sort((e,r)=>{e=eH(e),r=eH(r);let n=i(e),s=i(r);return n!==s?n-s:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e});var tu=r(606);function th(e,t){let r,i;return r=[],i=()=>(t,r)=>e(t)?c.PyW(t):c.fJG(new E.eE(r,Q.some(t))),tf(new P(r.map(ed),e=>i(e.map(e=>tf(e))),t))}function tm(e,t){let r,i=(r=ts(e.ast),void 0===t?r:(e,i)=>r(e,tn(t,i)));return(e,t)=>td(i(e,t))}r(2917),r(3558)._k,tu._k;let tp=tm,tC=function(e,t){let r,i=(r=ts(eY(e.ast)),void 0===t?r:(e,i)=>r(e,tn(t,i)));return(e,t)=>td(i(e,t))},tf=tc,tI=e=>{let t;return tf(eL((t=tF(e)).ast),{schema:t})};function tE(e){let t=tf(new q(e),{literal:e,transform:r=>t.pipe(tT(tE(r),{decode:b.pd(()=>r),encode:b.pd(()=>e)}))});return t}let ty=tf(z),tB=tf(H),tQ=tf(G),tN=tf(_),tb=tf(W),tS=tf(j);function tw(e,t){return tf(e,{fields:t,mapFields(e,t){let r=e(this.fields);return tw(ec(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function tD(e){return tw(ec(e,void 0),e)}function tx(e,t,r){let i=r?.keyValueCombiner?.decode||r?.keyValueCombiner?.encode?new en(r.keyValueCombiner.decode,r.keyValueCombiner.encode):void 0;return tf(function(e,t,r){let i,n,{literals:s,parameters:o}=(i=[],n=[],!function e(t){switch(t._tag){case"Literal":N.hL(t.literal)&&i.push(t.literal);return;case"UniqueSymbol":i.push(t.symbol);return;case"Never":return;case"Union":for(let r=0;r<t.types.length;r++)e(t.types[r]);return;default:n.push(t)}}(e),{literals:i,parameters:n});return new ea(s.map(e=>new ei(e,t)),o.map(e=>new eo(e,t,r)))}(e.ast,t.ast,i),{key:e,value:t})}function tR(e){return function e(t,r){return tf(t,{elements:r,mapElements(t,r){let i=t(this.elements);return e(eg(i,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(eg(e),e)}let tM=e=>tf(new Z(!1,[],[e.ast]),{value:e}),tk=e=>tf(new Z(!1,[e.ast],[e.ast]),{value:e});function tv(e,t){return function e(t,r){return tf(t,{members:r,mapMembers(t,r){let i=t(this.members);return e(eu(i,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(eu(e,t?.mode??"anyOf",void 0),e)}let tU=e=>tv([e,tB]),tF=e=>tv([e,tQ]);function tT(e,t){return r=>{var i,n,s;let o;return tf((i=r.ast,n=e.ast,s=t?S.L8(t):S.le(),o=new U(i,s),ew(n,n.encoding?[...n.encoding,o]:[o])),{from:r,to:e})}}function tL(e){var t;return tE(e).pipe((t=c.PyW(e),e=>{var r,i,n;let s,a;return tf((r=e.ast,n=t,i=c.Tyx(n,e=>c.pVV(()=>o.Tj(e,e=>e.issue))),s=[new U(z,new S.IT(b.IQ(i),b.le()))],a=r.context?new T(r.context.isOptional,r.context.isMutable,s,r.context.annotations):new T(!1,!1,s),eD(r,a)),{schema:e})}))}function tO(){return(e,t)=>new U(e.ast,S.L8(t))}function tP(e,t){return e=Math.max(0,Math.floor(e)),eN(t=>t.length>=e,{expected:`a value with a length of at least ${e}`,meta:{_tag:"isMinLength",minLength:e},[e4]:!0,arbitrary:{constraint:{minLength:e}},...t})}tu.wN,tu.wN,tu.wN,tu.wN,tu.wN,tu.n9,tu.n9,tu.n9,tu.n9,tu.n9,tu.Qw,tu.Qw,tu.Qw,tu.Qw,tu.Qw,s.pH,s.pH,s.pH,s.pH,s.pH;let tH=[];function tY(e){let t=e?.includeStack===!0|2*(e?.excludeCause===!0),r=tH[t];if(void 0!==r)return r;let i=t$.pipe(tT(ty,S.sm((e=>{switch(e){case 0:return;case 1:return{includeStack:!0};case 2:return{excludeCause:!0};case 3:return{includeStack:!0,excludeCause:!0}}})(t))));return tH[t]=i,i}S.nY;let tG=tN.annotate({expected:"a string in ISO 8601 format that will be decoded as a Date"});n=globalThis.Date,th(e=>e instanceof n,{typeConstructor:{_tag:"Date"},generation:{runtime:"Schema.Date",Type:"globalThis.Date"},expected:"Date",toCodecJson:()=>tO()(tG,S.YZ),toArbitrary:()=>(e,t)=>e.date(function(e,t){let r={...void 0};if(delete r.valid,e?.valid&&(r.noInvalidDate=!0),t?.minimum!==void 0){let e=(0,t.minimum),i=t.exclusiveMinimum?new globalThis.Date(e.getTime()+1):e;(void 0===r.min||i.getTime()>r.min.getTime())&&(r.min=i)}if(t?.maximum!==void 0){let e=(0,t.maximum),i=t.exclusiveMaximum?new globalThis.Date(e.getTime()-1):e;(void 0===r.max||i.getTime()<r.max.getTime())&&(r.max=i)}return r}(t?.constraint,t?.constraint?.ordered?.order===tu.n9?t.constraint.ordered:void 0))}),S.YZ,S.HO,eN(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0}),l.n$,S.EJ,S.m8,S.PE;s.s5,S.dG,eN(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0}),eN(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...void 0}),S.ZK,S.ZK,S.R7,S.Ct,S.LL,S.Y5,S.Pp,S.U0,A.yF,S.Nh,A.Xy,A.lU,A.rg,S.yd,A.kQ,S.XU,S.d9;let tz=globalThis.Symbol.for("immer-draftable"),tq={};function tV(e,t,r,i,n){var s,o,a;let A,l=(s=r,o=t,a=i,e=>{if(void 0!==A)return A;let t=new S.IT(b.pd(t=>new e(t)),b.le());return A=tT(tf(new P([s.ast],()=>(t,r)=>t instanceof e||N.i5(t,t_(o))?c.PyW(t):c.fJG(new E.eE(r,Q.some(t))),{identifier:o,[e3]:([e])=>new U(e,t),toCodec:([e])=>new U(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":eh(s.ast),...a})),t)(s)}),d=t_(t),g=class extends e{constructor(...[e,t]){let i=t?.["~payload"],n=i?.token===tq?i.value:r.make(e??{},t);super(n,{...t,disableChecks:!0,"~payload":{token:tq,value:n}})}static [tA]=tA;get[d](){return d}static [tz]=!0;static identifier=t;static fields=r.fields;static get ast(){return l(this).ast}static pipe(){return u.tT(this,arguments)}static rebuild(e){return l(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return ti(l(this))(e??{},t)}static makeEffect(e,t){return l(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(ex(this.ast,e))}static annotateKey(e){return this.rebuild(eF(this.ast,e))}static check(...e){return this.rebuild(eM(this.ast,e))}static extend(e){return(t,i)=>{let s=tJ(t)?t:tD(t),o={...r.fields,...s.fields},a=ec(o,r.ast.checks,{identifier:e});return tV(this,e,tw(eM(a,s.ast.checks),o),i,n)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==n&&Object.assign(g.prototype,n(t)),g}function t_(e){return`~effect/Schema/Class/${e}`}function tJ(e){return N.i5(e,tA)&&e[tA]===tA}let tW=e=>(t,r)=>{let i=tJ(t)?t:tD(t);return tV(a.Xs,e,i,r,e=>({toString(){return`${e}(${(0,d.GP)({...this})})`}}))},tj=e=>(t,r)=>{let i=tJ(t)?t:tD(t);return tV(g.$D,e,i,r,e=>({name:e}))},tX=e=>(t,r,i)=>{let n=tJ(r)?r.mapFields(e=>({_tag:tL(t),...e}),{unsafePreserveChecks:!0}):tD({_tag:tL(t),...r});return tj(e??t)(n,i)};function tK(e){return tf(tZ(e.ast),{schema:e})}let tZ=ev(e=>{let t=function(e,t){switch(e._tag){case"Declaration":{let r=e.annotations?.toCodecJson??e.annotations?.toCodec;if(N.Tn(r)){let i=r(D(e)?e.typeParameters.map(e=>tc(eH(e))):[]),n=t(i.to);return ew(e,n===i.to?[i]:[new U(n,i.transformation)])}return ew(e,[e9])}case"Unknown":case"ObjectKeyword":return ew(e,[e6]);case"Undefined":case"Void":case"Literal":case"Number":return e.toCodecJson();case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,e_);case"Union":{let r=tg(e.types);if(r!==e.types)return new eC(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,tZ);return t!==e&&eO(e)?eT(t):t}),t$=tf(e8)},6528(e,t,r){var i=r(1897),n=r(702),s=r(1757),o=r(6437),a=r(2544),A=r(8527),l=r(2917),c=r(2340);class d extends a.Xs{run;constructor(e){super(),this.run=e}map(e){return new d((t,r)=>this.run(t,r).pipe(n.jkJ(o.map(e))))}compose(e){return u(this)?e:u(e)?this:new d((t,r)=>this.run(t,r).pipe(n.Ab9(t=>e.run(t,r))))}}let g=new d(n.PyW);function u(e){return e.run===g.run}function h(){return g}function m(e){var t;return t=o.map(e),new d(e=>n.PyW(t(e)))}function p(e){var t;return t=(t,r)=>e(t,r).pipe(n.jkJ(o.some)),new d((e,r)=>o.isNone(e)?n.lwU:t(e.value,r))}function C(e){return new d(t=>{let r=o.filter(t,A.EA);return o.isSome(r)?n.PyW(r):n.jkJ(e,o.some)})}function f(){return m(globalThis.String)}function I(){return m(globalThis.Number)}function E(){return m(globalThis.BigInt)}function y(){return m(e=>new globalThis.Date(e))}function B(){return m(s.WG)}function Q(){return m(s.DX)}function N(){return m(s.mU)}function b(){return p(e=>n.Z9x(n.yUA(s.y4(e)),t=>new c.h6(o.some(e),{message:t.message})))}function S(){return p(e=>l.YW(s.$T(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function w(){return p(e=>l.YW(s.$X(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function D(){return p(e=>l.YW(s.UD(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function x(){return p(e=>l.YW(s.EF(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function R(){return p(e=>l.YW(s.xQ(e),{onFailure:t=>n.fJG(new c.h6(o.some(e),{message:t.message})),onSuccess:n.PyW}))}function M(){return m(encodeURIComponent)}function k(){return p(e=>{try{return n.PyW(globalThis.decodeURIComponent(e))}catch(t){return n.fJG(new c.h6(o.some(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}})}function v(){return p(e=>o.match(i.L8(e),{onNone:()=>n.fJG(new c.h6(o.some(e),{message:"Invalid DateTime input"})),onSome:e=>n.PyW(i.yT(e))}))}A.Kg,r.d(t,{$T:()=>S,$X:()=>w,A0:()=>v,DX:()=>Q,EF:()=>x,IQ:()=>C,K$:()=>p,Qf:()=>f,Qw:()=>E,UD:()=>D,WG:()=>B,_p:()=>M,le:()=>h,mF:()=>k,mU:()=>N,n9:()=>y,pd:()=>m,wN:()=>I,xQ:()=>R,y4:()=>b})},2340(e,t,r){var i=r(3207),n=r(7292),s=r(5994),o=r(6437),a=r(8527);let A="~effect/SchemaIssue/Issue";function l(e){return(0,a.i5)(e,A)}class c{[A]=A;toString(){return w(this)}}class d extends c{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class g extends c{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class u extends c{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class h extends c{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class m extends c{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class p extends c{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class C extends c{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class f extends c{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class I extends c{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class E extends c{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class y extends c{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function B(e,t){if(l(t))return t;if("string"==typeof t)return new f(o.some(e),{message:t});let r="string"==typeof t.issue?new f(o.some(e),{message:t.issue}):t.issue;return new u(t.path,r)}function Q(e,t,r){if(Array.isArray(r))return i.ET(r)?1===r.length?B(e,r[0]):new p(t,o.some(e),i.Tj(r,t=>B(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new f(o.some(e)):B(e,r)}let N=e=>{let t=x(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return S(s.bo(e.ast),M(e.actual));case"InvalidValue":return`Invalid data ${M(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${(0,n.GP)(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${(0,n.GP)(e.actual)}`}},b=e=>x(e.issue)??x(e);function S(e,t){return`Expected ${e}, got ${t}`}let w=e=>(function e(t,r,i,o){switch(t._tag){case"Filter":{let s=o(t);if(void 0!==s)return[{path:r,message:s}];if("InvalidValue"===t.issue._tag)return[{path:r,message:S(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),(0,n.GP)(t.actual))}];return e(t.issue,r,i,o)}case"Encoding":return e(t.issue,r,i,o);case"Pointer":return e(t.issue,[...r,...t.path],i,o);case"Composite":return t.issues.flatMap(t=>e(t,r,i,o));case"AnyOf":{let a=x(t);if(0===t.issues.length){if(void 0!==a)return[{path:r,message:a}];return[{path:r,message:S(s.bo(t.ast),(0,n.GP)(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,o))}default:return[{path:r,message:i(t)}]}})(e,[],N,b).map(D).join("\n");function D(e){let t=e.message;if(e.path&&e.path.length>0){let r=(0,n.jV)(e.path);t+=` - at ${r}`}return t}function x(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return R(e.ast.annotations);case"InvalidValue":case"Forbidden":return R(e.annotations);case"MissingKey":return R(e.annotations,"messageMissingKey");case"UnexpectedKey":return R(e.ast.annotations,"messageUnexpectedKey");case"Filter":return R(e.filter.annotations);case"Encoding":return x(e.issue)}}function R(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function M(e){return o.isNone(e)?"no value provided":(0,n.GP)(e.value)}r.d(t,{E8:()=>y,L8:()=>Q,Mw:()=>h,W:()=>E,Wi:()=>g,cw:()=>I,dJ:()=>d,eC:()=>p,eE:()=>C,gh:()=>l,gm:()=>u,h6:()=>f,vF:()=>m})},5030(e,t,r){var i=r(5909),n=r(1897),s=r(6292),o=r(702),a=r(7292),A=r(6437),l=r(8527),c=r(6528),d=r(2340);let g="~effect/SchemaTransformation/Transformation";class u{[g]=g;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new u(this.encode,this.decode)}compose(e){return new u(this.decode.compose(e.decode),e.encode.compose(this.encode))}}function h(e){return new u(c.K$(e.decode),c.K$(e.encode))}function m(e){return new u(c.pd(e.decode),c.pd(e.encode))}let p=new u(c.le(),c.le());function C(){return p}let f=new u(c.wN(),c.Qf()),I=new u(c.Qw(),c.Qf()),E=new u(c.n9(),c.pd(a.Yq)),y=new u(c.n9(),c.pd(e=>e.getTime())),B=h({decode:e=>A.match(s.lX(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid Duration string: ${e}`})),onSome:o.PyW}),encode:e=>o.PyW(globalThis.String(e))}),Q=h({decode:e=>o.PyW(s.cF(e)),encode:e=>A.match(s.tb(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Unable to encode ${e} into a bigint`})),onSome:e=>o.PyW(e)})}),N=m({decode:e=>s.ne(e),encode:e=>s.kE(e)}),b=e=>{let t;return l.Gv(e)&&"string"==typeof e.message?(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:b(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t):e},S=h({decode:e=>URL.canParse(e)?o.PyW(new URL(e)):o.fJG(new d.h6(A.some(e),{message:`Invalid URL string: ${e}`})),encode:e=>o.PyW(e.href)}),w=h({decode:e=>{let t=i.sH(e);return A.isNone(t)?o.fJG(new d.h6(A.some(e),{message:`Invalid BigDecimal string: ${e}`})):o.PyW(t.value)},encode:e=>o.PyW(i.GP(e))}),D=new u(c.y4(),c.WG()),x=new u(c.$T(),c.WG()),R=new u(c.UD(),c.DX()),M=new u(c.xQ(),c.mU()),k=new u(c.mF(),c._p()),v=m({decode:e=>n.ko(e),encode:e=>e.offset}),U=h({decode:e=>A.match(n.y3(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid IANA time zone: ${e}`})),onSome:o.PyW}),encode:e=>o.PyW(e.id)}),F=h({decode:e=>A.match(n.ez(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid time zone: ${e}`})),onSome:o.PyW}),encode:e=>o.PyW(n.xV(e))}),T=h({decode:e=>A.match(n.L8(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid UTC DateTime string: ${e}`})),onSome:e=>o.PyW(n.yT(e))}),encode:e=>o.PyW(n.dv(e))}),L=h({decode:e=>A.match(n.MO(e),{onNone:()=>o.fJG(new d.h6(A.some(e),{message:`Invalid Zoned DateTime string: ${e}`})),onSome:o.PyW}),encode:e=>o.PyW(n.Rd(e))});r.d(t,{IT:()=>u,K$:()=>h,le:()=>C,pd:()=>m},{Ct:x,EJ:B,HO:y,I9:v,L8:e=>l.i5(e,g)?e:new u(e.decode,e.encode),LL:R,Nh:T,PE:N,Pp:k,R7:I,U0:D,XU:F,Y5:M,YZ:E,ZK:f,d9:L,dG:w,m8:Q,nY:S,sm:e=>{let t,r;return m({decode:b,encode:(t=new WeakSet,r=i=>{if(l.bJ(i)){var n;let s;if(t.has(i))return"[Circular]";t.add(i);let o=(n=r,s={name:i.name,message:"string"==typeof i.message?i.message:""},e?.includeStack&&"string"==typeof i.stack&&(s.stack=i.stack),e?.excludeCause||void 0===i.cause||(s.cause=n(i.cause)),s);return t.delete(i),o}try{let e=(0,a.IB)(i);return void 0===e?(0,a.GP)(i):JSON.parse(e)}catch{return(0,a.GP)(i)}})})},yd:U})},1746(e,t,r){var i=r(8826);i.kWD,i.obm,i.DLK,i.RWE;let n=i.d97,s=i.AAo,o=i.Uio,a=i.iLB;i.Z$R;let A=i.pSt,l=i.vDJ;i.fou,i.mdu,r.d(t,{},{Fp:A,Gt:s,LZ:n,U9:a,VN:l,a6:o})},1260(e,t,r){r.d(t,{E2r:()=>f,yeE:()=>Q,fJG:()=>E,EfB:()=>m,OBL:()=>p,fph:()=>y,hM$:()=>N,DYE:()=>I,tiA:()=>S,oAg:()=>B});var i=r(3207),n=r(8149),s=r(893),o=r(702),a=r(8516),A=r(9920),l=r(2544);let c={"~effect/Stream":{_R:A.D_,_E:A.D_,_A:A.D_},pipe(){return(0,l.tT)(this,arguments)}};var d=r(7512),g=r(8527),u=r(1746);let h=e=>(0,g.i5)(e,"~effect/Stream"),m=e=>{let t=Object.create(c);return t.channel=e,t},p=e=>m(s.OB(e)),C=e=>e.channel,f=(e,t)=>m(s.VD(e,t));s.Ie;let I=e=>m(s.DY(()=>e().channel)),E=e=>m(s.fJ(e)),y=e=>m(s.Z1(o.D9k(function*(t,r){let s=e.evaluate().getReader();return yield*u.U9(r,e.releaseLockOnEnd?o.OH5(()=>s.releaseLock()):o.ivC(()=>s.cancel().catch(A.Yi))),o.qIB(o.$mh({try:()=>s.read(),catch:t=>e.onError(t)}),({done:e,value:t})=>e?n.Vw():o.PyW(i.of(t)))})));s.Zm;let B=e=>m(s.oA(o.TjK(e,C))),Q=(0,A.XY)(2,(e,t)=>m(s.ye(e.channel,t))),N=(0,A.XY)(2,(e,t)=>s.o1(e.channel,t)),b=(0,A.XY)(e=>h(e[0]),(e,t,r)=>{let i,s,A=d.LZ(!1);return new ReadableStream({start(r){(s=o.MY7(o.PpN(N(e,e=>A.whenOpen(o.OH5(()=>{A.closeUnsafe();for(let t=0;t<e.length;t++)r.enqueue(e[t]);i(),i=void 0}))),t))).addObserver(e=>{"Failure"===e._tag?r.error(n.iw(e.cause)):r.close()})},pull:()=>new Promise(e=>{i=e,A.openUnsafe()}),cancel(){if(s)return o.pR5(o.NLW(a.G(s)))}},r?.strategy)}),S=(0,A.XY)(e=>h(e[0]),(e,t)=>o.TjK(o._OA(),r=>b(e,r,t)))},4465(e,t,r){let i,n;var s=r(5419),o=r(9920),a=r(6437);let A="effect/Tracer/ParentSpan";class l extends s.kl()(A){}let c=s.Or("effect/Tracer/DisablePropagation",{defaultValue:o.f4}),d=s.Or("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),g=s.Or("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),u="effect/Tracer",h=s.Or(u,{defaultValue:()=>({span:e=>new m(e)})});class m{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=a.getOrUndefined(e.parent)?.traceId??p(32),this.spanId=p(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let p=(n=(i="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=i.charAt(Math.floor(Math.random()*n));return t});r.d(t,{Tv:()=>l},{DW:c,EW:g,RL:u,WG:A,pX:d,sh:h})},1371(e,t,r){let i,n;class s{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new s(this.self)}}let o=(n={[i="~effect/Utils/internal"]:e=>e()},n[i](()=>Error().stack)?.includes(i)===!0?n[i]:({[i]:e=>e()})[i]);r.d(t,{B:()=>s},{s:o})},8579(e,t,r){let i;var n=r(2730),s=r(7292),o=r(9920),a=r(3536),A=r(8294),l=r(2544),c=r(8527),d=r(1371);let g="~effect/Effect",u="~effect/Exit",h={_A:o.D_,_E:o.D_,_R:o.D_},m=`${g}/identifier`,p=`${g}/args`,C=`${g}/evaluate`,f=`${g}/successCont`,I=`${g}/failureCont`,E=`${g}/ensureCont`,y=Symbol.for("effect/Effect/Yield"),B={pipe(){return(0,l.tT)(this,arguments)},toJSON(){return{...this}},toString(){return(0,s.GP)(this.toJSON(),{ignoreToString:!0,space:2})},[A.FX](){return this.toJSON()}},Q={[a.HR](){return a.uN(this,Object.keys(this))},[n.HR](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!n.aI(this[t[i]],e[t[i]]))return!1;return!0}},N={[g]:h,...B,[Symbol.iterator](){return new d.B(this)},toJSON(){return{_id:"Effect",op:this[m],...p in this?{args:this[p]}:void 0}}},b=e=>(0,c.i5)(e,u),S="~effect/Cause",w="~effect/Cause/Reason",D=e=>(0,c.i5)(e,S);class x{[S];reasons;constructor(e){this[S]=S,this.reasons=e}pipe(){return(0,l.tT)(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${(0,s.GP)(this.reasons)})`}[A.FX](){return this.toJSON()}[n.HR](e){return D(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>n.aI(t,e.reasons[r]))}[a.HR](){return a.YO(this.reasons)}}let R=new WeakMap;class M{[w];annotations;_tag;constructor(e,t,r){if(this[w]=w,this._tag=e,t!==k&&"object"==typeof r&&null!==r&&t.size>0){let e=R.get(r);e&&(t=new Map([...e,...t])),R.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return(0,l.tT)(this,arguments)}toString(){return(0,s.GP)(this)}[A.FX](){return this.toString()}}let k=new Map;class v extends M{error;constructor(e,t=k){super("Fail",t,e),this.error=e}toString(){return`Fail(${(0,s.GP)(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[n.HR](e){return P(e)&&n.aI(this.error,e.error)&&n.aI(this.annotations,e.annotations)}[a.HR](){return a.kg(a.Yj(this._tag))(a.kg(a.tW(this.error))(a.tW(this.annotations)))}}let U=new x([]),F=e=>new x([new v(e)]);class T extends M{defect;constructor(e,t=k){super("Die",t,e),this.defect=e}toString(){return`Die(${(0,s.GP)(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[n.HR](e){return H(e)&&n.aI(this.defect,e.defect)&&n.aI(this.annotations,e.annotations)}[a.HR](){return a.kg(a.Yj(this._tag))(a.kg(a.tW(this.defect))(a.tW(this.annotations)))}}let L=e=>new x([new T(e)]),O=(0,o.XY)(e=>D(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new x(e.reasons.map(e=>e.annotate(t,r)))),P=e=>"Fail"===e._tag,H=e=>"Die"===e._tag;function Y(e){return j("Effect.evaluate: Not implemented")}let G=e=>({...N,[m]:e.op,[C]:e[C]??Y,[f]:e[f],[I]:e[I],[E]:e[E]}),z=e=>{let t=G(e);return function(){let r=Object.create(t);return r[p]=!1===e.single?arguments:arguments[0],r}},q=e=>{let t={...G(e),[u]:u,_tag:e.op,get[e.prop](){return this[p]},toString(){return`${e.op}(${(0,s.GP)(this[p])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[p]}},[n.HR](e){return b(e)&&e._tag===this._tag&&n.aI(this[p],e[p])},[a.HR](){return a.kg(a.Yj(e.op),a.tW(this[p]))}};return function(e){let r=Object.create(t);return r[p]=e,r}},V=q({op:"Success",prop:"value",[C](e){let t=e.getCont(f);return t?t[f](this[p],e,this):e.yieldWith(this)}}),_={key:"effect/Cause/StackTrace"},J=q({op:"Failure",prop:"cause",[C](e){let t=this[p],r=!1;e.currentStackFrame&&(t=O(t,{mapUnsafe:new Map([[_.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(I);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(I);return i?i[I](t,e,r?void 0:this):e.yieldWith(r?J(t):this)}}),W=e=>J(F(e)),j=e=>J(L(e)),X=z({op:"WithFiber",[C](e){return this[p](e)}}),K=function(){class e extends globalThis.Error{}let t=G({op:"YieldableError",[C](){return W(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),Z=(i=Symbol.for("effect/Data/Error/plainArgs"),class extends K{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,i,{value:e,enumerable:!1}))}toJSON(){return{...this[i],...this}}}),$=e=>{class t extends Z{_tag=e}return t.prototype.name=e,t},ee="~effect/Cause/NoSuchElementError";class et extends $("NoSuchElementError"){[ee]=ee;constructor(e){super({message:e})}}let er="~effect/Cause/Done",ei={[er]:er,_tag:"Done",value:void 0},en=e=>void 0===e?ei:{[er]:er,_tag:"Done",value:e},es=W(ei);r.d(t,{ET:()=>M,Xm:()=>et,dM:()=>v,s0:()=>x},{$D:Z,$L:e=>(0,c.i5)(e,er),$n:g,Aj:D,B4:w,DH:U,Eh:O,GN:y,IH:u,In:Q,Iu:L,OE:F,PW:e=>(0,c.i5)(e,ee),PX:S,QJ:{key:"effect/Cause/InterruptorStackTrace"},R6:X,RS:en,Rk:W,Sc:I,Uf:z,V2:j,Vw:e=>void 0===e?es:W(en(e)),Wg:e=>(0,c.i5)(e,w),Xb:H,_3:C,a2:p,b5:e=>new x(e),b9:b,cb:J,dO:k,ee:f,fU:B,ik:e=>"Interrupt"===e._tag,lC:P,qB:ee,q_:er,rN:$,u4:E,xt:V,yj:G,yw:e=>(0,c.i5)(e,g),z8:_})},9739(e,t,r){var i=r(9920);r.d(t,{},{Jr:e=>(0,i.XY)(2,(t,r)=>e(t,e=>({[r]:e}))),oI:(e,t)=>(0,i.XY)(3,(r,i,n)=>t(r,t=>e(n(t),e=>({...t,[i]:e})))),zM:e=>(0,i.XY)(3,(t,r,i)=>e(t,e=>({...e,[r]:i(e)})))})},8826(e,t,r){let i,n,s;r.d(t,{RD4:()=>n3,cOF:()=>n2,a1U:()=>nO,d$_:()=>st,Do:()=>iK,Aub:()=>n1,F7W:()=>n$,qwd:()=>nZ,t8c:()=>nX,LkF:()=>n7,olX:()=>sr,obm:()=>rW,kWD:()=>rJ,MUS:()=>nj,DQo:()=>nJ,Bk6:()=>n9,Kkt:()=>n4,dsN:()=>iR,N24:()=>ip,Q56:()=>ii,jGc:()=>im,U9h:()=>is,Q7R:()=>iM,hgn:()=>tr,ww9:()=>nF,gsV:()=>si,Muk:()=>nU,as:()=>e7,Xx$:()=>te,NLW:()=>tn,PCg:()=>i3,oIE:()=>i$,JrD:()=>iZ,PO3:()=>iE,CJw:()=>iC,Rgn:()=>iI,E2r:()=>eZ,Tyx:()=>rt,rNk:()=>rn,sJf:()=>ri,Fig:()=>ra,UVN:()=>tE,osR:()=>rm,XWm:()=>rh,U9Y:()=>ro,AXC:()=>rf,zt4:()=>rI,KuX:()=>rp,loE:()=>rC,h_t:()=>rs,On5:()=>j,h2c:()=>X,Bou:()=>q,nIy:()=>U,h74:()=>V,O$X:()=>K,GyP:()=>ea,RJ6:()=>$,ReC:()=>Z,RKA:()=>nz,qho:()=>sm,_OA:()=>tj,sxi:()=>tK,Wj8:()=>nL,_32:()=>nT,Rud:()=>nV,s0X:()=>n_,Umn:()=>sf,cbG:()=>rG,F_Q:()=>eY,OY:()=>tu,yeE:()=>iA,u4Y:()=>rS,N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,z7s:()=>t9,iMI:()=>iP,KyM:()=>t5,$$g:()=>sy,hq:()=>nk,fRP:()=>nv,zr8:()=>nb,_o1:()=>np,nDN:()=>nC,MaT:()=>nf,m9E:()=>eT,KN3:()=>eF,yU6:()=>t3,OYO:()=>t4});var o=r(3207),a=r(5419),A=r(6292),l=r(2730),c=r(7174),d=r(7292),g=r(9920),u=r(3536),h=r(8294),m=r(1034),p=r(6437),C=r(606),f=r(2544),I=r(8527),E=r(8629),y=r(2917),B=r(3327),Q=r(4465),N=r(1371),b=r(8579),S=r(9739),w=r(3894),D=r(58);let x=e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=(0,D.jt)();(0,D.ft)(3);let r=Error();return(0,D.ft)(t),{...e,captureStackTrace:M(()=>r.stack)}},R=e=>t=>{let r;return()=>{if(void 0!==r)return r;let i=t();if(!i)return;let n=i.split("\n");if(void 0!==n[e])return r=n[e].trim()}},M=R(3);class k extends b.ET{fiberId;constructor(e,t=b.dO){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[l.HR](e){return(0,b.ik)(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[u.HR](){return u.kg(u.Yj(`${this._tag}:${this.fiberId}`))(u.yT(this.annotations))}}let v=e=>new k(e),U=e=>new b.s0([new k(e)]),F=e=>e.reasons.some(b.lC),T=e=>{let t=e.reasons.find(b.lC);return t?y.Py(t):y.fJ(e)},L=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return y.Py(r.error)}return y.fJ(e)},O=c.zL(L),P=e=>e.reasons.some(b.Xb),H=e=>{let t=e.reasons.find(b.Xb);return t?y.Py(t):y.fJ(e)},Y=e=>{let t=e.reasons.find(b.Xb);return t?y.Py(t.defect):y.fJ(e)},G=e=>e.reasons.some(b.ik),z=e=>{let t=e.reasons.find(b.ik);return t?y.Py(t):y.fJ(e)},q=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?y.Py(t):y.fJ(e)},V=e=>{let t=q(e);return y.N6(t)?_:t.success},_=new Set,J=e=>e.reasons.length>0&&e.reasons.every(b.ik),W=e=>a.LZ(e.annotations),j=e=>{let t=new Map;for(let r of e.reasons)if(r.annotations.size>0)for(let[e,i]of r.annotations)t.set(e,i);return a.LZ(t)},X=(0,g.XY)(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new b.s0(o.KC(e.reasons,t.reasons));return l.aI(e,r)?e:r}),K=(0,g.XY)(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>(0,b.lC)(e)?(r=!0,new b.dM(t(e.error))):e);return r?(0,b.b5)(i):e}),Z=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},$=(e,t)=>{let r=[],i=[];if(0===e.reasons.length)return r;let n=(0,D.jt)();for(let n of((0,D.ft)(1),e.reasons)){if("Interrupt"===n._tag){i.push(n);continue}r.push(ee("Die"===n._tag?n.defect:n.error,n.annotations,t))}if(0===r.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=es(e,i);let n=new globalThis.Error("All fibers interrupted without error",{cause:e});n.name="InterruptError",n.stack=`${n.name}: ${n.message}`,r.push(ee(n,i[0].annotations,t))}return(0,D.ft)(n),r},ee=(e,t,r)=>{let i,n=typeof e;if(e&&"object"===n){if(i=new globalThis.Error(et(e),{cause:e.cause?ee(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=ei(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?en(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=eA(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===n?e:(0,d.IB)(e));return i},et=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return(0,d.IB)(e)},er=/\((.*)\)/g,ei=(e,t,r)=>{let i=`${t.name}: ${t.message}`,n=(e.startsWith(i)?e.slice(i.length):e).split("\n"),s=[i];for(let e=1;e<n.length&&!/(?:Generator\.next|~effect\/Effect)/.test(n[e]);e++)s.push(n[e]);return r?en(s.join("\n"),r):s.join("\n")},en=(e,t)=>{let r=t?.get(b.z8.key);return r&&(e=`${e} -${eo(r)}`),e},es=(e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(b.QJ.key);r.push(` at fiber (${t})`),i&&r.push(eo(i))}return r.join("\n")},eo=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(er),n=!1;for(let[,e]of i)n=!0,t.push(` at ${r.name} (${e})`);n||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},ea=e=>$(e).map(eA).join("\n"),eA=e=>e.cause?`${e.stack} { -${el(e.cause," ")} -}`:e.stack,el=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,n=r.length;e<n;e++)i+=` +import{createRequire as e}from"node:module";let t=e(import.meta.url);var r,i,n,a,s,o,l,c,d,m={9557(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t};Object.defineProperty(t,"__esModule",{value:!0}),t.req=t.json=t.toBuffer=void 0;let s=a(r(8611)),o=a(r(5692));async function l(e){let t=0,r=[];for await(let i of e)t+=i.length,r.push(i);return Buffer.concat(r,t)}t.toBuffer=l,t.json=async function(e){let t=(await l(e)).toString("utf8");try{return JSON.parse(t)}catch(e){throw e.message+=` (input: ${t})`,e}},t.req=function(e,t={}){let r=(("string"==typeof e?e:e.href).startsWith("https:")?o:s).request(e,t),i=new Promise((e,t)=>{r.once("response",e).once("error",t).end()});return r.then=i.then.bind(i),r}},2120(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},s=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||i(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Agent=void 0;let o=a(r(9278)),l=a(r(8611)),c=r(5692);s(r(9557),t);let d=Symbol("AgentBaseInternalState");class m extends l.Agent{constructor(e){super(e),this[d]={}}isSecureEndpoint(e){if(e){if("boolean"==typeof e.secureEndpoint)return e.secureEndpoint;if("string"==typeof e.protocol)return"https:"===e.protocol}let{stack:t}=Error();return"string"==typeof t&&t.split("\n").some(e=>-1!==e.indexOf("(https.js:")||-1!==e.indexOf("node:https:"))}incrementSockets(e){if(this.maxSockets===1/0&&this.maxTotalSockets===1/0)return null;this.sockets[e]||(this.sockets[e]=[]);let t=new o.Socket({writable:!1});return this.sockets[e].push(t),this.totalSocketCount++,t}decrementSockets(e,t){if(!this.sockets[e]||null===t)return;let r=this.sockets[e],i=r.indexOf(t);-1!==i&&(r.splice(i,1),this.totalSocketCount--,0===r.length&&delete this.sockets[e])}getName(e){return this.isSecureEndpoint(e)?c.Agent.prototype.getName.call(this,e):super.getName(e)}createSocket(e,t,r){let i={...t,secureEndpoint:this.isSecureEndpoint(t)},n=this.getName(i),a=this.incrementSockets(n);Promise.resolve().then(()=>this.connect(e,i)).then(s=>{if(this.decrementSockets(n,a),s instanceof l.Agent)try{return s.addRequest(e,i)}catch(e){return r(e)}this[d].currentSocket=s,super.createSocket(e,t,r)},e=>{this.decrementSockets(n,a),r(e)})}createConnection(){let e=this[d].currentSocket;if(this[d].currentSocket=void 0,!e)throw Error("No socket was returned in the `connect()` function");return e}get defaultPort(){return this[d].defaultPort??("https:"===this.protocol?443:80)}set defaultPort(e){this[d]&&(this[d].defaultPort=e)}get protocol(){return this[d].protocol??(this.isSecureEndpoint()?"https:":"http:")}set protocol(e){this[d]&&(this[d].protocol=e)}}t.Agent=m},4879(e,t,r){let i;t.formatArgs=function(t){if(t[0]=(this.useColors?"%c":"")+this.namespace+(this.useColors?" %c":" ")+t[0]+(this.useColors?"%c ":" ")+"+"+e.exports.humanize(this.diff),!this.useColors)return;let r="color: "+this.color;t.splice(1,0,r,"color: inherit");let i=0,n=0;t[0].replace(/%[a-zA-Z%]/g,e=>{"%%"!==e&&(i++,"%c"===e&&(n=i))}),t.splice(n,0,r)},t.save=function(e){try{e?t.storage.setItem("debug",e):t.storage.removeItem("debug")}catch(e){}},t.load=function(){let e;try{e=t.storage.getItem("debug")||t.storage.getItem("DEBUG")}catch(e){}return!e&&"u">typeof process&&"env"in process&&(e=process.env.DEBUG),e},t.useColors=function(){let e;return"u">typeof window&&!!window.process&&("renderer"===window.process.type||!!window.process.__nwjs)||!("u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/(edge|trident)\/(\d+)/))&&("u">typeof document&&document.documentElement&&document.documentElement.style&&document.documentElement.style.WebkitAppearance||"u">typeof window&&window.console&&(window.console.firebug||window.console.exception&&window.console.table)||"u">typeof navigator&&navigator.userAgent&&(e=navigator.userAgent.toLowerCase().match(/firefox\/(\d+)/))&&parseInt(e[1],10)>=31||"u">typeof navigator&&navigator.userAgent&&navigator.userAgent.toLowerCase().match(/applewebkit\/(\d+)/))},t.storage=function(){try{return localStorage}catch(e){}}(),i=!1,t.destroy=()=>{i||(i=!0,console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."))},t.colors=["#0000CC","#0000FF","#0033CC","#0033FF","#0066CC","#0066FF","#0099CC","#0099FF","#00CC00","#00CC33","#00CC66","#00CC99","#00CCCC","#00CCFF","#3300CC","#3300FF","#3333CC","#3333FF","#3366CC","#3366FF","#3399CC","#3399FF","#33CC00","#33CC33","#33CC66","#33CC99","#33CCCC","#33CCFF","#6600CC","#6600FF","#6633CC","#6633FF","#66CC00","#66CC33","#9900CC","#9900FF","#9933CC","#9933FF","#99CC00","#99CC33","#CC0000","#CC0033","#CC0066","#CC0099","#CC00CC","#CC00FF","#CC3300","#CC3333","#CC3366","#CC3399","#CC33CC","#CC33FF","#CC6600","#CC6633","#CC9900","#CC9933","#CCCC00","#CCCC33","#FF0000","#FF0033","#FF0066","#FF0099","#FF00CC","#FF00FF","#FF3300","#FF3333","#FF3366","#FF3399","#FF33CC","#FF33FF","#FF6600","#FF6633","#FF9900","#FF9933","#FFCC00","#FFCC33"],t.log=console.debug||console.log||(()=>{}),e.exports=r(5826)(t);let{formatters:n}=e.exports;n.j=function(e){try{return JSON.stringify(e)}catch(e){return"[UnexpectedJSONParseError]: "+e.message}}},5826(e,t,r){e.exports=function(e){function t(e){let r,n,a,s=null;function o(...e){if(!o.enabled)return;let i=Number(new Date);o.diff=i-(r||i),o.prev=r,o.curr=i,r=i,e[0]=t.coerce(e[0]),"string"!=typeof e[0]&&e.unshift("%O");let n=0;e[0]=e[0].replace(/%([a-zA-Z%])/g,(r,i)=>{if("%%"===r)return"%";n++;let a=t.formatters[i];if("function"==typeof a){let t=e[n];r=a.call(o,t),e.splice(n,1),n--}return r}),t.formatArgs.call(o,e),(o.log||t.log).apply(o,e)}return o.namespace=e,o.useColors=t.useColors(),o.color=t.selectColor(e),o.extend=i,o.destroy=t.destroy,Object.defineProperty(o,"enabled",{enumerable:!0,configurable:!1,get:()=>null!==s?s:(n!==t.namespaces&&(n=t.namespaces,a=t.enabled(e)),a),set:e=>{s=e}}),"function"==typeof t.init&&t.init(o),o}function i(e,r){let i=t(this.namespace+(void 0===r?":":r)+e);return i.log=this.log,i}function n(e,t){let r=0,i=0,n=-1,a=0;for(;r<e.length;)if(i<t.length&&(t[i]===e[r]||"*"===t[i]))"*"===t[i]?(n=i,a=r):r++,i++;else{if(-1===n)return!1;i=n+1,r=++a}for(;i<t.length&&"*"===t[i];)i++;return i===t.length}return t.debug=t,t.default=t,t.coerce=function(e){return e instanceof Error?e.stack||e.message:e},t.disable=function(){let e=[...t.names,...t.skips.map(e=>"-"+e)].join(",");return t.enable(""),e},t.enable=function(e){for(let r of(t.save(e),t.namespaces=e,t.names=[],t.skips=[],("string"==typeof e?e:"").trim().replace(/\s+/g,",").split(",").filter(Boolean)))"-"===r[0]?t.skips.push(r.slice(1)):t.names.push(r)},t.enabled=function(e){for(let r of t.skips)if(n(e,r))return!1;for(let r of t.names)if(n(e,r))return!0;return!1},t.humanize=r(9049),t.destroy=function(){console.warn("Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.")},Object.keys(e).forEach(r=>{t[r]=e[r]}),t.names=[],t.skips=[],t.formatters={},t.selectColor=function(e){let r=0;for(let t=0;t<e.length;t++)r=(r<<5)-r+e.charCodeAt(t)|0;return t.colors[Math.abs(r)%t.colors.length]},t.enable(t.load()),t}},5243(e,t,r){"u"<typeof process||"renderer"===process.type||!0===process.browser||process.__nwjs?e.exports=r(4879):e.exports=r(5051)},5051(e,t,r){let i=r(2018),n=r(9023);t.init=function(e){e.inspectOpts={};let r=Object.keys(t.inspectOpts);for(let i=0;i<r.length;i++)e.inspectOpts[r[i]]=t.inspectOpts[r[i]]},t.log=function(...e){return process.stderr.write(n.formatWithOptions(t.inspectOpts,...e)+"\n")},t.formatArgs=function(r){let{namespace:i,useColors:n}=this;if(n){let t=this.color,n="\x1b[3"+(t<8?t:"8;5;"+t),a=` ${n};1m${i} \u001B[0m`;r[0]=a+r[0].split("\n").join("\n"+a),r.push(n+"m+"+e.exports.humanize(this.diff)+"\x1b[0m")}else r[0]=(t.inspectOpts.hideDate?"":new Date().toISOString()+" ")+i+" "+r[0]},t.save=function(e){e?process.env.DEBUG=e:delete process.env.DEBUG},t.load=function(){return process.env.DEBUG},t.useColors=function(){return"colors"in t.inspectOpts?!!t.inspectOpts.colors:i.isatty(process.stderr.fd)},t.destroy=n.deprecate(()=>{},"Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`."),t.colors=[6,2,3,4,5,1];try{let e=r(9478);e&&(e.stderr||e).level>=2&&(t.colors=[20,21,26,27,32,33,38,39,40,41,42,43,44,45,56,57,62,63,68,69,74,75,76,77,78,79,80,81,92,93,98,99,112,113,128,129,134,135,148,149,160,161,162,163,164,165,166,167,168,169,170,171,172,173,178,179,184,185,196,197,198,199,200,201,202,203,204,205,206,207,208,209,214,215,220,221])}catch(e){}t.inspectOpts=Object.keys(process.env).filter(e=>/^debug_/i.test(e)).reduce((e,t)=>{let r=t.substring(6).toLowerCase().replace(/_([a-z])/g,(e,t)=>t.toUpperCase()),i=process.env[t];return i=!!/^(yes|on|true|enabled)$/i.test(i)||!/^(no|off|false|disabled)$/i.test(i)&&("null"===i?null:Number(i)),e[r]=i,e},{}),e.exports=r(5826)(t);let{formatters:a}=e.exports;a.o=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts).split("\n").map(e=>e.trim()).join(" ")},a.O=function(e){return this.inspectOpts.colors=this.useColors,n.inspect(e,this.inspectOpts)}},1533(e){e.exports=(e,t=process.argv)=>{let r=e.startsWith("-")?"":1===e.length?"-":"--",i=t.indexOf(r+e),n=t.indexOf("--");return -1!==i&&(-1===n||i<n)}},7277(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpProxyAgent=void 0;let o=a(r(9278)),l=a(r(4756)),c=s(r(5243)),d=r(4434),m=r(2120),u=r(7016),p=(0,c.default)("http-proxy-agent");class h extends m.Agent{constructor(e,t){super(t),this.proxy="string"==typeof e?new u.URL(e):e,this.proxyHeaders=t?.headers??{},p("Creating new HttpProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={...t?function(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}(t,"headers"):null,host:r,port:i}}addRequest(e,t){e._header=null,this.setRequestProps(e,t),super.addRequest(e,t)}setRequestProps(e,t){let{proxy:r}=this,i=t.secureEndpoint?"https:":"http:",n=e.getHeader("host")||"localhost",a=`${i}//${n}`,s=new u.URL(e.path,a);80!==t.port&&(s.port=String(t.port)),e.path=String(s);let o="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders};if(r.username||r.password){let e=`${decodeURIComponent(r.username)}:${decodeURIComponent(r.password)}`;o["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let t of(o["Proxy-Connection"]||(o["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(o))){let r=o[t];r&&e.setHeader(t,r)}}async connect(e,t){let r,i,n;return e._header=null,e.path.includes("://")||this.setRequestProps(e,t),p("Regenerating stored HTTP header string for request"),e._implicitHeader(),e.outputData&&e.outputData.length>0&&(p("Patching connection write() output buffer with updated header"),i=(r=e.outputData[0].data).indexOf("\r\n\r\n")+4,e.outputData[0].data=e._header+r.substring(i),p("Output buffer: %o",e.outputData[0].data)),"https:"===this.proxy.protocol?(p("Creating `tls.Socket`: %o",this.connectOpts),n=l.connect(this.connectOpts)):(p("Creating `net.Socket`: %o",this.connectOpts),n=o.connect(this.connectOpts)),await (0,d.once)(n,"connect"),n}}h.protocols=["http","https"],t.HttpProxyAgent=h},6565(e,t,r){var i=this&&this.__createBinding||(Object.create?function(e,t,r,i){void 0===i&&(i=r);var n=Object.getOwnPropertyDescriptor(t,r);(!n||("get"in n?!t.__esModule:n.writable||n.configurable))&&(n={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,i,n)}:function(e,t,r,i){void 0===i&&(i=r),e[i]=t[r]}),n=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),a=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var r in e)"default"!==r&&Object.prototype.hasOwnProperty.call(e,r)&&i(t,e,r);return n(t,e),t},s=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.HttpsProxyAgent=void 0;let o=a(r(9278)),l=a(r(4756)),c=s(r(2613)),d=s(r(5243)),m=r(2120),u=r(7016),p=r(679),h=(0,d.default)("https-proxy-agent"),g=e=>void 0===e.servername&&e.host&&!o.isIP(e.host)?{...e,servername:e.host}:e;class f extends m.Agent{constructor(e,t){super(t),this.options={path:void 0},this.proxy="string"==typeof e?new u.URL(e):e,this.proxyHeaders=t?.headers??{},h("Creating new HttpsProxyAgent instance: %o",this.proxy.href);let r=(this.proxy.hostname||this.proxy.host).replace(/^\[|\]$/g,""),i=this.proxy.port?parseInt(this.proxy.port,10):"https:"===this.proxy.protocol?443:80;this.connectOpts={ALPNProtocols:["http/1.1"],...t?A(t,"headers"):null,host:r,port:i}}async connect(e,t){let r,{proxy:i}=this;if(!t.host)throw TypeError('No "host" provided');"https:"===i.protocol?(h("Creating `tls.Socket`: %o",this.connectOpts),r=l.connect(g(this.connectOpts))):(h("Creating `net.Socket`: %o",this.connectOpts),r=o.connect(this.connectOpts));let n="function"==typeof this.proxyHeaders?this.proxyHeaders():{...this.proxyHeaders},a=o.isIPv6(t.host)?`[${t.host}]`:t.host,s=`CONNECT ${a}:${t.port} HTTP/1.1\r +`;if(i.username||i.password){let e=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;n["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(n.Host=`${a}:${t.port}`,n["Proxy-Connection"]||(n["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(n)))s+=`${e}: ${n[e]}\r +`;let d=(0,p.parseProxyResponse)(r);r.write(`${s}\r +`);let{connect:m,buffered:u}=await d;if(e.emit("proxyConnect",m),this.emit("proxyConnect",m,e),200===m.statusCode)return(e.once("socket",y),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),l.connect({...A(g(t),"host","path","port"),socket:r})):r;r.destroy();let f=new o.Socket({writable:!1});return f.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,c.default)(e.listenerCount("data")>0),e.push(u),e.push(null)}),f}}function y(e){e.resume()}function A(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}f.protocols=["http","https"],t.HttpsProxyAgent=f},679(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let n=(0,i(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let i=0,a=[];function s(){let l=e.read();l?function(l){a.push(l),i+=l.length;let c=Buffer.concat(a,i),d=c.indexOf("\r\n\r\n");if(-1===d){n("have not received end of HTTP headers yet..."),s();return}let m=c.slice(0,d).toString("ascii").split("\r\n"),u=m.shift();if(!u)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let p=u.split(" "),h=+p[1],g=p.slice(2).join(" "),f={};for(let t of m){if(!t)continue;let i=t.indexOf(":");if(-1===i)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let n=t.slice(0,i).toLowerCase(),a=t.slice(i+1).trimStart(),s=f[n];"string"==typeof s?f[n]=[s,a]:Array.isArray(s)?s.push(a):f[n]=a}n("got proxy server response: %o %o",u,f),o(),t({connect:{statusCode:h,statusText:g,headers:f},buffered:c})}(l):e.once("readable",s)}function o(){e.removeListener("end",l),e.removeListener("error",c),e.removeListener("readable",s)}function l(){o(),n("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function c(e){o(),n("onerror %o",e),r(e)}e.on("error",c),e.on("end",l),s()})}},9049(e){function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,n,a,s,o=typeof e;if("string"===o&&e.length>0){var l=e;if(!((l=String(l)).length>100)){var c=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(l);if(c){var d=parseFloat(c[1]);switch((c[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*d;case"weeks":case"week":case"w":return 6048e5*d;case"days":case"day":case"d":return 864e5*d;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*d;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*d;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*d;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return d;default:break}}}return}if("number"===o&&isFinite(e)){return r.long?(n=Math.abs(i=e))>=864e5?t(i,n,864e5,"day"):n>=36e5?t(i,n,36e5,"hour"):n>=6e4?t(i,n,6e4,"minute"):n>=1e3?t(i,n,1e3,"second"):i+" ms":(s=Math.abs(a=e))>=864e5?Math.round(a/864e5)+"d":s>=36e5?Math.round(a/36e5)+"h":s>=6e4?Math.round(a/6e4)+"m":s>=1e3?Math.round(a/1e3)+"s":a+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let i,n=r(857),a=r(2018),s=r(1533),{env:o}=process;function l(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function c(e,t){if(0===i)return 0;if(s("color=16m")||s("color=full")||s("color=truecolor"))return 3;if(s("color=256"))return 2;if(e&&!t&&void 0===i)return 0;let r=i||0;if("dumb"===o.TERM)return r;if("win32"===process.platform){let e=n.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in o)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in o)||"codeship"===o.CI_NAME?1:r;if("TEAMCITY_VERSION"in o)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(o.TEAMCITY_VERSION);if("truecolor"===o.COLORTERM)return 3;if("TERM_PROGRAM"in o){let e=parseInt((o.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(o.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(o.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(o.TERM)||"COLORTERM"in o?1:r}s("no-color")||s("no-colors")||s("color=false")||s("color=never")?i=0:(s("color")||s("colors")||s("color=true")||s("color=always"))&&(i=1),"FORCE_COLOR"in o&&(i="true"===o.FORCE_COLOR?1:"false"===o.FORCE_COLOR?0:0===o.FORCE_COLOR.length?1:Math.min(parseInt(o.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return l(c(e,e&&e.isTTY))},stdout:l(c(!0,a.isatty(1))),stderr:l(c(!0,a.isatty(2)))}},1885(e,t,r){r.d(t,{$:()=>eb});var i=r(9581),n=r(7139),a=r(7464),s=r(702),o=r(9427),l=r(1211),c=r(6437),d=r(1260),m=r(9981),u=r(9605),p=r(8275),h=r(3818),g=r(9616),f=r(1306),y=class extends a.X0d()("ToolInstallerError",{reason:a.xCb(["downloadFailed","extractFailed","cacheFailed"]),status:a.Qrq(a.wNn),subject:a.Qrq(a.QfV),stderr:a.Qrq(a.QfV),cause:a.Qrq(a.kld())}){get message(){switch(this.reason){case"downloadFailed":return`Could not download ${this.subject}${void 0===this.status?"":` (HTTP ${this.status})`}`;case"extractFailed":return`Could not extract ${this.subject}${void 0===this.stderr?"":`: ${this.stderr}`}`;default:return`Could not cache ${this.subject} into the tool cache`}}get retryable(){return"downloadFailed"===this.reason&&(void 0===this.status||this.status>=500||408===this.status||429===this.status)}};let A=s.JkU(function*(){let e=yield*n.gd,t=yield*o.Q2,r=yield*l.wA,i=yield*h.Qq,a=yield*g.CV,u=yield*s.TjK(e.getOptional("RUNNER_TOOL_CACHE"),e=>c.getOrElse(e,()=>r.join("/tmp","runner-tool-cache"))),p=yield*s.TjK(e.getOptional("RUNNER_OS"),e=>c.match(e,{onNone:()=>!1,onSome:e=>"windows"===e.toLowerCase()})),A=(e,t)=>x.cachePath({root:u,tool:e,version:t,arch:process.arch}),b=e=>{let r=e?.destination;return void 0===r?t.makeTempDirectory({prefix:"effected-extract-"}).pipe(s.xm_(e=>new y({reason:"extractFailed",cause:e}))):t.makeDirectory(r,{recursive:!0}).pipe(s.as(r),s.xm_(e=>new y({reason:"extractFailed",subject:r,cause:e})))},N=(e,t)=>s.P1j(s.JkU(function*(){let r=e=>new y({reason:"extractFailed",subject:t,cause:e}),i=yield*a.spawn(e).pipe(s.xm_(r)),n=yield*d.kBx(d.g7H(i.all)).pipe(s.xm_(r));if((yield*i.exitCode.pipe(s.xm_(r)))!==0)return yield*s.fJG(new y({reason:"extractFailed",subject:t,stderr:n.trim()}))})),C=(e,i,n)=>s.JkU(function*(){let a=A(i,n);return yield*t.makeDirectory(r.dirname(a),{recursive:!0}),yield*t.remove(a,{recursive:!0,force:!0}),yield*t.rename(e,a),a}).pipe(s.xm_(e=>new y({reason:"cacheFailed",subject:i,cause:e}))),S=(e,r)=>s.JkU(function*(){return yield*t.makeDirectory(u,{recursive:!0}),yield*t.makeTempDirectory({directory:u,prefix:".staging-"})}).pipe(s.xm_(t=>new y({reason:"cacheFailed",subject:e,cause:t})),s.qIB(e=>r(e).pipe(s.dGm(()=>s.XeO(t.remove(e,{recursive:!0,force:!0})))))),I=s.fn("ToolInstaller.download")(function*(e,n){return yield*s.JkU(function*(){let n=yield*i.get(e).pipe(s.xm_(t=>new y({reason:"downloadFailed",subject:e,cause:t})));if(n.status<200||n.status>=300)return yield*s.fJG(new y({reason:"downloadFailed",subject:e,status:n.status}));let a=yield*t.makeTempDirectory({prefix:"effected-download-"}).pipe(s.xm_(t=>new y({reason:"downloadFailed",subject:e,cause:t}))),o=r.join(a,"download");return yield*d.eFU(n.stream,t.sink(o)).pipe(s.xm_(t=>new y({reason:"downloadFailed",subject:e,cause:t}))),o}).pipe(s.wRz(n?.timeout??"5 minutes"),s.KuX("TimeoutError",t=>s.fJG(new y({reason:"downloadFailed",subject:e,cause:t}))),s.L5P({schedule:m.EV("1 second"),times:2,while:e=>e.retryable}))}),w=(e,r)=>s.TjK(s.Ket(t.stat(A(e,r))),t=>"Success"===t._tag&&"Directory"===t.success.type?c.some(A(e,r)):c.none()),E=s.fn("ToolInstaller.cacheFile")(function*(e,i,n,a){return yield*s.ww9({tool:n,version:a}),yield*S(n,o=>t.copyFile(e,r.join(o,i)).pipe(s.xm_(e=>new y({reason:"cacheFailed",subject:n,cause:e})),s.qIB(()=>C(o,n,a))))});return{find:w,download:I,extractTar:s.fn("ToolInstaller.extractTar")(function*(e,t){let r=yield*b(t),i=t?.flags===void 0||0===t.flags.length?["xzf"]:[...t.flags];return yield*N(f.L8("tar",[...i,e,"-C",r]),e),r}),extractZip:s.fn("ToolInstaller.extractZip")(function*(e,t){let r=yield*b(t),i=p?f.L8("pwsh",["-NoProfile","-NonInteractive","-Command",`$ErrorActionPreference = 'Stop'; try { Add-Type -AssemblyName System.IO.Compression.FileSystem; [System.IO.Compression.ZipFile]::ExtractToDirectory('${e.replaceAll("'","''")}', '${r.replaceAll("'","''")}', $true) } catch { [Console]::Error.WriteLine($_.Exception.ToString()); exit 1 }`]):f.L8("unzip",["-oq",e,"-d",r]);return yield*N(i,e),r}),cacheDir:s.fn("ToolInstaller.cacheDir")(function*(e,r,i){return yield*s.ww9({tool:r,version:i}),yield*S(r,n=>t.copy(e,n,{overwrite:!0}).pipe(s.xm_(e=>new y({reason:"cacheFailed",subject:r,cause:e})),s.qIB(()=>C(n,r,i))))}),cacheFile:E,provisionFile:s.fn("ToolInstaller.provisionFile")(function*(e){yield*s.ww9({tool:e.tool,version:e.version});let i=yield*w(e.tool,e.version);if(c.isSome(i)){let n=yield*s.Ket(t.stat(r.join(i.value,e.binary)));if("Success"===n._tag&&"File"===n.success.type)return{directory:i.value,binDir:i.value}}let n=yield*I(e.url);p||(yield*t.chmod(n,493).pipe(s.xm_(e=>new y({reason:"cacheFailed",subject:n,cause:e}))));let a=yield*E(n,e.binary,e.tool,e.version);return{directory:a,binDir:a}})}}),b=e=>{throw Error(`ToolInstaller.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var x=class e extends u.kl()("@effected/github-actions/ToolInstaller"){static layer=p.QZ(this,A);static cachePath=e=>`${e.root}/${e.tool}/${e.version}/${e.arch}`;static makeTest=(e={})=>({find:()=>s.OH5(()=>b("find")),download:()=>s.OH5(()=>b("download")),extractTar:()=>s.OH5(()=>b("extractTar")),extractZip:()=>s.OH5(()=>b("extractZip")),cacheDir:()=>s.OH5(()=>b("cacheDir")),cacheFile:()=>s.OH5(()=>b("cacheFile")),provisionFile:()=>s.OH5(()=>b("provisionFile")),...e});static layerTest=(t={})=>p.Py(e,e.makeTest(t))},N=r(7598);let C=/^(sha1|sha256|sha384|sha512)-[A-Za-z0-9+/]+={0,2}$/,S=/^(sha1|sha224|sha256|sha384|sha512)\.[0-9a-f]+$/,I=/^[0-9]+(c[0-9]+)?\/[0-9a-f]+$/,w=e=>C.test(e),E=e=>S.test(e),v=e=>I.test(e),B=e=>w(e)||E(e)||v(e);var P=class extends a.X0d()("InvalidIntegrityHashError",{input:a.QfV}){get message(){return`Invalid integrity hash "${this.input}": expected an SRI (<algo>-<base64>), corepack (<algo>.<hex>) or yarn (<cachekey>/<hex>) form`}};let R=a.QfV.pipe(a.z6Y(a.HNH(e=>B(e)?void 0:"Expected an SRI, corepack or yarn integrity hash")),a.wkx("IntegrityHash"));Object.assign(R,{isSri:w,isCorepack:E,isYarnChecksum:v,isValid:B,algorithmOf:e=>w(e)?c.some(e.slice(0,e.indexOf("-"))):E(e)?c.some(e.slice(0,e.indexOf("."))):c.none(),decode:e=>a._Re(R)(e).pipe(s.xm_(()=>new P({input:e})))});let O=R.pipe(a.z6Y(a.HNH(e=>E(e)?void 0:"Expected a corepack (<algo>.<hex>) integrity hash")));var k=r(5030),T=r(2917),M=r(2340),D=r(5536),z=class{position;constructor(e){this.position=e}};let Q=(e,t)=>{throw new z(t??e.pos)},_=e=>e.pos<e.len?e.input[e.pos]:void 0,U=e=>{if(e.pos<e.len){let t=e.input[e.pos];return e.pos++,t}},H=e=>e>="0"&&e<="9",L=e=>H(e)||e>="a"&&e<="z"||e>="A"&&e<="Z"||"-"===e,F=e=>e.pos>=e.len,q=e=>{let t=_(e);return void 0!==t&&H(t)},j=e=>{let t=_(e);return void 0!==t&&L(t)},G=e=>{let t=e.pos,r=_(e);if(void 0===r||!H(r))return Q(e);let i="";for(;q(e);)i+=U(e);if(i.length>1&&"0"===i[0])return e.pos=t,Q(e,t);let n=Number(i);return Number.isSafeInteger(n)?n:(e.pos=t,Q(e,t))},Y=e=>{let t=e.pos,r="",i=!1,n=_(e);if(void 0===n||!L(n))return Q(e);for(;j(e);){let t=U(e)??"";H(t)||(i=!0),r+=t}if(0===r.length)return Q(e);if(i)return r;if(r.length>1&&"0"===r[0])return e.pos=t,Q(e,t);let a=Number(r);return Number.isSafeInteger(a)?a:(e.pos=t,Q(e,t))},$=e=>{let t="",r=_(e);if(void 0===r||!L(r))return Q(e);for(;j(e);)t+=U(e)??"";return 0===t.length?Q(e):t},J=e=>{let t=e.trim();if(0===t.length)return{ok:!1,input:e,position:0};let r={input:t,pos:0,len:t.length};try{return{ok:!0,value:(e=>{let t=_(e);if("v"===t||"V"===t||"="===t)return Q(e,0);let r=G(e);if("."!==_(e))return Q(e);U(e);let i=G(e);if("."!==_(e))return Q(e);U(e);let n=G(e),a=[];F(e)||"-"!==_(e)||(U(e),a=(e=>{let t=[];for(t.push(Y(e));!F(e)&&"."===_(e);)U(e),t.push(Y(e));return t})(e));let s=[];return(F(e)||"+"!==_(e)||(U(e),s=(e=>{let t=[];for(t.push($(e));!F(e)&&"."===_(e);)U(e),t.push($(e));return t})(e)),F(e))?{major:r,minor:i,patch:n,prerelease:a,build:s}:Q(e)})(r)}}catch(e){if(e instanceof z)return{ok:!1,input:t,position:e.position};throw e}},K=e=>{let t=`${e.major}.${e.minor}.${e.patch}`;return e.prerelease.length>0&&(t+=`-${e.prerelease.join(".")}`),e.build.length>0&&(t+=`+${e.build.join(".")}`),t},X=(e,t)=>"number"==typeof e&&"number"==typeof t?e-t:"string"==typeof e&&"string"==typeof t?e<t?-1:+(e>t):"number"==typeof e?-1:1;var V=r(606),W=r(9920),Z=r(2730),ee=r(3536),et=class extends a.X0d()("InvalidVersionError",{input:a.QfV,position:a.Qrq(a.wNn)}){get message(){let e=`Invalid version string: "${this.input}"`;return void 0!==this.position?`${e} at position ${this.position}`:e}};let er=a.wNn.check(a.E6F(),a.Bt9({minimum:0,maximum:Number.MAX_SAFE_INTEGER})),ei=a.gPz([a.QfV.check(a.Pto(/^[0-9]*[A-Za-z-][0-9A-Za-z-]*$/)),er]),en=a.QfV.check(a.Pto(/^[0-9A-Za-z-]+$/));var ea=class e extends a.Xsx("SemVer")({major:er,minor:er,patch:er,prerelease:a.O31(ei),build:a.O31(en)}){static FromString=a.QfV.pipe(a.GLL(e,k.K$({decode:e=>{let t=J(e);return t.ok?s.PyW(t.value):s.fJG(new M.h6(c.some(e),{message:`Invalid version string: "${t.input}" at position ${t.position}`}))},encode:e=>s.PyW(K(e))})));static ExactVersionString=a.QfV.pipe(a.z6Y(a.HNH(t=>e.isValid(t)?void 0:"Expected an exact SemVer 2.0.0 version string (ranges, partial versions, dist-tags and surrounding whitespace are not valid)")));static PinnableVersionString=a.QfV.pipe(a.z6Y(a.HNH(t=>e.isPinnable(t)?void 0:"Expected an exact SemVer version with no build metadata (ranges, partial versions, dist-tags and surrounding whitespace are not pinnable)")));static parseResult(t){let r=J(t);return r.ok?T.Py(e.make(r.value)):T.fJ(new et({input:r.input,position:r.position}))}static parse=s.fn("SemVer.parse")(t=>s.yUA(e.parseResult(t)));static isValid(t){return t===t.trim()&&T.oJ(e.parseResult(t))}static isPinnable(t){if(t!==t.trim())return!1;let r=e.parseResult(t);return T.oJ(r)&&0===r.success.build.length}static of(t,r,i,n=[],a=[]){return e.make({major:t,minor:r,patch:i,prerelease:n,build:a})}static Order=V.L8((e,t)=>e.compare(t));static OrderWithBuild=V.L8((e,t)=>{let r=e.compare(t);return 0!==r?r:((e,t)=>{let r=e.length>0,i=t.length>0;if(!r&&i)return -1;if(r&&!i)return 1;let n=Math.min(e.length,t.length);for(let r=0;r<n;r++){if(e[r]<t[r])return -1;if(e[r]>t[r])return 1}return e.length!==t.length?e.length<t.length?-1:1:0})(e.build,t.build)});static compare=W.XY(2,(e,t)=>e.compare(t));static gt=W.XY(2,(e,t)=>e.gt(t));static gte=W.XY(2,(e,t)=>e.gte(t));static lt=W.XY(2,(e,t)=>e.lt(t));static lte=W.XY(2,(e,t)=>e.lte(t));static equal=W.XY(2,(e,t)=>e.equal(t));static neq=W.XY(2,(e,t)=>e.neq(t));static truncate=W.XY(2,(t,r)=>"prerelease"===r?e.make({major:t.major,minor:t.minor,patch:t.patch,prerelease:[],build:[]}):e.make({major:t.major,minor:t.minor,patch:t.patch,prerelease:t.prerelease,build:[]}));static sort(t){return[...t].sort(e.Order)}static rsort(e){return[...e].sort((e,t)=>t.compare(e))}static max(e){let t;for(let r of e)(void 0===t||r.gt(t))&&(t=r);return void 0===t?c.none():c.some(t)}static min(e){let t;for(let r of e)(void 0===t||r.lt(t))&&(t=r);return void 0===t?c.none():c.some(t)}static groupBy(t,r){let i={};for(let n of e.sort(t)){let e;switch(r){case"major":e=`${n.major}`;break;case"minor":e=`${n.major}.${n.minor}`;break;case"patch":e=`${n.major}.${n.minor}.${n.patch}`}let t=i[e]??[];t.push(n),i[e]=t}return i}static latestByMajor(t){let r=new Map;for(let i of e.sort(t))r.set(i.major,i);return Array.from(r.values())}static latestByMinor(t){let r=new Map;for(let i of e.sort(t))r.set(`${i.major}.${i.minor}`,i);return Array.from(r.values())}compare(e){if(this.major!==e.major)return this.major>e.major?1:-1;if(this.minor!==e.minor)return this.minor>e.minor?1:-1;if(this.patch!==e.patch)return this.patch>e.patch?1:-1;let t=this.prerelease,r=e.prerelease;if(0===t.length&&0===r.length)return 0;if(0===t.length)return 1;if(0===r.length)return -1;let i=Math.min(t.length,r.length);for(let e=0;e<i;e++){let i=X(t[e],r[e]);if(0!==i)return i<0?-1:1}return t.length!==r.length?t.length>r.length?1:-1:0}gt(e){return 1===this.compare(e)}gte(e){return this.compare(e)>=0}lt(e){return -1===this.compare(e)}lte(e){return 0>=this.compare(e)}equal(e){return 0===this.compare(e)}neq(e){return 0!==this.compare(e)}get isPrerelease(){return this.prerelease.length>0}get isStable(){return 0===this.prerelease.length}get bump(){return new es(this)}[Z.HR](t){return t instanceof e&&this.major===t.major&&this.minor===t.minor&&this.patch===t.patch&&this.prerelease.length===t.prerelease.length&&this.prerelease.every((e,r)=>e===t.prerelease[r])}[ee.HR](){return ee.Yj(K({major:this.major,minor:this.minor,patch:this.patch,prerelease:this.prerelease,build:[]}))}toString(){return K(this)}[Symbol.for("nodejs.util.inspect.custom")](){return this.toString()}},es=class{v;constructor(e){this.v=e}major(){return ea.make({major:this.v.major+1,minor:0,patch:0,prerelease:[],build:[]})}minor(){return ea.make({major:this.v.major,minor:this.v.minor+1,patch:0,prerelease:[],build:[]})}patch(){return ea.make({major:this.v.major,minor:this.v.minor,patch:this.v.patch+1,prerelease:[],build:[]})}prerelease(e){let{major:t,minor:r,patch:i}=this.v,n=this.v.prerelease;if(0===n.length)return ea.make({major:t,minor:r,patch:i+1,prerelease:void 0!==e?[e,0]:[0],build:[]});if(void 0!==e&&("string"==typeof n[0]?n[0]:null)!==e)return ea.make({major:t,minor:r,patch:i,prerelease:[e,0],build:[]});let a=n[n.length-1];if("number"==typeof a){let e=[...n];return e[e.length-1]=a+1,ea.make({major:t,minor:r,patch:i,prerelease:e,build:[]})}return ea.make({major:t,minor:r,patch:i,prerelease:[...n,0],build:[]})}release(){return ea.make({major:this.v.major,minor:this.v.minor,patch:this.v.patch,prerelease:[],build:[]})}},eo=class extends a.X0d()("InvalidPackageManagerPinError",{input:a.QfV,reason:a.xCb(["format","name","version","integrity"])}){get message(){return"format"===this.reason?`Invalid package-manager pin "${this.input}": expected <name>@<version>[+<integrity>]`:"name"===this.reason?`Invalid package-manager pin "${this.input}": name must be one of npm, pnpm, yarn, bun`:"version"===this.reason?`Invalid package-manager pin "${this.input}": version must be an exact SemVer version (ranges, partial versions and dist-tags are not pinnable)`:`Invalid package-manager pin "${this.input}": integrity must be a corepack <algo>.<hex> hash`}};let el=a.xCb(["npm","pnpm","yarn","bun"]),ec=ea.pipe(a.z6Y(a.HNH(e=>0===e.build.length?void 0:"Expected a version without build metadata")));(class e extends a.Xsx("PackageManagerPin")({name:el,version:ec,integrity:a.Qrq(O)}){static FromString=a.QfV.pipe(a.GLL(a.hR_(e),k.K$({decode:t=>{let r=e.parseResult(t);return T.oJ(r)?s.PyW(r.success):s.fJG(new M.h6(c.some(t),{message:r.failure.message}))},encode:e=>s.PyW(e.toString())})));static parseResult(t){let r=t.indexOf("@");if(-1===r)return T.fJ(new eo({input:t,reason:"format"}));let i=t.slice(0,r);if("npm"!==i&&"pnpm"!==i&&"yarn"!==i&&"bun"!==i)return T.fJ(new eo({input:t,reason:"name"}));let n=t.slice(r+1),s=n.indexOf("+"),o=-1===s?n:n.slice(0,s),l=ea.parseResult(o);if(T.N6(l)||!ea.isPinnable(o))return T.fJ(new eo({input:t,reason:"version"}));if(-1===s)return T.Py(e.make({name:i,version:l.success}));let c=a.fqZ(O)(n.slice(s+1));return D.N6(c)?T.fJ(new eo({input:t,reason:"integrity"})):T.Py(e.make({name:i,version:l.success,integrity:c.value}))}static parse=s.fn("PackageManagerPin.parse")(t=>s.yUA(e.parseResult(t)));toString(){let e=`${this.name}@${this.version.toString()}`;return void 0===this.integrity?e:`${e}+${this.integrity}`}});var ed=class extends a.X0d()("PackageManagerInstallerError",{reason:a.xCb(["downloadFailed","extractFailed","integrityMismatch","integrityMissing","unsupportedPlatform","layoutUnexpected","cacheFailed"]),name:el,version:a.QfV,subject:a.Qrq(a.QfV),expected:a.Qrq(a.QfV),actual:a.Qrq(a.QfV),cause:a.Qrq(a.kld())}){get message(){let e=`${this.name}@${this.version}`;switch(this.reason){case"downloadFailed":return`Could not download ${e}${void 0===this.subject?"":` from ${this.subject}`}`;case"extractFailed":return`Could not extract ${e}${void 0===this.subject?"":` (${this.subject})`}`;case"integrityMismatch":return`Integrity mismatch for ${e}: expected ${this.expected}, got ${this.actual}`;case"integrityMissing":return`The pin for ${e} carries no integrity hash and requireIntegrity is set`;case"unsupportedPlatform":return`No ${e} build is published for ${this.subject}`;case"layoutUnexpected":return`The ${e} artifact does not have the expected layout${void 0===this.subject?"":`: ${this.subject}`}`;default:return`Could not cache ${e} into the tool cache${void 0===this.subject?"":`: ${this.subject}`}`}}},em=class extends a.Xsx("AmbientPackageManager")({source:a.TcI("ambient"),name:el,version:a.QfV,bins:a.mSG(a.QfV,a.QfV)}){},eu=class extends a.Xsx("CachedPackageManager")({source:a.TcI("tool-cache"),name:el,version:a.QfV,directory:a.QfV,binDir:a.QfV,bins:a.mSG(a.QfV,a.QfV)}){};a.gPz([em,eu]);let ep=".bin",eh=e=>`#!/bin/sh +exec node "${e}" "$@" +`,eg=e=>`@echo off\r +node "${e}" %*\r +`,ef=e=>"x64"===e.toLowerCase()?"x64":"arm64"===e.toLowerCase()?"arm64":e,ey=s.JkU(function*(){let e=yield*n.gd,t=yield*o.Q2,r=yield*l.wA,i=yield*g.CV,a=yield*x,m=yield*s.TjK(e.getOptional("RUNNER_OS"),e=>c.getOrElse(e,()=>"")),u=yield*s.TjK(e.getOptional("RUNNER_ARCH"),e=>c.match(e,{onNone:()=>process.arch,onSome:ef})),p="windows"===m.toLowerCase(),h=p?"bun.exe":"bun",y=e=>p?`${e}.cmd`:e,A=p?eg:eh,b=yield*s.TjK(e.getOptional("RUNNER_TOOL_CACHE"),e=>c.getOrElse(e,()=>r.join("/tmp","runner-tool-cache"))),C=e=>t=>new ed({name:e.name,version:e.version.toString(),...t}),S=e=>t=>C(e)({reason:t.reason,...void 0===t.subject?{}:{subject:t.subject},cause:t}),I=(e,r)=>s.JkU(function*(){if(void 0===e.integrity)return void(yield*s.FFw(`The pin ${e.toString()} carries no integrity hash; the downloaded artifact was not verified.`));let i=e.integrity.indexOf("."),n=e.integrity.slice(0,i),a=e.integrity.slice(i+1),o=yield*s.DYE(()=>{let i=(0,N.createHash)(n);return t.stream(r).pipe(d.o1d(e=>s.OH5(()=>{i.update(e)})),s.TjK(()=>i.digest("hex")),s.xm_(t=>C(e)({reason:"integrityMismatch",subject:r,cause:t})))});if(o!==a)return yield*s.fJG(C(e)({reason:"integrityMismatch",subject:r,expected:e.integrity,actual:`${n}.${o}`}))}),w=s.TjK(s.Ket(i.string(f.L8("npm",["--version"]))),e=>"Success"===e._tag?c.some(e.success.trim()):c.none()),E=(e,r,i)=>s.JkU(function*(){let n=yield*s.Ket(t.stat(r));if("Success"!==n._tag||"File"!==n.success.type)return yield*s.fJG(C(e)({reason:"layoutUnexpected",subject:i}))}),v=(e,i)=>s.JkU(function*(){let n=r.join(i,"package.json"),a=yield*t.readFileString(n).pipe(s.xm_(t=>C(e)({reason:"layoutUnexpected",subject:"no package.json",cause:t}))),o=yield*s.SvU({try:()=>JSON.parse(a),catch:t=>C(e)({reason:"layoutUnexpected",subject:"unparseable package.json",cause:t})}),l=c.getOrUndefined(((e,t)=>{if("string"==typeof e)return c.some({[t]:e.replace(/^\.\//,"")});if("object"!=typeof e||null===e)return c.none();let r={};for(let[t,i]of Object.entries(e)){if("string"!=typeof i)return c.none();r[t]=i.replace(/^\.\//,"")}return 0===Object.keys(r).length?c.none():c.some(r)})(o.bin,e.name));if(void 0===l)return yield*s.fJG(C(e)({reason:"layoutUnexpected",subject:"package.json names no bin"}));for(let[t,n]of Object.entries(l)){let a=r.join(i,n),o=r.relative(i,a);if(".."===o||o.startsWith(`..${r.sep}`)||r.isAbsolute(o))return yield*s.fJG(C(e)({reason:"layoutUnexpected",subject:`bin ${t} (${n}) escapes the package directory`}));yield*E(e,a,`bin ${t} (${n}) is missing`)}return l}),B=(e,t)=>Object.fromEntries(Object.entries(e).map(([e,i])=>[e,r.join(t,i)])),P=(e,i,n,a,o)=>s.JkU(function*(){let l=r.join(i,ep),c=t=>r=>C(e)({reason:"cacheFailed",subject:t,cause:r});for(let[e,i]of(yield*t.makeDirectory(l,{recursive:!0}).pipe(s.xm_(c(l))),Object.entries(a))){let a=r.join(l,y(e));if(o.skipExisting){let e=yield*s.Ket(t.stat(a));if("Success"===e._tag&&"File"===e.success.type)continue}yield*t.writeFileString(a,A(r.join(n,i))).pipe(s.xm_(c(a))),p||(yield*t.chmod(a,493).pipe(s.xm_(c(a))))}});return{install:s.fn("PackageManagerInstaller.install")(function*(e,i){let n,o=e.version.toString();if(yield*s.ww9({name:e.name,version:o}),i?.requireIntegrity===!0&&void 0===e.integrity)return yield*s.fJG(C(e)({reason:"integrityMissing"}));let l=yield*a.find(e.name,o);if(c.isSome(l)){let t;return yield*(t=l.value,s.JkU(function*(){if("bun"===e.name){let i=r.join(t,h);return yield*E(e,i,`cached bun binary (${h}) is missing`),eu.make({name:e.name,version:e.version.toString(),directory:t,binDir:t,bins:{bun:i}})}let i=yield*v(e,t);return yield*P(e,t,t,i,{skipExisting:!0}),eu.make({name:e.name,version:e.version.toString(),directory:t,binDir:r.join(t,ep),bins:B(i,t)})}))}if("npm"===e.name&&i?.allowAmbient!==!1){let t=yield*w;if(c.isSome(t)&&t.value===o)return em.make({name:e.name,version:o,bins:{npm:"npm",npx:"npx"}})}if("bun"===e.name)return yield*s.JkU(function*(){let i,n,o=e.version.toString(),l=c.getOrUndefined((i="linux"===m.toLowerCase()?"linux":"macos"===m.toLowerCase()?"darwin":"windows"===m.toLowerCase()?"windows":void 0,n="x64"===u?"x64":"arm64"===u?"aarch64":void 0,void 0===i||void 0===n?c.none():c.some(`bun-${i}-${n}`)));if(void 0===l)return yield*s.fJG(C(e)({reason:"unsupportedPlatform",subject:`${m||"unknown"}/${u}`}));let d=`https://github.com/oven-sh/bun/releases/download/bun-v${o}/${l}.zip`,g=yield*a.download(d).pipe(s.xm_(S(e)));yield*I(e,g);let f=yield*a.extractZip(g).pipe(s.xm_(S(e))),y=r.join(f,l,h);yield*E(e,y,`${l}/${h} is missing from the zip`),p||(yield*t.chmod(y,493).pipe(s.xm_(t=>C(e)({reason:"cacheFailed",subject:y,cause:t}))));let A=yield*a.cacheFile(y,h,e.name,o).pipe(s.xm_(S(e)));return eu.make({name:e.name,version:o,directory:A,binDir:A,bins:{bun:r.join(A,h)}})});let d=(i?.registry??"https://registry.npmjs.org").replace(/\/+$/,"");return yield*(n=e.name,s.JkU(function*(){let i,o=e.version.toString(),l=(i=e.version.major,"yarn"===n&&i>=2?`${d}/@yarnpkg/cli-dist/-/cli-dist-${o}.tgz`:`${d}/${n}/-/${n}-${o}.tgz`),c=yield*a.download(l).pipe(s.xm_(S(e))),m="yarn"===n&&e.version.major>=2;m||(yield*I(e,c));let u=yield*a.extractTar(c).pipe(s.xm_(S(e))),p=r.join(u,"package"),h=yield*s.Ket(t.stat(p));if("Success"!==h._tag||"Directory"!==h.success.type)return yield*s.fJG(C(e)({reason:"layoutUnexpected",subject:"tarball has no package/ root"}));let g=yield*v(e,p);if(m){let t=r.join(p,"bin/yarn.js");yield*E(e,t,"bin/yarn.js is missing from the cli-dist tarball"),yield*I(e,t)}let f=x.cachePath({root:b,tool:n,version:o,arch:process.arch});yield*P(e,p,f,g,{skipExisting:!1});let y=yield*a.cacheDir(p,n,o).pipe(s.xm_(S(e)));return y!==f?yield*s.fJG(C(e)({reason:"cacheFailed",subject:`cache destination diverged: shims name ${f}, entry landed at ${y}`})):eu.make({name:n,version:o,directory:y,binDir:r.join(y,ep),bins:B(g,y)})}))})}});var eA=class e extends u.kl()("@effected/github-actions/PackageManagerInstaller"){static layer=p.QZ(this,ey);static makeTest=(e={})=>({install:()=>s.OH5(()=>(e=>{throw Error(`PackageManagerInstaller.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)})("install")),...e});static layerTest=(t={})=>p.Py(e,e.makeTest(t))};p.Um(i.l.layer,eA.layer).pipe(p.S5(x.layer));let eb=i.l.layer},6850(e,t,r){r.a(e,async function(e,i){try{var n=r(9581),a=r(7411),s=r(5227),o=r(457),l=r(702),c=r(6437),d=r(1885),m=r(6291),u=r(8072);let e=e=>l.JkU(function*(){if((0,m.Dn)(e))return void(yield*l.fH4("Cache was an exact hit — skipping save"));if(0===e.paths.length)return void(yield*l.fH4("No cache paths — skipping save"));let t=yield*n.l;yield*l.fH4(`Saving cache: key=${e.primaryKey}, paths (${e.paths.length})`),yield*t.save(e.paths,e.primaryKey).pipe(l.Mim(()=>l.fH4(`Cache saved: ${e.primaryKey}`)),l.MfU(t=>l.FFw(new u.x({reason:"save",message:`Failed to save cache with key ${e.primaryKey} (${t.reason}): ${t.message}`,cause:t}).message)))}),p=(t=a.EN.reap)=>l.JkU(function*(){let r=yield*s.q;yield*l.MDB("Running post-action script");let i=yield*r.getOptional(m.LU.turboServer,m.JU).pipe(l.MfU(e=>l.FFw(`Turbo cache server state could not be read (${e.reason}); nothing to reap`).pipe(l.as(c.none()))));yield*c.match(i,{onNone:()=>l.MDB("No embedded turbo cache server was started; nothing to reap"),onSome:e=>l.JkU(function*(){yield*l.MDB(`Stopping turbo cache server pid=${e.pid} (log: ${e.logFile})`);let r=yield*t(e.pid);yield*l.MDB(r?`Turbo cache server pid=${e.pid} signalled`:`Turbo cache server pid=${e.pid} had already exited`)}).pipe(l.MfU(t=>l.FFw(`Turbo cache server teardown failed for pid ${e.pid}: ${t instanceof Error?t.message:String(t)}`)),l.Fig(t=>l.FFw(`Turbo cache server teardown failed for pid ${e.pid}: ${t instanceof Error?t.message:String(t)}`)))});let n=yield*r.getOptional(m.LU.cache,m.iF);yield*c.match(n,{onNone:()=>l.MDB("No dependency cache state was saved by main; nothing to save"),onSome:e})}).pipe(l.MfU(e=>l.FFw(`Post-action warning: ${e instanceof Error?e.message:String(e)}`)),l.Fig(e=>l.FFw(`Post-action warning: ${e instanceof Error?e.message:String(e)}`))),h=p();process.env.GITHUB_ACTIONS&&await o.rc.run(h,{layer:d.$}),r.d(t,{$7:()=>d.$},{bE:h,hA:p}),i()}catch(e){i(e)}},1)},6291(e,t,r){var i=r(7411),n=r(7464),a=r(6437);class s extends n.Xsx("CacheState")({paths:n.O31(n.QfV),primaryKey:n.QfV,restoredKey:n.eQ3(n.QfV),lockfiles:n.O31(n.QfV)}){}class o extends n.Xsx("TurboServerState")({pid:i.xv,port:n.wNn,backend:n.xCb(["github","s3"]),logFile:n.QfV}){}r.d(t,{JU:()=>o,iF:()=>s},{Dn:e=>a.isSome(e.restoredKey)&&e.restoredKey.value===e.primaryKey,LU:{cache:"silk-runtime-cache",turboServer:"silk-runtime-turbo-server"}})},8072(e,t,r){r.d(t,{x:()=>n}),r(8161);var i=r(1160);r(6291),r(7598),r(6760);class n extends i.rN("CacheError"){}},2613(e){e.exports=t("assert")},4434(e){e.exports=t("events")},8611(e){e.exports=t("http")},5692(e){e.exports=t("https")},9278(e){e.exports=t("net")},1421(e){e.exports=t("node:child_process")},7598(e){e.exports=t("node:crypto")},3024(e){e.exports=t("node:fs")},8161(e){e.exports=t("node:os")},6760(e){e.exports=t("node:path")},7075(e){e.exports=t("node:stream")},3136(e){e.exports=t("node:url")},857(e){e.exports=t("os")},4756(e){e.exports=t("tls")},2018(e){e.exports=t("tty")},7016(e){e.exports=t("url")},9023(e){e.exports=t("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}},457(e,r,i){let n,a,s,o,l,c,d,m,u,p,h,g,f,y,A,b,x,N,C,S,I,w,E,v;i.d(r,{rc:()=>rS});var B,P,R=i(7139),O=i(9605),k=i(702),T=i(9920),M=i(8579),D=i(8275);function z(e){return{_tag:"Value",value:e}}let Q=O.Or("effect/ConfigProvider",{defaultValue:()=>j()}),_={...M.fU,toJSON:()=>({_id:"ConfigProvider"})},U=e=>e;function H(e,t){let r=Object.create(_);return r.state=e,r.load=t,r}function L(e){let t;return H(t={_tag:"Source",get:e,transform:U},e=>t.get(t.transform(e)))}let F=(0,T.XY)(2,(e,t)=>{let r;return H(r={_tag:"OrElse",first:e,second:t},e=>k.qIB(r.first.load(e),t=>t?k.PyW(t):r.second.load(e)))}),q=e=>k.yw5(e)?D.QZ(Q)(e):D.Py(Q)(e);function j(e){let t=e?.env??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},r=e?.preserveEmptyStrings===!0,i=function(e){let t={};for(let[r,i]of Object.entries(e)){if(void 0===i)continue;let e=r.split("_"),n=t;for(let t of e)n.children??={},n=n.children[t]??={}}return t}(t);return L(e=>k.PyW(function(e,t,r,i){var n;let a=(n=t[r.map(String).join("_")],""!==n||i?n:void 0),s=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),o=s?.children?Object.keys(s.children):[];return 0===o.length?void 0===a?void 0:z(a):o.every(e=>G.test(e))?{_tag:"Array",length:Math.max(...o.map(e=>parseInt(e,10)))+1,value:a}:{_tag:"Record",keys:new Set(o),value:a}}(i,t,e,r)))}let G=/^(0|[1-9][0-9]*)$/;var Y=i(6621),$=i(8826),J=i(606);let K=$.LkF;$.OPA;let X=J.OW(K),V=J.bi(K);var W=i(7464),Z=i(2933),ee=i(7439),et=i(2340),er=i(8376);i(5030);let ei="~effect/Config";class en{_tag="ConfigError";name="ConfigError";cause;constructor(e){this.cause=e}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}let ea={...Y.b({label:"Config",evaluate(e){return this.parse(e.getRef(Q))}}),[ei]:ei,toJSON:()=>({_id:"Config"})};function es(e){let t=Object.create(ea);return t.parse=(t,r=[])=>e(t,r),t}let eo=(0,T.XY)(2,(e,t)=>es((r,i)=>k.TjK(e.parse(r,i),t))),el=(0,T.XY)(2,(e,t)=>es((r,i)=>k.qIB(e.parse(r,i),t))),ec=k.D9k(function*(e,t){let r=yield*e.load(t);if(void 0!==r)switch(r._tag){case"Value":return r.value;case"Record":{if(void 0!==r.value)return r.value;let i={};for(let n of r.keys){let r=yield*ec(e,[...t,n]);void 0!==r&&(i[n]=r)}return i}case"Array":{if(void 0!==r.value)return r.value;let i=[];for(let n=0;n<r.length;n++)i.push((yield*ec(e,[...t,n])));return i}}}),ed=k.D9k(function*(e,t,r){switch(e._tag){case"Objects":{let i=yield*t.load(r);if(void 0===i&&r.length>0)return;let n={};for(let i of e.propertySignatures){let e=i.name;if("string"==typeof e){let a=yield*ed(i.type,t,[...r,e]);void 0!==a&&(n[e]=a)}}if(e.indexSignatures.length>0&&i&&"Record"===i._tag)for(let a of e.indexSignatures){let e=er.GX(a.parameter);for(let s of i.keys)if(!Object.hasOwn(n,s)&&e(s)){let e=yield*ed(a.type,t,[...r,s]);void 0!==e&&(n[s]=e)}}return n}case"Arrays":{let i=yield*t.load(r);if(void 0===i)return;if(i&&"Value"===i._tag||i&&"Array"===i._tag&&void 0!==i.value)return""===i.value?[]:i.value.split(",");let n=[],a=i&&"Array"===i._tag?i.length:e.elements.length;for(let i=0;i<a;i++){let a=e.elements[i]??e.rest[0];void 0!==a&&n.push((yield*ed(a,t,[...r,i])))}return n}case"Union":return yield*ec(t,r);case"Suspend":return yield*ed(e.thunk(),t,r);default:{let e=yield*t.load(r);if(void 0===e)return;if("Value"===e._tag||"Record"===e._tag&&void 0!==e.value||"Array"===e._tag&&void 0!==e.value)return e.value;return}}});function em(e,t){let r=W.lHk(e),i=er._R(r),n=ee.O3(r.ast),a="string"==typeof t?[t]:t??[];return es((e,t)=>{let r=[...t,...a];return ed(n,e,r).pipe(k.Ab9(e=>i(e).pipe(k.Z9x(e=>new Z.A(r.length>0?new et.gm(r,e):e)))),k.Z9x(e=>new en(e)))})}function eu(e){return em(W.QfV,e)}W.v8c;var ep=i(6437);let eh=e=>`INPUT_${e.replaceAll(" ","_").toUpperCase()}`,eg=(e,t)=>new en(new Z.A(new et.h6(ep.some(t),{message:e}))),ef=new Set(["true","True","TRUE"]),ey=new Set(["false","False","FALSE"]),eA=e=>{let t=e.indexOf("#");return(-1===t?e:e.slice(0,t)).trim()};var eb=class e{static variable=e=>eh(e);static string(e){return eu(eh(e))}static boolean(e){return eu(eh(e)).pipe(el(t=>{let r=t.trim();return ef.has(r)?k.PyW(!0):ey.has(r)?k.PyW(!1):k.fJG(eg(`Input "${e}" does not meet the YAML 1.2 core schema for booleans. Supported: true | True | TRUE | false | False | FALSE`,t))}))}static integer(e){var t;return t=eh(e),em(W.Aiz,t)}static redacted(e){var t;return t=eh(e),em(W.tmY(W.QfV),t)}static lines(e){return eu(eh(e)).pipe(eo(e=>e.split("\n").map(e=>e.trim()).filter(e=>""!==e)))}static list(e){return eu(eh(e)).pipe(el(t=>{let r=t.trim();if(""===r)return k.PyW([]);if(r.startsWith("["))try{let i=JSON.parse(r);if(Array.isArray(i)&&i.every(e=>"string"==typeof e))return k.PyW(i);return k.fJG(eg(`Input "${e}" is a JSON array but not an array of strings`,t))}catch{return k.fJG(eg(`Input "${e}" looks like JSON but could not be parsed`,t))}let i=r.split(/[\n,]/).map(e=>e.trim()).filter(e=>!e.startsWith("#")).map(e=>e.startsWith("- ")||e.startsWith("* ")?e.slice(2).trim():e).filter(e=>""!==e);return k.PyW(i)}))}static pairs(e){return eu(eh(e)).pipe(el(t=>{let r={};for(let i of t.split("\n")){let n=eA(i);if(""===n)continue;let a=n.indexOf("=");if(-1===a)return k.fJG(eg(`Input "${e}" has a line that is not \`key=value\`: "${n}"`,t));r[n.slice(0,a).trim()]=n.slice(a+1).trim()}return k.PyW(r)}))}static schema(e,t){return eu(eh(e)).pipe(el(r=>{let i;try{i=JSON.parse(r)}catch{return k.fJG(eg(`Input "${e}" is not valid JSON`,r))}return W._Re(t)(i).pipe(k.xm_(()=>eg(`Input "${e}" did not satisfy its schema`,i)))}))}static provider(e=process.env){let t=e=>void 0!==e&&""!==e,r=r=>{let i=e[r];if(t(i))return i;if(r.startsWith("INPUT_")){for(let[i,n]of Object.entries(e))if(!i.startsWith("INPUT_")&&eh(i)===r&&t(n))return n}};return L(e=>{let t=1===e.length&&"string"==typeof e[0]?e[0]:void 0,i=(void 0===t?void 0:r(eh(t)))??r(e.join("_").replaceAll(" ","_").toUpperCase());return k.PyW(void 0===i?void 0:z(i))})}static layer(t){return q(e.provider(t))}static providerOver(e){return F(L(t=>{let r=1===t.length?t[0]:void 0;return"string"==typeof r?e.load([eh(r)]):k.PyW(void 0)}),e)}static layerDefault=q(k.TjK(k._OA(),t=>e.providerOver(O.Y6(t,Q)??j())))},ex=i(4742),eN=i(8294),eC=i(3407),eS=i(8210),eI=i(3207),ew=i(7292);let eE=$.d$_;$.olX;let ev=$.RBg;$.Umn,ew.IB,$.qho,$.ekV;let eB=(e,t)=>D.QZ(eE,(0,M.R6)($.D9k(function*(r){let i=new Set(t?.mergeWithExisting===!0?r.getRef($.d$_):[]);for(let t of e)i.add((0,M.yw)(t)?yield*t:t);return i})));var eP=i(5536);let eR=e=>(Array.isArray(e)?e:[e]).map(e=>eN.ZK(e,0)).join(" "),eO=(e,t)=>{let r=e[t];return"string"==typeof r?r:void 0},ek=(e,t)=>{let r=e[t];if("number"==typeof r)return Number.isFinite(r)?r:void 0;if("string"==typeof r&&""!==r){let e=Number(r);return Number.isFinite(e)?e:void 0}},eT=(e,t,r)=>{let i=eR(t);if(X(e,"Warn")){let t,n,a,s,o,l,c=(t=eO(r,"title"),n=eO(r,"file"),a=ek(r,"startLine"),s=ek(r,"endLine"),o=ek(r,"startColumn"),l=ek(r,"endColumn"),{...void 0===t?{}:{title:t},...void 0===n?{}:{file:n},...void 0===a?{}:{startLine:a},...void 0===s?{}:{endLine:s},...void 0===o?{}:{startColumn:o},...void 0===l?{}:{endColumn:l}});return X(e,"Error")?ex.T.error(i,c):ex.T.warning(i,c)}return X(e,"Info")?i:ex.T.debug(i)},eM=O.Or("@effected/github-actions/ActiveBuffer",{defaultValue:()=>null}),eD=e=>k.DYE(()=>{if(0===e.entries.length)return k.rIH;let t=[`--- Buffered output for "${e.label}" ---`,...e.entries,`--- End buffered output for "${e.label}" ---`];return e.entries.length=0,k.jJl(t,e=>eC.Rm(e),{discard:!0})}),ez=k.JkU(function*(){let e=yield*R.gd,t=k.qIB(eM,e=>null===e?k.rIH:eD(e));return{group:(e,r)=>k.jGc(eC.Rm(ex.T.group(e)),()=>k.dGm(r,()=>t),()=>eC.Rm(ex.T.endGroup())),withBuffer:(t,r,i)=>k.JkU(function*(){let n=yield*eS.zQ;if((yield*e.isDebug)||V(n,"Debug"))return yield*r;let a={label:t,entries:[]},s=ev(e=>{if(X(e.logLevel,"Warn")){let t=e.fiber.getRef(eS.iL);e.fiber.getRef(eC.C7).log(eT(e.logLevel,e.message,t));return}a.entries.push(eR(e.message))});return yield*r.pipe(k.PfK(eS.zQ,"All"),k.PfK(eE,new Set([s])),k.PfK(eM,a),k.cfM(e=>eP.oJ(e)&&i?.onSuccess==="discard"?k.OH5(()=>{a.entries.length=0}):eD(a)))}),notice:(e,t={})=>eC.Rm(ex.T.notice(e,t)),annotated:(e,t)=>k.swY(t,{...void 0===e.title?{}:{title:e.title},...void 0===e.file?{}:{file:e.file},...void 0===e.startLine?{}:{startLine:e.startLine},...void 0===e.endLine?{}:{endLine:e.endLine},...void 0===e.startColumn?{}:{startColumn:e.startColumn},...void 0===e.endColumn?{}:{endColumn:e.endColumn}})}});var eQ=class e extends O.kl()("@effected/github-actions/ActionLogger"){static layer=D.QZ(this,ez);static logger=ev(e=>{let t=e.fiber.getRef(eS.iL);e.fiber.getRef(eC.C7).log(eT(e.logLevel,e.message,t))});static layerLogger=eB([e.logger]);static makeTest=(e={})=>({group:(e,t)=>t,withBuffer:(e,t)=>t,notice:()=>k.rIH,annotated:(e,t)=>t,...e});static layerTest=(t={})=>D.Py(e,e.makeTest(t));static layerSilent=D.Um(e.layerTest(),eB([]))},e_=i(7476),eU=i(5227),eH=i(1499),eL=i(9427),eF=i(1211),eq=i(8527),ej=i(1091),eG=i(1260),eY=i(1306),e$=i(9616),eJ=i(1421),eK=i(7075),eX=i(9077);let eV=(e,t)=>(r,[i])=>{let n="Unknown";switch(r.code){case"ENOENT":n="NotFound";break;case"EACCES":n="PermissionDenied";break;case"EEXIST":n="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":n="BadResource";break;case"EBUSY":n="Busy"}return eX.Oj({_tag:n,module:e,method:t,pathOrDescriptor:i,syscall:r.syscall,cause:r})};var eW=i(8149),eZ=i(893),e0=i(6627);let e1=e=>ej.Ef(eZ.Hb(e2(e),e=>[e])),e2=e=>eZ.Z1(t=>{let r=e.evaluate();return k.PyW(e3({...e,writable:r,pull:t}))}),e3=e=>e.pull.pipe(k.qIB(t=>{let r=0;return k.E2r(function i(n){for(;r<t.length;)if(!e.writable.write(t[r++],e.encoding))return void e.writable.once("drain",()=>i(n));n(k.rIH)})}),k.i4r({disableYield:!0}),k.KT6(k.E2r(t=>{let r=r=>t(k.fJG(e.onError(r)));return e.writable.once("error",r),k.OH5(()=>{e.writable.off("error",r)})})),!1!==e.endOnDone?e0.m8(t=>"closed"in e.writable&&e.writable.closed?eW.Vw(t):k.E2r(r=>{e.writable.once("finish",()=>r(eW.Vw(t))),e.writable.end()})):T.D_);var e6=i(8516),e5=i(7512);let e4="~effect/MutableRef",e8={[e4]:e4,...M.fU,toJSON(){return{_id:"MutableRef",current:(0,eN.aB)(this.current)}}};var e9=i(1746);let e7=e=>eG.EfB(te(e)),te=e=>eZ.Z1((t,r)=>tt({scope:r,readable:e.evaluate(),onError:e.onError??tr,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),tt=e=>{var t;let r,i=e.readable,n=e.closeOnDone??!0,a=e.exit??(t=void 0,(r=Object.create(e8)).current=t,r),s=e5.LZ(!1);function o(){s.openUnsafe()}function l(t){a.current=eP.fJ(e.onError(t)),s.openUnsafe()}function c(){a.current=eP.fJ(eW.RS()),s.openUnsafe()}i.on("readable",o),i.once("error",l),i.once("end",c);let d=k.DYE(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return a.current?a.current:i.readableEnded?k.fJG(eW.RS()):(s.closeUnsafe(),k.qIB(s.await,t));let n=eI.of(r);for(;null!==(r=e.readable.read(e.chunkSize));)n.push(r);return k.PyW(n)});return k.as(e9.U9(e.scope,k.OH5(()=>{i.off("readable",o),i.off("error",l),i.off("end",c),n&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()})),d)};eK.Readable;let tr=e=>new eW.Bk(e),ti=e=>e instanceof globalThis.Error?e:new globalThis.Error(String(e)),tn=(e,t,r)=>{let{commands:i}=to(r),n=i.reduce((e,t)=>{let r=`${t.command} ${t.args.join(" ")}`;return 0===e.length?r:`${e} | ${r}`},"");return eV("ChildProcess",e)(t,[n])},ta=k.JkU(function*(){let e=yield*eL.Q2,t=yield*eF.wA,r=k.D9k(function*(r){if(!eq.b0(r.cwd))return yield*e.access(r.cwd),t.resolve(r.cwd)}),i=e=>ej.qz(e)?"pipe":e,n=e=>{let t={stream:"pipe",encoding:"utf-8",endOnDone:!0};return eq.b0(e.stdin)?t:"string"==typeof e.stdin||eG.rLs(e.stdin)?{...t,stream:e.stdin}:{stream:e.stdin.stream,encoding:e.stdin.encoding??t.encoding,endOnDone:e.stdin.endOnDone??t.endOnDone}},a=(e,t)=>{let r=e[t];return eq.b0(r)?{stream:"pipe"}:"string"==typeof r||ej.qz(r)?{stream:r}:{stream:r.stream}},s=k.D9k(function*(e,t,r){if(0===r.length)return{getInputFd:()=>ej.Ze,getOutputFd:()=>eG.Iex};let i=new Map,n=new Map;for(let{config:a,fd:s}of r){let r=t.stdio[s];switch(a.type){case"input":{let t=ej.Ze;r&&"write"in r&&(t=e1({evaluate:()=>r,onError:t=>tn(`fromWritable(fd${s})`,ti(t),e)})),a.stream&&(yield*k.x6Z(eG.eFU(a.stream,t))),i.set(s,t);break}case"output":{let t=eG.Iex;if(r&&"read"in r){let i=new eK.PassThrough;r.on("error",e=>i.destroy(e)),r.pipe(i),t=e7({evaluate:()=>i,onError:t=>tn(`fromReadable(fd${s})`,ti(t),e)})}a.sink&&(t=eG.QCN(t,a.sink)),n.set(s,t)}}}return{getInputFd:e=>i.get(e)??ej.Ze,getOutputFd:e=>n.get(e)??eG.Iex}}),o=(e,t,r)=>"win32"===globalThis.process.platform?k.E2r(r=>{eJ.exec(`taskkill /pid ${t.pid} /T /F`,t=>{t?r(k.fJG(tn("kill",ti(t),e))):r(k.rIH)})}):k.SvU({try:()=>{globalThis.process.kill(-t.pid,r)},catch:t=>tn("kill",ti(t),e)}),l=(e,t,r)=>k.DYE(()=>{if(!t.kill(r)){let t=new globalThis.Error("Failed to kill child process");return k.fJG(tn("kill",t,e))}return k.rIH}),c=(e,t,r)=>i=>{let n=r?.killSignal??"SIGTERM";return eq.b0(r?.forceKillAfter)?i(t,e,n):k.mgX(i(t,e,n),{duration:r.forceKillAfter,orElse:()=>i(t,e,"SIGKILL")})},d=(e,t)=>{let r=t??"stdout";switch(r){case"stdout":return e.stdout;case"stderr":return e.stderr;case"all":return e.all;default:{let t=eY.FC(r);if(eq.EA(t))return e.getOutputFd(t);return e.stdout}}},m=k.D9k(function*(e){switch(e._tag){case"StandardCommand":{let t,d,m,u,p,h,g,f=n(e.options),y=a(e.options,"stdout"),A=a(e.options,"stderr"),b=(e=>{if(eq.b0(e.additionalFds))return[];let t=[];for(let[r,i]of Object.entries(e.additionalFds)){let e=eY.FC(r);eq.EA(e)&&t.push({fd:e,config:i})}return t.sort((e,t)=>e.fd-t.fd)})(e.options),x=!0,N=yield*r(e.options),C=(t=e.options).extendEnv?{...globalThis.process.env,...t.env}:t.env,S=((e,t,r,n)=>{let a,s=[(a=e.stream,eG.rLs(a)?"pipe":a),i(t.stream),i(r.stream)];if(0===n.length)return s;let o=n.reduce((e,{fd:t})=>Math.max(e,t),2);for(let e=3;e<=o;e++)s[e]="ignore";for(let{fd:e}of n)s[e]="pipe";return s})(f,y,A,b),[I,w]=yield*k.Q56((d={cwd:N,env:C,stdio:S,detached:e.options.detached??"win32"!==process.platform,shell:e.options.shell},k.E2r(t=>{let r=eH.LZ(),i=eJ.spawn(e.command,e.args,d);return i.on("error",r=>{t(k.fJG(tn("spawn",r,e)))}),i.on("exit",(...e)=>{eH.$w(r,eP.Py(e))}),i.on("spawn",()=>{t(k.PyW([i,r]))}),k.OH5(()=>{i.kill("SIGTERM")})})),k.D9k(function*([t,r]){let i=yield*eH.$L(r),n=c(t,e,e.options);if(i){let[e]=yield*eH.Tx(r);return 0!==e&&eq.Pe(e)?yield*k.XeO(n(o)):yield*k.rIH}return x?yield*n((e,t,i)=>o(e,t,i).pipe(k.MfU(()=>l(e,t,i)),k.hgn(eH.Tx(r)))).pipe(k.XeO):yield*k.rIH})),E=(0,e$.xv)(I.pid);I.on("exit",t=>{0!==t&&eq.Pe(t)&&((e,t)=>{if("win32"===globalThis.process.platform)return eJ.exec(`taskkill /pid ${e.pid} /T /F`,()=>{});try{globalThis.process.kill(-e.pid,t)}catch{}})(I,e.options.killSignal??"SIGTERM")});let v=k.OH5(()=>{x||(I.ref(),x=!0)}),B=k.OH5(()=>(x&&(I.unref(),x=!1),v)),P=yield*k.DYE(()=>{let t=ej.Ze;return(eq.Pe(I.stdin)&&(t=e1({evaluate:()=>I.stdin,onError:t=>tn("fromWritable(stdin)",ti(t),e),endOnDone:f.endOnDone,encoding:f.encoding})),eG.rLs(f.stream))?k.as(k.x6Z(eG.eFU(f.stream,t)),t):k.PyW(t)}),{all:R,stderr:O,stdout:T}=(u=I.stdout?(m=new eK.PassThrough,I.stdout.on("error",e=>m.destroy(e)),I.stdout.pipe(m),e7({evaluate:()=>m,onError:t=>tn("fromReadable(stdout)",ti(t),e)})):eG.Iex,h=I.stderr?(p=new eK.PassThrough,I.stderr.on("error",e=>p.destroy(e)),I.stderr.pipe(p),e7({evaluate:()=>p,onError:t=>tn("fromReadable(stderr)",ti(t),e)})):eG.Iex,ej.qz(y.stream)&&(u=eG.QCN(u,y.stream)),ej.qz(A.stream)&&(h=eG.QCN(h,A.stream)),g=eG.h1I(u,h),{stdout:u,stderr:h,all:g}),{getInputFd:M,getOutputFd:D}=yield*s(e,I,b),z=k.TjK(eH.$L(w),e=>!e),Q=k.qIB(eH.Tx(w),([t,r])=>{if(eq.Pe(t))return k.PyW((0,e$.yU)(t));let i=new globalThis.Error(`Process interrupted due to receipt of signal: '${r}'`);return k.fJG(tn("exitCode",i,e))});return(0,e$.hA)({pid:E,exitCode:Q,isRunning:z,kill:t=>c(I,e,t)((e,t,r)=>o(e,t,r).pipe(k.MfU(()=>l(e,t,r)),k.hgn(eH.Tx(w)))).pipe(k.NLW),stdin:P,stdout:T,stderr:O,all:R,getInputFd:M,getOutputFd:D,unref:B})}case"PipedCommand":{let{commands:t,pipeOptions:r}=to(e),[i,...a]=t,s=[(yield*m(i))];for(let e=0;e<a.length;e++){let t=a[e],i=r[e]??{},o=n(t.options),l=eG.oAg(k.PyW(d(s[s.length-1],i.from))),c=i.to??"stdin";if("stdin"===c)s.push((yield*m(eY.L8(t.command,t.args,{...t.options,stdin:{...o,stream:l}}))));else{let e=eY.FC(c);if(eq.EA(e)){let r=eY.YF(e),i=t.options.additionalFds??{};s.push((yield*m(eY.L8(t.command,t.args,{...t.options,additionalFds:{...i,[r]:{type:"input",stream:l}}}))))}else s.push((yield*m(eY.L8(t.command,t.args,{...t.options,stdin:{...o,stream:l}}))))}}let o=s[s.length-1],l=k.JkU(function*(){let e=[];for(let t of s)e.push((yield*t.unref));return k.jJl([...e].reverse(),e=>e,{discard:!0})});return(0,e$.hA)({pid:o.pid,exitCode:o.exitCode,isRunning:o.isRunning,kill:o.kill,stdin:o.stdin,stdout:o.stdout,stderr:o.stderr,all:o.all,getInputFd:o.getInputFd,getOutputFd:o.getOutputFd,unref:l})}}});return(0,e$.L8)(m)}),ts=D.QZ(e$.CV,ta),to=e=>{let t=[],r=[],i=e=>{switch(e._tag){case"StandardCommand":t.push(e);break;case"PipedCommand":i(e.left),r.push(e.options),i(e.right)}};if(i(e),0===t.length)throw Error("flattenCommand produced empty commands array");let[n,...a]=t;return{commands:[n,...a],pipeOptions:r}},tl="~effect/platform/Crypto",tc=O.kl("effect/Crypto"),td=e=>e.toString(16).padStart(2,"0"),tm=e=>[e.subarray(0,4),e.subarray(4,6),e.subarray(6,8),e.subarray(8,10),e.subarray(10,16)].map(e=>Array.from(e,td).join("")).join("-"),tu=0x1000000000000-1;var tp=i(7598);let th=(n=(B={randomBytes:tp.randomBytes,digest:(e,t)=>k.SvU({try:()=>Uint8Array.from(tp.createHash((e=>{switch(e){case"SHA-1":return"sha1";case"SHA-256":return"sha256";case"SHA-384":return"sha384";case"SHA-512":return"sha512"}})(e)).update(t).digest()),catch:e=>eX.Oj({module:"Crypto",method:"digest",_tag:"Unknown",description:"Could not compute digest",cause:e})})}).randomBytes,a=()=>{let e=n(7);return((31&e[0])*0x1000000000000+0x10000000000*e[1]+0x100000000*e[2]+0x1000000*e[3]+65536*e[4]+256*e[5]+e[6])/0x20000000000000},s=()=>Math.floor(a()*(Number.MAX_SAFE_INTEGER-Number.MIN_SAFE_INTEGER+1))+Number.MIN_SAFE_INTEGER,tc.of({[tl]:tl,randomBytes:e=>{let t,r;return k.TjK((t="randomBytes",Number.isSafeInteger(r=e)&&r>=0?k.PyW(r):k.fJG(eX.T8({module:"Crypto",method:t,description:"size must be a non-negative safe integer"}))),n)},nextDoubleUnsafe:a,nextIntUnsafe:s,digest:B.digest,random:k.OH5(()=>a()),randomBoolean:k.OH5(()=>a()>.5),randomInt:k.OH5(()=>s()),randomBetween:(e,t)=>k.OH5(()=>a()*(t-e)+e),randomIntBetween(e,t,r){let i=+(r?.halfOpen!==!0);return k.OH5(()=>{let r=Math.ceil(e),n=Math.floor(t);return Math.floor(a()*(n-r+i))+r})},randomShuffle:e=>k.OH5(()=>{let t=Array.from(e);for(let e=t.length-1;e>=1;e-=1){let r=Math.min(e,Math.floor(a()*(e+1))),i=t[e];t[e]=t[r],t[r]=i}return t}),randomUUIDv4:k.OH5(()=>{let e;return(e=n(16))[6]=15&e[6]|64,e[8]=63&e[8]|128,tm(e)}),randomUUIDv7:k.RKA(e=>{var t,r;let i;return k.PyW((t=e.currentTimeMillisUnsafe(),r=n(16),i=Math.min(Math.max(0,Math.trunc(t)),tu),r[0]=Math.floor(i/0x10000000000),r[1]=255&Math.floor(i/0x100000000),r[2]=255&Math.floor(i/0x1000000),r[3]=255&Math.floor(i/65536),r[4]=255&Math.floor(i/256),r[5]=255&i,r[6]=15&r[6]|112,r[8]=63&r[8]|128,tm(r)))})})),tg=D.Py(tc,th);var tf=i(9444),ty=i(3024),tA=i(8161),tb=i(6760),tx=i.t(tb,2);let tN=e=>t=>eX.T8({module:"FileSystem",method:e,description:t.message??String(t)}),tC=(o=(0,k._r7)(ty.access,eV("FileSystem","access"),tN("access")),(e,t)=>{let r=ty.constants.F_OK;return t?.readable&&(r|=ty.constants.R_OK),t?.writable&&(r|=ty.constants.W_OK),o(e,r)}),tS=(l=(0,k._r7)(ty.cp,eV("FileSystem","copy"),tN("copy")),(e,t,r)=>l(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),tI=(c=(0,k._r7)(ty.copyFile,eV("FileSystem","copyFile"),tN("copyFile")),(e,t)=>c(e,t)),tw=(d=(0,k._r7)(ty.chmod,eV("FileSystem","chmod"),tN("chmod")),(e,t)=>d(e,t)),tE=(m=(0,k._r7)(ty.chown,eV("FileSystem","chown"),tN("chown")),(e,t,r)=>m(e,t,r)),tv=(u=(0,k._r7)(ty.glob,eV("FileSystem","glob"),tN("glob")),(e,t)=>u(e,{cwd:t?.root,exclude:t?.exclude})),tB=(p=(0,k._r7)(ty.link,eV("FileSystem","link"),tN("link")),(e,t)=>p(e,t)),tP=(h=(0,k._r7)(ty.mkdir,eV("FileSystem","makeDirectory"),tN("makeDirectory")),(e,t)=>h(e,{recursive:t?.recursive??!1,mode:t?.mode})),tR=e=>{let t=(0,k._r7)(ty.mkdtemp,eV("FileSystem",e),tN(e));return e=>k.DYE(()=>{let r=e?.prefix??"",i="string"==typeof e?.directory?tb.join(e.directory,"."):tA.tmpdir();return t(r?tb.join(i,r):i+"/")})},tO=tR("makeTempDirectory"),tk=e=>{let t=(0,k._r7)(ty.rm,eV("FileSystem",e),tN(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},tT=tk("remove"),tM=(g=tR("makeTempDirectoryScoped"),f=tk("makeTempDirectoryScoped"),e=>k.Q56(g(e),e=>k.QgK(f(e,{recursive:!0})))),tD=(P="open",y=(0,k._r7)(ty.open,eV("FileSystem",P),tN(P)),A=(0,k._r7)(ty.close,eV("FileSystem",P),tN(P)),(e,t)=>(0,T.Fs)(k.Q56(y(e,t?.flag??"r",t?.mode),e=>k.QgK(A(e))),k.TjK(e=>tz(eL.Um(e),t?.flag?.startsWith("a")??!1)))),tz=(()=>{let e=e=>(0,k._r7)(ty.read,eV("FileSystem",e),tN(e)),t=e("read"),r=e("readAlloc"),i=(0,k._r7)(ty.fstat,eV("FileSystem","stat"),tN("stat")),n=(0,k._r7)(ty.ftruncate,eV("FileSystem","truncate"),tN("truncate")),a=(0,k._r7)(ty.fsync,eV("FileSystem","sync"),tN("sync")),s=e=>(0,k._r7)(ty.write,eV("FileSystem",e),tN(e)),o=s("write"),l=s("writeAll");class c{[eL.eL];fd;append;position=BigInt(0);constructor(e,t){this[eL.eL]=eL.eL,this.fd=e,this.append=t}get stat(){return k.TjK(i(this.fd),tG)}get sync(){return a(this.fd)}seek(e,t){let r=eL.or(e);return k.OH5(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return k.DYE(()=>{let r=this.position;return k.TjK(t(this.fd,{buffer:e,position:r}),e=>{let t=eL.or(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return k.DYE(()=>{let e=Buffer.allocUnsafeSlow(t),i=this.position;return k.TjK(r(this.fd,{buffer:e,position:i}),r=>{if(0===r)return ep.none();if(this.position=i+BigInt(r),r===t)return ep.some(e);let n=Buffer.allocUnsafeSlow(r);return e.copy(n,0,0,r),ep.some(n)})})}truncate(e){return k.TjK(n(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return k.DYE(()=>{let t=this.position;return k.TjK(o(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=eL.or(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return k.DYE(()=>{let t=this.position;return k.qIB(l(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?k.fJG(eX.Oj({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):k.rIH))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new c(e,t)})(),tQ=e=>{let t=tR(e);return k.D9k(function*(e){let r=yield*t(e),i=tp.randomBytes(6).toString("hex"),n=tb.join(r,e?.suffix?`${i}${e.suffix}`:i);return yield*tX(n,new Uint8Array(0)),n})},t_=tQ("makeTempFile"),tU=(b=tQ("makeTempFileScoped"),x=tk("makeTempFileScoped"),e=>k.Q56(b(e),e=>k.QgK(x(tb.dirname(e),{recursive:!0})))),tH=(e,t)=>k.$mh({try:()=>ty.promises.readdir(e,t),catch:t=>eV("FileSystem","readDirectory")(t,[e])}),tL=e=>k.E2r((t,r)=>{try{ty.readFile(e,{signal:r},(r,i)=>{r?t(k.fJG(eV("FileSystem","readFile")(r,[e]))):t(k.PyW(i))})}catch(e){t(k.fJG(tN("readFile")(e)))}}),tF=(N=(0,k._r7)(ty.readlink,eV("FileSystem","readLink"),tN("readLink")),e=>N(e)),tq=(C=(0,k._r7)(ty.realpath,eV("FileSystem","realPath"),tN("realPath")),e=>C(e)),tj=(S=(0,k._r7)(ty.rename,eV("FileSystem","rename"),tN("rename")),(e,t)=>S(e,t)),tG=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:ep.fromNullishOr(e.mtime),atime:ep.fromNullishOr(e.atime),birthtime:ep.fromNullishOr(e.birthtime),dev:e.dev,rdev:ep.fromNullishOr(e.rdev),ino:ep.fromNullishOr(e.ino),mode:e.mode,nlink:ep.fromNullishOr(e.nlink),uid:ep.fromNullishOr(e.uid),gid:ep.fromNullishOr(e.gid),size:eL.or(e.size),blksize:void 0!==e.blksize?ep.some(eL.or(e.blksize)):ep.none(),blocks:ep.fromNullishOr(e.blocks)}),tY=(I=(0,k._r7)(ty.stat,eV("FileSystem","stat"),tN("stat")),e=>k.TjK(I(e),tG)),t$=(w=(0,k._r7)(ty.symlink,eV("FileSystem","symlink"),tN("symlink")),(e,t)=>w(e,t)),tJ=(E=(0,k._r7)(ty.truncate,eV("FileSystem","truncate"),tN("truncate")),(e,t)=>E(e,void 0!==t?Number(t):void 0)),tK=(v=(0,k._r7)(ty.utimes,eV("FileSystem","utime"),tN("utime")),(e,t,r)=>v(e,t,r)),tX=(e,t,r)=>k.E2r((i,n)=>{try{ty.writeFile(e,t,{signal:n,flag:r?.flag,mode:r?.mode},t=>{t?i(k.fJG(eV("FileSystem","writeFile")(t,[e]))):i(k.rIH)})}catch(e){i(k.fJG(tN("writeFile")(e)))}}),tV=k.TjK(k.Nav(eL.kP),e=>eL.L8({access:tC,chmod:tw,chown:tE,copy:tS,copyFile:tI,glob:tv,link:tB,makeDirectory:tP,makeTempDirectory:tO,makeTempDirectoryScoped:tM,makeTempFile:t_,makeTempFileScoped:tU,open:tD,readDirectory:tH,readFile:tL,readLink:tF,realPath:tq,remove:tT,rename:tj,stat:tY,symlink:t$,truncate:tJ,utimes:tK,watch:t=>tY(t).pipe(k.TjK(r=>e.pipe(ep.flatMap(e=>e.register(t,r)),ep.getOrElse(()=>eG.E2r(e=>k.Q56(k.OH5(()=>{let r=ty.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void k.MY7(k.tvg(tY(r),{onSuccess:t=>tf.x(e,{_tag:"Create",path:r}),onFailure:t=>tf.x(e,{_tag:"Remove",path:r})}));case"change":return void tf.bQ(e,{_tag:"Update",path:r})}});return r.on("error",r=>{tf._1(e,eW.fJ(eX.Oj({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{tf.kx(e)}),r}),e=>k.OH5(()=>e.close())))))),eG.oAg),writeFile:tX})),tW=D.QZ(eL.Q2)(tV);var tZ=i(3136);let t0=e=>k.SvU({try:()=>tZ.fileURLToPath(e),catch:e=>new eX.dB({module:"Path",method:"fromFileUrl",cause:e})}),t1=e=>k.SvU({try:()=>tZ.pathToFileURL(e),catch:e=>new eX.dB({module:"Path",method:"toFileUrl",cause:e})});eF.ii,eF.ii,tb.posix,eF.ii,eF.ii,tb.win32;let t2=D.Py(eF.wA)({[eF.ii]:eF.ii,...tx,fromFileUrl:t0,toFileUrl:t1}),t3="~effect/Stdio",t6=O.kl(t3),t5=D.Py(t6,{[t3]:t3,...{args:k.OH5(()=>process.argv.slice(2)),stdout:e=>e1({evaluate:()=>process.stdout,onError:e=>(0,eX.Oj)({module:"Stdio",method:"stdout",_tag:"Unknown",cause:e}),endOnDone:e?.endOnDone??!1}),stderr:e=>e1({evaluate:()=>process.stderr,onError:e=>(0,eX.Oj)({module:"Stdio",method:"stderr",_tag:"Unknown",cause:e}),endOnDone:e?.endOnDone??!1}),stdin:e7({evaluate:()=>process.stdin,onError:e=>(0,eX.Oj)({module:"Stdio",method:"stdin",_tag:"Unknown",cause:e}),closeOnDone:!1})}});var t4=i(6292),t8=i(2544);class t9{waiters=new Set;taken=0;permits;constructor(e){this.permits=e}get free(){return this.permits-this.taken}take(e){let t=$.DYE(()=>this.free<e?$.E2r(r=>{if(this.free>=e)return r(t);let i=()=>{this.free<e||(this.waiters.delete(i),r(t))};return this.waiters.add(i),$.OH5(()=>{this.waiters.delete(i)})}):(this.taken+=e,$.PyW(e)));return t}updateTakenUnsafe(e,t){return this.taken=t(this.taken),this.waiters.size>0&&e.currentDispatcher.scheduleTask(()=>{let e=this.waiters.values(),t=e.next();for(;!1===t.done&&this.free>0;)t.value(),t=e.next()},0),this.free}updateTaken(e){return M.R6(t=>$.PyW(this.updateTakenUnsafe(t,e)))}resize(e){return M.R6(t=>(this.permits=e,this.free<0||this.updateTakenUnsafe(t,e=>e),$.rIH))}release(e){return this.updateTaken(t=>t-e)}get releaseAll(){return this.updateTaken(e=>0)}withPermits(e){return t=>$.FcF(r=>$.qIB(r(this.take(e)),e=>$.r7h(r(t),()=>{this.updateTakenUnsafe($.Iku(),t=>t-e)},!0)))}withPermit=this.withPermits(1);withPermitsIfAvailable(e){return t=>$.FcF(r=>this.free<e?$.lwU:(this.taken+=e,$.r7h(r($.Xx$(t)),()=>{this.updateTakenUnsafe($.Iku(),t=>t-e)},!0)))}}let t7={_tag:"Empty"},re={_tag:"Closed"},rt={_A:T.D_,_E:T.D_};class rr{"~effect/RcRef"=rt;pipe(){return(0,t8.tT)(this,arguments)}state=t7;semaphore=new t9(1);acquire;context;scope;idleTimeToLive;constructor(e,t,r,i){this.acquire=e,this.context=t,this.scope=r,this.idleTimeToLive=i}}let ri=k.D9k(function*(e){let t=yield*k.FcF(t=>{switch(e.state._tag){case"Closed":return k.GaK;case"Acquired":return e.state.refCount++,e.state.fiber?k.as(e6.G(e.state.fiber),e.state):k.PyW(e.state);case"Empty":{let r=e9.LZ();return e.semaphore.withPermits(1)(t(k.PpN(e.acquire,O.WQ(e.context,e9.HG,r))).pipe(k.TjK(t=>{let i={_tag:"Acquired",value:t,scope:r,fiber:void 0,refCount:1,invalidated:!1};return e.state=i,i})))}}}),r=yield*k.z8E,i=void 0!==e.idleTimeToLive&&t4.MI(e.idleTimeToLive);return yield*e9.a6(r,()=>(t.refCount--,t.refCount>0)?k.rIH:void 0===e.idleTimeToLive?(e.state=t7,e9.VN(t.scope,eP.rI)):t.invalidated?e9.VN(t.scope,eP.rI):i?(t.fiber=k.yy4(e.idleTimeToLive).pipe(k.qIB(()=>"Acquired"===e.state._tag&&0===e.state.refCount?(e.state=t7,e9.VN(t.scope,eP.rI)):k.rIH),k.yeE(k.OH5(()=>{t.fiber=void 0})),k.eJC(e.context),e6.VO(e.scope)),k.rIH):k.rIH),t.value}),rn="~effect/platform/Terminal",ra=O.kl("effect/platform/Terminal"),rs=t("node:readline"),ro=k.D9k(function*(e=rc){let t,r,i=process.stdin,n=process.stdout,a=yield*(t={acquire:k.Q56(k.OH5(()=>{let e=rs.createInterface({input:i,escapeCodeTimeout:50});return rs.emitKeypressEvents(i,e),i.isTTY&&i.setRawMode(!0),e}),e=>k.OH5(()=>{i.isTTY&&i.setRawMode(!1),e.close()}))},k.R6R(e=>{let r=e.context,i=O.Jt(r,e9.HG),n=new rr(t.acquire,r,i,t.idleTimeToLive?t4.bN(t.idleTimeToLive):void 0);return k.as(e9.a6(i,()=>{let e="Acquired"===n.state._tag?e9.VN(n.state.scope,eP.rI):k.rIH;return n.state=re,e}),n)})),s=k.OH5(()=>n.columns??0),o=k.OH5(()=>n.rows??0),l=k.JkU(function*(){yield*ri(a);let t=yield*tf.L8(),r=(r,i)=>{let n={input:ep.fromUndefinedOr(r),key:{name:i.name??"",ctrl:!!i.ctrl,meta:!!i.meta,shift:!!i.shift}};tf.bQ(t,n),e(n)&&tf.kx(t)};return yield*k.U9h(()=>k.OH5(()=>i.off("keypress",r))),i.on("keypress",r),t});return r={columns:s,rows:o,readInput:l,readLine:k.P1j(k.qIB(ri(a),e=>k.E2r(t=>{let r=e=>t(k.PyW(e));return e.once("line",r),k.OH5(()=>e.off("line",r))}))),display:e=>k.rfi(k.E2r(t=>{n.write(e,e=>eq.uy(e)?t(k.rIH):t(k.fJG((0,eX.T8)({module:"Terminal",method:"display",description:"Failed to write prompt to stdout",cause:e}))))}))},ra.of({...r,[rn]:rn})}),rl=D.QZ(ra,ro(rc));function rc(e){return e.key.ctrl&&("c"===e.key.name||"d"===e.key.name)}let rd=D.S5(ts,D.Um(tW,tg,t2,t5,rl));var rm=i(2917),ru=i(9002),rp=i(3818),rh=i(855),rg=i(4290);let rf=O.Or("effect/http/FetchHttpClient/Fetch",{defaultValue:()=>globalThis.fetch});class ry extends O.kl()("effect/http/FetchHttpClient/RequestInit"){}let rA=rp.L8((e,t,r,i)=>{let n=i.getRef(rf),a=i.context.mapUnsafe.get(ry.key)??{},s=a.headers?ru.h1(ru.lX(a.headers),e.headers):e.headers;s["content-length"]&&(s=ru.TF(s,"content-length"));let o=i=>k.TjK(k.$mh({try:()=>n(t,{...a,method:e.method,headers:s,body:i,duplex:"Stream"===e.body._tag?"half":void 0,signal:r}),catch:t=>new rh.Kg({reason:new rh.wX({request:e,cause:t})})}),t=>rg.tO(e,t));switch(e.body._tag){case"Raw":case"Uint8Array":return o(e.body.body);case"FormData":return o(e.body.formData);case"Stream":return k.qIB(eG.tiA(e.body.stream),o)}return o(void 0)}),rb=rp.$T(k.PyW(rA));var rx=class{static layer=D.Um(eQ.layer,eQ.layerLogger,eU.q.layer,eb.layerDefault).pipe(D.S5(e_.X.layer),D.S5(R.gd.layer),D.S5(D.Um(rd,rb)))};let rN=e=>{let t=eW.L$(e);if(ep.isSome(t))return rC(t.value);let r=eW.Bb(e);if(rm.oJ(r))return`[defect] ${rC(r.success)}`;let i=eW.j9(e);return""===i.trim()?"the action failed with no diagnostic information":i},rC=e=>{if("object"==typeof e&&null!==e&&"_tag"in e){let t="string"==typeof e.message&&""!==e.message?`: ${e.message}`:"";return`[${String(e._tag)}]${t}`}return e instanceof Error?`[${e.name}]: ${e.message}`:`[unknown]: ${String(e)}`};var rS=class{static describeCause=rN;static run=(e,t={})=>{let r=t.layer,i=void 0===r?rx.layer:D.Um(rx.layer,D.Gt(r,rx.layer)),n=e.pipe(k.Gte(i),k.NS5,k.qIB(e=>eP.oJ(e)?k.rIH:k.OH5(()=>{let t=eW.j9(e.cause);""!==t.trim()&&console.log(ex.T.render("debug",{},t)),console.log(ex.T.render("error",{},`Action failed: ${rN(e.cause)}`)),process.exitCode=1})));return k.pR5(n).catch(()=>{process.exitCode=1})}}},9581(e,r,i){let n,a,s,o,l,c,d;i.d(r,{l:()=>pY});var m,u,p,h,g,f,y,A,b,x,N,C,S,I,w,E,v,B,P,R,O,k,T,M,D,z,Q,_,U,H,L,F,q={};i.r(q),i.d(q,{AccessPolicy:()=>aW,AppendBlobAppendBlockExceptionHeaders:()=>li,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>la,AppendBlobAppendBlockFromUrlHeaders:()=>ln,AppendBlobAppendBlockHeaders:()=>lr,AppendBlobCreateExceptionHeaders:()=>lt,AppendBlobCreateHeaders:()=>le,AppendBlobSealExceptionHeaders:()=>lo,AppendBlobSealHeaders:()=>ls,ArrowConfiguration:()=>sl,ArrowField:()=>sc,BlobAbortCopyFromURLExceptionHeaders:()=>oD,BlobAbortCopyFromURLHeaders:()=>oM,BlobAcquireLeaseExceptionHeaders:()=>ob,BlobAcquireLeaseHeaders:()=>oA,BlobBreakLeaseExceptionHeaders:()=>ov,BlobBreakLeaseHeaders:()=>oE,BlobChangeLeaseExceptionHeaders:()=>ow,BlobChangeLeaseHeaders:()=>oI,BlobCopyFromURLExceptionHeaders:()=>oT,BlobCopyFromURLHeaders:()=>ok,BlobCreateSnapshotExceptionHeaders:()=>oP,BlobCreateSnapshotHeaders:()=>oB,BlobDeleteExceptionHeaders:()=>oi,BlobDeleteHeaders:()=>or,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>op,BlobDeleteImmutabilityPolicyHeaders:()=>ou,BlobDownloadExceptionHeaders:()=>s7,BlobDownloadHeaders:()=>s9,BlobFlatListSegment:()=>a0,BlobGetAccountInfoExceptionHeaders:()=>oU,BlobGetAccountInfoHeaders:()=>o_,BlobGetPropertiesExceptionHeaders:()=>ot,BlobGetPropertiesHeaders:()=>oe,BlobGetTagsExceptionHeaders:()=>oq,BlobGetTagsHeaders:()=>oF,BlobHierarchyListSegment:()=>a5,BlobItemInternal:()=>a1,BlobName:()=>a2,BlobPrefix:()=>a4,BlobPropertiesInternal:()=>a3,BlobQueryExceptionHeaders:()=>oL,BlobQueryHeaders:()=>oH,BlobReleaseLeaseExceptionHeaders:()=>oN,BlobReleaseLeaseHeaders:()=>ox,BlobRenewLeaseExceptionHeaders:()=>oS,BlobRenewLeaseHeaders:()=>oC,BlobServiceProperties:()=>aT,BlobServiceStatistics:()=>aH,BlobSetExpiryExceptionHeaders:()=>oo,BlobSetExpiryHeaders:()=>os,BlobSetHttpHeadersExceptionHeaders:()=>oc,BlobSetHttpHeadersHeaders:()=>ol,BlobSetImmutabilityPolicyExceptionHeaders:()=>om,BlobSetImmutabilityPolicyHeaders:()=>od,BlobSetLegalHoldExceptionHeaders:()=>og,BlobSetLegalHoldHeaders:()=>oh,BlobSetMetadataExceptionHeaders:()=>oy,BlobSetMetadataHeaders:()=>of,BlobSetTagsExceptionHeaders:()=>oG,BlobSetTagsHeaders:()=>oj,BlobSetTierExceptionHeaders:()=>oQ,BlobSetTierHeaders:()=>oz,BlobStartCopyFromURLExceptionHeaders:()=>oO,BlobStartCopyFromURLHeaders:()=>oR,BlobTag:()=>aX,BlobTags:()=>aK,BlobUndeleteExceptionHeaders:()=>oa,BlobUndeleteHeaders:()=>on,Block:()=>a7,BlockBlobCommitBlockListExceptionHeaders:()=>ly,BlockBlobCommitBlockListHeaders:()=>lf,BlockBlobGetBlockListExceptionHeaders:()=>lb,BlockBlobGetBlockListHeaders:()=>lA,BlockBlobPutBlobFromUrlExceptionHeaders:()=>lm,BlockBlobPutBlobFromUrlHeaders:()=>ld,BlockBlobStageBlockExceptionHeaders:()=>lp,BlockBlobStageBlockFromURLExceptionHeaders:()=>lg,BlockBlobStageBlockFromURLHeaders:()=>lh,BlockBlobStageBlockHeaders:()=>lu,BlockBlobUploadExceptionHeaders:()=>lc,BlockBlobUploadHeaders:()=>ll,BlockList:()=>a9,BlockLookupList:()=>a8,ClearRange:()=>sr,ContainerAcquireLeaseExceptionHeaders:()=>s$,ContainerAcquireLeaseHeaders:()=>sY,ContainerBreakLeaseExceptionHeaders:()=>sZ,ContainerBreakLeaseHeaders:()=>sW,ContainerChangeLeaseExceptionHeaders:()=>s1,ContainerChangeLeaseHeaders:()=>s0,ContainerCreateExceptionHeaders:()=>sv,ContainerCreateHeaders:()=>sE,ContainerDeleteExceptionHeaders:()=>sO,ContainerDeleteHeaders:()=>sR,ContainerFilterBlobsExceptionHeaders:()=>sG,ContainerFilterBlobsHeaders:()=>sj,ContainerGetAccessPolicyExceptionHeaders:()=>sD,ContainerGetAccessPolicyHeaders:()=>sM,ContainerGetAccountInfoExceptionHeaders:()=>s8,ContainerGetAccountInfoHeaders:()=>s4,ContainerGetPropertiesExceptionHeaders:()=>sP,ContainerGetPropertiesHeaders:()=>sB,ContainerItem:()=>aq,ContainerListBlobFlatSegmentExceptionHeaders:()=>s3,ContainerListBlobFlatSegmentHeaders:()=>s2,ContainerListBlobHierarchySegmentExceptionHeaders:()=>s5,ContainerListBlobHierarchySegmentHeaders:()=>s6,ContainerProperties:()=>aj,ContainerReleaseLeaseExceptionHeaders:()=>sK,ContainerReleaseLeaseHeaders:()=>sJ,ContainerRenameExceptionHeaders:()=>sL,ContainerRenameHeaders:()=>sH,ContainerRenewLeaseExceptionHeaders:()=>sV,ContainerRenewLeaseHeaders:()=>sX,ContainerRestoreExceptionHeaders:()=>sU,ContainerRestoreHeaders:()=>s_,ContainerSetAccessPolicyExceptionHeaders:()=>sQ,ContainerSetAccessPolicyHeaders:()=>sz,ContainerSetMetadataExceptionHeaders:()=>sT,ContainerSetMetadataHeaders:()=>sk,ContainerSubmitBatchExceptionHeaders:()=>sq,ContainerSubmitBatchHeaders:()=>sF,CorsRule:()=>aQ,DelimitedTextConfiguration:()=>ss,FilterBlobItem:()=>aJ,FilterBlobSegment:()=>a$,GeoReplication:()=>aL,JsonTextConfiguration:()=>so,KeyInfo:()=>aG,ListBlobsFlatSegmentResponse:()=>aZ,ListBlobsHierarchySegmentResponse:()=>a6,ListContainersSegmentResponse:()=>aF,Logging:()=>aM,Metrics:()=>az,PageBlobClearPagesExceptionHeaders:()=>oV,PageBlobClearPagesHeaders:()=>oX,PageBlobCopyIncrementalExceptionHeaders:()=>o7,PageBlobCopyIncrementalHeaders:()=>o9,PageBlobCreateExceptionHeaders:()=>o$,PageBlobCreateHeaders:()=>oY,PageBlobGetPageRangesDiffExceptionHeaders:()=>o3,PageBlobGetPageRangesDiffHeaders:()=>o2,PageBlobGetPageRangesExceptionHeaders:()=>o1,PageBlobGetPageRangesHeaders:()=>o0,PageBlobResizeExceptionHeaders:()=>o5,PageBlobResizeHeaders:()=>o6,PageBlobUpdateSequenceNumberExceptionHeaders:()=>o8,PageBlobUpdateSequenceNumberHeaders:()=>o4,PageBlobUploadPagesExceptionHeaders:()=>oK,PageBlobUploadPagesFromURLExceptionHeaders:()=>oZ,PageBlobUploadPagesFromURLHeaders:()=>oW,PageBlobUploadPagesHeaders:()=>oJ,PageList:()=>se,PageRange:()=>st,QueryFormat:()=>sa,QueryRequest:()=>si,QuerySerialization:()=>sn,RetentionPolicy:()=>aD,ServiceFilterBlobsExceptionHeaders:()=>sw,ServiceFilterBlobsHeaders:()=>sI,ServiceGetAccountInfoExceptionHeaders:()=>sN,ServiceGetAccountInfoHeaders:()=>sx,ServiceGetPropertiesExceptionHeaders:()=>sp,ServiceGetPropertiesHeaders:()=>su,ServiceGetStatisticsExceptionHeaders:()=>sg,ServiceGetStatisticsHeaders:()=>sh,ServiceGetUserDelegationKeyExceptionHeaders:()=>sb,ServiceGetUserDelegationKeyHeaders:()=>sA,ServiceListContainersSegmentExceptionHeaders:()=>sy,ServiceListContainersSegmentHeaders:()=>sf,ServiceSetPropertiesExceptionHeaders:()=>sm,ServiceSetPropertiesHeaders:()=>sd,ServiceSubmitBatchExceptionHeaders:()=>sS,ServiceSubmitBatchHeaders:()=>sC,SignedIdentifier:()=>aV,StaticWebsite:()=>a_,StorageError:()=>aU,UserDelegationKey:()=>aY});var j=i(7139),G=i(7464),Y=class extends G.X0d()("BlobTransferError",{reason:G.xCb(["uploadFailed","downloadFailed"]),cause:G.Qrq(G.kld())}){get message(){return"uploadFailed"===this.reason?"Could not upload to the signed blob url":"Could not download from the signed blob url"}},$=i(2917),J=i(702),K=i(6437),X=i(1036);let V="ACTIONS_RESULTS_URL",W="ACTIONS_RUNTIME_TOKEN";var Z=i(9981),ee=i(9858);let et=Symbol.for("@effected/github-actions/twirp/conflict"),er=e=>"transport"===e.kind||"malformed"!==e.kind&&void 0!==e.status&&(e.status>=500||408===e.status||429===e.status),ei=(e,t)=>{if("object"!=typeof e||null===e)return;let r=t.replaceAll(/[A-Z]/g,e=>`_${e.toLowerCase()}`);return e[t]??e[r]},en=(e,t)=>{let r=ei(e,t);return"string"==typeof r&&""!==r?r:void 0},ea=e=>!0===ei(e,"ok");var es=i(9427),eo=i(1211),el=i(1260),ec=i(9605),ed=i(8275),em=i(3818),eu=i(7598);class ep extends Error{constructor(e){super(e),this.name="AbortError"}}var eh=i(8161);let eg=t("node:util"),ef=t("node:process");"string"==typeof ef.versions.deno&&ef.versions.deno.length,"string"==typeof ef.versions.bun&&ef.versions.bun.length;let ey=ef.env.DEBUG,eA=[],eb=[],ex=[];ey&&eC(ey);let eN=Object.assign(e=>ew(e),{enable:eC,enabled:eS,disable:function(){let e=n||"";return eC(""),e},log:function(e,...t){ef.stderr.write(`${eg.format(e,...t)}${eh.EOL}`)}});function eC(e){for(let t of(n=e,eA=[],eb=[],e.split(",").map(e=>e.trim())))t.startsWith("-")?eb.push(t.substring(1)):eA.push(t);for(let e of ex)e.enabled=eS(e.namespace)}function eS(e){if(e.endsWith("*"))return!0;for(let t of eb)if(eI(e,t))return!1;for(let t of eA)if(eI(e,t))return!0;return!1}function eI(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,n=0,a=r.length,s=e.length,o=-1,l=-1;for(;i<s&&n<a;)if("*"===r[n]){if(o=n,++n===a)return!0;for(;e[i]!==r[n];)if(++i===s)return!1;l=i,i++,n++;continue}else if(r[n]===e[i])n++,i++;else{if(!(o>=0)||(n=o+1,(i=l+1)===s))return!1;for(;e[i]!==r[n];)if(++i===s)return!1;l=i,i++,n++;continue}let c=i===e.length,d=n===r.length,m=n===r.length-1&&"*"===r[n];return c&&(d||m)}function ew(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:eS(e),destroy:eE,log:eN.log,namespace:e,extend:ev});return ex.push(t),t}function eE(){let e=ex.indexOf(this);return e>=0&&(ex.splice(e,1),!0)}function ev(e){let t=ew(`${this.namespace}:${e}`);return t.log=this.log,t}let eB=["verbose","info","warning","error"],eP={verbose:400,info:300,warning:200,error:100};function eR(e,t){t.log=(...t)=>{e.log(...t)}}function eO(e){return eB.includes(e)}function ek(e){var t;let r,i=new Set,n=(t=e.logLevelEnvVarName,ef.env[t]),a=eN(e.namespace);function s(e){if(e&&!eO(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${eB.join(",")}`);r=e;let t=[];for(let e of i)o(e)&&t.push(e.namespace);eN.enable(t.join(","))}function o(e){return!!(r&&eP[e.level]<=eP[r])}function l(e,t){let r=Object.assign(e.extend(t),{level:t});if(eR(e,r),o(r)){let e=eN.disable();eN.enable(e+","+r.namespace)}return i.add(r),r}return a.log=(...e)=>{eN.log(...e)},n&&(eO(n)?s(n):console.error(`${e.logLevelEnvVarName} set to unknown log level '${n}'; logging is not enabled. Acceptable values: ${eB.join(", ")}.`)),{setLogLevel:s,getLogLevel:function(){return r},createClientLogger:function(e){let t=a.extend(e);return eR(a,t),{error:l(t,"error"),warning:l(t,"warning"),info:l(t,"info"),verbose:l(t,"verbose")}},logger:a}}let eT=ek({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function eM(e){return eT.createClientLogger(e)}function eD(e){return e.toLowerCase()}eT.logger;class ez{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(eD(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(eD(e))?.value}has(e){return this._headersMap.has(eD(e))}delete(e){this._headersMap.delete(eD(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function eQ(e){return new ez(e)}function e_(){return globalThis.crypto.randomUUID()}class eU{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??eQ(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||e_(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let eH=new Set(["Deserialize","Serialize","Retry","Sign"]);class eL{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!eH.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!eH.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new eL(this._policies)}static create(){return new eL}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),n=r("None"),a=r("Deserialize"),s=r("Retry"),o=r("Sign"),l=[i,n,a,s,o];function c(e){return"Retry"===e?s:"Serialize"===e?i:"Deserialize"===e?a:"Sign"===e?o:n}for(let e of this._policies){let r=e.policy,i=e.options,n=r.name;if(t.has(n))throw Error("Duplicate policy names not allowed in pipeline");let a={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(a.afterPhase=c(i.afterPhase),a.afterPhase.hasAfterPolicies=!0),t.set(n,a),c(i.phase).policies.add(a)}for(let e of this._policies){let{policy:r,options:i}=e,n=r.name,a=t.get(n);if(!a)throw Error(`Missing node for policy ${n}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(a.dependsOn.add(r),r.dependants.add(a))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(a),a.dependants.add(r))}}function d(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let m=0;for(;t.size>0;){m++;let t=e.length;if(!function(){for(let e of l){if(d(e),e.policies.size>0&&e!==n){n.hasRun||d(n);return}e.hasAfterPolicies&&d(n)}}(),e.length<=t&&m>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function eF(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function eq(e){if(eF(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let ej=eg.inspect.custom,eG="REDACTED",eY=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],e$=["api-version"];class eJ{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=eY.concat(e),t=e$.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&eF(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&eF(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||eF(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,eG);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=eG;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=eG;return t}}let eK=new eJ;class eX extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,ej,{value:()=>`RestError: ${this.message} + ${eK.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,eX.prototype)}}function eV(e){return e instanceof eX||eq(e)&&"RestError"===e.name}let eW=t("node:http"),eZ=t("node:https"),e0=t("node:zlib");var e1=i(7075);let e2=eM("ts-http-runtime"),e3={};function e6(e){return e&&"function"==typeof e.pipe}function e5(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function e4(e){return e&&"number"==typeof e.byteLength}class e8 extends e1.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class e9{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,n=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new ep("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&n.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new eJ;e2.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),n.abort()},e.timeout));let a=e.headers.get("Accept-Encoding"),s=a?.includes("gzip")||a?.includes("deflate"),o="function"==typeof e.body?e.body():e.body;if(o&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(e6(e))return null;if(e4(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(o);null!==t&&e.headers.set("Content-Length",t)}try{var l;if(o&&e.onUploadProgress){let t=e.onUploadProgress,r=new e8(t);r.on("error",e=>{e2.error("Error in upload progress",e)}),e6(o)?o.pipe(r):r.end(o),o=r}let t=await this.makeRequest(e,n,o);void 0!==r&&clearTimeout(r);let a=function(e){let t=eQ();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),c={status:t.statusCode??0,headers:a,request:e};if("HEAD"===e.method)return t.resume(),c;i=s?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=e0.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=e0.createInflate();return e.pipe(t),t}return e}(t,a):t;let d=e.onDownloadProgress;if(d){let e=new e8(d);e.on("error",e=>{e2.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(c.status)?c.readableStreamBody=i:c.bodyAsText=await (l=i,new Promise((e,t)=>{let r=[];l.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),l.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),l.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new eX(`Error reading response as text: ${e.message}`,{code:eX.PARSE_ERROR}))})})),c}finally{if(e.abortSignal&&t){let r=Promise.resolve();e6(o)&&(r=e5(o));let n=Promise.resolve();e6(i)&&(n=e5(i)),Promise.all([r,n]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{e2.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),n="https:"!==i.protocol;if(n&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let a={agent:e.agent??this.getOrCreateAgent(e,n),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,s)=>{let o=n?eW.request(a,i):eZ.request(a,i);o.once("error",t=>{s(new eX(t.message,{code:t.code??eX.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new ep("The operation was aborted. Rejecting from abort signal callback while making request.");o.destroy(e),s(e)}),r&&e6(r)?r.pipe(o):r?"string"==typeof r||Buffer.isBuffer(r)?o.end(r):e4(r)?o.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(e2.error("Unrecognized body type",r),s(new eX("Unrecognized body type"))):o.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?eW.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new eW.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return eZ.globalAgent;let t=e.tlsSettings??e3,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(e2.info("No cached TLS Agent exist, creating a new Agent"),i=new eZ.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let e7="Retry-After",te=["retry-after-ms","x-ms-retry-after-ms",e7];function tt(e){if(e&&[429,503].includes(e.status))try{for(let t of te){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===e7?1e3:1;return r*e}}let t=e.headers.get(e7);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let tr=eM("ts-http-runtime retryPolicy");function ti(e,t){return Buffer.from(e,t)}async function tn(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:eQ({"Content-Disposition":`form-data; name="${t}"`}),body:ti(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",n=eQ();n.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),n.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:n,body:e})}t.multipartBody={parts:i}}var ta=i(6565),ts=i(7277);let to=[],tl=!1,tc=new Map;function td(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function tm(){if(!process)return;let e=td("HTTPS_PROXY"),t=td("ALL_PROXY"),r=td("HTTP_PROXY");return e||t||r}function tu(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function tp(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&e2.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new ts.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new ta.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let th="redirectPolicy",tg=["GET","HEAD"];async function tf(e,t,r,i,n=0){let{request:a,status:s,headers:o}=t,l=o.get("location");if(l&&(300===s||301===s&&tg.includes(a.method)||302===s&&tg.includes(a.method)||303===s&&"POST"===a.method||307===s)&&n<r){let o=new URL(l,a.url);if(!i){let e=new URL(a.url);if(o.origin!==e.origin)return e2.verbose(`Skipping cross-origin redirect from ${e.origin} to ${o.origin}.`),t}a.url=o.toString(),303===s&&(a.method="GET",a.headers.delete("Content-Length"),delete a.body),a.headers.delete("Authorization");let c=await e(a);return tf(e,c,r,i,n+1)}return t}let ty=t("stream");function tA(e){return e instanceof Blob}async function*tb(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function tx(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=tb.bind(e)),e.values||(e.values=tb.bind(e)),ty.Readable.fromWeb(e)):e}function tN(e){return e instanceof Uint8Array?ty.Readable.from(Buffer.from(e)):tA(e)?tx(e.stream()):tx(e)}async function tC(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(tN);return ty.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function tS(e,t,r){let i=[ti(`--${r}`,"utf-8"),...t.flatMap(e=>[ti("\r\n","utf-8"),ti(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r +`;return t}(e.headers),"utf-8"),ti("\r\n","utf-8"),e.body,ti(`\r +--${r}`,"utf-8")]),ti("--\r\n\r\n","utf-8")],n=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:tA(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);n&&e.headers.set("Content-Length",n),e.body=await tC(i)}let tI="multipartPolicy",tw=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),tE=ek({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function tv(e){return tE.createClientLogger(e)}tE.logger;let tB=tv("core-rest-pipeline"),tP="decompressResponsePolicy";async function tR(e){if(ef&&ef.versions){let t=`${eh.type()} ${eh.release()}; ${eh.arch()}`;ef.versions.bun?e.set("Bun",`${ef.versions.bun} (${t})`):ef.versions.deno?e.set("Deno",`${ef.versions.deno} (${t})`):ef.versions.node&&e.set("Node",`${ef.versions.node} (${t})`)}}async function tO(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await tR(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let tk="User-Agent",tT=Symbol("rawContent");function tM(e){return"function"==typeof e[tT]}class tD extends Error{constructor(e){super(e),this.name="AbortError"}}function tz(e,t){let r,{abortSignal:i,abortErrorMsg:n}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:n}=t??{};return new Promise((t,a)=>{function s(){a(new tD(n??"The operation was aborted."))}function o(){i?.removeEventListener("abort",l)}function l(){r?.(),o(),s()}if(i?.aborted)return s();try{e(e=>{o(),t(e)},e=>{o(),a(e)})}catch(e){a(e)}i?.addEventListener("abort",l)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:n??"The delay was aborted."})}function tQ(e){if(eq(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function t_(e){var t=e;if(!t&&!(t=tm()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let tU={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class tH{_contextMap;constructor(e){this._contextMap=e instanceof tH?new Map(e._contextMap):new Map}setValue(e,t){let r=new tH(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new tH(this);return t._contextMap.delete(e),t}}let tL=i(7301).w;function tF(){return tL.instrumenterImplementation||(tL.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new tH(e.parentContext);return e.span&&(t=t.setValue(tU.span,e.span)),e.namespace&&(t=t.setValue(tU.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),tL.instrumenterImplementation}function tq(e){let{namespace:t,packageName:r,packageVersion:i}=e;function n(e,n,a){let s=tF().startSpan(e,{...a,packageName:r,packageVersion:i,tracingContext:n?.tracingOptions?.tracingContext}),o=s.tracingContext,l=s.span;return o.getValue(tU.namespace)||(o=o.setValue(tU.namespace,t)),l.setAttribute("az.namespace",o.getValue(tU.namespace)),{span:l,updatedOptions:Object.assign({},n,{tracingOptions:{...n?.tracingOptions,tracingContext:o}})}}async function a(e,t,r,i){let{span:a,updatedOptions:o}=n(e,t,i);try{let e=await s(o.tracingOptions.tracingContext,()=>r(o,a));return a.setStatus({status:"success"}),e}catch(e){throw a.setStatus({status:"error",error:e}),e}finally{a.end()}}function s(e,t,...r){return tF().withContext(e,t,...r)}return{startSpan:n,withSpan:a,withContext:s,parseTraceparentHeader:function(e){return tF().parseTraceparentHeader(e)},createRequestHeaders:function(e){return tF().createRequestHeaders(e)}}}function tj(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",n),r=!1)}function n(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",n),{abortSignal:t.signal,cleanup:i}}function tG(){let e=new e9;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?tj(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}tv("core-rest-pipeline retryPolicy");let tY={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function t$(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let n=await i();for(;null===n;)await tz(t),n=await i();return n}async function tJ(e,t){try{return[await t(e),void 0]}catch(e){if(eV(e)&&e.response)return[e.response,e];throw e}}async function tK(e){let{scopes:t,getAccessToken:r,request:i}=e,n={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},a=await r(t,n);a&&e.request.headers.set("Authorization",`Bearer ${a.token}`)}function tX(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function tV(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function tW(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,n=e.logger||tB,a={authorizeRequest:i?.authorizeRequest?.bind(i)??tK,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},s=t?function(e){let t,r=null,i=null,n={...tY,...void 0},a={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(a.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-n.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-n.forcedRefreshWindowInMs<Date.now()}};function s(s,o){return a.isRefreshing||(r=t$(()=>e.getToken(s,o),n.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=o.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let n=!!r.claims,o=t!==r.tenantId;return(n&&(i=null),o||n||a.mustRefresh)?s(e,r):(a.shouldRefresh&&s(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,o;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await a.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:s,logger:n}),[i,o]=await tJ(e,t),tX(i)){let l=tZ(i.headers.get("WWW-Authenticate"));if(l){let a;try{a=atob(l)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`),i}await tV({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:s,logger:n},a)&&([i,o]=await tJ(e,t))}else if(a.authorizeRequestOnChallenge&&(await a.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:s,logger:n})&&([i,o]=await tJ(e,t)),tX(i))&&(l=tZ(i.headers.get("WWW-Authenticate")??""))){let a;try{a=atob(l)}catch(e){return n.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${l}`),i}await tV({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:s,logger:n},a)&&([i,o]=await tJ(e,t))}}if(!o)return i;throw o}}}function tZ(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,n=[];for(;null!==(t=r.exec(e));){let e,r=t[1],a=t[2],s={};for(;null!==(e=i.exec(a));)s[e[1]]=e[2];n.push({scheme:r,params:s})}return n}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function t0(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let t1="DisableKeepAlivePolicy";function t2(e){return Buffer.from(e).toString("base64")}function t3(e){return ti(e,"base64")}let t6=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,t5=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function t4(e,t){var r,i;let n,a=e.parsedHeaders;if("HEAD"===e.request.method)return{...a,body:e.parsedBody};let s=t&&t.bodyMapper,o=!!s?.nullable,l=s?.type.name;if("Stream"===l)return{...a,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let c="Composite"===l&&s.type.modelProperties||{},d=Object.keys(c).some(e=>""===c[e].serializedName);if("Sequence"===l||d){let t=e.parsedBody??[];for(let r of Object.keys(c))c[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(a)for(let e of Object.keys(a))t[e]=a[e];return!o||e.parsedBody||a||0!==Object.getOwnPropertyNames(c).length?t:null}return n={...(i={body:e.parsedBody,headers:a,hasNullableType:o,shouldWrapBody:(r=e.parsedBody,"Composite"!==l&&"Dictionary"!==l&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||l?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(n).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:n}class t8{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:n,InclusiveMaximum:a,InclusiveMinimum:s,MaxItems:o,MaxLength:l,MinItems:c,MinLength:d,MultipleOf:m,Pattern:u,UniqueItems:p}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==n&&t<=n&&i("ExclusiveMinimum",n),void 0!==a&&t>a&&i("InclusiveMaximum",a),void 0!==s&&t<s&&i("InclusiveMinimum",s),void 0!==o&&t.length>o&&i("MaxItems",o),void 0!==l&&t.length>l&&i("MaxLength",l),void 0!==c&&t.length<c&&i("MinItems",c),void 0!==d&&t.length<d&&i("MinLength",d),void 0!==m&&t%m!=0&&i("MultipleOf",m),u){let e="string"==typeof u?new RegExp(u):u;("string"!=typeof t||null===t.match(e))&&i("Pattern",u)}p&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",p)}}serialize(e,t,r,i={xml:{}}){let n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},a={},s=e.type.name;r||(r=e.serializedName),null!==s.match(/^Sequence$/i)&&(a=[]),e.isConstant&&(t=e.defaultValue);let{required:o,nullable:l}=e;if(o&&l&&void 0===t)throw Error(`${r} cannot be undefined.`);if(o&&!l&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!o&&!1===l&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==s.match(/^any$/i)?a=t:null!==s.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?a=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&t5.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(s,r,t):null!==s.match(/^Enum$/i)?a=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==s.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?a=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!t6.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(s,t,r):null!==s.match(/^ByteArray$/i)?a=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=t2(t)}return t}(r,t):null!==s.match(/^Base64Url$/i)?a=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(t2(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==s.match(/^Sequence$/i)?a=function(e,t,r,i,n,a){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let s=t.type.element;if(!s||"object"!=typeof s)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===s.type.name&&s.type.className&&(s=e.modelMappers[s.type.className]??s);let o=[];for(let t=0;t<r.length;t++){let l=e.serialize(s,r[t],i,a);if(n&&s.xmlNamespace){let e=s.xmlNamespacePrefix?`xmlns:${s.xmlNamespacePrefix}`:"xmlns";"Composite"===s.type.name?o[t]={...l}:(o[t]={},o[t][a.xml.xmlCharKey]=l),o[t].$={[e]:s.xmlNamespace}}else o[t]=l}return o}(this,e,t,r,!!this.isXML,n):null!==s.match(/^Dictionary$/i)?a=function(e,t,r,i,n,a){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let s=t.type.value;if(!s||"object"!=typeof s)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let o={};for(let t of Object.keys(r)){let l=e.serialize(s,r[t],i,a);o[t]=rr(s,l,n,a)}return n&&t.xmlNamespace?(o.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},o):o}(this,e,t,r,!!this.isXML,n):null!==s.match(/^Composite$/i)&&(a=function(e,t,r,i,n,a){if(rn(e,t)&&(t=ri(e,t,r,"clientName")),null!=r){let s={},o=rt(e,t,i);for(let l of Object.keys(o)){let c,d=o[l];if(d.readOnly)continue;let m=s;if(e.isXML)c=d.xmlIsWrapped?d.xmlName:d.xmlElementName||d.xmlName;else{let e=t7(d.serializedName);for(let t of(c=e.pop(),e))null==m[t]&&(void 0!==r[l]&&null!==r[l]||void 0!==d.defaultValue)&&(m[t]={}),m=m[t]}if(null!=m){if(n&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";m.$={...m.$,[e]:t.xmlNamespace}}let s=""!==d.serializedName?i+"."+d.serializedName:i,o=r[l],u=rn(e,t);u&&u.clientName===l&&null==o&&(o=t.serializedName);let p=e.serialize(d,o,s,a);if(void 0!==p&&null!=c){let e=rr(d,p,n,a);n&&d.xmlIsAttribute?(m.$=m.$||{},m.$[c]=p):n&&d.xmlIsWrapped?m[c]={[d.xmlElementName]:e}:m[c]=e}}}let l=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=re(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(l){let t=Object.keys(o);for(let n of Object.keys(r))t.every(e=>e!==n)&&Object.defineProperty(s,n,{value:e.serialize(l,r[n],i+'["'+n+'"]',a),enumerable:!0,configurable:!0,writable:!0})}return s}return r}(this,e,t,r,!!this.isXML,n)),a}deserialize(e,t,r,i={xml:{}}){let n,a={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let s=e.type.name;if(r||(r=e.serializedName),null!==s.match(/^Composite$/i))n=function(e,t,r,i,n){let a=n.xml.xmlCharKey??"_";rn(e,t)&&(t=ri(e,t,r,"serializedName"));let s=rt(e,t,i),o={},l=[];for(let c of Object.keys(s)){let d=s[c],m=t7(s[c].serializedName);l.push(m[0]);let{serializedName:u,xmlName:p,xmlElementName:h}=d,g=i;""!==u&&void 0!==u&&(g=i+"."+u);let f=d.headerCollectionPrefix;if(f){let t={};for(let i of Object.keys(r))i.startsWith(f)&&(t[i.substring(f.length)]=e.deserialize(d.type.value,r[i],g,n)),l.push(i);o[c]=t}else if(e.isXML)if(d.xmlIsAttribute&&r.$)o[c]=e.deserialize(d,r.$[p],g,n);else if(d.xmlIsMsText)void 0!==r[a]?o[c]=r[a]:"string"==typeof r&&(o[c]=r);else{let t=h||p||u;if(d.xmlIsWrapped){let t=r[p],i=t?.[h]??[];Object.defineProperty(o,c,{value:e.deserialize(d,i,g,n),enumerable:!0,configurable:!0,writable:!0}),l.push(p)}else{let i=r[t];o[c]=e.deserialize(d,i,g,n),l.push(t)}}else{let i,a,l=r,u=0;for(let e of m){if(!l)break;u++,l=l[e]}null===l&&u<m.length&&(l=void 0),i=l;let p=t.type.polymorphicDiscriminator;if(p&&c===p.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[c])&&""===s[c].serializedName){i=r[c];let t=e.deserialize(d,i,g,n);for(let[e,r]of Object.entries(o))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);o=t}else(void 0!==i||void 0!==d.defaultValue)&&(a=e.deserialize(d,i,g,n),o[c]=a)}}let c=t.type.additionalProperties;if(c){let t=e=>{for(let t of Object.keys(s))if(t7(s[t].serializedName)[0]===e)return!1;return!0};for(let a of Object.keys(r))if(t(a)){let t=e.deserialize(c,r[a],i+'["'+a+'"]',n);Object.defineProperty(o,a,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!n.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==o[e]||l.includes(e)||["$",n.xml.xmlCharKey].includes(e)||Object.defineProperty(o,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return o}(this,e,t,r,a);else{if(this.isXML){let e=a.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==s.match(/^Number$/i)?isNaN(n=parseFloat(t))&&(n=t):null!==s.match(/^Boolean$/i)?n="true"===t||"false"!==t&&t:null!==s.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?n=t:null!==s.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?n=new Date(t):null!==s.match(/^UnixTime$/i)?n=function(e){if(e)return new Date(1e3*e)}(t):null!==s.match(/^ByteArray$/i)?n=t3(t):null!==s.match(/^Base64Url$/i)?n=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return t3(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==s.match(/^Sequence$/i)?n=function(e,t,r,i,n){let a=t.type.element;if(!a||"object"!=typeof a)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===a.type.name&&a.type.className&&(a=e.modelMappers[a.type.className]??a);let t=[];for(let s=0;s<r.length;s++)t[s]=e.deserialize(a,r[s],`${i}[${s}]`,n);return t}return r}(this,e,t,r,a):null!==s.match(/^Dictionary$/i)&&(n=function(e,t,r,i,n){let a=t.type.value;if(!a||"object"!=typeof a)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let s of Object.keys(r))t[s]=e.deserialize(a,r[s],i,n);return t}return r}(this,e,t,r,a))}return e.isConstant&&(n=e.defaultValue),n}}function t9(e={},t=!1){return new t8(e,t)}function t7(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function re(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function rt(e,t,r){let i=t.type.modelProperties;if(!i){let n=re(e,t,r);if(!n)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=n?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(n)}" of type "${t.type.className}" for object "${r}".`)}return i}function rr(e,t,r,i){if(!r||!e.xmlNamespace)return t;let n={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=n,e}let a={};return a[i.xml.xmlCharKey]=t,a.$=n,a}function ri(e,t,r,i){let n=rn(e,t);if(n){let a=n[i];if(a){"serializedName"===i&&(a=a.replace(/\\/gi,""));let n=r[a],s=t.type.uberParent??t.type.className;if("string"==typeof n&&s){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),n=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,n))return e[n];for(let[t,n]of Object.entries(e))t.startsWith(r+".")&&n.type.uberParent===r&&n.type.className&&i.push(n.type.className)}}(e.modelMappers.discriminators,n,s);r&&(t=r)}}}return t}function rn(e,t){return t.type.polymorphicDiscriminator||ra(e,t.type.uberParent)||ra(e,t.type.className)}function ra(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let rs="Sequence",ro="Stream",rl=i(5997).w;function rc(e,t,r){let i,n=t.parameterPath,a=t.mapper;if("string"==typeof n&&(n=[n]),Array.isArray(n)){if(n.length>0)if(a.isConstant)i=a.defaultValue;else{let t=rd(e,n);!t.propertyFound&&r&&(t=rd(r,n));let s=!1;t.propertyFound||(s=a.required||"options"===n[0]&&2===n.length),i=s?a.defaultValue:t.propertyValue}}else for(let[t,s]of(a.required&&(i={}),Object.entries(n))){let n=rc(e,{parameterPath:s,mapper:a.type.modelProperties[t]},r);void 0!==n&&(i||(i={}),Object.defineProperty(i,t,{value:n,enumerable:!0,configurable:!0,writable:!0}))}return i}function rd(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let rm=Symbol.for("@azure/core-client original request");function ru(e){if(rm in e)return ru(e[rm]);let t=rl.operationRequestMap.get(e);return t||(t={},rl.operationRequestMap.set(e,t)),t}let rp=["application/json","text/json"],rh=["application/xml","application/atom+xml"];async function rg(e,t,r,i,n){let a,s,o,l,c,d=await rf(e,t,r,i,n);if(a=ru(d.request),!(void 0===(s=a?.shouldDeserialize)||("boolean"==typeof s?s:s(d))))return d;let m=ru(d.request),u=m?.operationSpec;if(!u||!u.responses)return d;let p=(l=ru(d.request),(c=l?.operationSpec)&&(o=l?.operationResponseGetter?l?.operationResponseGetter(c,d):c.responses[d.status]),o),{error:h,shouldReturnResponse:g}=function(e,t,r,i){let n,a=200<=e.status&&e.status<300;if(0===(n=Object.keys(t.responses)).length||1===n.length&&"default"===n[0]?a:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let s=r??t.responses.default,o=new eX(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!s&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw o;let l=s?.bodyMapper,c=s?.headersMapper;try{if(e.parsedBody){let r,n=e.parsedBody;if(l){let e=n;if(t.isXML&&l.type.name===rs){e=[];let t=l.xmlElementName;"object"==typeof n&&t&&(e=n[t])}r=t.serializer.deserialize(l,e,"error.response.parsedBody",i)}let a=n.error||r||n;o.code=a.code,a.message&&(o.message=a.message),l&&(o.response.parsedBody=r)}e.headers&&c&&(o.response.parsedHeaders=t.serializer.deserialize(c,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){o.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:o,shouldReturnResponse:!1}}(d,u,p,i);if(h)throw h;if(g)return d;if(p){if(p.bodyMapper){let e=d.parsedBody;u.isXML&&p.bodyMapper.type.name===rs&&(e="object"==typeof e?e[p.bodyMapper.xmlElementName]:[]);try{d.parsedBody=u.serializer.deserialize(p.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new eX(`Error ${e} occurred in deserializing the responseBody - ${d.bodyAsText}`,{statusCode:d.status,request:d.request,response:d})}}else"HEAD"===u.httpMethod&&(d.parsedBody=r.status>=200&&r.status<300);p.headersMapper&&(d.parsedHeaders=u.serializer.deserialize(p.headersMapper,d.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return d}async function rf(e,t,r,i,n){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let a=r.bodyAsText,s=r.headers.get("Content-Type")||"",o=s?s.split(";").map(e=>e.toLowerCase()):[];try{if(0===o.length||o.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(a);else if(o.some(e=>-1!==t.indexOf(e))){if(!n)throw Error("Parsing XML not supported.");r.parsedBody=await n(a,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||eX.PARSE_ERROR;throw new eX(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function ry(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function rA(e={}){var t,r,i,n,a;let s,o,l,c,d,m,u=(t=e??{},o=eL.create(),t.agent&&o.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&o.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),o.addPolicy((n=t.proxyOptions,a=void 0,tl||to.push(...(l=td("NO_PROXY"),(tl=!0,l)?l.split(",").map(e=>e.trim()).filter(e=>e.length):[])),d=n?tu(n):(c=tm())?new URL(c):void 0,m={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&d&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let n=!1;for(let e of t)"."===e[0]?i.endsWith(e)?n=!0:i.length===e.length-1&&i===e.slice(1)&&(n=!0):i===e&&(n=!0);return r?.set(i,n),n}(e.url,a?.customNoProxyList??to,a?.customNoProxyList?void 0:tc)?tp(e,m,d):e.proxySettings&&tp(e,m,tu(e.proxySettings)),t(e))})),o.addPolicy({name:tP,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),o.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=tj(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),o.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await tn(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[tI]}),o.addPolicy(function(e={}){let t=tO(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(tk)||e.headers.set(tk,await t),r(e))}}(t.userAgentOptions)),o.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),o.addPolicy((s={name:tI,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",n=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!n)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,a,s]=n;if(s&&r&&s!==r)throw Error(`Multipart boundary was specified as ${s} in the header, but got ${r} in the request body`);if(r??=s){var o=r;if(o.length>70)throw Error(`Multipart boundary "${o}" exceeds maximum length of 70 characters`);if(Array.from(o).some(e=>!tw.has(e)))throw Error(`Multipart boundary "${o}" contains invalid characters`)}else r=`----AzSDKFormBoundary${e_()}`;return e.headers.set("Content-Type",`${a}; boundary=${r}`),await tS(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:tI,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;tM(t.body)&&(t.body=tM(r=t.body)?r[tT]():r)}return s.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),o.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||tr;return{name:"retryPolicy",async sendRequest(i,n){let a,s,o=-1;e:for(;;){o+=1,a=void 0,s=void 0;try{r.info(`Retry ${o}: Attempting to send request`,i.requestId),a=await n(i),r.info(`Retry ${o}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${o}: Received an error from request`,i.requestId),!eV(e))throw e;s=e,a=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${o}: Request aborted.`),new ep;if(o>=(t.maxRetries??3)){if(r.info(`Retry ${o}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),s)throw s;if(a)return a;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${o}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${o}: Processing retry strategy ${t.name}.`);let n=t.retry({retryCount:o,response:a,responseError:s});if(n.skipStrategy){e.info(`Retry ${o}: Skipped.`);continue}let{errorToThrow:l,retryAfterInMs:c,redirectTo:d}=n;if(l)throw e.error(`Retry ${o}: Retry strategy ${t.name} throws error:`,l),l;if(c||0===c){e.info(`Retry ${o}: Retry strategy ${t.name} retries after ${c}`),await function(e,t,r){return new Promise((i,n)=>{let a,s,o=()=>n(new ep(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),l=()=>{r?.abortSignal&&s&&r.abortSignal.removeEventListener("abort",s)};if(s=()=>(a&&clearTimeout(a),l(),o()),r?.abortSignal&&r.abortSignal.aborted)return o();a=setTimeout(()=>{l(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",s)})}(c,void 0,{abortSignal:i.abortSignal});continue e}if(d){e.info(`Retry ${o}: Retry strategy ${t.name} redirects to ${d}`),i.url=d;continue e}}if(s)throw r.info("None of the retry strategies could work with the received error. Throwing it."),s;if(a)return r.info("None of the retry strategies could work with the received response. Returning it."),a}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=tt(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:n,responseError:a}){var s,o,l,c,d;let m,u,p=!!(c=a)&&("ETIMEDOUT"===c.code||"ESOCKETTIMEDOUT"===c.code||"ECONNREFUSED"===c.code||"ECONNRESET"===c.code||"ENOENT"===c.code||"ENOTFOUND"===c.code),h=p&&e.ignoreSystemErrors,g=!!((d=n)&&void 0!==d.status&&(d.status>=500||408===d.status)&&501!==d.status&&505!==d.status),f=g&&e.ignoreHttpStatusCodes;return n&&(Number.isFinite(tt(n))||!g)||f||h?{skipStrategy:!0}:!a||p||g?(m=(s={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(u=Math.min(s.maxRetryDelayInMs,m))/2+(o=0,l=u/2,o=Math.ceil(o),Math.floor(Math.random()*((l=Math.floor(l))-o+1))+o)}):{errorToThrow:a}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),o.addPolicy(function(e={}){let t=tO(e.userAgentPrefix),r=new eJ({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return tq({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){tB.warning(`Error when creating the TracingClient: ${tQ(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,n){if(!i)return n(e);let a=await t,s={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":a,requestId:e.requestId};a&&(s["http.user_agent"]=a);let{span:o,tracingContext:l}=function(e,t,r){try{let{span:i,updatedOptions:n}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let a=e.createRequestHeaders(n.tracingOptions.tracingContext);for(let[e,r]of Object.entries(a))t.headers.set(e,r);return{span:i,tracingContext:n.tracingOptions.tracingContext}}catch(e){tB.warning(`Skipping creating a tracing span due to an error: ${tQ(e)}`);return}}(i,e,s)??{};if(!o||!l)return n(e);try{let t=await i.withContext(l,n,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){tB.warning(`Skipping tracing span processing due to an error: ${tQ(e)}`)}}(o,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:eq(t)?t:void 0}),eV(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){tB.warning(`Skipping tracing span processing due to an error: ${tQ(e)}`)}}(o,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),o.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:th,async sendRequest(e,i){let n=await i(e);return tf(i,n,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),o.addPolicy(function(e={}){return function(e={}){let t=e.logger??e2.info,r=new eJ({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let n=await i(e);return t(`Response status code: ${n.status}`),t(`Headers: ${r.sanitize({headers:n.headers})}`),n}}}({logger:tB.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),o);return e.credentialOptions&&u.addPolicy(tW({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),u.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=ru(e),n=i?.operationSpec,a=i?.operationArguments;return n&&a&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let n=rc(t,i);if(null!=n||i.mapper.required){n=r.serializer.serialize(i.mapper,n,ry(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(n))e.headers.set(t+r,n[r]);else e.headers.set(i.mapper.serializedName||ry(i),n)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,a,n),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let n=t.options?.serializerOptions,a={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}},s=a.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=rc(t,r.requestBody);let n=r.requestBody.mapper,{required:o,serializedName:l,xmlName:c,xmlElementName:d,xmlNamespace:m,xmlNamespacePrefix:u,nullable:p}=n,h=n.type.name;try{if(void 0!==e.body&&null!==e.body||p&&null===e.body||o){let t=ry(r.requestBody);e.body=r.serializer.serialize(n,e.body,t,a);let o=h===ro;if(r.isXML){let t=u?`xmlns:${u}`:"xmlns",r=function(e,t,r,i,n){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[n.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(m,t,h,e.body,a);h===rs?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let n={[t]:e};return n.$={[r]:i},n}(r,d||c||l,t,m),{rootName:c||l,xmlCharKey:s}):o||(e.body=i(r,{rootName:c||l,xmlCharKey:s}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;o||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(l,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let n=rc(t,i);if(null!=n){let t=i.mapper.serializedName||ry(i);e.formData[t]=r.serializer.serialize(i.mapper,n,ry(i),a)}}}(e,a,n,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),u.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??rp,r=e.expectedContentTypes?.xml??rh,i=e.parseXML,n=e.serializerOptions,a={xml:{rootName:n?.xml.rootName??"",includeRoot:n?.xml.includeRoot??!1,xmlCharKey:n?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,n)=>rg(t,r,await n(e),a,i)}}(e.deserializationOptions),{phase:"Deserialize"}),u}let rb={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function rx(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let rN=tv("core-client");class rC{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var t;let r,i;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&rN.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(a||(a=tG()),a),this.pipeline=e.pipeline||(r=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(t=e),i=t.credential&&r?{credentialScopes:r,credential:t.credential}:void 0,rA({...t,credentialOptions:i})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new eU({url:function(e,t,r,i){let n=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let n of e.urlParameters){let a=rc(t,n,r),s=ry(n);a=e.serializer.serialize(n.mapper,a,s),n.skipEncoding||(a=encodeURIComponent(a)),i.set(`{${n.mapper.serializedName||s}}`,a)}return i}(t,r,i),a=!1,s=rx(e,n);if(t.path){let e=rx(t.path,n);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(s=e,a=!0):s=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let n=t.indexOf("?");if(-1!==n){let e=t.substring(0,n),a=t.substring(n+1);i+=e,a&&(r.search=r.search?`${r.search}&${a}`:a)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(s,e)}let{queryParams:o,sequenceParams:l}=function(e,t,r){let i=new Map,n=new Set;if(e.queryParameters?.length)for(let a of e.queryParameters){"Sequence"===a.mapper.type.name&&a.mapper.serializedName&&n.add(a.mapper.serializedName);let s=rc(t,a,r);if(null!=s||a.mapper.required){s=e.serializer.serialize(a.mapper,s,ry(a));let t=a.collectionFormat?rb[a.collectionFormat]:"";if(Array.isArray(s)&&(s=s.map(e=>null==e?"":e)),"Multi"===a.collectionFormat&&0===s.length)continue;Array.isArray(s)&&("SSV"===a.collectionFormat||"TSV"===a.collectionFormat)&&(s=s.join(t)),a.skipEncoding||(s=Array.isArray(s)?s.map(e=>encodeURIComponent(e)):encodeURIComponent(s)),Array.isArray(s)&&("CSV"===a.collectionFormat||"Pipes"===a.collectionFormat)&&(s=s.join(t)),i.set(a.mapper.serializedName||ry(a),s)}}return{queryParams:i,sequenceParams:n}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let n=new URL(e),a=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),n=t.get(e);n?Array.isArray(n)?n.push(i):t.set(e,[n,i]):t.set(e,i)}return t}(n.search);for(let[e,n]of t){let t=a.get(e);if(Array.isArray(t))if(Array.isArray(n)){t.push(...n);let r=new Set(t);a.set(e,Array.from(r))}else t.push(n);else t?(Array.isArray(n)?n.unshift(t):r.has(e)&&a.set(e,[t,n]),i||a.set(e,n)):a.set(e,n)}let s=[];for(let[e,t]of a)if("string"==typeof t)s.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)s.push(`${e}=${r}`);else s.push(`${e}=${t}`);return n.search=s.length?`?${s.join("&")}`:"",n.toString()}(s,o,l,a)}(r,t,e,this)});i.method=t.httpMethod;let n=ru(i);n.operationSpec=t,n.operationArguments=e;let a=t.contentType||this._requestContentType;a&&t.requestBody&&i.headers.set("Content-Type",a);let s=e.options;if(s){let e=s.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(n.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),s.abortSignal&&(i.abortSignal=s.abortSignal),s.tracingOptions&&(i.tracingOptions=s.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===ro&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=t4(e,t.responses[e.status]);return s?.onResponse&&s.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=t4(r,t.responses[e.statusCode]||t.responses.default);e.details=i,s?.onResponse&&s.onResponse(r,i,e)}throw e}}}let rS="authorization",rI=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,n=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),a=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,n),s=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(n);if(!s)return!1;let o=await e.getAccessToken(a,{...r,tenantId:s});return!!o&&(e.request.headers.set(rS,`${o.tokenType??"Bearer"} ${o.token}`),!0)}return!1},rw=Symbol("Original PipelineRequest"),rE=Symbol.for("@azure/core-client original request"),rv=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function rB(e,t={}){let r=e[rw],i=eQ(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new eU({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[rE]=t.originalRequest),r}}function rP(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:rR(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,n,a)=>n===rw?e:"clone"===n?()=>rP(rB(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,n,a),set:(t,r,i,n)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&rv.has(r)&&(e[r]=i),Reflect.set(t,r,i,n))}):i}function rR(e){return new rk(e.toJSON({preserveCase:!0}))}function rO(e){return e.toLowerCase()}class rk{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[rO(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[rO(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[rO(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[rO(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[rO(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new rk(e)}}let rT=Symbol("Original FullOperationResponse");function rM(e,t){let r=rP(e.request),i=rR(e.headers);return t?.createProxy?new Proxy(e,{get:(t,n,a)=>"headers"===n?i:"request"===n?r:n===rT?e:Reflect.get(t,n,a),set:(e,t,n,a)=>("headers"===t?i=n:"request"===t&&(r=n),Reflect.set(e,t,n,a))}):{...e,request:r,headers:i}}function rD(e){let t=e[rT],r=eQ(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:rB(e.request)}}class rz extends rC{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===t1)||this.pipeline.addPolicy({name:t1,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:th})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,n){r=e,i&&i(e,t,n)}};let n=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(n,"_response",{value:rM(r)}),n}}(m=E||(E={}))[m.ERROR=1]="ERROR",m[m.INFO=3]="INFO",m[m.OFF=0]="OFF",m[m.WARNING=2]="WARNING";let rQ={log(e,t){},shouldLog:e=>!1};class r_{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},n=null,a=e,s=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(s&&(a=s[1]+s[3],s[2])){let e=s[2].slice(1,-1);e&&(n=e)}let o=a;if(a.includes("::")){let r=a.indexOf("::");if(t=a.substring(0,r).trim(),o=a.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let l=null;if(o.includes(":")){let e=o.lastIndexOf(":"),t=o.substring(0,e).trim(),i=o.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,l=i):r=o}else r=o;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),n)if(n.includes("=")){let e=n.indexOf("=");i.attrName=n.substring(0,e).trim(),i.attrValue=n.substring(e+1).trim()}else i.attrName=n.trim();if(l){let e=l.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=l}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class rU{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class rH{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new rU(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let n=this.path.length,a=this.siblingStacks[n];a||(a={counts:new Map,total:0},this.siblingStacks[n]=a);let s=r?`${r}:${e}`:e,o=a.counts.get(s)||0,l=a.total;a.counts.set(s,o+1),a.total++;let c={tag:e,position:l,counter:o};null!=r&&(c.namespace=r),null!=t&&(c.values=t),this.path.push(c);let d=this.path.length,m=null!==i?i.keep:null;if(null!=m&&m.length>0&&t)for(let e=0;e<m.length;e++){let r=m[e];void 0!==t[r]&&this._keptAttrs.push({depth:d,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],n=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,n=!0;break}if(!n)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function rL(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function rF(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function rq(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let rj=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",rG=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",rY=(e,t,r="")=>{let i=e.replace(":",""),n=t.replace(":",""),a=`[${i}][${n}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${a}$`,r),qName:RegExp(`^${a}(?::${a})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},r$=rY(rj,rj+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),rJ=rY(rG,rG+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),rK=":A-Za-z_",rX=rY(rK,rK+"\\-\\.\\d"),rV=(e="1.0",t=!1)=>t?rX:"1.1"===e?rJ:r$,rW=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>rV(t,r).qName.test(e),rZ=["name","ncName","qName","nmToken","nmTokens"],r0=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!rZ.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${rZ.join(", ")}`);let n=rV(t,r)[e],a=new Map,s=e=>{let t=a.get(e);if(void 0!==t)return t;let r=n.test(e);return a.size<i&&a.set(e,r),r};return s.reset=()=>{a=new Map},s};function r1(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function r2(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function r3(e,t,r,i,n){let a="";if(e&&!t.ignoreAttributes)for(let s in e){let o;if(!Object.prototype.hasOwnProperty.call(e,s))continue;let l=s.substr(t.attributeNamePrefix.length),c=r?l:r1(l,!0,t,i,n);!0===(o=r?e[s]:r6(o=t.attributeValueProcessor(s,e[s]),t))&&t.suppressBooleanAttributes?a+=` ${c}`:a+=` ${c}="${rq(o)}"`}return a}function r6(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let r5={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function r4(e){if(this.options=Object.assign({},r5,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new r_(t)):t instanceof r_&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=ie}this.processTextOrObjNode=r9,this.options.format?(this.indentate=r7,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function r8(e,t,r,i,n){return!r.sanitizeName||n(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function r9(e,t,r,i,n){let a=this.extractAttributes(e);if(i.push(t,a),this.checkStopNode(i)){let n=this.buildRawContent(e),a=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(n,t,a,r)}let s=this.j2x(e,r+1,i,n);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,s.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,s.attrStr,r,i):this.buildObjectNode(s.val,t,s.attrStr,r)}function r7(e){return this.options.indentBy.repeat(e)}function ie(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}r4.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new r_(r)):r instanceof r_&&i.push(r)}let n=r0("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===r2(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,n,a,s){let o="",l=!1;if(r.maxNestedTags&&n.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return r6(e,r)}return""}for(let c=0;c<t.length;c++){let d,m=t[c],u=r2(m);if(void 0===u)continue;let p=u===r.textNodeName||u===r.cdataPropName||u===r.commentPropName||"?"===u[0]?u:r1(u,!1,r,n,s),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let n in e)Object.prototype.hasOwnProperty.call(e,n)&&(r[n.startsWith(t.attributeNamePrefix)?n.substr(t.attributeNamePrefix.length):n]=rq(e[n]),i=!0);return i?r:null}(m[":@"],r);n.push(p,h);let g=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(n,a);if(p===r.textNodeName){let e=m[u];g||(e=r6(e=r.tagValueProcessor(p,e),r)),l&&(o+=i),o+=e,l=!1,n.pop();continue}if(p===r.cdataPropName){l&&(o+=i);let e=rF(m[u][0][r.textNodeName]);o+=`<![CDATA[${e}]]>`,l=!1,n.pop();continue}if(p===r.commentPropName){let e=rL(m[u][0][r.textNodeName]);o+=i+`<!--${e}-->`,l=!0,n.pop();continue}else if("?"===p[0]){let e=r3(m[":@"],r,g,n,s);o+=("?xml"===p?"":i)+`<${p}${e}?>`,l=!0,n.pop();continue}let f=i;""!==f&&(f+=r.indentBy);let y=r3(m[":@"],r,g,n,s),A=i+`<${p}${y}`;d=g?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let n=0;n<t.length;n++){let a=t[n],s=r2(a);if(s===r.textNodeName)i+=a[s];else if(s===r.cdataPropName)i+=a[s][0][r.textNodeName];else if(s===r.commentPropName)i+=a[s][0][r.textNodeName];else if(s&&"?"===s[0])continue;else if(s){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=e[i];!0===n&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${rq(n)}"`}return r}(a[":@"],r),n=e(a[s],r);n&&0!==n.length?i+=`<${s}${t}>${n}</${s}>`:i+=`<${s}${t}/>`}}return i}(m[u],r):e(m[u],r,f,n,a,s),-1!==r.unpairedTags.indexOf(p)?r.suppressUnpairedNode?o+=A+">":o+=A+"/>":(!d||0===d.length)&&r.suppressEmptyNode?o+=A+"/>":d&&d.endsWith(">")?o+=A+`>${d}${i}</${p}>`:(o+=A+">",d&&""!==i&&(d.includes("/>")||d.includes("</"))?o+=i+r.indentBy+d+i:o+=d,o+=`</${p}>`),l=!0,n.pop()}return o}(e,t,r,new rH,i,n)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new rH,r=r0("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},r4.prototype.j2x=function(e,t,r,i){let n="",a="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let s=this.options.jPath?r.toString():r,o=this.checkStopNode(r);for(let l in e){if(!Object.prototype.hasOwnProperty.call(e,l))continue;let c=l===this.options.textNodeName||l===this.options.cdataPropName||l===this.options.commentPropName||this.options.attributesGroupName&&l===this.options.attributesGroupName||this.isAttribute(l)||"?"===l[0]?l:r8(l,!1,this.options,r,i);if(void 0===e[l])this.isAttribute(l)&&(a+="");else if(null===e[l])this.isAttribute(l)||c===this.options.cdataPropName||c===this.options.commentPropName?a+="":"?"===c[0]?a+=this.indentate(t)+"<"+c+"?"+this.tagEndChar:a+=this.indentate(t)+"<"+c+"/"+this.tagEndChar;else if(e[l]instanceof Date)a+=this.buildTextValNode(e[l],c,"",t,r);else if("object"!=typeof e[l]){let d=this.isAttribute(l);if(d&&!this.ignoreAttributesFn(d,s)){let t=r8(d,!0,this.options,r,i);n+=this.buildAttrPairStr(t,""+e[l],o)}else if(!d)if(l===this.options.textNodeName){let t=this.options.tagValueProcessor(l,""+e[l]);a+=this.replaceEntitiesValue(t)}else{r.push(c);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[l];""===r?a+=this.indentate(t)+"<"+c+this.closeTag(c)+this.tagEndChar:a+=this.indentate(t)+"<"+c+">"+r+"</"+c+this.tagEndChar}else a+=this.buildTextValNode(e[l],c,"",t,r)}}else if(Array.isArray(e[l])){let n=e[l].length,s="",o="";for(let d=0;d<n;d++){let n=e[l][d];if(void 0===n);else if(null===n)"?"===c[0]?a+=this.indentate(t)+"<"+c+"?"+this.tagEndChar:a+=this.indentate(t)+"<"+c+"/"+this.tagEndChar;else if("object"==typeof n)if(this.options.oneListGroup){r.push(c);let e=this.j2x(n,t+1,r,i);r.pop(),s+=e.val,this.options.attributesGroupName&&n.hasOwnProperty(this.options.attributesGroupName)&&(o+=e.attrStr)}else s+=this.processTextOrObjNode(n,c,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(c,n);s+=e=this.replaceEntitiesValue(e)}else{r.push(c);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+n;""===e?s+=this.indentate(t)+"<"+c+this.closeTag(c)+this.tagEndChar:s+=this.indentate(t)+"<"+c+">"+e+"</"+c+this.tagEndChar}else s+=this.buildTextValNode(n,c,"",t,r)}}this.options.oneListGroup&&(s=this.buildObjectNode(s,c,o,t)),a+=s}else if(this.options.attributesGroupName&&l===this.options.attributesGroupName){let t=Object.keys(e[l]),a=t.length;for(let s=0;s<a;s++){let a=r8(t[s],!0,this.options,r,i);n+=this.buildAttrPairStr(a,""+e[l][t[s]],o)}}else a+=this.processTextOrObjNode(e[l],c,t,r,i)}return{attrStr:n,val:a}},r4.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+rq(t)+'"'},r4.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=rq(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let n=this.isAttribute(i);n&&(t[n]=rq(e[i]),r=!0)}return r?t:null},r4.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${n}/>`:t+=`<${r}${n}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),n=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${n}/>`:t+=`<${r}${n}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},r4.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,n=r[e];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+rq(n)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let n=e[r];!0===n&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+rq(n)+'"'}}return t},r4.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n="</"+t+this.tagEndChar,a="";return("?"===t[0]&&(a="?",n=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+a+">"+e+n:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===a.length?this.indentate(i)+`<!--${rL(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+a+this.tagEndChar+e+this.indentate(i)+n}},r4.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},r4.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},r4.prototype.buildTextValNode=function(e,t,r,i,n){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=rF(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=rL(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let n=this.options.tagValueProcessor(t,e);return""===(n=this.replaceEntitiesValue(n))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+n+"</"+t+this.tagEndChar}},r4.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let it=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",ir=RegExp("^"+("["+it+"]["+it)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function ii(e,t){let r=[],i=t.exec(e);for(;i;){let n=[];n.startIndex=t.lastIndex-i[0].length;let a=i.length;for(let e=0;e<a;e++)n.push(i[e]);r.push(n),i=t.exec(e)}return r}let ia=function(e){return null!=ir.exec(e)},is=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],io=["__proto__","constructor","prototype"],il={allowBooleanAttributes:!1,unpairedTags:[]};function ic(e,t){t=Object.assign({},il,t);let r=[],i=!1,n=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let a=0;a<e.length;a++)if("<"===e[a]&&"?"===e[a+1]){if(a+=2,(a=im(e,a)).err)return a}else if("<"===e[a]){let s=a;if("!"===e[++a]){a=iu(e,a);continue}{let o=!1;"/"===e[a]&&(o=!0,a++);let l="";for(;a<e.length&&">"!==e[a]&&" "!==e[a]&&" "!==e[a]&&"\n"!==e[a]&&"\r"!==e[a];a++)l+=e[a];if("/"===(l=l.trim())[l.length-1]&&(l=l.substring(0,l.length-1),a--),!ia(l))return ig("InvalidTag",0===l.trim().length?"Invalid space after '<'.":"Tag '"+l+"' is an invalid name.",iy(e,a));let c=function(e,t){let r="",i="",n=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){n=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:n}}(e,a);if(!1===c)return ig("InvalidAttr","Attributes for '"+l+"' have open quote.",iy(e,a));let d=c.value;if(a=c.index,"/"===d[d.length-1]){let r=a-d.length,n=ih(d=d.substring(0,d.length-1),t);if(!0!==n)return ig(n.err.code,n.err.msg,iy(e,r+n.err.line));i=!0}else if(o)if(!c.tagClosed)return ig("InvalidTag","Closing tag '"+l+"' doesn't have proper closing.",iy(e,a));else{if(d.trim().length>0)return ig("InvalidTag","Closing tag '"+l+"' can't have attributes or invalid starting.",iy(e,s));if(0===r.length)return ig("InvalidTag","Closing tag '"+l+"' has not been opened.",iy(e,s));let t=r.pop();if(l!==t.tagName){let r=iy(e,t.tagStartPos);return ig("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+l+"'.",iy(e,s))}0==r.length&&(n=!0)}else{let o=ih(d,t);if(!0!==o)return ig(o.err.code,o.err.msg,iy(e,a-d.length+o.err.line));if(!0===n)return ig("InvalidXml","Multiple possible root nodes found.",iy(e,a));-1!==t.unpairedTags.indexOf(l)||r.push({tagName:l,tagStartPos:s}),i=!0}for(a++;a<e.length;a++)if("<"===e[a])if("!"===e[a+1]){a=iu(e,++a);continue}else if("?"===e[a+1]){if((a=im(e,++a)).err)return a}else break;else if("&"===e[a]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,a);if(-1==t)return ig("InvalidChar","char '&' is not expected.",iy(e,a));a=t}else if(!0===n&&!id(e[a]))return ig("InvalidXml","Extra text at the end",iy(e,a));"<"===e[a]&&a--}}else{if(id(e[a]))continue;return ig("InvalidChar","char '"+e[a]+"' is not expected.",iy(e,a))}return i?1==r.length?ig("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",iy(e,r[0].tagStartPos)):!(r.length>0)||ig("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):ig("InvalidXml","Start tag expected.",1)}function id(e){return" "===e||" "===e||"\n"===e||"\r"===e}function im(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return ig("InvalidXml","XML declaration allowed only at the start of the document.",iy(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function iu(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let ip=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function ih(e,t){let r=ii(e,ip),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return ig("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",iA(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return ig("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",iA(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return ig("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",iA(r[e]));let n=r[e][2];if(!ia(n))return ig("InvalidAttr","Attribute '"+n+"' is an invalid name.",iA(r[e]));if(Object.prototype.hasOwnProperty.call(i,n))return ig("InvalidAttr","Attribute '"+n+"' is repeated.",iA(r[e]));i[n]=1}return!0}function ig(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function iy(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function iA(e){return e.startIndex+e[1].length}let ib=e=>is.includes(e)?"__"+e:e,ix={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:ib},iN=function(e){let t=Object.assign({},ix,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(is.some(e=>r===e.toLowerCase())||io.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=ib),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};s="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class iC{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][s]={startIndex:t})}static getMetaDataSymbol(){return s}}class iS{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let n=1,a=!1,s=!1;for(;t<e.length;t++)if("<"!==e[t]||s)if(">"===e[t]){if(s?"-"===e[t-1]&&"-"===e[t-2]&&(s=!1,n--):n--,0===n)break}else"["===e[t]?a=!0:e[t];else{if(a&&iw(e,"!ENTITY",t)){let n,a;if(t+=7,[n,a,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===a.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[n]=a,i++}}else if(a&&iw(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(a&&iw(e,"!ATTLIST",t))t+=8;else if(a&&iw(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(iw(e,"!--",t))s=!0;else throw Error("Invalid DOCTYPE");n++}if(0!==n)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=iI(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(iE(i,{xmlVersion:this.xmlVersion}),t=iI(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let n="";if([t,n]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&n.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${n.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,n,--t]}readNotationExp(e,t){let r=t=iI(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||iE(i,{xmlVersion:this.xmlVersion}),t=iI(e,t);let n=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==n&&"PUBLIC"!==n)throw Error(`Expected SYSTEM or PUBLIC, found "${n}"`);t+=n.length,t=iI(e,t);let a=null,s=null;if("PUBLIC"===n)[t,a]=this.readIdentifierVal(e,t,"publicIdentifier"),t=iI(e,t),('"'===e[t]||"'"===e[t])&&([t,s]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===n&&([t,s]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!s))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:a,systemIdentifier:s,index:--t}}readIdentifierVal(e,t,r){let i="",n=e[t];if('"'!==n&&"'"!==n)throw Error(`Expected quoted string, found "${n}"`);let a=++t;for(;t<e.length&&e[t]!==n;)t++;if(i=e.substring(a,t),e[t]!==n)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=iI(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!rW(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=iI(e,t);let n="";if("E"===e[t]&&iw(e,"MPTY",t))t+=4;else if("A"===e[t]&&iw(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(n=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:n.trim(),index:t}}readAttlistExp(e,t){let r=t=iI(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(iE(i,{xmlVersion:this.xmlVersion}),r=t=iI(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let n=e.substring(r,t);if(!iE(n,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${n}"`);t=iI(e,t);let a="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(a="NOTATION",t+=8,t=iI(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let n=e.substring(i,t);if(!iE(n=n.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${n}"`);r.push(n),"|"===e[t]&&(t=iI(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,a+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(a+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(a.toUpperCase()))throw Error(`Invalid attribute type: "${a}"`)}t=iI(e,t);let s="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(s="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(s="#IMPLIED",t+=7):[t,s]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:n,attributeType:a,defaultValue:s,index:t}}}let iI=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function iw(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function iE(e,t){if(rW(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let iv=new Map,iB=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?iB[r-1632]=t:iv.set(r,t)}let iP=new Set([8722,65293,65123]),iR=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let n=e.charCodeAt(i);if((!(n>=48)||!(n<=57))&&45!==n){if(n<1632){if(iP.has(n)){r=i;break}continue}if(n>=55296&&n<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(n-55296<<10)+(t-56320);if(iv.has(e)){r=i;break}}}continue}if(255!==iB[n-1632]||iP.has(n)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let n=r;n<t;n++){let r=e.charCodeAt(n);if(r>=48&&r<=57||45===r){i.push(e[n]);continue}if(r<1632){i.push(iP.has(r)?"-":e[n]);continue}if(r>=55296&&r<=56319){if(n+1<t){let t=e.charCodeAt(n+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),a=iv.get(e);if(void 0!==a){i.push(String.fromCharCode(a+48)),n++;continue}}}i.push(e[n]);continue}if(iP.has(r)){i.push("-");continue}let a=iB[r-1632];i.push(255!==a?String.fromCharCode(a+48):e[n])}return i.join("")},iO=/^[-+]?0x[a-fA-F0-9]+$/,ik=/^0b[01]+$/,iT=/^0o[0-7]+$/,iM=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,iD={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},iz=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function iQ(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class i_{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,n=this._byDepthAndTag.get(i);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let a=this._wildcardByDepth.get(t);if(a){for(let t=0;t<a.length;t++)if(e.matches(a[t]))return a[t]}let s=this._deepByTerminalTag.get(r);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let iU={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},iH={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},iL={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},iF=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),iq=new Set("!?\\\\/[]$%{}^&*()<>|+");function ij(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(iq.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function iG(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let iY="external",i$="base",iJ=Object.freeze({allow:0,leave:1,remove:2,throw:3}),iK=new Set([9,10,13]);class iX{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??iY)&&t!==iY?"all"===t?["all"]:t===i$?[i$]:Array.isArray(t)?t:[iY]:[iY]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=iG(iH,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:iJ.allow,nullLevel:iJ.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:iJ[e.onNCR]??iJ.allow,nullLevel:Math.max(iJ[e.nullNCR]??iJ.remove,iJ.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let n=e(t,r);if(n===iF.BLOCK)return!1;if(n===iF.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))ij(t);if(!this._onExternalEntity){this._externalMap=iG(e);return}let t=iG(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){ij(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=iG(e);return}let t=iG(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,n=0,a=this._maxTotalExpansions>0,s=this._maxExpandedLength>0,o=a||s;for(;n<r;){let l,c;if(38!==e.charCodeAt(n)){n++;continue}let d=n+1;for(;d<r&&59!==e.charCodeAt(d)&&d-n<=32;)d++;if(d>=r||59!==e.charCodeAt(d)){n++;continue}let m=e.slice(n+1,d);if(0===m.length){n++;continue}if(this._removeSet.has(m))l="",void 0===c&&(c=iY);else if(this._leaveSet.has(m)){n++;continue}else if(35===m.charCodeAt(0)){let e=this._resolveNCR(m);if(void 0===e){n++;continue}l=e,c=i$}else{let e=this._resolveName(m);l=e?.value,c=e?.tier}if(void 0===l){n++;continue}if(n>i&&t.push(e.slice(i,n)),t.push(l),n=i=d+1,o&&this._tierCounts(c)){if(a&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(s){let e=l.length-(m.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let l=0===t.length?e:t.join("");return this._postCheck(l,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:iY}:e in this._externalMap?{value:this._externalMap[e],tier:iY}:e in this._baseMap?{value:this._baseMap[e],tier:i$}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!iK.has(e)?iJ.remove:-1}_applyNCRAction(e,t,r){switch(e){case iJ.allow:return String.fromCodePoint(r);case iJ.remove:return"";case iJ.leave:return;case iJ.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<iJ.remove)return;let n=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(n,e,t)}}let iV=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],iW=[...iV,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],iZ=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],i0=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],i1=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],i2=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],i3=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],i6="[\"'\\s]*:",i5=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${i6}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${i6}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${i6}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${i6}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${i6}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${i6}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${i6}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${i6}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${i6}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${i6}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${i6}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${i6}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${i6}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],i4=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];iZ.label="HTML",i0.label="XML",i1.label="SVG",iV.label="SQL",iW.label="SQL-STRICT",i2.label="SHELL",i3.label="REDOS",i5.label="NOSQL",i4.label="LOG",Object.freeze({HTML:iZ,XML:i0,SVG:i1,SQL:iV,"SQL-STRICT":iW,SHELL:i2,REDOS:i3,NOSQL:i5,LOG:i4});class i8{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=nr,this.parseTextData=i9,this.resolveNameSpace=i7,this.buildAttributesMap=nt,this.isItStopNode=ns,this.replaceEntitiesValue=nn,this.readStopNodeData=nc,this.saveTextToParentTag=na,this.addChild=ni,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...iH};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...iL,...iU}),this.entityDecoder=new iX({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[iZ,i0])?iF.ALLOW:iF.BLOCK})),this.matcher=new rH,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new i_;let n=this.options.stopNodes;if(n&&n.length>0){for(let e=0;e<n.length;e++){let t=n[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new r_(t)):t instanceof r_&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function i9(e,t,r,i,n,a,s){let o=this.options;if(void 0!==e&&(o.trimValues&&!i&&(e=e.trim()),e.length>0)){s||(e=this.replaceEntitiesValue(e,t,r));let i=o.jPath?r.toString():r,l=o.tagValueProcessor(t,e,i,n,a);return null==l?e:typeof l!=typeof e||l!==e?l:o.trimValues||e.trim()===e?nd(e,o.parseTagValue,o.numberParseOptions):e}}function i7(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let ne=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function nt(e,t,r,i=!1){let n=this.options;if(!0===i||!0!==n.ignoreAttributes&&"string"==typeof e){let i=ii(e,ne),a=i.length,s={},o=Array(a),l=!1,c={};for(let e=0;e<a;e++){let t=this.resolveNameSpace(i[e][1]),a=i[e][4];if(t.length&&void 0!==a){let i=a;n.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),o[e]=i,c[t]=i,l=!0}}l&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(c);let d=n.jPath?t.toString():this.readonlyMatcher,m=!1;for(let e=0;e<a;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,d))continue;let r=n.attributeNamePrefix+t;if(t.length)if(n.transformAttributeName&&(r=n.transformAttributeName(r)),r=nu(r,n),void 0!==i[e][4]){let i=o[e],a=n.attributeValueProcessor(t,i,d);null==a?s[r]=i:typeof a!=typeof i||a!==i?s[r]=a:s[r]=nd(i,n.parseAttributeValue,n.numberParseOptions),m=!0}else n.allowBooleanAttributes&&(s[r]=!0,m=!0)}if(!m)return;if(n.attributesGroupName&&!n.preserveOrder){let e={};return e[n.attributesGroupName]=s,e}return s}}let nr=function(e){e=e.replace(/\r\n?/g,"\n");let t=new iC("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let n=this.options,a=new iS(n.processEntities),s=e.length;for(let o=0;o<s;o++)if("<"===e[o]){let l=e.charCodeAt(o+1);if(47===l){let t=no(e,">",o,"Closing Tag is not closed."),a=e.substring(o+2,t).trim();if(n.removeNSPrefix){let e=a.indexOf(":");-1!==e&&(a=a.substr(e+1))}a=nm(n.transformTagName,a,"",n).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let s=this.matcher.getCurrentTag();if(a&&n.unpairedTagsSet.has(a))throw Error(`Unpaired tag can not be used as closing tag: </${a}>`);s&&n.unpairedTagsSet.has(s)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",o=t}else if(63===l){let t=nl(e,o,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let s=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(s){let e=s[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),a.setXmlVersion(Number(e)||1)}if(n.ignoreDeclaration&&"?xml"===t.tagName||n.ignorePiTags);else{let e=new iC(t.tagName);e.add(n.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==n.ignoreAttributes&&(e[":@"]=s),this.addChild(r,e,this.readonlyMatcher,o)}o=t.closeIndex+1}else if(33===l&&45===e.charCodeAt(o+2)&&45===e.charCodeAt(o+3)){let t=no(e,"--\x3e",o+4,"Comment is not closed.");if(n.commentPropName){let a=e.substring(o+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(n.commentPropName,[{[n.textNodeName]:a}])}o=t}else if(33===l&&68===e.charCodeAt(o+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=a.readDocType(e,o);this.entityDecoder.addInputEntities(t.entities),o=t.i}else if(33===l&&91===e.charCodeAt(o+2)){let t=no(e,"]]>",o,"CDATA is not closed.")-2,a=e.substring(o+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let s=this.parseTextData(a,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==s&&(s=""),n.cdataPropName?r.add(n.cdataPropName,[{[n.textNodeName]:a}]):r.add(n.textNodeName,s),o=t+2}else{let a,l=nl(e,o,n.removeNSPrefix);if(!l){let t=e.substring(Math.max(0,o-50),Math.min(s,o+50));throw Error(`readTagExp returned undefined at position ${o}. Context: "${t}"`)}let c=l.tagName,d=l.rawTagName,m=l.tagExp,u=l.attrExpPresent,p=l.closeIndex;if({tagName:c,tagExp:m}=nm(n.transformTagName,c,m,n),n.strictReservedNames&&(c===n.commentPropName||c===n.cdataPropName||c===n.textNodeName||c===n.attributesGroupName))throw Error(`Invalid tag name: ${c}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&n.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let g=!1;m.length>0&&m.lastIndexOf("/")===m.length-1&&(g=!0,m="/"===c[c.length-1]?c=c.substr(0,c.length-1):m.substr(0,m.length-1),u=c!==m);let f=null;a=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(d),c!==t.tagname&&this.matcher.push(c,{},a),c!==m&&u&&(f=this.buildAttributesMap(m,this.matcher,c))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(f,n),c!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let y=o;if(this.isCurrentNodeStopNode){let t="";if(g)o=l.closeIndex;else if(n.unpairedTagsSet.has(c))o=l.closeIndex;else{let r=this.readStopNodeData(e,d,p+1);if(!r)throw Error(`Unexpected end of ${d}`);o=r.i,t=r.tagContent}let i=new iC(c);f&&(i[":@"]=f),i.add(n.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,y)}else{if(g){({tagName:c,tagExp:m}=nm(n.transformTagName,c,m,n));let e=new iC(c);f&&(e[":@"]=f),this.addChild(r,e,this.readonlyMatcher,y),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(n.unpairedTagsSet.has(c)){let e=new iC(c);f&&(e[":@"]=f),this.addChild(r,e,this.readonlyMatcher,y),this.matcher.pop(),this.isCurrentNodeStopNode=!1,o=l.closeIndex;continue}else{let e=new iC(c);if(this.tagsNodeStack.length>n.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),f&&(e[":@"]=f),this.addChild(r,e,this.readonlyMatcher,y),r=e}i="",o=p}}}else i+=e[o];return t.child};function ni(e,t,r,i){this.options.captureMetaData||(i=void 0);let n=this.options.jPath?r.toString():r,a=this.options.updateTag(t.tagname,n,t[":@"]);!1===a||("string"==typeof a&&(t.tagname=a),e.addChild(t,i))}function nn(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let n=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,n)))return e}if(i.tagFilter){let n=this.options.jPath?r.toString():r;if(!i.tagFilter(t,n))return e}return this.entityDecoder.decode(e)}function na(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function ns(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function no(e,t,r,i){let n=e.indexOf(t,r);if(-1!==n)return n+t.length-1;throw Error(i)}function nl(e,t,r,i=">"){let n=function(e,t,r=">"){let i=0,n=e.length,a=r.charCodeAt(0),s=r.length>1?r.charCodeAt(1):-1,o="",l=t;for(let r=t;r<n;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===a){if(-1===s)return{data:o+=e.substring(l,r),index:r};else if(e.charCodeAt(r+1)===s)return{data:o+=e.substring(l,r),index:r}}else 9!==t||i||(o+=e.substring(l,r)+" ",l=r+1)}}(e,t+1,i);if(!n)return;let a=n.data,s=n.index,o=a.search(/\s/),l=a,c=!0;-1!==o&&(l=a.substring(0,o),a=a.substring(o+1).trimStart());let d=l;if(r){let e=l.indexOf(":");-1!==e&&(c=(l=l.substr(e+1))!==n.data.substr(e+1))}return{tagName:l,tagExp:a,closeIndex:s,attrExpPresent:c,rawTagName:d}}function nc(e,t,r){let i=r,n=1,a=e.length;for(;r<a;r++)if("<"===e[r]){let a=e.charCodeAt(r+1);if(47===a){let a=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,a).trim()===t&&0==--n)return{tagContent:e.substring(i,r),i:a};r=a}else if(63===a)r=no(e,"?>",r+1,"StopNode is not closed.");else if(33===a&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=no(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===a&&91===e.charCodeAt(r+2))r=no(e,"]]>",r,"StopNode is not closed.")-2;else{let i=nl(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&n++,r=i.closeIndex)}}}function nd(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},iD,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=iR(r)))return 0;if(t.hex&&iO.test(r))return iQ(r,16);{if(t.binary&&ik.test(r))return iQ(r,2);if(t.octal&&iT.test(r))return iQ(r,8);if(!isFinite(r)){var i,n=e,a=Number(r),s=t;switch(s.infinity.toLowerCase()){case"null":return null;case"infinity":return a;case"string":return a===1/0?"Infinity":"-Infinity";default:return n}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(iz);if(!i)return e;{let n=i[1]||"",a=-1===i[3].indexOf("e")?"E":"e",s=i[2],o=n?e[s.length+1]===a:e[s.length]===a;if(s.length>1&&o)return e;if(1===s.length&&(i[3].startsWith(`.${a}`)||i[3][0]===a))return Number(t);if(!(s.length>0))return Number(t);else if(r.leadingZeros&&!o)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let o=iM.exec(r);if(!o)return e;{let n=o[1]||"",a=o[2],s=((i=o[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),l=n?"."===e[a.length+1]:"."===e[a.length];if(!t.leadingZeros&&(a.length>1||1===a.length&&!l))return e;{let i=Number(r),o=String(i);if(0===i)return i;if(-1!==o.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===o)return i;else if(o===s)return i;else if(o===`${n}${s}`)return i;else return e;let l=a?s:r;return a?l===o||n+l===o?i:e:l===o||l===n+o?i:e}}}}(e,r)}return void 0!==e?e:""}function nm(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=nu(t,i),tagExp:r}}function nu(e,t){if(io.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return is.includes(e)?t.onDangerousProperty(e):e}let np=iC.getMetaDataSymbol();class nh{constructor(e){this.externalEntities={},this.options=iN(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=ic(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new i8(this.options,this.externalEntities),n=i.parseXml(e);return this.options.preserveOrder||void 0===n?n:(r=this.options,function e(t,r,i,n){let a,s={};for(let o=0;o<t.length;o++){let l=t[o],c=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(l);if(void 0!==c&&c!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(l[":@"]||{},r.attributeNamePrefix);i.push(c,e)}if(c===r.textNodeName)void 0===a?a=l[c]:a+=""+l[c];else if(void 0===c)continue;else if(l[c]){let t=e(l[c],r,i,n),a=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),l[":@"]?function(e,t,r,i){if(t){let n=Object.keys(t),a=n.length;for(let s=0;s<a;s++){let a=n[s],o=a.startsWith(i.attributeNamePrefix)?a.substring(i.attributeNamePrefix.length):a,l=i.jPath?r.toString()+"."+o:r;i.isArray(a,l,!0,!0)?e[a]=[t[a]]:e[a]=t[a]}}}(t,l[":@"],n,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==l[np]&&"object"==typeof t&&null!==t&&(t[np]=l[np]),void 0!==s[c]&&Object.prototype.hasOwnProperty.call(s,c))Array.isArray(s[c])||(s[c]=[s[c]]),s[c].push(t);else{let e=r.jPath?n.toString():n;r.isArray(c,e,a)?s[c]=[t]:s[c]=t}void 0!==c&&c!==r.textNodeName&&i.pop()}}return"string"==typeof a?a.length>0&&(s[r.textNodeName]=a):void 0!==a&&(s[r.textNodeName]=a),s}(n,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return iC.getMetaDataSymbol()}}function ng(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function nf(e,t={}){let r=function(e={}){return{...ng(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new r4(r),n={[r.rootNodeName]:e},a=i.build(n);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${a}`.replace(/\n/g,"")}async function ny(e,t={}){if(!e)throw Error("Document is empty");let r=ic(e);if(!0!==r)throw r;let i=new nh(function(e={}){return{...ng(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let nA=tv("storage-blob");var nb=i(4434);class nx extends e1.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,n=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,a=Math.min(n,i);if(a>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+a;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),a===n?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=a,r+=a}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let nN=t("node:buffer").constants.MAX_LENGTH;class nC{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/nN);for(let t=0;t<i;t++){let r=t===i-1?e%nN:nN;0===r&&(r=nN),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,n=0,a=0,s=0;for(;s<this._size;){let t=e[r],o=this.buffers[i],l=t.copy(o,n,a);s+=l,a+=l,n+=l,a===t.length&&(r++,a=0),n===o.length&&(i++,n=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(a))}getReadableStream(){return new nx(this.buffers,this.size)}}class nS{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new nb.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,n,a){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(n<=0)throw RangeError(`concurrency must be larger than 0, current is ${n}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=n,this.encoding=a}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new nC(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let nI=t("node:module");var nw=i(6760),nE=i(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(o=(0,nI.createRequire)(import.meta.url),l=(0,nE.fileURLToPath)(import.meta.url),c=(0,nw.dirname)(l));var nv=(u="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==l&&(u=u||l),function(e){var t,r,i,n,a,s,l,d,m,p,h=void 0!==(e=e||{})?e:{};h.ready=new Promise(function(e,t){i=e,n=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(h.ready,e)||Object.defineProperty(h.ready,e,{get:()=>j("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>j("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var g=Object.assign({},h),f=[],y="object"==typeof window,A="function"==typeof importScripts,b="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,x=!y&&!b&&!A;if(h.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var N="";if(b){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var C=o("fs"),S=o("path");N=A?S.dirname(N)+"/":c+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),f=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof K))throw e}),process.on("unhandledRejection",function(e){throw e}),h.inspect=function(){return"[Emscripten Module object]"}}else if(x){if("object"==typeof process&&"function"==typeof o||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?f=scriptArgs:"u">typeof arguments&&(f=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(y||A){if(A?N=self.location.href:"u">typeof document&&document.currentScript&&(N=document.currentScript.src),u&&(N=u),N=0!==N.indexOf("blob:")?N.substr(0,N.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var I=h.print||console.log.bind(console),w=h.printErr||console.warn.bind(console);function E(e,t){Object.getOwnPropertyDescriptor(h,e)||Object.defineProperty(h,e,{configurable:!0,get:function(){j("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function v(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(h,g),g=null,Object.getOwnPropertyDescriptor(h,t="fetchSettings")&&j("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),h.arguments&&(f=h.arguments),E("arguments","arguments_"),h.thisProgram&&h.thisProgram,E("thisProgram","thisProgram"),h.quit&&h.quit,E("quit","quit_"),P(void 0===h.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),P(void 0===h.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),P(void 0===h.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),P(void 0===h.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),P(void 0===h.read,"Module.read option was removed (modify read_ in JS)"),P(void 0===h.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),P(void 0===h.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),P(void 0===h.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),P(void 0===h.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),E("read","read_"),E("readAsync","readAsync"),E("readBinary","readBinary"),E("setWindowTitle","setWindowTitle"),P(!x,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),h.wasmBinary&&h.wasmBinary,E("wasmBinary","wasmBinary"),h.noExitRuntime,E("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&j("no native wasm support detected");var B=!1;function P(e,t){e||j("Assertion failed"+(t?": "+t:""))}var R="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function O(e){s=e,h.HEAP8=new Int8Array(e),h.HEAP16=new Int16Array(e),h.HEAP32=new Int32Array(e),h.HEAPU8=l=new Uint8Array(e),h.HEAPU16=new Uint16Array(e),h.HEAPU32=d=new Uint32Array(e),h.HEAPF32=new Float32Array(e),h.HEAPF64=new Float64Array(e)}h.STACK_SIZE&&P(5242880===h.STACK_SIZE,"the stack size can no longer be determined at runtime");var k=h.INITIAL_MEMORY||0x1000000;function T(){if(!B){var e=eo();0==e&&(e+=4);var t=d[e>>2],r=d[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&j("Stack overflow! Stack cookie has been overwritten at "+V(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+V(r)+" "+V(t)),0x63736d65!==d[0]&&j("Runtime error: The application has corrupted its heap memory area (address zero)!")}}E("INITIAL_MEMORY","INITIAL_MEMORY"),P(k>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+k+"! (STACK_SIZE=5242880)"),P("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),P(!h.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),P(0x1000000==k,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var M=new Int16Array(1),D=new Int8Array(M.buffer);if(M[0]=25459,115!==D[0]||99!==D[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var z=[],Q=[],_=[],U=!1;P(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),P(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),P(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),P(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var H=0,L=null,F=null,q={};function j(e){h.onAbort&&h.onAbort(e),w(e="Aborted("+e+")"),B=!0;var t=new WebAssembly.RuntimeError(e);throw n(t),t}var G={error:function(){j("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){G.error()},createDataFile:function(){G.error()},createPreloadedFile:function(){G.error()},createLazyFile:function(){G.error()},open:function(){G.error()},mkdev:function(){G.error()},registerDevice:function(){G.error()},analyzePath:function(){G.error()},loadFilesFromDB:function(){G.error()},ErrnoError:function(){G.error()}};function Y(e){return e.startsWith("file://")}function $(e,t){return function(){var r=t;return t||(r=h.asm),P(U,"native function `"+e+"` called before runtime initialization"),r[e]||P(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}h.FS_createDataFile=G.createDataFile,h.FS_createPreloadedFile=G.createPreloadedFile,(m="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=m,m=h.locateFile?h.locateFile(r,N):N+r);var J="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMFBgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAg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dCFresET3FSSBb+54tJlqIKxwJlNASCJZJUUWm7AmXdK+G0bDoZXcqzcudgtR+6Nbi5ter7bWNSICrm5nRrhKqZnwPj9XC8vQEMUO96dltNQ92sbcU7T8rbTv9hSj2oMmL7GmTLJpAl+mhJaEQgd9LnWPNhtaypNX/LoG06qk7Nxn5FaLuxdtpe7RZkNLeRKhw86uaL+oWthK+56gT8YlU9GlzvhedaQqWJD+MK4b29g7Wcfjt/e8obJs9ytHmcMqKTKnc1YqQlOgB5e7pkQ9V40YX5BSlXUuBC1vWKL7CqWfcz8As0iL3BZGD8hDJvStxU2vV1vrGtRMeJ+fq4VlX9cmz8e6NuQmXhP/D0pYmyJzDDckvonTW/o5B+xO56zQYWdXtF9ULanoUmd8rzpSWVTnT9hIF8Qg3dJ/ELh5u6tGjC9Iqco60s+5H4BZpEXW4qbXq611Da9rk+djXRtyJPDNtztMqPNdefiH87zGjCyq8ydspAtiVSPGF6RUZR3euJhH/EXWnKcxrXc0tbjjoxyyvx9BaavalYeP17EH1FEO2d+PoLRVKIfs70dQ2ioAQYCQwQILnAEgS1AAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function K(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function X(e){for(;e.length>0;)e.shift()(h)}function V(e){return"0x"+e.toString(16).padStart(8,"0")}function W(e){W.shown||(W.shown={}),W.shown[e]||(W.shown[e]=1,b&&(e="warning: "+e),w(e))}var Z=[null,[],[]],ee={abort:function(){j("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(P((e>>>=0)>t),e>0x80000000)return w("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var n=t*(1+.2/i);n=Math.min(n,e+0x6000000);var o=Math.min(0x80000000,r(Math.max(e,n),65536));if(function(e){try{return a.grow(e-s.byteLength+65535>>>16),O(a.buffer),1}catch(t){w("emscripten_realloc_buffer: Attempted to grow heap from "+s.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(o))return!0}return w("Failed to grow the heap from "+t+" bytes to "+o+" bytes, not enough memory!"),!1},fd_close:function(e){j("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,n){return 70},fd_write:function(e,t,r,i){for(var n=0,a=0;a<r;a++){var s=d[t>>2],o=d[t+4>>2];t+=8;for(var c=0;c<o;c++)!function(e,t){var r=Z[e];P(r),0===t||10===t?((1===e?I:w)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&R)return R.decode(e.subarray(t,i));for(var n="";t<i;){var a=e[t++];if(!(128&a)){n+=String.fromCharCode(a);continue}var s=63&e[t++];if((224&a)==192){n+=String.fromCharCode((31&a)<<6|s);continue}var o=63&e[t++];if((240&a)==224?a=(15&a)<<12|s<<6|o:((248&a)!=240&&W("Invalid UTF-8 leading byte "+V(a)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),a=(7&a)<<18|s<<12|o<<6|63&e[t++]),a<65536)n+=String.fromCharCode(a);else{var l=a-65536;n+=String.fromCharCode(55296|l>>10,56320|1023&l)}}return n}(r,0)),r.length=0):r.push(t)}(e,l[s+c]);n+=o}return d[i>>2]=n,0}};!function(){var e,t,r={env:ee,wasi_snapshot_preview1:ee};function i(e,t){h.asm=e.exports,P(a=h.asm.memory,"memory not found in wasm exports"),O(a.buffer),P(h.asm.__indirect_function_table,"table not found in wasm exports"),r=h.asm.__wasm_call_ctors,Q.unshift(r);var r,i="wasm-instantiate";if(H--,h.monitorRunDependencies&&h.monitorRunDependencies(H),i?(P(q[i]),delete q[i]):w("warning: run dependency removed without ID"),0==H&&(null!==L&&(clearInterval(L),L=null),F)){var n=F;F=null,n()}}e="wasm-instantiate",H++,h.monitorRunDependencies&&h.monitorRunDependencies(H),e?(P(!q[e]),q[e]=1,null===L&&"u">typeof setInterval&&(L=setInterval(function(){if(B){clearInterval(L),L=null;return}var e=!1;for(var t in q)e||(e=!0,w("still waiting on run dependencies:")),w("dependency: "+t);e&&w("(end of list)")},1e4))):w("warning: run dependency added without ID");var s=h;if(h.instantiateWasm)try{return h.instantiateWasm(r,i)}catch(e){w("Module.instantiateWasm callback failed with error: "+e),n(e)}(t=function(e){P(h===s,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),s=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(J,"base64");for(var e=window.atob(J),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){w("failed to asynchronously prepare wasm: "+e),Y(m)&&w("warning: Loading from a file URI ("+m+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),j(e)})).catch(n)}(),h.___wasm_call_ctors=$("__wasm_call_ctors");var et=h._emscripten_bind_VoidPtr___destroy___0=$("emscripten_bind_VoidPtr___destroy___0"),er=h._emscripten_bind_Crc64Hash_Crc64Hash_0=$("emscripten_bind_Crc64Hash_Crc64Hash_0"),ei=h._emscripten_bind_Crc64Hash_OnAppend_2=$("emscripten_bind_Crc64Hash_OnAppend_2"),en=h._emscripten_bind_Crc64Hash_OnFinal_3=$("emscripten_bind_Crc64Hash_OnFinal_3"),ea=h._emscripten_bind_Crc64Hash___destroy___0=$("emscripten_bind_Crc64Hash___destroy___0");h.___errno_location=$("__errno_location"),h._fflush=$("fflush"),h._malloc=$("malloc"),h._free=$("free");var es=h._emscripten_stack_init=function(){return(es=h._emscripten_stack_init=h.asm.emscripten_stack_init).apply(null,arguments)},eo=(h._emscripten_stack_get_free=function(){return(h._emscripten_stack_get_free=h.asm.emscripten_stack_get_free).apply(null,arguments)},h._emscripten_stack_get_base=function(){return(h._emscripten_stack_get_base=h.asm.emscripten_stack_get_base).apply(null,arguments)},h._emscripten_stack_get_end=function(){return(eo=h._emscripten_stack_get_end=h.asm.emscripten_stack_get_end).apply(null,arguments)});function el(e){var t,r;if(e=e||f,!(H>0)){if(es(),P((3&(t=eo()))==0),0==t&&(t+=4),d[t>>2]=0x2135467,d[t+4>>2]=0x89bacdfe,d[0]=0x63736d65,h.preRun)for("function"==typeof h.preRun&&(h.preRun=[h.preRun]);h.preRun.length;){r=h.preRun.shift(),z.unshift(r)}X(z),H>0||(h.setStatus?(h.setStatus("Running..."),setTimeout(function(){setTimeout(function(){h.setStatus("")},1),n()},1)):n(),T())}function n(){if(!p&&(p=!0,h.calledRun=!0,!B)){if(P(!U),U=!0,T(),X(Q),i(h),h.onRuntimeInitialized&&h.onRuntimeInitialized(),P(!h._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),T(),h.postRun)for("function"==typeof h.postRun&&(h.postRun=[h.postRun]);h.postRun.length;){var e;e=h.postRun.shift(),_.unshift(e)}X(_)}}}if(h.stackSave=$("stackSave"),h.stackRestore=$("stackRestore"),h.stackAlloc=$("stackAlloc"),h._emscripten_stack_get_current=function(){return(h._emscripten_stack_get_current=h.asm.emscripten_stack_get_current).apply(null,arguments)},h.dynCall_jiji=$("dynCall_jiji"),h.___start_em_js=5261488,h.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(h,e)||Object.defineProperty(h,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";v(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),j(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",v(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),W(t)}})}),F=function e(){p||el(),p||(F=e)},h.preInit)for("function"==typeof h.preInit&&(h.preInit=[h.preInit]);h.preInit.length>0;)h.preInit.pop()();function ec(){}function ed(e){return(e||ec).__cache__}function em(e,t){var r=ed(t),i=r[e];return i||((i=Object.create((t||ec).prototype)).ptr=e,r[e]=i)}function eu(){throw"cannot construct a VoidPtr, no constructor in IDL"}function ep(){this.ptr=er(),ed(ep)[this.ptr]=this}return el(),ec.prototype=Object.create(ec.prototype),ec.prototype.constructor=ec,ec.prototype.__class__=ec,ec.__cache__={},h.WrapperObject=ec,h.getCache=ed,h.wrapPointer=em,h.castObject=function(e,t){return em(e.ptr,t)},h.NULL=em(0),h.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ed(e.__class__)[e.ptr]},h.compare=function(e,t){return e.ptr===t.ptr},h.getPointer=function(e){return e.ptr},h.getClass=function(e){return e.__class__},eu.prototype=Object.create(ec.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},h.VoidPtr=eu,eu.prototype.__destroy__=eu.prototype.__destroy__=function(){et(this.ptr)},ep.prototype=Object.create(ec.prototype),ep.prototype.constructor=ep,ep.prototype.__class__=ep,ep.__cache__={},h.Crc64Hash=ep,ep.prototype.OnAppend=ep.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),ei(r,e,t)},ep.prototype.OnFinal=ep.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),en(i,e,t,r)},ep.prototype.__destroy__=ep.prototype.__destroy__=function(){ea(this.ptr)},e.ready});class nB{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new nB.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=nv().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=nB.nativeInstance._malloc(t);nB.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),nB.nativeInstance._free(r)}final(e,t){let r=nB.nativeInstance._malloc(t);nB.nativeInstance.HEAPU8.set(e,r);let i=nB.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),nB.nativeInstance._free(r);let n=new Uint8Array(8);return n.set(nB.nativeInstance.HEAPU8.subarray(i,i+8)),nB.nativeInstance._free(i),n}}(p=v||(v={}))[p.StreamHeader=0]="StreamHeader",p[p.StreamFooter=1]="StreamFooter",p[p.SegmentHeader=2]="SegmentHeader",p[p.SegmentFooter=3]="SegmentFooter",p[p.SegmentContent=4]="SegmentContent",p[p.Completed=5]="Completed";class nP{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=v.StreamHeader,this.segmentCrc64=new nB,this.messageCrc64=new nB}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===v.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===v.SegmentHeader&&this.handlingSegmentHeader(),this.state===v.SegmentContent&&this.handlingSegmentContent(e),this.state===v.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===v.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=v.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=v.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=v.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new nB,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=v.StreamFooter:this.state=v.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=v.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function nR(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof e1&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new nT(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new nT(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await nk(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new e1.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new nT(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=e1.Readable.from(Buffer.from(e)),i=await new nT(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=e1.Readable.from(e),i=await new nT(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=e1.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new nT(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function nO(e,t,r){let{done:i,value:n}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(n))}async function nk(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),n=new Response(new ReadableStream({start(e){r=new nP(t=>{e.enqueue(t)},t)},pull(e){nO(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await n.blob(),encodedContentLength:r.messageLength}}class nT extends e1.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new nP(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new tD("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(h=B||(B={}))[h.StreamHeader=0]="StreamHeader",h[h.StreamFooter=1]="StreamFooter",h[h.SegmentHeader=2]="SegmentHeader",h[h.SegmentFooter=3]="SegmentFooter",h[h.SegmentContent=4]="SegmentContent";class nM{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=B.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new nB,this.messageCrc64=new nB}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===B.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===B.SegmentHeader&&this.parseSegmentHeader(e),this.state===B.SegmentContent&&this.parseSegmentContent(e),this.state===B.SegmentFooter&&this.parseSegmentFooter(e);this.state===B.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=B.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=B.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=B.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=B.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new nB,this.state=B.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class nD extends e1.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new nM(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new tD("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class nz{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class nQ extends nz{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class n_{create(e,t){return new nQ(e,t)}}class nU extends nz{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class nH extends nU{constructor(e,t){super(e,t)}}class nL{create(e,t){throw Error("Method should be implemented in children classes.")}}class nF extends nL{create(e,t){return new nH(e,t)}}let nq="timeout",nj="Authorization",nG="Content-Encoding",nY="Content-Language",n$="Content-Length",nJ="Content-Md5",nK="Content-Type",nX="date",nV="if-match",nW="if-modified-since",nZ="if-none-match",n0="if-unmodified-since",n1="x-ms-",n2="Range",n3="x-ms-date",n6="x-ms-copy-source-error-code";function n5(e,t,r){let i=new URL(e),n=encodeURIComponent(t),a=r?encodeURIComponent(r):void 0,s=""===i.search?"?":i.search,o=[];for(let e of s.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&o.push(e)}return a&&o.push(`${n}=${a}`),i.search=o.length?`?${o.join("&")}`:"",i.toString()}function n4(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function n8(e){try{return new URL(e).pathname}catch(e){return}}function n9(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],n=t[1];i[r]=n}return i}async function n7(e,t,r){return new Promise((i,n)=>{let a,s=()=>{void 0!==a&&clearTimeout(a),n(r)};a=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",s),i()},e),void 0!==t&&t.addEventListener("abort",s)})}let ae=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),at=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),ar=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function ai(e,t){return!function(e,t){let r=[ae,at,ar],i=0,n=0,a=0;for(;i<r.length;){if(i===r.length-1&&n!==a)return n>a;let s=n<e.length?r[i][e[n].charCodeAt(0)]:1,o=a<t.length?r[i][t[a].charCodeAt(0)]:1;if(1===s&&1===o)n=0,a=0,++i;else if(s===o)++n,++a;else if(0===s)++n;else{if(0!==o)return s<o;++a}}return!1}(e,t)?1:-1}class an extends nU{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(n3,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(n$,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,nY),this.getHeaderValueToSign(e,nG),this.getHeaderValueToSign(e,n$),this.getHeaderValueToSign(e,nJ),this.getHeaderValueToSign(e,nK),this.getHeaderValueToSign(e,nX),this.getHeaderValueToSign(e,nW),this.getHeaderValueToSign(e,nV),this.getHeaderValueToSign(e,nZ),this.getHeaderValueToSign(e,n0),this.getHeaderValueToSign(e,n2)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(nj,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==n$||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(n1));t.sort((e,t)=>ai(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}getCanonicalizedResourceString(e){let t=n8(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=n9(e.url),n={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();n[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` +${t}:${decodeURIComponent(n[t])}`}return r}}class aa extends nL{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new an(e,t,this)}computeHMACSHA256(e){return(0,eu.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let as=tv("storage-common");(g=P||(P={}))[g.EXPONENTIAL=0]="EXPONENTIAL",g[g.FIXED=1]="FIXED";let ao={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:P.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},al=new tD("The operation was aborted.");class ac extends nz{retryOptions;constructor(e,t,r=ao){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:ao.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):ao.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:ao.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:ao.maxRetryDelayInMs):ao.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:ao.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:ao.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,n=e.clone(),a=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;a||(n.url=n4(n.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(n.url=n5(n.url,nq,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(as.info(`RetryPolicy: =====> Try=${r} ${a?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(n),!this.shouldRetry(a,r,i))return i;t=t||!a&&404===i.status}catch(e){if(as.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(a,r,i,e))throw e}return await this.delay(a,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return as.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return as.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return as.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return as.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(n6);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(as.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case P.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case P.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return as.info(`RetryPolicy: Delay for ${i}ms`),n7(i,r,al)}}class ad{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new ac(e,t,this.retryOptions)}}let am={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:P.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},au=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],ap=new tD("The operation was aborted.");class ah{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,eu.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let ag="12.33.0",af="2026-06-06",ay="snapshot",aA="versionid",ab=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],ax=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],aN=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function aC(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class aS{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function aI(e,t={}){e||(e=new nF);let r=new aS([],t);return r._credential=e,r}function aw(e){if(e._credential)return e._credential;let t=new nF;for(let r of e.factories)if(t0(r.credential))t=r.credential;else if(aE(r))return r;return t}function aE(e){return e instanceof aa||"StorageSharedKeyCredential"===e.constructor.name}function av(e){return e instanceof nF||"AnonymousCredential"===e.constructor.name}function aB(e){return t0(e.credential)}function aP(e){return e instanceof n_||"StorageBrowserPolicyFactory"===e.constructor.name}function aR(e){return e instanceof ad||"StorageRetryPolicyFactory"===e.constructor.name}function aO(e){return"TelemetryPolicyFactory"===e.constructor.name}function ak(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(R||(R={})).AES256="AES256",(O||(O={})).Backup="backup",(f=k||(k={})).NeverExpire="NeverExpire",f.RelativeToCreation="RelativeToCreation",f.RelativeToNow="RelativeToNow",f.Absolute="Absolute",(y=T||(T={})).AccountAlreadyExists="AccountAlreadyExists",y.AccountBeingCreated="AccountBeingCreated",y.AccountIsDisabled="AccountIsDisabled",y.AuthenticationFailed="AuthenticationFailed",y.AuthorizationFailure="AuthorizationFailure",y.ConditionHeadersNotSupported="ConditionHeadersNotSupported",y.ConditionNotMet="ConditionNotMet",y.EmptyMetadataKey="EmptyMetadataKey",y.InsufficientAccountPermissions="InsufficientAccountPermissions",y.InternalError="InternalError",y.InvalidAuthenticationInfo="InvalidAuthenticationInfo",y.InvalidHeaderValue="InvalidHeaderValue",y.InvalidHttpVerb="InvalidHttpVerb",y.InvalidInput="InvalidInput",y.InvalidMd5="InvalidMd5",y.InvalidMetadata="InvalidMetadata",y.InvalidQueryParameterValue="InvalidQueryParameterValue",y.InvalidRange="InvalidRange",y.InvalidResourceName="InvalidResourceName",y.InvalidUri="InvalidUri",y.InvalidXmlDocument="InvalidXmlDocument",y.InvalidXmlNodeValue="InvalidXmlNodeValue",y.Md5Mismatch="Md5Mismatch",y.MetadataTooLarge="MetadataTooLarge",y.MissingContentLengthHeader="MissingContentLengthHeader",y.MissingRequiredQueryParameter="MissingRequiredQueryParameter",y.MissingRequiredHeader="MissingRequiredHeader",y.MissingRequiredXmlNode="MissingRequiredXmlNode",y.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",y.OperationTimedOut="OperationTimedOut",y.OutOfRangeInput="OutOfRangeInput",y.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",y.RequestBodyTooLarge="RequestBodyTooLarge",y.ResourceTypeMismatch="ResourceTypeMismatch",y.RequestUrlFailedToParse="RequestUrlFailedToParse",y.ResourceAlreadyExists="ResourceAlreadyExists",y.ResourceNotFound="ResourceNotFound",y.ServerBusy="ServerBusy",y.UnsupportedHeader="UnsupportedHeader",y.UnsupportedXmlNode="UnsupportedXmlNode",y.UnsupportedQueryParameter="UnsupportedQueryParameter",y.UnsupportedHttpVerb="UnsupportedHttpVerb",y.AppendPositionConditionNotMet="AppendPositionConditionNotMet",y.BlobAlreadyExists="BlobAlreadyExists",y.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",y.BlobNotFound="BlobNotFound",y.BlobOverwritten="BlobOverwritten",y.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",y.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",y.BlockCountExceedsLimit="BlockCountExceedsLimit",y.BlockListTooLong="BlockListTooLong",y.CannotChangeToLowerTier="CannotChangeToLowerTier",y.CannotVerifyCopySource="CannotVerifyCopySource",y.ContainerAlreadyExists="ContainerAlreadyExists",y.ContainerBeingDeleted="ContainerBeingDeleted",y.ContainerDisabled="ContainerDisabled",y.ContainerNotFound="ContainerNotFound",y.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",y.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",y.CopyIdMismatch="CopyIdMismatch",y.FeatureVersionMismatch="FeatureVersionMismatch",y.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",y.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",y.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",y.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",y.InvalidBlobOrBlock="InvalidBlobOrBlock",y.InvalidBlobTier="InvalidBlobTier",y.InvalidBlobType="InvalidBlobType",y.InvalidBlockId="InvalidBlockId",y.InvalidBlockList="InvalidBlockList",y.InvalidOperation="InvalidOperation",y.InvalidPageRange="InvalidPageRange",y.InvalidSourceBlobType="InvalidSourceBlobType",y.InvalidSourceBlobUrl="InvalidSourceBlobUrl",y.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",y.LeaseAlreadyPresent="LeaseAlreadyPresent",y.LeaseAlreadyBroken="LeaseAlreadyBroken",y.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",y.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",y.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",y.LeaseIdMissing="LeaseIdMissing",y.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",y.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",y.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",y.LeaseLost="LeaseLost",y.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",y.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",y.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",y.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",y.NoAuthenticationInformation="NoAuthenticationInformation",y.NoPendingCopyOperation="NoPendingCopyOperation",y.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",y.PendingCopyOperation="PendingCopyOperation",y.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",y.PreviousSnapshotNotFound="PreviousSnapshotNotFound",y.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",y.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",y.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",y.SnapshotCountExceeded="SnapshotCountExceeded",y.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",y.SnapshotsPresent="SnapshotsPresent",y.SourceConditionNotMet="SourceConditionNotMet",y.SystemInUse="SystemInUse",y.TargetConditionNotMet="TargetConditionNotMet",y.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",y.BlobBeingRehydrated="BlobBeingRehydrated",y.BlobArchived="BlobArchived",y.BlobNotArchived="BlobNotArchived",y.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",y.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",y.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",y.AuthorizationServiceMismatch="AuthorizationServiceMismatch",y.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",y.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let aT={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},aM={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},aD={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},az={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},aQ={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},a_={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},aU={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},aH={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},aL={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},aF={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},aq={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},aj={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},aG={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},aY={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},a$={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},aJ={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},aK={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},aX={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},aV={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},aW={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},aZ={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},a0={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},a1={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},a2={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},a3={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},a6={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},a5={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},a4={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},a8={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},a9={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},a7={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},se={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},st={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},sr={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},si={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},sn={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},sa={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},ss={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},so={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},sl={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},sc={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},sd={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sm={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},su={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sp={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sh={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sg={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sf={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sy={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sA={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sb={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sx={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sN={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sC={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sS={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sI={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sw={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sE={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sv={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sB={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sP={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sR={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sO={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sk={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sT={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sM={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sD={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sz={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sQ={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s_={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sU={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sH={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sL={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sF={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},sq={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sj={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sG={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sY={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},s$={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sJ={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sK={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sX={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sV={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},sW={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},sZ={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s0={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},s1={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s2={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s3={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s6={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s5={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s4={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},s8={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},s9={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},s7={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oe={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ot={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},or={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oi={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},on={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oa={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},os={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oo={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ol={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oc={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},od={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},om={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ou={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},op={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oh={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},og={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},of={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oy={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oA={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ob={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ox={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oN={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oC={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},oS={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oI={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ow={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oE={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ov={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oB={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oP={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oR={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oO={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},ok={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oT={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},oM={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oD={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oz={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oQ={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o_={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},oU={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oH={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},oL={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oF={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oq={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oj={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oG={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oY={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o$={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oJ={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oK={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oX={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oV={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oW={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},oZ={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},o0={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o1={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o2={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o3={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o6={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o5={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o4={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o8={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o9={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},o7={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},le={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lt={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lr={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},li={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ln={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},la={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},ls={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},lo={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ll={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lc={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ld={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lm={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},lu={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lp={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lh={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lg={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},lf={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ly={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lA={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lb={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},lx={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},lN={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},lC={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},lS={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},lI={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lw={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},lE={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},lv={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},lB={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},lP={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lR={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},lO={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},lk={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},lT={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},lM={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},lD={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},lz={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lQ={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},l_={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},lU={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lH={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},lL={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},lF={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},lq={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},lj={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},lG={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},lY={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},l$={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lJ={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lK={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lX={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},lV={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},lW={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},lZ={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},l0={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},l1={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},l2={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},l3={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},l6={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},l5={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},l4={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},l8={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},l9={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},l7={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},ce={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},ct={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},cr={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},ci={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},cn={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},ca={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},cs={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},co={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},cl={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},cc={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},cd={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},cm={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},cu={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},cp={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},ch={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},cg={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cf={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},cy={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},cA={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},cb={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},cx={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},cN={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},cC={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},cS={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},cI={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},cw={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},cE={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},cv={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},cB={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},cP={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},cR={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},cO={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},ck={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},cT={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cM={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},cD={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},cz={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},cQ={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},c_={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},cU={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},cH={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},cL={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},cF={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},cq={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},cj={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},cG={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},cY={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},c$={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},cJ={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},cK={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},cX={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},cV={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},cW={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},cZ={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},c0={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},c1={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},c2={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},c3={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},c6={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},c5={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},c4={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},c8={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},c9={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},c7={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},de={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class dt{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},di)}getProperties(e){return this.client.sendOperationRequest({options:e},dn)}getStatistics(e){return this.client.sendOperationRequest({options:e},da)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},ds)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},dl)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},dc)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},dd)}filterBlobs(e){return this.client.sendOperationRequest({options:e},dm)}}let dr=t9(q,!0),di={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:sd},default:{bodyMapper:aU,headersMapper:sm}},requestBody:{parameterPath:"blobServiceProperties",mapper:aT},queryParameters:[lS,lI,lw],urlParameters:[lC],headerParameters:[lx,lN,lE,lv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dr},dn={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aT,headersMapper:su},default:{bodyMapper:aU,headersMapper:sp}},queryParameters:[lS,lI,lw],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr},da={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aH,headersMapper:sh},default:{bodyMapper:aU,headersMapper:sg}},queryParameters:[lS,lw,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr},ds={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:aF,headersMapper:sf},default:{bodyMapper:aU,headersMapper:sy}},queryParameters:[lw,lP,lR,lO,lk,lT],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr},dl={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:aY,headersMapper:sA},default:{bodyMapper:aU,headersMapper:sb}},requestBody:{parameterPath:"keyInfo",mapper:aG},queryParameters:[lS,lw,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lx,lN,lE,lv],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dr},dc={path:"/",httpMethod:"GET",responses:{200:{headersMapper:sx},default:{bodyMapper:aU,headersMapper:sN}},queryParameters:[lI,lw,lM],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr},dd={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:sC},default:{bodyMapper:aU,headersMapper:sS}},requestBody:lD,queryParameters:[lw,lz],urlParameters:[lC],headerParameters:[lN,lE,lv,lQ,l_],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dr},dm={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:a$,headersMapper:sI},default:{bodyMapper:aU,headersMapper:sw}},queryParameters:[lw,lO,lk,lU,lH],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dr};class du{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},dh)}getProperties(e){return this.client.sendOperationRequest({options:e},dg)}delete(e){return this.client.sendOperationRequest({options:e},df)}setMetadata(e){return this.client.sendOperationRequest({options:e},dy)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},dA)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},db)}restore(e){return this.client.sendOperationRequest({options:e},dx)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},dN)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},dC)}filterBlobs(e){return this.client.sendOperationRequest({options:e},dS)}acquireLease(e){return this.client.sendOperationRequest({options:e},dI)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dw)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dE)}breakLease(e){return this.client.sendOperationRequest({options:e},dv)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},dB)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},dP)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},dR)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},dO)}}let dp=t9(q,!0),dh={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:sE},default:{bodyMapper:aU,headersMapper:sv}},queryParameters:[lw,lL],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lq,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:dp},dg={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:sB},default:{bodyMapper:aU,headersMapper:sP}},queryParameters:[lw,lL],urlParameters:[lC],headerParameters:[lE,lv,lB,lj],isXML:!0,serializer:dp},df={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:sR},default:{bodyMapper:aU,headersMapper:sO}},queryParameters:[lw,lL],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY],isXML:!0,serializer:dp},dy={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sk},default:{bodyMapper:aU,headersMapper:sT}},queryParameters:[lw,lL,l$],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG],isXML:!0,serializer:dp},dA={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:sM},default:{bodyMapper:aU,headersMapper:sD}},queryParameters:[lw,lL,lJ],urlParameters:[lC],headerParameters:[lE,lv,lB,lj],isXML:!0,serializer:dp},db={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sz},default:{bodyMapper:aU,headersMapper:sQ}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[lw,lL,lJ],urlParameters:[lC],headerParameters:[lx,lN,lE,lv,lq,lj,lG,lY],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dp},dx={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:s_},default:{bodyMapper:aU,headersMapper:sU}},queryParameters:[lw,lL,lK],urlParameters:[lC],headerParameters:[lE,lv,lB,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:dp},dN={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sH},default:{bodyMapper:aU,headersMapper:sL}},queryParameters:[lw,lL,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:dp},dC={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:sF},default:{bodyMapper:aU,headersMapper:sq}},requestBody:lD,queryParameters:[lw,lz,lL],urlParameters:[lC],headerParameters:[lN,lE,lv,lQ,l_],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dp},dS={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:a$,headersMapper:sj},default:{bodyMapper:aU,headersMapper:sG}},queryParameters:[lw,lO,lk,lU,lH,lL],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dp},dI={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:sY},default:{bodyMapper:aU,headersMapper:s$}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,lV,lW,lZ],isXML:!0,serializer:dp},dw={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sJ},default:{bodyMapper:aU,headersMapper:sK}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l0,l1],isXML:!0,serializer:dp},dE={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:sX},default:{bodyMapper:aU,headersMapper:sV}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l1,l2],isXML:!0,serializer:dp},dv={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:sW},default:{bodyMapper:aU,headersMapper:sZ}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l3,l6],isXML:!0,serializer:dp},dB={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:s0},default:{bodyMapper:aU,headersMapper:s1}},queryParameters:[lw,lL,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l1,l5,l4],isXML:!0,serializer:dp},dP={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:aZ,headersMapper:s2},default:{bodyMapper:aU,headersMapper:s3}},queryParameters:[lw,lP,lR,lO,lk,lL,l8,l9],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dp},dR={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:a6,headersMapper:s6},default:{bodyMapper:aU,headersMapper:s5}},queryParameters:[lw,lP,lR,lO,lk,lL,l8,l9,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dp},dO={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:s4},default:{bodyMapper:aU,headersMapper:s8}},queryParameters:[lI,lw,lM],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dp};class dk{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},dM)}getProperties(e){return this.client.sendOperationRequest({options:e},dD)}delete(e){return this.client.sendOperationRequest({options:e},dz)}undelete(e){return this.client.sendOperationRequest({options:e},dQ)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},d_)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},dU)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},dH)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},dL)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},dF)}setMetadata(e){return this.client.sendOperationRequest({options:e},dq)}acquireLease(e){return this.client.sendOperationRequest({options:e},dj)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dG)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},dY)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},d$)}breakLease(e){return this.client.sendOperationRequest({options:e},dJ)}createSnapshot(e){return this.client.sendOperationRequest({options:e},dK)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},dX)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},dV)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},dW)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},dZ)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},d0)}query(e){return this.client.sendOperationRequest({options:e},d1)}getTags(e){return this.client.sendOperationRequest({options:e},d2)}setTags(e){return this.client.sendOperationRequest({options:e},d3)}}let dT=t9(q,!0),dM={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:s9},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:s9},default:{bodyMapper:aU,headersMapper:s7}},queryParameters:[lw,l7,ce],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ct,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},cr,ci,cn,ca,cs,co,cl],isXML:!0,serializer:dT},dD={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:oe},default:{bodyMapper:aU,headersMapper:ot}},queryParameters:[lw,l7,ce],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ci,cn,ca,cs,co,cl],isXML:!0,serializer:dT},dz={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:or},default:{bodyMapper:aU,headersMapper:oi}},queryParameters:[lw,l7,ce,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,cs,co,cl,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:dT},dQ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:on},default:{bodyMapper:aU,headersMapper:oa}},queryParameters:[lw,lK],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dT},d_={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:os},default:{bodyMapper:aU,headersMapper:oo}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:dT},dU={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ol},default:{bodyMapper:aU,headersMapper:oc}},queryParameters:[lI,lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,cs,co,cl,cc,cd,cm,cu,cp,ch],isXML:!0,serializer:dT},dH={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:od},default:{bodyMapper:aU,headersMapper:om}},queryParameters:[lw,l7,ce,cg],urlParameters:[lC],headerParameters:[lE,lv,lB,lY,cf,cy],isXML:!0,serializer:dT},dL={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:ou},default:{bodyMapper:aU,headersMapper:op}},queryParameters:[lw,l7,ce,cg],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dT},dF={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oh},default:{bodyMapper:aU,headersMapper:og}},queryParameters:[lw,l7,ce,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:dT},dq={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:of},default:{bodyMapper:aU,headersMapper:oy}},queryParameters:[lw,l$],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cA],isXML:!0,serializer:dT},dj={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oA},default:{bodyMapper:aU,headersMapper:ob}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,lV,lW,lZ,cs,co,cl],isXML:!0,serializer:dT},dG={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ox},default:{bodyMapper:aU,headersMapper:oN}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l0,l1,cs,co,cl],isXML:!0,serializer:dT},dY={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oC},default:{bodyMapper:aU,headersMapper:oS}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l1,l2,cs,co,cl],isXML:!0,serializer:dT},d$={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oI},default:{bodyMapper:aU,headersMapper:ow}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l1,l5,l4,cs,co,cl],isXML:!0,serializer:dT},dJ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:oE},default:{bodyMapper:aU,headersMapper:ov}},queryParameters:[lw,lX],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,l3,l6,cs,co,cl],isXML:!0,serializer:dT},dK={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oB},default:{bodyMapper:aU,headersMapper:oP}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cA],isXML:!0,serializer:dT},dX={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:oR},default:{bodyMapper:aU,headersMapper:oO}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG,lY,cs,co,cl,cf,cy,cb,cx,cN,cC,cS,cI,cw,cE,cv,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},cB],isXML:!0,serializer:dT},dV={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:ok},default:{bodyMapper:aU,headersMapper:oT}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lF,lj,lG,lY,cs,co,cl,cf,cy,cA,cb,cN,cC,cS,cI,cE,cv,cB,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},cP,cR,cO,ck],isXML:!0,serializer:dT},dW={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:oM},default:{bodyMapper:aU,headersMapper:oD}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:dT},dZ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:oz},202:{headersMapper:oz},default:{bodyMapper:aU,headersMapper:oQ}},queryParameters:[lw,l7,ce,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,cl,cx,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:dT},d0={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:o_},default:{bodyMapper:aU,headersMapper:oU}},queryParameters:[lI,lw,lM],urlParameters:[lC],headerParameters:[lE,lv,lB],isXML:!0,serializer:dT},d1={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oH},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:oH},default:{bodyMapper:aU,headersMapper:oL}},requestBody:{parameterPath:["options","queryRequest"],mapper:si},queryParameters:[lw,l7,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lx,lN,lE,lv,lj,lG,lY,ci,cn,ca,cs,co,cl],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dT},d2={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:aK,headersMapper:oF},default:{bodyMapper:aU,headersMapper:oq}},queryParameters:[lw,l7,ce,cT],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,cl,cM,cD,cz,cQ],isXML:!0,serializer:dT},d3={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:oj},default:{bodyMapper:aU,headersMapper:oG}},requestBody:{parameterPath:["options","tags"],mapper:aK},queryParameters:[lw,ce,cT],urlParameters:[lC],headerParameters:[lx,lN,lE,lv,lj,cl,cM,cD,cz,cQ,c_,cU],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:dT};class d6{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},d4)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},d8)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},d9)}uploadPagesFromURL(e,t,r,i,n){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:n},d7)}getPageRanges(e){return this.client.sendOperationRequest({options:e},me)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},mt)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},mr)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},mi)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},mn)}}let d5=t9(q,!0),d4={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oY},default:{bodyMapper:aU,headersMapper:o$}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cf,cy,cA,cb,cv,cB,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},cH,cL],isXML:!0,serializer:d5},d8={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oJ},default:{bodyMapper:aU,headersMapper:oK}},requestBody:cq,queryParameters:[lw,cG],urlParameters:[lC],headerParameters:[lE,lv,lQ,lj,lG,lY,ct,cr,ci,cn,ca,cs,co,cl,cA,c_,cU,cF,cj,cY,c$,cJ,cK,cX],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:d5},d9={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oX},default:{bodyMapper:aU,headersMapper:oV}},queryParameters:[lw,cG],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lj,lG,lY,ct,ci,cn,ca,cs,co,cl,cA,c$,cJ,cK,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:d5},d7={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:oW},default:{bodyMapper:aU,headersMapper:oZ}},queryParameters:[lw,cG],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lj,lG,lY,ci,cn,ca,cs,co,cl,cA,cN,cC,cS,cI,cP,cR,ck,cY,c$,cJ,cK,cV,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},cW,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},cZ,c0,c1],isXML:!0,serializer:d5},me={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:se,headersMapper:o0},default:{bodyMapper:aU,headersMapper:o1}},queryParameters:[lw,lO,lk,l7,c2],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ct,cs,co,cl],isXML:!0,serializer:d5},mt={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:se,headersMapper:o2},default:{bodyMapper:aU,headersMapper:o3}},queryParameters:[lw,lO,lk,l7,c2,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ct,cs,co,cl,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:d5},mr={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:o6},default:{bodyMapper:aU,headersMapper:o5}},queryParameters:[lI,lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,ci,cn,ca,cs,co,cl,cA,cH],isXML:!0,serializer:d5},mi={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:o4},default:{bodyMapper:aU,headersMapper:o8}},queryParameters:[lI,lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,cs,co,cl,cL,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:d5},mn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:o9},default:{bodyMapper:aU,headersMapper:o7}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lG,lY,cs,co,cl,cE],isXML:!0,serializer:d5};class ma{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},mo)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},ml)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},mc)}seal(e){return this.client.sendOperationRequest({options:e},md)}}let ms=t9(q,!0),mo={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:le},default:{bodyMapper:aU,headersMapper:lt}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cf,cy,cA,cv,cB,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:ms},ml={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lr},default:{bodyMapper:aU,headersMapper:li}},requestBody:cq,queryParameters:[lw,c3],urlParameters:[lC],headerParameters:[lE,lv,lQ,lj,lG,lY,cr,ci,cn,ca,cs,co,cl,cA,c_,cU,cF,cj,cX,c6,c5],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ms},mc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ln},default:{bodyMapper:aU,headersMapper:la}},queryParameters:[lw,c3],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lj,lG,lY,ci,cn,ca,cs,co,cl,cA,cN,cC,cS,cI,cP,cR,ck,c_,cV,cW,cZ,c0,c1,c6,c5,c4],isXML:!0,serializer:ms},md={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ls},default:{bodyMapper:aU,headersMapper:lo}},queryParameters:[lw,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,lG,lY,cs,co,c5],isXML:!0,serializer:ms};class mm{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},mp)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},mh)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},mg)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},mf)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},my)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},mA)}}let mu=t9(q,!0),mp={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ll},default:{bodyMapper:aU,headersMapper:lc}},requestBody:cq,queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lQ,lF,lj,lG,lY,cr,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cf,cy,cA,cb,cv,cB,c_,cU,cF,cj,cX,c8],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:mu},mh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:ld},default:{bodyMapper:aU,headersMapper:lm}},queryParameters:[lw],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cA,cb,cN,cC,cS,cI,cw,cE,cv,cP,cR,cO,ck,c_,cZ,c0,c1,c8,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:mu},mg={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lu},default:{bodyMapper:aU,headersMapper:lp}},requestBody:cq,queryParameters:[lw,c9,c7],urlParameters:[lC],headerParameters:[lE,lv,lQ,lj,cr,ci,cn,ca,cA,c_,cU,cF,cj,cX],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:mu},mf={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lh},default:{bodyMapper:aU,headersMapper:lg}},queryParameters:[lw,c9,c7],urlParameters:[lC],headerParameters:[lE,lv,lB,lQ,lj,ci,cn,ca,cA,cN,cC,cS,cI,cP,cR,ck,cV,cW,cZ,c0,c1,c4],isXML:!0,serializer:mu},my={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:lf},default:{bodyMapper:aU,headersMapper:ly}},requestBody:{parameterPath:"blocks",mapper:a8},queryParameters:[lw,de],urlParameters:[lC],headerParameters:[lx,lN,lE,lv,lF,lj,lG,lY,ci,cn,ca,cs,co,cl,cc,cd,cm,cu,cp,ch,cf,cy,cA,cb,cv,cB,c_,cU],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:mu},mA={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:a9,headersMapper:lA},default:{bodyMapper:aU,headersMapper:lb}},queryParameters:[lw,l7,de,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[lC],headerParameters:[lE,lv,lB,lj,cl],isXML:!0,serializer:mu};class mb extends rz{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new dt(this),this.container=new du(this),this.blob=new dk(this),this.pageBlob=new d6(this),this.appendBlob=new ma(this),this.blockBlob=new mm(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class mx extends mb{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let mN=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function mC(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function mS(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=mC(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",n="",a=Buffer.from("accountKey","base64"),s="";if(n=mC(e,"AccountName"),a=Buffer.from(mC(e,"AccountKey"),"base64"),!r){let t=(i=mC(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(s=mC(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${n}.blob.${s}`}if(n){if(0===a.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:n,accountKey:a,proxyUri:t}}{let t=mC(e,"SharedAccessSignature"),i=mC(e,"AccountName");if(i||(i=mR(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function mI(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function mw(e,t,r){let i=new URL(e),n=encodeURIComponent(t),a=r?encodeURIComponent(r):void 0,s=""===i.search?"?":i.search,o=[];for(let e of s.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==n&&o.push(e)}return a&&o.push(`${n}=${a}`),i.search=o.length?`?${o.join("&")}`:"",i.toString()}function mE(e,t){return new URL(e).searchParams.get(t)??void 0}function mv(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function mB(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function mP(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function mR(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<mN.length;++e){let r=mN[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=mO(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function mO(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&aN.includes(e.port)}function mk(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function mT(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function mM(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let n={ruleId:i[1],replicationStatus:e[r]},a=t.findIndex(e=>e.policyId===i[0]);a>-1?t[a].rules.push(n):t.push({policyId:i[0],rules:[n]})}return t}function mD(e){return e?e.scheme+" "+e.value:void 0}function*mz(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,n=0;for(;i<t.length&&n<r.length;)t[i].start<r[n].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[n].start,end:r[n].end,isClear:!0},++n);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;n<r.length;++n)yield{start:r[n].start,end:r[n].end,isClear:!0}}function mQ(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function m_(e,t,r,i,n){let a,s=i.contentChecksumAlgorithm??n;return void 0===s&&(s="Customized"),"Auto"===s&&(s="StorageCrc64"),"Customized"===s?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===s&&(await nB.init(),a=await nR(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===s?a.body:e,contentLength:"StorageCrc64"===s?a.encodedContentLength:t,contentChecksumAlgorithm:s}}class mU{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=mR(e),this.pipeline=t,this.storageClientContext=new mx(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>rD(await t.sendRequest(rP(e,{createProxy:!0})))}:(d||(d=tG()),d));let n=e._corePipeline;if(!n){let t=`azsdk-js-azure-storage-blob/${ag}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(n=rA({...r,loggingOptions:{additionalAllowedHeaderNames:ab,additionalAllowedQueryParameters:ax,logger:nA.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:nf,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:ny,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),n.removePolicy({name:tP}),n.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(n$,Buffer.byteLength(e.body)),t(e))}),n.addPolicy(function(e={}){let t=e.retryPolicyType??am.retryPolicyType,r=e.maxTries??am.maxTries,i=e.retryDelayInMs??am.retryDelayInMs,n=e.maxRetryDelayInMs??am.maxRetryDelayInMs,a=e.secondaryHost??am.secondaryHost,s=e.tryTimeoutInMs??am.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,o){let l,c;s&&(e.url=n5(e.url,nq,String(Math.floor(s/1e3))));let d=e.url,m=a?n4(e.url,a):void 0,u=!1,p=1,h=!0;for(;h;){let a=u||!m||!["GET","HEAD","OPTIONS"].includes(e.method)||p%2==1;e.url=a?d:m,l=void 0,c=void 0;try{as.info(`RetryPolicy: =====> Try=${p} ${a?"Primary":"Secondary"}`),l=await o(e),u=u||!a&&404===l.status}catch(e){if(eV(e))as.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),c=e;else throw as.error(`RetryPolicy: Caught error, message: ${tQ(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:n}){if(t>=r)return as.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(n){for(let e of au)if(n.name.toUpperCase().includes(e)||n.message.toUpperCase().includes(e)||n.code&&n.code.toString().toUpperCase()===e)return as.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(n?.code==="PARSE_ERROR"&&n?.message.startsWith('Error "Error: Unclosed root tag'))return as.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||n){let t=i?.status??n?.statusCode??0;if(!e&&404===t)return as.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return as.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(n6);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:a,attempt:p,response:l,error:c}))&&await n7(function(e,r){let a=0;if(e)switch(t){case P.EXPONENTIAL:a=Math.min((Math.pow(2,r-1)-1)*i,n);break;case P.FIXED:a=i}else a=1e3*Math.random();return as.info(`RetryPolicy: Delay for ${a}ms`),a}(a,p),e.abortSignal,ap),p++}if(l)return l;throw c??new eX("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),n.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),n.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let a=function(e){let t=[av,aE,aB,aP,aR,aO,ak];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>rM(await r(rB(e)),{createProxy:!0})};for(let t of e)i=t.create(i,rQ);let n=rP(t,{createProxy:!0});return rD(await i.sendRequest(n))}}),afterRetry:t}}}}(e);a&&n.addPolicy(a.wrappedPolicies,a.afterRetry?{afterPhase:"Retry"}:void 0);let s=aw(e);t0(s)?n.addPolicy(tW({credential:s,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:rI}}),{phase:"Sign"}):s instanceof aa&&n.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==n$||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let n,a;return r.headers.set(n3,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(n$,Buffer.byteLength(r.body)),n=[r.method.toUpperCase(),t(r,nY),t(r,nG),t(r,n$),t(r,nJ),t(r,nK),t(r,nX),t(r,nW),t(r,nV),t(r,nZ),t(r,n0),t(r,n2)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(n1)&&t.push({name:r,value:i});t.sort((e,t)=>ai(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}(r)+function(t){let r=n8(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let n=n9(t.url),a={};if(n){let e=[];for(let t in n)if(Object.prototype.hasOwnProperty.call(n,t)){let r=t.toLowerCase();a[r]=n[t],e.push(r)}for(let t of(e.sort(),e))i+=` +${t}:${decodeURIComponent(a[t])}`}return i}(r),a=(0,eu.createHmac)("sha256",e.accountKey).update(n,"utf8").digest("base64"),r.headers.set(nj,`SharedKey ${e.accountName}:${a}`),i(r)}}}({accountName:s.accountName,accountKey:s.accountKey}),{phase:"Sign"}),e._corePipeline=n}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:n}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=aw(t),this.storageClientContext.requestContentType=void 0}}let mH=tq({packageName:"@azure/storage-blob",packageVersion:ag,namespace:"Microsoft.Storage"});class mL{static parse(e){let t=new mL;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new mL;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class mF{static parse(e){let t=new mF;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new mF;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function mq(e){return e.end?`${e.start}-${e.end}`:e.start}(A=M||(M={})).Https="https",A.HttpsAndHttp="https,http";class mj{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,n,a,s,o,l,c,d,m,u,p,h,g,f,y,A,b,x,N,C,S){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=n,this.expiresOn=o,this.permissions=r,this.protocol=a,this.startsOn=s,this.ipRangeInner=l,this.delegatedUserObjectId=x,this.encryptionScope=b,this.identifier=c,this.resource=d,this.cacheControl=m,this.contentDisposition=u,this.contentEncoding=p,this.contentLanguage=h,this.contentType=g,this.requestHeaderKeys=N,this.requestQueryParameterKeys=C,this.directoryDepth=S,f&&(this.signedOid=f.signedObjectId,this.signedTenantId=f.signedTenantId,this.signedStartsOn=f.signedStartsOn,this.signedExpiresOn=f.signedExpiresOn,this.signedService=f.signedService,this.signedVersion=f.signedVersion,this.signedDelegatedUserTid=f.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=y,this.correlationId=A))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?mB(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?mB(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?mq(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?mB(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?mB(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function mG(e,t,r){return mY(e,t,r).sasQueryParameters}function mY(e,t,r){let i,n=e.version?e.version:af,a=t instanceof aa?t:void 0;if(void 0===a&&void 0!==r&&(i=new ah(r,t)),void 0===a&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(n>="2020-12-06")if(void 0!==a)return function(e,t){let r,i;if(!(e=mK(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:s}}(e,a);else if(n>="2026-04-06")return function(e,t){let r,i;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,m$(e.requestHeaders),m$(e.requestQueryParameters),i),stringToSign:s}}(e,i);else if(n>="2025-07-05")return function(e,t){let r,i;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:s}}(e,i);else return function(e,t){let r,i;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:s}}(e,i);if(n>="2018-11-09")if(void 0!==a)if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=mK(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:s}}(e,a);else return function(e,t){let r;if(!(e=mK(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),s=t.computeHMACSHA256(a);return{sasQueryParameters:new mj(e.version,s,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:a}}(e,a);else if(n>="2020-02-10")return function(e,t){let r,i;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let n="c",a=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(n="d",i=mX(e.blobName).split("/").length):(n="b",e.snapshotTime?n="bs":e.versionId&&(n="bv",a=e.versionId))),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let s=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,n,a,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(s);return{sasQueryParameters:new mj(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:s}}(e,i);else return function(e,t){let r;if(!(e=mK(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",n=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",n=e.versionId)),e.permissions&&(r=e.blobName?mL.parse(e.permissions.toString()).toString():mF.parse(e.permissions.toString()).toString());let a=[r||"",e.startsOn?mB(e.startsOn,!1):"",e.expiresOn?mB(e.expiresOn,!1):"",mJ(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?mB(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?mB(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?mq(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),s=t.computeHMACSHA256(a);return{sasQueryParameters:new mj(e.version,s,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:a}}(e,i);if(n>="2015-04-05")if(void 0!==a){let t;var s=e,o=a;if(!(s=mK(s)).identifier&&!(s.permissions&&s.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";s.blobName&&(r="b"),s.permissions&&(t=s.blobName?mL.parse(s.permissions.toString()).toString():mF.parse(s.permissions.toString()).toString());let i=[t||"",s.startsOn?mB(s.startsOn,!1):"",s.expiresOn?mB(s.expiresOn,!1):"",mJ(o.accountName,s.containerName,s.blobName),s.identifier,s.ipRange?mq(s.ipRange):"",s.protocol?s.protocol:"",s.version,s.cacheControl?s.cacheControl:"",s.contentDisposition?s.contentDisposition:"",s.contentEncoding?s.contentEncoding:"",s.contentLanguage?s.contentLanguage:"",s.contentType?s.contentType:""].join("\n"),n=o.computeHMACSHA256(i);return{sasQueryParameters:new mj(s.version,n,t,void 0,void 0,s.protocol,s.startsOn,s.expiresOn,s.ipRange,s.identifier,r,s.cacheControl,s.contentDisposition,s.contentEncoding,s.contentLanguage,s.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function m$(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function mJ(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function mK(e){let t=e.version?e.version:af;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function mX(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class mV{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=e_()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-acquireLease",t,async r=>mQ(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=mQ(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-releaseLease",e,async t=>mQ(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return mH.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return mQ(await this._containerOrBlobOperation.breakLease(i))})}}class mW extends e1.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,n={}){super({highWaterMark:n.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=n.maxRetryRequests&&n.maxRetryRequests>=0?n.maxRetryRequests:0,this.onProgress=n.onProgress,this.options=n,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new tD("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class mZ{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,n={}){this.originalResponse=e;let a=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new nD(this.originalResponse.readableStreamBody,n);this.blobDownloadStream=new mW(a,t,r,i,n)}}let m0=new Uint8Array([79,98,106,1]);class m1{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await m1.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,n,a=0,s=0;do i=128&(r=await m1.readByte(e,t)),a|=(127&r)<<s,s+=7;while(i&&s<28);if(i){n=0x10000000;do a+=(127&(r=await m1.readByte(e,t)))*n,n*=128;while(128&r);let i=(a%2?-(a+1):a)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return a>>1^-(1&a)}static async readLong(e,t={}){return m1.readZigZagLong(e,t)}static async readInt(e,t={}){return m1.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await m1.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await m1.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await m1.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await m1.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await m1.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await m1.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await m1.readArray(e,(e,r={})=>m1.readMapPair(e,t,r),r),n={};for(let e of i)n[e.key]=e.value;return n}static async readArray(e,t,r={}){let i=[];for(let n=await m1.readLong(e,r);0!==n;n=await m1.readLong(e,r))for(n<0&&(await m1.readLong(e,r),n=-n);n--;){let n=await t(e,r);i.push(n)}return i}}(b=D||(D={})).RECORD="record",b.ENUM="enum",b.ARRAY="array",b.MAP="map",b.UNION="union",b.FIXED="fixed",(x=z||(z={})).NULL="null",x.BOOLEAN="boolean",x.INT="int",x.LONG="long",x.FLOAT="float",x.DOUBLE="double",x.BYTES="bytes",x.STRING="string";class m2{static fromSchema(e){return"string"==typeof e?m2.fromStringSchema(e):Array.isArray(e)?m2.fromArraySchema(e):m2.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case z.NULL:case z.BOOLEAN:case z.INT:case z.LONG:case z.FLOAT:case z.DOUBLE:case z.BYTES:case z.STRING:return new m3(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new m5(e.map(m2.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return m2.fromStringSchema(t)}catch{}switch(t){case D.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=m2.fromSchema(t.type);return new m8(r,e.name);case D.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new m6(e.symbols);case D.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new m4(m2.fromSchema(e.values));case D.ARRAY:case D.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class m3 extends m2{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case z.NULL:return m1.readNull();case z.BOOLEAN:return m1.readBoolean(e,t);case z.INT:return m1.readInt(e,t);case z.LONG:return m1.readLong(e,t);case z.FLOAT:return m1.readFloat(e,t);case z.DOUBLE:return m1.readDouble(e,t);case z.BYTES:return m1.readBytes(e,t);case z.STRING:return m1.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class m6 extends m2{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await m1.readInt(e,t);return this._symbols[r]}}class m5 extends m2{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await m1.readInt(e,t);return this._types[r].read(e,t)}}class m4 extends m2{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return m1.readMap(e,r,t)}}class m8 extends m2{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function m9(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class m7{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!m9(await m1.readFixedBytes(this._headerStream,m0.length,{abortSignal:e.abortSignal}),m0))throw Error("Stream is not an Avro file.");this._metadata=await m1.readMap(this._headerStream,m1.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await m1.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=m2.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await m1.readLong(this._dataStream,{abortSignal:e.abortSignal}),await m1.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await m1.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!m9(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await m1.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await m1.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class ue{}let ut=t("buffer"),ur=new tD("Reading from the avro stream was aborted.");class ui extends ue{_position;_readable;toUint8Array(e){return"string"==typeof e?ut.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw ur;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let n=()=>{this._readable.removeListener("readable",a),this._readable.removeListener("error",s),this._readable.removeListener("end",s),this._readable.removeListener("close",s),t.abortSignal&&t.abortSignal.removeEventListener("abort",o)},a=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,n(),r(this.toUint8Array(t)))},s=()=>{n(),i()},o=()=>{n(),i(ur)};this._readable.on("readable",a),this._readable.once("error",s),this._readable.once("end",s),this._readable.once("close",s),t.abortSignal&&t.abortSignal.addEventListener("abort",o)})}}class un extends e1.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new m7(new ui(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let n=t.position;if("number"!=typeof n)throw Error("Invalid position in avro error record.");this.onError({position:n,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class ua{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new un(this.originalResponse.readableStreamBody,t)}}function us(e){if(void 0!==e)return e}function uo(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function ul(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(N=Q||(Q={})).Hot="Hot",N.Cool="Cool",N.Cold="Cold",N.Archive="Archive",(C=_||(_={})).P4="P4",C.P6="P6",C.P10="P10",C.P15="P15",C.P20="P20",C.P30="P30",C.P40="P40",C.P50="P50",C.P60="P60",C.P70="P70",C.P80="P80",(S=U||(U={})).StorageOAuthScopes="https://storage.azure.com/.default",S.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",tv("core-lro");class uc extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,uc.prototype)}}class ud extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,ud.prototype)}}class um{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new ud("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new uc("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class uu extends um{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:n=15e3,onProgress:a,resumeFrom:s,startCopyFromURLOptions:o}=e;s&&(t=JSON.parse(s).state),super(uf({...t,blobClient:r,copySource:i,startCopyFromURLOptions:o})),"function"==typeof a&&this.onProgress(a),this.intervalInMs=n}delay(){return tz(this.intervalInMs)}}let up=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),uf(t)},uh=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:n}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:n}=r,a=t.copyProgress;n&&(t.copyProgress=n),"pending"===i&&n!==a&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,n);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return uf(t)},ug=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function uf(e){return{state:{...e},cancel:up,toString:ug,update:uh}}function uy(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(I=H||(H={}))[I.Good=0]="Good",I[I.Error=1]="Error";class uA{concurrency;actives=0;completed=0;offset=0;operations=[];state=H.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new nb.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=H.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==H.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}var ub=i(3024);async function ux(e,t,r,i,n){let a=0,s=i-r;return new Promise((i,o)=>{let l=setTimeout(()=>o(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let o;if(a>=s){clearTimeout(l),i();return}for(;null!==(o=e.read());){"string"==typeof o&&(o=Buffer.from(o,n));let e=a+o.length>s?s-a:o.length;if(t.fill(o.slice(0,e),r+a,r+a+e),(a+=e)>=s){clearTimeout(l),i();return}}}),e.on("end",()=>{clearTimeout(l),a<s&&o(Error(`Stream drains before getting enough data needed. Data read: ${a}, data need: ${s}`)),i()}),e.on("error",e=>{clearTimeout(l),o(e)})})}async function uN(e,t){return new Promise((r,i)=>{let n=ub.createWriteStream(t);e.on("error",e=>{i(e)}),n.on("error",e=>{i(e)}),n.on("close",r),e.pipe(n)})}let uC=eg.promisify(ub.stat),uS=ub.createReadStream;class uI extends mU{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let n,a;if(i=i||{},aC(t))a=e,n=t,i=r;else if(t instanceof aa||t instanceof nF||t0(t))a=e,n=aI(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let s=mS(e);if("AccountConnString"===s.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new aa(s.accountName,s.accountKey);a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=t_(s.proxyUri)),n=aI(e,i)}else if("SASConnString"===s.kind)a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+s.accountSas,n=aI(new nF,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else a=e,r&&"string"!=typeof r&&(i=r),n=aI(new nF,i);super(a,n),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=mE(this.url,ay),this._versionId=mE(this.url,aA),this.blobClientConfig=i}withSnapshot(e){return new uI(mw(this.url,ay,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new uI(mw(this.url,aA,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new uw(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new uE(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new uv(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},uo(r.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-download",r,async i=>{let n=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===n?n="Customized":"Auto"===n&&(n="StorageCrc64"),"StorageCrc64"===n&&await nB.init();let a=mQ(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?uy({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0})),s={...a,_response:a._response,objectReplicationDestinationPolicyId:a.objectReplicationPolicyId,objectReplicationSourceProperties:mM(a.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===a.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===n&&void 0===a.structuredContentLength)throw RangeError("Unexpected structured content length");if(!a.etag)throw RangeError("File download response doesn't contain valid etag header");let o="StorageCrc64"===n?a.structuredContentLength:a.contentLength;return new mZ(s,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||a.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:uy({count:e+o-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===n?"XSM/1.0; properties=crc64":void 0},s=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==n?s:new nD(s,{})},e,o,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return mH.withSpan("BlobClient-exists",e,async t=>{try{return uo(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},uo(e.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-getProperties",e,async t=>{let r=mQ(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:mM(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},mH.withSpan("BlobClient-delete",e,async t=>mQ(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return mH.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=mQ(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return mH.withSpan("BlobClient-undelete",e,async t=>mQ(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-setHTTPHeaders",t,async r=>mQ(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-setMetadata",t,async r=>mQ(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return mH.withSpan("BlobClient-setTags",t,async r=>mQ(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return mH.withSpan("BlobClient-getTags",e,async t=>{let r=mQ(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new mV(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},uo(e.customerProvidedKey,this.isHttps),mH.withSpan("BlobClient-createSnapshot",e,async t=>mQ(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new uu({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return mH.withSpan("BlobClient-abortCopyFromURL",t,async r=>mQ(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},mH.withSpan("BlobClient-syncCopyFromURL",t,async r=>mQ(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:mD(t.sourceAuthorization),tier:us(t.tier),blobTagsString:mk(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return mH.withSpan("BlobClient-setAccessTier",t,async r=>mQ(await this.blobContext.setTier(us(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let n,a=0,s=0,o=i;e instanceof Buffer?(n=e,a=t||0,s="number"==typeof r?r:0):(a="number"==typeof e?e:0,s="number"==typeof t?t:0,o=r||{});let l=o.blockSize??0;if(l<0)throw RangeError("blockSize option must be >= 0");if(0===l&&(l=4194304),a<0)throw RangeError("offset option must be >= 0");if(s&&s<=0)throw RangeError("count option must be greater than 0");return o.conditions||(o.conditions={}),mH.withSpan("BlobClient-downloadToBuffer",o,async e=>{if(!s){let t=await this.getProperties({...o,tracingOptions:e.tracingOptions});if((s=t.contentLength-a)<0)throw RangeError(`offset ${a} shouldn't be larger than blob size ${t.contentLength}`)}if(!n)try{n=Buffer.alloc(s)}catch(e){throw Error(`Unable to allocate the buffer of size: ${s}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(n.length<s)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${s}`);let t=0,r=new uA(o.concurrency);for(let i=a;i<a+s;i+=l)r.addOperation(async()=>{let r=a+s;i+l<r&&(r=i+l);let c=(await this.download(i,r-i,{abortSignal:o.abortSignal,conditions:o.conditions,maxRetryRequests:o.maxRetryRequestsPerBlock,customerProvidedKey:o.customerProvidedKey,contentChecksumAlgorithm:o.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await ux(c,n,i-a,r-a),t+=r-i,o.onProgress&&o.onProgress({loadedBytes:t})});return await r.do(),n})}async downloadToFile(e,t=0,r,i={}){return mH.withSpan("BlobClient-downloadToFile",i,async n=>{let a=await this.download(t,r,{...i,tracingOptions:n.tracingOptions});return a.readableStreamBody&&await uN(a.readableStreamBody,e),a.blobDownloadStream=void 0,a})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(mO(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return mH.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},mQ(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:us(t.tier),blobTagsString:mk(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof aa))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=mG({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(mv(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof aa))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return mY({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=mG({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(mv(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return mY({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return mH.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>mQ(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return mH.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>mQ(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return mH.withSpan("BlobClient-setLegalHold",t,async t=>mQ(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return mH.withSpan("BlobClient-getAccountInfo",e,async t=>mQ(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class uw extends uI{appendBlobContext;constructor(e,t,r,i){let n,a;if(i=i||{},aC(t))a=e,n=t,i=r;else if(t instanceof aa||t instanceof nF||t0(t))a=e,n=aI(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let s=mS(e);if("AccountConnString"===s.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new aa(s.accountName,s.accountKey);a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=t_(s.proxyUri)),n=aI(e,i)}else if("SASConnString"===s.kind)a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+s.accountSas,n=aI(new nF,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else a=e,i=r,n=aI(new nF,i);super(a,n),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new uw(mw(this.url,ay,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},uo(e.customerProvidedKey,this.isHttps),mH.withSpan("AppendBlobClient-create",e,async t=>mQ(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:mk(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return mH.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=mQ(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},mH.withSpan("AppendBlobClient-seal",e,async t=>mQ(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},uo(r.customerProvidedKey,this.isHttps),mH.withSpan("AppendBlobClient-appendBlock",r,async i=>{let n={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},a=await m_(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return mQ(await this.appendBlobContext.appendBlock(a.contentLength,a.body,n))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},uo(i.customerProvidedKey,this.isHttps),mH.withSpan("AppendBlobClient-appendBlockFromURL",i,async n=>mQ(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:uy({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:mD(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class uE extends uI{_blobContext;blockBlobContext;constructor(e,t,r,i){let n,a;if(i=i||{},aC(t))a=e,n=t,i=r;else if(t instanceof aa||t instanceof nF||t0(t))a=e,n=aI(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let s=mS(e);if("AccountConnString"===s.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new aa(s.accountName,s.accountKey);a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=t_(s.proxyUri)),n=aI(e,i)}else if("SASConnString"===s.kind)a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+s.accountSas,n=aI(new nF,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else a=e,r&&"string"!=typeof r&&(i=r),n=aI(new nF,i);super(a,n),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new uE(mw(this.url,ay,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-query",t,async r=>new ua(mQ(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:mT(t.inputTextConfiguration),outputSerialization:mT(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},uo(r.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-upload",r,async i=>{let n={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:us(r.tier),blobTagsString:mk(r.tags),tracingOptions:i.tracingOptions},a=await m_(e,t,n,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return mQ(await this.blockBlobContext.upload(a.contentLength,a.body,n))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>mQ(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:mD(t.sourceAuthorization),tier:us(t.tier),blobTagsString:mk(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return uo(i.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-stageBlock",i,async n=>{let a={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},s=await m_(t,r,a,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return mQ(await this.blockBlobContext.stageBlock(e,s.contentLength,s.body,a))})}async stageBlockFromURL(e,t,r=0,i,n={}){return uo(n.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-stageBlockFromURL",n,async a=>mQ(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:n.abortSignal,leaseAccessConditions:n.conditions,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,sourceRange:0!==r||i?uy({offset:r,count:i}):void 0,cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:mD(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:a.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("BlockBlobClient-commitBlockList",t,async r=>mQ(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:us(t.tier),blobTagsString:mk(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return mH.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=mQ(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return mH.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return mH.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let n=r.maxSingleShotSize??0x10000000;if(n<0||n>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>n&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),mH.withSpan("BlockBlobClient-uploadSeekableInternal",r,async a=>{if(t<=n)return mQ(await this.upload(e(0,t),t,a));let s=Math.floor((t-1)/i)+1;if(s>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let o=[],l=e_(),c=0,d=new uA(r.concurrency);for(let n=0;n<s;n++)d.addOperation(async()=>{let d=mP(l,n),m=i*n,u=(n===s-1?t:m+i)-m;o.push(d),await this.stageBlock(d,e(m,u),u,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:a.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),c+=u,r.onProgress&&r.onProgress({loadedBytes:c})});return await d.do(),this.commitBlockList(o,a)})}async uploadFile(e,t={}){return mH.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await uC(e)).size;return this.uploadSeekableInternal((t,r)=>()=>uS(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),mH.withSpan("BlockBlobClient-uploadStream",i,async n=>{let a=0,s=e_(),o=0,l=[],c=new nS(e,t,r,async(e,t)=>{let r=mP(s,a);l.push(r),a++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),o+=t,i.onProgress&&i.onProgress({loadedBytes:o})},Math.ceil(r/4*3));return await c.do(),mQ(await this.commitBlockList(l,{...i,tracingOptions:n.tracingOptions}))})}}class uv extends uI{pageBlobContext;constructor(e,t,r,i){let n,a;if(i=i||{},aC(t))a=e,n=t,i=r;else if(t instanceof aa||t instanceof nF||t0(t))a=e,n=aI(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let s=mS(e);if("AccountConnString"===s.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new aa(s.accountName,s.accountKey);a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=t_(s.proxyUri)),n=aI(e,i)}else if("SASConnString"===s.kind)a=mI(mI(s.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+s.accountSas,n=aI(new nF,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else a=e,i=r,n=aI(new nF,i);super(a,n),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new uv(mw(this.url,ay,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},uo(t.customerProvidedKey,this.isHttps),mH.withSpan("PageBlobClient-create",t,async r=>mQ(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:us(t.tier),blobTagsString:mk(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return mH.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=mQ(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},uo(i.customerProvidedKey,this.isHttps),mH.withSpan("PageBlobClient-uploadPages",i,async n=>{let a={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:uy({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:n.tracingOptions},s=await m_(e,r,a,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return mQ(await this.pageBlobContext.uploadPages(s.contentLength,s.body,a))})}async uploadPagesFromURL(e,t,r,i,n={}){return n.conditions=n.conditions||{},n.sourceConditions=n.sourceConditions||{},uo(n.customerProvidedKey,this.isHttps),mH.withSpan("PageBlobClient-uploadPagesFromURL",n,async a=>mQ(await this.pageBlobContext.uploadPagesFromURL(e,uy({offset:t,count:i}),0,uy({offset:r,count:i}),{abortSignal:n.abortSignal,sourceContentMD5:n.sourceContentMD5,sourceContentCrc64:n.sourceContentCrc64,leaseAccessConditions:n.conditions,sequenceNumberAccessConditions:n.conditions,modifiedAccessConditions:{...n.conditions,ifTags:n.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:n.sourceConditions?.ifMatch,sourceIfModifiedSince:n.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:n.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:n.sourceConditions?.ifUnmodifiedSince},cpkInfo:n.customerProvidedKey,encryptionScope:n.encryptionScope,copySourceAuthorization:mD(n.sourceAuthorization),fileRequestIntent:n.sourceShareTokenIntent,tracingOptions:a.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:n.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:n.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:n.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},mH.withSpan("PageBlobClient-clearPages",r,async i=>mQ(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:uy({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},mH.withSpan("PageBlobClient-getPageRanges",r,async i=>ul(mQ(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:uy({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return mH.withSpan("PageBlobClient-getPageRangesSegment",i,async n=>mQ(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:uy({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let n;if(r||void 0===r)do r=(n=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await n;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let n of this.listPageRangeItemSegments(e,t,i,r))yield*mz(n)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},mH.withSpan("PageBlobClient-getPageRangesDiff",i,async n=>ul(mQ(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:uy({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,n={}){return mH.withSpan("PageBlobClient-getPageRangesDiffSegment",n,async a=>mQ(await this.pageBlobContext.getPageRangesDiff({abortSignal:n?.abortSignal,leaseAccessConditions:n?.conditions,modifiedAccessConditions:{...n?.conditions,ifTags:n?.conditions?.tagConditions},prevsnapshot:r,range:uy({offset:e,count:t}),marker:i,maxPageSize:n?.maxPageSize,tracingOptions:a.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,n){let a;if(i||void 0===i)do i=(a=await this.listPageRangesDiffSegment(e,t,r,i,n)).continuationToken,yield await a;while(i)}async *listPageRangeDiffItems(e,t,r,i){let n;for await(let a of this.listPageRangeDiffItemSegments(e,t,r,n,i))yield*mz(a)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let n=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>n.next(),[Symbol.asyncIterator](){return this},byPage:(n={})=>this.listPageRangeDiffItemSegments(e,t,r,n.continuationToken,{maxPageSize:n.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},mH.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async n=>ul(mQ(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:uy({offset:e,count:t}),tracingOptions:n.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},mH.withSpan("PageBlobClient-resize",t,async r=>mQ(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},mH.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>mQ(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return mH.withSpan("PageBlobClient-startCopyIncremental",t,async r=>mQ(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(w=L||(L={}))[w.LOCKED=0]="LOCKED",w[w.UNLOCKED=1]="UNLOCKED",(F||(F={})).AES256="AES256";var uB=class extends Error{reason;limit;actual;_tag="GuardExceeded";constructor(e,t,r){super(`${e}: limit ${t}, actual ${r}`),this.reason=e,this.limit=t,this.actual=r}};let uP=e=>e instanceof uB,uR=(e,t)=>{if(!Number.isSafeInteger(t)||t<1)throw TypeError(`@effected/glob internal cap ${e} must be a positive integer, received ${t}`);return t},uO=(e,{windowsPathsNoEscape:t=!1,magicalBraces:r=!0}={})=>r?t?e.replace(/\[([^/\\])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^/\\])\]/g,"$1$2").replace(/\\([^/])/g,"$1"):t?e.replace(/\[([^/\\{}])\]/g,"$1"):e.replace(/((?!\\).|^)\[([^/\\{}])\]/g,"$1$2").replace(/\\([^/{}])/g,"$1"),uk=Symbol("globstar **"),uT=e=>{if("string"!=typeof e)throw TypeError("invalid pattern");if(e.length>65536)throw new uB("PatternTooLong",65536,e.length)},uM={"[:alnum:]":["\\p{L}\\p{Nl}\\p{Nd}",!0],"[:alpha:]":["\\p{L}\\p{Nl}",!0],"[:ascii:]":["\\x00-\\x7f",!1],"[:blank:]":["\\p{Zs}\\t",!0],"[:cntrl:]":["\\p{Cc}",!0],"[:digit:]":["\\p{Nd}",!0],"[:graph:]":["\\p{Z}\\p{C}",!0,!0],"[:lower:]":["\\p{Ll}",!0],"[:print:]":["\\p{C}",!0],"[:punct:]":["\\p{P}",!0],"[:space:]":["\\p{Z}\\t\\r\\n\\v\\f",!0],"[:upper:]":["\\p{Lu}",!0],"[:word:]":["\\p{L}\\p{Nl}\\p{Nd}\\p{Pc}",!0],"[:xdigit:]":["A-Fa-f0-9",!1]},uD=e=>e.replace(/[[\]\\-]/g,"\\$&"),uz=(e,t)=>{if("["!==e.charAt(t))throw Error("not in a brace expression");let r=[],i=[],n=t+1,a=!1,s=!1,o=!1,l=!1,c=t,d="";t:for(;n<e.length;){let m=e.charAt(n);if(("!"===m||"^"===m)&&n===t+1){l=!0,n++;continue}if("]"===m&&a&&!o){c=n+1;break}if(a=!0,"\\"===m&&!o){o=!0,n++;continue}if("["===m&&!o){for(let[a,[o,l,c]]of Object.entries(uM))if(e.startsWith(a,n)){if(d)return["$.",!1,e.length-t,!0];n+=a.length,c?i.push(o):r.push(o),s=s||l;continue t}}if(o=!1,d){m>d?r.push(`${uD(d)}-${uD(m)}`):m===d&&r.push(uD(m)),d="",n++;continue}if(e.startsWith("-]",n+1)){r.push(uD(`${m}-`)),n+=2;continue}if(e.startsWith("-",n+1)){d=m,n+=2;continue}r.push(uD(m)),n++}if(c<n)return["",!1,0,!1];if(!r.length&&!i.length)return["$.",!1,e.length-t,!0];let m=r[0];if(0===i.length&&1===r.length&&void 0!==m&&/^\\?.$/.test(m)&&!l)return[(2===m.length?m.slice(-1):m).replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),!1,c-t,!1];let u=`[${l?"^":""}${r.join("")}]`,p=`[${l?"":"^"}${i.join("")}]`;return[r.length&&i.length?`(${u}|${p})`:r.length?u:p,s,c-t,!0]},uQ=new Set(["!","?","+","*","@"]),u_=e=>uQ.has(e),uU=new Map([["!",["@"]],["?",["?","@"]],["@",["@"]],["*",["*","+","?","@"]],["+",["+","@"]]]),uH=new Map([["!",["?"]],["@",["?"]],["+",["?","*"]]]),uL=new Map([["!",["?","@"]],["?",["?","@"]],["@",["?","@"]],["*",["*","+","?","@"]],["+",["+","@","?","*"]]]),uF=new Map([["!",new Map([["!","@"]])],["?",new Map([["*","*"],["+","*"]])],["@",new Map([["!","!"],["?","?"],["@","@"],["*","*"],["+","+"]])],["+",new Map([["?","*"],["*","*"]])]]),uq="(?!\\.)",uj=new Set(["[","."]),uG=new Set(["..","."]),uY=new Set("().*{}+?[]^$\\!"),u$=e=>e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"),uJ="[^/]",uK=`${uJ}*?`,uX=`${uJ}+?`,uV=e=>{if(e>256)throw new uB("NestingDepthExceeded",256,e)},uW=0;var uZ=class e{type;#e;#t;#r=!1;#i=[];#n;#a;#s;#o=!1;#l;#c;#d=!1;id=++uW;get depth(){return(this.#n?.depth??-1)+1}[Symbol.for("nodejs.util.inspect.custom")](){return{"@@type":"AST",id:this.id,type:this.type,root:this.#e.id,parent:this.#n?.id,depth:this.depth,partsLength:this.#i.length,parts:this.#i}}constructor(e,t,r={}){this.type=e,e&&(this.#t=!0),this.#n=t,this.#e=this.#n?this.#n.#e:this,this.#l=this.#e===this?r:this.#e.#l,this.#s=this.#e===this?[]:this.#e.#s,"!"!==e||this.#e.#o||this.#s.push(this),this.#a=this.#n?this.#n.#i.length:0}get hasMagic(){if(void 0!==this.#t)return this.#t;for(let e of this.#i)if("string"!=typeof e&&(e.type||e.hasMagic)){this.#t=!0;break}return this.#t}toString(){return void 0!==this.#c||(this.type?this.#c=`${this.type}(${this.#i.map(e=>String(e)).join("|")})`:this.#c=this.#i.map(e=>String(e)).join("")),this.#c}#m(){if(this!==this.#e)throw Error("should only call on root");if(this.#o)return this;this.toString(),this.#o=!0;let e=this.#s.pop();for(;void 0!==e;){if("!"!==e.type){e=this.#s.pop();continue}let t=e,r=t.#n;for(;r;){for(let i=t.#a+1;!r.type&&i<r.#i.length;i++)for(let t of e.#i){if("string"==typeof t)throw Error("string part in extglob AST??");let e=r.#i[i];void 0!==e&&t.copyIn(e)}r=(t=r).#n}e=this.#s.pop()}return this}push(...t){for(let r of t)if(""!==r){if("string"!=typeof r&&!(r instanceof e&&r.#n===this))throw Error(`invalid part: ${r}`);this.#i.push(r)}}toJSON(){let e=null===this.type?this.#i.slice().map(e=>"string"==typeof e?e:e.toJSON()):[this.type,...this.#i.map(e=>e.toJSON())];return this.isStart()&&!this.type&&e.unshift([]),this.isEnd()&&(this===this.#e||this.#e.#o&&this.#n?.type==="!")&&e.push({}),e}isStart(){if(this.#e===this)return!0;if(!this.#n?.isStart())return!1;if(0===this.#a)return!0;let t=this.#n;for(let r=0;r<this.#a;r++){let i=t.#i[r];if(!(i instanceof e&&"!"===i.type))return!1}return!0}isEnd(){if(this.#e===this||this.#n?.type==="!")return!0;if(!this.#n?.isEnd())return!1;if(!this.type)return this.#n?.isEnd();let e=this.#n?this.#n.#i.length:0;return this.#a===e-1}copyIn(e,t=0){uV(t),"string"==typeof e?this.push(e):this.push(e.clone(this,t+1))}clone(t,r=0){uV(r);let i=new e(this.type,t);for(let e of this.#i)i.copyIn(e,r+1);return i}static #u(t,r,i,n,a,s){uV(s);let o=n.maxExtglobRecursion??2,l=!1,c=!1,d=-1,m=!1;if(null===r.type){let u=i,p="";for(;u<t.length;){let i=t.charAt(u++);if(l||"\\"===i){l=!l,p+=i;continue}if(c){u===d+1?("^"===i||"!"===i)&&(m=!0):"]"!==i||u===d+2&&m||(c=!1),p+=i;continue}if("["===i){c=!0,d=u,m=!1,p+=i;continue}if(!n.noext&&u_(i)&&"("===t.charAt(u)&&a<=o){r.push(p),p="";let o=new e(i,r);u=e.#u(t,o,u,n,a+1,s+1),r.push(o);continue}p+=i}return r.push(p),u}let u=i+1,p=new e(null,r),h=[],g="";for(;u<t.length;){let i=t.charAt(u++);if(l||"\\"===i){l=!l,g+=i;continue}if(c){u===d+1?("^"===i||"!"===i)&&(m=!0):"]"!==i||u===d+2&&m||(c=!1),g+=i;continue}if("["===i){c=!0,d=u,m=!1,g+=i;continue}if(!n.noext&&u_(i)&&"("===t.charAt(u)&&(a<=o||r.#p(i))){let o=+!r.#p(i);p.push(g),g="";let l=new e(i,p);p.push(l),u=e.#u(t,l,u,n,a+o,s+1);continue}if("|"===i){p.push(g),g="",h.push(p),p=new e(null,r);continue}if(")"===i)return""===g&&0===r.#i.length&&(r.#d=!0),p.push(g),g="",r.push(...h,p),u;g+=i}return r.type=null,r.#t=void 0,r.#i=[t.substring(i-1)],u}#h(e){return this.#g(e,uH)}#g(e,t=uU){if(!e||"object"!=typeof e||null!==e.type||1!==e.#i.length||null===this.type)return!1;let r=e.#i[0];return!!r&&"object"==typeof r&&null!==r.type&&this.#p(r.type,t)}#p(e,t=uL){return!!t.get(this.type)?.includes(e)}#f(t,r){let i=t.#i[0],n=new e(null,i,this.options);n.#i.push(""),i.push(n),this.#y(t,r)}#y(e,t){let r=e.#i[0];for(let e of(this.#i.splice(t,1,...r.#i),r.#i))"object"==typeof e&&(e.#n=this);this.#c=void 0}#A(e){return!!uF.get(this.type)?.has(e)}#b(e){if(!e||"object"!=typeof e||null!==e.type||1!==e.#i.length||null===this.type||1!==this.#i.length)return!1;let t=e.#i[0];return!!t&&"object"==typeof t&&null!==t.type&&this.#A(t.type)}#x(e){let t=uF.get(this.type),r=e.#i[0],i=t?.get(r.type);if(i){for(let e of(this.#i=r.#i,this.#i))"object"==typeof e&&(e.#n=this);this.type=i,this.#c=void 0,this.#d=!1}}static fromGlob(t,r={}){void 0!==r.maxExtglobRecursion&&uR("maxExtglobRecursion",r.maxExtglobRecursion);let i=new e(null,void 0,r);return e.#u(t,i,0,r,0,0),i}toMMPattern(){if(this!==this.#e)return this.#e.toMMPattern();let e=this.toString(),[t,r,i,n]=this.toRegExpSource();return i||this.#t||this.#l.nocase&&!this.#l.nocaseMagicOnly&&e.toUpperCase()!==e.toLowerCase()?Object.assign(RegExp(`^${t}$`,(this.#l.nocase?"i":"")+(n?"u":"")),{_src:t,_glob:e}):r}get options(){return this.#l}toRegExpSource(t,r=0){uV(r);let i=t??!!this.#l.dot;if(this.#e===this&&(this.#N(),this.#m()),!u_(this.type)){let n=this.isStart()&&this.isEnd()&&!this.#i.some(e=>"string"!=typeof e),a=this.#i.map(i=>{let[a,s,o,l]="string"==typeof i?e.#C(i,this.#t,n):i.toRegExpSource(t,r+1);return this.#t=this.#t||o,this.#r=this.#r||l,a}).join(""),s="";if(this.isStart()&&"string"==typeof this.#i[0]&&!(1===this.#i.length&&uG.has(this.#i[0]))){let e=i&&uj.has(a.charAt(0))||a.startsWith("\\.")&&uj.has(a.charAt(2))||a.startsWith("\\.\\.")&&uj.has(a.charAt(4)),r=!i&&!t&&uj.has(a.charAt(0));s=e?"(?!(?:^|/)\\.\\.?(?:$|/))":r?uq:""}let o="";this.isEnd()&&this.#e.#o&&this.#n?.type==="!"&&(o="(?:$|\\/)");let l=s+a+o;return this.#t=!!this.#t,[l,uO(a),this.#t,this.#r]}let n="*"===this.type||"+"===this.type,a="!"===this.type?"(?:(?!(?:":"(?:",s=this.#S(i,r);if(this.isStart()&&this.isEnd()&&!s&&"!"!==this.type){let e=this.toString();return this.#i=[e],this.type=null,this.#t=void 0,[e,uO(this.toString()),!1,!1]}let o=!n||t||i?"":this.#S(!0,r);o===s&&(o=""),o&&(s=`(?:${s})(?:${o})*?`);let l="";return l="!"===this.type&&this.#d?(this.isStart()&&!i?uq:"")+uX:a+s+("!"===this.type?`))${this.isStart()&&!i&&!t?uq:""}${uK})`:"@"===this.type?")":"?"===this.type?")?":"+"===this.type&&o?")":"*"===this.type&&o?")?":`)${this.type}`),this.#t=!!this.#t,[l,uO(s),this.#t,this.#r]}#N(e=0){if(uV(e),u_(this.type)){let t=0,r=!1;do{r=!0;for(let t=0;t<this.#i.length;t++){let i=this.#i[t];"object"==typeof i&&(i.#N(e+1),this.#g(i)?(r=!1,this.#y(i,t)):this.#h(i)?(r=!1,this.#f(i,t)):this.#b(i)&&(r=!1,this.#x(i)))}}while(!r&&++t<10)}else for(let t of this.#i)"object"==typeof t&&t.#N(e+1);this.#c=void 0}#S(e,t){return this.#i.map(r=>{if("string"==typeof r)throw Error("string type in extglob ast??");let[i,n,a,s]=r.toRegExpSource(e,t+1);return this.#r=this.#r||s,i}).filter(e=>!(this.isStart()&&this.isEnd())||!!e).join("|")}static #C(e,t,r=!1){let i=t,n=!1,a="",s=!1,o=!1;for(let t=0;t<e.length;t++){let l=e.charAt(t);if(n){n=!1,a+=(uY.has(l)?"\\":"")+l;continue}if("*"===l){if(o)continue;o=!0,a+=r&&/^[*]+$/.test(e)?uX:uK,i=!0;continue}if(o=!1,"\\"===l){t===e.length-1?a+="\\\\":n=!0;continue}if("["===l){let[r,n,o,l]=uz(e,t);if(o){a+=r,s=s||n,t+=o-1,i=i||l;continue}}if("?"===l){a+=uJ,i=!0;continue}a+=u$(l)}return[a,uO(e),!!i,s]}};let u0=(e,t)=>{let r=t.match(e);return r?r[0]:null},u1=(e,t,r)=>{let i=e instanceof RegExp?u0(e,r):e,n=t instanceof RegExp?u0(t,r):t;if(null===i||null===n)return!1;let a=u2(i,n,r);return void 0!==a&&{start:a[0],end:a[1],pre:r.slice(0,a[0]),body:r.slice(a[0]+i.length,a[1]),post:r.slice(a[1]+n.length)}},u2=(e,t,r)=>{let i,n,a,s,o=r.indexOf(e),l=r.indexOf(t,o+1),c=o;if(o>=0&&l>0){if(e===t)return[o,l];let d=[];for(n=r.length;c>=0&&!s;){if(c===o)d.push(c),o=r.indexOf(e,c+1);else if(1===d.length){let e=d.pop();void 0!==e&&(s=[e,l])}else void 0!==(i=d.pop())&&i<n&&(n=i,a=l),l=r.indexOf(t,c+1);c=o<l&&o>=0?o:l}d.length&&void 0!==a&&(s=[n,a])}return s},u3=`\0SLASH${Math.random()}\0`,u6=`\0OPEN${Math.random()}\0`,u5=`\0CLOSE${Math.random()}\0`,u4=`\0COMMA${Math.random()}\0`,u8=`\0PERIOD${Math.random()}\0`,u9=RegExp(u3,"g"),u7=RegExp(u6,"g"),pe=RegExp(u5,"g"),pt=RegExp(u4,"g"),pr=RegExp(u8,"g"),pi=/\\\\/g,pn=/\\{/g,pa=/\\}/g,ps=/\\,/g,po=/\\\./g,pl=e=>Number.isNaN(Number(e))?e.charCodeAt(0):Number.parseInt(e,10),pc=e=>e.replace(u9,"\\").replace(u7,"{").replace(pe,"}").replace(pt,",").replace(pr,"."),pd=(e,t)=>{if(t>256)throw new uB("NestingDepthExceeded",256,t);if(!e)return[""];let r=[],i=u1("{","}",e);if(!i)return e.split(",");let{pre:n,body:a,post:s}=i,o=n.split(",");o[o.length-1]+=`{${a}}`;let l=pd(s,t+1);return s.length&&(o[o.length-1]+=l.shift()??"",o.push(...l)),r.push(...o),r},pm=e=>`{${e}}`,pu=e=>/^-?0\d/.test(e),pp=(e,t)=>e<=t,ph=(e,t)=>e>=t,pg=/^\*+([^+@!?*[(]*)$/,pf=/^\*+\.\*+$/,py=e=>!e.startsWith(".")&&e.includes("."),pA=e=>"."!==e&&".."!==e&&e.includes("."),pb=/^\.\*+$/,px=e=>"."!==e&&".."!==e&&e.startsWith("."),pN=/^\*+$/,pC=e=>0!==e.length&&!e.startsWith("."),pS=e=>0!==e.length&&"."!==e&&".."!==e,pI=/^\?+([^+@!?*[(]*)?$/,pw=([e])=>{let t=e.length;return e=>e.length===t&&!e.startsWith(".")},pE=([e])=>{let t=e.length;return e=>e.length===t&&"."!==e&&".."!==e},pv=(e,t={})=>(uT(e),t.nobrace||!/\{(?:(?!\{).)*\}/.test(e))?[e]:((e,t={})=>{if(!e)return[];let r=uR("braceExpandMax",t.max??1e5),i=e;return"{}"===i.slice(0,2)&&(i=`\\{\\}${i.slice(2)}`),(function e(t,r,i,n){if(n>256)throw new uB("NestingDepthExceeded",256,n);let a=[],s=t,o=i;for(;;){let t,i,l=u1("{","}",s);if(!l)return[s];let c=l.pre;if(/\$$/.test(l.pre)){let t=l.post.length?e(l.post,r,!1,n+1):[""];if(t.length>r)throw new uB("ExpansionBudgetExceeded",r,t.length);for(let e of t)a.push(`${c}{${l.body}}${e}`);return a}let d=/^-?\d+\.\.-?\d+(?:\.\.-?\d+)?$/.test(l.body),m=/^[a-zA-Z]\.\.[a-zA-Z](?:\.\.-?\d+)?$/.test(l.body),u=d||m,p=l.body.indexOf(",")>=0;if(!u&&!p){if(l.post.match(/,(?!,).*\}/)){s=`${l.pre}{${l.body}${u5}${l.post}`,o=!0;continue}return[s]}let h=l.post.length?e(l.post,r,!1,n+1):[""];if(u)t=l.body.split(/\.\./);else{let i=(t=pd(l.body,n+1))[0];if(1===t.length&&void 0!==i&&1===(t=e(i,r,!1,n+1).map(pm)).length)return h.map(e=>`${l.pre}${t[0]}${e}`)}let g=t[0],f=t[1];if(u&&void 0!==g&&void 0!==f){let e=pl(g),n=pl(f),a=Math.max(g.length,f.length),s=t[2],o=3===t.length&&void 0!==s?Math.max(Math.abs(pl(s)),1):1,l=pp;n<e&&(o*=-1,l=ph);let c=t.some(pu),d=Math.floor(Math.abs(n-e)/Math.abs(o))+1;if(d>r)throw new uB("ExpansionBudgetExceeded",r,d);i=[];for(let t=e;l(t,n);t+=o){let e;if(m)"\\"===(e=String.fromCharCode(t))&&(e="");else if(e=String(t),c){let r=a-e.length;if(r>0){let i="0".repeat(r);e=t<0?`-${i}${e.slice(1)}`:`${i}${e}`}}i.push(e)}}else for(let a of(i=[],t))i.push(...e(a,r,!1,n+1));for(let e=0;e<i.length;e++)for(let t=0;t<h.length;t++){let n=c+i[e]+h[t];if(!o||u||n){if(a.length>=r)throw new uB("ExpansionBudgetExceeded",r,a.length+(i.length-e)*h.length-t);a.push(n)}}return a}})(i.replace(pi,u3).replace(pn,u6).replace(pa,u5).replace(ps,u4).replace(po,u8),r,!0,0).map(pc)})(e,void 0===t.braceExpandMax?{}:{max:t.braceExpandMax}),pB=/[?*]|[+@!]\(.*?\)|\[|\]/;var pP=class{options;set;pattern;windowsPathsNoEscape;nonegate;negate;comment;empty;preserveMultipleSlashes;partial;globSet;globParts;nocase;isWindows;platform;windowsNoMagicRoot;maxGlobstarRecursion;regexp;constructor(e,t={}){uT(e),this.options=t,this.maxGlobstarRecursion=uR("maxGlobstarRecursion",t.maxGlobstarRecursion??200),this.pattern=e,this.platform=t.platform??"posix",this.isWindows="win32"===this.platform,this.windowsPathsNoEscape=!!t.windowsPathsNoEscape,this.windowsPathsNoEscape&&(this.pattern=this.pattern.replace(/\\/g,"/")),this.preserveMultipleSlashes=!!t.preserveMultipleSlashes,this.regexp=null,this.negate=!1,this.nonegate=!!t.nonegate,this.comment=!1,this.empty=!1,this.partial=!!t.partial,this.nocase=!!this.options.nocase,this.windowsNoMagicRoot=void 0!==t.windowsNoMagicRoot?t.windowsNoMagicRoot:!!(this.isWindows&&this.nocase),this.globSet=[],this.globParts=[],this.set=[],this.make()}hasMagic(){if(this.options.magicalBraces&&this.set.length>1)return!0;for(let e of this.set)for(let t of e)if("string"!=typeof t)return!0;return!1}debug(){}make(){let e=this.pattern;if(!this.options.nocomment&&"#"===e.charAt(0)){this.comment=!0;return}if(!e){this.empty=!0;return}this.parseNegate(),this.globSet=[...new Set(this.braceExpand())],this.debug(this.pattern,this.globSet);let t=this.globSet.map(e=>this.slashSplit(e));this.globParts=this.preprocess(t),this.debug(this.pattern,this.globParts);let r=this.globParts.map(e=>{if(this.isWindows&&this.windowsNoMagicRoot){let t=""===e[0]&&""===e[1]&&("?"===e[2]||void 0!==e[2]&&!pB.test(e[2]))&&void 0!==e[3]&&!pB.test(e[3]),r=void 0!==e[0]&&/^[a-z]:/i.test(e[0]);if(t)return[...e.slice(0,4),...e.slice(4).map(e=>this.parse(e))];if(r)return[e[0],...e.slice(1).map(e=>this.parse(e))]}return e.map(e=>this.parse(e))});if(this.debug(this.pattern,r),this.set=r.filter(e=>-1===e.indexOf(!1)),this.isWindows)for(let e=0;e<this.set.length;e++){let t=this.set[e];void 0!==t&&""===t[0]&&""===t[1]&&this.globParts[e]?.[2]==="?"&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3])&&(t[2]="?")}this.debug(this.pattern,this.set)}preprocess(e){let t=e;if(this.options.noglobstar)for(let e of t)for(let t=0;t<e.length;t++)"**"===e[t]&&(e[t]="*");let{optimizationLevel:r=1}=this.options;return r>=2?(t=this.firstPhasePreProcess(t),t=this.secondPhasePreProcess(t)):t=r>=1?this.levelOneOptimize(t):this.adjascentGlobstarOptimize(t),t}adjascentGlobstarOptimize(e){return e.map(e=>{let t=e.indexOf("**");for(;-1!==t;){let r=t;for(;"**"===e[r+1];)r++;r!==t&&e.splice(t,r-t),t=e.indexOf("**",t+1)}return e})}levelOneOptimize(e){return e.map(e=>{let t=e.reduce((e,t)=>{let r=e[e.length-1];return"**"===t&&"**"===r||(".."===t&&r&&".."!==r&&"."!==r&&"**"!==r?e.pop():e.push(t)),e},[]);return 0===t.length?[""]:t})}levelTwoFileOptimize(e){let t=Array.isArray(e)?e:this.slashSplit(e),r=!1;do{if(r=!1,!this.preserveMultipleSlashes){for(let e=1;e<t.length-1;e++){let i=t[e];(1!==e||""!==i||""!==t[0])&&("."===i||""===i)&&(r=!0,t.splice(e,1),e--)}"."===t[0]&&2===t.length&&("."===t[1]||""===t[1])&&(r=!0,t.pop())}let e=t.indexOf("..",1);for(;-1!==e;){let i=t[e-1];i&&"."!==i&&".."!==i&&"**"!==i&&!(this.isWindows&&/^[a-z]:$/i.test(i))&&(r=!0,t.splice(e-1,2),e-=2),e=t.indexOf("..",e+1)}}while(r);return 0===t.length?[""]:t}firstPhasePreProcess(e){let t=!1;do for(let r of(t=!1,e)){let i=r.indexOf("**");for(;-1!==i;){let n=i;for(;"**"===r[n+1];)n++;n>i&&r.splice(i+1,n-i);let a=r[i+1],s=r[i+2],o=r[i+3];if(".."!==a||!s||"."===s||".."===s||!o||"."===o||".."===o){i=r.indexOf("**",i+1);continue}t=!0,r.splice(i,1);let l=r.slice(0);l[i]="**",e.push(l),i--,i=r.indexOf("**",i+1)}if(!this.preserveMultipleSlashes){for(let e=1;e<r.length-1;e++){let i=r[e];(1!==e||""!==i||""!==r[0])&&("."===i||""===i)&&(t=!0,r.splice(e,1),e--)}"."===r[0]&&2===r.length&&("."===r[1]||""===r[1])&&(t=!0,r.pop())}let n=r.indexOf("..",1);for(;-1!==n;){let e=r[n-1];if(e&&"."!==e&&".."!==e&&"**"!==e){t=!0;let e=1===n&&"**"===r[n+1]?["."]:[];r.splice(n-1,2,...e),0===r.length&&r.push(""),n-=2}n=r.indexOf("..",n+1)}}while(t);return e}secondPhasePreProcess(e){for(let t=0;t<e.length-1;t++)for(let r=t+1;r<e.length;r++){let i=e[t],n=e[r];if(void 0===i||void 0===n)continue;let a=this.partsMatch(i,n,!this.preserveMultipleSlashes);if(a){e[t]=[],e[r]=a;break}}return e.filter(e=>e.length)}partsMatch(e,t,r=!1){let i=0,n=0,a=[],s="";for(;i<e.length&&n<t.length;){let o=e[i],l=t[n];if(o===l)a.push("b"===s?l:o),i++,n++;else if(r&&"**"===o&&l===e[i+1])a.push(o),i++;else if(r&&"**"===l&&o===t[n+1])a.push(l),n++;else if("*"===o&&l&&(this.options.dot||!l.startsWith("."))&&"**"!==l){if("b"===s)return!1;s="a",a.push(o),i++,n++}else{if("*"!==l||!o||!this.options.dot&&o.startsWith(".")||"**"===o||"a"===s)return!1;s="b",a.push(l),i++,n++}}return e.length===t.length&&a}parseNegate(){if(this.nonegate)return;let e=this.pattern,t=!1,r=0;for(let i=0;i<e.length&&"!"===e.charAt(i);i++)t=!t,r++;r&&(this.pattern=e.slice(r)),this.negate=t}matchOne(e,t,r=!1){let i=e,n=0,a=0;if(this.isWindows){let e=i[0],r="string"==typeof e&&/^[a-z]:$/i.test(e),s=!r&&""===i[0]&&""===i[1]&&"?"===i[2]&&"string"==typeof i[3]&&/^[a-z]:$/i.test(i[3]),o=t[0],l="string"==typeof o&&/^[a-z]:$/i.test(o),c=!l&&""===t[0]&&""===t[1]&&"?"===t[2]&&"string"==typeof t[3]&&/^[a-z]:$/i.test(t[3]),d=s?3:r?0:void 0,m=c?3:l?0:void 0;if("number"==typeof d&&"number"==typeof m){let[e,r]=[i[d],t[m]];e.toLowerCase()===r.toLowerCase()&&(t[m]=e,a=m,n=d)}}let{optimizationLevel:s=1}=this.options;return(s>=2&&(i=this.levelTwoFileOptimize(i)),t.includes(uk))?this.#I(i,t,r,n,a):this.#w(i,t,r,n,a)}#I(e,t,r,i,n){let a=i,s=n,o=t.indexOf(uk,s),l=t.lastIndexOf(uk),[c,d,m]=r?[t.slice(s,o),t.slice(o+1),[]]:[t.slice(s,o),t.slice(o+1,l),t.slice(l+1)];if(c.length){let t=e.slice(a,a+c.length);if(!this.#w(t,c,r,0,0))return!1;a+=c.length,s+=c.length}let u=0;if(m.length){if(m.length+a>e.length)return!1;let t=e.length-m.length;if(this.#w(e,m,r,t,0))u=m.length;else{if(""!==e[e.length-1]||a+m.length===e.length||(t--,!this.#w(e,m,r,t,0)))return!1;u=m.length+1}}if(!d.length){let t=!!u;for(let r=a;r<e.length-u;r++){let i=String(e[r]);if(t=!0,"."===i||".."===i||!this.options.dot&&i.startsWith("."))return!1}return r||t}let p=[[[],0]],h=p[0],g=0,f=[0];for(let e of d)e===uk?(f.push(g),h=[[],0],p.push(h)):(h[0].push(e),g++);let y=p.length-1,A=e.length-u;for(let e of p)e[1]=A-(f[y--]+e[0].length);return!!this.#E(e,p,a,0,r,0,!!u)}#E(e,t,r,i,n,a,s){let o=r,l=s,c=t[i];if(!c){for(let t=o;t<e.length;t++){l=!0;let r=e[t];if("."===r||".."===r||!this.options.dot&&r.startsWith("."))return!1}return l}let[d,m]=c;for(;o<=m;){if(this.#w(e.slice(0,o+d.length),d,n,o,0)&&a<this.maxGlobstarRecursion){let r=this.#E(e,t,o+d.length,i+1,n,a+1,l);if(!1!==r)return r}let r=e[o];if("."===r||".."===r||void 0!==r&&!this.options.dot&&r.startsWith("."))return!1;o++}return n||null}#w(e,t,r,i,n){let a,s,o,l;for(a=i,s=n,l=e.length,o=t.length;a<l&&s<o;a++,s++){let r;this.debug("matchOne loop");let i=t[s],n=e[a];if(this.debug(t,i,n),!1===i||i===uk||("string"==typeof i?(r=n===i,this.debug("string match",i,n,r)):(r=i.test(n),this.debug("pattern match",i,n,r)),!r))return!1}if(a===l&&s===o)return!0;if(a===l)return r;if(s===o)return a===l-1&&""===e[a];throw Error("wtf?")}braceExpand(){return pv(this.pattern,this.options)}parse(e){uT(e);let t=this.options;if("**"===e)return uk;if(""===e)return"";let r=null,i=e.match(pN),n=i?null:e.match(pg),a=i||n?null:e.match(pI),s=i||n||a?null:e.match(pf),o=i||n||a||s?null:e.match(pb);i?r=t.dot?pS:pC:n?r=(t.nocase?t.dot?e=>{let t=e.toLowerCase();return e=>e.toLowerCase().endsWith(t)}:e=>{let t=e.toLowerCase();return e=>!e.startsWith(".")&&e.toLowerCase().endsWith(t)}:t.dot?e=>t=>t.endsWith(e):e=>t=>!t.startsWith(".")&&t.endsWith(e))(n[1]):a?r=(t.nocase?t.dot?([e,t=""])=>{let r=pE([e]);if(!t)return r;let i=t.toLowerCase();return e=>r(e)&&e.toLowerCase().endsWith(i)}:([e,t=""])=>{let r=pw([e]);if(!t)return r;let i=t.toLowerCase();return e=>r(e)&&e.toLowerCase().endsWith(i)}:t.dot?([e,t=""])=>{let r=pE([e]);return t?e=>r(e)&&e.endsWith(t):r}:([e,t=""])=>{let r=pw([e]);return t?e=>r(e)&&e.endsWith(t):r})(a):s?r=t.dot?pA:py:o&&(r=px);let l=uZ.fromGlob(e,this.options).toMMPattern();return r&&"object"==typeof l&&Reflect.defineProperty(l,"test",{value:r}),l}makeRe(){if(this.regexp||!1===this.regexp)return this.regexp;let e=this.set;if(!e.length)return this.regexp=!1,this.regexp;let t=this.options,r=t.noglobstar?"[^/]*?":t.dot?"(?:(?!(?:\\/|^)(?:\\.{1,2})($|\\/)).)*?":"(?:(?!(?:\\/|^)\\.).)*?",i=new Set(t.nocase?["i"]:[]),n=e.map(e=>{let t=e.map(e=>{if(e instanceof RegExp)for(let t of e.flags.split(""))i.add(t);return"string"==typeof e?e.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&"):e===uk?uk:e._src});t.forEach((e,i)=>{let n=t[i+1],a=t[i-1];e===uk&&a!==uk&&(void 0===a?void 0!==n&&n!==uk?t[i+1]=`(?:\\/|${r}\\/)?${n}`:t[i]=r:void 0===n?t[i-1]=`${a}(?:\\/|\\/${r})?`:n!==uk&&(t[i-1]=`${a}(?:\\/|\\/${r}\\/)${n}`,t[i+1]=uk))});let n=t.filter(e=>e!==uk);if(this.partial&&n.length>=1){let e=[];for(let t=1;t<=n.length;t++)e.push(n.slice(0,t).join("/"));return`(?:${e.join("|")})`}return n.join("/")}).join("|"),[a,s]=e.length>1?["(?:",")"]:["",""];n=`^${a}${n}${s}$`,this.partial&&(n=`^(?:\\/|${a}${n.slice(1,-1)}${s})$`),this.negate&&(n=`^(?!${n}).+$`);try{this.regexp=new RegExp(n,[...i].join(""))}catch{this.regexp=!1}return this.regexp}slashSplit(e){return this.preserveMultipleSlashes?e.split("/"):this.isWindows&&/^\/\/[^/]+/.test(e)?["",...e.split(/\/+/)]:e.split(/\/+/)}match(e,t=this.partial){if(this.debug("match",e,this.pattern),this.comment)return!1;if(this.empty)return""===e;if("/"===e&&t)return!0;let r=this.options,i=e;this.isWindows&&(i=i.split("\\").join("/"));let n=this.slashSplit(i);this.debug(this.pattern,"split",n);let a=this.set;this.debug(this.pattern,"set",a);let s=n[n.length-1]??"";if(!s)for(let e=n.length-2;!s&&e>=0;e--)s=n[e]??"";for(let e of a){let i=n;if(r.matchBase&&1===e.length&&(i=[s]),this.matchOne(i,e,t)){if(r.flipNegate)return!0;return!this.negate}}return!r.flipNegate&&this.negate}},pR=i(5030),pO=class extends G.X0d()("GlobPatternError",{pattern:G.QfV,reason:G.xCb(["PatternTooLong","ExpansionBudgetExceeded","NestingDepthExceeded"]),limit:G.wNn,actual:G.wNn}){get message(){let e=this.pattern.length>64?`${this.pattern.slice(0,64)}…`:this.pattern;return`glob pattern ${JSON.stringify(e)} rejected: ${this.reason} (limit ${this.limit}, actual ${this.actual})`}};G.Xsx("GlobPatternOptions")({nobrace:G.Qrq(G.v8c),nocomment:G.Qrq(G.v8c),nonegate:G.Qrq(G.v8c),noglobstar:G.Qrq(G.v8c),noext:G.Qrq(G.v8c),dot:G.Qrq(G.v8c),nocase:G.Qrq(G.v8c),nocaseMagicOnly:G.Qrq(G.v8c),magicalBraces:G.Qrq(G.v8c),matchBase:G.Qrq(G.v8c),flipNegate:G.Qrq(G.v8c),partial:G.Qrq(G.v8c),preserveMultipleSlashes:G.Qrq(G.v8c),windowsPathsNoEscape:G.Qrq(G.v8c),windowsNoMagicRoot:G.Qrq(G.v8c),optimizationLevel:G.Qrq(G.wNn.check(G.E6F(),G.Bt9({minimum:0,maximum:2}))),platform:G.Qrq(G.xCb(["posix","aix","android","darwin","freebsd","haiku","linux","openbsd","sunos","win32","cygwin","netbsd"])),braceExpandMax:G.Qrq(G.wNn.check(G.E6F(),G.Bt9({minimum:1,maximum:1e5}))),maxGlobstarRecursion:G.Qrq(G.wNn.check(G.E6F(),G.yJO(0))),maxExtglobRecursion:G.Qrq(G.wNn.check(G.E6F(),G.yJO(0)))});let pk=e=>({...e?.nobrace!==void 0&&{nobrace:e.nobrace},...e?.nocomment!==void 0&&{nocomment:e.nocomment},...e?.nonegate!==void 0&&{nonegate:e.nonegate},...e?.noglobstar!==void 0&&{noglobstar:e.noglobstar},...e?.noext!==void 0&&{noext:e.noext},...e?.dot!==void 0&&{dot:e.dot},...e?.nocase!==void 0&&{nocase:e.nocase},...e?.nocaseMagicOnly!==void 0&&{nocaseMagicOnly:e.nocaseMagicOnly},...e?.magicalBraces!==void 0&&{magicalBraces:e.magicalBraces},...e?.matchBase!==void 0&&{matchBase:e.matchBase},...e?.flipNegate!==void 0&&{flipNegate:e.flipNegate},...e?.partial!==void 0&&{partial:e.partial},...e?.preserveMultipleSlashes!==void 0&&{preserveMultipleSlashes:e.preserveMultipleSlashes},...e?.windowsPathsNoEscape!==void 0&&{windowsPathsNoEscape:e.windowsPathsNoEscape},...e?.windowsNoMagicRoot!==void 0&&{windowsNoMagicRoot:e.windowsNoMagicRoot},...e?.optimizationLevel!==void 0&&{optimizationLevel:e.optimizationLevel},...e?.platform!==void 0&&{platform:e.platform},...e?.braceExpandMax!==void 0&&{braceExpandMax:e.braceExpandMax},...e?.maxGlobstarRecursion!==void 0&&{maxGlobstarRecursion:e.maxGlobstarRecursion},...e?.maxExtglobRecursion!==void 0&&{maxExtglobRecursion:e.maxExtglobRecursion}}),pT=e=>{try{return new pP(e,{}),!0}catch(e){if(uP(e))return e.message;throw e}};var pM=class e extends G.Xsx("GlobPattern")(G._kM({source:G.QfV}).check(G.HNH(e=>pT(e.source),{title:"compilable glob pattern"}))){#v;#B={};#P(){return void 0===this.#v&&(this.#v=new pP(this.source,this.#B)),this.#v}static compileResult(t,r){let i=pk(r);try{new pP(t,{});let r=new pP(t,i),n=new e({source:t});return n.#v=r,n.#B=i,$.Py(n)}catch(e){if(uP(e))return $.fJ(new pO({pattern:t,reason:e.reason,limit:e.limit,actual:e.actual}));throw e}}static compile=J.fn("GlobPattern.compile")(function*(t,r){return yield*J.yUA(e.compileResult(t,r))});matches(e){return this.#P().match(e)}get hasMagic(){return this.#P().hasMagic()}get negated(){return this.#P().negate}get enumerationPrefix(){let e,t=this.#P().set;if(0===t.length)return"";for(let r of t){let t=[];for(let e of r){if("string"!=typeof e)break;t.push(e)}if(void 0===e)e=t;else{let r=0;for(;r<e.length&&r<t.length&&e[r]===t[r];)r++;e=e.slice(0,r)}}return void 0===e||0===e.length?"":`${e.join("/")}/`}get crossesSegments(){return this.#P().set.some(e=>{if(e.includes(uk))return!0;let t=e.findIndex(e=>"string"!=typeof e);return -1!==t&&t<e.length-1})}static escape(e,t){return((e,{windowsPathsNoEscape:t=!1,magicalBraces:r=!1}={})=>r?t?e.replace(/[?*()[\]{}]/g,"[$&]"):e.replace(/[?*()[\]\\{}]/g,"\\$&"):t?e.replace(/[?*()[\]]/g,"[$&]"):e.replace(/[?*()[\]\\]/g,"\\$&"))(e,pk(t))}static unescape(e,t){return uO(e,pk(t))}static FromString=G.QfV.pipe(G.GLL(e,pR.pd({decode:e=>({source:e}),encode:e=>e.source})))};let pD=e=>e.startsWith("!")?e.slice(1):void 0,pz=e=>{for(let t of e){let e=pD(t)??t;try{new pP(e,{})}catch(e){if(uP(e))return`pattern ${JSON.stringify(t.slice(0,64))}: ${e.message}`;throw e}}return!0};var pQ=class e extends G.Xsx("GlobSet")(G._kM({patterns:G.O31(G.QfV)}).check(G.HNH(e=>pz(e.patterns),{title:"compilable glob pattern set"}))){#R;#O;#k(){if(void 0!==this.#R)return this.#R;let e=[],t=new Set,r=[],i=[];for(let n of this.patterns){let a=pD(n);if(void 0!==a){i.push(pM.make({source:a}));continue}for(let i of pv(n,{})){let n=new pP(i,{});if(n.hasMagic()){r.push(pM.make({source:i}));continue}if(n.comment)continue;let a=1===n.set.length?n.set[0]:void 0;if(n.negate||void 0===a||!a.every(e=>"string"==typeof e)){r.push(pM.make({source:i}));continue}let s=a.join("/");t.has(s)||(t.add(s),e.push(s))}}return this.#R={literals:e,wildcards:r,excludes:i},this.#O=t,this.#R}#T(){return void 0===this.#O&&this.#k(),this.#O}static compileResult(t){for(let e of t){let t=pD(e)??e;try{new pP(t,{})}catch(t){if(uP(t))return $.fJ(new pO({pattern:e,reason:t.reason,limit:t.limit,actual:t.actual}));throw t}}return $.Py(new e({patterns:t}))}static compile=J.fn("GlobSet.compile")(function*(t){return yield*J.yUA(e.compileResult(t))});matches(e){let{wildcards:t,excludes:r}=this.#k();return!!(this.#T().has(e)||t.some(t=>t.matches(e)))&&!r.some(t=>t.matches(e))}isExcluded(e){return this.#k().excludes.some(t=>t.matches(e))}get literals(){return this.#k().literals}get wildcards(){return this.#k().wildcards}get excludes(){return this.#k().excludes}},p_=i(9616),pU=i(1306),pH=class extends G.X0d()("ActionCacheError",{reason:G.xCb(["misconfigured","unreachable","refused","archiveFailed","transferFailed"]),key:G.Qrq(G.QfV),status:G.Qrq(G.wNn),detail:G.Qrq(G.QfV),stderr:G.Qrq(G.QfV),cause:G.Qrq(G.kld())}){get message(){let e=void 0===this.key?"":` for "${this.key}"`,t=void 0===this.detail?"":`: ${this.detail}`;switch(this.reason){case"misconfigured":return`The Actions cache is not reachable from here${t}`;case"unreachable":return`The Actions cache could not be reached${e}${t}`;case"refused":return`The Actions cache refused the request${e}${void 0===this.status?"":` with status ${this.status}`}${t}`;case"archiveFailed":return`The cache archive could not be built or extracted${e}${void 0===this.stderr?"":`: ${this.stderr}`}`;default:return`The cache archive did not transfer${e}`}}};let pL=e=>(0,eu.createHash)("sha256").update([...e,"gzip","1.0"].join("|")).digest("hex"),pF={uploadFile:(e,t)=>J.$mh({try:()=>new uE(e).uploadFile(t,{blockSize:0x4000000,concurrency:8,maxSingleShotSize:0x8000000}),catch:e=>new Y({reason:"uploadFailed",cause:e})}).pipe(J.NLW),downloadToFile:(e,t)=>J.$mh({try:()=>new uI(e).downloadToFile(t),catch:e=>new Y({reason:"downloadFailed",cause:e})}).pipe(J.NLW)},pq=(e,t)=>"string"==typeof e?{primary:e,fallbacks:t??[]}:{primary:e.key,fallbacks:t??e.restoreKeys},pj=e=>J.JkU(function*(){let t=yield*em.Qq,r=yield*es.Q2,i=yield*eo.wA,n=yield*p_.CV,a=yield*j.gd,s=yield*J.TjK(a.getOptional("RUNNER_OS"),e=>K.match(e,{onNone:()=>!1,onSome:e=>"windows"===e.toLowerCase()})),o=J.JkU(function*(){let e=yield*a.getOptional(V),t=yield*a.getOptional(W);return K.isNone(e)?yield*J.fJG(V):K.isNone(t)?yield*J.fJG(W):{baseUrl:e.value.endsWith("/")?e.value:`${e.value}/`,token:X.L8(t.value),backendIds:(e=>{let t;try{t=(e=>{let t=e.split(".");if(3!==t.length)throw Error(`expected a three-segment JWT, got ${t.length}`);return JSON.parse(Buffer.from(t[1]??"","base64url").toString("utf8"))})(e)}catch(e){return $.fJ(`the runtime token is not a readable JWT: ${e instanceof Error?e.message:e}`)}let r=t.scp;if("string"!=typeof r)return $.fJ("the runtime token carries no `scp` claim");for(let e of r.split(" ")){let t=e.split(":");if("Actions.Results"!==t[0])continue;let r=t[1],i=t[2];if(3!==t.length||void 0===r||""===r||void 0===i||""===i)return $.fJ(`the runtime token's Actions.Results scope is malformed: "${e}"`);return $.Py({workflowRunBackendId:r,workflowJobRunBackendId:i})}return $.fJ("the runtime token carries no `Actions.Results` scope")})(t.value)}}).pipe(J.xm_(e=>new pH({reason:"misconfigured",detail:`${e} is not set — the Actions cache is only reachable from a \`uses:\` step, never from \`run:\``}))),l=(e,r,i)=>J.JkU(function*(){let{baseUrl:n,token:a}=yield*o;return yield*(e=>{let{baseUrl:t,body:r,http:i,method:n,service:a,token:s}=e;return J.JkU(function*(){let e=ee.bE(`${t}twirp/${a}/${n}`).pipe(ee.hC(s),ee.hk(r)),o=yield*i.execute(e).pipe(J.xm_(e=>({method:n,kind:"transport",cause:e})));return 409===o.status?et:o.status<200||o.status>=300?yield*J.fJG({method:n,kind:"status",status:o.status}):yield*o.json.pipe(J.xm_(e=>({method:n,kind:"malformed",cause:e})))}).pipe(J.L5P({schedule:Z.EV("3 seconds",1.5),times:4,while:er}))})({http:t,baseUrl:n,service:"github.actions.results.api.v1.CacheService",token:a,method:e,body:r}).pipe(J.xm_(e=>new pH("status"===e.kind?{reason:"refused",key:i,detail:e.method,...void 0===e.status?{}:{status:e.status}}:{reason:"unreachable",key:i,detail:`${e.method} did not answer with a Twirp body`,...void 0===e.cause?{}:{cause:e.cause}})))}),c=(e,t,r)=>J.P1j(J.JkU(function*(){let i=pU.L8("tar",[...e]),a=e=>new pH({reason:"archiveFailed",key:t,cause:e}),s=yield*n.spawn(i).pipe(J.xm_(a)),o=yield*el.kBx(el.g7H(s.all)).pipe(J.xm_(a)),l=yield*s.exitCode.pipe(J.xm_(a));if(0!==l&&!(r&&1===l))return yield*J.fJG(new pH({reason:"archiveFailed",key:t,stderr:o.trim()}))})),d=(e,t)=>J.jGc(r.makeTempDirectory({prefix:"effected-cache-"}).pipe(J.xm_(t=>new pH({reason:"archiveFailed",key:e,cause:t}))),e=>t(i.join(e,"cache.tar.gz"),e),e=>J.XeO(r.remove(e,{recursive:!0,force:!0}))),m=e=>J.xm_(t=>new pH({reason:"transferFailed",key:e,cause:t})),u=e=>e.replaceAll("\\","/");return{save:J.fn("ActionCache.save")(function*(t,n){let{primary:s}=pq(n,void 0);yield*J.ww9({key:s});let o=pL(t);if(0===t.length)return yield*J.fJG(new pH({reason:"archiveFailed",key:s,detail:"no paths were given to cache"}));let p=yield*J.JkU(function*(){let e=(e,t)=>new pH({reason:"archiveFailed",key:s,detail:e,...void 0===t?{}:{cause:t}}),n=t.map(e=>e.trim()).filter(e=>""!==e&&!e.startsWith("#")),o=K.getOrElse((yield*a.getOptional("GITHUB_WORKSPACE")),()=>"."),l=u(i.resolve(o)),c=[];for(let t of n){let r=t.startsWith("!"),n=r?t.slice(1):t;if("~"===n||n.startsWith("~/")){let r=yield*a.getOptional("HOME");if(K.isNone(r)&&(r=yield*a.getOptional("USERPROFILE")),K.isNone(r))return yield*J.fJG(e(`cannot expand "~" in "${t}" — neither HOME nor USERPROFILE is set`));n=`${pM.escape(u(i.resolve(r.value)))}${n.slice(1)}`}i.isAbsolute(n)||(n=`${pM.escape(l)}/${n}`),c.push(r?`!${n}`:n)}let d=yield*pQ.compile(c).pipe(J.xm_(t=>e(`"${t.pattern}" is not a usable glob pattern`,t))),m=[],p=[],h=(e,t)=>{""!==e&&(m.includes(e)||m.push(e),t&&!p.includes(e)&&p.push(e))};for(let e of d.literals)h(e,!1);for(let e of d.wildcards){if(e.negated)continue;let t=e.enumerationPrefix;h(""===t?l:"/"===t?"/":t.slice(0,-1),!0)}let g=(e,t)=>"/"===t?"/"!==e:e.startsWith(`${t}/`),f=m.filter(e=>!m.some(t=>t!==e&&g(e,t))),y=e=>p.some(t=>t===e||g(t,e)),A=[],b=new Set,x=e=>{!b.has(e)&&d.matches(e)&&(b.add(e),A.push(e))};for(let t of f){let i=yield*r.stat(t).pipe(J.uKv);if(!K.isNone(i)&&(x(t),"Directory"===i.value.type&&y(t)))for(let i of yield*r.readDirectory(t,{recursive:!0}).pipe(J.xm_(r=>e(`could not enumerate "${t}"`,r))))x(`${t}/${u(i)}`)}return 0===A.length?yield*J.fJG(e(`no file or directory matched the cache paths: ${n.join(", ")}`)):A});yield*d(s,(t,n)=>J.JkU(function*(){let a=i.join(n,"manifest.txt");yield*r.writeFileString(a,`${p.join("\n")} +`).pipe(J.xm_(e=>new pH({reason:"archiveFailed",key:s,cause:e}))),yield*c(["czPf",t,"-T",a],s,!1);let d=yield*r.stat(t).pipe(J.xm_(e=>new pH({reason:"archiveFailed",key:s,cause:e}))),u=yield*l("CreateCacheEntry",{key:s,version:o},s);if(u===et)return;let h=en(u,"signedUploadUrl");if(!ea(u)||void 0===h)return yield*J.fJG(new pH({reason:"refused",key:s,detail:"CreateCacheEntry returned no upload url"}));yield*e.uploadFile(h,t).pipe(m(s));let g=yield*l("FinalizeCacheEntryUpload",{key:s,version:o,size_bytes:String(d.size)},s);if(g===et||!ea(g))return yield*J.fJG(new pH({reason:"refused",key:s,detail:"FinalizeCacheEntryUpload did not confirm the upload"}))}))}),restore:J.fn("ActionCache.restore")(function*(t,r,i){let{primary:n,fallbacks:a}=pq(r,i);yield*J.ww9({key:n});let o=pL(t),u=yield*l("GetCacheEntryDownloadURL",{key:n,restore_keys:[...a],version:o},n);if(u===et||!ea(u))return K.none();let p=en(u,"signedDownloadUrl");return void 0===p?K.none():(yield*d(n,t=>J.JkU(function*(){yield*e.downloadToFile(p,t).pipe(m(n)),yield*c([s?"xzPkf":"xzPf",t],n,s)})),K.some(en(u,"matchedKey")??n))})}}),pG=e=>{throw Error(`ActionCache.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var pY=class e extends ec.kl()("@effected/github-actions/ActionCache"){static layer=ed.QZ(this,pj(pF));static layerWith=t=>ed.QZ(e,pj(t));static makeTest=(e={})=>({save:()=>J.OH5(()=>pG("save")),restore:()=>J.OH5(()=>pG("restore")),...e});static layerTest=(t={})=>ed.Py(e,e.makeTest(t))}},7139(e,t,r){var i=r(7464),n=r(9605),a=r(702),s=r(9427),o=r(6437),l=r(8275),c=class extends i.X0d()("ActionEnvironmentError",{reason:i.xCb(["missing","malformed"]),name:i.QfV,detail:i.Qrq(i.QfV)}){get message(){return"missing"===this.reason?`Required environment variable "${this.name}" is not set`:`Environment variable "${this.name}" is malformed${void 0===this.detail?"":`: ${this.detail}`}`}},d=class extends i.Xsx("GitHubContext")({repository:i.QfV,repositoryOwner:i.QfV,ref:i.QfV,refName:i.QfV,sha:i.QfV,workflow:i.QfV,job:i.QfV,runId:i.wNn,runAttempt:i.wNn,eventName:i.QfV,actor:i.QfV,serverUrl:i.QfV,apiUrl:i.QfV,graphqlUrl:i.QfV,workspace:i.QfV}){},m=class extends i.Xsx("RunnerContext")({os:i.QfV,arch:i.QfV,name:i.QfV,temp:i.QfV,toolCache:i.QfV}){};let u=n.Or("@effected/github-actions/EnvOverrides",{defaultValue:()=>({})}),p=(e,t)=>{let r=Number(t);return Number.isFinite(r)?a.PyW(r):a.fJG(new c({reason:"malformed",name:e,detail:`expected a number, got "${t}"`}))},h=e=>a.JkU(function*(){let t=yield*s.Q2,r=t=>a.TjK(u,r=>{let i=r[t]??e[t];return void 0===i||""===i?o.none():o.some(i)}),i=e=>a.qIB(r(e),t=>o.isSome(t)?a.PyW(t.value):a.fJG(new c({reason:"missing",name:e})));return{get:i,getOptional:r,isDebug:a.TjK(r("RUNNER_DEBUG"),e=>o.isSome(e)&&"1"===e.value),github:a.JkU(function*(){let[e,t,r,n,s,o,l]=yield*a.Q7R([i("GITHUB_REPOSITORY"),i("GITHUB_REPOSITORY_OWNER"),i("GITHUB_REF"),i("GITHUB_REF_NAME"),i("GITHUB_SHA"),i("GITHUB_WORKFLOW"),i("GITHUB_JOB")]),c=yield*a.qIB(i("GITHUB_RUN_ID"),e=>p("GITHUB_RUN_ID",e)),m=yield*a.qIB(i("GITHUB_RUN_ATTEMPT"),e=>p("GITHUB_RUN_ATTEMPT",e)),[u,h,g,f,y,A]=yield*a.Q7R([i("GITHUB_EVENT_NAME"),i("GITHUB_ACTOR"),i("GITHUB_SERVER_URL"),i("GITHUB_API_URL"),i("GITHUB_GRAPHQL_URL"),i("GITHUB_WORKSPACE")]);return d.make({repository:e,repositoryOwner:t,ref:r,refName:n,sha:s,workflow:o,job:l,runId:c,runAttempt:m,eventName:u,actor:h,serverUrl:g,apiUrl:f,graphqlUrl:y,workspace:A})}),runner:a.JkU(function*(){let[e,t,r,n,s]=yield*a.Q7R([i("RUNNER_OS"),i("RUNNER_ARCH"),i("RUNNER_NAME"),i("RUNNER_TEMP"),i("RUNNER_TOOL_CACHE")]);return m.make({os:e,arch:t,name:r,temp:n,toolCache:s})}),payload:a.JkU(function*(){let e=yield*i("GITHUB_EVENT_PATH"),r=yield*t.readFileString(e).pipe(a.xm_(t=>new c({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`could not read "${e}": ${String(t)}`})));return yield*a.SvU({try:()=>JSON.parse(r),catch:e=>new c({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`not valid JSON: ${String(e)}`})})}),withEnv:(e,t)=>a.qIB(u,r=>a.PfK(t,u,{...r,...e}))}}),g={GITHUB_REPOSITORY:"acme/example",GITHUB_REPOSITORY_OWNER:"acme",GITHUB_REF:"refs/heads/main",GITHUB_REF_NAME:"main",GITHUB_SHA:"0000000000000000000000000000000000000000",GITHUB_WORKFLOW:"test",GITHUB_JOB:"test",GITHUB_RUN_ID:"1",GITHUB_RUN_ATTEMPT:"1",GITHUB_EVENT_NAME:"push",GITHUB_ACTOR:"tester",GITHUB_SERVER_URL:"https://github.com",GITHUB_API_URL:"https://api.github.com",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",GITHUB_WORKSPACE:"/workspace",RUNNER_OS:"Linux",RUNNER_ARCH:"X64",RUNNER_NAME:"test-runner",RUNNER_TEMP:"/tmp",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache"};var f=class e extends n.kl()("@effected/github-actions/ActionEnvironment"){static layer=l.QZ(this,a.qIB(a.OH5(()=>({...process.env})),h));static layerFrom=t=>l.QZ(e,h(t));static makeTest=(e={})=>h({...g,...e});static layerTest=(t={})=>l.QZ(e,e.makeTest(t)).pipe(l.Gt(s.Wn({})))};r.d(t,{gd:()=>f})},7476(e,t,r){var i=r(7139),n=r(4742),a=r(7464),s=r(702),o=r(9427),l=r(3407),c=r(9605),d=r(8275),m=class extends a.X0d()("ActionOutputError",{reason:a.xCb(["unavailable","writeFailed","invalidName","encodeFailed","detached"]),file:a.Qrq(a.QfV),name:a.Qrq(a.QfV),cause:a.Qrq(a.kld())}){get message(){switch(this.reason){case"unavailable":return`Runner file "${this.file}" is not available; is this running on a GitHub runner?`;case"writeFailed":return`Failed to write to runner file "${this.file}"`;case"invalidName":return`"${this.name}" is not a usable output name`;case"detached":return`Runner file "${this.file}" cannot be reached from a detached worker — it configures the parent job's later steps, and a worker has none and may outlive the job. Publish this from the parent process instead.`;default:return`Failed to encode the value for "${this.name}"`}}};let u=s.JkU(function*(){let e=yield*i.gd,t=yield*o.Q2,r=(r,i)=>s.JkU(function*(){let n=yield*e.get(r).pipe(s.xm_(()=>new m({reason:"unavailable",file:r})));yield*t.writeFileString(n,i,{flag:"a"}).pipe(s.xm_(e=>new m({reason:"writeFailed",file:r,cause:e})))}),c=(e,t,i)=>{if(!(""!==t&&!/[\r\n]/.test(t)))return s.fJG(new m({reason:"invalidName",file:e,name:t}));let n=(e=>{let t="EFFECTED_EOF";for(;e.includes(t);)t=`${t}_`;return t})(i);return r(e,`${t}<<${n} +${i} +${n} +`)},d=(e,t)=>c("GITHUB_OUTPUT",e,t);return{set:d,setJson:(e,t,r)=>a.e$n(r)(t).pipe(s.xm_(t=>new m({reason:"encodeFailed",name:e,cause:t})),s.qIB(t=>d(e,JSON.stringify(t)))),summary:e=>r("GITHUB_STEP_SUMMARY",e),exportVariable:(e,t)=>c("GITHUB_ENV",e,t),addPath:e=>r("GITHUB_PATH",`${e} +`),setFailed:e=>l.Rm(n.T.error(e)),setSecret:e=>l.Rm(n.T.addMask(e))}}),p=e=>{throw Error(`ActionOutputs.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var h=class e extends c.kl()("@effected/github-actions/ActionOutputs"){static layer=d.QZ(this,u);static layerDetached=d.Py(this,{set:e=>s.fJG(new m({reason:"detached",file:"GITHUB_OUTPUT",name:e})),setJson:e=>s.fJG(new m({reason:"detached",file:"GITHUB_OUTPUT",name:e})),summary:()=>s.fJG(new m({reason:"detached",file:"GITHUB_STEP_SUMMARY"})),exportVariable:e=>s.fJG(new m({reason:"detached",file:"GITHUB_ENV",name:e})),addPath:()=>s.fJG(new m({reason:"detached",file:"GITHUB_PATH"})),setFailed:e=>l.z3(e),setSecret:()=>s.rIH});static makeTest=(e={})=>({set:()=>s.OH5(()=>p("set")),setJson:()=>s.OH5(()=>p("setJson")),summary:()=>s.OH5(()=>p("summary")),exportVariable:()=>s.OH5(()=>p("exportVariable")),addPath:()=>s.OH5(()=>p("addPath")),setFailed:()=>s.OH5(()=>p("setFailed")),setSecret:()=>s.OH5(()=>p("setSecret")),...e});static layerTest=(t={})=>d.Py(e,e.makeTest(t))};r.d(t,{X:()=>h})},5227(e,t,r){var i=r(7139),n=r(7476),a=r(7464),s=r(702),o=r(9427),l=r(6437),c=r(9605),d=r(8275),m=class extends a.X0d()("ActionStateError",{reason:a.xCb(["missing","malformed","notPlainJson","writeFailed"]),key:a.QfV,cause:a.Qrq(a.kld())}){get message(){switch(this.reason){case"missing":return`No action state was saved under "${this.key}"`;case"malformed":return`Action state under "${this.key}" could not be decoded`;case"notPlainJson":return`The encoded form of action state under "${this.key}" is not plain JSON and would not survive the phase boundary — encode to a plain-JSON form (e.g. Schema.OptionFromNullOr rather than Schema.Option)`;default:return`Failed to persist action state under "${this.key}"`}}};let u=s.JkU(function*(){let e=yield*i.gd,t=yield*o.Q2,r=yield*n.X,c=(r,i)=>s.JkU(function*(){let n=yield*e.get("GITHUB_STATE").pipe(s.xm_(e=>new m({reason:"writeFailed",key:r,cause:e}))),a="EFFECTED_EOF";for(;i.includes(a);)a=`${a}_`;yield*t.writeFileString(n,`${r}<<${a} +${i} +${a} +`,{flag:"a"}).pipe(s.xm_(e=>new m({reason:"writeFailed",key:r,cause:e})))}),d=(t,r)=>s.JkU(function*(){let i=yield*e.getOptional(`STATE_${t}`);if(l.isNone(i))return l.none();let n=yield*s.SvU({try:()=>JSON.parse(i.value),catch:e=>new m({reason:"malformed",key:t,cause:e})}),o=yield*a._Re(r)(n).pipe(s.xm_(e=>new m({reason:"malformed",key:t,cause:e})));return l.some(o)});return{save:(e,t,r)=>s.JkU(function*(){let i=yield*a.e$n(r)(t).pipe(s.xm_(t=>new m({reason:"malformed",key:e,cause:t}))),{parsed:n,serialized:o}=yield*s.SvU({try:()=>{let e=JSON.stringify(i);return{parsed:JSON.parse(e),serialized:e}},catch:t=>new m({reason:"notPlainJson",key:e,cause:t})});yield*a._Re(r)(n).pipe(s.xm_(t=>new m({reason:"notPlainJson",key:e,cause:t}))),yield*c(e,o)}),getOptional:d,get:(e,t)=>s.qIB(d(e,t),t=>l.isSome(t)?s.PyW(t.value):s.fJG(new m({reason:"missing",key:e}))),saveSecret:(e,t)=>s.qIB(r.setSecret(t),()=>c(e,JSON.stringify(t)))}}),p=e=>{throw Error(`ActionState.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var h=class e extends c.kl()("@effected/github-actions/ActionState"){static layer=d.QZ(this,u);static makeTest=(e={})=>({save:()=>s.OH5(()=>p("save")),get:()=>s.OH5(()=>p("get")),getOptional:()=>s.OH5(()=>p("getOptional")),saveSecret:()=>s.OH5(()=>p("saveSecret")),...e});static layerTest=(t={})=>d.Py(e,e.makeTest(t))};r.d(t,{q:()=>h})},7411(e,t,r){var i=r(7464),n=r(702),a=r(9616),s=r(1421),o=r(3024),l=class extends i.X0d()("DetachedProcessError",{reason:i.xCb(["logUnavailable","spawnFailed","invalidPid","signalFailed","notReady"]),pid:i.Qrq(i.wNn),path:i.Qrq(i.QfV),cause:i.Qrq(i.kld())}){get message(){switch(this.reason){case"logUnavailable":return`Could not open the detached log file "${this.path}"`;case"spawnFailed":return"The detached child did not start";case"invalidPid":return`Refusing to signal pid ${this.pid}: a non-positive pid targets a process group, not a process`;case"signalFailed":return`Could not signal pid ${this.pid}`;default:return"The detached child never became ready"}}};let c=i.wNn.pipe(i.z6Y(i.HNH(e=>Number.isInteger(e)&&e>0?void 0:"Expected a positive integer process id")),i.wkx("ProcessId"));var d=class{static spawn=n.fn("DetachedProcess.spawn")(function*(e){let t=yield*n.SvU({try:()=>(0,o.openSync)(e.logFile,"a"),catch:t=>new l({reason:"logUnavailable",path:e.logFile,cause:t})}),r=yield*n.SvU({try:()=>{try{let r=(0,s.spawn)(e.command,[...e.args??[]],{...void 0===e.cwd?{}:{cwd:e.cwd},env:{...process.env,...e.env},detached:!0,stdio:["ignore",t,t]});if(r.on("error",()=>{}),r.unref(),void 0===r.pid)throw Error(`"${e.command}" produced no process id`);return r.pid}finally{(0,o.closeSync)(t)}},catch:e=>new l({reason:"spawnFailed",cause:e})});return yield*n.ww9({pid:r}),a.xv(r)});static awaitReady=n.fn("DetachedProcess.awaitReady")(function*(e,t){let r=t?.interval??"150 millis",i=t?.attempts??40,a=t=>n.qIB(e,e=>e?n.rIH:t<=0?n.fJG(new l({reason:"notReady"})):n.qIB(n.yy4(r),()=>a(t-1)));return yield*a(i)});static reap=n.fn("DetachedProcess.reap")(function*(e,t="SIGTERM"){return(yield*n.ww9({pid:e}),!Number.isInteger(e)||e<=0)?yield*n.fJG(new l({reason:"invalidPid",pid:e})):yield*n.DYE(()=>{try{return process.kill(e,t),n.PyW(!0)}catch(t){return"object"==typeof t&&null!==t&&"ESRCH"===t.code?n.PyW(!1):n.fJG(new l({reason:"signalFailed",pid:e,cause:t}))}})})};r.d(t,{EN:()=>d},{xv:c})},4742(e,t,r){let i=e=>e.replaceAll("%","%25").replaceAll("\r","%0D").replaceAll("\n","%0A");var n=class e{static render(e,t,r){let n=Object.entries(t).filter(e=>void 0!==e[1]).map(([e,t])=>`${e}=${i(String(t)).replaceAll(":","%3A").replaceAll(",","%2C")}`).join(",");return`${""===n?`::${e}::`:`::${e} ${n}::`}${i(r)}`}static debug(t){return e.render("debug",{},t)}static notice(t,r={}){return e.render("notice",e.annotation(r),t)}static warning(t,r={}){return e.render("warning",e.annotation(r),t)}static error(t,r={}){return e.render("error",e.annotation(r),t)}static group(t){return e.render("group",{},t)}static endGroup(){return e.render("endgroup",{},"")}static addMask(t){return e.render("add-mask",{},t)}static annotation(e){return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}};r.d(t,{T:()=>n})},3207(e,t,r){r.d(t,{BC:()=>g,Ie:()=>I,D8:()=>h,Ts:()=>p,CZ:()=>y,ET:()=>A,HV:()=>x,T9:()=>B,Tj:()=>E,of:()=>w,jB:()=>v,KC:()=>S});var i=r(2730),n=r(3558),a=r(9920);let s=e=>e.length>0;var o=r(1034),l=r(6437),c=r(606),d=r(7045),m=r(2917);let u=globalThis.Array,p=e=>u.isArray(e)?e:u.from(e),h=e=>u.isArray(e)?e:[e];d.Wo,l.toArray;let g=(0,a.XY)(2,(e,t)=>[...e,t]),f=(0,a.XY)(2,(e,t)=>p(e).concat(p(t)));u.isArray;let y=s,A=s,b=(0,a.XY)(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),x=e=>A(e)?l.some(N(e)):l.none(),N=e=>e[e.length-1];o.i8;let C=(0,a.XY)(3,(e,t,r)=>{let i=p(e),n=p(t);return A(i)?A(n)?P(r)(f(i,n)):i:n}),S=(0,a.XY)(2,(e,t)=>C(e,t,i.jI())),I=()=>[],w=e=>[e],E=(0,a.XY)(2,(e,t)=>e.map(t)),v=(0,a.XY)(2,(e,t)=>{let r=[],i=[],n=0;for(let a of e){let e=t(a,n++);m.oJ(e)?i.push(e.success):r.push(e.failure)}return[r,i]});c.O3;let B=n.O3,P=(0,a.XY)(2,(e,t)=>{let r=p(e);if(A(r)){let e=[b(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]})},5909(e,t,r){var i=r(2730),n=r(3558),a=r(9920),s=r(3536),o=r(8294),l=r(6437),c=r(606),d=r(2544),m=r(8527);let u=/^[+-]?\d+$/,p="~effect/BigDecimal",h={[p]:p,[s.HR](){let e=S(this);return s.kg(s.tW(e.value),s.ai(e.scale))},[i.HR](e){return g(e)&&O(this,e)},toString(){return`BigDecimal(${k(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[o.FX](){return this.toJSON()},pipe(){return(0,d.tT)(this,arguments)}},g=e=>(0,m.i5)(e,p),f=(e,t)=>{let r=Object.create(h);return r.value=e,r.scale=t,r},y=(e,t)=>{if(e!==A&&e%N===A)throw RangeError("Value must be normalized");let r=f(e,t);return r.normalized=r,r},A=BigInt(0),b=BigInt(1),x=BigInt(-1),N=BigInt(10),C=y(A,0),S=e=>{if(void 0===e.normalized)if(e.value===A)e.normalized=C;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),n=e.scale-r;e.normalized=y(i,n)}return e.normalized},I=(0,a.XY)(2,(e,t)=>t>e.scale?f(e.value*N**BigInt(t-e.scale),t):t<e.scale?f(e.value/N**BigInt(e.scale-t),t):e),w=(0,a.XY)(2,(e,t)=>t.value===A?e:e.value===A?t:e.scale>t.scale?f(I(t,e.scale).value+e.value,e.scale):e.scale<t.scale?f(I(e,t.scale).value+t.value,t.scale):f(e.value+t.value,e.scale)),E=c.L8((e,t)=>{let r=c.wN(P(e),P(t));return 0!==r?r:e.scale>t.scale?c.Qw(e.value,I(t,e.scale).value):e.scale<t.scale?c.Qw(I(e,t.scale).value,t.value):c.Qw(e.value,t.value)}),v=c.hl(E),B=c.yJ(E),P=e=>e.value===A?0:e.value<A?-1:1,R=n.L8((e,t)=>e.scale>t.scale?I(t,e.scale).value===e.value:e.scale<t.scale?I(e,t.scale).value===t.value:e.value===t.value),O=(0,a.XY)(2,(e,t)=>R(e,t)),k=e=>{let t,r,i=S(e);if(Math.abs(i.scale)>=16)return T(i);let n=i.value<A,a=n?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=a.length)t="0",r="0".repeat(i.scale-a.length)+a;else{let e=a.length-i.scale;if(e>a.length){let i=e-a.length;t=`${a}${"0".repeat(i)}`,r=""}else r=a.slice(e),t=a.slice(0,e)}let s=""===r?t:`${t}.${r}`;return n?`-${s}`:s},T=e=>{if(M(e))return"0e+0";let t=S(e),r=`${(t.value<A?f(-t.value,t.scale):t).value}`,i=r.slice(0,1),n=r.slice(1),a=`${D(t)?"-":""}${i}`;""!==n&&(a+=`.${n}`);let s=n.length-t.scale;return`${a}e${s>=0?"+":""}${s}`},M=e=>e.value===A,D=e=>e.value<A,z=e=>g(e[0]),Q=(0,a.XY)(z,(e,t=0)=>e.scale<=t?e:f(e.value/N**BigInt(e.scale-t),t)),_=(0,a.XY)(z,(e,t=0)=>{let r=Q(e,t);return e.value>A&&v(r,e)?w(r,f(b,t)):r}),U=(0,a.XY)(z,(e,t=0)=>{let r=Q(e,t);return D(e)&&B(r,e)?w(r,f(x,t)):r});r.d(t,{},{GP:k,L8:f,RI:U,hs:I,mk:_,pH:E,rs:R,s5:g,sH:e=>{let t,r,i,n;if(""===e)return l.some(C);let a=e.search(/[eE]/);if(-1!==a){let i=e.slice(a+1);if(t=e.slice(0,a),r=Number(i),""===t||!Number.isSafeInteger(r)||!u.test(i))return l.none()}else t=e,r=0;let s=t.search(/\./);if(-1!==s){let e=t.slice(0,s),r=t.slice(s+1);i=`${e}${r}`,n=r.length}else i=t,n=0;if(!u.test(i))return l.none();let o=n-r;return Number.isSafeInteger(o)?l.some(f(BigInt(i),o)):l.none()}})},347(e,t,r){var i=r(6437),n=r(2917);function a(){return Object.assign(e=>e,{option:e=>i.some(e),result:e=>n.Py(e),is:e=>!0})}r.d(t,{HC:()=>a})},8149(e,t,r){var i=r(8579),n=r(8826);i.PX,i.B4,i.Aj,i.Wg;let a=i.lC;i.Xb,i.ik,i.b5,i.DH;let s=i.OE;i.Iu,n.nIy,n.ORc,n.nn5;let o=n.O$X;n.h2c;let l=n.ReC;n.myX,n.QE5;let c=n.khU,d=n.L$u;n.gpn,n.k7S;let m=n.BbX,u=n.prj;n.tU5,n.h74,n.Bou,n.RJ6;let p=n.GyP;i.PW,i.qB,i.Xm;let h=i.$L;i.q_;let g=i.RS,f=i.Vw;n.DQo,n.c8t,n.MUS,n.t8c,n._y;let y=n.qwd;n.ASO,n.F7W,n.Aub,n.cOF,n.Rft,n.RD4,n.Kkt,n.PnV;let A=n.Bk6;i.Eh,n.tQ6,n.On5,r.d(t,{},{$L:h,Bb:m,Bk:A,L$:d,RS:g,Tj:o,Vw:f,fJ:s,iw:l,j9:p,kh:c,lC:a,pr:u,qw:y})},893(e,t,r){var i=r(3207),n=r(8149),a=r(702),s=r(9920),o=r(6437),l=r(2544),c=r(8527),d=r(6627),m=r(9444),u=r(1746);let p="~effect/Channel",h=e=>(0,c.i5)(e,p),g={[p]:{_Env:s.D_,_InErr:s.D_,_InElem:s.D_,_OutErr:s.D_,_OutElem:s.D_},pipe(){return(0,l.tT)(this,arguments)}},f=e=>{let t=Object.create(g);return t.transform=(t,r)=>a.Tyx(e(t,r),e=>a.PyW(a.ATB(e))),t},y=(e,t)=>f((r,i)=>a.qIB(x(e)(r,i),e=>t(e,i))),A=e=>f((t,r)=>e),b=e=>f(a.D9k(function*(t,r){let i=u.Fp(r),n=e=>u.VN(i,d.aU(e)),s=yield*a.S5A(e(t,r,i),n);return a.S5A(s,n)})),x=e=>e.transform,N=A(a.PyW(n.Vw())),C=A(a.PyW(a.ZmZ)),S=(0,s.XY)(2,(e,t)=>y(e,e=>a.OH5(()=>{let r=0;return a.TjK(e,e=>t(e,r++))}))),I=(0,s.XY)(2,(e,t)=>w(e,e=>a.PyW(t(e)))),w=(0,s.XY)(2,(e,t)=>y(e,e=>a.PyW(d.m8(e,e=>a.qIB(t(e),n.Vw))))),E=(0,s.XY)(e=>h(e[0])&&h(e[1]),(e,t,r)=>b(a.D9k(function*(i,n,s){let o=r?.haltStrategy??"both",l=yield*m.Mm(0);yield*u.U9(s,m.n_(l));let c=0,p=(e,t,r)=>x(t)(i,r).pipe(a.qIB(e=>e.pipe(a.qIB(e=>m.x(l,e)),a.i4r)),a.S5A(t=>a.hgn(u.VN(r,d.aU(t)),function(e,t){if(c++,!d.Og(t))return m.AT(l,t);switch(o){case"both":return 2===c?m.AT(l,t):a.rIH;case"left":case"right":return e===o?m.AT(l,t):a.rIH;case"either":return m.AT(l,t)}}(e,t))),a.ar0(s));return yield*p("left",e,u.Fp(s)),yield*p("right",t,u.Fp(s)),m.s(l)}))),v=(0,s.XY)(2,(e,t)=>f((r,i)=>a.qIB(x(e)(r,i),e=>x(t)(e,i)))),B=(0,s.XY)(2,(e,t)=>b((r,i,n)=>u.a6(n,t).pipe(a.hgn(x(e)(r,i))))),P=(0,s.XY)(2,(e,t)=>B(e,e=>t)),R=(e,t,r)=>a.DYE(()=>{let i=u.LZ(),s=x(e)(n.Vw(),i);return d.m8(a.qIB(s,t),r||a.PyW).pipe(a.cfM(e=>u.VN(i,e)))}),O=(0,s.XY)(2,(e,t)=>R(e,e=>a.i4r(a.qIB(e,t),{disableYield:!0}))),k=(0,s.XY)(3,(e,t,r)=>a.DYE(()=>{let i=t();return R(e,e=>a.iMI({while:s.ue,body:()=>e,step:e=>{i=r(i,e)}}),()=>a.PyW(i))}));r.d(t,{},{DY:e=>f((t,r)=>a.DYE(()=>x(e())(t,r))),Dn:v,Hb:I,Ie:N,OB:A,Tj:S,VD:(e,t)=>f((r,i)=>a.TjK(m.L8({capacity:t?.bufferSize,strategy:t?.strategy}).pipe(a.Mim(e=>u.U9(i,m.n_(e))),a.Mim(t=>a.ar0(u.Gt(e(t),i),i))),m.h0)),Z1:f,Zm:C,fJ:e=>A(a.PyW(a.fJG(e))),h1:E,lB:(e,t)=>x(e)(n.Vw(),t),o1:O,oA:e=>f((t,r)=>{let i;return a.PyW(a.DYE(()=>i||e.pipe(u.Gt(r),a.qIB(e=>x(e)(t,r)),a.qIB(e=>i=e))))}),uz:()=>f((e,t)=>a.OH5(()=>{let t="",r=!1,s=o.none(),l=a.DYE(()=>"Some"===s._tag?n.Vw(s.value):d.tv(e,{onSuccess:c,onFailure:a.ATB,onDone:e=>{if(s=o.some(e),t.length>0||r){let e=t;return t="",r=!1,a.PyW([e])}return n.Vw(e)}}));function c(e){let n=function(e){let n=[];function a(e){0===t.length?n.push(e):(n.push(t+e),t="")}for(let i=0;i<e.length;i++){let n=e[i];if(0!==n.length){let e=0,i=n.indexOf("\r"),s=n.indexOf("\n");for(r&&(0===s?(a(""),e=1,s=n.indexOf("\n",e)):a(""),r=!1);-1!==i||-1!==s;)-1===i||-1!==s&&s<i?(a(n.substring(e,s)),e=s+1,s=n.indexOf("\n",e)):n.length===i+1?(r=!0,i=-1):(a(n.substring(e,i)),e=i+(s===i+1?2:1),i=n.indexOf("\r",e),s=n.indexOf("\n",e));t+=n.substring(e,n.length-!!r)}}return i.ET(n)?n:null}(e);return null!==n?a.PyW(n):l}return l})),vb:k,wp:x,ye:P})},3407(e,t,r){var i=r(8579),n=r(8826);let a=n.z4N,s=e=>i.R6(t=>e(t.getRef(a)));r.d(t,{},{C7:a,Rm:(...e)=>s(t=>n.OH5(()=>{t.log(...e)})),z3:(...e)=>s(t=>n.OH5(()=>{t.error(...e)}))})},9605(e,t,r){var i=r(6621),n=r(2730),a=r(9920),s=r(3536),o=r(8579),l=r(58),c=r(6437),d=r(8527);let m="~effect/Context/Service",u=function(){let e=(0,l.jt)();(0,l.ft)(2);let t=Error();(0,l.ft)(e);let r=function(){};return(Object.setPrototypeOf(r,p),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[h]=h,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},p={[m]:m,...i.b({label:"Service",evaluate(e){return(0,o.xt)(I(e.context,this))}}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return x(this,e)},use(e){return(0,o.R6)(t=>e(I(t.context,this)))},useSync(e){return(0,o.R6)(t=>(0,o.xt)(e(I(t.context,this))))}},h="~effect/Context/Reference",g="~effect/Context",f=e=>{let t=Object.create(y);return t.mapUnsafe=e,t.mutable=!1,t},y={...o.fU,[g]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[n.HR](e){if(!A(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!n.aI(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[s.HR](){return s.ai(this.mapUnsafe.size)}},A=e=>(0,d.i5)(e,g),b=f(new Map),x=(e,t)=>f(new Map([[e.key,t]])),N=(0,a.XY)(3,(e,t,r)=>R(e,e=>{e.set(t.key,r)})),C=(0,a.XY)(2,(e,t)=>e.mapUnsafe.get(t.key)),S=(0,a.XY)(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(h in t)return E(t);throw v(t)}return e.mapUnsafe.get(t.key)}),I=S,w="~effect/Context/defaultValue",E=e=>w in e?e[w]:e[w]=e.defaultValue(),v=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},B=(0,a.XY)(2,(e,t)=>e.mapUnsafe.has(t.key)?c.some(e.mapUnsafe.get(t.key)):(0,d.i5)(t,h)?c.some(E(t)):c.none()),P=(0,a.XY)(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:R(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),R=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),f(r)};r.d(t,{},{Ie:()=>b,Jt:I,L8:x,LZ:f,Or:u,Um:(...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return f(t)},WQ:N,Y6:C,aE:A,fp:S,h1:P,kA:(e,t)=>e.mapUnsafe.has(t.key)?e.mapUnsafe.get(t.key):E(t),kl:u,om:B})},1160(e,t,r){var i=r(8579),n=r(2544);let a=class extends n.Xs{constructor(e){super(),e&&Object.assign(this,e)}},s=i.$D,o=i.rN;r.d(t,{},{$D:s,Xs:a,rN:o})},1897(e,t,r){r.d(t,{rs:()=>eu,pH:()=>ep,dv:()=>eE,Rd:()=>ev,tn:()=>eh,Ar:()=>es,kQ:()=>eo,rg:()=>ec,lU:()=>el,rr:()=>ed,Ry:()=>em,L8:()=>ef,MO:()=>ey,TT:()=>eg,yF:()=>eI,Xy:()=>ew,yT:()=>eA,ez:()=>eC,y3:()=>eN,k9:()=>eb,ko:()=>ex,xV:()=>eS}),r(9605);var i=r(9920),n=r(8149),a=r(8826);a.a1U,a.RKA,a.Rud,a.s0X,r(6292);var s=r(2730),o=r(3558),l=r(3536),c=r(8294),d=r(6437),m=r(606),u=r(2544),p=r(8527);let h="~effect/time/DateTime",g="~effect/time/DateTime/TimeZone",f={[h]:h,pipe(){return(0,u.tT)(this,arguments)},[c.FX](){return this.toString()},toJSON(){return j(this).toJSON()}},y={...f,_tag:"Utc",[l.HR](){return l.ai(this.epochMilliseconds)},[s.HR](e){return S(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${j(this).toJSON()})`}},A={...f,_tag:"Zoned",[l.HR](){return l.kg(l.ai(this.epochMilliseconds))(l.tW(this.zone))},[s.HR](e){return S(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&s.aI(this.zone,e.zone)},toString(){return`DateTime.Zoned(${ea(this)})`}},b={[g]:g,[c.FX](){return this.toString()}},x={...b,_tag:"Named",[l.HR](){return l.Yj(`Named:${this.id}`)},[s.HR](e){return w(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},N={...b,_tag:"Offset",[l.HR](){return l.Yj(`Offset:${this.offset}`)},[s.HR](e){return w(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${$(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},C=(e,t,r)=>{let i=Object.create(A);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},S=e=>p.i5(e,h),I=e=>S(e[0]),w=e=>p.i5(e,g),E=e=>"Zoned"===e._tag,v=o.L8((e,t)=>e.epochMilliseconds===t.epochMilliseconds),B=m.L8((e,t)=>e.epochMilliseconds<t.epochMilliseconds?-1:+(e.epochMilliseconds>t.epochMilliseconds)),P=e=>{let t=Object.create(y);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t},R=e=>{let t=e.getTime();if(Number.isNaN(t))throw new n.qw("Invalid date");return P(t)},O=e=>{if(S(e))return e;if(e instanceof Date)return R(e);if("object"==typeof e){if("epochMilliseconds"in e)return P(e.epochMilliseconds);let t=new Date(0);return K(t,e),R(t)}return"string"!=typeof e||k(e)?R(new Date(e)):R(new Date(e+"Z"))},k=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),T=(e,t)=>{let r,i=t?.timeZone;if(void 0===i&&S(e)&&E(e))return e;let a=O(e);if(a.epochMilliseconds<-86399999568e5||a.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${a.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=H(-60*new Date(a.epochMilliseconds).getTimezoneOffset()*1e3);else if(w(i))r=i;else if("number"==typeof i)r=H(i);else{let e=q(i);if(d.isNone(e))throw new n.qw(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?C(a.epochMilliseconds,r,a.partsUtc):X(a.epochMilliseconds,r,t?.disambiguation??"compatible")},M=d.liftThrowable(T),D=d.liftThrowable(O),z=/^(.{17,35})\[(.+)\]$/,Q=((e,t,r)=>r?.adjustForTimeZone===!0?X(e.epochMilliseconds,t,r?.disambiguation??"compatible"):C(e.epochMilliseconds,t,e.partsUtc),new Map),_={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},U=e=>{if(Q.has(e))return Q.get(e);try{var t=new Intl.DateTimeFormat("en-US",{..._,timeZone:e});let r=t.resolvedOptions().timeZone;if(Q.has(r))return Q.get(r);let i=Object.create(x);return i.id=r,i.format=t,Q.set(r,i),i}catch{throw new n.qw(`Invalid time zone: ${e}`)}},H=e=>{let t=Object.create(N);return t.offset=e,t},L=d.liftThrowable(U),F=/^(?:GMT|[+-])/,q=e=>{if(F.test(e)){let t=W(e);return null===t?d.none():d.some(H(t))}return L(e)},j=e=>new Date(e.epochMilliseconds),G=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},Y=e=>G(e).getTime()-J(e),$=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},J=e=>e.epochMilliseconds,K=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},X=(e,t,r)=>{if("Offset"===t._tag)return C(e-t.offset,t);let i=Z(e-864e5,e,t),n=Z(e+864e5,e,t);if(i===n)return C(e-i,t);let a=i-n;if(i<n){if(Z(e-n,e,t)===n)return C(e-n,t);let a=C(e-i,t);if(e!==G(a).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return C(e-n,t)}return a}if(Z(e-i,e,t)===i){if("earlier"===r||"compatible"===r||Z(e-i+a,e+a,t)===i)return C(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return C(e-n,t)},V=/([+-])(\d{2}):(\d{2})$/,W=e=>{let t=V.exec(e);if(null===t)return null;let[,r,i,n]=t;return("+"===r?1:-1)*(60*Number(i)+Number(n))*6e4},Z=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let n=W(i);return null===n?Y(C(t,r)):n},ee=(0,i.XY)(I,(e,t,r)=>{if("Utc"===e._tag){let r=j(e);return t(r),P(r.getTime())}let i=new Date(G(e).getTime());return t(i),X(i.getTime(),e.zone,r?.disambiguation??"compatible")}),et=((e,t)=>et(e,e=>{let r=new Date(e);return t(r),r.getTime()}),(0,i.XY)(2,(e,t)=>{let r=t(J(e));return"Utc"===e._tag?P(r):C(r,e.zone)})),er=((e,t)=>t(G(e)),(0,i.XY)(2,(e,t)=>t(j(e)))),ei=(e,t)=>{e.setTime(e.getTime()+t)},en=((e,t)=>ee(e,e=>{if(t.milliseconds&&ei(e,t.milliseconds),t.seconds&&ei(e,1e3*t.seconds),t.minutes&&ei(e,60*t.minutes*1e3),t.hours&&ei(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=G(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${$(Y(e))}`}),ea=e=>"Offset"===e.zone._tag?en(e):`${en(e)}[${e.zone.id}]`;r(8275);let es=S,eo=w,el=e=>w(e)&&"Offset"===e._tag,ec=e=>w(e)&&"Named"===e._tag,ed=e=>"Utc"===e._tag,em=E,eu=v,ep=B,eh=R,eg=T,ef=D,ey=e=>{let t=z.exec(e);if(null===t){let t=W(e);return null!==t?M(e,{timeZone:t}):d.none()}let[,r,i]=t;return M(r,{timeZone:i})},eA=e=>P(e.epochMilliseconds),eb=U,ex=H,eN=L,eC=q,eS=e=>"Offset"===e._tag?$(e.offset):e.id,eI=j,ew=J,eE=e=>j(e).toISOString(),ev=ea},1499(e,t,r){var i=r(9920),n=r(8826),a=r(2544);let s={"~effect/Deferred":{_A:i.D_,_E:i.D_},pipe(){return(0,a.tT)(this,arguments)}},o=(0,i.XY)(2,(e,t)=>n.OH5(()=>l(e,t))),l=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0};r.d(t,{},{$L:e=>n.OH5(()=>void 0!==e.effect),$w:l,LZ:()=>{let e=Object.create(s);return e.resumes=void 0,e.effect=void 0,e},Tx:e=>n.E2r(t=>e.effect?t(e.effect):(e.resumes??=[],e.resumes.push(t),n.OH5(()=>{let r=e.resumes.indexOf(t);e.resumes.splice(r,1)}))),Vw:o})},6292(e,t,r){var i=r(2730),n=r(9920),a=r(3536),s=r(8294),o=r(6437),l=r(2544),c=r(8527);let d="~effect/time/Duration",m=BigInt(0),u=BigInt(1),p=BigInt(1e3),h=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),g=(e,t)=>e.includes(".")?h(Number(e)*Number(t)):BigInt(e)*t,f=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,y=e=>{switch(typeof e){case"number":return R(e);case"bigint":return P(e);case"string":{if("Infinity"===e)return v;if("-Infinity"===e)return B;let t=f.exec(e);if(!t)break;let[r,i,n]=t;if("nano"===n||"nanos"===n)return P(g(i,u));if("micro"===n||"micros"===n)return P(g(i,p));let a=Number(i);switch(n){case"milli":case"millis":return R(a);case"second":case"seconds":return O(a);case"minute":case"minutes":return k(a);case"hour":case"hours":return T(a);case"day":case"days":return M(a);case"week":case"weeks":return D(a)}break}case"object":{if(null===e)break;if(d in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(c.Et))return A(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return E;if(e[0]===-1/0||e[1]===-1/0)return B;if(e[0]===1/0||e[1]===1/0)return v;return I(h(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return I(t);return I(h(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return A(e)},A=e=>{throw Error(`Invalid Input: ${e}`)},b=o.liftThrowable(y),x={_tag:"Millis",millis:0},N={_tag:"Infinity"},C={_tag:"NegativeInfinity"},S={[d]:d,[a.HR](){return a.QK(this.value)},[i.HR](e){return w(e)&&L(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[s.FX](){return this.toJSON()},pipe(){return(0,l.tT)(this,arguments)}},I=e=>{let t=Object.create(S);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=x:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:h(1e6*e)}:t.value=e>0?N:C:e===m?t.value=x:t.value={_tag:"Nanos",nanos:e},t},w=e=>(0,c.i5)(e,d),E=I(0),v=I(1/0),B=I(-1/0),P=e=>I(e),R=e=>I(e),O=e=>I(1e3*e),k=e=>I(6e4*e),T=e=>I(36e5*e),M=e=>I(864e5*e),D=e=>I(6048e5*e),z=e=>{let t=y(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return h(1e6*t.value.millis)}},Q=o.liftThrowable(z),_=(0,n.XY)(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),U=(0,n.XY)(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(z(e),t.value.nanos):r.onNanos(e.value.nanos,z(t))),H=(e,t)=>U(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag}),L=(0,n.XY)(2,(e,t)=>H(e,t));r.d(t,{},{MI:e=>"Infinity"!==e.value._tag&&"NegativeInfinity"!==e.value._tag,Tn:v,YA:O,bN:y,cF:P,fP:e=>_(y(e),{onMillis:e=>e/1e3,onNanos:e=>Number(e)/1e9,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),kE:e=>_(y(e),{onMillis:n.D_,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),lX:b,n$:w,ne:R,qv:B,rs:H,tb:Q,v_:E})},702(e,t,r){r.d(t,{Q56:()=>eC,jGc:()=>eS,U9h:()=>eI,Q7R:()=>N,hgn:()=>q,ww9:()=>eM,swY:()=>eX,as:()=>K,NLW:()=>X,PO3:()=>eB,E2r:()=>k,MfU:()=>V,Tyx:()=>Z,Fig:()=>ee,KuX:()=>W,RKA:()=>eY,_OA:()=>eu,sxi:()=>ep,F_Q:()=>_,_r7:()=>eV,yeE:()=>ew,NS5:()=>$,fJG:()=>D,ATB:()=>z,pVV:()=>Q,qIB:()=>F,Ab9:()=>e1,fn:()=>eG,D9k:()=>ej,vCS:()=>e2,jJl:()=>C,i4r:()=>eT,ar0:()=>eQ,x6Z:()=>e_,yUA:()=>L,JkU:()=>M,XeO:()=>ea,GaK:()=>eP,yw5:()=>x,MDB:()=>eK,fH4:()=>eJ,FFw:()=>e$,TjK:()=>J,q7Y:()=>e0,jkJ:()=>eW,xm_:()=>et,Z9x:()=>eZ,khu:()=>ed,tvg:()=>em,ZmZ:()=>T,S5A:()=>eE,cfM:()=>ev,nAr:()=>eR,uKv:()=>Y,QgK:()=>er,ivC:()=>I,Gte:()=>eh,PpN:()=>eg,PfK:()=>eA,KT6:()=>ec,Ket:()=>G,L5P:()=>en,MY7:()=>eU,eJC:()=>eH,pR5:()=>eL,HZF:()=>eF,lKS:()=>eq,z8E:()=>eb,P1j:()=>ex,Pxi:()=>eN,Nav:()=>ef,yy4:()=>el,PyW:()=>E,lwU:()=>v,nGE:()=>B,DYE:()=>P,OH5:()=>R,Mim:()=>j,dGm:()=>ei,wRz:()=>es,mgX:()=>eo,SvU:()=>U,$mh:()=>w,rfi:()=>eO,FcF:()=>ek,r_d:()=>ey,gvr:()=>eD,rIH:()=>O,iMI:()=>S,R6R:()=>H,hq:()=>ez});var i=r(9920),n=r(8579),a=r(8826),s=r(9605);r(2917);var o=r(9981),l=r(8275);let c=(0,i.XY)(e=>(0,n.yw)(e[0]),(e,t,r)=>{let i;return s.aE(t)?a.PpN(e,t):(i=Array.isArray(t)?l.Um(...t):t,a.Pxi(t=>a.qIB(r?.local?l.H7(i,l.j6(),t):l.LT(i,t),t=>a.PpN(e,t))))});var d=r(6437),m=r(6627),u=r(1371);(e,t,r)=>a.qIB(o.xn(t),t=>{let i=o.d3.defaultValue();return a.h_t(a.i4r(a.Mim(a.qIB(a.DYE(()=>a.PfK(e,o.d3,i)),t),e=>a.OH5(()=>{i=e})),{disableYield:!0}),e=>n.$L(e)?a.PyW(e.value):r(e,0===i.attempt?d.none():d.some(i)))});let p=(0,i.XY)(3,(e,t,r)=>a.qIB(o.xn(t),t=>{let i,n=o.d3.defaultValue(),s=a.h_t(a.DYE(()=>a.PfK(e,o.d3,n)),e=>(i=e,a.qIB(t(e),e=>(n=e,s))));return m.m8(s,e=>(0,u.s)(()=>r(i,e)))})),h=(0,i.XY)(2,(e,t)=>p(e,"function"==typeof t?t(i.D_):o.GM(t)?t:f(t),a.fJG)),g=o.le(o.i4),f=e=>{let t=e.schedule?o.le(e.schedule):g;return e.while&&(t=o.E6(t,({input:t})=>{let r=e.while(t);return n.yw(r)?r:a.PyW(r)})),e.until&&(t=o.E6(t,({input:t})=>{let r=e.until(t);return n.yw(r)?a.TjK(r,e=>!e):a.PyW(!r)})),void 0!==e.times&&(t=o.E6(t,({attempt:t})=>a.PyW(t<=e.times))),t},y=o.t5(1),A=r(2730).Xq({_E:e=>e,_A:e=>e,_R:e=>e});({...n.In,"~effect/Request":A}),r(3327);var b=r(8210);n.$n;let x=n.yw,N=a.Q7R;a.jBG,a.TS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F;a.eMl,a.dsN;let eT=a.i4r;a.aAq,a.Xrv,a.kJM,a._o1,a.nDN,a.MaT,a.Muk;let eM=a.ww9;a._32,a.Wj8,a.Fu6,a.WbR,a.A_r,a.Z98,a.Rd$;let eD=a.gvr;a.fRP,a.zr8;let ez=a.hq;a.zhn;let eQ=a.ar0,e_=a.x6Z;a.yxg,a.PCg,a.pEE,a.ABT;let eU=a.MY7,eH=a.eJC;a.lSz,a.bPG;let eL=a.pR5;a.v2Q,a.NpQ,a.jqV;let eF=a.HZF;a.lE;let eq=a.lKS;a.rfH;let ej=a.D9k,eG=a.fn,eY=a.RKA;a.lIX;let e$=a.lIX("Warn"),eJ=a.lIX("Info"),eK=a.lIX("Debug"),eX=(0,i.XY)(e=>x(e[0]),(e,...t)=>a.bUZ(e,b.iL,e=>{let r={...e};return 1===t.length?Object.assign(r,t[0]):r[t[0]]=t[1],r}));a.gsV;let eV=(e,t,r)=>(...i)=>k(n=>{try{e(...i,(e,r)=>{e?n(D(t?t(e,i):e)):n(E(r))})}catch(e){n(r?D(r(e,i)):_(e))}}),eW=a.jkJ,eZ=a.Z9x,e0=a.q7Y,e1=a.Ab9;a.UVN;let e2=a.vCS},6621(e,t,r){var i=r(8579);r.d(t,{},{b:e=>(0,i.yj)({op:e.label,[i._3]:e.evaluate})})},1757(e,t,r){var i=r(1160),n=r(2917);let a="~effect/encoding/EncodingError";class s extends i.rN("EncodingError"){[a]=a}let o=e=>{let t=u(e),r=t.length;if(r%4!=0)return n.fJ(new s({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return n.fJ(new s({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,n=0;e<r;e+=4,n+=3){let r=h(t.charCodeAt(e))<<18|h(t.charCodeAt(e+1))<<12|h(t.charCodeAt(e+2))<<6|h(t.charCodeAt(e+3));i[n]=r>>16,i[n+1]=r>>8&255,i[n+2]=255&r}return n.Py(i)}catch(e){return n.fJ(new s({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},l=e=>{let t=u(e),r=t.length;if(r%4==1)return n.fJ(new s({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return n.fJ(new s({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return o(i=i.replace(/-/g,"+").replace(/_/g,"/"))},c=e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return n.fJ(new s({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=b(t[2*i]),n=b(t[2*i+1]);r[i]=e<<4|n}return n.Py(r)}catch(t){return n.fJ(new s({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}},d=new TextEncoder,m=new TextDecoder,u=e=>e.replace(/[\n\r]/g,""),p=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=g[e[t-2]>>2],i+=g[(3&e[t-2])<<4|e[t-1]>>4],i+=g[(15&e[t-1])<<2|e[t]>>6],i+=g[63&e[t]];return t===r+1&&(i+=g[e[t-2]>>2],i+=g[(3&e[t-2])<<4],i+="=="),t===r&&(i+=g[e[t-2]>>2],i+=g[(3&e[t-2])<<4|e[t-1]>>4],i+=g[(15&e[t-1])<<2],i+="="),i};function h(e){if(e>=f.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=f[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let g=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],f=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],y=e=>p(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),A=e=>{let t="";for(let r=0;r<e.length;++r)t+=x[e[r]];return t},b=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},x=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];r.d(t,{},{$T:e=>n.Tj(o(e),e=>m.decode(e)),$X:l,DX:e=>"string"==typeof e?y(d.encode(e)):y(e),EF:c,UD:e=>n.Tj(l(e),e=>m.decode(e)),WG:e=>"string"==typeof e?p(d.encode(e)):p(e),mU:e=>"string"==typeof e?A(d.encode(e)):A(e),xQ:e=>n.Tj(c(e),e=>m.decode(e)),y4:o})},2730(e,t,r){var i,n,a,s=r(3536),o=r(5678),l=r(8527);let c="~effect/interfaces/Equal";function d(){return 1==arguments.length?e=>m(e,arguments[0]):m(arguments[0],arguments[1])}function m(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||o.J.has(e)||o.J.has(t))&&function(e,t,r){let i=g.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,g.set(e,i);let n=r(e,t);i.set(t,n);let a=g.get(t);return a||(a=new WeakMap,g.set(t,a)),a.set(e,n),n}(e,t,h))}let u=new WeakSet,p=new WeakSet;function h(e,t){if(s.tW(e)!==s.tW(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=A(e),i=A(t);if(r!==i)return!1;let n=r&&i;return("function"!=typeof e||!!n)&&function(e,t,r){let i=u.has(e),n=p.has(t);if(i&&n)return!0;if(i||n)return!1;u.add(e),p.add(t);let a=r();return u.delete(e),p.delete(t),a}(e,t,()=>{if(n)return e[c](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!m(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&f(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&y(e,t);var r=e,i=t;let a=(0,o.X)(r),s=(0,o.X)(i);if(a.size!==s.size)return!1;for(let e of a)if(!s.has(e)||!m(r[e],i[e]))return!1;return!0})}let g=new WeakMap,f=(i=m,n=m,function(e,t){for(let[r,a]of e){let e=!1;for(let[s,o]of t)if(i(r,s)&&n(a,o)){e=!0;break}if(!e)return!1}return!0}),y=(a=m,function(e,t){for(let r of e){let e=!1;for(let i of t)if(a(r,i)){e=!0;break}if(!e)return!1}return!0}),A=e=>(0,l.i5)(e,c);r.d(t,{aI:()=>d},{HR:c,Xq:e=>(o.J.add(e),e),jI:()=>d})},3558(e,t,r){let i=e=>(t,r)=>t===r||e(t,r),n=(e,t)=>e===t;function a(e){return i((t,r)=>{if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(!e[i](t[i],r[i]))return!1;return!0})}function s(e){return i((t,r)=>{if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(!e(t[i],r[i]))return!1;return!0})}function o(e){let t=Reflect.ownKeys(e);return i((r,i)=>{for(let n of t)if(!e[n](r[n],i[n]))return!1;return!0})}r.d(t,{O3:()=>s,_k:()=>o,rd:()=>a},{L8:i,YZ:()=>n})},5536(e,t,r){var i=r(8579),n=r(8826);i.IH,i.b9;let a=i.xt,s=i.cb,o=i.Rk;i.V2,n._sz;let l=n.x5l,c=n.CoE,d=n.VE1;n._mh,n.YDM,n.lNM,n.K$2,n.GUt,n.HIt,n.yJo,n._OD,n.jCT,n.Wtn,n.v9O,n.zPu,n.EkE,n.Hox,n.ely,n.kMI,n.Sv3,n.lgw,r.d(t,{},{AT:s,N6:d,Py:a,fJ:o,oJ:c,rI:l})},8516(e,t,r){var i=r(8826);i.zFM,i.C6p,i.D7p,i.INJ;let n=i.mKq;i.eGS,i.DKo,i.$MQ,i.Iku;let a=i.vTQ;r.d(t,{},{G:n,VO:a})},9427(e,t,r){var i=r(3207),n=r(347),a=r(8149),s=r(9605),o=r(702),l=r(9920),c=r(8275),d=r(6437),m=r(9077),u=r(1091),p=r(1260);let h="~effect/platform/FileSystem",g=e=>"bigint"==typeof e?e:BigInt(e),f=s.kl("effect/platform/FileSystem"),y=(e,t)=>(0,m.Oj)({module:"FileSystem",method:e,_tag:"NotFound",description:"No such file or directory",pathOrDescriptor:t}),A=n.HC();class b extends s.kl()("effect/platform/FileSystem/WatchBackend"){}r.d(t,{kP:()=>b},{L8:e=>f.of({...e,[h]:h,exists:t=>(0,l.Fs)(e.access(t),o.as(!0),o.KuX("PlatformError",e=>"NotFound"===e.reason._tag?o.PyW(!1):o.fJG(e))),readFileString:(t,r)=>o.qIB(e.readFile(t),e=>o.SvU({try:()=>new TextDecoder(r).decode(e),catch:e=>(0,m.T8)({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:o.D9k(function*(t,r){let n=yield*e.open(t,{flag:"r"});r?.offset&&(yield*n.seek(r.offset,"start"));let s=r?.bytesToRead!==void 0?g(r.bytesToRead):void 0,l=BigInt(0),c=g(r?.chunkSize??65536),m=n.readAlloc(c);return p.OBL(o.PyW(o.qIB(o.DYE(()=>void 0!==s&&s<=l?a.Vw():void 0!==s&&s-l<c?n.readAlloc(s-l):m),d.match({onNone:()=>a.Vw(),onSome:e=>(l+=BigInt(e.length),o.PyW(i.of(e)))}))))},p.oAg),sink:(t,r)=>(0,l.Fs)(e.open(t,{flag:"w",...r}),o.TjK(e=>u.jJ(t=>e.writeAll(t))),u.oA),writeFileString:(t,r,i)=>o.qIB(o.SvU({try:()=>new TextEncoder().encode(r),catch:e=>(0,m.T8)({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>e.writeFile(t,r,i))}),Q2:f,Um:A,Wn:e=>c.Py(f)(f.of({[h]:h,access:e=>o.fJG(y("access",e)),chmod:e=>o.fJG(y("chmod",e)),chown:e=>o.fJG(y("chown",e)),copy:e=>o.fJG(y("copy",e)),copyFile:e=>o.fJG(y("copyFile",e)),glob:e=>o.fJG(y("glob",e)),exists:()=>o.PyW(!1),link:e=>o.fJG(y("link",e)),makeDirectory:()=>o.F_Q("not implemented"),makeTempDirectory:()=>o.F_Q("not implemented"),makeTempDirectoryScoped:()=>o.F_Q("not implemented"),makeTempFile:()=>o.F_Q("not implemented"),makeTempFileScoped:()=>o.F_Q("not implemented"),open:e=>o.fJG(y("open",e)),readDirectory:e=>o.fJG(y("readDirectory",e)),readFile:e=>o.fJG(y("readFile",e)),readFileString:e=>o.fJG(y("readFileString",e)),readLink:e=>o.fJG(y("readLink",e)),realPath:e=>o.fJG(y("realPath",e)),remove:()=>o.rIH,rename:e=>o.fJG(y("rename",e)),sink:e=>u.fJ(y("sink",e)),stat:e=>o.fJG(y("stat",e)),stream:e=>p.fJG(y("stream",e)),symlink:e=>o.fJG(y("symlink",e)),truncate:e=>o.fJG(y("truncate",e)),utimes:e=>o.fJG(y("utimes",e)),watch:e=>p.fJG(y("watch",e)),writeFile:e=>o.fJG(y("writeFile",e)),writeFileString:e=>o.fJG(y("writeFileString",e)),...e})),eL:"~effect/platform/FileSystem/File",or:g})},7174(e,t,r){var i=r(9920),n=r(6437),a=r(8527),s=r(2917);a.Kg,a.Et,a.Lm,a.sI,a.Bm,a.$P;let o=(0,i.XY)(2,(e,t)=>r=>{let i=e(r);if(s.N6(i))return s.fJ(r);let n=t(i.success);return s.N6(n)?s.fJ(r):n});r.d(t,{},{Bh:o,zL:e=>t=>{let r=e(t);return s.N6(r)?n.none():n.some(r.success)}})},7292(e,t,r){var i=r(8527),n=r(8629);let a="[Circular]";function s(e){return"string"==typeof e?JSON.stringify(e):String(e)}function o(e){return e.map(e=>`[${s(e)}]`).join("")}function l(e){try{return e.toISOString()}catch{return"Invalid Date"}}function c(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=(0,n.E$)(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}r.d(t,{GP:()=>function e(t,r){let o=r?.space??0,c=new WeakSet,d=o?"number"==typeof o?" ".repeat(o):o:"",m=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function t(o,u=0){if(Array.isArray(o)){let e,r;if(c.has(o))return a;if(c.add(o),!d||o.length<=1)return`[${o.map(e=>t(e,u)).join(",")}]`;let i=o.map(e=>t(e,u+1)).join(",\n"+(e=u+1,d.repeat(e)));return`[ +${r=u+1,d.repeat(r)}${i} +${d.repeat(u)}]`}if(o instanceof Date)return l(o);if(!r?.ignoreToString&&i.i5(o,"toString")&&"function"==typeof o.toString&&o.toString!==Object.prototype.toString&&o.toString!==Array.prototype.toString){let e=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(o);return o instanceof Error&&o.cause?`${e} (cause: ${t(o.cause,u)})`:e}if("string"==typeof o)return JSON.stringify(o);if("number"==typeof o||null==o||"boolean"==typeof o||"symbol"==typeof o)return String(o);if("bigint"==typeof o)return String(o)+"n";if("object"==typeof o||"function"==typeof o){if(c.has(o))return a;if(c.add(o),n.uC in o)return e((0,n.f6)(o));if(Symbol.iterator in o)return`${o.constructor.name}(${t(Array.from(o),u)})`;let r=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(o);if(!d||r.length<=1){let e=`{${r.map(e=>`${s(e)}:${t(o[e],u)}`).join(",")}}`;return m(o,e)}let i=`{ +${r.map(e=>{let r;return`${r=u+1,d.repeat(r)}${s(e)}: ${t(o[e],u+1)}`}).join(",\n")} +${d.repeat(u)}}`;return m(o,i)}return String(o)}(t,0)},IB:()=>c,Yq:()=>l,_r:()=>s,jV:()=>o})},9920(e,t,r){var i=r(2544);let n=e=>()=>e,a=n(!0),s=n(!1),o=n(null),l=n(void 0);function c(e,...t){return(0,i.tT)(e,t)}function d(e,t,r,i,n,a,s,o,l){switch(arguments.length){case 1:return e;case 2:return function(){return t(e.apply(this,arguments))};case 3:return function(){return r(t(e.apply(this,arguments)))};case 4:return function(){return i(r(t(e.apply(this,arguments))))};case 5:return function(){return n(i(r(t(e.apply(this,arguments)))))};case 6:return function(){return a(n(i(r(t(e.apply(this,arguments))))))};case 7:return function(){return s(a(n(i(r(t(e.apply(this,arguments)))))))};case 8:return function(){return o(s(a(n(i(r(t(e.apply(this,arguments))))))))};case 9:return function(){return l(o(s(a(n(i(r(t(e.apply(this,arguments)))))))))}}}function m(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}r.d(t,{Bj:()=>m,Fs:()=>c,L3:()=>d},{D_:e=>e,MN:l,XR:o,XY:function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},Yi:l,dY:n,f4:s,ue:a})},3536(e,t,r){var i=r(9920),n=r(5678),a=r(8527);let s="~effect/interfaces/Hash",o=e=>{switch(typeof e){case"number":return u(e);case"bigint":return p(e.toString(10));case"boolean":case"symbol":return p(String(e));case"string":return p(e);case"undefined":return p("undefined");case"function":case"object":if(null===e)return p("null");{if(e instanceof Date)return p(e.toISOString());if(e instanceof RegExp)return p(e.toString());if(n.J.has(e))return l(e);if(N.has(e))return N.get(e);let t=function(e,t){if(C.has(e))return p("[Circular]");C.add(e);let r=t();return C.delete(e),r}(e,()=>{if(m(e))return e[s]();if("function"==typeof e)return l(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return y(e);if(e instanceof Map)return A(e);if(e instanceof Set)return b(e);return g(e)});return N.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},l=e=>(x.has(e)||x.set(e,u(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),x.get(e)),c=(0,i.XY)(2,(e,t)=>53*e^t),d=e=>0xbfffffff&e|e>>>1&0x40000000,m=e=>(0,a.i5)(e,s),u=e=>{if(e!=e)return p("NaN");if(e===1/0)return p("Infinity");if(e===-1/0)return p("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return d(t)},p=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return d(t)},h=(e,t)=>{let r=12289;for(let i of t)r^=c(o(i),o(e[i]));return d(r)},g=e=>h(e,(0,n.X)(e)),f=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return d(i)},y=f(6151,o),A=f(p("Map"),([e,t])=>c(o(e),o(t))),b=f(p("Set"),o),x=new WeakMap,N=new WeakMap,C=new WeakSet;r.d(t,{},{HR:s,QK:g,YO:y,Yj:p,ai:u,kg:c,tW:o,uN:h,yT:l})},8294(e,t,r){var i=r(7292),n=r(8527),a=r(8629);let s=Symbol.for("nodejs.util.inspect.custom"),o=e=>{try{if(n.i5(e,"toJSON")&&n.Tn(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(o)}catch{return"[toJSON threw]"}return(0,a.E$)(e)};class l{[s](){return this.toJSON()}toString(){return(0,i.GP)(this.toJSON())}}r.d(t,{Xs:()=>l},{FX:s,ZK:(e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?(0,i.IB)(e,{space:t}):String(e)}catch{return String(e)}},aB:o,os:{toJSON(){return o(this)},[s](){return this.toJSON()},toString(){return(0,i.GP)(this.toJSON())}}})},1034(e,t,r){var i=r(9920),n=r(6437),a=r(8527);let s=(0,i.XY)(2,(e,t)=>{let r=0;for(let i of e){let e=t(i,r);if((0,a.Lm)(e)){if(e)return n.some(i)}else if(n.isSome(e))return e;r++}return n.none()}),o=(0,i.XY)(2,(e,t)=>({[Symbol.iterator](){let r=e[Symbol.iterator](),i=0;return{next(){let e=r.next();for(;!e.done;){if(t(e.value,i++))return{done:!1,value:e.value};e=r.next()}return{done:!0,value:void 0}}}}}));r.d(t,{},{i8:s,pb:o})},7512(e,t,r){var i=r(8826);let n=i.zzk;i.Fbb,r.d(t,{},{LZ:n})},8275(e,t,r){var i=r(9605),n=r(1499),a=r(9920),s=r(8579),o=r(8826),l=r(2544),c=r(1746);let d="~effect/Layer/MemoMap",m={"~effect/Layer":{_ROut:a.D_,_E:a.D_,_RIn:a.D_},pipe(){return(0,l.tT)(this,arguments)}},u=e=>{let t=Object.create(m);return t.build=e,t},p=e=>u((t,r)=>{let i=c.Fp(r);return o.cfM(e(t,i),e=>"Failure"===e._tag?c.VN(i,e):o.rIH)});class h{get[d](){return d}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,o.hgn(o.Uio(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let a,s,l,d=this.get(e,t);return d?d:(i=this,a=c.LZ(),s=n.LZ(),l={observers:1,effect:n.Tx(s),finalizer:t=>o.DYE(()=>(l.observers--,0===l.observers)?(i.map.delete(e),c.VN(a,t)):o.rIH)},i.map.set(e,l),o.Uio(t,l.finalizer).pipe(o.qIB(()=>r(i,a)),o.cfM(e=>(l.effect=e,n.Vw(s,e)))))}}let g=()=>new h;class f extends i.kl()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=i.Y6(e,f);return t?new h(t):g()}}let y=(0,a.XY)(3,(e,t,r)=>o.PfK(o.TjK(e.build(t,r),i.WQ(f,t)),f,t)),A=(0,a.XY)(2,(e,t)=>s.R6(r=>y(e,f.forkOrCreate(r.context),t))),b=e=>u((0,a.dY)(o.PyW(e))),x=(e,t)=>N(o.TjK(t,t=>i.L8(e,t))),N=e=>{var t;let r;return t=(t,r)=>c.Gt(e,r),r=p((e,i)=>e.getOrElseMemoize(r,i,t))},C=(e,t,r)=>{let n=c.Fp(r,"parallel");return o.jJl(e,e=>e.build(t,c.Fp(n,"sequential")),{concurrency:e.length}).pipe(o.TjK(e=>i.Um(...e)))},S=(e,t,r)=>p((i,n)=>o.qIB(Array.isArray(t)?C(t,i,n):t.build(i,n),t=>e.build(i,n).pipe(o.PpN(t),o.TjK(e=>r(e,t))))),I=(0,a.XY)(2,(e,t)=>S(e,t,a.D_)),w=(0,a.XY)(2,(e,t)=>S(e,t,(e,t)=>i.h1(t,e)));r.d(t,{},{Gt:I,H7:y,LT:A,Py:function(){return 1==arguments.length?e=>b(i.L8(arguments[0],e)):b(i.L8(arguments[0],arguments[1]))},QZ:function(){return 1==arguments.length?e=>x(arguments[0],e):x(arguments[0],arguments[1])},S5:w,Um:(...e)=>p((t,r)=>C(e,t,r)),j6:g})},6437(e,t,r){r.r(t),r.d(t,{Do:()=>ep,all:()=>X,andThen:()=>L,as:()=>Q,asVoid:()=>_,bind:()=>eu,bindTo:()=>ed,composeK:()=>Y,contains:()=>el,containsWith:()=>eo,exists:()=>ec,filter:()=>er,filterMap:()=>et,firstSomeOf:()=>E,flatMap:()=>H,flatMapNullishOr:()=>F,flatten:()=>q,fromIterable:()=>b,fromNullOr:()=>P,fromNullishOr:()=>v,fromUndefinedOr:()=>B,gen:()=>eh,getFailure:()=>N,getOrElse:()=>C,getOrNull:()=>O,getOrThrow:()=>D,getOrThrowWith:()=>M,getOrUndefined:()=>k,getSuccess:()=>x,isNone:()=>g,isOption:()=>h,isSome:()=>f,let:()=>em,lift2:()=>ea,liftNullishOr:()=>R,liftPredicate:()=>es,liftThrowable:()=>T,makeCombinerFailFast:()=>ef,makeEquivalence:()=>ei,makeOrder:()=>en,makeReducer:()=>eg,makeReducerFailFast:()=>ey,map:()=>z,match:()=>y,none:()=>u,orElse:()=>S,orElseResult:()=>w,orElseSome:()=>I,partitionMap:()=>ee,product:()=>J,productMany:()=>K,reduceCompact:()=>W,some:()=>p,tap:()=>$,toArray:()=>Z,toRefinement:()=>A,void:()=>U,zipLeft:()=>G,zipRight:()=>j,zipWith:()=>V});var i=r(2730),n=r(3558),a=r(9920),s=r(9739),o=r(7317),l=r(9145),c=r(606),d=r(8527);function m(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let u=()=>o.dv,p=o.zN,h=o.oL,g=o.$I,f=o.Ru,y=(0,a.XY)(2,(e,{onNone:t,onSome:r})=>g(e)?t():r(e.value)),A=e=>t=>f(e(t)),b=e=>{for(let t of e)return p(t);return u()},x=l.Oz,N=l.L8,C=(0,a.XY)(2,(e,t)=>g(e)?t():e.value),S=(0,a.XY)(2,(e,t)=>g(e)?t():e),I=(0,a.XY)(2,(e,t)=>g(e)?p(t()):e),w=(0,a.XY)(2,(e,t)=>g(e)?z(t(),l.Py):z(e,l.fJ)),E=e=>{let t=u();for(t of e)if(f(t))break;return t},v=e=>null==e?u():p(e),B=e=>void 0===e?u():p(e),P=e=>null===e?u():p(e),R=e=>(...t)=>v(e(...t)),O=C(a.XR),k=C(a.MN),T=e=>(...t)=>{try{return p(e(...t))}catch{return u()}},M=(0,a.XY)(2,(e,t)=>{if(f(e))return e.value;throw t()}),D=M(()=>Error("getOrThrow called on a None")),z=(0,a.XY)(2,(e,t)=>g(e)?u():p(t(e.value))),Q=(0,a.XY)(2,(e,t)=>z(e,()=>t)),_=Q(void 0),U=p(void 0),H=(0,a.XY)(2,(e,t)=>g(e)?u():t(e.value)),L=(0,a.XY)(2,(e,t)=>H(e,e=>{let r=(0,d.Tn)(t)?t(e):t;return h(r)?r:p(r)})),F=(0,a.XY)(2,(e,t)=>g(e)?u():v(t(e.value))),q=H(a.D_),j=(0,a.XY)(2,(e,t)=>H(e,()=>t)),G=(0,a.XY)(2,(e,t)=>$(e,()=>t)),Y=(0,a.XY)(2,(e,t)=>r=>H(e(r),t)),$=(0,a.XY)(2,(e,t)=>H(e,e=>z(t(e),()=>e))),J=(e,t)=>f(e)&&f(t)?p([e.value,t.value]):u(),K=(e,t)=>{if(g(e))return u();let r=[e.value];for(let e of t){if(g(e))return u();r.push(e.value)}return p(r)},X=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(g(r))return u();t.push(r.value)}return p(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(g(i))return u();t[r]=i.value}return p(t)},V=(0,a.XY)(3,(e,t,r)=>z(J(e,t),([e,t])=>r(e,t))),W=(0,a.XY)(3,(e,t,r)=>{let i=t;for(let t of e)f(t)&&(i=r(i,t.value));return i}),Z=e=>g(e)?[]:[e.value],ee=(0,a.XY)(2,(e,t)=>{if(g(e))return[u(),u()];let r=t(e.value);return l.N6(r)?[p(r.failure),u()]:[u(),p(r.success)]}),et=(0,a.XY)(2,(e,t)=>{if(g(e))return u();let r=t(e.value);return l.oJ(r)?p(r.success):u()}),er=(0,a.XY)(2,(e,t)=>g(e)?u():t(e.value)?p(e.value):u()),ei=e=>n.L8((t,r)=>g(t)?g(r):!g(r)&&e(t.value,r.value)),en=e=>c.L8((t,r)=>f(t)?f(r)?e(t.value,r.value):1:-1),ea=e=>(0,a.XY)(2,(t,r)=>V(t,r,e)),es=(0,a.XY)(2,(e,t)=>t(e)?p(e):u()),eo=e=>(0,a.XY)(2,(t,r)=>!g(t)&&e(t.value,r)),el=eo(i.jI()),ec=(0,a.XY)(2,(e,t)=>!g(e)&&t(e.value)),ed=s.Jr(z),em=s.zM(z),eu=s.oI(z,H),ep=p({}),eh=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(g(e))return e;r=t.next(e.value)}return p(r.value)};function eg(e){return m((t,r)=>g(t)?r:g(r)?t:p(e.combine(t.value,r.value)),u())}function ef(e){return{combine:(t,r)=>g(t)||g(r)?u():p(e.combine(t.value,r.value))}}function ey(e){let t=ef(e).combine,r=p(e.initialValue);return m(t,r,e=>{let i=r;for(let r of e)if(g(i=t(i,r)))break;return i})}},606(e,t,r){var i=r(9920);function n(e){return(t,r)=>t===r?0:e(t,r)}let a=n((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),s=n((e,t)=>e<t?-1:1),o=(0,i.XY)(2,(e,t)=>n((r,i)=>e(t(r),t(i)))),l=o(a,e=>e.getTime());function c(e){return n((t,r)=>{let i=e.length;for(let n=0;n<i;n++){let i=e[n](t[n],r[n]);if(0!==i)return i}return 0})}function d(e){return n((t,r)=>{let i=t.length,n=r.length,s=Math.min(i,n);for(let i=0;i<s;i++){let n=e(t[i],r[i]);if(0!==n)return n}return a(i,n)})}function m(e){let t=Object.keys(e);return n((r,i)=>{for(let n of t){let t=e[n](r[n],i[n]);if(0!==t)return t}return 0})}let u=e=>(0,i.XY)(2,(t,r)=>-1===e(t,r)),p=e=>(0,i.XY)(2,(t,r)=>1===e(t,r)),h=e=>(0,i.XY)(2,(t,r)=>t===r||1>e(t,r)?t:r),g=e=>(0,i.XY)(2,(t,r)=>t===r||e(t,r)>-1?t:r);r.d(t,{L8:()=>n,O3:()=>d,_k:()=>m,rd:()=>c},{Bt:e=>(0,i.XY)(2,(t,r)=>!u(e)(t,r.minimum)&&!p(e)(t,r.maximum)),OW:e=>(0,i.XY)(2,(t,r)=>-1!==e(t,r)),Qw:s,T9:g,bi:e=>(0,i.XY)(2,(t,r)=>1!==e(t,r)),hl:u,jk:h,n9:l,qE:e=>(0,i.XY)(2,(t,r)=>h(e)(r.maximum,g(e)(r.minimum,t))),wN:a,yJ:p,zQ:o})},1211(e,t,r){let i=r(9605).kl("effect/Path");r.d(t,{},{ii:"~effect/platform/Path",wA:i})},2544(e,t,r){let i=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},n={pipe(){return i(this,arguments)}},a=function(){function e(){}return e.prototype=n,e}();r.d(t,{},{Xs:a,tT:i})},9077(e,t,r){var i=r(1160);let n="~effect/platform/PlatformError";class a extends i.rN("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class s extends i.$D{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class o extends i.rN("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[n]=n;get message(){return this.reason.message}}r.d(t,{dB:()=>a},{Oj:e=>new o(new s(e)),T8:e=>new o(new a(e))})},8527(e,t,r){var i=r(9920);function n(e){return"string"==typeof e}function a(e){return"number"==typeof e}function s(e){return"boolean"==typeof e}function o(e){return"bigint"==typeof e}function l(e){return"symbol"==typeof e}function c(e){return n(e)||a(e)||l(e)}function d(e){return"function"==typeof e}function m(e){return void 0===e}function u(e){return void 0!==e}function p(e){return null!==e}function h(e){return null==e}function g(e){return null!=e}function f(e){return!1}function y(e){return!0}function A(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)}function b(e){return"object"==typeof e&&null!==e||d(e)}let x=(0,i.XY)(2,(e,t)=>b(e)&&t in e),N=(0,i.XY)(2,(e,t)=>x(e,"_tag")&&e._tag===t);function C(e){return e instanceof Error}function S(e){return e instanceof Date}function I(e){return x(e,Symbol.iterator)||n(e)}r.d(t,{$P:()=>S,Bm:()=>l,EA:()=>u,Et:()=>a,Fw:()=>b,Gv:()=>A,Kg:()=>n,Lm:()=>s,Pd:()=>f,Pe:()=>p,Tn:()=>d,Vq:()=>g,b0:()=>m,bJ:()=>C,hL:()=>c,sI:()=>o,t8:()=>y,uy:()=>h,xZ:()=>I},{$J:N,i5:x})},6627(e,t,r){var i=r(8149),n=r(5536),a=r(7174),s=r(9920),o=r(8826),l=r(2917);let c=(0,s.XY)(2,(e,t)=>o.rNk(e,u,e=>t(e))),d=e=>"Fail"===e._tag&&i.$L(e.error),m=a.Bh(i.kh,e=>i.$L(e)?l.Py(e):l.fJ(e));i.kh;let u=a.Bh(i.kh,e=>i.$L(e)?l.Py(e.value):l.fJ(e)),p=(0,s.XY)(2,(e,t)=>o.khu(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=m(e);return l.N6(r)?t.onFailure(r.failure):t.onDone(r.success.value)}}));r.d(t,{},{Og:e=>e.reasons.some(d),aU:e=>{let t=m(e);return l.N6(t)?n.AT(t.failure):n.Py(t.success.value)},m8:c,tv:p})},9444(e,t,r){r.d(t,{Mm:()=>g,kx:()=>x,AT:()=>A,_1:()=>b,L8:()=>h,x:()=>f,bQ:()=>y,n_:()=>N,s:()=>I,h0:()=>C});var i=r(9920),n=r(8579),a=r(8826);let s=Symbol.for("effect/MutableList/Empty"),o=()=>({array:[],mutable:!0,offset:0,next:void 0}),l=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=o(),e.tail=e.tail.next):e.head=e.tail=o(),e.tail.array.push(t),e.length++},c=e=>{e.head=e.tail=void 0,e.length=0},d=e=>{if(!e.head)return s;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:c(e)),t};var m=r(6627);let u={_A:i.D_,_E:i.D_},p={"~effect/Queue":u,"~effect/Queue/Enqueue":u,"~effect/Queue/Dequeue":u,...n.fU,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:E(this)}}},h=e=>n.R6(t=>{let r=Object.create(p);return r.dispatcher=t.currentDispatcher,r.capacity=e?.capacity??1/0,r.strategy=e?.strategy??"suspend",r.messages={head:void 0,tail:void 0,length:0},r.scheduleRunning=!1,r.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},a.PyW(r)}),g=e=>h({capacity:e}),f=(e,t)=>a.DYE(()=>{if("Open"!==e.state._tag)return v;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return v;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return l(e.messages,t),O(e),B;return M(e,t);case"sliding":return d(e.messages),l(e.messages,t),B}return l(e.messages,t),k(e),B}),y=(e,t)=>"Open"===e.state._tag&&(e.messages.length>=e.capacity?"sliding"===e.strategy?(d(e.messages),l(e.messages,t),!0):e.capacity<=0&&e.state.takers.size>0&&(l(e.messages,t),O(e),!0):(l(e.messages,t),k(e),!0)),A=(0,i.XY)(2,(e,t)=>a.OH5(()=>b(e,t))),b=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=n.cb(t),i=a.il9(r,P);return 0===e.state.offers.size&&0===e.messages.length?Q(e,i):e.state={...e.state,_tag:"Closing",exit:i},!0},x=e=>b(e,n.OE(n.RS())),N=e=>a.OH5(()=>{if("Done"===e.state._tag)return!0;c(e.messages);let t=e.state.offers;if(Q(e,"Open"===e.state._tag?R:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(v):e.resume(n.xt(e.remaining.slice(e.offset)));t.clear()}return!0}),C=e=>S(e,1,1/0),S=(e,t,r)=>a.DYE(()=>T(e,t,r)??a.hgn(z(e),S(e,1,r))),I=e=>a.DYE(()=>w(e)??a.hgn(z(e),I(e))),w=e=>{if("Done"===e.state._tag)return e.state.exit;if(e.messages.length>0){let t=d(e.messages);return D(e),n.xt(t)}if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,D(e),e.capacity=0;let t=d(e.messages);return D(e),n.xt(t)}},E=e=>"Done"===e.state._tag?0:e.messages.length,v=n.xt(!1),B=n.xt(!0),P=n.Rk(n.RS()),R=a._sz(),O=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(a.x5l),0===e.messages.length)break}},k=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>O(e),0))},T=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return n.xt([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,D(e),e.capacity=0;let t=[d(e.messages)];return D(e),n.xt(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return c(e),t}let r=Array(t),i=0,n=e.head;for(;n;){for(;n.offset<n.array.length;)if(r[i++]=n.array[n.offset],n.mutable&&(n.array[n.offset]=void 0),n.offset++,i===t)return e.head=n,e.length-=t,0===e.length&&c(e),r;n=n.next}return c(e),r})(e.messages,r);return D(e),n.xt(t)}},M=(e,t)=>a.E2r(r=>{if("Open"!==e.state._tag)return r(v);let i={_tag:"Single",message:t,resume:r};return e.state.offers.add(i),a.OH5(()=>{"Open"===e.state._tag&&e.state.offers.delete(i)})}),D=e=>{if("Done"===e.state._tag)return m.Og(e.state.exit.cause);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(Q(e,e.state.exit),m.Og(e.state.exit.cause));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)l(e.messages,r.message),t--,r.resume(B),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;l(e.messages,r.remaining[r.offset]),t--}r.resume(n.xt([])),e.state.offers.delete(r)}return!1},z=e=>a.E2r(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),a.OH5(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),Q=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let i of(e.state={_tag:"Done",exit:t},r.takers))i(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()}},7045(e,t,r){var i=r(9920);let n=(0,i.XY)(2,(e,t)=>{let r=[];for(let i of o(e))r.push(t(i,e[i]));return r})((e,t)=>[e,t]),a=(0,i.XY)(2,(e,t)=>Object.hasOwn(e,t)),s=(0,i.XY)(2,(e,t)=>{let r={...e};for(let i of o(e))r[i]=t(e[i],i);return r}),o=e=>Object.keys(e);r.d(t,{},{T9:e=>{let t=(0,i.XY)(2,(t,r)=>{for(let i of o(t))if(!a(r,i)||!e(t[i],r[i]))return!1;return!0});return(e,r)=>t(e,r)&&t(r,e)},Tj:s,Wo:n})},8629(e,t,r){var i=r(2544),n=r(8527);let a=Symbol.for("~effect/Redactable");function s(e){return(0,n.i5)(e,a)?o(e):e}function o(e){return e[a](globalThis[l]?.context??c)}let l="~effect/Fiber/currentFiber",c={"~effect/Context":{},mapUnsafe:new Map,pipe(){return(0,i.tT)(this,arguments)}};r.d(t,{E$:()=>s,f6:()=>o},{fL:l,uC:a})},1036(e,t,r){var i=r(2730),n=r(3558),a=r(3536),s=r(8579),o=r(9496),l=r(8527);let c="~effect/data/Redacted",d=e=>(0,l.i5)(e,c),m={[c]:{_A:e=>e},label:void 0,...s.fU,toJSON(){return this.toString()},toString(){return`<redacted${(0,l.Kg)(this.label)?":"+this.label:""}>`},[a.HR](){return a.tW(o.m7.get(this))},[i.HR](e){return d(e)&&i.aI(o.m7.get(this),o.m7.get(e))}},u=o.Uq;r.d(t,{},{L8:(e,t)=>{let r=Object.create(m);return t?.label&&(r.label=t.label),o.m7.set(r,e),r},T9:e=>n.L8((t,r)=>e(u(t),u(r))),Uq:u,vX:d})},8210(e,t,r){var i=r(8826),n=r(3894);n.F8;let a=n.iL;n.Gl;let s=n.d8;n.vA;let o=n.zQ;n.rf,n.ce,n.ls,n.nU,n.aG,i.d$_,i.olX,r.d(t,{},{d8:s,iL:a,zQ:o})},2917(e,t,r){var i=r(9920),n=r(7317),a=r(9145),s=r(8527);let o=a.Py,l=a.fJ;a.sV,a.aI;let c=a.N6,d=a.oJ;a.Oz,a.L8;let m=(0,i.XY)(2,(e,t)=>d(e)?o(t(e.success)):l(e.failure)),u=(0,i.XY)(2,(e,{onFailure:t,onSuccess:r})=>c(e)?t(e.failure):r(e.success)),p=(0,i.XY)(2,(e,t)=>{if(d(e))return e.success;throw t(e.failure)})(i.D_);n.dv,r.d(t,{},{Gp:p,N6:c,Py:o,Sv:e=>{if((0,s.Tn)(e))try{return o(e())}catch(e){return l(e)}try{return o(e.try())}catch(t){return l(e.catch(t))}},Tj:m,YW:u,fJ:l,oJ:d})},9981(e,t,r){let i;var n,a=r(8149),s=r(9605),o=r(6292),l=r(9920),c=r(8579),d=r(8826),m=r(2544),u=r(8527),p=r(6627);let h="~effect/Schedule",g=s.Or("effect/Schedule/CurrentMetadata",{defaultValue:(0,l.dY)({input:void 0,output:void 0,duration:o.v_,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),f={[h]:{_Out:l.D_,_In:l.D_,_Env:l.D_},pipe(){return(0,m.tT)(this,arguments)}},y=e=>{let t=Object.create(f);return t.step=e,t},A=()=>{let e,t,r=0;return(i,n)=>{void 0===t&&(t=i);let a=i-t,s=void 0===e?0:i-e;return e=i,{input:n,attempt:++r,start:t,now:i,elapsed:a,elapsedSincePrevious:s}}},b=e=>y(d.TjK(e,e=>{let t=A();return(r,i)=>e(t(r,i))})),x=e=>d.Tyx(e.step,e=>d.PyW(()=>d.ATB(e))),N=(0,l.XY)(2,(e,t)=>y(d.TjK(x(e),e=>{let r=A();return(i,n)=>d.qIB(e(i,n),e=>{let[s,o]=e,l=t({...r(i,n),output:s,duration:o});return d.qIB((0,c.yw)(l)?l:d.PyW(l),t=>t?d.PyW(e):a.Vw(s))})}))),C=(n=o.v_,i=o.bN(n),b(d.PyW(e=>d.PyW([e.attempt-1,i]))));r.d(t,{},{E6:N,EV:(e,t=2)=>{let r=o.kE(o.bN(e));return b(d.PyW(e=>{let i=o.ne(r*Math.pow(t,e.attempt-1));return d.PyW([i,i])}))},GM:e=>(0,u.i5)(e,h),d3:g,i4:C,le:e=>y(d.TjK(x(e),e=>(t,r)=>p.tv(e(t,r),{onSuccess:e=>d.PyW([r,e[1]]),onFailure:d.ATB,onDone:()=>a.Vw(r)}))),t5:e=>N(C,({attempt:t})=>d.PyW(t<=e)),xn:e=>d.RKA(t=>d.TjK(x(e),e=>{let r=A();return i=>d.DYE(()=>{let n=t.currentTimeMillisUnsafe();return d.qIB(e(n,i),([e,t])=>{let a=r(n,i);return a.output=e,a.duration=t,d.as(d.yy4(t),a)})})}))})},3327(e,t,r){var i=r(9605);let n=i.Or("effect/Scheduler",{defaultValue:()=>new o}),a="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class s{buckets=[];scheduleTask(e,t){let r,i=this.buckets,n=i.length,a=0;for(;a<n&&!(i[a][0]>t);a++)r=i[a];r&&r[0]===t?r[1].push(e):a===n?i.push([t,[e]]):i.splice(a,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class o{executionMode;setImmediate;constructor(e="async",t=a){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new l(this.setImmediate)}}class l{tasks=new s;running=void 0;setImmediate;constructor(e=a){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let c=i.Or("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),d=i.Or("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1});r.d(t,{FG:()=>o},{Zm:c,_F:n,hf:d})},7464(e,t,r){let i,n,a,s,o,l,c;r.d(t,{O31:()=>er,v8c:()=>V,Xsx:()=>eB,kld:()=>ex,PSP:()=>eP,Aiz:()=>eC,xCb:()=>function e(t){let r=t.map(G);return F(I.KC(r,"anyOf",void 0),{literals:t,members:r,mapMembers(e){return en(e(this.members))},pick:t=>e(t),transform:e=>en(r.map((t,r)=>t.transform(e[r])))})},eXb:()=>ei,wNn:()=>X,eQ3:()=>ey,mSG:()=>ee,tmY:()=>eA,QfV:()=>K,_kM:()=>Z,X0d:()=>eR,rdN:()=>et,gPz:()=>en,wkx:()=>eo,z6Y:()=>es,xeR:()=>_,GLL:()=>el,_Re:()=>U,fqZ:()=>H,e$n:()=>L,hR_:()=>ed,Bt9:()=>eg,yJO:()=>eh,E6F:()=>ef,Pto:()=>ep,nfo:()=>em,HNH:()=>eu,lqM:()=>j,Qrq:()=>q,TcI:()=>ec,lHk:()=>eO});var d,m,u,p=r(5909),h=r(8149),g=r(1160),f=r(1897),y=r(6292),A=r(702),b=(r(1757),r(5536)),x=r(7292),N=r(9920),C=r(8579),S=r(2544),I=r(7439),w=r(2933),E=r(8376);let v="~effect/Schema/Schema",B={[v]:v,pipe(){return S.tT(this,arguments)},annotate(e){return this.rebuild(I.fz(this.ast,e))},annotateKey(e){return this.rebuild(I.us(this.ast,e))},check(...e){return this.rebuild(I.EJ(this.ast,e))}};function P(e){return A.Tyx(e,e=>A.pVV(()=>h.Tj(e,e=>new w.A(e))))}var R=r(6437),O=r(606),k=r(8527),T=r(1036),M=(r(2917),r(6528)),D=r(2340),z=r(5030);function Q(){return(e,t,r)=>F(new I.D6(e.map(I.hu),e=>t(e.map(e=>F(e))),r))}function _(e,t){return Q()([],()=>(t,r)=>e(t)?A.PyW(t):A.fJG(new D.eE(r,R.some(t))),t)}function U(e,t){let r=E._R(e,t);return(e,t)=>P(r(e,t))}function H(e,t){let r=E.fq(e,t);return(e,t)=>{var i;return i=r(e,t),b.oJ(i)?b.Py(i.value):b.AT(h.Tj(i.cause,e=>new w.A(e)))}}function L(e,t){let r=E.e$(e,t);return(e,t)=>P(r(e,t))}r(3558)._k,O._k,E.is,E.kv,E.y9,E.mR,E.IQ,E.GP;let F=function e(t,r){let i=Object.create(B);r&&Object.assign(i,r),i.ast=t,i.rebuild=t=>e(t,r);let n=E.o(i);return i.makeEffect=(e,t)=>P(n(e,t)),i.make=E.L8(i),i.makeOption=E.YY(i),i},q=e=>F(I.Qr(e.ast),{schema:e}),j=e=>q(ea(e));function G(e){let t=F(new I.uS(e),{literal:e,transform:r=>t.pipe(el(G(r),{decode:M.pd(()=>r),encode:M.pd(()=>e)}))});return t}I.Zm,I.bz;let Y=F(I.L5),$=F(I.ch),J=F(I.Vx),K=F(I.Yj),X=F(I.ai),V=F(I.zM);function W(e,t){return F(e,{fields:t,mapFields(e,t){let r=e(this.fields);return W(I.w3(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function Z(e){return W(I.w3(e,void 0),e)}function ee(e,t,r){let i=r?.keyValueCombiner?.decode||r?.keyValueCombiner?.encode?new I.E$(r.keyValueCombiner.decode,r.keyValueCombiner.encode):void 0;return F(I.g1(e.ast,t.ast,i),{key:e,value:t})}function et(e){return function e(t,r){return F(t,{elements:r,mapElements(t,r){let i=t(this.elements);return e(I.PV(i,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(I.PV(e),e)}I.HR,I.we,I.rI,I.ZG;let er=e=>F(new I.DO(!1,[],[e.ast]),{value:e}),ei=e=>F(new I.DO(!1,[e.ast],[e.ast]),{value:e});function en(e,t){return function e(t,r){return F(t,{members:r,mapMembers(t,r){let i=t(this.members);return e(I.KC(i,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(I.KC(e,t?.mode??"anyOf",void 0),e)}let ea=e=>en([e,J]);function es(...e){return t=>t.check(...e)}function eo(e){return t=>F(I.wk(t.ast,e),{schema:t,identifier:e})}function el(e,t){return r=>F(I.GL(r.ast,e.ast,t?z.L8(t):z.le()),{from:r,to:e})}function ec(e){var t;return G(e).pipe((t=A.PyW(e),e=>{var r;return F(I.Ez(e.ast,(r=t,A.Tyx(r,e=>A.pVV(()=>h.Tj(e,e=>e.issue))))),{schema:e})}))}function ed(e,t){return _(t=>t instanceof e,t)}function em(){return(e,t)=>new I.N_(e.ast,z.L8(t))}let eu=I.HN,ep=I.Pt;I.bk,I.ZB,I.IZ;let eh=(d={order:O.wN,annotate:e=>({meta:{_tag:"isGreaterThan",exclusiveMinimum:e}})},i=O.yJ(d.order),n=d.formatter??x.GP,(e,t)=>eu(t=>i(t,e),{expected:`a value greater than ${n(e)}`,arbitrary:{constraint:{ordered:{order:d.order,minimum:e,exclusiveMinimum:!0}}},...d.annotate?.(e),...t}));O.wN,O.wN,O.wN;let eg=(m={order:O.wN,annotate:e=>({meta:{_tag:"isBetween",...e}})},a=O.OW(m.order),s=O.yJ(m.order),o=O.bi(m.order),l=O.hl(m.order),c=m.formatter??x.GP,(e,t)=>{let r=e.exclusiveMinimum?s:a,i=e.exclusiveMaximum?l:o;return eu(t=>r(t,e.minimum)&&i(t,e.maximum),{expected:`a value between ${c(e.minimum)}${e.exclusiveMinimum?" (excluded)":""} and ${c(e.maximum)}${e.exclusiveMaximum?" (excluded)":""}`,arbitrary:{constraint:{ordered:{order:m.order,minimum:e.minimum,maximum:e.maximum,...e.exclusiveMinimum&&{exclusiveMinimum:!0},...e.exclusiveMaximum&&{exclusiveMaximum:!0}}}},...m.annotate?.(e),...t})});function ef(e){return eu(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...e})}function ey(e){var t;let r;return en([e,$]).pipe(el((r=e,t=F(I.Ax(r.ast),{schema:r}),F(Q()([t],([e])=>(t,r,i)=>R.isOption(t)?R.isNone(t)?A.lwU:A.q7Y(E._R(e)(t.value,i),{onSuccess:R.some,onFailure:e=>new D.eC(r,R.some(t),[new D.gm(["value"],e)])}):A.fJG(new D.eE(r,R.some(t))),{typeConstructor:{_tag:"effect/Option"},generation:{runtime:"Schema.Option(?)",Type:"Option.Option<?>",importDeclaration:'import * as Option from "effect/Option"'},expected:"Option",toCodec:([e])=>em()(en([Z({_tag:G("Some"),value:e}),Z({_tag:G("None")})]),z.pd({decode:e=>"None"===e._tag?R.none():R.some(e.value),encode:e=>R.isSome(e)?{_tag:"Some",value:e.value}:{_tag:"None"}})),toArbitrary:([e])=>(t,r)=>{var i,n,a,s;let o=t.constant(R.none()),l=t.oneof(o,e.arbitrary.map(R.some));return i=t,n=r,a=o,s=l,{arbitrary:void 0===a||void 0===n.recursion?s:i.oneof(n.recursion,a,s),terminal:a}},toEquivalence:([e])=>R.makeEquivalence(e),toFormatter:([e])=>R.match({onNone:()=>"none()",onSome:t=>`some(${e(t)})`})}).ast,{value:t})),z.gh()))}function eA(e,t){let r="string"==typeof t?.label?E._R(G(t.label)):void 0;return F(Q()([e],([e])=>(t,i,n)=>{if(T.vX(t)){let a=void 0!==r?A.Z9x(r(t.label,n),e=>new D.gm(["label"],e)):A.rIH;return A.Ab9(a,()=>A.q7Y(E._R(e)(T.Uq(t),n),{onSuccess:()=>t,onFailure:()=>{let e=R.some(t);return new D.eC(i,e,[new D.gm(["value"],new D.h6(e))])}}))}return A.fJG(new D.eE(i,R.some(t)))},{typeConstructor:{_tag:"effect/Redacted",options:t},generation:{runtime:void 0!==t?`Schema.Redacted(?, ${(0,x.GP)(t)})`:"Schema.Redacted(?)",Type:"Redacted.Redacted<?>",importDeclaration:'import * as Redacted from "effect/Redacted"'},expected:"Redacted",toCodecJson:([e])=>{var r,i;return em()((r=e,(i=A.Z9x(D.E$),e=>F(I.gd(e.ast,new z.$p(i,N.D_)),{schema:e}))(r)),{decode:M.pd(e=>T.L8(e,{label:t?.label})),encode:t?.disallowJsonEncode?M.o0(e=>"Cannot serialize Redacted"+(R.isSome(e)&&"string"==typeof e.value.label?` with label: "${e.value.label}"`:"")):M.pd(T.Uq)})},toArbitrary:([e])=>()=>({arbitrary:e.arbitrary.map(e=>T.L8(e,{label:t?.label})),terminal:e.terminal?.map(e=>T.L8(e,{label:t?.label}))}),toFormatter:()=>globalThis.String,toEquivalence:([e])=>T.T9(e)}).ast,{value:e})}O.n9,O.n9,O.n9,O.n9,O.n9,O.Qw,O.Qw,O.Qw,O.Qw,O.Qw,p.pH,p.pH,p.pH,p.pH,p.pH;let eb=[];function ex(e){let t=e?.includeStack===!0|2*(e?.excludeCause===!0),r=eb[t];if(void 0!==r)return r;let i=eQ.pipe(el(Y,z.sm((e=>{switch(e){case 0:return;case 1:return{includeStack:!0};case 2:return{excludeCause:!0};case 3:return{includeStack:!0,excludeCause:!0}}})(t))));return eb[t]=i,i}z.nY;let eN=K.annotate({expected:"a string in ISO 8601 format that will be decoded as a Date"});globalThis.Date,z.YZ,z.HO,eu(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0}),y.n$,z.EJ,z.m8,z.PE;p.s5,z.dG,eu(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0});let eC=X.check(ef());z.ZK,z.ZK,z.R7,z.Ct,z.LL,z.Y5,z.Pp,z.U0,f.yF,z.Nh,f.Xy,f.lU,f.rg,z.yd,f.kQ,z.XU,z.d9;let eS=globalThis.Symbol.for("immer-draftable"),eI={};function ew(e,t,r,i,n){var a,s,o;let l,c=(a=r,s=t,o=i,e=>{if(void 0!==l)return l;let t=new z.IT(M.pd(t=>new e(t)),M.le());return l=el(F(new I.D6([a.ast],()=>(t,r)=>t instanceof e||k.i5(t,eE(s))?A.PyW(t):A.fJG(new D.eE(r,R.some(t))),{identifier:s,[I.YA]:([e])=>new I.N_(e,t),toCodec:([e])=>new I.N_(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":I.SL(a.ast),...o})),t)(a)}),d=eE(t),m=class extends e{constructor(...[e,t]){let i=t?.["~payload"],n=i?.token===eI?i.value:r.make(e??{},t);super(n,{...t,disableChecks:!0,"~payload":{token:eI,value:n}})}static [v]=v;get[d](){return d}static [eS]=!0;static identifier=t;static fields=r.fields;static get ast(){return c(this).ast}static pipe(){return S.tT(this,arguments)}static rebuild(e){return c(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return E.YY(c(this))(e??{},t)}static makeEffect(e,t){return c(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(I.fz(this.ast,e))}static annotateKey(e){return this.rebuild(I.us(this.ast,e))}static check(...e){return this.rebuild(I.EJ(this.ast,e))}static extend(e){return(t,i)=>{let a=ev(t)?t:Z(t),s={...r.fields,...a.fields},o=I.w3(s,r.ast.checks,{identifier:e});return ew(this,e,W(I.EJ(o,a.ast.checks),s),i,n)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==n&&Object.assign(m.prototype,n(t)),m}function eE(e){return`~effect/Schema/Class/${e}`}function ev(e){return k.i5(e,v)&&e[v]===v}let eB=e=>(t,r)=>{let i=ev(t)?t:Z(t);return ew(g.Xs,e,i,r,e=>({toString(){return`${e}(${(0,x.GP)({...this})})`}}))},eP=e=>(t,r)=>{let i=ev(t)?t:Z(t);return ew(C.$D,e,i,r,e=>({name:e}))},eR=e=>(t,r,i)=>{let n=ev(r)?r.mapFields(e=>({_tag:ec(t),...e}),{unsafePreserveChecks:!0}):Z({_tag:ec(t),...r});return eP(e??t)(n,i)};function eO(e){return F(eD(e.ast),{schema:e})}let ek=(u=function(e){switch(e._tag){case"Null":case"Boolean":case"Number":case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(I.O3(e[r]),r);let r=[...e].sort((e,r)=>{e=I.O3(e),r=I.O3(r);let i=u(e),n=u(r);return i!==n?i-n:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e}),eT=new I.N_(new I.uS("null"),new z.IT(M.pd(()=>null),M.pd(()=>"null"))),eM=new I.N_(new I.gP([new I.uS("true"),new I.uS("false")],"anyOf"),new z.IT(M.pd(e=>"true"===e),M.Qf())),eD=I.oZ(e=>{if(I.mi(e)&&e.annotations?.["~effect/Schema/SERIALIZER_ENSURE_ARRAY"]===!0)return e;let t=function(e,t,r){switch(e._tag){case"Declaration":{let i=e.annotations?.toCodecJson??e.annotations?.toCodec;if(k.Tn(i)){let r=i(I.HC(e)?e.typeParameters.map(e=>F(t(I.O3(e)))):[]),n=t(r.to);return I.ES(e,n===r.to?[r]:[new I.N_(n,r.transformation)])}return r(e)}case"Null":return I.ES(e,[eT]);case"Boolean":return I.ES(e,[eM]);case"Unknown":case"ObjectKeyword":return I.ES(e,[I.tC]);case"Enum":case"Number":case"Literal":case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,I.xw);case"Union":{let r=ek(e.types);if(r!==e.types)return new I.gP(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,eD,e=>I.ES(e,[ez]));return t!==e&&I.dK(e)?I.nj(t):t}),ez=new I.N_(I.Vx,new z.IT(M.le(),M.pd(()=>void 0))),eQ=F(I.LM);I.BF},7439(e,t,r){r.d(t,{DO:()=>K,YA:()=>tt,D6:()=>k,LM:()=>ti,E$:()=>et,N_:()=>v,uS:()=>L,BF:()=>tn,C3:()=>tr,gP:()=>eh,fz:()=>eE,us:()=>eD,bz:()=>_,EJ:()=>eB,oZ:()=>eR,we:()=>J,Nt:()=>e5,zM:()=>Y,wk:()=>eT,Lp:()=>te,SL:()=>em,GL:()=>eU,vr:()=>B,UU:()=>ej,hu:()=>el,tF:()=>I,HC:()=>x,RP:()=>w,dK:()=>eL,Pt:()=>eC,ZB:()=>e6,bk:()=>eZ,IZ:()=>e7,mi:()=>E,HN:()=>eN,gd:()=>eO,Zm:()=>Q,ch:()=>T,ai:()=>G,ZG:()=>H,Qr:()=>eQ,nj:()=>ez,xw:()=>eK,g1:()=>eH,ES:()=>eI,Yj:()=>q,w3:()=>eo,HR:()=>$,O3:()=>eq,Ax:()=>eF,PV:()=>ec,Vx:()=>D,KC:()=>ed,L5:()=>U,tC:()=>ta,rI:()=>z,Ez:()=>e_});var i=r(3207),n=r(8149),a=r(702),s=r(5536),o=r(7292),l=r(9920),c=r(8826);function d(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}var m=r(5994),u=r(6311),p=r(6437),h=r(2544),g=r(8527),f=r(6528),y=r(2340),A=r(5030);function b(e){return t=>t._tag===e}let x=b("Declaration"),N=b("Never"),C=b("Literal"),S=b("UniqueSymbol"),I=b("Arrays"),w=b("Objects"),E=b("Union");class v{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let B={};class P{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let R="~effect/Schema";class O{[R]=R;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class k extends O{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,n,a,s){super(r,i,n,a),this.typeParameters=e,this.run=t,this.encodingChecks=s}getParser(){let e=this.run(this.typeParameters);return(t,r)=>p.isNone(t)?a.lwU:a.jkJ(e(t.value,this,r),p.some)}_rebuild(e,t,r){let i=eM(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new k(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let T=new class extends O{_tag="Null";getParser(){return eG(this,null)}getExpected(){return"null"}},M=new v(T,new A.IT(f.pd(()=>void 0),f.pd(()=>null))),D=new class extends O{_tag="Undefined";getParser(){return eG(this,void 0)}toCodecJson(){return eI(this,[M])}getExpected(){return"undefined"}},z=new class extends O{_tag="Void";getParser(){var e;let t;return e=void 0,t=a.nGE(e),e=>"None"===e._tag?a.lwU:t}toCodecJson(){return eI(this,[M])}getExpected(){return"void"}},Q=new class extends O{_tag="Never";getParser(){return eY(this,g.Pd)}getExpected(){return"never"}},_=new class extends O{_tag="Any";getParser(){return eY(this,g.t8)}getExpected(){return"any"}},U=new class extends O{_tag="Unknown";getParser(){return eY(this,g.t8)}getExpected(){return"unknown"}},H=new class extends O{_tag="ObjectKeyword";getParser(){return eY(this,g.Fw)}getExpected(){return"object | array | function"}};class L extends O{_tag="Literal";literal;constructor(e,t,r,i,n){if(super(t,r,i,n),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${(0,o.GP)(e)}`);this.literal=e}getParser(){return eG(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?F(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:F(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function F(e){let t=globalThis.String(e.literal);return eI(e,[new v(new L(t),new A.IT(f.pd(()=>e.literal),f.pd(()=>t)))])}let q=new class extends O{_tag="String";getParser(){return eY(this,g.Kg)}matchPart(e,t){return e$(this,e,t)}getExpected(){return"string"}};function j(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return j(e.checks,t)}})}let G=new class extends O{_tag="Number";getParser(){return eY(this,g.Et)}matchKey(e,t){return this._match(eW,e,t)}matchPart(e,t){return this._match(eV,e,t)}_match(e,t,r){return e.test(t)?e$(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(j(this.checks,"isFinite")||j(this.checks,"isInt"))?this:eI(this,[ey])}toCodecStringTree(){return this.checks&&(j(this.checks,"isFinite")||j(this.checks,"isInt"))?eI(this,[e1]):eI(this,[e2])}getExpected(){return"number"}},Y=new class extends O{_tag="Boolean";getParser(){return eY(this,g.Lm)}getExpected(){return"boolean"}},$=new class extends O{_tag="Symbol";getParser(){return eY(this,g.Bm)}matchKey(e,t){return e$(this,e,t)}toCodecStringTree(){return eI(this,[e9])}getExpected(){return"symbol"}},J=new class extends O{_tag="BigInt";getParser(){return eY(this,g.sI)}matchPart(e,t){return e3.test(e)?e$(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return eI(this,[e4])}getExpected(){return"bigint"}};class K extends O{_tag="Arrays";isMutable;elements;rest;encodingChecks;constructor(e,t,r,i,n,a,s,o){super(i,n,a,s),this.isMutable=e,this.elements=t,this.rest=r,this.encodingChecks=o;let l=t.findIndex(eL);if(-1!==l&&(t.slice(l+1).some(e=>!eL(e))||r.length>1))throw Error("A required element cannot follow an optional element. ts(1257)");if(r.length>1&&r.slice(1).some(eL))throw Error("An optional element cannot follow a rest element. ts(1266)")}getParser(e){let t=this,r=t.elements.map(t=>({ast:t,parser:e(t)})),i=t.rest.map(t=>({ast:t,parser:e(t)})),n=r.length,[s,...o]=i,l=o.length;function c(e,t){return t<n?r[t]:t>=e?o[t-e]:s}return a.vCS(function*(e,r){if("None"===e._tag)return e;let i=e.value;if(!Array.isArray(i))return yield*a.fJG(new y.eE(t,e));let s=i.length,o={ast:t,getParser:c,oinput:e,len:s,tailThreshold:Math.max(n,s-l),output:new globalThis.Array(s),issues:void 0,options:r},d=V(r?.concurrency),m=X(o,i,{concurrency:d?.concurrency,end:0===t.rest.length?n:Math.max(s,n+l)});if(m&&(yield*m),0===t.rest.length&&s>n)for(let l=n;l<=s-1;l++){let n=new y.gm([l],new y.vF(t,i[l]));if("all"!==r.errors)return yield*a.fJG(new y.eC(t,e,[n]));o.issues?o.issues.push(n):o.issues=[n]}return o.issues?yield*a.fJG(new y.eC(t,e,o.issues)):p.some(o.output)})}_rebuild(e,t,r){let i=eM(this.elements,e),n=eM(this.rest,e);return i===this.elements&&n===this.rest&&t===this.checks&&r===this.encodingChecks?this:new K(this.isMutable,i,n,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){return"array"}}let X=(0,c.h$X)()({onItem(e,t,r){let i=r<e.len?p.some(t):p.none();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return W(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(eL(t.ast))return;let r=new y.gm([i],new y.Mw(t.ast.context?.annotations));if("all"!==e.options.errors)return s.fJ(new y.eC(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),V=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,W=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let a=u.R(i.cause);if(void 0===a)return s.AT(n.Tj(i.cause,i=>new y.eC(t,e.oinput,[new y.gm([r],i)])));let o=new y.gm([r],a);if("all"!==e.options.errors)return s.fJ(new y.eC(t,e.oinput,[o]));e.issues?e.issues.push(o):e.issues=[o]},Z="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class ee{name;type;constructor(e,t){this.name=e,this.type=t}}class et{decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new et(this.encode,this.decode)}}function er(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(er);default:return!1}}class ei{parameter;type;merge;constructor(e,t,r){if(!(er(e)&&er(eq(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,eL(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class en extends O{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,i,n,a,s){super(r,i,n,a),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=s;let o=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(o.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(o)}. ts(2300)`)}getParser(e){let t=this,r=[],n=new Set,s=[];for(let i of t.propertySignatures)r.push(i.name),n.add(i.name),s.push({ps:i,parser:e(i.type),name:i.name,type:i.type});let o=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return eY(t,g.Vq);let l=o>0?(0,c.h$X)()({onItem:a.vCS(function*(r,[i,s]){let o=e(eJ(s.parameter))(p.some(i),r.options),l=(0,c.OY)(o)?o:yield*a.NS5(o);if("Failure"===l._tag){let e=W(r,t,i,l);e&&(yield*e);return}let m=p.some(r.input[i]),u=e(s.type)(m,r.options),h=(0,c.OY)(u)?u:yield*a.NS5(u);if("Failure"===h._tag){let e=W(r,t,i,h);e&&(yield*e);return}if("Some"===l.value._tag&&"Some"===h.value._tag){let e=l.value.value;if(n.has(i)||n.has(e))return;let t=h.value.value;if(s.merge&&s.merge.decode&&Object.hasOwn(r.out,e)){let[i,n]=s.merge.decode.combine([e,r.out[e]],[e,t]);d(r.out,i,n)}else d(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return a.vCS(function*(e,c){let m;if("None"===e._tag)return e;let u=e.value;if(!("object"==typeof u&&null!==u&&!Array.isArray(u)))return yield*a.fJG(new y.eE(t,e));let h={},g={ast:t,oinput:e,input:u,out:h,issues:void 0,options:c},f="all"===c.errors,A="error"===c.onExcessProperty,b="preserve"===c.onExcessProperty;if(0===t.indexSignatures.length&&(A||b)){m=Reflect.ownKeys(u);for(let r=0;r<m.length;r++){let i=m[r];if(!n.has(i))if(A){let r=new y.gm([i],new y.vF(t,u[i]));if(!f)return yield*a.fJG(new y.eC(t,e,[r]));g.issues?g.issues.push(r):g.issues=[r];continue}else d(h,i,u[i])}}let x=V(c?.concurrency),N=ea(g,s,x);if(N&&(yield*N),l){let e=i.Ie();for(let r=0;r<o;r++){let i=t.indexSignatures[r],n=function(e,t,r=B){let i,n;return function t(a){switch(a._tag){case"String":case"TemplateLiteral":return(i??=Object.keys(e)).filter(e=>void 0!==a.matchPart(e,r));case"Number":return(i??=Object.keys(e)).filter(e=>void 0!==a.matchKey(e,r));case"Symbol":return(n??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==a.matchKey(e,r));case"Union":return[...new Set(a.types.flatMap(t))];default:return[]}}(eJ(eq(t)))}(u,i.parameter,c);for(let t=0;t<n.length;t++){let r=n[t];e.push([r,i])}}let r=l(g,e,x);r&&(yield*r)}if(g.issues)return yield*a.fJG(new y.eC(t,e,g.issues));if("original"===c.propertyOrder){let e=(m??Reflect.ownKeys(u)).concat(r),t={};for(let r of e)Object.hasOwn(h,r)&&d(t,r,h[r]);return p.some(t)}return p.some(h)})}_rebuild(e,t,r,i,n){let a=eM(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new ee(t.name,r)}),s=eM(this.indexSignatures,i=>{let n=t(i.parameter),a=e(i.type),s=r?i.merge?.flip():i.merge;return n===i.parameter&&a===i.type&&s===i.merge?i:new ei(n,a,s)});return a===this.propertySignatures&&s===this.indexSignatures&&i===this.checks&&n===this.encodingChecks?this:new en(a,s,this.annotations,i,void 0,this.context,n)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let ea=(0,c.h$X)()({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?p.some(e.input[t.name]):p.none();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return W(e,e.ast,t.name,r);if("Some"===r.value._tag)d(e.out,t.name,r.value.value);else if(!eL(t.type)){let r=new y.gm([t.name],new y.Mw(t.type.context?.annotations));return"all"!==e.options.errors?s.fJ(new y.eC(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function es(e,t){return e?t?[...e,...t]:e:t}function eo(e,t,r){return new en(Reflect.ownKeys(e).map(t=>new ee(t,e[t].ast)),[],r,t)}function el(e){return e.ast}function ec(e,t){return new K(!1,e.map(e=>e.ast),[],void 0,t)}function ed(e,t,r){return new eh(e.map(el),t,void 0,r)}function em(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!eL(t)){if(C(t))return[{key:e.name,literal:t.literal}];if(S(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>C(e)&&!eL(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return em(e.thunk())}}let eu=new WeakMap;function ep(e){return t=>{let r=eq(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class eh extends O{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,n,a,s){super(r,i,n,a),this.types=e,this.mode=t,this.encodingChecks=s}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return a.PyW(r);let n=r.value,s=function(e,t){let r=function(e){let t=eu.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=eq(e[r]);if(N(i))continue;let n=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),a=em(i);for(let e of(t.byType??={},n))(t.byType[e]??=[]).push(r);if(a.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,a)){let n=t.bySentinel.get(e);n||t.bySentinel.set(e,n=new Map);let a=n.get(i);a||n.set(i,a=[]),a.push(r)}else for(let e of(t.otherwise??={},n))(t.otherwise[e]??=[]).push(r)}return eu.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let n=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(n);for(let[t,n]of r.bySentinel)if(Object.hasOwn(e,t)){let r=n.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(ep(e))}return n.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(ep(e))}(n,t.types),o={ast:t,recur:e,oinput:r,input:n,out:void 0,successes:[],issues:void 0,options:i},l=V(i?.concurrency),c=eg(o,s,l?{...l,orderedStep:!0}:void 0);return c?a.qIB(c,e=>o.out?a.PyW(o.out):a.fJG(new y.W(t,n,o.issues??[]))):o.out?a.PyW(o.out):a.fJG(new y.W(t,n,o.issues??[]))}}_rebuild(e,t,r){let i=eM(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new eh(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=eq(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(C);if(t.length>0)return`${eA(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>C(e.type));if(t.length>0)return`{ ${t.map(t=>`${eA(t.type.context?.isMutable)}${(0,o._r)(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let eg=(0,c.h$X)()({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=u.R(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),s.fJ(new y.E8(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return s.rI}}}),ef=new eh([new L("Infinity"),new L("-Infinity"),new L("NaN")],"anyOf"),ey=new v(new eh([G,ef],"anyOf"),new A.IT(f.wN(),f.pd(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function eA(e){return e?"":"readonly "}class eb extends h.Xs{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new eb(this.run,{...this.annotations,...e},this.aborted)}abort(){return new eb(this.run,this.annotations,!0)}and(e,t){return new ex([this,e],t)}}class ex extends h.Xs{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new ex(this.checks,{...this.annotations,...e})}and(e,t){return new ex([this,e],t)}}function eN(e,t,r=!1){return new eb((t,r,i)=>y.L8(t,r,e(t,r,i)),t,r)}function eC(e,t){let r=e.source;return eN(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function eS(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function eI(e,t){return e.encoding===t?e:eS(e,e=>{e.encoding.value=t})}function ew(e,t){return e.context===t?e:eS(e,e=>{e.context.value=t})}function eE(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return ev(e,i.BC(e.checks.slice(0,-1),r.annotate(t)))}return eS(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function ev(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:eS(e,e=>{e.checks.value=t})}function eB(e,t){return ev(e,es(e.checks,t))}function eP(e,t){let r=e[e.length-1],n=t(r.to);return n!==r.to?i.BC(e.slice(0,e.length-1),new v(n,r.transformation)):e}function eR(e){return(0,l.Bj)(function t(r){return r.encoding?eI(r,eP(r.encoding,t)):e(r)})}function eO(e,t){return ek(e,t,eF(e))}function ek(e,t,r){let i=new v(e,t);return eI(r,r.encoding?[...r.encoding,i]:[i])}function eT(e,t){let r=m.NK(e);return eE(e,{brands:r?[...r,t]:[t]})}function eM(e,t){let r=!1,i=Array(e.length);for(let n=0;n<e.length;n++){let a=e[n],s=t(a);s!==a&&(r=!0),i[n]=s}return r?i:e}function eD(e,t){let r=e.context?new P(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new P(!1,!1,void 0,t);return ew(e,r)}let ez=e=>e.encoding?eI(e,eP(e.encoding,eQ)):e;function eQ(e){let t=e.context?!1===e.context.isOptional?new P(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new P(!0,!1);return ez(ew(e,t))}function e_(e,t){let r=[new v(U,new A.IT(f.IQ(t),f.le()))],i=e.context?new P(e.context.isOptional,e.context.isMutable,r,e.context.annotations):new P(!1,!1,r);return ew(e,i)}function eU(e,t,r){return ek(e,r,t)}function eH(e,t,r){let i,n,{literals:a,parameters:s}=(i=[],n=[],!function e(t){switch(t._tag){case"Literal":g.hL(t.literal)&&i.push(t.literal);return;case"UniqueSymbol":i.push(t.symbol);return;case"Never":return;case"Union":for(let r=0;r<t.types.length;r++)e(t.types[r]);return;default:n.push(t)}}(e),{literals:i,parameters:n});return new en(a.map(e=>new ee(e,t)),s.map(e=>new ei(e,t,r)))}function eL(e){return e.context?.isOptional??!1}let eF=(0,l.Bj)(e=>{if(e.encoding)return eF(eI(e,void 0));let t=e.recur?.(eF)??e,r=t.encodingChecks;return r?eS(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=es(t.checks,r))}):t}),eq=(0,l.Bj)(e=>eF(ej(e))),ej=(0,l.Bj)(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],n=[new v(ej(eI(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)n.unshift(new v(ej(t[e-1].to),t[e].transformation.flip()));let a=ej(i.to);return a.encoding?eI(a,[...a.encoding,...n]):eI(a,n)}(e,e.encoding):e.flip?.(ej)??e.recur?.(ej)??e);function eG(e,t){let r=a.nGE(t);return i=>"None"===i._tag?a.lwU:i.value===t?r:a.fJG(new y.eE(e,i))}function eY(e,t){return r=>"None"===r._tag?a.lwU:t(r.value)?a.PyW(r):a.fJG(new y.eE(e,r))}function e$(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return te(e.checks,t,i,e,r),0===i.length?t:void 0}let eJ=eR(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(eJ)}}),eK=eR(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(eK)}}),eX=eR(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(eX)}}),eV=new globalThis.RegExp(`^${Z}$`),eW=new globalThis.RegExp(`(?:${Z}|Infinity|-Infinity|NaN)`);function eZ(e){return eC(eV,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:eV},...e})}let e0=eB(q,[eZ()]),e1=new v(e0,A.ZK),e2=new v(new eh([e0,ef],"anyOf"),A.ZK),e3=new globalThis.RegExp("^-?\\d+$");function e6(e){return eC(e3,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:e3},...e})}let e5=eB(q,[e6({expected:"a string representing a bigint"})]),e4=new v(e5,A.R7),e8=new globalThis.RegExp("^Symbol\\((.*)\\)$"),e9=new v(eB(q,[e7()]),new A.IT(f.pd(e=>globalThis.Symbol.for(e8.exec(e)[1])),f.K$(e=>void 0!==globalThis.Symbol.keyFor(e)?a.PyW(globalThis.String(e)):a.fJG(new y.cw(p.some(e),{message:"cannot serialize to string, Symbol is not registered"})))));function e7(e){return eC(e8,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:e8},...e})}function te(e,t,r,i,n){for(let a=0;a<e.length;a++){let s=e[a];if("FilterGroup"===s._tag)te(s.checks,t,r,i,n);else{let e=s.run(t,i,n);if(e&&(r.push(new y.dJ(t,s,e)),s.aborted||n?.errors!=="all"))return}}}let tt="~effect/Schema/Class",tr="~structural";m.hd,m.ip,m.KE,m.DQ,m.Pk;let ti=new k([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let n=Array.isArray(t);if(!n){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let a=n?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),a&&i.add(t),a}(e))?a.PyW(e):a.fJG(new y.eE(t,p.some(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new v(U,A.le()),toArbitrary:()=>e=>e.jsonValue()}),tn=eE(ti,{typeConstructor:{_tag:"effect/MutableJson"},generation:{runtime:"Schema.MutableJson",Type:"Schema.MutableJson"}}),ta=new v(new k([],()=>(e,t)=>{let r;return(r=new Set,function e(t){return void 0===t||"string"==typeof t||!("object"!=typeof t||null===t||r.has(t))&&((r.add(t),Array.isArray(t))?t.every(e):Object.keys(t).every(r=>e(t[r])))}(e))?a.PyW(e):a.fJG(new y.eE(t,p.some(e)))},{expected:"StringTree"}),A.le())},2933(e,t,r){var i=r(1160);let n="~effect/SchemaError/SchemaError";class a extends i.rN("SchemaError"){[n]=n;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}r.d(t,{A:()=>a})},6528(e,t,r){var i=r(1897),n=r(702),a=r(1757),s=r(6437),o=r(2544),l=r(8527),c=r(2917),d=r(2340);class m extends o.Xs{run;constructor(e){super(),this.run=e}map(e){return new m((t,r)=>this.run(t,r).pipe(n.jkJ(s.map(e))))}compose(e){return h(this)?e:h(e)?this:new m((t,r)=>this.run(t,r).pipe(n.Ab9(t=>e.run(t,r))))}}function u(e){var t;return t=t=>new d.cw(t,{message:e(t)}),new m(e=>n.fJG(t(e)))}let p=new m(n.PyW);function h(e){return e.run===p.run}function g(){return p}function f(e){var t;return t=s.map(e),new m(e=>n.PyW(t(e)))}function y(e){var t;return t=(t,r)=>e(t,r).pipe(n.jkJ(s.some)),new m((e,r)=>s.isNone(e)?n.lwU:t(e.value,r))}function A(e){return new m(t=>{let r=s.filter(t,l.EA);return s.isSome(r)?n.PyW(r):n.jkJ(e,s.some)})}function b(){return f(globalThis.String)}function x(){return f(globalThis.Number)}function N(){return f(globalThis.BigInt)}function C(){return f(e=>new globalThis.Date(e))}function S(){return f(a.WG)}function I(){return f(a.DX)}function w(){return f(a.mU)}function E(){return y(e=>n.Z9x(n.yUA(a.y4(e)),t=>new d.h6(s.some(e),{message:t.message})))}function v(){return y(e=>c.YW(a.$T(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function B(){return y(e=>c.YW(a.$X(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function P(){return y(e=>c.YW(a.UD(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function R(){return y(e=>c.YW(a.EF(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function O(){return y(e=>c.YW(a.xQ(e),{onFailure:t=>n.fJG(new d.h6(s.some(e),{message:t.message})),onSuccess:n.PyW}))}function k(){return f(encodeURIComponent)}function T(){return y(e=>{try{return n.PyW(globalThis.decodeURIComponent(e))}catch(t){return n.fJG(new d.h6(s.some(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}})}function M(){return y(e=>s.match(i.L8(e),{onNone:()=>n.fJG(new d.h6(s.some(e),{message:"Invalid DateTime input"})),onSome:e=>n.PyW(i.yT(e))}))}l.Kg,r.d(t,{$T:()=>v,$X:()=>B,A0:()=>M,DX:()=>I,EF:()=>R,IQ:()=>A,K$:()=>y,Qf:()=>b,Qw:()=>N,UD:()=>P,WG:()=>S,_p:()=>k,le:()=>g,mF:()=>T,mU:()=>w,n9:()=>C,o0:()=>u,pd:()=>f,wN:()=>x,xQ:()=>O,y4:()=>E})},2340(e,t,r){var i=r(3207),n=r(7292),a=r(5994),s=r(6437),o=r(8527),l=r(1036);let c="~effect/SchemaIssue/Issue";function d(e){return(0,o.i5)(e,c)}class m{[c]=c;toString(){return B(this)}}class u extends m{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class p extends m{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class h extends m{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class g extends m{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class f extends m{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class y extends m{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class A extends m{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class b extends m{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class x extends m{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class N extends m{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class C extends m{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function S(e,t){if(d(t))return t;if("string"==typeof t)return new b(s.some(e),{message:t});let r="string"==typeof t.issue?new b(s.some(e),{message:t.issue}):t.issue;return new h(t.path,r)}function I(e,t,r){if(Array.isArray(r))return i.ET(r)?1===r.length?S(e,r[0]):new y(t,s.some(e),i.Tj(r,t=>S(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new b(s.some(e)):S(e,r)}let w=e=>{let t=R(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return v(a.bo(e.ast),k(e.actual));case"InvalidValue":return`Invalid data ${k(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${(0,n.GP)(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${(0,n.GP)(e.actual)}`}},E=e=>R(e.issue)??R(e);function v(e,t){return`Expected ${e}, got ${t}`}let B=e=>(function e(t,r,i,s){switch(t._tag){case"Filter":{let a=s(t);if(void 0!==a)return[{path:r,message:a}];if("InvalidValue"===t.issue._tag)return[{path:r,message:v(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),(0,n.GP)(t.actual))}];return e(t.issue,r,i,s)}case"Encoding":return e(t.issue,r,i,s);case"Pointer":return e(t.issue,[...r,...t.path],i,s);case"Composite":return t.issues.flatMap(t=>e(t,r,i,s));case"AnyOf":{let o=R(t);if(0===t.issues.length){if(void 0!==o)return[{path:r,message:o}];return[{path:r,message:v(a.bo(t.ast),(0,n.GP)(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,s))}default:return[{path:r,message:i(t)}]}})(e,[],w,E).map(P).join("\n");function P(e){let t=e.message;if(e.path&&e.path.length>0){let r=(0,n.jV)(e.path);t+=` + at ${r}`}return t}function R(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return O(e.ast.annotations);case"InvalidValue":case"Forbidden":return O(e.annotations);case"MissingKey":return O(e.annotations,"messageMissingKey");case"UnexpectedKey":return O(e.ast.annotations,"messageUnexpectedKey");case"Filter":return O(e.filter.annotations);case"Encoding":return R(e.issue)}}function O(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function k(e){return s.isNone(e)?"no value provided":(0,n.GP)(e.value)}r.d(t,{E$:()=>function e(t){switch(t._tag){case"MissingKey":return t;case"Forbidden":return new x(s.map(t.actual,l.L8),t.annotations);case"Filter":return new u(l.L8(t.actual),t.filter,e(t.issue));case"Pointer":return new h(t.path,e(t.issue));case"Encoding":case"InvalidType":case"InvalidValue":case"Composite":return new b(s.map(t.actual,l.L8));case"AnyOf":case"OneOf":case"UnexpectedKey":return new b(s.some(l.L8(t.actual)))}},E8:()=>C,L8:()=>I,Mw:()=>g,W:()=>N,Wi:()=>p,cw:()=>x,dJ:()=>u,eC:()=>y,eE:()=>A,gh:()=>d,gm:()=>h,h6:()=>b,vF:()=>f})},8376(e,t,r){var i=r(3207),n=r(8149),a=r(702),s=r(5536),o=r(9920),l=r(6311),c=r(6437),d=r(8527),m=r(7439),u=r(2340);let p=(0,o.Bj)(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[m.YA];if(d.Tn(t)){let r=t(e.typeParameters),i=p(r.to);return m.ES(e,i===r.to?[r]:[new m.N_(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=p(e);return m.ES(r,r.encoding?[...r.encoding,...t]:t)}return p(e)});case"Suspend":return e.recur(p);default:return e}});function h(e){let t=E(p(m.Ax(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function g(e){let t=h(e);return(e,r)=>{let i=a.lKS(t(e,r));return s.oJ(i)?c.some(i.value):(l.q(i.cause,"Option adapter can only return none for schema issues"),c.none())}}function f(e){let t=h(e);return(e,r)=>{let i=a.lKS(t(e,r));if(s.oJ(i))return i.value;let n=l.q(i.cause,"Constructor adapter can only throw schema issues");throw Error(n.toString(),{cause:n})}}function y(e){return A(e.ast)}function A(e){let t=v(E(m.Ax(e)));return e=>{let r=t(e,m.vr);return!!s.oJ(r)||(l.q(r.cause,"Type guard adapter can only return false for schema issues"),!1)}}function b(e,t){let r=v(E(m.Ax(e.ast)))(t,m.vr);if(s.N6(r)){let e=l.q(r.cause,"Assertion adapter can only throw schema issues");throw Error(e.toString(),{cause:e})}}function x(e,t){let r=E(e.ast);return void 0===t?r:(e,i)=>r(e,w(t,i))}function N(e,t){return v(x(e,t))}function C(e,t){return B(x(e,t))}function S(e,t){let r=E(m.UU(e.ast));return void 0===t?r:(e,i)=>r(e,w(t,i))}function I(e,t){return B(S(e,t))}let w=(e,t)=>void 0===t?e:{...e,...t};function E(e){let t=R(e);return(e,r)=>a.Ab9(t(c.some(e),r??m.vr),e=>"None"===e._tag?a.fJG(new u.h6(e)):a.PyW(e.value))}function v(e){return(t,r)=>a.lKS(e(t,r))}function B(e){let t=v(e);return(e,r)=>{let i=t(e,r);return s.oJ(i)?c.some(i.value):(l.q(i.cause,"Option adapter can only return none for schema issues"),c.none())}}function P(e,t){return a.Tyx(e,e=>a.pVV(()=>n.Tj(e,t)))}let R=(0,o.Bj)(e=>{let t,r=e.checks,n=e.encoding,s=n?.length??0,o=e.encodingChecks,l=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!n&&!r&&!o)return(r,i)=>(t??=e.getParser(R),l&&(i={...i,...l}),t(r,i));let d=m.tF(e)||m.RP(e)||m.HC(e)&&e.typeParameters.length>0,p=r&&d?r.filter(e=>e.annotations?.[m.C3]):void 0;return(d,h)=>{let g;if(l&&(h={...h,...l}),n){for(let e=s-1;e>=0;e--){let t=n[e],r=R(t.to);if(g=g?a.Ab9(g,e=>r(e,h)):r(d,h),"Transformation"===t.transformation._tag){let e=t.transformation.decode;g=a.Ab9(g,t=>e.run(t,h))}else g=t.transformation.decode(g,h)}g=P(g,t=>new u.Wi(e,d,t))}t??=e.getParser(R);let f=n=>{let s=t(n,h);return o&&!h?.disableChecks&&(s=a.Ab9(s,t=>{if(c.isSome(n)&&c.isSome(t)){let t=[];if(m.Lp(o,n.value,t,e,h),i.CZ(t))return a.fJG(new u.eC(e,n,t))}return a.PyW(t)})),r&&!h?.disableChecks&&(h?.errors==="all"&&p&&p.length>0&&c.isSome(n)&&(s=P(s,t=>{let r=[];return m.Lp(p,n.value,r,e,h),i.CZ(r)?"Composite"===t._tag&&t.ast===e?new u.eC(e,t.actual,[...t.issues,...r]):new u.eC(e,n,[t,...r]):t})),s=a.Ab9(s,t=>{if(c.isSome(t)){let n=t.value,s=[];if(m.Lp(r,n,s,e,h),i.CZ(s))return a.fJG(new u.eC(e,t,s))}return a.PyW(t)})),s};return g?a.Ab9(g,f):f(d)}});r.d(t,{GX:()=>A,IQ:()=>I,L8:()=>f,YY:()=>g,_R:()=>x,e$:()=>S,fq:()=>N,is:()=>y,kv:()=>b,o:()=>h,y9:()=>C},{GP:I,mR:C})},5030(e,t,r){var i=r(5909),n=r(1897),a=r(6292),s=r(702),o=r(7292),l=r(6437),c=r(8527),d=r(6528),m=r(2340);class u{_tag="Middleware";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new u(this.encode,this.decode)}}let p="~effect/SchemaTransformation/Transformation";class h{[p]=p;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new h(this.encode,this.decode)}compose(e){return new h(this.decode.compose(e.decode),e.encode.compose(this.encode))}}function g(e){return new h(d.K$(e.decode),d.K$(e.encode))}function f(e){return new h(d.pd(e.decode),d.pd(e.encode))}let y=new h(d.le(),d.le());function A(){return y}let b=new h(d.wN(),d.Qf()),x=new h(d.Qw(),d.Qf()),N=new h(d.n9(),d.pd(o.Yq)),C=new h(d.n9(),d.pd(e=>e.getTime())),S=g({decode:e=>l.match(a.lX(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid Duration string: ${e}`})),onSome:s.PyW}),encode:e=>s.PyW(globalThis.String(e))}),I=g({decode:e=>s.PyW(a.cF(e)),encode:e=>l.match(a.tb(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Unable to encode ${e} into a bigint`})),onSome:e=>s.PyW(e)})}),w=f({decode:e=>a.ne(e),encode:e=>a.kE(e)}),E=e=>{let t;return c.Gv(e)&&"string"==typeof e.message?(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:E(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t):e};function v(){return f({decode:l.fromNullOr,encode:l.getOrNull})}let B=g({decode:e=>URL.canParse(e)?s.PyW(new URL(e)):s.fJG(new m.h6(l.some(e),{message:`Invalid URL string: ${e}`})),encode:e=>s.PyW(e.href)}),P=g({decode:e=>{let t=i.sH(e);return l.isNone(t)?s.fJG(new m.h6(l.some(e),{message:`Invalid BigDecimal string: ${e}`})):s.PyW(t.value)},encode:e=>s.PyW(i.GP(e))}),R=new h(d.y4(),d.WG()),O=new h(d.$T(),d.WG()),k=new h(d.UD(),d.DX()),T=new h(d.xQ(),d.mU()),M=new h(d.mF(),d._p()),D=f({decode:e=>n.ko(e),encode:e=>e.offset}),z=g({decode:e=>l.match(n.y3(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid IANA time zone: ${e}`})),onSome:s.PyW}),encode:e=>s.PyW(e.id)}),Q=g({decode:e=>l.match(n.ez(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid time zone: ${e}`})),onSome:s.PyW}),encode:e=>s.PyW(n.xV(e))}),_=g({decode:e=>l.match(n.L8(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid UTC DateTime string: ${e}`})),onSome:e=>s.PyW(n.yT(e))}),encode:e=>s.PyW(n.dv(e))}),U=g({decode:e=>l.match(n.MO(e),{onNone:()=>s.fJG(new m.h6(l.some(e),{message:`Invalid Zoned DateTime string: ${e}`})),onSome:s.PyW}),encode:e=>s.PyW(n.Rd(e))});r.d(t,{$p:()=>u,IT:()=>h,K$:()=>g,gh:()=>v,le:()=>A,pd:()=>f},{Ct:O,EJ:S,HO:C,I9:D,L8:e=>c.i5(e,p)?e:new h(e.decode,e.encode),LL:k,Nh:_,PE:w,Pp:M,R7:x,U0:R,XU:Q,Y5:T,YZ:N,ZK:b,d9:U,dG:P,m8:I,nY:B,sm:e=>{let t,r;return f({decode:E,encode:(t=new WeakSet,r=i=>{if(c.bJ(i)){var n;let a;if(t.has(i))return"[Circular]";t.add(i);let s=(n=r,a={name:i.name,message:"string"==typeof i.message?i.message:""},e?.includeStack&&"string"==typeof i.stack&&(a.stack=i.stack),e?.excludeCause||void 0===i.cause||(a.cause=n(i.cause)),a);return t.delete(i),s}try{let e=(0,o.IB)(i);return void 0===e?(0,o.GP)(i):JSON.parse(e)}catch{return(0,o.GP)(i)}})})},yd:z})},1746(e,t,r){var i=r(8826);i.kWD,i.obm;let n=i.DLK;i.RWE;let a=i.d97,s=i.AAo,o=i.Uio,l=i.iLB;i.Z$R;let c=i.pSt,d=i.vDJ;i.fou,i.mdu,r.d(t,{},{Fp:c,Gt:s,HG:n,LZ:a,U9:l,VN:d,a6:o})},1091(e,t,r){r(3207);var i=r(8149),n=r(893),a=r(702),s=r(9920),o=r(6437),l=r(2544),c=r(8527),d=r(6627);let m="~effect/Sink",u=a.PyW([void 0]),p={[m]:{_A:s.D_,_In:s.D_,_L:s.D_,_E:s.D_,_R:s.D_},pipe(){return(0,l.tT)(this,arguments)}},h=e=>g((t,r)=>n.wp(e)(t,r).pipe(a.qIB(a.i4r({disableYield:!0})),d.m8(a.PyW))),g=e=>{let t=Object.create(p);return t.transform=e,t},f=e=>n.Z1((t,r)=>a.PyW(a.qIB(e.transform(t,r),i.Vw)));a.ZmZ;let y=g(e=>d.m8(a.i4r(e,{disableYield:!0}),()=>u));o.none,o.isNone,o.none;r.d(t,{},{Ef:h,Ze:y,fJ:e=>{let t;return t=a.fJG(e),g(()=>t)},jJ:e=>{let t;return t=a.jJl(t=>e(t),{discard:!0}),g(e=>e.pipe(a.qIB(t),a.i4r({disableYield:!0}),d.m8(()=>u)))},oA:e=>h(n.oA(a.TjK(e,f))),qz:e=>(0,c.i5)(e,m)})},1260(e,t,r){r.d(t,{E2r:()=>b,g7H:()=>B,Iex:()=>x,yeE:()=>R,fJG:()=>C,EfB:()=>f,OBL:()=>y,fph:()=>S,rLs:()=>g,h1I:()=>E,kBx:()=>D,eFU:()=>O,sZ3:()=>k,o1d:()=>T,hM$:()=>M,uzs:()=>P,DYE:()=>N,tiA:()=>Q,QCN:()=>v,oAg:()=>I});var i=r(3207),n=r(8149),a=r(893),s=r(702),o=r(5536),l=r(8516),c=r(9920),d=r(2544);let m={"~effect/Stream":{_R:c.D_,_E:c.D_,_A:c.D_},pipe(){return(0,d.tT)(this,arguments)}};var u=r(7512),p=r(8527),h=r(1746);let g=e=>(0,p.i5)(e,"~effect/Stream"),f=e=>{let t=Object.create(m);return t.channel=e,t},y=e=>f(a.OB(e)),A=e=>e.channel,b=(e,t)=>f(a.VD(e,t)),x=f(a.Ie),N=e=>f(a.DY(()=>e().channel)),C=e=>f(a.fJ(e)),S=e=>f(a.Z1(s.D9k(function*(t,r){let a=e.evaluate().getReader();return yield*h.U9(r,e.releaseLockOnEnd?s.OH5(()=>a.releaseLock()):s.ivC(()=>a.cancel().catch(c.Yi))),s.qIB(s.$mh({try:()=>a.read(),catch:t=>e.onError(t)}),({done:e,value:t})=>e?n.Vw():s.PyW(i.of(t)))})));a.Zm;let I=e=>f(a.oA(s.TjK(e,A))),w=(0,c.XY)(2,(e,t)=>N(()=>{let r=0;return f(a.Tj(e.channel,i.Tj(e=>t(e,r++))))})),E=(0,c.XY)(e=>g(e[0])&&g(e[1]),(e,t,r)=>f(a.h1(A(e),A(t),r))),v=(0,c.XY)(2,(e,t)=>{let r;return r=(e,r)=>s.OH5(()=>{let a,l,c=s.DYE(()=>{if(void 0!==l){let e=l;return l=void 0,s.PyW(e)}return e}).pipe(s.MfU(e=>(a=o.fJ(e),n.Vw()))),d=s.TjK(s.DYE(()=>t.transform(c,r)),([e,t])=>(l=t,i.of(e)));return s.DYE(()=>a||d)}),f(a.Z1((t,i)=>s.qIB(a.lB(e.channel,i),e=>r(e,i))))}),B=(0,c.XY)(e=>g(e[0]),(e,t)=>N(()=>{let r=new TextDecoder(t?.encoding);return w(e,e=>r.decode(e,{stream:!0}))})),P=e=>e.channel.pipe(a.Dn(a.uz()),f),R=(0,c.XY)(2,(e,t)=>f(a.ye(e.channel,t))),O=(0,c.XY)(2,(e,t)=>s.Pxi(r=>a.lB(e.channel,r).pipe(s.qIB(e=>t.transform(e,r)),s.TjK(([e])=>e)))),k=e=>a.vb(e.channel,()=>[],(e,t)=>{for(let r=0;r<t.length;r++)e.push(t[r]);return e}),T=(0,c.XY)(2,(e,t)=>a.o1(e.channel,e=>{let r=0;return s.iMI({while:()=>r<e.length,body:()=>t(e[r++]),step:c.Yi})})),M=(0,c.XY)(2,(e,t)=>a.o1(e.channel,t)),D=e=>a.vb(e.channel,()=>"",(e,t)=>e+t.join("")),z=(0,c.XY)(e=>g(e[0]),(e,t,r)=>{let i,a,o=u.LZ(!1);return new ReadableStream({start(r){(a=s.MY7(s.PpN(M(e,e=>o.whenOpen(s.OH5(()=>{o.closeUnsafe();for(let t=0;t<e.length;t++)r.enqueue(e[t]);i(),i=void 0}))),t))).addObserver(e=>{"Failure"===e._tag?r.error(n.iw(e.cause)):r.close()})},pull:()=>new Promise(e=>{i=e,o.openUnsafe()}),cancel(){if(a)return s.pR5(s.NLW(l.G(a)))}},r?.strategy)}),Q=(0,c.XY)(e=>g(e[0]),(e,t)=>s.TjK(s._OA(),r=>z(e,r,t)))},4465(e,t,r){let i,n;var a=r(9605),s=r(9920),o=r(6437);let l="effect/Tracer/ParentSpan";class c extends a.kl()(l){}let d=a.Or("effect/Tracer/DisablePropagation",{defaultValue:s.f4}),m=a.Or("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),u=a.Or("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),p="effect/Tracer",h=a.Or(p,{defaultValue:()=>({span:e=>new g(e)})});class g{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=o.getOrUndefined(e.parent)?.traceId??f(32),this.spanId=f(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let f=(n=(i="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=i.charAt(Math.floor(Math.random()*n));return t});r.d(t,{Tv:()=>c},{DW:d,EW:u,RL:p,WG:l,pX:m,sh:h})},1371(e,t,r){let i,n;class a{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new a(this.self)}}let s=(n={[i="~effect/Utils/internal"]:e=>e()},n[i](()=>Error().stack)?.includes(i)===!0?n[i]:({[i]:e=>e()})[i]);r.d(t,{B:()=>a},{s:s})},8579(e,t,r){let i;var n=r(2730),a=r(7292),s=r(9920),o=r(3536),l=r(8294),c=r(2544),d=r(8527),m=r(1371);let u="~effect/Effect",p="~effect/Exit",h={_A:s.D_,_E:s.D_,_R:s.D_},g=`${u}/identifier`,f=`${u}/args`,y=`${u}/evaluate`,A=`${u}/successCont`,b=`${u}/failureCont`,x=`${u}/ensureCont`,N=Symbol.for("effect/Effect/Yield"),C={pipe(){return(0,c.tT)(this,arguments)},toJSON(){return{...this}},toString(){return(0,a.GP)(this.toJSON(),{ignoreToString:!0,space:2})},[l.FX](){return this.toJSON()}},S={[o.HR](){return o.uN(this,Object.keys(this))},[n.HR](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!n.aI(this[t[i]],e[t[i]]))return!1;return!0}},I={[u]:h,...C,[Symbol.iterator](){return new m.B(this)},toJSON(){return{_id:"Effect",op:this[g],...f in this?{args:this[f]}:void 0}}},w=e=>(0,d.i5)(e,p),E="~effect/Cause",v="~effect/Cause/Reason",B=e=>(0,d.i5)(e,E);class P{[E];reasons;constructor(e){this[E]=E,this.reasons=e}pipe(){return(0,c.tT)(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${(0,a.GP)(this.reasons)})`}[l.FX](){return this.toJSON()}[n.HR](e){return B(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>n.aI(t,e.reasons[r]))}[o.HR](){return o.YO(this.reasons)}}let R=new WeakMap;class O{[v];annotations;_tag;constructor(e,t,r){if(this[v]=v,this._tag=e,t!==k&&"object"==typeof r&&null!==r&&t.size>0){let e=R.get(r);e&&(t=new Map([...e,...t])),R.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return(0,c.tT)(this,arguments)}toString(){return(0,a.GP)(this)}[l.FX](){return this.toString()}}let k=new Map;class T extends O{error;constructor(e,t=k){super("Fail",t,e),this.error=e}toString(){return`Fail(${(0,a.GP)(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[n.HR](e){return U(e)&&n.aI(this.error,e.error)&&n.aI(this.annotations,e.annotations)}[o.HR](){return o.kg(o.Yj(this._tag))(o.kg(o.tW(this.error))(o.tW(this.annotations)))}}let M=new P([]),D=e=>new P([new T(e)]);class z extends O{defect;constructor(e,t=k){super("Die",t,e),this.defect=e}toString(){return`Die(${(0,a.GP)(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[n.HR](e){return H(e)&&n.aI(this.defect,e.defect)&&n.aI(this.annotations,e.annotations)}[o.HR](){return o.kg(o.Yj(this._tag))(o.kg(o.tW(this.defect))(o.tW(this.annotations)))}}let Q=e=>new P([new z(e)]),_=(0,s.XY)(e=>B(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new P(e.reasons.map(e=>e.annotate(t,r)))),U=e=>"Fail"===e._tag,H=e=>"Die"===e._tag;function L(e){return K("Effect.evaluate: Not implemented")}let F=e=>({...I,[g]:e.op,[y]:e[y]??L,[A]:e[A],[b]:e[b],[x]:e[x]}),q=e=>{let t=F(e);return function(){let r=Object.create(t);return r[f]=!1===e.single?arguments:arguments[0],r}},j=e=>{let t={...F(e),[p]:p,_tag:e.op,get[e.prop](){return this[f]},toString(){return`${e.op}(${(0,a.GP)(this[f])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[f]}},[n.HR](e){return w(e)&&e._tag===this._tag&&n.aI(this[f],e[f])},[o.HR](){return o.kg(o.Yj(e.op),o.tW(this[f]))}};return function(e){let r=Object.create(t);return r[f]=e,r}},G=j({op:"Success",prop:"value",[y](e){let t=e.getCont(A);return t?t[A](this[f],e,this):e.yieldWith(this)}}),Y={key:"effect/Cause/StackTrace"},$=j({op:"Failure",prop:"cause",[y](e){let t=this[f],r=!1;e.currentStackFrame&&(t=_(t,{mapUnsafe:new Map([[Y.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(b);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(b);return i?i[b](t,e,r?void 0:this):e.yieldWith(r?$(t):this)}}),J=e=>$(D(e)),K=e=>$(Q(e)),X=q({op:"WithFiber",[y](e){return this[f](e)}}),V=function(){class e extends globalThis.Error{}let t=F({op:"YieldableError",[y](){return J(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),W=(i=Symbol.for("effect/Data/Error/plainArgs"),class extends V{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,i,{value:e,enumerable:!1}))}toJSON(){return{...this[i],...this}}}),Z=e=>{class t extends W{_tag=e}return t.prototype.name=e,t},ee="~effect/Cause/NoSuchElementError";class et extends Z("NoSuchElementError"){[ee]=ee;constructor(e){super({message:e})}}let er="~effect/Cause/Done",ei={[er]:er,_tag:"Done",value:void 0},en=e=>void 0===e?ei:{[er]:er,_tag:"Done",value:e},ea=J(ei);r.d(t,{ET:()=>O,Xm:()=>et,dM:()=>T,s0:()=>P},{$D:W,$L:e=>(0,d.i5)(e,er),$n:u,Aj:B,B4:v,DH:M,Eh:_,GN:N,IH:p,In:S,Iu:Q,OE:D,PW:e=>(0,d.i5)(e,ee),PX:E,QJ:{key:"effect/Cause/InterruptorStackTrace"},R6:X,RS:en,Rk:J,Sc:b,Uf:q,V2:K,Vw:e=>void 0===e?ea:J(en(e)),Wg:e=>(0,d.i5)(e,v),Xb:H,_3:y,a2:f,b5:e=>new P(e),b9:w,cb:$,dO:k,ee:A,fU:C,ik:e=>"Interrupt"===e._tag,lC:U,qB:ee,q_:er,rN:Z,u4:x,xt:G,yj:F,yw:e=>(0,d.i5)(e,u),z8:Y})},9739(e,t,r){var i=r(9920);r.d(t,{},{Jr:e=>(0,i.XY)(2,(t,r)=>e(t,e=>({[r]:e}))),oI:(e,t)=>(0,i.XY)(3,(r,i,n)=>t(r,t=>e(n(t),e=>({...t,[i]:e})))),zM:e=>(0,i.XY)(3,(t,r,i)=>e(t,e=>({...e,[r]:i(e)})))})},8826(e,t,r){let i,n,a;r.d(t,{RD4:()=>n6,cOF:()=>n2,a1U:()=>n_,z4N:()=>n9,d$_:()=>at,Do:()=>iV,Aub:()=>n1,F7W:()=>nZ,qwd:()=>nW,t8c:()=>nX,LkF:()=>n7,olX:()=>ar,obm:()=>rJ,kWD:()=>r$,MUS:()=>nK,DQo:()=>n$,Bk6:()=>n8,Kkt:()=>n5,dsN:()=>iR,N24:()=>iy,Q56:()=>ii,jGc:()=>ig,U9h:()=>ia,Q7R:()=>iO,hgn:()=>tr,ww9:()=>nD,gsV:()=>ai,Muk:()=>nM,as:()=>e7,Xx$:()=>te,NLW:()=>tn,PCg:()=>i6,oIE:()=>iZ,JrD:()=>iW,PO3:()=>ix,CJw:()=>iA,Rgn:()=>ib,E2r:()=>eW,Tyx:()=>rt,rNk:()=>rn,sJf:()=>ri,Fig:()=>ro,UVN:()=>tx,osR:()=>rg,XWm:()=>rh,U9Y:()=>rs,AXC:()=>rA,zt4:()=>rb,KuX:()=>rf,loE:()=>ry,h_t:()=>ra,On5:()=>K,h2c:()=>X,Bou:()=>j,nIy:()=>M,h74:()=>G,O$X:()=>V,GyP:()=>eo,RJ6:()=>Z,ReC:()=>W,RKA:()=>nq,qho:()=>ag,_OA:()=>tK,sxi:()=>tV,Wj8:()=>nQ,_32:()=>nz,Rud:()=>nG,s0X:()=>nY,Umn:()=>aA,cbG:()=>rF,F_Q:()=>eL,OY:()=>tp,yeE:()=>il,u4Y:()=>rE,NS5:()=>r_,Hox:()=>tH,ely:()=>tL,yJo:()=>tv,HIt:()=>tE,K$2:()=>tS,GUt:()=>tI,jCT:()=>tP,_OD:()=>tB,lgw:()=>tj,Sv3:()=>tq,kMI:()=>tF,YDM:()=>tO,_mh:()=>tk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5});var s=r(3207),o=r(9605),l=r(6292),c=r(2730),d=r(7174),m=r(7292),u=r(9920),p=r(3536),h=r(8294),g=r(1034),f=r(6437),y=r(606),A=r(2544),b=r(8527),x=r(8629),N=r(2917),C=r(3327),S=r(4465),I=r(1371),w=r(8579),E=r(9739),v=r(3894),B=r(58);let P=e=>{if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let t=(0,B.jt)();(0,B.ft)(3);let r=Error();return(0,B.ft)(t),{...e,captureStackTrace:O(()=>r.stack)}},R=e=>t=>{let r;return()=>{if(void 0!==r)return r;let i=t();if(!i)return;let n=i.split("\n");if(void 0!==n[e])return r=n[e].trim()}},O=R(3);class k extends w.ET{fiberId;constructor(e,t=w.dO){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[c.HR](e){return(0,w.ik)(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[p.HR](){return p.kg(p.Yj(`${this._tag}:${this.fiberId}`))(p.yT(this.annotations))}}let T=e=>new k(e),M=e=>new w.s0([new k(e)]),D=e=>e.reasons.some(w.lC),z=e=>{let t=e.reasons.find(w.lC);return t?N.Py(t):N.fJ(e)},Q=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return N.Py(r.error)}return N.fJ(e)},_=d.zL(Q),U=e=>e.reasons.some(w.Xb),H=e=>{let t=e.reasons.find(w.Xb);return t?N.Py(t):N.fJ(e)},L=e=>{let t=e.reasons.find(w.Xb);return t?N.Py(t.defect):N.fJ(e)},F=e=>e.reasons.some(w.ik),q=e=>{let t=e.reasons.find(w.ik);return t?N.Py(t):N.fJ(e)},j=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?N.Py(t):N.fJ(e)},G=e=>{let t=j(e);return N.N6(t)?Y:t.success},Y=new Set,$=e=>e.reasons.length>0&&e.reasons.every(w.ik),J=e=>o.LZ(e.annotations),K=e=>{let t=new Map;for(let r of e.reasons)if(r.annotations.size>0)for(let[e,i]of r.annotations)t.set(e,i);return o.LZ(t)},X=(0,u.XY)(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new w.s0(s.KC(e.reasons,t.reasons));return c.aI(e,r)?e:r}),V=(0,u.XY)(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>(0,w.lC)(e)?(r=!0,new w.dM(t(e.error))):e);return r?(0,w.b5)(i):e}),W=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},Z=(e,t)=>{let r=[],i=[];if(0===e.reasons.length)return r;let n=(0,B.jt)();for(let n of((0,B.ft)(1),e.reasons)){if("Interrupt"===n._tag){i.push(n);continue}r.push(ee("Die"===n._tag?n.defect:n.error,n.annotations,t))}if(0===r.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=ea(e,i);let n=new globalThis.Error("All fibers interrupted without error",{cause:e});n.name="InterruptError",n.stack=`${n.name}: ${n.message}`,r.push(ee(n,i[0].annotations,t))}return(0,B.ft)(n),r},ee=(e,t,r)=>{let i,n=typeof e;if(e&&"object"===n){if(i=new globalThis.Error(et(e),{cause:e.cause?ee(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=ei(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?en(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=el(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===n?e:(0,m.IB)(e));return i},et=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return(0,m.IB)(e)},er=/\((.*)\)/g,ei=(e,t,r)=>{let i=`${t.name}: ${t.message}`,n=(e.startsWith(i)?e.slice(i.length):e).split("\n"),a=[i];for(let e=1;e<n.length&&!/(?:Generator\.next|~effect\/Effect)/.test(n[e]);e++)a.push(n[e]);return r?en(a.join("\n"),r):a.join("\n")},en=(e,t)=>{let r=t?.get(w.z8.key);return r&&(e=`${e} +${es(r)}`),e},ea=(e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(w.QJ.key);r.push(` at fiber (${t})`),i&&r.push(es(i))}return r.join("\n")},es=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(er),n=!1;for(let[,e]of i)n=!0,t.push(` at ${r.name} (${e})`);n||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},eo=e=>Z(e).map(el).join("\n"),el=e=>e.cause?`${e.stack} { +${ec(e.cause," ")} +}`:e.stack,ec=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,n=r.length;e<n;e++)i+=` ${t}${r[e]}`;return e.cause&&(i+=` { -${el(e.cause,`${t} `)} -${t}}`),i},ec="~effect/Fiber/dev",ed={_A:g.D_,_E:g.D_},eg={id:0},eu=()=>globalThis[E.fL];class eh{constructor(e,t=!0){this[ec]=ed,this.setContext(e),this.id=++eg.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[ec];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){return a.kA(this.context,e)}addObserver(e){return this._exit?(e(this._exit),g.Yi):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=U(e);this.currentStackFrame&&(r=(0,b.Eh)(r,a.L8(b.z8,this.currentStackFrame))),t&&(r=(0,b.Eh)(r,t)),this._interruptedCause=this._interruptedCause?X(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(eD(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===b.GN)return;let r=ep.interruptChildren&&ep.interruptChildren(this);if(void 0!==r)return this.evaluate(tc(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=a.Ie()}runLoop(e){let t=globalThis[E.fL];globalThis[E.fL]=this;let r=this._running;this._running=!0;let i=!1,n=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,n=eD(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=n;n=tc(eT,()=>e)}if((n=this.currentTracerContext?this.currentTracerContext(n,this):n[b._3](this))===b.GN){let e=this._yielded;if(b.IH in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return b.GN}}}catch(e){if(!(0,I.i5)(n,b._3))return(0,b.V2)(`Fiber.runLoop: Not a valid effect: ${String(n)}`);return this.runLoop((0,b.V2)(e))}finally{this._running=r,globalThis[E.fL]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,em;for(;;){let t=this._stack.pop();if(!t)return;let r=t[b.u4]&&t[b.u4](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,b.GN}children(){return this._children??=new Set}pipe(){return(0,f.tT)(this,arguments)}setContext(e){this.context=e;let t=this.getRef(B._F);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(Q.WG),this.currentLogLevel=this.getRef(w.Gl),this.minimumLogLevel=this.getRef(w.zQ),this.currentStackFrame=e.mapUnsafe.get(w.vA.key),this.maxOpsBeforeYield=this.getRef(B.Zm),this.currentPreventYield=this.getRef(B.hf),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(Q.RL);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let em={[b.ee]:(e,t)=>eD(t._interruptedCause),[b.Sc]:(e,t)=>eD(t._interruptedCause)},ep={interruptChildren:void 0},eC=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(b.QJ.key,e.currentStackFrame),a.LZ(t)},ef=e=>{if(void 0!==e._children&&0!==e._children.size)return eb(e._children)},eI=e=>e._exit?ew(e._exit):eZ(t=>e._exit?t(ew(e._exit)):eR(e.addObserver(e=>t(ew(e))))),eE=e=>eZ(t=>{let r,i=e[Symbol.iterator](),n=[];return!function e(){let s=i.next();for(;!s.done;){if(s.value._exit){n.push(s.value._exit),s=i.next();continue}r=s.value.addObserver(t=>{n.push(t),e()});return}t(ew(n))}(),eR(()=>r?.())}),ey=e=>e._exit?e._exit:eZ(t=>e._exit?t(e._exit):eR(e.addObserver(t))),eB=e=>eZ(t=>{let r=Array.from(e);if(0===r.length)return t(ew(o.Ie()));let i=Array(r.length),n=o.Ie(),s=0,a=!1;for(let e=0;e<r.length&&!a;e++)n.push(r[e].addObserver(o=>{if(s++,"Failure"===o._tag)return a=!0,n.forEach(e=>e()),t(o);i[e]=o.value,s===r.length&&t(ew(i))}));return eR(()=>{a=!0,n.forEach(e=>e())})}),eQ=e=>(0,b.R6)(t=>eN(e,t.id)),eN=(0,g.XY)(e=>(0,I.i5)(e[0],ec),(e,t,r)=>(0,b.R6)(i=>{let n=eC(i);return n=n&&r?a.h1(n,r):n??r,e.interruptUnsafe(t,n),tn(eI(e))})),eb=e=>(0,b.R6)(t=>{let r=eC(t),i=o.Ie();for(let n of e)n.interruptUnsafe(t.id,r),i.push(n);return tn(eE(i))}),eS=(0,g.XY)(2,(e,t)=>(0,b.R6)(r=>{let i=eC(r),n=o.Ie();for(let r of e)r.interruptUnsafe(t,i),n.push(r);return tn(eE(n))})),ew=b.xt,eD=b.cb,ex=b.Rk,eR=(0,b.Uf)({op:"Sync",[b._3](e){let t=this[b.a2](),r=e.getCont(b.ee);return r?r[b.ee](t,e):e.yieldWith((0,b.xt)(t))}}),eM=(0,b.Uf)({op:"Suspend",[b._3](e){return this[b.a2]()}}),ek=(0,g.XY)(e=>e.length>=2||p.isOption(e[0]),(e,t)=>p.isNone(e)?ex(t?t():new b.Xm("Effect.fromOption: Option.none")):ew(e.value)),ev=y.YW({onFailure:ex,onSuccess:ew}),eU=e=>null==e?ex(new b.Xm):ew(e),eF=(0,b.Uf)({op:"Yield",[b._3](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(tv)},this[b.a2]??0),e.yieldWith(()=>{t=!0})}}),eT=eF(0),eL=e=>ew(p.some(e)),eO=ew(p.none()),eP=e=>p.isNone(e)?eO:tp(e.value,p.some),eH=e=>eM(()=>eD((0,N.s)(e))),eY=e=>(0,b.V2)(e),eG=e=>eM(()=>ex((0,N.s)(e))),ez=ew(void 0),eq=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new n9(e,"An error occurred in Effect.try"):e.catch;return eM(()=>{try{return ew((0,N.s)(t))}catch(e){return ex((0,N.s)(()=>r(e)))}})},eV=e=>eX(function(t,r){(0,N.s)(()=>e(r)).then(e=>t(ew(e)),e=>t(eY(e)))},0!==e.length),e_=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new n9(e,"An error occurred in Effect.tryPromise"):e.catch;return eX(function(e,i){let n=t=>{try{e(ex((0,N.s)(()=>r(t))))}catch(t){e(eY(t))}};try{(0,N.s)(()=>t(i)).then(t=>e(ew(t)),n)}catch(e){n(e)}},0!==t.length)},eJ=e=>(0,b.R6)(t=>e(t.id)),eW=(0,b.R6)(ew),ej=eJ(ew),eX=(0,b.Uf)({op:"Async",single:!1,[b._3](e){let t=(0,N.s)(()=>this[b.a2][0].bind(e.currentScheduler)),r=!1,i=!1,n=this[b.a2][1]?new AbortController:void 0,s=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},n?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===n&&void 0===s||e._stack.push(eK(()=>(r=!0,n?.abort(),s??tv))),b.GN)}}),eK=(0,b.Uf)({op:"AsyncFinalizer",[b.u4](e){e.interruptible&&(e.interruptible=!1,e._stack.push(iN))},[b.Sc](e,t){return G(e)?tc(this[b.a2](),()=>eD(e)):eD(e)}}),eZ=e=>eX(e,e.length>=2),e$=eZ(g.Yi),e0=(...e)=>eM(()=>e6(1===e.length?e[0]():e[1].call(e[0].self))),e1=(e,...t)=>{let r=0===t.length?function(){return eM(()=>e6(e.apply(this,arguments)))}:function(){let r=eM(()=>e6(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return e2(e.length,r)},e2=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),e5=R(2),e3=function(){let e="string"==typeof arguments[0],t=e?arguments[0]:"Effect.fn",r=e?arguments[1]:void 0,i=(0,D.jt)();(0,D.ft)(2);let n=new globalThis.Error;return((0,D.ft)(i),e)?(i,...s)=>e4(t,i,n,s,e,r):e4(t,arguments[0],n,Array.prototype.slice.call(arguments,1),e,r)},e4=(e,t,r,i,n,s)=>{let o="function"==typeof t?t:i.pop().bind(t.self);return e2(o.length,function(...t){let a=eM(()=>{let e=o.apply(this,arguments);return(0,b.yw)(e)?e:e6(e)});for(let e=0;e<i.length;e++)a=i[e](a,...t);if(!(0,b.yw)(a))return a;let A=(0,D.jt)();(0,D.ft)(2);let l=new globalThis.Error;return(0,D.ft)(A),tW(n?nR(e,s,e=>nM(a,e)):a,w.vA,t=>({name:e,stack:e5(()=>l.stack),parent:{name:`${e} (definition)`,stack:e5(()=>r.stack),parent:t}}))})},e8=(e,...t)=>e2(e.length,0===t.length?function(){return e9(()=>e.apply(this,arguments))}:function(){let r=e9(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),e9=e=>{try{let t,r=e();for(;;){let i=r.next(t);if(i.done)return ew(i.value);let n=i.value;if(n&&"Success"===n._tag){t=n.value;continue}{if(n&&"Failure"===n._tag)return i.value;let t=!0;return eM(()=>t?(t=!1,tc(i.value,e=>e6(r,e))):eM(()=>e6(e())))}}}catch(e){return eY(e)}},e6=(0,b.Uf)({op:"Iterator",single:!1,[b.ee](e,t){let r=this[b.a2][0];for(;;){let i=r.next(e);if(i.done)return ew(i.value);if(!tu(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[b._3](e){return this[b.ee](this[b.a2][1],e)}}),e7=(0,g.XY)(2,(e,t)=>{let r=ew(t);return tc(e,e=>r)}),te=e=>tp(e,p.some),tt=e=>rU(e,{onFailure:ew,onSuccess:ex}),tr=(0,g.XY)(2,(e,t)=>tc(e,e=>(0,b.yw)(t)?t:(0,N.s)(()=>t(e)))),ti=(0,g.XY)(2,(e,t)=>tc(e,e=>e7((0,b.yw)(t)?t:(0,N.s)(()=>t(e)),e))),tn=e=>tc(e,e=>tv),ts=e=>rt(e,ex),to=(e,t)=>(0,b.R6)(r=>eZ(i=>{let n=o.Ts(e),s=n.length,a=0,A=!1,l=new Set,c=[],d=(e,n,o)=>{if(a++,"Failure"===e._tag){c.push(...e.cause.reasons),a>=s&&i(eD((0,b.b5)(c)));return}let d=!A;A=!0,i(0===l.size?e:tc(iB(eb(l)),()=>e)),d&&t?.onWinner&&t.onWinner({fiber:n,index:o,parentFiber:r})};for(let e=0;e<s;e++){let t=i2(r,n[e],!0,!0,!1);if(l.add(t),t.addObserver(r=>{l.delete(t),d(r,t,e)}),A)break}return eb(l)})),ta=(e,t)=>(0,b.R6)(r=>eZ(i=>{let n=!1,s=new Set,o=e=>{n=!0,i(0===s.size?e:tc(iB(eb(s)),()=>e))},a=0;for(let i of e){if(n)break;let e=a++,A=i2(r,i,!0,!0,!1);s.add(A),A.addObserver(i=>{s.delete(A);let a=!n;o(i),a&&t?.onWinner&&t.onWinner({fiber:A,index:e,parentFiber:r})})}return eb(s)})),tA=(0,g.XY)(e=>(0,b.yw)(e[1]),(e,t,r)=>to([e,t],r)),tl=(0,g.XY)(e=>(0,b.yw)(e[1]),(e,t,r)=>ta([e,t],r)),tc=(0,g.XY)(2,(e,t)=>{let r=Object.create(td);return r[b.a2]=e,r[b.ee]=1!==t.length?e=>t(e):t,r}),td=(0,b.yj)({op:"OnSuccess",[b._3](e){return e._stack.push(this),this[b.a2]}}),tg=(0,g.XY)(2,(e,t)=>tu(e)?"Success"===e._tag?t.onSuccess(e.value):t.onFailure(e.cause):rM(e,t)),tu=e=>b.IH in e,th=(0,g.XY)(2,(e,t)=>tu(e)?"Success"===e._tag?t(e.value):e:tc(e,t)),tm=e=>tc(e,g.D_),tp=(0,g.XY)(2,(e,t)=>tc(e,e=>ew((0,N.s)(()=>t(e))))),tC=(0,g.XY)(2,(e,t)=>tu(e)?tU(e,t):tp(e,t)),tf=(0,g.XY)(2,(e,t)=>tu(e)?tF(e,t):ry(e,t)),tI=(0,g.XY)(2,(e,t)=>tu(e)?tT(e,t):rB(e,t)),tE=(0,g.XY)(2,(e,t)=>{if(tu(e)){if("Success"===e._tag)return e;let r=L(e.cause);return y.N6(r)?e:t(r.success)}return rs(e,t)}),ty=e=>(0,b.cb)(U(e)),tB=e=>"Success"===e._tag,tQ=e=>"Success"===e._tag?y.Py(e):y.fJ(e),tN=e=>"Success"===e._tag?y.Py(e.value):y.fJ(e),tb=e=>"Failure"===e._tag,tS=e=>"Failure"===e._tag?y.Py(e):y.fJ(e),tw=e=>"Failure"===e._tag?y.Py(e.cause):y.fJ(e),tD=c.Bh(tw,L),tx=c.Bh(tw,Y),tR=e=>"Failure"===e._tag&&G(e.cause),tM=e=>"Failure"===e._tag&&P(e.cause),tk=e=>"Failure"===e._tag&&F(e.cause),tv=(0,b.xt)(void 0),tU=(0,g.XY)(2,(e,t)=>"Success"===e._tag?(0,b.xt)(t(e.value)):e),tF=(0,g.XY)(2,(e,t)=>{if("Success"===e._tag)return e;let r=L(e.cause);return y.N6(r)?e:(0,b.Rk)(t(r.success))}),tT=(0,g.XY)(2,(e,t)=>{if("Success"===e._tag)return(0,b.xt)(t.onSuccess(e.value));let r=L(e.cause);return y.N6(r)?e:(0,b.Rk)(t.onFailure(r.success))}),tL=(0,g.XY)(2,(e,t)=>tB(e)?(0,b.xt)(t):e),tO=(0,g.XY)(2,(e,t)=>tB(e)?t:e),tP=(0,g.XY)(2,(e,t)=>tB(e)?t.onSuccess(e.value):t.onFailure(e.cause)),tH=tL(void 0),tY=e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?tv:(0,b.cb)((0,b.b5)(t))},tG=e=>tB(e)?p.some(e.value):p.none(),tz=e=>tb(e)?p.some(e.cause):p.none(),tq=e=>{let t=tD(e);return y.N6(t)?p.none():p.some(t.success)},tV=e=>e,t_=e=>(0,b.R6)(t=>ew(a.om(t.context,e))),tJ=(0,g.XY)(2,(e,t)=>(0,b.R6)(r=>{let i=r.context,n=t(i);return i===n?e:(r.setContext(n),io(e,()=>{r.setContext(i)}))})),tW=(0,g.XY)(3,(e,t,r)=>tJ(e,e=>{let i=a.fp(e,t),n=r(i);return i===n?e:a.WQ(e,t,n)})),tj=()=>tX,tX=(0,b.R6)(e=>ew(e.context)),tK=e=>(0,b.R6)(t=>e(t.context)),tZ=(0,g.XY)(2,(e,t)=>tJ(e,(0,g.dY)(t))),t$=(0,g.XY)(2,(e,t)=>tu(e)?e:tJ(e,a.h1(t))),t0=function(){return 1==arguments.length?(0,g.XY)(2,(e,t)=>t1(e,arguments[0],t)):(0,g.XY)(3,(e,t,r)=>t1(e,t,r)).apply(this,arguments)},t1=(e,t,r)=>tJ(e,e=>e.mapUnsafe.get(t.key)===r?e:a.WQ(e,t,r)),t2=(0,g.XY)(3,(e,t,r)=>tc(r,r=>t0(e,t,r))),t5=t0(w.F8),t3=(0,g.XY)(e=>(0,b.yw)(e[1]),(e,t,r)=>t4(e,t,(e,t)=>[e,t],r)),t4=(0,g.XY)(e=>(0,b.yw)(e[1]),(e,t,r,i)=>i?.concurrent?tp(iM([e,t],{concurrency:2}),([e,t])=>(0,N.s)(()=>r(e,t))):tc(e,e=>tp(t,t=>(0,N.s)(()=>r(e,t))))),t8=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>iV(e,t,r?e=>ex(r(e)):()=>ex(new b.Xm))),t9=(0,g.XY)(2,(e,t)=>tc(t,t=>t?te(e):eO)),t6=(0,g.XY)(2,(e,t)=>Array.from({length:t},()=>e)),t7=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>iM(t6(e,t),r)),re=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>iP({while:g.ue,body:(0,g.dY)(t?.disableYield?e:tc(e,e=>eT)),step:g.Yi})),rt=(0,g.XY)(2,(e,t)=>{let r=Object.create(rr);return r[b.a2]=e,r[b.Sc]=1!==t.length?e=>t(e):t,r}),rr=(0,b.yj)({op:"OnFailure",[b._3](e){return e._stack.push(this),this[b.a2]}}),ri=(0,g.XY)(3,(e,t,r)=>rt(e,e=>t(e)?(0,N.s)(()=>r(e)):eD(e))),rn=(0,g.XY)(3,(e,t,r)=>rt(e,e=>{let i=t(e);return y.N6(i)?eD(i.failure):(0,N.s)(()=>r(i.success,e))})),rs=(0,g.XY)(2,(e,t)=>rn(e,L,e=>t(e))),ro=e=>rU(e,{onFailure:e=>(0,b.PW)(e)?eO:ex(e),onSuccess:eL}),ra=(0,g.XY)(2,(e,t)=>rn(e,Y,t)),rA=(0,g.XY)(2,(e,t)=>rt(e,e=>tr((0,N.s)(()=>t(e)),eD(e)))),rl=(0,g.XY)(3,(e,t,r)=>ri(e,t,e=>tr((0,N.s)(()=>r(e)),eD(e)))),rc=(0,g.XY)(3,(e,t,r)=>rt(e,e=>{let i=t(e);return y.N6(i)?eD(e):tr((0,N.s)(()=>r(i.success,e)),eD(e))})),rd=(0,g.XY)(2,(e,t)=>rc(e,L,e=>t(e))),rg=(0,g.XY)(3,(e,t,r)=>{let i=Array.isArray(t)?e=>(0,I.i5)(e,"_tag")&&t.includes(e._tag):(0,I.$J)(t);return rd(e,e=>i(e)?r(e):ez)}),ru=(0,g.XY)(2,(e,t)=>rc(e,Y,e=>t(e))),rh=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i)=>rt(e,e=>{let n=L(e);return y.N6(n)?eD(n.failure):t(n.success)?(0,N.s)(()=>r(n.success)):i?(0,N.s)(()=>i(n.success)):eD(e)})),rm=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i)=>rt(e,e=>{let n=L(e);if(y.N6(n))return eD(n.failure);let s=t(n.success);return y.N6(s)?i?(0,N.s)(()=>i(s.failure)):eD(e):(0,N.s)(()=>r(s.success))})),rp=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i)=>rh(e,Array.isArray(t)?e=>(0,I.i5)(e,"_tag")&&t.includes(e._tag):(0,I.$J)(t),r,i)),rC=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>{let i;return rm(e,e=>(i??=Object.keys(t),(0,I.i5)(e,"_tag")&&(0,I.Kg)(e._tag)&&i.includes(e._tag)?y.Py(e):y.fJ(e)),e=>(0,N.s)(()=>t[e._tag](e)),r)}),rf=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i,n)=>rh(e,e=>(0,I.$J)(e,t)&&(0,I.i5)(e,"reason"),e=>{let t=e.reason;return(0,I.$J)(t,r)?i(t,e):n?(0,N.s)(()=>n(t,e)):ex(e)})),rI=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r,i)=>{let n;return rh(e,e=>(0,I.$J)(e,t)&&(0,I.i5)(e,"reason")&&(0,I.i5)(e.reason,"_tag")&&(0,I.Kg)(e.reason._tag),e=>{let t=e.reason;return(n??=Object.keys(r)).includes(t._tag)?(0,N.s)(()=>r[t._tag](t,e)):i?(0,N.s)(()=>i(t,e)):ex(e)})}),rE=(0,g.XY)(2,(e,t)=>rm(e,e=>(0,I.$J)(e,t)&&(0,I.i5)(e,"reason")?y.Py(e.reason):y.fJ(e),ex)),ry=(0,g.XY)(2,(e,t)=>rs(e,e=>eG(()=>t(e)))),rB=(0,g.XY)(2,(e,t)=>rU(e,{onFailure:e=>eG(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rQ=e=>rs(e,eY),rN=(0,g.XY)(2,(e,t)=>rs(e,e=>eR(t))),rb=e=>eM(()=>{let t=e[Symbol.iterator](),r=t.next();return r.done?eY(Error("Received an empty collection of effects")):function e(r){let i=t.next();return i.done?r.value:rs(r.value,t=>e(i))}(r)}),rS=e=>rs(e,t=>tc(eT,()=>rS(e))),rw=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>{if(!t?.log)return rU(e,{onFailure:e=>ez,onSuccess:e=>ez});let r=sl(!0===t.log?void 0:t.log);return rM(e,{onFailure(e){let i=T(e);return y.N6(i)?eD(i.failure):void 0===t.message?r(e):r(t.message,e)},onSuccess:e=>ez})}),rD=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>{if(!t?.log)return rM(e,{onFailure:e=>ez,onSuccess:e=>ez});let r=sl(!0===t.log?void 0:t.log);return rM(e,{onFailure:e=>void 0===t.message?r(e):r(t.message,e),onSuccess:e=>ez})}),rx=e=>rF(e,{onFailure:p.none,onSuccess:p.some}),rR=e=>rT(e,{onFailure:y.fJ,onSuccess:y.Py}),rM=(0,g.XY)(2,(e,t)=>{let r=Object.create(rk);return r[b.a2]=e,r[b.ee]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[b.Sc]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),rk=(0,b.yj)({op:"OnSuccessAndFailure",[b._3](e){return e._stack.push(this),this[b.a2]}}),rv=(0,g.XY)(2,(e,t)=>rM(e,{onFailure:e=>eR(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rU=(0,g.XY)(2,(e,t)=>rM(e,{onFailure:e=>{let r=e.reasons.find(b.lC);return r?(0,N.s)(()=>t.onFailure(r.error)):eD(e)},onSuccess:t.onSuccess})),rF=(0,g.XY)(2,(e,t)=>rU(e,{onFailure:e=>eR(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rT=(0,g.XY)(2,(e,t)=>{if(tu(e)){if("Success"===e._tag)return(0,b.xt)(t.onSuccess(e.value));let r=L(e.cause);return y.N6(r)?e:(0,b.xt)(t.onFailure(r.success))}return rF(e,t)}),rL=(0,g.XY)(2,(e,t)=>tu(e)?"Success"===e._tag?(0,b.xt)(t.onSuccess(e.value)):(0,b.xt)(t.onFailure(e.cause)):rv(e,t)),rO=e=>tu(e)?(0,b.xt)(e):rP(e),rP=(0,b.Uf)({op:"Exit",[b._3](e){return e._stack.push(this),this[b.a2]},[b.ee]:(e,t,r)=>ew(r??(0,b.xt)(e)),[b.Sc]:(e,t,r)=>ew(r??(0,b.cb)(e))}),rH=rT({onFailure:()=>!0,onSuccess:()=>!1}),rY=rT({onFailure:()=>!1,onSuccess:()=>!0}),rG=(0,g.XY)(2,(e,t)=>tr(nq(t),e)),rz=(0,g.XY)(2,(e,t)=>tl(e,tc(nq(t.duration),t.orElse))),rq=(0,g.XY)(2,(e,t)=>rz(e,{duration:t,orElse:()=>ex(new nj)})),rV=(0,g.XY)(2,(e,t)=>tl(te(e),e7(nq(t),p.none()))),r_=e=>nz(t=>{let r=t.currentTimeNanosUnsafe();return tp(e,e=>[A.cF(t.currentTimeNanosUnsafe()-r),e])}),rJ="~effect/Scope",rW="~effect/Scope/Closeable",rj=a.kl("effect/Scope"),rX=(e,t)=>eM(()=>rK(e,t)??ez),rK=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):rZ(e,i,t)},rZ=e1(function*(e,t,r){let i=[],n=[],s=Array.from(t.values()),o=eu();for(let t=s.length-1;t>=0;t--){let a=s[t];"sequential"===e.strategy?i.push((yield*rO(a(r)))):n.push(i2(o,a(r),!0,!0,"inherit"))}return n.length>0&&(i=yield*eE(n)),yield*tY(i)}),r$=(e,t)=>eR(()=>r0(e,t)),r0=(e,t)=>{let r=r4(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return r5(e,i,e=>rX(r,e)),r5(r,i,t=>eR(()=>r3(e,i))),r},r1=(e,t)=>eM(()=>"Closed"===e.state._tag?t(e.state.exit):(r5(e,{},t),ez)),r2=(e,t)=>r1(e,(0,g.dY)(t)),r5=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},r3=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},r4=(e="sequential")=>({[rW]:rW,[rJ]:rJ,strategy:e,state:r8}),r8={_tag:"Empty"},r9=e=>eR(()=>r4(e)),r6=rj,r7=t0(rj),ie=e=>(0,b.R6)(t=>{let r=t.context,i=r4();return t.setContext(a.WQ(t.context,rj,i)),io(e,e=>(t.setContext(r),rK(i,e)))}),it=(0,g.XY)(2,(e,t)=>ia(r7(e,t),e=>eM(()=>rK(t,e)??ez))),ir=e=>eM(()=>{let t=r4();return ia(e(t),e=>eM(()=>rK(t,e)??ez))}),ii=(e,t,r)=>tK(i=>iD(n=>tc(r6,s=>ti(r?.interruptible?n(e):e,e=>r1(s,r=>t$(t(e,r),i)))))),is=e=>tc(r6,t=>tK(r=>r1(t,t=>t$(e(t),r)))),io=(0,b.Uf)({op:"OnExit",single:!1,[b._3](e){return e._stack.push(this),this[b.a2][0]},[b.u4](e){e.interruptible&&!0!==this[b.a2][2]&&(e._stack.push(iN),e.interruptible=!1)},[b.ee](e,t,r){r??=(0,b.xt)(e);let i=this[b.a2][1](r);return i?tc(i,e=>r):r},[b.Sc](e,t,r){r??=(0,b.cb)(e);let i=this[b.a2][1](r);return i?tc(i,e=>r):r}}),ia=(0,g.XY)(2,io),iA=(0,g.XY)(2,(e,t)=>ia(e,e=>t)),il=(0,g.XY)(3,(e,t,r)=>ia(e,e=>t(e)?r(e):ez)),ic=(0,g.XY)(3,(e,t,r)=>ia(e,e=>{let i=t(e);return y.N6(i)?ez:r(i.success,e)})),id=(0,g.XY)(2,(e,t)=>ic(e,tw,t)),ig=(0,g.XY)(3,(e,t,r)=>il(e,e=>"Failure"===e._tag&&t(e.cause),e=>r(e.cause))),iu=(0,g.XY)(3,(e,t,r)=>ia(e,e=>{if("Failure"!==e._tag)return ez;let i=t(e.cause);return y.N6(i)?ez:r(i.success,e.cause)})),ih=(0,g.XY)(2,(e,t)=>iu(q,t)(e)),im=(e,t,r)=>iD(i=>tc(e,e=>io(i(t(e)),t=>r(e,t),!0))),ip=e=>ii(e,e=>(0,I.i5)(e,Symbol.asyncDispose)?eV(()=>e[Symbol.asyncDispose]()):eR(()=>e[Symbol.dispose]())),iC=(0,g.XY)(2,(e,t)=>eR(()=>{let r,i=A.kE(A.bN(t)),n=Number.isFinite(i),s=nu(!1),o=0,a=!1,l=tc(s.await,()=>r);return[(0,b.R6)(t=>{let A=t.getRef(nO),c=n?A.currentTimeMillisUnsafe():0;return a||c<o?r??l:(a=!0,s.closeUnsafe(),r=void 0,ia(e,e=>eR(()=>{a=!1,o=A.currentTimeMillisUnsafe()+i,r=e,s.openUnsafe()})))}),eR(()=>{o=0,s.closeUnsafe(),r=void 0})]})),iI=(0,g.XY)(2,(e,t)=>tp(iC(e,t),e=>e[0])),iE=e=>iI(e,A.Tn),iy=(0,b.R6)(e=>eD(U(e.id))),iB=e=>(0,b.R6)(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(iN)),e)),iQ=(0,b.Uf)({op:"SetInterruptible",[b.u4](e){if(e.interruptible=this[b.a2],e._interruptedCause&&e.interruptible)return()=>eD(e._interruptedCause)}}),iN=iQ(!0),ib=iQ(!1),iS=e=>{if(e.interruptible=!0,e._stack.push(ib),e._interruptedCause)return eD(e._interruptedCause)},iw=e=>(0,b.R6)(t=>t.interruptible?e:iS(t)??e),iD=e=>(0,b.R6)(t=>t.interruptible?(t.interruptible=!1,t._stack.push(iN),e(iw)):e(g.D_)),ix=e=>(0,b.R6)(t=>{if(t.interruptible)return e(g.D_);let r=iS(t),i=e(iB);return r??i}),iR=tp(ii(eR(()=>new AbortController),e=>eR(()=>e.abort())),e=>e.signal),iM=(e,t)=>(0,I.xZ)(e)?t?.mode==="result"?iH(e,rR,t):iH(e,g.D_,t):t?.discard?"result"===t.mode?iH(Object.values(e),rR,t):iH(Object.values(e),g.D_,t):eM(()=>{let r={};return e7(iH(Object.entries(e),([e,i])=>tp(t?.mode==="result"?rR(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),ik=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t,r)=>tp(iH(e,(e,r)=>rR(t(e,r)),r),e=>o.jB(e,g.D_))),iv=(0,g.XY)(3,(e,t,r)=>{let i=o.Ts(e);return 0===i.length?eR(t):eM(()=>{let e=0,n=t();return tp(iP({while:()=>e<i.length,body:()=>r(n,i[e],e),step(t){n=t,e++}}),()=>n)})}),iU=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t,r)=>tc(ik(e,t,{concurrency:r?.concurrency}),([e,t])=>o.CZ(e)?ex(e):r?.discard?ez:ew(t))),iF=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t)=>eM(()=>{let r=e[Symbol.iterator](),i=r.next();return i.done?ew(p.none()):iT(r,0,t,i.value)})),iT=(e,t,r,i)=>tc(r(i,t),n=>{if(n)return ew(p.some(i));let s=e.next();return s.done?ew(p.none()):iT(e,t+1,r,s.value)}),iL=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t)=>eM(()=>{let r=e[Symbol.iterator](),i=r.next();return i.done?ew(p.none()):iO(r,0,t,i.value)})),iO=(e,t,r,i)=>tc(r(i,t),i=>{if(y.oJ(i))return ew(p.some(i.success));let n=e.next();return n.done?ew(p.none()):iO(e,t+1,r,n.value)}),iP=(0,b.Uf)({op:"While",[b.ee](e,t){return(this[b.a2].step(e),this[b.a2].while())?(t._stack.push(this),this[b.a2].body()):tv},[b._3](e){return this[b.a2].while()?(e._stack.push(this),this[b.a2].body()):tv}}),iH=(0,g.XY)(e=>"function"==typeof e[1],(e,t,r)=>(0,b.R6)(i=>{let n=r?.concurrency==="inherit"?i.getRef(w.F8):r?.concurrency??1,s="unbounded"===n?1/0:Math.max(1,n);if(1===s)return iY(e,t,r);let a=o.Ts(e),A=a.length;if(0===A)return r?.discard?ez:ew([]);let l=r?.discard?void 0:Array(A),c=iq({f:t,out:l},a,{concurrency:s});return c?e7(c,l):ew(l)})),iY=(e,t,r)=>eM(()=>{let i=r?.discard?void 0:[],n=e[Symbol.iterator](),s=n.next(),o=0;return e7(iP({while:()=>!s.done,body:()=>t(s.value,o++),step:e=>{i&&i.push(e),s=n.next()}}),i)}),iG=e=>{let t=e.onItem,r=e.step;return(e,i,n)=>{let s,o,a,A,l,c=n?.start??0,d=n?.end??i.length,g=n?.concurrency??1,u=n?.orderedStep===!0&&g>1,h=!1,m=!1,p=c,C=u?Array(d):void 0,f=e=>{let t=(0,b.V2)(e);return A=t,h=!0,m=!0,o&&o.size>0?tc(iB(eb(Array.from(o))),()=>t):t},I=(t,n,s)=>{if(!u)return r(e,t,n,s);if(A)return A;for(C[s]=n;p<d;){let t=C[p];if(void 0===t)return;C[p]=void 0;let n=p++,s=r(e,i[n],t,n);if(s)return s}},E=()=>{let r=!1;for(;!A&&c<d;c++){let n=i[c],d=l??t(e,n,c);if(tu(d)){if(A=I(n,d,c))break}else{if(1===g)return tc(rO(d),e=>(A=I(n,e,c),c++,A??E()??ez));if(!s)return eZ(e=>{let t;s=eu(),o=new Set,l=d,a=e;try{t=E()}catch(t){return e(f(t))}return t?e(t):eM(()=>(A=tv,m=!0,o?eb(o):ez))});l=void 0;let e=i2(s,d,!0,!0,"inherit");if(e._exit){if(A=I(n,e._exit,c))break;continue}o.add(e);let t=c;if(e.addObserver(i=>{o.delete(e);try{if(A){if(!m&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=(0,b.cb)((0,b.b5)([e]))}else{let e=I(n,i,t);e&&(A="Failure"===e._tag?(0,b.cb)((0,b.b5)(e.cause.reasons.slice())):e,E())}if(r){let e=E();e&&a(e)}else h&&0===o.size&&a(A??ez)}catch(e){a(f(e))}}),o.size<g)continue;r=!0,c++;return}}if(h=!0,A){if(o&&o.size>0){let e=eC(s);o.forEach(t=>t.interruptUnsafe(s.id,e));return}if(a||"Failure"===A._tag)return A}else if(a)if(!o)return tv;else 0===o.size&&a(ez)};return E()}},iz=()=>iG,iq=iG({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),iV=(0,g.XY)(3,(e,t,r)=>tc(e,e=>t(e)?ew(e):r(e))),i_=(0,g.XY)(3,(e,t,r)=>tc(e,e=>{let i=t(e);return y.N6(i)?r(i.failure):ew(i.success)})),iJ=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>i_(e,t,r?e=>ex(r(e)):()=>ex(new b.Xm))),iW=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t,r)=>eM(()=>{let i=[];return e7(iH(e,(e,r)=>{let n=t(e,r);return"boolean"==typeof n?(n&&i.push(e),ez):tp(n,t=>{t&&i.push(e)})},{discard:!0,concurrency:r?.concurrency}),i)})),ij=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t)=>eM(()=>{let r=[];for(let i of e){let e=t(i);y.oJ(e)&&r.push(e.success)}return ew(r)})),iX=(0,g.XY)(e=>(0,I.xZ)(e[0])&&!(0,b.yw)(e[0]),(e,t,r)=>eM(()=>{let i=[];return e7(iH(e,e=>tp(t(e),e=>{y.oJ(e)&&i.push(e.success)}),{discard:!0,concurrency:r?.concurrency}),i)})),iK=ew({}),iZ=S.Jr(tp),i$=S.oI(tp,tc),i0=S.zM(tp),i1=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>(0,b.R6)(r=>(ep.interruptChildren??=ef,ew(i2(r,e,t?.startImmediately,!1,t?.uninterruptible??!1))))),i2=(e,t,r=!1,i=!1,n=!1)=>{let s="inherit"===n?e.interruptible:!n,o=new eh(e.context,s);return r?o.evaluate(t):e.currentDispatcher.scheduleTask(()=>o.evaluate(t),0),i||o._exit||(e.children().add(o),o.addObserver(()=>e._children.delete(o))),o},i5=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>(0,b.R6)(r=>ew(i2(r,e,t?.startImmediately,!0,t?.uninterruptible)))),i3=e=>(0,b.R6)(t=>{let r=t._children&&new Set(t._children);return ia(e,e=>{let i=t._children;return void 0===i||0===i.size?ez:(r&&(i=m.pb(i,e=>!r.has(e))),tn(eE(i)))})}),i4=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r)=>(0,b.R6)(i=>{let n=i2(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!n._exit)if("Closed"!==t.state._tag){let e={};r5(t,e,()=>eJ(e=>e===n.id?ez:eQ(n))),n.addObserver(()=>r3(t,e))}else n.interruptUnsafe(i.id,eC(i));return ew(n)})),i8=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>tc(r6,r=>i4(e,r,t))),i9=e=>(t,r)=>{let i=new eh(r?.scheduler?a.WQ(e,B._F,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i},i6=(0,g.XY)(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return r5(t,r,()=>eQ(e)),e.addObserver(()=>r3(t,r)),e}),i7=i9(a.Ie()),ne=e=>{let t=i9(e);return(e,r)=>{let i=t(e,r);return r?.onExit&&i.addObserver(r.onExit),e=>i.interruptUnsafe(e)}},nt=ne(a.Ie()),nr=e=>{let t=i9(e);return(e,r)=>{let i=t(e,r);return new Promise(e=>{i.addObserver(t=>e(t))})}},ni=nr(a.Ie()),nn=e=>{let t=nr(e);return(e,r)=>t(e,r).then(e=>{if("Failure"===e._tag)throw Z(e.cause);return e.value})},ns=nn(a.Ie()),no=e=>{let t=i9(e);return e=>{if(tu(e))return e;let r=t(e,{scheduler:new B.FG("sync")});return r._dispatcher?.flush(),r._exit??(0,b.V2)(new n3(r))}},na=no(a.Ie()),nA=e=>{let t=no(e);return e=>{let r=t(e);if("Failure"===r._tag)throw Z(r.cause);return r.value}},nl=nA(a.Ie()),nc=ew(!0),nd=ew(!1);class ng{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),nc}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](tv)};open=(0,b.R6)(e=>this._isOpen?nd:(this._isOpen=!0,this.scheduleUnsafe(e)));release=(0,b.R6)(e=>this._isOpen?nd:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=eZ(e=>this._isOpen?e(ez):(this.waiters.push(e),eR(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=eR(()=>this.closeUnsafe());whenOpen=e=>tc(this.await,()=>e);isOpen(){return this._isOpen}}let nu=e=>new ng(e??!1),nh=e=>eR(()=>nu(e)),nm=(0,b.R6)(e=>ew(e.getRef(Q.sh))),np=(0,g.XY)(2,(e,t)=>t0(e,Q.sh,t)),nC=t0(w.rf),nf=t0(w.nU),nI=BigInt(0),nE={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:nI,endTime:nI,exit:tv},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},ny=e=>e?a.Jt(e.annotations,Q.DW)?"Span"===e._tag?ny(p.getOrUndefined(e.parent)):p.none():p.some(e):p.none(),nB=(e,t,r)=>{let i,n=!e.getRef(w.rf)||r?.annotations&&a.Jt(r.annotations,Q.DW),s=r?.parent!==void 0?p.some(r.parent):r?.root?p.none():ny(e.currentSpan);if(n){let e;e={name:t,parent:s,annotations:a.WQ(r?.annotations??a.Ie(),Q.DW,!0)},i=Object.assign(Object.create(nE),e)}else{let n=e.getRef(Q.sh),o=e.getRef(nO),A=e.getRef(w.nU),l=e.getRef(w.ce),c=e.getRef(w.ls),d=r?.level??e.getRef(Q.pX),g=r?.links!==void 0?[...c,...r.links]:c.slice();for(let[c,u]of(i=n.span({name:t,parent:s,annotations:r?.annotations??a.Ie(),links:g,startTime:A?o.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??p.isNone(s),sampled:r?.sampled??((!p.isSome(s)||!1!==s.value.sampled)&&!se(e.getRef(Q.EW),d))}),Object.entries(l)))i.attribute(c,u);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i},nQ=(e,t)=>(0,b.R6)(r=>ew(nB(r,e,t))),nN=(e,t)=>iB((0,b.R6)(r=>{let i=a.fp(r.context,rj),n=nB(r,e,t??{}),s=r.getRef(nO),o=r.getRef(w.nU);return e7(r1(i,e=>nx(n,e,s,o)),n)})),nb=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=x(e?arguments[2]:arguments[1]);if(e){let e=arguments[0];return tc(nN(t,r),t=>nk(e,t,r))}return e=>tc(nN(t,r),t=>nk(e,t,r))},nS=w.ce,nw=w.ls,nD=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t,r={})=>{let i=(Array.isArray(t)?t:[t]).map(e=>({span:e,attributes:r}));return tW(e,w.ls,e=>[...e,...i])}),nx=(e,t,r,i)=>eR(()=>{"Ended"!==e.status._tag&&e.end(i?r.currentTimeNanosUnsafe():nI,t)}),nR=(e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return(0,b.R6)(t=>{let n=nB(t,e,r),s=t.getRef(nO);return ia((0,N.s)(()=>i(n)),e=>eR(()=>{"Ended"!==n.status._tag&&n.end(s.currentTimeNanosUnsafe(),e)}))})},nM=t0(Q.Tv),nk=function(){let e=(0,b.yw)(arguments[0]),t=e?arguments[1]:arguments[0],r=e?arguments[2]:arguments[1],i=g.D_;if("Span"===t._tag){var n,s;r=x(r),n=t.name,s="function"==typeof(s=r?.captureStackTrace)?s:g.MN,i=tW(w.vA,e=>({name:n,stack:s,parent:e}))}return e?nM(i(arguments[0]),t):e=>nM(i(e),t)},nv=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=x(arguments[2]);if(e){let e=arguments[0];return nR(t,arguments[2],t=>nk(e,t,r))}let i="function"==typeof arguments[1]?arguments[1]:void 0,n=i?void 0:arguments[1];return(e,...s)=>nR(t,i?i(...s):n,t=>nk(e,t,r))},nU=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,...t)=>tW(e,w.ce,e=>{let r={...e};return 1===t.length?Object.assign(r,t[0]):r[t[0]]=t[1],r})),nF=(...e)=>(0,b.R6)(t=>{let r=t.currentSpanLocal;if(r)if(1===e.length)for(let[t,i]of Object.entries(e[0]))r.attribute(t,i);else r.attribute(e[0],e[1]);return ez}),nT=(0,b.R6)(e=>{let t=e.currentSpanLocal;return t?ew(t):ex(new b.Xm)}),nL=(i=Q.Tv,(0,b.R6)(e=>e.context.mapUnsafe.has(i.key)?ew(a.fp(e.context,i)):ex(new b.Xm))),nO=a.Or("effect/Clock",{defaultValue:()=>new nH}),nP=0x80000000-1;class nH{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=eR(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return nG()}currentTimeNanos=eR(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(A.kE(e))}sleepMillis(e){return e<=0?eT:Number.isFinite(e)?eZ(t=>{let r=e>nP?this.sleepMillis(e-nP):ez,i=setTimeout(()=>t(r),Math.min(e,nP));return eR(()=>clearTimeout(i))}):e$}}let nY=(s=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*s:()=>(n??=BigInt(Date.now())*s-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),nG=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return nY;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),nz=e=>(0,b.R6)(t=>e(t.getRef(nO))),nq=e=>nz(t=>t.sleep(A.bN(e))),nV=nz(e=>e.currentTimeMillis),n_=nz(e=>e.currentTimeNanos),nJ="~effect/Cause/TimeoutError",nW=e=>(0,I.i5)(e,nJ);class nj extends(0,b.rN)("TimeoutError"){[nJ]=nJ;constructor(e){super({message:e})}}let nX="~effect/Cause/IllegalArgumentError",nK=e=>(0,I.i5)(e,nX);class nZ extends(0,b.rN)("IllegalArgumentError"){[nX]=nX;constructor(e){super({message:e})}}let n$="~effect/Cause/ExceededCapacityError",n0=e=>(0,I.i5)(e,n$);class n1 extends(0,b.rN)("ExceededCapacityError"){[n$]=n$;constructor(e){super({message:e})}}let n2="~effect/Cause/AsyncFiberError",n5=e=>(0,I.i5)(e,n2);class n3 extends(0,b.rN)("AsyncFiberError"){[n2]=n2;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let n4="~effect/Cause/UnknownError",n8=e=>(0,I.i5)(e,n4);class n9 extends(0,b.rN)("UnknownError"){[n4]=n4;constructor(e,t){super({message:t,cause:e})}}let n6=a.Or("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),n7=C.zQ(C.wN,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}}),se=C.yJ(n7),st=a.Or("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([sf,sI])}),sr=a.Or("effect/Logger/LogToStderr",{defaultValue:g.f4}),si=function(){let e="string"==typeof arguments[0]?[[arguments[0],arguments[1]]]:Object.entries(arguments[0]);return iB((0,b.R6)(t=>{let r=t.getRef(w.iL),i={...r};for(let t=0;t<e.length;t++){let[r,n]=e[t];i[r]=n}return t.setContext(a.WQ(t.context,w.iL,i)),r1(a.fp(t.context,rj),i=>{let n=t.getRef(w.iL),s={...n};for(let t=0;t<e.length;t++){let[i,o]=e[t];n[i]===o&&(i in r?s[i]=r[i]:delete s[i])}return t.setContext(a.WQ(t.context,w.iL,s)),ez})}))},sn={"~effect/Logger":{_Message:g.D_,_Output:g.D_},pipe(){return(0,f.tT)(this,arguments)}},ss=e=>{let t=Object.create(sn);return t.log=e,t},so=e=>e.replace(/[\s="]/g,"_"),sa=(e,t)=>{let r=so(e[0]);return`${r}=${t-e[1]}ms`},sA=e=>{switch(typeof e){case"bigint":case"function":case"symbol":return String(e);default:return(0,h.aB)(e)}},sl=e=>(...t)=>{let r;for(let e=0,i=t.length;e<i;e++){let i=t[e];(0,b.Aj)(i)&&(r?t.splice(e,1):t=t.slice(0,e).concat(t.slice(e+1)),r=r?(0,b.b5)(r.reasons.concat(i.reasons)):i,e--)}return void 0===r&&(r=b.DH),(0,b.R6)(i=>{let n=e??i.currentLogLevel;if(se(i.minimumLogLevel,n))return ez;let s=i.getRef(nO),o=i.getRef(st);if(o.size>0){let e=new Date(s.currentTimeMillisUnsafe());for(let s of o)s.log({cause:r,fiber:i,date:e,logLevel:n,message:t})}return ez})},sc=(e,...t)=>{let r="";for(let e=0;e<t.length;e++)r+=`\x1b[${t[e]}m`;return r+e+"\x1b[0m"},sd=(e,...t)=>e,sg={None:[],All:[],Trace:["90"],Debug:["34"],Info:["32"],Warn:["33"],Error:["31"],Fatal:["101","30"]},su={None:"",All:"",Trace:"color:gray",Debug:"color:blue",Info:"color:green",Warn:"color:orange",Error:"color:red",Fatal:"background-color:red;color:white"},sh=e=>`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}.${e.getMilliseconds().toString().padStart(3,"0")}`,sm=e=>{let t="object"==typeof process&&null!==process&&"object"==typeof process.stdout&&null!==process.stdout,r=t&&!0===process.stdout.isTTY,i=t||"Deno"in globalThis,n=e?.mode??"auto",s="browser"===("auto"===n?i?"tty":"browser":n),o="boolean"==typeof e?.colors?e.colors:r||s,a=e?.formatDate??sh;return s?sC({colors:o,formatDate:a}):sp({colors:o,formatDate:a})},sp=e=>{let t="object"==typeof process&&"isBun"in process&&!0===process.isBun,r=e.colors?sc:sd;return ss(({cause:i,date:n,fiber:s,logLevel:o,message:a})=>{let A=s.getRef(n6),l=s.getRef(sr)?A.error:A.log,c=Array.isArray(a)?a.slice():[a],d=r(`[${e.formatDate(n)}]`,"37")+` ${r(o.toUpperCase(),...sg[o])}`+` (#${s.id})`,g=n.getTime();for(let e of s.getRef(w.d8))d+=" "+sa(e,g);d+=":";let u=0;if(c.length>0){let e=sA(c[0]);"string"==typeof e&&(d+=" "+r(e,"1","36"),u++)}if(l(d),t||A.group(),i.reasons.length>0&&l(ea(i)),u<c.length)for(;u<c.length;u++)l((0,E.E$)(c[u]));for(let[e,t]of Object.entries(s.getRef(w.iL)))l(r(`${e}:`,"1","37"),(0,E.E$)(t));t||A.groupEnd()})},sC=e=>{let t=e.colors?"%c":"";return ss(({cause:r,date:i,fiber:n,logLevel:s,message:o})=>{let a=n.getRef(n6),A=Array.isArray(o)?o.slice():[o],l=`${t}[${e.formatDate(i)}]`,c=[];e.colors&&c.push("color:gray"),l+=` ${t}${s.toUpperCase()}${t} (#${n.id})`,e.colors&&c.push(su[s],"");let d=i.getTime();for(let e of n.getRef(w.d8))l+=" "+sa(e,d);l+=":";let g=0;if(A.length>0){let r=sA(A[0]);"string"==typeof r&&(l+=` ${t}${r}`,e.colors&&c.push("color:deepskyblue"),g++)}if(a.groupCollapsed(l,...c),r.reasons.length>0&&a.error(ea(r)),g<A.length)for(;g<A.length;g++)a.log((0,E.E$)(A[g]));for(let[t,r]of Object.entries(n.getRef(w.iL))){let i=(0,E.E$)(r);e.colors?a.log(`%c${t}:`,"color:gray",i):a.log(`${t}:`,i)}a.groupEnd()})},sf=ss(({cause:e,date:t,fiber:r,logLevel:i,message:n})=>{let s=Array.isArray(n)?n.slice():[n];e.reasons.length>0&&s.push(ea(e));let o=t.getTime(),a=r.getRef(w.d8),A="";for(let e of a)A+=` ${sa(e,o)}`;let l=r.getRef(w.iL);Object.keys(l).length>0&&s.push(l);let c=r.getRef(n6);(r.getRef(sr)?c.error:c.log)(`[${sh(t)}] ${i.toUpperCase()} (#${r.id})${A}:`,...s)}),sI=ss(({cause:e,fiber:t,logLevel:r,message:i})=>{let n=t.getRef(nO),s=t.getRef(w.iL),o=t.currentSpan;if(void 0===o||"ExternalSpan"===o._tag)return;let a={};for(let[e,t]of Object.entries(s))a[e]=t;a["effect.fiberId"]=t.id,a["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(a["effect.cause"]=ea(e)),o.event((0,h.ZK)(Array.isArray(i)&&1===i.length?i[0]:i),n.currentTimeNanosUnsafe(),a)}),sE=ew(void 0),sy=(0,g.XY)(e=>(0,b.yw)(e[0]),(e,t)=>id(e,e=>(0,b.R6)(r=>(sB(r,e,t?.defectsOnly),ez)))),sB=(e,t,r)=>{let i=e.getRef(w.oQ);if(0===i.size||r&&!P(t))return;let n={cause:t,fiber:e,timestamp:e.getRef(nO).currentTimeNanosUnsafe()};i.forEach(e=>e.report(n))}},5678(e,t,r){let i=new WeakSet;r.d(t,{},{J:i,X:e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t}})},7317(e,t,r){var i=r(2730),n=r(7292),s=r(3536),o=r(8294),a=r(8527),A=r(1371),l=r(8579);let c="~effect/data/Option",d={[c]:{_A:e=>e},...l.fU,[Symbol.iterator](){return new A.B(this)}},g=Object.defineProperty(Object.assign(Object.create(d),{_tag:"Some",_op:"Some",[i.HR](e){return m(e)&&C(e)&&i.aI(this.value,e.value)},[s.HR](){return s.kg(s.tW(this._tag))(s.tW(this.value))},toString(){return`some(${(0,n.GP)(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:(0,o.aB)(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),u=s.tW("None"),h=Object.assign(Object.create(d),{_tag:"None",_op:"None",valueOrUndefined:void 0,[i.HR]:e=>m(e)&&p(e),[s.HR]:()=>u,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),m=e=>(0,a.i5)(e,c),p=e=>"None"===e._tag,C=e=>"Some"===e._tag,f=Object.create(h);r.d(t,{},{$I:p,Ru:C,dv:f,oL:m,zN:e=>{let t=Object.create(g);return t.value=e,t}})},9496(e,t,r){let i=new WeakMap,n=e=>{if(i.has(e))return i.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))};r.d(t,{},{Uq:n,m7:i,tC:e=>"string"==typeof e?e:n(e)})},3894(e,t,r){var i=r(5419),n=r(9920);let s=i.Or("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),o=i.Or("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),a=i.Or("effect/References/CurrentStackFrame",{defaultValue:n.MN}),A=i.Or("effect/References/TracerEnabled",{defaultValue:n.ue}),l=i.Or("effect/References/TracerTimingEnabled",{defaultValue:n.ue}),c=i.Or("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),d=i.Or("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),g=i.Or("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),u=i.Or("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),h=i.Or("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),m=i.Or("effect/References/UnhandledLogLevel",{defaultValue:()=>"Error"}),p=i.Or("effect/References/CurrentLogSpans",{defaultValue:()=>[]});r.d(t,{},{F8:s,Gl:u,aG:m,ce:c,d8:p,iL:g,ls:d,nU:l,oQ:o,rf:A,vA:a,zQ:h})},9145(e,t,r){var i=r(2730),n=r(7292),s=r(9920),o=r(3536),a=r(8294),A=r(8527),l=r(1371),c=r(8579),d=r(7317);let g="~effect/data/Result",u={[g]:{_A:e=>e,_E:e=>e},...c.fU,[Symbol.iterator](){return new l.B(this)}},h=Object.assign(Object.create(u),{_tag:"Success",_op:"Success",[i.HR](e){return p(e)&&f(e)&&i.aI(this.success,e.success)},[o.HR](){return o.kg(o.tW(this._tag))(o.tW(this.success))},toString(){return`success(${(0,n.GP)(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:(0,a.aB)(this.success)}}}),m=Object.assign(Object.create(u),{_tag:"Failure",_op:"Failure",[i.HR](e){return p(e)&&C(e)&&i.aI(this.failure,e.failure)},[o.HR](){return o.kg(o.tW(this._tag))(o.tW(this.failure))},toString(){return`failure(${(0,n.GP)(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:(0,a.aB)(this.failure)}}}),p=e=>(0,A.i5)(e,g),C=e=>"Failure"===e._tag,f=e=>"Success"===e._tag,I=e=>{let t=Object.create(m);return t.failure=e,t},E=e=>{let t=Object.create(h);return t.success=e,t},y=(0,s.XY)(2,(e,t)=>d.$I(e)?I(t()):E(e.value));r.d(t,{},{L8:e=>f(e)?d.dv:d.zN(e.failure),N6:C,Oz:e=>C(e)?d.dv:d.zN(e.success),Py:E,aI:p,fJ:I,oJ:f,sV:y})},5994(e,t,r){var i=r(9920);function n(e){return e.checks?e.checks[e.checks.length-1].annotations:e.annotations}function s(e){return t=>n(t)?.[e]}let o=s("identifier"),a=s("title"),A=s("description"),l=(0,i.Bj)(e=>{let t=o(e);return"string"==typeof t?t:e.getExpected(l)});r.d(t,{hd:()=>n,ip:()=>s},{DQ:a,KE:o,Pk:A,bo:l})},58(e,t,r){let i,n=Object.getOwnPropertyDescriptor,s=Object.prototype.hasOwnProperty,o=Object.isExtensible,a=void 0===(i=n(Error,"stackTraceLimit"))?o(Error):s.call(i,"writable")?!0===i.writable:void 0!==i.set;r.d(t,{},{ft:e=>{a&&(Error.stackTraceLimit=e)},jt:()=>Error.stackTraceLimit})},7507(e,t,r){var i=r(1160),n=r(6292),s=r(8294),o=r(2544),a=r(8527),A=r(7045),l=(r(2917),r(5609));r(5030);let c="~effect/http/Cookies",d="~effect/http/Cookies/Cookie",g=(e=>a.i5(e,d),"~effect/http/Cookies/CookieError");class u extends i.$D{}let h={[c]:c,...s.os,toJSON(){return{_id:"effect/Cookies",cookies:A.Tj(this.cookies,e=>e.toJSON())}},pipe(){return(0,o.tT)(this,arguments)}},m=e=>{var t;let r,i={};for(let t of e)i[t.name]=t;return t=i,(r=Object.create(h)).cookies=t,r},p=m([]),C=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,f={[d]:d,...s.os,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}};l.QfV,l.QfV;let I=e=>{try{return decodeURIComponent(e)}catch(t){return e}};r.d(t,{},{Ie:p,p0:e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!C.test(i))return;let s=t[0].slice(r+1),o=I(s);if(1===t.length)return Object.assign(Object.create(f),{name:i,value:o,valueEncoded:s});let a={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),s=-1===i?r:r.slice(0,i).trim(),o=-1===i?void 0:r.slice(i+1).trim();switch(s.toLowerCase()){case"domain":{if(void 0===o)break;let e=o.trim().replace(/^\./,"");e&&(a.domain=e);break}case"expires":{if(void 0===o)break;let e=new Date(o);isNaN(e.getTime())||(a.expires=e);break}case"max-age":{if(void 0===o)break;let e=parseInt(o,10);isNaN(e)||(a.maxAge=n.YA(e));break}case"path":if(void 0===o)break;"/"===o[0]&&(a.path=o);break;case"priority":if(void 0===o)break;switch(o.toLowerCase()){case"low":a.priority="low";break;case"medium":a.priority="medium";break;case"high":a.priority="high"}break;case"httponly":a.httpOnly=!0;break;case"secure":a.secure=!0;break;case"partitioned":a.partitioned=!0;break;case"samesite":if(void 0===o)break;switch(o.toLowerCase()){case"lax":a.sameSite="lax";break;case"strict":a.sameSite="strict";break;case"none":a.sameSite="none"}}}return Object.assign(Object.create(f),{name:i,value:o,valueEncoded:s,options:Object.keys(a).length>0?a:void 0})}(r.trim());e&&t.push(e)}return m(t)}})},9002(e,t,r){var i=r(5419),n=r(2730),s=r(3558),o=r(9920),a=r(3536),A=r(8294),l=(r(8527),r(7045)),c=r(8629),d=r(1036);r(5609),r(5030);let g=Symbol.for("~effect/http/Headers"),u=Object.defineProperties(Object.create(null),{[g]:{value:g},[c.uC]:{value(e){return B(this,i.Jt(e,Q))}},toJSON:{value(){return c.E$(this)}},[n.HR]:{value(e){return m(this,e)}},[a.HR]:{value(){return a.QK(this)}},toString:{value:A.os.toString},[A.FX]:{value:A.os[A.FX]}}),h=e=>Object.assign(Object.create(u),e),m=l.T9(s.YZ()),p=Object.create(u),C=e=>{if(void 0===e)return p;if(Symbol.iterator in e){let t=Object.create(u);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(u);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},f=(0,o.XY)(3,(e,t,r)=>{let i=h(e);return i[t.toLowerCase()]=r,i}),I=(0,o.XY)(2,(e,t)=>h({...e,...C(t)})),E=(0,o.XY)(2,(e,t)=>{let r=h(e);return Object.assign(r,t),r}),y=(0,o.XY)(2,(e,t)=>{let r=h(e);return delete r[t.toLowerCase()],r}),B=(0,o.XY)(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=d.L8(e[i]))}else for(let i in e)t.test(i)&&(r[i]=d.L8(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),Q=i.Or("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]});r.d(t,{},{Au:I,E$:B,Ie:p,Kh:e=>Object.setPrototypeOf(e,u),TF:y,h1:E,hZ:f,lX:C,yr:Q})},3818(e,t,r){r.d(t,{Qq:()=>B,$T:()=>R,L8:()=>S});var i=r(8149),n=r(5419),s=r(702),o=r(9920),a=r(8294),A=r(8444),l=r(6437),c=r(2544),d=r(2917),g=r(1260),u=r(4465),h=r(9002),m=r(855),p=r(9858),C=r(6338),f=r(2103),I=r(1160);class E extends I.rN("UrlError"){}let y="~effect/http/HttpClient",B=n.kl("effect/HttpClient"),Q=(0,o.XY)(2,(e,t)=>N(r=>t(e.postprocess(r)),e.preprocess));C.p$;let N=(e,t)=>{let r=Object.create(b);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},b={[y]:y,pipe(){return(0,c.tT)(this,arguments)},...a.os,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(p.L8(e)(t,r))}]))},S=e=>N(t=>s.qIB(t,t=>s.R6R(r=>{let n,o,a,A=k.get(t),c=A??new AbortController,g=(n=t.url,o=t.urlParams,a=l.getOrUndefined(t.hash),d.Sv({try:()=>{let e=new URL(n,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<o.params.length;t++){let[r,i]=o.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==a&&(e.hash=a),e},catch:e=>new E({cause:e})}));if(d.N6(g))return s.fJG(new m.Kg({reason:new m.bL({request:t,cause:g.failure})}));let C=g.success;if(r.getRef(u.DW)||r.getRef(w)(t)){let n=e(t,C,c.signal,r);return A?n:s.FcF(e=>s.khu(e(n),{onSuccess:e=>(M.register(e,c),s.PyW(new v(e,c))),onFailure:e=>(i.pr(e)&&c.abort(),s.ATB(e))}))}return s.gvr(r.getRef(x)(t),{kind:"client"},n=>{n.attribute("http.request.method",t.method),n.attribute("server.address",C.origin),""!==C.port&&n.attribute("server.port",+C.port),n.attribute("url.full",C.toString()),n.attribute("url.path",C.pathname),n.attribute("url.scheme",C.protocol.slice(0,-1));let o=C.search.slice(1);""!==o&&n.attribute("url.query",o);let a=r.getRef(h.yr),d=h.E$(t.headers,a);for(let e in d)n.attribute(`http.request.header.${e}`,String(d[e]));return t=r.getRef(D)?p.lL(t,h.Kh({b3:`${n.traceId}-${n.spanId}-${n.sampled?"1":"0"}${l.match(n.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${n.traceId}-${n.spanId}-${n.sampled?"01":"00"}`})):t,s.FcF(o=>o(e(t,C,c.signal,r)).pipe(s.hq(n,{captureStackTrace:!1}),s.khu({onSuccess:e=>{n.attribute("http.response.status_code",e.status);let t=h.E$(e.headers,a);for(let e in t)n.attribute(`http.response.header.${e}`,String(t[e]));return A?s.PyW(e):(M.register(e,c),s.PyW(new v(e,c)))},onFailure:e=>(!A&&i.pr(e)&&c.abort(),s.ATB(e))})))})})),s.PyW),w=n.Or("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>o.f4}),D=n.Or("effect/HttpClient/TracerPropagationEnabled",{defaultValue:o.ue}),x=n.Or("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),R=e=>A.QZ(B)(s.sxi(t=>s.TjK(e,e=>Q(e,s.r_d(e=>n.h1(t,e)))))),M=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),k=new WeakMap;class v{original;controller;constructor(e,t){this.original=e,this.controller=t}[C.ii]=C.ii;[f.ii]=f.ii;applyInterrupt(e){return s.DYE(()=>(M.unregister(this.original),s.nAr(e,()=>s.OH5(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){return g.DYE(()=>(M.unregister(this.original),g.yeE(this.original.stream,s.OH5(()=>{this.controller.abort()}))))}toJSON(){return this.original.toJSON()}[a.FX](){return this.original[a.FX]()}pipe(){return(0,c.tT)(this,arguments)}}},855(e,t,r){var i=r(1160);r(5609);let n="~effect/http/HttpClientError";class s extends i.rN("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[n]=n;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let o=e=>e.endsWith("Error")?e.slice(0,-5):e,a=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class A extends i.rN("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return a(o(this._tag),this.description,this.methodAndUrl)}}class l extends i.rN("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return a(o(this._tag),this.description,this.methodAndUrl)}}class c extends i.rN("StatusCodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return a(o(this._tag),this.description,e)}}class d extends i.rN("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return a(o(this._tag),this.description,e)}}class g extends i.rN("EmptyBodyError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return a(o(this._tag),this.description,e)}}r.d(t,{CY:()=>c,Kg:()=>s,Xc:()=>d,bL:()=>l,oL:()=>g,wX:()=>A})},9858(e,t,r){r.d(t,{hC:()=>w,hk:()=>U,L8:()=>y,bE:()=>B,lL:()=>S});var i=r(9920),n=r(8294),s=r(9496),o=r(6437),a=r(2544),A=r(8629),l=r(9002),c=r(7292);let d="~effect/http/HttpBody";class g{[d];constructor(){this[d]=d}[n.FX](){return this.toJSON()}toString(){return(0,c.GP)(this,{ignoreToString:!0})}}let u=new class extends g{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class h extends g{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let m=new TextEncoder;var p=r(2479);let C="~effect/http/HttpClientRequest",f={[C]:C,...n.os,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:(0,A.E$)(this.headers),body:this.body.toJSON()}},pipe(){return(0,a.tT)(this,arguments)}};function I(e,t,r,i,n,s){let o=Object.create(f);return o.method=e,o.url=t,o.urlParams=r,o.hash=i,o.headers=n,o.body=s,o}let E=I("GET","",p.Ie,o.none(),l.Ie,u),y=e=>(t,r)=>Q(E,{method:e,url:t,...r??void 0}),B=y("POST"),Q=(0,i.XY)(2,(e,t)=>{let r=e;return t.method&&(r=N(r,t.method)),t.url&&(r=R(r,t.url)),t.headers&&(r=S(r,t.headers)),t.urlParams&&(r=M(r,t.urlParams)),t.hash&&(r=k(r,t.hash)),t.body&&(r=v(r,t.body)),t.accept&&(r=D(r,t.accept)),t.acceptJson&&(r=x(r)),r}),N=(0,i.XY)(2,(e,t)=>I(t,e.url,e.urlParams,e.hash,e.headers,e.body)),b=(0,i.XY)(3,(e,t,r)=>I(e.method,e.url,e.urlParams,e.hash,l.hZ(e.headers,t,r),e.body)),S=(0,i.XY)(2,(e,t)=>I(e.method,e.url,e.urlParams,e.hash,l.Au(e.headers,t),e.body)),w=(0,i.XY)(2,(e,t)=>b(e,"Authorization",`Bearer ${(0,s.tC)(t)}`)),D=(0,i.XY)(2,(e,t)=>b(e,"Accept",t)),x=D("application/json"),R=(0,i.XY)(2,(e,t)=>{if("string"==typeof t)return I(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=p.lX(r.searchParams),n=o.fromNullishOr(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",I(e.method,r.toString(),i,n,e.headers,e.body)}),M=(0,i.XY)(2,(e,t)=>I(e.method,e.url,p.Au(e.urlParams,t),e.hash,e.headers,e.body)),k=(0,i.XY)(2,(e,t)=>I(e.method,e.url,e.urlParams,o.some(t),e.headers,e.body)),v=(0,i.XY)(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=l.TF(l.TF(r,"Content-Type"),"Content-length"):(t.contentType&&(r=l.hZ(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=l.hZ(r,"content-length",t.contentLength.toString()))),I(e.method,e.url,e.urlParams,e.hash,r,t)}),U=(0,i.XY)(2,(e,t)=>{var r,i;let n;return v(e,(r=JSON.stringify(t),i=(void 0)??"application/json",new h(n=m.encode(r),i??"text/plain"??"application/octet-stream",n.length)))})},6338(e,t,r){var i=r(702),n=r(8294),s=r(6437),o=r(2544),a=r(1260),A=r(7507),l=r(9002),c=r(855),d=r(2103),g=r(2479);let u="~effect/http/HttpClientResponse";class h extends n.Xs{[d.ii];[u];request;source;constructor(e,t){super(),this.request=e,this.source=t,this[d.ii]=d.ii,this[u]=u}toJSON(){return d.Nn(this,{_id:"HttpClientResponse",request:this.request.toJSON(),status:this.status})}get status(){return this.source.status}get headers(){return l.lX(this.source.headers)}cachedCookies;get cookies(){return this.cachedCookies?this.cachedCookies:this.cachedCookies=A.p0(this.source.headers.getSetCookie())}get remoteAddress(){return s.none()}get stream(){return this.source.body?a.fph({evaluate:()=>this.source.body,onError:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}):a.fJG(new c.Kg({reason:new c.oL({request:this.request,response:this,description:"can not create stream from empty body"})}))}get json(){return i.qIB(this.text,e=>i.SvU({try:()=>""===e?null:JSON.parse(e),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=i.$mh({try:()=>this.source.text(),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF),this.arrayBufferBody=i.TjK(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return i.qIB(this.text,e=>i.SvU({try:()=>g.lX(new URLSearchParams(e)),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=i.$mh({try:()=>this.source.formData(),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=i.$mh({try:()=>this.source.arrayBuffer(),catch:e=>new c.Kg({reason:new c.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF),this.textBody=i.TjK(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}pipe(){return(0,o.tT)(this,arguments)}}r.d(t,{},{ii:u,p$:e=>e.status>=200&&e.status<300?i.PyW(e):i.fJG(new c.Kg({reason:new c.CY({response:e,request:e.request,description:"non 2xx status code"})})),tO:(e,t)=>new h(e,t)})},2103(e,t,r){var i=r(5419),n=r(702),s=r(8629),o=r(5609);let a=i.Or("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0});r.d(t,{},{Nn:(e,t)=>{let r,i=e.headers["content-type"]??"";if(i.includes("application/json"))try{r=n.HZF(e.json)}catch(e){}else if(i.includes("text/")||i.includes("urlencoded"))try{r=n.HZF(e.text)}catch(e){}let o={...t,headers:(0,s.E$)(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(o.body=r),o},_u:(e,t)=>{let r=o.GLx(o.wFO(e));return e=>n.qIB(e.json,e=>r(e,t))},ii:"~effect/http/HttpIncomingMessage",sz:a})},2479(e,t,r){r.d(t,{Ie:()=>E,lX:()=>p,Au:()=>y});var i=r(3207),n=r(2730),s=r(3558),o=r(9920),a=r(3536),A=r(8579),l=r(8527),c=r(5609),d=(r(5030),r(606));let g=s.rd;d.rd;let u="~effect/http/UrlParams",h={...A.fU,[u]:u,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[n.HR](e){return f(this,e)},[a.HR](){return a.YO(this.params.flat())}},m=e=>{let t=Object.create(h);return t.params=e,t},p=e=>{let t;if(t=e,(0,l.i5)(t,u))return e;let r=C(e),i=[];for(let e=0;e<r.length;e++)if(Array.isArray(r[e][0])){let[t,n]=r[e];i.push([`${t[0]}[${t.slice(1).join("][")}]`,n])}else i.push(r[e]);return m(i)},C=e=>{let t="function"==typeof e[Symbol.iterator]?i.Ts(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,n]of C(i))r.push([[e,..."string"==typeof t?[t]:t],n]);else void 0!==i&&r.push([e,String(i)]);return r},f=s.L8((e,t)=>I(e.params,t.params)),I=i.T9(g([s.YZ(),s.YZ()])),E=m([]),y=(0,o.XY)(2,(e,t)=>{let r=p(t),i=r.params,n=new Set;for(let e=0;e<i.length;e++)n.add(i[e][0]);for(let t=0;t<e.params.length;t++)n.has(e.params[t][0])||i.push(e.params[t]);return r});c.QfV,c.QfV,c.QfV}},g={};function u(e){var t=g[e];if(void 0!==t)return t.exports;var r=g[e]={exports:{}};return d[e].call(r.exports,r,r.exports,u),r.exports}u.c=g,r=(t="function"==typeof Symbol)?Symbol("rspack queues"):"__rspack_queues",i=u.aE=t?Symbol("rspack exports"):"__webpack_exports__",n=t?Symbol("rspack error"):"__rspack_error",s=t?Symbol("rspack done"):"__rspack_done",o=u.zS=t?Symbol("rspack defer"):"__rspack_defer",u.zT=e=>{if(e.some(e=>{var t=g[e];return!t||!1===t[s]}))return{then:(t,r)=>Promise.all(e.map(u)).then(t,r)}},a=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},u.a=(e,t,A)=>{A&&((l=[]).d=-1);var l,c,d,g,h=new Set,m=e.exports,p=new Promise((e,t)=>{g=t,d=e});p[i]=m,p[r]=e=>{l&&e(l),h.forEach(e),p.catch(()=>{})},e.exports=p,t(e=>{c=e.map(e=>{if(null!==e&&"object"==typeof e){if(!e[r]&&e[o]){var t=u.zT(e[o]);if(!t)return e;var s=e;e={then(e,r){t.then(()=>e(s),r)}}}if(e[r])return e;if(e.then){var A=[];A.d=0,e.then(e=>{l[i]=e,a(A)},e=>{l[n]=e,a(A)});var l={};return l[o]=!1,l[r]=e=>e(A),l}}var c={};return c[r]=()=>{},c[i]=e,c});var t,s=()=>c.map(e=>{if(e[o])return e;if(e[n])throw e[n];return e[i]}),A=new Promise(e=>{(t=()=>e(s)).r=0;var i=e=>e!==l&&!h.has(e)&&(h.add(e),e&&!e.d&&(t.r++,e.push(t)));c.map(e=>e[o]||e[r](i))});return t.r?A:s()},e=>(e?g(p[n]=e):d(m),a(l),p[s]=!0)),l&&l.d<0&&(l.d=0)},u.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return u.d(t,{a:t}),t},u.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)u.o(t,i)&&!u.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},u.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),u.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},u.nmd=e=>(e.paths=[],e.children||(e.children=[]),e);var h=u(6850),m=(h=await h).$7,p=h.hA,C=h.bE;export{m as PostLive,p as makePost,C as post}; \ No newline at end of file +${ec(e.cause,`${t} `)} +${t}}`),i},ed="~effect/Fiber/dev",em={_A:u.D_,_E:u.D_},eu={id:0},ep=()=>globalThis[x.fL];class eh{constructor(e,t=!0){this[ed]=em,this.setContext(e),this.id=++eu.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[ed];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){return o.kA(this.context,e)}addObserver(e){return this._exit?(e(this._exit),u.Yi):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=M(e);this.currentStackFrame&&(r=(0,w.Eh)(r,o.L8(w.z8,this.currentStackFrame))),t&&(r=(0,w.Eh)(r,t)),this._interruptedCause=this._interruptedCause?X(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(eB(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===w.GN)return;let r=ef.interruptChildren&&ef.interruptChildren(this);if(void 0!==r)return this.evaluate(td(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=o.Ie()}runLoop(e){let t=globalThis[x.fL];globalThis[x.fL]=this;let r=this._running;this._running=!0;let i=!1,n=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,n=eB(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=n;n=td(ez,()=>e)}if((n=this.currentTracerContext?this.currentTracerContext(n,this):n[w._3](this))===w.GN){let e=this._yielded;if(w.IH in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return w.GN}}}catch(e){if(!(0,b.i5)(n,w._3))return(0,w.V2)(`Fiber.runLoop: Not a valid effect: ${String(n)}`);return this.runLoop((0,w.V2)(e))}finally{this._running=r,globalThis[x.fL]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,eg;for(;;){let t=this._stack.pop();if(!t)return;let r=t[w.u4]&&t[w.u4](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,w.GN}children(){return this._children??=new Set}pipe(){return(0,A.tT)(this,arguments)}setContext(e){this.context=e;let t=this.getRef(C._F);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(S.WG),this.currentLogLevel=this.getRef(v.Gl),this.minimumLogLevel=this.getRef(v.zQ),this.currentStackFrame=e.mapUnsafe.get(v.vA.key),this.maxOpsBeforeYield=this.getRef(C.Zm),this.currentPreventYield=this.getRef(C.hf),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(S.RL);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let eg={[w.ee]:(e,t)=>eB(t._interruptedCause),[w.Sc]:(e,t)=>eB(t._interruptedCause)},ef={interruptChildren:void 0},ey=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(w.QJ.key,e.currentStackFrame),o.LZ(t)},eA=e=>{if(void 0!==e._children&&0!==e._children.size)return ew(e._children)},eb=e=>e._exit?ev(e._exit):eW(t=>e._exit?t(ev(e._exit)):eR(e.addObserver(e=>t(ev(e))))),ex=e=>eW(t=>{let r,i=e[Symbol.iterator](),n=[];return!function e(){let a=i.next();for(;!a.done;){if(a.value._exit){n.push(a.value._exit),a=i.next();continue}r=a.value.addObserver(t=>{n.push(t),e()});return}t(ev(n))}(),eR(()=>r?.())}),eN=e=>e._exit?e._exit:eW(t=>e._exit?t(e._exit):eR(e.addObserver(t))),eC=e=>eW(t=>{let r=Array.from(e);if(0===r.length)return t(ev(s.Ie()));let i=Array(r.length),n=s.Ie(),a=0,o=!1;for(let e=0;e<r.length&&!o;e++)n.push(r[e].addObserver(s=>{if(a++,"Failure"===s._tag)return o=!0,n.forEach(e=>e()),t(s);i[e]=s.value,a===r.length&&t(ev(i))}));return eR(()=>{o=!0,n.forEach(e=>e())})}),eS=e=>(0,w.R6)(t=>eI(e,t.id)),eI=(0,u.XY)(e=>(0,b.i5)(e[0],ed),(e,t,r)=>(0,w.R6)(i=>{let n=ey(i);return n=n&&r?o.h1(n,r):n??r,e.interruptUnsafe(t,n),tn(eb(e))})),ew=e=>(0,w.R6)(t=>{let r=ey(t),i=s.Ie();for(let n of e)n.interruptUnsafe(t.id,r),i.push(n);return tn(ex(i))}),eE=(0,u.XY)(2,(e,t)=>(0,w.R6)(r=>{let i=ey(r),n=s.Ie();for(let r of e)r.interruptUnsafe(t,i),n.push(r);return tn(ex(n))})),ev=w.xt,eB=w.cb,eP=w.Rk,eR=(0,w.Uf)({op:"Sync",[w._3](e){let t=this[w.a2](),r=e.getCont(w.ee);return r?r[w.ee](t,e):e.yieldWith((0,w.xt)(t))}}),eO=(0,w.Uf)({op:"Suspend",[w._3](e){return this[w.a2]()}}),ek=(0,u.XY)(e=>e.length>=2||f.isOption(e[0]),(e,t)=>f.isNone(e)?eP(t?t():new w.Xm("Effect.fromOption: Option.none")):ev(e.value)),eT=N.YW({onFailure:eP,onSuccess:ev}),eM=e=>null==e?eP(new w.Xm):ev(e),eD=(0,w.Uf)({op:"Yield",[w._3](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(tT)},this[w.a2]??0),e.yieldWith(()=>{t=!0})}}),ez=eD(0),eQ=e=>ev(f.some(e)),e_=ev(f.none()),eU=e=>f.isNone(e)?e_:tf(e.value,f.some),eH=e=>eO(()=>eB((0,I.s)(e))),eL=e=>(0,w.V2)(e),eF=e=>eO(()=>eP((0,I.s)(e))),eq=ev(void 0),ej=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new n8(e,"An error occurred in Effect.try"):e.catch;return eO(()=>{try{return ev((0,I.s)(t))}catch(e){return eP((0,I.s)(()=>r(e)))}})},eG=e=>eX(function(t,r){(0,I.s)(()=>e(r)).then(e=>t(ev(e)),e=>t(eL(e)))},0!==e.length),eY=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new n8(e,"An error occurred in Effect.tryPromise"):e.catch;return eX(function(e,i){let n=t=>{try{e(eP((0,I.s)(()=>r(t))))}catch(t){e(eL(t))}};try{(0,I.s)(()=>t(i)).then(t=>e(ev(t)),n)}catch(e){n(e)}},0!==t.length)},e$=e=>(0,w.R6)(t=>e(t.id)),eJ=(0,w.R6)(ev),eK=e$(ev),eX=(0,w.Uf)({op:"Async",single:!1,[w._3](e){let t=(0,I.s)(()=>this[w.a2][0].bind(e.currentScheduler)),r=!1,i=!1,n=this[w.a2][1]?new AbortController:void 0,a=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},n?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===n&&void 0===a||e._stack.push(eV(()=>(r=!0,n?.abort(),a??tT))),w.GN)}}),eV=(0,w.Uf)({op:"AsyncFinalizer",[w.u4](e){e.interruptible&&(e.interruptible=!1,e._stack.push(iI))},[w.Sc](e,t){return F(e)?td(this[w.a2](),()=>eB(e)):eB(e)}}),eW=e=>eX(e,e.length>=2),eZ=eW(u.Yi),e0=(...e)=>eO(()=>e9(1===e.length?e[0]():e[1].call(e[0].self))),e1=(e,...t)=>{let r=0===t.length?function(){return eO(()=>e9(e.apply(this,arguments)))}:function(){let r=eO(()=>e9(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return e2(e.length,r)},e2=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),e3=R(2),e6=function(){let e="string"==typeof arguments[0],t=e?arguments[0]:"Effect.fn",r=e?arguments[1]:void 0,i=(0,B.jt)();(0,B.ft)(2);let n=new globalThis.Error;return((0,B.ft)(i),e)?(i,...a)=>e5(t,i,n,a,e,r):e5(t,arguments[0],n,Array.prototype.slice.call(arguments,1),e,r)},e5=(e,t,r,i,n,a)=>{let s="function"==typeof t?t:i.pop().bind(t.self);return e2(s.length,function(...t){let o=eO(()=>{let e=s.apply(this,arguments);return(0,w.yw)(e)?e:e9(e)});for(let e=0;e<i.length;e++)o=i[e](o,...t);if(!(0,w.yw)(o))return o;let l=(0,B.jt)();(0,B.ft)(2);let c=new globalThis.Error;return(0,B.ft)(l),tJ(n?nR(e,a,e=>nO(o,e)):o,v.vA,t=>({name:e,stack:e3(()=>c.stack),parent:{name:`${e} (definition)`,stack:e3(()=>r.stack),parent:t}}))})},e4=(e,...t)=>e2(e.length,0===t.length?function(){return e8(()=>e.apply(this,arguments))}:function(){let r=e8(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),e8=e=>{try{let t,r=e();for(;;){let i=r.next(t);if(i.done)return ev(i.value);let n=i.value;if(n&&"Success"===n._tag){t=n.value;continue}{if(n&&"Failure"===n._tag)return i.value;let t=!0;return eO(()=>t?(t=!1,td(i.value,e=>e9(r,e))):eO(()=>e9(e())))}}}catch(e){return eL(e)}},e9=(0,w.Uf)({op:"Iterator",single:!1,[w.ee](e,t){let r=this[w.a2][0];for(;;){let i=r.next(e);if(i.done)return ev(i.value);if(!tp(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[w._3](e){return this[w.ee](this[w.a2][1],e)}}),e7=(0,u.XY)(2,(e,t)=>{let r=ev(t);return td(e,e=>r)}),te=e=>tf(e,f.some),tt=e=>rM(e,{onFailure:ev,onSuccess:eP}),tr=(0,u.XY)(2,(e,t)=>td(e,e=>(0,w.yw)(t)?t:(0,I.s)(()=>t(e)))),ti=(0,u.XY)(2,(e,t)=>td(e,e=>e7((0,w.yw)(t)?t:(0,I.s)(()=>t(e)),e))),tn=e=>td(e,e=>tT),ta=e=>rt(e,eP),ts=(e,t)=>(0,w.R6)(r=>eW(i=>{let n=s.Ts(e),a=n.length,o=0,l=!1,c=new Set,d=[],m=(e,n,s)=>{if(o++,"Failure"===e._tag){d.push(...e.cause.reasons),o>=a&&i(eB((0,w.b5)(d)));return}let m=!l;l=!0,i(0===c.size?e:td(iC(ew(c)),()=>e)),m&&t?.onWinner&&t.onWinner({fiber:n,index:s,parentFiber:r})};for(let e=0;e<a;e++){let t=i2(r,n[e],!0,!0,!1);if(c.add(t),t.addObserver(r=>{c.delete(t),m(r,t,e)}),l)break}return ew(c)})),to=(e,t)=>(0,w.R6)(r=>eW(i=>{let n=!1,a=new Set,s=e=>{n=!0,i(0===a.size?e:td(iC(ew(a)),()=>e))},o=0;for(let i of e){if(n)break;let e=o++,l=i2(r,i,!0,!0,!1);a.add(l),l.addObserver(i=>{a.delete(l);let o=!n;s(i),o&&t?.onWinner&&t.onWinner({fiber:l,index:e,parentFiber:r})})}return ew(a)})),tl=(0,u.XY)(e=>(0,w.yw)(e[1]),(e,t,r)=>ts([e,t],r)),tc=(0,u.XY)(e=>(0,w.yw)(e[1]),(e,t,r)=>to([e,t],r)),td=(0,u.XY)(2,(e,t)=>{let r=Object.create(tm);return r[w.a2]=e,r[w.ee]=1!==t.length?e=>t(e):t,r}),tm=(0,w.yj)({op:"OnSuccess",[w._3](e){return e._stack.push(this),this[w.a2]}}),tu=(0,u.XY)(2,(e,t)=>tp(e)?"Success"===e._tag?t.onSuccess(e.value):t.onFailure(e.cause):rO(e,t)),tp=e=>w.IH in e,th=(0,u.XY)(2,(e,t)=>tp(e)?"Success"===e._tag?t(e.value):e:td(e,t)),tg=e=>td(e,u.D_),tf=(0,u.XY)(2,(e,t)=>td(e,e=>ev((0,I.s)(()=>t(e))))),ty=(0,u.XY)(2,(e,t)=>tp(e)?tM(e,t):tf(e,t)),tA=(0,u.XY)(2,(e,t)=>tp(e)?tD(e,t):rN(e,t)),tb=(0,u.XY)(2,(e,t)=>tp(e)?tz(e,t):rC(e,t)),tx=(0,u.XY)(2,(e,t)=>{if(tp(e)){if("Success"===e._tag)return e;let r=Q(e.cause);return N.N6(r)?e:t(r.success)}return ra(e,t)}),tN=e=>(0,w.cb)(M(e)),tC=e=>"Success"===e._tag,tS=e=>"Success"===e._tag?N.Py(e):N.fJ(e),tI=e=>"Success"===e._tag?N.Py(e.value):N.fJ(e),tw=e=>"Failure"===e._tag,tE=e=>"Failure"===e._tag?N.Py(e):N.fJ(e),tv=e=>"Failure"===e._tag?N.Py(e.cause):N.fJ(e),tB=d.Bh(tv,Q),tP=d.Bh(tv,L),tR=e=>"Failure"===e._tag&&F(e.cause),tO=e=>"Failure"===e._tag&&U(e.cause),tk=e=>"Failure"===e._tag&&D(e.cause),tT=(0,w.xt)(void 0),tM=(0,u.XY)(2,(e,t)=>"Success"===e._tag?(0,w.xt)(t(e.value)):e),tD=(0,u.XY)(2,(e,t)=>{if("Success"===e._tag)return e;let r=Q(e.cause);return N.N6(r)?e:(0,w.Rk)(t(r.success))}),tz=(0,u.XY)(2,(e,t)=>{if("Success"===e._tag)return(0,w.xt)(t.onSuccess(e.value));let r=Q(e.cause);return N.N6(r)?e:(0,w.Rk)(t.onFailure(r.success))}),tQ=(0,u.XY)(2,(e,t)=>tC(e)?(0,w.xt)(t):e),t_=(0,u.XY)(2,(e,t)=>tC(e)?t:e),tU=(0,u.XY)(2,(e,t)=>tC(e)?t.onSuccess(e.value):t.onFailure(e.cause)),tH=tQ(void 0),tL=e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?tT:(0,w.cb)((0,w.b5)(t))},tF=e=>tC(e)?f.some(e.value):f.none(),tq=e=>tw(e)?f.some(e.cause):f.none(),tj=e=>{let t=tB(e);return N.N6(t)?f.none():f.some(t.success)},tG=e=>e,tY=e=>(0,w.R6)(t=>ev(o.om(t.context,e))),t$=(0,u.XY)(2,(e,t)=>(0,w.R6)(r=>{let i=r.context,n=t(i);return i===n?e:(r.setContext(n),is(e,()=>{r.setContext(i)}))})),tJ=(0,u.XY)(3,(e,t,r)=>t$(e,e=>{let i=o.fp(e,t),n=r(i);return i===n?e:o.WQ(e,t,n)})),tK=()=>tX,tX=(0,w.R6)(e=>ev(e.context)),tV=e=>(0,w.R6)(t=>e(t.context)),tW=(0,u.XY)(2,(e,t)=>t$(e,(0,u.dY)(t))),tZ=(0,u.XY)(2,(e,t)=>tp(e)?e:t$(e,o.h1(t))),t0=function(){return 1==arguments.length?(0,u.XY)(2,(e,t)=>t1(e,arguments[0],t)):(0,u.XY)(3,(e,t,r)=>t1(e,t,r)).apply(this,arguments)},t1=(e,t,r)=>t$(e,e=>e.mapUnsafe.get(t.key)===r?e:o.WQ(e,t,r)),t2=(0,u.XY)(3,(e,t,r)=>td(r,r=>t0(e,t,r))),t3=t0(v.F8),t6=(0,u.XY)(e=>(0,w.yw)(e[1]),(e,t,r)=>t5(e,t,(e,t)=>[e,t],r)),t5=(0,u.XY)(e=>(0,w.yw)(e[1]),(e,t,r,i)=>i?.concurrent?tf(iO([e,t],{concurrency:2}),([e,t])=>(0,I.s)(()=>r(e,t))):td(e,e=>tf(t,t=>(0,I.s)(()=>r(e,t))))),t4=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>iG(e,t,r?e=>eP(r(e)):()=>eP(new w.Xm))),t8=(0,u.XY)(2,(e,t)=>td(t,t=>t?te(e):e_)),t9=(0,u.XY)(2,(e,t)=>Array.from({length:t},()=>e)),t7=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>iO(t9(e,t),r)),re=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>iU({while:u.ue,body:(0,u.dY)(t?.disableYield?e:td(e,e=>ez)),step:u.Yi})),rt=(0,u.XY)(2,(e,t)=>{let r=Object.create(rr);return r[w.a2]=e,r[w.Sc]=1!==t.length?e=>t(e):t,r}),rr=(0,w.yj)({op:"OnFailure",[w._3](e){return e._stack.push(this),this[w.a2]}}),ri=(0,u.XY)(3,(e,t,r)=>rt(e,e=>t(e)?(0,I.s)(()=>r(e)):eB(e))),rn=(0,u.XY)(3,(e,t,r)=>rt(e,e=>{let i=t(e);return N.N6(i)?eB(i.failure):(0,I.s)(()=>r(i.success,e))})),ra=(0,u.XY)(2,(e,t)=>rn(e,Q,e=>t(e))),rs=e=>rM(e,{onFailure:e=>(0,w.PW)(e)?e_:eP(e),onSuccess:eQ}),ro=(0,u.XY)(2,(e,t)=>rn(e,L,t)),rl=(0,u.XY)(2,(e,t)=>rt(e,e=>tr((0,I.s)(()=>t(e)),eB(e)))),rc=(0,u.XY)(3,(e,t,r)=>ri(e,t,e=>tr((0,I.s)(()=>r(e)),eB(e)))),rd=(0,u.XY)(3,(e,t,r)=>rt(e,e=>{let i=t(e);return N.N6(i)?eB(e):tr((0,I.s)(()=>r(i.success,e)),eB(e))})),rm=(0,u.XY)(2,(e,t)=>rd(e,Q,e=>t(e))),ru=(0,u.XY)(3,(e,t,r)=>{let i=Array.isArray(t)?e=>(0,b.i5)(e,"_tag")&&t.includes(e._tag):(0,b.$J)(t);return rm(e,e=>i(e)?r(e):eq)}),rp=(0,u.XY)(2,(e,t)=>rd(e,L,e=>t(e))),rh=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i)=>rt(e,e=>{let n=Q(e);return N.N6(n)?eB(n.failure):t(n.success)?(0,I.s)(()=>r(n.success)):i?(0,I.s)(()=>i(n.success)):eB(e)})),rg=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i)=>rt(e,e=>{let n=Q(e);if(N.N6(n))return eB(n.failure);let a=t(n.success);return N.N6(a)?i?(0,I.s)(()=>i(a.failure)):eB(e):(0,I.s)(()=>r(a.success))})),rf=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i)=>rh(e,Array.isArray(t)?e=>(0,b.i5)(e,"_tag")&&t.includes(e._tag):(0,b.$J)(t),r,i)),ry=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>{let i;return rg(e,e=>(i??=Object.keys(t),(0,b.i5)(e,"_tag")&&(0,b.Kg)(e._tag)&&i.includes(e._tag)?N.Py(e):N.fJ(e)),e=>(0,I.s)(()=>t[e._tag](e)),r)}),rA=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i,n)=>rh(e,e=>(0,b.$J)(e,t)&&(0,b.i5)(e,"reason"),e=>{let t=e.reason;return(0,b.$J)(t,r)?i(t,e):n?(0,I.s)(()=>n(t,e)):eP(e)})),rb=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r,i)=>{let n;return rh(e,e=>(0,b.$J)(e,t)&&(0,b.i5)(e,"reason")&&(0,b.i5)(e.reason,"_tag")&&(0,b.Kg)(e.reason._tag),e=>{let t=e.reason;return(n??=Object.keys(r)).includes(t._tag)?(0,I.s)(()=>r[t._tag](t,e)):i?(0,I.s)(()=>i(t,e)):eP(e)})}),rx=(0,u.XY)(2,(e,t)=>rg(e,e=>(0,b.$J)(e,t)&&(0,b.i5)(e,"reason")?N.Py(e.reason):N.fJ(e),eP)),rN=(0,u.XY)(2,(e,t)=>ra(e,e=>eF(()=>t(e)))),rC=(0,u.XY)(2,(e,t)=>rM(e,{onFailure:e=>eF(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rS=e=>ra(e,eL),rI=(0,u.XY)(2,(e,t)=>ra(e,e=>eR(t))),rw=e=>eO(()=>{let t=e[Symbol.iterator](),r=t.next();return r.done?eL(Error("Received an empty collection of effects")):function e(r){let i=t.next();return i.done?r.value:ra(r.value,t=>e(i))}(r)}),rE=e=>ra(e,t=>td(ez,()=>rE(e))),rv=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>{if(!t?.log)return rM(e,{onFailure:e=>eq,onSuccess:e=>eq});let r=ac(!0===t.log?void 0:t.log);return rO(e,{onFailure(e){let i=z(e);return N.N6(i)?eB(i.failure):void 0===t.message?r(e):r(t.message,e)},onSuccess:e=>eq})}),rB=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>{if(!t?.log)return rO(e,{onFailure:e=>eq,onSuccess:e=>eq});let r=ac(!0===t.log?void 0:t.log);return rO(e,{onFailure:e=>void 0===t.message?r(e):r(t.message,e),onSuccess:e=>eq})}),rP=e=>rD(e,{onFailure:f.none,onSuccess:f.some}),rR=e=>rz(e,{onFailure:N.fJ,onSuccess:N.Py}),rO=(0,u.XY)(2,(e,t)=>{let r=Object.create(rk);return r[w.a2]=e,r[w.ee]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[w.Sc]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),rk=(0,w.yj)({op:"OnSuccessAndFailure",[w._3](e){return e._stack.push(this),this[w.a2]}}),rT=(0,u.XY)(2,(e,t)=>rO(e,{onFailure:e=>eR(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rM=(0,u.XY)(2,(e,t)=>rO(e,{onFailure:e=>{let r=e.reasons.find(w.lC);return r?(0,I.s)(()=>t.onFailure(r.error)):eB(e)},onSuccess:t.onSuccess})),rD=(0,u.XY)(2,(e,t)=>rM(e,{onFailure:e=>eR(()=>t.onFailure(e)),onSuccess:e=>eR(()=>t.onSuccess(e))})),rz=(0,u.XY)(2,(e,t)=>{if(tp(e)){if("Success"===e._tag)return(0,w.xt)(t.onSuccess(e.value));let r=Q(e.cause);return N.N6(r)?e:(0,w.xt)(t.onFailure(r.success))}return rD(e,t)}),rQ=(0,u.XY)(2,(e,t)=>tp(e)?"Success"===e._tag?(0,w.xt)(t.onSuccess(e.value)):(0,w.xt)(t.onFailure(e.cause)):rT(e,t)),r_=e=>tp(e)?(0,w.xt)(e):rU(e),rU=(0,w.Uf)({op:"Exit",[w._3](e){return e._stack.push(this),this[w.a2]},[w.ee]:(e,t,r)=>ev(r??(0,w.xt)(e)),[w.Sc]:(e,t,r)=>ev(r??(0,w.cb)(e))}),rH=rz({onFailure:()=>!0,onSuccess:()=>!1}),rL=rz({onFailure:()=>!1,onSuccess:()=>!0}),rF=(0,u.XY)(2,(e,t)=>tr(nj(t),e)),rq=(0,u.XY)(2,(e,t)=>tc(e,td(nj(t.duration),t.orElse))),rj=(0,u.XY)(2,(e,t)=>rq(e,{duration:t,orElse:()=>eP(new nK)})),rG=(0,u.XY)(2,(e,t)=>tc(te(e),e7(nj(t),f.none()))),rY=e=>nq(t=>{let r=t.currentTimeNanosUnsafe();return tf(e,e=>[l.cF(t.currentTimeNanosUnsafe()-r),e])}),r$="~effect/Scope",rJ="~effect/Scope/Closeable",rK=o.kl("effect/Scope"),rX=(e,t)=>eO(()=>rV(e,t)??eq),rV=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):rW(e,i,t)},rW=e1(function*(e,t,r){let i=[],n=[],a=Array.from(t.values()),s=ep();for(let t=a.length-1;t>=0;t--){let o=a[t];"sequential"===e.strategy?i.push((yield*r_(o(r)))):n.push(i2(s,o(r),!0,!0,"inherit"))}return n.length>0&&(i=yield*ex(n)),yield*tL(i)}),rZ=(e,t)=>eR(()=>r0(e,t)),r0=(e,t)=>{let r=r5(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return r3(e,i,e=>rX(r,e)),r3(r,i,t=>eR(()=>r6(e,i))),r},r1=(e,t)=>eO(()=>"Closed"===e.state._tag?t(e.state.exit):(r3(e,{},t),eq)),r2=(e,t)=>r1(e,(0,u.dY)(t)),r3=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},r6=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},r5=(e="sequential")=>({[rJ]:rJ,[r$]:r$,strategy:e,state:r4}),r4={_tag:"Empty"},r8=e=>eR(()=>r5(e)),r9=rK,r7=t0(rK),ie=e=>(0,w.R6)(t=>{let r=t.context,i=r5();return t.setContext(o.WQ(t.context,rK,i)),is(e,e=>(t.setContext(r),rV(i,e)))}),it=(0,u.XY)(2,(e,t)=>io(r7(e,t),e=>eO(()=>rV(t,e)??eq))),ir=e=>eO(()=>{let t=r5();return io(e(t),e=>eO(()=>rV(t,e)??eq))}),ii=(e,t,r)=>tV(i=>iB(n=>td(r9,a=>ti(r?.interruptible?n(e):e,e=>r1(a,r=>tZ(t(e,r),i)))))),ia=e=>td(r9,t=>tV(r=>r1(t,t=>tZ(e(t),r)))),is=(0,w.Uf)({op:"OnExit",single:!1,[w._3](e){return e._stack.push(this),this[w.a2][0]},[w.u4](e){e.interruptible&&!0!==this[w.a2][2]&&(e._stack.push(iI),e.interruptible=!1)},[w.ee](e,t,r){r??=(0,w.xt)(e);let i=this[w.a2][1](r);return i?td(i,e=>r):r},[w.Sc](e,t,r){r??=(0,w.cb)(e);let i=this[w.a2][1](r);return i?td(i,e=>r):r}}),io=(0,u.XY)(2,is),il=(0,u.XY)(2,(e,t)=>io(e,e=>t)),ic=(0,u.XY)(3,(e,t,r)=>io(e,e=>t(e)?r(e):eq)),id=(0,u.XY)(3,(e,t,r)=>io(e,e=>{let i=t(e);return N.N6(i)?eq:r(i.success,e)})),im=(0,u.XY)(2,(e,t)=>id(e,tv,t)),iu=(0,u.XY)(3,(e,t,r)=>ic(e,e=>"Failure"===e._tag&&t(e.cause),e=>r(e.cause))),ip=(0,u.XY)(3,(e,t,r)=>io(e,e=>{if("Failure"!==e._tag)return eq;let i=t(e.cause);return N.N6(i)?eq:r(i.success,e.cause)})),ih=(0,u.XY)(2,(e,t)=>ip(j,t)(e)),ig=(e,t,r)=>iB(i=>td(e,e=>is(i(t(e)),t=>r(e,t),!0))),iy=e=>ii(e,e=>(0,b.i5)(e,Symbol.asyncDispose)?eG(()=>e[Symbol.asyncDispose]()):eR(()=>e[Symbol.dispose]())),iA=(0,u.XY)(2,(e,t)=>eR(()=>{let r,i=l.kE(l.bN(t)),n=Number.isFinite(i),a=np(!1),s=0,o=!1,c=td(a.await,()=>r);return[(0,w.R6)(t=>{let l=t.getRef(n_),d=n?l.currentTimeMillisUnsafe():0;return o||d<s?r??c:(o=!0,a.closeUnsafe(),r=void 0,io(e,e=>eR(()=>{o=!1,s=l.currentTimeMillisUnsafe()+i,r=e,a.openUnsafe()})))}),eR(()=>{s=0,a.closeUnsafe(),r=void 0})]})),ib=(0,u.XY)(2,(e,t)=>tf(iA(e,t),e=>e[0])),ix=e=>ib(e,l.Tn),iN=(0,w.R6)(e=>eB(M(e.id))),iC=e=>(0,w.R6)(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(iI)),e)),iS=(0,w.Uf)({op:"SetInterruptible",[w.u4](e){if(e.interruptible=this[w.a2],e._interruptedCause&&e.interruptible)return()=>eB(e._interruptedCause)}}),iI=iS(!0),iw=iS(!1),iE=e=>{if(e.interruptible=!0,e._stack.push(iw),e._interruptedCause)return eB(e._interruptedCause)},iv=e=>(0,w.R6)(t=>t.interruptible?e:iE(t)??e),iB=e=>(0,w.R6)(t=>t.interruptible?(t.interruptible=!1,t._stack.push(iI),e(iv)):e(u.D_)),iP=e=>(0,w.R6)(t=>{if(t.interruptible)return e(u.D_);let r=iE(t),i=e(iC);return r??i}),iR=tf(ii(eR(()=>new AbortController),e=>eR(()=>e.abort())),e=>e.signal),iO=(e,t)=>(0,b.xZ)(e)?t?.mode==="result"?iH(e,rR,t):iH(e,u.D_,t):t?.discard?"result"===t.mode?iH(Object.values(e),rR,t):iH(Object.values(e),u.D_,t):eO(()=>{let r={};return e7(iH(Object.entries(e),([e,i])=>tf(t?.mode==="result"?rR(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),ik=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t,r)=>tf(iH(e,(e,r)=>rR(t(e,r)),r),e=>s.jB(e,u.D_))),iT=(0,u.XY)(3,(e,t,r)=>{let i=s.Ts(e);return 0===i.length?eR(t):eO(()=>{let e=0,n=t();return tf(iU({while:()=>e<i.length,body:()=>r(n,i[e],e),step(t){n=t,e++}}),()=>n)})}),iM=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t,r)=>td(ik(e,t,{concurrency:r?.concurrency}),([e,t])=>s.CZ(e)?eP(e):r?.discard?eq:ev(t))),iD=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t)=>eO(()=>{let r=e[Symbol.iterator](),i=r.next();return i.done?ev(f.none()):iz(r,0,t,i.value)})),iz=(e,t,r,i)=>td(r(i,t),n=>{if(n)return ev(f.some(i));let a=e.next();return a.done?ev(f.none()):iz(e,t+1,r,a.value)}),iQ=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t)=>eO(()=>{let r=e[Symbol.iterator](),i=r.next();return i.done?ev(f.none()):i_(r,0,t,i.value)})),i_=(e,t,r,i)=>td(r(i,t),i=>{if(N.oJ(i))return ev(f.some(i.success));let n=e.next();return n.done?ev(f.none()):i_(e,t+1,r,n.value)}),iU=(0,w.Uf)({op:"While",[w.ee](e,t){return(this[w.a2].step(e),this[w.a2].while())?(t._stack.push(this),this[w.a2].body()):tT},[w._3](e){return this[w.a2].while()?(e._stack.push(this),this[w.a2].body()):tT}}),iH=(0,u.XY)(e=>"function"==typeof e[1],(e,t,r)=>(0,w.R6)(i=>{let n=r?.concurrency==="inherit"?i.getRef(v.F8):r?.concurrency??1,a="unbounded"===n?1/0:Math.max(1,n);if(1===a)return iL(e,t,r);let o=s.Ts(e),l=o.length;if(0===l)return r?.discard?eq:ev([]);let c=r?.discard?void 0:Array(l),d=ij({f:t,out:c},o,{concurrency:a});return d?e7(d,c):ev(c)})),iL=(e,t,r)=>eO(()=>{let i=r?.discard?void 0:[],n=e[Symbol.iterator](),a=n.next(),s=0;return e7(iU({while:()=>!a.done,body:()=>t(a.value,s++),step:e=>{i&&i.push(e),a=n.next()}}),i)}),iF=e=>{let t=e.onItem,r=e.step;return(e,i,n)=>{let a,s,o,l,c,d=n?.start??0,m=n?.end??i.length,u=n?.concurrency??1,p=n?.orderedStep===!0&&u>1,h=!1,g=!1,f=d,y=p?Array(m):void 0,A=e=>{let t=(0,w.V2)(e);return l=t,h=!0,g=!0,s&&s.size>0?td(iC(ew(Array.from(s))),()=>t):t},b=(t,n,a)=>{if(!p)return r(e,t,n,a);if(l)return l;for(y[a]=n;f<m;){let t=y[f];if(void 0===t)return;y[f]=void 0;let n=f++,a=r(e,i[n],t,n);if(a)return a}},x=()=>{let r=!1;for(;!l&&d<m;d++){let n=i[d],m=c??t(e,n,d);if(tp(m)){if(l=b(n,m,d))break}else{if(1===u)return td(r_(m),e=>(l=b(n,e,d),d++,l??x()??eq));if(!a)return eW(e=>{let t;a=ep(),s=new Set,c=m,o=e;try{t=x()}catch(t){return e(A(t))}return t?e(t):eO(()=>(l=tT,g=!0,s?ew(s):eq))});c=void 0;let e=i2(a,m,!0,!0,"inherit");if(e._exit){if(l=b(n,e._exit,d))break;continue}s.add(e);let t=d;if(e.addObserver(i=>{s.delete(e);try{if(l){if(!g&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===l._tag?l.cause.reasons.push(e):l=(0,w.cb)((0,w.b5)([e]))}else{let e=b(n,i,t);e&&(l="Failure"===e._tag?(0,w.cb)((0,w.b5)(e.cause.reasons.slice())):e,x())}if(r){let e=x();e&&o(e)}else h&&0===s.size&&o(l??eq)}catch(e){o(A(e))}}),s.size<u)continue;r=!0,d++;return}}if(h=!0,l){if(s&&s.size>0){let e=ey(a);s.forEach(t=>t.interruptUnsafe(a.id,e));return}if(o||"Failure"===l._tag)return l}else if(o)if(!s)return tT;else 0===s.size&&o(eq)};return x()}},iq=()=>iF,ij=iF({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),iG=(0,u.XY)(3,(e,t,r)=>td(e,e=>t(e)?ev(e):r(e))),iY=(0,u.XY)(3,(e,t,r)=>td(e,e=>{let i=t(e);return N.N6(i)?r(i.failure):ev(i.success)})),i$=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>iY(e,t,r?e=>eP(r(e)):()=>eP(new w.Xm))),iJ=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t,r)=>eO(()=>{let i=[];return e7(iH(e,(e,r)=>{let n=t(e,r);return"boolean"==typeof n?(n&&i.push(e),eq):tf(n,t=>{t&&i.push(e)})},{discard:!0,concurrency:r?.concurrency}),i)})),iK=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t)=>eO(()=>{let r=[];for(let i of e){let e=t(i);N.oJ(e)&&r.push(e.success)}return ev(r)})),iX=(0,u.XY)(e=>(0,b.xZ)(e[0])&&!(0,w.yw)(e[0]),(e,t,r)=>eO(()=>{let i=[];return e7(iH(e,e=>tf(t(e),e=>{N.oJ(e)&&i.push(e.success)}),{discard:!0,concurrency:r?.concurrency}),i)})),iV=ev({}),iW=E.Jr(tf),iZ=E.oI(tf,td),i0=E.zM(tf),i1=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>(0,w.R6)(r=>(ef.interruptChildren??=eA,ev(i2(r,e,t?.startImmediately,!1,t?.uninterruptible??!1))))),i2=(e,t,r=!1,i=!1,n=!1)=>{let a="inherit"===n?e.interruptible:!n,s=new eh(e.context,a);return r?s.evaluate(t):e.currentDispatcher.scheduleTask(()=>s.evaluate(t),0),i||s._exit||(e.children().add(s),s.addObserver(()=>e._children.delete(s))),s},i3=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>(0,w.R6)(r=>ev(i2(r,e,t?.startImmediately,!0,t?.uninterruptible)))),i6=e=>(0,w.R6)(t=>{let r=t._children&&new Set(t._children);return io(e,e=>{let i=t._children;return void 0===i||0===i.size?eq:(r&&(i=g.pb(i,e=>!r.has(e))),tn(ex(i)))})}),i5=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r)=>(0,w.R6)(i=>{let n=i2(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!n._exit)if("Closed"!==t.state._tag){let e={};r3(t,e,()=>e$(e=>e===n.id?eq:eS(n))),n.addObserver(()=>r6(t,e))}else n.interruptUnsafe(i.id,ey(i));return ev(n)})),i4=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>td(r9,r=>i5(e,r,t))),i8=e=>(t,r)=>{let i=new eh(r?.scheduler?o.WQ(e,C._F,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i},i9=(0,u.XY)(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return r3(t,r,()=>eS(e)),e.addObserver(()=>r6(t,r)),e}),i7=i8(o.Ie()),ne=e=>{let t=i8(e);return(e,r)=>{let i=t(e,r);return r?.onExit&&i.addObserver(r.onExit),e=>i.interruptUnsafe(e)}},nt=ne(o.Ie()),nr=e=>{let t=i8(e);return(e,r)=>{let i=t(e,r);return new Promise(e=>{i.addObserver(t=>e(t))})}},ni=nr(o.Ie()),nn=e=>{let t=nr(e);return(e,r)=>t(e,r).then(e=>{if("Failure"===e._tag)throw W(e.cause);return e.value})},na=nn(o.Ie()),ns=e=>{let t=i8(e);return e=>{if(tp(e))return e;let r=t(e,{scheduler:new C.FG("sync")});return r._dispatcher?.flush(),r._exit??(0,w.V2)(new n6(r))}},no=ns(o.Ie()),nl=e=>{let t=ns(e);return e=>{let r=t(e);if("Failure"===r._tag)throw W(r.cause);return r.value}},nc=nl(o.Ie()),nd=ev(!0),nm=ev(!1);class nu{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),nd}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](tT)};open=(0,w.R6)(e=>this._isOpen?nm:(this._isOpen=!0,this.scheduleUnsafe(e)));release=(0,w.R6)(e=>this._isOpen?nm:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=eW(e=>this._isOpen?e(eq):(this.waiters.push(e),eR(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=eR(()=>this.closeUnsafe());whenOpen=e=>td(this.await,()=>e);isOpen(){return this._isOpen}}let np=e=>new nu(e??!1),nh=e=>eR(()=>np(e)),ng=(0,w.R6)(e=>ev(e.getRef(S.sh))),nf=(0,u.XY)(2,(e,t)=>t0(e,S.sh,t)),ny=t0(v.rf),nA=t0(v.nU),nb=BigInt(0),nx={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:nb,endTime:nb,exit:tT},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},nN=e=>e?o.Jt(e.annotations,S.DW)?"Span"===e._tag?nN(f.getOrUndefined(e.parent)):f.none():f.some(e):f.none(),nC=(e,t,r)=>{let i,n=!e.getRef(v.rf)||r?.annotations&&o.Jt(r.annotations,S.DW),a=r?.parent!==void 0?f.some(r.parent):r?.root?f.none():nN(e.currentSpan);if(n){let e;e={name:t,parent:a,annotations:o.WQ(r?.annotations??o.Ie(),S.DW,!0)},i=Object.assign(Object.create(nx),e)}else{let n=e.getRef(S.sh),s=e.getRef(n_),l=e.getRef(v.nU),c=e.getRef(v.ce),d=e.getRef(v.ls),m=r?.level??e.getRef(S.pX),u=r?.links!==void 0?[...d,...r.links]:d.slice();for(let[d,p]of(i=n.span({name:t,parent:a,annotations:r?.annotations??o.Ie(),links:u,startTime:l?s.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??f.isNone(a),sampled:r?.sampled??((!f.isSome(a)||!1!==a.value.sampled)&&!ae(e.getRef(S.EW),m))}),Object.entries(c)))i.attribute(d,p);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i},nS=(e,t)=>(0,w.R6)(r=>ev(nC(r,e,t))),nI=(e,t)=>iC((0,w.R6)(r=>{let i=o.fp(r.context,rK),n=nC(r,e,t??{}),a=r.getRef(n_),s=r.getRef(v.nU);return e7(r1(i,e=>nP(n,e,a,s)),n)})),nw=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=P(e?arguments[2]:arguments[1]);if(e){let e=arguments[0];return td(nI(t,r),t=>nk(e,t,r))}return e=>td(nI(t,r),t=>nk(e,t,r))},nE=v.ce,nv=v.ls,nB=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t,r={})=>{let i=(Array.isArray(t)?t:[t]).map(e=>({span:e,attributes:r}));return tJ(e,v.ls,e=>[...e,...i])}),nP=(e,t,r,i)=>eR(()=>{"Ended"!==e.status._tag&&e.end(i?r.currentTimeNanosUnsafe():nb,t)}),nR=(e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return(0,w.R6)(t=>{let n=nC(t,e,r),a=t.getRef(n_);return io((0,I.s)(()=>i(n)),e=>eR(()=>{"Ended"!==n.status._tag&&n.end(a.currentTimeNanosUnsafe(),e)}))})},nO=t0(S.Tv),nk=function(){let e=(0,w.yw)(arguments[0]),t=e?arguments[1]:arguments[0],r=e?arguments[2]:arguments[1],i=u.D_;if("Span"===t._tag){var n,a;r=P(r),n=t.name,a="function"==typeof(a=r?.captureStackTrace)?a:u.MN,i=tJ(v.vA,e=>({name:n,stack:a,parent:e}))}return e?nO(i(arguments[0]),t):e=>nO(i(e),t)},nT=function(){let e="string"!=typeof arguments[0],t=e?arguments[1]:arguments[0],r=P(arguments[2]);if(e){let e=arguments[0];return nR(t,arguments[2],t=>nk(e,t,r))}let i="function"==typeof arguments[1]?arguments[1]:void 0,n=i?void 0:arguments[1];return(e,...a)=>nR(t,i?i(...a):n,t=>nk(e,t,r))},nM=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,...t)=>tJ(e,v.ce,e=>{let r={...e};return 1===t.length?Object.assign(r,t[0]):r[t[0]]=t[1],r})),nD=(...e)=>(0,w.R6)(t=>{let r=t.currentSpanLocal;if(r)if(1===e.length)for(let[t,i]of Object.entries(e[0]))r.attribute(t,i);else r.attribute(e[0],e[1]);return eq}),nz=(0,w.R6)(e=>{let t=e.currentSpanLocal;return t?ev(t):eP(new w.Xm)}),nQ=(i=S.Tv,(0,w.R6)(e=>e.context.mapUnsafe.has(i.key)?ev(o.fp(e.context,i)):eP(new w.Xm))),n_=o.Or("effect/Clock",{defaultValue:()=>new nH}),nU=0x80000000-1;class nH{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=eR(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return nF()}currentTimeNanos=eR(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(l.kE(e))}sleepMillis(e){return e<=0?ez:Number.isFinite(e)?eW(t=>{let r=e>nU?this.sleepMillis(e-nU):eq,i=setTimeout(()=>t(r),Math.min(e,nU));return eR(()=>clearTimeout(i))}):eZ}}let nL=(a=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*a:()=>(n??=BigInt(Date.now())*a-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),nF=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return nL;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),nq=e=>(0,w.R6)(t=>e(t.getRef(n_))),nj=e=>nq(t=>t.sleep(l.bN(e))),nG=nq(e=>e.currentTimeMillis),nY=nq(e=>e.currentTimeNanos),n$="~effect/Cause/TimeoutError",nJ=e=>(0,b.i5)(e,n$);class nK extends(0,w.rN)("TimeoutError"){[n$]=n$;constructor(e){super({message:e})}}let nX="~effect/Cause/IllegalArgumentError",nV=e=>(0,b.i5)(e,nX);class nW extends(0,w.rN)("IllegalArgumentError"){[nX]=nX;constructor(e){super({message:e})}}let nZ="~effect/Cause/ExceededCapacityError",n0=e=>(0,b.i5)(e,nZ);class n1 extends(0,w.rN)("ExceededCapacityError"){[nZ]=nZ;constructor(e){super({message:e})}}let n2="~effect/Cause/AsyncFiberError",n3=e=>(0,b.i5)(e,n2);class n6 extends(0,w.rN)("AsyncFiberError"){[n2]=n2;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let n5="~effect/Cause/UnknownError",n4=e=>(0,b.i5)(e,n5);class n8 extends(0,w.rN)("UnknownError"){[n5]=n5;constructor(e,t){super({message:t,cause:e})}}let n9=o.Or("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),n7=y.zQ(y.wN,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}}),ae=y.yJ(n7),at=o.Or("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([aA,ab])}),ar=o.Or("effect/Logger/LogToStderr",{defaultValue:u.f4}),ai=function(){let e="string"==typeof arguments[0]?[[arguments[0],arguments[1]]]:Object.entries(arguments[0]);return iC((0,w.R6)(t=>{let r=t.getRef(v.iL),i={...r};for(let t=0;t<e.length;t++){let[r,n]=e[t];i[r]=n}return t.setContext(o.WQ(t.context,v.iL,i)),r1(o.fp(t.context,rK),i=>{let n=t.getRef(v.iL),a={...n};for(let t=0;t<e.length;t++){let[i,s]=e[t];n[i]===s&&(i in r?a[i]=r[i]:delete a[i])}return t.setContext(o.WQ(t.context,v.iL,a)),eq})}))},an={"~effect/Logger":{_Message:u.D_,_Output:u.D_},pipe(){return(0,A.tT)(this,arguments)}},aa=e=>{let t=Object.create(an);return t.log=e,t},as=e=>e.replace(/[\s="]/g,"_"),ao=(e,t)=>{let r=as(e[0]);return`${r}=${t-e[1]}ms`},al=e=>{switch(typeof e){case"bigint":case"function":case"symbol":return String(e);default:return(0,h.aB)(e)}},ac=e=>(...t)=>{let r;for(let e=0,i=t.length;e<i;e++){let i=t[e];(0,w.Aj)(i)&&(r?t.splice(e,1):t=t.slice(0,e).concat(t.slice(e+1)),r=r?(0,w.b5)(r.reasons.concat(i.reasons)):i,e--)}return void 0===r&&(r=w.DH),(0,w.R6)(i=>{let n=e??i.currentLogLevel;if(ae(i.minimumLogLevel,n))return eq;let a=i.getRef(n_),s=i.getRef(at);if(s.size>0){let e=new Date(a.currentTimeMillisUnsafe());for(let a of s)a.log({cause:r,fiber:i,date:e,logLevel:n,message:t})}return eq})},ad=(e,...t)=>{let r="";for(let e=0;e<t.length;e++)r+=`\x1b[${t[e]}m`;return r+e+"\x1b[0m"},am=(e,...t)=>e,au={None:[],All:[],Trace:["90"],Debug:["34"],Info:["32"],Warn:["33"],Error:["31"],Fatal:["101","30"]},ap={None:"",All:"",Trace:"color:gray",Debug:"color:blue",Info:"color:green",Warn:"color:orange",Error:"color:red",Fatal:"background-color:red;color:white"},ah=e=>`${e.getHours().toString().padStart(2,"0")}:${e.getMinutes().toString().padStart(2,"0")}:${e.getSeconds().toString().padStart(2,"0")}.${e.getMilliseconds().toString().padStart(3,"0")}`,ag=e=>{let t="object"==typeof process&&null!==process&&"object"==typeof process.stdout&&null!==process.stdout,r=t&&!0===process.stdout.isTTY,i=t||"Deno"in globalThis,n=e?.mode??"auto",a="browser"===("auto"===n?i?"tty":"browser":n),s="boolean"==typeof e?.colors?e.colors:r||a,o=e?.formatDate??ah;return a?ay({colors:s,formatDate:o}):af({colors:s,formatDate:o})},af=e=>{let t="object"==typeof process&&"isBun"in process&&!0===process.isBun,r=e.colors?ad:am;return aa(({cause:i,date:n,fiber:a,logLevel:s,message:o})=>{let l=a.getRef(n9),c=a.getRef(ar)?l.error:l.log,d=Array.isArray(o)?o.slice():[o],m=r(`[${e.formatDate(n)}]`,"37")+` ${r(s.toUpperCase(),...au[s])}`+` (#${a.id})`,u=n.getTime();for(let e of a.getRef(v.d8))m+=" "+ao(e,u);m+=":";let p=0;if(d.length>0){let e=al(d[0]);"string"==typeof e&&(m+=" "+r(e,"1","36"),p++)}if(c(m),t||l.group(),i.reasons.length>0&&c(eo(i)),p<d.length)for(;p<d.length;p++)c((0,x.E$)(d[p]));for(let[e,t]of Object.entries(a.getRef(v.iL)))c(r(`${e}:`,"1","37"),(0,x.E$)(t));t||l.groupEnd()})},ay=e=>{let t=e.colors?"%c":"";return aa(({cause:r,date:i,fiber:n,logLevel:a,message:s})=>{let o=n.getRef(n9),l=Array.isArray(s)?s.slice():[s],c=`${t}[${e.formatDate(i)}]`,d=[];e.colors&&d.push("color:gray"),c+=` ${t}${a.toUpperCase()}${t} (#${n.id})`,e.colors&&d.push(ap[a],"");let m=i.getTime();for(let e of n.getRef(v.d8))c+=" "+ao(e,m);c+=":";let u=0;if(l.length>0){let r=al(l[0]);"string"==typeof r&&(c+=` ${t}${r}`,e.colors&&d.push("color:deepskyblue"),u++)}if(o.groupCollapsed(c,...d),r.reasons.length>0&&o.error(eo(r)),u<l.length)for(;u<l.length;u++)o.log((0,x.E$)(l[u]));for(let[t,r]of Object.entries(n.getRef(v.iL))){let i=(0,x.E$)(r);e.colors?o.log(`%c${t}:`,"color:gray",i):o.log(`${t}:`,i)}o.groupEnd()})},aA=aa(({cause:e,date:t,fiber:r,logLevel:i,message:n})=>{let a=Array.isArray(n)?n.slice():[n];e.reasons.length>0&&a.push(eo(e));let s=t.getTime(),o=r.getRef(v.d8),l="";for(let e of o)l+=` ${ao(e,s)}`;let c=r.getRef(v.iL);Object.keys(c).length>0&&a.push(c);let d=r.getRef(n9);(r.getRef(ar)?d.error:d.log)(`[${ah(t)}] ${i.toUpperCase()} (#${r.id})${l}:`,...a)}),ab=aa(({cause:e,fiber:t,logLevel:r,message:i})=>{let n=t.getRef(n_),a=t.getRef(v.iL),s=t.currentSpan;if(void 0===s||"ExternalSpan"===s._tag)return;let o={};for(let[e,t]of Object.entries(a))o[e]=t;o["effect.fiberId"]=t.id,o["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(o["effect.cause"]=eo(e)),s.event((0,h.ZK)(Array.isArray(i)&&1===i.length?i[0]:i),n.currentTimeNanosUnsafe(),o)}),ax=ev(void 0),aN=(0,u.XY)(e=>(0,w.yw)(e[0]),(e,t)=>im(e,e=>(0,w.R6)(r=>(aC(r,e,t?.defectsOnly),eq)))),aC=(e,t,r)=>{let i=e.getRef(v.oQ);if(0===i.size||r&&!U(t))return;let n={cause:t,fiber:e,timestamp:e.getRef(n_).currentTimeNanosUnsafe()};i.forEach(e=>e.report(n))}},5678(e,t,r){let i=new WeakSet;r.d(t,{},{J:i,X:e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t}})},7317(e,t,r){var i=r(2730),n=r(7292),a=r(3536),s=r(8294),o=r(8527),l=r(1371),c=r(8579);let d="~effect/data/Option",m={[d]:{_A:e=>e},...c.fU,[Symbol.iterator](){return new l.B(this)}},u=Object.defineProperty(Object.assign(Object.create(m),{_tag:"Some",_op:"Some",[i.HR](e){return g(e)&&y(e)&&i.aI(this.value,e.value)},[a.HR](){return a.kg(a.tW(this._tag))(a.tW(this.value))},toString(){return`some(${(0,n.GP)(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:(0,s.aB)(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),p=a.tW("None"),h=Object.assign(Object.create(m),{_tag:"None",_op:"None",valueOrUndefined:void 0,[i.HR]:e=>g(e)&&f(e),[a.HR]:()=>p,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),g=e=>(0,o.i5)(e,d),f=e=>"None"===e._tag,y=e=>"Some"===e._tag,A=Object.create(h);r.d(t,{},{$I:f,Ru:y,dv:A,oL:g,zN:e=>{let t=Object.create(u);return t.value=e,t}})},9496(e,t,r){let i=new WeakMap,n=e=>{if(i.has(e))return i.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))};r.d(t,{},{Uq:n,m7:i,tC:e=>"string"==typeof e?e:n(e)})},3894(e,t,r){var i=r(9605),n=r(9920);let a=i.Or("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),s=i.Or("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),o=i.Or("effect/References/CurrentStackFrame",{defaultValue:n.MN}),l=i.Or("effect/References/TracerEnabled",{defaultValue:n.ue}),c=i.Or("effect/References/TracerTimingEnabled",{defaultValue:n.ue}),d=i.Or("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),m=i.Or("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),u=i.Or("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),p=i.Or("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),h=i.Or("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),g=i.Or("effect/References/UnhandledLogLevel",{defaultValue:()=>"Error"}),f=i.Or("effect/References/CurrentLogSpans",{defaultValue:()=>[]});r.d(t,{},{F8:a,Gl:p,aG:g,ce:d,d8:f,iL:u,ls:m,nU:c,oQ:s,rf:l,vA:o,zQ:h})},9145(e,t,r){var i=r(2730),n=r(7292),a=r(9920),s=r(3536),o=r(8294),l=r(8527),c=r(1371),d=r(8579),m=r(7317);let u="~effect/data/Result",p={[u]:{_A:e=>e,_E:e=>e},...d.fU,[Symbol.iterator](){return new c.B(this)}},h=Object.assign(Object.create(p),{_tag:"Success",_op:"Success",[i.HR](e){return f(e)&&A(e)&&i.aI(this.success,e.success)},[s.HR](){return s.kg(s.tW(this._tag))(s.tW(this.success))},toString(){return`success(${(0,n.GP)(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:(0,o.aB)(this.success)}}}),g=Object.assign(Object.create(p),{_tag:"Failure",_op:"Failure",[i.HR](e){return f(e)&&y(e)&&i.aI(this.failure,e.failure)},[s.HR](){return s.kg(s.tW(this._tag))(s.tW(this.failure))},toString(){return`failure(${(0,n.GP)(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:(0,o.aB)(this.failure)}}}),f=e=>(0,l.i5)(e,u),y=e=>"Failure"===e._tag,A=e=>"Success"===e._tag,b=e=>{let t=Object.create(g);return t.failure=e,t},x=e=>{let t=Object.create(h);return t.success=e,t},N=(0,a.XY)(2,(e,t)=>m.$I(e)?b(t()):x(e.value));r.d(t,{},{L8:e=>A(e)?m.dv:m.zN(e.failure),N6:y,Oz:e=>y(e)?m.dv:m.zN(e.success),Py:x,aI:f,fJ:b,oJ:A,sV:N})},5994(e,t,r){var i=r(9920);function n(e){return e.checks?e.checks[e.checks.length-1].annotations:e.annotations}function a(e){return t=>n(t)?.[e]}let s=a("identifier"),o=a("title"),l=a("description"),c=a("brands"),d=(0,i.Bj)(e=>{let t=s(e);return"string"==typeof t?t:e.getExpected(d)});r.d(t,{hd:()=>n,ip:()=>a},{DQ:o,KE:s,NK:c,Pk:l,bo:d})},6311(e,t,r){var i=r(8149),n=r(2340);function a(e){let t;for(let r of e.reasons){if(!i.lC(r)||!n.gh(r.error))return;t??=r.error}return t}function s(e,t){let r=a(e);if(void 0===r)throw Error(t,{cause:e});return r}r.d(t,{R:()=>a,q:()=>s})},58(e,t,r){let i,n=Object.getOwnPropertyDescriptor,a=Object.prototype.hasOwnProperty,s=Object.isExtensible,o=void 0===(i=n(Error,"stackTraceLimit"))?s(Error):a.call(i,"writable")?!0===i.writable:void 0!==i.set;r.d(t,{},{ft:e=>{o&&(Error.stackTraceLimit=e)},jt:()=>Error.stackTraceLimit})},9002(e,t,r){var i=r(9605),n=r(2730),a=r(3558),s=r(9920),o=r(3536),l=r(8294),c=(r(8527),r(7045)),d=r(8629),m=r(1036);r(7464),r(5030);let u=Symbol.for("~effect/http/Headers"),p=Object.defineProperties(Object.create(null),{[u]:{value:u},[d.uC]:{value(e){return C(this,i.Jt(e,S))}},toJSON:{value(){return d.E$(this)}},[n.HR]:{value(e){return g(this,e)}},[o.HR]:{value(){return o.QK(this)}},toString:{value:l.os.toString},[l.FX]:{value:l.os[l.FX]}}),h=e=>Object.assign(Object.create(p),e),g=c.T9(a.YZ()),f=Object.create(p),y=e=>{if(void 0===e)return f;if(Symbol.iterator in e){let t=Object.create(p);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(p);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},A=(0,s.XY)(3,(e,t,r)=>{let i=h(e);return i[t.toLowerCase()]=r,i}),b=(0,s.XY)(2,(e,t)=>h({...e,...y(t)})),x=(0,s.XY)(2,(e,t)=>{let r=h(e);return Object.assign(r,t),r}),N=(0,s.XY)(2,(e,t)=>{let r=h(e);return delete r[t.toLowerCase()],r}),C=(0,s.XY)(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=m.L8(e[i]))}else for(let i in e)t.test(i)&&(r[i]=m.L8(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),S=i.Or("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]});r.d(t,{},{Au:b,E$:C,Ie:f,Kh:e=>Object.setPrototypeOf(e,p),TF:N,h1:x,hZ:A,lX:y,yr:S})},3818(e,t,r){r.d(t,{Qq:()=>C,$T:()=>R,L8:()=>E});var i=r(8149),n=r(9605),a=r(702),s=r(9920),o=r(8294),l=r(8275),c=r(6437),d=r(2544),m=r(2917),u=r(1260),p=r(4465),h=r(9002),g=r(855),f=r(9858),y=r(4290),A=r(2103),b=r(1160);class x extends b.rN("UrlError"){}let N="~effect/http/HttpClient",C=n.kl("effect/HttpClient"),S=(0,s.XY)(2,(e,t)=>I(r=>t(e.postprocess(r)),e.preprocess));y.p$;let I=(e,t)=>{let r=Object.create(w);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},w={[N]:N,pipe(){return(0,d.tT)(this,arguments)},...o.os,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(f.L8(e)(t,r))}]))},E=e=>I(t=>a.qIB(t,t=>a.R6R(r=>{let n,s,o,l=k.get(t),d=l??new AbortController,u=(n=t.url,s=t.urlParams,o=c.getOrUndefined(t.hash),m.Sv({try:()=>{let e=new URL(n,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<s.params.length;t++){let[r,i]=s.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==o&&(e.hash=o),e},catch:e=>new x({cause:e})}));if(m.N6(u))return a.fJG(new g.Kg({reason:new g.bL({request:t,cause:u.failure})}));let y=u.success;if(r.getRef(p.DW)||r.getRef(v)(t)){let n=e(t,y,d.signal,r);return l?n:a.FcF(e=>a.khu(e(n),{onSuccess:e=>(O.register(e,d),a.PyW(new T(e,d))),onFailure:e=>(i.pr(e)&&d.abort(),a.ATB(e))}))}return a.gvr(r.getRef(P)(t),{kind:"client"},n=>{n.attribute("http.request.method",t.method),n.attribute("server.address",y.origin),""!==y.port&&n.attribute("server.port",+y.port),n.attribute("url.full",y.toString()),n.attribute("url.path",y.pathname),n.attribute("url.scheme",y.protocol.slice(0,-1));let s=y.search.slice(1);""!==s&&n.attribute("url.query",s);let o=r.getRef(h.yr),m=h.E$(t.headers,o);for(let e in m)n.attribute(`http.request.header.${e}`,String(m[e]));return t=r.getRef(B)?f.lL(t,h.Kh({b3:`${n.traceId}-${n.spanId}-${n.sampled?"1":"0"}${c.match(n.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${n.traceId}-${n.spanId}-${n.sampled?"01":"00"}`})):t,a.FcF(s=>s(e(t,y,d.signal,r)).pipe(a.hq(n,{captureStackTrace:!1}),a.khu({onSuccess:e=>{n.attribute("http.response.status_code",e.status);let t=h.E$(e.headers,o);for(let e in t)n.attribute(`http.response.header.${e}`,String(t[e]));return l?a.PyW(e):(O.register(e,d),a.PyW(new T(e,d)))},onFailure:e=>(!l&&i.pr(e)&&d.abort(),a.ATB(e))})))})})),a.PyW),v=n.Or("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>s.f4}),B=n.Or("effect/HttpClient/TracerPropagationEnabled",{defaultValue:s.ue}),P=n.Or("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),R=e=>l.QZ(C)(a.sxi(t=>a.TjK(e,e=>S(e,a.r_d(e=>n.h1(t,e)))))),O=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),k=new WeakMap;class T{original;controller;constructor(e,t){this.original=e,this.controller=t}[y.ii]=y.ii;[A.ii]=A.ii;applyInterrupt(e){return a.DYE(()=>(O.unregister(this.original),a.nAr(e,()=>a.OH5(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){return u.DYE(()=>(O.unregister(this.original),u.yeE(this.original.stream,a.OH5(()=>{this.controller.abort()}))))}toJSON(){return this.original.toJSON()}[o.FX](){return this.original[o.FX]()}pipe(){return(0,d.tT)(this,arguments)}}},855(e,t,r){var i=r(1160);r(7464);let n="~effect/http/HttpClientError";class a extends i.rN("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[n]=n;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let s=e=>e.endsWith("Error")?e.slice(0,-5):e,o=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class l extends i.rN("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return o(s(this._tag),this.description,this.methodAndUrl)}}class c extends i.rN("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return o(s(this._tag),this.description,this.methodAndUrl)}}class d extends i.rN("StatusCodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return o(s(this._tag),this.description,e)}}class m extends i.rN("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return o(s(this._tag),this.description,e)}}class u extends i.rN("EmptyBodyError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return o(s(this._tag),this.description,e)}}r.d(t,{CY:()=>d,Kg:()=>a,Xc:()=>m,bL:()=>c,oL:()=>u,wX:()=>l})},9858(e,t,r){r.d(t,{hC:()=>v,hk:()=>M,L8:()=>N,bE:()=>C,lL:()=>E});var i=r(9920),n=r(8294),a=r(9496),s=r(6437),o=r(2544),l=r(8629),c=r(9002),d=r(7292);let m="~effect/http/HttpBody";class u{[m];constructor(){this[m]=m}[n.FX](){return this.toJSON()}toString(){return(0,d.GP)(this,{ignoreToString:!0})}}let p=new class extends u{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class h extends u{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let g=new TextEncoder;var f=r(2479);let y="~effect/http/HttpClientRequest",A={[y]:y,...n.os,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:(0,l.E$)(this.headers),body:this.body.toJSON()}},pipe(){return(0,o.tT)(this,arguments)}};function b(e,t,r,i,n,a){let s=Object.create(A);return s.method=e,s.url=t,s.urlParams=r,s.hash=i,s.headers=n,s.body=a,s}let x=b("GET","",f.Ie,s.none(),c.Ie,p),N=e=>(t,r)=>S(x,{method:e,url:t,...r??void 0}),C=N("POST"),S=(0,i.XY)(2,(e,t)=>{let r=e;return t.method&&(r=I(r,t.method)),t.url&&(r=R(r,t.url)),t.headers&&(r=E(r,t.headers)),t.urlParams&&(r=O(r,t.urlParams)),t.hash&&(r=k(r,t.hash)),t.body&&(r=T(r,t.body)),t.accept&&(r=B(r,t.accept)),t.acceptJson&&(r=P(r)),r}),I=(0,i.XY)(2,(e,t)=>b(t,e.url,e.urlParams,e.hash,e.headers,e.body)),w=(0,i.XY)(3,(e,t,r)=>b(e.method,e.url,e.urlParams,e.hash,c.hZ(e.headers,t,r),e.body)),E=(0,i.XY)(2,(e,t)=>b(e.method,e.url,e.urlParams,e.hash,c.Au(e.headers,t),e.body)),v=(0,i.XY)(2,(e,t)=>w(e,"Authorization",`Bearer ${(0,a.tC)(t)}`)),B=(0,i.XY)(2,(e,t)=>w(e,"Accept",t)),P=B("application/json"),R=(0,i.XY)(2,(e,t)=>{if("string"==typeof t)return b(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=f.lX(r.searchParams),n=s.fromNullishOr(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",b(e.method,r.toString(),i,n,e.headers,e.body)}),O=(0,i.XY)(2,(e,t)=>b(e.method,e.url,f.Au(e.urlParams,t),e.hash,e.headers,e.body)),k=(0,i.XY)(2,(e,t)=>b(e.method,e.url,e.urlParams,s.some(t),e.headers,e.body)),T=(0,i.XY)(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=c.TF(c.TF(r,"Content-Type"),"Content-length"):(t.contentType&&(r=c.hZ(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=c.hZ(r,"content-length",t.contentLength.toString()))),b(e.method,e.url,e.urlParams,e.hash,r,t)}),M=(0,i.XY)(2,(e,t)=>{var r,i;let n;return T(e,(r=JSON.stringify(t),i=(void 0)??"application/json",new h(n=g.encode(r),i??"text/plain"??"application/octet-stream",n.length)))})},4290(e,t,r){r.d(t,{ii:()=>w,p$:()=>v,tO:()=>E});var i=r(702),n=r(8294),a=r(6437),s=r(2544),o=r(1260),l=r(1160),c=r(6292),d=r(8527),m=r(7045),u=(r(2917),r(7464));r(5030);let p="~effect/http/Cookies",h="~effect/http/Cookies/Cookie",g=(e=>d.i5(e,h),"~effect/http/Cookies/CookieError");class f extends l.$D{}let y={[p]:p,...n.os,toJSON(){return{_id:"effect/Cookies",cookies:m.Tj(this.cookies,e=>e.toJSON())}},pipe(){return(0,s.tT)(this,arguments)}},A=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,b={[h]:h,...n.os,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}};u.QfV,u.QfV;let x=e=>{try{return decodeURIComponent(e)}catch(t){return e}};var N=r(9002),C=r(855),S=r(2103),I=r(2479);let w="~effect/http/HttpClientResponse",E=(e,t)=>new B(e,t),v=e=>e.status>=200&&e.status<300?i.PyW(e):i.fJG(new C.Kg({reason:new C.CY({response:e,request:e.request,description:"non 2xx status code"})}));class B extends n.Xs{[S.ii];[w];request;source;constructor(e,t){super(),this.request=e,this.source=t,this[S.ii]=S.ii,this[w]=w}toJSON(){return S.Nn(this,{_id:"HttpClientResponse",request:this.request.toJSON(),status:this.status})}get status(){return this.source.status}get headers(){return N.lX(this.source.headers)}cachedCookies;get cookies(){return this.cachedCookies?this.cachedCookies:this.cachedCookies=(e=>{var t;let r,i=[];for(let t of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!A.test(i))return;let n=t[0].slice(r+1),a=x(n);if(1===t.length)return Object.assign(Object.create(b),{name:i,value:a,valueEncoded:n});let s={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),n=-1===i?r:r.slice(0,i).trim(),a=-1===i?void 0:r.slice(i+1).trim();switch(n.toLowerCase()){case"domain":{if(void 0===a)break;let e=a.trim().replace(/^\./,"");e&&(s.domain=e);break}case"expires":{if(void 0===a)break;let e=new Date(a);isNaN(e.getTime())||(s.expires=e);break}case"max-age":{if(void 0===a)break;let e=parseInt(a,10);isNaN(e)||(s.maxAge=c.YA(e));break}case"path":if(void 0===a)break;"/"===a[0]&&(s.path=a);break;case"priority":if(void 0===a)break;switch(a.toLowerCase()){case"low":s.priority="low";break;case"medium":s.priority="medium";break;case"high":s.priority="high"}break;case"httponly":s.httpOnly=!0;break;case"secure":s.secure=!0;break;case"partitioned":s.partitioned=!0;break;case"samesite":if(void 0===a)break;switch(a.toLowerCase()){case"lax":s.sameSite="lax";break;case"strict":s.sameSite="strict";break;case"none":s.sameSite="none"}}}return Object.assign(Object.create(b),{name:i,value:a,valueEncoded:n,options:Object.keys(s).length>0?s:void 0})}(t.trim());e&&i.push(e)}let n={};for(let e of i)n[e.name]=e;return t=n,(r=Object.create(y)).cookies=t,r})(this.source.headers.getSetCookie())}get remoteAddress(){return a.none()}get stream(){return this.source.body?o.fph({evaluate:()=>this.source.body,onError:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}):o.fJG(new C.Kg({reason:new C.oL({request:this.request,response:this,description:"can not create stream from empty body"})}))}get json(){return i.qIB(this.text,e=>i.SvU({try:()=>""===e?null:JSON.parse(e),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=i.$mh({try:()=>this.source.text(),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF),this.arrayBufferBody=i.TjK(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return i.qIB(this.text,e=>i.SvU({try:()=>I.lX(new URLSearchParams(e)),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=i.$mh({try:()=>this.source.formData(),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=i.$mh({try:()=>this.source.arrayBuffer(),catch:e=>new C.Kg({reason:new C.Xc({request:this.request,response:this,cause:e})})}).pipe(i.PO3,i.HZF),this.textBody=i.TjK(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}pipe(){return(0,s.tT)(this,arguments)}}},2103(e,t,r){var i=r(702),n=r(8629);r.d(t,{},{Nn:(e,t)=>{let r,a=e.headers["content-type"]??"";if(a.includes("application/json"))try{r=i.HZF(e.json)}catch(e){}else if(a.includes("text/")||a.includes("urlencoded"))try{r=i.HZF(e.text)}catch(e){}let s={...t,headers:(0,n.E$)(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(s.body=r),s},ii:"~effect/http/HttpIncomingMessage"})},2479(e,t,r){r.d(t,{Ie:()=>x,lX:()=>f,Au:()=>N});var i=r(3207),n=r(2730),a=r(3558),s=r(9920),o=r(3536),l=r(8579),c=r(8527),d=r(7464),m=(r(5030),r(606));let u=a.rd;m.rd;let p="~effect/http/UrlParams",h={...l.fU,[p]:p,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[n.HR](e){return A(this,e)},[o.HR](){return o.YO(this.params.flat())}},g=e=>{let t=Object.create(h);return t.params=e,t},f=e=>{let t;if(t=e,(0,c.i5)(t,p))return e;let r=y(e),i=[];for(let e=0;e<r.length;e++)if(Array.isArray(r[e][0])){let[t,n]=r[e];i.push([`${t[0]}[${t.slice(1).join("][")}]`,n])}else i.push(r[e]);return g(i)},y=e=>{let t="function"==typeof e[Symbol.iterator]?i.Ts(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,n]of y(i))r.push([[e,..."string"==typeof t?[t]:t],n]);else void 0!==i&&r.push([e,String(i)]);return r},A=a.L8((e,t)=>b(e.params,t.params)),b=i.T9(u([a.YZ(),a.YZ()])),x=g([]),N=(0,s.XY)(2,(e,t)=>{let r=f(t),i=r.params,n=new Set;for(let e=0;e<i.length;e++)n.add(i[e][0]);for(let t=0;t<e.params.length;t++)n.has(e.params[t][0])||i.push(e.params[t]);return r});d.QfV,d.QfV,d.QfV},1306(e,t,r){var i=r(9605),n=r(6621),a=r(9616);let s="~effect/unstable/process/ChildProcess",o={...n.b({label:"Command",evaluate(e){return i.fp(e.context,a.CV).spawn(this)}}),[s]:s},l=(e,t,r)=>Object.assign(Object.create(o),{_tag:"StandardCommand",command:e,args:t,options:r}),c=e=>Array.isArray(e)&&"raw"in e&&Array.isArray(e.raw),d=(e,t)=>{let r=[];for(let[i,n]of e.entries())r=m(e,t,r,n,i);return r},m=(e,t,r,i,n)=>{let a=e.raw[n];if(void 0===a)throw Error(`Invalid backslash sequence: ${e.raw[n]}`);let{hasLeadingWhitespace:s,hasTrailingWhitespace:o,tokens:l}=g(i,a),c=f(r,l,s);if(n===t.length)return c;let d=t[n];return f(c,Array.isArray(d)?d.map(e=>u(e)):[u(d)],o)},u=e=>"string"==typeof e?e:String(e),p=new Set([" "," ","\r","\n"]),h={x:3,u:5},g=(e,t)=>{if(0===t.length)return{tokens:[],hasLeadingWhitespace:!1,hasTrailingWhitespace:!1};let r=p.has(t[0]),i=[],n=0;for(let r=0,a=0;r<e.length;r+=1,a+=1){let s=t[a];if(p.has(s))n!==r&&i.push(e.slice(n,r)),n=r+1;else if("\\"===s){let e=t[a+1];"\n"===e?(r-=1,a+=1):"u"===e&&"{"===t[a+2]?a=t.indexOf("}",a+3):a+=h[e]??1}}let a=n===e.length;return a||i.push(e.slice(n)),{tokens:i,hasLeadingWhitespace:r,hasTrailingWhitespace:a}},f=(e,t,r)=>r||0===e.length||0===t.length?[...e,...t]:[...e.slice(0,-1),`${e.at(-1)}${t.at(0)}`,...t.slice(1)];r.d(t,{},{FC:e=>{let t=/^fd(\d+)$/.exec(e);if(null===t)return;let r=parseInt(t[1],10);return r>=3?r:void 0},L8:function(...e){if(c(e[0])){let[t,...r]=e,i=d(t,r);return l(i[0]??"",i.slice(1),{})}if("object"==typeof e[0]&&!Array.isArray(e[0])&&!c(e[0])){let t=e[0];return function(e,...r){let i=d(e,r);return l(i[0]??"",i.slice(1),t)}}if("string"==typeof e[0]&&!Array.isArray(e[1])){let[t,r={}]=e;return l(t,[],r)}let[t,r=[],i={}]=e;return l(t,r,i)},YF:e=>`fd${e}`})},9616(e,t,r){var i=r(347),n=r(9605),a=r(702),s=r(8294),o=r(1260);let l=i.HC(),c=i.HC(),d="~effect/ChildProcessSpawner/ChildProcessHandle",m={[d]:d,...s.os,toJSON(){return{_id:"ChildProcessHandle",pid:this.pid}}};class u extends n.kl()("effect/process/ChildProcessSpawner"){}r.d(t,{CV:()=>u},{L8:e=>{let t=(t,r)=>e(t).pipe(a.TjK(e=>o.g7H(r?.includeStderr===!0?e.all:e.stdout)),o.oAg),r=(e,r)=>o.uzs(t(e,r));return u.of({spawn:e,exitCode:t=>a.P1j(a.qIB(e(t),e=>e.exitCode)),streamString:t,streamLines:r,lines:(e,t)=>o.sZ3(r(e,t)),string:(e,r)=>o.kBx(t(e,r))})},hA:e=>Object.assign(Object.create(m),e),xv:c,yU:l})}},u={};function p(e){var t=u[e];if(void 0!==t)return t.exports;var r=u[e]={exports:{}};return m[e].call(r.exports,r,r.exports,p),r.exports}p.c=u,i=(r="function"==typeof Symbol)?Symbol("rspack queues"):"__rspack_queues",n=p.aE=r?Symbol("rspack exports"):"__webpack_exports__",a=r?Symbol("rspack error"):"__rspack_error",s=r?Symbol("rspack done"):"__rspack_done",o=p.zS=r?Symbol("rspack defer"):"__rspack_defer",p.zT=e=>{if(e.some(e=>{var t=u[e];return!t||!1===t[s]}))return{then:(t,r)=>Promise.all(e.map(p)).then(t,r)}},l=e=>{e&&e.d<1&&(e.d=1,e.forEach(e=>e.r--),e.forEach(e=>e.r--?e.r++:e()))},p.a=(e,t,r)=>{r&&((c=[]).d=-1);var c,d,m,u,h=new Set,g=e.exports,f=new Promise((e,t)=>{u=t,m=e});f[n]=g,f[i]=e=>{c&&e(c),h.forEach(e),f.catch(()=>{})},e.exports=f,t(e=>{d=e.map(e=>{if(null!==e&&"object"==typeof e){if(!e[i]&&e[o]){var t=p.zT(e[o]);if(!t)return e;var r=e;e={then(e,i){t.then(()=>e(r),i)}}}if(e[i])return e;if(e.then){var s=[];s.d=0,e.then(e=>{c[n]=e,l(s)},e=>{c[a]=e,l(s)});var c={};return c[o]=!1,c[i]=e=>e(s),c}}var d={};return d[i]=()=>{},d[n]=e,d});var t,r=()=>d.map(e=>{if(e[o])return e;if(e[a])throw e[a];return e[n]}),s=new Promise(e=>{(t=()=>e(r)).r=0;var n=e=>e!==c&&!h.has(e)&&(h.add(e),e&&!e.d&&(t.r++,e.push(t)));d.map(e=>e[o]||e[i](n))});return t.r?s:r()},e=>(e?u(f[a]=e):m(g),l(c),f[s]=!0)),c&&c.d<0&&(c.d=0)},d=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,p.t=function(e,t){if(1&t&&(e=this(e)),8&t||"object"==typeof e&&e&&(4&t&&e.__esModule||16&t&&"function"==typeof e.then))return e;var r=Object.create(null);p.r(r);var i={};c=c||[null,d({}),d([]),d(d)];for(var n=2&t&&e;("object"==typeof n||"function"==typeof n)&&!~c.indexOf(n);n=d(n))Object.getOwnPropertyNames(n).forEach(t=>{i[t]=()=>e[t]});return i.default=()=>e,p.d(r,i),r},p.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)p.o(t,i)&&!p.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},p.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),p.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h=p(6850),g=(h=await h).$7,f=h.hA,y=h.bE;export{g as PostLive,f as makePost,y as post}; \ No newline at end of file diff --git a/dist/turbo-server.js b/dist/turbo-server.js index 0f4d1d98..4ef49713 100644 --- a/dist/turbo-server.js +++ b/dist/turbo-server.js @@ -5,7 +5,7 @@ import{fileURLToPath as e}from"node:url";var t=e(import.meta.url);import{createR `;if(i.username||i.password){let e=`${decodeURIComponent(i.username)}:${decodeURIComponent(i.password)}`;s["Proxy-Authorization"]=`Basic ${Buffer.from(e).toString("base64")}`}for(let e of(s.Host=`${n}:${t.port}`,s["Proxy-Connection"]||(s["Proxy-Connection"]=this.keepAlive?"Keep-Alive":"close"),Object.keys(s)))o+=`${e}: ${s[e]}\r `;let c=(0,u.parseProxyResponse)(r);r.write(`${o}\r `);let{connect:d,buffered:g}=await c;if(e.emit("proxyConnect",d),this.emit("proxyConnect",d,e),200===d.statusCode)return(e.once("socket",C),t.secureEndpoint)?(h("Upgrading socket connection to TLS"),A.connect({...I(m(t),"host","path","port"),socket:r})):r;r.destroy();let p=new a.Socket({writable:!1});return p.readable=!0,e.once("socket",e=>{h("Replaying proxy buffer for failed request"),(0,l.default)(e.listenerCount("data")>0),e.push(g),e.push(null)}),p}}function C(e){e.resume()}function I(e,...t){let r,i={};for(r in e)t.includes(r)||(i[r]=e[r]);return i}p.protocols=["http","https"],t.HttpsProxyAgent=p},679(e,t,r){var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.parseProxyResponse=void 0;let s=(0,i(r(5243)).default)("https-proxy-agent:parse-proxy-response");t.parseProxyResponse=function(e){return new Promise((t,r)=>{let i=0,n=[];function o(){let A=e.read();A?function(A){n.push(A),i+=A.length;let l=Buffer.concat(n,i),c=l.indexOf("\r\n\r\n");if(-1===c){s("have not received end of HTTP headers yet..."),o();return}let d=l.slice(0,c).toString("ascii").split("\r\n"),g=d.shift();if(!g)return e.destroy(),r(Error("No header received from proxy CONNECT response"));let u=g.split(" "),h=+u[1],m=u.slice(2).join(" "),p={};for(let t of d){if(!t)continue;let i=t.indexOf(":");if(-1===i)return e.destroy(),r(Error(`Invalid header from proxy CONNECT response: "${t}"`));let s=t.slice(0,i).toLowerCase(),n=t.slice(i+1).trimStart(),o=p[s];"string"==typeof o?p[s]=[o,n]:Array.isArray(o)?o.push(n):p[s]=n}s("got proxy server response: %o %o",g,p),a(),t({connect:{statusCode:h,statusText:m,headers:p},buffered:l})}(A):e.once("readable",o)}function a(){e.removeListener("end",A),e.removeListener("error",l),e.removeListener("readable",o)}function A(){a(),s("onend"),r(Error("Proxy connection ended before receiving CONNECT response"))}function l(e){a(),s("onerror %o",e),r(e)}e.on("error",l),e.on("end",A),o()})}},9049(e){function t(e,t,r,i){return Math.round(e/r)+" "+i+(t>=1.5*r?"s":"")}e.exports=function(e,r){r=r||{};var i,s,n,o,a=typeof e;if("string"===a&&e.length>0){var A=e;if(!((A=String(A)).length>100)){var l=/^(-?(?:\d+)?\.?\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(A);if(l){var c=parseFloat(l[1]);switch((l[2]||"ms").toLowerCase()){case"years":case"year":case"yrs":case"yr":case"y":return 315576e5*c;case"weeks":case"week":case"w":return 6048e5*c;case"days":case"day":case"d":return 864e5*c;case"hours":case"hour":case"hrs":case"hr":case"h":return 36e5*c;case"minutes":case"minute":case"mins":case"min":case"m":return 6e4*c;case"seconds":case"second":case"secs":case"sec":case"s":return 1e3*c;case"milliseconds":case"millisecond":case"msecs":case"msec":case"ms":return c;default:break}}}return}if("number"===a&&isFinite(e)){return r.long?(s=Math.abs(i=e))>=864e5?t(i,s,864e5,"day"):s>=36e5?t(i,s,36e5,"hour"):s>=6e4?t(i,s,6e4,"minute"):s>=1e3?t(i,s,1e3,"second"):i+" ms":(o=Math.abs(n=e))>=864e5?Math.round(n/864e5)+"d":o>=36e5?Math.round(n/36e5)+"h":o>=6e4?Math.round(n/6e4)+"m":o>=1e3?Math.round(n/1e3)+"s":n+"ms"}throw Error("val is not a non-empty string or a valid number. val="+JSON.stringify(e))}},9478(e,t,r){let i,s=r(857),n=r(2018),o=r(1533),{env:a}=process;function A(e){return 0!==e&&{level:e,hasBasic:!0,has256:e>=2,has16m:e>=3}}function l(e,t){if(0===i)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(e&&!t&&void 0===i)return 0;let r=i||0;if("dumb"===a.TERM)return r;if("win32"===process.platform){let e=s.release().split(".");return Number(e[0])>=10&&Number(e[2])>=10586?Number(e[2])>=14931?3:2:1}if("CI"in a)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(e=>e in a)||"codeship"===a.CI_NAME?1:r;if("TEAMCITY_VERSION"in a)return+!!/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(a.TEAMCITY_VERSION);if("truecolor"===a.COLORTERM)return 3;if("TERM_PROGRAM"in a){let e=parseInt((a.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(a.TERM_PROGRAM){case"iTerm.app":return e>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(a.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(a.TERM)||"COLORTERM"in a?1:r}o("no-color")||o("no-colors")||o("color=false")||o("color=never")?i=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(i=1),"FORCE_COLOR"in a&&(i="true"===a.FORCE_COLOR?1:"false"===a.FORCE_COLOR?0:0===a.FORCE_COLOR.length?1:Math.min(parseInt(a.FORCE_COLOR,10),3)),e.exports={supportsColor:function(e){return A(l(e,e&&e.isTTY))},stdout:A(l(!0,n.isatty(1))),stderr:A(l(!0,n.isatty(2)))}},3006(e,r,i){i(5183);let s=i(6873);i(6334),i(4967),i(1326);let n=i(5891);i(6400),i(3614),i(9741),i(9003),i(8392),i(473);let o=i(8065),a=i(1210),{InvalidArgumentError:A}=o,l=i(8769);i(5010),i(375);let{MockCallHistory:c,MockCallHistoryLog:d}=i(2137);i(6923),i(8182),i(2817),i(8531),i(4166);let{getGlobalDispatcher:g,setGlobalDispatcher:u}=i(8023);function h(e){return(t,r,i)=>{if("function"==typeof r&&(i=r,r=null),!t||"string"!=typeof t&&"object"!=typeof t&&!(t instanceof URL))throw new A("invalid url");if(null!=r&&"object"!=typeof r)throw new A("invalid opts");if(r&&null!=r.path){if("string"!=typeof r.path)throw new A("invalid opts.path");let e=r.path;r.path.startsWith("/")||(e=`/${e}`),t=new URL(a.parseOrigin(t).origin+e)}else r||(r="object"==typeof t?t:{}),t=a.parseURL(t);let{agent:s,dispatcher:n=g(),...o}=r;if(s)throw new A("unsupported opts.agent. Did you mean opts.client?");return e.call(n,{...o,origin:t.origin,path:t.search?`${t.pathname}${t.search}`:t.pathname,method:r.method||(r.body?"PUT":"GET")},i)}}i(2645),i(7424),Object.assign(s.prototype,l),e.exports.g6=n,i(7884),i(3128),i(9620),i(5850),i(4053),i(6056),i(9287),i(7870),i(415),i(7068),a.parseHeaders,a.headerNameToString;let m=i(7564).fetch;e.exports.hd=function(r,i){return m(r,i).catch(r=>{throw t?!function e(t,r){if(!t||"object"!=typeof t)return;let i="string"==typeof t.stack?t.stack:"",s=r.replace(/\\/g,"/");if(i&&(i.includes(r)||i.includes(s)))return;let n={};if(Error.captureStackTrace(n,e),!n.stack)return;let o=n.stack.split("\n").slice(1).join("\n");t.stack=i?`${i} -${o}`:n.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.hd),r})},e.exports.Lr=i(3470).Headers,e.exports.YK=i(165).Response,e.exports.Kd=i(9553).Request,e.exports.fS=i(1304).FormData;let{setGlobalOrigin:p,getGlobalOrigin:C}=i(1045),{CacheStorage:I}=i(3691),{kConstruct:E}=i(3025);new I(E);let{deleteCookie:f,getCookies:B,getSetCookies:y,setCookie:Q,parseCookie:N}=i(5823),{parseMIMEType:b,serializeAMimeType:S}=i(3518),{CloseEvent:w,ErrorEvent:D,MessageEvent:x}=i(7342),{WebSocket:R,ping:M}=i(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=D,e.exports.aM=x,i(3867).WebSocketStream,i(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:k}=i(7288);e.exports.GD=k},4032(e,t,r){let{addAbortListener:i}=r(1210),{RequestAbortedError:s}=r(8065),n=Symbol("kListener"),o=Symbol("kSignal");function a(e){e.abort?e.abort(e[o]?.reason):e.reason=e[o]?.reason??new s,A(e)}function A(e){e[o]&&("removeEventListener"in e[o]?e[o].removeEventListener("abort",e[n]):e[o].removeListener("abort",e[n]),e[o]=null,e[n]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[o]=null,e[n]=null,t){if(t.aborted)return void a(e);e[o]=t,e[n]=()=>{a(e)},i(e[o],e[n])}},removeSignal:A}},5854(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{InvalidArgumentError:n,SocketError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new n("invalid opts");if("function"!=typeof t)throw new n("invalid callback");let{signal:r,opaque:i,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new o("bad connect",null)}onRequestUpgrade(e,t,r,i){let{callback:s,opaque:n,context:o}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?a.parseRawHeaders(c):r),this.runInAsyncScope(s,null,null,{statusCode:t,headers:A,socket:i,opaque:n,context:o})}onResponseError(e,t){let{callback:r,opaque:i}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r),i={...t,method:"CONNECT"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},4372(e,t,r){let{Readable:i,Duplex:s,PassThrough:n}=r(7075),o=r(4589),{AsyncResource:a}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:g}=r(3025),{addSignal:u,removeSignal:h}=r(4032);function m(){}let p=Symbol("resume");class C extends i{constructor(){super({autoDestroy:!0}),this[p]=null,this[g]=!0}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}}class I extends i{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class E extends a{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:i,opaque:n,onInfo:o,responseHeaders:a}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new A("invalid method");if(o&&"function"!=typeof o)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=n||null,this.responseHeaders=a||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new C().on("error",m),this.ret=new s({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:i}=this;i.push(e,t)||i._readableState.destroyed?r():i[p]=r},destroy:(e,t)=>{let{body:r,req:i,res:s,ret:n,abort:o}=this;e||n._readableState.endEmitted||(e=new c),o&&e&&o(),d.destroy(r,e),d.destroy(i,e),d.destroy(s,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(o(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let s,{opaque:n,handler:o,context:a}=this;if(t<200){if(this.onInfo){let i=e?.rawHeaders,s="raw"===this.responseHeaders?d.parseRawHeaders(i):r;this.onInfo({statusCode:t,headers:s})}return}this.res=new I(()=>e.resume());try{this.handler=null;let i=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(i):r;s=this.runInAsyncScope(o,null,{statusCode:t,headers:A,opaque:n,body:this.res,context:a})}catch(e){throw this.res.on("error",m),e}if(!s||"function"!=typeof s.on)throw new l("expected Readable");s.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=s}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new E(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new n().destroy(e)}}},2545(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{Readable:n}=r(7769),{InvalidArgumentError:o,RequestAbortedError:a}=r(8065),A=r(1210);function l(){}class c extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new o("invalid opts");let{signal:r,method:i,opaque:s,body:n,onInfo:c,responseHeaders:d,highWaterMark:g}=e;try{if("function"!=typeof t)throw new o("invalid callback");if(null!=g&&(!Number.isFinite(g)||g<0))throw new o("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new o("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new o("invalid method");if(c&&"function"!=typeof c)throw new o("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(n)&&A.destroy(n.on("error",l),e),e}this.method=i,this.responseHeaders=d||null,this.opaque=s||null,this.callback=t,this.res=null,this.abort=null,this.body=n,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=g,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new a:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new a,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let{callback:s,opaque:o,context:a,responseHeaders:c,highWaterMark:d}=this,g=e?.rawHeaders,u="raw"===c?A.parseRawHeaders(g):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}let h=r?.["content-type"],m=r?.["content-length"],p=new n({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener&&(p.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=p,null!==s)try{this.runInAsyncScope(s,null,null,{statusCode:t,statusText:i,headers:u,trailers:this.trailers,opaque:o,body:p,context:a})}catch(e){this.res=null,A.destroy(p.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:i,body:s,opaque:n}=this;i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:n})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),s&&(this.body=null,A.isStream(s)&&(s.on("error",l),A.destroy(s,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{InvalidArgumentError:n,InvalidReturnValueError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends s{constructor(e,t,r){if(!e||"object"!=typeof e)throw new n("invalid opts");let{signal:i,method:s,opaque:o,body:l,onInfo:d,responseHeaders:g}=e;try{if("function"!=typeof r)throw new n("invalid callback");if("function"!=typeof t)throw new n("invalid factory");if(i&&"function"!=typeof i.on&&"function"!=typeof i.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");if("CONNECT"===s)throw new n("invalid method");if(d&&"function"!=typeof d)throw new n("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw a.isStream(l)&&a.destroy(l.on("error",c),e),e}this.responseHeaders=g||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,a.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,i)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){var s;let n,A,l,c,d,{factory:g,opaque:u,context:h,responseHeaders:m}=this,p=e?.rawHeaders,C="raw"===m?a.parseRawHeaders(p):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:C});return}if(this.factory=null,null===g)return;let I=this.runInAsyncScope(g,null,{statusCode:t,headers:C,opaque:u,context:h});if(!I||"function"!=typeof I.write||"function"!=typeof I.end||"function"!=typeof I.on)throw new o("expected Writable");s=(e,t)=>{let{callback:r,res:i,opaque:s,trailers:n,abort:o}=this;this.res=null,(e||!i?.readable)&&a.destroy(i,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:s,trailers:n}),e&&o(e)},n=!1,A=(e,t=!1)=>{n||(n=!0,I.removeListener("close",l),I.removeListener("error",c),I.removeListener("finish",d),s(e,t))},l=()=>{let e;A(I.errored??I.writableErrored??I._writableState?.errored??(I.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),I.on("close",l),I.on("error",c),I.on("finish",d),I.closed?process.nextTick(l):I.writableFinished&&process.nextTick(d),I.on("drain",()=>e.resume()),this.res=I,!0===(void 0!==I.writableNeedDrain?I.writableNeedDrain:I._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:i,opaque:s,body:n}=this;l(this),this.factory=null,r?(this.res=null,a.destroy(r,t)):i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:s})})),n&&(this.body=null,a.destroy(n,t))}}e.exports=function e(t,r,i){if(void 0===i)return new Promise((i,s)=>{e.call(this,t,r,(e,t)=>e?s(e):i(t))});try{let e=new d(t,r,i);this.dispatch(t,e)}catch(r){if("function"!=typeof i)throw r;let e=t?.opaque;queueMicrotask(()=>i(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:i,SocketError:s}=r(8065),{AsyncResource:n}=r(6698),o=r(4589),a=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new i("invalid opts");if("function"!=typeof t)throw new i("invalid callback");let{signal:r,opaque:s,responseHeaders:n}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new i("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=n||null,this.opaque=s||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(o(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new s("bad upgrade",null)}onRequestUpgrade(e,t,r,i){if(t!==(!0===i[A]?200:101)){let t=!0===i[A]?null:a.getSocketInfo(i);e.abort(new s("bad upgrade",t));return}let{callback:n,opaque:o,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,g="raw"===this.responseHeaders?a.parseRawHeaders(d):r;this.runInAsyncScope(n,null,null,{headers:g,socket:i,opaque:o,context:l})}onResponseError(e,t){let{callback:r,opaque:i}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new d(t,r),i={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let i=r(4589),{addAbortListener:s}=r(8474),{Readable:n}=r(7075),{RequestAbortedError:o,NotSupportedError:a,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),g=Symbol("kConsume"),u=Symbol("kReading"),h=Symbol("kBody"),m=Symbol("kAbort"),p=Symbol("kContentType"),C=Symbol("kContentLength"),I=Symbol("kUsed"),E=Symbol("kBytesRead"),f=Symbol("kPreservedBuffer"),B=()=>{};function y(e,t){return i(!e[g]),new Promise((r,i)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[g]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",i).on("close",()=>{i(TypeError("unusable"))}):i(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[g]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]},e.on("error",function(e){w(this[g],e)}).on("close",function(){null!==this[g].body&&w(this[g],new o)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[f];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[f]=null}else if(t.bufferIndex){let r=t.bufferIndex,i=t.buffer.length;for(let s=r;s<i;s++)S(e,t.buffer[s])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?b(this[g],this._readableState.encoding):e.stream.on("end",function(){b(this[g],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[g])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let i=1===e.length?e[0]:Buffer.concat(e,t),s=i.length,n=3*(s>2&&239===i[0]&&187===i[1]&&191===i[2]);return r&&"utf8"!==r&&"utf-8"!==r?i.subarray(n,s).toString(r):i.utf8Slice(n,s)}function N(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),i=0;for(let t=0;t<e.length;++t){let s=e[t];r.set(s,i),i+=s.length}return r}function b(e,t){let{type:r,body:i,resolve:s,stream:n,length:o}=e;try{"text"===r?s(Q(i,o,t)):"json"===r?s(JSON.parse(Q(i,o,t))):"arrayBuffer"===r?s(N(i,o).buffer):"blob"===r?s(new Blob(i,{type:n[p]})):"bytes"===r&&s(N(i,o)),w(e)}catch(e){n.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends n{constructor({resume:e,abort:t,contentType:r="",contentLength:i,highWaterMark:s=65536}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[m]=t,this[g]=null,this[E]=0,this[h]=null,this[I]=!1,this[p]=r,this[C]=Number.isFinite(i)?i:null,this[u]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new o),e&&this[m](),this[I]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[u]=!0,this[I]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[E]+=e.length,this[g])?(S(this[g],e),!this[u]||super.push(e)):super.push(e)}text(){return y(this,"text")}json(){return y(this,"json")}blob(){return y(this,"blob")}bytes(){return y(this,"bytes")}arrayBuffer(){return y(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[g]&&(this[h].getReader(),i(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,i)=>{if((this[C]&&this[C]>r||this[E]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},n=s(t,r);this.on("close",function(){n[Symbol.dispose](),t.aborted?i(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",B).on("data",()=>{this[E]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,i=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&i.push(t);i.length>0&&(this[f]=(this[f]||[]).concat(i))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:i}=r(7075),{EventEmitter:s}=r(8474),{assertCacheKey:n,assertCacheValue:o}=r(8621);class a extends s{#e=1024;#t=0x6400000;#r=5242880;#i=0;#s=0;#n=new Map;#o=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#i}isFull(){return this.#i>=this.#t||this.#s>=this.#e}get(e){n(e);let t=`${e.origin}:${e.path}`,r=Date.now(),i=this.#n.get(t),s=i?A(e,i,r):null;return null==s?void 0:{statusMessage:s.statusMessage,statusCode:s.statusCode,headers:s.headers,body:s.body,vary:s.vary?s.vary:void 0,etag:s.etag,cacheControlDirectives:s.cacheControlDirectives,cachedAt:s.cachedAt,staleAt:s.staleAt,deleteAt:s.deleteAt}}createWriteStream(e,t){n(e),o(t);let r=`${e.origin}:${e.path}`,s=this,a={...e,...t,body:[],size:0};return new i({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),a.size+=e.byteLength,a.size>s.#r?this.destroy():a.body.push(e),r(null)},final(t){let i=s.#n.get(r);i||(i=[],s.#n.set(r,i));let n=A(e,i,Date.now());if(n){let e=i.indexOf(n);i.splice(e,1,a),s.#i-=n.size}else i.push(a),s.#s+=1;if(s.#i+=a.size,s.#i>s.#t||s.#s>s.#e){for(let[e,t]of(s.#o||(s.emit("maxSizeExceeded",{size:s.#i,maxSize:s.#t,count:s.#s,maxCount:s.#e}),s.#o=!0),s.#n)){for(let e of t.splice(0,t.length/2))s.#i-=e.size,s.#s-=1;0===t.length&&s.#n.delete(e)}s.#i<s.#t&&s.#s<s.#e&&(s.#o=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#n.get(t)??[])this.#i-=e.size,this.#s-=1;this.#n.delete(t)}}function A(e,t,r){for(let i=0;i<t.length;i++){let s=t[i];if(s.deleteAt>r&&s.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,s))return s}}e.exports=a},7068(e,t,r){let i,{Writable:s}=r(7075),{assertCacheKey:n,assertCacheValue:o}=r(8621);e.exports=class{#r=2e9;#e=1/0;#a;#A;#l;#c;#d;#g;#u;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}i||(i=r(99).DatabaseSync),this.#a=new i(e?.location??":memory:"),this.#a.exec(` +${o}`:n.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.hd),r})},e.exports.Lr=i(3470).Headers,e.exports.YK=i(165).Response,e.exports.Kd=i(9553).Request,e.exports.fS=i(1304).FormData;let{setGlobalOrigin:p,getGlobalOrigin:C}=i(1045),{CacheStorage:I}=i(3691),{kConstruct:f}=i(3025);new I(f);let{deleteCookie:E,getCookies:B,getSetCookies:y,setCookie:Q,parseCookie:N}=i(5823),{parseMIMEType:b,serializeAMimeType:S}=i(3518),{CloseEvent:w,ErrorEvent:D,MessageEvent:x}=i(7342),{WebSocket:R,ping:M}=i(3512);e.exports.kb=R,e.exports.rd=w,e.exports.NN=D,e.exports.aM=x,i(3867).WebSocketStream,i(7245).WebSocketError,h(l.request),h(l.stream),h(l.pipeline),h(l.connect),h(l.upgrade);let{EventSource:k}=i(7288);e.exports.GD=k},4032(e,t,r){let{addAbortListener:i}=r(1210),{RequestAbortedError:s}=r(8065),n=Symbol("kListener"),o=Symbol("kSignal");function a(e){e.abort?e.abort(e[o]?.reason):e.reason=e[o]?.reason??new s,A(e)}function A(e){e[o]&&("removeEventListener"in e[o]?e[o].removeEventListener("abort",e[n]):e[o].removeListener("abort",e[n]),e[o]=null,e[n]=null)}e.exports={addSignal:function(e,t){if(e.reason=null,e[o]=null,e[n]=null,t){if(t.aborted)return void a(e);e[o]=t,e[n]=()=>{a(e)},i(e[o],e[n])}},removeSignal:A}},5854(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{InvalidArgumentError:n,SocketError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);class c extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new n("invalid opts");if("function"!=typeof t)throw new n("invalid callback");let{signal:r,opaque:i,responseHeaders:s}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");super("UNDICI_CONNECT"),this.opaque=i||null,this.responseHeaders=s||null,this.callback=t,this.abort=null,A(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new o("bad connect",null)}onRequestUpgrade(e,t,r,i){let{callback:s,opaque:n,context:o}=this;l(this),this.callback=null;let A=r,c=e?.rawHeaders;null!=A&&(A="raw"===this.responseHeaders?a.parseRawHeaders(c):r),this.runInAsyncScope(s,null,null,{statusCode:t,headers:A,socket:i,opaque:n,context:o})}onResponseError(e,t){let{callback:r,opaque:i}=this;l(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r),i={...t,method:"CONNECT"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},4372(e,t,r){let{Readable:i,Duplex:s,PassThrough:n}=r(7075),o=r(4589),{AsyncResource:a}=r(6698),{InvalidArgumentError:A,InvalidReturnValueError:l,RequestAbortedError:c}=r(8065),d=r(1210),{kBodyUsed:g}=r(3025),{addSignal:u,removeSignal:h}=r(4032);function m(){}let p=Symbol("resume");class C extends i{constructor(){super({autoDestroy:!0}),this[p]=null,this[g]=!0}_read(){let{[p]:e}=this;e&&(this[p]=null,e())}_destroy(e,t){this._read(),t(e)}}class I extends i{constructor(e){super({autoDestroy:!0}),this[p]=e}_read(){this[p]()}_destroy(e,t){e||this._readableState.endEmitted||(e=new c),t(e)}}class f extends a{constructor(e,t){if(!e||"object"!=typeof e)throw new A("invalid opts");if("function"!=typeof t)throw new A("invalid handler");let{signal:r,method:i,opaque:n,onInfo:o,responseHeaders:a}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new A("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new A("invalid method");if(o&&"function"!=typeof o)throw new A("invalid onInfo callback");super("UNDICI_PIPELINE"),this.opaque=n||null,this.responseHeaders=a||null,this.handler=t,this.abort=null,this.context=null,this.onInfo=o||null,this.req=new C().on("error",m),this.ret=new s({readableObjectMode:e.objectMode,autoDestroy:!0,read:()=>{let{body:e}=this;e?.resume&&e.resume()},write:(e,t,r)=>{let{req:i}=this;i.push(e,t)||i._readableState.destroyed?r():i[p]=r},destroy:(e,t)=>{let{body:r,req:i,res:s,ret:n,abort:o}=this;e||n._readableState.endEmitted||(e=new c),o&&e&&o(),d.destroy(r,e),d.destroy(i,e),d.destroy(s,e),h(this),t(e)}}).on("prefinish",()=>{let{req:e}=this;e.push(null)}),this.res=null,u(this,r)}onRequestStart(e,t){let{res:r}=this;this.reason?e.abort(this.reason):(o(!r,"pipeline cannot be retried"),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let s,{opaque:n,handler:o,context:a}=this;if(t<200){if(this.onInfo){let i=e?.rawHeaders,s="raw"===this.responseHeaders?d.parseRawHeaders(i):r;this.onInfo({statusCode:t,headers:s})}return}this.res=new I(()=>e.resume());try{this.handler=null;let i=e?.rawHeaders,A="raw"===this.responseHeaders?d.parseRawHeaders(i):r;s=this.runInAsyncScope(o,null,{statusCode:t,headers:A,opaque:n,body:this.res,context:a})}catch(e){throw this.res.on("error",m),e}if(!s||"function"!=typeof s.on)throw new l("expected Readable");s.on("data",e=>{let{ret:t,body:r}=this;!t.push(e)&&r.pause&&r.pause()}).on("error",e=>{let{ret:t}=this;d.destroy(t,e)}).on("end",()=>{let{ret:e}=this;e.push(null)}).on("close",()=>{let{ret:e}=this;e._readableState.ended||d.destroy(e,new c)}),this.body=s}onResponseData(e,t){let{res:r}=this;!1===r.push(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;r.push(null)}onResponseError(e,t){let{ret:r}=this;this.handler=null,d.destroy(r,t)}}e.exports=function(e,t){try{let r=new f(e,t);return this.dispatch({...e,body:r.req},r),r.ret}catch(e){return new n().destroy(e)}}},2545(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{Readable:n}=r(7769),{InvalidArgumentError:o,RequestAbortedError:a}=r(8065),A=r(1210);function l(){}class c extends s{constructor(e,t){if(!e||"object"!=typeof e)throw new o("invalid opts");let{signal:r,method:i,opaque:s,body:n,onInfo:c,responseHeaders:d,highWaterMark:g}=e;try{if("function"!=typeof t)throw new o("invalid callback");if(null!=g&&(!Number.isFinite(g)||g<0))throw new o("invalid highWaterMark");if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new o("signal must be an EventEmitter or EventTarget");if("CONNECT"===i)throw new o("invalid method");if(c&&"function"!=typeof c)throw new o("invalid onInfo callback");super("UNDICI_REQUEST")}catch(e){throw A.isStream(n)&&A.destroy(n.on("error",l),e),e}this.method=i,this.responseHeaders=d||null,this.opaque=s||null,this.callback=t,this.res=null,this.abort=null,this.body=n,this.trailers={},this.context=null,this.controller=null,this.onInfo=c||null,this.highWaterMark=g,this.reason=null,this.removeAbortListener=null,r?.aborted?this.reason=r.reason??new a:r&&(this.removeAbortListener=A.addAbortListener(r,()=>{if(this.reason=r.reason??new a,this.res){let e=this.res;this.res=null,A.destroy(e.on("error",l),this.reason)}else this.abort&&this.abort(this.reason)}))}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){let{callback:s,opaque:o,context:a,responseHeaders:c,highWaterMark:d}=this,g=e?.rawHeaders,u="raw"===c?A.parseRawHeaders(g):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:u});return}let h=r?.["content-type"],m=r?.["content-length"],p=new n({resume:()=>e.resume(),abort:t=>e.abort(t),contentType:h,contentLength:"HEAD"!==this.method&&m?Number(m):null,highWaterMark:d});if(this.removeAbortListener&&(p.on("close",this.removeAbortListener),this.removeAbortListener=null),this.callback=null,this.res=p,null!==s)try{this.runInAsyncScope(s,null,null,{statusCode:t,statusText:i,headers:u,trailers:this.trailers,opaque:o,body:p,context:a})}catch(e){this.res=null,A.destroy(p.on("error",l),e),queueMicrotask(()=>{throw e})}}onResponseData(e,t){this.res&&!1===this.res.push(t)&&e.pause()}onResponseEnd(e,t){if(t&&"object"==typeof t)for(let e of Object.keys(t))"__proto__"===e?Object.defineProperty(this.trailers,e,{value:t[e],enumerable:!0,configurable:!0,writable:!0}):this.trailers[e]=t[e];this.res?.push(null)}onResponseError(e,t){let{res:r,callback:i,body:s,opaque:n}=this;i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:n})})),r&&(this.res=null,queueMicrotask(()=>{A.destroy(r.on("error",l),t)})),s&&(this.body=null,A.isStream(s)&&(s.on("error",l),A.destroy(s,t))),this.removeAbortListener&&(this.removeAbortListener(),this.removeAbortListener=null)}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new c(t,r);this.dispatch(t,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}},e.exports.RequestHandler=c},1682(e,t,r){let i=r(4589),{AsyncResource:s}=r(6698),{InvalidArgumentError:n,InvalidReturnValueError:o}=r(8065),a=r(1210),{addSignal:A,removeSignal:l}=r(4032);function c(){}class d extends s{constructor(e,t,r){if(!e||"object"!=typeof e)throw new n("invalid opts");let{signal:i,method:s,opaque:o,body:l,onInfo:d,responseHeaders:g}=e;try{if("function"!=typeof r)throw new n("invalid callback");if("function"!=typeof t)throw new n("invalid factory");if(i&&"function"!=typeof i.on&&"function"!=typeof i.addEventListener)throw new n("signal must be an EventEmitter or EventTarget");if("CONNECT"===s)throw new n("invalid method");if(d&&"function"!=typeof d)throw new n("invalid onInfo callback");super("UNDICI_STREAM")}catch(e){throw a.isStream(l)&&a.destroy(l.on("error",c),e),e}this.responseHeaders=g||null,this.opaque=o||null,this.factory=t,this.callback=r,this.res=null,this.abort=null,this.context=null,this.controller=null,this.trailers=null,this.body=l,this.onInfo=d||null,a.isStream(l)&&l.on("error",e=>{this.onResponseError(this.controller,e)}),A(this,i)}onRequestStart(e,t){this.reason?e.abort(this.reason):(i(this.callback),this.controller=e,this.abort=t=>e.abort(t),this.context=t)}onResponseStart(e,t,r,i){var s;let n,A,l,c,d,{factory:g,opaque:u,context:h,responseHeaders:m}=this,p=e?.rawHeaders,C="raw"===m?a.parseRawHeaders(p):r;if(t<200){this.onInfo&&this.onInfo({statusCode:t,headers:C});return}if(this.factory=null,null===g)return;let I=this.runInAsyncScope(g,null,{statusCode:t,headers:C,opaque:u,context:h});if(!I||"function"!=typeof I.write||"function"!=typeof I.end||"function"!=typeof I.on)throw new o("expected Writable");s=(e,t)=>{let{callback:r,res:i,opaque:s,trailers:n,abort:o}=this;this.res=null,(e||!i?.readable)&&a.destroy(i,t?void 0:e),this.callback=null,this.runInAsyncScope(r,null,e||null,{opaque:s,trailers:n}),e&&o(e)},n=!1,A=(e,t=!1)=>{n||(n=!0,I.removeListener("close",l),I.removeListener("error",c),I.removeListener("finish",d),s(e,t))},l=()=>{let e;A(I.errored??I.writableErrored??I._writableState?.errored??(I.writableFinished?void 0:((e=Error("Premature close")).code="ERR_STREAM_PREMATURE_CLOSE",e)))},c=e=>A(e,!0),d=()=>A(),I.on("close",l),I.on("error",c),I.on("finish",d),I.closed?process.nextTick(l):I.writableFinished&&process.nextTick(d),I.on("drain",()=>e.resume()),this.res=I,!0===(void 0!==I.writableNeedDrain?I.writableNeedDrain:I._writableState?.needDrain)&&e.pause()}onResponseData(e,t){let{res:r}=this;r&&!1===r.write(t)&&e.pause()}onResponseEnd(e,t){let{res:r}=this;l(this),r&&(t&&"object"==typeof t&&(this.trailers=t),r.end())}onResponseError(e,t){let{res:r,callback:i,opaque:s,body:n}=this;l(this),this.factory=null,r?(this.res=null,a.destroy(r,t)):i&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(i,null,t,{opaque:s})})),n&&(this.body=null,a.destroy(n,t))}}e.exports=function e(t,r,i){if(void 0===i)return new Promise((i,s)=>{e.call(this,t,r,(e,t)=>e?s(e):i(t))});try{let e=new d(t,r,i);this.dispatch(t,e)}catch(r){if("function"!=typeof i)throw r;let e=t?.opaque;queueMicrotask(()=>i(r,{opaque:e}))}}},6128(e,t,r){let{InvalidArgumentError:i,SocketError:s}=r(8065),{AsyncResource:n}=r(6698),o=r(4589),a=r(1210),{kHTTP2Stream:A}=r(3025),{addSignal:l,removeSignal:c}=r(4032);class d extends n{constructor(e,t){if(!e||"object"!=typeof e)throw new i("invalid opts");if("function"!=typeof t)throw new i("invalid callback");let{signal:r,opaque:s,responseHeaders:n}=e;if(r&&"function"!=typeof r.on&&"function"!=typeof r.addEventListener)throw new i("signal must be an EventEmitter or EventTarget");super("UNDICI_UPGRADE"),this.responseHeaders=n||null,this.opaque=s||null,this.callback=t,this.abort=null,this.context=null,l(this,r)}onRequestStart(e,t){this.reason?e.abort(this.reason):(o(this.callback),this.abort=t=>e.abort(t),this.context=t)}onResponseStart(){throw new s("bad upgrade",null)}onRequestUpgrade(e,t,r,i){if(t!==(!0===i[A]?200:101)){let t=!0===i[A]?null:a.getSocketInfo(i);e.abort(new s("bad upgrade",t));return}let{callback:n,opaque:o,context:l}=this;c(this),this.callback=null;let d=e?.rawHeaders,g="raw"===this.responseHeaders?a.parseRawHeaders(d):r;this.runInAsyncScope(n,null,null,{headers:g,socket:i,opaque:o,context:l})}onResponseError(e,t){let{callback:r,opaque:i}=this;c(this),r&&(this.callback=null,queueMicrotask(()=>{this.runInAsyncScope(r,null,t,{opaque:i})}))}}e.exports=function e(t,r){if(void 0===r)return new Promise((r,i)=>{e.call(this,t,(e,t)=>e?i(e):r(t))});try{let e=new d(t,r),i={...t,method:t.method||"GET",upgrade:t.protocol||"Websocket"};this.dispatch(i,e)}catch(i){if("function"!=typeof r)throw i;let e=t?.opaque;queueMicrotask(()=>r(i,{opaque:e}))}}},8769(e,t,r){e.exports.request=r(2545),e.exports.stream=r(1682),e.exports.pipeline=r(4372),e.exports.upgrade=r(6128),e.exports.connect=r(5854)},7769(e,t,r){let i=r(4589),{addAbortListener:s}=r(8474),{Readable:n}=r(7075),{RequestAbortedError:o,NotSupportedError:a,InvalidArgumentError:A,AbortError:l}=r(8065),c=r(1210),{ReadableStreamFrom:d}=r(1210),g=Symbol("kConsume"),u=Symbol("kReading"),h=Symbol("kBody"),m=Symbol("kAbort"),p=Symbol("kContentType"),C=Symbol("kContentLength"),I=Symbol("kUsed"),f=Symbol("kBytesRead"),E=Symbol("kPreservedBuffer"),B=()=>{};function y(e,t){return i(!e[g]),new Promise((r,i)=>{if(c.isDisturbed(e)||e[h]?.locked===!0||null!==e[g]){let t=e._readableState;t.destroyed&&!1===t.closeEmitted?e.on("error",i).on("close",()=>{i(TypeError("unusable"))}):i(t.errored??TypeError("unusable"))}else queueMicrotask(()=>{e[g]={type:t,stream:e,resolve:r,reject:i,length:0,body:[]},e.on("error",function(e){w(this[g],e)}).on("close",function(){null!==this[g].body&&w(this[g],new o)}),function(e){if(null===e.body)return;let{_readableState:t}=e.stream,r=e.stream[E];if(r&&r.length>0){for(let t of r)S(e,t);e.stream[E]=null}else if(t.bufferIndex){let r=t.bufferIndex,i=t.buffer.length;for(let s=r;s<i;s++)S(e,t.buffer[s])}else for(let r of t.buffer)S(e,r);for(t.endEmitted?b(this[g],this._readableState.encoding):e.stream.on("end",function(){b(this[g],this._readableState.encoding)}),e.stream.resume();null!=e.stream.read(););}(e[g])})})}function Q(e,t,r){if(0===e.length||0===t)return"";let i=1===e.length?e[0]:Buffer.concat(e,t),s=i.length,n=3*(s>2&&239===i[0]&&187===i[1]&&191===i[2]);return r&&"utf8"!==r&&"utf-8"!==r?i.subarray(n,s).toString(r):i.utf8Slice(n,s)}function N(e,t){if(0===e.length||0===t)return new Uint8Array(0);if(1===e.length)return new Uint8Array(e[0]);let r=new Uint8Array(Buffer.allocUnsafeSlow(t).buffer),i=0;for(let t=0;t<e.length;++t){let s=e[t];r.set(s,i),i+=s.length}return r}function b(e,t){let{type:r,body:i,resolve:s,stream:n,length:o}=e;try{"text"===r?s(Q(i,o,t)):"json"===r?s(JSON.parse(Q(i,o,t))):"arrayBuffer"===r?s(N(i,o).buffer):"blob"===r?s(new Blob(i,{type:n[p]})):"bytes"===r&&s(N(i,o)),w(e)}catch(e){n.destroy(e)}}function S(e,t){null!==e.body&&(e.length+=t.length,e.body.push(t))}function w(e,t){null!==e.body&&(t?e.reject(t):e.resolve(),e.type=null,e.stream=null,e.resolve=null,e.reject=null,e.length=0,e.body=null)}e.exports={Readable:class extends n{constructor({resume:e,abort:t,contentType:r="",contentLength:i,highWaterMark:s=65536}){super({autoDestroy:!0,read:e,highWaterMark:s}),this._readableState.dataEmitted=!1,this[m]=t,this[g]=null,this[f]=0,this[h]=null,this[I]=!1,this[p]=r,this[C]=Number.isFinite(i)?i:null,this[u]=!1}_destroy(e,t){e||this._readableState.endEmitted||(e=new o),e&&this[m](),this[I]?t(e):setImmediate(t,e)}on(e,t){return("data"===e||"readable"===e)&&(this[u]=!0,this[I]=!0),super.on(e,t)}addListener(e,t){return this.on(e,t)}off(e,t){let r=super.off(e,t);return("data"===e||"readable"===e)&&(this[u]=this.listenerCount("data")>0||this.listenerCount("readable")>0),r}removeListener(e,t){return this.off(e,t)}push(e){return e&&(this[f]+=e.length,this[g])?(S(this[g],e),!this[u]||super.push(e)):super.push(e)}text(){return y(this,"text")}json(){return y(this,"json")}blob(){return y(this,"blob")}bytes(){return y(this,"bytes")}arrayBuffer(){return y(this,"arrayBuffer")}async formData(){throw new a}get bodyUsed(){return c.isDisturbed(this)}get body(){return!this[h]&&(this[h]=d(this),this[g]&&(this[h].getReader(),i(this[h].locked))),this[h]}dump(e){let t=e?.signal;if(null!=t&&("object"!=typeof t||!("aborted"in t)))return Promise.reject(new A("signal must be an AbortSignal"));let r=e?.limit&&Number.isFinite(e.limit)?e.limit:131072;return t?.aborted?Promise.reject(t.reason??new l):this._readableState.closeEmitted?Promise.resolve(null):new Promise((e,i)=>{if((this[C]&&this[C]>r||this[f]>r)&&this.destroy(new l),t){let r=()=>{this.destroy(t.reason??new l)},n=s(t,r);this.on("close",function(){n[Symbol.dispose](),t.aborted?i(t.reason??new l):e(null)})}else this.on("close",e);this.on("error",B).on("data",()=>{this[f]>r&&this.destroy()}).resume()})}setEncoding(e){if(Buffer.isEncoding(e)){let t=this._readableState,r=t.buffer;if(r&&t.length>0){let e=t.bufferIndex??0,i=[];for(let t of"function"==typeof r.slice?r.slice(e):r)Buffer.isBuffer(t)&&i.push(t);i.length>0&&(this[E]=(this[E]||[]).concat(i))}super.setEncoding(e)}return this}},chunksDecode:Q}},415(e,t,r){let{Writable:i}=r(7075),{EventEmitter:s}=r(8474),{assertCacheKey:n,assertCacheValue:o}=r(8621);class a extends s{#e=1024;#t=0x6400000;#r=5242880;#i=0;#s=0;#n=new Map;#o=!1;constructor(e){if(super(),e){if("object"!=typeof e)throw TypeError("MemoryCacheStore options must be an object");if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("MemoryCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}if(void 0!==e.maxSize){if("number"!=typeof e.maxSize||!Number.isInteger(e.maxSize)||e.maxSize<0)throw TypeError("MemoryCacheStore options.maxSize must be a non-negative integer");this.#t=e.maxSize}if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("MemoryCacheStore options.maxEntrySize must be a non-negative integer");this.#r=e.maxEntrySize}}}get size(){return this.#i}isFull(){return this.#i>=this.#t||this.#s>=this.#e}get(e){n(e);let t=`${e.origin}:${e.path}`,r=Date.now(),i=this.#n.get(t),s=i?A(e,i,r):null;return null==s?void 0:{statusMessage:s.statusMessage,statusCode:s.statusCode,headers:s.headers,body:s.body,vary:s.vary?s.vary:void 0,etag:s.etag,cacheControlDirectives:s.cacheControlDirectives,cachedAt:s.cachedAt,staleAt:s.staleAt,deleteAt:s.deleteAt}}createWriteStream(e,t){n(e),o(t);let r=`${e.origin}:${e.path}`,s=this,a={...e,...t,body:[],size:0};return new i({write(e,t,r){"string"==typeof e&&(e=Buffer.from(e,t)),a.size+=e.byteLength,a.size>s.#r?this.destroy():a.body.push(e),r(null)},final(t){let i=s.#n.get(r);i||(i=[],s.#n.set(r,i));let n=A(e,i,Date.now());if(n){let e=i.indexOf(n);i.splice(e,1,a),s.#i-=n.size}else i.push(a),s.#s+=1;if(s.#i+=a.size,s.#i>s.#t||s.#s>s.#e){for(let[e,t]of(s.#o||(s.emit("maxSizeExceeded",{size:s.#i,maxSize:s.#t,count:s.#s,maxCount:s.#e}),s.#o=!0),s.#n)){for(let e of t.splice(0,t.length/2))s.#i-=e.size,s.#s-=1;0===t.length&&s.#n.delete(e)}s.#i<s.#t&&s.#s<s.#e&&(s.#o=!1)}t(null)}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);let t=`${e.origin}:${e.path}`;for(let e of this.#n.get(t)??[])this.#i-=e.size,this.#s-=1;this.#n.delete(t)}}function A(e,t,r){for(let i=0;i<t.length;i++){let s=t[i];if(s.deleteAt>r&&s.method===e.method&&function(e,t){if(null==t.vary)return!0;for(let r in t.vary)if(Object.hasOwn(t.vary,r)&&!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(e.headers?.[r],t.vary[r]))return!1;return!0}(e,s))return s}}e.exports=a},7068(e,t,r){let i,{Writable:s}=r(7075),{assertCacheKey:n,assertCacheValue:o}=r(8621);e.exports=class{#r=2e9;#e=1/0;#a;#A;#l;#c;#d;#g;#u;#h;constructor(e){if(e){if("object"!=typeof e)throw TypeError("SqliteCacheStore options must be an object");if(void 0!==e.maxEntrySize){if("number"!=typeof e.maxEntrySize||!Number.isInteger(e.maxEntrySize)||e.maxEntrySize<0)throw TypeError("SqliteCacheStore options.maxEntrySize must be a non-negative integer");if(e.maxEntrySize>2e9)throw TypeError("SqliteCacheStore options.maxEntrySize must be less than 2gb");this.#r=e.maxEntrySize}if(void 0!==e.maxCount){if("number"!=typeof e.maxCount||!Number.isInteger(e.maxCount)||e.maxCount<0)throw TypeError("SqliteCacheStore options.maxCount must be a non-negative integer");this.#e=e.maxCount}}i||(i=r(99).DatabaseSync),this.#a=new i(e?.location??":memory:"),this.#a.exec(` PRAGMA journal_mode = WAL; PRAGMA synchronous = NORMAL; PRAGMA temp_store = memory; @@ -89,58 +89,62 @@ ${o}`:n.stack}(r,t):r&&"object"==typeof r&&Error.captureStackTrace(r,e.exports.h ORDER BY cachedAt ASC LIMIT ? ) - `)}close(){this.#a.close()}get(e){n(e);let t=this.#m(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){n(e);let r=this.#p(e),i=Array.isArray(t.body)?Buffer.concat(t.body):t.body,s=i?.byteLength;if(s&&s>this.#r)return;let o=this.#m(e,!0);o?this.#l.run(i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,o.id):(this.#c.run(r,e.method,i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#C())}createWriteStream(e,t){n(e),o(t);let r=0,i=[],a=this;return new s({decodeStrings:!0,write(e,t,s){(r+=e.byteLength)<=a.#r?i.push(e):this.destroy(),s()},final(r){a.set(e,{...t,body:i}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#g.run(this.#p(e))}#C(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#u.get();return e}#p(e){return`${e.origin}/${e.path}`}#m(e,t=!1){let r=this.#p(e),{headers:i,method:s}=e,n=this.#A.all(r,s);if(0===n.length)return;let o=Date.now();for(let e of n){if(o>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(i[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let i,s=r(7030),n=r(4589),o=r(1210),{InvalidArgumentError:a,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:g,timeout:u,session:h,...m}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new a("maxCachedSessions must be a positive integer or zero");let p={path:g,...m},C=new l(null==d?100:d);return u=null==u?1e4:u,e=null==e||e,function({hostname:a,host:l,protocol:d,port:g,servername:m,localAddress:I,httpSocket:E},f){let B;if("https:"===d){i||(i=r(1692));let s=(m=m||p.servername||o.getServerName(l)||null)||a;n(s);let A=h||C.get(s)||null;g=g||443,(B=i.connect({highWaterMark:16384,...p,servername:m,session:A,localAddress:I,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:E,port:g,host:a})).on("session",function(e){C.set(s,e)})}else n(!E,"httpSocket can only be sent on TLS update"),g=g||80,B=s.connect({highWaterMark:65536,...p,localAddress:I,port:g,host:a}),!0===c&&(B.alpnProtocol="h2");if(null==p.keepAlive||p.keepAlive){let e=void 0===p.keepAliveInitialDelay?6e4:p.keepAliveInitialDelay;B.setKeepAlive(!0,e)}let y=o.setupConnectTimeout(new WeakRef(B),{timeout:u,hostname:a,port:g});return B.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(y),f){let e=f;f=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(y),f){let t=f;f=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let i="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?i+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:i+=` (attempted address: ${r.hostname}:${r.port},`;let s=new A(i+=` timeout: ${r.timeout}ms)`);return s.cause=e,s}return e}(e,this,{timeout:u,hostname:a,port:g}))}}),B}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let i=t[e],s=i.toLowerCase();r[i]=r[s]=s}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let i=r(3053),s=r(7975),n=s.debuglog("undici"),o=s.debuglog("fetch"),a=s.debuglog("websocket"),A={beforeConnect:i.channel("undici:client:beforeConnect"),connected:i.channel("undici:client:connected"),connectError:i.channel("undici:client:connectError"),sendHeaders:i.channel("undici:client:sendHeaders"),create:i.channel("undici:request:create"),bodySent:i.channel("undici:request:bodySent"),bodyChunkSent:i.channel("undici:request:bodyChunkSent"),bodyChunkReceived:i.channel("undici:request:bodyChunkReceived"),headers:i.channel("undici:request:headers"),trailers:i.channel("undici:request:trailers"),error:i.channel("undici:request:error"),open:i.channel("undici:websocket:open"),close:i.channel("undici:websocket:close"),socketError:i.channel("undici:websocket:socket_error"),ping:i.channel("undici:websocket:ping"),pong:i.channel("undici:websocket:pong"),proxyConnected:i.channel("undici:proxy:connected")},l=!1;function c(e=n){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,i.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n}}=t;e("connecting to %s%s using %s%s",n,s?`:${s}`:"",i,r)}),i.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n}}=t;e("connected to %s%s using %s%s",n,s?`:${s}`:"",i,r)}),i.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n},error:o}=t;e("connection to %s%s using %s%s errored - %s",n,s?`:${s}`:"",i,r,o.message)}),i.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:i,origin:s}}=t;e("sending request to %s %s%s",r,s,i)})}}let d=!1,g=!1;(n.enabled||o.enabled)&&(c(o.enabled?o:n),function(e=n){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,i.subscribe("undici:request:headers",t=>{let{request:{method:r,path:i,origin:s},response:{statusCode:n}}=t;e("received response to %s %s%s - HTTP %d",r,s,i,n)}),i.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:i,origin:s}}=t;e("trailers received from %s %s%s",r,s,i)}),i.subscribe("undici:request:error",t=>{let{request:{method:r,path:i,origin:s},error:n}=t;e("request to %s %s%s errored - %s",r,s,i,n.message)})}}(o.enabled?o:n)),a.enabled&&(c(n.enabled?n:a),function(e=a){if(!g){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){g=!0;return}g=!0,i.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:i}=t.address;e("connection opened %s%s",r,i?`:${i}`:"")}else e("connection opened")}),i.subscribe("undici:websocket:close",t=>{let{websocket:r,code:i,reason:s}=t;e("closed connection to %s - %s %s",r.url,i,s)}),i.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),i.subscribe("undici:websocket:ping",t=>{e("ping received")}),i.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(a)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let i=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class s extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}let n=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class o extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}let a=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[a]}get[a](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class g extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let u=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[u]}get[u](){return!0}}let m=Symbol.for("undici.error.UND_ERR_ABORT");class p extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[m]}get[m](){return!0}}let C=Symbol.for("undici.error.UND_ERR_ABORTED");class I extends p{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[C]}get[C](){return!0}}let E=Symbol.for("undici.error.UND_ERR_INFO");class f extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[E]}get[E](){return!0}}let B=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class y extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[B]}get[B](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class N extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let b=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[b]}get[b](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class D extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let x=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[x]}get[x](){return!0}}let M=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class k extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let U=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class F extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[U]}get[U](){return!0}}let v=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[v]}get[v](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class H extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let O=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class P extends r{constructor(e,t,{headers:r,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[O]}get[O](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let z=Symbol.for("undici.error.UND_ERR_PRX_TLS");class q extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[z]}get[z](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class J extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let _=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[_]}get[_](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class K extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:p,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:o,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:y,ConnectTimeoutError:s,InvalidArgumentError:g,InvalidReturnValueError:h,RequestAbortedError:I,ClientDestroyedError:S,ClientClosedError:D,InformationalError:f,SocketError:R,NotSupportedError:k,ResponseContentLengthMismatchError:N,BalancedPoolMissingUpstreamError:F,ResponseExceededMaxSizeError:H,RequestRetryError:P,ResponseError:G,SecureProxyConnectionError:q,ProxyConnectionError:J,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:K}},1037(e,t,r){let{InvalidArgumentError:i,NotSupportedError:s}=r(8065),n=r(4589),{isValidHTTPToken:o,isValidHeaderValue:a,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:g,hasSafeIterator:u,isBlobLike:h,serializePathWithQuery:m,parseHeaders:p,assertRequestHandler:C,getServerName:I,normalizedMethodRecords:E,getProtocolFromUrlString:f}=r(1210),{channels:B}=r(6708),{headerNameLowerCasedRecord:y}=r(7525),Q=/[^\u0021-\u00ff]/,N=Symbol("handler"),b=Symbol("controller"),S=Symbol("resume");class w{#I=!1;#E=null;#f=!1;#B;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#B=e}pause(){this.#I=!0}resume(){this.#I&&(this.#I=!1,this[S]?.())}abort(e){this.#f||(this.#f=!0,this.#E=e,this.#B(e))}get aborted(){return this.#f}get reason(){return this.#E}get paused(){return this.#I}}function D(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new i(`invalid ${t} header`);if(void 0===r)return;let n=y[t];if(void 0===n&&void 0===y[n=t.toLowerCase()]&&!o(n))throw new i("invalid header key");if(Array.isArray(r)){let e=[];for(let s=0;s<r.length;s++)if("string"==typeof r[s]){if(!a(r[s]))throw new i(`invalid ${t} header`);e.push(r[s])}else if(null===r[s])e.push("");else if("object"==typeof r[s])throw new i(`invalid ${t} header`);else{let n=`${r[s]}`;if(!a(n))throw new i(`invalid ${t} header`);e.push(n)}r=e}else if("string"==typeof r){if(!a(r))throw new i(`invalid ${t} header`)}else if(null===r)r="";else if(!a(r=`${r}`))throw new i(`invalid ${t} header`);if("host"===n){if(null!==e.host)throw new i("duplicate host header");if("string"!=typeof r)throw new i("invalid host header");e.host=r}else if("content-length"===n){if(null!==e.contentLength)throw new i("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new i("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===n)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===n||"keep-alive"===n||"upgrade"===n)throw new i(`invalid ${n} header`);else if("connection"===n){let t="string"==typeof r?r:null;if(null===t)throw new i("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!o(t))throw new i("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===n)throw new s("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:s,headers:n,query:p,idempotent:y,blocking:b,upgrade:S,headersTimeout:w,bodyTimeout:x,reset:R,expectContinue:M,servername:k,throwOnError:U,maxRedirections:F,typeOfService:v},T){if("string"!=typeof t)throw new i("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new i("invalid request path")}else throw new i("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new i("method must be a string");if(void 0===E[r]&&!o(r))throw new i("invalid request method");if(S&&"string"!=typeof S)throw new i("upgrade must be a string");if(S&&!a(S))throw new i("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new i("invalid headersTimeout");if(null!=x&&(!Number.isFinite(x)||x<0))throw new i("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new i("invalid reset");if(null!=M&&"boolean"!=typeof M)throw new i("invalid expectContinue");if(null!=U)throw new i("invalid throwOnError");if(null!=F&&0!==F)throw new i("maxRedirections is not supported, use the redirect interceptor");if(null!=v&&(!Number.isInteger(v)||v<0||v>255))throw new i("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=x,this.method=r,this.typeOfService=v,this.abort=null,null==s)this.body=null;else if(A(s)){this.body=s;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if("string"==typeof s)this.body=s.length?Buffer.from(s):null;else if(d(s)||g(s)||h(s))this.body=s;else throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=p?m(t,p):t,this.origin=e,this.protocol=f(e),this.idempotent=null==y?"HEAD"===r||"GET"===r||"QUERY"===r:y,this.blocking=b??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=M&&M,Array.isArray(n)){if(n.length%2!=0)throw new i("headers array must be even");for(let e=0;e<n.length;e+=2)D(this,n[e],n[e+1])}else if(n&&"object"==typeof n)if(u(n))for(let e of n){if(!Array.isArray(e)||2!==e.length)throw new i("headers must be in key-value pair format");D(this,e[0],e[1])}else{let e=Object.keys(n);for(let t=0;t<e.length;++t)D(this,e[t],n[e[t]])}else if(null!=n)throw new i("headers must be an object or an array");C(T,r,S),this.servername=k||I(this.host)||null,this[N]=T,B.create.hasSubscribers&&B.create.publish({request:this})}onBodySent(e){if(B.bodyChunkSent.hasSubscribers&&B.bodyChunkSent.publish({request:this,chunk:e}),this[N].onBodySent)try{return this[N].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(B.bodySent.hasSubscribers&&B.bodySent.publish({request:this}),this[N].onRequestSent)try{return this[N].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(n(!this.aborted),n(!this.completed),this[b]=new w(e),this.error)?void this[b].abort(this.error):(this.abort=e,this[N].onRequestStart(this[b],t))}onResponseStarted(){return this[N].onResponseStarted?.()}onResponseStart(e,t,r,i){n(!this.aborted),n(!this.completed),B.headers.hasSubscribers&&B.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}});let s=this[b];s&&(s[S]=r,s.rawHeaders=t);let o=Array.isArray(t)?p(t):t;try{return this[N].onResponseStart?.(s,e,o,i),!s?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){n(!this.aborted),n(!this.completed),B.bodyChunkReceived.hasSubscribers&&B.bodyChunkReceived.publish({request:this,chunk:e});let t=this[b];try{return this[N].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){n(!this.aborted),n(!this.completed);let i=this[b];i&&(i.rawHeaders=t);let s=Array.isArray(t)?p(t):t;return this[N].onRequestUpgrade?.(i,e,s,r)}onResponseEnd(e){this.onFinally(),n(!this.aborted),n(!this.completed),this.completed=!0,B.trailers.hasSubscribers&&B.trailers.publish({request:this,trailers:e});let t=this[b];t&&(t.rawTrailers=e);let r=Array.isArray(e)?p(e):e;try{return this[N].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),B.error.hasSubscribers&&B.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[b];return this[N].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return D(this,e,t),this}}},9716(e,t,r){let{EventEmitter:i}=r(8474),{Buffer:s}=r(4573),{InvalidArgumentError:n,Socks5ProxyError:o}=r(8065),{debuglog:a}=r(7975),{parseAddress:A}=r(2598),l=a("undici:socks5"),c=s.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},g={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},u={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},m={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends i{constructor(e,t={}){if(super(),!e)throw new n("socket is required");this.socket=e,this.options=t,this.state=m.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=s.concat([this.buffer,e]);try{switch(this.state){case m.HANDSHAKING:this.handleHandshakeResponse();break;case m.AUTHENTICATING:this.handleAuthResponse();break;case m.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=m.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=m.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=m.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==m.INITIAL)throw new n("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=m.HANDSHAKING;let e=s.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new o(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new o("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=m.AUTHENTICATING,this.sendAuthRequest();else throw new o(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new n("Username and password required for authentication");l("sending username/password auth");let r=s.from(e),i=s.from(t);if(r.length>255||i.length>255)throw new n("Username or password too long");let o=s.alloc(3+r.length+i.length);o[0]=1,o[1]=r.length,r.copy(o,2),o[2+r.length]=i.length,i.copy(o,3+r.length),this.socket.write(o)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new o(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new o("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===m.CONNECTING||this.state===m.CONNECTED)throw new n("Connection already in progress");if(this.state!==m.AUTHENTICATED)throw new n("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=m.CONNECTING;let r=this.buildConnectRequest(g.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:i,buffer:n}=A(t),o=s.alloc(4+n.length+2);return o[0]=5,o[1]=e,o[2]=0,o[3]=i,n.copy(o,4),o.writeUInt16BE(r,4+n.length),o}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],i=this.buffer[3];if(5!==t)throw new o(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let s=4;if(i===u.IPV4)s+=6;else if(i===u.DOMAIN){if(this.buffer.length<5)return;s+=1+this.buffer[4]+2}else if(i===u.IPV6)s+=18;else throw new o(`Invalid address type in reply: ${i}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<s)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new o(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let n=4;if(i===u.IPV4)e=Array.from(this.buffer.subarray(n,n+4)).join("."),n+=4;else if(i===u.DOMAIN){let t=this.buffer[n];n+=1,e=this.buffer.subarray(n,n+t).toString(),n+=t}else if(i===u.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(n+2*e);t.push(r.toString(16))}e=t.join(":"),n+=16}let a=this.buffer.readUInt16BE(n);this.buffer=c,this.state=m.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",a),this.emit("connected",{address:e,port:a})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:g,ADDRESS_TYPES:u,REPLY_CODES:h,STATES:m}},2598(e,t,r){let{Buffer:i}=r(4573),s=r(7030),{InvalidArgumentError:n}=r(8065);function o(e){let t=i.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),i=e.slice(t+1);if(s.isIPv4(i)){let s=i.split(".").map(Number),n=(s[0]<<8|s[1]).toString(16),o=(s[2]<<8|s[3]).toString(16);r=`${e.slice(0,t)}:${n}:${o}`}}let n=r.indexOf("::");if(-1!==n){let e=r.slice(0,n),i=r.slice(n+2),s=""===e?[]:e.split(":"),o=""===i?[]:i.split(":"),a=0;for(let e of s)t.writeUInt16BE(parseInt(e,16),a),a+=2;for(let e of(a=16-2*o.length,o))t.writeUInt16BE(parseInt(e,16),a),a+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(s.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:i.from(t)}}if(s.isIPv6(e))return{type:4,buffer:o(e)};let t=i.from(e,"utf8");if(t.length>255)throw new n("Domain name too long (max 255 bytes)");return{type:3,buffer:i.concat([i.from([t.length]),t])}},parseIPv6:o,buildAddressBuffer:function(e,t,r){let s=i.allocUnsafe(2);return s.writeUInt16BE(r,0),i.concat([i.from([e]),t,s])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new n("Buffer too small to contain address type");let i=e[t],s=t+1;switch(i){case 1:if(e.length<s+6)throw new n("Buffer too small for IPv4 address");r=Array.from(e.subarray(s,s+4)).join("."),s+=4;break;case 3:{if(e.length<s+1)throw new n("Buffer too small for domain length");let t=e[s];if(s+=1,e.length<s+t+2)throw new n("Buffer too small for domain address");r=e.subarray(s,s+t).toString("utf8"),s+=t;break}case 4:{if(e.length<s+18)throw new n("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let i=e.readUInt16BE(s+2*r);t.push(i.toString(16))}r=t.join(":"),s+=16;break}default:throw new n(`Invalid address type: ${i}`)}if(e.length<s+2)throw new n("Buffer too small for port");return{address:r,port:e.readUInt16BE(s),bytesRead:(s+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:i,headerNameLowerCasedRecord:s}=r(7525);class n{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new n(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let i=0,s=this;for(;;){let o=e.charCodeAt(i);if(o>127)throw TypeError("key must be ascii string");if(s.code===o)if(r===++i){s.value=t;break}else if(null!==s.middle)s=s.middle;else{s.middle=new n(e,t,i);break}else if(s.code<o)if(null!==s.left)s=s.left;else{s.left=new n(e,t,i);break}else if(null!==s.right)s=s.right;else{s.right=new n(e,t,i);break}}}search(e){let t=e.length,r=0,i=this;for(;null!==i&&r<t;){let s=e[r];for(s<=90&&s>=65&&(s|=32);null!==i;){if(s===i.code){if(t===++r)return i;i=i.middle;break}i=i.code<s?i.left:i.right}}return null}}class o{node=null;insert(e,t){null===this.node?this.node=new n(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let a=new o;for(let e=0;e<i.length;++e){let t=s[i[e]];a.insert(t,t)}e.exports={TernarySearchTree:o,tree:a}},1210(e,t,r){let i=r(4589),{kDestroyed:s,kBodyUsed:n,kListeners:o,kBody:a}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:g,addAbortListener:u}=r(8474),h=r(2297),{InvalidArgumentError:m,ConnectTimeoutError:p}=r(8065),{headerNameLowerCasedRecord:C}=r(7525),{tree:I}=r(1342);class E{constructor(e){this[a]=e,this[n]=!1}async *[Symbol.asyncIterator](){i(!this[n],"disturbed"),this[n]=!0,yield*this[a]}}function f(){}function B(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function y(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function N(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function b(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!b((e=new URL(e)).origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new m("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===N(e.port))throw new m("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new m("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new m("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new m("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new m("Invalid URL origin: the origin must be a string or null/undefined.");if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,i=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),i&&"/"!==i[0]&&(i=`/${i}`),new URL(`${r}${i}`)}if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function D(e){if(null==e)return 0;if(B(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return y(e)?null!=e.size?e.size:null:U(e)?e.byteLength:null}function x(e){return e&&!!(e.destroyed||e[s]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!B(e)||x(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[s]=!0)}}let M=/timeout=(\d+)/;function k(e){return"string"==typeof e?C[e]??e.toLowerCase():I.lookup(e)??e.toString("latin1").toLowerCase()}function U(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function F(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let v=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,H=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,O="win32"===process.platform?(e,t)=>{if(!t.timeout)return f;let r=null,i=null,s=h.setFastTimeout(()=>{r=setImmediate(()=>{i=setImmediate(()=>P(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(s),clearImmediate(r),clearImmediate(i)}}:(e,t)=>{if(!t.timeout)return f;let r=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{P(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r)}};function P(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new p(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,z={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},q={...z,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(z,null),Object.setPrototypeOf(q,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[n]))},isBlobLike:y,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new m("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;i("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return i(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:B,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:x,headerNameToString:k,bufferToLowerCasedHeaderName:function(e){return I.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[o]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[o]){for(let[t,r]of e[o])e.removeListener(t,r);e[o]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),i(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(r,`${e}`);else t.push(r,`${i}`);return t}let i=e.length,s=Array(i);for(let n=0;n<i;n+=2)t=e[n],r=e[n+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),s[n]=t,s[n+1]=r;return s},toRawHeaders:function(e){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${i}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let i=k(e[r]),s=t[i];if(void 0!==s)if(Object.hasOwn(t,i))"string"==typeof s&&(s=[s],t[i]=s),s.push(e[r+1].toString("latin1"));else{let s="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===i?Object.defineProperty(t,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[i]=s}else{let s="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[i]=s}}return t},parseKeepAliveTimeout:function(e){let t=e.match(M);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:D,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:U,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new m("handler must be an object");if("function"!=typeof e.onRequestStart)throw new m("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new m("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new m("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new m("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new m("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new m("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new m("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new m("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:F,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?u(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==v[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===v[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=H.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:z,normalizedMethodRecords:q,isValidPort:N,isHttpOrHttpsPrefixed:b,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return B(e)?(0===D(e)&&e.on("data",function(){i(!1)}),"boolean"!=typeof e.readableDidRead&&(e[n]=!1,g.prototype.on.call(e,"data",function(){this[n]=!0})),e):e&&"function"==typeof e.pipeTo?new E(e):e&&F(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new E(e):e},setupConnectTimeout:O,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:i,MaxOriginsReachedError:s}=r(8065),{kBusy:n,kClients:o,kConnected:a,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:g}=r(3025),u=r(9779),h=r(6334),m=r(5183),p=r(1210),C=Symbol("onConnect"),I=Symbol("onDisconnect"),E=Symbol("onConnectionError"),f=Symbol("onDrain"),B=Symbol("factory"),y=Symbol("options"),Q=Symbol("origins");function N(e,t){return t&&1===t.connections?new m(e,t):new h(e,t)}e.exports=class extends u{constructor({factory:e=N,maxOrigins:t=1/0,connect:r,...s}={}){if("function"!=typeof e)throw new i("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new i("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new i("maxOrigins must be a number greater than 0");super(s),r&&"function"!=typeof r&&(r={...r}),this[y]={...p.deepClone(s),maxOrigins:t,connect:r},this[B]=e,this[o]=new Map,this[Q]=new Set,this[f]=(e,t)=>{this.emit("drain",e,[this,...t])},this[C]=(e,t)=>{this.emit("connect",e,[this,...t])},this[I]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[E]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[o].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new i("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[y].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[y].maxOrigins&&!this[Q].has(r))throw new s;let c=this[o].get(l);if(!c){c=this[B](e.origin,!1===A?{...this[y],allowH2:!1}:this[y]);let t=()=>{if(this[o].get(l)!==c||c[a]>0||c[n])return;this[o].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[o].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[f]).on("connect",this[C]).on("disconnect",(e,r,i)=>{t(),this[I](e,r,i)}).on("connectionError",(e,r,i)=>{t(),this[E](e,r,i)}),this[o].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[o].values())e.push(t.close());return this[o].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[o].values())t.push(r.destroy(e));return this[o].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[o].values())t.stats&&(e[t[g].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:s}=r(8065),{PoolBase:n,kClients:o,kNeedDrain:a,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:g}=r(3025),u=r(1210),h=Symbol("factory"),m=Symbol("options"),p=Symbol("kGreatestCommonDivisor"),C=Symbol("kCurrentWeight"),I=Symbol("kIndex"),E=Symbol("kWeight"),f=Symbol("kMaxWeightPerServer"),B=Symbol("kErrorPenalty");function y(e,t){return new d(e,t)}e.exports=class extends n{constructor(e=[],{factory:t=y,...r}={}){if("function"!=typeof t)throw new s("factory must be a function.");for(let i of(super(),this[m]={...u.deepClone(r)},this[I]=-1,this[C]=0,this[f]=this[m].maxWeightPerServer||100,this[B]=this[m].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let t=u.parseOrigin(e).origin;if(this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[m]);for(let e of(this[A](r),r.on("connect",()=>{r[E]=Math.min(this[f],r[E]+this[B])}),r.on("connectionError",()=>{r[E]=Math.max(1,r[E]-this[B]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[E]=Math.max(1,r[E]-this[B]),this._updateBalancedPoolStats())}),this[o]))e[E]=this[f];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[o][t][E],e);this[p]=e}removeUpstream(e){let t=u.parseOrigin(e).origin,r=this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=u.parseOrigin(e).origin;return this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[o].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[g].origin)}[c](){if(0===this[o].length)throw new i;let e=0,t=-1;for(;e++<this[o].length;){this[I]=(this[I]+1)%this[o].length;let e=this[o][this[I]];if((0===this[I]&&(this[C]=this[C]-this[p],this[C]<=0&&(this[C]=this[f])),!e[a]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[E]>this[o][t][E])&&(t=this[I]),e[E]>=this[C]))return e}if(-1!==t)return this[C]=this[o][t][E],this[I]=t,this[o][t]}}},8043(e,t,r){let i,s=r(4589),n=r(1210),{channels:o}=r(6708),a=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:g,HeadersOverflowError:u,SocketError:h,InformationalError:m,BodyTimeoutError:p,HTTPParserError:C,ResponseExceededMaxSizeError:I}=r(8065),{kUrl:E,kReset:f,kClient:B,kParser:y,kBlocking:Q,kRunning:N,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:x,kKeepAliveDefaultTimeout:R,kHostHeader:M,kPendingIdx:k,kRunningIdx:U,kError:F,kPipelining:v,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:H,kKeepAliveMaxTimeout:O,kKeepAliveTimeoutThreshold:P,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:z,kMaxRequests:q,kCounter:V,kMaxResponseSize:J,kOnError:_,kResume:W,kHTTPContext:j,kClosed:K}=r(3025),X=r(8994),Z=Buffer.alloc(0),$=Buffer[Symbol.species],ee=n.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),ei=Symbol("kSocketUsed"),es=Symbol("kTypeOfService"),en=null,eo=null,ea=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(X.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[H],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[J]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(a.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=a.setFastTimeout(eg,e,this.timeoutWeakRef):(this.timeout=setTimeout(eg,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(s(null!=this.ptr),s(null===eo),this.llhttp.llhttp_resume(this.ptr),s(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Z),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){s(null===eo),s(null!=this.ptr),s(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let i;try{ea=e,eo=this,i=r.llhttp_execute(this.ptr,el,e.length)}finally{eo=null,ea=null}if(i!==X.ERROR.OK){let s=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(i===X.ERROR.PAUSED_UPGRADE)this.onUpgrade(s);else if(i===X.ERROR.PAUSED)this.paused=!0,t.unshift(s);else throw this.createError(i,s)}}catch(e){n.destroy(t,e)}}finish(){let e;s(null===eo),s(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||Z,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{eo=this,e=t.llhttp_finish(this.ptr)}finally{eo=null}return e===X.ERROR.OK?null:e===X.ERROR.PAUSED||e===X.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,Z)}createError(e,t){let{llhttp:r,contentLength:i,bytesRead:s}=this;if(-1!==i&&s!==i)return new l;let n=r.llhttp_get_error_reason(this.ptr),o="";if(n){let e=new Uint8Array(r.memory.buffer,n).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,n,e).toString()+")"}return new C(o,X.ERROR[e],t)}destroy(){s(null===eo),s(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[N])return n.destroy(e,new h("bad response",n.getSocketInfo(e))),-1;let r=t[D][t[U]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let i=n.bufferToLowerCasedHeaderName(r);"keep-alive"===i?this.keepAlive+=e.toString():"connection"===i&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===n.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===n.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&n.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:r,socket:i,headers:o,statusCode:a}=this;s(t),s(r[T]===i),s(!i.destroyed),s(!this.paused),s((1&o.length)==0);let A=r[D][r[U]];s(A),s(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(e),i[y].destroy(),i[y]=null,i[B]=null,i[F]=null,ee(i),r[T]=null,r[j]=null,r[D][r[U]++]=null,r.emit("disconnect",r[E],[r],new m("upgrade"));try{A.onRequestUpgrade(a,o,i)}catch(e){n.destroy(i,e)}r[W]()}onHeadersComplete(e,t,r){let{client:i,socket:o,headers:a,statusText:A}=this;if(o.destroyed)return -1;if(0===i[N])return n.destroy(o,new h("bad response",n.getSocketInfo(o))),-1;let l=i[D][i[U]];if(!l)return -1;if(s(!this.upgrade),s(this.statusCode<200),100===e)return n.destroy(o,new h("bad response",n.getSocketInfo(o))),-1;if(t&&!l.upgrade)return n.destroy(o,new h("bad upgrade",n.getSocketInfo(o))),-1;if(s(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!o[f]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:i[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return s(1===i[N]),this.upgrade=!0,2;if(s((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[v]){let e=this.keepAlive?n.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-i[P],i[O]);t<=0?o[f]=!0:i[L]=t}else i[L]=i[R]}else o[f]=!0;let c=!1===l.onResponseStart(e,a,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(o[Q]&&(o[Q]=!1,i[W]()),c?X.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:i,maxResponseSize:o}=this;if(r.destroyed)return -1;let a=t[D][t[U]];return(s(a),s(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),s(i>=200),o>-1&&this.bytesRead+e.length>o)?(n.destroy(r,new I),-1):(this.bytesRead+=e.length,!1===a.onResponseData(e))?X.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:i,headers:o,contentLength:a,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(i)return 0;s(r>=100),s((1&this.headers.length)==0);let d=e[D][e[U]];return(s(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==a&&A!==a?(n.destroy(t,new l),-1):(d.onResponseEnd(o),e[D][e[U]++]=null,t[ei]=0===e[b],t[w])?(s(0===e[N]),n.destroy(t,new m("reset")),X.ERROR.PAUSED):c?t[f]&&0===e[N]?(n.destroy(t,new m("reset")),X.ERROR.PAUSED):(null==e[v]||1===e[v]?setImmediate(e[W]):e[W](),0):(n.destroy(t,new m("reset")),X.ERROR.PAUSED)}}function eg(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:i,client:o,paused:a}=t;3===i?(!r[w]||r.writableNeedDrain||o[N]>1)&&(s(!a,"cannot be paused while waiting for headers"),n.destroy(r,new g)):5===i?a||n.destroy(r,new p):8===i&&(s(0===o[N]&&o[L]),n.destroy(r,new m("socket idle timeout")))}function eu(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[y];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[F]=e,this[B][_](e));return}this[F]=e,this[B][_](e)}function eh(){this[y]?.readMore()}function em(){let e=this[y];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&n.destroy(this,t);return}n.destroy(this,new h("other side closed",n.getSocketInfo(this)))}function ep(){let e=this[y];eI(this),e&&(this[F]||!e.statusCode||e.shouldKeepAlive||(this[F]=e.finish()||this[F]),this[y].destroy(),this[y]=null);let t=this[F]||new h("closed",n.getSocketInfo(this)),r=this[B];if(r[T]=null,r[j]=null,r.destroyed){s(0===r[b]);let e=r[D].splice(r[U]);for(let i=0;i<e.length;i++){let s=e[i];n.errorRequest(r,s,t)}}else if(r[N]>0&&"UND_ERR_INFO"!==t.code){let e=r[D][r[U]];r[D][r[U]++]=null,n.errorRequest(r,e,t)}r[k]=r[U],s(0===r[N]),r.emit("disconnect",r[E],[r],t),r[W]()}function eC(){this[K]=!0}function eI(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function eE(e,t,r,i,o,a,A,l){try{t?n.isBuffer(t)&&(s(a===t.byteLength,"buffer body must have content length"),o.cork(),o.write(`${A}content-length: ${a}\r + `)}close(){this.#a.close()}get(e){n(e);let t=this.#m(e);return t?{body:t.body?Buffer.from(t.body.buffer,t.body.byteOffset,t.body.byteLength):void 0,statusCode:t.statusCode,statusMessage:t.statusMessage,headers:t.headers?JSON.parse(t.headers):void 0,etag:t.etag?t.etag:void 0,vary:t.vary?JSON.parse(t.vary):void 0,cacheControlDirectives:t.cacheControlDirectives?JSON.parse(t.cacheControlDirectives):void 0,cachedAt:t.cachedAt,staleAt:t.staleAt,deleteAt:t.deleteAt}:void 0}set(e,t){n(e);let r=this.#p(e),i=Array.isArray(t.body)?Buffer.concat(t.body):t.body,s=i?.byteLength;if(s&&s>this.#r)return;let o=this.#m(e,!0);o?this.#l.run(i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt,o.id):(this.#c.run(r,e.method,i,t.deleteAt,t.statusCode,t.statusMessage,t.headers?JSON.stringify(t.headers):null,t.etag?t.etag:null,t.cacheControlDirectives?JSON.stringify(t.cacheControlDirectives):null,t.vary?JSON.stringify(t.vary):null,t.cachedAt,t.staleAt),this.#C())}createWriteStream(e,t){n(e),o(t);let r=0,i=[],a=this;return new s({decodeStrings:!0,write(e,t,s){(r+=e.byteLength)<=a.#r?i.push(e):this.destroy(),s()},final(r){a.set(e,{...t,body:i}),r()}})}delete(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);this.#g.run(this.#p(e))}#C(){if(Number.isFinite(this.#e)&&this.size<=this.#e)return 0;{let e=this.#d.run(Date.now()).changes;if(e)return e}{let e=this.#h?.run(Math.max(Math.floor(.1*this.#e),1)).changes;if(e)return e}return 0}get size(){let{total:e}=this.#u.get();return e}#p(e){return`${e.origin}/${e.path}`}#m(e,t=!1){let r=this.#p(e),{headers:i,method:s}=e,n=this.#A.all(r,s);if(0===n.length)return;let o=Date.now();for(let e of n){if(o>=e.deleteAt&&!t)continue;let r=!0;if(e.vary){let t=JSON.parse(e.vary);for(let e in t)if(!function(e,t){if(null==e&&null==t)return!0;if(null==e&&null!=t||null!=e&&null==t)return!1;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}return e===t}(i[e],t[e])){r=!1;break}}if(r)return e}}}},5010(e,t,r){let i,s=r(7030),n=r(4589),o=r(1210),{InvalidArgumentError:a,ConnectTimeoutError:A}=r(8065),l=class{constructor(e){this._maxCachedSessions=e,this._sessionCache=new Map,this._sessionRegistry=new FinalizationRegistry(e=>{if(this._sessionCache.size<this._maxCachedSessions)return;let t=this._sessionCache.get(e);void 0!==t&&void 0===t.deref()&&this._sessionCache.delete(e)})}get(e){let t=this._sessionCache.get(e);return t?t.deref():null}set(e,t){if(0!==this._maxCachedSessions){if(this._sessionCache.has(e))this._sessionCache.delete(e);else if(this._sessionCache.size>=this._maxCachedSessions){for(let[e,t]of this._sessionCache)if(void 0===t.deref())return void this._sessionCache.delete(e);let e=this._sessionCache.keys().next();e.done||this._sessionCache.delete(e.value)}this._sessionCache.set(e,new WeakRef(t)),this._sessionRegistry.register(t,e)}}};e.exports=function({allowH2:e,preferH2:t,useH2c:c,maxCachedSessions:d,socketPath:g,timeout:u,session:h,...m}){if(null!=d&&(!Number.isInteger(d)||d<0))throw new a("maxCachedSessions must be a positive integer or zero");let p={path:g,...m},C=new l(null==d?100:d);return u=null==u?1e4:u,e=null==e||e,function({hostname:a,host:l,protocol:d,port:g,servername:m,localAddress:I,httpSocket:f},E){let B;if("https:"===d){i||(i=r(1692));let s=(m=m||p.servername||o.getServerName(l)||null)||a;n(s);let A=h||C.get(s)||null;g=g||443,(B=i.connect({highWaterMark:16384,...p,servername:m,session:A,localAddress:I,ALPNProtocols:e?t?["h2","http/1.1"]:["http/1.1","h2"]:["http/1.1"],socket:f,port:g,host:a})).on("session",function(e){C.set(s,e)})}else n(!f,"httpSocket can only be sent on TLS update"),g=g||80,B=s.connect({highWaterMark:65536,...p,localAddress:I,port:g,host:a}),!0===c&&(B.alpnProtocol="h2");if(null==p.keepAlive||p.keepAlive){let e=void 0===p.keepAliveInitialDelay?6e4:p.keepAliveInitialDelay;B.setKeepAlive(!0,e)}let y=o.setupConnectTimeout(new WeakRef(B),{timeout:u,hostname:a,port:g});return B.setNoDelay(!0).once("https:"===d?"secureConnect":"connect",function(){if(queueMicrotask(y),E){let e=E;E=null,e(null,this)}}).on("error",function(e){if(queueMicrotask(y),E){let t=E;E=null,t(function(e,t,r){if(e instanceof AggregateError&&("ETIMEDOUT"===e.code||e.errors.some(e=>null!=e&&"ETIMEDOUT"===e.code))){let i="Connect Timeout Error";Array.isArray(t.autoSelectFamilyAttemptedAddresses)?i+=` (attempted addresses: ${t.autoSelectFamilyAttemptedAddresses.join(", ")},`:i+=` (attempted address: ${r.hostname}:${r.port},`;let s=new A(i+=` timeout: ${r.timeout}ms)`);return s.cause=e,s}return e}(e,this,{timeout:u,hostname:a,port:g}))}}),B}}},7525(e){let t=["Accept","Accept-Encoding","Accept-Language","Accept-Ranges","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Age","Allow","Alt-Svc","Alt-Used","Authorization","Cache-Control","Clear-Site-Data","Connection","Content-Disposition","Content-Encoding","Content-Language","Content-Length","Content-Location","Content-Range","Content-Security-Policy","Content-Security-Policy-Report-Only","Content-Type","Cookie","Cross-Origin-Embedder-Policy","Cross-Origin-Opener-Policy","Cross-Origin-Resource-Policy","Date","Device-Memory","Downlink","ECT","ETag","Expect","Expect-CT","Expires","Forwarded","From","Host","If-Match","If-Modified-Since","If-None-Match","If-Range","If-Unmodified-Since","Keep-Alive","Last-Modified","Link","Location","Max-Forwards","Origin","Permissions-Policy","Pragma","Proxy-Authenticate","Proxy-Authorization","RTT","Range","Referer","Referrer-Policy","Refresh","Retry-After","Sec-WebSocket-Accept","Sec-WebSocket-Extensions","Sec-WebSocket-Key","Sec-WebSocket-Protocol","Sec-WebSocket-Version","Server","Server-Timing","Service-Worker-Allowed","Service-Worker-Navigation-Preload","Set-Cookie","SourceMap","Strict-Transport-Security","Supports-Loading-Mode","TE","Timing-Allow-Origin","Trailer","Transfer-Encoding","Upgrade","Upgrade-Insecure-Requests","User-Agent","Vary","Via","WWW-Authenticate","X-Content-Type-Options","X-DNS-Prefetch-Control","X-Frame-Options","X-Permitted-Cross-Domain-Policies","X-Powered-By","X-Requested-With","X-XSS-Protection"],r={};Object.setPrototypeOf(r,null);for(let e=0;e<t.length;++e){let i=t[e],s=i.toLowerCase();r[i]=r[s]=s}e.exports={wellknownHeaderNames:t,headerNameLowerCasedRecord:r}},6708(e,t,r){let i=r(3053),s=r(7975),n=s.debuglog("undici"),o=s.debuglog("fetch"),a=s.debuglog("websocket"),A={beforeConnect:i.channel("undici:client:beforeConnect"),connected:i.channel("undici:client:connected"),connectError:i.channel("undici:client:connectError"),sendHeaders:i.channel("undici:client:sendHeaders"),create:i.channel("undici:request:create"),bodySent:i.channel("undici:request:bodySent"),bodyChunkSent:i.channel("undici:request:bodyChunkSent"),bodyChunkReceived:i.channel("undici:request:bodyChunkReceived"),headers:i.channel("undici:request:headers"),trailers:i.channel("undici:request:trailers"),error:i.channel("undici:request:error"),open:i.channel("undici:websocket:open"),close:i.channel("undici:websocket:close"),socketError:i.channel("undici:websocket:socket_error"),ping:i.channel("undici:websocket:ping"),pong:i.channel("undici:websocket:pong"),proxyConnected:i.channel("undici:proxy:connected")},l=!1;function c(e=n){if(!l){if(A.beforeConnect.hasSubscribers||A.connected.hasSubscribers||A.connectError.hasSubscribers||A.sendHeaders.hasSubscribers){l=!0;return}l=!0,i.subscribe("undici:client:beforeConnect",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n}}=t;e("connecting to %s%s using %s%s",n,s?`:${s}`:"",i,r)}),i.subscribe("undici:client:connected",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n}}=t;e("connected to %s%s using %s%s",n,s?`:${s}`:"",i,r)}),i.subscribe("undici:client:connectError",t=>{let{connectParams:{version:r,protocol:i,port:s,host:n},error:o}=t;e("connection to %s%s using %s%s errored - %s",n,s?`:${s}`:"",i,r,o.message)}),i.subscribe("undici:client:sendHeaders",t=>{let{request:{method:r,path:i,origin:s}}=t;e("sending request to %s %s%s",r,s,i)})}}let d=!1,g=!1;(n.enabled||o.enabled)&&(c(o.enabled?o:n),function(e=n){if(!d){if(A.headers.hasSubscribers||A.trailers.hasSubscribers||A.error.hasSubscribers){d=!0;return}d=!0,i.subscribe("undici:request:headers",t=>{let{request:{method:r,path:i,origin:s},response:{statusCode:n}}=t;e("received response to %s %s%s - HTTP %d",r,s,i,n)}),i.subscribe("undici:request:trailers",t=>{let{request:{method:r,path:i,origin:s}}=t;e("trailers received from %s %s%s",r,s,i)}),i.subscribe("undici:request:error",t=>{let{request:{method:r,path:i,origin:s},error:n}=t;e("request to %s %s%s errored - %s",r,s,i,n.message)})}}(o.enabled?o:n)),a.enabled&&(c(n.enabled?n:a),function(e=a){if(!g){if(A.open.hasSubscribers||A.close.hasSubscribers||A.socketError.hasSubscribers||A.ping.hasSubscribers||A.pong.hasSubscribers){g=!0;return}g=!0,i.subscribe("undici:websocket:open",t=>{if(null!=t.address){let{address:r,port:i}=t.address;e("connection opened %s%s",r,i?`:${i}`:"")}else e("connection opened")}),i.subscribe("undici:websocket:close",t=>{let{websocket:r,code:i,reason:s}=t;e("closed connection to %s - %s %s",r.url,i,s)}),i.subscribe("undici:websocket:socket_error",t=>{e("connection errored - %s",t.message)}),i.subscribe("undici:websocket:ping",t=>{e("ping received")}),i.subscribe("undici:websocket:pong",t=>{e("pong received")})}}(a)),e.exports={channels:A}},8065(e){let t=Symbol.for("undici.error.UND_ERR");class r extends Error{constructor(e,t){super(e,t),this.name="UndiciError",this.code="UND_ERR"}static[Symbol.hasInstance](e){return e&&!0===e[t]}get[t](){return!0}}let i=Symbol.for("undici.error.UND_ERR_CONNECT_TIMEOUT");class s extends r{constructor(e){super(e),this.name="ConnectTimeoutError",this.message=e||"Connect Timeout Error",this.code="UND_ERR_CONNECT_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[i]}get[i](){return!0}}let n=Symbol.for("undici.error.UND_ERR_HEADERS_TIMEOUT");class o extends r{constructor(e){super(e),this.name="HeadersTimeoutError",this.message=e||"Headers Timeout Error",this.code="UND_ERR_HEADERS_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[n]}get[n](){return!0}}let a=Symbol.for("undici.error.UND_ERR_HEADERS_OVERFLOW");class A extends r{constructor(e){super(e),this.name="HeadersOverflowError",this.message=e||"Headers Overflow Error",this.code="UND_ERR_HEADERS_OVERFLOW"}static[Symbol.hasInstance](e){return e&&!0===e[a]}get[a](){return!0}}let l=Symbol.for("undici.error.UND_ERR_BODY_TIMEOUT");class c extends r{constructor(e){super(e),this.name="BodyTimeoutError",this.message=e||"Body Timeout Error",this.code="UND_ERR_BODY_TIMEOUT"}static[Symbol.hasInstance](e){return e&&!0===e[l]}get[l](){return!0}}let d=Symbol.for("undici.error.UND_ERR_INVALID_ARG");class g extends r{constructor(e){super(e),this.name="InvalidArgumentError",this.message=e||"Invalid Argument Error",this.code="UND_ERR_INVALID_ARG"}static[Symbol.hasInstance](e){return e&&!0===e[d]}get[d](){return!0}}let u=Symbol.for("undici.error.UND_ERR_INVALID_RETURN_VALUE");class h extends r{constructor(e){super(e),this.name="InvalidReturnValueError",this.message=e||"Invalid Return Value Error",this.code="UND_ERR_INVALID_RETURN_VALUE"}static[Symbol.hasInstance](e){return e&&!0===e[u]}get[u](){return!0}}let m=Symbol.for("undici.error.UND_ERR_ABORT");class p extends r{constructor(e){super(e),this.name="AbortError",this.message=e||"The operation was aborted",this.code="UND_ERR_ABORT"}static[Symbol.hasInstance](e){return e&&!0===e[m]}get[m](){return!0}}let C=Symbol.for("undici.error.UND_ERR_ABORTED");class I extends p{constructor(e){super(e),this.name="AbortError",this.message=e||"Request aborted",this.code="UND_ERR_ABORTED"}static[Symbol.hasInstance](e){return e&&!0===e[C]}get[C](){return!0}}let f=Symbol.for("undici.error.UND_ERR_INFO");class E extends r{constructor(e,t){super(e,t),this.name="InformationalError",this.message=e||"Request information",this.code="UND_ERR_INFO"}static[Symbol.hasInstance](e){return e&&!0===e[f]}get[f](){return!0}}let B=Symbol.for("undici.error.UND_ERR_REQ_CONTENT_LENGTH_MISMATCH");class y extends r{constructor(e){super(e),this.name="RequestContentLengthMismatchError",this.message=e||"Request body length does not match content-length header",this.code="UND_ERR_REQ_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[B]}get[B](){return!0}}let Q=Symbol.for("undici.error.UND_ERR_RES_CONTENT_LENGTH_MISMATCH");class N extends r{constructor(e){super(e),this.name="ResponseContentLengthMismatchError",this.message=e||"Response body length does not match content-length header",this.code="UND_ERR_RES_CONTENT_LENGTH_MISMATCH"}static[Symbol.hasInstance](e){return e&&!0===e[Q]}get[Q](){return!0}}let b=Symbol.for("undici.error.UND_ERR_DESTROYED");class S extends r{constructor(e){super(e),this.name="ClientDestroyedError",this.message=e||"The client is destroyed",this.code="UND_ERR_DESTROYED"}static[Symbol.hasInstance](e){return e&&!0===e[b]}get[b](){return!0}}let w=Symbol.for("undici.error.UND_ERR_CLOSED");class D extends r{constructor(e){super(e),this.name="ClientClosedError",this.message=e||"The client is closed",this.code="UND_ERR_CLOSED"}static[Symbol.hasInstance](e){return e&&!0===e[w]}get[w](){return!0}}let x=Symbol.for("undici.error.UND_ERR_SOCKET");class R extends r{constructor(e,t){super(e),this.name="SocketError",this.message=e||"Socket error",this.code="UND_ERR_SOCKET",this.socket=t}static[Symbol.hasInstance](e){return e&&!0===e[x]}get[x](){return!0}}let M=Symbol.for("undici.error.UND_ERR_NOT_SUPPORTED");class k extends r{constructor(e){super(e),this.name="NotSupportedError",this.message=e||"Not supported error",this.code="UND_ERR_NOT_SUPPORTED"}static[Symbol.hasInstance](e){return e&&!0===e[M]}get[M](){return!0}}let F=Symbol.for("undici.error.UND_ERR_BPL_MISSING_UPSTREAM");class U extends r{constructor(e){super(e),this.name="MissingUpstreamError",this.message=e||"No upstream has been added to the BalancedPool",this.code="UND_ERR_BPL_MISSING_UPSTREAM"}static[Symbol.hasInstance](e){return e&&!0===e[F]}get[F](){return!0}}let v=Symbol.for("undici.error.UND_ERR_HTTP_PARSER");class T extends Error{constructor(e,t,r){super(e),this.name="HTTPParserError",this.code=t?`HPE_${t}`:void 0,this.data=r?r.toString():void 0}static[Symbol.hasInstance](e){return e&&!0===e[v]}get[v](){return!0}}let L=Symbol.for("undici.error.UND_ERR_RES_EXCEEDED_MAX_SIZE");class O extends r{constructor(e){super(e),this.name="ResponseExceededMaxSizeError",this.message=e||"Response content exceeded max size",this.code="UND_ERR_RES_EXCEEDED_MAX_SIZE"}static[Symbol.hasInstance](e){return e&&!0===e[L]}get[L](){return!0}}let H=Symbol.for("undici.error.UND_ERR_REQ_RETRY");class P extends r{constructor(e,t,{headers:r,data:i}){super(e),this.name="RequestRetryError",this.message=e||"Request retry error",this.code="UND_ERR_REQ_RETRY",this.statusCode=t,this.data=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[H]}get[H](){return!0}}let Y=Symbol.for("undici.error.UND_ERR_RESPONSE");class G extends r{constructor(e,t,{headers:r,body:i}){super(e),this.name="ResponseError",this.message=e||"Response error",this.code="UND_ERR_RESPONSE",this.statusCode=t,this.body=i,this.headers=r}static[Symbol.hasInstance](e){return e&&!0===e[Y]}get[Y](){return!0}}let z=Symbol.for("undici.error.UND_ERR_PRX_TLS");class q extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="SecureProxyConnectionError",this.message=t||"Secure Proxy Connection failed",this.code="UND_ERR_PRX_TLS",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[z]}get[z](){return!0}}let V=Symbol.for("undici.error.UND_ERR_PRX_CONN");class _ extends r{constructor(e,t,r={}){super(t,{cause:e,...r}),this.name="ProxyConnectionError",this.message=t||"Proxy Connection failed",this.code="UND_ERR_PRX_CONN",this.cause=e}static[Symbol.hasInstance](e){return e&&!0===e[V]}get[V](){return!0}}let J=Symbol.for("undici.error.UND_ERR_MAX_ORIGINS_REACHED");class W extends r{constructor(e){super(e),this.name="MaxOriginsReachedError",this.message=e||"Maximum allowed origins reached",this.code="UND_ERR_MAX_ORIGINS_REACHED"}static[Symbol.hasInstance](e){return e&&!0===e[J]}get[J](){return!0}}let j=Symbol.for("undici.error.UND_ERR_WS_MESSAGE_SIZE_EXCEEDED");class K extends r{constructor(e){super(e),this.name="MessageSizeExceededError",this.message=e||"Max decompressed message size exceeded",this.code="UND_ERR_WS_MESSAGE_SIZE_EXCEEDED"}static[Symbol.hasInstance](e){return e&&!0===e[j]}get[j](){return!0}}e.exports={AbortError:p,HTTPParserError:T,UndiciError:r,HeadersTimeoutError:o,HeadersOverflowError:A,BodyTimeoutError:c,RequestContentLengthMismatchError:y,ConnectTimeoutError:s,InvalidArgumentError:g,InvalidReturnValueError:h,RequestAbortedError:I,ClientDestroyedError:S,ClientClosedError:D,InformationalError:E,SocketError:R,NotSupportedError:k,ResponseContentLengthMismatchError:N,BalancedPoolMissingUpstreamError:U,ResponseExceededMaxSizeError:O,RequestRetryError:P,ResponseError:G,SecureProxyConnectionError:q,ProxyConnectionError:_,MaxOriginsReachedError:W,Socks5ProxyError:class extends r{constructor(e,t){super(e),this.name="Socks5ProxyError",this.message=e||"SOCKS5 proxy error",this.code=t||"UND_ERR_SOCKS5"}},MessageSizeExceededError:K}},1037(e,t,r){let{InvalidArgumentError:i,NotSupportedError:s}=r(8065),n=r(4589),{isValidHTTPToken:o,isValidHeaderValue:a,isStream:A,destroy:l,isBuffer:c,isFormDataLike:d,isIterable:g,hasSafeIterator:u,isBlobLike:h,serializePathWithQuery:m,parseHeaders:p,assertRequestHandler:C,getServerName:I,normalizedMethodRecords:f,getProtocolFromUrlString:E}=r(1210),{channels:B}=r(6708),{headerNameLowerCasedRecord:y}=r(7525),Q=/[^\u0021-\u00ff]/,N=Symbol("handler"),b=Symbol("controller"),S=Symbol("resume");class w{#I=!1;#f=null;#E=!1;#B;[S]=null;rawHeaders=null;rawTrailers=null;constructor(e){this.#B=e}pause(){this.#I=!0}resume(){this.#I&&(this.#I=!1,this[S]?.())}abort(e){this.#E||(this.#E=!0,this.#f=e,this.#B(e))}get aborted(){return this.#E}get reason(){return this.#f}get paused(){return this.#I}}function D(e,t,r){if(r&&"object"==typeof r&&!Array.isArray(r))throw new i(`invalid ${t} header`);if(void 0===r)return;let n=y[t];if(void 0===n&&void 0===y[n=t.toLowerCase()]&&!o(n))throw new i("invalid header key");if(Array.isArray(r)){let e=[];for(let s=0;s<r.length;s++)if("string"==typeof r[s]){if(!a(r[s]))throw new i(`invalid ${t} header`);e.push(r[s])}else if(null===r[s])e.push("");else if("object"==typeof r[s])throw new i(`invalid ${t} header`);else{let n=`${r[s]}`;if(!a(n))throw new i(`invalid ${t} header`);e.push(n)}r=e}else if("string"==typeof r){if(!a(r))throw new i(`invalid ${t} header`)}else if(null===r)r="";else if(!a(r=`${r}`))throw new i(`invalid ${t} header`);if("host"===n){if(null!==e.host)throw new i("duplicate host header");if("string"!=typeof r)throw new i("invalid host header");e.host=r}else if("content-length"===n){if(null!==e.contentLength)throw new i("duplicate content-length header");if(!function(e){if("string"!=typeof e||0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}return!0}(r))throw new i("invalid content-length header");e.contentLength=parseInt(r,10)}else if(null===e.contentType&&"content-type"===n)e.contentType=r,e.headers.push(t,r);else if("transfer-encoding"===n||"keep-alive"===n||"upgrade"===n)throw new i(`invalid ${n} header`);else if("connection"===n){let t="string"==typeof r?r:null;if(null===t)throw new i("invalid connection header");for(let r of t.toLowerCase().split(",")){let t=r.trim();if(!o(t))throw new i("invalid connection header");"close"===t&&(e.reset=!0)}}else if("expect"===n)throw new s("expect header not supported");else e.headers.push(t,r)}e.exports=class{constructor(e,{path:t,method:r,body:s,headers:n,query:p,idempotent:y,blocking:b,upgrade:S,headersTimeout:w,bodyTimeout:x,reset:R,expectContinue:M,servername:k,throwOnError:F,maxRedirections:U,typeOfService:v},T){if("string"!=typeof t)throw new i("path must be a string");if("/"===t[0]||t.startsWith("http://")||t.startsWith("https://")||"CONNECT"===r){if(Q.test(t))throw new i("invalid request path")}else throw new i("path must be an absolute URL or start with a slash");if("string"!=typeof r)throw new i("method must be a string");if(void 0===f[r]&&!o(r))throw new i("invalid request method");if(S&&"string"!=typeof S)throw new i("upgrade must be a string");if(S&&!a(S))throw new i("invalid upgrade header");if(null!=w&&(!Number.isFinite(w)||w<0))throw new i("invalid headersTimeout");if(null!=x&&(!Number.isFinite(x)||x<0))throw new i("invalid bodyTimeout");if(null!=R&&"boolean"!=typeof R)throw new i("invalid reset");if(null!=M&&"boolean"!=typeof M)throw new i("invalid expectContinue");if(null!=F)throw new i("invalid throwOnError");if(null!=U&&0!==U)throw new i("maxRedirections is not supported, use the redirect interceptor");if(null!=v&&(!Number.isInteger(v)||v<0||v>255))throw new i("typeOfService must be an integer between 0 and 255");if(this.headersTimeout=w,this.bodyTimeout=x,this.method=r,this.typeOfService=v,this.abort=null,null==s)this.body=null;else if(A(s)){this.body=s;let e=this.body._readableState;e&&e.autoDestroy||(this.endHandler=function(){l(this)},this.body.on("end",this.endHandler)),this.errorHandler=e=>{this.abort?this.abort(e):this.error=e},this.body.on("error",this.errorHandler)}else if(c(s))this.body=s.byteLength?s:null;else if(ArrayBuffer.isView(s))this.body=s.buffer.byteLength?Buffer.from(s.buffer,s.byteOffset,s.byteLength):null;else if(s instanceof ArrayBuffer)this.body=s.byteLength?Buffer.from(s):null;else if("string"==typeof s)this.body=s.length?Buffer.from(s):null;else if(d(s)||g(s)||h(s))this.body=s;else throw new i("body must be a string, a Buffer, a Readable stream, an iterable, or an async iterable");if(this.completed=!1,this.aborted=!1,this.upgrade=S||null,this.path=p?m(t,p):t,this.origin=e,this.protocol=E(e),this.idempotent=null==y?"HEAD"===r||"GET"===r||"QUERY"===r:y,this.blocking=b??"HEAD"!==this.method,this.reset=null==R?null:R,this.host=null,this.contentLength=null,this.contentType=null,this.headers=[],this.expectContinue=null!=M&&M,Array.isArray(n)){if(n.length%2!=0)throw new i("headers array must be even");for(let e=0;e<n.length;e+=2)D(this,n[e],n[e+1])}else if(n&&"object"==typeof n)if(u(n))for(let e of n){if(!Array.isArray(e)||2!==e.length)throw new i("headers must be in key-value pair format");D(this,e[0],e[1])}else{let e=Object.keys(n);for(let t=0;t<e.length;++t)D(this,e[t],n[e[t]])}else if(null!=n)throw new i("headers must be an object or an array");C(T,r,S),this.servername=k||I(this.host)||null,this[N]=T,B.create.hasSubscribers&&B.create.publish({request:this})}onBodySent(e){if(B.bodyChunkSent.hasSubscribers&&B.bodyChunkSent.publish({request:this,chunk:e}),this[N].onBodySent)try{return this[N].onBodySent(e)}catch(e){this.abort(e)}}onRequestSent(){if(B.bodySent.hasSubscribers&&B.bodySent.publish({request:this}),this[N].onRequestSent)try{return this[N].onRequestSent()}catch(e){this.abort(e)}}onRequestStart(e,t){return(n(!this.aborted),n(!this.completed),this[b]=new w(e),this.error)?void this[b].abort(this.error):(this.abort=e,this[N].onRequestStart(this[b],t))}onResponseStarted(){return this[N].onResponseStarted?.()}onResponseStart(e,t,r,i){n(!this.aborted),n(!this.completed),B.headers.hasSubscribers&&B.headers.publish({request:this,response:{statusCode:e,headers:t,statusText:i}});let s=this[b];s&&(s[S]=r,s.rawHeaders=t);let o=Array.isArray(t)?p(t):t;try{return this[N].onResponseStart?.(s,e,o,i),!s?.paused}catch(e){return this.abort(e),!1}}onResponseData(e){n(!this.aborted),n(!this.completed),B.bodyChunkReceived.hasSubscribers&&B.bodyChunkReceived.publish({request:this,chunk:e});let t=this[b];try{return this[N].onResponseData?.(t,e),!t?.paused}catch(e){return this.abort(e),!1}}onRequestUpgrade(e,t,r){n(!this.aborted),n(!this.completed);let i=this[b];i&&(i.rawHeaders=t);let s=Array.isArray(t)?p(t):t;return this[N].onRequestUpgrade?.(i,e,s,r)}onResponseEnd(e){this.onFinally(),n(!this.aborted),n(!this.completed),this.completed=!0,B.trailers.hasSubscribers&&B.trailers.publish({request:this,trailers:e});let t=this[b];t&&(t.rawTrailers=e);let r=Array.isArray(e)?p(e):e;try{return this[N].onResponseEnd?.(t,r)}catch(e){this.onResponseError(e)}}onResponseError(e){if(this.onFinally(),B.error.hasSubscribers&&B.error.publish({request:this,error:e}),this.aborted)return;this.aborted=!0;let t=this[b];return this[N].onResponseError?.(t,e)}onFinally(){this.errorHandler&&(this.body.off("error",this.errorHandler),this.errorHandler=null),this.endHandler&&(this.body.off("end",this.endHandler),this.endHandler=null)}addHeader(e,t){return D(this,e,t),this}}},9716(e,t,r){let{EventEmitter:i}=r(8474),{Buffer:s}=r(4573),{InvalidArgumentError:n,Socks5ProxyError:o}=r(8065),{debuglog:a}=r(7975),{parseAddress:A}=r(2598),l=a("undici:socks5"),c=s.alloc(0),d={NO_AUTH:0,GSSAPI:1,USERNAME_PASSWORD:2,NO_ACCEPTABLE:255},g={CONNECT:1,BIND:2,UDP_ASSOCIATE:3},u={IPV4:1,DOMAIN:3,IPV6:4},h={SUCCEEDED:0,GENERAL_FAILURE:1,CONNECTION_NOT_ALLOWED:2,NETWORK_UNREACHABLE:3,HOST_UNREACHABLE:4,CONNECTION_REFUSED:5,TTL_EXPIRED:6,COMMAND_NOT_SUPPORTED:7,ADDRESS_TYPE_NOT_SUPPORTED:8},m={INITIAL:"initial",HANDSHAKING:"handshaking",AUTHENTICATING:"authenticating",AUTHENTICATED:"authenticated",CONNECTING:"connecting",CONNECTED:"connected",ERROR:"error",CLOSED:"closed"};e.exports={Socks5Client:class extends i{constructor(e,t={}){if(super(),!e)throw new n("socket is required");this.socket=e,this.options=t,this.state=m.INITIAL,this.buffer=c,this.onSocketData=this.onData.bind(this),this.onSocketError=this.onError.bind(this),this.onSocketClose=this.onClose.bind(this),this.authMethods=[],t.username&&t.password&&this.authMethods.push(d.USERNAME_PASSWORD),this.authMethods.push(d.NO_AUTH),this.socket.on("data",this.onSocketData),this.socket.on("error",this.onSocketError),this.socket.on("close",this.onSocketClose)}onData(e){l("received data",e.length,"bytes in state",this.state),this.buffer=s.concat([this.buffer,e]);try{switch(this.state){case m.HANDSHAKING:this.handleHandshakeResponse();break;case m.AUTHENTICATING:this.handleAuthResponse();break;case m.CONNECTING:this.handleConnectResponse()}}catch(e){this.onError(e)}}onError(e){l("socket error",e),this.state=m.ERROR,this.emit("error",e),this.destroy()}onClose(){l("socket closed"),this.state=m.CLOSED,this.emit("close")}destroy(){this.socket&&!this.socket.destroyed&&this.socket.destroy()}markAuthenticated(){this.state=m.AUTHENTICATED,this.emit("authenticated")}handshake(){if(this.state!==m.INITIAL)throw new n("Handshake already started");l("starting handshake with",this.authMethods.length,"auth methods"),this.state=m.HANDSHAKING;let e=s.alloc(2+this.authMethods.length);e[0]=5,e[1]=this.authMethods.length,this.authMethods.forEach((t,r)=>{e[2+r]=t}),this.socket.write(e)}handleHandshakeResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(5!==e)throw new o(`Invalid SOCKS version: ${e}`,"UND_ERR_SOCKS5_VERSION");if(t===d.NO_ACCEPTABLE)throw new o("No acceptable authentication method","UND_ERR_SOCKS5_AUTH_REJECTED");if(this.buffer=this.buffer.subarray(2),l("server selected auth method",t),t===d.NO_AUTH)this.markAuthenticated();else if(t===d.USERNAME_PASSWORD)this.state=m.AUTHENTICATING,this.sendAuthRequest();else throw new o(`Unsupported authentication method: ${t}`,"UND_ERR_SOCKS5_AUTH_METHOD")}sendAuthRequest(){let{username:e,password:t}=this.options;if(!e||!t)throw new n("Username and password required for authentication");l("sending username/password auth");let r=s.from(e),i=s.from(t);if(r.length>255||i.length>255)throw new n("Username or password too long");let o=s.alloc(3+r.length+i.length);o[0]=1,o[1]=r.length,r.copy(o,2),o[2+r.length]=i.length,i.copy(o,3+r.length),this.socket.write(o)}handleAuthResponse(){if(this.buffer.length<2)return;let e=this.buffer[0],t=this.buffer[1];if(1!==e)throw new o(`Invalid auth sub-negotiation version: ${e}`,"UND_ERR_SOCKS5_AUTH_VERSION");if(0!==t)throw new o("Authentication failed","UND_ERR_SOCKS5_AUTH_FAILED");this.buffer=this.buffer.subarray(2),l("authentication successful"),this.markAuthenticated()}connect(e,t){if(this.state===m.CONNECTING||this.state===m.CONNECTED)throw new n("Connection already in progress");if(this.state!==m.AUTHENTICATED)throw new n("Client must be authenticated before CONNECT");l("connecting to",e,t),this.state=m.CONNECTING;let r=this.buildConnectRequest(g.CONNECT,e,t);this.socket.write(r)}buildConnectRequest(e,t,r){let{type:i,buffer:n}=A(t),o=s.alloc(4+n.length+2);return o[0]=5,o[1]=e,o[2]=0,o[3]=i,n.copy(o,4),o.writeUInt16BE(r,4+n.length),o}handleConnectResponse(){let e;if(this.buffer.length<4)return;let t=this.buffer[0],r=this.buffer[1],i=this.buffer[3];if(5!==t)throw new o(`Invalid SOCKS version in reply: ${t}`,"UND_ERR_SOCKS5_REPLY_VERSION");let s=4;if(i===u.IPV4)s+=6;else if(i===u.DOMAIN){if(this.buffer.length<5)return;s+=1+this.buffer[4]+2}else if(i===u.IPV6)s+=18;else throw new o(`Invalid address type in reply: ${i}`,"UND_ERR_SOCKS5_ADDR_TYPE");if(this.buffer.length<s)return;if(r!==h.SUCCEEDED){let e=this.getReplyErrorMessage(r);throw new o(`SOCKS5 connection failed: ${e}`,`UND_ERR_SOCKS5_REPLY_${r}`)}let n=4;if(i===u.IPV4)e=Array.from(this.buffer.subarray(n,n+4)).join("."),n+=4;else if(i===u.DOMAIN){let t=this.buffer[n];n+=1,e=this.buffer.subarray(n,n+t).toString(),n+=t}else if(i===u.IPV6){let t=[];for(let e=0;e<8;e++){let r=this.buffer.readUInt16BE(n+2*e);t.push(r.toString(16))}e=t.join(":"),n+=16}let a=this.buffer.readUInt16BE(n);this.buffer=c,this.state=m.CONNECTED,this.socket.removeListener("data",this.onSocketData),l("connected, bound address:",e,"port:",a),this.emit("connected",{address:e,port:a})}getReplyErrorMessage(e){switch(e){case h.GENERAL_FAILURE:return"General SOCKS server failure";case h.CONNECTION_NOT_ALLOWED:return"Connection not allowed by ruleset";case h.NETWORK_UNREACHABLE:return"Network unreachable";case h.HOST_UNREACHABLE:return"Host unreachable";case h.CONNECTION_REFUSED:return"Connection refused";case h.TTL_EXPIRED:return"TTL expired";case h.COMMAND_NOT_SUPPORTED:return"Command not supported";case h.ADDRESS_TYPE_NOT_SUPPORTED:return"Address type not supported";default:return`Unknown error code: ${e}`}}},AUTH_METHODS:d,COMMANDS:g,ADDRESS_TYPES:u,REPLY_CODES:h,STATES:m}},2598(e,t,r){let{Buffer:i}=r(4573),s=r(7030),{InvalidArgumentError:n}=r(8065);function o(e){let t=i.alloc(16),r=e;if(e.includes(".")){let t=e.lastIndexOf(":"),i=e.slice(t+1);if(s.isIPv4(i)){let s=i.split(".").map(Number),n=(s[0]<<8|s[1]).toString(16),o=(s[2]<<8|s[3]).toString(16);r=`${e.slice(0,t)}:${n}:${o}`}}let n=r.indexOf("::");if(-1!==n){let e=r.slice(0,n),i=r.slice(n+2),s=""===e?[]:e.split(":"),o=""===i?[]:i.split(":"),a=0;for(let e of s)t.writeUInt16BE(parseInt(e,16),a),a+=2;for(let e of(a=16-2*o.length,o))t.writeUInt16BE(parseInt(e,16),a),a+=2}else{let e=r.split(":");for(let r=0;r<e.length;r++)t.writeUInt16BE(parseInt(e[r],16),2*r)}return t}e.exports={parseAddress:function(e){if(s.isIPv4(e)){let t=e.split(".").map(Number);return{type:1,buffer:i.from(t)}}if(s.isIPv6(e))return{type:4,buffer:o(e)};let t=i.from(e,"utf8");if(t.length>255)throw new n("Domain name too long (max 255 bytes)");return{type:3,buffer:i.concat([i.from([t.length]),t])}},parseIPv6:o,buildAddressBuffer:function(e,t,r){let s=i.allocUnsafe(2);return s.writeUInt16BE(r,0),i.concat([i.from([e]),t,s])},parseResponseAddress:function(e,t=0){let r;if(e.length<t+1)throw new n("Buffer too small to contain address type");let i=e[t],s=t+1;switch(i){case 1:if(e.length<s+6)throw new n("Buffer too small for IPv4 address");r=Array.from(e.subarray(s,s+4)).join("."),s+=4;break;case 3:{if(e.length<s+1)throw new n("Buffer too small for domain length");let t=e[s];if(s+=1,e.length<s+t+2)throw new n("Buffer too small for domain address");r=e.subarray(s,s+t).toString("utf8"),s+=t;break}case 4:{if(e.length<s+18)throw new n("Buffer too small for IPv6 address");let t=[];for(let r=0;r<8;r++){let i=e.readUInt16BE(s+2*r);t.push(i.toString(16))}r=t.join(":"),s+=16;break}default:throw new n(`Invalid address type: ${i}`)}if(e.length<s+2)throw new n("Buffer too small for port");return{address:r,port:e.readUInt16BE(s),bytesRead:(s+=2)-t}},createReplyError:function(e){let t=Error({1:"General SOCKS server failure",2:"Connection not allowed by ruleset",3:"Network unreachable",4:"Host unreachable",5:"Connection refused",6:"TTL expired",7:"Command not supported",8:"Address type not supported"}[e]||`Unknown SOCKS5 error code: ${e}`);return t.code=`SOCKS5_${e}`,t}}},3025(e){e.exports={kClose:Symbol("close"),kDestroy:Symbol("destroy"),kDispatch:Symbol("dispatch"),kUrl:Symbol("url"),kWriting:Symbol("writing"),kResuming:Symbol("resuming"),kQueue:Symbol("queue"),kConnect:Symbol("connect"),kConnecting:Symbol("connecting"),kKeepAliveDefaultTimeout:Symbol("default keep alive timeout"),kKeepAliveMaxTimeout:Symbol("max keep alive timeout"),kKeepAliveTimeoutThreshold:Symbol("keep alive timeout threshold"),kKeepAliveTimeoutValue:Symbol("keep alive timeout"),kKeepAlive:Symbol("keep alive"),kHeadersTimeout:Symbol("headers timeout"),kBodyTimeout:Symbol("body timeout"),kServerName:Symbol("server name"),kLocalAddress:Symbol("local address"),kHost:Symbol("host"),kNoRef:Symbol("no ref"),kBodyUsed:Symbol("used"),kBody:Symbol("abstracted request body"),kRunning:Symbol("running"),kBlocking:Symbol("blocking"),kPending:Symbol("pending"),kSize:Symbol("size"),kBusy:Symbol("busy"),kQueued:Symbol("queued"),kFree:Symbol("free"),kConnected:Symbol("connected"),kClosed:Symbol("closed"),kNeedDrain:Symbol("need drain"),kReset:Symbol("reset"),kDestroyed:Symbol.for("nodejs.stream.destroyed"),kResume:Symbol("resume"),kOnError:Symbol("on error"),kMaxHeadersSize:Symbol("max headers size"),kRunningIdx:Symbol("running index"),kPendingIdx:Symbol("pending index"),kError:Symbol("error"),kClients:Symbol("clients"),kClient:Symbol("client"),kParser:Symbol("parser"),kOnDestroyed:Symbol("destroy callbacks"),kPipelining:Symbol("pipelining"),kSocket:Symbol("socket"),kHostHeader:Symbol("host header"),kConnector:Symbol("connector"),kStrictContentLength:Symbol("strict content length"),kMaxRedirections:Symbol("maxRedirections"),kMaxRequests:Symbol("maxRequestsPerClient"),kProxy:Symbol("proxy agent options"),kCounter:Symbol("socket request counter"),kMaxResponseSize:Symbol("max response size"),kHTTP2Session:Symbol("http2Session"),kHTTP2SessionState:Symbol("http2Session state"),kRetryHandlerDefaultRetry:Symbol("retry agent default retry"),kConstruct:Symbol("constructable"),kListeners:Symbol("listeners"),kHTTPContext:Symbol("http context"),kMaxConcurrentStreams:Symbol("max concurrent streams"),kHostAuthority:Symbol("host authority"),kHTTP2InitialWindowSize:Symbol("http2 initial window size"),kHTTP2ConnectionWindowSize:Symbol("http2 connection window size"),kEnableConnectProtocol:Symbol("http2session connect protocol"),kRemoteSettings:Symbol("http2session remote settings"),kHTTP2Stream:Symbol("http2session client stream"),kPingInterval:Symbol("ping interval"),kNoProxyAgent:Symbol("no proxy agent"),kHttpProxyAgent:Symbol("http proxy agent"),kHttpsProxyAgent:Symbol("https proxy agent"),kSocks5ProxyAgent:Symbol("socks5 proxy agent")}},1342(e,t,r){let{wellknownHeaderNames:i,headerNameLowerCasedRecord:s}=r(7525);class n{value=null;left=null;middle=null;right=null;code;constructor(e,t,r){if(void 0===r||r>=e.length)throw TypeError("Unreachable");if((this.code=e.charCodeAt(r))>127)throw TypeError("key must be ascii string");e.length!==++r?this.middle=new n(e,t,r):this.value=t}add(e,t){let r=e.length;if(0===r)throw TypeError("Unreachable");let i=0,s=this;for(;;){let o=e.charCodeAt(i);if(o>127)throw TypeError("key must be ascii string");if(s.code===o)if(r===++i){s.value=t;break}else if(null!==s.middle)s=s.middle;else{s.middle=new n(e,t,i);break}else if(s.code<o)if(null!==s.left)s=s.left;else{s.left=new n(e,t,i);break}else if(null!==s.right)s=s.right;else{s.right=new n(e,t,i);break}}}search(e){let t=e.length,r=0,i=this;for(;null!==i&&r<t;){let s=e[r];for(s<=90&&s>=65&&(s|=32);null!==i;){if(s===i.code){if(t===++r)return i;i=i.middle;break}i=i.code<s?i.left:i.right}}return null}}class o{node=null;insert(e,t){null===this.node?this.node=new n(e,t,0):this.node.add(e,t)}lookup(e){return this.node?.search(e)?.value??null}}let a=new o;for(let e=0;e<i.length;++e){let t=s[i[e]];a.insert(t,t)}e.exports={TernarySearchTree:o,tree:a}},1210(e,t,r){let i=r(4589),{kDestroyed:s,kBodyUsed:n,kListeners:o,kBody:a}=r(3025),{IncomingMessage:A}=r(7067),l=r(7075),c=r(7030),{stringify:d}=r(1792),{EventEmitter:g,addAbortListener:u}=r(8474),h=r(2297),{InvalidArgumentError:m,ConnectTimeoutError:p}=r(8065),{headerNameLowerCasedRecord:C}=r(7525),{tree:I}=r(1342);class f{constructor(e){this[a]=e,this[n]=!1}async *[Symbol.asyncIterator](){i(!this[n],"disturbed"),this[n]=!0,yield*this[a]}}function E(){}function B(e){return e&&"object"==typeof e&&"function"==typeof e.pipe&&"function"==typeof e.on}function y(e){return e instanceof Blob}function Q(e){return e.includes("?")||e.includes("#")}function N(e){let t=parseInt(e,10);return t===Number(e)&&t>=0&&t<=65535}function b(e){return null!=e&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&(":"===e[4]||"s"===e[4]&&":"===e[5])}function S(e){if("string"==typeof e){if(!b((e=new URL(e)).origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}if(!e||"object"!=typeof e)throw new m("Invalid URL: The URL argument must be a non-null object.");if(!(e instanceof URL)){if(null!=e.port&&""!==e.port&&!1===N(e.port))throw new m("Invalid URL: port must be a valid integer or a string representation of an integer.");if(null!=e.path&&"string"!=typeof e.path)throw new m("Invalid URL path: the path must be a string or null/undefined.");if(null!=e.pathname&&"string"!=typeof e.pathname)throw new m("Invalid URL pathname: the pathname must be a string or null/undefined.");if(null!=e.hostname&&"string"!=typeof e.hostname)throw new m("Invalid URL hostname: the hostname must be a string or null/undefined.");if(null!=e.origin&&"string"!=typeof e.origin)throw new m("Invalid URL origin: the origin must be a string or null/undefined.");if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");let t=null!=e.port?e.port:"https:"===e.protocol?443:80,r=null!=e.origin?e.origin:`${e.protocol||""}//${e.hostname||""}:${t}`,i=null!=e.path?e.path:`${e.pathname||""}${e.search||""}`;return"/"===r[r.length-1]&&(r=r.slice(0,r.length-1)),i&&"/"!==i[0]&&(i=`/${i}`),new URL(`${r}${i}`)}if(!b(e.origin||e.protocol))throw new m("Invalid URL protocol: the URL must start with `http:` or `https:`.");return e}function w(e){return null!=e&&("function"==typeof e[Symbol.iterator]||"function"==typeof e[Symbol.asyncIterator])}function D(e){if(null==e)return 0;if(B(e)){let t=e._readableState;return t&&!1===t.objectMode&&!0===t.ended&&Number.isFinite(t.length)?t.length:null}return y(e)?null!=e.size?e.size:null:F(e)?e.byteLength:null}function x(e){return e&&!!(e.destroyed||e[s]||l.isDestroyed?.(e))}function R(e,t){if(!(null==e||!B(e)||x(e))){if("function"==typeof e.destroy){Object.getPrototypeOf(e).constructor===A&&(e.socket=null);try{e.destroy(t)}catch{}}else t&&queueMicrotask(()=>{e.emit("error",t)});!0!==e.destroyed&&(e[s]=!0)}}let M=/timeout=(\d+)/;function k(e){return"string"==typeof e?C[e]??e.toLowerCase():I.lookup(e)??e.toString("latin1").toLowerCase()}function F(e){return e instanceof Uint8Array||Buffer.isBuffer(e)}function U(e){return e&&"object"==typeof e&&"function"==typeof e.append&&"function"==typeof e.delete&&"function"==typeof e.get&&"function"==typeof e.getAll&&"function"==typeof e.has&&"function"==typeof e.set&&"FormData"===e[Symbol.toStringTag]}let v=new Uint8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,1,1,1,1,1,0,0,1,1,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,1,0,1,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),T=/^[\^_`a-zA-Z\-0-9!#$%&'*+.|~]+$/,L=/[^\t\x20-\x7e\x80-\xff]/,O=/^bytes (\d+)-(\d+)\/(\d+|\*)?$/,H="win32"===process.platform?(e,t)=>{if(!t.timeout)return E;let r=null,i=null,s=h.setFastTimeout(()=>{r=setImmediate(()=>{i=setImmediate(()=>P(e.deref(),t))})},t.timeout);return()=>{h.clearFastTimeout(s),clearImmediate(r),clearImmediate(i)}}:(e,t)=>{if(!t.timeout)return E;let r=null,i=h.setFastTimeout(()=>{r=setImmediate(()=>{P(e.deref(),t)})},t.timeout);return()=>{h.clearFastTimeout(i),clearImmediate(r)}};function P(e,t){if(null==e)return;let r="Connect Timeout Error";Array.isArray(e.autoSelectFamilyAttemptedAddresses)?r+=` (attempted addresses: ${e.autoSelectFamilyAttemptedAddresses.join(", ")},`:r+=` (attempted address: ${t.hostname}:${t.port},`,R(e,new p(r+=` timeout: ${t.timeout}ms)`))}let Y=null,G=null,z={delete:"DELETE",DELETE:"DELETE",get:"GET",GET:"GET",head:"HEAD",HEAD:"HEAD",options:"OPTIONS",OPTIONS:"OPTIONS",post:"POST",POST:"POST",put:"PUT",PUT:"PUT",query:"QUERY",QUERY:"QUERY"},q={...z,patch:"patch",PATCH:"PATCH"};Object.setPrototypeOf(z,null),Object.setPrototypeOf(q,null),e.exports={kEnumerableProperty:{__proto__:null,enumerable:!0},isDisturbed:function(e){return!!(e&&(l.isDisturbed(e)||e[n]))},isBlobLike:y,parseOrigin:function(e){if("/"!==(e=S(e)).pathname||e.search||e.hash)throw new m("invalid url");return e},parseURL:S,getServerName:function(e){if(!e)return null;i("string"==typeof e);let t=function(e){if("["===e[0]){let t=e.indexOf("]");return i(-1!==t),e.substring(1,t)}let t=e.indexOf(":");return -1===t?e:e.substring(0,t)}(e);return c.isIP(t)?"":t},isStream:B,isIterable:w,hasSafeIterator:function(e){let t=Object.getPrototypeOf(e);return Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator]},isAsyncIterable:function(e){return null!=e&&"function"==typeof e[Symbol.asyncIterator]},isDestroyed:x,headerNameToString:k,bufferToLowerCasedHeaderName:function(e){return I.lookup(e)??e.toString("latin1").toLowerCase()},addListener:function(e,t,r){return(e[o]??=[]).push([t,r]),e.on(t,r),e},removeAllListeners:function(e){if(null!=e[o]){for(let[t,r]of e[o])e.removeListener(t,r);e[o]=null}return e},errorRequest:function(e,t,r){try{t.onResponseError(r),i(t.aborted)}catch(t){e.emit("error",t)}},parseRawHeaders:function(e){let t,r;if(null==e)return[];if(!Array.isArray(e)){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(r,`${e}`);else t.push(r,`${i}`);return t}let i=e.length,s=Array(i);for(let n=0;n<i;n+=2)t=e[n],r=e[n+1],"string"!=typeof t&&(t=t.toString()),"string"!=typeof r&&(r=r.toString("latin1")),s[n]=t,s[n+1]=r;return s},toRawHeaders:function(e){let t=[];for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.push(Buffer.from(r,"latin1"),Buffer.from(`${e}`,"latin1"));else t.push(Buffer.from(r,"latin1"),Buffer.from(`${i}`,"latin1"));return t},encodeRawHeaders:function(e){if(!Array.isArray(e))throw TypeError("expected headers to be an array");return e.map(e=>Buffer.from(e))},parseHeaders:function(e,t){void 0===t&&(t={});for(let r=0;r<e.length;r+=2){let i=k(e[r]),s=t[i];if(void 0!==s)if(Object.hasOwn(t,i))"string"==typeof s&&(s=[s],t[i]=s),s.push(e[r+1].toString("latin1"));else{let s="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");"__proto__"===i?Object.defineProperty(t,i,{value:s,enumerable:!0,configurable:!0,writable:!0}):t[i]=s}else{let s="string"==typeof e[r+1]?e[r+1]:Array.isArray(e[r+1])?e[r+1].map(e=>e.toString("latin1")):e[r+1].toString("latin1");t[i]=s}}return t},parseKeepAliveTimeout:function(e){let t=e.match(M);return t?1e3*parseInt(t[1],10):null},destroy:R,bodyLength:D,deepClone:function(e){return JSON.parse(JSON.stringify(e))},ReadableStreamFrom:function(e){let t;return new ReadableStream({start(){t=e[Symbol.asyncIterator]()},pull(e){return t.next().then(({done:t,value:r})=>{if(t)return queueMicrotask(()=>{e.close(),e.byobRequest?.respond(0)});{let t=Buffer.isBuffer(r)?r:Buffer.from(r);return t.byteLength?e.enqueue(new Uint8Array(t)):this.pull(e)}})},cancel:()=>t.return(),type:"bytes"})},isBuffer:F,assertRequestHandler:function(e,t,r){if(!e||"object"!=typeof e)throw new m("handler must be an object");if("function"!=typeof e.onRequestStart)throw new m("invalid onRequestStart method");if("function"!=typeof e.onResponseError)throw new m("invalid onResponseError method");if("function"!=typeof e.onBodySent&&void 0!==e.onBodySent)throw new m("invalid onBodySent method");if("function"!=typeof e.onRequestSent&&void 0!==e.onRequestSent)throw new m("invalid onRequestSent method");if(r||"CONNECT"===t){if("function"!=typeof e.onRequestUpgrade)throw new m("invalid onRequestUpgrade method")}else{if("function"!=typeof e.onResponseStart)throw new m("invalid onResponseStart method");if("function"!=typeof e.onResponseData)throw new m("invalid onResponseData method");if("function"!=typeof e.onResponseEnd)throw new m("invalid onResponseEnd method")}},getSocketInfo:function(e){return{localAddress:e.localAddress,localPort:e.localPort,remoteAddress:e.remoteAddress,remotePort:e.remotePort,remoteFamily:e.remoteFamily,timeout:e.timeout,bytesWritten:e.bytesWritten,bytesRead:e.bytesRead}},isFormDataLike:U,pathHasQueryOrFragment:Q,serializePathWithQuery:function(e,t){if(Q(e))throw Error('Query params cannot be passed when url already contains "?" or "#".');let r=d(t);return r&&(e+="?"+r),e},addAbortListener:function(e,t){return!e||"aborted"in e?u(e,t)[Symbol.dispose]:"function"==typeof e.addEventListener?(e.addEventListener("abort",t,{once:!0}),()=>e.removeEventListener("abort",t)):(e.once("abort",t),()=>e.removeListener("abort",t))},isValidHTTPToken:function(e){if(e.length>=12)return T.test(e);if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(1!==v[e.charCodeAt(t)])return!1;return!0},isValidHeaderValue:function(e){return!L.test(e)},isTokenCharCode:function(e){return 1===v[e]},parseRangeHeader:function(e){if(null==e||""===e)return{start:0,end:null,size:null};if(!e)return null;let t=O.exec(e);return t?{start:parseInt(t[1]),end:t[2]?parseInt(t[2]):null,size:t[3]&&"*"!==t[3]?parseInt(t[3]):null}:null},normalizedMethodRecordsBase:z,normalizedMethodRecords:q,isValidPort:N,isHttpOrHttpsPrefixed:b,safeHTTPMethods:Object.freeze(["GET","HEAD","OPTIONS","TRACE"]),wrapRequestBody:function(e){return B(e)?(0===D(e)&&e.on("data",function(){i(!1)}),"boolean"!=typeof e.readableDidRead&&(e[n]=!1,g.prototype.on.call(e,"data",function(){this[n]=!0})),e):e&&"function"==typeof e.pipeTo?new f(e):e&&U(e)?e:e&&"string"!=typeof e&&!ArrayBuffer.isView(e)&&w(e)?new f(e):e},setupConnectTimeout:H,getProtocolFromUrlString:function(e){if(e===Y)return G;let t=function(e){if("h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3])switch(e[4]){case":":return"http:";case"s":if(":"===e[5])return"https:"}return e.slice(0,e.indexOf(":")+1)}(e);return Y=e,G=t,t}}},5891(e,t,r){let{InvalidArgumentError:i,MaxOriginsReachedError:s}=r(8065),{kBusy:n,kClients:o,kConnected:a,kRunning:A,kClose:l,kDestroy:c,kDispatch:d,kUrl:g}=r(3025),u=r(9779),h=r(6334),m=r(5183),p=r(1210),C=Symbol("onConnect"),I=Symbol("onDisconnect"),f=Symbol("onConnectionError"),E=Symbol("onDrain"),B=Symbol("factory"),y=Symbol("options"),Q=Symbol("origins");function N(e,t){return t&&1===t.connections?new m(e,t):new h(e,t)}e.exports=class extends u{constructor({factory:e=N,maxOrigins:t=1/0,connect:r,...s}={}){if("function"!=typeof e)throw new i("factory must be a function.");if(null!=r&&"function"!=typeof r&&"object"!=typeof r)throw new i("connect must be a function or an object");if("number"!=typeof t||Number.isNaN(t)||t<=0)throw new i("maxOrigins must be a number greater than 0");super(s),r&&"function"!=typeof r&&(r={...r}),this[y]={...p.deepClone(s),maxOrigins:t,connect:r},this[B]=e,this[o]=new Map,this[Q]=new Set,this[E]=(e,t)=>{this.emit("drain",e,[this,...t])},this[C]=(e,t)=>{this.emit("connect",e,[this,...t])},this[I]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)},this[f]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)}}get[A](){let e=0;for(let t of this[o].values())e+=t[A];return e}[d](e,t){let r;if(e.origin&&("string"==typeof e.origin||e.origin instanceof URL))r=String(e.origin);else throw new i("opts.origin must be a non-empty string or URL.");let A=e.allowH2??this[y].allowH2,l=!1===A?`${r}#http1-only`:r;if(this[Q].size>=this[y].maxOrigins&&!this[Q].has(r))throw new s;let c=this[o].get(l);if(!c){c=this[B](e.origin,!1===A?{...this[y],allowH2:!1}:this[y]);let t=()=>{if(this[o].get(l)!==c||c[a]>0||c[n])return;this[o].delete(l),c.destroyed||c.close();let e=!1;for(let t of this[o].keys())if(t===r||t===`${r}#http1-only`){e=!0;break}e||this[Q].delete(r)};c.on("drain",this[E]).on("connect",this[C]).on("disconnect",(e,r,i)=>{t(),this[I](e,r,i)}).on("connectionError",(e,r,i)=>{t(),this[f](e,r,i)}),this[o].set(l,c),this[Q].add(r)}return c.dispatch(e,t)}[l](){let e=[];for(let t of this[o].values())e.push(t.close());return this[o].clear(),Promise.all(e)}[c](e){let t=[];for(let r of this[o].values())t.push(r.destroy(e));return this[o].clear(),Promise.all(t)}get stats(){let e={};for(let t of this[o].values())t.stats&&(e[t[g].origin]=t.stats);return e}}},4967(e,t,r){let{BalancedPoolMissingUpstreamError:i,InvalidArgumentError:s}=r(8065),{PoolBase:n,kClients:o,kNeedDrain:a,kAddClient:A,kRemoveClient:l,kGetDispatcher:c}=r(5966),d=r(6334),{kUrl:g}=r(3025),u=r(1210),h=Symbol("factory"),m=Symbol("options"),p=Symbol("kGreatestCommonDivisor"),C=Symbol("kCurrentWeight"),I=Symbol("kIndex"),f=Symbol("kWeight"),E=Symbol("kMaxWeightPerServer"),B=Symbol("kErrorPenalty");function y(e,t){return new d(e,t)}e.exports=class extends n{constructor(e=[],{factory:t=y,...r}={}){if("function"!=typeof t)throw new s("factory must be a function.");for(let i of(super(),this[m]={...u.deepClone(r)},this[I]=-1,this[C]=0,this[E]=this[m].maxWeightPerServer||100,this[B]=this[m].errorPenalty||15,Array.isArray(e)||(e=[e]),this[h]=t,e))this.addUpstream(i);this._updateBalancedPoolStats()}addUpstream(e){let t=u.parseOrigin(e).origin;if(this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed))return this;let r=this[h](t,this[m]);for(let e of(this[A](r),r.on("connect",()=>{r[f]=Math.min(this[E],r[f]+this[B])}),r.on("connectionError",()=>{r[f]=Math.max(1,r[f]-this[B]),this._updateBalancedPoolStats()}),r.on("disconnect",(...e)=>{let t=e[2];t&&"UND_ERR_SOCKET"===t.code&&(r[f]=Math.max(1,r[f]-this[B]),this._updateBalancedPoolStats())}),this[o]))e[f]=this[E];return this._updateBalancedPoolStats(),this}_updateBalancedPoolStats(){let e=0;for(let t=0;t<this[o].length;t++)e=function(e,t){if(0===e)return t;for(;0!==t;){let r=t;t=e%t,e=r}return e}(this[o][t][f],e);this[p]=e}removeUpstream(e){let t=u.parseOrigin(e).origin,r=this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed);return r&&this[l](r),this}getUpstream(e){let t=u.parseOrigin(e).origin;return this[o].find(e=>e[g].origin===t&&!0!==e.closed&&!0!==e.destroyed)}get upstreams(){return this[o].filter(e=>!0!==e.closed&&!0!==e.destroyed).map(e=>e[g].origin)}[c](){if(0===this[o].length)throw new i;let e=0,t=-1;for(;e++<this[o].length;){this[I]=(this[I]+1)%this[o].length;let e=this[o][this[I]];if((0===this[I]&&(this[C]=this[C]-this[p],this[C]<=0&&(this[C]=this[E])),!e[a]&&!0!==e.closed&&!0!==e.destroyed)&&((-1===t||e[f]>this[o][t][f])&&(t=this[I]),e[f]>=this[C]))return e}if(-1!==t)return this[C]=this[o][t][f],this[I]=t,this[o][t]}}},8043(e,t,r){let i,s=r(4589),n=r(1210),{channels:o}=r(6708),a=r(2297),{RequestContentLengthMismatchError:A,ResponseContentLengthMismatchError:l,RequestAbortedError:c,InvalidArgumentError:d,HeadersTimeoutError:g,HeadersOverflowError:u,SocketError:h,InformationalError:m,BodyTimeoutError:p,HTTPParserError:C,ResponseExceededMaxSizeError:I}=r(8065),{kUrl:f,kReset:E,kClient:B,kParser:y,kBlocking:Q,kRunning:N,kPending:b,kSize:S,kWriting:w,kQueue:D,kNoRef:x,kKeepAliveDefaultTimeout:R,kHostHeader:M,kPendingIdx:k,kRunningIdx:F,kError:U,kPipelining:v,kSocket:T,kKeepAliveTimeoutValue:L,kMaxHeadersSize:O,kKeepAliveMaxTimeout:H,kKeepAliveTimeoutThreshold:P,kHeadersTimeout:Y,kBodyTimeout:G,kStrictContentLength:z,kMaxRequests:q,kCounter:V,kMaxResponseSize:_,kOnError:J,kResume:W,kHTTPContext:j,kClosed:K}=r(3025),X=r(8994),Z=Buffer.alloc(0),$=Buffer[Symbol.species],ee=n.removeAllListeners,et=Symbol("kIdleSocketValidation"),er=Symbol("kIdleSocketValidationTimeout"),ei=Symbol("kSocketUsed"),es=Symbol("kTypeOfService"),en=null,eo=null,ea=null,eA=0,el=null,ec=null;class ed{constructor(e,t,{exports:r}){this.llhttp=r,this.ptr=this.llhttp.llhttp_alloc(X.TYPE.RESPONSE),this.client=e,this.socket=t,this.timeout=null,this.timeoutWeakRef=new WeakRef(this),this.timeoutValue=null,this.timeoutType=null,this.statusCode=0,this.statusText="",this.upgrade=!1,this.headers=[],this.headersSize=0,this.headersMaxSize=e[O],this.shouldKeepAlive=!1,this.paused=!1,this.resume=this.resume.bind(this),this.bytesRead=0,this.keepAlive="",this.contentLength=-1,this.connectionKeepAlive=!1,this.maxResponseSize=e[_]}setTimeout(e,t){e!==this.timeoutValue||1&t^1&this.timeoutType?(this.timeout&&(a.clearTimeout(this.timeout),this.timeout=null),e&&(1&t?this.timeout=a.setFastTimeout(eg,e,this.timeoutWeakRef):(this.timeout=setTimeout(eg,e,this.timeoutWeakRef),this.timeout?.unref())),this.timeoutValue=e):this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.timeoutType=t}resume(){!this.socket.destroyed&&this.paused&&(s(null!=this.ptr),s(null===eo),this.llhttp.llhttp_resume(this.ptr),s(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),this.paused=!1,this.execute(this.socket.read()||Z),this.readMore())}readMore(){for(;!this.paused&&this.ptr;){let e=this.socket.read();if(null===e)break;this.execute(e)}}execute(e){s(null===eo),s(null!=this.ptr),s(!this.paused);let{socket:t,llhttp:r}=this;e.length>eA&&(el&&r.free(el),eA=4096*Math.ceil(e.length/4096),el=r.malloc(eA)),(null===ec||ec.buffer!==r.memory.buffer||ec.byteOffset!==el||ec.byteLength!==eA)&&(ec=new Uint8Array(r.memory.buffer,el,eA)),ec.set(e);try{let i;try{ea=e,eo=this,i=r.llhttp_execute(this.ptr,el,e.length)}finally{eo=null,ea=null}if(i!==X.ERROR.OK){let s=e.subarray(r.llhttp_get_error_pos(this.ptr)-el);if(i===X.ERROR.PAUSED_UPGRADE)this.onUpgrade(s);else if(i===X.ERROR.PAUSED)this.paused=!0,t.unshift(s);else throw this.createError(i,s)}}catch(e){n.destroy(t,e)}}finish(){let e;s(null===eo),s(null!=this.ptr);let{llhttp:t}=this;if(this.paused){let e;do t.llhttp_resume(this.ptr),this.paused=!1,e=this.socket.read()||Z,this.execute(e);while(this.paused&&e.length>0);this.paused&&(t.llhttp_resume(this.ptr),this.paused=!1)}try{eo=this,e=t.llhttp_finish(this.ptr)}finally{eo=null}return e===X.ERROR.OK?null:e===X.ERROR.PAUSED||e===X.ERROR.PAUSED_UPGRADE?(this.paused=!0,null):this.createError(e,Z)}createError(e,t){let{llhttp:r,contentLength:i,bytesRead:s}=this;if(-1!==i&&s!==i)return new l;let n=r.llhttp_get_error_reason(this.ptr),o="";if(n){let e=new Uint8Array(r.memory.buffer,n).indexOf(0);o="Response does not match the HTTP/1.1 protocol ("+Buffer.from(r.memory.buffer,n,e).toString()+")"}return new C(o,X.ERROR[e],t)}destroy(){s(null===eo),s(null!=this.ptr),this.llhttp.llhttp_free(this.ptr),this.ptr=null,this.timeout&&a.clearTimeout(this.timeout),this.timeout=null,this.timeoutValue=null,this.timeoutType=null,this.paused=!1}onStatus(e){return this.statusText=e.toString(),0}onMessageBegin(){let{socket:e,client:t}=this;if(e.destroyed)return -1;if(0===t[N])return n.destroy(e,new h("bad response",n.getSocketInfo(e))),-1;let r=t[D][t[F]];return r?(r.onResponseStarted(),0):-1}onHeaderField(e){let t=this.headers.length;return(1&t)==0?this.headers.push(e):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]),this.trackHeader(e.length),0}onHeaderValue(e){let t=this.headers.length;(1&t)==1?(this.headers.push(e),t+=1):this.headers[t-1]=Buffer.concat([this.headers[t-1],e]);let r=this.headers[t-2];if(10===r.length){let i=n.bufferToLowerCasedHeaderName(r);"keep-alive"===i?this.keepAlive+=e.toString():"connection"===i&&(this.connectionKeepAlive=10===this.headers[t-1].length&&"keep-alive"===n.bufferToLowerCasedHeaderName(this.headers[t-1]))}else if(14===r.length&&"content-length"===n.bufferToLowerCasedHeaderName(r)){-1===this.contentLength&&(this.contentLength=0);for(let t=0;t<e.length;t++)this.contentLength=10*this.contentLength+(e[t]-48)}return this.trackHeader(e.length),0}trackHeader(e){this.headersSize+=e,this.headersSize>=this.headersMaxSize&&n.destroy(this.socket,new u)}onUpgrade(e){let{upgrade:t,client:r,socket:i,headers:o,statusCode:a}=this;s(t),s(r[T]===i),s(!i.destroyed),s(!this.paused),s((1&o.length)==0);let A=r[D][r[F]];s(A),s(A.upgrade||"CONNECT"===A.method),this.statusCode=0,this.statusText="",this.shouldKeepAlive=!1,this.headers=[],this.headersSize=0,i.unshift(e),i[y].destroy(),i[y]=null,i[B]=null,i[U]=null,ee(i),r[T]=null,r[j]=null,r[D][r[F]++]=null,r.emit("disconnect",r[f],[r],new m("upgrade"));try{A.onRequestUpgrade(a,o,i)}catch(e){n.destroy(i,e)}r[W]()}onHeadersComplete(e,t,r){let{client:i,socket:o,headers:a,statusText:A}=this;if(o.destroyed)return -1;if(0===i[N])return n.destroy(o,new h("bad response",n.getSocketInfo(o))),-1;let l=i[D][i[F]];if(!l)return -1;if(s(!this.upgrade),s(this.statusCode<200),100===e)return n.destroy(o,new h("bad response",n.getSocketInfo(o))),-1;if(t&&!l.upgrade)return n.destroy(o,new h("bad upgrade",n.getSocketInfo(o))),-1;if(s(3===this.timeoutType),this.statusCode=e,this.shouldKeepAlive=r||"HEAD"===l.method&&!o[E]&&this.connectionKeepAlive,this.statusCode>=200){let e=null!=l.bodyTimeout?l.bodyTimeout:i[G];this.setTimeout(e,5)}else this.timeout&&this.timeout.refresh&&this.timeout.refresh();if("CONNECT"===l.method||t)return s(1===i[N]),this.upgrade=!0,2;if(s((1&this.headers.length)==0),this.headers=[],this.headersSize=0,this.shouldKeepAlive&&i[v]){let e=this.keepAlive?n.parseKeepAliveTimeout(this.keepAlive):null;if(null!=e){let t=Math.min(e-i[P],i[H]);t<=0?o[E]=!0:i[L]=t}else i[L]=i[R]}else o[E]=!0;let c=!1===l.onResponseStart(e,a,this.resume,A);return l.aborted?-1:"HEAD"===l.method||e<200?1:(o[Q]&&(o[Q]=!1,i[W]()),c?X.ERROR.PAUSED:0)}onBody(e){let{client:t,socket:r,statusCode:i,maxResponseSize:o}=this;if(r.destroyed)return -1;let a=t[D][t[F]];return(s(a),s(5===this.timeoutType),this.timeout&&this.timeout.refresh&&this.timeout.refresh(),s(i>=200),o>-1&&this.bytesRead+e.length>o)?(n.destroy(r,new I),-1):(this.bytesRead+=e.length,!1===a.onResponseData(e))?X.ERROR.PAUSED:0}onMessageComplete(){let{client:e,socket:t,statusCode:r,upgrade:i,headers:o,contentLength:a,bytesRead:A,shouldKeepAlive:c}=this;if(t.destroyed&&(!r||c))return -1;if(i)return 0;s(r>=100),s((1&this.headers.length)==0);let d=e[D][e[F]];return(s(d),this.statusCode=0,this.statusText="",this.bytesRead=0,this.contentLength=-1,this.keepAlive="",this.connectionKeepAlive=!1,this.headers=[],this.headersSize=0,r<200)?0:"HEAD"!==d.method&&-1!==a&&A!==a?(n.destroy(t,new l),-1):(d.onResponseEnd(o),e[D][e[F]++]=null,t[ei]=0===e[b],t[w])?(s(0===e[N]),n.destroy(t,new m("reset")),X.ERROR.PAUSED):c?t[E]&&0===e[N]?(n.destroy(t,new m("reset")),X.ERROR.PAUSED):(null==e[v]||1===e[v]?setImmediate(e[W]):e[W](),0):(n.destroy(t,new m("reset")),X.ERROR.PAUSED)}}function eg(e){let t=e.deref();if(!t)return;let{socket:r,timeoutType:i,client:o,paused:a}=t;3===i?(!r[w]||r.writableNeedDrain||o[N]>1)&&(s(!a,"cannot be paused while waiting for headers"),n.destroy(r,new g)):5===i?a||n.destroy(r,new p):8===i&&(s(0===o[N]&&o[L]),n.destroy(r,new m("socket idle timeout")))}function eu(e){s("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code);let t=this[y];if("ECONNRESET"===e.code&&t.statusCode&&!t.shouldKeepAlive){let e=t.finish();e&&(this[U]=e,this[B][J](e));return}this[U]=e,this[B][J](e)}function eh(){this[y]?.readMore()}function em(){let e=this[y];if(e.statusCode&&!e.shouldKeepAlive){let t=e.finish();t&&n.destroy(this,t);return}n.destroy(this,new h("other side closed",n.getSocketInfo(this)))}function ep(){let e=this[y];eI(this),e&&(this[U]||!e.statusCode||e.shouldKeepAlive||(this[U]=e.finish()||this[U]),this[y].destroy(),this[y]=null);let t=this[U]||new h("closed",n.getSocketInfo(this)),r=this[B];if(r[T]=null,r[j]=null,r.destroyed){s(0===r[b]);let e=r[D].splice(r[F]);for(let i=0;i<e.length;i++){let s=e[i];n.errorRequest(r,s,t)}}else if(r[N]>0&&"UND_ERR_INFO"!==t.code){let e=r[D][r[F]];r[D][r[F]++]=null,n.errorRequest(r,e,t)}r[k]=r[F],s(0===r[N]),r.emit("disconnect",r[f],[r],t),r[W]()}function eC(){this[K]=!0}function eI(e){e[er]&&(clearImmediate(e[er]),e[er]=null),e[et]=0}function ef(e,t,r,i,o,a,A,l){try{t?n.isBuffer(t)&&(s(a===t.byteLength,"buffer body must have content length"),o.cork(),o.write(`${A}content-length: ${a}\r \r -`,"latin1"),o.write(t),o.uncork(),i.onBodySent(t),l||!1===i.reset||(o[f]=!0)):0===a?o.write(`${A}content-length: 0\r +`,"latin1"),o.write(t),o.uncork(),i.onBodySent(t),l||!1===i.reset||(o[E]=!0)):0===a?o.write(`${A}content-length: 0\r \r `,"latin1"):(s(null===a,"no body must not have content length"),o.write(`${A}\r -`,"latin1")),i.onRequestSent(),r[W]()}catch(t){e(t)}}async function ef(e,t,r,i,s,n,o,a){try{if(null!=n&&n!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());s.cork(),s.write(`${o}content-length: ${n}\r +`,"latin1")),i.onRequestSent(),r[W]()}catch(t){e(t)}}async function eE(e,t,r,i,s,n,o,a){try{if(null!=n&&n!==t.size)throw new A;let e=Buffer.from(await t.arrayBuffer());s.cork(),s.write(`${o}content-length: ${n}\r \r -`,"latin1"),s.write(e),s.uncork(),i.onBodySent(e),i.onRequestSent(),a||!1===i.reset||(s[f]=!0),r[W]()}catch(t){e(t)}}async function eB(e,t,r,i,n,o,a,A){s(0!==o||0===r[N],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),n[F]?t(n[F]):l=e});n.on("close",c).on("drain",c);let g=new ey({abort:e,socket:n,request:i,contentLength:o,client:r,expectsPayload:A,header:a});try{for await(let e of t){if(n[F])throw n[F];g.write(e)||await d()}g.end()}catch(e){g.destroy(e)}finally{n.off("close",c).off("drain",c)}}class ey{constructor({abort:e,socket:t,request:r,contentLength:i,client:s,expectsPayload:n,header:o}){this.socket=t,this.request=r,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=n,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:i,client:s,bytesWritten:n,expectsPayload:o,header:a}=this;if(t[F])throw t[F];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==i&&n+l>i){if(s[z])throw new A;process.emitWarning(new A)}t.cork(),0===n&&(o||!1===r.reset||(t[f]=!0),null===i?t.write(`${a}transfer-encoding: chunked\r +`,"latin1"),s.write(e),s.uncork(),i.onBodySent(e),i.onRequestSent(),a||!1===i.reset||(s[E]=!0),r[W]()}catch(t){e(t)}}async function eB(e,t,r,i,n,o,a,A){s(0!==o||0===r[N],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{s(null===l),n[U]?t(n[U]):l=e});n.on("close",c).on("drain",c);let g=new ey({abort:e,socket:n,request:i,contentLength:o,client:r,expectsPayload:A,header:a});try{for await(let e of t){if(n[U])throw n[U];g.write(e)||await d()}g.end()}catch(e){g.destroy(e)}finally{n.off("close",c).off("drain",c)}}class ey{constructor({abort:e,socket:t,request:r,contentLength:i,client:s,expectsPayload:n,header:o}){this.socket=t,this.request=r,this.contentLength=i,this.client=s,this.bytesWritten=0,this.expectsPayload=n,this.header=o,this.abort=e,t[w]=!0}write(e){let{socket:t,request:r,contentLength:i,client:s,bytesWritten:n,expectsPayload:o,header:a}=this;if(t[U])throw t[U];if(t.destroyed)return!1;let l=e instanceof Uint8Array?e.byteLength:Buffer.byteLength(e);if(!l)return!0;if(null!==i&&n+l>i){if(s[z])throw new A;process.emitWarning(new A)}t.cork(),0===n&&(o||!1===r.reset||(t[E]=!0),null===i?t.write(`${a}transfer-encoding: chunked\r `,"latin1"):t.write(`${a}content-length: ${i}\r \r `,"latin1")),null===i&&t.write(`\r ${l.toString(16)}\r -`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[y].timeout&&3===t[y].timeoutType&&t[y].timeout.refresh&&t[y].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:s,header:n,request:o}=this;if(o.onRequestSent(),e[w]=!1,e[F])throw e[F];if(!e.destroyed){if(0===i?s?e.write(`${n}content-length: 0\r +`,"latin1"),this.bytesWritten+=l;let c=t.write(e);return t.uncork(),r.onBodySent(e),!c&&t[y].timeout&&3===t[y].timeoutType&&t[y].timeout.refresh&&t[y].timeout.refresh(),c}end(){let{socket:e,contentLength:t,client:r,bytesWritten:i,expectsPayload:s,header:n,request:o}=this;if(o.onRequestSent(),e[w]=!1,e[U])throw e[U];if(!e.destroyed){if(0===i?s?e.write(`${n}content-length: 0\r \r `,"latin1"):e.write(`${n}\r -`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&i!==t)if(r[z])throw new A;else process.emitWarning(new A);e[y].timeout&&3===e[y].timeoutType&&e[y].timeout.refresh&&e[y].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(s(r[N]<=1,"pipeline should only contain this request"),i(e))}}e.exports=function(e,t){if(e[T]=t,en||(en=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,i="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?i=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(i=!0),i)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onStatus(new $(ea.buffer,i,r))},wasm_on_message_begin:e=>(s(eo.ptr===e),eo.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderField(new $(ea.buffer,i,r))},wasm_on_header_value:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderValue(new $(ea.buffer,i,r))},wasm_on_headers_complete:(e,t,r,i)=>(s(eo.ptr===e),eo.onHeadersComplete(t,1===r,1===i)),wasm_on_body:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onBody(new $(ea.buffer,i,r))},wasm_on_message_complete:e=>(s(eo.ptr===e),eo.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[x]=!1,t[w]=!1,t[f]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[ei]=!1,t[y]=new ed(e,t,en),n.addListener(t,"error",eu),n.addListener(t,"readable",eh),n.addListener(t,"end",em),n.addListener(t,"close",ep),t[K]=!1,t.on("close",eC),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var a,l,g,u,h,p,C,I;let E,B,y,b,S,D,{method:x,path:R,host:k,upgrade:U,blocking:F,reset:L}=t,{body:H,headers:O,contentLength:P}=t,Y="PUT"===x||"POST"===x||"PATCH"===x||"QUERY"===x||"PROPFIND"===x||"PROPPATCH"===x;if(n.isFormDataLike(H)){i||(i=r(4626).extractBody);let[e,s]=i(H);null==t.contentType&&O.push("content-type",s),H=e.stream,P=e.length}else if(n.isBlobLike(H)&&null==t.contentType){let r=H.type;if(r){let i=`${r}`;if(!n.isValidHeaderValue(i))return n.errorRequest(e,t,new d("invalid content-type header")),!1;O.push("content-type",i)}}H&&"function"==typeof H.read&&H.read(0);let G=n.bodyLength(H);if(null===(P=G??P)&&(P=t.contentLength),0!==P||Y||(P=null),"GET"!==x&&"HEAD"!==x&&"OPTIONS"!==x&&"TRACE"!==x&&"CONNECT"!==x&&P>0&&null!==t.contentLength&&t.contentLength!==P){if(e[z])return n.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let J=e[T];eI(J);let _=r=>{t.aborted||t.completed||(n.errorRequest(e,t,r||new c),n.destroy(H),n.destroy(J,new m("aborted")))};try{t.onRequestStart(_,null)}catch(r){n.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===x&&(J[f]=!0),(U||"CONNECT"===x)&&(J[f]=!0),null!=L&&(J[f]=L),e[q]&&++J[V]>=e[q]&&(J[f]=!0),F&&(J[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[es]!==r)try{e.setTypeOfService(r),e[es]=r}catch{}}(J,t);let W=`${x} ${R} HTTP/1.1\r +`,"latin1"):null===t&&e.write("\r\n0\r\n\r\n","latin1"),null!==t&&i!==t)if(r[z])throw new A;else process.emitWarning(new A);e[y].timeout&&3===e[y].timeoutType&&e[y].timeout.refresh&&e[y].timeout.refresh(),r[W]()}}destroy(e){let{socket:t,client:r,abort:i}=this;t[w]=!1,e&&(s(r[N]<=1,"pipeline should only contain this request"),i(e))}}e.exports=function(e,t){if(e[T]=t,en||(en=function(){let e,t=process.env.JEST_WORKER_ID?r(9896):void 0,i="ppc64"!==process.arch;if("1"===process.env.UNDICI_NO_WASM_SIMD?i=!1:"0"===process.env.UNDICI_NO_WASM_SIMD&&(i=!0),i)try{e=new WebAssembly.Module(r(704))}catch{}return e||(e=new WebAssembly.Module(t||r(9896))),new WebAssembly.Instance(e,{env:{wasm_on_url:(e,t,r)=>0,wasm_on_status:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onStatus(new $(ea.buffer,i,r))},wasm_on_message_begin:e=>(s(eo.ptr===e),eo.onMessageBegin()),wasm_on_header_field:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderField(new $(ea.buffer,i,r))},wasm_on_header_value:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onHeaderValue(new $(ea.buffer,i,r))},wasm_on_headers_complete:(e,t,r,i)=>(s(eo.ptr===e),eo.onHeadersComplete(t,1===r,1===i)),wasm_on_body:(e,t,r)=>{s(eo.ptr===e);let i=t-el+ea.byteOffset;return eo.onBody(new $(ea.buffer,i,r))},wasm_on_message_complete:e=>(s(eo.ptr===e),eo.onMessageComplete())}})}()),t.errored)throw t.errored;if(t.destroyed)throw new h("destroyed");return t[x]=!1,t[w]=!1,t[E]=!1,t[Q]=!1,t[et]=0,t[er]=null,t[ei]=!1,t[y]=new ed(e,t,en),n.addListener(t,"error",eu),n.addListener(t,"readable",eh),n.addListener(t,"end",em),n.addListener(t,"close",ep),t[K]=!1,t.on("close",eC),{version:"h1",defaultPipelining:1,write:t=>(function(e,t){var a,l,g,u,h,p,C,I;let f,B,y,b,S,D,{method:x,path:R,host:k,upgrade:F,blocking:U,reset:L}=t,{body:O,headers:H,contentLength:P}=t,Y="PUT"===x||"POST"===x||"PATCH"===x||"QUERY"===x||"PROPFIND"===x||"PROPPATCH"===x;if(n.isFormDataLike(O)){i||(i=r(4626).extractBody);let[e,s]=i(O);null==t.contentType&&H.push("content-type",s),O=e.stream,P=e.length}else if(n.isBlobLike(O)&&null==t.contentType){let r=O.type;if(r){let i=`${r}`;if(!n.isValidHeaderValue(i))return n.errorRequest(e,t,new d("invalid content-type header")),!1;H.push("content-type",i)}}O&&"function"==typeof O.read&&O.read(0);let G=n.bodyLength(O);if(null===(P=G??P)&&(P=t.contentLength),0!==P||Y||(P=null),"GET"!==x&&"HEAD"!==x&&"OPTIONS"!==x&&"TRACE"!==x&&"CONNECT"!==x&&P>0&&null!==t.contentLength&&t.contentLength!==P){if(e[z])return n.errorRequest(e,t,new A),!1;process.emitWarning(new A)}let _=e[T];eI(_);let J=r=>{t.aborted||t.completed||(n.errorRequest(e,t,r||new c),n.destroy(O),n.destroy(_,new m("aborted")))};try{t.onRequestStart(J,null)}catch(r){n.errorRequest(e,t,r)}if(t.aborted)return!1;"HEAD"===x&&(_[E]=!0),(F||"CONNECT"===x)&&(_[E]=!0),null!=L&&(_[E]=L),e[q]&&++_[V]>=e[q]&&(_[E]=!0),U&&(_[Q]=!0),function(e,t){if("function"!=typeof e.setTypeOfService)return;let r=t.typeOfService;if(void 0!==r&&e[es]!==r)try{e.setTypeOfService(r),e[es]=r}catch{}}(_,t);let W=`${x} ${R} HTTP/1.1\r `;if("string"==typeof k?W+=`host: ${k}\r -`:W+=e[M],U?W+=`connection: upgrade\r -upgrade: ${U}\r -`:e[v]&&!J[f]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(O))for(let e=0;e<O.length;e+=2){let t=O[e+0],r=O[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r +`:W+=e[M],F?W+=`connection: upgrade\r +upgrade: ${F}\r +`:e[v]&&!_[E]?W+="connection: keep-alive\r\n":W+="connection: close\r\n",Array.isArray(H))for(let e=0;e<H.length;e+=2){let t=H[e+0],r=H[e+1];if(Array.isArray(r))for(let e=0;e<r.length;e++)W+=`${t}: ${r[e]}\r `;else W+=`${t}: ${r}\r -`}return o.sendHeaders.hasSubscribers&&o.sendHeaders.publish({request:t,headers:W,socket:J}),H&&0!==G?n.isBuffer(H)?eE(_,H,e,t,J,P,W,Y):n.isBlobLike(H)?"function"==typeof H.stream?eB(_,H.stream(),e,t,J,P,W,Y):ef(_,H,e,t,J,P,W,Y):n.isStream(H)?(a=_,l=H,g=e,u=t,h=J,p=P,C=W,I=Y,s(0!==p||0===g[N],"stream body cannot be pipelined"),E=!1,B=new ey({abort:a,socket:h,request:u,contentLength:p,client:g,expectsPayload:I,header:C}),y=function(e){if(!E)try{!B.write(e)&&this.pause&&this.pause()}catch(e){n.destroy(this,e)}},b=function(){!E&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",D)}),!E){let e=new c;queueMicrotask(()=>D(e))}},D=function(e){if(!E){if(E=!0,s(h.destroyed||h[w]&&g[N]<=1),h.off("drain",b).off("error",D),l.removeListener("data",y).removeListener("end",D).removeListener("close",S),!e)try{B.end()}catch(t){e=t}B.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?n.destroy(l,e):n.destroy(l)}},l.on("data",y).on("end",D).on("error",D).on("close",S),l.resume&&l.resume(),h.on("drain",b).on("error",D),l.errorEmitted??l.errored?setImmediate(D,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(D,null),(l.closeEmitted??l.closed)&&setImmediate(S)):n.isIterable(H)?eB(_,H,e,t,J,P,W,Y):s(!1):eE(_,null,e,t,J,P,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[x]&&t.unref&&(t.unref(),t[x]=!0):t[x]&&t.ref&&(t.ref(),t[x]=!1),0===e[N]&&e[b]>0&&t[ei]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[y].readMore(),t.destroyed;return}if(1===t[et]){t[y].readMore(),t.destroyed;return}}if(0===e[N]&&(t[y].readMore(),t.destroyed))return;if(0===e[S])8!==t[y].timeoutType&&t[y].setTimeout(e[L],8);else if(e[N]>0&&t[y].statusCode<200&&3!==t[y].timeoutType){let r=e[D][e[U]],i=null!=r.headersTimeout?r.headersTimeout:e[Y];t[y].setTimeout(i,3)}}}(e)},destroy(e,r){t[K]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[f]||t[Q]||1===t[et]||r&&(e[N]>0&&!r.idempotent||e[N]>0&&(r.upgrade||"CONNECT"===r.method)||e[N]>0&&0!==n.bodyLength(r.body)&&(n.isStream(r.body)||n.isAsyncIterable(r.body)||n.isFormDataLike(r.body))))||!1}}},942(e,t,r){let i,s,n=r(4589),{pipeline:o}=r(7075),a=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:g,HeadersTimeoutError:u,BodyTimeoutError:h}=r(8065),{kUrl:m,kReset:p,kClient:C,kRunning:I,kPending:E,kQueue:f,kPendingIdx:B,kRunningIdx:y,kError:Q,kSocket:N,kStrictContentLength:b,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:D,kHTTP2Session:x,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:M,kHostAuthority:k,kResume:U,kSize:F,kHTTPContext:v,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:H,kBodyTimeout:O,kEnableConnectProtocol:P,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:z}=r(3025),{channels:q}=r(6708),V=Symbol("open streams"),J=Symbol("request stream id"),_=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),K=Symbol("received goaway");try{s=r(2467)}catch{s={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:X,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:$,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:ei,HTTP2_HEADER_PROTOCOL:es,NGHTTP2_NO_ERROR:en,NGHTTP2_REFUSED_STREAM:eo}}=s;function ea(e){e[J]=null,e[_]=null,e[W]=null}function eA(e,t,r){let i=e[W],s=e[_];ea(e),i?.(s),e[J]=t.id,e[_]=t,e[W]=r}function el(e){let t=e[W],r=e[_];ea(e),t?.(r)}function ec(e){let t=e[z];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[z];!0===t.refed&&(t.refed=!1,e.unref())}function eg(e){let t=e[z];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eu(e){let t=e[C];if(t[x]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[F])return void eg(e);let r=e[z];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[C],r=e[N];if(e[z].idleTimeout=null,t[x]!==e||0!==e[V]||0!==t[F]||e.closed||e.destroyed)return;let i=new d("socket idle timeout");r[Q]=i,a.destroy(r,i)}function em(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function ep(e){if(this[C][w]=e.maxConcurrentStreams??this[C][w],!0===this[Y]&&!0===this[P]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[N][Q]=e,this[C][S](e);return}this[P]=e.enableConnectProtocol??this[P],this[Y]=!0,this[C][U]()}function eC(e){let t=e[z];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[C],i=this[N];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);i[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function eI(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[N][Q]=e,this[K]||this[C][S](e)}function eE(e,t,r){if(0===r){if(this[K])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[N][Q]=r,this[C][S](r)}}function ef(e,t){if(this[K])return;this[K]=!0;let r=this[Q]||(e===en?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this[N]))),i=this[C],s=i[B],n=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[y];t<e[B];t++){let i=e[f][t];if(null!=i&&("number"!=typeof i[J]||i[J]>r))return t}return e[B]}(i,t),o=[],A=[];for(let e=n;e<s;e++){let t=i[f][e];null!=t&&(A.push(function(e){let t=e[_];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||a.isBuffer(t)||a.isBlobLike(t)}(t)?o.push(t):a.errorRequest(i,t,r))}for(let e=0;e<A.length;e++)!function(e,t=eo){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(n!==s){let e=i[f].slice(s);i[f].length=n,i[f].push(...o,...e)}i[x]===this&&(i[N]=null,i[v]=null,i[x]=null),eg(this),this.closed||this.destroyed||this.close(),i[B]=n,i.emit("disconnect",i[m],[i],r),i[U]()}function eB(){let{[C]:e,[z]:t,[N]:r}=this,i=r[Q]||this[Q]||new c("closed",a.getSocketInfo(r));if(e[x]===this&&(e[N]=null,e[v]=null,e[x]=null),eg(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){n(0===e[E]);let t=e[f].splice(e[y]);for(let r=0;r<t.length;r++){let s=t[r];null!=s&&a.errorRequest(e,s,i)}}}function ey(){let e=this[Q]||new c("closed",a.getSocketInfo(this)),t=this[x],r=t[C];r[N]!==this&&(t[K]||null!=r[x]&&r[x]!==t)||(r[N]=null,r[v]=null,r[x]===t&&(r[x]=null),t.destroy(e),r[B]=r[y],n(0===r[I]),r.emit("disconnect",r[m],[r],e),r[U]())}function eQ(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[x]?.[K]||this[x]?.[C]?.[S](e)}function eN(){a.destroy(this,new c("other side closed",a.getSocketInfo(this)))}function eb(){this[T]=!0}function eS(){}function ew(e){let t=e[x];e[x]=null,t[V]-=1,0===t[V]&&(ed(t),eu(t))}function eD(){this.off("error",eS);let e=this[j];this[j]=null,ek(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function ex(){let e=this[j];null!=e&&(eP(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eH(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",eU),e.off("end",eF),e.off("timeout",ev),e.off("error",eS)}function eM(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[_]===e&&ea(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ek(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(eM(e.stream),e.abort(t,!0))}function eU(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ek(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ek(e,new d("HTTP/2: stream errored before response headers"))}function eF(){ek(this[j],new d("HTTP/2: stream half-closed (remote)"))}function ev(){let e=this[j];ek(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:i}=r;r.responseReceived=!0;let s=e[ei];delete e[ei],i.onRequestUpgrade(s,e,this),i.aborted||i.completed||(eR(this),ea(i),eH(r))}function eL(e,t){let{request:r,headersTimeout:i,session:s}=t;e[G]=!0,e[x]=s,e[j]=t,t.stream=e,eA(r,e,eM),e.once("response",eT),e.on("error",eU),e.once("end",eF),e.on("timeout",ev),e.once("close",eD),eg(s),++s[V],e.setTimeout(i)}function eH(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let i=e[f],s=e[y];if(s<e[B]&&i[s]===t){i[s]=null,e[y]=s+1;return}let n=i.indexOf(t,s);-1!==n&&!(n>=e[B])&&(i.splice(n,1),e[B]--,r&&e[B]<e[y]&&(e[B]=e[y]))}(e.client,e.request,t),e.client[U]())}function eO(e,t,r,i,s,n){try{return r.request(s,n)}catch(n){if(n?.code==="ERR_HTTP2_INVALID_SESSION"||n?.code==="ERR_HTTP2_GOAWAY_SESSION"){let i=new c(n.message,a.getSocketInfo(r[N]));i.cause=n,r[Q]=i;let s=r[C],o=r[N];if(s[x]===r&&(s[N]=null,s[v]=null,s[x]=null),null!=o&&null==o[Q]&&(o[Q]=i),!r.closed&&!r.destroyed)try{r.destroy(i)}catch{}return a.destroy(o,i),e[f].splice(e[B]+1,0,t),null}let s=new d(n.message,{cause:n});return r[Q]=s,r[N][Q]=s,r.destroy(s),a.destroy(r[N],s),i(s),null}}function eP(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[_]===e&&ea(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",ez),e.off("error",eq),e.off("frameError",eV),e.off("aborted",eJ),e.off("timeout",e_),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let i=e[ei];(delete e[ei],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eP(this):(!1===r.onResponseStart(Number(i),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function ez(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",ez),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,ex.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function eq(e){let t=this[j];null!=t&&(this.off("error",eq),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function eJ(){this.off("data",eY)}function e_(){let e=this[j];if(null==e)return;this.off("timeout",e_);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new u(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,i,s,A,l;let c,d=this[j];d.bodySent=!0;let{abort:g,body:u,client:h,contentLength:m,expectsPayload:C,request:E}=d;u&&0!==m?a.isBuffer(u)?eK(g,this,u,h,E,h[N],m,C):a.isBlobLike(u)?"function"==typeof u.stream?eZ(g,this,u.stream(),h,E,h[N],m,C):eX(g,this,u,h,E,h[N],m,C):a.isStream(u)?(e=g,t=h[N],r=C,i=this,s=u,A=h,l=E,n(0!==m||0===A[I],"stream body cannot be pipelined"),c=o(s,i,i=>{i?(a.destroy(c,i),e(i)):(a.removeAllListeners(c),l.onRequestSent(),r||(t[p]=!0),A[U]())}),a.addListener(c,"data",function(e){l.onBodySent(e)})):a.isIterable(u)?eZ(g,this,u,h,E,h[N],m,C):n(!1):eK(g,this,null,h,E,h[N],m,C)}function eK(e,t,r,i,s,o,A,l){try{null!=r&&a.isBuffer(r)&&(n(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),s.onBodySent(r)),l||(o[p]=!0),s.onRequestSent(),i[U]()}catch(t){e(t)}}async function eX(e,t,r,i,s,n,o,a){try{if(null!=o&&o!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),s.onBodySent(e),s.onRequestSent(),a||(n[p]=!0),i[U]()}catch(t){e(t)}}async function eZ(e,t,r,i,s,o,a,A){n(0!==a||0===i[I],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(null===l),o[Q]?t(o[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(o[Q])throw o[Q];let r=t.write(e);s.onBodySent(e),r||await d()}t.end(),s.onRequestSent(),A||(o[p]=!0),i[U]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[N]=t;let o=e[R],c=e[M],u=s.connect(e[m],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=o?{initialWindowSize:o}:null}});return e[N]=t,u[V]=0,u[C]=e,u[N]=t,u[z]={idleTimeout:null,refed:!0,ping:{interval:0===e[D]?null:setInterval(eC,e[D],u).unref()}},u[K]=!1,u[P]=!1,u[Y]=!1,c&&a.addListener(u,"connect",em.bind(u,c)),a.addListener(u,"error",eI),a.addListener(u,"frameError",eE),a.addListener(u,"goaway",ef),a.addListener(u,"close",eB),a.addListener(u,"remoteSettings",ep),ed(u),e[x]=u,t[x]=u,a.addListener(t,"error",eQ),a.addListener(t,"end",eN),a.addListener(t,"close",ey),t[T]=!1,t.on("close",eb),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let s=t.headersTimeout??e[H],o=t.bodyTimeout??e[O],c=e[x],{method:u,path:h,host:m,upgrade:p,expectContinue:C,signal:I,protocol:E,headers:f}=t;if(null!=p&&"websocket"!==p)return a.errorRequest(e,t,new g(`Custom upgrade "${p}" not supported over HTTP/2`)),!1;let B=function(e){let t={};for(let r=0;r<e.length;r+=2){let i=e[r+0],s=e[r+1],n=t[i];if("cookie"===i){null!=n?t[i]=Array.isArray(n)?(n.push(s),n):[n,s]:t[i]=s;continue}if("string"==typeof s){t[i]=n?`${n}, ${s}`:s;continue}for(let e=0;e<s.length;e++)t[i]=t[i]?`${t[i]}, ${s[e]}`:s[e]}return t}(f);B[X]=m||e[k],B[Z]=u;let y={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:s,bodyTimeout:o,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,i=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,a.errorRequest(e,t,r),null!=y.stream){el(t);let s=y.stream;s.close(),s.destroyed||a.destroy(s),e[S](r),eH(y,i)}a.destroy(y.body,r)}};y.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){a.errorRequest(e,t,r)}if(t.aborted)return!1;if(p||"CONNECT"===u)return(ec(c),"websocket"===p)?!1===c[P]?(a.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(B[Z]="CONNECT",B[es]="websocket",B[$]=h,"ws:"===E||"wss:"===E?B[ee]="ws:"===E?"http":"https":B[ee]="http:"===E?"http":"https",null==(w=eO(e,t,c,Q,B,{endStream:!1,signal:I})))?(ed(c),!1):(eL(w,y),!0):null==(w=eO(e,t,c,Q,B,{endStream:!1,signal:I}))?(ed(c),!1):(eL(w,y),!0);B[$]=h,B[ee]="http:"===E?"http":"https";let D="PUT"===u||"POST"===u||"PATCH"===u||"QUERY"===u||"PROPFIND"===u||"PROPPATCH"===u,R=y.body;R&&"function"==typeof R.read&&R.read(0);let M=a.bodyLength(R);if(a.isFormDataLike(R)){let[e,t]=(i??=r(4626).extractBody)(R);B["content-type"]=t,R=e.stream,M=e.length}if(null==M&&(M=t.contentLength),0!==M||D||(M=null),"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"TRACE"!==u&&"CONNECT"!==u&&M>0&&null!=t.contentLength&&t.contentLength!==M){if(e[b])return a.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=M&&(n(R||0===M,"no body must not have content length"),B[et]=`${M}`),ec(c),q.sendHeaders.hasSubscribers){let e="";for(let t in B)e+=`${t}: ${B[t]}\r -`;q.sendHeaders.publish({request:t,headers:e,socket:c[N]})}let U=null===R||0===M;return y.body=R,y.contentLength=M,y.expectsPayload=D,C&&(B[er]="100-continue"),null!=(w=eO(e,t,c,Q,B,{endStream:U,signal:I}))&&(w[G]=!0,w[j]=y,y.stream=w,eg(c),++c[V],s&&w.setTimeout(s),w[x]=c,w.on("close",ex),eA(t,w,eP),C&&w.once("continue",ej),w.on("response",eG),w.on("end",ez),w.on("error",eq),w.on("frameError",eV),w.on("aborted",eJ),(s||o)&&w.on("timeout",e_),w.on("trailers",eW),C||ej.call(w),!0)})(e,t),resume(){var t;let r,i;r=(t=e)[N],i=t[x],r?.destroyed===!1&&(0===t[F]||0===t[w]?ed(i):ec(i),0===t[F]&&0===i[V]?eu(i):eg(i))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===u[Y]&&e[I]>0||e[I]>=e[w])return!0;if(null!=t){if(!(e[I]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y])return!0}return!1}}}},5183(e,t,r){let i=r(4589),s=r(7030),n=r(7067),o=r(1210),{ClientStats:a}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:g,ClientDestroyedError:u}=r(8065),h=r(5010),{kUrl:m,kServerName:p,kClient:C,kBusy:I,kConnect:E,kResuming:f,kRunning:B,kPending:y,kSize:Q,kQueue:N,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:x,kPendingIdx:R,kRunningIdx:M,kError:k,kPipelining:U,kKeepAliveTimeoutValue:F,kMaxHeadersSize:v,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:H,kBodyTimeout:O,kStrictContentLength:P,kConnector:Y,kMaxRequests:G,kCounter:z,kClose:q,kDestroy:V,kDispatch:J,kLocalAddress:_,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:X,kHostAuthority:Z,kHTTP2InitialWindowSize:$,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),ei=r(8043),es=r(942),en=Symbol("kClosedResolve"),eo=n&&n.maxHeaderSize&&Number.isInteger(n.maxHeaderSize)&&n.maxHeaderSize>0?()=>n.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},ea=()=>{};function eA(e){return e[K]?.version==="h2"?e[X]:e[U]??e[K]?.defaultPipelining??1}function el(e,t){if(0===e[B]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){i(e[R]===e[M]);let r=e[N].splice(e[M]);for(let i=0;i<r.length;i++){let s=r[i];null!=s&&o.errorRequest(e,s,t)}i(0===e[Q])}}function ec(e){i(!e[S]),i(!e[K]);let{host:t,hostname:r,protocol:n,port:a}=e[m];if("["===r[0]){let e=r.indexOf("]");i(-1!==e);let t=r.substring(1,e);i(s.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,version:e[K]?.version,servername:e[p],localAddress:e[_]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:n,port:a,servername:e[p],localAddress:e[_]},(s,l)=>{if(s){ed(e,s,{host:t,hostname:r,protocol:n,port:a}),e[et]();return}if(e.destroyed){o.destroy(l.on("error",ea),new u),e[et]();return}i(l);try{e[K]="h2"===l.alpnProtocol?es(e,l):ei(e,l)}catch(i){l.destroy().on("error",ea),ed(e,i,{host:t,hostname:r,protocol:n,port:a}),e[et]();return}e[S]=!1,l[z]=0,l[G]=e[G],l[C]=e,l[k]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,version:e[K]?.version,servername:e[p],localAddress:e[_]},connector:e[Y],socket:l}),e.emit("connect",e[m],[e]),e[et]()})}catch(i){ed(e,i,{host:t,hostname:r,protocol:n,port:a}),e[et]()}}function ed(e,t,{host:r,hostname:i,protocol:s,port:n}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:i,protocol:s,port:n,version:e[K]?.version,servername:e[p],localAddress:e[_]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[N].splice(e[M],e[B]);e[R]=e[M];for(let i=0;i<r.length;i++)o.errorRequest(e,r[i],t);for(;e[y]>0&&e[N][e[R]].servername===e[p];){let r=e[N].splice(e[R],1)[0];o.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[m],[e],t)}}function eg(e){e[w]=0,e.emit("drain",e[m],[e])}function eu(e,t){2!==e[f]&&(e[f]=2,function(e,t){for(;;){if(e.destroyed)return void i(0===e[y]);if(e[en]&&!e[Q]){e[en](),e[en]=null;return}if(e[K]&&e[K].resume(),e[I])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eg(e))):eg(e);continue}if(0===e[y]||e[B]>=(eA(e)||1))return;let r=e[N][e[R]];if(null===r)return;if("https:"===e[m].protocol&&e[p]!==r.servername){if(e[B]>0)return;e[p]=r.servername,e[K]?.destroy(new g("servername changed"),()=>{e[K]=null,eu(e)})}if(e[S])return;if(!e[K])return void ec(e);if(e[K].destroyed||e[K].busy(r))return;!r.aborted&&e[K].write(r)?e[R]++:e[N].splice(e[R],1)}}(e,t),e[f]=0,e[M]>256&&(e[N].splice(0,e[M]),e[R]-=e[M],e[M]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:i,requestTimeout:n,connectTimeout:a,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:u,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:I,socketPath:E,pipelining:B,tls:y,strictContentLength:Q,maxCachedSessions:b,connect:S,maxRequestsPerClient:k,localAddress:z,maxResponseSize:q,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:J,maxConcurrentStreams:ei,allowH2:es,useH2c:ea,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eg}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==n)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==u)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=eo();if(null!=E&&"string"!=typeof E)throw new d("invalid socketPath");if(null!=a&&(!Number.isFinite(a)||a<0))throw new d("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new d("invalid keepAliveTimeout");if(null!=C&&(!Number.isFinite(C)||C<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=I&&!Number.isFinite(I))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=k&&(!Number.isInteger(k)||k<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=z&&("string"!=typeof z||0===s.isIP(z)))throw new d("localAddress must be valid string IP address");if(null!=q&&(!Number.isInteger(q)||q<-1))throw new d("maxResponseSize must be a positive number");if(null!=J&&(!Number.isInteger(J)||J<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=es&&"boolean"!=typeof es)throw new d("allowH2 must be a valid boolean value");if(null!=ei&&("number"!=typeof ei||ei<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=ea&&"boolean"!=typeof ea)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eg}),"function"!=typeof S)S=h({...y,maxCachedSessions:b,allowH2:es,useH2c:ea,socketPath:E,timeout:a,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:J}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=E?{socketPath:E}:null,...null!=es?{allowH2:es}:null},r)}this[m]=o.parseOrigin(e),this[Z]=`${this[m].hostname}${this[m].port?`:${this[m].port}`:""}`,this[Y]=S,this[U]=null!=B?B:1,this[v]=t,this[D]=null==g?4e3:g,this[T]=null==C?6e5:C,this[L]=null==I?2e3:I,this[F]=this[D],this[p]=null,this[_]=null!=z?z:null,this[f]=0,this[w]=0,this[x]=`host: ${this[Z]}\r -`,this[O]=null!=A?A:3e5,this[H]=null!=r?r:3e5,this[P]=null==Q||Q,this[G]=k,this[en]=null,this[W]=q>-1?q:-1,this[K]=null,this[X]=null!=ei?ei:100,this[$]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[N]=[],this[M]=0,this[R]=0,this[et]=e=>eu(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[U]}set pipelining(e){this[U]=e,this[et](!0)}get stats(){return new a(this)}get[y](){return this[N].length-this[R]}get[B](){return this[R]-this[M]}get[Q](){return this[N].length-this[M]}get[b](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[I](){let e=this[K]?.version==="h2";return!!(this[K]?.busy(null)||this[Q]>=(eA(this)||1)||this[y]>0&&!e)}[E](e){ec(this),this.once("connect",e)}[J](e,t){let r=new l(this[m].origin,e,t);return this[N].push(r),this[f]||(null==o.bodyLength(r.body)&&o.isIterable(r.body)?(this[f]=1,queueMicrotask(()=>eu(this))):this[et](!0)),this[f]&&2!==this[w]&&this[I]&&(this[w]=2),this[w]<2}[q](){return new Promise(e=>{this[Q]?this[en]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[N].splice(this[R]);for(let t=0;t<r.length;t++){let i=r[t];null!=i&&o.errorRequest(this,i,e)}let i=()=>{this[en]&&(this[en](),this[en]=null),t(null)};this[K]?(this[K].destroy(e,i),this[K]=null):queueMicrotask(i),this[et]()})}}},9779(e,t,r){let i=r(6873),{ClientDestroyedError:s,ClientClosedError:n,InvalidArgumentError:o}=r(8065),{kDestroy:a,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),g=Symbol("onDestroyed"),u=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends i{[c]=!1;[g]=null;[l]=!1;[u]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,i)=>r?t(r):e(i))});if("function"!=typeof e)throw new o("invalid callback");if(this[c]){let t=new s;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[u]?this[u].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[u]??=[],this[u].push(e);let t=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,i)=>e?r(e):t(i))});if("function"!=typeof t)throw new o("invalid callback");if(this[c])return void(this[g]?this[g].push(t):queueMicrotask(()=>t(null,null)));e||(e=new s),this[c]=!0,this[g]??=[],this[g].push(t);let r=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[a](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new o("handler must be an object");try{if(!e||"object"!=typeof e)throw new o("opts must be an object.");if(e.dispatcher)throw new o("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[g])throw new s;if(this[l])throw new n;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let i=r(8474);e.exports=class extends i{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let i=r(6873),{InvalidArgumentError:s}=r(8065),{toRawHeaders:n}=r(1210);class o{#y;constructor(e){this.#y=e}onRequestStart(e,t){this.#y.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,i){let s=e?.rawHeaders??n(r??{});this.#y.onUpgrade?.(t,s,i)}onResponseStart(e,t,r,i){let s=e?.rawHeaders??n(r??{});this.#y.onHeaders?.(t,s,()=>e.resume(),i)===!1&&e.pause()}onResponseData(e,t){this.#y.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??n(t??{});this.#y.onComplete?.(r)}onResponseError(e,t){if(!this.#y.onError)throw t;this.#y.onError(t)}onBodySent(e){this.#y.onBodySent?.(e)}onRequestSent(){this.#y.onRequestSent?.()}onResponseStarted(){this.#y.onResponseStarted?.()}}e.exports=class e extends i{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new s("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new s("handler must be an object");return"function"==typeof e.onRequestStart?e:new o(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let i=r(9779),{kClose:s,kDestroy:n,kClosed:o,kDestroyed:a,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),g=r(3614),u=r(5891),h={"http:":80,"https:":443};e.exports=class extends i{#N=null;#b=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:i,...s}=e;this[l]=new u(s);let n=t??process.env.http_proxy??process.env.HTTP_PROXY;n?this[c]=new g({...s,uri:n}):this[c]=this[l];let o=r??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[d]=new g({...s,uri:o}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#D(r).dispatch(e,t)}[s](){return Promise.all([this[l].close(),!this[c][o]&&this[c].close(),!this[d][o]&&this[d].close()])}[n](e){return Promise.all([this[l].destroy(e),!this[c][a]&&this[c].destroy(e),!this[d][a]&&this[d].destroy(e)])}#D(e){let{protocol:t,host:r,port:i}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||h[t]||0,this.#x(r,i))?"https:"===t?this[d]:this[c]:this[l]}#x(e,t){if(this.#R&&this.#w(),0===this.#b.length)return!0;if("*"===this.#N)return!1;for(let r=0;r<this.#b.length;r++){let i=this.#b[r];if((!i.port||i.port===t)&&(e===i.hostname||e.slice(-(i.hostname.length+1))===`.${i.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#M,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let s=i.match(/^(.+):(\d+)$/);r.push({hostname:(s?s[1]:i).replace(/^\*?\./,"").toLowerCase(),port:s?Number.parseInt(s[2],10):0})}this.#N=e,this.#b=r}get #R(){return void 0===this.#S.noProxy&&this.#N!==this.#M}get #M(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:i}=r(8065),s=r(5183);e.exports=class extends s{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new i("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:s,...n}=t??{},o=r??100,a=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new i("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=s&&Number.isInteger(s)&&s>0&&(a=s),a>o)throw new i("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...n,maxConcurrentStreams:o,pipelining:a,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:i}=r(256),s=r(9779),n=r(9006),{kConnected:o,kSize:a,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:g,kUrl:u,kClose:h,kDestroy:m,kDispatch:p}=r(3025),C=Symbol("clients"),I=Symbol("needDrain"),E=Symbol("queue"),f=Symbol("closed resolve"),B=Symbol("onDrain"),y=Symbol("onConnect"),Q=Symbol("onDisconnect"),N=Symbol("onConnectionError"),b=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),D=Symbol("remove client");class x extends s{[E]=new n;[c]=0;[C]=[];[I]=!1;[B](e,t,r){let i=this[E],s=!1;for(;!s;){let t=i.shift();if(!t)break;this[c]--,s=!e.dispatch(t.opts,t.handler)}if(e[I]=s,!s&&this[I]&&(this[I]=!1,this.emit("drain",t,[this,...r])),this[f]&&i.isEmpty()){let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[f])}}[y]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[N]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[I]}get[o](){let e=0;for(let{[o]:t}of this[C])e+=t;return e}get[g](){let e=0;for(let{[o]:t,[I]:r}of this[C])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[C])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[C])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[C])e+=t;return e}get stats(){return new i(this)}[h](){if(!this[E].isEmpty())return new Promise(e=>{this[f]=e});{let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[m](e){for(;;){let t=this[E].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[C].length);for(let r=0;r<this[C].length;r++)t[r]=this[C][r].destroy(e);return Promise.all(t)}[p](e,t){let r=this[b]();return r?r.dispatch(e,t)||(r[I]=!0,this[I]=!this[S]()):(this[I]=!0,this[E].push({opts:e,handler:t}),this[c]++),!this[I]}[S](){for(let e=0;e<this[C].length;e++){let t=this[C][e];if(!t[I]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[B].bind(this,e)).on("connect",this[y]).on("disconnect",this[Q]).on("connectionError",this[N]),this[C].push(e),this[I]&&queueMicrotask(()=>{this[I]&&this[B](e,e[u],[e,this])}),this}[D](e){let t=this[C].indexOf(e);-1!==t&&this[C].splice(t,1),e.close(()=>{}),this[I]=!this[C].some(e=>!e[I]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:x,kClients:C,kNeedDrain:I,kAddClient:w,kRemoveClient:D,kGetDispatcher:b,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:i,kClients:s,kNeedDrain:n,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory");function I(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=I,connect:i,connectTimeout:n,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:E,useH2c:f,clientTtl:B,...y}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:E,useH2c:f,socketPath:A,timeout:n,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(y),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(y),connect:i,allowH2:E,useH2c:f,clientTtl:B,socketPath:A},this[C]=r,this.on("connect",(e,t)=>{if(null!=B&&B>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[s].indexOf(e);-1!==t&&this[s].splice(t,1)}})}[a](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[n])return r}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[n])return!0}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},3614(e,t,r){let{kProxy:i,kClose:s,kDestroy:n,kDispatch:o}=r(3025),a=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:g,ProxyConnectionError:u}=r(8065),h=r(5010),m=r(5183),{channels:p}=r(6708),C=r(9741),I=Symbol("proxy agent"),E=Symbol("proxy client"),f=Symbol("proxy headers"),B=Symbol("request tls settings"),y=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),N=Symbol("connect endpoint function (http/1.1 only)"),b=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let D=()=>{};function x(e,t){return 1===t.connections?new m(e,t):new A(e,t)}class R extends l{#k;#U;constructor(e,{headers:t={},connect:r,factory:i,proxyServername:s}){if(!e)throw new c("Proxy URL is mandatory");super(),this[f]=t,this.#U=s,i?this.#k=i(e,{connect:r}):this.#k=new m(e,{connect:r})}[o](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,i,s,n){if(407===i){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,i,s,n)};let{origin:i,path:s="/",headers:n={}}=e;if(e.path=i+s,!("host"in n)&&!("Host"in n)){let{host:e}=new URL(i);n.host=e}return e.headers={...this[f],...n},null!=this.#U&&(e.servername=this.#U),this.#k[o](e,t)}[s](){return this.#k.close()}[n](e){return this.#k.destroy(e)}}function M(e){return e.length===S.length&&e.toLowerCase()===S}function k(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:s}=e;super();let n=this.#F(e),{href:o,origin:A,port:l,protocol:m,username:S,password:M,hostname:k}=n;if(this[i]={uri:o,protocol:m},this[B]=e.requestTls,this[y]=e.proxyTls,this[f]=e.headers||{},this[b]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[f]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[f]["proxy-authorization"]=e.token:S&&M?this[f]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(M)}`).toString("base64")}`:S&&(this[f]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let U=h({timeout:s,...e.proxyTls}),F=h({timeout:s,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:s,...e.requestTls}),this[N]=h({timeout:s,...e.requestTls,allowH2:!1});let v=e.factory||x,T=(t,r)=>{let{protocol:s}=new URL(t);if("socks5:"===this[i].protocol||"socks:"===this[i].protocol)return new C(this[i].uri,{headers:this[f],connect:U,factory:v,username:e.username||S,password:e.password||M,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[b]&&"http:"===s){let e="https:"===this[i].protocol?(e,t)=>F(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new g(e)):t(e,r)}):F;return new R(this[i].uri,{headers:this[f],connect:e,factory:v,proxyServername:"https:"===this[i].protocol?this[y]?.servername||k:void 0})}return v(t,r)};"socks5:"===m||"socks:"===m?this[E]=null:this[E]=t(n,{connect:U}),this[I]=new a({...e,factory:T,connect:async(e,t)=>{if(!this[E])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let i,s={origin:A,port:l,path:r,signal:e.signal,headers:{...this[f],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[y]?.servername||k},{socket:n,statusCode:o}=await this[E].connect(s);if(200!==o){n.on("error",D).destroy(),t(new d(`Proxy response (${o}) !== 200 when HTTP Tunneling`));return}if(p.proxyConnected.hasSubscribers&&p.proxyConnected.publish({socket:n,connectParams:s}),"https:"!==e.protocol)return void t(null,n);i=this[B]?this[B].servername:e.servername,(!1===e.allowH2?this[N]:this[Q])({...e,servername:i,httpSocket:n},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new g(e):"UND_ERR_SOCKET"===e.code?new u(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)M(e[r])&&k(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)M(t)&&k()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[I].dispatch({...e,headers:r},t)}#F(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[s](){let e=[this[I].close()];return this[E]&&e.push(this[E].close()),Promise.all(e)}[n](){let e=[this[I].destroy()];return this[E]&&e.push(this[E].destroy()),Promise.all(e)}}},8392(e,t,r){let i=r(6873),s=r(4166);e.exports=class extends i{#v=null;#T=null;constructor(e,t={}){super(t),this.#v=e,this.#T=t}dispatch(e,t){let r=new s({...e,retryOptions:this.#T},{dispatch:this.#v.dispatch.bind(this.#v),handler:t});return this.#v.dispatch(e,r)}close(){return this.#v.close()}destroy(){return this.#v.destroy()}}},1326(e,t,r){let{PoolBase:i,kClients:s,kNeedDrain:n,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory"),I=Symbol("index");function E(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=E,connect:i,connectTimeout:n,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:f,clientTtl:B,...y}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:f,socketPath:A,timeout:n,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(y),connect:i,allowH2:f,clientTtl:B,socketPath:A},this[C]=r,this[I]=-1,this.on("connect",(e,t)=>{if(null!=B&&B>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[s].indexOf(e);-1!==t&&this[s].splice(t,1)}})}[a](){let e=this[m].clientTtl;if(0===this[s].length){let e=this[C](this[u],this[m]);return this[o](e),e}let t=0;for(;t<this[s].length;){this[I]=(this[I]+1)%this[s].length;let r=this[s][this[I]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[I]--;continue}if(!r[n])return r;t++}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[I]&&this[I]--,t--;else if(!r[n])return!0}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},9741(e,t,r){let i,{URL:s}=r(3136),n=r(9779),{InvalidArgumentError:o}=r(8065),{Socks5Client:a,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),g=r(6334),u=r(5010),{debuglog:h}=r(7975),m=h("undici:socks5-proxy"),p=Symbol("proxy url"),C=Symbol("proxy headers"),I=Symbol("proxy auth"),E=Symbol("proxy protocol"),f=Symbol("pools"),B=Symbol("connector"),y=Symbol("request tls settings"),Q=!1;e.exports=class extends n{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new o("Proxy URL is mandatory");let r="string"==typeof e?new s(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new o("Proxy URL must use socks5:// or socks:// protocol");this[p]=r,this[C]=t.headers||{},this[E]=t.proxyTls?"https:":"http:",this[y]=t.requestTls,this[I]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[B]=t.connect||u({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[f]=new Map}async createSocks5Connection(e,t){let r=this[p].hostname,i=parseInt(this[p].port)||1080;m("creating SOCKS5 connection to",r,i);let s=Promise.withResolvers();this[B]({hostname:r,host:r,port:i,protocol:this[E]},(e,t)=>{e?s.reject(e):s.resolve(t)});let n=await s.promise,o=new a(n,this[I]);o.on("error",e=>{m("SOCKS5 error:",e),n.destroy()}),await o.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),o.removeListener("error",g),l.resolve()},g=e=>{clearTimeout(c),o.removeListener("authenticated",d),l.reject(e)};o.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(o.once("authenticated",d),o.once("error",g)),await l.promise,await o.connect(e,t);let u=Promise.withResolvers(),h=setTimeout(()=>{u.reject(Error("SOCKS5 connection timeout"))},5e3),C=r=>{m("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),o.removeListener("error",f),u.resolve()},f=e=>{clearTimeout(h),o.removeListener("connected",C),u.reject(e)};return o.once("connected",C),o.once("error",f),await u.promise,n}[l](e,t){let{origin:n}=e;m("dispatching request to",n,"via SOCKS5");try{let o=String(n),a=this[f].get(o);return(!a||a.destroyed||a.closed)&&(a=new g(n,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new s(n),o=e.hostname,a=parseInt(e.port)||("https:"===e.protocol?443:80);m("establishing SOCKS5 connection to",o,a);let A=await this.createSocks5Connection(o,a),l=A;if("https:"===e.protocol){i||(i=r(1692)),m("upgrading to TLS"),l=i.connect({...this[y],socket:A,servername:this[y]?.servername||o});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){m("SOCKS5 connection error:",e),t(e)}}}),this[f].set(o,a)),a[l](e,t)}catch(e){if(m("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[f].values())e.push(t.close());this[f].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[f].values())t.push(r.destroy(e));this[f].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let i,s=Symbol.for("undici.globalDispatcher.2"),n=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:o}=r(8065),a=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new o("Argument agent must implement Agent");try{Object.defineProperty(globalThis,s,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){i=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,n,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[s]??i}void 0===c()&&l(new a),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let i=r(1210),{parseCacheControlHeader:s,hasInvalidCacheControlDirective:n,parseVaryHeader:o,hasVaryStar:a,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let g=[200,203,204,206,300,301,308,404,405,410,414,501],u=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function m(e,t,r){C(e,{...t,path:r});for(let s=0;s<i.safeHTTPMethods.length;s++){let n=i.safeHTTPMethods[s];n!==t.method&&C(e,{...t,method:n,path:r})}}function p(e,t,r){if(void 0===r)return;let i=Array.isArray(r)?r:[r];for(let r=0;r<i.length;r++){let s=function(e,t){let r,i,s;if("string"==typeof t){try{r=new URL(e.origin),i=new URL(e.path,r),s=new URL(t,i)}catch{return}if(s.origin===r.origin)return s.pathname+s.search}}(t,i[r]);void 0!==s&&m(e,t,s)}}function C(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function I(e,t,r){304===e&&C(t,r)}e.exports=class{#L;#H;#O;#P;#y;#Y;constructor({store:e,type:t,cacheByDefault:r},i,s){this.#P=e,this.#H=t,this.#O=r,this.#L=i,this.#y=s}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#y.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#y.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,d){var E,f,B,y,Q,N,b,S,w,D;let x,R=()=>this.#y.onResponseStart?.(e,t,r,d),M=this;if(!h(i.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return E=this.#P,f=this.#L,m(E,f,f.path),p(E,f,r.location),p(E,f,r["content-location"]),R()}let k=r["cache-control"],U=r["last-modified"]&&h(g,t);if(!k&&!r.expires&&!U&&!this.#O)return 304===t&&r.vary&&A(r.vary)&&C(this.#P,this.#L),R();let F=k?s(k):{};if(B=this.#H,y=t,Q=r,N=F,b=this.#L.headers,y<200||h(u,y)||!h(g,y)&&!Q.expires&&!N.public&&void 0===N["max-age"]&&!(N.private&&"private"===B)&&(void 0===N["s-maxage"]||"shared"!==B)||N["no-store"]||"shared"===B&&!0===N.private||Q.vary&&a(Q.vary)||null!=b&&Object.hasOwn(b,"authorization")&&(!N.public&&!N["s-maxage"]&&!N["must-revalidate"]||"string"!=typeof b.authorization||Array.isArray(N["no-cache"])&&h(N["no-cache"],"authorization")||Array.isArray(N.private)&&h(N.private,"authorization"))||0){return 304===t&&(k||(S=this.#H,w=r,!0===(D=F)["no-store"]||"shared"===S&&!0===D.private||w.vary&&A(w.vary)))&&C(this.#P,this.#L),R()}let v=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return I(t,this.#P,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return I(t,this.#P,this.#L),R();let H=Math.max(L?Math.max(0,v-L.getTime()):0,T??0),O="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],P=function(e,t,r,i,s,o,a){if("shared"===e){if(n(o,"s-maxage"))return 0;let e=o["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(n(o,"max-age"))return 0;let A=o["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(i,"expires")){if("string"!=typeof i.expires)return 0;let e=c(i.expires);if(!e||t>=e.getTime())return 0;if(s){if(s>=e)return 0;let t=e.getTime()-s.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof i["last-modified"]){let e=c(i["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return o.immutable?31536e6:!0===o["no-cache"]&&a?0:void 0}(this.#H,v,T,r,L,F,O)??this.#O,Y=0===P&&O;if(void 0===P||H>=P&&!Y)return(k||void 0!==P)&&I(t,this.#P,this.#L),R();let G=v-H,z=P+G;if(v>=z&&!Y)return I(t,this.#P,this.#L),R();if(this.#L.headers&&r.vary&&!(x=o(r.vary,this.#L.headers)))return R();let q=function(e,t,r,i){let s=-1/0,n=-1/0,o=-1/0;if(r["stale-while-revalidate"]&&(s=i+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(n=i+1e3*r["stale-if-error"]),r.immutable&&s===-1/0&&n===-1/0&&(o=t+31536e6),s===-1/0&&n===-1/0&&o===-1/0){let r=i-e;return r<=0?t+864e5:i+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(i,s,n,o)}(G,v,F,z),V=function(e,t){let r,i=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let s of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t].split(",");for(let t=0;t<i.length;t++)e.push(i[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(i,e.connection),Array.isArray(t["no-cache"])&&i.push(...t["no-cache"]),Array.isArray(t.private)&&i.push(...t.private),i))Object.hasOwn(e,s)&&(r??={...e},delete r[s]);return r??e}(r,F),J={statusCode:t,statusMessage:d,headers:V,vary:x,cacheControlDirectives:F,cachedAt:G,staleAt:z,deleteAt:q};if(304===t){let t=t=>{if(!t)return R();if(J.statusCode=t.statusCode,J.statusMessage=t.statusMessage,J.etag=t.etag,J.vary=x??t.vary,J.headers={...t.headers,...V},R(),this.#Y=this.#P.createWriteStream(this.#L,J),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),i=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#y.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("drain",()=>{i()}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}),i()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#y.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#P.delete(this.#L)}),this.#Y.on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}))},r=this.#P.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(J.etag=r.etag),this.#Y=this.#P.createWriteStream(this.#L,J),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#y.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#y.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#y.onResponseError?.(e,t)}}},7871(e,t,r){let i=r(4589);e.exports=class{#G=!1;#z;#y;#q;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#z=e,this.#y=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#q=t}onRequestUpgrade(e,t,r,i){this.#y.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,s){if(i(null!=this.#z),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#z(this.#G,this.#q,t,r),this.#z=null,this.#G)return!0;this.#y.onRequestStart?.(e,this.#q),this.#y.onResponseStart?.(e,t,r,s)}onResponseData(e,t){if(!this.#G)return this.#y.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#y.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#z){if(this.#V){this.#G=!0,this.#z(!0,this.#q),this.#z=null;return}this.#z(!1),this.#z=null}if("function"==typeof this.#y.onResponseError)this.#y.onResponseError(e,t);else throw t}}}},2645(e,t,r){let i=r(4589);e.exports=class{#y;#J=!1;#_=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#y=e}onRequestStart(...e){this.#y.onRequestStart?.(...e)}onRequestUpgrade(...e){return i(!this.#J),i(!this.#_),this.#y.onRequestUpgrade?.(...e)}onResponseStart(...e){return i(!this.#J),i(!this.#_),i(!this.#W),this.#W=!0,this.#y.onResponseStart?.(...e)}onResponseData(...e){return i(!this.#J),i(!this.#_),this.#y.onResponseData?.(...e)}onResponseEnd(...e){return i(!this.#J),i(!this.#_),this.#J=!0,this.#y.onResponseEnd?.(...e)}onResponseError(...e){return this.#_=!0,this.#y.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:i}=r(8065);e.exports=class{#j;#K=[];#X=5242880;#Z=0;#$={};#ee="";#f=!1;#et=!1;#er=!1;#ei=!1;#es=null;#en=null;constructor(e,t,r=5242880){this.#j=e,this.#en=t,this.#X=r}addWaitingHandler(e){if(this.#ei||this.#er)return!1;let t=this.#eo(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#Z,this.#$,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#K.push(t),!0}onRequestStart(e,t){this.#es=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#j.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,i){for(let s of(this.#et=!0,this.#Z=t,this.#$=r,this.#ee=i,this.#j.onResponseStart?.(e,t,r,i),this.#K)){let{handler:e,controller:n}=s;if(s.done||n.aborted){s.done=!0;continue}try{e.onResponseStart?.(n,t,r,i)}catch{}n.aborted&&(s.done=!0)}this.#ea()}onResponseData(e,t){if(!this.#f&&!this.#ei){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#K)){let{handler:e,controller:i}=r;if(r.done||i.aborted){r.done=!0;continue}if(i.paused){this.#eA(r,t);continue}try{e.onResponseData?.(i,t)}catch{}i.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#ea()}}onResponseEnd(e,t){if(!this.#f&&!this.#ei){for(let r of(this.#ei=!0,this.#j.onResponseEnd?.(e,t),this.#K)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#ea(),this.#en?.()}}onResponseError(e,t){if(!this.#ei){for(let r of(this.#f=!0,this.#ei=!0,this.#j.onResponseError?.(e,t),this.#K))this.#ec(r,t);this.#K=[],this.#en?.()}}#eo(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#ei&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#ea()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#X){let t=new i(`Deduplicated waiting handler exceeded maxBufferSize (${this.#X} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let i=e.bufferedChunks.shift();e.bufferedBytes-=i.length;try{t.onResponseData?.(r,i)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#ea(){this.#K=this.#K.filter(e=>!1===e.done)}}},7424(e,t,r){let i=r(1210),s=r(4589),{InvalidArgumentError:n}=r(8065),o=[300,301,302,303,307,308],a=()=>{};function A(e,t,r,s,n){let o=i.headerNameToString(e);return!!("host"===o||s?.has(o)||r&&n?.has(o)||t&&o.startsWith("content-"))||!!r&&("authorization"===o||"cookie"===o||"proxy-authorization"===o)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new n(`${t} must be an array`);let r=new Set;for(let s of e){if("string"!=typeof s)throw new n(`${t} must contain header names`);r.add(i.headerNameToString(s))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new n("maxRedirections must be a positive number");let i=t.dispatch.bind(t);return(t,s)=>i(t,new e(i,r,t,s))}constructor(e,t,r,s){if(null!=t&&(!Number.isInteger(t)||t<0))throw new n("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new n("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:o,stripHeadersOnRedirect:a,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=i.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(a,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=s,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)||-1===o.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:g,search:u}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=u?`${g}${u}`:g,m=`${d}${h}`;for(let e of this.history)if(e.toString()===m)throw new n(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,n,o){let a=[];if(Array.isArray(e))for(let i=0;i<e.length;i+=2)A(e[i],t,r,n,o)||a.push(e[i],e[i+1]);else if(e&&"object"==typeof e)for(let[s,l]of i.hasSafeIterator(e)?e:Object.entries(e))A(s,t,r,n,o)||a.push(s,l);else s(null==e,"headers must be an object or an array");return a}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let i=r(4589),{kRetryHandlerDefaultRetry:s}=r(3025),{RequestRetryError:n}=r(8065),{isDisturbed:o,parseRangeHeader:a,wrapRequestBody:A}=r(1210);function l(e,t,r,i){let s=e["content-length"];if(null==s||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let o=Number(s),a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a)throw new n("Content-Length mismatch",r,{headers:e,data:{count:i}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:i}){let{retryOptions:n,...o}=t,{retry:a,maxRetries:l,maxTimeout:d,minTimeout:g,timeoutFactor:u,methods:h,errorCodes:m,retryAfter:p,statusCodes:C,throwOnError:I}=n??{};this.error=null,this.dispatch=r,this.handler=i,this.opts={...o,body:A(t.body)},this.retryOpts={throwOnError:I??!0,retry:a??e[s],retryAfter:p??!0,maxTimeout:d??3e4,minTimeout:g??500,timeoutFactor:u??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:C??[500,502,503,504,429],errorCodes:m??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,i,s){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)):this.error=s);if(o(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}e.pause(),this.retryOpts.retry(s,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(n){if(n){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i),e.resume();return}this.error=s,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,i)}static[s](e,{state:t,opts:r},i){let{statusCode:s,code:n,headers:o}=e,{method:a,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:g,statusCodes:u,errorCodes:h,methods:m}=A,{counter:p}=t;if(n&&"UND_ERR_REQ_RETRY"!==n&&!h.includes(n)||Array.isArray(m)&&!m.includes(a)||null!=s&&Array.isArray(u)&&!u.includes(s)||p>l)return void i(e);let C=o?.["retry-after"];if(C){let e;C=Number.isNaN(C=Number(C))?isNaN(e=new Date(o["retry-after"]).getTime())?null:e-Date.now():1e3*C}setTimeout(()=>i(null),0===C?0:C>0?Math.min(C,d):Math.min(c*g**(p-1),d))}onResponseStart(e,t,r,s){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let i=new n("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,s,i);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new n("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=a(r["content-range"]);if(!e)throw new n("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new n("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:s,size:o,end:A=o?o-1:null}=e;i(this.start===s,"content-range mismatch"),i(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=a(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,s);return}l(r,e,t,this.retryCount);let{start:n,size:o,end:A=o?o-1:null}=e;i(null!=n&&Number.isFinite(n),"content-range mismatch"),i(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=n,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}i(Number.isFinite(this.start)),i(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,s)}else throw new n("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new n("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||o(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let i=r(4589),{Readable:s}=r(7075),n=r(1210),o=r(4502),a=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:g,parseCacheControlHeader:u,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:m}=r(8065),{parseHttpDate:p}=r(5859),C=()=>{};function I(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function E(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function f(e,t){try{e.delete(t)?.catch?.(C)}catch{}}function B(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&p(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function y(e,t,r,o,a,A){let l=n.isStream(r.body)?r.body:s.from(r.body??[]);i(!l.destroyed,"stream should not be destroyed"),i(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new m)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,a),l.destroyed)return;let d={...r.headers,age:String(o)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=n.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,i,s,a,l){var c,d,g,p,I;let Q;if(!l){if(a?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,i.onResponseError?.(t,r??new m)}};try{if(i.onRequestStart?.(t,null),e||(i.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;i.onResponseEnd?.(t,{})}catch(e){"function"==typeof i.onResponseError&&i.onResponseError(t,e)}return!0}return e(s,new o(t,r,i))}let N=Date.now();if(N>l.deleteAt)return e(s,new o(t,r,i));let b=Math.round((N-l.cachedAt)/1e3),S=a?.["max-age"]!==void 0&&b>=a["max-age"],w=S||(c=l,d=a,g=t.type,(Q=Date.now())>c.staleAt?!(!E(c,g)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),D=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,a,s);if(w||D){let c;if(n.isStream(s.body)&&0!==n.bodyLength(s.body))return e(s,new o(t,r,i));if(!D&&(p=l,I=t.type,!(!(c=p.cacheControlDirectives?.["stale-while-revalidate"])||E(p,I))&&Date.now()<=p.staleAt+1e3*c))return y(i,s,l,b,null,!0),queueMicrotask(()=>{let i=B(s,l);e({...s,headers:i},new o(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!E(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??a?.["stale-if-error"];e&&(d=N<l.staleAt+1e3*e)}let g=B(s,l);return e({...s,headers:g},new A((a,A,c,d)=>{if(a){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let i=u(r);return!0===i["no-store"]||"shared"===e&&!0===i.private}(t.type,d))return n.isStream(l.body)&&l.body.on("error",C).destroy(),f(t.store,r),e(s,new o(t,r,i));void 0!==d["cache-control"]&&f(t.store,r)}y(i,s,l,b,A,w)}else n.isStream(l.body)&&l.body.on("error",C).destroy()},new o(t,r,i),d))}n.isStream(s.body)&&s.body.on("error",C).destroy(),y(i,s,l,b,null,!1)}e.exports=(e={})=>{let{store:t=new a,methods:r=["GET"],cacheByDefault:i,type:s="shared",origins:o}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==o){if(!Array.isArray(o))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof o}`);for(let e=0;e<o.length;e++){let t=o[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==i&&"number"!=typeof i)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof i}`);if(void 0!==s&&"shared"!==s&&"private"!==s)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof s}`);let h={store:t,methods:r,cacheByDefault:i,type:s},m=[];for(let e=0;e<n.safeHTTPMethods.length;e++){let t=n.safeHTTPMethods[e];I(r,t)||m.push(t)}return e=>(r,i)=>{if(!r.origin||I(m,r.method))return e(r,i);if(void 0!==o){let t=r.origin.toString().toLowerCase(),s=!1;for(let e=0;e<o.length;e++){let r=o[e];if("string"==typeof r){if(r.toLowerCase()===t){s=!0;break}}else if(r.test(t)){s=!0;break}}if(!s)return e(r,i)}r={...r,headers:g(r)};let s=r.headers?.["cache-control"]?u(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let i=t.split(",");for(let e=0;e<i.length;e++)if("no-cache"===i[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(s?.["no-store"])return e(r,i);let n=d(r),a=t.get(n);return a&&"function"==typeof a.then?a.then(t=>Q(e,h,n,i,r,s,t)):Q(e,h,n,i,r,s,a)}}},9287(e,t,r){let{createInflate:i,createGunzip:s,createBrotliDecompress:n,createZstdDecompress:o}=r(8522),{pipeline:a}=r(7075),A=r(2645),l={gzip:s,"x-gzip":s,br:n,deflate:i,compress:i,"x-compress":i,zstd:o},c=[204,304],d=!1;class g extends A{#ed=[];#eg;#eu;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eu=t,this.#eh=r}#em(e,t){return!!(!e||t<200||this.#eu.includes(t))||!!this.#eh&&!!(t>=400)}#ep(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let i=t[e].trim();if(i){if(!l[i])return r.length=0,r;r.push(l[i]())}}return r}#eC(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#eI(e){let t=this.#ed[0];this.#eC(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eg)})}#eE(e){let t=this.#ed[this.#ed.length-1];this.#eC(t,e),a(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eg)})}#ef(){this.#ed.length=0}onResponseStart(e,t,r,i){let s=r["content-encoding"];if(this.#em(s,t))return super.onResponseStart(e,t,r,i);let n=this.#ep(s.toLowerCase());if(0===n.length)return this.#ef(),super.onResponseStart(e,t,r,i);this.#ed=n;let{"content-encoding":o,"content-length":a,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let i=t[e],s=(Buffer.isBuffer(i)?i.toString("latin1"):`${i}`).toLowerCase();"content-encoding"!==s&&"content-length"!==s&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#eI(e):this.#eE(e),super.onResponseStart(e,t,A,i)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eg=t,this.#ed[0].end(),this.#ef();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#ef()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,i)=>"HEAD"===r.method?t(r,i):t(r,new g(i,e))}},7870(e,t,r){let i=r(3053),s=r(1210),n=r(8241),{normalizeHeaders:o,makeCacheKey:a,makeDeduplicationKey:A}=r(8621),l=i.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:i=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!s.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(i))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof i}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),g=new Set(i.map(e=>e.toLowerCase())),u=new Map;return e=>(r,i)=>{if(!r.origin||!1===t.includes(r.method))return e(r,i);if(r={...r,headers:o(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,i)}let s=A(a(r),g),h=u.get(s);if(h)return!!h.addWaitingHandler(i)||e(r,i);let m=new n(i,()=>{u.delete(s),l.hasSubscribers&&l.publish({size:u.size,key:s,type:"removed"})},c);return u.set(s,m),l.hasSubscribers&&l.publish({size:u.size,key:s,type:"added"}),e(r,m)}}},4053(e,t,r){let{isIP:i}=r(7030),{lookup:s}=r(610),n=r(2645),{InvalidArgumentError:o,InformationalError:a}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#eB=0;#ey=new Map;constructor(e){this.#eB=e.maxItems}get size(){return this.#ey.size}get(e){return this.#ey.get(e)??null}set(e,t){this.#ey.set(e,t)}delete(e){this.#ey.delete(e)}full(){return this.size>=this.#eB}}class d{#eQ=0;#eB=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#eB=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eN,this.pick=e.pick??this.#eb,this.storage=e.storage??new c(e)}runLookup(e,t,r){let i=this.storage.get(e.hostname);if(null==i&&this.storage.full())return void r(null,e);let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#eB};if(null==i)this.lookup(e,s,(t,i)=>{let n;if(t||null==i||0===i.length)return void r(t??new a("No DNS entries found"));this.setRecords(e,i);let o=this.storage.get(e.hostname),A=this.pick(e,o,s.affinity);n="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${n}`))});else{let n,o=this.pick(e,i,s.affinity);if(null==o){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}n="number"==typeof o.port?`:${o.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===o.family?`[${o.address}]`:o.address}${n}`))}}#eN(e,t,r){s(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let i=new Map;for(let e of t)i.set(`${e.address}:${e.family}`,e);r(null,i.values())})}#eb(e,t,r){let i,s=null,{records:n,offset:o}=t;if(this.dualStack?(null==r&&(null==o||0x7fffffff===o?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),i=null!=n[r]&&n[r].ips.length>0?n[r]:n[4===r?6:4]):i=n[r],null==i||0===i.ips.length)return s;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let a=i.offset%i.ips.length;return null==(s=i.ips[a]??null)?s:Date.now()-s.timestamp>s.ttl?(i.ips.splice(a,1),this.pick(e,t,r)):s}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let i=r[t];if(!i)return null;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let s=i.offset%i.ips.length,n=i.ips[s]??null;return null==n||Date.now()-n.timestamp>n.ttl&&i.ips.splice(s,1),n}setRecords(e,t){let r=Date.now(),i={records:{4:null,6:null}},s=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),s=Math.min(s,e.ttl)):e.ttl=this.#eQ;let t=i.records[e.family]??{ips:[]};t.ips.push(e),i.records[e.family]=t}this.storage.set(e.hostname,i,{ttl:s})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new g(this,e,t)}}class g extends n{#eS=null;#S=null;#ew=null;#eD=null;#es=null;#ex=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:i,newOrigin:s},n){super(r),this.#eD=t,this.#ex=s,this.#S={...n},this.#eS=e,this.#ew=i}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let i="["===this.#ex.hostname[0]?4:6,s=this.#eS.pickFamily(this.#eD,i);if(null==s)return void super.onResponseError(e,t);r="number"==typeof s.port?`:${s.port}`:""!==this.#eD.port?`:${this.#eD.port}`:"";let n={...this.#S,origin:`${this.#eD.protocol}//${6===s.family?`[${s.address}]`:s.address}${r}`,headers:l(this.#eD.host,this.#S.headers)};this.#ew(n,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#eD),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new o("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new o("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new o("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new o("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new o("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new o("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new o("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let s=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let n=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==i(n.hostname)?e(t,r):(s.runLookup(n,t,(i,o)=>{if(i)return r.onResponseError(null,i);e({...t,servername:n.hostname,origin:o.origin,headers:l(n.host,t.headers)},s.getHandler({origin:n,dispatch:e,handler:r,newOrigin:o},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:i,RequestAbortedError:s}=r(8065),n=r(2645);class o extends n{#t=1048576;#eM=!1;#i=0;#es=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new i("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#B(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#B.bind(this),this.#es=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,i){let n=r["content-length"];if(null!=n&&n>this.#t)throw new s(`Response size (${n}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,i)}onResponseError(e,t){this.#eM||(t=this.#es?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#i=this.#i+t.length,this.#i>=this.#t&&(this.#eM=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#eM){if(!0===this.#es.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,i){let{dumpMaxSize:s=e}=r,n=new o({maxSize:s,signal:r.signal},i);return t(r,n)}}},7884(e,t,r){let i=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:s}={}){return n=>function(o,a){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=s,...g}=o;if(null==A||0===A)return n(o,a);let u={...g,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new i(n,A,u,a);return n(u,h)}}},3128(e,t,r){let i=r(2645),{ResponseError:s}=r(8065);class n extends i{#Z;#ek;#eU;#$;#eF;constructor(e,{handler:t}){super(t)}#ev(e){return 0===(this.#ek??"").indexOf(e)}onRequestStart(e,t){return this.#Z=0,this.#ek=null,this.#eU=null,this.#$=null,this.#eF="",super.onRequestStart(e,t)}onResponseStart(e,t,r,i){if(this.#Z=t,this.#$=r,this.#ek=r["content-type"],this.#Z<400)return super.onResponseStart(e,t,r,i);(this.#ev("application/json")||this.#ev("text/plain"))&&(this.#eU=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#Z<400)return super.onResponseData(e,t);this.#eF+=this.#eU?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#Z>=400){let t;if(this.#eF+=this.#eU?.decode(void 0,{stream:!1})??"",this.#ev("application/json"))try{this.#eF=JSON.parse(this.#eF)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new s("Response Error",this.#Z,{body:this.#eF,headers:this.#$})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new n(t,{handler:r}))}},9620(e,t,r){let i=r(4166);e.exports=e=>t=>function(r,s){return t(r,new i({...r,retryOptions:{...e,...r.retryOptions}},{handler:s,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let i=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,i.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z6,t.t9,t.Y2,t.oC,t.mL,t.XB,t.EW,t.jJ,t.jA,t.XV,t.KO,t.aC},9896(e,t,r){let i;e=r.nmd(e);let{Buffer:s}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=s.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9mdW5jdGlvbl90YWJsZQEAC2xsaHR0cF9pbml0AAkYbGxodHRwX3Nob3VsZF9rZWVwX2FsaXZlADcMbGxodHRwX2FsbG9jAAsGb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IMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAygCHCICQQJrDvwBAfkBAgMEBQYHCAkKCwwNDg8QERL4ARP3ARQV9gEWF/UBGBkaGxwdHh8g/QH7ASH0ASIjJCUmJygpKivzASwtLi8wMTLyAfEBMzTwAe8BNTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5P+gFQUVJT7gHtAV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MC0HTAQwLC0HUAQwKC0HVAQwJC0HWAQwIC0HjAQwHC0HXAQwGC0HYAQwFC0HZAQwEC0HaAQwDC0HbAQwCC0HdAQwBC0HcAQshAgNAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJ/AkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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gA0EANgIEIAMgACABIAynaiIBEDIiAEUNKyADQQc2AhwgAyABNgIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwoCyADQQ42AhwgAyAANgIMIAMgAUEBajYCFAyIAwsgAEEVRg03QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIcDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDCcLIANBDzYCHCADIAA2AgwgAyABQQFqNgIUDIYDC0EAIQIgA0EANgIcIAMgATYCFCADQeIXNgIQIANBGTYCDAyFAwsgAEEVRg0zQQAhAiADQQA2AhwgAyABNgIUIANB1gw2AhAgA0EjNgIMDIQDCyADKAIEIQBBACECIANBADYCBCADIAAgARA0IgBFDSUgA0ERNgIcIAMgATYCFCADIAA2AgwMgwMLIABBFUYNMEEAIQIgA0EANgIcIAMgATYCFCADQdYMNgIQIANBIzYCDAyCAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQwlCyADQ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AgsCQAJAA0ACQCABLQAAQQprDgQCAAADAAsgBCABQQFqIgFHDQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyrAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqgILQcYBIQIMkAILIAEgBEYEQEHfASECDKkCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqgILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKkCC0HFASECDI8CCyABIARGBEBB3gEhAgyoAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKkCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyoAgtBxAEhAgyOAgsgASAERgRAQd0BIQIMpwILAkACQAJAAkAgAS0AAEEKaw4XAgMDAAMDAwMDAwMDAwMDAwMDAwMDAwEDCyABQQFqDAULIAFBAWohAUHDASECDI8CCyABQQFqIQEgA0Evai0AAEEBcQ0IIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKcCCyADQQA2AhwgAyABNgIUIANBjQs2AhAgA0ENNgIMQQAhAgymAgsgASAERwRAIANBDzYCCCADIAE2AgRBASECDI0CC0HcASECDKUCCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtB2wEhAgymAgsgAygCBCEAIANBADYCBCADIAAgARAtIgBFBEAgAUEBaiEBDAQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgIMQQAhAgyfAgsgA0EANgIcIAMgATYCFCADQYANNgIQIANBGzYCDEEAIQIMngILIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACEC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QAJAIAEtAABBxgBrDgsALCwsLCwsLCwsASwLIAFBAWohAUGeASECDOQBCyABQQFqIQFBnwEhAgzjAQtBtwEhAiABIARGDfsBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQezUAGotAABHDSggAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPwBCyADQQA2AgAgBkEBaiEBQQ0MKAtBtgEhAiABIARGDfoBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDScgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPsBCyADQQA2AgAgBkEBaiEBQQwMJwtBtQEhAiABIARGDfkBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQerUAGotAABHDSYgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPoBCyADQQA2AgAgBkEBaiEBQQMMJgtBtAEhAiABIARGDfgBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQejUAGotAABHDSUgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPkBCyADQQA2AgAgBkEBaiEBQSYMJQsgASAERgRAQbMBIQIM+AELAkACQCABLQAAQdQAaw4CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz2AQsgA0EANgIAIAZBAWohAUEcDCILQbABIQIgASAERg30ASADKAIAIg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aiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7QELIANBADYCACAGQQFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADOUBCyABIARGBEBBoAEhAgzlAQtBASABLQAAQd8ARw0RGiABQQFqIQFBhwEhAgzLAQs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AARw0GIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzaAQsgA0EANgIAIAZBAWohAUEFDAYLQZUBIQIgASAERg3YASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGm1ABqLQAARw0FIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzZAQsgA0EANgIAIAZBAWohAUEWDAULQZQBIQIgASAERg3XASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0EIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzYAQsgA0EANgIAIAZBAWohAUEQDAQLIAEgBEYEQEGTASECDNcBCwJAAkAgAS0AAEHDAGsODAAGBgYGBgYGBgYGAQYLIAFBAWohAUH5ACECDL4BCyABQQFqIQFB+gAhAgy9AQtBkgEhAiABIARGDdUBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQaDUAGotAABHDQIgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GbHzYCECADQQY2AgxBACECDMwB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0IIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIANBADYCHCADIAE2AhQgA0GNFDYCECADQQc2AgxBACECDKgBCwJAAkACQAJAA0AgAS0AAEGgygBqLQAAIgBBBUcEQAJAIABBAWsOBi4DBAUGAAYLQegAIQIMlAELIAQgAUEBaiIBRw0AC0H9ACECDKsBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQdsANgIcIAMgATYCFCADIAA2AgxBACECDKoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDKkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQfoANgIcIAMgATYCFCADIAA2AgxBACECDKgBCyADQQA2AhwgAyABNgIUIANB5Ag2AhAgA0EHNgIMQQAhAgynAQsgASAERg0BIAFBAWoLIQFBBiECDIwBC0H8ACECDKQBCwJAAkACQAJAA0AgAS0AAEGgyABqLQAAIgBBBUcEQCAAQQFrDgQpAgMEBQsgBCABQQFqIgFHDQALQfsAIQIMpwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMpgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMpQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMpAELIANBADYCHCADIAE2AhQgA0G8CjYCECADQQc2AgxBACECDKMBC0HPACECDIkBC0HRACECDIgBC0HnACECDIcBCyABIARGBEBB+gAhAgygAQsCQCABLQAAQQlrDgQgAAAgAAsgAUEBaiEBQeYAIQIMhgELIAEgBEYEQEH5ACECDJ8BCwJAIAEtAABBCWsOBB8AAB8AC0EAIQACQCADKAI4IgJFDQAgAigCOCICRQ0AIAMgAhEAACEACyAARQRAQeIBIQIMhgELIABBFUcEQCADQQA2AhwgAyABNgIUIANByQ02AhAgA0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QIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQQc2AgwMgwELIAEgBEYEQEHbACECDIMBCwJAIAEtAABBCWsOBAMAAAMACyABQQFqCyEBQc4AIQIMaAsgASAERgRAQdoAIQIMgQELIAEtAABBCWsOBAABAQABC0EAIQIgA0EANgIcIANBmhI2AhAgA0EHNgIMIAMgAUEBajYCFAx/CyADQYASOwEqQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFDQAgAEEVRw0BIANB2QA2AhwgAyABNgIUIANB6ho2AhAgA0EVNgIMQQAhAgx+C0HNACECDGQLIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDHwLIAEgBEYEQEHZACECDHwLIAEtAABBIEcNPSABQQFqIQEgAy0ALkEBcQ09IANBADYCHCADIAE2AhQgA0HCHDYCECADQR42AgxBACECDHsLIAEgBEYEQEHYACECDHsLAkACQAJAAkACQCABLQAAIgBBCmsOBAIDAwABCyABQQFqIQFBLCECDGULIABBOkcNASADQQA2AhwgAyABNgIUIANB5xE2AhAgA0EKNgIMQQAhAgx9CyABQQFqIQEgA0Evai0AAEEBcUUNcyADLQAyQYABcUUEQCADQTJqIQIgAxA1QQAhAAJAIAMoAjgiBkUNACAGKAIoIgZFDQAgAyAGEQAAIQALAkACQCAADhZNTEsBAQEBAQEBAQEBAQEBAQEBAQEAAQsgA0EpNgIcIAMgATYCFCADQawZNgIQIANBFTYCDEEAIQIMfgsgA0EANgIcIAMgATYCFCADQeULNgIQIANBETYCDEEAIQIMfQtBACEAAkAgAygCOCICRQ0AIAIoAlwiAkUNACADIAIRAAAhAAsgAEUNWSAAQRVHDQEgA0EFNgIcIAMgATYCFCADQZsbNgIQIANBFTYCDEEAIQIMfAtBywAhAgxiC0EAIQIgA0EANgIcIAMgATYCFCADQZAONgIQIANBFDYCDAx6CyADIAMvATJBgAFyOwEyDDsLIAEgBEcEQCADQRE2AgggAyABNgIEQcoAIQIMYAtB1wAhAg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gCUEQaiQAIAJFBEAgAygCDCEADAELIAMgAjYCHEEAIQAgAygCBCIBRQ0AIAMgASAEIAMoAggRAQAiAUUNACADIAQ2AhQgAyABNgIMIAEhAAsgAAu+AgECfyAAQQA6AAAgAEHkAGoiAUEBa0EAOgAAIABBADoAAiAAQQA6AAEgAUEDa0EAOgAAIAFBAmtBADoAACAAQQA6AAMgAUEEa0EAOgAAQQAgAGtBA3EiASAAaiIAQQA2AgBB5AAgAWtBfHEiAiAAaiIBQQRrQQA2AgACQCACQQlJDQAgAEEANgIIIABBADYCBCABQQhrQQA2AgAgAUEMa0EANgIAIAJBGUkNACAAQQA2AhggAEEANgIUIABBADYCECAAQQA2AgwgAUEQa0EANgIAIAFBFGtBADYCACABQRhrQQA2AgAgAUEca0EANgIAIAIgAEEEcUEYciICayIBQSBJDQAgACACaiEAA0AgAEIANwMYIABCADcDECAAQgA3AwggAEIANwMAIABBIGohACABQSBrIgFBH0sNAAsLC1YBAX8CQCAAKAIMDQACQAJAAkACQCAALQAxDgMBAAMCCyAAKAI4IgFFDQAgASgCMCIBRQ0AIAAgAREAACIBDQMLQQAPCwALIABByhk2AhBBDiEBCyABCxoAIAAoAgxFBEAgAEHeHzYCECAAQRU2AgwLCxQAIAAoAgxBFUYEQCAAQQA2AgwLCxQAIAAoAgxBFkYEQCAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsrAAJAIABBJ08NAEL//////wkgAK2IQgGDUA0AIABBAnRB0DhqKAIADwsACxcAIABBL08EQAALIABBAnRB7DlqKAIAC78JAQF/QfQtIQECQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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AhggASABNgIIIAEgATYCDAwBCyAEQRkgAkEBdmtBACACQR9HG3QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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QwfC0HBAQweC0HCAQwdC0EBDBwLQcMBDBsLQcQBDBoLQcUBDBkLQcYBDBgLQccBDBcLQcgBDBYLQckBDBULQcoBDBQLQcsBDBMLQcwBDBILQc0BDBELQc4BDBALQc8BDA8LQdABDA4LQdEBDA0LQdIBDAwLQdMBDAsLQdQBDAoLQdUBDAkLQdYBDAgLQeMBDAcLQdcBDAYLQdgBDAULQdkBDAQLQdoBDAMLQdsBDAILQd0BDAELQdwBCyECA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAk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IABBO0cNASABQQFqIQELQSYhAgzXAgtBACECIANBADYCHCADIAE2AhQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRshAgzGAgtBHCECDMUCC0EdIQIMxAILQR4hAgzDAgtBHyECDMICC0EgIQIMwQILQSIhAgzAAgtBIyECDL8CC0ElIQIMvgILQeUA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ABLQAAQcgARw0EIAFBAWohAUHYASECDKsCCyABIARGBEBB9wEhAgzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMg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0AAEcNPCAAQQZGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQ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IABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzuAQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQbPUAGotAABHDQsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN8BCyADQQA2AgAgBkEBaiEBQSMMCwtBmgEhAiABIARGDd0BIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDUAGotAABHDQogAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN4BCyADQQA2AgAgBkEBaiEBQQAMCgsgASAERgRAQZkBIQIM3QELAkACQCABLQAAQcgAaw4IAAwMDAwMDAEMCyABQQFqIQFB/QAhAgzEAQsgAUEBaiEBQYABIQIMwwELIAEgBEYEQEGYASECDNwBCwJAAkAgAS0AAEHOAGsOAwALAQsLIAFBAWohAUH+ACECDMMBCyABQQFqIQFB/wAhAgzCAQsgASAERgRAQZcBIQIM2wELIAEtAABB2QBHDQggAUEBaiEBQQgMBwtBlgEhAiABIARGDdkBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQazUAGotAABHDQYgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNoBCyADQQA2AgAgBkEBaiEBQQUMBgtBlQEhAiABIARGDdgBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQabUAGotAABHDQUgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNkBCyADQQA2AgAgBkEBaiEBQRYMBQtBlAEhAiABIARGDdcBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDQQgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNgBCyADQQA2AgAgBkEBaiEBQRAMBAsgASAERgRAQZMBIQIM1wELAkACQCABLQAAQcMAaw4MAAYGBgYGBgYGBgYBBgsgAUEBaiEBQfkAIQIMvgELIAFBAWohAUH6ACECDL0BC0GSASECIAEgBEYN1QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4B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UcNAAtBhAEhAgzDAQsgAUEBagwUCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2AhQgA0GAGzYCECADQRU2AgxBACECDJEBCyADLQApIgBBI0kNACAAQS5GDQAgA0EANgIcIAMgATYCFCADQckJNgIQIANBCDYCDEEAIQIMkAELQdoAIQIMdgsgASAERgRAQesAIQIMjwELAkAgAS0AAEEvRgRAIAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBsjg2AhAgA0EINgIMQQAhAgyPAQtB2QAhAgx1CyABIARHBEAgA0EONgIIIAMgATYCBEHYACECDHULQeoAIQIMjQELIAEgBEYEQEHpACECDI0BCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHXACECDHQLIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ16IANB6AA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELIAEgBEYEQEHnACECDIwBCwJAIAEtAABBLkYEQCABQQFqIQE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GIQUgBCEBCyAHQQE2AgAgAyAFNgIADAELIANBADYCACAHIAg2AgALIAcgATYCBCAJKAIMIQACQAJAIAkoAghBAWsOAgQBAAsgA0EANgIcIANBwh42AhAgA0EXNgIMIAMgAEEBajYCFEEAIQIMAwsgA0EANgIcIAMgADYCFCADQdceNgIQIANBCTYCDEEAIQIMAgsgASAERgRAQSghAgwCCyADQQk2AgggAyABNgIEQSchAgwBCyABIARGBEBBASECDAELA0ACQAJAAkAgAS0AAEEKaw4EAAEBAAELIAFBAWohAQwBCyABQQFqIQEgAy0ALkEgcQ0AQQAhAiADQQA2AhwgAyABNgIUIANBoSE2AhAgA0EFNgIMDAILQQEhAiABIARHDQALCyAJQRBqJAAgAkUEQCADKAIMIQAMAQsgAyACNgIcQQAhACADKAIEIgFFDQAgAyABIAQgAygCCBEBACIBRQ0AIAMgBDYCFCADIAE2AgwgASEACyAAC74CAQJ/IABBADoAACAAQeQAaiIBQQFrQQA6AAAgAEEAOgACIABBADoAASABQQNrQQA6AAAgAUECa0EAOgAAIABBADoAAyABQQRrQQA6AABBACAAa0EDcSIBIABqIgBBADYCAEHkACABa0F8cSICIABqIgFBBGtBADYCAAJAIAJBCUkNACAAQQA2AgggAEEANgIEIAFBCGtBADYCACABQQxrQQA2AgAgAkEZSQ0AIABBADYCGCAAQQA2AhQgAEEANgIQIABBADYCDCABQRBrQQA2AgAgAUEUa0EANgIAIAFBGGtBADYCACABQRxrQQA2AgAgAiAAQQRxQRhyIgJrIgFBIEkNACAAIAJqIQADQCAAQgA3AxggAEIANwMQIABCADcDCCAAQgA3AwAgAEEgaiEAIAFBIGsiAUEfSw0ACwsLVgEBfwJAIAAoAgwNAAJAAkACQAJAIAAtADEOAwEAAwILIAAoAjgiAUUNACABKAIwIgFFDQAgACABEQAAIgENAwtBAA8LAAsgAEHKGTYCEEEOIQELIAELGgAgACgCDEUEQCAAQd4fNgIQIABBFTYCDAsLFAAgACgCDEEVRgRAIABBADYCDAsLFAAgACgCDEEWRgRAI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length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(i||t.includes(e))&&(s||!r.includes(e))))}},6923(e,t,r){let{kClients:i}=r(3025),s=r(5891),{kAgent:n,kMockAgentSet:o,kMockAgentGet:a,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:g,kFactory:u,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:m,kMockAgentAddCallHistoryLog:p,kMockAgentMockCallHistoryInstance:C,kMockAgentAcceptsNonStandardSearchParameters:I,kMockCallHistoryAddLog:E,kIgnoreTrailingSlash:f}=r(4779),B=r(375),y=r(8182),{matchValue:Q,normalizeSearchParams:N,buildAndValidateMockOptions:b,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:D}=r(8065),x=r(6873),R=r(1908),{MockCallHistory:M}=r(2137);e.exports=class extends x{constructor(e={}){super(e);let t=b(e);if(this[c]=!0,this[l]=!0,this[m]=t.enableCallHistory??!1,this[I]=t.acceptNonStandardSearchParameters??!1,this[f]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new s(e);this[n]=r,this[i]=r[i],this[g]=t,this[m]&&this[h]()}get(e){let t=S(e),r=this[f]?t.replace(/\/$/,""):t,i=this[a](r);return i||(i=this[u](r),this[o](r,i)),i}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[p](e);let r=this[I],i={...e};if(r&&i.path){let[e,t]=i.path.split("?"),s=N(t,r);i.path=`${e}?${s}`}return this[n].dispatch(i,t)}async close(){this.clearCallHistory(),await this[n].close(),this[i].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[m]=!0,this}disableCallHistory(){return this[m]=!1,this}getCallHistory(){return this[C]}clearCallHistory(){void 0!==this[C]&&this[C].clear()}get isMockActive(){return this[l]}[h](){void 0===this[C]&&(this[C]=new M)}[p](e){this[m]&&(this[h](),this[C][E](e))}[o](e,t){this[i].set(e,t)}[u](e){let t=Object.assign({agent:this},this[g]);return this[g]&&1===this[g].connections?new B(e,t):new y(e,t)}[a](e){let t=this[i].get(e);if(t)return t;if("string"!=typeof e){let t=this[u]("http://localhost:9999");return this[o](e,t),t}for(let[t,r]of Array.from(this[i]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[u](e);return this[o](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[i].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new D(1===t.length?`1 interceptor is pending: +`}return o.sendHeaders.hasSubscribers&&o.sendHeaders.publish({request:t,headers:W,socket:_}),O&&0!==G?n.isBuffer(O)?ef(J,O,e,t,_,P,W,Y):n.isBlobLike(O)?"function"==typeof O.stream?eB(J,O.stream(),e,t,_,P,W,Y):eE(J,O,e,t,_,P,W,Y):n.isStream(O)?(a=J,l=O,g=e,u=t,h=_,p=P,C=W,I=Y,s(0!==p||0===g[N],"stream body cannot be pipelined"),f=!1,B=new ey({abort:a,socket:h,request:u,contentLength:p,client:g,expectsPayload:I,header:C}),y=function(e){if(!f)try{!B.write(e)&&this.pause&&this.pause()}catch(e){n.destroy(this,e)}},b=function(){!f&&l.resume&&l.resume()},S=function(){if(queueMicrotask(()=>{l.removeListener("error",D)}),!f){let e=new c;queueMicrotask(()=>D(e))}},D=function(e){if(!f){if(f=!0,s(h.destroyed||h[w]&&g[N]<=1),h.off("drain",b).off("error",D),l.removeListener("data",y).removeListener("end",D).removeListener("close",S),!e)try{B.end()}catch(t){e=t}B.destroy(e),e&&("UND_ERR_INFO"!==e.code||"reset"!==e.message)?n.destroy(l,e):n.destroy(l)}},l.on("data",y).on("end",D).on("error",D).on("close",S),l.resume&&l.resume(),h.on("drain",b).on("error",D),l.errorEmitted??l.errored?setImmediate(D,l.errored):(l.endEmitted??l.readableEnded)&&setImmediate(D,null),(l.closeEmitted??l.closed)&&setImmediate(S)):n.isIterable(O)?eB(J,O,e,t,_,P,W,Y):s(!1):ef(J,null,e,t,_,P,W,Y),!0})(e,t),resume(){!function(e){let t=e[T];if(t&&!t.destroyed){if(0===e[S]?!t[x]&&t.unref&&(t.unref(),t[x]=!0):t[x]&&t.ref&&(t.ref(),t[x]=!1),0===e[N]&&e[b]>0&&t[ei]){if(0===t[et]){t[et]=1,t[er]=setImmediate(()=>{t[er]=null,t[et]=2,e[T]!==t||t.destroyed||e[W]()}),t[er].unref?.(),t[y].readMore(),t.destroyed;return}if(1===t[et]){t[y].readMore(),t.destroyed;return}}if(0===e[N]&&(t[y].readMore(),t.destroyed))return;if(0===e[S])8!==t[y].timeoutType&&t[y].setTimeout(e[L],8);else if(e[N]>0&&t[y].statusCode<200&&3!==t[y].timeoutType){let r=e[D][e[F]],i=null!=r.headersTimeout?r.headersTimeout:e[Y];t[y].setTimeout(i,3)}}}(e)},destroy(e,r){t[K]?queueMicrotask(r):(t.on("close",r),t.destroy(e))},get destroyed(){return t.destroyed},busy:r=>!!(t[w]||t[E]||t[Q]||1===t[et]||r&&(e[N]>0&&!r.idempotent||e[N]>0&&(r.upgrade||"CONNECT"===r.method)||e[N]>0&&0!==n.bodyLength(r.body)&&(n.isStream(r.body)||n.isAsyncIterable(r.body)||n.isFormDataLike(r.body))))||!1}}},942(e,t,r){let i,s,n=r(4589),{pipeline:o}=r(7075),a=r(1210),{RequestContentLengthMismatchError:A,RequestAbortedError:l,SocketError:c,InformationalError:d,InvalidArgumentError:g,HeadersTimeoutError:u,BodyTimeoutError:h}=r(8065),{kUrl:m,kReset:p,kClient:C,kRunning:I,kPending:f,kQueue:E,kPendingIdx:B,kRunningIdx:y,kError:Q,kSocket:N,kStrictContentLength:b,kOnError:S,kMaxConcurrentStreams:w,kPingInterval:D,kHTTP2Session:x,kHTTP2InitialWindowSize:R,kHTTP2ConnectionWindowSize:M,kHostAuthority:k,kResume:F,kSize:U,kHTTPContext:v,kClosed:T,kKeepAliveDefaultTimeout:L,kHeadersTimeout:O,kBodyTimeout:H,kEnableConnectProtocol:P,kRemoteSettings:Y,kHTTP2Stream:G,kHTTP2SessionState:z}=r(3025),{channels:q}=r(6708),V=Symbol("open streams"),_=Symbol("request stream id"),J=Symbol("request stream"),W=Symbol("request stream cleanup"),j=Symbol("request stream state"),K=Symbol("received goaway");try{s=r(2467)}catch{s={constants:{}}}let{constants:{HTTP2_HEADER_AUTHORITY:X,HTTP2_HEADER_METHOD:Z,HTTP2_HEADER_PATH:$,HTTP2_HEADER_SCHEME:ee,HTTP2_HEADER_CONTENT_LENGTH:et,HTTP2_HEADER_EXPECT:er,HTTP2_HEADER_STATUS:ei,HTTP2_HEADER_PROTOCOL:es,NGHTTP2_NO_ERROR:en,NGHTTP2_REFUSED_STREAM:eo}}=s;function ea(e){e[_]=null,e[J]=null,e[W]=null}function eA(e,t,r){let i=e[W],s=e[J];ea(e),i?.(s),e[_]=t.id,e[J]=t,e[W]=r}function el(e){let t=e[W],r=e[J];ea(e),t?.(r)}function ec(e){let t=e[z];!1===t.refed&&(t.refed=!0,e.ref())}function ed(e){let t=e[z];!0===t.refed&&(t.refed=!1,e.unref())}function eg(e){let t=e[z];t?.idleTimeout!=null&&(clearTimeout(t.idleTimeout),t.idleTimeout=null)}function eu(e){let t=e[C];if(t[x]!==e||e.closed||e.destroyed)return;if(0!==e[V]||0!==t[U])return void eg(e);let r=e[z];null==r.idleTimeout&&(r.idleTimeout=setTimeout(eh,t[L],e).unref())}function eh(e){let t=e[C],r=e[N];if(e[z].idleTimeout=null,t[x]!==e||0!==e[V]||0!==t[U]||e.closed||e.destroyed)return;let i=new d("socket idle timeout");r[Q]=i,a.destroy(r,i)}function em(e){try{"function"==typeof this.setLocalWindowSize&&this.setLocalWindowSize(e)}catch{}}function ep(e){if(this[C][w]=e.maxConcurrentStreams??this[C][w],!0===this[Y]&&!0===this[P]&&!1===e.enableConnectProtocol){let e=new d("HTTP/2: Server disabled extended CONNECT protocol against RFC-8441");this[N][Q]=e,this[C][S](e);return}this[P]=e.enableConnectProtocol??this[P],this[Y]=!0,this[C][F]()}function eC(e){let t=e[z];if((e.closed||e.destroyed)&&null!=t.ping.interval){clearInterval(t.ping.interval),t.ping.interval=null;return}e.ping((function(e,t){let r=this[C],i=this[N];if(null!=e){let t=new d(`HTTP/2: "PING" errored - type ${e.message}`);i[Q]=t,r[S](t)}else r.emit("ping",t)}).bind(e))}function eI(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[N][Q]=e,this[K]||this[C][S](e)}function ef(e,t,r){if(0===r){if(this[K])return;let r=new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`);this[N][Q]=r,this[C][S](r)}}function eE(e,t){if(this[K])return;this[K]=!0;let r=this[Q]||(e===en?new d(`HTTP/2: "GOAWAY" frame received with code ${e}`):new c(`HTTP/2: "GOAWAY" frame received with code ${e}`,a.getSocketInfo(this[N]))),i=this[C],s=i[B],n=function(e,t){let r=Number.isInteger(t)?t:Number.MAX_SAFE_INTEGER;for(let t=e[y];t<e[B];t++){let i=e[E][t];if(null!=i&&("number"!=typeof i[_]||i[_]>r))return t}return e[B]}(i,t),o=[],A=[];for(let e=n;e<s;e++){let t=i[E][e];null!=t&&(A.push(function(e){let t=e[J];return el(e),t}(t)),function(e){let{body:t}=e;return null==t||a.isBuffer(t)||a.isBlobLike(t)}(t)?o.push(t):a.errorRequest(i,t,r))}for(let e=0;e<A.length;e++)!function(e,t=eo){if(null!=e&&!e.destroyed&&!e.closed)try{e.close(t)}catch{}}(A[e]);if(n!==s){let e=i[E].slice(s);i[E].length=n,i[E].push(...o,...e)}i[x]===this&&(i[N]=null,i[v]=null,i[x]=null),eg(this),this.closed||this.destroyed||this.close(),i[B]=n,i.emit("disconnect",i[m],[i],r),i[F]()}function eB(){let{[C]:e,[z]:t,[N]:r}=this,i=r[Q]||this[Q]||new c("closed",a.getSocketInfo(r));if(e[x]===this&&(e[N]=null,e[v]=null,e[x]=null),eg(this),null!=t.ping.interval&&(clearInterval(t.ping.interval),t.ping.interval=null),e.destroyed){n(0===e[f]);let t=e[E].splice(e[y]);for(let r=0;r<t.length;r++){let s=t[r];null!=s&&a.errorRequest(e,s,i)}}}function ey(){let e=this[Q]||new c("closed",a.getSocketInfo(this)),t=this[x],r=t[C];r[N]!==this&&(t[K]||null!=r[x]&&r[x]!==t)||(r[N]=null,r[v]=null,r[x]===t&&(r[x]=null),t.destroy(e),r[B]=r[y],n(0===r[I]),r.emit("disconnect",r[m],[r],e),r[F]())}function eQ(e){n("ERR_TLS_CERT_ALTNAME_INVALID"!==e.code),this[Q]=e,this[x]?.[K]||this[x]?.[C]?.[S](e)}function eN(){a.destroy(this,new c("other side closed",a.getSocketInfo(this)))}function eb(){this[T]=!0}function eS(){}function ew(e){let t=e[x];e[x]=null,t[V]-=1,0===t[V]&&(ed(t),eu(t))}function eD(){this.off("error",eS);let e=this[j];this[j]=null,ek(e,new d("HTTP/2: stream closed before response headers")),ew(this)}function ex(){let e=this[j];null!=e&&(eP(this),!e.pendingEnd||e.request.aborted||e.request.completed||e.request.onResponseEnd(e.trailers||{}),eO(e),ew(this),this[j]=null)}function eR(e){e.off("response",eT),e.off("error",eF),e.off("end",eU),e.off("timeout",ev),e.off("error",eS)}function eM(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;r[J]===e&&ea(r),eR(e),e.destroyed||e.closed||e.once("error",eS)}function ek(e,t){if(null==e)return;let{request:r}=e;e.responseReceived||r.aborted||r.completed||(eM(e.stream),e.abort(t,!0))}function eF(){let e=this[j];"number"==typeof this.rstCode&&0!==this.rstCode?ek(e,new d(`HTTP/2: "stream error" received - code ${this.rstCode}`)):ek(e,new d("HTTP/2: stream errored before response headers"))}function eU(){ek(this[j],new d("HTTP/2: stream half-closed (remote)"))}function ev(){let e=this[j];ek(e,new d(`HTTP/2: "stream timeout after ${e.headersTimeout}"`))}function eT(e,t){let r=this[j],{request:i}=r;r.responseReceived=!0;let s=e[ei];delete e[ei],i.onRequestUpgrade(s,e,this),i.aborted||i.completed||(eR(this),ea(i),eO(r))}function eL(e,t){let{request:r,headersTimeout:i,session:s}=t;e[G]=!0,e[x]=s,e[j]=t,t.stream=e,eA(r,e,eM),e.once("response",eT),e.on("error",eF),e.once("end",eU),e.on("timeout",ev),e.once("close",eD),eg(s),++s[V],e.setTimeout(i)}function eO(e,t=!1){e.requestFinalized||(e.requestFinalized=!0,function(e,t,r=!1){let i=e[E],s=e[y];if(s<e[B]&&i[s]===t){i[s]=null,e[y]=s+1;return}let n=i.indexOf(t,s);-1!==n&&!(n>=e[B])&&(i.splice(n,1),e[B]--,r&&e[B]<e[y]&&(e[B]=e[y]))}(e.client,e.request,t),e.client[F]())}function eH(e,t,r,i,s,n){try{return r.request(s,n)}catch(n){if(n?.code==="ERR_HTTP2_INVALID_SESSION"||n?.code==="ERR_HTTP2_GOAWAY_SESSION"){let i=new c(n.message,a.getSocketInfo(r[N]));i.cause=n,r[Q]=i;let s=r[C],o=r[N];if(s[x]===r&&(s[N]=null,s[v]=null,s[x]=null),null!=o&&null==o[Q]&&(o[Q]=i),!r.closed&&!r.destroyed)try{r.destroy(i)}catch{}return a.destroy(o,i),e[E].splice(e[B]+1,0,t),null}let s=new d(n.message,{cause:n});return r[Q]=s,r[N][Q]=s,r.destroy(s),a.destroy(r[N],s),i(s),null}}function eP(e){if(null==e)return;let t=e[j];if(null==t)return;let{request:r}=t;(r[J]===e&&ea(r),!e.destroyed&&!e.closed)&&(e.off("error",eS),e.off("continue",ej),e.off("response",eG),e.off("end",ez),e.off("error",eq),e.off("frameError",eV),e.off("aborted",e_),e.off("timeout",eJ),e.off("trailers",eW),e.off("data",eY),e.once("error",eS))}function eY(e){let t=this[j];if(null==t)return;let{request:r}=t;r.aborted||r.completed||!1===r.onResponseData(e)&&this.pause()}function eG(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("response",eG),null==t.body||t.bodySent||this.writableEnded||(this.removeListener("continue",ej),this.end());let i=e[ei];(delete e[ei],r.onResponseStarted(),t.responseReceived=!0,(t.headersTimeout||t.bodyTimeout)&&this.setTimeout(t.bodyTimeout),r.aborted||r.completed)?eP(this):(!1===r.onResponseStart(Number(i),e,this.resume.bind(this),"")&&this.pause(),this.on("data",eY))}function ez(){let e=this[j];if(null==e)return;let{request:t}=e;this.off("end",ez),e.responseReceived?t.aborted||t.completed||(e.pendingEnd=!0,ex.call(this)):e.abort(new d("HTTP/2: stream half-closed (remote)"),!0)}function eq(e){let t=this[j];null!=t&&(this.off("error",eq),t.abort(e))}function eV(e,t){let r=this[j];null!=r&&(this.off("frameError",eV),r.abort(new d(`HTTP/2: "frameError" received - type ${e}, code ${t}`)))}function e_(){this.off("data",eY)}function eJ(){let e=this[j];if(null==e)return;this.off("timeout",eJ);let t=e.responseReceived?new h(`HTTP/2: "stream timeout after ${e.bodyTimeout}"`):new u(`HTTP/2: "headers timeout after ${e.headersTimeout}"`);e.abort(t)}function eW(e){let t=this[j];if(null==t)return;let{request:r}=t;this.off("trailers",eW),this.off("data",eY),r.aborted||r.completed||(t.trailers=e)}function ej(){var e,t,r,i,s,A,l;let c,d=this[j];d.bodySent=!0;let{abort:g,body:u,client:h,contentLength:m,expectsPayload:C,request:f}=d;u&&0!==m?a.isBuffer(u)?eK(g,this,u,h,f,h[N],m,C):a.isBlobLike(u)?"function"==typeof u.stream?eZ(g,this,u.stream(),h,f,h[N],m,C):eX(g,this,u,h,f,h[N],m,C):a.isStream(u)?(e=g,t=h[N],r=C,i=this,s=u,A=h,l=f,n(0!==m||0===A[I],"stream body cannot be pipelined"),c=o(s,i,i=>{i?(a.destroy(c,i),e(i)):(a.removeAllListeners(c),l.onRequestSent(),r||(t[p]=!0),A[F]())}),a.addListener(c,"data",function(e){l.onBodySent(e)})):a.isIterable(u)?eZ(g,this,u,h,f,h[N],m,C):n(!1):eK(g,this,null,h,f,h[N],m,C)}function eK(e,t,r,i,s,o,A,l){try{null!=r&&a.isBuffer(r)&&(n(A===r.byteLength,"buffer body must have content length"),t.cork(),t.write(r),t.uncork(),t.end(),s.onBodySent(r)),l||(o[p]=!0),s.onRequestSent(),i[F]()}catch(t){e(t)}}async function eX(e,t,r,i,s,n,o,a){try{if(null!=o&&o!==r.size)throw new A;let e=Buffer.from(await r.arrayBuffer());t.cork(),t.write(e),t.uncork(),t.end(),s.onBodySent(e),s.onRequestSent(),a||(n[p]=!0),i[F]()}catch(t){e(t)}}async function eZ(e,t,r,i,s,o,a,A){n(0!==a||0===i[I],"iterator body cannot be pipelined");let l=null;function c(){if(l){let e=l;l=null,e()}}let d=()=>new Promise((e,t)=>{n(null===l),o[Q]?t(o[Q]):l=e});t.on("close",c).on("drain",c);try{for await(let e of r){if(o[Q])throw o[Q];let r=t.write(e);s.onBodySent(e),r||await d()}t.end(),s.onRequestSent(),A||(o[p]=!0),i[F]()}catch(t){e(t)}finally{t.off("close",c).off("drain",c)}}e.exports=function(e,t){e[N]=t;let o=e[R],c=e[M],u=s.connect(e[m],{createConnection:()=>t,peerMaxConcurrentStreams:e[w],settings:{enablePush:!1,...null!=o?{initialWindowSize:o}:null}});return e[N]=t,u[V]=0,u[C]=e,u[N]=t,u[z]={idleTimeout:null,refed:!0,ping:{interval:0===e[D]?null:setInterval(eC,e[D],u).unref()}},u[K]=!1,u[P]=!1,u[Y]=!1,c&&a.addListener(u,"connect",em.bind(u,c)),a.addListener(u,"error",eI),a.addListener(u,"frameError",ef),a.addListener(u,"goaway",eE),a.addListener(u,"close",eB),a.addListener(u,"remoteSettings",ep),ed(u),e[x]=u,t[x]=u,a.addListener(t,"error",eQ),a.addListener(t,"end",eN),a.addListener(t,"close",ey),t[T]=!1,t.on("close",eb),{version:"h2",defaultPipelining:1/0,write:t=>(function(e,t){let s=t.headersTimeout??e[O],o=t.bodyTimeout??e[H],c=e[x],{method:u,path:h,host:m,upgrade:p,expectContinue:C,signal:I,protocol:f,headers:E}=t;if(null!=p&&"websocket"!==p)return a.errorRequest(e,t,new g(`Custom upgrade "${p}" not supported over HTTP/2`)),!1;let B=function(e){let t={};for(let r=0;r<e.length;r+=2){let i=e[r+0],s=e[r+1],n=t[i];if("cookie"===i){null!=n?t[i]=Array.isArray(n)?(n.push(s),n):[n,s]:t[i]=s;continue}if("string"==typeof s){t[i]=n?`${n}, ${s}`:s;continue}for(let e=0;e<s.length;e++)t[i]=t[i]?`${t[i]}, ${s[e]}`:s[e]}return t}(E);B[X]=m||e[k],B[Z]=u;let y={abort:null,body:t.body,client:e,contentLength:null,expectsPayload:!1,request:t,headersTimeout:s,bodyTimeout:o,requestFinalized:!1,responseReceived:!1,bodySent:!1,pendingEnd:!1,trailers:null,session:c,stream:null},Q=(r,i=!1)=>{if(!t.aborted&&!t.completed){if(r=r||new l,a.errorRequest(e,t,r),null!=y.stream){el(t);let s=y.stream;s.close(),s.destroyed||a.destroy(s),e[S](r),eO(y,i)}a.destroy(y.body,r)}};y.abort=Q;let w=null;try{t.onRequestStart(Q,null)}catch(r){a.errorRequest(e,t,r)}if(t.aborted)return!1;if(p||"CONNECT"===u)return(ec(c),"websocket"===p)?!1===c[P]?(a.errorRequest(e,t,new d("HTTP/2: Extended CONNECT protocol not supported by server")),ed(c),!1):(B[Z]="CONNECT",B[es]="websocket",B[$]=h,"ws:"===f||"wss:"===f?B[ee]="ws:"===f?"http":"https":B[ee]="http:"===f?"http":"https",null==(w=eH(e,t,c,Q,B,{endStream:!1,signal:I})))?(ed(c),!1):(eL(w,y),!0):null==(w=eH(e,t,c,Q,B,{endStream:!1,signal:I}))?(ed(c),!1):(eL(w,y),!0);B[$]=h,B[ee]="http:"===f?"http":"https";let D="PUT"===u||"POST"===u||"PATCH"===u||"QUERY"===u||"PROPFIND"===u||"PROPPATCH"===u,R=y.body;R&&"function"==typeof R.read&&R.read(0);let M=a.bodyLength(R);if(a.isFormDataLike(R)){let[e,t]=(i??=r(4626).extractBody)(R);B["content-type"]=t,R=e.stream,M=e.length}if(null==M&&(M=t.contentLength),0!==M||D||(M=null),"GET"!==u&&"HEAD"!==u&&"OPTIONS"!==u&&"TRACE"!==u&&"CONNECT"!==u&&M>0&&null!=t.contentLength&&t.contentLength!==M){if(e[b])return a.errorRequest(e,t,new A),!1;process.emitWarning(new A)}if(null!=M&&(n(R||0===M,"no body must not have content length"),B[et]=`${M}`),ec(c),q.sendHeaders.hasSubscribers){let e="";for(let t in B)e+=`${t}: ${B[t]}\r +`;q.sendHeaders.publish({request:t,headers:e,socket:c[N]})}let F=null===R||0===M;return y.body=R,y.contentLength=M,y.expectsPayload=D,C&&(B[er]="100-continue"),null!=(w=eH(e,t,c,Q,B,{endStream:F,signal:I}))&&(w[G]=!0,w[j]=y,y.stream=w,eg(c),++c[V],s&&w.setTimeout(s),w[x]=c,w.on("close",ex),eA(t,w,eP),C&&w.once("continue",ej),w.on("response",eG),w.on("end",ez),w.on("error",eq),w.on("frameError",eV),w.on("aborted",e_),(s||o)&&w.on("timeout",eJ),w.on("trailers",eW),C||ej.call(w),!0)})(e,t),resume(){var t;let r,i;r=(t=e)[N],i=t[x],r?.destroyed===!1&&(0===t[U]||0===t[w]?ed(i):ec(i),0===t[U]&&0===i[V]?eu(i):eg(i))},destroy(e,r){t[T]?queueMicrotask(r):t.destroy(e).on("close",r)},get destroyed(){return t.destroyed},busy(t){if(!1===u[Y]&&e[I]>0||e[I]>=e[w])return!0;if(null!=t){if(!(e[I]>0))return("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y];else if(("websocket"===t.upgrade||"CONNECT"===t.method)&&!1===u[Y])return!0}return!1}}}},5183(e,t,r){let i=r(4589),s=r(7030),n=r(7067),o=r(1210),{ClientStats:a}=r(256),{channels:A}=r(6708),l=r(1037),c=r(9779),{InvalidArgumentError:d,InformationalError:g,ClientDestroyedError:u}=r(8065),h=r(5010),{kUrl:m,kServerName:p,kClient:C,kBusy:I,kConnect:f,kResuming:E,kRunning:B,kPending:y,kSize:Q,kQueue:N,kConnected:b,kConnecting:S,kNeedDrain:w,kKeepAliveDefaultTimeout:D,kHostHeader:x,kPendingIdx:R,kRunningIdx:M,kError:k,kPipelining:F,kKeepAliveTimeoutValue:U,kMaxHeadersSize:v,kKeepAliveMaxTimeout:T,kKeepAliveTimeoutThreshold:L,kHeadersTimeout:O,kBodyTimeout:H,kStrictContentLength:P,kConnector:Y,kMaxRequests:G,kCounter:z,kClose:q,kDestroy:V,kDispatch:_,kLocalAddress:J,kMaxResponseSize:W,kOnError:j,kHTTPContext:K,kMaxConcurrentStreams:X,kHostAuthority:Z,kHTTP2InitialWindowSize:$,kHTTP2ConnectionWindowSize:ee,kResume:et,kPingInterval:er}=r(3025),ei=r(8043),es=r(942),en=Symbol("kClosedResolve"),eo=n&&n.maxHeaderSize&&Number.isInteger(n.maxHeaderSize)&&n.maxHeaderSize>0?()=>n.maxHeaderSize:()=>{throw new d("http module not available or http.maxHeaderSize invalid")},ea=()=>{};function eA(e){return e[K]?.version==="h2"?e[X]:e[F]??e[K]?.defaultPipelining??1}function el(e,t){if(0===e[B]&&"UND_ERR_INFO"!==t.code&&"UND_ERR_SOCKET"!==t.code){i(e[R]===e[M]);let r=e[N].splice(e[M]);for(let i=0;i<r.length;i++){let s=r[i];null!=s&&o.errorRequest(e,s,t)}i(0===e[Q])}}function ec(e){i(!e[S]),i(!e[K]);let{host:t,hostname:r,protocol:n,port:a}=e[m];if("["===r[0]){let e=r.indexOf("]");i(-1!==e);let t=r.substring(1,e);i(s.isIPv6(t)),r=t}e[S]=!0,A.beforeConnect.hasSubscribers&&A.beforeConnect.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y]});try{e[Y]({host:t,hostname:r,protocol:n,port:a,servername:e[p],localAddress:e[J]},(s,l)=>{if(s){ed(e,s,{host:t,hostname:r,protocol:n,port:a}),e[et]();return}if(e.destroyed){o.destroy(l.on("error",ea),new u),e[et]();return}i(l);try{e[K]="h2"===l.alpnProtocol?es(e,l):ei(e,l)}catch(i){l.destroy().on("error",ea),ed(e,i,{host:t,hostname:r,protocol:n,port:a}),e[et]();return}e[S]=!1,l[z]=0,l[G]=e[G],l[C]=e,l[k]=null,A.connected.hasSubscribers&&A.connected.publish({connectParams:{host:t,hostname:r,protocol:n,port:a,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],socket:l}),e.emit("connect",e[m],[e]),e[et]()})}catch(i){ed(e,i,{host:t,hostname:r,protocol:n,port:a}),e[et]()}}function ed(e,t,{host:r,hostname:i,protocol:s,port:n}){if(!e.destroyed){if(e[S]=!1,A.connectError.hasSubscribers&&A.connectError.publish({connectParams:{host:r,hostname:i,protocol:s,port:n,version:e[K]?.version,servername:e[p],localAddress:e[J]},connector:e[Y],error:t}),"ERR_TLS_CERT_ALTNAME_INVALID"===t.code){let r=e[N].splice(e[M],e[B]);e[R]=e[M];for(let i=0;i<r.length;i++)o.errorRequest(e,r[i],t);for(;e[y]>0&&e[N][e[R]].servername===e[p];){let r=e[N].splice(e[R],1)[0];o.errorRequest(e,r,t)}}else el(e,t);e.emit("connectionError",e[m],[e],t)}}function eg(e){e[w]=0,e.emit("drain",e[m],[e])}function eu(e,t){2!==e[E]&&(e[E]=2,function(e,t){for(;;){if(e.destroyed)return void i(0===e[y]);if(e[en]&&!e[Q]){e[en](),e[en]=null;return}if(e[K]&&e[K].resume(),e[I])e[w]=2;else if(2===e[w]){t?(e[w]=1,queueMicrotask(()=>eg(e))):eg(e);continue}if(0===e[y]||e[B]>=(eA(e)||1))return;let r=e[N][e[R]];if(null===r)return;if("https:"===e[m].protocol&&e[p]!==r.servername){if(e[B]>0)return;e[p]=r.servername,e[K]?.destroy(new g("servername changed"),()=>{e[K]=null,eu(e)})}if(e[S])return;if(!e[K])return void ec(e);if(e[K].destroyed||e[K].busy(r))return;!r.aborted&&e[K].write(r)?e[R]++:e[N].splice(e[R],1)}}(e,t),e[E]=0,e[M]>256&&(e[N].splice(0,e[M]),e[R]-=e[M],e[M]=0))}e.exports=class extends c{constructor(e,{maxHeaderSize:t,headersTimeout:r,socketTimeout:i,requestTimeout:n,connectTimeout:a,bodyTimeout:A,idleTimeout:l,keepAlive:c,keepAliveTimeout:g,maxKeepAliveTimeout:u,keepAliveMaxTimeout:C,keepAliveTimeoutThreshold:I,socketPath:f,pipelining:B,tls:y,strictContentLength:Q,maxCachedSessions:b,connect:S,maxRequestsPerClient:k,localAddress:z,maxResponseSize:q,autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_,maxConcurrentStreams:ei,allowH2:es,useH2c:ea,initialWindowSize:eA,connectionWindowSize:ec,pingInterval:ed,webSocket:eg}={}){if(void 0!==c)throw new d("unsupported keepAlive, use pipelining=0 instead");if(void 0!==i)throw new d("unsupported socketTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==n)throw new d("unsupported requestTimeout, use headersTimeout & bodyTimeout instead");if(void 0!==l)throw new d("unsupported idleTimeout, use keepAliveTimeout instead");if(void 0!==u)throw new d("unsupported maxKeepAliveTimeout, use keepAliveMaxTimeout instead");if(null!=t){if(!Number.isInteger(t)||t<1)throw new d("invalid maxHeaderSize")}else t=eo();if(null!=f&&"string"!=typeof f)throw new d("invalid socketPath");if(null!=a&&(!Number.isFinite(a)||a<0))throw new d("invalid connectTimeout");if(null!=g&&(!Number.isFinite(g)||g<=0))throw new d("invalid keepAliveTimeout");if(null!=C&&(!Number.isFinite(C)||C<=0))throw new d("invalid keepAliveMaxTimeout");if(null!=I&&!Number.isFinite(I))throw new d("invalid keepAliveTimeoutThreshold");if(null!=r&&(!Number.isInteger(r)||r<0))throw new d("headersTimeout must be a positive integer or zero");if(null!=A&&(!Number.isInteger(A)||A<0))throw new d("bodyTimeout must be a positive integer or zero");if(null!=S&&"function"!=typeof S&&"object"!=typeof S)throw new d("connect must be a function or an object");if(null!=k&&(!Number.isInteger(k)||k<0))throw new d("maxRequestsPerClient must be a positive number");if(null!=z&&("string"!=typeof z||0===s.isIP(z)))throw new d("localAddress must be valid string IP address");if(null!=q&&(!Number.isInteger(q)||q<-1))throw new d("maxResponseSize must be a positive number");if(null!=_&&(!Number.isInteger(_)||_<-1))throw new d("autoSelectFamilyAttemptTimeout must be a positive number");if(null!=es&&"boolean"!=typeof es)throw new d("allowH2 must be a valid boolean value");if(null!=ei&&("number"!=typeof ei||ei<1))throw new d("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=ea&&"boolean"!=typeof ea)throw new d("useH2c must be a valid boolean value");if(null!=eA&&(!Number.isInteger(eA)||eA<1))throw new d("initialWindowSize must be a positive integer, greater than 0");if(null!=ec&&(!Number.isInteger(ec)||ec<1))throw new d("connectionWindowSize must be a positive integer, greater than 0");if(null!=ed&&("number"!=typeof ed||!Number.isInteger(ed)||ed<0))throw new d("pingInterval must be a positive integer, greater or equal to 0");if(super({webSocket:eg}),"function"!=typeof S)S=h({...y,maxCachedSessions:b,allowH2:es,useH2c:ea,socketPath:f,timeout:a,..."boolean"==typeof V?{autoSelectFamily:V,autoSelectFamilyAttemptTimeout:_}:void 0,...S});else{let e=S;S=(t,r)=>e({...t,...null!=f?{socketPath:f}:null,...null!=es?{allowH2:es}:null},r)}this[m]=o.parseOrigin(e),this[Z]=`${this[m].hostname}${this[m].port?`:${this[m].port}`:""}`,this[Y]=S,this[F]=null!=B?B:1,this[v]=t,this[D]=null==g?4e3:g,this[T]=null==C?6e5:C,this[L]=null==I?2e3:I,this[U]=this[D],this[p]=null,this[J]=null!=z?z:null,this[E]=0,this[w]=0,this[x]=`host: ${this[Z]}\r +`,this[H]=null!=A?A:3e5,this[O]=null!=r?r:3e5,this[P]=null==Q||Q,this[G]=k,this[en]=null,this[W]=q>-1?q:-1,this[K]=null,this[X]=null!=ei?ei:100,this[$]=null!=eA?eA:262144,this[ee]=null!=ec?ec:524288,this[er]=null!=ed?ed:6e4,this[N]=[],this[M]=0,this[R]=0,this[et]=e=>eu(this,e),this[j]=e=>el(this,e)}get pipelining(){return this[F]}set pipelining(e){this[F]=e,this[et](!0)}get stats(){return new a(this)}get[y](){return this[N].length-this[R]}get[B](){return this[R]-this[M]}get[Q](){return this[N].length-this[M]}get[b](){return!!this[K]&&!this[S]&&!this[K].destroyed}get[I](){let e=this[K]?.version==="h2";return!!(this[K]?.busy(null)||this[Q]>=(eA(this)||1)||this[y]>0&&!e)}[f](e){ec(this),this.once("connect",e)}[_](e,t){let r=new l(this[m].origin,e,t);return this[N].push(r),this[E]||(null==o.bodyLength(r.body)&&o.isIterable(r.body)?(this[E]=1,queueMicrotask(()=>eu(this))):this[et](!0)),this[E]&&2!==this[w]&&this[I]&&(this[w]=2),this[w]<2}[q](){return new Promise(e=>{this[Q]?this[en]=e:e(null)})}[V](e){return new Promise(t=>{let r=this[N].splice(this[R]);for(let t=0;t<r.length;t++){let i=r[t];null!=i&&o.errorRequest(this,i,e)}let i=()=>{this[en]&&(this[en](),this[en]=null),t(null)};this[K]?(this[K].destroy(e,i),this[K]=null):queueMicrotask(i),this[et]()})}}},9779(e,t,r){let i=r(6873),{ClientDestroyedError:s,ClientClosedError:n,InvalidArgumentError:o}=r(8065),{kDestroy:a,kClose:A,kClosed:l,kDestroyed:c,kDispatch:d}=r(3025),g=Symbol("onDestroyed"),u=Symbol("onClosed"),h=Symbol("webSocketOptions");e.exports=class extends i{[c]=!1;[g]=null;[l]=!1;[u]=null;constructor(e){super(),this[h]=e?.webSocket??{}}get webSocketOptions(){return{maxFragments:this[h].maxFragments??131072,maxPayloadSize:this[h].maxPayloadSize??0x8000000}}get destroyed(){return this[c]}get closed(){return this[l]}close(e){if(void 0===e)return new Promise((e,t)=>{this.close((r,i)=>r?t(r):e(i))});if("function"!=typeof e)throw new o("invalid callback");if(this[c]){let t=new s;queueMicrotask(()=>e(t,null));return}if(this[l])return void(this[u]?this[u].push(e):queueMicrotask(()=>e(null,null)));this[l]=!0,this[u]??=[],this[u].push(e);let t=()=>{let e=this[u];this[u]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[A]().then(()=>this.destroy()).then(()=>queueMicrotask(t))}destroy(e,t){if("function"==typeof e&&(t=e,e=null),void 0===t)return new Promise((t,r)=>{this.destroy(e,(e,i)=>e?r(e):t(i))});if("function"!=typeof t)throw new o("invalid callback");if(this[c])return void(this[g]?this[g].push(t):queueMicrotask(()=>t(null,null)));e||(e=new s),this[c]=!0,this[g]??=[],this[g].push(t);let r=()=>{let e=this[g];this[g]=null;for(let t=0;t<e.length;t++)e[t](null,null)};this[a](e).then(()=>queueMicrotask(r))}dispatch(e,t){if(!t||"object"!=typeof t)throw new o("handler must be an object");try{if(!e||"object"!=typeof e)throw new o("opts must be an object.");if(e.dispatcher)throw new o("opts.dispatcher is not supported by instance methods. Pass opts.dispatcher to the top-level undici functions or call the dispatcher instance method directly.");if(this[c]||this[g])throw new s;if(this[l])throw new n;return this[d](e,t)}catch(e){if("function"!=typeof t.onResponseError)throw e;return t.onResponseError(null,e),!1}}}},6873(e,t,r){let i=r(8474);e.exports=class extends i{dispatch(){throw Error("not implemented")}close(){throw Error("not implemented")}destroy(){throw Error("not implemented")}compose(...e){let t=Array.isArray(e[0])?e[0]:e,r=this.dispatch.bind(this);for(let e of t)if(null!=e){if("function"!=typeof e)throw TypeError(`invalid interceptor, expected function received ${typeof e}`);if(null==(r=e(r))||"function"!=typeof r||2!==r.length)throw TypeError("invalid interceptor")}return new Proxy(this,{get:(e,t)=>"dispatch"===t?r:e[t]})}}},6400(e,t,r){let i=r(6873),{InvalidArgumentError:s}=r(8065),{toRawHeaders:n}=r(1210);class o{#y;constructor(e){this.#y=e}onRequestStart(e,t){this.#y.onConnect?.(t=>e.abort(t),t)}onRequestUpgrade(e,t,r,i){let s=e?.rawHeaders??n(r??{});this.#y.onUpgrade?.(t,s,i)}onResponseStart(e,t,r,i){let s=e?.rawHeaders??n(r??{});this.#y.onHeaders?.(t,s,()=>e.resume(),i)===!1&&e.pause()}onResponseData(e,t){this.#y.onData?.(t)===!1&&e.pause()}onResponseEnd(e,t){let r=e?.rawTrailers??n(t??{});this.#y.onComplete?.(r)}onResponseError(e,t){if(!this.#y.onError)throw t;this.#y.onError(t)}onBodySent(e){this.#y.onBodySent?.(e)}onRequestSent(){this.#y.onRequestSent?.()}onResponseStarted(){this.#y.onResponseStarted?.()}}e.exports=class e extends i{#Q;constructor(e){if(super(),!e||"function"!=typeof e.dispatch)throw new s("Argument dispatcher must implement dispatch");this.#Q=e}static wrapHandler(e){if(!e||"object"!=typeof e)throw new s("handler must be an object");return"function"==typeof e.onRequestStart?e:new o(e)}dispatch(t,r){return!1!==t.allowH2&&(t={...t,allowH2:!1}),this.#Q.dispatch(t,e.wrapHandler(r))}close(...e){return this.#Q.close(...e)}destroy(...e){return this.#Q.destroy(...e)}}},9003(e,t,r){let i=r(9779),{kClose:s,kDestroy:n,kClosed:o,kDestroyed:a,kDispatch:A,kNoProxyAgent:l,kHttpProxyAgent:c,kHttpsProxyAgent:d}=r(3025),g=r(3614),u=r(5891),h={"http:":80,"https:":443};e.exports=class extends i{#N=null;#b=null;#S=null;constructor(e={}){super(),this.#S=e;let{httpProxy:t,httpsProxy:r,noProxy:i,...s}=e;this[l]=new u(s);let n=t??process.env.http_proxy??process.env.HTTP_PROXY;n?this[c]=new g({...s,uri:n}):this[c]=this[l];let o=r??process.env.https_proxy??process.env.HTTPS_PROXY;o?this[d]=new g({...s,uri:o}):this[d]=this[c],this.#w()}[A](e,t){let r=new URL(e.origin);return this.#D(r).dispatch(e,t)}[s](){return Promise.all([this[l].close(),!this[c][o]&&this[c].close(),!this[d][o]&&this[d].close()])}[n](e){return Promise.all([this[l].destroy(e),!this[c][a]&&this[c].destroy(e),!this[d][a]&&this[d].destroy(e)])}#D(e){let{protocol:t,host:r,port:i}=e;return(r=r.replace(/:\d*$/,"").toLowerCase(),i=Number.parseInt(i,10)||h[t]||0,this.#x(r,i))?"https:"===t?this[d]:this[c]:this[l]}#x(e,t){if(this.#R&&this.#w(),0===this.#b.length)return!0;if("*"===this.#N)return!1;for(let r=0;r<this.#b.length;r++){let i=this.#b[r];if((!i.port||i.port===t)&&(e===i.hostname||e.slice(-(i.hostname.length+1))===`.${i.hostname}`))return!1}return!0}#w(){let e=this.#S.noProxy??this.#M,t=e.split(/[,\s]/),r=[];for(let e=0;e<t.length;e++){let i=t[e];if(!i)continue;let s=i.match(/^(.+):(\d+)$/);r.push({hostname:(s?s[1]:i).replace(/^\*?\./,"").toLowerCase(),port:s?Number.parseInt(s[2],10):0})}this.#N=e,this.#b=r}get #R(){return void 0===this.#S.noProxy&&this.#N!==this.#M}get #M(){return process.env.no_proxy??process.env.NO_PROXY??""}}},9006(e){class t{bottom=0;top=0;list=Array(2048).fill(void 0);next=null;isEmpty(){return this.top===this.bottom}isFull(){return(this.top+1&2047)===this.bottom}push(e){this.list[this.top]=e,this.top=this.top+1&2047}shift(){let e=this.list[this.bottom];return void 0===e?null:(this.list[this.bottom]=void 0,this.bottom=this.bottom+1&2047,e)}}e.exports=class{constructor(){this.head=this.tail=new t}isEmpty(){return this.head.isEmpty()}push(e){this.head.isFull()&&(this.head=this.head.next=new t),this.head.push(e)}shift(){let e=this.tail,t=e.shift();return e.isEmpty()&&null!==e.next&&(this.tail=e.next,e.next=null),t}}},473(e,t,r){let{InvalidArgumentError:i}=r(8065),s=r(5183);e.exports=class extends s{constructor(e,t){if("string"==typeof e&&(e=new URL(e)),"http:"!==e.protocol)throw new i("h2c-client: Only h2c protocol is supported");let{maxConcurrentStreams:r,pipelining:s,...n}=t??{},o=r??100,a=100;if(null!=r&&(!Number.isInteger(r)||r<1))throw new i("maxConcurrentStreams must be a positive integer, greater than 0");if(null!=s&&Number.isInteger(s)&&s>0&&(a=s),a>o)throw new i("h2c-client: pipelining cannot be greater than maxConcurrentStreams");super(e,{...n,maxConcurrentStreams:o,pipelining:a,allowH2:!0,useH2c:!0})}}},5966(e,t,r){let{PoolStats:i}=r(256),s=r(9779),n=r(9006),{kConnected:o,kSize:a,kRunning:A,kPending:l,kQueued:c,kBusy:d,kFree:g,kUrl:u,kClose:h,kDestroy:m,kDispatch:p}=r(3025),C=Symbol("clients"),I=Symbol("needDrain"),f=Symbol("queue"),E=Symbol("closed resolve"),B=Symbol("onDrain"),y=Symbol("onConnect"),Q=Symbol("onDisconnect"),N=Symbol("onConnectionError"),b=Symbol("get dispatcher"),S=Symbol("has dispatcher"),w=Symbol("add client"),D=Symbol("remove client");class x extends s{[f]=new n;[c]=0;[C]=[];[I]=!1;[B](e,t,r){let i=this[f],s=!1;for(;!s;){let t=i.shift();if(!t)break;this[c]--,s=!e.dispatch(t.opts,t.handler)}if(e[I]=s,!s&&this[I]&&(this[I]=!1,this.emit("drain",t,[this,...r])),this[E]&&i.isEmpty()){let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e).then(this[E])}}[y]=(e,t)=>{this.emit("connect",e,[this,...t])};[Q]=(e,t,r)=>{this.emit("disconnect",e,[this,...t],r)};[N]=(e,t,r)=>{this.emit("connectionError",e,[this,...t],r)};get[d](){return this[I]}get[o](){let e=0;for(let{[o]:t}of this[C])e+=t;return e}get[g](){let e=0;for(let{[o]:t,[I]:r}of this[C])e+=t&&!r;return e}get[l](){let e=this[c];for(let{[l]:t}of this[C])e+=t;return e}get[A](){let e=0;for(let{[A]:t}of this[C])e+=t;return e}get[a](){let e=this[c];for(let{[a]:t}of this[C])e+=t;return e}get stats(){return new i(this)}[h](){if(!this[f].isEmpty())return new Promise(e=>{this[E]=e});{let e=[];for(let t=0;t<this[C].length;t++){let r=this[C][t];r.destroyed||e.push(r.close())}return Promise.all(e)}}[m](e){for(;;){let t=this[f].shift();if(!t)break;t.handler.onResponseError(null,e)}let t=Array(this[C].length);for(let r=0;r<this[C].length;r++)t[r]=this[C][r].destroy(e);return Promise.all(t)}[p](e,t){let r=this[b]();return r?r.dispatch(e,t)||(r[I]=!0,this[I]=!this[S]()):(this[I]=!0,this[f].push({opts:e,handler:t}),this[c]++),!this[I]}[S](){for(let e=0;e<this[C].length;e++){let t=this[C][e];if(!t[I]&&!0!==t.closed&&!0!==t.destroyed)return!0}return!1}[w](e){return e.on("drain",this[B].bind(this,e)).on("connect",this[y]).on("disconnect",this[Q]).on("connectionError",this[N]),this[C].push(e),this[I]&&queueMicrotask(()=>{this[I]&&this[B](e,e[u],[e,this])}),this}[D](e){let t=this[C].indexOf(e);-1!==t&&this[C].splice(t,1),e.close(()=>{}),this[I]=!this[C].some(e=>!e[I]&&!0!==e.closed&&!0!==e.destroyed)}}e.exports={PoolBase:x,kClients:C,kNeedDrain:I,kAddClient:w,kRemoveClient:D,kGetDispatcher:b,kHasDispatcher:S}},6334(e,t,r){let{PoolBase:i,kClients:s,kNeedDrain:n,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory");function I(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=I,connect:i,connectTimeout:n,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:f,useH2c:E,clientTtl:B,...y}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:f,useH2c:E,socketPath:A,timeout:n,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(y),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(y),connect:i,allowH2:f,useH2c:E,clientTtl:B,socketPath:A},this[C]=r,this.on("connect",(e,t)=>{if(null!=B&&B>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[s].indexOf(e);-1!==t&&this[s].splice(t,1)}})}[a](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[n])return r}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t--;else if(!r[n])return!0}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},3614(e,t,r){let{kProxy:i,kClose:s,kDestroy:n,kDispatch:o}=r(3025),a=r(5891),A=r(6334),l=r(9779),{InvalidArgumentError:c,RequestAbortedError:d,SecureProxyConnectionError:g,ProxyConnectionError:u}=r(8065),h=r(5010),m=r(5183),{channels:p}=r(6708),C=r(9741),I=Symbol("proxy agent"),f=Symbol("proxy client"),E=Symbol("proxy headers"),B=Symbol("request tls settings"),y=Symbol("proxy tls settings"),Q=Symbol("connect endpoint function"),N=Symbol("connect endpoint function (http/1.1 only)"),b=Symbol("tunnel proxy"),S="proxy-authorization";function w(e,t){return new A(e,t)}let D=()=>{};function x(e,t){return 1===t.connections?new m(e,t):new A(e,t)}class R extends l{#k;#F;constructor(e,{headers:t={},connect:r,factory:i,proxyServername:s}){if(!e)throw new c("Proxy URL is mandatory");super(),this[E]=t,this.#F=s,i?this.#k=i(e,{connect:r}):this.#k=new m(e,{connect:r})}[o](e,t){let r=t.onResponseStart;t.onResponseStart=function(e,i,s,n){if(407===i){"function"==typeof t.onResponseError&&t.onResponseError(e,new c("Proxy Authentication Required (407)"));return}r&&r.call(this,e,i,s,n)};let{origin:i,path:s="/",headers:n={}}=e;if(e.path=i+s,!("host"in n)&&!("Host"in n)){let{host:e}=new URL(i);n.host=e}return e.headers={...this[E],...n},null!=this.#F&&(e.servername=this.#F),this.#k[o](e,t)}[s](){return this.#k.close()}[n](e){return this.#k.destroy(e)}}function M(e){return e.length===S.length&&e.toLowerCase()===S}function k(){throw new c("Proxy-Authorization should be sent in ProxyAgent constructor")}e.exports=class extends l{constructor(e){if(!e||"object"==typeof e&&!(e instanceof URL)&&!e.uri)throw new c("Proxy uri is mandatory");let{clientFactory:t=w}=e;if("function"!=typeof t)throw new c("Proxy opts.clientFactory must be a function.");let{proxyTunnel:r,connectTimeout:s}=e;super();let n=this.#U(e),{href:o,origin:A,port:l,protocol:m,username:S,password:M,hostname:k}=n;if(this[i]={uri:o,protocol:m},this[B]=e.requestTls,this[y]=e.proxyTls,this[E]=e.headers||{},this[b]=r,e.auth&&e.token)throw new c("opts.auth cannot be used in combination with opts.token");e.auth?this[E]["proxy-authorization"]=`Basic ${e.auth}`:e.token?this[E]["proxy-authorization"]=e.token:S&&M?this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:${decodeURIComponent(M)}`).toString("base64")}`:S&&(this[E]["proxy-authorization"]=`Basic ${Buffer.from(`${decodeURIComponent(S)}:`).toString("base64")}`);let F=h({timeout:s,...e.proxyTls}),U=h({timeout:s,...e.proxyTls,allowH2:!1});this[Q]=h({timeout:s,...e.requestTls}),this[N]=h({timeout:s,...e.requestTls,allowH2:!1});let v=e.factory||x,T=(t,r)=>{let{protocol:s}=new URL(t);if("socks5:"===this[i].protocol||"socks:"===this[i].protocol)return new C(this[i].uri,{headers:this[E],connect:F,factory:v,username:e.username||S,password:e.password||M,proxyTls:e.proxyTls,requestTls:e.requestTls});if(!0!==this[b]&&"http:"===s){let e="https:"===this[i].protocol?(e,t)=>U(e,(e,r)=>{e&&"ERR_TLS_CERT_ALTNAME_INVALID"===e.code?t(new g(e)):t(e,r)}):U;return new R(this[i].uri,{headers:this[E],connect:e,factory:v,proxyServername:"https:"===this[i].protocol?this[y]?.servername||k:void 0})}return v(t,r)};"socks5:"===m||"socks:"===m?this[f]=null:this[f]=t(n,{connect:F}),this[I]=new a({...e,factory:T,connect:async(e,t)=>{if(!this[f])return void t(new c("Cannot establish tunnel connection without a proxy client"));let r=e.host;e.port||(r+=`:${"https:"===e.protocol?443:80}`);try{let i,s={origin:A,port:l,path:r,signal:e.signal,headers:{...this[E],host:e.host,...null==e.connections||e.connections>0?{"proxy-connection":"keep-alive"}:{}},servername:this[y]?.servername||k},{socket:n,statusCode:o}=await this[f].connect(s);if(200!==o){n.on("error",D).destroy(),t(new d(`Proxy response (${o}) !== 200 when HTTP Tunneling`));return}if(p.proxyConnected.hasSubscribers&&p.proxyConnected.publish({socket:n,connectParams:s}),"https:"!==e.protocol)return void t(null,n);i=this[B]?this[B].servername:e.servername,(!1===e.allowH2?this[N]:this[Q])({...e,servername:i,httpSocket:n},t)}catch(e){t("ERR_TLS_CERT_ALTNAME_INVALID"===e.code?new g(e):"UND_ERR_SOCKET"===e.code?new u(e):e)}}})}dispatch(e,t){let r=function(e){if(Array.isArray(e)){let t={};for(let r=0;r<e.length;r+=2)M(e[r])&&k(),t[e[r]]=e[r+1];return t}return e}(e.headers);if(function(e){for(let t in e)M(t)&&k()}(r),r&&!("host"in r)&&!("Host"in r)){let{host:t}=new URL(e.origin);r.host=t}return this[I].dispatch({...e,headers:r},t)}#U(e){return"string"==typeof e?new URL(e):e instanceof URL?e:new URL(e.uri)}[s](){let e=[this[I].close()];return this[f]&&e.push(this[f].close()),Promise.all(e)}[n](){let e=[this[I].destroy()];return this[f]&&e.push(this[f].destroy()),Promise.all(e)}}},8392(e,t,r){let i=r(6873),s=r(4166);e.exports=class extends i{#v=null;#T=null;constructor(e,t={}){super(t),this.#v=e,this.#T=t}dispatch(e,t){let r=new s({...e,retryOptions:this.#T},{dispatch:this.#v.dispatch.bind(this.#v),handler:t});return this.#v.dispatch(e,r)}close(){return this.#v.close()}destroy(){return this.#v.destroy()}}},1326(e,t,r){let{PoolBase:i,kClients:s,kNeedDrain:n,kAddClient:o,kGetDispatcher:a,kHasDispatcher:A,kRemoveClient:l}=r(5966),c=r(5183),{InvalidArgumentError:d}=r(8065),g=r(1210),{kUrl:u}=r(3025),h=r(5010),m=Symbol("options"),p=Symbol("connections"),C=Symbol("factory"),I=Symbol("index");function f(e,t){return new c(e,t)}e.exports=class extends i{constructor(e,{connections:t,factory:r=f,connect:i,connectTimeout:n,tls:o,maxCachedSessions:a,socketPath:A,autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c,allowH2:E,clientTtl:B,...y}={}){if(null!=t&&(!Number.isFinite(t)||t<0))throw new d("invalid connections");if("function"!=typeof r)throw new d("factory must be a function.");if(null!=i&&"function"!=typeof i&&"object"!=typeof i)throw new d("connect must be a function or an object");"function"!=typeof i&&(i=h({...o,maxCachedSessions:a,allowH2:E,socketPath:A,timeout:n,..."boolean"==typeof l?{autoSelectFamily:l,autoSelectFamilyAttemptTimeout:c}:void 0,...i})),super(),this[p]=t||null,this[u]=g.parseOrigin(e),this[m]={...g.deepClone(y),connect:i,allowH2:E,clientTtl:B,socketPath:A},this[C]=r,this[I]=-1,this.on("connect",(e,t)=>{if(null!=B&&B>0)for(let e of t)Object.assign(e,{ttl:Date.now()})}),this.on("connectionError",(e,t,r)=>{for(let e of t){let t=this[s].indexOf(e);-1!==t&&this[s].splice(t,1)}})}[a](){let e=this[m].clientTtl;if(0===this[s].length){let e=this[C](this[u],this[m]);return this[o](e),e}let t=0;for(;t<this[s].length;){this[I]=(this[I]+1)%this[s].length;let r=this[s][this[I]];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e){this[l](r),this[I]--;continue}if(!r[n])return r;t++}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),e}}[A](){let e=this[m].clientTtl;for(let t=0;t<this[s].length;t++){let r=this[s][t];if(null!=e&&e>0&&r.ttl&&Date.now()-r.ttl>e)this[l](r),t<=this[I]&&this[I]--,t--;else if(!r[n])return!0}if(!this[p]||this[s].length<this[p]){let e=this[C](this[u],this[m]);return this[o](e),!0}return!1}}},9741(e,t,r){let i,{URL:s}=r(3136),n=r(9779),{InvalidArgumentError:o}=r(8065),{Socks5Client:a,STATES:A}=r(9716),{kDispatch:l,kClose:c,kDestroy:d}=r(3025),g=r(6334),u=r(5010),{debuglog:h}=r(7975),m=h("undici:socks5-proxy"),p=Symbol("proxy url"),C=Symbol("proxy headers"),I=Symbol("proxy auth"),f=Symbol("proxy protocol"),E=Symbol("pools"),B=Symbol("connector"),y=Symbol("request tls settings"),Q=!1;e.exports=class extends n{constructor(e,t={}){if(super(),Q||(process.emitWarning("SOCKS5 proxy support is experimental and subject to change","ExperimentalWarning"),Q=!0),!e)throw new o("Proxy URL is mandatory");let r="string"==typeof e?new s(e):e;if("socks5:"!==r.protocol&&"socks:"!==r.protocol)throw new o("Proxy URL must use socks5:// or socks:// protocol");this[p]=r,this[C]=t.headers||{},this[f]=t.proxyTls?"https:":"http:",this[y]=t.requestTls,this[I]={username:t.username||(r.username?decodeURIComponent(r.username):null),password:t.password||(r.password?decodeURIComponent(r.password):null)},this[B]=t.connect||u({...t.proxyTls,servername:t.proxyTls?.servername||r.hostname}),this[E]=new Map}async createSocks5Connection(e,t){let r=this[p].hostname,i=parseInt(this[p].port)||1080;m("creating SOCKS5 connection to",r,i);let s=Promise.withResolvers();this[B]({hostname:r,host:r,port:i,protocol:this[f]},(e,t)=>{e?s.reject(e):s.resolve(t)});let n=await s.promise,o=new a(n,this[I]);o.on("error",e=>{m("SOCKS5 error:",e),n.destroy()}),await o.handshake();let l=Promise.withResolvers(),c=setTimeout(()=>{l.reject(Error("SOCKS5 authentication timeout"))},5e3),d=()=>{clearTimeout(c),o.removeListener("error",g),l.resolve()},g=e=>{clearTimeout(c),o.removeListener("authenticated",d),l.reject(e)};o.state===A.AUTHENTICATED?(clearTimeout(c),l.resolve()):(o.once("authenticated",d),o.once("error",g)),await l.promise,await o.connect(e,t);let u=Promise.withResolvers(),h=setTimeout(()=>{u.reject(Error("SOCKS5 connection timeout"))},5e3),C=r=>{m("SOCKS5 tunnel established to",e,t,"via",r),clearTimeout(h),o.removeListener("error",E),u.resolve()},E=e=>{clearTimeout(h),o.removeListener("connected",C),u.reject(e)};return o.once("connected",C),o.once("error",E),await u.promise,n}[l](e,t){let{origin:n}=e;m("dispatching request to",n,"via SOCKS5");try{let o=String(n),a=this[E].get(o);return(!a||a.destroyed||a.closed)&&(a=new g(n,{pipelining:e.pipelining,connections:e.connections,connect:async(e,t)=>{try{let e=new s(n),o=e.hostname,a=parseInt(e.port)||("https:"===e.protocol?443:80);m("establishing SOCKS5 connection to",o,a);let A=await this.createSocks5Connection(o,a),l=A;if("https:"===e.protocol){i||(i=r(1692)),m("upgrading to TLS"),l=i.connect({...this[y],socket:A,servername:this[y]?.servername||o});let e=Promise.withResolvers();l.once("secureConnect",e.resolve),l.once("error",e.reject),await e.promise}t(null,l)}catch(e){m("SOCKS5 connection error:",e),t(e)}}}),this[E].set(o,a)),a[l](e,t)}catch(e){if(m("dispatch error:",e),"function"==typeof t.onResponseError)return t.onResponseError(null,e),!1;if("function"==typeof t.onError)return t.onError(e),!1;throw e}}async [c](){let e=[];for(let t of this[E].values())e.push(t.close());this[E].clear(),await Promise.all(e)}async [d](e){let t=[];for(let r of this[E].values())t.push(r.destroy(e));this[E].clear(),await Promise.all(t)}}},2718(e){let t=new TextDecoder;e.exports={utf8DecodeBytes:function(e){return 0===e.length?"":(239===e[0]&&187===e[1]&&191===e[2]&&(e=e.subarray(3)),t.decode(e))}}},8023(e,t,r){let i,s=Symbol.for("undici.globalDispatcher.2"),n=Symbol.for("undici.globalDispatcher.1"),{InvalidArgumentError:o}=r(8065),a=r(5891),A=r(6400);function l(e){if(!e||"function"!=typeof e.dispatch)throw new o("Argument agent must implement Agent");try{Object.defineProperty(globalThis,s,{value:e,writable:!0,enumerable:!1,configurable:!1})}catch(t){if(t instanceof TypeError){i=e;return}throw t}try{let t=e instanceof A?e:new A(e);Object.defineProperty(globalThis,n,{value:t,writable:!0,enumerable:!1,configurable:!1})}catch(e){if(!(e instanceof TypeError))throw e}}function c(){return globalThis[s]??i}void 0===c()&&l(new a),e.exports={setGlobalDispatcher:l,getGlobalDispatcher:c,installedExports:["fetch","Headers","Response","Request","FormData","WebSocket","CloseEvent","ErrorEvent","MessageEvent","EventSource"]}},4502(e,t,r){let i=r(1210),{parseCacheControlHeader:s,hasInvalidCacheControlDirective:n,parseVaryHeader:o,hasVaryStar:a,isInvalidOrWildcardVaryHeader:A,isEtagUsable:l}=r(8621),{parseHttpDate:c}=r(5859);function d(){}let g=[200,203,204,206,300,301,308,404,405,410,414,501],u=[206];function h(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function m(e,t,r){C(e,{...t,path:r});for(let s=0;s<i.safeHTTPMethods.length;s++){let n=i.safeHTTPMethods[s];n!==t.method&&C(e,{...t,method:n,path:r})}}function p(e,t,r){if(void 0===r)return;let i=Array.isArray(r)?r:[r];for(let r=0;r<i.length;r++){let s=function(e,t){let r,i,s;if("string"==typeof t){try{r=new URL(e.origin),i=new URL(e.path,r),s=new URL(t,i)}catch{return}if(s.origin===r.origin)return s.pathname+s.search}}(t,i[r]);void 0!==s&&m(e,t,s)}}function C(e,t){try{e.delete(t)?.catch?.(d)}catch{}}function I(e,t,r){304===e&&C(t,r)}e.exports=class{#L;#O;#H;#P;#y;#Y;constructor({store:e,type:t,cacheByDefault:r},i,s){this.#P=e,this.#O=t,this.#H=r,this.#L=i,this.#y=s}onRequestStart(e,t){this.#Y?.destroy(),this.#Y=void 0,this.#y.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#y.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,d){var f,E,B,y,Q,N,b,S,w,D;let x,R=()=>this.#y.onResponseStart?.(e,t,r,d),M=this;if(!h(i.safeHTTPMethods,this.#L.method)&&t>=200&&t<=399){return f=this.#P,E=this.#L,m(f,E,E.path),p(f,E,r.location),p(f,E,r["content-location"]),R()}let k=r["cache-control"],F=r["last-modified"]&&h(g,t);if(!k&&!r.expires&&!F&&!this.#H)return 304===t&&r.vary&&A(r.vary)&&C(this.#P,this.#L),R();let U=k?s(k):{};if(B=this.#O,y=t,Q=r,N=U,b=this.#L.headers,y<200||h(u,y)||!h(g,y)&&!Q.expires&&!N.public&&void 0===N["max-age"]&&!(N.private&&"private"===B)&&(void 0===N["s-maxage"]||"shared"!==B)||N["no-store"]||"shared"===B&&!0===N.private||Q.vary&&a(Q.vary)||null!=b&&Object.hasOwn(b,"authorization")&&(!N.public&&!N["s-maxage"]&&!N["must-revalidate"]||"string"!=typeof b.authorization||Array.isArray(N["no-cache"])&&h(N["no-cache"],"authorization")||Array.isArray(N.private)&&h(N.private,"authorization"))||0){return 304===t&&(k||(S=this.#O,w=r,!0===(D=U)["no-store"]||"shared"===S&&!0===D.private||w.vary&&A(w.vary)))&&C(this.#P,this.#L),R()}let v=Date.now(),T=Object.hasOwn(r,"age")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return 2147483647e3;t=t[0]}if("string"!=typeof t||!/^[\t ]*[0-9]+[\t ]*$/.test(t))return 2147483647e3;let r=BigInt(t.replace(/^[\t ]+|[\t ]+$/g,""));return r>=BigInt(0x7fffffff)?2147483647e3:1e3*Number(r)}(r.age):void 0;if(void 0!==T&&T>=2147483647e3)return I(t,this.#P,this.#L),R();let L=Object.hasOwn(r,"date")?function(e){let t=e;if(Array.isArray(t)){if(1!==t.length)return null;t=t[0]}return"string"!=typeof t?null:c(t)}(r.date):void 0;if(null===L)return I(t,this.#P,this.#L),R();let O=Math.max(L?Math.max(0,v-L.getTime()):0,T??0),H="string"==typeof r.etag&&l(r.etag)||"string"==typeof r["last-modified"],P=function(e,t,r,i,s,o,a){if("shared"===e){if(n(o,"s-maxage"))return 0;let e=o["s-maxage"];if(void 0!==e)return e>0?1e3*e:0}if(n(o,"max-age"))return 0;let A=o["max-age"];if(void 0!==A)return A>0?1e3*A:0;if(Object.hasOwn(i,"expires")){if("string"!=typeof i.expires)return 0;let e=c(i.expires);if(!e||t>=e.getTime())return 0;if(s){if(s>=e)return 0;let t=e.getTime()-s.getTime();return void 0!==r&&r>=t?0:t}return e.getTime()-t}if("string"==typeof i["last-modified"]){let e=c(i["last-modified"]);if(e){if(e.getTime()>=t)return;return .1*(t-e.getTime())}}return o.immutable?31536e6:!0===o["no-cache"]&&a?0:void 0}(this.#O,v,T,r,L,U,H)??this.#H,Y=0===P&&H;if(void 0===P||O>=P&&!Y)return(k||void 0!==P)&&I(t,this.#P,this.#L),R();let G=v-O,z=P+G;if(v>=z&&!Y)return I(t,this.#P,this.#L),R();if(this.#L.headers&&r.vary&&!(x=o(r.vary,this.#L.headers)))return R();let q=function(e,t,r,i){let s=-1/0,n=-1/0,o=-1/0;if(r["stale-while-revalidate"]&&(s=i+1e3*r["stale-while-revalidate"]),r["stale-if-error"]&&(n=i+1e3*r["stale-if-error"]),r.immutable&&s===-1/0&&n===-1/0&&(o=t+31536e6),s===-1/0&&n===-1/0&&o===-1/0){let r=i-e;return r<=0?t+864e5:i+r+Math.min(Math.max(t-e,0),1e3)}return Math.max(i,s,n,o)}(G,v,U,z),V=function(e,t){let r,i=["connection","proxy-authenticate","proxy-authentication-info","proxy-authorization","proxy-connection","te","transfer-encoding","upgrade","age"];for(let s of(e.connection&&function(e,t){let r=Array.isArray(t)?t:[t];for(let t=0;t<r.length;t++){let i=r[t].split(",");for(let t=0;t<i.length;t++)e.push(i[t].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())}}(i,e.connection),Array.isArray(t["no-cache"])&&i.push(...t["no-cache"]),Array.isArray(t.private)&&i.push(...t.private),i))Object.hasOwn(e,s)&&(r??={...e},delete r[s]);return r??e}(r,U),_={statusCode:t,statusMessage:d,headers:V,vary:x,cacheControlDirectives:U,cachedAt:G,staleAt:z,deleteAt:q};if(304===t){let t=t=>{if(!t)return R();if(_.statusCode=t.statusCode,_.statusMessage=t.statusMessage,_.etag=t.etag,_.vary=x??t.vary,_.headers={...t.headers,...V},R(),this.#Y=this.#P.createWriteStream(this.#L,_),this.#Y&&t?.body)if("function"==typeof t.body.values){let r=t.body.values(),i=()=>{for(let t of r){let r=!1===this.#Y.write(t);if(this.#y.onResponseData?.(e,t),r)break}};this.#Y.on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("drain",()=>{i()}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}),i()}else"function"==typeof t.body.on&&(t.body.on("data",t=>{this.#Y.write(t),this.#y.onResponseData?.(e,t)}).on("end",()=>{this.#Y.end()}).on("error",()=>{this.#Y=void 0,this.#P.delete(this.#L)}),this.#Y.on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0)}))},r=this.#P.get(this.#L);r&&"function"==typeof r.then?r.then(t):t(r)}else{if("string"==typeof r.etag&&l(r.etag)&&(_.etag=r.etag),this.#Y=this.#P.createWriteStream(this.#L,_),!this.#Y)return R();this.#Y.on("drain",()=>e.resume()).on("error",function(){M.#Y=void 0,M.#P.delete(M.#L)}).on("close",function(){M.#Y===this&&(M.#Y=void 0),e.resume()}),R()}}onResponseData(e,t){this.#Y?.write(t)===!1&&e.pause(),this.#y.onResponseData?.(e,t)}onResponseEnd(e,t){this.#Y?.end(),this.#y.onResponseEnd?.(e,t)}onResponseError(e,t){this.#Y?.destroy(t),this.#Y=void 0,this.#y.onResponseError?.(e,t)}}},7871(e,t,r){let i=r(4589);e.exports=class{#G=!1;#z;#y;#q;#V;constructor(e,t,r){if("function"!=typeof e)throw TypeError("callback must be a function");this.#z=e,this.#y=t,this.#V=r}onRequestStart(e,t){this.#G=!1,this.#q=t}onRequestUpgrade(e,t,r,i){this.#y.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,s){if(i(null!=this.#z),this.#G=304===t||this.#V&&t>=500&&t<=504,this.#z(this.#G,this.#q,t,r),this.#z=null,this.#G)return!0;this.#y.onRequestStart?.(e,this.#q),this.#y.onResponseStart?.(e,t,r,s)}onResponseData(e,t){if(!this.#G)return this.#y.onResponseData?.(e,t)}onResponseEnd(e,t){this.#G||this.#y.onResponseEnd?.(e,t)}onResponseError(e,t){if(!this.#G){if(this.#z){if(this.#V){this.#G=!0,this.#z(!0,this.#q),this.#z=null;return}this.#z(!1),this.#z=null}if("function"==typeof this.#y.onResponseError)this.#y.onResponseError(e,t);else throw t}}}},2645(e,t,r){let i=r(4589);e.exports=class{#y;#_=!1;#J=!1;#W=!1;constructor(e){if("object"!=typeof e||null===e)throw TypeError("handler must be an object");this.#y=e}onRequestStart(...e){this.#y.onRequestStart?.(...e)}onRequestUpgrade(...e){return i(!this.#_),i(!this.#J),this.#y.onRequestUpgrade?.(...e)}onResponseStart(...e){return i(!this.#_),i(!this.#J),i(!this.#W),this.#W=!0,this.#y.onResponseStart?.(...e)}onResponseData(...e){return i(!this.#_),i(!this.#J),this.#y.onResponseData?.(...e)}onResponseEnd(...e){return i(!this.#_),i(!this.#J),this.#_=!0,this.#y.onResponseEnd?.(...e)}onResponseError(...e){return this.#J=!0,this.#y.onResponseError?.(...e)}onBodySent(){}}},8241(e,t,r){let{RequestAbortedError:i}=r(8065);e.exports=class{#j;#K=[];#X=5242880;#Z=0;#$={};#ee="";#E=!1;#et=!1;#er=!1;#ei=!1;#es=null;#en=null;constructor(e,t,r=5242880){this.#j=e,this.#en=t,this.#X=r}addWaitingHandler(e){if(this.#ei||this.#er)return!1;let t=this.#eo(e),r=t.controller;try{if(e.onRequestStart?.(r,null),r.aborted)return t.done=!0,!0;this.#et&&e.onResponseStart?.(r,this.#Z,this.#$,this.#ee)}catch{return t.done=!0,!0}return r.aborted||this.#K.push(t),!0}onRequestStart(e,t){this.#es=e,this.#j.onRequestStart?.(e,t)}onRequestUpgrade(e,t,r,i){this.#j.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,i){for(let s of(this.#et=!0,this.#Z=t,this.#$=r,this.#ee=i,this.#j.onResponseStart?.(e,t,r,i),this.#K)){let{handler:e,controller:n}=s;if(s.done||n.aborted){s.done=!0;continue}try{e.onResponseStart?.(n,t,r,i)}catch{}n.aborted&&(s.done=!0)}this.#ea()}onResponseData(e,t){if(!this.#E&&!this.#ei){for(let r of(this.#er=!0,this.#j.onResponseData?.(e,t),this.#K)){let{handler:e,controller:i}=r;if(r.done||i.aborted){r.done=!0;continue}if(i.paused){this.#eA(r,t);continue}try{e.onResponseData?.(i,t)}catch{}i.aborted&&(r.done=!0,r.bufferedChunks=[],r.bufferedBytes=0)}this.#ea()}}onResponseEnd(e,t){if(!this.#E&&!this.#ei){for(let r of(this.#ei=!0,this.#j.onResponseEnd?.(e,t),this.#K)){if(r.done||r.controller.aborted||(this.#el(r),r.done||r.controller.aborted)){r.done=!0;continue}if(r.controller.paused&&r.bufferedChunks.length>0){r.pendingTrailers=t;continue}try{r.handler.onResponseEnd?.(r.controller,t)}catch{}r.done=!0}this.#ea(),this.#en?.()}}onResponseError(e,t){if(!this.#ei){for(let r of(this.#E=!0,this.#ei=!0,this.#j.onResponseError?.(e,t),this.#K))this.#ec(r,t);this.#K=[],this.#en?.()}}#eo(e){let t={handler:e,controller:null,bufferedChunks:[],bufferedBytes:0,pendingTrailers:null,done:!1},r={aborted:!1,paused:!1,reason:null};return t.controller={resume:()=>{if(!r.aborted){if(r.paused=!1,this.#el(t),this.#ei&&t.pendingTrailers&&0===t.bufferedChunks.length&&!r.paused&&!r.aborted){try{t.handler.onResponseEnd?.(t.controller,t.pendingTrailers)}catch{}t.pendingTrailers=null,t.done=!0}this.#ea()}},pause:()=>{r.aborted||(r.paused=!0)},get paused(){return r.paused},get aborted(){return r.aborted},get reason(){return r.reason},abort:e=>{r.aborted=!0,r.reason=e??null,t.done=!0,t.pendingTrailers=null,t.bufferedChunks=[],t.bufferedBytes=0}},t}#eA(e,t){if(e.done||e.controller.aborted){e.done=!0,e.bufferedChunks=[],e.bufferedBytes=0;return}let r=Buffer.from(t);if(e.bufferedChunks.push(r),e.bufferedBytes+=r.length,e.bufferedBytes>this.#X){let t=new i(`Deduplicated waiting handler exceeded maxBufferSize (${this.#X} bytes) while paused`);this.#ec(e,t)}}#el(e){let{handler:t,controller:r}=e;for(;!e.done&&!r.aborted&&!r.paused&&e.bufferedChunks.length>0;){let i=e.bufferedChunks.shift();e.bufferedBytes-=i.length;try{t.onResponseData?.(r,i)}catch{}if(r.aborted){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;break}}}#ec(e,t){if(!e.done){e.done=!0,e.pendingTrailers=null,e.bufferedChunks=[],e.bufferedBytes=0;try{e.controller.abort(t),e.handler.onResponseError?.(e.controller,t)}catch{}}}#ea(){this.#K=this.#K.filter(e=>!1===e.done)}}},7424(e,t,r){let i=r(1210),s=r(4589),{InvalidArgumentError:n}=r(8065),o=[300,301,302,303,307,308],a=()=>{};function A(e,t,r,s,n){let o=i.headerNameToString(e);return!!("host"===o||s?.has(o)||r&&n?.has(o)||t&&o.startsWith("content-"))||!!r&&("authorization"===o||"cookie"===o||"proxy-authorization"===o)}function l(e,t){if(null==e)return null;if(!Array.isArray(e))throw new n(`${t} must be an array`);let r=new Set;for(let s of e){if("string"!=typeof s)throw new n(`${t} must contain header names`);r.add(i.headerNameToString(s))}return r}e.exports=class e{static buildDispatch(t,r){if(null!=r&&(!Number.isInteger(r)||r<0))throw new n("maxRedirections must be a positive number");let i=t.dispatch.bind(t);return(t,s)=>i(t,new e(i,r,t,s))}constructor(e,t,r,s){if(null!=t&&(!Number.isInteger(t)||t<0))throw new n("maxRedirections must be a positive number");if(null!=r.throwOnMaxRedirect&&"boolean"!=typeof r.throwOnMaxRedirect)throw new n("throwOnMaxRedirect must be a boolean");this.dispatch=e,this.location=null;let{maxRedirections:o,stripHeadersOnRedirect:a,stripHeadersOnCrossOriginRedirect:A,...c}=r;this.opts=c,this.opts.body=i.wrapRequestBody(this.opts.body),this.stripHeadersOnRedirect=l(a,"stripHeadersOnRedirect"),this.stripHeadersOnCrossOriginRedirect=l(A,"stripHeadersOnCrossOriginRedirect"),this.maxRedirections=t,this.handler=s,this.history=[]}onRequestStart(e,t){this.handler.onRequestStart?.(e,{...t,history:this.history})}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(e,t,r,i)}onResponseStart(e,t,r,l){if(this.opts.throwOnMaxRedirect&&this.history.length>=this.maxRedirections)throw Error("max redirects");let c=303===t;if((301===t||302===t)&&"POST"===this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null,c=!0),303===t&&"HEAD"!==this.opts.method&&(this.opts.method="GET",i.isStream(this.opts.body)&&i.destroy(this.opts.body.on("error",a)),this.opts.body=null),this.location=this.history.length>=this.maxRedirections||i.isDisturbed(this.opts.body)||-1===o.indexOf(t)?null:r.location,this.opts.origin&&this.history.push(new URL(this.opts.path,this.opts.origin)),!this.location)return void this.handler.onResponseStart?.(e,t,r,l);let{origin:d,pathname:g,search:u}=i.parseURL(new URL(this.location,this.opts.origin&&new URL(this.opts.path,this.opts.origin))),h=u?`${g}${u}`:g,m=`${d}${h}`;for(let e of this.history)if(e.toString()===m)throw new n(`Redirect loop detected. Cannot redirect to ${d}. This typically happens when using a Client or Pool with cross-origin redirects. Use an Agent for cross-origin redirects.`);this.opts.headers=function(e,t,r,n,o){let a=[];if(Array.isArray(e))for(let i=0;i<e.length;i+=2)A(e[i],t,r,n,o)||a.push(e[i],e[i+1]);else if(e&&"object"==typeof e)for(let[s,l]of i.hasSafeIterator(e)?e:Object.entries(e))A(s,t,r,n,o)||a.push(s,l);else s(null==e,"headers must be an object or an array");return a}(this.opts.headers,c,this.opts.origin!==d,this.stripHeadersOnRedirect,this.stripHeadersOnCrossOriginRedirect),this.opts.path=h,this.opts.origin=d,this.opts.query=null}onResponseData(e,t){this.location||this.handler.onResponseData?.(e,t)}onResponseEnd(e,t){this.location?this.dispatch(this.opts,this):this.handler.onResponseEnd(e,t)}onResponseError(e,t){this.handler.onResponseError?.(e,t)}}},4166(e,t,r){let i=r(4589),{kRetryHandlerDefaultRetry:s}=r(3025),{RequestRetryError:n}=r(8065),{isDisturbed:o,parseRangeHeader:a,wrapRequestBody:A}=r(1210);function l(e,t,r,i){let s=e["content-length"];if(null==s||!Number.isFinite(t.start)||!Number.isFinite(t.end))return;let o=Number(s),a=t.end-t.start+1;if(!Number.isFinite(o)||o!==a)throw new n("Content-Length mismatch",r,{headers:e,data:{count:i}})}class c{constructor(){this.target=null}pause(){this.target?.pause()}resume(){this.target?.resume()}abort(e){this.target?.abort(e)}get paused(){return this.target?.paused??!1}get aborted(){return this.target?.aborted??!1}get reason(){return this.target?.reason??null}get rawHeaders(){return this.target?.rawHeaders??null}get rawTrailers(){return this.target?.rawTrailers??null}}e.exports=class e{constructor(t,{dispatch:r,handler:i}){let{retryOptions:n,...o}=t,{retry:a,maxRetries:l,maxTimeout:d,minTimeout:g,timeoutFactor:u,methods:h,errorCodes:m,retryAfter:p,statusCodes:C,throwOnError:I}=n??{};this.error=null,this.dispatch=r,this.handler=i,this.opts={...o,body:A(t.body)},this.retryOpts={throwOnError:I??!0,retry:a??e[s],retryAfter:p??!0,maxTimeout:d??3e4,minTimeout:g??500,timeoutFactor:u??2,maxRetries:l??5,methods:h??["GET","HEAD","OPTIONS","PUT","DELETE","TRACE","QUERY"],statusCodes:C??[500,502,503,504,429],errorCodes:m??["ECONNRESET","ECONNREFUSED","ENOTFOUND","ENETDOWN","ENETUNREACH","EHOSTDOWN","EHOSTUNREACH","EPIPE","UND_ERR_SOCKET"]},this.retryCount=0,this.retryCountCheckpoint=0,this.headersSent=!1,this.start=0,this.end=null,this.etag=null,this.statusCode=null,this.headers=null,this.controllerProxy=new c}onResponseStartWithRetry(e,t,r,i,s){if(this.retryOpts.throwOnError)return void(!1===this.retryOpts.statusCodes.includes(t)?(this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i)):this.error=s);if(o(this.opts.body)){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i);return}e.pause(),this.retryOpts.retry(s,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(n){if(n){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,i),e.resume();return}this.error=s,e.resume()}).bind(this))}onRequestStart(e,t){this.controllerProxy.target=e,this.headersSent||this.handler.onRequestStart?.(this.controllerProxy,t)}onRequestUpgrade(e,t,r,i){this.handler.onRequestUpgrade?.(this.controllerProxy,t,r,i)}static[s](e,{state:t,opts:r},i){let{statusCode:s,code:n,headers:o}=e,{method:a,retryOptions:A}=r,{maxRetries:l,minTimeout:c,maxTimeout:d,timeoutFactor:g,statusCodes:u,errorCodes:h,methods:m}=A,{counter:p}=t;if(n&&"UND_ERR_REQ_RETRY"!==n&&!h.includes(n)||Array.isArray(m)&&!m.includes(a)||null!=s&&Array.isArray(u)&&!u.includes(s)||p>l)return void i(e);let C=o?.["retry-after"];if(C){let e;C=Number.isNaN(C=Number(C))?isNaN(e=new Date(o["retry-after"]).getTime())?null:e-Date.now():1e3*C}setTimeout(()=>i(null),0===C?0:C>0?Math.min(C,d):Math.min(c*g**(p-1),d))}onResponseStart(e,t,r,s){if(this.error=null,this.retryCount+=1,this.statusCode=t,this.headers=r,t>=300){let i=new n("Request failed",t,{headers:r,data:{count:this.retryCount}});this.onResponseStartWithRetry(e,t,r,s,i);return}if(this.headersSent){if(206!==t&&(this.start>0||200!==t))throw new n("server does not support the range header and the payload was partially consumed",t,{headers:r,data:{count:this.retryCount}});let e=a(r["content-range"]);if(!e)throw new n("Content-Range mismatch",t,{headers:r,data:{count:this.retryCount}});if(null!=this.etag&&this.etag!==r.etag)throw new n("ETag mismatch",t,{headers:r,data:{count:this.retryCount}});l(r,e,t,this.retryCount);let{start:s,size:o,end:A=o?o-1:null}=e;i(this.start===s,"content-range mismatch"),i(null==this.end||this.end===A,"content-range mismatch");return}if(null==this.end){if(206===t){let e=a(r["content-range"]);if(null==e){this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,s);return}l(r,e,t,this.retryCount);let{start:n,size:o,end:A=o?o-1:null}=e;i(null!=n&&Number.isFinite(n),"content-range mismatch"),i(null!=A&&Number.isFinite(A),"invalid content-length"),this.start=n,this.end=A}if(null==this.end){let e=r["content-length"];this.end=null!=e?Number(e)-1:null}i(Number.isFinite(this.start)),i(null==this.end||Number.isFinite(this.end),"invalid content-length"),this.resume=!0,this.etag=null!=r.etag?r.etag:null,null!=this.etag&&"W"===this.etag[0]&&"/"===this.etag[1]&&(this.etag=null),this.headersSent=!0,this.handler.onResponseStart?.(this.controllerProxy,t,r,s)}else throw new n("Request failed",t,{headers:r,data:{count:this.retryCount}})}onResponseData(e,t){this.error||(this.start+=t.length,this.handler.onResponseData?.(this.controllerProxy,t))}onResponseEnd(e,t){if(this.error&&this.retryOpts.throwOnError)throw this.error;if(!this.error){if(null!=this.end&&Number.isFinite(this.end)&&this.start!==this.end+1)throw new n("Content-Range mismatch",this.statusCode,{headers:this.headers,data:{count:this.retryCount}});return this.retryCount=0,this.handler.onResponseEnd?.(this.controllerProxy,t)}this.retry()}retry(){if(0!==this.start){let e={range:`bytes=${this.start}-${this.end??""}`};null!=this.etag&&(e["if-match"]=this.etag),this.opts={...this.opts,headers:{...this.opts.headers,...e}}}try{this.retryCountCheckpoint=this.retryCount,this.dispatch(this.opts,this)}catch(e){this.handler.onResponseError?.(this.controllerProxy,e)}}onResponseError(e,t){e?.aborted||o(this.opts.body)?this.handler.onResponseError?.(this.controllerProxy,t):(this.retryCount-this.retryCountCheckpoint>0?this.retryCount=this.retryCountCheckpoint+(this.retryCount-this.retryCountCheckpoint):this.retryCount+=1,this.retryOpts.retry(t,{state:{counter:this.retryCount},opts:{retryOptions:this.retryOpts,...this.opts}},(function(e){e?this.handler?.onResponseError?.(this.controllerProxy,e):this.retry()}).bind(this)))}}},6056(e,t,r){let i=r(4589),{Readable:s}=r(7075),n=r(1210),o=r(4502),a=r(415),A=r(7871),{assertCacheStore:l,assertCacheMethods:c,makeCacheKey:d,normalizeHeaders:g,parseCacheControlHeader:u,isInvalidOrWildcardVaryHeader:h}=r(8621),{AbortError:m}=r(8065),{parseHttpDate:p}=r(5859),C=()=>{};function I(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function f(e,t){return e.cacheControlDirectives?.["must-revalidate"]===!0||"shared"===t&&(e.cacheControlDirectives?.["proxy-revalidate"]===!0||e.cacheControlDirectives?.["s-maxage"]!==void 0)}function E(e,t){try{e.delete(t)?.catch?.(C)}catch{}}function B(e,t){let r={...e.headers,"if-modified-since":function(e){let t=e?.["last-modified"];if("string"==typeof t&&p(t))return t}(t.headers)??new Date(t.cachedAt).toUTCString()};if(t.etag&&(r["if-none-match"]=t.etag),t.vary)for(let e in t.vary)null!=t.vary[e]&&(r[e]=t.vary[e]);return r}function y(e,t,r,o,a,A){let l=n.isStream(r.body)?r.body:s.from(r.body??[]);i(!l.destroyed,"stream should not be destroyed"),i(!l.readableDidRead,"stream should not be readableDidRead");let c={rawHeaders:[],rawTrailers:[],resume(){l.resume()},pause(){l.pause()},get paused(){return l.isPaused()},get aborted(){return l.destroyed},get reason(){return l.errored},abort(e){l.destroy(e??new m)}};if(l.on("error",function(t){if(!this.readableEnded)if("function"==typeof e.onResponseError)e.onResponseError(c,t);else throw t}).on("close",function(){this.errored||e.onResponseEnd?.(c,{})}),e.onRequestStart?.(c,a),l.destroyed)return;let d={...r.headers,age:String(o)};A&&(d.warning='110 - "response is stale"'),c.rawHeaders=n.toRawHeaders(d),e.onResponseStart?.(c,r.statusCode,d,r.statusMessage),"HEAD"===t.method?l.destroy():l.on("data",function(t){e.onResponseData?.(c,t)})}function Q(e,t,r,i,s,a,l){var c,d,g,p,I;let Q;if(!l){if(a?.["only-if-cached"]){let e=!1,t={paused:!1,rawHeaders:[],rawTrailers:[],pause(){this.paused=!0},resume(){this.paused=!1},abort:r=>{e=!0,i.onResponseError?.(t,r??new m)}};try{if(i.onRequestStart?.(t,null),e||(i.onResponseStart?.(t,504,{},"Gateway Timeout"),e))return;i.onResponseEnd?.(t,{})}catch(e){"function"==typeof i.onResponseError&&i.onResponseError(t,e)}return!0}return e(s,new o(t,r,i))}let N=Date.now();if(N>l.deleteAt)return e(s,new o(t,r,i));let b=Math.round((N-l.cachedAt)/1e3),S=a?.["max-age"]!==void 0&&b>=a["max-age"],w=S||(c=l,d=a,g=t.type,(Q=Date.now())>c.staleAt?!(!f(c,g)&&d?.["max-stale"])||Q>c.staleAt+1e3*d["max-stale"]:!!d?.["min-fresh"]&&c.staleAt-Q<=1e3*d["min-fresh"]),D=S||function(e,t,{headers:r={}}){return!!(t?.["no-cache"]||e.cacheControlDirectives?.["no-cache"]&&!Array.isArray(e.cacheControlDirectives["no-cache"]))||!!r["if-modified-since"]||!!r["if-none-match"]}(l,a,s);if(w||D){let c;if(n.isStream(s.body)&&0!==n.bodyLength(s.body))return e(s,new o(t,r,i));if(!D&&(p=l,I=t.type,!(!(c=p.cacheControlDirectives?.["stale-while-revalidate"])||f(p,I))&&Date.now()<=p.staleAt+1e3*c))return y(i,s,l,b,null,!0),queueMicrotask(()=>{let i=B(s,l);e({...s,headers:i},new o(t,r,{onRequestStart(){},onRequestUpgrade(){},onResponseStart(){},onResponseData(){},onResponseEnd(){},onResponseError(){}}))}),!0;let d=!1;if(!f(l,t.type)){let e=l.cacheControlDirectives["stale-if-error"]??a?.["stale-if-error"];e&&(d=N<l.staleAt+1e3*e)}let g=B(s,l);return e({...s,headers:g},new A((a,A,c,d)=>{if(a){if(304===c){if(function(e,t){if(t.vary&&h(t.vary))return!0;let r=t["cache-control"];if(!r)return!1;let i=u(r);return!0===i["no-store"]||"shared"===e&&!0===i.private}(t.type,d))return n.isStream(l.body)&&l.body.on("error",C).destroy(),E(t.store,r),e(s,new o(t,r,i));void 0!==d["cache-control"]&&E(t.store,r)}y(i,s,l,b,A,w)}else n.isStream(l.body)&&l.body.on("error",C).destroy()},new o(t,r,i),d))}n.isStream(s.body)&&s.body.on("error",C).destroy(),y(i,s,l,b,null,!1)}e.exports=(e={})=>{let{store:t=new a,methods:r=["GET"],cacheByDefault:i,type:s="shared",origins:o}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);l(t,"opts.store"),c(r,"opts.methods");var A="opts.origins";if(void 0!==o){if(!Array.isArray(o))throw TypeError(`expected ${A} to be an array or undefined, got ${typeof o}`);for(let e=0;e<o.length;e++){let t=o[e];if("string"!=typeof t&&!(t instanceof RegExp))throw TypeError(`expected ${A}[${e}] to be a string or RegExp, got ${typeof t}`)}}if(void 0!==i&&"number"!=typeof i)throw TypeError(`expected opts.cacheByDefault to be number or undefined, got ${typeof i}`);if(void 0!==s&&"shared"!==s&&"private"!==s)throw TypeError(`expected opts.type to be shared, private, or undefined, got ${typeof s}`);let h={store:t,methods:r,cacheByDefault:i,type:s},m=[];for(let e=0;e<n.safeHTTPMethods.length;e++){let t=n.safeHTTPMethods[e];I(r,t)||m.push(t)}return e=>(r,i)=>{if(!r.origin||I(m,r.method))return e(r,i);if(void 0!==o){let t=r.origin.toString().toLowerCase(),s=!1;for(let e=0;e<o.length;e++){let r=o[e];if("string"==typeof r){if(r.toLowerCase()===t){s=!0;break}}else if(r.test(t)){s=!0;break}}if(!s)return e(r,i)}r={...r,headers:g(r)};let s=r.headers?.["cache-control"]?u(r.headers["cache-control"]):!function(e){let t=e?.pragma;if(!t)return!1;let r=Array.isArray(t)?t:[t];for(let e=0;e<r.length;e++){let t=r[e];if("string"!=typeof t)continue;let i=t.split(",");for(let e=0;e<i.length;e++)if("no-cache"===i[e].replace(/^[\t ]+|[\t ]+$/g,"").toLowerCase())return!0}return!1}(r.headers)?void 0:{"no-cache":!0};if(s?.["no-store"])return e(r,i);let n=d(r),a=t.get(n);return a&&"function"==typeof a.then?a.then(t=>Q(e,h,n,i,r,s,t)):Q(e,h,n,i,r,s,a)}}},9287(e,t,r){let{createInflate:i,createGunzip:s,createBrotliDecompress:n,createZstdDecompress:o}=r(8522),{pipeline:a}=r(7075),A=r(2645),l={gzip:s,"x-gzip":s,br:n,deflate:i,compress:i,"x-compress":i,zstd:o},c=[204,304],d=!1;class g extends A{#ed=[];#eg;#eu;#eh;constructor(e,{skipStatusCodes:t=c,skipErrorResponses:r=!0}={}){super(e),this.#eu=t,this.#eh=r}#em(e,t){return!!(!e||t<200||this.#eu.includes(t))||!!this.#eh&&!!(t>=400)}#ep(e){let t=e.split(",");if(t.length>5)throw Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`);let r=[];for(let e=t.length-1;e>=0;e--){let i=t[e].trim();if(i){if(!l[i])return r.length=0,r;r.push(l[i]())}}return r}#eC(e,t){e.on("readable",()=>{let r;for(;null!==(r=e.read())&&!1!==super.onResponseData(t,r););}),e.on("error",e=>{super.onResponseError(t,e)})}#eI(e){let t=this.#ed[0];this.#eC(t,e),t.on("end",()=>{super.onResponseEnd(e,this.#eg)})}#ef(e){let t=this.#ed[this.#ed.length-1];this.#eC(t,e),a(this.#ed,t=>{t?super.onResponseError(e,t):super.onResponseEnd(e,this.#eg)})}#eE(){this.#ed.length=0}onResponseStart(e,t,r,i){let s=r["content-encoding"];if(this.#em(s,t))return super.onResponseStart(e,t,r,i);let n=this.#ep(s.toLowerCase());if(0===n.length)return this.#eE(),super.onResponseStart(e,t,r,i);this.#ed=n;let{"content-encoding":o,"content-length":a,...A}=r;if(e?.rawHeaders){let t=e.rawHeaders;if(Array.isArray(t)){let r=[];for(let e=0;e<t.length;e+=2){let i=t[e],s=(Buffer.isBuffer(i)?i.toString("latin1"):`${i}`).toLowerCase();"content-encoding"!==s&&"content-length"!==s&&r.push(t[e],t[e+1])}e.rawHeaders=r}else if("object"==typeof t)for(let e of Object.keys(t)){let r=e.toLowerCase();("content-encoding"===r||"content-length"===r)&&delete t[e]}}return 1===this.#ed.length?this.#eI(e):this.#ef(e),super.onResponseStart(e,t,A,i)}onResponseData(e,t){this.#ed.length>0?this.#ed[0].write(t):super.onResponseData(e,t)}onResponseEnd(e,t){if(this.#ed.length>0){this.#eg=t,this.#ed[0].end(),this.#eE();return}super.onResponseEnd(e,t)}onResponseError(e,t){if(this.#ed.length>0){for(let e of this.#ed)e.destroy(t);this.#eE()}super.onResponseError(e,t)}}e.exports=function(e={}){return d||(process.emitWarning("DecompressInterceptor is experimental and subject to change","ExperimentalWarning"),d=!0),t=>(r,i)=>"HEAD"===r.method?t(r,i):t(r,new g(i,e))}},7870(e,t,r){let i=r(3053),s=r(1210),n=r(8241),{normalizeHeaders:o,makeCacheKey:a,makeDeduplicationKey:A}=r(8621),l=i.channel("undici:request:pending-requests");e.exports=(e={})=>{let{methods:t=["GET"],skipHeaderNames:r=[],excludeHeaderNames:i=[],maxBufferSize:c=5242880}=e;if("object"!=typeof e||null===e)throw TypeError(`expected type of opts to be an Object, got ${null===e?"null":typeof e}`);if(!Array.isArray(t))throw TypeError(`expected opts.methods to be an array, got ${typeof t}`);for(let e of t)if(!s.safeHTTPMethods.includes(e))throw TypeError(`expected opts.methods to only contain safe HTTP methods, got ${e}`);if(!Array.isArray(r))throw TypeError(`expected opts.skipHeaderNames to be an array, got ${typeof r}`);if(!Array.isArray(i))throw TypeError(`expected opts.excludeHeaderNames to be an array, got ${typeof i}`);if(!Number.isFinite(c)||c<=0)throw TypeError(`expected opts.maxBufferSize to be a positive finite number, got ${c}`);let d=new Set(r.map(e=>e.toLowerCase())),g=new Set(i.map(e=>e.toLowerCase())),u=new Map;return e=>(r,i)=>{if(!r.origin||!1===t.includes(r.method))return e(r,i);if(r={...r,headers:o(r)},d.size>0){for(let t of Object.keys(r.headers))if(d.has(t.toLowerCase()))return e(r,i)}let s=A(a(r),g),h=u.get(s);if(h)return!!h.addWaitingHandler(i)||e(r,i);let m=new n(i,()=>{u.delete(s),l.hasSubscribers&&l.publish({size:u.size,key:s,type:"removed"})},c);return u.set(s,m),l.hasSubscribers&&l.publish({size:u.size,key:s,type:"added"}),e(r,m)}}},4053(e,t,r){let{isIP:i}=r(7030),{lookup:s}=r(610),n=r(2645),{InvalidArgumentError:o,InformationalError:a}=r(8065);function A(e){return"string"==typeof e&&"host"===e.toLowerCase()}function l(e,t){let r=function(e){let t;if(null==e)return null;if(Array.isArray(e)){if(0===e.length||!Array.isArray(e[0]))return e;let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}if("object"==typeof e&&(t=Object.getPrototypeOf(e),Object.hasOwn(e,Symbol.iterator)||null!=t&&t!==Object.prototype&&"function"==typeof e[Symbol.iterator])){let t=[];for(let r of e)Array.isArray(r)&&2===r.length?t.push(r[0],r[1]):t.push(r);return t}return e}(t);return!function(e){if(null==e)return!1;if(Array.isArray(e)){if(0===e.length)return!1;for(let t=0;t<e.length;t+=2)if(A(e[t]))return!0;return!1}if("object"==typeof e){for(let t in e)if(A(t))return!0}return!1}(r)?Array.isArray(r)?["host",e,...r]:r&&"object"==typeof r?{host:e,...r}:{host:e}:r}class c{#eB=0;#ey=new Map;constructor(e){this.#eB=e.maxItems}get size(){return this.#ey.size}get(e){return this.#ey.get(e)??null}set(e,t){this.#ey.set(e,t)}delete(e){this.#ey.delete(e)}full(){return this.size>=this.#eB}}class d{#eQ=0;#eB=0;dualStack=!0;affinity=null;lookup=null;pick=null;storage=null;constructor(e){this.#eQ=e.maxTTL,this.#eB=e.maxItems,this.dualStack=e.dualStack,this.affinity=e.affinity,this.lookup=e.lookup??this.#eN,this.pick=e.pick??this.#eb,this.storage=e.storage??new c(e)}runLookup(e,t,r){let i=this.storage.get(e.hostname);if(null==i&&this.storage.full())return void r(null,e);let s={affinity:this.affinity,dualStack:this.dualStack,lookup:this.lookup,pick:this.pick,...t.dns,maxTTL:this.#eQ,maxItems:this.#eB};if(null==i)this.lookup(e,s,(t,i)=>{let n;if(t||null==i||0===i.length)return void r(t??new a("No DNS entries found"));this.setRecords(e,i);let o=this.storage.get(e.hostname),A=this.pick(e,o,s.affinity);n="number"==typeof A.port?`:${A.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===A.family?`[${A.address}]`:A.address}${n}`))});else{let n,o=this.pick(e,i,s.affinity);if(null==o){this.storage.delete(e.hostname),this.runLookup(e,t,r);return}n="number"==typeof o.port?`:${o.port}`:""!==e.port?`:${e.port}`:"",r(null,new URL(`${e.protocol}//${6===o.family?`[${o.address}]`:o.address}${n}`))}}#eN(e,t,r){s(e.hostname,{all:!0,family:!1===this.dualStack?this.affinity:0,order:"ipv4first"},(e,t)=>{if(e)return r(e);let i=new Map;for(let e of t)i.set(`${e.address}:${e.family}`,e);r(null,i.values())})}#eb(e,t,r){let i,s=null,{records:n,offset:o}=t;if(this.dualStack?(null==r&&(null==o||0x7fffffff===o?(t.offset=0,r=4):(t.offset++,r=(1&t.offset)==1?6:4)),i=null!=n[r]&&n[r].ips.length>0?n[r]:n[4===r?6:4]):i=n[r],null==i||0===i.ips.length)return s;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let a=i.offset%i.ips.length;return null==(s=i.ips[a]??null)?s:Date.now()-s.timestamp>s.ttl?(i.ips.splice(a,1),this.pick(e,t,r)):s}pickFamily(e,t){let r=this.storage.get(e.hostname)?.records;if(!r)return null;let i=r[t];if(!i)return null;null==i.offset||0x7fffffff===i.offset?i.offset=0:i.offset++;let s=i.offset%i.ips.length,n=i.ips[s]??null;return null==n||Date.now()-n.timestamp>n.ttl&&i.ips.splice(s,1),n}setRecords(e,t){let r=Date.now(),i={records:{4:null,6:null}},s=this.#eQ;for(let e of t){e.timestamp=r,"number"==typeof e.ttl?(e.ttl=Math.min(e.ttl,this.#eQ),s=Math.min(s,e.ttl)):e.ttl=this.#eQ;let t=i.records[e.family]??{ips:[]};t.ips.push(e),i.records[e.family]=t}this.storage.set(e.hostname,i,{ttl:s})}deleteRecords(e){this.storage.delete(e.hostname)}getHandler(e,t){return new g(this,e,t)}}class g extends n{#eS=null;#S=null;#ew=null;#eD=null;#es=null;#ex=null;#eR=!0;constructor(e,{origin:t,handler:r,dispatch:i,newOrigin:s},n){super(r),this.#eD=t,this.#ex=s,this.#S={...n},this.#eS=e,this.#ew=i}onResponseError(e,t){switch(t.code){case"ETIMEDOUT":case"ECONNREFUSED":if(this.#eS.dualStack){let r;if(!this.#eR)return void super.onResponseError(e,t);this.#eR=!1;let i="["===this.#ex.hostname[0]?4:6,s=this.#eS.pickFamily(this.#eD,i);if(null==s)return void super.onResponseError(e,t);r="number"==typeof s.port?`:${s.port}`:""!==this.#eD.port?`:${this.#eD.port}`:"";let n={...this.#S,origin:`${this.#eD.protocol}//${6===s.family?`[${s.address}]`:s.address}${r}`,headers:l(this.#eD.host,this.#S.headers)};this.#ew(n,this);return}super.onResponseError(e,t);break;case"ENOTFOUND":this.#eS.deleteRecords(this.#eD),super.onResponseError(e,t);break;default:super.onResponseError(e,t)}}}e.exports=e=>{let t;if(e?.maxTTL!=null&&("number"!=typeof e?.maxTTL||e?.maxTTL<0))throw new o("Invalid maxTTL. Must be a positive number");if(e?.maxItems!=null&&("number"!=typeof e?.maxItems||e?.maxItems<1))throw new o("Invalid maxItems. Must be a positive number and greater than zero");if(e?.affinity!=null&&e?.affinity!==4&&e?.affinity!==6)throw new o("Invalid affinity. Must be either 4 or 6");if(e?.dualStack!=null&&"boolean"!=typeof e?.dualStack)throw new o("Invalid dualStack. Must be a boolean");if(e?.lookup!=null&&"function"!=typeof e?.lookup)throw new o("Invalid lookup. Must be a function");if(e?.pick!=null&&"function"!=typeof e?.pick)throw new o("Invalid pick. Must be a function");if(e?.storage!=null&&("function"!=typeof e?.storage?.get||"function"!=typeof e?.storage?.set||"function"!=typeof e?.storage?.full||"function"!=typeof e?.storage?.delete))throw new o("Invalid storage. Must be a object with methods: { get, set, full, delete }");let r=e?.dualStack??!0;t=r?e?.affinity??null:e?.affinity??4;let s=new d({maxTTL:e?.maxTTL??1e4,lookup:e?.lookup??null,pick:e?.pick??null,dualStack:r,affinity:t,maxItems:e?.maxItems??1/0,storage:e?.storage});return e=>function(t,r){if(null==t.origin)return e(t,r);let n=t.origin.constructor===URL?t.origin:new URL(t.origin);return 0!==i(n.hostname)?e(t,r):(s.runLookup(n,t,(i,o)=>{if(i)return r.onResponseError(null,i);e({...t,servername:n.hostname,origin:o.origin,headers:l(n.host,t.headers)},s.getHandler({origin:n,dispatch:e,handler:r,newOrigin:o},t))}),!0)}}},5850(e,t,r){let{InvalidArgumentError:i,RequestAbortedError:s}=r(8065),n=r(2645);class o extends n{#t=1048576;#eM=!1;#i=0;#es=null;aborted=!1;reason=!1;constructor({maxSize:e,signal:t},r){if(null!=e&&(!Number.isFinite(e)||e<1))throw new i("maxSize must be a number greater than 0");super(r),this.#t=e??this.#t}#B(e){this.aborted=!0,this.reason=e}onRequestStart(e,t){return e.abort=this.#B.bind(this),this.#es=e,super.onRequestStart(e,t)}onResponseStart(e,t,r,i){let n=r["content-length"];if(null!=n&&n>this.#t)throw new s(`Response size (${n}) larger than maxSize (${this.#t})`);return!0===this.aborted||super.onResponseStart(e,t,r,i)}onResponseError(e,t){this.#eM||(t=this.#es?.reason??t,super.onResponseError(e,t))}onResponseData(e,t){return this.#i=this.#i+t.length,this.#i>=this.#t&&(this.#eM=!0,!0===this.aborted?super.onResponseError(e,this.reason):super.onResponseEnd(e,{})),!0}onResponseEnd(e,t){if(!this.#eM){if(!0===this.#es.aborted)return void super.onResponseError(e,this.reason);super.onResponseEnd(e,t)}}}e.exports=function({maxSize:e}={maxSize:1048576}){return t=>function(r,i){let{dumpMaxSize:s=e}=r,n=new o({maxSize:s,signal:r.signal},i);return t(r,n)}}},7884(e,t,r){let i=r(7424);e.exports=function({maxRedirections:e,throwOnMaxRedirect:t,stripHeadersOnRedirect:r,stripHeadersOnCrossOriginRedirect:s}={}){return n=>function(o,a){let{maxRedirections:A=e,throwOnMaxRedirect:l=t,stripHeadersOnRedirect:c=r,stripHeadersOnCrossOriginRedirect:d=s,...g}=o;if(null==A||0===A)return n(o,a);let u={...g,throwOnMaxRedirect:l,stripHeadersOnRedirect:c,stripHeadersOnCrossOriginRedirect:d},h=new i(n,A,u,a);return n(u,h)}}},3128(e,t,r){let i=r(2645),{ResponseError:s}=r(8065);class n extends i{#Z;#ek;#eF;#$;#eU;constructor(e,{handler:t}){super(t)}#ev(e){return 0===(this.#ek??"").indexOf(e)}onRequestStart(e,t){return this.#Z=0,this.#ek=null,this.#eF=null,this.#$=null,this.#eU="",super.onRequestStart(e,t)}onResponseStart(e,t,r,i){if(this.#Z=t,this.#$=r,this.#ek=r["content-type"],this.#Z<400)return super.onResponseStart(e,t,r,i);(this.#ev("application/json")||this.#ev("text/plain"))&&(this.#eF=new TextDecoder("utf-8"))}onResponseData(e,t){if(this.#Z<400)return super.onResponseData(e,t);this.#eU+=this.#eF?.decode(t,{stream:!0})??""}onResponseEnd(e,t){if(this.#Z>=400){let t;if(this.#eU+=this.#eF?.decode(void 0,{stream:!1})??"",this.#ev("application/json"))try{this.#eU=JSON.parse(this.#eU)}catch{}let r=Error.stackTraceLimit;Error.stackTraceLimit=0;try{t=new s("Response Error",this.#Z,{body:this.#eU,headers:this.#$})}finally{Error.stackTraceLimit=r}super.onResponseError(e,t)}else super.onResponseEnd(e,t)}onResponseError(e,t){super.onResponseError(e,t)}}e.exports=()=>e=>function(t,r){return e(t,new n(t,{handler:r}))}},9620(e,t,r){let i=r(4166);e.exports=e=>t=>function(r,s){return t(r,new i({...r,retryOptions:{...e,...r.retryOptions}},{handler:s,dispatch:t}))}},8994(e,t,r){t.XB=t.mL=t.oC=t.Y2=t.t9=t.Z6=t.GP=t.jy=t.UG=t.l5=t.kp=t.M$=t.N_=t.pF=t.J$=t.Y6=t.Nh=t.aC=t.KO=t.XV=t.jA=t.jJ=t.EW=t.ww=t.CV=t.f=t.J8=t.W4=t.Wg=t.TYPE=t.ERROR=void 0;let i=r(5610);t.ERROR={OK:0,INTERNAL:1,STRICT:2,CR_EXPECTED:25,LF_EXPECTED:3,UNEXPECTED_CONTENT_LENGTH:4,UNEXPECTED_SPACE:30,CLOSED_CONNECTION:5,INVALID_METHOD:6,INVALID_URL:7,INVALID_CONSTANT:8,INVALID_VERSION:9,INVALID_HEADER_TOKEN:10,INVALID_CONTENT_LENGTH:11,INVALID_CHUNK_SIZE:12,INVALID_STATUS:13,INVALID_EOF_STATE:14,INVALID_TRANSFER_ENCODING:15,CB_MESSAGE_BEGIN:16,CB_HEADERS_COMPLETE:17,CB_MESSAGE_COMPLETE:18,CB_CHUNK_HEADER:19,CB_CHUNK_COMPLETE:20,PAUSED:21,PAUSED_UPGRADE:22,PAUSED_H2_UPGRADE:23,USER:24,CB_URL_COMPLETE:26,CB_STATUS_COMPLETE:27,CB_METHOD_COMPLETE:32,CB_VERSION_COMPLETE:33,CB_HEADER_FIELD_COMPLETE:28,CB_HEADER_VALUE_COMPLETE:29,CB_CHUNK_EXTENSION_NAME_COMPLETE:34,CB_CHUNK_EXTENSION_VALUE_COMPLETE:35,CB_RESET:31,CB_PROTOCOL_COMPLETE:38},t.TYPE={BOTH:0,REQUEST:1,RESPONSE:2},t.Wg={CONNECTION_KEEP_ALIVE:1,CONNECTION_CLOSE:2,CONNECTION_UPGRADE:4,CHUNKED:8,UPGRADE:16,CONTENT_LENGTH:32,SKIPBODY:64,TRAILING:128,TRANSFER_ENCODING:512},t.W4={HEADERS:1,CHUNKED_LENGTH:2,KEEP_ALIVE:4,TRANSFER_ENCODING:8,VERSION:16,DATA_AFTER_CLOSE:32,OPTIONAL_LF_AFTER_CR:64,OPTIONAL_CRLF_AFTER_CHUNK:128,OPTIONAL_CR_BEFORE_LF:256,SPACES_AFTER_CHUNK_SIZE:512},t.J8={DELETE:0,GET:1,HEAD:2,POST:3,PUT:4,CONNECT:5,OPTIONS:6,TRACE:7,COPY:8,LOCK:9,MKCOL:10,MOVE:11,PROPFIND:12,PROPPATCH:13,SEARCH:14,UNLOCK:15,BIND:16,REBIND:17,UNBIND:18,ACL:19,REPORT:20,MKACTIVITY:21,CHECKOUT:22,MERGE:23,"M-SEARCH":24,NOTIFY:25,SUBSCRIBE:26,UNSUBSCRIBE:27,PATCH:28,PURGE:29,MKCALENDAR:30,LINK:31,UNLINK:32,SOURCE:33,PRI:34,DESCRIBE:35,ANNOUNCE:36,SETUP:37,PLAY:38,PAUSE:39,TEARDOWN:40,GET_PARAMETER:41,SET_PARAMETER:42,REDIRECT:43,RECORD:44,FLUSH:45,QUERY:46},t.f={CONTINUE:100,SWITCHING_PROTOCOLS:101,PROCESSING:102,EARLY_HINTS:103,RESPONSE_IS_STALE:110,REVALIDATION_FAILED:111,DISCONNECTED_OPERATION:112,HEURISTIC_EXPIRATION:113,MISCELLANEOUS_WARNING:199,OK:200,CREATED:201,ACCEPTED:202,NON_AUTHORITATIVE_INFORMATION:203,NO_CONTENT:204,RESET_CONTENT:205,PARTIAL_CONTENT:206,MULTI_STATUS:207,ALREADY_REPORTED:208,TRANSFORMATION_APPLIED:214,IM_USED:226,MISCELLANEOUS_PERSISTENT_WARNING:299,MULTIPLE_CHOICES:300,MOVED_PERMANENTLY:301,FOUND:302,SEE_OTHER:303,NOT_MODIFIED:304,USE_PROXY:305,SWITCH_PROXY:306,TEMPORARY_REDIRECT:307,PERMANENT_REDIRECT:308,BAD_REQUEST:400,UNAUTHORIZED:401,PAYMENT_REQUIRED:402,FORBIDDEN:403,NOT_FOUND:404,METHOD_NOT_ALLOWED:405,NOT_ACCEPTABLE:406,PROXY_AUTHENTICATION_REQUIRED:407,REQUEST_TIMEOUT:408,CONFLICT:409,GONE:410,LENGTH_REQUIRED:411,PRECONDITION_FAILED:412,PAYLOAD_TOO_LARGE:413,URI_TOO_LONG:414,UNSUPPORTED_MEDIA_TYPE:415,RANGE_NOT_SATISFIABLE:416,EXPECTATION_FAILED:417,IM_A_TEAPOT:418,PAGE_EXPIRED:419,ENHANCE_YOUR_CALM:420,MISDIRECTED_REQUEST:421,UNPROCESSABLE_ENTITY:422,LOCKED:423,FAILED_DEPENDENCY:424,TOO_EARLY:425,UPGRADE_REQUIRED:426,PRECONDITION_REQUIRED:428,TOO_MANY_REQUESTS:429,REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL:430,REQUEST_HEADER_FIELDS_TOO_LARGE:431,LOGIN_TIMEOUT:440,NO_RESPONSE:444,RETRY_WITH:449,BLOCKED_BY_PARENTAL_CONTROL:450,UNAVAILABLE_FOR_LEGAL_REASONS:451,CLIENT_CLOSED_LOAD_BALANCED_REQUEST:460,INVALID_X_FORWARDED_FOR:463,REQUEST_HEADER_TOO_LARGE:494,SSL_CERTIFICATE_ERROR:495,SSL_CERTIFICATE_REQUIRED:496,HTTP_REQUEST_SENT_TO_HTTPS_PORT:497,INVALID_TOKEN:498,CLIENT_CLOSED_REQUEST:499,INTERNAL_SERVER_ERROR:500,NOT_IMPLEMENTED:501,BAD_GATEWAY:502,SERVICE_UNAVAILABLE:503,GATEWAY_TIMEOUT:504,HTTP_VERSION_NOT_SUPPORTED:505,VARIANT_ALSO_NEGOTIATES:506,INSUFFICIENT_STORAGE:507,LOOP_DETECTED:508,BANDWIDTH_LIMIT_EXCEEDED:509,NOT_EXTENDED:510,NETWORK_AUTHENTICATION_REQUIRED:511,WEB_SERVER_UNKNOWN_ERROR:520,WEB_SERVER_IS_DOWN:521,CONNECTION_TIMEOUT:522,ORIGIN_IS_UNREACHABLE:523,TIMEOUT_OCCURED:524,SSL_HANDSHAKE_FAILED:525,INVALID_SSL_CERTIFICATE:526,RAILGUN_ERROR:527,SITE_IS_OVERLOADED:529,SITE_IS_FROZEN:530,IDENTITY_PROVIDER_AUTHENTICATION_ERROR:561,NETWORK_READ_TIMEOUT:598,NETWORK_CONNECT_TIMEOUT:599},t.CV={SAFE:0,SAFE_WITH_CB:1,UNSAFE:2},t.ww={GENERAL:0,CONNECTION:1,CONTENT_LENGTH:2,TRANSFER_ENCODING:3,UPGRADE:4,CONNECTION_KEEP_ALIVE:5,CONNECTION_CLOSE:6,CONNECTION_UPGRADE:7,TRANSFER_ENCODING_CHUNKED:8},t.EW=[t.J8.DELETE,t.J8.GET,t.J8.HEAD,t.J8.POST,t.J8.PUT,t.J8.CONNECT,t.J8.OPTIONS,t.J8.TRACE,t.J8.COPY,t.J8.LOCK,t.J8.MKCOL,t.J8.MOVE,t.J8.PROPFIND,t.J8.PROPPATCH,t.J8.SEARCH,t.J8.UNLOCK,t.J8.BIND,t.J8.REBIND,t.J8.UNBIND,t.J8.ACL,t.J8.REPORT,t.J8.MKACTIVITY,t.J8.CHECKOUT,t.J8.MERGE,t.J8["M-SEARCH"],t.J8.NOTIFY,t.J8.SUBSCRIBE,t.J8.UNSUBSCRIBE,t.J8.PATCH,t.J8.PURGE,t.J8.MKCALENDAR,t.J8.LINK,t.J8.UNLINK,t.J8.PRI,t.J8.SOURCE,t.J8.QUERY],t.jJ=[t.J8.SOURCE],t.jA=[t.J8.OPTIONS,t.J8.DESCRIBE,t.J8.ANNOUNCE,t.J8.SETUP,t.J8.PLAY,t.J8.PAUSE,t.J8.TEARDOWN,t.J8.GET_PARAMETER,t.J8.SET_PARAMETER,t.J8.REDIRECT,t.J8.RECORD,t.J8.FLUSH,t.J8.GET,t.J8.POST],t.XV=(0,i.enumToMap)(t.J8),t.KO=Object.fromEntries(Object.entries(t.J8).filter(([e])=>e.startsWith("H"))),t.aC=[t.f.CONTINUE,t.f.SWITCHING_PROTOCOLS,t.f.PROCESSING,t.f.EARLY_HINTS,t.f.RESPONSE_IS_STALE,t.f.REVALIDATION_FAILED,t.f.DISCONNECTED_OPERATION,t.f.HEURISTIC_EXPIRATION,t.f.MISCELLANEOUS_WARNING,t.f.OK,t.f.CREATED,t.f.ACCEPTED,t.f.NON_AUTHORITATIVE_INFORMATION,t.f.NO_CONTENT,t.f.RESET_CONTENT,t.f.PARTIAL_CONTENT,t.f.MULTI_STATUS,t.f.ALREADY_REPORTED,t.f.TRANSFORMATION_APPLIED,t.f.IM_USED,t.f.MISCELLANEOUS_PERSISTENT_WARNING,t.f.MULTIPLE_CHOICES,t.f.MOVED_PERMANENTLY,t.f.FOUND,t.f.SEE_OTHER,t.f.NOT_MODIFIED,t.f.USE_PROXY,t.f.SWITCH_PROXY,t.f.TEMPORARY_REDIRECT,t.f.PERMANENT_REDIRECT,t.f.BAD_REQUEST,t.f.UNAUTHORIZED,t.f.PAYMENT_REQUIRED,t.f.FORBIDDEN,t.f.NOT_FOUND,t.f.METHOD_NOT_ALLOWED,t.f.NOT_ACCEPTABLE,t.f.PROXY_AUTHENTICATION_REQUIRED,t.f.REQUEST_TIMEOUT,t.f.CONFLICT,t.f.GONE,t.f.LENGTH_REQUIRED,t.f.PRECONDITION_FAILED,t.f.PAYLOAD_TOO_LARGE,t.f.URI_TOO_LONG,t.f.UNSUPPORTED_MEDIA_TYPE,t.f.RANGE_NOT_SATISFIABLE,t.f.EXPECTATION_FAILED,t.f.IM_A_TEAPOT,t.f.PAGE_EXPIRED,t.f.ENHANCE_YOUR_CALM,t.f.MISDIRECTED_REQUEST,t.f.UNPROCESSABLE_ENTITY,t.f.LOCKED,t.f.FAILED_DEPENDENCY,t.f.TOO_EARLY,t.f.UPGRADE_REQUIRED,t.f.PRECONDITION_REQUIRED,t.f.TOO_MANY_REQUESTS,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE_UNOFFICIAL,t.f.REQUEST_HEADER_FIELDS_TOO_LARGE,t.f.LOGIN_TIMEOUT,t.f.NO_RESPONSE,t.f.RETRY_WITH,t.f.BLOCKED_BY_PARENTAL_CONTROL,t.f.UNAVAILABLE_FOR_LEGAL_REASONS,t.f.CLIENT_CLOSED_LOAD_BALANCED_REQUEST,t.f.INVALID_X_FORWARDED_FOR,t.f.REQUEST_HEADER_TOO_LARGE,t.f.SSL_CERTIFICATE_ERROR,t.f.SSL_CERTIFICATE_REQUIRED,t.f.HTTP_REQUEST_SENT_TO_HTTPS_PORT,t.f.INVALID_TOKEN,t.f.CLIENT_CLOSED_REQUEST,t.f.INTERNAL_SERVER_ERROR,t.f.NOT_IMPLEMENTED,t.f.BAD_GATEWAY,t.f.SERVICE_UNAVAILABLE,t.f.GATEWAY_TIMEOUT,t.f.HTTP_VERSION_NOT_SUPPORTED,t.f.VARIANT_ALSO_NEGOTIATES,t.f.INSUFFICIENT_STORAGE,t.f.LOOP_DETECTED,t.f.BANDWIDTH_LIMIT_EXCEEDED,t.f.NOT_EXTENDED,t.f.NETWORK_AUTHENTICATION_REQUIRED,t.f.WEB_SERVER_UNKNOWN_ERROR,t.f.WEB_SERVER_IS_DOWN,t.f.CONNECTION_TIMEOUT,t.f.ORIGIN_IS_UNREACHABLE,t.f.TIMEOUT_OCCURED,t.f.SSL_HANDSHAKE_FAILED,t.f.INVALID_SSL_CERTIFICATE,t.f.RAILGUN_ERROR,t.f.SITE_IS_OVERLOADED,t.f.SITE_IS_FROZEN,t.f.IDENTITY_PROVIDER_AUTHENTICATION_ERROR,t.f.NETWORK_READ_TIMEOUT,t.f.NETWORK_CONNECT_TIMEOUT],t.Nh=[];for(let e=65;e<=90;e++)t.Nh.push(String.fromCharCode(e)),t.Nh.push(String.fromCharCode(e+32));t.Y6={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9},t.J$={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},t.pF=["0","1","2","3","4","5","6","7","8","9"],t.N_=t.Nh.concat(t.pF),t.M$=["-","_",".","!","~","*","'","(",")"],t.kp=t.N_.concat(t.M$).concat(["%",";",":","&","=","+","$",","]),t.l5=["!",'"',"$","%","&","'","(",")","*","+",",","-",".","/",":",";","<","=",">","@","[","\\","]","^","_","`","{","|","}","~"].concat(t.N_),t.UG=t.pF.concat(["a","b","c","d","e","f","A","B","C","D","E","F"]),t.jy=["!","#","$","%","&","'","*","+","-",".","^","_","`","|","~"].concat(t.N_),t.GP=[" "];for(let e=32;e<=255;e++)127!==e&&t.GP.push(e);t.Z6=t.GP.filter(e=>44!==e),t.t9=[" "," "];for(let e=33;e<=255;e++)34!==e&&92!==e&&t.t9.push(e);t.Y2=[" "," "];for(let e=33;e<=126;e++)t.Y2.push(e);for(let e=128;e<=255;e++)t.Y2.push(e);t.oC=t.Y6,t.mL=t.oC,t.XB={connection:t.ww.CONNECTION,"content-length":t.ww.CONTENT_LENGTH,"proxy-connection":t.ww.CONNECTION,"transfer-encoding":t.ww.TRANSFER_ENCODING,upgrade:t.ww.UPGRADE},t.ERROR,t.TYPE,t.Wg,t.W4,t.J8,t.f,t.CV,t.ww,t.Nh,t.Y6,t.J$,t.pF,t.N_,t.M$,t.kp,t.l5,t.UG,t.jy,t.GP,t.Z6,t.t9,t.Y2,t.oC,t.mL,t.XB,t.EW,t.jJ,t.jA,t.XV,t.KO,t.aC},9896(e,t,r){let i;e=r.nmd(e);let{Buffer:s}=r(4573);Object.defineProperty(e,"exports",{get:()=>i||(i=s.from("AGFzbQEAAAABJwdgAX8Bf2ADf39/AX9gAn9/AGABfwBgBH9/f38Bf2AAAGADf39/AALLAQgDZW52GHdhc21fb25faGVhZGVyc19jb21wbGV0ZQAEA2VudhV3YXNtX29uX21lc3NhZ2VfYmVnaW4AAANlbnYLd2FzbV9vbl91cmwAAQNlbnYOd2FzbV9vbl9zdGF0dXMAAQNlbnYUd2FzbV9vbl9oZWFkZXJfZmllbGQAAQNlbnYUd2FzbV9vbl9oZWFkZXJfdmFsdWUAAQNlbnYMd2FzbV9vbl9ib2R5AAEDZW52GHdhc21fb25fbWVzc2FnZV9jb21wbGV0ZQAAAzU0BQYAAAMAAAAAAAADAQMAAwMDAAACAAAAAAICAgICAgICAgIBAQEBAQEBAQEBAwAAAwAAAAQFAXABExMFAwEAAgYIAX8BQcDZBAsHxQcoBm1lbW9yeQIAC19pbml0aWFsaXplAAgZX19pbmRpcmVjdF9mdW5jdGlvbl90YWJsZQEAC2xsaHR0cF9pbml0AAkYbGxodHRwX3Nob3VsZF9rZWVwX2FsaXZlADcMbGxodHRwX2FsbG9jAAsGbWFsbG9jADkLbGxodHRwX2ZyZWUADARmcmVlAAwPbGxodHRwX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ACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgL5YUCAgd/A34gASACaiEEAkAgACIDKAIMIgANACADKAIEBEAgAyABNgIECyMAQRBrIgkkAAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAygCHCICQQJrDvwBAfkBAgMEBQYHCAkKCwwNDg8QERL4ARP3ARQV9gEWF/UBGBkaGxwdHh8g/QH7ASH0ASIjJCUmJygpKivzASwtLi8wMTLyAfEBMzTwAe8BNTY3ODk6Ozw9Pj9AQUJDREVGR0hJSktMTU5P+gFQUVJT7gHtAVTsAVXrAVZXWFla6gFbXF1eX2BhYmNkZWZnaGlqa2xtbm9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XAQwGC0HYAQwFC0HZAQwEC0HaAQwDC0HbAQwCC0HdAQwBC0HcAQshAgNAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQAJ/AkACQAJAAn8CQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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gIUIAMgADYCDAyRAwsgAy0ALkHAAHFFDQELQQAhAAJAIAMoAjgiAkUNACACKAJYIgJFDQAgAyACEQAAIQALIABFDSsgAEEVRgRAIANBCjYCHCADIAE2AhQgA0HrGTYCECADQRU2AgxBACECDJADC0EAIQIgA0EANgIcIAMgATYCFCADQZMMNgIQIANBEzYCDAyPAwtBACECIANBADYCHCADIAE2AhQgA0GCFTYCECADQQI2AgwMjgMLQQAhAiADQQA2AhwgAyABNgIUIANB3RQ2AhAgA0EZNgIMDI0DC0EAIQIgA0EANgIcIAMgATYCFCADQeYdNgIQIANBGTYCDAyMAwsgAEEVRg09QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIsDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFDSggA0ENNgIcIAMgATYCFCADIAA2AgwMigMLIABBFUYNOkEAIQIgA0EANgIcIAMgATYCFCADQdAPNgIQIANBIjYCDAyJAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQMyIARQRAIAFBAWohAQwoCyADQQ42AhwgAyAANgIMIAMgAUEBajYCFAyIAwsgAEEVRg03QQAhAiADQQA2AhwgAyABNgIUIANB0A82AhAgA0EiNgIMDIcDCyADKAIEIQBBACECIANBADYCBCADIAAgARAzIgBFBEAgAUEBaiEBDCcLIANBDzYCHCADIAA2AgwgAyABQQFqNgIUDIYDC0EAIQIgA0EANgIcIAMgATYCFCADQeIXNgIQIANBGTYCDAyFAwsgAEEVRg0zQQAhAiADQQA2AhwgAyABNgIUIANB1gw2AhAgA0EjNgIMDIQDCyADKAIEIQBBACECIANBADYCBCADIAAgARA0IgBFDSUgA0ERNgIcIAMgATYCFCADIAA2AgwMgwMLIABBFUYNMEEAIQIgA0EANgIcIAMgATYCFCADQdYMNgIQIANBIzYCDAyCAwsgAygCBCEAQQAhAiADQQA2AgQgAyAAIAEQNCIARQRAIAFBAWohAQwlCyADQRI2AhwgAyAANgIMIAMgAUEBajYCFAyBAwsgA0Evai0AAEEB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DQALQTQhAgzvAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFDZ8CIANBMjYCHCADIAE2AhQgAyAANgIMQQAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgARAxIgBFBEAgAUEBaiEBDJ8CCyADQTI2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIM7QILIAEgBEcEQAJAA0AgAS0AAEEwayIAQf8BcUEKTwRAQTohAgzXAgsgAykDICILQpmz5syZs+bMGVYNASADIAtCCn4iCjcDICAKIACtQv8BgyILQn+FVg0BIAMgCiALfDcDICAEIAFBAWoiAUcNAAtBwAAhAgzuAgsgAygCBCEAIANBADYCBCADIAAgAUEBaiIBEDEiAA0XDOICC0HAACECDOwCCyABIARGBEBByQAhAgzsAgsCQANAAkAgAS0AAEEJaw4YAAKiAqICqQKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogIAogILIAQgAUEBaiIBRw0AC0HJACECDOwCCyABQQFqIQEgA0Evai0AAEEBcQ2lAiADQQA2AhwgAyABNgIUIANBlxA2AhAgA0EKNgIMQQAhAgzrAgsgASAERwRAA0AgAS0AAEEgRw0VIAQgAUEBaiIBRw0AC0H4ACECDOsCC0H4ACECDOoCCyADQQI6ACgMOAtBACECIANBADYCHCADQb8LNgIQIANBAjYCDCADIAFBAWo2AhQM6AILQQAhAgzOAgtBDSECDM0CC0ETIQIMzAILQRUhAgzLAgtBFiECDMoCC0EYIQIMyQILQRkhAgzIAgtBGiECDMcCC0EbIQIMxgILQRwhAgzFAgtBHSECDMQCC0EeIQIMwwILQR8hAgzCAgtBICECDMECC0EiIQIMwAILQSMhAgy/AgtBJSECDL4CC0HlACECDL0CCyADQT02AhwgAyABNgIUIAMgADYCDEEAIQIM1QILIANBGzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDNQCCyADQSA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzTAgsgA0ETNgIcIAMgATYCFCADQZgaNgIQIANBFTYCDEEAIQIM0gILIANBCzYCHCADIAE2AhQgA0GYGjYCECADQRU2AgxBACECDNECCyADQRA2AhwgAyABNgIUIANBmBo2AhAgA0EVNgIMQQAhAgzQAgsgA0EgNgIcIAMgATYCFCADQaQcNgIQIANBFTYCDEEAIQIMzwILIANBCzYCHCADIAE2AhQgA0GkHDYCECADQRU2AgxBACECDM4CCyADQQw2AhwgAyABNgIUIANBpBw2AhAgA0EVNgIMQQAhAgzNAgtBACECIANBADYCHCADIAE2AhQgA0HdDjYCECADQRI2AgwMzAILAkADQAJAIAEtAABBCmsOBAACAgACCyAEIAFBAWoiAUcNAAtB/QEhAgzMAgsCQAJAIAMtADZBAUcNAEEAIQACQCADKAI4IgJFDQAgAigCYCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUcNASADQfwBNgIcIAMgATYCFCADQdwZNgIQIANBFTYCDEEAIQIMzQILQdwBIQIMswILIANBADYCHCADIAE2AhQgA0H5CzYCECADQR82AgxBACECDMsCCwJAAkAgAy0AKEEBaw4CBAEAC0HbASECDLICC0HUASECDLECCyADQQI6ADFBACEAAkAgAygCOCICRQ0AIAIoAgAiAkUNACADIAIRAAAhAAsgAEUEQEHdASECDLECCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQbQMNgIQIANBEDYCDEEAIQIMygILIANB+wE2AhwgAyABNgIUIANBgRo2AhAgA0EVNgIMQQAhAgzJAgsgASAERgRAQfoBIQIMyQILIAEtAABByABGDQEgA0EBOgAoC0HAASECDK4CC0HaASECDK0CCyABIARHBEAgA0EMNgIIIAMgATYCBEHZASECDK0CC0H5ASECDMUCCyABIARGBEBB+AEhAgzFAgsgAS0AAEHIAEcNBCABQQFqIQFB2AEhAgyrAgsgASAERgRAQfcBIQIMxAILAkACQCABLQAAQcUAaw4QAAUFBQUFBQUFBQUFBQUFAQULIAFBAWohAUHWASECDKsCCyABQQFqIQFB1wEhAgyqAgtB9gEhAiABIARGDcICIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbrVAGotAABHDQMgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMMCCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIARQRAQeMBIQIMqgILIANB9QE2AhwgAyABNgIUIAMgADYCDEEAIQIMwgILQfQBIQIgASAERg3BAiADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEG41QBqLQAARw0CIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzCAgsgA0GBBDsBKCADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQLiIADQMMAgsgA0EANgIAC0EAIQIgA0EANgIcIAMgATYCFCADQeUfNgIQIANBCDYCDAy/AgtB1QEhAgylAgsgA0HzATYCHCADIAE2AhQgAyAANgIMQQAhAgy9AgtBACEAAkAgAygCOCICRQ0AIAIoAkAiAkUNACADIAIRAAAhAAsgAEUNbiAAQRVHBEAgA0EANgIcIAMgATYCFCADQYIPNgIQIANBIDYCDEEAIQIMvQILIANBjwE2AhwgAyABNgIUIANB7Bs2AhAgA0EVNgIMQQAhAgy8AgsgASAERwRAIANBDTYCCCADIAE2AgRB0wEhAgyjAgtB8gEhAgy7AgsgASAERgRAQfEBIQIMuwILAkACQAJAIAEtAABByABrDgsAAQgICAgICAgIAggLIAFBAWohAUHQASECDKMCCyABQQFqIQFB0QEhAgyiAgsgAUEBaiEBQdIBIQIMoQILQfABIQIgASAERg25AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBtdUAai0AAEcNBCAAQQJGDQMgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuQILQe8BIQIgASAERg24AiADKAIAIgAgBCABa2ohBiABIABrQQFqIQUDQCABLQAAIABBs9UAai0AAEcNAyAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMuAILQe4BIQIgASAERg23AiADKAIAIgAgBCABa2ohBiABIABrQQJqIQUDQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAY2AgAMtwILIAMoAgQhACADQgA3AwAgAyAAIAVBAWoiARArIgBFDQIgA0HsATYCHCADIAE2AhQgAyAANgIMQQAhAgy2AgsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNnAIgA0HtATYCHCADIAE2AhQgAyAANgIMQQAhAgy0AgtBzwEhAgyaAgtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDLQCC0HOASECDJoCCyADQesBNgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMsgILIAEgBEYEQEHrASECDLICCyABLQAAQS9GBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GyODYCECADQQg2AgxBACECDLECC0HNASECDJcCCyABIARHBEAgA0EONgIIIAMgATYCBEHMASECDJcCC0HqASECDK8CCyABIARGBEBB6QEhAgyvAgsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFBywEhAgyWAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZcCIANB6AE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAEgBEYEQEHnASECDK4CCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5gE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILQcoBIQIMlAILIAEgBEYEQEHlASECDK0CC0EAIQBBASEFQQEhB0EAIQICQAJAAkACQAJAAn8CQAJAAkACQAJAAkACQCABLQAAQTBrDgoKCQABAgMEBQYICwtBAgwGC0EDDAULQQQMBAtBBQwDC0EGDAILQQcMAQtBCAshAkEAIQVBACEHDAILQQkhAkEBIQBBACEFQQAhBwwBC0EAIQVBASECCyADIAI6ACsgAUEBaiEBAkACQCADLQAuQRBxDQACQAJAAkAgAy0AKg4DAQACBAsgB0UNAwwCCyAADQEMAgsgBUUNAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDQIgA0HiATYCHCADIAE2AhQgAyAANgIMQQAhAgyvAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZoCIANB4wE2AhwgAyABNgIUIAMgADYCDEEAIQIMrgILIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ2YAiADQeQBNgIcIAMgATYCFCADIAA2AgwMrQILQckBIQIMkwILQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANBpA02AhAgA0EhNgIMQQAhAgytAgtByAEhAgyTAgsgA0HhATYCHCADIAE2AhQgA0HQGjYCECADQRU2AgxBACECDKsCCyABIARGBEBB4QEhAgyrAgsCQCABLQAAQSBGBEAgA0EAOwE0IAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBmRE2AhAgA0EJNgIMQQAhAgyrAgtBxwEhAgyRAgsgASAERgRAQeABIQIMqgILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyrAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqgILQcYBIQIMkAILIAEgBEYEQEHfASECDKkCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqgILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKkCC0HFASECDI8CCyABIARGBEBB3gEhAgyoAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKkCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyoAgtBxAEhAgyOAgsgASAERgRAQd0BIQIMpwILAkACQAJAAkAgAS0AAEEKaw4XAgMDAAMDAwMDAwMDAwMDAwMDAwMDAwEDCyABQQFqDAULIAFBAWohAUHDASECDI8CCyABQQFqIQEgA0Evai0AAEEBcQ0IIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKcCCyADQQA2AhwgAyABNgIUIANBjQs2AhAgA0ENNgIMQQAhAgymAgsgASAERwRAIANBDzYCCCADIAE2AgRBASECDI0CC0HcASECDKUCCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtB2wEhAgymAgsgAygCBCEAIANBADYCBCADIAAgARAtIgBFBEAgAUEBaiEBDAQLIANB2gE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMpQILIAMoAgQhACADQQA2AgQgAyAAIAEQLSIADQEgAUEBagshAUHBASECDIoCCyADQdkBNgIcIAMgADYCDCADIAFBAWo2AhRBACECDKICC0HCASECDIgCCyADQS9qLQAAQQFxDQEgA0EANgIcIAMgATYCFCADQeQcNgIQIANBGTYCDEEAIQIMoAILIAEgBEYEQEHZASECDKACCwJAAkACQCABLQAAQQprDgQBAgIAAgsgAUEBaiEBDAILIAFBAWohAQwBCyADLQAuQcAAcUUNAQtBACEAAkAgAygCOCICRQ0AIAIoAjwiAkUNACADIAIRAAAhAAsgAEUNoAEgAEEVRgRAIANB2QA2AhwgAyABNgIUIANBtxo2AhAgA0EVNgIMQQAhAgyfAgsgA0EANgIcIAMgATYCFCADQYANNgIQIANBGzYCDEEAIQIMngILIANBADYCHCADIAE2AhQgA0HcKDYCECADQQI2AgxBACECDJ0CCyABIARHBEAgA0EMNgIIIAMgATYCBEG/ASECDIQCC0H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ASECDOQBCyABQQFqIQFBnwEhAgzjAQtBtwEhAiABIARGDfsBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQezUAGotAABHDSggAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPwBCyADQQA2AgAgBkEBaiEBQQ0MKAtBtgEhAiABIARGDfoBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDScgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPsBCyADQQA2AgAgBkEBaiEBQQwMJwtBtQEhAiABIARGDfkBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQerUAGotAABHDSYgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPoBCyADQQA2AgAgBkEBaiEBQQMMJgtBtAEhAiABIARGDfgBIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQejUAGotAABHDSUgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADPkBCyADQQA2AgAgBkEBaiEBQSYMJQsgASAERgRAQbMBIQIM+AELAkACQCABLQAAQdQAaw4CAAEnCyABQQFqIQFBmQEhAgzfAQsgAUEBaiEBQZoBIQIM3gELQbIBIQIgASAERg32ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHm1ABqLQAARw0jIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz3AQsgA0EANgIAIAZBAWohAUEnDCMLQbEBIQIgASAERg31ASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEHk1ABqLQAARw0iIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAz2AQsgA0EANgIAIAZBAWohAUEcDCILQbABIQIgASAERg30ASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHe1ABqLQ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QFqIQFBFQwZC0GnASECIAEgBEYN6wEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBx9QAai0AAEcNGCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM7AELIANBADYCACAGQQFqIQFBFwwYC0GmASECIAEgBEYN6gEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBwdQAai0AAEcNFyAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6wELIANBADYCACAGQQFqIQFBGAwXCyABIARGBEBBpQEhAgzqAQsCQAJAIAEtAABByQBrDgcAGRkZGRkBGQsgAUEBaiEBQYsBIQIM0QELIAFBAWohAUGMASECDNABC0GkASECIAEgBEYN6AEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBptUAai0AAEcNFSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6QELIANBADYCACAGQQFqIQFBCQwVC0GjASECIAEgBEYN5wEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBpNUAai0AAEcNFCAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM6AELIANBADYCACAGQQFqIQFBHwwUC0GiASECIAEgBEYN5gEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBvtQAai0AAEcNEyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5wELIANBADYCACAGQQFqIQFBAgwTC0GhASECIAEgBEYN5QEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGA0AgAS0AACAAQbzUAGotAABHDREgAEEBRg0CIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADOUBCyABIARGBEBBoAEhAgzlAQtBASABLQAAQd8ARw0RGiABQQFqIQFBhwEhAgzLAQsgA0EANgIAIAZBAWohAUGIASECDMoBC0GfASECIAEgBEYN4gEgA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CAAzaAQsgA0EANgIAIAZBAWohAUEFDAYLQZUBIQIgASAERg3YASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEGm1ABqLQAARw0FIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzZAQsgA0EANgIAIAZBAWohAUEWDAULQZQBIQIgASAERg3XASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGh1QBqLQAARw0EIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzYAQsgA0EANgIAIAZBAWohAUEQDAQLIAEgBEYEQEGTASECDNcBCwJAAkAgAS0AAEHDAGsODAAGBgYGBgYGBgYGAQYLIAFBAWohAUH5ACECDL4BCyABQQFqIQFB+gAhAgy9AQtBkgEhAiABIARGDdUBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQaDUAGotAABHDQIgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNYBCyADQQA2AgAgBkEBaiEBQSQMAgsgA0EANgIADAILIAEgBEYEQEGRASECDNQBCyABLQAAQcwARw0BIAFBAWohAUETCzoAKSADKAIEIQAgA0EANgIEIAMgACABEC4iAA0CDAELQQAhAiADQQA2AhwgAyABNgIUIANB/h82AhAgA0EGNgIMDNEBC0H4ACECDLcBCyADQZABNgIcIAMgATYCFCADIAA2AgxBACECDM8BC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ0AIABBFUYNASADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgzOAQtB9wAhAgy0AQsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDMwBCyABIARGBEBBjwEhAgzMAQsCQCABLQAAQSBGBEAgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GbHzYCECADQQY2AgxBACECDMwBC0ECIQIMsgELA0AgAS0AAEEgRw0CIAQgAUEBaiIBRw0AC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CHCADIAE2AhQgA0GNFDYCECADQQc2AgxBACECDKgBCwJAAkACQAJAA0AgAS0AAEGgygBqLQAAIgBBBUcEQAJAIABBAWsOBi4DBAUGAAYLQegAIQIMlAELIAQgAUEBaiIBRw0AC0H9ACECDKsBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQdsANgIcIAMgATYCFCADIAA2AgxBACECDKoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDKkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNByADQfoANgIcIAMgATYCFCADIAA2AgxBACECDKgBCyADQQA2AhwgAyABNgIUIANB5Ag2AhAgA0EHNgIMQQAhAgynAQsgASAERg0BIAFBAWoLIQFBBiECDIwBC0H8ACECDKQBCwJAAkACQAJAA0AgAS0AAEGgyABqLQAAIgBBBUcEQCAAQQFrDgQpAgMEBQsgBCABQQFqIgFHDQALQfsAIQIMpwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMpgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMpQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0DIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMpAELIANBADYCHCADIAE2AhQgA0G8CjYCECADQQc2AgxBACECDKMBC0HPACECDIkBC0HRACECDIgBC0HnACECDIcBCyABIARGBEBB+gAhAgygAQsCQCABLQAAQQlrDgQgAAAgAAsgAUEBaiEBQeYAIQIMhgELIAEgBEYEQEH5ACECDJ8BCwJAIAEtAABBCWsOBB8AAB8AC0EAIQACQCADKAI4IgJFDQAgAigCOCICRQ0AIAMgAhEAACEACyAARQRAQeIBIQIMhgELIABBFUcEQCADQQA2AhwgAyABNgIUIANByQ02AhAgA0EaNgIMQQAhAgyfAQsgA0H4ADYCHCADIAE2AhQgA0HqGjYCECADQRU2AgxBACECDJ4BCyABIARHBEAgA0ENNgIIIAMgATYCBEHkACECDIUBC0H3ACECDJ0BCyABIARGBEBB9gAhAgydAQsCQAJAAkAgAS0AAEHIAGsOCwABCwsLCwsLCwsCCwsgAUEBaiEBQd0AIQIMhQELIAFBAWohAUHgACECDIQBCyABQQFqIQFB4wAhAgyDAQtB9QAhAiABIARGDZsBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbXVAGotAABHDQggAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJwBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIABEAgA0H0ADYCHCADIAE2AhQgAyAANgIMQQAhAgycAQtB4gAhAgyCAQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJwBC0HhACECDIIBCyADQfMANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMmgELIAMtACkiAEEja0ELSQ0JAkAgAEEGSw0AQQEgAHRBygBxRQ0ADAoLQQAhAiADQQA2AhwgAyABNgIUIANB7Qk2AhAgA0EINgIMDJkBC0HyACECIAEgBEYNmAEgAygCACIAIAQgAWtqIQUgASAAa0EBaiEGAkADQCABLQAAIABBs9UAai0AAEcNBSAAQQFGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMmQELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfEANgIcIAMgATYCFCADIAA2AgxBACECDJkBC0HfACECDH8LQQAhAAJAIAMoAjgiAkUNACACKAI0IgJFDQAgAyACEQAAIQALAkAgAARAIABBFUYNASADQQA2AhwgAyABNgIUIANB6g02AhAgA0EmNgIMQQAhAgyZAQtB3gAhAgx/CyADQfAANgIcIAMgATYCFCADQYAbNgIQIANBFTYCDEEAIQIMlwELIAMtAClBIUYNBiADQQA2AhwgAyABNgIUIANBkQo2AhAgA0EINgIMQQAhAgyWAQtB7wAhAiABIARGDZUBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDVAGotAABHDQIgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADJYBCyADKAIEIQAgA0IANwMAIAMgACAGQQFqIgEQKyIARQ0CIANB7QA2AhwgAyABNgIUIAMgADYCDEEAIQIMlQELIANBADYCAAsgAygCBCEAIANBADYCBCADIAAgARArIgBFDYABIANB7gA2AhwgAyABNgIUIAMgADYCDEEAIQIMkwELQdwAIQIMeQtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJMBC0HbACECDHkLIANB7AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyRAQsgAy0AKSIAQSNJDQAgAEEuRg0AIANBADYCHCADIAE2AhQgA0HJCTYCECADQQg2AgxBACECDJABC0HaACECDHYLIAEgBEYEQEHrACECDI8BCwJAIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMjwELQdkAIQIMdQsgASAERwRAIANBDjYCCCADIAE2AgRB2AAhAgx1C0HqACECDI0BCyABIARGBEBB6QAhAgyNAQsgAS0AAEEwayIAQf8BcUEKSQRAIAMgADoAKiABQQFqIQFB1wAhAgx0CyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeiADQegANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyABIARGBEBB5wAhAgyMAQsCQCABLQAAQS5GBEAgAUEBaiEBDAELIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ17IANB5gA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELQdYAIQIMcgsgASAERgRAQeUAIQIMiwELQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIANgIcIAMgATYCFCADIAA2AgxBACECDI0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNfSADQeMANgIcIAMgATYCFCADIAA2AgxBACECDIwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNeyADQeQANgIcIAMgATYCFCADIAA2AgwMiwELQdQAIQIMcQsgAy0AKUEiRg2GAUHTACECDHALQQAhAAJAIAMoAjgiAkUNACACKAJEIgJFDQAgAyACEQAAIQALIABFBEBB1QAhAgxwCyAAQRVHBEAgA0EANgIcIAMgATYCFCADQaQNNgIQIANBITYCDEEAIQIMiQELIANB4QA2AhwgAyABNgIUIANB0Bo2AhAgA0EVNgIMQQAhAgyIAQsgASAERgRAQeAAIQIMiAELAkACQAJAAkACQCABLQAAQQprDgQBBAQABAsgAUEBaiEBDAELIAFBAWohASADQS9qLQAAQQFxRQ0BC0HSACECDHALIANBADYCHCADIAE2AhQgA0G2ETYCECADQQk2AgxBACECDIgBCyADQQA2AhwgAyABNgIUIANBthE2AhAgA0EJNgIMQQAhAgyHAQsgASAERgRAQd8AIQIMhwELIAEtAABBCkYEQCABQQFqIQEMCQsgAy0ALkHAAHENCCADQQA2AhwgAyABNgIUIANBthE2AhAgA0ECNgIMQQAhAgyGAQsgASAERgRAQd0AIQIMhgELIAEtAAAiAkENRgRAIAFBAWohAUHQACECDG0LIAEhACACQQlrDgQFAQEFAQsgBCABIgBGBEBB3AAhAgyFAQsgAC0AAEEKRw0AIABBAWoMAgtBACECIANBADYCHCADIAA2AhQgA0HKLTYCECADQ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CBCIBRQ0AIAMgASAEIAMoAggRAQAiAUUNACADIAQ2AhQgAyABNgIMIAEhAAsgAAu+AgECfyAAQQA6AAAgAEHkAGoiAUEBa0EAOgAAIABBADoAAiAAQQA6AAEgAUEDa0EAOgAAIAFBAmtBADoAACAAQQA6AAMgAUEEa0EAOgAAQQAgAGtBA3EiASAAaiIAQQA2AgBB5AAgAWtBfHEiAiAAaiIBQQRrQQA2AgACQCACQQlJDQAgAEEANgIIIABBADYCBCABQQhrQQA2AgAgAUEMa0EANgIAIAJBGUkNACAAQQA2AhggAEEANgIUIABBADYCECAAQQA2AgwgAUEQa0EANgIAIAFBFGtBADYCACABQRhrQQA2AgAgAUEca0EANgIAIAIgAEEEcUEYciICayIBQSBJDQAgACACaiEAA0AgAEIANwMYIABCADcDECAAQgA3AwggAEIANwMAIABBIGohACABQSBrIgFBH0sNAAsLC1YBAX8CQCAAKAIMDQACQAJAAkACQCAALQAxDgMBAAMCCyAAKAI4IgFFDQAgASgCMCIBRQ0AIAAgAREAACIBDQMLQQAPCwALIABByhk2AhBBDiEBCyABCxoAIAAoAgxFBEAgAEHeHzYCECAAQRU2AgwLCxQAIAAoAgxBFUYEQCAAQQA2AgwLCxQAIAAoAgxBFkYEQCAAQQA2AgwLCwcAIAAoAgwLBwAgACgCEAsJACAAIAE2AhALBwAgACgCFAsrAAJAIABBJ08NAEL//////wkgAK2IQgGDUA0AIABBAnRB0DhqKAIADwsACxcAIABBL08EQAALIABBAnRB7DlqKAIAC78JAQF/QfQtIQECQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCAAQeQAaw70A2Ni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QhAiAAKAIAIQACQANAIAAiAygCBEF4cSAERg0BIAJBHXYhACACQQF0IQIgAyAAQQRxakEQaiIHKAIAIgANAAsgByABNgIAIAEgAzYCGCABIAE2AgwgASABNgIIDAELIAMoAggiACABNgIMIAMgATYCCCABQQA2AhggASADNgIMIAEgADYCCAtB5NUAQeTVACgCAEEBayIAQX8gABs2AgALCwcAIAAtACgLBwAgAC0AKgsHACAALQArCwcAIAAtACkLBwAgAC8BNAsHACAALQAwC0ABBH8gACgCGCEBIAAvAS4hAiAALQAoIQMgACgCOCEEIAAQOCAAIAQ2AjggACADOgAoIAAgAjsBLiAAIAE2AhgLhocCAwd/A34BeyABIAJqIQQCQCAAIgMoAgwiAA0AIAMoAgQEQCADIAE2AgQLIwBBEGsiCSQAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQCADKAIcIgJBAmsO/AEB+QECAwQFBgcICQoLDA0OD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UBDBkLQcYBDBgLQccBDBcLQcgBDBYLQckBDBULQcoBDBQLQcsBDBMLQcwBDBILQc0BDBELQc4BDBALQc8BDA8LQdABDA4LQdEBDA0LQdIBDAwLQdMBDAsLQdQBDAoLQdUBDAkLQdYBDAgLQeMBDAcLQdcBDAYLQdgBDAULQdkBDAQLQdoBDAMLQdsBDAILQd0BDAELQdwBCyECA0ACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAIAMCfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAAn8CQAJAAkACfwJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkAgAwJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJ/AkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQAJAAkACQ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hQgA0GfFTYCECADQQw2AgwM7wILIAEgBEcEQANAIAEtAABBIEcNhAIgBCABQQFqIgFHDQALQSwhAgzvAgtBLCECDO4CCyABIARGBEBBNCECDO4CCwJAAkADQAJAIAEtAABBCmsOBAIAAAMACyAEIAFBAWoiAUcNAAtBNCECDO8CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUNnwIgA0EyNgIcIAMgATYCFCADIAA2AgxBACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABEDEiAEUEQCABQQFqIQEMnwILIANBMjYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgztAgsgASAERwRAAkADQCABLQAAQTBrIgBB/wFxQQpPBEBBOiECDNcCCyADKQMgIgtCmbPmzJmz5swZVg0BIAMgC0IKfiIKNwMgIAogAK1C/wGDIgtCf4VWDQEgAyAKIAt8NwMgIAQgAUEBaiIBRw0AC0HAACECDO4CCyADKAIEIQAgA0EANgIEIAMgACABQQFqIgEQMSIADRcM4gILQcAAIQIM7AILIAEgBEYEQEHJACECDOwCCwJAA0ACQCABLQAAQQlrDhgAAqICogKpAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAqICogKiAgCiAgsgBCABQQFqIgFHDQALQckAIQIM7AILIAFBAWohASADQS9qLQAAQQFxDaUCIANBADYCHCADIAE2AhQgA0GXEDYCECADQQo2AgxBACECDOsCCyABIARHBEADQCABLQAAQSBHDRUgBCABQQFqIgFHDQALQfgAIQIM6wILQfgAIQIM6gILIANBAjoAKAw4C0EAIQIgA0EANgIcIANBvws2AhAgA0ECNgIMIAMgAUEBajYCFAzoAgtBACECDM4CC0ENIQIMzQILQRMhAgzMAgtBFSECDMsCC0EWIQIMygILQRghAgzJAgtBGSECDMgCC0EaIQIMxwILQRshAgzGAgtBHCECDMUCC0EdIQIMxAILQR4hAgzDAgtBHyECDMICC0EgIQIMwQILQSIhAgzAAgtBIyECDL8CC0ElIQIMvgILQeUAIQIMvQILIANBPTYCHCADIAE2AhQgAyAANgIMQQAhAgzVAgsg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gzEAgsCQAJAIAEtAABBxQBrDhAABQUFBQUFBQUFBQUFBQUBBQsgAUEBaiEBQdYBIQIMqwILIAFBAWohAUHXASECDKoCC0H2ASECIAEgBEYNwgIgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABButUAai0AAEcNAyAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMwwILIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgBFBEBB4wEhAgyqAgsgA0H1ATYCHCADIAE2AhQgAyAANgIMQQAhAgzCAgtB9AEhAiABIARGDcECIAMoAgAiACAEIAFraiEFIAEgAGtBAWohBgJAA0AgAS0AACAAQbjVAGotAABHDQIgAEEBRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADMICCyADQYEEOwEoIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARAuIgANAwwCCyADQQA2AgALQQAhAiADQQA2AhwgAyABNgIUIANB5R82AhAgA0EINgIMDL8CC0HVASECDKUCCyADQfMBNgIcIAMgATYCFCADIAA2AgxBACECDL0CC0EAIQACQCADKAI4IgJFDQAgAigCQCICRQ0AIAMgAhEAACEACyAARQ1uIABBFUcEQCADQQA2AhwgAyABNgIUIANBgg82AhAgA0EgNgIMQQAhAgy9AgsgA0GPATYCHCADIAE2AhQgA0HsGzYCECADQRU2AgxBACECDLwCCyABIARHBEAgA0ENNgIIIAMgATYCBEHTASECDKMCC0HyASECDLsCCyABIARGBEBB8QEhAgy7AgsCQAJAAkAgAS0AAEHIAGsOCwABCAgICAgICAgCCAsgAUEBaiEBQdABIQIMowILIAFBAWohAUHRASECDKICCyABQQFqIQFB0gEhAgyhAgtB8AEhAiABIARGDbkCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEG11QBqLQAARw0EIABBAkYNAyAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy5AgtB7wEhAiABIARGDbgCIAMoAgAiACAEIAFraiEGIAEgAGtBAWohBQNAIAEtAAAgAEGz1QBqLQAARw0DIABBAUYNAiAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy4AgtB7gEhAiABIARGDbcCIAMoAgAiACAEIAFraiEGIAEgAGtBAmohBQNAIAEtAAAgAEGw1QBqLQAARw0CIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBjYCAAy3AgsgAygCBCEAIANCADcDACADIAAgBUEBaiIBECsiAEUNAiADQewBNgIcIAMgATYCFCADIAA2AgxBACECDLYCCyADQQA2AgALIAMoAgQhACADQQA2AgQgAyAAIAEQKyIARQ2cAiADQe0BNgIcIAMgATYCFCADIAA2AgxBACECDLQCC0HPASECDJoCC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMtAILQc4BIQIMmgILIANB6wE2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyyAgsgASAERgRAQesBIQIMsgILIAEtAABBL0YEQCABQQFqIQEMAQsgA0EANgIcIAMgATYCFCADQbI4NgIQIANBCDYCDEEAIQIMsQILQc0BIQIMlwILIAEgBEcEQCADQQ42AgggAyABNgIEQcwBIQIMlwILQeoBIQIMrwILIAEgBEYEQEHpASECDK8CCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHLASECDJYCCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNlwIgA0HoATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgASAERgRAQecBIQIMrgILAkAgAS0AAEEuRgRAIAFBAWohAQwBCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmAIgA0HmATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgtBygEhAgyUAgsgASAERgRAQeUBIQIMrQILQQAhAEEBIQVBASEHQQAhAgJAAkACQAJAAkACfwJAAkACQAJAAkACQAJAIAEtAABBMGsOCgoJAAECAwQFBggLC0ECDAYLQQMMBQtBBAwEC0EFDAMLQQYMAgtBBwwBC0EICyECQQAhBUEAIQcMAgtBCSECQQEhAEEAIQVBACEHDAELQQAhBUEBIQILIAMgAjoAKyABQQFqIQECQAJAIAMtAC5BEHENAAJAAkACQCADLQAqDgMBAAIECyAHRQ0DDAILIAANAQwCCyAFRQ0BCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNAiADQeIBNgIcIAMgATYCFCADIAA2AgxBACECDK8CCyADKAIEIQAgA0EANgIEIAMgACABEC8iAEUNmgIgA0HjATYCHCADIAE2AhQgAyAANgIMQQAhAgyuAgsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDZgCIANB5AE2AhwgAyABNgIUIAMgADYCDAytAgtByQEhAgyTAgtBACEAAkAgAygCOCICRQ0AIAIoAkQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GkDTYCECADQSE2AgxBACECDK0CC0HIASECDJMCCyADQeEBNgIcIAMgATYCFCADQdAaNgIQIANBFTYCDEEAIQIMqwILIAEgBEYEQEHhASECDKsCCwJAIAEtAABBIEYEQCADQQA7ATQgAUEBaiEBDAELIANBADYCHCADIAE2AhQgA0GZETYCECADQQk2AgxBACECDKsCC0HHASECDJECCyABIARGBEBB4AEhAgyqAgsCQCABLQAAQTBrQf8BcSICQQpJBEAgAUEBaiEBAkAgAy8BNCIAQZkzSw0AIAMgAEEKbCIAOwE0IABB/v8DcSACQf//A3NLDQAgAyAAIAJqOwE0DAILQQAhAiADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMDKsCCyADQQA2AhwgAyABNgIUIANBlR42AhAgA0ENNgIMQQAhAgyqAgtBxgEhAgyQAgsgASAERgRAQd8BIQIMqQILAkAgAS0AAEEwa0H/AXEiAkEKSQRAIAFBAWohAQJAIAMvATQiAEGZM0sNACADIABBCmwiADsBNCAAQf7/A3EgAkH//wNzSw0AIAMgACACajsBNAwCC0EAIQIgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDAyqAgsgA0EANgIcIAMgATYCFCADQZUeNgIQIANBDTYCDEEAIQIMqQILQcUBIQIMjwILIAEgBEYEQEHeASECDKgCCwJAIAEtAABBMGtB/wFxIgJBCkkEQCABQQFqIQECQCADLwE0IgBBmTNLDQAgAyAAQQpsIgA7ATQgAEH+/wNxIAJB//8Dc0sNACADIAAgAmo7ATQMAgtBACECIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgwMqQILIANBADYCHCADIAE2AhQgA0GVHjYCECADQQ02AgxBACECDKgCC0HEASECDI4CCyABIARGBEBB3QEhAgynAgsCQAJAAkACQCABLQAAQQprDhcCAwMAAwMDAwMDAwMDAwMDAwMDAwMDAQMLIAFBAWoMBQsgAUEBaiEBQcMBIQIMjwILIAFBAWohASADQS9qLQAAQQFxDQggA0EANgIcIAMgATYCFCADQY0LNgIQIANBDTYCDEEAIQIMpwILIANBADYCHCADIAE2AhQgA0GNCzYCECADQQ02AgxBACECDKYCCyABIARHBEAgA0EPNgIIIAMgATYCBEEBIQIMjQILQdwBIQIMpQILAkACQANAAkAgAS0AAEEKaw4EAgAAAwALIAQgAUEBaiIBRw0AC0HbASECDKYCCyADKAIEIQAgA0EANgIEIAMgACABEC0iAEUEQCABQQFqIQEMBAsgA0HaATYCHCADIAA2AgwgAyABQQFqNgIUQQAhAgylAgsgAygCBCEAIANBADYCBCADIAAgARAtIgANASABQQFqCyEBQcEBIQIMigILIANB2QE2AhwgAyAANgIMIAMgAUEBajYCFEEAIQIMogILQcIBIQIMiAILIANBL2otAABBAXENASADQQA2AhwgAyABNgIUIANB5Bw2AhAgA0EZNgIMQQAhAgygAgsgASAERgRAQdkBIQIMoAILAkACQAJAIAEtAABBCmsOBAECAgACCyABQQFqIQEMAgsgAUEBaiEBDAELIAMtAC5BwABxRQ0BC0EAIQACQCADKAI4IgJFDQAgAigCPCICRQ0AIAMgAhEAACEACyAARQ2gASAAQRVGBEAgA0HZADYCHCADIAE2AhQgA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ADIAU2AgAMkAILIANBADYCACAGQQFqIQFBGgw8C0HKASECIAEgBEYNjgIgAygCACIAIAQgAWtqIQUgASAAa0EDaiEGAkADQCABLQAAIABBjdUAai0AAEcNOyAAQQNGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMjwILIANBADYCACAGQQFqIQFBIQw7CyABIARGBEBByQEhAgyOAgsCQAJAIAEtAABBwQBrDhQAPT09PT09PT09PT09PT09PT09AT0LIAFBAWohAUGtASECDPUBCyABQQFqIQFBsAEhAgz0AQsgASAERgRAQcgBIQIMjQILAkACQCABLQAAQdUAaw4LADw8PDw8PDw8PAE8CyABQQFqIQFBrgEhAgz0AQsgAUEBaiEBQa8BIQIM8wELQccBIQIgASAERg2LAiADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw04IABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyMAgsgA0EANgIAIAZBAWohAUEqDDgLIAEgBEYEQEHGASECDIsCCyABLQAAQdAARw04IAFBAWohAUElDDcLQcUBIQIgASAERg2JAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEGB1QBqLQAARw02IABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyKAgsgA0EANgIAIAZBAWohAUEODDYLIAEgBEYEQEHEASECDIkCCyABLQAAQcUARw02IAFBAWohAUGrASECDO8BCyABIARGBEBBwwEhAgyIAgsCQAJAAkACQCABLQAAQcIAaw4PAAECOTk5OTk5OTk5OTkDOQsgAUEBaiEBQacBIQIM8QELIAFBAWohAUGoASECDPABCyABQQFqIQFBqQEhAgzvAQsgAUEBaiEBQaoBIQIM7gELQcIBIQIgASAERg2GAiADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEH+1ABqLQAARw0zIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyHAgsgA0EANgIAIAZBAWohAUEUD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AQsgA0EANgIAIAZBAWohAUEeDBoLQagBIQIgASAERg3sASADKAIAIgAgBCABa2ohBSABIABrQQZqIQYCQANAIAEtAAAgAEHK1ABqLQAARw0ZIABBBkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAztAQsgA0EANgIAIAZBAWohAUEVDBkLQacBIQIgASAERg3rASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEHH1ABqLQAARw0YIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzsAQsgA0EANgIAIAZBAWohAUEXDBgLQaYBIQIgASAERg3qASADKAIAIgAgBCABa2ohBSABIABrQQVqIQYCQANAIAEtAAAgAEHB1ABqLQAARw0XIABBBUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzrAQsgA0EANgIAIAZBAWohAUEYDBcLIAEgBEYEQEGlASECDOoBCwJAAkAgAS0AAEHJAGsOBwAZGRkZGQEZCyABQQFqIQFBiwEhAgzRAQsgAUEBaiEBQYwBIQIM0AELQaQBIQIgASAERg3oASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGm1QBqLQAARw0VIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzpAQsgA0EANgIAIAZBAWohAUEJDBULQaMBIQIgASAERg3nASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGk1QBqLQAARw0UIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzoAQsgA0EANgIAIAZBAWohAUEfDBQLQaIBIQIgASAERg3mASADKAIAIgAgBCABa2ohBSABIABrQQJqIQYCQANAIAEtAAAgAEG+1ABqLQAARw0TIABBAkYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAznAQsgA0EANgIAIAZBAWohAUECDBMLQaEBIQIgASAERg3lASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYDQCABLQAAIABBvNQAai0AAEcNESAAQQFGDQIgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM5QELIAEgBEYEQEGgASECDOUBC0EBIAEtAABB3wBHDREaIAFBAWohAUGHASECDMsBCyADQQA2AgAgBkEBaiEBQYgBIQIMygELQZ8BIQIgASAERg3iASADKAIAIgAgBCABa2ohBSABIABrQQhqIQYCQANAIAEtAAAgAEGE1QBqLQAARw0PIABBCEYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAzjAQsgA0EANgIAIAZBAWohAUEpDA8LQZ4BIQIgASAERg3hASADKAIAIgAgBCABa2ohBSABIABrQQNqIQYCQANAIAEtAAAgAEG41ABqLQAARw0OIABBA0YNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAziAQsgA0EANgIAIAZBAWohAUEtDA4LIAEgBEYEQEGdASECDOEBCyABLQAAQcUARw0OIAFBAWohAUGEASECDMcBCyABIARGBEBBnAEhAgzgAQsCQAJAIAEtAABBzABrDggADw8PDw8PAQ8LIAFBAWohAUGCASECDMcBCyABQQFqIQFBgwEhAgzGAQtBmwEhAiABIARGDd4BIAMoAgAiACAEIAFraiEFIAEgAGtBBGohBgJAA0AgAS0AACAAQbPUAGotAABHDQsgAEEERg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN8BCyADQQA2AgAgBkEBaiEBQSMMCwtBmgEhAiABIARGDd0BIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQbDUAGotAABHDQogAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADN4BCyADQQA2AgAgBkEBaiEBQQAMCgsgASAERgRAQZkBIQIM3QELAkACQCABLQAAQcgAaw4IAAwMDAwMDAEMCyABQQFqIQFB/QAhAgzEAQsgAUEBaiEBQYABIQIMwwELIAEgBEYEQEGYASECDNwBCwJAAkAgAS0AAEHOAGsOAwALAQsLIAFBAWohAUH+ACECDMMBCyABQQFqIQFB/wAhAgzCAQsgASAERgRAQZcBIQIM2wELIAEtAABB2QBHDQggAUEBaiEBQQgMBwtBlgEhAiABIARGDdkBIAMoAgAiACAEIAFraiEFIAEgAGtBA2ohBgJAA0AgAS0AACAAQazUAGotAABHDQYgAEEDRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNoBCyADQQA2AgAgBkEBaiEBQQUMBgtBlQEhAiABIARGDdgBIAMoAgAiACAEIAFraiEFIAEgAGtBBWohBgJAA0AgAS0AACAAQabUAGotAABHDQUgAEEFRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNkBCyADQQA2AgAgBkEBaiEBQRYMBQtBlAEhAiABIARGDdcBIAMoAgAiACAEIAFraiEFIAEgAGtBAmohBgJAA0AgAS0AACAAQaHVAGotAABHDQQgAEECRg0BIABBAWohACAEIAFBAWoiAUcNAAsgAyAFNgIADNgBCyADQQA2AgAgBkEBaiEBQRAMBAsgASAERgRAQZMBIQIM1wELAkACQCABLQAAQcMAaw4MAAYGBgYGBgYGBgYBBgsgAUEBaiEBQfkAIQIMvgELIAFBAWohAUH6ACECDL0BC0GSASECIAEgBEYN1QEgAygCACIAIAQgAWtqIQUgASAAa0EFaiEGAkADQCABLQAAIABBoNQAai0AAEcNAiAAQQVGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAM1gELIANBADYCACAGQQFqIQFBJAwCCyADQQA2AgAMAgsgASAERgRAQZEBIQIM1AELIAEtAABBzABHDQEgAUEBaiEBQRMLOgApIAMoAgQhACADQQA2AgQgAyAAIAEQLiIADQIMAQtBACECIANBADYCHCADIAE2AhQgA0H+HzYCECADQQY2AgwM0QELQfgAIQIMtwELIANBkAE2AhwgAyABNgIUIAMgADYCDEEAIQIMzwELQQAhAAJAIAMoAjgiAkUNACACKAJAIgJFDQAgAyACEQAAIQALIABFDQAgAEEVRg0BIANBADYCHCADIAE2AhQgA0GCDzYCECADQSA2AgxBACECDM4BC0H3ACECDLQBCyADQY8BNgIcIAMgATYCFCADQewbNgIQIANBFT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IAMgACABECwiAEUNHiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDMEBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDMABCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNHiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDL8BCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy+AQsgASAERgRAQYMBIQIMvgELAkAgAS0AAEGgzgBqLQAAQQFrDgg+BAUGAAgCAwcLIAFBAWohAQtBAyECDKMBCyABQQFqDA0LQQAhAiADQQA2AhwgA0HREjYCECADQQc2AgwgAyABQQFqNgIUDLoBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQdsANgIcIAMgATYCFCADIAA2AgxBACECDLkBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQd0ANgIcIAMgATYCFCADIAA2AgxBACECDLgBCyADKAIEIQAgA0EANgIEIAMgACABECwiAEUNFiADQfoANgIcIAMgATYCFCADIAA2AgxBACECDLcBCyADQQA2AhwgAyABNgIUIANB+Q82AhAgA0EHNgIMQQAhAgy2AQtB7AAhAgycAQsgASAERgRAQYIBIQIMtQELIAFBAWoMAgsgASAERgRAQYEBIQIMtAELIAFBAWoMAQsgASAERg0BIAFBAWoLIQFBBCECDJgBC0GAASECDLABCwNAIAEtAABBoMwAai0AACIAQQJHBEAgAEEBRwRAQekAIQIMmQELDDELIAQgAUEBaiIBRw0AC0H/ACECDK8BCyABIARGBEBB/gAhAgyvAQsCQCABLQAAQQlrDjcvAwYvBAYGBgYGBgYGBgYGBgYGBgYGBgUGBgIGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYGBgYABgsgAUEBagshAUEFIQIMlAELIAFBAWoMBgsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgyrAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgyqAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQggA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgypAQsgA0EANgIcIAMgATYCFCADQY0UNgIQIANBBzYCDEEAIQIMqAELAkACQAJAAkADQCABLQAAQaDKAGotAAAiAEEFRwRAAkAgAEEBaw4GLgMEBQYABgtB6AAhAgyUAQsgBCABQQFqIgFHDQALQf0AIQIMqwELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB2wA2AhwgAyABNgIUIAMgADYCDEEAIQIMqgELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB3QA2AhwgAyABNgIUIAMgADYCDEEAIQIMqQELIAMoAgQhACADQQA2AgQgAyAAIAEQLCIARQ0HIANB+gA2AhwgAyABNgIUIAMgADYCDEEAIQIMqAELIANBADYCHCADIAE2AhQgA0HkCDYCECADQQc2AgxBACECDKcBCyABIARGDQEgAUEBagshAUEGIQIMjAELQfwAIQIMpAELAkACQAJAAkADQCABLQAAQaDIAGotAAAiAEEFRwRAIABBAWsOBCkCAwQFCyAEIAFBAWoiAUcNAAtB+wAhAgynAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HbADYCHCADIAE2AhQgAyAANgIMQQAhAgymAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0HdADYCHCADIAE2AhQgAyAANgIMQQAhAgylAQsgAygCBCEAIANBADYCBCADIAAgARAsIgBFDQMgA0H6ADYCHCADIAE2AhQgAyAANgIMQQAhAgykAQsgA0EANgIcIAMgATYCFCADQbwKNgIQIANBBzYCDEEAIQIMowELQc8AIQIMiQELQdEAIQIMiAELQecAIQIMhwELIAEgBEYEQEH6ACECDKABCwJAIAEtAABBCWsOBCAAACAACyABQQFqIQFB5gAhAgyGAQsgASAERgRAQfkAIQIMnwELAkAgAS0AAEEJaw4EHwAAHwALQQAhAAJAIAMoAjgiAkUNACACKAI4IgJFDQAgAyACEQAAIQALIABFBEBB4gEhAgyGAQsgAEEVRwRAIANBADYCHCADIAE2AhQgA0HJDTYCECADQRo2AgxBACECDJ8BCyADQfgANgIcIAMgATYCFCADQeoaNgIQIANBFTYCDEEAIQIMngELIAEgBEcEQCADQQ02AgggAyABNgIEQeQAIQIMhQELQfcAIQIMnQELIAEgBEYEQEH2ACECDJ0BCwJAAkACQCABLQAAQcgAaw4LAAELCwsLCwsLCwILCyABQQFqIQFB3QAhAgyFAQsgAUEBaiEBQeAAIQIMhAELIAFBAWohAUHjACECDIMBC0H1ACECIAEgBEYNmwEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBtdUAai0AAEcNCCAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMnAELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgAEQCADQfQANgIcIAMgATYCFCADIAA2AgxBACECDJwBC0HiACECDIIBC0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMnAELQeEAIQIMggELIANB8wA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyaAQsgAy0AKSIAQSNrQQtJDQkCQCAAQQZLDQBBASAAdEHKAHFFDQAMCgtBACECIANBADYCHCADIAE2AhQgA0HtCTYCECADQQg2AgwMmQELQfIAIQIgASAERg2YASADKAIAIgAgBCABa2ohBSABIABrQQFqIQYCQANAIAEtAAAgAEGz1QBqLQAARw0FIABBAUYNASAAQQFqIQAgBCABQQFqIgFHDQALIAMgBTYCAAyZAQsgAygCBCEAIANCADcDACADIAAgBkEBaiIBECsiAARAIANB8QA2AhwgAyABNgIUIAMgADYCDEEAIQIMmQELQd8AIQIMfwtBACEAAkAgAygCOCICRQ0AIAIoAjQiAkUNACADIAIRAAAhAAsCQCAABEAgAEEVRg0BIANBADYCHCADIAE2AhQgA0HqDTYCECADQSY2AgxBACECDJkBC0HeACECDH8LIANB8AA2AhwgAyABNgIUIANBgBs2AhAgA0EVNgIMQQAhAgyXAQsgAy0AKUEhRg0GIANBADYCHCADIAE2AhQgA0GRCjYCECADQQg2AgxBACECDJYBC0HvACECIAEgBEYNlQEgAygCACIAIAQgAWtqIQUgASAAa0ECaiEGAkADQCABLQAAIABBsNUAai0AAEcNAiAAQQJGDQEgAEEBaiEAIAQgAUEBaiIBRw0ACyADIAU2AgAMlgELIAMoAgQhACADQgA3AwAgAyAAIAZBAWoiARArIgBFDQIgA0HtADYCHCADIAE2AhQgAyAANgIMQQAhAgyVAQsgA0EANgIACyADKAIEIQAgA0EANgIEIAMgACABECsiAEUNgAEgA0HuADYCHCADIAE2AhQgAyAANgIMQQAhAgyTAQtB3AAhAgx5C0EAIQACQCADKAI4IgJFDQAgAigCNCICRQ0AIAMgAhEAACEACwJAIAAEQCAAQRVGDQEgA0EANgIcIAMgATYCFCADQeoNNgIQIANBJjYCDEEAIQIMkwELQdsAIQIMeQsgA0HsADYCHCADIAE2AhQgA0GAGzYCECADQRU2AgxBACECDJEBCyADLQApIgBBI0kNACAAQS5GDQAgA0EANgIcIAMgATYCFCADQckJNgIQIANBCDYCDEEAIQIMkAELQdoAIQIMdgsgASAERgRAQesAIQIMjwELAkAgAS0AAEEvRgRAIAFBAWohAQwBCyADQQA2AhwgAyABNgIUIANBsjg2AhAgA0EINgIMQQAhAgyPAQtB2QAhAgx1CyABIARHBEAgA0EONgIIIAMgATYCBEHYACECDHULQeoAIQIMjQELIAEgBEYEQEHpACECDI0BCyABLQAAQTBrIgBB/wFxQQpJBEAgAyAAOgAqIAFBAWohAUHXACECDHQLIAMoAgQhACADQQA2AgQgAyAAIAEQLyIARQ16IANB6AA2AhwgAyABNgIUIAMgADYCDEEAIQIMjAELIAEgBEYEQEHnACECDIwBCwJAIAEtAABBLkYEQCABQQFqIQEMAQsgAygCBCEAIANBADYCBCADIAAgARAvIgBFDXsgA0HmADYCH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AgALIAcgATYCBCAJKAIMIQACQAJAIAkoAghBAWsOAgQBAAsgA0EANgIcIANBwh42AhAgA0EXNgIMIAMgAEEBajYCFEEAIQIMAwsgA0EANgIcIAMgADYCFCADQdceNgIQIANBCTYCDEEAIQIMAgsgASAERgRAQSghAgwCCyADQQk2AgggAyABNgIEQSchAgwBCyABIARGBEBBASECDAELA0ACQAJAAkAgAS0AAEEKaw4EAAEBAAELIAFBAWohAQwBCyABQQFqIQEgAy0ALkEgcQ0AQQAhAiADQQA2AhwgAyABNgIUIANBoSE2AhAgA0EFNgIMDAILQQEhAiABIARHDQALCyAJQRBqJAAgAkUEQCADKAIMIQAMAQsgAyACNgIcQQAhACADKAIEIgFFDQAgAyABIAQgAygCCBEBACIBRQ0AIAMgBDYCFCADIAE2AgwgASEACyAAC74CAQJ/IABBADoAACAAQeQAaiIBQQFrQQA6AAAgAEEAOgACIABBADoAASABQQNrQQA6AAAgAUECa0EAOgAAIABBADoAAyABQQRrQQA6AABBACAAa0EDcSIBIABqIgBBADYCAEHkACABa0F8cSICIABqIgFBBGtBADYCAAJAIAJBCUkNACAAQQA2AgggAEEANgIEIAFBCGtBADYCACABQQxrQQA2AgAgAkEZSQ0AIABBADYCGCAAQQA2AhQgAEEANgIQIABBADYCDCABQRBrQQA2AgAgAUEUa0EANgIAIAFBGGtBADYCACABQRxrQQA2AgAgAiAAQQRxQRhyIgJrIgFBIEkNACAAIAJqIQADQCAAQgA3AxggAEIANwMQIABCADcDCCAAQgA3AwAgAEEgaiEAIAFBIGsiAUEfSw0ACwsLVgEBfwJAIAAoAgwNAAJAAkACQAJAIAAtADEOAwEAAwILIAAoAjgiAUUNACABKAIwIgFFDQAgACABEQAAIgENAwtBAA8LAAsgAEHKGTYCEEEOIQELIAELGgAgACgCDEUEQCAAQd4fNgIQIABBFTYCDAsLFAAgACgCDEEVRgRAIABBADYCDAsLFAAgACgCDEEWRgRAIABBADYCDAsLBwAgACgCDAsHACAAKAIQCwkAIAAgATYCEAsHACA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QUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUAQanKAAsFAQIAAQMAQcDKAAtfBAUFBgUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUAQanMAAsEAQAAAQBBwcwAC14CAgACAgICAgICAgICAgICAgICAgICAgICAgICAgIAAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAEGpzgALBQECAAEDAEHAzgALXwQFAAAFBQUFBQUFBQUFBQYFBQUFBQUFBQUFBQUABQAHCAUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQAFAAUABQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUFBQUAAAAFAEGp0AALBQEBAAEBAEHA0AALAQEAQdrQAAtBAgAAAAAAAAMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAAAAAAAAAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAQanSAAsFAQEAAQEAQcDSAAsBAQBBytIACwYCAAAAAAIAQeHSAAs6AwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMAAAAAAAADAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwBBoNQAC50BTk9VTkNFRUNLT1VUTkVDVEVURUNSSUJFTFVTSEVURUFEU0VBUkNIUkdFQ1RJVklUWUxFTkRBUlZFT1RJRllQVElPTlNDSFNFQVlTVEFUQ0hHRVVFUllPUkRJUkVDVE9SVFJDSFBBUkFNRVRFUlVSQ0VCU0NSSUJFQVJET1dOQUNFSU5ETktDS1VCU0NSSUJFVFRQQ0VUU1BBRFRQLw==","base64"))})},5610(e,t){t.enumToMap=function(e,t=[],r=[]){let i=(t?.length??0)===0,s=(r?.length??0)===0;return Object.fromEntries(Object.entries(e).filter(([,e])=>"number"==typeof e&&(i||t.includes(e))&&(s||!r.includes(e))))}},6923(e,t,r){let{kClients:i}=r(3025),s=r(5891),{kAgent:n,kMockAgentSet:o,kMockAgentGet:a,kDispatches:A,kIsMockActive:l,kNetConnect:c,kGetNetConnect:d,kOptions:g,kFactory:u,kMockAgentRegisterCallHistory:h,kMockAgentIsCallHistoryEnabled:m,kMockAgentAddCallHistoryLog:p,kMockAgentMockCallHistoryInstance:C,kMockAgentAcceptsNonStandardSearchParameters:I,kMockCallHistoryAddLog:f,kIgnoreTrailingSlash:E}=r(4779),B=r(375),y=r(8182),{matchValue:Q,normalizeSearchParams:N,buildAndValidateMockOptions:b,normalizeOrigin:S}=r(6927),{InvalidArgumentError:w,UndiciError:D}=r(8065),x=r(6873),R=r(1908),{MockCallHistory:M}=r(2137);e.exports=class extends x{constructor(e={}){super(e);let t=b(e);if(this[c]=!0,this[l]=!0,this[m]=t.enableCallHistory??!1,this[I]=t.acceptNonStandardSearchParameters??!1,this[E]=t.ignoreTrailingSlash??!1,e?.agent&&"function"!=typeof e.agent.dispatch)throw new w("Argument opts.agent must implement Agent");let r=e?.agent?e.agent:new s(e);this[n]=r,this[i]=r[i],this[g]=t,this[m]&&this[h]()}get(e){let t=S(e),r=this[E]?t.replace(/\/$/,""):t,i=this[a](r);return i||(i=this[u](r),this[o](r,i)),i}dispatch(e,t){e.origin=S(e.origin),this.get(e.origin),this[p](e);let r=this[I],i={...e};if(r&&i.path){let[e,t]=i.path.split("?"),s=N(t,r);i.path=`${e}?${s}`}return this[n].dispatch(i,t)}async close(){this.clearCallHistory(),await this[n].close(),this[i].clear()}deactivate(){this[l]=!1}activate(){this[l]=!0}enableNetConnect(e){if("string"==typeof e||"function"==typeof e||e instanceof RegExp)Array.isArray(this[c])?this[c].push(e):this[c]=[e];else if(void 0===e)this[c]=!0;else throw new w("Unsupported matcher. Must be one of String|Function|RegExp.")}disableNetConnect(){this[c]=!1}enableCallHistory(){return this[m]=!0,this}disableCallHistory(){return this[m]=!1,this}getCallHistory(){return this[C]}clearCallHistory(){void 0!==this[C]&&this[C].clear()}get isMockActive(){return this[l]}[h](){void 0===this[C]&&(this[C]=new M)}[p](e){this[m]&&(this[h](),this[C][f](e))}[o](e,t){this[i].set(e,t)}[u](e){let t=Object.assign({agent:this},this[g]);return this[g]&&1===this[g].connections?new B(e,t):new y(e,t)}[a](e){let t=this[i].get(e);if(t)return t;if("string"!=typeof e){let t=this[u]("http://localhost:9999");return this[o](e,t),t}for(let[t,r]of Array.from(this[i]))if(r&&"string"!=typeof t&&Q(t,e)){let t=this[u](e);return this[o](e,t),t[A]=r[A],t}}[d](){return this[c]}pendingInterceptors(){return Array.from(this[i].entries()).flatMap(([e,t])=>t[A].map(t=>({...t,origin:e}))).filter(({pending:e})=>e)}assertNoPendingInterceptors({pendingInterceptorsFormatter:e=new R}={}){let t=this.pendingInterceptors();if(0!==t.length)throw new D(1===t.length?`1 interceptor is pending: ${e.format(t)}`.trim():`${t.length} interceptors are pending: -${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:i}=r(4779),{InvalidArgumentError:s}=r(8065);function n(e,t,r,i,n){switch(t.operator){case"OR":return i.push(...r(e,n)),i;case"AND":return r(e,i);default:throw new s("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function o(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new s(`${e} parameter should be one of string, regexp, undefined or null`)}}class a{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new s("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new s("nthCall must be called with a number");if(!Number.isInteger(e))throw new s("nthCall must be called with an integer");if(1!==Math.sign(e))throw new s("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new s("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},i="AND"===r.operator?this.logs:[];return"protocol"in e&&(i=n(e.protocol,r,this.filterCallsByProtocol,i,this.logs)),"host"in e&&(i=n(e.host,r,this.filterCallsByHost,i,this.logs)),"port"in e&&(i=n(e.port,r,this.filterCallsByPort,i,this.logs)),"origin"in e&&(i=n(e.origin,r,this.filterCallsByOrigin,i,this.logs)),"path"in e&&(i=n(e.path,r,this.filterCallsByPath,i,this.logs)),"hash"in e&&(i=n(e.hash,r,this.filterCallsByHash,i,this.logs)),"fullUrl"in e&&(i=n(e.fullUrl,r,this.filterCallsByFullUrl,i,this.logs)),"method"in e&&(i=n(e.method,r,this.filterCallsByMethod,i,this.logs)),[...new Set(i)]}throw new s("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=o.call(this,"protocol");filterCallsByHost=o.call(this,"host");filterCallsByPort=o.call(this,"port");filterCallsByOrigin=o.call(this,"origin");filterCallsByPath=o.call(this,"path");filterCallsByHash=o.call(this,"hash");filterCallsByFullUrl=o.call(this,"fullUrl");filterCallsByMethod=o.call(this,"method");clear(){this.logs=[]}[i](e){let t=new a(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=a},375(e,t,r){let{promisify:i}=r(7975),s=r(5183),{buildMockDispatch:n}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends s{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},8531(e,t,r){let{UndiciError:i}=r(8065),s=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class n extends i{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}e.exports={MockNotMatchedError:n}},1585(e,t,r){let{getResponseData:i,buildKey:s,addMockDispatch:n}=r(6927),{kDispatches:o,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:g}=r(4779),{InvalidArgumentError:u}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:m}}=r(7975);class p{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new u("opts must be an object");if(void 0===e.path)throw new u("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[a]=s(e),this[o]=t,this[g]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let s=i(t),n=this[c]?{"content-length":s.length}:{};return{statusCode:e,data:t,headers:{...this[A],...n,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new u("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new u("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new u("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new p(n(this[o],this[a],r=>{let i=e(r);return m(i)?i.then(t):t(i)},{ignoreTrailingSlash:this[g]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new p(n(this[o],this[a],r,{ignoreTrailingSlash:this[g]}))}replyWithError(e){if(void 0===e)throw new u("error must be defined");return new p(n(this[o],this[a],{error:e},{ignoreTrailingSlash:this[g]}))}defaultReplyHeaders(e){if(void 0===e)throw new u("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new u("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:i}=r(7975),s=r(6334),{buildMockDispatch:n}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends s{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:i}=r(8531),{kDispatches:s,kMockAgent:n,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:g}=r(7067),{types:{isPromise:u}}=r(7975),{InvalidArgumentError:h}=r(8065);function m(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function C(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):p(e)[t.toLocaleLowerCase()]}function I(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function E(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=I(t)),e.headers(t?p(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,i]of Object.entries(e.headers))if(!m(i,C(t,r)))return!1;return!0}function f(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function B(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function y(e,t){let r=t.query?c(t.path,t.query):t.path,s="string"==typeof r?f(r):r,n=N(s),o=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?m(N(f(e)),n):m(f(e),s));if(0===o.length)throw new i(`Mock dispatch not matched for path '${s}'`);if(0===(o=o.filter(({method:e})=>m(e,t.method))).length)throw new i(`Mock dispatch not matched for method '${t.method}' on path '${s}'`);if(0===(o=o.filter(({body:e})=>void 0===e||m(e,t.body))).length)throw new i(`Mock dispatch not matched for body '${t.body}' on path '${s}'`);if(0===(o=o.filter(e=>E(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new i(`Mock dispatch not matched for headers '${e}' on path '${s}'`)}return o[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:i,headers:s}){let n=m(e.path,t),o=m(e.method,r),a=void 0===e.body||m(e.body,i),A=E(e,s);return n&&o&&a&&A}(e,t));-1!==r&&e.splice(r,1)}function N(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function b(e){let{path:t,method:r,body:i,headers:s,query:n}=e;return{path:t,method:r,body:i,headers:s,query:n}}function S(e){let t=Object.keys(e),r=[];for(let i=0;i<t.length;++i){let s=t[i],n=e[s],o=Buffer.from(`${s}`);if(Array.isArray(n))for(let e=0;e<n.length;++e)r.push(o,Buffer.from(`${n[e]}`));else r.push(o,Buffer.from(`${n}`))}return r}function w(e){return g[e]||"unknown"}function D(e,t){let r=b(e),i=y(this[s],r),n=this[s];i.timesInvoked++;let{timesInvoked:o,times:a}=i;if(i.consumed=!i.persist&&o>=a,i.pending=o<a,i.data.callback){let s=i.data.callback(e);if(u(s))return s.then(s=>{i.data={...i.data,...s},x(n,i,r,e,t)},e=>{Q(n,r),t.onResponseError(null,e)}),!0;i.data={...i.data,...s}}return x(n,i,r,e,t)}function x(e,t,r,i,s){let{data:{statusCode:n,data:o,headers:a,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),s.onResponseError(null,l),!0;let g=!1,h=null,m={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{g||(g=!0,null!==h&&(clearTimeout(h),h=null),s.onResponseError?.(m,e))}};function p(e,t=o){if(g)return;let l=Array.isArray(i.headers)?I(i.headers):i.headers,c="function"==typeof t?t({...i,headers:l}):t;if(u(c))return c.then(t=>p(e,t));if(g)return;let h=B(c),C=S(a),E=S(A);m.rawHeaders=C,m.rawTrailers=E,s.onResponseStart?.(m,n,d(C),w(n)),s.onResponseData?.(m,Buffer.from(h)),s.onResponseEnd?.(m,d(E)),Q(e,r)}return s.onRequestStart?.(m,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,p(e)},c):p(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>m(e,r.host)))}e.exports={getResponseData:B,getMockDispatch:y,addMockDispatch:function(e,t,r,i){let s={timesInvoked:0,times:1,persist:!1,consumed:!1,...i},n="function"==typeof r?{callback:r}:{...r},o={...s,...t,pending:!0,data:{error:null,...n}};return e.push(o),e[l]=(e[l]||0)+1,o},deleteMockDispatch:Q,buildKey:b,generateKeyValues:S,matchValue:m,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:D,buildMockDispatch:function(){let e=this[n],t=this[a],r=this[o];return function(n,o){if(e.isMockActive)try{D.call(this,n,o)}catch(a){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===a.code){let c=e[A](),d=this[s][l]||this[s].length,g=this[s].filter(({consumed:e})=>!e).length,u=`, ${g} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${u}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in n?{...n,body:n.__mockAgentBodyForDispatch}:n,o);else throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${u}`)}else throw a}else r.call(this,n,o)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:C,buildHeadersFromArray:I,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,i]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(i)){r.append(e,i);continue}if(i.includes(",")){for(let t of i.split(","))r.append(e,t);continue}r.append(e,i)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:i}=r(7075),{Console:s}=r(7540),n=process.versions.icu?"✅":"Y ",o=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,r){r(null,e)}}),this.logger=new s({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:i,times:s,timesInvoked:a,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:i?n:o,Invocations:a,Remaining:i?1/0:s-a}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let i=r(5891),s=r(6923),{SnapshotRecorder:n}=r(2152),{InvalidArgumentError:o,UndiciError:a}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),g=Symbol("kSnapshotPath"),u=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),m=!1;e.exports=class extends s{constructor(e={}){m||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),m=!0);let{mode:t="record",snapshotPath:r=null,...s}=e;if(super(s),l(t),("playback"===t||"update"===t)&&!r)throw new o(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[g]=r,this[c]=new n({snapshotPath:this[g],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[u]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new i(e)),("playback"===this[d]||"update"===this[d])&&this[g]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[u])return this.#eT(e,t);let i=this[c].findSnapshot(e);if(i)return this.#eL(i,t);{if("update"===r)return this.#eH(e,t);let i=new a(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,i);throw i}}if("record"===r)return this.#eH(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eH(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},i=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,i,s)=>t.onRequestUpgrade(e,r,i,s),onResponseStart:(e,i,s,n)=>(r.statusCode=i,r.headers=s,t.onResponseStart(e,i,s,n)),onResponseData:(e,i)=>(r.body.push(i),t.onResponseData(e,i)),onResponseEnd(s,n){r.trailers=n;let o=Buffer.concat(r.body);i[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:o,trailers:r.trailers}).then(()=>t.onResponseEnd(s,n)).catch(e=>t.onResponseError(s,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,i=r.headers?A.toRawHeaders(r.headers):[],s=r.trailers?A.toRawHeaders(r.trailers):[],n={rawHeaders:i,rawTrailers:s,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(n),t.onResponseStart(n,r.statusCode,r.headers,r.statusMessage);let o=Buffer.from(r.body,"base64");t.onResponseData(n,o),t.onResponseEnd(n,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[g]),this[u]=!0,"playback"===this[d]&&this.#eO()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[g])}#eO(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:i}=e,s=new URL(t.url),n=this.get(s.origin),o=r?r[0]:i;o&&n.intercept({path:s.pathname+s.search,method:t.method,headers:t.headers,body:t.body}).reply(o.statusCode,o.body,{headers:o.headers,trailers:o.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:i,readFile:s,mkdir:n}=r(1455),{dirname:o,resolve:a}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:g,isUrlExcludedFactory:u,normalizeHeaders:h,createHeaderFilters:m}=r(289);function p(e,t,r={}){var i,s,n;let o=new URL(e.path,e.origin),a=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=a),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(o,r.matchQuery,r.normalizeQuery),headers:C(a,t,r),body:(i=e.body,s=r.matchBody,n=r.normalizeBody,!1===s?"":n?String(n(i)??""):i?String(i):"")}}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,s={},{ignore:n,exclude:o,match:a}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();!(o.has(e)||n.has(e))&&(0===a.size||a.has(e))&&(s[e]=r)}return s}function I(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,s={},{exclude:n}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();n.has(e)||(s[e]=r)}return s}function E(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let i=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),i.sort()))t.push(String(e))}return t.push(e.body),g(t.join("|"))}class f{#eP;#eY;#eG=new Map;#ez;#eq=1/0;#eV=!1;#eJ;constructor(e={}){this.#ez=e.snapshotPath,this.#eq=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#eJ=m(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=u(e.excludeUrls),this.#eV&&this.#ez&&this.#e_()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=p(e,this.#eJ,this.matchOptions),i=E(r),s=h(t.headers),n={statusCode:t.statusCode,headers:I(s,this.#eJ,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#eq&&!this.#eG.has(i)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let o=this.#eG.get(i);o&&o.responses?(o.responses.push(n),o.timestamp=new Date().toISOString()):this.#eG.set(i,{request:r,responses:[n],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#ez&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=E(p(e,this.#eJ,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let i=r.callCount||0,s=Math.min(i,r.responses.length-1);return r.callCount=i+1,{...r,response:r.responses[s]}}async loadSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");try{let e=await s(a(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");let r=a(t);await n(o(r),{recursive:!0});let s=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await i(r,JSON.stringify(s,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=E(p(e,this.#eJ,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=E(p(e,this.#eJ,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#e_(){return this.#eW()}#ej(){this.#eP&&(l(this.#eP),this.saveSnapshots().catch(()=>{}),this.#eP=null)}#eW(){this.#eP=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eP?.refresh():this.#eP=null},1e3)}destroy(){this.#ej(),this.#eP&&(l(this.#eP),this.#eP=null)}async close(){this.#ez&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:f,formatRequestKey:p,createRequestHash:E,filterHeadersForMatching:C,filterHeadersForStorage:I,createHeaderFilters:m}},289(e,t,r){let{InvalidArgumentError:i}=r(8065),{runtimeFeatures:s}=r(6979),n=s.has("crypto")?r(7598):null,o=n?.hash?e=>n.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function a(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:i=[],caseSensitive:s=!1}=e;return{ignore:new Set(t.map(e=>s?e:e.toLowerCase())),exclude:new Set(r.map(e=>s?e:e.toLowerCase())),match:new Set(i.map(e=>s?e:e.toLowerCase()))}},hashId:o,isUndiciHeaders:a,normalizeHeaders:function(e){let t={};if(!e)return t;if(a(e)){for(let r=0;r<e.length;r+=2){let i=e[r],s=e[r+1];if(i&&void 0!==s){let e=Buffer.isBuffer(i)?i.toString():i,r=Buffer.isBuffer(s)?s.toString():s;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,i]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(i)?i.join(", "):String(i));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let i of e)if("string"==typeof i){if(r||(r=t.toLowerCase()),r.includes(i.toLowerCase()))return!0}else if(i instanceof RegExp&&i.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new i(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:i,pathHasQueryOrFragment:s,hasSafeIterator:n,isValidHTTPToken:o}=r(1210),{serializePathWithQuery:a}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function g(e){return e.replace(/^[\t ]+/,"")}function u(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let i=t;i<e.length;i++)if(r)r=!1;else if("\\"===e[i])r=!0;else if('"'===e[i])return i;return -1}function m(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function p(e,t,r){let i=t.toLowerCase(),s=e[i],n=Array.isArray(r)?r:[r];void 0===s?e[i]=Array.isArray(r)?r.slice():r:Array.isArray(s)?s.push(...n):e[i]=[s,...n]}function C(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let i=t[e].split(",");for(let e=0;e<i.length;e++)r.push(i[e])}return r}function I(e){let t=C(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function E(e,t){if(I(e))return t;let r={};for(let i of C(e)){let e=c(i).toLowerCase();if(0===e.length)continue;if(!o(e))return;let s=t[e];r[e]=Array.isArray(s)?s.slice():s??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!s(t)&&(t=a(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},n(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let i=0;i<r;i+=2){let r=e.headers[i],s=e.headers[i+1];if("string"!=typeof r||"string"!=typeof s&&!Array.isArray(s))throw Error("opts.headers is not a valid header map");if("string"==typeof s)p(t,r,s);else{let e=[];for(let t=0;t<s.length;t++){let r=s[t];e.push("string"==typeof r?r:r.toString("latin1"))}p(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else for(let r of Object.keys(e.headers))p(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,i=new Set,s=function(e){let t=[],r=0,i=-1,s=!1,n=!1;for(let o=0;o<e.length;o++)s?n?n=!1:"\\"===e[o]?n=!0:'"'===e[o]&&(s=!1,i=-1):'"'===e[o]?(s=!0,i=o):","===e[o]&&(t.push({value:e.substring(r,o),fromMalformedQuote:!1}),r=o+1);if(!s)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let o=e.substring(r),a=i-r,A=0;for(let e=0;e<o.length;e++)","===o[e]&&(t.push({value:o.substring(A,e),fromMalformedQuote:A>a}),A=e+1);return t.push({value:o.substring(A),fromMalformedQuote:A>a}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<s.length;e++){let n,a,l=s[e],p=l.value.toLowerCase(),C=l.fromMalformedQuote,I=p.indexOf("="),E=!1,f=!1;if(-1!==I){let e=p.substring(0,I),t=p.substring(I+1);E=u(e)!==e,f=g(t)!==t,n=c(e),a=g(t)}else n=c(p);let B=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!o(e[t.length]))return t;let t="",r=!1;for(let i=0;i<e.length;i++)o(e[i])?t+=e[i]:r=!0;if(r&&d(A,t))return t}(n);if(void 0!==B){t[B]=!0;continue}switch(n){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(C||r.has(n))continue;if(void 0===a||E||f||(a.length>=2&&'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),!/^[0-9]+$/.test(a))){delete t[n],r.add(n),m(t,n);continue}let e=Math.min(parseInt(a,10),0x7fffffff);"min-fresh"===n?n in t&&!(t[n]<e)||(t[n]=e):n in t&&!(t[n]>e)||(t[n]=e);break}case"private":case"no-cache":if(C||void 0!==a&&0===a.length){t[n]=!0;break}if(a){if('"'===a[0]){a=u(a);let r="",i=e,A=!1,l=h(a,1);if(-1!==l)r=a.substring(1,l),A=!0;else{let t=[a.substring(1)];for(let r=e+1;r<s.length;r++){let e=c(s[r].value),n=h(e,0);if(i=r,-1!==n){t.push(e.substring(0,n)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[n]=!0;break}e=i;let d=r.split(","),g=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),o(d[e])||(g=!1);g?!0!==t[n]&&(n in t?t[n]=t[n].concat(d):t[n]=d):t[n]=!0}else{let e=c(a);o(e)?!0!==t[n]&&(n in t?t[n]=t[n].concat(e):t[n]=[e]):t[n]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(C||i.has(n))continue;if(void 0!==a){delete t[n],i.add(n);continue}t[n]=!0;break;case"no-store":t[n]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:E,hasVaryStar:I,isInvalidOrWildcardVaryHeader:function(e){return I(e)||void 0===E(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(i,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${i.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let i of Object.keys(e.headers).sort())t?.has(i.toLowerCase())||(r[i]=e.headers[i]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,i,s,n,o){let a=new Date(Date.UTC(e,t,r,i,s,n));return e>=0&&e<=99&&a.setUTCFullYear(e),a.getUTCFullYear()===e&&a.getUTCMonth()===t&&a.getUTCDate()===r&&a.getUTCHours()===i&&a.getUTCMinutes()===s&&a.getUTCSeconds()===n&&a.getUTCDay()===o?a:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let s=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])s=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])s=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])s=2;else{if("y"!==e[10])return;s=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])s=0;else if("u"!==e[9])return;else if("n"===e[10])s=5;else{if("l"!==e[10])return;s=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])s=3;else{if("u"!==e[9]||"g"!==e[10])return;s=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])s=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])s=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])s=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;s=11}let n=e.charCodeAt(12);if(n<48||n>57)return;let o=e.charCodeAt(13);if(o<48||o>57)return;let a=e.charCodeAt(14);if(a<48||a>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((n-48)*1e3+(o-48)*100+(a-48)*10+(A-48),s,i,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])i=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])i=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])i=2;else{if("y"!==e[6])return;i=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])i=0;else if("u"!==e[5])return;else if("n"===e[6])i=5;else{if("l"!==e[6])return;i=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])i=3;else{if("u"!==e[5]||"g"!==e[6])return;i=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])i=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])i=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])i=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;i=11}let s=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;s=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;s=(t-48)*10+(r-48)}let n=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;n=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;n=(t-48)*10+(r-48)}let o=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let a=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),i,s,n,o,a,r)}(e);default:return function(e){let r=-1,i=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(i=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])i=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(i=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])i=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;i=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let s=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;s=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let i=e.charCodeAt(r+3);if(i<48||i>57)return;s=(t-48)*10+(i-48)}let n=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])n=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])n=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])n=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])n=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])n=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])n=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])n=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])n=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])n=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])n=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])n=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;n=11}let o=e.charCodeAt(r+9);if(o<48||o>57)return;let a=e.charCodeAt(r+10);if(a<48||a>57)return;let A=(o-48)*10+(a-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let i=e.charCodeAt(r+13);if(i<48||i>57||50===t&&i>51)return;l=(t-48)*10+(i-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let i=e.charCodeAt(r+16);if(i<48||i>57)return;c=(t-48)*10+(i-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let i=e.charCodeAt(r+19);if(i<48||i>57)return;d=(t-48)*10+(i-48)}return t(A,n,s,l,c,d,i)}(e)}}}},6979(e,t,r){let i={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},s=["crypto","sqlite"];class n{#eK=new Map;clear(){this.#eK.clear()}has(e){return this.#eK.get(e)??this.#eX(e)}set(e,t){if(!1===s.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eK.set(e,t)}#eX(e){let t=function(e){if(s.includes(e)){var t=`node:${e}`;try{return i[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eK.set(e,t),t}}let o=new n;e.exports.runtimeFeatures=o},256(e,t,r){let{kConnected:i,kPending:s,kRunning:n,kSize:o,kFree:a,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[i],this.pending=e[s],this.running=e[n],this.size=e[o]}},PoolStats:class{constructor(e){this.connected=e[i],this.free=e[a],this.pending=e[s],this.queued=e[A],this.running=e[n],this.size=e[o]}}}},2297(e){let t,r=0,i=Symbol("kFastTimer"),s=[];function n(){r+=499;let e=0,t=s.length;for(;e<t;){let i=s[e];0===i._state?(i._idleStart=r-499,i._state=1):1===i._state&&r>=i._idleStart+i._idleTimeout&&(i._state=-1,i._idleStart=-1,i._onTimeout(i._timerArg)),-1===i._state?(i._state=-2,0!=--t&&(s[e]=s[t])):++e}s.length=t,0!==s.length&&o()}function o(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(n,499),t?.unref())}class a{[i]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&s.push(this),t&&1!==s.length||o(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new a(e,t,r),clearTimeout(e){e[i]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new a(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,n(),n()},reset(){r=0,s.length=0,clearTimeout(t),t=null},kFastTimer:i}},1044(e,t,r){let i=r(4589),{kConstruct:s}=r(3025),{urlEquals:n,getFieldValues:o}=r(8220),{kEnumerableProperty:a,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:g}=r(165),{Request:u,fromInnerRequest:h,getRequestState:m}=r(9553),{fetching:p}=r(7564),{urlIsHttpHttpsScheme:C,readAllBytes:I}=r(638);class E{#eZ;constructor(){arguments[0]!==s&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eZ=arguments[1]}async match(e,t={}){l.brandCheck(this,E);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let i=this.#e$(e,t,1);if(0!==i.length)return i[0]}async matchAll(e,t={}){return l.brandCheck(this,E),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#e$(e,t)}async add(e){l.brandCheck(this,E),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,E);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],i=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=m(r);if(!C(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let n of e){let e=m(new u(n));if(!C(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",i.push(e);let a=Promise.withResolvers();s.push(p({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of o(e.headersList.get("vary")))if("*"===t){for(let e of(a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),s))e.abort();return}}},processResponseEndOfBody(e){e.aborted?a.reject(new DOMException("aborted","AbortError")):a.resolve(e)}})),r.push(a.promise)}let n=Promise.all(r),a=await n,A=[],c=0;for(let e of a){let t={type:"put",request:i[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),g=null;try{this.#e0(A)}catch(e){g=e}return queueMicrotask(()=>{null===g?d.resolve(void 0):d.reject(g)}),d.promise}async put(e,t){l.brandCheck(this,E);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let i=null;if(!C((i=l.is.Request(e)?m(e):m(new u(e))).url)||"GET"!==i.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let s=g(t);if(206===s.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(s.headersList.contains("vary")){for(let e of o(s.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(s.body&&(A(s.body.stream)||s.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let n=c(s),a=Promise.withResolvers();null!=s.body?I(s.body.stream.getReader(),a.resolve,a.reject):a.resolve(void 0);let d=[],h={type:"put",request:i,response:n};d.push(h);let p=await a.promise;null!=n.body&&(n.body.source=p);let f=Promise.withResolvers(),B=null;try{this.#e0(d)}catch(e){B=e}return queueMicrotask(()=>{null===B?f.resolve():f.reject(B)}),f.promise}async delete(e,t={}){let r;l.brandCheck(this,E);let s="Cache.delete";l.argumentLengthCheck(arguments,1,s),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,s,"options");let n=null;if(l.is.Request(e)){if("GET"!==(n=m(e)).method&&!t.ignoreMethod)return!1}else i("string"==typeof e),n=m(new u(e));let o=[],a={type:"delete",request:n,options:t};o.push(a);let A=Promise.withResolvers(),c=null;try{r=this.#e0(o)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,E),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=m(new u(e)));let i=Promise.withResolvers(),s=[];if(void 0===e)for(let e of this.#eZ)s.push(e[0]);else for(let e of this.#e1(r,t))s.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of s){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}i.resolve(Object.freeze(e))}),i.promise}#e0(e){let t=this.#eZ,r=[...t],s=[],n=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,s).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);i(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let n=r.request;if(!C(n.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==n.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let s of e=this.#e1(r.request)){let e=t.indexOf(s);i(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),s.push([r.request,r.response])}n.push([r.request,r.response])}return n}catch(e){throw this.#eZ.length=0,this.#eZ=r,e}}#e1(e,t,r){let i=[];for(let s of r??this.#eZ){let[r,n]=s;this.#e2(e,r,n,t)&&i.push(s)}return i}#e2(e,t,r=null,i){let s=new URL(e.url),a=new URL(t.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!n(s,a,!0))return!1;if(null==r||i?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let i of o(r.headersList.get("vary")))if("*"===i||t.headersList.get(i)!==e.headersList.get(i))return!1;return!0}#e$(e,t,r=1/0){let i=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(i=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(i=m(new u(e)));let s=[];if(void 0===e)for(let e of this.#eZ)s.push(e[1]);else for(let e of this.#e1(i,t))s.push(e[1]);let n=[];for(let e of s){let t=d(c(e),"immutable");if(n.push(t),n.length>=r)break}return Object.freeze(n)}}Object.defineProperties(E.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let f=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(f),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...f,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:E}},3691(e,t,r){let{Cache:i}=r(1044),{webidl:s}=r(849),{kEnumerableProperty:n}=r(1210),{kConstruct:o}=r(3025);class a{#e3=new Map;constructor(){arguments[0]!==o&&s.illegalConstructor(),s.util.markAsUncloneable(this)}async match(e,t={}){if(s.brandCheck(this,a),s.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=s.converters.RequestInfo(e),null!=(t=s.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e3.has(t.cacheName)){let r=new i(o,this.#e3.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e3.values()){let s=new i(o,r),n=await s.match(e,t);if(void 0!==n)return n}}async has(e){s.brandCheck(this,a);let t="CacheStorage.has";return s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.has(e)}async open(e){s.brandCheck(this,a);let t="CacheStorage.open";if(s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.has(e))return new i(o,this.#e3.get(e));let r=[];return this.#e3.set(e,r),new i(o,r)}async delete(e){s.brandCheck(this,a);let t="CacheStorage.delete";return s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.delete(e)}async keys(){return s.brandCheck(this,a),[...this.#e3.keys()]}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:n,has:n,open:n,delete:n,keys:n}),e.exports={CacheStorage:a}},8220(e,t,r){let i=r(4589),{URLSerializer:s}=r(3518),{isValidHeaderName:n}=r(638);e.exports={urlEquals:function(e,t,r=!1){return s(e,r)===s(t,r)},getFieldValues:function(e){i(null!==e);let t=[];for(let r of e.split(","))n(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:i}=r(6248),{stringify:s}=r(751),{webidl:n}=r(849),{Headers:o}=r(3470),a=n.brandCheckMultiple([o,globalThis.Headers].filter(Boolean));function A(e,t){n.argumentLengthCheck(arguments,2,"setCookie"),a(e);let r=s(t=n.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}n.converters.DeleteCookieAttributes=n.dictionaryConverter([{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:()=>null}]),n.converters.Cookie=n.dictionaryConverter([{converter:n.converters.DOMString,key:"name"},{converter:n.converters.DOMString,key:"value"},{converter:n.nullableConverter(e=>"number"==typeof e?n.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:n.nullableConverter(n.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.boolean),key:"secure",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:n.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:n.sequenceConverter(n.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){n.argumentLengthCheck(arguments,1,"getCookies"),a(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r},deleteCookie:function(e,t,r){a(e);let i="deleteCookie";n.argumentLengthCheck(arguments,2,i),t=n.converters.DOMString(t,i,"name"),r=n.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){n.argumentLengthCheck(arguments,1,"getSetCookies"),a(e);let t=e.getSetCookie();return t?t.map(e=>i(e)):[]},setCookie:A,parseCookie:function(e){return i(e=n.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:i}=r(5358),{maxNameValuePairSize:s,maxAttributeValueSize:n}=r(6674),{isCTLExcludingHtab:o}=r(751),a=r(4589);function A(e,t={}){if(0===e.length)return t;a(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=i(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let s="",o="";if(r.includes("=")){let e={position:0};s=i("=",r,e),o=r.slice(e.position+1)}else s=r;if(s=s.trim(),(o=o.trim()).length>n)return A(e,t);let l=s.toLowerCase();if("expires"===l){let e=new Date(o);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=o.charCodeAt(0);if((r<48||r>57)&&"-"!==o[0]||!/^\d+$/.test(o))return A(e,t);t.maxAge=Number(o)}else if("domain"===l){let e=o;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===o.length||"/"!==o[0]?"/":o;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=o.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${s}=${o}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(o(e))return null;let t="",r="",n="",a="";if(e.includes(";")){let s={position:0};t=i(";",e,s),r=e.slice(s.position)}else t=e;if(t.includes("=")){let e={position:0};n=i("=",t,e),a=t.slice(e.position+1)}else a=t;return(n=n.trim(),a=a.trim(),n.length+a.length>s)?null:{name:n,value:a,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function i(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function s(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${n[e.getUTCDay()]}, ${a[e.getUTCDate()]} ${o[e.getUTCMonth()]} ${e.getUTCFullYear()} ${a[e.getUTCHours()]}:${a[e.getUTCMinutes()]}:${a[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:i,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let n=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&n.push("Secure"),e.httpOnly&&n.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");n.push(`Max-Age=${e.maxAge}`)}for(let o of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(46===i){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!s(i)||!s(i)&&45!==i||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),n.push(`Domain=${e.domain}`)),e.path&&(i(e.path),n.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&n.push(`Expires=${A(e.expires)}`),e.sameSite&&n.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!o.includes("="))throw Error("Invalid unparsed");let[e,...i]=o.split("="),s=e.trim(),a=i.join("=");t(s),r(a),n.push(`${s}=${a}`)}return n.join("; ")}}},621(e,t,r){let{Transform:i}=r(7075),{isASCIINumber:s,isValidLastEventId:n}=r(2833),o=Buffer.from("data"),a=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let i=0;i<t;i++)if(e[i]!==r[i])return!1;return!0}e.exports={EventSourceStream:class extends i{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let i=e.length,s=e.length;if(-1!==r&&(i=r,32===e[s=r+1]&&++s),c(e,i,o)){let r=e.toString("utf8",s);void 0===t.data?t.data=r:t.data+=` -${r}`;return}if(c(e,i,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,s)&&(t.retry=e.toString("utf8",s));return}if(c(e,i,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,s)&&(t.id=e.toString("utf8",s));return}if(c(e,i,a)){let r=e.toString("utf8",s);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&s(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&n(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let i=this.chunks[r],s=r===this.lineChunkIndex?this.linePos:0,n=r===this.chunkIndex?this.pos:i.length,o=i.subarray(s,n);t+=o.length,e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let i=this.chunks[t],s=i.length-r;if(e<s)return i[r+e];e-=s,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:i}=r(7075),{fetching:s}=r(7564),{webidl:n}=r(849),{EventSourceStream:o}=r(621),{parseMIMEType:a}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:g}=r(2833),u=!1;class h extends EventTarget{#e5={open:null,error:null,message:null};#e4;#e8=!1;#e9=0;#e6=null;#es=null;#Q;#eS;constructor(e,t={}){let r;super(),n.util.markAsUncloneable(this);let i="EventSource constructor";n.argumentLengthCheck(arguments,1,i),u||(u=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=n.converters.USVString(e),t=n.converters.EventSourceInitDict(t,i,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e4=r.href;let s="anonymous";!0===t.withCredentials&&(s="use-credentials",this.#e8=!0);let o=g(r,"",s);o.client=d.settingsObject,o.headersList.set("Accept","text/event-stream"),o.cache="no-store",o.initiator="other",this.#e6=o,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e4}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?a(t):"failure",s="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===s){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let n=new o({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});i(e.body.stream,n,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#es=s(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){n.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#es.abort(),this.#e6=null)}get onopen(){return this.#e5.open}set onopen(e){this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onmessage(){return this.#e5.message}set onmessage(e){this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get onerror(){return this.#e5.error}set onerror(e){this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}}let m={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,m),Object.defineProperties(h.prototype,m),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),n.converters.EventSourceInitDict=n.dictionaryConverter([{key:"withCredentials",converter:n.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:n.converters.any},{key:"node",converter:n.dictionaryConverter([{key:"reconnectionTime",converter:n.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:n.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:i}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,s){let n="no cors"===r?"no-cors":"cors";s&&"no-cors"===n&&(n="same-origin");let o="include";return"anonymous"===r&&(o="same-origin"),i({urlList:[e],destination:t,mode:n,credentials:o,useURLCredentials:!0})}}},4626(e,t,r){let i=r(1210),{ReadableStreamFrom:s,readableStreamClose:n,fullyReadBody:o,extractMimeType:a}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),g=r(4589),{isErrored:u,isDisturbed:h}=r(7075),{isUint8Array:m}=r(3429),{serializeAMimeType:p}=r(3518),{multipartFormDataParser:C}=r(7750),{parseJSONFromBytes:I}=r(5358),{utf8DecodeBytes:E}=r(2718),{ReadableStreamTee:f}=r(7830),B=new TextEncoder;function y(){}function Q(e,t=!1){let r=null,o=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){o=e},cancel(){},type:"bytes"}),g(d.is.ReadableStream(r));let a=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r +${e.format(t)}`.trim())}}},2137(e,t,r){let{kMockCallHistoryAddLog:i}=r(4779),{InvalidArgumentError:s}=r(8065);function n(e,t,r,i,n){switch(t.operator){case"OR":return i.push(...r(e,n)),i;case"AND":return r(e,i);default:throw new s("options.operator must to be a case insensitive string equal to 'OR' or 'AND'")}}function o(e){return(t,r=this.logs)=>{if("string"==typeof t||null==t)return r.filter(r=>r[e]===t);if(t instanceof RegExp)return r.filter(r=>t.test(r[e]));throw new s(`${e} parameter should be one of string, regexp, undefined or null`)}}class a{constructor(e={}){this.body=e.body,this.headers=e.headers,this.method=e.method;let t=function(e){try{let t=new URL(e.path,e.origin);if(0!==t.search.length)return t;return t.search=new URLSearchParams(e.query).toString(),t}catch(e){throw new s("An error occurred when computing MockCallHistoryLog.url",{cause:e})}}(e);this.fullUrl=t.toString(),this.origin=t.origin,this.path=t.pathname,this.searchParams=Object.fromEntries(t.searchParams),this.protocol=t.protocol,this.host=t.host,this.port=t.port,this.hash=t.hash}toMap(){return new Map([["protocol",this.protocol],["host",this.host],["port",this.port],["origin",this.origin],["path",this.path],["hash",this.hash],["searchParams",this.searchParams],["fullUrl",this.fullUrl],["method",this.method],["body",this.body],["headers",this.headers]])}toString(){let e="";return this.toMap().forEach((t,r)=>{("string"==typeof t||null==t)&&(e=`${e}${r}->${t}|`),("object"==typeof t&&null!==t||Array.isArray(t))&&(e=`${e}${r}->${JSON.stringify(t)}|`)}),e.slice(0,-1)}}class A{logs=[];calls(){return this.logs}firstCall(){return this.logs.at(0)}lastCall(){return this.logs.at(-1)}nthCall(e){if("number"!=typeof e)throw new s("nthCall must be called with a number");if(!Number.isInteger(e))throw new s("nthCall must be called with an integer");if(1!==Math.sign(e))throw new s("nthCall must be called with a positive value. use firstCall or lastCall instead");return this.logs.at(e-1)}filterCalls(e,t){if(0===this.logs.length)return this.logs;if("function"==typeof e)return this.logs.filter(e);if(e instanceof RegExp)return this.logs.filter(t=>e.test(t.toString()));if("object"==typeof e&&null!==e){if(0===Object.keys(e).length)return this.logs;let r={operator:"OR",...function(e={}){let t={};if("operator"in e){if("string"!=typeof e.operator||"OR"!==e.operator.toUpperCase()&&"AND"!==e.operator.toUpperCase())throw new s("options.operator must to be a case insensitive string equal to 'OR' or 'AND'");return{...t,operator:e.operator.toUpperCase()}}return t}(t)},i="AND"===r.operator?this.logs:[];return"protocol"in e&&(i=n(e.protocol,r,this.filterCallsByProtocol,i,this.logs)),"host"in e&&(i=n(e.host,r,this.filterCallsByHost,i,this.logs)),"port"in e&&(i=n(e.port,r,this.filterCallsByPort,i,this.logs)),"origin"in e&&(i=n(e.origin,r,this.filterCallsByOrigin,i,this.logs)),"path"in e&&(i=n(e.path,r,this.filterCallsByPath,i,this.logs)),"hash"in e&&(i=n(e.hash,r,this.filterCallsByHash,i,this.logs)),"fullUrl"in e&&(i=n(e.fullUrl,r,this.filterCallsByFullUrl,i,this.logs)),"method"in e&&(i=n(e.method,r,this.filterCallsByMethod,i,this.logs)),[...new Set(i)]}throw new s("criteria parameter should be one of function, regexp, or object")}filterCallsByProtocol=o.call(this,"protocol");filterCallsByHost=o.call(this,"host");filterCallsByPort=o.call(this,"port");filterCallsByOrigin=o.call(this,"origin");filterCallsByPath=o.call(this,"path");filterCallsByHash=o.call(this,"hash");filterCallsByFullUrl=o.call(this,"fullUrl");filterCallsByMethod=o.call(this,"method");clear(){this.logs=[]}[i](e){let t=new a(e);return this.logs.push(t),t}*[Symbol.iterator](){for(let e of this.calls())yield e}}e.exports.MockCallHistory=A,e.exports.MockCallHistoryLog=a},375(e,t,r){let{promisify:i}=r(7975),s=r(5183),{buildMockDispatch:n}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends s{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},8531(e,t,r){let{UndiciError:i}=r(8065),s=Symbol.for("undici.error.UND_MOCK_ERR_MOCK_NOT_MATCHED");class n extends i{constructor(e){super(e),this.name="MockNotMatchedError",this.message=e||"The request does not match any registered mock dispatches",this.code="UND_MOCK_ERR_MOCK_NOT_MATCHED"}static[Symbol.hasInstance](e){return e&&!0===e[s]}get[s](){return!0}}e.exports={MockNotMatchedError:n}},1585(e,t,r){let{getResponseData:i,buildKey:s,addMockDispatch:n}=r(6927),{kDispatches:o,kDispatchKey:a,kDefaultHeaders:A,kDefaultTrailers:l,kContentLength:c,kMockDispatch:d,kIgnoreTrailingSlash:g}=r(4779),{InvalidArgumentError:u}=r(8065),{serializePathWithQuery:h}=r(1210),{types:{isPromise:m}}=r(7975);class p{constructor(e){this[d]=e}delay(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("waitInMs must be a valid integer > 0");return this[d].delay=e,this}persist(){return this[d].persist=!0,this}times(e){if("number"!=typeof e||!Number.isInteger(e)||e<=0)throw new u("repeatTimes must be a valid integer > 0");return this[d].times=e,this}}e.exports.MockInterceptor=class{constructor(e,t){if("object"!=typeof e)throw new u("opts must be an object");if(void 0===e.path)throw new u("opts.path must be defined");if(void 0===e.method&&(e.method="GET"),"string"==typeof e.path)if(e.query)e.path=h(e.path,e.query);else{let t=new URL(e.path,"data://");e.path=t.pathname+t.search}"string"==typeof e.method&&(e.method=e.method.toUpperCase()),this[a]=s(e),this[o]=t,this[g]=e.ignoreTrailingSlash??!1,this[A]={},this[l]={},this[c]=!1}createMockScopeDispatchData({statusCode:e,data:t,responseOptions:r}){let s=i(t),n=this[c]?{"content-length":s.length}:{};return{statusCode:e,data:t,headers:{...this[A],...n,...r.headers},trailers:{...this[l],...r.trailers}}}validateReplyParameters(e){if(void 0===e.statusCode)throw new u("statusCode must be defined");if("object"!=typeof e.responseOptions||null===e.responseOptions)throw new u("responseOptions must be an object")}reply(e){if("function"==typeof e){let t=e=>{if("object"!=typeof e||null===e)throw new u("reply options callback must return an object");let t={data:"",responseOptions:{},...e};return this.validateReplyParameters(t),{...this.createMockScopeDispatchData(t)}};return new p(n(this[o],this[a],r=>{let i=e(r);return m(i)?i.then(t):t(i)},{ignoreTrailingSlash:this[g]}))}let t={statusCode:e,data:void 0===arguments[1]?"":arguments[1],responseOptions:void 0===arguments[2]?{}:arguments[2]};this.validateReplyParameters(t);let r=this.createMockScopeDispatchData(t);return new p(n(this[o],this[a],r,{ignoreTrailingSlash:this[g]}))}replyWithError(e){if(void 0===e)throw new u("error must be defined");return new p(n(this[o],this[a],{error:e},{ignoreTrailingSlash:this[g]}))}defaultReplyHeaders(e){if(void 0===e)throw new u("headers must be defined");return this[A]=e,this}defaultReplyTrailers(e){if(void 0===e)throw new u("trailers must be defined");return this[l]=e,this}replyContentLength(){return this[c]=!0,this}}},8182(e,t,r){let{promisify:i}=r(7975),s=r(6334),{buildMockDispatch:n}=r(6927),{kDispatches:o,kMockAgent:a,kClose:A,kOriginalClose:l,kOrigin:c,kOriginalDispatch:d,kConnected:g,kIgnoreTrailingSlash:u}=r(4779),{MockInterceptor:h}=r(1585),m=r(3025),{InvalidArgumentError:p}=r(8065);class C extends s{constructor(e,t){if(!t||!t.agent||"function"!=typeof t.agent.dispatch)throw new p("Argument opts.agent must implement Agent");super(e,t),this[a]=t.agent,this[c]=e,this[u]=t.ignoreTrailingSlash??!1,this[o]=[],this[g]=1,this[d]=this.dispatch,this[l]=this.close.bind(this),this.dispatch=n.call(this),this.close=this[A]}get[m.kConnected](){return this[g]}intercept(e){return new h(e&&{ignoreTrailingSlash:this[u],...e},this[o])}cleanMocks(){this[o]=[]}async [A](){await i(this[l])(),this[g]=0,this[a][m.kClients].delete(this[c])}}e.exports=C},4779(e){e.exports={kAgent:Symbol("agent"),kOptions:Symbol("options"),kFactory:Symbol("factory"),kDispatches:Symbol("dispatches"),kDispatchKey:Symbol("dispatch key"),kDefaultHeaders:Symbol("default headers"),kDefaultTrailers:Symbol("default trailers"),kContentLength:Symbol("content length"),kMockAgent:Symbol("mock agent"),kMockAgentSet:Symbol("mock agent set"),kMockAgentGet:Symbol("mock agent get"),kMockDispatch:Symbol("mock dispatch"),kClose:Symbol("close"),kOriginalClose:Symbol("original agent close"),kOriginalDispatch:Symbol("original dispatch"),kOrigin:Symbol("origin"),kIsMockActive:Symbol("is mock active"),kNetConnect:Symbol("net connect"),kGetNetConnect:Symbol("get net connect"),kConnected:Symbol("connected"),kIgnoreTrailingSlash:Symbol("ignore trailing slash"),kMockAgentMockCallHistoryInstance:Symbol("mock agent mock call history name"),kMockAgentRegisterCallHistory:Symbol("mock agent register mock call history"),kMockAgentAddCallHistoryLog:Symbol("mock agent add call history log"),kMockAgentIsCallHistoryEnabled:Symbol("mock agent is call history enabled"),kMockAgentAcceptsNonStandardSearchParameters:Symbol("mock agent accepts non standard search parameters"),kMockCallHistoryAddLog:Symbol("mock call history add log"),kTotalDispatchCount:Symbol("total dispatch count")}},6927(e,t,r){let{MockNotMatchedError:i}=r(8531),{kDispatches:s,kMockAgent:n,kOriginalDispatch:o,kOrigin:a,kGetNetConnect:A,kTotalDispatchCount:l}=r(4779),{serializePathWithQuery:c,parseHeaders:d}=r(1210),{STATUS_CODES:g}=r(7067),{types:{isPromise:u}}=r(7975),{InvalidArgumentError:h}=r(8065);function m(e,t){return"string"==typeof e?e===t:e instanceof RegExp?e.test(t):"function"==typeof e&&!0===e(t)}function p(e){return Object.fromEntries(Object.entries(e).map(([e,t])=>[e.toLocaleLowerCase(),t]))}function C(e,t){if(Array.isArray(e)){for(let r=0;r<e.length;r+=2)if(e[r].toLocaleLowerCase()===t.toLocaleLowerCase())return e[r+1];return}return"function"==typeof e.get?e.get(t):p(e)[t.toLocaleLowerCase()]}function I(e){let t=e.slice(),r=[];for(let e=0;e<t.length;e+=2)r.push([t[e],t[e+1]]);return Object.fromEntries(r)}function f(e,t){if("function"==typeof e.headers)return Array.isArray(t)&&(t=I(t)),e.headers(t?p(t):{});if(void 0===e.headers)return!0;if("object"!=typeof t||"object"!=typeof e.headers)return!1;for(let[r,i]of Object.entries(e.headers))if(!m(i,C(t,r)))return!1;return!0}function E(e){if("string"!=typeof e)return e;let t=e.split("?",3);if(2!==t.length)return e;let r=new URLSearchParams(t.pop());return r.sort(),[...t,r.toString()].join("?")}function B(e){if(Buffer.isBuffer(e)||e instanceof Uint8Array)return e;if(e instanceof ArrayBuffer)return e;if("object"==typeof e)return JSON.stringify(e);if(e)return e.toString();else return""}function y(e,t){let r=t.query?c(t.path,t.query):t.path,s="string"==typeof r?E(r):r,n=N(s),o=e.filter(({consumed:e})=>!e).filter(({path:e,ignoreTrailingSlash:t})=>t?m(N(E(e)),n):m(E(e),s));if(0===o.length)throw new i(`Mock dispatch not matched for path '${s}'`);if(0===(o=o.filter(({method:e})=>m(e,t.method))).length)throw new i(`Mock dispatch not matched for method '${t.method}' on path '${s}'`);if(0===(o=o.filter(({body:e})=>void 0===e||m(e,t.body))).length)throw new i(`Mock dispatch not matched for body '${t.body}' on path '${s}'`);if(0===(o=o.filter(e=>f(e,t.headers))).length){let e="object"==typeof t.headers?JSON.stringify(t.headers):t.headers;throw new i(`Mock dispatch not matched for headers '${e}' on path '${s}'`)}return o[0]}function Q(e,t){let r=e.findIndex(e=>!!e.consumed&&function(e,{path:t,method:r,body:i,headers:s}){let n=m(e.path,t),o=m(e.method,r),a=void 0===e.body||m(e.body,i),A=f(e,s);return n&&o&&a&&A}(e,t));-1!==r&&e.splice(r,1)}function N(e){for(;e.endsWith("/");)e=e.slice(0,-1);return 0===e.length&&(e="/"),e}function b(e){let{path:t,method:r,body:i,headers:s,query:n}=e;return{path:t,method:r,body:i,headers:s,query:n}}function S(e){let t=Object.keys(e),r=[];for(let i=0;i<t.length;++i){let s=t[i],n=e[s],o=Buffer.from(`${s}`);if(Array.isArray(n))for(let e=0;e<n.length;++e)r.push(o,Buffer.from(`${n[e]}`));else r.push(o,Buffer.from(`${n}`))}return r}function w(e){return g[e]||"unknown"}function D(e,t){let r=b(e),i=y(this[s],r),n=this[s];i.timesInvoked++;let{timesInvoked:o,times:a}=i;if(i.consumed=!i.persist&&o>=a,i.pending=o<a,i.data.callback){let s=i.data.callback(e);if(u(s))return s.then(s=>{i.data={...i.data,...s},x(n,i,r,e,t)},e=>{Q(n,r),t.onResponseError(null,e)}),!0;i.data={...i.data,...s}}return x(n,i,r,e,t)}function x(e,t,r,i,s){let{data:{statusCode:n,data:o,headers:a,trailers:A,error:l},delay:c}=t;if(null!==l)return Q(e,r),s.onResponseError(null,l),!0;let g=!1,h=null,m={paused:!1,rawHeaders:null,rawTrailers:null,pause(){this.paused=!0},resume(){this.paused=!1},abort:e=>{g||(g=!0,null!==h&&(clearTimeout(h),h=null),s.onResponseError?.(m,e))}};function p(e,t=o){if(g)return;let l=Array.isArray(i.headers)?I(i.headers):i.headers,c="function"==typeof t?t({...i,headers:l}):t;if(u(c))return c.then(t=>p(e,t));if(g)return;let h=B(c),C=S(a),f=S(A);m.rawHeaders=C,m.rawTrailers=f,s.onResponseStart?.(m,n,d(C),w(n)),s.onResponseData?.(m,Buffer.from(h)),s.onResponseEnd?.(m,d(f)),Q(e,r)}return s.onRequestStart?.(m,null),"number"==typeof c&&c>0?h=setTimeout(()=>{h=null,p(e)},c):p(e),!0}function R(e,t){let r=new URL(t);return!0===e||!!(Array.isArray(e)&&e.some(e=>m(e,r.host)))}e.exports={getResponseData:B,getMockDispatch:y,addMockDispatch:function(e,t,r,i){let s={timesInvoked:0,times:1,persist:!1,consumed:!1,...i},n="function"==typeof r?{callback:r}:{...r},o={...s,...t,pending:!0,data:{error:null,...n}};return e.push(o),e[l]=(e[l]||0)+1,o},deleteMockDispatch:Q,buildKey:b,generateKeyValues:S,matchValue:m,getResponse:async function e(e){let t=[];for await(let r of e)t.push(r);return Buffer.concat(t).toString("utf8")},getStatusText:w,mockDispatch:D,buildMockDispatch:function(){let e=this[n],t=this[a],r=this[o];return function(n,o){if(e.isMockActive)try{D.call(this,n,o)}catch(a){if("UND_MOCK_ERR_MOCK_NOT_MATCHED"===a.code){let c=e[A](),d=this[s][l]||this[s].length,g=this[s].filter(({consumed:e})=>!e).length,u=`, ${g} interceptor(s) remaining out of ${d} defined`;if(!1===c)throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect disabled)${u}`);if(R(c,t))r.call(this,"__mockAgentBodyForDispatch"in n?{...n,body:n.__mockAgentBodyForDispatch}:n,o);else throw new i(`${a.message}: subsequent request to origin ${t} was not allowed (net.connect is not enabled for this origin)${u}`)}else throw a}else r.call(this,n,o)}},checkNetConnect:R,buildAndValidateMockOptions:function(e){let{agent:t,...r}=e;if("enableCallHistory"in r&&"boolean"!=typeof r.enableCallHistory)throw new h("options.enableCallHistory must to be a boolean");if("acceptNonStandardSearchParameters"in r&&"boolean"!=typeof r.acceptNonStandardSearchParameters)throw new h("options.acceptNonStandardSearchParameters must to be a boolean");if("ignoreTrailingSlash"in r&&"boolean"!=typeof r.ignoreTrailingSlash)throw new h("options.ignoreTrailingSlash must to be a boolean");return r},getHeaderByName:C,buildHeadersFromArray:I,normalizeSearchParams:function(e){if("string"!=typeof e)return e;let t=new URLSearchParams(e),r=new URLSearchParams;for(let[e,i]of t.entries()){if(e=e.replace("[]",""),/^(['"]).*\1$/.test(i)){r.append(e,i);continue}if(i.includes(",")){for(let t of i.split(","))r.append(e,t);continue}r.append(e,i)}return r},normalizeOrigin:function(e){return"string"==typeof e||e instanceof URL?e instanceof URL?e.origin:e.toLowerCase():e}}},1908(e,t,r){let{Transform:i}=r(7075),{Console:s}=r(7540),n=process.versions.icu?"✅":"Y ",o=process.versions.icu?"❌":"N ";e.exports=class{constructor({disableColors:e}={}){this.transform=new i({transform(e,t,r){r(null,e)}}),this.logger=new s({stdout:this.transform,inspectOptions:{colors:!e&&!process.env.CI}})}format(e){let t=e.map(({method:e,path:t,data:{statusCode:r},persist:i,times:s,timesInvoked:a,origin:A})=>({Method:e,Origin:A,Path:t,"Status code":r,Persistent:i?n:o,Invocations:a,Remaining:i?1/0:s-a}));return this.logger.table(t),this.transform.read().toString()}}},2817(e,t,r){let i=r(5891),s=r(6923),{SnapshotRecorder:n}=r(2152),{InvalidArgumentError:o,UndiciError:a}=r(8065),A=r(1210),{validateSnapshotMode:l}=r(289),c=Symbol("kSnapshotRecorder"),d=Symbol("kSnapshotMode"),g=Symbol("kSnapshotPath"),u=Symbol("kSnapshotLoaded"),h=Symbol("kRealAgent"),m=!1;e.exports=class extends s{constructor(e={}){m||(process.emitWarning("SnapshotAgent is experimental and subject to change","ExperimentalWarning"),m=!0);let{mode:t="record",snapshotPath:r=null,...s}=e;if(super(s),l(t),("playback"===t||"update"===t)&&!r)throw new o(`snapshotPath is required when mode is '${t}'`);this[d]=t,this[g]=r,this[c]=new n({snapshotPath:this[g],mode:this[d],maxSnapshots:e.maxSnapshots,autoFlush:e.autoFlush,flushInterval:e.flushInterval,matchHeaders:e.matchHeaders,ignoreHeaders:e.ignoreHeaders,excludeHeaders:e.excludeHeaders,matchBody:e.matchBody,normalizeBody:e.normalizeBody,matchQuery:e.matchQuery,normalizeQuery:e.normalizeQuery,caseSensitive:e.caseSensitive,shouldRecord:e.shouldRecord,shouldPlayback:e.shouldPlayback,excludeUrls:e.excludeUrls}),this[u]=!1,("record"===this[d]||"update"===this[d]||"playback"===this[d]&&e.excludeUrls&&e.excludeUrls.length>0)&&(this[h]=new i(e)),("playback"===this[d]||"update"===this[d])&&this[g]&&this.loadSnapshots().catch(()=>{})}dispatch(e,t){let r=this[d];if(this[c].isUrlExcluded(e))return this[h].dispatch(e,t);if("playback"===r||"update"===r){if(!this[u])return this.#eT(e,t);let i=this[c].findSnapshot(e);if(i)return this.#eL(i,t);{if("update"===r)return this.#eO(e,t);let i=new a(`No snapshot found for ${e.method||"GET"} ${e.path}`);if(t.onResponseError)return void t.onResponseError(null,i);throw i}}if("record"===r)return this.#eO(e,t)}async #eT(e,t){return await this.loadSnapshots(),this.dispatch(e,t)}#eO(e,t){let r={statusCode:null,headers:{},trailers:{},body:[]},i=this;return this[h].dispatch(e,{onRequestStart(e,r){return t.onRequestStart(e,{...r,history:this.history})},onRequestUpgrade:(e,r,i,s)=>t.onRequestUpgrade(e,r,i,s),onResponseStart:(e,i,s,n)=>(r.statusCode=i,r.headers=s,t.onResponseStart(e,i,s,n)),onResponseData:(e,i)=>(r.body.push(i),t.onResponseData(e,i)),onResponseEnd(s,n){r.trailers=n;let o=Buffer.concat(r.body);i[c].record(e,{statusCode:r.statusCode,headers:r.headers,body:o,trailers:r.trailers}).then(()=>t.onResponseEnd(s,n)).catch(e=>t.onResponseError(s,e))},onResponseError:(e,r)=>t.onResponseError(e,r)})}#eL(e,t){try{let{response:r}=e,i=r.headers?A.toRawHeaders(r.headers):[],s=r.trailers?A.toRawHeaders(r.trailers):[],n={rawHeaders:i,rawTrailers:s,pause(){},resume(){},abort(e){this.aborted=!0,this.reason=e},aborted:!1,paused:!1};t.onRequestStart(n),t.onResponseStart(n,r.statusCode,r.headers,r.statusMessage);let o=Buffer.from(r.body,"base64");t.onResponseData(n,o),t.onResponseEnd(n,r.trailers)}catch(e){t.onResponseError?.(null,e)}}async loadSnapshots(e){await this[c].loadSnapshots(e||this[g]),this[u]=!0,"playback"===this[d]&&this.#eH()}async saveSnapshots(e){return this[c].saveSnapshots(e||this[g])}#eH(){for(let e of this[c].getSnapshots()){let{request:t,responses:r,response:i}=e,s=new URL(t.url),n=this.get(s.origin),o=r?r[0]:i;o&&n.intercept({path:s.pathname+s.search,method:t.method,headers:t.headers,body:t.body}).reply(o.statusCode,o.body,{headers:o.headers,trailers:o.trailers}).persist()}}getRecorder(){return this[c]}getMode(){return this[d]}clearSnapshots(){this[c].clear()}resetCallCounts(){this[c].resetCallCounts()}deleteSnapshot(e){return this[c].deleteSnapshot(e)}getSnapshotInfo(e){return this[c].getSnapshotInfo(e)}replaceSnapshots(e){this[c].replaceSnapshots(e)}async close(){"playback"===this[d]?this[c].destroy():await this[c].close(),await this[h]?.close(),await super.close()}}},2152(e,t,r){let{writeFile:i,readFile:s,mkdir:n}=r(1455),{dirname:o,resolve:a}=r(6760),{setTimeout:A,clearTimeout:l}=r(7997),{InvalidArgumentError:c,UndiciError:d}=r(8065),{hashId:g,isUrlExcludedFactory:u,normalizeHeaders:h,createHeaderFilters:m}=r(289);function p(e,t,r={}){var i,s,n;let o=new URL(e.path,e.origin),a=e._normalizedHeaders||h(e.headers);return e._normalizedHeaders||(e._normalizedHeaders=a),{method:e.method||"GET",url:function(e,t,r){if(!1===t)return`${e.origin}${e.pathname}`;if(r){let t=String(r(e.searchParams)??"");return t?`${e.origin}${e.pathname}?${t}`:`${e.origin}${e.pathname}`}return e.toString()}(o,r.matchQuery,r.normalizeQuery),headers:C(a,t,r),body:(i=e.body,s=r.matchBody,n=r.normalizeBody,!1===s?"":n?String(n(i)??""):i?String(i):"")}}function C(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,s={},{ignore:n,exclude:o,match:a}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();!(o.has(e)||n.has(e))&&(0===a.size||a.has(e))&&(s[e]=r)}return s}function I(e,t,r={}){if(!e||"object"!=typeof e)return{};let{caseSensitive:i=!1}=r,s={},{exclude:n}=t;for(let[t,r]of Object.entries(e)){let e=i?t:t.toLowerCase();n.has(e)||(s[e]=r)}return s}function f(e){let t=[e.method,e.url];if(e.headers&&"object"==typeof e.headers)for(let r of Object.keys(e.headers).sort()){let i=Array.isArray(e.headers[r])?e.headers[r]:[e.headers[r]];for(let e of(t.push(r),i.sort()))t.push(String(e))}return t.push(e.body),g(t.join("|"))}class E{#eP;#eY;#eG=new Map;#ez;#eq=1/0;#eV=!1;#e_;constructor(e={}){this.#ez=e.snapshotPath,this.#eq=e.maxSnapshots||1/0,this.#eV=e.autoFlush||!1,this.flushInterval=e.flushInterval||3e4,this._flushTimer=null,this.matchOptions={matchHeaders:e.matchHeaders||[],ignoreHeaders:e.ignoreHeaders||[],excludeHeaders:e.excludeHeaders||[],matchBody:!1!==e.matchBody,normalizeBody:e.normalizeBody||void 0,matchQuery:!1!==e.matchQuery,normalizeQuery:e.normalizeQuery||void 0,caseSensitive:e.caseSensitive||!1},this.#e_=m(this.matchOptions),this.shouldRecord=e.shouldRecord||(()=>!0),this.shouldPlayback=e.shouldPlayback||(()=>!0),this.#eY=u(e.excludeUrls),this.#eV&&this.#ez&&this.#eJ()}async record(e,t){if(!this.shouldRecord(e)||this.isUrlExcluded(e))return;let r=p(e,this.#e_,this.matchOptions),i=f(r),s=h(t.headers),n={statusCode:t.statusCode,headers:I(s,this.#e_,this.matchOptions),body:Buffer.isBuffer(t.body)?t.body.toString("base64"):Buffer.from(String(t.body||"")).toString("base64"),trailers:t.trailers};if(this.#eG.size>=this.#eq&&!this.#eG.has(i)){let e=this.#eG.keys().next().value;this.#eG.delete(e)}let o=this.#eG.get(i);o&&o.responses?(o.responses.push(n),o.timestamp=new Date().toISOString()):this.#eG.set(i,{request:r,responses:[n],callCount:0,timestamp:new Date().toISOString()}),this.#eV&&this.#ez&&this.#eW()}isUrlExcluded(e){let t=new URL(e.path,e.origin).toString();return this.#eY(t)}findSnapshot(e){if(!this.shouldPlayback(e)||this.isUrlExcluded(e))return;let t=f(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);if(!r)return;let i=r.callCount||0,s=Math.min(i,r.responses.length-1);return r.callCount=i+1,{...r,response:r.responses[s]}}async loadSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");try{let e=await s(a(t),"utf8"),r=JSON.parse(e);if(Array.isArray(r))for(let{hash:e,snapshot:t}of(this.#eG.clear(),r))this.#eG.set(e,t);else this.#eG=new Map(Object.entries(r))}catch(e){if("ENOENT"===e.code)this.#eG.clear();else throw new d(`Failed to load snapshots from ${t}`,{cause:e})}}async saveSnapshots(e){let t=e||this.#ez;if(!t)throw new c("Snapshot path is required");let r=a(t);await n(o(r),{recursive:!0});let s=Array.from(this.#eG.entries()).map(([e,t])=>({hash:e,snapshot:t}));await i(r,JSON.stringify(s,null,2),{flush:!0})}clear(){this.#eG.clear()}getSnapshots(){return Array.from(this.#eG.values())}size(){return this.#eG.size}resetCallCounts(){for(let e of this.#eG.values())e.callCount=0}deleteSnapshot(e){let t=f(p(e,this.#e_,this.matchOptions));return this.#eG.delete(t)}getSnapshotInfo(e){let t=f(p(e,this.#e_,this.matchOptions)),r=this.#eG.get(t);return r?{hash:t,request:r.request,responseCount:r.responses?r.responses.length:+!!r.response,callCount:r.callCount||0,timestamp:r.timestamp}:null}replaceSnapshots(e){if(this.#eG.clear(),Array.isArray(e))for(let{hash:t,snapshot:r}of e)this.#eG.set(t,r);else e&&"object"==typeof e&&(this.#eG=new Map(Object.entries(e)))}#eJ(){return this.#eW()}#ej(){this.#eP&&(l(this.#eP),this.saveSnapshots().catch(()=>{}),this.#eP=null)}#eW(){this.#eP=A(()=>{this.saveSnapshots().catch(()=>{}),this.#eV?this.#eP?.refresh():this.#eP=null},1e3)}destroy(){this.#ej(),this.#eP&&(l(this.#eP),this.#eP=null)}async close(){this.#ez&&0!==this.#eG.size&&await this.saveSnapshots(),this.destroy()}}e.exports={SnapshotRecorder:E,formatRequestKey:p,createRequestHash:f,filterHeadersForMatching:C,filterHeadersForStorage:I,createHeaderFilters:m}},289(e,t,r){let{InvalidArgumentError:i}=r(8065),{runtimeFeatures:s}=r(6979),n=s.has("crypto")?r(7598):null,o=n?.hash?e=>n.hash("sha256",e,"base64url"):e=>Buffer.from(e).toString("base64url");function a(e){return Array.isArray(e)&&(1&e.length)==0}let A=["record","playback","update"];e.exports={createHeaderFilters:function(e={}){let{ignoreHeaders:t=[],excludeHeaders:r=[],matchHeaders:i=[],caseSensitive:s=!1}=e;return{ignore:new Set(t.map(e=>s?e:e.toLowerCase())),exclude:new Set(r.map(e=>s?e:e.toLowerCase())),match:new Set(i.map(e=>s?e:e.toLowerCase()))}},hashId:o,isUndiciHeaders:a,normalizeHeaders:function(e){let t={};if(!e)return t;if(a(e)){for(let r=0;r<e.length;r+=2){let i=e[r],s=e[r+1];if(i&&void 0!==s){let e=Buffer.isBuffer(i)?i.toString():i,r=Buffer.isBuffer(s)?s.toString():s;t[e.toLowerCase()]=r}}return t}if(e&&"object"==typeof e)for(let[r,i]of Object.entries(e))r&&"string"==typeof r&&(t[r.toLowerCase()]=Array.isArray(i)?i.join(", "):String(i));return t},isUrlExcludedFactory:function(e=[]){return 0===e.length?()=>!1:function(t){let r;for(let i of e)if("string"==typeof i){if(r||(r=t.toLowerCase()),r.includes(i.toLowerCase()))return!0}else if(i instanceof RegExp&&i.test(t))return!0;return!1}},validateSnapshotMode:function(e){if(!A.includes(e))throw new i(`Invalid snapshot mode: ${e}. Must be one of: ${A.join(", ")}`)}}},8621(e,t,r){let{safeHTTPMethods:i,pathHasQueryOrFragment:s,hasSafeIterator:n,isValidHTTPToken:o}=r(1210),{serializePathWithQuery:a}=r(1210),A=["no-store","private","no-cache"],l=Symbol("invalid cache-control directives");function c(e){return e.replace(/^[\t ]+|[\t ]+$/g,"")}function d(e,t){for(let r=0;r<e.length;r++)if(e[r]===t)return!0;return!1}function g(e){return e.replace(/^[\t ]+/,"")}function u(e){return e.replace(/[\t ]+$/,"")}function h(e,t){let r=!1;for(let i=t;i<e.length;i++)if(r)r=!1;else if("\\"===e[i])r=!0;else if('"'===e[i])return i;return -1}function m(e,t){let r=e[l];void 0===r&&Object.defineProperty(e,l,{value:r=new Set}),r.add(t)}function p(e,t,r){let i=t.toLowerCase(),s=e[i],n=Array.isArray(r)?r:[r];void 0===s?e[i]=Array.isArray(r)?r.slice():r:Array.isArray(s)?s.push(...n):e[i]=[s,...n]}function C(e){let t=Array.isArray(e)?e:[e],r=[];for(let e=0;e<t.length;e++){let i=t[e].split(",");for(let e=0;e<i.length;e++)r.push(i[e])}return r}function I(e){let t=C(e);for(let e=0;e<t.length;e++)if(-1!==c(t[e]).indexOf("*"))return!0;return!1}function f(e,t){if(I(e))return t;let r={};for(let i of C(e)){let e=c(i).toLowerCase();if(0===e.length)continue;if(!o(e))return;let s=t[e];r[e]=Array.isArray(s)?s.slice():s??null}return r}e.exports={makeCacheKey:function(e){if(!e.origin)throw Error("opts.origin is undefined");let t=e.path||"/";return e.query&&!s(t)&&(t=a(t,e.query)),{origin:e.origin.toString(),method:e.method,path:t,headers:e.headers}},normalizeHeaders:function(e){let t;if(null==e.headers)t={};else if("object"==typeof e.headers)if(t={},n(e.headers))if(Array.isArray(e.headers))if(Array.isArray(e.headers[0]))for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else{let r=e.headers.length;if(r%2!=0)throw Error("opts.headers is not a valid header map");for(let i=0;i<r;i+=2){let r=e.headers[i],s=e.headers[i+1];if("string"!=typeof r||"string"!=typeof s&&!Array.isArray(s))throw Error("opts.headers is not a valid header map");if("string"==typeof s)p(t,r,s);else{let e=[];for(let t=0;t<s.length;t++){let r=s[t];e.push("string"==typeof r?r:r.toString("latin1"))}p(t,r,e)}}}else for(let r of e.headers){if(!Array.isArray(r))throw Error("opts.headers is not a valid header map");let[e,i]=r;if("string"!=typeof e||"string"!=typeof i)throw Error("opts.headers is not a valid header map");p(t,e,i)}else for(let r of Object.keys(e.headers))p(t,r,e.headers[r]);else throw Error("opts.headers is not an object");return t},assertCacheKey:function(e){if("object"!=typeof e)throw TypeError(`expected key to be object, got ${typeof e}`);for(let t of["origin","method","path"])if("string"!=typeof e[t])throw TypeError(`expected key.${t} to be string, got ${typeof e[t]}`);if(void 0!==e.headers&&"object"!=typeof e.headers)throw TypeError(`expected headers to be object, got ${typeof e}`)},assertCacheValue:function(e){if("object"!=typeof e)throw TypeError(`expected value to be object, got ${typeof e}`);for(let t of["statusCode","cachedAt","staleAt","deleteAt"])if("number"!=typeof e[t])throw TypeError(`expected value.${t} to be number, got ${typeof e[t]}`);if("string"!=typeof e.statusMessage)throw TypeError(`expected value.statusMessage to be string, got ${typeof e.statusMessage}`);if(null!=e.headers&&"object"!=typeof e.headers)throw TypeError(`expected value.rawHeaders to be object, got ${typeof e.headers}`);if(void 0!==e.vary&&"object"!=typeof e.vary)throw TypeError(`expected value.vary to be object, got ${typeof e.vary}`);if(void 0!==e.etag&&"string"!=typeof e.etag)throw TypeError(`expected value.etag to be string, got ${typeof e.etag}`)},parseCacheControlHeader:function(e){let t={},r=new Set,i=new Set,s=function(e){let t=[],r=0,i=-1,s=!1,n=!1;for(let o=0;o<e.length;o++)s?n?n=!1:"\\"===e[o]?n=!0:'"'===e[o]&&(s=!1,i=-1):'"'===e[o]?(s=!0,i=o):","===e[o]&&(t.push({value:e.substring(r,o),fromMalformedQuote:!1}),r=o+1);if(!s)return t.push({value:e.substring(r),fromMalformedQuote:!1}),t;let o=e.substring(r),a=i-r,A=0;for(let e=0;e<o.length;e++)","===o[e]&&(t.push({value:o.substring(A,e),fromMalformedQuote:A>a}),A=e+1);return t.push({value:o.substring(A),fromMalformedQuote:A>a}),t}(Array.isArray(e)?e.join(","):e);for(let e=0;e<s.length;e++){let n,a,l=s[e],p=l.value.toLowerCase(),C=l.fromMalformedQuote,I=p.indexOf("="),f=!1,E=!1;if(-1!==I){let e=p.substring(0,I),t=p.substring(I+1);f=u(e)!==e,E=g(t)!==t,n=c(e),a=g(t)}else n=c(p);let B=function(e){for(let t of A)if(e.startsWith(t)&&e.length>t.length&&!o(e[t.length]))return t;let t="",r=!1;for(let i=0;i<e.length;i++)o(e[i])?t+=e[i]:r=!0;if(r&&d(A,t))return t}(n);if(void 0!==B){t[B]=!0;continue}switch(n){case"min-fresh":case"max-stale":case"max-age":case"s-maxage":case"stale-while-revalidate":case"stale-if-error":{if(C||r.has(n))continue;if(void 0===a||f||E||(a.length>=2&&'"'===a[0]&&'"'===a[a.length-1]&&(a=a.substring(1,a.length-1)),!/^[0-9]+$/.test(a))){delete t[n],r.add(n),m(t,n);continue}let e=Math.min(parseInt(a,10),0x7fffffff);"min-fresh"===n?n in t&&!(t[n]<e)||(t[n]=e):n in t&&!(t[n]>e)||(t[n]=e);break}case"private":case"no-cache":if(C||void 0!==a&&0===a.length){t[n]=!0;break}if(a){if('"'===a[0]){a=u(a);let r="",i=e,A=!1,l=h(a,1);if(-1!==l)r=a.substring(1,l),A=!0;else{let t=[a.substring(1)];for(let r=e+1;r<s.length;r++){let e=c(s[r].value),n=h(e,0);if(i=r,-1!==n){t.push(e.substring(0,n)),A=!0;break}t.push(e)}r=t.join(",")}if(!A){t[n]=!0;break}e=i;let d=r.split(","),g=!0;for(let e=0;e<d.length;e++)d[e]=c(d[e]),o(d[e])||(g=!1);g?!0!==t[n]&&(n in t?t[n]=t[n].concat(d):t[n]=d):t[n]=!0}else{let e=c(a);o(e)?!0!==t[n]&&(n in t?t[n]=t[n].concat(e):t[n]=[e]):t[n]=!0}break}case"public":case"must-revalidate":case"proxy-revalidate":case"immutable":case"no-transform":case"must-understand":case"only-if-cached":if(C||i.has(n))continue;if(void 0!==a){delete t[n],i.add(n);continue}t[n]=!0;break;case"no-store":t[n]=!0;break;default:continue}}return t},hasInvalidCacheControlDirective:function(e,t){return e[l]?.has(t)===!0},parseVaryHeader:f,hasVaryStar:I,isInvalidOrWildcardVaryHeader:function(e){return I(e)||void 0===f(e,{})},isEtagUsable:function(e){return!(e.length<=2)&&('"'===e[0]&&'"'===e[e.length-1]?!('"'===e[1]||e.startsWith('"W/')):!!e.startsWith('W/"')&&'"'===e[e.length-1]&&4!==e.length)},assertCacheMethods:function(e,t="CacheMethods"){if(!Array.isArray(e))throw TypeError(`expected type of ${t} needs to be an array, got ${null===e?"null":typeof e}`);if(0===e.length)throw TypeError(`${t} needs to have at least one method`);for(let r of e)if(!d(i,r))throw TypeError(`element of ${t}-array needs to be one of following values: ${i.join(", ")}, got ${r}`)},assertCacheStore:function(e,t="CacheStore"){if("object"!=typeof e||null===e)throw TypeError(`expected type of ${t} to be a CacheStore, got ${null===e?"null":typeof e}`);for(let r of["get","createWriteStream","delete"])if("function"!=typeof e[r])throw TypeError(`${t} needs to have a \`${r}()\` function`)},makeDeduplicationKey:function(e,t){let r={};if(e.headers)for(let i of Object.keys(e.headers).sort())t?.has(i.toLowerCase())||(r[i]=e.headers[i]);return JSON.stringify([e.origin,e.method,e.path,r])}}},5859(e){function t(e,t,r,i,s,n,o){let a=new Date(Date.UTC(e,t,r,i,s,n));return e>=0&&e<=99&&a.setUTCFullYear(e),a.getUTCFullYear()===e&&a.getUTCMonth()===t&&a.getUTCDate()===r&&a.getUTCHours()===i&&a.getUTCMinutes()===s&&a.getUTCSeconds()===n&&a.getUTCDay()===o?a:void 0}e.exports={parseHttpDate:function(e){switch(e[3]){case",":return function(e){if(29!==e.length||" "!==e[4]||" "!==e[7]||" "!==e[11]||" "!==e[16]||":"!==e[19]||":"!==e[22]||" "!==e[25]||"G"!==e[26]||"M"!==e[27]||"T"!==e[28])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=0;if("0"===e[5]){let t=e.charCodeAt(6);if(t<49||t>57)return;i=t-48}else{let t=e.charCodeAt(5);if(t<49||t>51)return;let r=e.charCodeAt(6);if(r<48||r>57)return;i=(t-48)*10+(r-48)}let s=-1;if("J"===e[8]&&"a"===e[9]&&"n"===e[10])s=0;else if("F"===e[8]&&"e"===e[9]&&"b"===e[10])s=1;else if("M"===e[8]&&"a"===e[9])if("r"===e[10])s=2;else{if("y"!==e[10])return;s=4}else if("J"===e[8])if("a"===e[9]&&"n"===e[10])s=0;else if("u"!==e[9])return;else if("n"===e[10])s=5;else{if("l"!==e[10])return;s=6}else if("A"===e[8])if("p"===e[9]&&"r"===e[10])s=3;else{if("u"!==e[9]||"g"!==e[10])return;s=7}else if("S"===e[8]&&"e"===e[9]&&"p"===e[10])s=8;else if("O"===e[8]&&"c"===e[9]&&"t"===e[10])s=9;else if("N"===e[8]&&"o"===e[9]&&"v"===e[10])s=10;else{if("D"!==e[8]||"e"!==e[9]||"c"!==e[10])return;s=11}let n=e.charCodeAt(12);if(n<48||n>57)return;let o=e.charCodeAt(13);if(o<48||o>57)return;let a=e.charCodeAt(14);if(a<48||a>57)return;let A=e.charCodeAt(15);if(A<48||A>57)return;let l=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(17);if(t<48||t>50)return;let r=e.charCodeAt(18);if(r<48||r>57||50===t&&r>51)return;l=(t-48)*10+(r-48)}let c=0;if("0"===e[20]){let t=e.charCodeAt(21);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(20);if(t<48||t>53)return;let r=e.charCodeAt(21);if(r<48||r>57)return;c=(t-48)*10+(r-48)}let d=0;if("0"===e[23]){let t=e.charCodeAt(24);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(23);if(t<48||t>53)return;let r=e.charCodeAt(24);if(r<48||r>57)return;d=(t-48)*10+(r-48)}return t((n-48)*1e3+(o-48)*100+(a-48)*10+(A-48),s,i,l,c,d,r)}(e);case" ":return function(e){if(24!==e.length||" "!==e[7]||" "!==e[10]||" "!==e[19])return;let r=-1;if("S"===e[0]&&"u"===e[1]&&"n"===e[2])r=0;else if("M"===e[0]&&"o"===e[1]&&"n"===e[2])r=1;else if("T"===e[0]&&"u"===e[1]&&"e"===e[2])r=2;else if("W"===e[0]&&"e"===e[1]&&"d"===e[2])r=3;else if("T"===e[0]&&"h"===e[1]&&"u"===e[2])r=4;else if("F"===e[0]&&"r"===e[1]&&"i"===e[2])r=5;else{if("S"!==e[0]||"a"!==e[1]||"t"!==e[2])return;r=6}let i=-1;if("J"===e[4]&&"a"===e[5]&&"n"===e[6])i=0;else if("F"===e[4]&&"e"===e[5]&&"b"===e[6])i=1;else if("M"===e[4]&&"a"===e[5])if("r"===e[6])i=2;else{if("y"!==e[6])return;i=4}else if("J"===e[4])if("a"===e[5]&&"n"===e[6])i=0;else if("u"!==e[5])return;else if("n"===e[6])i=5;else{if("l"!==e[6])return;i=6}else if("A"===e[4])if("p"===e[5]&&"r"===e[6])i=3;else{if("u"!==e[5]||"g"!==e[6])return;i=7}else if("S"===e[4]&&"e"===e[5]&&"p"===e[6])i=8;else if("O"===e[4]&&"c"===e[5]&&"t"===e[6])i=9;else if("N"===e[4]&&"o"===e[5]&&"v"===e[6])i=10;else{if("D"!==e[4]||"e"!==e[5]||"c"!==e[6])return;i=11}let s=0;if(" "===e[8]){let t=e.charCodeAt(9);if(t<49||t>57)return;s=t-48}else{let t=e.charCodeAt(8);if(t<49||t>51)return;let r=e.charCodeAt(9);if(r<48||r>57)return;s=(t-48)*10+(r-48)}let n=0;if("0"===e[11]){let t=e.charCodeAt(12);if(t<48||t>57)return;n=t-48}else{let t=e.charCodeAt(11);if(t<48||t>50)return;let r=e.charCodeAt(12);if(r<48||r>57||50===t&&r>51)return;n=(t-48)*10+(r-48)}let o=0;if("0"===e[14]){let t=e.charCodeAt(15);if(t<48||t>57)return;o=t-48}else{let t=e.charCodeAt(14);if(t<48||t>53)return;let r=e.charCodeAt(15);if(r<48||r>57)return;o=(t-48)*10+(r-48)}let a=0;if("0"===e[17]){let t=e.charCodeAt(18);if(t<48||t>57)return;a=t-48}else{let t=e.charCodeAt(17);if(t<48||t>53)return;let r=e.charCodeAt(18);if(r<48||r>57)return;a=(t-48)*10+(r-48)}let A=e.charCodeAt(20);if(A<48||A>57)return;let l=e.charCodeAt(21);if(l<48||l>57)return;let c=e.charCodeAt(22);if(c<48||c>57)return;let d=e.charCodeAt(23);if(!(d<48)&&!(d>57))return t((A-48)*1e3+(l-48)*100+(c-48)*10+(d-48),i,s,n,o,a,r)}(e);default:return function(e){let r=-1,i=-1;if("S"===e[0])"u"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5]?(i=0,r=6):"a"===e[1]&&"t"===e[2]&&"u"===e[3]&&"r"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=6,r=8);else if("M"===e[0]&&"o"===e[1]&&"n"===e[2]&&"d"===e[3]&&"a"===e[4]&&"y"===e[5])i=1,r=6;else if("T"===e[0])"u"===e[1]&&"e"===e[2]&&"s"===e[3]&&"d"===e[4]&&"a"===e[5]&&"y"===e[6]?(i=2,r=7):"h"===e[1]&&"u"===e[2]&&"r"===e[3]&&"s"===e[4]&&"d"===e[5]&&"a"===e[6]&&"y"===e[7]&&(i=4,r=8);else if("W"===e[0]&&"e"===e[1]&&"d"===e[2]&&"n"===e[3]&&"e"===e[4]&&"s"===e[5]&&"d"===e[6]&&"a"===e[7]&&"y"===e[8])i=3,r=9;else{if("F"!==e[0]||"r"!==e[1]||"i"!==e[2]||"d"!==e[3]||"a"!==e[4]||"y"!==e[5])return;i=5,r=6}if(","!==e[r]||e.length-r-1!=23||" "!==e[r+1]||"-"!==e[r+4]||"-"!==e[r+8]||" "!==e[r+11]||":"!==e[r+14]||":"!==e[r+17]||" "!==e[r+20]||"G"!==e[r+21]||"M"!==e[r+22]||"T"!==e[r+23])return;let s=0;if("0"===e[r+2]){let t=e.charCodeAt(r+3);if(t<49||t>57)return;s=t-48}else{let t=e.charCodeAt(r+2);if(t<49||t>51)return;let i=e.charCodeAt(r+3);if(i<48||i>57)return;s=(t-48)*10+(i-48)}let n=-1;if("J"===e[r+5]&&"a"===e[r+6]&&"n"===e[r+7])n=0;else if("F"===e[r+5]&&"e"===e[r+6]&&"b"===e[r+7])n=1;else if("M"===e[r+5]&&"a"===e[r+6]&&"r"===e[r+7])n=2;else if("A"===e[r+5]&&"p"===e[r+6]&&"r"===e[r+7])n=3;else if("M"===e[r+5]&&"a"===e[r+6]&&"y"===e[r+7])n=4;else if("J"===e[r+5]&&"u"===e[r+6]&&"n"===e[r+7])n=5;else if("J"===e[r+5]&&"u"===e[r+6]&&"l"===e[r+7])n=6;else if("A"===e[r+5]&&"u"===e[r+6]&&"g"===e[r+7])n=7;else if("S"===e[r+5]&&"e"===e[r+6]&&"p"===e[r+7])n=8;else if("O"===e[r+5]&&"c"===e[r+6]&&"t"===e[r+7])n=9;else if("N"===e[r+5]&&"o"===e[r+6]&&"v"===e[r+7])n=10;else{if("D"!==e[r+5]||"e"!==e[r+6]||"c"!==e[r+7])return;n=11}let o=e.charCodeAt(r+9);if(o<48||o>57)return;let a=e.charCodeAt(r+10);if(a<48||a>57)return;let A=(o-48)*10+(a-48);A+=A<70?2e3:1900;let l=0;if("0"===e[r+12]){let t=e.charCodeAt(r+13);if(t<48||t>57)return;l=t-48}else{let t=e.charCodeAt(r+12);if(t<48||t>50)return;let i=e.charCodeAt(r+13);if(i<48||i>57||50===t&&i>51)return;l=(t-48)*10+(i-48)}let c=0;if("0"===e[r+15]){let t=e.charCodeAt(r+16);if(t<48||t>57)return;c=t-48}else{let t=e.charCodeAt(r+15);if(t<48||t>53)return;let i=e.charCodeAt(r+16);if(i<48||i>57)return;c=(t-48)*10+(i-48)}let d=0;if("0"===e[r+18]){let t=e.charCodeAt(r+19);if(t<48||t>57)return;d=t-48}else{let t=e.charCodeAt(r+18);if(t<48||t>53)return;let i=e.charCodeAt(r+19);if(i<48||i>57)return;d=(t-48)*10+(i-48)}return t(A,n,s,l,c,d,i)}(e)}}}},6979(e,t,r){let i={__proto__:null,"node:crypto":()=>r(7598),"node:sqlite":()=>r(99)},s=["crypto","sqlite"];class n{#eK=new Map;clear(){this.#eK.clear()}has(e){return this.#eK.get(e)??this.#eX(e)}set(e,t){if(!1===s.includes(e))throw TypeError(`unknown feature: ${e}`);this.#eK.set(e,t)}#eX(e){let t=function(e){if(s.includes(e)){var t=`node:${e}`;try{return i[t](),!0}catch(e){if("ERR_UNKNOWN_BUILTIN_MODULE"!==e.code&&"ERR_NO_CRYPTO"!==e.code)throw e;return!1}}throw TypeError(`unknown feature: ${e}`)}(e);return this.#eK.set(e,t),t}}let o=new n;e.exports.runtimeFeatures=o},256(e,t,r){let{kConnected:i,kPending:s,kRunning:n,kSize:o,kFree:a,kQueued:A}=r(3025);e.exports={ClientStats:class{constructor(e){this.connected=e[i],this.pending=e[s],this.running=e[n],this.size=e[o]}},PoolStats:class{constructor(e){this.connected=e[i],this.free=e[a],this.pending=e[s],this.queued=e[A],this.running=e[n],this.size=e[o]}}}},2297(e){let t,r=0,i=Symbol("kFastTimer"),s=[];function n(){r+=499;let e=0,t=s.length;for(;e<t;){let i=s[e];0===i._state?(i._idleStart=r-499,i._state=1):1===i._state&&r>=i._idleStart+i._idleTimeout&&(i._state=-1,i._idleStart=-1,i._onTimeout(i._timerArg)),-1===i._state?(i._state=-2,0!=--t&&(s[e]=s[t])):++e}s.length=t,0!==s.length&&o()}function o(){t?.refresh?t.refresh():(clearTimeout(t),t=setTimeout(n,499),t?.unref())}class a{[i]=!0;_state=-2;_idleTimeout=-1;_idleStart=-1;_onTimeout;_timerArg;constructor(e,t,r){this._onTimeout=e,this._idleTimeout=t,this._timerArg=r,this.refresh()}refresh(){-2===this._state&&s.push(this),t&&1!==s.length||o(),this._state=0}clear(){this._state=-1,this._idleStart=-1}}e.exports={setTimeout:(e,t,r)=>t<=1e3?setTimeout(e,t,r):new a(e,t,r),clearTimeout(e){e[i]?e.clear():clearTimeout(e)},setFastTimeout:(e,t,r)=>new a(e,t,r),clearFastTimeout(e){e.clear()},now:()=>r,tick(e=0){r+=e-1e3+1,n(),n()},reset(){r=0,s.length=0,clearTimeout(t),t=null},kFastTimer:i}},1044(e,t,r){let i=r(4589),{kConstruct:s}=r(3025),{urlEquals:n,getFieldValues:o}=r(8220),{kEnumerableProperty:a,isDisturbed:A}=r(1210),{webidl:l}=r(849),{cloneResponse:c,fromInnerResponse:d,getResponseState:g}=r(165),{Request:u,fromInnerRequest:h,getRequestState:m}=r(9553),{fetching:p}=r(7564),{urlIsHttpHttpsScheme:C,readAllBytes:I}=r(638);class f{#eZ;constructor(){arguments[0]!==s&&l.illegalConstructor(),l.util.markAsUncloneable(this),this.#eZ=arguments[1]}async match(e,t={}){l.brandCheck(this,f);let r="Cache.match";l.argumentLengthCheck(arguments,1,r),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,r,"options");let i=this.#e$(e,t,1);if(0!==i.length)return i[0]}async matchAll(e,t={}){return l.brandCheck(this,f),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.matchAll","options"),this.#e$(e,t)}async add(e){l.brandCheck(this,f),l.argumentLengthCheck(arguments,1,"Cache.add");let t=[e=l.converters.RequestInfo(e)],r=this.addAll(t);return await r}async addAll(e){l.brandCheck(this,f);let t="Cache.addAll";l.argumentLengthCheck(arguments,1,t);let r=[],i=[];for(let r of e){if(void 0===r)throw l.errors.conversionFailed({prefix:t,argument:"Argument 1",types:["undefined is not allowed"]});if("string"==typeof(r=l.converters.RequestInfo(r)))continue;let e=m(r);if(!C(e.url)||"GET"!==e.method)throw l.errors.exception({header:t,message:"Expected http/s scheme when method is not GET."})}let s=[];for(let n of e){let e=m(new u(n));if(!C(e.url))throw l.errors.exception({header:t,message:"Expected http/s scheme."});e.initiator="fetch",e.destination="subresource",i.push(e);let a=Promise.withResolvers();s.push(p({request:e,processResponse(e){if("error"===e.type||206===e.status||e.status<200||e.status>299)a.reject(l.errors.exception({header:"Cache.addAll",message:"Received an invalid status code or the request failed."}));else if(e.headersList.contains("vary")){for(let t of o(e.headersList.get("vary")))if("*"===t){for(let e of(a.reject(l.errors.exception({header:"Cache.addAll",message:"invalid vary field value"})),s))e.abort();return}}},processResponseEndOfBody(e){e.aborted?a.reject(new DOMException("aborted","AbortError")):a.resolve(e)}})),r.push(a.promise)}let n=Promise.all(r),a=await n,A=[],c=0;for(let e of a){let t={type:"put",request:i[c],response:e};A.push(t),c++}let d=Promise.withResolvers(),g=null;try{this.#e0(A)}catch(e){g=e}return queueMicrotask(()=>{null===g?d.resolve(void 0):d.reject(g)}),d.promise}async put(e,t){l.brandCheck(this,f);let r="Cache.put";l.argumentLengthCheck(arguments,2,r),e=l.converters.RequestInfo(e),t=l.converters.Response(t,r,"response");let i=null;if(!C((i=l.is.Request(e)?m(e):m(new u(e))).url)||"GET"!==i.method)throw l.errors.exception({header:r,message:"Expected an http/s scheme when method is not GET"});let s=g(t);if(206===s.status)throw l.errors.exception({header:r,message:"Got 206 status"});if(s.headersList.contains("vary")){for(let e of o(s.headersList.get("vary")))if("*"===e)throw l.errors.exception({header:r,message:"Got * vary field value"})}if(s.body&&(A(s.body.stream)||s.body.stream.locked))throw l.errors.exception({header:r,message:"Response body is locked or disturbed"});let n=c(s),a=Promise.withResolvers();null!=s.body?I(s.body.stream.getReader(),a.resolve,a.reject):a.resolve(void 0);let d=[],h={type:"put",request:i,response:n};d.push(h);let p=await a.promise;null!=n.body&&(n.body.source=p);let E=Promise.withResolvers(),B=null;try{this.#e0(d)}catch(e){B=e}return queueMicrotask(()=>{null===B?E.resolve():E.reject(B)}),E.promise}async delete(e,t={}){let r;l.brandCheck(this,f);let s="Cache.delete";l.argumentLengthCheck(arguments,1,s),e=l.converters.RequestInfo(e),t=l.converters.CacheQueryOptions(t,s,"options");let n=null;if(l.is.Request(e)){if("GET"!==(n=m(e)).method&&!t.ignoreMethod)return!1}else i("string"==typeof e),n=m(new u(e));let o=[],a={type:"delete",request:n,options:t};o.push(a);let A=Promise.withResolvers(),c=null;try{r=this.#e0(o)}catch(e){c=e}return queueMicrotask(()=>{null===c?A.resolve(!!r?.length):A.reject(c)}),A.promise}async keys(e,t={}){l.brandCheck(this,f),void 0!==e&&(e=l.converters.RequestInfo(e)),t=l.converters.CacheQueryOptions(t,"Cache.keys","options");let r=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(r=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(r=m(new u(e)));let i=Promise.withResolvers(),s=[];if(void 0===e)for(let e of this.#eZ)s.push(e[0]);else for(let e of this.#e1(r,t))s.push(e[0]);return queueMicrotask(()=>{let e=[];for(let t of s){let r=h(t,void 0,new AbortController().signal,"immutable");e.push(r)}i.resolve(Object.freeze(e))}),i.promise}#e0(e){let t=this.#eZ,r=[...t],s=[],n=[];try{for(let r of e){let e;if("delete"!==r.type&&"put"!==r.type)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:'operation type does not match "delete" or "put"'});if("delete"===r.type&&null!=r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"delete operation should not have an associated response"});if(this.#e1(r.request,r.options,s).length)throw new DOMException("???","InvalidStateError");if("delete"===r.type){if(e=this.#e1(r.request,r.options),0===e.length)return[];for(let r of e){let e=t.indexOf(r);i(-1!==e),t.splice(e,1)}}else if("put"===r.type){if(null==r.response)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"put operation should have an associated response"});let n=r.request;if(!C(n.url))throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"expected http or https scheme"});if("GET"!==n.method)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"not get method"});if(null!=r.options)throw l.errors.exception({header:"Cache.#batchCacheOperations",message:"options must not be defined"});for(let s of e=this.#e1(r.request)){let e=t.indexOf(s);i(-1!==e),t.splice(e,1)}t.push([r.request,r.response]),s.push([r.request,r.response])}n.push([r.request,r.response])}return n}catch(e){throw this.#eZ.length=0,this.#eZ=r,e}}#e1(e,t,r){let i=[];for(let s of r??this.#eZ){let[r,n]=s;this.#e2(e,r,n,t)&&i.push(s)}return i}#e2(e,t,r=null,i){let s=new URL(e.url),a=new URL(t.url);if(i?.ignoreSearch&&(a.search="",s.search=""),!n(s,a,!0))return!1;if(null==r||i?.ignoreVary||!r.headersList.contains("vary"))return!0;for(let i of o(r.headersList.get("vary")))if("*"===i||t.headersList.get(i)!==e.headersList.get(i))return!1;return!0}#e$(e,t,r=1/0){let i=null;if(void 0!==e)if(l.is.Request(e)){if("GET"!==(i=m(e)).method&&!t.ignoreMethod)return[]}else"string"==typeof e&&(i=m(new u(e)));let s=[];if(void 0===e)for(let e of this.#eZ)s.push(e[1]);else for(let e of this.#e1(i,t))s.push(e[1]);let n=[];for(let e of s){let t=d(c(e),"immutable");if(n.push(t),n.length>=r)break}return Object.freeze(n)}}Object.defineProperties(f.prototype,{[Symbol.toStringTag]:{value:"Cache",configurable:!0},match:a,matchAll:a,add:a,addAll:a,put:a,delete:a,keys:a});let E=[{key:"ignoreSearch",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreMethod",converter:l.converters.boolean,defaultValue:()=>!1},{key:"ignoreVary",converter:l.converters.boolean,defaultValue:()=>!1}];l.converters.CacheQueryOptions=l.dictionaryConverter(E),l.converters.MultiCacheQueryOptions=l.dictionaryConverter([...E,{key:"cacheName",converter:l.converters.DOMString}]),l.converters.Response=l.interfaceConverter(l.is.Response,"Response"),l.converters["sequence<RequestInfo>"]=l.sequenceConverter(l.converters.RequestInfo),e.exports={Cache:f}},3691(e,t,r){let{Cache:i}=r(1044),{webidl:s}=r(849),{kEnumerableProperty:n}=r(1210),{kConstruct:o}=r(3025);class a{#e3=new Map;constructor(){arguments[0]!==o&&s.illegalConstructor(),s.util.markAsUncloneable(this)}async match(e,t={}){if(s.brandCheck(this,a),s.argumentLengthCheck(arguments,1,"CacheStorage.match"),e=s.converters.RequestInfo(e),null!=(t=s.converters.MultiCacheQueryOptions(t)).cacheName){if(this.#e3.has(t.cacheName)){let r=new i(o,this.#e3.get(t.cacheName));return await r.match(e,t)}}else for(let r of this.#e3.values()){let s=new i(o,r),n=await s.match(e,t);if(void 0!==n)return n}}async has(e){s.brandCheck(this,a);let t="CacheStorage.has";return s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.has(e)}async open(e){s.brandCheck(this,a);let t="CacheStorage.open";if(s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.has(e))return new i(o,this.#e3.get(e));let r=[];return this.#e3.set(e,r),new i(o,r)}async delete(e){s.brandCheck(this,a);let t="CacheStorage.delete";return s.argumentLengthCheck(arguments,1,t),e=s.converters.DOMString(e,t,"cacheName"),this.#e3.delete(e)}async keys(){return s.brandCheck(this,a),[...this.#e3.keys()]}}Object.defineProperties(a.prototype,{[Symbol.toStringTag]:{value:"CacheStorage",configurable:!0},match:n,has:n,open:n,delete:n,keys:n}),e.exports={CacheStorage:a}},8220(e,t,r){let i=r(4589),{URLSerializer:s}=r(3518),{isValidHeaderName:n}=r(638);e.exports={urlEquals:function(e,t,r=!1){return s(e,r)===s(t,r)},getFieldValues:function(e){i(null!==e);let t=[];for(let r of e.split(","))n(r=r.trim())&&t.push(r);return t}}},6674(e){e.exports={maxAttributeValueSize:1024,maxNameValuePairSize:4096}},5823(e,t,r){let{parseSetCookie:i}=r(6248),{stringify:s}=r(751),{webidl:n}=r(849),{Headers:o}=r(3470),a=n.brandCheckMultiple([o,globalThis.Headers].filter(Boolean));function A(e,t){n.argumentLengthCheck(arguments,2,"setCookie"),a(e);let r=s(t=n.converters.Cookie(t));r&&e.append("set-cookie",r,!0)}n.converters.DeleteCookieAttributes=n.dictionaryConverter([{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:()=>null}]),n.converters.Cookie=n.dictionaryConverter([{converter:n.converters.DOMString,key:"name"},{converter:n.converters.DOMString,key:"value"},{converter:n.nullableConverter(e=>"number"==typeof e?n.converters["unsigned long long"](e):new Date(e)),key:"expires",defaultValue:()=>null},{converter:n.nullableConverter(n.converters["long long"]),key:"maxAge",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"domain",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.DOMString),key:"path",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.boolean),key:"secure",defaultValue:()=>null},{converter:n.nullableConverter(n.converters.boolean),key:"httpOnly",defaultValue:()=>null},{converter:n.converters.USVString,key:"sameSite",allowedValues:["Strict","Lax","None"]},{converter:n.sequenceConverter(n.converters.DOMString),key:"unparsed",defaultValue:()=>[]}]),e.exports={getCookies:function(e){n.argumentLengthCheck(arguments,1,"getCookies"),a(e);let t=e.get("cookie"),r={};if(!t)return r;for(let e of t.split(";")){let[t,...i]=e.split("=");r[t.trim()]=i.join("=")}return r},deleteCookie:function(e,t,r){a(e);let i="deleteCookie";n.argumentLengthCheck(arguments,2,i),t=n.converters.DOMString(t,i,"name"),r=n.converters.DeleteCookieAttributes(r),A(e,{name:t,value:"",expires:new Date(0),...r})},getSetCookies:function(e){n.argumentLengthCheck(arguments,1,"getSetCookies"),a(e);let t=e.getSetCookie();return t?t.map(e=>i(e)):[]},setCookie:A,parseCookie:function(e){return i(e=n.converters.DOMString(e))}}},6248(e,t,r){let{collectASequenceOfCodePointsFast:i}=r(5358),{maxNameValuePairSize:s,maxAttributeValueSize:n}=r(6674),{isCTLExcludingHtab:o}=r(751),a=r(4589);function A(e,t={}){if(0===e.length)return t;a(";"===e[0]);let r="";(e=e.slice(1)).includes(";")?(r=i(";",e,{position:0}),e=e.slice(r.length)):(r=e,e="");let s="",o="";if(r.includes("=")){let e={position:0};s=i("=",r,e),o=r.slice(e.position+1)}else s=r;if(s=s.trim(),(o=o.trim()).length>n)return A(e,t);let l=s.toLowerCase();if("expires"===l){let e=new Date(o);Number.isNaN(e.getTime())||(t.expires=e)}else if("max-age"===l){let r=o.charCodeAt(0);if((r<48||r>57)&&"-"!==o[0]||!/^\d+$/.test(o))return A(e,t);t.maxAge=Number(o)}else if("domain"===l){let e=o;"."===e[0]&&(e=e.slice(1)),t.domain=e=e.toLowerCase()}else if("path"===l)t.path=0===o.length||"/"!==o[0]?"/":o;else if("secure"===l)t.secure=!0;else if("httponly"===l)t.httpOnly=!0;else if("samesite"===l){let e=o.toLowerCase();"none"===e?t.sameSite="None":"strict"===e?t.sameSite="Strict":"lax"===e&&(t.sameSite="Lax")}else t.unparsed??=[],t.unparsed.push(`${s}=${o}`);return A(e,t)}e.exports={parseSetCookie:function(e){if(o(e))return null;let t="",r="",n="",a="";if(e.includes(";")){let s={position:0};t=i(";",e,s),r=e.slice(s.position)}else t=e;if(t.includes("=")){let e={position:0};n=i("=",t,e),a=t.slice(e.position+1)}else a=t;return(n=n.trim(),a=a.trim(),n.length+a.length>s)?null:{name:n,value:a,...A(r)}},parseUnparsedAttributes:A}},751(e){function t(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||60===r||62===r||64===r||44===r||59===r||58===r||92===r||47===r||91===r||93===r||63===r||61===r||123===r||125===r)throw Error("Invalid cookie name")}}function r(e){let t=e.length,r=0;if('"'===e[0]){if(1===t||'"'!==e[t-1])throw Error("Invalid cookie value");--t,++r}for(;r<t;){let t=e.charCodeAt(r++);if(t<33||t>126||34===t||44===t||59===t||92===t)throw Error("Invalid cookie value")}}function i(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<32||r>126||59===r)throw Error("Invalid cookie path")}}function s(e){return e>=48&&e<=57||e>=65&&e<=90||e>=97&&e<=122}let n=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],o=["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],a=Array(61).fill(0).map((e,t)=>t.toString().padStart(2,"0"));function A(e){return"number"==typeof e&&(e=new Date(e)),`${n[e.getUTCDay()]}, ${a[e.getUTCDate()]} ${o[e.getUTCMonth()]} ${e.getUTCFullYear()} ${a[e.getUTCHours()]}:${a[e.getUTCMinutes()]}:${a[e.getUTCSeconds()]} GMT`}e.exports={isCTLExcludingHtab:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>=0&&r<=8||r>=10&&r<=31||127===r)return!0}return!1},validateCookieName:t,validateCookiePath:i,validateCookieValue:r,toIMFDate:A,stringify:function(e){if(0===e.name.length)return null;t(e.name),r(e.value);let n=[`${e.name}=${e.value}`];if(e.name.startsWith("__Secure-")&&(e.secure=!0),e.name.startsWith("__Host-")&&(e.secure=!0,e.domain=null,e.path="/"),e.secure&&n.push("Secure"),e.httpOnly&&n.push("HttpOnly"),"number"==typeof e.maxAge){if(e.maxAge<0)throw Error("Invalid cookie max-age");n.push(`Max-Age=${e.maxAge}`)}for(let o of(e.domain&&(!function(e){if(" "===e)return;if(e.length>255)throw Error("Invalid cookie domain");let t=0;for(let r=0;r<e.length;++r){let i=e.charCodeAt(r);if(46===i){if(0===t||45===e.charCodeAt(r-1))throw Error("Invalid cookie domain");t=0;continue}if(0===t&&!s(i)||!s(i)&&45!==i||++t>63)throw Error("Invalid cookie domain")}if(0===t||45===e.charCodeAt(e.length-1))throw Error("Invalid cookie domain")}(e.domain),n.push(`Domain=${e.domain}`)),e.path&&(i(e.path),n.push(`Path=${e.path}`)),e.expires&&"Invalid Date"!==e.expires.toString()&&n.push(`Expires=${A(e.expires)}`),e.sameSite&&n.push(`SameSite=${e.sameSite}`),e.unparsed)){if(!o.includes("="))throw Error("Invalid unparsed");let[e,...i]=o.split("="),s=e.trim(),a=i.join("=");t(s),r(a),n.push(`${s}=${a}`)}return n.join("; ")}}},621(e,t,r){let{Transform:i}=r(7075),{isASCIINumber:s,isValidLastEventId:n}=r(2833),o=Buffer.from("data"),a=Buffer.from("event"),A=Buffer.from("id"),l=Buffer.from("retry");function c(e,t,r){if(t!==r.length)return!1;for(let i=0;i<t;i++)if(e[i]!==r[i])return!1;return!0}e.exports={EventSourceStream:class extends i{state;checkBOM=!0;crlfCheck=!1;eventEndCheck=!1;chunks=[];chunkIndex=0;pos=0;lineChunkIndex=0;linePos=0;event={data:void 0,event:void 0,id:void 0,retry:void 0};constructor(e={}){e.readableObjectMode=!0,super(e),this.state=e.eventSourceSettings||{},e.push&&(this.push=e.push)}_transform(e,t,r){if(0===e.length||(this.chunks.push(e),this.checkBOM&&this.handleBOM()))return void r();for(;this.hasCurrentByte();){let e=this.currentByte();if(this.eventEndCheck){if(this.crlfCheck){if(10===e){this.crlfCheck=!1,this.consumeCurrentByte();continue}this.crlfCheck=!1}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.consumeCurrentByte(),this.hasPendingEvent()&&this.processEvent(this.event),this.clearEvent();continue}this.eventEndCheck=!1;continue}if(10===e||13===e){13===e&&(this.crlfCheck=!0),this.parseLine(this.readLine(),this.event),this.consumeCurrentByte(),this.eventEndCheck=!0;continue}this.advanceCursor()}r()}parseLine(e,t){if(0===e.length)return;let r=e.indexOf(58);if(0===r)return;let i=e.length,s=e.length;if(-1!==r&&(i=r,32===e[s=r+1]&&++s),c(e,i,o)){let r=e.toString("utf8",s);void 0===t.data?t.data=r:t.data+=` +${r}`;return}if(c(e,i,l)){(function(e,t){if(t>=e.length)return!1;for(let r=t;r<e.length;r++)if(e[r]<48||e[r]>57)return!1;return!0})(e,s)&&(t.retry=e.toString("utf8",s));return}if(c(e,i,A)){(function(e,t){for(let r=t;r<e.length;r++)if(0===e[r])return!1;return!0})(e,s)&&(t.id=e.toString("utf8",s));return}if(c(e,i,a)){let r=e.toString("utf8",s);r.length>0&&(t.event=r)}}processEvent(e){e.retry&&s(e.retry)&&(this.state.reconnectionTime=parseInt(e.retry,10)),void 0!==e.id&&n(e.id)&&(this.state.lastEventId=e.id),void 0!==e.data&&this.push({type:e.event||"message",options:{data:e.data,lastEventId:this.state.lastEventId,origin:this.state.origin}})}clearEvent(){this.event.data=void 0,this.event.event=void 0,this.event.id=void 0,this.event.retry=void 0}hasPendingEvent(){return void 0!==this.event.data||void 0!==this.event.event||void 0!==this.event.id||void 0!==this.event.retry}hasCurrentByte(){return this.chunkIndex<this.chunks.length&&this.pos<this.chunks[this.chunkIndex].length}currentByte(){return this.chunks[this.chunkIndex][this.pos]}consumeCurrentByte(){this.advanceCursor(),this.syncLineStartToCursor()}advanceCursor(){for(this.pos++;this.chunkIndex<this.chunks.length&&this.pos>=this.chunks[this.chunkIndex].length;)this.chunkIndex++,this.pos=0}syncLineStartToCursor(){this.lineChunkIndex=this.chunkIndex,this.linePos=this.pos,this.dropConsumedChunks()}dropConsumedChunks(){for(;this.lineChunkIndex>0;)this.chunks.shift(),this.lineChunkIndex--,this.chunkIndex--;this.chunkIndex===this.chunks.length&&(this.chunks.length=0,this.chunkIndex=0,this.pos=0,this.lineChunkIndex=0,this.linePos=0)}readLine(){if(this.lineChunkIndex===this.chunkIndex)return this.chunks[this.chunkIndex].subarray(this.linePos,this.pos);let e=[],t=0;for(let r=this.lineChunkIndex;r<=this.chunkIndex;r++){let i=this.chunks[r],s=r===this.lineChunkIndex?this.linePos:0,n=r===this.chunkIndex?this.pos:i.length,o=i.subarray(s,n);t+=o.length,e.push(o)}return Buffer.concat(e,t)}peekBufferedByte(e){let t=this.lineChunkIndex,r=this.linePos;for(;t<this.chunks.length;){let i=this.chunks[t],s=i.length-r;if(e<s)return i[r+e];e-=s,t++,r=0}}discardLeadingBytes(e){for(;e>0&&this.lineChunkIndex<this.chunks.length;){let t=this.chunks[this.lineChunkIndex].length-this.linePos;e<t?(this.linePos+=e,e=0):(e-=t,this.lineChunkIndex++,this.linePos=0)}this.chunkIndex=this.lineChunkIndex,this.pos=this.linePos,this.dropConsumedChunks()}handleBOM(){let e=this.peekBufferedByte(0),t=this.peekBufferedByte(1),r=this.peekBufferedByte(2);return void 0===t?239===e||(this.checkBOM=!1,!0):void 0===r?239===e&&187===t||(this.checkBOM=!1,!1):(239===e&&187===t&&191===r&&this.discardLeadingBytes(3),this.checkBOM=!1,!this.hasCurrentByte())}}}},7288(e,t,r){let{pipeline:i}=r(7075),{fetching:s}=r(7564),{webidl:n}=r(849),{EventSourceStream:o}=r(621),{parseMIMEType:a}=r(3518),{createFastMessageEvent:A}=r(7342),{isNetworkError:l}=r(165),{kEnumerableProperty:c}=r(1210),{environmentSettingsObject:d}=r(638),{createPotentialCORSRequest:g}=r(2833),u=!1;class h extends EventTarget{#e5={open:null,error:null,message:null};#e4;#e8=!1;#e9=0;#e6=null;#es=null;#Q;#eS;constructor(e,t={}){let r;super(),n.util.markAsUncloneable(this);let i="EventSource constructor";n.argumentLengthCheck(arguments,1,i),u||(u=!0,process.emitWarning("EventSource is experimental, expect them to change at any time.",{code:"UNDICI-ES"})),e=n.converters.USVString(e),t=n.converters.EventSourceInitDict(t,i,"eventSourceInitDict"),this.#Q=t.node.dispatcher||t.dispatcher,this.#eS={lastEventId:"",reconnectionTime:t.node.reconnectionTime};try{r=new URL(e,d.settingsObject.baseUrl),this.#eS.origin=r.origin}catch(e){throw new DOMException(e,"SyntaxError")}this.#e4=r.href;let s="anonymous";!0===t.withCredentials&&(s="use-credentials",this.#e8=!0);let o=g(r,"",s);o.client=d.settingsObject,o.headersList.set("Accept","text/event-stream"),o.cache="no-store",o.initiator="other",this.#e6=o,this.#e7()}get readyState(){return this.#e9}get url(){return this.#e4}get withCredentials(){return this.#e8}#e7(){if(2===this.#e9)return;this.#e9=0;let e={request:this.#e6,dispatcher:this.#Q};e.processResponseEndOfBody=e=>{if(!l(e))return this.#te()},e.processResponse=e=>{if(l(e))if(!e.aborted)return void this.#te();else{this.close(),this.dispatchEvent(new Event("error"));return}let t=e.headersList.get("content-type",!0),r=null!==t?a(t):"failure",s="failure"!==r&&"text/event-stream"===r.essence;if(200!==e.status||!1===s){this.close(),this.dispatchEvent(new Event("error"));return}this.#e9=1,this.dispatchEvent(new Event("open")),this.#eS.origin=e.urlList[e.urlList.length-1].origin;let n=new o({eventSourceSettings:this.#eS,push:e=>{this.dispatchEvent(A(e.type,e.options))}});i(e.body.stream,n,e=>{e?.aborted===!1&&(this.close(),this.dispatchEvent(new Event("error")))})},this.#es=s(e)}#te(){2!==this.#e9&&(this.#e9=0,this.dispatchEvent(new Event("error")),setTimeout(()=>{0===this.#e9&&(this.#eS.lastEventId.length&&this.#e6.headersList.set("last-event-id",this.#eS.lastEventId,!0),this.#e7())},this.#eS.reconnectionTime)?.unref())}close(){n.brandCheck(this,h),2!==this.#e9&&(this.#e9=2,this.#es.abort(),this.#e6=null)}get onopen(){return this.#e5.open}set onopen(e){this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onmessage(){return this.#e5.message}set onmessage(e){this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get onerror(){return this.#e5.error}set onerror(e){this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=n.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}}let m={CONNECTING:{__proto__:null,configurable:!1,enumerable:!0,value:0,writable:!1},OPEN:{__proto__:null,configurable:!1,enumerable:!0,value:1,writable:!1},CLOSED:{__proto__:null,configurable:!1,enumerable:!0,value:2,writable:!1}};Object.defineProperties(h,m),Object.defineProperties(h.prototype,m),Object.defineProperties(h.prototype,{close:c,onerror:c,onmessage:c,onopen:c,readyState:c,url:c,withCredentials:c}),n.converters.EventSourceInitDict=n.dictionaryConverter([{key:"withCredentials",converter:n.converters.boolean,defaultValue:()=>!1},{key:"dispatcher",converter:n.converters.any},{key:"node",converter:n.dictionaryConverter([{key:"reconnectionTime",converter:n.converters["unsigned long"],defaultValue:()=>3e3},{key:"dispatcher",converter:n.converters.any}]),defaultValue:()=>({})}]),e.exports={EventSource:h,defaultReconnectionTime:3e3}},2833(e,t,r){let{makeRequest:i}=r(9553);e.exports={isValidLastEventId:function(e){return -1===e.indexOf("\0")},isASCIINumber:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++)if(48>e.charCodeAt(t)||e.charCodeAt(t)>57)return!1;return!0},createPotentialCORSRequest:function(e,t,r,s){let n="no cors"===r?"no-cors":"cors";s&&"no-cors"===n&&(n="same-origin");let o="include";return"anonymous"===r&&(o="same-origin"),i({urlList:[e],destination:t,mode:n,credentials:o,useURLCredentials:!0})}}},4626(e,t,r){let i=r(1210),{ReadableStreamFrom:s,readableStreamClose:n,fullyReadBody:o,extractMimeType:a}=r(638),{FormData:A,setFormDataState:l,getFormDataBoundary:c}=r(1304),{webidl:d}=r(849),g=r(4589),{isErrored:u,isDisturbed:h}=r(7075),{isUint8Array:m}=r(3429),{serializeAMimeType:p}=r(3518),{multipartFormDataParser:C}=r(7750),{parseJSONFromBytes:I}=r(5358),{utf8DecodeBytes:f}=r(2718),{ReadableStreamTee:E}=r(7830),B=new TextEncoder;function y(){}function Q(e,t=!1){let r=null,o=null;r=d.is.ReadableStream(e)?e:d.is.Blob(e)?e.stream():new ReadableStream({pull(){},start(e){o=e},cancel(){},type:"bytes"}),g(d.is.ReadableStream(r));let a=null,A=null,l=null,h=null;if("string"==typeof e)A=e,h="text/plain;charset=UTF-8";else if(d.is.URLSearchParams(e))A=e.toString(),h="application/x-www-form-urlencoded;charset=UTF-8";else if(d.is.BufferSource(e))A=d.util.getCopyOfBytesHeldByBufferSource(e);else if(d.is.FormData(e)){let t=c(e),r=`--${t}\r Content-Disposition: form-data`,i=e=>e.replace(/\n/g,"%0A").replace(/\r/g,"%0D").replace(/"/g,"%22"),s=e=>e.replace(/\r?\n|\r/g,"\r\n"),n=[],o=new Uint8Array([13,10]);l=0;let d=!1;for(let[t,a]of e)if("string"==typeof a){let e=B.encode(r+`; name="${i(s(t))}"`+`\r \r ${s(a)}\r `);n.push(e),l+=e.byteLength}else{let e=B.encode(`${r}; name="${i(s(t))}"`+(a.name?`; filename="${i(a.name)}"`:"")+"\r\n"+`Content-Type: ${a.type||"application/octet-stream"}\r \r `);n.push(e,a,o),"number"==typeof a.size?l+=e.byteLength+a.size+o.byteLength:d=!0}let g=B.encode(`--${t}--\r -`);n.push(g),l+=g.byteLength,d&&(l=null),A=e,a=async function*(){for(let e of n)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(i.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:s(e)}return("string"==typeof A||m(A))&&(a=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=a&&(async()=>{let e=a(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(u(r))break;e.length&&o.enqueue(new Uint8Array(e))}else e?.length&&!u(r)&&o.enqueue("string"==typeof e?B.encode(e):new Uint8Array(e));queueMicrotask(()=>n(o))})(),[{stream:r,source:A,length:l},h]}function N(e,t,r,i){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(b(e=i(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let s=Promise.withResolvers(),n=s.reject,a=e=>{try{s.resolve(t(e))}catch(e){n(e)}};return null==e.body?a(Buffer.allocUnsafe(0)):o(e.body,a,n),s.promise}function b(e){let t=e.body;return null!=t&&(t.stream.locked||i.isDisturbed(t.stream))}function S(e){let t=a(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(g(!i.isDisturbed(e),"The body has already been consumed."),g(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=f?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return N(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=p(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return N(this,e=>new Uint8Array(e).buffer,e,t)},text(){return N(this,E,e,t)},json(){return N(this,I,e,t)},formData(){return N(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=C(e,r),i=new A;return l(i,t),i}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,i]of t)r.append(e,i);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return N(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(b(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,i=new TextDecoderStream("UTF-8");return r.pipeThrough(i)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||u(t)||t.cancel("Response object has been garbage collected").catch(y)}),bodyUnusable:b}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),i=[301,302,303,307,308],s=new Set(i),n=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],o=new Set(n),a=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...a],l=new Set(a),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),g=["CONNECT","TRACE","TRACK"],u=new Set(g),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],m=new Set(h);e.exports={subresource:h,forbiddenMethods:g,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:n,requestDuplex:["half"],subresourceSet:m,badPortsSet:o,redirectStatusSet:s,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:u,referrerPolicyTokens:l}},3518(e,t,r){let i=r(4589),{forgivingBase64:s,collectASequenceOfCodePoints:n,collectASequenceOfCodePointsFast:o,isomorphicDecode:a,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,g=/[\u000A\u000D\u0009\u0020]/u,u=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,i=e.hash.length,s=0===i?r:r.substring(0,r.length-i);return!i&&r.endsWith("#")?s.slice(0,-1):s}function m(e){return function(e){let t=e.length,r=new Uint8Array(t),i=0,s=0;for(;s<t;){let t=e[s];37!==t?r[i++]=t:37!==t||p(e[s+1])&&p(e[s+2])?(r[i++]=C(e[s+1])<<4|C(e[s+2]),s+=2):r[i++]=37,++s}return t===i?r:r.subarray(0,i)}(c.encode(e))}function p(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=57?e-48:(223&e)-55}function I(e){e=B(e,!0,!0);let t={position:0},r=o("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let i=o(";",e,t);if(0===(i=B(i,!1,!0)).length||!d.test(i))return"failure";let s=r.toLowerCase(),a=i.toLowerCase(),A={type:s,subtype:a,parameters:new Map,essence:`${s}/${a}`};for(;t.position<e.length;){t.position++,n(e=>g.test(e),e,t);let r=n(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let i=null;if('"'===e[t.position])i=E(e,t,!0),o(";",e,t);else if(0===(i=B(i=o(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===i.length||u.test(i))&&!A.parameters.has(r)&&A.parameters.set(r,i)}return A}function E(e,t,r=!1){let s=t.position,o="";for(i('"'===e[t.position]),t.position++;o+=n(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){o+="\\";break}o+=e[t.position],t.position++}else{i('"'===r);break}}return r?o:e.slice(s,t.position)}function f(e){return 13===e||10===e||9===e||32===e}function B(e,t=!0,r=!0){return l(e,t,r,f)}e.exports={dataURLProcessor:function(e){i("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},n=o(",",t,r),l=n.length;if(n=A(n,!0,!0),r.position>=t.length)return"failure";r.position++;let c=m(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(n)){if("failure"===(c=s(a(c))))return"failure";n=(n=(n=n.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let d=I(n);return"failure"===d&&(d=I("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:m,parseMIMEType:I,collectAnHTTPQuotedString:E,serializeAMimeType:function(e){i("failure"!==e);let{parameters:t,essence:r}=e,s=r;for(let[e,r]of t.entries())s+=";",s+=e,s+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),s+=r;return s},removeHTTPWhitespace:B,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:i}=r(1210),{HTTP_TOKEN_CODEPOINTS:s}=r(3518),{makeEntry:n}=r(1304),{webidl:o}=r(849),a=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function g(e,t,r){let i=r.position;for(;i<t.length&&e(t[i]);)++i;return t.subarray(r.position,r.position=i)}function u(e,t,r,i){let s=0,n=e.length-1;if(t)for(;s<e.length&&i(e[s]);)s++;if(r)for(;n>0&&i(e[n]);)n--;return 0===s&&n===e.length-1?e:e.subarray(s,n+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function m(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){a("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let p=Buffer.from(`--${r}`,"utf8"),C=[],I={position:0},E=e.indexOf(p);if(-1===E)throw h("no boundary found in multipart body");for(I.position=E;;){let t,r;if(e.subarray(I.position,I.position+p.length).equals(p))I.position+=p.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[r.position+i])return!1;return!0}(e,l,I))return C;if(13!==e[I.position]||10!==e[I.position+1])throw h("expected CRLF");I.position+=2;let{name:E,filename:f,contentType:B,encoding:y}=function(e,t){let r=null,n=null,o=null,a=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:n,contentType:o,encoding:a}}let l=g(e=>10!==e&&13!==e&&58!==e,e,t);if(l=u(l,!0,!0,e=>9===e||32===e),!s.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,g(e=>32===e||9===e,e,t),i(l)){case"content-disposition":{r=n=null;let i=!1;if("form-data"!==g(e=>m(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let s=function(e,t){let r;59===e[t.position]&&t.position++,g(e=>32===e||9===e,e,t);let i=g(e=>m(e)&&61!==e&&42!==e,e,t);if(0===i.length)return null;let s=i.toString("ascii").toLowerCase(),n=42===e[t.position];if(n&&t.position++,61!==e[t.position])return null;if(t.position++,g(e=>32===e||9===e,e,t),n){let i=g(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==i[0]&&85!==i[0]||116!==i[1]&&84!==i[1]||102!==i[2]&&70!==i[2]||45!==i[3]||56!==i[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(i.subarray(7)))}else if(34===e[t.position]){t.position++;let i=g(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(i).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let i=g(e=>m(e)&&59!==e,e,t);r=c.decode(i)}return{name:s,value:r,extended:n}}(e,t);if(!s)break;"name"===s.name?r=s.value:"filename"===s.name&&(s.extended?(n=s.value,i=!0):i||(n=s.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=g(e=>10!==e&&13!==e,e,t);o=A(r=u(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=g(e=>10!==e&&13!==e,e,t);a=A(r=u(r,!1,!0,e=>9===e||32===e));break}default:g(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,I);I.position+=2;{let r=e.indexOf(p.subarray(2),I.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(I.position,r-4),I.position+=t.length,"base64"===y&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[I.position]||10!==e[I.position+1])throw h("expected CRLF");I.position+=2,null!==f?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(B??="text/plain")&&(B=""),r=new File([t],f,{type:B})):r=d.decode(Buffer.from(t)),a(o.is.USVString(E)),a("string"==typeof r&&o.is.USVString(r)||o.is.File(r)),C.push(n(E,r,f))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:i}=r(638),{kEnumerableProperty:s}=r(1210),{webidl:n}=r(849),o=r(7975),{runtimeFeatures:a}=r(6979),A=a.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(n.util.markAsUncloneable(this),void 0!==e)throw n.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){n.brandCheck(this,l);let i="FormData.append";n.argumentLengthCheck(arguments,2,i),e=n.converters.USVString(e),3==arguments.length||n.is.Blob(t)?(t=n.converters.Blob(t,i,"value"),void 0!==r&&(r=n.converters.USVString(r))):t=n.converters.USVString(t);let s=u(e,t,r);this.#eS.push(s)}delete(e){n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.delete"),e=n.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.get"),e=n.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.getAll"),e=n.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.has"),e=n.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){n.brandCheck(this,l);let i="FormData.set";n.argumentLengthCheck(arguments,2,i),e=n.converters.USVString(e),3==arguments.length||n.is.Blob(t)?(t=n.converters.Blob(t,i,"value"),void 0!==r&&(r=n.converters.USVString(r))):t=n.converters.USVString(t);let s=u(e,t,r),o=this.#eS.findIndex(t=>t.name===e);-1!==o?this.#eS=[...this.#eS.slice(0,o),s,...this.#eS.slice(o+1).filter(t=>t.name!==e)]:this.#eS.push(s)}[o.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let i=o.formatWithOptions(t,r);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:g}=l;function u(e,t,r){if("string"==typeof t);else if(n.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),i("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:s,delete:s,get:s,getAll:s,has:s,set:s,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),n.is.FormData=n.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:u,setFormDataState:d,getFormDataBoundary:g}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:i}=r(3025),{kEnumerableProperty:s}=r(1210),{iteratorMixin:n,isValidHeaderName:o,isValidHeaderValue:a}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function g(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function u(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let i=t[r];if(2!==i.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`});h(e,i[0],i[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let i=0;i<r.length;++i)h(e,r[i],t[r[i]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=g(r),o(t)){if(!a(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===I(e))throw TypeError("immutable");return f(e).append(t,r,!1)}function m(e,t){return e[0]<t[0]?-1:1}class p{cookies=null;sortedMap;headersMap;constructor(e){e instanceof p?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase(),s=this.headersMap.get(i);if(s){let e="cookie"===i?"; ":", ";this.headersMap.set(i,{name:s.name,value:`${s.value}${e}${t}`})}else this.headersMap.set(i,{name:e,value:t});"set-cookie"===i&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase();"set-cookie"===i&&(this.cookies=[t]),this.headersMap.set(i,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:i}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,i]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),i=r.next().value;t[0]=[i[0],i[1].value],l(null!==i[1].value);for(let i=1,s=0,n=0,o=0,a=0,A,c;i<e;++i){for(c=r.next().value,l(null!==(A=t[i]=[c[0],c[1].value])[1]),o=0,n=i;o<n;)t[a=o+(n-o>>1)][0]<=A[0]?o=a+1:n=a;if(i!==a){for(s=i;s>o;)t[s]=t[--s];t[o]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:i}}of this.headersMap)t[e++]=[r,i],l(null!==i);return t.sort(m)}}}class C{#tr;#ti;constructor(e){if(A.util.markAsUncloneable(this),e===i)return;this.#ti=new p,this.#tr="none",void 0!==e&&u(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.delete"),!o(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.contains(e,!1)&&this.#ti.delete(e,!1)}get(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.get(e,!1)}has(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.contains(e,!1)}set(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=g(t=A.converters.ByteString(t,r,"value")),o(e)){if(!a(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.set(e,t,!1)}getSetCookie(){A.brandCheck(this,C);let e=this.#ti.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#ti.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#ti}static setHeadersList(e,t){e.#ti=t}}let{getHeadersGuard:I,setHeadersGuard:E,getHeadersList:f,setHeadersList:B}=C;Reflect.deleteProperty(C,"getHeadersGuard"),Reflect.deleteProperty(C,"setHeadersGuard"),Reflect.deleteProperty(C,"getHeadersList"),Reflect.deleteProperty(C,"setHeadersList"),n("Headers",C,function(e){let t=f(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],i=t.toSortedArray(),s=t.cookies;if(null===s||1===s.length)return t.sortedMap=i;for(let e=0;e<i.length;++e){let{0:t,1:n}=i[e];if("set-cookie"===t)for(let e=0;e<s.length;++e)r.push([t,s[e]]);else r.push([t,n])}return t.sortedMap=r},0,1),Object.defineProperties(C.prototype,{append:s,delete:s,get:s,has:s,set:s,getSetCookie:s,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let i=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&i===C.prototype.entries)try{return f(e).entriesList}catch{}return"function"==typeof i?A.converters["sequence<sequence<ByteString>>"](e,t,r,i.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:u,compareHeaderName:m,Headers:C,HeadersList:p,getHeadersGuard:I,setHeadersGuard:E,setHeadersList:B,getHeadersList:f}},7564(e,t,r){let i,{makeNetworkError:s,makeAppropriateNetworkError:n,filterResponse:o,makeResponse:a,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:g,getRequestDispatcher:u,getRequestState:h,removeRequestAbortListener:m}=r(9553),p=r(8522),{makePolicyContainer:C,clonePolicyContainer:I,requestBadPort:E,TAOCheck:f,appendRequestOriginHeader:B,responseLocationURL:y,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:N,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:D,crossOriginResourcePolicyCheck:x,determineRequestsReferrer:R,coarsenedSharedCurrentTime:M,sameOrigin:k,isCancelled:U,isAborted:F,isErrorLike:v,fullyReadBody:T,readableStreamClose:L,urlIsLocal:H,urlIsHttpHttpsScheme:O,urlHasHttpsScheme:P,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:z,createInflate:q,extractMimeType:V,hasAuthenticationEntry:J,includesCredentials:_,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:K,extractBody:X}=r(4626),{redirectStatusSet:Z,nullBodyStatus:$,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),ei=r(8474),{Readable:es,pipeline:en,finished:eo,isErrored:ea,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eg,minimizeSupportedMimeType:eu}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:em}=r(849),{STATUS_CODES:ep}=r(7067),{bytesMatch:eC}=r(2300),{isomorphicEncode:eI}=r(5358),eE=["GET","HEAD"],ef="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function eB(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let i=ec(r[t]),s=r[t+1];if(Array.isArray(s)&&!Buffer.isBuffer(s))for(let t of s)e.append(i,t.toString("latin1"),!0);else e.append(i,s.toString("latin1"),!0)}return}for(let[r,i]of Object.entries(t??{}))if(Array.isArray(i))for(let t of i)e.append(r,`${t}`,!0);else e.append(r,`${i}`,!0)}class ey extends ei{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],i=e.timingInfo,s=e.cacheState;O(r)&&null!==i&&(e.timingAllowPassed||(i=S({startTime:i.startTime}),s=""),i.endTime=M(),e.timingInfo=i,eN(i,r.href,t,globalThis,s,"",e.status))}let eN=performance.markResourceTiming;function eb(e,t,r,i,s){if(e&&e.reject(i),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(i).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let n=l(r);n.body?.stream!=null&&eA(n.body.stream)&&s.error(i)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseEndOfBody:s,processResponseConsumeBody:n,useParallelQueue:o=!1,dispatcher:a=eh(),requestObject:A=null}){j(a);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:M(c)}),g={controller:new ey(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseConsumeBody:n,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=I(e.client.policyContainer):e.policyContainer=C()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(g,!1),g.controller}async function ew(e,t){try{let r=e.request,i=null;if(r.localURLsOnly&&!H(Q(r))&&(i=s("local URLs only")),b(r),"blocked"===E(r)&&(i=s("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===i){let t=Q(r);k(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",i=await eD(e)):"same-origin"===r.mode?i=s('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?i=s('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",i=await eD(e)):O(Q(r))?(r.responseTainting="cors",i=await eR(e)):i=s("URL scheme must be a HTTP(S) scheme")}if(t)return i;0===i.status||i.internalResponse||(r.responseTainting,"basic"===r.responseTainting?i=o(i,"basic"):"cors"===r.responseTainting?i=o(i,"cors"):"opaque"===r.responseTainting?i=o(i,"opaque"):j(!1));let n=0===i.status?i:i.internalResponse;if(0===n.urlList.length&&n.urlList.push(...r.urlList),r.timingAllowFailed||(i.timingAllowPassed=!0),"opaque"===i.type&&206===n.status&&n.rangeRequested&&!r.headers.contains("range",!0)&&(i=n=s()),0!==i.status&&("HEAD"===r.method||"CONNECT"===r.method||$.includes(n.status))&&(n.body=null,e.controller.dump=!0),r.integrity){let t=t=>ex(e,s(t));if("opaque"===r.responseTainting||null==i.body)return void t(i.error);T(i.body,s=>{eC(s,r.integrity)?(i.body=K(s)[0],ex(e,i)):t("integrity mismatch")},t)}else ex(e,i)}catch(t){e.controller.terminate(t)}}function eD(e){if(U(e)&&0===e.request.redirectCount)return Promise.resolve(n(e));let{request:t}=e,{protocol:o}=Q(t);switch(o){case"about:":return Promise.resolve(s("about scheme is not supported"));case"blob:":{i||(i=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(s("NetworkError when attempting to fetch resource."));let n=i(e.toString());if("GET"!==t.method||!em.is.Blob(n))return Promise.resolve(s("invalid method"));let o=a(),A=n.size,l=eI(`${A}`),c=n.type;if(t.headersList.contains("range",!0)){o.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(s("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:i}=e;if(null===r)i=(r=A-i)+i-1;else{if(r>=A)return Promise.resolve(s("Range start is greater than the blob's size."));(null===i||i>=A)&&(i=A-1)}let a=n.slice(r,i+1,c);o.body=X(a)[0];let l=eI(`${a.size}`),d=z(r,i,A);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",d,!0)}else{let e=X(n);o.statusText="OK",o.body=e[0],o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0)}return Promise.resolve(o)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(s("failed to fetch the data URL"));return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eg(e.mimeType)}]],body:K(e.body)[0]}))}case"file:":return Promise.resolve(s("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>s(e));default:return Promise.resolve(s("unknown scheme"))}}function ex(e,t){let r=e.timingInfo,i=()=>{let i=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!O(e.request.url))return;r.endTime=i;let s=t.cacheState,n=t.bodyInfo;t.timingAllowPassed||(r=S(r),s="");let o=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){o=t.status;let e=V(t.headersList);"failure"!==e&&(n.contentType=eu(e))}null!=e.request.initiatorType&&eN(r,e.request.url.href,e.request.initiatorType,globalThis,s,n,o)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let s="error"===t.type?t:t.internalResponse??t;null==s.body?i():eo(s.body.stream,()=>{i()})}async function eR(e){let t=e.request,r=null,i=null,n=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),i=r=await eM(e),"cors"===t.responseTainting&&"failure"===D(t,r))return s("cors failure");"failure"===f(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===x(t.origin,t.client,t.destination,i)?s("blocked"):(Z.has(i.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=s("unexpected redirect"):"manual"===t.redirect?r=i:"follow"===t.redirect?r=await function(e,t){let r,i=e.request,n=t.internalResponse?t.internalResponse:t;try{if(r=y(n,Q(i).hash),null==r)return t}catch(e){return Promise.resolve(s(e))}if(!O(r))return Promise.resolve(s("URL scheme must be a HTTP(S) scheme"));if(20===i.redirectCount)return Promise.resolve(s("redirect count exceeded"));if(i.redirectCount+=1,"cors"===i.mode&&(r.username||r.password)&&!k(i,r))return Promise.resolve(s('cross origin not allowed for request mode "cors"'));if("cors"===i.responseTainting&&(r.username||r.password))return Promise.resolve(s('URL cannot contain credentials for request mode "cors"'));if(303!==n.status&&null!=i.body&&null==i.body.source)return Promise.resolve(s());if([301,302].includes(n.status)&&"POST"===i.method||303===n.status&&!eE.includes(i.method))for(let e of(i.method="GET",i.body=null,et))i.headersList.delete(e);k(Q(i),r)||(i.headersList.delete("authorization",!0),i.headersList.delete("proxy-authorization",!0),i.headersList.delete("cookie",!0),i.headersList.delete("host",!0)),null!=i.body&&(j(null!=i.body.source),i.body=K(i.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=M(e.crossOriginIsolatedCapability),0===o.redirectStartTime&&(o.redirectStartTime=o.startTime),i.urlList.push(r),N(i,n),ew(e,!0)}(e,r):j(!1)),r.timingInfo=n,r)}async function eM(e,t=!1,r=!1){let i=e.request,o=null,a=null,A=null;"no-window"===i.window&&"error"===i.redirect?(o=e,a=i):(i.body?.source!=null?a=g(i):(a=g({...i,body:null})).body=i.body,(o={...e}).request=a);let l="include"===i.credentials||"same-origin"===i.credentials&&"basic"===i.responseTainting,c=a.body?a.body.length:null,d=null;if(null==a.body&&["POST","PUT"].includes(a.method)&&(d="0"),null!=c&&(d=eI(`${c}`)),null==d||a.headersList.contains("content-length",!0)||a.headersList.append("content-length",d,!0),null!=c&&a.keepalive,em.is.URL(a.referrer)&&a.headersList.append("referer",eI(a.referrer.href),!0),B(a),w(a),a.headersList.contains("user-agent",!0)||a.headersList.append("user-agent",ef,!0),"default"===a.cache&&(a.headersList.contains("if-modified-since",!0)||a.headersList.contains("if-none-match",!0)||a.headersList.contains("if-unmodified-since",!0)||a.headersList.contains("if-match",!0)||a.headersList.contains("if-range",!0))&&(a.cache="no-store"),"no-cache"!==a.cache||a.preventNoCacheCacheControlHeaderModification||a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","max-age=0",!0),("no-store"===a.cache||"reload"===a.cache)&&(a.headersList.contains("pragma",!0)||a.headersList.append("pragma","no-cache",!0),a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","no-cache",!0)),a.headersList.contains("range",!0)&&a.headersList.append("accept-encoding","identity",!0),a.headersList.contains("accept-encoding",!0)||(P(Q(a))?a.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):a.headersList.append("accept-encoding","gzip, deflate",!0)),a.headersList.delete("host",!0),l&&!a.headersList.contains("authorization",!0)){let e=null;if(J(a)&&(void 0===a.useURLCredentials||!_(Q(a))));else if(_(Q(a))&&t){let{username:t,password:r}=Q(a);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&a.headersList.append("Authorization",e,!1)}if(a.cache="no-store","no-store"!==a.cache&&a.cache,null==A){if("only-if-cached"===a.cache)return s("only if cached");let e=await ek(o,l,r);!ee.has(a.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...a.urlList],a.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==a.responseTainting&&l&&(void 0!==i.useURLCredentials||W(i.traversableForUserPrompts))){if(null!=i.body){if(null==i.body.source)return A;i.body=K(i.body.source)[0]}if(void 0===i.useURLCredentials||t)return U(e)?n(e):A;e.controller.connection.destroy(),A=await eM(e,!0)}if(407===A.status)return"no-window"===i.window?s():U(e)?n(e):s("proxy authentication required");if(421===A.status&&!r&&(null==i.body||null!=i.body.source)){if(U(e))return n(e);e.controller.connection.destroy(),A=await eM(e,t,!0)}return A}async function ek(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let i=e.request,o=null,A=e.timingInfo;i.cache="no-store",i.mode;let l=null;if(null==i.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=i.body){let t=async function*(t){U(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of i.body.stream)yield*t(e);!U(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){U(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:s,headersList:n,socket:d}=await function({body:t}){let r=Q(i),s=e.controller.dispatcher,n=r.pathname+r.search,o=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(a,l){return new Promise((d,g)=>s.dispatch({path:o?`${n}?`:n,origin:r.origin,method:i.method,body:s.isMockActive?i.body&&(i.body.source||i.body.stream):a,__mockAgentBodyForDispatch:a,headers:i.headersList.entries,maxRedirections:0,upgrade:"websocket"===i.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let i=e=>t.abort(e);r.destroyed?i(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",i),this.abort=r.abort=i),A.finalNetworkRequestStartTime=M(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=M(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,s){if(t<200)return;let n=e?.rawHeaders??[],o=new c;eB(o,r,n);let a=o.get("location",!0);this.body=new es({read:()=>e.resume()});let A=a&&"follow"===i.redirect&&Z.has(t),l=[];if("HEAD"!==i.method&&"CONNECT"!==i.method&&!$.includes(t)&&!A){let e=o.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void g(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(p.createGunzip({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(q({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(p.createBrotliDecompress({flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(p.createZstdDecompress({flush:p.constants.ZSTD_e_continue,finishFlush:p.constants.ZSTD_e_end}));else{l.length=0;break}}}let u=t=>this.onResponseError(e,t);d({status:t,statusText:s,headersList:o,body:l.length?en(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",u):this.body.on("error",u)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,s){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===i.mode&&!1!==l&&s?.code==="UND_ERR_INFO"&&s?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(a,!1)):(this.body?.destroy(s),e.controller.terminate(s),g(s))},onRequestUpgrade(e,t,r,i){if(null!=i.session&&200!==t||null==i.session&&101!==t)return!1;let s=e?.rawHeaders??[],n=new c;return eB(n,r,s),d({status:t,statusText:ep[t],headersList:n,socket:i}),!0}}))}(t)}({body:l});if(d)o=a({status:r,statusText:s,headersList:n,socket:d});else{let i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next(),o=a({status:r,statusText:s,headersList:n})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),n(e,t);return s(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{U(e)||e.controller.abort(t)},type:"bytes"});return o.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){F(e)?(o.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:v(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:i}=await e.controller.next();if(F(e))break;t=r?void 0:i}catch(i){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=i,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,o);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let i=new Uint8Array(t);if(i.byteLength&&e.controller.controller.enqueue(i),ea(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},o}e.exports={fetch:function(e,t){let r;em.argumentLengthCheck(arguments,1,"globalThis.fetch");let i=Promise.withResolvers();try{r=new d(e,t)}catch(e){return i.reject(e),i.promise}let s=h(r);if(r.signal.aborted)return eb(i,s,null,r.signal.reason,null),i.promise;let n=s.client.globalObject;n?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let o=null,a=!1,l=null,c=el(r.signal,()=>{a=!0,j(null!=l),l.abort(r.signal.reason);let e=o?.deref();eb(i,s,e,r.signal.reason,l.controller)}),g=()=>{c(),m(r)};return l=eS({request:s,processResponseEndOfBody:e=>{eQ(e,"fetch"),g()},processResponse:e=>{if(!a){if(e.aborted){eb(i,s,o,l.serializedAbortReason,l.controller),g();return}if("error"===e.type){i.reject(TypeError("fetch failed",{cause:e.error})),g();return}o=new WeakRef(A(e,"immutable")),i.resolve(o.deref()),i=null}},dispatcher:u(r),requestObject:r}),i.promise},Fetch:ey,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let i,{extractBody:s,mixinBody:n,cloneBody:o,bodyUnusable:a}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:g,setHeadersList:u,getHeadersList:h}=r(3470),m=r(1210),p=r(7975),{isValidHTTPToken:C,sameOrigin:I,environmentSettingsObject:E}=r(638),{forbiddenMethodsSet:f,corsSafeListedMethodsSet:B,referrerPolicy:y,requestRedirect:Q,requestMode:N,requestCredentials:b,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:D,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=m,{webidl:M}=r(849),{URLSerializer:k}=r(3518),{kConstruct:U}=r(3025),F=r(4589),{getMaxListeners:v,setMaxListeners:T,defaultMaxListeners:L}=r(8474),H=Symbol("abortController"),O=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),P=new WeakMap;try{i=v(new AbortController().signal)>0}catch{i=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){O.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=P.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}P.delete(r.signal)}}}}let G=!1;class z{#ts;#Q;#$;#eS;#tn=null;constructor(e,t){let r;if(M.util.markAsUncloneable(this),e===U)return;M.argumentLengthCheck(arguments,1,"Request constructor"),e=M.converters.RequestInfo(e),t=M.converters.RequestInit(t);let n=null,o=null,g=E.settingsObject.baseUrl,p=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,g)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=X({urlList:[r]}),o="cors"}else F(M.is.Request(e)),n=e.#eS,p=e.#ts,this.#Q=t.dispatcher||e.#Q;let y=E.settingsObject.origin,Q="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&I(n.window,y)&&(Q=n.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),n=X({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:E.settingsObject,window:Q,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let N=0!==Object.keys(t).length;if(N&&("navigate"===n.mode&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)n.referrer="no-referrer";else{let t;try{t=new URL(e,g)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||y&&!I(t,E.settingsObject.baseUrl)?n.referrer="client":n.referrer=t}}if(void 0!==t.referrerPolicy&&(n.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:o))throw M.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(n.mode=r),void 0!==t.credentials&&(n.credentials=t.credentials),void 0!==t.cache&&(n.cache=t.cache),"only-if-cached"===n.cache&&"same-origin"!==n.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(n.redirect=t.redirect),null!=t.integrity&&(n.integrity=String(t.integrity)),void 0!==t.keepalive&&(n.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)n.method=r;else{if(!C(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(f.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=x[t]??e,n.method=e}G||"patch"!==n.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(p=t.signal),this.#eS=n;let b=new AbortController;if(this.#ts=b.signal,null!=p)if(p.aborted)b.abort(p.reason);else{this[H]=b;let e=Y(new WeakRef(b));i&&v(p)===L&&T(1500,p);let t=m.addAbortListener(p,e);O.register(b,{signal:p,abort:e},e),this.#tn=()=>{O.unregister(e),t(),this.#tn=null}}if(this.#$=new A(U),u(this.#$,n.headersList),d(this.#$,"request"),"no-cors"===r){if(!B.has(n.method))throw TypeError(`'${n.method} is unsupported in no-cors mode.`);d(this.#$,"request-no-cors")}if(N){let e=h(this.#$),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:i}of r.rawValues())e.append(t,i,!1);e.cookies=r.cookies}else l(this.#$,r)}let S=M.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===n.method||"HEAD"===n.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=s(t.body,n.keepalive);w=e,r&&!h(this.#$).contains("content-type",!0)&&this.#$.append("content-type",r,!0)}let D=w??S;if(null!=D&&null==D.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==n.mode&&"cors"!==n.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let k=D;if(null==w&&null!=S){if(a(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),k={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=k}get method(){return M.brandCheck(this,z),this.#eS.method}get url(){return M.brandCheck(this,z),k(this.#eS.url)}get headers(){return M.brandCheck(this,z),this.#$}get destination(){return M.brandCheck(this,z),this.#eS.destination}get referrer(){return(M.brandCheck(this,z),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return M.brandCheck(this,z),this.#eS.referrerPolicy}get mode(){return M.brandCheck(this,z),this.#eS.mode}get credentials(){return M.brandCheck(this,z),this.#eS.credentials}get cache(){return M.brandCheck(this,z),this.#eS.cache}get redirect(){return M.brandCheck(this,z),this.#eS.redirect}get integrity(){return M.brandCheck(this,z),this.#eS.integrity}get keepalive(){return M.brandCheck(this,z),this.#eS.keepalive}get isReloadNavigation(){return M.brandCheck(this,z),this.#eS.reloadNavigation}get isHistoryNavigation(){return M.brandCheck(this,z),this.#eS.historyNavigation}get signal(){return M.brandCheck(this,z),this.#ts}get body(){return M.brandCheck(this,z),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return M.brandCheck(this,z),!!this.#eS.body&&m.isDisturbed(this.#eS.body.stream)}get duplex(){return M.brandCheck(this,z),"half"}clone(){if(M.brandCheck(this,z),a(this.#eS))throw TypeError("unusable");let e=Z(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=P.get(this.signal);void 0===e&&(e=new Set,P.set(this.signal,e));let r=new WeakRef(t);e.add(r),m.addAbortListener(t.signal,Y(r))}return $(e,this.#Q,t.signal,g(this.#$))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${p.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#ts=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#$=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#tn?.()}}let{setRequestSignal:q,getRequestDispatcher:V,setRequestDispatcher:J,setRequestHeaders:_,getRequestState:W,setRequestState:j,removeRequestAbortListener:K}=z;function X(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function Z(e){let t=X({...e,body:null});return null!=e.body&&(t.body=o(e.body)),t}function $(e,t,r,i){let s=new z(U);j(s,e),J(s,t),q(s,r);let n=new A(U);return _(s,n),u(n,e.headersList),d(n,i),s}Reflect.deleteProperty(z,"setRequestSignal"),Reflect.deleteProperty(z,"getRequestDispatcher"),Reflect.deleteProperty(z,"setRequestDispatcher"),Reflect.deleteProperty(z,"setRequestHeaders"),Reflect.deleteProperty(z,"getRequestState"),Reflect.deleteProperty(z,"setRequestState"),Reflect.deleteProperty(z,"removeRequestAbortListener"),n(z,W),Object.defineProperties(z.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),M.is.Request=M.util.MakeTypeAssertion(z),M.converters.RequestInfo=function(e){return"string"==typeof e?M.converters.USVString(e):M.is.Request(e)?e:M.converters.USVString(e)},M.converters.RequestInit=M.dictionaryConverter([{key:"method",converter:M.converters.ByteString},{key:"headers",converter:M.converters.HeadersInit},{key:"body",converter:M.nullableConverter(M.converters.BodyInit)},{key:"referrer",converter:M.converters.USVString},{key:"referrerPolicy",converter:M.converters.DOMString,allowedValues:y},{key:"mode",converter:M.converters.DOMString,allowedValues:N},{key:"credentials",converter:M.converters.DOMString,allowedValues:b},{key:"cache",converter:M.converters.DOMString,allowedValues:S},{key:"redirect",converter:M.converters.DOMString,allowedValues:Q},{key:"integrity",converter:M.converters.DOMString},{key:"keepalive",converter:M.converters.boolean},{key:"signal",converter:M.nullableConverter(e=>M.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:M.converters.any},{key:"duplex",converter:M.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:M.converters.any},{key:"priority",converter:M.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:z,makeRequest:X,fromInnerRequest:$,cloneRequest:Z,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:K}},165(e,t,r){let{Headers:i,HeadersList:s,fill:n,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:g,bodyUnusable:u}=r(4626),h=r(1210),m=r(7975),{kEnumerableProperty:p}=h,{isValidReasonPhrase:C,isCancelled:I,isAborted:E,isErrorLike:f,environmentSettingsObject:B}=r(638),{redirectStatusSet:y,nullBodyStatus:Q}=r(6113),{webidl:N}=r(849),{URLSerializer:b}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:D,serializeJavascriptValueToJSONString:x}=r(5358),R=new TextEncoder("utf-8");class M{#$;#eS;static error(){return G(H(),"immutable")}static json(e,t){N.argumentLengthCheck(arguments,1,"Response.json"),t=N.converters.ResponseInit(t);let r=l(R.encode(x(e))),i=G(L({}),"response");return Y(i,t,{body:r[0],type:"application/json"}),i}static redirect(e,t=302){let r;N.argumentLengthCheck(arguments,1,"Response.redirect"),e=N.converters.USVString(e),t=N.converters["unsigned short"](t);try{r=new URL(e,B.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!y.has(t))throw RangeError(`Invalid status code ${t}`);let i=G(L({}),"immutable");i.#eS.status=t;let s=D(b(r));return i.#eS.headersList.append("location",s,!0),i}constructor(e=null,t){if(N.util.markAsUncloneable(this),e===S)return;null!==e&&(e=N.converters.BodyInit(e,"Response","body")),t=N.converters.ResponseInit(t),this.#eS=L({}),this.#$=new i(S),a(this.#$,"response"),A(this.#$,this.#eS.headersList);let r=null;if(null!=e){let[t,i]=l(e);r={body:t,type:i}}Y(this,t,r)}get type(){return N.brandCheck(this,M),this.#eS.type}get url(){N.brandCheck(this,M);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":b(t,!0)}get redirected(){return N.brandCheck(this,M),this.#eS.urlList.length>1}get status(){return N.brandCheck(this,M),this.#eS.status}get ok(){return N.brandCheck(this,M),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return N.brandCheck(this,M),this.#eS.statusText}get headers(){return N.brandCheck(this,M),this.#$}get body(){return N.brandCheck(this,M),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return N.brandCheck(this,M),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(N.brandCheck(this,M),u(this.#eS))throw N.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&g.register(this,new WeakRef(this.#eS.body.stream)),G(e,o(this.#$))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#$}static setResponseHeaders(e,t){e.#$=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:k,setResponseHeaders:U,getResponseState:F,setResponseState:v}=M;function T(e){if(e.internalResponse)return P(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new s(e?.headersList):new s,urlList:e?.urlList?[...e.urlList]:[]}}function H(e){return L({type:"error",status:0,error:f(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function O(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,i)=>(w(!(r in t)),e[r]=i,!0)})}function P(e,t){return"basic"===t?O(e,{type:"basic",headersList:e.headersList}):"cors"===t?O(e,{type:"cors",headersList:e.headersList}):"opaque"===t?O(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?O(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!C(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(F(e).status=t.status),"statusText"in t&&null!=t.statusText&&(F(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&n(k(e),t.headers),r){if(Q.includes(e.status))throw N.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});F(e).body=r.body,null==r.type||F(e).headersList.contains("content-type",!0)||F(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new M(S);v(r,e);let s=new i(S);return U(r,s),A(s,e.headersList),a(s,t),0!==e.urlList.length&&e.body?.stream&&g.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(M,"getResponseHeaders"),Reflect.deleteProperty(M,"setResponseHeaders"),Reflect.deleteProperty(M,"getResponseState"),Reflect.deleteProperty(M,"setResponseState"),d(M,F),Object.defineProperties(M.prototype,{type:p,url:p,status:p,ok:p,redirected:p,statusText:p,headers:p,clone:p,body:p,bodyUsed:p,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(M,{json:p,redirect:p,error:p}),N.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?N.converters.USVString(e,t,r):N.is.Blob(e)||N.is.BufferSource(e)||N.is.FormData(e)||N.is.URLSearchParams(e)?e:N.converters.DOMString(e,t,r)},N.converters.BodyInit=function(e,t,r){return N.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:N.converters.XMLHttpRequestBodyInit(e,t,r)},N.converters.ResponseInit=N.dictionaryConverter([{key:"status",converter:N.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:N.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:N.converters.HeadersInit}]),N.is.Response=N.util.MakeTypeAssertion(M),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:H,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(I(e)),E(e)?H(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):H(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:P,Response:M,cloneResponse:T,fromInnerResponse:G,getResponseState:F}},638(e,t,r){let{Transform:i}=r(7075),s=r(8522),{redirectStatusSet:n,referrerPolicyTokens:o,badPortsSet:a}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:g,isValidHTTPToken:u,normalizedMethodRecordsBase:h}=r(1210),m=r(4589),{isUint8Array:p}=r(3429),{webidl:C}=r(849),{isomorphicEncode:I,collectASequenceOfCodePoints:E,removeChars:f}=r(5358);function B(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function y(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function N(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function b(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(m(C.is.URL(e)),v(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),D=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function x(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),D(e)):w(e)}function R(e){var t;return!!C.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||x(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function M(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let k=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function U(e,t,r=0,i=1){class s{#to;#ta;#tA;constructor(e,t){this.#to=e,this.#ta=t,this.#tA=0}next(){let s;if("object"!=typeof this||this===null||!(#to in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let n=this.#tA,o=t(this.#to);if(n>=o.length)return{value:void 0,done:!0};let{[r]:a,[i]:A}=o[n];switch(this.#tA=n+1,this.#ta){case"key":s=a;break;case"value":s=A;break;case"key+value":s=[a,A]}return{value:s,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,k),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new s(e,t)}}async function F(e,t,r){try{let i=[],s=0;for(;;){let{done:n,value:o}=await e.read();if(n)return void t(Buffer.concat(i,s));if(!p(o))return void r(TypeError("Received non-Uint8Array chunk"));i.push(o),s+=o.length}}catch(e){r(e)}}function v(e){m("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){m("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class H extends i{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?s.createInflate(this.#tl):s.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function O(e,t){let r=t.get(e,!0);if(null===r)return null;let i={position:0},s=[],n="";for(;i.position<r.length;){if(n+=E(e=>'"'!==e&&","!==e,r,i),i.position<r.length)if(34===r.charCodeAt(i.position)){if(n+=l(r,i),i.position<r.length)continue}else m(44===r.charCodeAt(i.position)),i.position++;n=f(n,!0,!0,e=>9===e||32===e),s.push(n),n=""}return s}class P{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=b()}class Y{settingsObject=new P}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:y,ReadableStreamFrom:g,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;m(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else C.is.URL(e.referrer)&&(r=e.referrer);let i=S(r),s=S(r,!0);switch(i.toString().length>4096&&(i=s),t){case"no-referrer":return"no-referrer";case"origin":if(null!=s)return s;return S(r,!0);case"unsafe-url":return i;case"strict-origin":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return s}case"strict-origin-when-cross-origin":{let t=Q(e);if(M(i,t))return i;if(R(i)&&!R(t))return"no-referrer";return s}case"same-origin":if(M(e,i))return i;return"no-referrer";case"origin-when-cross-origin":if(M(e,i))return i;return s;case"no-referrer-when-downgrade":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return i}}},makePolicyContainer:b,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":M(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let i=t[e-1].trim();if(o.has(i)){r=i;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:u,requestBadPort:function(e){let t=Q(e);return L(t)&&a.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:B,responseLocationURL:function(e,t){var r;if(!n.has(e.status))return null;let i=e.headersList.get("location",!0);return null!==i&&N(i)&&(y(i)||(r=i,i=Buffer.from(r,"binary").toString("utf8")),i=new URL(i,B(e))),i&&!i.hash&&(i.hash=t),i},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:M,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,i=0,s=1){let n=U(e,r,i,s),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,i=globalThis){if(C.brandCheck(this,t),C.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of n(this,"key+value"))r.call(i,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})},createIterator:U,isValidHeaderName:u,isValidHeaderValue:N,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let i=e.stream.getReader();F(i,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:v,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:F,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&E(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&E(e=>" "===e||" "===e,e,r);let i=E(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),s=i.length?Number(i):null;if(t&&E(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&E(e=>" "===e||" "===e,e,r);let n=E(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),o=n.length?Number(n):null;return r.position<e.length||null===o&&null===s||null!==s&&null!==o&&s>o?"failure":{rangeStartValue:s,rangeEndValue:o}},buildContentRange:function(e,t,r){let i="bytes ";return i+=I(`${e}`),i+="-",i+=I(`${t}`),i+="/",i+=I(`${r}`)},createInflate:function(e){return new H(e)},extractMimeType:function(e){let t=null,r=null,i=null,s=O("content-type",e);if(null===s)return"failure";for(let e of s){let s=c(e);"failure"!==s&&"*/*"!==s.essence&&((i=s).essence!==r?(t=null,i.parameters.has("charset")&&(t=i.parameters.get("charset")),r=i.essence):i.parameters.has("charset")||null===t||i.parameters.set("charset",t))}return null==i?"failure":i},getDecodeSplit:O,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:x,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let i=r(4589),{utf8DecodeBytes:s}=r(2718),n=/[\u0009\u000A\u000C\u000D\u0020]/g;function o(e){return 9===e||10===e||12===e||13===e||32===e}let a=/[^\x00-\xFF]/;function A(e,t,r,i){let s=0,n=e.length-1;if(t)for(;s<e.length&&i(e.charCodeAt(s));)s++;if(r)for(;n>0&&i(e.charCodeAt(n));)n--;return 0===s&&n===e.length-1?e:e.slice(s,n+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let i="";for(;r.position<t.length&&e(t[r.position]);)i+=t[r.position],r.position++;return i},collectASequenceOfCodePointsFast:function(e,t,r){let i=t.indexOf(e,r.position),s=r.position;return -1===i?(r.position=t.length,t.slice(s)):(r.position=i,t.slice(s,r.position))},forgivingBase64:function(e){let t=(e=e.replace(n,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:o,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",i=0,s=65535;for(;i<t;)i+s>t&&(s=t-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+=s));return r},isomorphicEncode:function(e){return i(!a.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(s(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,o)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return i("string"==typeof t),t}}},2300(e,t,r){let i,s=r(4589),{runtimeFeatures:n}=r(6979),o=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(n.has("crypto")){let e=(i=r(7598)).getHashes();for(let t of(0===e.length&&o.clear(),o.keys()))!1===e.includes(t)&&o.delete(t)}else o.clear();let a=Map.prototype.get.bind(o),A=Map.prototype.has.bind(o),l=!1===n.has("crypto")||0===o.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,i=t.val;if(u(g(r,e),i))return!0}return!1};function c(e){let t=[],r=null;for(let i of e){if(s(A(i.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(i),r=i;continue}let e=a(r.alg),n=a(i.alg);n<e||(n>e?(r=i,t[0]=i,t.length=1):t.push(i))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],i="",s=[e.slice(0,6),e.slice(7)],n=s[0];if(!A(n))continue;s[1]&&(i=s[1]);let o={alg:n,val:i};t.push(o)}return t}let g=(e,t)=>i.hash(e,t,"base64");function u(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let i=t.length;if(0!==i&&"="===t[i-1]&&(i-=1),0!==i&&"="===t[i-1]&&(i-=1),r!==i)return!1;for(let i=0;i<r;++i)if(e[i]!==t[i]&&("+"!==e[i]||"-"!==t[i])&&("/"!==e[i]||"_"!==t[i]))return!1;return!0}e.exports={applyAlgorithmToBytes:g,bytesMatch:l,caseSensitiveMatch:u,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let i=r(4589),{types:s,inspect:n}=r(7975),{markAsUncloneable:o}=r(5919),a=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!a(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>a(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=o,A.util.ConvertToInt=function(e,t,r,i){let s,n;64===t?(s=0x1fffffffffffff,n="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(n=0,s=Math.pow(2,t)-1):(n=-Math.pow(2,t-1),s=Math.pow(2,t-1)-1);let o=Number(e);if(0===o&&(o=0),A.util.HasFlag(i,A.attributes.EnforceRange)){if(Number.isNaN(o)||o===1/0||o===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((o=A.util.IntegerPart(o))<n||o>s)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${n}-${s}, got ${o}.`});return o}return!Number.isNaN(o)&&A.util.HasFlag(i,A.attributes.Clamp)?o=Math.floor(o=Math.min(Math.max(o,n),s))%2==0?Math.floor(o):Math.ceil(o):Number.isNaN(o)||0===o&&Object.is(0,o)||o===1/0||o===-1/0?0:(o=A.util.IntegerPart(o)%Math.pow(2,t),"signed"===r&&o>=Math.pow(2,t-1))?o-Math.pow(2,t):o},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return n(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(s.isArrayBuffer(e))return e.resizable;if(s.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,i,s)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${i} (${A.util.Stringify(t)}) is not iterable.`});let n="function"==typeof s?s():t?.[Symbol.iterator]?.(),o=[],a=0;if(void 0===n||"function"!=typeof n.next)throw A.errors.exception({header:r,message:`${i} is not iterable.`});for(;;){let{done:t,value:s}=n.next();if(t)break;o.push(e(s,r,`${i}[${a++}]`))}return o}},A.recordConverter=function(e,t){return(r,i,n)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:i,message:`${n} ("${A.util.TypeValueToString(r)}") is not an Object.`});let o={};if(!s.isProxy(r)){for(let s of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let a=A.util.Stringify(s),l=e(s,i,`Key ${a} in ${n}`),c=t(r[s],i,`${n}[${a}]`);o[l]=c}return o}for(let s of Reflect.ownKeys(r)){let a=Reflect.getOwnPropertyDescriptor(r,s);if(a?.enumerable){let a=e(s,i,n),A=t(r[s],i,n);o[a]=A}}return o}},A.interfaceConverter=function(e,t){return(r,i,s)=>{if(!e(r))throw A.errors.exception({header:i,message:`Expected ${s} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,i)=>{let s={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let n of e){let{key:e,defaultValue:o,required:a,converter:l}=n;if(!0===a&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==o;if(d&&void 0===c&&(c=o()),a||d||void 0!==c){if(c=l(c,r,`${i}.${e}`),n.allowedValues&&!n.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`});s[e]=c}}return s}},A.nullableConverter=function(e){return(t,r,i)=>null===t?t:e(t,r,i)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return s.isArrayBuffer(e)||ArrayBuffer.isView(e)&&s.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,n=0;if(s.isTypedArray(e)||s.isDataView(e)?(t=e.buffer,r=e.byteOffset):i(s.isAnyArrayBuffer(e)),n=e.byteLength,t.detached)return new Uint8Array(0);let o=new Uint8Array(n),a=new Uint8Array(t,r,n);return o.set(a),o},A.converters.DOMString=function(e,t,r,i){if(null===e&&A.util.HasFlag(i,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let i=String(e);for(let e=0;e<i.length;e++)if(i.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${i.charCodeAt(e)} which is greater than 255.`);return i},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,i){return A.util.ConvertToInt(e,16,"unsigned",i,t,r)},A.converters.ArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,i,n){if(8!==A.util.Type(e)||!s.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${i} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(n,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,i){if(s.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(s.isArrayBufferView(e))return i&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);if(s.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,i){if(s.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(s.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,i);if(s.isArrayBufferView(e))return i|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:i,states:s,sentCloseFrameState:n,emptyBuffer:o,opcodes:a}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:g,validateCloseCodeAndReason:u}=r(3927),{makeRequest:h}=r(9553),{fetching:m}=r(7564),{Headers:p,getHeadersList:C}=r(3470),{getDecodeSplit:I}=r(638),{WebsocketFrameSend:E}=r(4018),f=r(4589),{runtimeFeatures:B}=r(6979),y=B.has("crypto")?r(7598):null,Q=!1;function N(e,t,r,i=!1){if(t??=null,r??="",i&&u(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(n.SENT)||e.closeState.has(n.RECEIVED))e.readyState=s.CLOSING;else{let i=new E;0!==r.length&&null===t&&(t=1e3),f(null===t||Number.isInteger(t)),null===t&&0===r.length?i.frameData=o:null!==t&&null===r?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(i.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=o,e.socket.write(i.createFrame(a.CLOSE)),e.closeState.add(n.SENT),e.readyState=s.CLOSING}else b(e),e.readyState=s.CLOSING}function b(e,t,r,i){d(e.readyState)&&N(e,t,r,!1),e.controller.abort(),g(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,s,n){e.protocol="ws:"===e.protocol?"http:":"https:";let o=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});n.headers&&(o.headersList=C(new p(n.headers)));let a=y.randomBytes(16).toString("base64");for(let e of(o.headersList.append("sec-websocket-key",a,!0),o.headersList.append("sec-websocket-version","13",!0),t))o.headersList.append("sec-websocket-protocol",e,!0);return o.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),m({request:o,useParallelQueue:!0,dispatcher:n.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void b(s,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void b(s,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void b(s,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void b(s,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void b(s,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==y.hash("sha1",a+i,"base64"))return void b(s,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let n=e.headersList.get("Sec-WebSocket-Extensions");if(null!==n&&!(r=A(n)).has("permessage-deflate"))return void b(s,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||I("sec-websocket-protocol",o.headersList).includes(l)?(e.socket.on("data",s.onSocketData),e.socket.on("close",s.onSocketClose),e.socket.on("error",s.onSocketError),s.wasEverConnected=!0,s.onConnectionEstablished(e,r)):b(s,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:b,closeWebSocketConnection:N}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:i}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:n}=r(3025);class o extends Event{#tc;constructor(e,t={}){if(e===n){super(arguments[1],arguments[2]),i.util.markAsUncloneable(this);return}let r="MessageEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,i.util.markAsUncloneable(this)}get data(){return i.brandCheck(this,o),this.#tc.data}get origin(){return i.brandCheck(this,o),this.#tc.origin}get lastEventId(){return i.brandCheck(this,o),this.#tc.lastEventId}get source(){return i.brandCheck(this,o),this.#tc.source}get ports(){return i.brandCheck(this,o),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,s=null,n="",a="",A=null,l=[]){return i.brandCheck(this,o),i.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new o(e,{bubbles:t,cancelable:r,data:s,origin:n,lastEventId:a,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new o(n,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:a}=o;delete o.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.CloseEventInit(t)),this.#tc=t,i.util.markAsUncloneable(this)}get wasClean(){return i.brandCheck(this,A),this.#tc.wasClean}get code(){return i.brandCheck(this,A),this.#tc.code}get reason(){return i.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e,t),i.util.markAsUncloneable(this),e=i.converters.DOMString(e,r,"type"),t=i.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return i.brandCheck(this,l),this.#tc.message}get filename(){return i.brandCheck(this,l),this.#tc.filename}get lineno(){return i.brandCheck(this,l),this.#tc.lineno}get colno(){return i.brandCheck(this,l),this.#tc.colno}get error(){return i.brandCheck(this,l),this.#tc.error}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:s,origin:s,lastEventId:s,source:s,ports:s,initMessageEvent:s}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:s,code:s,wasClean:s}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:s,filename:s,lineno:s,colno:s,error:s}),i.converters.MessagePort=i.interfaceConverter(i.is.MessagePort,"MessagePort"),i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);let c=[{key:"bubbles",converter:i.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:i.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:i.converters.boolean,defaultValue:()=>!1}];i.converters.MessageEventInit=i.dictionaryConverter([...c,{key:"data",converter:i.converters.any,defaultValue:()=>null},{key:"origin",converter:i.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:()=>""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:i.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),i.converters.CloseEventInit=i.dictionaryConverter([...c,{key:"wasClean",converter:i.converters.boolean,defaultValue:()=>!1},{key:"code",converter:i.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:i.converters.USVString,defaultValue:()=>""}]),i.converters.ErrorEventInit=i.dictionaryConverter([...c,{key:"message",converter:i.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:i.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:i.converters.any}]),e.exports={MessageEvent:o,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:a}},4018(e,t,r){let{runtimeFeatures:i}=r(6979),{maxUnsigned16Bit:s,opcodes:n}=r(7946),o=null,a=8192,A=i.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===a&&(a=0,A(o??=Buffer.allocUnsafeSlow(8192),0,8192)),[o[a++],o[a++],o[a++],o[a++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),i=t?.byteLength??0,n=i,o=6;i>s?(o+=8,n=127):i>125&&(o+=2,n=126);let a=Buffer.allocUnsafe(i+o);a[0]=a[1]=0,a[0]|=128,a[0]=(240&a[0])+e,a[o-4]=r[0],a[o-3]=r[1],a[o-2]=r[2],a[o-1]=r[3],a[1]=n,126===n?a.writeUInt16BE(i,2):127===n&&(a[2]=a[3]=0,a.writeUIntBE(i,4,6)),a[1]|=128;for(let e=0;e<i;++e)a[o+e]=t[e]^r[3&e];return a}static createFastTextFrame(e){let t=l(),r=e.length;for(let i=0;i<r;++i)e[i]^=t[3&i];let i=r,o=6;r>s?(o+=8,i=127):r>125&&(o+=2,i=126);let a=Buffer.allocUnsafeSlow(o);return a[0]=128|n.TEXT,a[1]=128|i,a[o-4]=t[0],a[o-3]=t[1],a[o-2]=t[2],a[o-1]=t[3],126===i?a.writeUInt16BE(r,2):127===i&&(a[2]=a[3]=0,a.writeUIntBE(r,4,6)),[a,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:s}=r(8522),{isValidClientWindowBits:n}=r(3927),{MessageSizeExceededError:o}=r(8065),a=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tg=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tg=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=s;if(this.#T.serverMaxWindowBits){if(!n(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=i({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tg>0&&this.#td[l]>this.#tg){r(new o),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(a),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:i}=r(7075),s=r(4589),{parserStates:n,opcodes:o,states:a,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:g,utf8Decode:u,isControlFrame:h,isTextBinaryFrame:m,isContinuationFrame:p}=r(3927),{failWebsocketConnection:C}=r(5563),{WebsocketFrameSend:I}=r(4018),{PerMessageDeflate:E}=r(959),{MessageSizeExceededError:f}=r(8065);class B extends i{#tu=[];#th=0;#tm=0;#tp=!1;#eS=n.INFO;#tC={};#tI=[];#tE;#y;#tf;#tg;constructor(e,t,r={}){super(),this.#y=e,this.#tE=null==t?new Map:t,this.#tf=r.maxFragments??0,this.#tg=r.maxPayloadSize??0,this.#tE.has("permessage-deflate")&&this.#tE.set("permessage-deflate",new E(t,r))}_write(e,t,r){this.#tu.push(e),this.#tm+=e.length,this.#tp=!0,this.run(r)}#tB(){return!(this.#tg>0)||!!h(this.#tC.opcode)||!(this.#tC.payloadLength+this.#th>this.#tg)||(C(this.#y,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tp;)if(this.#eS===n.INFO){if(this.#tm<2)return e();let t=this.consume(2),r=(128&t[0])!=0,i=15&t[0],s=(128&t[1])==128,a=!r&&i!==o.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],g=16&t[0];if(!d(i))return C(this.#y,1002,"Invalid opcode received"),e();if(s)return C(this.#y,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#tE.has("permessage-deflate"))return void C(this.#y,1002,"Expected RSV1 to be clear.");if(0!==c||0!==g)return void C(this.#y,1002,"RSV1, RSV2, RSV3 must be clear");if(a&&!m(i))return void C(this.#y,1002,"Invalid frame type was fragmented.");if(m(i)&&this.#tI.length>0)return void C(this.#y,1002,"Expected continuation frame");if(this.#tC.fragmented&&a)return void C(this.#y,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||a)&&h(i))return void C(this.#y,1002,"Control frame either too large or fragmented");if(p(i)&&0===this.#tI.length&&!this.#tC.compressed)return void C(this.#y,1002,"Unexpected continuation frame");if(A<=125){if(this.#tC.payloadLength=A,this.#eS=n.READ_DATA,!this.#tB())return}else 126===A?this.#eS=n.PAYLOADLENGTH_16:127===A&&(this.#eS=n.PAYLOADLENGTH_64);m(i)&&(this.#tC.binaryType=i,this.#tC.compressed=0!==l),this.#tC.opcode=i,this.#tC.masked=s,this.#tC.fin=r,this.#tC.fragmented=a}else if(this.#eS===n.PAYLOADLENGTH_16){if(this.#tm<2)return e();let t=this.consume(2);if(this.#tC.payloadLength=t.readUInt16BE(0),this.#eS=n.READ_DATA,!this.#tB())return}else if(this.#eS===n.PAYLOADLENGTH_64){if(this.#tm<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),i=t.readUInt32BE(4);if(0!==r||i>0x80000000-1)return void C(this.#y,1009,"Received payload length > 2^31 bytes.");if(this.#tC.payloadLength=i,this.#eS=n.READ_DATA,!this.#tB())return}else if(this.#eS===n.READ_DATA){if(this.#tm<this.#tC.payloadLength)return e();let t=this.consume(this.#tC.payloadLength);if(h(this.#tC.opcode))this.#tp=this.parseControlFrame(t),this.#eS=n.INFO;else if(this.#tC.compressed){this.#tE.get("permessage-deflate").decompress(t,this.#tC.fin,(t,r)=>{if(t){let e=t instanceof f?1009:1007;C(this.#y,e,t.message);return}if(this.writeFragments(r)){if(this.#tg>0&&this.#th>this.#tg)return void C(this.#y,1009,new f().message);if(!this.#tC.fin){this.#eS=n.INFO,this.#tp=!0,this.run(e);return}g(this.#y,this.#tC.binaryType,this.consumeFragments()),this.#tp=!0,this.#eS=n.INFO,this.run(e)}},this.#th),this.#tp=!1;break}else{if(!this.writeFragments(t))return;!this.#tC.fragmented&&this.#tC.fin&&g(this.#y,this.#tC.binaryType,this.consumeFragments()),this.#eS=n.INFO}}}consume(e){if(e>this.#tm)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tm-=e;let t=this.#tu[0];if(t.length>e)return this.#tu[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tu.shift();let r=0,i=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tu[0],s=t.length;if(s+r===e){i.set(this.#tu.shift(),r);break}if(s+r>e){i.set(t.subarray(0,e-r),r),this.#tu[0]=t.subarray(e-r);break}i.set(this.#tu.shift(),r),r+=s}return i}}writeFragments(e){return this.#tf>0&&this.#tI.length===this.#tf?(C(this.#y,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tI.push(e),!0)}consumeFragments(){let e=this.#tI;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let i=0;i<e.length;++i){let s=e[i];r.set(s,t),t+=s.length}return this.#tI=[],this.#th=0,r}parseCloseBody(e){let t;if(s(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=u(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tC;if(t===o.CLOSE){if(1===r)return C(this.#y,1002,"Received close frame with a 1-byte body."),!1;if(this.#tC.closeInfo=this.parseCloseBody(e),this.#tC.closeInfo.error){let{code:e,reason:t}=this.#tC.closeInfo;return C(this.#y,e,t),!1}if(!this.#y.closeState.has(l.SENT)&&!this.#y.closeState.has(l.RECEIVED)){let e=A;this.#tC.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tC.closeInfo.code,0);let t=new I(e);this.#y.socket.write(t.createFrame(o.CLOSE)),this.#y.closeState.add(l.SENT)}return this.#y.readyState=a.CLOSING,this.#y.closeState.add(l.RECEIVED),!1}if(t===o.PING){if(!this.#y.closeState.has(l.RECEIVED)){let t=new I(e);this.#y.socket.write(t.createFrame(o.PONG)),this.#y.onPing(e)}}else t===o.PONG&&this.#y.onPong(e);return!0}get closingInfo(){return this.#tC.closeInfo}}e.exports={ByteParser:B}},2726(e,t,r){let{WebsocketFrameSend:i}=r(4018),{opcodes:s,sendHints:n}=r(7946),o=r(9006);class a{#ty=new o;#tQ=!1;#tN;constructor(e){this.#tN=e}add(e,t,r){if(r!==n.blob){if(this.#tQ){let i={promise:null,callback:t,frame:A(e,r)};this.#ty.push(i)}else if(r===n.text){let{0:r,1:s}=i.createFastTextFrame(e);this.#tN.cork(),this.#tN.write(r),this.#tN.write(s,t),this.#tN.uncork()}else this.#tN.write(A(e,r),t);return}let s={promise:e.arrayBuffer().then(e=>{s.promise=null,s.frame=A(e,r)}),callback:t,frame:null};this.#ty.push(s),this.#tQ||this.#tb()}async #tb(){this.#tQ=!0;let e=this.#ty;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tN.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new i(function(e,t){switch(t){case n.text:case n.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case n.arrayBuffer:case n.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===n.text?s.TEXT:s.BINARY)}e.exports={SendQueue:a}},7245(e,t,r){let{webidl:i}=r(849),{validateCloseCodeAndReason:s}=r(3927),{kConstruct:n}=r(3025),{kEnumerableProperty:o}=r(1210);function a(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let i=Reflect.construct(e,t,e);return Object.setPrototypeOf(i,r.prototype),i}})}class A extends a(){#tS;#E;constructor(e="",t){if(super(e=i.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===n)return;null!==t&&(t=i.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,o=t.reason??"";s(r,o),0!==o.length&&null===r&&(r=1e3),this.#tS=r,this.#E=o}get closeCode(){return this.#tS}get reason(){return this.#E}static createUnvalidatedWebSocketError(e,t,r){let i=new A(e,n);return i.#tS=t,i.#E=r,i}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:o,reason:o,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),i.is.WebSocketError=i.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:i}=r(8474),{environmentSettingsObject:s,readableStreamClose:n}=r(638),{states:o,opcodes:a,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:g,utf8Decode:u}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:m,closeWebSocketConnection:p}=r(5563),{channels:C}=r(6708),{WebsocketFrameSend:I}=r(4018),{ByteParser:E}=r(5346),{WebSocketError:f,createUnvalidatedWebSocketError:B}=r(7245),{kEnumerableProperty:y}=r(1210),{utf8DecodeBytes:Q}=r(2718),N=!1;class b{#e4;#tw;#tD;#tx;#tR;#tM;#tk=!1;#y={onConnectionEstablished:(e,t)=>this.#tU(e,t),onMessage:(e,t)=>this.#tF(e,t),onParserError:e=>m(this.#y,null,e.message),onParserDrain:()=>this.#y.socket.resume(),onSocketData:e=>{this.#tv.write(e)||this.#y.socket.pause()},onSocketError:e=>{this.#y.readyState=o.CLOSING,C.socketError.hasSubscribers&&C.socketError.publish(e),this.#y.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:o.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tv;constructor(e,t){N||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),N=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,s.settingsObject.baseUrl),n=t.protocols;if(n.length!==new Set(n.map(e=>e.toLowerCase())).size||n.length>0&&!n.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e4=r.toString(),this.#tw=Promise.withResolvers(),this.#tD=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tD.reject(e.reason);return}i(e,()=>{g(this.#y.readyState)||(m(this.#y),this.#y.readyState=o.CLOSING,this.#tw.reject(e.reason),this.#tD.reject(e.reason),this.#tk=!0)})}let a=s.settingsObject;this.#y.controller=h(r,n,a,this.#y,t)}get url(){return this.#e4.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tD.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;p(this.#y,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,i=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),i=a.BINARY;else{let s;try{s=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(s),i=a.TEXT}if(!this.#y.closeState.has(A.SENT)&&!this.#y.closeState.has(A.RECEIVED)){let e=new I(r);this.#y.socket.write(e.createFrame(i),()=>{t.resolve(void 0)})}return t.promise}#tU(e,t){this.#y.socket=e.socket;let r=this.#y.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#y.controller.dispatcher?.webSocketOptions?.maxPayloadSize,s=new E(this.#y,t,{maxFragments:r,maxPayloadSize:i});s.on("drain",()=>this.#y.onParserDrain()),s.on("error",e=>this.#y.onParserError(e)),this.#tv=s,this.#y.readyState=o.OPEN;let n=t??"",a=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tH(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>p(this.#y,null,null),abort:e=>this.#tO(e)});this.#tx=A,this.#tM=l,this.#tw.resolve({extensions:n,protocol:a,readable:A,writable:l})}#tF(e,t){let r;if(this.#y.readyState===o.OPEN){if(e===a.TEXT)try{r=u(t)}catch{m(this.#y,1007,"Received invalid UTF-8 in text frame.");return}else e===a.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#y.closeState.has(A.SENT)&&this.#y.closeState.has(A.RECEIVED);if(this.#y.readyState=o.CLOSED,this.#tk)return;this.#y.wasEverConnected||this.#tw.reject(new f("Socket never opened"));let t=this.#tv?.closingInfo,r=t?.code??1005;this.#y.closeState.has(A.SENT)||this.#y.closeState.has(A.RECEIVED)||(r=1006);let i=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)n(this.#tR),this.#tM.locked||this.#tM.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tD.resolve({closeCode:r,reason:i});else{let e=B("unclean close",r,i);this.#tR?.error(e),this.#tM?.abort(e),this.#tD.reject(e)}}#tO(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),p(this.#y,t,r)}#tH(e){this.#tO(e)}}Object.defineProperties(b.prototype,{url:y,opened:y,closed:y,close:y,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:b}},3927(e,t,r){let{states:i,opcodes:s}=r(7946),{isUtf8:n}=r(4573),{removeHTTPWhitespace:o}=r(3518),{collectASequenceOfCodePointsFast:a}=r(5358);function A(e){return e===s.CLOSE||e===s.PING||e===s.PONG}function l(e){return e===s.CONTINUATION}function c(e){return e===s.TEXT||e===s.BINARY}e.exports={isConnecting:function(e){return e===i.CONNECTING},isEstablished:function(e){return e===i.OPEN},isClosing:function(e){return e===i.CLOSING},isClosed:function(e){return e===i.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),i={}){let s=r(e,i);t.dispatchEvent(s)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(n(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[i,s=""]=a(";",e,t).split("=",2);r.set(o(i,!0,!1),o(s,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:i}=r(3429),{webidl:s}=r(849),{URLSerializer:n}=r(3518),{environmentSettingsObject:o}=r(638),{staticPropertyDescriptors:a,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:g,isEstablished:u,isClosing:h,isClosed:m,isValidSubprotocol:p,fireEvent:C,utf8Decode:I,toArrayBuffer:E,getURLRecord:f}=r(3927),{establishWebSocketConnection:B,closeWebSocketConnection:y,failWebsocketConnection:Q}=r(5563),{ByteParser:N}=r(5346),{kEnumerableProperty:b}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:D,createFastMessageEvent:x}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:M}=r(4018),{channels:k}=r(6708);class U extends EventTarget{#e5={open:null,error:null,close:null,message:null};#tP=0;#tY="";#tE="";#tG;#y={onConnectionEstablished:(e,t)=>this.#tU(e,t),onMessage:(e,t)=>this.#tF(e,t),onParserError:e=>Q(this.#y,null,e.message),onParserDrain:()=>this.#tz(),onSocketData:e=>{this.#tv.write(e)||this.#y.socket.pause()},onSocketError:e=>{this.#y.readyState=A.CLOSING,k.socketError.hasSubscribers&&k.socketError.publish(e),this.#y.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{k.ping.hasSubscribers&&k.ping.publish({payload:e,websocket:this})},onPong:e=>{k.pong.hasSubscribers&&k.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e4;#tq;#tv;constructor(e,t=[]){super(),s.util.markAsUncloneable(this);let r="WebSocket constructor";s.argumentLengthCheck(arguments,1,r);let i=s.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=s.converters.USVString(e),t=i.protocols;let n=f(e,o.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>p(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e4=new URL(n.href);let a=o.settingsObject;this.#y.controller=B(n,t,a,this.#y,i),this.#y.readyState=U.CONNECTING,this.#tq="blob"}close(e,t){s.brandCheck(this,U),void 0!==e&&(e=s.converters["unsigned short"](e,"WebSocket.close","code",s.attributes.Clamp)),void 0!==t&&(t=s.converters.USVString(t)),e??=null,t??="",y(this.#y,e,t,!0)}send(e){s.brandCheck(this,U);let t="WebSocket.send";if(s.argumentLengthCheck(arguments,1,t),e=s.converters.WebSocketSendData(e,t,"data"),g(this.#y.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!u(this.#y.readyState)||h(this.#y.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tP+=t.byteLength,this.#tG.add(t,()=>{this.#tP-=t.byteLength},c.text)}else i(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.typedArray)):s.is.Blob(e)&&(this.#tP+=e.size,this.#tG.add(e,()=>{this.#tP-=e.size},c.blob))}get readyState(){return s.brandCheck(this,U),this.#y.readyState}get bufferedAmount(){return s.brandCheck(this,U),this.#tP}get url(){return s.brandCheck(this,U),n(this.#e4)}get extensions(){return s.brandCheck(this,U),this.#tE}get protocol(){return s.brandCheck(this,U),this.#tY}get onopen(){return s.brandCheck(this,U),this.#e5.open}set onopen(e){s.brandCheck(this,U),this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onerror(){return s.brandCheck(this,U),this.#e5.error}set onerror(e){s.brandCheck(this,U),this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}get onclose(){return s.brandCheck(this,U),this.#e5.close}set onclose(e){s.brandCheck(this,U),this.#e5.close&&this.removeEventListener("close",this.#e5.close);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e5.close=e):this.#e5.close=null}get onmessage(){return s.brandCheck(this,U),this.#e5.message}set onmessage(e){s.brandCheck(this,U),this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get binaryType(){return s.brandCheck(this,U),this.#tq}set binaryType(e){s.brandCheck(this,U),"blob"!==e&&"arraybuffer"!==e?this.#tq="blob":this.#tq=e}#tU(e,t){this.#y.socket=e.socket;let r=this.#y.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#y.controller.dispatcher?.webSocketOptions?.maxPayloadSize,s=new N(this.#y,t,{maxFragments:r,maxPayloadSize:i});s.on("drain",()=>this.#y.onParserDrain()),s.on("error",e=>this.#y.onParserError(e)),this.#tv=s,this.#tG=new R(e.socket),this.#y.readyState=A.OPEN;let n=e.headersList.get("sec-websocket-extensions");null!==n&&(this.#tE=n);let o=e.headersList.get("sec-websocket-protocol");if(null!==o&&(this.#tY=o),C("open",this),k.open.hasSubscribers){var a;let t=e.headersList.entries;k.open.publish({address:(a=e.socket,"function"==typeof a?.address?a.address():"function"==typeof a?.session?.socket?.address?a.session.socket.address():null),protocol:this.#tY,extensions:this.#tE,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tF(e,t){let r;if(this.#y.readyState===A.OPEN){if(e===d.TEXT)try{r=I(t)}catch{Q(this.#y,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tq?new Blob([t]):E(t));C("message",this,x,{origin:this.#e4.origin,data:r})}}#tz(){this.#y.socket.resume()}#tT(){let e=this.#y.closeState.has(l.SENT)&&this.#y.closeState.has(l.RECEIVED),t=1005,r="",i=this.#tv?.closingInfo;i&&!i.error&&(t=i.code??1005,r=i.reason),this.#y.readyState=A.CLOSED,this.#y.closeState.has(l.RECEIVED)||(t=1006,C("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),C("close",this,(e,t)=>new D(e,t),{wasClean:e,code:t,reason:r}),k.close.hasSubscribers&&k.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#y.readyState;if(u(r)&&!h(r)&&!m(r)){let r=new M(t);e.#y.socket.write(r.createFrame(d.PING))}}}let{ping:F}=U;Reflect.deleteProperty(U,"ping"),U.CONNECTING=U.prototype.CONNECTING=A.CONNECTING,U.OPEN=U.prototype.OPEN=A.OPEN,U.CLOSING=U.prototype.CLOSING=A.CLOSING,U.CLOSED=U.prototype.CLOSED=A.CLOSED,Object.defineProperties(U.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(U,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),s.converters["sequence<DOMString>"]=s.sequenceConverter(s.converters.DOMString),s.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return s.util.Type(e)===s.util.Types.OBJECT&&Symbol.iterator in e?s.converters["sequence<DOMString>"](e):s.converters.DOMString(e,t,r)},s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:s.converters.any,defaultValue:()=>S()},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]),s.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return s.util.Type(e)!==s.util.Types.OBJECT||Symbol.iterator in e?{protocols:s.converters["DOMString or sequence<DOMString>"](e)}:s.converters.WebSocketInit(e)},s.converters.WebSocketSendData=function(e){return s.util.Type(e)===s.util.Types.OBJECT&&(s.is.Blob(e)||s.is.BufferSource(e))?e:s.converters.USVString(e)},e.exports={WebSocket:U,ping:F}},2613(e){e.exports=i("assert")},4434(e){e.exports=i("events")},8611(e){e.exports=i("http")},5692(e){e.exports=i("https")},9278(e){e.exports=i("net")},4589(e){e.exports=i("node:assert")},6698(e){e.exports=i("node:async_hooks")},4573(e){e.exports=i("node:buffer")},7540(e){e.exports=i("node:console")},7598(e){e.exports=i("node:crypto")},3053(e){e.exports=i("node:diagnostics_channel")},610(e){e.exports=i("node:dns")},8474(e){e.exports=i("node:events")},1455(e){e.exports=i("node:fs/promises")},7067(e){e.exports=i("node:http")},2467(e){e.exports=i("node:http2")},7030(e){e.exports=i("node:net")},6760(e){e.exports=i("node:path")},643(e){e.exports=i("node:perf_hooks")},1792(e){e.exports=i("node:querystring")},99(e){e.exports=i("node:sqlite")},7075(e){e.exports=i("node:stream")},7830(e){e.exports=i("node:stream/web")},7997(e){e.exports=i("node:timers")},1692(e){e.exports=i("node:tls")},3136(e){e.exports=i("node:url")},7975(e){e.exports=i("node:util")},3429(e){e.exports=i("node:util/types")},5919(e){e.exports=i("node:worker_threads")},8522(e){e.exports=i("node:zlib")},857(e){e.exports=i("os")},4756(e){e.exports=i("tls")},2018(e){e.exports=i("tty")},7016(e){e.exports=i("url")},9023(e){e.exports=i("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return s[e].call(r.exports,r,r.exports,o),r.exports}o.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{let e,t,r,s,n,a,A,l,c,d,g,u,h,m,p,C,I,E,f,B,y,Q,N,b,S,w,D,x,R,M,k,U;var F,v,T,L,H,O,P,Y,G,z,q,V,J,_,W,j,K,X,Z,$,ee,et,er,ei,es,en,eo,ea,eA,el,ec,ed,eg,eu,eh,em,ep,eC,eI,eE,ef={};o.r(ef),o.d(ef,{Do:()=>iD,all:()=>ic,andThen:()=>ie,as:()=>r8,asVoid:()=>r9,bind:()=>iw,bindTo:()=>ib,composeK:()=>io,contains:()=>iQ,containsWith:()=>iy,exists:()=>iN,filter:()=>ip,filterMap:()=>im,firstSomeOf:()=>rj,flatMap:()=>r7,flatMapNullishOr:()=>it,flatten:()=>ir,fromIterable:()=>rG,fromNullOr:()=>rZ,fromNullishOr:()=>rK,fromUndefinedOr:()=>rX,gen:()=>ix,getFailure:()=>rq,getOrElse:()=>rV,getOrNull:()=>r0,getOrThrow:()=>r5,getOrThrowWith:()=>r3,getOrUndefined:()=>r1,getSuccess:()=>rz,isNone:()=>rH,isOption:()=>rL,isSome:()=>rO,let:()=>iS,lift2:()=>iE,liftNullishOr:()=>r$,liftPredicate:()=>iB,liftThrowable:()=>r2,makeCombinerFailFast:()=>iM,makeEquivalence:()=>iC,makeOrder:()=>iI,makeReducer:()=>iR,makeReducerFailFast:()=>ik,map:()=>r4,match:()=>rP,none:()=>rv,orElse:()=>rJ,orElseResult:()=>rW,orElseSome:()=>r_,partitionMap:()=>ih,product:()=>iA,productMany:()=>il,reduceCompact:()=>ig,some:()=>rT,tap:()=>ia,toArray:()=>iu,toRefinement:()=>rY,void:()=>r6,zipLeft:()=>is,zipRight:()=>ii,zipWith:()=>id});var eB={};o.r(eB),o.d(eB,{AccessPolicy:()=>Es,AppendBlobAppendBlockExceptionHeaders:()=>BE,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>BB,AppendBlobAppendBlockFromUrlHeaders:()=>Bf,AppendBlobAppendBlockHeaders:()=>BI,AppendBlobCreateExceptionHeaders:()=>BC,AppendBlobCreateHeaders:()=>Bp,AppendBlobSealExceptionHeaders:()=>BQ,AppendBlobSealHeaders:()=>By,ArrowConfiguration:()=>EN,ArrowField:()=>Eb,BlobAbortCopyFromURLExceptionHeaders:()=>fX,BlobAbortCopyFromURLHeaders:()=>fK,BlobAcquireLeaseExceptionHeaders:()=>fv,BlobAcquireLeaseHeaders:()=>fF,BlobBreakLeaseExceptionHeaders:()=>fz,BlobBreakLeaseHeaders:()=>fG,BlobChangeLeaseExceptionHeaders:()=>fY,BlobChangeLeaseHeaders:()=>fP,BlobCopyFromURLExceptionHeaders:()=>fj,BlobCopyFromURLHeaders:()=>fW,BlobCreateSnapshotExceptionHeaders:()=>fV,BlobCreateSnapshotHeaders:()=>fq,BlobDeleteExceptionHeaders:()=>fE,BlobDeleteHeaders:()=>fI,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>fx,BlobDeleteImmutabilityPolicyHeaders:()=>fD,BlobDownloadExceptionHeaders:()=>fm,BlobDownloadHeaders:()=>fh,BlobFlatListSegment:()=>Eo,BlobGetAccountInfoExceptionHeaders:()=>f1,BlobGetAccountInfoHeaders:()=>f0,BlobGetPropertiesExceptionHeaders:()=>fC,BlobGetPropertiesHeaders:()=>fp,BlobGetTagsExceptionHeaders:()=>f4,BlobGetTagsHeaders:()=>f5,BlobHierarchyListSegment:()=>Ed,BlobItemInternal:()=>Ea,BlobName:()=>EA,BlobPrefix:()=>Eg,BlobPropertiesInternal:()=>El,BlobQueryExceptionHeaders:()=>f3,BlobQueryHeaders:()=>f2,BlobReleaseLeaseExceptionHeaders:()=>fL,BlobReleaseLeaseHeaders:()=>fT,BlobRenewLeaseExceptionHeaders:()=>fO,BlobRenewLeaseHeaders:()=>fH,BlobServiceProperties:()=>Ij,BlobServiceStatistics:()=>I2,BlobSetExpiryExceptionHeaders:()=>fQ,BlobSetExpiryHeaders:()=>fy,BlobSetHttpHeadersExceptionHeaders:()=>fb,BlobSetHttpHeadersHeaders:()=>fN,BlobSetImmutabilityPolicyExceptionHeaders:()=>fw,BlobSetImmutabilityPolicyHeaders:()=>fS,BlobSetLegalHoldExceptionHeaders:()=>fM,BlobSetLegalHoldHeaders:()=>fR,BlobSetMetadataExceptionHeaders:()=>fU,BlobSetMetadataHeaders:()=>fk,BlobSetTagsExceptionHeaders:()=>f9,BlobSetTagsHeaders:()=>f8,BlobSetTierExceptionHeaders:()=>f$,BlobSetTierHeaders:()=>fZ,BlobStartCopyFromURLExceptionHeaders:()=>f_,BlobStartCopyFromURLHeaders:()=>fJ,BlobTag:()=>Er,BlobTags:()=>Et,BlobUndeleteExceptionHeaders:()=>fB,BlobUndeleteHeaders:()=>ff,Block:()=>Em,BlockBlobCommitBlockListExceptionHeaders:()=>BU,BlockBlobCommitBlockListHeaders:()=>Bk,BlockBlobGetBlockListExceptionHeaders:()=>Bv,BlockBlobGetBlockListHeaders:()=>BF,BlockBlobPutBlobFromUrlExceptionHeaders:()=>Bw,BlockBlobPutBlobFromUrlHeaders:()=>BS,BlockBlobStageBlockExceptionHeaders:()=>Bx,BlockBlobStageBlockFromURLExceptionHeaders:()=>BM,BlockBlobStageBlockFromURLHeaders:()=>BR,BlockBlobStageBlockHeaders:()=>BD,BlockBlobUploadExceptionHeaders:()=>Bb,BlockBlobUploadHeaders:()=>BN,BlockList:()=>Eh,BlockLookupList:()=>Eu,ClearRange:()=>EI,ContainerAcquireLeaseExceptionHeaders:()=>E7,ContainerAcquireLeaseHeaders:()=>E6,ContainerBreakLeaseExceptionHeaders:()=>fn,ContainerBreakLeaseHeaders:()=>fs,ContainerChangeLeaseExceptionHeaders:()=>fa,ContainerChangeLeaseHeaders:()=>fo,ContainerCreateExceptionHeaders:()=>Ez,ContainerCreateHeaders:()=>EG,ContainerDeleteExceptionHeaders:()=>E_,ContainerDeleteHeaders:()=>EJ,ContainerFilterBlobsExceptionHeaders:()=>E9,ContainerFilterBlobsHeaders:()=>E8,ContainerGetAccessPolicyExceptionHeaders:()=>EX,ContainerGetAccessPolicyHeaders:()=>EK,ContainerGetAccountInfoExceptionHeaders:()=>fu,ContainerGetAccountInfoHeaders:()=>fg,ContainerGetPropertiesExceptionHeaders:()=>EV,ContainerGetPropertiesHeaders:()=>Eq,ContainerItem:()=>I4,ContainerListBlobFlatSegmentExceptionHeaders:()=>fl,ContainerListBlobFlatSegmentHeaders:()=>fA,ContainerListBlobHierarchySegmentExceptionHeaders:()=>fd,ContainerListBlobHierarchySegmentHeaders:()=>fc,ContainerProperties:()=>I8,ContainerReleaseLeaseExceptionHeaders:()=>ft,ContainerReleaseLeaseHeaders:()=>fe,ContainerRenameExceptionHeaders:()=>E3,ContainerRenameHeaders:()=>E2,ContainerRenewLeaseExceptionHeaders:()=>fi,ContainerRenewLeaseHeaders:()=>fr,ContainerRestoreExceptionHeaders:()=>E1,ContainerRestoreHeaders:()=>E0,ContainerSetAccessPolicyExceptionHeaders:()=>E$,ContainerSetAccessPolicyHeaders:()=>EZ,ContainerSetMetadataExceptionHeaders:()=>Ej,ContainerSetMetadataHeaders:()=>EW,ContainerSubmitBatchExceptionHeaders:()=>E4,ContainerSubmitBatchHeaders:()=>E5,CorsRule:()=>I$,DelimitedTextConfiguration:()=>Ey,FilterBlobItem:()=>Ee,FilterBlobSegment:()=>I7,GeoReplication:()=>I3,JsonTextConfiguration:()=>EQ,KeyInfo:()=>I9,ListBlobsFlatSegmentResponse:()=>En,ListBlobsHierarchySegmentResponse:()=>Ec,ListContainersSegmentResponse:()=>I5,Logging:()=>IK,Metrics:()=>IZ,PageBlobClearPagesExceptionHeaders:()=>Bi,PageBlobClearPagesHeaders:()=>Br,PageBlobCopyIncrementalExceptionHeaders:()=>Bm,PageBlobCopyIncrementalHeaders:()=>Bh,PageBlobCreateExceptionHeaders:()=>f7,PageBlobCreateHeaders:()=>f6,PageBlobGetPageRangesDiffExceptionHeaders:()=>Bl,PageBlobGetPageRangesDiffHeaders:()=>BA,PageBlobGetPageRangesExceptionHeaders:()=>Ba,PageBlobGetPageRangesHeaders:()=>Bo,PageBlobResizeExceptionHeaders:()=>Bd,PageBlobResizeHeaders:()=>Bc,PageBlobUpdateSequenceNumberExceptionHeaders:()=>Bu,PageBlobUpdateSequenceNumberHeaders:()=>Bg,PageBlobUploadPagesExceptionHeaders:()=>Bt,PageBlobUploadPagesFromURLExceptionHeaders:()=>Bn,PageBlobUploadPagesFromURLHeaders:()=>Bs,PageBlobUploadPagesHeaders:()=>Be,PageList:()=>Ep,PageRange:()=>EC,QueryFormat:()=>EB,QueryRequest:()=>EE,QuerySerialization:()=>Ef,RetentionPolicy:()=>IX,ServiceFilterBlobsExceptionHeaders:()=>EY,ServiceFilterBlobsHeaders:()=>EP,ServiceGetAccountInfoExceptionHeaders:()=>EL,ServiceGetAccountInfoHeaders:()=>ET,ServiceGetPropertiesExceptionHeaders:()=>Ex,ServiceGetPropertiesHeaders:()=>ED,ServiceGetStatisticsExceptionHeaders:()=>EM,ServiceGetStatisticsHeaders:()=>ER,ServiceGetUserDelegationKeyExceptionHeaders:()=>Ev,ServiceGetUserDelegationKeyHeaders:()=>EF,ServiceListContainersSegmentExceptionHeaders:()=>EU,ServiceListContainersSegmentHeaders:()=>Ek,ServiceSetPropertiesExceptionHeaders:()=>Ew,ServiceSetPropertiesHeaders:()=>ES,ServiceSubmitBatchExceptionHeaders:()=>EO,ServiceSubmitBatchHeaders:()=>EH,SignedIdentifier:()=>Ei,StaticWebsite:()=>I0,StorageError:()=>I1,UserDelegationKey:()=>I6});var ey=o(7067);let eQ=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},eN=e=>e,eb=e=>()=>e,eS=eb(!0),ew=eb(!1),eD=eb(null),ex=eb(void 0);function eR(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}let eM=e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t},ek=new WeakSet;function eU(e){return"string"==typeof e}function eF(e){return"number"==typeof e}function ev(e){return"bigint"==typeof e}function eT(e){return"symbol"==typeof e}function eL(e){return"function"==typeof e}function eH(e){return!0}let eO=eQ(2,(e,t)=>{var r;return("object"==typeof(r=e)&&null!==r||eL(r))&&t in e});function eP(e){return eO(e,Symbol.iterator)||eU(e)}(e,t)=>eO(e,"_tag")&&e._tag===t;let eY="~effect/interfaces/Hash",eG=e=>{switch(typeof e){case"number":return e_(e);case"bigint":return eW(e.toString(10));case"boolean":case"symbol":return eW(String(e));case"string":return eW(e);case"undefined":return eW("undefined");case"function":case"object":if(null===e)return eW("null");{if(e instanceof Date)return eW(e.toISOString());if(e instanceof RegExp)return eW(e.toString());if(ek.has(e))return ez(e);if(e2.has(e))return e2.get(e);let t=function(e,t){if(e3.has(e))return eW("[Circular]");e3.add(e);let r=t();return e3.delete(e),r}(e,()=>{if(eJ(e))return e[eY]();if("function"==typeof e)return ez(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return eZ(e);if(e instanceof Map)return e$(e);if(e instanceof Set)return e0(e);return eK(e)});return e2.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},ez=e=>(e1.has(e)||e1.set(e,e_(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),e1.get(e)),eq=eQ(2,(e,t)=>53*e^t),eV=e=>0xbfffffff&e|e>>>1&0x40000000,eJ=e=>eO(e,eY),e_=e=>{if(e!=e)return eW("NaN");if(e===1/0)return eW("Infinity");if(e===-1/0)return eW("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return eV(t)},eW=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return eV(t)},ej=(e,t)=>{let r=12289;for(let i of t)r^=eq(eG(i),eG(e[i]));return eV(r)},eK=e=>ej(e,eM(e)),eX=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return eV(i)},eZ=eX(6151,eG),e$=eX(eW("Map"),([e,t])=>eq(eG(e),eG(t))),e0=eX(eW("Set"),eG),e1=new WeakMap,e2=new WeakMap,e3=new WeakSet,e5="~effect/interfaces/Equal";function e4(){return 1==arguments.length?e=>e8(e,arguments[0]):e8(arguments[0],arguments[1])}function e8(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||ek.has(e)||ek.has(t))&&function(e,t,r){let i=te.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,te.set(e,i);let s=r(e,t);i.set(t,s);let n=te.get(t);return n||(n=new WeakMap,te.set(t,n)),n.set(e,s),s}(e,t,e7))}let e9=new WeakSet,e6=new WeakSet;function e7(e,t){if(eG(e)!==eG(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=ti(e),i=ti(t);if(r!==i)return!1;let s=r&&i;return("function"!=typeof e||!!s)&&function(e,t,r){let i=e9.has(e),s=e6.has(t);if(i&&s)return!0;if(i||s)return!1;e9.add(e),e6.add(t);let n=r();return e9.delete(e),e6.delete(t),n}(e,t,()=>{if(s)return e[e5](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!e8(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&tt(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&tr(e,t);var r=e,i=t;let n=eM(r),o=eM(i);if(n.size!==o.size)return!1;for(let e of n)if(!o.has(e)||!e8(r[e],i[e]))return!1;return!0})}let te=new WeakMap,tt=(v=e8,T=e8,function(e,t){for(let[r,i]of e){let e=!1;for(let[s,n]of t)if(v(r,s)&&T(i,n)){e=!0;break}if(!e)return!1}return!0}),tr=(L=e8,function(e,t){for(let r of e){let e=!1;for(let i of t)if(L(r,i)){e=!0;break}if(!e)return!1}return!0}),ti=e=>eO(e,e5),ts=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},tn={pipe(){return ts(this,arguments)}},to=function(){function e(){}return e.prototype=tn,e}(),ta=Symbol.for("~effect/Redactable");function tA(e){return eO(e,ta)?tl(e):e}function tl(e){return e[ta](globalThis[tc]?.context??td)}let tc="~effect/Fiber/currentFiber",td={"~effect/Context":{},mapUnsafe:new Map,pipe(){return ts(this,arguments)}};function tg(e,t){let r=t?.space??0,i=new WeakSet,s=r?"number"==typeof r?" ".repeat(r):r:"",n=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function e(r,o=0){if(Array.isArray(r)){let t,n;if(i.has(r))return tu;if(i.add(r),!s||r.length<=1)return`[${r.map(t=>e(t,o)).join(",")}]`;let a=r.map(t=>e(t,o+1)).join(",\n"+(t=o+1,s.repeat(t)));return`[ +`);n.push(g),l+=g.byteLength,d&&(l=null),A=e,a=async function*(){for(let e of n)e.stream?yield*e.stream():yield e},h=`multipart/form-data; boundary=${t}`}else if(d.is.Blob(e))A=e,l=e.size,e.type&&(h=e.type);else if("function"==typeof e[Symbol.asyncIterator]){if(t)throw TypeError("keepalive");if(i.isDisturbed(e)||e.locked)throw TypeError("Response body object should not be disturbed or locked");r=d.is.ReadableStream(e)?e:s(e)}return("string"==typeof A||m(A))&&(a=()=>(l="string"==typeof A?Buffer.byteLength(A):A.length,A)),null!=a&&(async()=>{let e=a(),t=e?.[Symbol.asyncIterator]?.();if(t)for await(let e of t){if(u(r))break;e.length&&o.enqueue(new Uint8Array(e))}else e?.length&&!u(r)&&o.enqueue("string"==typeof e?B.encode(e):new Uint8Array(e));queueMicrotask(()=>n(o))})(),[{stream:r,source:A,length:l},h]}function N(e,t,r,i){try{d.brandCheck(e,r)}catch(e){return Promise.reject(e)}if(b(e=i(e)))return Promise.reject(TypeError("Body is unusable: Body has already been read"));let s=Promise.withResolvers(),n=s.reject,a=e=>{try{s.resolve(t(e))}catch(e){n(e)}};return null==e.body?a(Buffer.allocUnsafe(0)):o(e.body,a,n),s.promise}function b(e){let t=e.body;return null!=t&&(t.stream.locked||i.isDisturbed(t.stream))}function S(e){let t=a(e.headersList);return"failure"===t?null:t}e.exports={extractBody:Q,safelyExtractBody:function(e,t=!1){return d.is.ReadableStream(e)&&(g(!i.isDisturbed(e),"The body has already been consumed."),g(!e.locked,"The stream is locked.")),Q(e,t)},cloneBody:function(e){let{0:t,1:r}=E?.(e.stream,!0)??e.stream.tee();return e.stream=t,{stream:r,length:e.length,source:e.source}},mixinBody:function(e,t){Object.assign(e.prototype,{blob(){return N(this,e=>{let r=S(t(this));return null===r?r="":r&&(r=p(r)),new Blob([e],{type:r})},e,t)},arrayBuffer(){return N(this,e=>new Uint8Array(e).buffer,e,t)},text(){return N(this,f,e,t)},json(){return N(this,I,e,t)},formData(){return N(this,e=>{let r=S(t(this));if(null!==r)switch(r.essence){case"multipart/form-data":{let t=C(e,r),i=new A;return l(i,t),i}case"application/x-www-form-urlencoded":{let t=new URLSearchParams(e.toString()),r=new A;for(let[e,i]of t)r.append(e,i);return r}}throw TypeError('Content-Type was not one of "multipart/form-data" or "application/x-www-form-urlencoded".')},e,t)},bytes(){return N(this,e=>new Uint8Array(e),e,t)},textStream(){let e=t(this);if(b(e))throw TypeError("Body is unusable: Body has already been read");if(null==e.body){let e,t=new ReadableStream({start:t=>{e=t},pull:()=>Promise.resolve(),cancel:()=>Promise.resolve()},{size:()=>1});return e.close(),t}let r=e.body.stream,i=new TextDecoderStream("UTF-8");return r.pipeThrough(i)}})},streamRegistry:new FinalizationRegistry(e=>{let t=e.deref();!t||t.locked||h(t)||u(t)||t.cancel("Response object has been garbage collected").catch(y)}),bodyUnusable:b}},6113(e){let t=["GET","HEAD","POST"],r=new Set(t),i=[301,302,303,307,308],s=new Set(i),n=["1","7","9","11","13","15","17","19","20","21","22","23","25","37","42","43","53","69","77","79","87","95","101","102","103","104","109","110","111","113","115","117","119","123","135","137","139","143","161","179","389","427","465","512","513","514","515","526","530","531","532","540","548","554","556","563","587","601","636","989","990","993","995","1719","1720","1723","2049","3659","4045","4190","5060","5061","6000","6566","6665","6666","6667","6668","6669","6679","6697","10080"],o=new Set(n),a=["no-referrer","no-referrer-when-downgrade","same-origin","origin","strict-origin","origin-when-cross-origin","strict-origin-when-cross-origin","unsafe-url"],A=["",...a],l=new Set(a),c=["GET","HEAD","OPTIONS","TRACE","QUERY"],d=new Set(c),g=["CONNECT","TRACE","TRACK"],u=new Set(g),h=["audio","audioworklet","font","image","manifest","paintworklet","script","style","track","video","xslt",""],m=new Set(h);e.exports={subresource:h,forbiddenMethods:g,requestBodyHeader:["content-encoding","content-language","content-location","content-type","content-length"],referrerPolicy:A,requestRedirect:["follow","manual","error"],requestMode:["navigate","same-origin","no-cors","cors"],requestCredentials:["omit","same-origin","include"],requestCache:["default","no-store","reload","no-cache","force-cache","only-if-cached"],redirectStatus:i,corsSafeListedMethods:t,nullBodyStatus:[101,204,205,304],safeMethods:c,badPorts:n,requestDuplex:["half"],subresourceSet:m,badPortsSet:o,redirectStatusSet:s,corsSafeListedMethodsSet:r,safeMethodsSet:d,forbiddenMethodsSet:u,referrerPolicyTokens:l}},3518(e,t,r){let i=r(4589),{forgivingBase64:s,collectASequenceOfCodePoints:n,collectASequenceOfCodePointsFast:o,isomorphicDecode:a,removeASCIIWhitespace:A,removeChars:l}=r(5358),c=new TextEncoder,d=/^[-!#$%&'*+.^_|~A-Za-z0-9]+$/u,g=/[\u000A\u000D\u0009\u0020]/u,u=/^[\u0009\u0020-\u007E\u0080-\u00FF]+$/u;function h(e,t=!1){if(!t)return e.href;let r=e.href,i=e.hash.length,s=0===i?r:r.substring(0,r.length-i);return!i&&r.endsWith("#")?s.slice(0,-1):s}function m(e){return function(e){let t=e.length,r=new Uint8Array(t),i=0,s=0;for(;s<t;){let t=e[s];37!==t?r[i++]=t:37!==t||p(e[s+1])&&p(e[s+2])?(r[i++]=C(e[s+1])<<4|C(e[s+2]),s+=2):r[i++]=37,++s}return t===i?r:r.subarray(0,i)}(c.encode(e))}function p(e){return e>=48&&e<=57||e>=65&&e<=70||e>=97&&e<=102}function C(e){return e>=48&&e<=57?e-48:(223&e)-55}function I(e){e=B(e,!0,!0);let t={position:0},r=o("/",e,t);if(0===r.length||!d.test(r)||t.position>=e.length)return"failure";t.position++;let i=o(";",e,t);if(0===(i=B(i,!1,!0)).length||!d.test(i))return"failure";let s=r.toLowerCase(),a=i.toLowerCase(),A={type:s,subtype:a,parameters:new Map,essence:`${s}/${a}`};for(;t.position<e.length;){t.position++,n(e=>g.test(e),e,t);let r=n(e=>";"!==e&&"="!==e,e,t);if(r=r.toLowerCase(),t.position<e.length){if(";"===e[t.position])continue;t.position++}if(t.position>=e.length)break;let i=null;if('"'===e[t.position])i=f(e,t,!0),o(";",e,t);else if(0===(i=B(i=o(";",e,t),!1,!0)).length)continue;0!==r.length&&d.test(r)&&(0===i.length||u.test(i))&&!A.parameters.has(r)&&A.parameters.set(r,i)}return A}function f(e,t,r=!1){let s=t.position,o="";for(i('"'===e[t.position]),t.position++;o+=n(e=>'"'!==e&&"\\"!==e,e,t),!(t.position>=e.length);){let r=e[t.position];if(t.position++,"\\"===r){if(t.position>=e.length){o+="\\";break}o+=e[t.position],t.position++}else{i('"'===r);break}}return r?o:e.slice(s,t.position)}function E(e){return 13===e||10===e||9===e||32===e}function B(e,t=!0,r=!0){return l(e,t,r,E)}e.exports={dataURLProcessor:function(e){i("data:"===e.protocol);let t=h(e,!0);t=t.slice(5);let r={position:0},n=o(",",t,r),l=n.length;if(n=A(n,!0,!0),r.position>=t.length)return"failure";r.position++;let c=m(t.slice(l+1));if(/;(?:\u0020*)base64$/ui.test(n)){if("failure"===(c=s(a(c))))return"failure";n=(n=(n=n.slice(0,-6)).replace(/(\u0020+)$/u,"")).slice(0,-1)}n.startsWith(";")&&(n="text/plain"+n);let d=I(n);return"failure"===d&&(d=I("text/plain;charset=US-ASCII")),{mimeType:d,body:c}},URLSerializer:h,stringPercentDecode:m,parseMIMEType:I,collectAnHTTPQuotedString:f,serializeAMimeType:function(e){i("failure"!==e);let{parameters:t,essence:r}=e,s=r;for(let[e,r]of t.entries())s+=";",s+=e,s+="=",d.test(r)||(r='"'+(r=r.replace(/[\\"]/ug,"\\$&"))+'"'),s+=r;return s},removeHTTPWhitespace:B,minimizeSupportedMimeType:function(e){switch(e.essence){case"application/ecmascript":case"application/javascript":case"application/x-ecmascript":case"application/x-javascript":case"text/ecmascript":case"text/javascript":case"text/javascript1.0":case"text/javascript1.1":case"text/javascript1.2":case"text/javascript1.3":case"text/javascript1.4":case"text/javascript1.5":case"text/jscript":case"text/livescript":case"text/x-ecmascript":case"text/x-javascript":return"text/javascript";case"application/json":case"text/json":return"application/json";case"image/svg+xml":return"image/svg+xml";case"text/xml":case"application/xml":return"application/xml"}return e.subtype.endsWith("+json")?"application/json":e.subtype.endsWith("+xml")?"application/xml":""},HTTP_TOKEN_CODEPOINTS:d}},7750(e,t,r){let{bufferToLowerCasedHeaderName:i}=r(1210),{HTTP_TOKEN_CODEPOINTS:s}=r(3518),{makeEntry:n}=r(1304),{webidl:o}=r(849),a=r(4589),{isomorphicDecode:A}=r(5358),l=Buffer.from("--"),c=new TextDecoder,d=new TextDecoder("utf-8",{ignoreBOM:!0});function g(e,t,r){let i=r.position;for(;i<t.length&&e(t[i]);)++i;return t.subarray(r.position,r.position=i)}function u(e,t,r,i){let s=0,n=e.length-1;if(t)for(;s<e.length&&i(e[s]);)s++;if(r)for(;n>0&&i(e[n]);)n--;return 0===s&&n===e.length-1?e:e.subarray(s,n+1)}function h(e){return TypeError("Failed to parse body as FormData.",{cause:TypeError(e)})}function m(e){return e<=127&&32!==e&&9!==e&&!(e<=31||127===e)&&40!==e&&41!==e&&60!==e&&62!==e&&64!==e&&44!==e&&59!==e&&58!==e&&92!==e&&34!==e&&47!==e&&91!==e&&93!==e&&63!==e&&61!==e}e.exports={multipartFormDataParser:function(e,t){a("failure"!==t&&"multipart/form-data"===t.essence);let r=t.parameters.get("boundary");if(void 0===r)throw h("missing boundary in content-type header");let p=Buffer.from(`--${r}`,"utf8"),C=[],I={position:0},f=e.indexOf(p);if(-1===f)throw h("no boundary found in multipart body");for(I.position=f;;){let t,r;if(e.subarray(I.position,I.position+p.length).equals(p))I.position+=p.length;else throw h("expected a value starting with -- and the boundary");if(function(e,t,r){if(e.length<t.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==e[r.position+i])return!1;return!0}(e,l,I))return C;if(13!==e[I.position]||10!==e[I.position+1])throw h("expected CRLF");I.position+=2;let{name:f,filename:E,contentType:B,encoding:y}=function(e,t){let r=null,n=null,o=null,a=null;for(;;){if(13===e[t.position]&&10===e[t.position+1]){if(null===r)throw h("header name is null");return{name:r,filename:n,contentType:o,encoding:a}}let l=g(e=>10!==e&&13!==e&&58!==e,e,t);if(l=u(l,!0,!0,e=>9===e||32===e),!s.test(l.toString()))throw h("header name does not match the field-name token production");if(58!==e[t.position])throw h("expected :");switch(t.position++,g(e=>32===e||9===e,e,t),i(l)){case"content-disposition":{r=n=null;let i=!1;if("form-data"!==g(e=>m(e),e,t).toString("ascii").toLowerCase())throw h("expected form-data for content-disposition header");for(;t.position<e.length&&(13!==e[t.position]||10!==e[t.position+1]);){let s=function(e,t){let r;59===e[t.position]&&t.position++,g(e=>32===e||9===e,e,t);let i=g(e=>m(e)&&61!==e&&42!==e,e,t);if(0===i.length)return null;let s=i.toString("ascii").toLowerCase(),n=42===e[t.position];if(n&&t.position++,61!==e[t.position])return null;if(t.position++,g(e=>32===e||9===e,e,t),n){let i=g(e=>32!==e&&13!==e&&10!==e&&59!==e,e,t);if(117!==i[0]&&85!==i[0]||116!==i[1]&&84!==i[1]||102!==i[2]&&70!==i[2]||45!==i[3]||56!==i[4])throw h("unknown encoding, expected utf-8''");r=decodeURIComponent(c.decode(i.subarray(7)))}else if(34===e[t.position]){t.position++;let i=g(e=>10!==e&&13!==e&&34!==e,e,t);if(34!==e[t.position])throw h("Closing quote not found");t.position++,r=c.decode(i).replace(/%0A/ig,"\n").replace(/%0D/ig,"\r").replace(/%22/g,'"')}else{let i=g(e=>m(e)&&59!==e,e,t);r=c.decode(i)}return{name:s,value:r,extended:n}}(e,t);if(!s)break;"name"===s.name?r=s.value:"filename"===s.name&&(s.extended?(n=s.value,i=!0):i||(n=s.value))}if(null===r)throw h("name attribute is required in content-disposition header");break}case"content-type":{let r=g(e=>10!==e&&13!==e,e,t);o=A(r=u(r,!1,!0,e=>9===e||32===e));break}case"content-transfer-encoding":{let r=g(e=>10!==e&&13!==e,e,t);a=A(r=u(r,!1,!0,e=>9===e||32===e));break}default:g(e=>10!==e&&13!==e,e,t)}if(13!==e[t.position]||10!==e[t.position+1])throw h("expected CRLF");t.position+=2}}(e,I);I.position+=2;{let r=e.indexOf(p.subarray(2),I.position);if(-1===r)throw h("expected boundary after body");t=e.subarray(I.position,r-4),I.position+=t.length,"base64"===y&&(t=Buffer.from(t.toString(),"base64"))}if(13!==e[I.position]||10!==e[I.position+1])throw h("expected CRLF");I.position+=2,null!==E?(!function(e){for(let t=0;t<e.length;++t)if((-128&e.charCodeAt(t))!=0)return!1;return!0}(B??="text/plain")&&(B=""),r=new File([t],E,{type:B})):r=d.decode(Buffer.from(t)),a(o.is.USVString(f)),a("string"==typeof r&&o.is.USVString(r)||o.is.File(r)),C.push(n(f,r,E))}},validateBoundary:function(e){let t=e.length;if(t<27||t>70)return!1;for(let r=0;r<t;++r){let t=e.charCodeAt(r);if(!(t>=48&&t<=57||t>=65&&t<=90||t>=97&&t<=122||39===t||45===t||95===t))return!1}return!0}}},1304(e,t,r){let{iteratorMixin:i}=r(638),{kEnumerableProperty:s}=r(1210),{webidl:n}=r(849),o=r(7975),{runtimeFeatures:a}=r(6979),A=a.has("crypto")?r(7598).randomInt:e=>Math.floor(Math.random()*e);class l{#eS=[];#tt=null;constructor(e){if(n.util.markAsUncloneable(this),void 0!==e)throw n.errors.conversionFailed({prefix:"FormData constructor",argument:"Argument 1",types:["undefined"]})}append(e,t,r){n.brandCheck(this,l);let i="FormData.append";n.argumentLengthCheck(arguments,2,i),e=n.converters.USVString(e),3==arguments.length||n.is.Blob(t)?(t=n.converters.Blob(t,i,"value"),void 0!==r&&(r=n.converters.USVString(r))):t=n.converters.USVString(t);let s=u(e,t,r);this.#eS.push(s)}delete(e){n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.delete"),e=n.converters.USVString(e),this.#eS=this.#eS.filter(t=>t.name!==e)}get(e){n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.get"),e=n.converters.USVString(e);let t=this.#eS.findIndex(t=>t.name===e);return -1===t?null:this.#eS[t].value}getAll(e){return n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.getAll"),e=n.converters.USVString(e),this.#eS.filter(t=>t.name===e).map(e=>e.value)}has(e){return n.brandCheck(this,l),n.argumentLengthCheck(arguments,1,"FormData.has"),e=n.converters.USVString(e),-1!==this.#eS.findIndex(t=>t.name===e)}set(e,t,r){n.brandCheck(this,l);let i="FormData.set";n.argumentLengthCheck(arguments,2,i),e=n.converters.USVString(e),3==arguments.length||n.is.Blob(t)?(t=n.converters.Blob(t,i,"value"),void 0!==r&&(r=n.converters.USVString(r))):t=n.converters.USVString(t);let s=u(e,t,r),o=this.#eS.findIndex(t=>t.name===e);-1!==o?this.#eS=[...this.#eS.slice(0,o),s,...this.#eS.slice(o+1).filter(t=>t.name!==e)]:this.#eS.push(s)}[o.inspect.custom](e,t){let r=this.#eS.reduce((e,t)=>(e[t.name]?Array.isArray(e[t.name])?e[t.name].push(t.value):e[t.name]=[e[t.name],t.value]:e[t.name]=t.value,e),{__proto__:null});t.depth??=e,t.colors??=!0;let i=o.formatWithOptions(t,r);return`FormData ${i.slice(i.indexOf("]")+2)}`}static getFormDataState(e){return e.#eS}static setFormDataState(e,t){e.#eS=t}static getFormDataBoundary(e){let t=e.#tt;return null!=t?t:e.#tt=`----formdata-undici-0${`${A(1e11)}`.padStart(11,"0")}`}}let{getFormDataState:c,setFormDataState:d,getFormDataBoundary:g}=l;function u(e,t,r){if("string"==typeof t);else if(n.is.File(t)||(t=new File([t],"blob",{type:t.type})),void 0!==r){let e={type:t.type,lastModified:t.lastModified};t=new File([t],r,e)}return{name:e,value:t}}Reflect.deleteProperty(l,"getFormDataState"),Reflect.deleteProperty(l,"setFormDataState"),Reflect.deleteProperty(l,"getFormDataBoundary"),i("FormData",l,c,"name","value"),Object.defineProperties(l.prototype,{append:s,delete:s,get:s,getAll:s,has:s,set:s,[Symbol.toStringTag]:{value:"FormData",configurable:!0}}),n.is.FormData=n.util.MakeTypeAssertion(l),e.exports={FormData:l,makeEntry:u,setFormDataState:d,getFormDataBoundary:g}},1045(e){let t=Symbol.for("undici.globalOrigin.1");e.exports={getGlobalOrigin:function(){return globalThis[t]},setGlobalOrigin:function(e){if(void 0===e)return void Object.defineProperty(globalThis,t,{value:void 0,writable:!0,enumerable:!1,configurable:!1});let r=new URL(e);if("http:"!==r.protocol&&"https:"!==r.protocol)throw TypeError(`Only http & https urls are allowed, received ${r.protocol}`);Object.defineProperty(globalThis,t,{value:r,writable:!0,enumerable:!1,configurable:!1})}}},3470(e,t,r){let{kConstruct:i}=r(3025),{kEnumerableProperty:s}=r(1210),{iteratorMixin:n,isValidHeaderName:o,isValidHeaderValue:a}=r(638),{webidl:A}=r(849),l=r(4589),c=r(7975);function d(e){return 10===e||13===e||9===e||32===e}function g(e){let t=0,r=e.length;for(;r>t&&d(e.charCodeAt(r-1));)--r;for(;r>t&&d(e.charCodeAt(t));)++t;return 0===t&&r===e.length?e:e.substring(t,r)}function u(e,t){if(Array.isArray(t))for(let r=0;r<t.length;++r){let i=t[r];if(2!==i.length)throw A.errors.exception({header:"Headers constructor",message:`expected name/value pair to be length 2, found ${i.length}.`});h(e,i[0],i[1])}else if("object"==typeof t&&null!==t){let r=Object.keys(t);for(let i=0;i<r.length;++i)h(e,r[i],t[r[i]])}else throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})}function h(e,t,r){if(r=g(r),o(t)){if(!a(r))throw A.errors.invalidArgument({prefix:"Headers.append",value:r,type:"header value"})}else throw A.errors.invalidArgument({prefix:"Headers.append",value:t,type:"header name"});if("immutable"===I(e))throw TypeError("immutable");return E(e).append(t,r,!1)}function m(e,t){return e[0]<t[0]?-1:1}class p{cookies=null;sortedMap;headersMap;constructor(e){e instanceof p?(this.headersMap=new Map(e.headersMap),this.sortedMap=e.sortedMap,this.cookies=null===e.cookies?null:[...e.cookies]):(this.headersMap=new Map(e),this.sortedMap=null)}contains(e,t){return this.headersMap.has(t?e:e.toLowerCase())}clear(){this.headersMap.clear(),this.sortedMap=null,this.cookies=null}append(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase(),s=this.headersMap.get(i);if(s){let e="cookie"===i?"; ":", ";this.headersMap.set(i,{name:s.name,value:`${s.value}${e}${t}`})}else this.headersMap.set(i,{name:e,value:t});"set-cookie"===i&&(this.cookies??=[]).push(t)}set(e,t,r){this.sortedMap=null;let i=r?e:e.toLowerCase();"set-cookie"===i&&(this.cookies=[t]),this.headersMap.set(i,{name:e,value:t})}delete(e,t){this.sortedMap=null,t||(e=e.toLowerCase()),"set-cookie"===e&&(this.cookies=null),this.headersMap.delete(e)}get(e,t){return this.headersMap.get(t?e:e.toLowerCase())?.value??null}*[Symbol.iterator](){for(let{0:e,1:{value:t}}of this.headersMap)yield[e,t]}get entries(){let e={};if(0!==this.headersMap.size)for(let{name:t,value:r}of this.headersMap.values())e[t]=r;return e}rawValues(){return this.headersMap.values()}get entriesList(){let e=[];if(0!==this.headersMap.size)for(let{0:t,1:{name:r,value:i}}of this.headersMap)if("set-cookie"===t)for(let t of this.cookies)e.push([r,t]);else e.push([r,i]);return e}toSortedArray(){let e=this.headersMap.size,t=Array(e);if(e<=32){if(0===e)return t;let r=this.headersMap[Symbol.iterator](),i=r.next().value;t[0]=[i[0],i[1].value],l(null!==i[1].value);for(let i=1,s=0,n=0,o=0,a=0,A,c;i<e;++i){for(c=r.next().value,l(null!==(A=t[i]=[c[0],c[1].value])[1]),o=0,n=i;o<n;)t[a=o+(n-o>>1)][0]<=A[0]?o=a+1:n=a;if(i!==a){for(s=i;s>o;)t[s]=t[--s];t[o]=A}}if(!r.next().done)throw TypeError("Unreachable");return t}{let e=0;for(let{0:r,1:{value:i}}of this.headersMap)t[e++]=[r,i],l(null!==i);return t.sort(m)}}}class C{#tr;#ti;constructor(e){if(A.util.markAsUncloneable(this),e===i)return;this.#ti=new p,this.#tr="none",void 0!==e&&u(this,e=A.converters.HeadersInit(e,"Headers constructor","init"))}append(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.append");let r="Headers.append";return e=A.converters.ByteString(e,r,"name"),t=A.converters.ByteString(t,r,"value"),h(this,e,t)}delete(e){if(A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.delete"),!o(e=A.converters.ByteString(e,"Headers.delete","name")))throw A.errors.invalidArgument({prefix:"Headers.delete",value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.contains(e,!1)&&this.#ti.delete(e,!1)}get(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.get");let t="Headers.get";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.get(e,!1)}has(e){A.brandCheck(this,C),A.argumentLengthCheck(arguments,1,"Headers.has");let t="Headers.has";if(!o(e=A.converters.ByteString(e,t,"name")))throw A.errors.invalidArgument({prefix:t,value:e,type:"header name"});return this.#ti.contains(e,!1)}set(e,t){A.brandCheck(this,C),A.argumentLengthCheck(arguments,2,"Headers.set");let r="Headers.set";if(e=A.converters.ByteString(e,r,"name"),t=g(t=A.converters.ByteString(t,r,"value")),o(e)){if(!a(t))throw A.errors.invalidArgument({prefix:r,value:t,type:"header value"})}else throw A.errors.invalidArgument({prefix:r,value:e,type:"header name"});if("immutable"===this.#tr)throw TypeError("immutable");this.#ti.set(e,t,!1)}getSetCookie(){A.brandCheck(this,C);let e=this.#ti.cookies;return e?[...e]:[]}[c.inspect.custom](e,t){return t.depth??=e,`Headers ${c.formatWithOptions(t,this.#ti.entries)}`}static getHeadersGuard(e){return e.#tr}static setHeadersGuard(e,t){e.#tr=t}static getHeadersList(e){return e.#ti}static setHeadersList(e,t){e.#ti=t}}let{getHeadersGuard:I,setHeadersGuard:f,getHeadersList:E,setHeadersList:B}=C;Reflect.deleteProperty(C,"getHeadersGuard"),Reflect.deleteProperty(C,"setHeadersGuard"),Reflect.deleteProperty(C,"getHeadersList"),Reflect.deleteProperty(C,"setHeadersList"),n("Headers",C,function(e){let t=E(e);if(!t)return[];if(t.sortedMap)return t.sortedMap;let r=[],i=t.toSortedArray(),s=t.cookies;if(null===s||1===s.length)return t.sortedMap=i;for(let e=0;e<i.length;++e){let{0:t,1:n}=i[e];if("set-cookie"===t)for(let e=0;e<s.length;++e)r.push([t,s[e]]);else r.push([t,n])}return t.sortedMap=r},0,1),Object.defineProperties(C.prototype,{append:s,delete:s,get:s,has:s,set:s,getSetCookie:s,[Symbol.toStringTag]:{value:"Headers",configurable:!0},[c.inspect.custom]:{enumerable:!1}}),A.converters.HeadersInit=function(e,t,r){if(A.util.Type(e)===A.util.Types.OBJECT){let i=Reflect.get(e,Symbol.iterator);if(!c.types.isProxy(e)&&i===C.prototype.entries)try{return E(e).entriesList}catch{}return"function"==typeof i?A.converters["sequence<sequence<ByteString>>"](e,t,r,i.bind(e)):A.converters["record<ByteString, ByteString>"](e,t,r)}throw A.errors.conversionFailed({prefix:"Headers constructor",argument:"Argument 1",types:["sequence<sequence<ByteString>>","record<ByteString, ByteString>"]})},e.exports={fill:u,compareHeaderName:m,Headers:C,HeadersList:p,getHeadersGuard:I,setHeadersGuard:f,setHeadersList:B,getHeadersList:E}},7564(e,t,r){let i,{makeNetworkError:s,makeAppropriateNetworkError:n,filterResponse:o,makeResponse:a,fromInnerResponse:A,getResponseState:l}=r(165),{HeadersList:c}=r(3470),{Request:d,cloneRequest:g,getRequestDispatcher:u,getRequestState:h,removeRequestAbortListener:m}=r(9553),p=r(8522),{makePolicyContainer:C,clonePolicyContainer:I,requestBadPort:f,TAOCheck:E,appendRequestOriginHeader:B,responseLocationURL:y,requestCurrentURL:Q,setRequestReferrerPolicyOnRedirect:N,tryUpgradeRequestToAPotentiallyTrustworthyURL:b,createOpaqueTimingInfo:S,appendFetchMetadata:w,corsCheck:D,crossOriginResourcePolicyCheck:x,determineRequestsReferrer:R,coarsenedSharedCurrentTime:M,sameOrigin:k,isCancelled:F,isAborted:U,isErrorLike:v,fullyReadBody:T,readableStreamClose:L,urlIsLocal:O,urlIsHttpHttpsScheme:H,urlHasHttpsScheme:P,clampAndCoarsenConnectionTimingInfo:Y,simpleRangeHeaderValue:G,buildContentRange:z,createInflate:q,extractMimeType:V,hasAuthenticationEntry:_,includesCredentials:J,isTraversableNavigable:W}=r(638),j=r(4589),{safelyExtractBody:K,extractBody:X}=r(4626),{redirectStatusSet:Z,nullBodyStatus:$,safeMethodsSet:ee,requestBodyHeader:et,subresourceSet:er}=r(6113),ei=r(8474),{Readable:es,pipeline:en,finished:eo,isErrored:ea,isReadable:eA}=r(7075),{addAbortListener:el,bufferToLowerCasedHeaderName:ec}=r(1210),{dataURLProcessor:ed,serializeAMimeType:eg,minimizeSupportedMimeType:eu}=r(3518),{getGlobalDispatcher:eh}=r(8023),{webidl:em}=r(849),{STATUS_CODES:ep}=r(7067),{bytesMatch:eC}=r(2300),{isomorphicEncode:eI}=r(5358),ef=["GET","HEAD"],eE="u">typeof __UNDICI_IS_NODE__||"u">typeof esbuildDetection?"node":"undici";function eB(e,t,r){if(Array.isArray(r)){for(let t=0;t<r.length;t+=2){let i=ec(r[t]),s=r[t+1];if(Array.isArray(s)&&!Buffer.isBuffer(s))for(let t of s)e.append(i,t.toString("latin1"),!0);else e.append(i,s.toString("latin1"),!0)}return}for(let[r,i]of Object.entries(t??{}))if(Array.isArray(i))for(let t of i)e.append(r,`${t}`,!0);else e.append(r,`${i}`,!0)}class ey extends ei{constructor(e){super(),this.dispatcher=e,this.connection=null,this.dump=!1,this.state="ongoing"}terminate(e){"ongoing"===this.state&&(this.state="terminated",this.connection?.destroy(e),this.emit("terminated",e))}abort(e){"ongoing"===this.state&&(this.state="aborted",e||(e=new DOMException("The operation was aborted.","AbortError")),this.serializedAbortReason=e,this.connection?.destroy(e),this.emit("terminated",e))}}function eQ(e,t="other"){if("error"===e.type&&e.aborted||!e.urlList?.length)return;let r=e.urlList[0],i=e.timingInfo,s=e.cacheState;H(r)&&null!==i&&(e.timingAllowPassed||(i=S({startTime:i.startTime}),s=""),i.endTime=M(),e.timingInfo=i,eN(i,r.href,t,globalThis,s,"",e.status))}let eN=performance.markResourceTiming;function eb(e,t,r,i,s){if(e&&e.reject(i),t.body?.stream!=null&&eA(t.body.stream)&&t.body.stream.cancel(i).catch(e=>{if("ERR_INVALID_STATE"!==e.code)throw e}),null==r)return;let n=l(r);n.body?.stream!=null&&eA(n.body.stream)&&s.error(i)}function eS({request:e,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseEndOfBody:s,processResponseConsumeBody:n,useParallelQueue:o=!1,dispatcher:a=eh(),requestObject:A=null}){j(a);let l=null,c=!1;null!=e.client&&(l=e.client.globalObject,c=e.client.crossOriginIsolatedCapability);let d=S({startTime:M(c)}),g={controller:new ey(a),request:e,timingInfo:d,processRequestBodyChunkLength:t,processRequestEndOfBody:r,processResponse:i,processResponseConsumeBody:n,processResponseEndOfBody:s,taskDestination:l,crossOriginIsolatedCapability:c,requestObject:A};return j(!e.body||e.body.stream),"client"===e.window&&(e.window=e.client?.globalObject?.constructor?.name==="Window"?e.client:"no-window"),"client"===e.origin&&(e.origin=e.client.origin),"client"===e.policyContainer&&(null!=e.client?e.policyContainer=I(e.client.policyContainer):e.policyContainer=C()),e.headersList.contains("accept",!0)||e.headersList.append("accept","*/*",!0),e.headersList.contains("accept-language",!0)||e.headersList.append("accept-language","*",!0),e.priority,er.has(e.destination),ew(g,!1),g.controller}async function ew(e,t){try{let r=e.request,i=null;if(r.localURLsOnly&&!O(Q(r))&&(i=s("local URLs only")),b(r),"blocked"===f(r)&&(i=s("bad port")),""===r.referrerPolicy&&(r.referrerPolicy=r.policyContainer.referrerPolicy),"no-referrer"!==r.referrer&&(r.referrer=R(r)),null===i){let t=Q(r);k(t,r.url)&&"basic"===r.responseTainting||"data:"===t.protocol||"navigate"===r.mode||"websocket"===r.mode?(r.responseTainting="basic",i=await eD(e)):"same-origin"===r.mode?i=s('request mode cannot be "same-origin"'):"no-cors"===r.mode?"follow"!==r.redirect?i=s('redirect mode cannot be "follow" for "no-cors" request'):(r.responseTainting="opaque",i=await eD(e)):H(Q(r))?(r.responseTainting="cors",i=await eR(e)):i=s("URL scheme must be a HTTP(S) scheme")}if(t)return i;0===i.status||i.internalResponse||(r.responseTainting,"basic"===r.responseTainting?i=o(i,"basic"):"cors"===r.responseTainting?i=o(i,"cors"):"opaque"===r.responseTainting?i=o(i,"opaque"):j(!1));let n=0===i.status?i:i.internalResponse;if(0===n.urlList.length&&n.urlList.push(...r.urlList),r.timingAllowFailed||(i.timingAllowPassed=!0),"opaque"===i.type&&206===n.status&&n.rangeRequested&&!r.headers.contains("range",!0)&&(i=n=s()),0!==i.status&&("HEAD"===r.method||"CONNECT"===r.method||$.includes(n.status))&&(n.body=null,e.controller.dump=!0),r.integrity){let t=t=>ex(e,s(t));if("opaque"===r.responseTainting||null==i.body)return void t(i.error);T(i.body,s=>{eC(s,r.integrity)?(i.body=K(s)[0],ex(e,i)):t("integrity mismatch")},t)}else ex(e,i)}catch(t){e.controller.terminate(t)}}function eD(e){if(F(e)&&0===e.request.redirectCount)return Promise.resolve(n(e));let{request:t}=e,{protocol:o}=Q(t);switch(o){case"about:":return Promise.resolve(s("about scheme is not supported"));case"blob:":{i||(i=r(4573).resolveObjectURL);let e=Q(t);if(0!==e.search.length)return Promise.resolve(s("NetworkError when attempting to fetch resource."));let n=i(e.toString());if("GET"!==t.method||!em.is.Blob(n))return Promise.resolve(s("invalid method"));let o=a(),A=n.size,l=eI(`${A}`),c=n.type;if(t.headersList.contains("range",!0)){o.rangeRequested=!0;let e=G(t.headersList.get("range",!0),!0);if("failure"===e)return Promise.resolve(s("failed to fetch the data URL"));let{rangeStartValue:r,rangeEndValue:i}=e;if(null===r)i=(r=A-i)+i-1;else{if(r>=A)return Promise.resolve(s("Range start is greater than the blob's size."));(null===i||i>=A)&&(i=A-1)}let a=n.slice(r,i+1,c);o.body=X(a)[0];let l=eI(`${a.size}`),d=z(r,i,A);o.status=206,o.statusText="Partial Content",o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0),o.headersList.set("content-range",d,!0)}else{let e=X(n);o.statusText="OK",o.body=e[0],o.headersList.set("content-length",l,!0),o.headersList.set("content-type",c,!0)}return Promise.resolve(o)}case"data:":{let e=ed(Q(t));if("failure"===e)return Promise.resolve(s("failed to fetch the data URL"));return Promise.resolve(a({statusText:"OK",headersList:[["content-type",{name:"Content-Type",value:eg(e.mimeType)}]],body:K(e.body)[0]}))}case"file:":return Promise.resolve(s("not implemented... yet..."));case"http:":case"https:":return eR(e).catch(e=>s(e));default:return Promise.resolve(s("unknown scheme"))}}function ex(e,t){let r=e.timingInfo,i=()=>{let i=Date.now();"document"===e.request.destination&&(e.controller.fullTimingInfo=r),e.controller.reportTimingSteps=()=>{if(!H(e.request.url))return;r.endTime=i;let s=t.cacheState,n=t.bodyInfo;t.timingAllowPassed||(r=S(r),s="");let o=0;if("navigate"!==e.request.mode||!t.hasCrossOriginRedirects){o=t.status;let e=V(t.headersList);"failure"!==e&&(n.contentType=eu(e))}null!=e.request.initiatorType&&eN(r,e.request.url.href,e.request.initiatorType,globalThis,s,n,o)},queueMicrotask(()=>void(e.request.done=!0,null!=e.processResponseEndOfBody&&queueMicrotask(()=>e.processResponseEndOfBody(t)),null!=e.request.initiatorType&&e.controller.reportTimingSteps()))};null!=e.processResponse&&queueMicrotask(()=>{e.processResponse(t),e.processResponse=null});let s="error"===t.type?t:t.internalResponse??t;null==s.body?i():eo(s.body.stream,()=>{i()})}async function eR(e){let t=e.request,r=null,i=null,n=e.timingInfo;if(t.serviceWorkers,null===r){if("follow"===t.redirect&&(t.serviceWorkers="none"),i=r=await eM(e),"cors"===t.responseTainting&&"failure"===D(t,r))return s("cors failure");"failure"===E(t,r)&&(t.timingAllowFailed=!0)}return("opaque"===t.responseTainting||"opaque"===r.type)&&"blocked"===x(t.origin,t.client,t.destination,i)?s("blocked"):(Z.has(i.status)&&("manual"!==t.redirect&&e.controller.connection.destroy(void 0,!1),"error"===t.redirect?r=s("unexpected redirect"):"manual"===t.redirect?r=i:"follow"===t.redirect?r=await function(e,t){let r,i=e.request,n=t.internalResponse?t.internalResponse:t;try{if(r=y(n,Q(i).hash),null==r)return t}catch(e){return Promise.resolve(s(e))}if(!H(r))return Promise.resolve(s("URL scheme must be a HTTP(S) scheme"));if(20===i.redirectCount)return Promise.resolve(s("redirect count exceeded"));if(i.redirectCount+=1,"cors"===i.mode&&(r.username||r.password)&&!k(i,r))return Promise.resolve(s('cross origin not allowed for request mode "cors"'));if("cors"===i.responseTainting&&(r.username||r.password))return Promise.resolve(s('URL cannot contain credentials for request mode "cors"'));if(303!==n.status&&null!=i.body&&null==i.body.source)return Promise.resolve(s());if([301,302].includes(n.status)&&"POST"===i.method||303===n.status&&!ef.includes(i.method))for(let e of(i.method="GET",i.body=null,et))i.headersList.delete(e);k(Q(i),r)||(i.headersList.delete("authorization",!0),i.headersList.delete("proxy-authorization",!0),i.headersList.delete("cookie",!0),i.headersList.delete("host",!0)),null!=i.body&&(j(null!=i.body.source),i.body=K(i.body.source)[0]);let o=e.timingInfo;return o.redirectEndTime=o.postRedirectStartTime=M(e.crossOriginIsolatedCapability),0===o.redirectStartTime&&(o.redirectStartTime=o.startTime),i.urlList.push(r),N(i,n),ew(e,!0)}(e,r):j(!1)),r.timingInfo=n,r)}async function eM(e,t=!1,r=!1){let i=e.request,o=null,a=null,A=null;"no-window"===i.window&&"error"===i.redirect?(o=e,a=i):(i.body?.source!=null?a=g(i):(a=g({...i,body:null})).body=i.body,(o={...e}).request=a);let l="include"===i.credentials||"same-origin"===i.credentials&&"basic"===i.responseTainting,c=a.body?a.body.length:null,d=null;if(null==a.body&&["POST","PUT"].includes(a.method)&&(d="0"),null!=c&&(d=eI(`${c}`)),null==d||a.headersList.contains("content-length",!0)||a.headersList.append("content-length",d,!0),null!=c&&a.keepalive,em.is.URL(a.referrer)&&a.headersList.append("referer",eI(a.referrer.href),!0),B(a),w(a),a.headersList.contains("user-agent",!0)||a.headersList.append("user-agent",eE,!0),"default"===a.cache&&(a.headersList.contains("if-modified-since",!0)||a.headersList.contains("if-none-match",!0)||a.headersList.contains("if-unmodified-since",!0)||a.headersList.contains("if-match",!0)||a.headersList.contains("if-range",!0))&&(a.cache="no-store"),"no-cache"!==a.cache||a.preventNoCacheCacheControlHeaderModification||a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","max-age=0",!0),("no-store"===a.cache||"reload"===a.cache)&&(a.headersList.contains("pragma",!0)||a.headersList.append("pragma","no-cache",!0),a.headersList.contains("cache-control",!0)||a.headersList.append("cache-control","no-cache",!0)),a.headersList.contains("range",!0)&&a.headersList.append("accept-encoding","identity",!0),a.headersList.contains("accept-encoding",!0)||(P(Q(a))?a.headersList.append("accept-encoding","br, gzip, deflate, zstd",!0):a.headersList.append("accept-encoding","gzip, deflate",!0)),a.headersList.delete("host",!0),l&&!a.headersList.contains("authorization",!0)){let e=null;if(_(a)&&(void 0===a.useURLCredentials||!J(Q(a))));else if(J(Q(a))&&t){let{username:t,password:r}=Q(a);e=`Basic ${Buffer.from(`${t}:${r}`).toString("base64")}`}null!==e&&a.headersList.append("Authorization",e,!1)}if(a.cache="no-store","no-store"!==a.cache&&a.cache,null==A){if("only-if-cached"===a.cache)return s("only if cached");let e=await ek(o,l,r);!ee.has(a.method)&&e.status>=200&&e.status,null==A&&(A=e)}if(A.urlList=[...a.urlList],a.headersList.contains("range",!0)&&(A.rangeRequested=!0),A.requestIncludesCredentials=l,401===A.status&&"cors"!==a.responseTainting&&l&&(void 0!==i.useURLCredentials||W(i.traversableForUserPrompts))){if(null!=i.body){if(null==i.body.source)return A;i.body=K(i.body.source)[0]}if(void 0===i.useURLCredentials||t)return F(e)?n(e):A;e.controller.connection.destroy(),A=await eM(e,!0)}if(407===A.status)return"no-window"===i.window?s():F(e)?n(e):s("proxy authentication required");if(421===A.status&&!r&&(null==i.body||null!=i.body.source)){if(F(e))return n(e);e.controller.connection.destroy(),A=await eM(e,t,!0)}return A}async function ek(e,t=!1,r=!1){j(!e.controller.connection||e.controller.connection.destroyed),e.controller.connection={abort:null,destroyed:!1,destroy(e,t=!0){!this.destroyed&&(this.destroyed=!0,t&&this.abort?.(e??new DOMException("The operation was aborted.","AbortError")))}};let i=e.request,o=null,A=e.timingInfo;i.cache="no-store",i.mode;let l=null;if(null==i.body&&e.processRequestEndOfBody)queueMicrotask(()=>e.processRequestEndOfBody());else if(null!=i.body){let t=async function*(t){F(e)||(yield t,e.processRequestBodyChunkLength?.(t.byteLength))};l=async function*(){try{for await(let e of i.body.stream)yield*t(e);!F(e)&&e.processRequestEndOfBody&&e.processRequestEndOfBody()}catch(t){F(e)||("AbortError"===t.name?e.controller.abort():e.controller.terminate(t))}}()}try{let{body:t,status:r,statusText:s,headersList:n,socket:d}=await function({body:t}){let r=Q(i),s=e.controller.dispatcher,n=r.pathname+r.search,o=0===r.search.length&&"?"===r.href[r.href.length-r.hash.length-1];return function t(a,l){return new Promise((d,g)=>s.dispatch({path:o?`${n}?`:n,origin:r.origin,method:i.method,body:s.isMockActive?i.body&&(i.body.source||i.body.stream):a,__mockAgentBodyForDispatch:a,headers:i.headersList.entries,maxRedirections:0,upgrade:"websocket"===i.mode?"websocket":void 0,...!1===l?{allowH2:l}:null},{body:null,abort:null,onRequestStart(t){let{connection:r}=e.controller;A.finalConnectionTimingInfo=Y(void 0,A.postRedirectStartTime,e.crossOriginIsolatedCapability);let i=e=>t.abort(e);r.destroyed?i(new DOMException("The operation was aborted.","AbortError")):(e.controller.on("terminated",i),this.abort=r.abort=i),A.finalNetworkRequestStartTime=M(e.crossOriginIsolatedCapability)},onResponseStarted(){A.finalNetworkResponseStartTime=M(e.crossOriginIsolatedCapability)},onResponseStart(e,t,r,s){if(t<200)return;let n=e?.rawHeaders??[],o=new c;eB(o,r,n);let a=o.get("location",!0);this.body=new es({read:()=>e.resume()});let A=a&&"follow"===i.redirect&&Z.has(t),l=[];if("HEAD"!==i.method&&"CONNECT"!==i.method&&!$.includes(t)&&!A){let e=o.get("content-encoding",!0),t=e?e.toLowerCase().split(","):[];if(t.length>5)return void g(Error(`too many content-encodings in response: ${t.length}, maximum allowed is 5`));for(let e=t.length-1;e>=0;--e){let r=t[e].trim();if("x-gzip"===r||"gzip"===r)l.push(p.createGunzip({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("deflate"===r)l.push(q({flush:p.constants.Z_SYNC_FLUSH,finishFlush:p.constants.Z_SYNC_FLUSH}));else if("br"===r)l.push(p.createBrotliDecompress({flush:p.constants.BROTLI_OPERATION_FLUSH,finishFlush:p.constants.BROTLI_OPERATION_FLUSH}));else if("zstd"===r)l.push(p.createZstdDecompress({flush:p.constants.ZSTD_e_continue,finishFlush:p.constants.ZSTD_e_end}));else{l.length=0;break}}}let u=t=>this.onResponseError(e,t);d({status:t,statusText:s,headersList:o,body:l.length?en(this.body,...l,t=>{t&&this.onResponseError(e,t)}).on("error",u):this.body.on("error",u)})},onResponseData(t,r){e.controller.dump||(A.encodedBodySize+=r.byteLength,!1===this.body.push(r)&&t.pause())},onResponseEnd(){this.abort&&e.controller.off("terminated",this.abort),e.controller.ended=!0,this.body?.push(null)},onResponseError(r,s){(this.abort&&e.controller.off("terminated",this.abort),"websocket"===i.mode&&!1!==l&&s?.code==="UND_ERR_INFO"&&s?.message==="HTTP/2: Extended CONNECT protocol not supported by server")?d(t(a,!1)):(this.body?.destroy(s),e.controller.terminate(s),g(s))},onRequestUpgrade(e,t,r,i){if(null!=i.session&&200!==t||null==i.session&&101!==t)return!1;let s=e?.rawHeaders??[],n=new c;return eB(n,r,s),d({status:t,statusText:ep[t],headersList:n,socket:i}),!0}}))}(t)}({body:l});if(d)o=a({status:r,statusText:s,headersList:n,socket:d});else{let i=t[Symbol.asyncIterator]();e.controller.next=()=>i.next(),o=a({status:r,statusText:s,headersList:n})}}catch(t){if("AbortError"===t.name)return e.controller.connection.destroy(),n(e,t);return s(t)}let d=new ReadableStream({start(t){e.controller.controller=t},pull:()=>e.controller.resume(),cancel:t=>{F(e)||e.controller.abort(t)},type:"bytes"});return o.body={stream:d,source:null,length:null},e.controller.resume||e.controller.on("terminated",function(t){U(e)?(o.aborted=!0,eA(d)&&e.controller.controller.error(e.controller.serializedAbortReason)):eA(d)&&e.controller.controller.error(TypeError("terminated",{cause:v(t)?t:void 0})),e.controller.connection.destroy()}),e.controller.resume=async()=>{for(;;){let t,r;try{let{done:r,value:i}=await e.controller.next();if(U(e))break;t=r?void 0:i}catch(i){e.controller.ended&&!A.encodedBodySize?t=void 0:(t=i,r=!0)}if(void 0===t){L(e.controller.controller),function(e,t){e.request.done=!0,null!=e.processResponseDone&&queueMicrotask(()=>e.processResponseDone(t))}(e,o);return}if(A.decodedBodySize+=t?.byteLength??0,r)return void e.controller.terminate(t);let i=new Uint8Array(t);if(i.byteLength&&e.controller.controller.enqueue(i),ea(d))return void e.controller.terminate();if(e.controller.controller.desiredSize<=0)return}},o}e.exports={fetch:function(e,t){let r;em.argumentLengthCheck(arguments,1,"globalThis.fetch");let i=Promise.withResolvers();try{r=new d(e,t)}catch(e){return i.reject(e),i.promise}let s=h(r);if(r.signal.aborted)return eb(i,s,null,r.signal.reason,null),i.promise;let n=s.client.globalObject;n?.constructor?.name==="ServiceWorkerGlobalScope"&&(s.serviceWorkers="none");let o=null,a=!1,l=null,c=el(r.signal,()=>{a=!0,j(null!=l),l.abort(r.signal.reason);let e=o?.deref();eb(i,s,e,r.signal.reason,l.controller)}),g=()=>{c(),m(r)};return l=eS({request:s,processResponseEndOfBody:e=>{eQ(e,"fetch"),g()},processResponse:e=>{if(!a){if(e.aborted){eb(i,s,o,l.serializedAbortReason,l.controller),g();return}if("error"===e.type){i.reject(TypeError("fetch failed",{cause:e.error})),g();return}o=new WeakRef(A(e,"immutable")),i.resolve(o.deref()),i=null}},dispatcher:u(r),requestObject:r}),i.promise},Fetch:ey,fetching:eS,finalizeAndReportTiming:eQ}},9553(e,t,r){let i,{extractBody:s,mixinBody:n,cloneBody:o,bodyUnusable:a}=r(4626),{Headers:A,fill:l,HeadersList:c,setHeadersGuard:d,getHeadersGuard:g,setHeadersList:u,getHeadersList:h}=r(3470),m=r(1210),p=r(7975),{isValidHTTPToken:C,sameOrigin:I,environmentSettingsObject:f}=r(638),{forbiddenMethodsSet:E,corsSafeListedMethodsSet:B,referrerPolicy:y,requestRedirect:Q,requestMode:N,requestCredentials:b,requestCache:S,requestDuplex:w}=r(6113),{kEnumerableProperty:D,normalizedMethodRecordsBase:x,normalizedMethodRecords:R}=m,{webidl:M}=r(849),{URLSerializer:k}=r(3518),{kConstruct:F}=r(3025),U=r(4589),{getMaxListeners:v,setMaxListeners:T,defaultMaxListeners:L}=r(8474),O=Symbol("abortController"),H=new FinalizationRegistry(({signal:e,abort:t})=>{e.removeEventListener("abort",t)}),P=new WeakMap;try{i=v(new AbortController().signal)>0}catch{i=!1}function Y(e){return function t(){let r=e.deref();if(void 0!==r){H.unregister(t),this.removeEventListener("abort",t),r.abort(this.reason);let e=P.get(r.signal);if(void 0!==e){if(0!==e.size){for(let t of e){let e=t.deref();void 0!==e&&e.abort(this.reason)}e.clear()}P.delete(r.signal)}}}}let G=!1;class z{#ts;#Q;#$;#eS;#tn=null;constructor(e,t){let r;if(M.util.markAsUncloneable(this),e===F)return;M.argumentLengthCheck(arguments,1,"Request constructor"),e=M.converters.RequestInfo(e),t=M.converters.RequestInit(t);let n=null,o=null,g=f.settingsObject.baseUrl,p=null;if("string"==typeof e){let r;this.#Q=t.dispatcher;try{r=new URL(e,g)}catch(t){throw TypeError("Failed to parse URL from "+e,{cause:t})}if(r.username||r.password)throw TypeError("Request cannot be constructed from a URL that includes credentials: "+e);n=X({urlList:[r]}),o="cors"}else U(M.is.Request(e)),n=e.#eS,p=e.#ts,this.#Q=t.dispatcher||e.#Q;let y=f.settingsObject.origin,Q="client";if(n.window?.constructor?.name==="EnvironmentSettingsObject"&&I(n.window,y)&&(Q=n.window),null!=t.window)throw TypeError(`'window' option '${Q}' must be null`);"window"in t&&(Q="no-window"),n=X({method:n.method,headersList:n.headersList,unsafeRequest:n.unsafeRequest,client:f.settingsObject,window:Q,priority:n.priority,origin:n.origin,referrer:n.referrer,referrerPolicy:n.referrerPolicy,mode:n.mode,credentials:n.credentials,cache:n.cache,redirect:n.redirect,integrity:n.integrity,keepalive:n.keepalive,reloadNavigation:n.reloadNavigation,historyNavigation:n.historyNavigation,urlList:[...n.urlList]});let N=0!==Object.keys(t).length;if(N&&("navigate"===n.mode&&(n.mode="same-origin"),n.reloadNavigation=!1,n.historyNavigation=!1,n.origin="client",n.referrer="client",n.referrerPolicy="",n.url=n.urlList[n.urlList.length-1],n.urlList=[n.url]),void 0!==t.referrer){let e=t.referrer;if(""===e)n.referrer="no-referrer";else{let t;try{t=new URL(e,g)}catch(t){throw TypeError(`Referrer "${e}" is not a valid URL.`,{cause:t})}"about:"===t.protocol&&"client"===t.hostname||y&&!I(t,f.settingsObject.baseUrl)?n.referrer="client":n.referrer=t}}if(void 0!==t.referrerPolicy&&(n.referrerPolicy=t.referrerPolicy),"navigate"===(r=void 0!==t.mode?t.mode:o))throw M.errors.exception({header:"Request constructor",message:"invalid request mode navigate."});if(null!=r&&(n.mode=r),void 0!==t.credentials&&(n.credentials=t.credentials),void 0!==t.cache&&(n.cache=t.cache),"only-if-cached"===n.cache&&"same-origin"!==n.mode)throw TypeError("'only-if-cached' can be set only with 'same-origin' mode");if(void 0!==t.redirect&&(n.redirect=t.redirect),null!=t.integrity&&(n.integrity=String(t.integrity)),void 0!==t.keepalive&&(n.keepalive=!!t.keepalive),void 0!==t.method){let e=t.method,r=R[e];if(void 0!==r)n.method=r;else{if(!C(e))throw TypeError(`'${e}' is not a valid HTTP method.`);let t=e.toUpperCase();if(E.has(t))throw TypeError(`'${e}' HTTP method is unsupported.`);e=x[t]??e,n.method=e}G||"patch"!==n.method||(process.emitWarning("Using `patch` is highly likely to result in a `405 Method Not Allowed`. `PATCH` is much more likely to succeed.",{code:"UNDICI-FETCH-patch"}),G=!0)}void 0!==t.signal&&(p=t.signal),this.#eS=n;let b=new AbortController;if(this.#ts=b.signal,null!=p)if(p.aborted)b.abort(p.reason);else{this[O]=b;let e=Y(new WeakRef(b));i&&v(p)===L&&T(1500,p);let t=m.addAbortListener(p,e);H.register(b,{signal:p,abort:e},e),this.#tn=()=>{H.unregister(e),t(),this.#tn=null}}if(this.#$=new A(F),u(this.#$,n.headersList),d(this.#$,"request"),"no-cors"===r){if(!B.has(n.method))throw TypeError(`'${n.method} is unsupported in no-cors mode.`);d(this.#$,"request-no-cors")}if(N){let e=h(this.#$),r=void 0!==t.headers?t.headers:new c(e);if(e.clear(),r instanceof c){for(let{name:t,value:i}of r.rawValues())e.append(t,i,!1);e.cookies=r.cookies}else l(this.#$,r)}let S=M.is.Request(e)?e.#eS.body:null;if((null!=t.body||null!=S)&&("GET"===n.method||"HEAD"===n.method))throw TypeError("Request with GET/HEAD method cannot have body.");let w=null;if(null!=t.body){let[e,r]=s(t.body,n.keepalive);w=e,r&&!h(this.#$).contains("content-type",!0)&&this.#$.append("content-type",r,!0)}let D=w??S;if(null!=D&&null==D.source){if(null!=w&&null==t.duplex)throw TypeError("RequestInit: duplex option is required when sending a body.");if("same-origin"!==n.mode&&"cors"!==n.mode)throw TypeError('If request is made from ReadableStream, mode should be "same-origin" or "cors"');n.useCORSPreflightFlag=!0}let k=D;if(null==w&&null!=S){if(a(e.#eS))throw TypeError("Cannot construct a Request with a Request object that has already been used.");let t=new TransformStream;S.stream.pipeThrough(t),k={source:S.source,length:S.length,stream:t.readable}}this.#eS.body=k}get method(){return M.brandCheck(this,z),this.#eS.method}get url(){return M.brandCheck(this,z),k(this.#eS.url)}get headers(){return M.brandCheck(this,z),this.#$}get destination(){return M.brandCheck(this,z),this.#eS.destination}get referrer(){return(M.brandCheck(this,z),"no-referrer"===this.#eS.referrer)?"":"client"===this.#eS.referrer?"about:client":this.#eS.referrer.toString()}get referrerPolicy(){return M.brandCheck(this,z),this.#eS.referrerPolicy}get mode(){return M.brandCheck(this,z),this.#eS.mode}get credentials(){return M.brandCheck(this,z),this.#eS.credentials}get cache(){return M.brandCheck(this,z),this.#eS.cache}get redirect(){return M.brandCheck(this,z),this.#eS.redirect}get integrity(){return M.brandCheck(this,z),this.#eS.integrity}get keepalive(){return M.brandCheck(this,z),this.#eS.keepalive}get isReloadNavigation(){return M.brandCheck(this,z),this.#eS.reloadNavigation}get isHistoryNavigation(){return M.brandCheck(this,z),this.#eS.historyNavigation}get signal(){return M.brandCheck(this,z),this.#ts}get body(){return M.brandCheck(this,z),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return M.brandCheck(this,z),!!this.#eS.body&&m.isDisturbed(this.#eS.body.stream)}get duplex(){return M.brandCheck(this,z),"half"}clone(){if(M.brandCheck(this,z),a(this.#eS))throw TypeError("unusable");let e=Z(this.#eS),t=new AbortController;if(this.signal.aborted)t.abort(this.signal.reason);else{let e=P.get(this.signal);void 0===e&&(e=new Set,P.set(this.signal,e));let r=new WeakRef(t);e.add(r),m.addAbortListener(t.signal,Y(r))}return $(e,this.#Q,t.signal,g(this.#$))}[p.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={method:this.method,url:this.url,headers:this.headers,destination:this.destination,referrer:this.referrer,referrerPolicy:this.referrerPolicy,mode:this.mode,credentials:this.credentials,cache:this.cache,redirect:this.redirect,integrity:this.integrity,keepalive:this.keepalive,isReloadNavigation:this.isReloadNavigation,isHistoryNavigation:this.isHistoryNavigation,signal:this.signal};return`Request ${p.formatWithOptions(t,r)}`}static setRequestSignal(e,t){return e.#ts=t,e}static getRequestDispatcher(e){return e.#Q}static setRequestDispatcher(e,t){e.#Q=t}static setRequestHeaders(e,t){e.#$=t}static getRequestState(e){return e.#eS}static setRequestState(e,t){e.#eS=t}static removeRequestAbortListener(e){e.#tn?.()}}let{setRequestSignal:q,getRequestDispatcher:V,setRequestDispatcher:_,setRequestHeaders:J,getRequestState:W,setRequestState:j,removeRequestAbortListener:K}=z;function X(e){return{method:e.method??"GET",localURLsOnly:e.localURLsOnly??!1,unsafeRequest:e.unsafeRequest??!1,body:e.body??null,client:e.client??null,reservedClient:e.reservedClient??null,replacesClientId:e.replacesClientId??"",window:e.window??"client",keepalive:e.keepalive??!1,serviceWorkers:e.serviceWorkers??"all",initiator:e.initiator??"",destination:e.destination??"",priority:e.priority??null,origin:e.origin??"client",policyContainer:e.policyContainer??"client",referrer:e.referrer??"client",referrerPolicy:e.referrerPolicy??"",mode:e.mode??"no-cors",useCORSPreflightFlag:e.useCORSPreflightFlag??!1,credentials:e.credentials??"same-origin",useCredentials:e.useCredentials??!1,cache:e.cache??"default",redirect:e.redirect??"follow",integrity:e.integrity??"",cryptoGraphicsNonceMetadata:e.cryptoGraphicsNonceMetadata??"",parserMetadata:e.parserMetadata??"",reloadNavigation:e.reloadNavigation??!1,historyNavigation:e.historyNavigation??!1,userActivation:e.userActivation??!1,taintedOrigin:e.taintedOrigin??!1,redirectCount:e.redirectCount??0,responseTainting:e.responseTainting??"basic",preventNoCacheCacheControlHeaderModification:e.preventNoCacheCacheControlHeaderModification??!1,done:e.done??!1,timingAllowFailed:e.timingAllowFailed??!1,useURLCredentials:e.useURLCredentials??void 0,traversableForUserPrompts:e.traversableForUserPrompts??"client",urlList:e.urlList,url:e.urlList[0],headersList:e.headersList?new c(e.headersList):new c}}function Z(e){let t=X({...e,body:null});return null!=e.body&&(t.body=o(e.body)),t}function $(e,t,r,i){let s=new z(F);j(s,e),_(s,t),q(s,r);let n=new A(F);return J(s,n),u(n,e.headersList),d(n,i),s}Reflect.deleteProperty(z,"setRequestSignal"),Reflect.deleteProperty(z,"getRequestDispatcher"),Reflect.deleteProperty(z,"setRequestDispatcher"),Reflect.deleteProperty(z,"setRequestHeaders"),Reflect.deleteProperty(z,"getRequestState"),Reflect.deleteProperty(z,"setRequestState"),Reflect.deleteProperty(z,"removeRequestAbortListener"),n(z,W),Object.defineProperties(z.prototype,{method:D,url:D,headers:D,redirect:D,clone:D,signal:D,duplex:D,destination:D,body:D,bodyUsed:D,isHistoryNavigation:D,isReloadNavigation:D,keepalive:D,integrity:D,cache:D,credentials:D,attribute:D,referrerPolicy:D,referrer:D,mode:D,[Symbol.toStringTag]:{value:"Request",configurable:!0}}),M.is.Request=M.util.MakeTypeAssertion(z),M.converters.RequestInfo=function(e){return"string"==typeof e?M.converters.USVString(e):M.is.Request(e)?e:M.converters.USVString(e)},M.converters.RequestInit=M.dictionaryConverter([{key:"method",converter:M.converters.ByteString},{key:"headers",converter:M.converters.HeadersInit},{key:"body",converter:M.nullableConverter(M.converters.BodyInit)},{key:"referrer",converter:M.converters.USVString},{key:"referrerPolicy",converter:M.converters.DOMString,allowedValues:y},{key:"mode",converter:M.converters.DOMString,allowedValues:N},{key:"credentials",converter:M.converters.DOMString,allowedValues:b},{key:"cache",converter:M.converters.DOMString,allowedValues:S},{key:"redirect",converter:M.converters.DOMString,allowedValues:Q},{key:"integrity",converter:M.converters.DOMString},{key:"keepalive",converter:M.converters.boolean},{key:"signal",converter:M.nullableConverter(e=>M.converters.AbortSignal(e,"RequestInit","signal"))},{key:"window",converter:M.converters.any},{key:"duplex",converter:M.converters.DOMString,allowedValues:w},{key:"dispatcher",converter:M.converters.any},{key:"priority",converter:M.converters.DOMString,allowedValues:["high","low","auto"],defaultValue:()=>"auto"}]),e.exports={Request:z,makeRequest:X,fromInnerRequest:$,cloneRequest:Z,getRequestDispatcher:V,getRequestState:W,removeRequestAbortListener:K}},165(e,t,r){let{Headers:i,HeadersList:s,fill:n,getHeadersGuard:o,setHeadersGuard:a,setHeadersList:A}=r(3470),{extractBody:l,cloneBody:c,mixinBody:d,streamRegistry:g,bodyUnusable:u}=r(4626),h=r(1210),m=r(7975),{kEnumerableProperty:p}=h,{isValidReasonPhrase:C,isCancelled:I,isAborted:f,isErrorLike:E,environmentSettingsObject:B}=r(638),{redirectStatusSet:y,nullBodyStatus:Q}=r(6113),{webidl:N}=r(849),{URLSerializer:b}=r(3518),{kConstruct:S}=r(3025),w=r(4589),{isomorphicEncode:D,serializeJavascriptValueToJSONString:x}=r(5358),R=new TextEncoder("utf-8");class M{#$;#eS;static error(){return G(O(),"immutable")}static json(e,t){N.argumentLengthCheck(arguments,1,"Response.json"),t=N.converters.ResponseInit(t);let r=l(R.encode(x(e))),i=G(L({}),"response");return Y(i,t,{body:r[0],type:"application/json"}),i}static redirect(e,t=302){let r;N.argumentLengthCheck(arguments,1,"Response.redirect"),e=N.converters.USVString(e),t=N.converters["unsigned short"](t);try{r=new URL(e,B.settingsObject.baseUrl)}catch(t){throw TypeError(`Failed to parse URL from ${e}`,{cause:t})}if(!y.has(t))throw RangeError(`Invalid status code ${t}`);let i=G(L({}),"immutable");i.#eS.status=t;let s=D(b(r));return i.#eS.headersList.append("location",s,!0),i}constructor(e=null,t){if(N.util.markAsUncloneable(this),e===S)return;null!==e&&(e=N.converters.BodyInit(e,"Response","body")),t=N.converters.ResponseInit(t),this.#eS=L({}),this.#$=new i(S),a(this.#$,"response"),A(this.#$,this.#eS.headersList);let r=null;if(null!=e){let[t,i]=l(e);r={body:t,type:i}}Y(this,t,r)}get type(){return N.brandCheck(this,M),this.#eS.type}get url(){N.brandCheck(this,M);let e=this.#eS.urlList,t=e[e.length-1]??null;return null===t?"":b(t,!0)}get redirected(){return N.brandCheck(this,M),this.#eS.urlList.length>1}get status(){return N.brandCheck(this,M),this.#eS.status}get ok(){return N.brandCheck(this,M),this.#eS.status>=200&&this.#eS.status<=299}get statusText(){return N.brandCheck(this,M),this.#eS.statusText}get headers(){return N.brandCheck(this,M),this.#$}get body(){return N.brandCheck(this,M),this.#eS.body?this.#eS.body.stream:null}get bodyUsed(){return N.brandCheck(this,M),!!this.#eS.body&&h.isDisturbed(this.#eS.body.stream)}clone(){if(N.brandCheck(this,M),u(this.#eS))throw N.errors.exception({header:"Response.clone",message:"Body has already been consumed."});let e=T(this.#eS);return 0!==this.#eS.urlList.length&&this.#eS.body?.stream&&g.register(this,new WeakRef(this.#eS.body.stream)),G(e,o(this.#$))}[m.inspect.custom](e,t){null===t.depth&&(t.depth=2),t.colors??=!0;let r={status:this.status,statusText:this.statusText,headers:this.headers,body:this.body,bodyUsed:this.bodyUsed,ok:this.ok,redirected:this.redirected,type:this.type,url:this.url};return`Response ${m.formatWithOptions(t,r)}`}static getResponseHeaders(e){return e.#$}static setResponseHeaders(e,t){e.#$=t}static getResponseState(e){return e.#eS}static setResponseState(e,t){e.#eS=t}}let{getResponseHeaders:k,setResponseHeaders:F,getResponseState:U,setResponseState:v}=M;function T(e){if(e.internalResponse)return P(T(e.internalResponse),e.type);let t=L({...e,body:null});return null!=e.body&&(t.body=c(e.body)),t}function L(e){return{aborted:!1,rangeRequested:!1,timingAllowPassed:!1,requestIncludesCredentials:!1,type:"default",status:200,timingInfo:null,cacheState:"",statusText:"",...e,headersList:e?.headersList?new s(e?.headersList):new s,urlList:e?.urlList?[...e.urlList]:[]}}function O(e){return L({type:"error",status:0,error:E(e)?e:Error(e?String(e):e),aborted:e&&"AbortError"===e.name})}function H(e,t){return t={internalResponse:e,...t},new Proxy(e,{get:(e,r)=>r in t?t[r]:e[r],set:(e,r,i)=>(w(!(r in t)),e[r]=i,!0)})}function P(e,t){return"basic"===t?H(e,{type:"basic",headersList:e.headersList}):"cors"===t?H(e,{type:"cors",headersList:e.headersList}):"opaque"===t?H(e,{type:"opaque",urlList:[],status:0,statusText:"",body:null}):"opaqueredirect"===t?H(e,{type:"opaqueredirect",status:0,statusText:"",headersList:[],body:null}):void w(!1)}function Y(e,t,r){if(null!==t.status&&(t.status<200||t.status>599))throw RangeError('init["status"] must be in the range of 200 to 599, inclusive.');if("statusText"in t&&null!=t.statusText&&!C(String(t.statusText)))throw TypeError("Invalid statusText");if("status"in t&&null!=t.status&&(U(e).status=t.status),"statusText"in t&&null!=t.statusText&&(U(e).statusText=t.statusText),"headers"in t&&null!=t.headers&&n(k(e),t.headers),r){if(Q.includes(e.status))throw N.errors.exception({header:"Response constructor",message:`Invalid response status code ${e.status}`});U(e).body=r.body,null==r.type||U(e).headersList.contains("content-type",!0)||U(e).headersList.append("content-type",r.type,!0)}}function G(e,t){let r=new M(S);v(r,e);let s=new i(S);return F(r,s),A(s,e.headersList),a(s,t),0!==e.urlList.length&&e.body?.stream&&g.register(r,new WeakRef(e.body.stream)),r}Reflect.deleteProperty(M,"getResponseHeaders"),Reflect.deleteProperty(M,"setResponseHeaders"),Reflect.deleteProperty(M,"getResponseState"),Reflect.deleteProperty(M,"setResponseState"),d(M,U),Object.defineProperties(M.prototype,{type:p,url:p,status:p,ok:p,redirected:p,statusText:p,headers:p,clone:p,body:p,bodyUsed:p,[Symbol.toStringTag]:{value:"Response",configurable:!0}}),Object.defineProperties(M,{json:p,redirect:p,error:p}),N.converters.XMLHttpRequestBodyInit=function(e,t,r){return"string"==typeof e?N.converters.USVString(e,t,r):N.is.Blob(e)||N.is.BufferSource(e)||N.is.FormData(e)||N.is.URLSearchParams(e)?e:N.converters.DOMString(e,t,r)},N.converters.BodyInit=function(e,t,r){return N.is.ReadableStream(e)||e?.[Symbol.asyncIterator]?e:N.converters.XMLHttpRequestBodyInit(e,t,r)},N.converters.ResponseInit=N.dictionaryConverter([{key:"status",converter:N.converters["unsigned short"],defaultValue:()=>200},{key:"statusText",converter:N.converters.ByteString,defaultValue:()=>""},{key:"headers",converter:N.converters.HeadersInit}]),N.is.Response=N.util.MakeTypeAssertion(M),e.exports={isNetworkError:function(e){return"error"===e.type&&0===e.status},makeNetworkError:O,makeResponse:L,makeAppropriateNetworkError:function(e,t=null){return w(I(e)),f(e)?O(Object.assign(new DOMException("The operation was aborted.","AbortError"),{cause:t})):O(Object.assign(new DOMException("Request was cancelled."),{cause:t}))},filterResponse:P,Response:M,cloneResponse:T,fromInnerResponse:G,getResponseState:U}},638(e,t,r){let{Transform:i}=r(7075),s=r(8522),{redirectStatusSet:n,referrerPolicyTokens:o,badPortsSet:a}=r(6113),{getGlobalOrigin:A}=r(1045),{collectAnHTTPQuotedString:l,parseMIMEType:c}=r(3518),{performance:d}=r(643),{ReadableStreamFrom:g,isValidHTTPToken:u,normalizedMethodRecordsBase:h}=r(1210),m=r(4589),{isUint8Array:p}=r(3429),{webidl:C}=r(849),{isomorphicEncode:I,collectASequenceOfCodePoints:f,removeChars:E}=r(5358);function B(e){let t=e.urlList,r=t.length;return 0===r?null:t[r-1].toString()}function y(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r>126||r<32)return!1}return!0}function Q(e){return e.urlList[e.urlList.length-1]}function N(e){return!1===(" "===e[0]||" "===e[0]||" "===e[e.length-1]||" "===e[e.length-1]||e.includes("\n")||e.includes("\r")||e.includes("\0"))}function b(){return{referrerPolicy:"strict-origin-when-cross-origin"}}function S(e,t=!1){return(m(C.is.URL(e)),v(e=new URL(e)))?"no-referrer":(e.username="",e.password="",e.hash="",!0===t&&(e.pathname="",e.search=""),e)}let w=RegExp.prototype.test.bind(/^127\.(?:(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)\.){2}(?:25[0-5]|2[0-4]\d|1\d\d|[1-9]\d|\d)$/),D=RegExp.prototype.test.bind(/^(?:(?:0{1,4}:){7}|(?:0{1,4}:){1,6}:|::)0{0,3}1$/);function x(e){return e.includes(":")?("["===e[0]&&"]"===e[e.length-1]&&(e=e.slice(1,-1)),D(e)):w(e)}function R(e){var t;return!!C.is.URL(e)&&("about:blank"===e.href||"about:srcdoc"===e.href||"data:"===e.protocol||"blob:"===e.protocol||null!=(t=e.origin)&&"null"!==t&&(!!("https:"===(t=new URL(t)).protocol||"wss:"===t.protocol||x(t.hostname)||"localhost"===t.hostname||"localhost."===t.hostname||t.hostname.endsWith(".localhost")||t.hostname.endsWith(".localhost."))||"file:"===t.protocol))}function M(e,t){return e.origin===t.origin&&"null"===e.origin||e.protocol===t.protocol&&e.hostname===t.hostname&&e.port===t.port}let k=Object.getPrototypeOf(Object.getPrototypeOf([][Symbol.iterator]()));function F(e,t,r=0,i=1){class s{#to;#ta;#tA;constructor(e,t){this.#to=e,this.#ta=t,this.#tA=0}next(){let s;if("object"!=typeof this||this===null||!(#to in this))throw TypeError(`'next' called on an object that does not implement interface ${e} Iterator.`);let n=this.#tA,o=t(this.#to);if(n>=o.length)return{value:void 0,done:!0};let{[r]:a,[i]:A}=o[n];switch(this.#tA=n+1,this.#ta){case"key":s=a;break;case"value":s=A;break;case"key+value":s=[a,A]}return{value:s,done:!1}}}return delete s.prototype.constructor,Object.setPrototypeOf(s.prototype,k),Object.defineProperties(s.prototype,{[Symbol.toStringTag]:{writable:!1,enumerable:!1,configurable:!0,value:`${e} Iterator`},next:{writable:!0,enumerable:!0,configurable:!0}}),function(e,t){return new s(e,t)}}async function U(e,t,r){try{let i=[],s=0;for(;;){let{done:n,value:o}=await e.read();if(n)return void t(Buffer.concat(i,s));if(!p(o))return void r(TypeError("Received non-Uint8Array chunk"));i.push(o),s+=o.length}}catch(e){r(e)}}function v(e){m("protocol"in e);let t=e.protocol;return"about:"===t||"blob:"===t||"data:"===t}function T(e){return"string"==typeof e&&":"===e[5]&&"h"===e[0]&&"t"===e[1]&&"t"===e[2]&&"p"===e[3]&&"s"===e[4]||"https:"===e.protocol}function L(e){m("protocol"in e);let t=e.protocol;return"http:"===t||"https:"===t}class O extends i{#tl;constructor(e){super(),this.#tl=e}_transform(e,t,r){if(!this._inflateStream){if(0===e.length)return void r();this._inflateStream=(15&e[0])==8?s.createInflate(this.#tl):s.createInflateRaw(this.#tl),this._inflateStream.on("data",this.push.bind(this)),this._inflateStream.on("end",()=>this.push(null)),this._inflateStream.on("error",e=>this.destroy(e))}this._inflateStream.write(e,t,r)}_final(e){this._inflateStream&&(this._inflateStream.end(),this._inflateStream=null),e()}}function H(e,t){let r=t.get(e,!0);if(null===r)return null;let i={position:0},s=[],n="";for(;i.position<r.length;){if(n+=f(e=>'"'!==e&&","!==e,r,i),i.position<r.length)if(34===r.charCodeAt(i.position)){if(n+=l(r,i),i.position<r.length)continue}else m(44===r.charCodeAt(i.position)),i.position++;n=E(n,!0,!0,e=>9===e||32===e),s.push(n),n=""}return s}class P{get baseUrl(){return A()}get origin(){return this.baseUrl?.origin}policyContainer=b()}class Y{settingsObject=new P}e.exports={isAborted:function(e){return"aborted"===e.controller.state},isCancelled:function(e){return"aborted"===e.controller.state||"terminated"===e.controller.state},isValidEncodedURL:y,ReadableStreamFrom:g,tryUpgradeRequestToAPotentiallyTrustworthyURL:function(e){},clampAndCoarsenConnectionTimingInfo:function(e,t,r){return!e?.startTime||e.startTime<t?{domainLookupStartTime:t,domainLookupEndTime:t,connectionStartTime:t,connectionEndTime:t,secureConnectionStartTime:t,ALPNNegotiatedProtocol:e?.ALPNNegotiatedProtocol}:{domainLookupStartTime:e.domainLookupStartTime,domainLookupEndTime:e.domainLookupEndTime,connectionStartTime:e.connectionStartTime,connectionEndTime:e.connectionEndTime,secureConnectionStartTime:e.secureConnectionStartTime,ALPNNegotiatedProtocol:e.ALPNNegotiatedProtocol}},coarsenedSharedCurrentTime:function(e){return d.now()},determineRequestsReferrer:function(e){let t=e.referrerPolicy;m(t);let r=null;if("client"===e.referrer){let e=A();if(!e||"null"===e.origin)return"no-referrer";r=new URL(e)}else C.is.URL(e.referrer)&&(r=e.referrer);let i=S(r),s=S(r,!0);switch(i.toString().length>4096&&(i=s),t){case"no-referrer":return"no-referrer";case"origin":if(null!=s)return s;return S(r,!0);case"unsafe-url":return i;case"strict-origin":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return s}case"strict-origin-when-cross-origin":{let t=Q(e);if(M(i,t))return i;if(R(i)&&!R(t))return"no-referrer";return s}case"same-origin":if(M(e,i))return i;return"no-referrer";case"origin-when-cross-origin":if(M(e,i))return i;return s;case"no-referrer-when-downgrade":{let t=Q(e);if(R(i)&&!R(t))return"no-referrer";return i}}},makePolicyContainer:b,clonePolicyContainer:function(e){return{referrerPolicy:e.referrerPolicy}},appendFetchMetadata:function(e){let t=null;t=e.mode,e.headersList.set("sec-fetch-mode",t,!0)},appendRequestOriginHeader:function(e){let t=e.origin;if("client"!==t&&void 0!==t){if("cors"===e.responseTainting||"websocket"===e.mode)e.headersList.append("origin",t,!0);else if("GET"!==e.method&&"HEAD"!==e.method){switch(e.referrerPolicy){case"no-referrer":t=null;break;case"no-referrer-when-downgrade":case"strict-origin":case"strict-origin-when-cross-origin":e.origin&&T(e.origin)&&!T(Q(e))&&(t=null);break;case"same-origin":M(e,Q(e))||(t=null)}e.headersList.append("origin",t,!0)}}},TAOCheck:function(){return"success"},corsCheck:function(){return"success"},crossOriginResourcePolicyCheck:function(){return"allowed"},createOpaqueTimingInfo:function(e){return{startTime:e.startTime??0,redirectStartTime:0,redirectEndTime:0,postRedirectStartTime:e.startTime??0,finalServiceWorkerStartTime:0,finalNetworkResponseStartTime:0,finalNetworkRequestStartTime:0,endTime:0,encodedBodySize:0,decodedBodySize:0,finalConnectionTimingInfo:null}},setRequestReferrerPolicyOnRedirect:function(e,t){let r=function(e){let t=(e.headersList.get("referrer-policy",!0)??"").split(","),r="";if(t.length)for(let e=t.length;0!==e;e--){let i=t[e-1].trim();if(o.has(i)){r=i;break}}return r}(t);""!==r&&(e.referrerPolicy=r)},isValidHTTPToken:u,requestBadPort:function(e){let t=Q(e);return L(t)&&a.has(t.port)?"blocked":"allowed"},requestCurrentURL:Q,responseURL:B,responseLocationURL:function(e,t){var r;if(!n.has(e.status))return null;let i=e.headersList.get("location",!0);return null!==i&&N(i)&&(y(i)||(r=i,i=Buffer.from(r,"binary").toString("utf8")),i=new URL(i,B(e))),i&&!i.hash&&(i.hash=t),i},isURLPotentiallyTrustworthy:R,isValidReasonPhrase:function(e){for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(!(9===r||r>=32&&r<=126||r>=128&&r<=255))return!1}return!0},sameOrigin:M,normalizeMethod:function(e){return h[e.toLowerCase()]??e},iteratorMixin:function(e,t,r,i=0,s=1){let n=F(e,r,i,s),o={keys:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"key")}},values:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"value")}},entries:{writable:!0,enumerable:!0,configurable:!0,value:function(){return C.brandCheck(this,t),n(this,"key+value")}},forEach:{writable:!0,enumerable:!0,configurable:!0,value:function(r,i=globalThis){if(C.brandCheck(this,t),C.argumentLengthCheck(arguments,1,`${e}.forEach`),"function"!=typeof r)throw TypeError(`Failed to execute 'forEach' on '${e}': parameter 1 is not of type 'Function'.`);for(let{0:e,1:t}of n(this,"key+value"))r.call(i,t,e,this)}}};return Object.defineProperties(t.prototype,{...o,[Symbol.iterator]:{writable:!0,enumerable:!1,configurable:!0,value:o.entries.value}})},createIterator:F,isValidHeaderName:u,isValidHeaderValue:N,isErrorLike:function(e){return e instanceof Error||e?.constructor?.name==="Error"||e?.constructor?.name==="DOMException"},fullyReadBody:function(e,t,r){try{let i=e.stream.getReader();U(i,t,r)}catch(e){r(e)}},readableStreamClose:function(e){try{e.close(),e.byobRequest?.respond(0)}catch(e){if(!e.message.includes("Controller is already closed")&&!e.message.includes("ReadableStream is already closed"))throw e}},urlIsLocal:v,urlHasHttpsScheme:T,urlIsHttpHttpsScheme:L,readAllBytes:U,simpleRangeHeaderValue:function(e,t){if(!e.startsWith("bytes"))return"failure";let r={position:5};if(t&&f(e=>" "===e||" "===e,e,r),61!==e.charCodeAt(r.position))return"failure";r.position++,t&&f(e=>" "===e||" "===e,e,r);let i=f(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),s=i.length?Number(i):null;if(t&&f(e=>" "===e||" "===e,e,r),45!==e.charCodeAt(r.position))return"failure";r.position++,t&&f(e=>" "===e||" "===e,e,r);let n=f(e=>{let t=e.charCodeAt(0);return t>=48&&t<=57},e,r),o=n.length?Number(n):null;return r.position<e.length||null===o&&null===s||null!==s&&null!==o&&s>o?"failure":{rangeStartValue:s,rangeEndValue:o}},buildContentRange:function(e,t,r){let i="bytes ";return i+=I(`${e}`),i+="-",i+=I(`${t}`),i+="/",i+=I(`${r}`)},createInflate:function(e){return new O(e)},extractMimeType:function(e){let t=null,r=null,i=null,s=H("content-type",e);if(null===s)return"failure";for(let e of s){let s=c(e);"failure"!==s&&"*/*"!==s.essence&&((i=s).essence!==r?(t=null,i.parameters.has("charset")&&(t=i.parameters.get("charset")),r=i.essence):i.parameters.has("charset")||null===t||i.parameters.set("charset",t))}return null==i?"failure":i},getDecodeSplit:H,environmentSettingsObject:new Y,isOriginIPPotentiallyTrustworthy:x,hasAuthenticationEntry:function(e){return!1},includesCredentials:function(e){return!!(e.username||e.password)},isTraversableNavigable:function(e){return null!=e&&"client"!==e&&"no-traversable"!==e}}},5358(e,t,r){let i=r(4589),{utf8DecodeBytes:s}=r(2718),n=/[\u0009\u000A\u000C\u000D\u0020]/g;function o(e){return 9===e||10===e||12===e||13===e||32===e}let a=/[^\x00-\xFF]/;function A(e,t,r,i){let s=0,n=e.length-1;if(t)for(;s<e.length&&i(e.charCodeAt(s));)s++;if(r)for(;n>0&&i(e.charCodeAt(n));)n--;return 0===s&&n===e.length-1?e:e.slice(s,n+1)}e.exports={collectASequenceOfCodePoints:function(e,t,r){let i="";for(;r.position<t.length&&e(t[r.position]);)i+=t[r.position],r.position++;return i},collectASequenceOfCodePointsFast:function(e,t,r){let i=t.indexOf(e,r.position),s=r.position;return -1===i?(r.position=t.length,t.slice(s)):(r.position=i,t.slice(s,r.position))},forgivingBase64:function(e){let t=(e=e.replace(n,"")).length;if(t%4==0&&61===e.charCodeAt(t-1)&&(--t,61===e.charCodeAt(t-1)&&--t),t%4==1||/[^+/0-9A-Za-z]/.test(e.length===t?e:e.substring(0,t)))return"failure";let r=Buffer.from(e,"base64");return new Uint8Array(r.buffer,r.byteOffset,r.byteLength)},isASCIIWhitespace:o,isomorphicDecode:function(e){let t=e.length;if(65535>t)return String.fromCharCode.apply(null,e);let r="",i=0,s=65535;for(;i<t;)i+s>t&&(s=t-i),r+=String.fromCharCode.apply(null,e.subarray(i,i+=s));return r},isomorphicEncode:function(e){return i(!a.test(e)),e},parseJSONFromBytes:function(e){return JSON.parse(s(e))},removeASCIIWhitespace:function(e,t=!0,r=!0){return A(e,t,r,o)},removeChars:A,serializeJavascriptValueToJSONString:function(e){let t=JSON.stringify(e);if(void 0===t)throw TypeError("Value is not JSON serializable");return i("string"==typeof t),t}}},2300(e,t,r){let i,s=r(4589),{runtimeFeatures:n}=r(6979),o=new Map([["sha256",0],["sha384",1],["sha512",2]]);if(n.has("crypto")){let e=(i=r(7598)).getHashes();for(let t of(0===e.length&&o.clear(),o.keys()))!1===e.includes(t)&&o.delete(t)}else o.clear();let a=Map.prototype.get.bind(o),A=Map.prototype.has.bind(o),l=!1===n.has("crypto")||0===o.size?()=>!0:(e,t)=>{let r=d(t);if(0===r.length)return!0;for(let t of c(r)){let r=t.alg,i=t.val;if(u(g(r,e),i))return!0}return!1};function c(e){let t=[],r=null;for(let i of e){if(s(A(i.alg),"Invalid SRI hash algorithm token"),0===t.length){t.push(i),r=i;continue}let e=a(r.alg),n=a(i.alg);n<e||(n>e?(r=i,t[0]=i,t.length=1):t.push(i))}return t}function d(e){let t=[];for(let r of e.split(" ")){let e=r.split("?",1)[0],i="",s=[e.slice(0,6),e.slice(7)],n=s[0];if(!A(n))continue;s[1]&&(i=s[1]);let o={alg:n,val:i};t.push(o)}return t}let g=(e,t)=>i.hash(e,t,"base64");function u(e,t){let r=e.length;0!==r&&"="===e[r-1]&&(r-=1),0!==r&&"="===e[r-1]&&(r-=1);let i=t.length;if(0!==i&&"="===t[i-1]&&(i-=1),0!==i&&"="===t[i-1]&&(i-=1),r!==i)return!1;for(let i=0;i<r;++i)if(e[i]!==t[i]&&("+"!==e[i]||"-"!==t[i])&&("/"!==e[i]||"_"!==t[i]))return!1;return!0}e.exports={applyAlgorithmToBytes:g,bytesMatch:l,caseSensitiveMatch:u,isValidSRIHashAlgorithm:A,getStrongestMetadata:c,parseMetadata:d}},849(e,t,r){let i=r(4589),{types:s,inspect:n}=r(7975),{markAsUncloneable:o}=r(5919),a=Function.call.bind(Function.prototype[Symbol.hasInstance]),A={converters:{},util:{},errors:{},is:{}};A.errors.exception=function(e){return TypeError(`${e.header}: ${e.message}`)},A.errors.conversionFailed=function(e){let t=1===e.types.length?"":" one of",r=`${e.argument} could not be converted to${t}: ${e.types.join(", ")}.`;return A.errors.exception({header:e.prefix,message:r})},A.errors.invalidArgument=function(e){return A.errors.exception({header:e.prefix,message:`"${e.value}" is an invalid ${e.type}.`})},A.brandCheck=function(e,t){if(!a(t,e)){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}},A.brandCheckMultiple=function(e){let t=e.map(e=>A.util.MakeTypeAssertion(e));return e=>{if(t.every(t=>!t(e))){let e=TypeError("Illegal invocation");throw e.code="ERR_INVALID_THIS",e}}},A.argumentLengthCheck=function({length:e},t,r){if(e<t)throw A.errors.exception({message:`${t} argument${1!==t?"s":""} required, but${e?" only":""} ${e} found.`,header:r})},A.illegalConstructor=function(){throw A.errors.exception({header:"TypeError",message:"Illegal constructor"})},A.util.MakeTypeAssertion=function(e){return t=>a(e,t)},A.util.Type=function(e){switch(typeof e){case"undefined":return 1;case"boolean":return 2;case"string":return 3;case"symbol":return 4;case"number":return 5;case"bigint":return 6;case"function":case"object":if(null===e)return 7;return 8}},A.util.Types={UNDEFINED:1,BOOLEAN:2,STRING:3,SYMBOL:4,NUMBER:5,BIGINT:6,NULL:7,OBJECT:8},A.util.TypeValueToString=function(e){switch(A.util.Type(e)){case 1:return"Undefined";case 2:return"Boolean";case 3:return"String";case 4:return"Symbol";case 5:return"Number";case 6:return"BigInt";case 7:return"Null";case 8:return"Object"}},A.util.markAsUncloneable=o,A.util.ConvertToInt=function(e,t,r,i){let s,n;64===t?(s=0x1fffffffffffff,n="unsigned"===r?0:-0x1fffffffffffff):"unsigned"===r?(n=0,s=Math.pow(2,t)-1):(n=-Math.pow(2,t-1),s=Math.pow(2,t-1)-1);let o=Number(e);if(0===o&&(o=0),A.util.HasFlag(i,A.attributes.EnforceRange)){if(Number.isNaN(o)||o===1/0||o===-1/0)throw A.errors.exception({header:"Integer conversion",message:`Could not convert ${A.util.Stringify(e)} to an integer.`});if((o=A.util.IntegerPart(o))<n||o>s)throw A.errors.exception({header:"Integer conversion",message:`Value must be between ${n}-${s}, got ${o}.`});return o}return!Number.isNaN(o)&&A.util.HasFlag(i,A.attributes.Clamp)?o=Math.floor(o=Math.min(Math.max(o,n),s))%2==0?Math.floor(o):Math.ceil(o):Number.isNaN(o)||0===o&&Object.is(0,o)||o===1/0||o===-1/0?0:(o=A.util.IntegerPart(o)%Math.pow(2,t),"signed"===r&&o>=Math.pow(2,t-1))?o-Math.pow(2,t):o},A.util.IntegerPart=function(e){let t=Math.floor(Math.abs(e));return e<0?-1*t:t},A.util.Stringify=function(e){switch(A.util.Type(e)){case 4:return`Symbol(${e.description})`;case 8:return n(e);case 3:return`"${e}"`;case 6:return`${e}n`;default:return`${e}`}},A.util.IsResizableArrayBuffer=function(e){if(s.isArrayBuffer(e))return e.resizable;if(s.isSharedArrayBuffer(e))return e.growable;throw A.errors.exception({header:"IsResizableArrayBuffer",message:`"${A.util.Stringify(e)}" is not an array buffer.`})},A.util.HasFlag=function(e,t){return"number"==typeof e&&(e&t)===t},A.sequenceConverter=function(e){return(t,r,i,s)=>{if(8!==A.util.Type(t))throw A.errors.exception({header:r,message:`${i} (${A.util.Stringify(t)}) is not iterable.`});let n="function"==typeof s?s():t?.[Symbol.iterator]?.(),o=[],a=0;if(void 0===n||"function"!=typeof n.next)throw A.errors.exception({header:r,message:`${i} is not iterable.`});for(;;){let{done:t,value:s}=n.next();if(t)break;o.push(e(s,r,`${i}[${a++}]`))}return o}},A.recordConverter=function(e,t){return(r,i,n)=>{if(8!==A.util.Type(r))throw A.errors.exception({header:i,message:`${n} ("${A.util.TypeValueToString(r)}") is not an Object.`});let o={};if(!s.isProxy(r)){for(let s of[...Object.getOwnPropertyNames(r),...Object.getOwnPropertySymbols(r)]){let a=A.util.Stringify(s),l=e(s,i,`Key ${a} in ${n}`),c=t(r[s],i,`${n}[${a}]`);o[l]=c}return o}for(let s of Reflect.ownKeys(r)){let a=Reflect.getOwnPropertyDescriptor(r,s);if(a?.enumerable){let a=e(s,i,n),A=t(r[s],i,n);o[a]=A}}return o}},A.interfaceConverter=function(e,t){return(r,i,s)=>{if(!e(r))throw A.errors.exception({header:i,message:`Expected ${s} ("${A.util.Stringify(r)}") to be an instance of ${t}.`});return r}},A.dictionaryConverter=function(e){return e.sort((e,t)=>(e.key>t.key)-(e.key<t.key)),(t,r,i)=>{let s={};if(null!=t&&8!==A.util.Type(t))throw A.errors.exception({header:r,message:`Expected ${t} to be one of: Null, Undefined, Object.`});for(let n of e){let{key:e,defaultValue:o,required:a,converter:l}=n;if(!0===a&&(null==t||!Object.hasOwn(t,e)))throw A.errors.exception({header:r,message:`Missing required key "${e}".`});let c=t?.[e],d=void 0!==o;if(d&&void 0===c&&(c=o()),a||d||void 0!==c){if(c=l(c,r,`${i}.${e}`),n.allowedValues&&!n.allowedValues.includes(c))throw A.errors.exception({header:r,message:`${c} is not an accepted type. Expected one of ${n.allowedValues.join(", ")}.`});s[e]=c}}return s}},A.nullableConverter=function(e){return(t,r,i)=>null===t?t:e(t,r,i)},A.is.USVString=function(e){return"string"==typeof e&&e.isWellFormed()},A.is.ReadableStream=A.util.MakeTypeAssertion(ReadableStream),A.is.Blob=A.util.MakeTypeAssertion(Blob),A.is.URLSearchParams=A.util.MakeTypeAssertion(URLSearchParams),A.is.File=A.util.MakeTypeAssertion(File),A.is.URL=A.util.MakeTypeAssertion(URL),A.is.AbortSignal=A.util.MakeTypeAssertion(AbortSignal),A.is.MessagePort=A.util.MakeTypeAssertion(MessagePort),A.is.BufferSource=function(e){return s.isArrayBuffer(e)||ArrayBuffer.isView(e)&&s.isArrayBuffer(e.buffer)},A.util.getCopyOfBytesHeldByBufferSource=function(e){let t=e,r=0,n=0;if(s.isTypedArray(e)||s.isDataView(e)?(t=e.buffer,r=e.byteOffset):i(s.isAnyArrayBuffer(e)),n=e.byteLength,t.detached)return new Uint8Array(0);let o=new Uint8Array(n),a=new Uint8Array(t,r,n);return o.set(a),o},A.converters.DOMString=function(e,t,r,i){if(null===e&&A.util.HasFlag(i,A.attributes.LegacyNullToEmptyString))return"";if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a DOMString.`});return String(e)},A.converters.ByteString=function(e,t,r){if("symbol"==typeof e)throw A.errors.exception({header:t,message:`${r} is a symbol, which cannot be converted to a ByteString.`});let i=String(e);for(let e=0;e<i.length;e++)if(i.charCodeAt(e)>255)throw TypeError(`Cannot convert argument to a ByteString because the character at index ${e} has a value of ${i.charCodeAt(e)} which is greater than 255.`);return i},A.converters.USVString=function(e){return"string"==typeof e?e.toWellFormed():`${e}`.toWellFormed()},A.converters.boolean=function(e){return!!e},A.converters.any=function(e){return e},A.converters["long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"signed",0,t,r)},A.converters["unsigned long long"]=function(e,t,r){return A.util.ConvertToInt(e,64,"unsigned",0,t,r)},A.converters["unsigned long"]=function(e,t,r){return A.util.ConvertToInt(e,32,"unsigned",0,t,r)},A.converters["unsigned short"]=function(e,t,r,i){return A.util.ConvertToInt(e,16,"unsigned",i,t,r)},A.converters.ArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable ArrayBuffer.`});return e},A.converters.SharedArrayBuffer=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isSharedArrayBuffer(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["SharedArrayBuffer"]});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a resizable SharedArrayBuffer.`});return e},A.converters.TypedArray=function(e,t,r,i,n){if(8!==A.util.Type(e)||!s.isTypedArray(e)||e.constructor.name!==t.name)throw A.errors.conversionFailed({prefix:r,argument:`${i} ("${A.util.Stringify(e)}")`,types:[t.name]});if(!A.util.HasFlag(n,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(n,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:r,message:`${i} cannot be a view on a resizable array buffer.`});return e},A.converters.DataView=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isDataView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["DataView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.ArrayBufferView=function(e,t,r,i){if(8!==A.util.Type(e)||!s.isArrayBufferView(e))throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBufferView"]});if(!A.util.HasFlag(i,A.attributes.AllowShared)&&s.isSharedArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a shared array buffer.`});if(!A.util.HasFlag(i,A.attributes.AllowResizable)&&A.util.IsResizableArrayBuffer(e.buffer))throw A.errors.exception({header:t,message:`${r} cannot be a view on a resizable array buffer.`});return e},A.converters.BufferSource=function(e,t,r,i){if(s.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(s.isArrayBufferView(e))return i&=~A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);if(s.isSharedArrayBuffer(e))throw A.errors.exception({header:t,message:`${r} cannot be a SharedArrayBuffer.`});throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","ArrayBufferView"]})},A.converters.AllowSharedBufferSource=function(e,t,r,i){if(s.isArrayBuffer(e))return A.converters.ArrayBuffer(e,t,r,i);if(s.isSharedArrayBuffer(e))return A.converters.SharedArrayBuffer(e,t,r,i);if(s.isArrayBufferView(e))return i|=A.attributes.AllowShared,A.converters.ArrayBufferView(e,t,r,i);throw A.errors.conversionFailed({prefix:t,argument:`${r} ("${A.util.Stringify(e)}")`,types:["ArrayBuffer","SharedArrayBuffer","ArrayBufferView"]})},A.converters["sequence<ByteString>"]=A.sequenceConverter(A.converters.ByteString),A.converters["sequence<sequence<ByteString>>"]=A.sequenceConverter(A.converters["sequence<ByteString>"]),A.converters["record<ByteString, ByteString>"]=A.recordConverter(A.converters.ByteString,A.converters.ByteString),A.converters.Blob=A.interfaceConverter(A.is.Blob,"Blob"),A.converters.AbortSignal=A.interfaceConverter(A.is.AbortSignal,"AbortSignal"),A.converters.EventHandlerNonNull=function(e){return 8!==A.util.Type(e)?null:"function"==typeof e?e:()=>{}},A.attributes={Clamp:1,EnforceRange:2,AllowShared:4,AllowResizable:8,LegacyNullToEmptyString:16},e.exports={webidl:A}},5563(e,t,r){let{uid:i,states:s,sentCloseFrameState:n,emptyBuffer:o,opcodes:a}=r(7946),{parseExtensions:A,isClosed:l,isClosing:c,isEstablished:d,isConnecting:g,validateCloseCodeAndReason:u}=r(3927),{makeRequest:h}=r(9553),{fetching:m}=r(7564),{Headers:p,getHeadersList:C}=r(3470),{getDecodeSplit:I}=r(638),{WebsocketFrameSend:f}=r(4018),E=r(4589),{runtimeFeatures:B}=r(6979),y=B.has("crypto")?r(7598):null,Q=!1;function N(e,t,r,i=!1){if(t??=null,r??="",i&&u(t,r),l(e.readyState)||c(e.readyState));else if(d(e.readyState))if(e.closeState.has(n.SENT)||e.closeState.has(n.RECEIVED))e.readyState=s.CLOSING;else{let i=new f;0!==r.length&&null===t&&(t=1e3),E(null===t||Number.isInteger(t)),null===t&&0===r.length?i.frameData=o:null!==t&&null===r?(i.frameData=Buffer.allocUnsafe(2),i.frameData.writeUInt16BE(t,0)):null!==t&&null!==r?(i.frameData=Buffer.allocUnsafe(2+Buffer.byteLength(r)),i.frameData.writeUInt16BE(t,0),i.frameData.write(r,2,"utf-8")):i.frameData=o,e.socket.write(i.createFrame(a.CLOSE)),e.closeState.add(n.SENT),e.readyState=s.CLOSING}else b(e),e.readyState=s.CLOSING}function b(e,t,r,i){d(e.readyState)&&N(e,t,r,!1),e.controller.abort(),g(e.readyState)?e.onSocketClose():e.socket?.destroyed===!1&&e.socket.destroy()}e.exports={establishWebSocketConnection:function(e,t,r,s,n){e.protocol="ws:"===e.protocol?"http:":"https:";let o=h({urlList:[e],client:r,serviceWorkers:"none",referrer:"no-referrer",mode:"websocket",credentials:"include",cache:"no-store",redirect:"error",useURLCredentials:!0});n.headers&&(o.headersList=C(new p(n.headers)));let a=y.randomBytes(16).toString("base64");for(let e of(o.headersList.append("sec-websocket-key",a,!0),o.headersList.append("sec-websocket-version","13",!0),t))o.headersList.append("sec-websocket-protocol",e,!0);return o.headersList.append("sec-websocket-extensions","permessage-deflate; client_max_window_bits",!0),m({request:o,useParallelQueue:!0,dispatcher:n.dispatcher,processResponse(e){let r;if("error"===e.type||101!==e.status){if(e.socket?.session==null)return void b(s,1002,"Received network error or non-101 status code.",e.error);if(200!==e.status)return void b(s,1002,"Received network error or non-200 status code.",e.error)}if(!1===Q&&e.socket?.session!=null&&(process.emitWarning("WebSocket over HTTP2 is experimental, and subject to change.","ExperimentalWarning"),Q=!0),0!==t.length&&!e.headersList.get("Sec-WebSocket-Protocol"))return void b(s,1002,"Server did not respond with sent protocols.");if(null==e.socket.session&&e.headersList.get("Upgrade")?.toLowerCase()!=="websocket")return void b(s,1002,'Server did not set Upgrade header to "websocket".');if(null==e.socket.session&&e.headersList.get("Connection")?.toLowerCase()!=="upgrade")return void b(s,1002,'Server did not set Connection header to "upgrade".');if(e.headersList.get("Sec-WebSocket-Accept")!==y.hash("sha1",a+i,"base64"))return void b(s,1002,"Incorrect hash received in Sec-WebSocket-Accept header.");let n=e.headersList.get("Sec-WebSocket-Extensions");if(null!==n&&!(r=A(n)).has("permessage-deflate"))return void b(s,1002,"Sec-WebSocket-Extensions header does not match.");let l=e.headersList.get("Sec-WebSocket-Protocol");null===l||I("sec-websocket-protocol",o.headersList).includes(l)?(e.socket.on("data",s.onSocketData),e.socket.on("close",s.onSocketClose),e.socket.on("error",s.onSocketError),s.wasEverConnected=!0,s.onConnectionEstablished(e,r)):b(s,1002,"Protocol was not set in the opening handshake.")}})},failWebsocketConnection:b,closeWebSocketConnection:N}},7946(e){e.exports={uid:"258EAFA5-E914-47DA-95CA-C5AB0DC85B11",sentCloseFrameState:{SENT:1,RECEIVED:2},staticPropertyDescriptors:{enumerable:!0,writable:!1,configurable:!1},states:{CONNECTING:0,OPEN:1,CLOSING:2,CLOSED:3},opcodes:{CONTINUATION:0,TEXT:1,BINARY:2,CLOSE:8,PING:9,PONG:10},maxUnsigned16Bit:65535,parserStates:{INFO:0,PAYLOADLENGTH_16:2,PAYLOADLENGTH_64:3,READ_DATA:4},emptyBuffer:Buffer.allocUnsafe(0),sendHints:{text:1,typedArray:2,arrayBuffer:3,blob:4}}},7342(e,t,r){let{webidl:i}=r(849),{kEnumerableProperty:s}=r(1210),{kConstruct:n}=r(3025);class o extends Event{#tc;constructor(e,t={}){if(e===n){super(arguments[1],arguments[2]),i.util.markAsUncloneable(this);return}let r="MessageEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.MessageEventInit(t,r,"eventInitDict")),this.#tc=t,i.util.markAsUncloneable(this)}get data(){return i.brandCheck(this,o),this.#tc.data}get origin(){return i.brandCheck(this,o),this.#tc.origin}get lastEventId(){return i.brandCheck(this,o),this.#tc.lastEventId}get source(){return i.brandCheck(this,o),this.#tc.source}get ports(){return i.brandCheck(this,o),Object.isFrozen(this.#tc.ports)||Object.freeze(this.#tc.ports),this.#tc.ports}initMessageEvent(e,t=!1,r=!1,s=null,n="",a="",A=null,l=[]){return i.brandCheck(this,o),i.argumentLengthCheck(arguments,1,"MessageEvent.initMessageEvent"),new o(e,{bubbles:t,cancelable:r,data:s,origin:n,lastEventId:a,source:A,ports:l})}static createFastMessageEvent(e,t){let r=new o(n,e,t);return r.#tc=t,r.#tc.data??=null,r.#tc.origin??="",r.#tc.lastEventId??="",r.#tc.source??=null,r.#tc.ports??=[],r}}let{createFastMessageEvent:a}=o;delete o.createFastMessageEvent;class A extends Event{#tc;constructor(e,t={}){let r="CloseEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e=i.converters.DOMString(e,r,"type"),t=i.converters.CloseEventInit(t)),this.#tc=t,i.util.markAsUncloneable(this)}get wasClean(){return i.brandCheck(this,A),this.#tc.wasClean}get code(){return i.brandCheck(this,A),this.#tc.code}get reason(){return i.brandCheck(this,A),this.#tc.reason}}class l extends Event{#tc;constructor(e,t){let r="ErrorEvent constructor";i.argumentLengthCheck(arguments,1,r),super(e,t),i.util.markAsUncloneable(this),e=i.converters.DOMString(e,r,"type"),t=i.converters.ErrorEventInit(t??{}),this.#tc=t}get message(){return i.brandCheck(this,l),this.#tc.message}get filename(){return i.brandCheck(this,l),this.#tc.filename}get lineno(){return i.brandCheck(this,l),this.#tc.lineno}get colno(){return i.brandCheck(this,l),this.#tc.colno}get error(){return i.brandCheck(this,l),this.#tc.error}}Object.defineProperties(o.prototype,{[Symbol.toStringTag]:{value:"MessageEvent",configurable:!0},data:s,origin:s,lastEventId:s,source:s,ports:s,initMessageEvent:s}),Object.defineProperties(A.prototype,{[Symbol.toStringTag]:{value:"CloseEvent",configurable:!0},reason:s,code:s,wasClean:s}),Object.defineProperties(l.prototype,{[Symbol.toStringTag]:{value:"ErrorEvent",configurable:!0},message:s,filename:s,lineno:s,colno:s,error:s}),i.converters.MessagePort=i.interfaceConverter(i.is.MessagePort,"MessagePort"),i.converters["sequence<MessagePort>"]=i.sequenceConverter(i.converters.MessagePort);let c=[{key:"bubbles",converter:i.converters.boolean,defaultValue:()=>!1},{key:"cancelable",converter:i.converters.boolean,defaultValue:()=>!1},{key:"composed",converter:i.converters.boolean,defaultValue:()=>!1}];i.converters.MessageEventInit=i.dictionaryConverter([...c,{key:"data",converter:i.converters.any,defaultValue:()=>null},{key:"origin",converter:i.converters.USVString,defaultValue:()=>""},{key:"lastEventId",converter:i.converters.DOMString,defaultValue:()=>""},{key:"source",converter:i.nullableConverter(i.converters.MessagePort),defaultValue:()=>null},{key:"ports",converter:i.converters["sequence<MessagePort>"],defaultValue:()=>[]}]),i.converters.CloseEventInit=i.dictionaryConverter([...c,{key:"wasClean",converter:i.converters.boolean,defaultValue:()=>!1},{key:"code",converter:i.converters["unsigned short"],defaultValue:()=>0},{key:"reason",converter:i.converters.USVString,defaultValue:()=>""}]),i.converters.ErrorEventInit=i.dictionaryConverter([...c,{key:"message",converter:i.converters.DOMString,defaultValue:()=>""},{key:"filename",converter:i.converters.USVString,defaultValue:()=>""},{key:"lineno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"colno",converter:i.converters["unsigned long"],defaultValue:()=>0},{key:"error",converter:i.converters.any}]),e.exports={MessageEvent:o,CloseEvent:A,ErrorEvent:l,createFastMessageEvent:a}},4018(e,t,r){let{runtimeFeatures:i}=r(6979),{maxUnsigned16Bit:s,opcodes:n}=r(7946),o=null,a=8192,A=i.has("crypto")?r(7598).randomFillSync:null;function l(){return 8192===a&&(a=0,A(o??=Buffer.allocUnsafeSlow(8192),0,8192)),[o[a++],o[a++],o[a++],o[a++]]}e.exports={WebsocketFrameSend:class{constructor(e){this.frameData=e}createFrame(e){let t=this.frameData,r=l(),i=t?.byteLength??0,n=i,o=6;i>s?(o+=8,n=127):i>125&&(o+=2,n=126);let a=Buffer.allocUnsafe(i+o);a[0]=a[1]=0,a[0]|=128,a[0]=(240&a[0])+e,a[o-4]=r[0],a[o-3]=r[1],a[o-2]=r[2],a[o-1]=r[3],a[1]=n,126===n?a.writeUInt16BE(i,2):127===n&&(a[2]=a[3]=0,a.writeUIntBE(i,4,6)),a[1]|=128;for(let e=0;e<i;++e)a[o+e]=t[e]^r[3&e];return a}static createFastTextFrame(e){let t=l(),r=e.length;for(let i=0;i<r;++i)e[i]^=t[3&i];let i=r,o=6;r>s?(o+=8,i=127):r>125&&(o+=2,i=126);let a=Buffer.allocUnsafeSlow(o);return a[0]=128|n.TEXT,a[1]=128|i,a[o-4]=t[0],a[o-3]=t[1],a[o-2]=t[2],a[o-1]=t[3],126===i?a.writeUInt16BE(r,2):127===i&&(a[2]=a[3]=0,a.writeUIntBE(r,4,6)),[a,e]}},generateMask:l}},959(e,t,r){let{createInflateRaw:i,Z_DEFAULT_WINDOWBITS:s}=r(8522),{isValidClientWindowBits:n}=r(3927),{MessageSizeExceededError:o}=r(8065),a=Buffer.from([0,0,255,255]),A=Symbol("kBuffer"),l=Symbol("kLength");e.exports={PerMessageDeflate:class{#td;#T={};#tg=0;constructor(e,t){this.#T.serverNoContextTakeover=e.has("server_no_context_takeover"),this.#T.serverMaxWindowBits=e.get("server_max_window_bits"),this.#tg=t.maxPayloadSize}decompress(e,t,r){if(!this.#td){let e=s;if(this.#T.serverMaxWindowBits){if(!n(this.#T.serverMaxWindowBits))return void r(Error("Invalid server_max_window_bits"));e=Number.parseInt(this.#T.serverMaxWindowBits)}try{this.#td=i({windowBits:e})}catch(e){r(e);return}this.#td[A]=[],this.#td[l]=0,this.#td.on("data",e=>{if(this.#td[l]+=e.length,this.#tg>0&&this.#td[l]>this.#tg){r(new o),this.#td.removeAllListeners(),this.#td=null;return}this.#td[A].push(e)}),this.#td.on("error",e=>{this.#td=null,r(e)})}this.#td.write(e),t&&this.#td.write(a),this.#td.flush(()=>{if(!this.#td)return;let e=Buffer.concat(this.#td[A],this.#td[l]);this.#td[A].length=0,this.#td[l]=0,r(null,e)})}}}},5346(e,t,r){let{Writable:i}=r(7075),s=r(4589),{parserStates:n,opcodes:o,states:a,emptyBuffer:A,sentCloseFrameState:l}=r(7946),{isValidStatusCode:c,isValidOpcode:d,websocketMessageReceived:g,utf8Decode:u,isControlFrame:h,isTextBinaryFrame:m,isContinuationFrame:p}=r(3927),{failWebsocketConnection:C}=r(5563),{WebsocketFrameSend:I}=r(4018),{PerMessageDeflate:f}=r(959),{MessageSizeExceededError:E}=r(8065);class B extends i{#tu=[];#th=0;#tm=0;#tp=!1;#eS=n.INFO;#tC={};#tI=[];#tf;#y;#tE;#tg;constructor(e,t,r={}){super(),this.#y=e,this.#tf=null==t?new Map:t,this.#tE=r.maxFragments??0,this.#tg=r.maxPayloadSize??0,this.#tf.has("permessage-deflate")&&this.#tf.set("permessage-deflate",new f(t,r))}_write(e,t,r){this.#tu.push(e),this.#tm+=e.length,this.#tp=!0,this.run(r)}#tB(){return!(this.#tg>0)||!!h(this.#tC.opcode)||!(this.#tC.payloadLength+this.#th>this.#tg)||(C(this.#y,1009,"Payload size exceeds maximum allowed size"),!1)}run(e){for(;this.#tp;)if(this.#eS===n.INFO){if(this.#tm<2)return e();let t=this.consume(2),r=(128&t[0])!=0,i=15&t[0],s=(128&t[1])==128,a=!r&&i!==o.CONTINUATION,A=127&t[1],l=64&t[0],c=32&t[0],g=16&t[0];if(!d(i))return C(this.#y,1002,"Invalid opcode received"),e();if(s)return C(this.#y,1002,"Frame cannot be masked"),e();if(0!==l&&!this.#tf.has("permessage-deflate"))return void C(this.#y,1002,"Expected RSV1 to be clear.");if(0!==c||0!==g)return void C(this.#y,1002,"RSV1, RSV2, RSV3 must be clear");if(a&&!m(i))return void C(this.#y,1002,"Invalid frame type was fragmented.");if(m(i)&&this.#tI.length>0)return void C(this.#y,1002,"Expected continuation frame");if(this.#tC.fragmented&&a)return void C(this.#y,1002,"Fragmented frame exceeded 125 bytes.");if((A>125||a)&&h(i))return void C(this.#y,1002,"Control frame either too large or fragmented");if(p(i)&&0===this.#tI.length&&!this.#tC.compressed)return void C(this.#y,1002,"Unexpected continuation frame");if(A<=125){if(this.#tC.payloadLength=A,this.#eS=n.READ_DATA,!this.#tB())return}else 126===A?this.#eS=n.PAYLOADLENGTH_16:127===A&&(this.#eS=n.PAYLOADLENGTH_64);m(i)&&(this.#tC.binaryType=i,this.#tC.compressed=0!==l),this.#tC.opcode=i,this.#tC.masked=s,this.#tC.fin=r,this.#tC.fragmented=a}else if(this.#eS===n.PAYLOADLENGTH_16){if(this.#tm<2)return e();let t=this.consume(2);if(this.#tC.payloadLength=t.readUInt16BE(0),this.#eS=n.READ_DATA,!this.#tB())return}else if(this.#eS===n.PAYLOADLENGTH_64){if(this.#tm<8)return e();let t=this.consume(8),r=t.readUInt32BE(0),i=t.readUInt32BE(4);if(0!==r||i>0x80000000-1)return void C(this.#y,1009,"Received payload length > 2^31 bytes.");if(this.#tC.payloadLength=i,this.#eS=n.READ_DATA,!this.#tB())return}else if(this.#eS===n.READ_DATA){if(this.#tm<this.#tC.payloadLength)return e();let t=this.consume(this.#tC.payloadLength);if(h(this.#tC.opcode))this.#tp=this.parseControlFrame(t),this.#eS=n.INFO;else if(this.#tC.compressed){this.#tf.get("permessage-deflate").decompress(t,this.#tC.fin,(t,r)=>{if(t){let e=t instanceof E?1009:1007;C(this.#y,e,t.message);return}if(this.writeFragments(r)){if(this.#tg>0&&this.#th>this.#tg)return void C(this.#y,1009,new E().message);if(!this.#tC.fin){this.#eS=n.INFO,this.#tp=!0,this.run(e);return}g(this.#y,this.#tC.binaryType,this.consumeFragments()),this.#tp=!0,this.#eS=n.INFO,this.run(e)}},this.#th),this.#tp=!1;break}else{if(!this.writeFragments(t))return;!this.#tC.fragmented&&this.#tC.fin&&g(this.#y,this.#tC.binaryType,this.consumeFragments()),this.#eS=n.INFO}}}consume(e){if(e>this.#tm)throw Error("Called consume() before buffers satiated.");if(0===e)return A;this.#tm-=e;let t=this.#tu[0];if(t.length>e)return this.#tu[0]=t.subarray(e,t.length),t.subarray(0,e);{if(t.length===e)return this.#tu.shift();let r=0,i=Buffer.allocUnsafeSlow(e);for(;r!==e;){let t=this.#tu[0],s=t.length;if(s+r===e){i.set(this.#tu.shift(),r);break}if(s+r>e){i.set(t.subarray(0,e-r),r),this.#tu[0]=t.subarray(e-r);break}i.set(this.#tu.shift(),r),r+=s}return i}}writeFragments(e){return this.#tE>0&&this.#tI.length===this.#tE?(C(this.#y,1008,"Too many message fragments"),!1):(this.#th+=e.length,this.#tI.push(e),!0)}consumeFragments(){let e=this.#tI;if(1===e.length)return this.#th=0,e.shift();let t=0,r=Buffer.allocUnsafeSlow(this.#th);for(let i=0;i<e.length;++i){let s=e[i];r.set(s,t),t+=s.length}return this.#tI=[],this.#th=0,r}parseCloseBody(e){let t;if(s(1!==e.length),e.length>=2&&(t=e.readUInt16BE(0)),void 0!==t&&!c(t))return{code:1002,reason:"Invalid status code",error:!0};let r=e.subarray(2);239===r[0]&&187===r[1]&&191===r[2]&&(r=r.subarray(3));try{r=u(r)}catch{return{code:1007,reason:"Invalid UTF-8",error:!0}}return{code:t,reason:r,error:!1}}parseControlFrame(e){let{opcode:t,payloadLength:r}=this.#tC;if(t===o.CLOSE){if(1===r)return C(this.#y,1002,"Received close frame with a 1-byte body."),!1;if(this.#tC.closeInfo=this.parseCloseBody(e),this.#tC.closeInfo.error){let{code:e,reason:t}=this.#tC.closeInfo;return C(this.#y,e,t),!1}if(!this.#y.closeState.has(l.SENT)&&!this.#y.closeState.has(l.RECEIVED)){let e=A;this.#tC.closeInfo.code&&(e=Buffer.allocUnsafe(2)).writeUInt16BE(this.#tC.closeInfo.code,0);let t=new I(e);this.#y.socket.write(t.createFrame(o.CLOSE)),this.#y.closeState.add(l.SENT)}return this.#y.readyState=a.CLOSING,this.#y.closeState.add(l.RECEIVED),!1}if(t===o.PING){if(!this.#y.closeState.has(l.RECEIVED)){let t=new I(e);this.#y.socket.write(t.createFrame(o.PONG)),this.#y.onPing(e)}}else t===o.PONG&&this.#y.onPong(e);return!0}get closingInfo(){return this.#tC.closeInfo}}e.exports={ByteParser:B}},2726(e,t,r){let{WebsocketFrameSend:i}=r(4018),{opcodes:s,sendHints:n}=r(7946),o=r(9006);class a{#ty=new o;#tQ=!1;#tN;constructor(e){this.#tN=e}add(e,t,r){if(r!==n.blob){if(this.#tQ){let i={promise:null,callback:t,frame:A(e,r)};this.#ty.push(i)}else if(r===n.text){let{0:r,1:s}=i.createFastTextFrame(e);this.#tN.cork(),this.#tN.write(r),this.#tN.write(s,t),this.#tN.uncork()}else this.#tN.write(A(e,r),t);return}let s={promise:e.arrayBuffer().then(e=>{s.promise=null,s.frame=A(e,r)}),callback:t,frame:null};this.#ty.push(s),this.#tQ||this.#tb()}async #tb(){this.#tQ=!0;let e=this.#ty;for(;!e.isEmpty();){let t=e.shift();null!==t.promise&&await t.promise,this.#tN.write(t.frame,t.callback),t.callback=t.frame=null}this.#tQ=!1}}function A(e,t){return new i(function(e,t){switch(t){case n.text:case n.typedArray:return new Uint8Array(e.buffer,e.byteOffset,e.byteLength);case n.arrayBuffer:case n.blob:return new Uint8Array(e)}}(e,t)).createFrame(t===n.text?s.TEXT:s.BINARY)}e.exports={SendQueue:a}},7245(e,t,r){let{webidl:i}=r(849),{validateCloseCodeAndReason:s}=r(3927),{kConstruct:n}=r(3025),{kEnumerableProperty:o}=r(1210);function a(){class e extends DOMException{get reason(){return""}}return void 0!==new e().reason?DOMException:new Proxy(DOMException,{construct(e,t,r){let i=Reflect.construct(e,t,e);return Object.setPrototypeOf(i,r.prototype),i}})}class A extends a(){#tS;#f;constructor(e="",t){if(super(e=i.converters.DOMString(e,"WebSocketError","message"),"WebSocketError"),t===n)return;null!==t&&(t=i.converters.WebSocketCloseInfo(t));let r=t.closeCode??null,o=t.reason??"";s(r,o),0!==o.length&&null===r&&(r=1e3),this.#tS=r,this.#f=o}get closeCode(){return this.#tS}get reason(){return this.#f}static createUnvalidatedWebSocketError(e,t,r){let i=new A(e,n);return i.#tS=t,i.#f=r,i}}let{createUnvalidatedWebSocketError:l}=A;delete A.createUnvalidatedWebSocketError,Object.defineProperties(A.prototype,{closeCode:o,reason:o,[Symbol.toStringTag]:{value:"WebSocketError",writable:!1,enumerable:!1,configurable:!0}}),i.is.WebSocketError=i.util.MakeTypeAssertion(A),e.exports={WebSocketError:A,createUnvalidatedWebSocketError:l}},3867(e,t,r){let{addAbortListener:i}=r(8474),{environmentSettingsObject:s,readableStreamClose:n}=r(638),{states:o,opcodes:a,sentCloseFrameState:A}=r(7946),{webidl:l}=r(849),{getURLRecord:c,isValidSubprotocol:d,isEstablished:g,utf8Decode:u}=r(3927),{establishWebSocketConnection:h,failWebsocketConnection:m,closeWebSocketConnection:p}=r(5563),{channels:C}=r(6708),{WebsocketFrameSend:I}=r(4018),{ByteParser:f}=r(5346),{WebSocketError:E,createUnvalidatedWebSocketError:B}=r(7245),{kEnumerableProperty:y}=r(1210),{utf8DecodeBytes:Q}=r(2718),N=!1;class b{#e4;#tw;#tD;#tx;#tR;#tM;#tk=!1;#y={onConnectionEstablished:(e,t)=>this.#tF(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>m(this.#y,null,e.message),onParserDrain:()=>this.#y.socket.resume(),onSocketData:e=>{this.#tv.write(e)||this.#y.socket.pause()},onSocketError:e=>{this.#y.readyState=o.CLOSING,C.socketError.hasSubscribers&&C.socketError.publish(e),this.#y.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:()=>{},onPong:()=>{},readyState:o.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#tv;constructor(e,t){N||(process.emitWarning("WebSocketStream is experimental! Expect it to change at any time.",{code:"UNDICI-WSS"}),N=!0),l.argumentLengthCheck(arguments,1,"WebSocket"),e=l.converters.USVString(e),null!==t&&(t=l.converters.WebSocketStreamOptions(t));let r=c(e,s.settingsObject.baseUrl),n=t.protocols;if(n.length!==new Set(n.map(e=>e.toLowerCase())).size||n.length>0&&!n.every(e=>d(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");if(this.#e4=r.toString(),this.#tw=Promise.withResolvers(),this.#tD=Promise.withResolvers(),null!=t.signal){let e=t.signal;if(e.aborted){this.#tw.reject(e.reason),this.#tD.reject(e.reason);return}i(e,()=>{g(this.#y.readyState)||(m(this.#y),this.#y.readyState=o.CLOSING,this.#tw.reject(e.reason),this.#tD.reject(e.reason),this.#tk=!0)})}let a=s.settingsObject;this.#y.controller=h(r,n,a,this.#y,t)}get url(){return this.#e4.toString()}get opened(){return this.#tw.promise}get closed(){return this.#tD.promise}close(e){null!==e&&(e=l.converters.WebSocketCloseInfo(e));let t=e.closeCode??null,r=e.reason;p(this.#y,t,r,!0)}#tL(e){e=l.converters.WebSocketStreamWrite(e);let t=Promise.withResolvers(),r=null,i=null;if(l.is.BufferSource(e))r=new Uint8Array(ArrayBuffer.isView(e)?new Uint8Array(e.buffer,e.byteOffset,e.byteLength):e.slice()),i=a.BINARY;else{let s;try{s=l.converters.DOMString(e)}catch(e){return t.reject(e),t.promise}r=new TextEncoder().encode(s),i=a.TEXT}if(!this.#y.closeState.has(A.SENT)&&!this.#y.closeState.has(A.RECEIVED)){let e=new I(r);this.#y.socket.write(e.createFrame(i),()=>{t.resolve(void 0)})}return t.promise}#tF(e,t){this.#y.socket=e.socket;let r=this.#y.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#y.controller.dispatcher?.webSocketOptions?.maxPayloadSize,s=new f(this.#y,t,{maxFragments:r,maxPayloadSize:i});s.on("drain",()=>this.#y.onParserDrain()),s.on("error",e=>this.#y.onParserError(e)),this.#tv=s,this.#y.readyState=o.OPEN;let n=t??"",a=e.headersList.get("sec-websocket-protocol")??"",A=new ReadableStream({start:e=>{this.#tR=e},cancel:e=>this.#tO(e)}),l=new WritableStream({write:e=>this.#tL(e),close:()=>p(this.#y,null,null),abort:e=>this.#tH(e)});this.#tx=A,this.#tM=l,this.#tw.resolve({extensions:n,protocol:a,readable:A,writable:l})}#tU(e,t){let r;if(this.#y.readyState===o.OPEN){if(e===a.TEXT)try{r=u(t)}catch{m(this.#y,1007,"Received invalid UTF-8 in text frame.");return}else e===a.BINARY&&(r=new Uint8Array(t.buffer,t.byteOffset,t.byteLength));this.#tR.enqueue(r)}}#tT(){let e=this.#y.closeState.has(A.SENT)&&this.#y.closeState.has(A.RECEIVED);if(this.#y.readyState=o.CLOSED,this.#tk)return;this.#y.wasEverConnected||this.#tw.reject(new E("Socket never opened"));let t=this.#tv?.closingInfo,r=t?.code??1005;this.#y.closeState.has(A.SENT)||this.#y.closeState.has(A.RECEIVED)||(r=1006);let i=t?.reason==null?"":Q(Buffer.from(t.reason));if(e)n(this.#tR),this.#tM.locked||this.#tM.abort(new DOMException("A closed WebSocketStream cannot be written to","InvalidStateError")),this.#tD.resolve({closeCode:r,reason:i});else{let e=B("unclean close",r,i);this.#tR?.error(e),this.#tM?.abort(e),this.#tD.reject(e)}}#tH(e){let t=null,r="";l.is.WebSocketError(e)&&(t=e.closeCode,r=e.reason),p(this.#y,t,r)}#tO(e){this.#tH(e)}}Object.defineProperties(b.prototype,{url:y,opened:y,closed:y,close:y,[Symbol.toStringTag]:{value:"WebSocketStream",writable:!1,enumerable:!1,configurable:!0}}),l.converters.WebSocketStreamOptions=l.dictionaryConverter([{key:"protocols",converter:l.sequenceConverter(l.converters.USVString),defaultValue:()=>[]},{key:"signal",converter:l.nullableConverter(l.converters.AbortSignal),defaultValue:()=>null}]),l.converters.WebSocketCloseInfo=l.dictionaryConverter([{key:"closeCode",converter:e=>l.converters["unsigned short"](e,l.attributes.EnforceRange)},{key:"reason",converter:l.converters.USVString,defaultValue:()=>""}]),l.converters.WebSocketStreamWrite=function(e){return"string"==typeof e?l.converters.USVString(e):l.converters.BufferSource(e)},e.exports={WebSocketStream:b}},3927(e,t,r){let{states:i,opcodes:s}=r(7946),{isUtf8:n}=r(4573),{removeHTTPWhitespace:o}=r(3518),{collectASequenceOfCodePointsFast:a}=r(5358);function A(e){return e===s.CLOSE||e===s.PING||e===s.PONG}function l(e){return e===s.CONTINUATION}function c(e){return e===s.TEXT||e===s.BINARY}e.exports={isConnecting:function(e){return e===i.CONNECTING},isEstablished:function(e){return e===i.OPEN},isClosing:function(e){return e===i.CLOSING},isClosed:function(e){return e===i.CLOSED},fireEvent:function(e,t,r=(e,t)=>new Event(e,t),i={}){let s=r(e,i);t.dispatchEvent(s)},isValidSubprotocol:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;++t){let r=e.charCodeAt(t);if(r<33||r>126||34===r||40===r||41===r||44===r||47===r||58===r||59===r||60===r||61===r||62===r||63===r||64===r||91===r||92===r||93===r||123===r||125===r)return!1}return!0},isValidStatusCode:function(e){return e>=1e3&&e<1015?1004!==e&&1005!==e&&1006!==e:e>=3e3&&e<=4999},websocketMessageReceived:function(e,t,r){e.onMessage(t,r)},utf8Decode:(()=>{if("string"==typeof process.versions.icu){let e=new TextDecoder("utf-8",{fatal:!0});return e.decode.bind(e)}return function(e){if(n(e))return e.toString("utf-8");throw TypeError("Invalid utf-8 received.")}})(),isControlFrame:A,isContinuationFrame:l,isTextBinaryFrame:c,isValidOpcode:function(e){return c(e)||l(e)||A(e)},parseExtensions:function(e){let t={position:0},r=new Map;for(;t.position<e.length;){let[i,s=""]=a(";",e,t).split("=",2);r.set(o(i,!0,!1),o(s,!1,!0)),t.position++}return r},isValidClientWindowBits:function(e){if(0===e.length)return!1;for(let t=0;t<e.length;t++){let r=e.charCodeAt(t);if(r<48||r>57)return!1}let t=Number.parseInt(e,10);return t>=8&&t<=15},toArrayBuffer:function(e){return e.byteLength===e.buffer.byteLength?e.buffer:new Uint8Array(e).buffer},getURLRecord:function(e,t){let r;try{r=new URL(e,t)}catch(e){throw new DOMException(e,"SyntaxError")}if("http:"===r.protocol?r.protocol="ws:":"https:"===r.protocol&&(r.protocol="wss:"),"ws:"!==r.protocol&&"wss:"!==r.protocol)throw new DOMException("expected a ws: or wss: url","SyntaxError");if(r.hash.length||r.href.endsWith("#"))throw new DOMException("hash","SyntaxError");return r},validateCloseCodeAndReason:function(e,t){if(null!==e&&1e3!==e&&(e<3e3||e>4999))throw new DOMException("invalid code","InvalidAccessError");if(null!==t){let e=Buffer.byteLength(t);if(e>123)throw new DOMException(`Reason must be less than 123 bytes; received ${e}`,"SyntaxError")}}}},3512(e,t,r){let{isArrayBuffer:i}=r(3429),{webidl:s}=r(849),{URLSerializer:n}=r(3518),{environmentSettingsObject:o}=r(638),{staticPropertyDescriptors:a,states:A,sentCloseFrameState:l,sendHints:c,opcodes:d}=r(7946),{isConnecting:g,isEstablished:u,isClosing:h,isClosed:m,isValidSubprotocol:p,fireEvent:C,utf8Decode:I,toArrayBuffer:f,getURLRecord:E}=r(3927),{establishWebSocketConnection:B,closeWebSocketConnection:y,failWebsocketConnection:Q}=r(5563),{ByteParser:N}=r(5346),{kEnumerableProperty:b}=r(1210),{getGlobalDispatcher:S}=r(8023),{ErrorEvent:w,CloseEvent:D,createFastMessageEvent:x}=r(7342),{SendQueue:R}=r(2726),{WebsocketFrameSend:M}=r(4018),{channels:k}=r(6708);class F extends EventTarget{#e5={open:null,error:null,close:null,message:null};#tP=0;#tY="";#tf="";#tG;#y={onConnectionEstablished:(e,t)=>this.#tF(e,t),onMessage:(e,t)=>this.#tU(e,t),onParserError:e=>Q(this.#y,null,e.message),onParserDrain:()=>this.#tz(),onSocketData:e=>{this.#tv.write(e)||this.#y.socket.pause()},onSocketError:e=>{this.#y.readyState=A.CLOSING,k.socketError.hasSubscribers&&k.socketError.publish(e),this.#y.socket.destroy()},onSocketClose:()=>this.#tT(),onPing:e=>{k.ping.hasSubscribers&&k.ping.publish({payload:e,websocket:this})},onPong:e=>{k.pong.hasSubscribers&&k.pong.publish({payload:e,websocket:this})},readyState:A.CONNECTING,socket:null,closeState:new Set,controller:null,wasEverConnected:!1};#e4;#tq;#tv;constructor(e,t=[]){super(),s.util.markAsUncloneable(this);let r="WebSocket constructor";s.argumentLengthCheck(arguments,1,r);let i=s.converters["DOMString or sequence<DOMString> or WebSocketInit"](t,r,"options");e=s.converters.USVString(e),t=i.protocols;let n=E(e,o.settingsObject.baseUrl);if("string"==typeof t&&(t=[t]),t.length!==new Set(t.map(e=>e.toLowerCase())).size||t.length>0&&!t.every(e=>p(e)))throw new DOMException("Invalid Sec-WebSocket-Protocol value","SyntaxError");this.#e4=new URL(n.href);let a=o.settingsObject;this.#y.controller=B(n,t,a,this.#y,i),this.#y.readyState=F.CONNECTING,this.#tq="blob"}close(e,t){s.brandCheck(this,F),void 0!==e&&(e=s.converters["unsigned short"](e,"WebSocket.close","code",s.attributes.Clamp)),void 0!==t&&(t=s.converters.USVString(t)),e??=null,t??="",y(this.#y,e,t,!0)}send(e){s.brandCheck(this,F);let t="WebSocket.send";if(s.argumentLengthCheck(arguments,1,t),e=s.converters.WebSocketSendData(e,t,"data"),g(this.#y.readyState))throw new DOMException("Sent before connected.","InvalidStateError");if(!(!u(this.#y.readyState)||h(this.#y.readyState)))if("string"==typeof e){let t=Buffer.from(e);this.#tP+=t.byteLength,this.#tG.add(t,()=>{this.#tP-=t.byteLength},c.text)}else i(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.arrayBuffer)):ArrayBuffer.isView(e)?(this.#tP+=e.byteLength,this.#tG.add(e,()=>{this.#tP-=e.byteLength},c.typedArray)):s.is.Blob(e)&&(this.#tP+=e.size,this.#tG.add(e,()=>{this.#tP-=e.size},c.blob))}get readyState(){return s.brandCheck(this,F),this.#y.readyState}get bufferedAmount(){return s.brandCheck(this,F),this.#tP}get url(){return s.brandCheck(this,F),n(this.#e4)}get extensions(){return s.brandCheck(this,F),this.#tf}get protocol(){return s.brandCheck(this,F),this.#tY}get onopen(){return s.brandCheck(this,F),this.#e5.open}set onopen(e){s.brandCheck(this,F),this.#e5.open&&this.removeEventListener("open",this.#e5.open);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("open",t),this.#e5.open=e):this.#e5.open=null}get onerror(){return s.brandCheck(this,F),this.#e5.error}set onerror(e){s.brandCheck(this,F),this.#e5.error&&this.removeEventListener("error",this.#e5.error);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("error",t),this.#e5.error=e):this.#e5.error=null}get onclose(){return s.brandCheck(this,F),this.#e5.close}set onclose(e){s.brandCheck(this,F),this.#e5.close&&this.removeEventListener("close",this.#e5.close);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("close",t),this.#e5.close=e):this.#e5.close=null}get onmessage(){return s.brandCheck(this,F),this.#e5.message}set onmessage(e){s.brandCheck(this,F),this.#e5.message&&this.removeEventListener("message",this.#e5.message);let t=s.converters.EventHandlerNonNull(e);null!==t?(this.addEventListener("message",t),this.#e5.message=e):this.#e5.message=null}get binaryType(){return s.brandCheck(this,F),this.#tq}set binaryType(e){s.brandCheck(this,F),"blob"!==e&&"arraybuffer"!==e?this.#tq="blob":this.#tq=e}#tF(e,t){this.#y.socket=e.socket;let r=this.#y.controller.dispatcher?.webSocketOptions?.maxFragments,i=this.#y.controller.dispatcher?.webSocketOptions?.maxPayloadSize,s=new N(this.#y,t,{maxFragments:r,maxPayloadSize:i});s.on("drain",()=>this.#y.onParserDrain()),s.on("error",e=>this.#y.onParserError(e)),this.#tv=s,this.#tG=new R(e.socket),this.#y.readyState=A.OPEN;let n=e.headersList.get("sec-websocket-extensions");null!==n&&(this.#tf=n);let o=e.headersList.get("sec-websocket-protocol");if(null!==o&&(this.#tY=o),C("open",this),k.open.hasSubscribers){var a;let t=e.headersList.entries;k.open.publish({address:(a=e.socket,"function"==typeof a?.address?a.address():"function"==typeof a?.session?.socket?.address?a.session.socket.address():null),protocol:this.#tY,extensions:this.#tf,websocket:this,handshakeResponse:{status:e.status,statusText:e.statusText,headers:t}})}}#tU(e,t){let r;if(this.#y.readyState===A.OPEN){if(e===d.TEXT)try{r=I(t)}catch{Q(this.#y,1007,"Received invalid UTF-8 in text frame.");return}else e===d.BINARY&&(r="blob"===this.#tq?new Blob([t]):f(t));C("message",this,x,{origin:this.#e4.origin,data:r})}}#tz(){this.#y.socket.resume()}#tT(){let e=this.#y.closeState.has(l.SENT)&&this.#y.closeState.has(l.RECEIVED),t=1005,r="",i=this.#tv?.closingInfo;i&&!i.error&&(t=i.code??1005,r=i.reason),this.#y.readyState=A.CLOSED,this.#y.closeState.has(l.RECEIVED)||(t=1006,C("error",this,(e,t)=>new w(e,t),{error:TypeError(r)})),C("close",this,(e,t)=>new D(e,t),{wasClean:e,code:t,reason:r}),k.close.hasSubscribers&&k.close.publish({websocket:this,code:t,reason:r})}static ping(e,t){if(Buffer.isBuffer(t)){if(t.length>125)throw TypeError("A PING frame cannot have a body larger than 125 bytes.")}else if(void 0!==t)throw TypeError("Expected buffer payload");let r=e.#y.readyState;if(u(r)&&!h(r)&&!m(r)){let r=new M(t);e.#y.socket.write(r.createFrame(d.PING))}}}let{ping:U}=F;Reflect.deleteProperty(F,"ping"),F.CONNECTING=F.prototype.CONNECTING=A.CONNECTING,F.OPEN=F.prototype.OPEN=A.OPEN,F.CLOSING=F.prototype.CLOSING=A.CLOSING,F.CLOSED=F.prototype.CLOSED=A.CLOSED,Object.defineProperties(F.prototype,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a,url:b,readyState:b,bufferedAmount:b,onopen:b,onerror:b,onclose:b,close:b,onmessage:b,binaryType:b,send:b,extensions:b,protocol:b,[Symbol.toStringTag]:{value:"WebSocket",writable:!1,enumerable:!1,configurable:!0}}),Object.defineProperties(F,{CONNECTING:a,OPEN:a,CLOSING:a,CLOSED:a}),s.converters["sequence<DOMString>"]=s.sequenceConverter(s.converters.DOMString),s.converters["DOMString or sequence<DOMString>"]=function(e,t,r){return s.util.Type(e)===s.util.Types.OBJECT&&Symbol.iterator in e?s.converters["sequence<DOMString>"](e):s.converters.DOMString(e,t,r)},s.converters.WebSocketInit=s.dictionaryConverter([{key:"protocols",converter:s.converters["DOMString or sequence<DOMString>"],defaultValue:()=>[]},{key:"dispatcher",converter:s.converters.any,defaultValue:()=>S()},{key:"headers",converter:s.nullableConverter(s.converters.HeadersInit)}]),s.converters["DOMString or sequence<DOMString> or WebSocketInit"]=function(e){return s.util.Type(e)!==s.util.Types.OBJECT||Symbol.iterator in e?{protocols:s.converters["DOMString or sequence<DOMString>"](e)}:s.converters.WebSocketInit(e)},s.converters.WebSocketSendData=function(e){return s.util.Type(e)===s.util.Types.OBJECT&&(s.is.Blob(e)||s.is.BufferSource(e))?e:s.converters.USVString(e)},e.exports={WebSocket:F,ping:U}},2613(e){e.exports=i("assert")},4434(e){e.exports=i("events")},8611(e){e.exports=i("http")},5692(e){e.exports=i("https")},9278(e){e.exports=i("net")},4589(e){e.exports=i("node:assert")},6698(e){e.exports=i("node:async_hooks")},4573(e){e.exports=i("node:buffer")},7540(e){e.exports=i("node:console")},7598(e){e.exports=i("node:crypto")},3053(e){e.exports=i("node:diagnostics_channel")},610(e){e.exports=i("node:dns")},8474(e){e.exports=i("node:events")},1455(e){e.exports=i("node:fs/promises")},7067(e){e.exports=i("node:http")},2467(e){e.exports=i("node:http2")},7030(e){e.exports=i("node:net")},6760(e){e.exports=i("node:path")},643(e){e.exports=i("node:perf_hooks")},1792(e){e.exports=i("node:querystring")},99(e){e.exports=i("node:sqlite")},7075(e){e.exports=i("node:stream")},7830(e){e.exports=i("node:stream/web")},7997(e){e.exports=i("node:timers")},1692(e){e.exports=i("node:tls")},3136(e){e.exports=i("node:url")},7975(e){e.exports=i("node:util")},3429(e){e.exports=i("node:util/types")},5919(e){e.exports=i("node:worker_threads")},8522(e){e.exports=i("node:zlib")},857(e){e.exports=i("os")},4756(e){e.exports=i("tls")},2018(e){e.exports=i("tty")},7016(e){e.exports=i("url")},9023(e){e.exports=i("util")},5997(e,t){t.w=void 0,t.w={operationRequestMap:new WeakMap}},7301(e,t){t.w=void 0,t.w={instrumenterImplementation:void 0}}},n={};function o(e){var t=n[e];if(void 0!==t)return t.exports;var r=n[e]={exports:{}};return s[e].call(r.exports,r,r.exports,o),r.exports}o.d=(e,t,r)=>{var i=(t,r)=>{for(var i in t)o.o(t,i)&&!o.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,[r]:t[i]})};i(t,"get"),i(r,"value")},o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"u">typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{let e,t,r,s,n,a,A,l,c,d,g,u,h,m,p,C,I,f,E,B,y,Q,N,b,S,w,D,x,R,M,k,F,U,v,T,L,O,H,P,Y,G,z,q,V,_,J,W,j;var K,X,Z,$,ee,et,er,ei,es,en,eo,ea,eA,el,ec,ed,eg,eu,eh,em,ep,eC,eI,ef,eE,eB,ey,eQ,eN,eb,eS,ew,eD,ex,eR,eM,ek,eF,eU,ev,eT,eL={};o.r(eL),o.d(eL,{Do:()=>ij,all:()=>ik,andThen:()=>iQ,as:()=>iI,asVoid:()=>iE,bind:()=>iW,bindTo:()=>i_,composeK:()=>iD,contains:()=>iq,containsWith:()=>iz,exists:()=>iV,filter:()=>iO,filterMap:()=>iL,firstSomeOf:()=>ia,flatMap:()=>iy,flatMapNullishOr:()=>iN,flatten:()=>ib,fromIterable:()=>r7,fromNullOr:()=>ic,fromNullishOr:()=>iA,fromUndefinedOr:()=>il,gen:()=>iK,getFailure:()=>it,getOrElse:()=>ir,getOrNull:()=>ig,getOrThrow:()=>ip,getOrThrowWith:()=>im,getOrUndefined:()=>iu,getSuccess:()=>ie,isNone:()=>r4,isOption:()=>r5,isSome:()=>r8,let:()=>iJ,lift2:()=>iY,liftNullishOr:()=>id,liftPredicate:()=>iG,liftThrowable:()=>ih,makeCombinerFailFast:()=>iZ,makeEquivalence:()=>iH,makeOrder:()=>iP,makeReducer:()=>iX,makeReducerFailFast:()=>i$,map:()=>iC,match:()=>r9,none:()=>r2,orElse:()=>ii,orElseResult:()=>io,orElseSome:()=>is,partitionMap:()=>iT,product:()=>iR,productMany:()=>iM,reduceCompact:()=>iU,some:()=>r3,tap:()=>ix,toArray:()=>iv,toRefinement:()=>r6,void:()=>iB,zipLeft:()=>iw,zipRight:()=>iS,zipWith:()=>iF});var eO={};o.r(eO),o.d(eO,{AccessPolicy:()=>yB,AppendBlobAppendBlockExceptionHeaders:()=>NT,AppendBlobAppendBlockFromUrlExceptionHeaders:()=>NO,AppendBlobAppendBlockFromUrlHeaders:()=>NL,AppendBlobAppendBlockHeaders:()=>Nv,AppendBlobCreateExceptionHeaders:()=>NU,AppendBlobCreateHeaders:()=>NF,AppendBlobSealExceptionHeaders:()=>NP,AppendBlobSealHeaders:()=>NH,ArrowConfiguration:()=>yY,ArrowField:()=>yG,BlobAbortCopyFromURLExceptionHeaders:()=>Ns,BlobAbortCopyFromURLHeaders:()=>Ni,BlobAcquireLeaseExceptionHeaders:()=>QZ,BlobAcquireLeaseHeaders:()=>QX,BlobBreakLeaseExceptionHeaders:()=>Q8,BlobBreakLeaseHeaders:()=>Q4,BlobChangeLeaseExceptionHeaders:()=>Q5,BlobChangeLeaseHeaders:()=>Q3,BlobCopyFromURLExceptionHeaders:()=>Nr,BlobCopyFromURLHeaders:()=>Nt,BlobCreateSnapshotExceptionHeaders:()=>Q6,BlobCreateSnapshotHeaders:()=>Q9,BlobDeleteExceptionHeaders:()=>QT,BlobDeleteHeaders:()=>Qv,BlobDeleteImmutabilityPolicyExceptionHeaders:()=>Q_,BlobDeleteImmutabilityPolicyHeaders:()=>QV,BlobDownloadExceptionHeaders:()=>Qk,BlobDownloadHeaders:()=>QM,BlobFlatListSegment:()=>yQ,BlobGetAccountInfoExceptionHeaders:()=>NA,BlobGetAccountInfoHeaders:()=>Na,BlobGetPropertiesExceptionHeaders:()=>QU,BlobGetPropertiesHeaders:()=>QF,BlobGetTagsExceptionHeaders:()=>Ng,BlobGetTagsHeaders:()=>Nd,BlobHierarchyListSegment:()=>yD,BlobItemInternal:()=>yN,BlobName:()=>yb,BlobPrefix:()=>yx,BlobPropertiesInternal:()=>yS,BlobQueryExceptionHeaders:()=>Nc,BlobQueryHeaders:()=>Nl,BlobReleaseLeaseExceptionHeaders:()=>Q0,BlobReleaseLeaseHeaders:()=>Q$,BlobRenewLeaseExceptionHeaders:()=>Q2,BlobRenewLeaseHeaders:()=>Q1,BlobServiceProperties:()=>yr,BlobServiceStatistics:()=>yl,BlobSetExpiryExceptionHeaders:()=>QP,BlobSetExpiryHeaders:()=>QH,BlobSetHttpHeadersExceptionHeaders:()=>QG,BlobSetHttpHeadersHeaders:()=>QY,BlobSetImmutabilityPolicyExceptionHeaders:()=>Qq,BlobSetImmutabilityPolicyHeaders:()=>Qz,BlobSetLegalHoldExceptionHeaders:()=>QW,BlobSetLegalHoldHeaders:()=>QJ,BlobSetMetadataExceptionHeaders:()=>QK,BlobSetMetadataHeaders:()=>Qj,BlobSetTagsExceptionHeaders:()=>Nh,BlobSetTagsHeaders:()=>Nu,BlobSetTierExceptionHeaders:()=>No,BlobSetTierHeaders:()=>Nn,BlobStartCopyFromURLExceptionHeaders:()=>Ne,BlobStartCopyFromURLHeaders:()=>Q7,BlobTag:()=>yf,BlobTags:()=>yI,BlobUndeleteExceptionHeaders:()=>QO,BlobUndeleteHeaders:()=>QL,Block:()=>yk,BlockBlobCommitBlockListExceptionHeaders:()=>NK,BlockBlobCommitBlockListHeaders:()=>Nj,BlockBlobGetBlockListExceptionHeaders:()=>NZ,BlockBlobGetBlockListHeaders:()=>NX,BlockBlobPutBlobFromUrlExceptionHeaders:()=>Nq,BlockBlobPutBlobFromUrlHeaders:()=>Nz,BlockBlobStageBlockExceptionHeaders:()=>N_,BlockBlobStageBlockFromURLExceptionHeaders:()=>NW,BlockBlobStageBlockFromURLHeaders:()=>NJ,BlockBlobStageBlockHeaders:()=>NV,BlockBlobUploadExceptionHeaders:()=>NG,BlockBlobUploadHeaders:()=>NY,BlockList:()=>yM,BlockLookupList:()=>yR,ClearRange:()=>yv,ContainerAcquireLeaseExceptionHeaders:()=>Qp,ContainerAcquireLeaseHeaders:()=>Qm,ContainerBreakLeaseExceptionHeaders:()=>Qy,ContainerBreakLeaseHeaders:()=>QB,ContainerChangeLeaseExceptionHeaders:()=>QN,ContainerChangeLeaseHeaders:()=>QQ,ContainerCreateExceptionHeaders:()=>y8,ContainerCreateHeaders:()=>y4,ContainerDeleteExceptionHeaders:()=>Qe,ContainerDeleteHeaders:()=>y7,ContainerFilterBlobsExceptionHeaders:()=>Qh,ContainerFilterBlobsHeaders:()=>Qu,ContainerGetAccessPolicyExceptionHeaders:()=>Qs,ContainerGetAccessPolicyHeaders:()=>Qi,ContainerGetAccountInfoExceptionHeaders:()=>QR,ContainerGetAccountInfoHeaders:()=>Qx,ContainerGetPropertiesExceptionHeaders:()=>y6,ContainerGetPropertiesHeaders:()=>y9,ContainerItem:()=>yg,ContainerListBlobFlatSegmentExceptionHeaders:()=>QS,ContainerListBlobFlatSegmentHeaders:()=>Qb,ContainerListBlobHierarchySegmentExceptionHeaders:()=>QD,ContainerListBlobHierarchySegmentHeaders:()=>Qw,ContainerProperties:()=>yu,ContainerReleaseLeaseExceptionHeaders:()=>QI,ContainerReleaseLeaseHeaders:()=>QC,ContainerRenameExceptionHeaders:()=>Qc,ContainerRenameHeaders:()=>Ql,ContainerRenewLeaseExceptionHeaders:()=>QE,ContainerRenewLeaseHeaders:()=>Qf,ContainerRestoreExceptionHeaders:()=>QA,ContainerRestoreHeaders:()=>Qa,ContainerSetAccessPolicyExceptionHeaders:()=>Qo,ContainerSetAccessPolicyHeaders:()=>Qn,ContainerSetMetadataExceptionHeaders:()=>Qr,ContainerSetMetadataHeaders:()=>Qt,ContainerSubmitBatchExceptionHeaders:()=>Qg,ContainerSubmitBatchHeaders:()=>Qd,CorsRule:()=>yo,DelimitedTextConfiguration:()=>yH,FilterBlobItem:()=>yC,FilterBlobSegment:()=>yp,GeoReplication:()=>yc,JsonTextConfiguration:()=>yP,KeyInfo:()=>yh,ListBlobsFlatSegmentResponse:()=>yy,ListBlobsHierarchySegmentResponse:()=>yw,ListContainersSegmentResponse:()=>yd,Logging:()=>yi,Metrics:()=>yn,PageBlobClearPagesExceptionHeaders:()=>NE,PageBlobClearPagesHeaders:()=>Nf,PageBlobCopyIncrementalExceptionHeaders:()=>Nk,PageBlobCopyIncrementalHeaders:()=>NM,PageBlobCreateExceptionHeaders:()=>Np,PageBlobCreateHeaders:()=>Nm,PageBlobGetPageRangesDiffExceptionHeaders:()=>NS,PageBlobGetPageRangesDiffHeaders:()=>Nb,PageBlobGetPageRangesExceptionHeaders:()=>NN,PageBlobGetPageRangesHeaders:()=>NQ,PageBlobResizeExceptionHeaders:()=>ND,PageBlobResizeHeaders:()=>Nw,PageBlobUpdateSequenceNumberExceptionHeaders:()=>NR,PageBlobUpdateSequenceNumberHeaders:()=>Nx,PageBlobUploadPagesExceptionHeaders:()=>NI,PageBlobUploadPagesFromURLExceptionHeaders:()=>Ny,PageBlobUploadPagesFromURLHeaders:()=>NB,PageBlobUploadPagesHeaders:()=>NC,PageList:()=>yF,PageRange:()=>yU,QueryFormat:()=>yO,QueryRequest:()=>yT,QuerySerialization:()=>yL,RetentionPolicy:()=>ys,ServiceFilterBlobsExceptionHeaders:()=>y5,ServiceFilterBlobsHeaders:()=>y3,ServiceGetAccountInfoExceptionHeaders:()=>y0,ServiceGetAccountInfoHeaders:()=>y$,ServiceGetPropertiesExceptionHeaders:()=>y_,ServiceGetPropertiesHeaders:()=>yV,ServiceGetStatisticsExceptionHeaders:()=>yW,ServiceGetStatisticsHeaders:()=>yJ,ServiceGetUserDelegationKeyExceptionHeaders:()=>yZ,ServiceGetUserDelegationKeyHeaders:()=>yX,ServiceListContainersSegmentExceptionHeaders:()=>yK,ServiceListContainersSegmentHeaders:()=>yj,ServiceSetPropertiesExceptionHeaders:()=>yq,ServiceSetPropertiesHeaders:()=>yz,ServiceSubmitBatchExceptionHeaders:()=>y2,ServiceSubmitBatchHeaders:()=>y1,SignedIdentifier:()=>yE,StaticWebsite:()=>ya,StorageError:()=>yA,UserDelegationKey:()=>ym});var eH=o(7067);let eP=(e,t)=>{switch(t.length){case 0:return e;case 1:return t[0](e);case 2:return t[1](t[0](e));case 3:return t[2](t[1](t[0](e)));case 4:return t[3](t[2](t[1](t[0](e))));case 5:return t[4](t[3](t[2](t[1](t[0](e)))));case 6:return t[5](t[4](t[3](t[2](t[1](t[0](e))))));case 7:return t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))));case 8:return t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e))))))));case 9:return t[8](t[7](t[6](t[5](t[4](t[3](t[2](t[1](t[0](e)))))))));default:{let r=e;for(let e=0,i=t.length;e<i;e++)r=t[e](r);return r}}},eY={pipe(){return eP(this,arguments)}},eG=function(){function e(){}return e.prototype=eY,e}(),ez=function(e,t){if("function"==typeof e)return function(){return e(arguments)?t.apply(this,arguments):e=>t(e,...arguments)};switch(e){case 0:case 1:throw RangeError(`Invalid arity ${e}`);case 2:return function(e,r){return arguments.length>=2?t(e,r):function(r){return t(r,e)}};case 3:return function(e,r,i){return arguments.length>=3?t(e,r,i):function(i){return t(i,e,r)}};default:return function(){if(arguments.length>=e)return t.apply(this,arguments);let r=arguments;return function(e){return t(e,...r)}}}},eq=e=>e,eV=e=>()=>e,e_=eV(!0),eJ=eV(!1),eW=eV(null),ej=eV(void 0);function eK(e,...t){return eP(e,t)}function eX(e){let t=new WeakMap;return r=>{if(t.has(r))return t.get(r);let i=e(r);return t.set(r,i),i}}let eZ=e=>{let t=new Set(Reflect.ownKeys(e));if(e.constructor===Object)return t;e instanceof Error&&t.delete("stack");let r=Object.getPrototypeOf(e),i=r;for(;null!==i&&i!==Object.prototype;){let e=Reflect.ownKeys(i);for(let r=0;r<e.length;r++)t.add(e[r]);i=Object.getPrototypeOf(i)}return t.has("constructor")&&"function"==typeof e.constructor&&r===e.constructor.prototype&&t.delete("constructor"),t},e$=new WeakSet;function e0(e){return"string"==typeof e}function e1(e){return"number"==typeof e}function e2(e){return"boolean"==typeof e}function e3(e){return"bigint"==typeof e}function e5(e){return"symbol"==typeof e}function e4(e){return"function"==typeof e}function e8(e){return void 0!==e}function e9(e){return null!=e}function e6(e){return!0}let e7=ez(2,(e,t)=>{var r;return("object"==typeof(r=e)&&null!==r||e4(r))&&t in e}),te=ez(2,(e,t)=>e7(e,"_tag")&&e._tag===t);function tt(e){return e7(e,Symbol.iterator)||e0(e)}let tr="~effect/interfaces/Hash",ti=e=>{switch(typeof e){case"number":return tA(e);case"bigint":return tl(e.toString(10));case"boolean":case"symbol":return tl(String(e));case"string":return tl(e);case"undefined":return tl("undefined");case"function":case"object":if(null===e)return tl("null");{if(e instanceof Date)return tl(e.toISOString());if(e instanceof RegExp)return tl(e.toString());if(e$.has(e))return ts(e);if(tC.has(e))return tC.get(e);let t=function(e,t){if(tI.has(e))return tl("[Circular]");tI.add(e);let r=t();return tI.delete(e),r}(e,()=>{if(ta(e))return e[tr]();if("function"==typeof e)return ts(e);if(Array.isArray(e)||ArrayBuffer.isView(e))return tu(e);if(e instanceof Map)return th(e);if(e instanceof Set)return tm(e);return td(e)});return tC.set(e,t),t}default:throw Error(`BUG: unhandled typeof ${typeof e} - please report an issue at https://github.com/Effect-TS/effect/issues`)}},ts=e=>(tp.has(e)||tp.set(e,tA(Math.floor(Math.random()*Number.MAX_SAFE_INTEGER))),tp.get(e)),tn=ez(2,(e,t)=>53*e^t),to=e=>0xbfffffff&e|e>>>1&0x40000000,ta=e=>e7(e,tr),tA=e=>{if(e!=e)return tl("NaN");if(e===1/0)return tl("Infinity");if(e===-1/0)return tl("-Infinity");let t=0|e;for(t!==e&&(t^=0xffffffff*e);e>0xffffffff;)t^=e/=0xffffffff;return to(t)},tl=e=>{let t=5381,r=e.length;for(;r;)t=33*t^e.charCodeAt(--r);return to(t)},tc=(e,t)=>{let r=12289;for(let i of t)r^=tn(ti(i),ti(e[i]));return to(r)},td=e=>tc(e,eZ(e)),tg=(e,t)=>r=>{let i=e;for(let e of r)i^=t(e);return to(i)},tu=tg(6151,ti),th=tg(tl("Map"),([e,t])=>tn(ti(e),ti(t))),tm=tg(tl("Set"),ti),tp=new WeakMap,tC=new WeakMap,tI=new WeakSet,tf="~effect/interfaces/Equal";function tE(){return 1==arguments.length?e=>tB(e,arguments[0]):tB(arguments[0],arguments[1])}function tB(e,t){if(e===t)return!0;if(null==e||null==t)return!1;let r=typeof e;return r===typeof t&&("number"===r&&e!=e&&t!=t||!("object"!==r&&"function"!==r||e$.has(e)||e$.has(t))&&function(e,t,r){let i=tb.get(e);if(i){if(i.has(t))return i.get(t)}else i=new WeakMap,tb.set(e,i);let s=r(e,t);i.set(t,s);let n=tb.get(t);return n||(n=new WeakMap,tb.set(t,n)),n.set(e,s),s}(e,t,tN))}let ty=new WeakSet,tQ=new WeakSet;function tN(e,t){if(ti(e)!==ti(t))return!1;if(e instanceof Date)return t instanceof Date&&e.toISOString()===t.toISOString();if(e instanceof RegExp)return t instanceof RegExp&&e.toString()===t.toString();let r=tD(e),i=tD(t);if(r!==i)return!1;let s=r&&i;return("function"!=typeof e||!!s)&&function(e,t,r){let i=ty.has(e),s=tQ.has(t);if(i&&s)return!0;if(i||s)return!1;ty.add(e),tQ.add(t);let n=r();return ty.delete(e),tQ.delete(t),n}(e,t,()=>{if(s)return e[tf](t);if(Array.isArray(e))return!!Array.isArray(t)&&e.length===t.length&&function(e,t){for(let r=0;r<e.length;r++)if(!tB(e[r],t[r]))return!1;return!0}(e,t);if(ArrayBuffer.isView(e))return!!ArrayBuffer.isView(t)&&e.byteLength===t.byteLength&&function(e,t){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(e[r]!==t[r])return!1;return!0}(e,t);if(e instanceof Map)return t instanceof Map&&e.size===t.size&&tS(e,t);if(e instanceof Set)return t instanceof Set&&e.size===t.size&&tw(e,t);var r=e,i=t;let n=eZ(r),o=eZ(i);if(n.size!==o.size)return!1;for(let e of n)if(!o.has(e)||!tB(r[e],i[e]))return!1;return!0})}let tb=new WeakMap,tS=(K=tB,X=tB,function(e,t){for(let[r,i]of e){let e=!1;for(let[s,n]of t)if(K(r,s)&&X(i,n)){e=!0;break}if(!e)return!1}return!0}),tw=(Z=tB,function(e,t){for(let r of e){let e=!1;for(let i of t)if(Z(r,i)){e=!0;break}if(!e)return!1}return!0}),tD=e=>e7(e,tf),tx=Symbol.for("~effect/Redactable");function tR(e){return e7(e,tx)?tM(e):e}function tM(e){return e[tx](globalThis[tk]?.context??tF)}let tk="~effect/Fiber/currentFiber",tF={"~effect/Context":{},mapUnsafe:new Map,pipe(){return eP(this,arguments)}};function tU(e,t){let r=t?.space??0,i=new WeakSet,s=r?"number"==typeof r?" ".repeat(r):r:"",n=(e,t)=>{let r=e?.constructor;return r&&r!==Object.prototype.constructor&&r.name?`${r.name}(${t})`:t};return function e(r,o=0){if(Array.isArray(r)){let t,n;if(i.has(r))return tv;if(i.add(r),!s||r.length<=1)return`[${r.map(t=>e(t,o)).join(",")}]`;let a=r.map(t=>e(t,o+1)).join(",\n"+(t=o+1,s.repeat(t)));return`[ ${n=o+1,s.repeat(n)}${a} -${s.repeat(o)}]`}if(r instanceof Date)return tm(r);if(!t?.ignoreToString&&eO(r,"toString")&&"function"==typeof r.toString&&r.toString!==Object.prototype.toString&&r.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(r);return r instanceof Error&&r.cause?`${t} (cause: ${e(r.cause,o)})`:t}if("string"==typeof r)return JSON.stringify(r);if("number"==typeof r||null==r||"boolean"==typeof r||"symbol"==typeof r)return String(r);if("bigint"==typeof r)return String(r)+"n";if("object"==typeof r||"function"==typeof r){if(i.has(r))return tu;if(i.add(r),ta in r)return tg(tl(r));if(Symbol.iterator in r)return`${r.constructor.name}(${e(Array.from(r),o)})`;let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(r);if(!s||t.length<=1){let i=`{${t.map(t=>`${th(t)}:${e(r[t],o)}`).join(",")}}`;return n(r,i)}let a=`{ -${t.map(t=>{let i;return`${i=o+1,s.repeat(i)}${th(t)}: ${e(r[t],o+1)}`}).join(",\n")} -${s.repeat(o)}}`;return n(r,a)}return String(r)}(e,0)}let tu="[Circular]";function th(e){return"string"==typeof e?JSON.stringify(e):String(e)}function tm(e){try{return e.toISOString()}catch{return"Invalid Date"}}function tp(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=tA(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}let tC=Symbol.for("nodejs.util.inspect.custom"),tI=e=>{try{if(eO(e,"toJSON")&&eL(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(tI)}catch{return"[toJSON threw]"}return tA(e)},tE={toJSON(){return tI(this)},[tC](){return this.toJSON()},toString(){return tg(this.toJSON())}};class tf{[tC](){return this.toJSON()}toString(){return tg(this.toJSON())}}class tB{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new tB(this.self)}}let ty=(c={[l="~effect/Utils/internal"]:e=>e()},c[l](()=>Error().stack)?.includes(l)===!0?c[l]:({[l]:e=>e()})[l]),tQ="~effect/Effect",tN="~effect/Exit",tb=`${tQ}/identifier`,tS=`${tQ}/args`,tw=`${tQ}/evaluate`,tD=`${tQ}/successCont`,tx=`${tQ}/failureCont`,tR=`${tQ}/ensureCont`,tM=Symbol.for("effect/Effect/Yield"),tk={pipe(){return ts(this,arguments)},toJSON(){return{...this}},toString(){return tg(this.toJSON(),{ignoreToString:!0,space:2})},[tC](){return this.toJSON()}},tU={[tQ]:{_A:eN,_E:eN,_R:eN},...tk,[Symbol.iterator](){return new tB(this)},toJSON(){return{_id:"Effect",op:this[tb],...tS in this?{args:this[tS]}:void 0}}},tF="~effect/Cause",tv="~effect/Cause/Reason",tT=e=>eO(e,tF);class tL{[tF];reasons;constructor(e){this[tF]=tF,this.reasons=e}pipe(){return ts(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${tg(this.reasons)})`}[tC](){return this.toJSON()}[e5](e){return tT(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>e4(t,e.reasons[r]))}[eY](){return eZ(this.reasons)}}let tH=new WeakMap;class tO{[tv];annotations;_tag;constructor(e,t,r){if(this[tv]=tv,this._tag=e,t!==tP&&"object"==typeof r&&null!==r&&t.size>0){let e=tH.get(r);e&&(t=new Map([...e,...t])),tH.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return ts(this,arguments)}toString(){return tg(this)}[tC](){return this.toString()}}let tP=new Map;class tY extends tO{error;constructor(e,t=tP){super("Fail",t,e),this.error=e}toString(){return`Fail(${tg(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[e5](e){return tJ(e)&&e4(this.error,e.error)&&e4(this.annotations,e.annotations)}[eY](){return eq(eW(this._tag))(eq(eG(this.error))(eG(this.annotations)))}}let tG=e=>new tL(e),tz=new tL([]);class tq extends tO{defect;constructor(e,t=tP){super("Die",t,e),this.defect=e}toString(){return`Die(${tg(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[e5](e){return t_(e)&&e4(this.defect,e.defect)&&e4(this.annotations,e.annotations)}[eY](){return eq(eW(this._tag))(eq(eG(this.defect))(eG(this.annotations)))}}let tV=eQ(e=>tT(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new tL(e.reasons.map(e=>e.annotate(t,r)))),tJ=e=>"Fail"===e._tag,t_=e=>"Die"===e._tag,tW=e=>"Interrupt"===e._tag;function tj(e){return t5("Effect.evaluate: Not implemented")}let tK=e=>({...tU,[tb]:e.op,[tw]:e[tw]??tj,[tD]:e[tD],[tx]:e[tx],[tR]:e[tR]}),tX=e=>{let t=tK(e);return function(){let r=Object.create(t);return r[tS]=!1===e.single?arguments:arguments[0],r}},tZ=e=>{let t={...tK(e),[tN]:tN,_tag:e.op,get[e.prop](){return this[tS]},toString(){return`${e.op}(${tg(this[tS])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[tS]}},[e5](e){return eO(e,tN)&&e._tag===this._tag&&e4(this[tS],e[tS])},[eY](){return eq(eW(e.op),eG(this[tS]))}};return function(e){let r=Object.create(t);return r[tS]=e,r}},t$=tZ({op:"Success",prop:"value",[tw](e){let t=e.getCont(tD);return t?t[tD](this[tS],e,this):e.yieldWith(this)}}),t0={key:"effect/Cause/StackTrace"},t1="effect/Cause/InterruptorStackTrace",t2=tZ({op:"Failure",prop:"cause",[tw](e){let t=this[tS],r=!1;e.currentStackFrame&&(t=tV(t,{mapUnsafe:new Map([[t0.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(tx);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(tx);return i?i[tx](t,e,r?void 0:this):e.yieldWith(r?t2(t):this)}}),t3=e=>t2(new tL([new tY(e)])),t5=e=>t2(new tL([new tq(e)])),t4=tX({op:"WithFiber",[tw](e){return this[tS](e)}}),t8=function(){class e extends globalThis.Error{}let t=tK({op:"YieldableError",[tw](){return t3(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),t9=(d=Symbol.for("effect/Data/Error/plainArgs"),class extends t8{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,d,{value:e,enumerable:!1}))}toJSON(){return{...this[d],...this}}}),t6=e=>{class t extends t9{_tag=e}return t.prototype.name=e,t},t7="~effect/Cause/Done",re={[t7]:t7,_tag:"Done",value:void 0},rt=e=>void 0===e?re:{[t7]:t7,_tag:"Done",value:e},rr=t3(re),ri=Object.getOwnPropertyDescriptor,rs=Object.prototype.hasOwnProperty,rn=Object.isExtensible,ro=void 0===(g=ri(Error,"stackTraceLimit"))?rn(Error):rs.call(g,"writable")?!0===g.writable:void 0!==g.set,ra=e=>{ro&&(Error.stackTraceLimit=e)},rA=e=>(t,r)=>t===r||e(t,r),rl=(e,t)=>e===t,rc="~effect/data/Option",rd={[rc]:{_A:e=>e},...tk,[Symbol.iterator](){return new tB(this)}},rg=Object.defineProperty(Object.assign(Object.create(rd),{_tag:"Some",_op:"Some",[e5](e){return rm(e)&&rC(e)&&e4(this.value,e.value)},[eY](){return eq(eG(this._tag))(eG(this.value))},toString(){return`some(${tg(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:tI(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),ru=eG("None"),rh=Object.assign(Object.create(rd),{_tag:"None",_op:"None",valueOrUndefined:void 0,[e5]:e=>rm(e)&&rp(e),[eY]:()=>ru,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),rm=e=>eO(e,rc),rp=e=>"None"===e._tag,rC=e=>"Some"===e._tag,rI=Object.create(rh),rE=e=>{let t=Object.create(rg);return t.value=e,t},rf="~effect/data/Result",rB={[rf]:{_A:e=>e,_E:e=>e},...tk,[Symbol.iterator](){return new tB(this)}},ry=Object.assign(Object.create(rB),{_tag:"Success",_op:"Success",[e5](e){return rN(e)&&rS(e)&&e4(this.success,e.success)},[eY](){return eq(eG(this._tag))(eG(this.success))},toString(){return`success(${tg(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:tI(this.success)}}}),rQ=Object.assign(Object.create(rB),{_tag:"Failure",_op:"Failure",[e5](e){return rN(e)&&rb(e)&&e4(this.failure,e.failure)},[eY](){return eq(eG(this._tag))(eG(this.failure))},toString(){return`failure(${tg(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:tI(this.failure)}}}),rN=e=>eO(e,rf),rb=e=>"Failure"===e._tag,rS=e=>"Success"===e._tag,rw=e=>{let t=Object.create(rQ);return t.failure=e,t},rD=e=>{let t=Object.create(ry);return t.success=e,t};function rx(e){return(t,r)=>t===r?0:e(t,r)}let rR=rx((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),rM=rx((e,t)=>e<t?-1:1),rk=eQ(2,(e,t)=>rx((r,i)=>e(t(r),t(i)))),rU=(e=>e.getTime(),e=>eQ(2,(t,r)=>1===e(t,r)));function rF(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let rv=()=>rI,rT=rE,rL=rm,rH=rp,rO=rC,rP=eQ(2,(e,{onNone:t,onSome:r})=>rH(e)?t():r(e.value)),rY=e=>t=>rO(e(t)),rG=e=>{for(let t of e)return rT(t);return rv()},rz=e=>rb(e)?rI:rE(e.success),rq=e=>rS(e)?rI:rE(e.failure),rV=eQ(2,(e,t)=>rH(e)?t():e.value),rJ=eQ(2,(e,t)=>rH(e)?t():e),r_=eQ(2,(e,t)=>rH(e)?rT(t()):e),rW=eQ(2,(e,t)=>rH(e)?r4(t(),rD):r4(e,rw)),rj=e=>{let t=rv();for(t of e)if(rO(t))break;return t},rK=e=>null==e?rv():rT(e),rX=e=>void 0===e?rv():rT(e),rZ=e=>null===e?rv():rT(e),r$=e=>(...t)=>rK(e(...t)),r0=rV(eD),r1=rV(ex),r2=e=>(...t)=>{try{return rT(e(...t))}catch{return rv()}},r3=eQ(2,(e,t)=>{if(rO(e))return e.value;throw t()}),r5=r3(()=>Error("getOrThrow called on a None")),r4=eQ(2,(e,t)=>rH(e)?rv():rT(t(e.value))),r8=eQ(2,(e,t)=>r4(e,()=>t)),r9=r8(void 0),r6=rT(void 0),r7=eQ(2,(e,t)=>rH(e)?rv():t(e.value)),ie=eQ(2,(e,t)=>r7(e,e=>{let r=eL(t)?t(e):t;return rL(r)?r:rT(r)})),it=eQ(2,(e,t)=>rH(e)?rv():rK(t(e.value))),ir=r7(eN),ii=eQ(2,(e,t)=>r7(e,()=>t)),is=eQ(2,(e,t)=>ia(e,()=>t)),io=eQ(2,(e,t)=>r=>r7(e(r),t)),ia=eQ(2,(e,t)=>r7(e,e=>r4(t(e),()=>e))),iA=(e,t)=>rO(e)&&rO(t)?rT([e.value,t.value]):rv(),il=(e,t)=>{if(rH(e))return rv();let r=[e.value];for(let e of t){if(rH(e))return rv();r.push(e.value)}return rT(r)},ic=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(rH(r))return rv();t.push(r.value)}return rT(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(rH(i))return rv();t[r]=i.value}return rT(t)},id=eQ(3,(e,t,r)=>r4(iA(e,t),([e,t])=>r(e,t))),ig=eQ(3,(e,t,r)=>{let i=t;for(let t of e)rO(t)&&(i=r(i,t.value));return i}),iu=e=>rH(e)?[]:[e.value],ih=eQ(2,(e,t)=>{if(rH(e))return[rv(),rv()];let r=t(e.value);return rb(r)?[rT(r.failure),rv()]:[rv(),rT(r.success)]}),im=eQ(2,(e,t)=>{if(rH(e))return rv();let r=t(e.value);return rS(r)?rT(r.success):rv()}),ip=eQ(2,(e,t)=>rH(e)?rv():t(e.value)?rT(e.value):rv()),iC=e=>rA((t,r)=>rH(t)?rH(r):!rH(r)&&e(t.value,r.value)),iI=e=>rx((t,r)=>rO(t)?rO(r)?e(t.value,r.value):1:-1),iE=e=>eQ(2,(t,r)=>id(t,r,e)),iB=eQ(2,(e,t)=>t(e)?rT(e):rv()),iy=e=>eQ(2,(t,r)=>!rH(t)&&e(t.value,r)),iQ=iy(e4),iN=eQ(2,(e,t)=>!rH(e)&&t(e.value)),ib=eQ(2,(e,t)=>r4(e,e=>({[t]:e}))),iS=eQ(3,(e,t,r)=>r4(e,e=>({...e,[t]:r(e)}))),iw=eQ(3,(e,t,r)=>r7(e,e=>r4(r(e),r=>({...e,[t]:r})))),iD=rT({}),ix=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(rH(e))return e;r=t.next(e.value)}return rT(r.value)};function iR(e){return rF((t,r)=>rH(t)?r:rH(r)?t:rT(e.combine(t.value,r.value)),rv())}function iM(e){return{combine:(t,r)=>rH(t)||rH(r)?rv():rT(e.combine(t.value,r.value))}}function ik(e){let t=iM(e).combine,r=rT(e.initialValue);return rF(t,r,e=>{let i=r;for(let r of e)if(rH(i=t(i,r)))break;return i})}let iU="~effect/Context/Service",iF=function(){let e=Error.stackTraceLimit;ra(2);let t=Error();ra(e);let r=function(){};return(Object.setPrototypeOf(r,iv),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[iT]=iT,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},iv={[iU]:iU,...tK({op:(u={label:"Service",evaluate(e){return t$(iJ(e.context,this))}}).label,[tw]:u.evaluate}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return iG(this,e)},use(e){return t4(t=>e(iJ(t.context,this)))},useSync(e){return t4(t=>t$(e(iJ(t.context,this))))}},iT="~effect/Context/Reference",iL="~effect/Context",iH=e=>{let t=Object.create(iO);return t.mapUnsafe=e,t.mutable=!1,t},iO={...tk,[iL]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[e5](e){if(!iP(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!e4(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[eY](){return e_(this.mapUnsafe.size)}},iP=e=>eO(e,iL),iY=iH(new Map),iG=(e,t)=>iH(new Map([[e.key,t]])),iz=eQ(3,(e,t,r)=>iX(e,e=>{e.set(t.key,r)})),iq=eQ(2,(e,t)=>e.mapUnsafe.get(t.key)),iV=eQ(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(iT in t)return iW(t);throw ij(t)}return e.mapUnsafe.get(t.key)}),iJ=iV,i_="~effect/Context/defaultValue",iW=e=>i_ in e?e[i_]:e[i_]=e.defaultValue(),ij=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},iK=eQ(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:iX(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),iX=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),iH(r)},iZ=eQ(2,(e,t)=>Object.hasOwn(e,t)),i$=eQ(2,(e,t)=>{let r={...e};for(let i of i0(e))r[i]=t(e[i],i);return r}),i0=e=>Object.keys(e),i1=eQ(2,(e,t)=>rS(e)?rD(t(e.success)):rw(e.failure)),i2=eQ(2,(e,{onFailure:t,onSuccess:r})=>rb(e)?t(e.failure):r(e.success)),i3=globalThis.Array,i5=e=>i3.isArray(e)?e:i3.from(e),i4=eQ(2,(e,t)=>[...e,t]),i8=eQ(2,(e,t)=>i5(e).concat(i5(t)));i3.isArray;let i9=eQ(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),i6=eQ(3,(e,t,r)=>{let i=i5(e),s=i5(t);if(i.length>0)return s.length>0?si(r)(i8(i,s)):i;return s}),i7=eQ(2,(e,t)=>i6(e,t,e4)),se=()=>[],st=eQ(2,(e,t)=>e.map(t)),sr=eQ(2,(e,t)=>{let r=[],i=[],s=0;for(let n of e){let e=t(n,s++);rS(e)?i.push(e.success):r.push(e.failure)}return[r,i]}),si=eQ(2,(e,t)=>{let r=i5(e);if(r.length>0){let e=[i9(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]}),ss="~effect/time/Duration",sn=BigInt(0),so=BigInt(1),sa=BigInt(1e3),sA=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),sl=(e,t)=>e.includes(".")?sA(Number(e)*Number(t)):BigInt(e)*t,sc=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,sd=e=>{switch(typeof e){case"number":return sQ(e);case"bigint":return sy(e);case"string":{if("Infinity"===e)return sf;if("-Infinity"===e)return sB;let t=sc.exec(e);if(!t)break;let[r,i,s]=t;if("nano"===s||"nanos"===s)return sy(sl(i,so));if("micro"===s||"micros"===s)return sy(sl(i,sa));let n=Number(i);switch(s){case"milli":case"millis":return sQ(n);case"second":case"seconds":return sN(n);case"minute":case"minutes":return sb(n);case"hour":case"hours":return sS(n);case"day":case"days":return sw(n);case"week":case"weeks":return sD(n)}break}case"object":{if(null===e)break;if(ss in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(eF))return sg(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return sE;if(e[0]===-1/0||e[1]===-1/0)return sB;if(e[0]===1/0||e[1]===1/0)return sf;return sC(sA(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return sC(t);return sC(sA(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return sg(e)},sg=e=>{throw Error(`Invalid Input: ${e}`)},su={_tag:"Millis",millis:0},sh={_tag:"Infinity"},sm={_tag:"NegativeInfinity"},sp={[ss]:ss,[eY](){return eK(this.value)},[e5](e){return sI(e)&&sU(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[tC](){return this.toJSON()},pipe(){return ts(this,arguments)}},sC=e=>{let t=Object.create(sp);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=su:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:sA(1e6*e)}:t.value=e>0?sh:sm:e===sn?t.value=su:t.value={_tag:"Nanos",nanos:e},t},sI=e=>eO(e,ss),sE=sC(0),sf=sC(1/0),sB=sC(-1/0),sy=e=>sC(e),sQ=e=>sC(e),sN=e=>sC(1e3*e),sb=e=>sC(6e4*e),sS=e=>sC(36e5*e),sw=e=>sC(864e5*e),sD=e=>sC(6048e5*e),sx=e=>sM(sd(e),{onMillis:eN,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),sR=e=>{let t=sd(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return sA(1e6*t.value.millis)}},sM=eQ(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),sk=eQ(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(sR(e),t.value.nanos):r.onNanos(e.value.nanos,sR(t))),sU=eQ(2,(e,t)=>sk(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag})),sF=eQ(2,(e,t)=>r=>{let i=e(r);if(rb(i))return rw(r);let s=t(i.success);return rb(s)?rw(r):s}),sv=iF("effect/Scheduler",{defaultValue:()=>new sH}),sT="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class sL{buckets=[];scheduleTask(e,t){let r,i=this.buckets,s=i.length,n=0;for(;n<s&&!(i[n][0]>t);n++)r=i[n];r&&r[0]===t?r[1].push(e):n===s?i.push([t,[e]]):i.splice(n,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class sH{executionMode;setImmediate;constructor(e="async",t=sT){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new sO(this.setImmediate)}}class sO{tasks=new sL;running=void 0;setImmediate;constructor(e=sT){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let sP=iF("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),sY=iF("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1}),sG="effect/Tracer/ParentSpan";class sz extends iF()(sG){}let sq=iF("effect/Tracer/DisablePropagation",{defaultValue:ew}),sV=iF("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),sJ=iF("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),s_="effect/Tracer",sW=iF(s_,{defaultValue:()=>({span:e=>new sj(e)})});class sj{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=ef.getOrUndefined(e.parent)?.traceId??sK(32),this.spanId=sK(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let sK=(m=(h="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=h.charAt(Math.floor(Math.random()*m));return t}),sX=iF("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),sZ=iF("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),s$=iF("effect/References/CurrentStackFrame",{defaultValue:ex}),s0=iF("effect/References/TracerEnabled",{defaultValue:eS}),s1=iF("effect/References/TracerTimingEnabled",{defaultValue:eS}),s2=iF("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),s3=iF("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),s5=iF("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),s4=iF("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),s8=iF("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),s9=iF("effect/References/CurrentLogSpans",{defaultValue:()=>[]});class s6 extends tO{fiberId;constructor(e,t=tP){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[e5](e){return tW(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[eY](){return eq(eW(`${this._tag}:${this.fiberId}`))(ez(this.annotations))}}let s7=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return rD(r.error)}return rw(e)},ne=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?rD(t):rw(e)},nt=eQ(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new tL(i7(e.reasons,t.reasons));return e4(e,r)?e:r}),nr=eQ(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>tJ(e)?(r=!0,new tY(t(e.error))):e);return r?tG(i):e}),ni=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},ns=(e,t,r)=>{let i,s=typeof e;if(e&&"object"===s){if(i=new globalThis.Error(nn(e),{cause:e.cause?ns(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=na(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?nA(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=nd(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===s?e:tp(e));return i},nn=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return tp(e)},no=/\((.*)\)/g,na=(e,t,r)=>{let i=`${t.name}: ${t.message}`,s=(e.startsWith(i)?e.slice(i.length):e).split("\n"),n=[i];for(let e=1;e<s.length&&!/(?:Generator\.next|~effect\/Effect)/.test(s[e]);e++)n.push(s[e]);return r?nA(n.join("\n"),r):n.join("\n")},nA=(e,t)=>{let r=t?.get(t0.key);return r&&(e=`${e} -${nl(r)}`),e},nl=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(no),s=!1;for(let[,e]of i)s=!0,t.push(` at ${r.name} (${e})`);s||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},nc=e=>(e=>{let t=[],r=[];if(0===e.reasons.length)return t;let i=Error.stackTraceLimit;for(let i of(ra(1),e.reasons)){if("Interrupt"===i._tag){r.push(i);continue}t.push(ns("Die"===i._tag?i.defect:i.error,i.annotations,void 0))}if(0===t.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=((e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(t1);r.push(` at fiber (${t})`),i&&r.push(nl(i))}return r.join("\n")})(e,r);let i=new globalThis.Error("All fibers interrupted without error",{cause:e});i.name="InterruptError",i.stack=`${i.name}: ${i.message}`,t.push(ns(i,r[0].annotations,void 0))}return ra(i),t})(e).map(nd).join("\n"),nd=e=>e.cause?`${e.stack} { -${ng(e.cause," ")} -}`:e.stack,ng=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,s=r.length;e<s;e++)i+=` +${s.repeat(o)}]`}if(r instanceof Date)return tL(r);if(!t?.ignoreToString&&e7(r,"toString")&&"function"==typeof r.toString&&r.toString!==Object.prototype.toString&&r.toString!==Array.prototype.toString){let t=function(e){try{let t=e.toString();return"string"==typeof t?t:String(t)}catch{return"[toString threw]"}}(r);return r instanceof Error&&r.cause?`${t} (cause: ${e(r.cause,o)})`:t}if("string"==typeof r)return JSON.stringify(r);if("number"==typeof r||null==r||"boolean"==typeof r||"symbol"==typeof r)return String(r);if("bigint"==typeof r)return String(r)+"n";if("object"==typeof r||"function"==typeof r){if(i.has(r))return tv;if(i.add(r),tx in r)return tU(tM(r));if(Symbol.iterator in r)return`${r.constructor.name}(${e(Array.from(r),o)})`;let t=(e=>{try{return Reflect.ownKeys(e)}catch{return["[ownKeys threw]"]}})(r);if(!s||t.length<=1){let i=`{${t.map(t=>`${tT(t)}:${e(r[t],o)}`).join(",")}}`;return n(r,i)}let a=`{ +${t.map(t=>{let i;return`${i=o+1,s.repeat(i)}${tT(t)}: ${e(r[t],o+1)}`}).join(",\n")} +${s.repeat(o)}}`;return n(r,a)}return String(r)}(e,0)}let tv="[Circular]";function tT(e){return"string"==typeof e?JSON.stringify(e):String(e)}function tL(e){try{return e.toISOString()}catch{return"Invalid Date"}}function tO(e,t){let r=[];return JSON.stringify(e,function(e,t){let i=tR(t);if("object"!=typeof i||null===i)return i;for(;r.length>0&&r[r.length-1]!==this;)r.pop();if(!r.includes(i))return r.push(i),i},t?.space)}let tH=Symbol.for("nodejs.util.inspect.custom"),tP=e=>{try{if(e7(e,"toJSON")&&e4(e.toJSON)&&0===e.toJSON.length)return e.toJSON();if(Array.isArray(e))return e.map(tP)}catch{return"[toJSON threw]"}return tR(e)},tY={toJSON(){return tP(this)},[tH](){return this.toJSON()},toString(){return tU(this.toJSON())}};class tG{[tH](){return this.toJSON()}toString(){return tU(this.toJSON())}}class tz{called=!1;self;constructor(e){this.self=e}next(e){return this.called?{value:e,done:!0}:(this.called=!0,{value:this.self,done:!1})}[Symbol.iterator](){return new tz(this.self)}}let tq=(c={[l="~effect/Utils/internal"]:e=>e()},c[l](()=>Error().stack)?.includes(l)===!0?c[l]:({[l]:e=>e()})[l]),tV="~effect/Effect",t_="~effect/Exit",tJ=`${tV}/identifier`,tW=`${tV}/args`,tj=`${tV}/evaluate`,tK=`${tV}/successCont`,tX=`${tV}/failureCont`,tZ=`${tV}/ensureCont`,t$=Symbol.for("effect/Effect/Yield"),t0={pipe(){return eP(this,arguments)},toJSON(){return{...this}},toString(){return tU(this.toJSON(),{ignoreToString:!0,space:2})},[tH](){return this.toJSON()}},t1={[tV]:{_A:eq,_E:eq,_R:eq},...t0,[Symbol.iterator](){return new tz(this)},toJSON(){return{_id:"Effect",op:this[tJ],...tW in this?{args:this[tW]}:void 0}}},t2="~effect/Cause",t3="~effect/Cause/Reason",t5=e=>e7(e,t2);class t4{[t2];reasons;constructor(e){this[t2]=t2,this.reasons=e}pipe(){return eP(this,arguments)}toJSON(){return{_id:"Cause",failures:this.reasons.map(e=>e.toJSON())}}toString(){return`Cause(${tU(this.reasons)})`}[tH](){return this.toJSON()}[tf](e){return t5(e)&&this.reasons.length===e.reasons.length&&this.reasons.every((t,r)=>tE(t,e.reasons[r]))}[tr](){return tu(this.reasons)}}let t8=new WeakMap;class t9{[t3];annotations;_tag;constructor(e,t,r){if(this[t3]=t3,this._tag=e,t!==t6&&"object"==typeof r&&null!==r&&t.size>0){let e=t8.get(r);e&&(t=new Map([...e,...t])),t8.set(r,t)}this.annotations=t}annotate(e,t){if(0===e.mapUnsafe.size)return this;let r=new Map(this.annotations);e.mapUnsafe.forEach((e,i)=>{t?.overwrite!==!0&&r.has(i)||r.set(i,e)});let i=Object.assign(Object.create(Object.getPrototypeOf(this)),this);return i.annotations=r,i}pipe(){return eP(this,arguments)}toString(){return tU(this)}[tH](){return this.toString()}}let t6=new Map;class t7 extends t9{error;constructor(e,t=t6){super("Fail",t,e),this.error=e}toString(){return`Fail(${tU(this.error)})`}toJSON(){return{_tag:"Fail",error:this.error}}[tf](e){return rn(e)&&tE(this.error,e.error)&&tE(this.annotations,e.annotations)}[tr](){return tn(tl(this._tag))(tn(ti(this.error))(ti(this.annotations)))}}let re=e=>new t4(e),rt=new t4([]),rr=e=>new t4([new t7(e)]);class ri extends t9{defect;constructor(e,t=t6){super("Die",t,e),this.defect=e}toString(){return`Die(${tU(this.defect)})`}toJSON(){return{_tag:"Die",defect:this.defect}}[tf](e){return ro(e)&&tE(this.defect,e.defect)&&tE(this.annotations,e.annotations)}[tr](){return tn(tl(this._tag))(tn(ti(this.defect))(ti(this.annotations)))}}let rs=ez(e=>t5(e[0]),(e,t,r)=>0===t.mapUnsafe.size?e:new t4(e.reasons.map(e=>e.annotate(t,r)))),rn=e=>"Fail"===e._tag,ro=e=>"Die"===e._tag,ra=e=>"Interrupt"===e._tag;function rA(e){return rC("Effect.evaluate: Not implemented")}let rl=e=>({...t1,[tJ]:e.op,[tj]:e[tj]??rA,[tK]:e[tK],[tX]:e[tX],[tZ]:e[tZ]}),rc=e=>{let t=rl(e);return function(){let r=Object.create(t);return r[tW]=!1===e.single?arguments:arguments[0],r}},rd=e=>{let t={...rl(e),[t_]:t_,_tag:e.op,get[e.prop](){return this[tW]},toString(){return`${e.op}(${tU(this[tW])})`},toJSON(){return{_id:"Exit",_tag:e.op,[e.prop]:this[tW]}},[tf](e){return e7(e,t_)&&e._tag===this._tag&&tE(this[tW],e[tW])},[tr](){return tn(tl(e.op),ti(this[tW]))}};return function(e){let r=Object.create(t);return r[tW]=e,r}},rg=rd({op:"Success",prop:"value",[tj](e){let t=e.getCont(tK);return t?t[tK](this[tW],e,this):e.yieldWith(this)}}),ru={key:"effect/Cause/StackTrace"},rh="effect/Cause/InterruptorStackTrace",rm=rd({op:"Failure",prop:"cause",[tj](e){let t=this[tW],r=!1;e.currentStackFrame&&(t=rs(t,{mapUnsafe:new Map([[ru.key,e.currentStackFrame]])}),r=!0);let i=e.getCont(tX);for(;e.interruptible&&e._interruptedCause&&i;)i=e.getCont(tX);return i?i[tX](t,e,r?void 0:this):e.yieldWith(r?rm(t):this)}}),rp=e=>rm(rr(e)),rC=e=>rm(new t4([new ri(e)])),rI=rc({op:"WithFiber",[tj](e){return this[tW](e)}}),rf=function(){class e extends globalThis.Error{}let t=rl({op:"YieldableError",[tj](){return rp(this)}});return delete t.toString,Object.assign(e.prototype,t),e}(),rE=(d=Symbol.for("effect/Data/Error/plainArgs"),class extends rf{constructor(e){super(e?.message,e?.cause?{cause:e.cause}:void 0),e&&(Object.assign(this,e),Object.defineProperty(this,d,{value:e,enumerable:!1}))}toJSON(){return{...this[d],...this}}}),rB=e=>{class t extends rE{_tag=e}return t.prototype.name=e,t},ry="~effect/Cause/Done",rQ={[ry]:ry,_tag:"Done",value:void 0},rN=e=>void 0===e?rQ:{[ry]:ry,_tag:"Done",value:e},rb=rp(rQ),rS="~effect/data/Option",rw={[rS]:{_A:e=>e},...t0,[Symbol.iterator](){return new tz(this)}},rD=Object.defineProperty(Object.assign(Object.create(rw),{_tag:"Some",_op:"Some",[tf](e){return rM(e)&&rF(e)&&tE(this.value,e.value)},[tr](){return tn(ti(this._tag))(ti(this.value))},toString(){return`some(${tU(this.value)})`},toJSON(){return{_id:"Option",_tag:this._tag,value:tP(this.value)}}}),"valueOrUndefined",{get(){return this.value}}),rx=ti("None"),rR=Object.assign(Object.create(rw),{_tag:"None",_op:"None",valueOrUndefined:void 0,[tf]:e=>rM(e)&&rk(e),[tr]:()=>rx,toString:()=>"none()",toJSON(){return{_id:"Option",_tag:this._tag}}}),rM=e=>e7(e,rS),rk=e=>"None"===e._tag,rF=e=>"Some"===e._tag,rU=Object.create(rR),rv=e=>{let t=Object.create(rD);return t.value=e,t},rT="~effect/data/Result",rL={[rT]:{_A:e=>e,_E:e=>e},...t0,[Symbol.iterator](){return new tz(this)}},rO=Object.assign(Object.create(rL),{_tag:"Success",_op:"Success",[tf](e){return rP(e)&&rG(e)&&tE(this.success,e.success)},[tr](){return tn(ti(this._tag))(ti(this.success))},toString(){return`success(${tU(this.success)})`},toJSON(){return{_id:"Result",_tag:this._tag,value:tP(this.success)}}}),rH=Object.assign(Object.create(rL),{_tag:"Failure",_op:"Failure",[tf](e){return rP(e)&&rY(e)&&tE(this.failure,e.failure)},[tr](){return tn(ti(this._tag))(ti(this.failure))},toString(){return`failure(${tU(this.failure)})`},toJSON(){return{_id:"Result",_tag:this._tag,failure:tP(this.failure)}}}),rP=e=>e7(e,rT),rY=e=>"Failure"===e._tag,rG=e=>"Success"===e._tag,rz=e=>{let t=Object.create(rH);return t.failure=e,t},rq=e=>{let t=Object.create(rO);return t.success=e,t},rV=ez(2,(e,t)=>rY(e)?rz(t(e.failure)):rq(e.success)),r_=ez(2,(e,t)=>rG(e)?rq(t(e.success)):rz(e.failure)),rJ=ez(2,(e,{onFailure:t,onSuccess:r})=>rY(e)?t(e.failure):r(e.success)),rW=e=>(t,r)=>t===r||e(t,r),rj=(e,t)=>e===t;function rK(e){return(t,r)=>t===r?0:e(t,r)}let rX=rK((e,t)=>globalThis.Number.isNaN(e)&&globalThis.Number.isNaN(t)?0:globalThis.Number.isNaN(e)?-1:globalThis.Number.isNaN(t)?1:e<t?-1:1),rZ=rK((e,t)=>e<t?-1:1),r$=ez(2,(e,t)=>rK((r,i)=>e(t(r),t(i)))),r0=(e=>e.getTime(),e=>ez(2,(t,r)=>1===e(t,r)));function r1(e,t,r){return{combine:e,initialValue:t,combineAll:r??(r=>{let i=t;for(let t of r)i=e(i,t);return i})}}let r2=()=>rU,r3=rv,r5=rM,r4=rk,r8=rF,r9=ez(2,(e,{onNone:t,onSome:r})=>r4(e)?t():r(e.value)),r6=e=>t=>r8(e(t)),r7=e=>{for(let t of e)return r3(t);return r2()},ie=e=>rY(e)?rU:rv(e.success),it=e=>rG(e)?rU:rv(e.failure),ir=ez(2,(e,t)=>r4(e)?t():e.value),ii=ez(2,(e,t)=>r4(e)?t():e),is=ez(2,(e,t)=>r4(e)?r3(t()):e),io=ez(2,(e,t)=>r4(e)?iC(t(),rq):iC(e,rz)),ia=e=>{let t=r2();for(t of e)if(r8(t))break;return t},iA=e=>null==e?r2():r3(e),il=e=>void 0===e?r2():r3(e),ic=e=>null===e?r2():r3(e),id=e=>(...t)=>iA(e(...t)),ig=ir(eW),iu=ir(ej),ih=e=>(...t)=>{try{return r3(e(...t))}catch{return r2()}},im=ez(2,(e,t)=>{if(r8(e))return e.value;throw t()}),ip=im(()=>Error("getOrThrow called on a None")),iC=ez(2,(e,t)=>r4(e)?r2():r3(t(e.value))),iI=ez(2,(e,t)=>iC(e,()=>t)),iE=iI(void 0),iB=r3(void 0),iy=ez(2,(e,t)=>r4(e)?r2():t(e.value)),iQ=ez(2,(e,t)=>iy(e,e=>{let r=e4(t)?t(e):t;return r5(r)?r:r3(r)})),iN=ez(2,(e,t)=>r4(e)?r2():iA(t(e.value))),ib=iy(eq),iS=ez(2,(e,t)=>iy(e,()=>t)),iw=ez(2,(e,t)=>ix(e,()=>t)),iD=ez(2,(e,t)=>r=>iy(e(r),t)),ix=ez(2,(e,t)=>iy(e,e=>iC(t(e),()=>e))),iR=(e,t)=>r8(e)&&r8(t)?r3([e.value,t.value]):r2(),iM=(e,t)=>{if(r4(e))return r2();let r=[e.value];for(let e of t){if(r4(e))return r2();r.push(e.value)}return r3(r)},ik=e=>{if(Symbol.iterator in e){let t=[];for(let r of e){if(r4(r))return r2();t.push(r.value)}return r3(t)}let t={};for(let r of Object.keys(e)){let i=e[r];if(r4(i))return r2();t[r]=i.value}return r3(t)},iF=ez(3,(e,t,r)=>iC(iR(e,t),([e,t])=>r(e,t))),iU=ez(3,(e,t,r)=>{let i=t;for(let t of e)r8(t)&&(i=r(i,t.value));return i}),iv=e=>r4(e)?[]:[e.value],iT=ez(2,(e,t)=>{if(r4(e))return[r2(),r2()];let r=t(e.value);return rY(r)?[r3(r.failure),r2()]:[r2(),r3(r.success)]}),iL=ez(2,(e,t)=>{if(r4(e))return r2();let r=t(e.value);return rG(r)?r3(r.success):r2()}),iO=ez(2,(e,t)=>r4(e)?r2():t(e.value)?r3(e.value):r2()),iH=e=>rW((t,r)=>r4(t)?r4(r):!r4(r)&&e(t.value,r.value)),iP=e=>rK((t,r)=>r8(t)?r8(r)?e(t.value,r.value):1:-1),iY=e=>ez(2,(t,r)=>iF(t,r,e)),iG=ez(2,(e,t)=>t(e)?r3(e):r2()),iz=e=>ez(2,(t,r)=>!r4(t)&&e(t.value,r)),iq=iz(tE),iV=ez(2,(e,t)=>!r4(e)&&t(e.value)),i_=ez(2,(e,t)=>iC(e,e=>({[t]:e}))),iJ=ez(3,(e,t,r)=>iC(e,e=>({...e,[t]:r(e)}))),iW=ez(3,(e,t,r)=>iy(e,e=>iC(r(e),r=>({...e,[t]:r})))),ij=r3({}),iK=(...e)=>{let t=(1===e.length?e[0]:e[1].bind(e[0]))(),r=t.next();for(;!r.done;){let e=r.value;if(r4(e))return e;r=t.next(e.value)}return r3(r.value)};function iX(e){return r1((t,r)=>r4(t)?r:r4(r)?t:r3(e.combine(t.value,r.value)),r2())}function iZ(e){return{combine:(t,r)=>r4(t)||r4(r)?r2():r3(e.combine(t.value,r.value))}}function i$(e){let t=iZ(e).combine,r=r3(e.initialValue);return r1(t,r,e=>{let i=r;for(let r of e)if(r4(i=t(i,r)))break;return i})}let i0=ez(2,(e,t)=>Object.hasOwn(e,t)),i1=ez(2,(e,t)=>{let r={...e};for(let i of i2(e))r[i]=t(e[i],i);return r}),i2=e=>Object.keys(e),i3=globalThis.Array,i5=e=>i3.isArray(e)?e:i3.from(e),i4=ez(2,(e,t)=>[...e,t]),i8=ez(2,(e,t)=>i5(e).concat(i5(t)));i3.isArray;let i9=ez(2,(e,t)=>{let r=Math.floor(t);if(r<0||r>=e.length)throw Error(`Index out of bounds: ${r}`);return e[r]})(0),i6=ez(3,(e,t,r)=>{let i=i5(e),s=i5(t);if(i.length>0)return s.length>0?ss(r)(i8(i,s)):i;return s}),i7=ez(2,(e,t)=>i6(e,t,tE)),se=()=>[],st=e=>[e],sr=ez(2,(e,t)=>e.map(t)),si=ez(2,(e,t)=>{let r=[],i=[],s=0;for(let n of e){let e=t(n,s++);rG(e)?i.push(e.success):r.push(e.failure)}return[r,i]}),ss=ez(2,(e,t)=>{let r=i5(e);if(r.length>0){let e=[i9(r)];for(let i of r.slice(1))e.every(e=>!t(i,e))&&e.push(i);return e}return[]}),sn=e=>rl({op:e.label,[tj]:e.evaluate}),so=Object.getOwnPropertyDescriptor,sa=Object.prototype.hasOwnProperty,sA=Object.isExtensible,sl=void 0===(g=so(Error,"stackTraceLimit"))?sA(Error):sa.call(g,"writable")?!0===g.writable:void 0!==g.set,sc=e=>{sl&&(Error.stackTraceLimit=e)},sd="~effect/Context/Service",sg=function(){let e=Error.stackTraceLimit;sc(2);let t=Error();sc(e);let r=function(){};return(Object.setPrototypeOf(r,su),Object.defineProperty(r,"stack",{get:()=>t.stack}),arguments.length>0)?(r.key=arguments[0],arguments[1]?.defaultValue&&(r[sh]=sh,r.defaultValue=arguments[1].defaultValue),r):function(e,t){return r.key=e,t?.make&&(r.make=t.make),r}},su={[sd]:sd,...sn({label:"Service",evaluate(e){return rg(sN(e.context,this))}}),toJSON(){return{_id:"Service",key:this.key,stack:this.stack}},of:e=>e,context(e){return sE(this,e)},use(e){return rI(t=>e(sN(t.context,this)))},useSync(e){return rI(t=>rg(e(sN(t.context,this))))}},sh="~effect/Context/Reference",sm="~effect/Context",sp=e=>{let t=Object.create(sC);return t.mapUnsafe=e,t.mutable=!1,t},sC={...t0,[sm]:{_Services:e=>e},toJSON(){return{_id:"Context",services:Array.from(this.mapUnsafe).map(([e,t])=>({key:e,value:t}))}},[tf](e){if(!sI(e)||this.mapUnsafe.size!==e.mapUnsafe.size)return!1;for(let t of this.mapUnsafe.keys())if(!e.mapUnsafe.has(t)||!tE(this.mapUnsafe.get(t),e.mapUnsafe.get(t)))return!1;return!0},[tr](){return tA(this.mapUnsafe.size)}},sI=e=>e7(e,sm),sf=sp(new Map),sE=(e,t)=>sp(new Map([[e.key,t]])),sB=ez(3,(e,t,r)=>sR(e,e=>{e.set(t.key,r)})),sy=ez(2,(e,t)=>e.mapUnsafe.get(t.key)),sQ=ez(2,(e,t)=>{if(!e.mapUnsafe.has(t.key)){if(sh in t)return sS(t);throw sw(t)}return e.mapUnsafe.get(t.key)}),sN=sQ,sb="~effect/Context/defaultValue",sS=e=>sb in e?e[sb]:e[sb]=e.defaultValue(),sw=e=>{let t=Error(`Service not found${e.key?`: ${String(e.key)}`:""}`);if(e.stack){let r=e.stack.split("\n");if(r.length>2){let e=r[2].match(/at (.*)/);e&&(t.message=t.message+` (defined at ${e[1]})`)}}if(t.stack){let e=t.stack.split("\n");e.splice(1,3),t.stack=e.join("\n")}return t},sD=ez(2,(e,t)=>e.mapUnsafe.has(t.key)?r3(e.mapUnsafe.get(t.key)):e7(t,sh)?r3(sS(t)):r2()),sx=ez(2,(e,t)=>0===e.mapUnsafe.size?t:0===t.mapUnsafe.size?e:sR(e,e=>{t.mapUnsafe.forEach((t,r)=>e.set(r,t))})),sR=(e,t)=>{if(e.mutable)return t(e.mapUnsafe),e;let r=new Map(e.mapUnsafe);return t(r),sp(r)},sM="~effect/time/Duration",sk=BigInt(0),sF=BigInt(1),sU=BigInt(1e3),sv=e=>BigInt(e<0?Math.ceil(e-.5):Math.floor(e+.5)),sT=(e,t)=>e.includes(".")?sv(Number(e)*Number(t)):BigInt(e)*t,sL=/^(-?\d+(?:\.\d+)?)\s+(nanos?|micros?|millis?|seconds?|minutes?|hours?|days?|weeks?)$/,sO=e=>{switch(typeof e){case"number":return sK(e);case"bigint":return sj(e);case"string":{if("Infinity"===e)return sJ;if("-Infinity"===e)return sW;let t=sL.exec(e);if(!t)break;let[r,i,s]=t;if("nano"===s||"nanos"===s)return sj(sT(i,sF));if("micro"===s||"micros"===s)return sj(sT(i,sU));let n=Number(i);switch(s){case"milli":case"millis":return sK(n);case"second":case"seconds":return sX(n);case"minute":case"minutes":return sZ(n);case"hour":case"hours":return s$(n);case"day":case"days":return s0(n);case"week":case"weeks":return s1(n)}break}case"object":{if(null===e)break;if(sM in e)return e;if(Array.isArray(e)){if(2!==e.length||!e.every(e1))return sH(e);if(Number.isNaN(e[0])||Number.isNaN(e[1]))return s_;if(e[0]===-1/0||e[1]===-1/0)return sW;if(e[0]===1/0||e[1]===1/0)return sJ;return sq(sv(1e9*e[0]+e[1]))}let t=0;if(e.weeks&&(t+=6048e5*e.weeks),e.days&&(t+=864e5*e.days),e.hours&&(t+=36e5*e.hours),e.minutes&&(t+=6e4*e.minutes),e.seconds&&(t+=1e3*e.seconds),e.milliseconds&&(t+=e.milliseconds),!e.microseconds&&!e.nanoseconds)return sq(t);return sq(sv(1e6*t+(e.microseconds??0)*1e3+(e.nanoseconds??0)))}}return sH(e)},sH=e=>{throw Error(`Invalid Input: ${e}`)},sP={_tag:"Millis",millis:0},sY={_tag:"Infinity"},sG={_tag:"NegativeInfinity"},sz={[sM]:sM,[tr](){return td(this.value)},[tf](e){return sV(e)&&s8(this,e)},toString(){switch(this.value._tag){case"Infinity":return"Infinity";case"NegativeInfinity":return"-Infinity";case"Nanos":return`${this.value.nanos} nanos`;case"Millis":return`${this.value.millis} millis`}},toJSON(){switch(this.value._tag){case"Millis":return{_id:"Duration",_tag:"Millis",millis:this.value.millis};case"Nanos":return{_id:"Duration",_tag:"Nanos",nanos:String(this.value.nanos)};case"Infinity":return{_id:"Duration",_tag:"Infinity"};case"NegativeInfinity":return{_id:"Duration",_tag:"NegativeInfinity"}}},[tH](){return this.toJSON()},pipe(){return eP(this,arguments)}},sq=e=>{let t=Object.create(sz);return"number"==typeof e?isNaN(e)||0===e||Object.is(e,-0)?t.value=sP:Number.isFinite(e)?Number.isInteger(e)?t.value={_tag:"Millis",millis:e}:t.value={_tag:"Nanos",nanos:sv(1e6*e)}:t.value=e>0?sY:sG:e===sk?t.value=sP:t.value={_tag:"Nanos",nanos:e},t},sV=e=>e7(e,sM),s_=sq(0),sJ=sq(1/0),sW=sq(-1/0),sj=e=>sq(e),sK=e=>sq(e),sX=e=>sq(1e3*e),sZ=e=>sq(6e4*e),s$=e=>sq(36e5*e),s0=e=>sq(864e5*e),s1=e=>sq(6048e5*e),s2=e=>s5(sO(e),{onMillis:eq,onNanos:e=>Number(e)/1e6,onInfinity:()=>1/0,onNegativeInfinity:()=>-1/0}),s3=e=>{let t=sO(e);switch(t.value._tag){case"Infinity":case"NegativeInfinity":throw Error("Cannot convert infinite duration to nanos");case"Nanos":return t.value.nanos;case"Millis":return sv(1e6*t.value.millis)}},s5=ez(2,(e,t)=>{switch(e.value._tag){case"Millis":return t.onMillis(e.value.millis);case"Nanos":return t.onNanos(e.value.nanos);case"Infinity":return t.onInfinity();case"NegativeInfinity":return(t.onNegativeInfinity??t.onInfinity)()}}),s4=ez(3,(e,t,r)=>"Infinity"===e.value._tag||"NegativeInfinity"===e.value._tag||"Infinity"===t.value._tag||"NegativeInfinity"===t.value._tag?r.onInfinity(e,t):"Millis"===e.value._tag?"Millis"===t.value._tag?r.onMillis(e.value.millis,t.value.millis):r.onNanos(s3(e),t.value.nanos):r.onNanos(e.value.nanos,s3(t))),s8=ez(2,(e,t)=>s4(e,t,{onMillis:(e,t)=>e===t,onNanos:(e,t)=>e===t,onInfinity:(e,t)=>e.value._tag===t.value._tag})),s9=ez(2,(e,t)=>r=>{let i=e(r);if(rY(i))return rz(r);let s=t(i.success);return rY(s)?rz(r):s}),s6=sg("effect/Scheduler",{defaultValue:()=>new nt}),s7="setImmediate"in globalThis?e=>{let t=globalThis.setImmediate(e);return()=>globalThis.clearImmediate(t)}:e=>{let t=setTimeout(e,0);return()=>clearTimeout(t)};class ne{buckets=[];scheduleTask(e,t){let r,i=this.buckets,s=i.length,n=0;for(;n<s&&!(i[n][0]>t);n++)r=i[n];r&&r[0]===t?r[1].push(e):n===s?i.push([t,[e]]):i.splice(n,0,[t,[e]])}drain(){let e=this.buckets;return this.buckets=[],e}}class nt{executionMode;setImmediate;constructor(e="async",t=s7){this.executionMode=e,this.setImmediate=t}shouldYield(e){return e.currentOpCount>=e.maxOpsBeforeYield}makeDispatcher(){return new nr(this.setImmediate)}}class nr{tasks=new ne;running=void 0;setImmediate;constructor(e=s7){this.setImmediate=e}scheduleTask(e,t){this.tasks.scheduleTask(e,t),void 0===this.running&&(this.running=this.setImmediate(this.afterScheduled))}afterScheduled=()=>{this.running=void 0,this.runTasks()};runTasks(){let e=this.tasks.drain();for(let t=0;t<e.length;t++){let r=e[t][1];for(let e=0;e<r.length;e++)r[e]()}}flush(){for(;this.tasks.buckets.length>0;)void 0!==this.running&&(this.running(),this.running=void 0),this.runTasks()}}let ni=sg("effect/Scheduler/MaxOpsBeforeYield",{defaultValue:()=>2048}),ns=sg("effect/Scheduler/PreventSchedulerYield",{defaultValue:()=>!1}),nn="effect/Tracer/ParentSpan";class no extends sg()(nn){}let na=sg("effect/Tracer/DisablePropagation",{defaultValue:eJ}),nA=sg("effect/Tracer/CurrentTraceLevel",{defaultValue:()=>"Info"}),nl=sg("effect/Tracer/MinimumTraceLevel",{defaultValue:()=>"All"}),nc="effect/Tracer",nd=sg(nc,{defaultValue:()=>({span:e=>new ng(e)})});class ng{_tag="Span";spanId;traceId="native";sampled;name;parent;annotations;links;startTime;kind;status;attributes;events=[];constructor(e){this.name=e.name,this.parent=e.parent,this.annotations=e.annotations,this.links=e.links,this.startTime=e.startTime,this.kind=e.kind,this.sampled=e.sampled,this.status={_tag:"Started",startTime:e.startTime},this.attributes=new Map,this.traceId=eL.getOrUndefined(e.parent)?.traceId??nu(32),this.spanId=nu(16)}end(e,t){this.status={_tag:"Ended",endTime:e,exit:t,startTime:this.status.startTime}}attribute(e,t){this.attributes.set(e,t)}event(e,t,r){this.events.push([e,t,r??{}])}addLinks(e){this.links.push(...e)}}let nu=(h=(u="abcdef0123456789").length,function(e){let t="";for(let r=0;r<e;r++)t+=u.charAt(Math.floor(Math.random()*h));return t}),nh=sg("effect/References/CurrentConcurrency",{defaultValue:()=>"unbounded"}),nm=sg("effect/ErrorReporter/CurrentErrorReporters",{defaultValue:()=>new Set}),np=sg("effect/References/CurrentStackFrame",{defaultValue:ej}),nC=sg("effect/References/TracerEnabled",{defaultValue:e_}),nI=sg("effect/References/TracerTimingEnabled",{defaultValue:e_}),nf=sg("effect/References/TracerSpanAnnotations",{defaultValue:()=>({})}),nE=sg("effect/References/TracerSpanLinks",{defaultValue:()=>[]}),nB=sg("effect/References/CurrentLogAnnotations",{defaultValue:()=>({})}),ny=sg("effect/References/CurrentLogLevel",{defaultValue:()=>"Info"}),nQ=sg("effect/References/MinimumLogLevel",{defaultValue:()=>"Info"}),nN=sg("effect/References/CurrentLogSpans",{defaultValue:()=>[]});class nb extends t9{fiberId;constructor(e,t=t6){super("Interrupt",t,"Interrupted"),this.fiberId=e}toString(){return`Interrupt(${this.fiberId})`}toJSON(){return{_tag:"Interrupt",fiberId:this.fiberId}}[tf](e){return ra(e)&&this.fiberId===e.fiberId&&this.annotations===e.annotations}[tr](){return tn(tl(`${this._tag}:${this.fiberId}`))(ts(this.annotations))}}let nS=e=>new t4([new nb(e)]),nw=e=>{for(let t=0;t<e.reasons.length;t++){let r=e.reasons[t];if("Fail"===r._tag)return rq(r.error)}return rz(e)},nD=e=>{let t;for(let r=0;r<e.reasons.length;r++){let i=e.reasons[r];"Interrupt"===i._tag&&(t??=new Set,void 0!==i.fiberId&&t.add(i.fiberId))}return t?rq(t):rz(e)},nx=ez(2,(e,t)=>{if(0===e.reasons.length)return t;if(0===t.reasons.length)return e;let r=new t4(i7(e.reasons,t.reasons));return tE(e,r)?e:r}),nR=ez(2,(e,t)=>{let r=!1,i=e.reasons.map(e=>rn(e)?(r=!0,new t7(t(e.error))):e);return r?re(i):e}),nM=e=>{let t=(e=>{let t={Fail:[],Die:[],Interrupt:[]};for(let r=0;r<e.reasons.length;r++)t[e.reasons[r]._tag].push(e.reasons[r]);return t})(e);return t.Fail.length>0?t.Fail[0].error:t.Die.length>0?t.Die[0].defect:t.Interrupt.length>0?new globalThis.Error("All fibers interrupted without error"):new globalThis.Error("Empty cause")},nk=(e,t,r)=>{let i,s=typeof e;if(e&&"object"===s){if(i=new globalThis.Error(nF(e),{cause:e.cause?nk(e.cause):void 0}),"string"==typeof e.name&&(i.name=e.name),"string"==typeof e.stack)i.stack=nv(e.stack,i,t);else{let e=`${i.name}: ${i.message}`;i.stack=t?nT(e,t):e}for(let t of(r?.includeCauseInStack&&(i.stack=nH(i)),Object.keys(e)))t in i||(i[t]=e[t])}else i=new globalThis.Error(!e?`Unknown error: ${e}`:"string"===s?e:tO(e));return i},nF=e=>{if("string"==typeof e.message)return e.message;if("function"==typeof e.toString&&e.toString!==Object.prototype.toString&&e.toString!==Array.prototype.toString)try{return e.toString()}catch{}return tO(e)},nU=/\((.*)\)/g,nv=(e,t,r)=>{let i=`${t.name}: ${t.message}`,s=(e.startsWith(i)?e.slice(i.length):e).split("\n"),n=[i];for(let e=1;e<s.length&&!/(?:Generator\.next|~effect\/Effect)/.test(s[e]);e++)n.push(s[e]);return r?nT(n.join("\n"),r):n.join("\n")},nT=(e,t)=>{let r=t?.get(ru.key);return r&&(e=`${e} +${nL(r)}`),e},nL=e=>{let t=[],r=e,i=0;for(;r&&i<10;){let e=r.stack();if(e){let i=e.matchAll(nU),s=!1;for(let[,e]of i)s=!0,t.push(` at ${r.name} (${e})`);s||t.push(` at ${r.name} (${e.replace(/^at /,"")})`)}else t.push(` at ${r.name}`);r=r.parent,i++}return t.join("\n")},nO=e=>(e=>{let t=[],r=[];if(0===e.reasons.length)return t;let i=Error.stackTraceLimit;for(let i of(sc(1),e.reasons)){if("Interrupt"===i._tag){r.push(i);continue}t.push(nk("Die"===i._tag?i.defect:i.error,i.annotations,void 0))}if(0===t.length){let e=Error("The fiber was interrupted by:");e.name="InterruptCause",e.stack=((e,t)=>{let r=[`${e.name}: ${e.message}`];for(let e of t){let t=void 0!==e.fiberId?`#${e.fiberId}`:"unknown",i=e.annotations.get(rh);r.push(` at fiber (${t})`),i&&r.push(nL(i))}return r.join("\n")})(e,r);let i=new globalThis.Error("All fibers interrupted without error",{cause:e});i.name="InterruptError",i.stack=`${i.name}: ${i.message}`,t.push(nk(i,r[0].annotations,void 0))}return sc(i),t})(e).map(nH).join("\n"),nH=e=>e.cause?`${e.stack} { +${nP(e.cause," ")} +}`:e.stack,nP=(e,t)=>{let r=e.stack.split("\n"),i=`${t}[cause]: ${r[0]}`;for(let e=1,s=r.length;e<s;e++)i+=` ${t}${r[e]}`;return e.cause&&(i+=` { -${ng(e.cause,`${t} `)} -${t}}`),i},nu="~effect/Fiber/dev",nh={_A:eN,_E:eN},nm={id:0},np=()=>globalThis[tc];class nC{constructor(e,t=!0){this[nu]=nh,this.setContext(e),this.id=++nm.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[nu];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){var t;return t=this.context,t.mapUnsafe.has(e.key)?t.mapUnsafe.get(e.key):iW(e)}addObserver(e){return this._exit?(e(this._exit),ex):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=new tL([new s6(e)]);this.currentStackFrame&&(r=tV(r,iG(t0,this.currentStackFrame))),t&&(r=tV(r,t)),this._interruptedCause=this._interruptedCause?nt(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(nw(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===tM)return;let r=nE.interruptChildren&&nE.interruptChildren(this);if(void 0!==r)return this.evaluate(nW(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=iY}runLoop(e){let t=globalThis[tc];globalThis[tc]=this;let r=this._running;this._running=!0;let i=!1,s=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,s=nw(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=s;s=nW(nM,()=>e)}if((s=this.currentTracerContext?this.currentTracerContext(s,this):s[tw](this))===tM){let e=this._yielded;if(tN in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return tM}}}catch(e){if(!eO(s,tw))return t5(`Fiber.runLoop: Not a valid effect: ${String(s)}`);return this.runLoop(t5(e))}finally{this._running=r,globalThis[tc]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,nI;for(;;){let t=this._stack.pop();if(!t)return;let r=t[tR]&&t[tR](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,tM}children(){return this._children??=new Set}pipe(){return ts(this,arguments)}setContext(e){this.context=e;let t=this.getRef(sv);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(sG),this.currentLogLevel=this.getRef(s4),this.minimumLogLevel=this.getRef(s8),this.currentStackFrame=e.mapUnsafe.get(s$.key),this.maxOpsBeforeYield=this.getRef(sP),this.currentPreventYield=this.getRef(sY),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(s_);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let nI={[tD]:(e,t)=>nw(t._interruptedCause),[tx]:(e,t)=>nw(t._interruptedCause)},nE={interruptChildren:void 0},nf=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(t1,e.currentStackFrame),iH(t)},nB=e=>e._exit?nS(e._exit):nH(t=>e._exit?t(nS(e._exit)):nD(e.addObserver(e=>t(nS(e))))),ny=e=>nH(t=>{let r,i=e[Symbol.iterator](),s=[];return!function e(){let n=i.next();for(;!n.done;){if(n.value._exit){s.push(n.value._exit),n=i.next();continue}r=n.value.addObserver(t=>{s.push(t),e()});return}t(nS(s))}(),nD(()=>r?.())}),nQ=e=>t4(t=>nN(e,t.id)),nN=eQ(e=>eO(e[0],nu),(e,t,r)=>t4(i=>{let s=nf(i);return s=s&&r?iK(s,r):s??r,e.interruptUnsafe(t,s),nJ(nB(e))})),nb=e=>t4(t=>{let r=nf(t),i=se();for(let s of e)s.interruptUnsafe(t.id,r),i.push(s);return nJ(ny(i))}),nS=t$,nw=t2,nD=tX({op:"Sync",[tw](e){let t=this[tS](),r=e.getCont(tD);return r?r[tD](t,e):e.yieldWith(t$(t))}}),nx=tX({op:"Suspend",[tw](e){return this[tS]()}}),nR=i2({onFailure:t3,onSuccess:nS}),nM=tX({op:"Yield",[tw](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(n2)},this[tS]??0),e.yieldWith(()=>{t=!0})}})(0),nk=nS(rv()),nU=e=>nx(()=>t3(ty(e))),nF=nS(void 0),nv=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new af(e,"An error occurred in Effect.try"):e.catch;return nx(()=>{try{return nS(ty(t))}catch(e){return t3(ty(()=>r(e)))}})},nT=tX({op:"Async",single:!1,[tw](e){let t=ty(()=>this[tS][0].bind(e.currentScheduler)),r=!1,i=!1,s=this[tS][1]?new AbortController:void 0,n=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},s?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===s&&void 0===n||e._stack.push(nL(()=>(r=!0,s?.abort(),n??n2))),tM)}}),nL=tX({op:"AsyncFinalizer",[tR](e){e.interruptible&&(e.interruptible=!1,e._stack.push(oO))},[tx](e,t){return e.reasons.some(tW)?nW(this[tS](),()=>nw(e)):nw(e)}}),nH=e=>nT(e,e.length>=2),nO=nH(ex),nP=(e,...t)=>{let r=0===t.length?function(){return nx(()=>nG(e.apply(this,arguments)))}:function(){let r=nx(()=>nG(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return nY(e.length,r)},nY=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),nG=tX({op:"Iterator",single:!1,[tD](e,t){let r=this[tS][0];for(;;){let i=r.next(e);if(i.done)return nS(i.value);if(!nK(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[tw](e){return this[tD](this[tS][1],e)}}),nz=eQ(2,(e,t)=>{let r=nS(t);return nW(e,e=>r)}),nq=eQ(2,(e,t)=>nW(e,e=>eO(t,tQ)?t:ty(()=>t(e)))),nV=eQ(2,(e,t)=>nW(e,e=>nz(eO(t,tQ)?t:ty(()=>t(e)),e))),nJ=e=>nW(e,e=>n2),n_=eQ(e=>eO(e[1],tQ),(e,t,r)=>{let i;return i=[e,t],t4(e=>nH(t=>{let s=!1,n=new Set,o=e=>{s=!0,t(0===n.size?e:nW(oL(nb(n)),()=>e))},a=0;for(let t of i){if(s)break;let i=a++,A=oj(e,t,!0,!0,!1);n.add(A),A.addObserver(t=>{n.delete(A);let a=!s;o(t),a&&r?.onWinner&&r.onWinner({fiber:A,index:i,parentFiber:e})})}return nb(n)}))}),nW=eQ(2,(e,t)=>{let r=Object.create(nj);return r[tS]=e,r[tD]=1!==t.length?e=>t(e):t,r}),nj=tK({op:"OnSuccess",[tw](e){return e._stack.push(this),this[tS]}}),nK=e=>tN in e,nX=eQ(2,(e,t)=>nK(e)?"Success"===e._tag?t(e.value):e:nW(e,t)),nZ=eQ(2,(e,t)=>nW(e,e=>nS(ty(()=>t(e))))),n$=eQ(2,(e,t)=>nK(e)?n3(e,t):nZ(e,t)),n0=eQ(2,(e,t)=>nK(e)?n5(e,t):oA(e,t)),n1=e=>"Failure"===e._tag?rD(e.cause):rw(e),n2=t$(void 0),n3=eQ(2,(e,t)=>"Success"===e._tag?t$(t(e.value)):e),n5=eQ(2,(e,t)=>{if("Success"===e._tag)return e;let r=s7(e.cause);return rb(r)?e:t3(t(r.success))});(e,t)=>{if("Success"===e._tag)return t$(t.onSuccess(e.value));let r=s7(e.cause);return rb(r)?e:t3(t.onFailure(r.success))};let n4=eQ(2,(e,t)=>t4(r=>{let i=r.context,s=t(i);return i===s?e:(r.setContext(s),ox(e,()=>{r.setContext(i)}))})),n8=eQ(3,(e,t,r)=>n4(e,e=>{let i=iV(e,t),s=r(i);return i===s?e:iz(e,t,s)})),n9=t4(e=>nS(e.context)),n6=e=>t4(t=>e(t.context)),n7=eQ(2,(e,t)=>nK(e)?e:n4(e,iK(t))),oe=function(){return 1==arguments.length?eQ(2,(e,t)=>ot(e,arguments[0],t)):eQ(3,(e,t,r)=>ot(e,t,r)).apply(this,arguments)},ot=(e,t,r)=>n4(e,e=>e.mapUnsafe.get(t.key)===r?e:iz(e,t,r)),or=((e,t,r)=>nW(r,r=>oe(e,t,r)),eQ(e=>eO(e[0],tQ),(e,t)=>oq({while:eS,body:eb(t?.disableYield?e:nW(e,e=>nM)),step:ex}))),oi=eQ(2,(e,t)=>{let r=Object.create(os);return r[tS]=e,r[tx]=1!==t.length?e=>t(e):t,r}),os=tK({op:"OnFailure",[tw](e){return e._stack.push(this),this[tS]}}),on=((e,t,r)=>oi(e,e=>t(e)?ty(()=>r(e)):nw(e)),eQ(3,(e,t,r)=>oi(e,e=>{let i=t(e);return rb(i)?nw(i.failure):ty(()=>r(i.success,e))}))),oo=eQ(2,(e,t)=>on(e,s7,e=>t(e))),oa=eQ(3,(e,t,r)=>oi(e,e=>{let i=t(e);return rb(i)?nw(e):nq(ty(()=>r(i.success,e)),nw(e))})),oA=((e,t)=>oa(e,s7,e=>t(e)),eQ(2,(e,t)=>oo(e,e=>nU(()=>t(e))))),ol=((e,t)=>og(e,{onFailure:e=>nU(()=>t.onFailure(e)),onSuccess:e=>nD(()=>t.onSuccess(e))}),e=>oh(e,{onFailure:rw,onSuccess:rD})),oc=eQ(2,(e,t)=>{let r=Object.create(od);return r[tS]=e,r[tD]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[tx]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),od=tK({op:"OnSuccessAndFailure",[tw](e){return e._stack.push(this),this[tS]}}),og=((e,t)=>oc(e,{onFailure:e=>nD(()=>t.onFailure(e)),onSuccess:e=>nD(()=>t.onSuccess(e))}),eQ(2,(e,t)=>oc(e,{onFailure:e=>{let r=e.reasons.find(tJ);return r?ty(()=>t.onFailure(r.error)):nw(e)},onSuccess:t.onSuccess}))),ou=eQ(2,(e,t)=>og(e,{onFailure:e=>nD(()=>t.onFailure(e)),onSuccess:e=>nD(()=>t.onSuccess(e))})),oh=eQ(2,(e,t)=>{if(nK(e)){if("Success"===e._tag)return t$(t.onSuccess(e.value));let r=s7(e.cause);return rb(r)?e:t$(t.onFailure(r.success))}return ou(e,t)}),om=e=>nK(e)?t$(e):op(e),op=tX({op:"Exit",[tw](e){return e._stack.push(this),this[tS]},[tD]:(e,t,r)=>nS(r??t$(e)),[tx]:(e,t,r)=>nS(r??t2(e))}),oC=((e,t)=>n_(e,nW(au(t.duration),t.orElse)),"~effect/Scope"),oI="~effect/Scope/Closeable",oE=iF("effect/Scope"),of=(e,t)=>nx(()=>oB(e,t)??nF),oB=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):oy(e,i,t)},oy=nP(function*(e,t,r){let i=[],s=[],n=Array.from(t.values()),o=np();for(let t=n.length-1;t>=0;t--){let a=n[t];"sequential"===e.strategy?i.push((yield*om(a(r)))):s.push(oj(o,a(r),!0,!0,"inherit"))}return s.length>0&&(i=yield*ny(s)),yield*(e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?n2:t2(tG(t))})(i)}),oQ=(e,t)=>nx(()=>"Closed"===e.state._tag?t(e.state.exit):(oN(e,{},t),nF)),oN=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},ob=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},oS=(e="sequential")=>({[oI]:oI,[oC]:oC,strategy:e,state:ow}),ow={_tag:"Empty"},oD=oe(oE),ox=tX({op:"OnExit",single:!1,[tw](e){return e._stack.push(this),this[tS][0]},[tR](e){e.interruptible&&!0!==this[tS][2]&&(e._stack.push(oO),e.interruptible=!1)},[tD](e,t,r){r??=t$(e);let i=this[tS][1](r);return i?nW(i,e=>r):r},[tx](e,t,r){r??=t2(e);let i=this[tS][1](r);return i?nW(i,e=>r):r}}),oR=eQ(2,ox),oM=((e,t,r)=>oR(e,e=>t(e)?r(e):nF),eQ(3,(e,t,r)=>oR(e,e=>{let i=t(e);return rb(i)?nF:r(i.success,e)}))),ok=eQ(2,(e,t)=>oM(e,n1,t)),oU=eQ(3,(e,t,r)=>oR(e,e=>{if("Failure"!==e._tag)return nF;let i=t(e.cause);return rb(i)?nF:r(i.success,e.cause)})),oF=eQ(2,(e,t)=>oU(ne,t)(e)),ov=eQ(2,(e,t)=>nD(()=>{let r,i=sx(sd(t)),s=Number.isFinite(i),n=ar(!1),o=0,a=!1,A=nW(n.await,()=>r);return[t4(t=>{let l=t.getRef(aa),c=s?l.currentTimeMillisUnsafe():0;return a||c<o?r??A:(a=!0,n.closeUnsafe(),r=void 0,oR(e,e=>nD(()=>{a=!1,o=l.currentTimeMillisUnsafe()+i,r=e,n.openUnsafe()})))}),nD(()=>{o=0,n.closeUnsafe(),r=void 0})]})),oT=eQ(2,(e,t)=>nZ(ov(e,t),e=>e[0])),oL=e=>t4(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(oO)),e)),oH=tX({op:"SetInterruptible",[tR](e){if(e.interruptible=this[tS],e._interruptedCause&&e.interruptible)return()=>nw(e._interruptedCause)}}),oO=oH(!0),oP=oH(!1),oY=e=>t4(t=>t.interruptible?e:(e=>{if(e.interruptible=!0,e._stack.push(oP),e._interruptedCause)return nw(e._interruptedCause)})(t)??e),oG=e=>t4(t=>t.interruptible?(t.interruptible=!1,t._stack.push(oO),e(oY)):e(eN)),oz=(e,t)=>eP(e)?t?.mode==="result"?oV(e,ol,t):oV(e,eN,t):t?.discard?"result"===t.mode?oV(Object.values(e),ol,t):oV(Object.values(e),eN,t):nx(()=>{let r={};return nz(oV(Object.entries(e),([e,i])=>nZ(t?.mode==="result"?ol(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),oq=((e=>eP(e[0])&&!eO(e[0],tQ),(e,t,r)=>nZ(oV(e,(e,r)=>ol(t(e,r)),r),e=>sr(e,eN))),tX({op:"While",[tD](e,t){return(this[tS].step(e),this[tS].while())?(t._stack.push(this),this[tS].body()):n2},[tw](e){return this[tS].while()?(e._stack.push(this),this[tS].body()):n2}})),oV=eQ(e=>"function"==typeof e[1],(e,t,r)=>t4(i=>{let s=r?.concurrency==="inherit"?i.getRef(sX):r?.concurrency??1,n="unbounded"===s?1/0:Math.max(1,s);if(1===n)return oJ(e,t,r);let o=i5(e),a=o.length;if(0===a)return r?.discard?nF:nS([]);let A=r?.discard?void 0:Array(a),l=oW({f:t,out:A},o,{concurrency:n});return l?nz(l,A):nS(A)})),oJ=(e,t,r)=>nx(()=>{let i=r?.discard?void 0:[],s=e[Symbol.iterator](),n=s.next(),o=0;return nz(oq({while:()=>!n.done,body:()=>t(n.value,o++),step:e=>{i&&i.push(e),n=s.next()}}),i)}),o_=e=>{let t=e.onItem,r=e.step;return(e,i,s)=>{let n,o,a,A,l,c=s?.start??0,d=s?.end??i.length,g=s?.concurrency??1,u=s?.orderedStep===!0&&g>1,h=!1,m=!1,p=c,C=u?Array(d):void 0,I=e=>{let t=t5(e);return A=t,h=!0,m=!0,o&&o.size>0?nW(oL(nb(Array.from(o))),()=>t):t},E=(t,s,n)=>{if(!u)return r(e,t,s,n);if(A)return A;for(C[n]=s;p<d;){let t=C[p];if(void 0===t)return;C[p]=void 0;let s=p++,n=r(e,i[s],t,s);if(n)return n}},f=()=>{let r=!1;for(;!A&&c<d;c++){let s=i[c],d=l??t(e,s,c);if(nK(d)){if(A=E(s,d,c))break}else{if(1===g)return nW(om(d),e=>(A=E(s,e,c),c++,A??f()??nF));if(!n)return nH(e=>{let t;n=np(),o=new Set,l=d,a=e;try{t=f()}catch(t){return e(I(t))}return t?e(t):nx(()=>(A=n2,m=!0,o?nb(o):nF))});l=void 0;let e=oj(n,d,!0,!0,"inherit");if(e._exit){if(A=E(s,e._exit,c))break;continue}o.add(e);let t=c;if(e.addObserver(i=>{o.delete(e);try{if(A){if(!m&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=t2(tG([e]))}else{let e=E(s,i,t);e&&(A="Failure"===e._tag?t2(tG(e.cause.reasons.slice())):e,f())}if(r){let e=f();e&&a(e)}else h&&0===o.size&&a(A??nF)}catch(e){a(I(e))}}),o.size<g)continue;r=!0,c++;return}}if(h=!0,A){if(o&&o.size>0){let e=nf(n);o.forEach(t=>t.interruptUnsafe(n.id,e));return}if(a||"Failure"===A._tag)return A}else if(a)if(!o)return n2;else 0===o.size&&a(nF)};return f()}},oW=o_({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),oj=((e,t,r)=>nW(e,e=>t(e)?nS(e):r(e)),(e,t,r=!1,i=!1,s=!1)=>{let n="inherit"===s?e.interruptible:!s,o=new nC(e.context,n);return r?o.evaluate(t):e.currentDispatcher.scheduleTask(()=>o.evaluate(t),0),i||o._exit||(e.children().add(o),o.addObserver(()=>e._children.delete(o))),o}),oK=((e=>eO(e[0],tQ),(e,t,r)=>t4(i=>{let s=oj(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!s._exit)if("Closed"!==t.state._tag){let e={};oN(t,e,()=>{let e;return e=e=>e===s.id?nF:nQ(s),t4(t=>e(t.id))}),s.addObserver(()=>ob(t,e))}else s.interruptUnsafe(i.id,nf(i));return nS(s)})),e=>(t,r)=>{let i=new nC(r?.scheduler?iz(e,sv,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i}),oX=eQ(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return oN(t,r,()=>nQ(e)),e.addObserver(()=>ob(t,r)),e}),oZ=oK(iY),o$=e=>{let t=oK(e);return(e,r)=>{let i=t(e,r);return r?.onExit&&i.addObserver(r.onExit),e=>i.interruptUnsafe(e)}},o0=o$(iY),o1=e=>{let t=oK(e);return(e,r)=>{let i=t(e,r);return new Promise(e=>{i.addObserver(t=>e(t))})}},o2=o1(iY),o3=e=>{let t=o1(e);return(e,r)=>t(e,r).then(e=>{if("Failure"===e._tag)throw ni(e.cause);return e.value})},o5=o3(iY),o4=e=>{let t=oK(e);return e=>{if(nK(e))return e;let r=t(e,{scheduler:new sH("sync")});return r._dispatcher?.flush(),r._exit??t5(new aI(r))}},o8=o4(iY),o9=e=>{let t=o4(e);return e=>{let r=t(e);if("Failure"===r._tag)throw ni(r.cause);return r.value}},o6=o9(iY),o7=nS(!0),ae=nS(!1);class at{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),o7}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](n2)};open=t4(e=>this._isOpen?ae:(this._isOpen=!0,this.scheduleUnsafe(e)));release=t4(e=>this._isOpen?ae:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=nH(e=>this._isOpen?e(nF):(this.waiters.push(e),nD(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=nD(()=>this.closeUnsafe());whenOpen=e=>nW(this.await,()=>e);isOpen(){return this._isOpen}}let ar=e=>new at(e??!1),ai=BigInt(0),as={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:ai,endTime:ai,exit:n2},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},an=e=>e?iJ(e.annotations,sq)?"Span"===e._tag?an(r1(e.parent)):rv():rT(e):rv(),ao=oe(sz),aa=iF("effect/Clock",{defaultValue:()=>new al}),aA=0x80000000-1;class al{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=nD(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return ad()}currentTimeNanos=nD(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(sx(e))}sleepMillis(e){return e<=0?nM:Number.isFinite(e)?nH(t=>{let r=e>aA?this.sleepMillis(e-aA):nF,i=setTimeout(()=>t(r),Math.min(e,aA));return nD(()=>clearTimeout(i))}):nO}}let ac=(C=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*C:()=>(p??=BigInt(Date.now())*C-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),ad=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return ac;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),ag=e=>t4(t=>e(t.getRef(aa))),au=e=>ag(t=>t.sleep(sd(e))),ah=(e=>e.currentTimeMillis,"~effect/Cause/TimeoutError"),am="~effect/Cause/IllegalArgumentError";class ap extends t6("IllegalArgumentError"){[am]=am;constructor(e){super({message:e})}}let aC="~effect/Cause/AsyncFiberError";class aI extends t6("AsyncFiberError"){[aC]=aC;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let aE="~effect/Cause/UnknownError";class af extends t6("UnknownError"){[aE]=aE;constructor(e,t){super({message:t,cause:e})}}let aB=iF("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),ay=rU(rk(rR,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}})),aQ=iF("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([aD,ax])}),aN=iF("effect/Logger/LogToStderr",{defaultValue:ew}),ab={"~effect/Logger":{_Message:eN,_Output:eN},pipe(){return ts(this,arguments)}},aS=e=>{let t=Object.create(ab);return t.log=e,t},aw=(e,t)=>{let r=e[0].replace(/[\s="]/g,"_");return`${r}=${t-e[1]}ms`},aD=aS(({cause:e,date:t,fiber:r,logLevel:i,message:s})=>{let n=Array.isArray(s)?s.slice():[s];e.reasons.length>0&&n.push(nc(e));let o=t.getTime(),a=r.getRef(s9),A="";for(let e of a)A+=` ${aw(e,o)}`;let l=r.getRef(s5);Object.keys(l).length>0&&n.push(l);let c=r.getRef(aB);(r.getRef(aN)?c.error:c.log)(`[${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}] ${i.toUpperCase()} (#${r.id})${A}:`,...n)}),ax=aS(({cause:e,fiber:t,logLevel:r,message:i})=>{let s=t.getRef(aa),n=t.getRef(s5),o=t.currentSpan;if(void 0===o||"ExternalSpan"===o._tag)return;let a={};for(let[e,t]of Object.entries(n))a[e]=t;a["effect.fiberId"]=t.id,a["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(a["effect.cause"]=nc(e)),o.event(((e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?tp(e,{space:t}):String(e)}catch{return String(e)}})(Array.isArray(i)&&1===i.length?i[0]:i),s.currentTimeNanosUnsafe(),a)}),aR=e=>void 0===e?rr:t3(rt(e)),aM=eQ(2,(e,t)=>on(e,aU,e=>t(e))),ak=sF(s7,e=>eO(e,t7)?rD(e):rw(e)),aU=sF(s7,e=>eO(e,t7)?rD(e.value):rw(e)),aF=eQ(2,(e,t)=>oc(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=ak(e);return rb(r)?t.onFailure(r.failure):t.onDone(r.success.value)}})),av="~effect/Schedule",aT=iF("effect/Schedule/CurrentMetadata",{defaultValue:eb({input:void 0,output:void 0,duration:sE,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),aL={[av]:{_Out:eN,_In:eN,_Env:eN},pipe(){return ts(this,arguments)}},aH=e=>{let t=Object.create(aL);return t.step=e,t},aO=()=>{let e,t,r=0;return(i,s)=>{void 0===t&&(t=i);let n=i-t,o=void 0===e?0:i-e;return e=i,{input:s,attempt:++r,start:t,now:i,elapsed:n,elapsedSincePrevious:o}}},aP=e=>aH(nZ(e,e=>{let t=aO();return(r,i)=>e(t(r,i))})),aY=e=>oi(e.step,e=>nS(()=>nw(e))),aG=e=>ag(t=>nZ(aY(e),e=>{let r=aO();return i=>nx(()=>{let s=t.currentTimeMillisUnsafe();return nW(e(s,i),([e,t])=>{let n=r(s,i);return n.output=e,n.duration=t,nz(au(t),n)})})})),az=e=>aH(nZ(aY(e),e=>(t,r)=>aF(e(t,r),{onSuccess:e=>nS([r,e[1]]),onFailure:nw,onDone:()=>aR(r)}))),aq=eQ(2,(e,t)=>aH(nZ(aY(e),e=>{let r=aO();return(i,s)=>nW(e(i,s),e=>{let[n,o]=e,a=t({...r(i,s),output:n,duration:o});return nW(eO(a,tQ)?a:nS(a),t=>t?nS(e):aR(n))})}))),aV=(I=sd(sE),aP(nS(e=>nS([e.attempt-1,I])))),aJ={"~effect/Deferred":{_A:eN,_E:eN},pipe(){return ts(this,arguments)}},a_=eQ(2,(e,t)=>nD(()=>aW(e,t))),aW=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0},aj=(e,t)=>{let r=oS(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return oN(e,i,e=>of(r,e)),oN(r,i,t=>nD(()=>ob(e,i))),r},aK="~effect/Layer/MemoMap",aX={"~effect/Layer":{_ROut:eN,_E:eN,_RIn:eN},pipe(){return ts(this,arguments)}},aZ=e=>{var t;let r;return t=(t,r)=>{let i=aj(r);return oR(e(t,i),e=>"Failure"===e._tag?of(i,e):nF)},(r=Object.create(aX)).build=t,r};class a${get[aK](){return aK}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,nq(oQ(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let s,n,o,a,A=this.get(e,t);return A?A:(i=this,s=oS(),(n=Object.create(aJ)).resumes=void 0,n.effect=void 0,a={observers:1,effect:(o=n,nH(e=>o.effect?e(o.effect):(o.resumes??=[],o.resumes.push(e),nD(()=>{let t=o.resumes.indexOf(e);o.resumes.splice(t,1)})))),finalizer:t=>nx(()=>(a.observers--,0===a.observers)?(i.map.delete(e),of(s,t)):nF)},i.map.set(e,a),oQ(t,a.finalizer).pipe(nW(()=>r(i,s)),oR(e=>(a.effect=e,a_(o,e)))))}}let a0=()=>new a$;class a1 extends iF()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=iq(e,a1);return t?new a$(t):a0()}}let a2=eQ(3,(e,t,r)=>oe(nZ(e.build(t,r),iz(a1,t)),a1,t)),a3=eQ(2,(e,t)=>t4(r=>a2(e,a1.forkOrCreate(r.context),t))),a5=function(){return 1==arguments.length?e=>a4(arguments[0],e):a4(arguments[0],arguments[1])},a4=(e,t)=>a8(nZ(t,t=>iG(e,t))),a8=e=>{var t;let r;return t=(t,r)=>oD(e,r),r=aZ((e,i)=>e.getOrElseMemoize(r,i,t))},a9=(e,t,r)=>{let i=aj(r,"parallel");return oV(e,e=>e.build(t,aj(i,"sequential")),{concurrency:e.length}).pipe(nZ(e=>((...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return iH(t)})(...e)))},a6=eQ(2,(e,t)=>aZ((r,i)=>nW(Array.isArray(t)?a9(t,r,i):t.build(r,i),t=>e.build(r,i).pipe(n7(t),nZ(e=>eN(e)))))),a7=((e=>eO(e[0],tQ),(e,t,r)=>{var i;let s;return iP(t)?n7(e,t):(i=Array.isArray(t)?((...e)=>aZ((t,r)=>a9(e,t,r)))(...t):t,s=t=>nW(r?.local?a2(i,a0(),t):a3(i,t),t=>n7(e,t)),nx(()=>{let e=oS();return oR(s(e),t=>nx(()=>oB(e,t)??nF))}))}),eQ(3,(e,t,r)=>nW(aG(t),t=>{let i,s=aT.defaultValue(),n=oo(nx(()=>oe(e,aT,s)),e=>(i=e,nW(t(e),e=>(s=e,n))));return aM(n,e=>ty(()=>r(i,e)))}))),Ae=eQ(2,(e,t)=>a7(e,"function"==typeof t?t(eN):eO(t,av)?t:Ar(t),t3)),At=az(aV),Ar=e=>{let t=e.schedule?az(e.schedule):At;return e.while&&(t=aq(t,({input:t})=>{let r=e.while(t);return eO(r,tQ)?r:nS(r)})),e.until&&(t=aq(t,({input:t})=>{let r=e.until(t);return eO(r,tQ)?nZ(r,e=>!e):nS(!r)})),void 0!==e.times&&(t=aq(t,({attempt:t})=>nS(t<=e.times))),t},Ai=aq(aV,({attempt:e})=>nS(e<=1)),As=(H={_E:e=>e,_A:e=>e,_R:e=>e},ek.add(H),H);({...{[eY](){return ej(this,Object.keys(this))},[e5](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!e4(this[t[i]],e[t[i]]))return!1;return!0}},"~effect/Request":As});let An=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new af(e,"An error occurred in Effect.tryPromise"):e.catch;return nT(function(e,i){let s=t=>{try{e(t3(ty(()=>r(t))))}catch(t){e(t5(t))}};try{ty(()=>t(i)).then(t=>e(nS(t)),s)}catch(e){s(e)}},0!==t.length)},Ao=(...e)=>nx(()=>nG(1===e.length?e[0]():e[1].call(e[0].self))),Aa=e=>nx(()=>nw(ty(e))),AA=e=>oT(e,sf),Al=function(){let e,t=(e=arguments[0],eO(e,tQ)),r=t?arguments[1]:arguments[0],i=t?arguments[2]:arguments[1],s=eN;if("Span"===r._tag){var n,o;i=(e=>{var t;let r;if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let i=Error.stackTraceLimit;ra(3);let s=Error();return ra(i),{...e,captureStackTrace:(t=()=>s.stack,()=>{if(void 0!==r)return r;let e=t();if(!e)return;let i=e.split("\n");if(void 0!==i[3])return r=i[3].trim()})}})(i),n=r.name,o="function"==typeof(o=i?.captureStackTrace)?o:ex,s=n8(s$,e=>({name:n,stack:o,parent:e}))}return t?ao(s(arguments[0]),r):e=>ao(s(e),r)},Ac=t6,Ad=/^[+-]?\d+$/,Ag="~effect/BigDecimal",Au={[Ag]:Ag,[eY](){let e=Ay(this);return eq(eG(e.value),e_(e.scale))},[e5](e){return Ah(e)&&AR(this,e)},toString(){return`BigDecimal(${AM(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[tC](){return this.toJSON()},pipe(){return ts(this,arguments)}},Ah=e=>eO(e,Ag),Am=(e,t)=>{let r=Object.create(Au);return r.value=e,r.scale=t,r},Ap=(e,t)=>{if(e!==AC&&e%Af===AC)throw RangeError("Value must be normalized");let r=Am(e,t);return r.normalized=r,r},AC=BigInt(0),AI=BigInt(1),AE=BigInt(-1),Af=BigInt(10),AB=Ap(AC,0),Ay=e=>{if(void 0===e.normalized)if(e.value===AC)e.normalized=AB;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),s=e.scale-r;e.normalized=Ap(i,s)}return e.normalized},AQ=eQ(2,(e,t)=>t>e.scale?Am(e.value*Af**BigInt(t-e.scale),t):t<e.scale?Am(e.value/Af**BigInt(e.scale-t),t):e),AN=eQ(2,(e,t)=>t.value===AC?e:e.value===AC?t:e.scale>t.scale?Am(AQ(t,e.scale).value+e.value,e.scale):e.scale<t.scale?Am(AQ(e,t.scale).value+t.value,t.scale):Am(e.value+t.value,e.scale)),Ab=rx((e,t)=>{let r=rR(AD(e),AD(t));return 0!==r?r:e.scale>t.scale?rM(e.value,AQ(t,e.scale).value):e.scale<t.scale?rM(AQ(e,t.scale).value,t.value):rM(e.value,t.value)}),AS=(U=Ab,eQ(2,(e,t)=>-1===U(e,t))),Aw=rU(Ab),AD=e=>e.value===AC?0:e.value<AC?-1:1,Ax=rA((e,t)=>e.scale>t.scale?AQ(t,e.scale).value===e.value:e.scale<t.scale?AQ(e,t.scale).value===t.value:e.value===t.value),AR=eQ(2,(e,t)=>Ax(e,t)),AM=e=>{let t,r,i=Ay(e);if(Math.abs(i.scale)>=16)return Ak(i);let s=i.value<AC,n=s?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=n.length)t="0",r="0".repeat(i.scale-n.length)+n;else{let e=n.length-i.scale;if(e>n.length){let i=e-n.length;t=`${n}${"0".repeat(i)}`,r=""}else r=n.slice(e),t=n.slice(0,e)}let o=""===r?t:`${t}.${r}`;return s?`-${o}`:o},Ak=e=>{if(AU(e))return"0e+0";let t=Ay(e),r=`${(t.value<AC?Am(-t.value,t.scale):t).value}`,i=r.slice(0,1),s=r.slice(1),n=`${AF(t)?"-":""}${i}`;""!==s&&(n+=`.${s}`);let o=s.length-t.scale;return`${n}e${o>=0?"+":""}${o}`},AU=e=>e.value===AC,AF=e=>e.value<AC,Av=e=>Ah(e[0]),AT=eQ(Av,(e,t=0)=>e.scale<=t?e:Am(e.value/Af**BigInt(e.scale-t),t)),AL=eQ(Av,(e,t=0)=>{let r=AT(e,t);return e.value>AC&&AS(r,e)?AN(r,Am(AI,t)):r}),AH=eQ(Av,(e,t=0)=>{let r=AT(e,t);return AF(e)&&Aw(r,e)?AN(r,Am(AE,t)):r}),AO="~effect/time/DateTime",AP="~effect/time/DateTime/TimeZone",AY={[AO]:AO,pipe(){return ts(this,arguments)},[tC](){return this.toString()},toJSON(){return le(this).toJSON()}},AG={...AY,_tag:"Utc",[eY](){return e_(this.epochMilliseconds)},[e5](e){return AW(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${le(this).toJSON()})`}},Az={...AY,_tag:"Zoned",[eY](){return eq(e_(this.epochMilliseconds))(eG(this.zone))},[e5](e){return AW(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&e4(this.zone,e.zone)},toString(){return`DateTime.Zoned(${lm(this)})`}},Aq={[AP]:AP,[tC](){return this.toString()}},AV={...Aq,_tag:"Named",[eY](){return eW(`Named:${this.id}`)},[e5](e){return AK(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},AJ={...Aq,_tag:"Offset",[eY](){return eW(`Offset:${this.offset}`)},[e5](e){return AK(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${li(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},A_=(e,t,r)=>{let i=Object.create(Az);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},AW=e=>eO(e,AO),Aj=e=>AW(e[0]),AK=e=>eO(e,AP),AX=((e,t)=>e.epochMilliseconds===t.epochMilliseconds,e=>{let t=Object.create(AG);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t}),AZ=e=>{let t=e.getTime();if(Number.isNaN(t))throw new ap("Invalid date");return AX(t)},A$=e=>{if(AW(e))return e;if(e instanceof Date)return AZ(e);if("object"==typeof e){if("epochMilliseconds"in e)return AX(e.epochMilliseconds);let t=new Date(0);return ln(t,e),AZ(t)}return"string"!=typeof e||A0(e)?AZ(new Date(e)):AZ(new Date(e+"Z"))},A0=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),A1=r2((e,t)=>{let r,i=t?.timeZone;if(void 0===i&&AW(e)&&"Zoned"===e._tag)return e;let s=A$(e);if(s.epochMilliseconds<-86399999568e5||s.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${s.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=A8(-60*new Date(s.epochMilliseconds).getTimezoneOffset()*1e3);else if(AK(i))r=i;else if("number"==typeof i)r=A8(i);else{let e=A7(i);if(rH(e))throw new ap(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?A_(s.epochMilliseconds,r,s.partsUtc):lo(s.epochMilliseconds,r,t?.disambiguation??"compatible")}),A2=r2(A$),A3=/^(.{17,35})\[(.+)\]$/,A5=((e,t,r)=>r?.adjustForTimeZone===!0?lo(e.epochMilliseconds,t,r?.disambiguation??"compatible"):A_(e.epochMilliseconds,t,e.partsUtc),new Map),A4={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},A8=e=>{let t=Object.create(AJ);return t.offset=e,t},A9=r2(e=>{if(A5.has(e))return A5.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...A4,timeZone:e});let r=t.resolvedOptions().timeZone;if(A5.has(r))return A5.get(r);let i=Object.create(AV);return i.id=r,i.format=t,A5.set(r,i),i}catch{throw new ap(`Invalid time zone: ${e}`)}}),A6=/^(?:GMT|[+-])/,A7=e=>{if(A6.test(e)){let t=lA(e);return null===t?rv():rT(A8(t))}return A9(e)},le=e=>new Date(e.epochMilliseconds),lt=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},lr=e=>lt(e).getTime()-ls(e),li=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},ls=e=>e.epochMilliseconds,ln=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},lo=(e,t,r)=>{if("Offset"===t._tag)return A_(e-t.offset,t);let i=ll(e-864e5,e,t),s=ll(e+864e5,e,t);if(i===s)return A_(e-i,t);let n=i-s;if(i<s){if(ll(e-s,e,t)===s)return A_(e-s,t);let n=A_(e-i,t);if(e!==lt(n).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return A_(e-s,t)}return n}if(ll(e-i,e,t)===i){if("earlier"===r||"compatible"===r||ll(e-i+n,e+n,t)===i)return A_(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return A_(e-s,t)},la=/([+-])(\d{2}):(\d{2})$/,lA=e=>{let t=la.exec(e);if(null===t)return null;let[,r,i,s]=t;return("+"===r?1:-1)*(60*Number(i)+Number(s))*6e4},ll=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let s=lA(i);return null===s?lr(A_(t,r)):s},lc=eQ(Aj,(e,t,r)=>{if("Utc"===e._tag){let r=le(e);return t(r),AX(r.getTime())}let i=new Date(lt(e).getTime());return t(i),lo(i.getTime(),e.zone,r?.disambiguation??"compatible")}),ld=((e,t)=>ld(e,e=>{let r=new Date(e);return t(r),r.getTime()}),eQ(2,(e,t)=>{let r=t(ls(e));return"Utc"===e._tag?AX(r):A_(r,e.zone)})),lg=((e,t)=>t(lt(e)),eQ(2,(e,t)=>t(le(e)))),lu=(e,t)=>{e.setTime(e.getTime()+t)},lh=((e,t)=>lc(e,e=>{if(t.milliseconds&&lu(e,t.milliseconds),t.seconds&&lu(e,1e3*t.seconds),t.minutes&&lu(e,60*t.minutes*1e3),t.hours&&lu(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=lt(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${li(lr(e))}`}),lm=e=>"Offset"===e.zone._tag?lh(e):`${lh(e)}[${e.zone.id}]`,lp="~effect/encoding/EncodingError";class lC extends Ac("EncodingError"){[lp]=lp}let lI=e=>"string"==typeof e?lQ(lf.encode(e)):lQ(e),lE=e=>{let t=ly(e),r=t.length;if(r%4!=0)return rw(new lC({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return rw(new lC({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,s=0;e<r;e+=4,s+=3){let r=lN(t.charCodeAt(e))<<18|lN(t.charCodeAt(e+1))<<12|lN(t.charCodeAt(e+2))<<6|lN(t.charCodeAt(e+3));i[s]=r>>16,i[s+1]=r>>8&255,i[s+2]=255&r}return rD(i)}catch(e){return rw(new lC({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},lf=new TextEncoder,lB=new TextDecoder,ly=e=>e.replace(/[\n\r]/g,""),lQ=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=lb[e[t-2]>>2],i+=lb[(3&e[t-2])<<4|e[t-1]>>4],i+=lb[(15&e[t-1])<<2|e[t]>>6],i+=lb[63&e[t]];return t===r+1&&(i+=lb[e[t-2]>>2],i+=lb[(3&e[t-2])<<4],i+="=="),t===r&&(i+=lb[e[t-2]>>2],i+=lb[(3&e[t-2])<<4|e[t-1]>>4],i+=lb[(15&e[t-1])<<2],i+="="),i};function lN(e){if(e>=lS.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=lS[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let lb=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],lS=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],lw=e=>lQ(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),lD=e=>{let t="";for(let r=0;r<e.length;++r)t+=lR[e[r]];return t},lx=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},lR=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function lM(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}let lk=eR(e=>{let t=(e.checks?e.checks[e.checks.length-1].annotations:e.annotations)?.identifier;return"string"==typeof t?t:e.getExpected(lk)}),lU="~effect/SchemaIssue/Issue";class lF{[lU]=lU;toString(){return lj(this)}}class lv extends lF{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class lT extends lF{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class lL extends lF{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class lH extends lF{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class lO extends lF{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class lP extends lF{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class lY extends lF{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class lG extends lF{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class lz extends lF{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class lq extends lF{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function lV(e,t){if(eO(t,lU))return t;if("string"==typeof t)return new lY(rT(e),{message:t});let r="string"==typeof t.issue?new lY(rT(e),{message:t.issue}):t.issue;return new lL(t.path,r)}let lJ=e=>{let t=lX(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return lW(lk(e.ast),l$(e.actual));case"InvalidValue":return`Invalid data ${l$(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${tg(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${tg(e.actual)}`}},l_=e=>lX(e.issue)??lX(e);function lW(e,t){return`Expected ${e}, got ${t}`}let lj=e=>(function e(t,r,i,s){switch(t._tag){case"Filter":{let n=s(t);if(void 0!==n)return[{path:r,message:n}];if("InvalidValue"===t.issue._tag)return[{path:r,message:lW(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),tg(t.actual))}];return e(t.issue,r,i,s)}case"Encoding":return e(t.issue,r,i,s);case"Pointer":return e(t.issue,[...r,...t.path],i,s);case"Composite":return t.issues.flatMap(t=>e(t,r,i,s));case"AnyOf":{let n=lX(t);if(0===t.issues.length){if(void 0!==n)return[{path:r,message:n}];return[{path:r,message:lW(lk(t.ast),tg(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,s))}default:return[{path:r,message:i(t)}]}})(e,[],lJ,l_).map(lK).join("\n");function lK(e){let t=e.message;if(e.path&&e.path.length>0){let r=e.path.map(e=>`[${th(e)}]`).join("");t+=` - at ${r}`}return t}function lX(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return lZ(e.ast.annotations);case"InvalidValue":case"Forbidden":return lZ(e.annotations);case"MissingKey":return lZ(e.annotations,"messageMissingKey");case"UnexpectedKey":return lZ(e.ast.annotations,"messageUnexpectedKey");case"Filter":return lZ(e.filter.annotations);case"Encoding":return lX(e.issue)}}function lZ(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function l$(e){return rH(e)?"no value provided":tg(e.value)}function l0(e){let t;for(let r of e.reasons){if(!tJ(r)||!eO(r.error,lU))return;t??=r.error}return t}function l1(e,t){let r=l0(e);if(void 0===r)throw Error(t,{cause:e});return r}class l2 extends to{run;constructor(e){super(),this.run=e}map(e){return new l2((t,r)=>this.run(t,r).pipe(n$(r4(e))))}compose(e){return l5(this)?e:l5(e)?this:new l2((t,r)=>this.run(t,r).pipe(nX(t=>e.run(t,r))))}}let l3=new l2(nS);function l5(e){return e.run===l3.run}function l4(e){var t;return t=r4(e),new l2(e=>nS(t(e)))}function l8(e){var t;return t=(t,r)=>e(t,r).pipe(n$(rT)),new l2((e,r)=>rH(e)?nk:t(e.value,r))}function l9(){return l4(globalThis.String)}function l6(){return l4(globalThis.Number)}let l7="~effect/SchemaTransformation/Transformation";class ce{[l7]=l7;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new ce(this.encode,this.decode)}compose(e){return new ce(this.decode.compose(e.decode),e.encode.compose(this.encode))}}function ct(e){return new ce(l8(e.decode),l8(e.encode))}let cr=new ce(l3,l3),ci=new ce(l6(),l9()),cs=new ce(l4(globalThis.BigInt),l9());l4(e=>new globalThis.Date(e));let cn=e=>{let t;return"object"!=typeof e||null===e||Array.isArray(e)||"string"!=typeof e.message?e:(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:cn(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t)};function co(e){return t=>t._tag===e}l8(e=>n0(nR(lE(e)),t=>new lY(rT(e),{message:t.message}))),l4(lI),l8(e=>i2(i1(lE(e),e=>lB.decode(e)),{onFailure:t=>t3(new lY(rT(e),{message:t.message})),onSuccess:nS})),l4(lI),l8(e=>i2(i1((e=>{let t=ly(e),r=t.length;if(r%4==1)return rw(new lC({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return rw(new lC({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return lE(i=i.replace(/-/g,"+").replace(/_/g,"/"))})(e),e=>lB.decode(e)),{onFailure:t=>t3(new lY(rT(e),{message:t.message})),onSuccess:nS})),l4(e=>"string"==typeof e?lw(lf.encode(e)):lw(e)),l8(e=>i2(i1((e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return rw(new lC({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=lx(t[2*i]),s=lx(t[2*i+1]);r[i]=e<<4|s}return rD(r)}catch(t){return rw(new lC({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}})(e),e=>lB.decode(e)),{onFailure:t=>t3(new lY(rT(e),{message:t.message})),onSuccess:nS})),l4(e=>"string"==typeof e?lD(lf.encode(e)):lD(e)),l8(e=>{try{return nS(globalThis.decodeURIComponent(e))}catch(t){return t3(new lY(rT(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}}),l4(encodeURIComponent);let ca=co("Declaration"),cA=co("Never"),cl=co("Literal"),cc=co("UniqueSymbol"),cd=co("Arrays"),cg=co("Objects");class cu{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let ch={};class cm{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let cp="~effect/Schema";class cC{[cp]=cp;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class cI extends cC{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.typeParameters=e,this.run=t,this.encodingChecks=o}getParser(){let e=this.run(this.typeParameters);return(t,r)=>rH(t)?nk:n$(e(t.value,this,r),rT)}_rebuild(e,t,r){let i=c2(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new cI(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let cE=new class extends cC{_tag="Null";getParser(){return de(this,null)}getExpected(){return"null"}},cf=new cu(cE,new ce(l4(()=>void 0),l4(()=>null))),cB=new class extends cC{_tag="Undefined";getParser(){return de(this,void 0)}toCodecJson(){return cj(this,[cf])}getExpected(){return"undefined"}},cy=new class extends cC{_tag="Unknown";getParser(){return dt(this,eH)}getExpected(){return"unknown"}};class cQ extends cC{_tag="Literal";literal;constructor(e,t,r,i,s){if(super(t,r,i,s),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${tg(e)}`);this.literal=e}getParser(){return de(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?cN(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:cN(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function cN(e){let t=globalThis.String(e.literal);return cj(e,[new cu(new cQ(t),new ce(l4(()=>e.literal),l4(()=>t)))])}let cb=new class extends cC{_tag="String";getParser(){return dt(this,eU)}matchPart(e,t){return dr(this,e,t)}getExpected(){return"string"}};function cS(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return cS(e.checks,t)}})}let cw=new class extends cC{_tag="Number";getParser(){return dt(this,eF)}matchKey(e,t){return this._match(dA,e,t)}matchPart(e,t){return this._match(da,e,t)}_match(e,t,r){return e.test(t)?dr(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(cS(this.checks,"isFinite")||cS(this.checks,"isInt"))?this:cj(this,[cG])}toCodecStringTree(){return this.checks&&(cS(this.checks,"isFinite")||cS(this.checks,"isInt"))?cj(this,[dc]):cj(this,[dd])}getExpected(){return"number"}},cD=new class extends cC{_tag="Symbol";getParser(){return dt(this,eT)}matchKey(e,t){return dr(this,e,t)}toCodecStringTree(){return cj(this,[dm])}getExpected(){return"symbol"}},cx=new class extends cC{_tag="BigInt";getParser(){return dt(this,ev)}matchPart(e,t){return dg.test(e)?dr(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return cj(this,[du])}getExpected(){return"bigint"}},cR=o_({onItem(e,t,r){let i=r<e.len?rT(t):rv();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return ck(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(c8(t.ast))return;let r=new lL([i],new lH(t.ast.context?.annotations));if("all"!==e.options.errors)return t3(new lO(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),cM=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,ck=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let s=l0(i.cause);if(void 0===s)return t2(nr(i.cause,i=>new lO(t,e.oinput,[new lL([r],i)])));let n=new lL([r],s);if("all"!==e.options.errors)return t3(new lO(t,e.oinput,[n]));e.issues?e.issues.push(n):e.issues=[n]},cU="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";function cF(e,t){return e?t?[...e,...t]:e:t}function cv(e){return e.ast}function cT(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!c8(t)){if(cl(t))return[{key:e.name,literal:t.literal}];if(cc(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>cl(e)&&!c8(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return cT(e.thunk())}}let cL=new WeakMap;function cH(e){return t=>{let r=c6(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class cO extends cC{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.types=e,this.mode=t,this.encodingChecks=o}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return nS(r);let s=r.value,n=function(e,t){let r=function(e){let t=cL.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=c6(e[r]);if(cA(i))continue;let s=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),n=cT(i);for(let e of(t.byType??={},s))(t.byType[e]??=[]).push(r);if(n.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,n)){let s=t.bySentinel.get(e);s||t.bySentinel.set(e,s=new Map);let n=s.get(i);n||s.set(i,n=[]),n.push(r)}else for(let e of(t.otherwise??={},s))(t.otherwise[e]??=[]).push(r)}return cL.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let s=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(s);for(let[t,s]of r.bySentinel)if(Object.hasOwn(e,t)){let r=s.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(cH(e))}return s.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(cH(e))}(s,t.types),o={ast:t,recur:e,oinput:r,input:s,out:void 0,successes:[],issues:void 0,options:i},a=cM(i?.concurrency),A=cP(o,n,a?{...a,orderedStep:!0}:void 0);return A?nW(A,e=>o.out?nS(o.out):t3(new lz(t,s,o.issues??[]))):o.out?nS(o.out):t3(new lz(t,s,o.issues??[]))}}_rebuild(e,t,r){let i=c2(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new cO(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=c6(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(cl);if(t.length>0)return`${cz(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>cl(e.type));if(t.length>0)return`{ ${t.map(t=>`${cz(t.type.context?.isMutable)}${th(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let cP=o_({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=l0(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),t3(new lq(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return n2}}}),cY=new cO([new cQ("Infinity"),new cQ("-Infinity"),new cQ("NaN")],"anyOf"),cG=new cu(new cO([cw,cY],"anyOf"),new ce(l6(),l4(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function cz(e){return e?"":"readonly "}class cq extends to{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new cq(this.run,{...this.annotations,...e},this.aborted)}abort(){return new cq(this.run,this.annotations,!0)}and(e,t){return new cV([this,e],t)}}class cV extends to{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new cV(this.checks,{...this.annotations,...e})}and(e,t){return new cV([this,e],t)}}function cJ(e,t,r=!1){return new cq((t,r,i)=>(function(e,t,r){if(Array.isArray(r))return r.length>0?1===r.length?lV(e,r[0]):new lO(t,rT(e),st(r,t=>lV(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new lY(rT(e)):lV(e,r)})(t,r,e(t,r,i)),t,r)}function c_(e,t){let r=e.source;return cJ(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function cW(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function cj(e,t){return e.encoding===t?e:cW(e,e=>{e.encoding.value=t})}function cK(e,t){return e.context===t?e:cW(e,e=>{e.context.value=t})}function cX(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return cZ(e,i4(e.checks.slice(0,-1),r.annotate(t)))}return cW(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function cZ(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:cW(e,e=>{e.checks.value=t})}function c$(e,t){return cZ(e,cF(e.checks,t))}function c0(e,t){let r=e[e.length-1],i=t(r.to);return i!==r.to?i4(e.slice(0,e.length-1),new cu(i,r.transformation)):e}function c1(e){return eR(function t(r){return r.encoding?cj(r,c0(r.encoding,t)):e(r)})}function c2(e,t){let r=!1,i=Array(e.length);for(let s=0;s<e.length;s++){let n=e[s],o=t(n);o!==n&&(r=!0),i[s]=o}return r?i:e}function c3(e,t){let r=e.context?new cm(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new cm(!1,!1,void 0,t);return cK(e,r)}let c5=e=>e.encoding?cj(e,c0(e.encoding,c4)):e;function c4(e){let t=e.context?!1===e.context.isOptional?new cm(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new cm(!0,!1);return c5(cK(e,t))}function c8(e){return e.context?.isOptional??!1}let c9=eR(e=>{if(e.encoding)return c9(cj(e,void 0));let t=e.recur?.(c9)??e,r=t.encodingChecks;return r?cW(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=cF(t.checks,r))}):t}),c6=eR(e=>c9(c7(e))),c7=eR(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],s=[new cu(c7(cj(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)s.unshift(new cu(c7(t[e-1].to),t[e].transformation.flip()));let n=c7(i.to);return n.encoding?cj(n,[...n.encoding,...s]):cj(n,s)}(e,e.encoding):e.flip?.(c7)??e.recur?.(c7)??e);function de(e,t){let r=nS(rT(t));return i=>"None"===i._tag?nk:i.value===t?r:t3(new lP(e,i))}function dt(e,t){return r=>"None"===r._tag?nk:t(r.value)?nS(r):t3(new lP(e,r))}function dr(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return dp(e.checks,t,i,e,r),0===i.length?t:void 0}let di=c1(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(di)}}),ds=c1(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(ds)}}),dn=c1(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(dn)}}),da=new globalThis.RegExp(`^${cU}$`),dA=new globalThis.RegExp(`(?:${cU}|Infinity|-Infinity|NaN)`),dl=c$(cb,[c_(da,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:da},...void 0})]),dc=new cu(dl,ci),dd=new cu(new cO([dl,cY],"anyOf"),ci),dg=new globalThis.RegExp("^-?\\d+$"),du=new cu(c$(cb,[c_(dg,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:dg},expected:"a string representing a bigint"})]),cs),dh=new globalThis.RegExp("^Symbol\\((.*)\\)$"),dm=new cu(c$(cb,[c_(dh,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:dh},...void 0})]),new ce(l4(e=>globalThis.Symbol.for(dh.exec(e)[1])),l8(e=>void 0!==globalThis.Symbol.keyFor(e)?nS(globalThis.String(e)):t3(new lG(rT(e),{message:"cannot serialize to string, Symbol is not registered"})))));function dp(e,t,r,i,s){for(let n=0;n<e.length;n++){let o=e[n];if("FilterGroup"===o._tag)dp(o.checks,t,r,i,s);else{let e=o.run(t,i,s);if(e&&(r.push(new lv(t,o,e)),o.aborted||s?.errors!=="all"))return}}}let dC="~effect/Schema/Class",dI=new cI([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let s=Array.isArray(t);if(!s){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let n=s?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),n&&i.add(t),n}(e))?nS(e):t3(new lP(t,rT(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new cu(cy,cr),toArbitrary:()=>e=>e.jsonValue()}),dE=new cu(cE,new ce(l3,l4(()=>null))),df=new cu(dI,cr),dB="~effect/SchemaError/SchemaError";class dy extends Ac("SchemaError"){[dB]=dB;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let dQ=eR(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[dC];if(eL(t)){let r=t(e.typeParameters),i=dQ(r.to);return cj(e,i===r.to?[r]:[new cu(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=dQ(e);return cj(r,r.encoding?[...r.encoding,...t]:t)}return dQ(e)});case"Suspend":return e.recur(dQ);default:return e}});function dN(e){let t=dS(dQ(c9(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function db(e){let t=dN(e);return(e,r)=>{let i=o8(t(e,r));return"Success"===i._tag?rT(i.value):(l1(i.cause,"Option adapter can only return none for schema issues"),rv())}}function dS(e){let t=dD(e);return(e,r)=>nX(t(rT(e),r??ch),e=>"None"===e._tag?t3(new lY(e)):nS(e.value))}function dw(e,t){return oi(e,e=>Aa(()=>nr(e,t)))}let dD=eR(e=>{let t,r=e.checks,i=e.encoding,s=i?.length??0,n=e.encodingChecks,o=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!i&&!r&&!n)return(r,i)=>(t??=e.getParser(dD),o&&(i={...i,...o}),t(r,i));let a=cd(e)||cg(e)||ca(e)&&e.typeParameters.length>0,A=r&&a?r.filter(e=>e.annotations?.["~structural"]):void 0;return(a,l)=>{let c;if(o&&(l={...l,...o}),i){for(let e=s-1;e>=0;e--){let t=i[e],r=dD(t.to);if(c=c?nX(c,e=>r(e,l)):r(a,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;c=nX(c,t=>e.run(t,l))}else c=t.transformation.decode(c,l)}c=dw(c,t=>new lT(e,a,t))}t??=e.getParser(dD);let d=i=>{let s=t(i,l);return n&&!l?.disableChecks&&(s=nX(s,t=>{if(rO(i)&&rO(t)){let t=[];if(dp(n,i.value,t,e,l),t.length>0)return t3(new lO(e,i,t))}return nS(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&rO(i)&&(s=dw(s,t=>{let r=[];return dp(A,i.value,r,e,l),r.length>0?"Composite"===t._tag&&t.ast===e?new lO(e,t.actual,[...t.issues,...r]):new lO(e,i,[t,...r]):t})),s=nX(s,t=>{if(rO(t)){let i=t.value,s=[];if(dp(r,i,s,e,l),s.length>0)return t3(new lO(e,t,s))}return nS(t)})),s};return c?nX(c,d):d(a)}}),dx="~effect/Schema/Schema",dR={[dx]:dx,pipe(){return ts(this,arguments)},annotate(e){return this.rebuild(cX(this.ast,e))},annotateKey(e){return this.rebuild(c3(this.ast,e))},check(...e){return this.rebuild(c$(this.ast,e))}};function dM(e,t){let r,i=Object.create(dR);t&&Object.assign(i,t),i.ast=e,i.rebuild=e=>dM(e,t);let s=dN(i);return i.makeEffect=(e,t)=>dk(s(e,t)),r=dN(i),i.make=(e,t)=>{let i=o8(r(e,t));if("Success"===i._tag)return i.value;let s=l1(i.cause,"Constructor adapter can only throw schema issues");throw Error(s.toString(),{cause:s})},i.makeOption=db(i),i}function dk(e){return oi(e,e=>Aa(()=>nr(e,e=>new dy(e))))}let dU=(F=function(e){switch(e._tag){case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(c6(e[r]),r);let r=[...e].sort((e,r)=>{e=c6(e),r=c6(r);let i=F(e),s=F(r);return i!==s?i-s:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e});function dF(e,t){let r,i;return r=[],i=()=>(t,r)=>e(t)?nS(t):t3(new lP(r,rT(t))),dT(new cI(r.map(cv),e=>i(e.map(e=>dT(e))),t))}let dv=function(e,t){let r,i=(r=dS(e.ast),void 0===t?r:(e,i)=>{let s,n;return r(e,(s=t,void 0===(n=i)?s:{...s,...n}))});return(e,t)=>dk(i(e,t))},dT=dM,dL=dT(cy),dH=dT(cB),dO=dT(cb),dP=dT(cw);cJ(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0});cJ(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0}),cJ(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...void 0});let dY=c1(e=>{let t=function(e,t){switch(e._tag){case"Declaration":{let r=e.annotations?.toCodecJson??e.annotations?.toCodec;if(eL(r)){let i=r(ca(e)?e.typeParameters.map(e=>dM(c6(e))):[]),s=t(i.to);return cj(e,s===i.to?[i]:[new cu(s,i.transformation)])}return cj(e,[dE])}case"Unknown":case"ObjectKeyword":return cj(e,[df]);case"Undefined":case"Void":case"Literal":case"Number":return e.toCodecJson();case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,ds);case"Union":{let r=dU(e.types);if(r!==e.types)return new cO(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,dY);return t!==e&&c8(e)?c5(t):t}),dG=dT(dI),dz="~effect/http/Cookies",dq="~effect/http/Cookies/Cookie",dV=(e=>eO(e,dq),"~effect/http/Cookies/CookieError"),dJ={[dz]:dz,...tE,toJSON(){return{_id:"effect/Cookies",cookies:i$(this.cookies,e=>e.toJSON())}},pipe(){return ts(this,arguments)}},d_=e=>{var t;let r,i={};for(let t of e)i[t.name]=t;return t=i,(r=Object.create(dJ)).cookies=t,r},dW=d_([]),dj=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,dK={[dq]:dq,...tE,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}},dX=e=>{try{return decodeURIComponent(e)}catch(t){return e}},dZ=new WeakMap,d$=e=>{if(dZ.has(e))return dZ.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))},d0="~effect/data/Redacted",d1=(e,t)=>{let r=Object.create(d2);return t?.label&&(r.label=t.label),dZ.set(r,e),r},d2={[d0]:{_A:e=>e},label:void 0,...tk,toJSON(){return this.toString()},toString(){return`<redacted${eU(this.label)?":"+this.label:""}>`},[eY](){return eG(dZ.get(this))},[e5](e){return eO(e,d0)&&e4(dZ.get(this),dZ.get(e))}},d3=Symbol.for("~effect/http/Headers"),d5=Object.defineProperties(Object.create(null),{[d3]:{value:d3},[ta]:{value(e){return gr(this,iJ(e,gi))}},toJSON:{value(){return tA(this)}},[e5]:{value(e){return d8(this,e)}},[eY]:{value(){return eK(this)}},toString:{value:tE.toString},[tC]:{value:tE[tC]}}),d4=e=>Object.assign(Object.create(d5),e),d8=(E=eQ(2,(e,t)=>{for(let r of i0(e))if(!iZ(t,r)||!rl(e[r],t[r]))return!1;return!0}),(e,t)=>E(e,t)&&E(t,e)),d9=Object.create(d5),d6=e=>{if(void 0===e)return d9;if(Symbol.iterator in e){let t=Object.create(d5);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(d5);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},d7=eQ(3,(e,t,r)=>{let i=d4(e);return i[t.toLowerCase()]=r,i}),ge=eQ(2,(e,t)=>d4({...e,...d6(t)})),gt=eQ(2,(e,t)=>{let r=d4(e);return delete r[t.toLowerCase()],r}),gr=eQ(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=d1(e[i]))}else for(let i in e)t.test(i)&&(r[i]=d1(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),gi=iF("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]}),gs={"~effect/Channel":{_Env:eN,_InErr:eN,_InElem:eN,_OutErr:eN,_OutElem:eN},pipe(){return ts(this,arguments)}},gn=e=>{let t=Object.create(gs);return t.transform=(t,r)=>oi(e(t,r),e=>nS(nw(e))),t},go=eQ(2,(e,t)=>{let r;return r=(r,i,s)=>oQ(s,t).pipe(nq((0,e.transform)(r,i))),gn(nP(function*(e,t){let i=aj(t),s=e=>{let t;return of(i,rb(t=ak(e))?t2(t.failure):t$(t.success.value))},n=yield*ok(r(e,t,i),s);return ok(n,s)}))}),ga=eQ(2,(e,t)=>go(e,e=>t)),gA=eQ(2,(e,t)=>{let r;return r=e=>or(nW(e,t),{disableYield:!0}),nx(()=>{let t=oS();return aM(nW((0,e.transform)(aR(),t),r),nS).pipe(oR(e=>of(t,e)))})}),gl={"~effect/Stream":{_R:eN,_E:eN,_A:eN},pipe(){return ts(this,arguments)}},gc=e=>{let t=Object.create(gl);return t.channel=e,t},gd=eQ(2,(e,t)=>gc(ga(e.channel,t))),gg=eQ(2,(e,t)=>gA(e.channel,t)),gu="~effect/http/HttpClientError";class gh extends Ac("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[gu]=gu;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let gm=e=>e.endsWith("Error")?e.slice(0,-5):e,gp=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class gC extends Ac("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return gp(gm(this._tag),this.description,this.methodAndUrl)}}class gI extends Ac("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return gp(gm(this._tag),this.description,this.methodAndUrl)}}class gE extends Ac("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return gp(gm(this._tag),this.description,e)}}let gf="~effect/http/HttpBody";class gB{[gf];constructor(){this[gf]=gf}[tC](){return this.toJSON()}toString(){return tg(this,{ignoreToString:!0})}}let gy=new class extends gB{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class gQ extends gB{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let gN=(e,t)=>new gQ(e,t??"application/octet-stream",e.length),gb=new TextEncoder,gS="~effect/http/UrlParams",gw={...tk,[gS]:gS,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[e5](e){return gM(this,e)},[eY](){return eZ(this.params.flat())}},gD=e=>{let t=Object.create(gw);return t.params=e,t},gx=e=>{if(eO(e,gS))return e;let t=gR(e),r=[];for(let e=0;e<t.length;e++)if(Array.isArray(t[e][0])){let[i,s]=t[e];r.push([`${i[0]}[${i.slice(1).join("][")}]`,s])}else r.push(t[e]);return gD(r)},gR=e=>{let t="function"==typeof e[Symbol.iterator]?i5(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,s]of gR(i))r.push([[e,..."string"==typeof t?[t]:t],s]);else void 0!==i&&r.push([e,String(i)]);return r},gM=rA((e,t)=>gk(e.params,t.params)),gk=(O=[rl,rl],P=rA((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!O[r](e[r],t[r]))return!1;return!0}),rA((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!P(e[r],t[r]))return!1;return!0})),gU=gD([]),gF=eQ(2,(e,t)=>{let r=gx(t),i=r.params,s=new Set;for(let e=0;e<i.length;e++)s.add(i[e][0]);for(let t=0;t<e.params.length;t++)s.has(e.params[t][0])||i.push(e.params[t]);return r}),gv="~effect/http/HttpClientRequest",gT={[gv]:gv,...tE,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:tA(this.headers),body:this.body.toJSON()}},pipe(){return ts(this,arguments)}};function gL(e,t,r,i,s,n){let o=Object.create(gT);return o.method=e,o.url=t,o.urlParams=r,o.hash=i,o.headers=s,o.body=n,o}let gH=gL("GET","",gU,rv(),d9,gy),gO=e=>(t,r)=>gq(gH,{method:e,url:t,...r??void 0}),gP=gO("GET"),gY=gO("POST"),gG=gO("PUT"),gz=gO("HEAD"),gq=eQ(2,(e,t)=>{let r=e;return t.method&&(r=gV(r,t.method)),t.url&&(r=gX(r,t.url)),t.headers&&(r=g_(r,t.headers)),t.urlParams&&(r=gZ(r,t.urlParams)),t.hash&&(r=g$(r,t.hash)),t.body&&(r=g0(r,t.body)),t.accept&&(r=gj(r,t.accept)),t.acceptJson&&(r=gK(r)),r}),gV=eQ(2,(e,t)=>gL(t,e.url,e.urlParams,e.hash,e.headers,e.body)),gJ=eQ(3,(e,t,r)=>gL(e.method,e.url,e.urlParams,e.hash,d7(e.headers,t,r),e.body)),g_=eQ(2,(e,t)=>gL(e.method,e.url,e.urlParams,e.hash,ge(e.headers,t),e.body)),gW=eQ(2,(e,t)=>gJ(e,"Authorization",`Bearer ${"string"==typeof t?t:d$(t)}`)),gj=eQ(2,(e,t)=>gJ(e,"Accept",t)),gK=gj("application/json"),gX=eQ(2,(e,t)=>{if("string"==typeof t)return gL(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=gx(r.searchParams),s=rK(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",gL(e.method,r.toString(),i,s,e.headers,e.body)}),gZ=eQ(2,(e,t)=>gL(e.method,e.url,gF(e.urlParams,t),e.hash,e.headers,e.body)),g$=eQ(2,(e,t)=>gL(e.method,e.url,e.urlParams,rT(t),e.headers,e.body)),g0=eQ(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=gt(gt(r,"Content-Type"),"Content-length"):(t.contentType&&(r=d7(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=d7(r,"content-length",t.contentLength.toString()))),gL(e.method,e.url,e.urlParams,e.hash,r,t)}),g1=eQ(e=>eO(e[0],gv),(e,t,r)=>g0(e,gN(t,r))),g2=eQ(2,(e,t)=>{let r,i;return g0(e,(r=JSON.stringify(t),i=(void 0)??"application/json",gN(gb.encode(r),i??"text/plain")))}),g3="~effect/http/HttpIncomingMessage",g5=iF("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0}),g4="~effect/http/HttpClientResponse";class g8 extends Ac("UrlError"){}let g9="~effect/http/HttpClient",g6=iF("effect/HttpClient"),g7=eQ(2,(e,t)=>ue(r=>t(e.postprocess(r)),e.preprocess)),ue=(e,t)=>{let r=Object.create(ut);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},ut={[g9]:g9,pipe(){return ts(this,arguments)},...tE,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(gO(e)(t,r))}]))},ur=iF("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>ew}),ui=iF("effect/HttpClient/TracerPropagationEnabled",{defaultValue:eS}),us=iF("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),un=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),uo=new WeakMap;class ua{original;controller;constructor(e,t){this.original=e,this.controller=t}[g4]=g4;[g3]=g3;applyInterrupt(e){return nx(()=>(un.unregister(this.original),oF(e,()=>nD(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){var e;let t;return e=()=>(un.unregister(this.original),gd(this.original.stream,nD(()=>{this.controller.abort()}))),gc((t=()=>e().channel,gn((e,r)=>nx(()=>(0,t().transform)(e,r)))))}toJSON(){return this.original.toJSON()}[tC](){return this.original[tC]()}pipe(){return ts(this,arguments)}}let uA=i("node:https");var ul=o(7075);i("node:stream/promises");let uc="~effect/MutableRef",ud={[uc]:uc,...tk,toJSON(){return{_id:"MutableRef",current:tI(this.current)}}},ug=e=>gn((t,r)=>uu({scope:r,readable:e.evaluate(),onError:e.onError??um,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),uu=e=>{var t;let r,i=e.readable,s=e.closeOnDone??!0,n=e.exit??(t=void 0,(r=Object.create(ud)).current=t,r),o=ar(!1);function a(){o.openUnsafe()}function A(t){n.current=t3(e.onError(t)),o.openUnsafe()}function l(){n.current=t3(rt()),o.openUnsafe()}i.on("readable",a),i.once("error",A),i.once("end",l);let c=nx(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return n.current?n.current:i.readableEnded?t3(rt()):(o.closeUnsafe(),nW(o.await,t));let s=[r];for(;null!==(r=e.readable.read(e.chunkSize));)s.push(r);return nS(s)});return nz(oQ(e.scope,eb(nD(()=>{i.off("readable",a),i.off("error",A),i.off("end",l),s&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()}))),c)};class uh extends ul.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=ar(!1),this.fiber=gg(t,e=>this.readLatch.whenOpen(nD(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,n7(e),oZ),this.fiber.addObserver(e=>{this.fiber=void 0,"Success"===e._tag?this.push(null):this.destroy(ni(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);oZ(nQ(this.fiber)).addObserver(r=>{t("Failure"===r._tag?ni(r.cause):e)})}}let um=e=>new af(e);var up=o(3006);class uC extends iF()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let uI=(f=nD(()=>new up.g6),B=e=>{let t;return nT(function(e,r){ty(()=>t(r)).then(t=>e(nS(t)),t=>e(t5(t)))},0!==(t=()=>e.destroy()).length)},n6(e=>oG(t=>nW(oE,t=>nV(f,r=>oQ(t,t=>n7(B(r),e))))))),uE=a5(uC)(uI),uf=iF("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),uB=Ao(function*(){let e,t=yield*uC;return e=(e,r,i,s)=>(function(e){switch(e._tag){case"Empty":return nS(null);case"Uint8Array":case"Raw":return nS(e.body);case"FormData":return nS(e.formData);case"Stream":let t;return t=e.stream,nZ(n9,e=>new uh(e,t))}})(e.body).pipe(nW(n=>An({try:()=>t.request({...s.getRef(uf),signal:i,method:e.method,headers:e.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:n,headersTimeout:36e5,bodyTimeout:0}),catch:t=>new gh({reason:new gC({request:e,cause:t})})})),nZ(t=>new uQ(e,t))),ue(t=>nW(t,t=>t4(r=>{let i,s,n,o=uo.get(t),a=o??new AbortController,A=(i=t.url,s=t.urlParams,n=r1(t.hash),(e=>{if(eL(e))try{return rD(e())}catch(e){return rw(e)}try{return rD(e.try())}catch(t){return rw(e.catch(t))}})({try:()=>{let e=new URL(i,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<s.params.length;t++){let[r,i]=s.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==n&&(e.hash=n),e},catch:e=>new g8({cause:e})}));if(rb(A))return t3(new gh({reason:new gI({request:t,cause:A.failure})}));let l=A.success;if(r.getRef(sq)||r.getRef(ur)(t)){let i=e(t,l,a.signal,r);return o?i:oG(e=>oc(e(i),{onSuccess:e=>(un.register(e,a),nS(new ua(e,a))),onFailure:e=>(e.reasons.some(tW)&&a.abort(),nw(e))}))}return((e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return t4(t=>{let s=((e,t,r)=>{let i,s=!e.getRef(s0)||r?.annotations&&iJ(r.annotations,sq),n=r?.parent!==void 0?rT(r.parent):r?.root?rv():an(e.currentSpan);if(s){let e;e={name:t,parent:n,annotations:iz(r?.annotations??iY,sq,!0)},i=Object.assign(Object.create(as),e)}else{let s=e.getRef(sW),o=e.getRef(aa),a=e.getRef(s1),A=e.getRef(s2),l=e.getRef(s3),c=r?.level??e.getRef(sV),d=r?.links!==void 0?[...l,...r.links]:l.slice();for(let[l,g]of(i=s.span({name:t,parent:n,annotations:r?.annotations??iY,links:d,startTime:a?o.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??rH(n),sampled:r?.sampled??((!rO(n)||!1!==n.value.sampled)&&!ay(e.getRef(sJ),c))}),Object.entries(A)))i.attribute(l,g);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i})(t,e,r),n=t.getRef(aa);return oR(ty(()=>i(s)),e=>nD(()=>{"Ended"!==s.status._tag&&s.end(n.currentTimeNanosUnsafe(),e)}))})})(r.getRef(us)(t),{kind:"client"},i=>{i.attribute("http.request.method",t.method),i.attribute("server.address",l.origin),""!==l.port&&i.attribute("server.port",+l.port),i.attribute("url.full",l.toString()),i.attribute("url.path",l.pathname),i.attribute("url.scheme",l.protocol.slice(0,-1));let s=l.search.slice(1);""!==s&&i.attribute("url.query",s);let n=r.getRef(gi),A=gr(t.headers,n);for(let e in A)i.attribute(`http.request.header.${e}`,String(A[e]));return t=r.getRef(ui)?g_(t,Object.setPrototypeOf({b3:`${i.traceId}-${i.spanId}-${i.sampled?"1":"0"}${rP(i.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${i.traceId}-${i.spanId}-${i.sampled?"01":"00"}`},d5)):t,oG(s=>s(e(t,l,a.signal,r)).pipe(Al(i,{captureStackTrace:!1}),oc({onSuccess:e=>{i.attribute("http.response.status_code",e.status);let t=gr(e.headers,n);for(let e in t)i.attribute(`http.response.header.${e}`,String(t[e]));return o?nS(e):(un.register(e,a),nS(new ua(e,a)))},onFailure:e=>(!o&&e.reasons.some(tW)&&a.abort(),nw(e))})))})})),nS)});function uy(e){}class uQ extends tf{[g3];[g4];request;source;constructor(e,t){super(),this[g3]=g3,this[g4]=g4,this.request=e,this.source=t,t.body.on("error",uy)}get status(){return this.source.statusCode}get statusText(){}get headers(){return d6(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?(e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!dj.test(i))return;let s=t[0].slice(r+1),n=dX(s);if(1===t.length)return Object.assign(Object.create(dK),{name:i,value:n,valueEncoded:s});let o={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),s=-1===i?r:r.slice(0,i).trim(),n=-1===i?void 0:r.slice(i+1).trim();switch(s.toLowerCase()){case"domain":{if(void 0===n)break;let e=n.trim().replace(/^\./,"");e&&(o.domain=e);break}case"expires":{if(void 0===n)break;let e=new Date(n);isNaN(e.getTime())||(o.expires=e);break}case"max-age":{if(void 0===n)break;let e=parseInt(n,10);isNaN(e)||(o.maxAge=sN(e));break}case"path":if(void 0===n)break;"/"===n[0]&&(o.path=n);break;case"priority":if(void 0===n)break;switch(n.toLowerCase()){case"low":o.priority="low";break;case"medium":o.priority="medium";break;case"high":o.priority="high"}break;case"httponly":o.httpOnly=!0;break;case"secure":o.secure=!0;break;case"partitioned":o.partitioned=!0;break;case"samesite":if(void 0===n)break;switch(n.toLowerCase()){case"lax":o.sameSite="lax";break;case"strict":o.sameSite="strict";break;case"none":o.sameSite="none"}}}return Object.assign(Object.create(dK),{name:i,value:n,valueEncoded:s,options:Object.keys(o).length>0?o:void 0})}(r.trim());e&&t.push(e)}return d_(t)})(e):dW}get remoteAddress(){return rv()}get stream(){return gc(ug({evaluate:()=>this.source.body,onError:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}))}get json(){return nW(this.text,e=>nv({try:()=>""===e?null:JSON.parse(e),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=An({try:()=>this.source.body.text(),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}).pipe(AA,o6),this.arrayBufferBody=nZ(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return nW(this.text,e=>nv({try:()=>gx(new URLSearchParams(e)),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=An({try:()=>this.source.body.formData(),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}).pipe(AA,o6)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=An({try:()=>this.source.body.arrayBuffer(),catch:e=>new gh({reason:new gE({request:this.request,response:this,cause:e})})}).pipe(AA,o6),this.textBody=nZ(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return((e,t)=>{let r,i=e.headers["content-type"]??"";if(i.includes("application/json"))try{r=o6(e.json)}catch(e){}else if(i.includes("text/")||i.includes("urlencoded"))try{r=o6(e.text)}catch(e){}let s={...t,headers:tA(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(s.body=r),s})(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return ts(this,arguments)}}let uN=a6(a5(g6)(n6(e=>nZ(uB,t=>g7(t,n4(t=>iK(e,t)))))),uE);var ub=class extends Ac("BlobStoreError"){},uS=class extends iF()("github-action-effects/BlobStore"){},uw=o(7598);let uD=(e,t)=>(0,uw.createHmac)("sha256",e).update(t).digest(),ux=()=>new Date().toISOString().replace(/[:-]|\.\d{3}/g,""),uR=e=>{let t=e.endpoint?e.endpoint.replace(/\/$/,""):`https://s3.${e.region}.amazonaws.com`,r=new URL(t).host,i=e.key.split("/").map(encodeURIComponent).join("/"),s=`/${e.bucket}/${i}`,n=new Map([["host",r],["x-amz-content-sha256",e.payloadHash],["x-amz-date",e.amzDate??ux()]]);return e.sessionToken&&n.set("x-amz-security-token",e.sessionToken),{base:t,host:r,canonicalUri:s,headers:n}},uM="e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855",uk=Symbol.for("twirp/conflict"),uU=["HTTP 500","HTTP 502","HTTP 503","HTTP 504","ECONNRESET","ECONNREFUSED","ETIMEDOUT"];class uF extends Error{constructor(e){super(e),this.name="AbortError"}}let uv=i("node:os");var uT=o(7975);let uL=i("node:process");"string"==typeof uL.versions.deno&&uL.versions.deno.length,"string"==typeof uL.versions.bun&&uL.versions.bun.length;let uH=uL.env.DEBUG,uO=[],uP=[],uY=[];uH&&uz(uH);let uG=Object.assign(e=>uJ(e),{enable:uz,enabled:uq,disable:function(){let t=e||"";return uz(""),t},log:function(e,...t){uL.stderr.write(`${uT.format(e,...t)}${uv.EOL}`)}});function uz(t){for(let r of(e=t,uO=[],uP=[],t.split(",").map(e=>e.trim())))r.startsWith("-")?uP.push(r.substring(1)):uO.push(r);for(let e of uY)e.enabled=uq(e.namespace)}function uq(e){if(e.endsWith("*"))return!0;for(let t of uP)if(uV(e,t))return!1;for(let t of uO)if(uV(e,t))return!0;return!1}function uV(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,s=0,n=r.length,o=e.length,a=-1,A=-1;for(;i<o&&s<n;)if("*"===r[s]){if(a=s,++s===n)return!0;for(;e[i]!==r[s];)if(++i===o)return!1;A=i,i++,s++;continue}else if(r[s]===e[i])s++,i++;else{if(!(a>=0)||(s=a+1,(i=A+1)===o))return!1;for(;e[i]!==r[s];)if(++i===o)return!1;A=i,i++,s++;continue}let l=i===e.length,c=s===r.length,d=s===r.length-1&&"*"===r[s];return l&&(c||d)}function uJ(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:uq(e),destroy:u_,log:uG.log,namespace:e,extend:uW});return uY.push(t),t}function u_(){let e=uY.indexOf(this);return e>=0&&(uY.splice(e,1),!0)}function uW(e){let t=uJ(`${this.namespace}:${e}`);return t.log=this.log,t}let uj=["verbose","info","warning","error"],uK={verbose:400,info:300,warning:200,error:100};function uX(e,t){t.log=(...t)=>{e.log(...t)}}function uZ(e){return uj.includes(e)}function u$(e){var t;let r,i=new Set,s=(t=e.logLevelEnvVarName,uL.env[t]),n=uG(e.namespace);function o(e){if(e&&!uZ(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${uj.join(",")}`);r=e;let t=[];for(let e of i)a(e)&&t.push(e.namespace);uG.enable(t.join(","))}function a(e){return!!(r&&uK[e.level]<=uK[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(uX(e,r),a(r)){let e=uG.disable();uG.enable(e+","+r.namespace)}return i.add(r),r}return n.log=(...e)=>{uG.log(...e)},s&&(uZ(s)?o(s):console.error(`${e.logLevelEnvVarName} set to unknown log level '${s}'; logging is not enabled. Acceptable values: ${uj.join(", ")}.`)),{setLogLevel:o,getLogLevel:function(){return r},createClientLogger:function(e){let t=n.extend(e);return uX(n,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:n}}let u0=u$({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function u1(e){return u0.createClientLogger(e)}function u2(e){return e.toLowerCase()}u0.logger;class u3{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(u2(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(u2(e))?.value}has(e){return this._headersMap.has(u2(e))}delete(e){this._headersMap.delete(u2(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function u5(e){return new u3(e)}function u4(){return globalThis.crypto.randomUUID()}class u8{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??u5(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||u4(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let u9=new Set(["Deserialize","Serialize","Retry","Sign"]);class u6{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!u9.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!u9.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new u6(this._policies)}static create(){return new u6}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),s=r("None"),n=r("Deserialize"),o=r("Retry"),a=r("Sign"),A=[i,s,n,o,a];function l(e){return"Retry"===e?o:"Serialize"===e?i:"Deserialize"===e?n:"Sign"===e?a:s}for(let e of this._policies){let r=e.policy,i=e.options,s=r.name;if(t.has(s))throw Error("Duplicate policy names not allowed in pipeline");let n={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(n.afterPhase=l(i.afterPhase),n.afterPhase.hasAfterPolicies=!0),t.set(s,n),l(i.phase).policies.add(n)}for(let e of this._policies){let{policy:r,options:i}=e,s=r.name,n=t.get(s);if(!n)throw Error(`Missing node for policy ${s}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(n.dependsOn.add(r),r.dependants.add(n))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(n),n.dependants.add(r))}}function c(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==s){s.hasRun||c(s);return}e.hasAfterPolicies&&c(s)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function u7(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function he(e){if(u7(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let ht=uT.inspect.custom,hr="REDACTED",hi=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],hs=["api-version"];class hn{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=hi.concat(e),t=hs.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&u7(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&u7(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||u7(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,hr);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=hr;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=hr;return t}}let ho=new hn;class ha extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,ht,{value:()=>`RestError: ${this.message} - ${ho.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,ha.prototype)}}function hA(e){return e instanceof ha||he(e)&&"RestError"===e.name}var hl=o(8522);let hc=u1("ts-http-runtime"),hd={};function hg(e){return e&&"function"==typeof e.pipe}function hu(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function hh(e){return e&&"number"==typeof e.byteLength}class hm extends ul.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class hp{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,s=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new uF("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&s.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new hn;hc.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),s.abort()},e.timeout));let n=e.headers.get("Accept-Encoding"),o=n?.includes("gzip")||n?.includes("deflate"),a="function"==typeof e.body?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(hg(e))return null;if(hh(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(a);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(a&&e.onUploadProgress){let t=e.onUploadProgress,r=new hm(t);r.on("error",e=>{hc.error("Error in upload progress",e)}),hg(a)?a.pipe(r):r.end(a),a=r}let t=await this.makeRequest(e,s,a);void 0!==r&&clearTimeout(r);let n=function(e){let t=u5();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),l={status:t.statusCode??0,headers:n,request:e};if("HEAD"===e.method)return t.resume(),l;i=o?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=hl.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=hl.createInflate();return e.pipe(t),t}return e}(t,n):t;let c=e.onDownloadProgress;if(c){let e=new hm(c);e.on("error",e=>{hc.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=i:l.bodyAsText=await (A=i,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new ha(`Error reading response as text: ${e.message}`,{code:ha.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();hg(a)&&(r=hu(a));let s=Promise.resolve();hg(i)&&(s=hu(i)),Promise.all([r,s]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{hc.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),s="https:"!==i.protocol;if(s&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let n={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,o)=>{let a=s?ey.request(n,i):uA.request(n,i);a.once("error",t=>{o(new ha(t.message,{code:t.code??ha.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new uF("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e),o(e)}),r&&hg(r)?r.pipe(a):r?"string"==typeof r||Buffer.isBuffer(r)?a.end(r):hh(r)?a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(hc.error("Unrecognized body type",r),o(new ha("Unrecognized body type"))):a.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?ey.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new ey.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return uA.globalAgent;let t=e.tlsSettings??hd,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(hc.info("No cached TLS Agent exist, creating a new Agent"),i=new uA.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let hC="Retry-After",hI=["retry-after-ms","x-ms-retry-after-ms",hC];function hE(e){if(e&&[429,503].includes(e.status))try{for(let t of hI){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===hC?1e3:1;return r*e}}let t=e.headers.get(hC);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let hf=u1("ts-http-runtime retryPolicy");function hB(e,t){return Buffer.from(e,t)}async function hy(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:u5({"Content-Disposition":`form-data; name="${t}"`}),body:hB(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",s=u5();s.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),s.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:s,body:e})}t.multipartBody={parts:i}}var hQ=o(6565),hN=o(7277);let hb=[],hS=!1,hw=new Map;function hD(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function hx(){if(!process)return;let e=hD("HTTPS_PROXY"),t=hD("ALL_PROXY"),r=hD("HTTP_PROXY");return e||t||r}function hR(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function hM(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&hc.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new hN.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new hQ.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let hk="redirectPolicy",hU=["GET","HEAD"];async function hF(e,t,r,i,s=0){let{request:n,status:o,headers:a}=t,A=a.get("location");if(A&&(300===o||301===o&&hU.includes(n.method)||302===o&&hU.includes(n.method)||303===o&&"POST"===n.method||307===o)&&s<r){let a=new URL(A,n.url);if(!i){let e=new URL(n.url);if(a.origin!==e.origin)return hc.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`),t}n.url=a.toString(),303===o&&(n.method="GET",n.headers.delete("Content-Length"),delete n.body),n.headers.delete("Authorization");let l=await e(n);return hF(e,l,r,i,s+1)}return t}let hv=i("stream");function hT(e){return e instanceof Blob}async function*hL(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function hH(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=hL.bind(e)),e.values||(e.values=hL.bind(e)),hv.Readable.fromWeb(e)):e}function hO(e){return e instanceof Uint8Array?hv.Readable.from(Buffer.from(e)):hT(e)?hH(e.stream()):hH(e)}async function hP(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(hO);return hv.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function hY(e,t,r){let i=[hB(`--${r}`,"utf-8"),...t.flatMap(e=>[hB("\r\n","utf-8"),hB(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r -`;return t}(e.headers),"utf-8"),hB("\r\n","utf-8"),e.body,hB(`\r ---${r}`,"utf-8")]),hB("--\r\n\r\n","utf-8")],s=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:hT(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);s&&e.headers.set("Content-Length",s),e.body=await hP(i)}let hG="multipartPolicy",hz=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),hq=u$({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function hV(e){return hq.createClientLogger(e)}hq.logger;let hJ=hV("core-rest-pipeline"),h_="decompressResponsePolicy";async function hW(e){if(uL&&uL.versions){let t=`${uv.type()} ${uv.release()}; ${uv.arch()}`;uL.versions.bun?e.set("Bun",`${uL.versions.bun} (${t})`):uL.versions.deno?e.set("Deno",`${uL.versions.deno} (${t})`):uL.versions.node&&e.set("Node",`${uL.versions.node} (${t})`)}}async function hj(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await hW(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let hK="User-Agent",hX=Symbol("rawContent");function hZ(e){return"function"==typeof e[hX]}class h$ extends Error{constructor(e){super(e),this.name="AbortError"}}function h0(e,t){let r,{abortSignal:i,abortErrorMsg:s}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:s}=t??{};return new Promise((t,n)=>{function o(){n(new h$(s??"The operation was aborted."))}function a(){i?.removeEventListener("abort",A)}function A(){r?.(),a(),o()}if(i?.aborted)return o();try{e(e=>{a(),t(e)},e=>{a(),n(e)})}catch(e){n(e)}i?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:s??"The delay was aborted."})}function h1(e){if(he(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function h2(e){var t=e;if(!t&&!(t=hx()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let h3={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class h5{_contextMap;constructor(e){this._contextMap=e instanceof h5?new Map(e._contextMap):new Map}setValue(e,t){let r=new h5(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new h5(this);return t._contextMap.delete(e),t}}let h4=o(7301).w;function h8(){return h4.instrumenterImplementation||(h4.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new h5(e.parentContext);return e.span&&(t=t.setValue(h3.span,e.span)),e.namespace&&(t=t.setValue(h3.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),h4.instrumenterImplementation}function h9(e){let{namespace:t,packageName:r,packageVersion:i}=e;function s(e,s,n){let o=h8().startSpan(e,{...n,packageName:r,packageVersion:i,tracingContext:s?.tracingOptions?.tracingContext}),a=o.tracingContext,A=o.span;return a.getValue(h3.namespace)||(a=a.setValue(h3.namespace,t)),A.setAttribute("az.namespace",a.getValue(h3.namespace)),{span:A,updatedOptions:Object.assign({},s,{tracingOptions:{...s?.tracingOptions,tracingContext:a}})}}async function n(e,t,r,i){let{span:n,updatedOptions:a}=s(e,t,i);try{let e=await o(a.tracingOptions.tracingContext,()=>r(a,n));return n.setStatus({status:"success"}),e}catch(e){throw n.setStatus({status:"error",error:e}),e}finally{n.end()}}function o(e,t,...r){return h8().withContext(e,t,...r)}return{startSpan:s,withSpan:n,withContext:o,parseTraceparentHeader:function(e){return h8().parseTraceparentHeader(e)},createRequestHeaders:function(e){return h8().createRequestHeaders(e)}}}function h6(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",s),r=!1)}function s(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",s),{abortSignal:t.signal,cleanup:i}}function h7(){let e=new hp;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?h6(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}hV("core-rest-pipeline retryPolicy");let me={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function mt(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let s=await i();for(;null===s;)await h0(t),s=await i();return s}async function mr(e,t){try{return[await t(e),void 0]}catch(e){if(hA(e)&&e.response)return[e.response,e];throw e}}async function mi(e){let{scopes:t,getAccessToken:r,request:i}=e,s={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},n=await r(t,s);n&&e.request.headers.set("Authorization",`Bearer ${n.token}`)}function ms(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function mn(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function mo(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,s=e.logger||hJ,n={authorizeRequest:i?.authorizeRequest?.bind(i)??mi,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},o=t?function(e){let t,r=null,i=null,s={...me,...void 0},n={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(n.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-s.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function o(o,a){return n.isRefreshing||(r=mt(()=>e.getToken(o,a),s.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=a.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let s=!!r.claims,a=t!==r.tenantId;return(s&&(i=null),a||s||n.mustRefresh)?o(e,r):(n.shouldRefresh&&o(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,a;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await n.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:s}),[i,a]=await mr(e,t),ms(i)){let A=ma(i.headers.get("WWW-Authenticate"));if(A){let n;try{n=atob(A)}catch(e){return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await mn({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:s},n)&&([i,a]=await mr(e,t))}else if(n.authorizeRequestOnChallenge&&(await n.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:o,logger:s})&&([i,a]=await mr(e,t)),ms(i))&&(A=ma(i.headers.get("WWW-Authenticate")??""))){let n;try{n=atob(A)}catch(e){return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await mn({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:s},n)&&([i,a]=await mr(e,t))}}if(!a)return i;throw a}}}function ma(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,s=[];for(;null!==(t=r.exec(e));){let e,r=t[1],n=t[2],o={};for(;null!==(e=i.exec(n));)o[e[1]]=e[2];s.push({scheme:r,params:o})}return s}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function mA(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let ml="DisableKeepAlivePolicy";function mc(e){return Buffer.from(e).toString("base64")}function md(e){return hB(e,"base64")}let mg=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,mu=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function mh(e,t){var r,i;let s,n=e.parsedHeaders;if("HEAD"===e.request.method)return{...n,body:e.parsedBody};let o=t&&t.bodyMapper,a=!!o?.nullable,A=o?.type.name;if("Stream"===A)return{...n,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&o.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(n)for(let e of Object.keys(n))t[e]=n[e];return!a||e.parsedBody||n||0!==Object.getOwnPropertyNames(l).length?t:null}return s={...(i={body:e.parsedBody,headers:n,hasNullableType:a,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(s).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:s}class mm{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:s,InclusiveMaximum:n,InclusiveMinimum:o,MaxItems:a,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:g,UniqueItems:u}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==s&&t<=s&&i("ExclusiveMinimum",s),void 0!==n&&t>n&&i("InclusiveMaximum",n),void 0!==o&&t<o&&i("InclusiveMinimum",o),void 0!==a&&t.length>a&&i("MaxItems",a),void 0!==A&&t.length>A&&i("MaxLength",A),void 0!==l&&t.length<l&&i("MinItems",l),void 0!==c&&t.length<c&&i("MinLength",c),void 0!==d&&t%d!=0&&i("MultipleOf",d),g){let e="string"==typeof g?new RegExp(g):g;("string"!=typeof t||null===t.match(e))&&i("Pattern",g)}u&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",u)}}serialize(e,t,r,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},n={},o=e.type.name;r||(r=e.serializedName),null!==o.match(/^Sequence$/i)&&(n=[]),e.isConstant&&(t=e.defaultValue);let{required:a,nullable:A}=e;if(a&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(a&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!a&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==o.match(/^any$/i)?n=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?n=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&mu.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(o,r,t):null!==o.match(/^Enum$/i)?n=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?n=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!mg.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(o,t,r):null!==o.match(/^ByteArray$/i)?n=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=mc(t)}return t}(r,t):null!==o.match(/^Base64Url$/i)?n=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(mc(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==o.match(/^Sequence$/i)?n=function(e,t,r,i,s,n){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let o=t.type.element;if(!o||"object"!=typeof o)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===o.type.name&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let a=[];for(let t=0;t<r.length;t++){let A=e.serialize(o,r[t],i,n);if(s&&o.xmlNamespace){let e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";"Composite"===o.type.name?a[t]={...A}:(a[t]={},a[t][n.xml.xmlCharKey]=A),a[t].$={[e]:o.xmlNamespace}}else a[t]=A}return a}(this,e,t,r,!!this.isXML,s):null!==o.match(/^Dictionary$/i)?n=function(e,t,r,i,s,n){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let o=t.type.value;if(!o||"object"!=typeof o)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let a={};for(let t of Object.keys(r)){let A=e.serialize(o,r[t],i,n);a[t]=mf(o,A,s,n)}return s&&t.xmlNamespace?(a.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},a):a}(this,e,t,r,!!this.isXML,s):null!==o.match(/^Composite$/i)&&(n=function(e,t,r,i,s,n){if(my(e,t)&&(t=mB(e,t,r,"clientName")),null!=r){let o={},a=mE(e,t,i);for(let A of Object.keys(a)){let l,c=a[A];if(c.readOnly)continue;let d=o;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=mC(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(s&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let o=""!==c.serializedName?i+"."+c.serializedName:i,a=r[A],g=my(e,t);g&&g.clientName===A&&null==a&&(a=t.serializedName);let u=e.serialize(c,a,o,n);if(void 0!==u&&null!=l){let e=mf(c,u,s,n);s&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=u):s&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=mI(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(A){let t=Object.keys(a);for(let s of Object.keys(r))t.every(e=>e!==s)&&Object.defineProperty(o,s,{value:e.serialize(A,r[s],i+'["'+s+'"]',n),enumerable:!0,configurable:!0,writable:!0})}return o}return r}(this,e,t,r,!!this.isXML,s)),n}deserialize(e,t,r,i={xml:{}}){let s,n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let o=e.type.name;if(r||(r=e.serializedName),null!==o.match(/^Composite$/i))s=function(e,t,r,i,s){let n=s.xml.xmlCharKey??"_";my(e,t)&&(t=mB(e,t,r,"serializedName"));let o=mE(e,t,i),a={},A=[];for(let l of Object.keys(o)){let c=o[l],d=mC(o[l].serializedName);A.push(d[0]);let{serializedName:g,xmlName:u,xmlElementName:h}=c,m=i;""!==g&&void 0!==g&&(m=i+"."+g);let p=c.headerCollectionPrefix;if(p){let t={};for(let i of Object.keys(r))i.startsWith(p)&&(t[i.substring(p.length)]=e.deserialize(c.type.value,r[i],m,s)),A.push(i);a[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)a[l]=e.deserialize(c,r.$[u],m,s);else if(c.xmlIsMsText)void 0!==r[n]?a[l]=r[n]:"string"==typeof r&&(a[l]=r);else{let t=h||u||g;if(c.xmlIsWrapped){let t=r[u],i=t?.[h]??[];Object.defineProperty(a,l,{value:e.deserialize(c,i,m,s),enumerable:!0,configurable:!0,writable:!0}),A.push(u)}else{let i=r[t];a[l]=e.deserialize(c,i,m,s),A.push(t)}}else{let i,n,A=r,g=0;for(let e of d){if(!A)break;g++,A=A[e]}null===A&&g<d.length&&(A=void 0),i=A;let u=t.type.polymorphicDiscriminator;if(u&&l===u.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[l])&&""===o[l].serializedName){i=r[l];let t=e.deserialize(c,i,m,s);for(let[e,r]of Object.entries(a))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);a=t}else(void 0!==i||void 0!==c.defaultValue)&&(n=e.deserialize(c,i,m,s),a[l]=n)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(o))if(mC(o[t].serializedName)[0]===e)return!1;return!0};for(let n of Object.keys(r))if(t(n)){let t=e.deserialize(l,r[n],i+'["'+n+'"]',s);Object.defineProperty(a,n,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!s.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==a[e]||A.includes(e)||["$",s.xml.xmlCharKey].includes(e)||Object.defineProperty(a,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return a}(this,e,t,r,n);else{if(this.isXML){let e=n.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==o.match(/^Number$/i)?isNaN(s=parseFloat(t))&&(s=t):null!==o.match(/^Boolean$/i)?s="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?s=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?s=new Date(t):null!==o.match(/^UnixTime$/i)?s=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/i)?s=md(t):null!==o.match(/^Base64Url$/i)?s=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return md(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==o.match(/^Sequence$/i)?s=function(e,t,r,i,s){let n=t.type.element;if(!n||"object"!=typeof n)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===n.type.name&&n.type.className&&(n=e.modelMappers[n.type.className]??n);let t=[];for(let o=0;o<r.length;o++)t[o]=e.deserialize(n,r[o],`${i}[${o}]`,s);return t}return r}(this,e,t,r,n):null!==o.match(/^Dictionary$/i)&&(s=function(e,t,r,i,s){let n=t.type.value;if(!n||"object"!=typeof n)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let o of Object.keys(r))t[o]=e.deserialize(n,r[o],i,s);return t}return r}(this,e,t,r,n))}return e.isConstant&&(s=e.defaultValue),s}}function mp(e={},t=!1){return new mm(e,t)}function mC(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function mI(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function mE(e,t,r){let i=t.type.modelProperties;if(!i){let s=mI(e,t,r);if(!s)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=s?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(s)}" of type "${t.type.className}" for object "${r}".`)}return i}function mf(e,t,r,i){if(!r||!e.xmlNamespace)return t;let s={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=s,e}let n={};return n[i.xml.xmlCharKey]=t,n.$=s,n}function mB(e,t,r,i){let s=my(e,t);if(s){let n=s[i];if(n){"serializedName"===i&&(n=n.replace(/\\/gi,""));let s=r[n],o=t.type.uberParent??t.type.className;if("string"==typeof s&&o){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),s=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,s))return e[s];for(let[t,s]of Object.entries(e))t.startsWith(r+".")&&s.type.uberParent===r&&s.type.className&&i.push(s.type.className)}}(e.modelMappers.discriminators,s,o);r&&(t=r)}}}return t}function my(e,t){return t.type.polymorphicDiscriminator||mQ(e,t.type.uberParent)||mQ(e,t.type.className)}function mQ(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let mN="Sequence",mb="Stream",mS=o(5997).w;function mw(e,t,r){let i,s=t.parameterPath,n=t.mapper;if("string"==typeof s&&(s=[s]),Array.isArray(s)){if(s.length>0)if(n.isConstant)i=n.defaultValue;else{let t=mD(e,s);!t.propertyFound&&r&&(t=mD(r,s));let o=!1;t.propertyFound||(o=n.required||"options"===s[0]&&2===s.length),i=o?n.defaultValue:t.propertyValue}}else for(let[t,o]of(n.required&&(i={}),Object.entries(s))){let s=mw(e,{parameterPath:o,mapper:n.type.modelProperties[t]},r);void 0!==s&&(i||(i={}),Object.defineProperty(i,t,{value:s,enumerable:!0,configurable:!0,writable:!0}))}return i}function mD(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let mx=Symbol.for("@azure/core-client original request");function mR(e){if(mx in e)return mR(e[mx]);let t=mS.operationRequestMap.get(e);return t||(t={},mS.operationRequestMap.set(e,t)),t}let mM=["application/json","text/json"],mk=["application/xml","application/atom+xml"];async function mU(e,t,r,i,s){let n,o,a,A,l,c=await mF(e,t,r,i,s);if(n=mR(c.request),!(void 0===(o=n?.shouldDeserialize)||("boolean"==typeof o?o:o(c))))return c;let d=mR(c.request),g=d?.operationSpec;if(!g||!g.responses)return c;let u=(A=mR(c.request),(l=A?.operationSpec)&&(a=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),a),{error:h,shouldReturnResponse:m}=function(e,t,r,i){let s,n=200<=e.status&&e.status<300;if(0===(s=Object.keys(t.responses)).length||1===s.length&&"default"===s[0]?n:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let o=r??t.responses.default,a=new ha(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw a;let A=o?.bodyMapper,l=o?.headersMapper;try{if(e.parsedBody){let r,s=e.parsedBody;if(A){let e=s;if(t.isXML&&A.type.name===mN){e=[];let t=A.xmlElementName;"object"==typeof s&&t&&(e=s[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",i)}let n=s.error||r||s;a.code=n.code,n.message&&(a.message=n.message),A&&(a.response.parsedBody=r)}e.headers&&l&&(a.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){a.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:a,shouldReturnResponse:!1}}(c,g,u,i);if(h)throw h;if(m)return c;if(u){if(u.bodyMapper){let e=c.parsedBody;g.isXML&&u.bodyMapper.type.name===mN&&(e="object"==typeof e?e[u.bodyMapper.xmlElementName]:[]);try{c.parsedBody=g.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new ha(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===g.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);u.headersMapper&&(c.parsedHeaders=g.serializer.deserialize(u.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function mF(e,t,r,i,s){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let n=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(e=>e.toLowerCase()):[];try{if(0===a.length||a.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(n);else if(a.some(e=>-1!==t.indexOf(e))){if(!s)throw Error("Parsing XML not supported.");r.parsedBody=await s(n,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||ha.PARSE_ERROR;throw new ha(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function mv(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function mT(e={}){var t,r,i,s,n;let o,a,A,l,c,d,g=(t=e??{},a=u6.create(),t.agent&&a.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&a.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),a.addPolicy((s=t.proxyOptions,n=void 0,hS||hb.push(...(A=hD("NO_PROXY"),(hS=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=s?hR(s):(l=hx())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let s=!1;for(let e of t)"."===e[0]?i.endsWith(e)?s=!0:i.length===e.length-1&&i===e.slice(1)&&(s=!0):i===e&&(s=!0);return r?.set(i,s),s}(e.url,n?.customNoProxyList??hb,n?.customNoProxyList?void 0:hw)?hM(e,d,c):e.proxySettings&&hM(e,d,hR(e.proxySettings)),t(e))})),a.addPolicy({name:h_,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),a.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=h6(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),a.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await hy(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[hG]}),a.addPolicy(function(e={}){let t=hj(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(hK)||e.headers.set(hK,await t),r(e))}}(t.userAgentOptions)),a.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),a.addPolicy((o={name:hG,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",s=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,n,o]=s;if(o&&r&&o!==r)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);if(r??=o){var a=r;if(a.length>70)throw Error(`Multipart boundary "${a}" exceeds maximum length of 70 characters`);if(Array.from(a).some(e=>!hz.has(e)))throw Error(`Multipart boundary "${a}" contains invalid characters`)}else r=`----AzSDKFormBoundary${u4()}`;return e.headers.set("Content-Type",`${n}; boundary=${r}`),await hY(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:hG,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;hZ(t.body)&&(t.body=hZ(r=t.body)?r[hX]():r)}return o.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),a.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||hf;return{name:"retryPolicy",async sendRequest(i,s){let n,o,a=-1;e:for(;;){a+=1,n=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,i.requestId),n=await s(i),r.info(`Retry ${a}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${a}: Received an error from request`,i.requestId),!hA(e))throw e;o=e,n=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new uF;if(a>=(t.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(n)return n;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${a}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);let s=t.retry({retryCount:a,response:n,responseError:o});if(s.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=s;if(A)throw e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((i,s)=>{let n,o,a=()=>s(new uF(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(n&&clearTimeout(n),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();n=setTimeout(()=>{A(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}(l,void 0,{abortSignal:i.abortSignal});continue e}if(c){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${c}`),i.url=c;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(n)return r.info("None of the retry strategies could work with the received response. Returning it."),n}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=hE(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:s,responseError:n}){var o,a,A,l,c;let d,g,u=!!(l=n)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=u&&e.ignoreSystemErrors,m=!!((c=s)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),p=m&&e.ignoreHttpStatusCodes;return s&&(Number.isFinite(hE(s))||!m)||p||h?{skipStrategy:!0}:!n||u||m?(d=(o={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(g=Math.min(o.maxRetryDelayInMs,d))/2+(a=0,A=g/2,a=Math.ceil(a),Math.floor(Math.random()*((A=Math.floor(A))-a+1))+a)}):{errorToThrow:n}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),a.addPolicy(function(e={}){let t=hj(e.userAgentPrefix),r=new hn({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return h9({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){hJ.warning(`Error when creating the TracingClient: ${h1(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,s){if(!i)return s(e);let n=await t,o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":n,requestId:e.requestId};n&&(o["http.user_agent"]=n);let{span:a,tracingContext:A}=function(e,t,r){try{let{span:i,updatedOptions:s}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let n=e.createRequestHeaders(s.tracingOptions.tracingContext);for(let[e,r]of Object.entries(n))t.headers.set(e,r);return{span:i,tracingContext:s.tracingOptions.tracingContext}}catch(e){hJ.warning(`Skipping creating a tracing span due to an error: ${h1(e)}`);return}}(i,e,o)??{};if(!a||!A)return s(e);try{let t=await i.withContext(A,s,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){hJ.warning(`Skipping tracing span processing due to an error: ${h1(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:he(t)?t:void 0}),hA(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){hJ.warning(`Skipping tracing span processing due to an error: ${h1(e)}`)}}(a,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:hk,async sendRequest(e,i){let s=await i(e);return hF(i,s,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let t=e.logger??hc.info,r=new hn({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let s=await i(e);return t(`Response status code: ${s.status}`),t(`Headers: ${r.sanitize({headers:s.headers})}`),s}}}({logger:hJ.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),a);return e.credentialOptions&&g.addPolicy(mo({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),g.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=mR(e),s=i?.operationSpec,n=i?.operationArguments;return s&&n&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let s=mw(t,i);if(null!=s||i.mapper.required){s=r.serializer.serialize(i.mapper,s,mv(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(s))e.headers.set(t+r,s[r]);else e.headers.set(i.mapper.serializedName||mv(i),s)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,n,s),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let s=t.options?.serializerOptions,n={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}},o=n.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=mw(t,r.requestBody);let s=r.requestBody.mapper,{required:a,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:g,nullable:u}=s,h=s.type.name;try{if(void 0!==e.body&&null!==e.body||u&&null===e.body||a){let t=mv(r.requestBody);e.body=r.serializer.serialize(s,e.body,t,n);let a=h===mb;if(r.isXML){let t=g?`xmlns:${g}`:"xmlns",r=function(e,t,r,i,s){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[s.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(d,t,h,e.body,n);h===mN?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let s={[t]:e};return s.$={[r]:i},s}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:o}):a||(e.body=i(r,{rootName:l||A,xmlCharKey:o}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;a||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let s=mw(t,i);if(null!=s){let t=i.mapper.serializedName||mv(i);e.formData[t]=r.serializer.serialize(i.mapper,s,mv(i),n)}}}(e,n,s,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),g.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??mM,r=e.expectedContentTypes?.xml??mk,i=e.parseXML,s=e.serializerOptions,n={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,s)=>mU(t,r,await s(e),n,i)}}(e.deserializationOptions),{phase:"Deserialize"}),g}let mL={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function mH(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let mO=hV("core-client");class mP{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var r;let i,s;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&mO.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(t||(t=h7()),t),this.pipeline=e.pipeline||(i=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(r=e),s=r.credential&&i?{credentialScopes:i,credential:r.credential}:void 0,mT({...r,credentialOptions:s})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new u8({url:function(e,t,r,i){let s=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let s of e.urlParameters){let n=mw(t,s,r),o=mv(s);n=e.serializer.serialize(s.mapper,n,o),s.skipEncoding||(n=encodeURIComponent(n)),i.set(`{${s.mapper.serializedName||o}}`,n)}return i}(t,r,i),n=!1,o=mH(e,s);if(t.path){let e=mH(t.path,s);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(o=e,n=!0):o=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let s=t.indexOf("?");if(-1!==s){let e=t.substring(0,s),n=t.substring(s+1);i+=e,n&&(r.search=r.search?`${r.search}&${n}`:n)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(o,e)}let{queryParams:a,sequenceParams:A}=function(e,t,r){let i=new Map,s=new Set;if(e.queryParameters?.length)for(let n of e.queryParameters){"Sequence"===n.mapper.type.name&&n.mapper.serializedName&&s.add(n.mapper.serializedName);let o=mw(t,n,r);if(null!=o||n.mapper.required){o=e.serializer.serialize(n.mapper,o,mv(n));let t=n.collectionFormat?mL[n.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(e=>null==e?"":e)),"Multi"===n.collectionFormat&&0===o.length)continue;Array.isArray(o)&&("SSV"===n.collectionFormat||"TSV"===n.collectionFormat)&&(o=o.join(t)),n.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&("CSV"===n.collectionFormat||"Pipes"===n.collectionFormat)&&(o=o.join(t)),i.set(n.mapper.serializedName||mv(n),o)}}return{queryParams:i,sequenceParams:s}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let s=new URL(e),n=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),s=t.get(e);s?Array.isArray(s)?s.push(i):t.set(e,[s,i]):t.set(e,i)}return t}(s.search);for(let[e,s]of t){let t=n.get(e);if(Array.isArray(t))if(Array.isArray(s)){t.push(...s);let r=new Set(t);n.set(e,Array.from(r))}else t.push(s);else t?(Array.isArray(s)?s.unshift(t):r.has(e)&&n.set(e,[t,s]),i||n.set(e,s)):n.set(e,s)}let o=[];for(let[e,t]of n)if("string"==typeof t)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)o.push(`${e}=${r}`);else o.push(`${e}=${t}`);return s.search=o.length?`?${o.join("&")}`:"",s.toString()}(o,a,A,n)}(r,t,e,this)});i.method=t.httpMethod;let s=mR(i);s.operationSpec=t,s.operationArguments=e;let n=t.contentType||this._requestContentType;n&&t.requestBody&&i.headers.set("Content-Type",n);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(s.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),o.abortSignal&&(i.abortSignal=o.abortSignal),o.tracingOptions&&(i.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===mb&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=mh(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=mh(r,t.responses[e.statusCode]||t.responses.default);e.details=i,o?.onResponse&&o.onResponse(r,i,e)}throw e}}}let mY="authorization",mG=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,s=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),n=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,s),o=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(s);if(!o)return!1;let a=await e.getAccessToken(n,{...r,tenantId:o});return!!a&&(e.request.headers.set(mY,`${a.tokenType??"Bearer"} ${a.token}`),!0)}return!1},mz=Symbol("Original PipelineRequest"),mq=Symbol.for("@azure/core-client original request"),mV=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function mJ(e,t={}){let r=e[mz],i=u5(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new u8({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[mq]=t.originalRequest),r}}function m_(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:mW(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,s,n)=>s===mz?e:"clone"===s?()=>m_(mJ(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,s,n),set:(t,r,i,s)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&mV.has(r)&&(e[r]=i),Reflect.set(t,r,i,s))}):i}function mW(e){return new mK(e.toJSON({preserveCase:!0}))}function mj(e){return e.toLowerCase()}class mK{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[mj(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[mj(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[mj(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[mj(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[mj(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new mK(e)}}let mX=Symbol("Original FullOperationResponse");function mZ(e,t){let r=m_(e.request),i=mW(e.headers);return t?.createProxy?new Proxy(e,{get:(t,s,n)=>"headers"===s?i:"request"===s?r:s===mX?e:Reflect.get(t,s,n),set:(e,t,s,n)=>("headers"===t?i=s:"request"===t&&(r=s),Reflect.set(e,t,s,n))}):{...e,request:r,headers:i}}function m$(e){let t=e[mX],r=u5(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:mJ(e.request)}}class m0 extends mP{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===ml)||this.pipeline.addPolicy({name:ml,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:hk})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,s){r=e,i&&i(e,t,s)}};let s=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(s,"_response",{value:mZ(r)}),s}}(Y=ei||(ei={}))[Y.ERROR=1]="ERROR",Y[Y.INFO=3]="INFO",Y[Y.OFF=0]="OFF",Y[Y.WARNING=2]="WARNING";let m1={log(e,t){},shouldLog:e=>!1};class m2{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},s=null,n=e,o=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(o&&(n=o[1]+o[3],o[2])){let e=o[2].slice(1,-1);e&&(s=e)}let a=n;if(n.includes("::")){let r=n.indexOf("::");if(t=n.substring(0,r).trim(),a=n.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(a.includes(":")){let e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),i=a.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,A=i):r=a}else r=a;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),s)if(s.includes("=")){let e=s.indexOf("=");i.attrName=s.substring(0,e).trim(),i.attrValue=s.substring(e+1).trim()}else i.attrName=s.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=A}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class m3{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class m5{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new m3(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length,n=this.siblingStacks[s];n||(n={counts:new Map,total:0},this.siblingStacks[s]=n);let o=r?`${r}:${e}`:e,a=n.counts.get(o)||0,A=n.total;n.counts.set(o,a+1),n.total++;let l={tag:e,position:A,counter:a};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==i?i.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],s=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,s=!0;break}if(!s)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function m4(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function m8(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function m9(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let m6=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",m7=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",pe=(e,t,r="")=>{let i=e.replace(":",""),s=t.replace(":",""),n=`[${i}][${s}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${n}$`,r),qName:RegExp(`^${n}(?::${n})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},pt=pe(m6,m6+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),pr=pe(m7,m7+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),pi=":A-Za-z_",ps=pe(pi,pi+"\\-\\.\\d"),pn=(e="1.0",t=!1)=>t?ps:"1.1"===e?pr:pt,po=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>pn(t,r).qName.test(e),pa=["name","ncName","qName","nmToken","nmTokens"],pA=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!pa.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${pa.join(", ")}`);let s=pn(t,r)[e],n=new Map,o=e=>{let t=n.get(e);if(void 0!==t)return t;let r=s.test(e);return n.size<i&&n.set(e,r),r};return o.reset=()=>{n=new Map},o};function pl(e,t,r,i,s){return!r.sanitizeName||s(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function pc(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function pd(e,t,r,i,s){let n="";if(e&&!t.ignoreAttributes)for(let o in e){let a;if(!Object.prototype.hasOwnProperty.call(e,o))continue;let A=o.substr(t.attributeNamePrefix.length),l=r?A:pl(A,!0,t,i,s);!0===(a=r?e[o]:pg(a=t.attributeValueProcessor(o,e[o]),t))&&t.suppressBooleanAttributes?n+=` ${l}`:n+=` ${l}="${m9(a)}"`}return n}function pg(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let pu={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function ph(e){if(this.options=Object.assign({},pu,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new m2(t)):t instanceof m2&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=pI}this.processTextOrObjNode=pp,this.options.format?(this.indentate=pC,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function pm(e,t,r,i,s){return!r.sanitizeName||s(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function pp(e,t,r,i,s){let n=this.extractAttributes(e);if(i.push(t,n),this.checkStopNode(i)){let s=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(s,t,n,r)}let o=this.j2x(e,r+1,i,s);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,o.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,r,i):this.buildObjectNode(o.val,t,o.attrStr,r)}function pC(e){return this.options.indentBy.repeat(e)}function pI(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}ph.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new m2(r)):r instanceof m2&&i.push(r)}let s=pA("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===pc(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,s,n,o){let a="",A=!1;if(r.maxNestedTags&&s.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return pg(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],g=pc(d);if(void 0===g)continue;let u=g===r.textNodeName||g===r.cdataPropName||g===r.commentPropName||"?"===g[0]?g:pl(g,!1,r,s,o),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s.startsWith(t.attributeNamePrefix)?s.substr(t.attributeNamePrefix.length):s]=m9(e[s]),i=!0);return i?r:null}(d[":@"],r);s.push(u,h);let m=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(s,n);if(u===r.textNodeName){let e=d[g];m||(e=pg(e=r.tagValueProcessor(u,e),r)),A&&(a+=i),a+=e,A=!1,s.pop();continue}if(u===r.cdataPropName){A&&(a+=i);let e=m8(d[g][0][r.textNodeName]);a+=`<![CDATA[${e}]]>`,A=!1,s.pop();continue}if(u===r.commentPropName){let e=m4(d[g][0][r.textNodeName]);a+=i+`<!--${e}-->`,A=!0,s.pop();continue}else if("?"===u[0]){let e=pd(d[":@"],r,m,s,o);a+=("?xml"===u?"":i)+`<${u}${e}?>`,A=!0,s.pop();continue}let p=i;""!==p&&(p+=r.indentBy);let C=pd(d[":@"],r,m,s,o),I=i+`<${u}${C}`;c=m?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let s=0;s<t.length;s++){let n=t[s],o=pc(n);if(o===r.textNodeName)i+=n[o];else if(o===r.cdataPropName)i+=n[o][0][r.textNodeName];else if(o===r.commentPropName)i+=n[o][0][r.textNodeName];else if(o&&"?"===o[0])continue;else if(o){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=e[i];!0===s&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${m9(s)}"`}return r}(n[":@"],r),s=e(n[o],r);s&&0!==s.length?i+=`<${o}${t}>${s}</${o}>`:i+=`<${o}${t}/>`}}return i}(d[g],r):e(d[g],r,p,s,n,o),-1!==r.unpairedTags.indexOf(u)?r.suppressUnpairedNode?a+=I+">":a+=I+"/>":(!c||0===c.length)&&r.suppressEmptyNode?a+=I+"/>":c&&c.endsWith(">")?a+=I+`>${c}${i}</${u}>`:(a+=I+">",c&&""!==i&&(c.includes("/>")||c.includes("</"))?a+=i+r.indentBy+c+i:a+=c,a+=`</${u}>`),A=!0,s.pop()}return a}(e,t,r,new m5,i,s)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new m5,r=pA("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},ph.prototype.j2x=function(e,t,r,i){let s="",n="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:pm(A,!1,this.options,r,i);if(void 0===e[A])this.isAttribute(A)&&(n+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?n+="":"?"===l[0]?n+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)n+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,o)){let t=pm(c,!0,this.options,r,i);s+=this.buildAttrPairStr(t,""+e[A],a)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);n+=this.replaceEntitiesValue(t)}else{r.push(l);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[A];""===r?n+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:n+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else n+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let s=e[A].length,o="",a="";for(let c=0;c<s;c++){let s=e[A][c];if(void 0===s);else if(null===s)"?"===l[0]?n+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof s)if(this.options.oneListGroup){r.push(l);let e=this.j2x(s,t+1,r,i);r.pop(),o+=e.val,this.options.attributesGroupName&&s.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else o+=this.processTextOrObjNode(s,l,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,s);o+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+s;""===e?o+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:o+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(s,l,"",t,r)}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,a,t)),n+=o}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),n=t.length;for(let o=0;o<n;o++){let n=pm(t[o],!0,this.options,r,i);s+=this.buildAttrPairStr(n,""+e[A][t[o]],a)}}else n+=this.processTextOrObjNode(e[A],l,t,r,i)}return{attrStr:s,val:n}},ph.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+m9(t)+'"'},ph.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=m9(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=this.isAttribute(i);s&&(t[s]=m9(e[i]),r=!0)}return r?t:null},ph.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${s}/>`:t+=`<${r}${s}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),s=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${s}/>`:t+=`<${r}${s}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},ph.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,s=r[e];!0===s&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+m9(s)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let s=e[r];!0===s&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+m9(s)+'"'}}return t},ph.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let s="</"+t+this.tagEndChar,n="";return("?"===t[0]&&(n="?",s=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+n+">"+e+s:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===n.length?this.indentate(i)+`<!--${m4(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+n+this.tagEndChar+e+this.indentate(i)+s}},ph.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},ph.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},ph.prototype.buildTextValNode=function(e,t,r,i,s){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=m8(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=m4(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let s=this.options.tagValueProcessor(t,e);return""===(s=this.replaceEntitiesValue(s))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+s+"</"+t+this.tagEndChar}},ph.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let pE=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",pf=RegExp("^"+("["+pE+"]["+pE)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function pB(e,t){let r=[],i=t.exec(e);for(;i;){let s=[];s.startIndex=t.lastIndex-i[0].length;let n=i.length;for(let e=0;e<n;e++)s.push(i[e]);r.push(s),i=t.exec(e)}return r}let py=function(e){return null!=pf.exec(e)},pQ=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],pN=["__proto__","constructor","prototype"],pb={allowBooleanAttributes:!1,unpairedTags:[]};function pS(e,t){t=Object.assign({},pb,t);let r=[],i=!1,s=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let n=0;n<e.length;n++)if("<"===e[n]&&"?"===e[n+1]){if(n+=2,(n=pD(e,n)).err)return n}else if("<"===e[n]){let o=n;if("!"===e[++n]){n=px(e,n);continue}{let a=!1;"/"===e[n]&&(a=!0,n++);let A="";for(;n<e.length&&">"!==e[n]&&" "!==e[n]&&" "!==e[n]&&"\n"!==e[n]&&"\r"!==e[n];n++)A+=e[n];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),n--),!py(A))return pk("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",pU(e,n));let l=function(e,t){let r="",i="",s=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){s=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:s}}(e,n);if(!1===l)return pk("InvalidAttr","Attributes for '"+A+"' have open quote.",pU(e,n));let c=l.value;if(n=l.index,"/"===c[c.length-1]){let r=n-c.length,s=pM(c=c.substring(0,c.length-1),t);if(!0!==s)return pk(s.err.code,s.err.msg,pU(e,r+s.err.line));i=!0}else if(a)if(!l.tagClosed)return pk("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",pU(e,n));else{if(c.trim().length>0)return pk("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",pU(e,o));if(0===r.length)return pk("InvalidTag","Closing tag '"+A+"' has not been opened.",pU(e,o));let t=r.pop();if(A!==t.tagName){let r=pU(e,t.tagStartPos);return pk("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",pU(e,o))}0==r.length&&(s=!0)}else{let a=pM(c,t);if(!0!==a)return pk(a.err.code,a.err.msg,pU(e,n-c.length+a.err.line));if(!0===s)return pk("InvalidXml","Multiple possible root nodes found.",pU(e,n));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:o}),i=!0}for(n++;n<e.length;n++)if("<"===e[n])if("!"===e[n+1]){n=px(e,++n);continue}else if("?"===e[n+1]){if((n=pD(e,++n)).err)return n}else break;else if("&"===e[n]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,n);if(-1==t)return pk("InvalidChar","char '&' is not expected.",pU(e,n));n=t}else if(!0===s&&!pw(e[n]))return pk("InvalidXml","Extra text at the end",pU(e,n));"<"===e[n]&&n--}}else{if(pw(e[n]))continue;return pk("InvalidChar","char '"+e[n]+"' is not expected.",pU(e,n))}return i?1==r.length?pk("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",pU(e,r[0].tagStartPos)):!(r.length>0)||pk("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):pk("InvalidXml","Start tag expected.",1)}function pw(e){return" "===e||" "===e||"\n"===e||"\r"===e}function pD(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return pk("InvalidXml","XML declaration allowed only at the start of the document.",pU(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function px(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let pR=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function pM(e,t){let r=pB(e,pR),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return pk("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",pF(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return pk("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",pF(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return pk("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",pF(r[e]));let s=r[e][2];if(!py(s))return pk("InvalidAttr","Attribute '"+s+"' is an invalid name.",pF(r[e]));if(Object.prototype.hasOwnProperty.call(i,s))return pk("InvalidAttr","Attribute '"+s+"' is repeated.",pF(r[e]));i[s]=1}return!0}function pk(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function pU(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function pF(e){return e.startIndex+e[1].length}let pv=e=>pQ.includes(e)?"__"+e:e,pT={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:pv},pL=function(e){let t=Object.assign({},pT,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(pQ.some(e=>r===e.toLowerCase())||pN.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=pv),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};r="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class pH{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][r]={startIndex:t})}static getMetaDataSymbol(){return r}}class pO{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let s=1,n=!1,o=!1;for(;t<e.length;t++)if("<"!==e[t]||o)if(">"===e[t]){if(o?"-"===e[t-1]&&"-"===e[t-2]&&(o=!1,s--):s--,0===s)break}else"["===e[t]?n=!0:e[t];else{if(n&&pY(e,"!ENTITY",t)){let s,n;if(t+=7,[s,n,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===n.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[s]=n,i++}}else if(n&&pY(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(n&&pY(e,"!ATTLIST",t))t+=8;else if(n&&pY(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(pY(e,"!--",t))o=!0;else throw Error("Invalid DOCTYPE");s++}if(0!==s)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=pP(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(pG(i,{xmlVersion:this.xmlVersion}),t=pP(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let s="";if([t,s]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&s.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,s,--t]}readNotationExp(e,t){let r=t=pP(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||pG(i,{xmlVersion:this.xmlVersion}),t=pP(e,t);let s=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==s&&"PUBLIC"!==s)throw Error(`Expected SYSTEM or PUBLIC, found "${s}"`);t+=s.length,t=pP(e,t);let n=null,o=null;if("PUBLIC"===s)[t,n]=this.readIdentifierVal(e,t,"publicIdentifier"),t=pP(e,t),('"'===e[t]||"'"===e[t])&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===s&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!o))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:n,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let i="",s=e[t];if('"'!==s&&"'"!==s)throw Error(`Expected quoted string, found "${s}"`);let n=++t;for(;t<e.length&&e[t]!==s;)t++;if(i=e.substring(n,t),e[t]!==s)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=pP(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!po(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=pP(e,t);let s="";if("E"===e[t]&&pY(e,"MPTY",t))t+=4;else if("A"===e[t]&&pY(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(s=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:s.trim(),index:t}}readAttlistExp(e,t){let r=t=pP(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(pG(i,{xmlVersion:this.xmlVersion}),r=t=pP(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let s=e.substring(r,t);if(!pG(s,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${s}"`);t=pP(e,t);let n="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(n="NOTATION",t+=8,t=pP(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let s=e.substring(i,t);if(!pG(s=s.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${s}"`);r.push(s),"|"===e[t]&&(t=pP(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,n+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(n+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(n.toUpperCase()))throw Error(`Invalid attribute type: "${n}"`)}t=pP(e,t);let o="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(o="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(o="#IMPLIED",t+=7):[t,o]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:s,attributeType:n,defaultValue:o,index:t}}}let pP=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function pY(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function pG(e,t){if(po(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let pz=new Map,pq=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?pq[r-1632]=t:pz.set(r,t)}let pV=new Set([8722,65293,65123]),pJ=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let s=e.charCodeAt(i);if((!(s>=48)||!(s<=57))&&45!==s){if(s<1632){if(pV.has(s)){r=i;break}continue}if(s>=55296&&s<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(s-55296<<10)+(t-56320);if(pz.has(e)){r=i;break}}}continue}if(255!==pq[s-1632]||pV.has(s)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let s=r;s<t;s++){let r=e.charCodeAt(s);if(r>=48&&r<=57||45===r){i.push(e[s]);continue}if(r<1632){i.push(pV.has(r)?"-":e[s]);continue}if(r>=55296&&r<=56319){if(s+1<t){let t=e.charCodeAt(s+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),n=pz.get(e);if(void 0!==n){i.push(String.fromCharCode(n+48)),s++;continue}}}i.push(e[s]);continue}if(pV.has(r)){i.push("-");continue}let n=pq[r-1632];i.push(255!==n?String.fromCharCode(n+48):e[s])}return i.join("")},p_=/^[-+]?0x[a-fA-F0-9]+$/,pW=/^0b[01]+$/,pj=/^0o[0-7]+$/,pK=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,pX={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},pZ=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function p$(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class p0{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,s=this._byDepthAndTag.get(i);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let n=this._wildcardByDepth.get(t);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++)if(e.matches(o[t]))return o[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let p1={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},p2={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},p3={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},p5=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),p4=new Set("!?\\\\/[]$%{}^&*()<>|+");function p8(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(p4.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function p9(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let p6="external",p7="base",Ce=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Ct=new Set([9,10,13]);class Cr{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??p6)&&t!==p6?"all"===t?["all"]:t===p7?[p7]:Array.isArray(t)?t:[p6]:[p6]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=p9(p2,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:Ce.allow,nullLevel:Ce.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:Ce[e.onNCR]??Ce.allow,nullLevel:Math.max(Ce[e.nullNCR]??Ce.remove,Ce.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let s=e(t,r);if(s===p5.BLOCK)return!1;if(s===p5.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))p8(t);if(!this._onExternalEntity){this._externalMap=p9(e);return}let t=p9(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){p8(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=p9(e);return}let t=p9(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,s=0,n=this._maxTotalExpansions>0,o=this._maxExpandedLength>0,a=n||o;for(;s<r;){let A,l;if(38!==e.charCodeAt(s)){s++;continue}let c=s+1;for(;c<r&&59!==e.charCodeAt(c)&&c-s<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){s++;continue}let d=e.slice(s+1,c);if(0===d.length){s++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=p6);else if(this._leaveSet.has(d)){s++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){s++;continue}A=e,l=p7}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){s++;continue}if(s>i&&t.push(e.slice(i,s)),t.push(A),s=i=c+1,a&&this._tierCounts(l)){if(n&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(o){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:p6}:e in this._externalMap?{value:this._externalMap[e],tier:p6}:e in this._baseMap?{value:this._baseMap[e],tier:p7}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!Ct.has(e)?Ce.remove:-1}_applyNCRAction(e,t,r){switch(e){case Ce.allow:return String.fromCodePoint(r);case Ce.remove:return"";case Ce.leave:return;case Ce.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<Ce.remove)return;let s=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(s,e,t)}}let Ci=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],Cs=[...Ci,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],Cn=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],Co=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],Ca=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],CA=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],Cl=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],Cc="[\"'\\s]*:",Cd=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${Cc}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${Cc}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${Cc}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${Cc}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${Cc}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${Cc}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${Cc}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${Cc}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${Cc}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${Cc}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${Cc}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${Cc}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${Cc}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],Cg=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];Cn.label="HTML",Co.label="XML",Ca.label="SVG",Ci.label="SQL",Cs.label="SQL-STRICT",CA.label="SHELL",Cl.label="REDOS",Cd.label="NOSQL",Cg.label="LOG",Object.freeze({HTML:Cn,XML:Co,SVG:Ca,SQL:Ci,"SQL-STRICT":Cs,SHELL:CA,REDOS:Cl,NOSQL:Cd,LOG:Cg});class Cu{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=CI,this.parseTextData=Ch,this.resolveNameSpace=Cm,this.buildAttributesMap=CC,this.isItStopNode=Cy,this.replaceEntitiesValue=Cf,this.readStopNodeData=Cb,this.saveTextToParentTag=CB,this.addChild=CE,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...p2};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...p3,...p1}),this.entityDecoder=new Cr({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[Cn,Co])?p5.ALLOW:p5.BLOCK})),this.matcher=new m5,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new p0;let s=this.options.stopNodes;if(s&&s.length>0){for(let e=0;e<s.length;e++){let t=s[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new m2(t)):t instanceof m2&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function Ch(e,t,r,i,s,n,o){let a=this.options;if(void 0!==e&&(a.trimValues&&!i&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,r));let i=a.jPath?r.toString():r,A=a.tagValueProcessor(t,e,i,s,n);return null==A?e:typeof A!=typeof e||A!==e?A:a.trimValues||e.trim()===e?CS(e,a.parseTagValue,a.numberParseOptions):e}}function Cm(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let Cp=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function CC(e,t,r,i=!1){let s=this.options;if(!0===i||!0!==s.ignoreAttributes&&"string"==typeof e){let i=pB(e,Cp),n=i.length,o={},a=Array(n),A=!1,l={};for(let e=0;e<n;e++){let t=this.resolveNameSpace(i[e][1]),n=i[e][4];if(t.length&&void 0!==n){let i=n;s.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),a[e]=i,l[t]=i,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=s.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<n;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=s.attributeNamePrefix+t;if(t.length)if(s.transformAttributeName&&(r=s.transformAttributeName(r)),r=CD(r,s),void 0!==i[e][4]){let i=a[e],n=s.attributeValueProcessor(t,i,c);null==n?o[r]=i:typeof n!=typeof i||n!==i?o[r]=n:o[r]=CS(i,s.parseAttributeValue,s.numberParseOptions),d=!0}else s.allowBooleanAttributes&&(o[r]=!0,d=!0)}if(!d)return;if(s.attributesGroupName&&!s.preserveOrder){let e={};return e[s.attributesGroupName]=o,e}return o}}let CI=function(e){e=e.replace(/\r\n?/g,"\n");let t=new pH("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let s=this.options,n=new pO(s.processEntities),o=e.length;for(let a=0;a<o;a++)if("<"===e[a]){let A=e.charCodeAt(a+1);if(47===A){let t=CQ(e,">",a,"Closing Tag is not closed."),n=e.substring(a+2,t).trim();if(s.removeNSPrefix){let e=n.indexOf(":");-1!==e&&(n=n.substr(e+1))}n=Cw(s.transformTagName,n,"",s).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(n&&s.unpairedTagsSet.has(n))throw Error(`Unpaired tag can not be used as closing tag: </${n}>`);o&&s.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",a=t}else if(63===A){let t=CN(e,a,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),n.setXmlVersion(Number(e)||1)}if(s.ignoreDeclaration&&"?xml"===t.tagName||s.ignorePiTags);else{let e=new pH(t.tagName);e.add(s.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==s.ignoreAttributes&&(e[":@"]=o),this.addChild(r,e,this.readonlyMatcher,a)}a=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(a+2)&&45===e.charCodeAt(a+3)){let t=CQ(e,"--\x3e",a+4,"Comment is not closed.");if(s.commentPropName){let n=e.substring(a+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:n}])}a=t}else if(33===A&&68===e.charCodeAt(a+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=n.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities),a=t.i}else if(33===A&&91===e.charCodeAt(a+2)){let t=CQ(e,"]]>",a,"CDATA is not closed.")-2,n=e.substring(a+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.parseTextData(n,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==o&&(o=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:n}]):r.add(s.textNodeName,o),a=t+2}else{let n,A=CN(e,a,s.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,g=A.attrExpPresent,u=A.closeIndex;if({tagName:l,tagExp:d}=Cw(s.transformTagName,l,d,s),s.strictReservedNames&&(l===s.commentPropName||l===s.cdataPropName||l===s.textNodeName||l===s.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&s.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(m=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),g=l!==d);let p=null;n=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},n),l!==d&&g&&(p=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(p,s),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let C=a;if(this.isCurrentNodeStopNode){let t="";if(m)a=A.closeIndex;else if(s.unpairedTagsSet.has(l))a=A.closeIndex;else{let r=this.readStopNodeData(e,c,u+1);if(!r)throw Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}let i=new pH(l);p&&(i[":@"]=p),i.add(s.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,C)}else{if(m){({tagName:l,tagExp:d}=Cw(s.transformTagName,l,d,s));let e=new pH(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(l)){let e=new pH(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let e=new pH(l);if(this.tagsNodeStack.length>s.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),r=e}i="",a=u}}}else i+=e[a];return t.child};function CE(e,t,r,i){this.options.captureMetaData||(i=void 0);let s=this.options.jPath?r.toString():r,n=this.options.updateTag(t.tagname,s,t[":@"]);!1===n||("string"==typeof n&&(t.tagname=n),e.addChild(t,i))}function Cf(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let s=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,s)))return e}if(i.tagFilter){let s=this.options.jPath?r.toString():r;if(!i.tagFilter(t,s))return e}return this.entityDecoder.decode(e)}function CB(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function Cy(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function CQ(e,t,r,i){let s=e.indexOf(t,r);if(-1!==s)return s+t.length-1;throw Error(i)}function CN(e,t,r,i=">"){let s=function(e,t,r=">"){let i=0,s=e.length,n=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",A=t;for(let r=t;r<s;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===n){if(-1===o)return{data:a+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===o)return{data:a+=e.substring(A,r),index:r}}else 9!==t||i||(a+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,i);if(!s)return;let n=s.data,o=s.index,a=n.search(/\s/),A=n,l=!0;-1!==a&&(A=n.substring(0,a),n=n.substring(a+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==s.data.substr(e+1))}return{tagName:A,tagExp:n,closeIndex:o,attrExpPresent:l,rawTagName:c}}function Cb(e,t,r){let i=r,s=1,n=e.length;for(;r<n;r++)if("<"===e[r]){let n=e.charCodeAt(r+1);if(47===n){let n=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,n).trim()===t&&0==--s)return{tagContent:e.substring(i,r),i:n};r=n}else if(63===n)r=CQ(e,"?>",r+1,"StopNode is not closed.");else if(33===n&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=CQ(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===n&&91===e.charCodeAt(r+2))r=CQ(e,"]]>",r,"StopNode is not closed.")-2;else{let i=CN(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&s++,r=i.closeIndex)}}}function CS(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},pX,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=pJ(r)))return 0;if(t.hex&&p_.test(r))return p$(r,16);{if(t.binary&&pW.test(r))return p$(r,2);if(t.octal&&pj.test(r))return p$(r,8);if(!isFinite(r)){var i,s=e,n=Number(r),o=t;switch(o.infinity.toLowerCase()){case"null":return null;case"infinity":return n;case"string":return n===1/0?"Infinity":"-Infinity";default:return s}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(pZ);if(!i)return e;{let s=i[1]||"",n=-1===i[3].indexOf("e")?"E":"e",o=i[2],a=s?e[o.length+1]===n:e[o.length]===n;if(o.length>1&&a)return e;if(1===o.length&&(i[3].startsWith(`.${n}`)||i[3][0]===n))return Number(t);if(!(o.length>0))return Number(t);else if(r.leadingZeros&&!a)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let a=pK.exec(r);if(!a)return e;{let s=a[1]||"",n=a[2],o=((i=a[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),A=s?"."===e[n.length+1]:"."===e[n.length];if(!t.leadingZeros&&(n.length>1||1===n.length&&!A))return e;{let i=Number(r),a=String(i);if(0===i)return i;if(-1!==a.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===a)return i;else if(a===o)return i;else if(a===`${s}${o}`)return i;else return e;let A=n?o:r;return n?A===a||s+A===a?i:e:A===a||A===s+a?i:e}}}}(e,r)}return void 0!==e?e:""}function Cw(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=CD(t,i),tagExp:r}}function CD(e,t){if(pN.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return pQ.includes(e)?t.onDangerousProperty(e):e}let Cx=pH.getMetaDataSymbol();class CR{constructor(e){this.externalEntities={},this.options=pL(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=pS(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new Cu(this.options,this.externalEntities),s=i.parseXml(e);return this.options.preserveOrder||void 0===s?s:(r=this.options,function e(t,r,i,s){let n,o={};for(let a=0;a<t.length;a++){let A=t[a],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(A[":@"]||{},r.attributeNamePrefix);i.push(l,e)}if(l===r.textNodeName)void 0===n?n=A[l]:n+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,i,s),n=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,i){if(t){let s=Object.keys(t),n=s.length;for(let o=0;o<n;o++){let n=s[o],a=n.startsWith(i.attributeNamePrefix)?n.substring(i.attributeNamePrefix.length):n,A=i.jPath?r.toString()+"."+a:r;i.isArray(n,A,!0,!0)?e[n]=[t[n]]:e[n]=t[n]}}}(t,A[":@"],s,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[Cx]&&"object"==typeof t&&null!==t&&(t[Cx]=A[Cx]),void 0!==o[l]&&Object.prototype.hasOwnProperty.call(o,l))Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(t);else{let e=r.jPath?s.toString():s;r.isArray(l,e,n)?o[l]=[t]:o[l]=t}void 0!==l&&l!==r.textNodeName&&i.pop()}}return"string"==typeof n?n.length>0&&(o[r.textNodeName]=n):void 0!==n&&(o[r.textNodeName]=n),o}(s,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return pH.getMetaDataSymbol()}}function CM(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function Ck(e,t={}){let r=function(e={}){return{...CM(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new ph(r),s={[r.rootNodeName]:e},n=i.build(s);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n}`.replace(/\n/g,"")}async function CU(e,t={}){if(!e)throw Error("Document is empty");let r=pS(e);if(!0!==r)throw r;let i=new CR(function(e={}){return{...CM(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let CF=hV("storage-blob");var Cv=o(4434);class CT extends ul.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,n=Math.min(s,i);if(n>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+n;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),n===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=n,r+=n}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let CL=o(4573).constants.MAX_LENGTH;class CH{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/CL);for(let t=0;t<i;t++){let r=t===i-1?e%CL:CL;0===r&&(r=CL),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,s=0,n=0,o=0;for(;o<this._size;){let t=e[r],a=this.buffers[i],A=t.copy(a,s,n);o+=A,n+=A,s+=A,n===t.length&&(r++,n=0),s===a.length&&(i++,s=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(n))}getReadableStream(){return new CT(this.buffers,this.size)}}class CO{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new Cv.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,s,n){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(s<=0)throw RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=n}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new CH(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let CP=i("node:module");var CY=o(6760),CG=o(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(s=(0,CP.createRequire)(import.meta.url),n=(0,CG.fileURLToPath)(import.meta.url),a=(0,CY.dirname)(n));var Cz=(G="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==n&&(G=G||n),function(e){var t,r,i,n,o,A,l,c,d,g,u=void 0!==(e=e||{})?e:{};u.ready=new Promise(function(e,t){i=e,n=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(u.ready,e)||Object.defineProperty(u.ready,e,{get:()=>q("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>q("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var h=Object.assign({},u),m=[],p="object"==typeof window,C="function"==typeof importScripts,I="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,E=!p&&!I&&!C;if(u.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var f="";if(I){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var B=s("fs"),y=s("path");f=C?y.dirname(f)+"/":a+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),m=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof j))throw e}),process.on("unhandledRejection",function(e){throw e}),u.inspect=function(){return"[Emscripten Module object]"}}else if(E){if("object"==typeof process&&"function"==typeof s||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?m=scriptArgs:"u">typeof arguments&&(m=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(p||C){if(C?f=self.location.href:"u">typeof document&&document.currentScript&&(f=document.currentScript.src),G&&(f=G),f=0!==f.indexOf("blob:")?f.substr(0,f.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var Q=u.print||console.log.bind(console),N=u.printErr||console.warn.bind(console);function b(e,t){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){q("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function S(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(u,h),h=null,Object.getOwnPropertyDescriptor(u,t="fetchSettings")&&q("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),u.arguments&&(m=u.arguments),b("arguments","arguments_"),u.thisProgram&&u.thisProgram,b("thisProgram","thisProgram"),u.quit&&u.quit,b("quit","quit_"),D(void 0===u.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.read,"Module.read option was removed (modify read_ in JS)"),D(void 0===u.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),D(void 0===u.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),D(void 0===u.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),D(void 0===u.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),b("read","read_"),b("readAsync","readAsync"),b("readBinary","readBinary"),b("setWindowTitle","setWindowTitle"),D(!E,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),u.wasmBinary&&u.wasmBinary,b("wasmBinary","wasmBinary"),u.noExitRuntime,b("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&q("no native wasm support detected");var w=!1;function D(e,t){e||q("Assertion failed"+(t?": "+t:""))}var x="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(e){A=e,u.HEAP8=new Int8Array(e),u.HEAP16=new Int16Array(e),u.HEAP32=new Int32Array(e),u.HEAPU8=l=new Uint8Array(e),u.HEAPU16=new Uint16Array(e),u.HEAPU32=c=new Uint32Array(e),u.HEAPF32=new Float32Array(e),u.HEAPF64=new Float64Array(e)}u.STACK_SIZE&&D(5242880===u.STACK_SIZE,"the stack size can no longer be determined at runtime");var M=u.INITIAL_MEMORY||0x1000000;function k(){if(!w){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&q("Stack overflow! Stack cookie has been overwritten at "+X(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+X(r)+" "+X(t)),0x63736d65!==c[0]&&q("Runtime error: The application has corrupted its heap memory area (address zero)!")}}b("INITIAL_MEMORY","INITIAL_MEMORY"),D(M>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+M+"! (STACK_SIZE=5242880)"),D("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),D(!u.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),D(0x1000000==M,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var U=new Int16Array(1),F=new Int8Array(U.buffer);if(U[0]=25459,115!==F[0]||99!==F[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var v=[],T=[],L=[],H=!1;D(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var O=0,P=null,Y=null,z={};function q(e){u.onAbort&&u.onAbort(e),N(e="Aborted("+e+")"),w=!0;var t=new WebAssembly.RuntimeError(e);throw n(t),t}var V={error:function(){q("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){V.error()},createDataFile:function(){V.error()},createPreloadedFile:function(){V.error()},createLazyFile:function(){V.error()},open:function(){V.error()},mkdev:function(){V.error()},registerDevice:function(){V.error()},analyzePath:function(){V.error()},loadFilesFromDB:function(){V.error()},ErrnoError:function(){V.error()}};function J(e){return e.startsWith("file://")}function _(e,t){return function(){var r=t;return t||(r=u.asm),D(H,"native function `"+e+"` called before runtime initialization"),r[e]||D(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}u.FS_createDataFile=V.createDataFile,u.FS_createPreloadedFile=V.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=u.locateFile?u.locateFile(r,f):f+r);var W="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMFBgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQIBAQIAAQMBAQEACggLBIWAgIAAAXABBAQFh4CAgAABAYACgIACBsiAgIAACn8BQYCAwAILfwFBAAt/AUEAC38BQQALfwBBnJHBAgt/AEGwkcECC38AQZyRwQILfwBBsJHBAgt/AEG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vQEMUO96dltNQ92sbcU7T8rbTv9hSj2oMmL7GmTLJpAl+mhJaEQgd9LnWPNhtaypNX/LoG06qk7Nxn5FaLuxdtpe7RZkNLeRKhw86uaL+oWthK+56gT8YlU9GlzvhedaQqWJD+MK4b29g7Wcfjt/e8obJs9ytHmcMqKTKnc1YqQlOgB5e7pkQ9V40YX5BSlXUuBC1vWKL7CqWfcz8As0iL3BZGD8hDJvStxU2vV1vrGtRMeJ+fq4VlX9cmz8e6NuQmXhP/D0pYmyJzDDckvonTW/o5B+xO56zQYWdXtF9ULanoUmd8rzpSWVTnT9hIF8Qg3dJ/ELh5u6tGjC9Iqco60s+5H4BZpEXW4qbXq611Da9rk+djXRtyJPDNtztMqPNdefiH87zGjCyq8ydspAtiVSPGF6RUZR3euJhH/EXWnKcxrXc0tbjjoxyyvx9BaavalYeP17EH1FEO2d+PoLRVKIfs70dQ2ioAQYCQwQILnAEgS1AAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function j(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function K(e){for(;e.length>0;)e.shift()(u)}function X(e){return"0x"+e.toString(16).padStart(8,"0")}function Z(e){Z.shown||(Z.shown={}),Z.shown[e]||(Z.shown[e]=1,I&&(e="warning: "+e),N(e))}var $=[null,[],[]],ee={abort:function(){q("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(D((e>>>=0)>t),e>0x80000000)return N("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var s=t*(1+.2/i);s=Math.min(s,e+0x6000000);var n=Math.min(0x80000000,r(Math.max(e,s),65536));if(function(e){try{return o.grow(e-A.byteLength+65535>>>16),R(o.buffer),1}catch(t){N("emscripten_realloc_buffer: Attempted to grow heap from "+A.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(n))return!0}return N("Failed to grow the heap from "+t+" bytes to "+n+" bytes, not enough memory!"),!1},fd_close:function(e){q("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,s){return 70},fd_write:function(e,t,r,i){for(var s=0,n=0;n<r;n++){var o=c[t>>2],a=c[t+4>>2];t+=8;for(var A=0;A<a;A++)!function(e,t){var r=$[e];D(r),0===t||10===t?((1===e?Q:N)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&x)return x.decode(e.subarray(t,i));for(var s="";t<i;){var n=e[t++];if(!(128&n)){s+=String.fromCharCode(n);continue}var o=63&e[t++];if((224&n)==192){s+=String.fromCharCode((31&n)<<6|o);continue}var a=63&e[t++];if((240&n)==224?n=(15&n)<<12|o<<6|a:((248&n)!=240&&Z("Invalid UTF-8 leading byte "+X(n)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),n=(7&n)<<18|o<<12|a<<6|63&e[t++]),n<65536)s+=String.fromCharCode(n);else{var A=n-65536;s+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return s}(r,0)),r.length=0):r.push(t)}(e,l[o+A]);s+=a}return c[i>>2]=s,0}};!function(){var e,t,r={env:ee,wasi_snapshot_preview1:ee};function i(e,t){u.asm=e.exports,D(o=u.asm.memory,"memory not found in wasm exports"),R(o.buffer),D(u.asm.__indirect_function_table,"table not found in wasm exports"),r=u.asm.__wasm_call_ctors,T.unshift(r);var r,i="wasm-instantiate";if(O--,u.monitorRunDependencies&&u.monitorRunDependencies(O),i?(D(z[i]),delete z[i]):N("warning: run dependency removed without ID"),0==O&&(null!==P&&(clearInterval(P),P=null),Y)){var s=Y;Y=null,s()}}e="wasm-instantiate",O++,u.monitorRunDependencies&&u.monitorRunDependencies(O),e?(D(!z[e]),z[e]=1,null===P&&"u">typeof setInterval&&(P=setInterval(function(){if(w){clearInterval(P),P=null;return}var e=!1;for(var t in z)e||(e=!0,N("still waiting on run dependencies:")),N("dependency: "+t);e&&N("(end of list)")},1e4))):N("warning: run dependency added without ID");var s=u;if(u.instantiateWasm)try{return u.instantiateWasm(r,i)}catch(e){N("Module.instantiateWasm callback failed with error: "+e),n(e)}(t=function(e){D(u===s,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),s=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(W,"base64");for(var e=window.atob(W),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){N("failed to asynchronously prepare wasm: "+e),J(d)&&N("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),q(e)})).catch(n)}(),u.___wasm_call_ctors=_("__wasm_call_ctors");var et=u._emscripten_bind_VoidPtr___destroy___0=_("emscripten_bind_VoidPtr___destroy___0"),er=u._emscripten_bind_Crc64Hash_Crc64Hash_0=_("emscripten_bind_Crc64Hash_Crc64Hash_0"),ei=u._emscripten_bind_Crc64Hash_OnAppend_2=_("emscripten_bind_Crc64Hash_OnAppend_2"),es=u._emscripten_bind_Crc64Hash_OnFinal_3=_("emscripten_bind_Crc64Hash_OnFinal_3"),en=u._emscripten_bind_Crc64Hash___destroy___0=_("emscripten_bind_Crc64Hash___destroy___0");u.___errno_location=_("__errno_location"),u._fflush=_("fflush"),u._malloc=_("malloc"),u._free=_("free");var eo=u._emscripten_stack_init=function(){return(eo=u._emscripten_stack_init=u.asm.emscripten_stack_init).apply(null,arguments)},ea=(u._emscripten_stack_get_free=function(){return(u._emscripten_stack_get_free=u.asm.emscripten_stack_get_free).apply(null,arguments)},u._emscripten_stack_get_base=function(){return(u._emscripten_stack_get_base=u.asm.emscripten_stack_get_base).apply(null,arguments)},u._emscripten_stack_get_end=function(){return(ea=u._emscripten_stack_get_end=u.asm.emscripten_stack_get_end).apply(null,arguments)});function eA(e){var t,r;if(e=e||m,!(O>0)){if(eo(),D((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,u.preRun)for("function"==typeof u.preRun&&(u.preRun=[u.preRun]);u.preRun.length;){r=u.preRun.shift(),v.unshift(r)}K(v),O>0||(u.setStatus?(u.setStatus("Running..."),setTimeout(function(){setTimeout(function(){u.setStatus("")},1),s()},1)):s(),k())}function s(){if(!g&&(g=!0,u.calledRun=!0,!w)){if(D(!H),H=!0,k(),K(T),i(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),D(!u._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),k(),u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;){var e;e=u.postRun.shift(),L.unshift(e)}K(L)}}}if(u.stackSave=_("stackSave"),u.stackRestore=_("stackRestore"),u.stackAlloc=_("stackAlloc"),u._emscripten_stack_get_current=function(){return(u._emscripten_stack_get_current=u.asm.emscripten_stack_get_current).apply(null,arguments)},u.dynCall_jiji=_("dynCall_jiji"),u.___start_em_js=5261488,u.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),q(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),Z(t)}})}),Y=function e(){g||eA(),g||(Y=e)},u.preInit)for("function"==typeof u.preInit&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();function el(){}function ec(e){return(e||el).__cache__}function ed(e,t){var r=ec(t),i=r[e];return i||((i=Object.create((t||el).prototype)).ptr=e,r[e]=i)}function eg(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=er(),ec(eu)[this.ptr]=this}return eA(),el.prototype=Object.create(el.prototype),el.prototype.constructor=el,el.prototype.__class__=el,el.__cache__={},u.WrapperObject=el,u.getCache=ec,u.wrapPointer=ed,u.castObject=function(e,t){return ed(e.ptr,t)},u.NULL=ed(0),u.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ec(e.__class__)[e.ptr]},u.compare=function(e,t){return e.ptr===t.ptr},u.getPointer=function(e){return e.ptr},u.getClass=function(e){return e.__class__},eg.prototype=Object.create(el.prototype),eg.prototype.constructor=eg,eg.prototype.__class__=eg,eg.__cache__={},u.VoidPtr=eg,eg.prototype.__destroy__=eg.prototype.__destroy__=function(){et(this.ptr)},eu.prototype=Object.create(el.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},u.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),ei(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),es(i,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){en(this.ptr)},e.ready});class Cq{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new Cq.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=Cz().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=Cq.nativeInstance._malloc(t);Cq.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),Cq.nativeInstance._free(r)}final(e,t){let r=Cq.nativeInstance._malloc(t);Cq.nativeInstance.HEAPU8.set(e,r);let i=Cq.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),Cq.nativeInstance._free(r);let s=new Uint8Array(8);return s.set(Cq.nativeInstance.HEAPU8.subarray(i,i+8)),Cq.nativeInstance._free(i),s}}(z=es||(es={}))[z.StreamHeader=0]="StreamHeader",z[z.StreamFooter=1]="StreamFooter",z[z.SegmentHeader=2]="SegmentHeader",z[z.SegmentFooter=3]="SegmentFooter",z[z.SegmentContent=4]="SegmentContent",z[z.Completed=5]="Completed";class CV{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=es.StreamHeader,this.segmentCrc64=new Cq,this.messageCrc64=new Cq}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===es.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===es.SegmentHeader&&this.handlingSegmentHeader(),this.state===es.SegmentContent&&this.handlingSegmentContent(e),this.state===es.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===es.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=es.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=es.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=es.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new Cq,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=es.StreamFooter:this.state=es.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=es.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function CJ(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof ul&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new Cj(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new Cj(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await CW(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new ul.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new Cj(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=ul.Readable.from(Buffer.from(e)),i=await new Cj(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=ul.Readable.from(e),i=await new Cj(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=ul.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new Cj(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function C_(e,t,r){let{done:i,value:s}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(s))}async function CW(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),s=new Response(new ReadableStream({start(e){r=new CV(t=>{e.enqueue(t)},t)},pull(e){C_(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await s.blob(),encodedContentLength:r.messageLength}}class Cj extends ul.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new CV(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new h$("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(q=en||(en={}))[q.StreamHeader=0]="StreamHeader",q[q.StreamFooter=1]="StreamFooter",q[q.SegmentHeader=2]="SegmentHeader",q[q.SegmentFooter=3]="SegmentFooter",q[q.SegmentContent=4]="SegmentContent";class CK{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=en.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new Cq,this.messageCrc64=new Cq}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===en.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===en.SegmentHeader&&this.parseSegmentHeader(e),this.state===en.SegmentContent&&this.parseSegmentContent(e),this.state===en.SegmentFooter&&this.parseSegmentFooter(e);this.state===en.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=en.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=en.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=en.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=en.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new Cq,this.state=en.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class CX extends ul.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new CK(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new h$("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class CZ{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class C$ extends CZ{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class C0{create(e,t){return new C$(e,t)}}class C1 extends CZ{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class C2 extends C1{constructor(e,t){super(e,t)}}class C3{create(e,t){throw Error("Method should be implemented in children classes.")}}class C5 extends C3{create(e,t){return new C2(e,t)}}let C4="timeout",C8="Authorization",C9="Content-Encoding",C6="Content-Language",C7="Content-Length",Ie="Content-Md5",It="Content-Type",Ir="date",Ii="if-match",Is="if-modified-since",In="if-none-match",Io="if-unmodified-since",Ia="x-ms-",IA="Range",Il="x-ms-date",Ic="x-ms-copy-source-error-code";function Id(e,t,r){let i=new URL(e),s=encodeURIComponent(t),n=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==s&&a.push(e)}return n&&a.push(`${s}=${n}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function Ig(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function Iu(e){try{return new URL(e).pathname}catch(e){return}}function Ih(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],s=t[1];i[r]=s}return i}async function Im(e,t,r){return new Promise((i,s)=>{let n,o=()=>{void 0!==n&&clearTimeout(n),s(r)};n=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",o),i()},e),void 0!==t&&t.addEventListener("abort",o)})}let Ip=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),IC=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),II=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function IE(e,t){return!function(e,t){let r=[Ip,IC,II],i=0,s=0,n=0;for(;i<r.length;){if(i===r.length-1&&s!==n)return s>n;let o=s<e.length?r[i][e[s].charCodeAt(0)]:1,a=n<t.length?r[i][t[n].charCodeAt(0)]:1;if(1===o&&1===a)s=0,n=0,++i;else if(o===a)++s,++n;else if(0===o)++s;else{if(0!==a)return o<a;++n}}return!1}(e,t)?1:-1}class If extends C1{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(Il,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(C7,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,C6),this.getHeaderValueToSign(e,C9),this.getHeaderValueToSign(e,C7),this.getHeaderValueToSign(e,Ie),this.getHeaderValueToSign(e,It),this.getHeaderValueToSign(e,Ir),this.getHeaderValueToSign(e,Is),this.getHeaderValueToSign(e,Ii),this.getHeaderValueToSign(e,In),this.getHeaderValueToSign(e,Io),this.getHeaderValueToSign(e,IA)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(C8,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==C7||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(Ia));t.sort((e,t)=>IE(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}getCanonicalizedResourceString(e){let t=Iu(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=Ih(e.url),s={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();s[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` -${t}:${decodeURIComponent(s[t])}`}return r}}class IB extends C3{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new If(e,t,this)}computeHMACSHA256(e){return(0,uw.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let Iy=hV("storage-common");(V=eo||(eo={}))[V.EXPONENTIAL=0]="EXPONENTIAL",V[V.FIXED=1]="FIXED";let IQ={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},IN=new h$("The operation was aborted.");class Ib extends CZ{retryOptions;constructor(e,t,r=IQ){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:IQ.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):IQ.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:IQ.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:IQ.maxRetryDelayInMs):IQ.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:IQ.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:IQ.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,s=e.clone(),n=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;n||(s.url=Ig(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=Id(s.url,C4,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(Iy.info(`RetryPolicy: =====> Try=${r} ${n?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(s),!this.shouldRetry(n,r,i))return i;t=t||!n&&404===i.status}catch(e){if(Iy.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(n,r,i,e))throw e}return await this.delay(n,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return Iy.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return Iy.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return Iy.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return Iy.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(Ic);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(Iy.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case eo.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case eo.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return Iy.info(`RetryPolicy: Delay for ${i}ms`),Im(i,r,IN)}}class IS{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new Ib(e,t,this.retryOptions)}}let Iw={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eo.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},ID=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],Ix=new h$("The operation was aborted.");class IR{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,uw.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let IM="12.33.0",Ik="2026-06-06",IU="snapshot",IF="versionid",Iv=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],IT=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],IL=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function IH(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class IO{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function IP(e,t={}){e||(e=new C5);let r=new IO([],t);return r._credential=e,r}function IY(e){if(e._credential)return e._credential;let t=new C5;for(let r of e.factories)if(mA(r.credential))t=r.credential;else if(IG(r))return r;return t}function IG(e){return e instanceof IB||"StorageSharedKeyCredential"===e.constructor.name}function Iz(e){return e instanceof C5||"AnonymousCredential"===e.constructor.name}function Iq(e){return mA(e.credential)}function IV(e){return e instanceof C0||"StorageBrowserPolicyFactory"===e.constructor.name}function IJ(e){return e instanceof IS||"StorageRetryPolicyFactory"===e.constructor.name}function I_(e){return"TelemetryPolicyFactory"===e.constructor.name}function IW(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(ea||(ea={})).AES256="AES256",(eA||(eA={})).Backup="backup",(J=el||(el={})).NeverExpire="NeverExpire",J.RelativeToCreation="RelativeToCreation",J.RelativeToNow="RelativeToNow",J.Absolute="Absolute",(_=ec||(ec={})).AccountAlreadyExists="AccountAlreadyExists",_.AccountBeingCreated="AccountBeingCreated",_.AccountIsDisabled="AccountIsDisabled",_.AuthenticationFailed="AuthenticationFailed",_.AuthorizationFailure="AuthorizationFailure",_.ConditionHeadersNotSupported="ConditionHeadersNotSupported",_.ConditionNotMet="ConditionNotMet",_.EmptyMetadataKey="EmptyMetadataKey",_.InsufficientAccountPermissions="InsufficientAccountPermissions",_.InternalError="InternalError",_.InvalidAuthenticationInfo="InvalidAuthenticationInfo",_.InvalidHeaderValue="InvalidHeaderValue",_.InvalidHttpVerb="InvalidHttpVerb",_.InvalidInput="InvalidInput",_.InvalidMd5="InvalidMd5",_.InvalidMetadata="InvalidMetadata",_.InvalidQueryParameterValue="InvalidQueryParameterValue",_.InvalidRange="InvalidRange",_.InvalidResourceName="InvalidResourceName",_.InvalidUri="InvalidUri",_.InvalidXmlDocument="InvalidXmlDocument",_.InvalidXmlNodeValue="InvalidXmlNodeValue",_.Md5Mismatch="Md5Mismatch",_.MetadataTooLarge="MetadataTooLarge",_.MissingContentLengthHeader="MissingContentLengthHeader",_.MissingRequiredQueryParameter="MissingRequiredQueryParameter",_.MissingRequiredHeader="MissingRequiredHeader",_.MissingRequiredXmlNode="MissingRequiredXmlNode",_.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",_.OperationTimedOut="OperationTimedOut",_.OutOfRangeInput="OutOfRangeInput",_.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",_.RequestBodyTooLarge="RequestBodyTooLarge",_.ResourceTypeMismatch="ResourceTypeMismatch",_.RequestUrlFailedToParse="RequestUrlFailedToParse",_.ResourceAlreadyExists="ResourceAlreadyExists",_.ResourceNotFound="ResourceNotFound",_.ServerBusy="ServerBusy",_.UnsupportedHeader="UnsupportedHeader",_.UnsupportedXmlNode="UnsupportedXmlNode",_.UnsupportedQueryParameter="UnsupportedQueryParameter",_.UnsupportedHttpVerb="UnsupportedHttpVerb",_.AppendPositionConditionNotMet="AppendPositionConditionNotMet",_.BlobAlreadyExists="BlobAlreadyExists",_.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",_.BlobNotFound="BlobNotFound",_.BlobOverwritten="BlobOverwritten",_.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",_.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",_.BlockCountExceedsLimit="BlockCountExceedsLimit",_.BlockListTooLong="BlockListTooLong",_.CannotChangeToLowerTier="CannotChangeToLowerTier",_.CannotVerifyCopySource="CannotVerifyCopySource",_.ContainerAlreadyExists="ContainerAlreadyExists",_.ContainerBeingDeleted="ContainerBeingDeleted",_.ContainerDisabled="ContainerDisabled",_.ContainerNotFound="ContainerNotFound",_.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",_.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",_.CopyIdMismatch="CopyIdMismatch",_.FeatureVersionMismatch="FeatureVersionMismatch",_.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",_.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",_.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",_.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",_.InvalidBlobOrBlock="InvalidBlobOrBlock",_.InvalidBlobTier="InvalidBlobTier",_.InvalidBlobType="InvalidBlobType",_.InvalidBlockId="InvalidBlockId",_.InvalidBlockList="InvalidBlockList",_.InvalidOperation="InvalidOperation",_.InvalidPageRange="InvalidPageRange",_.InvalidSourceBlobType="InvalidSourceBlobType",_.InvalidSourceBlobUrl="InvalidSourceBlobUrl",_.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",_.LeaseAlreadyPresent="LeaseAlreadyPresent",_.LeaseAlreadyBroken="LeaseAlreadyBroken",_.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",_.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",_.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",_.LeaseIdMissing="LeaseIdMissing",_.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",_.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",_.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",_.LeaseLost="LeaseLost",_.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",_.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",_.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",_.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",_.NoAuthenticationInformation="NoAuthenticationInformation",_.NoPendingCopyOperation="NoPendingCopyOperation",_.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",_.PendingCopyOperation="PendingCopyOperation",_.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",_.PreviousSnapshotNotFound="PreviousSnapshotNotFound",_.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",_.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",_.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",_.SnapshotCountExceeded="SnapshotCountExceeded",_.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",_.SnapshotsPresent="SnapshotsPresent",_.SourceConditionNotMet="SourceConditionNotMet",_.SystemInUse="SystemInUse",_.TargetConditionNotMet="TargetConditionNotMet",_.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",_.BlobBeingRehydrated="BlobBeingRehydrated",_.BlobArchived="BlobArchived",_.BlobNotArchived="BlobNotArchived",_.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",_.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",_.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",_.AuthorizationServiceMismatch="AuthorizationServiceMismatch",_.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",_.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let Ij={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},IK={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},IX={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},IZ={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},I$={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},I0={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},I1={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},I2={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},I3={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},I5={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},I4={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},I8={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},I9={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},I6={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},I7={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Ee={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},Et={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},Er={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},Ei={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},Es={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},En={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Eo={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Ea={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},EA={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},El={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},Ec={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},Ed={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},Eg={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},Eu={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},Eh={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},Em={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},Ep={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},EC={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},EI={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},EE={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},Ef={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},EB={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},Ey={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},EQ={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},EN={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},Eb={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},ES={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ew={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ED={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ex={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ER={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EM={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ek={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EU={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EF={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ev={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ET={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EL={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EH={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EO={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EP={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EY={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EG={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ez={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Eq={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EV={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EJ={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E_={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EW={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ej={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EK={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EX={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},EZ={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E$={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E0={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E1={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E2={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E3={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E5={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},E4={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E8={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},E9={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},E6={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},E7={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fe={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},ft={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fr={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fi={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fs={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fn={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fo={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fa={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fA={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fl={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fc={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fd={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fg={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},fu={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fh={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},fm={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fp={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fC={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fI={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fE={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ff={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fB={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fy={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fQ={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fN={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fb={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fS={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},fw={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fD={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fx={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fR={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},fM={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fk={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fU={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fF={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fv={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fT={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fL={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fH={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fO={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fP={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fY={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fG={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},fz={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fq={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fV={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fJ={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f_={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},fW={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fj={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},fK={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fX={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},fZ={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f$={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f0={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},f1={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f2={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},f3={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f5={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f4={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f8={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f9={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f6={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},f7={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Be={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bt={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Br={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bi={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bs={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bn={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Bo={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ba={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BA={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bl={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bc={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bd={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bg={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bu={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bh={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bm={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bp={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BC={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BI={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BE={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bf={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BB={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},By={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},BQ={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BN={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bb={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BS={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bw={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},BD={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bx={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BR={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BM={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Bk={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BU={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BF={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Bv={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},BT={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},BL={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},BH={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},BO={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},BP={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BY={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},BG={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},Bz={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},Bq={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},BV={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},BJ={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},B_={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},BW={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},Bj={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},BK={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},BX={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},BZ={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},B$={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},B0={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},B1={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},B2={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},B3={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},B5={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},B4={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},B8={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},B9={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},B6={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},B7={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},ye={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yt={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yr={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yi={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ys={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},yn={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},yo={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},ya={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},yA={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yl={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yc={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},yd={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},yg={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},yu={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},yh={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},ym={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},yp={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},yC={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},yI={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},yE={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},yf={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},yB={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},yy={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},yQ={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},yN={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},yb={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},yS={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},yw={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},yD={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},yx={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},yR={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},yM={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yk={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},yU={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},yF={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},yv={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},yT={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},yL={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},yH={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},yO={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},yP={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},yY={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},yG={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},yz={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},yq={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},yV={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},yJ={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},y_={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},yW={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},yj={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},yK={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},yX={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},yZ={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},y$={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},y0={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},y1={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},y2={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},y3={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},y5={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},y4={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},y8={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},y9={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},y6={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},y7={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},Qe={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},Qt={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},Qr={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},Qi={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},Qs={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},Qn={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},Qo={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},Qa={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},QA={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Ql={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Qc={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},Qd={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Qg={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},Qu={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Qh={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Qm={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},Qp={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class QC{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},QE)}getProperties(e){return this.client.sendOperationRequest({options:e},Qf)}getStatistics(e){return this.client.sendOperationRequest({options:e},QB)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},Qy)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},QQ)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},QN)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},Qb)}filterBlobs(e){return this.client.sendOperationRequest({options:e},QS)}}let QI=mp(eB,!0),QE={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:ES},default:{bodyMapper:I1,headersMapper:Ew}},requestBody:{parameterPath:"blobServiceProperties",mapper:Ij},queryParameters:[BO,BP,BY],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QI},Qf={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:Ij,headersMapper:ED},default:{bodyMapper:I1,headersMapper:Ex}},queryParameters:[BO,BP,BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI},QB={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:I2,headersMapper:ER},default:{bodyMapper:I1,headersMapper:EM}},queryParameters:[BO,BY,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI},Qy={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:I5,headersMapper:Ek},default:{bodyMapper:I1,headersMapper:EU}},queryParameters:[BY,BV,BJ,B_,BW,Bj],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI},QQ={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:I6,headersMapper:EF},default:{bodyMapper:I1,headersMapper:Ev}},requestBody:{parameterPath:"keyInfo",mapper:I9},queryParameters:[BO,BY,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QI},QN={path:"/",httpMethod:"GET",responses:{200:{headersMapper:ET},default:{bodyMapper:I1,headersMapper:EL}},queryParameters:[BP,BY,BK],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI},Qb={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:EH},default:{bodyMapper:I1,headersMapper:EO}},requestBody:BX,queryParameters:[BY,BZ],urlParameters:[BH],headerParameters:[BL,BG,Bz,B$,B0],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QI},QS={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:I7,headersMapper:EP},default:{bodyMapper:I1,headersMapper:EY}},queryParameters:[BY,B_,BW,B1,B2],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QI};class Qw{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},Qx)}getProperties(e){return this.client.sendOperationRequest({options:e},QR)}delete(e){return this.client.sendOperationRequest({options:e},QM)}setMetadata(e){return this.client.sendOperationRequest({options:e},Qk)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},QU)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},QF)}restore(e){return this.client.sendOperationRequest({options:e},Qv)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},QT)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},QL)}filterBlobs(e){return this.client.sendOperationRequest({options:e},QH)}acquireLease(e){return this.client.sendOperationRequest({options:e},QO)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},QP)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},QY)}breakLease(e){return this.client.sendOperationRequest({options:e},QG)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},Qz)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},Qq)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},QV)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},QJ)}}let QD=mp(eB,!0),Qx={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:EG},default:{bodyMapper:I1,headersMapper:Ez}},queryParameters:[BY,B3],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B4,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:QD},QR={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Eq},default:{bodyMapper:I1,headersMapper:EV}},queryParameters:[BY,B3],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8],isXML:!0,serializer:QD},QM={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:EJ},default:{bodyMapper:I1,headersMapper:E_}},queryParameters:[BY,B3],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6],isXML:!0,serializer:QD},Qk={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:EW},default:{bodyMapper:I1,headersMapper:Ej}},queryParameters:[BY,B3,B7],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9],isXML:!0,serializer:QD},QU={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:EK},default:{bodyMapper:I1,headersMapper:EX}},queryParameters:[BY,B3,ye],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8],isXML:!0,serializer:QD},QF={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:EZ},default:{bodyMapper:I1,headersMapper:E$}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[BY,B3,ye],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz,B4,B8,B9,B6],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QD},Qv={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:E0},default:{bodyMapper:I1,headersMapper:E1}},queryParameters:[BY,B3,yt],urlParameters:[BH],headerParameters:[BG,Bz,Bq,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:QD},QT={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:E2},default:{bodyMapper:I1,headersMapper:E3}},queryParameters:[BY,B3,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:QD},QL={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:E5},default:{bodyMapper:I1,headersMapper:E4}},requestBody:BX,queryParameters:[BY,BZ,B3],urlParameters:[BH],headerParameters:[BL,BG,Bz,B$,B0],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QD},QH={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:I7,headersMapper:E8},default:{bodyMapper:I1,headersMapper:E9}},queryParameters:[BY,B_,BW,B1,B2,B3],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QD},QO={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:E6},default:{bodyMapper:I1,headersMapper:E7}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yi,ys,yn],isXML:!0,serializer:QD},QP={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fe},default:{bodyMapper:I1,headersMapper:ft}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yo,ya],isXML:!0,serializer:QD},QY={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fr},default:{bodyMapper:I1,headersMapper:fi}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,ya,yA],isXML:!0,serializer:QD},QG={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:fs},default:{bodyMapper:I1,headersMapper:fn}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yl,yc],isXML:!0,serializer:QD},Qz={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:fo},default:{bodyMapper:I1,headersMapper:fa}},queryParameters:[BY,B3,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,ya,yd,yg],isXML:!0,serializer:QD},Qq={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:En,headersMapper:fA},default:{bodyMapper:I1,headersMapper:fl}},queryParameters:[BY,BV,BJ,B_,BW,B3,yu,yh],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QD},QV={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:Ec,headersMapper:fc},default:{bodyMapper:I1,headersMapper:fd}},queryParameters:[BY,BV,BJ,B_,BW,B3,yu,yh,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QD},QJ={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:fg},default:{bodyMapper:I1,headersMapper:fu}},queryParameters:[BP,BY,BK],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QD};class Q_{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},Qj)}getProperties(e){return this.client.sendOperationRequest({options:e},QK)}delete(e){return this.client.sendOperationRequest({options:e},QX)}undelete(e){return this.client.sendOperationRequest({options:e},QZ)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},Q$)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},Q0)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Q1)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},Q2)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},Q3)}setMetadata(e){return this.client.sendOperationRequest({options:e},Q5)}acquireLease(e){return this.client.sendOperationRequest({options:e},Q4)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Q8)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},Q9)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},Q6)}breakLease(e){return this.client.sendOperationRequest({options:e},Q7)}createSnapshot(e){return this.client.sendOperationRequest({options:e},Ne)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Nt)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},Nr)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},Ni)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},Ns)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},Nn)}query(e){return this.client.sendOperationRequest({options:e},No)}getTags(e){return this.client.sendOperationRequest({options:e},Na)}setTags(e){return this.client.sendOperationRequest({options:e},NA)}}let QW=mp(eB,!0),Qj={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:fh},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:fh},default:{bodyMapper:I1,headersMapper:fm}},queryParameters:[BY,ym,yp],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yC,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},yI,yE,yf,yB,yy,yQ,yN],isXML:!0,serializer:QW},QK={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:fp},default:{bodyMapper:I1,headersMapper:fC}},queryParameters:[BY,ym,yp],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yE,yf,yB,yy,yQ,yN],isXML:!0,serializer:QW},QX={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:fI},default:{bodyMapper:I1,headersMapper:fE}},queryParameters:[BY,ym,yp,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yy,yQ,yN,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:QW},QZ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:ff},default:{bodyMapper:I1,headersMapper:fB}},queryParameters:[BY,yt],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QW},Q$={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fy},default:{bodyMapper:I1,headersMapper:fQ}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:QW},Q0={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fN},default:{bodyMapper:I1,headersMapper:fb}},queryParameters:[BP,BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yy,yQ,yN,yb,yS,yw,yD,yx,yR],isXML:!0,serializer:QW},Q1={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fS},default:{bodyMapper:I1,headersMapper:fw}},queryParameters:[BY,ym,yp,yM],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B6,yk,yU],isXML:!0,serializer:QW},Q2={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:fD},default:{bodyMapper:I1,headersMapper:fx}},queryParameters:[BY,ym,yp,yM],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QW},Q3={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fR},default:{bodyMapper:I1,headersMapper:fM}},queryParameters:[BY,ym,yp,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:QW},Q5={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fk},default:{bodyMapper:I1,headersMapper:fU}},queryParameters:[BY,B7],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF],isXML:!0,serializer:QW},Q4={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fF},default:{bodyMapper:I1,headersMapper:fv}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yi,ys,yn,yy,yQ,yN],isXML:!0,serializer:QW},Q8={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fT},default:{bodyMapper:I1,headersMapper:fL}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yo,ya,yy,yQ,yN],isXML:!0,serializer:QW},Q9={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fH},default:{bodyMapper:I1,headersMapper:fO}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,ya,yA,yy,yQ,yN],isXML:!0,serializer:QW},Q6={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fP},default:{bodyMapper:I1,headersMapper:fY}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,ya,yd,yg,yy,yQ,yN],isXML:!0,serializer:QW},Q7={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:fG},default:{bodyMapper:I1,headersMapper:fz}},queryParameters:[BY,yr],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yl,yc,yy,yQ,yN],isXML:!0,serializer:QW},Ne={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:fq},default:{bodyMapper:I1,headersMapper:fV}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF],isXML:!0,serializer:QW},Nt={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:fJ},default:{bodyMapper:I1,headersMapper:f_}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9,B6,yy,yQ,yN,yk,yU,yv,yT,yL,yH,yO,yP,yY,yG,yz,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},yq],isXML:!0,serializer:QW},Nr={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:fW},default:{bodyMapper:I1,headersMapper:fj}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B5,B8,B9,B6,yy,yQ,yN,yk,yU,yF,yv,yL,yH,yO,yP,yG,yz,yq,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},yV,yJ,y_,yW],isXML:!0,serializer:QW},Ni={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:fK},default:{bodyMapper:I1,headersMapper:fX}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:QW},Ns={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:fZ},202:{headersMapper:fZ},default:{bodyMapper:I1,headersMapper:f$}},queryParameters:[BY,ym,yp,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,yN,yT,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:QW},Nn={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:f0},default:{bodyMapper:I1,headersMapper:f1}},queryParameters:[BP,BY,BK],urlParameters:[BH],headerParameters:[BG,Bz,Bq],isXML:!0,serializer:QW},No={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:f2},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:f2},default:{bodyMapper:I1,headersMapper:f3}},requestBody:{parameterPath:["options","queryRequest"],mapper:EE},queryParameters:[BY,ym,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz,B8,B9,B6,yE,yf,yB,yy,yQ,yN],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QW},Na={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Et,headersMapper:f5},default:{bodyMapper:I1,headersMapper:f4}},queryParameters:[BY,ym,yp,yj],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,yN,yK,yX,yZ,y$],isXML:!0,serializer:QW},NA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:f8},default:{bodyMapper:I1,headersMapper:f9}},requestBody:{parameterPath:["options","tags"],mapper:Et},queryParameters:[BY,yp,yj],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz,B8,yN,yK,yX,yZ,y$,y0,y1],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:QW};class Nl{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},Nd)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},Ng)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Nu)}uploadPagesFromURL(e,t,r,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:s},Nh)}getPageRanges(e){return this.client.sendOperationRequest({options:e},Nm)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},Np)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},NC)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},NI)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},NE)}}let Nc=mp(eB,!0),Nd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:f6},default:{bodyMapper:I1,headersMapper:f7}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yk,yU,yF,yv,yz,yq,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},y2,y3],isXML:!0,serializer:Nc},Ng={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Be},default:{bodyMapper:I1,headersMapper:Bt}},requestBody:y4,queryParameters:[BY,y9],urlParameters:[BH],headerParameters:[BG,Bz,B$,B8,B9,B6,yC,yI,yE,yf,yB,yy,yQ,yN,yF,y0,y1,y5,y8,y6,y7,Qe,Qt,Qr],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Nc},Nu={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Br},default:{bodyMapper:I1,headersMapper:Bi}},queryParameters:[BY,y9],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B8,B9,B6,yC,yE,yf,yB,yy,yQ,yN,yF,y7,Qe,Qt,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:Nc},Nh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bs},default:{bodyMapper:I1,headersMapper:Bn}},queryParameters:[BY,y9],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF,yL,yH,yO,yP,yV,yJ,yW,y6,y7,Qe,Qt,Qi,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},Qs,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},Qn,Qo,Qa],isXML:!0,serializer:Nc},Nm={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ep,headersMapper:Bo},default:{bodyMapper:I1,headersMapper:Ba}},queryParameters:[BY,B_,BW,ym,QA],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yC,yy,yQ,yN],isXML:!0,serializer:Nc},Np={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Ep,headersMapper:BA},default:{bodyMapper:I1,headersMapper:Bl}},queryParameters:[BY,B_,BW,ym,QA,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yC,yy,yQ,yN,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:Nc},NC={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bc},default:{bodyMapper:I1,headersMapper:Bd}},queryParameters:[BP,BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF,y2],isXML:!0,serializer:Nc},NI={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Bg},default:{bodyMapper:I1,headersMapper:Bu}},queryParameters:[BP,BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yy,yQ,yN,y3,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:Nc},NE={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Bh},default:{bodyMapper:I1,headersMapper:Bm}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B9,B6,yy,yQ,yN,yG],isXML:!0,serializer:Nc};class Nf{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},Ny)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},NQ)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},NN)}seal(e){return this.client.sendOperationRequest({options:e},Nb)}}let NB=mp(eB,!0),Ny={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bp},default:{bodyMapper:I1,headersMapper:BC}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yk,yU,yF,yz,yq,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:NB},NQ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BI},default:{bodyMapper:I1,headersMapper:BE}},requestBody:y4,queryParameters:[BY,Ql],urlParameters:[BH],headerParameters:[BG,Bz,B$,B8,B9,B6,yI,yE,yf,yB,yy,yQ,yN,yF,y0,y1,y5,y8,Qr,Qc,Qd],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:NB},NN={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bf},default:{bodyMapper:I1,headersMapper:BB}},queryParameters:[BY,Ql],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yF,yL,yH,yO,yP,yV,yJ,yW,y0,Qi,Qs,Qn,Qo,Qa,Qc,Qd,Qg],isXML:!0,serializer:NB},Nb={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:By},default:{bodyMapper:I1,headersMapper:BQ}},queryParameters:[BY,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,B9,B6,yy,yQ,Qd],isXML:!0,serializer:NB};class NS{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},ND)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},Nx)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},NR)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},NM)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},Nk)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},NU)}}let Nw=mp(eB,!0),ND={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BN},default:{bodyMapper:I1,headersMapper:Bb}},requestBody:y4,queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,B$,B5,B8,B9,B6,yI,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yk,yU,yF,yv,yz,yq,y0,y1,y5,y8,Qr,Qu],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Nw},Nx={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BS},default:{bodyMapper:I1,headersMapper:Bw}},queryParameters:[BY],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yF,yv,yL,yH,yO,yP,yY,yG,yz,yV,yJ,y_,yW,y0,Qn,Qo,Qa,Qu,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:Nw},NR={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BD},default:{bodyMapper:I1,headersMapper:Bx}},requestBody:y4,queryParameters:[BY,Qh,Qm],urlParameters:[BH],headerParameters:[BG,Bz,B$,B8,yI,yE,yf,yB,yF,y0,y1,y5,y8,Qr],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:Nw},NM={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:BR},default:{bodyMapper:I1,headersMapper:BM}},queryParameters:[BY,Qh,Qm],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B$,B8,yE,yf,yB,yF,yL,yH,yO,yP,yV,yJ,yW,Qi,Qs,Qn,Qo,Qa,Qg],isXML:!0,serializer:Nw},Nk={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Bk},default:{bodyMapper:I1,headersMapper:BU}},requestBody:{parameterPath:"blocks",mapper:Eu},queryParameters:[BY,Qp],urlParameters:[BH],headerParameters:[BT,BL,BG,Bz,B5,B8,B9,B6,yE,yf,yB,yy,yQ,yN,yb,yS,yw,yD,yx,yR,yk,yU,yF,yv,yz,yq,y0,y1],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Nw},NU={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:Eh,headersMapper:BF},default:{bodyMapper:I1,headersMapper:Bv}},queryParameters:[BY,ym,Qp,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[BH],headerParameters:[BG,Bz,Bq,B8,yN],isXML:!0,serializer:Nw};class NF extends m0{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new QC(this),this.container=new Qw(this),this.blob=new Q_(this),this.pageBlob=new Nl(this),this.appendBlob=new Nf(this),this.blockBlob=new NS(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class Nv extends NF{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let NT=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function NL(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function NH(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=NL(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",s="",n=Buffer.from("accountKey","base64"),o="";if(s=NL(e,"AccountName"),n=Buffer.from(NL(e,"AccountKey"),"base64"),!r){let t=(i=NL(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(o=NL(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${s}.blob.${o}`}if(s){if(0===n.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:s,accountKey:n,proxyUri:t}}{let t=NL(e,"SharedAccessSignature"),i=NL(e,"AccountName");if(i||(i=NV(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function NO(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function NP(e,t,r){let i=new URL(e),s=encodeURIComponent(t),n=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==s&&a.push(e)}return n&&a.push(`${s}=${n}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function NY(e,t){return new URL(e).searchParams.get(t)??void 0}function NG(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function Nz(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function Nq(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function NV(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<NT.length;++e){let r=NT[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=NJ(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function NJ(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&IL.includes(e.port)}function N_(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function NW(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function Nj(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let s={ruleId:i[1],replicationStatus:e[r]},n=t.findIndex(e=>e.policyId===i[0]);n>-1?t[n].rules.push(s):t.push({policyId:i[0],rules:[s]})}return t}function NK(e){return e?e.scheme+" "+e.value:void 0}function*NX(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,s=0;for(;i<t.length&&s<r.length;)t[i].start<r[s].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[s].start,end:r[s].end,isClear:!0},++s);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;s<r.length;++s)yield{start:r[s].start,end:r[s].end,isClear:!0}}function NZ(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function N$(e,t,r,i,s){let n,o=i.contentChecksumAlgorithm??s;return void 0===o&&(o="Customized"),"Auto"===o&&(o="StorageCrc64"),"Customized"===o?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===o&&(await Cq.init(),n=await CJ(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===o?n.body:e,contentLength:"StorageCrc64"===o?n.encodedContentLength:t,contentChecksumAlgorithm:o}}class N0{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=NV(e),this.pipeline=t,this.storageClientContext=new Nv(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>m$(await t.sendRequest(m_(e,{createProxy:!0})))}:(A||(A=h7()),A));let s=e._corePipeline;if(!s){let t=`azsdk-js-azure-storage-blob/${IM}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(s=mT({...r,loggingOptions:{additionalAllowedHeaderNames:Iv,additionalAllowedQueryParameters:IT,logger:CF.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:Ck,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:CU,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),s.removePolicy({name:h_}),s.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(C7,Buffer.byteLength(e.body)),t(e))}),s.addPolicy(function(e={}){let t=e.retryPolicyType??Iw.retryPolicyType,r=e.maxTries??Iw.maxTries,i=e.retryDelayInMs??Iw.retryDelayInMs,s=e.maxRetryDelayInMs??Iw.maxRetryDelayInMs,n=e.secondaryHost??Iw.secondaryHost,o=e.tryTimeoutInMs??Iw.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,a){let A,l;o&&(e.url=Id(e.url,C4,String(Math.floor(o/1e3))));let c=e.url,d=n?Ig(e.url,n):void 0,g=!1,u=1,h=!0;for(;h;){let n=g||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||u%2==1;e.url=n?c:d,A=void 0,l=void 0;try{Iy.info(`RetryPolicy: =====> Try=${u} ${n?"Primary":"Secondary"}`),A=await a(e),g=g||!n&&404===A.status}catch(e){if(hA(e))Iy.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw Iy.error(`RetryPolicy: Caught error, message: ${h1(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:s}){if(t>=r)return Iy.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(s){for(let e of ID)if(s.name.toUpperCase().includes(e)||s.message.toUpperCase().includes(e)||s.code&&s.code.toString().toUpperCase()===e)return Iy.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag'))return Iy.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||s){let t=i?.status??s?.statusCode??0;if(!e&&404===t)return Iy.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return Iy.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(Ic);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:n,attempt:u,response:A,error:l}))&&await Im(function(e,r){let n=0;if(e)switch(t){case eo.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*i,s);break;case eo.FIXED:n=i}else n=1e3*Math.random();return Iy.info(`RetryPolicy: Delay for ${n}ms`),n}(n,u),e.abortSignal,Ix),u++}if(A)return A;throw l??new ha("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),s.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),s.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let n=function(e){let t=[Iz,IG,Iq,IV,IJ,I_,IW];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>mZ(await r(mJ(e)),{createProxy:!0})};for(let t of e)i=t.create(i,m1);let s=m_(t,{createProxy:!0});return m$(await i.sendRequest(s))}}),afterRetry:t}}}}(e);n&&s.addPolicy(n.wrappedPolicies,n.afterRetry?{afterPhase:"Retry"}:void 0);let o=IY(e);mA(o)?s.addPolicy(mo({credential:o,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:mG}}),{phase:"Sign"}):o instanceof IB&&s.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==C7||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let s,n;return r.headers.set(Il,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(C7,Buffer.byteLength(r.body)),s=[r.method.toUpperCase(),t(r,C6),t(r,C9),t(r,C7),t(r,Ie),t(r,It),t(r,Ir),t(r,Is),t(r,Ii),t(r,In),t(r,Io),t(r,IA)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(Ia)&&t.push({name:r,value:i});t.sort((e,t)=>IE(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} -`}),r}(r)+function(t){let r=Iu(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let s=Ih(t.url),n={};if(s){let e=[];for(let t in s)if(Object.prototype.hasOwnProperty.call(s,t)){let r=t.toLowerCase();n[r]=s[t],e.push(r)}for(let t of(e.sort(),e))i+=` -${t}:${decodeURIComponent(n[t])}`}return i}(r),n=(0,uw.createHmac)("sha256",e.accountKey).update(s,"utf8").digest("base64"),r.headers.set(C8,`SharedKey ${e.accountName}:${n}`),i(r)}}}({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"}),e._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:s}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=IY(t),this.storageClientContext.requestContentType=void 0}}let N1=h9({packageName:"@azure/storage-blob",packageVersion:IM,namespace:"Microsoft.Storage"});class N2{static parse(e){let t=new N2;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new N2;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class N3{static parse(e){let t=new N3;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new N3;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function N5(e){return e.end?`${e.start}-${e.end}`:e.start}(W=ed||(ed={})).Https="https",W.HttpsAndHttp="https,http";class N4{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,s,n,o,a,A,l,c,d,g,u,h,m,p,C,I,E,f,B,y,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=a,this.permissions=r,this.protocol=n,this.startsOn=o,this.ipRangeInner=A,this.delegatedUserObjectId=f,this.encryptionScope=E,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=g,this.contentEncoding=u,this.contentLanguage=h,this.contentType=m,this.requestHeaderKeys=B,this.requestQueryParameterKeys=y,this.directoryDepth=Q,p&&(this.signedOid=p.signedObjectId,this.signedTenantId=p.signedTenantId,this.signedStartsOn=p.signedStartsOn,this.signedExpiresOn=p.signedExpiresOn,this.signedService=p.signedService,this.signedVersion=p.signedVersion,this.signedDelegatedUserTid=p.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=C,this.correlationId=I))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?Nz(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?Nz(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?N5(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?Nz(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?Nz(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function N8(e,t,r){return N9(e,t,r).sasQueryParameters}function N9(e,t,r){let i,s=e.version?e.version:Ik,n=t instanceof IB?t:void 0;if(void 0===n&&void 0!==r&&(i=new IR(r,t)),void 0===n&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")if(void 0!==n)return function(e,t){let r,i;if(!(e=be(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,n);else if(s>="2026-04-06")return function(e,t){let r,i;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,N6(e.requestHeaders),N6(e.requestQueryParameters),i),stringToSign:o}}(e,i);else if(s>="2025-07-05")return function(e,t){let r,i;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r,i;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,i);if(s>="2018-11-09")if(void 0!==n)if(s>="2020-02-10")return function(e,t){let r,i;if(!(e=be(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,n);else return function(e,t){let r;if(!(e=be(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",s=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId)),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let n=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(n);return{sasQueryParameters:new N4(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:n}}(e,n);else if(s>="2020-02-10")return function(e,t){let r,i;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=bt(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new N4(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r;if(!(e=be(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId)),e.permissions&&(r=e.blobName?N2.parse(e.permissions.toString()).toString():N3.parse(e.permissions.toString()).toString());let n=[r||"",e.startsOn?Nz(e.startsOn,!1):"",e.expiresOn?Nz(e.expiresOn,!1):"",N7(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?Nz(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?Nz(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?N5(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(n);return{sasQueryParameters:new N4(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:n}}(e,i);if(s>="2015-04-05")if(void 0!==n){let t;var o=e,a=n;if(!(o=be(o)).identifier&&!(o.permissions&&o.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";o.blobName&&(r="b"),o.permissions&&(t=o.blobName?N2.parse(o.permissions.toString()).toString():N3.parse(o.permissions.toString()).toString());let i=[t||"",o.startsOn?Nz(o.startsOn,!1):"",o.expiresOn?Nz(o.expiresOn,!1):"",N7(a.accountName,o.containerName,o.blobName),o.identifier,o.ipRange?N5(o.ipRange):"",o.protocol?o.protocol:"",o.version,o.cacheControl?o.cacheControl:"",o.contentDisposition?o.contentDisposition:"",o.contentEncoding?o.contentEncoding:"",o.contentLanguage?o.contentLanguage:"",o.contentType?o.contentType:""].join("\n"),s=a.computeHMACSHA256(i);return{sasQueryParameters:new N4(o.version,s,t,void 0,void 0,o.protocol,o.startsOn,o.expiresOn,o.ipRange,o.identifier,r,o.cacheControl,o.contentDisposition,o.contentEncoding,o.contentLanguage,o.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function N6(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function N7(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function be(e){let t=e.version?e.version:Ik;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function bt(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class br{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=u4()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-acquireLease",t,async r=>NZ(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=NZ(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-releaseLease",e,async t=>NZ(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return N1.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return NZ(await this._containerOrBlobOperation.breakLease(i))})}}class bi extends ul.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new h$("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class bs{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,s={}){this.originalResponse=e;let n=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new CX(this.originalResponse.readableStreamBody,s);this.blobDownloadStream=new bi(n,t,r,i,s)}}let bn=new Uint8Array([79,98,106,1]);class bo{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await bo.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,s,n=0,o=0;do i=128&(r=await bo.readByte(e,t)),n|=(127&r)<<o,o+=7;while(i&&o<28);if(i){s=0x10000000;do n+=(127&(r=await bo.readByte(e,t)))*s,s*=128;while(128&r);let i=(n%2?-(n+1):n)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return n>>1^-(1&n)}static async readLong(e,t={}){return bo.readZigZagLong(e,t)}static async readInt(e,t={}){return bo.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await bo.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await bo.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await bo.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await bo.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await bo.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await bo.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await bo.readArray(e,(e,r={})=>bo.readMapPair(e,t,r),r),s={};for(let e of i)s[e.key]=e.value;return s}static async readArray(e,t,r={}){let i=[];for(let s=await bo.readLong(e,r);0!==s;s=await bo.readLong(e,r))for(s<0&&(await bo.readLong(e,r),s=-s);s--;){let s=await t(e,r);i.push(s)}return i}}(j=eg||(eg={})).RECORD="record",j.ENUM="enum",j.ARRAY="array",j.MAP="map",j.UNION="union",j.FIXED="fixed",(K=eu||(eu={})).NULL="null",K.BOOLEAN="boolean",K.INT="int",K.LONG="long",K.FLOAT="float",K.DOUBLE="double",K.BYTES="bytes",K.STRING="string";class ba{static fromSchema(e){return"string"==typeof e?ba.fromStringSchema(e):Array.isArray(e)?ba.fromArraySchema(e):ba.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case eu.NULL:case eu.BOOLEAN:case eu.INT:case eu.LONG:case eu.FLOAT:case eu.DOUBLE:case eu.BYTES:case eu.STRING:return new bA(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new bc(e.map(ba.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return ba.fromStringSchema(t)}catch{}switch(t){case eg.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=ba.fromSchema(t.type);return new bg(r,e.name);case eg.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new bl(e.symbols);case eg.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new bd(ba.fromSchema(e.values));case eg.ARRAY:case eg.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class bA extends ba{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case eu.NULL:return bo.readNull();case eu.BOOLEAN:return bo.readBoolean(e,t);case eu.INT:return bo.readInt(e,t);case eu.LONG:return bo.readLong(e,t);case eu.FLOAT:return bo.readFloat(e,t);case eu.DOUBLE:return bo.readDouble(e,t);case eu.BYTES:return bo.readBytes(e,t);case eu.STRING:return bo.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class bl extends ba{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await bo.readInt(e,t);return this._symbols[r]}}class bc extends ba{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await bo.readInt(e,t);return this._types[r].read(e,t)}}class bd extends ba{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return bo.readMap(e,r,t)}}class bg extends ba{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function bu(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class bh{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!bu(await bo.readFixedBytes(this._headerStream,bn.length,{abortSignal:e.abortSignal}),bn))throw Error("Stream is not an Avro file.");this._metadata=await bo.readMap(this._headerStream,bo.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await bo.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=ba.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await bo.readLong(this._dataStream,{abortSignal:e.abortSignal}),await bo.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await bo.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!bu(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await bo.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await bo.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class bm{}let bp=i("buffer"),bC=new h$("Reading from the avro stream was aborted.");class bI extends bm{_position;_readable;toUint8Array(e){return"string"==typeof e?bp.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw bC;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let s=()=>{this._readable.removeListener("readable",n),this._readable.removeListener("error",o),this._readable.removeListener("end",o),this._readable.removeListener("close",o),t.abortSignal&&t.abortSignal.removeEventListener("abort",a)},n=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,s(),r(this.toUint8Array(t)))},o=()=>{s(),i()},a=()=>{s(),i(bC)};this._readable.on("readable",n),this._readable.once("error",o),this._readable.once("end",o),this._readable.once("close",o),t.abortSignal&&t.abortSignal.addEventListener("abort",a)})}}class bE extends ul.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new bh(new bI(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let s=t.position;if("number"!=typeof s)throw Error("Invalid position in avro error record.");this.onError({position:s,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class bf{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new bE(this.originalResponse.readableStreamBody,t)}}function bB(e){if(void 0!==e)return e}function by(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function bQ(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(X=eh||(eh={})).Hot="Hot",X.Cool="Cool",X.Cold="Cold",X.Archive="Archive",(Z=em||(em={})).P4="P4",Z.P6="P6",Z.P10="P10",Z.P15="P15",Z.P20="P20",Z.P30="P30",Z.P40="P40",Z.P50="P50",Z.P60="P60",Z.P70="P70",Z.P80="P80",($=ep||(ep={})).StorageOAuthScopes="https://storage.azure.com/.default",$.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",hV("core-lro");class bN extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,bN.prototype)}}class bb extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,bb.prototype)}}class bS{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new bb("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new bN("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class bw extends bS{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:s=15e3,onProgress:n,resumeFrom:o,startCopyFromURLOptions:a}=e;o&&(t=JSON.parse(o).state),super(bM({...t,blobClient:r,copySource:i,startCopyFromURLOptions:a})),"function"==typeof n&&this.onProgress(n),this.intervalInMs=s}delay(){return h0(this.intervalInMs)}}let bD=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),bM(t)},bx=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:s}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:s}=r,n=t.copyProgress;s&&(t.copyProgress=s),"pending"===i&&s!==n&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,s);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return bM(t)},bR=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function bM(e){return{state:{...e},cancel:bD,toString:bR,update:bx}}function bk(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(ee=eC||(eC={}))[ee.Good=0]="Good",ee[ee.Error=1]="Error";class bU{concurrency;actives=0;completed=0;offset=0;operations=[];state=eC.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new Cv.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=eC.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==eC.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}let bF=i("node:fs");async function bv(e,t,r,i,s){let n=0,o=i-r;return new Promise((i,a)=>{let A=setTimeout(()=>a(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let a;if(n>=o){clearTimeout(A),i();return}for(;null!==(a=e.read());){"string"==typeof a&&(a=Buffer.from(a,s));let e=n+a.length>o?o-n:a.length;if(t.fill(a.slice(0,e),r+n,r+n+e),(n+=e)>=o){clearTimeout(A),i();return}}}),e.on("end",()=>{clearTimeout(A),n<o&&a(Error(`Stream drains before getting enough data needed. Data read: ${n}, data need: ${o}`)),i()}),e.on("error",e=>{clearTimeout(A),a(e)})})}async function bT(e,t){return new Promise((r,i)=>{let s=bF.createWriteStream(t);e.on("error",e=>{i(e)}),s.on("error",e=>{i(e)}),s.on("close",r),e.pipe(s)})}let bL=uT.promisify(bF.stat),bH=bF.createReadStream;class bO extends N0{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let s,n;if(i=i||{},IH(t))n=e,s=t,i=r;else if(t instanceof IB||t instanceof C5||mA(t))n=e,s=IP(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=NH(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new IB(o.accountName,o.accountKey);n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=h2(o.proxyUri)),s=IP(e,i)}else if("SASConnString"===o.kind)n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=IP(new C5,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,r&&"string"!=typeof r&&(i=r),s=IP(new C5,i);super(n,s),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=NY(this.url,IU),this._versionId=NY(this.url,IF),this.blobClientConfig=i}withSnapshot(e){return new bO(NP(this.url,IU,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new bO(NP(this.url,IF,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new bP(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new bY(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new bG(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},by(r.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-download",r,async i=>{let s=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===s?s="Customized":"Auto"===s&&(s="StorageCrc64"),"StorageCrc64"===s&&await Cq.init();let n=NZ(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?bk({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===s?"XSM/1.0; properties=crc64":void 0})),o={...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:Nj(n.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===n.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===s&&void 0===n.structuredContentLength)throw RangeError("Unexpected structured content length");if(!n.etag)throw RangeError("File download response doesn't contain valid etag header");let a="StorageCrc64"===s?n.structuredContentLength:n.contentLength;return new bs(o,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||n.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:bk({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===s?"XSM/1.0; properties=crc64":void 0},o=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==s?o:new CX(o,{})},e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return N1.withSpan("BlobClient-exists",e,async t=>{try{return by(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},by(e.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-getProperties",e,async t=>{let r=NZ(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:Nj(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},N1.withSpan("BlobClient-delete",e,async t=>NZ(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return N1.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=NZ(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return N1.withSpan("BlobClient-undelete",e,async t=>NZ(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-setHTTPHeaders",t,async r=>NZ(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-setMetadata",t,async r=>NZ(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return N1.withSpan("BlobClient-setTags",t,async r=>NZ(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return N1.withSpan("BlobClient-getTags",e,async t=>{let r=NZ(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new br(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},by(e.customerProvidedKey,this.isHttps),N1.withSpan("BlobClient-createSnapshot",e,async t=>NZ(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new bw({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return N1.withSpan("BlobClient-abortCopyFromURL",t,async r=>NZ(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},N1.withSpan("BlobClient-syncCopyFromURL",t,async r=>NZ(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:NK(t.sourceAuthorization),tier:bB(t.tier),blobTagsString:N_(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return N1.withSpan("BlobClient-setAccessTier",t,async r=>NZ(await this.blobContext.setTier(bB(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let s,n=0,o=0,a=i;e instanceof Buffer?(s=e,n=t||0,o="number"==typeof r?r:0):(n="number"==typeof e?e:0,o="number"==typeof t?t:0,a=r||{});let A=a.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),n<0)throw RangeError("offset option must be >= 0");if(o&&o<=0)throw RangeError("count option must be greater than 0");return a.conditions||(a.conditions={}),N1.withSpan("BlobClient-downloadToBuffer",a,async e=>{if(!o){let t=await this.getProperties({...a,tracingOptions:e.tracingOptions});if((o=t.contentLength-n)<0)throw RangeError(`offset ${n} shouldn't be larger than blob size ${t.contentLength}`)}if(!s)try{s=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(s.length<o)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`);let t=0,r=new bU(a.concurrency);for(let i=n;i<n+o;i+=A)r.addOperation(async()=>{let r=n+o;i+A<r&&(r=i+A);let l=(await this.download(i,r-i,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await bv(l,s,i-n,r-n),t+=r-i,a.onProgress&&a.onProgress({loadedBytes:t})});return await r.do(),s})}async downloadToFile(e,t=0,r,i={}){return N1.withSpan("BlobClient-downloadToFile",i,async s=>{let n=await this.download(t,r,{...i,tracingOptions:s.tracingOptions});return n.readableStreamBody&&await bT(n.readableStreamBody,e),n.blobDownloadStream=void 0,n})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(NJ(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return N1.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},NZ(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:bB(t.tier),blobTagsString:N_(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof IB))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=N8({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(NG(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof IB))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return N9({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=N8({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(NG(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return N9({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return N1.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>NZ(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return N1.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>NZ(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return N1.withSpan("BlobClient-setLegalHold",t,async t=>NZ(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return N1.withSpan("BlobClient-getAccountInfo",e,async t=>NZ(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class bP extends bO{appendBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},IH(t))n=e,s=t,i=r;else if(t instanceof IB||t instanceof C5||mA(t))n=e,s=IP(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=NH(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new IB(o.accountName,o.accountKey);n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=h2(o.proxyUri)),s=IP(e,i)}else if("SASConnString"===o.kind)n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=IP(new C5,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,i=r,s=IP(new C5,i);super(n,s),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new bP(NP(this.url,IU,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},by(e.customerProvidedKey,this.isHttps),N1.withSpan("AppendBlobClient-create",e,async t=>NZ(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:N_(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return N1.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=NZ(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},N1.withSpan("AppendBlobClient-seal",e,async t=>NZ(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},by(r.customerProvidedKey,this.isHttps),N1.withSpan("AppendBlobClient-appendBlock",r,async i=>{let s={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},n=await N$(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return NZ(await this.appendBlobContext.appendBlock(n.contentLength,n.body,s))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},by(i.customerProvidedKey,this.isHttps),N1.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>NZ(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:bk({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:NK(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class bY extends bO{_blobContext;blockBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},IH(t))n=e,s=t,i=r;else if(t instanceof IB||t instanceof C5||mA(t))n=e,s=IP(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=NH(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new IB(o.accountName,o.accountKey);n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=h2(o.proxyUri)),s=IP(e,i)}else if("SASConnString"===o.kind)n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=IP(new C5,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,r&&"string"!=typeof r&&(i=r),s=IP(new C5,i);super(n,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new bY(NP(this.url,IU,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-query",t,async r=>new bf(NZ(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:NW(t.inputTextConfiguration),outputSerialization:NW(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},by(r.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-upload",r,async i=>{let s={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:bB(r.tier),blobTagsString:N_(r.tags),tracingOptions:i.tracingOptions},n=await N$(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return NZ(await this.blockBlobContext.upload(n.contentLength,n.body,s))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>NZ(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:NK(t.sourceAuthorization),tier:bB(t.tier),blobTagsString:N_(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return by(i.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-stageBlock",i,async s=>{let n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions},o=await N$(t,r,n,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return NZ(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,n))})}async stageBlockFromURL(e,t,r=0,i,s={}){return by(s.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-stageBlockFromURL",s,async n=>NZ(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:0!==r||i?bk({offset:r,count:i}):void 0,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:NK(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("BlockBlobClient-commitBlockList",t,async r=>NZ(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:bB(t.tier),blobTagsString:N_(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return N1.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=NZ(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return N1.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return N1.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let s=r.maxSingleShotSize??0x10000000;if(s<0||s>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>s&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),N1.withSpan("BlockBlobClient-uploadSeekableInternal",r,async n=>{if(t<=s)return NZ(await this.upload(e(0,t),t,n));let o=Math.floor((t-1)/i)+1;if(o>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let a=[],A=u4(),l=0,c=new bU(r.concurrency);for(let s=0;s<o;s++)c.addOperation(async()=>{let c=Nq(A,s),d=i*s,g=(s===o-1?t:d+i)-d;a.push(c),await this.stageBlock(c,e(d,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=g,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(a,n)})}async uploadFile(e,t={}){return N1.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await bL(e)).size;return this.uploadSeekableInternal((t,r)=>()=>bH(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),N1.withSpan("BlockBlobClient-uploadStream",i,async s=>{let n=0,o=u4(),a=0,A=[],l=new CO(e,t,r,async(e,t)=>{let r=Nq(o,n);A.push(r),n++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),a+=t,i.onProgress&&i.onProgress({loadedBytes:a})},Math.ceil(r/4*3));return await l.do(),NZ(await this.commitBlockList(A,{...i,tracingOptions:s.tracingOptions}))})}}class bG extends bO{pageBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},IH(t))n=e,s=t,i=r;else if(t instanceof IB||t instanceof C5||mA(t))n=e,s=IP(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=NH(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new IB(o.accountName,o.accountKey);n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=h2(o.proxyUri)),s=IP(e,i)}else if("SASConnString"===o.kind)n=NO(NO(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=IP(new C5,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,i=r,s=IP(new C5,i);super(n,s),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new bG(NP(this.url,IU,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},by(t.customerProvidedKey,this.isHttps),N1.withSpan("PageBlobClient-create",t,async r=>NZ(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:bB(t.tier),blobTagsString:N_(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return N1.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=NZ(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},by(i.customerProvidedKey,this.isHttps),N1.withSpan("PageBlobClient-uploadPages",i,async s=>{let n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:bk({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions},o=await N$(e,r,n,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return NZ(await this.pageBlobContext.uploadPages(o.contentLength,o.body,n))})}async uploadPagesFromURL(e,t,r,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},by(s.customerProvidedKey,this.isHttps),N1.withSpan("PageBlobClient-uploadPagesFromURL",s,async n=>NZ(await this.pageBlobContext.uploadPagesFromURL(e,bk({offset:t,count:i}),0,bk({offset:r,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:NK(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},N1.withSpan("PageBlobClient-clearPages",r,async i=>NZ(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:bk({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},N1.withSpan("PageBlobClient-getPageRanges",r,async i=>bQ(NZ(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:bk({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return N1.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>NZ(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:bk({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let s;if(r||void 0===r)do r=(s=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await s;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let s of this.listPageRangeItemSegments(e,t,i,r))yield*NX(s)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},N1.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>bQ(NZ(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:bk({offset:e,count:t}),tracingOptions:s.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,s={}){return N1.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async n=>NZ(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:r,range:bk({offset:e,count:t}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,s){let n;if(i||void 0===i)do i=(n=await this.listPageRangesDiffSegment(e,t,r,i,s)).continuationToken,yield await n;while(i)}async *listPageRangeDiffItems(e,t,r,i){let s;for await(let n of this.listPageRangeDiffItemSegments(e,t,r,s,i))yield*NX(n)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>s.next(),[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeDiffItemSegments(e,t,r,s.continuationToken,{maxPageSize:s.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},N1.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>bQ(NZ(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:bk({offset:e,count:t}),tracingOptions:s.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},N1.withSpan("PageBlobClient-resize",t,async r=>NZ(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},N1.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>NZ(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return N1.withSpan("PageBlobClient-startCopyIncremental",t,async r=>NZ(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(et=eI||(eI={}))[et.LOCKED=0]="LOCKED",et[et.UNLOCKED=1]="UNLOCKED",(eE||(eE={})).AES256="AES256";let bz=(0,uw.createHash)("sha256").update("blobstore|1.0").digest("hex"),bq=(y=e=>e.reason,{schedule:((e,t=2)=>{let r=sx(sd(e));return aP(nS(e=>{let i=sQ(r*Math.pow(t,e.attempt-1));return nS([i,i])}))})("3 seconds",1.5),times:4,while:e=>{let t;return t=y(e),uU.some(e=>t.includes(e))}}),bV=(e,t)=>nv({try:()=>{let e=process.env.ACTIONS_RESULTS_URL,t=process.env.ACTIONS_RUNTIME_TOKEN;if(!e||!t)throw Error(`Missing required env vars: ${[!e&&"ACTIONS_RESULTS_URL",!t&&"ACTIONS_RUNTIME_TOKEN"].filter(Boolean).join(", ")}`);return{baseUrl:e.endsWith("/")?e:`${e}/`,token:d1(t)}},catch:r=>new ub({key:t,operation:e,reason:r instanceof Error?r.message:String(r)})}),bJ=(e,t,r,i,s,n,o)=>{let a;return a=e=>new ub({key:o,operation:n,reason:e}),Ao(function*(){let n,o=gY(`${t}twirp/github.actions.results.api.v1.CacheService/${i}`).pipe(gW(d$(r)),g2(s)),A=yield*e.execute(o).pipe(oA(e=>a(`${i} failed: ${e.message}`)));return 409===A.status?uk:A.status<200||A.status>=300?yield*t3(a(`${i} failed: HTTP ${A.status} from ${i}`)):yield*(n=dv(dT(dY(dL.ast),{schema:dL})),e=>nW(e.json,e=>n(e,void 0)))(A).pipe(oA(e=>a(`${i} failed: ${e.message??String(e)}`)))})},b_=a5(uS,Ao(function*(){let e=yield*g6;return{put:(t,r)=>Ao(function*(){let{baseUrl:i,token:s}=yield*bV("put",t),n=yield*bJ(e,i,s,"CreateCacheEntry",{key:t,version:bz},"put",t).pipe(Ae(bq));if(n===uk)return;if(!n.ok||!n.signed_upload_url)return yield*t3(new ub({key:t,operation:"put",reason:"CreateCacheEntry returned no upload URL"}));yield*An({try:()=>new bY(n.signed_upload_url).uploadData(Buffer.from(r)),catch:e=>new ub({key:t,operation:"put",reason:`blob upload failed: ${e instanceof Error?e.message:String(e)}`})});let o=yield*bJ(e,i,s,"FinalizeCacheEntryUpload",{key:t,version:bz,size_bytes:String(r.byteLength)},"put",t).pipe(Ae(bq));if(o===uk||!o.ok)return yield*t3(new ub({key:t,operation:"put",reason:"FinalizeCacheEntryUpload did not confirm success"}))}),get:t=>Ao(function*(){let{baseUrl:r,token:i}=yield*bV("get",t),s=yield*bJ(e,r,i,"GetCacheEntryDownloadURL",{key:t,restore_keys:[],version:bz},"get",t).pipe(Ae(bq));return s!==uk&&s.ok&&s.signed_download_url?rT(new Uint8Array((yield*An({try:()=>new bO(s.signed_download_url).downloadToBuffer(),catch:e=>new ub({key:t,operation:"get",reason:`blob download failed: ${e instanceof Error?e.message:String(e)}`})})))):rv()}),has:t=>Ao(function*(){let{baseUrl:r,token:i}=yield*bV("has",t),s=yield*bJ(e,r,i,"GetCacheEntryDownloadURL",{key:t,restore_keys:[],version:bz},"has",t).pipe(Ae(bq));return s!==uk&&!!(s.ok&&s.signed_download_url)})}})),bW="~effect/ManagedRuntime";function bj(e,t){return nW(e.contextEffect,e=>n7(t,e))}let bK=(e,t)=>({status:e,headers:{"content-type":"application/json"},body:new TextEncoder().encode(JSON.stringify(t))}),bX=Number(process.env.TURBOGHA_PORT??"41230"),bZ=process.env.TURBOGHA_PREFIX??"",b$=process.env.TURBOGHA_TOKEN??"",b0=(er="s3"===(process.env.TURBOGHA_BACKEND??"github")?(Q={bucket:process.env.TURBOGHA_S3_BUCKET??"",region:process.env.TURBOGHA_S3_REGION??"",accessKeyId:process.env.TURBOGHA_S3_ACCESS_KEY_ID??"",secretAccessKey:d1(process.env.TURBOGHA_S3_SECRET_ACCESS_KEY??""),...process.env.TURBOGHA_S3_ENDPOINT?{endpoint:process.env.TURBOGHA_S3_ENDPOINT}:{},...process.env.TURBOGHA_S3_SESSION_TOKEN?{sessionToken:d1(process.env.TURBOGHA_S3_SESSION_TOKEN)}:{},...process.env.TURBOGHA_S3_PREFIX?{prefix:process.env.TURBOGHA_S3_PREFIX}:{}},a5(uS,Ao(function*(){let e=yield*g6,t=(e,t,r)=>(e=>{let t,r=e.amzDate??ux(),i=r.slice(0,8),{base:s,canonicalUri:n,headers:o}=uR({...e,amzDate:r}),a=[...o.keys()].sort(),A=a.join(";"),l=`${i}/${e.region}/s3/aws4_request`,c=["AWS4-HMAC-SHA256",r,l,(t=(e=>{let{canonicalUri:t,headers:r}=uR(e),i=[...r.keys()].sort(),s=i.map(e=>`${e}:${r.get(e)} -`).join(""),n=i.join(";");return[e.method,t,"",s,n,e.payloadHash].join("\n")})({...e,amzDate:r}),(0,uw.createHash)("sha256").update(t).digest("hex"))].join("\n"),d=uD(`AWS4${e.secretAccessKey}`,i),g=uD(d,e.region),u=uD(g,"s3"),h=(0,uw.createHmac)("sha256",uD(u,"aws4_request")).update(c).digest("hex"),m={};for(let e of a)m[e]=o.get(e);return m.Authorization=`AWS4-HMAC-SHA256 Credential=${e.accessKeyId}/${l}, SignedHeaders=${A}, Signature=${h}`,{url:`${s}${n}`,headers:m}})({method:e,bucket:Q.bucket,region:Q.region,accessKeyId:Q.accessKeyId,secretAccessKey:d$(Q.secretAccessKey),key:`${Q.prefix??""}${t}`,payloadHash:r,...Q.endpoint?{endpoint:Q.endpoint}:{},...Q.sessionToken?{sessionToken:d$(Q.sessionToken)}:{}});return{put:(r,i)=>Ao(function*(){let{url:s,headers:n}=t("PUT",r,(0,uw.createHash)("sha256").update(i).digest("hex")),o=gG(s).pipe(g_(n),g1(i)),a=yield*e.execute(o);if(a.status>=300)return yield*t3(new ub({key:r,operation:"put",reason:`S3 PUT returned ${a.status}`}))}).pipe(oo(e=>e instanceof ub?t3(e):t3(new ub({key:r,operation:"put",reason:String(e)})))),get:r=>Ao(function*(){let{url:i,headers:s}=t("GET",r,uM),n=gP(i).pipe(g_(s)),o=yield*e.execute(n);return 404===o.status?rv():o.status>=300?yield*t3(new ub({key:r,operation:"get",reason:`S3 GET returned ${o.status}`})):rT(new Uint8Array((yield*o.arrayBuffer)))}).pipe(oo(e=>e instanceof ub?t3(e):t3(new ub({key:r,operation:"get",reason:String(e)})))),has:r=>Ao(function*(){let{url:i,headers:s}=t("HEAD",r,uM),n=gz(i).pipe(g_(s)),o=yield*e.execute(n);return 404!==o.status&&(!(o.status>=300)||(yield*t3(new ub({key:r,operation:"has",reason:`S3 HEAD returned ${o.status}`}))))}).pipe(oo(e=>e instanceof ub?t3(e):t3(new ub({key:r,operation:"has",reason:String(e)}))))}}))).pipe(a6(uN)):b_.pipe(a6(uN)),b=(void 0)??a0(),w=aj(S=oS("parallel"),"sequential"),D={onFiberStart:oX(S)},x=e=>e?{...e,onFiberStart:e.onFiberStart?t=>{D.onFiberStart(t),e.onFiberStart(t)}:D.onFiberStart}:D,R=t4(e=>(N||(N=oZ(nV(a2(er,b,w),e=>nD(()=>{M.cachedContext=e})),{...D,scheduler:e.currentScheduler})),nW(nB(N),eN))),M={[bW]:bW,memoMap:b,scope:S,contextEffect:R,cachedContext:void 0,context:()=>void 0===M.cachedContext?o5(M.contextEffect):Promise.resolve(M.cachedContext),dispose:()=>o5(M.disposeEffect),disposeEffect:nx(()=>(M.contextEffect=t5("ManagedRuntime disposed"),M.cachedContext=void 0,of(M.scope,n2))),runFork:(e,t)=>void 0===M.cachedContext?oZ(bj(M,e),x(t)):oK(M.cachedContext)(e,x(t)),runCallback:(e,t)=>void 0===M.cachedContext?o0(bj(M,e),x(t)):o$(M.cachedContext)(e,x(t)),runSyncExit:e=>void 0===M.cachedContext?o8(bj(M,e)):o4(M.cachedContext)(e),runSync:e=>void 0===M.cachedContext?o6(bj(M,e)):o9(M.cachedContext)(e),runPromiseExit:(e,t)=>void 0===M.cachedContext?o2(bj(M,e),x(t)):o1(M.cachedContext)(e,x(t)),runPromise:(e,t)=>void 0===M.cachedContext?o5(bj(M,e),x(t)):o3(M.cachedContext)(e,x(t))}),b1=(k={prefix:bZ,expectedToken:b$},e=>Ao(function*(){let t=e.path.split("?")[0]??e.path;if("/v8/artifacts/status"===t)return bK(200,{status:"enabled"});if("/v8/artifacts/events"===t)return bK(200,[]);let r=t.match(/^\/v8\/artifacts\/([^/]+)$/);if(!r)return{status:404,headers:{}};let i=e.authorization?.replace(/^Bearer\s+/i,"");if(""!==k.expectedToken&&i!==k.expectedToken)return{status:401,headers:{}};let s=`${k.prefix}v2/${r[1]}`,n=yield*uS;if("PUT"===e.method){var o,a,A;let t,r,i;return yield*n.put(s,(o=e.artifactTag??null,a=e.artifactDuration,A=e.body,t=o?new TextEncoder().encode(o):new Uint8Array(0),(i=new DataView((r=new Uint8Array(8+t.length+A.length)).buffer)).setUint32(0,t.length,!1),i.setUint32(4,Math.min(0xffffffff,Math.max(0,Math.trunc(a)||0)),!1),r.set(t,8),r.set(A,8+t.length),r)),{status:202,headers:{}}}if("HEAD"===e.method)return{status:(yield*n.has(s))?200:404,headers:{}};if("GET"===e.method){let e=yield*n.get(s);if(rH(e))return{status:404,headers:{}};let t=(e=>{if(e.byteLength<8)return null;let t=new DataView(e.buffer,e.byteOffset,e.byteLength),r=t.getUint32(0,!1),i=t.getUint32(4,!1);return 8+r>e.byteLength?null:{tag:r>0?new TextDecoder().decode(e.subarray(8,8+r)):null,durationMs:i,body:e.subarray(8+r)}})(e.value);if(null===t)return{status:404,headers:{}};let{tag:r,durationMs:i,body:o}=t,a={"content-type":"application/octet-stream","x-artifact-duration":String(i)};return r&&(a["x-artifact-tag"]=r),{status:200,headers:a,body:o}}return{status:405,headers:{}}}).pipe(oo(()=>nS({status:500,headers:{}}))));(0,ey.createServer)((e,t)=>{let r=[];e.on("data",e=>r.push(e)),e.on("end",()=>{let i=e.headers["x-artifact-duration"],s="string"==typeof i&&Number(i)||0,n={method:e.method??"GET",path:e.url??"/",authorization:e.headers.authorization,artifactTag:"string"==typeof e.headers["x-artifact-tag"]?e.headers["x-artifact-tag"]:void 0,artifactDuration:s,body:new Uint8Array(Buffer.concat(r))};b0.runPromise(b1(n)).then(e=>{t.writeHead(e.status,e.headers),t.end(e.body?Buffer.from(e.body):void 0)}).catch(()=>{t.writeHead(500),t.end()})})}).listen(bX,"127.0.0.1")})(); \ No newline at end of file +${nP(e.cause,`${t} `)} +${t}}`),i},nY="~effect/Fiber/dev",nG={_A:eq,_E:eq},nz={id:0},nq=()=>globalThis[tk];class nV{constructor(e,t=!0){this[nY]=nG,this.setContext(e),this.id=++nz.id,this.currentOpCount=0,this.interruptible=t,this._stack=[],this._observers=[],this._exit=void 0,this._children=void 0,this._interruptedCause=void 0,this._yielded=void 0,this._running=!1,this._deferredInterrupt=!1,this.runtimeMetrics?.recordFiberStart(this.context)}[nY];id;interruptible;currentOpCount;_stack;_observers;_exit;_children;_interruptedCause;_yielded;_running;_deferredInterrupt;context;currentScheduler;currentTracerContext;currentSpan;currentLogLevel;minimumLogLevel;currentStackFrame;runtimeMetrics;maxOpsBeforeYield;currentPreventYield;_dispatcher=void 0;get currentDispatcher(){return this._dispatcher??=this.currentScheduler.makeDispatcher()}getRef(e){var t;return t=this.context,t.mapUnsafe.has(e.key)?t.mapUnsafe.get(e.key):sS(e)}addObserver(e){return this._exit?(e(this._exit),ej):(this._observers.push(e),()=>{let t=this._observers.indexOf(e);t>=0&&this._observers.splice(t,1)})}interruptUnsafe(e,t){if(this._exit)return;let r=nS(e);this.currentStackFrame&&(r=rs(r,sE(ru,this.currentStackFrame))),t&&(r=rs(r,t)),this._interruptedCause=this._interruptedCause?nx(this._interruptedCause,r):r,this.interruptible&&(this._running?this._deferredInterrupt=!0:this.evaluate(n1(this._interruptedCause)))}pollUnsafe(){return this._exit}evaluate(e){if(this._exit)return;if(void 0!==this._yielded){let e=this._yielded;this._yielded=void 0,e()}let t=this.runLoop(e);if(t===t$)return;let r=nJ.interruptChildren&&nJ.interruptChildren(this);if(void 0!==r)return this.evaluate(oh(r,()=>t));this._exit=t,this.runtimeMetrics?.recordFiberEnd(this.context,this._exit);for(let e=0;e<this._observers.length;e++)this._observers[e](t);this._observers.length=0,this._stack.length=0,this._children=void 0,this.context=sf}runLoop(e){let t=globalThis[tk];globalThis[tk]=this;let r=this._running;this._running=!0;let i=!1,s=e;this.currentOpCount=0;try{for(;;){if(this._deferredInterrupt&&(this._deferredInterrupt=!1,s=n1(this._interruptedCause)),this.currentOpCount++,!i&&!this.currentPreventYield&&this.currentScheduler.shouldYield(this)){i=!0;let e=s;s=oh(n4,()=>e)}if((s=this.currentTracerContext?this.currentTracerContext(s,this):s[tj](this))===t$){let e=this._yielded;if(t_ in e)return this._deferredInterrupt=!1,this._yielded=void 0,e;if(this._deferredInterrupt){this._yielded=void 0,e();continue}return t$}}}catch(e){if(!e7(s,tj))return rC(`Fiber.runLoop: Not a valid effect: ${String(s)}`);return this.runLoop(rC(e))}finally{this._running=r,globalThis[tk]=t}}getCont(e){if(this._deferredInterrupt)return this._deferredInterrupt=!1,n_;for(;;){let t=this._stack.pop();if(!t)return;let r=t[tZ]&&t[tZ](this);if(r)return r[e]=r,r;if(t[e])return t}}yieldWith(e){return this._yielded=e,t$}children(){return this._children??=new Set}pipe(){return eP(this,arguments)}setContext(e){this.context=e;let t=this.getRef(s6);t!==this.currentScheduler&&(this.currentScheduler=t,this._dispatcher=void 0),this.currentSpan=e.mapUnsafe.get(nn),this.currentLogLevel=this.getRef(ny),this.minimumLogLevel=this.getRef(nQ),this.currentStackFrame=e.mapUnsafe.get(np.key),this.maxOpsBeforeYield=this.getRef(ni),this.currentPreventYield=this.getRef(ns),this.runtimeMetrics=e.mapUnsafe.get("effect/observability/Metric/FiberRuntimeMetricsKey");let r=e.mapUnsafe.get(nc);this.currentTracerContext=r?r.context:void 0}get currentSpanLocal(){return this.currentSpan?._tag==="Span"?this.currentSpan:void 0}}let n_={[tK]:(e,t)=>n1(t._interruptedCause),[tX]:(e,t)=>n1(t._interruptedCause)},nJ={interruptChildren:void 0},nW=e=>{if(!e.currentStackFrame)return;let t=new Map;return t.set(rh,e.currentStackFrame),sp(t)},nj=e=>e._exit?n0(e._exit):oi(t=>e._exit?t(n0(e._exit)):n2(e.addObserver(e=>t(n0(e))))),nK=e=>oi(t=>{let r,i=e[Symbol.iterator](),s=[];return!function e(){let n=i.next();for(;!n.done;){if(n.value._exit){s.push(n.value._exit),n=i.next();continue}r=n.value.addObserver(t=>{s.push(t),e()});return}t(n0(s))}(),n2(()=>r?.())}),nX=e=>rI(t=>nZ(e,t.id)),nZ=ez(e=>e7(e[0],nY),(e,t,r)=>rI(i=>{let s=nW(i);return s=s&&r?sx(s,r):s??r,e.interruptUnsafe(t,s),og(nj(e))})),n$=e=>rI(t=>{let r=nW(t),i=se();for(let s of e)s.interruptUnsafe(t.id,r),i.push(s);return og(nK(i))}),n0=rg,n1=rm,n2=rc({op:"Sync",[tj](e){let t=this[tW](),r=e.getCont(tK);return r?r[tK](t,e):e.yieldWith(rg(t))}}),n3=rc({op:"Suspend",[tj](e){return this[tW]()}}),n5=rJ({onFailure:rp,onSuccess:n0}),n4=rc({op:"Yield",[tj](e){let t=!1;return e.currentDispatcher.scheduleTask(()=>{t||e.evaluate(oN)},this[tW]??0),e.yieldWith(()=>{t=!0})}})(0),n8=n0(r2()),n9=e=>rC(e),n6=e=>n3(()=>rp(tq(e))),n7=n0(void 0),oe=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new a5(e,"An error occurred in Effect.try"):e.catch;return n3(()=>{try{return n0(tq(t))}catch(e){return rp(tq(()=>r(e)))}})},ot=rc({op:"Async",single:!1,[tj](e){let t=tq(()=>this[tW][0].bind(e.currentScheduler)),r=!1,i=!1,s=this[tW][1]?new AbortController:void 0,n=t(t=>{r||(r=!0,i?e.evaluate(t):i=t)},s?.signal);return!1!==i?i:(i=!0,e._yielded=()=>{r=!0},void 0===s&&void 0===n||e._stack.push(or(()=>(r=!0,s?.abort(),n??oN))),t$)}}),or=rc({op:"AsyncFinalizer",[tZ](e){e.interruptible&&(e.interruptible=!1,e._stack.push(ag))},[tX](e,t){return e.reasons.some(ra)?oh(this[tW](),()=>n1(e)):n1(e)}}),oi=e=>ot(e,e.length>=2),os=oi(ej),on=(e,...t)=>{let r=0===t.length?function(){return n3(()=>oA(e.apply(this,arguments)))}:function(){let r=n3(()=>oA(e.apply(this,arguments)));for(let e=0;e<t.length;e++)r=t[e](r,...arguments);return r};return oo(e.length,r)},oo=(e,t)=>Object.defineProperty(t,"length",{value:e,configurable:!0}),oa=e=>{try{let t,r=e();for(;;){let i=r.next(t);if(i.done)return n0(i.value);let s=i.value;if(s&&"Success"===s._tag){t=s.value;continue}{if(s&&"Failure"===s._tag)return i.value;let t=!0;return n3(()=>t?(t=!1,oh(i.value,e=>oA(r,e))):n3(()=>oA(e())))}}}catch(e){return n9(e)}},oA=rc({op:"Iterator",single:!1,[tK](e,t){let r=this[tW][0];for(;;){let i=r.next(e);if(i.done)return n0(i.value);if(!op(i.value))return t._stack.push(this),i.value;if("Failure"===i.value._tag)return i.value;e=i.value.value}},[tj](e){return this[tK](this[tW][1],e)}}),ol=ez(2,(e,t)=>{let r=n0(t);return oh(e,e=>r)}),oc=ez(2,(e,t)=>oh(e,e=>e7(t,tV)?t:tq(()=>t(e)))),od=ez(2,(e,t)=>oh(e,e=>ol(e7(t,tV)?t:tq(()=>t(e)),e))),og=e=>oh(e,e=>oN),ou=ez(e=>e7(e[1],tV),(e,t,r)=>{let i;return i=[e,t],rI(e=>oi(t=>{let s=!1,n=new Set,o=e=>{s=!0,t(0===n.size?e:oh(ac(n$(n)),()=>e))},a=0;for(let t of i){if(s)break;let i=a++,A=ay(e,t,!0,!0,!1);n.add(A),A.addObserver(t=>{n.delete(A);let a=!s;o(t),a&&r?.onWinner&&r.onWinner({fiber:A,index:i,parentFiber:e})})}return n$(n)}))}),oh=ez(2,(e,t)=>{let r=Object.create(om);return r[tW]=e,r[tK]=1!==t.length?e=>t(e):t,r}),om=rl({op:"OnSuccess",[tj](e){return e._stack.push(this),this[tW]}}),op=e=>t_ in e,oC=ez(2,(e,t)=>op(e)?"Success"===e._tag?t(e.value):e:oh(e,t)),oI=ez(2,(e,t)=>oh(e,e=>n0(tq(()=>t(e))))),of=ez(2,(e,t)=>op(e)?ob(e,t):oI(e,t)),oE=ez(2,(e,t)=>op(e)?oS(e,t):oq(e,t)),oB=ez(2,(e,t)=>op(e)?ow(e,t):oV(e,t)),oy=e=>"Success"===e._tag,oQ=e=>"Failure"===e._tag?rq(e.cause):rz(e),oN=rg(void 0),ob=ez(2,(e,t)=>"Success"===e._tag?rg(t(e.value)):e),oS=ez(2,(e,t)=>{if("Success"===e._tag)return e;let r=nw(e.cause);return rY(r)?e:rp(t(r.success))}),ow=ez(2,(e,t)=>{if("Success"===e._tag)return rg(t.onSuccess(e.value));let r=nw(e.cause);return rY(r)?e:rp(t.onFailure(r.success))}),oD=ez(2,(e,t)=>oy(e)?t:e),ox=ez(2,(e,t)=>rI(r=>{let i=r.context,s=t(i);return i===s?e:(r.setContext(s),ar(e,()=>{r.setContext(i)}))})),oR=ez(3,(e,t,r)=>ox(e,e=>{let i=sQ(e,t),s=r(i);return i===s?e:sB(e,t,s)})),oM=rI(e=>n0(e.context)),ok=e=>rI(t=>e(t.context)),oF=ez(2,(e,t)=>op(e)?e:ox(e,sx(t))),oU=function(){return 1==arguments.length?ez(2,(e,t)=>ov(e,arguments[0],t)):ez(3,(e,t,r)=>ov(e,t,r)).apply(this,arguments)},ov=(e,t,r)=>ox(e,e=>e.mapUnsafe.get(t.key)===r?e:sB(e,t,r)),oT=((e,t,r)=>oh(r,r=>oU(e,t,r)),ez(e=>e7(e[0],tV),(e,t)=>aC({while:e_,body:eV(t?.disableYield?e:oh(e,e=>n4)),step:ej}))),oL=ez(2,(e,t)=>{let r=Object.create(oO);return r[tW]=e,r[tX]=1!==t.length?e=>t(e):t,r}),oO=rl({op:"OnFailure",[tj](e){return e._stack.push(this),this[tW]}}),oH=((e,t,r)=>oL(e,e=>t(e)?tq(()=>r(e)):n1(e)),ez(3,(e,t,r)=>oL(e,e=>{let i=t(e);return rY(i)?n1(i.failure):tq(()=>r(i.success,e))}))),oP=ez(2,(e,t)=>oH(e,nw,e=>t(e))),oY=ez(3,(e,t,r)=>oL(e,e=>{let i=t(e);return rY(i)?n1(e):oc(tq(()=>r(i.success,e)),n1(e))})),oG=((e,t)=>oY(e,nw,e=>t(e)),ez(e=>e7(e[0],tV),(e,t,r,i)=>oL(e,e=>{let s=nw(e);return rY(s)?n1(s.failure):t(s.success)?tq(()=>r(s.success)):i?tq(()=>i(s.success)):n1(e)}))),oz=((e=>e7(e[0],tV),(e,t,r,i)=>oL(e,e=>{let s=nw(e);if(rY(s))return n1(s.failure);let n=t(s.success);return rY(n)?i?tq(()=>i(n.failure)):n1(e):tq(()=>r(n.success))})),ez(e=>e7(e[0],tV),(e,t,r,i)=>oG(e,Array.isArray(t)?e=>e7(e,"_tag")&&t.includes(e._tag):te(t),r,i))),oq=ez(2,(e,t)=>oP(e,e=>n6(()=>t(e)))),oV=ez(2,(e,t)=>oj(e,{onFailure:e=>n6(()=>t.onFailure(e)),onSuccess:e=>n2(()=>t.onSuccess(e))})),o_=e=>oX(e,{onFailure:rz,onSuccess:rq}),oJ=ez(2,(e,t)=>{let r=Object.create(oW);return r[tW]=e,r[tK]=1!==t.onSuccess.length?e=>t.onSuccess(e):t.onSuccess,r[tX]=1!==t.onFailure.length?e=>t.onFailure(e):t.onFailure,r}),oW=rl({op:"OnSuccessAndFailure",[tj](e){return e._stack.push(this),this[tW]}}),oj=((e,t)=>oJ(e,{onFailure:e=>n2(()=>t.onFailure(e)),onSuccess:e=>n2(()=>t.onSuccess(e))}),ez(2,(e,t)=>oJ(e,{onFailure:e=>{let r=e.reasons.find(rn);return r?tq(()=>t.onFailure(r.error)):n1(e)},onSuccess:t.onSuccess}))),oK=ez(2,(e,t)=>oj(e,{onFailure:e=>n2(()=>t.onFailure(e)),onSuccess:e=>n2(()=>t.onSuccess(e))})),oX=ez(2,(e,t)=>{if(op(e)){if("Success"===e._tag)return rg(t.onSuccess(e.value));let r=nw(e.cause);return rY(r)?e:rg(t.onFailure(r.success))}return oK(e,t)}),oZ=e=>op(e)?rg(e):o$(e),o$=rc({op:"Exit",[tj](e){return e._stack.push(this),this[tW]},[tK]:(e,t,r)=>n0(r??rg(e)),[tX]:(e,t,r)=>n0(r??rm(e))}),o0=((e,t)=>ou(e,oh(aX(t.duration),t.orElse)),"~effect/Scope"),o1="~effect/Scope/Closeable",o2=sg("effect/Scope"),o3=(e,t)=>n3(()=>o5(e,t)??n7),o5=(e,t)=>{if("Closed"===e.state._tag)return;let r={_tag:"Closed",exit:t};if("Empty"===e.state._tag){e.state=r;return}let{finalizers:i}=e.state;return(e.state=r,0===i.size)?void 0:1===i.size?i.values().next().value(t):o4(e,i,t)},o4=on(function*(e,t,r){let i=[],s=[],n=Array.from(t.values()),o=nq();for(let t=n.length-1;t>=0;t--){let a=n[t];"sequential"===e.strategy?i.push((yield*oZ(a(r)))):s.push(ay(o,a(r),!0,!0,"inherit"))}return s.length>0&&(i=yield*nK(s)),yield*(e=>{let t=[];for(let r of e)"Failure"===r._tag&&t.push(...r.cause.reasons);return 0===t.length?oN:rm(re(t))})(i)}),o8=(e,t)=>n3(()=>"Closed"===e.state._tag?t(e.state.exit):(o9(e,{},t),n7)),o9=(e,t,r)=>{"Empty"===e.state._tag?e.state={_tag:"Open",finalizers:new Map([[t,r]])}:"Open"===e.state._tag&&e.state.finalizers.set(t,r)},o6=(e,t)=>{"Open"===e.state._tag&&e.state.finalizers.delete(t)},o7=(e="sequential")=>({[o1]:o1,[o0]:o0,strategy:e,state:ae}),ae={_tag:"Empty"},at=oU(o2),ar=rc({op:"OnExit",single:!1,[tj](e){return e._stack.push(this),this[tW][0]},[tZ](e){e.interruptible&&!0!==this[tW][2]&&(e._stack.push(ag),e.interruptible=!1)},[tK](e,t,r){r??=rg(e);let i=this[tW][1](r);return i?oh(i,e=>r):r},[tX](e,t,r){r??=rm(e);let i=this[tW][1](r);return i?oh(i,e=>r):r}}),ai=ez(2,ar),as=((e,t,r)=>ai(e,e=>t(e)?r(e):n7),ez(3,(e,t,r)=>ai(e,e=>{let i=t(e);return rY(i)?n7:r(i.success,e)}))),an=ez(2,(e,t)=>as(e,oQ,t)),ao=ez(3,(e,t,r)=>ai(e,e=>{if("Failure"!==e._tag)return n7;let i=t(e.cause);return rY(i)?n7:r(i.success,e.cause)})),aa=ez(2,(e,t)=>ao(nD,t)(e)),aA=ez(2,(e,t)=>n2(()=>{let r,i=s2(sO(t)),s=Number.isFinite(i),n=aP(!1),o=0,a=!1,A=oh(n.await,()=>r);return[rI(t=>{let l=t.getRef(aV),c=s?l.currentTimeMillisUnsafe():0;return a||c<o?r??A:(a=!0,n.closeUnsafe(),r=void 0,ai(e,e=>n2(()=>{a=!1,o=l.currentTimeMillisUnsafe()+i,r=e,n.openUnsafe()})))}),n2(()=>{o=0,n.closeUnsafe(),r=void 0})]})),al=ez(2,(e,t)=>oI(aA(e,t),e=>e[0])),ac=e=>rI(t=>(t.interruptible&&(t.interruptible=!1,t._stack.push(ag)),e)),ad=rc({op:"SetInterruptible",[tZ](e){if(e.interruptible=this[tW],e._interruptedCause&&e.interruptible)return()=>n1(e._interruptedCause)}}),ag=ad(!0),au=ad(!1),ah=e=>rI(t=>t.interruptible?e:(e=>{if(e.interruptible=!0,e._stack.push(au),e._interruptedCause)return n1(e._interruptedCause)})(t)??e),am=e=>rI(t=>t.interruptible?(t.interruptible=!1,t._stack.push(ag),e(ah)):e(eq)),ap=(e,t)=>tt(e)?t?.mode==="result"?aI(e,o_,t):aI(e,eq,t):t?.discard?"result"===t.mode?aI(Object.values(e),o_,t):aI(Object.values(e),eq,t):n3(()=>{let r={};return ol(aI(Object.entries(e),([e,i])=>oI(t?.mode==="result"?o_(i):i,t=>{r[e]=t}),{discard:!0,concurrency:t?.concurrency}),r)}),aC=((e=>tt(e[0])&&!e7(e[0],tV),(e,t,r)=>oI(aI(e,(e,r)=>o_(t(e,r)),r),e=>si(e,eq))),rc({op:"While",[tK](e,t){return(this[tW].step(e),this[tW].while())?(t._stack.push(this),this[tW].body()):oN},[tj](e){return this[tW].while()?(e._stack.push(this),this[tW].body()):oN}})),aI=ez(e=>"function"==typeof e[1],(e,t,r)=>rI(i=>{let s=r?.concurrency==="inherit"?i.getRef(nh):r?.concurrency??1,n="unbounded"===s?1/0:Math.max(1,s);if(1===n)return af(e,t,r);let o=i5(e),a=o.length;if(0===a)return r?.discard?n7:n0([]);let A=r?.discard?void 0:Array(a),l=aB({f:t,out:A},o,{concurrency:n});return l?ol(l,A):n0(A)})),af=(e,t,r)=>n3(()=>{let i=r?.discard?void 0:[],s=e[Symbol.iterator](),n=s.next(),o=0;return ol(aC({while:()=>!n.done,body:()=>t(n.value,o++),step:e=>{i&&i.push(e),n=s.next()}}),i)}),aE=e=>{let t=e.onItem,r=e.step;return(e,i,s)=>{let n,o,a,A,l,c=s?.start??0,d=s?.end??i.length,g=s?.concurrency??1,u=s?.orderedStep===!0&&g>1,h=!1,m=!1,p=c,C=u?Array(d):void 0,I=e=>{let t=rC(e);return A=t,h=!0,m=!0,o&&o.size>0?oh(ac(n$(Array.from(o))),()=>t):t},f=(t,s,n)=>{if(!u)return r(e,t,s,n);if(A)return A;for(C[n]=s;p<d;){let t=C[p];if(void 0===t)return;C[p]=void 0;let s=p++,n=r(e,i[s],t,s);if(n)return n}},E=()=>{let r=!1;for(;!A&&c<d;c++){let s=i[c],d=l??t(e,s,c);if(op(d)){if(A=f(s,d,c))break}else{if(1===g)return oh(oZ(d),e=>(A=f(s,e,c),c++,A??E()??n7));if(!n)return oi(e=>{let t;n=nq(),o=new Set,l=d,a=e;try{t=E()}catch(t){return e(I(t))}return t?e(t):n3(()=>(A=oN,m=!0,o?n$(o):n7))});l=void 0;let e=ay(n,d,!0,!0,"inherit");if(e._exit){if(A=f(s,e._exit,c))break;continue}o.add(e);let t=c;if(e.addObserver(i=>{o.delete(e);try{if(A){if(!m&&"Failure"===i._tag)for(let e of i.cause.reasons)if("Interrupt"===e._tag)continue;else"Failure"===A._tag?A.cause.reasons.push(e):A=rm(re([e]))}else{let e=f(s,i,t);e&&(A="Failure"===e._tag?rm(re(e.cause.reasons.slice())):e,E())}if(r){let e=E();e&&a(e)}else h&&0===o.size&&a(A??n7)}catch(e){a(I(e))}}),o.size<g)continue;r=!0,c++;return}}if(h=!0,A){if(o&&o.size>0){let e=nW(n);o.forEach(t=>t.interruptUnsafe(n.id,e));return}if(a||"Failure"===A._tag)return A}else if(a)if(!o)return oN;else 0===o.size&&a(n7)};return E()}},aB=aE({onItem:(e,t,r)=>e.f(t,r),step(e,t,r,i){if("Failure"===r._tag)return r;e.out&&(e.out[i]=r.value)}}),ay=((e,t,r)=>oh(e,e=>t(e)?n0(e):r(e)),(e,t,r=!1,i=!1,s=!1)=>{let n="inherit"===s?e.interruptible:!s,o=new nV(e.context,n);return r?o.evaluate(t):e.currentDispatcher.scheduleTask(()=>o.evaluate(t),0),i||o._exit||(e.children().add(o),o.addObserver(()=>e._children.delete(o))),o}),aQ=ez(e=>e7(e[0],tV),(e,t,r)=>rI(i=>{let s=ay(i,e,r?.startImmediately,!0,r?.uninterruptible);if(!s._exit)if("Closed"!==t.state._tag){let e={};o9(t,e,()=>{let e;return e=e=>e===s.id?n7:nX(s),rI(t=>e(t.id))}),s.addObserver(()=>o6(t,e))}else s.interruptUnsafe(i.id,nW(i));return n0(s)})),aN=e=>(t,r)=>{let i=new nV(r?.scheduler?sB(e,s6,r.scheduler):e,r?.uninterruptible!==!0);if(i.evaluate(t),i._exit)return i;if(r?.signal)if(r.signal.aborted)i.interruptUnsafe();else{let e=()=>i.interruptUnsafe();r.signal.addEventListener("abort",e,{once:!0}),i.addObserver(()=>r.signal.removeEventListener("abort",e))}return r?.onFiberStart&&r.onFiberStart(i),i},ab=ez(2,(e,t)=>{if(e._exit)return e;if("Closed"===t.state._tag)return e.interruptUnsafe(e.id),e;let r={};return o9(t,r,()=>nX(e)),e.addObserver(()=>o6(t,r)),e}),aS=aN(sf),aw=e=>{let t=aN(e);return(e,r)=>{let i=t(e,r);return r?.onExit&&i.addObserver(r.onExit),e=>i.interruptUnsafe(e)}},aD=aw(sf),ax=e=>{let t=aN(e);return(e,r)=>{let i=t(e,r);return new Promise(e=>{i.addObserver(t=>e(t))})}},aR=ax(sf),aM=e=>{let t=ax(e);return(e,r)=>t(e,r).then(e=>{if("Failure"===e._tag)throw nM(e.cause);return e.value})},ak=aM(sf),aF=e=>{let t=aN(e);return e=>{if(op(e))return e;let r=t(e,{scheduler:new nt("sync")});return r._dispatcher?.flush(),r._exit??rC(new a2(r))}},aU=aF(sf),av=e=>{let t=aF(e);return e=>{let r=t(e);if("Failure"===r._tag)throw nM(r.cause);return r.value}},aT=av(sf),aL=n0(!0),aO=n0(!1);class aH{waiters=[];scheduled=!1;_isOpen;constructor(e){this._isOpen=e}scheduleUnsafe(e){return this.scheduled||0===this.waiters.length||(this.scheduled=!0,e.currentDispatcher.scheduleTask(this.flushWaiters,0)),aL}flushWaiters=()=>{this.scheduled=!1;let e=this.waiters;this.waiters=[];for(let t=0;t<e.length;t++)e[t](oN)};open=rI(e=>this._isOpen?aO:(this._isOpen=!0,this.scheduleUnsafe(e)));release=rI(e=>this._isOpen?aO:this.scheduleUnsafe(e));openUnsafe(){return!this._isOpen&&(this._isOpen=!0,this.flushWaiters(),!0)}await=oi(e=>this._isOpen?e(n7):(this.waiters.push(e),n2(()=>{let t=this.waiters.indexOf(e);-1!==t&&this.waiters.splice(t,1)})));closeUnsafe(){return!!this._isOpen&&(this._isOpen=!1,!0)}close=n2(()=>this.closeUnsafe());whenOpen=e=>oh(this.await,()=>e);isOpen(){return this._isOpen}}let aP=e=>new aH(e??!1),aY=BigInt(0),aG={_tag:"Span",spanId:"noop",traceId:"noop",sampled:!1,status:{_tag:"Ended",startTime:aY,endTime:aY,exit:oN},attributes:new Map,links:[],kind:"internal",attribute(){},event(){},end(){},addLinks(){}},az=e=>e?sN(e.annotations,na)?"Span"===e._tag?az(iu(e.parent)):r2():r3(e):r2(),aq=oU(no),aV=sg("effect/Clock",{defaultValue:()=>new aJ}),a_=0x80000000-1;class aJ{currentTimeMillisUnsafe(){return Date.now()}currentTimeMillis=n2(()=>this.currentTimeMillisUnsafe());currentTimeNanosUnsafe(){return aj()}currentTimeNanos=n2(()=>this.currentTimeNanosUnsafe());sleep(e){return this.sleepMillis(s2(e))}sleepMillis(e){return e<=0?n4:Number.isFinite(e)?oi(t=>{let r=e>a_?this.sleepMillis(e-a_):n7,i=setTimeout(()=>t(r),Math.min(e,a_));return n2(()=>clearTimeout(i))}):os}}let aW=(p=BigInt(1e6),"u"<typeof performance||void 0===performance.now?()=>BigInt(Date.now())*p:()=>(m??=BigInt(Date.now())*p-BigInt(Math.round(1e6*performance.now())))+BigInt(Math.round(1e6*performance.now()))),aj=function(){let e="object"==typeof process&&"hrtime"in process&&"function"==typeof process.hrtime.bigint?process.hrtime:void 0;if(!e)return aW;let t=BigInt(Date.now())*BigInt(1e6)-e.bigint();return()=>t+e.bigint()}(),aK=e=>rI(t=>e(t.getRef(aV))),aX=e=>aK(t=>t.sleep(sO(e))),aZ=(e=>e.currentTimeMillis,"~effect/Cause/TimeoutError"),a$="~effect/Cause/IllegalArgumentError";class a0 extends rB("IllegalArgumentError"){[a$]=a$;constructor(e){super({message:e})}}let a1="~effect/Cause/AsyncFiberError";class a2 extends rB("AsyncFiberError"){[a1]=a1;constructor(e){super({message:"An asynchronous Effect was executed with Effect.runSync",fiber:e})}}let a3="~effect/Cause/UnknownError";class a5 extends rB("UnknownError"){[a3]=a3;constructor(e,t){super({message:t,cause:e})}}let a4=sg("effect/Console/CurrentConsole",{defaultValue:()=>globalThis.console}),a8=r0(r$(rX,e=>{switch(e){case"All":return Number.MIN_SAFE_INTEGER;case"Fatal":return 5e4;case"Error":return 4e4;case"Warn":return 3e4;case"Info":return 2e4;case"Debug":return 1e4;case"Trace":return 0;case"None":return Number.MAX_SAFE_INTEGER}})),a9=sg("effect/Loggers/CurrentLoggers",{defaultValue:()=>new Set([Ar,Ai])}),a6=sg("effect/Logger/LogToStderr",{defaultValue:eJ}),a7={"~effect/Logger":{_Message:eq,_Output:eq},pipe(){return eP(this,arguments)}},Ae=e=>{let t=Object.create(a7);return t.log=e,t},At=(e,t)=>{let r=e[0].replace(/[\s="]/g,"_");return`${r}=${t-e[1]}ms`},Ar=Ae(({cause:e,date:t,fiber:r,logLevel:i,message:s})=>{let n=Array.isArray(s)?s.slice():[s];e.reasons.length>0&&n.push(nO(e));let o=t.getTime(),a=r.getRef(nN),A="";for(let e of a)A+=` ${At(e,o)}`;let l=r.getRef(nB);Object.keys(l).length>0&&n.push(l);let c=r.getRef(a4);(r.getRef(a6)?c.error:c.log)(`[${t.getHours().toString().padStart(2,"0")}:${t.getMinutes().toString().padStart(2,"0")}:${t.getSeconds().toString().padStart(2,"0")}.${t.getMilliseconds().toString().padStart(3,"0")}] ${i.toUpperCase()} (#${r.id})${A}:`,...n)}),Ai=Ae(({cause:e,fiber:t,logLevel:r,message:i})=>{let s=t.getRef(aV),n=t.getRef(nB),o=t.currentSpan;if(void 0===o||"ExternalSpan"===o._tag)return;let a={};for(let[e,t]of Object.entries(n))a[e]=t;a["effect.fiberId"]=t.id,a["effect.logLevel"]=r.toUpperCase(),e.reasons.length>0&&(a["effect.cause"]=nO(e)),o.event(((e,t=2)=>{if("string"==typeof e)return e;try{return"object"==typeof e?tO(e,{space:t}):String(e)}catch{return String(e)}})(Array.isArray(i)&&1===i.length?i[0]:i),s.currentTimeNanosUnsafe(),a)}),As=e=>void 0===e?rb:rp(rN(e)),An=ez(2,(e,t)=>oH(e,AA,e=>t(e))),Ao=e=>"Fail"===e._tag&&e7(e.error,ry),Aa=s9(nw,e=>e7(e,ry)?rq(e):rz(e)),AA=s9(nw,e=>e7(e,ry)?rq(e.value):rz(e)),Al=ez(2,(e,t)=>oJ(e,{onSuccess:t.onSuccess,onFailure:e=>{let r=Aa(e);return rY(r)?t.onFailure(r.failure):t.onDone(r.success.value)}})),Ac="~effect/Schedule",Ad=sg("effect/Schedule/CurrentMetadata",{defaultValue:eV({input:void 0,output:void 0,duration:s_,attempt:0,start:0,now:0,elapsed:0,elapsedSincePrevious:0})}),Ag={[Ac]:{_Out:eq,_In:eq,_Env:eq},pipe(){return eP(this,arguments)}},Au=e=>{let t=Object.create(Ag);return t.step=e,t},Ah=()=>{let e,t,r=0;return(i,s)=>{void 0===t&&(t=i);let n=i-t,o=void 0===e?0:i-e;return e=i,{input:s,attempt:++r,start:t,now:i,elapsed:n,elapsedSincePrevious:o}}},Am=e=>Au(oI(e,e=>{let t=Ah();return(r,i)=>e(t(r,i))})),Ap=e=>oL(e.step,e=>n0(()=>n1(e))),AC=e=>aK(t=>oI(Ap(e),e=>{let r=Ah();return i=>n3(()=>{let s=t.currentTimeMillisUnsafe();return oh(e(s,i),([e,t])=>{let n=r(s,i);return n.output=e,n.duration=t,ol(aX(t),n)})})})),AI=e=>Au(oI(Ap(e),e=>(t,r)=>Al(e(t,r),{onSuccess:e=>n0([r,e[1]]),onFailure:n1,onDone:()=>As(r)}))),Af=ez(2,(e,t)=>Au(oI(Ap(e),e=>{let r=Ah();return(i,s)=>oh(e(i,s),e=>{let[n,o]=e,a=t({...r(i,s),output:n,duration:o});return oh(e7(a,tV)?a:n0(a),t=>t?n0(e):As(n))})}))),AE=(C=sO(s_),Am(n0(e=>n0([e.attempt-1,C])))),AB={"~effect/Deferred":{_A:eq,_E:eq},pipe(){return eP(this,arguments)}},Ay=ez(2,(e,t)=>n2(()=>AQ(e,t))),AQ=(e,t)=>{if(e.effect)return!1;if(e.effect=t,e.resumes){for(let r=0;r<e.resumes.length;r++)e.resumes[r](t);e.resumes=void 0}return!0},AN=(e,t)=>{let r=o7(t);if("Closed"===e.state._tag)return r.state=e.state,r;let i={};return o9(e,i,e=>o3(r,e)),o9(r,i,t=>n2(()=>o6(e,i))),r},Ab="~effect/Layer/MemoMap",AS={"~effect/Layer":{_ROut:eq,_E:eq,_RIn:eq},pipe(){return eP(this,arguments)}},Aw=e=>{let t=Object.create(AS);return t.build=e,t},AD=e=>Aw((t,r)=>{let i=AN(r);return ai(e(t,i),e=>"Failure"===e._tag?o3(i,e):n7)}),Ax=e=>{let t=AD((r,i)=>r.getOrElseMemoize(t,i,e));return t};class AR{get[Ab](){return Ab}parent;constructor(e){this.parent=e}map=new Map;get(e,t){let r=this.map.get(e);if(r)return r.observers++,oc(o8(t,e=>r.finalizer(e)),r.effect);return this.parent?.get(e,t)}getOrElseMemoize(e,t,r){var i;let s,n,o,a,A=this.get(e,t);return A?A:(i=this,s=o7(),(n=Object.create(AB)).resumes=void 0,n.effect=void 0,a={observers:1,effect:(o=n,oi(e=>o.effect?e(o.effect):(o.resumes??=[],o.resumes.push(e),n2(()=>{let t=o.resumes.indexOf(e);o.resumes.splice(t,1)})))),finalizer:t=>n3(()=>(a.observers--,0===a.observers)?(i.map.delete(e),o3(s,t)):n7)},i.map.set(e,a),o8(t,a.finalizer).pipe(oh(()=>r(i,s)),ai(e=>(a.effect=e,Ay(o,e)))))}}let AM=()=>new AR;class Ak extends sg()("effect/Layer/CurrentMemoMap"){static forkOrCreate(e){let t=sy(e,Ak);return t?new AR(t):AM()}}let AF=ez(3,(e,t,r)=>oU(oI(e.build(t,r),sB(Ak,t)),Ak,t)),AU=ez(2,(e,t)=>rI(r=>AF(e,Ak.forkOrCreate(r.context),t))),Av=function(){return 1==arguments.length?e=>AT(sE(arguments[0],e)):AT(sE(arguments[0],arguments[1]))},AT=e=>Aw(eV(n0(e))),AL=e=>Ax(eV(n2(e))),AO=function(){return 1==arguments.length?e=>AH(arguments[0],e):AH(arguments[0],arguments[1])},AH=(e,t)=>AP(oI(t,t=>sE(e,t))),AP=e=>Ax((t,r)=>at(e,r)),AY=(e,t,r)=>{let i=AN(r,"parallel");return aI(e,e=>e.build(t,AN(i,"sequential")),{concurrency:e.length}).pipe(oI(e=>((...e)=>{let t=new Map;for(let r=0;r<e.length;r++)e[r].mapUnsafe.forEach((e,r)=>{t.set(r,e)});return sp(t)})(...e)))},AG=(...e)=>AD((t,r)=>AY(e,t,r)),Az=ez(2,(e,t)=>AD((r,i)=>oh(Array.isArray(t)?AY(t,r,i):t.build(r,i),t=>e.build(r,i).pipe(oF(t),oI(e=>eq(e)))))),Aq=((e=>e7(e[0],tV),(e,t,r)=>{var i;let s;return sI(t)?oF(e,t):(i=Array.isArray(t)?AG(...t):t,s=t=>oh(r?.local?AF(i,AM(),t):AU(i,t),t=>oF(e,t)),n3(()=>{let e=o7();return ai(s(e),t=>n3(()=>o5(e,t)??n7))}))}),ez(3,(e,t,r)=>oh(AC(t),t=>{let i,s=Ad.defaultValue(),n=oP(n3(()=>oU(e,Ad,s)),e=>(i=e,oh(t(e),e=>(s=e,n))));return An(n,e=>tq(()=>r(i,e)))}))),AV=ez(2,(e,t)=>Aq(e,"function"==typeof t?t(eq):e7(t,Ac)?t:AJ(t),rp)),A_=AI(AE),AJ=e=>{let t=e.schedule?AI(e.schedule):A_;return e.while&&(t=Af(t,({input:t})=>{let r=e.while(t);return e7(r,tV)?r:n0(r)})),e.until&&(t=Af(t,({input:t})=>{let r=e.until(t);return e7(r,tV)?oI(r,e=>!e):n0(!r)})),void 0!==e.times&&(t=Af(t,({attempt:t})=>n0(t<=e.times))),t},AW=Af(AE,({attempt:e})=>n0(e<=1)),Aj=($={_E:e=>e,_A:e=>e,_R:e=>e},e$.add($),$);({...{[tr](){return tc(this,Object.keys(this))},[tf](e){let t=Object.keys(this),r=Object.keys(e);if(t.length!==r.length)return!1;for(let i=0;i<t.length;i++)if(t[i]!==r[i]||!tE(this[t[i]],e[t[i]]))return!1;return!0}},"~effect/Request":Aj});let AK=e=>{let t="function"==typeof e?e:e.try,r="function"==typeof e?e=>new a5(e,"An error occurred in Effect.tryPromise"):e.catch;return ot(function(e,i){let s=t=>{try{e(rp(tq(()=>r(t))))}catch(t){e(n9(t))}};try{tq(()=>t(i)).then(t=>e(n0(t)),s)}catch(e){s(e)}},0!==t.length)},AX=(...e)=>n3(()=>oA(1===e.length?e[0]():e[1].call(e[0].self))),AZ=e=>n3(()=>n1(tq(e))),A$=(e,t,r)=>ok(i=>am(s=>oh(o2,n=>od(r?.interruptible?s(e):e,e=>o8(n,r=>oF(t(e,r),i)))))),A0=e=>al(e,sJ),A1=function(){let e,t=(e=arguments[0],e7(e,tV)),r=t?arguments[1]:arguments[0],i=t?arguments[2]:arguments[1],s=eq;if("Span"===r._tag){var n,o;i=(e=>{var t;let r;if(e?.captureStackTrace===!1||e?.captureStackTrace!==void 0&&"boolean"!=typeof e.captureStackTrace)return e;let i=Error.stackTraceLimit;sc(3);let s=Error();return sc(i),{...e,captureStackTrace:(t=()=>s.stack,()=>{if(void 0!==r)return r;let e=t();if(!e)return;let i=e.split("\n");if(void 0!==i[3])return r=i[3].trim()})}})(i),n=r.name,o="function"==typeof(o=i?.captureStackTrace)?o:ej,s=oR(np,e=>({name:n,stack:o,parent:e}))}return t?aq(s(arguments[0]),r):e=>aq(s(e),r)},A2=(e,t,r)=>(...i)=>oi(s=>{try{e(...i,(e,r)=>{e?s(rp(t?t(e,i):e)):s(n0(r))})}catch(e){s(r?rp(r(e,i)):n9(e))}}),A3=(e,...t)=>oo(e.length,0===t.length?function(){return oa(()=>e.apply(this,arguments))}:function(){let r=oa(()=>e.apply(this,arguments));for(let e of t)r=e(r);return r}),A5="~effect/ManagedRuntime";function A4(e,t){return oh(e.contextEffect,e=>oF(t,e))}let A8=/^[+-]?\d+$/,A9="~effect/BigDecimal",A6={[A9]:A9,[tr](){let e=la(this);return tn(ti(e.value),tA(e.scale))},[tf](e){return A7(e)&&lm(this,e)},toString(){return`BigDecimal(${lp(this)})`},toJSON(){return{_id:"BigDecimal",value:String(this.value),scale:this.scale}},[tH](){return this.toJSON()},pipe(){return eP(this,arguments)}},A7=e=>e7(e,A9),le=(e,t)=>{let r=Object.create(A6);return r.value=e,r.scale=t,r},lt=(e,t)=>{if(e!==lr&&e%ln===lr)throw RangeError("Value must be normalized");let r=le(e,t);return r.normalized=r,r},lr=BigInt(0),li=BigInt(1),ls=BigInt(-1),ln=BigInt(10),lo=lt(lr,0),la=e=>{if(void 0===e.normalized)if(e.value===lr)e.normalized=lo;else{let t=`${e.value}`,r=0;for(let e=t.length-1;e>=0;e--)if("0"===t[e])r++;else break;0===r&&(e.normalized=e);let i=BigInt(t.substring(0,t.length-r)),s=e.scale-r;e.normalized=lt(i,s)}return e.normalized},lA=ez(2,(e,t)=>t>e.scale?le(e.value*ln**BigInt(t-e.scale),t):t<e.scale?le(e.value/ln**BigInt(e.scale-t),t):e),ll=ez(2,(e,t)=>t.value===lr?e:e.value===lr?t:e.scale>t.scale?le(lA(t,e.scale).value+e.value,e.scale):e.scale<t.scale?le(lA(e,t.scale).value+t.value,t.scale):le(e.value+t.value,e.scale)),lc=rK((e,t)=>{let r=rX(lu(e),lu(t));return 0!==r?r:e.scale>t.scale?rZ(e.value,lA(t,e.scale).value):e.scale<t.scale?rZ(lA(e,t.scale).value,t.value):rZ(e.value,t.value)}),ld=(j=lc,ez(2,(e,t)=>-1===j(e,t))),lg=r0(lc),lu=e=>e.value===lr?0:e.value<lr?-1:1,lh=rW((e,t)=>e.scale>t.scale?lA(t,e.scale).value===e.value:e.scale<t.scale?lA(e,t.scale).value===t.value:e.value===t.value),lm=ez(2,(e,t)=>lh(e,t)),lp=e=>{let t,r,i=la(e);if(Math.abs(i.scale)>=16)return lC(i);let s=i.value<lr,n=s?`${i.value}`.substring(1):`${i.value}`;if(i.scale>=n.length)t="0",r="0".repeat(i.scale-n.length)+n;else{let e=n.length-i.scale;if(e>n.length){let i=e-n.length;t=`${n}${"0".repeat(i)}`,r=""}else r=n.slice(e),t=n.slice(0,e)}let o=""===r?t:`${t}.${r}`;return s?`-${o}`:o},lC=e=>{if(lI(e))return"0e+0";let t=la(e),r=`${(t.value<lr?le(-t.value,t.scale):t).value}`,i=r.slice(0,1),s=r.slice(1),n=`${lf(t)?"-":""}${i}`;""!==s&&(n+=`.${s}`);let o=s.length-t.scale;return`${n}e${o>=0?"+":""}${o}`},lI=e=>e.value===lr,lf=e=>e.value<lr,lE=e=>A7(e[0]),lB=ez(lE,(e,t=0)=>e.scale<=t?e:le(e.value/ln**BigInt(e.scale-t),t)),ly=ez(lE,(e,t=0)=>{let r=lB(e,t);return e.value>lr&&ld(r,e)?ll(r,le(li,t)):r}),lQ=ez(lE,(e,t=0)=>{let r=lB(e,t);return lf(e)&&lg(r,e)?ll(r,le(ls,t)):r}),lN=class extends eG{constructor(e){super(),e&&Object.assign(this,e)}},lb=rE,lS=rB,lw="~effect/time/DateTime",lD="~effect/time/DateTime/TimeZone",lx={[lw]:lw,pipe(){return eP(this,arguments)},[tH](){return this.toString()},toJSON(){return lZ(this).toJSON()}},lR={...lx,_tag:"Utc",[tr](){return tA(this.epochMilliseconds)},[tf](e){return lT(e)&&"Utc"===e._tag&&this.epochMilliseconds===e.epochMilliseconds},toString(){return`DateTime.Utc(${lZ(this).toJSON()})`}},lM={...lx,_tag:"Zoned",[tr](){return tn(tA(this.epochMilliseconds))(ti(this.zone))},[tf](e){return lT(e)&&"Zoned"===e._tag&&this.epochMilliseconds===e.epochMilliseconds&&tE(this.zone,e.zone)},toString(){return`DateTime.Zoned(${ci(this)})`}},lk={[lD]:lD,[tH](){return this.toString()}},lF={...lk,_tag:"Named",[tr](){return tl(`Named:${this.id}`)},[tf](e){return lO(e)&&"Named"===e._tag&&this.id===e.id},toString(){return`TimeZone.Named(${this.id})`},toJSON(){return{_id:"TimeZone",_tag:"Named",id:this.id}}},lU={...lk,_tag:"Offset",[tr](){return tl(`Offset:${this.offset}`)},[tf](e){return lO(e)&&"Offset"===e._tag&&this.offset===e.offset},toString(){return`TimeZone.Offset(${l1(this.offset)})`},toJSON(){return{_id:"TimeZone",_tag:"Offset",offset:this.offset}}},lv=(e,t,r)=>{let i=Object.create(lM);return i.epochMilliseconds=e,i.zone=t,Object.defineProperty(i,"partsUtc",{value:r,enumerable:!1,writable:!0}),Object.defineProperty(i,"adjustedEpochMillis",{value:void 0,enumerable:!1,writable:!0}),Object.defineProperty(i,"partsAdjusted",{value:void 0,enumerable:!1,writable:!0}),i},lT=e=>e7(e,lw),lL=e=>lT(e[0]),lO=e=>e7(e,lD),lH=((e,t)=>e.epochMilliseconds===t.epochMilliseconds,e=>{let t=Object.create(lR);return t.epochMilliseconds=e,Object.defineProperty(t,"partsUtc",{value:void 0,enumerable:!1,writable:!0}),t}),lP=e=>{let t=e.getTime();if(Number.isNaN(t))throw new a0("Invalid date");return lH(t)},lY=e=>{if(lT(e))return e;if(e instanceof Date)return lP(e);if("object"==typeof e){if("epochMilliseconds"in e)return lH(e.epochMilliseconds);let t=new Date(0);return l3(t,e),lP(t)}return"string"!=typeof e||lG(e)?lP(new Date(e)):lP(new Date(e+"Z"))},lG=e=>/Z|GMT|[+-]\d{2}$|[+-]\d{2}:?\d{2}$|\]$/.test(e),lz=ih((e,t)=>{let r,i=t?.timeZone;if(void 0===i&&lT(e)&&"Zoned"===e._tag)return e;let s=lY(e);if(s.epochMilliseconds<-86399999568e5||s.epochMilliseconds>86399999496e5)throw RangeError(`Epoch millis out of range: ${s.epochMilliseconds}`);if(void 0===i&&"object"==typeof e&&"timeZoneId"in e&&(i=e.timeZoneId),void 0===i)r=lW(-60*new Date(s.epochMilliseconds).getTimezoneOffset()*1e3);else if(lO(i))r=i;else if("number"==typeof i)r=lW(i);else{let e=lX(i);if(r4(e))throw new a0(`Invalid time zone: ${i}`);r=e.value}return t?.adjustForTimeZone!==!0?lv(s.epochMilliseconds,r,s.partsUtc):l5(s.epochMilliseconds,r,t?.disambiguation??"compatible")}),lq=ih(lY),lV=/^(.{17,35})\[(.+)\]$/,l_=((e,t,r)=>r?.adjustForTimeZone===!0?l5(e.epochMilliseconds,t,r?.disambiguation??"compatible"):lv(e.epochMilliseconds,t,e.partsUtc),new Map),lJ={day:"numeric",month:"numeric",year:"numeric",hour:"numeric",minute:"numeric",second:"numeric",timeZoneName:"longOffset",fractionalSecondDigits:3,hourCycle:"h23"},lW=e=>{let t=Object.create(lU);return t.offset=e,t},lj=ih(e=>{if(l_.has(e))return l_.get(e);try{var t=new Intl.DateTimeFormat("en-US",{...lJ,timeZone:e});let r=t.resolvedOptions().timeZone;if(l_.has(r))return l_.get(r);let i=Object.create(lF);return i.id=r,i.format=t,l_.set(r,i),i}catch{throw new a0(`Invalid time zone: ${e}`)}}),lK=/^(?:GMT|[+-])/,lX=e=>{if(lK.test(e)){let t=l8(e);return null===t?r2():r3(lW(t))}return lj(e)},lZ=e=>new Date(e.epochMilliseconds),l$=e=>{if("Utc"===e._tag)return new Date(e.epochMilliseconds);if("Offset"===e.zone._tag)return new Date(e.epochMilliseconds+e.zone.offset);if(void 0!==e.adjustedEpochMilliseconds)return new Date(e.adjustedEpochMilliseconds);let t=e.zone.format.formatToParts(e.epochMilliseconds).filter(e=>"literal"!==e.type),r=new Date(0);return r.setUTCFullYear(Number(t[2].value),Number(t[0].value)-1,Number(t[1].value)),r.setUTCHours(Number(t[3].value),Number(t[4].value),Number(t[5].value),Number(t[6].value)),e.adjustedEpochMilliseconds=r.getTime(),r},l0=e=>l$(e).getTime()-l2(e),l1=e=>{let t=Math.abs(e),r=Math.floor(t/36e5),i=Math.round(t%36e5/6e4);return 60===i&&(r+=1,i=0),`${e<0?"-":"+"}${String(r).padStart(2,"0")}:${String(i).padStart(2,"0")}`},l2=e=>e.epochMilliseconds,l3=(e,t)=>{if(void 0!==t.year&&e.setUTCFullYear(t.year),void 0!==t.month&&e.setUTCMonth(t.month-1),void 0!==t.day&&e.setUTCDate(t.day),void 0!==t.weekDay){let r=t.weekDay-e.getUTCDay();e.setUTCDate(e.getUTCDate()+r)}void 0!==t.hour&&e.setUTCHours(t.hour),void 0!==t.minute&&e.setUTCMinutes(t.minute),void 0!==t.second&&e.setUTCSeconds(t.second),void 0!==t.millisecond&&e.setUTCMilliseconds(t.millisecond)},l5=(e,t,r)=>{if("Offset"===t._tag)return lv(e-t.offset,t);let i=l9(e-864e5,e,t),s=l9(e+864e5,e,t);if(i===s)return lv(e-i,t);let n=i-s;if(i<s){if(l9(e-s,e,t)===s)return lv(e-s,t);let n=lv(e-i,t);if(e!==l$(n).getTime())switch(r){case"reject":{let r=new Date(e).toISOString();throw RangeError(`Gap time: ${r} does not exist in time zone ${t.id}`)}case"earlier":return lv(e-s,t)}return n}if(l9(e-i,e,t)===i){if("earlier"===r||"compatible"===r||l9(e-i+n,e+n,t)===i)return lv(e-i,t);if("reject"===r){let r=new Date(e).toISOString();throw RangeError(`Ambiguous time: ${r} occurs twice in time zone ${t.id}`)}}return lv(e-s,t)},l4=/([+-])(\d{2}):(\d{2})$/,l8=e=>{let t=l4.exec(e);if(null===t)return null;let[,r,i,s]=t;return("+"===r?1:-1)*(60*Number(i)+Number(s))*6e4},l9=(e,t,r)=>{let i=r.format.formatToParts(e).find(e=>"timeZoneName"===e.type)?.value??"";if("GMT"===i)return 0;let s=l8(i);return null===s?l0(lv(t,r)):s},l6=ez(lL,(e,t,r)=>{if("Utc"===e._tag){let r=lZ(e);return t(r),lH(r.getTime())}let i=new Date(l$(e).getTime());return t(i),l5(i.getTime(),e.zone,r?.disambiguation??"compatible")}),l7=((e,t)=>l7(e,e=>{let r=new Date(e);return t(r),r.getTime()}),ez(2,(e,t)=>{let r=t(l2(e));return"Utc"===e._tag?lH(r):lv(r,e.zone)})),ce=((e,t)=>t(l$(e)),ez(2,(e,t)=>t(lZ(e)))),ct=(e,t)=>{e.setTime(e.getTime()+t)},cr=((e,t)=>l6(e,e=>{if(t.milliseconds&&ct(e,t.milliseconds),t.seconds&&ct(e,1e3*t.seconds),t.minutes&&ct(e,60*t.minutes*1e3),t.hours&&ct(e,60*t.hours*6e4),t.days&&e.setUTCDate(e.getUTCDate()+t.days),t.weeks&&e.setUTCDate(e.getUTCDate()+7*t.weeks),t.months){let r=e.getUTCDate();e.setUTCMonth(e.getUTCMonth()+t.months+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}if(t.years){let r=e.getUTCDate(),i=e.getUTCMonth();e.setUTCFullYear(e.getUTCFullYear()+t.years,i+1,0),r<e.getUTCDate()&&e.setUTCDate(r)}}),e=>{let t=l$(e);return"Utc"===e._tag?t.toISOString():`${t.toISOString().slice(0,-1)}${l1(l0(e))}`}),ci=e=>"Offset"===e.zone._tag?cr(e):`${cr(e)}[${e.zone.id}]`,cs="~effect/encoding/EncodingError";class cn extends lS("EncodingError"){[cs]=cs}let co=e=>"string"==typeof e?cd(cA.encode(e)):cd(e),ca=e=>{let t=cc(e),r=t.length;if(r%4!=0)return rz(new cn({kind:"Decode",module:"Base64",input:t,message:`Length must be a multiple of 4, but is ${r}`}));let i=t.indexOf("=");if(-1!==i&&(i<r-2||i===r-2&&"="!==t[r-1]))return rz(new cn({kind:"Decode",module:"Base64",input:t,message:"Found a '=' character, but it is not at the end"}));try{let e=t.endsWith("==")?2:+!!t.endsWith("="),i=new Uint8Array(r/4*3-e);for(let e=0,s=0;e<r;e+=4,s+=3){let r=cg(t.charCodeAt(e))<<18|cg(t.charCodeAt(e+1))<<12|cg(t.charCodeAt(e+2))<<6|cg(t.charCodeAt(e+3));i[s]=r>>16,i[s+1]=r>>8&255,i[s+2]=255&r}return rq(i)}catch(e){return rz(new cn({kind:"Decode",module:"Base64",input:t,message:e instanceof Error?e.message:"Invalid input"}))}},cA=new TextEncoder,cl=new TextDecoder,cc=e=>e.replace(/[\n\r]/g,""),cd=e=>{let t,r=e.length,i="";for(t=2;t<r;t+=3)i+=cu[e[t-2]>>2],i+=cu[(3&e[t-2])<<4|e[t-1]>>4],i+=cu[(15&e[t-1])<<2|e[t]>>6],i+=cu[63&e[t]];return t===r+1&&(i+=cu[e[t-2]>>2],i+=cu[(3&e[t-2])<<4],i+="=="),t===r&&(i+=cu[e[t-2]>>2],i+=cu[(3&e[t-2])<<4|e[t-1]>>4],i+=cu[(15&e[t-1])<<2],i+="="),i};function cg(e){if(e>=ch.length)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);let t=ch[e];if(255===t)throw TypeError(`Invalid character ${String.fromCharCode(e)}`);return t}let cu=["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","0","1","2","3","4","5","6","7","8","9","+","/"],ch=[255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,255,62,255,255,255,63,52,53,54,55,56,57,58,59,60,61,255,255,255,0,255,255,255,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,255,255,255,255,255,255,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51],cm=e=>cd(e).replace(/=/g,"").replace(/\+/g,"-").replace(/\//g,"_"),cp=e=>{let t="";for(let r=0;r<e.length;++r)t+=cI[e[r]];return t},cC=e=>{if(48<=e&&e<=57)return e-48;if(97<=e&&e<=102)return e-97+10;if(65<=e&&e<=70)return e-65+10;throw TypeError("Invalid input")},cI=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];function cf(e,t,r){return"__proto__"===t?Object.defineProperty(e,t,{value:r,writable:!0,enumerable:!0,configurable:!0}):e[t]=r,e}let cE=eX(e=>{let t=(e.checks?e.checks[e.checks.length-1].annotations:e.annotations)?.identifier;return"string"==typeof t?t:e.getExpected(cE)}),cB=new WeakMap,cy=e=>{if(cB.has(e))return cB.get(e);throw Error("Unable to get redacted value"+(e.label?` with label: "${e.label}"`:""))},cQ="~effect/data/Redacted",cN=(e,t)=>{let r=Object.create(cb);return t?.label&&(r.label=t.label),cB.set(r,e),r},cb={[cQ]:{_A:e=>e},label:void 0,...t0,toJSON(){return this.toString()},toString(){return`<redacted${e0(this.label)?":"+this.label:""}>`},[tr](){return ti(cB.get(this))},[tf](e){return e7(e,cQ)&&tE(cB.get(this),cB.get(e))}},cS="~effect/SchemaIssue/Issue";class cw{[cS]=cS;toString(){return cz(this)}}class cD extends cw{_tag="Filter";actual;filter;issue;constructor(e,t,r){super(),this.actual=e,this.filter=t,this.issue=r}}class cx extends cw{_tag="Encoding";ast;actual;issue;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issue=r}}class cR extends cw{_tag="Pointer";path;issue;constructor(e,t){super(),this.path=e,this.issue=t}}class cM extends cw{_tag="MissingKey";annotations;constructor(e){super(),this.annotations=e}}class ck extends cw{_tag="UnexpectedKey";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class cF extends cw{_tag="Composite";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class cU extends cw{_tag="InvalidType";ast;actual;constructor(e,t){super(),this.ast=e,this.actual=t}}class cv extends cw{_tag="InvalidValue";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class cT extends cw{_tag="Forbidden";actual;annotations;constructor(e,t){super(),this.actual=e,this.annotations=t}}class cL extends cw{_tag="AnyOf";ast;actual;issues;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.issues=r}}class cO extends cw{_tag="OneOf";ast;actual;successes;constructor(e,t,r){super(),this.ast=e,this.actual=t,this.successes=r}}function cH(e,t){if(e7(t,cS))return t;if("string"==typeof t)return new cv(r3(e),{message:t});let r="string"==typeof t.issue?new cv(r3(e),{message:t.issue}):t.issue;return new cR(t.path,r)}let cP=e=>{let t=cV(e);if(void 0!==t)return t;switch(e._tag){case"InvalidType":return cG(cE(e.ast),cJ(e.actual));case"InvalidValue":return`Invalid data ${cJ(e.actual)}`;case"MissingKey":return"Missing key";case"UnexpectedKey":return`Unexpected key with value ${tU(e.actual)}`;case"Forbidden":return"Forbidden operation";case"OneOf":return`Expected exactly one member to match the input ${tU(e.actual)}`}},cY=e=>cV(e.issue)??cV(e);function cG(e,t){return`Expected ${e}, got ${t}`}let cz=e=>(function e(t,r,i,s){switch(t._tag){case"Filter":{let n=s(t);if(void 0!==n)return[{path:r,message:n}];if("InvalidValue"===t.issue._tag)return[{path:r,message:cG(function e(t){let r=t.annotations?.expected;if("string"==typeof r)return r;switch(t._tag){case"Filter":return"<filter>";case"FilterGroup":return t.checks.map(t=>e(t)).join(" & ")}}(t.filter),tU(t.actual))}];return e(t.issue,r,i,s)}case"Encoding":return e(t.issue,r,i,s);case"Pointer":return e(t.issue,[...r,...t.path],i,s);case"Composite":return t.issues.flatMap(t=>e(t,r,i,s));case"AnyOf":{let n=cV(t);if(0===t.issues.length){if(void 0!==n)return[{path:r,message:n}];return[{path:r,message:cG(cE(t.ast),tU(t.actual))}]}return t.issues.flatMap(t=>e(t,r,i,s))}default:return[{path:r,message:i(t)}]}})(e,[],cP,cY).map(cq).join("\n");function cq(e){let t=e.message;if(e.path&&e.path.length>0){let r=e.path.map(e=>`[${tT(e)}]`).join("");t+=` + at ${r}`}return t}function cV(e){switch(e._tag){case"InvalidType":case"OneOf":case"Composite":case"AnyOf":return c_(e.ast.annotations);case"InvalidValue":case"Forbidden":return c_(e.annotations);case"MissingKey":return c_(e.annotations,"messageMissingKey");case"UnexpectedKey":return c_(e.ast.annotations,"messageUnexpectedKey");case"Filter":return c_(e.filter.annotations);case"Encoding":return cV(e.issue)}}function c_(e,t="message"){let r=e?.[t];if("string"==typeof r)return r}function cJ(e){return r4(e)?"no value provided":tU(e.value)}function cW(e){let t;for(let r of e.reasons){if(!rn(r)||!e7(r.error,cS))return;t??=r.error}return t}function cj(e,t){let r=cW(e);if(void 0===r)throw Error(t,{cause:e});return r}class cK extends eG{run;constructor(e){super(),this.run=e}map(e){return new cK((t,r)=>this.run(t,r).pipe(of(iC(e))))}compose(e){return cZ(this)?e:cZ(e)?this:new cK((t,r)=>this.run(t,r).pipe(oC(t=>e.run(t,r))))}}let cX=new cK(n0);function cZ(e){return e.run===cX.run}function c$(e){var t;return t=iC(e),new cK(e=>n0(t(e)))}function c0(e){var t;return t=(t,r)=>e(t,r).pipe(of(r3)),new cK((e,r)=>r4(e)?n8:t(e.value,r))}function c1(){return c$(globalThis.String)}function c2(){return c$(globalThis.Number)}class c3{_tag="Middleware";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new c3(this.encode,this.decode)}}let c5="~effect/SchemaTransformation/Transformation";class c4{[c5]=c5;_tag="Transformation";decode;encode;constructor(e,t){this.decode=e,this.encode=t}flip(){return new c4(this.encode,this.decode)}compose(e){return new c4(this.decode.compose(e.decode),e.encode.compose(this.encode))}}let c8=e=>e7(e,c5)?e:new c4(e.decode,e.encode);function c9(e){return new c4(c0(e.decode),c0(e.encode))}let c6=new c4(cX,cX),c7=new c4(c2(),c1()),de=new c4(c$(globalThis.BigInt),c1());c$(e=>new globalThis.Date(e));let dt=e=>{let t;return"object"!=typeof e||null===e||Array.isArray(e)||"string"!=typeof e.message?e:(t=Object.hasOwn(e,"cause")?Error(e.message,{cause:dt(e.cause)}):Error(e.message),"string"==typeof e.name&&"Error"!==e.name&&(t.name=e.name),"string"==typeof e.stack&&(t.stack=e.stack),t)};function dr(e){return t=>t._tag===e}c0(e=>oE(n5(ca(e)),t=>new cv(r3(e),{message:t.message}))),c$(co),c0(e=>rJ(r_(ca(e),e=>cl.decode(e)),{onFailure:t=>rp(new cv(r3(e),{message:t.message})),onSuccess:n0})),c$(co),c0(e=>rJ(r_((e=>{let t=cc(e),r=t.length;if(r%4==1)return rz(new cn({module:"Base64Url",kind:"Decode",input:t,message:`Length should be a multiple of 4, but is ${r}`}));if(!/^[-_A-Z0-9]*?={0,2}$/i.test(t))return rz(new cn({module:"Base64Url",kind:"Decode",input:t,message:"Invalid input"}));let i=r%4==2?`${t}==`:r%4==3?`${t}=`:t;return ca(i=i.replace(/-/g,"+").replace(/_/g,"/"))})(e),e=>cl.decode(e)),{onFailure:t=>rp(new cv(r3(e),{message:t.message})),onSuccess:n0})),c$(e=>"string"==typeof e?cm(cA.encode(e)):cm(e)),c0(e=>rJ(r_((e=>{let t=new TextEncoder().encode(e);if(t.length%2!=0)return rz(new cn({module:"Hex",kind:"Decode",input:e,message:`Length must be a multiple of 2, but is ${t.length}`}));try{let e=t.length/2,r=new Uint8Array(e);for(let i=0;i<e;i++){let e=cC(t[2*i]),s=cC(t[2*i+1]);r[i]=e<<4|s}return rq(r)}catch(t){return rz(new cn({module:"Hex",kind:"Decode",input:e,message:t instanceof Error?t.message:"Invalid input"}))}})(e),e=>cl.decode(e)),{onFailure:t=>rp(new cv(r3(e),{message:t.message})),onSuccess:n0})),c$(e=>"string"==typeof e?cp(cA.encode(e)):cp(e)),c0(e=>{try{return n0(globalThis.decodeURIComponent(e))}catch(t){return rp(new cv(r3(e),{message:t instanceof URIError?t.message:"Invalid URI component"}))}}),c$(encodeURIComponent);let di=dr("Declaration"),ds=dr("Never"),dn=dr("Literal"),da=dr("UniqueSymbol"),dA=dr("Arrays"),dl=dr("Objects"),dc=dr("Union");class dd{to;transformation;constructor(e,t){this.to=e,this.transformation=t}}let dg={};class du{isOptional;isMutable;defaultValue;annotations;constructor(e,t,r,i){this.isOptional=e,this.isMutable=t,this.defaultValue=r,this.annotations=i}}let dh="~effect/Schema";class dm{[dh]=dh;annotations;checks;encoding;context;constructor(e,t,r,i){this.annotations=e,this.checks=t,this.encoding=r,this.context=i}toString(){return`<${this._tag}>`}}class dp extends dm{_tag="Declaration";typeParameters;run;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.typeParameters=e,this.run=t,this.encodingChecks=o}getParser(){let e=this.run(this.typeParameters);return(t,r)=>r4(t)?n8:of(e(t.value,this,r),r3)}_rebuild(e,t,r){let i=d6(this.typeParameters,e);return i===this.typeParameters&&t===this.checks&&r===this.encodingChecks?this:new dp(i,this.run,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}getExpected(){let e=this.annotations?.expected;return"string"==typeof e?e:"<Declaration>"}}let dC=new class extends dm{_tag="Null";getParser(){return go(this,null)}getExpected(){return"null"}},dI=new dd(dC,new c4(c$(()=>void 0),c$(()=>null))),df=new class extends dm{_tag="Undefined";getParser(){return go(this,void 0)}toCodecJson(){return d0(this,[dI])}getExpected(){return"undefined"}},dE=new class extends dm{_tag="Unknown";getParser(){return ga(this,e6)}getExpected(){return"unknown"}};class dB extends dm{_tag="Literal";literal;constructor(e,t,r,i,s){if(super(t,r,i,s),"number"==typeof e&&!globalThis.Number.isFinite(e))throw Error(`A numeric literal must be finite, got ${tU(e)}`);this.literal=e}getParser(){return go(this,this.literal)}matchPart(e,t){return e===globalThis.String(this.literal)?this.literal:void 0}toCodecJson(){return"bigint"==typeof this.literal?dy(this):this}toCodecStringTree(){return"string"==typeof this.literal?this:dy(this)}getExpected(){return"string"==typeof this.literal?JSON.stringify(this.literal):globalThis.String(this.literal)}}function dy(e){let t=globalThis.String(e.literal);return d0(e,[new dd(new dB(t),new c4(c$(()=>e.literal),c$(()=>t)))])}let dQ=new class extends dm{_tag="String";getParser(){return ga(this,e0)}matchPart(e,t){return gA(this,e,t)}getExpected(){return"string"}};function dN(e,t){return e.some(e=>{switch(e._tag){case"Filter":return e.annotations?.meta?._tag===t;case"FilterGroup":return dN(e.checks,t)}})}let db=new class extends dm{_tag="Number";getParser(){return ga(this,e1)}matchKey(e,t){return this._match(gu,e,t)}matchPart(e,t){return this._match(gg,e,t)}_match(e,t,r){return e.test(t)?gA(this,globalThis.Number(t),r):void 0}toCodecJson(){return this.checks&&(dN(this.checks,"isFinite")||dN(this.checks,"isInt"))?this:d0(this,[dJ])}toCodecStringTree(){return this.checks&&(dN(this.checks,"isFinite")||dN(this.checks,"isInt"))?d0(this,[gm]):d0(this,[gp])}getExpected(){return"number"}},dS=new class extends dm{_tag="Symbol";getParser(){return ga(this,e5)}matchKey(e,t){return gA(this,e,t)}toCodecStringTree(){return d0(this,[gE])}getExpected(){return"symbol"}},dw=new class extends dm{_tag="BigInt";getParser(){return ga(this,e3)}matchPart(e,t){return gC.test(e)?gA(this,globalThis.BigInt(e),t):void 0}toCodecStringTree(){return d0(this,[gI])}getExpected(){return"bigint"}},dD=aE({onItem(e,t,r){let i=r<e.len?r3(t):r2();return e.getParser(e.tailThreshold,r).parser(i,e.options)},step(e,t,r,i){if("Failure"===r._tag)return dR(e,e.ast,i,r);if("Some"===r.value._tag)e.output[i]=r.value.value;else{let t=e.getParser(e.tailThreshold,i);if(gr(t.ast))return;let r=new cR([i],new cM(t.ast.context?.annotations));if("all"!==e.options.errors)return rp(new cF(e.ast,e.oinput,[r]));e.issues?e.issues.push(r):e.issues=[r]}}}),dx=e=>(e="unbounded"===e?1/0:e??1)>1?{concurrency:e}:void 0,dR=(e,t,r,i)=>{if(0===i.cause.reasons.length)return i;let s=cW(i.cause);if(void 0===s)return rm(nR(i.cause,i=>new cF(t,e.oinput,[new cR([r],i)])));let n=new cR([r],s);if("all"!==e.options.errors)return rp(new cF(t,e.oinput,[n]));e.issues?e.issues.push(n):e.issues=[n]},dM="[+-]?\\d*\\.?\\d+(?:[Ee][+-]?\\d+)?";class dk{name;type;constructor(e,t){this.name=e,this.type=t}}function dF(e){switch(e._tag){case"String":case"Number":case"Symbol":case"TemplateLiteral":return!0;case"Union":return e.types.every(dF);default:return!1}}class dU{parameter;type;merge;constructor(e,t,r){if(!(dF(e)&&dF(gs(e))))throw Error(`Invalid index signature parameter ${e._tag}`);if(this.parameter=e,this.type=t,this.merge=r,gr(t)&&!function e(t){switch(t._tag){case"Undefined":return!0;case"Union":return t.types.some(e);default:return!1}}(t))throw Error("Cannot use `Schema.optionalKey` with index signatures, use `Schema.optional` instead.")}}class dv extends dm{_tag="Objects";propertySignatures;indexSignatures;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.propertySignatures=e,this.indexSignatures=t,this.encodingChecks=o;let a=e.map(e=>e.name).filter((e,t,r)=>r.indexOf(e)!==t);if(a.length>0)throw Error(`Duplicate identifiers: ${JSON.stringify(a)}. ts(2300)`)}getParser(e){let t=this,r=[],i=new Set,s=[];for(let n of t.propertySignatures)r.push(n.name),i.add(n.name),s.push({ps:n,parser:e(n.type),name:n.name,type:n.type});let n=t.indexSignatures.length;if(0===t.propertySignatures.length&&0===t.indexSignatures.length)return ga(t,e9);let o=n>0?aE({onItem:A3(function*(r,[s,n]){let o=e(gl(n.parameter))(r3(s),r.options),a=op(o)?o:yield*oZ(o);if("Failure"===a._tag){let e=dR(r,t,s,a);e&&(yield*e);return}let A=r3(r.input[s]),l=e(n.type)(A,r.options),c=op(l)?l:yield*oZ(l);if("Failure"===c._tag){let e=dR(r,t,s,c);e&&(yield*e);return}if("Some"===a.value._tag&&"Some"===c.value._tag){let e=a.value.value;if(i.has(s)||i.has(e))return;let t=c.value.value;if(n.merge&&n.merge.decode&&Object.hasOwn(r.out,e)){let[i,s]=n.merge.decode.combine([e,r.out[e]],[e,t]);cf(r.out,i,s)}else cf(r.out,e,t)}}),step:(e,t,r)=>"Failure"===r._tag?r:void 0}):void 0;return A3(function*(e,a){let A;if("None"===e._tag)return e;let l=e.value;if(!("object"==typeof l&&null!==l&&!Array.isArray(l)))return yield*rp(new cU(t,e));let c={},d={ast:t,oinput:e,input:l,out:c,issues:void 0,options:a},g="all"===a.errors,u="error"===a.onExcessProperty,h="preserve"===a.onExcessProperty;if(0===t.indexSignatures.length&&(u||h)){A=Reflect.ownKeys(l);for(let r=0;r<A.length;r++){let s=A[r];if(!i.has(s))if(u){let r=new cR([s],new ck(t,l[s]));if(!g)return yield*rp(new cF(t,e,[r]));d.issues?d.issues.push(r):d.issues=[r];continue}else cf(c,s,l[s])}}let m=dx(a?.concurrency),p=dT(d,s,m);if(p&&(yield*p),o){let e=se();for(let r=0;r<n;r++){let i=t.indexSignatures[r],s=function(e,t,r=dg){let i,s;return function t(n){switch(n._tag){case"String":case"TemplateLiteral":return(i??=Object.keys(e)).filter(e=>void 0!==n.matchPart(e,r));case"Number":return(i??=Object.keys(e)).filter(e=>void 0!==n.matchKey(e,r));case"Symbol":return(s??=Object.getOwnPropertySymbols(e)).filter(e=>void 0!==n.matchKey(e,r));case"Union":return[...new Set(n.types.flatMap(t))];default:return[]}}(gl(gs(t)))}(l,i.parameter,a);for(let t=0;t<s.length;t++){let r=s[t];e.push([r,i])}}let r=o(d,e,m);r&&(yield*r)}if(d.issues)return yield*rp(new cF(t,e,d.issues));if("original"===a.propertyOrder){let e=(A??Reflect.ownKeys(l)).concat(r),t={};for(let r of e)Object.hasOwn(c,r)&&cf(t,r,c[r]);return r3(t)}return r3(c)})}_rebuild(e,t,r,i,s){let n=d6(this.propertySignatures,t=>{let r=e(t.type);return r===t.type?t:new dk(t.name,r)}),o=d6(this.indexSignatures,i=>{let s=t(i.parameter),n=e(i.type),o=r?i.merge?.flip():i.merge;return s===i.parameter&&n===i.type&&o===i.merge?i:new dU(s,n,o)});return n===this.propertySignatures&&o===this.indexSignatures&&i===this.checks&&s===this.encodingChecks?this:new dv(n,o,this.annotations,i,void 0,this.context,s)}flip(e){return this._rebuild(e,e,!0,this.encodingChecks,this.checks)}recur(e,t=e){return this._rebuild(e,t,!1,this.checks,this.encodingChecks)}getExpected(){return 0===this.propertySignatures.length&&0===this.indexSignatures.length?"object | array":"object"}}let dT=aE({onItem(e,t){let r=Object.hasOwn(e.input,t.name)?r3(e.input[t.name]):r2();return t.parser(r,e.options)},step(e,t,r){if("Failure"===r._tag)return dR(e,e.ast,t.name,r);if("Some"===r.value._tag)cf(e.out,t.name,r.value.value);else if(!gr(t.type)){let r=new cR([t.name],new cM(t.type.context?.annotations));return"all"!==e.options.errors?rp(new cF(e.ast,e.oinput,[r])):void(e.issues?e.issues.push(r):e.issues=[r])}}});function dL(e,t){return e?t?[...e,...t]:e:t}function dO(e,t,r){return new dv(Reflect.ownKeys(e).map(t=>new dk(t,e[t].ast)),[],r,t)}function dH(e){return e.ast}function dP(e,t,r){return new dq(e.map(dH),t,void 0,r)}function dY(e){switch(e._tag){default:return[];case"Declaration":{let t=e.annotations?.["~sentinels"];return Array.isArray(t)?t:[]}case"Objects":return e.propertySignatures.flatMap(e=>{let t=e.type;if(!gr(t)){if(dn(t))return[{key:e.name,literal:t.literal}];if(da(t))return[{key:e.name,literal:t.symbol}]}return[]});case"Arrays":return e.elements.flatMap((e,t)=>dn(e)&&!gr(e)?[{key:t,literal:e.literal}]:[]);case"Suspend":return dY(e.thunk())}}let dG=new WeakMap;function dz(e){return t=>{let r=gs(t);return"Literal"===r._tag?r.literal===e:"UniqueSymbol"!==r._tag||r.symbol===e}}class dq extends dm{_tag="Union";types;mode;encodingChecks;constructor(e,t,r,i,s,n,o){super(r,i,s,n),this.types=e,this.mode=t,this.encodingChecks=o}getParser(e){let t=this;return(r,i)=>{if("None"===r._tag)return n0(r);let s=r.value,n=function(e,t){let r=function(e){let t=dG.get(e);if(t)return t;t={};for(let r=0;r<e.length;r++){let i=gs(e[r]);if(ds(i))continue;let s=function e(t){switch(t._tag){case"Null":return["null"];case"Undefined":return["undefined"];case"String":case"TemplateLiteral":return["string"];case"Number":return["number"];case"Boolean":return["boolean"];case"Symbol":case"UniqueSymbol":return["symbol"];case"BigInt":return["bigint"];case"Arrays":return["array"];case"ObjectKeyword":return["object","array","function"];case"Objects":return t.propertySignatures.length||t.indexSignatures.length?["object"]:["object","array"];case"Enum":return Array.from(new Set(t.enums.map(([,e])=>typeof e)));case"Literal":return[typeof t.literal];case"Union":return Array.from(new Set(t.types.flatMap(e)));default:return["null","undefined","string","number","boolean","symbol","bigint","object","array","function"]}}(i),n=dY(i);for(let e of(t.byType??={},s))(t.byType[e]??=[]).push(r);if(n.length>0)for(let{key:e,literal:i}of(t.bySentinel??=new Map,n)){let s=t.bySentinel.get(e);s||t.bySentinel.set(e,s=new Map);let n=s.get(i);n||s.set(i,n=[]),n.push(r)}else for(let e of(t.otherwise??={},s))(t.otherwise[e]??=[]).push(r)}return dG.set(e,t),t}(t),i=null===e?"null":Array.isArray(e)?"array":typeof e;if(r.bySentinel){let s=r.otherwise?.[i]??[];if("object"===i||"array"===i){let i=new Set(s);for(let[t,s]of r.bySentinel)if(Object.hasOwn(e,t)){let r=s.get(e[t]);if(r)for(let e of r)i.add(e)}return Array.from(i).sort((e,t)=>e-t).map(e=>t[e]).filter(dz(e))}return s.map(e=>t[e])}return(r.byType?.[i]??[]).map(e=>t[e]).filter(dz(e))}(s,t.types),o={ast:t,recur:e,oinput:r,input:s,out:void 0,successes:[],issues:void 0,options:i},a=dx(i?.concurrency),A=dV(o,n,a?{...a,orderedStep:!0}:void 0);return A?oh(A,e=>o.out?n0(o.out):rp(new cL(t,s,o.issues??[]))):o.out?n0(o.out):rp(new cL(t,s,o.issues??[]))}}_rebuild(e,t,r){let i=d6(this.types,e);return i===this.types&&t===this.checks&&r===this.encodingChecks?this:new dq(i,this.mode,this.annotations,t,void 0,this.context,r)}recur(e){return this._rebuild(e,this.checks,this.encodingChecks)}flip(e){return this._rebuild(e,this.encodingChecks,this.checks)}matchPart(e,t){for(let r of this.types){let i=r.matchPart(e,t);if(void 0!==i)return i}}getExpected(e){let t=this.annotations?.expected;return"string"==typeof t?t:0===this.types.length?"never":Array.from(new Set(this.types.map(t=>{let r=gs(t);switch(r._tag){case"Arrays":{let t=r.elements.filter(dn);if(t.length>0)return`${dW(r.isMutable)}[ ${t.map(t=>e(t)+(t.context?.isOptional?"?":"")).join(", ")}, ... ]`;break}case"Objects":{let t=r.propertySignatures.filter(e=>dn(e.type));if(t.length>0)return`{ ${t.map(t=>`${dW(t.type.context?.isMutable)}${tT(t.name)}${t.type.context?.isOptional?"?":""}: ${e(t.type)}`).join(", ")}, ... }`}}return e(r)}))).join(" | ")}}let dV=aE({onItem:(e,t)=>e.recur(t)(e.oinput,e.options),step(e,t,r){if("Failure"===r._tag){let t=cW(r.cause);if(void 0===t)return r;e.issues?e.issues.push(t):e.issues=[t]}else{if(e.out&&"oneOf"===e.ast.mode)return e.successes.push(t),rp(new cO(e.ast,e.input,e.successes));if(e.out=r.value,e.successes.push(t),"anyOf"===e.ast.mode)return oN}}}),d_=new dq([new dB("Infinity"),new dB("-Infinity"),new dB("NaN")],"anyOf"),dJ=new dd(new dq([db,d_],"anyOf"),new c4(c2(),c$(e=>globalThis.Number.isFinite(e)?e:globalThis.String(e))));function dW(e){return e?"":"readonly "}class dj extends eG{_tag="Filter";run;annotations;aborted;constructor(e,t,r=!1){super(),this.run=e,this.annotations=t,this.aborted=r}annotate(e){return new dj(this.run,{...this.annotations,...e},this.aborted)}abort(){return new dj(this.run,this.annotations,!0)}and(e,t){return new dK([this,e],t)}}class dK extends eG{_tag="FilterGroup";checks;annotations;constructor(e,t){super(),this.checks=e,this.annotations=t}annotate(e){return new dK(this.checks,{...this.annotations,...e})}and(e,t){return new dK([this,e],t)}}function dX(e,t,r=!1){return new dj((t,r,i)=>(function(e,t,r){if(Array.isArray(r))return r.length>0?1===r.length?cH(e,r[0]):new cF(t,r3(e),sr(r,t=>cH(e,t))):void 0;if(void 0!==r)return"boolean"==typeof r?r?void 0:new cv(r3(e)):cH(e,r)})(t,r,e(t,r,i)),t,r)}function dZ(e,t){let r=e.source;return dX(t=>e.test(t),{expected:`a string matching the RegExp ${r}`,meta:{_tag:"isPattern",regExp:e},arbitrary:{constraint:{patterns:[e.source]}},...t})}function d$(e,t){let r=Object.getOwnPropertyDescriptors(e);return t(r),Object.create(Object.getPrototypeOf(e),r)}function d0(e,t){return e.encoding===t?e:d$(e,e=>{e.encoding.value=t})}function d1(e,t){return e.context===t?e:d$(e,e=>{e.context.value=t})}function d2(e,t){if(e.checks){let r=e.checks[e.checks.length-1];return d3(e,i4(e.checks.slice(0,-1),r.annotate(t)))}return d$(e,e=>{e.annotations.value={...e.annotations.value,...t}})}function d3(e,t){if("Suspend"===e._tag&&void 0!==t)throw Error("Cannot add checks to Suspend");return e.checks===t?e:d$(e,e=>{e.checks.value=t})}function d5(e,t){return d3(e,dL(e.checks,t))}function d4(e,t){let r=e[e.length-1],i=t(r.to);return i!==r.to?i4(e.slice(0,e.length-1),new dd(i,r.transformation)):e}function d8(e){return eX(function t(r){return r.encoding?d0(r,d4(r.encoding,t)):e(r)})}function d9(e,t,r){let i=new dd(e,t);return d0(r,r.encoding?[...r.encoding,i]:[i])}function d6(e,t){let r=!1,i=Array(e.length);for(let s=0;s<e.length;s++){let n=e[s],o=t(n);o!==n&&(r=!0),i[s]=o}return r?i:e}function d7(e,t){let r=e.context?new du(e.context.isOptional,e.context.isMutable,e.context.defaultValue,{...e.context.annotations,...t}):new du(!1,!1,void 0,t);return d1(e,r)}let ge=e=>e.encoding?d0(e,d4(e.encoding,gt)):e;function gt(e){let t=e.context?!1===e.context.isOptional?new du(!0,e.context.isMutable,e.context.defaultValue,e.context.annotations):e.context:new du(!0,!1);return ge(d1(e,t))}function gr(e){return e.context?.isOptional??!1}let gi=eX(e=>{if(e.encoding)return gi(d0(e,void 0));let t=e.recur?.(gi)??e,r=t.encodingChecks;return r?d$(t,i=>{i.encodingChecks.value=void 0,t===e&&(i.checks.value=dL(t.checks,r))}):t}),gs=eX(e=>gi(gn(e))),gn=eX(e=>e.encoding?function(e,t){let r=t.length,i=t[r-1],s=[new dd(gn(d0(e,void 0)),t[0].transformation.flip())];for(let e=1;e<r;e++)s.unshift(new dd(gn(t[e-1].to),t[e].transformation.flip()));let n=gn(i.to);return n.encoding?d0(n,[...n.encoding,...s]):d0(n,s)}(e,e.encoding):e.flip?.(gn)??e.recur?.(gn)??e);function go(e,t){let r=n0(r3(t));return i=>"None"===i._tag?n8:i.value===t?r:rp(new cU(e,i))}function ga(e,t){return r=>"None"===r._tag?n8:t(r.value)?n0(r):rp(new cU(e,r))}function gA(e,t,r){if(r?.disableChecks||void 0===e.checks)return t;let i=[];return gB(e.checks,t,i,e,r),0===i.length?t:void 0}let gl=d8(e=>{switch(e._tag){default:return e;case"Number":return e.toCodecStringTree();case"Union":return e.recur(gl)}}),gc=d8(e=>{switch(e._tag){default:return e;case"Symbol":case"UniqueSymbol":return e.toCodecStringTree();case"Union":return e.recur(gc)}}),gd=d8(e=>{switch(e._tag){default:return e;case"Number":case"Literal":case"BigInt":return e.toCodecStringTree();case"Union":return e.recur(gd)}}),gg=new globalThis.RegExp(`^${dM}$`),gu=new globalThis.RegExp(`(?:${dM}|Infinity|-Infinity|NaN)`),gh=d5(dQ,[dZ(gg,{expected:"a string representing a finite number",meta:{_tag:"isStringFinite",regExp:gg},...void 0})]),gm=new dd(gh,c7),gp=new dd(new dq([gh,d_],"anyOf"),c7),gC=new globalThis.RegExp("^-?\\d+$"),gI=new dd(d5(dQ,[dZ(gC,{expected:"a string representing a bigint",meta:{_tag:"isStringBigInt",regExp:gC},expected:"a string representing a bigint"})]),de),gf=new globalThis.RegExp("^Symbol\\((.*)\\)$"),gE=new dd(d5(dQ,[dZ(gf,{expected:"a string representing a symbol",meta:{_tag:"isStringSymbol",regExp:gf},...void 0})]),new c4(c$(e=>globalThis.Symbol.for(gf.exec(e)[1])),c0(e=>void 0!==globalThis.Symbol.keyFor(e)?n0(globalThis.String(e)):rp(new cT(r3(e),{message:"cannot serialize to string, Symbol is not registered"})))));function gB(e,t,r,i,s){for(let n=0;n<e.length;n++){let o=e[n];if("FilterGroup"===o._tag)gB(o.checks,t,r,i,s);else{let e=o.run(t,i,s);if(e&&(r.push(new cD(t,o,e)),o.aborted||s?.errors!=="all"))return}}}let gy="~effect/Schema/Class",gQ=new dp([],()=>(e,t)=>{let r,i;return(r=new Set,i=new Set,function e(t){if(null===t||"string"==typeof t||"boolean"==typeof t)return!0;if("number"==typeof t)return globalThis.Number.isFinite(t);if("object"!=typeof t||void 0===t||r.has(t))return!1;if(i.has(t))return!0;let s=Array.isArray(t);if(!s){let e=Object.getPrototypeOf(t);if(null!==e&&null!==Object.getPrototypeOf(e))return!1}r.add(t);let n=s?t.every(e):Object.keys(t).every(r=>e(t[r]));return r.delete(t),n&&i.add(t),n}(e))?n0(e):rp(new cU(t,r3(e)))},{typeConstructor:{_tag:"effect/Json"},generation:{runtime:"Schema.Json",Type:"Schema.Json"},expected:"JSON value",toCodecJson:()=>new dd(dE,c6),toArbitrary:()=>e=>e.jsonValue()}),gN=new dd(new dp([],()=>(e,t)=>{let r;return(r=new Set,function e(t){return void 0===t||"string"==typeof t||!("object"!=typeof t||null===t||r.has(t))&&((r.add(t),Array.isArray(t))?t.every(e):Object.keys(t).every(r=>e(t[r])))}(e))?n0(e):rp(new cU(t,r3(e)))},{expected:"StringTree"}),c6),gb="~effect/SchemaError/SchemaError";class gS extends lS("SchemaError"){[gb]=gb;constructor(e){super({issue:e})}get message(){return this.issue.toString()}toString(){return`SchemaError(${this.message})`}}let gw=eX(e=>{switch(e._tag){case"Declaration":{let t=e.annotations?.[gy];if(e4(t)){let r=t(e.typeParameters),i=gw(r.to);return d0(e,i===r.to?[r]:[new dd(i,r.transformation)])}return e}case"Objects":case"Arrays":return e.recur(e=>{let t=e.context?.defaultValue;if(t){let r=gw(e);return d0(r,r.encoding?[...r.encoding,...t]:t)}return gw(e)});case"Suspend":return e.recur(gw);default:return e}});function gD(e){let t=gF(gw(gi(e.ast)));return(e,r)=>t(e,r?.disableChecks?r?.parseOptions?{...r.parseOptions,disableChecks:!0}:{disableChecks:!0}:r?.parseOptions)}function gx(e){let t=gD(e);return(e,r)=>{let i=aU(t(e,r));return oy(i)?r3(i.value):(cj(i.cause,"Option adapter can only return none for schema issues"),r2())}}function gR(e,t){let r=gF(e.ast);return void 0===t?r:(e,i)=>r(e,gk(t,i))}function gM(e,t){let r=gF(gn(e.ast));return void 0===t?r:(e,i)=>r(e,gk(t,i))}let gk=(e,t)=>void 0===t?e:{...e,...t};function gF(e){let t=gL(e);return(e,r)=>oC(t(r3(e),r??dg),e=>"None"===e._tag?rp(new cv(e)):n0(e.value))}function gU(e){return(t,r)=>aU(e(t,r))}function gv(e){let t=gU(e);return(e,r)=>{let i=t(e,r);return oy(i)?rq(i.value):rz(cj(i.cause,"Result adapter can only return schema issues"))}}function gT(e,t){return oL(e,e=>AZ(()=>nR(e,t)))}let gL=eX(e=>{let t,r=e.checks,i=e.encoding,s=i?.length??0,n=e.encodingChecks,o=(r?r[r.length-1].annotations:e.annotations)?.parseOptions;if(!e.context&&!i&&!r&&!n)return(r,i)=>(t??=e.getParser(gL),o&&(i={...i,...o}),t(r,i));let a=dA(e)||dl(e)||di(e)&&e.typeParameters.length>0,A=r&&a?r.filter(e=>e.annotations?.["~structural"]):void 0;return(a,l)=>{let c;if(o&&(l={...l,...o}),i){for(let e=s-1;e>=0;e--){let t=i[e],r=gL(t.to);if(c=c?oC(c,e=>r(e,l)):r(a,l),"Transformation"===t.transformation._tag){let e=t.transformation.decode;c=oC(c,t=>e.run(t,l))}else c=t.transformation.decode(c,l)}c=gT(c,t=>new cx(e,a,t))}t??=e.getParser(gL);let d=i=>{let s=t(i,l);return n&&!l?.disableChecks&&(s=oC(s,t=>{if(r8(i)&&r8(t)){let t=[];if(gB(n,i.value,t,e,l),t.length>0)return rp(new cF(e,i,t))}return n0(t)})),r&&!l?.disableChecks&&(l?.errors==="all"&&A&&A.length>0&&r8(i)&&(s=gT(s,t=>{let r=[];return gB(A,i.value,r,e,l),r.length>0?"Composite"===t._tag&&t.ast===e?new cF(e,t.actual,[...t.issues,...r]):new cF(e,i,[t,...r]):t})),s=oC(s,t=>{if(r8(t)){let i=t.value,s=[];if(gB(r,i,s,e,l),s.length>0)return rp(new cF(e,t,s))}return n0(t)})),s};return c?oC(c,d):d(a)}}),gO="~effect/Schema/Schema",gH={[gO]:gO,pipe(){return eP(this,arguments)},annotate(e){return this.rebuild(d2(this.ast,e))},annotateKey(e){return this.rebuild(d7(this.ast,e))},check(...e){return this.rebuild(d5(this.ast,e))}};function gP(e){return oL(e,e=>AZ(()=>nR(e,e=>new gS(e))))}function gY(){return(e,t,r)=>gz(new dp(e.map(dH),e=>t(e.map(e=>gz(e))),r))}function gG(e,t){return gY()([],()=>(t,r)=>e(t)?n0(t):rp(new cU(r,r3(t))),t)}let gz=function e(t,r){let i,s=Object.create(gH);r&&Object.assign(s,r),s.ast=t,s.rebuild=t=>e(t,r);let n=gD(s);return s.makeEffect=(e,t)=>gP(n(e,t)),i=gD(s),s.make=(e,t)=>{let r=aU(i(e,t));if(oy(r))return r.value;let s=cj(r.cause,"Constructor adapter can only throw schema issues");throw Error(s.toString(),{cause:s})},s.makeOption=gx(s),s},gq=e=>gz(gt(e.ast),{schema:e});function gV(e){let t=gz(new dB(e),{literal:e,transform:r=>t.pipe(g2(gV(r),{decode:c$(()=>r),encode:c$(()=>e)}))});return t}let g_=gz(dE),gJ=gz(dC),gW=gz(df),gj=gz(dQ),gK=gz(db);function gX(e,t){return gz(e,{fields:t,mapFields(e,t){let r=e(this.fields);return gX(dO(r,t?.unsafePreserveChecks?this.ast.checks:void 0),r)}})}function gZ(e){return gX(dO(e,void 0),e)}function g$(e,t){return function e(t,r){return gz(t,{members:r,mapMembers(t,r){let i=t(this.members);return e(dP(i,this.ast.mode,r?.unsafePreserveChecks?this.ast.checks:void 0),i)}})}(dP(e,t?.mode??"anyOf",void 0),e)}function g0(e){let t=e.map(gV);return gz(dP(t,"anyOf",void 0),{literals:e,members:t,mapMembers(e){return g$(e(this.members))},pick:e=>g0(e),transform:e=>g$(t.map((t,r)=>t.transform(e[r])))})}let g1=e=>g$([e,gJ]);function g2(e,t){return r=>{var i,s;return gz((i=r.ast,s=e.ast,d9(i,t?c8(t):c6,s)),{from:r,to:e})}}function g3(e){var t;return gV(e).pipe((t=n0(e),e=>{var r,i;let s,n;return gz((r=e.ast,s=[new dd(dE,new c4((i=oL(t,e=>AZ(()=>nR(e,e=>e.issue))),new cK(e=>{let t=iO(e,e8);return r8(t)?n0(t):of(i,r3)})),cX))],n=r.context?new du(r.context.isOptional,r.context.isMutable,s,r.context.annotations):new du(!1,!1,s),d1(r,n)),{schema:e})}))}let g5=[];function g4(e){var t,r;let i,s,n=e?.includeStack===!0|2*(e?.excludeCause===!0),o=g5[n];if(void 0!==o)return o;let a=uA.pipe(g2(g_,new c4(c$((r={decode:dt,encode:(t=(e=>{switch(e){case 0:return;case 1:return{includeStack:!0};case 2:return{excludeCause:!0};case 3:return{includeStack:!0,excludeCause:!0}}})(n),i=new WeakSet,s=e=>{if(e instanceof Error){var r;let n;if(i.has(e))return"[Circular]";i.add(e);let o=(r=s,n={name:e.name,message:"string"==typeof e.message?e.message:""},t?.includeStack&&"string"==typeof e.stack&&(n.stack=e.stack),t?.excludeCause||void 0===e.cause||(n.cause=r(e.cause)),n);return i.delete(e),o}try{let t=tO(e);return void 0===t?tU(e):JSON.parse(t)}catch{return tU(e)}})}).decode),c$(r.encode))));return g5[n]=a,a}dX(e=>!isNaN(e.getTime()),{expected:"a valid date",meta:{_tag:"isDateValid"},arbitrary:{constraint:{valid:!0}},...void 0});dX(e=>globalThis.Number.isFinite(e),{expected:"a finite number",meta:{_tag:"isFinite"},arbitrary:{constraint:{noInfinity:!0,noNaN:!0}},...void 0}),dX(e=>globalThis.Number.isSafeInteger(e),{expected:"an integer",meta:{_tag:"isInt"},arbitrary:{constraint:{integer:!0}},...void 0});let g8=globalThis.Symbol.for("immer-draftable"),g9={};function g6(e,t,r,i,s){var n,o,a;let A,l=(n=r,o=t,a=i,e=>{if(void 0!==A)return A;let t=new c4(c$(t=>new e(t)),cX);return A=g2(gz(new dp([n.ast],()=>(t,r)=>t instanceof e||e7(t,g7(o))?n0(t):rp(new cU(r,r3(t))),{identifier:o,[gy]:([e])=>new dd(e,t),toCodec:([e])=>new dd(e.ast,t),toArbitrary:([t])=>()=>({arbitrary:t.arbitrary.map(t=>new e(t)),terminal:t.terminal?.map(t=>new e(t))}),toFormatter:([t])=>r=>`${e.identifier}(${t(r)})`,"~sentinels":dY(n.ast),...a})),t)(n)}),c=g7(t),d=class extends e{constructor(...[e,t]){let i=t?.["~payload"],s=i?.token===g9?i.value:r.make(e??{},t);super(s,{...t,disableChecks:!0,"~payload":{token:g9,value:s}})}static [gO]=gO;get[c](){return c}static [g8]=!0;static identifier=t;static fields=r.fields;static get ast(){return l(this).ast}static pipe(){return eP(this,arguments)}static rebuild(e){return l(this).rebuild(e)}static make(e,t){return new this(e,t)}static makeOption(e,t){return gx(l(this))(e??{},t)}static makeEffect(e,t){return l(this).makeEffect(e??{},t)}static annotate(e){return this.rebuild(d2(this.ast,e))}static annotateKey(e){return this.rebuild(d7(this.ast,e))}static check(...e){return this.rebuild(d5(this.ast,e))}static extend(e){return(t,i)=>{let n=ue(t)?t:gZ(t),o={...r.fields,...n.fields},a=dO(o,r.ast.checks,{identifier:e});return g6(this,e,gX(d5(a,n.ast.checks),o),i,s)}}static mapFields(e,t){return r.mapFields(e,t)}};return void 0!==s&&Object.assign(d.prototype,s(t)),d}function g7(e){return`~effect/Schema/Class/${e}`}function ue(e){return e7(e,gO)&&e[gO]===gO}let ut=e=>(t,r)=>g6(lN,e,ue(t)?t:gZ(t),r,e=>({toString(){return`${e}(${tU({...this})})`}})),ur=e=>(t,r,i)=>{let s,n=ue(r)?r.mapFields(e=>({_tag:g3(t),...e}),{unsafePreserveChecks:!0}):gZ({_tag:g3(t),...r});return(s=e??t,(e,t)=>g6(rE,s,ue(e)?e:gZ(e),t,e=>({name:e})))(n,i)},ui=(ee=function(e){switch(e._tag){case"Null":case"Boolean":case"Number":case"BigInt":case"Symbol":case"UniqueSymbol":return 0;default:return 1}},e=>{let t=new Map;for(let r=0;r<e.length;r++)t.set(gs(e[r]),r);let r=[...e].sort((e,r)=>{e=gs(e),r=gs(r);let i=ee(e),s=ee(r);return i!==s?i-s:t.get(e)-t.get(r)});return r.some((t,r)=>t!==e[r])?r:e}),us=new dd(new dB("null"),new c4(c$(()=>null),c$(()=>"null"))),un=new dd(new dq([new dB("true"),new dB("false")],"anyOf"),new c4(c$(e=>"true"===e),c1())),uo=d8(e=>{if(dc(e)&&e.annotations?.["~effect/Schema/SERIALIZER_ENSURE_ARRAY"]===!0)return e;let t=function(e,t,r){switch(e._tag){case"Declaration":{let i=e.annotations?.toCodecJson??e.annotations?.toCodec;if(e4(i)){let r=i(di(e)?e.typeParameters.map(e=>gz(t(gs(e)))):[]),s=t(r.to);return d0(e,s===r.to?[r]:[new dd(s,r.transformation)])}return r(e)}case"Null":return d0(e,[us]);case"Boolean":return d0(e,[un]);case"Unknown":case"ObjectKeyword":return d0(e,[gN]);case"Enum":case"Number":case"Literal":case"UniqueSymbol":case"Symbol":case"BigInt":return e.toCodecStringTree();case"Objects":if(e.propertySignatures.some(e=>"string"!=typeof e.name))throw new globalThis.Error("Objects property names must be strings",{cause:e});return e.recur(t,gc);case"Union":{let r=ui(e.types);if(r!==e.types)return new dq(r,e.mode,e.annotations,e.checks,e.encoding,e.context,e.encodingChecks).recur(t);return e.recur(t)}case"Arrays":case"Suspend":return e.recur(t)}return e}(e,uo,e=>d0(e,[ua]));return t!==e&&gr(e)?ge(t):t}),ua=new dd(df,new c4(cX,c$(()=>void 0))),uA=gz(gQ);var ul=class extends ur()("BlobEnvelopeError",{reason:g0(["notAnEnvelope","unsupportedVersion","truncated","metadataDecodeFailed","metadataEncodeFailed"]),version:gq(gK),cause:gq(g4())}){get message(){switch(this.reason){case"notAnEnvelope":return"Bytes are not an @effected/github-actions blob envelope";case"unsupportedVersion":return`Blob envelope version ${this.version} is not supported`;case"truncated":return"Blob envelope is truncated";case"metadataDecodeFailed":return"Blob envelope metadata did not satisfy the schema";default:return"Blob metadata could not be encoded"}}};let uc=Uint8Array.from([69,70,66,83]),ud=uc.length+1+4;var ug=class{static version=1;static encodeResult(e,t,r){let i,s=(i=gv(gM(r,void 0)),(e,t)=>rV(i(e,t),e=>new gS(e)))(e);if(rY(s))return rz(new ul({reason:"metadataEncodeFailed",cause:s.failure}));let n=new TextEncoder().encode(JSON.stringify(s.success)),o=new Uint8Array(ud+n.length+t.length);return o.set(uc,0),o[uc.length]=1,new DataView(o.buffer).setUint32(uc.length+1,n.length,!1),o.set(n,ud),o.set(t,ud+n.length),rq(o)}static decodeResult(e,t){let r,i;if(e.length<uc.length||!uc.every((t,r)=>e[r]===t))return rz(new ul({reason:"notAnEnvelope"}));if(e.length<ud)return rz(new ul({reason:"truncated"}));let s=e[uc.length]??0;if(1!==s)return rz(new ul({reason:"unsupportedVersion",version:s}));let n=new DataView(e.buffer,e.byteOffset).getUint32(uc.length+1,!1);if(e.length<ud+n)return rz(new ul({reason:"truncated"}));let o=new TextDecoder().decode(e.subarray(ud,ud+n));try{r=JSON.parse(o)}catch(e){return rz(new ul({reason:"metadataDecodeFailed",cause:e}))}let a=(i=gv(gR(t,void 0)),(e,t)=>rV(i(e,t),e=>new gS(e)))(r);return rY(a)?rz(new ul({reason:"metadataDecodeFailed",cause:a.failure})):rq({metadata:a.success,body:e.slice(ud+n)})}},uu=o(7598);let uh="AWS4-HMAC-SHA256",um=e=>(0,uu.createHash)("sha256").update(e).digest("hex"),up=(e,t)=>new Uint8Array((0,uu.createHmac)("sha256",e).update(t).digest()),uC=e=>encodeURIComponent(e).replace(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),uI="~effect/platform/PlatformError";class uf extends lS("BadArgument"){get message(){return`${this.module}.${this.method}${this.description?`: ${this.description}`:""}`}}class uE extends lb{get message(){return`${this._tag}: ${this.module}.${this.method}${void 0!==this.pathOrDescriptor?` (${this.pathOrDescriptor})`:""}${this.description?`: ${this.description}`:""}`}}class uB extends lS("PlatformError"){constructor(e){"cause"in e?super({reason:e,cause:e.cause}):super({reason:e})}[uI]=uI;get message(){return this.reason.message}}let uy=e=>new uB(new uE(e)),uQ=e=>new uB(new uf(e)),uN=Symbol.for("effect/MutableList/Empty"),ub=()=>({array:[],mutable:!0,offset:0,next:void 0}),uS=(e,t)=>{e.tail?e.tail.mutable||(e.tail.next=ub(),e.tail=e.tail.next):e.head=e.tail=ub(),e.tail.array.push(t),e.length++},uw=e=>{e.head=e.tail=void 0,e.length=0},uD=e=>{if(!e.head)return uN;let t=e.head.array[e.head.offset];return e.head.mutable&&(e.head.array[e.head.offset]=void 0),e.head.offset++,e.length--,e.head.offset===e.head.array.length&&(e.head.next?e.head=e.head.next:uw(e)),t},ux={_A:eq,_E:eq},uR={"~effect/Queue":ux,"~effect/Queue/Enqueue":ux,"~effect/Queue/Dequeue":ux,...t0,toJSON(){return{_id:"effect/Queue",state:this.state._tag,size:uv(this)}}},uM=(e,t)=>n3(()=>{if("Open"!==e.state._tag)return uT;if(e.messages.length>=e.capacity)switch(e.strategy){case"dropping":return uT;case"suspend":if(e.capacity<=0&&e.state.takers.size>0)return uS(e.messages,t),uP(e),uL;return uz(e,t);case"sliding":return uD(e.messages),uS(e.messages,t),uL}return uS(e.messages,t),uY(e),uL}),uk=(e,t)=>{if("Open"!==e.state._tag)return!1;let r=oD(rm(t),uO);return 0===e.state.offers.size&&0===e.messages.length?u_(e,r):e.state={...e.state,_tag:"Closing",exit:r},!0},uF=e=>uU(e,1,1/0),uU=(e,t,r)=>n3(()=>uG(e,t,r)??oc(uV(e),uU(e,1,r))),uv=e=>"Done"===e.state._tag?0:e.messages.length,uT=rg(!1),uL=rg(!0),uO=rp(rN()),uH=rm(nS(void 0)),uP=e=>{if(e.scheduleRunning=!1,"Done"!==e.state._tag&&0!==e.state.takers.size){for(let t of e.state.takers)if(e.state.takers.delete(t),t(oN),0===e.messages.length)break}},uY=e=>{e.scheduleRunning||"Done"===e.state._tag||0===e.state.takers.size||(e.scheduleRunning=!0,e.dispatcher.scheduleTask(()=>uP(e),0))},uG=(e,t,r)=>{if("Done"===e.state._tag)return e.state.exit;if(r<=0||t<=0)return rg([]);if(e.capacity<=0&&e.state.offers.size>0){e.capacity=1,uq(e),e.capacity=0;let t=[uD(e.messages)];return uq(e),rg(t)}if((t=Math.min(t,e.capacity||1))<=e.messages.length){let t=((e,t)=>{if(t<=0||!e.head)return[];if((t=Math.min(t,e.length))===e.length&&e.head?.offset===0&&!e.head.next){let t=e.head.array;return uw(e),t}let r=Array(t),i=0,s=e.head;for(;s;){for(;s.offset<s.array.length;)if(r[i++]=s.array[s.offset],s.mutable&&(s.array[s.offset]=void 0),s.offset++,i===t)return e.head=s,e.length-=t,0===e.length&&uw(e),r;s=s.next}return uw(e),r})(e.messages,r);return uq(e),rg(t)}},uz=(e,t)=>oi(r=>{if("Open"!==e.state._tag)return r(uT);let i={_tag:"Single",message:t,resume:r};return e.state.offers.add(i),n2(()=>{"Open"===e.state._tag&&e.state.offers.delete(i)})}),uq=e=>{if("Done"===e.state._tag)return e.state.exit.cause.reasons.some(Ao);if(0===e.state.offers.size)return"Closing"===e.state._tag&&0===e.messages.length&&(u_(e,e.state.exit),e.state.exit.cause.reasons.some(Ao));let t=e.capacity-e.messages.length;for(let r of e.state.offers)if(0===t)break;else if("Single"===r._tag)uS(e.messages,r.message),t--,r.resume(uL),e.state.offers.delete(r);else{for(;r.offset<r.remaining.length;r.offset++){if(0===t)return!1;uS(e.messages,r.remaining[r.offset]),t--}r.resume(rg([])),e.state.offers.delete(r)}return!1},uV=e=>oi(t=>"Done"===e.state._tag?t(e.state.exit):(e.state.takers.add(t),n2(()=>{"Done"!==e.state._tag&&e.state.takers.delete(t)}))),u_=(e,t)=>{if("Done"===e.state._tag)return;let r=e.state;for(let i of(e.state={_tag:"Done",exit:t},r.takers))i(t);for(let e of(r.takers.clear(),r.awaiters))e(t);r.awaiters.clear()},uJ={"~effect/Channel":{_Env:eq,_InErr:eq,_InElem:eq,_OutErr:eq,_OutElem:eq},pipe(){return eP(this,arguments)}},uW=e=>{let t=Object.create(uJ);return t.transform=(t,r)=>oL(e(t,r),e=>n0(n1(e))),t},uj=e=>uW((t,r)=>e),uK=e=>uW((t,r)=>{let i;return n0(n3(()=>i||e.pipe(at(r),oh(e=>(0,e.transform)(t,r)),oh(e=>i=e))))}),uX=ez(2,(e,t)=>{let r;return r=(r,i,s)=>o8(s,t).pipe(oc((0,e.transform)(r,i))),uW(on(function*(e,t){let i=AN(t),s=e=>{let t;return o3(i,rY(t=Aa(e))?rm(t.failure):rg(t.success.value))},n=yield*an(r(e,t,i),s);return an(n,s)}))}),uZ=ez(2,(e,t)=>uX(e,e=>t)),u$=ez(2,(e,t)=>{let r;return r=e=>oT(oh(e,t),{disableYield:!0}),n3(()=>{let t=o7();return An(oh((0,e.transform)(As(),t),r),n0).pipe(ai(e=>o3(t,e)))})}),u0=n0([void 0]),u1={"~effect/Sink":{_A:eq,_In:eq,_L:eq,_E:eq,_R:eq},pipe(){return eP(this,arguments)}},u2=e=>{let t=Object.create(u1);return t.transform=e,t},u3=e=>uW((t,r)=>n0(oh(e.transform(t,r),As))),u5=e=>{let t;return t=uK(oI(e,u3)),u2((e,r)=>(0,t.transform)(e,r).pipe(oh(oT({disableYield:!0})),An(n0)))},u4={"~effect/Stream":{_R:eq,_E:eq,_A:eq},pipe(){return eP(this,arguments)}},u8=e=>{let t=Object.create(u4);return t.channel=e,t},u9=e=>e.channel,u6=e=>u8(uj(n0(rp(e)))),u7=e=>u8(uK(oI(e,u9))),he=ez(2,(e,t)=>u8(uZ(e.channel,t))),ht=ez(2,(e,t)=>u$(e.channel,t)),hr="~effect/platform/FileSystem",hi=e=>"bigint"==typeof e?e:BigInt(e),hs=sg("effect/platform/FileSystem"),hn=(e,t)=>uy({module:"FileSystem",method:e,_tag:"NotFound",description:"No such file or directory",pathOrDescriptor:t}),ho="~effect/platform/FileSystem/File",ha=Object.assign(e=>e,{option:e=>r3(e),result:e=>rq(e),is:e=>!0});class hA extends sg()("effect/platform/FileSystem/WatchBackend"){}var hl=class extends ur()("ActionEnvironmentError",{reason:g0(["missing","malformed"]),name:gj,detail:gq(gj)}){get message(){return"missing"===this.reason?`Required environment variable "${this.name}" is not set`:`Environment variable "${this.name}" is malformed${void 0===this.detail?"":`: ${this.detail}`}`}},hc=class extends ut("GitHubContext")({repository:gj,repositoryOwner:gj,ref:gj,refName:gj,sha:gj,workflow:gj,job:gj,runId:gK,runAttempt:gK,eventName:gj,actor:gj,serverUrl:gj,apiUrl:gj,graphqlUrl:gj,workspace:gj}){},hd=class extends ut("RunnerContext")({os:gj,arch:gj,name:gj,temp:gj,toolCache:gj}){};let hg=sg("@effected/github-actions/EnvOverrides",{defaultValue:()=>({})}),hu=(e,t)=>{let r=Number(t);return Number.isFinite(r)?n0(r):rp(new hl({reason:"malformed",name:e,detail:`expected a number, got "${t}"`}))},hh=e=>AX(function*(){let t=yield*hs,r=t=>oI(hg,r=>{let i=r[t]??e[t];return void 0===i||""===i?r2():r3(i)}),i=e=>oh(r(e),t=>r8(t)?n0(t.value):rp(new hl({reason:"missing",name:e})));return{get:i,getOptional:r,isDebug:oI(r("RUNNER_DEBUG"),e=>r8(e)&&"1"===e.value),github:AX(function*(){let[e,t,r,s,n,o,a]=yield*ap([i("GITHUB_REPOSITORY"),i("GITHUB_REPOSITORY_OWNER"),i("GITHUB_REF"),i("GITHUB_REF_NAME"),i("GITHUB_SHA"),i("GITHUB_WORKFLOW"),i("GITHUB_JOB")]),A=yield*oh(i("GITHUB_RUN_ID"),e=>hu("GITHUB_RUN_ID",e)),l=yield*oh(i("GITHUB_RUN_ATTEMPT"),e=>hu("GITHUB_RUN_ATTEMPT",e)),[c,d,g,u,h,m]=yield*ap([i("GITHUB_EVENT_NAME"),i("GITHUB_ACTOR"),i("GITHUB_SERVER_URL"),i("GITHUB_API_URL"),i("GITHUB_GRAPHQL_URL"),i("GITHUB_WORKSPACE")]);return hc.make({repository:e,repositoryOwner:t,ref:r,refName:s,sha:n,workflow:o,job:a,runId:A,runAttempt:l,eventName:c,actor:d,serverUrl:g,apiUrl:u,graphqlUrl:h,workspace:m})}),runner:AX(function*(){let[e,t,r,s,n]=yield*ap([i("RUNNER_OS"),i("RUNNER_ARCH"),i("RUNNER_NAME"),i("RUNNER_TEMP"),i("RUNNER_TOOL_CACHE")]);return hd.make({os:e,arch:t,name:r,temp:s,toolCache:n})}),payload:AX(function*(){let e=yield*i("GITHUB_EVENT_PATH"),r=yield*t.readFileString(e).pipe(oq(t=>new hl({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`could not read "${e}": ${String(t)}`})));return yield*oe({try:()=>JSON.parse(r),catch:e=>new hl({reason:"malformed",name:"GITHUB_EVENT_PATH",detail:`not valid JSON: ${String(e)}`})})}),withEnv:(e,t)=>oh(hg,r=>oU(t,hg,{...r,...e}))}}),hm={GITHUB_REPOSITORY:"acme/example",GITHUB_REPOSITORY_OWNER:"acme",GITHUB_REF:"refs/heads/main",GITHUB_REF_NAME:"main",GITHUB_SHA:"0000000000000000000000000000000000000000",GITHUB_WORKFLOW:"test",GITHUB_JOB:"test",GITHUB_RUN_ID:"1",GITHUB_RUN_ATTEMPT:"1",GITHUB_EVENT_NAME:"push",GITHUB_ACTOR:"tester",GITHUB_SERVER_URL:"https://github.com",GITHUB_API_URL:"https://api.github.com",GITHUB_GRAPHQL_URL:"https://api.github.com/graphql",GITHUB_WORKSPACE:"/workspace",RUNNER_OS:"Linux",RUNNER_ARCH:"X64",RUNNER_NAME:"test-runner",RUNNER_TEMP:"/tmp",RUNNER_TOOL_CACHE:"/opt/hostedtoolcache"};var hp=class e extends sg()("@effected/github-actions/ActionEnvironment"){static layer=AO(this,oh(n2(()=>({...process.env})),hh));static layerFrom=t=>AO(e,hh(t));static makeTest=(e={})=>hh({...hm,...e});static layerTest=(t={})=>{var r;return AO(e,e.makeTest(t)).pipe(Az((r={},Av(hs)(hs.of({[hr]:hr,access:e=>rp(hn("access",e)),chmod:e=>rp(hn("chmod",e)),chown:e=>rp(hn("chown",e)),copy:e=>rp(hn("copy",e)),copyFile:e=>rp(hn("copyFile",e)),glob:e=>rp(hn("glob",e)),exists:()=>n0(!1),link:e=>rp(hn("link",e)),makeDirectory:()=>n9("not implemented"),makeTempDirectory:()=>n9("not implemented"),makeTempDirectoryScoped:()=>n9("not implemented"),makeTempFile:()=>n9("not implemented"),makeTempFileScoped:()=>n9("not implemented"),open:e=>rp(hn("open",e)),readDirectory:e=>rp(hn("readDirectory",e)),readFile:e=>rp(hn("readFile",e)),readFileString:e=>rp(hn("readFileString",e)),readLink:e=>rp(hn("readLink",e)),realPath:e=>rp(hn("realPath",e)),remove:()=>n7,rename:e=>rp(hn("rename",e)),sink:e=>{let t;return t=rp(hn("sink",e)),u2(()=>t)},stat:e=>rp(hn("stat",e)),stream:e=>u6(hn("stream",e)),symlink:e=>rp(hn("symlink",e)),truncate:e=>rp(hn("truncate",e)),utimes:e=>rp(hn("utimes",e)),watch:e=>u6(hn("watch",e)),writeFile:e=>rp(hn("writeFile",e)),writeFileString:e=>rp(hn("writeFileString",e)),...r})))))}};let hC=e=>e.replaceAll("%","%25").replaceAll("\r","%0D").replaceAll("\n","%0A");var hI=class e{static render(e,t,r){let i=Object.entries(t).filter(e=>void 0!==e[1]).map(([e,t])=>`${e}=${hC(String(t)).replaceAll(":","%3A").replaceAll(",","%2C")}`).join(",");return`${""===i?`::${e}::`:`::${e} ${i}::`}${hC(r)}`}static debug(t){return e.render("debug",{},t)}static notice(t,r={}){return e.render("notice",e.annotation(r),t)}static warning(t,r={}){return e.render("warning",e.annotation(r),t)}static error(t,r={}){return e.render("error",e.annotation(r),t)}static group(t){return e.render("group",{},t)}static endGroup(){return e.render("endgroup",{},"")}static addMask(t){return e.render("add-mask",{},t)}static annotation(e){return{title:e.title,file:e.file,line:e.startLine,endLine:e.endLine,col:e.startColumn,endColumn:e.endColumn}}};let hf=e=>rI(t=>e(t.getRef(a4))),hE=(...e)=>hf(t=>n2(()=>{t.log(...e)}));var hB=class extends ur()("ActionOutputError",{reason:g0(["unavailable","writeFailed","invalidName","encodeFailed","detached"]),file:gq(gj),name:gq(gj),cause:gq(g4())}){get message(){switch(this.reason){case"unavailable":return`Runner file "${this.file}" is not available; is this running on a GitHub runner?`;case"writeFailed":return`Failed to write to runner file "${this.file}"`;case"invalidName":return`"${this.name}" is not a usable output name`;case"detached":return`Runner file "${this.file}" cannot be reached from a detached worker — it configures the parent job's later steps, and a worker has none and may outlive the job. Publish this from the parent process instead.`;default:return`Failed to encode the value for "${this.name}"`}}};let hy=AX(function*(){let e=yield*hp,t=yield*hs,r=(r,i)=>AX(function*(){let s=yield*e.get(r).pipe(oq(()=>new hB({reason:"unavailable",file:r})));yield*t.writeFileString(s,i,{flag:"a"}).pipe(oq(e=>new hB({reason:"writeFailed",file:r,cause:e})))}),i=(e,t,i)=>{if(!(""!==t&&!/[\r\n]/.test(t)))return rp(new hB({reason:"invalidName",file:e,name:t}));let s=(e=>{let t="EFFECTED_EOF";for(;e.includes(t);)t=`${t}_`;return t})(i);return r(e,`${t}<<${s} +${i} +${s} +`)},s=(e,t)=>i("GITHUB_OUTPUT",e,t);return{set:s,setJson:(e,t,r)=>{let i;return(i=gM(r,void 0),(e,t)=>gP(i(e,t)))(t).pipe(oq(t=>new hB({reason:"encodeFailed",name:e,cause:t})),oh(t=>s(e,JSON.stringify(t))))},summary:e=>r("GITHUB_STEP_SUMMARY",e),exportVariable:(e,t)=>i("GITHUB_ENV",e,t),addPath:e=>r("GITHUB_PATH",`${e} +`),setFailed:e=>hE(hI.error(e)),setSecret:e=>hE(hI.addMask(e))}}),hQ=e=>{throw Error(`ActionOutputs.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)};var hN=class e extends sg()("@effected/github-actions/ActionOutputs"){static layer=AO(this,hy);static layerDetached=Av(this,{set:e=>rp(new hB({reason:"detached",file:"GITHUB_OUTPUT",name:e})),setJson:e=>rp(new hB({reason:"detached",file:"GITHUB_OUTPUT",name:e})),summary:()=>rp(new hB({reason:"detached",file:"GITHUB_STEP_SUMMARY"})),exportVariable:e=>rp(new hB({reason:"detached",file:"GITHUB_ENV",name:e})),addPath:()=>rp(new hB({reason:"detached",file:"GITHUB_PATH"})),setFailed:e=>((...e)=>hf(t=>n2(()=>{t.error(...e)})))(e),setSecret:()=>n7});static makeTest=(e={})=>({set:()=>n2(()=>hQ("set")),setJson:()=>n2(()=>hQ("setJson")),summary:()=>n2(()=>hQ("summary")),exportVariable:()=>n2(()=>hQ("exportVariable")),addPath:()=>n2(()=>hQ("addPath")),setFailed:()=>n2(()=>hQ("setFailed")),setSecret:()=>n2(()=>hQ("setSecret")),...e});static layerTest=(t={})=>Av(e,e.makeTest(t))};let hb=sg("effect/ConfigProvider",{defaultValue:()=>(function(){var e;let t,r,i=(void 0)??{...globalThis?.process?.env,MODE:"production",DEV:!1,PROD:!0,SSR:!0,BASE_URL:"/",ASSET_PREFIX:""},s=false,n=function(e){let t={};for(let[r,i]of Object.entries(e)){if(void 0===i)continue;let e=r.split("_"),s=t;for(let t of e)s.children??={},s=s.children[t]??={}}return t}(i);return t={_tag:"Source",get:e=>n0(function(e,t,r,i){var s;let n=(s=t[r.map(String).join("_")],""!==s||i?s:void 0),o=function(e,t){if(0===t.length)return e;let r=e;for(let e of t)if(!(r=r?.children?.[String(e)]))return;return r}(e,r),a=o?.children?Object.keys(o.children):[];return 0===a.length?void 0===n?void 0:{_tag:"Value",value:n}:a.every(e=>hD.test(e))?{_tag:"Array",length:Math.max(...a.map(e=>parseInt(e,10)))+1,value:n}:{_tag:"Record",keys:new Set(a),value:n}}(n,i,e,s)),transform:hw},e=e=>t.get(t.transform(e)),(r=Object.create(hS)).state=t,r.load=e,r})()}),hS={...t0,toJSON:()=>({_id:"ConfigProvider"})},hw=e=>e,hD=/^(0|[1-9][0-9]*)$/,hx="~effect/Config";class hR{_tag="ConfigError";name="ConfigError";cause;constructor(e){this.cause=e}get message(){return this.cause.toString()}toString(){return`ConfigError(${this.message})`}}let hM={...sn({label:"Config",evaluate(e){return this.parse(e.getRef(hb))}}),[hx]:hx,toJSON:()=>({_id:"Config"})},hk=on(function*(e,t){let r=yield*e.load(t);if(void 0!==r)switch(r._tag){case"Value":return r.value;case"Record":{if(void 0!==r.value)return r.value;let i={};for(let s of r.keys){let r=yield*hk(e,[...t,s]);void 0!==r&&(i[s]=r)}return i}case"Array":{if(void 0!==r.value)return r.value;let i=[];for(let s=0;s<r.length;s++)i.push((yield*hk(e,[...t,s])));return i}}}),hF=on(function*(e,t,r){switch(e._tag){case"Objects":{let i=yield*t.load(r);if(void 0===i&&r.length>0)return;let s={};for(let i of e.propertySignatures){let e=i.name;if("string"==typeof e){let n=yield*hF(i.type,t,[...r,e]);void 0!==n&&(s[e]=n)}}if(e.indexSignatures.length>0&&i&&"Record"===i._tag)for(let n of e.indexSignatures){let e=function(e){let t=gU(gF(gi(e)));return e=>{let r=t(e,dg);return!!oy(r)||(cj(r.cause,"Type guard adapter can only return false for schema issues"),!1)}}(n.parameter);for(let o of i.keys)if(!Object.hasOwn(s,o)&&e(o)){let e=yield*hF(n.type,t,[...r,o]);void 0!==e&&(s[o]=e)}}return s}case"Arrays":{let i=yield*t.load(r);if(void 0===i)return;if(i&&"Value"===i._tag||i&&"Array"===i._tag&&void 0!==i.value)return""===i.value?[]:i.value.split(",");let s=[],n=i&&"Array"===i._tag?i.length:e.elements.length;for(let i=0;i<n;i++){let n=e.elements[i]??e.rest[0];void 0!==n&&s.push((yield*hF(n,t,[...r,i])))}return s}case"Union":return yield*hk(t,r);case"Suspend":return yield*hF(e.thunk(),t,r);default:{let e=yield*t.load(r);if(void 0===e)return;if("Value"===e._tag||"Record"===e._tag&&void 0!==e.value||"Array"===e._tag&&void 0!==e.value)return e.value;return}}});var hU=class e{static forChildEnv=e=>AX(function*(){let t=yield*hN,r={};for(let[i,s]of Object.entries(e)){let e=cy(s);yield*t.setSecret(e),r[i]=e}return r});static forRunnerFile=e=>AX(function*(){let t=yield*hN,r=cy(e);return yield*t.setSecret(r),r});static forSigning=t=>e.forRunnerFile(t);static adopt=e=>{var t,r;let i,s,n,o,a,A;return i=void 0,t=gz(gY()([gj],([e])=>(t,r,s)=>e7(t,cQ)?oC(void 0!==i?oE(i(t.label,s),e=>new cR(["label"],e)):n7,()=>oB(gR(e)(cy(t),s),{onSuccess:()=>t,onFailure:()=>{let e=r3(t);return new cF(r,e,[new cR(["value"],new cv(e))])}})):rp(new cU(r,r3(t))),{typeConstructor:{_tag:"effect/Redacted",options:void 0},generation:{runtime:"Schema.Redacted(?)",Type:"Redacted.Redacted<?>",importDeclaration:'import * as Redacted from "effect/Redacted"'},expected:"Redacted",toCodecJson:([e])=>{var t,r;let i,s;return t=e,i=(r=oE(function e(t){switch(t._tag){case"MissingKey":return t;case"Forbidden":return new cT(iC(t.actual,cN),t.annotations);case"Filter":return new cD(cN(t.actual),t.filter,e(t.issue));case"Pointer":return new cR(t.path,e(t.issue));case"Encoding":case"InvalidType":case"InvalidValue":case"Composite":return new cv(iC(t.actual,cN));case"AnyOf":case"OneOf":case"UnexpectedKey":return new cv(r3(cN(t.actual)))}}),e=>{var t;return gz(d9(t=e.ast,new c3(r,eq),gi(t)),{schema:e})})(t),s={decode:c$(e=>cN(e,{label:void 0})),encode:c$(cy)},new dd(i.ast,c8(s))},toArbitrary:([e])=>()=>({arbitrary:e.arbitrary.map(e=>cN(e,{label:void 0})),terminal:e.terminal?.map(e=>cN(e,{label:void 0}))}),toFormatter:()=>globalThis.String,toEquivalence:([e])=>rW((t,r)=>e(cy(t),cy(r)))}).ast,{value:gj}),n=gR(s=gz(uo(t.ast),{schema:t})),o=gs(s.ast),a="string"==typeof e?[e]:e??[],r=(e,t)=>{let r=[...t,...a];return hF(o,e,r).pipe(oC(e=>n(e).pipe(oE(e=>new gS(r.length>0?new cR(r,e):e)))),oE(e=>new hR(e)))},(A=Object.create(hM)).parse=(e,t=[])=>r(e,t),A}};let hv=Symbol.for("~effect/http/Headers"),hT=Object.defineProperties(Object.create(null),{[hv]:{value:hv},[tx]:{value(e){return hq(this,sN(e,hV))}},toJSON:{value(){return tR(this)}},[tf]:{value(e){return hO(this,e)}},[tr]:{value(){return td(this)}},toString:{value:tY.toString},[tH]:{value:tY[tH]}}),hL=e=>Object.assign(Object.create(hT),e),hO=(I=ez(2,(e,t)=>{for(let r of i2(e))if(!i0(t,r)||!rj(e[r],t[r]))return!1;return!0}),(e,t)=>I(e,t)&&I(t,e)),hH=Object.create(hT),hP=e=>{if(void 0===e)return hH;if(Symbol.iterator in e){let t=Object.create(hT);for(let[r,i]of e)t[r.toLowerCase()]=i;return t}let t=Object.create(hT);for(let[r,i]of Object.entries(e))Array.isArray(i)?t[r.toLowerCase()]=i.join(", "):void 0!==i&&(t[r.toLowerCase()]=i);return t},hY=ez(3,(e,t,r)=>{let i=hL(e);return i[t.toLowerCase()]=r,i}),hG=ez(2,(e,t)=>hL({...e,...hP(t)})),hz=ez(2,(e,t)=>{let r=hL(e);return delete r[t.toLowerCase()],r}),hq=ez(2,(e,t)=>{let r={...e},i=t=>{if("string"==typeof t){let i=t.toLowerCase();i in e&&(r[i]=cN(e[i]))}else for(let i in e)t.test(i)&&(r[i]=cN(e[i]))};if(Array.isArray(t))for(let e=0;e<t.length;e++)i(t[e]);else i(t);return r}),hV=sg("effect/Headers/CurrentRedactedNames",{defaultValue:()=>["authorization","cookie","set-cookie","x-api-key"]}),h_="~effect/http/HttpClientError";class hJ extends lS("HttpClientError"){constructor(e){"cause"in e.reason?super({...e,cause:e.reason.cause}):super(e)}[h_]=h_;get request(){return this.reason.request}get response(){return"response"in this.reason?this.reason.response:void 0}get message(){return this.reason.message}}let hW=e=>e.endsWith("Error")?e.slice(0,-5):e,hj=(e,t,r)=>t?`${e}: ${t} (${r})`:`${e} error (${r})`;class hK extends lS("TransportError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return hj(hW(this._tag),this.description,this.methodAndUrl)}}class hX extends lS("InvalidUrlError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){return hj(hW(this._tag),this.description,this.methodAndUrl)}}class hZ extends lS("DecodeError"){get methodAndUrl(){return`${this.request.method} ${this.request.url}`}get message(){let e=`${this.response.status} ${this.methodAndUrl}`;return hj(hW(this._tag),this.description,e)}}let h$="~effect/http/HttpBody";class h0{[h$];constructor(){this[h$]=h$}[tH](){return this.toJSON()}toString(){return tU(this,{ignoreToString:!0})}}let h1=new class extends h0{_tag="Empty";toJSON(){return{_id:"effect/HttpBody",_tag:"Empty"}}};class h2 extends h0{_tag="Uint8Array";body;contentType;contentLength;constructor(e,t,r){super(),this.body=e,this.contentType=t,this.contentLength=r}toJSON(){return{_id:"effect/HttpBody",_tag:"Uint8Array",body:this.contentType.startsWith("text/")||this.contentType.endsWith("json")?new TextDecoder().decode(this.body):`Uint8Array(${this.body.length})`,contentType:this.contentType,contentLength:this.contentLength}}}let h3=(e,t)=>new h2(e,t??"application/octet-stream",e.length),h5=new TextEncoder,h4="~effect/http/UrlParams",h8={...t0,[h4]:h4,[Symbol.iterator](){return this.params[Symbol.iterator]()},toJSON(){return{_id:"UrlParams",params:Object.fromEntries(this.params)}},[tf](e){return me(this,e)},[tr](){return tu(this.params.flat())}},h9=e=>{let t=Object.create(h8);return t.params=e,t},h6=e=>{if(e7(e,h4))return e;let t=h7(e),r=[];for(let e=0;e<t.length;e++)if(Array.isArray(t[e][0])){let[i,s]=t[e];r.push([`${i[0]}[${i.slice(1).join("][")}]`,s])}else r.push(t[e]);return h9(r)},h7=e=>{let t="function"==typeof e[Symbol.iterator]?i5(e):Object.entries(e),r=[];for(let[e,i]of t)if(Array.isArray(i))for(let t=0;t<i.length;t++)void 0!==i[t]&&r.push([e,String(i[t])]);else if("object"==typeof i)for(let[t,s]of h7(i))r.push([[e,..."string"==typeof t?[t]:t],s]);else void 0!==i&&r.push([e,String(i)]);return r},me=rW((e,t)=>mt(e.params,t.params)),mt=(et=[rj,rj],er=rW((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!et[r](e[r],t[r]))return!1;return!0}),rW((e,t)=>{if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++)if(!er(e[r],t[r]))return!1;return!0})),mr=h9([]),mi=ez(2,(e,t)=>{let r=h6(t),i=r.params,s=new Set;for(let e=0;e<i.length;e++)s.add(i[e][0]);for(let t=0;t<e.params.length;t++)s.has(e.params[t][0])||i.push(e.params[t]);return r}),ms="~effect/http/HttpClientRequest",mn={[ms]:ms,...tY,toJSON(){return{_id:"HttpClientRequest",method:this.method,url:this.url,urlParams:this.urlParams,hash:this.hash,headers:tR(this.headers),body:this.body.toJSON()}},pipe(){return eP(this,arguments)}};function mo(e,t,r,i,s,n){let o=Object.create(mn);return o.method=e,o.url=t,o.urlParams=r,o.hash=i,o.headers=s,o.body=n,o}let ma=mo("GET","",mr,r2(),hH,h1),mA=e=>(t,r)=>mc(ma,{method:e,url:t,...r??void 0}),ml=mA("POST"),mc=ez(2,(e,t)=>{let r=e;return t.method&&(r=md(r,t.method)),t.url&&(r=mC(r,t.url)),t.headers&&(r=mu(r,t.headers)),t.urlParams&&(r=mI(r,t.urlParams)),t.hash&&(r=mf(r,t.hash)),t.body&&(r=mE(r,t.body)),t.accept&&(r=mm(r,t.accept)),t.acceptJson&&(r=mp(r)),r}),md=ez(2,(e,t)=>mo(t,e.url,e.urlParams,e.hash,e.headers,e.body)),mg=ez(3,(e,t,r)=>mo(e.method,e.url,e.urlParams,e.hash,hY(e.headers,t,r),e.body)),mu=ez(2,(e,t)=>mo(e.method,e.url,e.urlParams,e.hash,hG(e.headers,t),e.body)),mh=ez(2,(e,t)=>mg(e,"Authorization",`Bearer ${"string"==typeof t?t:cy(t)}`)),mm=ez(2,(e,t)=>mg(e,"Accept",t)),mp=mm("application/json"),mC=ez(2,(e,t)=>{if("string"==typeof t)return mo(e.method,t,e.urlParams,e.hash,e.headers,e.body);let r=new URL(t.toString()),i=h6(r.searchParams),s=iA(""===r.hash?void 0:r.hash.slice(1));return r.search="",r.hash="",mo(e.method,r.toString(),i,s,e.headers,e.body)}),mI=ez(2,(e,t)=>mo(e.method,e.url,mi(e.urlParams,t),e.hash,e.headers,e.body)),mf=ez(2,(e,t)=>mo(e.method,e.url,e.urlParams,r3(t),e.headers,e.body)),mE=ez(2,(e,t)=>{let r=e.headers;return"Empty"===t._tag||"FormData"===t._tag?r=hz(hz(r,"Content-Type"),"Content-length"):(t.contentType&&(r=hY(r,"content-type",t.contentType)),void 0!==t.contentLength&&(r=hY(r,"content-length",t.contentLength.toString()))),mo(e.method,e.url,e.urlParams,e.hash,r,t)}),mB=ez(e=>e7(e[0],ms),(e,t,r)=>mE(e,h3(t,r))),my=ez(2,(e,t)=>{let r,i;return mE(e,(r=JSON.stringify(t),i=(void 0)??"application/json",h3(h5.encode(r),i??"text/plain")))}),mQ="~effect/http/Cookies",mN="~effect/http/Cookies/Cookie",mb=(e=>e7(e,mN),"~effect/http/Cookies/CookieError"),mS={[mQ]:mQ,...tY,toJSON(){return{_id:"effect/Cookies",cookies:i1(this.cookies,e=>e.toJSON())}},pipe(){return eP(this,arguments)}},mw=e=>{var t;let r,i={};for(let t of e)i[t.name]=t;return t=i,(r=Object.create(mS)).cookies=t,r},mD=mw([]),mx=/^[\u0009\u0020-\u007e\u0080-\u00ff]+$/,mR={[mN]:mN,...tY,toJSON(){return{_id:"effect/Cookies/Cookie",name:this.name,value:this.value,options:this.options}}},mM=e=>{try{return decodeURIComponent(e)}catch(t){return e}},mk="~effect/http/HttpIncomingMessage",mF=sg("effect/http/HttpIncomingMessage/MaxBodySize",{defaultValue:()=>void 0}),mU="~effect/http/HttpClientResponse";class mv extends lS("UrlError"){}let mT="~effect/http/HttpClient",mL=sg("effect/HttpClient"),mO=ez(2,(e,t)=>mH(r=>t(e.postprocess(r)),e.preprocess)),mH=(e,t)=>{let r=Object.create(mP);return r.preprocess=t,r.postprocess=e,r.execute=function(r){return e(t(r))},r},mP={[mT]:mT,pipe(){return eP(this,arguments)},...tY,toJSON:()=>({_id:"effect/HttpClient"}),...Object.fromEntries([["GET","get"],["POST","post"],["PUT","put"],["DELETE","del"],["PATCH","patch"],["HEAD","head"],["OPTIONS","options"],["TRACE","trace"]].map(([e,t])=>[t,function(t,r){return this.execute(mA(e)(t,r))}]))},mY=sg("effect/http/HttpClient/TracerDisabledWhen",{defaultValue:()=>eJ}),mG=sg("effect/HttpClient/TracerPropagationEnabled",{defaultValue:e_}),mz=sg("effect/http/HttpClient/SpanNameGenerator",{defaultValue:()=>e=>`http.client ${e.method}`}),mq=(()=>{if("FinalizationRegistry"in globalThis&&globalThis.FinalizationRegistry){let e=new FinalizationRegistry(e=>{e.abort()});return{register(t,r){e.register(t,r,t)},unregister(t){e.unregister(t)}}}let e=new Map;return{register(t,r){e.set(t,setTimeout(()=>r.abort(),5e3))},unregister(t){let r=e.get(t);void 0!==r&&(clearTimeout(r),e.delete(t))}}})(),mV=new WeakMap;class m_{original;controller;constructor(e,t){this.original=e,this.controller=t}[mU]=mU;[mk]=mk;applyInterrupt(e){return n3(()=>(mq.unregister(this.original),aa(e,()=>n2(()=>{this.controller.abort()}))))}get request(){return this.original.request}get status(){return this.original.status}get headers(){return this.original.headers}get cookies(){return this.original.cookies}get remoteAddress(){return this.original.remoteAddress}get formData(){return this.applyInterrupt(this.original.formData)}get text(){return this.applyInterrupt(this.original.text)}get json(){return this.applyInterrupt(this.original.json)}get urlParamsBody(){return this.applyInterrupt(this.original.urlParamsBody)}get arrayBuffer(){return this.applyInterrupt(this.original.arrayBuffer)}get stream(){var e;let t;return e=()=>(mq.unregister(this.original),he(this.original.stream,n2(()=>{this.controller.abort()}))),u8((t=()=>e().channel,uW((e,r)=>n3(()=>(0,t().transform)(e,r)))))}toJSON(){return this.original.toJSON()}[tH](){return this.original[tH]()}pipe(){return eP(this,arguments)}}var mJ=class extends ur()("BlobStoreError",{reason:g0(["unreachable","refused","misconfigured"]),key:gq(gj),status:gq(gK),detail:gq(gj),cause:gq(g4())}){get message(){switch(this.reason){case"unreachable":return`The blob store could not be reached${void 0===this.key?"":` for "${this.key}"`}`;case"refused":return`The blob store refused "${this.key}"${void 0===this.status?"":` with status ${this.status}`}${void 0===this.detail?"":`: ${this.detail}`}`;default:return`The blob store is misconfigured${void 0===this.detail?"":`: ${this.detail}`}`}}},mW=class e extends sg()("@effected/github-actions/BlobStore"){static layerS3=t=>AO(e,mK(t));static makeTest=(e={})=>({get:()=>n2(()=>mj("get")),put:()=>n2(()=>mj("put")),has:()=>n2(()=>mj("has")),...e});static layerTest=(t={})=>Av(e,e.makeTest(t));static layerMemory=(function(){return 1==arguments.length?e=>AL(()=>sE(arguments[0],e())):AL(()=>sE(arguments[0],arguments[1]()))})(e,()=>{let e=new Map;return{get:(t,r)=>n3(()=>{let i=e.get(t);return void 0===i?n0(r2()):oI(n5(ug.decodeResult(i,r)),r3)}),put:(t,r,i)=>n3(()=>oI(n5(ug.encodeResult(r.metadata,r.body,i)),r=>{e.set(t,r)})),has:t=>n2(()=>e.has(t))}})};let mj=e=>{throw Error(`BlobStore.makeTest: ${e}() was called but not stubbed — pass a \`${e}\` override.`)},mK=e=>AX(function*(){let t=yield*mL,r=e.endpoint??`https://s3.${e.region}.amazonaws.com`;for(;r.endsWith("/");)r=r.slice(0,-1);let i=new URL(r).host,s=yield*hU.forSigning(e.secretAccessKey),n=void 0===e.sessionToken?void 0:yield*hU.forSigning(e.sessionToken),o=(o,a,A)=>n3(()=>{let l,c,{url:d,headers:g}=(c=((e,t)=>{let r,i,s,{headers:n,canonicalRequest:o,signedHeaders:a,amzDate:A,dateStamp:l}=((e,t)=>{var r;let i,{amzDate:s,dateStamp:n}=(r=e.now,{amzDate:i=`${r.toISOString().replace(/[:-]|\.\d{3}/g,"").slice(0,15)}Z`,dateStamp:i.slice(0,8)}),o=um(e.body),a={...e.headers,host:e.host,"x-amz-date":s,"x-amz-content-sha256":o,...void 0===t.sessionToken?{}:{"x-amz-security-token":t.sessionToken}},A=new Map(Object.entries(a).map(([e,t])=>[e.toLowerCase(),t])),l=[...A.keys()].sort(),c=l.map(e=>`${e}:${(A.get(e)??"").trim().replace(/\s+/g," ")} +`).join(""),d=l.join(";"),g=`/${e.path.split("/").filter(e=>""!==e).map(uC).join("/")}`;return{headers:a,signedHeaders:d,amzDate:s,dateStamp:n,canonicalRequest:[e.method,g,"",c,d,o].join("\n")}})(e,t),c=`${l}/${t.region}/${t.service}/aws4_request`,d=[uh,A,c,um(o)].join("\n"),g=(r=t.secretAccessKey,i=t.region,s=t.service,up(up(up(up(`AWS4${r}`,l),i),s),"aws4_request")),u=Buffer.from(up(g,d)).toString("hex");return{...n,authorization:`${uh} Credential=${t.accessKeyId}/${c}, SignedHeaders=${a}, Signature=${u}`}})({method:o,path:l=[e.bucket,...void 0===e.prefix?[]:[e.prefix],a].join("/").replaceAll(/\/{2,}/g,"/"),host:i,headers:{},body:A,now:new Date},{accessKeyId:e.accessKeyId,secretAccessKey:s,...void 0===n?{}:{sessionToken:n},region:e.region,service:"s3"}),{url:`${r}/${l}`,headers:c}),u=mA(o)(d,{headers:g}),h=0===A.length?u:mB(u,A);return t.execute(h).pipe(oq(e=>new mJ({reason:"unreachable",key:a,cause:e})))});return{get:(e,t)=>AX(function*(){let r=yield*o("GET",e,new Uint8Array(0));if(404===r.status)return r2();if(r.status<200||r.status>=300)return yield*rp(new mJ({reason:"refused",key:e,status:r.status}));let i=yield*r.arrayBuffer.pipe(oq(t=>new mJ({reason:"unreachable",key:e,cause:t})));return r3((yield*n5(ug.decodeResult(new Uint8Array(i),t))))}),put:(e,t,r)=>AX(function*(){let i=yield*n5(ug.encodeResult(t.metadata,t.body,r)),s=yield*o("PUT",e,i);if(s.status<200||s.status>=300)return yield*rp(new mJ({reason:"refused",key:e,status:s.status}))}),has:e=>AX(function*(){let t=yield*o("HEAD",e,new Uint8Array(0));return 404!==t.status&&(!(t.status<200)&&!(t.status>=300)||(yield*rp(new mJ({reason:"refused",key:e,status:t.status}))))})}});class mX extends ut("TurboArtifactMeta")({tag:g1(gj),durationMs:gK}){}let mZ="/v8/artifacts/",m$={status:404,headers:{}},m0=(e,t)=>({status:e,headers:{"content-type":"application/json"},body:new TextEncoder().encode(JSON.stringify(t))}),m1=(e,t)=>""===t||e.authorization?.replace(/^Bearer\s+/i,"")===t,m2=i("node:fs"),m3=i("node:os");var m5=o(6760);let m4=(e,t)=>(r,[i])=>{let s="Unknown";switch(r.code){case"ENOENT":s="NotFound";break;case"EACCES":s="PermissionDenied";break;case"EEXIST":s="AlreadyExists";break;case"EISDIR":case"ENOTDIR":case"ELOOP":s="BadResource";break;case"EBUSY":s="Busy"}return uy({_tag:s,module:e,method:t,pathOrDescriptor:i,syscall:r.syscall,cause:r})},m8=e=>t=>uQ({module:"FileSystem",method:e,description:t.message??String(t)}),m9=(f=A2(m2.access,m4("FileSystem","access"),m8("access")),(e,t)=>{let r=m2.constants.F_OK;return t?.readable&&(r|=m2.constants.R_OK),t?.writable&&(r|=m2.constants.W_OK),f(e,r)}),m6=(E=A2(m2.cp,m4("FileSystem","copy"),m8("copy")),(e,t,r)=>E(e,t,{force:r?.overwrite??!1,preserveTimestamps:r?.preserveTimestamps??!1,recursive:!0})),m7=(B=A2(m2.copyFile,m4("FileSystem","copyFile"),m8("copyFile")),(e,t)=>B(e,t)),pe=(y=A2(m2.chmod,m4("FileSystem","chmod"),m8("chmod")),(e,t)=>y(e,t)),pt=(Q=A2(m2.chown,m4("FileSystem","chown"),m8("chown")),(e,t,r)=>Q(e,t,r)),pr=(N=A2(m2.glob,m4("FileSystem","glob"),m8("glob")),(e,t)=>N(e,{cwd:t?.root,exclude:t?.exclude})),pi=(b=A2(m2.link,m4("FileSystem","link"),m8("link")),(e,t)=>b(e,t)),ps=(S=A2(m2.mkdir,m4("FileSystem","makeDirectory"),m8("makeDirectory")),(e,t)=>S(e,{recursive:t?.recursive??!1,mode:t?.mode})),pn=e=>{let t=A2(m2.mkdtemp,m4("FileSystem",e),m8(e));return e=>n3(()=>{let r=e?.prefix??"",i="string"==typeof e?.directory?m5.join(e.directory,"."):m3.tmpdir();return t(r?m5.join(i,r):i+"/")})},po=pn("makeTempDirectory"),pa=e=>{let t=A2(m2.rm,m4("FileSystem",e),m8(e));return(e,r)=>t(e,{recursive:r?.recursive??!1,force:r?.force??!1})},pA=pa("remove"),pl=(w=pn("makeTempDirectoryScoped"),D=pa("makeTempDirectoryScoped"),e=>A$(w(e),e=>oP(D(e,{recursive:!0}),n9))),pc=(ei="open",x=A2(m2.open,m4("FileSystem",ei),m8(ei)),R=A2(m2.close,m4("FileSystem",ei),m8(ei)),(e,t)=>eK(A$(x(e,t?.flag??"r",t?.mode),e=>oP(R(e),n9)),oI(e=>pd(ha(e),t?.flag?.startsWith("a")??!1)))),pd=(()=>{let e=e=>A2(m2.read,m4("FileSystem",e),m8(e)),t=e("read"),r=e("readAlloc"),i=A2(m2.fstat,m4("FileSystem","stat"),m8("stat")),s=A2(m2.ftruncate,m4("FileSystem","truncate"),m8("truncate")),n=A2(m2.fsync,m4("FileSystem","sync"),m8("sync")),o=e=>A2(m2.write,m4("FileSystem",e),m8(e)),a=o("write"),A=o("writeAll");class l{[ho];fd;append;position=BigInt(0);constructor(e,t){this[ho]=ho,this.fd=e,this.append=t}get stat(){return oI(i(this.fd),pE)}get sync(){return n(this.fd)}seek(e,t){let r=hi(e);return n2(()=>("start"===t?this.position=r:"current"===t&&(this.position=this.position+r),this.position))}read(e){return n3(()=>{let r=this.position;return oI(t(this.fd,{buffer:e,position:r}),e=>{let t=hi(e);return this.position=r+t,t})})}readAlloc(e){let t=Number(e);return n3(()=>{let e=Buffer.allocUnsafeSlow(t),i=this.position;return oI(r(this.fd,{buffer:e,position:i}),r=>{if(0===r)return r2();if(this.position=i+BigInt(r),r===t)return r3(e);let s=Buffer.allocUnsafeSlow(r);return e.copy(s,0,0,r),r3(s)})})}truncate(e){return oI(s(this.fd,e?Number(e):void 0),()=>{if(!this.append){let t=BigInt(e??0);this.position>t&&(this.position=t)}})}write(e){return n3(()=>{let t=this.position;return oI(a(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),e=>{let r=hi(e);return this.append||(this.position=t+r),r})})}writeAllChunk(e){return n3(()=>{let t=this.position;return oh(A(this.fd,e,void 0,void 0,this.append?void 0:Number(t)),r=>0===r?rp(uy({module:"FileSystem",method:"writeAll",_tag:"WriteZero",pathOrDescriptor:this.fd,description:"write returned 0 bytes written"})):(this.append||(this.position=t+BigInt(r)),r<e.length?this.writeAllChunk(e.subarray(r)):n7))})}writeAll(e){return this.writeAllChunk(e)}}return(e,t)=>new l(e,t)})(),pg=e=>{let t=pn(e);return on(function*(e){let r=yield*t(e),i=uu.randomBytes(6).toString("hex"),s=m5.join(r,e?.suffix?`${i}${e.suffix}`:i);return yield*pb(s,new Uint8Array(0)),s})},pu=pg("makeTempFile"),ph=(M=pg("makeTempFileScoped"),k=pa("makeTempFileScoped"),e=>A$(M(e),e=>oP(k(m5.dirname(e),{recursive:!0}),n9))),pm=(e,t)=>AK({try:()=>m2.promises.readdir(e,t),catch:t=>m4("FileSystem","readDirectory")(t,[e])}),pp=e=>oi((t,r)=>{try{m2.readFile(e,{signal:r},(r,i)=>{r?t(rp(m4("FileSystem","readFile")(r,[e]))):t(n0(i))})}catch(e){t(rp(m8("readFile")(e)))}}),pC=(F=A2(m2.readlink,m4("FileSystem","readLink"),m8("readLink")),e=>F(e)),pI=(U=A2(m2.realpath,m4("FileSystem","realPath"),m8("realPath")),e=>U(e)),pf=(v=A2(m2.rename,m4("FileSystem","rename"),m8("rename")),(e,t)=>v(e,t)),pE=e=>({type:e.isFile()?"File":e.isDirectory()?"Directory":e.isSymbolicLink()?"SymbolicLink":e.isBlockDevice()?"BlockDevice":e.isCharacterDevice()?"CharacterDevice":e.isFIFO()?"FIFO":e.isSocket()?"Socket":"Unknown",mtime:iA(e.mtime),atime:iA(e.atime),birthtime:iA(e.birthtime),dev:e.dev,rdev:iA(e.rdev),ino:iA(e.ino),mode:e.mode,nlink:iA(e.nlink),uid:iA(e.uid),gid:iA(e.gid),size:hi(e.size),blksize:void 0!==e.blksize?r3(hi(e.blksize)):r2(),blocks:iA(e.blocks)}),pB=(T=A2(m2.stat,m4("FileSystem","stat"),m8("stat")),e=>oI(T(e),pE)),py=(L=A2(m2.symlink,m4("FileSystem","symlink"),m8("symlink")),(e,t)=>L(e,t)),pQ=(O=A2(m2.truncate,m4("FileSystem","truncate"),m8("truncate")),(e,t)=>O(e,void 0!==t?Number(t):void 0)),pN=(H=A2(m2.utimes,m4("FileSystem","utime"),m8("utime")),(e,t,r)=>H(e,t,r)),pb=(e,t,r)=>oi((i,s)=>{try{m2.writeFile(e,t,{signal:s,flag:r?.flag,mode:r?.mode},t=>{t?i(rp(m4("FileSystem","writeFile")(t,[e]))):i(n7)})}catch(e){i(rp(m8("writeFile")(e)))}}),pS=oI(rI(e=>n0(sD(e.context,hA))),e=>{let t;return t={access:m9,chmod:pe,chown:pt,copy:m6,copyFile:m7,glob:pr,link:pi,makeDirectory:ps,makeTempDirectory:po,makeTempDirectoryScoped:pl,makeTempFile:pu,makeTempFileScoped:ph,open:pc,readDirectory:pm,readFile:pp,readLink:pC,realPath:pI,remove:pA,rename:pf,stat:pB,symlink:py,truncate:pQ,utimes:pN,watch:t=>pB(t).pipe(oI(r=>e.pipe(iy(e=>e.register(t,r)),ir(()=>{let e,r;return u8((e=e=>A$(n2(()=>{let r=m2.watch(t,{recursive:!0},(t,r)=>{if(r)switch(t){case"rename":return void aS(oj(pB(r),{onSuccess:t=>uM(e,{_tag:"Create",path:r}),onFailure:t=>uM(e,{_tag:"Remove",path:r})}));case"change":var i;return void(i={_tag:"Update",path:r},"Open"!==e.state._tag||(e.messages.length>=e.capacity?"sliding"===e.strategy?(uD(e.messages),uS(e.messages,i)):e.capacity<=0&&e.state.takers.size>0&&(uS(e.messages,i),uP(e)):(uS(e.messages,i),uY(e))))}});return r.on("error",r=>{uk(e,rr(uy({module:"FileSystem",_tag:"Unknown",method:"watch",pathOrDescriptor:t,cause:r})))}),r.on("close",()=>{uk(e,rr(rN()))}),r}),e=>n2(()=>e.close())),r=void 0,uW((t,i)=>{let s;return oI((s={capacity:r?.bufferSize,strategy:r?.strategy},rI(e=>{let t=Object.create(uR);return t.dispatcher=e.currentDispatcher,t.capacity=s?.capacity??1/0,t.strategy=s?.strategy??"suspend",t.messages={head:void 0,tail:void 0,length:0},t.scheduleRunning=!1,t.state={_tag:"Open",takers:new Set,offers:new Set,awaiters:new Set},n0(t)})).pipe(od(e=>o8(i,eV(n2(()=>{if("Done"===e.state._tag)return!0;uw(e.messages);let t=e.state.offers;if(u_(e,"Open"===e.state._tag?uH:e.state.exit),t.size>0){for(let e of t)"Single"===e._tag?e.resume(uT):e.resume(rg(e.remaining.slice(e.offset)));t.clear()}return!0})))),od(t=>aQ(at(e(t),i),i))),uF)})))}))),u7),writeFile:pb},hs.of({...t,[hr]:hr,exists:e=>eK(t.access(e),ol(!0),oz("PlatformError",e=>"NotFound"===e.reason._tag?n0(!1):rp(e))),readFileString:(e,r)=>oh(t.readFile(e),e=>oe({try:()=>new TextDecoder(r).decode(e),catch:e=>uQ({module:"FileSystem",method:"readFileString",description:"invalid encoding",cause:e})})),stream:on(function*(e,r){let i=yield*t.open(e,{flag:"r"});r?.offset&&(yield*i.seek(r.offset,"start"));let s=r?.bytesToRead!==void 0?hi(r.bytesToRead):void 0,n=BigInt(0),o=hi(r?.chunkSize??65536),a=i.readAlloc(o);return u8(uj(n0(oh(n3(()=>void 0!==s&&s<=n?As():void 0!==s&&s-n<o?i.readAlloc(s-n):a),r9({onNone:()=>As(),onSome:e=>(n+=BigInt(e.length),n0(st(e)))})))))},u7),sink:(e,r)=>eK(t.open(e,{flag:"w",...r}),oI(e=>{let t,r;return t=t=>e.writeAll(t),r=aI(e=>t(e),{discard:!0}),u2(e=>e.pipe(oh(r),oT({disableYield:!0}),An(()=>u0)))}),u5),writeFileString:(e,r,i)=>oh(oe({try:()=>new TextEncoder().encode(r),catch:e=>uQ({module:"FileSystem",method:"writeFileString",description:"could not encode string",cause:e})}),r=>t.writeFile(e,r,i))})}),pw=AO(hs)(pS),pD=i("node:https");var px=o(7075);i("node:stream/promises");let pR="~effect/MutableRef",pM={[pR]:pR,...t0,toJSON(){return{_id:"MutableRef",current:tP(this.current)}}},pk=e=>uW((t,r)=>pF({scope:r,readable:e.evaluate(),onError:e.onError??pv,chunkSize:e.chunkSize,closeOnDone:e.closeOnDone})),pF=e=>{var t;let r,i=e.readable,s=e.closeOnDone??!0,n=e.exit??(t=void 0,(r=Object.create(pM)).current=t,r),o=aP(!1);function a(){o.openUnsafe()}function A(t){n.current=rp(e.onError(t)),o.openUnsafe()}function l(){n.current=rp(rN()),o.openUnsafe()}i.on("readable",a),i.once("error",A),i.once("end",l);let c=n3(function t(){let r=e.readable.read(e.chunkSize);if(null===r)return n.current?n.current:i.readableEnded?rp(rN()):(o.closeUnsafe(),oh(o.await,t));let s=st(r);for(;null!==(r=e.readable.read(e.chunkSize));)s.push(r);return n0(s)});return ol(o8(e.scope,eV(n2(()=>{i.off("readable",a),i.off("error",A),i.off("end",l),s&&"closed"in e.readable&&!e.readable.closed&&e.readable.destroy()}))),c)};class pU extends px.Readable{readLatch;fiber=void 0;constructor(e,t){super({}),this.readLatch=aP(!1),this.fiber=ht(t,e=>this.readLatch.whenOpen(n2(()=>{this.readLatch.closeUnsafe();for(let t=0;t<e.length;t++){let r=e[t];"string"==typeof r?this.push(r,"utf8"):this.push(r)}}))).pipe(this.readLatch.whenOpen,oF(e),aS),this.fiber.addObserver(e=>{this.fiber=void 0,oy(e)?this.push(null):this.destroy(nM(e.cause))})}_read(e){this.readLatch.openUnsafe()}_destroy(e,t){if(!this.fiber)return t(e);aS(nX(this.fiber)).addObserver(r=>{t("Failure"===r._tag?nM(r.cause):e)})}}let pv=e=>new a5(e);var pT=o(3006);class pL extends sg()("@effect/platform-node/NodeHttpClient/Dispatcher"){}let pO=A$(n2(()=>new pT.g6),e=>{let t;return ot(function(e,r){tq(()=>t(r)).then(t=>e(n0(t)),t=>e(n9(t)))},0!==(t=()=>e.destroy()).length)}),pH=AO(pL)(pO),pP=sg("@effect/platform-node/NodeHttpClient/UndiciOptions",{defaultValue:()=>({})}),pY=AX(function*(){let e,t=yield*pL;return e=(e,r,i,s)=>(function(e){switch(e._tag){case"Empty":return n0(null);case"Uint8Array":case"Raw":return n0(e.body);case"FormData":return n0(e.formData);case"Stream":let t;return t=e.stream,oI(oM,e=>new pU(e,t))}})(e.body).pipe(oh(n=>AK({try:()=>t.request({...s.getRef(pP),signal:i,method:e.method,headers:e.headers,origin:r.origin,path:r.pathname+r.search+r.hash,body:n,headersTimeout:36e5,bodyTimeout:0}),catch:t=>new hJ({reason:new hK({request:e,cause:t})})})),oI(t=>new pz(e,t))),mH(t=>oh(t,t=>rI(r=>{let i,s,n,o=mV.get(t),a=o??new AbortController,A=(i=t.url,s=t.urlParams,n=iu(t.hash),(e=>{if(e4(e))try{return rq(e())}catch(e){return rz(e)}try{return rq(e.try())}catch(t){return rz(e.catch(t))}})({try:()=>{let e=new URL(i,(()=>{if("location"in globalThis&&void 0!==globalThis.location&&void 0!==globalThis.location.origin&&void 0!==globalThis.location.pathname)return location.origin+location.pathname})());for(let t=0;t<s.params.length;t++){let[r,i]=s.params[t];void 0!==i&&e.searchParams.append(r,i)}return void 0!==n&&(e.hash=n),e},catch:e=>new mv({cause:e})}));if(rY(A))return rp(new hJ({reason:new hX({request:t,cause:A.failure})}));let l=A.success;if(r.getRef(na)||r.getRef(mY)(t)){let i=e(t,l,a.signal,r);return o?i:am(e=>oJ(e(i),{onSuccess:e=>(mq.register(e,a),n0(new m_(e,a))),onFailure:e=>(e.reasons.some(ra)&&a.abort(),n1(e))}))}return((e,...t)=>{let r=1===t.length?void 0:t[0],i=t[t.length-1];return rI(t=>{let s=((e,t,r)=>{let i,s=!e.getRef(nC)||r?.annotations&&sN(r.annotations,na),n=r?.parent!==void 0?r3(r.parent):r?.root?r2():az(e.currentSpan);if(s){let e;e={name:t,parent:n,annotations:sB(r?.annotations??sf,na,!0)},i=Object.assign(Object.create(aG),e)}else{let s=e.getRef(nd),o=e.getRef(aV),a=e.getRef(nI),A=e.getRef(nf),l=e.getRef(nE),c=r?.level??e.getRef(nA),d=r?.links!==void 0?[...l,...r.links]:l.slice();for(let[l,g]of(i=s.span({name:t,parent:n,annotations:r?.annotations??sf,links:d,startTime:a?o.currentTimeNanosUnsafe():BigInt(0),kind:r?.kind??"internal",root:r?.root??r4(n),sampled:r?.sampled??((!r8(n)||!1!==n.value.sampled)&&!a8(e.getRef(nl),c))}),Object.entries(A)))i.attribute(l,g);if(r?.attributes!==void 0)for(let[e,t]of Object.entries(r.attributes))i.attribute(e,t)}return i})(t,e,r),n=t.getRef(aV);return ai(tq(()=>i(s)),e=>n2(()=>{"Ended"!==s.status._tag&&s.end(n.currentTimeNanosUnsafe(),e)}))})})(r.getRef(mz)(t),{kind:"client"},i=>{i.attribute("http.request.method",t.method),i.attribute("server.address",l.origin),""!==l.port&&i.attribute("server.port",+l.port),i.attribute("url.full",l.toString()),i.attribute("url.path",l.pathname),i.attribute("url.scheme",l.protocol.slice(0,-1));let s=l.search.slice(1);""!==s&&i.attribute("url.query",s);let n=r.getRef(hV),A=hq(t.headers,n);for(let e in A)i.attribute(`http.request.header.${e}`,String(A[e]));return t=r.getRef(mG)?mu(t,Object.setPrototypeOf({b3:`${i.traceId}-${i.spanId}-${i.sampled?"1":"0"}${r9(i.parent,{onNone:()=>"",onSome:e=>`-${e.spanId}`})}`,traceparent:`00-${i.traceId}-${i.spanId}-${i.sampled?"01":"00"}`},hT)):t,am(s=>s(e(t,l,a.signal,r)).pipe(A1(i,{captureStackTrace:!1}),oJ({onSuccess:e=>{i.attribute("http.response.status_code",e.status);let t=hq(e.headers,n);for(let e in t)i.attribute(`http.response.header.${e}`,String(t[e]));return o?n0(e):(mq.register(e,a),n0(new m_(e,a)))},onFailure:e=>(!o&&e.reasons.some(ra)&&a.abort(),n1(e))})))})})),n0)});function pG(e){}class pz extends tG{[mk];[mU];request;source;constructor(e,t){super(),this[mk]=mk,this[mU]=mU,this.request=e,this.source=t,t.body.on("error",pG)}get status(){return this.source.statusCode}get statusText(){}get headers(){return hP(this.source.headers)}cachedCookies;get cookies(){if(void 0!==this.cachedCookies)return this.cachedCookies;let e=this.source.headers["set-cookie"];return this.cachedCookies=e?(e=>{let t=[];for(let r of"string"==typeof e?[e]:e){let e=function(e){let t=e.split(";").map(e=>e.trim()).filter(e=>""!==e);if(0===t.length)return;let r=t[0].indexOf("=");if(-1===r)return;let i=t[0].slice(0,r);if(!mx.test(i))return;let s=t[0].slice(r+1),n=mM(s);if(1===t.length)return Object.assign(Object.create(mR),{name:i,value:n,valueEncoded:s});let o={};for(let e=1;e<t.length;e++){let r=t[e],i=r.indexOf("="),s=-1===i?r:r.slice(0,i).trim(),n=-1===i?void 0:r.slice(i+1).trim();switch(s.toLowerCase()){case"domain":{if(void 0===n)break;let e=n.trim().replace(/^\./,"");e&&(o.domain=e);break}case"expires":{if(void 0===n)break;let e=new Date(n);isNaN(e.getTime())||(o.expires=e);break}case"max-age":{if(void 0===n)break;let e=parseInt(n,10);isNaN(e)||(o.maxAge=sX(e));break}case"path":if(void 0===n)break;"/"===n[0]&&(o.path=n);break;case"priority":if(void 0===n)break;switch(n.toLowerCase()){case"low":o.priority="low";break;case"medium":o.priority="medium";break;case"high":o.priority="high"}break;case"httponly":o.httpOnly=!0;break;case"secure":o.secure=!0;break;case"partitioned":o.partitioned=!0;break;case"samesite":if(void 0===n)break;switch(n.toLowerCase()){case"lax":o.sameSite="lax";break;case"strict":o.sameSite="strict";break;case"none":o.sameSite="none"}}}return Object.assign(Object.create(mR),{name:i,value:n,valueEncoded:s,options:Object.keys(o).length>0?o:void 0})}(r.trim());e&&t.push(e)}return mw(t)})(e):mD}get remoteAddress(){return r2()}get stream(){return u8(pk({evaluate:()=>this.source.body,onError:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}))}get json(){return oh(this.text,e=>oe({try:()=>""===e?null:JSON.parse(e),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}))}textBody;get text(){return this.textBody||(this.textBody=AK({try:()=>this.source.body.text(),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}).pipe(A0,aT),this.arrayBufferBody=oI(this.textBody,e=>new TextEncoder().encode(e).buffer)),this.textBody}get urlParamsBody(){return oh(this.text,e=>oe({try:()=>h6(new URLSearchParams(e)),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}))}formDataBody;get formData(){return this.formDataBody??=AK({try:()=>this.source.body.formData(),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}).pipe(A0,aT)}arrayBufferBody;get arrayBuffer(){return this.arrayBufferBody||(this.arrayBufferBody=AK({try:()=>this.source.body.arrayBuffer(),catch:e=>new hJ({reason:new hZ({request:this.request,response:this,cause:e})})}).pipe(A0,aT),this.textBody=oI(this.arrayBufferBody,e=>new TextDecoder().decode(e))),this.arrayBufferBody}toJSON(){return((e,t)=>{let r,i=e.headers["content-type"]??"";if(i.includes("application/json"))try{r=aT(e.json)}catch(e){}else if(i.includes("text/")||i.includes("urlencoded"))try{r=aT(e.text)}catch(e){}let s={...t,headers:tR(e.headers),remoteAddress:e.remoteAddress};return void 0!==r&&(s.body=r),s})(this,{_id:"effect/http/HttpClientResponse",request:this.request.toJSON(),status:this.status})}pipe(){return eP(this,arguments)}}let pq=Az(AO(mL)(ok(e=>oI(pY,t=>mO(t,ox(t=>sx(e,t)))))),pH);var pV=class extends ur()("BlobTransferError",{reason:g0(["uploadFailed","downloadFailed"]),cause:gq(g4())}){get message(){return"uploadFailed"===this.reason?"Could not upload to the signed blob url":"Could not download from the signed blob url"}};let p_="ACTIONS_RESULTS_URL",pJ="ACTIONS_RUNTIME_TOKEN",pW=Symbol.for("@effected/github-actions/twirp/conflict"),pj=e=>"transport"===e.kind||"malformed"!==e.kind&&void 0!==e.status&&(e.status>=500||408===e.status||429===e.status),pK=(e,t)=>{if("object"!=typeof e||null===e)return;let r=t.replaceAll(/[A-Z]/g,e=>`_${e.toLowerCase()}`);return e[t]??e[r]},pX=(e,t)=>{let r=pK(e,t);return"string"==typeof r&&""!==r?r:void 0},pZ=e=>!0===pK(e,"ok");class p$ extends Error{constructor(e){super(e),this.name="AbortError"}}var p0=o(7975);let p1=i("node:process");"string"==typeof p1.versions.deno&&p1.versions.deno.length,"string"==typeof p1.versions.bun&&p1.versions.bun.length;let p2=p1.env.DEBUG,p3=[],p5=[],p4=[];p2&&p9(p2);let p8=Object.assign(e=>Ce(e),{enable:p9,enabled:p6,disable:function(){let t=e||"";return p9(""),t},log:function(e,...t){p1.stderr.write(`${p0.format(e,...t)}${m3.EOL}`)}});function p9(t){for(let r of(e=t,p3=[],p5=[],t.split(",").map(e=>e.trim())))r.startsWith("-")?p5.push(r.substring(1)):p3.push(r);for(let e of p4)e.enabled=p6(e.namespace)}function p6(e){if(e.endsWith("*"))return!0;for(let t of p5)if(p7(e,t))return!1;for(let t of p3)if(p7(e,t))return!0;return!1}function p7(e,t){if(-1===t.indexOf("*"))return e===t;let r=t;if(-1!==t.indexOf("**")){let e=[],i="";for(let r of t)if("*"===r&&"*"===i)continue;else i=r,e.push(r);r=e.join("")}let i=0,s=0,n=r.length,o=e.length,a=-1,A=-1;for(;i<o&&s<n;)if("*"===r[s]){if(a=s,++s===n)return!0;for(;e[i]!==r[s];)if(++i===o)return!1;A=i,i++,s++;continue}else if(r[s]===e[i])s++,i++;else{if(!(a>=0)||(s=a+1,(i=A+1)===o))return!1;for(;e[i]!==r[s];)if(++i===o)return!1;A=i,i++,s++;continue}let l=i===e.length,c=s===r.length,d=s===r.length-1&&"*"===r[s];return l&&(c||d)}function Ce(e){let t=Object.assign(function(...r){t.enabled&&(r.length>0&&(r[0]=`${e} ${r[0]}`),t.log(...r))},{enabled:p6(e),destroy:Ct,log:p8.log,namespace:e,extend:Cr});return p4.push(t),t}function Ct(){let e=p4.indexOf(this);return e>=0&&(p4.splice(e,1),!0)}function Cr(e){let t=Ce(`${this.namespace}:${e}`);return t.log=this.log,t}let Ci=["verbose","info","warning","error"],Cs={verbose:400,info:300,warning:200,error:100};function Cn(e,t){t.log=(...t)=>{e.log(...t)}}function Co(e){return Ci.includes(e)}function Ca(e){var t;let r,i=new Set,s=(t=e.logLevelEnvVarName,p1.env[t]),n=p8(e.namespace);function o(e){if(e&&!Co(e))throw Error(`Unknown log level '${e}'. Acceptable values: ${Ci.join(",")}`);r=e;let t=[];for(let e of i)a(e)&&t.push(e.namespace);p8.enable(t.join(","))}function a(e){return!!(r&&Cs[e.level]<=Cs[r])}function A(e,t){let r=Object.assign(e.extend(t),{level:t});if(Cn(e,r),a(r)){let e=p8.disable();p8.enable(e+","+r.namespace)}return i.add(r),r}return n.log=(...e)=>{p8.log(...e)},s&&(Co(s)?o(s):console.error(`${e.logLevelEnvVarName} set to unknown log level '${s}'; logging is not enabled. Acceptable values: ${Ci.join(", ")}.`)),{setLogLevel:o,getLogLevel:function(){return r},createClientLogger:function(e){let t=n.extend(e);return Cn(n,t),{error:A(t,"error"),warning:A(t,"warning"),info:A(t,"info"),verbose:A(t,"verbose")}},logger:n}}let CA=Ca({logLevelEnvVarName:"TYPESPEC_RUNTIME_LOG_LEVEL",namespace:"typeSpecRuntime"});function Cl(e){return CA.createClientLogger(e)}function Cc(e){return e.toLowerCase()}CA.logger;class Cd{_headersMap;constructor(e){if(this._headersMap=new Map,e)for(let t of Object.keys(e))this.set(t,e[t])}set(e,t){this._headersMap.set(Cc(e),{name:e,value:String(t).trim().replace(/[\r\n]/g,"")})}get(e){return this._headersMap.get(Cc(e))?.value}has(e){return this._headersMap.has(Cc(e))}delete(e){this._headersMap.delete(Cc(e))}toJSON(e={}){let t={};if(e.preserveCase)for(let e of this._headersMap.values())t[e.name]=e.value;else for(let[e,r]of this._headersMap)t[e]=r.value;return t}toString(){return JSON.stringify(this.toJSON({preserveCase:!0}))}[Symbol.iterator](){return function*(e){for(let t of e.values())yield[t.name,t.value]}(this._headersMap)}}function Cg(e){return new Cd(e)}function Cu(){return globalThis.crypto.randomUUID()}class Ch{url;method;headers;timeout;withCredentials;body;multipartBody;formData;streamResponseStatusCodes;enableBrowserStreams;proxySettings;disableKeepAlive;abortSignal;requestId;allowInsecureConnection;onUploadProgress;onDownloadProgress;requestOverrides;authSchemes;constructor(e){this.url=e.url,this.body=e.body,this.headers=e.headers??Cg(),this.method=e.method??"GET",this.timeout=e.timeout??0,this.multipartBody=e.multipartBody,this.formData=e.formData,this.disableKeepAlive=e.disableKeepAlive??!1,this.proxySettings=e.proxySettings,this.streamResponseStatusCodes=e.streamResponseStatusCodes,this.withCredentials=e.withCredentials??!1,this.abortSignal=e.abortSignal,this.onUploadProgress=e.onUploadProgress,this.onDownloadProgress=e.onDownloadProgress,this.requestId=e.requestId||Cu(),this.allowInsecureConnection=e.allowInsecureConnection??!1,this.enableBrowserStreams=e.enableBrowserStreams??!1,this.requestOverrides=e.requestOverrides,this.authSchemes=e.authSchemes}}let Cm=new Set(["Deserialize","Serialize","Retry","Sign"]);class Cp{_policies=[];_orderedPolicies;constructor(e){this._policies=e?.slice(0)??[],this._orderedPolicies=void 0}addPolicy(e,t={}){if(t.phase&&t.afterPhase)throw Error("Policies inside a phase cannot specify afterPhase.");if(t.phase&&!Cm.has(t.phase))throw Error(`Invalid phase name: ${t.phase}`);if(t.afterPhase&&!Cm.has(t.afterPhase))throw Error(`Invalid afterPhase name: ${t.afterPhase}`);this._policies.push({policy:e,options:t}),this._orderedPolicies=void 0}removePolicy(e){let t=[];return this._policies=this._policies.filter(r=>(!e.name||r.policy.name!==e.name)&&(!e.phase||r.options.phase!==e.phase)||(t.push(r.policy),!1)),this._orderedPolicies=void 0,t}sendRequest(e,t){return this.getOrderedPolicies().reduceRight((e,t)=>r=>t.sendRequest(r,e),t=>e.sendRequest(t))(t)}getOrderedPolicies(){return this._orderedPolicies||(this._orderedPolicies=this.orderPolicies()),this._orderedPolicies}clone(){return new Cp(this._policies)}static create(){return new Cp}orderPolicies(){let e=[],t=new Map;function r(e){return{name:e,policies:new Set,hasRun:!1,hasAfterPolicies:!1}}let i=r("Serialize"),s=r("None"),n=r("Deserialize"),o=r("Retry"),a=r("Sign"),A=[i,s,n,o,a];function l(e){return"Retry"===e?o:"Serialize"===e?i:"Deserialize"===e?n:"Sign"===e?a:s}for(let e of this._policies){let r=e.policy,i=e.options,s=r.name;if(t.has(s))throw Error("Duplicate policy names not allowed in pipeline");let n={policy:r,dependsOn:new Set,dependants:new Set};i.afterPhase&&(n.afterPhase=l(i.afterPhase),n.afterPhase.hasAfterPolicies=!0),t.set(s,n),l(i.phase).policies.add(n)}for(let e of this._policies){let{policy:r,options:i}=e,s=r.name,n=t.get(s);if(!n)throw Error(`Missing node for policy ${s}`);if(i.afterPolicies)for(let e of i.afterPolicies){let r=t.get(e);r&&(n.dependsOn.add(r),r.dependants.add(n))}if(i.beforePolicies)for(let e of i.beforePolicies){let r=t.get(e);r&&(r.dependsOn.add(n),n.dependants.add(r))}}function c(r){for(let i of(r.hasRun=!0,r.policies))if((!i.afterPhase||i.afterPhase.hasRun&&!i.afterPhase.policies.size)&&0===i.dependsOn.size){for(let t of(e.push(i.policy),i.dependants))t.dependsOn.delete(i);t.delete(i.policy.name),r.policies.delete(i)}}let d=0;for(;t.size>0;){d++;let t=e.length;if(!function(){for(let e of A){if(c(e),e.policies.size>0&&e!==s){s.hasRun||c(s);return}e.hasAfterPolicies&&c(s)}}(),e.length<=t&&d>1)throw Error("Cannot satisfy policy dependencies due to requirements cycle.")}return e}}function CC(e){return"object"==typeof e&&null!==e&&!Array.isArray(e)&&!(e instanceof RegExp)&&!(e instanceof Date)}function CI(e){if(CC(e)){let t="string"==typeof e.name,r="string"==typeof e.message;return t&&r}return!1}let Cf=p0.inspect.custom,CE="REDACTED",CB=["x-ms-client-request-id","x-ms-return-client-request-id","x-ms-useragent","x-ms-correlation-request-id","x-ms-request-id","client-request-id","ms-cv","return-client-request-id","traceparent","Access-Control-Allow-Credentials","Access-Control-Allow-Headers","Access-Control-Allow-Methods","Access-Control-Allow-Origin","Access-Control-Expose-Headers","Access-Control-Max-Age","Access-Control-Request-Headers","Access-Control-Request-Method","Origin","Accept","Accept-Encoding","Cache-Control","Connection","Content-Length","Content-Type","Date","ETag","Expires","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","Last-Modified","Pragma","Request-Id","Retry-After","Server","Transfer-Encoding","User-Agent","WWW-Authenticate"],Cy=["api-version"];class CQ{allowedHeaderNames;allowedQueryParameters;constructor({additionalAllowedHeaderNames:e=[],additionalAllowedQueryParameters:t=[]}={}){e=CB.concat(e),t=Cy.concat(t),this.allowedHeaderNames=new Set(e.map(e=>e.toLowerCase())),this.allowedQueryParameters=new Set(t.map(e=>e.toLowerCase()))}sanitize(e){let t=new Set;return JSON.stringify(e,(e,r)=>{if(r instanceof Error)return{...r,name:r.name,message:r.message};if("headers"===e&&CC(r))return this.sanitizeHeaders(r);if("url"===e&&"string"==typeof r)return this.sanitizeUrl(r);if("query"===e&&CC(r))return this.sanitizeQuery(r);if("body"!==e){if("response"===e)return;else if("operationSpec"===e)return;else if(Array.isArray(r)||CC(r)){if(t.has(r))return"[Circular]";t.add(r)}return r}},2)}sanitizeUrl(e){if("string"!=typeof e||null===e||""===e)return e;let t=new URL(e);if(!t.search)return e;for(let[e]of t.searchParams)this.allowedQueryParameters.has(e.toLowerCase())||t.searchParams.set(e,CE);return t.toString()}sanitizeHeaders(e){let t={};for(let r of Object.keys(e))this.allowedHeaderNames.has(r.toLowerCase())?t[r]=e[r]:t[r]=CE;return t}sanitizeQuery(e){if("object"!=typeof e||null===e)return e;let t={};for(let r of Object.keys(e))this.allowedQueryParameters.has(r.toLowerCase())?t[r]=e[r]:t[r]=CE;return t}}let CN=new CQ;class Cb extends Error{static REQUEST_SEND_ERROR="REQUEST_SEND_ERROR";static PARSE_ERROR="PARSE_ERROR";code;statusCode;request;response;details;constructor(e,t={}){super(e),this.name="RestError",this.code=t.code,this.statusCode=t.statusCode,Object.defineProperty(this,"request",{value:t.request,enumerable:!1}),Object.defineProperty(this,"response",{value:t.response,enumerable:!1});let r=this.request?.agent?{maxFreeSockets:this.request.agent.maxFreeSockets,maxSockets:this.request.agent.maxSockets}:void 0;Object.defineProperty(this,Cf,{value:()=>`RestError: ${this.message} + ${CN.sanitize({...this,request:{...this.request,agent:r},response:this.response})}`,enumerable:!1}),Object.setPrototypeOf(this,Cb.prototype)}}function CS(e){return e instanceof Cb||CI(e)&&"RestError"===e.name}var Cw=o(8522);let CD=Cl("ts-http-runtime"),Cx={};function CR(e){return e&&"function"==typeof e.pipe}function CM(e){return!1===e.readable?Promise.resolve():new Promise(t=>{let r=()=>{t(),e.removeListener("close",r),e.removeListener("end",r),e.removeListener("error",r)};e.on("close",r),e.on("end",r),e.on("error",r)})}function Ck(e){return e&&"number"==typeof e.byteLength}class CF extends px.Transform{loadedBytes=0;progressCallback;_transform(e,t,r){this.push(e),this.loadedBytes+=e.length;try{this.progressCallback({loadedBytes:this.loadedBytes}),r()}catch(e){r(e)}}constructor(e){super(),this.progressCallback=e}}class CU{cachedHttpAgent;cachedHttpsAgents=new WeakMap;async sendRequest(e){let t,r,i,s=new AbortController;if(e.abortSignal){if(e.abortSignal.aborted)throw new p$("The operation was aborted. Request has already been canceled.");t=e=>{"abort"===e.type&&s.abort()},e.abortSignal.addEventListener("abort",t)}e.timeout>0&&(r=setTimeout(()=>{let t=new CQ;CD.info(`request to '${t.sanitizeUrl(e.url)}' timed out. canceling...`),s.abort()},e.timeout));let n=e.headers.get("Accept-Encoding"),o=n?.includes("gzip")||n?.includes("deflate"),a="function"==typeof e.body?e.body():e.body;if(a&&!e.headers.has("Content-Length")){let t=function(e){if(!e)return 0;if(Buffer.isBuffer(e))return e.length;if(CR(e))return null;if(Ck(e))return e.byteLength;if("string"==typeof e)return Buffer.from(e).length;else return null}(a);null!==t&&e.headers.set("Content-Length",t)}try{var A;if(a&&e.onUploadProgress){let t=e.onUploadProgress,r=new CF(t);r.on("error",e=>{CD.error("Error in upload progress",e)}),CR(a)?a.pipe(r):r.end(a),a=r}let t=await this.makeRequest(e,s,a);void 0!==r&&clearTimeout(r);let n=function(e){let t=Cg();for(let r of Object.keys(e.headers)){let i=e.headers[r];Array.isArray(i)?i.length>0&&t.set(r,i[0]):i&&t.set(r,i)}return t}(t),l={status:t.statusCode??0,headers:n,request:e};if("HEAD"===e.method)return t.resume(),l;i=o?function(e,t){let r=t.get("Content-Encoding");if("gzip"===r){let t=Cw.createGunzip();return e.pipe(t),t}if("deflate"===r){let t=Cw.createInflate();return e.pipe(t),t}return e}(t,n):t;let c=e.onDownloadProgress;if(c){let e=new CF(c);e.on("error",e=>{CD.error("Error in download progress",e)}),i.pipe(e),i=e}return e.streamResponseStatusCodes?.has(1/0)||e.streamResponseStatusCodes?.has(l.status)?l.readableStreamBody=i:l.bodyAsText=await (A=i,new Promise((e,t)=>{let r=[];A.on("data",e=>{Buffer.isBuffer(e)?r.push(e):r.push(Buffer.from(e))}),A.on("end",()=>{e(Buffer.concat(r).toString("utf8"))}),A.on("error",e=>{e&&e?.name==="AbortError"?t(e):t(new Cb(`Error reading response as text: ${e.message}`,{code:Cb.PARSE_ERROR}))})})),l}finally{if(e.abortSignal&&t){let r=Promise.resolve();CR(a)&&(r=CM(a));let s=Promise.resolve();CR(i)&&(s=CM(i)),Promise.all([r,s]).then(()=>{t&&e.abortSignal?.removeEventListener("abort",t)}).catch(e=>{CD.warning("Error when cleaning up abortListener on httpRequest",e)})}}}makeRequest(e,t,r){let i=new URL(e.url),s="https:"!==i.protocol;if(s&&!e.allowInsecureConnection)throw Error(`Cannot connect to ${e.url} while allowInsecureConnection is false.`);let n={agent:e.agent??this.getOrCreateAgent(e,s),hostname:i.hostname,path:`${i.pathname}${i.search}`,port:i.port,method:e.method,headers:e.headers.toJSON({preserveCase:!0}),...e.requestOverrides};return new Promise((i,o)=>{let a=s?eH.request(n,i):pD.request(n,i);a.once("error",t=>{o(new Cb(t.message,{code:t.code??Cb.REQUEST_SEND_ERROR,request:e}))}),t.signal.addEventListener("abort",()=>{let e=new p$("The operation was aborted. Rejecting from abort signal callback while making request.");a.destroy(e),o(e)}),r&&CR(r)?r.pipe(a):r?"string"==typeof r||Buffer.isBuffer(r)?a.end(r):Ck(r)?a.end(ArrayBuffer.isView(r)?Buffer.from(r.buffer,r.byteOffset,r.byteLength):Buffer.from(r)):(CD.error("Unrecognized body type",r),o(new Cb("Unrecognized body type"))):a.end()})}getOrCreateAgent(e,t){let r=e.disableKeepAlive;if(t)return r?eH.globalAgent:(this.cachedHttpAgent||(this.cachedHttpAgent=new eH.Agent({keepAlive:!0})),this.cachedHttpAgent);{if(r&&!e.tlsSettings)return pD.globalAgent;let t=e.tlsSettings??Cx,i=this.cachedHttpsAgents.get(t);return i&&!r===i.options.keepAlive||(CD.info("No cached TLS Agent exist, creating a new Agent"),i=new pD.Agent({keepAlive:!r,...t}),this.cachedHttpsAgents.set(t,i)),i}}}let Cv="Retry-After",CT=["retry-after-ms","x-ms-retry-after-ms",Cv];function CL(e){if(e&&[429,503].includes(e.status))try{for(let t of CT){let r=function(e,t){let r=e.headers.get(t);if(!r)return;let i=Number(r);if(!Number.isNaN(i))return i}(e,t);if(0===r||r){let e=t===Cv?1e3:1;return r*e}}let t=e.headers.get(Cv);if(!t)return;let r=Date.parse(t)-Date.now();return Number.isFinite(r)?Math.max(0,r):void 0}catch{return}}let CO=Cl("ts-http-runtime retryPolicy");function CH(e,t){return Buffer.from(e,t)}async function CP(e,t){let r=t.headers.get("Content-Type");if(r&&!r.startsWith("multipart/form-data"))return;t.headers.set("Content-Type",r??"multipart/form-data");let i=[];for(let[t,r]of Object.entries(e))for(let e of Array.isArray(r)?r:[r])if("string"==typeof e)i.push({headers:Cg({"Content-Disposition":`form-data; name="${t}"`}),body:CH(e,"utf-8")});else if(null==e||"object"!=typeof e)throw Error(`Unexpected value for key ${t}: ${e}. Value should be serialized to string first.`);else{let r=e.name||"blob",s=Cg();s.set("Content-Disposition",`form-data; name="${t}"; filename="${r}"`),s.set("Content-Type",e.type||"application/octet-stream"),i.push({headers:s,body:e})}t.multipartBody={parts:i}}var CY=o(6565),CG=o(7277);let Cz=[],Cq=!1,CV=new Map;function C_(e){return process.env[e]?process.env[e]:process.env[e.toLowerCase()]?process.env[e.toLowerCase()]:void 0}function CJ(){if(!process)return;let e=C_("HTTPS_PROXY"),t=C_("ALL_PROXY"),r=C_("HTTP_PROXY");return e||t||r}function CW(e){let t;try{t=new URL(e.host)}catch{throw Error(`Expecting a valid host string in proxy settings, but found "${e.host}".`)}return t.port=String(e.port),e.username&&(t.username=e.username),e.password&&(t.password=e.password),t}function Cj(e,t,r){if(e.agent)return;let i="https:"!==new URL(e.url).protocol;e.tlsSettings&&CD.warning("TLS settings are not supported in combination with custom Proxy, certificates provided to the client will be ignored."),i?(t.httpProxyAgent||(t.httpProxyAgent=new CG.HttpProxyAgent(r)),e.agent=t.httpProxyAgent):(t.httpsProxyAgent||(t.httpsProxyAgent=new CY.HttpsProxyAgent(r)),e.agent=t.httpsProxyAgent)}let CK="redirectPolicy",CX=["GET","HEAD"];async function CZ(e,t,r,i,s=0){let{request:n,status:o,headers:a}=t,A=a.get("location");if(A&&(300===o||301===o&&CX.includes(n.method)||302===o&&CX.includes(n.method)||303===o&&"POST"===n.method||307===o)&&s<r){let a=new URL(A,n.url);if(!i){let e=new URL(n.url);if(a.origin!==e.origin)return CD.verbose(`Skipping cross-origin redirect from ${e.origin} to ${a.origin}.`),t}n.url=a.toString(),303===o&&(n.method="GET",n.headers.delete("Content-Length"),delete n.body),n.headers.delete("Authorization");let l=await e(n);return CZ(e,l,r,i,s+1)}return t}let C$=i("stream");function C0(e){return e instanceof Blob}async function*C1(){let e=this.getReader();try{for(;;){let{done:t,value:r}=await e.read();if(t)return;yield r}}finally{e.releaseLock()}}function C2(e){return e instanceof ReadableStream?(e[Symbol.asyncIterator]||(e[Symbol.asyncIterator]=C1.bind(e)),e.values||(e.values=C1.bind(e)),C$.Readable.fromWeb(e)):e}function C3(e){return e instanceof Uint8Array?C$.Readable.from(Buffer.from(e)):C0(e)?C2(e.stream()):C2(e)}async function C5(e){return function(){let t=e.map(e=>"function"==typeof e?e():e).map(C3);return C$.Readable.from(async function*(){for(let e of t)for await(let t of e)yield t}())}}async function C4(e,t,r){let i=[CH(`--${r}`,"utf-8"),...t.flatMap(e=>[CH("\r\n","utf-8"),CH(function(e){let t="";for(let[r,i]of e)t+=`${r}: ${i}\r +`;return t}(e.headers),"utf-8"),CH("\r\n","utf-8"),e.body,CH(`\r +--${r}`,"utf-8")]),CH("--\r\n\r\n","utf-8")],s=function(e){let t=0;for(let r of e){let e=r instanceof Uint8Array?r.byteLength:C0(r)?-1===r.size?void 0:r.size:void 0;if(void 0===e)return;t+=e}return t}(i);s&&e.headers.set("Content-Length",s),e.body=await C5(i)}let C8="multipartPolicy",C9=new Set("abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789'()+,-./:=?"),C6=Ca({logLevelEnvVarName:"AZURE_LOG_LEVEL",namespace:"azure"});function C7(e){return C6.createClientLogger(e)}C6.logger;let Ie=C7("core-rest-pipeline"),It="decompressResponsePolicy";async function Ir(e){if(p1&&p1.versions){let t=`${m3.type()} ${m3.release()}; ${m3.arch()}`;p1.versions.bun?e.set("Bun",`${p1.versions.bun} (${t})`):p1.versions.deno?e.set("Deno",`${p1.versions.deno} (${t})`):p1.versions.node&&e.set("Node",`${p1.versions.node} (${t})`)}}async function Ii(e){let t=new Map;t.set("core-rest-pipeline","1.25.0"),await Ir(t);let r=function(e){let t=[];for(let[r,i]of e){let e=i?`${r}/${i}`:r;t.push(e)}return t.join(" ")}(t);return e?`${e} ${r}`:r}let Is="User-Agent",In=Symbol("rawContent");function Io(e){return"function"==typeof e[In]}class Ia extends Error{constructor(e){super(e),this.name="AbortError"}}function IA(e,t){let r,{abortSignal:i,abortErrorMsg:s}=t??{};return function(e,t){let{cleanupBeforeAbort:r,abortSignal:i,abortErrorMsg:s}=t??{};return new Promise((t,n)=>{function o(){n(new Ia(s??"The operation was aborted."))}function a(){i?.removeEventListener("abort",A)}function A(){r?.(),a(),o()}if(i?.aborted)return o();try{e(e=>{a(),t(e)},e=>{a(),n(e)})}catch(e){n(e)}i?.addEventListener("abort",A)})}(t=>{r=setTimeout(t,e)},{cleanupBeforeAbort:()=>clearTimeout(r),abortSignal:i,abortErrorMsg:s??"The delay was aborted."})}function Il(e){if(CI(e))return e.message;{let t;try{t="object"==typeof e&&e?JSON.stringify(e):String(e)}catch(e){t="[unable to stringify input]"}return`Unknown error ${t}`}}function Ic(e){var t=e;if(!t&&!(t=CJ()))return;let r=new URL(t);return{host:(r.protocol?r.protocol+"//":"")+r.hostname,port:Number.parseInt(r.port||"80"),username:r.username,password:r.password}}let Id={span:Symbol.for("@azure/core-tracing span"),namespace:Symbol.for("@azure/core-tracing namespace")};class Ig{_contextMap;constructor(e){this._contextMap=e instanceof Ig?new Map(e._contextMap):new Map}setValue(e,t){let r=new Ig(this);return r._contextMap.set(e,t),r}getValue(e){return this._contextMap.get(e)}deleteValue(e){let t=new Ig(this);return t._contextMap.delete(e),t}}let Iu=o(7301).w;function Ih(){return Iu.instrumenterImplementation||(Iu.instrumenterImplementation={createRequestHeaders:()=>({}),parseTraceparentHeader:()=>{},startSpan:(e,t)=>({span:{end:()=>{},isRecording:()=>!1,recordException:()=>{},setAttribute:()=>{},setStatus:()=>{},addEvent:()=>{}},tracingContext:function(e={}){let t=new Ig(e.parentContext);return e.span&&(t=t.setValue(Id.span,e.span)),e.namespace&&(t=t.setValue(Id.namespace,e.namespace)),t}({parentContext:t.tracingContext})}),withContext:(e,t,...r)=>t(...r)}),Iu.instrumenterImplementation}function Im(e){let{namespace:t,packageName:r,packageVersion:i}=e;function s(e,s,n){let o=Ih().startSpan(e,{...n,packageName:r,packageVersion:i,tracingContext:s?.tracingOptions?.tracingContext}),a=o.tracingContext,A=o.span;return a.getValue(Id.namespace)||(a=a.setValue(Id.namespace,t)),A.setAttribute("az.namespace",a.getValue(Id.namespace)),{span:A,updatedOptions:Object.assign({},s,{tracingOptions:{...s?.tracingOptions,tracingContext:a}})}}async function n(e,t,r,i){let{span:n,updatedOptions:a}=s(e,t,i);try{let e=await o(a.tracingOptions.tracingContext,()=>r(a,n));return n.setStatus({status:"success"}),e}catch(e){throw n.setStatus({status:"error",error:e}),e}finally{n.end()}}function o(e,t,...r){return Ih().withContext(e,t,...r)}return{startSpan:s,withSpan:n,withContext:o,parseTraceparentHeader:function(e){return Ih().parseTraceparentHeader(e)},createRequestHeaders:function(e){return Ih().createRequestHeaders(e)}}}function Ip(e){if(e instanceof AbortSignal)return{abortSignal:e};if(e.aborted)return{abortSignal:AbortSignal.abort("reason"in e?e.reason:void 0)};let t=new AbortController,r=!0;function i(){r&&(e.removeEventListener("abort",s),r=!1)}function s(){t.abort("reason"in e?e.reason:void 0),i()}return e.addEventListener("abort",s),{abortSignal:t.signal,cleanup:i}}function IC(){let e=new CU;return{async sendRequest(t){let{abortSignal:r,cleanup:i}=t.abortSignal?Ip(t.abortSignal):{};try{return t.abortSignal=r,await e.sendRequest(t)}finally{i?.()}}}}C7("core-rest-pipeline retryPolicy");let II={forcedRefreshWindowInMs:1e3,retryIntervalInMs:3e3,refreshWindowInMs:12e4};async function If(e,t,r){async function i(){if(Date.now()<r)try{return await e()}catch{return null}{let t=await e();if(null===t)throw Error("Failed to refresh access token.");return t}}let s=await i();for(;null===s;)await IA(t),s=await i();return s}async function IE(e,t){try{return[await t(e),void 0]}catch(e){if(CS(e)&&e.response)return[e.response,e];throw e}}async function IB(e){let{scopes:t,getAccessToken:r,request:i}=e,s={abortSignal:i.abortSignal,tracingOptions:i.tracingOptions,enableCae:!0},n=await r(t,s);n&&e.request.headers.set("Authorization",`Bearer ${n.token}`)}function Iy(e){return 401===e.status&&e.headers.has("WWW-Authenticate")}async function IQ(e,t){let{scopes:r}=e,i=await e.getAccessToken(r,{enableCae:!0,claims:t});return!!i&&(e.request.headers.set("Authorization",`${i.tokenType??"Bearer"} ${i.token}`),!0)}function IN(e){let{credential:t,scopes:r,challengeCallbacks:i}=e,s=e.logger||Ie,n={authorizeRequest:i?.authorizeRequest?.bind(i)??IB,authorizeRequestOnChallenge:i?.authorizeRequestOnChallenge?.bind(i)},o=t?function(e){let t,r=null,i=null,s={...II,...void 0},n={get isRefreshing(){return null!==r},get shouldRefresh(){if(null===i)return!0;if(n.isRefreshing)return!1;if(i.refreshAfterTimestamp&&i.refreshAfterTimestamp<Date.now())return!0;return i.expiresOnTimestamp-s.refreshWindowInMs<Date.now()},get mustRefresh(){return null===i||i.expiresOnTimestamp-s.forcedRefreshWindowInMs<Date.now()}};function o(o,a){return n.isRefreshing||(r=If(()=>e.getToken(o,a),s.retryIntervalInMs,i?.expiresOnTimestamp??Date.now()).then(e=>(r=null,i=e,t=a.tenantId,i)).catch(e=>{throw r=null,i=null,t=void 0,e})),r}return async(e,r)=>{let s=!!r.claims,a=t!==r.tenantId;return(s&&(i=null),a||s||n.mustRefresh)?o(e,r):(n.shouldRefresh&&o(e,r),i)}}(t):()=>Promise.resolve(null);return{name:"bearerTokenAuthenticationPolicy",async sendRequest(e,t){let i,a;if(!e.url.toLowerCase().startsWith("https://"))throw Error("Bearer token authentication is not permitted for non-TLS protected (non-https) URLs.");if(await n.authorizeRequest({scopes:Array.isArray(r)?r:[r],request:e,getAccessToken:o,logger:s}),[i,a]=await IE(e,t),Iy(i)){let A=Ib(i.headers.get("WWW-Authenticate"));if(A){let n;try{n=atob(A)}catch(e){return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await IQ({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:s},n)&&([i,a]=await IE(e,t))}else if(n.authorizeRequestOnChallenge&&(await n.authorizeRequestOnChallenge({scopes:Array.isArray(r)?r:[r],request:e,response:i,getAccessToken:o,logger:s})&&([i,a]=await IE(e,t)),Iy(i))&&(A=Ib(i.headers.get("WWW-Authenticate")??""))){let n;try{n=atob(A)}catch(e){return s.warning(`The WWW-Authenticate header contains "claims" that cannot be parsed. Unable to perform the Continuous Access Evaluation authentication flow. Unparsable claims: ${A}`),i}await IQ({scopes:Array.isArray(r)?r:[r],response:i,request:e,getAccessToken:o,logger:s},n)&&([i,a]=await IE(e,t))}}if(!a)return i;throw a}}}function Ib(e){if(!e)return;let t=function(e){let t,r=/(\w+)\s+((?:\w+=(?:"[^"]*"|[^,]*),?\s*)+)/g,i=/(\w+)="([^"]*)"/g,s=[];for(;null!==(t=r.exec(e));){let e,r=t[1],n=t[2],o={};for(;null!==(e=i.exec(n));)o[e[1]]=e[2];s.push({scheme:r,params:o})}return s}(e);return t.find(e=>"Bearer"===e.scheme&&e.params.claims&&"insufficient_claims"===e.params.error)?.params.claims}function IS(e){return e&&"function"==typeof e.getToken&&(void 0===e.signRequest||e.getToken.length>0)}let Iw="DisableKeepAlivePolicy";function ID(e){return Buffer.from(e).toString("base64")}function Ix(e){return CH(e,"base64")}let IR=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,IM=/^[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}$/i;function Ik(e,t){var r,i;let s,n=e.parsedHeaders;if("HEAD"===e.request.method)return{...n,body:e.parsedBody};let o=t&&t.bodyMapper,a=!!o?.nullable,A=o?.type.name;if("Stream"===A)return{...n,blobBody:e.blobBody,readableStreamBody:e.readableStreamBody};let l="Composite"===A&&o.type.modelProperties||{},c=Object.keys(l).some(e=>""===l[e].serializedName);if("Sequence"===A||c){let t=e.parsedBody??[];for(let r of Object.keys(l))l[r].serializedName&&(t[r]=e.parsedBody?.[r]);if(n)for(let e of Object.keys(n))t[e]=n[e];return!a||e.parsedBody||n||0!==Object.getOwnPropertyNames(l).length?t:null}return s={...(i={body:e.parsedBody,headers:n,hasNullableType:a,shouldWrapBody:(r=e.parsedBody,"Composite"!==A&&"Dictionary"!==A&&("string"==typeof r||"number"==typeof r||"boolean"==typeof r||A?.match(/^(Date|DateTime|DateTimeRfc1123|UnixTime|ByteArray|Base64Url)$/i)!==null||null==r))}).headers,...i.body},i.hasNullableType&&0===Object.getOwnPropertyNames(s).length?i.shouldWrapBody?{body:null}:null:i.shouldWrapBody?{...i.headers,body:i.body}:s}class IF{modelMappers;isXML;constructor(e={},t=!1){this.modelMappers=e,this.isXML=t}validateConstraints(e,t,r){let i=(e,i)=>{throw Error(`"${r}" with value "${t}" should satisfy the constraint "${e}": ${i}.`)};if(e.constraints&&null!=t){let{ExclusiveMaximum:r,ExclusiveMinimum:s,InclusiveMaximum:n,InclusiveMinimum:o,MaxItems:a,MaxLength:A,MinItems:l,MinLength:c,MultipleOf:d,Pattern:g,UniqueItems:u}=e.constraints;if(void 0!==r&&t>=r&&i("ExclusiveMaximum",r),void 0!==s&&t<=s&&i("ExclusiveMinimum",s),void 0!==n&&t>n&&i("InclusiveMaximum",n),void 0!==o&&t<o&&i("InclusiveMinimum",o),void 0!==a&&t.length>a&&i("MaxItems",a),void 0!==A&&t.length>A&&i("MaxLength",A),void 0!==l&&t.length<l&&i("MinItems",l),void 0!==c&&t.length<c&&i("MinLength",c),void 0!==d&&t%d!=0&&i("MultipleOf",d),g){let e="string"==typeof g?new RegExp(g):g;("string"!=typeof t||null===t.match(e))&&i("Pattern",g)}u&&t.some((e,t,r)=>r.indexOf(e)!==t)&&i("UniqueItems",u)}}serialize(e,t,r,i={xml:{}}){let s={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"}},n={},o=e.type.name;r||(r=e.serializedName),null!==o.match(/^Sequence$/i)&&(n=[]),e.isConstant&&(t=e.defaultValue);let{required:a,nullable:A}=e;if(a&&A&&void 0===t)throw Error(`${r} cannot be undefined.`);if(a&&!A&&null==t)throw Error(`${r} cannot be null or undefined.`);if(!a&&!1===A&&null===t)throw Error(`${r} cannot be null.`);return null==t||null!==o.match(/^any$/i)?n=t:null!==o.match(/^(Number|String|Boolean|Object|Stream|Uuid)$/i)?n=function(e,t,r){if(null!=r){if(null!==e.match(/^Number$/i)){if("number"!=typeof r)throw Error(`${t} with value ${r} must be of type number.`)}else if(null!==e.match(/^String$/i)){if("string"!=typeof r.valueOf())throw Error(`${t} with value "${r}" must be of type string.`)}else if(null!==e.match(/^Uuid$/i)){if(!("string"==typeof r.valueOf()&&IM.test(r)))throw Error(`${t} with value "${r}" must be of type string and a valid uuid.`)}else if(null!==e.match(/^Boolean$/i)){if("boolean"!=typeof r)throw Error(`${t} with value ${r} must be of type boolean.`)}else if(null!==e.match(/^Stream$/i)){let e=typeof r;if("string"!==e&&"function"!=typeof r.pipe&&"function"!=typeof r.tee&&!(r instanceof ArrayBuffer)&&!ArrayBuffer.isView(r)&&!(("function"==typeof Blob||"object"==typeof Blob)&&r instanceof Blob)&&"function"!==e)throw Error(`${t} must be a string, Blob, ArrayBuffer, ArrayBufferView, ReadableStream, or () => ReadableStream.`)}}return r}(o,r,t):null!==o.match(/^Enum$/i)?n=function(e,t,r){if(!t)throw Error(`Please provide a set of allowedValues to validate ${e} as an Enum Type.`);if(!t.some(e=>"string"==typeof e.valueOf()?e.toLowerCase()===r.toLowerCase():e===r))throw Error(`${r} is not a valid value for ${e}. The valid values are: ${JSON.stringify(t)}.`);return r}(r,e.type.allowedValues,t):null!==o.match(/^(Date|DateTime|TimeSpan|DateTimeRfc1123|UnixTime)$/i)?n=function(e,t,r){if(null!=t)if(null!==e.match(/^Date$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString().substring(0,10):new Date(t).toISOString().substring(0,10)}else if(null!==e.match(/^DateTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in ISO8601 format.`);t=t instanceof Date?t.toISOString():new Date(t).toISOString()}else if(null!==e.match(/^DateTimeRfc1123$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123 format.`);t=t instanceof Date?t.toUTCString():new Date(t).toUTCString()}else if(null!==e.match(/^UnixTime$/i)){if(!(t instanceof Date||"string"==typeof t.valueOf()&&!isNaN(Date.parse(t))))throw Error(`${r} must be an instanceof Date or a string in RFC-1123/ISO8601 format for it to be serialized in UnixTime/Epoch format.`);t=function(e){if(e)return"string"==typeof e.valueOf()&&(e=new Date(e)),Math.floor(e.getTime()/1e3)}(t)}else{var i;if(null!==e.match(/^TimeSpan$/i)&&(i=t,!IR.test(i)))throw Error(`${r} must be a string in ISO 8601 format. Instead was "${t}".`)}return t}(o,t,r):null!==o.match(/^ByteArray$/i)?n=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=ID(t)}return t}(r,t):null!==o.match(/^Base64Url$/i)?n=function(e,t){if(null!=t){if(!(t instanceof Uint8Array))throw Error(`${e} must be of type Uint8Array.`);t=function(e){if(e){if(!(e instanceof Uint8Array))throw Error("Please provide an input of type Uint8Array for converting to Base64Url.");return(function(e){let t=e.length;for(;t-1>=0&&"="===e[t-1];)--t;return e.substr(0,t)})(ID(e)).replace(/\+/g,"-").replace(/\//g,"_")}}(t)}return t}(r,t):null!==o.match(/^Sequence$/i)?n=function(e,t,r,i,s,n){if(!Array.isArray(r))throw Error(`${i} must be of type Array.`);let o=t.type.element;if(!o||"object"!=typeof o)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}.`);"Composite"===o.type.name&&o.type.className&&(o=e.modelMappers[o.type.className]??o);let a=[];for(let t=0;t<r.length;t++){let A=e.serialize(o,r[t],i,n);if(s&&o.xmlNamespace){let e=o.xmlNamespacePrefix?`xmlns:${o.xmlNamespacePrefix}`:"xmlns";"Composite"===o.type.name?a[t]={...A}:(a[t]={},a[t][n.xml.xmlCharKey]=A),a[t].$={[e]:o.xmlNamespace}}else a[t]=A}return a}(this,e,t,r,!!this.isXML,s):null!==o.match(/^Dictionary$/i)?n=function(e,t,r,i,s,n){if("object"!=typeof r)throw Error(`${i} must be of type object.`);let o=t.type.value;if(!o||"object"!=typeof o)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}.`);let a={};for(let t of Object.keys(r)){let A=e.serialize(o,r[t],i,n);a[t]=IO(o,A,s,n)}return s&&t.xmlNamespace?(a.$={[t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns"]:t.xmlNamespace},a):a}(this,e,t,r,!!this.isXML,s):null!==o.match(/^Composite$/i)&&(n=function(e,t,r,i,s,n){if(IP(e,t)&&(t=IH(e,t,r,"clientName")),null!=r){let o={},a=IL(e,t,i);for(let A of Object.keys(a)){let l,c=a[A];if(c.readOnly)continue;let d=o;if(e.isXML)l=c.xmlIsWrapped?c.xmlName:c.xmlElementName||c.xmlName;else{let e=Iv(c.serializedName);for(let t of(l=e.pop(),e))null==d[t]&&(void 0!==r[A]&&null!==r[A]||void 0!==c.defaultValue)&&(d[t]={}),d=d[t]}if(null!=d){if(s&&t.xmlNamespace){let e=t.xmlNamespacePrefix?`xmlns:${t.xmlNamespacePrefix}`:"xmlns";d.$={...d.$,[e]:t.xmlNamespace}}let o=""!==c.serializedName?i+"."+c.serializedName:i,a=r[A],g=IP(e,t);g&&g.clientName===A&&null==a&&(a=t.serializedName);let u=e.serialize(c,a,o,n);if(void 0!==u&&null!=l){let e=IO(c,u,s,n);s&&c.xmlIsAttribute?(d.$=d.$||{},d.$[l]=u):s&&c.xmlIsWrapped?d[l]={[c.xmlElementName]:e}:d[l]=e}}}let A=function(e,t,r){let i=t.type.additionalProperties;if(!i&&t.type.className){let i=IT(e,t,r);return i?.type.additionalProperties}return i}(e,t,i);if(A){let t=Object.keys(a);for(let s of Object.keys(r))t.every(e=>e!==s)&&Object.defineProperty(o,s,{value:e.serialize(A,r[s],i+'["'+s+'"]',n),enumerable:!0,configurable:!0,writable:!0})}return o}return r}(this,e,t,r,!!this.isXML,s)),n}deserialize(e,t,r,i={xml:{}}){let s,n={xml:{rootName:i.xml.rootName??"",includeRoot:i.xml.includeRoot??!1,xmlCharKey:i.xml.xmlCharKey??"_"},ignoreUnknownProperties:i.ignoreUnknownProperties??!1};if(null==t)return this.isXML&&"Sequence"===e.type.name&&!e.xmlIsWrapped&&(t=[]),void 0!==e.defaultValue&&(t=e.defaultValue),t;let o=e.type.name;if(r||(r=e.serializedName),null!==o.match(/^Composite$/i))s=function(e,t,r,i,s){let n=s.xml.xmlCharKey??"_";IP(e,t)&&(t=IH(e,t,r,"serializedName"));let o=IL(e,t,i),a={},A=[];for(let l of Object.keys(o)){let c=o[l],d=Iv(o[l].serializedName);A.push(d[0]);let{serializedName:g,xmlName:u,xmlElementName:h}=c,m=i;""!==g&&void 0!==g&&(m=i+"."+g);let p=c.headerCollectionPrefix;if(p){let t={};for(let i of Object.keys(r))i.startsWith(p)&&(t[i.substring(p.length)]=e.deserialize(c.type.value,r[i],m,s)),A.push(i);a[l]=t}else if(e.isXML)if(c.xmlIsAttribute&&r.$)a[l]=e.deserialize(c,r.$[u],m,s);else if(c.xmlIsMsText)void 0!==r[n]?a[l]=r[n]:"string"==typeof r&&(a[l]=r);else{let t=h||u||g;if(c.xmlIsWrapped){let t=r[u],i=t?.[h]??[];Object.defineProperty(a,l,{value:e.deserialize(c,i,m,s),enumerable:!0,configurable:!0,writable:!0}),A.push(u)}else{let i=r[t];a[l]=e.deserialize(c,i,m,s),A.push(t)}}else{let i,n,A=r,g=0;for(let e of d){if(!A)break;g++,A=A[e]}null===A&&g<d.length&&(A=void 0),i=A;let u=t.type.polymorphicDiscriminator;if(u&&l===u.clientName&&null==i&&(i=t.serializedName),Array.isArray(r[l])&&""===o[l].serializedName){i=r[l];let t=e.deserialize(c,i,m,s);for(let[e,r]of Object.entries(a))Object.prototype.hasOwnProperty.call(t,e)||(t[e]=r);a=t}else(void 0!==i||void 0!==c.defaultValue)&&(n=e.deserialize(c,i,m,s),a[l]=n)}}let l=t.type.additionalProperties;if(l){let t=e=>{for(let t of Object.keys(o))if(Iv(o[t].serializedName)[0]===e)return!1;return!0};for(let n of Object.keys(r))if(t(n)){let t=e.deserialize(l,r[n],i+'["'+n+'"]',s);Object.defineProperty(a,n,{value:t,enumerable:!0,configurable:!0,writable:!0})}}else if(r&&!s.ignoreUnknownProperties)for(let e of Object.keys(r))void 0!==a[e]||A.includes(e)||["$",s.xml.xmlCharKey].includes(e)||Object.defineProperty(a,e,{value:r[e],enumerable:!0,configurable:!0,writable:!0});return a}(this,e,t,r,n);else{if(this.isXML){let e=n.xml.xmlCharKey;void 0!==t.$&&void 0!==t[e]&&(t=t[e])}null!==o.match(/^Number$/i)?isNaN(s=parseFloat(t))&&(s=t):null!==o.match(/^Boolean$/i)?s="true"===t||"false"!==t&&t:null!==o.match(/^(String|Enum|Object|Stream|Uuid|TimeSpan|any)$/i)?s=t:null!==o.match(/^(Date|DateTime|DateTimeRfc1123)$/i)?s=new Date(t):null!==o.match(/^UnixTime$/i)?s=function(e){if(e)return new Date(1e3*e)}(t):null!==o.match(/^ByteArray$/i)?s=Ix(t):null!==o.match(/^Base64Url$/i)?s=function(e){if(e){if(e&&"string"!=typeof e.valueOf())throw Error("Please provide an input of type string for converting to Uint8Array");return Ix(e=e.replace(/-/g,"+").replace(/_/g,"/"))}}(t):null!==o.match(/^Sequence$/i)?s=function(e,t,r,i,s){let n=t.type.element;if(!n||"object"!=typeof n)throw Error(`"element" metadata for an Array must be defined in the mapper and it must be of type "object" in ${i}`);if(r){Array.isArray(r)||(r=[r]),"Composite"===n.type.name&&n.type.className&&(n=e.modelMappers[n.type.className]??n);let t=[];for(let o=0;o<r.length;o++)t[o]=e.deserialize(n,r[o],`${i}[${o}]`,s);return t}return r}(this,e,t,r,n):null!==o.match(/^Dictionary$/i)&&(s=function(e,t,r,i,s){let n=t.type.value;if(!n||"object"!=typeof n)throw Error(`"value" metadata for a Dictionary must be defined in the mapper and it must of type "object" in ${i}`);if(r){let t={};for(let o of Object.keys(r))t[o]=e.deserialize(n,r[o],i,s);return t}return r}(this,e,t,r,n))}return e.isConstant&&(s=e.defaultValue),s}}function IU(e={},t=!1){return new IF(e,t)}function Iv(e){let t=[],r="";if(e)for(let i of e.split("."))"\\"===i.charAt(i.length-1)?r+=i.substr(0,i.length-1)+".":(r+=i,t.push(r),r="");return t}function IT(e,t,r){let i=t.type.className;if(!i)throw Error(`Class name for model "${r}" is not provided in the mapper "${JSON.stringify(t,void 0,2)}".`);return e.modelMappers[i]}function IL(e,t,r){let i=t.type.modelProperties;if(!i){let s=IT(e,t,r);if(!s)throw Error(`mapper() cannot be null or undefined for model "${t.type.className}".`);if(!(i=s?.type.modelProperties))throw Error(`modelProperties cannot be null or undefined in the mapper "${JSON.stringify(s)}" of type "${t.type.className}" for object "${r}".`)}return i}function IO(e,t,r,i){if(!r||!e.xmlNamespace)return t;let s={[e.xmlNamespacePrefix?`xmlns:${e.xmlNamespacePrefix}`:"xmlns"]:e.xmlNamespace};if(["Composite"].includes(e.type.name))if(t.$)return t;else{let e={...t};return e.$=s,e}let n={};return n[i.xml.xmlCharKey]=t,n.$=s,n}function IH(e,t,r,i){let s=IP(e,t);if(s){let n=s[i];if(n){"serializedName"===i&&(n=n.replace(/\\/gi,""));let s=r[n],o=t.type.uberParent??t.type.className;if("string"==typeof s&&o){let r=function(e,t,r){let i=[r];for(;i.length;){let r=i.shift(),s=t===r?t:r+"."+t;if(Object.prototype.hasOwnProperty.call(e,s))return e[s];for(let[t,s]of Object.entries(e))t.startsWith(r+".")&&s.type.uberParent===r&&s.type.className&&i.push(s.type.className)}}(e.modelMappers.discriminators,s,o);r&&(t=r)}}}return t}function IP(e,t){return t.type.polymorphicDiscriminator||IY(e,t.type.uberParent)||IY(e,t.type.className)}function IY(e,t){return t&&e.modelMappers[t]&&e.modelMappers[t].type.polymorphicDiscriminator}let IG="Sequence",Iz="Stream",Iq=o(5997).w;function IV(e,t,r){let i,s=t.parameterPath,n=t.mapper;if("string"==typeof s&&(s=[s]),Array.isArray(s)){if(s.length>0)if(n.isConstant)i=n.defaultValue;else{let t=I_(e,s);!t.propertyFound&&r&&(t=I_(r,s));let o=!1;t.propertyFound||(o=n.required||"options"===s[0]&&2===s.length),i=o?n.defaultValue:t.propertyValue}}else for(let[t,o]of(n.required&&(i={}),Object.entries(s))){let s=IV(e,{parameterPath:o,mapper:n.type.modelProperties[t]},r);void 0!==s&&(i||(i={}),Object.defineProperty(i,t,{value:s,enumerable:!0,configurable:!0,writable:!0}))}return i}function I_(e,t){let r={propertyFound:!1},i=0;for(;i<t.length;++i){let r=t[i];if(e&&r in e)e=e[r];else break}return i===t.length&&(r.propertyValue=e,r.propertyFound=!0),r}let IJ=Symbol.for("@azure/core-client original request");function IW(e){if(IJ in e)return IW(e[IJ]);let t=Iq.operationRequestMap.get(e);return t||(t={},Iq.operationRequestMap.set(e,t)),t}let Ij=["application/json","text/json"],IK=["application/xml","application/atom+xml"];async function IX(e,t,r,i,s){let n,o,a,A,l,c=await IZ(e,t,r,i,s);if(n=IW(c.request),!(void 0===(o=n?.shouldDeserialize)||("boolean"==typeof o?o:o(c))))return c;let d=IW(c.request),g=d?.operationSpec;if(!g||!g.responses)return c;let u=(A=IW(c.request),(l=A?.operationSpec)&&(a=A?.operationResponseGetter?A?.operationResponseGetter(l,c):l.responses[c.status]),a),{error:h,shouldReturnResponse:m}=function(e,t,r,i){let s,n=200<=e.status&&e.status<300;if(0===(s=Object.keys(t.responses)).length||1===s.length&&"default"===s[0]?n:!!r){if(!r)return{error:null,shouldReturnResponse:!1};else if(!r.isError)return{error:null,shouldReturnResponse:!1}}let o=r??t.responses.default,a=new Cb(e.request.streamResponseStatusCodes?.has(e.status)?`Unexpected status code: ${e.status}`:e.bodyAsText,{statusCode:e.status,request:e.request,response:e});if(!o&&!(e.parsedBody?.error?.code&&e.parsedBody?.error?.message))throw a;let A=o?.bodyMapper,l=o?.headersMapper;try{if(e.parsedBody){let r,s=e.parsedBody;if(A){let e=s;if(t.isXML&&A.type.name===IG){e=[];let t=A.xmlElementName;"object"==typeof s&&t&&(e=s[t])}r=t.serializer.deserialize(A,e,"error.response.parsedBody",i)}let n=s.error||r||s;a.code=n.code,n.message&&(a.message=n.message),A&&(a.response.parsedBody=r)}e.headers&&l&&(a.response.parsedHeaders=t.serializer.deserialize(l,e.headers.toJSON(),"operationRes.parsedHeaders"))}catch(t){a.message=`Error "${t.message}" occurred in deserializing the responseBody - "${e.bodyAsText}" for the default response.`}return{error:a,shouldReturnResponse:!1}}(c,g,u,i);if(h)throw h;if(m)return c;if(u){if(u.bodyMapper){let e=c.parsedBody;g.isXML&&u.bodyMapper.type.name===IG&&(e="object"==typeof e?e[u.bodyMapper.xmlElementName]:[]);try{c.parsedBody=g.serializer.deserialize(u.bodyMapper,e,"operationRes.parsedBody",i)}catch(e){throw new Cb(`Error ${e} occurred in deserializing the responseBody - ${c.bodyAsText}`,{statusCode:c.status,request:c.request,response:c})}}else"HEAD"===g.httpMethod&&(c.parsedBody=r.status>=200&&r.status<300);u.headersMapper&&(c.parsedHeaders=g.serializer.deserialize(u.headersMapper,c.headers.toJSON(),"operationRes.parsedHeaders",{xml:{},ignoreUnknownProperties:!0}))}return c}async function IZ(e,t,r,i,s){if(!r.request.streamResponseStatusCodes?.has(r.status)&&r.bodyAsText){let n=r.bodyAsText,o=r.headers.get("Content-Type")||"",a=o?o.split(";").map(e=>e.toLowerCase()):[];try{if(0===a.length||a.some(t=>-1!==e.indexOf(t)))r.parsedBody=JSON.parse(n);else if(a.some(e=>-1!==t.indexOf(e))){if(!s)throw Error("Parsing XML not supported.");r.parsedBody=await s(n,i.xml)}}catch(i){let e=`Error "${i}" occurred while parsing the response body - ${r.bodyAsText}.`,t=i.code||Cb.PARSE_ERROR;throw new Cb(e,{code:t,statusCode:r.status,request:r.request,response:r})}}return r}function I$(e){let{parameterPath:t,mapper:r}=e;return"string"==typeof t?t:Array.isArray(t)?t.join("."):r.serializedName}function I0(e={}){var t,r,i,s,n;let o,a,A,l,c,d,g=(t=e??{},a=Cp.create(),t.agent&&a.addPolicy((r=t.agent,{name:"agentPolicy",sendRequest:async(e,t)=>(e.agent||(e.agent=r),t(e))})),t.tlsOptions&&a.addPolicy((i=t.tlsOptions,{name:"tlsPolicy",sendRequest:async(e,t)=>(e.tlsSettings||(e.tlsSettings=i),t(e))})),a.addPolicy((s=t.proxyOptions,n=void 0,Cq||Cz.push(...(A=C_("NO_PROXY"),(Cq=!0,A)?A.split(",").map(e=>e.trim()).filter(e=>e.length):[])),c=s?CW(s):(l=CJ())?new URL(l):void 0,d={},{name:"proxyPolicy",sendRequest:async(e,t)=>(!e.proxySettings&&c&&!function(e,t,r){if(0===t.length)return!1;let i=new URL(e).hostname;if(r?.has(i))return r.get(i);let s=!1;for(let e of t)"."===e[0]?i.endsWith(e)?s=!0:i.length===e.length-1&&i===e.slice(1)&&(s=!0):i===e&&(s=!0);return r?.set(i,s),s}(e.url,n?.customNoProxyList??Cz,n?.customNoProxyList?void 0:CV)?Cj(e,d,c):e.proxySettings&&Cj(e,d,CW(e.proxySettings)),t(e))})),a.addPolicy({name:It,sendRequest:async(e,t)=>("HEAD"!==e.method&&e.headers.set("Accept-Encoding","gzip,deflate"),t(e))}),a.addPolicy({name:"wrapAbortSignalLikePolicy",sendRequest:async(e,t)=>{if(!e.abortSignal)return t(e);let{abortSignal:r,cleanup:i}=Ip(e.abortSignal);e.abortSignal=r;try{return await t(e)}finally{i?.()}}}),a.addPolicy({name:"formDataPolicy",async sendRequest(e,t){let r=function(e){if("u">typeof FormData&&e instanceof FormData){let t={};for(let[r,i]of e.entries()){let e=t[r];Array.isArray(e)?e.push(i):t[r]=void 0!==e?[e,i]:[i]}return t}}(e.body);if(r&&(e.formData=r,e.body=void 0),e.formData){let t=e.headers.get("Content-Type");t&&-1!==t.indexOf("application/x-www-form-urlencoded")?e.body=function(e){let t=new URLSearchParams;for(let[r,i]of Object.entries(e))if(Array.isArray(i))for(let e of i)t.append(r,e.toString());else t.append(r,i.toString());return t.toString()}(e.formData):await CP(e.formData,e),e.formData=void 0}return t(e)}},{beforePolicies:[C8]}),a.addPolicy(function(e={}){let t=Ii(e.userAgentPrefix);return{name:"userAgentPolicy",sendRequest:async(e,r)=>(e.headers.has(Is)||e.headers.set(Is,await t),r(e))}}(t.userAgentOptions)),a.addPolicy(function(e="x-ms-client-request-id"){return{name:"setClientRequestIdPolicy",sendRequest:async(t,r)=>(t.headers.has(e)||t.headers.set(e,t.requestId),r(t))}}(t.telemetryOptions?.clientRequestIdHeaderName)),a.addPolicy((o={name:C8,async sendRequest(e,t){if(!e.multipartBody)return t(e);if(e.body)throw Error("multipartBody and regular body cannot be set at the same time");let r=e.multipartBody.boundary,i=e.headers.get("Content-Type")??"multipart/mixed",s=i.match(/^(multipart\/[^ ;]+)(?:; *boundary=(.+))?$/);if(!s)throw Error(`Got multipart request body, but content-type header was not multipart: ${i}`);let[,n,o]=s;if(o&&r&&o!==r)throw Error(`Multipart boundary was specified as ${o} in the header, but got ${r} in the request body`);if(r??=o){var a=r;if(a.length>70)throw Error(`Multipart boundary "${a}" exceeds maximum length of 70 characters`);if(Array.from(a).some(e=>!C9.has(e)))throw Error(`Multipart boundary "${a}" contains invalid characters`)}else r=`----AzSDKFormBoundary${Cu()}`;return e.headers.set("Content-Type",`${n}; boundary=${r}`),await C4(e,e.multipartBody.parts,r),e.multipartBody=void 0,t(e)}},{name:C8,sendRequest:async(e,t)=>{if(e.multipartBody)for(let t of e.multipartBody.parts){var r;Io(t.body)&&(t.body=Io(r=t.body)?r[In]():r)}return o.sendRequest(e,t)}}),{afterPhase:"Deserialize"}),a.addPolicy(function(e={}){return function(e={}){return{name:"defaultRetryPolicy",sendRequest:function(e,t={maxRetries:3}){let r=t.logger||CO;return{name:"retryPolicy",async sendRequest(i,s){let n,o,a=-1;e:for(;;){a+=1,n=void 0,o=void 0;try{r.info(`Retry ${a}: Attempting to send request`,i.requestId),n=await s(i),r.info(`Retry ${a}: Received a response from request`,i.requestId)}catch(e){if(r.error(`Retry ${a}: Received an error from request`,i.requestId),!CS(e))throw e;o=e,n=e.response}if(i.abortSignal?.aborted)throw r.error(`Retry ${a}: Request aborted.`),new p$;if(a>=(t.maxRetries??3)){if(r.info(`Retry ${a}: Maximum retries reached. Returning the last received response, or throwing the last received error.`),o)throw o;if(n)return n;throw Error("Maximum retries reached with no response or error to throw")}for(let t of(r.info(`Retry ${a}: Processing ${e.length} retry strategies.`),e)){let e=t.logger||r;e.info(`Retry ${a}: Processing retry strategy ${t.name}.`);let s=t.retry({retryCount:a,response:n,responseError:o});if(s.skipStrategy){e.info(`Retry ${a}: Skipped.`);continue}let{errorToThrow:A,retryAfterInMs:l,redirectTo:c}=s;if(A)throw e.error(`Retry ${a}: Retry strategy ${t.name} throws error:`,A),A;if(l||0===l){e.info(`Retry ${a}: Retry strategy ${t.name} retries after ${l}`),await function(e,t,r){return new Promise((i,s)=>{let n,o,a=()=>s(new p$(r?.abortErrorMsg?r?.abortErrorMsg:"The operation was aborted.")),A=()=>{r?.abortSignal&&o&&r.abortSignal.removeEventListener("abort",o)};if(o=()=>(n&&clearTimeout(n),A(),a()),r?.abortSignal&&r.abortSignal.aborted)return a();n=setTimeout(()=>{A(),i(t)},e),r?.abortSignal&&r.abortSignal.addEventListener("abort",o)})}(l,void 0,{abortSignal:i.abortSignal});continue e}if(c){e.info(`Retry ${a}: Retry strategy ${t.name} redirects to ${c}`),i.url=c;continue e}}if(o)throw r.info("None of the retry strategies could work with the received error. Throwing it."),o;if(n)return r.info("None of the retry strategies could work with the received response. Returning it."),n}}}}([{name:"throttlingRetryStrategy",retry({response:e}){let t=CL(e);return Number.isFinite(t)?{retryAfterInMs:t}:{skipStrategy:!0}}},function(e={}){let t=e.retryDelayInMs??1e3,r=e.maxRetryDelayInMs??64e3;return{name:"exponentialRetryStrategy",retry({retryCount:i,response:s,responseError:n}){var o,a,A,l,c;let d,g,u=!!(l=n)&&("ETIMEDOUT"===l.code||"ESOCKETTIMEDOUT"===l.code||"ECONNREFUSED"===l.code||"ECONNRESET"===l.code||"ENOENT"===l.code||"ENOTFOUND"===l.code),h=u&&e.ignoreSystemErrors,m=!!((c=s)&&void 0!==c.status&&(c.status>=500||408===c.status)&&501!==c.status&&505!==c.status),p=m&&e.ignoreHttpStatusCodes;return s&&(Number.isFinite(CL(s))||!m)||p||h?{skipStrategy:!0}:!n||u||m?(d=(o={retryDelayInMs:t,maxRetryDelayInMs:r}).retryDelayInMs*Math.pow(2,i),{retryAfterInMs:(g=Math.min(o.maxRetryDelayInMs,d))/2+(a=0,A=g/2,a=Math.ceil(a),Math.floor(Math.random()*((A=Math.floor(A))-a+1))+a)}):{errorToThrow:n}}}}(e)],{maxRetries:e.maxRetries??3}).sendRequest}}(e)}(t.retryOptions),{phase:"Retry"}),a.addPolicy(function(e={}){let t=Ii(e.userAgentPrefix),r=new CQ({additionalAllowedQueryParameters:e.additionalAllowedQueryParameters}),i=function(){try{return Im({namespace:"",packageName:"@azure/core-rest-pipeline",packageVersion:"1.25.0"})}catch(e){Ie.warning(`Error when creating the TracingClient: ${Il(e)}`);return}}();return{name:"tracingPolicy",async sendRequest(e,s){if(!i)return s(e);let n=await t,o={"http.url":r.sanitizeUrl(e.url),"http.method":e.method,"http.user_agent":n,requestId:e.requestId};n&&(o["http.user_agent"]=n);let{span:a,tracingContext:A}=function(e,t,r){try{let{span:i,updatedOptions:s}=e.startSpan(`HTTP ${t.method}`,{tracingOptions:t.tracingOptions},{spanKind:"client",spanAttributes:r});if(!i.isRecording())return void i.end();let n=e.createRequestHeaders(s.tracingOptions.tracingContext);for(let[e,r]of Object.entries(n))t.headers.set(e,r);return{span:i,tracingContext:s.tracingOptions.tracingContext}}catch(e){Ie.warning(`Skipping creating a tracing span due to an error: ${Il(e)}`);return}}(i,e,o)??{};if(!a||!A)return s(e);try{let t=await i.withContext(A,s,e);return function(e,t){try{e.setAttribute("http.status_code",t.status);let r=t.headers.get("x-ms-request-id");r&&e.setAttribute("serviceRequestId",r),t.status>=400&&e.setStatus({status:"error"}),e.end()}catch(e){Ie.warning(`Skipping tracing span processing due to an error: ${Il(e)}`)}}(a,t),t}catch(e){throw function(e,t){try{e.setStatus({status:"error",error:CI(t)?t:void 0}),CS(t)&&t.statusCode&&e.setAttribute("http.status_code",t.statusCode),e.end()}catch(e){Ie.warning(`Skipping tracing span processing due to an error: ${Il(e)}`)}}(a,e),e}}}}({...t.userAgentOptions,...t.loggingOptions}),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let{maxRetries:t=20,allowCrossOriginRedirects:r=!1}=e;return{name:CK,async sendRequest(e,i){let s=await i(e);return CZ(i,s,t,r)}}}(e)}(t.redirectOptions),{afterPhase:"Retry"}),a.addPolicy(function(e={}){return function(e={}){let t=e.logger??CD.info,r=new CQ({additionalAllowedHeaderNames:e.additionalAllowedHeaderNames,additionalAllowedQueryParameters:e.additionalAllowedQueryParameters});return{name:"logPolicy",async sendRequest(e,i){if(!t.enabled)return i(e);t(`Request: ${r.sanitize(e)}`);let s=await i(e);return t(`Response status code: ${s.status}`),t(`Headers: ${r.sanitize({headers:s.headers})}`),s}}}({logger:Ie.info,...e})}(t.loggingOptions),{afterPhase:"Sign"}),a);return e.credentialOptions&&g.addPolicy(IN({credential:e.credentialOptions.credential,scopes:e.credentialOptions.credentialScopes})),g.addPolicy(function(e={}){let t=e.stringifyXML;return{name:"serializationPolicy",sendRequest(e,r){let i=IW(e),s=i?.operationSpec,n=i?.operationArguments;return s&&n&&(function(e,t,r){if(r.headerParameters)for(let i of r.headerParameters){let s=IV(t,i);if(null!=s||i.mapper.required){s=r.serializer.serialize(i.mapper,s,I$(i));let t=i.mapper.headerCollectionPrefix;if(t)for(let r of Object.keys(s))e.headers.set(t+r,s[r]);else e.headers.set(i.mapper.serializedName||I$(i),s)}}let i=t.options?.requestOptions?.customHeaders;if(i)for(let t of Object.keys(i))e.headers.set(t,i[t])}(e,n,s),function(e,t,r,i=function(){throw Error("XML serialization unsupported!")}){let s=t.options?.serializerOptions,n={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}},o=n.xml.xmlCharKey;if(r.requestBody&&r.requestBody.mapper){e.body=IV(t,r.requestBody);let s=r.requestBody.mapper,{required:a,serializedName:A,xmlName:l,xmlElementName:c,xmlNamespace:d,xmlNamespacePrefix:g,nullable:u}=s,h=s.type.name;try{if(void 0!==e.body&&null!==e.body||u&&null===e.body||a){let t=I$(r.requestBody);e.body=r.serializer.serialize(s,e.body,t,n);let a=h===Iz;if(r.isXML){let t=g?`xmlns:${g}`:"xmlns",r=function(e,t,r,i,s){if(e&&!["Composite","Sequence","Dictionary"].includes(r)){let r={};return r[s.xml.xmlCharKey]=i,r.$={[t]:e},r}return i}(d,t,h,e.body,n);h===IG?e.body=i(function(e,t,r,i){if(Array.isArray(e)||(e=[e]),!r||!i)return{[t]:e};let s={[t]:e};return s.$={[r]:i},s}(r,c||l||A,t,d),{rootName:l||A,xmlCharKey:o}):a||(e.body=i(r,{rootName:l||A,xmlCharKey:o}))}else{if("String"===h&&(r.contentType?.match("text/plain")||"text"===r.mediaType))return;a||(e.body=JSON.stringify(e.body))}}}catch(e){throw Error(`Error "${e.message}" occurred in serializing the payload - ${JSON.stringify(A,void 0," ")}.`)}}else if(r.formDataParameters&&r.formDataParameters.length>0)for(let i of(e.formData={},r.formDataParameters)){let s=IV(t,i);if(null!=s){let t=i.mapper.serializedName||I$(i);e.formData[t]=r.serializer.serialize(i.mapper,s,I$(i),n)}}}(e,n,s,t)),r(e)}}}(e.serializationOptions),{phase:"Serialize"}),g.addPolicy(function(e={}){let t=e.expectedContentTypes?.json??Ij,r=e.expectedContentTypes?.xml??IK,i=e.parseXML,s=e.serializerOptions,n={xml:{rootName:s?.xml.rootName??"",includeRoot:s?.xml.includeRoot??!1,xmlCharKey:s?.xml.xmlCharKey??"_"}};return{name:"deserializationPolicy",sendRequest:async(e,s)=>IX(t,r,await s(e),n,i)}}(e.deserializationOptions),{phase:"Deserialize"}),g}let I1={CSV:",",SSV:" ",Multi:"Multi",TSV:" ",Pipes:"|"};function I2(e,t){let r=e;for(let[e,i]of t)r=r.split(e).join(i);return r}let I3=C7("core-client");class I5{_endpoint;_requestContentType;_allowInsecureConnection;_httpClient;pipeline;constructor(e={}){var r;let i,s;if(this._requestContentType=e.requestContentType,this._endpoint=e.endpoint??e.baseUri,e.baseUri&&I3.warning("The baseUri option for SDK Clients has been deprecated, please use endpoint instead."),this._allowInsecureConnection=e.allowInsecureConnection,this._httpClient=e.httpClient||(t||(t=IC()),t),this.pipeline=e.pipeline||(i=function(e){if(e.credentialScopes)return e.credentialScopes;if(e.endpoint)return`${e.endpoint}/.default`;if(e.baseUri)return`${e.baseUri}/.default`;if(e.credential)throw Error("When using credentials, the ServiceClientOptions must contain either a endpoint or a credentialScopes. Unable to create a bearerTokenAuthenticationPolicy")}(r=e),s=r.credential&&i?{credentialScopes:i,credential:r.credential}:void 0,I0({...r,credentialOptions:s})),e.additionalPolicies?.length)for(let{policy:t,position:r}of e.additionalPolicies){let e="perRetry"===r?"Sign":void 0;this.pipeline.addPolicy(t,{afterPhase:e})}}sendRequest(e){return this.pipeline.sendRequest(this._httpClient,e)}async sendOperationRequest(e,t){let r=t.baseUrl||this._endpoint;if(!r)throw Error("If operationSpec.baseUrl is not specified, then the ServiceClient must have a endpoint string property that contains the base URL to use.");let i=new Ch({url:function(e,t,r,i){let s=function(e,t,r){let i=new Map;if(e.urlParameters?.length)for(let s of e.urlParameters){let n=IV(t,s,r),o=I$(s);n=e.serializer.serialize(s.mapper,n,o),s.skipEncoding||(n=encodeURIComponent(n)),i.set(`{${s.mapper.serializedName||o}}`,n)}return i}(t,r,i),n=!1,o=I2(e,s);if(t.path){let e=I2(t.path,s);"/{nextLink}"===t.path&&e.startsWith("/")&&(e=e.substring(1)),e.includes("://")?(o=e,n=!0):o=function(e,t){if(!t)return e;let r=new URL(e),i=r.pathname;i.endsWith("/")||(i=`${i}/`),t.startsWith("/")&&(t=t.substring(1));let s=t.indexOf("?");if(-1!==s){let e=t.substring(0,s),n=t.substring(s+1);i+=e,n&&(r.search=r.search?`${r.search}&${n}`:n)}else i+=t;return Object.assign(r,{pathname:i}),r.toString()}(o,e)}let{queryParams:a,sequenceParams:A}=function(e,t,r){let i=new Map,s=new Set;if(e.queryParameters?.length)for(let n of e.queryParameters){"Sequence"===n.mapper.type.name&&n.mapper.serializedName&&s.add(n.mapper.serializedName);let o=IV(t,n,r);if(null!=o||n.mapper.required){o=e.serializer.serialize(n.mapper,o,I$(n));let t=n.collectionFormat?I1[n.collectionFormat]:"";if(Array.isArray(o)&&(o=o.map(e=>null==e?"":e)),"Multi"===n.collectionFormat&&0===o.length)continue;Array.isArray(o)&&("SSV"===n.collectionFormat||"TSV"===n.collectionFormat)&&(o=o.join(t)),n.skipEncoding||(o=Array.isArray(o)?o.map(e=>encodeURIComponent(e)):encodeURIComponent(o)),Array.isArray(o)&&("CSV"===n.collectionFormat||"Pipes"===n.collectionFormat)&&(o=o.join(t)),i.set(n.mapper.serializedName||I$(n),o)}}return{queryParams:i,sequenceParams:s}}(t,r,i);return function(e,t,r,i=!1){if(0===t.size)return e;let s=new URL(e),n=function(e){let t=new Map;if(!e||"?"!==e[0])return t;for(let r of(e=e.slice(1)).split("&")){let[e,i]=r.split("=",2),s=t.get(e);s?Array.isArray(s)?s.push(i):t.set(e,[s,i]):t.set(e,i)}return t}(s.search);for(let[e,s]of t){let t=n.get(e);if(Array.isArray(t))if(Array.isArray(s)){t.push(...s);let r=new Set(t);n.set(e,Array.from(r))}else t.push(s);else t?(Array.isArray(s)?s.unshift(t):r.has(e)&&n.set(e,[t,s]),i||n.set(e,s)):n.set(e,s)}let o=[];for(let[e,t]of n)if("string"==typeof t)o.push(`${e}=${t}`);else if(Array.isArray(t))for(let r of t)o.push(`${e}=${r}`);else o.push(`${e}=${t}`);return s.search=o.length?`?${o.join("&")}`:"",s.toString()}(o,a,A,n)}(r,t,e,this)});i.method=t.httpMethod;let s=IW(i);s.operationSpec=t,s.operationArguments=e;let n=t.contentType||this._requestContentType;n&&t.requestBody&&i.headers.set("Content-Type",n);let o=e.options;if(o){let e=o.requestOptions;e&&(e.timeout&&(i.timeout=e.timeout),e.onUploadProgress&&(i.onUploadProgress=e.onUploadProgress),e.onDownloadProgress&&(i.onDownloadProgress=e.onDownloadProgress),void 0!==e.shouldDeserialize&&(s.shouldDeserialize=e.shouldDeserialize),e.allowInsecureConnection&&(i.allowInsecureConnection=!0)),o.abortSignal&&(i.abortSignal=o.abortSignal),o.tracingOptions&&(i.tracingOptions=o.tracingOptions)}this._allowInsecureConnection&&(i.allowInsecureConnection=!0),void 0===i.streamResponseStatusCodes&&(i.streamResponseStatusCodes=function(e){let t=new Set;for(let[r,i]of Object.entries(e.responses))i.bodyMapper&&i.bodyMapper.type.name===Iz&&t.add(Number(r));return t}(t));try{let e=await this.sendRequest(i),r=Ik(e,t.responses[e.status]);return o?.onResponse&&o.onResponse(e,r),r}catch(e){if("object"==typeof e&&e?.response){let r=e.response,i=Ik(r,t.responses[e.statusCode]||t.responses.default);e.details=i,o?.onResponse&&o.onResponse(r,i,e)}throw e}}}let I4="authorization",I8=async e=>{var t;let r={abortSignal:(t=e.request).abortSignal,requestOptions:{timeout:t.timeout},tracingOptions:t.tracingOptions},i=function(e){let t=e.headers.get("WWW-Authenticate");if(401===e.status&&t)return t}(e.response);if(i){let t,s=(t=i.slice(7),`${t.trim()} `.split(" ").filter(e=>e).map(e=>(([e,t])=>({[e]:t}))(e.trim().split("="))).reduce((e,t)=>({...e,...t}),{})),n=function(e,t){if(!t.resource_id)return e.scopes;let r=new URL(t.resource_id),i=new URL("/.default",r.origin).toString();return"https://disk.azure.com/.default"===i&&(i="https://disk.azure.com//.default"),[i]}(e,s),o=function(e){let t=new URL(e.authorization_uri).pathname.split("/")[1];if(t&&/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/.test(t))return t}(s);if(!o)return!1;let a=await e.getAccessToken(n,{...r,tenantId:o});return!!a&&(e.request.headers.set(I4,`${a.tokenType??"Bearer"} ${a.token}`),!0)}return!1},I9=Symbol("Original PipelineRequest"),I6=Symbol.for("@azure/core-client original request"),I7=new Set(["url","method","withCredentials","timeout","requestId","abortSignal","body","formData","onDownloadProgress","onUploadProgress","proxySettings","streamResponseStatusCodes","agent","requestOverrides"]);function fe(e,t={}){let r=e[I9],i=Cg(e.headers.toJson({preserveCase:!0}));if(r)return r.headers=i,r;{let r=new Ch({url:e.url,method:e.method,headers:i,withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,disableKeepAlive:!!e.keepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides});return t.originalRequest&&(r[I6]=t.originalRequest),r}}function ft(e,t){let r=t?.originalRequest??e,i={url:e.url,method:e.method,headers:fr(e.headers),withCredentials:e.withCredentials,timeout:e.timeout,requestId:e.headers.get("x-ms-client-request-id")||e.requestId,abortSignal:e.abortSignal,body:e.body,formData:e.formData,keepAlive:!!e.disableKeepAlive,onDownloadProgress:e.onDownloadProgress,onUploadProgress:e.onUploadProgress,proxySettings:e.proxySettings,streamResponseStatusCodes:e.streamResponseStatusCodes,agent:e.agent,requestOverrides:e.requestOverrides,clone(){throw Error("Cannot clone a non-proxied WebResourceLike")},prepare(){throw Error("WebResourceLike.prepare() is not supported by @azure/core-http-compat")},validateRequestProperties(){}};return t?.createProxy?new Proxy(i,{get:(t,s,n)=>s===I9?e:"clone"===s?()=>ft(fe(i,{originalRequest:r}),{createProxy:!0,originalRequest:r}):Reflect.get(t,s,n),set:(t,r,i,s)=>("keepAlive"===r&&(e.disableKeepAlive=!i),"string"==typeof r&&I7.has(r)&&(e[r]=i),Reflect.set(t,r,i,s))}):i}function fr(e){return new fs(e.toJSON({preserveCase:!0}))}function fi(e){return e.toLowerCase()}class fs{_headersMap;constructor(e){if(this._headersMap={},e)for(let t in e)this.set(t,e[t])}set(e,t){this._headersMap[fi(e)]={name:e,value:t.toString()}}get(e){let t=this._headersMap[fi(e)];return t?t.value:void 0}contains(e){return!!this._headersMap[fi(e)]}remove(e){let t=this.contains(e);return delete this._headersMap[fi(e)],t}rawHeaders(){return this.toJson({preserveCase:!0})}headersArray(){let e=[];for(let t in this._headersMap)e.push(this._headersMap[t]);return e}headerNames(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].name);return e}headerValues(){let e=[],t=this.headersArray();for(let r=0;r<t.length;++r)e.push(t[r].value);return e}toJson(e={}){let t={};if(e.preserveCase)for(let e in this._headersMap){let r=this._headersMap[e];t[r.name]=r.value}else for(let e in this._headersMap){let r=this._headersMap[e];t[fi(r.name)]=r.value}return t}toString(){return JSON.stringify(this.toJson({preserveCase:!0}))}clone(){let e={};for(let t in this._headersMap){let r=this._headersMap[t];e[r.name]=r.value}return new fs(e)}}let fn=Symbol("Original FullOperationResponse");function fo(e,t){let r=ft(e.request),i=fr(e.headers);return t?.createProxy?new Proxy(e,{get:(t,s,n)=>"headers"===s?i:"request"===s?r:s===fn?e:Reflect.get(t,s,n),set:(e,t,s,n)=>("headers"===t?i=s:"request"===t&&(r=s),Reflect.set(e,t,s,n))}):{...e,request:r,headers:i}}function fa(e){let t=e[fn],r=Cg(e.headers.toJson({preserveCase:!0}));return t?(t.headers=r,t):{...e,headers:r,request:fe(e.request)}}class fA extends I5{constructor(e){super(e),e.keepAliveOptions?.enable!==!1||this.pipeline.getOrderedPolicies().some(e=>e.name===Iw)||this.pipeline.addPolicy({name:Iw,sendRequest:(e,t)=>(e.disableKeepAlive=!0,t(e))}),e.redirectOptions?.handleRedirects===!1&&this.pipeline.removePolicy({name:CK})}async sendOperationRequest(e,t){let r,i=e?.options?.onResponse;e.options={...e.options,onResponse:function(e,t,s){r=e,i&&i(e,t,s)}};let s=await super.sendOperationRequest(e,t);return r&&Object.defineProperty(s,"_response",{value:fo(r)}),s}}(es=eE||(eE={}))[es.ERROR=1]="ERROR",es[es.INFO=3]="INFO",es[es.OFF=0]="OFF",es[es.WARNING=2]="WARNING";let fl={log(e,t){},shouldLog:e=>!1};class fc{constructor(e,t={},r){this.pattern=e,this.separator=t.separator||".",this.segments=this._parse(e),this.data=r,this._hasDeepWildcard=this.segments.some(e=>"deep-wildcard"===e.type),this._hasAttributeCondition=this.segments.some(e=>void 0!==e.attrName),this._hasPositionSelector=this.segments.some(e=>void 0!==e.position)}_parse(e){let t=[],r=0,i="";for(;r<e.length;)e[r]===this.separator?r+1<e.length&&e[r+1]===this.separator?(i.trim()&&(t.push(this._parseSegment(i.trim())),i=""),t.push({type:"deep-wildcard"}),r+=2):(i.trim()&&t.push(this._parseSegment(i.trim())),i="",r++):(i+=e[r],r++);return i.trim()&&t.push(this._parseSegment(i.trim())),t}_parseSegment(e){let t,r,i={type:"tag"},s=null,n=e,o=e.match(/^([^\[]+)(\[[^\]]*\])(.*)$/);if(o&&(n=o[1]+o[3],o[2])){let e=o[2].slice(1,-1);e&&(s=e)}let a=n;if(n.includes("::")){let r=n.indexOf("::");if(t=n.substring(0,r).trim(),a=n.substring(r+2).trim(),!t)throw Error(`Invalid namespace in pattern: ${e}`)}let A=null;if(a.includes(":")){let e=a.lastIndexOf(":"),t=a.substring(0,e).trim(),i=a.substring(e+1).trim();["first","last","odd","even"].includes(i)||/^nth\(\d+\)$/.test(i)?(r=t,A=i):r=a}else r=a;if(!r)throw Error(`Invalid segment pattern: ${e}`);if(i.tag=r,t&&(i.namespace=t),s)if(s.includes("=")){let e=s.indexOf("=");i.attrName=s.substring(0,e).trim(),i.attrValue=s.substring(e+1).trim()}else i.attrName=s.trim();if(A){let e=A.match(/^nth\((\d+)\)$/);e?(i.position="nth",i.positionValue=parseInt(e[1],10)):i.position=A}return i}get length(){return this.segments.length}hasDeepWildcard(){return this._hasDeepWildcard}hasAttributeCondition(){return this._hasAttributeCondition}hasPositionSelector(){return this._hasPositionSelector}toString(){return this.pattern}}class fd{constructor(e){this._matcher=e}get separator(){return this._matcher.separator}getCurrentTag(){let e=this._matcher.path;return e.length>0?e[e.length-1].tag:void 0}getCurrentNamespace(){let e=this._matcher.path;return e.length>0?e[e.length-1].namespace:void 0}getAttrValue(e){let t=this._matcher.path;if(0!==t.length)return t[t.length-1].values?.[e]}hasAttr(e){let t=this._matcher.path;if(0===t.length)return!1;let r=t[t.length-1];return void 0!==r.values&&e in r.values}getAnyParentAttr(e){return this._matcher.getAnyParentAttr(e)}hasAnyParentAttr(e){return this._matcher.hasAnyParentAttr(e)}getPosition(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].position??0}getCounter(){let e=this._matcher.path;return 0===e.length?-1:e[e.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this._matcher.path.length}toString(e,t=!0){return this._matcher.toString(e,t)}toArray(){return this._matcher.path.map(e=>e.tag)}matches(e){return this._matcher.matches(e)}matchesAny(e){return e.matchesAny(this._matcher)}}class fg{constructor(e={}){this.separator=e.separator||".",this.path=[],this.siblingStacks=[],this._pathStringCache=null,this._view=new fd(this),this._keptAttrs=[]}push(e,t=null,r=null,i=null){this._pathStringCache=null,this.path.length>0&&(this.path[this.path.length-1].values=void 0);let s=this.path.length,n=this.siblingStacks[s];n||(n={counts:new Map,total:0},this.siblingStacks[s]=n);let o=r?`${r}:${e}`:e,a=n.counts.get(o)||0,A=n.total;n.counts.set(o,a+1),n.total++;let l={tag:e,position:A,counter:a};null!=r&&(l.namespace=r),null!=t&&(l.values=t),this.path.push(l);let c=this.path.length,d=null!==i?i.keep:null;if(null!=d&&d.length>0&&t)for(let e=0;e<d.length;e++){let r=d[e];void 0!==t[r]&&this._keptAttrs.push({depth:c,name:r,value:t[r]})}}pop(){if(0===this.path.length)return;this._pathStringCache=null;let e=this.path.pop();this.siblingStacks.length>this.path.length+1&&(this.siblingStacks.length=this.path.length+1);let t=this.path.length+1;for(;this._keptAttrs.length>0&&this._keptAttrs[this._keptAttrs.length-1].depth>=t;)this._keptAttrs.pop();return e}updateCurrent(e){if(this.path.length>0){let t=this.path[this.path.length-1];null!=e&&(t.values=e)}}getCurrentTag(){return this.path.length>0?this.path[this.path.length-1].tag:void 0}getCurrentNamespace(){return this.path.length>0?this.path[this.path.length-1].namespace:void 0}getAttrValue(e){if(0!==this.path.length)return this.path[this.path.length-1].values?.[e]}hasAttr(e){if(0===this.path.length)return!1;let t=this.path[this.path.length-1];return void 0!==t.values&&e in t.values}getAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return t[r].value}hasAnyParentAttr(e){let t=this._keptAttrs;for(let r=t.length-1;r>=0;r--)if(t[r].name===e)return!0;return!1}getPosition(){return 0===this.path.length?-1:this.path[this.path.length-1].position??0}getCounter(){return 0===this.path.length?-1:this.path[this.path.length-1].counter??0}getIndex(){return this.getPosition()}getDepth(){return this.path.length}toString(e,t=!0){let r=e||this.separator;if(r===this.separator&&!0===t){if(null!==this._pathStringCache)return this._pathStringCache;let e=this.path.map(e=>e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r);return this._pathStringCache=e,e}return this.path.map(e=>t&&e.namespace?`${e.namespace}:${e.tag}`:e.tag).join(r)}toArray(){return this.path.map(e=>e.tag)}reset(){this._pathStringCache=null,this.path=[],this.siblingStacks=[],this._keptAttrs=[]}matches(e){let t=e.segments;return 0!==t.length&&(e.hasDeepWildcard()?this._matchWithDeepWildcard(t):this._matchSimple(t))}_matchSimple(e){if(this.path.length!==e.length)return!1;for(let t=0;t<e.length;t++)if(!this._matchSegment(e[t],this.path[t],t===this.path.length-1))return!1;return!0}_matchWithDeepWildcard(e){let t=this.path.length-1,r=e.length-1;for(;r>=0&&t>=0;){let i=e[r];if("deep-wildcard"===i.type){if(--r<0)return!0;let i=e[r],s=!1;for(let e=t;e>=0;e--)if(this._matchSegment(i,this.path[e],e===this.path.length-1)){t=e-1,r--,s=!0;break}if(!s)return!1}else{if(!this._matchSegment(i,this.path[t],t===this.path.length-1))return!1;t--,r--}}return r<0}_matchSegment(e,t,r){if("*"!==e.tag&&e.tag!==t.tag||void 0!==e.namespace&&"*"!==e.namespace&&e.namespace!==t.namespace||void 0!==e.attrName&&(!r||!t.values||!(e.attrName in t.values)||void 0!==e.attrValue&&String(t.values[e.attrName])!==String(e.attrValue)))return!1;if(void 0!==e.position){if(!r)return!1;let i=t.counter??0;if("first"===e.position&&0!==i)return!1;if("odd"===e.position&&i%2!=1)return!1;if("even"===e.position&&i%2!=0)return!1;else if("nth"===e.position&&i!==e.positionValue)return!1}return!0}matchesAny(e){return e.matchesAny(this)}snapshot(){return{path:this.path.map(e=>({...e})),siblingStacks:this.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),keptAttrs:this._keptAttrs.map(e=>({...e}))}}restore(e){this._pathStringCache=null,this.path=e.path.map(e=>({...e})),this.siblingStacks=e.siblingStacks.map(e=>e?{counts:new Map(e.counts),total:e.total}:e),this._keptAttrs=(e.keptAttrs||[]).map(e=>({...e}))}readOnly(){return this._view}}function fu(e){return String(e).replace(/--/g,"- -").replace(/--/g,"- -").replace(/-$/,"- ")}function fh(e){return String(e).replace(/\]\]>/g,"]]]]><![CDATA[>")}function fm(e){return String(e).replace(/"/g,"&quot;").replace(/'/g,"&apos;")}let fp=":A-Za-z_\xc0-\xd6\xd8-\xf6\xf8-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�",fC=":A-Za-z_\xc0-˿Ͱ-ͽͿ-҆҈-῿‌-‍⁰-↏Ⰰ-⿯、-퟿豈-﷏ﷰ-�\uD800\uDC00-\uDB7F\uDFFF",fI=(e,t,r="")=>{let i=e.replace(":",""),s=t.replace(":",""),n=`[${i}][${s}]*`;return{name:RegExp(`^[${e}][${t}]*$`,r),ncName:RegExp(`^${n}$`,r),qName:RegExp(`^${n}(?::${n})?$`,r),nmToken:RegExp(`^[${t}]+$`,r),nmTokens:RegExp(`^[${t}]+(?:\\s+[${t}]+)*$`,r)}},ff=fI(fp,fp+"\\-\\.\\d\xb7̀-ͯ‿-⁀"),fE=fI(fC,fC+"\\-\\.\\d\xb7̀-ͯ҇‿-⁀","u"),fB=":A-Za-z_",fy=fI(fB,fB+"\\-\\.\\d"),fQ=(e="1.0",t=!1)=>t?fy:"1.1"===e?fE:ff,fN=(e,{xmlVersion:t="1.0",asciiOnly:r=!1}={})=>fQ(t,r).qName.test(e),fb=["name","ncName","qName","nmToken","nmTokens"],fS=(e,{xmlVersion:t="1.0",asciiOnly:r=!1,maxCacheSize:i=2048}={})=>{if(!fb.includes(e))throw TypeError(`Unknown production "${e}". Must be one of: ${fb.join(", ")}`);let s=fQ(t,r)[e],n=new Map,o=e=>{let t=n.get(e);if(void 0!==t)return t;let r=s.test(e);return n.size<i&&n.set(e,r),r};return o.reset=()=>{n=new Map},o};function fw(e,t,r,i,s){return!r.sanitizeName||s(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function fD(e){let t=Object.keys(e);for(let r=0;r<t.length;r++){let i=t[r];if(Object.prototype.hasOwnProperty.call(e,i)&&":@"!==i)return i}}function fx(e,t,r,i,s){let n="";if(e&&!t.ignoreAttributes)for(let o in e){let a;if(!Object.prototype.hasOwnProperty.call(e,o))continue;let A=o.substr(t.attributeNamePrefix.length),l=r?A:fw(A,!0,t,i,s);!0===(a=r?e[o]:fR(a=t.attributeValueProcessor(o,e[o]),t))&&t.suppressBooleanAttributes?n+=` ${l}`:n+=` ${l}="${fm(a)}"`}return n}function fR(e,t){if(e&&e.length>0&&t.processEntities)for(let r=0;r<t.entities.length;r++){let i=t.entities[r];e=e.replace(i.regex,i.val)}return e}let fM={attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,cdataPropName:!1,format:!1,indentBy:" ",suppressEmptyNode:!1,suppressUnpairedNode:!0,suppressBooleanAttributes:!0,tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},preserveOrder:!1,commentPropName:!1,unpairedTags:[],entities:[{regex:RegExp("&","g"),val:"&amp;"},{regex:RegExp(">","g"),val:"&gt;"},{regex:RegExp("<","g"),val:"&lt;"},{regex:RegExp("'","g"),val:"&apos;"},{regex:RegExp('"',"g"),val:"&quot;"}],processEntities:!0,stopNodes:[],oneListGroup:!1,maxNestedTags:100,jPath:!0,sanitizeName:!1};function fk(e){if(this.options=Object.assign({},fM,e),this.options.stopNodes&&Array.isArray(this.options.stopNodes)&&(this.options.stopNodes=this.options.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),this.stopNodeExpressions=[],this.options.stopNodes&&Array.isArray(this.options.stopNodes))for(let e=0;e<this.options.stopNodes.length;e++){let t=this.options.stopNodes[e];"string"==typeof t?this.stopNodeExpressions.push(new fc(t)):t instanceof fc&&this.stopNodeExpressions.push(t)}if(!0===this.options.ignoreAttributes||this.options.attributesGroupName)this.isAttribute=function(){return!1};else{var t;this.ignoreAttributesFn="function"==typeof(t=this.options.ignoreAttributes)?t:Array.isArray(t)?e=>{for(let r of t)if("string"==typeof r&&e===r||r instanceof RegExp&&r.test(e))return!0}:()=>!1,this.attrPrefixLen=this.options.attributeNamePrefix.length,this.isAttribute=fT}this.processTextOrObjNode=fU,this.options.format?(this.indentate=fv,this.tagEndChar=">\n",this.newLine="\n"):(this.indentate=function(){return""},this.tagEndChar=">",this.newLine="")}function fF(e,t,r,i,s){return!r.sanitizeName||s(e)?e:r.sanitizeName(e,{isAttribute:t,matcher:i.readOnly()})}function fU(e,t,r,i,s){let n=this.extractAttributes(e);if(i.push(t,n),this.checkStopNode(i)){let s=this.buildRawContent(e),n=this.buildAttributesForStopNode(e);return i.pop(),this.buildObjectNode(s,t,n,r)}let o=this.j2x(e,r+1,i,s);return(i.pop(),"?"===t[0])?this.buildTextValNode("",t,o.attrStr,r,i):void 0!==e[this.options.textNodeName]&&1===Object.keys(e).length?this.buildTextValNode(e[this.options.textNodeName],t,o.attrStr,r,i):this.buildObjectNode(o.val,t,o.attrStr,r)}function fv(e){return this.options.indentBy.repeat(e)}function fT(e){return!!e.startsWith(this.options.attributeNamePrefix)&&e!==this.options.textNodeName&&e.substr(this.attrPrefixLen)}fk.prototype.build=function(e){if(this.options.preserveOrder)return function(e,t){let r="";t.format&&(r="\n");let i=[];if(t.stopNodes&&Array.isArray(t.stopNodes))for(let e=0;e<t.stopNodes.length;e++){let r=t.stopNodes[e];"string"==typeof r?i.push(new fc(r)):r instanceof fc&&i.push(r)}let s=fS("qName",{xmlVersion:function(e,t){if(!Array.isArray(e)||0===e.length)return"1.0";let r=e[0];if("?xml"===fD(r)){let e=r[":@"];if(e){let r=t.attributeNamePrefix+"version";if(e[r])return e[r]}}return"1.0"}(e,t)});return function e(t,r,i,s,n,o){let a="",A=!1;if(r.maxNestedTags&&s.getDepth()>r.maxNestedTags)throw Error("Maximum nested tags exceeded");if(!Array.isArray(t)){if(null!=t){let e=t.toString();return fR(e,r)}return""}for(let l=0;l<t.length;l++){let c,d=t[l],g=fD(d);if(void 0===g)continue;let u=g===r.textNodeName||g===r.cdataPropName||g===r.commentPropName||"?"===g[0]?g:fw(g,!1,r,s,o),h=function(e,t){if(!e||t.ignoreAttributes)return null;let r={},i=!1;for(let s in e)Object.prototype.hasOwnProperty.call(e,s)&&(r[s.startsWith(t.attributeNamePrefix)?s.substr(t.attributeNamePrefix.length):s]=fm(e[s]),i=!0);return i?r:null}(d[":@"],r);s.push(u,h);let m=function(e,t){if(!t||0===t.length)return!1;for(let r=0;r<t.length;r++)if(e.matches(t[r]))return!0;return!1}(s,n);if(u===r.textNodeName){let e=d[g];m||(e=fR(e=r.tagValueProcessor(u,e),r)),A&&(a+=i),a+=e,A=!1,s.pop();continue}if(u===r.cdataPropName){A&&(a+=i);let e=fh(d[g][0][r.textNodeName]);a+=`<![CDATA[${e}]]>`,A=!1,s.pop();continue}if(u===r.commentPropName){let e=fu(d[g][0][r.textNodeName]);a+=i+`<!--${e}-->`,A=!0,s.pop();continue}else if("?"===u[0]){let e=fx(d[":@"],r,m,s,o);a+=("?xml"===u?"":i)+`<${u}${e}?>`,A=!0,s.pop();continue}let p=i;""!==p&&(p+=r.indentBy);let C=fx(d[":@"],r,m,s,o),I=i+`<${u}${C}`;c=m?function e(t,r){if(!Array.isArray(t))return null!=t?t.toString():"";let i="";for(let s=0;s<t.length;s++){let n=t[s],o=fD(n);if(o===r.textNodeName)i+=n[o];else if(o===r.cdataPropName)i+=n[o][0][r.textNodeName];else if(o===r.commentPropName)i+=n[o][0][r.textNodeName];else if(o&&"?"===o[0])continue;else if(o){let t=function(e,t){let r="";if(e&&!t.ignoreAttributes)for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=e[i];!0===s&&t.suppressBooleanAttributes?r+=` ${i.substr(t.attributeNamePrefix.length)}`:r+=` ${i.substr(t.attributeNamePrefix.length)}="${fm(s)}"`}return r}(n[":@"],r),s=e(n[o],r);s&&0!==s.length?i+=`<${o}${t}>${s}</${o}>`:i+=`<${o}${t}/>`}}return i}(d[g],r):e(d[g],r,p,s,n,o),-1!==r.unpairedTags.indexOf(u)?r.suppressUnpairedNode?a+=I+">":a+=I+"/>":(!c||0===c.length)&&r.suppressEmptyNode?a+=I+"/>":c&&c.endsWith(">")?a+=I+`>${c}${i}</${u}>`:(a+=I+">",c&&""!==i&&(c.includes("/>")||c.includes("</"))?a+=i+r.indentBy+c+i:a+=c,a+=`</${u}>`),A=!0,s.pop()}return a}(e,t,r,new fg,i,s)}(e,this.options);{Array.isArray(e)&&this.options.arrayNodeName&&this.options.arrayNodeName.length>1&&(e={[this.options.arrayNodeName]:e});let t=new fg,r=fS("qName",{xmlVersion:function(e,t){let r=e["?xml"];if(r&&"object"==typeof r){if(t.attributesGroupName&&r[t.attributesGroupName]){let e=r[t.attributesGroupName][t.attributeNamePrefix+"version"];if(e)return e}let e=r[t.attributeNamePrefix+"version"];if(e)return e}return"1.0"}(e,this.options)});return this.j2x(e,0,t,r).val}},fk.prototype.j2x=function(e,t,r,i){let s="",n="";if(this.options.maxNestedTags&&r.getDepth()>=this.options.maxNestedTags)throw Error("Maximum nested tags exceeded");let o=this.options.jPath?r.toString():r,a=this.checkStopNode(r);for(let A in e){if(!Object.prototype.hasOwnProperty.call(e,A))continue;let l=A===this.options.textNodeName||A===this.options.cdataPropName||A===this.options.commentPropName||this.options.attributesGroupName&&A===this.options.attributesGroupName||this.isAttribute(A)||"?"===A[0]?A:fF(A,!1,this.options,r,i);if(void 0===e[A])this.isAttribute(A)&&(n+="");else if(null===e[A])this.isAttribute(A)||l===this.options.cdataPropName||l===this.options.commentPropName?n+="":"?"===l[0]?n+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if(e[A]instanceof Date)n+=this.buildTextValNode(e[A],l,"",t,r);else if("object"!=typeof e[A]){let c=this.isAttribute(A);if(c&&!this.ignoreAttributesFn(c,o)){let t=fF(c,!0,this.options,r,i);s+=this.buildAttrPairStr(t,""+e[A],a)}else if(!c)if(A===this.options.textNodeName){let t=this.options.tagValueProcessor(A,""+e[A]);n+=this.replaceEntitiesValue(t)}else{r.push(l);let i=this.checkStopNode(r);if(r.pop(),i){let r=""+e[A];""===r?n+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:n+=this.indentate(t)+"<"+l+">"+r+"</"+l+this.tagEndChar}else n+=this.buildTextValNode(e[A],l,"",t,r)}}else if(Array.isArray(e[A])){let s=e[A].length,o="",a="";for(let c=0;c<s;c++){let s=e[A][c];if(void 0===s);else if(null===s)"?"===l[0]?n+=this.indentate(t)+"<"+l+"?"+this.tagEndChar:n+=this.indentate(t)+"<"+l+"/"+this.tagEndChar;else if("object"==typeof s)if(this.options.oneListGroup){r.push(l);let e=this.j2x(s,t+1,r,i);r.pop(),o+=e.val,this.options.attributesGroupName&&s.hasOwnProperty(this.options.attributesGroupName)&&(a+=e.attrStr)}else o+=this.processTextOrObjNode(s,l,t,r,i);else if(this.options.oneListGroup){let e=this.options.tagValueProcessor(l,s);o+=e=this.replaceEntitiesValue(e)}else{r.push(l);let e=this.checkStopNode(r);if(r.pop(),e){let e=""+s;""===e?o+=this.indentate(t)+"<"+l+this.closeTag(l)+this.tagEndChar:o+=this.indentate(t)+"<"+l+">"+e+"</"+l+this.tagEndChar}else o+=this.buildTextValNode(s,l,"",t,r)}}this.options.oneListGroup&&(o=this.buildObjectNode(o,l,a,t)),n+=o}else if(this.options.attributesGroupName&&A===this.options.attributesGroupName){let t=Object.keys(e[A]),n=t.length;for(let o=0;o<n;o++){let n=fF(t[o],!0,this.options,r,i);s+=this.buildAttrPairStr(n,""+e[A][t[o]],a)}}else n+=this.processTextOrObjNode(e[A],l,t,r,i)}return{attrStr:s,val:n}},fk.prototype.buildAttrPairStr=function(e,t,r){return(r||(t=this.options.attributeValueProcessor(e,""+t),t=this.replaceEntitiesValue(t)),this.options.suppressBooleanAttributes&&"true"===t)?" "+e:" "+e+'="'+fm(t)+'"'},fk.prototype.extractAttributes=function(e){if(!e||"object"!=typeof e)return null;let t={},r=!1;if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let i=e[this.options.attributesGroupName];for(let e in i)Object.prototype.hasOwnProperty.call(i,e)&&(t[e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e]=fm(i[e]),r=!0)}else for(let i in e){if(!Object.prototype.hasOwnProperty.call(e,i))continue;let s=this.isAttribute(i);s&&(t[s]=fm(e[i]),r=!0)}return r?t:null},fk.prototype.buildRawContent=function(e){if("string"==typeof e)return e;if("object"!=typeof e||null===e)return String(e);if(void 0!==e[this.options.textNodeName])return e[this.options.textNodeName];let t="";for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r)||this.isAttribute(r)||this.options.attributesGroupName&&r===this.options.attributesGroupName)continue;let i=e[r];if(r===this.options.textNodeName)t+=i;else if(Array.isArray(i)){for(let e of i)if("string"==typeof e||"number"==typeof e)t+=`<${r}>${e}</${r}>`;else if("object"==typeof e&&null!==e){let i=this.buildRawContent(e),s=this.buildAttributesForStopNode(e);""===i?t+=`<${r}${s}/>`:t+=`<${r}${s}>${i}</${r}>`}}else if("object"==typeof i&&null!==i){let e=this.buildRawContent(i),s=this.buildAttributesForStopNode(i);""===e?t+=`<${r}${s}/>`:t+=`<${r}${s}>${e}</${r}>`}else t+=`<${r}>${i}</${r}>`}return t},fk.prototype.buildAttributesForStopNode=function(e){if(!e||"object"!=typeof e)return"";let t="";if(this.options.attributesGroupName&&e[this.options.attributesGroupName]){let r=e[this.options.attributesGroupName];for(let e in r){if(!Object.prototype.hasOwnProperty.call(r,e))continue;let i=e.startsWith(this.options.attributeNamePrefix)?e.substring(this.options.attributeNamePrefix.length):e,s=r[e];!0===s&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+fm(s)+'"'}}else for(let r in e){if(!Object.prototype.hasOwnProperty.call(e,r))continue;let i=this.isAttribute(r);if(i){let s=e[r];!0===s&&this.options.suppressBooleanAttributes?t+=" "+i:t+=" "+i+'="'+fm(s)+'"'}}return t},fk.prototype.buildObjectNode=function(e,t,r,i){if(""===e)if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;else return this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar;{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let s="</"+t+this.tagEndChar,n="";return("?"===t[0]&&(n="?",s=""),(r||""===r)&&-1===e.indexOf("<"))?this.indentate(i)+"<"+t+r+n+">"+e+s:!1!==this.options.commentPropName&&t===this.options.commentPropName&&0===n.length?this.indentate(i)+`<!--${fu(e)}-->`+this.newLine:this.indentate(i)+"<"+t+r+n+this.tagEndChar+e+this.indentate(i)+s}},fk.prototype.closeTag=function(e){let t="";return -1!==this.options.unpairedTags.indexOf(e)?this.options.suppressUnpairedNode||(t="/"):t=this.options.suppressEmptyNode?"/":`></${e}`,t},fk.prototype.checkStopNode=function(e){if(!this.stopNodeExpressions||0===this.stopNodeExpressions.length)return!1;for(let t=0;t<this.stopNodeExpressions.length;t++)if(e.matches(this.stopNodeExpressions[t]))return!0;return!1},fk.prototype.buildTextValNode=function(e,t,r,i,s){if(!1!==this.options.cdataPropName&&t===this.options.cdataPropName){let t=fh(e);return this.indentate(i)+`<![CDATA[${t}]]>`+this.newLine}if(!1!==this.options.commentPropName&&t===this.options.commentPropName){let t=fu(e);return this.indentate(i)+`<!--${t}-->`+this.newLine}{if("?"===t[0])return this.indentate(i)+"<"+t+r+"?"+this.tagEndChar;let s=this.options.tagValueProcessor(t,e);return""===(s=this.replaceEntitiesValue(s))?this.indentate(i)+"<"+t+r+this.closeTag(t)+this.tagEndChar:this.indentate(i)+"<"+t+r+">"+s+"</"+t+this.tagEndChar}},fk.prototype.replaceEntitiesValue=function(e){if(e&&e.length>0&&this.options.processEntities)for(let t=0;t<this.options.entities.length;t++){let r=this.options.entities[t];e=e.replace(r.regex,r.val)}return e};let fL=":A-Za-z_\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD",fO=RegExp("^"+("["+fL+"]["+fL)+"\\-.\\d\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$");function fH(e,t){let r=[],i=t.exec(e);for(;i;){let s=[];s.startIndex=t.lastIndex-i[0].length;let n=i.length;for(let e=0;e<n;e++)s.push(i[e]);r.push(s),i=t.exec(e)}return r}let fP=function(e){return null!=fO.exec(e)},fY=["hasOwnProperty","toString","valueOf","__defineGetter__","__defineSetter__","__lookupGetter__","__lookupSetter__"],fG=["__proto__","constructor","prototype"],fz={allowBooleanAttributes:!1,unpairedTags:[]};function fq(e,t){t=Object.assign({},fz,t);let r=[],i=!1,s=!1;"\uFEFF"===e[0]&&(e=e.substr(1));for(let n=0;n<e.length;n++)if("<"===e[n]&&"?"===e[n+1]){if(n+=2,(n=f_(e,n)).err)return n}else if("<"===e[n]){let o=n;if("!"===e[++n]){n=fJ(e,n);continue}{let a=!1;"/"===e[n]&&(a=!0,n++);let A="";for(;n<e.length&&">"!==e[n]&&" "!==e[n]&&" "!==e[n]&&"\n"!==e[n]&&"\r"!==e[n];n++)A+=e[n];if("/"===(A=A.trim())[A.length-1]&&(A=A.substring(0,A.length-1),n--),!fP(A))return fK("InvalidTag",0===A.trim().length?"Invalid space after '<'.":"Tag '"+A+"' is an invalid name.",fX(e,n));let l=function(e,t){let r="",i="",s=!1;for(;t<e.length;t++){if('"'===e[t]||"'"===e[t])""===i?i=e[t]:i!==e[t]||(i="");else if(">"===e[t]&&""===i){s=!0;break}r+=e[t]}return""===i&&{value:r,index:t,tagClosed:s}}(e,n);if(!1===l)return fK("InvalidAttr","Attributes for '"+A+"' have open quote.",fX(e,n));let c=l.value;if(n=l.index,"/"===c[c.length-1]){let r=n-c.length,s=fj(c=c.substring(0,c.length-1),t);if(!0!==s)return fK(s.err.code,s.err.msg,fX(e,r+s.err.line));i=!0}else if(a)if(!l.tagClosed)return fK("InvalidTag","Closing tag '"+A+"' doesn't have proper closing.",fX(e,n));else{if(c.trim().length>0)return fK("InvalidTag","Closing tag '"+A+"' can't have attributes or invalid starting.",fX(e,o));if(0===r.length)return fK("InvalidTag","Closing tag '"+A+"' has not been opened.",fX(e,o));let t=r.pop();if(A!==t.tagName){let r=fX(e,t.tagStartPos);return fK("InvalidTag","Expected closing tag '"+t.tagName+"' (opened in line "+r.line+", col "+r.col+") instead of closing tag '"+A+"'.",fX(e,o))}0==r.length&&(s=!0)}else{let a=fj(c,t);if(!0!==a)return fK(a.err.code,a.err.msg,fX(e,n-c.length+a.err.line));if(!0===s)return fK("InvalidXml","Multiple possible root nodes found.",fX(e,n));-1!==t.unpairedTags.indexOf(A)||r.push({tagName:A,tagStartPos:o}),i=!0}for(n++;n<e.length;n++)if("<"===e[n])if("!"===e[n+1]){n=fJ(e,++n);continue}else if("?"===e[n+1]){if((n=f_(e,++n)).err)return n}else break;else if("&"===e[n]){let t=function(e,t){if(";"===e[++t])return -1;if("#"===e[t]){var r=++t;let i=/\d/;for("x"===e[r]&&(r++,i=/[\da-fA-F]/);r<e.length;r++){if(";"===e[r])return r;if(!e[r].match(i))break}return -1}let i=0;for(;t<e.length;t++,i++)if(!e[t].match(/\w/)||!(i<20)){if(";"===e[t])break;return -1}return t}(e,n);if(-1==t)return fK("InvalidChar","char '&' is not expected.",fX(e,n));n=t}else if(!0===s&&!fV(e[n]))return fK("InvalidXml","Extra text at the end",fX(e,n));"<"===e[n]&&n--}}else{if(fV(e[n]))continue;return fK("InvalidChar","char '"+e[n]+"' is not expected.",fX(e,n))}return i?1==r.length?fK("InvalidTag","Unclosed tag '"+r[0].tagName+"'.",fX(e,r[0].tagStartPos)):!(r.length>0)||fK("InvalidXml","Invalid '"+JSON.stringify(r.map(e=>e.tagName),null,4).replace(/\r?\n/g,"")+"' found.",{line:1,col:1}):fK("InvalidXml","Start tag expected.",1)}function fV(e){return" "===e||" "===e||"\n"===e||"\r"===e}function f_(e,t){let r=t;for(;t<e.length;t++)if("?"==e[t]||" "==e[t]){let i=e.substr(r,t-r);if(t>5&&"xml"===i)return fK("InvalidXml","XML declaration allowed only at the start of the document.",fX(e,t));if("?"!=e[t]||">"!=e[t+1])continue;t++;break}return t}function fJ(e,t){if(e.length>t+5&&"-"===e[t+1]&&"-"===e[t+2]){for(t+=3;t<e.length;t++)if("-"===e[t]&&"-"===e[t+1]&&">"===e[t+2]){t+=2;break}}else if(e.length>t+8&&"D"===e[t+1]&&"O"===e[t+2]&&"C"===e[t+3]&&"T"===e[t+4]&&"Y"===e[t+5]&&"P"===e[t+6]&&"E"===e[t+7]){let r=1;for(t+=8;t<e.length;t++)if("<"===e[t])r++;else if(">"===e[t]&&0==--r)break}else if(e.length>t+9&&"["===e[t+1]&&"C"===e[t+2]&&"D"===e[t+3]&&"A"===e[t+4]&&"T"===e[t+5]&&"A"===e[t+6]&&"["===e[t+7]){for(t+=8;t<e.length;t++)if("]"===e[t]&&"]"===e[t+1]&&">"===e[t+2]){t+=2;break}}return t}let fW=RegExp("(\\s*)([^\\s=]+)(\\s*=)?(\\s*(['\"])(([\\s\\S])*?)\\5)?","g");function fj(e,t){let r=fH(e,fW),i={};for(let e=0;e<r.length;e++){if(0===r[e][1].length)return fK("InvalidAttr","Attribute '"+r[e][2]+"' has no space in starting.",fZ(r[e]));if(void 0!==r[e][3]&&void 0===r[e][4])return fK("InvalidAttr","Attribute '"+r[e][2]+"' is without value.",fZ(r[e]));if(void 0===r[e][3]&&!t.allowBooleanAttributes)return fK("InvalidAttr","boolean attribute '"+r[e][2]+"' is not allowed.",fZ(r[e]));let s=r[e][2];if(!fP(s))return fK("InvalidAttr","Attribute '"+s+"' is an invalid name.",fZ(r[e]));if(Object.prototype.hasOwnProperty.call(i,s))return fK("InvalidAttr","Attribute '"+s+"' is repeated.",fZ(r[e]));i[s]=1}return!0}function fK(e,t,r){return{err:{code:e,msg:t,line:r.line||r,col:r.col}}}function fX(e,t){let r=e.substring(0,t).split(/\r?\n/);return{line:r.length,col:r[r.length-1].length+1}}function fZ(e){return e.startIndex+e[1].length}let f$=e=>fY.includes(e)?"__"+e:e,f0={preserveOrder:!1,attributeNamePrefix:"@_",attributesGroupName:!1,textNodeName:"#text",ignoreAttributes:!0,removeNSPrefix:!1,allowBooleanAttributes:!1,parseTagValue:!0,parseAttributeValue:!1,trimValues:!0,cdataPropName:!1,numberParseOptions:{hex:!0,leadingZeros:!0,eNotation:!0,unicode:!1},tagValueProcessor:function(e,t){return t},attributeValueProcessor:function(e,t){return t},stopNodes:[],alwaysCreateTextNode:!1,isArray:()=>!1,commentPropName:!1,unpairedTags:[],processEntities:!0,htmlEntities:!1,entityDecoder:null,ignoreDeclaration:!1,ignorePiTags:!1,transformTagName:!1,transformAttributeName:!1,updateTag:function(e,t,r){return e},captureMetaData:!1,maxNestedTags:100,strictReservedNames:!0,jPath:!0,onDangerousProperty:f$},f1=function(e){let t=Object.assign({},f0,e);for(let{value:e,name:r}of[{value:t.attributeNamePrefix,name:"attributeNamePrefix"},{value:t.attributesGroupName,name:"attributesGroupName"},{value:t.textNodeName,name:"textNodeName"},{value:t.cdataPropName,name:"cdataPropName"},{value:t.commentPropName,name:"commentPropName"}])e&&function(e,t){if("string"!=typeof e)return;let r=e.toLowerCase();if(fY.some(e=>r===e.toLowerCase())||fG.some(e=>r===e.toLowerCase()))throw Error(`[SECURITY] Invalid ${t}: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`)}(e,r);return null===t.onDangerousProperty&&(t.onDangerousProperty=f$),t.processEntities=function e(t,r){return"boolean"==typeof t?{enabled:t,maxEntitySize:1e4,maxExpansionDepth:1e4,maxTotalExpansions:1/0,maxExpandedLength:1e5,maxEntityCount:1e3,allowedTags:null,tagFilter:null,appliesTo:"all"}:"object"==typeof t&&null!==t?{enabled:!1!==t.enabled,maxEntitySize:Math.max(1,t.maxEntitySize??1e4),maxExpansionDepth:Math.max(1,t.maxExpansionDepth??1e4),maxTotalExpansions:Math.max(1,t.maxTotalExpansions??1/0),maxExpandedLength:Math.max(1,t.maxExpandedLength??1e5),maxEntityCount:Math.max(1,t.maxEntityCount??1e3),allowedTags:t.allowedTags??null,tagFilter:t.tagFilter??null,appliesTo:t.appliesTo??"all"}:e(!0)}(t.processEntities,t.htmlEntities),t.unpairedTagsSet=new Set(t.unpairedTags),t.stopNodes&&Array.isArray(t.stopNodes)&&(t.stopNodes=t.stopNodes.map(e=>"string"==typeof e&&e.startsWith("*.")?".."+e.substring(2):e)),t};r="function"!=typeof Symbol?"@@xmlMetadata":Symbol("XML Node Metadata");class f2{constructor(e){this.tagname=e,this.child=[],this[":@"]=Object.create(null)}add(e,t){"__proto__"===e&&(e="#__proto__"),this.child.push({[e]:t})}addChild(e,t){"__proto__"===e.tagname&&(e.tagname="#__proto__"),e[":@"]&&Object.keys(e[":@"]).length>0?this.child.push({[e.tagname]:e.child,":@":e[":@"]}):this.child.push({[e.tagname]:e.child}),void 0!==t&&(this.child[this.child.length-1][r]={startIndex:t})}static getMetaDataSymbol(){return r}}class f3{constructor(e,t){this.suppressValidationErr=!e,this.options=e,this.xmlVersion=t||1}setXmlVersion(e=1){this.xmlVersion=e}readDocType(e,t){let r=Object.create(null),i=0;if("O"===e[t+3]&&"C"===e[t+4]&&"T"===e[t+5]&&"Y"===e[t+6]&&"P"===e[t+7]&&"E"===e[t+8]){t+=9;let s=1,n=!1,o=!1;for(;t<e.length;t++)if("<"!==e[t]||o)if(">"===e[t]){if(o?"-"===e[t-1]&&"-"===e[t-2]&&(o=!1,s--):s--,0===s)break}else"["===e[t]?n=!0:e[t];else{if(n&&f4(e,"!ENTITY",t)){let s,n;if(t+=7,[s,n,t]=this.readEntityExp(e,t+1,this.suppressValidationErr),-1===n.indexOf("&")){if(!1!==this.options.enabled&&null!=this.options.maxEntityCount&&i>=this.options.maxEntityCount)throw Error(`Entity count (${i+1}) exceeds maximum allowed (${this.options.maxEntityCount})`);r[s]=n,i++}}else if(n&&f4(e,"!ELEMENT",t)){t+=8;let{index:r}=this.readElementExp(e,t+1);t=r}else if(n&&f4(e,"!ATTLIST",t))t+=8;else if(n&&f4(e,"!NOTATION",t)){t+=9;let{index:r}=this.readNotationExp(e,t+1,this.suppressValidationErr);t=r}else if(f4(e,"!--",t))o=!0;else throw Error("Invalid DOCTYPE");s++}if(0!==s)throw Error("Unclosed DOCTYPE")}else throw Error("Invalid Tag instead of DOCTYPE");return{entities:r,i:t}}readEntityExp(e,t){let r=t=f5(e,t);for(;t<e.length&&!/\s/.test(e[t])&&'"'!==e[t]&&"'"!==e[t];)t++;let i=e.substring(r,t);if(f8(i,{xmlVersion:this.xmlVersion}),t=f5(e,t),!this.suppressValidationErr){if("SYSTEM"===e.substring(t,t+6).toUpperCase())throw Error("External entities are not supported");else if("%"===e[t])throw Error("Parameter entities are not supported")}let s="";if([t,s]=this.readIdentifierVal(e,t,"entity"),!1!==this.options.enabled&&null!=this.options.maxEntitySize&&s.length>this.options.maxEntitySize)throw Error(`Entity "${i}" size (${s.length}) exceeds maximum allowed size (${this.options.maxEntitySize})`);return[i,s,--t]}readNotationExp(e,t){let r=t=f5(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);this.suppressValidationErr||f8(i,{xmlVersion:this.xmlVersion}),t=f5(e,t);let s=e.substring(t,t+6).toUpperCase();if(!this.suppressValidationErr&&"SYSTEM"!==s&&"PUBLIC"!==s)throw Error(`Expected SYSTEM or PUBLIC, found "${s}"`);t+=s.length,t=f5(e,t);let n=null,o=null;if("PUBLIC"===s)[t,n]=this.readIdentifierVal(e,t,"publicIdentifier"),t=f5(e,t),('"'===e[t]||"'"===e[t])&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"));else if("SYSTEM"===s&&([t,o]=this.readIdentifierVal(e,t,"systemIdentifier"),!this.suppressValidationErr&&!o))throw Error("Missing mandatory system identifier for SYSTEM notation");return{notationName:i,publicIdentifier:n,systemIdentifier:o,index:--t}}readIdentifierVal(e,t,r){let i="",s=e[t];if('"'!==s&&"'"!==s)throw Error(`Expected quoted string, found "${s}"`);let n=++t;for(;t<e.length&&e[t]!==s;)t++;if(i=e.substring(n,t),e[t]!==s)throw Error(`Unterminated ${r} value`);return[++t,i]}readElementExp(e,t){let r=t=f5(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);if(!this.suppressValidationErr&&!fN(i,{xmlVersion:this.xmlVersion}))throw Error(`Invalid element name: "${i}"`);t=f5(e,t);let s="";if("E"===e[t]&&f4(e,"MPTY",t))t+=4;else if("A"===e[t]&&f4(e,"NY",t))t+=2;else if("("===e[t]){let r=++t;for(;t<e.length&&")"!==e[t];)t++;if(s=e.substring(r,t),")"!==e[t])throw Error("Unterminated content model")}else if(!this.suppressValidationErr)throw Error(`Invalid Element Expression, found "${e[t]}"`);return{elementName:i,contentModel:s.trim(),index:t}}readAttlistExp(e,t){let r=t=f5(e,t);for(;t<e.length&&!/\s/.test(e[t]);)t++;let i=e.substring(r,t);for(f8(i,{xmlVersion:this.xmlVersion}),r=t=f5(e,t);t<e.length&&!/\s/.test(e[t]);)t++;let s=e.substring(r,t);if(!f8(s,{xmlVersion:this.xmlVersion}))throw Error(`Invalid attribute name: "${s}"`);t=f5(e,t);let n="";if("NOTATION"===e.substring(t,t+8).toUpperCase()){if(n="NOTATION",t+=8,t=f5(e,t),"("!==e[t])throw Error(`Expected '(', found "${e[t]}"`);t++;let r=[];for(;t<e.length&&")"!==e[t];){let i=t;for(;t<e.length&&"|"!==e[t]&&")"!==e[t];)t++;let s=e.substring(i,t);if(!f8(s=s.trim(),{xmlVersion:this.xmlVersion}))throw Error(`Invalid notation name: "${s}"`);r.push(s),"|"===e[t]&&(t=f5(e,++t))}if(")"!==e[t])throw Error("Unterminated list of notations");t++,n+=" ("+r.join("|")+")"}else{let r=t;for(;t<e.length&&!/\s/.test(e[t]);)t++;if(n+=e.substring(r,t),!this.suppressValidationErr&&!["CDATA","ID","IDREF","IDREFS","ENTITY","ENTITIES","NMTOKEN","NMTOKENS"].includes(n.toUpperCase()))throw Error(`Invalid attribute type: "${n}"`)}t=f5(e,t);let o="";return"#REQUIRED"===e.substring(t,t+8).toUpperCase()?(o="#REQUIRED",t+=8):"#IMPLIED"===e.substring(t,t+7).toUpperCase()?(o="#IMPLIED",t+=7):[t,o]=this.readIdentifierVal(e,t,"ATTLIST"),{elementName:i,attributeName:s,attributeType:n,defaultValue:o,index:t}}}let f5=(e,t)=>{for(;t<e.length&&/\s/.test(e[t]);)t++;return t};function f4(e,t,r){for(let i=0;i<t.length;i++)if(t[i]!==e[r+i+1])return!1;return!0}function f8(e,t){if(fN(e,{xmlVersion:t}))return e;throw Error(`Invalid entity name ${e}`)}let f9=new Map,f6=new Uint8Array(63904).fill(255);for(let e of[48,1632,1776,2406,2534,2662,2790,2918,3046,3174,3302,3430,3558,3664,3792,3872,4160,4240,6112,6160,6470,6608,6784,6800,6992,7088,7232,7248,65296,120782,120792,120802,120812,120822,66720,68912,69734,69872,69942,70096,70384,70736,70864,71248,71360,71472,71904,72016,72688,72784,73040,73120,73552,92768,92864,93008,123200,123632,124144,125264,130032])for(let t=0;t<10;t++){let r=e+t;r<=65535?f6[r-1632]=t:f9.set(r,t)}let f7=new Set([8722,65293,65123]),Ee=function(e){if("string"!=typeof e)return e;let t=e.length;if(0===t)return e;let r=-1;for(let i=0;i<t;i++){let s=e.charCodeAt(i);if((!(s>=48)||!(s<=57))&&45!==s){if(s<1632){if(f7.has(s)){r=i;break}continue}if(s>=55296&&s<=56319){if(i+1<t){let t=e.charCodeAt(i+1);if(t>=56320&&t<=57343){let e=65536+(s-55296<<10)+(t-56320);if(f9.has(e)){r=i;break}}}continue}if(255!==f6[s-1632]||f7.has(s)){r=i;break}}}if(-1===r)return e;let i=[];r>0&&i.push(e.slice(0,r));for(let s=r;s<t;s++){let r=e.charCodeAt(s);if(r>=48&&r<=57||45===r){i.push(e[s]);continue}if(r<1632){i.push(f7.has(r)?"-":e[s]);continue}if(r>=55296&&r<=56319){if(s+1<t){let t=e.charCodeAt(s+1);if(t>=56320&&t<=57343){let e=65536+(r-55296<<10)+(t-56320),n=f9.get(e);if(void 0!==n){i.push(String.fromCharCode(n+48)),s++;continue}}}i.push(e[s]);continue}if(f7.has(r)){i.push("-");continue}let n=f6[r-1632];i.push(255!==n?String.fromCharCode(n+48):e[s])}return i.join("")},Et=/^[-+]?0x[a-fA-F0-9]+$/,Er=/^0b[01]+$/,Ei=/^0o[0-7]+$/,Es=/^([\-\+])?(0*)([0-9]*(\.[0-9]*)?)$/,En={hex:!0,binary:!1,octal:!1,leadingZeros:!0,decimalPoint:".",eNotation:!0,infinity:"original",unicode:!1},Eo=/^([-+])?(0*)(\d*(\.\d*)?[eE][-\+]?\d+)$/;function Ea(e,t){let r=e.trim();if((2===t||8===t)&&(e=r.substring(2)),parseInt)return parseInt(e,t);if(Number.parseInt)return Number.parseInt(e,t);if(window&&window.parseInt)return window.parseInt(e,t);throw Error("parseInt, Number.parseInt, window.parseInt are not supported")}class EA{constructor(){this._byDepthAndTag=new Map,this._wildcardByDepth=new Map,this._deepWildcards=[],this._deepByTerminalTag=new Map,this._patterns=new Set,this._sealed=!1}add(e){if(this._sealed)throw TypeError("ExpressionSet is sealed. Create a new ExpressionSet to add more expressions.");if(this._patterns.has(e.pattern))return this;if(this._patterns.add(e.pattern),e.hasDeepWildcard()){let t=e.segments[e.segments.length-1];if(t&&"deep-wildcard"!==t.type&&"*"!==t.tag){let r=t.tag;this._deepByTerminalTag.has(r)||this._deepByTerminalTag.set(r,[]),this._deepByTerminalTag.get(r).push(e)}else this._deepWildcards.push(e);return this}let t=e.length,r=e.segments[e.segments.length-1],i=r?.tag;if(i&&"*"!==i){let r=`${t}:${i}`;this._byDepthAndTag.has(r)||this._byDepthAndTag.set(r,[]),this._byDepthAndTag.get(r).push(e)}else this._wildcardByDepth.has(t)||this._wildcardByDepth.set(t,[]),this._wildcardByDepth.get(t).push(e);return this}addAll(e){for(let t of e)this.add(t);return this}has(e){return this._patterns.has(e.pattern)}get size(){return this._patterns.size}seal(){return this._sealed=!0,this}get isSealed(){return this._sealed}matchesAny(e){return null!==this.findMatch(e)}findMatch(e){let t=e.getDepth(),r=e.getCurrentTag(),i=`${t}:${r}`,s=this._byDepthAndTag.get(i);if(s){for(let t=0;t<s.length;t++)if(e.matches(s[t]))return s[t]}let n=this._wildcardByDepth.get(t);if(n){for(let t=0;t<n.length;t++)if(e.matches(n[t]))return n[t]}let o=this._deepByTerminalTag.get(r);if(o){for(let t=0;t<o.length;t++)if(e.matches(o[t]))return o[t]}for(let t=0;t<this._deepWildcards.length;t++)if(e.matches(this._deepWildcards[t]))return this._deepWildcards[t];return null}}let El={cent:"\xa2",pound:"\xa3",curren:"\xa4",yen:"\xa5",euro:"€",dollar:"$",fnof:"ƒ",inr:"₹",af:"؋",birr:"ብር",peso:"₱",rub:"₽",won:"₩",yuan:"\xa5",cedil:"\xb8"},Ec={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'},Ed={nbsp:"\xa0",copy:"\xa9",reg:"\xae",trade:"™",mdash:"—",ndash:"–",hellip:"…",laquo:"\xab",raquo:"\xbb",lsquo:"‘",rsquo:"’",ldquo:"“",rdquo:"”",bull:"•",para:"\xb6",sect:"\xa7",deg:"\xb0",frac12:"\xbd",frac14:"\xbc",frac34:"\xbe"},Eg=Object.freeze({ALLOW:"allow",BLOCK:"block",THROW:"throw"}),Eu=new Set("!?\\\\/[]$%{}^&*()<>|+");function Eh(e){if("#"===e[0])throw Error(`[EntityReplacer] Invalid character '#' in entity name: "${e}"`);for(let t of e)if(Eu.has(t))throw Error(`[EntityReplacer] Invalid character '${t}' in entity name: "${e}"`);return e}function Em(...e){let t=Object.create(null);for(let r of e)if(r)for(let e of Object.keys(r)){let i=r[e];if("string"==typeof i)t[e]=i;else if(i&&"object"==typeof i&&void 0!==i.val){let r=i.val;"string"==typeof r&&(t[e]=r)}}return t}let Ep="external",EC="base",EI=Object.freeze({allow:0,leave:1,remove:2,throw:3}),Ef=new Set([9,10,13]);class EE{constructor(e={}){var t;this._limit=e.limit||{},this._maxTotalExpansions=this._limit.maxTotalExpansions||0,this._maxExpandedLength=this._limit.maxExpandedLength||0,this._postCheck="function"==typeof e.postCheck?e.postCheck:e=>e,this._limitTiers=new Set((t=this._limit.applyLimitsTo??Ep)&&t!==Ep?"all"===t?["all"]:t===EC?[EC]:Array.isArray(t)?t:[Ep]:[Ep]),this._numericAllowed=e.numericAllowed??!0,this._baseMap=Em(Ec,e.namedEntities||null),this._externalMap=Object.create(null),this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this._removeSet=new Set(e.remove&&Array.isArray(e.remove)?e.remove:[]),this._leaveSet=new Set(e.leave&&Array.isArray(e.leave)?e.leave:[]);let r=function(e){if(!e)return{xmlVersion:1,onLevel:EI.allow,nullLevel:EI.remove};let t=1.1===e.xmlVersion?1.1:1;return{xmlVersion:t,onLevel:EI[e.onNCR]??EI.allow,nullLevel:Math.max(EI[e.nullNCR]??EI.remove,EI.remove)}}(e.ncr);this._ncrXmlVersion=r.xmlVersion,this._ncrOnLevel=r.onLevel,this._ncrNullLevel=r.nullLevel,this._onExternalEntity="function"==typeof e.onExternalEntity?e.onExternalEntity:null,this._onInputEntity="function"==typeof e.onInputEntity?e.onInputEntity:null}_applyRegistrationHook(e,t,r,i){if(!e)return!0;let s=e(t,r);if(s===Eg.BLOCK)return!1;if(s===Eg.THROW)throw Error(`[EntityDecoder] Registration of ${i} entity "&${t};" was rejected by hook`);return!0}setExternalEntities(e){if(e)for(let t of Object.keys(e))Eh(t);if(!this._onExternalEntity){this._externalMap=Em(e);return}let t=Em(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onExternalEntity,e,i,"external")&&(r[e]=i);this._externalMap=r}addExternalEntity(e,t){Eh(e),"string"==typeof t&&-1===t.indexOf("&")&&this._applyRegistrationHook(this._onExternalEntity,e,t,"external")&&(this._externalMap[e]=t)}addInputEntities(e){if(this._totalExpansions=0,this._expandedLength=0,!this._onInputEntity){this._inputMap=Em(e);return}let t=Em(e),r=Object.create(null);for(let[e,i]of Object.entries(t))this._applyRegistrationHook(this._onInputEntity,e,i,"input")&&(r[e]=i);this._inputMap=r}reset(){return this._inputMap=Object.create(null),this._totalExpansions=0,this._expandedLength=0,this}setXmlVersion(e){this._ncrXmlVersion=1.1===e?1.1:1}decode(e){if("string"!=typeof e||0===e.length||-1===e.indexOf("&"))return e;let t=[],r=e.length,i=0,s=0,n=this._maxTotalExpansions>0,o=this._maxExpandedLength>0,a=n||o;for(;s<r;){let A,l;if(38!==e.charCodeAt(s)){s++;continue}let c=s+1;for(;c<r&&59!==e.charCodeAt(c)&&c-s<=32;)c++;if(c>=r||59!==e.charCodeAt(c)){s++;continue}let d=e.slice(s+1,c);if(0===d.length){s++;continue}if(this._removeSet.has(d))A="",void 0===l&&(l=Ep);else if(this._leaveSet.has(d)){s++;continue}else if(35===d.charCodeAt(0)){let e=this._resolveNCR(d);if(void 0===e){s++;continue}A=e,l=EC}else{let e=this._resolveName(d);A=e?.value,l=e?.tier}if(void 0===A){s++;continue}if(s>i&&t.push(e.slice(i,s)),t.push(A),s=i=c+1,a&&this._tierCounts(l)){if(n&&(this._totalExpansions++,this._totalExpansions>this._maxTotalExpansions))throw Error(`[EntityReplacer] Entity expansion count limit exceeded: ${this._totalExpansions} > ${this._maxTotalExpansions}`);if(o){let e=A.length-(d.length+2);if(e>0&&(this._expandedLength+=e,this._expandedLength>this._maxExpandedLength))throw Error(`[EntityReplacer] Expanded content length limit exceeded: ${this._expandedLength} > ${this._maxExpandedLength}`)}}}i<r&&t.push(e.slice(i));let A=0===t.length?e:t.join("");return this._postCheck(A,e)}_tierCounts(e){return!!this._limitTiers.has("all")||this._limitTiers.has(e)}_resolveName(e){return e in this._inputMap?{value:this._inputMap[e],tier:Ep}:e in this._externalMap?{value:this._externalMap[e],tier:Ep}:e in this._baseMap?{value:this._baseMap[e],tier:EC}:void 0}_classifyNCR(e){return 0===e?this._ncrNullLevel:e>=55296&&e<=57343||1===this._ncrXmlVersion&&e>=1&&e<=31&&!Ef.has(e)?EI.remove:-1}_applyNCRAction(e,t,r){switch(e){case EI.allow:return String.fromCodePoint(r);case EI.remove:return"";case EI.leave:return;case EI.throw:throw Error(`[EntityDecoder] Prohibited numeric character reference &${t}; (U+${r.toString(16).toUpperCase().padStart(4,"0")})`);default:return String.fromCodePoint(r)}}_resolveNCR(e){let t,r=e.charCodeAt(1);if(Number.isNaN(t=120===r||88===r?parseInt(e.slice(2),16):parseInt(e.slice(1),10))||t<0||t>1114111)return;let i=this._classifyNCR(t);if(!this._numericAllowed&&i<EI.remove)return;let s=-1===i?this._ncrOnLevel:Math.max(this._ncrOnLevel,i);return this._applyNCRAction(s,e,t)}}let EB=[{id:"sql-block-comment-open",description:"SQL block comment open: /* ... */ — unusual in legitimate user text",pattern:/\/\*/},{id:"sql-union-select",description:"UNION SELECT — most common SQL injection aggregation attack",pattern:/\bUNION\s{1,20}(?:ALL\s{1,20})?SELECT\b/i},{id:"sql-drop-table",description:"DROP TABLE — destructive DDL injection",pattern:/\bDROP\s{1,20}TABLE\b/i},{id:"sql-drop-database",description:"DROP DATABASE — destructive DDL injection",pattern:/\bDROP\s{1,20}DATABASE\b/i},{id:"sql-insert-into",description:"INSERT INTO — data injection",pattern:/\bINSERT\s{1,20}INTO\b/i},{id:"sql-delete-from",description:"DELETE FROM — data deletion injection",pattern:/\bDELETE\s{1,20}FROM\b/i},{id:"sql-update-set",description:"UPDATE ... SET — data modification injection",pattern:/\bUPDATE\b[\s\S]{1,60}\bSET\b/i},{id:"sql-exec-xp",description:"EXEC xp_ — MSSQL extended stored procedure execution",pattern:/\bEXEC(?:UTE)?\s{1,20}xp_/i},{id:"sql-tautology-string",description:'Classic string tautology: \' OR \'1\'=\'1 or " OR "1"="1"',pattern:/'\s{0,10}OR\s{0,10}'[^']{0,20}'\s*=\s*'[^']{0,20}/i},{id:"sql-tautology-numeric",description:"Numeric tautology: OR 1=1",pattern:/\bOR\s{1,10}1\s*=\s*1\b/i},{id:"sql-always-true-zero",description:"Numeric tautology: OR 0=0",pattern:/\bOR\s{1,10}0\s*=\s*0\b/i},{id:"sql-sleep-benchmark",description:"Time-based blind injection: SLEEP() or BENCHMARK()",pattern:/\b(?:SLEEP|BENCHMARK)\s*\(/i},{id:"sql-waitfor-delay",description:"MSSQL time-based blind injection: WAITFOR DELAY",pattern:/\bWAITFOR\s{1,20}DELAY\b/i},{id:"sql-char-function",description:"CHAR() function — used to obfuscate injected strings",pattern:/\bCHAR\s*\(\s*\d{1,3}/i},{id:"sql-information-schema",description:"INFORMATION_SCHEMA — reconnaissance query for table/column enumeration",pattern:/\bINFORMATION_SCHEMA\b/i}],Ey=[...EB,{id:"sql-line-comment",description:"SQL line comment: -- followed by whitespace or end of string",pattern:/--(?:\s|$)/},{id:"sql-stacked-query",description:"Stacked queries: semicolon immediately followed by a SQL keyword",pattern:/;\s{0,10}(?:SELECT|INSERT|UPDATE|DELETE|DROP|CREATE|ALTER|EXEC)\b/i},{id:"sql-hex-encoding",description:"Hex-encoded string injection: 0x41414141 style (MySQL)",pattern:/\b0x[0-9a-f]{4,}/i}],EQ=[{id:"html-script-open",description:"<script opening tag",pattern:/<script[\s>/]/i},{id:"html-script-close",description:"<\/script closing tag",pattern:/<\/script[\s>]/i},{id:"html-javascript-protocol",description:"javascript: URI scheme (with optional whitespace/encoding)",pattern:/j[\t\n\r ]*a[\t\n\r ]*v[\t\n\r ]*a[\t\n\r ]*s[\t\n\r ]*c[\t\n\r ]*r[\t\n\r ]*i[\t\n\r ]*p[\t\n\r ]*t[\t\n\r ]*:/i},{id:"html-vbscript-protocol",description:"vbscript: URI scheme",pattern:/vbscript[\t\n\r ]*:/i},{id:"html-data-html",description:"data:text/html URI — can execute scripts in browsers",pattern:/data[\t\n\r ]*:[\t\n\r ]*text\/html/i},{id:"html-data-xhtml",description:"data:application/xhtml+xml URI",pattern:/data[\t\n\r ]*:[\t\n\r ]*application\/xhtml/i},{id:"html-data-svg",description:"data:image/svg+xml URI — can execute scripts",pattern:/data[\t\n\r ]*:[\t\n\r ]*image\/svg\+xml/i},{id:"html-inline-event-handler",description:"Inline event handler attributes: onclick=, onerror=, onload=, etc.",pattern:/\bon\w{1,30}\s*=/i},{id:"html-entity-obfuscated-script",description:"HTML-entity-encoded <script (e.g. &#x3C;script or &lt;script)",pattern:/(?:&#x0*3[Cc];?|&#0*60;?|&lt;)\s*script/i},{id:"html-entity-obfuscated-javascript",description:'HTML-entity-encoded javascript: (partial — catches common &#106; or &#x6a; for "j")',pattern:/(?:&#x0*6[Aa];?|&#0*106;?)\s*(?:&#x0*61;?|a)[\s\S]{0,80}script\s*:/i},{id:"html-style-expression",description:"CSS expression() — IE-era code execution in style attributes",pattern:/style[\s\S]{0,20}expression\s*\(/i},{id:"html-object-embed",description:"<object or <embed tags that can load active content",pattern:/<(?:object|embed)[\s>/]/i},{id:"html-base-tag",description:"<base href= — can hijack all relative URLs on a page",pattern:/<base[\s>]/i},{id:"html-meta-refresh",description:'<meta http-equiv="refresh" — can redirect users',pattern:/<meta[\s\S]{0,40}http-equiv[\s\S]{0,20}refresh/i},{id:"html-srcdoc",description:"srcdoc= attribute on iframes — embeds HTML that can run scripts",pattern:/srcdoc\s*=/i},{id:"html-iframe",description:"<iframe tag",pattern:/<iframe[\s>/]/i},{id:"html-form",description:"<form tag — can be used for phishing / credential harvesting injection",pattern:/<form[\s>/]/i}],EN=[{id:"xml-cdata-injection",description:"CDATA section injection: <![CDATA[ breaks out of text node context",pattern:/<!\[CDATA\[/i},{id:"xml-cdata-close",description:"CDATA close sequence: ]]> can terminate an enclosing CDATA section",pattern:/\]\]>/},{id:"xml-processing-instruction",description:"XML processing instruction: <?xml-stylesheet or <?php etc.",pattern:/<\?(?:xml[\- ]|php|asp)/i},{id:"xml-doctype-injection",description:"DOCTYPE declaration embedded in content — can define entities",pattern:/<!DOCTYPE(?:[\s[]|$)/i},{id:"xml-entity-system",description:"SYSTEM keyword — used in external entity declarations (XXE)",pattern:/\bSYSTEM\s+["']/i},{id:"xml-entity-public",description:"PUBLIC keyword — used in external entity declarations (XXE)",pattern:/\bPUBLIC\s+["']/i},{id:"xml-entity-declaration",description:"<!ENTITY declaration — defines entities, potential XXE or entity expansion",pattern:/<!ENTITY[\s%]/i},{id:"xml-billion-laughs",description:"Entity reference chaining / billion laughs: repeated &eX; style references",pattern:/(?:&\w{1,20};){3,}/},{id:"xml-namespace-confusion",description:"xmlns: attribute injection — can redefine namespaces to confuse parsers",pattern:/\bxmlns\s*(?::\w{1,40})?\s*=/i},{id:"xml-comment-injection",description:"\x3c!-- comment injection — can hide content from some parsers",pattern:/<!--/},{id:"xml-comment-close",description:"--\x3e closes an enclosing XML comment",pattern:/-->/},{id:"xml-pi-close",description:"?> closes an enclosing processing instruction",pattern:/\?>/}],Eb=[{id:"svg-script-element",description:"<script element inside SVG executes JavaScript",pattern:/<script[\s>/]/i},{id:"svg-xlink-href-javascript",description:"xlink:href with javascript: — classic SVG XSS via <a> or <use>",pattern:/xlink\s*:\s*href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-href-javascript",description:"href= with javascript: in SVG context (<a>, <animate>, etc.)",pattern:/href\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-foreignobject",description:"<foreignObject embeds HTML inside SVG — can execute scripts",pattern:/<foreignObject[\s>/]/i},{id:"svg-use-external",description:"<use xlink:href or href pointing to external resource (non-fragment URL)",pattern:/<use[\s\S]{0,60}(?:xlink\s*:\s*)?href\s*=\s*(?:["'][^#]|[^"'#\s>])/i},{id:"svg-animate-href",description:'<animate attributeName="href" — can dynamically change href to javascript:',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*href["']/i},{id:"svg-animate-xlinkhref",description:'<animate attributeName="xlink:href"',pattern:/<animate[\s\S]{0,80}attributeName\s*=\s*["'][\s]*xlink\s*:\s*href["']/i},{id:"svg-set-javascript",description:'<set to="javascript:..." — sets an attribute to a javascript: URI',pattern:/<set[\s\S]{0,80}to\s*=\s*["']?\s*javascript\s*:/i},{id:"svg-event-handler",description:"SVG-specific event handler attributes: onload=, onerror=, onactivate=, etc.",pattern:/\bon(?:load|error|activate|begin|end|repeat|focus|blur|click|mouse\w{1,20}|key\w{1,20})\s*=/i},{id:"svg-handler-generic",description:"Generic on* handler catch-all for SVG attributes",pattern:/\bon\w{1,30}\s*=/i},{id:"svg-filter-feimage",description:"<feImage href= — filter primitive that can load external resources",pattern:/<feImage[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=/i},{id:"svg-image-external",description:"<image xlink:href with http/https or javascript protocol",pattern:/<image[\s\S]{0,80}(?:xlink\s*:\s*)?href\s*=\s*["']?\s*(?:https?|javascript)\s*:/i},{id:"svg-style-javascript",description:"style= attribute containing javascript: (e.g. background:url(javascript:...))",pattern:/style\s*=[\s\S]{0,60}javascript\s*:/i}],ES=[{id:"shell-path-traversal-unix",description:"Unix path traversal: ../ — climbing the directory tree",pattern:/\.\.\//},{id:"shell-path-traversal-windows",description:"Windows path traversal: ..\\ — climbing the directory tree",pattern:/\.\.\\/},{id:"shell-path-traversal-encoded",description:"URL-encoded path traversal: %2e%2e or %2f variants",pattern:/%2e%2e|%2f\.\.|\.\.%2f/i},{id:"shell-null-byte",description:"Null byte injection: \\x00 or %00 — truncates strings in C-backed functions",pattern:/\x00|%00/},{id:"shell-semicolon",description:"Semicolon command separator: cmd1; cmd2",pattern:/;/},{id:"shell-pipe",description:"Pipe operator: cmd1 | cmd2",pattern:/\|/},{id:"shell-and-operator",description:"AND operator: cmd1 && cmd2",pattern:/&&/},{id:"shell-or-operator",description:"OR operator: cmd1 || cmd2",pattern:/\|\|/},{id:"shell-backtick",description:"Backtick command substitution: `cmd`",pattern:/`/},{id:"shell-dollar-paren",description:"Dollar-paren command substitution: $(cmd)",pattern:/\$\(/},{id:"shell-dollar-brace",description:"Dollar-brace variable expansion: ${var} — can be abused for injection",pattern:/\$\{/},{id:"shell-redirect-out",description:"Output redirection: cmd > file or cmd >> file",pattern:/>{1,2}/},{id:"shell-redirect-in",description:"Input redirection: cmd < file",pattern:/</},{id:"shell-newline-injection",description:"Newline injection: \\n or \\r — can inject new shell commands",pattern:/[\n\r]/},{id:"shell-glob-star",description:"Glob expansion: * or ? — can expand to unintended files",pattern:/[/\\][*?]/},{id:"shell-absolute-root",description:"Absolute root path injection: string starting with / or \\ (Windows UNC)",pattern:/^(?:\/|\\\\)/},{id:"shell-windows-drive",description:"Windows drive letter path injection: C:\\ or D:/",pattern:/^[a-zA-Z]:[/\\]/},{id:"shell-curl-wget",description:"curl/wget with URL or flags — can exfiltrate data or download payloads",pattern:/\b(?:curl|wget)\s+(?:https?:\/\/|ftp:\/\/|-)/i}],Ew=[{id:"redos-nested-quantifier-plus",description:"Nested + quantifier inside a group with outer quantifier: (a+)+, (.+b)*, etc.",pattern:/\([^)]*\+[^)]*\)[+*]/},{id:"redos-nested-quantifier-star",description:"Nested * quantifier: (a*)* or (a*)+ — catastrophic backtracking",pattern:/\([^)]*\*[^)]*\)[*+]/},{id:"redos-nested-groups",description:"Doubly nested quantified groups: ((a+)+) — guaranteed catastrophic",pattern:/\(\([^)]{0,40}\)[+*]\)[+*]/},{id:"redos-alternation-overlap",description:"Overlapping alternation under quantifier: (a|a)+ — ambiguous NFA paths",pattern:/\(([^|()]{1,20})\|(?:\1)(?:\|[^|()]{1,20}){0,5}\)[+*?]{1,2}/},{id:"redos-star-plus-concat",description:"(x*x)+ pattern — triggers super-linear backtracking",pattern:/\([^)]{0,10}\*[^)]{0,10}\)[+*]/},{id:"redos-dot-star-greedy",description:"(.*){n,} or (.+){n,} — repeated greedy dot quantifiers",pattern:/\(\.[*+]\)\{?\d/},{id:"redos-large-repetition",description:"Very large fixed or range repetition count {1000,} or {1000,n} — denial of service via backtracking",pattern:/\{\d{4,}(?:,\d*)?\}/},{id:"redos-catastrophic-alternation",description:"Long alternation with many similar branches — polynomial backtracking risk",pattern:/\([^)]{0,200}(?:\|[^|)]{0,50}){9,}\)/}],ED="[\"'\\s]*:",Ex=[{id:"nosql-where-operator",description:"$where — executes arbitrary JavaScript server-side in MongoDB",pattern:RegExp(`\\$where${ED}`,"i")},{id:"nosql-ne-operator",description:'$ne — "not equal" operator used to bypass equality checks',pattern:RegExp(`\\$ne${ED}`,"i")},{id:"nosql-gt-operator",description:'$gt — "greater than" used to bypass password/value checks',pattern:RegExp(`\\$gte?${ED}`,"i")},{id:"nosql-lt-operator",description:'$lt / $lte — "less than" bypass variants',pattern:RegExp(`\\$lte?${ED}`,"i")},{id:"nosql-regex-operator",description:"$regex — can be used to extract data character by character (blind injection)",pattern:RegExp(`\\$regex${ED}`,"i")},{id:"nosql-or-operator",description:"$or — logical OR; used to create always-true conditions",pattern:RegExp(`\\$or${ED}\\s*\\[`,"i")},{id:"nosql-and-operator",description:"$and — logical AND operator injection",pattern:RegExp(`\\$and${ED}\\s*\\[`,"i")},{id:"nosql-nor-operator",description:"$nor — logical NOR operator injection",pattern:RegExp(`\\$nor${ED}\\s*\\[`,"i")},{id:"nosql-exists-operator",description:"$exists — can enumerate fields to determine schema",pattern:RegExp(`\\$exists${ED}`,"i")},{id:"nosql-in-operator",description:"$in — matches any value in a list; can enumerate values",pattern:RegExp(`\\$in${ED}\\s*\\[`,"i")},{id:"nosql-expr-operator",description:"$expr — allows aggregation expressions in queries (MongoDB 3.6+)",pattern:RegExp(`\\$expr${ED}`,"i")},{id:"nosql-function-operator",description:"$function — executes arbitrary JavaScript in MongoDB 4.4+",pattern:RegExp(`\\$function${ED}`,"i")},{id:"nosql-accumulator-operator",description:"$accumulator — custom aggregation with arbitrary JS execution",pattern:RegExp(`\\$accumulator${ED}`,"i")},{id:"nosql-proto-pollution",description:"__proto__ — prototype pollution via object key injection",pattern:/__proto__/},{id:"nosql-constructor-prototype",description:"constructor.prototype — alternative prototype pollution vector (dot notation or JSON key)",pattern:/constructor[\s"':.,{\[]*prototype/i},{id:"nosql-proto-bracket",description:'["__proto__"] — bracket-notation prototype pollution',pattern:/\[["']__proto__["']\]/}],ER=[{id:"log-crlf-injection",description:"CRLF injection: literal \\r or \\n embeds fake log lines",pattern:/[\r\n]/},{id:"log-url-encoded-crlf",description:"URL-encoded CRLF: %0d, %0a, %0D, %0A — decoded by some log parsers",pattern:/%0[dDaA]/},{id:"log-unicode-newline",description:"Unicode newline variants: U+2028 (line separator), U+2029 (paragraph separator)",pattern:/[\u2028\u2029]/},{id:"log-log4shell-jndi",description:"Log4Shell: ${jndi:...} triggers remote code execution in Apache Log4j",pattern:/\$\{jndi\s*:/i},{id:"log-log4shell-obfuscated",description:"Obfuscated Log4Shell: ${::-j}... lookup-bypass prefix used to evade WAF detection",pattern:/\$\{::-/},{id:"log-log4j-lookup",description:"Log4j lookup syntax: ${env:...}, ${sys:...}, ${ctx:...} — data exfiltration",pattern:/\$\{(?:env|sys|ctx|main|map|sd|web|docker|k8s|spring)\s*:/i},{id:"log-ssti-double-brace",description:"SSTI double-brace: {{expression}} — Jinja2, Twig, Handlebars, etc.",pattern:/\{\{[\s\S]{0,80}\}\}/},{id:"log-ssti-hash-brace",description:"SSTI hash-brace: #{expression} — Thymeleaf, Velocity, Ruby ERB",pattern:/#\{[\s\S]{0,80}\}/},{id:"log-ssti-dollar-brace",description:"SSTI/EL injection: ${expression with operators or method calls} — JSP EL, Freemarker, SpEL",pattern:/\$\{[^}]*(?:\.|\(|\*|\+|\bclass\b|\bruntime\b|\bprocess\b|\bexec\b)[^}]{0,80}\}/i},{id:"log-ssti-percent-tag",description:"SSTI ERB/ASP tag: <%= expression %> — Ruby ERB, ASP",pattern:/<%=[\s\S]{0,80}%>/},{id:"log-null-byte",description:"Null byte: \\x00 or %00 — can truncate log entries in C-backed loggers",pattern:/\x00|%00/},{id:"log-ansi-escape",description:"ANSI escape sequence: ESC[ — can manipulate terminal output when logs are tailed",pattern:/\x1b\[/}];EQ.label="HTML",EN.label="XML",Eb.label="SVG",EB.label="SQL",Ey.label="SQL-STRICT",ES.label="SHELL",Ew.label="REDOS",Ex.label="NOSQL",ER.label="LOG",Object.freeze({HTML:EQ,XML:EN,SVG:Eb,SQL:EB,"SQL-STRICT":Ey,SHELL:ES,REDOS:Ew,NOSQL:Ex,LOG:ER});class EM{constructor(e,t){var r;this.options=e,this.currentNode=null,this.tagsNodeStack=[],this.parseXml=ET,this.parseTextData=Ek,this.resolveNameSpace=EF,this.buildAttributesMap=Ev,this.isItStopNode=EP,this.replaceEntitiesValue=EO,this.readStopNodeData=Ez,this.saveTextToParentTag=EH,this.addChild=EL,this.ignoreAttributesFn="function"==typeof(r=this.options.ignoreAttributes)?r:Array.isArray(r)?e=>{for(let t of r)if("string"==typeof t&&e===t||t instanceof RegExp&&t.test(e))return!0}:()=>!1,this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let i={...Ec};this.options.entityDecoder?this.entityDecoder=this.options.entityDecoder:("object"==typeof this.options.htmlEntities?i=this.options.htmlEntities:!0===this.options.htmlEntities&&(i={...Ed,...El}),this.entityDecoder=new EE({namedEntities:{...i,...t},numericAllowed:this.options.htmlEntities,limit:{maxTotalExpansions:this.options.processEntities.maxTotalExpansions,maxExpandedLength:this.options.processEntities.maxExpandedLength,applyLimitsTo:this.options.processEntities.appliesTo},onInputEntity:(e,t)=>!function(e,t){if("string"!=typeof e)throw TypeError(`is-unsafe: first argument must be a string, got ${typeof e}`);!function(e){if(!(e instanceof RegExp)){if(Array.isArray(e)){if(0===e.length)throw TypeError("is-unsafe: context must not be an empty array");if(Array.isArray(e[0])){for(let t of e)if(!Array.isArray(t)||0===t.length)throw TypeError("is-unsafe: each context in the array must be a non-empty pattern array (PatternList)")}return}throw TypeError(`is-unsafe: second argument must be a PatternList (e.g. HTML), an array of PatternLists (e.g. [HTML, XML]), or a RegExp. Got: ${typeof e}`)}}(t);let{lists:r,regex:i}=t instanceof RegExp?{lists:null,regex:t}:Array.isArray(t[0])?{lists:t,regex:null}:{lists:[t],regex:null};if(i)return i.test(e);for(let t of r)if(null!==function(e,t){let r=t.label??"CUSTOM";for(let i of t)if(i.pattern.test(e))return{context:r,id:i.id,description:i.description,pattern:i.pattern};return null}(e,t))return!0;return!1}(t,[EQ,EN])?Eg.ALLOW:Eg.BLOCK})),this.matcher=new fg,this.readonlyMatcher=this.matcher.readOnly(),this.isCurrentNodeStopNode=!1,this.stopNodeExpressionsSet=new EA;let s=this.options.stopNodes;if(s&&s.length>0){for(let e=0;e<s.length;e++){let t=s[e];"string"==typeof t?this.stopNodeExpressionsSet.add(new fc(t)):t instanceof fc&&this.stopNodeExpressionsSet.add(t)}this.stopNodeExpressionsSet.seal()}}}function Ek(e,t,r,i,s,n,o){let a=this.options;if(void 0!==e&&(a.trimValues&&!i&&(e=e.trim()),e.length>0)){o||(e=this.replaceEntitiesValue(e,t,r));let i=a.jPath?r.toString():r,A=a.tagValueProcessor(t,e,i,s,n);return null==A?e:typeof A!=typeof e||A!==e?A:a.trimValues||e.trim()===e?Eq(e,a.parseTagValue,a.numberParseOptions):e}}function EF(e){if(this.options.removeNSPrefix){let t=e.split(":"),r="/"===e.charAt(0)?"/":"";if("xmlns"===t[0])return"";2===t.length&&(e=r+t[1])}return e}let EU=RegExp("([^\\s=]+)\\s*(=\\s*(['\"])([\\s\\S]*?)\\3)?","gm");function Ev(e,t,r,i=!1){let s=this.options;if(!0===i||!0!==s.ignoreAttributes&&"string"==typeof e){let i=fH(e,EU),n=i.length,o={},a=Array(n),A=!1,l={};for(let e=0;e<n;e++){let t=this.resolveNameSpace(i[e][1]),n=i[e][4];if(t.length&&void 0!==n){let i=n;s.trimValues&&(i=i.trim()),i=this.replaceEntitiesValue(i,r,this.readonlyMatcher),a[e]=i,l[t]=i,A=!0}}A&&"object"==typeof t&&t.updateCurrent&&t.updateCurrent(l);let c=s.jPath?t.toString():this.readonlyMatcher,d=!1;for(let e=0;e<n;e++){let t=this.resolveNameSpace(i[e][1]);if(this.ignoreAttributesFn(t,c))continue;let r=s.attributeNamePrefix+t;if(t.length)if(s.transformAttributeName&&(r=s.transformAttributeName(r)),r=E_(r,s),void 0!==i[e][4]){let i=a[e],n=s.attributeValueProcessor(t,i,c);null==n?o[r]=i:typeof n!=typeof i||n!==i?o[r]=n:o[r]=Eq(i,s.parseAttributeValue,s.numberParseOptions),d=!0}else s.allowBooleanAttributes&&(o[r]=!0,d=!0)}if(!d)return;if(s.attributesGroupName&&!s.preserveOrder){let e={};return e[s.attributesGroupName]=o,e}return o}}let ET=function(e){e=e.replace(/\r\n?/g,"\n");let t=new f2("!xml"),r=t,i="";this.matcher.reset(),this.entityDecoder.reset(),this.entityExpansionCount=0,this.currentExpandedLength=0,this.doctypefound=!1;let s=this.options,n=new f3(s.processEntities),o=e.length;for(let a=0;a<o;a++)if("<"===e[a]){let A=e.charCodeAt(a+1);if(47===A){let t=EY(e,">",a,"Closing Tag is not closed."),n=e.substring(a+2,t).trim();if(s.removeNSPrefix){let e=n.indexOf(":");-1!==e&&(n=n.substr(e+1))}n=EV(s.transformTagName,n,"",s).tagName,r&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher));let o=this.matcher.getCurrentTag();if(n&&s.unpairedTagsSet.has(n))throw Error(`Unpaired tag can not be used as closing tag: </${n}>`);o&&s.unpairedTagsSet.has(o)&&(this.matcher.pop(),this.tagsNodeStack.pop()),this.matcher.pop(),this.isCurrentNodeStopNode=!1,r=this.tagsNodeStack.pop(),i="",a=t}else if(63===A){let t=EG(e,a,!1,"?>");if(!t)throw Error("Pi Tag is not closed.");i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.buildAttributesMap(t.tagExp,this.matcher,t.tagName,!0);if(o){let e=o[this.options.attributeNamePrefix+"version"];this.entityDecoder.setXmlVersion(Number(e)||1),n.setXmlVersion(Number(e)||1)}if(s.ignoreDeclaration&&"?xml"===t.tagName||s.ignorePiTags);else{let e=new f2(t.tagName);e.add(s.textNodeName,""),t.tagName!==t.tagExp&&t.attrExpPresent&&!0!==s.ignoreAttributes&&(e[":@"]=o),this.addChild(r,e,this.readonlyMatcher,a)}a=t.closeIndex+1}else if(33===A&&45===e.charCodeAt(a+2)&&45===e.charCodeAt(a+3)){let t=EY(e,"--\x3e",a+4,"Comment is not closed.");if(s.commentPropName){let n=e.substring(a+4,t-2);i=this.saveTextToParentTag(i,r,this.readonlyMatcher),r.add(s.commentPropName,[{[s.textNodeName]:n}])}a=t}else if(33===A&&68===e.charCodeAt(a+2)){if(this.doctypefound)throw Error("Multiple DOCTYPE declarations found.");this.doctypefound=!0;let t=n.readDocType(e,a);this.entityDecoder.addInputEntities(t.entities),a=t.i}else if(33===A&&91===e.charCodeAt(a+2)){let t=EY(e,"]]>",a,"CDATA is not closed.")-2,n=e.substring(a+9,t);i=this.saveTextToParentTag(i,r,this.readonlyMatcher);let o=this.parseTextData(n,r.tagname,this.readonlyMatcher,!0,!1,!0,!0);void 0==o&&(o=""),s.cdataPropName?r.add(s.cdataPropName,[{[s.textNodeName]:n}]):r.add(s.textNodeName,o),a=t+2}else{let n,A=EG(e,a,s.removeNSPrefix);if(!A){let t=e.substring(Math.max(0,a-50),Math.min(o,a+50));throw Error(`readTagExp returned undefined at position ${a}. Context: "${t}"`)}let l=A.tagName,c=A.rawTagName,d=A.tagExp,g=A.attrExpPresent,u=A.closeIndex;if({tagName:l,tagExp:d}=EV(s.transformTagName,l,d,s),s.strictReservedNames&&(l===s.commentPropName||l===s.cdataPropName||l===s.textNodeName||l===s.attributesGroupName))throw Error(`Invalid tag name: ${l}`);r&&i&&"!xml"!==r.tagname&&(i=this.saveTextToParentTag(i,r,this.readonlyMatcher,!1));let h=r;h&&s.unpairedTagsSet.has(h.tagname)&&(r=this.tagsNodeStack.pop(),this.matcher.pop());let m=!1;d.length>0&&d.lastIndexOf("/")===d.length-1&&(m=!0,d="/"===l[l.length-1]?l=l.substr(0,l.length-1):d.substr(0,d.length-1),g=l!==d);let p=null;n=function(e){if(!e||"string"!=typeof e)return;let t=e.indexOf(":");if(-1!==t&&t>0){let r=e.substring(0,t);if("xmlns"!==r)return r}}(c),l!==t.tagname&&this.matcher.push(l,{},n),l!==d&&g&&(p=this.buildAttributesMap(d,this.matcher,l))&&function(e,t){if(!e)return;let r=t.attributesGroupName?e[t.attributesGroupName]:e;if(!r)return;let i={};for(let e in r)e.startsWith(t.attributeNamePrefix)?i[e.substring(t.attributeNamePrefix.length)]=r[e]:i[e]=r[e]}(p,s),l!==t.tagname&&(this.isCurrentNodeStopNode=this.isItStopNode());let C=a;if(this.isCurrentNodeStopNode){let t="";if(m)a=A.closeIndex;else if(s.unpairedTagsSet.has(l))a=A.closeIndex;else{let r=this.readStopNodeData(e,c,u+1);if(!r)throw Error(`Unexpected end of ${c}`);a=r.i,t=r.tagContent}let i=new f2(l);p&&(i[":@"]=p),i.add(s.textNodeName,t),this.matcher.pop(),this.isCurrentNodeStopNode=!1,this.addChild(r,i,this.readonlyMatcher,C)}else{if(m){({tagName:l,tagExp:d}=EV(s.transformTagName,l,d,s));let e=new f2(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1}else if(s.unpairedTagsSet.has(l)){let e=new f2(l);p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),this.matcher.pop(),this.isCurrentNodeStopNode=!1,a=A.closeIndex;continue}else{let e=new f2(l);if(this.tagsNodeStack.length>s.maxNestedTags)throw Error("Maximum nested tags exceeded");this.tagsNodeStack.push(r),p&&(e[":@"]=p),this.addChild(r,e,this.readonlyMatcher,C),r=e}i="",a=u}}}else i+=e[a];return t.child};function EL(e,t,r,i){this.options.captureMetaData||(i=void 0);let s=this.options.jPath?r.toString():r,n=this.options.updateTag(t.tagname,s,t[":@"]);!1===n||("string"==typeof n&&(t.tagname=n),e.addChild(t,i))}function EO(e,t,r){let i=this.options.processEntities;if(!i||!i.enabled)return e;if(i.allowedTags){let s=this.options.jPath?r.toString():r;if(!(Array.isArray(i.allowedTags)?i.allowedTags.includes(t):i.allowedTags(t,s)))return e}if(i.tagFilter){let s=this.options.jPath?r.toString():r;if(!i.tagFilter(t,s))return e}return this.entityDecoder.decode(e)}function EH(e,t,r,i){return e&&(void 0===i&&(i=0===t.child.length),void 0!==(e=this.parseTextData(e,t.tagname,r,!1,!!t[":@"]&&0!==Object.keys(t[":@"]).length,i))&&""!==e&&t.add(this.options.textNodeName,e),e=""),e}function EP(){return 0!==this.stopNodeExpressionsSet.size&&this.matcher.matchesAny(this.stopNodeExpressionsSet)}function EY(e,t,r,i){let s=e.indexOf(t,r);if(-1!==s)return s+t.length-1;throw Error(i)}function EG(e,t,r,i=">"){let s=function(e,t,r=">"){let i=0,s=e.length,n=r.charCodeAt(0),o=r.length>1?r.charCodeAt(1):-1,a="",A=t;for(let r=t;r<s;r++){let t=e.charCodeAt(r);if(i)t===i&&(i=0);else if(34===t||39===t)i=t;else if(t===n){if(-1===o)return{data:a+=e.substring(A,r),index:r};else if(e.charCodeAt(r+1)===o)return{data:a+=e.substring(A,r),index:r}}else 9!==t||i||(a+=e.substring(A,r)+" ",A=r+1)}}(e,t+1,i);if(!s)return;let n=s.data,o=s.index,a=n.search(/\s/),A=n,l=!0;-1!==a&&(A=n.substring(0,a),n=n.substring(a+1).trimStart());let c=A;if(r){let e=A.indexOf(":");-1!==e&&(l=(A=A.substr(e+1))!==s.data.substr(e+1))}return{tagName:A,tagExp:n,closeIndex:o,attrExpPresent:l,rawTagName:c}}function Ez(e,t,r){let i=r,s=1,n=e.length;for(;r<n;r++)if("<"===e[r]){let n=e.charCodeAt(r+1);if(47===n){let n=function(e,t,r){let i=e.indexOf(">",t);if(-1===i)throw Error(r);return i}(e,r,`${t} is not closed`);if(e.substring(r+2,n).trim()===t&&0==--s)return{tagContent:e.substring(i,r),i:n};r=n}else if(63===n)r=EY(e,"?>",r+1,"StopNode is not closed.");else if(33===n&&45===e.charCodeAt(r+2)&&45===e.charCodeAt(r+3))r=EY(e,"--\x3e",r+3,"StopNode is not closed.");else if(33===n&&91===e.charCodeAt(r+2))r=EY(e,"]]>",r,"StopNode is not closed.")-2;else{let i=EG(e,r,!1);i&&((i&&i.tagName)===t&&"/"!==i.tagExp[i.tagExp.length-1]&&s++,r=i.closeIndex)}}}function Eq(e,t,r){if(t&&"string"==typeof e){let t=e.trim();return"true"===t||"false"!==t&&function(e,t={}){if(t=Object.assign({},En,t),!e||"string"!=typeof e)return e;let r=e.trim();if(0===r.length||void 0!==t.skipLike&&t.skipLike.test(r))return e;if("0"===r||t.unicode&&"0"===(r=Ee(r)))return 0;if(t.hex&&Et.test(r))return Ea(r,16);{if(t.binary&&Er.test(r))return Ea(r,2);if(t.octal&&Ei.test(r))return Ea(r,8);if(!isFinite(r)){var i,s=e,n=Number(r),o=t;switch(o.infinity.toLowerCase()){case"null":return null;case"infinity":return n;case"string":return n===1/0?"Infinity":"-Infinity";default:return s}}if(r.includes("e")||r.includes("E"))return function(e,t,r){if(!r.eNotation)return e;let i=t.match(Eo);if(!i)return e;{let s=i[1]||"",n=-1===i[3].indexOf("e")?"E":"e",o=i[2],a=s?e[o.length+1]===n:e[o.length]===n;if(o.length>1&&a)return e;if(1===o.length&&(i[3].startsWith(`.${n}`)||i[3][0]===n))return Number(t);if(!(o.length>0))return Number(t);else if(r.leadingZeros&&!a)return Number(t=(i[1]||"")+i[3]);else return e}}(e,r,t);let a=Es.exec(r);if(!a)return e;{let s=a[1]||"",n=a[2],o=((i=a[3])&&-1!==i.indexOf(".")&&("."===(i=i.replace(/0+$/,""))?i="0":"."===i[0]?i="0"+i:"."===i[i.length-1]&&(i=i.substring(0,i.length-1))),i),A=s?"."===e[n.length+1]:"."===e[n.length];if(!t.leadingZeros&&(n.length>1||1===n.length&&!A))return e;{let i=Number(r),a=String(i);if(0===i)return i;if(-1!==a.search(/[eE]/))if(t.eNotation)return i;else return e;if(-1!==r.indexOf("."))if("0"===a)return i;else if(a===o)return i;else if(a===`${s}${o}`)return i;else return e;let A=n?o:r;return n?A===a||s+A===a?i:e:A===a||A===s+a?i:e}}}}(e,r)}return void 0!==e?e:""}function EV(e,t,r,i){if(e){let i=e(t);r===t&&(r=i),t=i}return{tagName:t=E_(t,i),tagExp:r}}function E_(e,t){if(fG.includes(e))throw Error(`[SECURITY] Invalid name: "${e}" is a reserved JavaScript keyword that could cause prototype pollution`);return fY.includes(e)?t.onDangerousProperty(e):e}let EJ=f2.getMetaDataSymbol();class EW{constructor(e){this.externalEntities={},this.options=f1(e)}parse(e,t){var r;if("string"!=typeof e&&e.toString)e=e.toString();else if("string"!=typeof e)throw Error("XML data is accepted in String or Bytes[] form.");if(t){!0===t&&(t={});let r=fq(e,t);if(!0!==r)throw Error(`${r.err.msg}:${r.err.line}:${r.err.col}`)}let i=new EM(this.options,this.externalEntities),s=i.parseXml(e);return this.options.preserveOrder||void 0===s?s:(r=this.options,function e(t,r,i,s){let n,o={};for(let a=0;a<t.length;a++){let A=t[a],l=function(e){let t=Object.keys(e);for(let e=0;e<t.length;e++){let r=t[e];if(":@"!==r)return r}}(A);if(void 0!==l&&l!==r.textNodeName){let e=function(e,t){if(!e||"object"!=typeof e)return{};if(!t)return e;let r={};for(let i in e)i.startsWith(t)?r[i.substring(t.length)]=e[i]:r[i]=e[i];return r}(A[":@"]||{},r.attributeNamePrefix);i.push(l,e)}if(l===r.textNodeName)void 0===n?n=A[l]:n+=""+A[l];else if(void 0===l)continue;else if(A[l]){let t=e(A[l],r,i,s),n=function(e,t){let{textNodeName:r}=t,i=Object.keys(e).length;return 0===i||1===i&&(!!e[r]||"boolean"==typeof e[r]||0===e[r])}(t,r);if(0===Object.keys(t).length&&r.alwaysCreateTextNode&&(t[r.textNodeName]=""),A[":@"]?function(e,t,r,i){if(t){let s=Object.keys(t),n=s.length;for(let o=0;o<n;o++){let n=s[o],a=n.startsWith(i.attributeNamePrefix)?n.substring(i.attributeNamePrefix.length):n,A=i.jPath?r.toString()+"."+a:r;i.isArray(n,A,!0,!0)?e[n]=[t[n]]:e[n]=t[n]}}}(t,A[":@"],s,r):1!==Object.keys(t).length||void 0===t[r.textNodeName]||r.alwaysCreateTextNode?0===Object.keys(t).length&&(r.alwaysCreateTextNode?t[r.textNodeName]="":t=""):t=t[r.textNodeName],void 0!==A[EJ]&&"object"==typeof t&&null!==t&&(t[EJ]=A[EJ]),void 0!==o[l]&&Object.prototype.hasOwnProperty.call(o,l))Array.isArray(o[l])||(o[l]=[o[l]]),o[l].push(t);else{let e=r.jPath?s.toString():s;r.isArray(l,e,n)?o[l]=[t]:o[l]=t}void 0!==l&&l!==r.textNodeName&&i.pop()}}return"string"==typeof n?n.length>0&&(o[r.textNodeName]=n):void 0!==n&&(o[r.textNodeName]=n),o}(s,r,i.matcher,i.readonlyMatcher))}addEntity(e,t){if(-1!==t.indexOf("&"))throw Error("Entity value can't have '&'");if(-1!==e.indexOf("&")||-1!==e.indexOf(";"))throw Error("An entity must be set without '&' and ';'. Eg. use '#xD' for '&#xD;'");if("&"===t)throw Error("An entity with value '&' is not permitted");this.externalEntities[e]=t}static getMetaDataSymbol(){return f2.getMetaDataSymbol()}}function Ej(e){return{attributesGroupName:"$",textNodeName:e.xmlCharKey??"_",ignoreAttributes:!1,suppressBooleanAttributes:!1}}function EK(e,t={}){let r=function(e={}){return{...Ej(e),attributeNamePrefix:"@_",format:!0,suppressEmptyNode:!0,indentBy:"",rootNodeName:e.rootName??"root",cdataPropName:e.cdataPropName??"__cdata"}}(t),i=new fk(r),s={[r.rootNodeName]:e},n=i.build(s);return`<?xml version="1.0" encoding="UTF-8" standalone="yes"?>${n}`.replace(/\n/g,"")}async function EX(e,t={}){if(!e)throw Error("Document is empty");let r=fq(e);if(!0!==r)throw r;let i=new EW(function(e={}){return{...Ej(e),parseAttributeValue:!1,parseTagValue:!1,attributeNamePrefix:"",stopNodes:e.stopNodes,processEntities:!0,trimValues:!1}}(t)).parse(e);if(i["?xml"]&&delete i["?xml"],!t.includeRoot){let e=Object.keys(i)[0];if(void 0!==e){let t=i[e];return"object"==typeof t?{...t}:t}}return i}let EZ=C7("storage-blob");var E$=o(4434);class E0 extends px.Readable{buffers;byteLength;byteOffsetInCurrentBuffer;bufferIndex;pushedBytesLength;constructor(e,t,r){super(r),this.buffers=e,this.byteLength=t,this.byteOffsetInCurrentBuffer=0,this.bufferIndex=0,this.pushedBytesLength=0;let i=0;for(let e of this.buffers)i+=e.byteLength;if(i<this.byteLength)throw Error("Data size shouldn't be larger than the total length of buffers.")}_read(e){this.pushedBytesLength>=this.byteLength&&this.push(null),e||(e=this.readableHighWaterMark);let t=[],r=0;for(;r<e&&this.pushedBytesLength<this.byteLength;){let i=this.byteLength-this.pushedBytesLength,s=this.buffers[this.bufferIndex].byteLength-this.byteOffsetInCurrentBuffer,n=Math.min(s,i);if(n>e-r){let i=this.byteOffsetInCurrentBuffer+e-r;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,i)),this.pushedBytesLength+=e-r,this.byteOffsetInCurrentBuffer=i,r=e;break}{let e=this.byteOffsetInCurrentBuffer+n;t.push(this.buffers[this.bufferIndex].slice(this.byteOffsetInCurrentBuffer,e)),n===s?(this.byteOffsetInCurrentBuffer=0,this.bufferIndex++):this.byteOffsetInCurrentBuffer=e,this.pushedBytesLength+=n,r+=n}}t.length>1?this.push(Buffer.concat(t)):1===t.length&&this.push(t[0])}}let E1=o(4573).constants.MAX_LENGTH;class E2{buffers=[];capacity;_size;get size(){return this._size}constructor(e,t,r){this.capacity=e,this._size=0;let i=Math.ceil(e/E1);for(let t=0;t<i;t++){let r=t===i-1?e%E1:E1;0===r&&(r=E1),this.buffers.push(Buffer.allocUnsafe(r))}t&&this.fill(t,r)}fill(e,t){this._size=Math.min(this.capacity,t);let r=0,i=0,s=0,n=0,o=0;for(;o<this._size;){let t=e[r],a=this.buffers[i],A=t.copy(a,s,n);o+=A,n+=A,s+=A,n===t.length&&(r++,n=0),s===a.length&&(i++,s=0)}e.splice(0,r),e.length>0&&(e[0]=e[0].slice(n))}getReadableStream(){return new E0(this.buffers,this.size)}}class E3{bufferSize;maxBuffers;readable;outgoingHandler;emitter=new E$.EventEmitter;concurrency;offset=0;isStreamEnd=!1;isError=!1;executingOutgoingHandlers=0;encoding;numBuffers=0;unresolvedDataArray=[];unresolvedLength=0;incoming=[];outgoing=[];constructor(e,t,r,i,s,n){if(t<=0)throw RangeError(`bufferSize must be larger than 0, current is ${t}`);if(r<=0)throw RangeError(`maxBuffers must be larger than 0, current is ${r}`);if(s<=0)throw RangeError(`concurrency must be larger than 0, current is ${s}`);this.bufferSize=t,this.maxBuffers=r,this.readable=e,this.outgoingHandler=i,this.concurrency=s,this.encoding=n}async do(){return new Promise((e,t)=>{this.readable.on("data",e=>{e="string"==typeof e?Buffer.from(e,this.encoding):e,this.appendUnresolvedData(e),this.resolveData()||this.readable.pause()}),this.readable.on("error",e=>{this.emitter.emit("error",e)}),this.readable.on("end",()=>{this.isStreamEnd=!0,this.emitter.emit("checkEnd")}),this.emitter.on("error",e=>{this.isError=!0,this.readable.pause(),t(e)}),this.emitter.on("checkEnd",()=>{if(this.outgoing.length>0)return void this.triggerOutgoingHandlers();if(this.isStreamEnd&&0===this.executingOutgoingHandlers)if(this.unresolvedLength>0&&this.unresolvedLength<this.bufferSize){let r=this.shiftBufferFromUnresolvedDataArray();this.outgoingHandler(()=>r.getReadableStream(),r.size,this.offset).then(e).catch(t)}else{if(this.unresolvedLength>=this.bufferSize)return;e()}})})}appendUnresolvedData(e){this.unresolvedDataArray.push(e),this.unresolvedLength+=e.length}shiftBufferFromUnresolvedDataArray(e){return e?e.fill(this.unresolvedDataArray,this.unresolvedLength):e=new E2(this.bufferSize,this.unresolvedDataArray,this.unresolvedLength),this.unresolvedLength-=e.size,e}resolveData(){for(;this.unresolvedLength>=this.bufferSize;){let e;if(this.incoming.length>0)e=this.incoming.shift(),this.shiftBufferFromUnresolvedDataArray(e);else{if(!(this.numBuffers<this.maxBuffers))return!1;e=this.shiftBufferFromUnresolvedDataArray(),this.numBuffers++}this.outgoing.push(e),this.triggerOutgoingHandlers()}return!0}async triggerOutgoingHandlers(){let e;do{if(this.executingOutgoingHandlers>=this.concurrency)return;(e=this.outgoing.shift())&&this.triggerOutgoingHandler(e)}while(e)}async triggerOutgoingHandler(e){let t=e.size;this.executingOutgoingHandlers++,this.offset+=t;try{await this.outgoingHandler(()=>e.getReadableStream(),t,this.offset-t)}catch(e){this.emitter.emit("error",e);return}this.executingOutgoingHandlers--,this.reuseBuffer(e),this.emitter.emit("checkEnd")}reuseBuffer(e){this.incoming.push(e),!this.isError&&this.resolveData()&&!this.isStreamEnd&&this.readable.resume()}}let E5=i("node:module");var E4=o(3136);"object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node&&(s=(0,E5.createRequire)(import.meta.url),n=(0,E4.fileURLToPath)(import.meta.url),a=(0,m5.dirname)(n));var E8=(en="u">typeof document&&document.currentScript?document.currentScript.src:void 0,void 0!==n&&(en=en||n),function(e){var t,r,i,n,o,A,l,c,d,g,u=void 0!==(e=e||{})?e:{};u.ready=new Promise(function(e,t){i=e,n=t}),["_malloc","_free","_emscripten_bind_VoidPtr___destroy___0","_emscripten_bind_Crc64Hash_Crc64Hash_0","_emscripten_bind_Crc64Hash_OnAppend_2","_emscripten_bind_Crc64Hash_OnFinal_3","_emscripten_bind_Crc64Hash___destroy___0","_fflush","onRuntimeInitialized"].forEach(e=>{Object.getOwnPropertyDescriptor(u.ready,e)||Object.defineProperty(u.ready,e,{get:()=>z("You are getting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js"),set:()=>z("You are setting "+e+" on the Promise object, instead of the instance. Use .then() to get called back with the instance, see the MODULARIZE docs in src/settings.js")})});var h=Object.assign({},u),m=[],p="object"==typeof window,C="function"==typeof importScripts,I="object"==typeof process&&"object"==typeof process.versions&&"string"==typeof process.versions.node,f=!p&&!I&&!C;if(u.ENVIRONMENT)throw Error("Module.ENVIRONMENT has been deprecated. To force the environment, use the ENVIRONMENT compile-time option (for example, -sENVIRONMENT=web or -sENVIRONMENT=node)");var E="";if(I){if("u"<typeof process||!process.release||"node"!==process.release.name)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");var B=s("fs"),y=s("path");E=C?y.dirname(E)+"/":a+"/",process.argv.length>1&&process.argv[1].replace(/\\/g,"/"),m=process.argv.slice(2),process.on("uncaughtException",function(e){if(!(e instanceof W))throw e}),process.on("unhandledRejection",function(e){throw e}),u.inspect=function(){return"[Emscripten Module object]"}}else if(f){if("object"==typeof process&&"function"==typeof s||"object"==typeof window||"function"==typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)");"u">typeof scriptArgs?m=scriptArgs:"u">typeof arguments&&(m=arguments),"u">typeof print&&("u"<typeof console&&(console={}),console.log=print,console.warn=console.error="u">typeof printErr?printErr:print)}else if(p||C){if(C?E=self.location.href:"u">typeof document&&document.currentScript&&(E=document.currentScript.src),en&&(E=en),E=0!==E.indexOf("blob:")?E.substr(0,E.replace(/[?#].*/,"").lastIndexOf("/")+1):"","object"!=typeof window&&"function"!=typeof importScripts)throw Error("not compiled for this environment (did you build to HTML and try to run it not on the web, or set ENVIRONMENT to something - like node - and run it someplace else - like on the web?)")}else throw Error("environment detection error");var Q=u.print||console.log.bind(console),N=u.printErr||console.warn.bind(console);function b(e,t){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){z("Module."+e+" has been replaced with plain "+t+" (the initial value can be provided on Module, but after startup the value is only looked for on a local variable of that name)")}})}function S(e){return"FS_createPath"===e||"FS_createDataFile"===e||"FS_createPreloadedFile"===e||"FS_unlink"===e||"addRunDependency"===e||"FS_createLazyFile"===e||"FS_createDevice"===e||"removeRunDependency"===e}Object.assign(u,h),h=null,Object.getOwnPropertyDescriptor(u,t="fetchSettings")&&z("`Module."+t+"` was supplied but `"+t+"` not included in INCOMING_MODULE_JS_API"),u.arguments&&(m=u.arguments),b("arguments","arguments_"),u.thisProgram&&u.thisProgram,b("thisProgram","thisProgram"),u.quit&&u.quit,b("quit","quit_"),D(void 0===u.memoryInitializerPrefixURL,"Module.memoryInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.pthreadMainPrefixURL,"Module.pthreadMainPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.cdInitializerPrefixURL,"Module.cdInitializerPrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.filePackagePrefixURL,"Module.filePackagePrefixURL option was removed, use Module.locateFile instead"),D(void 0===u.read,"Module.read option was removed (modify read_ in JS)"),D(void 0===u.readAsync,"Module.readAsync option was removed (modify readAsync in JS)"),D(void 0===u.readBinary,"Module.readBinary option was removed (modify readBinary in JS)"),D(void 0===u.setWindowTitle,"Module.setWindowTitle option was removed (modify setWindowTitle in JS)"),D(void 0===u.TOTAL_MEMORY,"Module.TOTAL_MEMORY has been renamed Module.INITIAL_MEMORY"),b("read","read_"),b("readAsync","readAsync"),b("readBinary","readBinary"),b("setWindowTitle","setWindowTitle"),D(!f,"shell environment detected but not enabled at build time. Add 'shell' to `-sENVIRONMENT` to enable."),u.wasmBinary&&u.wasmBinary,b("wasmBinary","wasmBinary"),u.noExitRuntime,b("noExitRuntime","noExitRuntime"),"object"!=typeof WebAssembly&&z("no native wasm support detected");var w=!1;function D(e,t){e||z("Assertion failed"+(t?": "+t:""))}var x="u">typeof TextDecoder?new TextDecoder("utf8"):void 0;function R(e){A=e,u.HEAP8=new Int8Array(e),u.HEAP16=new Int16Array(e),u.HEAP32=new Int32Array(e),u.HEAPU8=l=new Uint8Array(e),u.HEAPU16=new Uint16Array(e),u.HEAPU32=c=new Uint32Array(e),u.HEAPF32=new Float32Array(e),u.HEAPF64=new Float64Array(e)}u.STACK_SIZE&&D(5242880===u.STACK_SIZE,"the stack size can no longer be determined at runtime");var M=u.INITIAL_MEMORY||0x1000000;function k(){if(!w){var e=ea();0==e&&(e+=4);var t=c[e>>2],r=c[e+4>>2];(0x2135467!=t||0x89bacdfe!=r)&&z("Stack overflow! Stack cookie has been overwritten at "+K(e)+", expected hex dwords 0x89BACDFE and 0x2135467, but received "+K(r)+" "+K(t)),0x63736d65!==c[0]&&z("Runtime error: The application has corrupted its heap memory area (address zero)!")}}b("INITIAL_MEMORY","INITIAL_MEMORY"),D(M>=5242880,"INITIAL_MEMORY should be larger than STACK_SIZE, was "+M+"! (STACK_SIZE=5242880)"),D("u">typeof Int32Array&&"u">typeof Float64Array&&void 0!=Int32Array.prototype.subarray&&void 0!=Int32Array.prototype.set,"JS engine does not provide full typed array support"),D(!u.wasmMemory,"Use of `wasmMemory` detected. Use -sIMPORTED_MEMORY to define wasmMemory externally"),D(0x1000000==M,"Detected runtime INITIAL_MEMORY setting. Use -sIMPORTED_MEMORY to define wasmMemory dynamically");var F=new Int16Array(1),U=new Int8Array(F.buffer);if(F[0]=25459,115!==U[0]||99!==U[1])throw"Runtime error: expected the system to be little-endian! (Run with -sSUPPORT_BIG_ENDIAN to bypass)";var v=[],T=[],L=[],O=!1;D(Math.imul,"This browser does not support Math.imul(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.fround,"This browser does not support Math.fround(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.clz32,"This browser does not support Math.clz32(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill"),D(Math.trunc,"This browser does not support Math.trunc(), build with LEGACY_VM_SUPPORT or POLYFILL_OLD_MATH_FUNCTIONS to add in a polyfill");var H=0,P=null,Y=null,G={};function z(e){u.onAbort&&u.onAbort(e),N(e="Aborted("+e+")"),w=!0;var t=new WebAssembly.RuntimeError(e);throw n(t),t}var q={error:function(){z("Filesystem support (FS) was not included. The problem is that you are using files from JS, but files were not used from C/C++, so filesystem support was not auto-included. You can force-include filesystem support with -sFORCE_FILESYSTEM")},init:function(){q.error()},createDataFile:function(){q.error()},createPreloadedFile:function(){q.error()},createLazyFile:function(){q.error()},open:function(){q.error()},mkdev:function(){q.error()},registerDevice:function(){q.error()},analyzePath:function(){q.error()},loadFilesFromDB:function(){q.error()},ErrnoError:function(){q.error()}};function V(e){return e.startsWith("file://")}function _(e,t){return function(){var r=t;return t||(r=u.asm),D(O,"native function `"+e+"` called before runtime initialization"),r[e]||D(r[e],"exported native function `"+e+"` not found"),r[e].apply(null,arguments)}}u.FS_createDataFile=q.createDataFile,u.FS_createPreloadedFile=q.createPreloadedFile,(d="crc64.wasm").startsWith("data:application/octet-stream;base64,")||(r=d,d=u.locateFile?u.locateFile(r,E):E+r);var J="AGFzbQEAAAABzYCAgAAMYAF/AX9gAAF/YAF/AGAAAGADf35/AX5gA39/fwBgBH9/f38AYAN/f38Bf2AFf39/f38Bf2AEf39/fwF/YAR/f35/AX5gBH9+f38BfwKPgYCAAAUDZW52BWFib3J0AAMDZW52FmVtc2NyaXB0ZW5fcmVzaXplX2hlYXAAABZ3YXNpX3NuYXBzaG90X3ByZXZpZXcxCGZkX2Nsb3NlAAAWd2FzaV9zbmFwc2hvdF9wcmV2aWV3MQhmZF93cml0ZQAJFndhc2lfc25hcHNob3RfcHJldmlldzEHZmRfc2VlawAIA62AgIAALAMFBgIBAAUGAgEBAAACAAIAAAAHBAQCAgEDAAIAAQ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0APLndNiXreyToev73nBa8aMb4gpSrr1pMEjuhVRJRdCFresET3FSSBb+54tJlqIKxwJlNASCJZJUUWm7AmXdK+G0bDoZXcqzcudgtR+6Nbi5ter7bWNSICrm5nRrhKqZnwPj9XC8vQEMUO96dltNQ92sbcU7T8rbTv9hSj2oMmL7GmTLJpAl+mhJaEQgd9LnWPNhtaypNX/LoG06qk7Nxn5FaLuxdtpe7RZkNLeRKhw86uaL+oWthK+56gT8YlU9GlzvhedaQqWJD+MK4b29g7Wcfjt/e8obJs9ytHmcMqKTKnc1YqQlOgB5e7pkQ9V40YX5BSlXUuBC1vWKL7CqWfcz8As0iL3BZGD8hDJvStxU2vV1vrGtRMeJ+fq4VlX9cmz8e6NuQmXhP/D0pYmyJzDDckvonTW/o5B+xO56zQYWdXtF9ULanoUmd8rzpSWVTnT9hIF8Qg3dJ/ELh5u6tGjC9Iqco60s+5H4BZpEXW4qbXq611Da9rk+djXRtyJPDNtztMqPNdefiH87zGjCyq8ydspAtiVSPGF6RUZR3euJhH/EXWnKcxrXc0tbjjoxyyvx9BaavalYeP17EH1FEO2d+PoLRVKIfs70dQ2ioAQYCQwQILnAEgS1AAAAAAAAUAAAAAAAAAAAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIAAAADAAAAEEtQAAAAAAAAAAAAAAAAAAIAAAAAAAAAAAAAAAAAAAD//////////wAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAhIUAAAQZyRwQILFCRpbnRBcnJheUZyb21TdHJpbmcAAEGwkcECC2Ioc2l6ZV90IGlkeCwgc2l6ZV90IHNpemUpPDo6PnsgdGhyb3cgJ0FycmF5IGluZGV4ICcgKyBpZHggKyAnIG91dCBvZiBib3VuZHM6IFswLCcgKyBzaXplICsgJyknOyB9AA==";function W(e){this.name="ExitStatus",this.message="Program terminated with exit("+e+")",this.status=e}function j(e){for(;e.length>0;)e.shift()(u)}function K(e){return"0x"+e.toString(16).padStart(8,"0")}function X(e){X.shown||(X.shown={}),X.shown[e]||(X.shown[e]=1,I&&(e="warning: "+e),N(e))}var Z=[null,[],[]],$={abort:function(){z("native code called abort()")},array_bounds_check_error:function(e,t){throw"Array index "+e+" out of bounds: [0,"+t+")"},emscripten_resize_heap:function(e){var t=l.length;if(D((e>>>=0)>t),e>0x80000000)return N("Cannot enlarge memory, asked to go up to "+e+" bytes, but the limit is 2147483648 bytes!"),!1;let r=(e,t)=>e+(t-e%t)%t;for(var i=1;i<=4;i*=2){var s=t*(1+.2/i);s=Math.min(s,e+0x6000000);var n=Math.min(0x80000000,r(Math.max(e,s),65536));if(function(e){try{return o.grow(e-A.byteLength+65535>>>16),R(o.buffer),1}catch(t){N("emscripten_realloc_buffer: Attempted to grow heap from "+A.byteLength+" bytes to "+e+" bytes, but got error: "+t)}}(n))return!0}return N("Failed to grow the heap from "+t+" bytes to "+n+" bytes, not enough memory!"),!1},fd_close:function(e){z("fd_close called without SYSCALLS_REQUIRE_FILESYSTEM")},fd_seek:function(e,t,r,i,s){return 70},fd_write:function(e,t,r,i){for(var s=0,n=0;n<r;n++){var o=c[t>>2],a=c[t+4>>2];t+=8;for(var A=0;A<a;A++)!function(e,t){var r=Z[e];D(r),0===t||10===t?((1===e?Q:N)(function(e,t){for(var r=t+void 0,i=t;e[i]&&!(i>=r);)++i;if(i-t>16&&e.buffer&&x)return x.decode(e.subarray(t,i));for(var s="";t<i;){var n=e[t++];if(!(128&n)){s+=String.fromCharCode(n);continue}var o=63&e[t++];if((224&n)==192){s+=String.fromCharCode((31&n)<<6|o);continue}var a=63&e[t++];if((240&n)==224?n=(15&n)<<12|o<<6|a:((248&n)!=240&&X("Invalid UTF-8 leading byte "+K(n)+" encountered when deserializing a UTF-8 string in wasm memory to a JS string!"),n=(7&n)<<18|o<<12|a<<6|63&e[t++]),n<65536)s+=String.fromCharCode(n);else{var A=n-65536;s+=String.fromCharCode(55296|A>>10,56320|1023&A)}}return s}(r,0)),r.length=0):r.push(t)}(e,l[o+A]);s+=a}return c[i>>2]=s,0}};!function(){var e,t,r={env:$,wasi_snapshot_preview1:$};function i(e,t){u.asm=e.exports,D(o=u.asm.memory,"memory not found in wasm exports"),R(o.buffer),D(u.asm.__indirect_function_table,"table not found in wasm exports"),r=u.asm.__wasm_call_ctors,T.unshift(r);var r,i="wasm-instantiate";if(H--,u.monitorRunDependencies&&u.monitorRunDependencies(H),i?(D(G[i]),delete G[i]):N("warning: run dependency removed without ID"),0==H&&(null!==P&&(clearInterval(P),P=null),Y)){var s=Y;Y=null,s()}}e="wasm-instantiate",H++,u.monitorRunDependencies&&u.monitorRunDependencies(H),e?(D(!G[e]),G[e]=1,null===P&&"u">typeof setInterval&&(P=setInterval(function(){if(w){clearInterval(P),P=null;return}var e=!1;for(var t in G)e||(e=!0,N("still waiting on run dependencies:")),N("dependency: "+t);e&&N("(end of list)")},1e4))):N("warning: run dependency added without ID");var s=u;if(u.instantiateWasm)try{return u.instantiateWasm(r,i)}catch(e){N("Module.instantiateWasm callback failed with error: "+e),n(e)}(t=function(e){D(u===s,"the Module object should not be replaced during async compilation - perhaps the order of HTML elements is wrong?"),s=null,i(e.instance)},Promise.resolve().then(function(){if("function"==typeof Buffer)return Buffer.from(J,"base64");for(var e=window.atob(J),t=e.length,r=new Uint8Array(t),i=0;i<t;i++)r[i]=e.charCodeAt(i);return r}).then(function(e){return WebAssembly.instantiate(e,r)}).then(function(e){return e}).then(t,function(e){N("failed to asynchronously prepare wasm: "+e),V(d)&&N("warning: Loading from a file URI ("+d+") is not supported in most browsers. See https://emscripten.org/docs/getting_started/FAQ.html#how-do-i-run-a-local-webserver-for-testing-why-does-my-program-stall-in-downloading-or-preparing"),z(e)})).catch(n)}(),u.___wasm_call_ctors=_("__wasm_call_ctors");var ee=u._emscripten_bind_VoidPtr___destroy___0=_("emscripten_bind_VoidPtr___destroy___0"),et=u._emscripten_bind_Crc64Hash_Crc64Hash_0=_("emscripten_bind_Crc64Hash_Crc64Hash_0"),er=u._emscripten_bind_Crc64Hash_OnAppend_2=_("emscripten_bind_Crc64Hash_OnAppend_2"),ei=u._emscripten_bind_Crc64Hash_OnFinal_3=_("emscripten_bind_Crc64Hash_OnFinal_3"),es=u._emscripten_bind_Crc64Hash___destroy___0=_("emscripten_bind_Crc64Hash___destroy___0");u.___errno_location=_("__errno_location"),u._fflush=_("fflush"),u._malloc=_("malloc"),u._free=_("free");var eo=u._emscripten_stack_init=function(){return(eo=u._emscripten_stack_init=u.asm.emscripten_stack_init).apply(null,arguments)},ea=(u._emscripten_stack_get_free=function(){return(u._emscripten_stack_get_free=u.asm.emscripten_stack_get_free).apply(null,arguments)},u._emscripten_stack_get_base=function(){return(u._emscripten_stack_get_base=u.asm.emscripten_stack_get_base).apply(null,arguments)},u._emscripten_stack_get_end=function(){return(ea=u._emscripten_stack_get_end=u.asm.emscripten_stack_get_end).apply(null,arguments)});function eA(e){var t,r;if(e=e||m,!(H>0)){if(eo(),D((3&(t=ea()))==0),0==t&&(t+=4),c[t>>2]=0x2135467,c[t+4>>2]=0x89bacdfe,c[0]=0x63736d65,u.preRun)for("function"==typeof u.preRun&&(u.preRun=[u.preRun]);u.preRun.length;){r=u.preRun.shift(),v.unshift(r)}j(v),H>0||(u.setStatus?(u.setStatus("Running..."),setTimeout(function(){setTimeout(function(){u.setStatus("")},1),s()},1)):s(),k())}function s(){if(!g&&(g=!0,u.calledRun=!0,!w)){if(D(!O),O=!0,k(),j(T),i(u),u.onRuntimeInitialized&&u.onRuntimeInitialized(),D(!u._main,'compiled without a main, but one is present. if you added it from JS, use Module["onRuntimeInitialized"]'),k(),u.postRun)for("function"==typeof u.postRun&&(u.postRun=[u.postRun]);u.postRun.length;){var e;e=u.postRun.shift(),L.unshift(e)}j(L)}}}if(u.stackSave=_("stackSave"),u.stackRestore=_("stackRestore"),u.stackAlloc=_("stackAlloc"),u._emscripten_stack_get_current=function(){return(u._emscripten_stack_get_current=u.asm.emscripten_stack_get_current).apply(null,arguments)},u.dynCall_jiji=_("dynCall_jiji"),u.___start_em_js=5261488,u.___stop_em_js=5261586,["run","UTF8ArrayToString","UTF8ToString","stringToUTF8Array","stringToUTF8","lengthBytesUTF8","addOnPreRun","addOnInit","addOnPreMain","addOnExit","addOnPostRun","addRunDependency","removeRunDependency","FS_createFolder","FS_createPath","FS_createDataFile","FS_createPreloadedFile","FS_createLazyFile","FS_createLink","FS_createDevice","FS_unlink","getLEB","getFunctionTables","alignFunctionTables","registerFunctions","prettyPrint","getCompilerSetting","out","err","callMain","abort","keepRuntimeAlive","wasmMemory","stackAlloc","stackSave","stackRestore","getTempRet0","setTempRet0","writeStackCookie","checkStackCookie","ptrToString","zeroMemory","stringToNewUTF8","exitJS","getHeapMax","emscripten_realloc_buffer","ENV","ERRNO_CODES","ERRNO_MESSAGES","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","DNS","getHostByName","Protocols","Sockets","getRandomDevice","warnOnce","traverseStack","UNWIND_CACHE","convertPCtoSourceLocation","readEmAsmArgsArray","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertI32PairToI53Checked","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","freeTableIndexes","functionsInTableMap","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","setValue","getValue","PATH","PATH_FS","intArrayFromString","intArrayToString","AsciiToString","stringToAscii","UTF16Decoder","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","SYSCALLS","getSocketFromFD","getSocketAddress","JSEvents","registerKeyEventCallback","specialHTMLTargets","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","currentFullscreenStrategy","restoreOldWindowedStyle","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","ExitStatus","getEnvStrings","checkWasiClock","flush_NO_FILESYSTEM","dlopenMissingError","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","uncaughtExceptionCount","exceptionLast","exceptionCaught","ExceptionInfo","exception_addRef","exception_decRef","Browser","setMainLoop","wget","FS","MEMFS","TTY","PIPEFS","SOCKFS","_setNetworkCallback","tempFixedLengthArray","miniTempWebGLFloatBuffers","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","GL","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","AL","SDL_unicode","SDL_ttfContext","SDL_audio","SDL","SDL_gfx","GLUT","EGL","GLFW_Window","GLFW","GLEW","IDBStore","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){Object.getOwnPropertyDescriptor(u,e)||Object.defineProperty(u,e,{configurable:!0,get:function(){var t="'"+e+"' was not exported. add it to EXPORTED_RUNTIME_METHODS (see the FAQ)";S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),z(t)}})}),["zeroMemory","stringToNewUTF8","exitJS","setErrNo","inetPton4","inetNtop4","inetPton6","inetNtop6","readSockaddr","writeSockaddr","getHostByName","getRandomDevice","traverseStack","convertPCtoSourceLocation","readEmAsmArgs","runEmAsmFunction","runMainThreadEmAsm","jstoi_q","jstoi_s","getExecutableName","listenOnce","autoResumeAudioContext","dynCallLegacy","getDynCaller","dynCall","handleException","runtimeKeepalivePush","runtimeKeepalivePop","callUserCallback","maybeExit","safeSetTimeout","asmjsMangle","asyncLoad","alignMemory","mmapAlloc","writeI53ToI64","writeI53ToI64Clamped","writeI53ToI64Signaling","writeI53ToU64Clamped","writeI53ToU64Signaling","readI53FromI64","readI53FromU64","convertI32PairToI53","convertU32PairToI53","getCFunc","ccall","cwrap","uleb128Encode","sigToWasmTypes","generateFuncType","convertJsFunctionToWasm","getEmptyTableSlot","updateTableMap","addFunction","removeFunction","reallyNegative","unSign","strLen","reSign","formatString","intArrayToString","AsciiToString","stringToAscii","UTF16ToString","stringToUTF16","lengthBytesUTF16","UTF32ToString","stringToUTF32","lengthBytesUTF32","allocateUTF8","allocateUTF8OnStack","writeStringToMemory","writeArrayToMemory","writeAsciiToMemory","getSocketFromFD","getSocketAddress","registerKeyEventCallback","maybeCStringToJsString","findEventTarget","findCanvasEventTarget","getBoundingClientRect","fillMouseEventData","registerMouseEventCallback","registerWheelEventCallback","registerUiEventCallback","registerFocusEventCallback","fillDeviceOrientationEventData","registerDeviceOrientationEventCallback","fillDeviceMotionEventData","registerDeviceMotionEventCallback","screenOrientation","fillOrientationChangeEventData","registerOrientationChangeEventCallback","fillFullscreenChangeEventData","registerFullscreenChangeEventCallback","JSEvents_requestFullscreen","JSEvents_resizeCanvasForFullscreen","registerRestoreOldStyle","hideEverythingExceptGivenElement","restoreHiddenElements","setLetterbox","softFullscreenResizeWebGLRenderTarget","doRequestFullscreen","fillPointerlockChangeEventData","registerPointerlockChangeEventCallback","registerPointerlockErrorEventCallback","requestPointerLock","fillVisibilityChangeEventData","registerVisibilityChangeEventCallback","registerTouchEventCallback","fillGamepadEventData","registerGamepadEventCallback","registerBeforeUnloadEventCallback","fillBatteryEventData","battery","registerBatteryEventCallback","setCanvasElementSize","getCanvasElementSize","demangle","demangleAll","jsStackTrace","stackTrace","getEnvStrings","checkWasiClock","createDyncallWrapper","setImmediateWrapped","clearImmediateWrapped","polyfillSetImmediate","ExceptionInfo","exception_addRef","exception_decRef","setMainLoop","_setNetworkCallback","heapObjectForWebGLType","heapAccessShiftForWebGLHeap","emscriptenWebGLGet","computeUnpackAlignedImageSize","emscriptenWebGLGetTexPixelData","emscriptenWebGLGetUniform","webglGetUniformLocation","webglPrepareUniformLocationsBeforeFirstUse","webglGetLeftBracePos","emscriptenWebGLGetVertexAttrib","writeGLArray","SDL_unicode","SDL_ttfContext","SDL_audio","GLFW_Window","runAndAbortIfError","ALLOC_NORMAL","ALLOC_STACK","allocate"].forEach(function(e){"u">typeof globalThis&&!Object.getOwnPropertyDescriptor(globalThis,e)&&Object.defineProperty(globalThis,e,{configurable:!0,get:function(){var t="`"+e+"` is a library symbol and not included by default; add it to your library.js __deps or to DEFAULT_LIBRARY_FUNCS_TO_INCLUDE on the command line",r=e;r.startsWith("_")||(r="$"+e),t+=" (e.g. -sDEFAULT_LIBRARY_FUNCS_TO_INCLUDE="+r+")",S(e)&&(t+=". Alternatively, forcing filesystem support (-sFORCE_FILESYSTEM) can export this for you"),X(t)}})}),Y=function e(){g||eA(),g||(Y=e)},u.preInit)for("function"==typeof u.preInit&&(u.preInit=[u.preInit]);u.preInit.length>0;)u.preInit.pop()();function el(){}function ec(e){return(e||el).__cache__}function ed(e,t){var r=ec(t),i=r[e];return i||((i=Object.create((t||el).prototype)).ptr=e,r[e]=i)}function eg(){throw"cannot construct a VoidPtr, no constructor in IDL"}function eu(){this.ptr=et(),ec(eu)[this.ptr]=this}return eA(),el.prototype=Object.create(el.prototype),el.prototype.constructor=el,el.prototype.__class__=el,el.__cache__={},u.WrapperObject=el,u.getCache=ec,u.wrapPointer=ed,u.castObject=function(e,t){return ed(e.ptr,t)},u.NULL=ed(0),u.destroy=function(e){if(!e.__destroy__)throw"Error: Cannot destroy object. (Did you create it yourself?)";e.__destroy__(),delete ec(e.__class__)[e.ptr]},u.compare=function(e,t){return e.ptr===t.ptr},u.getPointer=function(e){return e.ptr},u.getClass=function(e){return e.__class__},eg.prototype=Object.create(el.prototype),eg.prototype.constructor=eg,eg.prototype.__class__=eg,eg.__cache__={},u.VoidPtr=eg,eg.prototype.__destroy__=eg.prototype.__destroy__=function(){ee(this.ptr)},eu.prototype=Object.create(el.prototype),eu.prototype.constructor=eu,eu.prototype.__class__=eu,eu.__cache__={},u.Crc64Hash=eu,eu.prototype.OnAppend=eu.prototype.OnAppend=function(e,t){var r=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),er(r,e,t)},eu.prototype.OnFinal=eu.prototype.OnFinal=function(e,t,r){var i=this.ptr;e&&"object"==typeof e&&(e=e.ptr),t&&"object"==typeof t&&(t=t.ptr),r&&"object"==typeof r&&(r=r.ptr),ei(i,e,t,r)},eu.prototype.__destroy__=eu.prototype.__destroy__=function(){es(this.ptr)},e.ready});class E9{nativeCrc64Hash;static nativeInstance;constructor(){this.nativeCrc64Hash=new E9.nativeInstance.Crc64Hash}static initPromise;static async init(){return this.initPromise||(this.initPromise=E8().then(e=>{this.nativeInstance=e})),this.initPromise}append(e,t){let r=E9.nativeInstance._malloc(t);E9.nativeInstance.HEAPU8.set(e,r),this.nativeCrc64Hash.OnAppend(r,t),E9.nativeInstance._free(r)}final(e,t){let r=E9.nativeInstance._malloc(t);E9.nativeInstance.HEAPU8.set(e,r);let i=E9.nativeInstance._malloc(8);this.nativeCrc64Hash.OnFinal(r,t,i),E9.nativeInstance._free(r);let s=new Uint8Array(8);return s.set(E9.nativeInstance.HEAPU8.subarray(i,i+8)),E9.nativeInstance._free(i),s}}(eo=eB||(eB={}))[eo.StreamHeader=0]="StreamHeader",eo[eo.StreamFooter=1]="StreamFooter",eo[eo.SegmentHeader=2]="SegmentHeader",eo[eo.SegmentFooter=3]="SegmentFooter",eo[eo.SegmentContent=4]="SegmentContent",eo[eo.Completed=5]="Completed";class E6{pushData;contentLength;messageLength;constructor(e,t){this.pushData=e,this.contentLength=t,this.contentOffset=0,this.currentDataOffset=0,this.segmentsCount=Math.ceil(this.contentLength/4194304),this.messageLength=this.contentLength+13+18*this.segmentsCount+8,this.messageHeaderBuffer=new Uint8Array(13),this.segmentNumber=0,this.segmentContentLength=0,this.segmentContentOffset=0,this.state=eB.StreamHeader,this.segmentCrc64=new E9,this.messageCrc64=new E9}currentDataOffset;contentOffset;segmentsCount;messageHeaderBuffer;segmentNumber;segmentContentLength;segmentContentOffset;segmentCrc64;messageCrc64;state;sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===eB.StreamHeader&&this.handlingMessageHeader();this.segmentNumber<this.segmentsCount&&(this.segmentContentLength=Math.min(4194304,this.contentLength-this.contentOffset),this.state===eB.SegmentHeader&&this.handlingSegmentHeader(),this.state===eB.SegmentContent&&this.handlingSegmentContent(e),this.state===eB.SegmentFooter&&(this.handlingSegmentFooter(),this.contentOffset+=this.segmentContentLength),this.currentDataOffset!==e.length););this.state===eB.StreamFooter&&this.handlingMessageFooter()};handlingMessageHeader(){this.messageHeaderBuffer[0]=1,this.fillInt64(this.messageHeaderBuffer,1,this.messageLength),this.fillInt16(this.messageHeaderBuffer,9,1),this.fillInt16(this.messageHeaderBuffer,11,this.segmentsCount),this.pushData(this.messageHeaderBuffer),this.state=eB.SegmentHeader}handlingSegmentHeader(){let e=new Uint8Array(10);this.fillInt16(e,0,this.segmentNumber+1),this.fillInt64(e,2,this.segmentContentLength),this.segmentContentOffset=0,this.pushData(e),this.state=eB.SegmentContent}handlingSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset);if(0!==t){let r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.messageCrc64.append(r,t),this.segmentCrc64.append(r,t),this.pushData(r)}this.segmentContentOffset+=t,this.currentDataOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=eB.SegmentFooter)}handlingSegmentFooter(){let e=this.segmentCrc64.final(new Uint8Array([]),0);this.pushData(e),this.segmentCrc64=new E9,++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=eB.StreamFooter:this.state=eB.SegmentHeader}handlingMessageFooter(){let e=this.messageCrc64.final(new Uint8Array([]),0);this.pushData(e),(0,this.pushData)(null),this.state=eB.Completed}fillInt64(e,t,r){if(e.length<t+8)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,8).setBigUint64(0,BigInt(r),!0)}fillInt16(e,t,r){if(e.length<t+2)throw Error("Uint8Array length is not expected.");new DataView(e.buffer,e.byteOffset+t,2).setUint16(0,r,!0)}}async function E7(e,t){if(null===e)return{body:e,encodedContentLength:t};if(null!==e&&e instanceof px&&"function"==typeof e._read&&"object"==typeof e._readableState&&"function"==typeof e.pipe){let r=new Br(e,t,{});return{body:r,encodedContentLength:r.messageLength()}}if("function"==typeof e){let r=new Br(e(),t,{});return{body:r,encodedContentLength:r.messageLength()}}if(e instanceof Blob){let r=await Bt(e,t);return{body:r.content,encodedContentLength:r.encodedContentLength}}if("string"==typeof e){let t=new px.Readable;t._read=()=>{},t.push(e),t.push(null);let r=Buffer.byteLength(e),i=await new Br(t,r,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof ArrayBuffer){let r=px.Readable.from(Buffer.from(e)),i=await new Br(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(e instanceof Buffer){let r=px.Readable.from(e),i=await new Br(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}if(ArrayBuffer.isView(e)){let r=px.Readable.from(Buffer.from(e.buffer,e.byteOffset,e.byteLength)),i=await new Br(r,t,{});return{body:i,encodedContentLength:i.messageLength()}}throw Error("The specified request body type is not supported for CRC64 checksum")}async function Be(e,t,r){let{done:i,value:s}=await e.read();i?t.close():r.sourceDataHandler(Buffer.from(s))}async function Bt(e,t){let r,i=(e instanceof Blob?e.stream():e).getReader(),s=new Response(new ReadableStream({start(e){r=new E6(t=>{e.enqueue(t)},t)},pull(e){Be(i,e,r).then(()=>{}).catch(function(t){e.error(t)})}}));return{content:await s.blob(),encodedContentLength:r.messageLength}}class Br extends px.Readable{source;encodingMethods;constructor(e,t,r){super({highWaterMark:r.highWaterMark}),this.source=e,this.encodingMethods=new E6(t=>{this.push(t)||e.pause()},t),this.setSourceEventHandlers()}messageLength(){return this.encodingMethods.messageLength}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{this.encodingMethods.sourceDataHandler(e)};sourceAbortedHandler=()=>{let e=new Ia("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):this.removeSourceEventHandlers()};_read(){this.source.resume()}_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}(ea=ey||(ey={}))[ea.StreamHeader=0]="StreamHeader",ea[ea.StreamFooter=1]="StreamFooter",ea[ea.SegmentHeader=2]="SegmentHeader",ea[ea.SegmentFooter=3]="SegmentFooter",ea[ea.SegmentContent=4]="SegmentContent";class Bi{pushData;segmentsCount;currentOffset;currentDataOffset;messageHeaderBuffer;messageHeaderOffset;segmentNumber;segmentHeaderOffset;segmentHeaderBuffer;segmentContentOffset;segmentContentLength;segmentFooterOffset;segmentFooterBuffer;messageFooterOffset;messageFooterBuffer;segmentCrc64;messageCrc64;state;constructor(e){this.pushData=e,this.currentOffset=0,this.segmentsCount=0,this.messageHeaderOffset=0,this.messageHeaderBuffer=new Uint8Array(13),this.currentDataOffset=0,this.segmentNumber=0,this.segmentHeaderOffset=0,this.segmentHeaderBuffer=new Uint8Array(10),this.segmentContentOffset=0,this.segmentContentLength=0,this.state=ey.StreamHeader,this.segmentFooterOffset=0,this.segmentFooterBuffer=new Uint8Array(8),this.messageFooterOffset=0,this.messageFooterBuffer=new Uint8Array(8),this.segmentCrc64=new E9,this.messageCrc64=new E9}sourceDataHandler=e=>{for(this.currentDataOffset=0,this.state===ey.StreamHeader&&this.parseMessageHeader(e);this.segmentNumber<this.segmentsCount&&this.currentDataOffset<e.length;)this.state===ey.SegmentHeader&&this.parseSegmentHeader(e),this.state===ey.SegmentContent&&this.parseSegmentContent(e),this.state===ey.SegmentFooter&&this.parseSegmentFooter(e);this.state===ey.StreamFooter&&this.parseMessageFooter(e)};parseMessageHeader(e){let t=Math.min(13-this.messageHeaderOffset,e.length-this.currentDataOffset);if(this.messageHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageHeaderOffset),this.currentDataOffset+=t,this.messageHeaderOffset+=t,this.currentOffset+=t,13===this.messageHeaderOffset){if(1!==this.messageHeaderBuffer[0])throw Error("Unexpected message version");this.segmentsCount=this.toInt16(Uint8Array.prototype.slice.call(this.messageHeaderBuffer,11,13)),this.state=ey.SegmentHeader}}parseSegmentHeader(e){let t=Math.min(10-this.segmentHeaderOffset,e.length-this.currentDataOffset);if(this.segmentHeaderBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentHeaderOffset),this.currentDataOffset+=t,this.segmentHeaderOffset+=t,this.currentOffset+=t,10===this.segmentHeaderOffset){if(this.toInt16(Uint8Array.prototype.slice.call(this.segmentHeaderBuffer,0,2))!==this.segmentNumber+1)throw Error("Segment number is unexpected.");this.segmentContentLength=this.toInt64(this.segmentHeaderBuffer,2),this.segmentContentOffset=0,this.state=ey.SegmentContent}}parseSegmentContent(e){let t=Math.min(this.segmentContentLength-this.segmentContentOffset,e.length-this.currentDataOffset),r=Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t);this.segmentCrc64.append(r,t),this.messageCrc64.append(r,t),this.pushData(r),this.currentDataOffset+=t,this.segmentContentOffset+=t,this.currentOffset+=t,this.segmentContentOffset===this.segmentContentLength&&(this.state=ey.SegmentFooter)}parseSegmentFooter(e){let t=Math.min(8-this.segmentFooterOffset,e.length-this.currentDataOffset);if(this.segmentFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.segmentFooterOffset),this.currentDataOffset+=t,this.segmentFooterOffset+=t,this.currentOffset+=t,8===this.segmentFooterOffset){let e=this.segmentCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.segmentFooterBuffer))throw Error(`Segment check sum mismatch, segmentNumber: ${this.segmentNumber}`);++this.segmentNumber,this.segmentNumber===this.segmentsCount?this.state=ey.StreamFooter:(this.segmentHeaderOffset=0,this.segmentFooterOffset=0,this.segmentCrc64=new E9,this.state=ey.SegmentHeader)}}parseMessageFooter(e){let t=Math.min(8-this.messageFooterOffset,e.length-this.currentDataOffset);if(this.messageFooterBuffer.set(Uint8Array.prototype.slice.call(e,this.currentDataOffset,this.currentDataOffset+t),this.messageFooterOffset),this.currentDataOffset+=t,this.messageFooterOffset+=t,this.currentOffset+=t,8===this.messageFooterOffset){let e=this.messageCrc64.final(new Uint8Array([]),0);if(!this.checkCrc64CheckSum(e,this.messageFooterBuffer))throw Error("Check sum mismatch");this.pushData(null)}}toInt64(e,t){if(e.length<t+8)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return Number(new DataView(e.buffer,e.byteOffset+t,8).getBigUint64(0,!0))}toInt16(e){if(2!==e.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");return e[0]+256*e[1]}checkCrc64CheckSum(e,t){if(8!==e.length||8!==t.length)throw Error("CRC64 buffer error, something wrong with crc64 calculator");for(let r=0;r<8;++r)if(e[r]!==t[r])return!1;return!0}}class Bs extends px.Readable{source;decodingMethods;constructor(e,t){super({highWaterMark:t.highWaterMark}),this.source=e,this.decodingMethods=new Bi(t=>{this.push(t)||e.pause()}),this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{try{this.decodingMethods.sourceDataHandler(e)}catch(e){this.destroy(e)}};sourceAbortedHandler=()=>{let e=new Ia("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e?this.destroy(e):this.removeSourceEventHandlers()};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class Bn{_nextPolicy;_options;constructor(e,t){this._nextPolicy=e,this._options=t}shouldLog(e){return this._options.shouldLog(e)}log(e,t){this._options.log(e,t)}}class Bo extends Bn{constructor(e,t){super(e,t)}async sendRequest(e){return this._nextPolicy.sendRequest(e)}}class Ba{create(e,t){return new Bo(e,t)}}class BA extends Bn{sendRequest(e){return this._nextPolicy.sendRequest(this.signRequest(e))}signRequest(e){return e}}class Bl extends BA{constructor(e,t){super(e,t)}}class Bc{create(e,t){throw Error("Method should be implemented in children classes.")}}class Bd extends Bc{create(e,t){return new Bl(e,t)}}let Bg="timeout",Bu="Authorization",Bh="Content-Encoding",Bm="Content-Language",Bp="Content-Length",BC="Content-Md5",BI="Content-Type",Bf="date",BE="if-match",BB="if-modified-since",By="if-none-match",BQ="if-unmodified-since",BN="x-ms-",Bb="Range",BS="x-ms-date",Bw="x-ms-copy-source-error-code";function BD(e,t,r){let i=new URL(e),s=encodeURIComponent(t),n=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==s&&a.push(e)}return n&&a.push(`${s}=${n}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function Bx(e,t){let r=new URL(e);return r.hostname=t,r.toString()}function BR(e){try{return new URL(e).pathname}catch(e){return}}function BM(e){let t=new URL(e).search;if(!t)return{};let r=(t=(t=t.trim()).startsWith("?")?t.substring(1):t).split("&");r=r.filter(e=>{let t=e.indexOf("="),r=e.lastIndexOf("=");return t>0&&t===r&&r<e.length-1});let i={};for(let e of r){let t=e.split("="),r=t[0],s=t[1];i[r]=s}return i}async function Bk(e,t,r){return new Promise((i,s)=>{let n,o=()=>{void 0!==n&&clearTimeout(n),s(r)};n=setTimeout(()=>{void 0!==t&&t.removeEventListener("abort",o),i()},e),void 0!==t&&t.addEventListener("abort",o)})}let BF=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1820,0,1823,1825,1827,1829,0,0,0,1837,2051,0,0,1843,0,3331,3354,3356,3358,3360,3362,3364,3366,3368,3370,0,0,0,0,0,0,0,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,0,0,1859,1860,1864,3586,3593,3594,3610,3617,3619,3621,3628,3634,3637,3638,3656,3665,3696,3708,3710,3721,3722,3729,3737,3743,3746,3748,3750,3751,3753,0,1868,0,1872,0]),BU=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,18,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),Bv=new Uint32Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,32786,0,0,0,0,0,33298,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]);function BT(e,t){return!function(e,t){let r=[BF,BU,Bv],i=0,s=0,n=0;for(;i<r.length;){if(i===r.length-1&&s!==n)return s>n;let o=s<e.length?r[i][e[s].charCodeAt(0)]:1,a=n<t.length?r[i][t[n].charCodeAt(0)]:1;if(1===o&&1===a)s=0,n=0,++i;else if(o===a)++s,++n;else if(0===o)++s;else{if(0!==a)return o<a;++n}}return!1}(e,t)?1:-1}class BL extends BA{factory;constructor(e,t,r){super(e,t),this.factory=r}signRequest(e){e.headers.set(BS,new Date().toUTCString()),e.body&&("string"==typeof e.body||void 0!==e.body)&&e.body.length>0&&e.headers.set(Bp,Buffer.byteLength(e.body));let t=[e.method.toUpperCase(),this.getHeaderValueToSign(e,Bm),this.getHeaderValueToSign(e,Bh),this.getHeaderValueToSign(e,Bp),this.getHeaderValueToSign(e,BC),this.getHeaderValueToSign(e,BI),this.getHeaderValueToSign(e,Bf),this.getHeaderValueToSign(e,BB),this.getHeaderValueToSign(e,BE),this.getHeaderValueToSign(e,By),this.getHeaderValueToSign(e,BQ),this.getHeaderValueToSign(e,Bb)].join("\n")+"\n"+this.getCanonicalizedHeadersString(e)+this.getCanonicalizedResourceString(e),r=this.factory.computeHMACSHA256(t);return e.headers.set(Bu,`SharedKey ${this.factory.accountName}:${r}`),e}getHeaderValueToSign(e,t){let r=e.headers.get(t);return r&&(t!==Bp||"0"!==r)?r:""}getCanonicalizedHeadersString(e){let t=e.headers.headersArray().filter(e=>e.name.toLowerCase().startsWith(BN));t.sort((e,t)=>BT(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}getCanonicalizedResourceString(e){let t=BR(e.url)||"/",r="";r+=`/${this.factory.accountName}${t}`;let i=BM(e.url),s={};if(i){let e=[];for(let t in i)if(Object.prototype.hasOwnProperty.call(i,t)){let r=t.toLowerCase();s[r]=i[t],e.push(r)}for(let t of(e.sort(),e))r+=` +${t}:${decodeURIComponent(s[t])}`}return r}}class BO extends Bc{accountName;accountKey;constructor(e,t){super(),this.accountName=e,this.accountKey=Buffer.from(t,"base64")}create(e,t){return new BL(e,t,this)}computeHMACSHA256(e){return(0,uu.createHmac)("sha256",this.accountKey).update(e,"utf8").digest("base64")}}let BH=C7("storage-common");(eA=eQ||(eQ={}))[eA.EXPONENTIAL=0]="EXPONENTIAL",eA[eA.FIXED=1]="FIXED";let BP={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eQ.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},BY=new Ia("The operation was aborted.");class BG extends Bn{retryOptions;constructor(e,t,r=BP){super(e,t),this.retryOptions={retryPolicyType:r.retryPolicyType?r.retryPolicyType:BP.retryPolicyType,maxTries:r.maxTries&&r.maxTries>=1?Math.floor(r.maxTries):BP.maxTries,tryTimeoutInMs:r.tryTimeoutInMs&&r.tryTimeoutInMs>=0?r.tryTimeoutInMs:BP.tryTimeoutInMs,retryDelayInMs:r.retryDelayInMs&&r.retryDelayInMs>=0?Math.min(r.retryDelayInMs,r.maxRetryDelayInMs?r.maxRetryDelayInMs:BP.maxRetryDelayInMs):BP.retryDelayInMs,maxRetryDelayInMs:r.maxRetryDelayInMs&&r.maxRetryDelayInMs>=0?r.maxRetryDelayInMs:BP.maxRetryDelayInMs,secondaryHost:r.secondaryHost?r.secondaryHost:BP.secondaryHost}}async sendRequest(e){return this.attemptSendRequest(e,!1,1)}async attemptSendRequest(e,t,r){let i,s=e.clone(),n=t||!this.retryOptions.secondaryHost||"GET"!==e.method&&"HEAD"!==e.method&&"OPTIONS"!==e.method||r%2==1;n||(s.url=Bx(s.url,this.retryOptions.secondaryHost)),this.retryOptions.tryTimeoutInMs&&(s.url=BD(s.url,Bg,Math.floor(this.retryOptions.tryTimeoutInMs/1e3).toString()));try{if(BH.info(`RetryPolicy: =====> Try=${r} ${n?"Primary":"Secondary"}`),i=await this._nextPolicy.sendRequest(s),!this.shouldRetry(n,r,i))return i;t=t||!n&&404===i.status}catch(e){if(BH.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),!this.shouldRetry(n,r,i,e))throw e}return await this.delay(n,r,e.abortSignal),this.attemptSendRequest(e,t,++r)}shouldRetry(e,t,r,i){if(t>=this.retryOptions.maxTries)return BH.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${this.retryOptions.maxTries}, no further try.`),!1;if(i){for(let e of["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"])if(i.name.toUpperCase().includes(e)||i.message.toUpperCase().includes(e)||i.code&&i.code.toString().toUpperCase()===e)return BH.info(`RetryPolicy: Network error ${e} found, will retry.`),!0}if(r||i){let t=r?r.status:i?i.statusCode:0;if(!e&&404===t)return BH.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return BH.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(r&&r?.status>=400){let e=r.headers.get(Bw);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!!(i?.code==="PARSE_ERROR"&&i?.message.startsWith('Error "Error: Unclosed root tag'))&&(BH.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0)}async delay(e,t,r){let i=0;if(e)switch(this.retryOptions.retryPolicyType){case eQ.EXPONENTIAL:i=Math.min((Math.pow(2,t-1)-1)*this.retryOptions.retryDelayInMs,this.retryOptions.maxRetryDelayInMs);break;case eQ.FIXED:i=this.retryOptions.retryDelayInMs}else i=1e3*Math.random();return BH.info(`RetryPolicy: Delay for ${i}ms`),Bk(i,r,BY)}}class Bz{retryOptions;constructor(e){this.retryOptions=e}create(e,t){return new BG(e,t,this.retryOptions)}}let Bq={maxRetryDelayInMs:12e4,maxTries:4,retryDelayInMs:4e3,retryPolicyType:eQ.EXPONENTIAL,secondaryHost:"",tryTimeoutInMs:void 0},BV=["ETIMEDOUT","ESOCKETTIMEDOUT","ECONNREFUSED","ECONNRESET","ENOENT","ENOTFOUND","TIMEOUT","EPIPE","REQUEST_SEND_ERROR"],B_=new Ia("The operation was aborted.");class BJ{accountName;userDelegationKey;key;constructor(e,t){this.accountName=e,this.userDelegationKey=t,this.key=Buffer.from(t.value,"base64")}computeHMACSHA256(e){return(0,uu.createHmac)("sha256",this.key).update(e,"utf8").digest("base64")}}let BW="12.33.0",Bj="2026-06-06",BK="snapshot",BX="versionid",BZ=["Access-Control-Allow-Origin","Cache-Control","Content-Length","Content-Type","Date","Request-Id","traceparent","Transfer-Encoding","User-Agent","x-ms-client-request-id","x-ms-date","x-ms-error-code","x-ms-request-id","x-ms-return-client-request-id","x-ms-version","Accept-Ranges","Content-Disposition","Content-Encoding","Content-Language","Content-MD5","Content-Range","ETag","Last-Modified","Server","Vary","x-ms-content-crc64","x-ms-copy-action","x-ms-copy-completion-time","x-ms-copy-id","x-ms-copy-progress","x-ms-copy-status","x-ms-has-immutability-policy","x-ms-has-legal-hold","x-ms-lease-state","x-ms-lease-status","x-ms-range","x-ms-request-server-encrypted","x-ms-server-encrypted","x-ms-snapshot","x-ms-source-range","If-Match","If-Modified-Since","If-None-Match","If-Unmodified-Since","x-ms-access-tier","x-ms-access-tier-change-time","x-ms-access-tier-inferred","x-ms-account-kind","x-ms-archive-status","x-ms-blob-append-offset","x-ms-blob-cache-control","x-ms-blob-committed-block-count","x-ms-blob-condition-appendpos","x-ms-blob-condition-maxsize","x-ms-blob-content-disposition","x-ms-blob-content-encoding","x-ms-blob-content-language","x-ms-blob-content-length","x-ms-blob-content-md5","x-ms-blob-content-type","x-ms-blob-public-access","x-ms-blob-sequence-number","x-ms-blob-type","x-ms-copy-destination-snapshot","x-ms-creation-time","x-ms-default-encryption-scope","x-ms-delete-snapshots","x-ms-delete-type-permanent","x-ms-deny-encryption-scope-override","x-ms-encryption-algorithm","x-ms-if-sequence-number-eq","x-ms-if-sequence-number-le","x-ms-if-sequence-number-lt","x-ms-incremental-copy","x-ms-lease-action","x-ms-lease-break-period","x-ms-lease-duration","x-ms-lease-id","x-ms-lease-time","x-ms-page-write","x-ms-proposed-lease-id","x-ms-range-get-content-md5","x-ms-rehydrate-priority","x-ms-sequence-number-action","x-ms-sku-name","x-ms-source-content-md5","x-ms-source-if-match","x-ms-source-if-modified-since","x-ms-source-if-none-match","x-ms-source-if-unmodified-since","x-ms-tag-count","x-ms-encryption-key-sha256","x-ms-copy-source-error-code","x-ms-copy-source-status-code","x-ms-if-tags","x-ms-source-if-tags"],B$=["comp","maxresults","rscc","rscd","rsce","rscl","rsct","se","si","sip","sp","spr","sr","srt","ss","st","sv","include","marker","prefix","copyid","restype","blockid","blocklisttype","delimiter","prevsnapshot","ske","skoid","sks","skt","sktid","skv","snapshot"],B0=["10000","10001","10002","10003","10004","10100","10101","10102","10103","10104","11000","11001","11002","11003","11004","11100","11101","11102","11103","11104"];function B1(e){return!!e&&"object"==typeof e&&Array.isArray(e.factories)&&"object"==typeof e.options&&"function"==typeof e.toServiceClientOptions}class B2{factories;options;constructor(e,t={}){this.factories=e,this.options=t}toServiceClientOptions(){return{httpClient:this.options.httpClient,requestPolicyFactories:this.factories}}}function B3(e,t={}){e||(e=new Bd);let r=new B2([],t);return r._credential=e,r}function B5(e){if(e._credential)return e._credential;let t=new Bd;for(let r of e.factories)if(IS(r.credential))t=r.credential;else if(B4(r))return r;return t}function B4(e){return e instanceof BO||"StorageSharedKeyCredential"===e.constructor.name}function B8(e){return e instanceof Bd||"AnonymousCredential"===e.constructor.name}function B9(e){return IS(e.credential)}function B6(e){return e instanceof Ba||"StorageBrowserPolicyFactory"===e.constructor.name}function B7(e){return e instanceof Bz||"StorageRetryPolicyFactory"===e.constructor.name}function ye(e){return"TelemetryPolicyFactory"===e.constructor.name}function yt(e){let t=e.create({sendRequest:async e=>({request:e,headers:e.headers.clone(),status:500})},{log(e,t){},shouldLog:e=>!1}).constructor.name;return["GenerateClientRequestIdPolicy","TracingPolicy","LogPolicy","ProxyPolicy","DisableResponseDecompressionPolicy","KeepAlivePolicy","DeserializationPolicy"].some(e=>t.startsWith(e))}(eN||(eN={})).AES256="AES256",(eb||(eb={})).Backup="backup",(el=eS||(eS={})).NeverExpire="NeverExpire",el.RelativeToCreation="RelativeToCreation",el.RelativeToNow="RelativeToNow",el.Absolute="Absolute",(ec=ew||(ew={})).AccountAlreadyExists="AccountAlreadyExists",ec.AccountBeingCreated="AccountBeingCreated",ec.AccountIsDisabled="AccountIsDisabled",ec.AuthenticationFailed="AuthenticationFailed",ec.AuthorizationFailure="AuthorizationFailure",ec.ConditionHeadersNotSupported="ConditionHeadersNotSupported",ec.ConditionNotMet="ConditionNotMet",ec.EmptyMetadataKey="EmptyMetadataKey",ec.InsufficientAccountPermissions="InsufficientAccountPermissions",ec.InternalError="InternalError",ec.InvalidAuthenticationInfo="InvalidAuthenticationInfo",ec.InvalidHeaderValue="InvalidHeaderValue",ec.InvalidHttpVerb="InvalidHttpVerb",ec.InvalidInput="InvalidInput",ec.InvalidMd5="InvalidMd5",ec.InvalidMetadata="InvalidMetadata",ec.InvalidQueryParameterValue="InvalidQueryParameterValue",ec.InvalidRange="InvalidRange",ec.InvalidResourceName="InvalidResourceName",ec.InvalidUri="InvalidUri",ec.InvalidXmlDocument="InvalidXmlDocument",ec.InvalidXmlNodeValue="InvalidXmlNodeValue",ec.Md5Mismatch="Md5Mismatch",ec.MetadataTooLarge="MetadataTooLarge",ec.MissingContentLengthHeader="MissingContentLengthHeader",ec.MissingRequiredQueryParameter="MissingRequiredQueryParameter",ec.MissingRequiredHeader="MissingRequiredHeader",ec.MissingRequiredXmlNode="MissingRequiredXmlNode",ec.MultipleConditionHeadersNotSupported="MultipleConditionHeadersNotSupported",ec.OperationTimedOut="OperationTimedOut",ec.OutOfRangeInput="OutOfRangeInput",ec.OutOfRangeQueryParameterValue="OutOfRangeQueryParameterValue",ec.RequestBodyTooLarge="RequestBodyTooLarge",ec.ResourceTypeMismatch="ResourceTypeMismatch",ec.RequestUrlFailedToParse="RequestUrlFailedToParse",ec.ResourceAlreadyExists="ResourceAlreadyExists",ec.ResourceNotFound="ResourceNotFound",ec.ServerBusy="ServerBusy",ec.UnsupportedHeader="UnsupportedHeader",ec.UnsupportedXmlNode="UnsupportedXmlNode",ec.UnsupportedQueryParameter="UnsupportedQueryParameter",ec.UnsupportedHttpVerb="UnsupportedHttpVerb",ec.AppendPositionConditionNotMet="AppendPositionConditionNotMet",ec.BlobAlreadyExists="BlobAlreadyExists",ec.BlobImmutableDueToPolicy="BlobImmutableDueToPolicy",ec.BlobNotFound="BlobNotFound",ec.BlobOverwritten="BlobOverwritten",ec.BlobTierInadequateForContentLength="BlobTierInadequateForContentLength",ec.BlobUsesCustomerSpecifiedEncryption="BlobUsesCustomerSpecifiedEncryption",ec.BlockCountExceedsLimit="BlockCountExceedsLimit",ec.BlockListTooLong="BlockListTooLong",ec.CannotChangeToLowerTier="CannotChangeToLowerTier",ec.CannotVerifyCopySource="CannotVerifyCopySource",ec.ContainerAlreadyExists="ContainerAlreadyExists",ec.ContainerBeingDeleted="ContainerBeingDeleted",ec.ContainerDisabled="ContainerDisabled",ec.ContainerNotFound="ContainerNotFound",ec.ContentLengthLargerThanTierLimit="ContentLengthLargerThanTierLimit",ec.CopyAcrossAccountsNotSupported="CopyAcrossAccountsNotSupported",ec.CopyIdMismatch="CopyIdMismatch",ec.FeatureVersionMismatch="FeatureVersionMismatch",ec.IncrementalCopyBlobMismatch="IncrementalCopyBlobMismatch",ec.IncrementalCopyOfEarlierSnapshotNotAllowed="IncrementalCopyOfEarlierSnapshotNotAllowed",ec.IncrementalCopySourceMustBeSnapshot="IncrementalCopySourceMustBeSnapshot",ec.InfiniteLeaseDurationRequired="InfiniteLeaseDurationRequired",ec.InvalidBlobOrBlock="InvalidBlobOrBlock",ec.InvalidBlobTier="InvalidBlobTier",ec.InvalidBlobType="InvalidBlobType",ec.InvalidBlockId="InvalidBlockId",ec.InvalidBlockList="InvalidBlockList",ec.InvalidOperation="InvalidOperation",ec.InvalidPageRange="InvalidPageRange",ec.InvalidSourceBlobType="InvalidSourceBlobType",ec.InvalidSourceBlobUrl="InvalidSourceBlobUrl",ec.InvalidVersionForPageBlobOperation="InvalidVersionForPageBlobOperation",ec.LeaseAlreadyPresent="LeaseAlreadyPresent",ec.LeaseAlreadyBroken="LeaseAlreadyBroken",ec.LeaseIdMismatchWithBlobOperation="LeaseIdMismatchWithBlobOperation",ec.LeaseIdMismatchWithContainerOperation="LeaseIdMismatchWithContainerOperation",ec.LeaseIdMismatchWithLeaseOperation="LeaseIdMismatchWithLeaseOperation",ec.LeaseIdMissing="LeaseIdMissing",ec.LeaseIsBreakingAndCannotBeAcquired="LeaseIsBreakingAndCannotBeAcquired",ec.LeaseIsBreakingAndCannotBeChanged="LeaseIsBreakingAndCannotBeChanged",ec.LeaseIsBrokenAndCannotBeRenewed="LeaseIsBrokenAndCannotBeRenewed",ec.LeaseLost="LeaseLost",ec.LeaseNotPresentWithBlobOperation="LeaseNotPresentWithBlobOperation",ec.LeaseNotPresentWithContainerOperation="LeaseNotPresentWithContainerOperation",ec.LeaseNotPresentWithLeaseOperation="LeaseNotPresentWithLeaseOperation",ec.MaxBlobSizeConditionNotMet="MaxBlobSizeConditionNotMet",ec.NoAuthenticationInformation="NoAuthenticationInformation",ec.NoPendingCopyOperation="NoPendingCopyOperation",ec.OperationNotAllowedOnIncrementalCopyBlob="OperationNotAllowedOnIncrementalCopyBlob",ec.PendingCopyOperation="PendingCopyOperation",ec.PreviousSnapshotCannotBeNewer="PreviousSnapshotCannotBeNewer",ec.PreviousSnapshotNotFound="PreviousSnapshotNotFound",ec.PreviousSnapshotOperationNotSupported="PreviousSnapshotOperationNotSupported",ec.SequenceNumberConditionNotMet="SequenceNumberConditionNotMet",ec.SequenceNumberIncrementTooLarge="SequenceNumberIncrementTooLarge",ec.SnapshotCountExceeded="SnapshotCountExceeded",ec.SnapshotOperationRateExceeded="SnapshotOperationRateExceeded",ec.SnapshotsPresent="SnapshotsPresent",ec.SourceConditionNotMet="SourceConditionNotMet",ec.SystemInUse="SystemInUse",ec.TargetConditionNotMet="TargetConditionNotMet",ec.UnauthorizedBlobOverwrite="UnauthorizedBlobOverwrite",ec.BlobBeingRehydrated="BlobBeingRehydrated",ec.BlobArchived="BlobArchived",ec.BlobNotArchived="BlobNotArchived",ec.AuthorizationSourceIPMismatch="AuthorizationSourceIPMismatch",ec.AuthorizationProtocolMismatch="AuthorizationProtocolMismatch",ec.AuthorizationPermissionMismatch="AuthorizationPermissionMismatch",ec.AuthorizationServiceMismatch="AuthorizationServiceMismatch",ec.AuthorizationResourceTypeMismatch="AuthorizationResourceTypeMismatch",ec.BlobAccessTierNotSupportedForAccountType="BlobAccessTierNotSupportedForAccountType";let yr={serializedName:"BlobServiceProperties",xmlName:"StorageServiceProperties",type:{name:"Composite",className:"BlobServiceProperties",modelProperties:{blobAnalyticsLogging:{serializedName:"Logging",xmlName:"Logging",type:{name:"Composite",className:"Logging"}},hourMetrics:{serializedName:"HourMetrics",xmlName:"HourMetrics",type:{name:"Composite",className:"Metrics"}},minuteMetrics:{serializedName:"MinuteMetrics",xmlName:"MinuteMetrics",type:{name:"Composite",className:"Metrics"}},cors:{serializedName:"Cors",xmlName:"Cors",xmlIsWrapped:!0,xmlElementName:"CorsRule",type:{name:"Sequence",element:{type:{name:"Composite",className:"CorsRule"}}}},defaultServiceVersion:{serializedName:"DefaultServiceVersion",xmlName:"DefaultServiceVersion",type:{name:"String"}},deleteRetentionPolicy:{serializedName:"DeleteRetentionPolicy",xmlName:"DeleteRetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}},staticWebsite:{serializedName:"StaticWebsite",xmlName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite"}}}}},yi={serializedName:"Logging",type:{name:"Composite",className:"Logging",modelProperties:{version:{serializedName:"Version",required:!0,xmlName:"Version",type:{name:"String"}},deleteProperty:{serializedName:"Delete",required:!0,xmlName:"Delete",type:{name:"Boolean"}},read:{serializedName:"Read",required:!0,xmlName:"Read",type:{name:"Boolean"}},write:{serializedName:"Write",required:!0,xmlName:"Write",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},ys={serializedName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},days:{constraints:{InclusiveMinimum:1},serializedName:"Days",xmlName:"Days",type:{name:"Number"}}}}},yn={serializedName:"Metrics",type:{name:"Composite",className:"Metrics",modelProperties:{version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},includeAPIs:{serializedName:"IncludeAPIs",xmlName:"IncludeAPIs",type:{name:"Boolean"}},retentionPolicy:{serializedName:"RetentionPolicy",xmlName:"RetentionPolicy",type:{name:"Composite",className:"RetentionPolicy"}}}}},yo={serializedName:"CorsRule",type:{name:"Composite",className:"CorsRule",modelProperties:{allowedOrigins:{serializedName:"AllowedOrigins",required:!0,xmlName:"AllowedOrigins",type:{name:"String"}},allowedMethods:{serializedName:"AllowedMethods",required:!0,xmlName:"AllowedMethods",type:{name:"String"}},allowedHeaders:{serializedName:"AllowedHeaders",required:!0,xmlName:"AllowedHeaders",type:{name:"String"}},exposedHeaders:{serializedName:"ExposedHeaders",required:!0,xmlName:"ExposedHeaders",type:{name:"String"}},maxAgeInSeconds:{constraints:{InclusiveMinimum:0},serializedName:"MaxAgeInSeconds",required:!0,xmlName:"MaxAgeInSeconds",type:{name:"Number"}}}}},ya={serializedName:"StaticWebsite",type:{name:"Composite",className:"StaticWebsite",modelProperties:{enabled:{serializedName:"Enabled",required:!0,xmlName:"Enabled",type:{name:"Boolean"}},indexDocument:{serializedName:"IndexDocument",xmlName:"IndexDocument",type:{name:"String"}},errorDocument404Path:{serializedName:"ErrorDocument404Path",xmlName:"ErrorDocument404Path",type:{name:"String"}},defaultIndexDocumentPath:{serializedName:"DefaultIndexDocumentPath",xmlName:"DefaultIndexDocumentPath",type:{name:"String"}}}}},yA={serializedName:"StorageError",type:{name:"Composite",className:"StorageError",modelProperties:{message:{serializedName:"Message",xmlName:"Message",type:{name:"String"}},copySourceStatusCode:{serializedName:"CopySourceStatusCode",xmlName:"CopySourceStatusCode",type:{name:"Number"}},copySourceErrorCode:{serializedName:"CopySourceErrorCode",xmlName:"CopySourceErrorCode",type:{name:"String"}},copySourceErrorMessage:{serializedName:"CopySourceErrorMessage",xmlName:"CopySourceErrorMessage",type:{name:"String"}},code:{serializedName:"Code",xmlName:"Code",type:{name:"String"}},authenticationErrorDetail:{serializedName:"AuthenticationErrorDetail",xmlName:"AuthenticationErrorDetail",type:{name:"String"}}}}},yl={serializedName:"BlobServiceStatistics",xmlName:"StorageServiceStats",type:{name:"Composite",className:"BlobServiceStatistics",modelProperties:{geoReplication:{serializedName:"GeoReplication",xmlName:"GeoReplication",type:{name:"Composite",className:"GeoReplication"}}}}},yc={serializedName:"GeoReplication",type:{name:"Composite",className:"GeoReplication",modelProperties:{status:{serializedName:"Status",required:!0,xmlName:"Status",type:{name:"Enum",allowedValues:["live","bootstrap","unavailable"]}},lastSyncOn:{serializedName:"LastSyncTime",required:!0,xmlName:"LastSyncTime",type:{name:"DateTimeRfc1123"}}}}},yd={serializedName:"ListContainersSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListContainersSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},containerItems:{serializedName:"ContainerItems",required:!0,xmlName:"Containers",xmlIsWrapped:!0,xmlElementName:"Container",type:{name:"Sequence",element:{type:{name:"Composite",className:"ContainerItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yg={serializedName:"ContainerItem",xmlName:"Container",type:{name:"Composite",className:"ContainerItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},deleted:{serializedName:"Deleted",xmlName:"Deleted",type:{name:"Boolean"}},version:{serializedName:"Version",xmlName:"Version",type:{name:"String"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"ContainerProperties"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}}}}},yu={serializedName:"ContainerProperties",type:{name:"Composite",className:"ContainerProperties",modelProperties:{lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},publicAccess:{serializedName:"PublicAccess",xmlName:"PublicAccess",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"HasImmutabilityPolicy",xmlName:"HasImmutabilityPolicy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"HasLegalHold",xmlName:"HasLegalHold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"DefaultEncryptionScope",xmlName:"DefaultEncryptionScope",type:{name:"String"}},preventEncryptionScopeOverride:{serializedName:"DenyEncryptionScopeOverride",xmlName:"DenyEncryptionScopeOverride",type:{name:"Boolean"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},isImmutableStorageWithVersioningEnabled:{serializedName:"ImmutableStorageWithVersioningEnabled",xmlName:"ImmutableStorageWithVersioningEnabled",type:{name:"Boolean"}}}}},yh={serializedName:"KeyInfo",type:{name:"Composite",className:"KeyInfo",modelProperties:{startsOn:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",required:!0,xmlName:"Expiry",type:{name:"String"}},delegatedUserTid:{serializedName:"DelegatedUserTid",xmlName:"DelegatedUserTid",type:{name:"String"}}}}},ym={serializedName:"UserDelegationKey",type:{name:"Composite",className:"UserDelegationKey",modelProperties:{signedObjectId:{serializedName:"SignedOid",required:!0,xmlName:"SignedOid",type:{name:"String"}},signedTenantId:{serializedName:"SignedTid",required:!0,xmlName:"SignedTid",type:{name:"String"}},signedStartsOn:{serializedName:"SignedStart",required:!0,xmlName:"SignedStart",type:{name:"String"}},signedExpiresOn:{serializedName:"SignedExpiry",required:!0,xmlName:"SignedExpiry",type:{name:"String"}},signedService:{serializedName:"SignedService",required:!0,xmlName:"SignedService",type:{name:"String"}},signedVersion:{serializedName:"SignedVersion",required:!0,xmlName:"SignedVersion",type:{name:"String"}},signedDelegatedUserTenantId:{serializedName:"SignedDelegatedUserTid",xmlName:"SignedDelegatedUserTid",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},yp={serializedName:"FilterBlobSegment",xmlName:"EnumerationResults",type:{name:"Composite",className:"FilterBlobSegment",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},where:{serializedName:"Where",required:!0,xmlName:"Where",type:{name:"String"}},blobs:{serializedName:"Blobs",required:!0,xmlName:"Blobs",xmlIsWrapped:!0,xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"FilterBlobItem"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yC={serializedName:"FilterBlobItem",xmlName:"Blob",type:{name:"Composite",className:"FilterBlobItem",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",type:{name:"String"}},tags:{serializedName:"Tags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}}}}},yI={serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags",modelProperties:{blobTagSet:{serializedName:"BlobTagSet",required:!0,xmlName:"TagSet",xmlIsWrapped:!0,xmlElementName:"Tag",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobTag"}}}}}}},yf={serializedName:"BlobTag",xmlName:"Tag",type:{name:"Composite",className:"BlobTag",modelProperties:{key:{serializedName:"Key",required:!0,xmlName:"Key",type:{name:"String"}},value:{serializedName:"Value",required:!0,xmlName:"Value",type:{name:"String"}}}}},yE={serializedName:"SignedIdentifier",xmlName:"SignedIdentifier",type:{name:"Composite",className:"SignedIdentifier",modelProperties:{id:{serializedName:"Id",required:!0,xmlName:"Id",type:{name:"String"}},accessPolicy:{serializedName:"AccessPolicy",xmlName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy"}}}}},yB={serializedName:"AccessPolicy",type:{name:"Composite",className:"AccessPolicy",modelProperties:{startsOn:{serializedName:"Start",xmlName:"Start",type:{name:"String"}},expiresOn:{serializedName:"Expiry",xmlName:"Expiry",type:{name:"String"}},permissions:{serializedName:"Permission",xmlName:"Permission",type:{name:"String"}}}}},yy={serializedName:"ListBlobsFlatSegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsFlatSegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yQ={serializedName:"BlobFlatListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobFlatListSegment",modelProperties:{blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},yN={serializedName:"BlobItemInternal",xmlName:"Blob",type:{name:"Composite",className:"BlobItemInternal",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}},deleted:{serializedName:"Deleted",required:!0,xmlName:"Deleted",type:{name:"Boolean"}},snapshot:{serializedName:"Snapshot",required:!0,xmlName:"Snapshot",type:{name:"String"}},versionId:{serializedName:"VersionId",xmlName:"VersionId",type:{name:"String"}},isCurrentVersion:{serializedName:"IsCurrentVersion",xmlName:"IsCurrentVersion",type:{name:"Boolean"}},properties:{serializedName:"Properties",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal"}},metadata:{serializedName:"Metadata",xmlName:"Metadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobTags:{serializedName:"BlobTags",xmlName:"Tags",type:{name:"Composite",className:"BlobTags"}},objectReplicationMetadata:{serializedName:"ObjectReplicationMetadata",xmlName:"OrMetadata",type:{name:"Dictionary",value:{type:{name:"String"}}}},hasVersionsOnly:{serializedName:"HasVersionsOnly",xmlName:"HasVersionsOnly",type:{name:"Boolean"}}}}},yb={serializedName:"BlobName",type:{name:"Composite",className:"BlobName",modelProperties:{encoded:{serializedName:"Encoded",xmlName:"Encoded",xmlIsAttribute:!0,type:{name:"Boolean"}},content:{serializedName:"content",xmlName:"content",xmlIsMsText:!0,type:{name:"String"}}}}},yS={serializedName:"BlobPropertiesInternal",xmlName:"Properties",type:{name:"Composite",className:"BlobPropertiesInternal",modelProperties:{createdOn:{serializedName:"Creation-Time",xmlName:"Creation-Time",type:{name:"DateTimeRfc1123"}},lastModified:{serializedName:"Last-Modified",required:!0,xmlName:"Last-Modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"Etag",required:!0,xmlName:"Etag",type:{name:"String"}},contentLength:{serializedName:"Content-Length",xmlName:"Content-Length",type:{name:"Number"}},contentType:{serializedName:"Content-Type",xmlName:"Content-Type",type:{name:"String"}},contentEncoding:{serializedName:"Content-Encoding",xmlName:"Content-Encoding",type:{name:"String"}},contentLanguage:{serializedName:"Content-Language",xmlName:"Content-Language",type:{name:"String"}},contentMD5:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}},contentDisposition:{serializedName:"Content-Disposition",xmlName:"Content-Disposition",type:{name:"String"}},cacheControl:{serializedName:"Cache-Control",xmlName:"Cache-Control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"BlobType",xmlName:"BlobType",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},leaseStatus:{serializedName:"LeaseStatus",xmlName:"LeaseStatus",type:{name:"Enum",allowedValues:["locked","unlocked"]}},leaseState:{serializedName:"LeaseState",xmlName:"LeaseState",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseDuration:{serializedName:"LeaseDuration",xmlName:"LeaseDuration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},copyId:{serializedName:"CopyId",xmlName:"CopyId",type:{name:"String"}},copyStatus:{serializedName:"CopyStatus",xmlName:"CopyStatus",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},copySource:{serializedName:"CopySource",xmlName:"CopySource",type:{name:"String"}},copyProgress:{serializedName:"CopyProgress",xmlName:"CopyProgress",type:{name:"String"}},copyCompletedOn:{serializedName:"CopyCompletionTime",xmlName:"CopyCompletionTime",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"CopyStatusDescription",xmlName:"CopyStatusDescription",type:{name:"String"}},serverEncrypted:{serializedName:"ServerEncrypted",xmlName:"ServerEncrypted",type:{name:"Boolean"}},incrementalCopy:{serializedName:"IncrementalCopy",xmlName:"IncrementalCopy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"DestinationSnapshot",xmlName:"DestinationSnapshot",type:{name:"String"}},deletedOn:{serializedName:"DeletedTime",xmlName:"DeletedTime",type:{name:"DateTimeRfc1123"}},remainingRetentionDays:{serializedName:"RemainingRetentionDays",xmlName:"RemainingRetentionDays",type:{name:"Number"}},accessTier:{serializedName:"AccessTier",xmlName:"AccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},accessTierInferred:{serializedName:"AccessTierInferred",xmlName:"AccessTierInferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"ArchiveStatus",xmlName:"ArchiveStatus",type:{name:"Enum",allowedValues:["rehydrate-pending-to-hot","rehydrate-pending-to-cool","rehydrate-pending-to-cold","rehydrate-pending-to-smart"]}},smartAccessTier:{serializedName:"SmartAccessTier",xmlName:"SmartAccessTier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}},customerProvidedKeySha256:{serializedName:"CustomerProvidedKeySha256",xmlName:"CustomerProvidedKeySha256",type:{name:"String"}},encryptionScope:{serializedName:"EncryptionScope",xmlName:"EncryptionScope",type:{name:"String"}},accessTierChangedOn:{serializedName:"AccessTierChangeTime",xmlName:"AccessTierChangeTime",type:{name:"DateTimeRfc1123"}},tagCount:{serializedName:"TagCount",xmlName:"TagCount",type:{name:"Number"}},expiresOn:{serializedName:"Expiry-Time",xmlName:"Expiry-Time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"Sealed",xmlName:"Sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"RehydratePriority",xmlName:"RehydratePriority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessedOn:{serializedName:"LastAccessTime",xmlName:"LastAccessTime",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"ImmutabilityPolicyUntilDate",xmlName:"ImmutabilityPolicyUntilDate",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"ImmutabilityPolicyMode",xmlName:"ImmutabilityPolicyMode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"LegalHold",xmlName:"LegalHold",type:{name:"Boolean"}}}}},yw={serializedName:"ListBlobsHierarchySegmentResponse",xmlName:"EnumerationResults",type:{name:"Composite",className:"ListBlobsHierarchySegmentResponse",modelProperties:{serviceEndpoint:{serializedName:"ServiceEndpoint",required:!0,xmlName:"ServiceEndpoint",xmlIsAttribute:!0,type:{name:"String"}},containerName:{serializedName:"ContainerName",required:!0,xmlName:"ContainerName",xmlIsAttribute:!0,type:{name:"String"}},prefix:{serializedName:"Prefix",xmlName:"Prefix",type:{name:"String"}},marker:{serializedName:"Marker",xmlName:"Marker",type:{name:"String"}},maxPageSize:{serializedName:"MaxResults",xmlName:"MaxResults",type:{name:"Number"}},delimiter:{serializedName:"Delimiter",xmlName:"Delimiter",type:{name:"String"}},segment:{serializedName:"Segment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment"}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yD={serializedName:"BlobHierarchyListSegment",xmlName:"Blobs",type:{name:"Composite",className:"BlobHierarchyListSegment",modelProperties:{blobPrefixes:{serializedName:"BlobPrefixes",xmlName:"BlobPrefixes",xmlElementName:"BlobPrefix",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobPrefix"}}}},blobItems:{serializedName:"BlobItems",required:!0,xmlName:"BlobItems",xmlElementName:"Blob",type:{name:"Sequence",element:{type:{name:"Composite",className:"BlobItemInternal"}}}}}}},yx={serializedName:"BlobPrefix",type:{name:"Composite",className:"BlobPrefix",modelProperties:{name:{serializedName:"Name",xmlName:"Name",type:{name:"Composite",className:"BlobName"}}}}},yR={serializedName:"BlockLookupList",xmlName:"BlockList",type:{name:"Composite",className:"BlockLookupList",modelProperties:{committed:{serializedName:"Committed",xmlName:"Committed",xmlElementName:"Committed",type:{name:"Sequence",element:{type:{name:"String"}}}},uncommitted:{serializedName:"Uncommitted",xmlName:"Uncommitted",xmlElementName:"Uncommitted",type:{name:"Sequence",element:{type:{name:"String"}}}},latest:{serializedName:"Latest",xmlName:"Latest",xmlElementName:"Latest",type:{name:"Sequence",element:{type:{name:"String"}}}}}}},yM={serializedName:"BlockList",type:{name:"Composite",className:"BlockList",modelProperties:{committedBlocks:{serializedName:"CommittedBlocks",xmlName:"CommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}},uncommittedBlocks:{serializedName:"UncommittedBlocks",xmlName:"UncommittedBlocks",xmlIsWrapped:!0,xmlElementName:"Block",type:{name:"Sequence",element:{type:{name:"Composite",className:"Block"}}}}}}},yk={serializedName:"Block",type:{name:"Composite",className:"Block",modelProperties:{name:{serializedName:"Name",required:!0,xmlName:"Name",type:{name:"String"}},size:{serializedName:"Size",required:!0,xmlName:"Size",type:{name:"Number"}}}}},yF={serializedName:"PageList",type:{name:"Composite",className:"PageList",modelProperties:{pageRange:{serializedName:"PageRange",xmlName:"PageRange",xmlElementName:"PageRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"PageRange"}}}},clearRange:{serializedName:"ClearRange",xmlName:"ClearRange",xmlElementName:"ClearRange",type:{name:"Sequence",element:{type:{name:"Composite",className:"ClearRange"}}}},continuationToken:{serializedName:"NextMarker",xmlName:"NextMarker",type:{name:"String"}}}}},yU={serializedName:"PageRange",xmlName:"PageRange",type:{name:"Composite",className:"PageRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},yv={serializedName:"ClearRange",xmlName:"ClearRange",type:{name:"Composite",className:"ClearRange",modelProperties:{start:{serializedName:"Start",required:!0,xmlName:"Start",type:{name:"Number"}},end:{serializedName:"End",required:!0,xmlName:"End",type:{name:"Number"}}}}},yT={serializedName:"QueryRequest",xmlName:"QueryRequest",type:{name:"Composite",className:"QueryRequest",modelProperties:{queryType:{serializedName:"QueryType",required:!0,xmlName:"QueryType",type:{name:"String"}},expression:{serializedName:"Expression",required:!0,xmlName:"Expression",type:{name:"String"}},inputSerialization:{serializedName:"InputSerialization",xmlName:"InputSerialization",type:{name:"Composite",className:"QuerySerialization"}},outputSerialization:{serializedName:"OutputSerialization",xmlName:"OutputSerialization",type:{name:"Composite",className:"QuerySerialization"}}}}},yL={serializedName:"QuerySerialization",type:{name:"Composite",className:"QuerySerialization",modelProperties:{format:{serializedName:"Format",xmlName:"Format",type:{name:"Composite",className:"QueryFormat"}}}}},yO={serializedName:"QueryFormat",type:{name:"Composite",className:"QueryFormat",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"Enum",allowedValues:["delimited","json","arrow","parquet"]}},delimitedTextConfiguration:{serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration"}},jsonTextConfiguration:{serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration"}},arrowConfiguration:{serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration"}},parquetTextConfiguration:{serializedName:"ParquetTextConfiguration",xmlName:"ParquetTextConfiguration",type:{name:"Dictionary",value:{type:{name:"any"}}}}}}},yH={serializedName:"DelimitedTextConfiguration",xmlName:"DelimitedTextConfiguration",type:{name:"Composite",className:"DelimitedTextConfiguration",modelProperties:{columnSeparator:{serializedName:"ColumnSeparator",xmlName:"ColumnSeparator",type:{name:"String"}},fieldQuote:{serializedName:"FieldQuote",xmlName:"FieldQuote",type:{name:"String"}},recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}},escapeChar:{serializedName:"EscapeChar",xmlName:"EscapeChar",type:{name:"String"}},headersPresent:{serializedName:"HeadersPresent",xmlName:"HasHeaders",type:{name:"Boolean"}}}}},yP={serializedName:"JsonTextConfiguration",xmlName:"JsonTextConfiguration",type:{name:"Composite",className:"JsonTextConfiguration",modelProperties:{recordSeparator:{serializedName:"RecordSeparator",xmlName:"RecordSeparator",type:{name:"String"}}}}},yY={serializedName:"ArrowConfiguration",xmlName:"ArrowConfiguration",type:{name:"Composite",className:"ArrowConfiguration",modelProperties:{schema:{serializedName:"Schema",required:!0,xmlName:"Schema",xmlIsWrapped:!0,xmlElementName:"Field",type:{name:"Sequence",element:{type:{name:"Composite",className:"ArrowField"}}}}}}},yG={serializedName:"ArrowField",xmlName:"Field",type:{name:"Composite",className:"ArrowField",modelProperties:{type:{serializedName:"Type",required:!0,xmlName:"Type",type:{name:"String"}},name:{serializedName:"Name",xmlName:"Name",type:{name:"String"}},precision:{serializedName:"Precision",xmlName:"Precision",type:{name:"Number"}},scale:{serializedName:"Scale",xmlName:"Scale",type:{name:"Number"}}}}},yz={serializedName:"Service_setPropertiesHeaders",type:{name:"Composite",className:"ServiceSetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yq={serializedName:"Service_setPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceSetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yV={serializedName:"Service_getPropertiesHeaders",type:{name:"Composite",className:"ServiceGetPropertiesHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y_={serializedName:"Service_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ServiceGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yJ={serializedName:"Service_getStatisticsHeaders",type:{name:"Composite",className:"ServiceGetStatisticsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yW={serializedName:"Service_getStatisticsExceptionHeaders",type:{name:"Composite",className:"ServiceGetStatisticsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yj={serializedName:"Service_listContainersSegmentHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yK={serializedName:"Service_listContainersSegmentExceptionHeaders",type:{name:"Composite",className:"ServiceListContainersSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yX={serializedName:"Service_getUserDelegationKeyHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},yZ={serializedName:"Service_getUserDelegationKeyExceptionHeaders",type:{name:"Composite",className:"ServiceGetUserDelegationKeyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y$={serializedName:"Service_getAccountInfoHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y0={serializedName:"Service_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ServiceGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y1={serializedName:"Service_submitBatchHeaders",type:{name:"Composite",className:"ServiceSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y2={serializedName:"Service_submitBatchExceptionHeaders",type:{name:"Composite",className:"ServiceSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y3={serializedName:"Service_filterBlobsHeaders",type:{name:"Composite",className:"ServiceFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y5={serializedName:"Service_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ServiceFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y4={serializedName:"Container_createHeaders",type:{name:"Composite",className:"ContainerCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y8={serializedName:"Container_createExceptionHeaders",type:{name:"Composite",className:"ContainerCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y9={serializedName:"Container_getPropertiesHeaders",type:{name:"Composite",className:"ContainerGetPropertiesHeaders",modelProperties:{metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},hasImmutabilityPolicy:{serializedName:"x-ms-has-immutability-policy",xmlName:"x-ms-has-immutability-policy",type:{name:"Boolean"}},hasLegalHold:{serializedName:"x-ms-has-legal-hold",xmlName:"x-ms-has-legal-hold",type:{name:"Boolean"}},defaultEncryptionScope:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}},denyEncryptionScopeOverride:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}},isImmutableStorageWithVersioningEnabled:{serializedName:"x-ms-immutable-storage-with-versioning-enabled",xmlName:"x-ms-immutable-storage-with-versioning-enabled",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y6={serializedName:"Container_getPropertiesExceptionHeaders",type:{name:"Composite",className:"ContainerGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},y7={serializedName:"Container_deleteHeaders",type:{name:"Composite",className:"ContainerDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qe={serializedName:"Container_deleteExceptionHeaders",type:{name:"Composite",className:"ContainerDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qt={serializedName:"Container_setMetadataHeaders",type:{name:"Composite",className:"ContainerSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qr={serializedName:"Container_setMetadataExceptionHeaders",type:{name:"Composite",className:"ContainerSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qi={serializedName:"Container_getAccessPolicyHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyHeaders",modelProperties:{blobPublicAccess:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qs={serializedName:"Container_getAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qn={serializedName:"Container_setAccessPolicyHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qo={serializedName:"Container_setAccessPolicyExceptionHeaders",type:{name:"Composite",className:"ContainerSetAccessPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qa={serializedName:"Container_restoreHeaders",type:{name:"Composite",className:"ContainerRestoreHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QA={serializedName:"Container_restoreExceptionHeaders",type:{name:"Composite",className:"ContainerRestoreExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ql={serializedName:"Container_renameHeaders",type:{name:"Composite",className:"ContainerRenameHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qc={serializedName:"Container_renameExceptionHeaders",type:{name:"Composite",className:"ContainerRenameExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qd={serializedName:"Container_submitBatchHeaders",type:{name:"Composite",className:"ContainerSubmitBatchHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}}}}},Qg={serializedName:"Container_submitBatchExceptionHeaders",type:{name:"Composite",className:"ContainerSubmitBatchExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qu={serializedName:"Container_filterBlobsHeaders",type:{name:"Composite",className:"ContainerFilterBlobsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Qh={serializedName:"Container_filterBlobsExceptionHeaders",type:{name:"Composite",className:"ContainerFilterBlobsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qm={serializedName:"Container_acquireLeaseHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Qp={serializedName:"Container_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QC={serializedName:"Container_releaseLeaseHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QI={serializedName:"Container_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qf={serializedName:"Container_renewLeaseHeaders",type:{name:"Composite",className:"ContainerRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QE={serializedName:"Container_renewLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QB={serializedName:"Container_breakLeaseHeaders",type:{name:"Composite",className:"ContainerBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Qy={serializedName:"Container_breakLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QQ={serializedName:"Container_changeLeaseHeaders",type:{name:"Composite",className:"ContainerChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QN={serializedName:"Container_changeLeaseExceptionHeaders",type:{name:"Composite",className:"ContainerChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qb={serializedName:"Container_listBlobFlatSegmentHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QS={serializedName:"Container_listBlobFlatSegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobFlatSegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qw={serializedName:"Container_listBlobHierarchySegmentHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentHeaders",modelProperties:{contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QD={serializedName:"Container_listBlobHierarchySegmentExceptionHeaders",type:{name:"Composite",className:"ContainerListBlobHierarchySegmentExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qx={serializedName:"Container_getAccountInfoHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},QR={serializedName:"Container_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"ContainerGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QM={serializedName:"Blob_downloadHeaders",type:{name:"Composite",className:"BlobDownloadHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},structuredContentLength:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},Qk={serializedName:"Blob_downloadExceptionHeaders",type:{name:"Composite",className:"BlobDownloadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QF={serializedName:"Blob_getPropertiesHeaders",type:{name:"Composite",className:"BlobGetPropertiesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},createdOn:{serializedName:"x-ms-creation-time",xmlName:"x-ms-creation-time",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},objectReplicationPolicyId:{serializedName:"x-ms-or-policy-id",xmlName:"x-ms-or-policy-id",type:{name:"String"}},objectReplicationRules:{serializedName:"x-ms-or",headerCollectionPrefix:"x-ms-or-",xmlName:"x-ms-or",type:{name:"Dictionary",value:{type:{name:"String"}}}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletedOn:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},isIncrementalCopy:{serializedName:"x-ms-incremental-copy",xmlName:"x-ms-incremental-copy",type:{name:"Boolean"}},destinationSnapshot:{serializedName:"x-ms-copy-destination-snapshot",xmlName:"x-ms-copy-destination-snapshot",type:{name:"String"}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},accessTier:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"String"}},accessTierInferred:{serializedName:"x-ms-access-tier-inferred",xmlName:"x-ms-access-tier-inferred",type:{name:"Boolean"}},archiveStatus:{serializedName:"x-ms-archive-status",xmlName:"x-ms-archive-status",type:{name:"String"}},accessTierChangedOn:{serializedName:"x-ms-access-tier-change-time",xmlName:"x-ms-access-tier-change-time",type:{name:"DateTimeRfc1123"}},smartAccessTier:{serializedName:"x-ms-smart-access-tier",xmlName:"x-ms-smart-access-tier",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},isCurrentVersion:{serializedName:"x-ms-is-current-version",xmlName:"x-ms-is-current-version",type:{name:"Boolean"}},tagCount:{serializedName:"x-ms-tag-count",xmlName:"x-ms-tag-count",type:{name:"Number"}},expiresOn:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}},rehydratePriority:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}},lastAccessed:{serializedName:"x-ms-last-access-time",xmlName:"x-ms-last-access-time",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiresOn:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QU={serializedName:"Blob_getPropertiesExceptionHeaders",type:{name:"Composite",className:"BlobGetPropertiesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qv={serializedName:"Blob_deleteHeaders",type:{name:"Composite",className:"BlobDeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QT={serializedName:"Blob_deleteExceptionHeaders",type:{name:"Composite",className:"BlobDeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QL={serializedName:"Blob_undeleteHeaders",type:{name:"Composite",className:"BlobUndeleteHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QO={serializedName:"Blob_undeleteExceptionHeaders",type:{name:"Composite",className:"BlobUndeleteExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QH={serializedName:"Blob_setExpiryHeaders",type:{name:"Composite",className:"BlobSetExpiryHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QP={serializedName:"Blob_setExpiryExceptionHeaders",type:{name:"Composite",className:"BlobSetExpiryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QY={serializedName:"Blob_setHttpHeadersHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QG={serializedName:"Blob_setHttpHeadersExceptionHeaders",type:{name:"Composite",className:"BlobSetHttpHeadersExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qz={serializedName:"Blob_setImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyExpiry:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}},immutabilityPolicyMode:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}}}},Qq={serializedName:"Blob_setImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobSetImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QV={serializedName:"Blob_deleteImmutabilityPolicyHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q_={serializedName:"Blob_deleteImmutabilityPolicyExceptionHeaders",type:{name:"Composite",className:"BlobDeleteImmutabilityPolicyExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QJ={serializedName:"Blob_setLegalHoldHeaders",type:{name:"Composite",className:"BlobSetLegalHoldHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},legalHold:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}}},QW={serializedName:"Blob_setLegalHoldExceptionHeaders",type:{name:"Composite",className:"BlobSetLegalHoldExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Qj={serializedName:"Blob_setMetadataHeaders",type:{name:"Composite",className:"BlobSetMetadataHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QK={serializedName:"Blob_setMetadataExceptionHeaders",type:{name:"Composite",className:"BlobSetMetadataExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},QX={serializedName:"Blob_acquireLeaseHeaders",type:{name:"Composite",className:"BlobAcquireLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},QZ={serializedName:"Blob_acquireLeaseExceptionHeaders",type:{name:"Composite",className:"BlobAcquireLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q$={serializedName:"Blob_releaseLeaseHeaders",type:{name:"Composite",className:"BlobReleaseLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q0={serializedName:"Blob_releaseLeaseExceptionHeaders",type:{name:"Composite",className:"BlobReleaseLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q1={serializedName:"Blob_renewLeaseHeaders",type:{name:"Composite",className:"BlobRenewLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q2={serializedName:"Blob_renewLeaseExceptionHeaders",type:{name:"Composite",className:"BlobRenewLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q3={serializedName:"Blob_changeLeaseHeaders",type:{name:"Composite",className:"BlobChangeLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},leaseId:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q5={serializedName:"Blob_changeLeaseExceptionHeaders",type:{name:"Composite",className:"BlobChangeLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q4={serializedName:"Blob_breakLeaseHeaders",type:{name:"Composite",className:"BlobBreakLeaseHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},leaseTime:{serializedName:"x-ms-lease-time",xmlName:"x-ms-lease-time",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}}}}},Q8={serializedName:"Blob_breakLeaseExceptionHeaders",type:{name:"Composite",className:"BlobBreakLeaseExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q9={serializedName:"Blob_createSnapshotHeaders",type:{name:"Composite",className:"BlobCreateSnapshotHeaders",modelProperties:{snapshot:{serializedName:"x-ms-snapshot",xmlName:"x-ms-snapshot",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q6={serializedName:"Blob_createSnapshotExceptionHeaders",type:{name:"Composite",className:"BlobCreateSnapshotExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Q7={serializedName:"Blob_startCopyFromURLHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ne={serializedName:"Blob_startCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobStartCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Nt={serializedName:"Blob_copyFromURLHeaders",type:{name:"Composite",className:"BlobCopyFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{defaultValue:"success",isConstant:!0,serializedName:"x-ms-copy-status",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nr={serializedName:"Blob_copyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Ni={serializedName:"Blob_abortCopyFromURLHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ns={serializedName:"Blob_abortCopyFromURLExceptionHeaders",type:{name:"Composite",className:"BlobAbortCopyFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nn={serializedName:"Blob_setTierHeaders",type:{name:"Composite",className:"BlobSetTierHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},No={serializedName:"Blob_setTierExceptionHeaders",type:{name:"Composite",className:"BlobSetTierExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Na={serializedName:"Blob_getAccountInfoHeaders",type:{name:"Composite",className:"BlobGetAccountInfoHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},skuName:{serializedName:"x-ms-sku-name",xmlName:"x-ms-sku-name",type:{name:"Enum",allowedValues:["Standard_LRS","Standard_GRS","Standard_RAGRS","Standard_ZRS","Premium_LRS","Standard_GZRS","Premium_ZRS","Standard_RAGZRS"]}},accountKind:{serializedName:"x-ms-account-kind",xmlName:"x-ms-account-kind",type:{name:"Enum",allowedValues:["Storage","BlobStorage","StorageV2","FileStorage","BlockBlobStorage"]}},isHierarchicalNamespaceEnabled:{serializedName:"x-ms-is-hns-enabled",xmlName:"x-ms-is-hns-enabled",type:{name:"Boolean"}}}}},NA={serializedName:"Blob_getAccountInfoExceptionHeaders",type:{name:"Composite",className:"BlobGetAccountInfoExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nl={serializedName:"Blob_queryHeaders",type:{name:"Composite",className:"BlobQueryHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},metadata:{serializedName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",xmlName:"x-ms-meta",type:{name:"Dictionary",value:{type:{name:"String"}}}},contentLength:{serializedName:"content-length",xmlName:"content-length",type:{name:"Number"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},contentRange:{serializedName:"content-range",xmlName:"content-range",type:{name:"String"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},contentEncoding:{serializedName:"content-encoding",xmlName:"content-encoding",type:{name:"String"}},cacheControl:{serializedName:"cache-control",xmlName:"cache-control",type:{name:"String"}},contentDisposition:{serializedName:"content-disposition",xmlName:"content-disposition",type:{name:"String"}},contentLanguage:{serializedName:"content-language",xmlName:"content-language",type:{name:"String"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},blobType:{serializedName:"x-ms-blob-type",xmlName:"x-ms-blob-type",type:{name:"Enum",allowedValues:["BlockBlob","PageBlob","AppendBlob"]}},copyCompletionTime:{serializedName:"x-ms-copy-completion-time",xmlName:"x-ms-copy-completion-time",type:{name:"DateTimeRfc1123"}},copyStatusDescription:{serializedName:"x-ms-copy-status-description",xmlName:"x-ms-copy-status-description",type:{name:"String"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyProgress:{serializedName:"x-ms-copy-progress",xmlName:"x-ms-copy-progress",type:{name:"String"}},copySource:{serializedName:"x-ms-copy-source",xmlName:"x-ms-copy-source",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},leaseDuration:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Enum",allowedValues:["infinite","fixed"]}},leaseState:{serializedName:"x-ms-lease-state",xmlName:"x-ms-lease-state",type:{name:"Enum",allowedValues:["available","leased","expired","breaking","broken"]}},leaseStatus:{serializedName:"x-ms-lease-status",xmlName:"x-ms-lease-status",type:{name:"Enum",allowedValues:["locked","unlocked"]}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},acceptRanges:{serializedName:"accept-ranges",xmlName:"accept-ranges",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-server-encrypted",xmlName:"x-ms-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},blobContentMD5:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},contentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}}}},Nc={serializedName:"Blob_queryExceptionHeaders",type:{name:"Composite",className:"BlobQueryExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nd={serializedName:"Blob_getTagsHeaders",type:{name:"Composite",className:"BlobGetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ng={serializedName:"Blob_getTagsExceptionHeaders",type:{name:"Composite",className:"BlobGetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nu={serializedName:"Blob_setTagsHeaders",type:{name:"Composite",className:"BlobSetTagsHeaders",modelProperties:{clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nh={serializedName:"Blob_setTagsExceptionHeaders",type:{name:"Composite",className:"BlobSetTagsExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nm={serializedName:"PageBlob_createHeaders",type:{name:"Composite",className:"PageBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Np={serializedName:"PageBlob_createExceptionHeaders",type:{name:"Composite",className:"PageBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NC={serializedName:"PageBlob_uploadPagesHeaders",type:{name:"Composite",className:"PageBlobUploadPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NI={serializedName:"PageBlob_uploadPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nf={serializedName:"PageBlob_clearPagesHeaders",type:{name:"Composite",className:"PageBlobClearPagesHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NE={serializedName:"PageBlob_clearPagesExceptionHeaders",type:{name:"Composite",className:"PageBlobClearPagesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NB={serializedName:"PageBlob_uploadPagesFromURLHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Ny={serializedName:"PageBlob_uploadPagesFromURLExceptionHeaders",type:{name:"Composite",className:"PageBlobUploadPagesFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NQ={serializedName:"PageBlob_getPageRangesHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NN={serializedName:"PageBlob_getPageRangesExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nb={serializedName:"PageBlob_getPageRangesDiffHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NS={serializedName:"PageBlob_getPageRangesDiffExceptionHeaders",type:{name:"Composite",className:"PageBlobGetPageRangesDiffExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nw={serializedName:"PageBlob_resizeHeaders",type:{name:"Composite",className:"PageBlobResizeHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},ND={serializedName:"PageBlob_resizeExceptionHeaders",type:{name:"Composite",className:"PageBlobResizeExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nx={serializedName:"PageBlob_updateSequenceNumberHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},blobSequenceNumber:{serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NR={serializedName:"PageBlob_updateSequenceNumberExceptionHeaders",type:{name:"Composite",className:"PageBlobUpdateSequenceNumberExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NM={serializedName:"PageBlob_copyIncrementalHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},copyId:{serializedName:"x-ms-copy-id",xmlName:"x-ms-copy-id",type:{name:"String"}},copyStatus:{serializedName:"x-ms-copy-status",xmlName:"x-ms-copy-status",type:{name:"Enum",allowedValues:["pending","success","aborted","failed"]}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nk={serializedName:"PageBlob_copyIncrementalExceptionHeaders",type:{name:"Composite",className:"PageBlobCopyIncrementalExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NF={serializedName:"AppendBlob_createHeaders",type:{name:"Composite",className:"AppendBlobCreateHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NU={serializedName:"AppendBlob_createExceptionHeaders",type:{name:"Composite",className:"AppendBlobCreateExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nv={serializedName:"AppendBlob_appendBlockHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NT={serializedName:"AppendBlob_appendBlockExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NL={serializedName:"AppendBlob_appendBlockFromUrlHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},blobAppendOffset:{serializedName:"x-ms-blob-append-offset",xmlName:"x-ms-blob-append-offset",type:{name:"String"}},blobCommittedBlockCount:{serializedName:"x-ms-blob-committed-block-count",xmlName:"x-ms-blob-committed-block-count",type:{name:"Number"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NO={serializedName:"AppendBlob_appendBlockFromUrlExceptionHeaders",type:{name:"Composite",className:"AppendBlobAppendBlockFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NH={serializedName:"AppendBlob_sealHeaders",type:{name:"Composite",className:"AppendBlobSealHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isSealed:{serializedName:"x-ms-blob-sealed",xmlName:"x-ms-blob-sealed",type:{name:"Boolean"}}}}},NP={serializedName:"AppendBlob_sealExceptionHeaders",type:{name:"Composite",className:"AppendBlobSealExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NY={serializedName:"BlockBlob_uploadHeaders",type:{name:"Composite",className:"BlockBlobUploadHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NG={serializedName:"BlockBlob_uploadExceptionHeaders",type:{name:"Composite",className:"BlockBlobUploadExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nz={serializedName:"BlockBlob_putBlobFromUrlHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},Nq={serializedName:"BlockBlob_putBlobFromUrlExceptionHeaders",type:{name:"Composite",className:"BlockBlobPutBlobFromUrlExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},NV={serializedName:"BlockBlob_stageBlockHeaders",type:{name:"Composite",className:"BlockBlobStageBlockHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},structuredBodyType:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N_={serializedName:"BlockBlob_stageBlockExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NJ={serializedName:"BlockBlob_stageBlockFromURLHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLHeaders",modelProperties:{contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NW={serializedName:"BlockBlob_stageBlockFromURLExceptionHeaders",type:{name:"Composite",className:"BlockBlobStageBlockFromURLExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}},copySourceErrorCode:{serializedName:"x-ms-copy-source-error-code",xmlName:"x-ms-copy-source-error-code",type:{name:"String"}},copySourceStatusCode:{serializedName:"x-ms-copy-source-status-code",xmlName:"x-ms-copy-source-status-code",type:{name:"Number"}}}}},Nj={serializedName:"BlockBlob_commitBlockListHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListHeaders",modelProperties:{etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},contentMD5:{serializedName:"content-md5",xmlName:"content-md5",type:{name:"ByteArray"}},xMsContentCrc64:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},versionId:{serializedName:"x-ms-version-id",xmlName:"x-ms-version-id",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},isServerEncrypted:{serializedName:"x-ms-request-server-encrypted",xmlName:"x-ms-request-server-encrypted",type:{name:"Boolean"}},encryptionKeySha256:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}},encryptionScope:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NK={serializedName:"BlockBlob_commitBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobCommitBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NX={serializedName:"BlockBlob_getBlockListHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListHeaders",modelProperties:{lastModified:{serializedName:"last-modified",xmlName:"last-modified",type:{name:"DateTimeRfc1123"}},etag:{serializedName:"etag",xmlName:"etag",type:{name:"String"}},contentType:{serializedName:"content-type",xmlName:"content-type",type:{name:"String"}},blobContentLength:{serializedName:"x-ms-blob-content-length",xmlName:"x-ms-blob-content-length",type:{name:"Number"}},clientRequestId:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}},requestId:{serializedName:"x-ms-request-id",xmlName:"x-ms-request-id",type:{name:"String"}},version:{serializedName:"x-ms-version",xmlName:"x-ms-version",type:{name:"String"}},date:{serializedName:"date",xmlName:"date",type:{name:"DateTimeRfc1123"}},errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},NZ={serializedName:"BlockBlob_getBlockListExceptionHeaders",type:{name:"Composite",className:"BlockBlobGetBlockListExceptionHeaders",modelProperties:{errorCode:{serializedName:"x-ms-error-code",xmlName:"x-ms-error-code",type:{name:"String"}}}}},N$={parameterPath:["options","contentType"],mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},N0={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},N1={parameterPath:"url",mapper:{serializedName:"url",required:!0,xmlName:"url",type:{name:"String"}},skipEncoding:!0},N2={parameterPath:"restype",mapper:{defaultValue:"service",isConstant:!0,serializedName:"restype",type:{name:"String"}}},N3={parameterPath:"comp",mapper:{defaultValue:"properties",isConstant:!0,serializedName:"comp",type:{name:"String"}}},N5={parameterPath:["options","timeoutInSeconds"],mapper:{constraints:{InclusiveMinimum:0},serializedName:"timeout",xmlName:"timeout",type:{name:"Number"}}},N4={parameterPath:"version",mapper:{defaultValue:"2026-06-06",isConstant:!0,serializedName:"x-ms-version",type:{name:"String"}}},N8={parameterPath:["options","requestId"],mapper:{serializedName:"x-ms-client-request-id",xmlName:"x-ms-client-request-id",type:{name:"String"}}},N9={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},N6={parameterPath:"comp",mapper:{defaultValue:"list",isConstant:!0,serializedName:"comp",type:{name:"String"}}},N7={parameterPath:["options","prefix"],mapper:{serializedName:"prefix",xmlName:"prefix",type:{name:"String"}}},be={parameterPath:["options","marker"],mapper:{serializedName:"marker",xmlName:"marker",type:{name:"String"}}},bt={parameterPath:["options","maxPageSize"],mapper:{constraints:{InclusiveMinimum:1},serializedName:"maxresults",xmlName:"maxresults",type:{name:"Number"}}},br={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListContainersIncludeType",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["metadata","deleted","system"]}}}},collectionFormat:"CSV"},bi={parameterPath:"restype",mapper:{defaultValue:"account",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bs={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},bn={parameterPath:"comp",mapper:{defaultValue:"batch",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bo={parameterPath:"contentLength",mapper:{serializedName:"Content-Length",required:!0,xmlName:"Content-Length",type:{name:"Number"}}},ba={parameterPath:"multipartContentType",mapper:{serializedName:"Content-Type",required:!0,xmlName:"Content-Type",type:{name:"String"}}},bA={parameterPath:"comp",mapper:{defaultValue:"blobs",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bl={parameterPath:["options","where"],mapper:{serializedName:"where",xmlName:"where",type:{name:"String"}}},bc={parameterPath:"restype",mapper:{defaultValue:"container",isConstant:!0,serializedName:"restype",type:{name:"String"}}},bd={parameterPath:["options","metadata"],mapper:{serializedName:"x-ms-meta",xmlName:"x-ms-meta",headerCollectionPrefix:"x-ms-meta-",type:{name:"Dictionary",value:{type:{name:"String"}}}}},bg={parameterPath:["options","access"],mapper:{serializedName:"x-ms-blob-public-access",xmlName:"x-ms-blob-public-access",type:{name:"Enum",allowedValues:["container","blob"]}}},bu={parameterPath:["options","leaseAccessConditions","leaseId"],mapper:{serializedName:"x-ms-lease-id",xmlName:"x-ms-lease-id",type:{name:"String"}}},bh={parameterPath:["options","modifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"If-Modified-Since",xmlName:"If-Modified-Since",type:{name:"DateTimeRfc1123"}}},bm={parameterPath:["options","modifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"If-Unmodified-Since",xmlName:"If-Unmodified-Since",type:{name:"DateTimeRfc1123"}}},bp={parameterPath:"comp",mapper:{defaultValue:"metadata",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bC={parameterPath:"comp",mapper:{defaultValue:"acl",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bI={parameterPath:"comp",mapper:{defaultValue:"undelete",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bf={parameterPath:"comp",mapper:{defaultValue:"lease",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bE={parameterPath:"action",mapper:{defaultValue:"acquire",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bB={parameterPath:["options","duration"],mapper:{serializedName:"x-ms-lease-duration",xmlName:"x-ms-lease-duration",type:{name:"Number"}}},by={parameterPath:["options","proposedLeaseId"],mapper:{serializedName:"x-ms-proposed-lease-id",xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},bQ={parameterPath:"action",mapper:{defaultValue:"release",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bN={parameterPath:"leaseId",mapper:{serializedName:"x-ms-lease-id",required:!0,xmlName:"x-ms-lease-id",type:{name:"String"}}},bb={parameterPath:"action",mapper:{defaultValue:"renew",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bS={parameterPath:"action",mapper:{defaultValue:"break",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bw={parameterPath:["options","breakPeriod"],mapper:{serializedName:"x-ms-lease-break-period",xmlName:"x-ms-lease-break-period",type:{name:"Number"}}},bD={parameterPath:"action",mapper:{defaultValue:"change",isConstant:!0,serializedName:"x-ms-lease-action",type:{name:"String"}}},bx={parameterPath:"proposedLeaseId",mapper:{serializedName:"x-ms-proposed-lease-id",required:!0,xmlName:"x-ms-proposed-lease-id",type:{name:"String"}}},bR={parameterPath:["options","include"],mapper:{serializedName:"include",xmlName:"include",xmlElementName:"ListBlobsIncludeItem",type:{name:"Sequence",element:{type:{name:"Enum",allowedValues:["copy","deleted","metadata","snapshots","uncommittedblobs","versions","tags","immutabilitypolicy","legalhold","deletedwithversions"]}}}},collectionFormat:"CSV"},bM={parameterPath:["options","startFrom"],mapper:{serializedName:"startFrom",xmlName:"startFrom",type:{name:"String"}}},bk={parameterPath:["options","snapshot"],mapper:{serializedName:"snapshot",xmlName:"snapshot",type:{name:"String"}}},bF={parameterPath:["options","versionId"],mapper:{serializedName:"versionid",xmlName:"versionid",type:{name:"String"}}},bU={parameterPath:["options","range"],mapper:{serializedName:"x-ms-range",xmlName:"x-ms-range",type:{name:"String"}}},bv={parameterPath:["options","structuredBodyType"],mapper:{serializedName:"x-ms-structured-body",xmlName:"x-ms-structured-body",type:{name:"String"}}},bT={parameterPath:["options","cpkInfo","encryptionKey"],mapper:{serializedName:"x-ms-encryption-key",xmlName:"x-ms-encryption-key",type:{name:"String"}}},bL={parameterPath:["options","cpkInfo","encryptionKeySha256"],mapper:{serializedName:"x-ms-encryption-key-sha256",xmlName:"x-ms-encryption-key-sha256",type:{name:"String"}}},bO={parameterPath:["options","cpkInfo","encryptionAlgorithm"],mapper:{serializedName:"x-ms-encryption-algorithm",xmlName:"x-ms-encryption-algorithm",type:{name:"String"}}},bH={parameterPath:["options","modifiedAccessConditions","ifMatch"],mapper:{serializedName:"If-Match",xmlName:"If-Match",type:{name:"String"}}},bP={parameterPath:["options","modifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"If-None-Match",xmlName:"If-None-Match",type:{name:"String"}}},bY={parameterPath:["options","modifiedAccessConditions","ifTags"],mapper:{serializedName:"x-ms-if-tags",xmlName:"x-ms-if-tags",type:{name:"String"}}},bG={parameterPath:["options","blobHttpHeaders","blobCacheControl"],mapper:{serializedName:"x-ms-blob-cache-control",xmlName:"x-ms-blob-cache-control",type:{name:"String"}}},bz={parameterPath:["options","blobHttpHeaders","blobContentType"],mapper:{serializedName:"x-ms-blob-content-type",xmlName:"x-ms-blob-content-type",type:{name:"String"}}},bq={parameterPath:["options","blobHttpHeaders","blobContentMD5"],mapper:{serializedName:"x-ms-blob-content-md5",xmlName:"x-ms-blob-content-md5",type:{name:"ByteArray"}}},bV={parameterPath:["options","blobHttpHeaders","blobContentEncoding"],mapper:{serializedName:"x-ms-blob-content-encoding",xmlName:"x-ms-blob-content-encoding",type:{name:"String"}}},b_={parameterPath:["options","blobHttpHeaders","blobContentLanguage"],mapper:{serializedName:"x-ms-blob-content-language",xmlName:"x-ms-blob-content-language",type:{name:"String"}}},bJ={parameterPath:["options","blobHttpHeaders","blobContentDisposition"],mapper:{serializedName:"x-ms-blob-content-disposition",xmlName:"x-ms-blob-content-disposition",type:{name:"String"}}},bW={parameterPath:"comp",mapper:{defaultValue:"immutabilityPolicies",isConstant:!0,serializedName:"comp",type:{name:"String"}}},bj={parameterPath:["options","immutabilityPolicyExpiry"],mapper:{serializedName:"x-ms-immutability-policy-until-date",xmlName:"x-ms-immutability-policy-until-date",type:{name:"DateTimeRfc1123"}}},bK={parameterPath:["options","immutabilityPolicyMode"],mapper:{serializedName:"x-ms-immutability-policy-mode",xmlName:"x-ms-immutability-policy-mode",type:{name:"Enum",allowedValues:["Mutable","Unlocked","Locked"]}}},bX={parameterPath:["options","encryptionScope"],mapper:{serializedName:"x-ms-encryption-scope",xmlName:"x-ms-encryption-scope",type:{name:"String"}}},bZ={parameterPath:["options","tier"],mapper:{serializedName:"x-ms-access-tier",xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}},b$={parameterPath:["options","rehydratePriority"],mapper:{serializedName:"x-ms-rehydrate-priority",xmlName:"x-ms-rehydrate-priority",type:{name:"Enum",allowedValues:["High","Standard"]}}},b0={parameterPath:["options","sourceModifiedAccessConditions","sourceIfModifiedSince"],mapper:{serializedName:"x-ms-source-if-modified-since",xmlName:"x-ms-source-if-modified-since",type:{name:"DateTimeRfc1123"}}},b1={parameterPath:["options","sourceModifiedAccessConditions","sourceIfUnmodifiedSince"],mapper:{serializedName:"x-ms-source-if-unmodified-since",xmlName:"x-ms-source-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},b2={parameterPath:["options","sourceModifiedAccessConditions","sourceIfMatch"],mapper:{serializedName:"x-ms-source-if-match",xmlName:"x-ms-source-if-match",type:{name:"String"}}},b3={parameterPath:["options","sourceModifiedAccessConditions","sourceIfNoneMatch"],mapper:{serializedName:"x-ms-source-if-none-match",xmlName:"x-ms-source-if-none-match",type:{name:"String"}}},b5={parameterPath:["options","sourceModifiedAccessConditions","sourceIfTags"],mapper:{serializedName:"x-ms-source-if-tags",xmlName:"x-ms-source-if-tags",type:{name:"String"}}},b4={parameterPath:"copySource",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},b8={parameterPath:["options","blobTagsString"],mapper:{serializedName:"x-ms-tags",xmlName:"x-ms-tags",type:{name:"String"}}},b9={parameterPath:["options","legalHold"],mapper:{serializedName:"x-ms-legal-hold",xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}},b6={parameterPath:["options","sourceContentMD5"],mapper:{serializedName:"x-ms-source-content-md5",xmlName:"x-ms-source-content-md5",type:{name:"ByteArray"}}},b7={parameterPath:["options","copySourceAuthorization"],mapper:{serializedName:"x-ms-copy-source-authorization",xmlName:"x-ms-copy-source-authorization",type:{name:"String"}}},Se={parameterPath:["options","copySourceTags"],mapper:{serializedName:"x-ms-copy-source-tag-option",xmlName:"x-ms-copy-source-tag-option",type:{name:"Enum",allowedValues:["REPLACE","COPY"]}}},St={parameterPath:["options","fileRequestIntent"],mapper:{serializedName:"x-ms-file-request-intent",xmlName:"x-ms-file-request-intent",type:{name:"String"}}},Sr={parameterPath:"comp",mapper:{defaultValue:"tags",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Si={parameterPath:["options","blobModifiedAccessConditions","ifModifiedSince"],mapper:{serializedName:"x-ms-blob-if-modified-since",xmlName:"x-ms-blob-if-modified-since",type:{name:"DateTimeRfc1123"}}},Ss={parameterPath:["options","blobModifiedAccessConditions","ifUnmodifiedSince"],mapper:{serializedName:"x-ms-blob-if-unmodified-since",xmlName:"x-ms-blob-if-unmodified-since",type:{name:"DateTimeRfc1123"}}},Sn={parameterPath:["options","blobModifiedAccessConditions","ifMatch"],mapper:{serializedName:"x-ms-blob-if-match",xmlName:"x-ms-blob-if-match",type:{name:"String"}}},So={parameterPath:["options","blobModifiedAccessConditions","ifNoneMatch"],mapper:{serializedName:"x-ms-blob-if-none-match",xmlName:"x-ms-blob-if-none-match",type:{name:"String"}}},Sa={parameterPath:["options","transactionalContentMD5"],mapper:{serializedName:"Content-MD5",xmlName:"Content-MD5",type:{name:"ByteArray"}}},SA={parameterPath:["options","transactionalContentCrc64"],mapper:{serializedName:"x-ms-content-crc64",xmlName:"x-ms-content-crc64",type:{name:"ByteArray"}}},Sl={parameterPath:"blobContentLength",mapper:{serializedName:"x-ms-blob-content-length",required:!0,xmlName:"x-ms-blob-content-length",type:{name:"Number"}}},Sc={parameterPath:["options","blobSequenceNumber"],mapper:{defaultValue:0,serializedName:"x-ms-blob-sequence-number",xmlName:"x-ms-blob-sequence-number",type:{name:"Number"}}},Sd={parameterPath:["options","contentType"],mapper:{defaultValue:"application/octet-stream",isConstant:!0,serializedName:"Content-Type",type:{name:"String"}}},Sg={parameterPath:"body",mapper:{serializedName:"body",required:!0,xmlName:"body",type:{name:"Stream"}}},Su={parameterPath:"accept",mapper:{defaultValue:"application/xml",isConstant:!0,serializedName:"Accept",type:{name:"String"}}},Sh={parameterPath:"comp",mapper:{defaultValue:"page",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sm={parameterPath:"pageWrite",mapper:{defaultValue:"update",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}},Sp={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThanOrEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-le",xmlName:"x-ms-if-sequence-number-le",type:{name:"Number"}}},SC={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberLessThan"],mapper:{serializedName:"x-ms-if-sequence-number-lt",xmlName:"x-ms-if-sequence-number-lt",type:{name:"Number"}}},SI={parameterPath:["options","sequenceNumberAccessConditions","ifSequenceNumberEqualTo"],mapper:{serializedName:"x-ms-if-sequence-number-eq",xmlName:"x-ms-if-sequence-number-eq",type:{name:"Number"}}},Sf={parameterPath:["options","structuredContentLength"],mapper:{serializedName:"x-ms-structured-content-length",xmlName:"x-ms-structured-content-length",type:{name:"Number"}}},SE={parameterPath:"sourceUrl",mapper:{serializedName:"x-ms-copy-source",required:!0,xmlName:"x-ms-copy-source",type:{name:"String"}}},SB={parameterPath:["options","sourceContentCrc64"],mapper:{serializedName:"x-ms-source-content-crc64",xmlName:"x-ms-source-content-crc64",type:{name:"ByteArray"}}},Sy={parameterPath:["options","sourceCpkInfo","sourceEncryptionKey"],mapper:{serializedName:"x-ms-source-encryption-key",xmlName:"x-ms-source-encryption-key",type:{name:"String"}}},SQ={parameterPath:["options","sourceCpkInfo","sourceEncryptionKeySha256"],mapper:{serializedName:"x-ms-source-encryption-key-sha256",xmlName:"x-ms-source-encryption-key-sha256",type:{name:"String"}}},SN={parameterPath:["options","sourceCpkInfo","sourceEncryptionAlgorithm"],mapper:{serializedName:"x-ms-source-encryption-algorithm",xmlName:"x-ms-source-encryption-algorithm",type:{name:"String"}}},Sb={parameterPath:"comp",mapper:{defaultValue:"pagelist",isConstant:!0,serializedName:"comp",type:{name:"String"}}},SS={parameterPath:"comp",mapper:{defaultValue:"appendblock",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sw={parameterPath:["options","appendPositionAccessConditions","maxSize"],mapper:{serializedName:"x-ms-blob-condition-maxsize",xmlName:"x-ms-blob-condition-maxsize",type:{name:"Number"}}},SD={parameterPath:["options","appendPositionAccessConditions","appendPosition"],mapper:{serializedName:"x-ms-blob-condition-appendpos",xmlName:"x-ms-blob-condition-appendpos",type:{name:"Number"}}},Sx={parameterPath:["options","sourceRange"],mapper:{serializedName:"x-ms-source-range",xmlName:"x-ms-source-range",type:{name:"String"}}},SR={parameterPath:"blobType",mapper:{defaultValue:"BlockBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},SM={parameterPath:"comp",mapper:{defaultValue:"block",isConstant:!0,serializedName:"comp",type:{name:"String"}}},Sk={parameterPath:"blockId",mapper:{serializedName:"blockid",required:!0,xmlName:"blockid",type:{name:"String"}}},SF={parameterPath:"comp",mapper:{defaultValue:"blocklist",isConstant:!0,serializedName:"comp",type:{name:"String"}}};class SU{client;constructor(e){this.client=e}setProperties(e,t){return this.client.sendOperationRequest({blobServiceProperties:e,options:t},ST)}getProperties(e){return this.client.sendOperationRequest({options:e},SL)}getStatistics(e){return this.client.sendOperationRequest({options:e},SO)}listContainersSegment(e){return this.client.sendOperationRequest({options:e},SH)}getUserDelegationKey(e,t){return this.client.sendOperationRequest({keyInfo:e,options:t},SP)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},SY)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},SG)}filterBlobs(e){return this.client.sendOperationRequest({options:e},Sz)}}let Sv=IU(eO,!0),ST={path:"/",httpMethod:"PUT",responses:{202:{headersMapper:yz},default:{bodyMapper:yA,headersMapper:yq}},requestBody:{parameterPath:"blobServiceProperties",mapper:yr},queryParameters:[N2,N3,N5],urlParameters:[N1],headerParameters:[N$,N0,N4,N8],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Sv},SL={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yr,headersMapper:yV},default:{bodyMapper:yA,headersMapper:y_}},queryParameters:[N2,N3,N5],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv},SO={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yl,headersMapper:yJ},default:{bodyMapper:yA,headersMapper:yW}},queryParameters:[N2,N5,{parameterPath:"comp",mapper:{defaultValue:"stats",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv},SH={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yd,headersMapper:yj},default:{bodyMapper:yA,headersMapper:yK}},queryParameters:[N5,N6,N7,be,bt,br],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv},SP={path:"/",httpMethod:"POST",responses:{200:{bodyMapper:ym,headersMapper:yX},default:{bodyMapper:yA,headersMapper:yZ}},requestBody:{parameterPath:"keyInfo",mapper:yh},queryParameters:[N2,N5,{parameterPath:"comp",mapper:{defaultValue:"userdelegationkey",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N$,N0,N4,N8],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Sv},SY={path:"/",httpMethod:"GET",responses:{200:{headersMapper:y$},default:{bodyMapper:yA,headersMapper:y0}},queryParameters:[N3,N5,bi],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv},SG={path:"/",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:y1},default:{bodyMapper:yA,headersMapper:y2}},requestBody:bs,queryParameters:[N5,bn],urlParameters:[N1],headerParameters:[N0,N4,N8,bo,ba],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:Sv},Sz={path:"/",httpMethod:"GET",responses:{200:{bodyMapper:yp,headersMapper:y3},default:{bodyMapper:yA,headersMapper:y5}},queryParameters:[N5,be,bt,bA,bl],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:Sv};class Sq{client;constructor(e){this.client=e}create(e){return this.client.sendOperationRequest({options:e},S_)}getProperties(e){return this.client.sendOperationRequest({options:e},SJ)}delete(e){return this.client.sendOperationRequest({options:e},SW)}setMetadata(e){return this.client.sendOperationRequest({options:e},Sj)}getAccessPolicy(e){return this.client.sendOperationRequest({options:e},SK)}setAccessPolicy(e){return this.client.sendOperationRequest({options:e},SX)}restore(e){return this.client.sendOperationRequest({options:e},SZ)}rename(e,t){return this.client.sendOperationRequest({sourceContainerName:e,options:t},S$)}submitBatch(e,t,r,i){return this.client.sendOperationRequest({contentLength:e,multipartContentType:t,body:r,options:i},S0)}filterBlobs(e){return this.client.sendOperationRequest({options:e},S1)}acquireLease(e){return this.client.sendOperationRequest({options:e},S2)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},S3)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},S5)}breakLease(e){return this.client.sendOperationRequest({options:e},S4)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},S8)}listBlobFlatSegment(e){return this.client.sendOperationRequest({options:e},S9)}listBlobHierarchySegment(e,t){return this.client.sendOperationRequest({delimiter:e,options:t},S6)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},S7)}}let SV=IU(eO,!0),S_={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:y4},default:{bodyMapper:yA,headersMapper:y8}},queryParameters:[N5,bc],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bg,{parameterPath:["options","containerEncryptionScope","defaultEncryptionScope"],mapper:{serializedName:"x-ms-default-encryption-scope",xmlName:"x-ms-default-encryption-scope",type:{name:"String"}}},{parameterPath:["options","containerEncryptionScope","preventEncryptionScopeOverride"],mapper:{serializedName:"x-ms-deny-encryption-scope-override",xmlName:"x-ms-deny-encryption-scope-override",type:{name:"Boolean"}}}],isXML:!0,serializer:SV},SJ={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:y9},default:{bodyMapper:yA,headersMapper:y6}},queryParameters:[N5,bc],urlParameters:[N1],headerParameters:[N4,N8,N9,bu],isXML:!0,serializer:SV},SW={path:"/{containerName}",httpMethod:"DELETE",responses:{202:{headersMapper:y7},default:{bodyMapper:yA,headersMapper:Qe}},queryParameters:[N5,bc],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm],isXML:!0,serializer:SV},Sj={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qt},default:{bodyMapper:yA,headersMapper:Qr}},queryParameters:[N5,bc,bp],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh],isXML:!0,serializer:SV},SK={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}},serializedName:"SignedIdentifiers",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier"},headersMapper:Qi},default:{bodyMapper:yA,headersMapper:Qs}},queryParameters:[N5,bc,bC],urlParameters:[N1],headerParameters:[N4,N8,N9,bu],isXML:!0,serializer:SV},SX={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qn},default:{bodyMapper:yA,headersMapper:Qo}},requestBody:{parameterPath:["options","containerAcl"],mapper:{serializedName:"containerAcl",xmlName:"SignedIdentifiers",xmlIsWrapped:!0,xmlElementName:"SignedIdentifier",type:{name:"Sequence",element:{type:{name:"Composite",className:"SignedIdentifier"}}}}},queryParameters:[N5,bc,bC],urlParameters:[N1],headerParameters:[N$,N0,N4,N8,bg,bu,bh,bm],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:SV},SZ={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Qa},default:{bodyMapper:yA,headersMapper:QA}},queryParameters:[N5,bc,bI],urlParameters:[N1],headerParameters:[N4,N8,N9,{parameterPath:["options","deletedContainerName"],mapper:{serializedName:"x-ms-deleted-container-name",xmlName:"x-ms-deleted-container-name",type:{name:"String"}}},{parameterPath:["options","deletedContainerVersion"],mapper:{serializedName:"x-ms-deleted-container-version",xmlName:"x-ms-deleted-container-version",type:{name:"String"}}}],isXML:!0,serializer:SV},S$={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Ql},default:{bodyMapper:yA,headersMapper:Qc}},queryParameters:[N5,bc,{parameterPath:"comp",mapper:{defaultValue:"rename",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,{parameterPath:"sourceContainerName",mapper:{serializedName:"x-ms-source-container-name",required:!0,xmlName:"x-ms-source-container-name",type:{name:"String"}}},{parameterPath:["options","sourceLeaseId"],mapper:{serializedName:"x-ms-source-lease-id",xmlName:"x-ms-source-lease-id",type:{name:"String"}}}],isXML:!0,serializer:SV},S0={path:"/{containerName}",httpMethod:"POST",responses:{202:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Qd},default:{bodyMapper:yA,headersMapper:Qg}},requestBody:bs,queryParameters:[N5,bn,bc],urlParameters:[N1],headerParameters:[N0,N4,N8,bo,ba],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:SV},S1={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:yp,headersMapper:Qu},default:{bodyMapper:yA,headersMapper:Qh}},queryParameters:[N5,be,bt,bA,bl,bc],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:SV},S2={path:"/{containerName}",httpMethod:"PUT",responses:{201:{headersMapper:Qm},default:{bodyMapper:yA,headersMapper:Qp}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bE,bB,by],isXML:!0,serializer:SV},S3={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QC},default:{bodyMapper:yA,headersMapper:QI}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bQ,bN],isXML:!0,serializer:SV},S5={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:Qf},default:{bodyMapper:yA,headersMapper:QE}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bN,bb],isXML:!0,serializer:SV},S4={path:"/{containerName}",httpMethod:"PUT",responses:{202:{headersMapper:QB},default:{bodyMapper:yA,headersMapper:Qy}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bS,bw],isXML:!0,serializer:SV},S8={path:"/{containerName}",httpMethod:"PUT",responses:{200:{headersMapper:QQ},default:{bodyMapper:yA,headersMapper:QN}},queryParameters:[N5,bc,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bN,bD,bx],isXML:!0,serializer:SV},S9={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:yy,headersMapper:Qb},default:{bodyMapper:yA,headersMapper:QS}},queryParameters:[N5,N6,N7,be,bt,bc,bR,bM],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:SV},S6={path:"/{containerName}",httpMethod:"GET",responses:{200:{bodyMapper:yw,headersMapper:Qw},default:{bodyMapper:yA,headersMapper:QD}},queryParameters:[N5,N6,N7,be,bt,bc,bR,bM,{parameterPath:"delimiter",mapper:{serializedName:"delimiter",required:!0,xmlName:"delimiter",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:SV},S7={path:"/{containerName}",httpMethod:"GET",responses:{200:{headersMapper:Qx},default:{bodyMapper:yA,headersMapper:QR}},queryParameters:[N3,N5,bi],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:SV};class we{client;constructor(e){this.client=e}download(e){return this.client.sendOperationRequest({options:e},wr)}getProperties(e){return this.client.sendOperationRequest({options:e},wi)}delete(e){return this.client.sendOperationRequest({options:e},ws)}undelete(e){return this.client.sendOperationRequest({options:e},wn)}setExpiry(e,t){return this.client.sendOperationRequest({expiryOptions:e,options:t},wo)}setHttpHeaders(e){return this.client.sendOperationRequest({options:e},wa)}setImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wA)}deleteImmutabilityPolicy(e){return this.client.sendOperationRequest({options:e},wl)}setLegalHold(e,t){return this.client.sendOperationRequest({legalHold:e,options:t},wc)}setMetadata(e){return this.client.sendOperationRequest({options:e},wd)}acquireLease(e){return this.client.sendOperationRequest({options:e},wg)}releaseLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wu)}renewLease(e,t){return this.client.sendOperationRequest({leaseId:e,options:t},wh)}changeLease(e,t,r){return this.client.sendOperationRequest({leaseId:e,proposedLeaseId:t,options:r},wm)}breakLease(e){return this.client.sendOperationRequest({options:e},wp)}createSnapshot(e){return this.client.sendOperationRequest({options:e},wC)}startCopyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wI)}copyFromURL(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wf)}abortCopyFromURL(e,t){return this.client.sendOperationRequest({copyId:e,options:t},wE)}setTier(e,t){return this.client.sendOperationRequest({tier:e,options:t},wB)}getAccountInfo(e){return this.client.sendOperationRequest({options:e},wy)}query(e){return this.client.sendOperationRequest({options:e},wQ)}getTags(e){return this.client.sendOperationRequest({options:e},wN)}setTags(e){return this.client.sendOperationRequest({options:e},wb)}}let wt=IU(eO,!0),wr={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:QM},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:QM},default:{bodyMapper:yA,headersMapper:Qk}},queryParameters:[N5,bk,bF],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bU,{parameterPath:["options","rangeGetContentMD5"],mapper:{serializedName:"x-ms-range-get-content-md5",xmlName:"x-ms-range-get-content-md5",type:{name:"Boolean"}}},{parameterPath:["options","rangeGetContentCRC64"],mapper:{serializedName:"x-ms-range-get-content-crc64",xmlName:"x-ms-range-get-content-crc64",type:{name:"Boolean"}}},bv,bT,bL,bO,bH,bP,bY],isXML:!0,serializer:wt},wi={path:"/{containerName}/{blob}",httpMethod:"HEAD",responses:{200:{headersMapper:QF},default:{bodyMapper:yA,headersMapper:QU}},queryParameters:[N5,bk,bF],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bT,bL,bO,bH,bP,bY],isXML:!0,serializer:wt},ws={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{202:{headersMapper:Qv},default:{bodyMapper:yA,headersMapper:QT}},queryParameters:[N5,bk,bF,{parameterPath:["options","blobDeleteType"],mapper:{serializedName:"deletetype",xmlName:"deletetype",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bH,bP,bY,{parameterPath:["options","deleteSnapshots"],mapper:{serializedName:"x-ms-delete-snapshots",xmlName:"x-ms-delete-snapshots",type:{name:"Enum",allowedValues:["include","only"]}}},{parameterPath:["options","accessTierIfModifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-modified-since",xmlName:"x-ms-access-tier-if-modified-since",type:{name:"DateTimeRfc1123"}}},{parameterPath:["options","accessTierIfUnmodifiedSince"],mapper:{serializedName:"x-ms-access-tier-if-unmodified-since",xmlName:"x-ms-access-tier-if-unmodified-since",type:{name:"DateTimeRfc1123"}}}],isXML:!0,serializer:wt},wn={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QL},default:{bodyMapper:yA,headersMapper:QO}},queryParameters:[N5,bI],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:wt},wo={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QH},default:{bodyMapper:yA,headersMapper:QP}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"expiry",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,{parameterPath:"expiryOptions",mapper:{serializedName:"x-ms-expiry-option",required:!0,xmlName:"x-ms-expiry-option",type:{name:"String"}}},{parameterPath:["options","expiresOn"],mapper:{serializedName:"x-ms-expiry-time",xmlName:"x-ms-expiry-time",type:{name:"String"}}}],isXML:!0,serializer:wt},wa={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QY},default:{bodyMapper:yA,headersMapper:QG}},queryParameters:[N3,N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bH,bP,bY,bG,bz,bq,bV,b_,bJ],isXML:!0,serializer:wt},wA={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Qz},default:{bodyMapper:yA,headersMapper:Qq}},queryParameters:[N5,bk,bF,bW],urlParameters:[N1],headerParameters:[N4,N8,N9,bm,bj,bK],isXML:!0,serializer:wt},wl={path:"/{containerName}/{blob}",httpMethod:"DELETE",responses:{200:{headersMapper:QV},default:{bodyMapper:yA,headersMapper:Q_}},queryParameters:[N5,bk,bF,bW],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:wt},wc={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:QJ},default:{bodyMapper:yA,headersMapper:QW}},queryParameters:[N5,bk,bF,{parameterPath:"comp",mapper:{defaultValue:"legalhold",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,{parameterPath:"legalHold",mapper:{serializedName:"x-ms-legal-hold",required:!0,xmlName:"x-ms-legal-hold",type:{name:"Boolean"}}}],isXML:!0,serializer:wt},wd={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Qj},default:{bodyMapper:yA,headersMapper:QK}},queryParameters:[N5,bp],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX],isXML:!0,serializer:wt},wg={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:QX},default:{bodyMapper:yA,headersMapper:QZ}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bE,bB,by,bH,bP,bY],isXML:!0,serializer:wt},wu={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Q$},default:{bodyMapper:yA,headersMapper:Q0}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bQ,bN,bH,bP,bY],isXML:!0,serializer:wt},wh={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Q1},default:{bodyMapper:yA,headersMapper:Q2}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bN,bb,bH,bP,bY],isXML:!0,serializer:wt},wm={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Q3},default:{bodyMapper:yA,headersMapper:Q5}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bN,bD,bx,bH,bP,bY],isXML:!0,serializer:wt},wp={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Q4},default:{bodyMapper:yA,headersMapper:Q8}},queryParameters:[N5,bf],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bS,bw,bH,bP,bY],isXML:!0,serializer:wt},wC={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Q9},default:{bodyMapper:yA,headersMapper:Q6}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"snapshot",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX],isXML:!0,serializer:wt},wI={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Q7},default:{bodyMapper:yA,headersMapper:Ne}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh,bm,bH,bP,bY,bj,bK,bZ,b$,b0,b1,b2,b3,b5,b4,b8,{parameterPath:["options","sealBlob"],mapper:{serializedName:"x-ms-seal-blob",xmlName:"x-ms-seal-blob",type:{name:"Boolean"}}},b9],isXML:!0,serializer:wt},wf={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:Nt},default:{bodyMapper:yA,headersMapper:Nr}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bd,bu,bh,bm,bH,bP,bY,bj,bK,bX,bZ,b0,b1,b2,b3,b4,b8,b9,{parameterPath:"xMsRequiresSync",mapper:{defaultValue:"true",isConstant:!0,serializedName:"x-ms-requires-sync",type:{name:"String"}}},b6,b7,Se,St],isXML:!0,serializer:wt},wE={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Ni},default:{bodyMapper:yA,headersMapper:Ns}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"copy",isConstant:!0,serializedName:"comp",type:{name:"String"}}},{parameterPath:"copyId",mapper:{serializedName:"copyid",required:!0,xmlName:"copyid",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,{parameterPath:"copyActionAbortConstant",mapper:{defaultValue:"abort",isConstant:!0,serializedName:"x-ms-copy-action",type:{name:"String"}}}],isXML:!0,serializer:wt},wB={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nn},202:{headersMapper:Nn},default:{bodyMapper:yA,headersMapper:No}},queryParameters:[N5,bk,bF,{parameterPath:"comp",mapper:{defaultValue:"tier",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bY,b$,{parameterPath:"tier",mapper:{serializedName:"x-ms-access-tier",required:!0,xmlName:"x-ms-access-tier",type:{name:"Enum",allowedValues:["P4","P6","P10","P15","P20","P30","P40","P50","P60","P70","P80","Hot","Cool","Archive","Cold","Smart"]}}}],isXML:!0,serializer:wt},wy={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{headersMapper:Na},default:{bodyMapper:yA,headersMapper:NA}},queryParameters:[N3,N5,bi],urlParameters:[N1],headerParameters:[N4,N8,N9],isXML:!0,serializer:wt},wQ={path:"/{containerName}/{blob}",httpMethod:"POST",responses:{200:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Nl},206:{bodyMapper:{type:{name:"Stream"},serializedName:"parsedResponse"},headersMapper:Nl},default:{bodyMapper:yA,headersMapper:Nc}},requestBody:{parameterPath:["options","queryRequest"],mapper:yT},queryParameters:[N5,bk,{parameterPath:"comp",mapper:{defaultValue:"query",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N$,N0,N4,N8,bu,bh,bm,bT,bL,bO,bH,bP,bY],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wt},wN={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yI,headersMapper:Nd},default:{bodyMapper:yA,headersMapper:Ng}},queryParameters:[N5,bk,bF,Sr],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bY,Si,Ss,Sn,So],isXML:!0,serializer:wt},wb={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{204:{headersMapper:Nu},default:{bodyMapper:yA,headersMapper:Nh}},requestBody:{parameterPath:["options","tags"],mapper:yI},queryParameters:[N5,bF,Sr],urlParameters:[N1],headerParameters:[N$,N0,N4,N8,bu,bY,Si,Ss,Sn,So,Sa,SA],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wt};class wS{client;constructor(e){this.client=e}create(e,t,r){return this.client.sendOperationRequest({contentLength:e,blobContentLength:t,options:r},wD)}uploadPages(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},wx)}clearPages(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},wR)}uploadPagesFromURL(e,t,r,i,s){return this.client.sendOperationRequest({sourceUrl:e,sourceRange:t,contentLength:r,range:i,options:s},wM)}getPageRanges(e){return this.client.sendOperationRequest({options:e},wk)}getPageRangesDiff(e){return this.client.sendOperationRequest({options:e},wF)}resize(e,t){return this.client.sendOperationRequest({blobContentLength:e,options:t},wU)}updateSequenceNumber(e,t){return this.client.sendOperationRequest({sequenceNumberAction:e,options:t},wv)}copyIncremental(e,t){return this.client.sendOperationRequest({copySource:e,options:t},wT)}}let ww=IU(eO,!0),wD={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nm},default:{bodyMapper:yA,headersMapper:Np}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bj,bK,bX,bZ,b8,b9,{parameterPath:"blobType",mapper:{defaultValue:"PageBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}},Sl,Sc],isXML:!0,serializer:ww},wx={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NC},default:{bodyMapper:yA,headersMapper:NI}},requestBody:Sg,queryParameters:[N5,Sh],urlParameters:[N1],headerParameters:[N4,N8,bo,bu,bh,bm,bU,bv,bT,bL,bO,bH,bP,bY,bX,Sa,SA,Sd,Su,Sm,Sp,SC,SI,Sf],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:ww},wR={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nf},default:{bodyMapper:yA,headersMapper:NE}},queryParameters:[N5,Sh],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bu,bh,bm,bU,bT,bL,bO,bH,bP,bY,bX,Sp,SC,SI,{parameterPath:"pageWrite",mapper:{defaultValue:"clear",isConstant:!0,serializedName:"x-ms-page-write",type:{name:"String"}}}],isXML:!0,serializer:ww},wM={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NB},default:{bodyMapper:yA,headersMapper:Ny}},queryParameters:[N5,Sh],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX,b0,b1,b2,b3,b6,b7,St,Sm,Sp,SC,SI,SE,{parameterPath:"sourceRange",mapper:{serializedName:"x-ms-source-range",required:!0,xmlName:"x-ms-source-range",type:{name:"String"}}},SB,{parameterPath:"range",mapper:{serializedName:"x-ms-range",required:!0,xmlName:"x-ms-range",type:{name:"String"}}},Sy,SQ,SN],isXML:!0,serializer:ww},wk={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yF,headersMapper:NQ},default:{bodyMapper:yA,headersMapper:NN}},queryParameters:[N5,be,bt,bk,Sb],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bU,bH,bP,bY],isXML:!0,serializer:ww},wF={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yF,headersMapper:Nb},default:{bodyMapper:yA,headersMapper:NS}},queryParameters:[N5,be,bt,bk,Sb,{parameterPath:["options","prevsnapshot"],mapper:{serializedName:"prevsnapshot",xmlName:"prevsnapshot",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bU,bH,bP,bY,{parameterPath:["options","prevSnapshotUrl"],mapper:{serializedName:"x-ms-previous-snapshot-url",xmlName:"x-ms-previous-snapshot-url",type:{name:"String"}}}],isXML:!0,serializer:ww},wU={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nw},default:{bodyMapper:yA,headersMapper:ND}},queryParameters:[N3,N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX,Sl],isXML:!0,serializer:ww},wv={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:Nx},default:{bodyMapper:yA,headersMapper:NR}},queryParameters:[N3,N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bH,bP,bY,Sc,{parameterPath:"sequenceNumberAction",mapper:{serializedName:"x-ms-sequence-number-action",required:!0,xmlName:"x-ms-sequence-number-action",type:{name:"Enum",allowedValues:["max","update","increment"]}}}],isXML:!0,serializer:ww},wT={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{202:{headersMapper:NM},default:{bodyMapper:yA,headersMapper:Nk}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"incrementalcopy",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bh,bm,bH,bP,bY,b4],isXML:!0,serializer:ww};class wL{client;constructor(e){this.client=e}create(e,t){return this.client.sendOperationRequest({contentLength:e,options:t},wH)}appendBlock(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},wP)}appendBlockFromUrl(e,t,r){return this.client.sendOperationRequest({sourceUrl:e,contentLength:t,options:r},wY)}seal(e){return this.client.sendOperationRequest({options:e},wG)}}let wO=IU(eO,!0),wH={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NF},default:{bodyMapper:yA,headersMapper:NU}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bj,bK,bX,b8,b9,{parameterPath:"blobType",mapper:{defaultValue:"AppendBlob",isConstant:!0,serializedName:"x-ms-blob-type",type:{name:"String"}}}],isXML:!0,serializer:wO},wP={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nv},default:{bodyMapper:yA,headersMapper:NT}},requestBody:Sg,queryParameters:[N5,SS],urlParameters:[N1],headerParameters:[N4,N8,bo,bu,bh,bm,bv,bT,bL,bO,bH,bP,bY,bX,Sa,SA,Sd,Su,Sf,Sw,SD],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:wO},wY={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NL},default:{bodyMapper:yA,headersMapper:NO}},queryParameters:[N5,SS],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bu,bh,bm,bT,bL,bO,bH,bP,bY,bX,b0,b1,b2,b3,b6,b7,St,Sa,SE,SB,Sy,SQ,SN,Sw,SD,Sx],isXML:!0,serializer:wO},wG={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{200:{headersMapper:NH},default:{bodyMapper:yA,headersMapper:NP}},queryParameters:[N5,{parameterPath:"comp",mapper:{defaultValue:"seal",isConstant:!0,serializedName:"comp",type:{name:"String"}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bh,bm,bH,bP,SD],isXML:!0,serializer:wO};class wz{client;constructor(e){this.client=e}upload(e,t,r){return this.client.sendOperationRequest({contentLength:e,body:t,options:r},wV)}putBlobFromUrl(e,t,r){return this.client.sendOperationRequest({contentLength:e,copySource:t,options:r},w_)}stageBlock(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,body:r,options:i},wJ)}stageBlockFromURL(e,t,r,i){return this.client.sendOperationRequest({blockId:e,contentLength:t,sourceUrl:r,options:i},wW)}commitBlockList(e,t){return this.client.sendOperationRequest({blocks:e,options:t},wj)}getBlockList(e,t){return this.client.sendOperationRequest({listType:e,options:t},wK)}}let wq=IU(eO,!0),wV={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NY},default:{bodyMapper:yA,headersMapper:NG}},requestBody:Sg,queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,bo,bd,bu,bh,bm,bv,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bj,bK,bX,bZ,b8,b9,Sa,SA,Sd,Su,Sf,SR],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:wq},w_={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nz},default:{bodyMapper:yA,headersMapper:Nq}},queryParameters:[N5],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bX,bZ,b0,b1,b2,b3,b5,b4,b8,b6,b7,Se,St,Sa,Sy,SQ,SN,SR,{parameterPath:["options","copySourceBlobProperties"],mapper:{serializedName:"x-ms-copy-source-blob-properties",xmlName:"x-ms-copy-source-blob-properties",type:{name:"Boolean"}}}],isXML:!0,serializer:wq},wJ={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NV},default:{bodyMapper:yA,headersMapper:N_}},requestBody:Sg,queryParameters:[N5,SM,Sk],urlParameters:[N1],headerParameters:[N4,N8,bo,bu,bv,bT,bL,bO,bX,Sa,SA,Sd,Su,Sf],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"binary",serializer:wq},wW={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:NJ},default:{bodyMapper:yA,headersMapper:NW}},queryParameters:[N5,SM,Sk],urlParameters:[N1],headerParameters:[N4,N8,N9,bo,bu,bT,bL,bO,bX,b0,b1,b2,b3,b6,b7,St,SE,SB,Sy,SQ,SN,Sx],isXML:!0,serializer:wq},wj={path:"/{containerName}/{blob}",httpMethod:"PUT",responses:{201:{headersMapper:Nj},default:{bodyMapper:yA,headersMapper:NK}},requestBody:{parameterPath:"blocks",mapper:yR},queryParameters:[N5,SF],urlParameters:[N1],headerParameters:[N$,N0,N4,N8,bd,bu,bh,bm,bT,bL,bO,bH,bP,bY,bG,bz,bq,bV,b_,bJ,bj,bK,bX,bZ,b8,b9,Sa,SA],isXML:!0,contentType:"application/xml; charset=utf-8",mediaType:"xml",serializer:wq},wK={path:"/{containerName}/{blob}",httpMethod:"GET",responses:{200:{bodyMapper:yM,headersMapper:NX},default:{bodyMapper:yA,headersMapper:NZ}},queryParameters:[N5,bk,SF,{parameterPath:"listType",mapper:{defaultValue:"committed",serializedName:"blocklisttype",required:!0,xmlName:"blocklisttype",type:{name:"Enum",allowedValues:["committed","uncommitted","all"]}}}],urlParameters:[N1],headerParameters:[N4,N8,N9,bu,bY],isXML:!0,serializer:wq};class wX extends fA{url;version;constructor(e,t){if(void 0===e)throw Error("'url' cannot be null");t||(t={});let r="azsdk-js-azure-storage-blob/12.33.0",i=t.userAgentOptions&&t.userAgentOptions.userAgentPrefix?`${t.userAgentOptions.userAgentPrefix} ${r}`:`${r}`;super({...{requestContentType:"application/json; charset=utf-8"},...t,userAgentOptions:{userAgentPrefix:i},endpoint:t.endpoint??t.baseUri??"{url}"}),this.url=e,this.version=t.version||"2026-06-06",this.service=new SU(this),this.container=new Sq(this),this.blob=new we(this),this.pageBlob=new wS(this),this.appendBlob=new wL(this),this.blockBlob=new wz(this)}service;container;blob;pageBlob;appendBlob;blockBlob}class wZ extends wX{async sendOperationRequest(e,t){let r={...t};return("/{containerName}"===r.path||"/{containerName}/{blob}"===r.path)&&(r.path=""),super.sendOperationRequest(e,r)}}let w$=["-secondary-ipv6","-secondary-dualstack","-ipv6","-dualstack","-secondary"];function w0(e,t){for(let r of e.split(";"))if(r.trim().startsWith(t))return r.trim().match(t+"=(.*)")[1];return""}function w1(e){let t="";e.startsWith("UseDevelopmentStorage=true")&&(t=function(e){let t="";if(-1!==e.search("DevelopmentStorageProxyUri="))for(let r of e.split(";"))r.trim().startsWith("DevelopmentStorageProxyUri=")&&(t=r.trim().match("DevelopmentStorageProxyUri=(.*)")[1]);return t}(e),e="DefaultEndpointsProtocol=http;AccountName=devstoreaccount1;AccountKey=Eby8vdM02xNOcqFlqUwJPLlmEtlCDXJ1OUzFT50uSRZ6IFsuFq2UVErCz4I6tq/K1SZFPTOtr/KBHBeksoGMGw==;BlobEndpoint=http://127.0.0.1:10000/devstoreaccount1;");let r=w0(e,"BlobEndpoint");if(r=r.endsWith("/")?r.slice(0,-1):r,-1!==e.search("DefaultEndpointsProtocol=")&&-1!==e.search("AccountKey=")){let i="",s="",n=Buffer.from("accountKey","base64"),o="";if(s=w0(e,"AccountName"),n=Buffer.from(w0(e,"AccountKey"),"base64"),!r){let t=(i=w0(e,"DefaultEndpointsProtocol")).toLowerCase();if("https"!==t&&"http"!==t)throw Error("Invalid DefaultEndpointsProtocol in the provided Connection String. Expecting 'https' or 'http'");if(!(o=w0(e,"EndpointSuffix")))throw Error("Invalid EndpointSuffix in the provided Connection String");r=`${i}://${s}.blob.${o}`}if(s){if(0===n.length)throw Error("Invalid AccountKey in the provided Connection String")}else throw Error("Invalid AccountName in the provided Connection String");return{kind:"AccountConnString",url:r,accountName:s,accountKey:n,proxyUri:t}}{let t=w0(e,"SharedAccessSignature"),i=w0(e,"AccountName");if(i||(i=w6(r)),r){if(!t)throw Error("Invalid SharedAccessSignature in the provided SAS Connection String")}else throw Error("Invalid BlobEndpoint in the provided SAS Connection String");return t.startsWith("?")&&(t=t.substring(1)),{kind:"SASConnString",url:r,accountName:i,accountSas:t}}}function w2(e,t){let r=new URL(e),i=r.pathname;return r.pathname=i=i?i.endsWith("/")?`${i}${t}`:`${i}/${t}`:t,r.toString()}function w3(e,t,r){let i=new URL(e),s=encodeURIComponent(t),n=r?encodeURIComponent(r):void 0,o=""===i.search?"?":i.search,a=[];for(let e of o.slice(1).split("&"))if(e){let[t]=e.split("=",2);t!==s&&a.push(e)}return n&&a.push(`${s}=${n}`),i.search=a.length?`?${a.join("&")}`:"",i.toString()}function w5(e,t){return new URL(e).searchParams.get(t)??void 0}function w4(e,t){let r=new URL(e),i=r.search;return i?i+="&"+t:i=t,r.search=i,r.toString()}function w8(e,t=!0){let r=e.toISOString();return t?r.substring(0,r.length-1)+"0000Z":r.substring(0,r.length-5)+"Z"}function w9(e,t){var r;return e.length>42&&(e=e.slice(0,42)),r=e+function(e,t,r=" "){return String.prototype.padStart?e.padStart(t,r):(r=r||" ",e.length>t)?e:((t-=e.length)>r.length&&(r+=r.repeat(t/r.length)),r.slice(0,t)+e)}(t.toString(),48-e.length,"0"),Buffer.from(r).toString("base64")}function w6(e){let t,r=new URL(e);try{if("blob"===r.hostname.split(".")[1]){t=r.hostname.split(".")[0];for(let e=0;e<w$.length;++e){let r=w$[e];if(t.endsWith(r)){t=t.substring(0,t.length-r.length);break}}}else t=w7(r)?r.pathname.split("/")[1]:"";return t}catch(e){throw Error("Unable to extract accountName with provided information.")}}function w7(e){let t=e.host;return/^.*:.*:.*$|^(localhost|host.docker.internal)(:[0-9]+)?$|^(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])(\.(\d|[1-9]\d|1\d\d|2[0-4]\d|25[0-5])){3}(:[0-9]+)?$/.test(t)||!!e.port&&B0.includes(e.port)}function De(e){if(void 0===e)return;let t=[];for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.push(`${encodeURIComponent(r)}=${encodeURIComponent(i)}`)}return t.join("&")}function Dt(e){if(void 0!==e)switch(e.kind){case"csv":return{format:{type:"delimited",delimitedTextConfiguration:{columnSeparator:e.columnSeparator||",",fieldQuote:e.fieldQuote||"",recordSeparator:e.recordSeparator,escapeChar:e.escapeCharacter||"",headersPresent:e.hasHeaders||!1}}};case"json":return{format:{type:"json",jsonTextConfiguration:{recordSeparator:e.recordSeparator}}};case"arrow":return{format:{type:"arrow",arrowConfiguration:{schema:e.schema}}};case"parquet":return{format:{type:"parquet"}};default:throw Error("Invalid BlobQueryTextConfiguration.")}}function Dr(e){if(!e||"policy-id"in e)return;let t=[];for(let r in e){let i=r.split("_");i[0].startsWith("or-")&&(i[0]=i[0].substring(3));let s={ruleId:i[1],replicationStatus:e[r]},n=t.findIndex(e=>e.policyId===i[0]);n>-1?t[n].rules.push(s):t.push({policyId:i[0],rules:[s]})}return t}function Di(e){return e?e.scheme+" "+e.value:void 0}function*Ds(e){let t=[],r=[];e.pageRange&&(t=e.pageRange),e.clearRange&&(r=e.clearRange);let i=0,s=0;for(;i<t.length&&s<r.length;)t[i].start<r[s].start?(yield{start:t[i].start,end:t[i].end,isClear:!1},++i):(yield{start:r[s].start,end:r[s].end,isClear:!0},++s);for(;i<t.length;++i)yield{start:t[i].start,end:t[i].end,isClear:!1};for(;s<r.length;++s)yield{start:r[s].start,end:r[s].end,isClear:!0}}function Dn(e){if("_response"in e)return e;throw TypeError(`Unexpected response object ${e}`)}async function Do(e,t,r,i,s){let n,o=i.contentChecksumAlgorithm??s;return void 0===o&&(o="Customized"),"Auto"===o&&(o="StorageCrc64"),"Customized"===o?(r.transactionalContentMD5=i.transactionalContentMD5,r.transactionalContentCrc64=i.transactionalContentCrc64):"StorageCrc64"===o&&(await E9.init(),n=await E7(e,t),r.structuredBodyType="XSM/1.0; properties=crc64",r.structuredContentLength=t),{body:"StorageCrc64"===o?n.body:e,contentLength:"StorageCrc64"===o?n.encodedContentLength:t,contentChecksumAlgorithm:o}}class Da{url;accountName;pipeline;credential;storageClientContext;isHttps;constructor(e,t){let r,i;this.url=(i=(r=new URL(e)).pathname,r.pathname=i=encodeURIComponent(i=i||"/").replace(/%2F/g,"/").replace(/'/g,"%27").replace(/\+/g,"%20").replace(/%25/g,"%"),r.toString()),this.accountName=w6(e),this.pipeline=t,this.storageClientContext=new wZ(this.url,function(e){let{httpClient:t,...r}=e.options,i=e._coreHttpClient;!i&&(e._coreHttpClient=i=t?{sendRequest:async e=>fa(await t.sendRequest(ft(e,{createProxy:!0})))}:(A||(A=IC()),A));let s=e._corePipeline;if(!s){let t=`azsdk-js-azure-storage-blob/${BW}`,i=r.userAgentOptions&&r.userAgentOptions.userAgentPrefix?`${r.userAgentOptions.userAgentPrefix} ${t}`:`${t}`;(s=I0({...r,loggingOptions:{additionalAllowedHeaderNames:BZ,additionalAllowedQueryParameters:B$,logger:EZ.info},userAgentOptions:{userAgentPrefix:i},serializationOptions:{stringifyXML:EK,serializerOptions:{xml:{xmlCharKey:"#"}}},deserializationOptions:{parseXML:EX,serializerOptions:{xml:{xmlCharKey:"#"}}}})).removePolicy({phase:"Retry"}),s.removePolicy({name:It}),s.addPolicy({name:"StorageCorrectContentLengthPolicy",sendRequest:async(e,t)=>(e.body&&("string"==typeof e.body||Buffer.isBuffer(e.body))&&e.body.length>0&&e.headers.set(Bp,Buffer.byteLength(e.body)),t(e))}),s.addPolicy(function(e={}){let t=e.retryPolicyType??Bq.retryPolicyType,r=e.maxTries??Bq.maxTries,i=e.retryDelayInMs??Bq.retryDelayInMs,s=e.maxRetryDelayInMs??Bq.maxRetryDelayInMs,n=e.secondaryHost??Bq.secondaryHost,o=e.tryTimeoutInMs??Bq.tryTimeoutInMs;return{name:"storageRetryPolicy",async sendRequest(e,a){let A,l;o&&(e.url=BD(e.url,Bg,String(Math.floor(o/1e3))));let c=e.url,d=n?Bx(e.url,n):void 0,g=!1,u=1,h=!0;for(;h;){let n=g||!d||!["GET","HEAD","OPTIONS"].includes(e.method)||u%2==1;e.url=n?c:d,A=void 0,l=void 0;try{BH.info(`RetryPolicy: =====> Try=${u} ${n?"Primary":"Secondary"}`),A=await a(e),g=g||!n&&404===A.status}catch(e){if(CS(e))BH.error(`RetryPolicy: Caught error, message: ${e.message}, code: ${e.code}`),l=e;else throw BH.error(`RetryPolicy: Caught error, message: ${Il(e)}`),e}(h=function({isPrimaryRetry:e,attempt:t,response:i,error:s}){if(t>=r)return BH.info(`RetryPolicy: Attempt(s) ${t} >= maxTries ${r}, no further try.`),!1;if(s){for(let e of BV)if(s.name.toUpperCase().includes(e)||s.message.toUpperCase().includes(e)||s.code&&s.code.toString().toUpperCase()===e)return BH.info(`RetryPolicy: Network error ${e} found, will retry.`),!0;if(s?.code==="PARSE_ERROR"&&s?.message.startsWith('Error "Error: Unclosed root tag'))return BH.info("RetryPolicy: Incomplete XML response likely due to service timeout, will retry."),!0}if(i||s){let t=i?.status??s?.statusCode??0;if(!e&&404===t)return BH.info("RetryPolicy: Secondary access with 404, will retry."),!0;if(503===t||500===t)return BH.info(`RetryPolicy: Will retry for status code ${t}.`),!0}if(i&&i?.status>=400){let e=i.headers.get(Bw);if(void 0!==e)switch(e){case"InternalError":case"OperationTimedOut":case"ServerBusy":return!0}}return!1}({isPrimaryRetry:n,attempt:u,response:A,error:l}))&&await Bk(function(e,r){let n=0;if(e)switch(t){case eQ.EXPONENTIAL:n=Math.min((Math.pow(2,r-1)-1)*i,s);break;case eQ.FIXED:n=i}else n=1e3*Math.random();return BH.info(`RetryPolicy: Delay for ${n}ms`),n}(n,u),e.abortSignal,B_),u++}if(A)return A;throw l??new Cb("RetryPolicy failed without known error.")}}}(r.retryOptions),{phase:"Retry"}),s.addPolicy({name:"storageRequestFailureDetailsParserPolicy",async sendRequest(e,t){try{return await t(e)}catch(e){throw"object"==typeof e&&null!==e&&e.response&&e.response.parsedBody&&"InvalidHeaderValue"===e.response.parsedBody.code&&"x-ms-version"===e.response.parsedBody.HeaderName&&(e.message="The provided service version is not enabled on this storage account. Please see https://learn.microsoft.com/rest/api/storageservices/versioning-for-the-azure-storage-services for additional information.\n"),e}}}),s.addPolicy({name:"storageBrowserPolicy",sendRequest:async(e,t)=>t(e)});let n=function(e){let t=[B8,B4,B9,B6,B7,ye,yt];if(e.factories.length){let r=e.factories.filter(e=>!t.some(t=>t(e)));if(r.length){let e,t=r.some(e=>"InjectorPolicyFactory"===e.constructor.name);return{wrappedPolicies:(e=r.slice().reverse(),{name:"RequestPolicyFactoryPolicy",async sendRequest(t,r){let i={sendRequest:async e=>fo(await r(fe(e)),{createProxy:!0})};for(let t of e)i=t.create(i,fl);let s=ft(t,{createProxy:!0});return fa(await i.sendRequest(s))}}),afterRetry:t}}}}(e);n&&s.addPolicy(n.wrappedPolicies,n.afterRetry?{afterPhase:"Retry"}:void 0);let o=B5(e);IS(o)?s.addPolicy(IN({credential:o,scopes:r.audience??"https://storage.azure.com/.default",challengeCallbacks:{authorizeRequestOnChallenge:I8}}),{phase:"Sign"}):o instanceof BO&&s.addPolicy(function(e){function t(e,t){let r=e.headers.get(t);return r&&(t!==Bp||"0"!==r)?r:""}return{name:"storageSharedKeyCredentialPolicy",async sendRequest(r,i){let s,n;return r.headers.set(BS,new Date().toUTCString()),r.body&&("string"==typeof r.body||Buffer.isBuffer(r.body))&&r.body.length>0&&r.headers.set(Bp,Buffer.byteLength(r.body)),s=[r.method.toUpperCase(),t(r,Bm),t(r,Bh),t(r,Bp),t(r,BC),t(r,BI),t(r,Bf),t(r,BB),t(r,BE),t(r,By),t(r,BQ),t(r,Bb)].join("\n")+"\n"+function(e){let t=[];for(let[r,i]of e.headers)r.toLowerCase().startsWith(BN)&&t.push({name:r,value:i});t.sort((e,t)=>BT(e.name.toLowerCase(),t.name.toLowerCase()));let r="";return(t=t.filter((e,t,r)=>!(t>0)||e.name.toLowerCase()!==r[t-1].name.toLowerCase())).forEach(e=>{r+=`${e.name.toLowerCase().trimRight()}:${e.value.trimLeft()} +`}),r}(r)+function(t){let r=BR(t.url)||"/",i="";i+=`/${e.accountName}${r}`;let s=BM(t.url),n={};if(s){let e=[];for(let t in s)if(Object.prototype.hasOwnProperty.call(s,t)){let r=t.toLowerCase();n[r]=s[t],e.push(r)}for(let t of(e.sort(),e))i+=` +${t}:${decodeURIComponent(n[t])}`}return i}(r),n=(0,uu.createHmac)("sha256",e.accountKey).update(s,"utf8").digest("base64"),r.headers.set(Bu,`SharedKey ${e.accountName}:${n}`),i(r)}}}({accountName:o.accountName,accountKey:o.accountKey}),{phase:"Sign"}),e._corePipeline=s}return{...r,allowInsecureConnection:!0,httpClient:i,pipeline:s}}(t)),this.isHttps=((function(e){try{let t=new URL(e);return t.protocol.endsWith(":")?t.protocol.slice(0,-1):t.protocol}catch(e){return}})(this.url)||"").toLocaleLowerCase()==="https".toLocaleLowerCase(),this.credential=B5(t),this.storageClientContext.requestContentType=void 0}}let DA=Im({packageName:"@azure/storage-blob",packageVersion:BW,namespace:"Microsoft.Storage"});class Dl{static parse(e){let t=new Dl;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"x":t.deleteVersion=!0;break;case"t":t.tag=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;default:throw RangeError(`Invalid permission: ${r}`)}return t}static from(e){let t=new Dl;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),e.join("")}}class Dc{static parse(e){let t=new Dc;for(let r of e)switch(r){case"r":t.read=!0;break;case"a":t.add=!0;break;case"c":t.create=!0;break;case"w":t.write=!0;break;case"d":t.delete=!0;break;case"l":t.list=!0;break;case"t":t.tag=!0;break;case"x":t.deleteVersion=!0;break;case"m":t.move=!0;break;case"e":t.execute=!0;break;case"i":t.setImmutabilityPolicy=!0;break;case"y":t.permanentDelete=!0;break;case"f":t.filterByTags=!0;break;default:throw RangeError(`Invalid permission ${r}`)}return t}static from(e){let t=new Dc;return e.read&&(t.read=!0),e.add&&(t.add=!0),e.create&&(t.create=!0),e.write&&(t.write=!0),e.delete&&(t.delete=!0),e.list&&(t.list=!0),e.deleteVersion&&(t.deleteVersion=!0),e.tag&&(t.tag=!0),e.move&&(t.move=!0),e.execute&&(t.execute=!0),e.setImmutabilityPolicy&&(t.setImmutabilityPolicy=!0),e.permanentDelete&&(t.permanentDelete=!0),e.filterByTags&&(t.filterByTags=!0),t}read=!1;add=!1;create=!1;write=!1;delete=!1;deleteVersion=!1;list=!1;tag=!1;move=!1;execute=!1;setImmutabilityPolicy=!1;permanentDelete=!1;filterByTags=!1;toString(){let e=[];return this.read&&e.push("r"),this.add&&e.push("a"),this.create&&e.push("c"),this.write&&e.push("w"),this.delete&&e.push("d"),this.deleteVersion&&e.push("x"),this.list&&e.push("l"),this.tag&&e.push("t"),this.move&&e.push("m"),this.execute&&e.push("e"),this.setImmutabilityPolicy&&e.push("i"),this.permanentDelete&&e.push("y"),this.filterByTags&&e.push("f"),e.join("")}}function Dd(e){return e.end?`${e.start}-${e.end}`:e.start}(ed=eD||(eD={})).Https="https",ed.HttpsAndHttp="https,http";class Dg{version;protocol;startsOn;expiresOn;permissions;services;resourceTypes;identifier;delegatedUserObjectId;encryptionScope;resource;signature;cacheControl;contentDisposition;contentEncoding;contentLanguage;contentType;ipRangeInner;signedOid;signedTenantId;signedStartsOn;signedExpiresOn;signedService;signedVersion;signedDelegatedUserTid;preauthorizedAgentObjectId;correlationId;requestHeaderKeys;requestQueryParameterKeys;directoryDepth;get ipRange(){if(this.ipRangeInner)return{end:this.ipRangeInner.end,start:this.ipRangeInner.start}}constructor(e,t,r,i,s,n,o,a,A,l,c,d,g,u,h,m,p,C,I,f,E,B,y,Q){this.version=e,this.signature=t,void 0!==r&&"string"!=typeof r?(this.permissions=r.permissions,this.services=r.services,this.resourceTypes=r.resourceTypes,this.protocol=r.protocol,this.startsOn=r.startsOn,this.expiresOn=r.expiresOn,this.ipRangeInner=r.ipRange,this.identifier=r.identifier,this.delegatedUserObjectId=r.delegatedUserObjectId,this.encryptionScope=r.encryptionScope,this.resource=r.resource,this.cacheControl=r.cacheControl,this.contentDisposition=r.contentDisposition,this.contentEncoding=r.contentEncoding,this.contentLanguage=r.contentLanguage,this.contentType=r.contentType,this.requestHeaderKeys=r.requestHeaderKeys,this.requestQueryParameterKeys=r.requestQueryParameterKeys,this.directoryDepth=r.directoryDepth,r.userDelegationKey&&(this.signedOid=r.userDelegationKey.signedObjectId,this.signedTenantId=r.userDelegationKey.signedTenantId,this.signedStartsOn=r.userDelegationKey.signedStartsOn,this.signedExpiresOn=r.userDelegationKey.signedExpiresOn,this.signedService=r.userDelegationKey.signedService,this.signedVersion=r.userDelegationKey.signedVersion,this.signedDelegatedUserTid=r.userDelegationKey.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=r.preauthorizedAgentObjectId,this.correlationId=r.correlationId)):(this.services=i,this.resourceTypes=s,this.expiresOn=a,this.permissions=r,this.protocol=n,this.startsOn=o,this.ipRangeInner=A,this.delegatedUserObjectId=E,this.encryptionScope=f,this.identifier=l,this.resource=c,this.cacheControl=d,this.contentDisposition=g,this.contentEncoding=u,this.contentLanguage=h,this.contentType=m,this.requestHeaderKeys=B,this.requestQueryParameterKeys=y,this.directoryDepth=Q,p&&(this.signedOid=p.signedObjectId,this.signedTenantId=p.signedTenantId,this.signedStartsOn=p.signedStartsOn,this.signedExpiresOn=p.signedExpiresOn,this.signedService=p.signedService,this.signedVersion=p.signedVersion,this.signedDelegatedUserTid=p.signedDelegatedUserTenantId,this.preauthorizedAgentObjectId=C,this.correlationId=I))}toString(){let e=[];for(let t of["sv","ss","srt","spr","st","se","sip","si","ses","skoid","sktid","skt","ske","sks","skv","sr","sp","rscc","rscd","rsce","rscl","rsct","saoid","scid","sdd","sduoid","skdutid","srh","srq","sig"])switch(t){case"sv":this.tryAppendQueryParameter(e,t,this.version);break;case"ss":this.tryAppendQueryParameter(e,t,this.services);break;case"srt":this.tryAppendQueryParameter(e,t,this.resourceTypes);break;case"spr":this.tryAppendQueryParameter(e,t,this.protocol);break;case"st":this.tryAppendQueryParameter(e,t,this.startsOn?w8(this.startsOn,!1):void 0);break;case"se":this.tryAppendQueryParameter(e,t,this.expiresOn?w8(this.expiresOn,!1):void 0);break;case"sip":this.tryAppendQueryParameter(e,t,this.ipRange?Dd(this.ipRange):void 0);break;case"si":this.tryAppendQueryParameter(e,t,this.identifier);break;case"ses":this.tryAppendQueryParameter(e,t,this.encryptionScope);break;case"skoid":this.tryAppendQueryParameter(e,t,this.signedOid);break;case"sktid":this.tryAppendQueryParameter(e,t,this.signedTenantId);break;case"skt":this.tryAppendQueryParameter(e,t,this.signedStartsOn?w8(this.signedStartsOn,!1):void 0);break;case"ske":this.tryAppendQueryParameter(e,t,this.signedExpiresOn?w8(this.signedExpiresOn,!1):void 0);break;case"sks":this.tryAppendQueryParameter(e,t,this.signedService);break;case"skv":this.tryAppendQueryParameter(e,t,this.signedVersion);break;case"skdutid":this.tryAppendQueryParameter(e,t,this.signedDelegatedUserTid);break;case"sr":this.tryAppendQueryParameter(e,t,this.resource);break;case"sp":this.tryAppendQueryParameter(e,t,this.permissions);break;case"sig":this.tryAppendQueryParameter(e,t,this.signature);break;case"rscc":this.tryAppendQueryParameter(e,t,this.cacheControl);break;case"rscd":this.tryAppendQueryParameter(e,t,this.contentDisposition);break;case"rsce":this.tryAppendQueryParameter(e,t,this.contentEncoding);break;case"rscl":this.tryAppendQueryParameter(e,t,this.contentLanguage);break;case"rsct":this.tryAppendQueryParameter(e,t,this.contentType);break;case"saoid":this.tryAppendQueryParameter(e,t,this.preauthorizedAgentObjectId);break;case"scid":this.tryAppendQueryParameter(e,t,this.correlationId);break;case"sduoid":this.tryAppendQueryParameter(e,t,this.delegatedUserObjectId);break;case"srh":this.tryAppendQueryParameter(e,t,this.requestHeaderKeys);break;case"srq":this.tryAppendQueryParameter(e,t,this.requestQueryParameterKeys);break;case"sdd":this.tryAppendQueryParameter(e,t,void 0!==this.directoryDepth?this.directoryDepth.toString():"")}return e.join("&")}tryAppendQueryParameter(e,t,r){r&&(t=encodeURIComponent(t),r=encodeURIComponent(r),t.length>0&&r.length>0&&e.push(`${t}=${r}`))}}function Du(e,t,r){return Dh(e,t,r).sasQueryParameters}function Dh(e,t,r){let i,s=e.version?e.version:Bj,n=t instanceof BO?t:void 0;if(void 0===n&&void 0!==r&&(i=new BJ(r,t)),void 0===n&&void 0===i)throw TypeError("Invalid sharedKeyCredential, userDelegationKey or accountName.");if(s>="2020-12-06")if(void 0!==n)return function(e,t){let r,i;if(!(e=DC(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,n);else if(s>="2026-04-06")return function(e,t){let r,i;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+r+":"+e[r]+"\n"}),t}(e.requestHeaders),function(e){if(void 0===e)return;let t="";return Object.keys(e).forEach(function(r){t=t+"\n"+r+":"+e[r]}),t}(e.requestQueryParameters),e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,Dm(e.requestHeaders),Dm(e.requestQueryParameters),i),stringToSign:o}}(e,i);else if(s>="2025-07-05")return function(e,t){let r,i;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,t.userDelegationKey.signedDelegatedUserTenantId,e.delegatedUserObjectId,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,e.delegatedUserObjectId,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r,i;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.encryptionScope,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,e.encryptionScope,void 0,void 0,void 0,i),stringToSign:o}}(e,i);if(s>="2018-11-09")if(void 0!==n)if(s>="2020-02-10")return function(e,t){let r,i;if(!(e=DC(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,void 0,void 0,void 0,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,n);else return function(e,t){let r;if(!(e=DC(e)).identifier&&!(e.permissions&&e.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let i="c",s=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId)),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let n=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),e.identifier,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl?e.cacheControl:"",e.contentDisposition?e.contentDisposition:"",e.contentEncoding?e.contentEncoding:"",e.contentLanguage?e.contentLanguage:"",e.contentType?e.contentType:""].join("\n"),o=t.computeHMACSHA256(n);return{sasQueryParameters:new Dg(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType),stringToSign:n}}(e,n);else if(s>="2020-02-10")return function(e,t){let r,i;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let s="c",n=e.snapshotTime;e.blobName&&(!0===e.isDirectory?(s="d",i=DI(e.blobName).split("/").length):(s="b",e.snapshotTime?s="bs":e.versionId&&(s="bv",n=e.versionId))),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let o=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.preauthorizedAgentObjectId,void 0,e.correlationId,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,s,n,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),a=t.computeHMACSHA256(o);return{sasQueryParameters:new Dg(e.version,a,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey,e.preauthorizedAgentObjectId,e.correlationId,void 0,void 0,void 0,void 0,i),stringToSign:o}}(e,i);else return function(e,t){let r;if(!(e=DC(e)).permissions||!e.expiresOn)throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when generating user delegation SAS.");let i="c",s=e.snapshotTime;e.blobName&&(i="b",e.snapshotTime?i="bs":e.versionId&&(i="bv",s=e.versionId)),e.permissions&&(r=e.blobName?Dl.parse(e.permissions.toString()).toString():Dc.parse(e.permissions.toString()).toString());let n=[r||"",e.startsOn?w8(e.startsOn,!1):"",e.expiresOn?w8(e.expiresOn,!1):"",Dp(t.accountName,e.containerName,e.blobName),t.userDelegationKey.signedObjectId,t.userDelegationKey.signedTenantId,t.userDelegationKey.signedStartsOn?w8(t.userDelegationKey.signedStartsOn,!1):"",t.userDelegationKey.signedExpiresOn?w8(t.userDelegationKey.signedExpiresOn,!1):"",t.userDelegationKey.signedService,t.userDelegationKey.signedVersion,e.ipRange?Dd(e.ipRange):"",e.protocol?e.protocol:"",e.version,i,s,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType].join("\n"),o=t.computeHMACSHA256(n);return{sasQueryParameters:new Dg(e.version,o,r,void 0,void 0,e.protocol,e.startsOn,e.expiresOn,e.ipRange,e.identifier,i,e.cacheControl,e.contentDisposition,e.contentEncoding,e.contentLanguage,e.contentType,t.userDelegationKey),stringToSign:n}}(e,i);if(s>="2015-04-05")if(void 0!==n){let t;var o=e,a=n;if(!(o=DC(o)).identifier&&!(o.permissions&&o.expiresOn))throw RangeError("Must provide 'permissions' and 'expiresOn' for Blob SAS generation when 'identifier' is not provided.");let r="c";o.blobName&&(r="b"),o.permissions&&(t=o.blobName?Dl.parse(o.permissions.toString()).toString():Dc.parse(o.permissions.toString()).toString());let i=[t||"",o.startsOn?w8(o.startsOn,!1):"",o.expiresOn?w8(o.expiresOn,!1):"",Dp(a.accountName,o.containerName,o.blobName),o.identifier,o.ipRange?Dd(o.ipRange):"",o.protocol?o.protocol:"",o.version,o.cacheControl?o.cacheControl:"",o.contentDisposition?o.contentDisposition:"",o.contentEncoding?o.contentEncoding:"",o.contentLanguage?o.contentLanguage:"",o.contentType?o.contentType:""].join("\n"),s=a.computeHMACSHA256(i);return{sasQueryParameters:new Dg(o.version,s,t,void 0,void 0,o.protocol,o.startsOn,o.expiresOn,o.ipRange,o.identifier,r,o.cacheControl,o.contentDisposition,o.contentEncoding,o.contentLanguage,o.contentType),stringToSign:i}}else throw RangeError("'version' must be >= '2018-11-09' when generating user delegation SAS using user delegation key.");throw RangeError("'version' must be >= '2015-04-05'.")}function Dm(e){if(void 0===e)return;let t="",r=0;return Object.keys(e).forEach(function(e){0!==r&&(t+=","),t+=e,++r}),t}function Dp(e,t,r){let i=[`/blob/${e}/${t}`];return r&&i.push(`/${r}`),i.join("")}function DC(e){let t=e.version?e.version:Bj;if(e.snapshotTime&&t<"2018-11-09")throw RangeError("'version' must be >= '2018-11-09' when providing 'snapshotTime'.");if(void 0===e.blobName&&e.snapshotTime)throw RangeError("Must provide 'blobName' when providing 'snapshotTime'.");if(e.versionId&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'versionId'.");if(void 0===e.blobName&&e.versionId)throw RangeError("Must provide 'blobName' when providing 'versionId'.");if(e.permissions&&e.permissions.setImmutabilityPolicy&&t<"2020-08-04")throw RangeError("'version' must be >= '2020-08-04' when provided 'i' permission.");if(e.permissions&&e.permissions.deleteVersion&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'x' permission.");if(e.permissions&&e.permissions.permanentDelete&&t<"2019-10-10")throw RangeError("'version' must be >= '2019-10-10' when providing 'y' permission.");if(e.permissions&&e.permissions.tag&&t<"2019-12-12")throw RangeError("'version' must be >= '2019-12-12' when providing 't' permission.");if(t<"2020-02-10"&&e.permissions&&(e.permissions.move||e.permissions.execute))throw RangeError("'version' must be >= '2020-02-10' when providing the 'm' or 'e' permission.");if(t<"2021-04-10"&&e.permissions&&e.permissions.filterByTags)throw RangeError("'version' must be >= '2021-04-10' when providing the 'f' permission.");if(t<"2020-02-10"&&(e.preauthorizedAgentObjectId||e.correlationId))throw RangeError("'version' must be >= '2020-02-10' when providing 'preauthorizedAgentObjectId' or 'correlationId'.");if(e.encryptionScope&&t<"2020-12-06")throw RangeError("'version' must be >= '2020-12-06' when provided 'encryptionScope' in SAS.");return e.version=t,e}function DI(e){let t=e;for(;t.startsWith("/");)t=t.substring(1);for(;t.endsWith("/");)t=t.substring(0,t.length-1);return t}class Df{_leaseId;_url;_containerOrBlobOperation;_isContainer;get leaseId(){return this._leaseId}get url(){return this._url}constructor(e,t){let r=e.storageClientContext;this._url=e.url,void 0===e.name?(this._isContainer=!0,this._containerOrBlobOperation=r.container):(this._isContainer=!1,this._containerOrBlobOperation=r.blob),t||(t=Cu()),this._leaseId=t}async acquireLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-acquireLease",t,async r=>Dn(await this._containerOrBlobOperation.acquireLease({abortSignal:t.abortSignal,duration:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},proposedLeaseId:this._leaseId,tracingOptions:r.tracingOptions})))}async changeLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-changeLease",t,async r=>{let i=Dn(await this._containerOrBlobOperation.changeLease(this._leaseId,e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return this._leaseId=e,i})}async releaseLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-releaseLease",e,async t=>Dn(await this._containerOrBlobOperation.releaseLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async renewLease(e={}){if(this._isContainer&&(e.conditions?.ifMatch&&e.conditions?.ifMatch!==""||e.conditions?.ifNoneMatch&&e.conditions?.ifNoneMatch!==""||e.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-renewLease",e,async t=>this._containerOrBlobOperation.renewLease(this._leaseId,{abortSignal:e.abortSignal,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions}))}async breakLease(e,t={}){if(this._isContainer&&(t.conditions?.ifMatch&&t.conditions?.ifMatch!==""||t.conditions?.ifNoneMatch&&t.conditions?.ifNoneMatch!==""||t.conditions?.tagConditions))throw RangeError("The IfMatch, IfNoneMatch and tags access conditions are ignored by the service. Values other than undefined or their default values are not acceptable.");return DA.withSpan("BlobLeaseClient-breakLease",t,async r=>{let i={abortSignal:t.abortSignal,breakPeriod:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions};return Dn(await this._containerOrBlobOperation.breakLease(i))})}}class DE extends px.Readable{start;offset;end;getter;source;retries=0;maxRetryRequests;onProgress;options;constructor(e,t,r,i,s={}){super({highWaterMark:s.highWaterMark}),this.getter=t,this.source=e,this.start=r,this.offset=r,this.end=r+i-1,this.maxRetryRequests=s.maxRetryRequests&&s.maxRetryRequests>=0?s.maxRetryRequests:0,this.onProgress=s.onProgress,this.options=s,this.setSourceEventHandlers()}_read(){this.source.resume()}setSourceEventHandlers(){this.source.on("data",this.sourceDataHandler),this.source.on("end",this.sourceErrorOrEndHandler),this.source.on("error",this.sourceErrorOrEndHandler),this.source.on("aborted",this.sourceAbortedHandler)}removeSourceEventHandlers(){this.source.removeListener("data",this.sourceDataHandler),this.source.removeListener("end",this.sourceErrorOrEndHandler),this.source.removeListener("error",this.sourceErrorOrEndHandler),this.source.removeListener("aborted",this.sourceAbortedHandler)}sourceDataHandler=e=>{if(this.options.doInjectErrorOnce){this.options.doInjectErrorOnce=void 0,this.source.pause(),this.sourceErrorOrEndHandler(),this.source.destroy();return}this.offset+=e.length,this.onProgress&&this.onProgress({loadedBytes:this.offset-this.start}),this.push(e)||this.source.pause()};sourceAbortedHandler=()=>{let e=new Ia("The operation was aborted.");this.destroy(e)};sourceErrorOrEndHandler=e=>{e&&"AbortError"===e.name?this.destroy(e):(this.removeSourceEventHandlers(),this.offset-1===this.end?this.push(null):this.offset<=this.end?this.retries<this.maxRetryRequests?(this.retries+=1,this.getter(this.offset).then(e=>{this.source=e,this.setSourceEventHandlers()}).catch(e=>{this.destroy(e)})):this.destroy(Error(`Data corruption failure: received less data than required and reached maxRetires limitation. Received data offset: ${this.offset-1}, data needed offset: ${this.end}, retries: ${this.retries}, max retries: ${this.maxRetryRequests}`)):this.destroy(Error(`Data corruption failure: Received more data than original request, data needed offset is ${this.end}, received offset: ${this.offset-1}`)))};_destroy(e,t){this.removeSourceEventHandlers(),this.source.destroy(),t(null===e?void 0:e)}}class DB{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){return this.originalResponse.copyCompletedOn}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get tagCount(){return this.originalResponse.tagCount}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get lastAccessed(){return this.originalResponse.lastAccessed}get createdOn(){return this.originalResponse.createdOn}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get versionId(){return this.originalResponse.versionId}get isCurrentVersion(){return this.originalResponse.isCurrentVersion}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get objectReplicationDestinationPolicyId(){return this.originalResponse.objectReplicationDestinationPolicyId}get objectReplicationSourceProperties(){return this.originalResponse.objectReplicationSourceProperties}get isSealed(){return this.originalResponse.isSealed}get immutabilityPolicyExpiresOn(){return this.originalResponse.immutabilityPolicyExpiresOn}get immutabilityPolicyMode(){return this.originalResponse.immutabilityPolicyMode}get legalHold(){return this.originalResponse.legalHold}get structuredBodyType(){return this.originalResponse.structuredBodyType}get contentAsBlob(){return this.originalResponse.blobBody}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t,r,i,s={}){this.originalResponse=e;let n=void 0===this.originalResponse.structuredBodyType?this.originalResponse.readableStreamBody:new Bs(this.originalResponse.readableStreamBody,s);this.blobDownloadStream=new DE(n,t,r,i,s)}}let Dy=new Uint8Array([79,98,106,1]);class DQ{static async readFixedBytes(e,t,r={}){let i=await e.read(t,{abortSignal:r.abortSignal});if(i.length!==t)throw Error("Hit stream end.");return i}static async readByte(e,t={}){return(await DQ.readFixedBytes(e,1,t))[0]}static async readZigZagLong(e,t={}){let r,i,s,n=0,o=0;do i=128&(r=await DQ.readByte(e,t)),n|=(127&r)<<o,o+=7;while(i&&o<28);if(i){s=0x10000000;do n+=(127&(r=await DQ.readByte(e,t)))*s,s*=128;while(128&r);let i=(n%2?-(n+1):n)/2;if(i<Number.MIN_SAFE_INTEGER||i>Number.MAX_SAFE_INTEGER)throw Error("Integer overflow.");return i}return n>>1^-(1&n)}static async readLong(e,t={}){return DQ.readZigZagLong(e,t)}static async readInt(e,t={}){return DQ.readZigZagLong(e,t)}static async readNull(){return null}static async readBoolean(e,t={}){let r=await DQ.readByte(e,t);if(1===r)return!0;if(0===r)return!1;throw Error("Byte was not a boolean.")}static async readFloat(e,t={}){let r=await DQ.readFixedBytes(e,4,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat32(0,!0)}static async readDouble(e,t={}){let r=await DQ.readFixedBytes(e,8,t);return new DataView(r.buffer,r.byteOffset,r.byteLength).getFloat64(0,!0)}static async readBytes(e,t={}){let r=await DQ.readLong(e,t);if(r<0)throw Error("Bytes size was negative.");return e.read(r,{abortSignal:t.abortSignal})}static async readString(e,t={}){let r=await DQ.readBytes(e,t);return new TextDecoder().decode(r)}static async readMapPair(e,t,r={}){return{key:await DQ.readString(e,r),value:await t(e,r)}}static async readMap(e,t,r={}){let i=await DQ.readArray(e,(e,r={})=>DQ.readMapPair(e,t,r),r),s={};for(let e of i)s[e.key]=e.value;return s}static async readArray(e,t,r={}){let i=[];for(let s=await DQ.readLong(e,r);0!==s;s=await DQ.readLong(e,r))for(s<0&&(await DQ.readLong(e,r),s=-s);s--;){let s=await t(e,r);i.push(s)}return i}}(eg=ex||(ex={})).RECORD="record",eg.ENUM="enum",eg.ARRAY="array",eg.MAP="map",eg.UNION="union",eg.FIXED="fixed",(eu=eR||(eR={})).NULL="null",eu.BOOLEAN="boolean",eu.INT="int",eu.LONG="long",eu.FLOAT="float",eu.DOUBLE="double",eu.BYTES="bytes",eu.STRING="string";class DN{static fromSchema(e){return"string"==typeof e?DN.fromStringSchema(e):Array.isArray(e)?DN.fromArraySchema(e):DN.fromObjectSchema(e)}static fromStringSchema(e){switch(e){case eR.NULL:case eR.BOOLEAN:case eR.INT:case eR.LONG:case eR.FLOAT:case eR.DOUBLE:case eR.BYTES:case eR.STRING:return new Db(e);default:throw Error(`Unexpected Avro type ${e}`)}}static fromArraySchema(e){return new Dw(e.map(DN.fromSchema))}static fromObjectSchema(e){let t=e.type;try{return DN.fromStringSchema(t)}catch{}switch(t){case ex.RECORD:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.name)throw Error(`Required attribute 'name' doesn't exist on schema: ${e}`);let r={};if(!e.fields)throw Error(`Required attribute 'fields' doesn't exist on schema: ${e}`);for(let t of e.fields)r[t.name]=DN.fromSchema(t.type);return new Dx(r,e.name);case ex.ENUM:if(e.aliases)throw Error(`aliases currently is not supported, schema: ${e}`);if(!e.symbols)throw Error(`Required attribute 'symbols' doesn't exist on schema: ${e}`);return new DS(e.symbols);case ex.MAP:if(!e.values)throw Error(`Required attribute 'values' doesn't exist on schema: ${e}`);return new DD(DN.fromSchema(e.values));case ex.ARRAY:case ex.FIXED:default:throw Error(`Unexpected Avro type ${t} in ${e}`)}}}class Db extends DN{_primitive;constructor(e){super(),this._primitive=e}read(e,t={}){switch(this._primitive){case eR.NULL:return DQ.readNull();case eR.BOOLEAN:return DQ.readBoolean(e,t);case eR.INT:return DQ.readInt(e,t);case eR.LONG:return DQ.readLong(e,t);case eR.FLOAT:return DQ.readFloat(e,t);case eR.DOUBLE:return DQ.readDouble(e,t);case eR.BYTES:return DQ.readBytes(e,t);case eR.STRING:return DQ.readString(e,t);default:throw Error("Unknown Avro Primitive")}}}class DS extends DN{_symbols;constructor(e){super(),this._symbols=e}async read(e,t={}){let r=await DQ.readInt(e,t);return this._symbols[r]}}class Dw extends DN{_types;constructor(e){super(),this._types=e}async read(e,t={}){let r=await DQ.readInt(e,t);return this._types[r].read(e,t)}}class DD extends DN{_itemType;constructor(e){super(),this._itemType=e}read(e,t={}){let r=(e,t)=>this._itemType.read(e,t);return DQ.readMap(e,r,t)}}class Dx extends DN{_name;_fields;constructor(e,t){super(),this._fields=e,this._name=t}async read(e,t={}){let r={};for(let i in r.$schema=this._name,this._fields)Object.prototype.hasOwnProperty.call(this._fields,i)&&(r[i]=await this._fields[i].read(e,t));return r}}function DR(e,t){if(e===t)return!0;if(null==e||null==t||e.length!==t.length)return!1;for(let r=0;r<e.length;++r)if(e[r]!==t[r])return!1;return!0}class DM{_dataStream;_headerStream;_syncMarker;_metadata;_itemType;_itemsRemainingInBlock;_initialBlockOffset;_blockOffset;get blockOffset(){return this._blockOffset}_objectIndex;get objectIndex(){return this._objectIndex}_initialized;constructor(e,t,r,i){this._dataStream=e,this._headerStream=t||e,this._initialized=!1,this._blockOffset=r||0,this._objectIndex=i||0,this._initialBlockOffset=r||0}async initialize(e={}){if(!DR(await DQ.readFixedBytes(this._headerStream,Dy.length,{abortSignal:e.abortSignal}),Dy))throw Error("Stream is not an Avro file.");this._metadata=await DQ.readMap(this._headerStream,DQ.readString,{abortSignal:e.abortSignal});let t=this._metadata["avro.codec"];if(null!=t&&"null"!==t)throw Error("Codecs are not supported");this._syncMarker=await DQ.readFixedBytes(this._headerStream,16,{abortSignal:e.abortSignal});let r=JSON.parse(this._metadata["avro.schema"]);if(this._itemType=DN.fromSchema(r),0===this._blockOffset&&(this._blockOffset=this._initialBlockOffset+this._dataStream.position),this._itemsRemainingInBlock=await DQ.readLong(this._dataStream,{abortSignal:e.abortSignal}),await DQ.readLong(this._dataStream,{abortSignal:e.abortSignal}),this._initialized=!0,this._objectIndex&&this._objectIndex>0)for(let t=0;t<this._objectIndex;t++)await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal}),this._itemsRemainingInBlock--}hasNext(){return!this._initialized||this._itemsRemainingInBlock>0}async *parseObjects(e={}){for(this._initialized||await this.initialize(e);this.hasNext();){let t=await this._itemType.read(this._dataStream,{abortSignal:e.abortSignal});if(this._itemsRemainingInBlock--,this._objectIndex++,0===this._itemsRemainingInBlock){let t=await DQ.readFixedBytes(this._dataStream,16,{abortSignal:e.abortSignal});if(this._blockOffset=this._initialBlockOffset+this._dataStream.position,this._objectIndex=0,!DR(this._syncMarker,t))throw Error("Stream is not a valid Avro file.");try{this._itemsRemainingInBlock=await DQ.readLong(this._dataStream,{abortSignal:e.abortSignal})}catch{this._itemsRemainingInBlock=0}this._itemsRemainingInBlock>0&&await DQ.readLong(this._dataStream,{abortSignal:e.abortSignal})}yield t}}}class Dk{}let DF=i("buffer"),DU=new Ia("Reading from the avro stream was aborted.");class Dv extends Dk{_position;_readable;toUint8Array(e){return"string"==typeof e?DF.Buffer.from(e):e}constructor(e){super(),this._readable=e,this._position=0}get position(){return this._position}async read(e,t={}){if(t.abortSignal?.aborted)throw DU;if(e<0)throw Error(`size parameter should be positive: ${e}`);if(0===e)return new Uint8Array;if(!this._readable.readable)throw Error("Stream no longer readable.");let r=this._readable.read(e);return r?(this._position+=r.length,this.toUint8Array(r)):new Promise((r,i)=>{let s=()=>{this._readable.removeListener("readable",n),this._readable.removeListener("error",o),this._readable.removeListener("end",o),this._readable.removeListener("close",o),t.abortSignal&&t.abortSignal.removeEventListener("abort",a)},n=()=>{let t=this._readable.read(e);t&&(this._position+=t.length,s(),r(this.toUint8Array(t)))},o=()=>{s(),i()},a=()=>{s(),i(DU)};this._readable.on("readable",n),this._readable.once("error",o),this._readable.once("end",o),this._readable.once("close",o),t.abortSignal&&t.abortSignal.addEventListener("abort",a)})}}class DT extends px.Readable{source;avroReader;avroIter;avroPaused=!0;onProgress;onError;constructor(e,t={}){super(),this.source=e,this.onProgress=t.onProgress,this.onError=t.onError,this.avroReader=new DM(new Dv(this.source)),this.avroIter=this.avroReader.parseObjects({abortSignal:t.abortSignal})}_read(){this.avroPaused&&this.readInternal().catch(e=>{this.emit("error",e)})}async readInternal(){let e;this.avroPaused=!1;do{if((e=await this.avroIter.next()).done)break;let t=e.value,r=t.$schema;if("string"!=typeof r)throw Error("Missing schema in avro record.");switch(r){case"com.microsoft.azure.storage.queryBlobContents.resultData":{let e=t.data;if(e instanceof Uint8Array==!1)throw Error("Invalid data in avro result record.");this.push(Buffer.from(e))||(this.avroPaused=!0)}break;case"com.microsoft.azure.storage.queryBlobContents.progress":{let e=t.bytesScanned;if("number"!=typeof e)throw Error("Invalid bytesScanned in avro progress record.");this.onProgress&&this.onProgress({loadedBytes:e})}break;case"com.microsoft.azure.storage.queryBlobContents.end":if(this.onProgress){let e=t.totalBytes;if("number"!=typeof e)throw Error("Invalid totalBytes in avro end record.");this.onProgress({loadedBytes:e})}this.push(null);break;case"com.microsoft.azure.storage.queryBlobContents.error":if(this.onError){let e=t.fatal;if("boolean"!=typeof e)throw Error("Invalid fatal in avro error record.");let r=t.name;if("string"!=typeof r)throw Error("Invalid name in avro error record.");let i=t.description;if("string"!=typeof i)throw Error("Invalid description in avro error record.");let s=t.position;if("number"!=typeof s)throw Error("Invalid position in avro error record.");this.onError({position:s,name:r,isFatal:e,description:i})}break;default:throw Error(`Unknown schema ${r} in avro progress record.`)}}while(!e.done&&!this.avroPaused)}}class DL{get acceptRanges(){return this.originalResponse.acceptRanges}get cacheControl(){return this.originalResponse.cacheControl}get contentDisposition(){return this.originalResponse.contentDisposition}get contentEncoding(){return this.originalResponse.contentEncoding}get contentLanguage(){return this.originalResponse.contentLanguage}get blobSequenceNumber(){return this.originalResponse.blobSequenceNumber}get blobType(){return this.originalResponse.blobType}get contentLength(){return this.originalResponse.contentLength}get contentMD5(){return this.originalResponse.contentMD5}get contentRange(){return this.originalResponse.contentRange}get contentType(){return this.originalResponse.contentType}get copyCompletedOn(){}get copyId(){return this.originalResponse.copyId}get copyProgress(){return this.originalResponse.copyProgress}get copySource(){return this.originalResponse.copySource}get copyStatus(){return this.originalResponse.copyStatus}get copyStatusDescription(){return this.originalResponse.copyStatusDescription}get leaseDuration(){return this.originalResponse.leaseDuration}get leaseState(){return this.originalResponse.leaseState}get leaseStatus(){return this.originalResponse.leaseStatus}get date(){return this.originalResponse.date}get blobCommittedBlockCount(){return this.originalResponse.blobCommittedBlockCount}get etag(){return this.originalResponse.etag}get errorCode(){return this.originalResponse.errorCode}get isServerEncrypted(){return this.originalResponse.isServerEncrypted}get blobContentMD5(){return this.originalResponse.blobContentMD5}get lastModified(){return this.originalResponse.lastModified}get metadata(){return this.originalResponse.metadata}get requestId(){return this.originalResponse.requestId}get clientRequestId(){return this.originalResponse.clientRequestId}get version(){return this.originalResponse.version}get encryptionKeySha256(){return this.originalResponse.encryptionKeySha256}get contentCrc64(){return this.originalResponse.contentCrc64}get blobBody(){}get readableStreamBody(){return this.blobDownloadStream}get _response(){return this.originalResponse._response}originalResponse;blobDownloadStream;constructor(e,t={}){this.originalResponse=e,this.blobDownloadStream=new DT(this.originalResponse.readableStreamBody,t)}}function DO(e){if(void 0!==e)return e}function DH(e,t){if(e&&!t)throw RangeError("Customer-provided encryption key must be used over HTTPS.");e&&!e.encryptionAlgorithm&&(e.encryptionAlgorithm="AES256")}function DP(e){let t=(e._response.parsedBody.pageRange||[]).map(e=>({offset:e.start,count:e.end-e.start})),r=(e._response.parsedBody.clearRange||[]).map(e=>({offset:e.start,count:e.end-e.start}));return{...e,pageRange:t,clearRange:r,_response:{...e._response,parsedBody:{pageRange:t,clearRange:r}}}}(eh=eM||(eM={})).Hot="Hot",eh.Cool="Cool",eh.Cold="Cold",eh.Archive="Archive",(em=ek||(ek={})).P4="P4",em.P6="P6",em.P10="P10",em.P15="P15",em.P20="P20",em.P30="P30",em.P40="P40",em.P50="P50",em.P60="P60",em.P70="P70",em.P80="P80",(ep=eF||(eF={})).StorageOAuthScopes="https://storage.azure.com/.default",ep.DiskComputeOAuthScopes="https://disk.compute.azure.com/.default",C7("core-lro");class DY extends Error{constructor(e){super(e),this.name="PollerStoppedError",Object.setPrototypeOf(this,DY.prototype)}}class DG extends Error{constructor(e){super(e),this.name="PollerCancelledError",Object.setPrototypeOf(this,DG.prototype)}}class Dz{constructor(e){this.resolveOnUnsuccessful=!1,this.stopped=!0,this.pollProgressCallbacks=[],this.operation=e,this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t}),this.promise.catch(()=>{})}async startPolling(e={}){for(this.stopped&&(this.stopped=!1);!this.isStopped()&&!this.isDone();)await this.poll(e),await this.delay()}async pollOnce(e={}){this.isDone()||(this.operation=await this.operation.update({abortSignal:e.abortSignal,fireProgress:this.fireProgress.bind(this)})),this.processUpdatedState()}fireProgress(e){for(let t of this.pollProgressCallbacks)t(e)}async cancelOnce(e={}){this.operation=await this.operation.cancel(e)}poll(e={}){if(!this.pollOncePromise){this.pollOncePromise=this.pollOnce(e);let t=()=>{this.pollOncePromise=void 0};this.pollOncePromise.then(t,t).catch(this.reject)}return this.pollOncePromise}processUpdatedState(){if(this.operation.state.error&&(this.stopped=!0,!this.resolveOnUnsuccessful))throw this.reject(this.operation.state.error),this.operation.state.error;if(this.operation.state.isCancelled&&(this.stopped=!0,!this.resolveOnUnsuccessful)){let e=new DG("Operation was canceled");throw this.reject(e),e}this.isDone()&&this.resolve&&this.resolve(this.getResult())}async pollUntilDone(e={}){return this.stopped&&this.startPolling(e).catch(this.reject),this.processUpdatedState(),this.promise}onProgress(e){return this.pollProgressCallbacks.push(e),()=>{this.pollProgressCallbacks=this.pollProgressCallbacks.filter(t=>t!==e)}}isDone(){let e=this.operation.state;return!!(e.isCompleted||e.isCancelled||e.error)}stopPolling(){!this.stopped&&(this.stopped=!0,this.reject&&this.reject(new DY("This poller is already stopped")))}isStopped(){return this.stopped}cancelOperation(e={}){if(this.cancelPromise){if(e.abortSignal)throw Error("A cancel request is currently pending")}else this.cancelPromise=this.cancelOnce(e);return this.cancelPromise}getOperationState(){return this.operation.state}getResult(){return this.operation.state.result}toString(){return this.operation.toString()}}class Dq extends Dz{intervalInMs;constructor(e){let t,{blobClient:r,copySource:i,intervalInMs:s=15e3,onProgress:n,resumeFrom:o,startCopyFromURLOptions:a}=e;o&&(t=JSON.parse(o).state),super(DW({...t,blobClient:r,copySource:i,startCopyFromURLOptions:a})),"function"==typeof n&&this.onProgress(n),this.intervalInMs=s}delay(){return IA(this.intervalInMs)}}let DV=async function(e={}){let t=this.state,{copyId:r}=t;return t.isCompleted||(r&&await t.blobClient.abortCopyFromURL(r,{abortSignal:e.abortSignal}),t.isCancelled=!0),DW(t)},D_=async function(e={}){let t=this.state,{blobClient:r,copySource:i,startCopyFromURLOptions:s}=t;if(t.isStarted){if(!t.isCompleted)try{let r=await t.blobClient.getProperties({abortSignal:e.abortSignal}),{copyStatus:i,copyProgress:s}=r,n=t.copyProgress;s&&(t.copyProgress=s),"pending"===i&&s!==n&&"function"==typeof e.fireProgress?e.fireProgress(t):"success"===i?(t.result=r,t.isCompleted=!0):"failed"===i&&(t.error=Error(`Blob copy failed with reason: "${r.copyStatusDescription||"unknown"}"`),t.isCompleted=!0)}catch(e){t.error=e,t.isCompleted=!0}}else{t.isStarted=!0;let e=await r.startCopyFromURL(i,s);t.copyId=e.copyId,"success"===e.copyStatus&&(t.result=e,t.isCompleted=!0)}return DW(t)},DJ=function(){return JSON.stringify({state:this.state},(e,t)=>{if("blobClient"!==e)return t})};function DW(e){return{state:{...e},cancel:DV,toString:DJ,update:D_}}function Dj(e){if(e.offset<0)throw RangeError("Range.offset cannot be smaller than 0.");if(e.count&&e.count<=0)throw RangeError("Range.count must be larger than 0. Leave it undefined if you want a range from offset to the end.");return e.count?`bytes=${e.offset}-${e.offset+e.count-1}`:`bytes=${e.offset}-`}(eC=eU||(eU={}))[eC.Good=0]="Good",eC[eC.Error=1]="Error";class DK{concurrency;actives=0;completed=0;offset=0;operations=[];state=eU.Good;emitter;constructor(e=5){if(e<1)throw RangeError("concurrency must be larger than 0");this.concurrency=e,this.emitter=new E$.EventEmitter}addOperation(e){this.operations.push(async()=>{try{this.actives++,await e(),this.actives--,this.completed++,this.parallelExecute()}catch(e){this.emitter.emit("error",e)}})}async do(){return 0===this.operations.length?Promise.resolve():(this.parallelExecute(),new Promise((e,t)=>{this.emitter.on("finish",e),this.emitter.on("error",e=>{this.state=eU.Error,t(e)})}))}nextOperation(){return this.offset<this.operations.length?this.operations[this.offset++]:null}parallelExecute(){if(this.state!==eU.Error){if(this.completed>=this.operations.length)return void this.emitter.emit("finish");for(;this.actives<this.concurrency;){let e=this.nextOperation();if(!e)return;e()}}}}async function DX(e,t,r,i,s){let n=0,o=i-r;return new Promise((i,a)=>{let A=setTimeout(()=>a(Error("The operation cannot be completed in timeout.")),1e5);e.on("readable",()=>{let a;if(n>=o){clearTimeout(A),i();return}for(;null!==(a=e.read());){"string"==typeof a&&(a=Buffer.from(a,s));let e=n+a.length>o?o-n:a.length;if(t.fill(a.slice(0,e),r+n,r+n+e),(n+=e)>=o){clearTimeout(A),i();return}}}),e.on("end",()=>{clearTimeout(A),n<o&&a(Error(`Stream drains before getting enough data needed. Data read: ${n}, data need: ${o}`)),i()}),e.on("error",e=>{clearTimeout(A),a(e)})})}async function DZ(e,t){return new Promise((r,i)=>{let s=m2.createWriteStream(t);e.on("error",e=>{i(e)}),s.on("error",e=>{i(e)}),s.on("close",r),e.pipe(s)})}let D$=p0.promisify(m2.stat),D0=m2.createReadStream;class D1 extends Da{blobContext;_name;_containerName;_versionId;_snapshot;blobClientConfig;get name(){return this._name}get containerName(){return this._containerName}constructor(e,t,r,i){let s,n;if(i=i||{},B1(t))n=e,s=t,i=r;else if(t instanceof BO||t instanceof Bd||IS(t))n=e,s=B3(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=w1(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new BO(o.accountName,o.accountKey);n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Ic(o.proxyUri)),s=B3(e,i)}else if("SASConnString"===o.kind)n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=B3(new Bd,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,r&&"string"!=typeof r&&(i=r),s=B3(new Bd,i);super(n,s),({blobName:this._name,containerName:this._containerName}=this.getBlobAndContainerNamesFromUrl()),this.blobContext=this.storageClientContext.blob,this._snapshot=w5(this.url,BK),this._versionId=w5(this.url,BX),this.blobClientConfig=i}withSnapshot(e){return new D1(w3(this.url,BK,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}withVersion(e){return new D1(w3(this.url,BX,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}getAppendBlobClient(){return new D2(this.url,this.pipeline,this.blobClientConfig)}getBlockBlobClient(){return new D3(this.url,this.pipeline,this.blobClientConfig)}getPageBlobClient(){return new D5(this.url,this.pipeline,this.blobClientConfig)}async download(e=0,t,r={}){return r.conditions=r.conditions||{},r.conditions=r.conditions||{},DH(r.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-download",r,async i=>{let s=r.contentChecksumAlgorithm??this.blobClientConfig?.downloadContentChecksumAlgorithm;void 0===s?s="Customized":"Auto"===s&&(s="StorageCrc64"),"StorageCrc64"===s&&await E9.init();let n=Dn(await this.blobContext.download({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onDownloadProgress:void 0},range:0!==e||t?Dj({offset:e,count:t}):void 0,rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,tracingOptions:i.tracingOptions,structuredBodyType:"StorageCrc64"===s?"XSM/1.0; properties=crc64":void 0})),o={...n,_response:n._response,objectReplicationDestinationPolicyId:n.objectReplicationPolicyId,objectReplicationSourceProperties:Dr(n.objectReplicationRules)};if((void 0===r.maxRetryRequests||r.maxRetryRequests<0)&&(r.maxRetryRequests=5),void 0===n.contentLength)throw RangeError("File download response doesn't contain valid content length header");if("StorageCrc64"===s&&void 0===n.structuredContentLength)throw RangeError("Unexpected structured content length");if(!n.etag)throw RangeError("File download response doesn't contain valid etag header");let a="StorageCrc64"===s?n.structuredContentLength:n.contentLength;return new DB(o,async t=>{let i={leaseAccessConditions:r.conditions,modifiedAccessConditions:{ifMatch:r.conditions.ifMatch||n.etag,ifModifiedSince:r.conditions.ifModifiedSince,ifNoneMatch:r.conditions.ifNoneMatch,ifUnmodifiedSince:r.conditions.ifUnmodifiedSince,ifTags:r.conditions?.tagConditions},range:Dj({count:e+a-t,offset:t}),rangeGetContentMD5:r.rangeGetContentMD5,rangeGetContentCRC64:r.rangeGetContentCrc64,snapshot:r.snapshot,cpkInfo:r.customerProvidedKey,structuredBodyType:"StorageCrc64"===s?"XSM/1.0; properties=crc64":void 0},o=(await this.blobContext.download({abortSignal:r.abortSignal,...i})).readableStreamBody;return"StorageCrc64"!==s?o:new Bs(o,{})},e,a,{maxRetryRequests:r.maxRetryRequests,onProgress:r.onProgress})})}async exists(e={}){return DA.withSpan("BlobClient-exists",e,async t=>{try{return DH(e.customerProvidedKey,this.isHttps),await this.getProperties({abortSignal:e.abortSignal,customerProvidedKey:e.customerProvidedKey,conditions:e.conditions,tracingOptions:t.tracingOptions}),!0}catch(e){if(404===e.statusCode)return!1;if(409===e.statusCode&&("BlobUsesCustomerSpecifiedEncryption"===e.details.errorCode||"BlobDoesNotUseCustomerSpecifiedEncryption"===e.details.errorCode))return!0;throw e}})}async getProperties(e={}){return e.conditions=e.conditions||{},DH(e.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-getProperties",e,async t=>{let r=Dn(await this.blobContext.getProperties({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,objectReplicationDestinationPolicyId:r.objectReplicationPolicyId,objectReplicationSourceProperties:Dr(r.objectReplicationRules)}})}async delete(e={}){return e.conditions=e.conditions||{},DA.withSpan("BlobClient-delete",e,async t=>Dn(await this.blobContext.delete({abortSignal:e.abortSignal,deleteSnapshots:e.deleteSnapshots,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions,accessTierIfModifiedSince:e.conditions?.accessTierIfModifiedSince,accessTierIfUnmodifiedSince:e.conditions?.accessTierIfUnmodifiedSince})))}async deleteIfExists(e={}){return DA.withSpan("BlobClient-deleteIfExists",e,async e=>{try{let t=Dn(await this.delete(e));return{succeeded:!0,...t,_response:t._response}}catch(e){if(e.details?.errorCode==="BlobNotFound")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async undelete(e={}){return DA.withSpan("BlobClient-undelete",e,async t=>Dn(await this.blobContext.undelete({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}async setHTTPHeaders(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-setHTTPHeaders",t,async r=>Dn(await this.blobContext.setHttpHeaders({abortSignal:t.abortSignal,blobHttpHeaders:e,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}async setMetadata(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-setMetadata",t,async r=>Dn(await this.blobContext.setMetadata({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:e,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async setTags(e,t={}){return DA.withSpan("BlobClient-setTags",t,async r=>Dn(await this.blobContext.setTags({abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},blobModifiedAccessConditions:t.conditions,tracingOptions:r.tracingOptions,tags:function(e){if(void 0===e)return;let t={blobTagSet:[]};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){let i=e[r];t.blobTagSet.push({key:r,value:i})}return t}(e)})))}async getTags(e={}){return DA.withSpan("BlobClient-getTags",e,async t=>{let r=Dn(await this.blobContext.getTags({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},blobModifiedAccessConditions:e.conditions,tracingOptions:t.tracingOptions}));return{...r,_response:r._response,tags:function(e){if(void 0===e)return;let t={};for(let r of e.blobTagSet)t[r.key]=r.value;return t}({blobTagSet:r.blobTagSet})||{}}})}getBlobLeaseClient(e){return new Df(this,e)}async createSnapshot(e={}){return e.conditions=e.conditions||{},DH(e.customerProvidedKey,this.isHttps),DA.withSpan("BlobClient-createSnapshot",e,async t=>Dn(await this.blobContext.createSnapshot({abortSignal:e.abortSignal,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,tracingOptions:t.tracingOptions})))}async beginCopyFromURL(e,t={}){let r=new Dq({blobClient:{abortCopyFromURL:(...e)=>this.abortCopyFromURL(...e),getProperties:(...e)=>this.getProperties(...e),startCopyFromURL:(...e)=>this.startCopyFromURL(...e)},copySource:e,intervalInMs:t.intervalInMs,onProgress:t.onProgress,resumeFrom:t.resumeFrom,startCopyFromURLOptions:t});return await r.poll(),r}async abortCopyFromURL(e,t={}){return DA.withSpan("BlobClient-abortCopyFromURL",t,async r=>Dn(await this.blobContext.abortCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,tracingOptions:r.tracingOptions})))}async syncCopyFromURL(e,t={}){return t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},DA.withSpan("BlobClient-syncCopyFromURL",t,async r=>Dn(await this.blobContext.copyFromURL(e,{abortSignal:t.abortSignal,metadata:t.metadata,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince},sourceContentMD5:t.sourceContentMD5,copySourceAuthorization:Di(t.sourceAuthorization),tier:DO(t.tier),blobTagsString:De(t.tags),immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,encryptionScope:t.encryptionScope,copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions})))}async setAccessTier(e,t={}){return DA.withSpan("BlobClient-setAccessTier",t,async r=>Dn(await this.blobContext.setTier(DO(e),{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},rehydratePriority:t.rehydratePriority,tracingOptions:r.tracingOptions})))}async downloadToBuffer(e,t,r,i={}){let s,n=0,o=0,a=i;e instanceof Buffer?(s=e,n=t||0,o="number"==typeof r?r:0):(n="number"==typeof e?e:0,o="number"==typeof t?t:0,a=r||{});let A=a.blockSize??0;if(A<0)throw RangeError("blockSize option must be >= 0");if(0===A&&(A=4194304),n<0)throw RangeError("offset option must be >= 0");if(o&&o<=0)throw RangeError("count option must be greater than 0");return a.conditions||(a.conditions={}),DA.withSpan("BlobClient-downloadToBuffer",a,async e=>{if(!o){let t=await this.getProperties({...a,tracingOptions:e.tracingOptions});if((o=t.contentLength-n)<0)throw RangeError(`offset ${n} shouldn't be larger than blob size ${t.contentLength}`)}if(!s)try{s=Buffer.alloc(o)}catch(e){throw Error(`Unable to allocate the buffer of size: ${o}(in bytes). Please try passing your own buffer to the "downloadToBuffer" method or try using other methods like "download" or "downloadToFile". ${e.message}`)}if(s.length<o)throw RangeError(`The buffer's size should be equal to or larger than the request count of bytes: ${o}`);let t=0,r=new DK(a.concurrency);for(let i=n;i<n+o;i+=A)r.addOperation(async()=>{let r=n+o;i+A<r&&(r=i+A);let l=(await this.download(i,r-i,{abortSignal:a.abortSignal,conditions:a.conditions,maxRetryRequests:a.maxRetryRequestsPerBlock,customerProvidedKey:a.customerProvidedKey,contentChecksumAlgorithm:a.contentChecksumAlgorithm,tracingOptions:e.tracingOptions})).readableStreamBody;await DX(l,s,i-n,r-n),t+=r-i,a.onProgress&&a.onProgress({loadedBytes:t})});return await r.do(),s})}async downloadToFile(e,t=0,r,i={}){return DA.withSpan("BlobClient-downloadToFile",i,async s=>{let n=await this.download(t,r,{...i,tracingOptions:s.tracingOptions});return n.readableStreamBody&&await DZ(n.readableStreamBody,e),n.blobDownloadStream=void 0,n})}getBlobAndContainerNamesFromUrl(){let e,t;try{let r=new URL(this.url);if("blob"===r.host.split(".")[1]){let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}else if(w7(r)){let i=r.pathname.match("/([^/]*)/([^/]*)(/(.*))?");e=i[2],t=i[4]}else{let i=r.pathname.match("/([^/]*)(/(.*))?");e=i[1],t=i[3]}if(e=decodeURIComponent(e),t=(t=decodeURIComponent(t)).replace(/\\/g,"/"),!e)throw Error("Provided containerName is invalid.");return{blobName:t,containerName:e}}catch(e){throw Error("Unable to extract blobName and containerName with provided information.")}}async startCopyFromURL(e,t={}){return DA.withSpan("BlobClient-startCopyFromURL",t,async r=>(t.conditions=t.conditions||{},t.sourceConditions=t.sourceConditions||{},Dn(await this.blobContext.startCopyFromURL(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions.ifMatch,sourceIfModifiedSince:t.sourceConditions.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions.ifUnmodifiedSince,sourceIfTags:t.sourceConditions.tagConditions},immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,rehydratePriority:t.rehydratePriority,tier:DO(t.tier),blobTagsString:De(t.tags),sealBlob:t.sealBlob,tracingOptions:r.tracingOptions}))))}generateSasUrl(e){return new Promise(t=>{if(!(this.credential instanceof BO))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");let r=Du({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).toString();t(w4(this.url,r))})}generateSasStringToSign(e){if(!(this.credential instanceof BO))throw RangeError("Can only generate the SAS when the client is initialized with a shared key credential");return Dh({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},this.credential).stringToSign}generateUserDelegationSasUrl(e,t){return new Promise(r=>{let i=Du({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).toString();r(w4(this.url,i))})}generateUserDelegationSasStringToSign(e,t){return Dh({containerName:this._containerName,blobName:this._name,snapshotTime:this._snapshot,versionId:this._versionId,...e},t,this.accountName).stringToSign}async deleteImmutabilityPolicy(e={}){return DA.withSpan("BlobClient-deleteImmutabilityPolicy",e,async e=>Dn(await this.blobContext.deleteImmutabilityPolicy({tracingOptions:e.tracingOptions})))}async setImmutabilityPolicy(e,t={}){return DA.withSpan("BlobClient-setImmutabilityPolicy",t,async t=>Dn(await this.blobContext.setImmutabilityPolicy({immutabilityPolicyExpiry:e.expiriesOn,immutabilityPolicyMode:e.policyMode,tracingOptions:t.tracingOptions})))}async setLegalHold(e,t={}){return DA.withSpan("BlobClient-setLegalHold",t,async t=>Dn(await this.blobContext.setLegalHold(e,{tracingOptions:t.tracingOptions})))}async getAccountInfo(e={}){return DA.withSpan("BlobClient-getAccountInfo",e,async t=>Dn(await this.blobContext.getAccountInfo({abortSignal:e.abortSignal,tracingOptions:t.tracingOptions})))}}class D2 extends D1{appendBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},B1(t))n=e,s=t,i=r;else if(t instanceof BO||t instanceof Bd||IS(t))n=e,s=B3(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=w1(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new BO(o.accountName,o.accountKey);n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Ic(o.proxyUri)),s=B3(e,i)}else if("SASConnString"===o.kind)n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=B3(new Bd,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,i=r,s=B3(new Bd,i);super(n,s),this.appendBlobContext=this.storageClientContext.appendBlob,this.blobClientConfig=i}withSnapshot(e){return new D2(w3(this.url,BK,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e={}){return e.conditions=e.conditions||{},DH(e.customerProvidedKey,this.isHttps),DA.withSpan("AppendBlobClient-create",e,async t=>Dn(await this.appendBlobContext.create(0,{abortSignal:e.abortSignal,blobHttpHeaders:e.blobHTTPHeaders,leaseAccessConditions:e.conditions,metadata:e.metadata,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},cpkInfo:e.customerProvidedKey,encryptionScope:e.encryptionScope,immutabilityPolicyExpiry:e.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:e.immutabilityPolicy?.policyMode,legalHold:e.legalHold,blobTagsString:De(e.tags),tracingOptions:t.tracingOptions})))}async createIfNotExists(e={}){let t={ifNoneMatch:"*"};return DA.withSpan("AppendBlobClient-createIfNotExists",e,async e=>{try{let r=Dn(await this.create({...e,conditions:t}));return{succeeded:!0,...r,_response:r._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async seal(e={}){return e.conditions=e.conditions||{},DA.withSpan("AppendBlobClient-seal",e,async t=>Dn(await this.appendBlobContext.seal({abortSignal:e.abortSignal,appendPositionAccessConditions:e.conditions,leaseAccessConditions:e.conditions,modifiedAccessConditions:{...e.conditions,ifTags:e.conditions?.tagConditions},tracingOptions:t.tracingOptions})))}async appendBlock(e,t,r={}){return r.conditions=r.conditions||{},DH(r.customerProvidedKey,this.isHttps),DA.withSpan("AppendBlobClient-appendBlock",r,async i=>{let s={abortSignal:r.abortSignal,appendPositionAccessConditions:r.conditions,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions},n=await Do(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return Dn(await this.appendBlobContext.appendBlock(n.contentLength,n.body,s))})}async appendBlockFromURL(e,t,r,i={}){return i.conditions=i.conditions||{},i.sourceConditions=i.sourceConditions||{},DH(i.customerProvidedKey,this.isHttps),DA.withSpan("AppendBlobClient-appendBlockFromURL",i,async s=>Dn(await this.appendBlobContext.appendBlockFromUrl(e,0,{abortSignal:i.abortSignal,sourceRange:Dj({offset:t,count:r}),sourceContentMD5:i.sourceContentMD5,sourceContentCrc64:i.sourceContentCrc64,leaseAccessConditions:i.conditions,appendPositionAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:i.sourceConditions?.ifMatch,sourceIfModifiedSince:i.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:i.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:i.sourceConditions?.ifUnmodifiedSince},copySourceAuthorization:Di(i.sourceAuthorization),cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,fileRequestIntent:i.sourceShareTokenIntent,tracingOptions:s.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:i.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:i.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:i.sourceCustomerProvidedKey?.encryptionKeySha256}})))}}class D3 extends D1{_blobContext;blockBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},B1(t))n=e,s=t,i=r;else if(t instanceof BO||t instanceof Bd||IS(t))n=e,s=B3(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=w1(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new BO(o.accountName,o.accountKey);n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Ic(o.proxyUri)),s=B3(e,i)}else if("SASConnString"===o.kind)n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=B3(new Bd,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,r&&"string"!=typeof r&&(i=r),s=B3(new Bd,i);super(n,s),this.blockBlobContext=this.storageClientContext.blockBlob,this._blobContext=this.storageClientContext.blob,this.blobClientConfig=i}withSnapshot(e){return new D3(w3(this.url,BK,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async query(e,t={}){return DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-query",t,async r=>new DL(Dn(await this._blobContext.query({abortSignal:t.abortSignal,queryRequest:{queryType:"SQL",expression:e,inputSerialization:Dt(t.inputTextConfiguration),outputSerialization:Dt(t.outputTextConfiguration)},leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,tracingOptions:r.tracingOptions})),{abortSignal:t.abortSignal,onProgress:t.onProgress,onError:t.onError}))}async upload(e,t,r={}){return r.conditions=r.conditions||{},DH(r.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-upload",r,async i=>{let s={abortSignal:r.abortSignal,blobHttpHeaders:r.blobHTTPHeaders,leaseAccessConditions:r.conditions,metadata:r.metadata,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},requestOptions:{onUploadProgress:r.onProgress},cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,immutabilityPolicyExpiry:r.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:r.immutabilityPolicy?.policyMode,legalHold:r.legalHold,tier:DO(r.tier),blobTagsString:De(r.tags),tracingOptions:i.tracingOptions},n=await Do(e,t,s,r,this.blobClientConfig?.uploadContentChecksumAlgorithm);return Dn(await this.blockBlobContext.upload(n.contentLength,n.body,s))})}async syncUploadFromURL(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-syncUploadFromURL",t,async r=>Dn(await this.blockBlobContext.putBlobFromUrl(0,e,{...t,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:t.sourceConditions?.ifMatch,sourceIfModifiedSince:t.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:t.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:t.sourceConditions?.ifUnmodifiedSince,sourceIfTags:t.sourceConditions?.tagConditions},cpkInfo:t.customerProvidedKey,copySourceAuthorization:Di(t.sourceAuthorization),tier:DO(t.tier),blobTagsString:De(t.tags),copySourceTags:t.copySourceTags,fileRequestIntent:t.sourceShareTokenIntent,tracingOptions:r.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:t.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:t.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:t.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async stageBlock(e,t,r,i={}){return DH(i.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-stageBlock",i,async s=>{let n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,requestOptions:{onUploadProgress:i.onProgress},cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions},o=await Do(t,r,n,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return Dn(await this.blockBlobContext.stageBlock(e,o.contentLength,o.body,n))})}async stageBlockFromURL(e,t,r=0,i,s={}){return DH(s.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-stageBlockFromURL",s,async n=>Dn(await this.blockBlobContext.stageBlockFromURL(e,0,t,{abortSignal:s.abortSignal,leaseAccessConditions:s.conditions,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,sourceRange:0!==r||i?Dj({offset:r,count:i}):void 0,cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:Di(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async commitBlockList(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("BlockBlobClient-commitBlockList",t,async r=>Dn(await this.blockBlobContext.commitBlockList({latest:e},{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:DO(t.tier),blobTagsString:De(t.tags),tracingOptions:r.tracingOptions})))}async getBlockList(e,t={}){return DA.withSpan("BlockBlobClient-getBlockList",t,async r=>{let i=Dn(await this.blockBlobContext.getBlockList(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions}));return i.committedBlocks||(i.committedBlocks=[]),i.uncommittedBlocks||(i.uncommittedBlocks=[]),i})}async uploadData(e,t={}){return DA.withSpan("BlockBlobClient-uploadData",t,async t=>{{let r;return r=e instanceof Buffer?e:e instanceof ArrayBuffer?Buffer.from(e):Buffer.from(e.buffer,e.byteOffset,e.byteLength),this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.byteLength,t)}})}async uploadBrowserData(e,t={}){return DA.withSpan("BlockBlobClient-uploadBrowserData",t,async t=>{let r=new Blob([e]);return this.uploadSeekableInternal((e,t)=>r.slice(e,e+t),r.size,t)})}async uploadSeekableInternal(e,t,r={}){let i=r.blockSize??0;if(i<0||i>4194304e3)throw RangeError("blockSize option must be >= 0 and <= 4194304000");let s=r.maxSingleShotSize??0x10000000;if(s<0||s>0x10000000)throw RangeError("maxSingleShotSize option must be >= 0 and <= 268435456");if(0===i){if(t>2097152e8)throw RangeError(`${t} is too larger to upload to a block blob.`);t>s&&(i=Math.ceil(t/5e4))<4194304&&(i=4194304)}return r.blobHTTPHeaders||(r.blobHTTPHeaders={}),r.conditions||(r.conditions={}),DA.withSpan("BlockBlobClient-uploadSeekableInternal",r,async n=>{if(t<=s)return Dn(await this.upload(e(0,t),t,n));let o=Math.floor((t-1)/i)+1;if(o>5e4)throw RangeError("The buffer's size is too big or the BlockSize is too small;the number of blocks must be <= 50000");let a=[],A=Cu(),l=0,c=new DK(r.concurrency);for(let s=0;s<o;s++)c.addOperation(async()=>{let c=w9(A,s),d=i*s,g=(s===o-1?t:d+i)-d;a.push(c),await this.stageBlock(c,e(d,g),g,{abortSignal:r.abortSignal,conditions:r.conditions,encryptionScope:r.encryptionScope,tracingOptions:n.tracingOptions,contentChecksumAlgorithm:r.contentChecksumAlgorithm}),l+=g,r.onProgress&&r.onProgress({loadedBytes:l})});return await c.do(),this.commitBlockList(a,n)})}async uploadFile(e,t={}){return DA.withSpan("BlockBlobClient-uploadFile",t,async r=>{let i=(await D$(e)).size;return this.uploadSeekableInternal((t,r)=>()=>D0(e,{autoClose:!0,end:r?t+r-1:1/0,start:t}),i,{...t,tracingOptions:r.tracingOptions})})}async uploadStream(e,t=8388608,r=5,i={}){return i.blobHTTPHeaders||(i.blobHTTPHeaders={}),i.conditions||(i.conditions={}),DA.withSpan("BlockBlobClient-uploadStream",i,async s=>{let n=0,o=Cu(),a=0,A=[],l=new E3(e,t,r,async(e,t)=>{let r=w9(o,n);A.push(r),n++,await this.stageBlock(r,e,t,{customerProvidedKey:i.customerProvidedKey,conditions:i.conditions,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions,contentChecksumAlgorithm:i.contentChecksumAlgorithm}),a+=t,i.onProgress&&i.onProgress({loadedBytes:a})},Math.ceil(r/4*3));return await l.do(),Dn(await this.commitBlockList(A,{...i,tracingOptions:s.tracingOptions}))})}}class D5 extends D1{pageBlobContext;constructor(e,t,r,i){let s,n;if(i=i||{},B1(t))n=e,s=t,i=r;else if(t instanceof BO||t instanceof Bd||IS(t))n=e,s=B3(t,i=r);else if(t||"string"==typeof t)if(t&&"string"==typeof t&&r&&"string"==typeof r){let o=w1(e);if("AccountConnString"===o.kind)if(0)throw Error("Account connection string is only supported in Node.js environment");else{let e=new BO(o.accountName,o.accountKey);n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r)),i.proxyOptions||(i.proxyOptions=Ic(o.proxyUri)),s=B3(e,i)}else if("SASConnString"===o.kind)n=w2(w2(o.url,encodeURIComponent(t)),encodeURIComponent(r))+"?"+o.accountSas,s=B3(new Bd,i);else throw Error("Connection string must be either an Account connection string or a SAS connection string")}else throw Error("Expecting non-empty strings for containerName and blobName parameters");else n=e,i=r,s=B3(new Bd,i);super(n,s),this.pageBlobContext=this.storageClientContext.pageBlob,this.blobClientConfig=i}withSnapshot(e){return new D5(w3(this.url,BK,0===e.length?void 0:e),this.pipeline,this.blobClientConfig)}async create(e,t={}){return t.conditions=t.conditions||{},DH(t.customerProvidedKey,this.isHttps),DA.withSpan("PageBlobClient-create",t,async r=>Dn(await this.pageBlobContext.create(0,e,{abortSignal:t.abortSignal,blobHttpHeaders:t.blobHTTPHeaders,blobSequenceNumber:t.blobSequenceNumber,leaseAccessConditions:t.conditions,metadata:t.metadata,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},cpkInfo:t.customerProvidedKey,encryptionScope:t.encryptionScope,immutabilityPolicyExpiry:t.immutabilityPolicy?.expiriesOn,immutabilityPolicyMode:t.immutabilityPolicy?.policyMode,legalHold:t.legalHold,tier:DO(t.tier),blobTagsString:De(t.tags),tracingOptions:r.tracingOptions})))}async createIfNotExists(e,t={}){return DA.withSpan("PageBlobClient-createIfNotExists",t,async r=>{try{let i=Dn(await this.create(e,{...t,conditions:{ifNoneMatch:"*"},tracingOptions:r.tracingOptions}));return{succeeded:!0,...i,_response:i._response}}catch(e){if(e.details?.errorCode==="BlobAlreadyExists")return{succeeded:!1,...e.response?.parsedHeaders,_response:e.response};throw e}})}async uploadPages(e,t,r,i={}){return i.conditions=i.conditions||{},DH(i.customerProvidedKey,this.isHttps),DA.withSpan("PageBlobClient-uploadPages",i,async s=>{let n={abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},requestOptions:{onUploadProgress:i.onProgress},range:Dj({offset:t,count:r}),sequenceNumberAccessConditions:i.conditions,cpkInfo:i.customerProvidedKey,encryptionScope:i.encryptionScope,tracingOptions:s.tracingOptions},o=await Do(e,r,n,i,this.blobClientConfig?.uploadContentChecksumAlgorithm);return Dn(await this.pageBlobContext.uploadPages(o.contentLength,o.body,n))})}async uploadPagesFromURL(e,t,r,i,s={}){return s.conditions=s.conditions||{},s.sourceConditions=s.sourceConditions||{},DH(s.customerProvidedKey,this.isHttps),DA.withSpan("PageBlobClient-uploadPagesFromURL",s,async n=>Dn(await this.pageBlobContext.uploadPagesFromURL(e,Dj({offset:t,count:i}),0,Dj({offset:r,count:i}),{abortSignal:s.abortSignal,sourceContentMD5:s.sourceContentMD5,sourceContentCrc64:s.sourceContentCrc64,leaseAccessConditions:s.conditions,sequenceNumberAccessConditions:s.conditions,modifiedAccessConditions:{...s.conditions,ifTags:s.conditions?.tagConditions},sourceModifiedAccessConditions:{sourceIfMatch:s.sourceConditions?.ifMatch,sourceIfModifiedSince:s.sourceConditions?.ifModifiedSince,sourceIfNoneMatch:s.sourceConditions?.ifNoneMatch,sourceIfUnmodifiedSince:s.sourceConditions?.ifUnmodifiedSince},cpkInfo:s.customerProvidedKey,encryptionScope:s.encryptionScope,copySourceAuthorization:Di(s.sourceAuthorization),fileRequestIntent:s.sourceShareTokenIntent,tracingOptions:n.tracingOptions,sourceCpkInfo:{sourceEncryptionKey:s.sourceCustomerProvidedKey?.encryptionKey,sourceEncryptionAlgorithm:s.sourceCustomerProvidedKey?.encryptionAlgorithm,sourceEncryptionKeySha256:s.sourceCustomerProvidedKey?.encryptionKeySha256}})))}async clearPages(e=0,t,r={}){return r.conditions=r.conditions||{},DA.withSpan("PageBlobClient-clearPages",r,async i=>Dn(await this.pageBlobContext.clearPages(0,{abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:Dj({offset:e,count:t}),sequenceNumberAccessConditions:r.conditions,cpkInfo:r.customerProvidedKey,encryptionScope:r.encryptionScope,tracingOptions:i.tracingOptions})))}async getPageRanges(e=0,t,r={}){return r.conditions=r.conditions||{},DA.withSpan("PageBlobClient-getPageRanges",r,async i=>DP(Dn(await this.pageBlobContext.getPageRanges({abortSignal:r.abortSignal,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},range:Dj({offset:e,count:t}),tracingOptions:i.tracingOptions}))))}async listPageRangesSegment(e=0,t,r,i={}){return DA.withSpan("PageBlobClient-getPageRangesSegment",i,async s=>Dn(await this.pageBlobContext.getPageRanges({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},range:Dj({offset:e,count:t}),marker:r,maxPageSize:i.maxPageSize,tracingOptions:s.tracingOptions})))}async *listPageRangeItemSegments(e=0,t,r,i={}){let s;if(r||void 0===r)do r=(s=await this.listPageRangesSegment(e,t,r,i)).continuationToken,yield await s;while(r)}async *listPageRangeItems(e=0,t,r={}){let i;for await(let s of this.listPageRangeItemSegments(e,t,i,r))yield*Ds(s)}listPageRanges(e=0,t,r={}){r.conditions=r.conditions||{};let i=this.listPageRangeItems(e,t,r);return{next:()=>i.next(),[Symbol.asyncIterator](){return this},byPage:(i={})=>this.listPageRangeItemSegments(e,t,i.continuationToken,{maxPageSize:i.maxPageSize,...r})}}async getPageRangesDiff(e,t,r,i={}){return i.conditions=i.conditions||{},DA.withSpan("PageBlobClient-getPageRangesDiff",i,async s=>DP(Dn(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevsnapshot:r,range:Dj({offset:e,count:t}),tracingOptions:s.tracingOptions}))))}async listPageRangesDiffSegment(e,t,r,i,s={}){return DA.withSpan("PageBlobClient-getPageRangesDiffSegment",s,async n=>Dn(await this.pageBlobContext.getPageRangesDiff({abortSignal:s?.abortSignal,leaseAccessConditions:s?.conditions,modifiedAccessConditions:{...s?.conditions,ifTags:s?.conditions?.tagConditions},prevsnapshot:r,range:Dj({offset:e,count:t}),marker:i,maxPageSize:s?.maxPageSize,tracingOptions:n.tracingOptions})))}async *listPageRangeDiffItemSegments(e,t,r,i,s){let n;if(i||void 0===i)do i=(n=await this.listPageRangesDiffSegment(e,t,r,i,s)).continuationToken,yield await n;while(i)}async *listPageRangeDiffItems(e,t,r,i){let s;for await(let n of this.listPageRangeDiffItemSegments(e,t,r,s,i))yield*Ds(n)}listPageRangesDiff(e,t,r,i={}){i.conditions=i.conditions||{};let s=this.listPageRangeDiffItems(e,t,r,{...i});return{next:()=>s.next(),[Symbol.asyncIterator](){return this},byPage:(s={})=>this.listPageRangeDiffItemSegments(e,t,r,s.continuationToken,{maxPageSize:s.maxPageSize,...i})}}async getPageRangesDiffForManagedDisks(e,t,r,i={}){return i.conditions=i.conditions||{},DA.withSpan("PageBlobClient-GetPageRangesDiffForManagedDisks",i,async s=>DP(Dn(await this.pageBlobContext.getPageRangesDiff({abortSignal:i.abortSignal,leaseAccessConditions:i.conditions,modifiedAccessConditions:{...i.conditions,ifTags:i.conditions?.tagConditions},prevSnapshotUrl:r,range:Dj({offset:e,count:t}),tracingOptions:s.tracingOptions}))))}async resize(e,t={}){return t.conditions=t.conditions||{},DA.withSpan("PageBlobClient-resize",t,async r=>Dn(await this.pageBlobContext.resize(e,{abortSignal:t.abortSignal,leaseAccessConditions:t.conditions,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},encryptionScope:t.encryptionScope,tracingOptions:r.tracingOptions})))}async updateSequenceNumber(e,t,r={}){return r.conditions=r.conditions||{},DA.withSpan("PageBlobClient-updateSequenceNumber",r,async i=>Dn(await this.pageBlobContext.updateSequenceNumber(e,{abortSignal:r.abortSignal,blobSequenceNumber:t,leaseAccessConditions:r.conditions,modifiedAccessConditions:{...r.conditions,ifTags:r.conditions?.tagConditions},tracingOptions:i.tracingOptions})))}async startCopyIncremental(e,t={}){return DA.withSpan("PageBlobClient-startCopyIncremental",t,async r=>Dn(await this.pageBlobContext.copyIncremental(e,{abortSignal:t.abortSignal,modifiedAccessConditions:{...t.conditions,ifTags:t.conditions?.tagConditions},tracingOptions:r.tracingOptions})))}}(eI=ev||(ev={}))[eI.LOCKED=0]="LOCKED",eI[eI.UNLOCKED=1]="UNLOCKED",(eT||(eT={})).AES256="AES256";let D4=(0,uu.createHash)("sha256").update("blobstore|1.0").digest("hex"),D8={uploadData:(e,t)=>AK({try:()=>new D3(e).uploadData(t),catch:e=>new pV({reason:"uploadFailed",cause:e})}).pipe(og),downloadToBuffer:e=>AK({try:()=>new D1(e).downloadToBuffer(),catch:e=>new pV({reason:"downloadFailed",cause:e})}).pipe(oI(e=>new Uint8Array(e.buffer,e.byteOffset,e.byteLength)))},D9=e=>AX(function*(){let t,r=yield*mL,i=(t=yield*hp,AX(function*(){let e=yield*t.getOptional(p_),r=yield*t.getOptional(pJ);return r4(e)?yield*rp(p_):r4(r)?yield*rp(pJ):{baseUrl:e.value.endsWith("/")?e.value:`${e.value}/`,token:cN(r.value),backendIds:(e=>{let t;try{t=(e=>{let t=e.split(".");if(3!==t.length)throw Error(`expected a three-segment JWT, got ${t.length}`);return JSON.parse(Buffer.from(t[1]??"","base64url").toString("utf8"))})(e)}catch(e){return rz(`the runtime token is not a readable JWT: ${e instanceof Error?e.message:e}`)}let r=t.scp;if("string"!=typeof r)return rz("the runtime token carries no `scp` claim");for(let e of r.split(" ")){let t=e.split(":");if("Actions.Results"!==t[0])continue;let r=t[1],i=t[2];if(3!==t.length||void 0===r||""===r||void 0===i||""===i)return rz(`the runtime token's Actions.Results scope is malformed: "${e}"`);return rq({workflowRunBackendId:r,workflowJobRunBackendId:i})}return rz("the runtime token carries no `Actions.Results` scope")})(r.value)}})).pipe(oq(e=>new mJ({reason:"misconfigured",detail:`${e} is not set — the Actions results backend is only reachable from a \`uses:\` step, never from \`run:\``}))),s=(e,t,s)=>AX(function*(){let{baseUrl:n,token:o}=yield*i;return yield*(e=>{let{baseUrl:t,body:r,http:i,method:s,service:n,token:o}=e;return AX(function*(){let e=ml(`${t}twirp/${n}/${s}`).pipe(mh(o),my(r)),a=yield*i.execute(e).pipe(oq(e=>({method:s,kind:"transport",cause:e})));return 409===a.status?pW:a.status<200||a.status>=300?yield*rp({method:s,kind:"status",status:a.status}):yield*a.json.pipe(oq(e=>({method:s,kind:"malformed",cause:e})))}).pipe(AV({schedule:((e,t=2)=>{let r=s2(sO(e));return Am(n0(e=>{let i=sK(r*Math.pow(t,e.attempt-1));return n0([i,i])}))})("3 seconds",1.5),times:4,while:pj}))})({http:r,baseUrl:n,service:"github.actions.results.api.v1.CacheService",token:o,method:e,body:t}).pipe(oq(e=>new mJ("status"===e.kind?{reason:"refused",key:s,...void 0===e.status?{}:{status:e.status}}:{reason:"unreachable",key:s,detail:`${e.method} answered with something that is not a Twirp body`,...void 0===e.cause?{}:{cause:e.cause}})))}),n=e=>oI(s("GetCacheEntryDownloadURL",{key:e,restore_keys:[],version:D4},e),e=>e!==pW&&pZ(e)?iA(pX(e,"signedDownloadUrl")):r2()),o=e=>oq(t=>new mJ({reason:"unreachable",key:e,cause:t}));return{get:(t,r)=>AX(function*(){let i=yield*n(t);if(r4(i))return r2();let s=yield*e.downloadToBuffer(i.value).pipe(o(t));return r3((yield*n5(ug.decodeResult(s,r))))}),put:(t,r,i)=>AX(function*(){let n=yield*n5(ug.encodeResult(r.metadata,r.body,i)),a=yield*s("CreateCacheEntry",{key:t,version:D4},t);if(a===pW)return;let A=pX(a,"signedUploadUrl");if(!pZ(a)||void 0===A)return yield*rp(new mJ({reason:"refused",key:t,detail:"CreateCacheEntry returned no upload url"}));yield*e.uploadData(A,n).pipe(o(t));let l=yield*s("FinalizeCacheEntryUpload",{key:t,version:D4,size_bytes:String(n.byteLength)},t);if(l===pW||!pZ(l))return yield*rp(new mJ({reason:"refused",key:t,detail:"FinalizeCacheEntryUpload did not confirm the upload"}))}),has:e=>oI(n(e),r8)}});var D6=class{static layer=AO(mW,D9(D8));static layerWith=e=>AO(mW,D9(e))};let D7="TURBOGHA_TOKEN",xe=(e,t)=>e[t]??"",xt=AG(pq,hp.layer.pipe(Az(pw)),hN.layerDetached),xr=e=>{console.error(`turbo-server: ${e}`)},xi=(e=>{let t,r,i,s=xe(e,D7);if(""===s)return rz(`${D7} is not set — refusing to start an unauthenticated cache server`);let n=Number(xe(e,"TURBOGHA_PORT")),o={port:Number.isInteger(n)&&n>0&&n<=65535?n:41230,prefix:xe(e,"TURBOGHA_PREFIX"),token:s};return rq("s3"===xe(e,"TURBOGHA_BACKEND")?{...o,backend:"s3",s3:(t=xe(e,"TURBOGHA_S3_ENDPOINT"),r=xe(e,"TURBOGHA_S3_SESSION_TOKEN"),i=xe(e,"TURBOGHA_S3_PREFIX"),{bucket:xe(e,"TURBOGHA_S3_BUCKET"),region:xe(e,"TURBOGHA_S3_REGION"),accessKeyId:xe(e,"TURBOGHA_S3_ACCESS_KEY_ID"),secretAccessKey:cN(xe(e,"TURBOGHA_S3_SECRET_ACCESS_KEY")),...""===t?{}:{endpoint:t},...""===r?{}:{sessionToken:cN(r)},...""===i?{}:{prefix:i}})}:{...o,backend:"github"})})(process.env);rY(xi)&&(xr(xi.failure),process.exit(1));let xs=xi.success,xn=(ef="s3"===xs.backend?mW.layerS3(xs.s3).pipe(Az(xt)):D6.layer.pipe(Az(xt)),Y=(void 0)??AM(),z=AN(G=o7("parallel"),"sequential"),q={onFiberStart:ab(G)},V=e=>e?{...e,onFiberStart:e.onFiberStart?t=>{q.onFiberStart(t),e.onFiberStart(t)}:q.onFiberStart}:q,_=rI(e=>(P||(P=aS(od(AF(ef,Y,z),e=>n2(()=>{J.cachedContext=e})),{...q,scheduler:e.currentScheduler})),oh(nj(P),eq))),J={[A5]:A5,memoMap:Y,scope:G,contextEffect:_,cachedContext:void 0,context:()=>void 0===J.cachedContext?ak(J.contextEffect):Promise.resolve(J.cachedContext),dispose:()=>ak(J.disposeEffect),disposeEffect:n3(()=>(J.contextEffect=n9("ManagedRuntime disposed"),J.cachedContext=void 0,o3(J.scope,oN))),runFork:(e,t)=>void 0===J.cachedContext?aS(A4(J,e),V(t)):aN(J.cachedContext)(e,V(t)),runCallback:(e,t)=>void 0===J.cachedContext?aD(A4(J,e),V(t)):aw(J.cachedContext)(e,V(t)),runSyncExit:e=>void 0===J.cachedContext?aU(A4(J,e)):aF(J.cachedContext)(e),runSync:e=>void 0===J.cachedContext?aT(A4(J,e)):av(J.cachedContext)(e),runPromiseExit:(e,t)=>void 0===J.cachedContext?aR(A4(J,e),V(t)):ax(J.cachedContext)(e,V(t)),runPromise:(e,t)=>void 0===J.cachedContext?ak(A4(J,e),V(t)):aM(J.cachedContext)(e,V(t))}),xo=(W={prefix:xs.prefix,expectedToken:xs.token,onStoreFailure:e=>{"github"===xs.backend&&"BlobStoreError"===e._tag&&(401===e.status||"refused"===e.reason)?xr("the Actions cache refused a request — ACTIONS_RUNTIME_TOKEN has most likely expired, so cache writes from here on are lost"):xr(`the ${xs.backend} backend failed: ${e.message}`)}},e=>AX(function*(){var t;let r,i,s=-1===(r=(t=e.path).indexOf("?"))?t:t.slice(0,r);if("/v8/artifacts/status"===s)return m0(200,{status:"enabled"});let n={status:401,headers:{}};if("/v8/artifacts/events"===s)return m1(e,W.expectedToken)?m0(200,[]):n;let o=(e=>{if(!e.startsWith(mZ))return null;let t=e.slice(mZ.length);return""===t||"."===t||".."===t||t.includes("/")?null:t})(s);if(null===o)return m$;if(!m1(e,W.expectedToken))return n;let a=(i=W.prefix,""===i||i.endsWith("/")?`${i}${o}`:`${i}/${o}`),A=yield*mW;if("PUT"===e.method){let t=mX.make({tag:e.artifactTag??null,durationMs:Math.min(0xffffffff,Math.max(0,Math.trunc(e.artifactDuration)||0))});return yield*A.put(a,{metadata:t,body:e.body},mX),{status:202,headers:{}}}if("HEAD"===e.method)return{status:(yield*A.has(a))?200:404,headers:{}};if("GET"===e.method){let e=yield*A.get(a,mX).pipe(oz("BlobEnvelopeError",()=>n8));if(r4(e))return m$;let{tag:t,durationMs:r}=e.value.metadata,i={"content-type":"application/octet-stream","x-artifact-duration":String(r)};return t&&(i["x-artifact-tag"]=t),{status:200,headers:i,body:e.value.body}}return{status:405,headers:{}}}).pipe(oP(e=>n2(()=>(W.onStoreFailure?.(e),{status:500,headers:{}}))))),xa=(0,eH.createServer)((e,t)=>{let r=[];e.on("error",()=>{t.destroy()}),e.on("data",e=>{r.push(e)}),e.on("end",()=>{let i=e.headers["x-artifact-duration"],s=e.headers["x-artifact-tag"],n={method:e.method??"GET",path:e.url??"/",authorization:e.headers.authorization,artifactTag:"string"==typeof s?s:void 0,artifactDuration:"string"==typeof i&&Number(i)||0,body:new Uint8Array(Buffer.concat(r))};xn.runPromise(xo(n)).then(e=>{t.writeHead(e.status,e.headers),t.end(e.body?Buffer.from(e.body):void 0)},()=>{t.writeHead(500),t.end()})})});xa.on("error",e=>{xr("EADDRINUSE"===e.code?`port ${xs.port} is already in use — another cache server is running on this runner`:`cannot listen on 127.0.0.1:${xs.port}: ${e.message}`),process.exit(1)}),process.on("SIGTERM",()=>{setTimeout(()=>process.exit(0),2e3).unref(),xa.close(()=>{xn.dispose().then(()=>process.exit(0),()=>process.exit(0))}),xa.closeIdleConnections()}),xa.listen(xs.port,"127.0.0.1")})(); \ No newline at end of file diff --git a/package.json b/package.json index ad135c9b..e0a84c60 100644 --- a/package.json +++ b/package.json @@ -7,6 +7,7 @@ "type": "git", "url": "git+https://github.com/savvy-web/silk-runtime-action.git" }, + "license": "MIT", "type": "module", "scripts": { "build": "turbo run build:prod --log-order=grouped", @@ -30,11 +31,25 @@ }, "dependencies": { "@effect/platform-node": "catalog:effect", + "@effected/commands": "^0.2.0", + "@effected/git": "^0.5.1", + "@effected/github": "^0.2.1", + "@effected/github-actions": "^0.3.0", + "@effected/glob": "^0.2.1", "@effected/jsonc": "^0.5.1", - "@savvy-web/github-action-effects": "^3.1.0", + "@effected/lockfiles": "^0.2.3", + "@effected/markdown": "^0.4.1", + "@effected/npm": "^0.7.0", + "@effected/package-json": "^0.7.0", + "@effected/runtimes": "^0.2.2", + "@effected/sbom": "^0.2.1", + "@effected/semver": "^0.3.0", + "@effected/workspaces": "^0.9.2", + "@effected/yaml": "^0.6.0", "effect": "catalog:effect" }, "devDependencies": { + "@effect/vitest": "catalog:effect", "@savvy-web/github-action-builder": "^2.1.1", "@savvy-web/silk": "^3.2.11", "@vitest-agent/plugin": "^2.0.10" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index a8201b3d..b53601ca 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -38,6 +38,9 @@ catalogs: '@effect/platform-node': specifier: 4.0.0-beta.101 version: 4.0.0-beta.101 + '@effect/vitest': + specifier: 4.0.0-beta.101 + version: 4.0.0-beta.101 effect: specifier: 4.0.0-beta.101 version: 4.0.0-beta.101 @@ -54,25 +57,67 @@ importers: '@effect/platform-node': specifier: catalog:effect version: 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) + '@effected/commands': + specifier: ^0.2.0 + version: 0.2.0(effect@4.0.0-beta.101) + '@effected/git': + specifier: ^0.5.1 + version: 0.5.1(effect@4.0.0-beta.101) + '@effected/github': + specifier: ^0.2.1 + version: 0.2.1(effect@4.0.0-beta.101) + '@effected/github-actions': + specifier: ^0.3.0 + version: 0.3.0(@effect/platform-node@4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)))(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/semver@0.3.0(effect@4.0.0-beta.101))(@effected/toml@0.3.1(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)(supports-color@7.2.0) + '@effected/glob': + specifier: ^0.2.1 + version: 0.2.1(effect@4.0.0-beta.101) '@effected/jsonc': specifier: ^0.5.1 version: 0.5.1(effect@4.0.0-beta.101) - '@savvy-web/github-action-effects': - specifier: ^3.1.0 - version: 3.1.0(@effect/platform-node@4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)))(ajv-formats@3.0.1(ajv@8.20.0))(ajv@8.20.0)(effect@4.0.0-beta.101)(supports-color@7.2.0) + '@effected/lockfiles': + specifier: ^0.2.3 + version: 0.2.3(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/npm@0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101))(@effected/semver@0.3.0(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/markdown': + specifier: ^0.4.1 + version: 0.4.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/toml@0.3.1(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/npm': + specifier: ^0.7.0 + version: 0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/package-json': + specifier: ^0.7.0 + version: 0.7.0(effect@4.0.0-beta.101) + '@effected/runtimes': + specifier: ^0.2.2 + version: 0.2.2(effect@4.0.0-beta.101) + '@effected/sbom': + specifier: ^0.2.1 + version: 0.2.1(effect@4.0.0-beta.101)(supports-color@7.2.0) + '@effected/semver': + specifier: ^0.3.0 + version: 0.3.0(effect@4.0.0-beta.101) + '@effected/workspaces': + specifier: ^0.9.2 + version: 0.9.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/yaml': + specifier: ^0.6.0 + version: 0.6.0(effect@4.0.0-beta.101) effect: specifier: catalog:effect version: 4.0.0-beta.101 devDependencies: + '@effect/vitest': + specifier: catalog:effect + version: 4.0.0-beta.101(effect@4.0.0-beta.101)(vitest@4.1.10) '@savvy-web/github-action-builder': specifier: ^2.1.1 - version: 2.1.1(@types/node@26.1.1)(ioredis@5.11.1(supports-color@7.2.0))(typescript@7.0.2) + version: 2.1.1(@types/node@26.1.2)(ioredis@5.11.1(supports-color@7.2.0))(typescript@7.0.2) '@savvy-web/silk': specifier: ^3.2.11 - version: 3.2.11(@changesets/cli@3.0.0-next.10)(@commitlint/cli@21.2.1(@types/node@26.1.1)(conventional-commits-parser@7.1.1)(typescript@7.0.2))(@commitlint/config-conventional@21.2.0)(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@types/bun@1.3.14)(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(husky@9.1.7)(ioredis@5.11.1(supports-color@7.2.0))(lint-staged@17.2.0)(markdownlint-cli2-formatter-codequality@0.0.7(markdownlint-cli2@0.23.1(supports-color@7.2.0)))(markdownlint-cli2@0.23.1(supports-color@7.2.0))(supports-color@7.2.0)(tsx@4.23.1)(turbo@2.10.7)(typescript@7.0.2)(vitest@4.1.10) + version: 3.2.11(@changesets/cli@3.0.0-next.10)(@commitlint/cli@21.2.1(@types/node@26.1.2)(conventional-commits-parser@7.1.2)(typescript@7.0.2))(@commitlint/config-conventional@21.2.0)(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@types/bun@1.3.14)(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(husky@9.1.7)(ioredis@5.11.1(supports-color@7.2.0))(lint-staged@17.3.0)(markdownlint-cli2-formatter-codequality@0.0.7(markdownlint-cli2@0.23.2(supports-color@7.2.0)))(markdownlint-cli2@0.23.2(supports-color@7.2.0))(supports-color@7.2.0)(tsx@4.23.1)(turbo@2.10.8)(typescript@7.0.2)(vitest@4.1.10) '@vitest-agent/plugin': specifier: ^2.0.10 - version: 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)(vitest@4.1.10) + version: 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)(vitest@4.1.10) packages: @@ -147,8 +192,8 @@ packages: resolution: {integrity: sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==} engines: {node: '>=6.9.0'} - '@babel/generator@7.29.7': - resolution: {integrity: sha512-DkXD5OJQaAQIdZ1bt3UZdEnHAn9Imd3IVBdX03UFe+ony9Ojw5pzr9YVKGDY1jt+Gcn/FnGkNf8r+Vj5NOJWtQ==} + '@babel/generator@7.29.8': + resolution: {integrity: sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==} engines: {node: '>=6.9.0'} '@babel/helper-compilation-targets@7.29.7': @@ -185,8 +230,8 @@ packages: resolution: {integrity: sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==} engines: {node: '>=6.9.0'} - '@babel/parser@7.29.7': - resolution: {integrity: sha512-hnORnjP/1P/zFEndoeX+n+t1RwWRJiJpM/jO7FW32Kn9r5+sJB2JWOdYo4L6k78j15eCwY3Gm/7364B1EMwtNg==} + '@babel/parser@7.29.8': + resolution: {integrity: sha512-E8lTAYNB1KW+FH+VGJuZM1ioAx2E6oVlvQFRrf5P8ZZmsiJXYAD9vTFV7yyEURNzgh1dFqMZuO6tUwcARbqFCA==} engines: {node: '>=6.0.0'} hasBin: true @@ -194,12 +239,12 @@ packages: resolution: {integrity: sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==} engines: {node: '>=6.9.0'} - '@babel/traverse@7.29.7': - resolution: {integrity: sha512-EhlfNQtZ+NK22w5BM61ciuiq1m58ed33Wr1Xan//ZRTy6hgjnwyCffRYwzsGXdASJSUJ1guZILsErh1eQcl+zw==} + '@babel/traverse@7.29.8': + resolution: {integrity: sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==} engines: {node: '>=6.9.0'} - '@babel/types@7.29.7': - resolution: {integrity: sha512-4zBIxpPzowiZpusoFkyGVwakdRJUyuH5PxQ/PrqghfdFWWasvnCdPfQXHrenDai+gyLARulZjZowCOj6fjT4pA==} + '@babel/types@7.29.8': + resolution: {integrity: sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==} engines: {node: '>=6.9.0'} '@bcoe/v8-coverage@1.0.2': @@ -368,33 +413,6 @@ packages: resolution: {integrity: sha512-TzlTVpKPjaqW6qOYjQcYUDuGsLCNsvFHVBXkYGTAnf5V37jCWrE5haKNXzz0WZUtVHjrpV76L1buANjwXMfT8w==} engines: {node: '>=22'} - '@cyclonedx/cyclonedx-library@10.1.0': - resolution: {integrity: sha512-4yq0KTQIA32UHJwFMDeY5xj2asp3Mk5lzx4JRVXLOb0YE8w1KeR61c1m/gJ4sjMXpiiEDfaITVQu8BLUuy7t3A==} - engines: {node: '>=20.18.0'} - peerDependencies: - ajv: ^8.12.0 - ajv-formats: ^3.0.1 - ajv-formats-draft2019: ^1.6.1 - libxmljs2: ^0.35||^0.37 - packageurl-js: '*' - spdx-expression-parse: '*' - xmlbuilder2: ^3.0.2||^4.0.0 - peerDependenciesMeta: - ajv: - optional: true - ajv-formats: - optional: true - ajv-formats-draft2019: - optional: true - libxmljs2: - optional: true - packageurl-js: - optional: true - spdx-expression-parse: - optional: true - xmlbuilder2: - optional: true - '@effect/platform-node-shared@4.0.0-beta.102': resolution: {integrity: sha512-gVd793I72MrkX4dXo7eYtRKfNj0RW4eMRfVEKEJI16h2+mBDCzQ+gqMrog2hSTHQnaIbvbYShNQ4TVGuRCYZeQ==} engines: {node: '>=18.0.0'} @@ -413,6 +431,12 @@ packages: peerDependencies: effect: ^4.0.0-beta.101 + '@effect/vitest@4.0.0-beta.101': + resolution: {integrity: sha512-F5Ur8pZYti0xkZFyb4hPZt8RrKQ1XBoC28ZkKxc7N1iPbhE9fWOvlWA1NC2XlN2wWG08yb5g5jR53LdOxjlhpQ==} + peerDependencies: + effect: ^4.0.0-beta.101 + vitest: ^3.0.0 || ^4.0.0 + '@effected/commands@0.2.0': resolution: {integrity: sha512-Sh4YJjBpYzKOH48WqG3wwP21dGjH+htg5GOfG29+MGjfGZFWrj5t5H2WBH81zxhts4e1FlVaUzZGhaiYTgir5Q==} engines: {node: '>=24.11.0'} @@ -435,6 +459,19 @@ packages: peerDependencies: effect: 4.0.0-beta.101 + '@effected/github-actions@0.3.0': + resolution: {integrity: sha512-UcDdTN+YI8qlbWS1S+3WiqrCmXWfTT5mSB730/6hUVCjPPJ61Px3Ts/lR17jB+zhFLNmugS7O1JmR+X/u+8oww==} + engines: {node: '>=24.11.0'} + peerDependencies: + '@effect/platform-node': 4.0.0-beta.101 + effect: 4.0.0-beta.101 + + '@effected/github@0.2.1': + resolution: {integrity: sha512-ksrEM7fKlJVQcu1QhVG4+iwbs1se/w0CtVEbVi14fs/bks2urP5hpcflXS3mdGeubQ2Y+4o4MyGkJI1od0zGkw==} + engines: {node: '>=24.11.0'} + peerDependencies: + effect: 4.0.0-beta.101 + '@effected/glob@0.2.1': resolution: {integrity: sha512-qEKzeTto/2qdmXmdzfENUtOPn3Xr4cSKjY5ldm6HdieFYGxhLQ8pKaIepdRZHNY8IZNK+zMO+bkRXTkYMH7pJA==} engines: {node: '>=24.11.0'} @@ -447,15 +484,31 @@ packages: peerDependencies: effect: 4.0.0-beta.101 - '@effected/lockfiles@0.2.2': - resolution: {integrity: sha512-/rkxjrqTkQOn6toKlfKUD9/WywdwQ34a8/dxmq5MKtR+L+b2NimPqKj9E+e+DTg1oqRFYvkssL8T8hlcHkGAag==} + '@effected/lockfiles@0.2.3': + resolution: {integrity: sha512-ySujuNHL1k4bOebHlatm0Lx9Sf6KyCynuylc6REtq7KpZR9fk0KWY1d0OKnG508RJei8ayqowEtejT/wGPfZqw==} engines: {node: '>=24.11.0'} peerDependencies: '@effected/jsonc': ~0.5.1 - '@effected/npm': ~0.6.0 - '@effected/semver': ~0.2.1 + '@effected/npm': ~0.7.0 + '@effected/semver': ~0.3.0 + '@effected/yaml': ~0.6.0 + effect: 4.0.0-beta.101 + + '@effected/markdown@0.4.1': + resolution: {integrity: sha512-gh7a0GkiY/zYeO3HzUIjXmhekv8zxDZCdqKYw7O9xPIK2wIcOnhysRohelFeGtT0+f9UbwbCBj+AGDyAukXCZg==} + engines: {node: '>=24.11.0'} + peerDependencies: + '@effected/jsonc': ~0.5.1 + '@effected/toml': ~0.3.1 '@effected/yaml': ~0.6.0 effect: 4.0.0-beta.101 + peerDependenciesMeta: + '@effected/jsonc': + optional: true + '@effected/toml': + optional: true + '@effected/yaml': + optional: true '@effected/npm@0.6.0': resolution: {integrity: sha512-7qwXpJY1CceFkiZ5csYsoavwFllCDY1HjQp15+4h9psToFt0lqPU6yG06kWbg+w1Vh5BNHg6BADkzUuau4/e6A==} @@ -464,18 +517,49 @@ packages: '@effected/semver': ~0.2.1 effect: 4.0.0-beta.101 + '@effected/npm@0.7.0': + resolution: {integrity: sha512-8xjeomVsD/9LfKenOkieN+P3T9nTOSDtDfU3f9tEEmNMWQP21LCu92vZvZh8Sa5EFM70AdEWOavZ3iZmgSdnnw==} + engines: {node: '>=24.11.0'} + peerDependencies: + '@effected/semver': ~0.3.0 + effect: 4.0.0-beta.101 + '@effected/package-json@0.6.1': resolution: {integrity: sha512-msCY5x3QHJTxF5xOY8j3UuzTlMt54dn8wU35LopM65l8CSMdjIZ3qTocoSNiVSOSNPtEaaK+V/+b3gb6b1Dciw==} engines: {node: '>=24.11.0'} peerDependencies: effect: 4.0.0-beta.101 + '@effected/package-json@0.7.0': + resolution: {integrity: sha512-u4kqjrkszHxzIo0uCzURf2toL9DSC58B9x0ebMzrVcRQzG3SoGM2+JzFaQMqFFn2dEat7cny7l9a9srHRno28w==} + engines: {node: '>=24.11.0'} + peerDependencies: + effect: 4.0.0-beta.101 + + '@effected/runtimes@0.2.2': + resolution: {integrity: sha512-LFflimCf8CQkqrRSE3JUcUtsIY1gpVA755ydDD6hEP5hv4e7wn/FQwU5B7B2bFaJpeto6/dAgZsbUTgUFw4p6Q==} + engines: {node: '>=24.11.0'} + peerDependencies: + effect: 4.0.0-beta.101 + + '@effected/sbom@0.2.1': + resolution: {integrity: sha512-vdLJ9qtbnbY54m47X/j2B9eAuF+0TN8Hty+4YINU0heGGOTO3mKVLPwft0u612AF9MELb5n/6bCj9ZjVW5/hgw==} + engines: {node: '>=24.11.0'} + peerDependencies: + effect: 4.0.0-beta.101 + '@effected/semver@0.2.1': resolution: {integrity: sha512-TimUh0CyHy2ZAK48izEUDibi7gt4JaJQy0eZ3nuM4yoC23mdtgRJpbVYL4/fTUEgr0tOBuYzbnZYF036VMqKQg==} engines: {node: '>=24.11.0'} peerDependencies: effect: 4.0.0-beta.101 + '@effected/semver@0.3.0': + resolution: {integrity: sha512-ZoIsmnaXqFWzePIIvsd8citb5HdYPjcourTcT0MD0HCAX38Q9wWoe04rjNZTmO1V9u/6S+j/acJSD3iMP8RfpQ==} + engines: {node: '>=24.11.0'} + peerDependencies: + effect: 4.0.0-beta.101 + '@effected/spdx@0.1.1': resolution: {integrity: sha512-yLKDewQHc76IQLi/eQaziPOyKdnwPWLMnbM36gcDVE+QDVHfLdrXK2W0QhAFveRWKfXiFxtVC9MUhD9Bi4OLRw==} engines: {node: '>=24.11.0'} @@ -501,8 +585,8 @@ packages: '@effected/glob': ~0.2.1 effect: 4.0.0-beta.101 - '@effected/workspaces@0.9.1': - resolution: {integrity: sha512-64uEMfIvgqKWNtMXx+OBDpm6DOO+K2e1T2HJkORxz/rjLXG9AaH//wQOeJjmNG9qmPw4uo3SG0AEWyCepzoLTA==} + '@effected/workspaces@0.9.2': + resolution: {integrity: sha512-/FzkEKAMEcg3Std/sEwQLYYkERYfDRNLuPdnV2Pki4eFbVkSvHU/IgrDQM3X4N5gU+SfuvtyUfMVbQ4QCmTvCA==} engines: {node: '>=24.11.0'} peerDependencies: effect: 4.0.0-beta.101 @@ -521,21 +605,24 @@ packages: peerDependencies: effect: 4.0.0-beta.101 - '@emnapi/core@1.11.1': - resolution: {integrity: sha512-RSvbQmHzdKzNsLYa/wHrbc3KN4sYLKAdPZxqiM2HATqv/SBk2/ENSHpvXGaLOMcsAyz0poEGqkmmKYG3OWiJEQ==} - '@emnapi/core@1.11.2': resolution: {integrity: sha512-TC8MkTuZUtcTSiFeuC0ksCh9QIJ5+F21MvZ4Wn4ORfYaFJ/0dsiudv5tVkejgwZlwQ39jL9WWDe2lz8x0WglOA==} - '@emnapi/runtime@1.11.1': - resolution: {integrity: sha512-vgj7R3y3Wgx24IQaGPA/R6YFXLHVMOZ0uVEyIQPaWs+rd1AzfEMXlAC22FYwO1XkKR6NPsq7mUandH8oIRdZFw==} + '@emnapi/core@2.0.0-alpha.3': + resolution: {integrity: sha512-AZypUeJ/yByuxyS7BlSNRDOMLMlROYtjYdIAuBmJssVz1UJDSeYxLrdizhXCFYhedC5bqd/ASy8EuNXbVVXp9g==} '@emnapi/runtime@1.11.2': resolution: {integrity: sha512-kyOl3X0DuTiT1h2ft8r2fYO8JYtU9a9Xis/zBSiGArNaagCOWx90N1k2wxp18czFDH+OgcWGb5ZP/XMt3dcyPA==} + '@emnapi/runtime@2.0.0-alpha.3': + resolution: {integrity: sha512-hFPAhMUjJD9BSyCANEISPOogeXC9Zo9ZQl7L6vKnaVsMkCtzznaW/naYypeyl0Gv5rYfWYsZbpixTMpjDJzQeA==} + '@emnapi/wasi-threads@1.2.2': resolution: {integrity: sha512-c95qOXkHdydNKhscBTebqEC1CVAZpyqOfVfBzQ1qgzyl3gfeldUjIggDbIZgDKsHLgnsM+igH7TJ/eAasaVuMA==} + '@emnapi/wasi-threads@2.0.1': + resolution: {integrity: sha512-9DsSk+o5NBX0CCJT8s0EROGSGxjR/tKu6aBTaVyq+SjAEQH4XcdcRxPBRzsBLizTTJ49MJjF+jgu3qnO9GLQcQ==} + '@esbuild/aix-ppc64@0.28.1': resolution: {integrity: sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ==} engines: {node: '>=18'} @@ -696,9 +783,9 @@ packages: resolution: {integrity: sha512-GmzA9ckNokPypTg10pgpeHNQe7ph+iIKKmhKu3Ob9ANkswreCx7R3cKmY781K8QK3AqVL3xVh9A42JvIAbkkSA==} engines: {node: ^20.17.0 || >=22.9.0} - '@hono/node-server@1.19.15': - resolution: {integrity: sha512-Za2ai6TLdKjUvnur+eenO6nuYYipVAEhyCAdaV8IRvmU9kK8crOZUSYvIXn72E4f8fJqyAbpcJuTsYYmZp9Deg==} - engines: {node: '>=18.14.1'} + '@hono/node-server@2.0.12': + resolution: {integrity: sha512-eWpQYr67tqJLeaSUl0Q+TquuYfUdTibpOJlUMV2FfUP7+KqCC5TufnwnlXL6mobZBJbGAYRd7ZvEBDCbLInjhg==} + engines: {node: '>=20'} peerDependencies: hono: ^4 @@ -737,8 +824,8 @@ packages: resolution: {integrity: sha512-6QEf6yqFbETdwGITKq57aYoPfX/3K8XFNwsAlx0C1M7o8cb79sv1M3w+tWuWvIcSbNqrLF7OD7YpZMVVz335hQ==} engines: {node: '>=20.0.0'} - '@modelcontextprotocol/sdk@1.29.0': - resolution: {integrity: sha512-zo37mZA9hJWpULgkRpowewez1y6ML5GsXJPY8FI0tBBCd77HEvza4jDqRKOXgHNn867PVGCyTdzqpz0izu5ZjQ==} + '@modelcontextprotocol/sdk@1.30.0': + resolution: {integrity: sha512-xKd8OIzlqNzcqcNumGAa6g+PW2kjD5vrpcKOnfldAUPP3j7lnqMPwlTXQm8gF+UwH72z0lqaRbjr9hqGz0eITA==} engines: {node: '>=18'} peerDependencies: '@cfworker/json-schema': ^4.1.1 @@ -783,6 +870,13 @@ packages: '@emnapi/core': ^1.7.1 '@emnapi/runtime': ^1.7.1 + '@napi-rs/wasm-runtime@1.2.2': + resolution: {integrity: sha512-JfB4kuJQjaoHuCTseIINHtHWeJnvgEcxjwA5t/Y00ZgaOO1Crz3fjT/p8kT28zA/Caz7oiUMn3d6H2yOVCVwuw==} + engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} + peerDependencies: + '@emnapi/core': ^1.7.1 || ^2.0.0-alpha.3 + '@emnapi/runtime': ^1.7.1 || ^2.0.0-alpha.3 + '@nodable/entities@3.0.0': resolution: {integrity: sha512-8L9xFeTYKhm49xfIypoe2W5wV1m/3Z58kT+7kR9A8OyFxcPduI4VmxaUMQyKYrRjUoLLSXv6EKKID5Tvj9cUVw==} @@ -810,84 +904,50 @@ packages: resolution: {integrity: sha512-3zcN5Q3yEmeyxXBzqB6fXPQFzYa2ROsGFSr69W0ArXIAGJqxl/aFECOVPD2kbkYPm0U/EHxFKgclK3UA9WQg5A==} engines: {node: ^22.22.2 || ^24.15.0 || >=26.0.0} - '@octokit/auth-app@8.2.0': - resolution: {integrity: sha512-vVjdtQQwomrZ4V46B9LaCsxsySxGoHsyw6IYBov/TqJVROrlYdyNgw5q6tQbB7KZt53v1l1W53RiqTvpzL907g==} - engines: {node: '>= 20'} - - '@octokit/auth-oauth-app@9.0.3': - resolution: {integrity: sha512-+yoFQquaF8OxJSxTb7rnytBIC2ZLbLqA/yb71I4ZXT9+Slw4TziV9j/kyGhUFRRTF2+7WlnIWsePZCWHs+OGjg==} - engines: {node: '>= 20'} - - '@octokit/auth-oauth-device@8.0.3': - resolution: {integrity: sha512-zh2W0mKKMh/VWZhSqlaCzY7qFyrgd9oTWmTmHaXnHNeQRCZr/CXy2jCgHo4e4dJVTiuxP5dLa0YM5p5QVhJHbw==} - engines: {node: '>= 20'} - - '@octokit/auth-oauth-user@6.0.2': - resolution: {integrity: sha512-qLoPPc6E6GJoz3XeDG/pnDhJpTkODTGG4kY0/Py154i/I003O9NazkrwJwRuzgCalhzyIeWQ+6MDvkUmKXjg/A==} - engines: {node: '>= 20'} - '@octokit/auth-token@6.0.0': resolution: {integrity: sha512-P4YJBPdPSpWTQ1NU4XYdvHvXJJDxM6YwpS0FZHRgP7YFkdVxsWcpWGy/NVqlAA7PcPCnMacXlRm1y2PFZRWL/w==} engines: {node: '>= 20'} - '@octokit/core@7.0.6': - resolution: {integrity: sha512-DhGl4xMVFGVIyMwswXeyzdL4uXD5OGILGX5N8Y+f6W7LhC1Ze2poSNrkF/fedpVDHEEZ+PHFW0vL14I+mm8K3Q==} + '@octokit/core@7.0.7': + resolution: {integrity: sha512-DcB0M3KFgr9ECI328lhBMVsyFT2DnmNucSBTqEN3exyNKUzkkpUSCHmTRcunF41Eou2TIQKW4seewri8ON9bSA==} engines: {node: '>= 20'} '@octokit/endpoint@11.0.3': resolution: {integrity: sha512-FWFlNxghg4HrXkD3ifYbS/IdL/mDHjh9QcsNyhQjN8dplUoZbejsdpmuqdA76nxj2xoWPs7p8uX2SNr9rYu0Ag==} engines: {node: '>= 20'} - '@octokit/graphql@9.0.3': - resolution: {integrity: sha512-grAEuupr/C1rALFnXTv6ZQhFuL1D8G5y8CN04RgrO4FIPMrtm+mcZzFG7dcBm+nq+1ppNixu+Jd78aeJOYxlGA==} - engines: {node: '>= 20'} - - '@octokit/oauth-authorization-url@8.0.0': - resolution: {integrity: sha512-7QoLPRh/ssEA/HuHBHdVdSgF8xNLz/Bc5m9fZkArJE5bb6NmVkDm3anKxXPmN1zh6b5WKZPRr3697xKT/yM3qQ==} - engines: {node: '>= 20'} - - '@octokit/oauth-methods@6.0.2': - resolution: {integrity: sha512-HiNOO3MqLxlt5Da5bZbLV8Zarnphi4y9XehrbaFMkcoJ+FL7sMxH/UlUsCVxpddVu4qvNDrBdaTVE2o4ITK8ng==} + '@octokit/graphql@9.0.4': + resolution: {integrity: sha512-5s15CCiY8XXQ+FG+b1YQcl6Z2FA++nwAz/tg2VUrTmnMncP+2nnGUEYANImdnxsA2Fnq+Mbl7hDjUTw7cFAwcg==} engines: {node: '>= 20'} '@octokit/openapi-types@27.0.0': resolution: {integrity: sha512-whrdktVs1h6gtR+09+QsNk2+FO+49j6ga1c55YZudfEG+oKJVvJLQi3zkOm5JjiUXAagWK2tI2kTGKJ2Ys7MGA==} + '@octokit/openapi-types@28.0.0': + resolution: {integrity: sha512-0rFyLuyHvIj6uuZWuDslxkowFYdPXoNIkeAv4b27dzm2Tf4vGWXnPsMcxs7d65kLdMERgP3wc1AEPlqMz8e1cQ==} + '@octokit/plugin-paginate-rest@14.0.0': resolution: {integrity: sha512-fNVRE7ufJiAA3XUrha2omTA39M6IXIc6GIZLvlbsm8QOQCYvpq/LkMNGyFlB1d8hTDzsAXa3OKtybdMAYsV/fw==} engines: {node: '>= 20'} peerDependencies: '@octokit/core': '>=6' - '@octokit/plugin-request-log@6.0.0': - resolution: {integrity: sha512-UkOzeEN3W91/eBq9sPZNQ7sUBvYCqYbrrD8gTbBuGtHEuycE4/awMXcYvx6sVYo7LypPhmQwwpUe4Yyu4QZN5Q==} + '@octokit/request-error@7.1.1': + resolution: {integrity: sha512-+eaY7G2VVpSf2pc5Gn1+mph837V/d/TYTJAgWL9Tb0ogGYcpN3IlAVFgjL+Vv93F/sevrxkvsYCedtpLdcFLzA==} engines: {node: '>= 20'} - peerDependencies: - '@octokit/core': '>=6' - '@octokit/plugin-rest-endpoint-methods@17.0.0': - resolution: {integrity: sha512-B5yCyIlOJFPqUUeiD0cnBJwWJO8lkJs5d8+ze9QDP6SvfiXSz1BF+91+0MeI1d2yxgOhU/O+CvtiZ9jSkHhFAw==} - engines: {node: '>= 20'} - peerDependencies: - '@octokit/core': '>=6' - - '@octokit/request-error@7.1.0': - resolution: {integrity: sha512-KMQIfq5sOPpkQYajXHwnhjCC0slzCNScLHs9JafXc4RAJI+9f+jNDlBNaIMTvazOPLgb4BnlhGJOTbnN0wIjPw==} - engines: {node: '>= 20'} - - '@octokit/request@10.0.11': - resolution: {integrity: sha512-+s7HUxjfFqOMS9VlIwDffq0MikjSAK0gSpG73W+meAvVAvX4MBrHYTK5Bj3Uot55qFT4gzUtfzE4mGWY4Br8/Q==} - engines: {node: '>= 20'} - - '@octokit/rest@22.0.1': - resolution: {integrity: sha512-Jzbhzl3CEexhnivb1iQ0KJ7s5vvjMWcmRtq5aUsKmKDrRW6z3r84ngmiFKFvpZjpiU/9/S6ITPFRpn5s/3uQJw==} + '@octokit/request@10.0.13': + resolution: {integrity: sha512-v2269YxL9Yf+x3d+gRI63FP0vFQEiWgLyBzxe/Y+0yFDg2B/Tzf5dhh9VNfccVAQnfcfwQWyk/y6Bn7rUXXs7A==} engines: {node: '>= 20'} '@octokit/types@16.0.0': resolution: {integrity: sha512-sKq+9r1Mm4efXW1FCk7hFSeJo4QKreL/tTbR0rz/qx/r1Oa2VV83LTA/H/MuCOX7uCIJmQVRKBcbmWoySjAnSg==} - '@oxc-project/types@0.139.0': - resolution: {integrity: sha512-r9gHphtCs+1M7J0pw6Sn/hh/Wpa/iQrOOkrNAlVLF/gHq+/CJmHIWKKUUhdWjcD6CIa8idarspCsASiXCXvFUw==} + '@octokit/types@17.0.0': + resolution: {integrity: sha512-ByP1v7YL5SMveFPP7+sj0/ZuWCOOg/Chs4NafOMpq6WNIM/hdGY0S7C0TCGDBWu1aGmOxmUIhMx3cO+IdwYZ1Q==} + + '@oxc-project/types@0.142.0': + resolution: {integrity: sha512-7W+2q5AKQVU36fkaryontrHn3YDt1RyUYXatw9i5H8ocYe2sPKSFB6eS8WNPeRKiN1qAWWZUPm7gwFzJGrccqQ==} '@pnpm/catalogs.config@1100.0.3': resolution: {integrity: sha512-23fZ3h0g3lsBZcAxgwbUgYBQX8gq6ES8uyEQolUvgPIcXsCdoAFqU+Og/FEwjv0nIeTa7POazaM/FdI3OSAACQ==} @@ -917,97 +977,96 @@ packages: resolution: {integrity: sha512-ZpinzFJNeHEvNxm3lWvZ1jqZ78DTNoClPrNSvZH83JNEWmyDAdw2QDNmiYjpG5nIYarZjahEGKz+oQlgKrvnNg==} engines: {node: '>=22.13'} - '@rolldown/binding-android-arm64@1.1.5': - resolution: {integrity: sha512-lZg8fqIv2v7FF237bwMgzGZEJvGL79/s5knJ/i6FmsGF4XXlzccZ4jb+TrFIxtSSxFtIpdsgrPZeMk1I9AFcyQ==} + '@rolldown/binding-android-arm64@1.2.1': + resolution: {integrity: sha512-02hOeOSryYxVrOIphmLAsqnCJWxwlzFk+pEt/N/i6OgT3lShHO7xGCU5cpgchRDHboAEbSjzgGh+O/u1GswQmA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [android] - '@rolldown/binding-darwin-arm64@1.1.5': - resolution: {integrity: sha512-51Bnx9pNiMRKSUNtBfySkNJ9vMU9Hh3I1ozDd6gyPPYzaXCfnptUcEZxXGYFn+ul2dtcMUiqGR1Yai2K10uoTw==} + '@rolldown/binding-darwin-arm64@1.2.1': + resolution: {integrity: sha512-fMsTOnN0OjFm3CyppWPitKnc8UlliVARUULW6cfU6AIqjdtgmSFWSk9vecHzZduv/yMWIHDlRhM1e8Iff9uAfA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [darwin] - '@rolldown/binding-darwin-x64@1.1.5': - resolution: {integrity: sha512-Tm+gbfC0aHu1tBA/JvKQh32S0K6YgCHkiAF4/W6xX0K0RmNuc94VeK419dJoE65R5aRxmo+noZQSWrAMF6yb6g==} + '@rolldown/binding-darwin-x64@1.2.1': + resolution: {integrity: sha512-1wjKdz/XLGKHaTNHjQveQ/B23TKx4ItAqm1JbyVuvNPc4Ze0Fb48s49TAd/2zcplPl8okE/UbTgmlVfwT7eFeQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [darwin] - '@rolldown/binding-freebsd-x64@1.1.5': - resolution: {integrity: sha512-JMzDKCCXq93YccG5gz3hvOs1oXRKAf0XYpfOS88e+wZrC8Iugj6j68867vrYZkvpDDpKn/KoKORThmchMpF6TA==} + '@rolldown/binding-freebsd-x64@1.2.1': + resolution: {integrity: sha512-Fa0jHR07E7YBN4vOEsbVf2briYNsuOowfLJaXULZM0ldMlaCaj2LJgLMbMe4iacRyZmvR8efFhgR9wKuGclQUg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [freebsd] - '@rolldown/binding-linux-arm-gnueabihf@1.1.5': - resolution: {integrity: sha512-uML21j2K5TfPGutKxub+M+nLjZIrWjXQ5Grx4lCe/nimTj9B4L63zHpjXLl4y0L3mcm2htEQIb06oCG/szerNw==} + '@rolldown/binding-linux-arm-gnueabihf@1.2.1': + resolution: {integrity: sha512-pzkgu1SSHGgRRyRZ4fbmSgmajbVt+epaLP99NDjFft69v/ypfTi6swBMiVdh2EkQ0OSnHE1lZDM7DRGkyAzUpA==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm] os: [linux] - '@rolldown/binding-linux-arm64-gnu@1.1.5': - resolution: {integrity: sha512-navSiuTMogvnQoZoM/v+l3ZWo50/NTwSHSzheABx/RCnmUPaKwq9qSo4Br2OYRs21+Fz8uFqITZM3H4opOB0/Q==} + '@rolldown/binding-linux-arm64-gnu@1.2.1': + resolution: {integrity: sha512-QI5SEDY8cbiYWHx0VO4vIc3UlS6a32vXHjU8Qy/17adEmZIPuByJg13UEvo9c/UCiUkdcVWY83C+b+JrwnNyUg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-arm64-musl@1.1.5': - resolution: {integrity: sha512-lAryqH7IteztmCXQXk0etKj4wBQ7Gx5S6LjKhsgp9zb8I5bsuvU/2llH1hDQcjsFeqIsovMVN339/8pUDDBXxA==} + '@rolldown/binding-linux-arm64-musl@1.2.1': + resolution: {integrity: sha512-Sm41FyCeXqmYcERoYOCbGIL5hNfd8w9LQ7Y61Bev48HkcjaJqV/iiVOaiDxjVTRMS+QKrZmD8cfPt4uMVnvM+A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [linux] libc: [musl] - '@rolldown/binding-linux-ppc64-gnu@1.1.5': - resolution: {integrity: sha512-fsK/sNBnxzBlL4O1JNrZakVQxPspqpED5dLtNsZS9oOKmtSpdNIzxH2kkol5HYTWJN47sE20ztMJPxfZ89qGOg==} + '@rolldown/binding-linux-ppc64-gnu@1.2.1': + resolution: {integrity: sha512-2x+WhXTGl9yJYPbltW/BSEPTVz9OIWQyER4N+gJEDWkkn904eRcBzELqh/Hf7K0w/ubGbKNMv0ZC+94QK/IFEg==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [ppc64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-s390x-gnu@1.1.5': - resolution: {integrity: sha512-gLYb4BIadlfTOYT5gO503n8zQjXflgzpD0FcyKh0Mzx3rqCZKnHoJWV9xe1KXUJ5lx2JfcSHr/mhzS0PC/McAA==} + '@rolldown/binding-linux-s390x-gnu@1.2.1': + resolution: {integrity: sha512-eEjmQpuRQayHPWWnywaWHkFT3ToPbP3RYy42VVd/B9aBGDA+Ol25EIWHxKQST3IiWJjikCWUF7KtbfqwZrzVwQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [s390x] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-gnu@1.1.5': - resolution: {integrity: sha512-FjcpEKUyJygHgs1o50VYNvkt5+7Le/VEdYt0AkRpkL33MnyQfwr8l5mXwMmfmTbyMPr5vJLC+8/Gd9gXnwU1QQ==} + '@rolldown/binding-linux-x64-gnu@1.2.1': + resolution: {integrity: sha512-/Orga1fZYkLc/56jBICcHrKchl8Z2UKdDSr3LG9ToWO1lQ6a4Livk9Xz+9WN91zsz5QR3XQz2NNoSDEvP6qadw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [glibc] - '@rolldown/binding-linux-x64-musl@1.1.5': - resolution: {integrity: sha512-Me+PfPI2TMeOQk0gYWfLQZtTktrmzbr8cDboqX83XKc7UrgAi55gF+2dUkWdxd19n55Essp2yeca+O9N5rBxHg==} + '@rolldown/binding-linux-x64-musl@1.2.1': + resolution: {integrity: sha512-xxBJRL+0q0Kce7orznGWLuylHDY65vuARXZRpX+hPdv+DqK2c3NlCsVA98tlWzWNEE7yPqA/1NQ5nnCrj49Y5A==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [linux] libc: [musl] - '@rolldown/binding-openharmony-arm64@1.1.5': - resolution: {integrity: sha512-yc5WrLzXks6zCQfn9Oxr8pORKyl/pF+QjHmW/Qx3qu0oyrrNC+y2JLTU1E2rcWYAmzlnqngWXHQjy51VzW70Vw==} + '@rolldown/binding-openharmony-arm64@1.2.1': + resolution: {integrity: sha512-M6AdXIXw3s+/8XpKMzdGDEXGS1S7kwUsy+rcTIUIOx5Ge4nXKCtAFHFV9YKkXvGcC5WMoTjAteLzlsQROVI0Yw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [openharmony] - '@rolldown/binding-wasm32-wasi@1.1.5': - resolution: {integrity: sha512-VbQGPX2b4r48TAMIM2cjgluIM1HYutm4pcTEJsle7iEP7sB1dFqtPLBVbdLAZCxy1txCcPxf4QFf4v8uvltPqA==} - engines: {node: ^20.19.0 || >=22.12.0} - cpu: [wasm32] + '@rolldown/binding-wasm32-wasi@1.2.1': + resolution: {integrity: sha512-/TX0SoRGojHzSAHpfVBbavRVSazg5U3h3Y3VXfcc0cdugq6kxdqw8LPGFiPr+/7gE/60zRcsOY2Vi9b9eT0jww==} + engines: {node: ^20.19.0 || ^22.13.0 || >=23.5.0} - '@rolldown/binding-win32-arm64-msvc@1.1.5': - resolution: {integrity: sha512-gHv82k63z4qpV5+Q1y/12KrK0ltWBukVDI8nZcbT7Tt/ZlOIVwppazneq0F93oDxTo3IgAMEDIoQh3E2n6mVsw==} + '@rolldown/binding-win32-arm64-msvc@1.2.1': + resolution: {integrity: sha512-EvRrivJieyHG+AO9lleZWgq+g0+S7oV2C51yuqlcyU/R9net+sI4Pj0F+lUoP2bEr6TWX3SqFaaS0SzfLxSzkw==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [arm64] os: [win32] - '@rolldown/binding-win32-x64-msvc@1.1.5': - resolution: {integrity: sha512-tTZuDBPw85tEN5PQi1pnEBzDy0Z49HtScLAbD5t6hyeU92A95pRWaSMw1GZZi/RwgSgUIl0xrSlXIT/9QzvYSA==} + '@rolldown/binding-win32-x64-msvc@1.2.1': + resolution: {integrity: sha512-Z4eCmn5QJ/5+azF9knpLWKfVd9aidn0mAe9TpJgvBLId9Ax3t0+JVxBmT25Bv7NBbVW1TZyKjQjQReouMeH5UQ==} engines: {node: ^20.19.0 || >=22.12.0} cpu: [x64] os: [win32] @@ -1015,8 +1074,8 @@ packages: '@rolldown/pluginutils@1.0.1': resolution: {integrity: sha512-2j9bGt5Jh8hj+vPtgzPtl72j0yRxHAyumoo6TNfAjsLB04UtpSvPbPcDcBMxz7n+9CYB0c1GxQFxYRg2jimqGw==} - '@rsbuild/core@2.1.8': - resolution: {integrity: sha512-Y70LMcCZspVoQ7Oip1W2Agu5wVhWZ2x3cYl4s9GLQG4VYphBud53DY/jkrqkyQF8ASYZDDDrW2KWNFj0kNLLuA==} + '@rsbuild/core@2.1.9': + resolution: {integrity: sha512-yqf1hFZ3wbMYI431LqsxLH3r0VZkfyarVKTf7kMeIiGe0YLwsrgsfp+sKpIyVkQkq60J0qyp6l/CoqqsQZqEwQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: @@ -1025,76 +1084,76 @@ packages: core-js: optional: true - '@rspack/binding-darwin-arm64@2.1.5': - resolution: {integrity: sha512-XLAN6YSU36qkciJtV9DY9z57pdHOjKy/f1HyoqpZenRg8p46jnXPziV45lfrTZpG+FF6g/jtTUc4dKbeyoWqPw==} + '@rspack/binding-darwin-arm64@2.1.7': + resolution: {integrity: sha512-DwxzrXRctueP/3Pyom9JHcIsRShuEAlHb+mrE5OPT+4cdHI1UnJpbzEvEDLTo4IKJhDb3vjXdHLtjqtL0SYbeA==} cpu: [arm64] os: [darwin] - '@rspack/binding-darwin-x64@2.1.5': - resolution: {integrity: sha512-KLW7PV86jyCOyqJSqrkZdvYUWYCFX/Q4LsGmVc8tyDA8jBYLMHJDewC/lNf9ot3rU2SoLDZKhDUh7q7dX0FRmg==} + '@rspack/binding-darwin-x64@2.1.7': + resolution: {integrity: sha512-kPbrYvR/XUHfAMgRVq3QnC71DW/qjwsPj+3hEUuEnRmlploPNy9u8Szf1IHKSVUSrVZBTgDyMoZQdxYLfhResw==} cpu: [x64] os: [darwin] - '@rspack/binding-linux-arm64-gnu@2.1.5': - resolution: {integrity: sha512-KOooAC8L+Ljx5sY7ZuMeaXCQ310FNWaPWXcYQJpFPApF3qyLeSfuOftUGwxcxeo5U0mS5OY3zxp7/5CaHWKYjg==} + '@rspack/binding-linux-arm64-gnu@2.1.7': + resolution: {integrity: sha512-VFB+YXM3kZ6IIuLV64H3vgnwqvQIIaqfR/aeGwuxYvwcZsrgblSBmXMeDULdgDjqP8Yr0VaFMBBiD9OtG5KdFw==} cpu: [arm64] os: [linux] libc: [glibc] - '@rspack/binding-linux-arm64-musl@2.1.5': - resolution: {integrity: sha512-0GFc07gT71+uRbHtejDecBfSL0fs7dQAwCtXYieXboACauL7UvS3Hwr6v8A91aGtAcvLotnCaIa3CWWYwtYlYQ==} + '@rspack/binding-linux-arm64-musl@2.1.7': + resolution: {integrity: sha512-Mzbxyg0aJ+ITj526Iuz0enEDYY6WxhFIwEKXqwjQh+Vpd5v/+aPzPo83sSQVX/3puBV1sbmviTURbh6N9e1fvA==} cpu: [arm64] os: [linux] libc: [musl] - '@rspack/binding-linux-riscv64-gnu@2.1.5': - resolution: {integrity: sha512-isQQDp3fBzPSZpLVFzPqVXIVA4I9b9mKs58TfUgOzDP/1g1582YSV3iFopgFogvEliihXDuuXvM6aAkP+w8Z+Q==} + '@rspack/binding-linux-riscv64-gnu@2.1.7': + resolution: {integrity: sha512-mpazwgT/Pse1720mvEJsoXfPkJ+enj0xUqpbe/wL6aedwjGT+9jJNB8HTJXE4XBX0UO7umGqcJMeKA6YsD2CDA==} cpu: [riscv64] os: [linux] libc: [glibc] - '@rspack/binding-linux-riscv64-musl@2.1.5': - resolution: {integrity: sha512-/SP6VknY4kH60BYplI2FDNAJCo4U4DUszLxhKsgVlgA5ImgHC8Ew2AsKgidk7ceiYV9OcKzYuWYe9tVpysBYVA==} + '@rspack/binding-linux-riscv64-musl@2.1.7': + resolution: {integrity: sha512-oU/l3soPRsDEWn7KZic+npyTMM2N1kRdHjoJ+L5IUBXs8bjdTXPLoyTbTdIOza5ZSoT4+UeEiEryj4BB0tQE5w==} cpu: [riscv64] os: [linux] libc: [musl] - '@rspack/binding-linux-x64-gnu@2.1.5': - resolution: {integrity: sha512-/GJmS+buA4pilT10gs5mfAhAZxSHXpDD8veZ3QpYvNUuoU9gvempAq9TgjbyNN/vc5pf76GdXPXKFMiehudYSA==} + '@rspack/binding-linux-x64-gnu@2.1.7': + resolution: {integrity: sha512-7Gtpl3h3jtnOpk1mYQE8mRndXAO2ibI8mnAbs7klevdKey+ZHneWMoMi2yOMQhhI/ifWEFxDzyGJ8bdxo0XTsA==} cpu: [x64] os: [linux] libc: [glibc] - '@rspack/binding-linux-x64-musl@2.1.5': - resolution: {integrity: sha512-iwS3t75nZ2TnUjB05KtvpvjpdkOy/nLxbaOnwjbdnNZZXpUaMadLbllGAWayHPGCMsL2yKBEhVEESZpR7tK3SA==} + '@rspack/binding-linux-x64-musl@2.1.7': + resolution: {integrity: sha512-w+whI2Uy+DYkGN+MVkzMFWweL7B/s1gMqX+nvTE1vhOy3hGV0VyA9H6lqWjSD3I+eGkpYhN9Pr244cYnLpZOUQ==} cpu: [x64] os: [linux] libc: [musl] - '@rspack/binding-wasm32-wasi@2.1.5': - resolution: {integrity: sha512-jOhW69t1H/jcRaSMB5U8jVzWP18j0YQIlo0nT8W+KvNVScJeyOze4FFc+5RIS7VmuT8/jid7hUyydZOfm6UgqA==} + '@rspack/binding-wasm32-wasi@2.1.7': + resolution: {integrity: sha512-cDVgvzRdTgxaeM+a5Lx0+7/VAvunvwO0wNtQ3ATQGOtFCW5b7cUzhNPcytH5ZSJTnFWuxinlGwtar5yfcnkdZQ==} cpu: [wasm32] - '@rspack/binding-win32-arm64-msvc@2.1.5': - resolution: {integrity: sha512-OLfMXmtFBcrWr9BRGKXJYrWgYR0JSaoAWr3EVFDjKGi/YR5aUwQSGc3AJPBph9g0YsdSqRuUhtQGtCk84DeeEA==} + '@rspack/binding-win32-arm64-msvc@2.1.7': + resolution: {integrity: sha512-JDd85+iYwUvaG9Zrt5X7oIxRZRiTW+76FwkRakoXNy/5VAWQW32Jq4ESjSVz6l6mh0KnZxPq3TLMugacCPnLjw==} cpu: [arm64] os: [win32] - '@rspack/binding-win32-ia32-msvc@2.1.5': - resolution: {integrity: sha512-p4OSmnj21+AY8vpIADveLEBXfXJRXonOTYim2VLVWV4TbXfhYNMLiX3qESHCdNnn6lVJM0q6zxxzEUfTyAKydw==} + '@rspack/binding-win32-ia32-msvc@2.1.7': + resolution: {integrity: sha512-y9PKEs6v9BLHV0i/4eaIRtxpATvSgcf/VYQkMT8mp+qWlPjUwDQNwU2ueWVGpff6INO+YAa7zobzziNFRgO7Lg==} cpu: [ia32] os: [win32] - '@rspack/binding-win32-x64-msvc@2.1.5': - resolution: {integrity: sha512-YCkLLDGMkHsw5CpcsFtFhzCu+JZEsNrcH9O1GpWMkyxR2ku2Fq1i2wEHYSm26HyW+PJ3+Fv347MPWMFZIz9q2g==} + '@rspack/binding-win32-x64-msvc@2.1.7': + resolution: {integrity: sha512-BjkOzcPY/K8YlRRvyywz0mDWk89MMxqAMhDmgBXCWorh1IjgKTsWDJ2lCGIM8M9CZXUG3khom8AfrOGwRT2I+g==} cpu: [x64] os: [win32] - '@rspack/binding@2.1.5': - resolution: {integrity: sha512-lF3ZLeeyV0AN3BL0m2jAmNZD5pP9IHsQ8gUXN7mo0g4xsW6nf6hsN7o9CnEHECz5uUZb+EoWsuWzAAmnA9Ip8Q==} + '@rspack/binding@2.1.7': + resolution: {integrity: sha512-wYqi8TY30hsIzLry503o/Uqu7y9Ec7pEwN5TVmB7Pb3xHrR2eHsQPzdpF/GkCLUjQSgD2Es3CDVV1mr6zO/78g==} - '@rspack/core@2.1.5': - resolution: {integrity: sha512-YHjL7xVXycAWsjJtF39cRZ2u+ddiNFxY+FcNgEBe6Y8OaLeUfMfjba3gK+B1Oj32UcKD6BmXGsPfu9p+OII/Yw==} + '@rspack/core@2.1.7': + resolution: {integrity: sha512-d5Ju3zXzGgbqQWvlMlLUtek2eFPIzsFe2QOF4nwTAknxo/4OZ64t+kPT9nM6fr3aZX93VK0R3v02/kZYIRrV9Q==} engines: {node: ^20.19.0 || >=22.12.0} peerDependencies: '@module-federation/runtime-tools': ^0.24.1 || ^2.0.0 @@ -1119,12 +1178,6 @@ packages: '@types/node': ^26.1.0 typescript: ^7.0.0 - '@savvy-web/github-action-effects@3.1.0': - resolution: {integrity: sha512-lxeq7mMyFLUlXjV+SgxWS0nV+CaSbSP+FQ44Tabu0z8ZiiahKQMlCco9DXPHXQZDCX3ovLcLe65RBRWL6OolEw==} - peerDependencies: - '@effect/platform-node': 4.0.0-beta.101 - effect: 4.0.0-beta.101 - '@savvy-web/mcp@2.0.15': resolution: {integrity: sha512-eg8BFdKeHDZP+1qlkr4/2oawMA/VRLtpY4KmKGv/msTg6B+Q8CVZ88sPER+BCpoEtnv/FOHi5T8cfA1qlV8a+g==} hasBin: true @@ -1197,33 +1250,33 @@ packages: peerDependencies: typescript: '>=5.7.2' - '@turbo/darwin-64@2.10.7': - resolution: {integrity: sha512-/c9cSBRermWDv85oufLhoH6XRLOVbvzJLRd+WLyfJCP+i0HFLQj4PVNDrHcY17/ve5l8X0Oua4bJBqJUgJPnZA==} + '@turbo/darwin-64@2.10.8': + resolution: {integrity: sha512-po+7rfJfUnFXjWlcoN2RwhErgzCdRtBc1T26vYPcywHlggmCQiQe1uWaE4j+BibI2uY9/2pDoFzMN0rmSaPFOw==} cpu: [x64] os: [darwin] - '@turbo/darwin-arm64@2.10.7': - resolution: {integrity: sha512-8lpCCGWZBl9PIF8w8f2iEWrLMbHBWIfJeV6l2UEGqysD6HRIM4ySj/8R7HGEzbECJ4r/gnJcHmxEoG8yjFe64A==} + '@turbo/darwin-arm64@2.10.8': + resolution: {integrity: sha512-+zB2btDJ00lnPRuqOvpVvgl4x34k/djZQGZTTCfjn7JgNCl8QFY5Njo5+dqkY1g/+9gbbsnAvWm9CmJg9ebcXA==} cpu: [arm64] os: [darwin] - '@turbo/linux-64@2.10.7': - resolution: {integrity: sha512-Midw9Ed00yw9rqkWN82fY3LmLNFQ6yiL1GXB56DJKUEjWaEd27zh7ohCxzzrjfjQVrEeVWd3UPytTAV16XDQlA==} + '@turbo/linux-64@2.10.8': + resolution: {integrity: sha512-K1dxqiVisyN7cViVsfQLs6xscQbYuI8aO2nbUhFURDACgEDfZRdP/b4CCxeosBJpcMfhYyiibWqJorCnvz9kKg==} cpu: [x64] - os: [linux] + os: [android, linux] - '@turbo/linux-arm64@2.10.7': - resolution: {integrity: sha512-UVEy+MW/xn4BcsiV3v3uv0/oObyaQgVtRT+Jj4WE53rNH05VEYEc1Z13q3zV6276wCZR4Yxc4hiTTcjw7PjSpg==} + '@turbo/linux-arm64@2.10.8': + resolution: {integrity: sha512-Gi77ibVnrE1fEmvr+/wBD/yvRqhwp/RQuCp2+//lv1U1wNFFyVg0V7Wj8FG9FXPFAw5QHReo8rxc9+wBSDZjzA==} cpu: [arm64] - os: [linux] + os: [android, linux] - '@turbo/windows-64@2.10.7': - resolution: {integrity: sha512-l2nH9KGLV46SWjcXvyc2+xo5gdf5J0NVADknQk9OCJhzJBpiNl/byd26yIfwZBjLupdqT6UOdPhPxcpUPxRykQ==} + '@turbo/windows-64@2.10.8': + resolution: {integrity: sha512-znnLO1haJPYTHoKMKwlAvlkjRiYbbhBzME6wIGaMd+fwir23U6jVd1ecaTWWi1fbnRVqxMfgDBKseQ/hLKb83g==} cpu: [x64] os: [win32] - '@turbo/windows-arm64@2.10.7': - resolution: {integrity: sha512-qjE1apG6RThuX49vUJd5ks2dV2ndXC2qktDChQonFMvUzrMrEnZMQzO+IgxBiYq1j+NbXQcRwj84nGnk1TBw1g==} + '@turbo/windows-arm64@2.10.8': + resolution: {integrity: sha512-VN30vh3b3Czh2WzYHNTfF1FE0YMZ5aHsLO8dBMGHJewA6792wX6iJR8ZxlzFW6WdOu0gEAKIvlYhfyT81Wkm4Q==} cpu: [arm64] os: [win32] @@ -1254,8 +1307,8 @@ packages: '@types/ms@2.1.0': resolution: {integrity: sha512-GsCCIZDE/p3i96vtEqx+7dBUGXrc7zeSK3wwPHIaRThS+9OhWIXRqzs4d6k1SVU8g91DrNRWxWUGhp5KXQb2VA==} - '@types/node@26.1.1': - resolution: {integrity: sha512-nxAkRSVkN1Y0JC1W8ky/fTfkGsMmcrRsbx+3XoZE+rMOX71kLYTV7fLXpqud1GpbpP5TuffXFqfX7fH2GgZREw==} + '@types/node@26.1.2': + resolution: {integrity: sha512-Vu4a5UFA9rIIFJ7rB/Vaafh9lrCQszopTCx6KjFboXTGQbPNasehVR5TEiithSDGyd1DEiUByggTZsg8jukeIg==} '@types/unist@2.0.11': resolution: {integrity: sha512-CmBKiL6NNo/OqgmMn95Fk9Whlp2mtvIv+KNpQKN2F4SjvrEesubTRWGYSg+BnWZOnlCaSTU1sMpsBOzgbYhnsA==} @@ -1386,32 +1439,32 @@ packages: cpu: [x64] os: [win32] - '@typespec/ts-http-runtime@0.3.7': - resolution: {integrity: sha512-JVUD8X2tfDMWjcjLs4yVxxVrS8yR5vnh386GAXT9Qj79nBxxXSaHFQZg5FweLmT8HlPQ3kii6noUB+Z9RN7DvQ==} + '@typespec/ts-http-runtime@0.3.8': + resolution: {integrity: sha512-bLMpVcWZNzq6lYOybwFwOAR1IXKcHnhUNqYeHjl1bET/qE3jFPFH+p8Wrh3rU4xwdnifPxmKNESBYnvnmc75aA==} engines: {node: '>=22.0.0'} - '@vitest-agent/cli@2.0.10': - resolution: {integrity: sha512-okev8j+Dg9Lrk4WyfHcqQKEsE1nO+7LgpV6ynnslGHm1vQW2cb/x1+X2p14d3KbpMijGumgOMETLUQGmxdfgoA==} + '@vitest-agent/cli@2.0.11': + resolution: {integrity: sha512-IRf8YFglj8EV24/h8KMNSex/Gs95PCC81VbuI+XRJ1pXj0M5V5bi4iAo3kSiDKHxdVZjIqOY+G4uASZ560jcUw==} engines: {node: '>=24.11.0'} hasBin: true - '@vitest-agent/mcp@2.0.10': - resolution: {integrity: sha512-nhn7E/d0fvoMl13CQUdFQ+Ukpy2zqzbNdFSYqeQxwwwD5mAUYBjblE8tcTYRcn+dM8qBY2SI/E6raqnNEGCWIA==} + '@vitest-agent/mcp@2.0.11': + resolution: {integrity: sha512-W3OgF1rdpfWHSuJ/g12NIfq9iZDUumaRP26s7nm/V1u7uBzLjTqPmCe9Lw5ThX99aYQAjH5RG7xjcDWUkw5kAg==} engines: {node: '>=24.11.0'} hasBin: true peerDependencies: vitest: ^4.1.0 - '@vitest-agent/plugin@2.0.10': - resolution: {integrity: sha512-YERIUGcpeMT8XabRaZrsmqv6TpYeYMEAarPpYAwHuF949UVFc0+kRfDtjU4aB7ygO36v0gdot26eHWiO5RumEw==} + '@vitest-agent/plugin@2.0.11': + resolution: {integrity: sha512-47V9wWkRmc3GFXOj1SFCKVlqLRrMbeOu72SQ6+gys7HX75pjmSsBTAsRRc4+tK94OtVQ4U7WYiFRylNqPW/RNQ==} engines: {node: '>=24.11.0'} peerDependencies: '@vitest/coverage-istanbul': ^4.1.0 '@vitest/coverage-v8': ^4.1.0 vitest: ^4.1.0 - '@vitest-agent/reporter@2.0.10': - resolution: {integrity: sha512-JFarUtTeAKrZFBhwt9sbJVSb/ExMTEalOyfJSHp7FEg7tfJQK4pPOQhkqnixAGU1p1lW7UoGlMVNxHcXRfIMfw==} + '@vitest-agent/reporter@2.0.11': + resolution: {integrity: sha512-Olm4n9bYUUPQ4X0xDFW3sAxlOLLi3WZ2G1hARV/LFcO0ZnA77T/fYdJBmqGFxlheKzHf1gJzZbA/pVVumdEbrQ==} engines: {node: '>=24.11.0'} peerDependencies: '@vitest/coverage-istanbul': ^4.1.0 @@ -1423,40 +1476,40 @@ packages: '@vitest/coverage-v8': optional: true - '@vitest-agent/sdk@2.0.10': - resolution: {integrity: sha512-PAX+ucJo9KyGMotkxZlERzaTr/tJDRwUetmqhtNUIRvy/Ey89/F8D8maHIMQE/A+88x6zky7n1ywGXzco3CB2A==} + '@vitest-agent/sdk@2.0.11': + resolution: {integrity: sha512-8d3HugvnA5vBjdKbLAdqUiFUyS2hfektwZfVi/u4EVTg9avZH6oZYFNOE+YLQs0ky97bL54ZR6os3Hi4+SsTFg==} engines: {node: '>=24.11.0'} - '@vitest-agent/sidecar-darwin-arm64@2.0.2': - resolution: {integrity: sha512-xeFRi7kQl1HXddLjYzIUbpmR2TxQ1sELpF/LhQZF++Q2oHLoYqoRcCC2S46b6LpTYle3eKAQzOpi1K53WW2O7g==} + '@vitest-agent/sidecar-darwin-arm64@2.0.3': + resolution: {integrity: sha512-GiyxIGtD4FrCWh2TT2P0StQctyAly+ZKRtWz/7S0kgsZ7Z2QeUk+Uu+Weog3OHU0CuFMcuSgDepEbJ7ELkSKQQ==} engines: {node: '>=24.11.0'} cpu: [arm64] os: [darwin] - '@vitest-agent/sidecar-linux-arm64@2.0.2': - resolution: {integrity: sha512-vqALFMiSh5DHd9ScCLNYEE/eGMgOWpuktinXfVjIIWYmysY2ZVJUtYRaLzz6NAD43NqK7mIS5os+RgW2ok3wDQ==} + '@vitest-agent/sidecar-linux-arm64@2.0.3': + resolution: {integrity: sha512-4cWWfZmteNO7DTw39c/zAKD+zFTb3aWpcVrrAEXEQDz76A95K+qQYBFTk37zsXBpcN5LFqU0KPWIvEiow4UZFQ==} engines: {node: '>=24.11.0'} cpu: [arm64] os: [linux] - '@vitest-agent/sidecar-linux-x64@2.0.2': - resolution: {integrity: sha512-VwgCJXDmsz7bX7+msK3AaAIF0hJ7AXUuD2xxTq1P/PRvCUee+OnOktgPeVUeMf97ZxHnQSpZ591s1jw4EVnTQw==} + '@vitest-agent/sidecar-linux-x64@2.0.3': + resolution: {integrity: sha512-/54lc7W1BzcEFHfE6dF7kBaYunbamaGgNxZ+6nMsfk+l6SA7AA6T4tz6EaF2AvMG9Nw7j6p79UbjhWVxGE6LXQ==} engines: {node: '>=24.11.0'} cpu: [x64] os: [linux] - '@vitest-agent/sidecar-win32-x64@2.0.2': - resolution: {integrity: sha512-yv0MB4nQ5pCH4iKylRRDU7rHfRQSOwb7iGdkgTkkRnvFelz9cgvVNascxitrsQWK0MRYZNatR7+HO+5cg9rpgg==} + '@vitest-agent/sidecar-win32-x64@2.0.3': + resolution: {integrity: sha512-TfCZWjX+hELXydbiLmH/KomQhm+pcUyCobYqKipVi1w4tzqhERSZWu6+uKMV0PFcw6MFx49Jm4DWFbyY6h+J+A==} engines: {node: '>=24.11.0'} cpu: [x64] os: [win32] - '@vitest-agent/sidecar@2.0.2': - resolution: {integrity: sha512-uwWeXTQV9qEBmOE1Zf5cOF3xs2TqUVQtRmaXmk1fRw/GRBsOcZoJ9AHk6ExmEr1XTeieFxCmFcGZsFDYos8dzA==} + '@vitest-agent/sidecar@2.0.3': + resolution: {integrity: sha512-bdo/P4e69QGB3/dyRwLuFDsdDFKr5TALCZMm7Yb+OGV3Y6C36OTCpebL7sG1uCyRoeHN0DXfNJIfWAqlDxCCGQ==} engines: {node: '>=24.11.0'} - '@vitest-agent/ui@2.0.10': - resolution: {integrity: sha512-gAQBdF3B0k+d/1ooRUg+TVS2C+W09sMSJkAaVz1AOthQHMmjgg01doXjrphOLNk4YEOBpYby1jH3NvjmeKEz8A==} + '@vitest-agent/ui@2.0.11': + resolution: {integrity: sha512-B/FPhN/ECgfhTXwfNbdXRskq0HzRZfI80oznJy57mct5TvOuSb2FBxXAHgQlxuXlVCUNkTIKJowP20VJ16HRaA==} engines: {node: '>=24.11.0'} peerDependencies: ink: ^7.1.0 @@ -1514,8 +1567,8 @@ packages: peerDependencies: acorn: '>=8.9.0' - acorn@8.17.0: - resolution: {integrity: sha512-xRQbDb9BnwDafYNn6Vwl839DYVjqXYb1XVGtWAZ1kcDc6iwAL4hg3B1dZlRiuENFeO2H53gFG3in621AdERVAg==} + acorn@8.18.0: + resolution: {integrity: sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==} engines: {node: '>=0.4.0'} hasBin: true @@ -1593,8 +1646,8 @@ packages: resolution: {integrity: sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==} engines: {node: 18 || 20 || >=22} - baseline-browser-mapping@2.11.4: - resolution: {integrity: sha512-s4+sLr9mZ/CyqeRritFeYV/Zx73OAtmaHn6kkBS1XRoJn1hrg3xIDUcpicAEX68tkcIN0iBCgti31C8zxtkhsQ==} + baseline-browser-mapping@2.11.10: + resolution: {integrity: sha512-35JEvJ5/KKlbCHjMCsONI2w6HE88STjVdHk+C7d8LtcFxUjZR1KeLP9izofn2qs0KUxX5r4z73bwH/rd+JHacw==} engines: {node: '>=6.0.0'} hasBin: true @@ -1605,8 +1658,8 @@ packages: resolution: {integrity: sha512-2cGmJupaNgg+QUwVLAucDuWuoMZ6EX9iHDRswZ5lsNYEmwPaRknMPCLZz07yTzVq/83p4o/wzbDZbBrTvGGTIw==} engines: {node: '>=18'} - brace-expansion@5.0.8: - resolution: {integrity: sha512-JZyDyq3D4AUifKTPOB7DELf6XsB3WdPuNxCtob1vFXPsSXhdAiHBWJ/tJ8HAc9aH84BK+5JFZLNkJKx3G9kzQg==} + brace-expansion@5.0.9: + resolution: {integrity: sha512-ScQ4IuvIEF1TMlP7Zt+vjJ//9zlPb2SDcxWxM3bk8s6t6GGdJ7KO1dCcTidOPJKePW30LE/2cT7wCyPho9/Wxg==} engines: {node: 20 || >=22} braces@3.0.3: @@ -1729,8 +1782,8 @@ packages: resolution: {integrity: sha512-n4Kr1HFMTf3iMbES0TMxKIcYtUUv4rKqyQQp2JwfOEfFCOfGT3Tq4mCyJ8S9/YPyWhydjfKrrvnyl+gCjA+mJQ==} engines: {node: '>=22'} - conventional-commits-parser@7.1.1: - resolution: {integrity: sha512-B0f42jI++V5Vb7qK+DDw68r0dNxz5hk+RdKUkx2NOi39emc9hsHa3u2M3doF7QQhRFzCrAj7uM90teG+RBTaYQ==} + conventional-commits-parser@7.1.2: + resolution: {integrity: sha512-O+x4N2yH+ijvqWlIyTHsXTAP+algNWgGbjY2duCe8w2vUMvUB95cLRslCPfTMQyLAKlet3bhZTdu6ozn4M+QJQ==} engines: {node: '>=22'} hasBin: true @@ -1822,8 +1875,8 @@ packages: effect@4.0.0-beta.101: resolution: {integrity: sha512-HjowumlIo+orthn4jMlEJPuzIYPBV+uq/XiciHWhiedLsXQpWHdNJHO5d59BVDP5s1LPuvERcktwFqRXnJqnhA==} - electron-to-chromium@1.5.396: - resolution: {integrity: sha512-yHiw2Y3C3H9U6TMbOfoWK/BPreiOPXRfTWPBwQBoZG6/8TB6eOPnsy5oaRYuatR7Fw2SJ4kKforgufeo7fq0EQ==} + electron-to-chromium@1.5.399: + resolution: {integrity: sha512-lEcqhErbHjXRvd41rnWLpzbyU/IXfIYo7QwaFWmxGeLiLyY2TBCdHnWY88vB+p3ubnihRypDm66panXl7TylLA==} emoji-regex@10.6.0: resolution: {integrity: sha512-toUI84YS5YmxW219erniWD0CIVOo46xGKColeNQRgOzDorgBi1v4D71/OFzgD9GO2UGKIv1C3Sp8DAn0+j5w7A==} @@ -1941,8 +1994,8 @@ packages: fast-string-width@3.0.2: resolution: {integrity: sha512-gX8LrtNEI5hq8DVUfRQMbr5lpaS4nMIWV+7XEbXk2b8kiQIizgnlr12B4dA3ZEx3308ze0O4Q1R+cHts8kyUJg==} - fast-uri@3.1.4: - resolution: {integrity: sha512-8JnbkQ4juDyvYs4mgFGQqg4yCYtFDtUtmp2QIQq11ZZe5CFQ5wcqm1rqDgAh/QdMySuBnPzMUiJUNZG5N/AiQw==} + fast-uri@3.1.5: + resolution: {integrity: sha512-gHwA1O9LDIcKunMKhObS/HimwtehO1nPUECKAu5TpKgaO19fcWEl4bliWe1jWxVFvIXztJjjQ4L8XQ1EU9f7Jw==} fast-wrap-ansi@0.2.2: resolution: {integrity: sha512-7F2Fl+TjRSenLqlU3UjSH0iyqopqoZIu7eZVpEirP2g1GtWa2G/ecEmBdgz31+Mxr+ELclgg6sokpSFIQiZ02Q==} @@ -2033,8 +2086,8 @@ packages: resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} engines: {node: '>=10'} - globby@16.2.1: - resolution: {integrity: sha512-JmsqJalahxxgW8V2ecSQ2G7UjPlI9cpKdrkG9KoNiXhd/YslXOTEB0cViENWUznuovIuNT+FkMbraDGjr4FCUg==} + globby@16.2.2: + resolution: {integrity: sha512-NLvV9ubZ6NDsJaOpKPy3cQeJpKi9DcWiyCiFUpJPA0YihRqiE6RWaLUmgNNPr8MgPpLZjnBjSmou7uZBRJv9wA==} engines: {node: '>=20'} gopd@1.2.0: @@ -2053,8 +2106,8 @@ packages: resolution: {integrity: sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==} engines: {node: '>= 0.4'} - hono@4.12.32: - resolution: {integrity: sha512-XcuyW9qE2kJn07PkecMOBd5Vq/hMy7mmGw+idz1yblbg9N17ijJODrvPkn7/dwL3Kulj8LcRJ69DLOWf91dRUg==} + hono@4.12.33: + resolution: {integrity: sha512-+SwvkaiJtxsiPjhy9LivY/1m7UsNqCJetM1BrZl9A5DkQhlbHQDU730mMiDPWjnoCYOM8Chf3WrCJw27kNTPFQ==} engines: {node: '>=16.9.0'} html-escaper@2.0.2: @@ -2147,8 +2200,8 @@ packages: resolution: {integrity: sha512-ehuGcf94bQXhfagULNXrJdfnWO38v070jxSx/qE87Kjzmu2fU7ro5EFAb+OPituLqgfyuQaym5DlrNydW2sJ9A==} engines: {node: '>=12.22.0'} - ip-address@10.3.1: - resolution: {integrity: sha512-1e9d3kb97NHJTIJDZW9rKqW2h6+dFa50Dy0fpPSMQp2ADje5gvKsXmdiK6dwY5t76TaTt5+P5N1Y/LoToIxP6g==} + ip-address@10.4.0: + resolution: {integrity: sha512-oSK96Grm3aP6OrS263xVxbNDGVL7rzBtYdpGqlDG8iQdoenDoTs/nkki+DflYbAEE8Xl6o5YxhxlrKvI3nqKXQ==} engines: {node: '>= 12'} ipaddr.js@1.9.1: @@ -2235,8 +2288,8 @@ packages: jju@1.4.0: resolution: {integrity: sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==} - jose@6.2.4: - resolution: {integrity: sha512-N8acGzVsQy6M/fjFcxtysNc4Q379TcM5dM/qKkNtsHFji88yANnXTr7BLeP75iPnFwBfQzM/jg2BZ9+HZrHCZA==} + jose@6.2.7: + resolution: {integrity: sha512-hq1OB1bALKfydZNoViyg6hPVGV4i93ny9Op+n4zP5RSf7SCZEXa/TsG2O3IEr7+WlHRTPnpqDmHfMH6qXAD60w==} js-tokens@10.0.0: resolution: {integrity: sha512-lM/UBzQmfJRo9ABXbPWemivdCW8V2G8FHaHdypQaIy523snUjog0W71ayWXTjiR+ixeMyVHN2XcpnTd/liPg/Q==} @@ -2244,12 +2297,12 @@ packages: js-tokens@4.0.0: resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} - js-yaml@4.3.0: - resolution: {integrity: sha512-1td788aAnnZ5qs7V2QIRl1owjtYpbKt749Y3xauqQgwIIGF/xXWz1wMTEBx5O3LK3lXLVuqXPdPxj2BoFHaW9Q==} + js-yaml@4.3.1: + resolution: {integrity: sha512-CY6crGq313MX8GkwvB7tzgp99vjQxY1++5y10/BKN/GUfHqWaOGQMNZkBvqSzsZKWk/ijwHlWzzkLulsGHhjWQ==} hasBin: true - js-yaml@5.2.1: - resolution: {integrity: sha512-zfLtNfQqxVqq3uaTqSkh4x4hZw3KHobGUA0fJUj4wawW8bsQLTVqpHdXSIzidh7o+4lEW36tANuAGdaFx6Zgnw==} + js-yaml@5.2.2: + resolution: {integrity: sha512-dayzUzKkJ1MkuUtZglSebU43utNXH0OWQByK9rKOOuYIO8M5TV1y+n8ALMdG0rdzBnfNkOmZEqrURepb0ejqBw==} hasBin: true jsesc@3.1.0: @@ -2371,8 +2424,8 @@ packages: linkify-it@5.0.2: resolution: {integrity: sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==} - lint-staged@17.2.0: - resolution: {integrity: sha512-FchGnFe4i4B1C/a35SPU9bNGPEHSC1+1iV0plLjzBmKVe9klZrlRfSgK6Cw4VeHyqOXbJUXP0vON61uRftNQ0A==} + lint-staged@17.3.0: + resolution: {integrity: sha512-woZS3vNe3UKqBaLPvbLOtKRY4tLANpWQhom12MGWqC8Mh1lCOO+WgSwmX2amjJAqTY9BkXYW87fCUH5H9Ph6xw==} engines: {node: '>=22.22.1'} hasBin: true @@ -2392,8 +2445,8 @@ packages: magic-string@1.1.0: resolution: {integrity: sha512-kS3VHe0nEPST2saQV4Rbkchcd3UBRkVTQHo1D3h/ZTwFDhai/mfKkmtPAtD129EOI7K3HlHIsFOt0WrI2/oU9g==} - magicast@0.5.3: - resolution: {integrity: sha512-pVKE4UdSQ7DvHzivsCIFx2BJn1mHG6KsyrFcaxFx6tONdneEuThrDx0Cj3AMg58KyN4pzYT+LHOotxDQDjNvkw==} + magicast@0.5.4: + resolution: {integrity: sha512-llBEhWm1SacoRwgHUoQJYtwp4PBLF4faQi5TCpIGyGs9n4y5+juI0tDgyKIfpqxckRHaHzouUEph3THklWh03w==} make-dir@4.0.0: resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} @@ -2420,8 +2473,8 @@ packages: peerDependencies: markdownlint-cli2: '>=0.0.4' - markdownlint-cli2@0.23.1: - resolution: {integrity: sha512-20JPI5W+HpV1OA+pUM712wgvL4GzYNUvbmhLU8KlEYJ1kCDx4soZ4/Xqd+WkLrPTOKMAn8SfO3zYFrK8GLlwQg==} + markdownlint-cli2@0.23.2: + resolution: {integrity: sha512-eUhcnkSpzURo/o4htSqc7LPDszgOOTknhU4eY/sPHvMCLxnTCYscv1gw1/js/idmaZPisv9ECVEIORcllqjTUw==} engines: {node: '>=22'} hasBin: true @@ -2595,8 +2648,8 @@ packages: resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} engines: {node: '>=6'} - minimatch@10.2.5: - resolution: {integrity: sha512-MULkVLfKGYDFYejP07QOurDLLQpcjk7Fw+7jXS2R2czRQzR56yHRveU5NDJEOviH+hETZKSkIk5c+T23GjFUMg==} + minimatch@10.2.6: + resolution: {integrity: sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==} engines: {node: 18 || 20 || >=22} minipass-collect@2.0.1: @@ -2638,8 +2691,8 @@ packages: resolution: {integrity: sha512-4kmO/MdyUIkLIvTPr8VHLil4AtoKIoniWPIEk5+CDy0xnWC84azhSFmuJ7PxZdsYtiP5kEeQsORAVIeMgxT+Hw==} hasBin: true - msgpackr@2.0.4: - resolution: {integrity: sha512-o1C5KRmuRt+apqMr1HuGSqWStZoRBUpEsCsl15uM9VdAF1qHLtvMOU2En747EnTyEl6c4pzPewRMFF31s1CNbA==} + msgpackr@2.0.5: + resolution: {integrity: sha512-cef05H/dSYpLpqp3sj/qyZh5vhUYCalnaLO7j1yOmpsR0y/XwLVtK7r5gn+U/F7CTEfMowcGhlUQJDLcLf7jcA==} multipasta@0.2.8: resolution: {integrity: sha512-ZPWuMKyv0cSO29f7hozp+k6+crZbQijV8ipMvxNxRf2SwtYGTX1ZX89Kd20VV4H9Znonx+EQn+iy1wGQsJ+b+Q==} @@ -2751,8 +2804,8 @@ packages: resolution: {integrity: sha512-wQ0b/W4Fr01qtpHlqSqspcj3EhBvimsdh0KlHhH8HRZnMsEa0ea2fTULOXOS9ccQr3om+GcGRk4e+isrZWV8qQ==} engines: {node: '>=16.20.0'} - postcss@8.5.23: - resolution: {integrity: sha512-g50586zr4bZmwFiTlflMu8E0bDTb5I5gertgwAKmsdUlTQIhZtunzUlD1WSzwcVWPoAVpsrA6vlfCD7oXvRwgg==} + postcss@8.5.25: + resolution: {integrity: sha512-DTPx3RWSSnWyzLxQnlH0rJP+EW5ekl16ZU4/psbIhA0e53kJfdgaN5vKM+xP7yJtXVu+nfdVFmlgFDEKAe4Pyw==} engines: {node: ^10 || ^12 || >=14} prettier@3.9.6: @@ -2850,8 +2903,8 @@ packages: resolution: {integrity: sha512-g6QUff04oZpHs0eG5p83rFLhHeV00ug/Yf9nZM6fLeUrPguBTkTQOdpAWWspMh55TZfVQDPaN3NQJfbVRAxdIw==} engines: {iojs: '>=1.0.0', node: '>=0.10.0'} - rolldown@1.1.5: - resolution: {integrity: sha512-t9z29cJjXf/vxQ8dyhCSpt6H6aSwHTk8cT5I3iy6SMXuFpk5mB6PL6XfC8PCwrPTx93udwKUm9HRteAlTGBLiA==} + rolldown@1.2.1: + resolution: {integrity: sha512-4FKJhg8d3OiyQOA6Q1Q0hoFFpW9/OoX+VsHzpECsdsIZoOArrAK90gl59YK/Z+gnDel45bgJZK03ozH/9bCqEw==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true @@ -3027,26 +3080,22 @@ packages: tinybench@2.9.0: resolution: {integrity: sha512-0+DUvqWMValLmha6lr4kD8iAMK1HzV0/aKnCtWb9v9641TnP/MFb7Pc2bxoxQjTXAErryXVgUOfv2YqNllqGeg==} - tinyexec@1.2.4: - resolution: {integrity: sha512-SHf/r48b7vOrjve9PxJo3MN5v5yuyjHvdUcrQffT3WXMUfnGmHDVbC4k3sHJaJTgZCwpUplIaAo5ANtMyp3YHg==} + tinyexec@1.3.0: + resolution: {integrity: sha512-QKAl9m8gWWGHV8jZcPeym6j+XULi6tOf1mT83WYJ4Lk2ytW/uwAWkrP0uFsdoYMdueVJ0qs26wZ+23xeB4ibNQ==} engines: {node: '>=18'} tinyglobby@0.2.17: resolution: {integrity: sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==} engines: {node: '>=12.0.0'} - tinyrainbow@3.1.0: - resolution: {integrity: sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw==} + tinyrainbow@3.1.1: + resolution: {integrity: sha512-yau8yJdTt989Mm0Bd/236QnzEiPf2xLLTqUZRUJOo/3CB078LSwzei343DgtJVmfJKJE3TMINY1u42SQsP6mXw==} engines: {node: '>=14.0.0'} to-regex-range@5.0.1: resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} engines: {node: '>=8.0'} - toad-cache@3.7.4: - resolution: {integrity: sha512-m1TdR/rvT7kgGJZhspNtXdsdYk0fddFpJJFlG5s+UkPFo6lkLoZ3YLOaovPYjq1R75NP5JfeTlSHaOsE09peCg==} - engines: {node: '>=20'} - toidentifier@1.0.1: resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} engines: {node: '>=0.6'} @@ -3066,8 +3115,8 @@ packages: engines: {node: '>=18.0.0'} hasBin: true - turbo@2.10.7: - resolution: {integrity: sha512-GHx6WExIFSKNJ5qMlzDpXBXlu9ApxaMjqxAVrCNcW94xf/+uqgIz41SAuRUMbXva2ExNAaY/h8V0q90SWSzmRw==} + turbo@2.10.8: + resolution: {integrity: sha512-9+8YX5QOkGXzZxcIykTHgaooRHGMWO+jfdyRK0o+rN0U7hBIig2MrJ8r/aNzIPDPhdA73SGb0O+tIztaModTMg==} hasBin: true type-fest@5.8.0: @@ -3145,13 +3194,13 @@ packages: vfile@6.0.3: resolution: {integrity: sha512-KzIbH/9tXat2u30jf+smMwFCsno4wHVdNmzFyL+T/L3UGqqk6JKfVqOFOZEpZSHADH1k40ab6NUIXZq422ov3Q==} - vite@8.1.5: - resolution: {integrity: sha512-7ULLwsCdYx/nRyrpiEwvqb5TFHrMVZyBt+rg/OAXT7rgj/z+DtTDyKFeLAdDkubDVDKD8jOsndmy7m55XcfUsw==} + vite@8.2.0: + resolution: {integrity: sha512-pn+CFpM0lwDeKwmOq1ZaBK/9sjorZcgqxki6MbY/jPEVd9vichIlmlD4HmQ5wdP5EgqQCFRaACBxMC7uEGc6lQ==} engines: {node: ^20.19.0 || >=22.12.0} hasBin: true peerDependencies: '@types/node': ^20.19.0 || >=22.12.0 - '@vitejs/devtools': ^0.3.0 + '@vitejs/devtools': ^0.4.0 esbuild: ^0.27.0 || ^0.28.0 jiti: '>=1.21.0' less: ^4.0.0 @@ -3380,7 +3429,7 @@ snapshots: '@azure/core-tracing': 1.4.0 '@azure/core-util': 1.14.0(supports-color@7.2.0) '@azure/logger': 1.4.0(supports-color@7.2.0) - '@typespec/ts-http-runtime': 0.3.7(supports-color@7.2.0) + '@typespec/ts-http-runtime': 0.3.8(supports-color@7.2.0) tslib: 2.8.1 transitivePeerDependencies: - supports-color @@ -3392,7 +3441,7 @@ snapshots: '@azure/core-util@1.14.0(supports-color@7.2.0)': dependencies: '@azure/abort-controller': 2.2.0 - '@typespec/ts-http-runtime': 0.3.7(supports-color@7.2.0) + '@typespec/ts-http-runtime': 0.3.8(supports-color@7.2.0) tslib: 2.8.1 transitivePeerDependencies: - supports-color @@ -3404,7 +3453,7 @@ snapshots: '@azure/logger@1.4.0(supports-color@7.2.0)': dependencies: - '@typespec/ts-http-runtime': 0.3.7(supports-color@7.2.0) + '@typespec/ts-http-runtime': 0.3.8(supports-color@7.2.0) tslib: 2.8.1 transitivePeerDependencies: - supports-color @@ -3454,14 +3503,14 @@ snapshots: '@babel/core@7.29.7(supports-color@7.2.0)': dependencies: '@babel/code-frame': 7.29.7 - '@babel/generator': 7.29.7 + '@babel/generator': 7.29.8 '@babel/helper-compilation-targets': 7.29.7 '@babel/helper-module-transforms': 7.29.7(@babel/core@7.29.7(supports-color@7.2.0))(supports-color@7.2.0) '@babel/helpers': 7.29.7 - '@babel/parser': 7.29.7 + '@babel/parser': 7.29.8 '@babel/template': 7.29.7 - '@babel/traverse': 7.29.7(supports-color@7.2.0) - '@babel/types': 7.29.7 + '@babel/traverse': 7.29.8(supports-color@7.2.0) + '@babel/types': 7.29.8 '@jridgewell/remapping': 2.3.5 convert-source-map: 2.0.0 debug: 4.4.3(supports-color@7.2.0) @@ -3471,10 +3520,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@babel/generator@7.29.7': + '@babel/generator@7.29.8': dependencies: - '@babel/parser': 7.29.7 - '@babel/types': 7.29.7 + '@babel/parser': 7.29.8 + '@babel/types': 7.29.8 '@jridgewell/gen-mapping': 0.3.13 '@jridgewell/trace-mapping': 0.3.31 jsesc: 3.1.0 @@ -3491,8 +3540,8 @@ snapshots: '@babel/helper-module-imports@7.29.7(supports-color@7.2.0)': dependencies: - '@babel/traverse': 7.29.7(supports-color@7.2.0) - '@babel/types': 7.29.7 + '@babel/traverse': 7.29.8(supports-color@7.2.0) + '@babel/types': 7.29.8 transitivePeerDependencies: - supports-color @@ -3501,7 +3550,7 @@ snapshots: '@babel/core': 7.29.7(supports-color@7.2.0) '@babel/helper-module-imports': 7.29.7(supports-color@7.2.0) '@babel/helper-validator-identifier': 7.29.7 - '@babel/traverse': 7.29.7(supports-color@7.2.0) + '@babel/traverse': 7.29.8(supports-color@7.2.0) transitivePeerDependencies: - supports-color @@ -3514,31 +3563,31 @@ snapshots: '@babel/helpers@7.29.7': dependencies: '@babel/template': 7.29.7 - '@babel/types': 7.29.7 + '@babel/types': 7.29.8 - '@babel/parser@7.29.7': + '@babel/parser@7.29.8': dependencies: - '@babel/types': 7.29.7 + '@babel/types': 7.29.8 '@babel/template@7.29.7': dependencies: '@babel/code-frame': 7.29.7 - '@babel/parser': 7.29.7 - '@babel/types': 7.29.7 + '@babel/parser': 7.29.8 + '@babel/types': 7.29.8 - '@babel/traverse@7.29.7(supports-color@7.2.0)': + '@babel/traverse@7.29.8(supports-color@7.2.0)': dependencies: '@babel/code-frame': 7.29.7 - '@babel/generator': 7.29.7 + '@babel/generator': 7.29.8 '@babel/helper-globals': 7.29.7 - '@babel/parser': 7.29.7 + '@babel/parser': 7.29.8 '@babel/template': 7.29.7 - '@babel/types': 7.29.7 + '@babel/types': 7.29.8 debug: 4.4.3(supports-color@7.2.0) transitivePeerDependencies: - supports-color - '@babel/types@7.29.7': + '@babel/types@7.29.8': dependencies: '@babel/helper-string-parser': 7.29.7 '@babel/helper-validator-identifier': 7.29.7 @@ -3590,7 +3639,7 @@ snapshots: launch-editor: 2.14.1 package-manager-detector: 1.8.0 semver: 7.8.5 - tinyexec: 1.2.4 + tinyexec: 1.3.0 '@changesets/config@4.0.0-next.8': dependencies: @@ -3605,7 +3654,7 @@ snapshots: '@changesets/format@0.1.1': dependencies: package-manager-detector: 1.8.0 - tinyexec: 1.2.4 + tinyexec: 1.3.0 '@changesets/get-dependents-graph@3.0.0-next.8': dependencies: @@ -3631,7 +3680,7 @@ snapshots: '@changesets/types': 7.0.0-next.8 '@manypkg/get-packages': 3.1.0 picomatch: 4.0.5 - tinyexec: 1.2.4 + tinyexec: 1.3.0 '@changesets/parse@1.0.0-next.9': dependencies: @@ -3674,15 +3723,15 @@ snapshots: fast-wrap-ansi: 0.2.2 sisteransi: 1.0.5 - '@commitlint/cli@21.2.1(@types/node@26.1.1)(conventional-commits-parser@7.1.1)(typescript@7.0.2)': + '@commitlint/cli@21.2.1(@types/node@26.1.2)(conventional-commits-parser@7.1.2)(typescript@7.0.2)': dependencies: '@commitlint/config-conventional': 21.2.0 '@commitlint/format': 21.2.0 '@commitlint/lint': 21.2.0 - '@commitlint/load': 21.2.0(@types/node@26.1.1)(typescript@7.0.2) - '@commitlint/read': 21.2.1(conventional-commits-parser@7.1.1) + '@commitlint/load': 21.2.0(@types/node@26.1.2)(typescript@7.0.2) + '@commitlint/read': 21.2.1(conventional-commits-parser@7.1.2) '@commitlint/types': 21.2.0 - tinyexec: 1.2.4 + tinyexec: 1.3.0 yargs: 18.1.0 transitivePeerDependencies: - '@types/node' @@ -3724,14 +3773,14 @@ snapshots: '@commitlint/rules': 21.2.0 '@commitlint/types': 21.2.0 - '@commitlint/load@21.2.0(@types/node@26.1.1)(typescript@7.0.2)': + '@commitlint/load@21.2.0(@types/node@26.1.2)(typescript@7.0.2)': dependencies: '@commitlint/config-validator': 21.2.0 '@commitlint/execute-rule': 21.0.1 '@commitlint/resolve-extends': 21.2.0 '@commitlint/types': 21.2.0 cosmiconfig: 9.0.2(typescript@7.0.2) - cosmiconfig-typescript-loader: 6.3.0(@types/node@26.1.1)(cosmiconfig@9.0.2(typescript@7.0.2))(typescript@7.0.2) + cosmiconfig-typescript-loader: 6.3.0(@types/node@26.1.2)(cosmiconfig@9.0.2(typescript@7.0.2))(typescript@7.0.2) es-toolkit: 1.50.0 is-plain-obj: 4.1.0 picocolors: 1.1.1 @@ -3745,14 +3794,14 @@ snapshots: dependencies: '@commitlint/types': 21.2.0 conventional-changelog-angular: 9.2.1 - conventional-commits-parser: 7.1.1 + conventional-commits-parser: 7.1.2 - '@commitlint/read@21.2.1(conventional-commits-parser@7.1.1)': + '@commitlint/read@21.2.1(conventional-commits-parser@7.1.2)': dependencies: '@commitlint/top-level': 21.2.0 '@commitlint/types': 21.2.0 - '@conventional-changelog/git-client': 3.1.0(conventional-commits-parser@7.1.1) - tinyexec: 1.2.4 + '@conventional-changelog/git-client': 3.1.0(conventional-commits-parser@7.1.2) + tinyexec: 1.3.0 transitivePeerDependencies: - conventional-commits-filter - conventional-commits-parser @@ -3780,24 +3829,19 @@ snapshots: '@commitlint/types@21.2.0': dependencies: - conventional-commits-parser: 7.1.1 + conventional-commits-parser: 7.1.2 picocolors: 1.1.1 - '@conventional-changelog/git-client@3.1.0(conventional-commits-parser@7.1.1)': + '@conventional-changelog/git-client@3.1.0(conventional-commits-parser@7.1.2)': dependencies: '@simple-libs/child-process-utils': 2.0.0 '@simple-libs/stream-utils': 2.0.0 semver: 7.8.5 optionalDependencies: - conventional-commits-parser: 7.1.1 + conventional-commits-parser: 7.1.2 '@conventional-changelog/template@1.2.1': {} - '@cyclonedx/cyclonedx-library@10.1.0(ajv-formats@3.0.1(ajv@8.20.0))(ajv@8.20.0)': - optionalDependencies: - ajv: 8.20.0 - ajv-formats: 3.0.1(ajv@8.20.0) - '@effect/platform-node-shared@4.0.0-beta.102(effect@4.0.0-beta.101)': dependencies: '@types/ws': 8.18.1 @@ -3822,6 +3866,11 @@ snapshots: dependencies: effect: 4.0.0-beta.101 + '@effect/vitest@4.0.0-beta.101(effect@4.0.0-beta.101)(vitest@4.1.10)': + dependencies: + effect: 4.0.0-beta.101 + vitest: 4.1.10(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) + '@effected/commands@0.2.0(effect@4.0.0-beta.101)': dependencies: effect: 4.0.0-beta.101 @@ -3838,6 +3887,34 @@ snapshots: dependencies: effect: 4.0.0-beta.101 + '@effected/github-actions@0.3.0(@effect/platform-node@4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)))(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/semver@0.3.0(effect@4.0.0-beta.101))(@effected/toml@0.3.1(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)(supports-color@7.2.0)': + dependencies: + '@azure/storage-blob': 12.33.0(supports-color@7.2.0) + '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) + '@effected/github': 0.2.1(effect@4.0.0-beta.101) + '@effected/glob': 0.2.1(effect@4.0.0-beta.101) + '@effected/markdown': 0.4.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/toml@0.3.1(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/npm': 0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/sbom': 0.2.1(effect@4.0.0-beta.101)(supports-color@7.2.0) + '@effected/templates': 0.1.0(effect@4.0.0-beta.101) + effect: 4.0.0-beta.101 + transitivePeerDependencies: + - '@effected/jsonc' + - '@effected/semver' + - '@effected/toml' + - '@effected/yaml' + - kerberos + - supports-color + + '@effected/github@0.2.1(effect@4.0.0-beta.101)': + dependencies: + '@effected/semver': 0.3.0(effect@4.0.0-beta.101) + '@octokit/core': 7.0.7 + '@octokit/plugin-paginate-rest': 14.0.0(@octokit/core@7.0.7) + '@octokit/types': 16.0.0 + effect: 4.0.0-beta.101 + universal-github-app-jwt: 2.2.2 + '@effected/glob@0.2.1(effect@4.0.0-beta.101)': dependencies: effect: 4.0.0-beta.101 @@ -3846,20 +3923,34 @@ snapshots: dependencies: effect: 4.0.0-beta.101 - '@effected/lockfiles@0.2.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/npm@0.6.0(@effected/semver@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101))(@effected/semver@0.2.1(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)': + '@effected/lockfiles@0.2.3(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/npm@0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101))(@effected/semver@0.3.0(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)': dependencies: '@effected/jsonc': 0.5.1(effect@4.0.0-beta.101) - '@effected/npm': 0.6.0(@effected/semver@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) - '@effected/semver': 0.2.1(effect@4.0.0-beta.101) + '@effected/npm': 0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/semver': 0.3.0(effect@4.0.0-beta.101) '@effected/yaml': 0.6.0(effect@4.0.0-beta.101) effect: 4.0.0-beta.101 + '@effected/markdown@0.4.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/toml@0.3.1(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)': + dependencies: + effect: 4.0.0-beta.101 + optionalDependencies: + '@effected/jsonc': 0.5.1(effect@4.0.0-beta.101) + '@effected/toml': 0.3.1(effect@4.0.0-beta.101) + '@effected/yaml': 0.6.0(effect@4.0.0-beta.101) + '@effected/npm@0.6.0(@effected/semver@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)': dependencies: '@effected/commands': 0.2.0(effect@4.0.0-beta.101) '@effected/semver': 0.2.1(effect@4.0.0-beta.101) effect: 4.0.0-beta.101 + '@effected/npm@0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)': + dependencies: + '@effected/commands': 0.2.0(effect@4.0.0-beta.101) + '@effected/semver': 0.3.0(effect@4.0.0-beta.101) + effect: 4.0.0-beta.101 + '@effected/package-json@0.6.1(effect@4.0.0-beta.101)': dependencies: '@effected/npm': 0.6.0(@effected/semver@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) @@ -3867,10 +3958,37 @@ snapshots: '@effected/spdx': 0.1.1(effect@4.0.0-beta.101) effect: 4.0.0-beta.101 + '@effected/package-json@0.7.0(effect@4.0.0-beta.101)': + dependencies: + '@effected/npm': 0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/semver': 0.3.0(effect@4.0.0-beta.101) + '@effected/spdx': 0.1.1(effect@4.0.0-beta.101) + effect: 4.0.0-beta.101 + + '@effected/runtimes@0.2.2(effect@4.0.0-beta.101)': + dependencies: + '@effected/semver': 0.3.0(effect@4.0.0-beta.101) + effect: 4.0.0-beta.101 + + '@effected/sbom@0.2.1(effect@4.0.0-beta.101)(supports-color@7.2.0)': + dependencies: + '@effected/package-json': 0.7.0(effect@4.0.0-beta.101) + '@effected/spdx': 0.1.1(effect@4.0.0-beta.101) + '@sigstore/bundle': 5.0.0 + '@sigstore/sign': 5.0.0(supports-color@7.2.0) + effect: 4.0.0-beta.101 + transitivePeerDependencies: + - kerberos + - supports-color + '@effected/semver@0.2.1(effect@4.0.0-beta.101)': dependencies: effect: 4.0.0-beta.101 + '@effected/semver@0.3.0(effect@4.0.0-beta.101)': + dependencies: + effect: 4.0.0-beta.101 + '@effected/spdx@0.1.1(effect@4.0.0-beta.101)': dependencies: effect: 4.0.0-beta.101 @@ -3888,15 +4006,15 @@ snapshots: '@effected/glob': 0.2.1(effect@4.0.0-beta.101) effect: 4.0.0-beta.101 - '@effected/workspaces@0.9.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)': + '@effected/workspaces@0.9.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101)': dependencies: '@effected/commands': 0.2.0(effect@4.0.0-beta.101) '@effected/git': 0.5.1(effect@4.0.0-beta.101) '@effected/glob': 0.2.1(effect@4.0.0-beta.101) - '@effected/lockfiles': 0.2.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/npm@0.6.0(@effected/semver@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101))(@effected/semver@0.2.1(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) - '@effected/npm': 0.6.0(@effected/semver@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) - '@effected/package-json': 0.6.1(effect@4.0.0-beta.101) - '@effected/semver': 0.2.1(effect@4.0.0-beta.101) + '@effected/lockfiles': 0.2.3(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/npm@0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101))(@effected/semver@0.3.0(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/npm': 0.7.0(@effected/semver@0.3.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/package-json': 0.7.0(effect@4.0.0-beta.101) + '@effected/semver': 0.3.0(effect@4.0.0-beta.101) '@effected/walker': 0.3.3(@effected/glob@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) '@effected/yaml': 0.6.0(effect@4.0.0-beta.101) '@pnpm/catalogs.config': 1100.0.3 @@ -3917,24 +4035,24 @@ snapshots: dependencies: effect: 4.0.0-beta.101 - '@emnapi/core@1.11.1': + '@emnapi/core@1.11.2': dependencies: '@emnapi/wasi-threads': 1.2.2 tslib: 2.8.1 optional: true - '@emnapi/core@1.11.2': + '@emnapi/core@2.0.0-alpha.3': dependencies: - '@emnapi/wasi-threads': 1.2.2 + '@emnapi/wasi-threads': 2.0.1 tslib: 2.8.1 optional: true - '@emnapi/runtime@1.11.1': + '@emnapi/runtime@1.11.2': dependencies: tslib: 2.8.1 optional: true - '@emnapi/runtime@1.11.2': + '@emnapi/runtime@2.0.0-alpha.3': dependencies: tslib: 2.8.1 optional: true @@ -3944,6 +4062,11 @@ snapshots: tslib: 2.8.1 optional: true + '@emnapi/wasi-threads@2.0.1': + dependencies: + tslib: 2.8.1 + optional: true + '@esbuild/aix-ppc64@0.28.1': optional: true @@ -4024,9 +4147,9 @@ snapshots: '@gar/promise-retry@1.0.3': {} - '@hono/node-server@1.19.15(hono@4.12.32)': + '@hono/node-server@2.0.12(hono@4.12.33)': dependencies: - hono: 4.12.32 + hono: 4.12.33 '@ioredis/commands@1.10.0': {} @@ -4066,9 +4189,9 @@ snapshots: tinyglobby: 0.2.17 yaml: 2.9.0 - '@modelcontextprotocol/sdk@1.29.0(supports-color@7.2.0)(zod@4.4.3)': + '@modelcontextprotocol/sdk@1.30.0(supports-color@7.2.0)(zod@4.4.3)': dependencies: - '@hono/node-server': 1.19.15(hono@4.12.32) + '@hono/node-server': 2.0.12(hono@4.12.33) ajv: 8.20.0 ajv-formats: 3.0.1(ajv@8.20.0) content-type: 1.0.5 @@ -4078,8 +4201,8 @@ snapshots: eventsource-parser: 3.1.0 express: 5.2.1(supports-color@7.2.0) express-rate-limit: 8.6.1(express@5.2.1(supports-color@7.2.0))(supports-color@7.2.0) - hono: 4.12.32 - jose: 6.2.4 + hono: 4.12.33 + jose: 6.2.7 json-schema-typed: 8.0.2 pkce-challenge: 5.0.1 raw-body: 3.0.2 @@ -4106,17 +4229,17 @@ snapshots: '@msgpackr-extract/msgpackr-extract-win32-x64@3.0.4': optional: true - '@napi-rs/wasm-runtime@1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1)': + '@napi-rs/wasm-runtime@1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2)': dependencies: - '@emnapi/core': 1.11.1 - '@emnapi/runtime': 1.11.1 + '@emnapi/core': 1.11.2 + '@emnapi/runtime': 1.11.2 '@tybys/wasm-util': 0.10.3 optional: true - '@napi-rs/wasm-runtime@1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2)': + '@napi-rs/wasm-runtime@1.2.2(@emnapi/core@2.0.0-alpha.3)(@emnapi/runtime@2.0.0-alpha.3)': dependencies: - '@emnapi/core': 1.11.2 - '@emnapi/runtime': 1.11.2 + '@emnapi/core': 2.0.0-alpha.3 + '@emnapi/runtime': 2.0.0-alpha.3 '@tybys/wasm-util': 0.10.3 optional: true @@ -4151,49 +4274,15 @@ snapshots: '@npmcli/redact@5.0.0': {} - '@octokit/auth-app@8.2.0': - dependencies: - '@octokit/auth-oauth-app': 9.0.3 - '@octokit/auth-oauth-user': 6.0.2 - '@octokit/request': 10.0.11 - '@octokit/request-error': 7.1.0 - '@octokit/types': 16.0.0 - toad-cache: 3.7.4 - universal-github-app-jwt: 2.2.2 - universal-user-agent: 7.0.3 - - '@octokit/auth-oauth-app@9.0.3': - dependencies: - '@octokit/auth-oauth-device': 8.0.3 - '@octokit/auth-oauth-user': 6.0.2 - '@octokit/request': 10.0.11 - '@octokit/types': 16.0.0 - universal-user-agent: 7.0.3 - - '@octokit/auth-oauth-device@8.0.3': - dependencies: - '@octokit/oauth-methods': 6.0.2 - '@octokit/request': 10.0.11 - '@octokit/types': 16.0.0 - universal-user-agent: 7.0.3 - - '@octokit/auth-oauth-user@6.0.2': - dependencies: - '@octokit/auth-oauth-device': 8.0.3 - '@octokit/oauth-methods': 6.0.2 - '@octokit/request': 10.0.11 - '@octokit/types': 16.0.0 - universal-user-agent: 7.0.3 - '@octokit/auth-token@6.0.0': {} - '@octokit/core@7.0.6': + '@octokit/core@7.0.7': dependencies: '@octokit/auth-token': 6.0.0 - '@octokit/graphql': 9.0.3 - '@octokit/request': 10.0.11 - '@octokit/request-error': 7.1.0 - '@octokit/types': 16.0.0 + '@octokit/graphql': 9.0.4 + '@octokit/request': 10.0.13 + '@octokit/request-error': 7.1.1 + '@octokit/types': 17.0.0 before-after-hook: 4.0.0 universal-user-agent: 7.0.3 @@ -4202,62 +4291,43 @@ snapshots: '@octokit/types': 16.0.0 universal-user-agent: 7.0.3 - '@octokit/graphql@9.0.3': + '@octokit/graphql@9.0.4': dependencies: - '@octokit/request': 10.0.11 - '@octokit/types': 16.0.0 + '@octokit/request': 10.0.13 + '@octokit/types': 17.0.0 universal-user-agent: 7.0.3 - '@octokit/oauth-authorization-url@8.0.0': {} - - '@octokit/oauth-methods@6.0.2': - dependencies: - '@octokit/oauth-authorization-url': 8.0.0 - '@octokit/request': 10.0.11 - '@octokit/request-error': 7.1.0 - '@octokit/types': 16.0.0 - '@octokit/openapi-types@27.0.0': {} - '@octokit/plugin-paginate-rest@14.0.0(@octokit/core@7.0.6)': - dependencies: - '@octokit/core': 7.0.6 - '@octokit/types': 16.0.0 - - '@octokit/plugin-request-log@6.0.0(@octokit/core@7.0.6)': - dependencies: - '@octokit/core': 7.0.6 + '@octokit/openapi-types@28.0.0': {} - '@octokit/plugin-rest-endpoint-methods@17.0.0(@octokit/core@7.0.6)': + '@octokit/plugin-paginate-rest@14.0.0(@octokit/core@7.0.7)': dependencies: - '@octokit/core': 7.0.6 + '@octokit/core': 7.0.7 '@octokit/types': 16.0.0 - '@octokit/request-error@7.1.0': + '@octokit/request-error@7.1.1': dependencies: - '@octokit/types': 16.0.0 + '@octokit/types': 17.0.0 - '@octokit/request@10.0.11': + '@octokit/request@10.0.13': dependencies: '@octokit/endpoint': 11.0.3 - '@octokit/request-error': 7.1.0 - '@octokit/types': 16.0.0 + '@octokit/request-error': 7.1.1 + '@octokit/types': 17.0.0 content-type: 2.0.0 json-with-bigint: 3.5.10 universal-user-agent: 7.0.3 - '@octokit/rest@22.0.1': - dependencies: - '@octokit/core': 7.0.6 - '@octokit/plugin-paginate-rest': 14.0.0(@octokit/core@7.0.6) - '@octokit/plugin-request-log': 6.0.0(@octokit/core@7.0.6) - '@octokit/plugin-rest-endpoint-methods': 17.0.0(@octokit/core@7.0.6) - '@octokit/types@16.0.0': dependencies: '@octokit/openapi-types': 27.0.0 - '@oxc-project/types@0.139.0': {} + '@octokit/types@17.0.0': + dependencies: + '@octokit/openapi-types': 28.0.0 + + '@oxc-project/types@0.142.0': {} '@pnpm/catalogs.config@1100.0.3': dependencies: @@ -4280,122 +4350,122 @@ snapshots: dependencies: '@pnpm/constants': 1100.0.1 - '@rolldown/binding-android-arm64@1.1.5': + '@rolldown/binding-android-arm64@1.2.1': optional: true - '@rolldown/binding-darwin-arm64@1.1.5': + '@rolldown/binding-darwin-arm64@1.2.1': optional: true - '@rolldown/binding-darwin-x64@1.1.5': + '@rolldown/binding-darwin-x64@1.2.1': optional: true - '@rolldown/binding-freebsd-x64@1.1.5': + '@rolldown/binding-freebsd-x64@1.2.1': optional: true - '@rolldown/binding-linux-arm-gnueabihf@1.1.5': + '@rolldown/binding-linux-arm-gnueabihf@1.2.1': optional: true - '@rolldown/binding-linux-arm64-gnu@1.1.5': + '@rolldown/binding-linux-arm64-gnu@1.2.1': optional: true - '@rolldown/binding-linux-arm64-musl@1.1.5': + '@rolldown/binding-linux-arm64-musl@1.2.1': optional: true - '@rolldown/binding-linux-ppc64-gnu@1.1.5': + '@rolldown/binding-linux-ppc64-gnu@1.2.1': optional: true - '@rolldown/binding-linux-s390x-gnu@1.1.5': + '@rolldown/binding-linux-s390x-gnu@1.2.1': optional: true - '@rolldown/binding-linux-x64-gnu@1.1.5': + '@rolldown/binding-linux-x64-gnu@1.2.1': optional: true - '@rolldown/binding-linux-x64-musl@1.1.5': + '@rolldown/binding-linux-x64-musl@1.2.1': optional: true - '@rolldown/binding-openharmony-arm64@1.1.5': + '@rolldown/binding-openharmony-arm64@1.2.1': optional: true - '@rolldown/binding-wasm32-wasi@1.1.5': + '@rolldown/binding-wasm32-wasi@1.2.1': dependencies: - '@emnapi/core': 1.11.1 - '@emnapi/runtime': 1.11.1 - '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.1)(@emnapi/runtime@1.11.1) + '@emnapi/core': 2.0.0-alpha.3 + '@emnapi/runtime': 2.0.0-alpha.3 + '@napi-rs/wasm-runtime': 1.2.2(@emnapi/core@2.0.0-alpha.3)(@emnapi/runtime@2.0.0-alpha.3) optional: true - '@rolldown/binding-win32-arm64-msvc@1.1.5': + '@rolldown/binding-win32-arm64-msvc@1.2.1': optional: true - '@rolldown/binding-win32-x64-msvc@1.1.5': + '@rolldown/binding-win32-x64-msvc@1.2.1': optional: true '@rolldown/pluginutils@1.0.1': {} - '@rsbuild/core@2.1.8': + '@rsbuild/core@2.1.9': dependencies: - '@rspack/core': 2.1.5(@swc/helpers@0.5.23) + '@rspack/core': 2.1.7(@swc/helpers@0.5.23) '@swc/helpers': 0.5.23 transitivePeerDependencies: - '@module-federation/runtime-tools' - '@rspack/binding-darwin-arm64@2.1.5': + '@rspack/binding-darwin-arm64@2.1.7': optional: true - '@rspack/binding-darwin-x64@2.1.5': + '@rspack/binding-darwin-x64@2.1.7': optional: true - '@rspack/binding-linux-arm64-gnu@2.1.5': + '@rspack/binding-linux-arm64-gnu@2.1.7': optional: true - '@rspack/binding-linux-arm64-musl@2.1.5': + '@rspack/binding-linux-arm64-musl@2.1.7': optional: true - '@rspack/binding-linux-riscv64-gnu@2.1.5': + '@rspack/binding-linux-riscv64-gnu@2.1.7': optional: true - '@rspack/binding-linux-riscv64-musl@2.1.5': + '@rspack/binding-linux-riscv64-musl@2.1.7': optional: true - '@rspack/binding-linux-x64-gnu@2.1.5': + '@rspack/binding-linux-x64-gnu@2.1.7': optional: true - '@rspack/binding-linux-x64-musl@2.1.5': + '@rspack/binding-linux-x64-musl@2.1.7': optional: true - '@rspack/binding-wasm32-wasi@2.1.5': + '@rspack/binding-wasm32-wasi@2.1.7': dependencies: '@emnapi/core': 1.11.2 '@emnapi/runtime': 1.11.2 '@napi-rs/wasm-runtime': 1.1.6(@emnapi/core@1.11.2)(@emnapi/runtime@1.11.2) optional: true - '@rspack/binding-win32-arm64-msvc@2.1.5': + '@rspack/binding-win32-arm64-msvc@2.1.7': optional: true - '@rspack/binding-win32-ia32-msvc@2.1.5': + '@rspack/binding-win32-ia32-msvc@2.1.7': optional: true - '@rspack/binding-win32-x64-msvc@2.1.5': + '@rspack/binding-win32-x64-msvc@2.1.7': optional: true - '@rspack/binding@2.1.5': + '@rspack/binding@2.1.7': optionalDependencies: - '@rspack/binding-darwin-arm64': 2.1.5 - '@rspack/binding-darwin-x64': 2.1.5 - '@rspack/binding-linux-arm64-gnu': 2.1.5 - '@rspack/binding-linux-arm64-musl': 2.1.5 - '@rspack/binding-linux-riscv64-gnu': 2.1.5 - '@rspack/binding-linux-riscv64-musl': 2.1.5 - '@rspack/binding-linux-x64-gnu': 2.1.5 - '@rspack/binding-linux-x64-musl': 2.1.5 - '@rspack/binding-wasm32-wasi': 2.1.5 - '@rspack/binding-win32-arm64-msvc': 2.1.5 - '@rspack/binding-win32-ia32-msvc': 2.1.5 - '@rspack/binding-win32-x64-msvc': 2.1.5 - - '@rspack/core@2.1.5(@swc/helpers@0.5.23)': - dependencies: - '@rspack/binding': 2.1.5 + '@rspack/binding-darwin-arm64': 2.1.7 + '@rspack/binding-darwin-x64': 2.1.7 + '@rspack/binding-linux-arm64-gnu': 2.1.7 + '@rspack/binding-linux-arm64-musl': 2.1.7 + '@rspack/binding-linux-riscv64-gnu': 2.1.7 + '@rspack/binding-linux-riscv64-musl': 2.1.7 + '@rspack/binding-linux-x64-gnu': 2.1.7 + '@rspack/binding-linux-x64-musl': 2.1.7 + '@rspack/binding-wasm32-wasi': 2.1.7 + '@rspack/binding-win32-arm64-msvc': 2.1.7 + '@rspack/binding-win32-ia32-msvc': 2.1.7 + '@rspack/binding-win32-x64-msvc': 2.1.7 + + '@rspack/core@2.1.7(@swc/helpers@0.5.23)': + dependencies: + '@rspack/binding': 2.1.7 optionalDependencies: '@swc/helpers': 0.5.23 @@ -4411,7 +4481,7 @@ snapshots: '@effected/git': 0.5.1(effect@4.0.0-beta.101) '@effected/jsonc': 0.5.1(effect@4.0.0-beta.101) '@effected/templates': 0.1.0(effect@4.0.0-beta.101) - '@effected/workspaces': 0.9.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/workspaces': 0.9.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) '@effected/yaml': 0.6.0(effect@4.0.0-beta.101) '@savvy-web/silk-effects': 5.1.3(effect@4.0.0-beta.101)(supports-color@7.2.0) effect: 4.0.0-beta.101 @@ -4421,12 +4491,12 @@ snapshots: - supports-color - utf-8-validate - '@savvy-web/github-action-builder@2.1.1(@types/node@26.1.1)(ioredis@5.11.1(supports-color@7.2.0))(typescript@7.0.2)': + '@savvy-web/github-action-builder@2.1.1(@types/node@26.1.2)(ioredis@5.11.1(supports-color@7.2.0))(typescript@7.0.2)': dependencies: '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) '@effected/yaml': 0.6.0(effect@4.0.0-beta.101) - '@rsbuild/core': 2.1.8 - '@types/node': 26.1.1 + '@rsbuild/core': 2.1.9 + '@types/node': 26.1.2 effect: 4.0.0-beta.101 jiti: 2.7.0 picocolors: 1.1.1 @@ -4438,36 +4508,12 @@ snapshots: - ioredis - utf-8-validate - '@savvy-web/github-action-effects@3.1.0(@effect/platform-node@4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)))(ajv-formats@3.0.1(ajv@8.20.0))(ajv@8.20.0)(effect@4.0.0-beta.101)(supports-color@7.2.0)': - dependencies: - '@azure/storage-blob': 12.33.0(supports-color@7.2.0) - '@cyclonedx/cyclonedx-library': 10.1.0(ajv-formats@3.0.1(ajv@8.20.0))(ajv@8.20.0) - '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) - '@effected/jsonc': 0.5.1(effect@4.0.0-beta.101) - '@effected/semver': 0.2.1(effect@4.0.0-beta.101) - '@effected/yaml': 0.6.0(effect@4.0.0-beta.101) - '@octokit/auth-app': 8.2.0 - '@octokit/rest': 22.0.1 - '@sigstore/bundle': 5.0.0 - '@sigstore/sign': 5.0.0(supports-color@7.2.0) - effect: 4.0.0-beta.101 - transitivePeerDependencies: - - ajv - - ajv-formats - - ajv-formats-draft2019 - - kerberos - - libxmljs2 - - packageurl-js - - spdx-expression-parse - - supports-color - - xmlbuilder2 - '@savvy-web/mcp@2.0.15(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)': dependencies: '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) '@effected/commands': 0.2.0(effect@4.0.0-beta.101) - '@effected/workspaces': 0.9.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) - '@modelcontextprotocol/sdk': 1.29.0(supports-color@7.2.0)(zod@4.4.3) + '@effected/workspaces': 0.9.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@modelcontextprotocol/sdk': 1.30.0(supports-color@7.2.0)(zod@4.4.3) '@savvy-web/silk-effects': 5.1.3(effect@4.0.0-beta.101)(supports-color@7.2.0) effect: 4.0.0-beta.101 zod: 4.4.3 @@ -4492,7 +4538,7 @@ snapshots: '@effected/package-json': 0.6.1(effect@4.0.0-beta.101) '@effected/templates': 0.1.0(effect@4.0.0-beta.101) '@effected/walker': 0.3.3(@effected/glob@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) - '@effected/workspaces': 0.9.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/workspaces': 0.9.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) '@effected/yaml': 0.6.0(effect@4.0.0-beta.101) '@manypkg/get-packages': 3.1.0 effect: 4.0.0-beta.101 @@ -4510,10 +4556,10 @@ snapshots: transitivePeerDependencies: - supports-color - '@savvy-web/silk@3.2.11(@changesets/cli@3.0.0-next.10)(@commitlint/cli@21.2.1(@types/node@26.1.1)(conventional-commits-parser@7.1.1)(typescript@7.0.2))(@commitlint/config-conventional@21.2.0)(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@types/bun@1.3.14)(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(husky@9.1.7)(ioredis@5.11.1(supports-color@7.2.0))(lint-staged@17.2.0)(markdownlint-cli2-formatter-codequality@0.0.7(markdownlint-cli2@0.23.1(supports-color@7.2.0)))(markdownlint-cli2@0.23.1(supports-color@7.2.0))(supports-color@7.2.0)(tsx@4.23.1)(turbo@2.10.7)(typescript@7.0.2)(vitest@4.1.10)': + '@savvy-web/silk@3.2.11(@changesets/cli@3.0.0-next.10)(@commitlint/cli@21.2.1(@types/node@26.1.2)(conventional-commits-parser@7.1.2)(typescript@7.0.2))(@commitlint/config-conventional@21.2.0)(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@types/bun@1.3.14)(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(husky@9.1.7)(ioredis@5.11.1(supports-color@7.2.0))(lint-staged@17.3.0)(markdownlint-cli2-formatter-codequality@0.0.7(markdownlint-cli2@0.23.2(supports-color@7.2.0)))(markdownlint-cli2@0.23.2(supports-color@7.2.0))(supports-color@7.2.0)(tsx@4.23.1)(turbo@2.10.8)(typescript@7.0.2)(vitest@4.1.10)': dependencies: '@changesets/cli': 3.0.0-next.10 - '@commitlint/cli': 21.2.1(@types/node@26.1.1)(conventional-commits-parser@7.1.1)(typescript@7.0.2) + '@commitlint/cli': 21.2.1(@types/node@26.1.2)(conventional-commits-parser@7.1.2)(typescript@7.0.2) '@commitlint/config-conventional': 21.2.0 '@effected/templates': 0.1.0(effect@4.0.0-beta.101) '@savvy-web/changelog': 0.1.1 @@ -4521,19 +4567,19 @@ snapshots: '@savvy-web/mcp': 2.0.15(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0) '@savvy-web/silk-effects': 5.1.3(effect@4.0.0-beta.101)(supports-color@7.2.0) '@types/bun': 1.3.14 - '@types/node': 26.1.1 + '@types/node': 26.1.2 '@vitest/coverage-istanbul': 4.1.10(supports-color@7.2.0)(vitest@4.1.10) '@vitest/coverage-v8': 4.1.10(vitest@4.1.10) effect: 4.0.0-beta.101 husky: 9.1.7 - lint-staged: 17.2.0 - markdownlint-cli2: 0.23.1(supports-color@7.2.0) - markdownlint-cli2-formatter-codequality: 0.0.7(markdownlint-cli2@0.23.1(supports-color@7.2.0)) + lint-staged: 17.3.0 + markdownlint-cli2: 0.23.2(supports-color@7.2.0) + markdownlint-cli2-formatter-codequality: 0.0.7(markdownlint-cli2@0.23.2(supports-color@7.2.0)) semver: 7.8.5 tsx: 4.23.1 - turbo: 2.10.7 + turbo: 2.10.8 typescript: 7.0.2 - vitest: 4.1.10(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) + vitest: 4.1.10(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) transitivePeerDependencies: - '@cfworker/json-schema' - '@effected/jsonc' @@ -4580,22 +4626,22 @@ snapshots: dependencies: typescript: 7.0.2 - '@turbo/darwin-64@2.10.7': + '@turbo/darwin-64@2.10.8': optional: true - '@turbo/darwin-arm64@2.10.7': + '@turbo/darwin-arm64@2.10.8': optional: true - '@turbo/linux-64@2.10.7': + '@turbo/linux-64@2.10.8': optional: true - '@turbo/linux-arm64@2.10.7': + '@turbo/linux-arm64@2.10.8': optional: true - '@turbo/windows-64@2.10.7': + '@turbo/windows-64@2.10.8': optional: true - '@turbo/windows-arm64@2.10.7': + '@turbo/windows-arm64@2.10.8': optional: true '@tybys/wasm-util@0.10.3': @@ -4628,7 +4674,7 @@ snapshots: '@types/ms@2.1.0': {} - '@types/node@26.1.1': + '@types/node@26.1.2': dependencies: undici-types: 8.3.0 @@ -4638,7 +4684,7 @@ snapshots: '@types/ws@8.18.1': dependencies: - '@types/node': 26.1.1 + '@types/node': 26.1.2 '@typescript/typescript-aix-ppc64@7.0.2': optional: true @@ -4700,7 +4746,7 @@ snapshots: '@typescript/typescript-win32-x64@7.0.2': optional: true - '@typespec/ts-http-runtime@0.3.7(supports-color@7.2.0)': + '@typespec/ts-http-runtime@0.3.8(supports-color@7.2.0)': dependencies: http-proxy-agent: 7.0.2(supports-color@7.2.0) https-proxy-agent: 7.0.6(supports-color@7.2.0) @@ -4708,12 +4754,12 @@ snapshots: transitivePeerDependencies: - supports-color - '@vitest-agent/cli@2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))': + '@vitest-agent/cli@2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))': dependencies: '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) '@effect/sql-sqlite-node': 4.0.0-beta.101(effect@4.0.0-beta.101) - '@vitest-agent/sdk': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) - '@vitest-agent/sidecar': 2.0.2 + '@vitest-agent/sdk': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) + '@vitest-agent/sidecar': 2.0.3 effect: 4.0.0-beta.101 transitivePeerDependencies: - '@effected/glob' @@ -4721,15 +4767,15 @@ snapshots: - ioredis - utf-8-validate - '@vitest-agent/mcp@2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)(vitest@4.1.10)': + '@vitest-agent/mcp@2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)(vitest@4.1.10)': dependencies: '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) '@effect/sql-sqlite-node': 4.0.0-beta.101(effect@4.0.0-beta.101) - '@modelcontextprotocol/sdk': 1.29.0(supports-color@7.2.0)(zod@4.4.3) + '@modelcontextprotocol/sdk': 1.30.0(supports-color@7.2.0)(zod@4.4.3) '@trpc/server': 11.18.0(typescript@7.0.2) - '@vitest-agent/sdk': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) + '@vitest-agent/sdk': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) effect: 4.0.0-beta.101 - vitest: 4.1.10(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) + vitest: 4.1.10(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) zod: 4.4.3 transitivePeerDependencies: - '@cfworker/json-schema' @@ -4740,20 +4786,20 @@ snapshots: - typescript - utf-8-validate - '@vitest-agent/plugin@2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)(vitest@4.1.10)': + '@vitest-agent/plugin@2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)(vitest@4.1.10)': dependencies: '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) '@effect/sql-sqlite-node': 4.0.0-beta.101(effect@4.0.0-beta.101) - '@effected/workspaces': 0.9.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) - '@vitest-agent/cli': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) - '@vitest-agent/mcp': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)(vitest@4.1.10) - '@vitest-agent/reporter': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(ioredis@5.11.1(supports-color@7.2.0))(vitest@4.1.10) - '@vitest-agent/sdk': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) + '@effected/workspaces': 0.9.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@vitest-agent/cli': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) + '@vitest-agent/mcp': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))(supports-color@7.2.0)(typescript@7.0.2)(vitest@4.1.10) + '@vitest-agent/reporter': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(ioredis@5.11.1(supports-color@7.2.0))(vitest@4.1.10) + '@vitest-agent/sdk': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) '@vitest/coverage-istanbul': 4.1.10(supports-color@7.2.0)(vitest@4.1.10) '@vitest/coverage-v8': 4.1.10(vitest@4.1.10) effect: 4.0.0-beta.101 magic-string: 1.1.0 - vitest: 4.1.10(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) + vitest: 4.1.10(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) transitivePeerDependencies: - '@cfworker/json-schema' - '@effected/glob' @@ -4766,16 +4812,16 @@ snapshots: - typescript - utf-8-validate - '@vitest-agent/reporter@2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(ioredis@5.11.1(supports-color@7.2.0))(vitest@4.1.10)': + '@vitest-agent/reporter@2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(ioredis@5.11.1(supports-color@7.2.0))(vitest@4.1.10)': dependencies: '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) '@effect/sql-sqlite-node': 4.0.0-beta.101(effect@4.0.0-beta.101) - '@vitest-agent/sdk': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) - '@vitest-agent/ui': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ink@7.1.1(react@19.2.8))(ioredis@5.11.1(supports-color@7.2.0))(react@19.2.8) + '@vitest-agent/sdk': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) + '@vitest-agent/ui': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ink@7.1.1(react@19.2.8))(ioredis@5.11.1(supports-color@7.2.0))(react@19.2.8) effect: 4.0.0-beta.101 ink: 7.1.1(react@19.2.8) react: 19.2.8 - vitest: 4.1.10(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) + vitest: 4.1.10(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) optionalDependencies: '@vitest/coverage-istanbul': 4.1.10(supports-color@7.2.0)(vitest@4.1.10) '@vitest/coverage-v8': 4.1.10(vitest@4.1.10) @@ -4787,7 +4833,7 @@ snapshots: - react-devtools-core - utf-8-validate - '@vitest-agent/sdk@2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))': + '@vitest-agent/sdk@2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0))': dependencies: '@effect/platform-node': 4.0.0-beta.101(effect@4.0.0-beta.101)(ioredis@5.11.1(supports-color@7.2.0)) '@effect/sql-sqlite-node': 4.0.0-beta.101(effect@4.0.0-beta.101) @@ -4795,11 +4841,11 @@ snapshots: '@effected/jsonc': 0.5.1(effect@4.0.0-beta.101) '@effected/toml': 0.3.1(effect@4.0.0-beta.101) '@effected/walker': 0.3.3(@effected/glob@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) - '@effected/workspaces': 0.9.1(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) + '@effected/workspaces': 0.9.2(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) '@effected/xdg': 0.1.9(@effected/config-file@0.2.0(@effected/jsonc@0.5.1(effect@4.0.0-beta.101))(@effected/toml@0.3.1(effect@4.0.0-beta.101))(@effected/walker@0.3.3(@effected/glob@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101))(@effected/yaml@0.6.0(effect@4.0.0-beta.101))(effect@4.0.0-beta.101))(@effected/walker@0.3.3(@effected/glob@0.2.1(effect@4.0.0-beta.101))(effect@4.0.0-beta.101))(effect@4.0.0-beta.101) '@effected/yaml': 0.6.0(effect@4.0.0-beta.101) - acorn: 8.17.0 - acorn-typescript: 1.4.13(acorn@8.17.0) + acorn: 8.18.0 + acorn-typescript: 1.4.13(acorn@8.18.0) ajv: 8.20.0 effect: 4.0.0-beta.101 std-env: 4.2.0 @@ -4809,28 +4855,28 @@ snapshots: - ioredis - utf-8-validate - '@vitest-agent/sidecar-darwin-arm64@2.0.2': + '@vitest-agent/sidecar-darwin-arm64@2.0.3': optional: true - '@vitest-agent/sidecar-linux-arm64@2.0.2': + '@vitest-agent/sidecar-linux-arm64@2.0.3': optional: true - '@vitest-agent/sidecar-linux-x64@2.0.2': + '@vitest-agent/sidecar-linux-x64@2.0.3': optional: true - '@vitest-agent/sidecar-win32-x64@2.0.2': + '@vitest-agent/sidecar-win32-x64@2.0.3': optional: true - '@vitest-agent/sidecar@2.0.2': + '@vitest-agent/sidecar@2.0.3': optionalDependencies: - '@vitest-agent/sidecar-darwin-arm64': 2.0.2 - '@vitest-agent/sidecar-linux-arm64': 2.0.2 - '@vitest-agent/sidecar-linux-x64': 2.0.2 - '@vitest-agent/sidecar-win32-x64': 2.0.2 + '@vitest-agent/sidecar-darwin-arm64': 2.0.3 + '@vitest-agent/sidecar-linux-arm64': 2.0.3 + '@vitest-agent/sidecar-linux-x64': 2.0.3 + '@vitest-agent/sidecar-win32-x64': 2.0.3 - '@vitest-agent/ui@2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ink@7.1.1(react@19.2.8))(ioredis@5.11.1(supports-color@7.2.0))(react@19.2.8)': + '@vitest-agent/ui@2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ink@7.1.1(react@19.2.8))(ioredis@5.11.1(supports-color@7.2.0))(react@19.2.8)': dependencies: - '@vitest-agent/sdk': 2.0.10(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) + '@vitest-agent/sdk': 2.0.11(@effected/glob@0.2.1(effect@4.0.0-beta.101))(ioredis@5.11.1(supports-color@7.2.0)) effect: 4.0.0-beta.101 ink: 7.1.1(react@19.2.8) react: 19.2.8 @@ -4849,10 +4895,10 @@ snapshots: istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-reports: 3.2.0 - magicast: 0.5.3 + magicast: 0.5.4 obug: 2.1.4 - tinyrainbow: 3.1.0 - vitest: 4.1.10(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) + tinyrainbow: 3.1.1 + vitest: 4.1.10(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) transitivePeerDependencies: - supports-color @@ -4864,11 +4910,11 @@ snapshots: istanbul-lib-coverage: 3.2.2 istanbul-lib-report: 3.0.1 istanbul-reports: 3.2.0 - magicast: 0.5.3 + magicast: 0.5.4 obug: 2.1.4 std-env: 4.2.0 - tinyrainbow: 3.1.0 - vitest: 4.1.10(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) + tinyrainbow: 3.1.1 + vitest: 4.1.10(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) '@vitest/expect@4.1.10': dependencies: @@ -4877,19 +4923,19 @@ snapshots: '@vitest/spy': 4.1.10 '@vitest/utils': 4.1.10 chai: 6.2.2 - tinyrainbow: 3.1.0 + tinyrainbow: 3.1.1 - '@vitest/mocker@4.1.10(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))': + '@vitest/mocker@4.1.10(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0))': dependencies: '@vitest/spy': 4.1.10 estree-walker: 3.0.3 magic-string: 0.30.21 optionalDependencies: - vite: 8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0) + vite: 8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0) '@vitest/pretty-format@4.1.10': dependencies: - tinyrainbow: 3.1.0 + tinyrainbow: 3.1.1 '@vitest/runner@4.1.10': dependencies: @@ -4909,18 +4955,18 @@ snapshots: dependencies: '@vitest/pretty-format': 4.1.10 convert-source-map: 2.0.0 - tinyrainbow: 3.1.0 + tinyrainbow: 3.1.1 accepts@2.0.0: dependencies: mime-types: 3.0.2 negotiator: 1.0.0 - acorn-typescript@1.4.13(acorn@8.17.0): + acorn-typescript@1.4.13(acorn@8.18.0): dependencies: - acorn: 8.17.0 + acorn: 8.18.0 - acorn@8.17.0: {} + acorn@8.18.0: {} agent-base@7.1.4: {} @@ -4933,7 +4979,7 @@ snapshots: ajv@8.20.0: dependencies: fast-deep-equal: 3.1.3 - fast-uri: 3.1.4 + fast-uri: 3.1.5 json-schema-traverse: 1.0.0 require-from-string: 2.0.2 @@ -4975,7 +5021,7 @@ snapshots: balanced-match@4.0.4: {} - baseline-browser-mapping@2.11.4: {} + baseline-browser-mapping@2.11.10: {} before-after-hook@4.0.0: {} @@ -4993,7 +5039,7 @@ snapshots: transitivePeerDependencies: - supports-color - brace-expansion@5.0.8: + brace-expansion@5.0.9: dependencies: balanced-match: 4.0.4 @@ -5003,15 +5049,15 @@ snapshots: browserslist@4.28.7: dependencies: - baseline-browser-mapping: 2.11.4 + baseline-browser-mapping: 2.11.10 caniuse-lite: 1.0.30001806 - electron-to-chromium: 1.5.396 + electron-to-chromium: 1.5.399 node-releases: 2.0.51 update-browserslist-db: 1.2.3(browserslist@4.28.7) bun-types@1.3.14: dependencies: - '@types/node': 26.1.1 + '@types/node': 26.1.2 bytes@3.1.2: {} @@ -5109,7 +5155,7 @@ snapshots: dependencies: '@conventional-changelog/template': 1.2.1 - conventional-commits-parser@7.1.1: + conventional-commits-parser@7.1.2: dependencies: '@simple-libs/stream-utils': 2.0.0 argue-cli: 3.1.0 @@ -5127,9 +5173,9 @@ snapshots: object-assign: 4.1.1 vary: 1.1.2 - cosmiconfig-typescript-loader@6.3.0(@types/node@26.1.1)(cosmiconfig@9.0.2(typescript@7.0.2))(typescript@7.0.2): + cosmiconfig-typescript-loader@6.3.0(@types/node@26.1.2)(cosmiconfig@9.0.2(typescript@7.0.2))(typescript@7.0.2): dependencies: - '@types/node': 26.1.1 + '@types/node': 26.1.2 cosmiconfig: 9.0.2(typescript@7.0.2) jiti: 2.6.1 typescript: 7.0.2 @@ -5138,7 +5184,7 @@ snapshots: dependencies: env-paths: 2.2.1 import-fresh: 3.3.1 - js-yaml: 4.3.0 + js-yaml: 4.3.1 parse-json: 5.2.0 optionalDependencies: typescript: 7.0.2 @@ -5192,13 +5238,13 @@ snapshots: find-my-way-ts: 0.1.6 ini: 7.0.0 kubernetes-types: 1.30.0 - msgpackr: 2.0.4 + msgpackr: 2.0.5 multipasta: 0.2.8 toml: 4.3.0 uuid: 14.0.1 yaml: 2.9.0 - electron-to-chromium@1.5.396: {} + electron-to-chromium@1.5.399: {} emoji-regex@10.6.0: {} @@ -5285,7 +5331,7 @@ snapshots: dependencies: debug: 4.4.3(supports-color@7.2.0) express: 5.2.1(supports-color@7.2.0) - ip-address: 10.3.1 + ip-address: 10.4.0 transitivePeerDependencies: - supports-color @@ -5344,7 +5390,7 @@ snapshots: dependencies: fast-string-truncated-width: 3.0.3 - fast-uri@3.1.4: {} + fast-uri@3.1.5: {} fast-wrap-ansi@0.2.2: dependencies: @@ -5432,7 +5478,7 @@ snapshots: glob@13.0.6: dependencies: - minimatch: 10.2.5 + minimatch: 10.2.6 minipass: 7.1.3 path-scurry: 2.0.2 @@ -5449,7 +5495,7 @@ snapshots: merge2: 1.4.1 slash: 3.0.0 - globby@16.2.1: + globby@16.2.2: dependencies: '@sindresorhus/merge-streams': 4.0.0 fast-glob: 3.3.3 @@ -5468,7 +5514,7 @@ snapshots: dependencies: function-bind: 1.1.2 - hono@4.12.32: {} + hono@4.12.33: {} html-escaper@2.0.2: {} @@ -5587,7 +5633,7 @@ snapshots: transitivePeerDependencies: - supports-color - ip-address@10.3.1: {} + ip-address@10.4.0: {} ipaddr.js@1.9.1: {} @@ -5649,17 +5695,17 @@ snapshots: jju@1.4.0: {} - jose@6.2.4: {} + jose@6.2.7: {} js-tokens@10.0.0: {} js-tokens@4.0.0: {} - js-yaml@4.3.0: + js-yaml@4.3.1: dependencies: argparse: 2.0.1 - js-yaml@5.2.1: + js-yaml@5.2.2: dependencies: argparse: 2.0.1 @@ -5745,11 +5791,11 @@ snapshots: dependencies: uc.micro: 2.1.0 - lint-staged@17.2.0: + lint-staged@17.3.0: dependencies: picomatch: 4.0.5 string-argv: 0.3.2 - tinyexec: 1.2.4 + tinyexec: 1.3.0 optionalDependencies: yaml: 2.9.0 @@ -5769,10 +5815,10 @@ snapshots: dependencies: '@jridgewell/sourcemap-codec': 1.5.5 - magicast@0.5.3: + magicast@0.5.4: dependencies: - '@babel/parser': 7.29.7 - '@babel/types': 7.29.7 + '@babel/parser': 7.29.8 + '@babel/types': 7.29.8 source-map-js: 1.2.1 make-dir@4.0.0: @@ -5808,23 +5854,23 @@ snapshots: markdown-table@3.0.4: {} - markdownlint-cli2-formatter-codequality@0.0.7(markdownlint-cli2@0.23.1(supports-color@7.2.0)): + markdownlint-cli2-formatter-codequality@0.0.7(markdownlint-cli2@0.23.2(supports-color@7.2.0)): dependencies: - markdownlint-cli2: 0.23.1(supports-color@7.2.0) + markdownlint-cli2: 0.23.2(supports-color@7.2.0) - markdownlint-cli2-formatter-default@0.0.6(markdownlint-cli2@0.23.1(supports-color@7.2.0)): + markdownlint-cli2-formatter-default@0.0.6(markdownlint-cli2@0.23.2(supports-color@7.2.0)): dependencies: - markdownlint-cli2: 0.23.1(supports-color@7.2.0) + markdownlint-cli2: 0.23.2(supports-color@7.2.0) - markdownlint-cli2@0.23.1(supports-color@7.2.0): + markdownlint-cli2@0.23.2(supports-color@7.2.0): dependencies: - globby: 16.2.1 - js-yaml: 5.2.1 + globby: 16.2.2 + js-yaml: 5.2.2 jsonc-parser: 3.3.1 jsonpointer: 5.0.1 markdown-it: 14.3.0 markdownlint: 0.41.1(supports-color@7.2.0) - markdownlint-cli2-formatter-default: 0.0.6(markdownlint-cli2@0.23.1(supports-color@7.2.0)) + markdownlint-cli2-formatter-default: 0.0.6(markdownlint-cli2@0.23.2(supports-color@7.2.0)) micromatch: 4.0.8 smol-toml: 1.7.0 transitivePeerDependencies: @@ -6189,9 +6235,9 @@ snapshots: mimic-fn@2.1.0: {} - minimatch@10.2.5: + minimatch@10.2.6: dependencies: - brace-expansion: 5.0.8 + brace-expansion: 5.0.9 minipass-collect@2.0.1: dependencies: @@ -6241,7 +6287,7 @@ snapshots: '@msgpackr-extract/msgpackr-extract-win32-x64': 3.0.4 optional: true - msgpackr@2.0.4: + msgpackr@2.0.5: optionalDependencies: msgpackr-extract: 3.0.4 @@ -6335,7 +6381,7 @@ snapshots: pkce-challenge@5.0.1: {} - postcss@8.5.23: + postcss@8.5.25: dependencies: nanoid: 3.3.16 picocolors: 1.1.1 @@ -6426,26 +6472,26 @@ snapshots: reusify@1.1.0: {} - rolldown@1.1.5: + rolldown@1.2.1: dependencies: - '@oxc-project/types': 0.139.0 + '@oxc-project/types': 0.142.0 '@rolldown/pluginutils': 1.0.1 optionalDependencies: - '@rolldown/binding-android-arm64': 1.1.5 - '@rolldown/binding-darwin-arm64': 1.1.5 - '@rolldown/binding-darwin-x64': 1.1.5 - '@rolldown/binding-freebsd-x64': 1.1.5 - '@rolldown/binding-linux-arm-gnueabihf': 1.1.5 - '@rolldown/binding-linux-arm64-gnu': 1.1.5 - '@rolldown/binding-linux-arm64-musl': 1.1.5 - '@rolldown/binding-linux-ppc64-gnu': 1.1.5 - '@rolldown/binding-linux-s390x-gnu': 1.1.5 - '@rolldown/binding-linux-x64-gnu': 1.1.5 - '@rolldown/binding-linux-x64-musl': 1.1.5 - '@rolldown/binding-openharmony-arm64': 1.1.5 - '@rolldown/binding-wasm32-wasi': 1.1.5 - '@rolldown/binding-win32-arm64-msvc': 1.1.5 - '@rolldown/binding-win32-x64-msvc': 1.1.5 + '@rolldown/binding-android-arm64': 1.2.1 + '@rolldown/binding-darwin-arm64': 1.2.1 + '@rolldown/binding-darwin-x64': 1.2.1 + '@rolldown/binding-freebsd-x64': 1.2.1 + '@rolldown/binding-linux-arm-gnueabihf': 1.2.1 + '@rolldown/binding-linux-arm64-gnu': 1.2.1 + '@rolldown/binding-linux-arm64-musl': 1.2.1 + '@rolldown/binding-linux-ppc64-gnu': 1.2.1 + '@rolldown/binding-linux-s390x-gnu': 1.2.1 + '@rolldown/binding-linux-x64-gnu': 1.2.1 + '@rolldown/binding-linux-x64-musl': 1.2.1 + '@rolldown/binding-openharmony-arm64': 1.2.1 + '@rolldown/binding-wasm32-wasi': 1.2.1 + '@rolldown/binding-win32-arm64-msvc': 1.2.1 + '@rolldown/binding-win32-x64-msvc': 1.2.1 router@2.2.0(supports-color@7.2.0): dependencies: @@ -6563,7 +6609,7 @@ snapshots: socks@2.8.9: dependencies: - ip-address: 10.3.1 + ip-address: 10.4.0 smart-buffer: 4.2.0 source-map-js@1.2.1: {} @@ -6630,21 +6676,19 @@ snapshots: tinybench@2.9.0: {} - tinyexec@1.2.4: {} + tinyexec@1.3.0: {} tinyglobby@0.2.17: dependencies: fdir: 6.5.0(picomatch@4.0.5) picomatch: 4.0.5 - tinyrainbow@3.1.0: {} + tinyrainbow@3.1.1: {} to-regex-range@5.0.1: dependencies: is-number: 7.0.0 - toad-cache@3.7.4: {} - toidentifier@1.0.1: {} toml@4.3.0: {} @@ -6659,14 +6703,14 @@ snapshots: optionalDependencies: fsevents: 2.3.3 - turbo@2.10.7: + turbo@2.10.8: optionalDependencies: - '@turbo/darwin-64': 2.10.7 - '@turbo/darwin-arm64': 2.10.7 - '@turbo/linux-64': 2.10.7 - '@turbo/linux-arm64': 2.10.7 - '@turbo/windows-64': 2.10.7 - '@turbo/windows-arm64': 2.10.7 + '@turbo/darwin-64': 2.10.8 + '@turbo/darwin-arm64': 2.10.8 + '@turbo/linux-64': 2.10.8 + '@turbo/linux-arm64': 2.10.8 + '@turbo/windows-64': 2.10.8 + '@turbo/windows-arm64': 2.10.8 type-fest@5.8.0: dependencies: @@ -6771,25 +6815,25 @@ snapshots: '@types/unist': 3.0.3 vfile-message: 4.0.3 - vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0): + vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0): dependencies: lightningcss: 1.33.0 picomatch: 4.0.5 - postcss: 8.5.23 - rolldown: 1.1.5 + postcss: 8.5.25 + rolldown: 1.2.1 tinyglobby: 0.2.17 optionalDependencies: - '@types/node': 26.1.1 + '@types/node': 26.1.2 esbuild: 0.28.1 fsevents: 2.3.3 jiti: 2.7.0 tsx: 4.23.1 yaml: 2.9.0 - vitest@4.1.10(@types/node@26.1.1)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)): + vitest@4.1.10(@types/node@26.1.2)(@vitest/coverage-istanbul@4.1.10)(@vitest/coverage-v8@4.1.10)(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)): dependencies: '@vitest/expect': 4.1.10 - '@vitest/mocker': 4.1.10(vite@8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) + '@vitest/mocker': 4.1.10(vite@8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0)) '@vitest/pretty-format': 4.1.10 '@vitest/runner': 4.1.10 '@vitest/snapshot': 4.1.10 @@ -6803,13 +6847,13 @@ snapshots: picomatch: 4.0.5 std-env: 4.2.0 tinybench: 2.9.0 - tinyexec: 1.2.4 + tinyexec: 1.3.0 tinyglobby: 0.2.17 - tinyrainbow: 3.1.0 - vite: 8.1.5(@types/node@26.1.1)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0) + tinyrainbow: 3.1.1 + vite: 8.2.0(@types/node@26.1.2)(esbuild@0.28.1)(jiti@2.7.0)(tsx@4.23.1)(yaml@2.9.0) why-is-node-running: 2.3.0 optionalDependencies: - '@types/node': 26.1.1 + '@types/node': 26.1.2 '@vitest/coverage-istanbul': 4.1.10(supports-color@7.2.0)(vitest@4.1.10) '@vitest/coverage-v8': 4.1.10(vitest@4.1.10) transitivePeerDependencies: @@ -6862,7 +6906,7 @@ snapshots: dependencies: consola: 2.15.3 globby: 11.1.0 - js-yaml: 4.3.0 + js-yaml: 4.3.1 nconf: 0.12.1 yaml@2.9.0: {} diff --git a/src/CLAUDE.md b/src/CLAUDE.md index 9095f179..3a1bda9e 100644 --- a/src/CLAUDE.md +++ b/src/CLAUDE.md @@ -1,275 +1,76 @@ -# src/CLAUDE.md - -Source code architecture, build process, and development guidelines for the silk-runtime-action. - -**See also:** [Root CLAUDE.md](../CLAUDE.md) for repository overview. - -## Architecture Overview - -The action is written as an **Effect-based program** using `@savvy-web/github-action-effects` (range declared in `package.json`) for GitHub Action service abstractions. All side effects (file I/O, command execution, caching, outputs) flow through Effect services rather than direct API calls. - -Key architectural properties: - -- **Zero `@actions/*` dependencies** -- `github-action-effects` implements the GitHub Actions runtime protocol natively (V2 Twirp protocol with Azure Blob Storage for caching, native process execution, etc.) -- **Inputs via Effect Config API** -- `Config.string`, `Config.boolean`, `Config.withDefault` backed by a `ConfigProvider` that reads GitHub Actions input environment variables; `ActionInput.*` combinators for multi-value inputs -- **Logging via Step.\* namespace** -- `Step.groupStep` for collapsible sections that buffer output and expand on failure; `Step.success` for canonical success lines -- **Build via rsbuild** -- `@savvy-web/github-action-builder` uses rsbuild under the hood; `entries.workers` bundles the detached `turbo-server.ts` as a third entry - -For a full architectural spec see `.claude/design/silk-runtime-action/architecture.md`. - -## Entry Points - -The action has two lifecycle hooks plus a detached worker bundle: - -```yaml -runs: - using: "node24" - main: "dist/main.js" - post: "dist/post.js" -``` - -- **[main.ts](main.ts)** -> `dist/main.js` -- Thin entry that calls `Action.run(program, { layer: MainLive })` -- **[program.ts](program.ts)** -> `dist/main.js` (bundled) -- Effect pipeline that detects config, installs runtimes, sets up package manager, caches dependencies, optionally starts the embedded turbo remote cache, and sets outputs -- **[post.ts](post.ts)** -> `dist/post.js` -- Saves the dependency cache and stops the turbo cache server after the job completes; reads `CacheState`/`TurboServerState` from main, no-op on exact hit (non-fatal; errors and defects are logged as warnings via `Effect.catch` + `Effect.catchDefect`) -- **[turbo-server.ts](turbo-server.ts)** -> `dist/turbo-server.js` -- Detached turbo remote-cache server spawned by main (not a lifecycle hook); built as a third entry via `entries.workers` - -## Source Modules - -### [main.ts](main.ts) - -3-line thin entry. Imports `program` from `program.ts` and `MainLive` from `layers/app.ts`; calls `Action.run(program, { layer: MainLive })`. - -### [program.ts](program.ts) - -Top-level Effect pipeline (the main phase). Contains the `program` export plus helper functions: - -- `installBiome` -- Installs Biome as a raw binary via `ToolInstaller.download` + `ToolInstaller.cacheFile` -- `installDependencies` -- Lockfile-aware install for the detected package manager -- `setupPackageManager` -- Activates the correct PM version via corepack or npm global install -- `getActivePackageManagers` -- Determines which PMs are active from runtimes -- turbo cache activation -- delegates to `services/turbo-cache/apply.ts` (`turboLocalCachePaths` selects `**/.turbo/cache`, excluding `.turbo/runs`) -- `setOutputs` -- Sets all action outputs from pipeline results - -### [post.ts](post.ts) - -Post-action: reads `CacheState` via `ActionState.getOptional`, skips when missing or `restored===true`, otherwise calls `saveCache()` inside a `Step.groupStep`; also reads `TurboServerState` and stops the embedded turbo cache server. Wrapped in `Effect.catch` + `Effect.catchDefect` so post-action failures never fail the workflow. - -### [state.ts](state.ts) - -Cross-phase state schemas. Exports `CacheState` (`Schema.Class` with `key`, `paths`, `restored`), `TurboServerState` (embedded cache server pid/port for post-action teardown), and `STATE_KEYS` constant for use with `ActionState.save`/`get`. - -### [layers/app.ts](layers/app.ts) - -`MainLive` layer composition. Merges every library and Node platform layer the program needs: `ActionCacheLive` (provided `NodeHttpClient.layerUndici`), `ToolInstallerLive`, `CommandRunnerLive`, `ActionStateLive` (provided `NodeFileSystem.layer`), `ActionEnvironmentLive`, `GlobLive`, `NodeFileSystem.layer`. Node layers come from `@effect/platform-node`; `FileSystem` itself is core `effect` (v4). - -### [services/cache.ts](services/cache.ts) - -Effect functions backed by `ActionCache`, `ActionState`, `ActionEnvironment`, `CommandRunner`, and library `Glob` services: - -- `getDefaultCachePaths` / `getLockfilePatterns` -- Pure helpers per package manager -- `detectCachePath` -- Queries the installed PM for its actual cache directory (e.g., `pnpm store path`) -- `getCacheConfig` / `getCombinedCacheConfig` -- Merges configs for active PMs and adds tool cache paths -- `findLockFiles` -- Resolves lockfile patterns via `Glob.glob` (newline-separated patterns; `!`-prefix excludes) -- `generateCacheKey` / `generateRestoreKeys` -- Deterministic keys from runtime versions, PM version, branch, lockfile hashes (via `Glob.hashFiles`) -- `restoreCache` -- Restores cache via `ActionCache` (V2 Twirp) and saves `CacheState` for the post action -- `saveCache` -- Reads state saved by `restoreCache` and saves only when previous restore was not an exact hit - -### [services/runtime-installer.ts](services/runtime-installer.ts) - -- `RuntimeDescriptor` interface -- Describes how to download and install a tool -- `RuntimeInstallerShape` interface -- Service shape with a single `install(version)` method -- `RuntimeInstaller` `Context.Service` class (v4 form: `Context.Service<RuntimeInstaller, RuntimeInstallerShape>()("RuntimeInstaller")`) -- callers `yield* RuntimeInstaller` -- `makeRuntimeInstaller` -- Factory that builds a `RuntimeInstallerShape` from a descriptor; uses `ToolInstaller` primitives (`download`, `extractTar`/`extractZip`, `cacheDir`); wraps failures in `RuntimeInstallError` via `Effect.catch` -- Pre-built layers: `NodeInstallerLive`, `BunInstallerLive`, `DenoInstallerLive` -- `installerLayerFor(name)` -- Returns the appropriate layer by runtime name - -### [services/config-loader.ts](services/config-loader.ts) - -Pure Effect functions for configuration loading and detection: - -- `loadPackageJson` -- Reads `package.json` via core-`effect` `FileSystem`, parses with `Jsonc` (`@effected/jsonc`), decodes via Schema, wraps failures in `ConfigError` -- `parseDevEngines` -- Normalises `devEngines.runtime` from object/array to always-array -- `detectBiome` -- Checks `biome-version` input, then reads `$schema` from `biome.jsonc`/`biome.json` -- `detectTurbo` -- Returns `true` if `turbo.json` exists - -### [services/summary.ts](services/summary.ts) - -Runtime-setup logging helpers: builds the job-summary panel via `GithubMarkdown.*` and formats the enriched per-step lines emitted during setup. - -### [services/turbo-cache/](services/turbo-cache/) - -Embedded turbo remote cache implementation, orchestrated by `apply.ts` and wired into `program.ts`: - -- `codec.ts` -- Turbo artifact byte codec (round-trips `x-artifact-duration`) -- `activation.ts` -- Resolves cache mode/backend (`github` | `s3` | `remote` | `none`) from inputs and `turbo.json` detection -- `handler.ts` -- Turbo `/v8/artifacts` HTTP contract implemented over a library `BlobStore` -- `lifecycle.ts` -- Spawns/waits-for/stops the detached `turbo-server.ts`; persists `TurboServerState` -- `apply.ts` -- Top-level orchestration the program calls to activate and start the cache - -For the full design see `.claude/design/silk-runtime-action/turbo-remote-cache.md`. - -### [schemas/domain.ts](schemas/domain.ts) - -Effect Schema definitions: - -- `AbsoluteVersion` -- Rejects semver range operators -- `RuntimeName` / `PackageManagerName` -- `Schema.Literals` unions -- `RuntimeEntry` / `PackageManagerEntry` -- Validated structs -- `DevEngines` -- Complete devEngines schema - -### [errors/errors.ts](errors/errors.ts) - -`Schema.TaggedErrorClass` hierarchy (v4) with computed `.message` getters; payloads validated and round-trip cleanly through `ActionState`: - -| Tag | Fields | When thrown | -| --- | ------- | ----------- | -| `ConfigError` | `reason`, `file?`, `cause?` | Invalid/missing `package.json` or `devEngines` | -| `RuntimeInstallError` | `runtime`, `version`, `reason`, `cause?` | Runtime download or setup failure | -| `PackageManagerSetupError` | `packageManager`, `version`, `reason`, `cause?` | PM setup failure (corepack/npm) | -| `DependencyInstallError` | `packageManager`, `reason`, `cause?` | npm/pnpm/yarn/bun install failure | -| `CacheError` | `operation`, `reason`, `cause?` | Cache restore/save/key-generation failure | -| `ActionError` | union | Union type for exhaustive `Effect.catchTag` | - -### [descriptors/](descriptors/) - -One file per installable runtime (`node.ts`, `bun.ts`, `deno.ts`). Each exports a `descriptor` conforming to `RuntimeDescriptor`. `biome.ts` exports a `binaryMap` (platform/arch to binary name) since Biome is a single-binary download handled directly by `installBiome()`. - -## Build Process - -Build is configured in [`action.config.ts`](../action.config.ts) at the repo root: - -```typescript -export default defineConfig({ - entries: { - main: "src/main.ts", - post: "src/post.ts", - workers: { "turbo-server": "src/turbo-server.ts" }, - }, - build: { minify: true }, - persistLocal: { enabled: true, path: ".github/actions/local" }, -}); +# src/ + +Effect v4 + `@effected/*`. The rebuild is complete: every step is implemented, tested and +composed end to end. + +## File map + +```text +main.ts # Action.run(program, { layer: MainLive }) +post.ts # post Effect + guarded Action.run(…, { layer: PostLive }) +program.ts # main pipeline: inputs → steps → outputs, plus the joins + # that need two steps' results at once. No I/O, no formatting. +turbo-server.ts # detached cache-server entry: http plumbing only, imported + # by nothing; every decision lives in turbo-cache/ +state.ts # STATE_KEYS + CacheState + TurboServerState (Schema.Class) +layers/app.ts # MainLive (ActionCache + PackageManagerInstaller over + # ToolInstaller) / PostLive (ActionCache) — only what + # ActionServices lacks +schema/domain.ts # RuntimeName, PackageManagerName, AbsoluteVersion + # (@effected/semver ExactVersionString), RuntimeSpec, + # PackageManagerSpec, RuntimeConfig, ConfigError +schema/inputs.ts # INPUT_NAMES + Inputs + loadInputs (ActionInput Config) +schema/outputs.ts # OUTPUT_NAMES + OutputsModel + initialOutputs + emitOutputs +summary/format.ts # every string this action renders — see below +turbo-cache/ # activation (the backend-selection table), meta + # (TurboArtifactMeta envelope schema), handler + # (routes/auth/keys), server-config (TURBOGHA_* env → + # backend layer) +descriptors/ # descriptor.ts (RuntimePlan/RuntimeDescriptor) + node, bun, + # deno, biome — pure per-host URL/archive/subpath resolution +steps/ # one contract module per pipeline step, in runner order: + # load-config, detect-biome, detect-turbo, cache-config, + # restore-cache, install-runtimes, setup-package-manager, + # install-dependencies, install-biome, turbo-cache, summary ``` -Run the build: - -```bash -pnpm build -``` - -This uses `@savvy-web/github-action-builder` (rsbuild-based) to bundle all three entry points (`main`, `post`, and the `turbo-server` worker) to `dist/` and copy a testing variant to `.github/actions/local/`. - -**Always commit `dist/` and `.github/actions/local/` after building.** - -## TypeScript Configuration - -- `module: "ESNext"`, `moduleResolution: "bundler"`, `target: "ES2022"`, `strict: true`, `noEmit: true` -- All imports must use `.js` extensions (enforced by Biome) -- Built-in Node.js modules must use the `node:` protocol (enforced by Biome) -- Separate type imports from value imports (enforced by Biome) - -## Development Workflow - -```bash -# 1. Edit source -vim src/services/config-loader.ts - -# 2. Type-check -pnpm typecheck - -# 3. Run tests -pnpm test - -# 4. Lint -pnpm lint:fix - -# 5. Build -pnpm build - -# 6. Commit source AND dist -git add src/ dist/ .github/actions/local/ -git commit -m "feat: ..." -``` - -## Effect Patterns - -### Service injection - -All services (`FileSystem`, `CommandRunner`, `ActionOutputs`, `ToolInstaller`, etc.) are provided via `Effect.provide` or as layers. Never import `@actions/*` packages directly -- they are not dependencies of this project. - -### Input reading - -Action inputs are read via the Effect `Config` API and library `ActionInput.*` combinators at point of use: - -```typescript -const installDeps = yield* ActionInput.boolean("install-deps").pipe(Config.withDefault(true)); -const biomeVersion = yield* Config.string("biome-version").pipe(Config.withDefault("")); -const additionalLockfiles = yield* ActionInput.multiline("additional-lockfiles").pipe(Config.withDefault([])); -``` - -`Action.run` sets up a `ConfigProvider` that reads from GitHub Actions input environment variables (`INPUT_*`). `ActionInput.multiline` splits on `\n` and trims; it does not parse comma-separated, bullets, or JSON arrays -- use newline-separated input. - -### Step.groupStep convention - -Each phase of the main program is wrapped in `Step.groupStep(title, effect)`. This: - -- Buffers log lines emitted inside the group -- Collapses the group in CI when successful (quiet-on-success) -- Expands and prints buffered lines when the group fails (verbose-on-failure) - -Use `Step.success("X")` inside a group body to emit a canonical success-line for the group's summary. - -```typescript -yield* Step.groupStep("Install runtimes", Effect.forEach(config.runtimes, (rt) => /* ... */)); -yield* Step.success(`Biome ${version}`); -``` - -### Error handling - -Use tagged errors (`ConfigError`, `RuntimeInstallError`, etc.) and handle them with `Effect.catchTag`. Non-fatal steps use `Effect.catch` or `Effect.catchTag` to demote failures to warnings. - -### Testing - -Tests use library-provided test layers from `@savvy-web/github-action-effects/testing`: - -```typescript -import { ActionOutputsTest } from "@savvy-web/github-action-effects/testing"; -const outputs = ActionOutputsTest.empty(); -const layer = ActionOutputsTest.layer(outputs); -await program.pipe(Effect.provide(layer), Effect.runPromise); -expect(outputs.outputs.find((o) => o.name === "node-version")?.value).toBe("24.11.0"); -``` - -Test layers expose mutable state objects that capture method calls. Asserting against the state is preferred over mocking individual methods. For failure-injection cases (e.g., simulating `ActionCache.save` errors), a hand-rolled `Layer.succeed(Tag, {...})` mock is still acceptable. - -Action inputs are overridden via `ConfigProvider.fromUnknown({ "input-name": "value" })`. - -Tests are co-located with their source modules. See [errors/errors.test.ts](errors/errors.test.ts), [services/cache.test.ts](services/cache.test.ts), [program.test.ts](program.test.ts), [post.test.ts](post.test.ts) for representative patterns. - -## Common Issues - -### Changes don't take effect in CI - -Run `pnpm build` and commit `dist/` + `.github/actions/local/`. - -### Import not found - -Add the `.js` extension to all local imports. - -### Effect service not provided - -Ensure the required service is included in the layer passed to `Effect.provide` or `Action.run`. - -## Related Documentation - -- [Root CLAUDE.md](../CLAUDE.md) - Repository overview -- [**fixtures**/CLAUDE.md](../__fixtures__/CLAUDE.md) - Integration testing -- [Effect Documentation](https://effect.website/docs) - Effect framework reference - -### Design Documentation - -For deep architectural details: - -- **Architecture:** `@../.claude/design/silk-runtime-action/architecture.md` -- **Effect Service Model:** `@../.claude/design/silk-runtime-action/effect-service-model.md` -- **Runtime Installation:** `@../.claude/design/silk-runtime-action/runtime-installation.md` -- **Caching Strategy:** `@../.claude/design/silk-runtime-action/caching-strategy.md` +Detection precedes the cache restore, and the restore precedes every install — +the legacy ordering (`legacy-v1/program.ts:382-411,476`). The cache key is derived from the +resolved Biome version and turbo's presence, and a restore that lands is what makes the +installs after it cheap. + +`cache-config.ts` is the pure half of the cache step: `lockfilePatterns`, `cachePaths`, +`keySegments`, `RESTORE_DEPTHS`, `TURBO_LOCAL_CACHE_PATHS`. `restore-cache.ts` is the +effectful half that hashes, restores and writes `CacheState`. + +## `summary/` — the parity surface + +`summary/format.ts` is pure and service-free: `formatDetectLine` (the one-line "Detected …" +headline), `formatTurboLine` (backend + port), `cacheCell` and `buildRuntimeSummary` (the +job-summary panel, via `GitHubMarkdown`). Its prose is what a consumer sees in their +workflow log and job summary, so it is pinned **codepoint-verbatim** against the legacy +surface in `__test__/unit/summary/format.test.ts`. Two separator conventions coexist on +purpose (ruling 54): the detect line and panel join name to version with a **space**, the +log groups and `Detected …` info lines use `@`. Do not harmonize them. + +Everything effectful about the summary — reading `ActionOutputs`, writing the panel — +stays in `steps/summary.ts`. + +## The step-contract rule + +Per `steps/` module, each a contract change if touched: a declared **result type**, a +**`Data.TaggedError`** with a `reason` literal union (`load-config` reuses `ConfigError` +from `schema/domain.ts`; `cache-config` is pure and has none), and an **explicitly +annotated `R`** — never let `R` be inferred. `program.ts`'s `R` is the union of every +step's; `MainLive` supplies only what `ActionServices` lacks. + +## Conventions + +- **Tests live in `__test__/unit/`**, mirroring this tree — never co-located. +- **`ProcessId.make`, never `makeUnsafe`** — `makeUnsafe` typechecks through test doubles + then dies at runtime where `catchDefect` goes blind. +- **API authority:** `docs/superpowers/reference/effected-api-dossier.md`, then the + installed `.d.ts`, then `.repos/effect` (read-only, pinned to beta.101). +- **Design:** `docs/superpowers/specs/2026-07-28-effected-rebuild-design.md`. +- **Legacy oracle:** `docs/superpowers/reference/legacy-v1/` — cite it for behavior + questions; **never import from it**. diff --git a/src/descriptors/biome.ts b/src/descriptors/biome.ts index 133257d5..82699d00 100644 --- a/src/descriptors/biome.ts +++ b/src/descriptors/biome.ts @@ -1,24 +1,71 @@ +import { Result } from "effect"; + /** - * Biome CLI binary name map. + * Everything the installer needs to put Biome on the runner, resolved for one + * host. * - * Biome is a single binary download (not an archive), so it doesn't use - * the RuntimeInstaller pattern. This map is imported by installBiome() - * in main.ts to construct the download URL. + * @remarks + * Not a {@link RuntimePlan}: Biome ships a bare executable, so there is no + * archive, no extraction and no layout fixup — the two fields left are the only + * two that vary. `ToolInstaller.provisionFile` takes exactly this pair. + */ +export interface BiomePlan { + /** Where the executable is fetched from. */ + readonly url: string; + /** + * The name the executable is cached under, and therefore what it is invoked + * as once its directory is on the `PATH`. + * + * @remarks + * Deliberately *not* the asset's own name: the release asset is + * `biome-linux-x64`, and caching it under that name would put a tool on the + * `PATH` that answers to a host-specific spelling nobody writes in a + * workflow. v1 renamed it the same way (oracle 17). + */ + readonly binary: string; +} + +/** + * Biome's release assets, by platform and arch (oracle 14). * - * URL format: https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40{version}/{binaryName} + * @remarks + * The six combinations biome publishes, verbatim — no musl variant and no + * freebsd, so a musl runner resolves the gnu asset exactly as v1 did. The + * `.exe` suffix is part of the asset name on Windows and is not derived. */ +const ASSETS: Record<string, Record<string, string>> = { + linux: { x64: "biome-linux-x64", arm64: "biome-linux-arm64" }, + darwin: { x64: "biome-darwin-x64", arm64: "biome-darwin-arm64" }, + win32: { x64: "biome-win32-x64.exe", arm64: "biome-win32-arm64.exe" }, +}; -export const binaryMap: Record<string, Record<string, string>> = { - linux: { - x64: "biome-linux-x64", - arm64: "biome-linux-arm64", - }, - darwin: { - x64: "biome-darwin-x64", - arm64: "biome-darwin-arm64", - }, - win32: { - x64: "biome-win32-x64.exe", - arm64: "biome-win32-arm64.exe", +/** + * The release tag's npm-package prefix, percent-encoded. + * + * @remarks + * biome tags releases as `@biomejs/biome@2.4.9`, and both the `@` and the `/` + * have to be encoded to survive the url path. The version itself is + * interpolated unencoded, matching v1 (oracle 16) — a version with a character + * needing encoding is not a version biome has ever published. + */ +const TAG_PREFIX = "%40biomejs%2Fbiome%40"; + +/** + * Biome, from its GitHub releases. + * + * @remarks + * Pure and total in the same sense as the runtime descriptors: the host is an + * **argument**, so every platform is exercisable in a unit test. v1 read + * `os.platform()` inside the install step, which is why no v1 test ever covered + * a second platform (oracle 13). + */ +export const biome = { + plan: (version: string, platform: string, arch: string): Result.Result<BiomePlan, string> => { + const asset = ASSETS[platform]?.[arch]; + if (asset === undefined) return Result.fail(`Unsupported platform for Biome: ${platform}-${arch}`); + return Result.succeed({ + url: `https://github.com/biomejs/biome/releases/download/${TAG_PREFIX}${version}/${asset}`, + binary: platform === "win32" ? "biome.exe" : "biome", + }); }, }; diff --git a/src/descriptors/bun.ts b/src/descriptors/bun.ts index 56be72e1..9502c2f3 100644 --- a/src/descriptors/bun.ts +++ b/src/descriptors/bun.ts @@ -1,36 +1,31 @@ +import { Result } from "effect"; +import type { RuntimeDescriptor, RuntimePlan } from "./descriptor.js"; + /** - * Bun runtime descriptor. + * Bun, from its GitHub releases. + * + * @remarks + * Windows is pinned to `x64` regardless of the runner's architecture, because + * bun publishes no aarch64 Windows build — an arm64 Windows runner gets the + * x64 artifact and emulation rather than a 404 + * (`legacy-v1/descriptors/bun.ts:11-14`). * - * Downloads from https://github.com/oven-sh/bun/releases/download/bun-v{version}/ - * Archive format: always zip - * Arch mapping: arm64 -> aarch64 - * Platform mapping: win32 -> windows (in archive name) + * The archive's single top-level folder repeats the target name, so the target + * is both the file stem and the wrapper the installer strips before caching. + * The binary sits at the root of that folder, so nothing remains inside the + * cached tool to descend into. */ - -/** Resolve Bun's arch string — arm64 becomes aarch64, Windows always x64. */ -const resolveBunArch = (platform: string, arch: string): string => { - if (platform === "win32") return "x64"; - return arch === "arm64" ? "aarch64" : arch; -}; - -export const descriptor = { - name: "bun", - - getDownloadUrl(version: string, platform: string, arch: string): string { - const bunArch = resolveBunArch(platform, arch); - const bunPlatform = platform === "win32" ? "windows" : platform; - return `https://github.com/oven-sh/bun/releases/download/bun-v${version}/bun-${bunPlatform}-${bunArch}.zip`; - }, - - getToolInstallOptions( - _version: string, - platform: string, - arch: string, - ): { archiveType?: "tar.gz" | "tar.xz" | "zip"; binSubPath?: string } { - const bunArch = resolveBunArch(platform, arch); - const bunPlatform = platform === "win32" ? "windows" : platform; - return { archiveType: "zip", binSubPath: `bun-${bunPlatform}-${bunArch}` }; +export const bun: RuntimeDescriptor = { + plan: (version, platform, arch) => { + const windows = platform === "win32"; + const bunArch = windows ? "x64" : arch === "arm64" ? "aarch64" : arch; + const target = `bun-${windows ? "windows" : platform}-${bunArch}`; + const plan: RuntimePlan = { + url: `https://github.com/oven-sh/bun/releases/download/bun-v${version}/${target}.zip`, + archive: "zip", + archiveSubPath: target, + binary: windows ? "bun.exe" : "bun", + }; + return Result.succeed(plan); }, - - verifyCommand: ["bun", "--version"] as [string, ...string[]], }; diff --git a/src/descriptors/deno.ts b/src/descriptors/deno.ts index d287fa9e..550b418e 100644 --- a/src/descriptors/deno.ts +++ b/src/descriptors/deno.ts @@ -1,45 +1,33 @@ +import { Result } from "effect"; +import type { RuntimeDescriptor, RuntimePlan } from "./descriptor.js"; + /** - * Deno runtime descriptor. - * - * Downloads from https://github.com/denoland/deno/releases/download/v{version}/ - * Archive format: always zip - * Uses Rust target triples for platform/arch identification + * Deno names its artifacts by Rust target triple, so the mapping is a closed + * table rather than a pair of substitutions — and a host outside it is a + * refusal, not a guess (`legacy-v1/descriptors/deno.ts:9-22`). */ - -const targetMap: Record<string, Record<string, string>> = { - linux: { - x64: "x86_64-unknown-linux-gnu", - arm64: "aarch64-unknown-linux-gnu", - }, - darwin: { - x64: "x86_64-apple-darwin", - arm64: "aarch64-apple-darwin", - }, - win32: { - x64: "x86_64-pc-windows-msvc", - }, +const TARGETS: Record<string, Record<string, string>> = { + linux: { x64: "x86_64-unknown-linux-gnu", arm64: "aarch64-unknown-linux-gnu" }, + darwin: { x64: "x86_64-apple-darwin", arm64: "aarch64-apple-darwin" }, + win32: { x64: "x86_64-pc-windows-msvc" }, }; -export const descriptor = { - name: "deno", - - getDownloadUrl(version: string, platform: string, arch: string): string { - const target = targetMap[platform]?.[arch]; - if (!target) { - throw new Error(`Unsupported platform for Deno: ${platform}-${arch}`); - } - - const archiveName = `deno-${target}.zip`; - return `https://github.com/denoland/deno/releases/download/v${version}/${archiveName}`; - }, - - getToolInstallOptions( - _version: string, - _platform: string, - _arch: string, - ): { archiveType?: "tar.gz" | "tar.xz" | "zip"; binSubPath?: string } { - return { archiveType: "zip" }; +/** + * Deno, from its GitHub releases. + * + * @remarks + * The zip holds the binary alone — no wrapper to strip, nothing to descend + * into: the cached tool directory *is* the bin directory. + */ +export const deno: RuntimeDescriptor = { + plan: (version, platform, arch) => { + const target = TARGETS[platform]?.[arch]; + if (target === undefined) return Result.fail(`Unsupported platform for Deno: ${platform}-${arch}`); + const plan: RuntimePlan = { + url: `https://github.com/denoland/deno/releases/download/v${version}/deno-${target}.zip`, + archive: "zip", + binary: platform === "win32" ? "deno.exe" : "deno", + }; + return Result.succeed(plan); }, - - verifyCommand: ["deno", "--version"] as [string, ...string[]], }; diff --git a/src/descriptors/descriptor.ts b/src/descriptors/descriptor.ts new file mode 100644 index 00000000..a036e66e --- /dev/null +++ b/src/descriptors/descriptor.ts @@ -0,0 +1,61 @@ +import type { Result } from "effect"; + +/** + * Everything the installer needs to put one runtime on the runner, resolved + * for one host. + * + * @remarks + * A single value rather than the legacy pair of `getDownloadUrl` + + * `getToolInstallOptions` (`legacy-v1/services/runtime-installer.ts:41-50`), + * because both halves derive from the same platform/arch mapping and computing + * it twice is how the two can disagree — bun's legacy descriptor resolved its + * arch string once per call in each of them. + * + * Both subpaths are **relative** segments, joined by the caller through the + * `Path` service. Legacy had one of them and interpolated it with a hard-coded + * `/` (`:112`), which is wrong on the one platform that needs it. + */ +export interface RuntimePlan { + /** Where the archive is fetched from. */ + readonly url: string; + /** Which extraction the archive needs. */ + readonly archive: "tar.gz" | "zip"; + /** + * The archive's own wrapper directory, stripped **before** the tool is + * cached. + * + * @remarks + * The tool cache is shared: `<RUNNER_TOOL_CACHE>/<tool>/<version>/<arch>` is + * also written by the runner image and by `setup-node`/`setup-bun`, and none + * of those nest the tool inside a `node-v24.11.0-win-x64/` wrapper. Caching + * the wrapper would put a directory at that path that only this action knows + * how to read — and that its **own** cache-hit path could not read either, + * since a hit returns the cached root and has no extracted archive to + * descend into. Stripping it pre-cache keeps the cached root canonical for + * every reader. + */ + readonly archiveSubPath?: string; + /** + * The directory **inside** the cached tool that holds the binary, when it is + * not the root — node's `bin` on Unix, and nothing else so far. + */ + readonly binSubPath?: string; + /** Flags for `tar`, when the archive needs something other than the default. */ + readonly tarFlags?: ReadonlyArray<string>; + /** The binary's file name, including the Windows extension. */ + readonly binary: string; +} + +/** + * A pure mapping from a requested version and a host to a {@link RuntimePlan}. + * + * @remarks + * Pure and total: the host is an **argument**, never `process.platform` read + * inside, so every platform is exercisable in a unit test without monkey + * -patching the process. A host a runtime publishes no build for is a + * `Result` failure carrying the message the installer reports, not a thrown + * exception as in legacy (`legacy-v1/descriptors/deno.ts:29`). + */ +export interface RuntimeDescriptor { + readonly plan: (version: string, platform: string, arch: string) => Result.Result<RuntimePlan, string>; +} diff --git a/src/descriptors/descriptors.test.ts b/src/descriptors/descriptors.test.ts deleted file mode 100644 index 96d7888b..00000000 --- a/src/descriptors/descriptors.test.ts +++ /dev/null @@ -1,176 +0,0 @@ -import { describe, expect, it } from "vitest"; - -import { binaryMap as biomeBinaryMap } from "./biome.js"; -import { descriptor as bun } from "./bun.js"; -import { descriptor as deno } from "./deno.js"; -import { descriptor as node } from "./node.js"; - -// These are pure functions — no mocks, no Effect layers needed. - -describe("node descriptor", () => { - describe("getDownloadUrl", () => { - it("linux/x64", () => { - expect(node.getDownloadUrl("24.11.0", "linux", "x64")).toBe( - "https://nodejs.org/dist/v24.11.0/node-v24.11.0-linux-x64.tar.gz", - ); - }); - - it("darwin/arm64", () => { - expect(node.getDownloadUrl("24.11.0", "darwin", "arm64")).toBe( - "https://nodejs.org/dist/v24.11.0/node-v24.11.0-darwin-arm64.tar.gz", - ); - }); - - it("win32/x64", () => { - expect(node.getDownloadUrl("24.11.0", "win32", "x64")).toBe( - "https://nodejs.org/dist/v24.11.0/node-v24.11.0-win-x64.zip", - ); - }); - - it("linux/arm maps to armv7l", () => { - expect(node.getDownloadUrl("24.11.0", "linux", "arm")).toBe( - "https://nodejs.org/dist/v24.11.0/node-v24.11.0-linux-armv7l.tar.gz", - ); - }); - }); - - describe("getToolInstallOptions", () => { - it("linux → tar.gz with binSubPath bin", () => { - expect(node.getToolInstallOptions("24.11.0", "linux", "x64")).toEqual({ - archiveType: "tar.gz", - binSubPath: "bin", - tarFlags: ["xz", "--strip=1", "-f"], - }); - }); - - it("darwin → tar.gz with binSubPath bin", () => { - expect(node.getToolInstallOptions("24.11.0", "darwin", "arm64")).toEqual({ - archiveType: "tar.gz", - binSubPath: "bin", - tarFlags: ["xz", "--strip=1", "-f"], - }); - }); - - it("win32 → zip with no binSubPath", () => { - const opts = node.getToolInstallOptions("24.11.0", "win32", "x64"); - expect(opts.archiveType).toBe("zip"); - expect(opts.binSubPath).toBeUndefined(); - }); - }); - - it("verifyCommand starts with node", () => { - expect(node.verifyCommand[0]).toBe("node"); - }); -}); - -describe("bun descriptor", () => { - describe("getDownloadUrl", () => { - it("linux/x64", () => { - expect(bun.getDownloadUrl("1.3.3", "linux", "x64")).toBe( - "https://github.com/oven-sh/bun/releases/download/bun-v1.3.3/bun-linux-x64.zip", - ); - }); - - it("darwin/arm64 maps arm64 → aarch64", () => { - const url = bun.getDownloadUrl("1.3.3", "darwin", "arm64"); - expect(url).toContain("bun-darwin-aarch64.zip"); - }); - - it("win32/x64", () => { - const url = bun.getDownloadUrl("1.3.3", "win32", "x64"); - expect(url).toContain("bun-windows-x64.zip"); - }); - - it("linux/arm64 maps arm64 → aarch64", () => { - const url = bun.getDownloadUrl("1.3.3", "linux", "arm64"); - expect(url).toContain("bun-linux-aarch64.zip"); - }); - }); - - describe("getToolInstallOptions", () => { - it("always returns zip with correct binSubPath", () => { - expect(bun.getToolInstallOptions("1.3.3", "linux", "x64")).toEqual({ - archiveType: "zip", - binSubPath: "bun-linux-x64", - }); - expect(bun.getToolInstallOptions("1.3.3", "darwin", "arm64")).toEqual({ - archiveType: "zip", - binSubPath: "bun-darwin-aarch64", - }); - expect(bun.getToolInstallOptions("1.3.3", "win32", "x64")).toEqual({ - archiveType: "zip", - binSubPath: "bun-windows-x64", - }); - }); - }); - - it("verifyCommand starts with bun", () => { - expect(bun.verifyCommand[0]).toBe("bun"); - }); -}); - -describe("deno descriptor", () => { - describe("getDownloadUrl", () => { - it("linux/x64 → x86_64-unknown-linux-gnu", () => { - const url = deno.getDownloadUrl("2.5.6", "linux", "x64"); - expect(url).toContain("deno-x86_64-unknown-linux-gnu.zip"); - }); - - it("darwin/arm64 → aarch64-apple-darwin", () => { - const url = deno.getDownloadUrl("2.5.6", "darwin", "arm64"); - expect(url).toContain("deno-aarch64-apple-darwin.zip"); - }); - - it("win32/x64 → x86_64-pc-windows-msvc", () => { - const url = deno.getDownloadUrl("2.5.6", "win32", "x64"); - expect(url).toContain("deno-x86_64-pc-windows-msvc.zip"); - }); - - it("linux/arm64 → aarch64-unknown-linux-gnu", () => { - const url = deno.getDownloadUrl("2.5.6", "linux", "arm64"); - expect(url).toContain("deno-aarch64-unknown-linux-gnu.zip"); - }); - - it("darwin/x64 → x86_64-apple-darwin", () => { - const url = deno.getDownloadUrl("2.5.6", "darwin", "x64"); - expect(url).toContain("deno-x86_64-apple-darwin.zip"); - }); - - it("throws for unsupported platform", () => { - expect(() => deno.getDownloadUrl("2.5.6", "freebsd", "x64")).toThrow("Unsupported platform for Deno"); - }); - }); - - describe("getToolInstallOptions", () => { - it("always returns zip", () => { - expect(deno.getToolInstallOptions("2.5.6", "linux", "x64")).toEqual({ archiveType: "zip" }); - expect(deno.getToolInstallOptions("2.5.6", "darwin", "arm64")).toEqual({ archiveType: "zip" }); - expect(deno.getToolInstallOptions("2.5.6", "win32", "x64")).toEqual({ archiveType: "zip" }); - }); - }); - - it("verifyCommand starts with deno", () => { - expect(deno.verifyCommand[0]).toBe("deno"); - }); -}); - -describe("biome binaryMap", () => { - it("has entries for linux x64 and arm64", () => { - expect(biomeBinaryMap.linux.x64).toBe("biome-linux-x64"); - expect(biomeBinaryMap.linux.arm64).toBe("biome-linux-arm64"); - }); - - it("has entries for darwin x64 and arm64", () => { - expect(biomeBinaryMap.darwin.x64).toBe("biome-darwin-x64"); - expect(biomeBinaryMap.darwin.arm64).toBe("biome-darwin-arm64"); - }); - - it("has .exe suffix for win32", () => { - expect(biomeBinaryMap.win32.x64).toBe("biome-win32-x64.exe"); - expect(biomeBinaryMap.win32.arm64).toBe("biome-win32-arm64.exe"); - }); - - it("returns undefined for unsupported platforms", () => { - expect(biomeBinaryMap.freebsd).toBeUndefined(); - }); -}); diff --git a/src/descriptors/node.ts b/src/descriptors/node.ts index 681e8060..0586cd95 100644 --- a/src/descriptors/node.ts +++ b/src/descriptors/node.ts @@ -1,41 +1,48 @@ +import { Result } from "effect"; +import type { RuntimeDescriptor, RuntimePlan } from "./descriptor.js"; + /** - * Node.js runtime descriptor. - * - * Downloads from https://nodejs.org/dist/v{version}/ - * Archive format: tar.gz on Unix, zip on Windows + * Node's own arch spelling, where it differs from `process.arch`. * - * Package manager setup (corepack/npm) is handled separately in main.ts - * after all runtimes are installed, matching the old imperative approach. + * @remarks + * Anything unmapped passes through, which is legacy behavior + * (`legacy-v1/descriptors/node.ts:20`): an arch nodejs.org does not publish + * becomes a 404 at download time rather than a resolve failure here. Node + * builds for far more architectures than a fixed table would admit, so + * guessing wrong in the direction of "try it" is the cheaper mistake. */ +const ARCHES: Record<string, string> = { x64: "x64", arm64: "arm64", arm: "armv7l" }; -export const descriptor = { - name: "node", - - getDownloadUrl(version: string, platform: string, arch: string): string { - const archMap: Record<string, string> = { - x64: "x64", - arm64: "arm64", - arm: "armv7l", - }; - const nodeArch = archMap[arch] ?? arch; - const isWindows = platform === "win32"; - const platName = isWindows ? "win" : platform; - const ext = isWindows ? "zip" : "tar.gz"; - const fileName = `node-v${version}-${platName}-${nodeArch}.${ext}`; - return `https://nodejs.org/dist/v${version}/${fileName}`; - }, - - getToolInstallOptions( - _version: string, - platform: string, - _arch: string, - ): { archiveType?: "tar.gz" | "tar.xz" | "zip"; binSubPath?: string; tarFlags?: ReadonlyArray<string> } { - const isWindows = platform === "win32"; - if (isWindows) { - return { archiveType: "zip" }; - } - return { archiveType: "tar.gz", binSubPath: "bin", tarFlags: ["xz", "--strip=1", "-f"] }; +/** + * Node.js, from `https://nodejs.org/dist`. + * + * @remarks + * Both archives nest everything inside a `node-v{version}-{platform}-{arch}` + * wrapper directory. The tarball has `--strip=1` remove it during extraction, + * leaving `bin` at the top; the zip has no equivalent, so the Windows plan + * names the wrapper as its `archiveSubPath` and the installer descends into it + * before caching. Legacy did neither (`legacy-v1/descriptors/node.ts:33-38`) — + * its `PATH` entry pointed at the cache root and never reached `node.exe`, and + * its verify passed anyway because it probed the runner's preinstalled Node. + */ +export const node: RuntimeDescriptor = { + plan: (version, platform, arch) => { + const windows = platform === "win32"; + const stem = `node-v${version}-${windows ? "win" : platform}-${ARCHES[arch] ?? arch}`; + const plan: RuntimePlan = windows + ? { + url: `https://nodejs.org/dist/v${version}/${stem}.zip`, + archive: "zip", + archiveSubPath: stem, + binary: "node.exe", + } + : { + url: `https://nodejs.org/dist/v${version}/${stem}.tar.gz`, + archive: "tar.gz", + binSubPath: "bin", + tarFlags: ["xz", "--strip=1", "-f"], + binary: "node", + }; + return Result.succeed(plan); }, - - verifyCommand: ["node", "--version"] as [string, ...string[]], }; diff --git a/src/errors/errors.test.ts b/src/errors/errors.test.ts deleted file mode 100644 index b5a43bd0..00000000 --- a/src/errors/errors.test.ts +++ /dev/null @@ -1,47 +0,0 @@ -import { describe, expect, it } from "vitest"; -import { - CacheError, - ConfigError, - DependencyInstallError, - PackageManagerSetupError, - RuntimeInstallError, -} from "./errors.js"; - -describe("errors", () => { - it("ConfigError exposes _tag and message getter", () => { - const e = new ConfigError({ reason: "missing devEngines", file: "package.json" }); - expect(e._tag).toBe("ConfigError"); - expect(e.message).toBe("missing devEngines (at package.json)"); - }); - - it("ConfigError without file uses reason only", () => { - const e = new ConfigError({ reason: "bad shape" }); - expect(e.message).toBe("bad shape"); - }); - - it("RuntimeInstallError formats runtime/version/reason", () => { - const e = new RuntimeInstallError({ runtime: "node", version: "24.11.0", reason: "404" }); - expect(e._tag).toBe("RuntimeInstallError"); - expect(e.message).toBe("Failed to install node@24.11.0: 404"); - }); - - it("PackageManagerSetupError formats packageManager/version/reason", () => { - const e = new PackageManagerSetupError({ - packageManager: "pnpm", - version: "10.33.4", - reason: "corepack failed", - }); - expect(e.message).toBe("Failed to setup pnpm@10.33.4: corepack failed"); - }); - - it("DependencyInstallError formats packageManager/reason", () => { - const e = new DependencyInstallError({ packageManager: "pnpm", reason: "lockfile drift" }); - expect(e.message).toBe("Failed to install dependencies with pnpm: lockfile drift"); - }); - - it("CacheError formats operation/reason", () => { - const e = new CacheError({ operation: "save", reason: "ENOSPC" }); - expect(e._tag).toBe("CacheError"); - expect(e.message).toBe("Cache save failed: ENOSPC"); - }); -}); diff --git a/src/errors/errors.ts b/src/errors/errors.ts deleted file mode 100644 index ac20a3ea..00000000 --- a/src/errors/errors.ts +++ /dev/null @@ -1,100 +0,0 @@ -/** - * Schema-based tagged errors with computed messages. - * - * Uses Schema.TaggedErrorClass so payloads are validated, errors round-trip - * cleanly through ActionState, and downstream callers get a typed `.message` - * getter for surfacing in logs. - * - * @module errors/errors - */ - -import { Schema } from "effect"; - -const NonEmptyString = Schema.String.check(Schema.isMinLength(1)); - -/* v8 ignore start -- pure data carriers */ - -/** - * Error thrown when configuration is invalid or missing. - */ -export class ConfigError extends Schema.TaggedErrorClass<ConfigError>()("ConfigError", { - reason: NonEmptyString, - file: Schema.optional(Schema.String), - cause: Schema.optional(Schema.Unknown), -}) { - get message(): string { - return this.file ? `${this.reason} (at ${this.file})` : this.reason; - } -} - -/** - * Error thrown when a runtime (node, bun, deno) fails to install. - */ -export class RuntimeInstallError extends Schema.TaggedErrorClass<RuntimeInstallError>()("RuntimeInstallError", { - runtime: NonEmptyString, - version: NonEmptyString, - reason: NonEmptyString, - cause: Schema.optional(Schema.Unknown), -}) { - get message(): string { - return `Failed to install ${this.runtime}@${this.version}: ${this.reason}`; - } -} - -/** - * Error thrown when setting up a package manager fails. - */ -export class PackageManagerSetupError extends Schema.TaggedErrorClass<PackageManagerSetupError>()( - "PackageManagerSetupError", - { - packageManager: NonEmptyString, - version: NonEmptyString, - reason: NonEmptyString, - cause: Schema.optional(Schema.Unknown), - }, -) { - get message(): string { - return `Failed to setup ${this.packageManager}@${this.version}: ${this.reason}`; - } -} - -/** - * Error thrown when installing dependencies fails. - */ -export class DependencyInstallError extends Schema.TaggedErrorClass<DependencyInstallError>()( - "DependencyInstallError", - { - packageManager: NonEmptyString, - reason: NonEmptyString, - cause: Schema.optional(Schema.Unknown), - }, -) { - get message(): string { - return `Failed to install dependencies with ${this.packageManager}: ${this.reason}`; - } -} - -/** - * Error thrown when a cache operation fails. - */ -export class CacheError extends Schema.TaggedErrorClass<CacheError>()("CacheError", { - operation: Schema.Literals(["save", "restore", "key-generation"]), - reason: NonEmptyString, - cause: Schema.optional(Schema.Unknown), -}) { - get message(): string { - return `Cache ${this.operation} failed: ${this.reason}`; - } -} - -/** - * Union of all expected action errors. - */ -export type ActionError = - | ConfigError - | RuntimeInstallError - | PackageManagerSetupError - | DependencyInstallError - | CacheError; - -/* v8 ignore stop */ diff --git a/src/layers/app.ts b/src/layers/app.ts index ee0f8fe5..3099d898 100644 --- a/src/layers/app.ts +++ b/src/layers/app.ts @@ -1,32 +1,42 @@ /** - * Application layer composition for the main phase. + * Layer composition for the action's phases. * - * Wires every library and domain service the program needs. + * @remarks + * `ActionRuntime.layer` — which `Action.run` composes — already provides + * `ActionEnvironment`, `ActionLogger`, `ActionOutputs`, `ActionState`, + * `NodeServices` (`ChildProcessSpawner`, `Crypto`, `FileSystem`, `Path`, + * `Stdio`, `Terminal`) and `HttpClient`. Nothing here rebuilds any of those. + * + * What it does add is the two services the kit deliberately keeps out of the + * default runtime, because they are the only modules that pull in a + * blob-storage client. Both declare requirements that `ActionServices` already + * satisfies, and `ActionRunOptions.layer` is `Layer<R, never, ActionServices>` + * — which is what lets these be *required* rather than rebuilt. * * @module layers/app */ -import { NodeFileSystem, NodeHttpClient } from "@effect/platform-node"; -import { - ActionCacheLive, - ActionEnvironmentLive, - ActionStateLive, - CommandRunnerLive, - GlobLive, - ToolInstallerLive, -} from "@savvy-web/github-action-effects"; +import { ActionCache, PackageManagerInstaller, ToolInstaller } from "@effected/github-actions"; import { Layer } from "effect"; -/* v8 ignore start -- pure layer wiring */ - -export const MainLive = Layer.mergeAll( - ActionCacheLive.pipe(Layer.provide(NodeHttpClient.layerUndici)), - ToolInstallerLive, - CommandRunnerLive, - ActionStateLive.pipe(Layer.provide(NodeFileSystem.layer)), - ActionEnvironmentLive, - GlobLive, - NodeFileSystem.layer, +/** + * The `main` phase's extra services: the runner cache (dependency restore), the + * tool cache (runtime and Biome installs) and package-manager provisioning. + * + * @remarks + * `PackageManagerInstaller` builds on the tool cache, so `ToolInstaller` is + * `provideMerge`d rather than merged: one instance satisfies the installer's + * requirement *and* stays available to `installRuntimes`, which uses it + * directly. Everything the two layers still require — `ActionEnvironment`, + * `FileSystem`, `Path`, `ChildProcessSpawner`, `HttpClient` — `ActionServices` + * already provides. + */ +export const MainLive = Layer.mergeAll(ActionCache.layer, PackageManagerInstaller.layer).pipe( + Layer.provideMerge(ToolInstaller.layer), ); -/* v8 ignore stop */ +/** + * The `post` phase's extra services: only the runner cache, which is what a + * dependency-cache save needs. No tool installs happen after `main`. + */ +export const PostLive = ActionCache.layer; diff --git a/src/main.ts b/src/main.ts index e621dacf..56886cd7 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,14 +1,16 @@ /** * Main action entry point. * - * Thin wrapper around Action.run that loads the program and its layer. + * Thin wrapper around `Action.run` so tests can import `program` without + * triggering module-level execution. `MainLive` adds the two services the + * default runtime deliberately omits. * * @module main */ -import { Action } from "@savvy-web/github-action-effects"; +import { Action } from "@effected/github-actions"; import { MainLive } from "./layers/app.js"; import { program } from "./program.js"; -/* v8 ignore next -- entry point, only runs when bundled as dist/main.js */ +/* v8 ignore next */ Action.run(program, { layer: MainLive }); diff --git a/src/post.test.ts b/src/post.test.ts deleted file mode 100644 index 30200afe..00000000 --- a/src/post.test.ts +++ /dev/null @@ -1,182 +0,0 @@ -import { ActionCache } from "@savvy-web/github-action-effects"; -import { ActionCacheTest, ActionLoggerTest, ActionStateTest } from "@savvy-web/github-action-effects/testing"; -import { Effect, Layer, Logger, Option, References } from "effect"; -import { describe, expect, it } from "vitest"; -import { CacheError } from "./errors/errors.js"; -import { makePost, post } from "./post.js"; -import { saveCache } from "./services/cache.js"; -import { STATE_KEYS } from "./state.js"; - -// --------------------------------------------------------------------------- -// Helpers -// --------------------------------------------------------------------------- - -// biome-ignore lint/suspicious/noExplicitAny: test mock requires any for mocked service tags -type AnyLayer = Layer.Layer<any>; -const asLayer = (l: AnyLayer): Layer.Layer<never> => l as Layer.Layer<never>; - -// biome-ignore lint/suspicious/noExplicitAny: test mock requires any for mocked effect results -const run = <A>(effect: Effect.Effect<A, any, any>, layer: AnyLayer): Promise<A> => - Effect.runPromise( - effect.pipe(Effect.provide(asLayer(layer)), Effect.provide(Logger.layer([]))) as Effect.Effect<A, never, never>, - ); - -/** - * Effect Logger that captures log entries into a provided array. - * Used to verify Effect.logWarning calls. - */ -const capturingLoggerLayer = (entries: Array<{ level: string; message: string }>): Layer.Layer<never> => - Layer.mergeAll( - Logger.layer([ - Logger.make(({ logLevel, message }) => { - entries.push({ - level: logLevel, - message: Array.isArray(message) ? message.map(String).join(" ") : String(message), - }); - }), - ]), - Layer.succeed(References.MinimumLogLevel, "All"), - ); - -const runWithLogger = <A>( - effect: Effect.Effect<A, unknown, unknown>, - layer: AnyLayer, - loggerLayer: Layer.Layer<never>, -): Promise<A> => - Effect.runPromise( - effect.pipe(Effect.provide(asLayer(layer)), Effect.provide(loggerLayer)) as Effect.Effect<A, never, never>, - ); - -// --------------------------------------------------------------------------- -// Tests -// --------------------------------------------------------------------------- - -describe("post action (saveCache integration)", () => { - it("saveCache is called when restored is false (partial hit)", async () => { - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: false })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await run(saveCache(), layer); - - expect(cache.entries.has("test-key")).toBe(true); - expect(cache.entries.get("test-key")).toEqual(["/cache/path"]); - }); - - it("saveCache is called when restored is false (cache miss)", async () => { - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: false })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await run(saveCache(), layer); - - expect(cache.entries.has("test-key")).toBe(true); - }); - - it("saveCache skips when restored is true (exact hit)", async () => { - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: true })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await run(saveCache(), layer); - - expect(cache.entries.size).toBe(0); - }); - - it("post skips save when no cache state in main (missing state)", async () => { - // No cache-state stored — getOptional returns None, post exits early - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - // Should resolve without throwing and without saving anything - await expect(run(post, layer)).resolves.toBeUndefined(); - expect(cache.entries.size).toBe(0); - }); - - it("post skips save when restored is true (exact hit)", async () => { - // restored=true means main got an exact cache hit — post exits early - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: true })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await expect(run(post, layer)).resolves.toBeUndefined(); - expect(cache.entries.size).toBe(0); - }); - - it("post calls saveCache when restored is false (miss or partial hit)", async () => { - // restored=false means post must save the new cache entry - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: false })); - - const logger = ActionLoggerTest.empty(); - const layer = Layer.mergeAll( - ActionCacheTest.layer(cache), - ActionStateTest.layer(state), - ActionLoggerTest.layer(logger), - ); - - await expect(run(post, layer)).resolves.toBeUndefined(); - expect(cache.entries.has("test-key")).toBe(true); - expect(cache.entries.get("test-key")).toEqual(["/cache/path"]); - }); - - it("post catches typed CacheError from saveCache and logs warning (does not fail)", async () => { - // Regression test: Effect.catchDefect alone does not catch typed - // CacheError. Without an outer Effect.catch, a save failure would - // propagate and fail the workflow. The post.ts pipe must catch both. - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: false })); - - // Hand-rolled ActionCache mock that fails save() with the wrapped - // CacheError that saveCache() raises in production. - const failingCacheLayer: Layer.Layer<ActionCache> = Layer.succeed( - ActionCache, - ActionCache.of({ - save: () => Effect.fail(new CacheError({ operation: "save", reason: "test failure" })) as never, - restore: () => Effect.succeed(Option.none()), - }), - ); - - const logger = ActionLoggerTest.empty(); - const captured: Array<{ level: string; message: string }> = []; - - const layer = Layer.mergeAll(failingCacheLayer, ActionStateTest.layer(state), ActionLoggerTest.layer(logger)); - - // Should resolve (not reject) despite the typed CacheError. - await expect(runWithLogger(post, layer, capturingLoggerLayer(captured))).resolves.toBeUndefined(); - - // Should have logged a warning about the post-action error. - const warnings = captured.filter((e) => e.level === "Warn"); - expect(warnings.length).toBeGreaterThan(0); - expect(warnings.some((w) => w.message.includes("Post-action error"))).toBe(true); - }); - - it("kills the turbo server when state is present", async () => { - const killed: Array<number> = []; - const spy = (pid: number): void => { - killed.push(pid); - }; - - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - // Seed turbo server state; no cache-state so post exits early after teardown - state.entries.set(STATE_KEYS.turboServerState, JSON.stringify({ pid: 555, port: 41230, backend: "github" })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await run(makePost(spy), layer); - - expect(killed).toContain(555); - }); -}); diff --git a/src/post.ts b/src/post.ts index 761b7682..403354e2 100644 --- a/src/post.ts +++ b/src/post.ts @@ -1,63 +1,187 @@ /** * Post-action entry point. * - * Runs after main (even on failure). Saves the dependency cache if main did not - * achieve an exact hit. Post-action failures never fail the workflow. + * Runs after `main`, even when `main` failed. It reads the two pieces of + * cross-phase state `main` may have saved — the dependency cache state and the + * embedded turbo cache server state — and acts on each only when present. + * + * The detached-server reap runs **first and unconditionally**, ahead of every + * cache branch that can return early (oracle 35): a leaked cache server outlives + * the job, and whether this run's dependencies are worth archiving has nothing + * to do with it. What is load-bearing throughout is the failure posture — a + * post-action failure must never fail the workflow, so both the typed channel + * and defects are caught and logged. * * @module post */ -import { NodeFileSystem, NodeHttpClient } from "@effect/platform-node"; -import { Action, ActionCacheLive, ActionState, ActionStateLive, Step } from "@savvy-web/github-action-effects"; -import { Effect, Layer, Option } from "effect"; -import { saveCache } from "./services/cache.js"; -import { killProcess, serverLogPath } from "./services/turbo-cache/lifecycle.js"; -import { CacheState, STATE_KEYS, TurboServerState } from "./state.js"; - -export const makePost = (kill: (pid: number) => void = killProcess) => - Effect.gen(function* () { - yield* Effect.logDebug("Running post-action script"); - const state = yield* ActionState; +import { Action, ActionCache, ActionState, DetachedProcess } from "@effected/github-actions"; +import { Effect, Option } from "effect"; - // Turbo teardown runs unconditionally — before any cache early-returns. - const turboStateOpt = yield* state.getOptional(STATE_KEYS.turboServerState, TurboServerState); - if (Option.isSome(turboStateOpt)) { - const { pid, port } = turboStateOpt.value; - yield* Effect.logDebug(`Stopping turbo cache server pid=${pid} (log: ${serverLogPath(port)})`); - yield* Effect.sync(() => kill(pid)); - } +import { PostLive } from "./layers/app.js"; +import { CacheState, STATE_KEYS, TurboServerState, isExactHit } from "./state.js"; +import { CacheError } from "./steps/restore-cache.js"; - const cacheStateOpt = yield* state.getOptional(STATE_KEYS.cacheState, CacheState); - if (Option.isNone(cacheStateOpt)) { - yield* Effect.logDebug("No cache state from main; nothing to save"); +/** + * Archives what `main` restored, when a save is still needed. + * + * @remarks + * Saved on a partial restore as well as a miss, and always under the *primary* + * key rather than whichever key matched: a partial restore left the archive + * short of what this run installed, so the key this run asked for is the one + * that has to end up populated. Only an exact hit skips — that archive is + * already what this run would write, and cache entries are immutable anyway. + * + * Legacy read the state back and re-checked the same flag inside its save + * (oracle 35); one guard, here, is the whole of it. + * + * A failure is warned about rather than raised — the job has already done its + * work, and a cache that would not take it is not a reason to fail the run — and + * it is caught *here* rather than left to the module's outer net so the branches + * after this one still run. + * + * The known cost, carried over deliberately: `post` runs even when `main` + * failed, so an install that died halfway can seal a half-populated + * `node_modules` under the primary key. Fixing it needs `main` to leave a + * completed marker behind, which is a hardening pass of its own. + */ +const saveDependencyCache = (saved: CacheState) => + Effect.gen(function* () { + if (isExactHit(saved)) { + yield* Effect.logInfo("Cache was an exact hit — skipping save"); return; } - if (cacheStateOpt.value.restored) { - yield* Effect.logInfo("Cache was an exact hit — skipping save"); + if (saved.paths.length === 0) { + yield* Effect.logInfo("No cache paths — skipping save"); return; } - yield* Step.groupStep("Cache save", saveCache()); + + const cache = yield* ActionCache; + yield* Effect.logInfo(`Saving cache: key=${saved.primaryKey}, paths (${saved.paths.length})`); + yield* cache.save(saved.paths, saved.primaryKey).pipe( + Effect.tap(() => Effect.logInfo(`Cache saved: ${saved.primaryKey}`)), + Effect.catch((cause) => + Effect.logWarning( + new CacheError({ + reason: "save", + message: `Failed to save cache with key ${saved.primaryKey} (${cause.reason}): ${cause.message}`, + cause, + }).message, + ), + ), + ); + }); + +/** + * Stops the detached cache server `main` started. + * + * @remarks + * `false` — the child is already gone — is the *normal* ending rather than a + * failure: the server exits on its own SIGTERM handler, and a runner that tore + * the process group down before `post` ran has done this job already. Either + * way the log path is named, because that file is where a server that + * misbehaved says why and nothing else points at it. + * + * There is no wait and no `SIGKILL` escalation. The signal is the whole of it: + * the runner reclaims the machine moments later, and a post phase that blocked + * on a child's exit would trade a bounded leak for an unbounded hang. + * + * **Failures are contained here rather than left to the module's outer net.** + * Running teardown first buys a guarantee — the child is signalled before any + * branch that can return early — and that guarantee inverts if a failed reap + * ends the phase: the cache save is downstream of it, so a refused signal or a + * defect in the injected reap would cost the run its archive as well as its + * teardown. Two independent jobs, two independent failures. The outer net still + * exists, and this is the layer that keeps it from ever being the thing that + * skips the save. + */ +const reapCacheServer = (saved: TurboServerState, reap: Reap) => + Effect.gen(function* () { + yield* Effect.logDebug(`Stopping turbo cache server pid=${saved.pid} (log: ${saved.logFile})`); + const signalled = yield* reap(saved.pid); + yield* Effect.logDebug( + signalled + ? `Turbo cache server pid=${saved.pid} signalled` + : `Turbo cache server pid=${saved.pid} had already exited`, + ); }).pipe( - // Post-action never fails the workflow — log typed errors as warnings. Effect.catch((error) => - Effect.logWarning(`Post-action error: ${error instanceof Error ? error.message : String(error)}`), + Effect.logWarning( + `Turbo cache server teardown failed for pid ${saved.pid}: ${error instanceof Error ? error.message : String(error)}`, + ), ), - // Defense-in-depth: also swallow programming defects. Effect.catchDefect((defect) => - Effect.logWarning(`Post-action defect: ${defect instanceof Error ? defect.message : String(defect)}`), + Effect.logWarning( + `Turbo cache server teardown failed for pid ${saved.pid}: ${defect instanceof Error ? defect.message : String(defect)}`, + ), ), ); -export const post = makePost(); +/** + * How `post` stops the child, as an injectable seam. + * + * @remarks + * `DetachedProcess.reap` is a static rather than a service, so this is a + * defaulted parameter for the same reason `startTurboCache` takes one — and + * with a sharper edge here: a test that let the default through would send a + * real `SIGTERM` to whatever process happens to own the pid its fixture made + * up. + */ +type Reap = (pid: number) => Effect.Effect<boolean, unknown>; /** - * Domain layers for post-action. ActionStateLive needs FileSystem. - * ActionCacheLive needs NodeHttpClient for the V2 Twirp cache protocol. + * The post phase, over an injectable {@link Reap}. + * + * @remarks + * `makePost` exists only for that seam; {@link post} is the value the entry + * point and every other caller use. */ -export const PostLive = Layer.mergeAll( - ActionCacheLive.pipe(Layer.provide(NodeHttpClient.layerUndici)), - ActionStateLive.pipe(Layer.provide(NodeFileSystem.layer)), -); +export const makePost = (reap: Reap = DetachedProcess.reap) => + Effect.gen(function* () { + const state = yield* ActionState; + yield* Effect.logDebug("Running post-action script"); + + // First, and before any branch that can return early: a detached child that + // outlives the job is a worse outcome than an unsaved cache. + // + // The read is absorbed for the same reason the reap is: state written by a + // `main` that died mid-write decodes as `malformed`, and neither that nor a + // missing key says anything about whether this run's dependencies are worth + // archiving. Unreadable server state means there is no pid to signal, which + // is what `Option.none()` already means. + const server = yield* state + .getOptional(STATE_KEYS.turboServer, TurboServerState) + .pipe( + Effect.catch((error) => + Effect.logWarning(`Turbo cache server state could not be read (${error.reason}); nothing to reap`).pipe( + Effect.as(Option.none<TurboServerState>()), + ), + ), + ); + yield* Option.match(server, { + onNone: () => Effect.logDebug("No embedded turbo cache server was started; nothing to reap"), + onSome: (saved) => reapCacheServer(saved, reap), + }); + + const cache = yield* state.getOptional(STATE_KEYS.cache, CacheState); + yield* Option.match(cache, { + onNone: () => Effect.logDebug("No dependency cache state was saved by main; nothing to save"), + onSome: saveDependencyCache, + }); + }).pipe( + Effect.catch((error) => + Effect.logWarning(`Post-action warning: ${error instanceof Error ? error.message : String(error)}`), + ), + // Defense-in-depth: post-action failures must never fail the workflow. + Effect.catchDefect((defect) => + Effect.logWarning(`Post-action warning: ${defect instanceof Error ? defect.message : String(defect)}`), + ), + ); + +/** The post phase as the entry point runs it, reaping through the kit. */ +export const post = makePost(); + +export { PostLive }; /* v8 ignore next 3 -- entry-point guard, only runs in GitHub Actions */ if (process.env.GITHUB_ACTIONS) { diff --git a/src/program.test.ts b/src/program.test.ts deleted file mode 100644 index 5c98c48d..00000000 --- a/src/program.test.ts +++ /dev/null @@ -1,596 +0,0 @@ -import { ActionCache, ActionOutputs, Step } from "@savvy-web/github-action-effects"; -import { - ActionCacheError, - ActionEnvironmentTest, - ActionLoggerTest, - ActionOutputsTest, - ActionStateTest, - CommandRunnerTest, - GlobTest, - ToolInstallerTest, -} from "@savvy-web/github-action-effects/testing"; -import { ConfigProvider, Effect, Exit, FileSystem, Layer, Logger, Option } from "effect"; -import { describe, expect, it } from "vitest"; -import { - getActivePackageManagers, - installBiome, - installDependencies, - setOutputs, - setupPackageManager, - turboLocalCachePaths, -} from "./program.js"; -import type { PackageManager } from "./services/cache.js"; -import { findLockFiles, getCombinedCacheConfig, restoreCache } from "./services/cache.js"; -import { detectBiome, detectTurbo, loadPackageJson, parseDevEngines } from "./services/config-loader.js"; -import { RuntimeInstaller, installerLayerFor } from "./services/runtime-installer.js"; - -// --------------------------------------------------------------------------- -// FileSystem mock helpers -// --------------------------------------------------------------------------- - -type FsFiles = Record<string, string>; -type FsExists = Set<string>; - -const makeFileSystemLayer = ( - files: FsFiles = {}, - exists: FsExists = new Set(Object.keys(files)), -): Layer.Layer<FileSystem.FileSystem> => - Layer.succeed( - FileSystem.FileSystem, - FileSystem.makeNoop({ - readFileString: (path) => { - const content = files[path]; - if (content === undefined) { - return Effect.fail( - new (class extends Error { - readonly _tag = "SystemError"; - readonly reason = "NotFound"; - })() as never, - ); - } - return Effect.succeed(content); - }, - access: (path) => { - if (exists.has(path)) { - return Effect.succeed(undefined); - } - return Effect.fail( - new (class extends Error { - readonly _tag = "SystemError"; - readonly reason = "NotFound"; - })() as never, - ); - }, - }), - ); - -// --------------------------------------------------------------------------- -// Helper to find the last output value by name from ActionOutputsTestState -// --------------------------------------------------------------------------- - -const getOutput = (state: ReturnType<typeof ActionOutputsTest.empty>, name: string): string | undefined => - [...state.outputs].reverse().find((o) => o.name === name)?.value; - -// --------------------------------------------------------------------------- -// The test pipeline (mirrors main.ts logic, reads services from context) -// --------------------------------------------------------------------------- - -// biome-ignore lint/suspicious/noExplicitAny: test mock type erasure at service boundary -const pipeline: Effect.Effect<void, any, any> = Effect.gen(function* () { - const outputsSvc = yield* ActionOutputs; - - // 1. Parse configuration - const config = yield* Step.groupStep( - "Detect configuration", - Effect.gen(function* () { - const devEngines = yield* loadPackageJson; - const parsed = parseDevEngines(devEngines); - const runtimes = parsed.runtime; - const packageManager = parsed.packageManager; - const biome = yield* detectBiome; - const turbo = yield* detectTurbo; - return { runtimes, packageManager, biome, turbo }; - }), - ); - - // 2. Cache - const pmName = config.packageManager.name as PackageManager; - const activePackageManagers = getActivePackageManagers(config.runtimes, pmName); - - const runtimeEntries: Array<{ name: string; version: string }> = config.runtimes.map((r) => ({ - name: r.name, - version: r.version, - })); - if (Option.isSome(config.biome)) { - runtimeEntries.push({ name: "biome", version: config.biome.value }); - } - - const cacheConfig = yield* getCombinedCacheConfig(activePackageManagers, runtimeEntries); - const lockfiles = yield* findLockFiles(cacheConfig.lockfilePatterns); - - const finalCachePaths = [...cacheConfig.cachePaths, ...turboLocalCachePaths(config.turbo)]; - - // Restore cache (non-fatal) - const cacheResult = yield* Step.groupStep( - "Restore cache", - restoreCache({ - cachePaths: finalCachePaths, - runtimes: runtimeEntries, - packageManager: { name: config.packageManager.name, version: config.packageManager.version }, - lockfiles, - }).pipe(Effect.catchTag("CacheError", () => Effect.succeed("none" as const))), - ); - - // 3. Install runtimes - const installed = yield* Step.groupStep( - "Install runtimes", - Effect.forEach(config.runtimes, (rt) => - RuntimeInstaller.pipe( - Effect.flatMap((installer) => installer.install(rt.version)), - Effect.provide(installerLayerFor(rt.name)), - ), - ), - ); - - // 4. Install dependencies. - // NOTE: this mirror pipeline does NOT implement the `install-deps` guard that - // program.ts wraps around this call. Behavior of that guard (skipping install - // when install-deps=false) is exercised by the workflow integration tests in - // .github/workflows/test.yml and __fixtures__/, not here. - yield* Step.groupStep("Install dependencies", installDependencies(pmName)); - - // 5. Install Biome (non-fatal) - if (Option.isSome(config.biome)) { - yield* Step.groupStep("Install Biome", Effect.log(`Biome ${config.biome.value} (test stub)`)).pipe( - Effect.catch(() => Effect.void), - ); - } - - // 6. Set outputs - yield* setOutputs(outputsSvc as never, installed, config, cacheResult, lockfiles, finalCachePaths); -}); - -// --------------------------------------------------------------------------- -// Test data constants -// --------------------------------------------------------------------------- - -const VALID_PACKAGE_JSON = JSON.stringify({ - name: "test-project", - devEngines: { - packageManager: { name: "pnpm", version: "10.20.0", onFail: "error" }, - runtime: { name: "node", version: "24.11.0", onFail: "error" }, - }, -}); - -const MULTI_RUNTIME_PACKAGE_JSON = JSON.stringify({ - name: "test-project", - devEngines: { - packageManager: { name: "pnpm", version: "10.20.0", onFail: "error" }, - runtime: [ - { name: "node", version: "24.11.0", onFail: "error" }, - { name: "bun", version: "1.3.3", onFail: "error" }, - ], - }, -}); - -const makeConfigProvider = (inputs: Record<string, string> = {}) => ConfigProvider.fromUnknown(inputs); - -// --------------------------------------------------------------------------- -// Base layer builder -// --------------------------------------------------------------------------- - -const buildBaseLayer = (opts: { - files?: FsFiles; - inputs?: Record<string, string>; - cacheHit?: "exact" | "partial" | "none"; - failCache?: boolean; - cmdResponses?: Map<string, { exitCode: number; stdout: string; stderr: string }>; - env?: Record<string, string>; -}) => { - const outputsState = ActionOutputsTest.empty(); - const stateState = ActionStateTest.empty(); - - const fsLayer = makeFileSystemLayer( - opts.files ?? { "package.json": VALID_PACKAGE_JSON }, - new Set(Object.keys(opts.files ?? { "package.json": VALID_PACKAGE_JSON })), - ); - - const hitType = opts.cacheHit ?? "none"; - // biome-ignore lint/suspicious/noExplicitAny: test layer type erasure at service boundary - const cacheLayer: Layer.Layer<any> = opts.failCache - ? Layer.succeed(ActionCache, { - save: () => Effect.fail(new ActionCacheError({ key: "test", operation: "save", reason: "save failed" })), - restore: () => - Effect.fail(new ActionCacheError({ key: "test", operation: "restore", reason: "restore failed" })), - }) - : Layer.succeed(ActionCache, { - save: () => Effect.void, - restore: (_paths: readonly string[], key: string) => { - if (hitType === "exact") return Effect.succeed(Option.some(key)); - if (hitType === "partial") return Effect.succeed(Option.some(`${key}-partial`)); - return Effect.succeed(Option.none()); - }, - }); - - const layer = Layer.mergeAll( - ActionOutputsTest.layer(outputsState), - ActionLoggerTest.layer(ActionLoggerTest.empty()), - cacheLayer, - ActionStateTest.layer(stateState), - ActionEnvironmentTest.layer(opts.env ?? { GITHUB_REF: "refs/heads/main" }), - opts.cmdResponses ? CommandRunnerTest.layer(opts.cmdResponses) : CommandRunnerTest.empty(), - ToolInstallerTest.layer(ToolInstallerTest.empty()), - GlobTest.layer(GlobTest.empty()), - fsLayer, - ); - - return { - layer, - outputsState, - configProvider: makeConfigProvider(opts.inputs ?? {}), - }; -}; - -/** Run the pipeline with given layers and config provider. */ -// biome-ignore lint/suspicious/noExplicitAny: test layer type erasure at service boundary -const runPipeline = (layer: Layer.Layer<any>, configProvider: ConfigProvider.ConfigProvider) => - Effect.runPromise( - (pipeline as Effect.Effect<void, never, never>).pipe( - Effect.provideService(ConfigProvider.ConfigProvider, configProvider), - Effect.provide(layer), - Effect.provide(Logger.layer([])), - ), - ); - -/** Run the pipeline and return its Exit for failure assertions. */ -// biome-ignore lint/suspicious/noExplicitAny: test layer type erasure at service boundary -const runPipelineExit = (layer: Layer.Layer<any>, configProvider: ConfigProvider.ConfigProvider) => - Effect.runPromise( - Effect.exit( - (pipeline as Effect.Effect<void, never, never>).pipe( - Effect.provideService(ConfigProvider.ConfigProvider, configProvider), - Effect.provide(layer), - Effect.provide(Logger.layer([])), - ), - ), - ); - -// --------------------------------------------------------------------------- -// Tests -// --------------------------------------------------------------------------- - -describe("main pipeline", () => { - it("full pipeline with valid config sets all outputs correctly", async () => { - const { layer, outputsState, configProvider } = buildBaseLayer({ - cacheHit: "exact", - }); - - await runPipeline(layer, configProvider); - - expect(getOutput(outputsState, "node-version")).toBe("24.11.0"); - expect(getOutput(outputsState, "node-enabled")).toBe("true"); - expect(getOutput(outputsState, "bun-version")).toBe(""); - expect(getOutput(outputsState, "bun-enabled")).toBe("false"); - expect(getOutput(outputsState, "deno-version")).toBe(""); - expect(getOutput(outputsState, "deno-enabled")).toBe("false"); - expect(getOutput(outputsState, "package-manager")).toBe("pnpm"); - expect(getOutput(outputsState, "package-manager-version")).toBe("10.20.0"); - expect(getOutput(outputsState, "biome-enabled")).toBe("false"); - expect(getOutput(outputsState, "turbo-enabled")).toBe("false"); - }); - - // Removed: "install-deps=false skips dependency installation" - // — the mirror pipeline above does not implement the install-deps guard - // (that lives in program.ts), so the previous test only checked that two - // outputs were set, which would have been true with or without the guard. - // Coverage of the production install-deps branch belongs to the workflow - // integration tests in .github/workflows/test.yml + __fixtures__/. - - it("biome install failure does not fail the action (non-fatal)", async () => { - const biomeConfig = JSON.stringify({ - $schema: "https://biomejs.dev/schemas/2.3.14/schema.json", - }); - - const { layer, outputsState, configProvider } = buildBaseLayer({ - files: { - "package.json": VALID_PACKAGE_JSON, - "biome.jsonc": biomeConfig, - }, - }); - - await runPipeline(layer, configProvider); - - expect(getOutput(outputsState, "biome-enabled")).toBe("true"); - expect(getOutput(outputsState, "biome-version")).toBe("2.3.14"); - expect(getOutput(outputsState, "node-version")).toBe("24.11.0"); - }); - - it("cache restore failure does not fail the action (non-fatal)", async () => { - const { layer, outputsState, configProvider } = buildBaseLayer({ - failCache: true, - }); - - await runPipeline(layer, configProvider); - - expect(getOutput(outputsState, "cache-hit")).toBe("false"); - expect(getOutput(outputsState, "node-version")).toBe("24.11.0"); - }); - - it("missing package.json fails with ConfigError", async () => { - const { layer, configProvider } = buildBaseLayer({ - files: {}, - }); - - const exit = await runPipelineExit(layer, configProvider); - - expect(Exit.isFailure(exit)).toBe(true); - }); - - describe("outputs map cache hit correctly", () => { - it("exact cache hit maps to 'true'", async () => { - const { layer, outputsState, configProvider } = buildBaseLayer({ - cacheHit: "exact", - }); - - await runPipeline(layer, configProvider); - expect(getOutput(outputsState, "cache-hit")).toBe("true"); - }); - - it("partial cache hit maps to 'partial'", async () => { - const { layer, outputsState, configProvider } = buildBaseLayer({ - cacheHit: "partial", - }); - - await runPipeline(layer, configProvider); - expect(getOutput(outputsState, "cache-hit")).toBe("partial"); - }); - - it("no cache hit maps to 'false'", async () => { - const { layer, outputsState, configProvider } = buildBaseLayer({ - cacheHit: "none", - }); - - await runPipeline(layer, configProvider); - expect(getOutput(outputsState, "cache-hit")).toBe("false"); - }); - }); - - it("multi-runtime config installs all runtimes and sets outputs", async () => { - const { layer, outputsState, configProvider } = buildBaseLayer({ - files: { "package.json": MULTI_RUNTIME_PACKAGE_JSON }, - }); - - await runPipeline(layer, configProvider); - - expect(getOutput(outputsState, "node-version")).toBe("24.11.0"); - expect(getOutput(outputsState, "node-enabled")).toBe("true"); - expect(getOutput(outputsState, "bun-version")).toBe("1.3.3"); - expect(getOutput(outputsState, "bun-enabled")).toBe("true"); - expect(getOutput(outputsState, "package-manager")).toBe("pnpm"); - }); -}); - -// --------------------------------------------------------------------------- -// getActivePackageManagers tests -// --------------------------------------------------------------------------- - -describe("turboLocalCachePaths", () => { - it("caches .turbo/cache when turbo is detected", () => { - expect(turboLocalCachePaths(true)).toEqual(["**/.turbo/cache"]); - }); - - it("excludes .turbo/runs and other subdirectories (only .turbo/cache)", () => { - const paths = turboLocalCachePaths(true); - expect(paths.some((p) => p.includes(".turbo/runs"))).toBe(false); - expect(paths).toEqual(["**/.turbo/cache"]); - }); - - it("is empty when turbo is not detected", () => { - expect(turboLocalCachePaths(false)).toEqual([]); - }); -}); - -describe("getActivePackageManagers", () => { - it("includes primary PM for node runtime", () => { - const result = getActivePackageManagers([{ name: "node", version: "24.9.0" }] as never, "pnpm"); - expect(result).toContain("pnpm"); - }); - - it("includes bun for bun runtime", () => { - const result = getActivePackageManagers([{ name: "bun", version: "1.3.3" }] as never, "pnpm"); - expect(result).toContain("bun"); - }); - - it("includes deno for deno runtime", () => { - const result = getActivePackageManagers([{ name: "deno", version: "2.5.6" }] as never, "pnpm"); - expect(result).toContain("deno"); - }); - - it("deduplicates when bun is both runtime and PM", () => { - const result = getActivePackageManagers([{ name: "bun", version: "1.3.3" }] as never, "bun"); - expect(result).toEqual(["bun"]); - }); - - it("handles multi-runtime", () => { - const result = getActivePackageManagers( - [ - { name: "node", version: "24.9.0" }, - { name: "deno", version: "2.5.6" }, - ] as never, - "npm", - ); - expect(result).toContain("npm"); - expect(result).toContain("deno"); - }); -}); - -// --------------------------------------------------------------------------- -// installDependencies branch coverage -// --------------------------------------------------------------------------- - -describe("installDependencies", () => { - const runInstallDeps = ( - pm: PackageManager, - files: Record<string, boolean>, - responses: Map<string, { exitCode: number; stdout: string; stderr: string }>, - ) => { - const cmdLayer = CommandRunnerTest.layer(responses); - const fsLayer = Layer.succeed(FileSystem.FileSystem, { - access: (path: string) => (files[path] ? Effect.void : Effect.fail("not found")), - } as unknown as FileSystem.FileSystem); - const layer = Layer.mergeAll(cmdLayer, fsLayer); - return Effect.runPromise( - (installDependencies(pm) as Effect.Effect<void, unknown, never>).pipe( - Effect.provide(layer as never), - Effect.provide(Logger.layer([])), - ), - ); - }; - - it("runs bun install for bun PM (no lockfile)", async () => { - await runInstallDeps("bun", {}, new Map([["bun install", { exitCode: 0, stdout: "", stderr: "" }]])); - }); - - it("runs bun install --frozen-lockfile with bun.lock", async () => { - await runInstallDeps( - "bun", - { "bun.lock": true }, - new Map([["bun install --frozen-lockfile", { exitCode: 0, stdout: "", stderr: "" }]]), - ); - }); - - it("runs npm ci with package-lock.json", async () => { - await runInstallDeps( - "npm", - { "package-lock.json": true }, - new Map([["npm ci", { exitCode: 0, stdout: "", stderr: "" }]]), - ); - }); - - it("runs npm install without lockfile", async () => { - await runInstallDeps("npm", {}, new Map([["npm install", { exitCode: 0, stdout: "", stderr: "" }]])); - }); - - it("runs pnpm install --frozen-lockfile with pnpm-lock.yaml", async () => { - await runInstallDeps( - "pnpm", - { "pnpm-lock.yaml": true }, - new Map([["pnpm install --frozen-lockfile", { exitCode: 0, stdout: "", stderr: "" }]]), - ); - }); - - it("runs pnpm install without lockfile", async () => { - await runInstallDeps("pnpm", {}, new Map([["pnpm install", { exitCode: 0, stdout: "", stderr: "" }]])); - }); - - it("runs yarn install --immutable with yarn.lock", async () => { - await runInstallDeps( - "yarn", - { "yarn.lock": true }, - new Map([["yarn install --immutable", { exitCode: 0, stdout: "", stderr: "" }]]), - ); - }); - - it("runs yarn install --no-immutable without lockfile", async () => { - await runInstallDeps( - "yarn", - {}, - new Map([["yarn install --no-immutable", { exitCode: 0, stdout: "", stderr: "" }]]), - ); - }); -}); - -// --------------------------------------------------------------------------- -// setupPackageManager tests -// --------------------------------------------------------------------------- - -describe("setupPackageManager", () => { - const runSetup = ( - pm: PackageManager, - version: string, - responses: Map<string, { exitCode: number; stdout: string; stderr: string }>, - ) => - Effect.runPromise( - (setupPackageManager(pm, version) as Effect.Effect<void, unknown, never>).pipe( - Effect.provide(CommandRunnerTest.layer(responses) as never), - Effect.provide(Logger.layer([])), - ), - ); - - it("skips setup for bun", async () => { - await runSetup("bun", "1.3.3", new Map()); - }); - - it("skips setup for deno", async () => { - await runSetup("deno", "2.5.6", new Map()); - }); - - it("runs corepack for pnpm", async () => { - const responses = new Map([ - ["node --version", { exitCode: 0, stdout: "v24.9.0\n", stderr: "" }], - ["corepack enable", { exitCode: 0, stdout: "", stderr: "" }], - ["corepack prepare pnpm@10.20.0 --activate", { exitCode: 0, stdout: "", stderr: "" }], - ["pnpm --version", { exitCode: 0, stdout: "10.20.0\n", stderr: "" }], - ]); - await runSetup("pnpm", "10.20.0", responses); - }); - - it("runs corepack for yarn", async () => { - const responses = new Map([ - ["node --version", { exitCode: 0, stdout: "v24.9.0\n", stderr: "" }], - ["corepack enable", { exitCode: 0, stdout: "", stderr: "" }], - ["corepack prepare yarn@4.6.0 --activate", { exitCode: 0, stdout: "", stderr: "" }], - ["yarn --version", { exitCode: 0, stdout: "4.6.0\n", stderr: "" }], - ]); - await runSetup("yarn", "4.6.0", responses); - }); - - it("runs npm install -g for npm when version differs", async () => { - const responses = new Map([ - ["npm --version", { exitCode: 0, stdout: "10.8.2\n", stderr: "" }], - ["sudo npm install -g npm@11.6.0", { exitCode: 0, stdout: "", stderr: "" }], - ["sudo chown -R", { exitCode: 0, stdout: "", stderr: "" }], - ]); - await runSetup("npm", "11.6.0", responses); - }); - - it("skips npm install when version already matches", async () => { - const responses = new Map([["npm --version", { exitCode: 0, stdout: "11.6.0\n", stderr: "" }]]); - await runSetup("npm", "11.6.0", responses); - }); - - it("runs npm install -g without sudo on windows", async () => { - const origPlatform = process.platform; - Object.defineProperty(process, "platform", { value: "win32", writable: true }); - try { - const responses = new Map([ - ["npm --version", { exitCode: 0, stdout: "10.8.2\n", stderr: "" }], - ["npm install -g npm@11.6.0", { exitCode: 0, stdout: "", stderr: "" }], - ]); - await runSetup("npm", "11.6.0", responses); - } finally { - Object.defineProperty(process, "platform", { value: origPlatform, writable: true }); - } - }); - - it("installs corepack for Node >= 25", async () => { - const responses = new Map([ - ["node --version", { exitCode: 0, stdout: "v25.0.0\n", stderr: "" }], - ["sudo npm install -g --force corepack@latest", { exitCode: 0, stdout: "", stderr: "" }], - ["corepack enable", { exitCode: 0, stdout: "", stderr: "" }], - ["corepack prepare pnpm@10.20.0 --activate", { exitCode: 0, stdout: "", stderr: "" }], - ["pnpm --version", { exitCode: 0, stdout: "10.20.0\n", stderr: "" }], - ]); - await runSetup("pnpm", "10.20.0", responses); - }); -}); - -// --------------------------------------------------------------------------- -// installBiome tests (stub — real impl uses ToolInstaller primitives) -// --------------------------------------------------------------------------- - -describe("installBiome", () => { - it("is exported and callable", () => { - expect(typeof installBiome).toBe("function"); - }); -}); diff --git a/src/program.ts b/src/program.ts index bf20bbdc..d7d0311c 100644 --- a/src/program.ts +++ b/src/program.ts @@ -1,342 +1,189 @@ /** - * Main action program (the `main` phase). + * The `main` phase pipeline: inputs → steps → outputs. * - * Imported by main.ts which calls Action.run(program, { layer: MainLive }). - * Separated so tests can import `program` without triggering the module-level - * Action.run side effect in main.ts. + * @remarks + * Every step is a typed contract module under `./steps/`, composed here in + * runner order and wrapped in an `ActionLogger.group` so the workflow log is + * navigable. This module holds the composition and the joins that need two + * steps' results at once — nothing else: no I/O, no detection, no formatting. + * + * The output fold starts from {@link initialOutputs} and maps each step's + * result over it, so a feature that did not run reports its all-disabled + * default rather than a value nobody computed. * * @module program */ -import { homedir, arch as osArch, platform as osPlatform, tmpdir } from "node:os"; -import { dirname, join } from "node:path"; -import { fileURLToPath } from "node:url"; -import type { ActionOutputsShape } from "@savvy-web/github-action-effects"; -import { - ActionInput, - ActionOutputs, - ActionState, - CommandRunner, - Step, - ToolInstaller, -} from "@savvy-web/github-action-effects"; -import { Config, Effect, FileSystem, Option, Redacted } from "effect"; -import { binaryMap as biomeBinaryMap } from "./descriptors/biome.js"; -import { DependencyInstallError, PackageManagerSetupError } from "./errors/errors.js"; -import type { PackageManagerEntry, RuntimeEntry } from "./schemas/domain.js"; -import type { PackageManager } from "./services/cache.js"; -import { findLockFiles, getCombinedCacheConfig, restoreCache } from "./services/cache.js"; -import { detectBiome, detectTurbo, loadPackageJson, parseDevEngines } from "./services/config-loader.js"; -import type { InstalledRuntime } from "./services/runtime-installer.js"; -import { - RuntimeInstaller, - extractErrorReason, - formatCauseDetail, - installerLayerFor, -} from "./services/runtime-installer.js"; -import { buildRuntimeSummary, formatCacheLine, formatDetectLine, formatTurboLine } from "./services/summary.js"; -import { resolveTurboCache } from "./services/turbo-cache/activation.js"; -import type { TurboApplyResult } from "./services/turbo-cache/apply.js"; -import { applyTurboCache } from "./services/turbo-cache/apply.js"; -import { spawnTurboServer, waitForServer } from "./services/turbo-cache/lifecycle.js"; -import { CacheState, STATE_KEYS } from "./state.js"; - -/** - * Install Biome CLI as a raw binary using ToolInstaller primitives. - */ -export const installBiome = ( - version: string, -): Effect.Effect<void, Error, ToolInstaller | ActionOutputs | FileSystem.FileSystem> => - Effect.gen(function* () { - const toolInstaller = yield* ToolInstaller; - const outputs = yield* ActionOutputs; - const plat = osPlatform(); - const architecture = osArch(); - - const binaryName = biomeBinaryMap[plat]?.[architecture]; - if (!binaryName) { - yield* Effect.fail(new Error(`Unsupported platform for Biome: ${plat}-${architecture}`)); - return; - } - - const url = `https://github.com/biomejs/biome/releases/download/%40biomejs%2Fbiome%40${version}/${binaryName}`; - const finalName = plat === "win32" ? "biome.exe" : "biome"; - - // Download the binary - const downloadedPath = yield* toolInstaller.download(url); - - // Cache the file - const cachedDir = yield* toolInstaller.cacheFile(downloadedPath, finalName, "biome", version); - - // Make executable on non-Windows platforms - if (plat !== "win32") { - const fs = yield* FileSystem.FileSystem; - yield* fs.chmod(join(cachedDir, finalName), 0o755); - } - - // Add to PATH - yield* outputs.addPath(cachedDir); - - yield* Step.success(`Biome ${version}`); - }).pipe(Effect.catch((error) => Effect.fail(new Error(`Biome install failed: ${error}`)))); +import { ActionEnvironment, ActionLogger } from "@effected/github-actions"; +import { Effect, Option } from "effect"; + +import type { RuntimeName } from "./schema/domain.js"; +import { loadInputs } from "./schema/inputs.js"; +import type { OutputsModel } from "./schema/outputs.js"; +import { emitOutputs, initialOutputs } from "./schema/outputs.js"; +import type { CacheState } from "./state.js"; +import { isExactHit } from "./state.js"; +import { detectBiome } from "./steps/detect-biome.js"; +import { detectTurbo } from "./steps/detect-turbo.js"; +import { installBiome } from "./steps/install-biome.js"; +import { installDependencies } from "./steps/install-dependencies.js"; +import type { InstalledRuntime } from "./steps/install-runtimes.js"; +import { installRuntimes } from "./steps/install-runtimes.js"; +import { loadConfig } from "./steps/load-config.js"; +import { restoreCache } from "./steps/restore-cache.js"; +import type { ActivatedPackageManager } from "./steps/setup-package-manager.js"; +import { setupPackageManager } from "./steps/setup-package-manager.js"; +import { writeSummary } from "./steps/summary.js"; +import type { StartedTurboCache } from "./steps/turbo-cache.js"; +import { startTurboCache } from "./steps/turbo-cache.js"; +import { formatDetectLine } from "./summary/format.js"; /** - * Determines active package managers from the set of installed runtimes - * and the primary package manager. + * The package manager, told where this run put it when it *is* one of the + * runtimes this run installed. + * + * @remarks + * `bun` and `deno` are their own package managers, so the package-manager step + * is a deliberate no-op for them and reports no `binDir` — the binary is the + * runtime install's business. But the runtime install only publishes to `PATH` + * with `ActionOutputs.addPath`, which appends `GITHUB_PATH` for *later* workflow + * steps and never touches this process. Left alone, the dependency install would + * spawn a bare `bun` against whatever the runner image happens to have, or + * nothing at all — the same class of failure that shim directories fixed for + * pnpm. + * + * The join lives here rather than in either step because it is the only place + * that holds both results: neither step contract changes, and neither learns + * about the other. + * + * {@link InstalledRuntime.path} is already the directory that was published to + * `PATH` — the same value `installRuntimes` handed `addPath` — so it is the bin + * directory, not a path to descend from. + * + * A manager that already knows where it is keeps that answer: an npm-registry + * manager's shim directory wins over a same-named runtime, and there is no such + * collision anyway (`npm`, `pnpm` and `yarn` are never runtimes). */ -export const getActivePackageManagers = ( - runtimes: ReadonlyArray<RuntimeEntry>, - primaryPackageManager: PackageManager, -): PackageManager[] => { - const pms = new Set<PackageManager>(); - - for (const rt of runtimes) { - if (rt.name === "node") pms.add(primaryPackageManager); - else if (rt.name === "bun") pms.add("bun"); - else if (rt.name === "deno") pms.add("deno"); - } - - return Array.from(pms); +const onInstallPath = ( + pm: ActivatedPackageManager, + runtimes: ReadonlyArray<InstalledRuntime>, +): ActivatedPackageManager => { + if (Option.isSome(pm.binDir)) return pm; + const runtime = runtimes.find((installed) => installed.name === pm.name); + return runtime === undefined ? pm : { ...pm, binDir: Option.some(runtime.path) }; }; /** - * Install dependencies using the detected package manager. - * Uses lockfile-aware flags for reproducible installs. + * Every directory this run put a binary in, in the order the install child + * should search them. + * + * @remarks + * The manager alone is not enough. A package manager's install spawns lifecycle + * scripts, and those inherit the install child's `PATH` — so a `postinstall` + * running `deno install` or `bun install` looks for a runtime this action + * installed on a `PATH` that, with only the manager prepended, does not have it. + * That is a real cross-OS failure and not a hypothetical: a multi-runtime + * workspace failed on every runner with `deno: not found`. + * + * Assembling the list here rather than in either step is the same reasoning as + * {@link onInstallPath}: this is the only place holding both results. + * + * The manager leads so its shims win a name collision with a same-named runtime + * — which is exactly the bun/deno-as-package-manager case, where + * {@link onInstallPath} has already filled `binDir` from the runtime install and + * the two entries are the same directory. `Set` drops that duplicate while + * keeping first-seen order, so the head stays the manager's answer. + * + * One collision the manager does **not** win, ruled and deliberate: an *ambient* + * npm. `PackageManagerInstaller` short-circuits an already-satisfied npm without + * caching anything, so it reports no `binDir` and contributes nothing here — + * while node's own bin directory does, carrying the npm bundled with the pinned + * node. The install child therefore runs that npm rather than the ambient one it + * was told was good enough, and `addPath` gives later workflow steps the same + * answer. That is the intended reading: the npm belonging to the node you + * pinned. It also matches v1's effective semantics — legacy's `npm install -g` + * upgraded the ambient prefix, which was then invisible behind the tool-cache + * node already on `GITHUB_PATH` — and no fixture asserts which npm executes. + * Whether the ambient short-circuit should consider a consumer-installed node at + * all is an upstream question, raised in the dogfood loop rather than patched + * around here. */ -export const installDependencies = ( - packageManager: PackageManager, -): Effect.Effect<void, DependencyInstallError, CommandRunner | FileSystem.FileSystem> => - Effect.gen(function* () { - const runner = yield* CommandRunner; - const fs = yield* FileSystem.FileSystem; - - const fileExists = (path: string) => - fs.access(path).pipe( - Effect.map(() => true), - Effect.catch(() => Effect.succeed(false)), - ); - - if (packageManager === "deno") { - yield* Effect.log("Deno caches dependencies automatically, skipping install step"); - return; - } - - let command: string[]; - - switch (packageManager) { - case "npm": { - const hasLock = yield* fileExists("package-lock.json"); - command = hasLock ? ["ci"] : ["install"]; - break; - } - case "pnpm": { - const hasLock = yield* fileExists("pnpm-lock.yaml"); - command = hasLock ? ["install", "--frozen-lockfile"] : ["install"]; - break; - } - case "yarn": { - const hasLock = yield* fileExists("yarn.lock"); - command = hasLock ? ["install", "--immutable"] : ["install", "--no-immutable"]; - break; - } - case "bun": { - const hasBunLock = yield* fileExists("bun.lock"); - const hasBunLockb = yield* fileExists("bun.lockb"); - command = hasBunLock || hasBunLockb ? ["install", "--frozen-lockfile"] : ["install"]; - break; - } - } - - yield* runner.exec(packageManager, command, { streaming: true }).pipe( - /* v8 ignore next 8 -- error path tested via CI fixtures */ - Effect.mapError((cause) => { - const msg = cause instanceof Error ? cause.message : String(cause); - const stderr = - cause && typeof cause === "object" && "stderr" in cause ? (cause as { stderr?: string }).stderr : undefined; - const detail = stderr ? `\n${stderr}` : ""; - return new DependencyInstallError({ - packageManager, - reason: `Failed to install dependencies: ${msg}${detail}`, - cause, - }); - }), - ); - - yield* Step.success("Dependencies installed successfully"); - }); +const installPathPrepends = ( + pm: ActivatedPackageManager, + runtimes: ReadonlyArray<InstalledRuntime>, +): ReadonlyArray<string> => [ + ...new Set([ + ...Option.match(pm.binDir, { onNone: () => [], onSome: (binDir) => [binDir] }), + ...runtimes.map((installed) => installed.path), + ]), +]; /** - * Setup the package manager version after Node is installed and on PATH. - * npm: sudo npm install -g on linux/darwin (global prefix is /usr/local) - * pnpm/yarn: corepack prepare --activate (from tmpdir to avoid workspace interference) - * bun/deno: no setup needed (they ARE their own package manager) + * The `{rt}Version` / `{rt}Enabled` pair for one runtime. + * + * @remarks + * Oracle 46: the version output is the *installed* result's version and the + * enabled flag is presence in the results — "we installed it", not "the + * manifest asked for it". The two happen to coincide because the installed + * version echoes the requested one (there is no resolution step: `devEngines` + * versions are absolute), but the distinction matters for a runtime the + * manifest never named — it must publish `""` / `false`, not the requested + * version of something that was never fetched. */ -export const setupPackageManager = ( - packageManager: PackageManager, - version: string, -): Effect.Effect<void, PackageManagerSetupError, CommandRunner> => - Effect.gen(function* () { - if (packageManager === "bun" || packageManager === "deno") { - yield* Effect.log(`${packageManager} is its own package manager, no additional setup needed`); - return; - } - - const runner = yield* CommandRunner; - - if (packageManager === "npm") { - // npm: install exact version globally via sudo (prefix is /usr/local) - const currentOut = yield* runner.execCapture("npm", ["--version"]); - const currentVersion = currentOut.stdout.trim(); - if (currentVersion !== version) { - yield* Effect.log(`Upgrading npm from ${currentVersion} to ${version}...`); - const plat = osPlatform(); - if (plat === "linux" || plat === "darwin") { - yield* runner.exec("sudo", ["npm", "install", "-g", `npm@${version}`], { streaming: true }); - // Fix npm cache ownership after sudo (sudo creates root-owned files in ~/.npm) - const npmCacheDir = join(homedir(), ".npm"); - yield* runner - .exec("sudo", ["chown", "-R", `${process.getuid?.() ?? 1000}:${process.getgid?.() ?? 1000}`, npmCacheDir]) - .pipe(Effect.catch(() => Effect.void)); - } else { - yield* runner.exec("npm", ["install", "-g", `npm@${version}`], { streaming: true }); - } - } else { - yield* Effect.log(`npm ${currentVersion} already matches required version`); - } - } else { - // Run all corepack and PM commands from a temp directory to prevent pnpm - // from reading pnpm-workspace.yaml configDependencies, which hangs on - // first run before dependencies are installed. - // See: https://github.com/renovatebot/renovate/issues/39902 - const cwd = tmpdir(); - - // Check if corepack needs to be installed (Node >= 25) - const nodeVersionOut = yield* runner.execCapture("node", ["--version"], { cwd }); - const versionMatch = nodeVersionOut.stdout.trim().match(/^v(\d+)\.\d+\.\d+$/); - if (versionMatch) { - const major = Number.parseInt(versionMatch[1], 10); - if (major >= 25) { - yield* Effect.log("Node.js >= 25 detected, installing corepack globally..."); - const plat = osPlatform(); - if (plat === "linux" || plat === "darwin") { - yield* runner.exec("sudo", ["npm", "install", "-g", "--force", "corepack@latest"], { - cwd, - streaming: true, - }); - } else { - yield* runner.exec("npm", ["install", "-g", "--force", "corepack@latest"], { cwd, streaming: true }); - } - } - } - - yield* Effect.log("Enabling corepack..."); - yield* runner.exec("corepack", ["enable"], { cwd }).pipe( - Effect.catch(() => - // Retry after removing stale shims (EEXIST from cached Node installs) - Effect.gen(function* () { - const whichNode = yield* runner.execCapture("which", ["node"], { cwd }); - const binDir = join(whichNode.stdout.trim(), ".."); - yield* Effect.logDebug("Removing stale corepack shims and retrying..."); - const shims = ["pnpm", "pnpx", "yarn", "yarnpkg", "npm", "npx"]; - const exts = ["", ".js", ".cmd", ".ps1"]; - const allShims = shims.flatMap((s) => exts.map((e) => join(binDir, `${s}${e}`))); - yield* runner.exec("rm", ["-f", ...allShims]).pipe(Effect.catch(() => Effect.void)); - yield* runner.exec("corepack", ["enable"], { cwd, streaming: true }); - }), - ), - ); - - yield* Effect.log(`Preparing ${packageManager}@${version}...`); - yield* runner.exec("corepack", ["prepare", `${packageManager}@${version}`, "--activate"], { - cwd, - streaming: true, - }); - } - - // Verify — pnpm must run from tmpdir to avoid configDependencies hang - const verifyOpts = packageManager === "pnpm" ? { cwd: tmpdir() } : {}; - yield* runner.exec(packageManager, ["--version"], { ...verifyOpts, streaming: true }); - yield* Step.success(`${packageManager}@${version} activated`); - }).pipe( - /* v8 ignore next 5 -- error path tested via CI fixtures */ - Effect.mapError((cause) => { - const reason = extractErrorReason(cause); - const stderr = - cause && typeof cause === "object" && "stderr" in cause ? (cause as { stderr?: string }).stderr : undefined; - const detail = stderr ? `\n${stderr}` : ""; - return new PackageManagerSetupError({ - packageManager, - version, - reason: `Package manager setup failed: ${reason}${detail}`, - cause, - }); - }), - ); +const runtimeOutputs = ( + runtimes: ReadonlyArray<InstalledRuntime>, + name: RuntimeName, +): { readonly version: string; readonly enabled: boolean } => { + const installed = runtimes.find((runtime) => runtime.name === name); + return installed === undefined ? { version: "", enabled: false } : { version: installed.version, enabled: true }; +}; /** - * Sets all action outputs from the pipeline results. + * The `turbo-cache-backend` / `turbo-cache-port` pair, from what the step + * started. + * + * @remarks + * The port is `""` rather than `"0"` or `"none"` when no embedded server is + * listening (oracle 44) — `turbo-cache-port` is documented as empty when the + * server was not started, and a workflow reading it tests emptiness. + * + * Split out as a pure function rather than folded inline because it is the one + * part of the turbo wiring a test can pin without a detached child: the step + * itself spawns, and the program run that exercises it therefore cannot. */ -export const setOutputs = ( - outputs: ActionOutputsShape, - installed: ReadonlyArray<InstalledRuntime>, - config: { - readonly packageManager: PackageManagerEntry; - readonly biome: Option.Option<string>; - readonly turbo: boolean; - }, - cacheHit: "exact" | "partial" | "none", - lockfiles: string[], - cachePaths: string[], -) => - Effect.gen(function* () { - // Runtime outputs - const nodeRt = installed.find((r) => r.name === "node"); - const bunRt = installed.find((r) => r.name === "bun"); - const denoRt = installed.find((r) => r.name === "deno"); - - yield* outputs.set("node-version", nodeRt?.version ?? ""); - yield* outputs.set("node-enabled", nodeRt ? "true" : "false"); - yield* outputs.set("bun-version", bunRt?.version ?? ""); - yield* outputs.set("bun-enabled", bunRt ? "true" : "false"); - yield* outputs.set("deno-version", denoRt?.version ?? ""); - yield* outputs.set("deno-enabled", denoRt ? "true" : "false"); - - // Package manager outputs - yield* outputs.set("package-manager", config.packageManager.name); - yield* outputs.set("package-manager-version", config.packageManager.version); - - // Biome outputs - yield* outputs.set("biome-version", Option.isSome(config.biome) ? config.biome.value : ""); - yield* outputs.set("biome-enabled", Option.isSome(config.biome) ? "true" : "false"); - - // Turbo output - yield* outputs.set("turbo-enabled", config.turbo ? "true" : "false"); - - // Cache outputs - const cacheHitOutput = cacheHit === "exact" ? "true" : cacheHit === "partial" ? "partial" : "false"; - yield* outputs.set("cache-hit", cacheHitOutput); - yield* outputs.set("lockfiles", lockfiles.join(",")); - yield* outputs.set("cache-paths", cachePaths.join(",")); - }); +export const turboCacheOutputs = ( + started: StartedTurboCache, +): Pick<OutputsModel, "turboCacheBackend" | "turboCachePort"> => ({ + turboCacheBackend: started.backend, + turboCachePort: Option.match(started.port, { onNone: () => "", onSome: (port) => String(port) }), +}); /** - * File-cache paths for Turbo's local artifact cache. Only `.turbo/cache` (the - * task-output cache) is included; `.turbo/runs` (run summaries), - * `.turbo/cookies`, and `.turbo/daemon` are excluded. + * How the dependency cache restore went, in the three words `cache-hit` is + * documented to take. + * + * @remarks + * `"partial"` is the interesting one: something restored, but not what this run + * asked for, so a workflow reading the output learns that its dependencies came + * from a neighbouring key rather than its own. v1 published the same three + * values from a hit enum; here they come off `restoredKey` directly. */ -export const turboLocalCachePaths = (turboDetected: boolean): string[] => (turboDetected ? ["**/.turbo/cache"] : []); - -// --------------------------------------------------------------------------- -// Main pipeline -// --------------------------------------------------------------------------- +const cacheHit = (state: CacheState): OutputsModel["cacheHit"] => + Option.isNone(state.restoredKey) ? "false" : isExactHit(state) ? "true" : "partial"; -/* v8 ignore start -- pipeline orchestration; individual functions tested separately */ export const program = Effect.gen(function* () { - const outputs = yield* ActionOutputs; - - // Quiet noisy tool chatter from our OWN install steps. Set on this process - // only (NOT exported) so it never affects the consumer's later job steps. - // HUSKY=0 also correctly skips git-hook install in CI. + const logger = yield* ActionLogger; + // Fail fast: `github` is the first thing that needs a real runner, so a + // non-runner environment fails here with `ActionEnvironmentError` rather + // than after every step has already run. + yield* (yield* ActionEnvironment).github; + const inputs = yield* loadInputs; + + // Quiet the tool chatter our *own* install steps provoke. Set on this + // process only — never `exportVariable` — so none of it leaks into the + // consumer's later job steps (oracle 43). `COREPACK_ENABLE_DOWNLOAD_PROMPT` + // outlives corepack's removal from this action: it costs nothing and still + // covers a corepack the consumer's own steps invoke. yield* Effect.sync(() => { process.env.NPM_CONFIG_UPDATE_NOTIFIER = "false"; process.env.NPM_CONFIG_FUND = "false"; @@ -344,255 +191,109 @@ export const program = Effect.gen(function* () { process.env.COREPACK_ENABLE_DOWNLOAD_PROMPT = "0"; }); - // 1. Parse configuration - const config = yield* Step.groupStep( - "Detect configuration", - Effect.gen(function* () { - const devEngines = yield* loadPackageJson; - const parsed = parseDevEngines(devEngines); - const runtimes = parsed.runtime; - const packageManager = parsed.packageManager; - const biome = yield* detectBiome; - const turbo = yield* detectTurbo; - - yield* Effect.log(`Detected runtime(s): ${runtimes.map((r) => `${r.name}@${r.version}`).join(", ")}`); - yield* Effect.log(`Detected package manager: ${packageManager.name}@${packageManager.version}`); - if (Option.isSome(biome)) { - yield* Effect.log(`Detected Biome: ${biome.value}`); - } - if (turbo) { - yield* Effect.log("Detected Turbo configuration"); - } - - yield* Step.success( - formatDetectLine({ - runtimes, - packageManager, - biome: Option.isSome(biome) ? biome.value : null, - turbo, - }), - ); - - return { runtimes, packageManager, biome, turbo }; - }), - ); - - // 2. Determine active package managers and cache config - const pmName: PackageManager = config.packageManager.name; - const activePackageManagers = getActivePackageManagers(config.runtimes, pmName); - - // Build runtime version list for tool cache inclusion - const runtimeEntries: Array<{ name: string; version: string }> = config.runtimes.map((r) => ({ - name: r.name, - version: r.version, - })); - if (Option.isSome(config.biome)) { - runtimeEntries.push({ name: "biome", version: config.biome.value }); - } - - const cacheConfig = yield* getCombinedCacheConfig(activePackageManagers, runtimeEntries); - - // Read additional lockfile patterns and cache paths from inputs (optional, may be empty) - const additionalLockfiles = yield* ActionInput.multiline("additional-lockfiles").pipe(Config.withDefault([])); - const additionalCachePaths = yield* ActionInput.multiline("additional-cache-paths").pipe(Config.withDefault([])); - - const allLockfilePatterns = [...cacheConfig.lockfilePatterns, ...additionalLockfiles]; - const lockfiles = yield* findLockFiles(allLockfilePatterns); - - const cacheBust = yield* Config.string("cache-bust").pipe(Config.withDefault("")); - const cacheBustValue = cacheBust && cacheBust !== "false" ? cacheBust : undefined; - - // Turbo's local artifact cache (.turbo/cache) is file-cached as a fast - // local-restore layer alongside the embedded remote cache. .turbo/runs - // (run summaries) is deliberately excluded — a restored stale summary would - // break "latest run = current run" detection by tools that parse - // `turbo --summarize` output; cookies/daemon are ephemeral. - const finalCachePaths = [...cacheConfig.cachePaths, ...additionalCachePaths, ...turboLocalCachePaths(config.turbo)]; - - yield* Effect.logDebug(`Active PMs: ${activePackageManagers.join(", ")}`); - yield* Effect.logDebug(`Lockfiles found: ${lockfiles.length > 0 ? lockfiles.join(", ") : "(none)"}`); - yield* Effect.logDebug(`Cache paths (${finalCachePaths.length}): ${finalCachePaths.join(", ")}`); - - // Resolve and apply turbo remote cache strategy. - const turboResult = yield* Step.groupStep( - "Turbo remote cache", - Effect.gen(function* () { - const cacheMode = - (yield* Config.string("turbo-cache").pipe(Config.withDefault("auto"))) === "off" ? "off" : "auto"; - const turboToken = yield* Config.string("turbo-token").pipe(Config.withDefault("")); - const turboTeam = yield* Config.string("turbo-team").pipe(Config.withDefault("")); - const prefix = yield* Config.string("turbo-cache-prefix").pipe(Config.withDefault("")); - - // Secrets: read redacted, register with the runner's log mask, then - // unwrap for transport. setSecret takes plaintext (it tells the runner - // what to redact); Redacted guards against accidental logging in main. - const s3Secret = yield* Config.redacted("turbo-s3-secret-access-key").pipe(Config.withDefault(Redacted.make(""))); - const s3Session = yield* Config.redacted("turbo-s3-session-token").pipe(Config.withDefault(Redacted.make(""))); - for (const secret of [turboToken, Redacted.value(s3Secret), Redacted.value(s3Session)]) { - if (secret !== "") yield* outputs.setSecret(secret); - } - - const s3 = { - bucket: yield* Config.string("turbo-s3-bucket").pipe(Config.withDefault("")), - region: yield* Config.string("turbo-s3-region").pipe(Config.withDefault("")), - endpoint: yield* Config.string("turbo-s3-endpoint").pipe(Config.withDefault("")), - accessKeyId: yield* Config.string("turbo-s3-access-key-id").pipe(Config.withDefault("")), - secretAccessKey: Redacted.value(s3Secret), - sessionToken: Redacted.value(s3Session), - prefix: yield* Config.string("turbo-s3-prefix").pipe(Config.withDefault("")), - }; - const resolution = resolveTurboCache({ - turboDetected: config.turbo, - cacheMode, - turboToken, - turboTeam, - s3, - }); - const turboApplied = yield* applyTurboCache(resolution, { - serverEntry: join(dirname(fileURLToPath(import.meta.url)), "turbo-server.js"), - prefix, - spawn: spawnTurboServer, - waitForReady: waitForServer, - }); - yield* Step.success(formatTurboLine(turboApplied.backend, turboApplied.port)); - return turboApplied; - }).pipe( - Effect.catch((error) => - Effect.logWarning(`Turbo cache setup error: ${error instanceof Error ? error.message : String(error)}`).pipe( - Effect.as<TurboApplyResult>({ backend: "none", port: null }), - ), - ), - // Also swallow synchronous defects (e.g. a throw inside spawn) so turbo - // cache setup can never fail the action — matches post.ts's posture. - Effect.catchDefect((defect) => - Effect.logWarning( - `Turbo cache setup defect: ${defect instanceof Error ? defect.message : String(defect)}`, - ).pipe(Effect.as<TurboApplyResult>({ backend: "none", port: null })), - ), + const config = yield* logger.group("Load configuration", loadConfig); + // Detection runs before the cache restore because both the resolved Biome + // version and turbo's presence feed the cache key and path set — the legacy + // ordering (`legacy-v1/program.ts:382-411`). + const biomeVersion = yield* logger.group("Detect Biome", detectBiome(inputs.biomeVersion)); + const turbo = yield* logger.group("Detect Turbo", detectTurbo); + // The headline a reader skims instead of expanding the three groups above + // (oracle 29). v1 emitted it as the canonical success line of a single + // "Detect configuration" group; detection is three groups here, so the line + // is assembled once all three have answered and gets a group of its own — + // a structural deviation, and the only placement that can carry every fact. + yield* logger.group( + "Detected configuration", + Effect.logInfo( + formatDetectLine({ + runtimes: config.runtimes, + packageManager: config.packageManager, + biome: biomeVersion, + turbo: turbo.enabled, + }), ), ); - - // 3. Restore cache (non-fatal) - const cacheResult = yield* Step.groupStep( - "Restore cache", - Effect.gen(function* () { - const cacheEnvDiag = [ - `ACTIONS_CACHE_URL: ${process.env.ACTIONS_CACHE_URL ? "set" : "NOT SET"}`, - `ACTIONS_RESULTS_URL: ${process.env.ACTIONS_RESULTS_URL ? "set" : "NOT SET"}`, - `ACTIONS_RUNTIME_TOKEN: ${process.env.ACTIONS_RUNTIME_TOKEN ? "set" : "NOT SET"}`, - `ACTIONS_CACHE_SERVICE_V2: ${process.env.ACTIONS_CACHE_SERVICE_V2 ?? "NOT SET"}`, - ].join(", "); - yield* Effect.logDebug(`Cache env diagnostic: ${cacheEnvDiag}`); - - const hit = yield* restoreCache({ - cachePaths: finalCachePaths, - runtimes: runtimeEntries, - packageManager: { name: config.packageManager.name, version: config.packageManager.version }, - lockfiles, - ...(cacheBustValue ? { cacheBust: cacheBustValue } : {}), - }).pipe( - Effect.catchTag("CacheError", (e) => - Effect.gen(function* () { - yield* Effect.logWarning(`Cache restore failed: ${e.reason}`); - const detail = formatCauseDetail(e); - if (detail) { - yield* Effect.logWarning(`Cache restore cause detail: ${detail}`); - } - return "none" as const; - }), - ), - // restoreCache also calls state.save (ActionStateError) — never let a - // non-CacheError failure escape and fail the action; degrade to a miss. - Effect.catch((e) => - Effect.gen(function* () { - yield* Effect.logWarning(`Cache restore failed: ${e instanceof Error ? e.message : String(e)}`); - return "none" as const; - }), - ), - ); - yield* Step.success(formatCacheLine(hit, lockfiles.length)); - return hit; - }), - ); - - // 4. Install runtimes - const installed = yield* Step.groupStep( - "Install runtimes", - Effect.forEach(config.runtimes, (rt) => - RuntimeInstaller.pipe( - Effect.flatMap((installer) => installer.install(rt.version)), - Effect.provide(installerLayerFor(rt.name)), - Effect.tap((result) => Step.success(`${rt.name} ${result.version}`)), - ), - ), + const cache = yield* logger.group("Restore dependency cache", restoreCache({ inputs, config, biomeVersion, turbo })); + + const runtimes = yield* logger.group("Install runtimes", installRuntimes(config)); + // The group title names the manager rather than describing the step, and + // says `Install` rather than legacy's "via corepack" — which was a lie for + // bun and deno even before corepack left the action (ruling 17). + const packageManager = yield* logger.group( + `Install ${config.packageManager.name}`, + setupPackageManager(config.packageManager), ); - - // 5. Setup package manager (after runtimes are installed and on PATH) - yield* Step.groupStep( - `Install ${pmName} via ${pmName === "npm" ? "npm" : "corepack"}`, - setupPackageManager(pmName, config.packageManager.version), + const activated = onInstallPath(packageManager, runtimes); + // PHASE B: the dependency install is the only step that spawns anything today, + // so the prepend list is computed inline. When `installBiome` or the turbo + // server start spawning they need the same `PATH`, and the list should be + // bound once here and shared rather than recomputed per caller. + // + // The result is bound rather than discarded because the summary reports it: + // `ran` is *truthful* — false for deno, for a disabled install, and for + // nothing else — where v1 echoed the raw input back and so reported deno's + // skipped install as done (oracle 44, quirk 52). + const dependencies = yield* logger.group( + "Install dependencies", + installDependencies(activated, inputs.installDeps, installPathPrepends(activated, runtimes)), ); - - // 6. Install dependencies - const installDeps = yield* ActionInput.boolean("install-deps").pipe(Config.withDefault(true)); - if (installDeps) { - yield* Step.groupStep(`Install dependencies with ${pmName}`, installDependencies(pmName)); - } - - // 7. Install Biome (non-fatal) -- uses direct download since biome is a raw binary, not an archive - if (Option.isSome(config.biome)) { - const biomeVersion = config.biome.value; - yield* Step.groupStep( - "Install Biome", - installBiome(biomeVersion).pipe( - Effect.catch((e) => - Effect.logWarning(`Biome installation failed: ${e instanceof Error ? e.message : String(e)}`), + // Biome is optional, so a failed install degrades to a warning and the run + // carries on (oracle 29) — a lint tool a later step may or may not invoke is + // not worth failing a job over. The outputs then fold from *this* result + // rather than from detection, so a run that could not install Biome reports + // it as disabled; v1 folded from detection and reported an enabled Biome + // that was never fetched (oracle 30). + const biome = yield* logger.group( + "Install Biome", + installBiome(biomeVersion).pipe( + Effect.catch((error) => + Effect.logWarning(`Biome installation failed: ${error.message}`).pipe( + Effect.as(Option.none<{ readonly version: string; readonly path: string }>()), ), ), - ); - } - - // 8. Set outputs - yield* setOutputs(outputs, installed, config, cacheResult, lockfiles, finalCachePaths); - yield* outputs.set("turbo-cache-backend", turboResult.backend); - yield* outputs.set("turbo-cache-port", turboResult.port === null ? "" : String(turboResult.port)); - - // Job summary panel (non-fatal — never fail the action over a summary write). - const state = yield* ActionState; - const cacheStateOpt = yield* state.getOptional(STATE_KEYS.cacheState, CacheState); - const cacheKey = Option.isSome(cacheStateOpt) ? cacheStateOpt.value.key : ""; - yield* outputs - .summary( - buildRuntimeSummary({ - runtimes: config.runtimes.map((r) => ({ name: r.name, version: r.version })), - packageManager: { name: config.packageManager.name, version: config.packageManager.version }, - biome: Option.isSome(config.biome) ? config.biome.value : null, - turbo: { backend: turboResult.backend, port: turboResult.port }, - cacheHit: cacheResult, - dependenciesInstalled: installDeps, - cacheKey, - lockfiles, - }), - ) - .pipe( - Effect.catch((e) => - Effect.logWarning(`Failed to write job summary: ${e instanceof Error ? e.message : String(e)}`), - ), - ); - - // 9. Summary - yield* Step.groupStep( - "Runtime Setup Complete", - Effect.gen(function* () { - yield* Effect.log(`Runtime(s): ${config.runtimes.map((r) => `${r.name}@${r.version}`).join(", ")}`); - for (const rt of installed) { - yield* Effect.log(`${rt.name}: ${rt.version}`); - } - yield* Effect.log(`${pmName}: ${config.packageManager.version}`); - yield* Effect.log(`Turbo: ${config.turbo ? "enabled" : "disabled"}`); - yield* Effect.log(`Biome: ${Option.isSome(config.biome) ? `v${config.biome.value}` : "not installed"}`); - yield* Effect.log(`Dependencies: ${installDeps ? "installed" : "skipped"}`); - }), + ), ); + // Last in the pipeline deliberately: nothing above consumes the turbo + // environment, and a later start shortens the window in which a detached + // child holds the runner's short-lived `ACTIONS_RUNTIME_TOKEN`. + const turboCache = yield* logger.group("Start turbo remote cache", startTurboCache({ inputs, turbo })); + + const node = runtimeOutputs(runtimes, "node"); + const bun = runtimeOutputs(runtimes, "bun"); + const deno = runtimeOutputs(runtimes, "deno"); + const outputs: OutputsModel = { + ...initialOutputs, + nodeVersion: node.version, + nodeEnabled: node.enabled, + bunVersion: bun.version, + bunEnabled: bun.enabled, + denoVersion: deno.version, + denoEnabled: deno.enabled, + packageManager: packageManager.name, + packageManagerVersion: packageManager.version, + biomeVersion: Option.match(biome, { onNone: () => "", onSome: (installed) => installed.version }), + biomeEnabled: Option.isSome(biome), + turboEnabled: turbo.enabled, + ...turboCacheOutputs(turboCache), + cacheHit: cacheHit(cache), + lockfiles: cache.lockfiles.join(","), + cachePaths: cache.paths.join(","), + }; + + yield* emitOutputs(outputs); + // Last, and after the outputs: the panel reports a run that has already + // published everything a later workflow step reads, so a summary that cannot + // be written costs a report rather than a result. + yield* writeSummary({ + outputs, + runtimes, + biome, + // Detection travels beside the install result so the closing group can + // tell "nobody asked for Biome" apart from "we could not fetch the one + // you pinned" — two situations the install result alone renders as one. + biomeDetected: biomeVersion, + cache, + turboCache, + dependenciesInstalled: dependencies.ran, + }); }); -/* v8 ignore stop */ diff --git a/src/schema/domain.ts b/src/schema/domain.ts new file mode 100644 index 00000000..289ede28 --- /dev/null +++ b/src/schema/domain.ts @@ -0,0 +1,92 @@ +import { SemVer } from "@effected/semver"; +import { Data, Schema } from "effect"; + +/** + * Supported JavaScript runtime names, as accepted by `devEngines.runtime[].name`. + */ +export const RuntimeName = Schema.Literals(["node", "bun", "deno"]); +export type RuntimeName = typeof RuntimeName.Type; + +/** + * Supported package manager names, as accepted by `devEngines.packageManager.name`. + * + * @remarks + * Five values, not four: `deno` is a package manager as well as a runtime, and + * `action.yml` documents the `package-manager` output as + * `npm | pnpm | yarn | bun | deno`. Dropping it would be a silent parity break + * against v1. + */ +export const PackageManagerName = Schema.Literals(["npm", "pnpm", "yarn", "bun", "deno"]); +export type PackageManagerName = typeof PackageManagerName.Type; + +/** + * A version string with no semver range operators — exactly `MAJOR.MINOR.PATCH`, + * with an optional prerelease/build suffix. A range, wildcard, or partial + * version (`^24.0.0`, `24.x`, `1.2`, `*`) is rejected. The schema's `Type` stays + * `string` — this checks the input, it does not transform it into a `SemVer` + * instance — because `devEngines` values are stored and re-serialized as plain + * strings. + * + * @remarks + * `SemVer.ExactVersionString` from `@effected/semver` *is* this check, so the + * alias is the whole definition (upstream round 7, item 9). The local + * composition it replaces was `parseResult` plus a `trim() === s` guard, because + * `parseResult` tolerated padding; `SemVer.isValid` — which + * `ExactVersionString` is refined by — rejects untrimmed input outright, which + * is the documented upstream posture and exactly what this needed. Padding has + * to fail here rather than become a 404 later: the accepted string is + * interpolated verbatim into runtime download URLs. + * + * `ExactVersionString` rather than `PinnableVersionString`: build metadata is + * allowed, and one fixture depends on it — pnpm carries an integrity hash in + * its `devEngines` version (`11.8.0+sha512.c1f5…`). + */ +export const AbsoluteVersion = SemVer.ExactVersionString; +export type AbsoluteVersion = typeof AbsoluteVersion.Type; + +const OnFail = Schema.Literals(["warn", "error", "ignore"]); + +/** + * A single `devEngines.runtime` entry: a runtime name paired with an absolute version. + */ +export class RuntimeSpec extends Schema.Class<RuntimeSpec>("RuntimeSpec")({ + name: RuntimeName, + version: AbsoluteVersion, + onFail: Schema.optionalKey(OnFail), +}) {} + +/** + * The `devEngines.packageManager` entry: a package manager name paired with an + * absolute version. + */ +export class PackageManagerSpec extends Schema.Class<PackageManagerSpec>("PackageManagerSpec")({ + name: PackageManagerName, + version: AbsoluteVersion, + onFail: Schema.optionalKey(OnFail), +}) {} + +/** + * The fully-decoded `devEngines` configuration: one package manager and at + * least one runtime. + */ +export class RuntimeConfig extends Schema.Class<RuntimeConfig>("RuntimeConfig")({ + packageManager: PackageManagerSpec, + runtimes: Schema.NonEmptyArray(RuntimeSpec), +}) {} + +/** + * Raised when `package.json` is missing, is not valid JSON, or its `devEngines` + * field is missing or malformed. + * + * @remarks + * Three reasons, one per failure stage. Every schema rejection — an absent + * `devEngines`, an unsupported name, a semver range where an absolute version + * belongs — collapses into `invalid-dev-engines` with the parse issue carried + * as `cause`, matching v1's single message. Finer-grained reasons can be added + * later without breaking consumers that match on these. + */ +export class ConfigError extends Data.TaggedError("ConfigError")<{ + readonly reason: "missing-package-json" | "malformed-json" | "invalid-dev-engines"; + readonly message: string; + readonly cause?: unknown; +}> {} diff --git a/src/schema/inputs.ts b/src/schema/inputs.ts new file mode 100644 index 00000000..15fe7401 --- /dev/null +++ b/src/schema/inputs.ts @@ -0,0 +1,94 @@ +import { ActionInput } from "@effected/github-actions"; +import type { Redacted } from "effect"; +import { Config, Option } from "effect"; + +/** + * The 16 `action.yml` input names, verbatim, as a const tuple. + * + * @remarks + * The counterpart to `OUTPUT_NAMES`. It is what makes "the code and + * `action.yml` declare the same inputs" a test rather than a convention — the + * suite reads `action.yml` and records what {@link loadInputs} actually asks + * the config provider for, and both must equal this list. + */ +export const INPUT_NAMES = [ + "biome-version", + "turbo-cache", + "turbo-cache-prefix", + "turbo-token", + "turbo-team", + "turbo-s3-bucket", + "turbo-s3-region", + "turbo-s3-endpoint", + "turbo-s3-access-key-id", + "turbo-s3-secret-access-key", + "turbo-s3-session-token", + "turbo-s3-prefix", + "install-deps", + "cache-bust", + "additional-lockfiles", + "additional-cache-paths", +] as const; + +/** + * A single `action.yml` input name. + */ +export type InputName = (typeof INPUT_NAMES)[number]; + +/** + * Normalized `turbo-cache` mode. Any value other than the literal `"off"` + * (including absence, which defaults per `action.yml`) normalizes to `"auto"`. + */ +export type TurboCacheMode = "auto" | "off"; + +/** + * The fully decoded, typed shape of all 16 `action.yml` inputs. + */ +export interface Inputs { + readonly biomeVersion: Option.Option<string>; + readonly turboCache: TurboCacheMode; + readonly turboCachePrefix: string; + readonly turboToken: Option.Option<Redacted.Redacted<string>>; + readonly turboTeam: Option.Option<string>; + readonly turboS3Bucket: Option.Option<string>; + readonly turboS3Region: Option.Option<string>; + readonly turboS3Endpoint: Option.Option<string>; + readonly turboS3AccessKeyId: Option.Option<string>; + readonly turboS3SecretAccessKey: Option.Option<Redacted.Redacted<string>>; + readonly turboS3SessionToken: Option.Option<Redacted.Redacted<string>>; + readonly turboS3Prefix: Option.Option<string>; + readonly installDeps: boolean; + readonly cacheBust: Option.Option<string>; + readonly additionalLockfiles: ReadonlyArray<string>; + readonly additionalCachePaths: ReadonlyArray<string>; +} + +/** + * Decodes all 16 `action.yml` inputs into a typed {@link Inputs} value, via + * `ActionInput` accessors so `INPUT_` mangling and empty-string-is-absent + * semantics stay owned by `@effected/github-actions`, not reimplemented here. + */ +export const loadInputs: Config.Config<Inputs> = Config.all({ + biomeVersion: Config.option(ActionInput.string("biome-version")), + turboCache: ActionInput.string("turbo-cache").pipe(Config.withDefault("auto")), + turboCachePrefix: ActionInput.string("turbo-cache-prefix").pipe(Config.withDefault("")), + turboToken: Config.option(ActionInput.redacted("turbo-token")), + turboTeam: Config.option(ActionInput.string("turbo-team")), + turboS3Bucket: Config.option(ActionInput.string("turbo-s3-bucket")), + turboS3Region: Config.option(ActionInput.string("turbo-s3-region")), + turboS3Endpoint: Config.option(ActionInput.string("turbo-s3-endpoint")), + turboS3AccessKeyId: Config.option(ActionInput.string("turbo-s3-access-key-id")), + turboS3SecretAccessKey: Config.option(ActionInput.redacted("turbo-s3-secret-access-key")), + turboS3SessionToken: Config.option(ActionInput.redacted("turbo-s3-session-token")), + turboS3Prefix: Config.option(ActionInput.string("turbo-s3-prefix")), + installDeps: ActionInput.boolean("install-deps").pipe(Config.withDefault(true)), + cacheBust: Config.option(ActionInput.string("cache-bust")), + additionalLockfiles: ActionInput.lines("additional-lockfiles").pipe(Config.withDefault([])), + additionalCachePaths: ActionInput.lines("additional-cache-paths").pipe(Config.withDefault([])), +}).pipe( + Config.map((raw) => ({ + ...raw, + turboCache: raw.turboCache === "off" ? ("off" as const) : ("auto" as const), + cacheBust: Option.filter(raw.cacheBust, (v) => v !== "false" && v !== ""), + })), +); diff --git a/src/schema/outputs.ts b/src/schema/outputs.ts new file mode 100644 index 00000000..898c1cb0 --- /dev/null +++ b/src/schema/outputs.ts @@ -0,0 +1,102 @@ +import type { ActionOutputError } from "@effected/github-actions"; +import { ActionOutputs } from "@effected/github-actions"; +import { Effect } from "effect"; + +/** + * The 16 `action.yml` output names, verbatim, as a const tuple. + */ +export const OUTPUT_NAMES = [ + "node-version", + "node-enabled", + "bun-version", + "bun-enabled", + "deno-version", + "deno-enabled", + "package-manager", + "package-manager-version", + "biome-version", + "biome-enabled", + "turbo-enabled", + "turbo-cache-backend", + "turbo-cache-port", + "cache-hit", + "lockfiles", + "cache-paths", +] as const; + +/** + * A single `action.yml` output name. + */ +export type OutputName = (typeof OUTPUT_NAMES)[number]; + +/** + * The fully-typed shape of all 16 `action.yml` outputs. + */ +export interface OutputsModel { + readonly nodeVersion: string; + readonly nodeEnabled: boolean; + readonly bunVersion: string; + readonly bunEnabled: boolean; + readonly denoVersion: string; + readonly denoEnabled: boolean; + readonly packageManager: string; + readonly packageManagerVersion: string; + readonly biomeVersion: string; + readonly biomeEnabled: boolean; + readonly turboEnabled: boolean; + readonly turboCacheBackend: "github" | "s3" | "remote" | "none"; + readonly turboCachePort: string; + readonly cacheHit: "true" | "partial" | "false"; + readonly lockfiles: string; + readonly cachePaths: string; +} + +/** + * All-disabled defaults: every version/list field empty, every boolean + * `false`, `turboCacheBackend: "none"`, `cacheHit: "false"`. The baseline a + * run starts from before any feature enables itself. + */ +export const initialOutputs: OutputsModel = { + nodeVersion: "", + nodeEnabled: false, + bunVersion: "", + bunEnabled: false, + denoVersion: "", + denoEnabled: false, + packageManager: "", + packageManagerVersion: "", + biomeVersion: "", + biomeEnabled: false, + turboEnabled: false, + turboCacheBackend: "none", + turboCachePort: "", + cacheHit: "false", + lockfiles: "", + cachePaths: "", +}; + +/** + * Publishes every `action.yml` output exactly once, via `ActionOutputs.set`. + * Booleans are rendered with `String(v)` (`"true"` / `"false"`); the rest are + * already strings. + */ +export const emitOutputs = (model: OutputsModel): Effect.Effect<void, ActionOutputError, ActionOutputs> => + Effect.gen(function* () { + const outputs = yield* ActionOutputs; + yield* outputs.set("node-version", model.nodeVersion); + yield* outputs.set("node-enabled", String(model.nodeEnabled)); + yield* outputs.set("bun-version", model.bunVersion); + yield* outputs.set("bun-enabled", String(model.bunEnabled)); + yield* outputs.set("deno-version", model.denoVersion); + yield* outputs.set("deno-enabled", String(model.denoEnabled)); + yield* outputs.set("package-manager", model.packageManager); + yield* outputs.set("package-manager-version", model.packageManagerVersion); + yield* outputs.set("biome-version", model.biomeVersion); + yield* outputs.set("biome-enabled", String(model.biomeEnabled)); + yield* outputs.set("turbo-enabled", String(model.turboEnabled)); + yield* outputs.set("turbo-cache-backend", model.turboCacheBackend); + yield* outputs.set("turbo-cache-port", model.turboCachePort); + yield* outputs.set("cache-hit", model.cacheHit); + yield* outputs.set("lockfiles", model.lockfiles); + yield* outputs.set("cache-paths", model.cachePaths); + }); diff --git a/src/schemas/domain.test.ts b/src/schemas/domain.test.ts deleted file mode 100644 index ae1afeac..00000000 --- a/src/schemas/domain.test.ts +++ /dev/null @@ -1,157 +0,0 @@ -import { Result, Schema } from "effect"; -import { describe, expect, it } from "vitest"; -import { AbsoluteVersion, DevEngineEntry, DevEngines } from "./domain.js"; - -const decodeAbsoluteVersion = Schema.decodeUnknownResult(AbsoluteVersion); -const decodeDevEngineEntry = Schema.decodeUnknownResult(DevEngineEntry); -const decodeDevEngines = Schema.decodeUnknownResult(DevEngines); - -describe("AbsoluteVersion", () => { - describe("valid versions", () => { - it("accepts a plain semver version", () => { - expect(Result.isSuccess(decodeAbsoluteVersion("24.11.0"))).toBe(true); - }); - - it("accepts a minimal semver version", () => { - expect(Result.isSuccess(decodeAbsoluteVersion("1.0.0"))).toBe(true); - }); - - it("accepts a prerelease version", () => { - expect(Result.isSuccess(decodeAbsoluteVersion("1.0.0-beta.1"))).toBe(true); - }); - - it("accepts a version with prerelease and build metadata", () => { - expect(Result.isSuccess(decodeAbsoluteVersion("1.0.0-beta.1+build.123"))).toBe(true); - }); - }); - - describe("invalid versions", () => { - it("rejects caret ranges", () => { - expect(Result.isFailure(decodeAbsoluteVersion("^24.0.0"))).toBe(true); - }); - - it("rejects tilde ranges", () => { - expect(Result.isFailure(decodeAbsoluteVersion("~24.0.0"))).toBe(true); - }); - - it("rejects gte ranges", () => { - expect(Result.isFailure(decodeAbsoluteVersion(">=24.0.0"))).toBe(true); - }); - - it("rejects wildcard *", () => { - expect(Result.isFailure(decodeAbsoluteVersion("*"))).toBe(true); - }); - - it("rejects x wildcard in major", () => { - expect(Result.isFailure(decodeAbsoluteVersion("24.x"))).toBe(true); - }); - - it("rejects x wildcard in patch", () => { - expect(Result.isFailure(decodeAbsoluteVersion("24.0.x"))).toBe(true); - }); - }); -}); - -describe("DevEngineEntry", () => { - describe("valid entries", () => { - it("accepts minimal entry with name and version", () => { - const result = decodeDevEngineEntry({ name: "node", version: "24.11.0" }); - expect(Result.isSuccess(result)).toBe(true); - }); - - it("accepts entry with optional onFail field", () => { - const result = decodeDevEngineEntry({ name: "node", version: "24.11.0", onFail: "error" }); - expect(Result.isSuccess(result)).toBe(true); - }); - - it("accepts pnpm package manager entry", () => { - const result = decodeDevEngineEntry({ name: "pnpm", version: "10.20.0", onFail: "error" }); - expect(Result.isSuccess(result)).toBe(true); - }); - }); - - describe("invalid entries", () => { - it("rejects entry with semver range version", () => { - const result = decodeDevEngineEntry({ name: "node", version: "^24.0.0" }); - expect(Result.isFailure(result)).toBe(true); - }); - - it("rejects entry missing name", () => { - const result = decodeDevEngineEntry({ version: "24.11.0" }); - expect(Result.isFailure(result)).toBe(true); - }); - - it("rejects entry missing version", () => { - const result = decodeDevEngineEntry({ name: "node" }); - expect(Result.isFailure(result)).toBe(true); - }); - - it("rejects non-object input", () => { - const result = decodeDevEngineEntry("not-an-object"); - expect(Result.isFailure(result)).toBe(true); - }); - }); -}); - -describe("DevEngines", () => { - describe("valid devEngines", () => { - it("accepts single runtime object", () => { - const result = decodeDevEngines({ - runtime: { name: "node", version: "24.11.0" }, - packageManager: { name: "pnpm", version: "10.20.0" }, - }); - expect(Result.isSuccess(result)).toBe(true); - }); - - it("accepts array of runtimes", () => { - const result = decodeDevEngines({ - runtime: [ - { name: "node", version: "24.11.0" }, - { name: "bun", version: "1.3.3" }, - ], - packageManager: { name: "bun", version: "1.3.3" }, - }); - expect(Result.isSuccess(result)).toBe(true); - }); - - it("accepts entries with onFail field", () => { - const result = decodeDevEngines({ - runtime: { name: "node", version: "24.11.0", onFail: "error" }, - packageManager: { name: "pnpm", version: "10.20.0", onFail: "error" }, - }); - expect(Result.isSuccess(result)).toBe(true); - }); - }); - - describe("invalid devEngines", () => { - it("rejects missing packageManager", () => { - const result = decodeDevEngines({ - runtime: { name: "node", version: "24.11.0" }, - }); - expect(Result.isFailure(result)).toBe(true); - }); - - it("rejects missing runtime", () => { - const result = decodeDevEngines({ - packageManager: { name: "pnpm", version: "10.20.0" }, - }); - expect(Result.isFailure(result)).toBe(true); - }); - - it("rejects invalid version in packageManager", () => { - const result = decodeDevEngines({ - runtime: { name: "node", version: "24.11.0" }, - packageManager: { name: "pnpm", version: "^10.0.0" }, - }); - expect(Result.isFailure(result)).toBe(true); - }); - - it("rejects invalid version in runtime", () => { - const result = decodeDevEngines({ - runtime: { name: "node", version: "~24.0.0" }, - packageManager: { name: "pnpm", version: "10.20.0" }, - }); - expect(Result.isFailure(result)).toBe(true); - }); - }); -}); diff --git a/src/schemas/domain.ts b/src/schemas/domain.ts deleted file mode 100644 index 622921b4..00000000 --- a/src/schemas/domain.ts +++ /dev/null @@ -1,70 +0,0 @@ -import { Schema } from "effect"; - -/** - * Validates that a version string is absolute (no semver ranges). - * Rejects strings containing: ^, ~, >, <, =, *, x, X - */ -export const AbsoluteVersion = Schema.String.check( - Schema.makeFilter((v) => { - const invalid = "Must be an absolute version (e.g., '24.11.0'), not a semver range"; - // Reject semver range operators and wildcards - const hasRangeOperators = /[~^<>=*xX]/.test(v); - if (hasRangeOperators) { - return invalid; - } - // Must match basic semver format: digits.digits.digits with optional prerelease/build - const semverPattern = /^\d+\.\d+\.\d+(-[a-zA-Z0-9.-]+)?(\+[a-zA-Z0-9.-]+)?$/; - return semverPattern.test(v) ? undefined : invalid; - }), -); - -/** - * Supported runtime names - */ -export const RuntimeName = Schema.Literals(["node", "bun", "deno"]); -export type RuntimeName = typeof RuntimeName.Type; - -/** - * Supported package manager names - */ -export const PackageManagerName = Schema.Literals(["npm", "pnpm", "yarn", "bun", "deno"]); -export type PackageManagerName = typeof PackageManagerName.Type; - -/** - * A single devEngines entry (generic, for backward compat) - */ -export const DevEngineEntry = Schema.Struct({ - name: Schema.String, - version: AbsoluteVersion, - onFail: Schema.optional(Schema.String), -}); -export type DevEngineEntry = typeof DevEngineEntry.Type; - -/** - * Runtime entry with validated name - */ -export const RuntimeEntry = Schema.Struct({ - name: RuntimeName, - version: AbsoluteVersion, - onFail: Schema.optional(Schema.String), -}); -export type RuntimeEntry = typeof RuntimeEntry.Type; - -/** - * Package manager entry with validated name - */ -export const PackageManagerEntry = Schema.Struct({ - name: PackageManagerName, - version: AbsoluteVersion, - onFail: Schema.optional(Schema.String), -}); -export type PackageManagerEntry = typeof PackageManagerEntry.Type; - -/** - * Complete devEngines schema with typed entries - */ -export const DevEngines = Schema.Struct({ - packageManager: PackageManagerEntry, - runtime: Schema.Union([RuntimeEntry, Schema.Array(RuntimeEntry)]), -}); -export type DevEngines = typeof DevEngines.Type; diff --git a/src/services/cache.test.ts b/src/services/cache.test.ts deleted file mode 100644 index e11dfe3e..00000000 --- a/src/services/cache.test.ts +++ /dev/null @@ -1,554 +0,0 @@ -import { platform } from "node:os"; -import { ActionCache } from "@savvy-web/github-action-effects"; -import { - ActionCacheTest, - ActionEnvironmentTest, - ActionStateTest, - CommandRunnerTest, - GlobTest, -} from "@savvy-web/github-action-effects/testing"; -import { Effect, Layer, Logger, Option } from "effect"; -import { describe, expect, it } from "vitest"; -import { - buildLockfileGlobPatterns, - detectCachePath, - findLockFiles, - generateCacheKey, - generateRestoreKeys, - getCombinedCacheConfig, - getDefaultCachePaths, - getLockfilePatterns, - restoreCache, - saveCache, -} from "./cache.js"; - -// --------------------------------------------------------------------------- -// Helpers — cast all layers to Layer.Layer<never> so Effect.provide is happy -// --------------------------------------------------------------------------- - -// biome-ignore lint/suspicious/noExplicitAny: test mock requires any for mocked service tags -type AnyLayer = Layer.Layer<any>; -const asLayer = (l: AnyLayer): Layer.Layer<never> => l as Layer.Layer<never>; - -// biome-ignore lint/suspicious/noExplicitAny: test mock requires any for mocked effect results -const run = <A>(effect: Effect.Effect<A, any, any>, layer: AnyLayer): Promise<A> => - Effect.runPromise( - effect.pipe(Effect.provide(asLayer(layer)), Effect.provide(Logger.layer([]))) as Effect.Effect<A, never, never>, - ); - -// --------------------------------------------------------------------------- -// Glob mock helper -// --------------------------------------------------------------------------- - -/** - * Build the exact patterns string that findLockFiles passes to glob.glob. - * Uses the real implementation (no mirror) so excludes can't drift. - */ -const findLockFilesGlobKey = (patterns: string[]): string => buildLockfileGlobPatterns(patterns); - -/** - * Build the exact patterns string that hashFiles passes to glob.hashFiles. - * Mirrors the implementation in cache.ts. - */ -const hashFilesGlobKey = (files: string[]): string => files.join("\n"); - -/** - * Creates a GlobTest layer with pre-seeded lock-file matches and a default - * "aaaaaaaa" hash for any patterns string that contains those file paths. - */ -const makeGlobLayer = ( - lockfileMatches: Record<string, ReadonlyArray<string>> = {}, - hashes: Record<string, string> = {}, -): AnyLayer => { - const state = GlobTest.empty(); - for (const [key, matches] of Object.entries(lockfileMatches)) { - state.matches.set(key, matches); - } - for (const [key, hash] of Object.entries(hashes)) { - state.hashes.set(key, hash); - } - return GlobTest.layer(state); -}; - -/** - * GlobTest layer that returns an empty match set for any patterns. - * Suitable for tests that only need hash support or no lock files. - */ -const emptyGlobLayer = (): AnyLayer => GlobTest.layer(GlobTest.empty()); - -// --------------------------------------------------------------------------- -// Tests -// --------------------------------------------------------------------------- - -describe("getDefaultCachePaths", () => { - it("returns correct paths for npm", () => { - const paths = getDefaultCachePaths("npm"); - expect(paths.length).toBeGreaterThan(0); - expect(paths.some((p) => p.includes("npm"))).toBe(true); - }); - - it("returns correct paths for pnpm", () => { - const paths = getDefaultCachePaths("pnpm"); - expect(paths.some((p) => p.includes("pnpm"))).toBe(true); - }); - - it("returns correct paths for yarn", () => { - const paths = getDefaultCachePaths("yarn"); - expect(paths.length).toBe(2); - expect(paths.some((p) => p.includes("yarn") || p.includes("Yarn"))).toBe(true); - }); - - it("returns correct paths for bun", () => { - const paths = getDefaultCachePaths("bun"); - expect(paths.some((p) => p.includes("bun"))).toBe(true); - }); - - it("returns correct paths for deno", () => { - const paths = getDefaultCachePaths("deno"); - expect(paths.some((p) => p.includes("deno"))).toBe(true); - }); -}); - -describe("getLockfilePatterns", () => { - it("returns package-lock.json and npm-shrinkwrap.json for npm", () => { - const patterns = getLockfilePatterns("npm"); - expect(patterns).toContain("**/package-lock.json"); - expect(patterns).toContain("**/npm-shrinkwrap.json"); - }); - - it("returns pnpm-lock.yaml for pnpm", () => { - const patterns = getLockfilePatterns("pnpm"); - expect(patterns).toContain("**/pnpm-lock.yaml"); - }); - - it("returns yarn.lock for yarn", () => { - const patterns = getLockfilePatterns("yarn"); - expect(patterns).toContain("**/yarn.lock"); - }); - - it("returns bun.lock and bun.lockb for bun", () => { - const patterns = getLockfilePatterns("bun"); - expect(patterns).toContain("**/bun.lock"); - expect(patterns).toContain("**/bun.lockb"); - }); - - it("returns deno.lock for deno", () => { - const patterns = getLockfilePatterns("deno"); - expect(patterns).toContain("**/deno.lock"); - }); -}); - -describe("generateCacheKey", () => { - const runtimes = [{ name: "node", version: "24.11.0" }]; - const pm = { name: "pnpm", version: "10.20.0" }; - // Hash seeded for the exact files string passed by hashFiles(["pnpm-lock.yaml"]) - const pnpmLockHash = "abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234abcd1234"; - const pnpmLockGlobKey = hashFilesGlobKey(["pnpm-lock.yaml"]); - - const baseLayer = Layer.mergeAll( - makeGlobLayer({}, { [pnpmLockGlobKey]: pnpmLockHash }), - ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" }), - ); - - it("produces correct format: {os}-{versionHash}-{branchHash}-{lockfileHash}", async () => { - const key = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), baseLayer); - - expect(key).toMatch(/^[a-z0-9]+-[a-f0-9]{8}-[a-f0-9]{8}-[a-f0-9]{8}$/); - expect(key.startsWith(platform())).toBe(true); - }); - - it("produces different keys for different versions", async () => { - const key1 = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), baseLayer); - - const key2 = await run(generateCacheKey([{ name: "node", version: "22.0.0" }], pm, ["pnpm-lock.yaml"]), baseLayer); - - expect(key1).not.toBe(key2); - }); - - it("produces different keys for different branches", async () => { - const globLayer = makeGlobLayer({}, { [pnpmLockGlobKey]: pnpmLockHash }); - - const layer1 = Layer.mergeAll(globLayer, ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" })); - - const layer2 = Layer.mergeAll(globLayer, ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/feature" })); - - const key1 = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), layer1); - const key2 = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), layer2); - - expect(key1).not.toBe(key2); - }); - - it("falls back to empty string when GITHUB_REF is not a heads ref", async () => { - const layer = Layer.mergeAll( - makeGlobLayer({}, { [pnpmLockGlobKey]: pnpmLockHash }), - ActionEnvironmentTest.layer({ GITHUB_REF: "refs/tags/v1.0.0" }), - ); - - // Should still produce a key (with empty branch hashed) - const key = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), layer); - expect(key).toMatch(/^[a-z]+-[0-9a-f]+-[0-9a-f]+-[0-9a-f]+$/); - }); - - it("falls back to empty string when neither GITHUB_HEAD_REF nor GITHUB_REF is set", async () => { - const layer = Layer.mergeAll( - makeGlobLayer({}, { [pnpmLockGlobKey]: pnpmLockHash }), - ActionEnvironmentTest.layer({}), - ); - - const key = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), layer); - expect(key).toMatch(/^[a-z]+-[0-9a-f]+-[0-9a-f]+-[0-9a-f]+$/); - }); - - it("treats empty GITHUB_HEAD_REF as absent", async () => { - const globLayer = makeGlobLayer({}, { [pnpmLockGlobKey]: pnpmLockHash }); - - const layer = Layer.mergeAll( - globLayer, - ActionEnvironmentTest.layer({ GITHUB_HEAD_REF: "", GITHUB_REF: "refs/heads/main" }), - ); - - const mainLayer = Layer.mergeAll(globLayer, ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" })); - - const key1 = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), layer); - const key2 = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), mainLayer); - expect(key1).toBe(key2); - }); - - it("uses GITHUB_HEAD_REF for PRs over GITHUB_REF", async () => { - const globLayer = makeGlobLayer({}, { [pnpmLockGlobKey]: pnpmLockHash }); - - const prLayer = Layer.mergeAll( - globLayer, - ActionEnvironmentTest.layer({ - GITHUB_HEAD_REF: "pr-branch", - GITHUB_REF: "refs/heads/main", - }), - ); - - const mainLayer = Layer.mergeAll(globLayer, ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" })); - - const prKey = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), prLayer); - const mainKey = await run(generateCacheKey(runtimes, pm, ["pnpm-lock.yaml"]), mainLayer); - - expect(prKey).not.toBe(mainKey); - }); -}); - -describe("restoreCache", () => { - const runtimes = [{ name: "node", version: "24.11.0" }]; - const pm = { name: "pnpm", version: "10.20.0" }; - const cachePaths = ["/home/runner/.local/share/pnpm/store", "**/node_modules"]; - - it("returns 'exact' when primary key matches and saves state", async () => { - const state = ActionStateTest.empty(); - - // Cache that returns the primary key verbatim — simulates exact hit - const exactCacheLayer = Layer.succeed(ActionCache, { - save: () => Effect.void, - restore: (_paths: readonly string[], key: string) => Effect.succeed(Option.some(key)), - }); - - const fullLayer = Layer.mergeAll( - emptyGlobLayer(), - ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" }), - exactCacheLayer, - ActionStateTest.layer(state), - ); - - const result = await run(restoreCache({ cachePaths, runtimes, packageManager: pm, lockfiles: [] }), fullLayer); - - expect(result).toBe("exact"); - expect(state.entries.has("cache-state")).toBe(true); - const saved = JSON.parse(state.entries.get("cache-state") ?? "{}"); - expect(saved.restored).toBe(true); - }); - - it("returns 'partial' when restore key matches", async () => { - const state = ActionStateTest.empty(); - - // Cache that returns a different key — simulates partial hit - const partialCacheLayer = Layer.succeed(ActionCache, { - save: () => Effect.void, - restore: () => Effect.succeed(Option.some("some-other-key")), - }); - - const layer = Layer.mergeAll( - emptyGlobLayer(), - ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" }), - partialCacheLayer, - ActionStateTest.layer(state), - ); - - const result = await run(restoreCache({ cachePaths, runtimes, packageManager: pm, lockfiles: [] }), layer); - - expect(result).toBe("partial"); - const saved = JSON.parse(state.entries.get("cache-state") ?? "{}"); - expect(saved.restored).toBe(false); - }); - - it("uses cacheBust parameter when provided", async () => { - const state = ActionStateTest.empty(); - const cache = ActionCacheTest.empty(); - - const layer = Layer.mergeAll( - emptyGlobLayer(), - ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" }), - ActionCacheTest.layer(cache), - ActionStateTest.layer(state), - ); - - const result = await run( - restoreCache({ cachePaths, runtimes, packageManager: pm, lockfiles: [], cacheBust: "test-bust-value" }), - layer, - ); - - expect(result).toBe("none"); - // cacheBust changes the key, so state should still be saved - expect(state.entries.has("cache-state")).toBe(true); - }); - - it("returns 'none' when no cache matches", async () => { - const state = ActionStateTest.empty(); - const cache = ActionCacheTest.empty(); - - const layer = Layer.mergeAll( - emptyGlobLayer(), - ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" }), - ActionCacheTest.layer(cache), - ActionStateTest.layer(state), - ); - - const result = await run(restoreCache({ cachePaths, runtimes, packageManager: pm, lockfiles: [] }), layer); - - expect(result).toBe("none"); - const saved = JSON.parse(state.entries.get("cache-state") ?? "{}"); - expect(saved.restored).toBe(false); - }); -}); - -describe("saveCache", () => { - it("saves when restored is false (partial hit)", async () => { - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: false })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await run(saveCache(), layer); - - expect(cache.entries.has("test-key")).toBe(true); - expect(cache.entries.get("test-key")).toEqual(["/cache/path"]); - }); - - it("saves when restored is false (cache miss)", async () => { - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: false })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await run(saveCache(), layer); - - expect(cache.entries.size).toBe(1); - }); - - it("skips when restored is true (exact hit)", async () => { - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: ["/cache/path"], restored: true })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await run(saveCache(), layer); - - expect(cache.entries.size).toBe(0); - }); - - it("skips when paths is empty", async () => { - const cache = ActionCacheTest.empty(); - const state = ActionStateTest.empty(); - state.entries.set("cache-state", JSON.stringify({ key: "test-key", paths: [], restored: false })); - - const layer = Layer.mergeAll(ActionCacheTest.layer(cache), ActionStateTest.layer(state)); - - await run(saveCache(), layer); - - expect(cache.entries.size).toBe(0); - }); -}); - -describe("getCombinedCacheConfig", () => { - it("deduplicates paths across multiple package managers", async () => { - const layer = CommandRunnerTest.empty(); - - const config = await run(getCombinedCacheConfig(["npm", "pnpm"]), layer); - - const nodeModulesCount = config.cachePaths.filter((p: string) => p === "**/node_modules").length; - expect(nodeModulesCount).toBe(1); - }); - - it("includes tool cache paths for runtimes", async () => { - const layer = CommandRunnerTest.empty(); - const runtimes = [{ name: "node", version: "24.11.0" }]; - - const config = await run(getCombinedCacheConfig(["pnpm"], runtimes), layer); - - const hasToolCache = config.cachePaths.some((p: string) => p.includes("hostedtoolcache/node/24.11.0")); - expect(hasToolCache).toBe(true); - }); - - it("sorts paths with absolute paths first, then globs", async () => { - const layer = CommandRunnerTest.empty(); - - const config = await run(getCombinedCacheConfig(["pnpm"]), layer); - - const firstGlobIdx = config.cachePaths.findIndex((p: string) => p.startsWith("*")); - // Find last absolute path index by iterating - let lastAbsoluteIdx = -1; - for (let i = config.cachePaths.length - 1; i >= 0; i--) { - if (!config.cachePaths[i].startsWith("*")) { - lastAbsoluteIdx = i; - break; - } - } - - if (firstGlobIdx !== -1 && lastAbsoluteIdx !== -1) { - expect(lastAbsoluteIdx).toBeLessThan(firstGlobIdx); - } - }); -}); - -describe("detectCachePath", () => { - it("returns detected path from pnpm store path command", async () => { - const layer = CommandRunnerTest.layer( - new Map([["pnpm store path", { exitCode: 0, stdout: "/home/runner/.local/share/pnpm/store\n", stderr: "" }]]), - ); - - const result = await run(detectCachePath("pnpm"), layer); - - expect(result).toBe("/home/runner/.local/share/pnpm/store"); - }); - - it("falls back to null on command failure", async () => { - // Use empty responses so all commands return exitCode 0 with empty stdout - // To simulate failure, use a layer where all commands return non-zero - const layer = CommandRunnerTest.layer( - new Map([["pnpm store path", { exitCode: 1, stdout: "", stderr: "command failed" }]]), - ); - - const result = await run(detectCachePath("pnpm"), layer); - - expect(result).toBeNull(); - }); - - it("returns detected path for npm", async () => { - const layer = CommandRunnerTest.layer( - new Map([["npm config get cache", { exitCode: 0, stdout: "/home/runner/.npm\n", stderr: "" }]]), - ); - - const result = await run(detectCachePath("npm"), layer); - - expect(result).toBe("/home/runner/.npm"); - }); - - it("returns detected path for yarn Berry", async () => { - const layer = CommandRunnerTest.layer( - new Map([["yarn config get cacheFolder", { exitCode: 0, stdout: "/home/runner/.yarn/cache\n", stderr: "" }]]), - ); - - const result = await run(detectCachePath("yarn"), layer); - - expect(result).toBe("/home/runner/.yarn/cache"); - }); - - it("returns detected path for bun", async () => { - const layer = CommandRunnerTest.layer( - new Map([["bun pm cache", { exitCode: 0, stdout: "/home/runner/.bun/install/cache\n", stderr: "" }]]), - ); - - const result = await run(detectCachePath("bun"), layer); - - expect(result).toBe("/home/runner/.bun/install/cache"); - }); - - it("parses deno info --json for denoDir", async () => { - const layer = CommandRunnerTest.layer( - new Map([ - [ - "deno info --json", - { exitCode: 0, stdout: JSON.stringify({ denoDir: "/home/runner/.cache/deno" }), stderr: "" }, - ], - ]), - ); - - const result = await run(detectCachePath("deno"), layer); - - expect(result).toBe("/home/runner/.cache/deno"); - }); -}); - -describe("findLockFiles", () => { - it("finds lockfiles that exist via glob patterns", async () => { - const patternsKey = findLockFilesGlobKey(["pnpm-lock.yaml"]); - const layer = makeGlobLayer({ [patternsKey]: ["pnpm-lock.yaml"] }); - const result = await run(findLockFiles(["pnpm-lock.yaml"]), layer); - expect(result).toContain("pnpm-lock.yaml"); - }); - - it("finds lockfiles with glob wildcards", async () => { - const patternsKey = findLockFilesGlobKey(["**/pnpm-lock.yaml"]); - const layer = makeGlobLayer({ [patternsKey]: ["/repo/pnpm-lock.yaml"] }); - const result = await run(findLockFiles(["**/pnpm-lock.yaml"]), layer); - expect(result.length).toBeGreaterThan(0); - expect(result.some((f) => f === "pnpm-lock.yaml" || f.endsWith("/pnpm-lock.yaml"))).toBe(true); - }); - - it("returns empty array when no lockfiles match", async () => { - const layer = emptyGlobLayer(); - const result = await run(findLockFiles(["nonexistent-lockfile-xyz.lock"]), layer); - expect(result).toEqual([]); - }); - - it("excludes node_modules, .git, and test/fixture trees from discovery", () => { - const patternsStr = buildLockfileGlobPatterns(["**/pnpm-lock.yaml"]); - expect(patternsStr).toContain("**/pnpm-lock.yaml"); - expect(patternsStr).toContain("!**/node_modules/**"); - expect(patternsStr).toContain("!**/.git/**"); - expect(patternsStr).toContain("!**/__fixtures__/**"); - expect(patternsStr).toContain("!**/__test__/**"); - expect(patternsStr).toContain("!**/__tests__/**"); - }); - - it("deduplicates results across overlapping patterns", async () => { - // GlobLive deduplicates via Set; GlobTest returns whatever we seed. - // Seed with a single entry to verify the caller doesn't double-count. - const patternsKey = findLockFilesGlobKey(["pnpm-lock.yaml", "pnpm-lock.yaml"]); - const layer = makeGlobLayer({ [patternsKey]: ["pnpm-lock.yaml"] }); - const result = await run(findLockFiles(["pnpm-lock.yaml", "pnpm-lock.yaml"]), layer); - const pnpmCount = result.filter((f) => f === "pnpm-lock.yaml").length; - expect(pnpmCount).toBeLessThanOrEqual(1); - }); -}); - -describe("generateRestoreKeys", () => { - const runtimes = [{ name: "node", version: "24.11.0" }]; - const pm = { name: "pnpm", version: "10.20.0" }; - - it("returns restore key prefixes", async () => { - const layer = ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" }); - - const keys = await run(generateRestoreKeys(runtimes, pm), layer); - - expect(keys).toHaveLength(2); - expect(keys[0]).toMatch(new RegExp(`^${platform()}-[a-f0-9]{8}-[a-f0-9]{8}-$`)); - expect(keys[1]).toMatch(new RegExp(`^${platform()}-[a-f0-9]{8}-$`)); - }); - - it("returns empty array when cacheBust is set", async () => { - const layer = ActionEnvironmentTest.layer({ GITHUB_REF: "refs/heads/main" }); - - const keys = await run(generateRestoreKeys(runtimes, pm, "test-bust"), layer); - - expect(keys).toEqual([]); - }); -}); diff --git a/src/services/cache.ts b/src/services/cache.ts deleted file mode 100644 index c8470592..00000000 --- a/src/services/cache.ts +++ /dev/null @@ -1,501 +0,0 @@ -import { createHash } from "node:crypto"; -import { homedir, platform, tmpdir } from "node:os"; -import { join } from "node:path"; -import { ActionCache, ActionEnvironment, ActionState, CommandRunner, Glob } from "@savvy-web/github-action-effects"; -import { Effect, Option } from "effect"; -import { CacheError } from "../errors/errors.js"; -import type { PackageManagerName } from "../schemas/domain.js"; -import { CacheState, STATE_KEYS } from "../state.js"; - -/** - * Supported package managers for caching. - */ -export type PackageManager = PackageManagerName; - -/** - * Cache configuration for a package manager. - */ -export interface CacheConfig { - /** Cache directory paths */ - readonly cachePaths: string[]; - /** Lock file patterns to look for */ - readonly lockfilePatterns: string[]; -} - -// --------------------------------------------------------------------------- -// Pure helpers -// --------------------------------------------------------------------------- - -/** - * SHA256 hash truncated to 8 hex characters. - */ -const hashString = (input: string): string => createHash("sha256").update(input).digest("hex").substring(0, 8); - -/** - * Gets default fallback cache paths for a package manager based on the - * current platform. - */ -/* v8 ignore start -- platform-specific constant mappings, only one branch executes per OS */ -export const getDefaultCachePaths = (pm: PackageManager): string[] => { - const plat = platform(); - const home = homedir(); - - switch (pm) { - case "npm": - return [plat === "win32" ? join(home, "AppData", "Local", "npm-cache") : join(home, ".npm")]; - - case "pnpm": - return [ - plat === "win32" - ? join(home, "AppData", "Local", "pnpm", "store") - : join(home, ".local", "share", "pnpm", "store"), - ]; - - case "yarn": - return [ - plat === "win32" ? join(home, "AppData", "Local", "Yarn", "Cache") : join(home, ".yarn", "cache"), - plat === "win32" ? join(home, "AppData", "Local", "Yarn", "Berry", "cache") : join(home, ".cache", "yarn"), - ]; - - case "bun": - return [ - plat === "win32" - ? join(home, "AppData", "Local", "bun", "install", "cache") - : join(home, ".bun", "install", "cache"), - ]; - - case "deno": - return [plat === "win32" ? join(home, "AppData", "Local", "deno") : join(home, ".cache", "deno")]; - } -}; -/* v8 ignore stop */ - -/** - * Lockfile glob patterns per package manager. - */ -export const getLockfilePatterns = (pm: PackageManager): string[] => { - switch (pm) { - case "npm": - return ["**/package-lock.json", "**/npm-shrinkwrap.json"]; - case "pnpm": - return ["**/pnpm-lock.yaml", "**/pnpm-workspace.yaml", "**/.pnpmfile.cjs"]; - case "yarn": - return ["**/yarn.lock", "**/.pnp.cjs", "**/.yarn/install-state.gz"]; - case "bun": - return ["**/bun.lock", "**/bun.lockb"]; - case "deno": - return ["**/deno.lock"]; - } -}; - -/** - * Gets additional dependency paths beyond the global cache directory. - */ -const getAdditionalPaths = (pm: PackageManager): string[] => { - switch (pm) { - case "npm": - case "pnpm": - return ["**/node_modules"]; - case "yarn": - return ["**/node_modules", "**/.yarn/cache", "**/.yarn/unplugged", "**/.yarn/install-state.gz"]; - case "bun": - return ["**/node_modules"]; - case "deno": - return []; - } -}; - -/** - * Gets tool cache paths for specific runtimes. - * Tool cache is at /opt/hostedtoolcache on Linux/macOS, C:\\hostedtoolcache on Windows. - */ -const getToolCachePaths = (runtimes: ReadonlyArray<{ name: string; version: string }>): string[] => { - const plat = platform(); - const toolCacheBase = - process.env.RUNNER_TOOL_CACHE ?? (plat === "win32" ? "C:\\hostedtoolcache" : "/opt/hostedtoolcache"); - const paths: string[] = []; - - for (const { name, version } of runtimes) { - if (name === "node" || name === "bun" || name === "deno" || name === "biome") { - paths.push(join(toolCacheBase, name, version)); - } - } - - return paths; -}; - -/** - * Sorts paths with absolute paths first, then glob patterns, for readability. - */ -const sortPaths = (paths: string[]): string[] => { - const absolute = paths.filter((p) => !p.startsWith("*")).sort(); - const globs = paths.filter((p) => p.startsWith("*")).sort(); - return [...absolute, ...globs]; -}; - -// --------------------------------------------------------------------------- -// Effectful functions -// --------------------------------------------------------------------------- - -/** - * Queries a package manager for its cache directory. - * Falls back to platform-specific defaults on failure. - * - * Uses CommandRunner.execCapture to run: - * npm → `npm config get cache` - * pnpm → `pnpm store path` - * yarn → `yarn config get cacheFolder` (Berry), `yarn cache dir` (Classic) - * bun → `bun pm cache` - * deno → `deno info --json` → parse denoDir - */ -export const detectCachePath = (pm: PackageManager) => - Effect.gen(function* () { - const runner = yield* CommandRunner; - const tmpDir = tmpdir(); - - const opts = { silent: true, cwd: tmpDir }; - - const detected: string | null = yield* Effect.gen(function* () { - switch (pm) { - case "npm": { - const out = yield* runner.execCapture("npm", ["config", "get", "cache"], opts); - return out.stdout.trim() || null; - } - case "pnpm": { - const out = yield* runner.execCapture("pnpm", ["store", "path"], opts); - return out.stdout.trim() || null; - } - case "yarn": { - // Try Yarn Berry first - const berry = yield* runner - .execCapture("yarn", ["config", "get", "cacheFolder"], opts) - .pipe(Effect.catch(() => Effect.succeed({ exitCode: 1, stdout: "", stderr: "" }))); - if (berry.stdout.trim() && berry.stdout.trim() !== "undefined") { - return berry.stdout.trim(); - } - /* v8 ignore next 3 -- Yarn Classic fallback, only reached when Berry isn't installed */ - const classic = yield* runner.execCapture("yarn", ["cache", "dir"], opts); - return classic.stdout.trim() || null; - } - case "bun": { - const out = yield* runner.execCapture("bun", ["pm", "cache"], opts); - return out.stdout.trim() || null; - } - case "deno": { - const out = yield* runner.execCapture("deno", ["info", "--json"], opts); - if (out.stdout.trim()) { - let info: { denoDir?: string } | null = null; - try { - info = JSON.parse(out.stdout) as { denoDir?: string }; - } catch { - // deno info output may not be valid JSON - } - return info?.denoDir ?? null; - } - return null; - } - } - }).pipe(Effect.catch(() => Effect.succeed(null))); - - return detected; - }); - -/** - * Gets cache config (paths + lockfile patterns) for a single package manager. - */ -export const getCacheConfig = (pm: PackageManager) => - Effect.gen(function* () { - // detectCachePath catches its own failures and resolves to null on error, - // so no outer orElse is needed here. - const detected = yield* detectCachePath(pm); - - const globalCachePaths = detected ? [detected] : getDefaultCachePaths(pm); - const additionalPaths = getAdditionalPaths(pm); - const cachePaths = [...globalCachePaths, ...additionalPaths]; - const lockfilePatterns = getLockfilePatterns(pm); - - return { cachePaths, lockfilePatterns } satisfies CacheConfig; - }); - -/** - * Merges configs from multiple package managers, deduplicating paths. - * Also includes tool cache paths for the given runtimes. - */ -export const getCombinedCacheConfig = ( - pms: PackageManager[], - runtimes: ReadonlyArray<{ name: string; version: string }> = [], -) => - Effect.gen(function* () { - const cachePathsSet = new Set<string>(); - const lockfilePatternsSet = new Set<string>(); - - for (const pm of pms) { - const config = yield* getCacheConfig(pm); - for (const p of config.cachePaths) cachePathsSet.add(p); - for (const p of config.lockfilePatterns) lockfilePatternsSet.add(p); - } - - // Add tool cache paths for runtimes - for (const p of getToolCachePaths(runtimes)) { - cachePathsSet.add(p); - } - - return { - cachePaths: sortPaths(Array.from(cachePathsSet)), - lockfilePatterns: sortPaths(Array.from(lockfilePatternsSet)), - } satisfies CacheConfig; - }); - -/** - * Glob exclusions applied to lockfile discovery. Lockfiles only count at the - * repo root or real workspace package directories — never inside dependencies - * (`node_modules`), VCS internals (`.git`), or test/fixture trees, which often - * carry files named like real lockfiles and would otherwise pollute the cache - * key. Covers `__fixtures__/`, `__test__/...` (incl. nested `fixtures`), and the - * Jest `__tests__/` convention at any depth. - */ -export const LOCKFILE_GLOB_EXCLUDES = [ - "!**/node_modules/**", - "!**/.git/**", - "!**/__fixtures__/**", - "!**/__tests__/**", - "!**/__test__/**", -] as const; - -/** - * Build the newline-separated glob string for lockfile discovery: the include - * patterns followed by {@link LOCKFILE_GLOB_EXCLUDES}. - */ -export const buildLockfileGlobPatterns = (patterns: string[]): string => - [...patterns, ...LOCKFILE_GLOB_EXCLUDES].join("\n"); - -/** - * Finds lockfiles matching glob patterns using the Glob service. Excludes - * dependencies, VCS internals, and test/fixture trees (see - * {@link LOCKFILE_GLOB_EXCLUDES}). - */ -export const findLockFiles = (patterns: string[]) => - Effect.gen(function* () { - const glob = yield* Glob; - const patternsStr = buildLockfileGlobPatterns(patterns); - const matches = yield* glob.glob(patternsStr).pipe(Effect.catch(() => Effect.succeed([] as ReadonlyArray<string>))); - return [...matches].sort(); - }); - -/** - * Hash a list of files using Glob.hashFiles, truncated to 8 hex chars. - * Returns "" when the files list is empty. - */ -const hashFiles = (files: string[]) => - Effect.gen(function* () { - if (files.length === 0) return ""; - const glob = yield* Glob; - // Join file paths as a newline-separated pattern string for Glob.hashFiles - const patternsStr = files.join("\n"); - const result = yield* glob.hashFiles(patternsStr).pipe(Effect.catch(() => Effect.succeed(Option.none<string>()))); - return Option.getOrElse(result, () => "").substring(0, 8); - }); - -/** - * Gets the branch name from GitHub Actions environment variables. - * For PRs: uses GITHUB_HEAD_REF. - * For pushes: strips "refs/heads/" from GITHUB_REF. - */ -const getBranchName = Effect.gen(function* () { - const env = yield* ActionEnvironment; - - // PR branch - const headRef = yield* env.getOptional("GITHUB_HEAD_REF"); - if (Option.isSome(headRef) && headRef.value !== "") { - return headRef.value; - } - - // Push branch — strip refs/heads/ prefix - const ref = yield* env.getOptional("GITHUB_REF"); - if (Option.isSome(ref) && ref.value.startsWith("refs/heads/")) { - return ref.value.replace("refs/heads/", ""); - } - - return ""; -}); - -/** - * Builds a deterministic version hash from runtime versions and package manager. - * Optionally prefixes with cacheBust for test cache isolation. - */ -const buildVersionHash = ( - runtimes: ReadonlyArray<{ name: string; version: string }>, - packageManager: { name: string; version: string }, - cacheBust?: string, -): string => { - const hasher = createHash("sha256"); - if (cacheBust) hasher.update(cacheBust); - for (const rt of [...runtimes].sort((a, b) => a.name.localeCompare(b.name))) { - hasher.update(`${rt.name}:${rt.version}`); - } - hasher.update(`${packageManager.name}:${packageManager.version}`); - return hasher.digest("hex").substring(0, 8); -}; - -export const generateCacheKey = ( - runtimes: ReadonlyArray<{ name: string; version: string }>, - packageManager: { name: string; version: string }, - lockfiles: string[], - cacheBust?: string, -) => - Effect.gen(function* () { - const plat = platform(); - const versionHash = buildVersionHash(runtimes, packageManager, cacheBust); - const branch = yield* getBranchName; - const branchHash = hashString(branch || "null"); - const lockfileHash = yield* hashFiles(lockfiles); - - return `${plat}-${versionHash}-${branchHash}-${lockfileHash}`; - }); - -/** - * Generates restore key prefixes for cache fallback. - * When cacheBust is set (testing), returns empty to force exact matches. - */ -export const generateRestoreKeys = ( - runtimes: ReadonlyArray<{ name: string; version: string }>, - packageManager: { name: string; version: string }, - cacheBust?: string, -) => - Effect.gen(function* () { - if (cacheBust) return []; - - const plat = platform(); - const versionHash = buildVersionHash(runtimes, packageManager); - const branch = yield* getBranchName; - const branchHash = hashString(branch || "null"); - - return [`${plat}-${versionHash}-${branchHash}-`, `${plat}-${versionHash}-`]; - }); - -/** - * Restores cache and saves state for the post action. - * - * Uses ActionCache.restore to attempt cache restoration, then persists - * the result via ActionState.save so saveCache can decide whether to - * save a new entry. - */ -export const restoreCache = (config: { - readonly cachePaths: string[]; - readonly runtimes: ReadonlyArray<{ name: string; version: string }>; - readonly packageManager: { name: string; version: string }; - readonly lockfiles: string[]; - readonly cacheBust?: string; -}) => - Effect.gen(function* () { - const cache = yield* ActionCache; - const state = yield* ActionState; - - const primaryKey = yield* generateCacheKey( - config.runtimes, - config.packageManager, - config.lockfiles, - config.cacheBust, - ); - - const restoreKeys = yield* generateRestoreKeys(config.runtimes, config.packageManager, config.cacheBust); - - // Log cache key details for debugging (debug level — visible with RUNNER_DEBUG=1) - yield* Effect.logDebug(`Cache primary key: ${primaryKey}`); - yield* Effect.logDebug( - `Cache restore keys: ${restoreKeys.length > 0 ? restoreKeys.join(", ") : "(none — exact match only)"}`, - ); - yield* Effect.logDebug(`Cache paths (${config.cachePaths.length}): ${config.cachePaths.join(", ")}`); - if (config.cacheBust) { - yield* Effect.logDebug(`Cache bust value: ${config.cacheBust}`); - } - - const matchedKey = yield* cache.restore(config.cachePaths, primaryKey, restoreKeys).pipe( - Effect.mapError( - (cause) => - new CacheError({ - operation: "restore", - reason: `Failed to restore cache with key ${primaryKey}`, - cause, - }), - ), - ); - - // Determine hit status - const hit = Option.isSome(matchedKey) - ? matchedKey.value === primaryKey - ? ("exact" as const) - : ("partial" as const) - : ("none" as const); - - yield* Effect.log( - `Cache ${hit === "exact" ? "restored (exact match)" : hit === "partial" ? `restored (partial: ${Option.getOrElse(matchedKey, () => "?")})` : "miss"}`, - ); - - // Save state for post action - yield* state.save( - STATE_KEYS.cacheState, - new CacheState({ - key: primaryKey, - paths: config.cachePaths, - restored: hit === "exact", - }), - CacheState, - ); - - return hit; - }); - -/** - * Saves cache if the previous restore was not an exact hit. - * Called from post.ts — reads state saved by restoreCache. - */ -export const saveCache = () => - Effect.gen(function* () { - const cache = yield* ActionCache; - const state = yield* ActionState; - - const cacheState = yield* state.get(STATE_KEYS.cacheState, CacheState).pipe( - Effect.mapError( - (cause) => - new CacheError({ - operation: "save", - reason: "Failed to read cache state", - cause, - }), - ), - ); - - yield* Effect.log( - `Cache state from main: restored=${cacheState.restored}, key=${cacheState.key}, paths=${cacheState.paths.length}`, - ); - - // Skip save on exact hit — cache is already up to date - if (cacheState.restored) { - yield* Effect.log("Cache exact hit — skipping save"); - return; - } - - const key = cacheState.key; - const paths = cacheState.paths; - - if (paths.length === 0) { - yield* Effect.log("No cache paths — skipping save"); - return; - } - - yield* Effect.log(`Saving cache: key=${key}, paths (${paths.length}): ${paths.join(", ")}`); - - yield* cache.save(paths, key).pipe( - Effect.mapError( - (cause) => - new CacheError({ - operation: "save", - reason: `Failed to save cache with key ${key}`, - cause, - }), - ), - ); - - yield* Effect.log(`Cache saved successfully: key=${key}`); - }); diff --git a/src/services/config-loader.test.ts b/src/services/config-loader.test.ts deleted file mode 100644 index 6e3dee1b..00000000 --- a/src/services/config-loader.test.ts +++ /dev/null @@ -1,289 +0,0 @@ -import { ConfigProvider, Effect, Exit, FileSystem, Layer, Option } from "effect"; -import { describe, expect, it } from "vitest"; -import { ConfigError } from "../errors/errors.js"; -import { detectBiome, detectTurbo, loadPackageJson, parseDevEngines } from "./config-loader.js"; - -// --------------------------------------------------------------------------- -// FileSystem mock helpers -// --------------------------------------------------------------------------- - -type FsFiles = Record<string, string>; -type FsExists = Set<string>; - -/** - * Creates a minimal FileSystem layer for testing. - * - `files` maps path → content (for readFileString) - * - `exists` is a set of accessible paths (for access); defaults to all keys in `files` - */ -const makeFileSystemLayer = ( - files: FsFiles = {}, - exists: FsExists = new Set(Object.keys(files)), -): Layer.Layer<FileSystem.FileSystem> => - Layer.succeed( - FileSystem.FileSystem, - FileSystem.makeNoop({ - readFileString: (path) => { - const content = files[path]; - if (content === undefined) { - return Effect.fail( - new (class extends Error { - readonly _tag = "SystemError"; - readonly reason = "NotFound"; - })() as never, - ); - } - return Effect.succeed(content); - }, - access: (path) => { - if (exists.has(path)) { - return Effect.succeed(undefined); - } - return Effect.fail( - new (class extends Error { - readonly _tag = "SystemError"; - readonly reason = "NotFound"; - })() as never, - ); - }, - }), - ); - -// --------------------------------------------------------------------------- -// Helper: run detectBiome with given inputs record + FileSystem layer -// --------------------------------------------------------------------------- - -const runDetectBiome = (inputs: Record<string, string>, fsLayer: Layer.Layer<FileSystem.FileSystem>) => { - // Build a ConfigProvider that maps input names directly (no prefix transformation). - // This simulates how ActionsConfigProvider resolves Config.string("biome-version"). - const configProvider = ConfigProvider.fromUnknown(inputs); - - return Effect.runPromise( - Effect.provide(detectBiome.pipe(Effect.provideService(ConfigProvider.ConfigProvider, configProvider)), fsLayer), - ); -}; - -// --------------------------------------------------------------------------- -// loadPackageJson -// --------------------------------------------------------------------------- - -describe("loadPackageJson", () => { - it("reads and parses a valid package.json with single runtime devEngines", async () => { - const packageJson = JSON.stringify({ - name: "my-project", - devEngines: { - packageManager: { name: "pnpm", version: "10.20.0", onFail: "error" }, - runtime: { name: "node", version: "24.11.0", onFail: "error" }, - }, - }); - - const layer = makeFileSystemLayer({ "package.json": packageJson }); - const result = await Effect.runPromise(Effect.provide(loadPackageJson, layer)); - - expect(result.packageManager.name).toBe("pnpm"); - expect(result.packageManager.version).toBe("10.20.0"); - }); - - it("reads and parses a valid package.json with array runtime devEngines", async () => { - const packageJson = JSON.stringify({ - name: "my-project", - devEngines: { - packageManager: { name: "bun", version: "1.3.3" }, - runtime: [ - { name: "node", version: "24.11.0" }, - { name: "bun", version: "1.3.3" }, - ], - }, - }); - - const layer = makeFileSystemLayer({ "package.json": packageJson }); - const result = await Effect.runPromise(Effect.provide(loadPackageJson, layer)); - - expect(result.packageManager.name).toBe("bun"); - expect(Array.isArray(result.runtime)).toBe(true); - }); - - it("fails with ConfigError when package.json is missing", async () => { - const layer = makeFileSystemLayer({}); - const exit = await Effect.runPromise(Effect.exit(Effect.provide(loadPackageJson, layer))); - - expect(Exit.isFailure(exit)).toBe(true); - }); - - it("fails with ConfigError for invalid JSON", async () => { - const layer = makeFileSystemLayer({ "package.json": "not valid json {{{" }); - const exit = await Effect.runPromise(Effect.exit(Effect.provide(loadPackageJson, layer))); - - expect(Exit.isFailure(exit)).toBe(true); - }); - - it("fails with ConfigError when devEngines field is missing", async () => { - const layer = makeFileSystemLayer({ "package.json": JSON.stringify({ name: "my-project" }) }); - const exit = await Effect.runPromise(Effect.exit(Effect.provide(loadPackageJson, layer))); - - expect(Exit.isFailure(exit)).toBe(true); - }); - - it("fails with ConfigError when runtime version is a semver range", async () => { - const packageJson = JSON.stringify({ - devEngines: { - packageManager: { name: "pnpm", version: "10.20.0" }, - runtime: { name: "node", version: "^24.0.0" }, - }, - }); - - const layer = makeFileSystemLayer({ "package.json": packageJson }); - const exit = await Effect.runPromise(Effect.exit(Effect.provide(loadPackageJson, layer))); - - expect(Exit.isFailure(exit)).toBe(true); - }); - - it("fails with ConfigError when packageManager version is a semver range", async () => { - const packageJson = JSON.stringify({ - devEngines: { - packageManager: { name: "pnpm", version: "~10.0.0" }, - runtime: { name: "node", version: "24.11.0" }, - }, - }); - - const layer = makeFileSystemLayer({ "package.json": packageJson }); - const exit = await Effect.runPromise(Effect.exit(Effect.provide(loadPackageJson, layer))); - - expect(Exit.isFailure(exit)).toBe(true); - }); - - it("surfaces a ConfigError instance (not a generic error)", async () => { - const layer = makeFileSystemLayer({}); - const exit = await Effect.runPromise( - Effect.exit(Effect.provide(loadPackageJson.pipe(Effect.catch((e) => Effect.succeed(e))), layer)), - ); - - expect(Exit.isSuccess(exit)).toBe(true); - if (Exit.isSuccess(exit)) { - expect(exit.value).toBeInstanceOf(ConfigError); - } - }); -}); - -// --------------------------------------------------------------------------- -// parseDevEngines -// --------------------------------------------------------------------------- - -describe("parseDevEngines", () => { - it("normalizes single runtime object to array", () => { - const devEngines = { - packageManager: { name: "pnpm", version: "10.20.0" } as const, - runtime: { name: "node", version: "24.11.0" } as const, - }; - - const result = parseDevEngines(devEngines); - expect(Array.isArray(result.runtime)).toBe(true); - expect(result.runtime).toHaveLength(1); - expect(result.runtime[0]).toEqual({ name: "node", version: "24.11.0" }); - }); - - it("keeps array runtime as-is", () => { - const devEngines = { - packageManager: { name: "bun", version: "1.3.3" } as const, - runtime: [{ name: "node", version: "24.11.0" } as const, { name: "bun", version: "1.3.3" } as const], - }; - - const result = parseDevEngines(devEngines); - expect(Array.isArray(result.runtime)).toBe(true); - expect(result.runtime).toHaveLength(2); - }); - - it("preserves packageManager unchanged", () => { - const devEngines = { - packageManager: { name: "pnpm", version: "10.20.0", onFail: "error" } as const, - runtime: { name: "node", version: "24.11.0" } as const, - }; - - const result = parseDevEngines(devEngines); - expect(result.packageManager).toEqual({ name: "pnpm", version: "10.20.0", onFail: "error" }); - }); -}); - -// --------------------------------------------------------------------------- -// detectBiome -// --------------------------------------------------------------------------- - -describe("detectBiome", () => { - it("returns Some with version from biome.jsonc $schema URL", async () => { - const biomeConfig = JSON.stringify({ - $schema: "https://biomejs.dev/schemas/2.3.14/schema.json", - }); - - const fsLayer = makeFileSystemLayer({ "biome.jsonc": biomeConfig }); - const result = await runDetectBiome({}, fsLayer); - - expect(Option.isSome(result)).toBe(true); - if (Option.isSome(result)) { - expect(result.value).toBe("2.3.14"); - } - }); - - it("returns Some with version from biome.json when biome.jsonc not present", async () => { - const biomeConfig = JSON.stringify({ - $schema: "https://biomejs.dev/schemas/2.3.14/schema.json", - }); - - const fsLayer = makeFileSystemLayer({ "biome.json": biomeConfig }, new Set(["biome.json"])); - const result = await runDetectBiome({}, fsLayer); - - expect(Option.isSome(result)).toBe(true); - if (Option.isSome(result)) { - expect(result.value).toBe("2.3.14"); - } - }); - - it("returns None when no biome config exists", async () => { - const fsLayer = makeFileSystemLayer({}); - const result = await runDetectBiome({}, fsLayer); - - expect(Option.isNone(result)).toBe(true); - }); - - it("uses biome-version input override when provided", async () => { - const fsLayer = makeFileSystemLayer({}); - const result = await runDetectBiome({ "biome-version": "2.0.0" }, fsLayer); - - expect(Option.isSome(result)).toBe(true); - if (Option.isSome(result)) { - expect(result.value).toBe("2.0.0"); - } - }); - - it("uses input override even when biome.jsonc exists", async () => { - const biomeConfig = JSON.stringify({ - $schema: "https://biomejs.dev/schemas/1.0.0/schema.json", - }); - - const fsLayer = makeFileSystemLayer({ "biome.jsonc": biomeConfig }); - const result = await runDetectBiome({ "biome-version": "2.3.14" }, fsLayer); - - expect(Option.isSome(result)).toBe(true); - if (Option.isSome(result)) { - expect(result.value).toBe("2.3.14"); - } - }); -}); - -// --------------------------------------------------------------------------- -// detectTurbo -// --------------------------------------------------------------------------- - -describe("detectTurbo", () => { - it("returns true when turbo.json exists", async () => { - const fsLayer = makeFileSystemLayer({ "turbo.json": "{}" }); - const result = await Effect.runPromise(Effect.provide(detectTurbo, fsLayer)); - - expect(result).toBe(true); - }); - - it("returns false when turbo.json does not exist", async () => { - const fsLayer = makeFileSystemLayer({}); - const result = await Effect.runPromise(Effect.provide(detectTurbo, fsLayer)); - - expect(result).toBe(false); - }); -}); diff --git a/src/services/config-loader.ts b/src/services/config-loader.ts deleted file mode 100644 index f593fa50..00000000 --- a/src/services/config-loader.ts +++ /dev/null @@ -1,124 +0,0 @@ -import { Jsonc } from "@effected/jsonc"; -import { Config, Effect, FileSystem, Option, Schema } from "effect"; -import { ConfigError } from "../errors/errors.js"; -import { DevEngines } from "../schemas/domain.js"; - -/** - * Reads and parses package.json, decoding the devEngines field. - * Wraps all failures in ConfigError. - */ -export const loadPackageJson = Effect.gen(function* () { - const fs = yield* FileSystem.FileSystem; - - const content = yield* fs.readFileString("package.json", "utf-8").pipe( - Effect.mapError( - (cause) => - new ConfigError({ - reason: - "package.json not found. This action requires a package.json with devEngines.packageManager and devEngines.runtime fields.", - file: "package.json", - cause, - }), - ), - ); - - const raw = yield* Effect.try({ - try: () => JSON.parse(content) as unknown, - catch: (cause) => - new ConfigError({ - reason: `Failed to parse package.json: Invalid JSON`, - file: "package.json", - cause, - }), - }); - - const packageJson = yield* Schema.decodeUnknownEffect(Schema.Struct({ devEngines: DevEngines }))(raw).pipe( - Effect.mapError( - (cause) => - new ConfigError({ - reason: `package.json has invalid or missing devEngines field`, - file: "package.json", - cause, - }), - ), - ); - - return packageJson.devEngines; -}); - -/** - * Normalizes devEngines.runtime from a single object or array into always-array form. - */ -export const parseDevEngines = (devEngines: typeof DevEngines.Type) => { - const runtimes = Array.isArray(devEngines.runtime) ? devEngines.runtime : [devEngines.runtime]; - return { ...devEngines, runtime: runtimes }; -}; - -/** - * Detects Biome version from the `biome-version` input override, - * or by reading `biome.jsonc` / `biome.json` and extracting the version - * from the `$schema` URL. - * - * Returns Option.none() if no Biome config is detected and no override is given. - */ -export const detectBiome = Effect.gen(function* () { - // 1. Check explicit input override first - const override = yield* Config.string("biome-version").pipe(Config.withDefault("")); - if (override !== "") { - return Option.some(override); - } - - const fs = yield* FileSystem.FileSystem; - - // 2. Try biome.jsonc, then biome.json - const configFile = yield* Effect.gen(function* () { - const hasJsonc = yield* fs.access("biome.jsonc").pipe( - Effect.map(() => true), - Effect.catch(() => Effect.succeed(false)), - ); - if (hasJsonc) return Option.some("biome.jsonc"); - - const hasJson = yield* fs.access("biome.json").pipe( - Effect.map(() => true), - Effect.catch(() => Effect.succeed(false)), - ); - if (hasJson) return Option.some("biome.json"); - - return Option.none<string>(); - }); - - if (Option.isNone(configFile)) { - return Option.none<string>(); - } - - // 3. Read the config file and extract version from $schema URL - const configContent = yield* fs - .readFileString(configFile.value, "utf-8") - .pipe(Effect.catch(() => Effect.succeed("{}"))); - - const parsed = yield* Jsonc.parse(configContent).pipe(Effect.catch(() => Effect.succeed({} as unknown))); - const schema = (parsed as { $schema?: string }).$schema; - if (!schema) { - return Option.none<string>(); - } - - const match = schema.match(/schemas\/([^/]+)\/schema\.json/); - if (match?.[1]) { - return Option.some(match[1]); - } - - return Option.none<string>(); -}); - -/** - * Detects Turborepo configuration by checking if `turbo.json` exists. - * Returns true if found, false otherwise. - */ -export const detectTurbo = Effect.gen(function* () { - const fs = yield* FileSystem.FileSystem; - const exists = yield* fs.access("turbo.json").pipe( - Effect.map(() => true), - Effect.catch(() => Effect.succeed(false)), - ); - return exists; -}); diff --git a/src/services/runtime-installer.test.ts b/src/services/runtime-installer.test.ts deleted file mode 100644 index 898bb475..00000000 --- a/src/services/runtime-installer.test.ts +++ /dev/null @@ -1,275 +0,0 @@ -import { ToolInstaller } from "@savvy-web/github-action-effects"; -import { - ActionOutputsTest, - CommandRunnerTest, - ToolInstallerError, - ToolInstallerTest, -} from "@savvy-web/github-action-effects/testing"; -import { Cause, Effect, Exit, Layer, Logger, Option } from "effect"; -import { describe, expect, it } from "vitest"; -import { RuntimeInstallError } from "../errors/errors.js"; -import type { RuntimeDescriptor } from "./runtime-installer.js"; -import { makeRuntimeInstaller } from "./runtime-installer.js"; - -// --------------------------------------------------------------------------- -// Test descriptor (node-like) -// --------------------------------------------------------------------------- - -const nodeTestDescriptor: RuntimeDescriptor = { - name: "node", - getDownloadUrl: (version, platform, arch) => - `https://nodejs.org/dist/v${version}/node-v${version}-${platform}-${arch}.tar.gz`, - getToolInstallOptions: (_version, platform, _arch) => - platform === "win32" ? { archiveType: "zip" as const } : { archiveType: "tar.gz" as const, binSubPath: "bin" }, - verifyCommand: ["node", "--version"], -}; - -// --------------------------------------------------------------------------- -// Helpers -// --------------------------------------------------------------------------- - -// biome-ignore lint/suspicious/noExplicitAny: test layer type erasure at service boundary -const runInstall = (version: string, descriptor: RuntimeDescriptor, testLayer: Layer.Layer<any>) => { - const installer = makeRuntimeInstaller(descriptor); - return Effect.runPromise( - installer.install(version).pipe(Effect.provide(testLayer), Effect.provide(Logger.layer([]))), - ); -}; - -// biome-ignore lint/suspicious/noExplicitAny: test layer type erasure at service boundary -const runInstallExit = (version: string, descriptor: RuntimeDescriptor, testLayer: Layer.Layer<any>) => { - const installer = makeRuntimeInstaller(descriptor); - return Effect.runPromise( - Effect.exit(installer.install(version).pipe(Effect.provide(testLayer), Effect.provide(Logger.layer([])))), - ); -}; - -// --------------------------------------------------------------------------- -// Tests -// --------------------------------------------------------------------------- - -describe("makeRuntimeInstaller", () => { - describe("install succeeds", () => { - it("returns InstalledRuntime with correct name, version, and path", async () => { - const tools = ToolInstallerTest.empty(); - const outputs = ActionOutputsTest.empty(); - const testLayer = Layer.mergeAll( - ToolInstallerTest.layer(tools), - CommandRunnerTest.empty(), - ActionOutputsTest.layer(outputs), - ); - - const result = await runInstall("24.11.0", nodeTestDescriptor, testLayer); - - expect(result.name).toBe("node"); - expect(result.version).toBe("24.11.0"); - expect(result.path).toContain("/tools/node/24.11.0"); - }); - - it("records cacheDir call and addPath in test state", async () => { - const tools = ToolInstallerTest.empty(); - const outputs = ActionOutputsTest.empty(); - const testLayer = Layer.mergeAll( - ToolInstallerTest.layer(tools), - CommandRunnerTest.empty(), - ActionOutputsTest.layer(outputs), - ); - - await runInstall("24.11.0", nodeTestDescriptor, testLayer); - - expect(tools.cacheDirCalls).toHaveLength(1); - expect(tools.cacheDirCalls[0]).toMatchObject({ tool: "node", version: "24.11.0" }); - expect(outputs.paths).toHaveLength(1); - }); - - it("exec is called with the verify command args", async () => { - const tools = ToolInstallerTest.empty(); - const outputs = ActionOutputsTest.empty(); - const cmdResponses = new Map([["node --version", { exitCode: 0, stdout: "v24.11.0", stderr: "" }]]); - const testLayer = Layer.mergeAll( - ToolInstallerTest.layer(tools), - CommandRunnerTest.layer(cmdResponses), - ActionOutputsTest.layer(outputs), - ); - - const result = await runInstall("24.11.0", nodeTestDescriptor, testLayer); - expect(result.name).toBe("node"); - }); - }); - - describe("install wraps ToolInstallerError as RuntimeInstallError", () => { - it("fails with RuntimeInstallError when ToolInstaller.download fails", async () => { - const outputs = ActionOutputsTest.empty(); - const failingToolInstaller: typeof ToolInstaller.Service = { - find: () => Effect.succeed(Option.none()), - download: () => - Effect.fail( - new ToolInstallerError({ - tool: "node", - version: "24.11.0", - operation: "download", - reason: "Network error", - }), - ), - extractTar: () => Effect.succeed("/tmp/extracted"), - extractZip: () => Effect.succeed("/tmp/extracted"), - cacheDir: () => Effect.succeed("/tools/node/24.11.0"), - cacheFile: () => Effect.succeed("/tools/node/24.11.0"), - }; - - const testLayer = Layer.mergeAll( - Layer.succeed(ToolInstaller, failingToolInstaller), - CommandRunnerTest.empty(), - ActionOutputsTest.layer(outputs), - ); - - const exit = await runInstallExit("24.11.0", nodeTestDescriptor, testLayer); - - expect(Exit.isFailure(exit)).toBe(true); - const err = Exit.isFailure(exit) ? Option.getOrUndefined(Cause.findErrorOption(exit.cause)) : undefined; - expect(err).toBeInstanceOf(RuntimeInstallError); - if (err instanceof RuntimeInstallError) { - expect(err.runtime).toBe("node"); - expect(err.version).toBe("24.11.0"); - expect(err.reason).toContain("Network error"); - } - }); - }); - - describe("install wraps CommandRunnerError as RuntimeInstallError", () => { - it("fails with RuntimeInstallError when CommandRunner.exec fails", async () => { - const tools = ToolInstallerTest.empty(); - const outputs = ActionOutputsTest.empty(); - const cmdResponses = new Map([["node --version", { exitCode: 127, stdout: "", stderr: "node: not found" }]]); - const testLayer = Layer.mergeAll( - ToolInstallerTest.layer(tools), - CommandRunnerTest.layer(cmdResponses), - ActionOutputsTest.layer(outputs), - ); - - const exit = await runInstallExit("24.11.0", nodeTestDescriptor, testLayer); - - expect(Exit.isFailure(exit)).toBe(true); - const err = Exit.isFailure(exit) ? Option.getOrUndefined(Cause.findErrorOption(exit.cause)) : undefined; - expect(err).toBeInstanceOf(RuntimeInstallError); - if (err instanceof RuntimeInstallError) { - expect(err.runtime).toBe("node"); - expect(err.version).toBe("24.11.0"); - } - }); - }); - - describe("installerLayerFor", () => { - it("fails with RuntimeInstallError for unknown runtime name", async () => { - const mod = await import("./runtime-installer.js"); - const layer = mod.installerLayerFor("unknown"); - const exit = await Effect.runPromise( - Effect.exit( - mod.RuntimeInstaller.pipe( - Effect.flatMap((i) => i.install("1.0.0")), - Effect.provide(layer), - Effect.provide(Logger.layer([])), - ) as unknown as Effect.Effect<never, RuntimeInstallError>, - ), - ); - expect(Exit.isFailure(exit)).toBe(true); - const err = Exit.isFailure(exit) ? Option.getOrUndefined(Cause.findErrorOption(exit.cause)) : undefined; - expect(err).toBeInstanceOf(RuntimeInstallError); - if (err instanceof RuntimeInstallError) { - expect(err.reason).toContain("Unknown runtime: unknown"); - } - }); - - it("returns a layer for node", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.installerLayerFor("node")).toBeDefined(); - }); - - it("returns a layer for bun", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.installerLayerFor("bun")).toBeDefined(); - }); - - it("returns a layer for deno", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.installerLayerFor("deno")).toBeDefined(); - }); - }); -}); - -// --------------------------------------------------------------------------- -// extractErrorReason tests -// --------------------------------------------------------------------------- - -describe("extractErrorReason", () => { - it("extracts reason from object with reason field", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.extractErrorReason({ reason: "something failed" })).toBe("something failed"); - }); - - it("extracts message from Error instances", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.extractErrorReason(new Error("err msg"))).toBe("err msg"); - }); - - it("extracts message from object with message field", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.extractErrorReason({ message: "msg" })).toBe("msg"); - }); - - it("formats _tag when present", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.extractErrorReason({ _tag: "SomeError" })).toBe("SomeError"); - }); - - it("prefers reason over _tag when both present", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.extractErrorReason({ _tag: "SomeError", reason: "details" })).toBe("details"); - }); - - it("returns string representation for primitives", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.extractErrorReason("plain string")).toBe("plain string"); - expect(mod.extractErrorReason(42)).toBe("42"); - }); - - it("returns 'Unknown error' for empty values", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.extractErrorReason("")).toBe("Unknown error"); - expect(mod.extractErrorReason(null)).toBe("null"); - }); -}); - -// --------------------------------------------------------------------------- -// formatCauseDetail tests -// --------------------------------------------------------------------------- - -describe("formatCauseDetail", () => { - it("extracts cause detail from error with structured cause", async () => { - const mod = await import("./runtime-installer.js"); - const error = { cause: { reason: "timeout", operation: "restore", key: "cache-key" } }; - expect(mod.formatCauseDetail(error)).toBe("reason=timeout, operation=restore, key=cache-key"); - }); - - it("uses ? for missing cause fields", async () => { - const mod = await import("./runtime-installer.js"); - const error = { cause: {} }; - expect(mod.formatCauseDetail(error)).toBe("reason=?, operation=?, key=?"); - }); - - it("returns undefined for error without cause", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.formatCauseDetail({ reason: "no cause" })).toBeUndefined(); - }); - - it("returns undefined for non-object error", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.formatCauseDetail("string error")).toBeUndefined(); - expect(mod.formatCauseDetail(null)).toBeUndefined(); - }); - - it("returns undefined when cause is undefined", async () => { - const mod = await import("./runtime-installer.js"); - expect(mod.formatCauseDetail({ cause: undefined })).toBeUndefined(); - }); -}); diff --git a/src/services/runtime-installer.ts b/src/services/runtime-installer.ts deleted file mode 100644 index bf313c06..00000000 --- a/src/services/runtime-installer.ts +++ /dev/null @@ -1,165 +0,0 @@ -import { ActionOutputs, CommandRunner, ToolInstaller } from "@savvy-web/github-action-effects"; -import { Context, Effect, Layer } from "effect"; -import { descriptor as bunDescriptor } from "../descriptors/bun.js"; -import { descriptor as denoDescriptor } from "../descriptors/deno.js"; -import { descriptor as nodeDescriptor } from "../descriptors/node.js"; -import { RuntimeInstallError } from "../errors/errors.js"; - -/** - * Extract a human-readable reason from an error. - * Effect TaggedErrors have a `message` that may be empty and store data in custom fields. - */ -export const extractErrorReason = (error: unknown): string => { - if (error && typeof error === "object") { - const e = error as Record<string, unknown>; - if (typeof e.reason === "string" && e.reason) return e.reason; - if (typeof e.message === "string" && e.message) return e.message; - if (typeof e._tag === "string") return `${e._tag}${e.reason ? `: ${e.reason}` : ""}`; - } - if (error instanceof Error && error.message) return error.message; - const str = String(error); - return str || "Unknown error"; -}; - -/** - * Formats structured cause detail from an error's cause field. - * Returns a human-readable string or undefined if no structured cause exists. - */ -export const formatCauseDetail = (error: unknown): string | undefined => { - if (error && typeof error === "object" && "cause" in error) { - const cause = (error as { cause?: Record<string, unknown> }).cause; - if (cause) { - return `reason=${cause.reason ?? "?"}, operation=${cause.operation ?? "?"}, key=${cause.key ?? "?"}`; - } - } - return undefined; -}; - -/** - * Descriptor for a runtime or tool that can be installed. - */ -export interface RuntimeDescriptor { - readonly name: string; - readonly getDownloadUrl: (version: string, platform: string, arch: string) => string; - readonly getToolInstallOptions: ( - version: string, - platform: string, - arch: string, - ) => Partial<{ archiveType: "tar.gz" | "tar.xz" | "zip"; binSubPath: string; tarFlags: ReadonlyArray<string> }>; - readonly verifyCommand: readonly [string, ...string[]]; -} - -/** - * Result of a successful runtime installation. - */ -export interface InstalledRuntime { - readonly name: string; - readonly version: string; - readonly path: string; -} - -/** - * Service shape for installing a specific runtime. - */ -export interface RuntimeInstallerShape { - readonly install: ( - version: string, - ) => Effect.Effect<InstalledRuntime, RuntimeInstallError, ToolInstaller | CommandRunner | ActionOutputs>; -} - -/** - * Service for installing a specific runtime. - * - * Context.Service class form so callers can `yield* RuntimeInstaller` and - * downstream typing resolves through the static service identity. - */ -export class RuntimeInstaller extends Context.Service<RuntimeInstaller, RuntimeInstallerShape>()("RuntimeInstaller") {} - -/** - * Factory: creates a RuntimeInstaller from a descriptor. - */ -export const makeRuntimeInstaller = (descriptor: RuntimeDescriptor): RuntimeInstallerShape => ({ - install: (version) => - Effect.gen(function* () { - const toolInstaller = yield* ToolInstaller; - const runner = yield* CommandRunner; - const outputs = yield* ActionOutputs; - - const url = yield* Effect.try({ - try: () => descriptor.getDownloadUrl(version, process.platform, process.arch), - catch: (e) => e, - }); - const options = yield* Effect.try({ - try: () => descriptor.getToolInstallOptions(version, process.platform, process.arch), - catch: (e) => e, - }); - - // Download the archive - const downloadedPath = yield* toolInstaller.download(url); - - // Extract the archive - let extractedDir: string; - if (options.archiveType === "zip") { - extractedDir = yield* toolInstaller.extractZip(downloadedPath); - } else { - extractedDir = yield* toolInstaller.extractTar(downloadedPath, undefined, options.tarFlags); - } - - // Cache the extracted directory - const cachedPath = yield* toolInstaller.cacheDir(extractedDir, descriptor.name, version); - - // Determine the path to add to PATH (may include binSubPath) - const toolPath = options.binSubPath ? `${cachedPath}/${options.binSubPath}` : cachedPath; - - // Add to PATH - yield* outputs.addPath(toolPath); - - // Verify the installation - yield* runner.exec(descriptor.verifyCommand[0], [...descriptor.verifyCommand.slice(1)]); - - return { name: descriptor.name, version, path: toolPath } satisfies InstalledRuntime; - }).pipe( - Effect.catch((error) => - Effect.fail( - new RuntimeInstallError({ - runtime: descriptor.name, - version, - reason: extractErrorReason(error), - cause: error, - }), - ), - ), - ), -}); - -/** - * Pre-built layers for each supported runtime. - */ -export const NodeInstallerLive = Layer.succeed(RuntimeInstaller, makeRuntimeInstaller(nodeDescriptor)); -export const BunInstallerLive = Layer.succeed(RuntimeInstaller, makeRuntimeInstaller(bunDescriptor)); -export const DenoInstallerLive = Layer.succeed(RuntimeInstaller, makeRuntimeInstaller(denoDescriptor)); - -/** - * Returns the appropriate installer layer for the given runtime name. - */ -export const installerLayerFor = (name: string): Layer.Layer<RuntimeInstaller, RuntimeInstallError> => { - switch (name) { - case "node": - return NodeInstallerLive; - case "bun": - return BunInstallerLive; - case "deno": - return DenoInstallerLive; - default: - return Layer.effect( - RuntimeInstaller, - Effect.fail( - new RuntimeInstallError({ - runtime: name, - version: "unknown", - reason: `Unknown runtime: ${name}`, - }), - ), - ); - } -}; diff --git a/src/services/summary.test.ts b/src/services/summary.test.ts deleted file mode 100644 index b22a6428..00000000 --- a/src/services/summary.test.ts +++ /dev/null @@ -1,82 +0,0 @@ -// src/services/summary.test.ts -import { describe, expect, it } from "vitest"; -import type { RuntimeSummary } from "./summary.js"; -import { buildRuntimeSummary, formatCacheLine, formatDetectLine, formatTurboLine } from "./summary.js"; - -describe("formatTurboLine", () => { - it("describes an embedded backend with its port", () => { - expect(formatTurboLine("github", 41230)).toBe("github · server ready (:41230)"); - expect(formatTurboLine("s3", 41230)).toBe("s3 · server ready (:41230)"); - }); - it("describes passthrough and disabled", () => { - expect(formatTurboLine("remote", null)).toBe("passthrough (Vercel)"); - expect(formatTurboLine("none", null)).toBe("disabled"); - }); -}); - -describe("formatDetectLine", () => { - it("joins runtimes, package manager, biome, and turbo", () => { - const line = formatDetectLine({ - runtimes: [{ name: "node", version: "26.3.1" }], - packageManager: { name: "pnpm", version: "11.8.0" }, - biome: "2.4.16", - turbo: true, - }); - expect(line).toBe("node 26.3.1 · pnpm 11.8.0 · biome 2.4.16 · turbo"); - }); - it("omits biome and turbo when absent", () => { - const line = formatDetectLine({ - runtimes: [{ name: "node", version: "26.3.1" }], - packageManager: { name: "pnpm", version: "11.8.0" }, - biome: null, - turbo: false, - }); - expect(line).toBe("node 26.3.1 · pnpm 11.8.0"); - }); -}); - -describe("formatCacheLine", () => { - it("renders hit/partial/miss with lockfile count and pluralization", () => { - expect(formatCacheLine("exact", 3)).toBe("exact hit (3 lockfiles)"); - expect(formatCacheLine("partial", 1)).toBe("partial hit (1 lockfile)"); - expect(formatCacheLine("none", 0)).toBe("miss (0 lockfiles)"); - }); -}); - -describe("buildRuntimeSummary", () => { - const base: RuntimeSummary = { - runtimes: [{ name: "node", version: "26.3.1" }], - packageManager: { name: "pnpm", version: "11.8.0" }, - biome: "2.4.16", - turbo: { backend: "github", port: 41230 }, - cacheHit: "exact", - dependenciesInstalled: true, - cacheKey: "linux-aaaa1111-bbbb2222-cccc3333", - lockfiles: ["pnpm-lock.yaml"], - }; - - it("renders the heading, a table with all rows, and a cache-details section", () => { - const md = buildRuntimeSummary(base); - expect(md).toContain("## 🚀 Runtime Setup"); - expect(md).toContain("| Runtime(s) | node 26.3.1 |"); - expect(md).toContain("| Package manager | pnpm 11.8.0 |"); - expect(md).toContain("| Biome | 2.4.16 |"); - expect(md).toContain("| Turbo cache | github · server ready (:41230) |"); - expect(md).toContain("| Dependency cache | ✅ exact hit |"); - expect(md).toContain("| Dependencies | installed |"); - expect(md).toContain("<details>"); - expect(md).toContain("linux-aaaa1111-bbbb2222-cccc3333"); - expect(md).toContain("pnpm-lock.yaml"); - }); - - it("omits the Biome row when biome is null", () => { - const md = buildRuntimeSummary({ ...base, biome: null }); - expect(md).not.toContain("| Biome |"); - }); - - it("shows skipped dependencies and a partial-cache cell", () => { - const md = buildRuntimeSummary({ ...base, dependenciesInstalled: false, cacheHit: "partial" }); - expect(md).toContain("| Dependencies | skipped |"); - expect(md).toContain("| Dependency cache | ♻️ partial hit |"); - }); -}); diff --git a/src/services/summary.ts b/src/services/summary.ts deleted file mode 100644 index 63c74739..00000000 --- a/src/services/summary.ts +++ /dev/null @@ -1,77 +0,0 @@ -// src/services/summary.ts -import { GithubMarkdown } from "@savvy-web/github-action-effects"; - -/** Active turbo cache backend reported by applyTurboCache. */ -export type TurboCacheBackend = "github" | "s3" | "remote" | "none"; - -/** Dependency-cache restore outcome. */ -export type CacheHit = "exact" | "partial" | "none"; - -/** Facts about a completed runtime setup, rendered into the job summary. */ -export interface RuntimeSummary { - readonly runtimes: ReadonlyArray<{ readonly name: string; readonly version: string }>; - readonly packageManager: { readonly name: string; readonly version: string }; - readonly biome: string | null; - readonly turbo: { readonly backend: TurboCacheBackend; readonly port: number | null }; - readonly cacheHit: CacheHit; - readonly dependenciesInstalled: boolean; - readonly cacheKey: string; - readonly lockfiles: ReadonlyArray<string>; -} - -/** Human label for the turbo cache state (step line + summary row). */ -export const formatTurboLine = (backend: TurboCacheBackend, port: number | null): string => { - if (backend === "none") return "disabled"; - if (backend === "remote") return "passthrough (Vercel)"; - return `${backend} · server ready${port === null ? "" : ` (:${port})`}`; -}; - -/** One-line detected-config summary for the "Detect configuration" step. */ -export const formatDetectLine = (s: { - runtimes: ReadonlyArray<{ name: string; version: string }>; - packageManager: { name: string; version: string }; - biome: string | null; - turbo: boolean; -}): string => { - const parts = [ - ...s.runtimes.map((r) => `${r.name} ${r.version}`), - `${s.packageManager.name} ${s.packageManager.version}`, - ]; - if (s.biome) parts.push(`biome ${s.biome}`); - if (s.turbo) parts.push("turbo"); - return parts.join(" · "); -}; - -/** One-line dependency-cache summary for the "Restore cache" step. */ -export const formatCacheLine = (hit: CacheHit, lockfileCount: number): string => { - const lf = `${lockfileCount} lockfile${lockfileCount === 1 ? "" : "s"}`; - if (hit === "exact") return `exact hit (${lf})`; - if (hit === "partial") return `partial hit (${lf})`; - return `miss (${lf})`; -}; - -const cacheCell = (hit: CacheHit): string => - hit === "exact" ? "✅ exact hit" : hit === "partial" ? "♻️ partial hit" : "⬜ miss"; - -/** Build the GitHub job-summary panel (markdown) for the runtime setup. */ -export const buildRuntimeSummary = (s: RuntimeSummary): string => { - const rows: Array<Array<string>> = [ - ["Runtime(s)", s.runtimes.map((r) => `${r.name} ${r.version}`).join(", ")], - ["Package manager", `${s.packageManager.name} ${s.packageManager.version}`], - ]; - if (s.biome) rows.push(["Biome", s.biome]); - rows.push(["Turbo cache", formatTurboLine(s.turbo.backend, s.turbo.port)]); - rows.push(["Dependency cache", cacheCell(s.cacheHit)]); - rows.push(["Dependencies", s.dependenciesInstalled ? "installed" : "skipped"]); - - const detailItems = [ - s.cacheKey ? `Cache key: \`${s.cacheKey}\`` : "", - s.lockfiles.length > 0 ? `Lockfiles: ${s.lockfiles.map((l) => `\`${l}\``).join(", ")}` : "Lockfiles: none", - ].filter((l) => l !== ""); - - return [ - GithubMarkdown.heading("🚀 Runtime Setup", 2), - GithubMarkdown.table(["Component", "Detail"], rows), - GithubMarkdown.details("Cache details", GithubMarkdown.list(detailItems)), - ].join("\n\n"); -}; diff --git a/src/services/turbo-cache/activation.test.ts b/src/services/turbo-cache/activation.test.ts deleted file mode 100644 index 64058160..00000000 --- a/src/services/turbo-cache/activation.test.ts +++ /dev/null @@ -1,45 +0,0 @@ -import { describe, expect, it } from "vitest"; -import type { S3Inputs, TurboCacheInputs } from "./activation.js"; -import { resolveTurboCache } from "./activation.js"; - -const emptyS3: S3Inputs = { - bucket: "", - region: "", - endpoint: "", - accessKeyId: "", - secretAccessKey: "", - sessionToken: "", - prefix: "", -}; -const base: TurboCacheInputs = { turboDetected: true, cacheMode: "auto", turboToken: "", turboTeam: "", s3: emptyS3 }; - -describe("resolveTurboCache", () => { - it("is off when turbo is not detected", () => { - expect(resolveTurboCache({ ...base, turboDetected: false })).toEqual({ mode: "off" }); - }); - it("is off when cacheMode is off (even with turbo + creds)", () => { - expect(resolveTurboCache({ ...base, cacheMode: "off", turboToken: "t", turboTeam: "m" })).toEqual({ mode: "off" }); - }); - it("is passthrough when token AND team are present", () => { - expect(resolveTurboCache({ ...base, turboToken: "t", turboTeam: "m" })).toEqual({ - mode: "passthrough", - token: "t", - team: "m", - }); - }); - it("is embedded s3 when a bucket is present and no external creds", () => { - const s3: S3Inputs = { ...emptyS3, bucket: "my-bucket", region: "us-east-1" }; - expect(resolveTurboCache({ ...base, s3 })).toEqual({ mode: "embedded", backend: "s3", s3 }); - }); - it("is embedded github by default", () => { - expect(resolveTurboCache(base)).toEqual({ mode: "embedded", backend: "github" }); - }); - it("prefers passthrough over s3 when both are configured", () => { - const s3: S3Inputs = { ...emptyS3, bucket: "b" }; - expect(resolveTurboCache({ ...base, turboToken: "t", turboTeam: "m", s3 })).toEqual({ - mode: "passthrough", - token: "t", - team: "m", - }); - }); -}); diff --git a/src/services/turbo-cache/activation.ts b/src/services/turbo-cache/activation.ts deleted file mode 100644 index 1e6d34bc..00000000 --- a/src/services/turbo-cache/activation.ts +++ /dev/null @@ -1,38 +0,0 @@ -/** S3 backend inputs (empty string = unset). */ -export interface S3Inputs { - readonly bucket: string; - readonly region: string; - readonly endpoint: string; - readonly accessKeyId: string; - readonly secretAccessKey: string; - readonly sessionToken: string; - readonly prefix: string; -} - -/** Raw inputs that drive turbo cache activation. */ -export interface TurboCacheInputs { - readonly turboDetected: boolean; - readonly cacheMode: "auto" | "off"; - readonly turboToken: string; - readonly turboTeam: string; - readonly s3: S3Inputs; -} - -/** The resolved turbo cache strategy. */ -export type TurboCacheResolution = - | { readonly mode: "off" } - | { readonly mode: "passthrough"; readonly token: string; readonly team: string } - | { readonly mode: "embedded"; readonly backend: "github" } - | { readonly mode: "embedded"; readonly backend: "s3"; readonly s3: S3Inputs }; - -/** - * Smart auto-detect: off when turbo absent or explicitly disabled; passthrough - * when external Vercel creds are present; otherwise embedded (S3 if a bucket is - * configured, else GitHub). - */ -export const resolveTurboCache = (i: TurboCacheInputs): TurboCacheResolution => { - if (!i.turboDetected || i.cacheMode === "off") return { mode: "off" }; - if (i.turboToken !== "" && i.turboTeam !== "") return { mode: "passthrough", token: i.turboToken, team: i.turboTeam }; - if (i.s3.bucket !== "") return { mode: "embedded", backend: "s3", s3: i.s3 }; - return { mode: "embedded", backend: "github" }; -}; diff --git a/src/services/turbo-cache/apply.test.ts b/src/services/turbo-cache/apply.test.ts deleted file mode 100644 index ff67155a..00000000 --- a/src/services/turbo-cache/apply.test.ts +++ /dev/null @@ -1,80 +0,0 @@ -import { ActionOutputsTest, ActionStateTest } from "@savvy-web/github-action-effects/testing"; -import { Effect, Layer } from "effect"; -import { describe, expect, it } from "vitest"; -import { applyTurboCache } from "./apply.js"; -import type { SpawnSpec } from "./lifecycle.js"; - -const layers = (o: ReturnType<typeof ActionOutputsTest.empty>, s: ReturnType<typeof ActionStateTest.empty>) => - Layer.mergeAll(ActionOutputsTest.layer(o), ActionStateTest.layer(s)); - -const fakeSpawn = (pid: number) => (_spec: SpawnSpec) => Effect.succeed(pid); -const ready = (ok: boolean) => (_port: number) => Effect.succeed(ok); - -const findVar = (o: ReturnType<typeof ActionOutputsTest.empty>, name: string) => - o.variables.find((v) => v.name === name)?.value; - -const baseDeps = { serverEntry: "/x/dist/turbo-server.js", prefix: "", spawn: fakeSpawn(1), waitForReady: ready(true) }; - -describe("applyTurboCache", () => { - it("off mode does nothing", async () => { - const o = ActionOutputsTest.empty(); - const s = ActionStateTest.empty(); - const r = await Effect.runPromise(applyTurboCache({ mode: "off" }, baseDeps).pipe(Effect.provide(layers(o, s)))); - expect(r).toEqual({ backend: "none", port: null }); - expect(o.variables).toHaveLength(0); - expect(s.entries.has("turbo-server-state")).toBe(false); - }); - - it("passthrough exports real token/team and no TURBO_API", async () => { - const o = ActionOutputsTest.empty(); - const s = ActionStateTest.empty(); - const r = await Effect.runPromise( - applyTurboCache({ mode: "passthrough", token: "t", team: "m" }, baseDeps).pipe(Effect.provide(layers(o, s))), - ); - expect(r).toEqual({ backend: "remote", port: null }); - expect(findVar(o, "TURBO_TOKEN")).toBe("t"); - expect(findVar(o, "TURBO_TEAM")).toBe("m"); - expect(findVar(o, "TURBO_API")).toBeUndefined(); - }); - - it("embedded github (ready) spawns, exports TURBO_API + dummy creds, and saves state", async () => { - const o = ActionOutputsTest.empty(); - const s = ActionStateTest.empty(); - const r = await Effect.runPromise( - applyTurboCache( - { mode: "embedded", backend: "github" }, - { - ...baseDeps, - prefix: "pre/", - spawn: fakeSpawn(4242), - waitForReady: ready(true), - }, - ).pipe(Effect.provide(layers(o, s))), - ); - expect(r).toEqual({ backend: "github", port: 41230 }); - expect(findVar(o, "TURBO_API")).toBe("http://127.0.0.1:41230"); - expect(findVar(o, "TURBO_TOKEN")).toBe("silk-runtime-action"); - expect(findVar(o, "TURBO_TEAM")).toBe("silk-runtime-action"); - // ActionStateTestState.entries is Map<string,string> keyed by state key - expect(s.entries.has("turbo-server-state")).toBe(true); - }); - - it("embedded but never ready: degrades to none, no TURBO_API, but still saves state for cleanup", async () => { - const o = ActionOutputsTest.empty(); - const s = ActionStateTest.empty(); - const r = await Effect.runPromise( - applyTurboCache( - { mode: "embedded", backend: "github" }, - { - ...baseDeps, - spawn: fakeSpawn(4242), - waitForReady: ready(false), - }, - ).pipe(Effect.provide(layers(o, s))), - ); - expect(r).toEqual({ backend: "none", port: null }); - expect(findVar(o, "TURBO_API")).toBeUndefined(); - // state still saved so post can kill the half-started pid - expect(s.entries.has("turbo-server-state")).toBe(true); - }); -}); diff --git a/src/services/turbo-cache/apply.ts b/src/services/turbo-cache/apply.ts deleted file mode 100644 index 1b29465d..00000000 --- a/src/services/turbo-cache/apply.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { ActionOutputs, ActionState } from "@savvy-web/github-action-effects"; -import { Effect } from "effect"; -import { STATE_KEYS, TurboServerState } from "../../state.js"; -import type { TurboCacheResolution } from "./activation.js"; -import type { SpawnSpec } from "./lifecycle.js"; -import { DEFAULT_TURBO_PORT, buildSpawnSpec, serverLogPath } from "./lifecycle.js"; - -/** Dummy Turbo credential used for the local embedded server. */ -export const DUMMY_TURBO_CRED = "silk-runtime-action"; - -/** Result summary for action outputs. */ -export interface TurboApplyResult { - readonly backend: "github" | "s3" | "remote" | "none"; - readonly port: number | null; -} - -/** - * Apply the resolved turbo cache strategy: export the env Turbo needs, spawn the - * embedded server when applicable, and persist its state for the post phase. - */ -export const applyTurboCache = ( - resolution: TurboCacheResolution, - deps: { - serverEntry: string; - prefix: string; - spawn: (spec: SpawnSpec) => Effect.Effect<number, never>; - waitForReady: (port: number) => Effect.Effect<boolean, never>; - }, -): Effect.Effect<TurboApplyResult, never, ActionOutputs | ActionState> => - Effect.gen(function* () { - const outputs = yield* ActionOutputs; - - if (resolution.mode === "off") return { backend: "none" as const, port: null }; - - if (resolution.mode === "passthrough") { - yield* outputs.exportVariable("TURBO_TOKEN", resolution.token); - yield* outputs.exportVariable("TURBO_TEAM", resolution.team); - return { backend: "remote" as const, port: null }; - } - - // embedded — spawn, then save state immediately so post can always reap the pid - const port = DEFAULT_TURBO_PORT; - const spec = buildSpawnSpec(deps.serverEntry, resolution, { port, prefix: deps.prefix, token: DUMMY_TURBO_CRED }); - const pid = yield* deps.spawn(spec); - const state = yield* ActionState; - yield* state.save( - STATE_KEYS.turboServerState, - new TurboServerState({ pid, port, backend: resolution.backend }), - TurboServerState, - ); - - // readiness probe — only wire turbo to the server once it answers - const up = yield* deps.waitForReady(port); - if (!up) { - yield* Effect.logError( - `Turbo cache server (pid=${pid}) did not become ready on 127.0.0.1:${port}; ` + - `continuing WITHOUT a remote cache. See ${serverLogPath(port)} for server output.`, - ); - return { backend: "none" as const, port: null }; - } - - yield* outputs.exportVariable("TURBO_API", `http://127.0.0.1:${port}`); - yield* outputs.exportVariable("TURBO_TOKEN", DUMMY_TURBO_CRED); - yield* outputs.exportVariable("TURBO_TEAM", DUMMY_TURBO_CRED); - - return { backend: resolution.backend as TurboApplyResult["backend"], port }; - }).pipe( - // Turbo cache is an enhancement: never let its setup error fail the action. - // `ActionState.save` / `exportVariable` carry ActionStateError/ActionOutputError; - // demote any to a warning and fall back to "none". - Effect.catch((e) => - Effect.logWarning(`Turbo cache setup error: ${e instanceof Error ? e.message : String(e)}`).pipe( - Effect.as<TurboApplyResult>({ backend: "none", port: null }), - ), - ), - ); diff --git a/src/services/turbo-cache/codec.test.ts b/src/services/turbo-cache/codec.test.ts deleted file mode 100644 index d1f21612..00000000 --- a/src/services/turbo-cache/codec.test.ts +++ /dev/null @@ -1,48 +0,0 @@ -import { describe, expect, it } from "vitest"; -import { decodeArtifact, encodeArtifact } from "./codec.js"; - -// decodeArtifact returns null on a malformed frame; a valid round-trip never does. -const dec = (blob: Uint8Array): { tag: string | null; durationMs: number; body: Uint8Array } => { - const r = decodeArtifact(blob); - if (r === null) throw new Error("expected a valid frame"); - return r; -}; - -describe("artifact codec", () => { - it("round-trips a tag, duration, and body", () => { - const { tag, durationMs, body } = dec(encodeArtifact("sig-123", 1980, new Uint8Array([1, 2, 3, 4]))); - expect(tag).toBe("sig-123"); - expect(durationMs).toBe(1980); - expect(body).toEqual(new Uint8Array([1, 2, 3, 4])); - }); - - it("round-trips a null tag (unsigned artifact) with duration", () => { - const { tag, durationMs, body } = dec(encodeArtifact(null, 42, new Uint8Array([9, 9]))); - expect(tag).toBeNull(); - expect(durationMs).toBe(42); - expect(body).toEqual(new Uint8Array([9, 9])); - }); - - it("handles an empty body and zero duration", () => { - const { tag, durationMs, body } = dec(encodeArtifact("t", 0, new Uint8Array())); - expect(tag).toBe("t"); - expect(durationMs).toBe(0); - expect(body).toEqual(new Uint8Array()); - }); - - it("clamps a negative or fractional duration to a non-negative integer", () => { - expect(dec(encodeArtifact(null, -5, new Uint8Array())).durationMs).toBe(0); - expect(dec(encodeArtifact(null, 12.9, new Uint8Array())).durationMs).toBe(12); - }); - - it("returns null for a blob shorter than the 8-byte header", () => { - expect(decodeArtifact(new Uint8Array([0, 0, 0]))).toBeNull(); - }); - - it("returns null when the tag length runs past the blob", () => { - // Header claims a 99-byte tag, but the blob has no tag/body after the header. - const bad = new Uint8Array(8); - new DataView(bad.buffer).setUint32(0, 99, false); - expect(decodeArtifact(bad)).toBeNull(); - }); -}); diff --git a/src/services/turbo-cache/codec.ts b/src/services/turbo-cache/codec.ts deleted file mode 100644 index e226b35c..00000000 --- a/src/services/turbo-cache/codec.ts +++ /dev/null @@ -1,36 +0,0 @@ -/** - * Frame an artifact for blob storage as: [4-byte big-endian tag length] - * [4-byte big-endian duration ms][tag UTF-8][body]. A null tag is encoded as - * length 0. `durationMs` is Turbo's `x-artifact-duration` (the time taken to - * generate the artifact); it must round-trip so Turbo can compute `timeSaved` - * on a remote cache hit. It is clamped to a uint32 (ms), which covers any - * realistic build-task duration. - */ -export const encodeArtifact = (tag: string | null, durationMs: number, body: Uint8Array): Uint8Array => { - const tagBytes = tag ? new TextEncoder().encode(tag) : new Uint8Array(0); - const out = new Uint8Array(8 + tagBytes.length + body.length); - const view = new DataView(out.buffer); - view.setUint32(0, tagBytes.length, false); - view.setUint32(4, Math.min(0xffffffff, Math.max(0, Math.trunc(durationMs) || 0)), false); - out.set(tagBytes, 8); - out.set(body, 8 + tagBytes.length); - return out; -}; - -/** - * Inverse of {@link encodeArtifact}. Returns `null` for a malformed frame — - * a blob shorter than the 8-byte header, or a `tagLen` that runs past the - * blob — so a truncated/corrupt artifact is treated as a cache miss rather - * than decoded into mis-sliced tag/body and served to Turbo. - */ -export const decodeArtifact = ( - blob: Uint8Array, -): { tag: string | null; durationMs: number; body: Uint8Array } | null => { - if (blob.byteLength < 8) return null; - const view = new DataView(blob.buffer, blob.byteOffset, blob.byteLength); - const tagLen = view.getUint32(0, false); - const durationMs = view.getUint32(4, false); - if (8 + tagLen > blob.byteLength) return null; - const tag = tagLen > 0 ? new TextDecoder().decode(blob.subarray(8, 8 + tagLen)) : null; - return { tag, durationMs, body: blob.subarray(8 + tagLen) }; -}; diff --git a/src/services/turbo-cache/handler.test.ts b/src/services/turbo-cache/handler.test.ts deleted file mode 100644 index a78bad96..00000000 --- a/src/services/turbo-cache/handler.test.ts +++ /dev/null @@ -1,76 +0,0 @@ -import { BlobStoreTest } from "@savvy-web/github-action-effects/testing"; -import { Effect } from "effect"; -import { describe, expect, it } from "vitest"; -import type { TurboRequest } from "./handler.js"; -import { makeTurboHandler } from "./handler.js"; - -const run = (state: ReturnType<typeof BlobStoreTest.empty>, req: TurboRequest) => - Effect.runPromise( - makeTurboHandler({ prefix: "p/", expectedToken: "tok" })(req).pipe(Effect.provide(BlobStoreTest.layer(state))), - ); - -const req = (over: Partial<TurboRequest>): TurboRequest => ({ - method: "GET", - path: "/", - authorization: "Bearer tok", - artifactTag: undefined, - artifactDuration: 0, - body: new Uint8Array(), - ...over, -}); - -describe("makeTurboHandler", () => { - it("reports status enabled", async () => { - const r = await run(BlobStoreTest.empty(), req({ method: "GET", path: "/v8/artifacts/status" })); - expect(r.status).toBe(200); - expect(JSON.parse(new TextDecoder().decode(r.body))).toEqual({ status: "enabled" }); - }); - - it("accepts events with 200", async () => { - const r = await run(BlobStoreTest.empty(), req({ method: "POST", path: "/v8/artifacts/events" })); - expect(r.status).toBe(200); - }); - - it("401s on a bad bearer token", async () => { - const r = await run(BlobStoreTest.empty(), req({ path: "/v8/artifacts/abc", authorization: "Bearer wrong" })); - expect(r.status).toBe(401); - }); - - it("PUT then GET round-trips body, tag, and duration under the versioned prefixed key", async () => { - const state = BlobStoreTest.empty(); - const put = await run( - state, - req({ - method: "PUT", - path: "/v8/artifacts/h1", - artifactTag: "sig", - artifactDuration: 1980, - body: new Uint8Array([7, 8, 9]), - }), - ); - expect(put.status).toBe(202); - // key is namespaced by the artifact frame version (avoids reading old-format blobs) - expect(state.entries.has("p/v2/h1")).toBe(true); - - const get = await run(state, req({ method: "GET", path: "/v8/artifacts/h1" })); - expect(get.status).toBe(200); - expect(get.headers["x-artifact-tag"]).toBe("sig"); - // x-artifact-duration must round-trip so Turbo computes a real timeSaved on remote hits - expect(get.headers["x-artifact-duration"]).toBe("1980"); - expect(get.body).toEqual(new Uint8Array([7, 8, 9])); - }); - - it("GET 404s on a miss", async () => { - const r = await run(BlobStoreTest.empty(), req({ method: "GET", path: "/v8/artifacts/missing" })); - expect(r.status).toBe(404); - }); - - it("HEAD reflects existence", async () => { - const state = BlobStoreTest.empty(); - await run(state, req({ method: "PUT", path: "/v8/artifacts/h2", body: new Uint8Array([1]) })); - const head = await run(state, req({ method: "HEAD", path: "/v8/artifacts/h2" })); - expect(head.status).toBe(200); - const miss = await run(state, req({ method: "HEAD", path: "/v8/artifacts/none" })); - expect(miss.status).toBe(404); - }); -}); diff --git a/src/services/turbo-cache/handler.ts b/src/services/turbo-cache/handler.ts deleted file mode 100644 index ecaeed78..00000000 --- a/src/services/turbo-cache/handler.ts +++ /dev/null @@ -1,85 +0,0 @@ -// src/services/turbo-cache/handler.ts -import { BlobStore } from "@savvy-web/github-action-effects"; -import { Effect, Option } from "effect"; -import { decodeArtifact, encodeArtifact } from "./codec.js"; - -/** - * Artifact frame/key version. Bumped when the codec frame layout changes so - * blobs written by an older format are never read back under the new layout - * (which would corrupt the tag/body). Old-format blobs become orphaned and are - * evicted by the backend. - */ -export const ARTIFACT_KEY_VERSION = "v2"; - -/** A normalized inbound request to the turbo cache server. */ -export interface TurboRequest { - readonly method: string; - readonly path: string; - readonly authorization: string | undefined; - readonly artifactTag: string | undefined; - /** Turbo's `x-artifact-duration` (artifact generation time in ms). */ - readonly artifactDuration: number; - readonly body: Uint8Array; -} - -/** A response to write back. */ -export interface TurboResponse { - readonly status: number; - readonly headers: Record<string, string>; - readonly body?: Uint8Array; -} - -const json = (status: number, obj: unknown): TurboResponse => ({ - status, - headers: { "content-type": "application/json" }, - body: new TextEncoder().encode(JSON.stringify(obj)), -}); - -/** - * Build a handler implementing Turbo's remote-cache contract over a BlobStore. - * Artifacts are stored under `${prefix}${ARTIFACT_KEY_VERSION}/${hash}`; the - * artifact signature tag and generation duration are framed alongside the body - * via the codec and echoed on GET (`x-artifact-tag` / `x-artifact-duration`) so - * Turbo can compute `timeSaved` on a remote hit. - */ -export const makeTurboHandler = - (opts: { prefix: string; expectedToken: string }) => - (req: TurboRequest): Effect.Effect<TurboResponse, never, BlobStore> => - Effect.gen(function* () { - const pathname = req.path.split("?")[0] ?? req.path; - if (pathname === "/v8/artifacts/status") return json(200, { status: "enabled" }); - if (pathname === "/v8/artifacts/events") return json(200, []); - - const match = pathname.match(/^\/v8\/artifacts\/([^/]+)$/); - if (!match) return { status: 404, headers: {} }; - - const bearer = req.authorization?.replace(/^Bearer\s+/i, ""); - if (opts.expectedToken !== "" && bearer !== opts.expectedToken) return { status: 401, headers: {} }; - - const key = `${opts.prefix}${ARTIFACT_KEY_VERSION}/${match[1]}`; - const store = yield* BlobStore; - - if (req.method === "PUT") { - yield* store.put(key, encodeArtifact(req.artifactTag ?? null, req.artifactDuration, req.body)); - return { status: 202, headers: {} }; - } - if (req.method === "HEAD") { - return { status: (yield* store.has(key)) ? 200 : 404, headers: {} }; - } - if (req.method === "GET") { - const blob = yield* store.get(key); - if (Option.isNone(blob)) return { status: 404, headers: {} }; - const decoded = decodeArtifact(blob.value); - // A malformed/truncated frame decodes to null — treat as a miss so - // Turbo rebuilds rather than receiving a corrupt artifact. - if (decoded === null) return { status: 404, headers: {} }; - const { tag, durationMs, body } = decoded; - const headers: Record<string, string> = { - "content-type": "application/octet-stream", - "x-artifact-duration": String(durationMs), - }; - if (tag) headers["x-artifact-tag"] = tag; - return { status: 200, headers, body }; - } - return { status: 405, headers: {} }; - }).pipe(Effect.catch(() => Effect.succeed<TurboResponse>({ status: 500, headers: {} }))); diff --git a/src/services/turbo-cache/lifecycle.test.ts b/src/services/turbo-cache/lifecycle.test.ts deleted file mode 100644 index c87b272e..00000000 --- a/src/services/turbo-cache/lifecycle.test.ts +++ /dev/null @@ -1,83 +0,0 @@ -import { Effect } from "effect"; -import { afterEach, describe, expect, it, vi } from "vitest"; -import type { TurboCacheResolution } from "./activation.js"; -import { DEFAULT_TURBO_PORT, buildSpawnSpec, killProcess, waitForServer } from "./lifecycle.js"; - -describe("buildSpawnSpec", () => { - it("builds a github-backed spec with the core env", () => { - const res: TurboCacheResolution = { mode: "embedded", backend: "github" }; - const spec = buildSpawnSpec("/x/dist/turbo-server.js", res, { port: 41230, prefix: "pre/", token: "dummy" }); - expect(spec.args).toEqual(["/x/dist/turbo-server.js"]); - expect(spec.port).toBe(41230); - expect(spec.env.TURBOGHA_BACKEND).toBe("github"); - expect(spec.env.TURBOGHA_PORT).toBe("41230"); - expect(spec.env.TURBOGHA_PREFIX).toBe("pre/"); - expect(spec.env.TURBOGHA_TOKEN).toBe("dummy"); - expect(spec.env.TURBOGHA_S3_BUCKET).toBeUndefined(); - }); - - it("includes S3 env for an s3-backed spec", () => { - const res: TurboCacheResolution = { - mode: "embedded", - backend: "s3", - s3: { - bucket: "b", - region: "r", - endpoint: "e", - accessKeyId: "ak", - secretAccessKey: "sk", - sessionToken: "st", - prefix: "pf", - }, - }; - const spec = buildSpawnSpec("/x/dist/turbo-server.js", res, { port: 1, prefix: "", token: "d" }); - expect(spec.env.TURBOGHA_BACKEND).toBe("s3"); - expect(spec.env.TURBOGHA_S3_BUCKET).toBe("b"); - expect(spec.env.TURBOGHA_S3_REGION).toBe("r"); - expect(spec.env.TURBOGHA_S3_SECRET_ACCESS_KEY).toBe("sk"); - }); -}); - -describe("killProcess", () => { - it("sends SIGTERM to the pid", () => { - const calls: Array<[number, string | undefined]> = []; - killProcess(123, (pid, signal) => calls.push([pid, signal])); - expect(calls).toEqual([[123, "SIGTERM"]]); - }); - it("swallows errors when the process is already gone", () => { - expect(() => - killProcess(999, () => { - throw Object.assign(new Error("no such process"), { code: "ESRCH" }); - }), - ).not.toThrow(); - }); - it("never signals a non-positive pid (process-group footgun)", () => { - const calls: Array<number> = []; - const spy = (pid: number) => calls.push(pid); - killProcess(-1, spy); - killProcess(0, spy); - expect(calls).toEqual([]); - }); -}); - -it("exposes the default port", () => { - expect(DEFAULT_TURBO_PORT).toBe(41230); -}); - -describe("waitForServer", () => { - afterEach(() => { - vi.unstubAllGlobals(); - }); - - it("returns true when the status endpoint responds ok", async () => { - vi.stubGlobal("fetch", () => Promise.resolve(new Response(null, { status: 200 }))); - const result = await Effect.runPromise(waitForServer(41230, { attempts: 1, delayMillis: 1 })); - expect(result).toBe(true); - }); - - it("returns false when the server never responds", async () => { - vi.stubGlobal("fetch", () => Promise.reject(new Error("refused"))); - const result = await Effect.runPromise(waitForServer(41230, { attempts: 2, delayMillis: 1 })); - expect(result).toBe(false); - }); -}); diff --git a/src/services/turbo-cache/lifecycle.ts b/src/services/turbo-cache/lifecycle.ts deleted file mode 100644 index 1f64ee00..00000000 --- a/src/services/turbo-cache/lifecycle.ts +++ /dev/null @@ -1,101 +0,0 @@ -import { spawn } from "node:child_process"; -import { openSync } from "node:fs"; -import { tmpdir } from "node:os"; -import { join } from "node:path"; -import { Effect, Schedule } from "effect"; -import type { TurboCacheResolution } from "./activation.js"; - -/** Default localhost port for the turbo cache server. */ -export const DEFAULT_TURBO_PORT = 41230; - -/** Deterministic log-file path for the detached server on a given port. */ -export const serverLogPath = (port: number): string => join(tmpdir(), `turbogha-${port}.log`); - -/** A fully-resolved spawn description for the detached server process. */ -export interface SpawnSpec { - readonly command: string; - readonly args: ReadonlyArray<string>; - readonly env: Record<string, string>; - readonly port: number; -} - -/** Build the spawn spec (env carries config to the detached child). */ -export const buildSpawnSpec = ( - serverEntry: string, - resolution: Extract<TurboCacheResolution, { mode: "embedded" }>, - opts: { port: number; prefix: string; token: string }, -): SpawnSpec => { - const env: Record<string, string> = { - TURBOGHA_PORT: String(opts.port), - TURBOGHA_PREFIX: opts.prefix, - TURBOGHA_TOKEN: opts.token, - TURBOGHA_BACKEND: resolution.backend, - }; - if (resolution.backend === "s3") { - env.TURBOGHA_S3_BUCKET = resolution.s3.bucket; - env.TURBOGHA_S3_REGION = resolution.s3.region; - env.TURBOGHA_S3_ENDPOINT = resolution.s3.endpoint; - env.TURBOGHA_S3_ACCESS_KEY_ID = resolution.s3.accessKeyId; - env.TURBOGHA_S3_SECRET_ACCESS_KEY = resolution.s3.secretAccessKey; - env.TURBOGHA_S3_SESSION_TOKEN = resolution.s3.sessionToken; - env.TURBOGHA_S3_PREFIX = resolution.s3.prefix; - } - return { command: process.execPath, args: [serverEntry], env, port: opts.port }; -}; - -/** Spawn the server detached and unref'd; returns its pid. Child stdout/stderr - * go to a log file (NOT "ignore") so a startup failure is diagnosable. The fds - * are still fully detached from the parent's pipes, so the Actions step does not - * hang. */ -export const spawnTurboServer = (spec: SpawnSpec): Effect.Effect<number, never> => - /* v8 ignore start -- spawns a real detached process; exercised by the e2e fixture */ - Effect.sync(() => { - const out = openSync(serverLogPath(spec.port), "a"); - const child = spawn(spec.command, [...spec.args], { - detached: true, - stdio: ["ignore", out, out], - env: { ...process.env, ...spec.env }, - }); - child.unref(); - return child.pid ?? -1; - }); -/* v8 ignore stop */ - -/** - * Poll the server's status endpoint until it responds 200 or the budget is - * exhausted. Returns whether the server became ready. Never fails — a false - * return is the caller's signal to degrade (do not export a dead TURBO_API). - */ -export const waitForServer = ( - port: number, - opts: { attempts?: number; delayMillis?: number } = {}, -): Effect.Effect<boolean, never> => { - const probe = Effect.tryPromise({ - try: () => - fetch(`http://127.0.0.1:${port}/v8/artifacts/status`).then((r) => { - if (!r.ok) throw new Error(`status ${r.status}`); - return true as const; - }), - catch: () => new Error("not ready"), - }); - return probe.pipe( - Effect.retry({ - schedule: Schedule.spaced(`${opts.delayMillis ?? 150} millis`), - times: (opts.attempts ?? 40) - 1, - }), - Effect.catch(() => Effect.succeed(false)), - ); -}; - -/** Kill a pid with SIGTERM, swallowing "already gone" errors. */ -export const killProcess = (pid: number, kill: (pid: number, signal?: string) => void = process.kill): void => { - // Never signal a non-positive pid. process.kill(-1, ...) / kill(0, ...) target - // the caller's whole process group, and spawnTurboServer returns -1 when the - // child never got a pid — signalling the group would take out the runner. - if (pid <= 0) return; - try { - kill(pid, "SIGTERM"); - } catch { - // process already exited — nothing to do - } -}; diff --git a/src/state.test.ts b/src/state.test.ts deleted file mode 100644 index 3d450379..00000000 --- a/src/state.test.ts +++ /dev/null @@ -1,22 +0,0 @@ -import { Schema } from "effect"; -import { describe, expect, it } from "vitest"; -import { CacheState, STATE_KEYS } from "./state.js"; - -describe("state", () => { - it("STATE_KEYS exposes cacheState", () => { - expect(STATE_KEYS.cacheState).toBe("cache-state"); - }); - - it("CacheState round-trips through Schema encode/decode", () => { - const original = new CacheState({ - key: "linux-abc-def-123", - paths: ["/home/runner/.npm", "**/node_modules"], - restored: false, - }); - const encoded = Schema.encodeSync(CacheState)(original); - const decoded = Schema.decodeSync(CacheState)(encoded); - expect(decoded.key).toBe(original.key); - expect(decoded.paths).toEqual(original.paths); - expect(decoded.restored).toBe(false); - }); -}); diff --git a/src/state.ts b/src/state.ts index 9d0d20cc..9f100116 100644 --- a/src/state.ts +++ b/src/state.ts @@ -1,39 +1,67 @@ +import { ProcessId } from "@effected/github-actions"; +import { Option, Schema } from "effect"; + /** - * Cross-phase state schemas. - * - * GitHub Actions persists state between phases as `STATE_*` env vars. - * `ActionState.save/get` encode and decode each value through its Schema. - * - * @module state + * Keys used with `ActionState.save`/`get`/`getOptional` to carry state across + * the `main` → `post` phase boundary. Internal only, not part of this + * action's parity surface — free to change without notice. */ - -import { Schema } from "effect"; +export const STATE_KEYS = { + cache: "silk-runtime-cache", + turboServer: "silk-runtime-turbo-server", +} as const; /** - * Cache state persisted from main to post. + * Dependency cache state persisted from `main` to `post`. + * + * `restoredKey` distinguishes the three `ActionCache` outcomes: `none` is a + * miss (no cache path matched), `some(primaryKey)` is an exact hit, and + * `some(otherKey)` is a partial restore from a fallback key — `post` uses + * this to decide whether a save is still needed. It is + * `Schema.OptionFromNullOr`, **not** `Schema.Option`: state crosses the phase + * boundary as `JSON.stringify(encoded)` in `GITHUB_STATE` and comes back as + * `JSON.parse` of `STATE_<key>`, so every field's *encoded* form has to be + * JSON. `Schema.Option` encodes to an `Option` instance, which stringifies + * through `Option.toJSON` to `{"_id":"Option","_tag":"Some",…}` and no longer + * decodes ("Expected Option") — a save that main reports as successful and + * post cannot read. `OptionFromNullOr` encodes to `string | null`. * - * `restored=true` means main got an exact hit and post should skip the save. - * `restored=false` means a miss or partial restore — post saves the new key. + * `lockfiles` is the resolved file list the key was hashed from. `post` has no + * use for it; it rides here because it is the restore step's answer to the + * `lockfiles` output and this is the value that step already returns. The cost + * is a handful of paths in `GITHUB_STATE` beside the archive paths already + * there. */ export class CacheState extends Schema.Class<CacheState>("CacheState")({ - key: Schema.String, paths: Schema.Array(Schema.String), - restored: Schema.Boolean, + primaryKey: Schema.String, + restoredKey: Schema.OptionFromNullOr(Schema.String), + lockfiles: Schema.Array(Schema.String), }) {} /** - * Turbo cache server state persisted from main to post so post can kill it. + * Whether the restore landed on the key it asked for. + * + * @remarks + * The one comparison both phases turn on — `post` saves unless it is `true`, + * and `main` publishes `cache-hit` from it — so it lives beside the state + * rather than being spelled out twice with a chance of drifting. */ -export class TurboServerState extends Schema.Class<TurboServerState>("TurboServerState")({ - pid: Schema.Number, - port: Schema.Number, - backend: Schema.String, -}) {} +export const isExactHit = (state: CacheState): boolean => + Option.isSome(state.restoredKey) && state.restoredKey.value === state.primaryKey; /** - * Keys used with `ActionState.save/get`. + * Embedded turbo remote-cache server state persisted from `main` to `post` so + * `post` can stop the detached process. + * + * `pid` is `ProcessId` rather than a bare `Schema.Number`: the value crosses + * the phase boundary as text through `GITHUB_STATE`, and a truncated state + * file, an absent key, or `Number("")` all decode to `0` — `ProcessId` + * refuses that value rather than letting it reach `DetachedProcess.reap`. */ -export const STATE_KEYS = { - cacheState: "cache-state", - turboServerState: "turbo-server-state", -} as const; +export class TurboServerState extends Schema.Class<TurboServerState>("TurboServerState")({ + pid: ProcessId, + port: Schema.Number, + backend: Schema.Literals(["github", "s3"]), + logFile: Schema.String, +}) {} diff --git a/src/steps/cache-config.ts b/src/steps/cache-config.ts new file mode 100644 index 00000000..e4ea95d7 --- /dev/null +++ b/src/steps/cache-config.ts @@ -0,0 +1,344 @@ +/** + * What the dependency cache is keyed on and what it covers — as pure + * functions. + * + * @remarks + * Every decision the cache makes that is not a call to the runner lives here: + * which package managers are in play, which lockfiles feed the key, which + * directories are archived, and how the key's segments are laid out. Split out + * of `restore-cache.ts` because it is all total and host-argument-driven, so a + * test pins the Windows store paths and the arch segment without a runner, a + * filesystem, or a mocked `process`. + * + * @module steps/cache-config + */ + +import { createHash } from "node:crypto"; +import { posix, win32 } from "node:path"; +import { Option } from "effect"; + +import type { PackageManagerName, RuntimeConfig } from "../schema/domain.js"; + +/** + * A named, versioned tool that participates in the cache — a `devEngines` + * runtime, the package manager, or Biome. + */ +export interface ToolEntry { + readonly name: string; + readonly version: string; +} + +/** + * The package managers this run actually uses. + * + * @remarks + * A runtime, not the manifest, is what makes a manager active (oracle 2): node + * brings the `devEngines` package manager, while bun and deno are their own. + * So a workspace declaring `packageManager: pnpm` with only a bun runtime + * caches bun's store and not pnpm's — pnpm never runs. + * + * De-duplicated, first-seen order: bun-as-manager alongside a node runtime + * names bun twice and contributes one entry. + */ +export const activePackageManagers = (config: RuntimeConfig): ReadonlyArray<PackageManagerName> => { + const active = new Set<PackageManagerName>(); + for (const runtime of config.runtimes) { + active.add(runtime.name === "node" ? config.packageManager.name : runtime.name); + } + return [...active]; +}; + +/** + * The lockfile patterns each package manager contributes. + * + * @remarks + * Two of pnpm's three are not lockfiles at all — `pnpm-workspace.yaml` and + * `.pnpmfile.cjs` change what an install resolves to just as a lockfile does, + * so they belong in the key, and legacy put them here rather than inventing a + * second list (oracle 1). They land in the `lockfiles` output as a consequence. + * + * yarn's `.yarn/install-state.gz` is both an input to the key and a file the + * cache archives, so a saved cache invalidates the key that saved it. Carried + * over deliberately: the fixtures pin yarn PnP files as lockfiles, and the + * self-invalidation costs a rebuild rather than correctness. + */ +const LOCKFILES: Record<PackageManagerName, ReadonlyArray<string>> = { + npm: ["**/package-lock.json", "**/npm-shrinkwrap.json"], + pnpm: ["**/pnpm-lock.yaml", "**/pnpm-workspace.yaml", "**/.pnpmfile.cjs"], + yarn: ["**/yarn.lock", "**/.pnp.cjs", "**/.yarn/install-state.gz"], + bun: ["**/bun.lock", "**/bun.lockb"], + deno: ["**/deno.lock"], +}; + +/** + * Where a lockfile never counts, whatever it is named. + * + * @remarks + * A lockfile only means something at the repository root or in a real workspace + * package. Inside `node_modules` it belongs to a dependency, and inside a test + * or fixture tree it is a deliberate fake — this action's own `__fixtures__/` + * carries five of them. Either would make the key depend on files no install + * ever reads. + */ +export const LOCKFILE_EXCLUSIONS = [ + "!**/node_modules/**", + "!**/.git/**", + "!**/__fixtures__/**", + "!**/__tests__/**", + "!**/__test__/**", +] as const; + +/** Turbo's local artifact cache — see `turboLocalCachePaths` in the project README. */ +export const TURBO_LOCAL_CACHE_PATHS = ["**/.turbo/cache"] as const; + +/** + * Absolute paths first, then globs, each alphabetically. + * + * @remarks + * Presentation only — both lists are consumed as sets — but the `cache-paths` + * output and the debug log are read by humans, and a stable order is what makes + * two runs comparable by eye. + */ +const sorted = (paths: Iterable<string>): ReadonlyArray<string> => { + const all = [...paths]; + return [...all.filter((path) => !path.startsWith("*")).sort(), ...all.filter((path) => path.startsWith("*")).sort()]; +}; + +/** + * The complete pattern set lockfile discovery runs with: the active managers' + * patterns, then the caller's, then the exclusions. + * + * @remarks + * The caller's patterns are appended *after* the sort, in the order they were + * written (oracle 4). That is not an oversight to tidy up: a workflow author + * reading `additional-lockfiles` back out of the `lockfiles` output should see + * their own list where they put it. + */ +export const lockfilePatterns = ( + packageManagers: ReadonlyArray<PackageManagerName>, + additional: ReadonlyArray<string>, +): ReadonlyArray<string> => [ + ...sorted(new Set(packageManagers.flatMap((packageManager) => LOCKFILES[packageManager]))), + ...additional, + ...LOCKFILE_EXCLUSIONS, +]; + +/** + * The path module for `platform`, rather than for the host running this code. + * + * @remarks + * Legacy joined with the host's `node:path`, which is the same thing in + * production — the platform is always the runner's. Selecting it explicitly is + * what lets a Linux test pin the Windows store paths, which is the only way the + * Windows branch is ever exercised outside a Windows runner. + */ +const pathFor = (platform: string) => (platform === "win32" ? win32 : posix); + +/** + * Each manager's default store directory. + * + * @remarks + * Defaults only. Legacy shelled the manager itself for its configured store + * (`npm config get cache`, `pnpm store path`, …) and fell back to these on any + * failure — fifty lines of subprocess for a value that, on a GitHub runner with + * a freshly installed manager, is always the default. Dropped with the + * detection: no fixture ever asserted a detected store path, and the step now + * needs no spawner at all. + * + * yarn contributes two because Berry and Classic disagree about where the cache + * lives, and the manager's major version is not known here. + */ +const storePaths = (packageManager: PackageManagerName, platform: string, home: string): ReadonlyArray<string> => { + const path = pathFor(platform); + const windows = platform === "win32"; + switch (packageManager) { + case "npm": + return [windows ? path.join(home, "AppData", "Local", "npm-cache") : path.join(home, ".npm")]; + case "pnpm": + return [ + windows + ? path.join(home, "AppData", "Local", "pnpm", "store") + : path.join(home, ".local", "share", "pnpm", "store"), + ]; + case "yarn": + return [ + windows ? path.join(home, "AppData", "Local", "Yarn", "Cache") : path.join(home, ".yarn", "cache"), + windows ? path.join(home, "AppData", "Local", "Yarn", "Berry", "cache") : path.join(home, ".cache", "yarn"), + ]; + case "bun": + return [ + windows + ? path.join(home, "AppData", "Local", "bun", "install", "cache") + : path.join(home, ".bun", "install", "cache"), + ]; + case "deno": + return [windows ? path.join(home, "AppData", "Local", "deno") : path.join(home, ".cache", "deno")]; + } +}; + +/** + * What a manager writes into the workspace itself, beyond its global store. + * + * @remarks + * deno has none: it resolves modules out of its own store and never populates + * `node_modules`. yarn's PnP layout adds three of its own on top of the + * `node_modules` a non-PnP project still gets. + */ +const workspacePaths = (packageManager: PackageManagerName): ReadonlyArray<string> => { + switch (packageManager) { + case "npm": + case "pnpm": + case "bun": + return ["**/node_modules"]; + case "yarn": + return ["**/node_modules", "**/.yarn/cache", "**/.yarn/unplugged", "**/.yarn/install-state.gz"]; + case "deno": + return []; + } +}; + +/** The tools this action installs into the hostedtoolcache layout. */ +const TOOL_CACHE_TOOLS: ReadonlySet<string> = new Set(["node", "bun", "deno", "biome"]); + +/** Where the runner image keeps its tool cache, when `RUNNER_TOOL_CACHE` does not say. */ +export const defaultToolCacheBase = (platform: string): string => + platform === "win32" ? "C:\\hostedtoolcache" : "/opt/hostedtoolcache"; + +/** Everything {@link cachePaths} derives the archived path set from. */ +export interface CachePathOptions { + readonly packageManagers: ReadonlyArray<PackageManagerName>; + /** The runtimes this run installs, plus Biome when there is one. */ + readonly tools: ReadonlyArray<ToolEntry>; + readonly toolCacheBase: string; + /** The `additional-cache-paths` input, already split into lines. */ + readonly additional: ReadonlyArray<string>; + /** Whether `turbo.json` was detected. */ + readonly turbo: boolean; + readonly platform: string; + readonly home: string; +} + +/** + * Every path this run archives, in the order they are reported. + * + * @remarks + * Three groups, and the order is the contract: the built-ins sorted, then the + * caller's `additional-cache-paths`, then turbo's artifact directory. Legacy + * concatenated the same three and lost both the sort and the de-duplication in + * the process (oracle 22); the sort is restored *within* the built-ins, where + * it is meaningful, and the final list is de-duplicated because a caller + * naming `**\/node_modules` would otherwise hand `tar` the same tree twice. + * + * The runtimes' tool-cache directories are archived alongside the dependency + * stores. One archive for everything is legacy's design and is kept: it means a + * runtime bump invalidates the dependency cache, which is a cost, but the + * alternative is two caches that can disagree about what was installed. + */ +export const cachePaths = (options: CachePathOptions): ReadonlyArray<string> => { + const path = pathFor(options.platform); + const builtIn = new Set<string>(); + for (const packageManager of options.packageManagers) { + for (const store of storePaths(packageManager, options.platform, options.home)) builtIn.add(store); + for (const workspace of workspacePaths(packageManager)) builtIn.add(workspace); + } + for (const tool of options.tools) { + if (TOOL_CACHE_TOOLS.has(tool.name)) builtIn.add(path.join(options.toolCacheBase, tool.name, tool.version)); + } + return [...new Set([...sorted(builtIn), ...options.additional, ...(options.turbo ? TURBO_LOCAL_CACHE_PATHS : [])])]; +}; + +/** + * The lockfile segment when the pattern set matched nothing. + * + * @remarks + * Legacy left the segment empty, producing a key ending in `-`. `CacheKey` + * refuses an empty segment outright (`Segment` is `/^[^,\n\r]+$/`), so the + * no-lockfile case needs a name; `"empty"` is the spelling upstream's own + * `hashMatching` example uses. Nothing depends on the old shape — a key is not + * parity surface, and the fixtures only need two runs of the same version to + * agree. + */ +export const EMPTY_LOCKFILE_SEGMENT = "empty"; + +/** How many hex characters of a digest a key segment carries. */ +const DIGEST_LENGTH = 8; + +/** Everything {@link keySegments} derives the cache key from. */ +export interface KeySegmentOptions { + /** `process.platform`: `linux` | `darwin` | `win32`. */ + readonly platform: string; + /** `process.arch`: `x64` | `arm64` | … */ + readonly arch: string; + /** The runtimes this run installs, plus Biome when there is one. */ + readonly tools: ReadonlyArray<ToolEntry>; + readonly packageManager: ToolEntry; + /** The branch this run is on, or `""` when there is none. */ + readonly branch: string; + /** The full lockfile digest, or `none` when nothing matched. */ + readonly lockfileHash: Option.Option<string>; + /** The `cache-bust` input, already normalized. */ + readonly cacheBust: Option.Option<string>; +} + +/** + * The cache key's segments: `platform-arch-versionHash-branchHash-lockfileHash`. + * + * @remarks + * The arch segment is new (legacy had none, oracle 9). Without it an arm64 and + * an x64 macOS runner share a key and restore each other's tool-cache + * directories — binaries for the wrong architecture, from a cache that reports + * a hit. + * + * The tools are sorted by name before hashing, so the same workspace keys + * identically however `devEngines` happens to order its runtimes. The cache + * bust goes into the *version* digest rather than a segment of its own, which + * is what lets a busted run keep the same key layout while matching nothing an + * unbusted run wrote. + * + * A branchless run — a tag, a detached HEAD — hashes the literal `"null"` + * rather than the empty string (oracle 12), so all of them share one key rather + * than each getting the digest of `""` by accident. + */ +export const keySegments = (options: KeySegmentOptions): readonly [string, ...ReadonlyArray<string>] => { + const versions = createHash("sha256"); + if (Option.isSome(options.cacheBust)) versions.update(options.cacheBust.value); + for (const tool of [...options.tools].sort((left, right) => left.name.localeCompare(right.name))) { + versions.update(`${tool.name}:${tool.version}`); + } + versions.update(`${options.packageManager.name}:${options.packageManager.version}`); + + const branch = createHash("sha256").update(options.branch === "" ? "null" : options.branch); + return [ + options.platform, + options.arch, + versions.digest("hex").slice(0, DIGEST_LENGTH), + branch.digest("hex").slice(0, DIGEST_LENGTH), + Option.match(options.lockfileHash, { + onNone: () => EMPTY_LOCKFILE_SEGMENT, + onSome: (hash) => hash.slice(0, DIGEST_LENGTH), + }), + ]; +}; + +/** + * The restore-key ladder policy for a {@link keySegments} key, as leading + * segment counts. + * + * @remarks + * Two rungs, not the full ladder `CacheKey` derives by default. Depth 4 drops + * the lockfile digest and falls back to an earlier cache for the same runtimes + * on this branch; depth 3 drops the branch as well and reaches across branches. + * Both restore something installed from the same `devEngines`. The default + * ladder's remaining rungs (`linux-x64-`, `linux-`) drop the *version* digest, + * and a cache built for a different Node would restore against them — which is + * why the policy is carried on the key rather than left derived. Legacy stopped + * at the same two. + * + * Handed to `CacheKey.withRestoreDepths` and read back off the key by + * `ActionCache.restore`, so the rungs and the primary key cannot drift apart + * (upstream round 7, item 2). A cache bust needs *no* ladder at all, which no + * depth expresses — `withRestoreDepths` refuses `0` and refuses an empty list — + * so that one case builds its key with `withoutRestoreKeys()` instead; see + * `restore-cache.ts`. + */ +export const RESTORE_DEPTHS = [4, 3] as const; diff --git a/src/steps/detect-biome.ts b/src/steps/detect-biome.ts new file mode 100644 index 00000000..b2c43408 --- /dev/null +++ b/src/steps/detect-biome.ts @@ -0,0 +1,150 @@ +import { Jsonc } from "@effected/jsonc"; +import { Data, Effect, FileSystem, Option } from "effect"; + +/** + * Raised when a Biome config file cannot be read, or its `$schema` field + * cannot be parsed into a version. + */ +export class BiomeDetectError extends Data.TaggedError("BiomeDetectError")<{ + readonly reason: "read" | "parse"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** + * The config files this looks for, in the order it looks (oracle 5). + * + * @remarks + * Working-directory relative, as in v1 — the same posture as `detectTurbo`, and + * for the same reason: biome resolves its own config from the working + * directory. + */ +const CONFIG_FILES = ["biome.jsonc", "biome.json"] as const; + +/** + * Biome's own `$schema` urls carry the version as a path segment. + * + * @remarks + * v1's pattern, verbatim and deliberately unanchored (oracle 10). It matches on + * any host, so a vendored or mirrored schema url resolves the same way, and the + * captured segment is not validated — `next` and `latest` are things a + * repository can legitimately pin, and biome's release tags are npm-style. + */ +const SCHEMA_VERSION = /schemas\/([^/]+)\/schema\.json/; + +/** `Option.none()` for a string that is blank once trimmed. */ +const nonBlank = (value: string): Option.Option<string> => { + const trimmed = value.trim(); + return trimmed === "" ? Option.none() : Option.some(trimmed); +}; + +/** + * The first of {@link CONFIG_FILES} that exists, if either does. + * + * @remarks + * A probe rather than a read, so an *existing but unreadable* first file is + * still the file this uses — falling through to `biome.json` because + * `biome.jsonc` could not be opened would resolve a version the repository does + * not use. + */ +const configFile = (fs: FileSystem.FileSystem): Effect.Effect<Option.Option<string>> => + Effect.gen(function* () { + for (const candidate of CONFIG_FILES) { + const exists = yield* fs.access(candidate).pipe( + Effect.as(true), + Effect.catch(() => Effect.succeed(false)), + ); + if (exists) return Option.some(candidate); + } + return Option.none<string>(); + }); + +/** + * The version `$schema` names, if the parsed config names one. + * + * @remarks + * The `typeof` guard fixes a latent v1 defect (oracle 11): a truthy non-string + * `$schema` — an object, as a mistyped config produces — reached `.match` and + * threw a `TypeError` nothing caught, killing the whole action over an + * optional feature. + */ +const schemaVersion = (config: unknown): Option.Option<string> => { + if (config === null || typeof config !== "object") return Option.none(); + const schema = (config as { readonly $schema?: unknown }).$schema; + if (typeof schema !== "string") return Option.none(); + return Option.filter(Option.fromUndefinedOr(SCHEMA_VERSION.exec(schema)?.[1]), pathSafe); +}; + +/** + * Whether a resolved version is safe to become a url path segment. + * + * @remarks + * Not semver validation — quirk 4's ruling (npm-style tags such as `next` pass) + * stands. What this rejects is the shape that changes *which url* the installer + * fetches: separators, dot-segments and percent-escapes, any of which would let + * a `biome-version` input or a poisoned `$schema` redirect the binary download + * to a different GitHub path. A version failing this resolves the same way as + * one that was never named. + */ +const pathSafe = (version: string): boolean => /^[0-9A-Za-z][0-9A-Za-z._-]*$/.test(version); + +/** + * Resolves which Biome version, if any, this run should install. + * + * @remarks + * `requested` is the raw `biome-version` input. When present it wins outright; + * when absent the version is derived from the `$schema` field of `biome.jsonc` + * or `biome.json`, and `Option.none()` means "no Biome in this repository, skip + * the install". + * + * Detection is deliberately split from installation so the resolved version is + * available *before* `restoreCache`, which folds it into the cache key — + * the legacy ordering (`legacy-v1/program.ts:382-411`). + * + * The override short-circuits **before** any filesystem access (oracle 1-2), so + * a repository with a config file it wants overridden is not read at all. It is + * trimmed, which v1 did not do (quirk 3): the version becomes a path segment in + * a release url, and padding makes that a 404 rather than an error anyone can + * read. Blank-after-trim is therefore absent, matching the empty-string-is + * -absent reading `ActionInput` already applies. What it is *not* is semver + * -validated (quirk 4, consciously kept): biome tags are npm-style, so `next` + * passes. The one check applied is {@link pathSafe} — a version is a url path + * segment, and one that could name a *different* url is refused with a + * warning rather than fetched. + * + * `BiomeDetectError` stays on the signature and is never raised. Every + * file-level failure — absent, unreadable, unparseable, no `$schema`, a + * `$schema` that names no version — resolves to `Option.none()` (oracle 7), + * because Biome is optional and a repository whose config this cannot read is + * not a repository the action should fail. The declared error keeps the + * contract open for a genuinely unexpected case without making today's + * tolerance a lie, which is the same posture `restoreCache` takes. + */ +export const detectBiome = ( + requested: Option.Option<string>, +): Effect.Effect<Option.Option<string>, BiomeDetectError, FileSystem.FileSystem> => + Effect.gen(function* () { + const override = Option.flatMap(requested, nonBlank); + if (Option.isSome(override)) { + if (!pathSafe(override.value)) { + yield* Effect.logWarning(`Ignoring biome-version "${override.value}": not a plain version or tag`); + return Option.none<string>(); + } + yield* Effect.logInfo(`Detected Biome: ${override.value}`); + return override; + } + + const fs = yield* FileSystem.FileSystem; + const file = yield* configFile(fs); + if (Option.isNone(file)) return Option.none(); + + // v1 read an unreadable file as "{}" and an unparseable one as {}; both land + // here as `Option.none()` by way of an empty object, which is the same + // answer through one path instead of two. + const contents = yield* fs.readFileString(file.value).pipe(Effect.catch(() => Effect.succeed("{}"))); + const parsed = yield* Jsonc.parse(contents).pipe(Effect.catch(() => Effect.succeed({} as unknown))); + + const version = schemaVersion(parsed); + if (Option.isSome(version)) yield* Effect.logInfo(`Detected Biome: ${version.value}`); + return version; + }); diff --git a/src/steps/detect-turbo.ts b/src/steps/detect-turbo.ts new file mode 100644 index 00000000..d006aea3 --- /dev/null +++ b/src/steps/detect-turbo.ts @@ -0,0 +1,47 @@ +import { Data, Effect, FileSystem } from "effect"; + +/** + * Raised when `turbo.json` cannot be read. + */ +export class TurboDetectError extends Data.TaggedError("TurboDetectError")<{ + readonly reason: "read"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** The one file turbo detection looks for, relative to the working directory. */ +const TURBO_CONFIG = "turbo.json"; + +/** + * Detects whether a `turbo.json` is present in the working directory. + * + * @remarks + * Presence, and nothing else (oracle 24-25). The file is never opened, so an + * invalid or empty `turbo.json` still counts — which is v1's answer and the + * right one: what this decides is whether turbo's artifact directory joins the + * cache and whether the embedded remote cache is allowed to start, and both + * questions are about the repository using turbo at all, not about its config + * being well-formed. There is no `turbo.jsonc` fallback and no `package.json` + * key, again matching v1. + * + * The path is **working-directory relative**, as in v1. The cache restore + * resolves the checkout from `GITHUB_WORKSPACE` and this does not, which is a + * real difference on a job that changes directory — kept deliberately, because + * turbo itself resolves its config from the working directory and this must + * agree with turbo rather than with the cache step. + * + * `TurboDetectError` stays on the signature and is never raised: a probe that + * fails for any reason at all — absent, unreadable, a broken mount — answers + * `false`, because there is nothing else a caller could do with the + * distinction. + */ +export const detectTurbo: Effect.Effect<{ readonly enabled: boolean }, TurboDetectError, FileSystem.FileSystem> = + Effect.gen(function* () { + const fs = yield* FileSystem.FileSystem; + const enabled = yield* fs.access(TURBO_CONFIG).pipe( + Effect.as(true), + Effect.catch(() => Effect.succeed(false)), + ); + if (enabled) yield* Effect.logInfo("Detected Turbo configuration"); + return { enabled }; + }); diff --git a/src/steps/install-biome.ts b/src/steps/install-biome.ts new file mode 100644 index 00000000..7b2e157d --- /dev/null +++ b/src/steps/install-biome.ts @@ -0,0 +1,136 @@ +import type { ActionLogger, ToolInstallerError } from "@effected/github-actions"; +import { ActionOutputs, ToolInstaller } from "@effected/github-actions"; +import type { FileSystem } from "effect"; +import { Data, Effect, Option, Result } from "effect"; + +import { biome } from "../descriptors/biome.js"; +import type { Host } from "./install-runtimes.js"; +import { currentHost } from "./install-runtimes.js"; + +/** + * Raised when the configured Biome version cannot be detected, downloaded, or + * cached into the runner's tool cache. + * + * @remarks + * Three reasons where v1 had none: its install body flattened every typed + * failure into `Error("Biome install failed: " + error)`, which rendered a + * structured error as `[object Object]` (oracle 28). `detect` is the host + * having no published asset — a permanent condition retrying cannot fix — + * while `download` and `cache` are the provisioner's own two. + */ +export class BiomeInstallError extends Data.TaggedError("BiomeInstallError")<{ + readonly reason: "detect" | "download" | "cache"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** + * Which of this step's reasons a provisioner failure belongs to. + * + * @remarks + * `extractFailed` is unreachable here — `provisionFile` downloads a bare + * executable and never extracts anything — but it is spelled out rather than + * folded into a fallback, because a fallback would classify it, and any reason + * added upstream later, as whichever literal happened to be the else branch. + * + * The switch has **no default**, and the return type is annotated: a fourth + * reason upstream leaves a path that returns nothing, which is a typecheck + * failure here rather than a silent `cache` in a workflow log. Same shape as + * `cache-config`'s per-manager switches and the same intent as + * `setup-package-manager`'s `never` branch. + */ +const classify = (error: ToolInstallerError): BiomeInstallError["reason"] => { + switch (error.reason) { + case "downloadFailed": + return "download"; + case "extractFailed": + case "cacheFailed": + return "cache"; + } +}; + +/** + * Installs Biome at `version`, when present. + * + * @remarks + * `version` is the **resolved** version produced by `detectBiome` — the + * `biome-version` input override or the version derived from a Biome config + * file — not the raw input. `Option.none()` means there is nothing to install, + * and the step is then a no-op that touches neither the tool cache nor `PATH`. + * + * The whole install is one `ToolInstaller.provisionFile` call: cache lookup, + * download, the executable bit and the cache write are the provisioner's, and + * so is the cache-hit short-circuit v1 never had (oracle 18 — v1 re-downloaded + * Biome on every run). What stays here is everything host- or action-specific: + * the asset table and url template in `descriptors/biome.ts`, publishing the + * provisioned directory to `PATH`, and the error taxonomy. + * + * The returned `path` is the provisioner's `binDir`, which for a single binary + * is the cached directory itself — the same value handed to `addPath`, so a + * caller reporting where Biome went reports where it actually is. + * + * There is no verify probe, matching v1 (oracle 22) and unlike the runtime + * installs. A runtime is verified because it is what everything after it runs + * on; Biome is a lint tool a later workflow step either invokes or does not. + * + * `host` defaults to the process and is a parameter for the same reason as + * `installRuntimes`': it is what lets a test exercise the Windows asset. v1 + * read `os.platform()` inside the step and was untestable for it (oracle 13). + * + * `FileSystem` and `ActionLogger` stay in `R` though nothing here touches them + * — the chmod they were needed for is `provisionFile`'s now. The step contract + * was frozen in Phase A and narrowing `R` is a contract change, so they stay, + * as `Path` does on `loadConfig`. + */ +export const installBiome = ( + version: Option.Option<string>, + host: Host = currentHost(), +): Effect.Effect< + Option.Option<{ readonly version: string; readonly path: string }>, + BiomeInstallError, + ToolInstaller | ActionOutputs | FileSystem.FileSystem | ActionLogger +> => + Effect.gen(function* () { + if (Option.isNone(version)) return Option.none(); + const requested = version.value; + + const planned = biome.plan(requested, host.platform, host.arch); + if (Result.isFailure(planned)) { + return yield* new BiomeInstallError({ reason: "detect", message: planned.failure }); + } + const plan = planned.success; + + const installer = yield* ToolInstaller; + const outputs = yield* ActionOutputs; + + yield* Effect.logDebug(`biome ${requested}: ${plan.url}`); + const provisioned = yield* installer + .provisionFile({ tool: "biome", version: requested, url: plan.url, binary: plan.binary }) + .pipe( + // The provisioner's own prose is carried verbatim rather than wrapped: + // the call site adds the one prefix a reader needs, where v1 stacked + // two and lost the structure between them (oracle 28). + Effect.catch((error) => + Effect.fail(new BiomeInstallError({ reason: classify(error), message: error.message, cause: error })), + ), + ); + + // A publish failure joins `cache`: the tool is in the tool cache and this + // run could not make it reachable, which is the same thing to a caller as + // a cache write that did not land — the version asked for is not usable. + // v1 swept `addPath` into the same catch as everything else (oracle 32), + // and the reason union is the step's frozen contract. + yield* outputs.addPath(provisioned.binDir).pipe( + Effect.catch((error) => + Effect.fail( + new BiomeInstallError({ + reason: "cache", + message: `Biome ${requested} could not be published to PATH: ${error.message}`, + cause: error, + }), + ), + ), + ); + yield* Effect.logInfo(`Biome ${requested}`); + return Option.some({ version: requested, path: provisioned.binDir }); + }); diff --git a/src/steps/install-dependencies.ts b/src/steps/install-dependencies.ts new file mode 100644 index 00000000..090bfdee --- /dev/null +++ b/src/steps/install-dependencies.ts @@ -0,0 +1,310 @@ +import { delimiter } from "node:path"; +import { ActionLogger } from "@effected/github-actions"; +import type { PlatformError } from "effect"; +import { Data, Effect, FileSystem, Stream } from "effect"; +import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process"; + +import type { PackageManagerName } from "../schema/domain.js"; +import type { ActivatedPackageManager } from "./setup-package-manager.js"; + +/** + * Raised when the package manager's install command cannot be spawned, or + * exits non-zero. + * + * @remarks + * `spawn` covers every platform failure around running the command, not only + * the launch itself: reading its stderr and waiting on its exit code fail the + * same way and mean the same thing to a caller — the install did not run to a + * verdict. `exit-code` is reserved for a command that ran and reported failure. + * + * That split shifts on Windows, where the command is launched through a shell: + * `cmd.exe` itself always launches, so a manager that is not on the child's + * `PATH` at all comes back as an `exit-code` failure — `cmd.exe`'s own 9009, + * "is not recognized as an internal or external command" — rather than the + * `spawn` a POSIX runner would report for the same missing binary. + */ +export class InstallError extends Data.TaggedError("InstallError")<{ + readonly reason: "spawn" | "exit-code"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** How many trailing stderr lines a failure message carries. */ +const STDERR_TAIL_LINES = 10; + +/** + * The lockfiles whose presence switches a manager into its reproducible mode, + * and the arguments for each answer. + * + * @remarks + * Probed as bare, working-directory-relative names, exactly as legacy did + * (oracle 2): the action runs inside the checkout, and an absolute path would + * have to invent a root the action is not given. + * + * yarn is the one manager that adds a flag in the *absent* case, and + * `--no-immutable` explicitly permits a lockfile rewrite in CI. That is a v1 + * behavior carried over deliberately rather than an oversight (oracle 8). bun + * probes two lockfiles because it has shipped two formats: the current text + * `bun.lock` and the older binary `bun.lockb`. + */ +const PLANS: Record< + Exclude<PackageManagerName, "deno">, + { + readonly lockfiles: ReadonlyArray<string>; + readonly locked: ReadonlyArray<string>; + readonly unlocked: ReadonlyArray<string>; + } +> = { + npm: { lockfiles: ["package-lock.json"], locked: ["ci"], unlocked: ["install"] }, + pnpm: { lockfiles: ["pnpm-lock.yaml"], locked: ["install", "--frozen-lockfile"], unlocked: ["install"] }, + yarn: { lockfiles: ["yarn.lock"], locked: ["install", "--immutable"], unlocked: ["install", "--no-immutable"] }, + bun: { lockfiles: ["bun.lock", "bun.lockb"], locked: ["install", "--frozen-lockfile"], unlocked: ["install"] }, +}; + +/** + * Whether any of `lockfiles` exists, with every probe failure read as absent. + * + * @remarks + * Legacy collapsed any `access` rejection to `false` and this keeps that: a + * workspace whose lockfile cannot be stat'ed installs without the frozen flag + * rather than failing the step over a stat. + * + * Probes run in order and stop at the first hit, so bun's second probe only + * happens when the first misses. + */ +const anyLockfile = (fs: FileSystem.FileSystem, lockfiles: ReadonlyArray<string>) => + Effect.reduce( + lockfiles, + () => false, + (found, lockfile) => + found ? Effect.succeed(true) : fs.exists(lockfile).pipe(Effect.catch(() => Effect.succeed(false))), + ); + +/** + * The environment variable this process spells `PATH` with. + * + * @remarks + * Windows spells it `Path`, and its environment block is case-insensitive. Node + * does in fact cope: `normalizeSpawnArguments` de-duplicates the merged + * environment case-insensitively on win32, keeping the lexicographically-first + * key — so a `PATH` added beside an inherited `Path` would win, by an + * undocumented internal that nothing obliges Node to keep. Reusing the spelling + * the process already has means not depending on it. + */ +const pathKeyOf = (env: Record<string, string | undefined>): string => + Object.keys(env).find((key) => key.toUpperCase() === "PATH") ?? "PATH"; + +/** + * The child environment for everything this action installed. + * + * @remarks + * `ActionOutputs.addPath` appends to `GITHUB_PATH`, which only takes effect in + * *later* workflow steps; it never mutates this process's own `PATH`. So a + * manager sitting in the tool cache is unreachable here unless the child is + * told where it is — and so is every runtime this run installed. + * + * The runtimes matter because the install is not a leaf: a package manager + * spawns lifecycle scripts, and a `postinstall` running `deno install` or `bun + * install` resolves that binary off the `PATH` it inherited from the install + * child. Prepending only the manager's own directory left those scripts looking + * at the runner image's bare `PATH`, where a `devEngines` runtime this action + * had just installed simply is not — `deno: not found`. + * + * The manager is still spawned by bare name, with its directory prepended, + * rather than by absolute path, for the same reason: the children inherit + * `PATH`, not the absolute path their parent was invoked with. + * + * Order is the caller's, and it is significant — the manager's own shim + * directory leads, so it wins any name collision with a runtime of the same + * name. `extendEnv` is what keeps this a *prepend* rather than a replacement: + * without it the child would run with `PATH` and nothing else. + */ +const childEnv = (pathPrepends: ReadonlyArray<string>): ChildProcess.CommandOptions => { + if (pathPrepends.length === 0) return {}; + const key = pathKeyOf(process.env); + return { env: { [key]: [...pathPrepends, process.env[key] ?? ""].join(delimiter) }, extendEnv: true }; +}; + +/** + * Whether the manager has to be launched through a shell rather than directly. + * + * @remarks + * On Windows every node-based manager on `PATH` is a `.cmd` batch shim, not a + * real executable: `CreateProcess` cannot execute one, and since + * CVE-2024-27980 Node refuses to pass `.cmd`/`.bat` to it at all unless a shell + * is asked for. Spawning `pnpm` by bare name therefore fails at launch — + * `NotFound: ChildProcess.spawn` — before the install has a chance to run. bun + * is the exception that shows the shape of it: `bun.exe` is a real binary, and + * bun-as-manager was the one Windows job passing before this. Legacy reached + * the same place by shelling every command on win32. + * + * All four managers shell on win32, bun included, and that is deliberate rather + * than collateral: `cmd.exe` resolves a bare `bun` through `PATHEXT`, where + * `.EXE` precedes `.CMD`, so it finds the same `bun.exe` in the same prepended + * directory a direct spawn found. The argv is static either way, so the shell + * buys uniformity — one launch path to reason about — at no cost to the one + * manager that did not need it. + * + * `cmd.exe` resolves the bare name off the **child's** `PATH` — the one + * `childEnv` builds — so the prepends keep working exactly as they do without + * a shell. + * + * POSIX gets no shell: the direct spawn there already works, and a shell would + * only add a layer between this step and the manager's exit code. + */ +const needsShell = (platform: string): boolean => platform === "win32"; + +/** + * Runs one install command, echoing its stderr and keeping the tail. + * + * @remarks + * `stdout` is inherited, so the install's own transcript streams straight to + * the workflow log as it happens — legacy's `streaming: true`, and the reason a + * chatty install cannot fill a pipe nobody drains. `stderr` is piped instead — + * spelled out rather than left to the default, because the asymmetry with + * `stdout` is the design — because a failure message is far more useful with the + * last few lines of it than without, and every line read is echoed so nothing is + * swallowed. + * + * Under `shell`, Node concatenates the command and its arguments into a single + * `cmd.exe` command line rather than passing an argv, which is a quoting hazard + * for anything containing a space or a shell metacharacter. It is not one here: + * every argument comes from `PLANS`, which is a table of static flag literals — + * no path, no version, nothing derived from an input. + */ +const spawnInstall = ( + name: PackageManagerName, + args: ReadonlyArray<string>, + pathPrepends: ReadonlyArray<string>, + platform: string, +) => + Effect.gen(function* () { + const spawner = yield* ChildProcessSpawner.ChildProcessSpawner; + const command = ChildProcess.make(name, [...args], { + stdout: "inherit", + stderr: "pipe", + ...childEnv(pathPrepends), + ...(needsShell(platform) ? { shell: true } : {}), + }); + + const handle = yield* spawner.spawn(command); + const tail: Array<string> = []; + yield* Stream.runForEach(Stream.splitLines(Stream.decodeText(handle.stderr)), (line) => + Effect.suspend(() => { + tail.push(line); + if (tail.length > STDERR_TAIL_LINES) tail.shift(); + return Effect.logInfo(line); + }), + ); + + const exitCode = yield* handle.exitCode; + return { exitCode: Number(exitCode), tail }; + }).pipe(Effect.scoped); + +/** + * Renders `detail` for a non-zero exit: what ran, how it ended, and the tail. + * + * @remarks + * The tail is appended only when there is one, so a silent failure does not end + * in a dangling newline (oracle 19). + */ +const exitDetail = ( + name: PackageManagerName, + args: ReadonlyArray<string>, + exitCode: number, + tail: ReadonlyArray<string>, +): string => { + const lines = tail.filter((line) => line.trim() !== ""); + const stderr = lines.length === 0 ? "" : `\n${lines.join("\n")}`; + return `${name} ${args.join(" ")} exited with code ${exitCode}${stderr}`; +}; + +/** + * Runs the package manager's install command, when `enabled` is `true`. + * + * @remarks + * `deno` is a complete skip with the legacy log line (oracle 14): it caches + * modules on demand, so there is nothing to install ahead of time. `enabled` + * false is a skip too, and neither probes nor spawns anything. + * + * The reported `ran` is **truthful**, which is where this parts company with + * v1: legacy's summary mirrored the raw input and so reported deno's skipped + * install as done (oracle 17, 33). It is `true` only when an install command + * actually ran and succeeded. + * + * There is no timeout and no retry — a hung or flaky install fails the job the + * way it did in v1 (oracle 11) — and the error is fatal: `program.ts` + * deliberately does not catch it (oracle 20). + * + * The failure message names the failure exactly once. Legacy nested its own + * prose inside itself, rendering "Failed to install dependencies with pnpm: + * Failed to install dependencies: …" (oracle 21). + * + * `pathPrepends` is every directory this run put a binary in that the install — + * or anything the install spawns — has to be able to find by bare name, in the + * order they should be searched. The step joins them ahead of the inherited + * `PATH`; it does not build or reorder the list, because assembling it needs + * both the package-manager and runtime results and this step holds neither. + * `pm.binDir` is *not* read for this: the caller has already folded it in at the + * head of the list. + * + * `platform` decides only whether the manager is launched through a shell (see + * `needsShell`). It is an argument with a `process.platform` default rather + * than a read, mirroring `installRuntimes`' `host`: it is the seam that makes + * the Windows branch exercisable without monkey-patching the process, and no + * caller passes it. + */ +export const installDependencies = ( + pm: ActivatedPackageManager, + enabled: boolean, + pathPrepends: ReadonlyArray<string>, + platform: string = process.platform, +): Effect.Effect< + { readonly ran: boolean }, + InstallError, + ChildProcessSpawner.ChildProcessSpawner | FileSystem.FileSystem | ActionLogger +> => + Effect.gen(function* () { + if (!enabled) return { ran: false }; + + if (pm.name === "deno") { + yield* Effect.logInfo("Deno caches dependencies automatically, skipping install step"); + return { ran: false }; + } + + const fs = yield* FileSystem.FileSystem; + const logger = yield* ActionLogger; + const plan = PLANS[pm.name]; + const locked = yield* anyLockfile(fs, plan.lockfiles); + const args = locked ? plan.locked : plan.unlocked; + + // The buffer holds the echoed stderr rather than the install itself, whose + // stdout is inherited and never passes through the logger. Held so an + // interleaved dribble of warnings does not scramble the live transcript, + // and flushed on every exit path so a failing install still shows all of + // it — not just the tail the message carries. + const { exitCode, tail } = yield* logger + .withBuffer(pm.name, spawnInstall(pm.name, args, pathPrepends, platform)) + .pipe( + Effect.catch((cause: PlatformError.PlatformError) => + Effect.fail( + new InstallError({ + reason: "spawn", + message: `Failed to install dependencies with ${pm.name}: ${cause.message}`, + cause, + }), + ), + ), + ); + + if (exitCode !== 0) { + return yield* new InstallError({ + reason: "exit-code", + message: `Failed to install dependencies with ${pm.name}: ${exitDetail(pm.name, args, exitCode, tail)}`, + cause: { exitCode, stderr: tail.join("\n") }, + }); + } + + yield* Effect.logInfo("Dependencies installed successfully"); + return { ran: true }; + }); diff --git a/src/steps/install-runtimes.ts b/src/steps/install-runtimes.ts new file mode 100644 index 00000000..ef0c3367 --- /dev/null +++ b/src/steps/install-runtimes.ts @@ -0,0 +1,215 @@ +import { ActionLogger, ActionOutputs, ToolInstaller } from "@effected/github-actions"; +import { Data, Effect, Option, Path, Result } from "effect"; +import { ChildProcess, ChildProcessSpawner } from "effect/unstable/process"; + +import { bun } from "../descriptors/bun.js"; +import { deno } from "../descriptors/deno.js"; +import type { RuntimeDescriptor } from "../descriptors/descriptor.js"; +import { node } from "../descriptors/node.js"; +import type { RuntimeConfig, RuntimeName, RuntimeSpec } from "../schema/domain.js"; + +/** + * Raised when a `devEngines.runtime` entry cannot be resolved, downloaded, + * extracted, or cached into the runner's tool cache. + * + * @remarks + * `verify` covers everything after the tool is in the cache: publishing its bin + * directory to `PATH` and running the binary once. Both are the same class of + * failure to a caller — the runtime is installed but unusable — and neither is + * worth its own literal. + */ +export class RuntimeInstallError extends Data.TaggedError("RuntimeInstallError")<{ + readonly reason: "download" | "extract" | "cache" | "unsupported-platform" | "verify"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** One runtime, on the runner, with the directory that was published to `PATH`. */ +export interface InstalledRuntime { + readonly name: RuntimeName; + readonly version: string; + readonly path: string; +} + +/** The runner's operating system and architecture. */ +export interface Host { + readonly platform: string; + readonly arch: string; +} + +/** + * The host, read from the process. + * + * @remarks + * The **only** place this step touches `process`. Descriptors take the host as + * arguments, so every platform is exercisable without monkey-patching the + * process — legacy read `process.platform` inside the installer and + * `os.platform()` inside the Biome descriptor, and neither was testable + * (`legacy-v1/services/runtime-installer.ts:89,93`). + */ +export const currentHost = (): Host => ({ platform: process.platform, arch: process.arch }); + +const DESCRIPTORS: Record<RuntimeName, RuntimeDescriptor> = { node, bun, deno }; + +/** A descriptor refusing a host. Carries the prose the installer reports. */ +class PlanError extends Data.TaggedError("PlanError")<{ readonly message: string }> {} + +/** The installed binary would not run. */ +class VerifyError extends Data.TaggedError("VerifyError")<{ readonly message: string }> {} + +/** + * A human-readable reason for any thrown or failed value. + * + * @remarks + * Ported from `legacy-v1/services/runtime-installer.ts:12-22` with the first + * two branches **swapped**: a `message` now wins over a `reason`. Legacy's + * order made sense against a kit whose errors carried prose in `reason`; the + * `@effected` errors carry a discriminant there (`downloadFailed`) and the + * prose in a `message` getter beside it ("Could not download <url> (HTTP + * 404)"). Under the legacy order every install failure rendered as one word. + * + * This is prose for a human reading a failed job. {@link classify} reads + * `reason` instead, and the two deliberately stay separate: one is the + * discriminant, the other is the sentence. + */ +const extractErrorReason = (error: unknown): string => { + if (error !== null && typeof error === "object") { + const candidate = error as Record<string, unknown>; + if (typeof candidate.message === "string" && candidate.message !== "") return candidate.message; + if (typeof candidate.reason === "string" && candidate.reason !== "") return candidate.reason; + if (typeof candidate._tag === "string") return candidate._tag; + } + const rendered = String(error); + return rendered === "" ? "Unknown error" : rendered; +}; + +/** + * Which stage a failure belongs to, for a caller that branches on the reason. + * + * @remarks + * Reads the error's `reason` **discriminant**, not the prose + * {@link extractErrorReason} renders. Unifying the two would tie a routing + * decision to a message string. + */ +const classify = (error: unknown): RuntimeInstallError["reason"] => { + if (error === null || typeof error !== "object") return "verify"; + const candidate = error as { readonly _tag?: unknown; readonly reason?: unknown }; + if (candidate._tag === "PlanError") return "unsupported-platform"; + if (candidate._tag === "ToolInstallerError") { + if (candidate.reason === "downloadFailed") return "download"; + if (candidate.reason === "extractFailed") return "extract"; + if (candidate.reason === "cacheFailed") return "cache"; + } + return "verify"; +}; + +/** + * Installs one runtime: find, then download/extract/cache on a miss, then + * publish to `PATH` and run it once. + */ +const installOne = (spec: RuntimeSpec, host: Host) => + Effect.gen(function* () { + const installer = yield* ToolInstaller; + const outputs = yield* ActionOutputs; + const path = yield* Path.Path; + const spawner = yield* ChildProcessSpawner.ChildProcessSpawner; + + const planned = DESCRIPTORS[spec.name].plan(spec.version, host.platform, host.arch); + if (Result.isFailure(planned)) return yield* new PlanError({ message: planned.failure }); + const plan = planned.success; + yield* Effect.logDebug(`${spec.name} ${spec.version}: ${plan.url}`); + + // A runner that already has this exact version skips the download + // entirely. Legacy had no such check and re-downloaded every run + // (oracle 13); the tool cache is keyed by tool and version, so a hit is + // the same bytes the download would have produced. + const cached = yield* installer.find(spec.name, spec.version); + const root = Option.isSome(cached) + ? cached.value + : yield* Effect.gen(function* () { + const archive = yield* installer.download(plan.url); + const extracted = + plan.archive === "zip" + ? yield* installer.extractZip(archive) + : yield* installer.extractTar(archive, { flags: plan.tarFlags }); + // The archive's own wrapper directory is stripped *before* the + // cache write, so the cached root is the canonical + // `<tool>/<version>/<arch>` layout every other writer of that + // cache uses. Caching the wrapper instead would make the hit path + // unable to find the binary: a hit returns the cached root with no + // extracted archive left to descend into. + const source = plan.archiveSubPath === undefined ? extracted : path.join(extracted, plan.archiveSubPath); + return yield* installer.cacheDir(source, spec.name, spec.version); + }); + yield* Effect.logDebug(`${spec.name} ${spec.version}: cached at ${root}`); + + // Joined through `Path`, not interpolated with a literal separator as in + // legacy (`:112`). Only segments genuinely inside the cached tool belong + // here — node's `bin` on Unix — so a hit and a miss resolve identically. + const toolPath = plan.binSubPath === undefined ? root : path.join(root, plan.binSubPath); + yield* outputs.addPath(toolPath); + + // `addPath` writes `GITHUB_PATH`, which only takes effect in *later* + // steps, so the probe runs the binary by absolute path. Legacy invoked the + // bare name and therefore verified whatever the runner already had. + // + // `exitCode` leaves stdout and stderr undrained, which is safe for + // `--version` — a line or two fits the pipe buffer and the process exits. + // A chattier command would fill the buffer and block forever; anything + // verbose belongs on a member that drains, such as `string` or `lines`. + const binary = path.join(toolPath, plan.binary); + const exitCode = yield* spawner.exitCode(ChildProcess.make(binary, ["--version"])); + if (exitCode !== 0) return yield* new VerifyError({ message: `${binary} --version exited ${exitCode}` }); + + return { name: spec.name, version: spec.version, path: toolPath } satisfies InstalledRuntime; + }).pipe( + // One collapse for every stage, so a caller sees a single error class with + // the runtime and version in its message (oracle 29). + Effect.catch((error) => + Effect.fail( + new RuntimeInstallError({ + reason: classify(error), + message: `Failed to install ${spec.name}@${spec.version}: ${extractErrorReason(error)}`, + cause: error, + }), + ), + ), + ); + +/** + * Installs every runtime in `config.runtimes` into the runner's tool cache. + * + * @remarks + * Sequential, in `devEngines` declaration order, and fatal on the first failure + * — a later runtime is not attempted (oracle 15, 34). Duplicates are not + * deduplicated: a manifest that declares the same runtime twice installs it + * twice, which is v1 behavior (oracle 42), and the tool-cache hit makes the + * second pass cheap. + * + * `ActionOutputs` is in `R` because `ToolInstaller` deliberately stops at the + * tool cache — putting an installed runtime's `bin` on `PATH` is + * `ActionOutputs.addPath` (dossier §A8). `Path` joins the bin subdirectory, + * and `ChildProcessSpawner` runs the verify probe. + * + * `host` defaults to the process and is a parameter for one reason: it is what + * lets a test exercise the Windows layout and a platform a runtime publishes no + * build for. Callers pass one argument. + */ +export const installRuntimes = ( + config: RuntimeConfig, + host: Host = currentHost(), +): Effect.Effect< + ReadonlyArray<InstalledRuntime>, + RuntimeInstallError, + ToolInstaller | ActionOutputs | ActionLogger | Path.Path | ChildProcessSpawner.ChildProcessSpawner +> => + Effect.gen(function* () { + const logger = yield* ActionLogger; + return yield* Effect.forEach(config.runtimes, (spec) => + // The transcript is held and discarded on success, so a green run is one + // line per runtime and a failure still spills the url and cache path. + logger + .withBuffer(spec.name, installOne(spec, host), { onSuccess: "discard" }) + .pipe(Effect.tap((installed) => Effect.logInfo(`${installed.name} ${installed.version}`))), + ); + }); diff --git a/src/steps/load-config.ts b/src/steps/load-config.ts new file mode 100644 index 00000000..a0bd87f7 --- /dev/null +++ b/src/steps/load-config.ts @@ -0,0 +1,100 @@ +import type { Path } from "effect"; +import { Effect, FileSystem, Schema } from "effect"; +import { ConfigError, PackageManagerSpec, RuntimeConfig, RuntimeSpec } from "../schema/domain.js"; + +/** + * The slice of `package.json` this step decodes. + * + * @remarks + * `Schema.Struct` ignores unknown keys, so every unrelated manifest field — + * including a top-level corepack `packageManager` pin — is discarded rather + * than consulted: `devEngines` is the only source of truth. + * + * `runtime` accepts either a single entry or a non-empty array of them. An + * empty array is a decode failure, which keeps the normalized + * {@link RuntimeConfig.runtimes} non-empty by construction. + */ +const PackageJsonDevEngines = Schema.Struct({ + devEngines: Schema.Struct({ + packageManager: PackageManagerSpec, + runtime: Schema.Union([RuntimeSpec, Schema.NonEmptyArray(RuntimeSpec)]), + }), +}); + +const decodePackageJson = Schema.decodeUnknownEffect(PackageJsonDevEngines); + +/** Narrows the decoded `runtime` union without depending on `RuntimeSpec` being a class. */ +const isRuntimeSpec = Schema.is(RuntimeSpec); + +/** + * Reads and decodes `package.json`'s `devEngines` block. + * + * @remarks + * `Path` sits in `R` because the frozen Phase A contract declares it, not + * because this step needs it — nothing here resolves a path. + * + * The manifest is read from the literal, cwd-relative path `package.json` and + * parsed with strict `JSON.parse` — not JSONC. Every failure surfaces as a + * {@link ConfigError}: a missing file, unparseable JSON, or any decode + * rejection, the last collapsed into one message with the parse issue carried + * as `cause` rather than rendered. + * + * Normalization is deliberately minimal — a single runtime becomes an array of + * one, and nothing else changes. Duplicates survive, declaration order is + * preserved, names are matched case-sensitively, and no field is defaulted. + */ +export const loadConfig: Effect.Effect<RuntimeConfig, ConfigError, FileSystem.FileSystem | Path.Path> = Effect.gen( + function* () { + const fs = yield* FileSystem.FileSystem; + + const content = yield* fs.readFileString("package.json", "utf-8").pipe( + Effect.mapError( + (cause) => + new ConfigError({ + reason: "missing-package-json", + message: + "package.json not found. This action requires a package.json with devEngines.packageManager and devEngines.runtime fields.", + cause, + }), + ), + ); + + const raw = yield* Effect.try({ + try: () => JSON.parse(content) as unknown, + catch: (cause) => + new ConfigError({ + reason: "malformed-json", + message: "Failed to parse package.json: Invalid JSON", + cause, + }), + }); + + const { devEngines } = yield* decodePackageJson(raw).pipe( + Effect.mapError( + (cause) => + new ConfigError({ + reason: "invalid-dev-engines", + message: "package.json has invalid or missing devEngines field", + cause, + }), + ), + ); + + const config = RuntimeConfig.make({ + packageManager: devEngines.packageManager, + runtimes: isRuntimeSpec(devEngines.runtime) ? [devEngines.runtime] : devEngines.runtime, + }); + + // The group these run in was silent, which made it the one step in the + // pipeline whose log said nothing about what it learned — while + // `detectBiome` and `detectTurbo` beside it both announce their findings + // (ruling 31). `@` joins a name to its version here, and a space does in + // the job summary; the split is v1's, per formatter, and is kept rather + // than harmonized (ruling 54). + yield* Effect.logInfo( + `Detected runtime(s): ${config.runtimes.map((runtime) => `${runtime.name}@${runtime.version}`).join(", ")}`, + ); + yield* Effect.logInfo(`Detected package manager: ${config.packageManager.name}@${config.packageManager.version}`); + return config; + }, +); diff --git a/src/steps/restore-cache.ts b/src/steps/restore-cache.ts new file mode 100644 index 00000000..6a0be02e --- /dev/null +++ b/src/steps/restore-cache.ts @@ -0,0 +1,263 @@ +import { homedir } from "node:os"; +import type { ActionEnvironmentShape } from "@effected/github-actions"; +import { ActionCache, ActionEnvironment, ActionState, CacheKey } from "@effected/github-actions"; +import type { FileSystem, Path } from "effect"; +import { Data, Effect, Option } from "effect"; + +import type { RuntimeConfig } from "../schema/domain.js"; +import type { Inputs } from "../schema/inputs.js"; +import { CacheState, STATE_KEYS } from "../state.js"; +import type { ToolEntry } from "./cache-config.js"; +import { + RESTORE_DEPTHS, + activePackageManagers, + cachePaths, + defaultToolCacheBase, + keySegments, + lockfilePatterns, +} from "./cache-config.js"; + +/** + * Everything the cache key and the restored path set are derived from. + * + * @remarks + * A params object rather than positional arguments: Phase B adds the resolved + * lockfile set and the active package-manager list here, and a named field is + * an additive change where a fifth positional argument would not be. + */ +export interface RestoreCacheArgs { + readonly inputs: Inputs; + readonly config: RuntimeConfig; + /** The version `detectBiome` resolved — part of the cache key when present. */ + readonly biomeVersion: Option.Option<string>; + /** Whether `turbo.json` was detected — decides whether turbo's local artifact cache is restored. */ + readonly turbo: { readonly enabled: boolean }; +} + +/** + * Raised when a cache key cannot be computed, or the runner's cache cannot be + * restored from or saved to. + * + * @remarks + * The shape a cache failure has whether it is raised or absorbed. The restore + * step never fails the action — a cache is an optimization, and a cold or + * unreachable one has to leave the run to the installs that follow — so `key`, + * `restore` and `state` are shaped here and then logged rather than propagated. + * `save` is the post phase's, which is under the same rule for the same reason. + * Keeping one taxonomy for all four means the reason and the message a workflow + * log shows do not depend on which side of that line the failure fell. + * + * `state` and `save` are two different writes and get two different literals: + * `state` is `main` failing to hand the post phase what it restored, `save` is + * the post phase failing to archive it. Sharing one literal would make a log + * grep for a failed archive turn up runs whose archive was never attempted. + */ +export class CacheError extends Data.TaggedError("CacheError")<{ + readonly reason: "key" | "restore" | "state" | "save"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** The prefix `GITHUB_REF` carries for a branch, and nothing else. */ +const REFS_HEADS = "refs/heads/"; + +/** + * The branch this run is on, or `""` when it is not on one. + * + * @remarks + * `GITHUB_HEAD_REF` first, because on a pull request `GITHUB_REF` names the + * synthetic merge ref (`refs/pull/12/merge`) rather than the branch — keying on + * it would give every pull request a cache of its own that nothing else ever + * restores. A tag or a detached HEAD matches neither and yields `""`, which + * {@link keySegments} hashes as a literal. + */ +const branchName = (env: ActionEnvironmentShape): Effect.Effect<string> => + Effect.gen(function* () { + const head = yield* env.getOptional("GITHUB_HEAD_REF"); + if (Option.isSome(head)) return head.value; + const ref = yield* env.getOptional("GITHUB_REF"); + return Option.match(ref, { + onNone: () => "", + onSome: (value) => (value.startsWith(REFS_HEADS) ? value.slice(REFS_HEADS.length) : ""), + }); + }); + +/** + * Absorbs a failure into `fallback`, logging it as the {@link CacheError} it + * would otherwise have been. + * + * @remarks + * Every degradation in this step goes through here, so "the restore never + * fails the action" is one mechanism rather than a rule each call site + * remembers. `message` takes the cause so a log line can name the reason + * literal the kit reported — `unreachable` and `archiveFailed` call for + * completely different responses from whoever reads the log, and the prose + * alone does not distinguish them. + */ +const absorb = <A, B, E, R>( + effect: Effect.Effect<A, E, R>, + reason: CacheError["reason"], + message: (cause: E) => string, + fallback: B, +): Effect.Effect<A | B, never, R> => + effect.pipe( + Effect.catch((cause) => + Effect.logWarning(new CacheError({ reason, message: message(cause), cause }).message).pipe(Effect.as(fallback)), + ), + ); + +/** + * The one-line verdict the run reports, in v1's words. + * + * @remarks + * Three shapes — `exact hit (N lockfiles)`, `partial hit (…)`, `miss (…)` — + * carried over verbatim from `legacy-v1/services/summary.ts:46`, singular + * `1 lockfile` included. The count belongs on the line because a miss with no + * lockfiles at all is a different problem from a miss with three: the first + * says the patterns matched nothing, the second says the dependencies changed. + * + * The job-summary panel renders the same three (step 6), so the prose is + * settled here rather than invented twice. + */ +const cacheLine = (restoredKey: Option.Option<string>, primaryKey: string, lockfileCount: number): string => { + const lockfiles = `${lockfileCount} lockfile${lockfileCount === 1 ? "" : "s"}`; + if (Option.isNone(restoredKey)) return `miss (${lockfiles})`; + return restoredKey.value === primaryKey ? `exact hit (${lockfiles})` : `partial hit (${lockfiles})`; +}; + +/** + * Computes a cache key from `args` and restores the dependency paths it names + * from the runner's cache. + * + * @remarks + * Runs *before* anything is installed, matching legacy + * (`legacy-v1/program.ts:476`): a restore that lands is what makes the installs + * that follow cheap, so it cannot depend on their results. + * + * `R` covers what `CacheKey` needs to hash and glob lockfiles (`FileSystem`, + * `Path`) and what it needs to scope a key to the branch and runner OS + * (`ActionEnvironment`), alongside the cache itself and the `ActionState` the + * post phase reads back. + * + * Every restore is asked for by typed `CacheKey`, which carries its own ladder + * policy — `ActionCache` reads the rungs off the key, so the primary and its + * fallbacks cannot drift apart. A normal run carries `RESTORE_DEPTHS`; a busted + * run carries an explicitly empty ladder, which is a policy rather than the + * absence of one. + * + * Nothing here fails: the declared `CacheError` is what a failure is *shaped* + * as before being logged, and the step answers with a miss-shaped + * {@link CacheState} instead. The state is persisted even then, so the post + * phase saves what this run installs rather than leaving the cache cold for the + * next one too. + */ +export const restoreCache = ( + args: RestoreCacheArgs, +): Effect.Effect< + CacheState, + CacheError, + ActionCache | ActionState | FileSystem.FileSystem | Path.Path | ActionEnvironment +> => + Effect.gen(function* () { + const cache = yield* ActionCache; + const state = yield* ActionState; + const env = yield* ActionEnvironment; + + // The workspace bounds lockfile discovery: nothing outside it is walked or + // hashed. Outside a runner there is no context to read it from, and the + // process's own directory is where the checkout would be anyway. + const workspace = yield* env.github.pipe( + Effect.map((context) => context.workspace), + Effect.catch(() => Effect.sync(() => process.cwd())), + ); + const toolCacheBase = Option.getOrElse(yield* env.getOptional("RUNNER_TOOL_CACHE"), () => + defaultToolCacheBase(process.platform), + ); + const branch = yield* branchName(env); + + const packageManagers = activePackageManagers(args.config); + // Biome rides along as a tool: it is versioned, tool-cached, and a version + // change has to invalidate the archive that holds the old one (oracle 11). + const tools: ReadonlyArray<ToolEntry> = [ + ...args.config.runtimes.map((runtime) => ({ name: runtime.name, version: runtime.version })), + ...Option.match(args.biomeVersion, { + onNone: (): ReadonlyArray<ToolEntry> => [], + onSome: (version) => [{ name: "biome", version }], + }), + ]; + + const patterns = lockfilePatterns(packageManagers, args.inputs.additionalLockfiles); + const lockfiles = yield* absorb( + CacheKey.matchingFiles({ workspace, patterns }), + "key", + (cause) => `Lockfile discovery failed (${cause.reason}): ${cause.message}`, + [] as ReadonlyArray<string>, + ); + const lockfileHash = yield* absorb( + CacheKey.hashFiles(lockfiles), + "key", + (cause) => `Lockfile hashing failed (${cause.reason}): ${cause.message}`, + Option.none<string>(), + ); + + const paths = cachePaths({ + packageManagers, + tools, + toolCacheBase, + additional: args.inputs.additionalCachePaths, + turbo: args.turbo.enabled, + platform: process.platform, + home: homedir(), + }); + const segments = CacheKey.of( + ...keySegments({ + platform: process.platform, + arch: process.arch, + tools, + packageManager: args.config.packageManager, + branch, + lockfileHash, + cacheBust: args.inputs.cacheBust, + }), + ); + // A cache bust removes the ladder entirely (oracle 15): the fixtures pair a + // create run with a restore run under one busted key to prove an **exact** + // hit, and any fallback rung would satisfy the restore without proving + // anything. `withoutRestoreKeys` is that third point in the policy space — + // zero rungs, distinct from *absence*, which still selects the default + // every-prefix ladder. Until the kit grew it, saying "this key or nothing" + // forced the restore off the typed key and back onto a bare string. + const busted = Option.isSome(args.inputs.cacheBust); + const key = busted ? segments.withoutRestoreKeys() : segments.withRestoreDepths(RESTORE_DEPTHS); + const ladder = key.restoreKeys; + + yield* Effect.logDebug(`Cache primary key: ${key.key}`); + yield* Effect.logDebug( + `Cache restore keys: ${ladder.length > 0 ? ladder.join(", ") : "(none — exact match only)"}`, + ); + yield* Effect.logDebug(`Cache paths (${paths.length}): ${paths.join(", ")}`); + yield* Effect.logDebug(`Lockfiles (${lockfiles.length}): ${lockfiles.join(", ") || "(none)"}`); + // Logged whether or not one is set: a run that restored nothing is exactly + // the run where "was a bust in play?" is the first question, and its absence + // has to be an answer rather than a missing line (oracle 28). + yield* Effect.logDebug(`Cache bust: ${Option.getOrElse(args.inputs.cacheBust, () => "(none)")}`); + + const restoredKey = yield* absorb( + cache.restore(paths, key), + "restore", + (cause) => `Failed to restore cache with key ${key.key} (${cause.reason}): ${cause.message}`, + Option.none<string>(), + ); + + yield* Effect.logInfo(cacheLine(restoredKey, key.key, lockfiles.length)); + yield* Effect.logDebug(`Cache matched key: ${Option.getOrElse(restoredKey, () => "(none)")}`); + + const restored = CacheState.make({ paths, primaryKey: key.key, restoredKey, lockfiles }); + yield* absorb( + state.save(STATE_KEYS.cache, restored, CacheState), + "state", + (cause) => `Cache state could not be saved (${cause.reason}); the post phase will not save this run's cache`, + undefined, + ); + return restored; + }); diff --git a/src/steps/setup-package-manager.ts b/src/steps/setup-package-manager.ts new file mode 100644 index 00000000..38c28f80 --- /dev/null +++ b/src/steps/setup-package-manager.ts @@ -0,0 +1,190 @@ +import type { ActionOutputError, PackageManagerInstallerError } from "@effected/github-actions"; +import { ActionLogger, ActionOutputs, PackageManagerInstaller } from "@effected/github-actions"; +import type { InvalidPackageManagerPinError } from "@effected/npm"; +import { PackageManagerPin } from "@effected/npm"; +import { Data, Effect, Option } from "effect"; + +import type { PackageManagerName, PackageManagerSpec } from "../schema/domain.js"; + +/** + * Raised when the `devEngines.packageManager` cannot be installed, published + * to `PATH`, or verified afterward. + */ +export class PackageManagerError extends Data.TaggedError("PackageManagerError")<{ + readonly reason: "install" | "activate" | "verify"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** + * Everything the install branch can fail with. + * + * @remarks + * Spelled out rather than inferred so {@link classify} is exhaustive over it: a + * new failure surfacing from either dependency becomes a type error here rather + * than a silent fall-through to `"install"`. + */ +type SetupFailure = InvalidPackageManagerPinError | PackageManagerInstallerError | ActionOutputError; + +/** + * Which stage a failure belongs to. + * + * @remarks + * All three literals stay in honest use. `activate` is the `addPath` failure — + * publishing the manager to `PATH` is what legacy's `corepack prepare + * --activate` did, and a manager that never reaches `PATH` is exactly what + * "not activated" means. `verify` is `layoutUnexpected` alone: the artifact + * downloaded, extracted and cached, and what failed is the check that its + * contents are the package manager the pin claims. Everything else — an + * unparseable pin, a download, an extraction, a cache write, an integrity + * mismatch, a platform with no build — happened while acquiring the manager, + * which is `install`. + */ +const classify = (error: SetupFailure): PackageManagerError["reason"] => { + if (error._tag === "ActionOutputError") return "activate"; + if (error._tag === "InvalidPackageManagerPinError") return "install"; + // Bound before the switch: narrowing `error` itself to `never` in the + // default branch would leave nothing to read the unhandled reason from. + const reason: PackageManagerInstallerError["reason"] = error.reason; + switch (reason) { + case "layoutUnexpected": + return "verify"; + case "downloadFailed": + case "extractFailed": + case "cacheFailed": + case "integrityMismatch": + case "integrityMissing": + case "unsupportedPlatform": + return "install"; + default: { + // Exhaustive by construction: a reason literal added upstream fails to + // assign to `never` here, so it is a compile error rather than a silent + // `install`. Unreachable at runtime — the throw is what an impossible + // state deserves. + const unhandled: never = reason; + throw new Error(`PackageManagerInstallerError carries an unhandled reason: ${String(unhandled)}`); + } + } +}; + +/** + * Provisions the pinned manager and publishes it to `PATH`. + * + * @remarks + * The pin string is assembled from `devEngines` and handed to + * `PackageManagerPin.parse`, which owns the `<name>@<version>[+<integrity>]` + * grammar. A `devEngines` version may carry an integrity tail + * (`10.20.0+sha512.…`), and the first `+` always begins integrity — so the + * split is the pin's to make, never this step's. + * + * `install` runs with default options. In particular `requireIntegrity` stays + * off: in-the-wild `devEngines` pins routinely carry no hash, and the installer + * already warns when one does not. Warnings are not buffered, so that notice + * reaches the log even on a green run. + */ +const provision = (spec: PackageManagerSpec) => + Effect.gen(function* () { + const installer = yield* PackageManagerInstaller; + const outputs = yield* ActionOutputs; + + const pin = yield* PackageManagerPin.parse(`${spec.name}@${spec.version}`); + const installed = yield* installer.install(pin); + yield* Effect.logDebug(`${spec.name} ${spec.version}: ${installed.source}`); + + // An `ambient` answer is already on `PATH` — it is what the probe found + // there — and carries no directory. A `tool-cache` answer does, and + // `PackageManagerInstaller` deliberately stops at the cache: putting a + // cached bin on `PATH` is `ActionOutputs.addPath` (dossier §A8). + // + // `source` is the union's discriminant, so this narrows to + // `CachedPackageManager` and `binDir` is required there — the impossible + // directoryless-tool-cache state an earlier round had to guard against is + // now unrepresentable. `binDir` rather than `directory` is the uniform + // `addPath` target: for npm/pnpm/yarn it is the entry's `.bin` directory of + // shims the installer writes, and for bun it *is* the entry directory. + if (installed.source === "tool-cache") { + yield* outputs.addPath(installed.binDir); + } + + return installed; + }).pipe( + // One collapse for every stage, so a caller sees a single error class with + // the manager and version in its message (legacy `errors.ts:47-59`). + Effect.catch((error: SetupFailure) => + Effect.fail( + new PackageManagerError({ + reason: classify(error), + message: `Failed to setup ${spec.name}@${spec.version}: ${error.message}`, + cause: error, + }), + ), + ), + ); + +/** + * The activated package manager: what `devEngines` asked for, plus where the + * command lives when it lives anywhere this action put it. + * + * @remarks + * `binDir` is `Some` only for a tool-cache install — the directory handed to + * `addPath`. It is `None` for an ambient manager (already on the runner's + * `PATH`) and for the bun/deno no-op (the runtime install owns that binary). + * The next step needs it because `addPath` writes `GITHUB_PATH` for *later* + * workflow steps and never touches this process's own `PATH`. + */ +export interface ActivatedPackageManager { + readonly name: PackageManagerName; + readonly version: string; + readonly binDir: Option.Option<string>; +} + +/** + * Installs and activates the `devEngines.packageManager` entry. + * + * @remarks + * `bun` and `deno` are their own package managers: naming either one here means + * the runtime install already put it on `PATH`, so this is a complete no-op + * with the legacy log line (oracle 18). Neither is probed, and neither is + * checked against the `devEngines` version. + * + * Everything else goes through `PackageManagerInstaller`, which replaces the + * whole corepack/sudo/shim apparatus v1 carried (rulings 20-27): no `sudo npm + * install -g`, no `~/.npm` chown, no tmpdir cwd, no Node-25 corepack bootstrap, + * no shim cleanup. The npm ambient short-circuit lives inside the installer. + * + * The reported name and version are a pure echo of the request — never the + * installed manager's own report — because the `package-manager` and + * `package-manager-version` outputs are what the caller asked for, not what a + * probe found (ruling 47). {@link ActivatedPackageManager.binDir} is the one + * field that is not an echo: it is where this run actually put the command, and + * it exists for the install step downstream rather than for any output. + * + * `R` is what the step actually touches. `ToolInstaller` and + * `ChildProcessSpawner` are gone from it: both were there for the corepack + * machinery rulings 20-27 dropped, and the tool cache is now the installer's + * business, behind its own layer. + */ +export const setupPackageManager = ( + spec: PackageManagerSpec, +): Effect.Effect< + ActivatedPackageManager, + PackageManagerError, + PackageManagerInstaller | ActionOutputs | ActionLogger +> => + Effect.gen(function* () { + const echo = { name: spec.name, version: spec.version }; + + if (spec.name === "bun" || spec.name === "deno") { + yield* Effect.logInfo(`${spec.name} is its own package manager, no additional setup needed`); + return { ...echo, binDir: Option.none() }; + } + + const logger = yield* ActionLogger; + // The transcript is held and discarded on success, so a green run is one + // step line. The installer's integrity notice is a warning, which + // `withBuffer` never holds — a pin with no hash still says so. + const installed = yield* logger.withBuffer(spec.name, provision(spec), { onSuccess: "discard" }); + yield* Effect.logInfo(`${spec.name}@${spec.version} activated`); + + return { ...echo, binDir: installed.source === "tool-cache" ? Option.some(installed.binDir) : Option.none() }; + }); diff --git a/src/steps/summary.ts b/src/steps/summary.ts new file mode 100644 index 00000000..ed904d98 --- /dev/null +++ b/src/steps/summary.ts @@ -0,0 +1,188 @@ +import { ActionLogger, ActionOutputs } from "@effected/github-actions"; +import { Data, Effect, Option } from "effect"; + +import type { OutputsModel } from "../schema/outputs.js"; +import type { CacheState } from "../state.js"; +import { buildRuntimeSummary } from "../summary/format.js"; +import type { InstalledRuntime } from "./install-runtimes.js"; +import type { StartedTurboCache } from "./turbo-cache.js"; + +/** + * Raised when the job summary panel cannot be rendered, or cannot be written. + * + * @remarks + * Shaped, then logged — never raised, on the same terms as `CacheError`: a + * summary is a report *about* a run that already happened, and failing the job + * over one would discard work that succeeded. + * + * Two reasons because the two failures call for different responses. `write` is + * the runner refusing `GITHUB_STEP_SUMMARY`, which is an environment problem + * and usually transient; `render` is this action's own markdown assembly + * throwing, which is a bug here. v1 covered only the write, so a render throw + * became a defect that took the job down after every install had succeeded + * (ruling 53). + */ +export class SummaryError extends Data.TaggedError("SummaryError")<{ + readonly reason: "render" | "write"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** + * Everything the summary reports, from the steps that learned it. + * + * @remarks + * A params object rather than the Phase A contract's lone `OutputsModel`, and + * that is a deliberate contract change (note 47): three of the panel's facts + * are simply not outputs. The published set carries the cache tristate but not + * the key it was computed from, a comma-joined lockfile string rather than the + * list, and nothing at all about whether the dependency install ran. + * + * Each field earns its place by carrying something `outputs` cannot: + * + * - `runtimes` — the installed list in `devEngines` declaration order. The + * outputs hold three fixed `{rt}Version` slots, which cannot express order. + * - `biome` — the *install* result. The outputs echo it, but taking it from + * here is what makes quirk 51 literal rather than inferred: the final line + * reports what was installed, not what was detected. + * - `biomeDetected` — the *detection* result, which no output carries at all + * once the install has failed and `biome-enabled` has gone to `false`. + * - `cache` — the whole restore. The outputs have the tristate, not the key or + * the resolved file list. + * - `turboCache` — the typed port. The output is `""` when nothing is + * listening, and parsing it back would be a round trip through a string. + * - `dependenciesInstalled` — `installDependencies`' truthful `ran`, which is + * not an output at all. v1 echoed the *input* here and so reported deno's + * skipped install as done (quirk 52). + * + * `outputs` stays for what it is authoritative about: the package manager and + * whether a `turbo.json` was detected. + */ +export interface SummaryFacts { + readonly outputs: OutputsModel; + /** What `installRuntimes` installed, in declaration order. */ + readonly runtimes: ReadonlyArray<InstalledRuntime>; + /** What `installBiome` installed, if anything. */ + readonly biome: Option.Option<{ readonly version: string; readonly path: string }>; + /** + * What `detectBiome` resolved, if anything. + * + * @remarks + * Carried *alongside* the install result rather than folded into it, because + * the final group's Biome line needs to tell the two `None`s apart: no + * `biome.jsonc` and no input at all, versus a version this run found and then + * failed to fetch. The panel needs no such distinction — its row reports what + * the run *has*, and both cases have nothing to name. + */ + readonly biomeDetected: Option.Option<string>; + /** What `restoreCache` restored, and the key and lockfiles it asked with. */ + readonly cache: CacheState; + /** What `startTurboCache` started. */ + readonly turboCache: StartedTurboCache; + /** Whether an install command actually ran and succeeded. */ + readonly dependenciesInstalled: boolean; +} + +/** + * What the closing group says about Biome, in three arms. + * + * @remarks + * The install result alone cannot distinguish the two ways it comes back + * `None`. A repository with no `biome.jsonc` and no `biome-version` input never + * asked for Biome; a repository that pinned one and hit a 404 asked and did not + * get it. Both are `None`, and calling them the same thing names the wrong step + * for one of them — which is exactly the defect ruling 36 fixed in the other + * direction, v1 having said `not installed` for a Biome nobody looked for. + * + * The **panel row stays omitted** in the failed-install case, deliberately: the + * table reports what this run *has*, and a failed install leaves it with no + * version to put in the cell. The log group is where the difference belongs, + * because the log is where someone goes to find out why. + */ +const biomeLine = (facts: SummaryFacts): string => { + if (Option.isSome(facts.biome)) return `v${facts.biome.value.version}`; + return Option.isSome(facts.biomeDetected) ? "detected, install failed" : "not detected"; +}; + +/** + * The closing log group: one line per tool, then the three facts that are not + * tools. + * + * @remarks + * v1 printed the *requested* runtime set on one `Runtime(s):` line and then + * repeated the same information tool by tool. Ruling 50 collapses the two and + * keeps the installed lines, which also makes the block uniform: every runtime + * and the package manager render as `name: version`, in one shape. + * + * `Biome:` is the one line carrying a `v` prefix. That is v1's, kept — the + * negative arms are not. v1 had one, `not installed`, and printed it for two + * different situations; ruling 36 renamed it to `not detected`, which fixed the + * common case and left the other one named wrong in the opposite direction. So + * there are three arms (see {@link biomeLine}). + */ +const finalGroup = (facts: SummaryFacts): Effect.Effect<void> => + Effect.gen(function* () { + for (const runtime of facts.runtimes) yield* Effect.logInfo(`${runtime.name}: ${runtime.version}`); + yield* Effect.logInfo(`${facts.outputs.packageManager}: ${facts.outputs.packageManagerVersion}`); + yield* Effect.logInfo(`Turbo: ${facts.outputs.turboEnabled ? "enabled" : "disabled"}`); + yield* Effect.logInfo(`Biome: ${biomeLine(facts)}`); + yield* Effect.logInfo(`Dependencies: ${facts.dependenciesInstalled ? "installed" : "skipped"}`); + }); + +/** + * Renders the job-summary panel and writes it, then closes the run with the + * `Runtime Setup Complete` group. + * + * @remarks + * Both halves live here so the ordering is not something `program.ts` has to + * remember (note 48): the panel is written first, the group logged after, and a + * reader of the workflow log sees the run end where it ended. + * + * **It cannot fail.** The declared {@link SummaryError} is the shape a failure + * takes before it is logged. The render arm degrades to a warning and skips the + * write — there is nothing to write — while the group still runs, because the + * facts it logs were already known before anything was rendered. + * + * The render goes through `Effect.try` rather than being called directly: + * `GitHubMarkdown` throws its serializer's failures as defects by design, and a + * defect escaping here is exactly the thing v1 could not survive. + */ +export const writeSummary = (facts: SummaryFacts): Effect.Effect<void, SummaryError, ActionOutputs | ActionLogger> => + Effect.gen(function* () { + const outputs = yield* ActionOutputs; + const logger = yield* ActionLogger; + + yield* Effect.try({ + try: () => + buildRuntimeSummary({ + runtimes: facts.runtimes, + packageManager: { name: facts.outputs.packageManager, version: facts.outputs.packageManagerVersion }, + biome: Option.map(facts.biome, (installed) => installed.version), + turbo: { backend: facts.turboCache.backend, port: facts.turboCache.port }, + cache: facts.cache, + dependenciesInstalled: facts.dependenciesInstalled, + }), + catch: (cause) => + new SummaryError({ + reason: "render", + message: `Failed to render job summary: ${cause instanceof Error ? cause.message : String(cause)}`, + cause, + }), + }).pipe( + Effect.flatMap((panel) => + outputs + .summary(panel) + .pipe( + Effect.mapError( + (cause) => + new SummaryError({ reason: "write", message: `Failed to write job summary: ${cause.message}`, cause }), + ), + ), + ), + // One arm for both reasons: each has already said which it is in its own + // prose, and the response to either is the same — say so and carry on. + Effect.catch((error) => Effect.logWarning(error.message)), + ); + + yield* logger.group("Runtime Setup Complete", finalGroup(facts)); + }); diff --git a/src/steps/turbo-cache.ts b/src/steps/turbo-cache.ts new file mode 100644 index 00000000..e5c556fe --- /dev/null +++ b/src/steps/turbo-cache.ts @@ -0,0 +1,419 @@ +import { randomUUID } from "node:crypto"; +import { tmpdir } from "node:os"; +import { dirname, join } from "node:path"; +import { fileURLToPath } from "node:url"; + +import type { ActionOutputError } from "@effected/github-actions"; +import { ActionOutputs, ActionState, DetachedProcess, Secret } from "@effected/github-actions"; +import type { Redacted } from "effect"; +import { Data, Effect, Option } from "effect"; + +import type { Inputs } from "../schema/inputs.js"; +import { STATE_KEYS, TurboServerState } from "../state.js"; +import { formatTurboLine } from "../summary/format.js"; +import type { TurboCacheResolution } from "../turbo-cache/activation.js"; +import { hasPartialPassthroughCredentials, resolveTurboCache } from "../turbo-cache/activation.js"; +import { DEFAULT_TURBO_SERVER_PORT, TURBO_SERVER_ENV } from "../turbo-cache/server-config.js"; + +/** + * Raised when the embedded turbo remote-cache server cannot be spawned, or is + * spawned and never becomes ready. + * + * @remarks + * Shaped, then logged — never raised. The turbo remote cache is an + * optimization layered on a build that works without it, so every failure here + * degrades to a cacheless run (oracle 42). The two reasons exist so a log grep + * can tell them apart: `spawn` is a child that never started, and `readiness` + * is a child that started and never answered. + * + * A third literal, `backend`, was declared for "a configuration that names no + * reachable store" and never got a producer — the activation table resolves + * every input combination to one of its four rows, so there is no such state to + * raise from (ruling 43). It is dropped rather than left as a reason a + * `catchTag` would have to handle and never see; re-adding it later is additive. + */ +export class TurboCacheError extends Data.TaggedError("TurboCacheError")<{ + readonly reason: "spawn" | "readiness"; + readonly message: string; + readonly cause?: unknown; +}> {} + +/** + * The two `DetachedProcess` operations the `main` phase performs, as an + * injectable seam. + * + * @remarks + * `DetachedProcess`' members are **statics on a class**, not a service, so + * there is no layer to swap and no `R` position to inject through. That is the + * right shape for the kit — a detached child has no scope to hang a service off + * — but it leaves this step with two operations a unit test must not perform + * for real: `spawn` starts a node process that outlives the test run, and + * `awaitReady` polls a port for six seconds before giving up. + * + * The seam is therefore a **defaulted field on the params object**, matching + * `installRuntimes`' `host` and `installDependencies`' `platform`: no caller + * passes it, the production path is the kit's own statics, and `R` is + * unchanged — which is the point. A service wrapper would have put a + * repository-local service into every consumer's layer composition and into + * `PostLive` as well, to make two functions overridable. + * + * `reap` is absent because it belongs to the *other* phase; `post.ts` carries + * its own seam for the same reason. + */ +export interface DetachedProcessOps { + readonly spawn: typeof DetachedProcess.spawn; + readonly awaitReady: typeof DetachedProcess.awaitReady; +} + +/** Everything {@link startTurboCache} decides from. */ +export interface StartTurboCacheArgs { + readonly inputs: Inputs; + /** Whether `turbo.json` was detected — rule R1's first half. */ + readonly turbo: { readonly enabled: boolean }; + /** The detached-process operations, defaulting to the kit's. See {@link DetachedProcessOps}. */ + readonly detached?: DetachedProcessOps; + /** The server bundle to run, defaulting to the sibling of this bundle. See {@link defaultServerEntry}. */ + readonly serverEntry?: string; + /** + * The port to spawn the server on, defaulting to + * {@link DEFAULT_TURBO_SERVER_PORT}. + * + * @remarks + * A test seam like the two above, and one this repository's own CI makes + * necessary: the job that runs the unit suite is set up by *this very + * action*, so a real cache server already holds the default port. A test + * that needs to stand a listener on the step's port must be able to point + * the step somewhere it owns. + */ + readonly port?: number; +} + +/** What the `main` phase learned about the turbo remote cache. */ +export interface StartedTurboCache { + /** The `turbo-cache-backend` output's value (oracle 40's vocabulary). */ + readonly backend: "github" | "s3" | "remote" | "none"; + /** The port the embedded server bound, when one was started *and* answered. */ + readonly port: Option.Option<number>; + /** + * What was persisted for the post phase to reap. + * + * @remarks + * Present whenever a child was spawned — **including when it never became + * ready**. `backend` and `port` report what turbo can use; this reports what + * `post` has to clean up, and the degraded case is exactly the one where the + * two answers differ (oracle 34, 39 row 4). + */ + readonly state: Option.Option<TurboServerState>; +} + +/** No server, no environment, nothing for `post` to do. */ +const DISABLED: StartedTurboCache = { backend: "none", port: Option.none(), state: Option.none() }; + +/** + * Where the detached server writes its stdout and stderr. + * + * @remarks + * Derived from the port rather than randomized (oracle 27), so three separate + * places name the same file without passing it between them: the spawn, the + * failed-readiness error, and `post`'s teardown debug line. A run whose server + * misbehaved is diagnosed by reading it. + */ +export const serverLogPath = (port: number): string => join(tmpdir(), `turbogha-${port}.log`); + +/** + * The server bundle, resolved as a sibling of the bundle this code is in. + * + * @remarks + * The build emits `dist/main.js` and `dist/turbo-server.js` side by side, and + * this module is bundled into the former — so `import.meta.url` is the main + * bundle and its directory holds the worker (oracle 43). The value is + * meaningful *only* in the built artifact: run from source, it points at a + * `turbo-server.js` beside `src/steps/`, which is why every test supplies + * {@link StartTurboCacheArgs.serverEntry} instead of exercising this. + */ +export const defaultServerEntry = (): string => join(dirname(fileURLToPath(import.meta.url)), "turbo-server.js"); + +/** Turbo's status route, which the embedded server answers without auth (ruling 73). */ +const STATUS_PATH = "/v8/artifacts/status"; + +/** + * Whether the embedded server is answering on `port` yet. + * + * @remarks + * **False rather than failed on a refused connection** (ruling 63). The kit's + * `awaitReady` propagates probe *failures* — a probe that cannot run is a + * different situation from a child that is not up yet, and retrying the first + * for six seconds hides a misconfiguration behind a timeout. But a connection + * refused by a server that has not finished binding is precisely "not up yet", + * so it has to arrive as `false`; the same is true of a non-2xx answer, which + * is a server that is listening but not serving. + * + * That leaves the error channel `never`, and the only failure `awaitReady` can + * then produce is its own exhaustion — which the caller degrades on. + */ +export const readinessProbe = (port: number): Effect.Effect<boolean> => + Effect.tryPromise(() => fetch(`http://127.0.0.1:${port}${STATUS_PATH}`).then((response) => response.ok)).pipe( + Effect.catch(() => Effect.succeed(false)), + ); + +/** + * Registers every secret this run was handed with the runner's log filter. + * + * @remarks + * Unconditional, and *before* the activation table runs (oracle 7): a secret a + * workflow supplied is a secret worth redacting whether or not the resolution + * ends up using it. A run that sets `turbo-s3-secret-access-key` alongside + * passthrough credentials resolves to Vercel and never touches S3 — and would, + * without this, carry an unmasked key through a job that logs its environment. + * + * `turbo-s3-access-key-id` is masked too, which v1 did not do (ruling 78). It + * is the least sensitive of the four and pairing it with the secret it + * authenticates alongside costs nothing. + * + * The two `Redacted` values go through `Secret.forSigning` rather than + * `Redacted.value`: declassification is the kit's seam and masking is what it + * does first, so this call *is* the mask — the returned plaintext is + * deliberately discarded. + */ +const maskSuppliedSecrets = (inputs: Inputs) => + Effect.gen(function* () { + const outputs = yield* ActionOutputs; + for (const redacted of [inputs.turboToken, inputs.turboS3SecretAccessKey, inputs.turboS3SessionToken]) { + if (Option.isSome(redacted)) yield* Secret.forSigning(redacted.value); + } + if (Option.isSome(inputs.turboS3AccessKeyId)) yield* outputs.setSecret(inputs.turboS3AccessKeyId.value); + }); + +/** `{ [name]: value }` when the option holds one, and nothing when it does not. */ +const whenSome = (name: string, value: Option.Option<string>): Record<string, string> => + Option.match(value, { onNone: () => ({}), onSome: (present) => ({ [name]: present }) }); + +/** + * The environment the detached server is configured through. + * + * @remarks + * Environment and nothing else (oracle 28-30) — the names come from + * `TURBO_SERVER_ENV`, which the worker parses with, so the two halves of the + * handoff cannot drift. `DetachedProcess.spawn` merges this **over** the + * parent's environment, which is what carries `ACTIONS_RUNTIME_TOKEN` through + * to the GitHub backend without this step ever reading it. + * + * Absent optional settings are omitted rather than written empty. The worker + * reads unset and empty as the same case, and an omitted variable is the + * clearer thing to find in a process listing. + * + * The two S3 secrets travel through `Secret.forChildEnv`, which masks the whole + * set before returning any plaintext — the one sanctioned way a `Redacted` + * becomes a child's environment variable (oracle 67). + */ +const spawnEnvironment = ( + resolution: Extract<TurboCacheResolution, { mode: "embedded" }>, + options: { readonly port: number; readonly prefix: string; readonly token: string }, +): Effect.Effect<Record<string, string>, never, ActionOutputs> => + Effect.gen(function* () { + const base: Record<string, string> = { + [TURBO_SERVER_ENV.port]: String(options.port), + [TURBO_SERVER_ENV.prefix]: options.prefix, + [TURBO_SERVER_ENV.token]: options.token, + [TURBO_SERVER_ENV.backend]: resolution.backend, + }; + if (resolution.backend !== "s3") return base; + + const { s3 } = resolution; + const secrets: Record<string, Redacted.Redacted<string>> = { + ...(Option.isSome(s3.secretAccessKey) ? { [TURBO_SERVER_ENV.s3SecretAccessKey]: s3.secretAccessKey.value } : {}), + ...(Option.isSome(s3.sessionToken) ? { [TURBO_SERVER_ENV.s3SessionToken]: s3.sessionToken.value } : {}), + }; + return { + ...base, + [TURBO_SERVER_ENV.s3Bucket]: s3.bucket, + ...whenSome(TURBO_SERVER_ENV.s3Region, s3.region), + ...whenSome(TURBO_SERVER_ENV.s3Endpoint, s3.endpoint), + ...whenSome(TURBO_SERVER_ENV.s3AccessKeyId, s3.accessKeyId), + ...whenSome(TURBO_SERVER_ENV.s3Prefix, s3.prefix), + ...(yield* Secret.forChildEnv(secrets)), + }; + }); + +/** + * Starts and wires the embedded server for an `embedded` resolution. + * + * @remarks + * The order is the contract. The state is persisted **between** the spawn and + * the readiness wait (oracle 34), so a child that hangs half-started is still + * reapable by `post` — the window where a leaked process would survive the job + * is the width of one `ActionState.save` rather than of the whole six-second + * readiness budget. + * + * The credential is a fresh `randomUUID` per run (ruling 76), replacing v1's + * constant compiled into the source. It is the server's `expectedToken` and the + * `TURBO_TOKEN` turbo authenticates with, so both sides come from this one + * value and a leaked build no longer discloses every runner's cache + * credential. + * + * A server that never answers is an error line naming the pid, the address and + * the log file, and a run that continues without a remote cache (oracle 39 row + * 4, 41). Nothing is exported in that case: a `TURBO_API` pointing at a dead + * port would turn every later cache operation into a connection error. + */ +const startEmbeddedServer = ( + resolution: Extract<TurboCacheResolution, { mode: "embedded" }>, + args: StartTurboCacheArgs, +): Effect.Effect<StartedTurboCache, TurboCacheError | ActionOutputError, ActionOutputs | ActionState> => + Effect.gen(function* () { + const outputs = yield* ActionOutputs; + const detached = args.detached ?? DetachedProcess; + const port = args.port ?? DEFAULT_TURBO_SERVER_PORT; + const logFile = serverLogPath(port); + const credential = randomUUID(); + const environment = yield* spawnEnvironment(resolution, { + port, + prefix: args.inputs.turboCachePrefix, + token: credential, + }); + + const pid = yield* detached + .spawn({ + command: process.execPath, + args: [args.serverEntry ?? defaultServerEntry()], + logFile, + env: environment, + }) + .pipe( + Effect.catch((cause) => + Effect.fail( + new TurboCacheError({ + reason: "spawn", + message: `Turbo cache server could not be started (${cause.reason}): ${cause.message}`, + cause, + }), + ), + ), + ); + + const saved = TurboServerState.make({ pid, port, backend: resolution.backend, logFile }); + yield* (yield* ActionState).save(STATE_KEYS.turboServer, saved, TurboServerState).pipe( + Effect.catch((cause) => + Effect.logWarning( + new TurboCacheError({ + reason: "spawn", + message: `Turbo cache server state could not be saved (${cause.reason}); pid ${pid} will not be reaped by the post phase`, + cause, + }).message, + ), + ), + ); + yield* Effect.logDebug(`Turbo cache server started: pid=${pid}, backend=${resolution.backend}, log=${logFile}`); + + const ready = yield* detached.awaitReady(readinessProbe(port)).pipe( + Effect.as(true), + Effect.catch((cause) => + Effect.logError( + new TurboCacheError({ + reason: "readiness", + message: + `Turbo cache server (pid=${pid}) did not become ready on 127.0.0.1:${port}; ` + + `continuing WITHOUT a remote cache. See ${logFile} for server output.`, + cause, + }).message, + ).pipe(Effect.as(false)), + ), + ); + if (!ready) { + const degraded: StartedTurboCache = { backend: "none", port: Option.none(), state: Option.some(saved) }; + return degraded; + } + + yield* outputs.exportVariable("TURBO_API", `http://127.0.0.1:${port}`); + yield* outputs.exportVariable("TURBO_TOKEN", credential); + yield* outputs.exportVariable("TURBO_TEAM", credential); + // The step's own line, in the same words the job summary's row uses — one + // formatter renders both, so the log and the panel cannot disagree about + // what the cache ended up being (oracle 30). + yield* Effect.logInfo(formatTurboLine(resolution.backend, Option.some(port))); + const started: StartedTurboCache = { + backend: resolution.backend, + port: Option.some(port), + state: Option.some(saved), + }; + return started; + }); + +/** + * Resolves the turbo remote cache strategy and applies it: masks what was + * supplied, exports what turbo reads, and starts the embedded server when the + * table selects one. + * + * @remarks + * Runs **last** in the pipeline, and deliberately so: nothing earlier consumes + * the turbo environment, and starting the server here rather than before the + * cache restore shortens the window in which the runner's short-lived + * `ACTIONS_RUNTIME_TOKEN` is held by a detached child (a ruled deviation from + * v1, which started it first). + * + * **It cannot fail.** The declared `TurboCacheError` is the shape a failure + * takes before it is logged, not something a caller handles: the typed channel + * and defects are both caught here and answered with {@link DISABLED}, which is + * the inner half of the double catch v1 relied on (oracle 42). A cache that + * would not start is not a reason to fail a build that never needed it. + * + * The four resolutions map exactly as v1's did (oracle 39): + * + * | resolution | environment exported | backend | port | + * | --- | --- | --- | --- | + * | off | none | `none` | absent | + * | passthrough | `TURBO_TOKEN`, `TURBO_TEAM` | `remote` | absent | + * | embedded, ready | `TURBO_API`, `TURBO_TOKEN`, `TURBO_TEAM` | `github`/`s3` | bound | + * | embedded, not ready | none | `none` | absent | + * + * Passthrough exports no `TURBO_API` on purpose — turbo's own default is + * Vercel's endpoint, and naming it here would pin a URL this action does not + * own. The `passthrough` → `remote` rename happens at this boundary because + * `remote` is the *output* vocabulary (`action.yml`'s enum) and the activation + * table names what was decided, not what is reported. + */ +export const startTurboCache = ( + args: StartTurboCacheArgs, +): Effect.Effect<StartedTurboCache, TurboCacheError, ActionState | ActionOutputs> => + Effect.gen(function* () { + const outputs = yield* ActionOutputs; + yield* maskSuppliedSecrets(args.inputs); + + const resolution = resolveTurboCache({ turboDetected: args.turbo.enabled, inputs: args.inputs }); + if (resolution.mode === "off") { + yield* Effect.logDebug("Turbo remote cache is off"); + return DISABLED; + } + // Ruling 77, and it fires *here* rather than before the table because this + // is where its text is true. v1 said nothing at all when a workflow set one + // credential, and the run silently started an embedded server instead of + // talking to Vercel — indistinguishable in the log from a workflow that + // configured no passthrough at all. Partial credentials cannot reach the + // passthrough branch (rule R2 needs both), so past the `off` return the only + // thing left to fall through to is the embedded server, and the warning can + // say so. + if (hasPartialPassthroughCredentials(args.inputs)) { + yield* Effect.logWarning( + "Both turbo-token and turbo-team are required for an external remote cache; " + + "only one was supplied, so the embedded cache server is being used instead.", + ); + } + if (resolution.mode === "passthrough") { + yield* outputs.exportVariable("TURBO_TOKEN", yield* Secret.forRunnerFile(resolution.token)); + yield* outputs.exportVariable("TURBO_TEAM", resolution.team); + yield* Effect.logDebug(`Turbo remote cache: passthrough to team ${resolution.team}`); + yield* Effect.logInfo(formatTurboLine("remote", Option.none())); + const passthrough: StartedTurboCache = { backend: "remote", port: Option.none(), state: Option.none() }; + return passthrough; + } + return yield* startEmbeddedServer(resolution, args); + }).pipe( + Effect.catch((error) => Effect.logWarning(`Turbo cache setup error: ${error.message}`).pipe(Effect.as(DISABLED))), + // Defense in depth, matching post's posture: a defect anywhere in the spawn + // path must not fail a job whose build does not depend on the cache. + Effect.catchDefect((defect) => + Effect.logWarning(`Turbo cache setup defect: ${defect instanceof Error ? defect.message : String(defect)}`).pipe( + Effect.as(DISABLED), + ), + ), + ); diff --git a/src/summary/format.ts b/src/summary/format.ts new file mode 100644 index 00000000..b3a84379 --- /dev/null +++ b/src/summary/format.ts @@ -0,0 +1,161 @@ +/** + * Every string this action renders about what it set up: the one-line step + * summaries and the job-summary panel. + * + * @remarks + * Pure and service-free on purpose. The prose is the parity surface — a + * consumer's workflow log and job summary are what change when it drifts — so + * it lives in one module that a test can pin verbatim, rather than being + * inlined at the six call sites that emit it. + * + * Two separator conventions live here side by side, and both are deliberate + * (ruling 54): the detect line and the panel join a name to its version with a + * **space**, while the final log group and the `Detected …` info lines use + * `@`. They are not harmonized because each is v1's, and the two are read in + * different places — one by a human skimming a summary, the other by anyone + * grepping a log for `node@`. + * + * @module summary/format + */ + +import { GitHubMarkdown } from "@effected/github-actions"; +import { Option } from "effect"; + +import type { OutputsModel } from "../schema/outputs.js"; +import type { CacheState } from "../state.js"; +import { isExactHit } from "../state.js"; + +/** A name/version pair, however it was learned. */ +export interface NamedVersion { + readonly name: string; + readonly version: string; +} + +/** The `turbo-cache-backend` vocabulary, borrowed from the output it publishes. */ +export type TurboCacheBackend = OutputsModel["turboCacheBackend"]; + +/** What the detect line reports. */ +export interface DetectFacts { + readonly runtimes: ReadonlyArray<NamedVersion>; + readonly packageManager: NamedVersion; + /** The resolved Biome version, when one was detected. */ + readonly biome: Option.Option<string>; + /** Whether a `turbo.json` was found. */ + readonly turbo: boolean; +} + +/** What the job-summary panel renders. */ +export interface RuntimeSummaryFacts { + readonly runtimes: ReadonlyArray<NamedVersion>; + readonly packageManager: NamedVersion; + /** The installed Biome version, when one was installed. */ + readonly biome: Option.Option<string>; + readonly turbo: { readonly backend: TurboCacheBackend; readonly port: Option.Option<number> }; + /** + * The restore, whole. + * + * @remarks + * One field rather than v1's three (`cacheHit`, `cacheKey`, `lockfiles`): + * the panel derives all three from it, and passing the state means the + * tristate is computed by {@link isExactHit} — the same comparison the + * `cache-hit` output and the post phase turn on — instead of being restated + * as a third enum that could disagree with them. + */ + readonly cache: CacheState; + readonly dependenciesInstalled: boolean; +} + +/** The separator both joined lines use — a middle dot, U+00B7, not a hyphen or a bullet. */ +const DOT = " · "; + +/** + * What the turbo remote cache ended up being, in one phrase. + * + * @remarks + * Shared by the step line and the panel row so the log and the summary cannot + * disagree. The port is an `Option<number>` rather than the `turbo-cache-port` + * output's string (note 45): that output is `""` when no server is listening, + * and parsing it back would turn a typed absence into a string comparison. + * + * `remote` says "passthrough (Vercel)" rather than naming a port because there + * is no local server — the run talks to Vercel's endpoint, which this action + * does not own and does not name. + */ +export const formatTurboLine = (backend: TurboCacheBackend, port: Option.Option<number>): string => { + if (backend === "none") return "disabled"; + if (backend === "remote") return "passthrough (Vercel)"; + return `${backend}${DOT}server ready${Option.match(port, { onNone: () => "", onSome: (bound) => ` (:${bound})` })}`; +}; + +/** + * Everything this run detected, on one line. + * + * @remarks + * The headline a reader skims instead of expanding four collapsed groups. + * `biome` is lowercase here and `Biome` in the panel's row label — v1's split, + * kept verbatim (ruling 55) — and turbo appears as a bare word because + * detection learns that it is configured, not which version. + */ +export const formatDetectLine = (facts: DetectFacts): string => { + const parts = [ + ...facts.runtimes.map((runtime) => `${runtime.name} ${runtime.version}`), + `${facts.packageManager.name} ${facts.packageManager.version}`, + ]; + if (Option.isSome(facts.biome)) parts.push(`biome ${facts.biome.value}`); + if (facts.turbo) parts.push("turbo"); + return parts.join(DOT); +}; + +/** + * The dependency cache's outcome as a panel cell. + * + * @remarks + * Derived from the state rather than from the `cache-hit` output's literals + * (note 46), for the same reason `restore-cache`'s `cacheLine` is: there is one + * definition of "exact", and it is {@link isExactHit}. + */ +export const cacheCell = (cache: CacheState): string => { + if (Option.isNone(cache.restoredKey)) return "⬜ miss"; + return isExactHit(cache) ? "✅ exact hit" : "♻️ partial hit"; +}; + +/** + * The job-summary panel: a heading, a table of what was set up, and a + * collapsed block naming the cache key and the lockfiles it was hashed from. + * + * @remarks + * Three fragments joined by a blank line, exactly as v1 assembled them. + * Structure goes through `GitHubMarkdown` rather than string joining so a cell + * carrying a pipe — a lockfile pattern, say — escapes rather than shifting + * every column after it. + * + * The Biome row is **omitted** when nothing was installed rather than rendered + * empty: a table row saying nothing costs a reader a glance, and the + * `Dependencies` row already covers "this run did less than you expected". + * The lockfiles detail item is the opposite case and is unconditional — a miss + * with no lockfiles at all is a different problem from a miss with three, so + * `Lockfiles: none` has to be said out loud. + */ +export const buildRuntimeSummary = (facts: RuntimeSummaryFacts): string => { + const rows: Array<ReadonlyArray<string>> = [ + ["Runtime(s)", facts.runtimes.map((runtime) => `${runtime.name} ${runtime.version}`).join(", ")], + ["Package manager", `${facts.packageManager.name} ${facts.packageManager.version}`], + ]; + if (Option.isSome(facts.biome)) rows.push(["Biome", facts.biome.value]); + rows.push(["Turbo cache", formatTurboLine(facts.turbo.backend, facts.turbo.port)]); + rows.push(["Dependency cache", cacheCell(facts.cache)]); + rows.push(["Dependencies", facts.dependenciesInstalled ? "installed" : "skipped"]); + + const details = [ + ...(facts.cache.primaryKey === "" ? [] : [`Cache key: ${GitHubMarkdown.code(facts.cache.primaryKey)}`]), + facts.cache.lockfiles.length === 0 + ? "Lockfiles: none" + : `Lockfiles: ${facts.cache.lockfiles.map((lockfile) => GitHubMarkdown.code(lockfile)).join(", ")}`, + ]; + + return [ + GitHubMarkdown.heading("🚀 Runtime Setup", 2), + GitHubMarkdown.table(["Component", "Detail"], rows), + GitHubMarkdown.details("Cache details", GitHubMarkdown.list(details)), + ].join("\n\n"); +}; diff --git a/src/turbo-cache/activation.ts b/src/turbo-cache/activation.ts new file mode 100644 index 00000000..fa31302c --- /dev/null +++ b/src/turbo-cache/activation.ts @@ -0,0 +1,108 @@ +import type { Redacted } from "effect"; +import { Option } from "effect"; + +import type { Inputs } from "../schema/inputs.js"; + +/** + * The S3 settings an embedded S3 backend is started with. + * + * @remarks + * `bucket` is a bare string because rule R3 is what produced this value — an + * S3 resolution exists only when a bucket is set, so an `Option` here would be + * a `None` no branch can reach. Everything else stays optional, and the two + * secrets stay `Redacted`: they travel from here into the detached server's + * environment, and `Secret.forChildEnv` is what unwraps them (oracle 67). + */ +export interface TurboS3Settings { + readonly bucket: string; + readonly region: Option.Option<string>; + readonly endpoint: Option.Option<string>; + readonly accessKeyId: Option.Option<string>; + readonly secretAccessKey: Option.Option<Redacted.Redacted<string>>; + readonly sessionToken: Option.Option<Redacted.Redacted<string>>; + readonly prefix: Option.Option<string>; +} + +/** + * The resolved turbo cache strategy: the four shapes of oracle 2. + * + * @remarks + * `"remote"` is deliberately absent. It is the *output* vocabulary for + * `passthrough` (oracle 40, `action.yml`'s `turbo-cache-backend` enum) and the + * rename happens where the outputs are written, not here — this type is what + * the action decides, not what it reports. + */ +export type TurboCacheResolution = + | { readonly mode: "off" } + | { readonly mode: "passthrough"; readonly token: Redacted.Redacted<string>; readonly team: string } + | { readonly mode: "embedded"; readonly backend: "github" } + | { readonly mode: "embedded"; readonly backend: "s3"; readonly s3: TurboS3Settings }; + +/** + * Resolves which turbo remote cache — if any — this run should use. + * + * @remarks + * Four sequential first-match rules, verbatim from v1 (oracle 3): + * + * 1. turbo undetected, or `turbo-cache: off` → **off**. + * 2. `turbo-token` **and** `turbo-team` → **passthrough** to Vercel. + * 3. `turbo-s3-bucket` → **embedded**, S3 backend. + * 4. otherwise → **embedded**, GitHub Actions cache backend. + * + * Order is the behavior: passthrough beats S3 when both are configured (rule 2 + * precedes rule 3), and rule 3 probes the **bucket alone** — S3 credentials + * without a bucket resolve to the GitHub backend rather than to a + * misconfigured S3 one. + * + * Where v1 read empty strings, this reads `Option.none()`: `ActionInput`'s + * absence contract makes an unsupplied input and an empty one the same case, + * so `Option.isSome` is exactly v1's `!== ""` and the table needs no + * empty-string handling of its own. + * + * Partial passthrough credentials — one of token/team — fall through silently + * (quirk 77). The fallthrough is kept; the ruling adds a *warning*, which + * belongs to the caller that has a logger. See + * {@link hasPartialPassthroughCredentials}. + * + * Pure: no services, no IO, no logging. Everything downstream of a resolution + * — spawning, env, outputs — is the step's. + */ +export const resolveTurboCache = (args: { + readonly turboDetected: boolean; + readonly inputs: Inputs; +}): TurboCacheResolution => { + const { turboDetected, inputs } = args; + if (!turboDetected || inputs.turboCache === "off") return { mode: "off" }; + if (Option.isSome(inputs.turboToken) && Option.isSome(inputs.turboTeam)) { + return { mode: "passthrough", token: inputs.turboToken.value, team: inputs.turboTeam.value }; + } + if (Option.isSome(inputs.turboS3Bucket)) { + return { + mode: "embedded", + backend: "s3", + s3: { + bucket: inputs.turboS3Bucket.value, + region: inputs.turboS3Region, + endpoint: inputs.turboS3Endpoint, + accessKeyId: inputs.turboS3AccessKeyId, + secretAccessKey: inputs.turboS3SecretAccessKey, + sessionToken: inputs.turboS3SessionToken, + prefix: inputs.turboS3Prefix, + }, + }; + } + return { mode: "embedded", backend: "github" }; +}; + +/** + * Whether exactly one of `turbo-token` / `turbo-team` was supplied. + * + * @remarks + * Ruling 77's seam. Passthrough needs both, and v1 said nothing at all when a + * workflow set one — the run silently started an embedded server instead of + * talking to Vercel, which looks identical in the log to a workflow that + * configured no passthrough. This predicate is pure so the table stays pure; + * the step calls it and logs the warning. + */ +export const hasPartialPassthroughCredentials = (inputs: Inputs): boolean => + Option.isSome(inputs.turboToken) !== Option.isSome(inputs.turboTeam); diff --git a/src/turbo-cache/handler.ts b/src/turbo-cache/handler.ts new file mode 100644 index 00000000..3c28243d --- /dev/null +++ b/src/turbo-cache/handler.ts @@ -0,0 +1,210 @@ +import type { BlobEnvelopeError, BlobStoreError } from "@effected/github-actions"; +import { BlobStore } from "@effected/github-actions"; +import { Effect, Option } from "effect"; + +import { TurboArtifactMeta, clampDurationMs } from "./meta.js"; + +/** A normalized inbound request to the turbo cache server. */ +export interface TurboRequest { + readonly method: string; + readonly path: string; + readonly authorization: string | undefined; + readonly artifactTag: string | undefined; + /** Turbo's `x-artifact-duration` (artifact generation time in ms). */ + readonly artifactDuration: number; + readonly body: Uint8Array; +} + +/** A response to write back. */ +export interface TurboResponse { + readonly status: number; + readonly headers: Record<string, string>; + readonly body?: Uint8Array; +} + +/** How the handler is configured for the life of a server. */ +export interface TurboHandlerOptions { + /** Key namespace, so one backend can hold several caches. */ + readonly prefix: string; + /** + * The bearer token every authenticated route requires. **Empty disables + * authentication** — see {@link makeTurboHandler}. + */ + readonly expectedToken: string; + /** + * Called with a store failure on its way to becoming a 500. + * + * @remarks + * Ruling 70's seam. The GitHub backend captures `ACTIONS_RUNTIME_TOKEN` when + * the server starts, and on a long job that token can expire before the last + * cache write — which surfaces as a `refused` with a 401 and, without this, + * as nothing but a silent 500 in turbo's own output. The handler has no + * logger and does not know which backend it is over, so it hands the typed + * failure to the worker, which does. + * + * An unreadable envelope never arrives here: that is a miss (see the GET + * route), not a backend problem, and reporting it would make the worker's + * warning fire on a stale cache entry. + */ + readonly onStoreFailure?: (error: BlobStoreError | BlobEnvelopeError) => void; +} + +/** The readiness probe, and the one route that is never authenticated. */ +const STATUS_PATH = "/v8/artifacts/status"; + +/** Turbo's telemetry sink, which this server accepts and discards. */ +const EVENTS_PATH = "/v8/artifacts/events"; + +/** Everything after this is the artifact hash. */ +const ARTIFACT_PATH = "/v8/artifacts/"; + +const NOT_FOUND: TurboResponse = { status: 404, headers: {} }; + +const json = (status: number, value: unknown): TurboResponse => ({ + status, + headers: { "content-type": "application/json" }, + body: new TextEncoder().encode(JSON.stringify(value)), +}); + +/** + * The path with turbo's query string removed. + * + * @remarks + * Every request carries `?teamId=…&slug=…` (oracle 17); routing is on the path + * alone and no route reads a parameter. + */ +const pathnameOf = (path: string): string => { + const query = path.indexOf("?"); + return query === -1 ? path : path.slice(0, query); +}; + +/** + * The artifact hash a path names, or `null` when it names something else. + * + * @remarks + * v1's `^\/v8\/artifacts\/([^/]+)$` spelled out: the segment must be present + * and must not contain a separator, so `/v8/artifacts/` and + * `/v8/artifacts/a/b` are both unroutable. + */ +const artifactHash = (pathname: string): string | null => { + if (!pathname.startsWith(ARTIFACT_PATH)) return null; + const hash = pathname.slice(ARTIFACT_PATH.length); + // `.` and `..` are unroutable alongside the separator: a hash is a digest, + // and a relative segment would otherwise reach the backend key as + // `<prefix>/..`. + return hash === "" || hash === "." || hash === ".." || hash.includes("/") ? null : hash; +}; + +/** + * Whether a request carries the expected bearer token. + * + * @remarks + * The prefix is optional and case-insensitive, matching v1's + * `replace(/^Bearer\s+/i, "")` — a client that sends the bare token is + * accepted. An empty `expectedToken` authorizes everything (quirk 72). + */ +const authorized = (req: TurboRequest, expectedToken: string): boolean => + expectedToken === "" || req.authorization?.replace(/^Bearer\s+/i, "") === expectedToken; + +/** + * The key an artifact is stored under. + * + * @remarks + * Ruling 79 normalizes the separator v1 left out: v1 concatenated the prefix + * onto the hash, so prefix `p` wrote `phash…` and two namespaces whose prefixes + * were substrings of one another shared entries. A prefix that already ends in + * `/` is left alone. + * + * There is no `v2/` version segment any more — the envelope carries the format + * version in-band (oracle 65), so keys stay stable across format changes and a + * blob written by an older layout reads back as a typed decode failure rather + * than as a mis-sliced artifact. + */ +const artifactKey = (prefix: string, hash: string): string => + prefix === "" || prefix.endsWith("/") ? `${prefix}${hash}` : `${prefix}/${hash}`; + +/** + * Builds a handler implementing Turbo's remote-cache contract over a + * `BlobStore`. + * + * @remarks + * Routes, in order (oracle 18), with ruling 73's one change: + * + * | path | methods | answer | + * | --- | --- | --- | + * | `/v8/artifacts/status` | any | `200 {"status":"enabled"}`, **open** | + * | `/v8/artifacts/events` | any | `200 []`, authenticated | + * | `/v8/artifacts/:hash` | `PUT` | `202` | + * | | `HEAD` | `200` / `404` | + * | | `GET` | `200` + body / `404` | + * | | other | `405` | + * | anything else | any | `404` | + * + * `/status` stays open because it is the readiness probe the spawning action + * polls before it has anything to authenticate with; `/events` is turbo-client + * traffic and is authed, where v1 left it open. Authentication happens **after** + * the route match, so an unroutable path is a 404 rather than a 401 — v1's + * order, kept because it tells a misconfigured client which of the two things + * is wrong. + * + * A GET answers 404 for a miss **and** for a blob whose envelope will not + * decode into {@link TurboArtifactMeta} — a pre-envelope blob, a newer + * revision, a truncated frame. Corrupt is a miss (ruling 65): turbo rebuilds, + * where a decoded-anyway artifact would be served as if it were real. Every + * other failure collapses to a bare 500 (oracle 25), because there is nothing + * turbo does with a message. + */ +export const makeTurboHandler = + (opts: TurboHandlerOptions) => + (req: TurboRequest): Effect.Effect<TurboResponse, never, BlobStore> => + Effect.gen(function* () { + const pathname = pathnameOf(req.path); + if (pathname === STATUS_PATH) return json(200, { status: "enabled" }); + + const unauthorized: TurboResponse = { status: 401, headers: {} }; + if (pathname === EVENTS_PATH) { + return authorized(req, opts.expectedToken) ? json(200, []) : unauthorized; + } + + const hash = artifactHash(pathname); + if (hash === null) return NOT_FOUND; + if (!authorized(req, opts.expectedToken)) return unauthorized; + + const key = artifactKey(opts.prefix, hash); + const store = yield* BlobStore; + + if (req.method === "PUT") { + const metadata = TurboArtifactMeta.make({ + tag: req.artifactTag ?? null, + durationMs: clampDurationMs(req.artifactDuration), + }); + yield* store.put(key, { metadata, body: req.body }, TurboArtifactMeta); + return { status: 202, headers: {} }; + } + if (req.method === "HEAD") { + return { status: (yield* store.has(key)) ? 200 : 404, headers: {} }; + } + if (req.method === "GET") { + const blob = yield* store + .get(key, TurboArtifactMeta) + .pipe(Effect.catchTag("BlobEnvelopeError", () => Effect.succeedNone)); + if (Option.isNone(blob)) return NOT_FOUND; + + const { tag, durationMs } = blob.value.metadata; + const headers: Record<string, string> = { + "content-type": "application/octet-stream", + "x-artifact-duration": String(durationMs), + }; + // Quirk 80: an empty tag is dropped rather than echoed back empty. + if (tag) headers["x-artifact-tag"] = tag; + return { status: 200, headers, body: blob.value.body }; + } + return { status: 405, headers: {} }; + }).pipe( + Effect.catch((error) => + Effect.sync(() => { + opts.onStoreFailure?.(error); + return { status: 500, headers: {} } satisfies TurboResponse; + }), + ), + ); diff --git a/src/turbo-cache/meta.ts b/src/turbo-cache/meta.ts new file mode 100644 index 00000000..e97fdee6 --- /dev/null +++ b/src/turbo-cache/meta.ts @@ -0,0 +1,53 @@ +import { Schema } from "effect"; + +/** + * What the cache server stores beside an artifact's bytes: Turbo's signature + * tag and the time the task took to produce it. + * + * @remarks + * This replaces v1's hand-rolled binary frame (`[4B tagLen][4B durationMs] + * [tag][body]`, oracle 8-14) — `BlobEnvelope` owns framing now and this owns + * *meaning*. Two consequences of that swap are load-bearing: + * + * - **The encoded form has to be plain JSON.** The envelope writes metadata as + * JSON between its header and the body, so a field whose encoded form is a + * class instance (`Schema.Option` is the one that bit this action before, in + * `state.ts`) writes bytes that no read can decode. `Schema.NullOr` encodes + * to `string | null`, which is why the tag is spelled that way rather than as + * an `Option`. + * - **`ARTIFACT_KEY_VERSION` is gone.** v1 namespaced keys with `v2/` because a + * frame change had no in-band version; the envelope carries one, reports a + * revision mismatch as a typed `BlobEnvelopeError`, and the handler turns + * that into a miss. Keys are now `${prefix}${hash}` and stale entries age out + * through the backend's own eviction (oracle 65). + * + * `durationMs` must round-trip: Turbo computes `timeSaved` from the + * `x-artifact-duration` it gets back on a remote hit. An **empty** tag is + * stored as an empty string and dropped on the way out by the handler's + * truthiness check, which is v1's behavior and quirk 80. + */ +export class TurboArtifactMeta extends Schema.Class<TurboArtifactMeta>("TurboArtifactMeta")({ + tag: Schema.NullOr(Schema.String), + durationMs: Schema.Number, +}) {} + +/** The largest duration the stored metadata represents. */ +const MAX_DURATION_MS = 4_294_967_295; + +/** + * Normalizes an inbound `x-artifact-duration` to a whole, non-negative + * millisecond count. + * + * @remarks + * v1's frame wrote the duration into a `uint32`, and this keeps that range + * even though JSON would carry any number — the clamp is what stops a + * nonsensical header (a negative, a fraction, `NaN` from a garbage value, an + * absurd magnitude) from becoming a `timeSaved` Turbo reports to a user. Ruling + * 65 keeps the behavior and moves it to the handler boundary, where the header + * arrives, rather than burying it in a codec. + * + * `Math.trunc(x) || 0` is v1's `NaN` guard verbatim: `NaN || 0` is `0`, and so + * is `-0`. + */ +export const clampDurationMs = (durationMs: number): number => + Math.min(MAX_DURATION_MS, Math.max(0, Math.trunc(durationMs) || 0)); diff --git a/src/turbo-cache/server-config.ts b/src/turbo-cache/server-config.ts new file mode 100644 index 00000000..c51e8b36 --- /dev/null +++ b/src/turbo-cache/server-config.ts @@ -0,0 +1,194 @@ +import { NodeFileSystem, NodeHttpClient } from "@effect/platform-node"; +import type { BlobEnvelopeError, BlobStoreError, S3Config } from "@effected/github-actions"; +import { ActionEnvironment, ActionOutputs, BlobStore, GitHubCacheBlobStore } from "@effected/github-actions"; +import { Layer, Redacted, Result } from "effect"; + +/** + * The environment variables the detached cache server is configured with. + * + * @remarks + * Config reaches the server through the environment and nothing else (oracle + * 28-30): it is spawned detached, with no channel back to the action, and a + * command line would put the token in the process table. These names are the + * contract between the step that builds the spawn specification and the entry + * point that reads it, which is why they are a shared constant rather than two + * lists of strings that could drift. + * + * `TURBOGHA_` is v1's prefix, kept so an operator reading a runner's process + * list sees the same thing they always have. + */ +export const TURBO_SERVER_ENV = { + port: "TURBOGHA_PORT", + prefix: "TURBOGHA_PREFIX", + token: "TURBOGHA_TOKEN", + backend: "TURBOGHA_BACKEND", + s3Bucket: "TURBOGHA_S3_BUCKET", + s3Region: "TURBOGHA_S3_REGION", + s3Endpoint: "TURBOGHA_S3_ENDPOINT", + s3AccessKeyId: "TURBOGHA_S3_ACCESS_KEY_ID", + s3SecretAccessKey: "TURBOGHA_S3_SECRET_ACCESS_KEY", + s3SessionToken: "TURBOGHA_S3_SESSION_TOKEN", + s3Prefix: "TURBOGHA_S3_PREFIX", +} as const; + +/** + * The port the embedded server binds, fixed rather than negotiated. + * + * @remarks + * Quirk 71, ruled kept: turbo reaches the server through `TURBO_API`, which + * the action exports, so a negotiated port would work — but it would also mean + * the action and the server disagreeing about the port whenever the handoff + * fails, and there is nothing on a runner competing for this one. Ruling 71 + * adds the missing half instead: a listen that fails says so and exits. + */ +export const DEFAULT_TURBO_SERVER_PORT = 41_230; + +/** The highest port a TCP listen accepts. */ +const MAX_PORT = 65_535; + +/** What the detached server needs to know to run. */ +export type TurboServerConfig = { + readonly port: number; + readonly prefix: string; + readonly token: string; +} & ({ readonly backend: "github" } | { readonly backend: "s3"; readonly s3: S3Config }); + +/** The environment as `process.env` hands it over. */ +type Environment = Readonly<Record<string, string | undefined>>; + +/** A variable's value, with unset and empty the same case. */ +const read = (env: Environment, name: string): string => env[name] ?? ""; + +/** + * The S3 settings, assembled the way the backend wants them. + * + * @remarks + * Oracle 48: the three optional fields are spread in **only when nonempty**. + * `exactOptionalPropertyTypes` makes that a spread rather than an assignment, + * and the distinction is real — an empty endpoint would point the signer at + * nothing rather than at AWS, and an empty prefix would namespace every key + * under a leading separator. + * + * A missing bucket or credential is read as empty rather than refused. The S3 + * backend reports its own misconfiguration, carrying the bucket and the status + * a failed request came back with; a guess here would be a worse message for + * the same fault. + */ +const s3ConfigFrom = (env: Environment): S3Config => { + const endpoint = read(env, TURBO_SERVER_ENV.s3Endpoint); + const sessionToken = read(env, TURBO_SERVER_ENV.s3SessionToken); + const prefix = read(env, TURBO_SERVER_ENV.s3Prefix); + return { + bucket: read(env, TURBO_SERVER_ENV.s3Bucket), + region: read(env, TURBO_SERVER_ENV.s3Region), + accessKeyId: read(env, TURBO_SERVER_ENV.s3AccessKeyId), + secretAccessKey: Redacted.make(read(env, TURBO_SERVER_ENV.s3SecretAccessKey)), + ...(endpoint === "" ? {} : { endpoint }), + ...(sessionToken === "" ? {} : { sessionToken: Redacted.make(sessionToken) }), + ...(prefix === "" ? {} : { prefix }), + }; +}; + +/** + * Reads the detached server's configuration out of an environment. + * + * @remarks + * Fails — rather than booting degraded — when there is no token. v1 read an + * absent `TURBOGHA_TOKEN` as an empty one, which the handler treats as + * "authentication disabled" (quirk 72), so a spawn that lost its environment + * left an **open** cache server listening on the runner. Ruling 72 closes it + * here rather than at the handler, because the handler's permissive branch is + * what a test needs and the worker's is what an operator needs: the step + * always supplies a token, so a missing one means something is wrong and + * exiting says so. + * + * A port that is not a whole number in `1..65535` falls back to + * {@link DEFAULT_TURBO_SERVER_PORT}. The one value the step ever writes is + * that port, so a garbage value means something else set it, and binding the + * known port keeps the server reachable. The range check is load-bearing + * rather than tidy: `listen` throws **synchronously** on a bad port, so the + * `error` listener ruling 71 added never fires for exactly this case, and the + * process would die with a stack trace instead of the one line it exists to + * print. + * + * Any backend name other than `s3` is the GitHub Actions cache, matching v1's + * `backend === "s3" ? … : github`. + */ +export const readServerConfig = (env: Environment): Result.Result<TurboServerConfig, string> => { + const token = read(env, TURBO_SERVER_ENV.token); + if (token === "") { + return Result.fail(`${TURBO_SERVER_ENV.token} is not set — refusing to start an unauthenticated cache server`); + } + const port = Number(read(env, TURBO_SERVER_ENV.port)); + const common = { + port: Number.isInteger(port) && port > 0 && port <= MAX_PORT ? port : DEFAULT_TURBO_SERVER_PORT, + prefix: read(env, TURBO_SERVER_ENV.prefix), + token, + }; + return Result.succeed( + read(env, TURBO_SERVER_ENV.backend) === "s3" + ? { ...common, backend: "s3", s3: s3ConfigFrom(env) } + : { ...common, backend: "github" }, + ); +}; + +/** + * Everything the store needs that is not the store: the platform services both + * backends are built over. + * + * @remarks + * The action's own layers come from `ActionRuntime`, which this process does + * not have — a detached worker composes its own. `ActionEnvironment` is here + * because the GitHub backend reads the runner's cache url and runtime token + * from it; `ActionOutputs` because the S3 backend requires it. + * + * `layerDetached` rather than the real `ActionOutputs.layer`, and **this is a + * leak fix rather than a tidiness one**. The S3 backend declassifies its + * signing key through `Secret.forSigning`, which masks first — and masking is + * `::add-mask::<plaintext>` on stdout, a workflow command the runner parses out + * of a *step's* log. This process is not a step: it is detached, and its stdout + * is a file in the temp directory (oracle 27, 31) that no runner reads. The + * real layer therefore writes the S3 secret in plaintext into a file `post` + * prints the path of — which this action shipped for exactly one round. + * + * The kit's layer replaces the interim double this repo hand-built for that + * fix, and improves on it in two ways worth naming: its `R` is `never`, so a + * worker composing it *structurally cannot* write a runner file, and the + * members that configure the parent job's later steps fail typed with + * `reason: "detached"` rather than throwing an unstubbed-member defect. + */ +const platform = (() => { + const fileSystem = NodeFileSystem.layer; + const environment = ActionEnvironment.layer.pipe(Layer.provide(fileSystem)); + return Layer.mergeAll(NodeHttpClient.layerUndici, environment, ActionOutputs.layerDetached); +})(); + +/** + * The blob backend a configuration selects (oracle 48). + * + * @remarks + * Both backends are `BlobStore` — the choice is a layer and nothing above it + * knows which one it got, which is the whole reason the handler is written + * against the service rather than against either client. + */ +export const serverBlobStoreLayer = (config: TurboServerConfig): Layer.Layer<BlobStore> => + config.backend === "s3" + ? BlobStore.layerS3(config.s3).pipe(Layer.provide(platform)) + : GitHubCacheBlobStore.layer.pipe(Layer.provide(platform)); + +/** + * Whether a store failure looks like an authentication problem. + * + * @remarks + * Ruling 70's classifier. The GitHub backend captures `ACTIONS_RUNTIME_TOKEN` + * when the server starts and that token is a short-lived JWT, so on a long job + * the last cache writes can come back 401 while everything before them + * succeeded. The limitation stands — there is no refresh channel into a + * detached process — but it is now *diagnosable*: the worker logs a distinct + * line for this shape, so a run that quietly stopped caching says why. + * + * A `refused` with no status counts: the backend answered unhappily, which for + * a cache write is the same class of fault. + */ +export const isAuthShapedFailure = (error: BlobStoreError | BlobEnvelopeError): boolean => + error._tag === "BlobStoreError" && (error.status === 401 || error.reason === "refused"); diff --git a/src/turbo-server.ts b/src/turbo-server.ts index 287eddc9..ac140f59 100644 --- a/src/turbo-server.ts +++ b/src/turbo-server.ts @@ -1,72 +1,146 @@ -// src/turbo-server.ts /** - * Detached turbo remote-cache server. + * Detached turbo remote-cache server entry point. * - * Spawned by main (see services/turbo-cache/lifecycle.ts) with config in env. - * Implements Turbo's /v8/artifacts contract over a library BlobStore backend. + * @remarks + * Spawned by the action's `startTurboCache` step with its whole configuration + * in the environment (see `turbo-cache/server-config.ts`), and reachable by + * turbo through the `TURBO_API` variable the same step exports. It outlives + * the step that started it and is stopped by `post`, which sends it a + * `SIGTERM`. + * + * Everything here is plumbing: read the environment, build the backend, buffer + * a request, hand it to the handler, write what comes back. The decisions — + * routes, keys, metadata, backend selection — live in `turbo-cache/` where + * they are reachable from a test. This file is not imported by anything. * * @module turbo-server */ + import { createServer } from "node:http"; -import { NodeHttpClient } from "@effect/platform-node"; -import type { BlobStore } from "@savvy-web/github-action-effects"; -import { GitHubBlobStoreLive, S3BlobStoreLive } from "@savvy-web/github-action-effects"; -import { Layer, ManagedRuntime, Redacted } from "effect"; -import type { TurboRequest } from "./services/turbo-cache/handler.js"; -import { makeTurboHandler } from "./services/turbo-cache/handler.js"; +import { ManagedRuntime, Result } from "effect"; + +import type { TurboRequest } from "./turbo-cache/handler.js"; +import { makeTurboHandler } from "./turbo-cache/handler.js"; +import { isAuthShapedFailure, readServerConfig, serverBlobStoreLayer } from "./turbo-cache/server-config.js"; + +/* v8 ignore start -- detached process entry; exercised by the e2e workflow */ -/* v8 ignore start -- detached process entry; exercised by the e2e fixture */ -const port = Number(process.env.TURBOGHA_PORT ?? "41230"); -const prefix = process.env.TURBOGHA_PREFIX ?? ""; -const token = process.env.TURBOGHA_TOKEN ?? ""; -const backend = process.env.TURBOGHA_BACKEND ?? "github"; +/** How long a shutdown waits for in-flight requests before exiting anyway. */ +const SHUTDOWN_DEADLINE_MS = 2_000; -// Both backends need HttpClient; provide NodeHttpClient.layer exactly as -// src/layers/app.ts does for ActionCacheLive. -const liveLayer: Layer.Layer<BlobStore> = - backend === "s3" - ? S3BlobStoreLive({ - bucket: process.env.TURBOGHA_S3_BUCKET ?? "", - region: process.env.TURBOGHA_S3_REGION ?? "", - accessKeyId: process.env.TURBOGHA_S3_ACCESS_KEY_ID ?? "", - secretAccessKey: Redacted.make(process.env.TURBOGHA_S3_SECRET_ACCESS_KEY ?? ""), - ...(process.env.TURBOGHA_S3_ENDPOINT ? { endpoint: process.env.TURBOGHA_S3_ENDPOINT } : {}), - ...(process.env.TURBOGHA_S3_SESSION_TOKEN - ? { sessionToken: Redacted.make(process.env.TURBOGHA_S3_SESSION_TOKEN) } - : {}), - ...(process.env.TURBOGHA_S3_PREFIX ? { prefix: process.env.TURBOGHA_S3_PREFIX } : {}), - }).pipe(Layer.provide(NodeHttpClient.layerUndici)) - : GitHubBlobStoreLive.pipe(Layer.provide(NodeHttpClient.layerUndici)); +/** Everything this process says, so a shared log file stays readable. */ +const say = (message: string): void => { + console.error(`turbo-server: ${message}`); +}; -const runtime = ManagedRuntime.make(liveLayer); -const handler = makeTurboHandler({ prefix, expectedToken: token }); +const configured = readServerConfig(process.env); +if (Result.isFailure(configured)) { + // Ruling 72: no token, no server. The step always supplies one, so this is + // a spawn whose environment did not survive — starting anyway would leave an + // unauthenticated cache server listening on the runner. + say(configured.failure); + process.exit(1); +} + +const config = configured.success; +const runtime = ManagedRuntime.make(serverBlobStoreLayer(config)); + +const handler = makeTurboHandler({ + prefix: config.prefix, + expectedToken: config.token, + onStoreFailure: (error) => { + // Ruling 70: the documented `ACTIONS_RUNTIME_TOKEN` limitation stands, but + // its symptom is now named. Without this a job that ran long enough for the + // token to expire simply stops caching, and the only trace is turbo + // reporting misses. + if (config.backend === "github" && isAuthShapedFailure(error)) { + say( + "the Actions cache refused a request — ACTIONS_RUNTIME_TOKEN has most likely expired, so cache writes from here on are lost", + ); + return; + } + say(`the ${config.backend} backend failed: ${error.message}`); + }, +}); const server = createServer((req, res) => { + // The whole body is buffered, with no size cap (quirk 75, kept): turbo sends + // a complete artifact per request and a cap invented here would fail a large + // monorepo's build rather than slow it down. const chunks: Array<Buffer> = []; - req.on("data", (c: Buffer) => chunks.push(c)); + // An aborted upload emits `error` on the request stream; with no listener + // Node turns that into an uncaught exception and the whole server dies for + // one client's ECONNRESET. The response socket is torn down with it, so + // there is nobody left to answer. + req.on("error", () => { + res.destroy(); + }); + req.on("data", (chunk: Buffer) => { + chunks.push(chunk); + }); req.on("end", () => { - const durationHeader = req.headers["x-artifact-duration"]; - const artifactDuration = typeof durationHeader === "string" ? Number(durationHeader) || 0 : 0; - const treq: TurboRequest = { + const duration = req.headers["x-artifact-duration"]; + const tag = req.headers["x-artifact-tag"]; + const request: TurboRequest = { method: req.method ?? "GET", path: req.url ?? "/", authorization: req.headers.authorization, - artifactTag: typeof req.headers["x-artifact-tag"] === "string" ? req.headers["x-artifact-tag"] : undefined, - artifactDuration, + artifactTag: typeof tag === "string" ? tag : undefined, + artifactDuration: typeof duration === "string" ? Number(duration) || 0 : 0, body: new Uint8Array(Buffer.concat(chunks)), }; - runtime - .runPromise(handler(treq)) - .then((r) => { - res.writeHead(r.status, r.headers); - res.end(r.body ? Buffer.from(r.body) : undefined); - }) - .catch(() => { + runtime.runPromise(handler(request)).then( + (response) => { + res.writeHead(response.status, response.headers); + res.end(response.body ? Buffer.from(response.body) : undefined); + }, + () => { + // The handler answers 500 for everything it can name; a rejection here + // is a defect, and turbo needs an answer either way. res.writeHead(500); res.end(); - }); + }, + ); }); }); -server.listen(port, "127.0.0.1"); +// Ruling 71: v1 left this unhandled, so a port collision killed the server with +// an unhandled exception into a log nobody reads and the action waited out its +// full readiness budget before degrading. One line, then exit. +server.on("error", (error: NodeJS.ErrnoException) => { + say( + error.code === "EADDRINUSE" + ? `port ${config.port} is already in use — another cache server is running on this runner` + : `cannot listen on 127.0.0.1:${config.port}: ${error.message}`, + ); + process.exit(1); +}); + +// Ruling 74: v1 had no shutdown path at all, so `post`'s SIGTERM killed the +// process mid-request and lost whichever artifact turbo was writing. `close` +// stops accepting and waits for what is in flight; disposing the runtime +// releases the backend's client. +// +// The deadline is what keeps "waits for what is in flight" from becoming +// "outlives the job": `close` never calls back while a request hangs, and +// `post` does not wait after signalling. `unref` keeps it from holding the +// process open on the normal path, where the callback wins the race. +process.on("SIGTERM", () => { + setTimeout(() => process.exit(0), SHUTDOWN_DEADLINE_MS).unref(); + server.close(() => { + void runtime.dispose().then( + () => process.exit(0), + () => process.exit(0), + ); + }); + // Turbo talks keep-alive, and `close` waits out idle sockets it will never + // use again — long enough for the deadline above to win and skip the + // runtime dispose. Dropping the idle ones (in-flight requests are not + // touched) lets the graceful path finish first. + server.closeIdleConnections(); +}); + +// Loopback only: the cache server is for this runner's turbo and nothing else. +server.listen(config.port, "127.0.0.1"); + /* v8 ignore stop */ diff --git a/vitest.config.ts b/vitest.config.ts index 08545907..ab54f9b8 100644 --- a/vitest.config.ts +++ b/vitest.config.ts @@ -22,6 +22,8 @@ export default async () => { enabled: true, provider: "v8", thresholds: AgentPlugin.COVERAGE_LEVELS.strict.thresholds, + // Score never-imported src files as 0% instead of silently omitting them. + include: ["src/**/*.ts"], exclude: [], }, },